@solvimon/solvimon-web 0.1.0-alpha.12 → 0.1.0-alpha.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{BillingInformation.vue_vue_type_script_setup_true_lang-DGisvmez.js → BillingInformation.vue_vue_type_script_setup_true_lang-0_VYW5Wu.js} +1 -1
- package/dist/{BillingInformation.vue_vue_type_script_setup_true_lang-CX8vlY2Z.mjs → BillingInformation.vue_vue_type_script_setup_true_lang-D8ZeVBWO.mjs} +2 -2
- package/dist/{CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-Bus-5gC3.mjs → CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-DEqfojR8.mjs} +2 -2
- package/dist/CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-zdBaVj-K.js +1 -0
- package/dist/InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-CFLR4ptB.js +1 -0
- package/dist/{InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-Bc2hkpTb.mjs → InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-COnrD4ew.mjs} +1 -1
- package/dist/{PaymentHistoryBlock-D_B099M7.mjs → PaymentHistoryBlock-BTRFc4ki.mjs} +1 -1
- package/dist/{PaymentHistoryBlock-BiiFJkpT.js → PaymentHistoryBlock-DUeSRR3k.js} +1 -1
- package/dist/{PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-CaMDtHrL.mjs → PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-GeyErAW6.mjs} +1 -1
- package/dist/PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-TgZYSSQe.js +1 -0
- package/dist/{PaymentIntegrationForm-bfGmfwQT.js → PaymentIntegrationForm-CQntx0TH.js} +1 -1
- package/dist/{PaymentIntegrationForm-CkXYj9xs.mjs → PaymentIntegrationForm-DX6kv0_v.mjs} +1 -1
- package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-BhGQB-c9.js +1 -0
- package/dist/{PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-BnMmcoAu.mjs → PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-Dkd-Cp8c.mjs} +5 -5
- package/dist/SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-BuJGxitV.js +1 -0
- package/dist/SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-D-BFQZiM.mjs +169 -0
- package/dist/{SubscriptionsList.vue_vue_type_script_setup_true_lang-BkzLj8n2.mjs → SubscriptionsList.vue_vue_type_script_setup_true_lang-B7IOIy-v.mjs} +48 -23
- package/dist/SubscriptionsList.vue_vue_type_script_setup_true_lang-D-hpJL8I.js +1 -0
- package/dist/adyen-BvNyYAg-.js +1 -0
- package/dist/{adyen-Bwewy3HC.mjs → adyen-D0yvZvq5.mjs} +1 -1
- package/dist/component-By_A1VHh.js +1 -0
- package/dist/component-CGfjV_7z.mjs +889 -0
- package/dist/components/BillingInformation/BillingInformation.cjs.js +1 -1
- package/dist/components/BillingInformation/BillingInformation.es.js +4 -4
- package/dist/components/BillingInformationForm/BillingInformationForm.cjs.js +1 -1
- package/dist/components/BillingInformationForm/BillingInformationForm.es.js +3 -3
- package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.cjs.js +1 -1
- package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.es.js +4 -4
- package/dist/components/Invoice/Invoice.cjs.js +1 -1
- package/dist/components/Invoice/Invoice.es.js +6 -6
- package/dist/components/InvoiceDetails/InvoiceDetails.cjs.js +1 -1
- package/dist/components/InvoiceDetails/InvoiceDetails.es.js +3 -3
- package/dist/components/InvoicesList/InvoicesList.cjs.js +1 -1
- package/dist/components/InvoicesList/InvoicesList.es.js +3 -3
- package/dist/components/PaymentHistory/PaymentHistory.cjs.js +1 -1
- package/dist/components/PaymentHistory/PaymentHistory.es.js +3 -3
- package/dist/components/PaymentMethodForm/PaymentMethodForm.cjs.js +1 -1
- package/dist/components/PaymentMethodForm/PaymentMethodForm.es.js +6 -6
- package/dist/components/SubscriptionSchedules/SubscriptionSchedules.cjs.js +1 -1
- package/dist/components/SubscriptionSchedules/SubscriptionSchedules.es.js +5 -5
- package/dist/components/SubscriptionsList/SubscriptionsList.cjs.js +1 -1
- package/dist/components/SubscriptionsList/SubscriptionsList.es.js +5 -5
- package/dist/components/WalletBalances/WalletBalances.cjs.js +1 -1
- package/dist/components/WalletBalances/WalletBalances.es.js +3 -3
- package/dist/core/action-request.types.d.ts +10 -1
- package/dist/core/index.cjs.js +1 -1
- package/dist/core/index.es.js +1 -1
- package/dist/{customer-B31QzznT.mjs → customer-Bn6GdxP8.mjs} +1 -1
- package/dist/{customer-hDxW1Dbp.js → customer-CGyZojAB.js} +1 -1
- package/dist/{en-US-N3CUCsVy.mjs → en-US-BKhsdJQ2.mjs} +15 -7
- package/dist/en-US-G2HBHqjq.js +1 -0
- package/dist/index.cjs.js +1 -1
- package/dist/index.es.js +1 -1
- package/dist/invoices-DDeL8tvI.js +1 -0
- package/dist/{invoices-DIYPN2j_.mjs → invoices-Rs-QBUGS.mjs} +22 -3
- package/dist/{nl-NL-B8U9b85I.mjs → nl-NL-BdeAy1tY.mjs} +25 -13
- package/dist/nl-NL-DvVsMfhA.js +1 -0
- package/dist/{paymentMethods-C_sdTkSF.js → paymentMethods-BR9w3qy8.js} +1 -1
- package/dist/{paymentMethods-67b3UlTZ.mjs → paymentMethods-DOH9-6M1.mjs} +2 -2
- package/dist/{payments-DkHhTHto.js → payments-C0vYbn5Q.js} +1 -1
- package/dist/{payments-Dq6R37Fz.mjs → payments-DGPENXiS.mjs} +1 -1
- package/dist/{registry-Df_26rJy.mjs → registry-7UKVW93Q.mjs} +1 -1
- package/dist/{registry-BkViv4tv.js → registry-DrV0jFnM.js} +1 -1
- package/dist/screens/Checkout/Checkout.cjs.js +1 -1
- package/dist/screens/Checkout/Checkout.es.js +265 -376
- package/dist/screens/CustomerOverview/CustomerOverview.cjs.js +1 -1
- package/dist/screens/CustomerOverview/CustomerOverview.es.js +12 -12
- package/dist/screens/PayInvoice/PayInvoice.cjs.js +1 -1
- package/dist/screens/PayInvoice/PayInvoice.es.js +8 -8
- package/dist/screens/UpgradeSubscription/UpgradeSubscription.cjs.js +1 -1
- package/dist/screens/UpgradeSubscription/UpgradeSubscription.es.js +758 -717
- package/dist/{subscriptions-ClGIr_aS.mjs → subscriptions-BIGqt2N0.mjs} +2 -2
- package/dist/{subscriptions-jelITJcX.js → subscriptions-CcpEwubd.js} +1 -1
- package/dist/{useActionDispatchProvider-BC57-Ufn.mjs → useActionDispatchProvider-Ca1YbU61.mjs} +1 -1
- package/dist/{useActionDispatchProvider-rw9kWeE0.js → useActionDispatchProvider-aqYyqIdb.js} +1 -1
- package/dist/{useCustomer-CUcaeQn_.js → useCustomer-D9ZrqMFY.js} +1 -1
- package/dist/{useCustomer-Ba9WRtuT.mjs → useCustomer-DUA8Y-2I.mjs} +2 -2
- package/dist/{useIncrementalLoading-Cnzh2mAz.mjs → useIncrementalLoading-C1LKdVP8.mjs} +1 -1
- package/dist/{useIncrementalLoading-DoTTXM2Y.js → useIncrementalLoading-FNH4k4a3.js} +1 -1
- package/dist/{useInvoiceData-BJwwDur7.mjs → useInvoiceData-Bz4a2Mfa.mjs} +3 -3
- package/dist/{useInvoiceData-D2jkdmlA.js → useInvoiceData-HNnt3703.js} +1 -1
- package/dist/useInvoicesList-DXBTGdcI.js +1 -0
- package/dist/{useInvoicesList-CFzAxyae.mjs → useInvoicesList-b2_fiHsc.mjs} +4 -4
- package/dist/{useLoadInitialData-5sgImpzc.mjs → useLoadInitialData-Cyp1xpuv.mjs} +1 -1
- package/dist/{useLoadInitialData-DjwRHcAH.js → useLoadInitialData-D0t-Lk3k.js} +1 -1
- package/dist/{usePaymentMethodOptions-DYO6xr3-.js → usePaymentMethodOptions-DgGDcVeE.js} +1 -1
- package/dist/{usePaymentMethodOptions-C2k4npCQ.mjs → usePaymentMethodOptions-r0Opz7BC.mjs} +2 -2
- package/dist/{usePaymentMethods-ryN_YohI.js → usePaymentMethods-BHLXXaCa.js} +1 -1
- package/dist/{usePaymentMethods-CRWbH48K.mjs → usePaymentMethods-C-NCtOom.mjs} +2 -2
- package/dist/{usePayments-Cw5PPEJa.mjs → usePayments-BtByiIMy.mjs} +3 -3
- package/dist/{usePayments-DWXPGFvp.js → usePayments-DADpdoI7.js} +1 -1
- package/dist/{usePortal-cmE08vYs.mjs → usePortal-CpW3EDD-.mjs} +1 -1
- package/dist/{usePortal-CxX4nrE4.js → usePortal-DhaZBAGi.js} +1 -1
- package/dist/{useService-BsSEI8DZ.mjs → useService-BcYQRxPS.mjs} +1 -1
- package/dist/{useService-Bb9r_sOQ.js → useService-C0h9UlQW.js} +1 -1
- package/dist/{useWalletBalanceItems-CpZ1NWPr.js → useWalletBalanceItems-COzKSpmt.js} +1 -1
- package/dist/{useWalletBalanceItems-CkDqmk36.mjs → useWalletBalanceItems-DKz-2vUy.mjs} +3 -3
- package/dist/{useWatchDebounced-2ZLnfgvG.js → useWatchDebounced-C_YxgoQ6.js} +1 -1
- package/dist/{useWatchDebounced-D1xuIX6_.mjs → useWatchDebounced-Zmxd6InB.mjs} +8 -4
- package/dist/{vendor-ui-5pJF5KBP.js → vendor-ui-1SHma7t1.js} +1 -1
- package/dist/{vendor-ui-C0K3osvz.mjs → vendor-ui-CdOX_IS-.mjs} +42 -42
- package/package.json +1 -1
- package/dist/CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-CkRsyMlJ.js +0 -1
- package/dist/InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-D0vVUHuY.js +0 -1
- package/dist/PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-DWTEfLrE.js +0 -1
- package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-CiyyUp4z.js +0 -1
- package/dist/PricingGroupContent.vue_vue_type_script_setup_true_lang-BChVMzCj.mjs +0 -50
- package/dist/PricingGroupContent.vue_vue_type_script_setup_true_lang-Br3bEUlP.js +0 -1
- package/dist/SubscriptionsList.vue_vue_type_script_setup_true_lang-AHw3iTfi.js +0 -1
- package/dist/adyen-R6aSZ0Yf.js +0 -1
- package/dist/component-BOqPDAVk.js +0 -1
- package/dist/component-Djrf1L-Z.mjs +0 -889
- package/dist/en-US-CgPY97Vq.js +0 -1
- package/dist/invoices-DzkA1jDc.js +0 -1
- package/dist/nl-NL-qMRaTRrM.js +0 -1
- package/dist/useInvoicesList-CaBCGs4h.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const e=require("vue"),t=e=>{if(e.tag)return e.tag;switch(e.variant){case"heading-1":return"h1";case"heading-2":return"h2";case"heading-3":return"h3";default:return"p"}},o=e.defineComponent({__name:"Typography",props:{id:{},tag:{},variant:{default:"body"},noSpacing:{type:Boolean,default:!1},center:{type:Boolean,default:!1},mono:{type:Boolean,default:!1},shade:{},weight:{}},setup(o,{expose:l}){const n=o,a=e.computed(()=>t(n)),i=e.computed(()=>(e=>{switch(e.variant){case"heading-1":return"text-2xl";case"heading-2":case"body-lg":return"text-lg";case"heading-3":return"text-md";case"body-xs":return"text-xs";case"body-sm":return"text-sm";case"caps-heading":return"inline-block text-2xs uppercase font-bold";case"label":return"block text-sm font-medium";default:return""}})(n)),r=e.computed(()=>(e=>{if(e.noSpacing)return"";if("p"===t(e))switch(e.variant){case"body-sm":return"my-1";case"body":case"body-lg":return"my-2";default:return""}return""})(n)),c=e.computed(()=>(e=>{if(e.weight)switch(e.weight){case"bold":return"font-bold";case"semibold":return"font-semibold";default:return"font-normal"}return e.variant&&["heading-1","heading-2","heading-3"].includes(e.variant)?"font-semibold":""})(n)),s=e.computed(()=>(e=>{if("caps-heading"===e.variant)return"text-gray-600";if("label"===e.variant)return"text-gray-600";switch(e.shade){case"light":return"text-gray-700";case"lighter":return"text-gray-500";case"lightest":return"text-gray-300";default:return"text-inherit"}})(n)),d=e.computed(()=>n.center?"text-center":""),u=e.ref(null);return l({el:u}),(t,l)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(a.value),e.mergeProps(t.$attrs,{id:o.id,ref_key:"el",ref:u,class:[i.value,r.value,d.value,c.value,s.value,o.mono?"font-mono":void 0].join(" ")}),{default:e.withCtx(()=>[e.renderSlot(t.$slots,"default")]),_:3},16,["id","class"]))}}),l={class:"flex gap-4 items-center"},n={key:1},a=e.defineComponent({__name:"SectionTitle",setup:t=>(t,a)=>(e.openBlock(),e.createElementBlock("div",l,[t.$slots.default?(e.openBlock(),e.createBlock(e.unref(o),{key:0,tag:"h2",variant:"heading-3",class:"grow"},{default:e.withCtx(()=>[e.renderSlot(t.$slots,"default")]),_:3})):e.createCommentVNode("",!0),t.$slots.right?(e.openBlock(),e.createElementBlock("div",n,[e.renderSlot(t.$slots,"right")])):e.createCommentVNode("",!0)]))}),i=e.defineComponent({__name:"Section",props:{contentClasses:{},contentBackground:{default:"gray"},title:{},noSpacing:{type:Boolean},hasError:{type:Boolean},noBorder:{type:Boolean,default:!1}},setup:t=>(o,l)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.title?"section":"div"),null,{default:e.withCtx(()=>[e.createVNode(a,null,e.createSlots({_:2},[t.title?{name:"default",fn:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.title),1)]),key:"0"}:void 0,o.$slots.right?{name:"right",fn:e.withCtx(()=>[e.renderSlot(o.$slots,"right")]),key:"1"}:void 0]),1024),e.createElementVNode("div",{class:e.normalizeClass({"rounded border":!t.noBorder,"p-3 py-2":!t.noSpacing,"bg-gray-50/50":"gray"===t.contentBackground,"mt-1 md:mt-2":!!t.title,[t.contentClasses??""]:!!t.contentClasses,"border-red-600":t.hasError,"border-gray-100":!t.hasError})},[e.renderSlot(o.$slots,"default")],2)]),_:3}))}),r=e=>e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'");function c(e){return null==e||("string"==typeof e||Array.isArray(e)?0===e.length:e instanceof Map||e instanceof Set?0===e.size:"object"!=typeof e||0===Object.keys(e).length)}function s(e,t){if(e===t)return!0;if(null==e||null==t)return!1;if("object"!=typeof e||"object"!=typeof t)return!1;if(Array.isArray(e)!==Array.isArray(t))return!1;const o=Object.keys(e),l=Object.keys(t);return o.length===l.length&&o.every(o=>s(e[o],t[o]))}const d=s,u=["innerHTML"],p=e.defineComponent({__name:"TextWithHighlights",props:{text:{},search:{default:""},highlighClasses:{default:"text-primary-600 font-bold underline"}},setup(t){const o=t,l=e.computed(()=>{const e=r(o.text),t=[{type:"text",value:e}];if(""===o.search)return t;const l=new RegExp(o.search.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),"gi");const n=[...e.matchAll(l)];if(c(n))return t;const a=[];return n.forEach((t,l)=>{void 0!==t.index&&(0===l&&(a.push({type:"text",value:e.substring(0,t.index)}),a.push({type:"highlight",value:e.substring(t.index,t.index+o.search.length)})),l>0&&l<n.length-1&&n[l-1].index&&(a.push({type:"text",value:e.substring(n[l-1].index??0+o.search.length,t.index)}),a.push({type:"highlight",value:e.substring(t.index,t.index+o.search.length)})),l===n.length-1&&t.index+o.search.length<e.length&&a.push({type:"text",value:e.substring(t.index+o.search.length,e.length)}))}),a});return(o,n)=>(e.openBlock(),e.createElementBlock("span",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.value,({type:o,value:l},n)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:n},["text"===o?(e.openBlock(),e.createElementBlock("span",{key:0,innerHTML:l},null,8,u)):e.createCommentVNode("",!0),"highlight"===o?(e.openBlock(),e.createElementBlock("span",{key:1,class:e.normalizeClass(t.highlighClasses)},e.toDisplayString(l),3)):e.createCommentVNode("",!0)],64))),128))]))}}),m=e.defineComponent({__name:"FormMessage",props:{message:{},variant:{default:"error"},capitalizeFirstLetter:{type:Boolean,default:!0}},setup(t){const o=t,l=e.computed(()=>{let e="text-xs";return"default"===o.variant&&(e+=" text-slate-400"),"error"===o.variant&&(e+=" text-red-600"),"warning"===o.variant&&(e+=" text-yellow-600"),o.capitalizeFirstLetter&&(e+=" first-letter:capitalize"),e});return(o,n)=>"object"!=typeof t.message||"value"in t.message?t.message||o.$slots.default?(e.openBlock(),e.createElementBlock("p",{key:1,class:e.normalizeClass(l.value)},[e.renderSlot(o.$slots,"default",{},()=>[e.createTextVNode(e.toDisplayString(t.message),1)])],2)):e.createCommentVNode("",!0):(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(t.message,({$uid:t,$message:o})=>(e.openBlock(),e.createElementBlock("p",{key:t,class:e.normalizeClass(l.value)},e.toDisplayString(o),3))),128))}}),f=e.defineComponent({__name:"FullClickableBlock",props:{tag:{default:"div"}},setup:t=>(o,l)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.tag),{class:"relative"},{default:e.withCtx(()=>[e.renderSlot(o.$slots,"default")]),_:3}))}),h=(e,t)=>{const o=e.__vccOpts||e;for(const[l,n]of t)o[l]=n;return o},v={class:"after:absolute after:inset-0 appearance-none"};const g=h({},[["render",function(t,o){return e.openBlock(),e.createElementBlock("button",v,[e.renderSlot(t.$slots,"default")])}]]),y={key:0},b={key:1},x=e.defineComponent({__name:"ListGroupItem",props:{disabled:{type:Boolean,default:!1},onClick:{},dataTestid:{},variant:{}},setup:t=>(l,n)=>(e.openBlock(),e.createBlock(e.unref(f),{tag:"li",class:e.normalizeClass(["w-full px-4 py-2 border-b border-gray-200 transition-colors",{block:!t.disabled&&t.onClick,"hover:bg-gray-50 hover:text-gray-900 focus-within:bg-gray-50 focus-within:text-gray-900":!t.disabled&&t.onClick&&"danger"!==t.variant,"hover:bg-red-50 text-red-700 focus-within:bg-red-50 focus-within:text-red-700":!t.disabled&&t.onClick&&"danger"===t.variant,"bg-gray-50 text-gray-400 cursor-not-allowed":t.disabled}]),onClick:n[1]||(n[1]=e.withModifiers(()=>{},["stop"]))},{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.onClick?e.unref(g):"span"),{class:"flex items-start w-full gap-2 focus:outline-none active:outline-none text-left",disabled:t.onClick?t.disabled:void 0,type:t.onClick?"button":void 0,"data-testid":t.dataTestid,onClick:n[0]||(n[0]=e=>{var o;return null==(o=t.onClick)?void 0:o.call(t)})},{default:e.withCtx(()=>[l.$slots.prefix?(e.openBlock(),e.createElementBlock("div",y,[e.renderSlot(l.$slots,"prefix")])):e.createCommentVNode("",!0),e.renderSlot(l.$slots,"default"),l.$slots.suffix?(e.openBlock(),e.createElementBlock("div",b,[e.renderSlot(l.$slots,"suffix")])):e.createCommentVNode("",!0)]),_:3},8,["disabled","type","data-testid"])),l.$slots.description?(e.openBlock(),e.createBlock(e.unref(o),{key:0,tag:"span",variant:"body-xs",class:"mt-0.5 font-normal",shade:t.disabled?"lightest":"lighter"},{default:e.withCtx(()=>[e.renderSlot(l.$slots,"description")]),_:3},8,["shade"])):e.createCommentVNode("",!0)]),_:3},8,["class"]))}),k={class:"w-full h-full",xmlns:"http://www.w3.org/2000/svg",viewbox:"0 0 48 48"},_=["xlink:href"],w=e.defineComponent({__name:"Icon",props:{icon:{},size:{default:"sm"},variant:{default:"default"}},setup(t){const o={"2xs":"w-[14px] h-[14px]",xs:"w-[16px] h-[16px]",sm:"w-[20px] h-[20px]",base:"w-[22px] h-[22px]",md:"w-[24px] h-[24px]",lg:"w-[32px] h-[32px]",xl:"w-[48px] h-[48px]"};return(l,n)=>(e.openBlock(),e.createElementBlock("span",{class:e.normalizeClass(["inline-flex items-center justify-center leading-none align-middle icon",[o[t.size],{"rounded selection:drop-shadow-sm border bg-gray-50":"contained"===t.variant}]])},[(e.openBlock(),e.createElementBlock("svg",k,[e.createElementVNode("use",{"xlink:href":`#${t.icon}`},null,8,_)]))],2))}}),B=e.defineComponent({__name:"ContextMenuItem",props:{icon:{},label:{},description:{},labelSuffixComponent:{},labelPrefixComponent:{},onClick:{type:Function},classes:{},variant:{},testId:{},disabled:{type:Boolean}},setup:t=>(o,l)=>(e.openBlock(),e.createBlock(e.unref(x),{class:e.normalizeClass(["border-none",{[`${t.classes}`]:!!t.classes}]),"data-testid":t.testId,disabled:t.disabled,variant:t.variant,onClick:t.onClick},e.createSlots({default:e.withCtx(()=>[t.labelPrefixComponent?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.labelPrefixComponent.component),e.normalizeProps(e.mergeProps({key:0},t.labelPrefixComponent.props)),null,16)):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(t.label),1),t.labelSuffixComponent?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.labelSuffixComponent.component),e.mergeProps({key:1},t.labelSuffixComponent.props,{class:"ml-2"}),null,16)):e.createCommentVNode("",!0)]),_:2},[t.icon?{name:"prefix",fn:e.withCtx(()=>[e.createVNode(e.unref(w),{icon:t.icon},null,8,["icon"])]),key:"0"}:void 0,t.description?{name:"description",fn:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.description),1)]),key:"1"}:void 0]),1032,["class","data-testid","disabled","variant","onClick"]))}),C="relative translate-y-1/2 top-1/2 border-t border-gray-100",E=e.defineComponent({__name:"DividerText",props:{spacing:{default:"none"},textPosition:{default:"left"},hasOuterDivider:{type:Boolean,default:!1},text:{}},setup(t){const l=t,{leftDividerClasses:n,rightDividerClasses:a}=(t=>({leftDividerClasses:e.computed(()=>{let e=`${C}`;return t.hasOuterDivider&&"left"===t.textPosition?e+=" w-2":e+=" grow",e}),rightDividerClasses:e.computed(()=>{let e=`${C}`;return t.hasOuterDivider&&"right"===t.textPosition?e+=" w-2":e+=" grow",e})}))(l);return(l,i)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["flex gap-2",{"my-2":"xs"===t.spacing,"my-4":"sm"===t.spacing,"my-6":"md"===t.spacing,"my-8":"lg"===t.spacing,"my-10":"xl"===t.spacing}])},["left"===t.textPosition&&t.hasOuterDivider||["center","right"].includes(t.textPosition)?(e.openBlock(),e.createElementBlock("span",{key:0,class:e.normalizeClass(e.unref(n))},null,2)):e.createCommentVNode("",!0),e.renderSlot(l.$slots,"default",{},()=>[e.createVNode(e.unref(o),{tag:"span","no-spacing":"",variant:"caps-heading"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.text),1)]),_:1})]),"right"===t.textPosition&&t.hasOuterDivider||["center","left"].includes(t.textPosition)?(e.openBlock(),e.createElementBlock("span",{key:1,class:e.normalizeClass(e.unref(a))},null,2)):e.createCommentVNode("",!0)],2))}}),N=e.defineComponent({__name:"Divider",props:{spacing:{default:"md"}},setup:t=>(o,l)=>(e.openBlock(),e.createElementBlock("hr",{class:e.normalizeClass({"my-1":"xxs"===t.spacing,"my-2":"xs"===t.spacing,"my-4":"sm"===t.spacing,"my-6":"md"===t.spacing,"my-8":"lg"===t.spacing,"my-10":"xl"===t.spacing})},null,2))}),T=e.defineComponent({__name:"ContextMenuGroup",props:{label:{},items:{}},setup:t=>(l,n)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createVNode(e.unref(E),{"has-outer-divider":""},{default:e.withCtx(()=>[e.createVNode(e.unref(o),{class:"py-2",variant:"caps-heading"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.label),1)]),_:1})]),_:1}),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.items,(t,o)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:o},["divider"===t?(e.openBlock(),e.createBlock(e.unref(N),{key:0})):t.label?(e.openBlock(),e.createBlock(B,{key:1,label:t.label,"on-click":t.onClick,icon:t.icon,variant:t.variant,classes:t.classes,"label-suffix-component":t.labelSuffixComponent,"label-prefix-component":t.labelPrefixComponent},null,8,["label","on-click","icon","variant","classes","label-suffix-component","label-prefix-component"])):e.createCommentVNode("",!0)],64))),128))],64))});const M=h({},[["render",function(t,o){return e.openBlock(),e.createBlock(e.TransitionGroup,{"enter-active-class":"duration-100 ease-out transform-gpu","enter-from-class":"opacity-0","enter-to-class":"opacity-100","leave-active-class":"duration-100 ease-in transform-gpu","leave-from-class":"opacity-100","leave-to-class":"opacity-0"},{default:e.withCtx(()=>[e.renderSlot(t.$slots,"default")]),_:3})}]]);var V;const S="undefined"!=typeof window,z=()=>{},P=S&&(null==(V=null==window?void 0:window.navigator)?void 0:V.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent);function q(t){return"function"==typeof t?t():e.unref(t)}function D(t){return!!e.getCurrentScope()&&(e.onScopeDispose(t),!0)}function I(e){var t;const o=q(e);return null!=(t=null==o?void 0:o.$el)?t:o}const $=S?window:void 0;function O(...t){let o,l,n,a;if("string"==typeof t[0]||Array.isArray(t[0])?([l,n,a]=t,o=$):[o,l,n,a]=t,!o)return z;Array.isArray(l)||(l=[l]),Array.isArray(n)||(n=[n]);const i=[],r=()=>{i.forEach(e=>e()),i.length=0},c=e.watch(()=>[I(o),q(a)],([e,t])=>{r(),e&&i.push(...l.flatMap(o=>n.map(l=>((e,t,o,l)=>(e.addEventListener(t,o,l),()=>e.removeEventListener(t,o,l)))(e,o,l,t))))},{immediate:!0,flush:"post"}),s=()=>{c(),r()};return D(s),s}let H=!1;function A(...e){let t,o,l={};3===e.length?(t=e[0],o=e[1],l=e[2]):2===e.length?"object"==typeof e[1]?(t=!0,o=e[0],l=e[1]):(t=e[0],o=e[1]):(t=!0,o=e[0]);const{target:n=$,eventName:a="keydown",passive:i=!1}=l,r="function"==typeof(c=t)?c:"string"==typeof c?e=>e.key===c:Array.isArray(c)?e=>c.includes(e.key):()=>!0;var c;return O(n,a,e=>{r(e)&&o(e)},i)}function L(t,o=!1){const l=e.ref(),n=()=>l.value=Boolean(t());return n(),function(t,o=!0){e.getCurrentInstance()?e.onMounted(t):o?t():e.nextTick(t)}(n,o),l}function Z(t,o={}){const{window:l=$}=o,n=L(()=>l&&"matchMedia"in l&&"function"==typeof l.matchMedia);let a;const i=e.ref(!1),r=()=>{a&&("removeEventListener"in a?a.removeEventListener("change",c):a.removeListener(c))},c=()=>{var o;n.value&&(r(),a=l.matchMedia((o=t,"function"==typeof o?e.computed(o):e.ref(o)).value),i.value=a.matches,"addEventListener"in a?a.addEventListener("change",c):a.addListener(c))};return e.watchEffect(c),D(()=>r()),i}const R={sm:640,md:768,lg:1024,xl:1280,"2xl":1536};var F=Object.defineProperty,U=Object.getOwnPropertySymbols,G=Object.prototype.hasOwnProperty,j=Object.prototype.propertyIsEnumerable,Q=(e,t,o)=>t in e?F(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o;function K(e,t={}){function o(t,o){let l=e[t];return null!=o&&(l=function(e,t){var o;if("number"==typeof e)return e+t;const l=(null==(o=e.match(/^-?[0-9]+\.?[0-9]*/))?void 0:o[0])||"",n=e.slice(l.length),a=parseFloat(l)+t;return Number.isNaN(a)?e:a+n}(l,o)),"number"==typeof l&&(l=`${l}px`),l}const{window:l=$}=t;function n(e){return!!l&&l.matchMedia(e).matches}const a=e=>Z(`(min-width: ${o(e)})`,t),i=Object.keys(e).reduce((e,t)=>(Object.defineProperty(e,t,{get:()=>a(t),enumerable:!0,configurable:!0}),e),{});return((e,t)=>{for(var o in t||(t={}))G.call(t,o)&&Q(e,o,t[o]);if(U)for(var o of U(t))j.call(t,o)&&Q(e,o,t[o]);return e})({greater:e=>Z(`(min-width: ${o(e,.1)})`,t),greaterOrEqual:a,smaller:e=>Z(`(max-width: ${o(e,-.1)})`,t),smallerOrEqual:e=>Z(`(max-width: ${o(e)})`,t),between:(e,l)=>Z(`(min-width: ${o(e)}) and (max-width: ${o(l,-.1)})`,t),isGreater:e=>n(`(min-width: ${o(e,.1)})`),isGreaterOrEqual:e=>n(`(min-width: ${o(e)})`),isSmaller:e=>n(`(max-width: ${o(e,-.1)})`),isSmallerOrEqual:e=>n(`(max-width: ${o(e)})`),isInBetween:(e,t)=>n(`(min-width: ${o(e)}) and (max-width: ${o(t,-.1)})`)},i)}const W="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},Y="__vueuse_ssr_handlers__";W[Y]=W[Y]||{};var X,J,ee=Object.getOwnPropertySymbols,te=Object.prototype.hasOwnProperty,oe=Object.prototype.propertyIsEnumerable;function le(t,o,l={}){const n=l,{window:a=$}=n,i=((e,t)=>{var o={};for(var l in e)te.call(e,l)&&t.indexOf(l)<0&&(o[l]=e[l]);if(null!=e&&ee)for(var l of ee(e))t.indexOf(l)<0&&oe.call(e,l)&&(o[l]=e[l]);return o})(n,["window"]);let r;const c=L(()=>a&&"ResizeObserver"in a),s=()=>{r&&(r.disconnect(),r=void 0)},d=e.watch(()=>I(t),e=>{s(),c.value&&a&&e&&(r=new ResizeObserver(o),r.observe(e,i))},{immediate:!0,flush:"post"}),u=()=>{s(),d()};return D(u),{isSupported:c,stop:u}}function ne(t,o={width:0,height:0},l={}){const{window:n=$,box:a="content-box"}=l,i=e.computed(()=>{var e,o;return null==(o=null==(e=I(t))?void 0:e.namespaceURI)?void 0:o.includes("svg")}),r=e.ref(o.width),c=e.ref(o.height);return le(t,([e])=>{const o="border-box"===a?e.borderBoxSize:"content-box"===a?e.contentBoxSize:e.devicePixelContentBoxSize;if(n&&i.value){const e=I(t);if(e){const t=n.getComputedStyle(e);r.value=parseFloat(t.width),c.value=parseFloat(t.height)}}else if(o){const e=Array.isArray(o)?o:[o];r.value=e.reduce((e,{inlineSize:t})=>e+t,0),c.value=e.reduce((e,{blockSize:t})=>e+t,0)}else r.value=e.contentRect.width,c.value=e.contentRect.height},l),e.watch(()=>I(t),e=>{r.value=e?o.width:0,c.value=e?o.height:0}),{width:r,height:c}}(J=X||(X={})).UP="UP",J.RIGHT="RIGHT",J.DOWN="DOWN",J.LEFT="LEFT",J.NONE="NONE";var ae=Object.defineProperty,ie=Object.getOwnPropertySymbols,re=Object.prototype.hasOwnProperty,ce=Object.prototype.propertyIsEnumerable,se=(e,t,o)=>t in e?ae(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o;function de(t,o,l,n={}){var a,i,r;const{clone:c=!1,passive:s=!1,eventName:d,deep:u=!1,defaultValue:p}=n,m=e.getCurrentInstance(),f=l||(null==m?void 0:m.emit)||(null==(a=null==m?void 0:m.$emit)?void 0:a.bind(m))||(null==(r=null==(i=null==m?void 0:m.proxy)?void 0:i.$emit)?void 0:r.bind(null==m?void 0:m.proxy));let h=d;o||(o="modelValue"),h=d||h||`update:${o.toString()}`;const v=e=>{return c?(e=>"function"==typeof e)(c)?c(e):(t=e,JSON.parse(JSON.stringify(t))):e;var t},g=()=>void 0!==t[o]?v(t[o]):p;if(s){const l=g(),n=e.ref(l);return e.watch(()=>t[o],e=>n.value=v(e)),e.watch(n,e=>{(e!==t[o]||u)&&f(h,e)},{deep:u}),n}return e.computed({get:()=>g(),set(e){f(h,e)}})}((e,t)=>{for(var o in t||(t={}))re.call(t,o)&&se(e,o,t[o]);if(ie)for(var o of ie(t))ce.call(t,o)&&se(e,o,t[o])})({linear:function(e){return e}},{easeInSine:[.12,0,.39,0],easeOutSine:[.61,1,.88,1],easeInOutSine:[.37,0,.63,1],easeInQuad:[.11,0,.5,0],easeOutQuad:[.5,1,.89,1],easeInOutQuad:[.45,0,.55,1],easeInCubic:[.32,0,.67,0],easeOutCubic:[.33,1,.68,1],easeInOutCubic:[.65,0,.35,1],easeInQuart:[.5,0,.75,0],easeOutQuart:[.25,1,.5,1],easeInOutQuart:[.76,0,.24,1],easeInQuint:[.64,0,.78,0],easeOutQuint:[.22,1,.36,1],easeInOutQuint:[.83,0,.17,1],easeInExpo:[.7,0,.84,0],easeOutExpo:[.16,1,.3,1],easeInOutExpo:[.87,0,.13,1],easeInCirc:[.55,0,1,.45],easeOutCirc:[0,.55,.45,1],easeInOutCirc:[.85,0,.15,1],easeInBack:[.36,0,.66,-.56],easeOutBack:[.34,1.56,.64,1],easeInOutBack:[.68,-.6,.32,1.6]});const ue=Math.min,pe=Math.max,me=Math.round,fe=Math.floor,he=e=>({x:e,y:e}),ve={left:"right",right:"left",bottom:"top",top:"bottom"},ge={start:"end",end:"start"};function ye(e,t){return"function"==typeof e?e(t):e}function be(e){return e.split("-")[0]}function xe(e){return e.split("-")[1]}function ke(e){return"y"===e?"height":"width"}const _e=new Set(["top","bottom"]);function we(e){return _e.has(be(e))?"y":"x"}function Be(e){return"x"===we(e)?"y":"x"}function Ce(e){return e.replace(/start|end/g,e=>ge[e])}const Ee=["left","right"],Ne=["right","left"],Te=["top","bottom"],Me=["bottom","top"];function Ve(e,t,o,l){const n=xe(e);let a=function(e,t,o){switch(e){case"top":case"bottom":return o?t?Ne:Ee:t?Ee:Ne;case"left":case"right":return t?Te:Me;default:return[]}}(be(e),"start"===o,l);return n&&(a=a.map(e=>e+"-"+n),t&&(a=a.concat(a.map(Ce)))),a}function Se(e){return e.replace(/left|right|bottom|top/g,e=>ve[e])}function ze(e){const{x:t,y:o,width:l,height:n}=e;return{width:l,height:n,top:o,left:t,right:t+l,bottom:o+n,x:t,y:o}}function Pe(e,t,o){let{reference:l,floating:n}=e;const a=we(t),i=Be(t),r=ke(i),c=be(t),s="y"===a,d=l.x+l.width/2-n.width/2,u=l.y+l.height/2-n.height/2,p=l[r]/2-n[r]/2;let m;switch(c){case"top":m={x:d,y:l.y-n.height};break;case"bottom":m={x:d,y:l.y+l.height};break;case"right":m={x:l.x+l.width,y:u};break;case"left":m={x:l.x-n.width,y:u};break;default:m={x:l.x,y:l.y}}switch(xe(t)){case"start":m[i]-=p*(o&&s?-1:1);break;case"end":m[i]+=p*(o&&s?-1:1)}return m}async function qe(e,t){var o;void 0===t&&(t={});const{x:l,y:n,platform:a,rects:i,elements:r,strategy:c}=e,{boundary:s="clippingAncestors",rootBoundary:d="viewport",elementContext:u="floating",altBoundary:p=!1,padding:m=0}=ye(t,e),f=function(e){return"number"!=typeof e?function(e){return{top:0,right:0,bottom:0,left:0,...e}}(e):{top:e,right:e,bottom:e,left:e}}(m),h=r[p?"floating"===u?"reference":"floating":u],v=ze(await a.getClippingRect({element:null==(o=await(null==a.isElement?void 0:a.isElement(h)))||o?h:h.contextElement||await(null==a.getDocumentElement?void 0:a.getDocumentElement(r.floating)),boundary:s,rootBoundary:d,strategy:c})),g="floating"===u?{x:l,y:n,width:i.floating.width,height:i.floating.height}:i.reference,y=await(null==a.getOffsetParent?void 0:a.getOffsetParent(r.floating)),b=await(null==a.isElement?void 0:a.isElement(y))&&await(null==a.getScale?void 0:a.getScale(y))||{x:1,y:1},x=ze(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({elements:r,rect:g,offsetParent:y,strategy:c}):g);return{top:(v.top-x.top+f.top)/b.y,bottom:(x.bottom-v.bottom+f.bottom)/b.y,left:(v.left-x.left+f.left)/b.x,right:(x.right-v.right+f.right)/b.x}}const De=new Set(["left","top"]);function Ie(){return"undefined"!=typeof window}function $e(e){return Ae(e)?(e.nodeName||"").toLowerCase():"#document"}function Oe(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function He(e){var t;return null==(t=(Ae(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function Ae(e){return!!Ie()&&(e instanceof Node||e instanceof Oe(e).Node)}function Le(e){return!!Ie()&&(e instanceof Element||e instanceof Oe(e).Element)}function Ze(e){return!!Ie()&&(e instanceof HTMLElement||e instanceof Oe(e).HTMLElement)}function Re(e){return!(!Ie()||"undefined"==typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof Oe(e).ShadowRoot)}const Fe=new Set(["inline","contents"]);function Ue(e){const{overflow:t,overflowX:o,overflowY:l,display:n}=lt(e);return/auto|scroll|overlay|hidden|clip/.test(t+l+o)&&!Fe.has(n)}const Ge=new Set(["table","td","th"]);function je(e){return Ge.has($e(e))}const Qe=[":popover-open",":modal"];function Ke(e){return Qe.some(t=>{try{return e.matches(t)}catch(o){return!1}})}const We=["transform","translate","scale","rotate","perspective"],Ye=["transform","translate","scale","rotate","perspective","filter"],Xe=["paint","layout","strict","content"];function Je(e){const t=et(),o=Le(e)?lt(e):e;return We.some(e=>!!o[e]&&"none"!==o[e])||!!o.containerType&&"normal"!==o.containerType||!t&&!!o.backdropFilter&&"none"!==o.backdropFilter||!t&&!!o.filter&&"none"!==o.filter||Ye.some(e=>(o.willChange||"").includes(e))||Xe.some(e=>(o.contain||"").includes(e))}function et(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}const tt=new Set(["html","body","#document"]);function ot(e){return tt.has($e(e))}function lt(e){return Oe(e).getComputedStyle(e)}function nt(e){return Le(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function at(e){if("html"===$e(e))return e;const t=e.assignedSlot||e.parentNode||Re(e)&&e.host||He(e);return Re(t)?t.host:t}function it(e){const t=at(e);return ot(t)?e.ownerDocument?e.ownerDocument.body:e.body:Ze(t)&&Ue(t)?t:it(t)}function rt(e,t,o){var l;void 0===t&&(t=[]),void 0===o&&(o=!0);const n=it(e),a=n===(null==(l=e.ownerDocument)?void 0:l.body),i=Oe(n);if(a){const e=ct(i);return t.concat(i,i.visualViewport||[],Ue(n)?n:[],e&&o?rt(e):[])}return t.concat(n,rt(n,[],o))}function ct(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function st(e){const t=lt(e);let o=parseFloat(t.width)||0,l=parseFloat(t.height)||0;const n=Ze(e),a=n?e.offsetWidth:o,i=n?e.offsetHeight:l,r=me(o)!==a||me(l)!==i;return r&&(o=a,l=i),{width:o,height:l,$:r}}function dt(e){return Le(e)?e:e.contextElement}function ut(e){const t=dt(e);if(!Ze(t))return he(1);const o=t.getBoundingClientRect(),{width:l,height:n,$:a}=st(t);let i=(a?me(o.width):o.width)/l,r=(a?me(o.height):o.height)/n;return i&&Number.isFinite(i)||(i=1),r&&Number.isFinite(r)||(r=1),{x:i,y:r}}const pt=he(0);function mt(e){const t=Oe(e);return et()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:pt}function ft(e,t,o,l){void 0===t&&(t=!1),void 0===o&&(o=!1);const n=e.getBoundingClientRect(),a=dt(e);let i=he(1);t&&(l?Le(l)&&(i=ut(l)):i=ut(e));const r=function(e,t,o){return void 0===t&&(t=!1),!(!o||t&&o!==Oe(e))&&t}(a,o,l)?mt(a):he(0);let c=(n.left+r.x)/i.x,s=(n.top+r.y)/i.y,d=n.width/i.x,u=n.height/i.y;if(a){const e=Oe(a),t=l&&Le(l)?Oe(l):l;let o=e,n=ct(o);for(;n&&l&&t!==o;){const e=ut(n),t=n.getBoundingClientRect(),l=lt(n),a=t.left+(n.clientLeft+parseFloat(l.paddingLeft))*e.x,i=t.top+(n.clientTop+parseFloat(l.paddingTop))*e.y;c*=e.x,s*=e.y,d*=e.x,u*=e.y,c+=a,s+=i,o=Oe(n),n=ct(o)}}return ze({width:d,height:u,x:c,y:s})}function ht(e,t){const o=nt(e).scrollLeft;return t?t.left+o:ft(He(e)).left+o}function vt(e,t){const o=e.getBoundingClientRect();return{x:o.left+t.scrollLeft-ht(e,o),y:o.top+t.scrollTop}}const gt=new Set(["absolute","fixed"]);function yt(e,t,o){let l;if("viewport"===t)l=function(e,t){const o=Oe(e),l=He(e),n=o.visualViewport;let a=l.clientWidth,i=l.clientHeight,r=0,c=0;if(n){a=n.width,i=n.height;const e=et();(!e||e&&"fixed"===t)&&(r=n.offsetLeft,c=n.offsetTop)}const s=ht(l);if(s<=0){const e=l.ownerDocument,t=e.body,o=getComputedStyle(t),n="CSS1Compat"===e.compatMode&&parseFloat(o.marginLeft)+parseFloat(o.marginRight)||0,i=Math.abs(l.clientWidth-t.clientWidth-n);i<=25&&(a-=i)}else s<=25&&(a+=s);return{width:a,height:i,x:r,y:c}}(e,o);else if("document"===t)l=function(e){const t=He(e),o=nt(e),l=e.ownerDocument.body,n=pe(t.scrollWidth,t.clientWidth,l.scrollWidth,l.clientWidth),a=pe(t.scrollHeight,t.clientHeight,l.scrollHeight,l.clientHeight);let i=-o.scrollLeft+ht(e);const r=-o.scrollTop;return"rtl"===lt(l).direction&&(i+=pe(t.clientWidth,l.clientWidth)-n),{width:n,height:a,x:i,y:r}}(He(e));else if(Le(t))l=function(e,t){const o=ft(e,!0,"fixed"===t),l=o.top+e.clientTop,n=o.left+e.clientLeft,a=Ze(e)?ut(e):he(1);return{width:e.clientWidth*a.x,height:e.clientHeight*a.y,x:n*a.x,y:l*a.y}}(t,o);else{const o=mt(e);l={x:t.x-o.x,y:t.y-o.y,width:t.width,height:t.height}}return ze(l)}function bt(e,t){const o=at(e);return!(o===t||!Le(o)||ot(o))&&("fixed"===lt(o).position||bt(o,t))}function xt(e,t,o){const l=Ze(t),n=He(t),a="fixed"===o,i=ft(e,!0,a,t);let r={scrollLeft:0,scrollTop:0};const c=he(0);function s(){c.x=ht(n)}if(l||!l&&!a)if(("body"!==$e(t)||Ue(n))&&(r=nt(t)),l){const e=ft(t,!0,a,t);c.x=e.x+t.clientLeft,c.y=e.y+t.clientTop}else n&&s();a&&!l&&n&&s();const d=!n||l||a?he(0):vt(n,r);return{x:i.left+r.scrollLeft-c.x-d.x,y:i.top+r.scrollTop-c.y-d.y,width:i.width,height:i.height}}function kt(e){return"static"===lt(e).position}function _t(e,t){if(!Ze(e)||"fixed"===lt(e).position)return null;if(t)return t(e);let o=e.offsetParent;return He(e)===o&&(o=o.ownerDocument.body),o}function wt(e,t){const o=Oe(e);if(Ke(e))return o;if(!Ze(e)){let t=at(e);for(;t&&!ot(t);){if(Le(t)&&!kt(t))return t;t=at(t)}return o}let l=_t(e,t);for(;l&&je(l)&&kt(l);)l=_t(l,t);return l&&ot(l)&&kt(l)&&!Je(l)?o:l||function(e){let t=at(e);for(;Ze(t)&&!ot(t);){if(Je(t))return t;if(Ke(t))return null;t=at(t)}return null}(e)||o}const Bt={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:o,offsetParent:l,strategy:n}=e;const a="fixed"===n,i=He(l),r=!!t&&Ke(t.floating);if(l===i||r&&a)return o;let c={scrollLeft:0,scrollTop:0},s=he(1);const d=he(0),u=Ze(l);if((u||!u&&!a)&&(("body"!==$e(l)||Ue(i))&&(c=nt(l)),Ze(l))){const e=ft(l);s=ut(l),d.x=e.x+l.clientLeft,d.y=e.y+l.clientTop}const p=!i||u||a?he(0):vt(i,c);return{width:o.width*s.x,height:o.height*s.y,x:o.x*s.x-c.scrollLeft*s.x+d.x+p.x,y:o.y*s.y-c.scrollTop*s.y+d.y+p.y}},getDocumentElement:He,getClippingRect:function(e){let{element:t,boundary:o,rootBoundary:l,strategy:n}=e;const a=[..."clippingAncestors"===o?Ke(t)?[]:function(e,t){const o=t.get(e);if(o)return o;let l=rt(e,[],!1).filter(e=>Le(e)&&"body"!==$e(e)),n=null;const a="fixed"===lt(e).position;let i=a?at(e):e;for(;Le(i)&&!ot(i);){const t=lt(i),o=Je(i);o||"fixed"!==t.position||(n=null),(a?!o&&!n:!o&&"static"===t.position&&n&>.has(n.position)||Ue(i)&&!o&&bt(e,i))?l=l.filter(e=>e!==i):n=t,i=at(i)}return t.set(e,l),l}(t,this._c):[].concat(o),l],i=a[0],r=a.reduce((e,o)=>{const l=yt(t,o,n);return e.top=pe(l.top,e.top),e.right=ue(l.right,e.right),e.bottom=ue(l.bottom,e.bottom),e.left=pe(l.left,e.left),e},yt(t,i,n));return{width:r.right-r.left,height:r.bottom-r.top,x:r.left,y:r.top}},getOffsetParent:wt,getElementRects:async function(e){const t=this.getOffsetParent||wt,o=this.getDimensions,l=await o(e.floating);return{reference:xt(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:l.width,height:l.height}}},getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){const{width:t,height:o}=st(e);return{width:t,height:o}},getScale:ut,isElement:Le,isRTL:function(e){return"rtl"===lt(e).direction}};function Ct(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function Et(e,t,o,l){void 0===l&&(l={});const{ancestorScroll:n=!0,ancestorResize:a=!0,elementResize:i="function"==typeof ResizeObserver,layoutShift:r="function"==typeof IntersectionObserver,animationFrame:c=!1}=l,s=dt(e),d=n||a?[...s?rt(s):[],...rt(t)]:[];d.forEach(e=>{n&&e.addEventListener("scroll",o,{passive:!0}),a&&e.addEventListener("resize",o)});const u=s&&r?function(e,t){let o,l=null;const n=He(e);function a(){var e;clearTimeout(o),null==(e=l)||e.disconnect(),l=null}return function i(r,c){void 0===r&&(r=!1),void 0===c&&(c=1),a();const s=e.getBoundingClientRect(),{left:d,top:u,width:p,height:m}=s;if(r||t(),!p||!m)return;const f={rootMargin:-fe(u)+"px "+-fe(n.clientWidth-(d+p))+"px "+-fe(n.clientHeight-(u+m))+"px "+-fe(d)+"px",threshold:pe(0,ue(1,c))||1};let h=!0;function v(t){const l=t[0].intersectionRatio;if(l!==c){if(!h)return i();l?i(!1,l):o=setTimeout(()=>{i(!1,1e-7)},1e3)}1!==l||Ct(s,e.getBoundingClientRect())||i(),h=!1}try{l=new IntersectionObserver(v,{...f,root:n.ownerDocument})}catch(g){l=new IntersectionObserver(v,f)}l.observe(e)}(!0),a}(s,o):null;let p,m=-1,f=null;i&&(f=new ResizeObserver(e=>{let[l]=e;l&&l.target===s&&f&&(f.unobserve(t),cancelAnimationFrame(m),m=requestAnimationFrame(()=>{var e;null==(e=f)||e.observe(t)})),o()}),s&&!c&&f.observe(s),f.observe(t));let h=c?ft(e):null;return c&&function t(){const l=ft(e);h&&!Ct(h,l)&&o();h=l,p=requestAnimationFrame(t)}(),o(),()=>{var e;d.forEach(e=>{n&&e.removeEventListener("scroll",o),a&&e.removeEventListener("resize",o)}),null==u||u(),null==(e=f)||e.disconnect(),f=null,c&&cancelAnimationFrame(p)}}const Nt=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var o,l;const{x:n,y:a,placement:i,middlewareData:r}=t,c=await async function(e,t){const{placement:o,platform:l,elements:n}=e,a=await(null==l.isRTL?void 0:l.isRTL(n.floating)),i=be(o),r=xe(o),c="y"===we(o),s=De.has(i)?-1:1,d=a&&c?-1:1,u=ye(t,e);let{mainAxis:p,crossAxis:m,alignmentAxis:f}="number"==typeof u?{mainAxis:u,crossAxis:0,alignmentAxis:null}:{mainAxis:u.mainAxis||0,crossAxis:u.crossAxis||0,alignmentAxis:u.alignmentAxis};return r&&"number"==typeof f&&(m="end"===r?-1*f:f),c?{x:m*d,y:p*s}:{x:p*s,y:m*d}}(t,e);return i===(null==(o=r.offset)?void 0:o.placement)&&null!=(l=r.arrow)&&l.alignmentOffset?{}:{x:n+c.x,y:a+c.y,data:{...c,placement:i}}}}},Tt=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var o,l;const{placement:n,middlewareData:a,rects:i,initialPlacement:r,platform:c,elements:s}=t,{mainAxis:d=!0,crossAxis:u=!0,fallbackPlacements:p,fallbackStrategy:m="bestFit",fallbackAxisSideDirection:f="none",flipAlignment:h=!0,...v}=ye(e,t);if(null!=(o=a.arrow)&&o.alignmentOffset)return{};const g=be(n),y=we(r),b=be(r)===r,x=await(null==c.isRTL?void 0:c.isRTL(s.floating)),k=p||(b||!h?[Se(r)]:function(e){const t=Se(e);return[Ce(e),t,Ce(t)]}(r)),_="none"!==f;!p&&_&&k.push(...Ve(r,h,f,x));const w=[r,...k],B=await c.detectOverflow(t,v),C=[];let E=(null==(l=a.flip)?void 0:l.overflows)||[];if(d&&C.push(B[g]),u){const e=function(e,t,o){void 0===o&&(o=!1);const l=xe(e),n=Be(e),a=ke(n);let i="x"===n?l===(o?"end":"start")?"right":"left":"start"===l?"bottom":"top";return t.reference[a]>t.floating[a]&&(i=Se(i)),[i,Se(i)]}(n,i,x);C.push(B[e[0]],B[e[1]])}if(E=[...E,{placement:n,overflows:C}],!C.every(e=>e<=0)){var N,T;const e=((null==(N=a.flip)?void 0:N.index)||0)+1,t=w[e];if(t){if(!("alignment"===u&&y!==we(t))||E.every(e=>we(e.placement)!==y||e.overflows[0]>0))return{data:{index:e,overflows:E},reset:{placement:t}}}let o=null==(T=E.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:T.placement;if(!o)switch(m){case"bestFit":{var M;const e=null==(M=E.filter(e=>{if(_){const t=we(e.placement);return t===y||"y"===t}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0])?void 0:M[0];e&&(o=e);break}case"initialPlacement":o=r}if(n!==o)return{reset:{placement:o}}}return{}}}},Mt=(e,t,o)=>{const l=new Map,n={platform:Bt,...o},a={...n.platform,_c:l};return(async(e,t,o)=>{const{placement:l="bottom",strategy:n="absolute",middleware:a=[],platform:i}=o,r=a.filter(Boolean),c=await(null==i.isRTL?void 0:i.isRTL(t));let s=await i.getElementRects({reference:e,floating:t,strategy:n}),{x:d,y:u}=Pe(s,l,c),p=l,m={},f=0;for(let v=0;v<r.length;v++){var h;const{name:o,fn:a}=r[v],{x:g,y:y,data:b,reset:x}=await a({x:d,y:u,initialPlacement:l,placement:p,strategy:n,middlewareData:m,rects:s,platform:{...i,detectOverflow:null!=(h=i.detectOverflow)?h:qe},elements:{reference:e,floating:t}});d=null!=g?g:d,u=null!=y?y:u,m={...m,[o]:{...m[o],...b}},x&&f<=50&&(f++,"object"==typeof x&&(x.placement&&(p=x.placement),x.rects&&(s=!0===x.rects?await i.getElementRects({reference:e,floating:t,strategy:n}):x.rects),({x:d,y:u}=Pe(s,p,c))),v=-1)}return{x:d,y:u,placement:p,strategy:n,middlewareData:m}})(e,t,{...n,platform:a})};function Vt(e){if(function(e){return null!=e&&"object"==typeof e&&"$el"in e}(e)){const t=e.$el;return Ae(t)&&"#comment"===$e(t)?null:t}return e}function St(t){return"function"==typeof t?t():e.unref(t)}function zt(e){if("undefined"==typeof window)return 1;return(e.ownerDocument.defaultView||window).devicePixelRatio||1}function Pt(e,t){const o=zt(e);return Math.round(t*o)/o}function qt(t,o,l){void 0===l&&(l={});const n=l.whileElementsMounted,a=e.computed(()=>{var e;return null==(e=St(l.open))||e}),i=e.computed(()=>St(l.middleware)),r=e.computed(()=>{var e;return null!=(e=St(l.placement))?e:"bottom"}),c=e.computed(()=>{var e;return null!=(e=St(l.strategy))?e:"absolute"}),s=e.computed(()=>{var e;return null==(e=St(l.transform))||e}),d=e.computed(()=>Vt(t.value)),u=e.computed(()=>Vt(o.value)),p=e.ref(0),m=e.ref(0),f=e.ref(c.value),h=e.ref(r.value),v=e.shallowRef({}),g=e.ref(!1),y=e.computed(()=>{const e={position:f.value,left:"0",top:"0"};if(!u.value)return e;const t=Pt(u.value,p.value),o=Pt(u.value,m.value);return s.value?{...e,transform:"translate("+t+"px, "+o+"px)",...zt(u.value)>=1.5&&{willChange:"transform"}}:{position:f.value,left:t+"px",top:o+"px"}});let b;function x(){if(null==d.value||null==u.value)return;const e=a.value;Mt(d.value,u.value,{middleware:i.value,placement:r.value,strategy:c.value}).then(t=>{p.value=t.x,m.value=t.y,f.value=t.strategy,h.value=t.placement,v.value=t.middlewareData,g.value=!1!==e})}function k(){"function"==typeof b&&(b(),b=void 0)}return e.watch([i,r,c,a],x,{flush:"sync"}),e.watch([d,u],function(){k(),void 0!==n?null==d.value||null==u.value||(b=n(d.value,u.value,x)):x()},{flush:"sync"}),e.watch(a,function(){a.value||(g.value=!1)},{flush:"sync"}),e.getCurrentScope()&&e.onScopeDispose(k),{x:e.shallowReadonly(p),y:e.shallowReadonly(m),strategy:e.shallowReadonly(f),placement:e.shallowReadonly(h),middlewareData:e.shallowReadonly(v),isPositioned:e.shallowReadonly(g),floatingStyles:y,update:x}}const Dt=(t,o=!0,l=[])=>(t.forEach(t=>{if(null!==t)if("object"==typeof t)if(Array.isArray(t))Dt(t,o,l);else if(t.type===e.Fragment){if(null===t.children)return;Array.isArray(t.children)&&Dt(t.children,o,l)}else t.type!==e.Comment&&l.push(t);else"string"!=typeof t&&"number"!=typeof t||l.push(e.createTextVNode(String(t)))}),l);function It(e,...t){const o=t.flat();return Object.fromEntries(o.filter(t=>t in e).map(t=>[t,e[t]]))}const $t={focus:["onFocus","onBlur"],click:["onClick"],hover:["onMouseenter","onMouseleave"]};const Ot=e.defineComponent({name:"SlotListener",props:{trigger:{type:String,default:"click"}},emits:["click","focus","blur","mouseenter","mouseleave"],setup:(e,{emit:t})=>({handleClick:e=>{t("click",e)},handleBlur:e=>{t("blur",e)},handleFocus:e=>{t("focus",e)},handleMouseLeave:e=>{t("mouseleave",e)},handleMouseEnter:e=>{t("mouseenter",e)}}),render(){const{$slots:e}=this,t={onClick:this.handleClick,onMouseenter:this.handleMouseEnter,onMouseleave:this.handleMouseLeave,onFocus:this.handleFocus,onBlur:this.handleBlur},o=((e,t="default",o)=>{const l=e[t];if(!l)return null;const n=Dt(l(o));return 1===n.length?n[0]:null})(e,"default"),l=[t];(null==o?void 0:o.props)&&l.push(It(o.props,"onClick","onMouseenter","onMouseleave","onFocus","onBlur"));var n,a;return o&&(n=o,a={onBlur:e=>{l.forEach(t=>{var o;null==(o=null==t?void 0:t.onBlur)||o.call(t,e)})},onFocus:e=>{l.forEach(t=>{var o;null==(o=null==t?void 0:t.onFocus)||o.call(t,e)})},onClick:e=>{l.forEach(t=>{var o;null==(o=null==t?void 0:t.onClick)||o.call(t,e)})},onMouseenter:e=>{l.forEach(t=>{var o;null==(o=null==t?void 0:t.onMouseenter)||o.call(t,e)})},onMouseleave:e=>{l.forEach(t=>{var o;null==(o=null==t?void 0:t.onMouseleave)||o.call(t,e)})}},Object.entries($t).forEach(([,e])=>{e.forEach(e=>{n.props?n.props=Object.assign({},n.props):n.props={};const t=n.props[e],o=a[e];n.props[e]=t?(...e)=>{t(...e),o(...e)}:o})})),o}}),Ht={color:"primary",variant:"primary",size:"md",pill:!1,square:!1,loading:!1,disabled:!1,iconPrefix:void 0,iconSuffix:void 0,tag:"button"},At="transition-colors transition-opacity",Lt={blue:"text-white bg-blue-600 focus:ring-4 focus:ring-blue-300 font-medium rounded focus:outline-none",red:"text-white bg-red-700 focus:ring-4 focus:ring-red-300 font-medium rounded focus:outline-none",green:"text-white bg-green-700 focus:ring-4 focus:ring-green-300 font-medium rounded focus:outline-none",gray:"text-white bg-gray-800 focus:ring-4 focus:ring-gray-300 font-medium rounded focus:outline-none",primary:"text-white bg-primary-600 focus:ring-4 focus:ring-primary-300 font-medium rounded focus:outline-non",yellow:"text-white bg-yellow-800 focus:ring-4 focus:ring-yellow-300 font-medium rounded focus:outline-none",white:"text-gray-900 bg-white focus:ring-4 focus:ring-gray-200 font-medium rounded focus:outline-none"},Zt={blue:"hover:bg-blue-700",red:"hover:bg-red-800",green:"hover:bg-green-800",gray:"hover:bg-gray-50",primary:"hover:bg-primary-700",yellow:"hover:bg-yellow-700",white:"hover:bg-gray-500"},Rt={blue:"text-blue-600 bg-white border border-blue-200 focus:ring-4 focus:outline-none focus:ring-gray-50 font-medium rounded text-sm text-center",red:"text-red-700 bg-white border border-red-200 focus:ring-4 focus:outline-none focus:ring-gray-50 font-medium rounded text-sm text-center",green:"text-green-700 bg-white border border-green-200 focus:ring-4 focus:outline-none focus:ring-gray-50 font-medium rounded text-sm text-center",gray:"text-gray-800 bg-white border border-gray-200 focus:ring-4 focus:outline-none focus:ring-gray-50 font-medium rounded text-sm text-center",primary:"text-primary-600 bg-white border border-primary-200 focus:ring-4 focus:outline-none focus:ring-gray-50 font-medium rounded text-sm text-center",yellow:"text-yellow-600 bg-white border border-yellow-200 focus:ring-4 focus:outline-none focus:ring-gray-50 font-medium rounded text-sm text-center",white:"text-white bg-transparent border border-white/40 focus:ring-4 focus:outline-none focus:ring-gray-50 font-medium rounded text-sm text-center"},Ft={blue:"text-blue-600 hover:bg-gray-50 border border-blue-200 focus:ring-4 focus:outline-none focus:ring-gray-50 font-medium rounded text-sm text-center",red:"text-red-700 hover:bg-gray-50 border border-red-200 focus:ring-4 focus:outline-none focus:ring-gray-50 font-medium rounded text-sm text-center",green:"text-green-700 hover:bg-gray-50 border border-green-200 focus:ring-4 focus:outline-none focus:ring-gray-50 font-medium rounded text-sm text-center",gray:"text-gray-800 hover:bg-gray-50 border border-gray-200 focus:ring-4 focus:outline-none focus:ring-gray-50 font-medium rounded text-sm text-center",primary:"text-primary-600 hover:bg-gray-50 border border-primary-200 focus:ring-4 focus:outline-none focus:ring-gray-50 font-medium rounded text-sm text-center",yellow:"text-yellow-600 hover:bg-gray-50 border border-yellow-200 focus:ring-4 focus:outline-none focus:ring-gray-50 font-medium rounded text-sm text-center",white:"text-white hover:bg-gray-500 border border-white/40 focus:ring-4 focus:outline-none focus:ring-gray-50 font-medium rounded text-sm text-center"},Ut={blue:"text-blue-600 bg-none border-none focus:ring-4 focus:outline-none focus:ring-gray-300 font-medium rounded text-sm text-center",red:"text-red-700 bg-none border-none focus:ring-4 focus:outline-none focus:ring-gray-300 font-medium rounded text-sm text-center",green:"text-green-700 bg-none border-none focus:ring-4 focus:outline-none focus:ring-gray-300 font-medium rounded text-sm text-center",gray:"text-gray-800 bg-none border-none focus:ring-4 focus:outline-none focus:ring-gray-300 font-medium rounded text-sm text-center",primary:"text-primary-600 bg-none border-none focus:ring-4 focus:outline-none focus:ring-gray-300 font-medium rounded text-sm text-center",yellow:"text-yellow-700 bg-none border-none focus:ring-4 focus:outline-none focus:ring-gray-300 font-medium rounded text-sm text-center",white:"text-white bg-none border-none focus:ring-4 focus:outline-none focus:ring-gray-300 font-medium rounded text-sm text-center"},Gt={blue:"hover:text-white hover:bg-blue-700",red:"hover:text-white hover:bg-red-800",green:"hover:text-white hover:bg-green-800",gray:"hover:bg-gray-50",primary:"hover:text-white hover:bg-primary-700",yellow:"hover:text-white hover:bg-yellow-700",white:"hover:bg-gray-500"},jt={xs:"p-0.5",sm:"p-1.5",md:"p-2",lg:"p-3"},Qt={xs:"w-5 h-5",sm:"w-8 h-8",md:"w-10 h-10",lg:"w-12 h-12"};function Kt(t){const o=e.useSlots(),l=e.computed(()=>{var e;return(null==(e=t.square)?void 0:e.value)?Qt[t.size.value]:jt[t.size.value]}),n=e.computed(()=>{const e=t.color.value||Ht.color,n=t.variant.value||Ht.variant,a=t.loading.value,i=t.disabled.value;let r={},c={};switch(n){case"ghost":c=Ut,r=Gt;break;case"transparent":c=Ut;break;case"outline":c=Rt,r=Ft;break;default:c=Lt,r=Zt}const s=c[e],d=a||i?"":r[e];return[At,s,d,l.value,t.pill.value?"!rounded-full":"",t.disabled.value||t.loading.value?"cursor-not-allowed opacity-50":"",o.prefix||t.iconPrefix||o.suffix||t.loading.value?"inline-flex items-center":""].filter(e=>!!e).join(" ")}),a=e.computed(()=>t.loading.value?"opacity-0":"");return{contentClasses:e.computed(()=>{switch(t.size.value){case"xs":case"sm":return"mx-1";case"md":return"mx-1.5";case"lg":return"mx-2";default:return""}}),wrapperClasses:n,spanClasses:a}}const Wt={0:"w-0 h-0",.5:"w-0.5 h-0.5",1:"w-1 h-1",1.5:"w-1.5 h-1.5",10:"w-10 h-10",11:"w-11 h-11",12:"w-12 h-12",2:"w-2 h-2",2.5:"w-2.5 h-2.5",3:"w-3 h-3",4:"w-4 h-4",5:"w-5 h-5",6:"w-6 h-6",7:"w-7 h-7",8:"w-8 h-8",9:"w-9 h-9",px:"w-px h-px"},Yt={primary:"fill-primary-600",blue:"fill-blue-600",gray:"fill-gray-600",green:"fill-green-500",pink:"fill-pink-600",purple:"fill-purple-600",red:"fill-red-600",yellow:"fill-yellow-400",white:"fill-white"};const Xt=e.defineComponent({__name:"Spinner",props:{size:{default:"4"},color:{default:"primary"}},setup(t){const o=t,{spinnerClasses:l}=function(t){const o=e.computed(()=>Wt[t.size.value]),l=e.computed(()=>Yt[t.color.value]),n="text-gray-200",a="animate-spin";return{spinnerClasses:e.computed(()=>[o.value,n,l.value,a].join(" "))}}(e.toRefs(o));return(t,o)=>(e.openBlock(),e.createElementBlock("svg",{role:"status",class:e.normalizeClass(e.unref(l)),viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[...o[0]||(o[0]=[e.createElementVNode("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"},null,-1),e.createElementVNode("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"},null,-1)])],2))}}),Jt={key:0,class:"absolute bottom-0 left-0 right-0 top-0 flex items-center justify-center bg-inherit"},eo={key:0,class:"flex items-center justify-center"},to={key:2,class:"flex items-center justify-center"},oo=e.defineComponent({__name:"Button",props:e.mergeDefaults({type:{},variant:{},color:{},size:{},pill:{type:Boolean},square:{type:Boolean},loading:{type:Boolean},disabled:{type:Boolean},iconPrefix:{},iconSuffix:{},tag:{}},Ht),emits:["click"],setup(t,{emit:l}){const n=t,a=l,i=e.computed(()=>{switch(n.size){case"xs":return"2xs";case"sm":return"xs";default:return"sm"}}),r=e.computed(()=>"xs"===i.value?"4":"5"),c=e.computed(()=>["xs","sm"].includes(n.size)?"body-xs":"body-sm"),{wrapperClasses:s,spanClasses:d,contentClasses:u}=Kt(e.toRefs(n)),{color:p}=function(t){const o={lg:"5",md:"4",sm:"3",xs:"2"};return{size:e.computed(()=>o[t.size.value]),color:e.computed(()=>"primary"===t.variant.value?"white":t.color.value)}}(e.toRefs(n)),{handleClick:m}=function(t=500){const o=e.ref(!1);return{isClicked:o,handleClick:function(e){if(!o.value){o.value=!0;try{e()}finally{setTimeout(()=>{o.value=!1},t)}}}}}(),f=e.computed(()=>"button"===n.tag&&(n.disabled||n.loading)),h=e=>{m(()=>{a("click",e)})};return(l,n)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.tag),{class:e.normalizeClass([e.unref(s),"relative shrink-0 items-center justify-center overflow-clip whitespace-nowrap"]),type:"button"===t.tag?t.type:void 0,disabled:f.value,onClick:h},{default:e.withCtx(()=>[t.loading?(e.openBlock(),e.createElementBlock("span",Jt,[e.createVNode(e.unref(Xt),{size:r.value,color:e.unref(p)},null,8,["size","color"])])):e.createCommentVNode("",!0),e.createElementVNode("span",{class:e.normalizeClass([e.unref(d),"flex items-center justify-center"])},[t.iconPrefix||l.$slots.prefix?(e.openBlock(),e.createElementBlock("span",eo,[e.renderSlot(l.$slots,"prefix",{},()=>[e.createVNode(e.unref(w),{icon:t.iconPrefix,size:i.value,class:"overflow-clip"},null,8,["icon","size"])])])):e.createCommentVNode("",!0),l.$slots.default?(e.openBlock(),e.createBlock(e.unref(o),{key:1,tag:"span",variant:c.value,class:e.normalizeClass(e.unref(u))},{default:e.withCtx(()=>[e.renderSlot(l.$slots,"default")]),_:3},8,["variant","class"])):e.createCommentVNode("",!0),t.iconSuffix||l.$slots.suffix?(e.openBlock(),e.createElementBlock("span",to,[e.renderSlot(l.$slots,"suffix",{},()=>[e.createVNode(e.unref(w),{icon:t.iconSuffix,size:i.value},null,8,["icon","size"])])])):e.createCommentVNode("",!0)],2)]),_:3},8,["class","type","disabled"]))}}),lo=["id"],no=e.defineComponent({__name:"Portal",props:{to:{},name:{},disabled:{type:Boolean}},setup(t){const o=t;return e.onMounted(()=>{if(!o.name&&!o.to)throw new Error("Define either the `to` or the `name` prop.")}),(o,l)=>t.name?(e.openBlock(),e.createElementBlock("div",{key:0,id:`portal-${t.name}`},null,8,lo)):t.to?(e.openBlock(),e.createBlock(e.Teleport,{key:1,to:`#portal-${t.to}`,disabled:t.disabled},[e.renderSlot(o.$slots,"default")],8,["to","disabled"])):e.createCommentVNode("",!0)}}),ao={class:"inline-flex items-center"},io=h(e.defineComponent({__name:"Dropdown",props:{placement:{default:"bottom-end"},text:{default:""},transition:{default:""},offset:{default:8},disabled:{type:Boolean},isPortalDisabled:{type:Boolean},dropdownClass:{}},setup(t){const o=t,l=e.ref(!1),n=()=>l.value=!1,a=()=>{o.disabled||(l.value=!l.value)},i={bottom:"to-bottom","bottom-start":"to-bottom","bottom-end":"to-bottom",left:"to-left","left-start":"to-left","left-end":"to-left",right:"to-right","right-start":"to-right","right-end":"to-right",top:"to-top","top-start":"to-top","top-end":"to-top"},r=e.ref(),c=e.ref(),s=e.ref(),d=e.computed(()=>null===o.transition?i[o.placement]:o.transition),{floatingStyles:u}=qt(s,c,{whileElementsMounted:Et,placement:o.placement,middleware:[Nt(o.offset),Tt()]});return function(e,t,o={}){const{window:l=$,ignore:n=[],capture:a=!0,detectIframe:i=!1}=o;if(!l)return;P&&!H&&(H=!0,Array.from(l.document.body.children).forEach(e=>e.addEventListener("click",z)));let r=!0;const c=e=>n.some(t=>{if("string"==typeof t)return Array.from(l.document.querySelectorAll(t)).some(t=>t===e.target||e.composedPath().includes(t));{const o=I(t);return o&&(e.target===o||e.composedPath().includes(o))}}),s=[O(l,"click",o=>{const l=I(e);l&&l!==o.target&&!o.composedPath().includes(l)&&(0===o.detail&&(r=!c(o)),r?t(o):r=!0)},{passive:!0,capture:a}),O(l,"pointerdown",t=>{const o=I(e);o&&(r=!t.composedPath().includes(o)&&!c(t))},{passive:!0}),i&&O(l,"blur",o=>{var n;const a=I(e);"IFRAME"!==(null==(n=l.document.activeElement)?void 0:n.tagName)||(null==a?void 0:a.contains(l.document.activeElement))||t(o)})].filter(Boolean)}(s,()=>{l.value&&(l.value=!1)}),A("Escape",()=>{l.value=!1}),(o,i)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"wrapper",ref:s,class:"inline-flex relative"},[e.createElementVNode("div",ao,[e.createVNode(e.unref(Ot),{onClick:a},{default:e.withCtx(()=>[e.renderSlot(o.$slots,"trigger",{visible:l.value},()=>[e.createVNode(e.unref(oo),{ref_key:"trigger",ref:r},{suffix:e.withCtx(()=>[...i[0]||(i[0]=[e.createElementVNode("svg",{class:"w-4 h-4 ml-2",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},[e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M19 9l-7 7-7-7"})],-1)])]),default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.text)+" ",1)]),_:1},512)],!0)]),_:3})]),e.createVNode(e.unref(no),{to:e.unref("dropdown"),disabled:t.isPortalDisabled},{default:e.withCtx(()=>[e.createVNode(e.Transition,{name:d.value},{default:e.withCtx(()=>[l.value?(e.openBlock(),e.createElementBlock("div",{key:0,ref_key:"content",ref:c,style:e.normalizeStyle(e.unref(u)),class:e.normalizeClass(["z-60 bg-white divide-y divide-gray-100 rounded shadow",t.dropdownClass])},[e.createVNode(e.unref(Ot),{onClick:n},{default:e.withCtx(()=>[e.renderSlot(o.$slots,"default",{},void 0,!0)]),_:3})],6)):e.createCommentVNode("",!0)]),_:3},8,["name"])]),_:3},8,["to","disabled"])],512))}}),[["__scopeId","data-v-ce4df87e"]]),ro=e.defineComponent({__name:"ListGroup",props:{width:{default:"default"}},setup:t=>(o,l)=>(e.openBlock(),e.createElementBlock("ul",{class:e.normalizeClass(["overflow-hidden text-sm font-medium text-gray-900 bg-white border border-gray-200 rounded",{"w-48":"default"===t.width,"w-64":"wide"===t.width}])},[e.renderSlot(o.$slots,"default")],2))}),co=e.defineComponent({__name:"ContextMenu",props:{items:{},icon:{default:"more_vert"},square:{type:Boolean,default:!1},outlined:{type:Boolean},width:{},disabled:{type:Boolean},isPortalDisabled:{type:Boolean},triggerSize:{default:"sm"},dropdownClass:{}},setup(t){const o=t,l=e.useSlots(),n=e.computed(()=>{var e,t;return o.disabled||(null==(t=(null==(e=o.items)?void 0:e.flatMap(e=>"divider"!==e&&"items"in e?e.items:e))??[])?void 0:t.filter(e=>"divider"!==e).every(e=>e.disabled))&&!l.default});return(o,l)=>(e.openBlock(),e.createBlock(e.unref(M),null,{default:e.withCtx(()=>{var a;return[(null==(a=t.items)?void 0:a.length)||o.$slots.default||t.disabled?(e.openBlock(),e.createBlock(e.unref(io),e.mergeProps({key:0,"is-portal-disabled":n.value},o.$attrs,{"dropdown-class":t.dropdownClass}),{trigger:e.withCtx(({visible:a})=>[e.renderSlot(o.$slots,"trigger",{visible:a},()=>[e.createVNode(e.unref(oo),{type:"button",pill:!t.square,square:"",color:"gray",variant:"outline",size:t.triggerSize,class:e.normalizeClass({"border-none":!t.outlined}),"data-testid":"context-menu",disabled:n.value,"icon-prefix":t.icon,onClick:l[0]||(l[0]=e.withModifiers(()=>{},["stop"]))},null,8,["pill","size","class","disabled","icon-prefix"])])]),default:e.withCtx(()=>[t.items||o.$slots.default?(e.openBlock(),e.createBlock(e.unref(ro),{key:0,width:t.width,class:"z-60 p-0.5"},{default:e.withCtx(()=>[e.renderSlot(o.$slots,"header"),t.items?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(t.items,(o,l)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:l},["divider"===o&&l<t.items.length-1?(e.openBlock(),e.createBlock(e.unref(N),{key:0,spacing:"none"})):"divider"===o||"items"in o?"divider"!==o?(e.openBlock(),e.createBlock(T,{key:2,class:"rounded-sm",label:o.label,items:o.items},null,8,["label","items"])):e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(B,{key:1,label:o.label,variant:o.variant,icon:o.icon,"label-suffix-component":o.labelSuffixComponent,"label-prefix-component":o.labelPrefixComponent,description:o.description,classes:o.classes,"test-id":o.testId,disabled:o.disabled,onClick:o.onClick},null,8,["label","variant","icon","label-suffix-component","label-prefix-component","description","classes","test-id","disabled","onClick"]))],64))),128)):e.createCommentVNode("",!0),e.renderSlot(o.$slots,"default")]),_:3},8,["width"])):e.createCommentVNode("",!0)]),_:3},16,["is-portal-disabled","dropdown-class"])):e.createCommentVNode("",!0)]}),_:3}))}}),so="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cpath%20fill='%23f5f7f8'%20d='M0%200h40v40H0z'/%3e%3cmask%20id='a'%20width='28'%20height='28'%20x='6'%20y='6'%20maskUnits='userSpaceOnUse'%20style='mask-type:alpha'%3e%3cpath%20fill='%23d9d9d9'%20d='M6%206h28v28H6z'/%3e%3c/mask%3e%3cg%20mask='url(%23a)'%3e%3cpath%20fill='%23333'%20d='M11.842%2027.955a1.85%201.85%200%200%201-1.36-.557%201.85%201.85%200%200%201-.558-1.36V13.962q0-.805.557-1.36a1.85%201.85%200%200%201%201.36-.557H28.16q.803%200%201.36.556.557.557.557%201.36v12.075q0%20.805-.557%201.36a1.85%201.85%200%200%201-1.36.558zm-.327-8.383h16.97v-3.386h-16.97z'/%3e%3c/g%3e%3c/svg%3e",uo={class:"shrink-0"},po={class:"flex items-center justify-center overflow-clip rounded"},mo=["src","alt","width","height"],fo={class:"grow"},ho={key:0},vo={key:0,class:"pt-3"},go=e.defineComponent({__name:"PaymentMethodBase",props:{imageSrc:{},imageAlt:{},variant:{default:"default"},isInactive:{type:Boolean},options:{},error:{}},setup(t){const o=t,l=e.computed(()=>o.imageSrc||so);return(o,n)=>(e.openBlock(),e.createElementBlock("div",null,[e.createElementVNode("div",{class:e.normalizeClass(["flex gap-3",{"opacity-50":t.isInactive}])},[e.createElementVNode("div",uo,[e.createElementVNode("div",po,[l.value?(e.openBlock(),e.createElementBlock("img",{key:0,src:l.value,alt:t.imageAlt,width:"condensed"===t.variant?20:36,height:"condensed"===t.variant?20:36,class:e.normalizeClass({"w-9 h-9":"default"===t.variant,"w-5 h-5":"condensed"===t.variant})},null,10,mo)):e.createCommentVNode("",!0)])]),e.createElementVNode("div",fo,[e.renderSlot(o.$slots,"default")]),t.options&&t.options.length>0?(e.openBlock(),e.createElementBlock("div",ho,[e.createVNode(co,{width:"wide",square:"",items:t.options},null,8,["items"])])):e.createCommentVNode("",!0)],2),t.error?(e.openBlock(),e.createElementBlock("div",vo,[e.createVNode(m,{message:t.error,variant:"error"},null,8,["message"])])):e.createCommentVNode("",!0)]))}}),yo=Symbol("ErrorProvider"),bo=()=>{const t=e.inject(yo);if(!t)throw new Error("ErrorHandlingProvider is not provided");return t},xo=e=>e.match(/^(Etc\/)?GMT/)?e.includes("-")?e.replace(/^(Etc\/)?GMT-/,"Etc/GMT+"):e.includes("+")?e.replace(/^(Etc\/)?GMT\+/,"Etc/GMT-"):e:e,ko={"3yk8fB":"Wallet","47FYwb":"Cancel",N2IrpM:"Confirm","PW+sL4":"N/A",Vl9vDx:"units","customer_billing_information.billing_address_label":"Billing address","customer_billing_information.email_address_label":"Email address","customer_billing_information.name_label":"Name","customer_billing_information.title":"Billing information","customer_billing_information.vat_number_label":"VAT number","customer_overview.billing_information.no_billing_information_available":"No billing information to display.","download_button.download_failed_message":"Download failed, please try again later","editor.placeholder":"Enter text or type ‘/’ for commands","editorComponent.entityDetailsFallbackTitles.customerTitle":"Customer details","editorComponent.entityDetailsFallbackTitles.supplierTitle":"Supplier details","editorComponent.slashCommands.addCustomerDetailsDescription":"Insert customer details block","editorComponent.slashCommands.addCustomerDetailsTitle":"Add Customer Details","editorComponent.slashCommands.addPartyDetailsDescription":"Insert customer and supplier details in one row","editorComponent.slashCommands.addPartyDetailsTitle":"Add Party Details","editorComponent.slashCommands.addInvoicePreviewDescription":"Insert an invoice preview snapshot","editorComponent.slashCommands.addInvoicePreviewTitle":"Add Invoice Preview","editorComponent.slashCommands.addSupplierDetailsDescription":"Insert supplier details block","editorComponent.slashCommands.addSupplierDetailsTitle":"Add Supplier Details","editorComponent.slashCommands.customerFallbackTitle":"Customer details","editorComponent.slashCommands.dividerDescription":"Insert a horizontal rule","editorComponent.slashCommands.dividerTitle":"Divider","editorComponent.slashCommands.headingDescription":"Start writing with heading.","editorComponent.slashCommands.headingTitle":"Heading","editorComponent.slashCommands.supplierFallbackTitle":"Supplier details","editorComponent.slashCommands.textDescription":"Start writing with plain text","editorComponent.slashCommands.textTitle":"Text","error_notification.default_error_message":"Something went wrong","form_validation.tax_id.invalid_format":"Invalid tax ID format. Example: {example}","generic.not_available":"N/A","invoicePreviewCard.title":"Invoice preview","invoicePreviewCard.totalExcludingTaxes":"Total excluding taxes","invoicePreviewCard.taxes":"Taxes","invoicePreviewCard.totalIncludingTaxes":"Total including taxes","invoice.add_invoice_line":"Add invoice line","invoice.adjustment_chip_body":"Adjustment","invoice.already_deducted_table_heading":"Already deducted","invoice.amount_discount":"{amount} discount","invoice.amount_due_table_heading":"Amount due","invoice.amount_table_heading":"Amount","invoice.commitment":"commitment","invoice.commitment_heading":"Commitment","invoice.discounts_table_heading":"Discounts","invoice.download_pdf_button":"Download PDF","invoice.due_on_label":"Due on {date}","invoice.line.band_maximum_number":"Maximum number","invoice.line.band_minimum_amount":"Band minimum amount","invoice.line.band_minimum_number":"Minimum number","invoice.line.excl.tax":"Excl. tax","invoice.line.incl.tax":"Incl. tax","invoice.line.included":"included","invoice.line.original_currency":"Original currency","invoice.line.pass_through":"Pass through","invoice.line.price_bound_maximum_amount":"Maximum amount","invoice.line.price_bound_within_bounds":"Within bounds","invoice.line.units_included":"units included","invoice.markup_percentage":"{percentage}% markup","invoice.markups_table_heading":"Markups","invoice.paid_chip":"Paid","invoice.paid_on_label":"Paid on {date}","invoice.percentage_discount":"{percentage}% discount","invoice.service_period_heading":"Service period - {start_at} - {end_at}","invoice.table_header.base amount":"Base amount","invoice.table_header.discount":"Discount","invoice.table_header.markup":"Markup","invoice.table_header.price":"Price","invoice.table_header.quantity":"Quantity","invoice.table_header.sub_total":"Subtotal","invoice.table_header.tax amount":"Tax amount","invoice.table_header.tax type":"Tax type","invoice.table_header.tax_percentage":"Percentage","invoice.table_header.tax_rate":"Tax rate","invoice.table_header.total":"Total","invoice.table_header.total_excluding_taxes":"Total excluding taxes","invoice.table_header.total_including_taxes":"Total including taxes","invoice.table_header.total_including_taxes_customer_facing":"Total due today","invoice.table_header.unit":"Unit","invoice.table_heading.commitments":"Commitments","invoice.table_heading.discounts":"Discounts","invoice.table_heading.markups":"Markups","invoice.table_heading.one_offs":"One-off's","invoice.table_heading.products":"Products","invoice.tax_notes.local_vat_applied_for_missing_tax_id":"Local VAT applied instead of reverse charge mechanism because customer VAT number is missing and this is an intra-EU sale","invoice.tax_notes.no_charge_provided_outside_eu":"No VAT charged – services provided outside the EU","invoice.tax_notes.not_applicable_article":"TVA non applicable – Article 294, 1 du CGI","invoice.tax_notes.reverse_charge":"Reverse charge - Art 196 of the VAT Directive 2006/ 112/EC","invoice.tax_notes.reverse_charge_outside_eu":"No VAT – Service supplied outside the EU (Art. 44 EU VAT Directive)","invoice.tax_notes.reverse_charge_tax_registration":"[1] - Reverse charge","invoice.tax_notes.reverse_charge_tax_registration_outside_eu":"Out of scope for EU VAT","invoice.taxes_table_heading":"Taxes","invoice.title":"Details","invoice.totals_table_heading":"Totals","invoice_preview.after_trial_heading":"After trial","invoice_preview.taxes_heading":"Taxes","invoice_preview.taxes_not_determined_by_billing_information_tooltip":"Will be determined by billing information","invoice_preview.total_due_today_heading":"Total due today","invoice_preview.total_excluding_taxes_heading":"Total excluding taxes","invoice_preview.total_including_taxes_heading":"Total including taxes","invoice_preview.total_paid_heading":"Total paid",lWOCGz:"unit",pH6Zg0:"expires after {period}","payment_methods.default_chip.label":"Default","payment_methods.inactive_chip.label":"Inactive","pricing_detail.billing_cycle":"Billing cycle",pricing_item_pricing:"{pricing} per {billing_period}","pricing_item_pricing.flat_top_up":"Flat top up pricing","pricing_item_pricing.none":"Not billed","pricing_item_pricing.pass_through":"Pass through pricing","pricing_item_pricing.per_seat":"Per seat","pricing_item_pricing.stair_step":"Stair step pricing","pricing_item_pricing.tiered":"Tiered pricing","pricing_item_pricing.tiered_top_up":"Tiered top up pricing","pricing_item_pricing.top_tiered":"Top tiered pricing","pricing_item_pricing.unsupported_pricing_error":"Unsupported pricing","promotion.code.expiry":"Never expires","quoteBillingDetails.autoRenewalLabel":"Auto renewal","quoteBillingDetails.billingCurrencyLabel":"Billing currency","quoteBillingDetails.billingCycleLabel":"Billing cycle","quoteBillingDetails.billingCycleValue.notAvailable":"N/A","quoteBillingDetails.initialTermLabel":"Initial term","quoteBillingDetails.no":"No","quoteBillingDetails.paymentTermLabel":"Payment term","quoteBillingDetails.renewalTermLabel":"Renewal term","quoteBillingDetails.yes":"Yes","slashCommandList.emptyState":"No matching commands",spcNSp:"Updated at {date}","taxId.invalid":"Invalid tax ID","time_period.day.full":"daily","time_period.day.plural":"days","time_period.day.singular":"day","time_period.month.full":"monthly","time_period.month.plural":"months","time_period.month.singular":"month","time_period.week.full":"weekly","time_period.week.plural":"weeks","time_period.week.singular":"week","time_period.year.full":"yearly","time_period.year.plural":"years","time_period.year.singular":"year","timezone_select.option.inherit_from_platform":"Inherit from platform","ui.CalloutRow.moreActions":"More actions","wB/wXs":"credits","wallet_balance.formatted_credit_unit":"{quantity} {unit}"};var _o=function(e,t){return(_o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])})(e,t)};function wo(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}_o(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}var Bo,Co,Eo=function(){return Eo=Object.assign||function(e){for(var t,o=1,l=arguments.length;o<l;o++)for(var n in t=arguments[o])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e},Eo.apply(this,arguments)};function No(e,t,o){if(2===arguments.length)for(var l,n=0,a=t.length;n<a;n++)!l&&n in t||(l||(l=Array.prototype.slice.call(t,0,n)),l[n]=t[n]);return e.concat(l||Array.prototype.slice.call(t))}"function"==typeof SuppressedError&&SuppressedError,(Co=Bo||(Bo={})).FORMAT_ERROR="FORMAT_ERROR",Co.UNSUPPORTED_FORMATTER="UNSUPPORTED_FORMATTER",Co.INVALID_CONFIG="INVALID_CONFIG",Co.MISSING_DATA="MISSING_DATA",Co.MISSING_TRANSLATION="MISSING_TRANSLATION";var To=function(e){function t(o,l,n){var a=this,i=n?n instanceof Error?n:new Error(String(n)):void 0;return(a=e.call(this,"[@formatjs/intl Error ".concat(o,"] ").concat(l,"\n").concat(i?"\n".concat(i.message,"\n").concat(i.stack):""))||this).code=o,"function"==typeof Error.captureStackTrace&&Error.captureStackTrace(a,t),a}return wo(t,e),t}(Error),Mo=function(e){function t(t,o){return e.call(this,Bo.UNSUPPORTED_FORMATTER,t,o)||this}return wo(t,e),t}(To),Vo=function(e){function t(t,o){return e.call(this,Bo.INVALID_CONFIG,t,o)||this}return wo(t,e),t}(To),So=function(e){function t(t,o){return e.call(this,Bo.MISSING_DATA,t,o)||this}return wo(t,e),t}(To),zo=function(e){function t(t,o,l){var n=e.call(this,Bo.FORMAT_ERROR,"".concat(t,"\nLocale: ").concat(o,"\n"),l)||this;return n.locale=o,n}return wo(t,e),t}(To),Po=function(e){function t(t,o,l,n){var a=e.call(this,"".concat(t,"\nMessageID: ").concat(null==l?void 0:l.id,"\nDefault Message: ").concat(null==l?void 0:l.defaultMessage,"\nDescription: ").concat(null==l?void 0:l.description,"\n"),o,n)||this;return a.descriptor=l,a.locale=o,a}return wo(t,e),t}(zo),qo=function(e){function t(t,o){var l=e.call(this,Bo.MISSING_TRANSLATION,'Missing message: "'.concat(t.id,'" for locale "').concat(o,'", using ').concat(t.defaultMessage?"default message (".concat("string"==typeof t.defaultMessage?t.defaultMessage:t.defaultMessage.map(function(e){var t;return null!==(t=e.value)&&void 0!==t?t:JSON.stringify(e)}).join(),")"):"id"," as fallback."))||this;return l.descriptor=t,l}return wo(t,e),t}(To);function Do(e,t){var o=t&&t.cache?t.cache:Qo,l=t&&t.serializer?t.serializer:Go;return(t&&t.strategy?t.strategy:Ho)(e,{cache:o,serializer:l})}function Io(e,t,o,l){var n,a=null==(n=l)||"number"==typeof n||"boolean"==typeof n?l:o(l),i=t.get(a);return void 0===i&&(i=e.call(this,l),t.set(a,i)),i}function $o(e,t,o){var l=Array.prototype.slice.call(arguments,3),n=o(l),a=t.get(n);return void 0===a&&(a=e.apply(this,l),t.set(n,a)),a}function Oo(e,t,o,l,n){return o.bind(t,e,l,n)}function Ho(e,t){return Oo(e,this,1===e.length?Io:$o,t.cache.create(),t.serializer)}var Ao,Lo,Zo,Ro,Fo,Uo,Go=function(){return JSON.stringify(arguments)},jo=function(){function e(){this.cache=Object.create(null)}return e.prototype.get=function(e){return this.cache[e]},e.prototype.set=function(e,t){this.cache[e]=t},e}(),Qo={create:function(){return new jo}},Ko={variadic:function(e,t){return Oo(e,this,$o,t.cache.create(),t.serializer)}};function Wo(e){return e.type===Zo.literal}function Yo(e){return e.type===Zo.argument}function Xo(e){return e.type===Zo.number}function Jo(e){return e.type===Zo.date}function el(e){return e.type===Zo.time}function tl(e){return e.type===Zo.select}function ol(e){return e.type===Zo.plural}function ll(e){return e.type===Zo.pound}function nl(e){return e.type===Zo.tag}function al(e){return!(!e||"object"!=typeof e||e.type!==Fo.number)}function il(e){return!(!e||"object"!=typeof e||e.type!==Fo.dateTime)}(Lo=Ao||(Ao={}))[Lo.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",Lo[Lo.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",Lo[Lo.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",Lo[Lo.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",Lo[Lo.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",Lo[Lo.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",Lo[Lo.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",Lo[Lo.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",Lo[Lo.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",Lo[Lo.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",Lo[Lo.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",Lo[Lo.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",Lo[Lo.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",Lo[Lo.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",Lo[Lo.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",Lo[Lo.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",Lo[Lo.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",Lo[Lo.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",Lo[Lo.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",Lo[Lo.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",Lo[Lo.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",Lo[Lo.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",Lo[Lo.INVALID_TAG=23]="INVALID_TAG",Lo[Lo.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",Lo[Lo.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",Lo[Lo.UNCLOSED_TAG=27]="UNCLOSED_TAG",(Ro=Zo||(Zo={}))[Ro.literal=0]="literal",Ro[Ro.argument=1]="argument",Ro[Ro.number=2]="number",Ro[Ro.date=3]="date",Ro[Ro.time=4]="time",Ro[Ro.select=5]="select",Ro[Ro.plural=6]="plural",Ro[Ro.pound=7]="pound",Ro[Ro.tag=8]="tag",(Uo=Fo||(Fo={}))[Uo.number=0]="number",Uo[Uo.dateTime=1]="dateTime";var rl=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,cl=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;function sl(e){var t={};return e.replace(cl,function(e){var o=e.length;switch(e[0]){case"G":t.era=4===o?"long":5===o?"narrow":"short";break;case"y":t.year=2===o?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":t.month=["numeric","2-digit","short","long","narrow"][o-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":t.day=["numeric","2-digit"][o-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":t.weekday=4===o?"long":5===o?"narrow":"short";break;case"e":if(o<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][o-4];break;case"c":if(o<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][o-4];break;case"a":t.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":t.hourCycle="h12",t.hour=["numeric","2-digit"][o-1];break;case"H":t.hourCycle="h23",t.hour=["numeric","2-digit"][o-1];break;case"K":t.hourCycle="h11",t.hour=["numeric","2-digit"][o-1];break;case"k":t.hourCycle="h24",t.hour=["numeric","2-digit"][o-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":t.minute=["numeric","2-digit"][o-1];break;case"s":t.second=["numeric","2-digit"][o-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":t.timeZoneName=o<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""}),t}var dl=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;function ul(e){return e.replace(/^(.*?)-/,"")}var pl=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,ml=/^(@+)?(\+|#+)?[rs]?$/g,fl=/(\*)(0+)|(#+)(0+)|(0+)/g,hl=/^(0+)$/;function vl(e){var t={};return"r"===e[e.length-1]?t.roundingPriority="morePrecision":"s"===e[e.length-1]&&(t.roundingPriority="lessPrecision"),e.replace(ml,function(e,o,l){return"string"!=typeof l?(t.minimumSignificantDigits=o.length,t.maximumSignificantDigits=o.length):"+"===l?t.minimumSignificantDigits=o.length:"#"===o[0]?t.maximumSignificantDigits=o.length:(t.minimumSignificantDigits=o.length,t.maximumSignificantDigits=o.length+("string"==typeof l?l.length:0)),""}),t}function gl(e){switch(e){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}function yl(e){var t;if("E"===e[0]&&"E"===e[1]?(t={notation:"engineering"},e=e.slice(2)):"E"===e[0]&&(t={notation:"scientific"},e=e.slice(1)),t){var o=e.slice(0,2);if("+!"===o?(t.signDisplay="always",e=e.slice(2)):"+?"===o&&(t.signDisplay="exceptZero",e=e.slice(2)),!hl.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function bl(e){var t=gl(e);return t||{}}function xl(e){for(var t={},o=0,l=e;o<l.length;o++){var n=l[o];switch(n.stem){case"percent":case"%":t.style="percent";continue;case"%x100":t.style="percent",t.scale=100;continue;case"currency":t.style="currency",t.currency=n.options[0];continue;case"group-off":case",_":t.useGrouping=!1;continue;case"precision-integer":case".":t.maximumFractionDigits=0;continue;case"measure-unit":case"unit":t.style="unit",t.unit=ul(n.options[0]);continue;case"compact-short":case"K":t.notation="compact",t.compactDisplay="short";continue;case"compact-long":case"KK":t.notation="compact",t.compactDisplay="long";continue;case"scientific":t=Eo(Eo(Eo({},t),{notation:"scientific"}),n.options.reduce(function(e,t){return Eo(Eo({},e),bl(t))},{}));continue;case"engineering":t=Eo(Eo(Eo({},t),{notation:"engineering"}),n.options.reduce(function(e,t){return Eo(Eo({},e),bl(t))},{}));continue;case"notation-simple":t.notation="standard";continue;case"unit-width-narrow":t.currencyDisplay="narrowSymbol",t.unitDisplay="narrow";continue;case"unit-width-short":t.currencyDisplay="code",t.unitDisplay="short";continue;case"unit-width-full-name":t.currencyDisplay="name",t.unitDisplay="long";continue;case"unit-width-iso-code":t.currencyDisplay="symbol";continue;case"scale":t.scale=parseFloat(n.options[0]);continue;case"rounding-mode-floor":t.roundingMode="floor";continue;case"rounding-mode-ceiling":t.roundingMode="ceil";continue;case"rounding-mode-down":t.roundingMode="trunc";continue;case"rounding-mode-up":t.roundingMode="expand";continue;case"rounding-mode-half-even":t.roundingMode="halfEven";continue;case"rounding-mode-half-down":t.roundingMode="halfTrunc";continue;case"rounding-mode-half-up":t.roundingMode="halfExpand";continue;case"integer-width":if(n.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");n.options[0].replace(fl,function(e,o,l,n,a,i){if(o)t.minimumIntegerDigits=l.length;else{if(n&&a)throw new Error("We currently do not support maximum integer digits");if(i)throw new Error("We currently do not support exact integer digits")}return""});continue}if(hl.test(n.stem))t.minimumIntegerDigits=n.stem.length;else if(pl.test(n.stem)){if(n.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");n.stem.replace(pl,function(e,o,l,n,a,i){return"*"===l?t.minimumFractionDigits=o.length:n&&"#"===n[0]?t.maximumFractionDigits=n.length:a&&i?(t.minimumFractionDigits=a.length,t.maximumFractionDigits=a.length+i.length):(t.minimumFractionDigits=o.length,t.maximumFractionDigits=o.length),""});var a=n.options[0];"w"===a?t=Eo(Eo({},t),{trailingZeroDisplay:"stripIfInteger"}):a&&(t=Eo(Eo({},t),vl(a)))}else if(ml.test(n.stem))t=Eo(Eo({},t),vl(n.stem));else{var i=gl(n.stem);i&&(t=Eo(Eo({},t),i));var r=yl(n.stem);r&&(t=Eo(Eo({},t),r))}}return t}var kl,_l={"001":["H","h"],419:["h","H","hB","hb"],AC:["H","h","hb","hB"],AD:["H","hB"],AE:["h","hB","hb","H"],AF:["H","hb","hB","h"],AG:["h","hb","H","hB"],AI:["H","h","hb","hB"],AL:["h","H","hB"],AM:["H","hB"],AO:["H","hB"],AR:["h","H","hB","hb"],AS:["h","H"],AT:["H","hB"],AU:["h","hb","H","hB"],AW:["H","hB"],AX:["H"],AZ:["H","hB","h"],BA:["H","hB","h"],BB:["h","hb","H","hB"],BD:["h","hB","H"],BE:["H","hB"],BF:["H","hB"],BG:["H","hB","h"],BH:["h","hB","hb","H"],BI:["H","h"],BJ:["H","hB"],BL:["H","hB"],BM:["h","hb","H","hB"],BN:["hb","hB","h","H"],BO:["h","H","hB","hb"],BQ:["H"],BR:["H","hB"],BS:["h","hb","H","hB"],BT:["h","H"],BW:["H","h","hb","hB"],BY:["H","h"],BZ:["H","h","hb","hB"],CA:["h","hb","H","hB"],CC:["H","h","hb","hB"],CD:["hB","H"],CF:["H","h","hB"],CG:["H","hB"],CH:["H","hB","h"],CI:["H","hB"],CK:["H","h","hb","hB"],CL:["h","H","hB","hb"],CM:["H","h","hB"],CN:["H","hB","hb","h"],CO:["h","H","hB","hb"],CP:["H"],CR:["h","H","hB","hb"],CU:["h","H","hB","hb"],CV:["H","hB"],CW:["H","hB"],CX:["H","h","hb","hB"],CY:["h","H","hb","hB"],CZ:["H"],DE:["H","hB"],DG:["H","h","hb","hB"],DJ:["h","H"],DK:["H"],DM:["h","hb","H","hB"],DO:["h","H","hB","hb"],DZ:["h","hB","hb","H"],EA:["H","h","hB","hb"],EC:["h","H","hB","hb"],EE:["H","hB"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],ER:["h","H"],ES:["H","hB","h","hb"],ET:["hB","hb","h","H"],FI:["H"],FJ:["h","hb","H","hB"],FK:["H","h","hb","hB"],FM:["h","hb","H","hB"],FO:["H","h"],FR:["H","hB"],GA:["H","hB"],GB:["H","h","hb","hB"],GD:["h","hb","H","hB"],GE:["H","hB","h"],GF:["H","hB"],GG:["H","h","hb","hB"],GH:["h","H"],GI:["H","h","hb","hB"],GL:["H","h"],GM:["h","hb","H","hB"],GN:["H","hB"],GP:["H","hB"],GQ:["H","hB","h","hb"],GR:["h","H","hb","hB"],GT:["h","H","hB","hb"],GU:["h","hb","H","hB"],GW:["H","hB"],GY:["h","hb","H","hB"],HK:["h","hB","hb","H"],HN:["h","H","hB","hb"],HR:["H","hB"],HU:["H","h"],IC:["H","h","hB","hb"],ID:["H"],IE:["H","h","hb","hB"],IL:["H","hB"],IM:["H","h","hb","hB"],IN:["h","H"],IO:["H","h","hb","hB"],IQ:["h","hB","hb","H"],IR:["hB","H"],IS:["H"],IT:["H","hB"],JE:["H","h","hb","hB"],JM:["h","hb","H","hB"],JO:["h","hB","hb","H"],JP:["H","K","h"],KE:["hB","hb","H","h"],KG:["H","h","hB","hb"],KH:["hB","h","H","hb"],KI:["h","hb","H","hB"],KM:["H","h","hB","hb"],KN:["h","hb","H","hB"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],KW:["h","hB","hb","H"],KY:["h","hb","H","hB"],KZ:["H","hB"],LA:["H","hb","hB","h"],LB:["h","hB","hb","H"],LC:["h","hb","H","hB"],LI:["H","hB","h"],LK:["H","h","hB","hb"],LR:["h","hb","H","hB"],LS:["h","H"],LT:["H","h","hb","hB"],LU:["H","h","hB"],LV:["H","hB","hb","h"],LY:["h","hB","hb","H"],MA:["H","h","hB","hb"],MC:["H","hB"],MD:["H","hB"],ME:["H","hB","h"],MF:["H","hB"],MG:["H","h"],MH:["h","hb","H","hB"],MK:["H","h","hb","hB"],ML:["H"],MM:["hB","hb","H","h"],MN:["H","h","hb","hB"],MO:["h","hB","hb","H"],MP:["h","hb","H","hB"],MQ:["H","hB"],MR:["h","hB","hb","H"],MS:["H","h","hb","hB"],MT:["H","h"],MU:["H","h"],MV:["H","h"],MW:["h","hb","H","hB"],MX:["h","H","hB","hb"],MY:["hb","hB","h","H"],MZ:["H","hB"],NA:["h","H","hB","hb"],NC:["H","hB"],NE:["H"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NI:["h","H","hB","hb"],NL:["H","hB"],NO:["H","h"],NP:["H","h","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],NZ:["h","hb","H","hB"],OM:["h","hB","hb","H"],PA:["h","H","hB","hb"],PE:["h","H","hB","hb"],PF:["H","h","hB"],PG:["h","H"],PH:["h","hB","hb","H"],PK:["h","hB","H"],PL:["H","h"],PM:["H","hB"],PN:["H","h","hb","hB"],PR:["h","H","hB","hb"],PS:["h","hB","hb","H"],PT:["H","hB"],PW:["h","H"],PY:["h","H","hB","hb"],QA:["h","hB","hb","H"],RE:["H","hB"],RO:["H","hB"],RS:["H","hB","h"],RU:["H"],RW:["H","h"],SA:["h","hB","hb","H"],SB:["h","hb","H","hB"],SC:["H","h","hB"],SD:["h","hB","hb","H"],SE:["H"],SG:["h","hb","H","hB"],SH:["H","h","hb","hB"],SI:["H","hB"],SJ:["H"],SK:["H"],SL:["h","hb","H","hB"],SM:["H","h","hB"],SN:["H","h","hB"],SO:["h","H"],SR:["H","hB"],SS:["h","hb","H","hB"],ST:["H","hB"],SV:["h","H","hB","hb"],SX:["H","h","hb","hB"],SY:["h","hB","hb","H"],SZ:["h","hb","H","hB"],TA:["H","h","hb","hB"],TC:["h","hb","H","hB"],TD:["h","H","hB"],TF:["H","h","hB"],TG:["H","hB"],TH:["H","h"],TJ:["H","h"],TL:["H","hB","hb","h"],TM:["H","h"],TN:["h","hB","hb","H"],TO:["h","H"],TR:["H","hB"],TT:["h","hb","H","hB"],TW:["hB","hb","h","H"],TZ:["hB","hb","H","h"],UA:["H","hB","h"],UG:["hB","hb","H","h"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],UY:["h","H","hB","hb"],UZ:["H","hB","h"],VA:["H","h","hB"],VC:["h","hb","H","hB"],VE:["h","H","hB","hb"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],VN:["H","h"],VU:["h","H"],WF:["H","hB"],WS:["h","H"],XK:["H","hB","h"],YE:["h","hB","hb","H"],YT:["H","hB"],ZA:["H","h","hb","hB"],ZM:["h","hb","H","hB"],ZW:["H","h"],"af-ZA":["H","h","hB","hb"],"ar-001":["h","hB","hb","H"],"ca-ES":["H","h","hB"],"en-001":["h","hb","H","hB"],"en-HK":["h","hb","H","hB"],"en-IL":["H","h","hb","hB"],"en-MY":["h","hb","H","hB"],"es-BR":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"gu-IN":["hB","hb","h","H"],"hi-IN":["hB","h","H"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],"ta-IN":["hB","h","hb","H"],"te-IN":["hB","h","H"],"zu-ZA":["H","hB","hb","h"]};function wl(e){var t=e.hourCycle;if(void 0===t&&e.hourCycles&&e.hourCycles.length&&(t=e.hourCycles[0]),t)switch(t){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}var o,l=e.language;return"root"!==l&&(o=e.maximize().region),(_l[o||""]||_l[l||""]||_l["".concat(l,"-001")]||_l["001"])[0]}var Bl=new RegExp("^".concat(rl.source,"*")),Cl=new RegExp("".concat(rl.source,"*$"));function El(e,t){return{start:e,end:t}}var Nl=!!String.prototype.startsWith&&"_a".startsWith("a",1),Tl=!!String.fromCodePoint,Ml=!!Object.fromEntries,Vl=!!String.prototype.codePointAt,Sl=!!String.prototype.trimStart,zl=!!String.prototype.trimEnd,Pl=!!Number.isSafeInteger?Number.isSafeInteger:function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},ql=!0;try{ql="a"===(null===(kl=Zl("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))||void 0===kl?void 0:kl[0])}catch(Qv){ql=!1}var Dl,Il=Nl?function(e,t,o){return e.startsWith(t,o)}:function(e,t,o){return e.slice(o,o+t.length)===t},$l=Tl?String.fromCodePoint:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var o,l="",n=e.length,a=0;n>a;){if((o=e[a++])>1114111)throw RangeError(o+" is not a valid code point");l+=o<65536?String.fromCharCode(o):String.fromCharCode(55296+((o-=65536)>>10),o%1024+56320)}return l},Ol=Ml?Object.fromEntries:function(e){for(var t={},o=0,l=e;o<l.length;o++){var n=l[o],a=n[0],i=n[1];t[a]=i}return t},Hl=Vl?function(e,t){return e.codePointAt(t)}:function(e,t){var o=e.length;if(!(t<0||t>=o)){var l,n=e.charCodeAt(t);return n<55296||n>56319||t+1===o||(l=e.charCodeAt(t+1))<56320||l>57343?n:l-56320+(n-55296<<10)+65536}},Al=Sl?function(e){return e.trimStart()}:function(e){return e.replace(Bl,"")},Ll=zl?function(e){return e.trimEnd()}:function(e){return e.replace(Cl,"")};function Zl(e,t){return new RegExp(e,t)}if(ql){var Rl=Zl("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");Dl=function(e,t){var o;return Rl.lastIndex=t,null!==(o=Rl.exec(e)[1])&&void 0!==o?o:""}}else Dl=function(e,t){for(var o=[];;){var l=Hl(e,t);if(void 0===l||Kl(l)||Wl(l))break;o.push(l),t+=l>=65536?2:1}return $l.apply(void 0,o)};var Fl,Ul,Gl=function(){function e(e,t){void 0===t&&(t={}),this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.locale=t.locale,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}return e.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(e,t,o){for(var l=[];!this.isEOF();){var n=this.char();if(123===n){if((a=this.parseArgument(e,o)).err)return a;l.push(a.val)}else{if(125===n&&e>0)break;if(35!==n||"plural"!==t&&"selectordinal"!==t){if(60===n&&!this.ignoreTag&&47===this.peek()){if(o)break;return this.error(Ao.UNMATCHED_CLOSING_TAG,El(this.clonePosition(),this.clonePosition()))}if(60===n&&!this.ignoreTag&&jl(this.peek()||0)){if((a=this.parseTag(e,t)).err)return a;l.push(a.val)}else{var a;if((a=this.parseLiteral(e,t)).err)return a;l.push(a.val)}}else{var i=this.clonePosition();this.bump(),l.push({type:Zo.pound,location:El(i,this.clonePosition())})}}}return{val:l,err:null}},e.prototype.parseTag=function(e,t){var o=this.clonePosition();this.bump();var l=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:Zo.literal,value:"<".concat(l,"/>"),location:El(o,this.clonePosition())},err:null};if(this.bumpIf(">")){var n=this.parseMessage(e+1,t,!0);if(n.err)return n;var a=n.val,i=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!jl(this.char()))return this.error(Ao.INVALID_TAG,El(i,this.clonePosition()));var r=this.clonePosition();return l!==this.parseTagName()?this.error(Ao.UNMATCHED_CLOSING_TAG,El(r,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:Zo.tag,value:l,children:a,location:El(o,this.clonePosition())},err:null}:this.error(Ao.INVALID_TAG,El(i,this.clonePosition())))}return this.error(Ao.UNCLOSED_TAG,El(o,this.clonePosition()))}return this.error(Ao.INVALID_TAG,El(o,this.clonePosition()))},e.prototype.parseTagName=function(){var e=this.offset();for(this.bump();!this.isEOF()&&Ql(this.char());)this.bump();return this.message.slice(e,this.offset())},e.prototype.parseLiteral=function(e,t){for(var o=this.clonePosition(),l="";;){var n=this.tryParseQuote(t);if(n)l+=n;else{var a=this.tryParseUnquoted(e,t);if(a)l+=a;else{var i=this.tryParseLeftAngleBracket();if(!i)break;l+=i}}}var r=El(o,this.clonePosition());return{val:{type:Zo.literal,value:l,location:r},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(jl(e=this.peek()||0)||47===e)?null:(this.bump(),"<");var e},e.prototype.tryParseQuote=function(e){if(this.isEOF()||39!==this.char())return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if("plural"===e||"selectordinal"===e)break;return null;default:return null}this.bump();var t=[this.char()];for(this.bump();!this.isEOF();){var o=this.char();if(39===o){if(39!==this.peek()){this.bump();break}t.push(39),this.bump()}else t.push(o);this.bump()}return $l.apply(void 0,t)},e.prototype.tryParseUnquoted=function(e,t){if(this.isEOF())return null;var o=this.char();return 60===o||123===o||35===o&&("plural"===t||"selectordinal"===t)||125===o&&e>0?null:(this.bump(),$l(o))},e.prototype.parseArgument=function(e,t){var o=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(Ao.EXPECT_ARGUMENT_CLOSING_BRACE,El(o,this.clonePosition()));if(125===this.char())return this.bump(),this.error(Ao.EMPTY_ARGUMENT,El(o,this.clonePosition()));var l=this.parseIdentifierIfPossible().value;if(!l)return this.error(Ao.MALFORMED_ARGUMENT,El(o,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(Ao.EXPECT_ARGUMENT_CLOSING_BRACE,El(o,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:Zo.argument,value:l,location:El(o,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(Ao.EXPECT_ARGUMENT_CLOSING_BRACE,El(o,this.clonePosition())):this.parseArgumentOptions(e,t,l,o);default:return this.error(Ao.MALFORMED_ARGUMENT,El(o,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),o=Dl(this.message,t),l=t+o.length;return this.bumpTo(l),{value:o,location:El(e,this.clonePosition())}},e.prototype.parseArgumentOptions=function(e,t,o,l){var n,a=this.clonePosition(),i=this.parseIdentifierIfPossible().value,r=this.clonePosition();switch(i){case"":return this.error(Ao.EXPECT_ARGUMENT_TYPE,El(a,r));case"number":case"date":case"time":this.bumpSpace();var c=null;if(this.bumpIf(",")){this.bumpSpace();var s=this.clonePosition();if((g=this.parseSimpleArgStyleIfPossible()).err)return g;if(0===(m=Ll(g.val)).length)return this.error(Ao.EXPECT_ARGUMENT_STYLE,El(this.clonePosition(),this.clonePosition()));c={style:m,styleLocation:El(s,this.clonePosition())}}if((y=this.tryParseArgumentClose(l)).err)return y;var d=El(l,this.clonePosition());if(c&&Il(null==c?void 0:c.style,"::",0)){var u=Al(c.style.slice(2));if("number"===i)return(g=this.parseNumberSkeletonFromString(u,c.styleLocation)).err?g:{val:{type:Zo.number,value:o,location:d,style:g.val},err:null};if(0===u.length)return this.error(Ao.EXPECT_DATE_TIME_SKELETON,d);var p=u;this.locale&&(p=function(e,t){for(var o="",l=0;l<e.length;l++){var n=e.charAt(l);if("j"===n){for(var a=0;l+1<e.length&&e.charAt(l+1)===n;)a++,l++;var i=1+(1&a),r=a<2?1:3+(a>>1),c=wl(t);for("H"!=c&&"k"!=c||(r=0);r-- >0;)o+="a";for(;i-- >0;)o=c+o}else o+="J"===n?"H":n}return o}(u,this.locale));var m={type:Fo.dateTime,pattern:p,location:c.styleLocation,parsedOptions:this.shouldParseSkeletons?sl(p):{}};return{val:{type:"date"===i?Zo.date:Zo.time,value:o,location:d,style:m},err:null}}return{val:{type:"number"===i?Zo.number:"date"===i?Zo.date:Zo.time,value:o,location:d,style:null!==(n=null==c?void 0:c.style)&&void 0!==n?n:null},err:null};case"plural":case"selectordinal":case"select":var f=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(Ao.EXPECT_SELECT_ARGUMENT_OPTIONS,El(f,Eo({},f)));this.bumpSpace();var h=this.parseIdentifierIfPossible(),v=0;if("select"!==i&&"offset"===h.value){if(!this.bumpIf(":"))return this.error(Ao.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,El(this.clonePosition(),this.clonePosition()));var g;if(this.bumpSpace(),(g=this.tryParseDecimalInteger(Ao.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,Ao.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return g;this.bumpSpace(),h=this.parseIdentifierIfPossible(),v=g.val}var y,b=this.tryParsePluralOrSelectOptions(e,i,t,h);if(b.err)return b;if((y=this.tryParseArgumentClose(l)).err)return y;var x=El(l,this.clonePosition());return"select"===i?{val:{type:Zo.select,value:o,options:Ol(b.val),location:x},err:null}:{val:{type:Zo.plural,value:o,options:Ol(b.val),offset:v,pluralType:"plural"===i?"cardinal":"ordinal",location:x},err:null};default:return this.error(Ao.INVALID_ARGUMENT_TYPE,El(a,r))}},e.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(Ao.EXPECT_ARGUMENT_CLOSING_BRACE,El(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var e=0,t=this.clonePosition();!this.isEOF();){switch(this.char()){case 39:this.bump();var o=this.clonePosition();if(!this.bumpUntil("'"))return this.error(Ao.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,El(o,this.clonePosition()));this.bump();break;case 123:e+=1,this.bump();break;case 125:if(!(e>0))return{val:this.message.slice(t.offset,this.offset()),err:null};e-=1;break;default:this.bump()}}return{val:this.message.slice(t.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(e,t){var o=[];try{o=function(e){if(0===e.length)throw new Error("Number skeleton cannot be empty");for(var t=[],o=0,l=e.split(dl).filter(function(e){return e.length>0});o<l.length;o++){var n=l[o].split("/");if(0===n.length)throw new Error("Invalid number skeleton");for(var a=n[0],i=n.slice(1),r=0,c=i;r<c.length;r++)if(0===c[r].length)throw new Error("Invalid number skeleton");t.push({stem:a,options:i})}return t}(e)}catch(l){return this.error(Ao.INVALID_NUMBER_SKELETON,t)}return{val:{type:Fo.number,tokens:o,location:t,parsedOptions:this.shouldParseSkeletons?xl(o):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(e,t,o,l){for(var n,a=!1,i=[],r=new Set,c=l.value,s=l.location;;){if(0===c.length){var d=this.clonePosition();if("select"===t||!this.bumpIf("="))break;var u=this.tryParseDecimalInteger(Ao.EXPECT_PLURAL_ARGUMENT_SELECTOR,Ao.INVALID_PLURAL_ARGUMENT_SELECTOR);if(u.err)return u;s=El(d,this.clonePosition()),c=this.message.slice(d.offset,this.offset())}if(r.has(c))return this.error("select"===t?Ao.DUPLICATE_SELECT_ARGUMENT_SELECTOR:Ao.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,s);"other"===c&&(a=!0),this.bumpSpace();var p=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?Ao.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:Ao.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,El(this.clonePosition(),this.clonePosition()));var m=this.parseMessage(e+1,t,o);if(m.err)return m;var f=this.tryParseArgumentClose(p);if(f.err)return f;i.push([c,{value:m.val,location:El(p,this.clonePosition())}]),r.add(c),this.bumpSpace(),c=(n=this.parseIdentifierIfPossible()).value,s=n.location}return 0===i.length?this.error("select"===t?Ao.EXPECT_SELECT_ARGUMENT_SELECTOR:Ao.EXPECT_PLURAL_ARGUMENT_SELECTOR,El(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!a?this.error(Ao.MISSING_OTHER_CLAUSE,El(this.clonePosition(),this.clonePosition())):{val:i,err:null}},e.prototype.tryParseDecimalInteger=function(e,t){var o=1,l=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(o=-1);for(var n=!1,a=0;!this.isEOF();){var i=this.char();if(!(i>=48&&i<=57))break;n=!0,a=10*a+(i-48),this.bump()}var r=El(l,this.clonePosition());return n?Pl(a*=o)?{val:a,err:null}:this.error(t,r):this.error(e,r)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},e.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=Hl(this.message,e);if(void 0===t)throw Error("Offset ".concat(e," is at invalid UTF-16 code unit boundary"));return t},e.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},e.prototype.bump=function(){if(!this.isEOF()){var e=this.char();10===e?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=e<65536?1:2)}},e.prototype.bumpIf=function(e){if(Il(this.message,e,this.offset())){for(var t=0;t<e.length;t++)this.bump();return!0}return!1},e.prototype.bumpUntil=function(e){var t=this.offset(),o=this.message.indexOf(e,t);return o>=0?(this.bumpTo(o),!0):(this.bumpTo(this.message.length),!1)},e.prototype.bumpTo=function(e){if(this.offset()>e)throw Error("targetOffset ".concat(e," must be greater than or equal to the current offset ").concat(this.offset()));for(e=Math.min(e,this.message.length);;){var t=this.offset();if(t===e)break;if(t>e)throw Error("targetOffset ".concat(e," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},e.prototype.bumpSpace=function(){for(;!this.isEOF()&&Kl(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var e=this.char(),t=this.offset(),o=this.message.charCodeAt(t+(e>=65536?2:1));return null!=o?o:null},e}();function jl(e){return e>=97&&e<=122||e>=65&&e<=90}function Ql(e){return 45===e||46===e||e>=48&&e<=57||95===e||e>=97&&e<=122||e>=65&&e<=90||183==e||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039}function Kl(e){return e>=9&&e<=13||32===e||133===e||e>=8206&&e<=8207||8232===e||8233===e}function Wl(e){return e>=33&&e<=35||36===e||e>=37&&e<=39||40===e||41===e||42===e||43===e||44===e||45===e||e>=46&&e<=47||e>=58&&e<=59||e>=60&&e<=62||e>=63&&e<=64||91===e||92===e||93===e||94===e||96===e||123===e||124===e||125===e||126===e||161===e||e>=162&&e<=165||166===e||167===e||169===e||171===e||172===e||174===e||176===e||177===e||182===e||187===e||191===e||215===e||247===e||e>=8208&&e<=8213||e>=8214&&e<=8215||8216===e||8217===e||8218===e||e>=8219&&e<=8220||8221===e||8222===e||8223===e||e>=8224&&e<=8231||e>=8240&&e<=8248||8249===e||8250===e||e>=8251&&e<=8254||e>=8257&&e<=8259||8260===e||8261===e||8262===e||e>=8263&&e<=8273||8274===e||8275===e||e>=8277&&e<=8286||e>=8592&&e<=8596||e>=8597&&e<=8601||e>=8602&&e<=8603||e>=8604&&e<=8607||8608===e||e>=8609&&e<=8610||8611===e||e>=8612&&e<=8613||8614===e||e>=8615&&e<=8621||8622===e||e>=8623&&e<=8653||e>=8654&&e<=8655||e>=8656&&e<=8657||8658===e||8659===e||8660===e||e>=8661&&e<=8691||e>=8692&&e<=8959||e>=8960&&e<=8967||8968===e||8969===e||8970===e||8971===e||e>=8972&&e<=8991||e>=8992&&e<=8993||e>=8994&&e<=9e3||9001===e||9002===e||e>=9003&&e<=9083||9084===e||e>=9085&&e<=9114||e>=9115&&e<=9139||e>=9140&&e<=9179||e>=9180&&e<=9185||e>=9186&&e<=9254||e>=9255&&e<=9279||e>=9280&&e<=9290||e>=9291&&e<=9311||e>=9472&&e<=9654||9655===e||e>=9656&&e<=9664||9665===e||e>=9666&&e<=9719||e>=9720&&e<=9727||e>=9728&&e<=9838||9839===e||e>=9840&&e<=10087||10088===e||10089===e||10090===e||10091===e||10092===e||10093===e||10094===e||10095===e||10096===e||10097===e||10098===e||10099===e||10100===e||10101===e||e>=10132&&e<=10175||e>=10176&&e<=10180||10181===e||10182===e||e>=10183&&e<=10213||10214===e||10215===e||10216===e||10217===e||10218===e||10219===e||10220===e||10221===e||10222===e||10223===e||e>=10224&&e<=10239||e>=10240&&e<=10495||e>=10496&&e<=10626||10627===e||10628===e||10629===e||10630===e||10631===e||10632===e||10633===e||10634===e||10635===e||10636===e||10637===e||10638===e||10639===e||10640===e||10641===e||10642===e||10643===e||10644===e||10645===e||10646===e||10647===e||10648===e||e>=10649&&e<=10711||10712===e||10713===e||10714===e||10715===e||e>=10716&&e<=10747||10748===e||10749===e||e>=10750&&e<=11007||e>=11008&&e<=11055||e>=11056&&e<=11076||e>=11077&&e<=11078||e>=11079&&e<=11084||e>=11085&&e<=11123||e>=11124&&e<=11125||e>=11126&&e<=11157||11158===e||e>=11159&&e<=11263||e>=11776&&e<=11777||11778===e||11779===e||11780===e||11781===e||e>=11782&&e<=11784||11785===e||11786===e||11787===e||11788===e||11789===e||e>=11790&&e<=11798||11799===e||e>=11800&&e<=11801||11802===e||11803===e||11804===e||11805===e||e>=11806&&e<=11807||11808===e||11809===e||11810===e||11811===e||11812===e||11813===e||11814===e||11815===e||11816===e||11817===e||e>=11818&&e<=11822||11823===e||e>=11824&&e<=11833||e>=11834&&e<=11835||e>=11836&&e<=11839||11840===e||11841===e||11842===e||e>=11843&&e<=11855||e>=11856&&e<=11857||11858===e||e>=11859&&e<=11903||e>=12289&&e<=12291||12296===e||12297===e||12298===e||12299===e||12300===e||12301===e||12302===e||12303===e||12304===e||12305===e||e>=12306&&e<=12307||12308===e||12309===e||12310===e||12311===e||12312===e||12313===e||12314===e||12315===e||12316===e||12317===e||e>=12318&&e<=12319||12320===e||12336===e||64830===e||64831===e||e>=65093&&e<=65094}function Yl(e){e.forEach(function(e){if(delete e.location,tl(e)||ol(e))for(var t in e.options)delete e.options[t].location,Yl(e.options[t].value);else Xo(e)&&al(e.style)||(Jo(e)||el(e))&&il(e.style)?delete e.style.location:nl(e)&&Yl(e.children)})}function Xl(e,t){void 0===t&&(t={}),t=Eo({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var o=new Gl(e,t).parse();if(o.err){var l=SyntaxError(Ao[o.err.kind]);throw l.location=o.err.location,l.originalMessage=o.err.message,l}return(null==t?void 0:t.captureLocation)||Yl(o.val),o.val}(Ul=Fl||(Fl={})).MISSING_VALUE="MISSING_VALUE",Ul.INVALID_VALUE="INVALID_VALUE",Ul.MISSING_INTL_API="MISSING_INTL_API";var Jl,en,tn=function(e){function t(t,o,l){var n=e.call(this,t)||this;return n.code=o,n.originalMessage=l,n}return wo(t,e),t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),on=function(e){function t(t,o,l,n){return e.call(this,'Invalid values for "'.concat(t,'": "').concat(o,'". Options are "').concat(Object.keys(l).join('", "'),'"'),Fl.INVALID_VALUE,n)||this}return wo(t,e),t}(tn),ln=function(e){function t(t,o,l){return e.call(this,'Value for "'.concat(t,'" must be of type ').concat(o),Fl.INVALID_VALUE,l)||this}return wo(t,e),t}(tn),nn=function(e){function t(t,o){return e.call(this,'The intl string context variable "'.concat(t,'" was not provided to the string "').concat(o,'"'),Fl.MISSING_VALUE,o)||this}return wo(t,e),t}(tn);function an(e){return"function"==typeof e}function rn(e,t,o,l,n,a,i){if(1===e.length&&Wo(e[0]))return[{type:Jl.literal,value:e[0].value}];for(var r=[],c=0,s=e;c<s.length;c++){var d=s[c];if(Wo(d))r.push({type:Jl.literal,value:d.value});else if(ll(d))"number"==typeof a&&r.push({type:Jl.literal,value:o.getNumberFormat(t).format(a)});else{var u=d.value;if(!n||!(u in n))throw new nn(u,i);var p=n[u];if(Yo(d))p&&"string"!=typeof p&&"number"!=typeof p||(p="string"==typeof p||"number"==typeof p?String(p):""),r.push({type:"string"==typeof p?Jl.literal:Jl.object,value:p});else if(Jo(d)){var m="string"==typeof d.style?l.date[d.style]:il(d.style)?d.style.parsedOptions:void 0;r.push({type:Jl.literal,value:o.getDateTimeFormat(t,m).format(p)})}else if(el(d)){m="string"==typeof d.style?l.time[d.style]:il(d.style)?d.style.parsedOptions:l.time.medium;r.push({type:Jl.literal,value:o.getDateTimeFormat(t,m).format(p)})}else if(Xo(d)){(m="string"==typeof d.style?l.number[d.style]:al(d.style)?d.style.parsedOptions:void 0)&&m.scale&&(p*=m.scale||1),r.push({type:Jl.literal,value:o.getNumberFormat(t,m).format(p)})}else{if(nl(d)){var f=d.children,h=d.value,v=n[h];if(!an(v))throw new ln(h,"function",i);var g=v(rn(f,t,o,l,n,a).map(function(e){return e.value}));Array.isArray(g)||(g=[g]),r.push.apply(r,g.map(function(e){return{type:"string"==typeof e?Jl.literal:Jl.object,value:e}}))}if(tl(d)){if(!(y=d.options[p]||d.options.other))throw new on(d.value,p,Object.keys(d.options),i);r.push.apply(r,rn(y.value,t,o,l,n))}else if(ol(d)){var y;if(!(y=d.options["=".concat(p)])){if(!Intl.PluralRules)throw new tn('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',Fl.MISSING_INTL_API,i);var b=o.getPluralRules(t,{type:d.pluralType}).select(p-(d.offset||0));y=d.options[b]||d.options.other}if(!y)throw new on(d.value,p,Object.keys(d.options),i);r.push.apply(r,rn(y.value,t,o,l,n,p-(d.offset||0)))}else;}}}return function(e){return e.length<2?e:e.reduce(function(e,t){var o=e[e.length-1];return o&&o.type===Jl.literal&&t.type===Jl.literal?o.value+=t.value:e.push(t),e},[])}(r)}function cn(e,t){return t?Object.keys(e).reduce(function(o,l){var n,a;return o[l]=(n=e[l],(a=t[l])?Eo(Eo(Eo({},n||{}),a||{}),Object.keys(n).reduce(function(e,t){return e[t]=Eo(Eo({},n[t]),a[t]||{}),e},{})):n),o},Eo({},e)):e}function sn(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,o){e[t]=o}}}}}(en=Jl||(Jl={}))[en.literal=0]="literal",en[en.object=1]="object";var dn=function(){function e(t,o,l,n){void 0===o&&(o=e.defaultLocale);var a,i=this;if(this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){var t=i.formatToParts(e);if(1===t.length)return t[0].value;var o=t.reduce(function(e,t){return e.length&&t.type===Jl.literal&&"string"==typeof e[e.length-1]?e[e.length-1]+=t.value:e.push(t.value),e},[]);return o.length<=1?o[0]||"":o},this.formatToParts=function(e){return rn(i.ast,i.locales,i.formatters,i.formats,e,void 0,i.message)},this.resolvedOptions=function(){var e;return{locale:(null===(e=i.resolvedLocale)||void 0===e?void 0:e.toString())||Intl.NumberFormat.supportedLocalesOf(i.locales)[0]}},this.getAst=function(){return i.ast},this.locales=o,this.resolvedLocale=e.resolveLocale(o),"string"==typeof t){if(this.message=t,!e.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");var r=n||{};r.formatters;var c=function(e,t){var o={};for(var l in e)Object.prototype.hasOwnProperty.call(e,l)&&t.indexOf(l)<0&&(o[l]=e[l]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(l=Object.getOwnPropertySymbols(e);n<l.length;n++)t.indexOf(l[n])<0&&Object.prototype.propertyIsEnumerable.call(e,l[n])&&(o[l[n]]=e[l[n]])}return o}(r,["formatters"]);this.ast=e.__parse(t,Eo(Eo({},c),{locale:this.resolvedLocale}))}else this.ast=t;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=cn(e.formats,l),this.formatters=n&&n.formatters||(void 0===(a=this.formatterCache)&&(a={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:Do(function(){for(var e,t=[],o=0;o<arguments.length;o++)t[o]=arguments[o];return new((e=Intl.NumberFormat).bind.apply(e,No([void 0],t,!1)))},{cache:sn(a.number),strategy:Ko.variadic}),getDateTimeFormat:Do(function(){for(var e,t=[],o=0;o<arguments.length;o++)t[o]=arguments[o];return new((e=Intl.DateTimeFormat).bind.apply(e,No([void 0],t,!1)))},{cache:sn(a.dateTime),strategy:Ko.variadic}),getPluralRules:Do(function(){for(var e,t=[],o=0;o<arguments.length;o++)t[o]=arguments[o];return new((e=Intl.PluralRules).bind.apply(e,No([void 0],t,!1)))},{cache:sn(a.pluralRules),strategy:Ko.variadic})})}return Object.defineProperty(e,"defaultLocale",{get:function(){return e.memoizedDefaultLocale||(e.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),e.memoizedDefaultLocale},enumerable:!1,configurable:!0}),e.memoizedDefaultLocale=null,e.resolveLocale=function(e){if(void 0!==Intl.Locale){var t=Intl.NumberFormat.supportedLocalesOf(e);return t.length>0?new Intl.Locale(t[0]):new Intl.Locale("string"==typeof e?e:e[0])}},e.__parse=Xl,e.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},e}();function un(e,t,o){return void 0===o&&(o={}),t.reduce(function(t,l){return l in e?t[l]=e[l]:l in o&&(t[l]=o[l]),t},{})}var pn={formats:{},messages:{},timeZone:void 0,defaultLocale:"en",defaultFormats:{},fallbackOnEmptyString:!0,onError:function(e){process.env.NODE_ENV},onWarn:function(e){process.env.NODE_ENV}};function mn(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,o){e[t]=o}}}}}function fn(e,t,o,l){var n,a=e&&e[t];if(a&&(n=a[o]),n)return n;l(new Mo("No ".concat(t," format named: ").concat(o)))}var hn=["formatMatcher","timeZone","hour12","weekday","era","year","month","day","hour","minute","second","timeZoneName","hourCycle","dateStyle","timeStyle","calendar","numberingSystem","fractionalSecondDigits"];function vn(e,t,o,l){var n=e.locale,a=e.formats,i=e.onError,r=e.timeZone;void 0===l&&(l={});var c=l.format,s=Eo(Eo({},r&&{timeZone:r}),c&&fn(a,t,c,i)),d=un(l,hn,s);return"time"!==t||d.hour||d.minute||d.second||d.timeStyle||d.dateStyle||(d=Eo(Eo({},d),{hour:"numeric",minute:"numeric"})),o(n,d)}function gn(e,t){for(var o=[],l=2;l<arguments.length;l++)o[l-2]=arguments[l];var n=o[0],a=o[1],i=void 0===a?{}:a,r="string"==typeof n?new Date(n||0):n;try{return vn(e,"date",t,i).format(r)}catch(c){e.onError(new zo("Error formatting date.",e.locale,c))}return String(r)}function yn(e,t){for(var o=[],l=2;l<arguments.length;l++)o[l-2]=arguments[l];var n=o[0],a=o[1],i=void 0===a?{}:a,r="string"==typeof n?new Date(n||0):n;try{return vn(e,"time",t,i).format(r)}catch(c){e.onError(new zo("Error formatting time.",e.locale,c))}return String(r)}function bn(e,t){for(var o=[],l=2;l<arguments.length;l++)o[l-2]=arguments[l];var n=o[0],a=o[1],i=o[2],r=void 0===i?{}:i,c="string"==typeof n?new Date(n||0):n,s="string"==typeof a?new Date(a||0):a;try{return vn(e,"dateTimeRange",t,r).formatRange(c,s)}catch(d){e.onError(new zo("Error formatting date time range.",e.locale,d))}return String(c)}function xn(e,t){for(var o=[],l=2;l<arguments.length;l++)o[l-2]=arguments[l];var n=o[0],a=o[1],i=void 0===a?{}:a,r="string"==typeof n?new Date(n||0):n;try{return vn(e,"date",t,i).formatToParts(r)}catch(c){e.onError(new zo("Error formatting date.",e.locale,c))}return[]}function kn(e,t){for(var o=[],l=2;l<arguments.length;l++)o[l-2]=arguments[l];var n=o[0],a=o[1],i=void 0===a?{}:a,r="string"==typeof n?new Date(n||0):n;try{return vn(e,"time",t,i).formatToParts(r)}catch(c){e.onError(new zo("Error formatting time.",e.locale,c))}return[]}var _n=["style","type","fallback","languageDisplay"];function wn(e,t,o,l){var n=e.locale,a=e.onError;Intl.DisplayNames||a(new tn('Intl.DisplayNames is not available in this environment.\nTry polyfilling it using "@formatjs/intl-displaynames"\n',Fl.MISSING_INTL_API));var i=un(l,_n);try{return t(n,i).of(o)}catch(r){a(new zo("Error formatting display name.",n,r))}}var Bn=["type","style"],Cn=Date.now();function En(e,t,o,l){void 0===l&&(l={});var n=Nn(e,t,o,l).reduce(function(e,t){var o=t.value;return"string"!=typeof o?e.push(o):"string"==typeof e[e.length-1]?e[e.length-1]+=o:e.push(o),e},[]);return 1===n.length?n[0]:0===n.length?"":n}function Nn(e,t,o,l){var n=e.locale,a=e.onError;void 0===l&&(l={}),Intl.ListFormat||a(new tn('Intl.ListFormat is not available in this environment.\nTry polyfilling it using "@formatjs/intl-listformat"\n',Fl.MISSING_INTL_API));var i=un(l,Bn);try{var r={},c=Array.from(o).map(function(e,t){if("object"==typeof e&&null!==e){var o=function(e){return"".concat(Cn,"_").concat(e,"_").concat(Cn)}(t);return r[o]=e,o}return String(e)});return t(n,i).formatToParts(c).map(function(e){return"literal"===e.type?e:Eo(Eo({},e),{value:r[e.value]||e.value})})}catch(s){a(new zo("Error formatting list.",n,s))}return o}function Tn(e,t){return Object.keys(e).reduce(function(o,l){return o[l]=Eo({timeZone:t},e[l]),o},{})}function Mn(e,t){return Object.keys(Eo(Eo({},e),t)).reduce(function(o,l){return o[l]=Eo(Eo({},e[l]||{}),t[l]||{}),o},{})}function Vn(e,t){if(!t)return e;var o=dn.formats;return Eo(Eo(Eo({},o),e),{date:Mn(Tn(o.date,t),Tn(e.date||{},t)),time:Mn(Tn(o.time,t),Tn(e.time||{},t))})}var Sn=function(e,t,o,l,n){var a=e.locale,i=e.formats,r=e.messages,c=e.defaultLocale,s=e.defaultFormats,d=e.fallbackOnEmptyString,u=e.onError,p=e.timeZone,m=e.defaultRichTextElements;void 0===o&&(o={id:""});var f=o.id,h=o.defaultMessage;!function(e,t,o){if(void 0===o&&(o=Error),!e)throw new o(t)}(!!f,"[@formatjs/intl] An `id` must be provided to format a message. You can either:\n1. Configure your build toolchain with [babel-plugin-formatjs](https://formatjs.github.io/docs/tooling/babel-plugin)\nor [@formatjs/ts-transformer](https://formatjs.github.io/docs/tooling/ts-transformer) OR\n2. Configure your `eslint` config to include [eslint-plugin-formatjs](https://formatjs.github.io/docs/tooling/linter#enforce-id)\nto autofix this issue");var v=String(f),g=r&&Object.prototype.hasOwnProperty.call(r,v)&&r[v];if(Array.isArray(g)&&1===g.length&&g[0].type===Zo.literal)return g[0].value;if(!l&&g&&"string"==typeof g&&!m)return g.replace(/'\{(.*?)\}'/gi,"{$1}");if(l=Eo(Eo({},m),l||{}),i=Vn(i,p),s=Vn(s,p),!g){if(!1===d&&""===g)return g;if((!h||a&&a.toLowerCase()!==c.toLowerCase())&&u(new qo(o,a)),h)try{return t.getMessageFormat(h,c,s,n).format(l)}catch(y){return u(new Po('Error formatting default message for: "'.concat(v,'", rendering default message verbatim'),a,o,y)),"string"==typeof h?h:v}return v}try{return t.getMessageFormat(g,a,i,Eo({formatters:t},n||{})).format(l)}catch(y){u(new Po('Error formatting message: "'.concat(v,'", using ').concat(h?"default message":"id"," as fallback."),a,o,y))}if(h)try{return t.getMessageFormat(h,c,s,n).format(l)}catch(y){u(new Po('Error formatting the default message for: "'.concat(v,'", rendering message verbatim'),a,o,y))}return"string"==typeof g?g:"string"==typeof h?h:v},zn=["style","currency","unit","unitDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","currencyDisplay","currencySign","notation","signDisplay","unit","unitDisplay","numberingSystem","trailingZeroDisplay","roundingPriority","roundingIncrement","roundingMode"];function Pn(e,t,o){var l=e.locale,n=e.formats,a=e.onError;void 0===o&&(o={});var i=o.format,r=i&&fn(n,"number",i,a)||{};return t(l,un(o,zn,r))}function qn(e,t,o,l){void 0===l&&(l={});try{return Pn(e,t,l).format(o)}catch(n){e.onError(new zo("Error formatting number.",e.locale,n))}return String(o)}function Dn(e,t,o,l){void 0===l&&(l={});try{return Pn(e,t,l).formatToParts(o)}catch(n){e.onError(new zo("Error formatting number.",e.locale,n))}return[]}var In=["type"];function $n(e,t,o,l){var n=e.locale,a=e.onError;void 0===l&&(l={}),Intl.PluralRules||a(new tn('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',Fl.MISSING_INTL_API));var i=un(l,In);try{return t(n,i).select(o)}catch(r){a(new zo("Error formatting plural.",n,r))}return"other"}var On=["numeric","style"];function Hn(e,t,o,l,n){void 0===n&&(n={}),l||(l="second"),Intl.RelativeTimeFormat||e.onError(new tn('Intl.RelativeTimeFormat is not available in this environment.\nTry polyfilling it using "@formatjs/intl-relativetimeformat"\n',Fl.MISSING_INTL_API));try{return function(e,t,o){var l=e.locale,n=e.formats,a=e.onError;void 0===o&&(o={});var i=o.format,r=!!i&&fn(n,"relative",i,a)||{};return t(l,un(o,On,r))}(e,t,n).format(o,l)}catch(a){e.onError(new zo("Error formatting relative time.",e.locale,a))}return String(o)}function An(e){var t;e.onWarn&&e.defaultRichTextElements&&"string"==typeof((t=e.messages||{})?t[Object.keys(t)[0]]:void 0)&&e.onWarn('[@formatjs/intl] "defaultRichTextElements" was specified but "message" was not pre-compiled. \nPlease consider using "@formatjs/cli" to pre-compile your messages for performance.\nFor more details see https://formatjs.github.io/docs/getting-started/message-distribution')}function Ln(e,t){var o=function(e){void 0===e&&(e={dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}});var t=Intl.RelativeTimeFormat,o=Intl.ListFormat,l=Intl.DisplayNames,n=Do(function(){for(var e,t=[],o=0;o<arguments.length;o++)t[o]=arguments[o];return new((e=Intl.DateTimeFormat).bind.apply(e,No([void 0],t,!1)))},{cache:mn(e.dateTime),strategy:Ko.variadic}),a=Do(function(){for(var e,t=[],o=0;o<arguments.length;o++)t[o]=arguments[o];return new((e=Intl.NumberFormat).bind.apply(e,No([void 0],t,!1)))},{cache:mn(e.number),strategy:Ko.variadic}),i=Do(function(){for(var e,t=[],o=0;o<arguments.length;o++)t[o]=arguments[o];return new((e=Intl.PluralRules).bind.apply(e,No([void 0],t,!1)))},{cache:mn(e.pluralRules),strategy:Ko.variadic});return{getDateTimeFormat:n,getNumberFormat:a,getMessageFormat:Do(function(e,t,o,l){return new dn(e,t,o,Eo({formatters:{getNumberFormat:a,getDateTimeFormat:n,getPluralRules:i}},l||{}))},{cache:mn(e.message),strategy:Ko.variadic}),getRelativeTimeFormat:Do(function(){for(var e=[],o=0;o<arguments.length;o++)e[o]=arguments[o];return new(t.bind.apply(t,No([void 0],e,!1)))},{cache:mn(e.relativeTime),strategy:Ko.variadic}),getPluralRules:i,getListFormat:Do(function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return new(o.bind.apply(o,No([void 0],e,!1)))},{cache:mn(e.list),strategy:Ko.variadic}),getDisplayNames:Do(function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return new(l.bind.apply(l,No([void 0],e,!1)))},{cache:mn(e.displayNames),strategy:Ko.variadic})}}(t),l=Eo(Eo({},pn),e),n=l.locale,a=l.defaultLocale,i=l.onError;return n?!Intl.NumberFormat.supportedLocalesOf(n).length&&i?i(new So('Missing locale data for locale: "'.concat(n,'" in Intl.NumberFormat. Using default locale: "').concat(a,'" as fallback. See https://formatjs.github.io/docs/react-intl#runtime-requirements for more details'))):!Intl.DateTimeFormat.supportedLocalesOf(n).length&&i&&i(new So('Missing locale data for locale: "'.concat(n,'" in Intl.DateTimeFormat. Using default locale: "').concat(a,'" as fallback. See https://formatjs.github.io/docs/react-intl#runtime-requirements for more details'))):(i&&i(new Vo('"locale" was not configured, using "'.concat(a,'" as fallback. See https://formatjs.github.io/docs/react-intl/api#intlshape for more details'))),l.locale=l.defaultLocale||"en"),An(l),Eo(Eo({},l),{formatters:o,formatNumber:qn.bind(null,l,o.getNumberFormat),formatNumberToParts:Dn.bind(null,l,o.getNumberFormat),formatRelativeTime:Hn.bind(null,l,o.getRelativeTimeFormat),formatDate:gn.bind(null,l,o.getDateTimeFormat),formatDateToParts:xn.bind(null,l,o.getDateTimeFormat),formatTime:yn.bind(null,l,o.getDateTimeFormat),formatDateTimeRange:bn.bind(null,l,o.getDateTimeFormat),formatTimeToParts:kn.bind(null,l,o.getDateTimeFormat),formatPlural:$n.bind(null,l,o.getPluralRules),formatMessage:Sn.bind(null,l,o),$t:Sn.bind(null,l,o),formatList:En.bind(null,l,o.getListFormat),formatListToParts:Nn.bind(null,l,o.getListFormat),formatDisplayName:wn.bind(null,l,o.getDisplayNames)})}const Zn=Symbol(),Rn={hour:"2-digit",minute:"2-digit",second:"2-digit"},Fn=e=>e.includes("US"),Un={dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}},Gn=()=>{const t=e.inject(Zn);if(!t)throw new Error("IntlProvider is not provided");return t},jn={"primary-light":{base:"bg-primary-50",baseDark:"bg-primary-100",text:"text-primary-800",border:"border-primary-800/70"},primary:{base:"bg-primary-100",baseDark:"bg-primary-200",text:"text-primary-800",border:"border-primary-800/70"},secondary:{base:"bg-secondary-100",baseDark:"bg-secondary-200",text:"text-secondary-800",border:"border-secondary-800/70"},dark:{base:"bg-gray-100",baseDark:"bg-gray-200",text:"text-gray-800",border:"border-gray-800/70"},red:{base:"bg-red-100",baseDark:"bg-red-200",text:"text-red-800",border:"border-red-800/70"},green:{base:"bg-green-100",baseDark:"bg-green-200",text:"text-green-800",border:"border-green-800/70"},blue:{base:"bg-blue-100",baseDark:"bg-blue-200",text:"text-blue-800",border:"border-blue-800/70"},teal:{base:"bg-teal-100",baseDark:"bg-teal-200",text:"text-teal-800",border:"border-teal-800/70"},"teal-light":{base:"bg-teal-50",baseDark:"bg-teal-200",text:"text-teal-800",border:"border-teal-800/70"},yellow:{base:"bg-yellow-100",baseDark:"bg-yellow-200",text:"text-yellow-800",border:"border-yellow-800/70"},indigo:{base:"bg-indigo-100",baseDark:"bg-indigo-200",text:"text-indigo-800",border:"border-indigo-800/70"},purple:{base:"bg-purple-100",baseDark:"bg-purple-200",text:"text-purple-800",border:"border-purple-800/70"},pink:{base:"bg-pink-100",baseDark:"bg-pink-200",text:"text-pink-800",border:"border-pink-800/70"},orange:{base:"bg-orange-100",baseDark:"bg-orange-200",text:"text-orange-800",border:"border-orange-800/70"},black:{base:"bg-black",baseDark:"bg-gray-900",text:"text-white",border:"bg-gray-900/70"}},Qn=e.defineComponent({__name:"Chip",props:{color:{default:"primary"},content:{},dark:{type:Boolean,default:!1},removable:{type:Boolean,default:!1},size:{default:"md"},variant:{default:"default"},textClass:{},tag:{default:"span"},hasChipBefore:{type:Boolean},hasChipAfter:{type:Boolean}},emits:["removed"],setup(t){const o=t,l=e.computed(()=>jn[o.color][o.dark?"baseDark":"base"]),n=e.computed(()=>jn[o.color].text),a=e.computed(()=>jn[o.color].border);return(o,i)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.tag),e.mergeProps(o.$attrs,{class:["inline-flex items-center gap-1 whitespace-nowrap rounded pl-2",{"pr-2":!t.removable,"h-4 px-2":"xs"===t.size,"h-4":"sm"===t.size,"h-5":"md"===t.size,"h-6":"lg"===t.size,"rounded-r-none":t.hasChipAfter,"rounded-l-none":t.hasChipBefore,[l.value]:!!l.value&&"outline"!==t.variant,"border bg-transparent":"outline"===t.variant,[a.value]:"outline"===t.variant&&!!a.value}]}),{default:e.withCtx(()=>[e.createElementVNode("span",{class:e.normalizeClass([[n.value,t.textClass,"xs"===t.size?"text-[11px]":"text-xs"],"flex-grow text-center"])},[e.renderSlot(o.$slots,"default",{},()=>[e.createTextVNode(e.toDisplayString(t.content),1)])],2),t.removable?(e.openBlock(),e.createElementBlock("button",{key:0,class:e.normalizeClass([{"h-5 w-4":"sm"===t.size,"h-5 w-5":"md"===t.size,"h-5 w-6":"lg"===t.size,[l.value]:!!l.value},"flex aspect-square h-full items-center justify-center rounded"]),type:"button",title:"Remove",onClick:i[0]||(i[0]=e=>o.$emit("removed"))},[e.createVNode(e.unref(w),{class:e.normalizeClass(n.value),icon:"close",size:"xs"},null,8,["class"])],2)):e.createCommentVNode("",!0)]),_:3},16,["class"]))}}),Kn=e.defineComponent({__name:"PaymentMethodDefaultChip",props:{isDefault:{type:Boolean}},setup(t){const o=Gn();return(l,n)=>t.isDefault?(e.openBlock(),e.createBlock(Qn,{key:0,class:"mt-1 self-start"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(o).$t({defaultMessage:"Default",description:"The textual label for the default payment method chip",id:"payment_methods.default_chip.label"})),1)]),_:1})):e.createCommentVNode("",!0)}}),Wn=e.defineComponent({__name:"PaymentMethodInactiveChip",props:{isInactive:{type:Boolean}},setup(t){const o=Gn();return(l,n)=>t.isInactive?(e.openBlock(),e.createBlock(Qn,{key:0,class:"mt-1 self-start"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(o).$t({defaultMessage:"Inactive",description:"The textual label for the inactive payment method chip",id:"payment_methods.inactive_chip.label"})),1)]),_:1})):e.createCommentVNode("",!0)}}),Yn={KLARNA:{name:"Klarna",logo:"data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cg%20clip-path='url(%23a)'%3e%3cpath%20fill='%23fff'%20d='M0%200h40v40H0z'/%3e%3cpath%20fill='%23fff'%20d='M1%207.65h38v24.7H1z'/%3e%3cmask%20id='b'%20width='36'%20height='20'%20x='2'%20y='10'%20maskUnits='userSpaceOnUse'%20style='mask-type:luminance'%3e%3cpath%20fill='%23fff'%20d='M2.9%2010.5h34.2v19H2.9z'/%3e%3c/mask%3e%3cg%20mask='url(%23b)'%3e%3cpath%20fill='%23ffb3c7'%20d='M33.816%2010.5H6.184A3.284%203.284%200%200%200%202.9%2013.784v12.432A3.284%203.284%200%200%200%206.184%2029.5h27.632a3.284%203.284%200%200%200%203.284-3.284V13.784a3.284%203.284%200%200%200-3.284-3.284'/%3e%3cpath%20fill='%230a0b09'%20d='M33.904%2021.631a.814.814%200%200%200-.81.818c0%20.451.362.817.81.817.447%200%20.81-.366.81-.817a.815.815%200%200%200-.81-.818M31.238%2021c0-.618-.524-1.12-1.17-1.12s-1.17.502-1.17%201.12.524%201.12%201.17%201.12%201.17-.502%201.17-1.12m.004-2.175h1.291v4.35h-1.29v-.278a2.25%202.25%200%200%201-2.154.221A2.29%202.29%200%200%201%2027.688%2021a2.285%202.285%200%200%201%202.275-2.295c.474%200%20.915.147%201.28.398zm-10.33.566v-.566h-1.321v4.35h1.324v-2.03c0-.686.736-1.055%201.247-1.055l.015.001v-1.266c-.524%200-1.006.227-1.265.567M17.62%2021c0-.619-.523-1.12-1.17-1.12-.645%200-1.169.501-1.169%201.12%200%20.617.524%201.118%201.17%201.118s1.17-.5%201.17-1.119m.005-2.176h1.29v4.35h-1.29v-.278a2.25%202.25%200%200%201-2.154.221%202.29%202.29%200%200%201-1.401-2.118%202.285%202.285%200%200%201%202.275-2.295c.475%200%20.915.147%201.28.398zm7.77-.117c-.516%200-1.005.161-1.33.607v-.49H22.78v4.35h1.301v-2.286c0-.661.44-.985.97-.985.566%200%20.892.342.892.976v2.295h1.29v-2.766c0-1.013-.797-1.701-1.837-1.701M12.19%2023.174h1.351v-6.289H12.19zm-5.935.002h1.43v-6.292h-1.43zm5.004-6.292c0%201.362-.526%202.63-1.464%203.571l1.978%202.721h-1.767l-2.15-2.957.555-.42a3.62%203.62%200%200%200%201.449-2.914z'/%3e%3c/g%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='a'%3e%3cpath%20fill='%23fff'%20d='M0%200h40v40H0z'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e"},ZIP:{name:"Zip",logo:"data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cg%20clip-path='url(%23a)'%3e%3cpath%20fill='%23fff'%20d='M0%207h40v26H0z'/%3e%3cpath%20fill='%23fff'%20d='M0%200h40v40H0z'/%3e%3cpath%20fill='%231a0826'%20d='m2.81%2022.894.315%202.567h11.001l-.36-2.94h-5.13l-.044-.365%204.724-3.31-.315-2.572H2l.36%202.94h5.138l.045.367z'/%3e%3cpath%20fill='%23aa8fff'%20d='m14.28%2016.274%201.125%209.187h11.01l-1.125-9.187z'/%3e%3cpath%20fill='%231a0826'%20d='M37.96%2019.581c-.254-2.065-1.872-3.316-4.07-3.307h-7.324l1.125%209.186h3.294l-.226-1.837h3.487c2.745%200%204-1.715%203.714-4.042m-4.07%201.467-3.444.004-.27-2.205%203.464.003c.815.01%201.232.47%201.299%201.099.041.404-.144%201.098-1.048%201.098z'/%3e%3cpath%20fill='%23000'%20d='M17.914%2015.05c.58-.623.478-1.662-.226-2.32s-1.744-.684-2.323-.06c-.58.623-.479%201.662.225%202.32s1.745.684%202.324.06'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='a'%3e%3cpath%20fill='%23fff'%20d='M0%200h40v40H0z'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e"}},Xn={class:"flex h-full grow flex-col justify-center"},Jn=e.defineComponent({__name:"PaymentMethodBuyNowPayLater",props:{paymentMethod:{},isDefault:{type:Boolean},options:{},variant:{default:"default"}},setup(t){const l=t,n=e.computed(()=>{var e;return(null==(e=l.paymentMethod.buy_now_pay_later)?void 0:e.variant)?Yn[l.paymentMethod.buy_now_pay_later.variant]:void 0});return(l,a)=>{var i,r,c;return e.openBlock(),e.createBlock(go,{"image-src":(null==(i=n.value)?void 0:i.logo)??e.unref(so),"image-alt":null==(c=null==(r=n.value)?void 0:r.name)?void 0:c.toLowerCase(),variant:t.variant,options:t.options,"is-inactive":"INACTIVE"===t.paymentMethod.status},{default:e.withCtx(()=>[e.createElementVNode("div",Xn,[e.createVNode(o,{tag:"span",weight:"semibold","no-spacing":"",variant:"condensed"===t.variant?"body-xs":"body-sm",shade:"condensed"===t.variant?"light":void 0},{default:e.withCtx(()=>{var t;return[e.createTextVNode(e.toDisplayString(null==(t=n.value)?void 0:t.name),1)]}),_:1},8,["variant","shade"]),e.createVNode(Kn,{"is-default":t.isDefault},null,8,["is-default"]),e.createVNode(Wn,{"is-inactive":"INACTIVE"===t.paymentMethod.status},null,8,["is-inactive"])])]),_:1},8,["image-src","image-alt","variant","options","is-inactive"])}}}),ea={ACCEL:"data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cg%20clip-path='url(%23a)'%3e%3cpath%20fill='%23f26b21'%20d='M0%200h40v40H0z'/%3e%3cpath%20fill='%23fff'%20fill-rule='evenodd'%20d='M9.035%2016.597c.715%200%201.215.285%201.572.642.322.357.536.929.464%201.5l-1%206.536c-.035.25-.143.5-.286.75s-.357.465-.571.643a3%203%200%200%201-.821.464%202.9%202.9%200%200%201-.858.143H6.071a2.14%202.14%200%200%201-1.57-.643c-.358-.393-.537-.857-.466-1.5l.286-2.214c.072-.572.144-1%20.537-1.465.357-.357.856-.606%201.535-.606h2.821l.357-2.215a.56.56%200%200%200-.178-.535c-.107-.108-.215-.179-.5-.179H7.464c-.286%200-.429.107-.571.214-.179.143-.25.321-.322.5%200%200-.143.571-.536.571h-.571c-.393%200-.464-.32-.429-.464.036-.285.144-.571.286-.821.143-.25.358-.536.608-.715q.321-.266.75-.428c.285-.107.678-.178.964-.178zM6.43%2022.132c-.25%200-.358.071-.465.178-.107.143-.143.322-.179.608L5.5%2025.203c-.036.322.143.715.643.715H7.57c.286%200%20.5-.108.643-.215.286-.25.321-.5.321-.5L9%2022.132z'%20clip-rule='evenodd'/%3e%3cpath%20fill='%23fff'%20d='M16.035%2016.632c.607%200%201.144.18%201.573.643.356.358.535.858.463%201.5%200%20.357-.285.428-.463.428h-.573c-.535%200-.427-.571-.427-.571a.68.68%200%200%200-.144-.535c-.107-.108-.25-.179-.5-.179h-1.429a.9.9%200%200%200-.606.214c-.214.178-.321.357-.322.5l-1%206.607a.49.49%200%200%200%20.143.5.73.73%200%200%200%20.5.214h1.429a.95.95%200%200%200%20.606-.214c.143-.143.287-.286.322-.5.002-.009.11-.57.536-.571h.571c.393%200%20.465.285.465.464-.036.357-.179.643-.321.893s-.358.464-.573.643c-.214.178-.5.322-.785.429a2.5%202.5%200%200%201-.929.178h-1.428c-.679%200-1.215-.214-1.572-.607a1.8%201.8%200%200%201-.5-1.5l.964-6.393c.036-.285.18-.608.286-.822.143-.25.358-.5.572-.678a3.5%203.5%200%200%201%20.786-.464c.25-.108.607-.18.928-.18h1.428Z'/%3e%3cpath%20fill='%23fff'%20fill-rule='evenodd'%20d='M30.25%2016.597c.714%200%201.214.285%201.571.642.322.393.535.857.464%201.464l-.214%201.786c-.071.572-.143%201-.536%201.464-.357.357-.856.608-1.535.608h-2.857l-.393%202.642a.56.56%200%200%200%20.179.536c.107.107.214.179.5.179h1.429c.285%200%20.428-.072.57-.179.18-.143.25-.321.322-.5.002-.006.145-.57.535-.571h.573c.392%200%20.463.32.427.464a2.3%202.3%200%200%201-.285.821c-.143.25-.357.536-.607.715a2.6%202.6%200%200%201-.75.429%203%203%200%200%201-.964.178h-1.394a2.14%202.14%200%200%201-1.571-.643%201.95%201.95%200%200%201-.464-1.5l.393-2.607h-.25c-.286%200-.465.143-.572.214-.385.246-.392.698-.392.714%200%20.25-.072.358-.5.358h-.5c-.464%200-.5-.357-.465-.464.036-.25.108-.5.286-.822.179-.25.393-.5.608-.678.25-.215.57-.358.785-.429.285-.072.572-.143.786-.143h.429l.392-2.678c.036-.25.142-.5.285-.75s.358-.465.573-.644c.214-.178.535-.357.82-.464a2.8%202.8%200%200%201%20.857-.142zm-.107%201.356h-1.429c-.286%200-.5.108-.643.215-.285.25-.32.5-.32.5l-.393%202.643h2.535c.25%200%20.357-.072.465-.18.106-.142.142-.32.177-.606l.215-1.893c.071-.322-.143-.715-.607-.679'%20clip-rule='evenodd'/%3e%3cpath%20fill='%23fff'%20d='M35.535%2012.06c.215%200%20.5.108.465.465l-2.142%2014.286c-.072.392-.357.464-.5.464h-.573c-.392%200-.464-.286-.464-.464l2.143-14.286c.036-.178.143-.464.5-.465zm-12.356%204.537c.607%200%201.143.178%201.571.642.357.393.535.893.464%201.5-.072.393-.357.465-.5.429h-.571c-.529%200-.432-.557-.429-.571.036-.25-.035-.43-.143-.537s-.25-.178-.5-.178h-1.428c-.25%200-.43.108-.608.215a.9.9%200%200%200-.321.5l-1%206.606a.49.49%200%200%200%20.144.5c.142.179.357.215.5.215h1.427a.95.95%200%200%200%20.608-.215.87.87%200%200%200%20.321-.5c.003-.016.114-.571.536-.571h.571c.429%200%20.5.322.464.465-.035.357-.178.642-.321.892s-.357.464-.571.643a2.8%202.8%200%200%201-.785.428%202.7%202.7%200%200%201-.93.18H20.25c-.678%200-1.214-.215-1.571-.608a1.8%201.8%200%200%201-.5-1.5l1-6.393c.036-.285.142-.607.285-.821.143-.25.357-.5.571-.679.215-.178.5-.357.786-.464.25-.107.608-.178.93-.178z'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='a'%3e%3cpath%20fill='%23fff'%20d='M0%200h40v40H0z'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",AMERICAN_EXPRESS:"data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%3e%3cg%20clip-path='url(%23a)'%3e%3cpath%20fill='%23fff'%20d='M0%200h40v40H0z'/%3e%3cpath%20fill='%23006fcf'%20d='m32.864%209.816%201.28-3.48H40V0H0v40h40v-6.32h-5.52l-2.04-2.384-2.12%202.384H14.64V20.976H9.464l6.472-14.64h6.296l1.52%203.32v-3.32h7.816l1.304%203.48zm-4.408%202.304-.016-1.4.536%201.4%202.6%206.944h2.584l2.616-6.944.504-1.384v8.336H40V8.408h-4.52l-2.056%205.416-.544%201.464-.56-1.464-2.064-5.416h-4.52v10.664h2.72zM22.6%2019.064h3.136L21.04%208.4H17.4l-4.72%2010.664h3.096l.824-2.056h5.176zm-3.944-7.048.536-1.336.536%201.336%201.104%202.696h-3.28zm-1.832%208.968v10.624h8.904v-2.304h-6.184v-1.856h6.064v-2.296h-6.064v-1.864h6.184v-2.304zM35.64%2031.616h3.536l-4.984-5.336%204.984-5.296h-3.48L32.48%2024.44l-3.2-3.456h-3.544l4.976%205.336-4.976%205.296h3.44l3.24-3.464zm1.344-5.352L40%2029.328v-6.096l-3.016%203.024z'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='a'%3e%3cpath%20fill='%23fff'%20d='M0%200h40v40H0z'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",BANCONTACT:"data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%3e%3cpath%20fill='%23fff'%20d='M0%200h40v40H0z'/%3e%3cpath%20fill='%231e3764'%20d='M3.604%2030.284v-4.816h1.463c1.063%200%201.747.406%201.747%201.245%200%20.475-.217.805-.521.998.44.206.697.606.697%201.149%200%20.97-.697%201.424-1.78%201.424zm.942-2.814h.697c.427%200%20.61-.213.61-.605%200-.42-.332-.558-.78-.558h-.527zm0%201.975h.582c.569%200%20.9-.145.9-.599%200-.447-.284-.633-.819-.633h-.663zm4.27.922c-.928%200-1.395-.461-1.395-1.08%200-.682.548-1.08%201.36-1.087q.305.005.603.055v-.166c0-.42-.237-.619-.69-.619a2.3%202.3%200%200%200-.894.165l-.17-.743c.292-.124.759-.206%201.172-.206.995%200%201.49.537%201.49%201.465v1.913c-.278.145-.8.303-1.477.303Zm.568-.778v-.736a2.2%202.2%200%200%200-.48-.055c-.312%200-.556.124-.556.447%200%20.29.203.44.562.44.163.006.326-.027.474-.096m1.566.695V26.99a4.1%204.1%200%200%201%201.53-.303c.988%200%201.557.495%201.557%201.41v2.188h-.934v-2.119c0-.475-.217-.695-.63-.695a1.4%201.4%200%200%200-.596.124v2.69h-.928Zm6.353-3.392-.176.75a2%202%200%200%200-.765-.172c-.549%200-.847.392-.847%201.04%200%20.708.312%201.072.894%201.072.26-.007.516-.068.752-.178l.149.763a2.25%202.25%200%200%201-.976.2c-1.123%200-1.774-.709-1.774-1.83%200-1.115.644-1.851%201.72-1.851.351-.002.7.068%201.023.206m2.018%203.475c-1.042%200-1.692-.736-1.692-1.844%200-1.101.65-1.837%201.692-1.837%201.05%200%201.687.736%201.687%201.837%200%201.108-.637%201.844-1.686%201.844Zm0-.785c.481%200%20.732-.405.732-1.06%200-.646-.25-1.052-.732-1.052-.474%200-.738.406-.738%201.053%200%20.654.265%201.06.739%201.06Zm2.227.702V26.99a4.1%204.1%200%200%201%201.53-.303c.99%200%201.558.495%201.558%201.41v2.188h-.934v-2.119c0-.475-.217-.695-.63-.695a1.4%201.4%200%200%200-.596.124v2.69zm5.196.083c-.806%200-1.22-.447-1.22-1.356v-1.486h-.46v-.757h.46v-.763l.935-.049v.812h.752v.757h-.752v1.473c0%20.399.163.584.467.584q.182%200%20.36-.04l.047.763a2.5%202.5%200%200%201-.59.062Zm2.358%200c-.928%200-1.395-.461-1.395-1.08%200-.682.549-1.08%201.361-1.087q.304.005.603.055v-.166c0-.42-.237-.619-.69-.619a2.3%202.3%200%200%200-.895.165l-.169-.743c.291-.124.758-.206%201.172-.206.995%200%201.49.537%201.49%201.465v1.913c-.278.145-.8.303-1.477.303m.569-.778v-.736a2.2%202.2%200%200%200-.48-.055c-.312%200-.556.124-.556.447%200%20.29.203.44.562.44.163.006.325-.027.474-.096m4.104-2.697-.176.75a2%202%200%200%200-.765-.172c-.548%200-.846.392-.846%201.04%200%20.708.311%201.072.894%201.072.26-.007.515-.068.751-.178l.15.763a2.25%202.25%200%200%201-.976.2c-1.124%200-1.774-.709-1.774-1.83%200-1.115.643-1.851%201.72-1.851.35-.002.699.068%201.022.206m2.055%203.475c-.806%200-1.219-.447-1.219-1.356v-1.486h-.46v-.757h.46v-.763l.934-.049v.812h.752v.757h-.752v1.473c0%20.399.163.584.468.584q.18%200%20.359-.04l.047.763a2.5%202.5%200%200%201-.59.062Z'/%3e%3cpath%20fill='url(%23a)'%20d='M10.123%2023.06c4.944%200%207.416-3.35%209.889-6.699H3.604v6.699z'/%3e%3cpath%20fill='url(%23b)'%20d='M29.901%209.662c-4.945%200-7.417%203.35-9.89%206.7H36.42v-6.7h-6.518Z'/%3e%3cdefs%3e%3clinearGradient%20id='a'%20x1='6.923'%20x2='18.972'%20y1='20.02'%20y2='15.616'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23005ab9'/%3e%3cstop%20offset='1'%20stop-color='%231e3764'/%3e%3c/linearGradient%3e%3clinearGradient%20id='b'%20x1='21.005'%20x2='33.791'%20y1='16.942'%20y2='12.649'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23fba900'/%3e%3cstop%20offset='1'%20stop-color='%23ffd800'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e",CARNET:"data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cg%20clip-path='url(%23a)'%3e%3cpath%20fill='%23ee3338'%20d='M0%200h40v40H0z'/%3e%3cpath%20fill='%23fffcfc'%20d='M15.27%2013.453c-1.235.362-2.379.854-3.404%201.599-.807.586-1.478%201.296-1.865%202.306-.297-.782-.206-1.488.082-2.176.355-.843.964-1.476%201.68-2.006%201.467-1.08%203.136-1.666%204.895-2.001%203.272-.622%206.501-.47%209.658.666%201.172.423%202.262%201.008%203.169%201.893.842.82%201.387%201.78%201.261%203.02-.018.174-.064.346-.104.55-.06-.053-.098-.07-.11-.1-.43-1.043-1.208-1.773-2.12-2.37-1.505-.988-3.181-1.518-4.932-1.807-2.752-.454-5.484-.35-8.21.426'/%3e%3cpath%20fill='%23fffdfd'%20d='M11.865%2017.027c1.52-1.071%203.204-1.648%204.978-1.964%203.09-.549%206.145-.427%209.14.583%201.366.461%202.639%201.106%203.659%202.174.756.791%201.22%201.71%201.104%202.852-.018.176-.063.35-.096.526-.053-.016-.089-.017-.096-.032-.818-1.817-2.382-2.721-4.101-3.396-2.314-.907-4.727-1.187-7.195-1.052-2.086.115-4.102.517-5.999%201.435q-.555.273-1.075.61c-.948.618-1.739%201.386-2.183%202.522-.297-.783-.207-1.496.093-2.195.37-.867%201.008-1.504%201.771-2.063'/%3e%3cpath%20fill='%23fffbfb'%20d='m19.744%2026.845.597.849c-.385%200-.695.015-1-.01-.094-.007-.194-.108-.264-.194q-.396-.492-.768-1.009c-.29-.407-.657-.535-1.125-.439v1.62h-.929v-4.05c.965.04%201.924.047%202.878.129.484.04.805.494.829.991.024.508-.215.87-.707%201.063-.11.043-.226.079-.198-.009zm-1.725-1.49c.19-.01.382-.007.57-.035.23-.035.403-.16.413-.459.008-.278-.138-.452-.357-.465-.485-.028-.971-.008-1.45-.008v.968h.824Z'/%3e%3cpath%20fill='%23fffafb'%20d='M24.427%2024.913V23.64h.951v3.964c-.686.195-.99.105-1.422-.438l-1.672-2.106v2.578h-.99v-4.02c.308%200%20.611-.018.908.011.1.01.207.128.281.219.624.78%201.242%201.567%201.944%202.335z'/%3e%3cpath%20fill='%23fffdfd'%20d='M28.994%2024.296h-1.157v.9h2.679v.706h-2.688v1.107h2.997v.69h-4.084v-4.086h3.994v.683z'/%3e%3cpath%20fill='%23fffbfc'%20d='M15.302%2027.654c-.103.01-.174%200-.24.013-.638.113-1.065-.077-1.26-.684-.033-.102-.252-.21-.39-.217a22%2022%200%200%200-1.643-.002c-.123.003-.332.081-.35.157-.203.82-.832.833-1.564.71.055-.119.106-.245.171-.364.597-1.106%201.207-2.206%201.788-3.32.128-.246.29-.285.558-.32.623-.077.942.14%201.199.67.498%201.023%201.094%202.005%201.644%203.006a.8.8%200%200%201%20.087.351m-2.492-2.6-.241-.436-.724%201.43h1.473c-.174-.338-.329-.64-.508-.995Z'/%3e%3cpath%20fill='snow'%20d='M6.804%2027.001c.72-.023%201.212-.264%201.428-.834l1.215.227c-.184.52-.568.87-1.146%201.062-1.002.333-2.017.328-2.995-.055-.995-.39-1.427-1.12-1.277-2.07.13-.827.92-1.47%202.036-1.645.753-.117%201.502-.107%202.224.128.538.175.942.456%201.137.952-.343.058-.663.13-.99.156a.5.5%200%200%201-.348-.151c-.426-.475-1.022-.517-1.655-.42-.585.09-.982.379-1.042.865-.042.338-.047.696.048%201.022.158.532.704.71%201.367.763'/%3e%3cpath%20fill='%23fffcfc'%20d='M33.43%2027.087v-2.795h-1.514v-.68H36v.66h-1.501v3.426H33.43v-.61Z'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='a'%3e%3cpath%20fill='%23fff'%20d='M0%200h40v40H0z'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",CARTES_BANCAIRES:"data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%3e%3cg%20clip-path='url(%23a)'%3e%3cpath%20fill='url(%23b)'%20d='M0%200h40v40H0z'/%3e%3cpath%20fill='%23fff'%20d='M32.825%2016.982c0-.35-.063-.698-.2-1.037a2.5%202.5%200%200%200-.572-.856%202.24%202.24%200%200%200-.92-.57q-.491-.16-1.363-.16h-7.697v5.266h7.697q.855%200%201.364-.159c.338-.106.634-.296.92-.57.253-.255.443-.53.57-.857.138-.36.201-.709.201-1.058Zm0%206.428c0-.35-.063-.698-.2-1.036a2.5%202.5%200%200%200-.572-.857%202.24%202.24%200%200%200-.92-.57q-.491-.16-1.363-.16h-7.697v5.245h7.697q.855%200%201.364-.159c.338-.105.634-.296.92-.57.253-.254.443-.53.57-.857.138-.338.201-.687.201-1.036m-11.831-3.806C20.74%2016.189%2018.308%2014%2014.513%2014%2010.516%2014%208%2016.442%208%2020.185c0%203.87%202.611%206.196%206.513%206.196%203.817%200%206.238-2.2%206.481-5.604h-6.566v-1.163h6.566zm14.178%2010.425a.6.6%200%200%201-.444.19.58.58%200%200%201-.444-.19.6.6%200%200%201-.18-.445c0-.169.064-.317.18-.444a.6.6%200%200%201%20.444-.18c.18%200%20.328.064.444.18.127.127.18.275.18.444a.53.53%200%200%201-.18.445m-.824-.825a.52.52%200%200%200-.159.38.56.56%200%200%200%20.159.392.52.52%200%200%200%20.38.158.52.52%200%200%200%20.38-.158.53.53%200%200%200%20.16-.392.52.52%200%200%200-.16-.38.52.52%200%200%200-.38-.159.52.52%200%200%200-.38.159m.37.031c.084%200%20.148.011.19.022.074.031.106.084.106.18%200%20.063-.021.105-.064.137-.02.01-.053.032-.095.032.053.01.095.031.117.063a.2.2%200%200%201%20.042.106v.105c0%20.022%200%20.032.01.032v.01h-.116v-.083q0-.126-.063-.158a.4.4%200%200%200-.138-.022h-.095v.275h-.127v-.687h.233v-.01Zm.137.117c-.032-.021-.084-.021-.148-.021h-.106v.253h.106c.053%200%20.095%200%20.116-.01.053-.021.075-.053.075-.106%200-.074-.022-.106-.043-.116'/%3e%3c/g%3e%3cdefs%3e%3clinearGradient%20id='b'%20x1='0'%20x2='40'%20y1='13'%20y2='30'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%232b307a'/%3e%3cstop%20offset='.22'%20stop-color='%232e3b83'/%3e%3cstop%20offset='.42'%20stop-color='%234187c3'/%3e%3cstop%20offset='.5'%20stop-color='%23d7d3df'/%3e%3cstop%20offset='.58'%20stop-color='%23cc7b7b'/%3e%3cstop%20offset='.78'%20stop-color='%23cd2426'/%3e%3cstop%20offset='1'%20stop-color='%23cd191b'/%3e%3c/linearGradient%3e%3cclipPath%20id='a'%3e%3cpath%20fill='%23fff'%20d='M0%200h40v40H0z'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",DANKORT:"data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cg%20clip-path='url(%23a)'%3e%3cpath%20fill='%23ed1c24'%20d='M0%200h40v40H0z'/%3e%3cpath%20fill='%23ed1c24'%20d='M0%200h40v40H0z'/%3e%3cpath%20fill='%23ed1c24'%20d='M12.302%208.788c-6.04%200-10.952%204.982-10.952%2011.105C1.35%2026.018%206.263%2031%2012.302%2031H27.05C33.088%2031%2038%2026.018%2038%2019.893c0-6.123-4.913-11.105-10.95-11.105z'/%3e%3cpath%20fill='%23fff'%20d='m30.226%2018.82%204.179%205.517a9.2%209.2%200%200%200%201.374-4.884%209.2%209.2%200%200%200-1.522-5.112zm-14.382-4.858c3.557%200%206.238.86%206.514%203.71l3.744-3.71h7.455c-1.622-1.806-4.032-2.953-6.718-2.953H12.512c-2.687%200-5.098%201.147-6.72%202.952zM9.33%2017.673l-1.316%203.332h5.304c1.568%200%202.042-.599%202.393-1.75.347-1.14-.525-1.582-1.596-1.582zm17.524%207.547-4.062-5.326c-.75%203.632-3.209%205.327-7.817%205.327H5.792c1.661%202.166%204.224%203.558%207.093%203.558h14.692c2.869%200%205.43-1.39%207.09-3.558z'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='a'%3e%3cpath%20fill='%23fff'%20d='M0%200h40v40H0z'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",DINERS:"data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%3e%3cpath%20fill='%23fff'%20d='M0%200h40v40H0z'/%3e%3cpath%20fill='%23fff'%20d='M2.65%2019.829c0-8.299%206.728-15.023%2015.023-15.023S32.695%2011.53%2032.695%2019.83c0%208.298-6.724%2015.022-15.022%2015.022S2.651%2028.124%202.651%2019.829Z'/%3e%3cpath%20fill='%230d4e96'%20d='M17.695%2035.117C9.085%2035.16%202%2028.184%202%2019.695%202%2010.415%209.086%204%2017.695%204h4.035C30.235%204%2038%2010.413%2038%2019.695c0%208.486-7.765%2015.422-16.27%2015.422zm.035-29.831c-7.867%200-14.24%206.378-14.24%2014.244%200%207.867%206.374%2014.241%2014.241%2014.241s14.241-6.374%2014.245-14.24c0-7.867-6.378-14.242-14.245-14.245Zm-3.235%2022.67V11.105a9.05%209.05%200%200%200-5.793%208.425%209.04%209.04%200%200%200%205.793%208.422M26.76%2019.53a9.03%209.03%200%200%200-5.8-8.425v16.854a9.04%209.04%200%200%200%205.8-8.426'/%3e%3c/svg%3e",DISCOVER:"data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%3e%3cg%20clip-path='url(%23a)'%3e%3cpath%20fill='%23fff'%20d='M0%200h40v40H0z'/%3e%3cpath%20fill='%23fff'%20d='M.44%201.317v37.366a.88.88%200%200%200%20.877.878H18.47c10.802%200%2019.563-8.756%2019.563-19.563C38.033%209.195%2029.276.435%2018.47.435H1.317a.88.88%200%200%200-.878.878z'/%3e%3cpath%20fill='%23231f20'%20d='M3.408%2017.223H1.853v5.436h1.55c.821%200%201.419-.193%201.941-.628a2.73%202.73%200%200%200%20.988-2.086c0-1.603-1.199-2.723-2.92-2.723zm1.238%204.083c-.334.299-.764.43-1.45.43h-.285V18.14h.286c.685%200%201.102.123%201.449.44.369.324.588.834.588%201.352s-.22%201.045-.588%201.37zm3.227-4.083H6.815v5.436h1.058zm2.596%202.09c-.637-.237-.821-.391-.821-.685%200-.343.333-.602.79-.602.316%200%20.58.132.856.44l.554-.725a2.38%202.38%200%200%200-1.599-.602c-.962%200-1.695.668-1.695%201.559%200%20.75.343%201.133%201.34%201.489.412.144.627.245.733.307a.65.65%200%200%201%20.316.562c0%20.44-.351.769-.826.769-.505%200-.913-.255-1.159-.725l-.685.659c.488.715%201.076%201.036%201.884%201.036%201.102%200%201.875-.733%201.875-1.783%200-.865-.356-1.256-1.563-1.695zm1.897.632c0%201.599%201.256%202.837%202.867%202.837.457%200%20.848-.088%201.33-.316v-1.247c-.425.425-.798.597-1.281.597-1.068%200-1.827-.773-1.827-1.875%200-1.045.781-1.867%201.778-1.867.505%200%20.887.18%201.33.61v-1.246c-.465-.237-.847-.334-1.303-.334-1.608%200-2.894%201.265-2.894%202.846zm12.607.931-1.45-3.654h-1.158L24.67%2022.8h.57l2.35-5.576h-1.15zm3.096%201.783h3.008v-.918h-1.95v-1.466h1.875v-.923h-1.875v-1.207h1.95v-.922h-3.008zm7.206-3.829c0-1.019-.703-1.603-1.923-1.603H31.78v5.436h1.058v-2.182h.14l1.467%202.182h1.304l-1.712-2.292c.799-.162%201.238-.707%201.238-1.541m-2.125.896h-.312v-1.647h.325c.659%200%201.019.276%201.019.808%200%20.531-.36.838-1.037.838zm2.968-2.218c0-.097-.066-.15-.18-.15h-.154v.48h.114v-.185l.137.184h.14l-.158-.197c.066-.018.105-.066.105-.132zm-.202.066h-.017v-.128h.021q.087.001.088.062c.001.061-.03.066-.088.066z'/%3e%3cpath%20fill='%23231f20'%20d='M35.96%2017.183a.417.417%200%201%200%200%20.834.416.416%200%200%200%20.413-.417.416.416%200%200%200-.413-.417m0%20.76a.34.34%200%200%201-.334-.343c0-.189.15-.342.334-.342s.33.158.33.342a.34.34%200%200%201-.33.343'/%3e%3cpath%20fill='url(%23b)'%20d='M22.668%2019.936a2.88%202.88%200%200%201-2.881%202.881%202.877%202.877%200%200%201-2.88-2.88%202.877%202.877%200%200%201%202.88-2.881%202.877%202.877%200%200%201%202.88%202.88Z'/%3e%3cpath%20fill='url(%23c)'%20d='M22.668%2019.936a2.88%202.88%200%200%201-2.881%202.881%202.877%202.877%200%200%201-2.88-2.88%202.877%202.877%200%200%201%202.88-2.881%202.877%202.877%200%200%201%202.88%202.88Z'%20opacity='.65'%20style='mix-blend-mode:multiply'/%3e%3cg%20opacity='.5'%20style='mix-blend-mode:multiply'%3e%3cmask%20id='d'%20width='7'%20height='6'%20x='16'%20y='17'%20maskUnits='userSpaceOnUse'%20style='mask-type:luminance'%3e%3cpath%20fill='%23fff'%20d='M22.668%2019.936a2.88%202.88%200%200%201-2.881%202.881%202.88%202.88%200%200%201-2.88-2.88%202.877%202.877%200%200%201%202.88-2.881%202.877%202.877%200%200%201%202.88%202.88Z'/%3e%3c/mask%3e%3cg%20mask='url(%23d)'%3e%3cpath%20fill='%23020000'%20d='M19.8%2017.016a2.937%202.937%200%200%201%202.938%202.934%202.938%202.938%200%201%201-2.938-2.938z'/%3e%3cpath%20fill='%23030100'%20d='M19.805%2017.02a2.933%202.933%200%200%201%202.937%202.93%202.937%202.937%200%201%201-5.875.009%202.94%202.94%200%200%201%202.938-2.939'/%3e%3cpath%20fill='%23050100'%20d='M19.805%2017.025a2.937%202.937%200%200%201%202.942%202.929%202.945%202.945%200%200%201-2.942%202.942%202.927%202.927%200%200%201-2.934-2.933%202.933%202.933%200%200%201%202.934-2.934z'/%3e%3cpath%20fill='%23070200'%20d='M19.809%2017.03a2.933%202.933%200%200%201%202.942%202.924%202.95%202.95%200%200%201-2.942%202.942%202.93%202.93%200%200%201-2.934-2.933%202.933%202.933%200%200%201%202.934-2.934Z'/%3e%3cpath%20fill='%23080200'%20d='M19.813%2017.034c1.62%200%202.942%201.3%202.942%202.92a2.95%202.95%200%200%201-2.942%202.946%202.93%202.93%200%200%201-2.933-2.933%202.933%202.933%200%200%201%202.933-2.933'/%3e%3cpath%20fill='%230a0300'%20d='M19.813%2017.038c1.62%200%202.942%201.3%202.942%202.92a2.95%202.95%200%200%201-2.942%202.947%202.93%202.93%200%200%201-2.933-2.934%202.933%202.933%200%200%201%202.933-2.933'/%3e%3cpath%20fill='%230c0300'%20d='M19.818%2017.043c1.62%200%202.946%201.295%202.946%202.915a2.96%202.96%200%200%201-2.946%202.951%202.93%202.93%200%200%201-2.934-2.933%202.933%202.933%200%200%201%202.934-2.933'/%3e%3cpath%20fill='%230e0400'%20d='M19.822%2017.047c1.62%200%202.947%201.295%202.947%202.911a2.96%202.96%200%200%201-2.947%202.951%202.93%202.93%200%200%201-2.933-2.933%202.933%202.933%200%200%201%202.933-2.933z'/%3e%3cpath%20fill='%230f0400'%20d='M19.826%2017.056c1.62.004%202.947%201.29%202.947%202.911s-1.33%202.955-2.947%202.955a2.933%202.933%200%201%201%200-5.866'/%3e%3cpath%20fill='%23110500'%20d='M19.826%2017.06c1.62.004%202.947%201.287%202.947%202.907s-1.33%202.955-2.947%202.955a2.933%202.933%200%201%201%200-5.866z'/%3e%3cpath%20fill='%23130500'%20d='M19.83%2017.064c1.621.005%202.952%201.287%202.952%202.903s-1.33%202.96-2.951%202.96a2.923%202.923%200%200%201-2.93-2.93c.005-1.62%201.318-2.937%202.93-2.928z'/%3e%3cpath%20fill='%23140600'%20d='M19.835%2017.069c1.616.004%202.951%201.282%202.951%202.902s-1.335%202.96-2.95%202.96c-1.617%200-2.938-1.313-2.93-2.929.005-1.62%201.318-2.938%202.93-2.929v-.004Z'/%3e%3cpath%20fill='%23160600'%20d='M19.835%2017.073c1.616.005%202.951%201.278%202.951%202.898s-1.335%202.96-2.95%202.96c-1.617%200-2.938-1.313-2.93-2.929.005-1.62%201.322-2.938%202.93-2.929Z'/%3e%3cpath%20fill='%23180600'%20d='M19.84%2017.078c1.616.008%202.955%201.277%202.955%202.893s-1.335%202.965-2.955%202.965a2.925%202.925%200%200%201-2.93-2.93c.005-1.62%201.323-2.937%202.93-2.928'/%3e%3cpath%20fill='%23190700'%20d='M19.844%2017.082c1.616.009%202.955%201.273%202.955%202.894%200%201.62-1.339%202.964-2.955%202.964a2.93%202.93%200%200%201-2.929-2.929c.009-1.62%201.322-2.938%202.93-2.929Z'/%3e%3cpath%20fill='%231b0700'%20d='M19.849%2017.086c1.616.01%202.955%201.274%202.955%202.89s-1.34%202.968-2.955%202.968a2.93%202.93%200%200%201-2.93-2.929c.01-1.62%201.322-2.937%202.93-2.929'/%3e%3cpath%20fill='%231d0800'%20d='M19.849%2017.09c1.616.01%202.955%201.27%202.955%202.886s-1.34%202.968-2.955%202.968a2.925%202.925%200%200%201-2.93-2.929c.01-1.62%201.322-2.937%202.93-2.929v.005Z'/%3e%3cpath%20fill='%231f0800'%20d='M19.853%2017.095c1.616.009%202.96%201.265%202.96%202.885s-1.344%202.973-2.96%202.973a2.925%202.925%200%200%201-2.929-2.929c.009-1.625%201.322-2.938%202.929-2.929'/%3e%3cpath%20fill='%23200900'%20d='M19.857%2017.104c1.616.009%202.96%201.265%202.96%202.88%200%201.617-1.344%202.973-2.96%202.973a2.92%202.92%200%200%201-2.924-2.924c.008-1.625%201.321-2.938%202.924-2.925z'/%3e%3cpath%20fill='%23220900'%20d='M19.857%2017.108c1.616.01%202.96%201.26%202.96%202.877s-1.344%202.977-2.96%202.977a2.92%202.92%200%200%201-2.924-2.925c.008-1.624%201.321-2.937%202.924-2.924z'/%3e%3cpath%20fill='%23240a00'%20d='M19.862%2017.113c1.616.009%202.96%201.26%202.96%202.872s-1.349%202.977-2.96%202.977c-1.612%200-2.934-1.309-2.925-2.925.009-1.624%201.322-2.937%202.925-2.924'/%3e%3cpath%20fill='%23250a00'%20d='M19.866%2017.117c1.616.013%202.964%201.256%202.964%202.872s-1.348%202.977-2.964%202.977a2.92%202.92%200%200%201-2.925-2.924c.01-1.625%201.322-2.938%202.925-2.925'/%3e%3cpath%20fill='%23270b00'%20d='M19.87%2017.122c1.616.013%202.964%201.251%202.964%202.867s-1.348%202.982-2.964%202.982a2.92%202.92%200%200%201-2.924-2.925c.009-1.625%201.326-2.938%202.924-2.924'/%3e%3cpath%20fill='%23290b00'%20d='M19.87%2017.126c1.616.013%202.964%201.251%202.964%202.863s-1.352%202.982-2.964%202.982-2.933-1.309-2.924-2.925c.009-1.625%201.326-2.933%202.924-2.924z'/%3e%3cpath%20fill='%232a0c00'%20d='M19.875%2017.13c1.616.014%202.968%201.247%202.968%202.863s-1.352%202.987-2.968%202.987a2.92%202.92%200%200%201-2.925-2.925c.013-1.625%201.326-2.933%202.925-2.925'/%3e%3cpath%20fill='%232c0c00'%20d='M19.88%2017.135c1.615.013%202.968%201.242%202.968%202.858s-1.353%202.987-2.969%202.987a2.92%202.92%200%200%201-2.924-2.925c.013-1.625%201.326-2.933%202.924-2.925v.005Z'/%3e%3cpath%20fill='%232e0d00'%20d='M19.88%2017.14c1.61.012%202.968%201.242%202.968%202.853s-1.357%202.99-2.969%202.99-2.933-1.308-2.924-2.92c.013-1.624%201.326-2.933%202.924-2.924Z'/%3e%3cpath%20fill='%23300d00'%20d='M19.884%2017.143c1.611.014%202.968%201.239%202.968%202.855s-1.357%202.99-2.968%202.99c-1.612%200-2.934-1.308-2.92-2.92.013-1.625%201.326-2.933%202.92-2.92z'/%3e%3cpath%20fill='%23310d00'%20d='M19.888%2017.152c1.611.013%202.973%201.239%202.973%202.85%200%201.612-1.357%202.995-2.973%202.995s-2.933-1.309-2.92-2.92c.013-1.625%201.326-2.934%202.92-2.92z'/%3e%3cpath%20fill='%23330e00'%20d='M19.892%2017.157c1.612.013%202.973%201.234%202.973%202.845s-1.361%202.995-2.973%202.995-2.933-1.309-2.92-2.92c.013-1.625%201.326-2.934%202.92-2.92'/%3e%3cpath%20fill='%23350e00'%20d='M19.892%2017.161c1.612.018%202.973%201.23%202.973%202.846S21.504%2023%2019.892%2023s-2.933-1.308-2.92-2.92c.013-1.625%201.326-2.933%202.92-2.92Z'/%3e%3cpath%20fill='%23360f00'%20d='M19.897%2017.165c1.611.018%202.977%201.23%202.977%202.842%200%201.611-1.361%202.999-2.977%202.999s-2.934-1.309-2.92-2.92c.013-1.625%201.326-2.934%202.92-2.92Z'/%3e%3cpath%20fill='%23380f00'%20d='M19.901%2017.17c1.612.017%202.977%201.225%202.977%202.837%200%201.611-1.365%202.999-2.977%202.999s-2.933-1.309-2.92-2.92c.013-1.625%201.326-2.934%202.92-2.92z'/%3e%3cpath%20fill='%233a1000'%20d='M19.901%2017.174c1.612.018%202.977%201.225%202.977%202.837s-1.365%203.004-2.977%203.004-2.933-1.309-2.92-2.92c.013-1.625%201.33-2.934%202.92-2.92Z'/%3e%3cpath%20fill='%233b1000'%20d='M19.905%2017.179c1.612.017%202.978%201.22%202.978%202.832s-1.366%203.004-2.977%203.004c-1.612%200-2.934-1.309-2.92-2.92.017-1.625%201.33-2.934%202.92-2.92v.004Z'/%3e%3cpath%20fill='%233d1100'%20d='M19.91%2017.183c1.611.018%202.982%201.216%202.982%202.828s-1.37%203.008-2.982%203.008-2.933-1.309-2.916-2.916c.018-1.625%201.33-2.933%202.916-2.916z'/%3e%3cpath%20fill='%233f1100'%20d='M19.914%2017.187c1.612.018%202.982%201.217%202.982%202.828%200%201.612-1.37%203.008-2.982%203.008-1.611%200-2.933-1.304-2.915-2.915.017-1.625%201.33-2.934%202.915-2.916z'/%3e%3cpath%20fill='%23411200'%20d='M19.914%2017.196c1.612.018%202.982%201.212%202.982%202.824s-1.37%203.008-2.982%203.008c-1.611%200-2.933-1.304-2.915-2.916.017-1.625%201.33-2.933%202.915-2.916'/%3e%3cpath%20fill='%23421200'%20d='M19.919%2017.2c1.611.018%202.981%201.208%202.981%202.82s-1.374%203.012-2.981%203.012-2.934-1.304-2.916-2.916c.017-1.624%201.33-2.933%202.916-2.915Z'/%3e%3cpath%20fill='%23441300'%20d='M19.923%2017.205c1.612.022%202.986%201.208%202.986%202.82%200%201.61-1.374%203.012-2.986%203.012-1.611%200-2.933-1.305-2.916-2.916.018-1.625%201.33-2.934%202.916-2.916'/%3e%3cpath%20fill='%23461300'%20d='M19.923%2017.21c1.612.021%202.986%201.203%202.986%202.814%200%201.612-1.374%203.017-2.986%203.017-1.611%200-2.933-1.304-2.916-2.916.018-1.625%201.33-2.933%202.916-2.916Z'/%3e%3cpath%20fill='%23471300'%20d='M19.928%2017.214c1.607.022%202.986%201.203%202.986%202.81s-1.38%203.017-2.986%203.017c-1.608%200-2.934-1.304-2.916-2.916.017-1.625%201.33-2.933%202.916-2.916z'/%3e%3cpath%20fill='%23491400'%20d='M19.932%2017.218c1.607.022%202.99%201.199%202.99%202.81%200%201.612-1.378%203.022-2.99%203.022s-2.933-1.305-2.916-2.916c.018-1.625%201.33-2.933%202.916-2.916'/%3e%3cpath%20fill='%234b1400'%20d='M19.936%2017.223c1.608.021%202.99%201.194%202.99%202.806%200%201.611-1.378%203.02-2.99%203.02-1.611%200-2.933-1.303-2.915-2.91.021-1.625%201.33-2.934%202.915-2.912z'/%3e%3cpath%20fill='%234c1500'%20d='M19.936%2017.227c1.608.022%202.99%201.194%202.99%202.802%200%201.607-1.382%203.025-2.99%203.025-1.607%200-2.933-1.304-2.911-2.911.022-1.625%201.335-2.934%202.911-2.912z'/%3e%3cpath%20fill='%234e1500'%20d='M19.94%2017.231c1.608.022%202.991%201.19%202.991%202.797s-1.383%203.026-2.99%203.026-2.934-1.304-2.912-2.911c.022-1.625%201.335-2.934%202.912-2.912Z'/%3e%3cpath%20fill='%23501600'%20d='M19.945%2017.236c1.607.022%202.995%201.19%202.995%202.797s-1.383%203.025-2.995%203.025c-1.611%200-2.933-1.304-2.911-2.91.022-1.626%201.335-2.934%202.911-2.912'/%3e%3cpath%20fill='%23521600'%20d='M19.945%2017.244c1.607.022%202.995%201.186%202.995%202.793s-1.388%203.03-2.995%203.03-2.933-1.304-2.911-2.911c.022-1.625%201.335-2.933%202.911-2.912'/%3e%3cpath%20fill='%23531700'%20d='M19.95%2017.249c1.607.026%202.994%201.181%202.994%202.788%200%201.608-1.387%203.03-2.994%203.03s-2.934-1.304-2.912-2.911c.022-1.625%201.335-2.933%202.912-2.912z'/%3e%3cpath%20fill='%23551700'%20d='M19.954%2017.253c1.607.027%202.995%201.181%202.995%202.789%200%201.607-1.388%203.034-2.995%203.034s-2.934-1.304-2.912-2.911c.022-1.625%201.335-2.934%202.912-2.912'/%3e%3cpath%20fill='%23571800'%20d='M19.958%2017.258c1.608.026%203%201.177%203%202.784s-1.392%203.034-3%203.034c-1.607%200-2.933-1.304-2.911-2.911.022-1.625%201.335-2.934%202.911-2.912z'/%3e%3cpath%20fill='%23581800'%20d='M19.958%2017.262c1.608.026%203%201.172%203%202.78s-1.392%203.038-3%203.038c-1.607%200-2.933-1.304-2.911-2.91.022-1.626%201.335-2.934%202.911-2.912z'/%3e%3cpath%20fill='%235a1900'%20d='M19.963%2017.266c1.607.027%202.999%201.173%202.999%202.78s-1.392%203.039-3%203.039c-1.607%200-2.933-1.304-2.906-2.907.021-1.625%201.334-2.934%202.907-2.907z'/%3e%3cpath%20fill='%235c1900'%20d='M19.967%2017.27c1.607.027%203.004%201.169%203.004%202.776s-1.397%203.043-3.004%203.043-2.933-1.304-2.907-2.907c.026-1.624%201.335-2.933%202.907-2.907z'/%3e%3cpath%20fill='%235e1a00'%20d='M19.967%2017.275c1.607.027%203.004%201.168%203.004%202.771s-1.397%203.043-3.004%203.043-2.933-1.304-2.907-2.907c.026-1.624%201.34-2.933%202.907-2.907'/%3e%3cpath%20fill='%235f1a00'%20d='M19.971%2017.28c1.608.026%203.004%201.163%203.004%202.77%200%201.608-1.396%203.044-3.004%203.044-1.607%200-2.933-1.3-2.907-2.907.027-1.625%201.34-2.934%202.907-2.907'/%3e%3cpath%20fill='%23611a00'%20d='M19.976%2017.284c1.603.026%203.003%201.16%203.003%202.767s-1.4%203.047-3.003%203.047-2.934-1.3-2.907-2.907c.026-1.625%201.34-2.933%202.907-2.907'/%3e%3cpath%20fill='%23631b00'%20d='M19.98%2017.293c1.603.03%203.008%201.16%203.008%202.762s-1.4%203.047-3.008%203.047c-1.607%200-2.933-1.3-2.907-2.907.026-1.624%201.34-2.933%202.907-2.907z'/%3e%3cpath%20fill='%23641b00'%20d='M19.98%2017.297c1.603.03%203.008%201.155%203.008%202.762s-1.405%203.052-3.008%203.052-2.933-1.3-2.907-2.907c.026-1.625%201.34-2.933%202.907-2.907'/%3e%3cpath%20fill='%23661c00'%20d='M19.985%2017.302c1.602.03%203.008%201.154%203.008%202.757s-1.406%203.052-3.008%203.052-2.934-1.3-2.907-2.907c.026-1.625%201.339-2.933%202.907-2.907z'/%3e%3cpath%20fill='%23681c00'%20d='M19.989%2017.306c1.603.03%203.008%201.15%203.008%202.753s-1.405%203.057-3.008%203.057-2.933-1.3-2.903-2.903c.027-1.625%201.34-2.933%202.903-2.903z'/%3e%3cpath%20fill='%23691d00'%20d='M19.989%2017.31c1.603.031%203.012%201.146%203.012%202.754%200%201.607-1.41%203.056-3.012%203.056s-2.933-1.3-2.903-2.903c.027-1.624%201.34-2.933%202.903-2.902z'/%3e%3cpath%20fill='%236b1d00'%20d='M19.993%2017.315c1.603.03%203.013%201.146%203.013%202.749%200%201.602-1.41%203.06-3.013%203.06s-2.933-1.3-2.902-2.902c.026-1.625%201.34-2.934%202.902-2.903z'/%3e%3cpath%20fill='%236d1e00'%20d='M19.998%2017.32c1.603.03%203.012%201.14%203.012%202.744%200%201.602-1.41%203.06-3.012%203.06s-2.934-1.3-2.903-2.902c.03-1.625%201.34-2.934%202.903-2.903Z'/%3e%3cpath%20fill='%236f1e00'%20d='M19.998%2017.323c1.603.031%203.017%201.138%203.017%202.745s-1.414%203.06-3.017%203.06-2.934-1.299-2.903-2.902c.03-1.625%201.34-2.933%202.903-2.902Z'/%3e%3cpath%20fill='%23701f00'%20d='M20.002%2017.328c1.603.035%203.017%201.137%203.017%202.74s-1.414%203.065-3.017%203.065-2.933-1.3-2.902-2.902c.03-1.625%201.343-2.934%202.902-2.903'/%3e%3cpath%20fill='%23721f00'%20d='M20.006%2017.337c1.603.035%203.017%201.133%203.017%202.736%200%201.602-1.414%203.065-3.017%203.065s-2.928-1.3-2.902-2.903c.03-1.625%201.344-2.933%202.902-2.903z'/%3e%3cpath%20fill='%23742000'%20d='M20.01%2017.341c1.604.035%203.018%201.133%203.018%202.736s-1.419%203.07-3.017%203.07-2.93-1.3-2.903-2.903c.031-1.625%201.344-2.934%202.903-2.903Z'/%3e%3cpath%20fill='%23752000'%20d='M20.01%2017.346c1.604.035%203.022%201.128%203.022%202.73%200%201.604-1.418%203.07-3.021%203.07s-2.93-1.3-2.903-2.902c.031-1.625%201.344-2.934%202.903-2.898Z'/%3e%3cpath%20fill='%23772000'%20d='M20.015%2017.35c1.603.035%203.021%201.124%203.021%202.727s-1.418%203.074-3.02%203.074-2.93-1.3-2.899-2.898c.03-1.625%201.344-2.934%202.898-2.899z'/%3e%3cpath%20fill='%23792100'%20d='M20.02%2017.354c1.602.035%203.02%201.124%203.02%202.723s-1.422%203.074-3.02%203.074-2.93-1.3-2.898-2.898c.03-1.625%201.343-2.934%202.898-2.899'/%3e%3cpath%20fill='%237a2100'%20d='M20.02%2017.359c1.598.035%203.025%201.12%203.025%202.722%200%201.603-1.423%203.074-3.025%203.074-1.603%200-2.93-1.3-2.898-2.898.03-1.625%201.343-2.934%202.898-2.898'/%3e%3cpath%20fill='%237c2200'%20d='M20.024%2017.363c1.598.035%203.026%201.12%203.026%202.718%200%201.599-1.423%203.079-3.026%203.079s-2.929-1.3-2.898-2.899c.035-1.624%201.344-2.933%202.898-2.898'/%3e%3cpath%20fill='%237e2200'%20d='M20.029%2017.367c1.598.036%203.025%201.116%203.025%202.714%200%201.599-1.427%203.079-3.025%203.079-1.599%200-2.93-1.3-2.899-2.899.035-1.624%201.344-2.933%202.899-2.898z'/%3e%3cpath%20fill='%23802300'%20d='M20.033%2017.372c1.598.04%203.025%201.11%203.025%202.714%200%201.602-1.427%203.082-3.025%203.082-1.599%200-2.93-1.295-2.898-2.898.035-1.625%201.343-2.933%202.898-2.898'/%3e%3cpath%20fill='%23812300'%20d='M20.033%2017.376c1.598.04%203.03%201.111%203.03%202.71s-1.427%203.082-3.03%203.082-2.93-1.295-2.898-2.898c.035-1.625%201.343-2.933%202.898-2.898z'/%3e%3cpath%20fill='%23832400'%20d='M20.037%2017.385c1.599.04%203.03%201.107%203.03%202.705s-1.431%203.087-3.03%203.087-2.929-1.295-2.898-2.898c.035-1.625%201.348-2.933%202.898-2.898z'/%3e%3cpath%20fill='%23852400'%20d='M20.042%2017.39c1.598.039%203.03%201.106%203.03%202.704s-1.432%203.087-3.03%203.087c-1.599%200-2.93-1.295-2.894-2.893.035-1.625%201.348-2.934%202.894-2.894v-.005Z'/%3e%3cpath%20fill='%23862500'%20d='M20.042%2017.394c1.598.04%203.03%201.102%203.03%202.7s-1.432%203.092-3.03%203.092c-1.599%200-2.93-1.296-2.894-2.894.035-1.625%201.348-2.933%202.894-2.894z'/%3e%3cpath%20fill='%23882500'%20d='M20.046%2017.398c1.599.04%203.035%201.098%203.035%202.696s-1.436%203.092-3.035%203.092c-1.598%200-2.929-1.296-2.894-2.894.035-1.625%201.348-2.933%202.894-2.894'/%3e%3cpath%20fill='%238a2600'%20d='M20.05%2017.403c1.599.04%203.035%201.097%203.035%202.696%200%201.598-1.436%203.091-3.035%203.091-1.598%200-2.928-1.295-2.893-2.894.035-1.624%201.348-2.933%202.893-2.893'/%3e%3cpath%20fill='%238b2600'%20d='M20.055%2017.407c1.598.04%203.034%201.093%203.034%202.692%200%201.598-1.436%203.096-3.034%203.096-1.599%200-2.929-1.296-2.894-2.894.035-1.625%201.348-2.934%202.894-2.894'/%3e%3cpath%20fill='%238d2600'%20d='M20.055%2017.411c1.598.04%203.039%201.09%203.039%202.688s-1.44%203.096-3.04%203.096c-1.598%200-2.928-1.296-2.893-2.894.04-1.625%201.348-2.934%202.894-2.894z'/%3e%3cpath%20fill='%238f2700'%20d='M20.06%2017.416c1.598.044%203.038%201.089%203.038%202.687%200%201.599-1.44%203.1-3.039%203.1-1.598%200-2.929-1.295-2.893-2.893.039-1.625%201.348-2.934%202.893-2.894Z'/%3e%3cpath%20fill='%23912700'%20d='M20.064%2017.42c1.598.044%203.038%201.085%203.038%202.683%200%201.599-1.44%203.1-3.038%203.1-1.599%200-2.93-1.295-2.894-2.893.04-1.625%201.348-2.934%202.894-2.894z'/%3e%3cpath%20fill='%23922800'%20d='M20.064%2017.424c1.594.044%203.038%201.085%203.038%202.68%200%201.593-1.444%203.104-3.038%203.104s-2.93-1.296-2.89-2.89c.04-1.624%201.348-2.933%202.89-2.89z'/%3e%3cpath%20fill='%23942800'%20d='M20.068%2017.433c1.594.044%203.043%201.08%203.043%202.679s-1.445%203.105-3.043%203.105-2.929-1.296-2.89-2.89c.04-1.625%201.353-2.933%202.89-2.89z'/%3e%3cpath%20fill='%23962900'%20d='M20.072%2017.438c1.595.044%203.044%201.076%203.044%202.674s-1.445%203.109-3.044%203.109-2.928-1.295-2.889-2.89c.04-1.624%201.352-2.933%202.89-2.889v-.004Z'/%3e%3cpath%20fill='%23972900'%20d='M20.077%2017.442c1.594.044%203.043%201.076%203.043%202.67s-1.45%203.109-3.043%203.109-2.93-1.295-2.89-2.89c.04-1.624%201.353-2.933%202.89-2.889'/%3e%3cpath%20fill='%23992a00'%20d='M20.077%2017.447c1.594.043%203.043%201.071%203.043%202.67s-1.45%203.108-3.043%203.108-2.93-1.295-2.89-2.89c.04-1.624%201.353-2.932%202.89-2.889Z'/%3e%3cpath%20fill='%239b2a00'%20d='M20.081%2017.45c1.594.045%203.048%201.072%203.048%202.666s-1.45%203.114-3.048%203.114-2.929-1.296-2.89-2.89c.04-1.624%201.353-2.933%202.89-2.89'/%3e%3cpath%20fill='%239c2b00'%20d='M20.086%2017.455c1.594.044%203.047%201.067%203.047%202.661s-1.453%203.114-3.047%203.114-2.93-1.296-2.89-2.89c.04-1.624%201.353-2.933%202.89-2.89z'/%3e%3cpath%20fill='%239e2b00'%20d='M20.086%2017.46c1.594.048%203.047%201.062%203.047%202.66%200%201.6-1.453%203.119-3.047%203.119s-2.93-1.296-2.89-2.89c.044-1.625%201.353-2.933%202.89-2.89Z'/%3e%3cpath%20fill='%23a02c00'%20d='M20.09%2017.464c1.594.048%203.052%201.063%203.052%202.657s-1.454%203.118-3.052%203.118-2.929-1.296-2.89-2.89c.044-1.625%201.353-2.933%202.89-2.89z'/%3e%3cpath%20fill='%23a22c00'%20d='M20.094%2017.468c1.594.049%203.052%201.059%203.052%202.653s-1.458%203.122-3.052%203.122-2.929-1.291-2.885-2.885c.044-1.625%201.353-2.934%202.885-2.885z'/%3e%3cpath%20fill='%23a32d00'%20d='M20.099%2017.477c1.594.049%203.052%201.054%203.052%202.648s-1.458%203.122-3.052%203.122-2.93-1.29-2.885-2.885c.044-1.624%201.352-2.933%202.885-2.885'/%3e%3cpath%20fill='%23a52d00'%20d='M20.099%2017.482c1.594.048%203.052%201.053%203.052%202.648%200%201.594-1.458%203.126-3.052%203.126s-2.93-1.29-2.885-2.885c.044-1.625%201.352-2.933%202.885-2.885z'/%3e%3cpath%20fill='%23a72d00'%20d='M20.103%2017.486c1.594.048%203.056%201.05%203.056%202.643%200%201.595-1.462%203.127-3.056%203.127s-2.929-1.29-2.885-2.885c.044-1.625%201.357-2.933%202.885-2.885'/%3e%3cpath%20fill='%23a82e00'%20d='M20.108%2017.49c1.594.049%203.056%201.05%203.056%202.64s-1.462%203.126-3.056%203.126-2.93-1.29-2.886-2.885c.044-1.625%201.357-2.933%202.886-2.885z'/%3e%3cpath%20fill='%23aa2e00'%20d='M20.108%2017.495c1.594.048%203.056%201.045%203.056%202.639s-1.462%203.13-3.056%203.13-2.93-1.29-2.886-2.884c.044-1.625%201.357-2.933%202.886-2.885'/%3e%3cpath%20fill='%23ac2f00'%20d='M20.112%2017.5c1.59.047%203.056%201.04%203.056%202.634s-1.466%203.13-3.056%203.13-2.929-1.29-2.885-2.884c.044-1.625%201.357-2.933%202.885-2.885v.004Z'/%3e%3cpath%20fill='%23ad2f00'%20d='M20.116%2017.504c1.59.052%203.061%201.04%203.061%202.63s-1.467%203.135-3.06%203.135c-1.595%200-2.93-1.29-2.886-2.885.044-1.625%201.357-2.933%202.885-2.885z'/%3e%3cpath%20fill='%23af3000'%20d='M20.12%2017.508c1.59.053%203.061%201.036%203.061%202.63s-1.466%203.136-3.06%203.136-2.93-1.291-2.881-2.881c.048-1.625%201.357-2.933%202.88-2.88z'/%3e%3cpath%20fill='%23b13000'%20d='M20.12%2017.512c1.59.053%203.061%201.037%203.061%202.626%200%201.59-1.47%203.14-3.06%203.14s-2.93-1.291-2.881-2.88c.048-1.625%201.357-2.934%202.88-2.881z'/%3e%3cpath%20fill='%23b33100'%20d='M20.125%2017.517c1.59.052%203.065%201.032%203.065%202.621%200%201.59-1.47%203.14-3.065%203.14s-2.929-1.291-2.88-2.88c.048-1.625%201.356-2.934%202.88-2.881'/%3e%3cpath%20fill='%23b43100'%20d='M20.13%2017.526c1.59.052%203.065%201.027%203.065%202.621s-1.471%203.14-3.066%203.14-2.928-1.291-2.88-2.88c.048-1.626%201.357-2.934%202.88-2.881Z'/%3e%3cpath%20fill='%23b63200'%20d='M20.13%2017.53c1.59.053%203.065%201.027%203.065%202.617s-1.476%203.144-3.066%203.144-2.928-1.29-2.88-2.88c.048-1.625%201.357-2.934%202.88-2.881Z'/%3e%3cpath%20fill='%23b83200'%20d='M20.134%2017.534c1.59.053%203.065%201.024%203.065%202.613%200%201.59-1.476%203.144-3.065%203.144-1.59%200-2.93-1.29-2.88-2.88.047-1.625%201.356-2.934%202.88-2.881z'/%3e%3cpath%20fill='%23b93300'%20d='M20.138%2017.539c1.59.052%203.07%201.018%203.07%202.612s-1.48%203.149-3.07%203.149-2.929-1.291-2.88-2.88c.048-1.63%201.36-2.934%202.88-2.881'/%3e%3cpath%20fill='%23b30'%20d='M23.212%2020.151c0%201.59-1.48%203.149-3.07%203.149s-2.928-1.291-2.88-2.88c.048-1.63%201.361-2.934%202.88-2.881%201.59.057%203.07%201.018%203.07%202.608v.005Z'/%3e%3cpath%20fill='%23bc3502'%20d='M20.143%2017.547c1.59.053%203.07%201.02%203.07%202.613%200%201.594-1.476%203.149-3.07%203.149s-2.93-1.291-2.881-2.88c.048-1.626%201.361-2.93%202.88-2.881Z'%20opacity='.99'/%3e%3cpath%20fill='%23bc3705'%20d='M20.147%2017.552c1.59.053%203.065%201.023%203.065%202.613s-1.475%203.144-3.065%203.144-2.924-1.291-2.88-2.88c.048-1.626%201.356-2.93%202.88-2.881z'%20opacity='.98'/%3e%3cpath%20fill='%23bd3907'%20d='M20.147%2017.552c1.59.053%203.065%201.027%203.065%202.617s-1.475%203.144-3.065%203.144-2.924-1.29-2.88-2.88c.048-1.625%201.356-2.93%202.88-2.881'%20opacity='.97'/%3e%3cpath%20fill='%23bd3a09'%20d='M20.151%2017.556c1.59.053%203.061%201.028%203.061%202.617%200%201.59-1.47%203.14-3.06%203.14s-2.925-1.29-2.881-2.88c.048-1.625%201.357-2.93%202.88-2.881z'%20opacity='.96'/%3e%3cpath%20fill='%23be3c0c'%20d='M20.151%2017.56c1.59.053%203.061%201.033%203.061%202.622%200%201.59-1.47%203.136-3.06%203.136s-2.925-1.291-2.881-2.881c.048-1.625%201.357-2.929%202.88-2.88v.004Z'%20opacity='.95'/%3e%3cpath%20fill='%23bf3e0e'%20d='M20.156%2017.565c1.59.053%203.06%201.032%203.06%202.622s-1.466%203.135-3.06%203.135-2.925-1.291-2.88-2.88c.047-1.625%201.356-2.93%202.88-2.881z'%20opacity='.95'/%3e%3cpath%20fill='%23bf4010'%20d='M20.16%2017.57c1.59.052%203.057%201.036%203.057%202.625%200%201.59-1.467%203.131-3.057%203.131s-2.924-1.29-2.88-2.88c.048-1.625%201.357-2.93%202.88-2.881z'%20opacity='.94'/%3e%3cpath%20fill='%23c04213'%20d='M20.16%2017.574c1.59.052%203.057%201.036%203.057%202.626s-1.467%203.13-3.057%203.13-2.924-1.29-2.88-2.88c.043-1.625%201.352-2.929%202.88-2.88z'%20opacity='.93'/%3e%3cpath%20fill='%23c14415'%20d='M20.165%2017.578c1.59.049%203.052%201.041%203.052%202.63%200%201.59-1.463%203.127-3.052%203.127-1.59%200-2.925-1.29-2.881-2.88.044-1.625%201.353-2.93%202.88-2.881v.004Z'%20opacity='.92'/%3e%3cpath%20fill='%23c14617'%20d='M20.165%2017.578c1.59.049%203.052%201.041%203.052%202.635s-1.463%203.127-3.052%203.127c-1.59%200-2.925-1.291-2.881-2.881.044-1.625%201.353-2.925%202.88-2.88Z'%20opacity='.91'/%3e%3cpath%20fill='%23c24719'%20d='M20.17%2017.583c1.589.048%203.051%201.045%203.051%202.634%200%201.59-1.462%203.123-3.052%203.123s-2.925-1.291-2.88-2.881c.043-1.625%201.352-2.925%202.88-2.88z'%20opacity='.9'/%3e%3cpath%20fill='%23c2491c'%20d='M20.169%2017.587c1.59.048%203.047%201.05%203.047%202.64%200%201.589-1.457%203.121-3.047%203.121s-2.92-1.29-2.88-2.88c.043-1.625%201.352-2.925%202.88-2.881'%20opacity='.89'/%3e%3cpath%20fill='%23c34b1e'%20d='M20.173%2017.591c1.59.049%203.048%201.05%203.048%202.64s-1.458%203.117-3.048%203.117-2.92-1.29-2.88-2.88c.044-1.625%201.352-2.925%202.88-2.881z'%20opacity='.88'/%3e%3cpath%20fill='%23c44d20'%20d='M20.173%2017.596c1.59.048%203.044%201.054%203.044%202.643%200%201.59-1.454%203.114-3.044%203.114s-2.92-1.291-2.88-2.88c.044-1.621%201.352-2.925%202.88-2.882z'%20opacity='.87'/%3e%3cpath%20fill='%23c44f23'%20d='M20.178%2017.6c1.59.048%203.043%201.054%203.043%202.644s-1.454%203.113-3.043%203.113-2.92-1.29-2.88-2.88c.043-1.62%201.347-2.925%202.88-2.881z'%20opacity='.86'/%3e%3cpath%20fill='%23c55125'%20d='M20.182%2017.6c1.59.048%203.043%201.058%203.043%202.648s-1.453%203.11-3.043%203.11-2.92-1.292-2.88-2.881c.043-1.62%201.348-2.925%202.88-2.881z'%20opacity='.85'/%3e%3cpath%20fill='%23c65327'%20d='M20.182%2017.605c1.59.048%203.039%201.058%203.039%202.648s-1.45%203.108-3.039%203.108-2.92-1.29-2.88-2.88c.043-1.62%201.348-2.925%202.88-2.88z'%20opacity='.85'/%3e%3cpath%20fill='%23c6542a'%20d='M20.187%2017.609c1.59.044%203.038%201.063%203.038%202.652s-1.449%203.105-3.038%203.105c-1.59%200-2.92-1.291-2.881-2.88.04-1.621%201.348-2.925%202.88-2.881v.004Z'%20opacity='.84'/%3e%3cpath%20fill='%23c7562c'%20d='M20.187%2017.613c1.59.044%203.034%201.063%203.034%202.657s-1.445%203.105-3.034%203.105c-1.59%200-2.92-1.291-2.881-2.881.04-1.62%201.348-2.92%202.88-2.88Z'%20opacity='.83'/%3e%3cpath%20fill='%23c7582e'%20d='M20.191%2017.618c1.59.044%203.034%201.067%203.034%202.657s-1.444%203.1-3.034%203.1-2.92-1.291-2.88-2.881c.039-1.62%201.347-2.92%202.88-2.88z'%20opacity='.82'/%3e%3cpath%20fill='%23c85a31'%20d='M20.191%2017.622c1.59.044%203.034%201.072%203.034%202.661%200%201.59-1.444%203.096-3.034%203.096s-2.92-1.291-2.88-2.88c.039-1.621%201.347-2.92%202.88-2.881z'%20opacity='.81'/%3e%3cpath%20fill='%23c95c33'%20d='M20.195%2017.622c1.59.044%203.03%201.072%203.03%202.661%200%201.59-1.44%203.096-3.03%203.096s-2.915-1.291-2.88-2.88c.04-1.621%201.343-2.92%202.88-2.881z'%20opacity='.8'/%3e%3cpath%20fill='%23c95e35'%20d='M20.195%2017.627c1.59.043%203.03%201.075%203.03%202.665s-1.44%203.091-3.03%203.091-2.915-1.29-2.88-2.88c.04-1.62%201.343-2.92%202.88-2.88z'%20opacity='.79'/%3e%3cpath%20fill='%23ca6038'%20d='M20.2%2017.63c1.59.045%203.025%201.077%203.025%202.666%200%201.59-1.436%203.092-3.025%203.092-1.59%200-2.916-1.291-2.88-2.88.039-1.621%201.343-2.921%202.88-2.881v.004Z'%20opacity='.78'/%3e%3cpath%20fill='%23ca613a'%20d='M20.204%2017.635c1.59.044%203.026%201.08%203.026%202.67s-1.436%203.087-3.026%203.087-2.916-1.29-2.88-2.88c.04-1.62%201.343-2.92%202.88-2.881z'%20opacity='.77'/%3e%3cpath%20fill='%23cb633c'%20d='M20.204%2017.64c1.59.044%203.026%201.08%203.026%202.674s-1.436%203.087-3.026%203.087-2.916-1.291-2.88-2.88c.04-1.621%201.343-2.92%202.88-2.881'%20opacity='.76'/%3e%3cpath%20fill='%23cc653f'%20d='M20.209%2017.644c1.59.04%203.02%201.085%203.02%202.674%200%201.59-1.43%203.083-3.02%203.083s-2.916-1.291-2.881-2.88c.04-1.617%201.344-2.92%202.88-2.881v.004Z'%20opacity='.75'/%3e%3cpath%20fill='%23cc6741'%20d='M20.209%2017.644c1.59.04%203.02%201.09%203.02%202.679%200%201.59-1.43%203.082-3.02%203.082s-2.916-1.29-2.881-2.88c.035-1.616%201.344-2.92%202.88-2.88Z'%20opacity='.75'/%3e%3cpath%20fill='%23cd6943'%20d='M20.213%2017.648c1.59.04%203.021%201.09%203.021%202.68%200%201.589-1.427%203.077-3.021%203.077s-2.916-1.29-2.88-2.88c.035-1.616%201.339-2.916%202.88-2.88z'%20opacity='.74'/%3e%3cpath%20fill='%23ce6b46'%20d='M20.213%2017.653c1.59.04%203.017%201.093%203.017%202.683s-1.427%203.074-3.017%203.074-2.916-1.291-2.88-2.88c.035-1.617%201.339-2.917%202.88-2.882z'%20opacity='.73'/%3e%3cpath%20fill='%23ce6c48'%20d='M20.217%2017.657c1.59.04%203.017%201.094%203.017%202.683%200%201.59-1.427%203.074-3.017%203.074s-2.915-1.29-2.88-2.88c.035-1.616%201.34-2.916%202.88-2.881z'%20opacity='.72'/%3e%3cpath%20fill='%23cf6e4a'%20d='M20.222%2017.662c1.59.04%203.012%201.098%203.012%202.687%200%201.59-1.423%203.07-3.012%203.07-1.59%200-2.912-1.291-2.881-2.881.035-1.616%201.34-2.916%202.88-2.88v.004Z'%20opacity='.71'/%3e%3cpath%20fill='%23cf704c'%20d='M20.222%2017.666c1.59.04%203.012%201.098%203.012%202.688s-1.423%203.069-3.012%203.069c-1.59%200-2.912-1.291-2.881-2.88.035-1.617%201.34-2.916%202.88-2.881v.004Z'%20opacity='.7'/%3e%3cpath%20fill='%23d0724f'%20d='M20.226%2017.67c1.59.04%203.012%201.103%203.012%202.692s-1.418%203.065-3.012%203.065-2.911-1.29-2.88-2.88c.035-1.616%201.339-2.916%202.88-2.881z'%20opacity='.69'/%3e%3cpath%20fill='%23d17451'%20d='M20.226%2017.67c1.59.04%203.008%201.103%203.008%202.697s-1.418%203.065-3.008%203.065-2.911-1.291-2.88-2.88c.035-1.617%201.339-2.917%202.88-2.882'%20opacity='.68'/%3e%3cpath%20fill='%23d17653'%20d='M20.23%2017.675c1.59.035%203.008%201.106%203.008%202.696s-1.418%203.06-3.008%203.06-2.911-1.29-2.88-2.88c.035-1.616%201.335-2.916%202.88-2.88z'%20opacity='.67'/%3e%3cpath%20fill='%23d27856'%20d='M20.23%2017.68c1.59.034%203.004%201.11%203.004%202.7s-1.414%203.06-3.004%203.06-2.911-1.29-2.88-2.88c.035-1.616%201.335-2.916%202.88-2.88'%20opacity='.66'/%3e%3cpath%20fill='%23d27958'%20d='M20.235%2017.684c1.59.035%203.003%201.11%203.003%202.7s-1.413%203.057-3.003%203.057-2.912-1.291-2.88-2.881c.03-1.616%201.334-2.912%202.88-2.88z'%20opacity='.65'/%3e%3cpath%20fill='%23d37b5a'%20d='M20.235%2017.688c1.59.035%203.003%201.115%203.003%202.705s-1.41%203.052-3.003%203.052-2.912-1.291-2.88-2.88c.03-1.617%201.334-2.912%202.88-2.881z'%20opacity='.65'/%3e%3cpath%20fill='%23d47d5d'%20d='M20.24%2017.692c1.589.035%202.998%201.116%202.998%202.705%200%201.59-1.41%203.052-2.999%203.052s-2.911-1.29-2.88-2.88c.03-1.612%201.334-2.912%202.88-2.881z'%20opacity='.64'/%3e%3cpath%20fill='%23d47f5f'%20d='M20.244%2017.692c1.59.035%202.999%201.12%202.999%202.71s-1.41%203.047-3%203.047c-1.589%200-2.91-1.29-2.88-2.88.03-1.612%201.335-2.912%202.88-2.881v.004Z'%20opacity='.63'/%3e%3cpath%20fill='%23d58161'%20d='M20.244%2017.697c1.59.035%202.995%201.12%202.995%202.71s-1.406%203.047-2.995%203.047-2.907-1.291-2.88-2.88c.03-1.613%201.33-2.912%202.88-2.882z'%20opacity='.62'/%3e%3cpath%20fill='%23d68364'%20d='M20.248%2017.701c1.59.035%202.995%201.124%202.995%202.714s-1.405%203.043-2.995%203.043-2.907-1.29-2.88-2.88c.03-1.612%201.33-2.912%202.88-2.881z'%20opacity='.61'/%3e%3cpath%20fill='%23d68566'%20d='M20.248%2017.706c1.59.035%202.995%201.128%202.995%202.718s-1.405%203.043-2.995%203.043-2.907-1.291-2.88-2.88c.03-1.612%201.33-2.912%202.88-2.881'%20opacity='.6'/%3e%3cpath%20fill='%23d78668'%20d='M20.252%2017.71c1.59.03%202.99%201.128%202.99%202.718s-1.4%203.039-2.99%203.039-2.907-1.291-2.88-2.88c.03-1.612%201.33-2.912%202.88-2.881z'%20opacity='.59'/%3e%3cpath%20fill='%23d7886b'%20d='M20.252%2017.714c1.59.031%202.99%201.133%202.99%202.723s-1.4%203.034-2.99%203.034-2.907-1.29-2.88-2.88c.03-1.612%201.33-2.912%202.88-2.881z'%20opacity='.58'/%3e%3cpath%20fill='%23d88a6d'%20d='M20.257%2017.714c1.59.031%202.986%201.133%202.986%202.723s-1.397%203.034-2.986%203.034-2.907-1.29-2.88-2.88c.026-1.612%201.33-2.907%202.88-2.881z'%20opacity='.57'/%3e%3cpath%20fill='%23d98c6f'%20d='M20.257%2017.719c1.59.03%202.986%201.137%202.986%202.727s-1.397%203.03-2.986%203.03-2.907-1.291-2.88-2.881c.026-1.612%201.33-2.907%202.88-2.88z'%20opacity='.56'/%3e%3cpath%20fill='%23d98e72'%20d='M20.261%2017.723c1.59.03%202.986%201.137%202.986%202.727s-1.396%203.03-2.986%203.03-2.907-1.291-2.88-2.88c.026-1.612%201.326-2.908%202.88-2.881z'%20opacity='.55'/%3e%3cpath%20fill='%23da9074'%20d='M20.266%2017.727c1.59.031%202.981%201.142%202.981%202.732s-1.392%203.026-2.981%203.026c-1.59%200-2.907-1.292-2.881-2.881.026-1.612%201.326-2.907%202.88-2.88v.003Z'%20opacity='.55'/%3e%3cpath%20fill='%23db9276'%20d='M20.266%2017.732c1.59.03%202.981%201.142%202.981%202.736s-1.392%203.025-2.981%203.025c-1.59%200-2.907-1.29-2.881-2.88.026-1.612%201.326-2.907%202.88-2.881Z'%20opacity='.54'/%3e%3cpath%20fill='%23db9379'%20d='M20.27%2017.736c1.59.031%202.977%201.146%202.977%202.736s-1.387%203.021-2.977%203.021-2.903-1.29-2.88-2.88c.026-1.612%201.325-2.907%202.88-2.881z'%20opacity='.53'/%3e%3cpath%20fill='%23dc957b'%20d='M20.27%2017.736c1.59.027%202.977%201.15%202.977%202.74s-1.387%203.022-2.977%203.022-2.903-1.291-2.88-2.881c.026-1.607%201.325-2.907%202.88-2.88Z'%20opacity='.52'/%3e%3cpath%20fill='%23dc977d'%20d='M20.274%2017.74c1.59.027%202.978%201.151%202.978%202.74s-1.388%203.018-2.978%203.018-2.902-1.291-2.88-2.881c.026-1.607%201.326-2.907%202.88-2.88v.004Z'%20opacity='.51'/%3e%3cpath%20fill='%23dd9980'%20d='M20.274%2017.745c1.59.026%202.973%201.155%202.973%202.745s-1.383%203.012-2.973%203.012-2.902-1.291-2.88-2.88c.026-1.608%201.326-2.908%202.88-2.881z'%20opacity='.5'/%3e%3cpath%20fill='%23de9b82'%20d='M20.279%2017.75c1.59.026%202.973%201.154%202.973%202.744s-1.384%203.012-2.973%203.012c-1.59%200-2.903-1.29-2.88-2.88.025-1.607%201.32-2.903%202.88-2.88z'%20opacity='.49'/%3e%3cpath%20fill='%23de9d84'%20d='M20.279%2017.754c1.59.026%202.968%201.16%202.968%202.749s-1.379%203.008-2.968%203.008c-1.59%200-2.903-1.291-2.88-2.88.021-1.608%201.32-2.904%202.88-2.881z'%20opacity='.48'/%3e%3cpath%20fill='%23df9f86'%20d='M20.283%2017.758c1.59.027%202.969%201.16%202.969%202.75%200%201.589-1.38%203.007-2.969%203.007-1.59%200-2.902-1.29-2.88-2.88.021-1.608%201.321-2.903%202.88-2.881z'%20opacity='.47'/%3e%3cpath%20fill='%23dfa089'%20d='M20.288%2017.758c1.59.027%202.968%201.164%202.968%202.754s-1.379%203.003-2.968%203.003c-1.59%200-2.903-1.29-2.881-2.88.022-1.608%201.322-2.903%202.88-2.881v.004Z'%20opacity='.46'/%3e%3cpath%20fill='%23e0a28b'%20d='M20.288%2017.763c1.59.026%202.964%201.163%202.964%202.757s-1.375%203.004-2.964%203.004c-1.59%200-2.903-1.291-2.881-2.88.022-1.608%201.322-2.903%202.88-2.881Z'%20opacity='.45'/%3e%3cpath%20fill='%23e1a48d'%20d='M20.292%2017.767c1.59.026%202.964%201.168%202.964%202.758s-1.374%202.999-2.964%202.999-2.903-1.291-2.88-2.88c.021-1.608%201.321-2.903%202.88-2.881z'%20opacity='.45'/%3e%3cpath%20fill='%23e1a690'%20d='M20.292%2017.771c1.59.022%202.964%201.173%202.964%202.762%200%201.59-1.37%203-2.964%203s-2.898-1.291-2.88-2.88c.021-1.608%201.321-2.903%202.88-2.882'%20opacity='.44'/%3e%3cpath%20fill='%23e2a892'%20d='M20.296%2017.776c1.59.022%202.96%201.172%202.96%202.762s-1.37%202.995-2.96%202.995-2.898-1.291-2.88-2.88c.022-1.608%201.317-2.903%202.88-2.882z'%20opacity='.43'/%3e%3cpath%20fill='%23e3aa94'%20d='M20.296%2017.78c1.59.022%202.96%201.177%202.96%202.767s-1.37%202.99-2.96%202.99-2.898-1.29-2.88-2.88c.022-1.608%201.317-2.903%202.88-2.881z'%20opacity='.42'/%3e%3cpath%20fill='%23e3ac97'%20d='M20.3%2017.785c1.59.022%202.956%201.177%202.956%202.766%200%201.59-1.366%202.99-2.955%202.99-1.59%200-2.898-1.29-2.88-2.88.021-1.607%201.317-2.898%202.88-2.88v.004Z'%20opacity='.41'/%3e%3cpath%20fill='%23e4ad99'%20d='M20.305%2017.785c1.59.022%202.956%201.18%202.956%202.77s-1.366%202.987-2.956%202.987-2.898-1.292-2.88-2.881c.021-1.603%201.317-2.898%202.88-2.88z'%20opacity='.4'/%3e%3cpath%20fill='%23e4af9b'%20d='M20.305%2017.789c1.59.022%202.956%201.181%202.956%202.77%200%201.59-1.362%202.987-2.956%202.987s-2.898-1.291-2.88-2.88c.017-1.604%201.317-2.899%202.88-2.881z'%20opacity='.39'/%3e%3cpath%20fill='%23e5b19e'%20d='M20.31%2017.793c1.59.022%202.95%201.186%202.95%202.776s-1.36%202.981-2.95%202.981-2.899-1.29-2.881-2.88c.018-1.603%201.317-2.899%202.88-2.881v.004Z'%20opacity='.38'/%3e%3cpath%20fill='%23e6b3a0'%20d='M20.31%2017.798c1.59.022%202.95%201.19%202.95%202.78s-1.36%202.981-2.95%202.981-2.899-1.29-2.881-2.88c.018-1.603%201.317-2.899%202.88-2.881Z'%20opacity='.37'/%3e%3cpath%20fill='%23e6b5a2'%20d='M20.314%2017.802c1.59.022%202.947%201.19%202.947%202.78s-1.357%202.977-2.947%202.977-2.898-1.29-2.88-2.88c.017-1.603%201.312-2.899%202.88-2.881z'%20opacity='.36'/%3e%3cpath%20fill='%23e7b7a5'%20d='M20.314%2017.807c1.59.017%202.947%201.194%202.947%202.784s-1.357%202.973-2.947%202.973-2.898-1.291-2.88-2.881c.017-1.603%201.312-2.898%202.88-2.88z'%20opacity='.35'/%3e%3cpath%20fill='%23e8b9a7'%20d='M20.318%2017.807c1.59.017%202.947%201.194%202.947%202.784s-1.353%202.973-2.947%202.973-2.894-1.291-2.88-2.881c.017-1.603%201.313-2.898%202.88-2.88z'%20opacity='.35'/%3e%3cpath%20fill='%23e8baa9'%20d='M20.318%2017.811c1.59.017%202.942%201.199%202.942%202.788%200%201.59-1.352%202.969-2.942%202.969s-2.894-1.291-2.88-2.88c.017-1.604%201.313-2.899%202.88-2.881z'%20opacity='.34'/%3e%3cpath%20fill='%23e9bcac'%20d='M20.323%2017.815c1.59.018%202.942%201.2%202.942%202.789s-1.353%202.968-2.942%202.968-2.894-1.29-2.88-2.88c.017-1.603%201.312-2.899%202.88-2.881z'%20opacity='.33'/%3e%3cpath%20fill='%23e9beae'%20d='M20.327%2017.82c1.59.017%202.938%201.203%202.938%202.793s-1.348%202.964-2.938%202.964-2.894-1.291-2.88-2.881c.017-1.603%201.312-2.894%202.88-2.88z'%20opacity='.32'/%3e%3cpath%20fill='%23eac0b0'%20d='M20.327%2017.824c1.59.018%202.938%201.203%202.938%202.797s-1.348%202.965-2.938%202.965-2.894-1.292-2.88-2.881c.013-1.603%201.312-2.894%202.88-2.88Z'%20opacity='.31'/%3e%3cpath%20fill='%23ebc2b3'%20d='M20.331%2017.828c1.59.018%202.938%201.208%202.938%202.798s-1.343%202.96-2.938%202.96c-1.594%200-2.893-1.292-2.88-2.881.013-1.603%201.308-2.894%202.88-2.88z'%20opacity='.3'/%3e%3cpath%20fill='%23ebc4b5'%20d='M20.331%2017.828c1.59.018%202.934%201.213%202.934%202.802%200%201.59-1.344%202.96-2.934%202.96s-2.893-1.291-2.88-2.88c.013-1.604%201.308-2.895%202.88-2.882'%20opacity='.29'/%3e%3cpath%20fill='%23ecc6b7'%20d='M20.336%2017.833c1.59.018%202.933%201.212%202.933%202.802s-1.343%202.955-2.933%202.955-2.894-1.291-2.88-2.88c.012-1.6%201.308-2.895%202.88-2.882z'%20opacity='.28'/%3e%3cpath%20fill='%23ecc7b9'%20d='M20.336%2017.837c1.59.014%202.929%201.217%202.929%202.806%200%201.59-1.34%202.951-2.93%202.951-1.589%200-2.893-1.29-2.88-2.88.013-1.599%201.309-2.894%202.88-2.881v.004Z'%20opacity='.27'/%3e%3cpath%20fill='%23edc9bc'%20d='M20.34%2017.842c1.59.013%202.93%201.216%202.93%202.806s-1.34%202.95-2.93%202.95-2.894-1.29-2.88-2.88c.013-1.598%201.308-2.894%202.88-2.88z'%20opacity='.26'/%3e%3cpath%20fill='%23eecbbe'%20d='M20.34%2017.846c1.59.013%202.93%201.22%202.93%202.81s-1.34%202.947-2.93%202.947-2.89-1.291-2.88-2.88c.013-1.6%201.308-2.895%202.88-2.881z'%20opacity='.25'/%3e%3cpath%20fill='%23eecdc0'%20d='M20.345%2017.85c1.59.014%202.924%201.221%202.924%202.81%200%201.59-1.335%202.947-2.924%202.947-1.59%200-2.89-1.29-2.881-2.88.013-1.599%201.304-2.894%202.88-2.88v.003Z'%20opacity='.25'/%3e%3cpath%20fill='%23efcfc3'%20d='M20.35%2017.85c1.589.014%202.924%201.226%202.924%202.815%200%201.59-1.335%202.942-2.925%202.942s-2.89-1.29-2.88-2.88c.013-1.599%201.304-2.89%202.88-2.88v.003Z'%20opacity='.24'/%3e%3cpath%20fill='%23f0d1c5'%20d='M20.35%2017.855c1.589.013%202.92%201.23%202.92%202.82s-1.331%202.941-2.92%202.941c-1.59%200-2.89-1.29-2.882-2.88.014-1.599%201.305-2.89%202.881-2.881Z'%20opacity='.23'/%3e%3cpath%20fill='%23f0d2c7'%20d='M20.354%2017.86c1.59.012%202.92%201.229%202.92%202.819s-1.33%202.937-2.92%202.937-2.89-1.29-2.881-2.88c.009-1.599%201.304-2.89%202.88-2.881v.004Z'%20opacity='.22'/%3e%3cpath%20fill='%23f1d4ca'%20d='M20.354%2017.864c1.59.013%202.92%201.234%202.92%202.823%200%201.59-1.33%202.938-2.92%202.938s-2.89-1.291-2.881-2.88c.009-1.6%201.304-2.89%202.88-2.881Z'%20opacity='.21'/%3e%3cpath%20fill='%23f1d6cc'%20d='M20.358%2017.868c1.59.013%202.916%201.234%202.916%202.824s-1.326%202.933-2.916%202.933-2.89-1.291-2.88-2.88c.008-1.6%201.303-2.89%202.88-2.881z'%20opacity='.2'/%3e%3cpath%20fill='%23f2d8ce'%20d='M20.358%2017.872c1.59.01%202.916%201.239%202.916%202.828%200%201.59-1.326%202.93-2.916%202.93s-2.89-1.292-2.88-2.881c.008-1.599%201.303-2.89%202.88-2.881z'%20opacity='.19'/%3e%3cpath%20fill='%23f3dad1'%20d='M20.362%2017.872c1.59.01%202.912%201.239%202.912%202.828%200%201.59-1.322%202.93-2.912%202.93s-2.89-1.292-2.88-2.881c.008-1.599%201.3-2.89%202.88-2.881z'%20opacity='.18'/%3e%3cpath%20fill='%23f3dcd3'%20d='M20.367%2017.877c1.59.009%202.911%201.243%202.911%202.832%200%201.59-1.322%202.925-2.911%202.925-1.59%200-2.89-1.291-2.881-2.88.009-1.6%201.3-2.89%202.88-2.882v.005Z'%20opacity='.17'/%3e%3cpath%20fill='%23f4ded5'%20d='M20.367%2017.881c1.59.009%202.911%201.243%202.911%202.837s-1.322%202.925-2.911%202.925a2.88%202.88%200%200%201-2.881-2.881c.009-1.594%201.3-2.89%202.88-2.88Z'%20opacity='.16'/%3e%3cpath%20fill='%23f4dfd8'%20d='M20.371%2017.886c1.59.008%202.907%201.247%202.907%202.836%200%201.59-1.317%202.92-2.907%202.92a2.88%202.88%200%200%201-2.88-2.88c.008-1.594%201.3-2.885%202.88-2.88z'%20opacity='.15'/%3e%3cpath%20fill='%23f5e1da'%20d='M20.371%2017.89c1.59.009%202.907%201.252%202.907%202.841s-1.317%202.92-2.907%202.92a2.88%202.88%200%200%201-2.88-2.88c.008-1.594%201.3-2.885%202.88-2.881'%20opacity='.15'/%3e%3cpath%20fill='%23f6e3dc'%20d='M20.375%2017.894c1.59.01%202.907%201.252%202.907%202.841s-1.313%202.916-2.907%202.916a2.877%202.877%200%200%201-2.88-2.88c.008-1.594%201.3-2.885%202.88-2.881z'%20opacity='.14'/%3e%3cpath%20fill='%23f6e5df'%20d='M20.375%2017.899c1.59.009%202.903%201.256%202.903%202.845s-1.313%202.912-2.903%202.912a2.88%202.88%200%200%201-2.88-2.88%202.885%202.885%200%200%201%202.88-2.882z'%20opacity='.13'/%3e%3cpath%20fill='%23f7e7e1'%20d='M20.38%2017.899c1.59.004%202.902%201.256%202.902%202.845s-1.313%202.912-2.902%202.912a2.88%202.88%200%200%201-2.88-2.88%202.88%202.88%200%200%201%202.88-2.882z'%20opacity='.12'/%3e%3cpath%20fill='%23f8e9e3'%20d='M20.38%2017.903c1.59.005%202.898%201.26%202.898%202.85S21.97%2023.66%2020.38%2023.66a2.88%202.88%200%200%201-2.88-2.88%202.88%202.88%200%200%201%202.88-2.881z'%20opacity='.11'/%3e%3cpath%20fill='%23f8ebe6'%20d='M20.384%2017.908c1.59.004%202.898%201.26%202.898%202.85s-1.308%202.907-2.898%202.907a2.88%202.88%200%200%201-2.88-2.881%202.88%202.88%200%200%201%202.88-2.88z'%20opacity='.1'/%3e%3cpath%20fill='%23f9ece8'%20d='M20.389%2017.912c1.59.004%202.898%201.265%202.898%202.854a2.913%202.913%200%200%201-2.898%202.903%202.877%202.877%200%200%201-2.881-2.88%202.88%202.88%200%200%201%202.88-2.881v.004Z'%20opacity='.09'/%3e%3cpath%20fill='%23f9eeea'%20d='M20.389%2017.916c1.59.005%202.893%201.265%202.893%202.86a2.91%202.91%200%200%201-2.893%202.902%202.88%202.88%200%201%201%200-5.761Z'%20opacity='.08'/%3e%3cpath%20fill='%23faf0ec'%20d='M20.393%2017.92c1.59%200%202.894%201.27%202.894%202.86a2.91%202.91%200%200%201-2.894%202.898%202.88%202.88%200%200%201-2.88-2.881%202.88%202.88%200%200%201%202.88-2.88v.004Z'%20opacity='.07'/%3e%3cpath%20fill='%23fbf2ef'%20d='M20.393%2017.92c1.59%200%202.89%201.274%202.89%202.864s-1.3%202.898-2.89%202.898a2.88%202.88%200%200%201-2.88-2.88%202.88%202.88%200%200%201%202.88-2.881Z'%20opacity='.06'/%3e%3cpath%20fill='%23fbf4f1'%20d='M20.397%2017.925c1.59%200%202.89%201.274%202.89%202.863%200%201.59-1.3%202.894-2.89%202.894a2.88%202.88%200%201%201%200-5.761z'%20opacity='.05'/%3e%3cpath%20fill='%23fcf6f3'%20d='M20.397%2017.93c1.59%200%202.89%201.277%202.89%202.867s-1.296%202.89-2.89%202.89a2.88%202.88%200%201%201%200-5.762z'%20opacity='.05'/%3e%3cpath%20fill='%23fdf8f6'%20d='M20.402%2017.934a2.875%202.875%200%200%201%202.885%202.867c0%201.59-1.296%202.89-2.885%202.89a2.88%202.88%200%200%201-2.88-2.88c0-1.59%201.29-2.881%202.88-2.881z'%20opacity='.04'/%3e%3cpath%20fill='%23fdf9f8'%20d='M20.402%2017.938a2.88%202.88%200%200%201%202.885%202.872%202.882%202.882%200%201%201-5.766.004c0-1.59%201.291-2.88%202.88-2.88v.004Z'%20opacity='.03'/%3e%3cpath%20fill='%23fefbfa'%20d='M20.406%2017.943c1.59%200%202.88%201.282%202.88%202.872a2.886%202.886%200%200%201-2.88%202.885%202.88%202.88%200%200%201-2.88-2.881%202.88%202.88%200%200%201%202.88-2.88z'%20opacity='.02'/%3e%3c/g%3e%3c/g%3e%3cmask%20id='e'%20width='40'%20height='40'%20x='0'%20y='0'%20maskUnits='userSpaceOnUse'%20style='mask-type:luminance'%3e%3cpath%20fill='%23fff'%20d='M40%200H0v40h40zM1.317%2039.56a.88.88%200%200%201-.878-.877V1.317A.88.88%200%200%201%201.317.44H18.47c10.802%200%2019.563%208.756%2019.563%2019.563%200%2010.803-8.757%2019.563-19.563%2019.563H1.317v-.004Z'/%3e%3c/mask%3e%3cg%20mask='url(%23e)'%3e%3cmask%20id='f'%20width='75'%20height='76'%20x='-29'%20y='-18'%20maskUnits='userSpaceOnUse'%20style='mask-type:luminance'%3e%3cpath%20fill='%23fff'%20d='M8.752%2057.1c20.49%200%2037.101-16.611%2037.101-37.102S29.243-17.104%208.752-17.104-28.35-.493-28.35%2019.998-11.74%2057.1%208.752%2057.1'/%3e%3c/mask%3e%3cg%20mask='url(%23f)'%3e%3cpath%20fill='%23e04e15'%20d='M22.334-30.688-41.932%206.416l37.104%2064.266%2064.266-37.104z'/%3e%3cpath%20fill='%23e04f15'%20d='M23.109-29.352-41.157%207.752l37.104%2064.266%2064.266-37.104z'/%3e%3cpath%20fill='%23e15015'%20d='M23.881-28.012-40.385%209.092-3.28%2073.358l64.266-37.104-37.104-64.266Z'/%3e%3cpath%20fill='%23e15115'%20d='m24.65-26.67-64.266%2037.104L-2.512%2074.7l64.266-37.104z'/%3e%3cpath%20fill='%23e25215'%20d='m25.42-25.338-64.266%2037.104%2037.104%2064.266%2064.266-37.104z'/%3e%3cpath%20fill='%23e25316'%20d='m26.193-23.998-64.266%2037.104L-.969%2077.372l64.266-37.104z'/%3e%3cpath%20fill='%23e35416'%20d='m26.97-22.658-64.266%2037.104L-.192%2078.712l64.266-37.104z'/%3e%3cpath%20fill='%23e35516'%20d='m27.74-21.322-64.266%2037.104L.578%2080.048l64.266-37.104z'/%3e%3cpath%20fill='%23e35616'%20d='m28.513-19.982-64.266%2037.104L1.35%2081.388l64.266-37.104z'/%3e%3cpath%20fill='%23e45716'%20d='M29.285-18.646-34.98%2018.458%202.123%2082.724%2066.39%2045.62z'/%3e%3cpath%20fill='%23e45716'%20d='m30.06-17.31-64.266%2037.104L2.898%2084.06l64.266-37.104z'/%3e%3cpath%20fill='%23e55816'%20d='m30.832-15.97-64.266%2037.104L3.67%2085.4l64.266-37.104z'/%3e%3cpath%20fill='%23e55916'%20d='m31.605-14.63-64.266%2037.104L4.443%2086.74l64.266-37.104z'/%3e%3cpath%20fill='%23e55a16'%20d='m32.371-13.296-64.266%2037.104L5.21%2088.073%2069.475%2050.97z'/%3e%3cpath%20fill='%23e65b16'%20d='m33.148-11.956-64.266%2037.104L5.986%2089.412%2070.252%2052.31z'/%3e%3cpath%20fill='%23e65c17'%20d='m33.92-10.617-64.265%2037.104L6.759%2090.753%2071.025%2053.65z'/%3e%3cpath%20fill='%23e75d17'%20d='m34.691-9.28-64.266%2037.104L7.53%2092.09l64.266-37.104z'/%3e%3cpath%20fill='%23e75e17'%20d='M35.464-7.945-28.802%2029.16%208.302%2093.425l64.266-37.104z'/%3e%3cpath%20fill='%23e85f17'%20d='M36.236-6.605-28.03%2030.5%209.074%2094.765%2073.34%2057.661z'/%3e%3cpath%20fill='%23e86017'%20d='m37.01-5.269-64.265%2037.104L9.849%2096.101l64.266-37.104z'/%3e%3cpath%20fill='%23e86117'%20d='m37.309-4.75-64.266%2037.104L10.147%2096.62l64.266-37.104z'/%3e%3cpath%20fill='%23e96217'%20d='m37.607-4.23-64.266%2037.103L10.445%2097.14l64.266-37.104z'/%3e%3cpath%20fill='%23e96317'%20d='M37.905-3.716-26.36%2033.388l37.104%2064.266L75.01%2060.55z'/%3e%3cpath%20fill='%23e96418'%20d='m38.208-3.197-64.266%2037.104%2037.104%2064.266%2064.266-37.104z'/%3e%3cpath%20fill='%23e96518'%20d='m38.504-2.682-64.266%2037.104%2037.104%2064.266%2064.266-37.104z'/%3e%3cpath%20fill='%23ea6618'%20d='m38.802-2.163-64.266%2037.104L11.64%2099.207l64.266-37.104z'/%3e%3cpath%20fill='%23ea6718'%20d='m39.1-1.648-64.266%2037.104%2037.104%2064.266%2064.266-37.104z'/%3e%3cpath%20fill='%23ea6818'%20d='m39.398-1.13-64.266%2037.105%2037.104%2064.266%2064.266-37.104z'/%3e%3cpath%20fill='%23ea6918'%20d='M39.698-.614-24.568%2036.49l37.105%2064.266%2064.265-37.104z'/%3e%3cpath%20fill='%23eb6a18'%20d='m39.996-.095-64.265%2037.104%2037.103%2064.266L77.1%2064.171z'/%3e%3cpath%20fill='%23eb6b19'%20d='m40.295.424-64.266%2037.104%2037.104%2064.266L77.399%2064.69z'/%3e%3cpath%20fill='%23eb6c19'%20d='m40.593.939-64.266%2037.103%2037.104%2064.266%2064.266-37.104z'/%3e%3cpath%20fill='%23eb6d19'%20d='M40.895%201.458-23.37%2038.562l37.104%2064.265L78%2065.724%2040.895%201.457Z'/%3e%3cpath%20fill='%23ec6e19'%20d='m41.191%201.973-64.266%2037.104%2037.104%2064.266%2064.266-37.104z'/%3e%3cpath%20fill='%23ec6f19'%20d='m41.49%202.492-64.267%2037.104%2037.104%2064.266%2064.266-37.104z'/%3e%3cpath%20fill='%23ec7019'%20d='M41.788%203.006-22.479%2040.11l37.104%2064.266L78.89%2067.272z'/%3e%3cpath%20fill='%23ec7119'%20d='M42.086%203.525-22.18%2040.63l37.104%2064.266L79.19%2067.791z'/%3e%3cpath%20fill='%23ed7219'%20d='M42.386%204.04-21.88%2041.146l37.104%2064.266L79.49%2068.306z'/%3e%3cpath%20fill='%23ed731a'%20d='m42.684%204.56-64.266%2037.104%2037.104%2064.266%2064.266-37.104z'/%3e%3cpath%20fill='%23ed741a'%20d='m42.982%205.079-64.266%2037.104%2037.104%2064.266%2064.266-37.104z'/%3e%3cpath%20fill='%23ed751a'%20d='m43.28%205.593-64.266%2037.104%2037.104%2064.266%2064.266-37.104z'/%3e%3cpath%20fill='%23ee761a'%20d='m43.583%206.112-64.266%2037.104%2037.104%2064.266%2064.266-37.104z'/%3e%3cpath%20fill='%23ee771a'%20d='m43.879%206.627-64.266%2037.104%2037.104%2064.266%2064.266-37.104z'/%3e%3cpath%20fill='%23ee781a'%20d='M44.177%207.146-20.09%2044.25l37.104%2064.266L81.28%2071.412z'/%3e%3cpath%20fill='%23ef791a'%20d='m44.475%207.661-64.266%2037.104%2037.104%2064.266L81.58%2071.927z'/%3e%3cpath%20fill='%23ef7a1b'%20d='m44.773%208.18-64.266%2037.104%2037.104%2064.266%2064.266-37.104z'/%3e%3cpath%20fill='%23ef7b1b'%20d='M45.073%208.695-19.193%2045.8l37.105%2064.266%2064.265-37.104z'/%3e%3cpath%20fill='%23ef7c1b'%20d='m45.371%209.214-64.265%2037.104%2037.103%2064.266L82.476%2073.48z'/%3e%3cpath%20fill='%23f07d1b'%20d='m45.67%209.733-64.266%2037.104%2037.104%2064.266%2064.266-37.104z'/%3e%3cpath%20fill='%23f07e1b'%20d='m45.968%2010.248-64.266%2037.104%2037.104%2064.266%2064.266-37.104z'/%3e%3cpath%20fill='%23f07f1b'%20d='M46.27%2010.767-17.996%2047.87l37.104%2064.266%2064.266-37.104z'/%3e%3cpath%20fill='%23f0801b'%20d='M46.566%2011.282-17.7%2048.386l37.104%2064.266L83.67%2075.548z'/%3e%3cpath%20fill='%23f1801c'%20d='m46.864%2011.801-64.266%2037.104%2037.104%2064.266%2064.266-37.104z'/%3e%3cpath%20fill='%23f1811c'%20d='m47.162%2012.32-64.266%2037.104L20%20113.69l64.266-37.104z'/%3e%3cpath%20fill='%23f1821c'%20d='m47.46%2012.835-64.265%2037.104%2037.104%2064.266%2064.266-37.104z'/%3e%3cpath%20fill='%23f1831c'%20d='m47.76%2013.35-64.265%2037.104%2037.104%2064.266%2064.266-37.104z'/%3e%3cpath%20fill='%23f2841c'%20d='m48.059%2013.869-64.266%2037.104%2037.104%2064.266%2064.266-37.104z'/%3e%3cpath%20fill='%23f2851c'%20d='m48.357%2014.388-64.266%2037.104%2037.104%2064.266%2064.266-37.104z'/%3e%3cpath%20fill='%23f2861c'%20d='M48.655%2014.903-15.61%2052.007l37.104%2064.266L85.76%2079.168z'/%3e%3cpath%20fill='%23f2871d'%20d='m48.958%2015.422-64.266%2037.104%2037.104%2064.266%2064.266-37.105z'/%3e%3cpath%20fill='%23f3881d'%20d='M49.254%2015.937-15.012%2053.04l37.104%2064.266%2064.266-37.104z'/%3e%3cpath%20fill='%23f3891d'%20d='M49.552%2016.456-14.714%2053.56l37.104%2064.266%2064.266-37.104z'/%3e%3cpath%20fill='%23f38a1d'%20d='m49.85%2016.975-64.266%2037.104%2037.104%2064.266%2064.266-37.104z'/%3e%3cpath%20fill='%23f48b1d'%20d='m50.148%2017.49-64.266%2037.103%2037.104%2064.266%2064.266-37.104z'/%3e%3cpath%20fill='%23f48c1d'%20d='m50.448%2018.005-64.266%2037.104%2037.104%2064.266%2064.266-37.104z'/%3e%3cpath%20fill='%23f48d1d'%20d='m50.746%2018.524-64.265%2037.104%2037.104%2064.266L87.85%2082.79%2050.745%2018.524Z'/%3e%3cpath%20fill='%23f48e1e'%20d='m51.045%2019.043-64.266%2037.104%2037.104%2064.266%2064.266-37.104z'/%3e%3cpath%20fill='%23f58f1e'%20d='m51.343%2019.557-64.266%2037.104%2037.104%2064.266%2064.266-37.104z'/%3e%3cpath%20fill='%23f5901e'%20d='M51.645%2020.076-12.62%2057.18l37.104%2064.266L88.75%2084.342z'/%3e%3cpath%20fill='%23f5911e'%20d='m51.941%2020.591-64.266%2037.104%2037.104%2064.266%2064.266-37.104z'/%3e%3cpath%20fill='%23f5921e'%20d='m52.24%2021.11-64.267%2037.105%2037.104%2064.265%2064.266-37.104z'/%3e%3cpath%20fill='%23f6931e'%20d='m52.537%2021.63-64.266%2037.103L25.375%20123l64.266-37.104z'/%3e%3cpath%20fill='%23f6941e'%20d='M52.836%2022.144-11.43%2059.248l37.103%2064.266L89.94%2086.41z'/%3e%3cpath%20fill='%23f6951e'%20d='m53.138%2022.663-64.266%2037.104%2037.104%2064.266%2064.266-37.104z'/%3e%3cpath%20fill='%23f6961f'%20d='m53.434%2023.178-64.266%2037.104%2037.104%2064.266%2064.266-37.104z'/%3e%3cpath%20fill='%23f7971f'%20d='m53.732%2023.697-64.266%2037.104%2037.104%2064.266%2064.266-37.104z'/%3e%3cpath%20fill='%23f7981f'%20d='m54.03%2024.212-64.266%2037.104%2037.104%2064.266%2064.266-37.104z'/%3e%3cpath%20fill='%23f7991f'%20d='M54.328%2024.731-9.938%2061.835%2027.166%20126.1l64.266-37.104z'/%3e%3cpath%20fill='%23f79a1f'%20d='M54.629%2025.246-9.637%2062.35l37.104%2064.266%2064.266-37.104z'/%3e%3cpath%20fill='%23f89b1f'%20d='M54.927%2025.765-9.34%2062.87l37.104%2064.266L92.03%2090.031z'/%3e%3cpath%20fill='%23f89c1f'%20d='M55.225%2026.284-9.041%2063.388l37.104%2064.266L92.329%2090.55z'/%3e%3cpath%20fill='%23f89d20'%20d='M55.523%2026.799-8.743%2063.903l37.104%2064.266%2064.266-37.104z'/%3e%3cpath%20fill='%23f89e20'%20d='M55.825%2027.318-8.44%2064.422l37.103%2064.266L92.93%2091.584z'/%3e%3cpath%20fill='%23f99f20'%20d='M56.121%2027.833-8.144%2064.937l37.103%2064.266%2064.266-37.104-37.103-64.266Z'/%3e%3cpath%20fill='%23f9a020'%20d='M56.42%2028.352-7.846%2065.456l37.104%2064.266%2064.266-37.104z'/%3e%3c/g%3e%3c/g%3e%3c/g%3e%3cdefs%3e%3clinearGradient%20id='b'%20x1='21.262'%20x2='19.269'%20y1='22.242'%20y2='19.124'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23ff9200'/%3e%3cstop%20offset='.21'%20stop-color='%23ff8d00'/%3e%3cstop%20offset='.45'%20stop-color='%23ff7f00'/%3e%3cstop%20offset='.62'%20stop-color='%23ff7100'/%3e%3cstop%20offset='.82'%20stop-color='%23ff5e00'/%3e%3cstop%20offset='1'%20stop-color='%23ff5200'/%3e%3c/linearGradient%3e%3clinearGradient%20id='c'%20x1='20.946'%20x2='18.035'%20y1='22.202'%20y2='16.507'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23ff7100'%20stop-opacity='0'/%3e%3cstop%20offset='.03'%20stop-color='%23ff6d00'%20stop-opacity='.03'/%3e%3cstop%20offset='.21'%20stop-color='%23ff5900'%20stop-opacity='.25'/%3e%3cstop%20offset='.39'%20stop-color='%23ff4800'%20stop-opacity='.42'/%3e%3cstop%20offset='.56'%20stop-color='%23ff3b00'%20stop-opacity='.56'/%3e%3cstop%20offset='.72'%20stop-color='%23ff3200'%20stop-opacity='.66'/%3e%3cstop%20offset='.86'%20stop-color='%23ff2c00'%20stop-opacity='.72'/%3e%3cstop%20offset='.98'%20stop-color='%23ff2b00'%20stop-opacity='.74'/%3e%3c/linearGradient%3e%3cclipPath%20id='a'%3e%3cpath%20fill='%23fff'%20d='M0%200h40v40H0z'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",EFTPOS:"data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cg%20clip-path='url(%23a)'%3e%3cpath%20fill='%23fff'%20d='M0%200h40v40H0z'/%3e%3cmask%20id='b'%20width='31'%20height='33'%20x='5'%20y='3'%20maskUnits='userSpaceOnUse'%20style='mask-type:luminance'%3e%3cpath%20fill='%23fff'%20d='M5.055%203.905h30.83v32H5.055z'/%3e%3c/mask%3e%3cg%20mask='url(%23b)'%3e%3cpath%20fill='%231f0038'%20d='M11.667%2030.811h-1.062V29.75h1.062v-.605c.04-.457.12-.914.564-1.17.189-.107.404-.188.619-.215.363-.04.739-.04%201.115-.067v1.022c-.242.013-.47.027-.712.053-.229.027-.376.202-.39.43%200%20.081-.027.175-.04.256v.228c.47%200%20.94-.013%201.397%200%20.43.014.565-.215.578-.59%200-.202.04-.418.054-.633H15.9v1.25h1.627v1.062H15.9v.9c.014.35.027.686.081%201.022s.323.43.592.443c.309.014.631.04.954.054v1.089c-.632%200-1.277.08-1.895-.121-.47-.148-.753-.51-.834-.995a7%207%200%200%201-.08-.699v-1.666h-1.895v3.48H11.64v-3.493zm7.688%202.944v2.163h-1.25v-6.155h1.075l.094.753c.457-.645%201.075-.9%201.828-.914.537%200%201.048.067%201.505.376.497.336.766.82.847%201.411.04.256.08.511.067.766-.027.645-.188%201.237-.672%201.694-.31.282-.672.457-1.075.537-.619.121-1.25.108-1.828-.174-.215-.108-.403-.296-.605-.444zm1.384-3.132c-.08%200-.229.014-.363.054-.39.094-.712.282-.9.659a1.6%201.6%200%200%200-.121%201.061c.08.444.335.753.752.9.363.122.726.149%201.102.068.403-.08.753-.242.914-.659a1.72%201.72%200%200%200%20.054-1.129%201.5%201.5%200%200%200-.255-.524c-.283-.35-.7-.416-1.183-.43m-10.241%202.285c-.229.632-.632%201.048-1.223%201.29-.377.148-.766.202-1.17.242-.55.054-1.075%200-1.599-.161-.793-.242-1.277-.766-1.398-1.6-.107-.752-.067-1.491.417-2.137a2.26%202.26%200%200%201%201.398-.873c.309-.067.631-.121.94-.108.592.014%201.183.108%201.694.444a2%202%200%200%201%20.914%201.37c.067.35.08.727.107%201.103h-4.3c.08.416.309.712.685.833.538.175%201.089.215%201.626%200%20.175-.067.323-.215.47-.336.041-.027.081-.08.122-.08h1.303zm-4.193-1.384h2.943a.99.99%200%200%200-.699-.86%202.33%202.33%200%200%200-1.357-.014c-.457.135-.78.403-.9.887zm28.532-.377h-1.33c-.189-.47-.592-.591-1.049-.604q-.483%200-.967.08c-.121.027-.242.148-.323.269-.094.148-.013.363.161.403.27.067.538.121.82.148.632.08%201.277.08%201.895.255.968.27%201.035%201.33.632%201.936-.282.416-.712.618-1.17.699-.39.08-.792.12-1.182.107-.565-.013-1.142-.08-1.653-.336-.511-.255-.9-.847-.928-1.357h1.33c.041%200%20.095.04.108.08.095.336.363.484.659.551.484.094.968.108%201.451-.027.27-.067.39-.255.377-.483-.014-.162-.188-.283-.457-.31-.484-.053-.968-.067-1.452-.12-.443-.054-.887-.108-1.276-.336-.336-.202-.524-.484-.551-.874-.027-.376.053-.726.309-.995a2.5%202.5%200%200%201%20.658-.457c.31-.147.659-.174%201.008-.201a4.2%204.2%200%200%201%201.64.161c.699.202%201.129.659%201.303%201.398zm-10.886.928c0-.511.107-.995.39-1.412.35-.524.86-.846%201.465-.98.309-.068.645-.122.954-.108.631.027%201.25.12%201.787.51.47.337.74.793.86%201.345a3%203%200%200%201-.04%201.424c-.148.551-.47.968-.968%201.237-.416.228-.873.309-1.344.362-.618.054-1.21%200-1.774-.201-.739-.269-1.169-.847-1.276-1.653a7%207%200%200%201-.054-.524m1.303%200c-.026.55.175.994.726%201.196.39.148.807.175%201.223.08.282-.067.538-.16.726-.403.296-.43.31-.887.202-1.37a1.16%201.16%200%200%200-.672-.82c-.336-.148-.686-.162-1.035-.121-.282.04-.551.12-.766.322-.323.296-.417.672-.404%201.116m10.631-1.976c0%20.323-.188.524-.497.524-.255%200-.55-.161-.538-.51.014-.404.229-.538.511-.552.269%200%20.538.135.51.538zm-.752-.31c-.175.162-.202.431-.04.592.147.148.403.135.55%200a.406.406%200%200%200%200-.578c-.12-.134-.336-.134-.524%200l.014-.013Z'/%3e%3cpath%20fill='%231f0038'%20d='M35.173%2029.83h.188c.256%200%20.269.027.215.269-.013.08.027.175.054.255h-.094l-.148-.201-.148.242-.067-.027z'/%3e%3cpath%20fill='url(%23c)'%20d='M21.21%207.426c-3.038%201.384-5.094%204.046-5.094%207.096%200%203.858%203.548%206.976%207.93%206.976%202.002%200%203.426-.47%205.066-1.452.175-.107.376-.188.497-.013.08.094.04.215-.013.309-1.801%203.306-5.47%205.604-9.596%205.604-6.088%200-11.02-4.932-11.02-11.02%200-3.481%201.612-6.572%204.125-8.588%201.895-1.52%206.626-1.72%208.104%201.088Z'/%3e%3cpath%20fill='%23e40056'%20d='M29.461%2011.687c0%203.655-3.494%206.625-7.808%206.625-.632%200-2.325-.08-3.548-.658-.35-.161-.31-.363-.068-.457.551-.229%204.892-1.062%204.892-5.51%200-4.449-4.596-7.701-9.824-5.363A10.95%2010.95%200%200%201%2020%203.905c5.12%200%209.461%203.48%209.461%207.782'/%3e%3c/g%3e%3c/g%3e%3cdefs%3e%3clinearGradient%20id='c'%20x1='19.14'%20x2='23.481'%20y1='17.775'%20y2='-2.439'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23e40056'/%3e%3cstop%20offset='.66'%20stop-color='%231f0038'/%3e%3c/linearGradient%3e%3cclipPath%20id='a'%3e%3cpath%20fill='%23fff'%20d='M0%200h40v40H0z'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",ELO:"data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cg%20clip-path='url(%23a)'%3e%3cpath%20fill='%23000'%20d='M40%200H0v40h40z'/%3e%3cpath%20fill='%23fff'%20d='M25.275%2019.986c-.371-1.486-1.56-2.525-2.97-2.822-1.484-.223-2.969.371-3.785%201.634s-.817%202.896%200%204.082l3.71-1.632%201.56-.669zm-5.716%201.113v-.223c0-.89.519-1.707%201.41-2.004a2.2%202.2%200%200%201%202.375.593L19.56%2021.1Zm4.676%202.45c-1.261%201.262-3.192%201.41-4.676.445l.89-1.336a2.24%202.24%200%200%200%202.673-.224zm1.56-.965V15.53h1.336v6.83c0%20.074%200%20.148.074.148l1.188.445-.52%201.412-1.337-.595c-.593-.148-.741-.519-.741-1.188Z'/%3e%3cpath%20fill='%23289ad3'%20d='M7.162%2017.416c-.743.668-1.189%201.633-1.189%202.598s.446%201.93%201.19%202.598l-1.635%201.782c-1.261-1.114-2.004-2.747-1.93-4.454%200-1.707.743-3.267%202.005-4.38-.075%200%201.56%201.856%201.56%201.856Z'/%3e%3cpath%20fill='%23ec442d'%20d='M15.145%2021.122c-.297%201.706-1.336%203.118-2.822%204.009-1.484.89-3.266.965-4.898.37l.815-2.3c.965.37%202.005.296%202.896-.224a3.53%203.53%200%200%200%201.707-2.375z'/%3e%3cpath%20fill='%23fdda2e'%20d='m15.18%2018.798-2.376.52c-.224-.966-.817-1.857-1.707-2.376-.892-.52-1.93-.52-2.896-.224l-.742-2.3a6.1%206.1%200%200%201%204.826.445c1.483.817%202.522%202.301%202.894%203.935Z'/%3e%3cpath%20fill='%23fff'%20d='M30.619%2019.169c-.445.37-.742.965-.742%201.633%200%20.594.298%201.188.742%201.633L29.58%2023.55c-.741-.669-1.188-1.707-1.188-2.747a3.41%203.41%200%200%201%201.262-2.672c0-.075.966%201.039.966%201.039m4.973%202.301c-.223%201.04-.816%201.93-1.781%202.45-.891.52-2.005.594-3.044.297l.52-1.411a2.13%202.13%200%200%200%201.781-.148c.52-.297.891-.817%201.04-1.485zm0-1.411-1.485.372a2.6%202.6%200%200%200-1.039-1.485%202.13%202.13%200%200%200-1.782-.15l-.445-1.41c.965-.37%202.079-.222%202.97.224.89.445%201.558%201.41%201.78%202.449Z'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='a'%3e%3cpath%20fill='%23fff'%20d='M0%200h40v40H0z'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",GIROCARD:"data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cg%20clip-path='url(%23a)'%3e%3cpath%20fill='%23fff'%20d='M40%200H0v40h40z'/%3e%3cpath%20fill='%23004090'%20d='M14.104%2027.649c.25%200%20.332.083.58.083v-.828c-.082%200-.33-.082-.495-.082-.331%200-.828.082-1.159.497a.9.9%200%200%200-.248.413l-.082-.828h-.827c0%20.58.083%201.076.083%201.654v3.226h.91v-2.398c0-.497.082-1.075.495-1.49.249-.247.577-.247.743-.247m-3.222-.745h-.827v4.963h.827zM8.07%2029.386c0%20.083%200%20.578-.248%201.074-.33.496-.743.662-1.156.662-.331%200-.663-.166-.91-.33-.332-.332-.414-.91-.414-1.406%200-.745.248-1.158.578-1.49a1.04%201.04%200%200%201%20.745-.33%201.2%201.2%200%200%201%20.827.33c.578.497.578%201.406.578%201.49m.415%203.803c.33-.496.413-.992.413-1.985v-4.3H8.07v.745c0-.082-.165-.33-.413-.497s-.663-.413-1.157-.413c-.497%200-.91.165-1.076.331-.33.249-.495.414-.578.579-.413.578-.497%201.157-.497%201.737%200%20.165%200%20.578.165%201.074%200%20.084.167.662.663%201.076.247.248.661.413%201.323.413.33%200%20.826-.165%201.157-.413l.331-.332v.663c0%20.247%200%20.413-.083.661-.083.165-.083.248-.248.413-.248.248-.578.413-1.157.413s-1.076-.165-1.241-.248q-.372-.122-.496-.248l-.082.828c.165.081.248.081.413.165a4.3%204.3%200%200%200%201.406.248c.662%200%201.074-.165%201.405-.331.332-.247.496-.414.578-.579m1.406-7.442h.91v-.993h-.91zm8.682%203.555c0%20.578-.165%201.324-.828%201.737-.165.083-.33.165-.66.165-.083%200-.33%200-.579-.165-.083%200-.083-.083-.248-.165-.166-.083-.331-.33-.496-.662s-.165-.662-.165-.991c0-.663.33-1.16.578-1.406.165-.166.496-.331.992-.331.745%200%201.075.496%201.241.909.082.165.165.496.165.91Zm.248%201.986c.578-.579.745-1.324.745-1.986%200-1.24-.663-1.902-1.241-2.232-.248-.083-.578-.248-1.075-.248-1.075%200-1.818.578-2.15%201.157-.248.414-.33.91-.33%201.407%200%20.992.33%201.57.743%201.985.084.081.165.165.332.246.247.167.661.332%201.322.332.497%200%20.826-.084%201.075-.165.083-.165.332-.332.58-.496Zm3.636.578c.58%200%20.91-.165%201.16-.247l-.084-.828c-.165.083-.578.248-.993.248-.081%200-.33%200-.66-.165-.745-.33-.91-1.157-.91-1.653%200-.828.413-1.324.826-1.572.414-.249.744-.165.828-.165.33%200%20.662.165.744.248l.082-.828c-.165%200-.495-.165-.91-.165-.992%200-1.57.413-1.983.91-.415.578-.497%201.24-.497%201.818%200%201.324.745%201.985%201.406%202.317.165%200%20.495.082.991.082m4.633-2.316c0%20.332%200%20.497-.083.663%200%20.082-.082.247-.248.413-.247.413-.662.496-.992.496-.414%200-.909-.248-.909-.827%200-.578.495-.826.91-.91.165%200%20.33-.083.66-.083h.662zm.083%202.234h.743V28.64c0-.496-.082-.91-.247-1.074-.248-.415-.827-.745-1.572-.745-.909%200-1.405.33-1.57.413v.745c.165-.083.744-.496%201.405-.496.579%200%20.993.331%201.075.662.083.165.083.412.083.66h-.744c-.497%200-1.075%200-1.571.248-.413.167-.91.497-.91%201.324%200%20.578.249.91.497%201.156.247.25.661.332.991.332.578%200%20.91-.165%201.159-.33.248-.165.33-.332.495-.497v.745zm3.969-4.135c.248%200%20.331.083.578.083v-.828c-.082%200-.33-.082-.495-.082-.331%200-.827.082-1.159.497a.9.9%200%200%200-.247.413l-.084-.828h-.826c0%20.58.083%201.076.083%201.654v3.226h.91v-2.398c0-.497.083-1.075.496-1.49.248-.247.578-.247.744-.247m4.3%201.737c0%20.083%200%20.413-.083.662-.248.66-.745%201.075-1.322%201.075-.497%200-.91-.249-1.158-.828-.166-.331-.166-.663-.166-.993%200-.081%200-.413.166-.744.33-.91%201.074-.991%201.322-.991.579%200%201.076.413%201.323%201.074-.165.165-.082.413-.082.745m.91%201.405v-6.119h-.91v2.977c-.165-.165-.165-.249-.248-.33-.248-.248-.663-.415-1.24-.415-.166%200-.91%200-1.571.663-.745.826-.663%201.819-.663%201.983%200%20.332.085.745.166%201.076.248.578.827%201.323%201.984%201.323.166%200%20.828%200%201.324-.497l.33-.33v.744h.828V30.79Zm-11.827-20.26h-1.239v.332h.993l2.481%2010.17H13.941l2.481-10.17h.991v-.332h-1.24l-2.728%2010.915h13.891z'/%3e%3cpath%20fill='%2362c6e9'%20d='M22.79%205.901h-4.88a.536.536%200%200%200-.497.497v4.796h.332V6.397c0-.083.081-.164.165-.164h.91v3.472h-.994l1.406%201.489h2.233l1.406-1.489h-.992V6.233h.909c.083%200%20.165.081.165.165v4.796h.331V6.397a.536.536%200%200%200-.495-.496Z'/%3e%3cpath%20fill='%23004090'%20d='M19.315%2017.148h2.15q.249-.002.248-.248l-.083-1.406c0-.166-.165-.248-.248-.248H19.48q-.248%200-.248.248L19.15%2016.9c-.084.165%200%20.246.165.246m-.992-1.9H16.42c-.165%200-.248.082-.331.248l-.247%201.406q0%20.246.247.246h2.15q.248%200%20.248-.246l.083-1.406q0-.25-.248-.248Zm1.074-.496h1.985c.083%200%20.165-.084.165-.248l-.082-1.158c0-.083-.083-.248-.248-.248h-1.819c-.084%200-.249.082-.249.248l-.082%201.156c.082.166.165.25.33.25m-.826-1.49h-1.819c-.083%200-.248.084-.248.166l-.248%201.157c0%20.083.082.167.165.167h1.985c.082%200%20.248-.084.248-.248l.082-1.158c.083%200%200-.083-.165-.083Zm5.706%201.49a.18.18%200%200%200%20.165-.167l-.248-1.156c0-.084-.165-.166-.249-.166h-1.818c-.083%200-.165.083-.165.248l.082%201.157c0%20.084.083.249.248.249h1.985zm-4.797-1.902h1.82a.18.18%200%200%200%20.166-.167l-.083-.909a.18.18%200%200%200-.165-.165h-1.653a.18.18%200%200%200-.167.165l-.082.91c0%20.082%200%20.166.165.166Zm4.384%200a.18.18%200%200%200%20.165-.167l-.165-.909c0-.082-.084-.165-.248-.165h-1.654a.18.18%200%200%200-.167.165l.083.91c0%20.082.084.166.166.166zm-5.128-1.241h-1.654c-.082%200-.165.083-.248.165l-.165.91c0%20.082.083.166.165.166h1.819a.18.18%200%200%200%20.166-.167l.083-.909a.18.18%200%200%200-.166-.165m5.954%205.54q.248%200%20.248-.247l-.248-1.406c0-.166-.165-.248-.332-.248h-1.901q-.247%200-.247.248l.082%201.406c0%20.165.165.246.248.246zm-3.308.497h-2.067a.35.35%200%200%200-.331.33l-.082%201.819c0%20.166.082.331.33.331h2.398a.353.353%200%200%200%20.332-.331l-.248-1.819a.35.35%200%200%200-.332-.331m-3.307.001h-2.15c-.165%200-.33.165-.414.33l-.33%201.819c0%20.166.082.331.247.331h2.398a.353.353%200%200%200%20.332-.331l.165-1.819c.083-.165-.083-.331-.248-.331m7.028.331c0-.165-.165-.331-.413-.331h-2.15c-.165%200-.33.166-.248.331l.166%201.819c0%20.166.165.331.33.331h2.398c.165%200%20.248-.165.248-.331z'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='a'%3e%3cpath%20fill='%23fff'%20d='M0%200h40v40H0z'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",HIPERCARD:"data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cg%20clip-path='url(%23a)'%3e%3cpath%20fill='%23b32024'%20d='M40%200H0v40h40z'/%3e%3cpath%20fill='%23fefefe'%20d='M9.504%2013c-1.615.06-2.692.778-2.991%201.855-.12.359-.18.658-.3%201.196v.12c-.06.359-.119.479-.119.658-.24%201.137-.479%202.274-.778%203.71l-.478%202.572c-.3%201.496-.479%202.513-.718%203.47L4%2027h25.906c1.615%200%203.35-.24%203.77-2.034.119-.479.238-.957.418-1.915l.12-.538c.06-.18.778-3.71.957-4.727L36.128%2013zm24.47%207.479c-.239%201.136-.359%201.675-.359%201.974h-.06l-.12.479a34%2034%200%200%201-.418%201.854c-.24.958-.838%201.556-3.17%201.556H4.716c.18-.898.36-1.795.6-3.111l.538-2.513c.299-1.436.538-2.633.777-3.71.06-.179.06-.358.12-.717v-.12l.24-1.197c.239-.897%201.136-1.376%202.452-1.436H35.29z'/%3e%3cpath%20fill='%23fefefe'%20d='M32.419%2018.684c-1.735-.539-2.752.718-2.752%202.273%200%20.3.06.598.239.838.3.359%201.256.479%201.735.12.12-.06.18-.18.24-.24s.119-.18.119-.18c0%20.18-.06.3-.06.48h.658c.12-1.736.479-3.231.778-4.847h-.718c-.06.539-.179%201.077-.239%201.556m-1.317%202.931c-.48%200-.718-.299-.718-.777%200-.838.358-1.795%201.076-1.855.36-.06.599.06.838.12-.24.957-.119%202.512-1.196%202.512m-6.042-2.991c-.06.18-.06.359-.12.538.419-.12%201.675-.418%201.795.12.06.18%200%20.359-.06.538-1.137-.12-2.094.06-2.333.898-.18.538%200%201.077.359%201.256.658.3%201.496-.06%201.795-.478%200%20.18-.06.299-.06.538h.598c0-.598.12-1.017.18-1.555.06-.42.239-.898.18-1.257-.06-.957-1.496-.658-2.334-.598m1.137%202.692c-.36.36-1.376.479-1.257-.418.06-.718.838-.838%201.675-.718-.06.418-.12.897-.418%201.136m-10.889-2.692c-.599-.24-1.316.06-1.616.3%200-.12.06-.18.06-.3h-.598c-.24%201.675-.539%203.29-.838%204.906h.658c.12-.598.18-1.256.3-1.855.179.599%201.196.479%201.615.24.957-.539%201.675-2.872.419-3.291m-.539%202.752c-.359.419-1.316.419-1.376-.299-.06-.3.06-.598.12-.897s.12-.599.12-.838c.359-.479%201.435-.479%201.555.24.12.657-.12%201.435-.419%201.794m-4.188-4.128c-.12.658-.24%201.256-.299%201.914-.718%200-1.436.06-2.154%200%20.12-.598.24-1.256.36-1.914H7.65c-.3%201.555-.539%203.17-.838%204.726h.778c.12-.777.24-1.615.419-2.333.658%200%201.495-.06%202.153%200-.12.778-.299%201.556-.418%202.333h.777c.24-1.615.539-3.17.838-4.726zm1.975.718c.12-.12.299-.539.12-.718-.06-.06-.18-.06-.3-.06s-.24.06-.299.12c-.06.12-.18.478-.06.598.12.18.419.12.539.06m-.718.658q-.24%201.685-.599%203.35h.718c.18-1.136.36-2.273.598-3.35zm10.35%202.573c-.06-.18-.06-.42-.06-.659.06-.478.18-1.017.479-1.316.359-.359%201.077-.299%201.675-.12%200-.179.06-.358.06-.538-.957-.18-1.855-.06-2.333.419-.48.478-.778%201.615-.539%202.333.24.838%201.376.838%202.274.539.06-.18.06-.36.12-.539-.48.3-1.437.48-1.676-.119m-.358-2.573c-.6-.24-1.078.18-1.317.538.06-.179.06-.359.12-.538h-.599q-.24%201.685-.598%203.35h.718c.12-.658.12-1.555.359-2.153.18-.48.598-.958%201.256-.718%200-.18.001-.3.061-.479'/%3e%3cpath%20fill='%23fefefe'%20d='M17.94%2018.564c-.479.06-.957.18-1.256.479-.36.419-.658%201.256-.599%202.034.12%201.137%201.496%201.077%202.633.838%200-.18.06-.36.12-.539-.48.18-1.257.419-1.736.12-.358-.24-.358-.778-.239-1.316h2.274c.06-.36.18-.718.06-1.077-.06-.479-.659-.599-1.257-.539m.718%201.197h-1.615c.06-.36.419-.778.897-.838.479.06.838.24.718.838m11.368-1.137c-.599-.3-1.137.18-1.317.538.06-.18.06-.359.12-.538h-.598c-.18%201.137-.36%202.274-.599%203.35h.718c0-.418.12-.777.18-1.196.12-.958.359-1.975%201.436-1.675%200-.12%200-.3.06-.479'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='a'%3e%3cpath%20fill='%23fff'%20d='M0%200h40v40H0z'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",JCB:"data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%3e%3cpath%20fill='%23fff'%20d='M0%200h40v40H0z'/%3e%3cpath%20fill='%23fff'%20d='M39.867%2028.887c0%203.4-2.77%206.17-6.17%206.17H.134V10.623a6.18%206.18%200%200%201%206.17-6.17h33.564v24.433Z'/%3e%3cpath%20fill='url(%23a)'%20d='M28.938%2022.621h2.55c.073%200%20.243-.024.316-.024.485-.097.898-.534.898-1.141a1.18%201.18%200%200%200-.898-1.142c-.073-.024-.22-.024-.316-.024h-2.55z'/%3e%3cpath%20fill='url(%23b)'%20d='M31.196%206.52a4.42%204.42%200%200%200-4.42%204.42v4.59h6.242c.145%200%20.316%200%20.437.024%201.409.073%202.453.801%202.453%202.064%200%20.996-.705%201.846-2.016%202.016v.049c1.433.097%202.526.898%202.526%202.137%200%201.336-1.215%202.21-2.817%202.21h-6.85v8.986h6.485a4.42%204.42%200%200%200%204.42-4.42V6.519h-6.46Z'/%3e%3cpath%20fill='url(%23c)'%20d='M32.386%2017.91c0-.583-.413-.972-.898-1.045-.049%200-.17-.024-.243-.024h-2.307v2.137h2.307c.073%200%20.218%200%20.243-.024.486-.073.898-.461.898-1.044'/%3e%3cpath%20fill='url(%23d)'%20d='M6.764%206.52a4.42%204.42%200%200%200-4.42%204.42v10.904c1.238.607%202.525.996%203.813.996%201.53%200%202.355-.923%202.355-2.186v-5.149h3.79v5.125c0%201.991-1.24%203.619-5.441%203.619-2.55%200-4.542-.559-4.542-.559v9.302h6.485a4.42%204.42%200%200%200%204.42-4.42V6.519h-6.46Z'/%3e%3cpath%20fill='url(%23e)'%20d='M18.98%206.52a4.42%204.42%200%200%200-4.42%204.42v5.78c1.117-.948%203.06-1.555%206.193-1.409%201.676.073%203.473.534%203.473.534v1.87c-.899-.461-1.967-.874-3.352-.971-2.38-.17-3.813.996-3.813%203.036%200%202.064%201.433%203.23%203.813%203.036%201.385-.098%202.453-.535%203.352-.972v1.87s-1.773.462-3.473.535c-3.133.145-5.076-.462-6.193-1.41V33.04h6.484a4.42%204.42%200%200%200%204.42-4.42V6.52z'/%3e%3cdefs%3e%3clinearGradient%20id='a'%20x1='26.772'%20x2='37.686'%20y1='21.459'%20y2='21.459'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23007940'/%3e%3cstop%20offset='.229'%20stop-color='%2300873f'/%3e%3cstop%20offset='.743'%20stop-color='%2340a737'/%3e%3cstop%20offset='1'%20stop-color='%235cb531'/%3e%3c/linearGradient%3e%3clinearGradient%20id='b'%20x1='26.772'%20x2='37.686'%20y1='19.757'%20y2='19.757'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23007940'/%3e%3cstop%20offset='.229'%20stop-color='%2300873f'/%3e%3cstop%20offset='.743'%20stop-color='%2340a737'/%3e%3cstop%20offset='1'%20stop-color='%235cb531'/%3e%3c/linearGradient%3e%3clinearGradient%20id='c'%20x1='26.772'%20x2='37.686'%20y1='17.907'%20y2='17.907'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23007940'/%3e%3cstop%20offset='.229'%20stop-color='%2300873f'/%3e%3cstop%20offset='.743'%20stop-color='%2340a737'/%3e%3cstop%20offset='1'%20stop-color='%235cb531'/%3e%3c/linearGradient%3e%3clinearGradient%20id='d'%20x1='2.338'%20x2='13.421'%20y1='19.757'%20y2='19.757'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%231f286f'/%3e%3cstop%20offset='.475'%20stop-color='%23004e94'/%3e%3cstop%20offset='.826'%20stop-color='%230066b1'/%3e%3cstop%20offset='1'%20stop-color='%23006fbc'/%3e%3c/linearGradient%3e%3clinearGradient%20id='e'%20x1='14.497'%20x2='25.261'%20y1='19.757'%20y2='19.757'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%236c2c2f'/%3e%3cstop%20offset='.173'%20stop-color='%23882730'/%3e%3cstop%20offset='.573'%20stop-color='%23be1833'/%3e%3cstop%20offset='.859'%20stop-color='%23dc0436'/%3e%3cstop%20offset='1'%20stop-color='%23e60039'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e",MAESTRO:"data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cg%20clip-path='url(%23a)'%3e%3cpath%20fill='%23000'%20d='M0%200h40v40H0z'/%3e%3cpath%20fill='%23ff000f'%20fill-rule='evenodd'%20d='M15.097%2027.5c4.045%200%207.403-3.358%207.403-7.403%200-4.239-3.358-7.597-7.403-7.597-4.239%200-7.597%203.358-7.597%207.597%200%204.045%203.358%207.403%207.597%207.403'%20clip-rule='evenodd'/%3e%3cpath%20fill='%2300a2e1'%20fill-rule='evenodd'%20d='M25.097%2027.5c4.045%200%207.403-3.358%207.403-7.403%200-4.239-3.358-7.597-7.403-7.597-4.239%200-7.597%203.358-7.597%207.597%200%204.045%203.358%207.403%207.597%207.403'%20clip-rule='evenodd'/%3e%3cpath%20fill='%23e7001a'%20fill-rule='evenodd'%20d='M20.015%2014.42c-1.55%201.383-2.515%203.403-2.515%205.677%200%202.17.966%204.14%202.515%205.503%201.52-1.362%202.485-3.334%202.485-5.503a7.65%207.65%200%200%200-2.485-5.678Z'%20clip-rule='evenodd'%20opacity='.3'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='a'%3e%3cpath%20fill='%23fff'%20d='M0%200h40v40H0z'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",MASTERCARD:"data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%3e%3cg%20clip-path='url(%23a)'%3e%3cpath%20fill='%23000'%20d='M0%200h40v40H0z'/%3e%3cpath%20fill='%23e7001a'%20fill-rule='evenodd'%20d='M15.097%2027.5c4.045%200%207.403-3.358%207.403-7.403%200-4.239-3.358-7.597-7.403-7.597-4.239%200-7.597%203.358-7.597%207.597%200%204.045%203.358%207.403%207.597%207.403'%20clip-rule='evenodd'/%3e%3cpath%20fill='%23f49b1c'%20fill-rule='evenodd'%20d='M25.097%2027.5c4.045%200%207.403-3.358%207.403-7.403%200-4.239-3.358-7.597-7.403-7.597-4.239%200-7.597%203.358-7.597%207.597%200%204.045%203.358%207.403%207.597%207.403'%20clip-rule='evenodd'/%3e%3cpath%20fill='%23e7001a'%20fill-rule='evenodd'%20d='M20.015%2014.42c-1.55%201.383-2.515%203.403-2.515%205.677%200%202.17.966%204.14%202.515%205.503%201.52-1.362%202.485-3.334%202.485-5.503a7.65%207.65%200%200%200-2.485-5.678Z'%20clip-rule='evenodd'%20opacity='.3'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='a'%3e%3cpath%20fill='%23fff'%20d='M0%200h40v40H0z'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",NYCE:"data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cg%20clip-path='url(%23a)'%3e%3cpath%20fill='%23fff'%20d='M0%200h40v40H0z'/%3e%3cg%20clip-path='url(%23b)'%3e%3cpath%20fill='%23ed1a2b'%20d='M34.373%2027.463%2038%2013H5.627L2%2027.463z'/%3e%3cpath%20fill='%23fff'%20d='m12.39%2013-1.101%204.346L9.71%2013H7.406l-1.98%207.898H7.85l1.05-4.323%201.475%204.323h2.356L14.78%2013zm10.474%200h-2.78l-1.85%202.676L17.492%2013h-2.644l1.698%204.995-.708%202.903h2.538l.733-2.92zm11.632%204.847.434-1.729h-3.17l.29-1.152h3.677L36.22%2013h-6.05l-1.98%207.898h6l.425-1.695h-3.627l.34-1.356zm1.92-4.008c0-.292.22-.51.502-.51.278%200%20.496.218.496.51a.495.495%200%200%201-.496.513.497.497%200%200%201-.502-.513m.502.614c.335%200%20.62-.259.62-.614a.61.61%200%200%200-.62-.612.613.613%200%201%200%200%201.226m-.13-.566h.123l.187.307h.12l-.2-.311c.103-.013.183-.068.183-.196%200-.14-.083-.201-.25-.201h-.27v.708h.107zm0-.09v-.22h.147c.074%200%20.154.016.154.104%200%20.11-.082.116-.172.116z'/%3e%3cpath%20fill='%23fff'%20d='M21.152%2017.067c-.627%202.343%201.05%204.244%202.72%204.244%203.29%200%204.112-1.408%204.677-3.294h-2.211c-.326.807-.828%201.37-1.908%201.37-.84%200-1.244-1.039-.901-2.32s1.08-2.319%202.142-2.319c.766%200%201.113.564%201.108%201.37h2.208c.148-1.495-.396-2.689-1.686-3.118h-2.773c-2.158.517-2.86%202.141-3.376%204.067'/%3e%3c/g%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='a'%3e%3cpath%20fill='%23fff'%20d='M0%200h40v40H0z'/%3e%3c/clipPath%3e%3cclipPath%20id='b'%3e%3cpath%20fill='%23fff'%20d='M2%2013h36v14.463H2z'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",PULSE:"data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cg%20clip-path='url(%23a)'%3e%3cpath%20fill='%23fff'%20d='M0%200h40v40H0z'/%3e%3cmask%20id='b'%20width='35'%20height='13'%20x='3'%20y='14'%20maskUnits='userSpaceOnUse'%20style='mask-type:luminance'%3e%3cpath%20fill='%23fff'%20d='M3%2014h34.25v12.454H3z'/%3e%3c/mask%3e%3cg%20mask='url(%23b)'%3e%3cmask%20id='c'%20width='36'%20height='18'%20x='2'%20y='13'%20maskUnits='userSpaceOnUse'%20style='mask-type:luminance'%3e%3cpath%20fill='%23fff'%20d='M2.929%2013.919H37.32V30.12H2.93z'/%3e%3c/mask%3e%3cg%20mask='url(%23c)'%3e%3cpath%20fill='%23231f20'%20fill-rule='evenodd'%20d='m20.897%2023.93%201.284-8.598c.087-.517.04-1.277-.83-1.332h-1.3l-1.486%209.93zm-3.127%200%20.967-6.494h-2.312l-.637%204.29H14.24c-.313%200-.579-.203-.517-.589l.354-2.357c.073-.48.115-1.34-.68-1.344h-1.465l-.643%204.295c-.195%201.437.558%202.199%201.51%202.199zM5.945%2021.72h1.836c.45%200%20.87-.371.93-.82l.081-.547c.102-.547-.256-.881-.706-.881H6.282zm-.33%202.21-.377%202.524c-.025-.009-2.238%200-2.238%200l1.346-9.018H8.68c1.475%200%202.513%201.19%202.318%202.666l-.17%201.13c-.195%201.476-1.573%202.698-3.049%202.698z'%20clip-rule='evenodd'/%3e%3cpath%20fill='%23231f20'%20d='m34.447%2019.748.035-.257a.33.33%200%200%200-.333-.386h-1.792a.46.46%200%200%200-.44.386l-.036.257zm-3.758%204.182c-.884%200-1.564-.718-1.444-1.603l.484-3.245c.12-.884.96-1.646%201.844-1.646h3.672c.896%200%201.523.762%201.403%201.646l-.328%202.194h-4.664l-.096.644h3.793c.587-.005.782.532.707%201.102l-.136.908z'/%3e%3cpath%20fill='%23ee7623'%20d='m6.08%2026.454.236-1.658h29.482l-.139.967c-.074.47-.315.69-.694.69z'/%3e%3cpath%20fill='%23231f20'%20d='M24.085%2017.436c-.83%200-1.509.732-1.64%201.614l-.122.808c-.112.854.348%201.571%201.139%201.614q.037.003.076.003h2.848l-.072.448h-3.21c-.576.002-1.138.058-1.21.639l-.21%201.368h5.164c.85%200%201.644-.565%201.76-1.446l.167-1.11c.116-.88-.49-1.616-1.341-1.616H24.47l.055-.418h3.383c.853%200%201.118-.105%201.234-.739l.174-1.165z'/%3e%3c/g%3e%3c/g%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='a'%3e%3cpath%20fill='%23fff'%20d='M0%200h40v40H0z'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",STAR:"data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cg%20clip-path='url(%23a)'%3e%3cpath%20fill='%23fff'%20d='M0%200h40v40H0z'/%3e%3cpath%20fill='%23ba0c2f'%20d='M35.957%2028.373c-.021-.062-.064-.104-.106-.146-.043-.042-.086-.084-.15-.104-.064-.021-.106-.042-.17-.042s-.128%200-.171.042c-.064.02-.107.062-.15.104a.4.4%200%200%200-.106.146c-.021.063-.043.105-.043.167s0%20.126.043.167a.36.36%200%200%200%20.107.146.4.4%200%200%200%20.149.105c.064.02.107.042.17.042.065%200%20.107%200%20.171-.042a.4.4%200%200%200%20.15-.105c.042-.041.064-.083.106-.146.022-.062.043-.104.043-.167%200-.062%200-.125-.043-.167m-.042.334c0%20.042-.043.084-.086.125a.4.4%200%200%201-.128.084c-.042%200-.106.02-.149.02s-.107%200-.15-.02c-.042%200-.085-.042-.127-.084-.043-.041-.064-.083-.086-.125%200-.041-.021-.104-.021-.146s0-.104.021-.146c0-.042.043-.084.086-.125a.4.4%200%200%201%20.128-.084c.042%200%20.106-.02.149-.02a.4.4%200%200%201%20.15.02c.042%200%20.085.042.127.084.043.041.064.083.086.125%200%20.042.021.104.021.146s0%20.105-.021.146m-17.558-7.954c-.17-.773%200-1.504%200-1.504h-8.32s-2.154-.396-3.328-.104c-.853.209-2.176.689-2.517%202.276-.277%201.315.384%202.213.853%202.651.47.418%202.624%201.316%202.774%201.357.234.084%201.173.543.938%201.504-.192.73-1.173.918-1.408.918s-1.813.126-2.24-1.482h-.597S4.491%2027.12%204%2028.31c0%200%20.832.71%202.987.689.128%200%202.602%200%203.669-1.775%201.173-1.984-.533-3.362-.533-3.362-.704-.605-2.795-1.44-2.795-1.44-1.664-.647-1.003-2.109-.15-2.234.79-.105%201.494-.084%202.817.543%200%200%202.218-.272%202.816-.188v8.31s.981-.21%202.709%200v-8.29c.49-.104%202.816.21%202.816.21zm17.43%207.683c0-.042%200-.084-.064-.105-.043-.02-.086-.041-.171-.041h-.192v.5h.085v-.229h.107l.107.23h.106l-.106-.23c.042%200%20.064-.02.085-.042a.16.16%200%200%200%20.043-.083m-.128.063h-.192v-.168h.085c.043%200%20.085%200%20.107.021.021%200%20.042.042.042.063s0%20.042-.021.063l-.021.02ZM17.632%2014.405c4.736-.73%207.36-.605%207.36-.605v-.439s-5.93.126-10.39.794C5.494%2015.49%204%2018.143%204%2018.143h6.57s1.153-2.819%207.062-3.738m16.085%207.162c0-2.568-3.498-2.318-3.498-2.318h-4.054v9.02l-4.288-9.145s-.832.104-1.365%200c0%200-4.608%209.688-4.63%209.688.833-.146%201.857%200%201.857%200l1.13-2.777h3.392l1.11%202.818s1.344-.25%202.858%200c.896-.208%202.688-.02%202.688-.02v-4.05l2.731%204.07c1.579-.23%203.264%200%203.264%200l-3.456-4.655s2.304-.439%202.304-2.59zm-14.293%203.278%201.173-2.568%201.152%202.568zm11.307-1.984c-.47.835-1.878.752-1.878.752v-3.32s1.43-.167%201.835.501c.555.919.043%202.067.043%202.067M30.112%2010l-1.13%203.382h-3.649l2.966%202.026-1.174%203.361%202.987-2.109%202.987%202.088-1.174-3.34%202.966-2.026h-3.67z'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='a'%3e%3cpath%20fill='%23fff'%20d='M0%200h40v40H0z'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",UNION_PAY:"data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%3e%3cpath%20fill='%23fff'%20d='M0%200h40v40H0z'/%3e%3cpath%20fill='%23e21836'%20d='M9.037%208.75h8.969c1.252%200%202.03%201.02%201.738%202.277L15.57%2028.954c-.295%201.252-1.548%202.273-2.801%202.273H3.8c-1.25%200-2.03-1.02-1.739-2.273L6.24%2011.027C6.53%209.77%207.784%208.75%209.037%208.75'/%3e%3cpath%20fill='%2300447c'%20d='M17.26%208.75h10.314c1.252%200%20.687%201.02.393%202.277l-4.175%2017.927c-.293%201.252-.202%202.273-1.456%202.273H12.022c-1.255%200-2.031-1.02-1.736-2.273l4.175-17.927c.296-1.256%201.546-2.277%202.799-2.277'/%3e%3cpath%20fill='%23007b84'%20d='M27.165%208.75h8.968c1.254%200%202.033%201.02%201.738%202.277l-4.175%2017.927c-.294%201.252-1.549%202.273-2.802%202.273h-8.965c-1.254%200-2.032-1.02-1.738-2.273l4.175-17.927c.292-1.256%201.544-2.277%202.799-2.277'/%3e%3cpath%20fill='%23fefefe'%20d='M11.38%2014.495c-.923.01-1.195%200-1.282-.02-.034.159-.656%203.03-.658%203.032-.134.581-.231.995-.562%201.262a1%201%200%200%201-.662.23c-.41%200-.648-.202-.688-.587l-.007-.133.124-.782s.653-2.616.77-2.962l.01-.04c-1.272.012-1.497%200-1.513-.02-.008.028-.04.19-.04.19l-.667%202.95-.057.25-.11.817c0%20.243.047.44.142.608.304.531%201.17.61%201.66.61.633%200%201.225-.133%201.626-.378.695-.411.877-1.053%201.04-1.624l.074-.293s.673-2.717.787-3.07c.005-.02.007-.03.012-.04Zm2.289%202.193a1.8%201.8%200%200%200-.725.17c-.097.049-.188.106-.284.163l.087-.314-.048-.053c-.565.115-.691.13-1.213.203l-.043.03c-.06.502-.115.88-.34%201.866q-.128.548-.262%201.094l.024.046c.534-.028.696-.028%201.16-.02l.038-.041c.06-.303.067-.373.198-.986.061-.29.19-.928.253-1.155.116-.054.23-.107.34-.107.26%200%20.228.227.218.318-.011.152-.106.648-.203%201.074l-.065.275c-.045.203-.095.4-.14.602l.02.04c.526-.028.687-.028%201.137-.02l.053-.041c.081-.473.105-.599.25-1.286l.072-.316c.14-.619.212-.932.105-1.187-.113-.286-.383-.355-.632-.355m2.558.647c-.28.053-.46.09-.637.113-.176.028-.347.053-.618.09l-.021.02-.02.016c-.028.201-.048.376-.085.58-.032.212-.08.453-.16.799a3%203%200%200%201-.128.45c-.034.093-.072.184-.141.444l.016.024.014.022c.253-.012.418-.02.588-.022.17-.006.346%200%20.618.002l.024-.02.026-.021c.04-.235.045-.298.07-.413.023-.123.064-.293.165-.747l.15-.644.156-.644-.007-.025zm.005-.873c-.254-.15-.7-.102-1.001.105-.3.203-.334.492-.08.644.25.146.698.103.996-.107.299-.207.336-.493.085-.642m1.54%203.478c.514%200%201.042-.142%201.44-.563.305-.341.445-.85.493-1.058.158-.694.035-1.018-.12-1.215-.234-.3-.649-.397-1.08-.397-.258%200-.875.026-1.356.47-.346.32-.506.755-.602%201.171-.098.425-.21%201.19.493%201.474.217.093.53.118.731.118Zm-.04-1.56c.118-.525.258-.966.616-.966.28%200%20.3.328.176.855-.023.117-.125.552-.263.737-.097.136-.211.22-.338.22-.037%200-.261%200-.264-.333a2.3%202.3%200%200%201%20.072-.513Zm3.26%201.493.04-.041c.058-.303.067-.374.193-.986.063-.29.194-.928.256-1.155.116-.054.229-.107.341-.107.259%200%20.227.227.217.318-.01.152-.104.648-.203%201.074l-.061.275c-.047.203-.099.4-.144.602l.02.04a12%2012%200%200%201%201.135-.02l.055-.041c.08-.473.1-.599.25-1.286l.07-.316c.142-.619.214-.932.109-1.187-.116-.286-.389-.355-.634-.355-.162%200-.46.039-.725.17-.095.049-.19.106-.283.163l.082-.314-.044-.053c-.564.115-.693.13-1.214.203l-.04.03c-.063.502-.115.879-.34%201.866a121%20121%200%200%201-.262%201.094l.024.046c.535-.028.695-.028%201.158-.02m3.884.02c.033-.162.23-1.123.232-1.123%200%200%20.168-.706.179-.732%200%200%20.053-.073.106-.102h.077c.735%200%201.564%200%202.214-.478.442-.328.744-.812.88-1.4.034-.145.06-.317.06-.488%200-.226-.045-.449-.176-.623-.331-.464-.991-.472-1.753-.476l-.376.004c-.975.012-1.366.008-1.527-.011l-.039.197-.35%201.622-.874%203.604c.851-.01%201.2-.01%201.347.006m.647-2.876.37-1.61.012-.082.005-.064.149.016.784.067c.302.117.427.419.34.812a1.18%201.18%200%200%201-.613.808c-.247.124-.549.134-.86.134h-.202zm2.313%201.393c-.098.418-.211%201.183.488%201.455.223.095.423.123.626.113.215-.012.413-.12.597-.274l-.05.19.032.042c.503-.021.66-.021%201.204-.017l.05-.038c.08-.468.154-.922.361-1.817q.15-.642.305-1.28l-.016-.047c-.563.104-.713.127-1.255.203l-.04.034-.017.127a.77.77%200%200%200-.395-.325c-.24-.094-.806.028-1.292.47-.341.316-.505.749-.598%201.164m1.182.026c.12-.516.258-.953.617-.953.227%200%20.346.21.322.566l-.065.29q-.055.228-.113.457a1.1%201.1%200%200%201-.132.267c-.092.13-.312.212-.438.212-.036%200-.257%200-.265-.326a2.2%202.2%200%200%201%20.074-.514Zm6.171-1.703-.043-.05c-.557.113-.658.13-1.17.2l-.037.038-.006.024-.002-.009c-.38.879-.37.69-.68%201.38l-.003-.084-.078-1.5-.048-.049c-.584.113-.597.13-1.136.2l-.042.038c-.006.017-.006.037-.01.059l.004.007c.067.344.051.268.119.81.031.267.073.535.105.798.053.44.083.658.148%201.33-.364.6-.45.827-.8%201.354l.002.005-.247.39c-.028.041-.053.07-.09.082a.4.4%200%200%201-.16.023h-.137l-.204.675.697.012c.41-.002.666-.193.805-.45l.438-.75h-.007l.046-.053c.294-.635%202.536-4.48%202.536-4.48m-7.353%208.871h-.296l1.094-3.618h.363l.115-.373.011.415c-.013.256.188.483.718.446h.612l.211-.697h-.23q-.198.002-.187-.105l-.01-.422h-1.135v.002c-.366.008-1.461.036-1.683.095-.268.069-.55.272-.55.272l.11-.373h-1.06l-.221.74-1.109%203.674h-.215l-.211.691h2.113l-.071.231h1.04l.07-.23h.292zm-.867-2.883c-.17.047-.486.19-.486.19l.281-.925h.843l-.203.674s-.26.015-.435.061m.016%201.322s-.264.033-.439.072a4%204%200%200%200-.493.216l.29-.962h.847zm-.472%201.57h-.845l.245-.812h.843zm2.036-2.244h1.218l-.175.567h-1.234l-.186.62h1.08l-.817%201.152a.34.34%200%200%201-.166.138.5.5%200%200%201-.22.063h-.3l-.205.68h.784c.407%200%20.648-.186.826-.43l.56-.767.12.78c.026.145.131.23.203.264.078.04.159.107.274.117q.182.009.27.01h.385l.232-.76h-.152c-.087%200-.238-.015-.263-.043-.026-.033-.026-.084-.04-.162l-.122-.781h-.5l.22-.261h1.232l.19-.62H30.62l.178-.567h1.137l.211-.7h-3.39zM18.257%2025.77l.284-.946h1.17l.213-.704h-1.17l.179-.582h1.143l.212-.682h-2.86l-.208.682h.65l-.174.582h-.652l-.216.716h.65l-.379%201.252c-.051.165.024.228.072.305a.31.31%200%200%200%20.21.153c.114.026.192.041.299.041h1.318l.234-.78-.584.08c-.113%200-.425-.013-.39-.117Zm.134-4.53-.296.536a.6.6%200%200%201-.172.223q-.069.041-.265.04h-.154l-.207.685h.514c.246%200%20.436-.09.526-.136.098-.052.123-.022.198-.095l.174-.15h1.603l.212-.713h-1.173l.205-.39zm2.367%204.544c-.028-.04-.008-.11.034-.253l.438-1.45h1.558c.227-.004.391-.006.498-.014q.172-.017.375-.126a.7.7%200%200%200%20.272-.252c.068-.092.176-.296.27-.61l.55-1.834-1.617.01s-.498.073-.717.154c-.222.09-.538.343-.538.343l.146-.503h-.999l-1.398%204.639q-.077.27-.091.389c-.003.085.107.168.177.232.084.063.208.052.327.063.125.01.302.015.547.015h.768l.235-.796-.687.065a.18.18%200%200%201-.148-.072m.754-2.683h1.637l-.104.326c-.014.008-.05-.016-.216.004h-1.417zm.328-1.094h1.651l-.119.393s-.778-.008-.902.015c-.549.095-.869.388-.869.388l.24-.796Zm1.242%202.513a.18.18%200%200%201-.065.1q-.048.031-.167.03h-.234l.014-.398h-.97l-.04%201.942c0%20.14.013.221.115.286.103.081.419.092.844.092h.608l.22-.727-.53.029-.176.01a.2.2%200%200%201-.073-.045c-.022-.022-.06-.009-.053-.149l.004-.497.555-.023c.3%200%20.428-.098.537-.19.104-.09.138-.192.178-.33l.093-.441h-.763z'/%3e%3c/svg%3e",VISA:"data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%3e%3cg%20clip-path='url(%23a)'%3e%3cpath%20fill='%231b16e6'%20d='M0%200h40v40H0z'/%3e%3cpath%20fill='%23fff'%20fill-rule='evenodd'%20d='M19.912%2018.197c-.018%201.393%201.253%202.17%202.21%202.632.983.475%201.313.779%201.31%201.203-.008.649-.785.935-1.512.946-1.269.02-2.006-.339-2.593-.61l-.457%202.119c.588.268%201.678.503%202.808.513%202.652%200%204.386-1.297%204.396-3.309.01-2.552-3.563-2.693-3.539-3.834.009-.346.342-.715%201.072-.81.361-.047%201.359-.083%202.49.433l.443-2.05a6.8%206.8%200%200%200-2.362-.43c-2.496%200-4.252%201.315-4.266%203.197m10.893-3.02c-.484%200-.892.28-1.074.71l-3.788%208.963h2.65l.527-1.445h3.239l.305%201.444H35l-2.038-9.672zm.372%202.613.765%203.632h-2.094zM16.7%2015.177l-2.09%209.672h2.526l2.088-9.672zm-3.736%200-2.628%206.583-1.064-5.598c-.124-.625-.617-.985-1.164-.985H3.81l-.06.28c.882.19%201.884.496%202.491.823.372.2.478.375.6.85l2.013%207.72h2.67l4.091-9.673h-2.652Z'%20clip-rule='evenodd'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='a'%3e%3cpath%20fill='%23fff'%20d='M0%200h40v40H0z'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",V_PAY:"data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%3e%3cg%20clip-path='url(%23a)'%3e%3cpath%20fill='%231c3378'%20d='M0%200h40v40H0z'/%3e%3cpath%20fill='%231c3378'%20d='M38.753%200H2v39.754h36.753z'/%3e%3cpath%20fill='%23fff'%20d='M36.957%2025.94H2.043V1.04h34.914z'/%3e%3cpath%20fill='%231c3378'%20d='m28.331%205.56-6.85%2016.327h-4.476L13.634%208.855c-.203-.8-.383-1.095-1.003-1.436-1.021-.547-2.7-1.065-4.176-1.388l.099-.47h7.197c.918%200%201.744.608%201.952%201.66l1.784%209.448%204.4-11.108h4.444Z'/%3e%3cpath%20fill='%23fff'%20d='M11.773%2032.32c.163.045.38.058.65.058.994%200%201.601-.51%201.601-1.398%200-.844-.561-1.295-1.484-1.295a3.5%203.5%200%200%200-.767.07zm-1.318-3.535c.476-.09%201.136-.157%202.034-.157.974%200%201.685.213%202.15.619.433.371.714.966.714%201.68%200%20.717-.217%201.313-.628%201.72-.53.55-1.361.81-2.302.81-.246%200-.476-.014-.65-.046v2.862h-1.318zm9.903%204.29-.572-1.869c-.142-.461-.26-.98-.369-1.42h-.021c-.107.44-.217.972-.345%201.42l-.562%201.87h1.87Zm-2.085%201.046-.628%202.152h-1.372l2.334-7.59h1.698l2.369%207.59h-1.428l-.66-2.152zm7.2%202.152v-3.166l-2.302-4.423h1.51l.878%201.946c.248.566.43.99.628%201.51h.019c.184-.485.393-.958.639-1.51l.877-1.946h1.502l-2.422%204.391v3.198z'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='a'%3e%3cpath%20fill='%23fff'%20d='M0%200h40v40H0z'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e"},ta={class:"flex h-full grow flex-col justify-center"},oa=e.defineComponent({__name:"PaymentMethodCard",props:{paymentMethod:{},isDefault:{type:Boolean},i18n:{},options:{},variant:{default:"default"}},setup(t){const l=t,n=e.computed(()=>{var e,t,o;return(null==(e=l.i18n)?void 0:e.expiryDate)&&l.paymentMethod.card.expiry_date?l.i18n.expiryDate(l.paymentMethod.card.expiry_date.expiry_month,l.paymentMethod.card.expiry_date.expiry_year):l.paymentMethod.card.expiry_date?`Expiry date: ${null==(t=l.paymentMethod.card.expiry_date)?void 0:t.expiry_month}/${null==(o=l.paymentMethod.card.expiry_date)?void 0:o.expiry_year}`:void 0}),a=e.computed(()=>l.paymentMethod.card.brand?ea[l.paymentMethod.card.brand]:so);return(l,i)=>{var r;return e.openBlock(),e.createBlock(go,{"image-src":a.value,"image-alt":null==(r=t.paymentMethod.card.brand)?void 0:r.toLowerCase(),variant:t.variant,options:t.options,"is-inactive":"INACTIVE"===t.paymentMethod.status},{default:e.withCtx(()=>[e.createElementVNode("div",ta,[e.createVNode(o,{tag:"span",variant:"condensed"===t.variant?"body-xs":"body-sm",shade:"condensed"===t.variant?"light":void 0,weight:"semibold","no-spacing":""},{default:e.withCtx(()=>[e.createTextVNode(" **** **** **** "+e.toDisplayString(t.paymentMethod.card.last_four_digits??"****"),1)]),_:1},8,["variant","shade"]),"default"===t.variant&&n.value?(e.openBlock(),e.createBlock(o,{key:0,tag:"span",variant:"body-xs",shade:"lighter","no-spacing":""},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(n.value),1)]),_:1})):e.createCommentVNode("",!0),e.createVNode(Kn,{"is-default":t.isDefault},null,8,["is-default"]),e.createVNode(Wn,{"is-inactive":"INACTIVE"===t.paymentMethod.status},null,8,["is-inactive"])])]),_:1},8,["image-src","image-alt","variant","options","is-inactive"])}}}),la={AMAZON_PAY:{name:"Amazon Pay",logo:"data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cg%20fill-rule='evenodd'%20clip-path='url(%23a)'%20clip-rule='evenodd'%3e%3cpath%20fill='%23f3f6f9'%20d='M0%200h40v40H0z'/%3e%3cpath%20fill='%23232f3e'%20d='M5.923%2021.696a.13.13%200%200%201-.154.016c-.218-.18-.257-.265-.376-.437-.36.367-.614.476-1.08.476-.551%200-.98-.34-.98-1.02%200-.532.29-.894.696-1.071.356-.155.852-.184%201.231-.227v-.084c0-.156.013-.34-.08-.476-.08-.12-.231-.17-.367-.17-.25%200-.472.128-.526.394a.14.14%200%200%201-.116.12l-.631-.069a.116.116%200%200%201-.097-.137c.146-.77.842-1.002%201.465-1.002.319%200%20.735.084.985.326.318.298.29.695.29%201.127v1.02c0%20.307.128.441.248.607.042.058.051.13%200%20.173-.134.113-.372.319-.502.435zm-.66-1.596c0%20.255.006.467-.122.695-.104.185-.27.298-.454.298-.251%200-.398-.191-.398-.475%200-.558.5-.66.974-.66zm2.454%201.57h-.654a.12.12%200%200%201-.116-.11v-3.362a.124.124%200%200%201%20.125-.12h.61a.12.12%200%200%201%20.116.115v.44h.013c.158-.426.458-.623.862-.623s.666.197.849.623a.967.967%200%200%201%201.666-.258c.208.282.165.695.165%201.053v2.121a.13.13%200%200%201-.038.087.12.12%200%200%201-.088.035h-.655a.12.12%200%200%201-.116-.12v-1.784c0-.141.013-.494-.018-.629-.05-.227-.196-.29-.385-.29a.43.43%200%200%200-.392.275c-.066.171-.061.454-.061.644v1.782a.123.123%200%200%201-.126.121h-.656a.123.123%200%200%201-.116-.12v-1.783c0-.374.058-.927-.406-.927-.463%200-.452.537-.452.927v1.782a.124.124%200%200%201-.127.122m7.296-.583c-.12-.166-.246-.3-.246-.607v-1.02c0-.433.03-.83-.29-1.128-.252-.24-.668-.325-.986-.325-.623%200-1.319.231-1.465%201.002a.116.116%200%200%200%20.098.137l.635.069a.14.14%200%200%200%20.116-.121c.055-.265.276-.393.526-.393.135%200%20.29.05.368.17.092.135.08.319.08.475v.083c-.38.042-.877.071-1.232.226-.41.178-.698.539-.698%201.072%200%20.68.429%201.02.98%201.02.464%200%20.72-.11%201.08-.476.119.174.158.256.375.436a.13.13%200%200%200%20.155-.015%2028%2028%200%200%201%20.502-.435c.056-.04.046-.11.002-.17m-1.286-.294c-.103.183-.269.297-.453.297-.25%200-.397-.191-.397-.475%200-.558.5-.66.973-.66v.142c0%20.256.005.468-.123.696m1.841-2.126v-.48a.116.116%200%200%201%20.123-.122h2.152a.12.12%200%200%201%20.124.121v.412c0%20.07-.058.16-.162.302l-1.115%201.592c.413-.01.851.053%201.228.264.07.037.113.109.115.187v.515c0%20.07-.076.153-.158.11a2.48%202.48%200%200%200-2.274.004c-.075.04-.154-.04-.154-.111v-.49a.6.6%200%200%201%20.08-.33l1.293-1.855h-1.127a.12.12%200%200%201-.125-.121m4.257.026c-.482%200-.513.658-.513%201.068s-.006%201.286.507%201.286.532-.706.532-1.138c0-.282-.012-.622-.098-.891-.073-.231-.22-.325-.428-.325m-.006-.686c.972%200%201.498.834%201.498%201.895%200%201.026-.58%201.84-1.498%201.84-.953%200-1.473-.835-1.473-1.875s.525-1.86%201.473-1.86m2.766%203.659h-.654a.123.123%200%200%201-.116-.12V18.18a.123.123%200%200%201%20.127-.11h.607c.055.002.103.04.116.094v.514h.013c.182-.46.44-.678.892-.678.293%200%20.58.107.765.396.17.269.17.722.17%201.047v2.115a.13.13%200%200%201-.125.106h-.659a.12.12%200%200%201-.116-.106v-1.825c0-.367.043-.905-.41-.905a.43.43%200%200%200-.379.269c-.091.205-.103.41-.103.638v1.809a.126.126%200%200%201-.128.12m5.328-3.083a1.53%201.53%200%200%200-.92.316v1.914q.44.33.906.329.947%200%20.947-1.275t-.933-1.284m-.968-.089c.164-.145.353-.26.556-.343.192-.076.397-.116.604-.116.206-.004.41.038.598.12.177.082.332.204.452.358.132.17.228.364.286.57q.104.37.1.754c.002.26-.034.52-.107.768-.061.212-.163.41-.299.584a1.4%201.4%200%200%201-.467.375%201.4%201.4%200%200%201-.61.128%201.53%201.53%200%200%201-1.065-.406v1.61a.122.122%200%200%201-.137.137h-.405a.12.12%200%200%201-.133-.082.1.1%200%200%201-.005-.056v-4.62a.12.12%200%200%201%20.082-.132.1.1%200%200%201%20.056-.006h.302a.145.145%200%200%201%20.158.138zm4.308%202.7q.244-.002.474-.088.255-.094.473-.261v-.701a3.3%203.3%200%200%200-.727-.09q-.777%200-.777.599%200%20.26.145.401.144.14.412.14m-.804-2.459-.052.018a.2.2%200%200%201-.058.01q-.087%200-.089-.124v-.184a.23.23%200%200%201%20.027-.133.3.3%200%200%201%20.11-.073%202.5%202.5%200%200%201%20.542-.152q.32-.057.646-.057.652%200%20.96.267.31.267.31.83v2.346a.123.123%200%200%201-.137.138h-.296a.14.14%200%200%201-.103-.033.14.14%200%200%201-.048-.098l-.034-.227q-.245.212-.546.33a1.6%201.6%200%200%201-.594.116q-.494%200-.783-.278-.287-.28-.29-.746%200-.5.357-.8.358-.298.962-.298.439.006.864.116v-.451q0-.372-.164-.522-.165-.15-.577-.151a3.6%203.6%200%200%200-1.007.156m4.631%203.494q-.186.474-.43.68-.243.206-.637.206a1.5%201.5%200%200%201-.392-.048.2.2%200%200%201-.11-.066.23.23%200%200%201-.034-.14v-.179q0-.13.103-.13.053.003.103.013.092.015.186.014a.6.6%200%200%200%20.405-.124q.145-.123.261-.453l.13-.348-1.322-3.27a.5.5%200%200%201-.048-.165q0-.082.096-.082h.412a.24.24%200%200%201%20.151.034q.059.067.082.151l.962%202.664.927-2.664a.4.4%200%200%201%20.082-.151.25.25%200%200%201%20.151-.034h.385q.096%200%20.096.082a.5.5%200%200%201-.048.165z'/%3e%3cpath%20fill='%23f90'%20d='M16.456%2022.989c-1.23.907-3.014%201.391-4.547%201.391a8.23%208.23%200%200%201-5.554-2.119c-.116-.103-.013-.246.126-.165%201.582.92%203.536%201.475%205.557%201.475a11.1%2011.1%200%200%200%204.24-.87c.207-.088.382.137.178.29m.511-.584c.158.201-.173%201.031-.322%201.402-.046.112.051.157.153.072.659-.552.83-1.708.695-1.874-.133-.167-1.286-.309-1.99.186-.109.076-.09.18.03.166.396-.048%201.278-.154%201.436.048'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='a'%3e%3cpath%20fill='%23fff'%20d='M0%200h40v40H0z'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e"},APPLE_PAY:{name:"Apple Pay",logo:"data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cg%20clip-path='url(%23a)'%3e%3cpath%20fill='%23fff'%20d='M0%200h40v40H0z'/%3e%3cpath%20fill='%23000'%20d='M31.367%2011H8.35l-.24.004a3.4%203.4%200%200%200-.52.047%201.66%201.66%200%200%200-1.223.905%201.8%201.8%200%200%200-.163.502%204%204%200%200%200-.046.529q-.003.12-.003.243v13.54l.003.242c.005.177.015.354.046.529q.045.264.163.503a1.68%201.68%200%200%200%201.223.904c.172.032.347.042.52.047q.263.007.524.004h23.017l.239-.004c.173-.005.349-.015.52-.046a1.66%201.66%200%200%200%201.223-.906c.081-.16.132-.325.163-.502.032-.175.042-.352.046-.529q.004-.12.004-.242V13.23q0-.122-.004-.243a4%204%200%200%200-.046-.529%201.7%201.7%200%200%200-.89-1.242%201.7%201.7%200%200%200-.495-.165%203.4%203.4%200%200%200-.521-.047l-.24-.003z'/%3e%3cpath%20fill='%23fff'%20d='M31.368%2011.6h.28q.112%200%20.227.004c.132.003.287.01.432.037a1.07%201.07%200%200%201%20.801.587%201.2%201.2%200%200%201%20.108.337c.026.145.033.302.036.438l.004.23v13.534q0%20.115-.004.23a3%203%200%200%201-.037.44q-.03.176-.107.335a1.08%201.08%200%200%201-.8.586%203%203%200%200%201-.43.038l-.231.003H8.354q-.115%200-.226-.003a3%203%200%200%201-.432-.037%201.2%201.2%200%200%201-.333-.11%201.06%201.06%200%200%201-.468-.477%201.2%201.2%200%200%201-.108-.337%203%203%200%200%201-.037-.438l-.004-.23V13.233q0-.116.004-.23a3%203%200%200%201%20.037-.44c.022-.127.056-.233.108-.336a1.08%201.08%200%200%201%20.8-.586c.145-.026.3-.034.433-.037l.227-.004z'/%3e%3cpath%20fill='%23000'%20d='M13.714%2016.963c.237-.297.398-.695.356-1.102-.347.018-.77.23-1.016.526-.22.254-.415.67-.364%201.059.39.034.779-.195%201.024-.483m.352.559c-.566-.034-1.047.32-1.318.32-.27%200-.684-.303-1.131-.295a1.67%201.67%200%200%200-1.419.862c-.608%201.048-.16%202.602.431%203.456.287.422.633.887%201.09.87.43-.017.599-.279%201.122-.279s.676.279%201.132.27c.473-.008.768-.422%201.055-.844.33-.482.465-.947.473-.972-.008-.009-.912-.355-.92-1.394-.009-.87.71-1.284.743-1.31-.405-.6-1.039-.667-1.258-.684m4.926-1.178c1.23%200%202.086.848%202.086%202.082%200%201.238-.874%202.09-2.117%202.09h-1.362v2.166h-.984v-6.338zm-1.393%203.347h1.129c.856%200%201.344-.461%201.344-1.26%200-.8-.488-1.257-1.34-1.257H17.6zm3.735%201.679c0-.809.62-1.305%201.718-1.367l1.264-.074v-.356c0-.514-.347-.821-.926-.821-.55%200-.892.263-.976.676h-.896c.053-.835.765-1.45%201.907-1.45%201.12%200%201.836.594%201.836%201.52v3.185h-.91v-.76h-.021c-.268.514-.852.839-1.459.839-.904%200-1.537-.562-1.537-1.392m2.982-.418v-.364l-1.137.07c-.567.04-.887.29-.887.685%200%20.404.333.668.843.668.663%200%201.181-.457%201.181-1.059m1.803%203.429v-.768c.07.017.228.017.307.017.44%200%20.677-.184.822-.659%200-.008.083-.28.083-.285l-1.669-4.626h1.028l1.168%203.76h.018l1.168-3.76h1.002l-1.731%204.863c-.395%201.12-.852%201.48-1.81%201.48-.079%200-.316-.009-.386-.022'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='a'%3e%3cpath%20fill='%23fff'%20d='M0%200h40v40H0z'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e"},CASH_APP:{name:"Cash App",logo:"data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cg%20clip-path='url(%23a)'%3e%3cpath%20fill='%2300ce32'%20d='M0%200h40v40H0z'/%3e%3cpath%20fill='%23fff'%20d='M20.647%2015.6a5.27%205.27%200%200%201%203.409%201.261c.204.187.517.18.714-.014l.982-.993a.51.51%200%200%200-.027-.743%207.8%207.8%200%200%200-2.624-1.481l.294-1.46a.52.52%200%200%200-.282-.57.5.5%200%200%200-.221-.05h-1.89a.515.515%200%200%200-.502.406l-.264%201.306c-2.516.125-4.65%201.38-4.65%203.955%200%202.225%201.764%203.182%203.627%203.85%201.763.662%202.698.907%202.698%201.838%200%20.93-.932%201.516-2.304%201.516a5.05%205.05%200%200%201-3.582-1.413.51.51%200%200%200-.717%200l-1.053%201.037a.515.515%200%200%200%200%20.738%206.95%206.95%200%200%200%203.042%201.68l-.294%201.353a.53.53%200%200%200%20.5.634h1.895a.515.515%200%200%200%20.506-.409l.273-1.282c3.015-.187%204.858-1.822%204.858-4.216%200-2.204-1.837-3.134-4.068-3.892-1.275-.483-2.377-.8-2.377-1.754s1.029-1.297%202.057-1.297'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='a'%3e%3cpath%20fill='%23fff'%20d='M0%200h40v40H0z'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e"},DANA:{name:"DANA",logo:"data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cg%20clip-path='url(%23a)'%3e%3cpath%20fill='%23fff'%20d='M0%200h40v40H0z'/%3e%3cpath%20fill='%23108ee9'%20fill-rule='evenodd'%20d='M4.1%2015.7c0-2.48%201.974-4.49%204.411-4.49s4.411%202.01%204.411%204.49c0%202.479-1.976%204.49-4.411%204.49S4.1%2018.18%204.1%2015.7m3.227-1.007c.404-.062.778-.219%201.155-.36.308-.116.616-.236.931-.325.54-.153%201.064-.112%201.543.216.088.061.135.14.135.247v2.496c0%20.1-.036.12-.123.07a1.83%201.83%200%200%200-1.188-.267q-.435.05-.847.197c-.314.108-.628.219-.944.323a3.3%203.3%200%200%201-.874.174%201.8%201.8%200%200%201-1.071-.282.24.24%200%200%201-.112-.216l.002-1.354v-.632q-.002-.255%200-.511c0-.03.013-.07.033-.085.016-.011.058.004.083.02a1.67%201.67%200%200%200%20.979.312q.15-.002.3-.023m12.758.658c.024-1.056.87-1.905%201.913-1.905s1.89.848%201.913%201.905l.001%202.631h-.956v-.971H21.04v.971h-.956v-2.631zm.955.038v.647h1.916v-.646a.967.967%200%200%200-.958-.969.966.966%200%200%200-.958.97m10.033-.038c.023-1.056.87-1.905%201.913-1.905s1.888.848%201.913%201.905l.001%202.631h-.958v-.971H32.03v.971h-.958v-2.633zm.955.038v.647h1.914v-.648a.966.966%200%200%200-.956-.969.967.967%200%200%200-.958.97m-6.445-.038c.023-1.056.869-1.905%201.91-1.905%201.042%200%201.89.848%201.914%201.905h.003v2.632h-.958V15.39a.966.966%200%200%200-.958-.969.964.964%200%200%200-.956.97h-.001v2.593h-.956v-2.633zm-9.408-1.904.018-.001h.089l-.012.004c1.194.042%202.15%201.038%202.15%202.264%200%201.229-.96%202.226-2.156%202.265l.018.004h-1.69v-4.538h1.583m-.628.973v.182h.003v2.224h-.003v.18h.728a1.285%201.285%200%200%200%201.189-1.291c0-.686-.528-1.249-1.195-1.29z'%20clip-rule='evenodd'/%3e%3cpath%20fill='%23d8d8d8'%20d='M34.9%2022.08H4.1v.22h30.8z'/%3e%3cpath%20fill='%233e3a3a'%20fill-rule='evenodd'%20d='M12.313%2026.557c0-.064.013-.128.064-.178.08-.08.238-.141.6-.226v.545c-.18.097-.281.136-.4.136-.162%200-.264-.107-.264-.277m-1.984-1.11c.251%200%20.451.2.451.626%200%20.544-.293.787-.621.787a.7.7%200%200%201-.23-.034v-1.235a.66.66%200%200%201%20.4-.144m5.715-.473.004-.005h-.633l-.4%201.387h-.022l-.46-1.386h-.753l.907%202.29-.379.697v.017h.592zm-7.91%202.277h.672v-2.28h-.672zm4.923%200h.673l-.08-.57v-.954c0-.519-.308-.804-.848-.804-.344%200-.583.06-1.017.192l.119.523c.396-.178.57-.255.753-.255.221%200%20.32.157.32.4v.017c-.77.144-1.01.225-1.158.374-.111.111-.157.268-.157.45%200%20.439.34.673.66.673.238%200%20.43-.09.69-.285zm-2.735.03c.6%200%201.14-.443%201.14-1.23%200-.706-.391-1.128-.876-1.128-.247%200-.438.094-.656.273v-.226h-.672v3.005h.672v-.745c.128.033.247.051.392.051m-5.477-1.108.4-1.383h.017l.378%201.383zm-.932%201.077h.622l.17-.588h1.068l.162.588h.795l-.906-3h-.902zm3.089%200h.672v-3.107h-.672z'%20clip-rule='evenodd'/%3e%3cpath%20fill='%231677ff'%20fill-rule='evenodd'%20d='M8.083%2024.42c0%20.222.162.37.388.37.225%200%20.387-.148.387-.37%200-.216-.162-.37-.387-.37-.226%200-.388.154-.388.37m10.662-.276c.202%200%20.367.165.367.368v1.16h1.16c.202%200%20.367.163.367.367v.393h-1.527a.75.75%200%200%201-.397-.112l-.021-.013a.7.7%200%200%201-.168-.152l-.016-.018-.009-.012a.8.8%200%200%201-.11-.21l-.014-.045a.8.8%200%200%201-.026-.198v-1.528z'%20clip-rule='evenodd'/%3e%3cpath%20fill='%2300b6ff'%20fill-rule='evenodd'%20d='M17.98%2026.432h-.789a.37.37%200%200%201-.367-.367v-.394h1.156zm.37%201.158v-.785h.762v1.153h-.394a.37.37%200%200%201-.367-.367'%20clip-rule='evenodd'/%3e%3cpath%20fill='%233e3a3a'%20fill-rule='evenodd'%20d='M22.688%2025.48v.617h.4a.35.35%200%200%200%20.236-.078q.09-.078.09-.232t-.09-.231a.36.36%200%200%200-.237-.076zm.412-.149q.104%200%20.192.033.09.033.153.092.065.06.099.143.036.09.035.189%200%20.105-.035.189a.4.4%200%200%201-.1.144.5.5%200%200%201-.345.126h-.412v.639h-.166V25.33zm1.406%201.059h.578l-.288-.823zm.93.494h-.177l-.125-.35h-.678l-.125.35h-.176l.571-1.553h.14zm.984-1.404v.57h.414a.35.35%200%200%200%20.223-.07q.087-.069.086-.213%200-.144-.086-.215a.34.34%200%200%200-.223-.07h-.415zm.43-.149q.1%200%20.185.03t.147.085q.06.055.094.136a.5.5%200%200%201%20.034.18.4.4%200%200%201-.093.279.43.43%200%200%201-.244.138l.368.704h-.194l-.354-.688h-.373v.688h-.166v-1.552zm2.256.149h-.45v1.404h-.167V25.48h-.448v-.149h1.064zm2.004%201.405h-.157l-.824-1.246v1.245h-.167v-1.553h.158l.824%201.241v-1.24h.166zm1.98-1.405h-.798v.546h.68v.149h-.68v.561h.798v.148h-.964v-1.553h.964zm1.078%200v.57h.414a.35.35%200%200%200%20.224-.07q.085-.069.085-.213t-.085-.215a.34.34%200%200%200-.224-.07h-.414zm.43-.149a.6.6%200%200%201%20.186.03q.086.03.146.085t.095.136a.5.5%200%200%201%20.034.18.4.4%200%200%201-.338.417l.368.704h-.193l-.353-.688h-.373v.688h-.166v-1.552z'%20clip-rule='evenodd'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='a'%3e%3cpath%20fill='%23fff'%20d='M0%200h40v40H0z'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e"},GCASH:{name:"GCash",logo:"data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cg%20clip-path='url(%23a)'%3e%3cpath%20fill='%23007dfe'%20d='M0%200h40v40H0z'/%3e%3cpath%20fill='%23002ac4'%20d='M11%2019.555c.046-.068.046-.16.046-.228.091-1.027.342-1.986.821-2.899q1.78-3.39%205.479-4.245a7.4%207.4%200%200%201%202.465-.137c1.529.137%202.876.707%204.085%201.62a.906.906%200%200%201%20.092%201.415.9.9%200%200%201-1.164.069%205%205%200%200%200-.571-.388%206.4%206.4%200%200%200-2.716-.89%206.12%206.12%200%200%200-6.505%204.747%206.153%206.153%200%200%200%204.633%207.396c1.849.41%203.56.046%205.113-1.096.297-.205.594-.296.936-.16.32.115.548.366.593.708.046.343-.068.662-.342.867a8.1%208.1%200%200%201-3.538%201.553c-.61.11-1.231.14-1.849.091-1.849-.114-3.47-.776-4.839-2.009-1.37-1.164-2.191-2.625-2.556-4.382a6%206%200%200%201-.137-.89c0-.092%200-.16-.046-.229z'/%3e%3cpath%20fill='%23fff'%20d='M22.093%2020.948h-2.122a.89.89%200%200%201-.868-.617c-.205-.593.228-1.232.867-1.232h3.219c.525%200%20.936.41.936.936a4.9%204.9%200%200%201-.434%202.054c-.753%201.598-1.986%202.58-3.698%202.922-2.716.502-5.34-1.256-5.912-3.926-.456-2.146.48-4.36%202.443-5.479a5%205%200%200%201%202.191-.639%204.9%204.9%200%200%201%202.876.685c.046.023.114.069.16.091.41.274.525.822.274%201.233a.923.923%200%200%201-1.233.342c-.16-.091-.297-.182-.456-.25-1.872-.822-4.086.319-4.451%202.328a3.22%203.22%200%200%200%202.556%203.766c1.552.296%203.127-.617%203.63-2.1.022-.046.045-.069.022-.114'/%3e%3cpath%20fill='%2375c2fb'%20d='M29.991%2019.92c0%201.598-.274%203.013-.867%204.383-.092.251-.206.48-.343.708-.182.342-.502.525-.958.479-.343-.046-.64-.342-.73-.708a.85.85%200%200%201%20.09-.616c.229-.434.411-.867.548-1.324.18-.556.303-1.13.366-1.712.045-.365.068-.753.068-1.118-.023-1.324-.274-2.602-.844-3.812-.046-.114-.115-.228-.16-.343-.274-.616.182-1.323.844-1.278.343.023.617.183.776.502.32.64.594%201.301.776%202.01.16.547.252%201.095.32%201.643.114.41.137.843.114%201.186m-2.967.115a7.7%207.7%200%200%201-.708%203.264c-.114.274-.32.479-.593.547-.343.092-.662.023-.913-.25-.252-.274-.32-.594-.183-.937.091-.228.183-.433.251-.661.16-.457.251-.936.297-1.416.091-1.095-.069-2.122-.525-3.127-.228-.502%200-1.05.502-1.232.434-.183.936.023%201.141.456.274.594.48%201.21.594%201.85.091.501.16%201.003.137%201.506'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='a'%3e%3cpath%20fill='%23fff'%20d='M0%200h40v40H0z'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e"},GOOGLE_PAY:{name:"Google Pay",logo:"data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cg%20clip-path='url(%23a)'%3e%3cpath%20fill='%23111211'%20d='M0%200h40v40H0z'/%3e%3cpath%20fill='%23fff'%20d='M18.923%2016.468v2.527h1.559c.345.01.68-.125.92-.374a1.268%201.268%200%200%200-.92-2.153zm0%203.417v2.93h-.93V15.58h2.468a2.23%202.23%200%200%201%201.599.626%202.09%202.09%200%200%201%200%203.063%202.23%202.23%200%200%201-1.599.616zm4.746%201.415a.74.74%200%200%200%20.309.606c.206.162.461.247.723.242.393%200%20.77-.156%201.047-.434.293-.258.46-.63.46-1.02a1.9%201.9%200%200%200-1.214-.344%201.58%201.58%200%200%200-.946.273.81.81%200%200%200-.38.676m1.204-3.599a2.3%202.3%200%200%201%201.63.551c.408.393.626.945.596%201.511v3.053h-.89v-.688h-.04a1.78%201.78%200%200%201-1.539.85%202%202%200%200%201-1.37-.486c-.358-.3-.56-.746-.552-1.213a1.47%201.47%200%200%201%20.582-1.223%202.45%202.45%200%200%201%201.553-.455%202.75%202.75%200%200%201%201.365.304v-.213a1.06%201.06%200%200%200-.384-.824%201.32%201.32%200%200%200-.9-.338%201.43%201.43%200%200%200-1.235.657l-.82-.516a2.29%202.29%200%200%201%202.004-.97m7.336.163L29.102%2025h-.96l1.152-2.497-2.044-4.639h1.012l1.477%203.557h.02l1.438-3.557z'/%3e%3cpath%20fill='%23547dbe'%20d='M15.162%2019.254q0-.426-.072-.846h-3.926v1.602h2.249a1.93%201.93%200%200%201-.832%201.264v1.04h1.342a4.07%204.07%200%200%200%201.239-3.06'/%3e%3cpath%20fill='%2334a751'%20d='M11.163%2023.318c1.014.028%202-.33%202.76-1.004l-1.343-1.04a2.526%202.526%200%200%201-3.754-1.319H7.443v1.072a4.16%204.16%200%200%200%203.72%202.29'/%3e%3cpath%20fill='%23f7ba16'%20d='M8.826%2019.954a2.5%202.5%200%200%201%200-1.592v-1.071H7.443a4.15%204.15%200%200%200%200%203.735z'/%3e%3cpath%20fill='%23e84334'%20d='M11.163%2016.646a2.26%202.26%200%200%201%201.597.624l1.188-1.186A4%204%200%200%200%2011.163%2015a4.16%204.16%200%200%200-3.72%202.292l1.383%201.071a2.49%202.49%200%200%201%202.337-1.717'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='a'%3e%3cpath%20fill='%23fff'%20d='M0%200h40v40H0z'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e"},GO_PAY:{name:"GoPay",logo:"data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cg%20clip-path='url(%23a)'%3e%3cpath%20fill='%234c3494'%20d='M0%207h40v26H0z'/%3e%3cpath%20fill='%2300aed6'%20d='M0%200h40v40H0z'/%3e%3cpath%20fill='%2300aed6'%20d='M5.93%2016.22c2.17%200%203.928%201.787%203.928%203.99S8.1%2024.2%205.93%2024.2%202%2022.414%202%2020.21c0-2.203%201.76-3.99%203.93-3.99'/%3e%3cpath%20fill='%23fff'%20fill-rule='evenodd'%20d='M8.218%2020.086a.92.92%200%200%200-.953-.873H4.783a.165.165%200%200%201-.163-.166c0-.091.073-.166.163-.166h2.515a.79.79%200%200%200-.573-.733%206.3%206.3%200%200%200-2.215%200%201.055%201.055%200%200%200-.786.887%208%208%200%200%200%200%202.363c.088.455.445.808.896.887.91.115%201.829.115%202.739%200a.97.97%200%200%200%20.76-.838q.12-.675.099-1.361m-.815.559v.147a.165.165%200%200%201-.227.154.17.17%200%200%201-.101-.154v-.147a.25.25%200%200%201%20.164-.435.25.25%200%200%201%20.164.435'%20clip-rule='evenodd'/%3e%3cpath%20fill='%23000'%20d='M5.93%2016.22c2.17%200%203.928%201.787%203.928%203.99S8.1%2024.2%205.93%2024.2%202%2022.414%202%2020.21c0-2.203%201.76-3.99%203.93-3.99'/%3e%3cpath%20fill='%2300aed6'%20fill-rule='evenodd'%20d='M8.218%2020.086a.92.92%200%200%200-.953-.873H4.783a.165.165%200%200%201-.163-.166c0-.091.073-.166.163-.166h2.515a.79.79%200%200%200-.573-.733%206.3%206.3%200%200%200-2.215%200%201.055%201.055%200%200%200-.786.887%208%208%200%200%200%200%202.363c.088.455.445.808.896.887.91.115%201.829.115%202.739%200a.97.97%200%200%200%20.76-.838q.12-.675.099-1.361m-.815.559v.147a.165.165%200%200%201-.227.154.17.17%200%200%201-.101-.154v-.147a.25.25%200%200%201%20.164-.435.25.25%200%200%201%20.164.435'%20clip-rule='evenodd'/%3e%3cpath%20fill='%23fff'%20d='M12.964%2022.197a1.68%201.68%200%200%200%201.469.728c.684%200%201.187-.444%201.187-1.047v-.318h-.016a1.85%201.85%200%200%201-1.41.536c-1.262.036-2.314-.972-2.35-2.253s.957-2.35%202.219-2.386q.045-.002.089-.001a1.95%201.95%200%200%201%201.452.52h.016v-.437h1.172v4.322c0%201.256-.982%202.127-2.36%202.127a2.8%202.8%200%200%201-2.342-1.055zm2.607-2.69c0-.502-.56-.962-1.187-.962-.793%200-1.32.486-1.32%201.214a1.168%201.168%200%200%200%201.27%201.248c.685%200%201.237-.436%201.237-.98zm4.289-2.093c1.428%200%202.467%201.03%202.467%202.345s-1.039%202.345-2.466%202.345c-1.276.085-2.378-.896-2.461-2.192-.084-1.295.883-2.413%202.158-2.498q.15-.01.302%200m.001%201.088a1.25%201.25%200%200%200-1.228%201.265%201.245%201.245%200%200%200%201.246%201.248%201.247%201.247%200%200%200%201.229-1.256%201.195%201.195%200%200%200-1.247-1.257m3.127-.962h1.171v.393h.017c.383-.357.89-.544%201.41-.52%201.276.024%202.291%201.093%202.268%202.389-.022%201.258-1.02%202.275-2.26%202.302a2.1%202.1%200%200%201-1.369-.469h-.016v2.228h-1.221zm2.409.971c-.645%200-1.189.46-1.189.963v.561c0%20.536.528.98%201.196.98a1.24%201.24%200%200%200%201.23-1.256%201.24%201.24%200%200%200-1.237-1.248m4.758.821c.8-.11%201.04-.227%201.04-.452%200-.294-.305-.47-.775-.47a1.034%201.034%200%200%200-1.09.796l-1.154-.242c.164-.905%201.08-1.55%202.21-1.55%201.279%200%202.071.662%202.071%201.742v2.823H31.36v-.486h-.017a1.79%201.79%200%200%201-1.477.611c-.965%200-1.632-.536-1.632-1.323%200-.83.544-1.255%201.921-1.449m1.139.468h-.017c-.107.16-.338.251-.932.36-.718.134-.973.276-.973.536%200%20.268.214.385.676.385.701%200%201.246-.326%201.246-.754zm3.374%201.936-2.021-4.197h1.345l1.327%202.898h.017l1.312-2.898H38l-3.027%206.324H33.63z'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='a'%3e%3cpath%20fill='%23fff'%20d='M0%200h40v40H0z'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e"},KAKAOPAY:{name:"KakaoPay",logo:"data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cg%20clip-path='url(%23a)'%3e%3cpath%20fill='%23ffcd01'%20d='M0%200h40v40H0z'/%3e%3cpath%20fill='%23000'%20d='M9.488%2024.5c-.238-.402%200-.702.068-1.003s.153-.617.243-.951c-.164-.125-.334-.238-.504-.363a2.832%202.832%200%200%201-.034-4.735%204.815%204.815%200%200%201%206.152.345%202.76%202.76%200%200%201%200%204.033%204.53%204.53%200%200%201-3.32%201.264%201.43%201.43%200%200%200-.895.271c-.413.3-.85.595-1.274.873-.125.09-.255.158-.436.266m9.482-7.132h.861c.057.091.136.204.193.284q.47-.24.974-.403a1.626%201.626%200%200%201%201.95.997%203.5%203.5%200%200%201%20.055%202.606%202.09%202.09%200%200%201-2.22%201.433l-.527-.034v1.7h-1.274c-.012-2.193-.012-4.362-.012-6.583m1.275%201.133v2.72a1.13%201.13%200%200%200%201.535-.816%203%203%200%200%200%200-1.49.71.71%200%200%200-.567-.567%201.16%201.16%200%200%200-.968.153m11.425-1.342c.448.124.84.232%201.275.368-.227.629-.425%201.212-.652%201.79-.39%201.053-.77%202.13-1.195%203.16a3.26%203.26%200%200%201-1.41%201.7c-.25-.22-.505-.459-.754-.691.363-.436.697-.867%201.031-1.28-.566-1.564-1.133-3.087-1.7-4.668l1.281-.368c.346%201.195.685%202.35%201.02%203.5h.113c.317-1.138.64-2.293.991-3.511m-3.92%205.007h-.883l-.153-.34-.125.034a5.4%205.4%200%200%201-1.133.402c-1.042.102-1.7-.566-1.58-1.654.068-.844.63-1.314%201.603-1.388h.986c.12-.566-.09-.9-.607-.878q-.712.064-1.41.227c-.09-.215-.215-.481-.346-.793a2.95%202.95%200%200%201%202.266-.515%201.524%201.524%200%200%201%201.371%201.506c.057%201.133.011%202.219.011%203.399m-1.268-1.206v-.866h-.77c-.618.068-.817.459-.539%201.048a1.3%201.3%200%200%200%201.31-.21z'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='a'%3e%3cpath%20fill='%23fff'%20d='M0%200h40v40H0z'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e"},MOMO:{name:"Momo",logo:"data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cg%20clip-path='url(%23a)'%3e%3cpath%20fill='%23ad2070'%20d='M0%200h40v40H0z'/%3e%3cpath%20fill='%23fff'%20fill-rule='evenodd'%20d='M13.207%2027.325a.43.43%200%200%200-.336.157.3.3%200%200%200-.096-.098.4.4%200%200%200-.226-.059.44.44%200%200%200-.295.11v-.084H12v1.197h.274v-.62q0-.143.027-.217a.2.2%200%200%201%20.08-.102.23.23%200%200%201%20.126-.035q.084%200%20.116.045.04.053.038.164v.765h.274v-.689q0-.154.065-.22a.22.22%200%200%201%20.165-.065q.052%200%20.09.024.035.022.05.059c.007.02.015.06.015.148v.743h.273v-.806q0-.208-.101-.312a.38.38%200%200%200-.285-.105m1.275.242q.12%200%20.202.091.083.095.083.285%200%20.203-.083.298a.25.25%200%200%201-.202.092.26.26%200%200%201-.202-.091q-.083-.095-.083-.293%200-.196.083-.291a.26.26%200%200%201%20.202-.091m0-.242a.56.56%200%200%200-.377.134q-.187.162-.187.49%200%20.3.156.461a.54.54%200%200%200%20.408.163.6.6%200%200%200%20.29-.073q.134-.075.204-.209a.8.8%200%200%200%20.07-.357.62.62%200%200%200-.158-.445.54.54%200%200%200-.406-.164m1.747.624q0%20.195-.08.292a.23.23%200%200%201-.182.092q-.127%200-.204-.125a.54.54%200%200%201-.049-.267q0-.187.08-.283a.22.22%200%200%201%20.358-.004q.075.092.077.295m.142-.451a.44.44%200%200%200-.167-.128.5.5%200%200%200-.212-.045q-.15%200-.262.089v-.488h-.274v1.621h.26v-.07a.4.4%200%200%200%20.267.096.5.5%200%200%200%20.371-.17q.152-.17.152-.471a.8.8%200%200%200-.035-.24.6.6%200%200%200-.1-.194m.524-.268h.274v-.303h-.274zm0%201.318h.274v-1.197h-.274zm.875%200h.275v-1.62h-.274zm.995-.748a.3.3%200%200%201%20.08-.16.26.26%200%200%201%20.189-.075q.125%200%20.2.094a.3.3%200%200%201%20.056.141zm.532.333a.3.3%200%200%201-.102.154.25.25%200%200%201-.152.046.27.27%200%200%201-.202-.084.36.36%200%200%201-.088-.209h.825l.001-.041.001-.052q0-.293-.153-.456a.52.52%200%200%200-.395-.166.53.53%200%200%200-.407.169q-.155.166-.156.465%200%20.288.155.451a.55.55%200%200%200%20.418.163.56.56%200%200%200%20.344-.102.52.52%200%200%200%20.187-.288l.012-.048-.277-.034zm2.879-.808a.43.43%200%200%200-.336.157.3.3%200%200%200-.097-.098.4.4%200%200%200-.226-.059.44.44%200%200%200-.294.11v-.084h-.254v1.197h.273v-.62q0-.143.028-.217a.2.2%200%200%201%20.08-.102.23.23%200%200%201%20.125-.035q.084%200%20.117.045.038.053.038.164v.765h.274v-.689q0-.154.065-.22a.22.22%200%200%201%20.165-.065q.053%200%20.09.024.035.022.05.059c.006.02.015.06.015.148v.743h.273v-.806q0-.208-.101-.312a.38.38%200%200%200-.285-.105m1.36.242q.12%200%20.201.091.083.095.083.285%200%20.203-.082.298a.25.25%200%200%201-.202.092.26.26%200%200%201-.203-.091q-.083-.095-.083-.293%200-.196.083-.291a.26.26%200%200%201%20.203-.091m0-.242a.56.56%200%200%200-.378.134q-.186.162-.187.49%200%20.3.156.461a.54.54%200%200%200%20.409.163.6.6%200%200%200%20.29-.073.5.5%200%200%200%20.204-.209.8.8%200%200%200%20.07-.357.62.62%200%200%200-.158-.445.54.54%200%200%200-.406-.164m1.895.149a.33.33%200%200%200-.144-.11.5.5%200%200%200-.201-.039.45.45%200%200%200-.312.112v-.087h-.255v1.198h.274v-.65q0-.194.073-.258a.26.26%200%200%201%20.18-.066.2.2%200%200%201%20.11.028q.044.025.06.07a.5.5%200%200%201%20.019.157v.72h.274v-.727a1%201%200%200%200-.012-.192.4.4%200%200%200-.066-.156m.707.326a.3.3%200%200%201%20.08-.16.26.26%200%200%201%20.189-.075q.124%200%20.201.094.04.05.056.141zm.532.333a.3.3%200%200%201-.102.154.25.25%200%200%201-.152.046.27.27%200%200%201-.202-.084.36.36%200%200%201-.087-.209h.824l.001-.041.001-.052q0-.293-.152-.456a.52.52%200%200%200-.396-.166.53.53%200%200%200-.406.169q-.156.166-.156.465%200%20.288.154.451a.55.55%200%200%200%20.418.163.56.56%200%200%200%20.345-.102.52.52%200%200%200%20.186-.288l.012-.048-.277-.034zm1.316-.783-.248.677-.039.113-.04-.117-.241-.672h-.295l.438%201.157-.011.032a1%201%200%200%201-.053.132.13.13%200%200%201-.047.044c-.033.018-.092.023-.177%200l-.06-.016.03.266.026.009a.4.4%200%200%200%20.136.025.3.3%200%200%200%20.178-.05.4.4%200%200%200%20.13-.152q.063-.125.108-.258l.444-1.19zm-3.247-14.23a1.41%201.41%200%200%200-1.408%201.407%201.408%201.408%200%200%200%202.815%200c0-.777-.631-1.408-1.408-1.408m0%204.933a3.53%203.53%200%200%201-3.527-3.526A3.53%203.53%200%200%201%2024.738%2011a3.53%203.53%200%200%201%203.527%203.527%203.53%203.53%200%200%201-3.527%203.526m.001%203.288a1.41%201.41%200%200%200-1.408%201.408%201.41%201.41%200%200%200%201.407%201.407%201.41%201.41%200%200%200%201.408-1.407c0-.776-.63-1.408-1.407-1.408m-.001%204.934a3.53%203.53%200%200%201-3.527-3.526%203.53%203.53%200%200%201%203.526-3.527%203.53%203.53%200%200%201%203.527%203.527%203.53%203.53%200%200%201-3.527%203.526M17.91%2011c-.608%200-1.168.203-1.617.545A2.66%202.66%200%200%200%2014.677%2011%202.68%202.68%200%200%200%2012%2013.676v4.377h2.119v-4.377a.558.558%200%200%201%201.114%200v4.377h2.119v-4.377a.557.557%200%200%201%201.113%200v4.377h2.12v-4.377A2.68%202.68%200%200%200%2017.908%2011m.002%208.222c-.608%200-1.168.203-1.617.545a2.66%202.66%200%200%200-1.617-.545A2.68%202.68%200%200%200%2012%2021.898v4.377h2.12v-4.377a.557.557%200%200%201%201.113%200v4.377h2.12v-4.377a.557.557%200%200%201%201.113%200v4.377h2.119v-4.377a2.68%202.68%200%200%200-2.675-2.676'%20clip-rule='evenodd'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='a'%3e%3cpath%20fill='%23fff'%20d='M0%200h40v40H0z'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e"},PAYPAL:{name:"PayPal",logo:"data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cg%20clip-path='url(%23a)'%3e%3cpath%20fill='%23fff'%20d='M0%200h40v40H0z'/%3e%3cpath%20fill='%23253b80'%20d='m16.912%2027.988.282-1.822-.627-.015H13.57l2.082-13.443a.17.17%200%200%201%20.169-.146h5.05c1.678%200%202.835.355%203.439%201.056.283.33.463.673.55%201.052.092.397.094.87.005%201.45l-.007.042v.37l.283.164q.357.192.574.445c.242.281.399.639.465%201.063.068.436.046.955-.066%201.542-.13.676-.338%201.264-.62%201.745a3.6%203.6%200%200%201-.983%201.097c-.375.271-.82.477-1.324.608a6.5%206.5%200%200%201-1.654.195h-.393a1.18%201.18%200%200%200-.768.288%201.22%201.22%200%200%200-.401.728l-.03.164-.497%203.211-.023.118c-.006.037-.016.056-.031.069a.1.1%200%200%201-.052.019z'/%3e%3cpath%20fill='%23179bd7'%20d='M25.41%2016.205a9%209%200%200%201-.051.301c-.666%203.483-2.945%204.686-5.856%204.686h-1.481a.724.724%200%200%200-.712.62l-.758%204.901-.215%201.39a.383.383%200%200%200%20.374.446h2.628c.312%200%20.576-.23.625-.543l.026-.136.495-3.198.031-.176a.635.635%200%200%201%20.625-.544h.393c2.546%200%204.54-1.053%205.122-4.1.244-1.272.118-2.335-.526-3.083a2.5%202.5%200%200%200-.72-.564'/%3e%3cpath%20fill='%23222d65'%20d='M24.714%2015.921a5%205%200%200%200-.648-.146%208%208%200%200%200-1.306-.097H18.8a.64.64%200%200%200-.623.544l-.842%205.432-.025.159a.72.72%200%200%201%20.712-.621h1.482c2.91%200%205.19-1.204%205.855-4.686q.03-.154.051-.302a3.5%203.5%200%200%200-.696-.283'/%3e%3cpath%20fill='%23253b80'%20d='M18.177%2016.222a.64.64%200%200%201%20.624-.543h3.959q.705-.002%201.306.097.171.028.333.064.236.055.464.13.296.099.548.234c.198-1.287-.002-2.163-.685-2.956-.753-.874-2.113-1.248-3.853-1.248h-5.05a.726.726%200%200%200-.714.621l-2.104%2013.581a.44.44%200%200%200%20.428.511h3.119l.783-5.059z'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='a'%3e%3cpath%20fill='%23fff'%20d='M0%200h40v40H0z'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e"},TWINT:{name:"Twint",logo:"data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cg%20clip-path='url(%23a)'%3e%3cpath%20fill='%23000'%20d='M0%200h40v40H0z'/%3e%3cpath%20fill='%23fff'%20d='M13.78%2022.301a.44.44%200%200%201-.206.35l-3.977%202.302a.48.48%200%200%201-.413%200l-3.978-2.301a.45.45%200%200%201-.206-.35v-4.603c0-.132.094-.288.206-.35l3.978-2.302a.48.48%200%200%201%20.413%200l3.977%202.301a.45.45%200%200%201%20.207.35zm22.083-4.271h-3.558v.85h1.275v3.64h1.007v-3.64h1.276zm-16.179%200H16.12v.85h1.276v3.64h1.007v-3.64h1.276zm10.307-.138c-1.12%200-1.745.72-1.745%201.752v2.883h1v-2.902c0-.45.263-.8.757-.8s.75.412.75.8v2.902h.995v-2.883c.012-1.039-.632-1.752-1.757-1.752m-3.759.138v4.49h.994v-4.49zm-3.383%201.782.03.2.939%202.515h.406l1.276-4.49h-.982l-.606%202.357-.038.256-.05-.256-.813-2.358h-.325l-.813%202.358-.05.256-.031-.256-.607-2.358h-.988l1.276%204.49h.406l.938-2.514z'/%3e%3cpath%20fill='url(%23b)'%20d='m11.467%2020.013-1.038%201.526-.532-.813.613-.92c.113-.162.356-.613.075-1.225a1.27%201.27%200%200%200-1.157-.739c-.438%200-.907.226-1.157.739a1.18%201.18%200%200%200%20.069%201.207s.344.5.625.919l.463.669.694%201.063c.006.006.113.175.307.175.181%200%20.3-.169.312-.181l1.626-2.408h-.9zm-2.045.037s-.27-.413-.45-.7a.513.513%200%200%201%20.45-.77c.425%200%20.638.463.45.77-.175.287-.45.7-.45.7'/%3e%3cpath%20fill='url(%23c)'%20d='m8.427%2021.489-1.02-1.433s-.269-.412-.45-.7a.513.513%200%200%201%20.45-.77c.057%200%20.1.007.15.02l.357-.657a1.3%201.3%200%200%200-.507-.107%201.28%201.28%200%200%200-1.157.739%201.18%201.18%200%200%200%20.07%201.207l1.782%202.645c.018.019.13.188.319.188.187%200%20.3-.163.312-.182l.538-.82-.463-.675z'/%3e%3c/g%3e%3cdefs%3e%3cradialGradient%20id='b'%20cx='0'%20cy='0'%20r='1'%20gradientTransform='matrix(4.79253%200%200%205.4098%209.085%2018.261)'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23fc0'/%3e%3cstop%20offset='.092'%20stop-color='%23ffc800'/%3e%3cstop%20offset='.174'%20stop-color='%23ffbd00'/%3e%3cstop%20offset='.253'%20stop-color='%23ffab00'/%3e%3cstop%20offset='.33'%20stop-color='%23ff9100'/%3e%3cstop%20offset='.405'%20stop-color='%23ff7000'/%3e%3cstop%20offset='.479'%20stop-color='%23ff4700'/%3e%3cstop%20offset='.55'%20stop-color='%23ff1800'/%3e%3cstop%20offset='.582'%20stop-color='red'/%3e%3cstop%20offset='1'%20stop-color='red'/%3e%3c/radialGradient%3e%3cradialGradient%20id='c'%20cx='0'%20cy='0'%20r='1'%20gradientTransform='matrix(4.39419%200%200%206.6533%206.196%2018.538)'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%2300b4e6'/%3e%3cstop%20offset='.201'%20stop-color='%2300b0e3'/%3e%3cstop%20offset='.39'%20stop-color='%2301a5db'/%3e%3cstop%20offset='.574'%20stop-color='%230292cd'/%3e%3cstop%20offset='.755'%20stop-color='%230377ba'/%3e%3cstop%20offset='.932'%20stop-color='%230455a1'/%3e%3cstop%20offset='1'%20stop-color='%23054696'/%3e%3c/radialGradient%3e%3cclipPath%20id='a'%3e%3cpath%20fill='%23fff'%20d='M0%200h40v40H0z'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e"}},na={class:"flex h-full grow flex-col justify-center"},aa=e.defineComponent({__name:"PaymentMethodDigitalWallet",props:{paymentMethod:{},isDefault:{type:Boolean},options:{},variant:{default:"default"}},setup(t){const l=t,n=e.computed(()=>{var e;return(null==(e=l.paymentMethod.digital_wallet)?void 0:e.variant)?la[l.paymentMethod.digital_wallet.variant]:void 0});return(l,a)=>{var i,r,c;return e.openBlock(),e.createBlock(go,{"image-src":(null==(i=n.value)?void 0:i.logo)??e.unref(so),"image-alt":null==(c=null==(r=n.value)?void 0:r.name)?void 0:c.toLowerCase(),variant:t.variant,options:t.options,"is-inactive":"INACTIVE"===t.paymentMethod.status},{default:e.withCtx(()=>[e.createElementVNode("div",na,[e.createVNode(o,{tag:"span",weight:"semibold","no-spacing":"",variant:"condensed"===t.variant?"body-xs":"body-sm",shade:"condensed"===t.variant?"light":void 0},{default:e.withCtx(()=>{var t;return[e.createTextVNode(e.toDisplayString(null==(t=n.value)?void 0:t.name),1)]}),_:1},8,["variant","shade"]),e.createVNode(Kn,{"is-default":t.isDefault},null,8,["is-default"]),e.createVNode(Wn,{"is-inactive":"INACTIVE"===t.paymentMethod.status},null,8,["is-inactive"])])]),_:1},8,["image-src","image-alt","variant","options","is-inactive"])}}}),ia={ACH:{name:"ACH",logo:"data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cg%20clip-path='url(%23a)'%3e%3cpath%20fill='%23fff'%20d='M0%200h40v40H0z'/%3e%3cmask%20id='b'%20width='34'%20height='13'%20x='3'%20y='14'%20maskUnits='userSpaceOnUse'%20style='mask-type:luminance'%3e%3cpath%20fill='%23fff'%20d='M3%2014h34v12.653H3z'/%3e%3c/mask%3e%3cg%20mask='url(%23b)'%3e%3cpath%20fill='%230ac500'%20d='M12.597%2018.94a1.389%201.389%200%200%200-1.156%202.156%201.387%201.387%200%201%200%201.156-2.156m-3.409-2.03c-.623%200-1.13.505-1.132%201.128%200%20.623.505%201.13%201.128%201.131a1.13%201.13%200%200%200%20.004-2.258zm0%204.574a1.128%201.128%200%201%200%200%202.255%201.128%201.128%200%200%200%200-2.255m-2.912-4.376a.923.923%200%201%200%20.06-1.845.923.923%200%200%200-.06%201.845M3.76%2014a.76.76%200%200%200-.004%201.516.76.76%200%200%200%20.76-.756.76.76%200%200%200-.756-.76m2.516%2011.388a.923.923%200%201%200%20.06-1.845.923.923%200%200%200-.06%201.845m-2.516-.251a.758.758%200%201%200%20.756.76v-.004a.757.757%200%200%200-.756-.756'/%3e%3cpath%20fill='%23006eff'%20d='M5.934%2018.94a1.387%201.387%200%201%200%20.004%200zm6.321-1.832a.923.923%200%201%200%200-1.845.923.923%200%200%200%200%201.845m2.51-1.585a.759.759%200%200%200%200-1.516.757.757%200%201%200-.002%201.514h.002zm-2.51%209.865a.923.923%200%201%200%200-1.845.923.923%200%200%200%200%201.845m2.51-.251a.759.759%200%201%200%20.756.76v-.004a.757.757%200%200%200-.756-.756'/%3e%3cpath%20fill='%23000'%20d='M22.613%2019.873h-.638l-.271-.619H20.27l-.266.62h-.634l1.606-3.485h.02zm-2.137-1.109h1.039l-.523-1.187zm5.104-1.867-.37.42a1.15%201.15%200%200%200-.87-.392c-.675%200-1.137.517-1.137%201.238s.464%201.243%201.139%201.243c.342.005.667-.146.885-.41l.37.428c-.318.35-.777.538-1.248.516-1.002%200-1.723-.758-1.723-1.77%200-1.01.721-1.774%201.723-1.774a1.6%201.6%200%200%201%201.231.501m3.05%202.976h-.582v-1.479h-1.56v1.48h-.582v-3.427h.582v1.407h1.56v-1.406h.583zm-6.808%203.021v-2.12h.582v3.485h-.018l-2.087-2.186v2.125h-.583v-3.483h.019zm3.232.108v.184H23.39c.024.37.251.573.643.573.23.01.45-.088.597-.264l.37.292a1.18%201.18%200%200%201-.978.448%201.15%201.15%200%200%201-1.202-1.099v-.116c0-.708.472-1.226%201.15-1.226.725.015%201.084.55%201.084%201.207m-1.664-.206h1.109a.514.514%200%200%200-.471-.553h-.061a.554.554%200%200%200-.572.538v.017h-.005zm2.776-.945h.709v.475h-.709v1.044a.336.336%200%200%200%20.355.368.7.7%200%200%200%20.331-.08l.148.452a.96.96%200%200%201-.521.135c-.534%200-.875-.307-.875-.875v-1.046h-.443v-.475h.443v-.78h.555l.007.78zm3.204%202.394h-.018l-.647-1.294-.653%201.294h-.018l-1.08-2.403h.6l.531%201.294.61-1.295h.019l.605%201.295.536-1.295h.597zm3.513-1.214a1.22%201.22%200%201%201-1.22-1.221%201.18%201.18%200%200%201%201.22%201.14zm-1.873%200c0%20.419.27.72.647.72a.664.664%200%200%200%20.671-.721c0-.425-.273-.74-.656-.74s-.656.315-.656.74zm3.47-.666h-.05a.72.72%200%200%200-.61.353v1.479h-.554V21.85h.502l.034.312a.79.79%200%200%201%20.678-.353zm.849.554.954-1.072h.637l-.785.904.865%201.444h-.638l-.614-1.017-.42.444v.577h-.554v-3.54h.555z'/%3e%3c/g%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='a'%3e%3cpath%20fill='%23fff'%20d='M0%200h40v40H0z'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e"},DIRECT_DEBIT_GB:{name:"Direct Debit GB",logo:"data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cg%20clip-path='url(%23a)'%3e%3cpath%20fill='%23e71c44'%20d='M0%200h40v40H0z'/%3e%3cpath%20fill='%23e71c44'%20d='M10.72%2023.985c1.688-.077%203.085-1.304%203.34-2.932L15.055%2016H7.58L6%2023.985z'/%3e%3cpath%20fill='%23fff'%20d='m17.35%2016.044-.727%203.459h.023a2.34%202.34%200%200%201%201.933-1.09c1.206%200%201.66.969%201.66%201.916%200%201.63-1.216%203.657-3.423%203.657-.966%200-1.694-.385-1.694-1.376q.012-.417.09-.827l1.195-5.739zm-1.193%205.761q-.085.331-.069.672c0%20.506.296.794.888.794%201.421%200%202.285-1.642%202.285-2.821%200-.66-.295-1.278-1.046-1.278-.819%200-1.66.816-1.933%202.072zm7.983%202.06q.027-.691.125-1.376h-.022a2.41%202.41%200%200%201-2.138%201.497%201.64%201.64%200%200%201-1.19-.54%201.56%201.56%200%200%201-.392-1.222%203.7%203.7%200%200%201%201.087-2.684%203.88%203.88%200%200%201%202.724-1.128c.5%200%20.999.07%201.478.21l-.557%202.776a11.8%2011.8%200%200%200-.239%202.467zm.615-4.648a2.6%202.6%200%200%200-.66-.077c-1.422%200-2.582%201.442-2.593%202.919%200%20.595.216%201.179.944%201.179.785%200%201.717-.992%201.99-2.413zm4.911%204.439c-.5.222-1.043.335-1.592.33a2%202%200%200%201-1.544-.562%201.9%201.9%200%200%201-.571-1.508%203.34%203.34%200%200%201%20.94-2.428%203.5%203.5%200%200%201%202.426-1.065%202.9%202.9%200%200%201%201.15.232l-.274.727a2.2%202.2%200%200%200-.933-.199c-1.377.115-2.41%201.277-2.331%202.622-.05.374.073.75.337%201.025s.641.42%201.027.396a3%203%200%200%200%201.275-.297zM7.417%2021.432q-.452%200-.897-.076l1.023-5.172c2.011.047%203.622%201.203%203.622%202.623%200%201.45-1.679%202.625-3.748%202.625m1.888.27c1.832-.374%203.164-1.505%203.164-2.843%200-1.356-1.367-2.5-3.239-2.858h-.455c1.882.29%203.29%201.462%203.29%202.865%200%201.468-1.542%202.685-3.555%202.901q.076%200%20.153-.005.323-.016.642-.06m.989-5.701c1.965.408%203.394%201.546%203.471%202.956.102%201.866-2.208%203.501-5.158%203.653a8%208%200%200%201-2.294-.206L6%2023.985h4.72c1.687-.076%203.085-1.303%203.34-2.932l.995-5.052zm3.058%202.606C13.28%2017.294%2011.769%2016.26%209.759%2016h-.223c1.968.36%203.406%201.503%203.406%202.858-.13%201.153-.948%202.122-2.083%202.469%201.537-.562%202.554-1.594%202.493-2.721M30.52%2022.94c.36.204.767.318%201.183.33a.96.96%200%200%200%20.715-.215.92.92%200%200%200%20.331-.655c0-.418-.193-.672-.762-.98a1.6%201.6%200%200%201-.988-1.355c.028-.481.256-.93.632-1.241a1.85%201.85%200%200%201%201.357-.412c.4-.01.796.08%201.149.265l-.261.693a2%202%200%200%200-.956-.242.9.9%200%200%200-.666.198.85.85%200%200%200-.311.606c0%20.386.261.628.75.893.583.245.98.782%201.034%201.398a1.8%201.8%200%200%201-.653%201.335%201.9%201.9%200%200%201-1.45.428%202.56%202.56%200%200%201-1.365-.374z'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='a'%3e%3cpath%20fill='%23fff'%20d='M0%200h40v40H0z'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e"},SEPA_DIRECT_DEBIT:{name:"SEPA Direct Debit",logo:"data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cg%20clip-path='url(%23a)'%3e%3cpath%20fill='%239a1b27'%20d='M0%200h40v40H0z'/%3e%3cpath%20fill='%239a1b27'%20d='M3.077%209h33.846v22H3.077z'/%3e%3cpath%20fill='%23fefefe'%20d='M11.461%2019.505a6%206%200%200%200-1.527-.325%203.3%203.3%200%200%201-.88-.182.32.32%200%200%201-.202-.3.37.37%200%200%201%20.16-.3.83.83%200%200%201%20.508-.125c.207-.006.412.05.586.162a.67.67%200%200%201%20.253.381l1.951-.193a2.4%202.4%200%200%200-.508-.837%201.85%201.85%200%200%200-.763-.457%205%205%200%200%200-1.418-.148c-.49-.016-.98.048-1.451.19a1.84%201.84%200%200%200-.85.576%201.44%201.44%200%200%200-.308.919c-.004.312.097.618.286.867.177.244.421.431.703.54q.729.237%201.488.348.455.059.885.212a.38.38%200%200%201%20.185.532.4.4%200%200%201-.129.143%201.02%201.02%200%200%201-.642.177%201.05%201.05%200%200%201-.607-.157%201%201%200%200%201-.354-.523l-2.042.193c.098.49.386.92.801%201.198.646.333%201.371.48%202.096.422.56.022%201.12-.067%201.645-.262a1.9%201.9%200%200%200%20.885-.702c.18-.27.277-.585.28-.908a1.46%201.46%200%200%200-.265-.847%201.7%201.7%200%200%200-.766-.594'/%3e%3cpath%20fill='%23fefefe'%20fill-rule='evenodd'%20d='M23.049%2017.42c.307-.16.649-.243.996-.239.66-.028%201.29.285%201.665.828a3.44%203.44%200%200%201%20.59%202.046%202.96%202.96%200%200%201-.643%202.054%202.1%202.1%200%200%201-1.622.708%202.3%202.3%200%200%201-.867-.162%202.1%202.1%200%200%201-.7-.482v2.855h-2.079v-7.725h1.927v.797c.197-.272.446-.503.733-.68m.348%203.854a.75.75%200%200%200%20.602-.297c.19-.3.275-.655.243-1.008.027-.34-.062-.68-.253-.962a.77.77%200%200%200-.617-.307.83.83%200%200%200-.657.31c-.201.294-.294.65-.263%201.005-.027.338.068.675.268.95a.86.86%200%200%200%20.677.309m9.561.274q-.008.3.047.597.075.285.21.55h-1.93a2%202%200%200%201-.153-.317%202.4%202.4%200%200%201-.07-.342%202.7%202.7%200%200%201-.804.558%203.3%203.3%200%200%201-1.27.223%202.12%202.12%200%200%201-1.458-.446%201.42%201.42%200%200%201-.498-1.102c-.014-.37.115-.732.36-1.01a2.4%202.4%200%200%201%201.324-.59%2030%2030%200%200%200%201.501-.327q.37-.104.728-.246a.73.73%200%200%200-.156-.533.78.78%200%200%200-.552-.153%201.4%201.4%200%200%200-.758.163.9.9%200%200%200-.318.477l-1.967-.208c.052-.29.161-.568.321-.815.16-.215.367-.391.604-.515.245-.123.508-.206.779-.244q.532-.091%201.072-.086.747-.015%201.486.104c.346.056.67.206.935.434.192.176.334.4.415.647.097.256.148.526.152.8zm-2.136-.454c.09-.197.132-.412.123-.627v-.33q-.435.155-.884.269a2%202%200%200%200-.794.33.53.53%200%200%200-.003.779.7.7%200%200%200%20.498.155%201.3%201.3%200%200%200%20.64-.168c.177-.092.323-.233.42-.408'%20clip-rule='evenodd'/%3e%3cpath%20fill='%23fefefe'%20d='M12.793%2015.182v9.636l7.063%201.25V13.932z'/%3e%3cpath%20fill='%23fefefe'%20fill-rule='evenodd'%20d='M23.9%2024.877v.11h.134v-1.192h-.145v.427a.29.29%200%200%200-.237-.118.34.34%200%200%200-.32.217.6.6%200%200%200-.043.235.55.55%200%200%200%20.047.234c.03.064.075.12.133.159a.34.34%200%200%200%20.19.057.27.27%200%200%200%20.24-.129m-.392-.074a.38.38%200%200%201-.07-.247.4.4%200%200%201%20.065-.251.207.207%200%200%201%20.33.003.4.4%200%200%201%20.068.26.36.36%200%200%201-.067.239.206.206%200%200%201-.326-.004m1.095-.84h-.174v-.168h.174zm0%201.023h-.174v-.863h.174z'%20clip-rule='evenodd'/%3e%3cpath%20fill='%23fefefe'%20d='M24.96%2024.986v-.863h.131v.131a.4.4%200%200%201%20.093-.12.16.16%200%200%201%20.093-.03.3.3%200%200%201%20.15.047l-.05.136a.2.2%200%200%200-.107-.032.14.14%200%200%200-.086.029.16.16%200%200%200-.054.08.6.6%200%200%200-.024.17v.452z'/%3e%3cpath%20fill='%23fefefe'%20fill-rule='evenodd'%20d='m26.418%2024.727-.15-.019a.3.3%200%200%201-.09.135.22.22%200%200%201-.137.043.24.24%200%200%201-.18-.076.33.33%200%200%201-.08-.218h.64l.002-.039a.47.47%200%200%200-.11-.331.37.37%200%200%200-.28-.118.38.38%200%200%200-.29.12.48.48%200%200%200-.112.338.46.46%200%200%200%20.11.327c.15.138.375.155.545.044a.37.37%200%200%200%20.132-.206m-.629-.255h.48a.3.3%200%200%200-.055-.163.22.22%200%200%200-.18-.085.23.23%200%200%200-.17.068.27.27%200%200%200-.075.18'%20clip-rule='evenodd'/%3e%3cpath%20fill='%23fefefe'%20d='m27.327%2024.67.143.019a.35.35%200%200%201-.357.317.37.37%200%200%201-.284-.116.47.47%200%200%201-.107-.332.6.6%200%200%201%20.046-.244.32.32%200%200%201%20.14-.158.4.4%200%200%201%20.205-.052.36.36%200%200%201%20.23.071.33.33%200%200%201%20.113.202l-.141.022a.24.24%200%200%200-.072-.131.18.18%200%200%200-.124-.044.23.23%200%200%200-.179.08.38.38%200%200%200-.069.25.4.4%200%200%200%20.067.253c.042.051.106.08.173.078a.2.2%200%200%200%20.143-.052.26.26%200%200%200%20.073-.163m.751.185.021.13a.5.5%200%200%201-.11.012.25.25%200%200%201-.123-.025.14.14%200%200%201-.061-.066.5.5%200%200%201-.018-.173v-.496h-.107v-.114h.107v-.213l.145-.088v.301h.146v.114h-.146v.505a.3.3%200%200%200%20.007.08.06.06%200%200%200%20.025.029.1.1%200%200%200%20.05.01z'/%3e%3cpath%20fill='%23fefefe'%20fill-rule='evenodd'%20d='M29.487%2024.877v.11h.135v-1.192h-.145v.427a.29.29%200%200%200-.237-.118.34.34%200%200%200-.32.217.6.6%200%200%200-.043.235.55.55%200%200%200%20.047.234c.029.064.075.12.134.159a.34.34%200%200%200%20.188.057.27.27%200%200%200%20.24-.129m-.392-.074a.38.38%200%200%201-.07-.247.4.4%200%200%201%20.065-.251.21.21%200%200%201%20.33.003.4.4%200%200%201%20.068.26.36.36%200%200%201-.067.239.205.205%200%200%201-.326-.004m1.66-.076-.15-.019a.3.3%200%200%201-.09.135.22.22%200%200%201-.137.043.24.24%200%200%201-.18-.076.33.33%200%200%201-.08-.218h.64l.002-.039a.47.47%200%200%200-.11-.331.37.37%200%200%200-.281-.118.38.38%200%200%200-.29.12.48.48%200%200%200-.111.338.46.46%200%200%200%20.11.327c.15.138.375.155.545.044a.37.37%200%200%200%20.132-.206m-.63-.255h.48a.3.3%200%200%200-.054-.163.22.22%200%200%200-.18-.085.23.23%200%200%200-.17.068.27.27%200%200%200-.075.18m.977.514h.135v-.108c.052.082.143.13.24.128a.34.34%200%200%200%20.26-.121.5.5%200%200%200%20.11-.343.6.6%200%200%200-.025-.176.4.4%200%200%200-.072-.14.3.3%200%200%200-.117-.09.4.4%200%200%200-.15-.032.29.29%200%200%200-.235.116v-.425h-.146zm.176-.213a.45.45%200%200%201-.042-.225.37.37%200%200%201%20.07-.24.204.204%200%200%201%20.326-.003c.05.073.074.16.067.25a.38.38%200%200%201-.07.247.206.206%200%200%201-.282.048.2.2%200%200%201-.07-.078m1.088-.809h-.174v-.168h.174zm0%201.023h-.174v-.863h.174z'%20clip-rule='evenodd'/%3e%3cpath%20fill='%23fefefe'%20d='m33.042%2024.855.02.13a.5.5%200%200%201-.11.012.25.25%200%200%201-.122-.025.14.14%200%200%201-.062-.066.5.5%200%200%201-.017-.173v-.496h-.107v-.114h.107v-.213l.144-.088v.301h.147v.114h-.147v.505q0%20.04.008.08a.06.06%200%200%200%20.025.029.1.1%200%200%200%20.05.01z'/%3e%3cpath%20fill='%239a1b27'%20fill-rule='evenodd'%20d='M15.308%2020.512h4.126v-.233a3.7%203.7%200%200%200-.35-1.732%202.36%202.36%200%200%200-1.015-1.015%203.95%203.95%200%200%200-1.82-.35%203.07%203.07%200%200%200-2.227.781%202.72%202.72%200%200%200-.807%202.047%202.9%202.9%200%200%200%20.402%201.546c.239.41.59.744%201.014.96.53.224%201.103.328%201.678.302a4.06%204.06%200%200%200%201.886-.353%202.9%202.9%200%200%200%201.122-1.166l-2.027-.187q-.15.203-.359.34c-.175.1-.374.152-.576.152a.97.97%200%200%201-.779-.35%201.34%201.34%200%200%201-.268-.742m1.712-1.848c.2.242.314.544.32.858h-2.027c.013-.259.095-.51.238-.726a1.007%201.007%200%200%201%201.469-.132'%20clip-rule='evenodd'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='a'%3e%3cpath%20fill='%23fff'%20d='M0%200h40v40H0z'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e"}},ra={class:"flex h-full grow flex-col justify-center"},ca=e.defineComponent({__name:"PaymentMethodDirectDebit",props:{paymentMethod:{},isDefault:{type:Boolean},options:{},variant:{default:"default"}},setup(t){const l=t,n=e.computed(()=>{var e;return(null==(e=l.paymentMethod.direct_debit)?void 0:e.variant)?ia[l.paymentMethod.direct_debit.variant]:void 0});return(l,a)=>{var i,r,c;return e.openBlock(),e.createBlock(go,{"image-src":(null==(i=n.value)?void 0:i.logo)??e.unref(so),"image-alt":null==(c=null==(r=n.value)?void 0:r.name)?void 0:c.toLowerCase(),variant:t.variant,options:t.options,"is-inactive":"INACTIVE"===t.paymentMethod.status},{default:e.withCtx(()=>[e.createElementVNode("div",ra,[e.createVNode(o,{tag:"span",weight:"semibold","no-spacing":"",variant:"condensed"===t.variant?"body-xs":"body-sm",shade:"condensed"===t.variant?"light":void 0},{default:e.withCtx(()=>{var t;return[e.createTextVNode(e.toDisplayString(null==(t=n.value)?void 0:t.name),1)]}),_:1},8,["variant","shade"]),e.createVNode(Kn,{"is-default":t.isDefault},null,8,["is-default"]),e.createVNode(Wn,{"is-inactive":"INACTIVE"===t.paymentMethod.status},null,8,["is-inactive"])])]),_:1},8,["image-src","image-alt","variant","options","is-inactive"])}}}),sa={EPS:{name:"Electronic Payment Services",logo:"data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%3e%3cg%20clip-path='url(%23a)'%3e%3cpath%20fill='%23de378c'%20d='M40%200H0v40h40z'/%3e%3cpath%20fill='%23fff'%20fill-rule='evenodd'%20d='M17.214%2022.014c.483-.99%201.455-1.76%202.572-1.76s2.088.77%202.571%201.76zM19.784%207.5c2.605%200%204.716%202.185%204.716%204.881v1.367c0%20.176-.146.35-.315.35H22.45c-.17%200-.307-.174-.307-.35v-1.367c0-1.346-1.057-2.441-2.357-2.441s-2.357%201.095-2.357%202.441v1.367c0%20.176-.149.35-.318.35h-1.735c-.17%200-.304-.174-.304-.35v-1.5C15.14%209.614%2017.223%207.5%2019.784%207.5m-5.286%2017.406c.606%202.547%202.848%204.497%205.514%204.497h7.455a2.21%202.21%200%200%201-2.168%201.847H14.701c-1.21%200-2.201-1.047-2.201-2.289V18.085a2.21%202.21%200%200%201%202.201-2.228h10.598c1.21%200%202.201%201.016%202.201%202.259l-.01%208.332h-7.478c-1.146%200-2.14-.555-2.63-1.54H25.7v-1.413c0-3.213-2.569-5.824-5.7-5.824-2.662%200-4.901%201.892-5.512%204.433%200%200-.166.85-.166%201.405s.176%201.397.176%201.397'%20clip-rule='evenodd'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='a'%3e%3cpath%20fill='%23fff'%20d='M0%200h40v40H0z'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e"},IDEAL:{name:"iDEAL",logo:"data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%3e%3cpath%20fill='%23e664a5'%20d='M0%200h40v40H0z'/%3e%3cpath%20fill='%23fff'%20d='M7.5%2010.417V29.18c0%20.914.753%201.613%201.613%201.613H20.35c8.494%200%2012.15-4.731%2012.15-11.022%200-6.29-3.656-11.021-12.15-11.021H9.166c-.914.054-1.667.807-1.667%201.667Z'/%3e%3cpath%20fill='%23c06'%20d='M15.027%2013.428v13.871h6.021c5.484%200%207.85-3.118%207.85-7.473%200-4.194-2.366-7.42-7.85-7.42h-5c-.537-.053-1.021.43-1.021%201.022'/%3e%3cpath%20fill='%23000'%20d='M20.35%2029.342h-9.732a1.56%201.56%200%200%201-1.559-1.56V11.868a1.56%201.56%200%200%201%201.56-1.559h9.731c9.247%200%2010.645%205.968%2010.645%209.516%200%206.13-3.764%209.517-10.645%209.517m-9.732-18.495a1.02%201.02%200%200%200-1.021%201.021v15.914a1.02%201.02%200%200%200%201.021%201.022h9.732c6.505%200%2010.107-3.226%2010.107-9.033%200-7.795-6.344-8.978-10.107-8.978l-9.731.054Z'/%3e%3cpath%20fill='%23fff'%20d='M17.178%2017.943c.215%200%20.43.054.591.108q.242.08.484.322l.322.484c.054.215.108.43.108.699s-.054.484-.108.645c-.053.215-.16.377-.268.538s-.27.269-.484.376c-.162.108-.43.108-.645.108h-1.452v-3.334zm-.054%202.688c.107%200%20.215%200%20.322-.053.108-.054.162-.108.27-.162.053-.107.16-.161.16-.322.054-.108.054-.27.054-.484%200-.162%200-.323-.054-.43-.053-.108-.107-.269-.16-.323-.055-.107-.162-.161-.27-.215-.107-.054-.268-.054-.43-.054h-.537v2.097zm4.516-2.688v.591h-1.774v.753h1.613v.538h-1.613v.806h1.774v.592h-2.527v-3.334zm2.473%200%201.237%203.333h-.753l-.27-.753h-1.236l-.269.753h-.752l1.237-3.333zm.054%202.043-.43-1.237-.43%201.237zm2.365-2.043v2.688h1.613v.592H25.78v-3.334c.053.054.752.054.752.054'/%3e%3cpath%20fill='%23000'%20d='M12.285%2021.115a1.506%201.506%200%201%200%200-3.011%201.506%201.506%200%200%200%200%203.011m1.183%206.184a2.294%202.294%200%200%201-2.312-2.312V23.16c0-.645.538-1.182%201.183-1.182s1.183.537%201.183%201.182l-.054%204.14Z'/%3e%3c/svg%3e"},PAY_BY_BANK:{name:"Open Banking / Pay by bank",logo:"data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%3e%3cpath%20fill='%23fff'%20d='M0%200h40v40H0z'/%3e%3cg%20fill='%23101289'%20fill-rule='evenodd'%20clip-path='url(%23a)'%20clip-rule='evenodd'%3e%3cpath%20d='M18.235%2013.537c0-.08.068-.144.143-.144h.19l3.015%203.056h.007v-2.825c0-.08.06-.15.144-.15h.907c.076%200%20.144.07.144.15v5.355c0%20.08-.068.143-.144.143h-.12a.2.2%200%200%201-.1-.04l-2.985-3.158h-.007v2.967c0%20.08-.06.151-.144.151h-.9c-.075%200-.143-.071-.143-.151zM5.713%2017.849c.832%200%201.512-.716%201.512-1.583%200-.875-.68-1.6-1.512-1.6-.823%200-1.504.724-1.504%201.6%200%20.867.68%201.583%201.504%201.583m0-4.455c1.512%200%202.721%201.28%202.721%202.872%200%201.59-1.209%202.856-2.72%202.856C4.201%2019.122%203%2017.857%203%2016.266s1.202-2.872%202.713-2.872m5.511%202.466c.325%200%20.597-.27.597-.628a.59.59%200%200%200-.597-.59h-.718v1.218zm-1.897-2.236c0-.08.06-.15.144-.15h1.821c.93%200%201.693.795%201.693%201.758%200%20.986-.763%201.79-1.685%201.79h-.794v1.87c0%20.079-.068.15-.143.15H9.47a.147.147%200%200%201-.144-.15zm4.486%200c0-.08.06-.15.143-.15h3.13c.082%200%20.143.07.143.15v.868c0%20.08-.06.15-.144.15h-2.093v.987h1.723c.075%200%20.143.072.143.151v.868a.147.147%200%200%201-.143.15h-1.723v1.075h2.093c.083%200%20.144.071.144.15v.868c0%20.08-.06.151-.144.151h-3.129c-.083%200-.143-.071-.143-.151z'/%3e%3c/g%3e%3cg%20fill='%23101289'%20fill-rule='evenodd'%20clip-path='url(%23b)'%20clip-rule='evenodd'%3e%3cpath%20d='M4.918%2025.194c.295%200%20.545-.254.545-.58%200-.319-.325-.557-.62-.557H4.23v1.137zm-.098-2.171c.287%200%20.53-.255.53-.573a.526.526%200%200%200-.53-.541h-.59v1.114zm-1.768-2.109c0-.08.06-.151.143-.151h1.761c.892%200%201.625.644%201.625%201.48%200%20.613-.521%201.058-.876%201.257.4.175%201.012.565%201.012%201.297%200%20.89-.748%201.535-1.647%201.535H3.195c-.083%200-.143-.071-.143-.15zm7.22%203.509-.575-1.313H9.69l-.567%201.313zm-3.107%201.702%202.366-5.354c.023-.048.076-.088.128-.088h.076c.053%200%20.106.04.129.088l2.365%205.354c.046.104-.015.207-.128.207h-.84c-.135%200-.196-.047-.264-.199l-.272-.628H8.67l-.272.636a.28.28%200%200%201-.272.191h-.831c-.114%200-.174-.103-.129-.207Zm5.789-5.298c0-.08.068-.144.143-.144h.19l3.015%203.055h.007v-2.824c0-.08.06-.151.144-.151h.907c.076%200%20.144.072.144.151v5.354c0%20.08-.068.144-.144.144h-.12a.2.2%200%200%201-.1-.04l-2.985-3.159h-.007v2.968c0%20.08-.06.151-.144.151h-.9c-.075%200-.143-.071-.143-.151zm5.716.127c0-.103.076-.191.182-.191h.884c.098%200%20.181.088.181.191v2.092l1.678-2.203c.03-.04.099-.08.144-.08h.952c.144%200%20.22.175.136.294l-1.768%202.331%201.927%202.642c.083.12%200%20.294-.144.294H21.8c-.053%200-.12-.032-.136-.056l-1.746-2.498v2.371c0%20.104-.083.191-.181.191h-.884c-.106%200-.182-.087-.182-.19v-5.188Zm5.188-.04c0-.08.068-.151.143-.151h.908c.075%200%20.143.072.143.151v5.267c0%20.08-.068.151-.143.151H24c-.075%200-.143-.071-.143-.151v-5.267Zm2.375-.087c0-.08.068-.144.143-.144h.19l3.015%203.055h.008v-2.824c0-.08.06-.151.144-.151h.906c.076%200%20.144.072.144.151v5.354c0%20.08-.068.144-.144.144h-.12a.2.2%200%200%201-.099-.04l-2.985-3.159h-.008v2.968c0%20.08-.06.151-.144.151h-.899c-.076%200-.143-.071-.143-.151zm8.13-.136c.635%200%201.33.279%201.844.748a.144.144%200%200%201%20.016.215l-.598.668a.153.153%200%200%201-.203.008c-.288-.278-.62-.382-.99-.382-.825%200-1.49.732-1.49%201.607%200%20.868.673%201.584%201.497%201.584.219%200%20.446-.032.673-.128v-.46h-.477a.14.14%200%200%201-.143-.144v-.788c0-.087.06-.151.143-.151h1.52c.075%200%20.136.072.136.151l.007%202.14a.2.2%200%200%201-.06.128s-.779.517-1.875.517c-1.504%200-2.713-1.257-2.713-2.849%200-1.59%201.21-2.864%202.713-2.864'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='a'%3e%3cpath%20fill='%23fff'%20d='M3%2013.394h20.73v5.923H3z'/%3e%3c/clipPath%3e%3cclipPath%20id='b'%3e%3cpath%20fill='%23fff'%20d='M3%2020.683h33.563v5.923H3z'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e"},TRUSTLY:{name:"Trustly",logo:"data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%3e%3cg%20clip-path='url(%23a)'%3e%3cmask%20id='b'%20width='40'%20height='40'%20x='0'%20y='0'%20maskUnits='userSpaceOnUse'%20style='mask-type:luminance'%3e%3cpath%20fill='%23fff'%20d='M0%200h40v40H0z'/%3e%3c/mask%3e%3cg%20mask='url(%23b)'%3e%3cpath%20fill='%23fff'%20d='M0%200h40v40H0z'/%3e%3cpath%20fill='%2310303f'%20d='M0%200h40v40H0z'/%3e%3cpath%20fill='%2368de7a'%20d='M7.5%2018.75h8.75v-6.875l6.875%206.875-6.875%206.875v3.75H25V18.75h7.5v-8.125h-25z'/%3e%3c/g%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='a'%3e%3cpath%20fill='%23fff'%20d='M0%200h40v40H0z'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e"}},da={class:"flex h-full grow flex-col justify-center"},ua=e.defineComponent({__name:"PaymentMethodOnlineBanking",props:{paymentMethod:{},i18n:{},isDefault:{type:Boolean},variant:{default:"default"}},setup(t){const l=t,n=e.computed(()=>{var e;return(null==(e=l.paymentMethod.online_banking)?void 0:e.variant)?sa[l.paymentMethod.online_banking.variant]:void 0});return(l,a)=>{var i,r,c;return e.openBlock(),e.createBlock(go,{"image-alt":(null==(i=n.value)?void 0:i.name)??(null==(r=t.i18n)?void 0:r.imageAlt)??"Bank transfer","image-src":(null==(c=n.value)?void 0:c.logo)??e.unref("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='32'%20height='32'%20fill='none'%3e%3cpath%20fill='%23e1e2ff'%20d='M0%200h32v32H0z'/%3e%3cmask%20id='a'%20width='24'%20height='24'%20x='4'%20y='4'%20maskUnits='userSpaceOnUse'%20style='mask-type:alpha'%3e%3cpath%20fill='%23d9d9d9'%20d='M4%204h24v24H4z'/%3e%3c/mask%3e%3cg%20mask='url(%23a)'%3e%3cpath%20fill='%231f216a'%20d='M6.5%2022.5v-13h19v3.144H24l-4.606%204.606H10.25v1.5h7.644l-3.75%203.75zm3.75-7.75h5.5v-1.5h-5.5zm6.904%209.712v-1.27l6.38-6.38%201.27%201.269-6.381%206.38h-1.27Zm8.23-6.981-1.269-1.27.841-.84a.36.36%200%200%201%20.258-.117q.14%200%20.255.115l.758.758a.36.36%200%200%201%20.115.256.36.36%200%200%201-.116.257z'/%3e%3c/g%3e%3c/svg%3e"),variant:t.variant,"is-inactive":"INACTIVE"===t.paymentMethod.status},{default:e.withCtx(()=>[e.createElementVNode("div",da,[e.createVNode(o,{tag:"span",weight:"semibold","no-spacing":"",variant:"condensed"===t.variant?"body-xs":"body-sm",shade:"condensed"===t.variant?"light":void 0},{default:e.withCtx(()=>{var o;return[e.createTextVNode(e.toDisplayString(null==(o=n.value)?void 0:o.name)+" ",1),"SETUP"===t.paymentMethod.status?(e.openBlock(),e.createBlock(Qn,{key:0,size:"sm",class:"font-normal ml-1"},{default:e.withCtx(()=>{var o;return[e.createTextVNode(e.toDisplayString((null==(o=t.i18n)?void 0:o.pendingLabel)??"Pending"),1)]}),_:1})):e.createCommentVNode("",!0)]}),_:1},8,["variant","shade"]),"default"===t.variant?(e.openBlock(),e.createBlock(o,{key:0,tag:"span",variant:"body-xs",shade:"lighter","no-spacing":""},{default:e.withCtx(()=>{var o,l;return[e.createTextVNode(e.toDisplayString((null==(o=t.paymentMethod.online_banking)?void 0:o.iban)??(null==(l=t.i18n)?void 0:l.onlineBankingLabel)??"Online banking"),1)]}),_:1})):e.createCommentVNode("",!0),e.createVNode(Kn,{"is-default":t.isDefault},null,8,["is-default"]),e.createVNode(Wn,{"is-inactive":"INACTIVE"===t.paymentMethod.status},null,8,["is-inactive"])])]),_:1},8,["image-alt","image-src","variant","is-inactive"])}}}),pa=e.defineComponent({__name:"PaymentMethod",props:{paymentMethod:{},variant:{},i18n:{}},setup:t=>(o,l)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,["CARD"===t.paymentMethod.type?(e.openBlock(),e.createBlock(oa,e.mergeProps({key:0},o.$attrs,{"payment-method":t.paymentMethod,variant:t.variant,"is-default":t.paymentMethod.is_default}),null,16,["payment-method","variant","is-default"])):e.createCommentVNode("",!0),"ONLINE_BANKING"===t.paymentMethod.type?(e.openBlock(),e.createBlock(ua,e.mergeProps({key:1},o.$attrs,{"payment-method":t.paymentMethod,variant:t.variant,"is-default":t.paymentMethod.is_default}),null,16,["payment-method","variant","is-default"])):e.createCommentVNode("",!0),"BUY_NOW_PAY_LATER"===t.paymentMethod.type?(e.openBlock(),e.createBlock(Jn,e.mergeProps({key:2},o.$attrs,{"payment-method":t.paymentMethod,variant:t.variant,"is-default":t.paymentMethod.is_default}),null,16,["payment-method","variant","is-default"])):e.createCommentVNode("",!0),"DIRECT_DEBIT"===t.paymentMethod.type?(e.openBlock(),e.createBlock(ca,e.mergeProps({key:3},o.$attrs,{"payment-method":t.paymentMethod,variant:t.variant,"is-default":t.paymentMethod.is_default}),null,16,["payment-method","variant","is-default"])):e.createCommentVNode("",!0),"DIGITAL_WALLET"===t.paymentMethod.type?(e.openBlock(),e.createBlock(aa,e.mergeProps({key:4},o.$attrs,{"payment-method":t.paymentMethod,variant:t.variant,"is-default":t.paymentMethod.is_default}),null,16,["payment-method","variant","is-default"])):e.createCommentVNode("",!0)],64))}),ma=()=>{const t=e.ref(!1);return e.onMounted(()=>{t.value=!0}),t},fa=t=>{const o=(null==t?void 0:t.initialToggledItems)??[],l=(null==t?void 0:t.closeOthers)??!1,n=e.ref(o??[]);return{toggledItems:n,toggle:e=>((e,t=!1)=>{const o=n.value.find(t=>t===e);n.value=t?e===o?[]:[e]:o?n.value.filter(t=>t!==e):[...n.value,e]})(e,l),getIsOpen:e=>n.value.includes(e),toggleAll:e=>{0!==e.length&&(n.value.length===e.length?n.value=[]:n.value=e)}}},ha=(t=[])=>{const o=e.ref(t);return[o,e=>{const t=o.value.find(t=>t===e);o.value="number"==typeof t?o.value.filter(t=>t!==e):[...o.value,e]}]};function va(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);t&&(l=l.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),o.push.apply(o,l)}return o}function ga(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?va(Object(o),!0).forEach(function(t){ya(e,t,o[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):va(Object(o)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))})}return e}function ya(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function ba(t){let o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return Object.keys(t).reduce((l,n)=>(o.includes(n)||(l[n]=e.unref(t[n])),l),{})}function xa(e){return"function"==typeof e}function ka(e,t,o){let l=e;const n=t.split(".");for(let a=0;a<n.length;a++){if(!l[n[a]])return o;l=l[n[a]]}return l}function _a(t,o,l){return e.computed(()=>t.some(e=>ka(o,e,{[l]:!1})[l]))}function wa(t,o,l){return e.computed(()=>t.reduce((e,t)=>{const n=ka(o,t,{[l]:!1})[l]||[];return e.concat(n)},[]))}function Ba(t,o,l,n){return t.call(n,e.unref(o),e.unref(l),n)}function Ca(e){return void 0!==e.$valid?!e.$valid:!e}function Ea(t,o,l,n,a,i,r,c,s,d,u){const p=e.ref(!1),m=t.$params||{},f=e.ref(null);let h,v;t.$async?({$invalid:h,$unwatch:v}=function(t,o,l,n,a,i,r){let{$lazy:c,$rewardEarly:s}=a,d=arguments.length>7&&void 0!==arguments[7]?arguments[7]:[],u=arguments.length>8?arguments[8]:void 0,p=arguments.length>9?arguments[9]:void 0,m=arguments.length>10?arguments[10]:void 0;const f=e.ref(!!n.value),h=e.ref(0);l.value=!1;const v=e.watch([o,n].concat(d,m),()=>{if(c&&!n.value||s&&!p.value&&!l.value)return;let e;try{e=Ba(t,o,u,r)}catch(a){e=Promise.reject(a)}h.value++,l.value=!!h.value,f.value=!1,Promise.resolve(e).then(e=>{h.value--,l.value=!!h.value,i.value=e,f.value=Ca(e)}).catch(e=>{h.value--,l.value=!!h.value,i.value=e,f.value=!0})},{immediate:!0,deep:"object"==typeof o});return{$invalid:f,$unwatch:v}}(t.$validator,o,p,l,n,f,a,t.$watchTargets,s,d,u)):({$invalid:h,$unwatch:v}=function(t,o,l,n,a,i,r,c){let{$lazy:s,$rewardEarly:d}=n;return{$unwatch:()=>({}),$invalid:e.computed(()=>{if(s&&!l.value||d&&!c.value)return!1;let e=!0;try{const l=Ba(t,o,r,i);a.value=l,e=Ca(l)}catch(n){a.value=n}return e})}}(t.$validator,o,l,n,f,a,s,d));const g=t.$message;return{$message:xa(g)?e.computed(()=>g(ba({$pending:p,$invalid:h,$params:ba(m),$model:o,$response:f,$validator:i,$propertyPath:c,$property:r}))):g||"",$params:m,$pending:p,$invalid:h,$response:f,$unwatch:v}}function Na(t){let{validations:o,state:l,key:n,parentKey:a,childResults:i,resultsCache:r,globalConfig:c={},instance:s,externalResults:d}=t;const u=a?`${a}.${n}`:n,{rules:p,nestedValidators:m,config:f,validationGroups:h}=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const o=e.unref(t),l=Object.keys(o),n={},a={},i={};let r=null;return l.forEach(e=>{const t=o[e];switch(!0){case xa(t.$validator):n[e]=t;break;case xa(t):n[e]={$validator:t};break;case"$validationGroups"===e:r=t;break;case e.startsWith("$"):i[e]=t;break;default:a[e]=t}}),{rules:n,nestedValidators:a,config:i,validationGroups:r}}(o),v=ga(ga({},c),f),g=n?e.computed(()=>{const t=e.unref(l);return t?e.unref(t[n]):void 0}):l,y=ga({},e.unref(d)||{}),b=e.computed(()=>{const t=e.unref(d);return n?t?e.unref(t[n]):void 0:t}),x=function(t,o,l,n,a,i,r,c,s){const d=Object.keys(t),u=n.get(a,t),p=e.ref(!1),m=e.ref(!1),f=e.ref(0);if(u){if(!u.$partial)return u;u.$unwatch(),p.value=u.$dirty.value}const h={$dirty:p,$path:a,$touch:()=>{p.value||(p.value=!0)},$reset:()=>{p.value&&(p.value=!1)},$commit:()=>{}};return d.length?(d.forEach(e=>{h[e]=Ea(t[e],o,h.$dirty,i,r,e,l,a,s,m,f)}),h.$externalResults=e.computed(()=>c.value?[].concat(c.value).map((e,t)=>({$propertyPath:a,$property:l,$validator:"$externalResults",$uid:`${a}-externalResult-${t}`,$message:e,$params:{},$response:null,$pending:!1})):[]),h.$invalid=e.computed(()=>{const t=d.some(t=>e.unref(h[t].$invalid));return m.value=t,!!h.$externalResults.value.length||t}),h.$pending=e.computed(()=>d.some(t=>e.unref(h[t].$pending))),h.$error=e.computed(()=>!!h.$dirty.value&&(h.$pending.value||h.$invalid.value)),h.$silentErrors=e.computed(()=>d.filter(t=>e.unref(h[t].$invalid)).map(t=>{const o=h[t];return e.reactive({$propertyPath:a,$property:l,$validator:t,$uid:`${a}-${t}`,$message:o.$message,$params:o.$params,$response:o.$response,$pending:o.$pending})}).concat(h.$externalResults.value)),h.$errors=e.computed(()=>h.$dirty.value?h.$silentErrors.value:[]),h.$unwatch=()=>d.forEach(e=>{h[e].$unwatch()}),h.$commit=()=>{m.value=!0,f.value=Date.now()},n.set(a,t,h),h):(u&&n.set(a,t,h),h)}(p,g,n,r,u,v,s,b,l),k=function(e,t,o,l,n,a,i){const r=Object.keys(e);return r.length?r.reduce((r,c)=>(r[c]=Na({validations:e[c],state:t,key:c,parentKey:o,resultsCache:l,globalConfig:n,instance:a,externalResults:i}),r),{}):{}}(m,g,u,r,v,s,b),_={};h&&Object.entries(h).forEach(e=>{let[t,o]=e;_[t]={$invalid:_a(o,k,"$invalid"),$error:_a(o,k,"$error"),$pending:_a(o,k,"$pending"),$errors:wa(o,k,"$errors"),$silentErrors:wa(o,k,"$silentErrors")}});const{$dirty:w,$errors:B,$invalid:C,$anyDirty:E,$error:N,$pending:T,$touch:M,$reset:V,$silentErrors:S,$commit:z}=function(t,o,l){const n=e.computed(()=>[o,l].filter(e=>e).reduce((t,o)=>t.concat(Object.values(e.unref(o))),[])),a=e.computed({get:()=>t.$dirty.value||!!n.value.length&&n.value.every(e=>e.$dirty),set(e){t.$dirty.value=e}}),i=e.computed(()=>{const o=e.unref(t.$silentErrors)||[],l=n.value.filter(t=>(e.unref(t).$silentErrors||[]).length).reduce((e,t)=>e.concat(...t.$silentErrors),[]);return o.concat(l)}),r=e.computed(()=>{const o=e.unref(t.$errors)||[],l=n.value.filter(t=>(e.unref(t).$errors||[]).length).reduce((e,t)=>e.concat(...t.$errors),[]);return o.concat(l)}),c=e.computed(()=>n.value.some(e=>e.$invalid)||e.unref(t.$invalid)||!1),s=e.computed(()=>n.value.some(t=>e.unref(t.$pending))||e.unref(t.$pending)||!1),d=e.computed(()=>n.value.some(e=>e.$dirty)||n.value.some(e=>e.$anyDirty)||a.value),u=e.computed(()=>!!a.value&&(s.value||c.value)),p=()=>{t.$touch(),n.value.forEach(e=>{e.$touch()})};return n.value.length&&n.value.every(e=>e.$dirty)&&p(),{$dirty:a,$errors:r,$invalid:c,$anyDirty:d,$error:u,$pending:s,$touch:p,$reset:()=>{t.$reset(),n.value.forEach(e=>{e.$reset()})},$silentErrors:i,$commit:()=>{t.$commit(),n.value.forEach(e=>{e.$commit()})}}}(x,k,i),P=n?e.computed({get:()=>e.unref(g),set:t=>{w.value=!0;const o=e.unref(l),a=e.unref(d);a&&(a[n]=y[n]),e.isRef(o[n])?o[n].value=t:o[n]=t}}):null;return n&&v.$autoDirty&&e.watch(g,()=>{w.value||M();const t=e.unref(d);t&&(t[n]=y[n])},{flush:"sync"}),e.reactive(ga(ga(ga({},x),{},{$model:P,$dirty:w,$error:N,$errors:B,$invalid:C,$anyDirty:E,$pending:T,$touch:M,$reset:V,$path:u||"__root",$silentErrors:S,$validate:async function(){return M(),v.$rewardEarly&&(z(),await e.nextTick()),await e.nextTick(),new Promise(t=>{if(!T.value)return t(!C.value);const o=e.watch(T,()=>{t(!C.value),o()})})},$commit:z},i&&{$getResultsForChild:function(e){return(i.value||{})[e]},$clearExternalResults:function(){e.isRef(d)?d.value=y:0===Object.keys(y).length?Object.keys(d).forEach(e=>{delete d[e]}):Object.assign(d,y)},$validationGroups:_}),k))}class Ta{constructor(){this.storage=new Map}set(e,t,o){this.storage.set(e,{rules:t,result:o})}checkRulesValidity(t,o,l){const n=Object.keys(l),a=Object.keys(o);if(a.length!==n.length)return!1;return!!a.every(e=>n.includes(e))&&a.every(t=>!o[t].$params||Object.keys(o[t].$params).every(n=>e.unref(l[t].$params[n])===e.unref(o[t].$params[n])))}get(e,t){const o=this.storage.get(e);if(!o)return;const{rules:l,result:n}=o,a=this.checkRulesValidity(e,t,l),i=n.$unwatch?n.$unwatch:()=>({});return a?n:{$dirty:n.$dirty,$partial:!0,$unwatch:i}}}const Ma={COLLECT_ALL:!0,COLLECT_NONE:!1},Va=Symbol("vuelidate#injectChildResults"),Sa=Symbol("vuelidate#removeChildResults");function za(t){return new Proxy(t,{get:(t,o)=>"object"==typeof t[o]?za(t[o]):e.computed(()=>t[o])})}let Pa=0;function qa(t,o){var l;let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};1===arguments.length&&(n=t,t=void 0,o=void 0);let{$registerAs:a,$scope:i=Ma.COLLECT_ALL,$stopPropagation:r,$externalResults:c,currentVueInstance:s}=n;const d=s||(null===(l=e.getCurrentInstance())||void 0===l?void 0:l.proxy),u=d?d.$options:{};a||(Pa+=1,a=`_vuelidate_${Pa}`);const p=e.ref({}),m=new Ta,{childResults:f,sendValidationResultsToParent:h,removeValidationResultsFromParent:v}=d?function(t){let{$scope:o,instance:l}=t;const n={},a=e.ref([]),i=e.computed(()=>a.value.reduce((t,o)=>(t[o]=e.unref(n[o]),t),{}));l.__vuelidateInjectInstances=[].concat(l.__vuelidateInjectInstances||[],function(e,t){let{$registerAs:l,$scope:i,$stopPropagation:r}=t;r||o===Ma.COLLECT_NONE||i===Ma.COLLECT_NONE||o!==Ma.COLLECT_ALL&&o!==i||(n[l]=e,a.value.push(l))}),l.__vuelidateRemoveInstances=[].concat(l.__vuelidateRemoveInstances||[],function(e){a.value=a.value.filter(t=>t!==e),delete n[e]});const r=e.inject(Va,[]);e.provide(Va,l.__vuelidateInjectInstances);const c=e.inject(Sa,[]);return e.provide(Sa,l.__vuelidateRemoveInstances),{childResults:i,sendValidationResultsToParent:r,removeValidationResultsFromParent:c}}({$scope:i,instance:d}):{childResults:e.ref({})};if(!t&&u.validations){const t=u.validations;o=e.ref({}),e.onBeforeMount(()=>{o.value=d,e.watch(()=>xa(t)?t.call(o.value,new za(o.value)):t,e=>{p.value=Na({validations:e,state:o,childResults:f,resultsCache:m,globalConfig:n,instance:d,externalResults:c||d.vuelidateExternalResults})},{immediate:!0})}),n=u.validationsConfig||n}else{const l=e.isRef(t)||(g=t,e.isReactive(g)||e.isReadonly(g))?t:e.reactive(t||{});e.watch(l,e=>{p.value=Na({validations:e,state:o,childResults:f,resultsCache:m,globalConfig:n,instance:null!=d?d:{},externalResults:c})},{immediate:!0})}var g;return d&&(h.forEach(e=>e(p,{$registerAs:a,$scope:i,$stopPropagation:r})),e.onBeforeUnmount(()=>v.forEach(e=>e(a)))),e.computed(()=>ga(ga({},e.unref(p.value)),f.value))}function Da(){const{$t:t}=Gn(),o=e.computed(()=>({DAY:{literal:{singular:t({defaultMessage:"day",id:"time_period.day.singular",description:"The singular form of the day time period"}),plural:t({defaultMessage:"days",id:"time_period.day.plural",description:"The plural form of the day time period"})},full:t({defaultMessage:"daily",id:"time_period.day.full",description:"The full form of the day time period"})},WEEK:{literal:{singular:t({defaultMessage:"week",id:"time_period.week.singular",description:"The singular form of the week time period"}),plural:t({defaultMessage:"weeks",id:"time_period.week.plural",description:"The plural form of the week time period"})},full:t({defaultMessage:"weekly",id:"time_period.week.full",description:"The full form of the week time period"})},MONTH:{literal:{singular:t({defaultMessage:"month",id:"time_period.month.singular",description:"The singular form of the month time period"}),plural:t({defaultMessage:"months",id:"time_period.month.plural",description:"The plural form of the month time period"})},full:t({defaultMessage:"monthly",id:"time_period.month.full",description:"The full form of the month time period"})},YEAR:{literal:{singular:t({defaultMessage:"year",id:"time_period.year.singular",description:"The singular form of the year time period"}),plural:t({defaultMessage:"years",id:"time_period.year.plural",description:"The plural form of the year time period"})},full:t({defaultMessage:"yearly",id:"time_period.year.full",description:"The full form of the year time period"})}}));return{map:o,formatTimePeriod:(e,t={short:!1,hideValueForExactPeriods:!1,singular:!1})=>{const l=e.value??1,n=o.value[e.type].literal[t.singular||1===+l?"singular":"plural"].toLowerCase();return`${t.prefix&&!t.short?`${t.prefix} `:""}${t.hideValueForExactPeriods&&1===l?n:`${l} ${n}`}`},formatTimePeriodLiteral:(e,t={singular:!1})=>o.value[e].literal[t.singular?"singular":"plural"]}}const Ia=(e,t)=>e.find(e=>e.currency===t),$a=(e,t)=>{var o,l;return null==(l=null==(o=e.find(e=>e.currency===t))?void 0:o.configs)?void 0:l[0]},Oa=(e,t)=>{var o,l;return null==(l=null==(o=e.find(e=>d(e.billing_period,t)))?void 0:o.configs)?void 0:l[0]},Ha=e=>{if(!e)return"";const t=e.toLowerCase();return t.charAt(0).toUpperCase()+t.slice(1)},Aa={DAY:{literal:{singular:"Day",plural:"Days"},full:"Daily"},WEEK:{literal:{singular:"Week",plural:"Weeks"},full:"Weekly"},MONTH:{literal:{singular:"Month",plural:"Months"},full:"Monthly"},YEAR:{literal:{singular:"Year",plural:"Years"},full:"Yearly"}},La=(e,t)=>new Intl.NumberFormat((e=>{if(null==e?void 0:e.locale)return e.locale;if("undefined"!=typeof window){const e=localStorage.getItem("numberFormat");if(e)return e}return"en-US"})(t),{style:"currency",currency:e.currency,maximumFractionDigits:10}).format(+e.quantity),Za=e=>Ha((e??"").replace(/_/g," ")),Ra=(e,t={short:!1,hideValueForExactPeriods:!1,prefix:"every"})=>{const o=e.value??1,l=Aa[e.type].literal[1===+o?"singular":"plural"].toLowerCase();return`${t.prefix&&!t.short?`${t.prefix} `:""}${t.hideValueForExactPeriods&&1===o?l:`${o} ${l}`}`};function Fa({currency:e,billingPeriod:t}={}){const{$t:o}=Gn(),{formatTimePeriod:l}=Da();return{renderPricingForPricingItem:({pricingItem:n})=>{var a,i,r,c,s,d,u,p,m,f,h,v,g,y,b,x,k,_,w,B,C,E,N,T,M,V,S,z;const P=null==(a=n.product_items)?void 0:a[0],q=function({pricingItem:e,currency:t,billingPeriod:o}){var l,n,a,i,r,c;if(null==(l=e.pricing_currency_configs)?void 0:l.length){const l=Ia(e.pricing_currency_configs,t);if((null==(n=null==l?void 0:l.billing_period_configs)?void 0:n.length)&&o){const e=Oa(l.billing_period_configs,o);if(e)return e}if(l){const t=l.fallback_currency;if(t){const o=$a(e.pricing_currency_configs,t);if(o)return o}if(null==(a=l.configs)?void 0:a.length)return l.configs[0]}}if(null==(i=e.billing_period_configs)?void 0:i.length){const t=Oa(e.billing_period_configs,o);if(t)return t}if(null==(r=e.configs)?void 0:r.length)return null==(c=e.configs)?void 0:c[0]}({pricingItem:n,currency:null==e?void 0:e.value,billingPeriod:null==t?void 0:t.value});return q?"PER_SEAT"===(null==P?void 0:P.model_type)?o({defaultMessage:"Per seat",id:"pricing_item_pricing.per_seat",description:"The pricing item pricing for a per seat pricing item"}):"ONE_OFF"===(null==P?void 0:P.model_type)&&(null==(c=null==(r=null==(i=q.details)?void 0:i.bands)?void 0:r[0])?void 0:c.fixed_amount)?La(null==(u=null==(d=null==(s=q.details)?void 0:s.bands)?void 0:d[0])?void 0:u.fixed_amount):"FLAT"===(null==(p=q.details)?void 0:p.pricing_type)&&(null==(h=null==(f=null==(m=q.details)?void 0:m.bands)?void 0:f[0])?void 0:h.amount)?o({defaultMessage:"{pricing} per {billing_period}",id:"pricing_item_pricing",description:"The pricing item pricing"},{pricing:La(null==(v=q.details)?void 0:v.bands[0].amount),billing_period:l((null==(g=null==q?void 0:q.details)?void 0:g.pricing_period)??{type:"MONTH",value:1},{short:!0,hideValueForExactPeriods:!0})}):"FIXED"===(null==(y=q.details)?void 0:y.pricing_type)&&(null==(k=null==(x=null==(b=q.details)?void 0:b.bands)?void 0:x[0])?void 0:k.fixed_amount)?o({defaultMessage:"{pricing} per {billing_period}",id:"pricing_item_pricing",description:"The pricing item pricing"},{pricing:La(null==(B=null==(w=null==(_=q.details)?void 0:_.bands)?void 0:w[0])?void 0:B.fixed_amount),billing_period:l((null==(C=null==q?void 0:q.details)?void 0:C.pricing_period)??{type:"MONTH",value:1},{short:!0,hideValueForExactPeriods:!0})}):"TIERED"===(null==(E=q.details)?void 0:E.pricing_type)?o({defaultMessage:"Tiered pricing",id:"pricing_item_pricing.tiered",description:"The pricing item pricing for a tiered pricing item"}):"TOP_TIERED"===(null==(N=q.details)?void 0:N.pricing_type)?o({defaultMessage:"Top tiered pricing",id:"pricing_item_pricing.top_tiered",description:"The pricing item pricing for a top tiered pricing item"}):"STAIR_STEP"===(null==(T=q.details)?void 0:T.pricing_type)?o({defaultMessage:"Stair step pricing",id:"pricing_item_pricing.stair_step",description:"The pricing item pricing for a stair step pricing item"}):"PASS_THROUGH"===(null==(M=q.details)?void 0:M.pricing_type)?o({defaultMessage:"Pass through pricing",id:"pricing_item_pricing.pass_through",description:"The pricing item pricing for a pass through pricing item"}):"NONE"===(null==(V=q.details)?void 0:V.pricing_type)?o({defaultMessage:"Not billed",id:"pricing_item_pricing.none",description:"The pricing item pricing for a not billed pricing item"}):"FLAT_TOP_UP"===(null==(S=q.details)?void 0:S.pricing_type)?o({defaultMessage:"Flat top up pricing",id:"pricing_item_pricing.flat_top_up",description:"The pricing item pricing for a flat top up pricing item"}):"TIERED_TOP_UP"===(null==(z=q.details)?void 0:z.pricing_type)?o({defaultMessage:"Tiered top up pricing",id:"pricing_item_pricing.tiered_top_up",description:"The pricing item pricing for a tiered top up pricing item"}):o({defaultMessage:"Unsupported pricing",id:"pricing_item_pricing.unsupported_pricing_error",description:"Text displayed when the pricing item pricing is unsupported"}):o({defaultMessage:"Unsupported pricing",id:"pricing_item_pricing.unsupported_pricing_error",description:"Text displayed when the pricing item pricing is unsupported"})}}}function Ua(t,o,l={}){const n=l.pageHeight??1122.515625,a=l.pushThreshold??.6,i=l.smallOverflowRatio??.1,r=[],c=()=>{const e=t.value;if(!e)return;(e=>{var t;if(null==(t=l.expandSelectors)?void 0:t.length)for(const o of l.expandSelectors)e.querySelectorAll(o).forEach(e=>{"none"===getComputedStyle(e).display&&(e.style.display="block",r.push(e))})})(e);const c=((e.getBoundingClientRect().top+window.scrollY)%n+n)%n;[...e.querySelectorAll(o)].forEach(t=>{t.style.marginTop="";const o=t.getBoundingClientRect().top+window.scrollY,r=t.getBoundingClientRect().height,s=((o-c)%n+n)%n,d=n-s,u=function(e,t){if(!(null==t?void 0:t.length))return 0;const o=new Set;return t.reduce((t,l)=>{const n=e.querySelector(l);return!n||o.has(n)?t:(o.add(n),t+n.getBoundingClientRect().height)},0)}(t,l.protectedTopSelectors);if(r<=d)return;const p=(t,o)=>{const a=l.companionSelector?function(e,t,o,l){const n=t.getBoundingClientRect().top+window.scrollY,a=Math.floor(n/l),i=[...e.querySelectorAll(o)];for(let r=i.length-1;r>=0;r--){const e=i[r],t=e.getBoundingClientRect().top+window.scrollY,o=Math.floor(t/l);if(t<n&&o===a)return e;if(t<n&&o<a)break}return null}(e,t,l.companionSelector,n):null;if(a){const e=((a.getBoundingClientRect().top+window.scrollY-c)%n+n)%n,l=n-e;e>.5*n?a.style.marginTop=`${l}px`:t.style.marginTop=`${o}px`}else t.style.marginTop=`${o}px`};if(u>0&&d<u)return void p(t,d);if(r>n)return void(s>.5*n&&p(t,d));((r-d)/n<i||d/r<a)&&p(t,d)})},s=()=>{const e=t.value;e&&(r.forEach(e=>e.style.display="none"),r.length=0,e.querySelectorAll(o).forEach(e=>{e.style.marginTop=""}),l.companionSelector&&e.querySelectorAll(l.companionSelector).forEach(e=>{e.style.marginTop=""}))};return e.onMounted(()=>{window.addEventListener("beforeprint",c),window.addEventListener("afterprint",s)}),e.onUnmounted(()=>{window.removeEventListener("beforeprint",c),window.removeEventListener("afterprint",s)}),{adjust:c,reset:s}}const Ga=[{key:"AF",value:"Afghanistan"},{key:"AX",value:"Aland Islands"},{key:"AL",value:"Albania"},{key:"DZ",value:"Algeria"},{key:"AS",value:"American Samoa"},{key:"AD",value:"Andorra"},{key:"AO",value:"Angola"},{key:"AI",value:"Anguilla"},{key:"AQ",value:"Antarctica"},{key:"AG",value:"Antigua And Barbuda"},{key:"AR",value:"Argentina"},{key:"AM",value:"Armenia"},{key:"AW",value:"Aruba"},{key:"AU",value:"Australia"},{key:"AT",value:"Austria"},{key:"AZ",value:"Azerbaijan"},{key:"BS",value:"Bahamas"},{key:"BH",value:"Bahrain"},{key:"BD",value:"Bangladesh"},{key:"BB",value:"Barbados"},{key:"BY",value:"Belarus"},{key:"BE",value:"Belgium"},{key:"BZ",value:"Belize"},{key:"BJ",value:"Benin"},{key:"BM",value:"Bermuda"},{key:"BT",value:"Bhutan"},{key:"BO",value:"Bolivia"},{key:"BA",value:"Bosnia And Herzegovina"},{key:"BW",value:"Botswana"},{key:"BV",value:"Bouvet Island"},{key:"BR",value:"Brazil"},{key:"IO",value:"British Indian Ocean Territory"},{key:"BN",value:"Brunei Darussalam"},{key:"BG",value:"Bulgaria"},{key:"BF",value:"Burkina Faso"},{key:"BI",value:"Burundi"},{key:"KH",value:"Cambodia"},{key:"CM",value:"Cameroon"},{key:"CA",value:"Canada"},{key:"CV",value:"Cape Verde"},{key:"KY",value:"Cayman Islands"},{key:"CF",value:"Central African Republic"},{key:"TD",value:"Chad"},{key:"CL",value:"Chile"},{key:"CN",value:"China"},{key:"CX",value:"Christmas Island"},{key:"CC",value:"Cocos (Keeling) Islands"},{key:"CO",value:"Colombia"},{key:"KM",value:"Comoros"},{key:"CG",value:"Congo"},{key:"CD",value:"Congo, Democratic Republic"},{key:"CK",value:"Cook Islands"},{key:"CR",value:"Costa Rica"},{key:"CI",value:'Cote D"Ivoire'},{key:"HR",value:"Croatia"},{key:"CU",value:"Cuba"},{key:"CW",value:"Curaçao"},{key:"CY",value:"Cyprus"},{key:"CZ",value:"Czech Republic"},{key:"DK",value:"Denmark"},{key:"DJ",value:"Djibouti"},{key:"DM",value:"Dominica"},{key:"DO",value:"Dominican Republic"},{key:"EC",value:"Ecuador"},{key:"EG",value:"Egypt"},{key:"SV",value:"El Salvador"},{key:"GQ",value:"Equatorial Guinea"},{key:"ER",value:"Eritrea"},{key:"EE",value:"Estonia"},{key:"ET",value:"Ethiopia"},{key:"FK",value:"Falkland Islands (Malvinas)"},{key:"FO",value:"Faroe Islands"},{key:"FJ",value:"Fiji"},{key:"FI",value:"Finland"},{key:"FR",value:"France"},{key:"GF",value:"French Guiana"},{key:"PF",value:"French Polynesia"},{key:"TF",value:"French Southern Territories"},{key:"GA",value:"Gabon"},{key:"GM",value:"Gambia"},{key:"GE",value:"Georgia"},{key:"DE",value:"Germany"},{key:"GH",value:"Ghana"},{key:"GI",value:"Gibraltar"},{key:"GR",value:"Greece"},{key:"GL",value:"Greenland"},{key:"GD",value:"Grenada"},{key:"GP",value:"Guadeloupe"},{key:"GU",value:"Guam"},{key:"GT",value:"Guatemala"},{key:"GG",value:"Guernsey"},{key:"GN",value:"Guinea"},{key:"GW",value:"Guinea-Bissau"},{key:"GY",value:"Guyana"},{key:"HT",value:"Haiti"},{key:"HM",value:"Heard Island & Mcdonald Islands"},{key:"VA",value:"Holy See (Vatican City State)"},{key:"HN",value:"Honduras"},{key:"HK",value:"Hong Kong"},{key:"HU",value:"Hungary"},{key:"IS",value:"Iceland"},{key:"IN",value:"India"},{key:"ID",value:"Indonesia"},{key:"IR",value:"Iran, Islamic Republic Of"},{key:"IQ",value:"Iraq"},{key:"IE",value:"Ireland"},{key:"IM",value:"Isle Of Man"},{key:"IL",value:"Israel"},{key:"IT",value:"Italy"},{key:"JM",value:"Jamaica"},{key:"JP",value:"Japan"},{key:"JE",value:"Jersey"},{key:"JO",value:"Jordan"},{key:"KZ",value:"Kazakhstan"},{key:"KE",value:"Kenya"},{key:"KI",value:"Kiribati"},{key:"KR",value:"Korea"},{key:"KP",value:"North Korea"},{key:"KW",value:"Kuwait"},{key:"KG",value:"Kyrgyzstan"},{key:"LA",value:'Lao People"s Democratic Republic'},{key:"LV",value:"Latvia"},{key:"LB",value:"Lebanon"},{key:"LS",value:"Lesotho"},{key:"LR",value:"Liberia"},{key:"LY",value:"Libyan Arab Jamahiriya"},{key:"LI",value:"Liechtenstein"},{key:"LT",value:"Lithuania"},{key:"LU",value:"Luxembourg"},{key:"MO",value:"Macao"},{key:"MK",value:"Macedonia"},{key:"MG",value:"Madagascar"},{key:"MW",value:"Malawi"},{key:"MY",value:"Malaysia"},{key:"MV",value:"Maldives"},{key:"ML",value:"Mali"},{key:"MT",value:"Malta"},{key:"MH",value:"Marshall Islands"},{key:"MQ",value:"Martinique"},{key:"MR",value:"Mauritania"},{key:"MU",value:"Mauritius"},{key:"YT",value:"Mayotte"},{key:"MX",value:"Mexico"},{key:"FM",value:"Micronesia, Federated States Of"},{key:"MD",value:"Moldova"},{key:"MC",value:"Monaco"},{key:"MN",value:"Mongolia"},{key:"ME",value:"Montenegro"},{key:"MS",value:"Montserrat"},{key:"MA",value:"Morocco"},{key:"MZ",value:"Mozambique"},{key:"MM",value:"Myanmar"},{key:"NA",value:"Namibia"},{key:"NR",value:"Nauru"},{key:"NP",value:"Nepal"},{key:"NL",value:"Netherlands"},{key:"AN",value:"Netherlands Antilles"},{key:"NC",value:"New Caledonia"},{key:"NZ",value:"New Zealand"},{key:"NI",value:"Nicaragua"},{key:"NE",value:"Niger"},{key:"NG",value:"Nigeria"},{key:"NU",value:"Niue"},{key:"NF",value:"Norfolk Island"},{key:"MP",value:"Northern Mariana Islands"},{key:"NO",value:"Norway"},{key:"OM",value:"Oman"},{key:"PK",value:"Pakistan"},{key:"PW",value:"Palau"},{key:"PS",value:"Palestinian Territory, Occupied"},{key:"PA",value:"Panama"},{key:"PG",value:"Papua New Guinea"},{key:"PY",value:"Paraguay"},{key:"PE",value:"Peru"},{key:"PH",value:"Philippines"},{key:"PN",value:"Pitcairn"},{key:"PL",value:"Poland"},{key:"PT",value:"Portugal"},{key:"PR",value:"Puerto Rico"},{key:"QA",value:"Qatar"},{key:"RE",value:"Reunion"},{key:"RO",value:"Romania"},{key:"RU",value:"Russian Federation"},{key:"RW",value:"Rwanda"},{key:"BL",value:"Saint Barthelemy"},{key:"SH",value:"Saint Helena"},{key:"KN",value:"Saint Kitts And Nevis"},{key:"LC",value:"Saint Lucia"},{key:"MF",value:"Saint Martin"},{key:"PM",value:"Saint Pierre And Miquelon"},{key:"VC",value:"Saint Vincent And Grenadines"},{key:"WS",value:"Samoa"},{key:"SM",value:"San Marino"},{key:"ST",value:"Sao Tome And Principe"},{key:"SA",value:"Saudi Arabia"},{key:"SN",value:"Senegal"},{key:"RS",value:"Serbia"},{key:"SC",value:"Seychelles"},{key:"SL",value:"Sierra Leone"},{key:"SG",value:"Singapore"},{key:"SK",value:"Slovakia"},{key:"SI",value:"Slovenia"},{key:"SB",value:"Solomon Islands"},{key:"SO",value:"Somalia"},{key:"ZA",value:"South Africa"},{key:"GS",value:"South Georgia And Sandwich Isl."},{key:"ES",value:"Spain"},{key:"LK",value:"Sri Lanka"},{key:"SD",value:"Sudan"},{key:"SR",value:"Suriname"},{key:"SJ",value:"Svalbard And Jan Mayen"},{key:"SZ",value:"Swaziland"},{key:"SE",value:"Sweden"},{key:"CH",value:"Switzerland"},{key:"SY",value:"Syrian Arab Republic"},{key:"TW",value:"Taiwan"},{key:"TJ",value:"Tajikistan"},{key:"TZ",value:"Tanzania"},{key:"TH",value:"Thailand"},{key:"TL",value:"Timor-Leste"},{key:"TG",value:"Togo"},{key:"TK",value:"Tokelau"},{key:"TO",value:"Tonga"},{key:"TT",value:"Trinidad And Tobago"},{key:"TN",value:"Tunisia"},{key:"TR",value:"Turkey"},{key:"TM",value:"Turkmenistan"},{key:"TC",value:"Turks And Caicos Islands"},{key:"TV",value:"Tuvalu"},{key:"UG",value:"Uganda"},{key:"UA",value:"Ukraine"},{key:"AE",value:"United Arab Emirates"},{key:"GB",value:"United Kingdom"},{key:"US",value:"United States"},{key:"UM",value:"United States Outlying Islands"},{key:"UY",value:"Uruguay"},{key:"UZ",value:"Uzbekistan"},{key:"VU",value:"Vanuatu"},{key:"VE",value:"Venezuela"},{key:"VN",value:"Vietnam"},{key:"VG",value:"Virgin Islands, British"},{key:"VI",value:"Virgin Islands, U.S."},{key:"WF",value:"Wallis And Futuna"},{key:"EH",value:"Western Sahara"},{key:"YE",value:"Yemen"},{key:"ZM",value:"Zambia"},{key:"ZW",value:"Zimbabwe"}],ja=(e,t)=>{const o=document.createElement("a");o.href=e,o.download=t,o.click(),setTimeout(()=>{window.URL.revokeObjectURL(e)},250)},Qa=(e=[])=>{const t=e.filter(e=>null!=e&&""!==e);if(1===t.length)return t[0];return t.every(e=>e===t[0])?t[0]:[...t.slice(0,t.length-2),t.slice(t.length-2,t.length).join(" & ")].join(", ")},Ka=(e,t=!0)=>{const o=Qa((e.products??[]).map(e=>e.name??""));return e.name?t?`${e.name} - ${o}`:e.name:o},Wa=e=>{var t,o;return[...(null==(t=e.enabled_pricings)?void 0:t.map(({pricing_id:e})=>e))??[],...(null==(o=e.override_pricings)?void 0:o.map(e=>"id"in e?e.id:e.original_pricing_id))??[]]},Ya=({schedule:e,pricingItemConfigIds:t})=>{var o,l;const n=new Date,a=new Set(t),i=null==(o=e.seats_values)?void 0:o.map((e,t)=>({seatsValue:e,index:t})).filter(({seatsValue:e})=>{if(!a.has(e.pricing_item_config_id))return!1;const t=e.set_start_at_to_now||!e.start_at||new Date(e.start_at)<=n,o=!e.end_at||new Date(e.end_at)>n;return t&&o});return null==(l=null==i?void 0:i.sort((e,t)=>{const o=e.seatsValue.set_start_at_to_now?n.getTime():e.seatsValue.start_at?new Date(e.seatsValue.start_at).getTime():0,l=t.seatsValue.set_start_at_to_now?n.getTime():t.seatsValue.start_at?new Date(t.seatsValue.start_at).getTime():0;return l!==o?l-o:t.index-e.index})[0])?void 0:l.seatsValue},Xa=(e,t)=>{var o;const l=e=>null==e?void 0:e.map(e=>{var t;return{...e,configs:null==(t=e.configs)?void 0:t.map(n)}}),n=e=>{var o,l,a;const i=null==(o=t.included_volumes)?void 0:o.find(t=>t.pricing_item_config_id===e.id),r=Ya({schedule:t,pricingItemConfigIds:[e.id]})??(null==(l=t.seats_values)?void 0:l.find(t=>t.pricing_item_config_id===e.id));return{...e,...!c(i)&&{default_included_volume:It(i,["amount","number","reset_type"])},...!c(r)&&{default_seats_value:It(r,"number")},conditions:e.conditions?{...e.conditions,configs:null==(a=e.conditions.configs)?void 0:a.map(n)}:void 0}};return{...e,entitlements:(e=>{var o,l,n;const a=t=>{var o;return null==(o=e.products)?void 0:o.some(e=>{var o;return null==(o=e.features)?void 0:o.some(e=>e.id===t.feature_id)})},i=(null==(l=null==(o=t.entitlements)?void 0:o.filter(e=>a(e)))?void 0:l.reduce((t,o)=>{var l,n;const a=null==(n=null==(l=e.entitlements)?void 0:l.find(e=>e.feature_id===o.feature_id))?void 0:n.feature;return a?[...t,{...o,feature:a}]:t},[]))??[];if(c(i))return e.entitlements;return[...(null==(n=e.entitlements)?void 0:n.filter(e=>a(e)&&!(null==i?void 0:i.some(t=>t.feature_id===e.feature_id))))??[],...i]})(e),items:null==(o=e.items)?void 0:o.map(e=>{return{...e,...e.configs&&{configs:e.configs.map(n)},...e.billing_period_configs&&{billing_period_configs:l(e.billing_period_configs)},...e.pricing_currency_configs&&{pricing_currency_configs:(t=e.pricing_currency_configs,null==t?void 0:t.map(e=>{var t;return{...e,configs:null==(t=e.configs)?void 0:t.map(n),billing_period_configs:l(e.billing_period_configs)}}))}};var t})}},Ja=(e,t,o={displayDisabledAddonPricings:!1})=>{var l,n;const a=e=>o.displayDisabledAddonPricings||"ADDON"!==e.product_type||((e,t)=>{var o,l;return!(!(null==(o=e.enabled_pricings)?void 0:o.some(({pricing_id:e})=>e===t.id))&&!(null==(l=e.override_pricings)?void 0:l.some(e=>"id"in e&&e.id===t.id||e.original_pricing_id===t.id)))})(t,e);return{...e,pricing_categories:null==(n=null==(l=e.pricing_categories)?void 0:l.map(e=>{var o,l,n,i;return{...e,pricing_groups:null==(l=null==(o=e.pricing_groups)?void 0:o.map(e=>{var o,l;return{...e,pricings:null==(l=null==(o=e.pricings)?void 0:o.filter(a))?void 0:l.map(e=>Xa(e,t))}}))?void 0:l.filter(e=>!c(e.pricings)),pricings:null==(i=null==(n=e.pricings)?void 0:n.filter(a))?void 0:i.map(e=>Xa(e,t))}}))?void 0:n.filter(e=>o.displayDisabledAddonPricings||!(c(e.pricing_groups)&&c(e.pricings)))}},ei=e=>"REVENUE"===e.type,ti=e=>"DEDUCTION"===e.type,oi=e=>["AT_MOST_ONE","EXACTLY_ONE"].includes(e.selection_constraint),li={equals:"equals",notEquals:"does not equal",in:"equals one of",inOutput:"equals",notIn:"does not equal one of",notInOutput:"does not equal",greaterThan:"greater than",greaterThanOrEquals:"greater than or equal to",lessThan:"less than",lessThanOrEquals:"less than or equal to",empty:"is empty",notEmpty:"is not empty",contains:"contains",notContains:"does not contain",or:"or",unsupported:"unsupported",unknown:"Unknown"},ni=(e=li)=>({propertyName:t,comparator:o,value:l,values:n},{hasFormatting:a}={})=>{const i=((e=li)=>[{comparator:"CONTAINS",forType:["STRING"],requiresInput:!0,symbol:"CONTAINS",label:{input:e.contains,output:e.contains}},{comparator:"NOT_CONTAINS",forType:["STRING"],requiresInput:!0,symbol:"NOT CONTAINS",label:{input:e.notContains,output:e.notContains}},{comparator:"EMPTY",forType:["STRING"],requiresInput:!1,symbol:"EMPTY",label:{input:e.empty,output:e.empty}},{comparator:"NOT_EMPTY",forType:["STRING"],requiresInput:!1,symbol:"NOT EMPTY",label:{input:e.notEmpty,output:e.notEmpty}},{comparator:"EQUALS",forType:["NUMBER","STRING","ENUM"],requiresInput:!0,symbol:"=",label:{input:e.equals,output:e.equals}},{comparator:"NOT_EQUALS",forType:["NUMBER","STRING","ENUM"],requiresInput:!0,symbol:"!=",label:{input:e.notEquals,output:e.notEquals}},{comparator:"IN",forType:["NUMBER","STRING","ENUM"],requiresInput:!0,symbol:"IN ()",label:{input:e.in,output:e.inOutput}},{comparator:"NOT_IN",forType:["NUMBER","STRING","ENUM"],requiresInput:!0,symbol:"NOT IN()",label:{input:e.notIn,output:e.notInOutput}},{comparator:"GREATER_THAN",forType:["NUMBER"],requiresInput:!0,symbol:">",label:{input:e.greaterThan,output:e.greaterThan}},{comparator:"GREATER_THAN_OR_EQUALS",forType:["NUMBER"],requiresInput:!0,symbol:">=",label:{input:e.greaterThanOrEquals,output:e.greaterThanOrEquals}},{comparator:"LESS_THAN",forType:["NUMBER"],requiresInput:!0,symbol:"<",label:{input:e.lessThan,output:e.lessThan}},{comparator:"LESS_THAN_OR_EQUALS",forType:["NUMBER"],requiresInput:!0,symbol:"<=",label:{input:e.lessThanOrEquals,output:e.lessThanOrEquals}}])(e).find(e=>e.comparator===o),r=null==n?void 0:n.reduce((t,o,l,n)=>{const i=a?`<strong class="font-semibold">${o}</strong>`:o;return l===n.length-1?`${t} ${(null==e?void 0:e.or)??"or"} ${i}`:0===l?i:[t,i].join(", ")},"");return i?["IN","NOT_IN"].includes(i.comparator)&&n?a?`<strong>${t}</strong> ${i.label.output} <strong>${r}</strong>`:`${t} ${i.label.output} ${r}`:a?`<strong class="font-semibold">${t}</strong> ${i.label.output} <strong class="font-semibold">${l}</strong>`:`${t} ${i.label.output} ${l}`:(null==e?void 0:e.unsupported)??"Unsupported comparator"},ai=(e,t)=>{var o;const l=null==(o=e.details)?void 0:o.pricing_type;return!!l&&t.includes(l)},ii=e=>ai(e,["FLAT_TOP_UP","TIERED_TOP_UP","STAIR_STEP_TOP_UP"]),ri=e=>ai(e,["TIERED","TIERED_TOP_UP"]),ci=e=>ai(e,["STAIR_STEP","STAIR_STEP_TOP_UP"]),si=e=>{var t,o;return[e,...(null==(o=null==(t=e.conditions)?void 0:t.configs)?void 0:o.flatMap(e=>si(e)))??[]]},di=e=>({pricing:t,item:o,config:l})=>{var n,a,i,r;return[(null==t?void 0:t.name)??(null==(a=null==(n=null==t?void 0:t.products)?void 0:n[0])?void 0:a.name),null==(r=null==(i=null==o?void 0:o.product_items)?void 0:i[0])?void 0:r.name,l&&(c=l,(null==(s=c.conditions)?void 0:s.name)?null==(d=c.conditions)?void 0:d.name:(null==(u=c.conditions)?void 0:u.meter_properties)?((e=li)=>(t,o)=>t.map(t=>ni(e)(t,o)).join(" and "))(e)(null==(p=c.conditions)?void 0:p.meter_properties.map(e=>{var t;return{propertyName:(null==(t=null==e?void 0:e.meter_property)?void 0:t.name)??"Unknown",comparator:e.comparator,value:e.value,values:e.values}}),{hasFormatting:!1}):void 0)].filter(Boolean).join(" - ");var c,s,d,u,p},ui=e=>!!e&&"number"in e,pi=e=>!!e&&"count"in e,mi=e=>!!e&&"amount"in e,fi=e=>"ORGANIZATION"===e.type,hi=e=>"INDIVIDUAL"===e.type,vi=e=>t=>t?t.tier_top_bound&&ui(t.tier_top_bound)?e.formatNumber(+t.tier_top_bound.number):pi(t.tier_top_bound)?e.formatNumber(+t.tier_top_bound.count):mi(t.tier_top_bound)?La(t.tier_top_bound.amount):void 0:0,gi=e=>(t,o,l)=>l===o.length-1?e.infinite:t.tier_top_bound&&"number"in t.tier_top_bound&&ui(t.tier_top_bound)?e.formatNumber(+t.tier_top_bound.number):t.tier_top_bound&&"count"in t.tier_top_bound&&pi(t.tier_top_bound)?e.formatNumber(+t.tier_top_bound.count):t.tier_top_bound&&"amount"in t.tier_top_bound&&mi(t.tier_top_bound)?La(t.tier_top_bound.amount):void 0,yi=(e,t)=>{var o,l;return null==(l=null==(o=e.markup)?void 0:o.pricing_item_configs)?void 0:l.find(({ids:e})=>null==e?void 0:e.includes(t.id))},bi=t=>t.every(t=>t.type===e.Comment||(t.type===e.Text&&"string"==typeof t.children&&!t.children.trim()||!(t.type!==e.Fragment||!bi(t.children)))),xi=e=>c(e)&&"boolean"!=typeof e?null:e,ki=e=>"object"==typeof e&&null!==e;function _i(e){var t;return(null==(t=Ga.find(t=>t.key===e))?void 0:t.value)??e}const wi=["US","CA"];function Bi(e){if(wi.includes(e.country)){const t=Ci([e.line1,e.line2],", "),o=Ci([e.state,e.postal_code]," "),l=_i(e.country);return Ci([t,e.city,o,l],", ")}const t=Ci([e.line1,e.line2]," "),o=Ci([e.postal_code,e.city]," "),l=_i(e.country);return Ci([t,o,e.state,l],", ")}function Ci(e,t){return e.filter(Boolean).join(t)}const Ei=(e,t)=>{const o=new Date(e),l=new Date(t),n=l.getFullYear()-o.getFullYear(),a=new Date(o);if(a.setFullYear(a.getFullYear()+n),n>0&&a.getTime()===l.getTime())return{type:"YEAR",value:n};const i=12*(l.getFullYear()-o.getFullYear())+(l.getMonth()-o.getMonth()),r=new Date(o);if(r.setMonth(r.getMonth()+i),i>0&&r.getTime()===l.getTime())return{type:"MONTH",value:i};const c=Math.round((l.getTime()-o.getTime())/864e5);return c>0&&c%7==0?{type:"WEEK",value:c/7}:{type:"DAY",value:c}},Ni=e=>hi(e)?Ti(e.individual.name):fi(e)?e.organization.legal_name:void 0,Ti=e=>{if(e)return[e.first_name,e.infix,e.last_name].filter(e=>e).join(" ")},Mi=(e,t)=>(null==e?void 0:e.length)?t?e.filter(({billing_period:e})=>{return l=t,(o=e).type===l.type&&o.value===l.value;var o,l}):e:[],Vi=(e,t)=>{var o;if(!(null==(o=e.pricing_currency_configs)?void 0:o.length)||!t)return;const l=e.pricing_currency_configs.find(e=>e.currency===t)??e.pricing_currency_configs[0];if(l){if(l.fallback_currency){return{config:e.pricing_currency_configs.find(e=>e.currency===l.fallback_currency),additionalFields:{use_fallback_currency:!0,fallback_currency:l.fallback_currency}}}return{config:l,additionalFields:void 0}}},Si=(e,t)=>{var o,l,n,a;if(!(null==(o=e.pricing_currency_configs)?void 0:o.length))return((null==(l=e.billing_period_configs)?void 0:l.length)??0)>0;const i=Vi(e,t);return((null==(a=null==(n=null==i?void 0:i.config)?void 0:n.billing_period_configs)?void 0:a.length)??0)>0},zi=(e,t,o)=>{var l;return(null==(l=e.items)?void 0:l.length)?e.items.map(e=>((e,t,o)=>{var l,n,a,i;const{configs:r,billing_period_configs:c,...s}=e;if(!(null==(l=e.pricing_currency_configs)?void 0:l.length)&&(null==(n=e.billing_period_configs)?void 0:n.length)){const t=Mi(e.billing_period_configs,o).flatMap(e=>(e.configs??[]).map(t=>({...t,details:{...t.details,pricing_period:e.billing_period}})));return{...s,configs:t}}if(!(null==(a=e.pricing_currency_configs)?void 0:a.length)||!t)return e;const d=Vi(e,t);if(!(null==d?void 0:d.config))return e;if(null==(i=d.config.billing_period_configs)?void 0:i.length){const e=Mi(d.config.billing_period_configs,o).flatMap(e=>(e.configs??[]).map(t=>({...t,...d.additionalFields,details:{...t.details,pricing_period:e.billing_period}})));return{...s,configs:e}}return{...s,configs:(d.config.configs??[]).map(e=>({...e,...d.additionalFields}))}})(e,t,o)):e.items},Pi=e.defineComponent({__name:"Amount",props:{value:{},highlighted:{type:Boolean,default:!1}},setup:t=>(o,l)=>(e.openBlock(),e.createElementBlock("span",e.mergeProps(o.$attrs,{class:[{"text-primary-600 font-semibold":t.highlighted},"inline-block"]}),e.toDisplayString(e.unref(La)(t.value)),17))});function qi(e){var t,o,l="";if("string"==typeof e||"number"==typeof e)l+=e;else if("object"==typeof e)if(Array.isArray(e)){var n=e.length;for(t=0;t<n;t++)e[t]&&(o=qi(e[t]))&&(l&&(l+=" "),l+=o)}else for(o in e)e[o]&&(l&&(l+=" "),l+=o);return l}const Di=(e=new Map,t=null,o)=>({nextPart:e,validators:t,classGroupId:o}),Ii="-",$i=[],Oi=e=>{const t=Li(e),{conflictingClassGroups:o,conflictingClassGroupModifiers:l}=e;return{getClassGroupId:e=>{if(e.startsWith("[")&&e.endsWith("]"))return Ai(e);const o=e.split(Ii),l=""===o[0]&&o.length>1?1:0;return Hi(o,l,t)},getConflictingClassGroupIds:(e,t)=>{if(t){const t=l[e],n=o[e];return t?n?((e,t)=>{const o=new Array(e.length+t.length);for(let l=0;l<e.length;l++)o[l]=e[l];for(let l=0;l<t.length;l++)o[e.length+l]=t[l];return o})(n,t):t:n||$i}return o[e]||$i}}},Hi=(e,t,o)=>{if(0===e.length-t)return o.classGroupId;const l=e[t],n=o.nextPart.get(l);if(n){const o=Hi(e,t+1,n);if(o)return o}const a=o.validators;if(null===a)return;const i=0===t?e.join(Ii):e.slice(t).join(Ii),r=a.length;for(let c=0;c<r;c++){const e=a[c];if(e.validator(i))return e.classGroupId}},Ai=e=>-1===e.slice(1,-1).indexOf(":")?void 0:(()=>{const t=e.slice(1,-1),o=t.indexOf(":"),l=t.slice(0,o);return l?"arbitrary.."+l:void 0})(),Li=e=>{const{theme:t,classGroups:o}=e;return Zi(o,t)},Zi=(e,t)=>{const o=Di();for(const l in e){const n=e[l];Ri(n,o,l,t)}return o},Ri=(e,t,o,l)=>{const n=e.length;for(let a=0;a<n;a++){const n=e[a];Fi(n,t,o,l)}},Fi=(e,t,o,l)=>{"string"!=typeof e?"function"!=typeof e?ji(e,t,o,l):Gi(e,t,o,l):Ui(e,t,o)},Ui=(e,t,o)=>{(""===e?t:Qi(t,e)).classGroupId=o},Gi=(e,t,o,l)=>{Ki(e)?Ri(e(l),t,o,l):(null===t.validators&&(t.validators=[]),t.validators.push(((e,t)=>({classGroupId:e,validator:t}))(o,e)))},ji=(e,t,o,l)=>{const n=Object.entries(e),a=n.length;for(let i=0;i<a;i++){const[e,a]=n[i];Ri(a,Qi(t,e),o,l)}},Qi=(e,t)=>{let o=e;const l=t.split(Ii),n=l.length;for(let a=0;a<n;a++){const e=l[a];let t=o.nextPart.get(e);t||(t=Di(),o.nextPart.set(e,t)),o=t}return o},Ki=e=>"isThemeGetter"in e&&!0===e.isThemeGetter,Wi=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,o=Object.create(null),l=Object.create(null);const n=(n,a)=>{o[n]=a,t++,t>e&&(t=0,l=o,o=Object.create(null))};return{get(e){let t=o[e];return void 0!==t?t:void 0!==(t=l[e])?(n(e,t),t):void 0},set(e,t){e in o?o[e]=t:n(e,t)}}},Yi=[],Xi=(e,t,o,l,n)=>({modifiers:e,hasImportantModifier:t,baseClassName:o,maybePostfixModifierPosition:l,isExternal:n}),Ji=e=>{const{prefix:t,experimentalParseClassName:o}=e;let l=e=>{const t=[];let o,l=0,n=0,a=0;const i=e.length;for(let d=0;d<i;d++){const i=e[d];if(0===l&&0===n){if(":"===i){t.push(e.slice(a,d)),a=d+1;continue}if("/"===i){o=d;continue}}"["===i?l++:"]"===i?l--:"("===i?n++:")"===i&&n--}const r=0===t.length?e:e.slice(a);let c=r,s=!1;r.endsWith("!")?(c=r.slice(0,-1),s=!0):r.startsWith("!")&&(c=r.slice(1),s=!0);return Xi(t,s,c,o&&o>a?o-a:void 0)};if(t){const e=t+":",o=l;l=t=>t.startsWith(e)?o(t.slice(e.length)):Xi(Yi,!1,t,void 0,!0)}if(o){const e=l;l=t=>o({className:t,parseClassName:e})}return l},er=e=>{const t=new Map;return e.orderSensitiveModifiers.forEach((e,o)=>{t.set(e,1e6+o)}),e=>{const o=[];let l=[];for(let n=0;n<e.length;n++){const a=e[n],i="["===a[0],r=t.has(a);i||r?(l.length>0&&(l.sort(),o.push(...l),l=[]),o.push(a)):l.push(a)}return l.length>0&&(l.sort(),o.push(...l)),o}},tr=/\s+/,or=e=>{if("string"==typeof e)return e;let t,o="";for(let l=0;l<e.length;l++)e[l]&&(t=or(e[l]))&&(o&&(o+=" "),o+=t);return o},lr=[],nr=e=>{const t=t=>t[e]||lr;return t.isThemeGetter=!0,t},ar=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,ir=/^\((?:(\w[\w-]*):)?(.+)\)$/i,rr=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,cr=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,sr=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,dr=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,ur=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,pr=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,mr=e=>rr.test(e),fr=e=>!!e&&!Number.isNaN(Number(e)),hr=e=>!!e&&Number.isInteger(Number(e)),vr=e=>e.endsWith("%")&&fr(e.slice(0,-1)),gr=e=>cr.test(e),yr=()=>!0,br=e=>sr.test(e)&&!dr.test(e),xr=()=>!1,kr=e=>ur.test(e),_r=e=>pr.test(e),wr=e=>!Cr(e)&&!Pr(e),Br=e=>Lr(e,Ur,xr),Cr=e=>ar.test(e),Er=e=>Lr(e,Gr,br),Nr=e=>Lr(e,jr,fr),Tr=e=>Lr(e,Kr,yr),Mr=e=>Lr(e,Qr,xr),Vr=e=>Lr(e,Rr,xr),Sr=e=>Lr(e,Fr,_r),zr=e=>Lr(e,Wr,kr),Pr=e=>ir.test(e),qr=e=>Zr(e,Gr),Dr=e=>Zr(e,Qr),Ir=e=>Zr(e,Rr),$r=e=>Zr(e,Ur),Or=e=>Zr(e,Fr),Hr=e=>Zr(e,Wr,!0),Ar=e=>Zr(e,Kr,!0),Lr=(e,t,o)=>{const l=ar.exec(e);return!!l&&(l[1]?t(l[1]):o(l[2]))},Zr=(e,t,o=!1)=>{const l=ir.exec(e);return!!l&&(l[1]?t(l[1]):o)},Rr=e=>"position"===e||"percentage"===e,Fr=e=>"image"===e||"url"===e,Ur=e=>"length"===e||"size"===e||"bg-size"===e,Gr=e=>"length"===e,jr=e=>"number"===e,Qr=e=>"family-name"===e,Kr=e=>"number"===e||"weight"===e,Wr=e=>"shadow"===e,Yr=((e,...t)=>{let o,l,n,a;const i=e=>{const t=l(e);if(t)return t;const a=((e,t)=>{const{parseClassName:o,getClassGroupId:l,getConflictingClassGroupIds:n,sortModifiers:a}=t,i=[],r=e.trim().split(tr);let c="";for(let s=r.length-1;s>=0;s-=1){const e=r[s],{isExternal:t,modifiers:d,hasImportantModifier:u,baseClassName:p,maybePostfixModifierPosition:m}=o(e);if(t){c=e+(c.length>0?" "+c:c);continue}let f=!!m,h=l(f?p.substring(0,m):p);if(!h){if(!f){c=e+(c.length>0?" "+c:c);continue}if(h=l(p),!h){c=e+(c.length>0?" "+c:c);continue}f=!1}const v=0===d.length?"":1===d.length?d[0]:a(d).join(":"),g=u?v+"!":v,y=g+h;if(i.indexOf(y)>-1)continue;i.push(y);const b=n(h,f);for(let o=0;o<b.length;++o){const e=b[o];i.push(g+e)}c=e+(c.length>0?" "+c:c)}return c})(e,o);return n(e,a),a};return a=r=>{const c=t.reduce((e,t)=>t(e),e());return o=(e=>({cache:Wi(e.cacheSize),parseClassName:Ji(e),sortModifiers:er(e),...Oi(e)}))(c),l=o.cache.get,n=o.cache.set,a=i,i(r)},(...e)=>a(((...e)=>{let t,o,l=0,n="";for(;l<e.length;)(t=e[l++])&&(o=or(t))&&(n&&(n+=" "),n+=o);return n})(...e))})(()=>{const e=nr("color"),t=nr("font"),o=nr("text"),l=nr("font-weight"),n=nr("tracking"),a=nr("leading"),i=nr("breakpoint"),r=nr("container"),c=nr("spacing"),s=nr("radius"),d=nr("shadow"),u=nr("inset-shadow"),p=nr("text-shadow"),m=nr("drop-shadow"),f=nr("blur"),h=nr("perspective"),v=nr("aspect"),g=nr("ease"),y=nr("animate"),b=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom",Pr,Cr],x=()=>[Pr,Cr,c],k=()=>[mr,"full","auto",...x()],_=()=>[hr,"none","subgrid",Pr,Cr],w=()=>["auto",{span:["full",hr,Pr,Cr]},hr,Pr,Cr],B=()=>[hr,"auto",Pr,Cr],C=()=>["auto","min","max","fr",Pr,Cr],E=()=>["auto",...x()],N=()=>[mr,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...x()],T=()=>[mr,"screen","full","dvw","lvw","svw","min","max","fit",...x()],M=()=>[mr,"screen","full","lh","dvh","lvh","svh","min","max","fit",...x()],V=()=>[e,Pr,Cr],S=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom",Ir,Vr,{position:[Pr,Cr]}],z=()=>["auto","cover","contain",$r,Br,{size:[Pr,Cr]}],P=()=>[vr,qr,Er],q=()=>["","none","full",s,Pr,Cr],D=()=>["",fr,qr,Er],I=()=>[fr,vr,Ir,Vr],$=()=>["","none",f,Pr,Cr],O=()=>["none",fr,Pr,Cr],H=()=>["none",fr,Pr,Cr],A=()=>[fr,Pr,Cr],L=()=>[mr,"full",...x()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[gr],breakpoint:[gr],color:[yr],container:[gr],"drop-shadow":[gr],ease:["in","out","in-out"],font:[wr],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[gr],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[gr],shadow:[gr],spacing:["px",fr],text:[gr],"text-shadow":[gr],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",mr,Cr,Pr,v]}],container:["container"],columns:[{columns:[fr,Cr,Pr,r]}],"break-after":[{"break-after":["auto","avoid","all","avoid-page","page","left","right","column"]}],"break-before":[{"break-before":["auto","avoid","all","avoid-page","page","left","right","column"]}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:b()}],overflow:[{overflow:["auto","hidden","clip","visible","scroll"]}],"overflow-x":[{"overflow-x":["auto","hidden","clip","visible","scroll"]}],"overflow-y":[{"overflow-y":["auto","hidden","clip","visible","scroll"]}],overscroll:[{overscroll:["auto","contain","none"]}],"overscroll-x":[{"overscroll-x":["auto","contain","none"]}],"overscroll-y":[{"overscroll-y":["auto","contain","none"]}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:k()}],"inset-x":[{"inset-x":k()}],"inset-y":[{"inset-y":k()}],start:[{"inset-s":k(),start:k()}],end:[{"inset-e":k(),end:k()}],"inset-bs":[{"inset-bs":k()}],"inset-be":[{"inset-be":k()}],top:[{top:k()}],right:[{right:k()}],bottom:[{bottom:k()}],left:[{left:k()}],visibility:["visible","invisible","collapse"],z:[{z:[hr,"auto",Pr,Cr]}],basis:[{basis:[mr,"full","auto",r,...x()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[fr,mr,"auto","initial","none",Cr]}],grow:[{grow:["",fr,Pr,Cr]}],shrink:[{shrink:["",fr,Pr,Cr]}],order:[{order:[hr,"first","last","none",Pr,Cr]}],"grid-cols":[{"grid-cols":_()}],"col-start-end":[{col:w()}],"col-start":[{"col-start":B()}],"col-end":[{"col-end":B()}],"grid-rows":[{"grid-rows":_()}],"row-start-end":[{row:w()}],"row-start":[{"row-start":B()}],"row-end":[{"row-end":B()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":C()}],"auto-rows":[{"auto-rows":C()}],gap:[{gap:x()}],"gap-x":[{"gap-x":x()}],"gap-y":[{"gap-y":x()}],"justify-content":[{justify:["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe","normal"]}],"justify-items":[{"justify-items":["start","end","center","stretch","center-safe","end-safe","normal"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch","center-safe","end-safe"]}],"align-content":[{content:["normal","start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"]}],"align-items":[{items:["start","end","center","stretch","center-safe","end-safe",{baseline:["","last"]}]}],"align-self":[{self:["auto","start","end","center","stretch","center-safe","end-safe",{baseline:["","last"]}]}],"place-content":[{"place-content":["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"]}],"place-items":[{"place-items":["start","end","center","stretch","center-safe","end-safe","baseline"]}],"place-self":[{"place-self":["auto","start","end","center","stretch","center-safe","end-safe"]}],p:[{p:x()}],px:[{px:x()}],py:[{py:x()}],ps:[{ps:x()}],pe:[{pe:x()}],pbs:[{pbs:x()}],pbe:[{pbe:x()}],pt:[{pt:x()}],pr:[{pr:x()}],pb:[{pb:x()}],pl:[{pl:x()}],m:[{m:E()}],mx:[{mx:E()}],my:[{my:E()}],ms:[{ms:E()}],me:[{me:E()}],mbs:[{mbs:E()}],mbe:[{mbe:E()}],mt:[{mt:E()}],mr:[{mr:E()}],mb:[{mb:E()}],ml:[{ml:E()}],"space-x":[{"space-x":x()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":x()}],"space-y-reverse":["space-y-reverse"],size:[{size:N()}],"inline-size":[{inline:["auto",...T()]}],"min-inline-size":[{"min-inline":["auto",...T()]}],"max-inline-size":[{"max-inline":["none",...T()]}],"block-size":[{block:["auto",...M()]}],"min-block-size":[{"min-block":["auto",...M()]}],"max-block-size":[{"max-block":["none",...M()]}],w:[{w:[r,"screen",...N()]}],"min-w":[{"min-w":[r,"screen","none",...N()]}],"max-w":[{"max-w":[r,"screen","none","prose",{screen:[i]},...N()]}],h:[{h:["screen","lh",...N()]}],"min-h":[{"min-h":["screen","lh","none",...N()]}],"max-h":[{"max-h":["screen","lh",...N()]}],"font-size":[{text:["base",o,qr,Er]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[l,Ar,Tr]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",vr,Cr]}],"font-family":[{font:[Dr,Mr,t]}],"font-features":[{"font-features":[Cr]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[n,Pr,Cr]}],"line-clamp":[{"line-clamp":[fr,"none",Pr,Nr]}],leading:[{leading:[a,...x()]}],"list-image":[{"list-image":["none",Pr,Cr]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",Pr,Cr]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:V()}],"text-color":[{text:V()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:["solid","dashed","dotted","double","wavy"]}],"text-decoration-thickness":[{decoration:[fr,"from-font","auto",Pr,Er]}],"text-decoration-color":[{decoration:V()}],"underline-offset":[{"underline-offset":[fr,"auto",Pr,Cr]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:x()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",Pr,Cr]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",Pr,Cr]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:S()}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","space","round"]}]}],"bg-size":[{bg:z()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},hr,Pr,Cr],radial:["",Pr,Cr],conic:[hr,Pr,Cr]},Or,Sr]}],"bg-color":[{bg:V()}],"gradient-from-pos":[{from:P()}],"gradient-via-pos":[{via:P()}],"gradient-to-pos":[{to:P()}],"gradient-from":[{from:V()}],"gradient-via":[{via:V()}],"gradient-to":[{to:V()}],rounded:[{rounded:q()}],"rounded-s":[{"rounded-s":q()}],"rounded-e":[{"rounded-e":q()}],"rounded-t":[{"rounded-t":q()}],"rounded-r":[{"rounded-r":q()}],"rounded-b":[{"rounded-b":q()}],"rounded-l":[{"rounded-l":q()}],"rounded-ss":[{"rounded-ss":q()}],"rounded-se":[{"rounded-se":q()}],"rounded-ee":[{"rounded-ee":q()}],"rounded-es":[{"rounded-es":q()}],"rounded-tl":[{"rounded-tl":q()}],"rounded-tr":[{"rounded-tr":q()}],"rounded-br":[{"rounded-br":q()}],"rounded-bl":[{"rounded-bl":q()}],"border-w":[{border:D()}],"border-w-x":[{"border-x":D()}],"border-w-y":[{"border-y":D()}],"border-w-s":[{"border-s":D()}],"border-w-e":[{"border-e":D()}],"border-w-bs":[{"border-bs":D()}],"border-w-be":[{"border-be":D()}],"border-w-t":[{"border-t":D()}],"border-w-r":[{"border-r":D()}],"border-w-b":[{"border-b":D()}],"border-w-l":[{"border-l":D()}],"divide-x":[{"divide-x":D()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":D()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:["solid","dashed","dotted","double","hidden","none"]}],"divide-style":[{divide:["solid","dashed","dotted","double","hidden","none"]}],"border-color":[{border:V()}],"border-color-x":[{"border-x":V()}],"border-color-y":[{"border-y":V()}],"border-color-s":[{"border-s":V()}],"border-color-e":[{"border-e":V()}],"border-color-bs":[{"border-bs":V()}],"border-color-be":[{"border-be":V()}],"border-color-t":[{"border-t":V()}],"border-color-r":[{"border-r":V()}],"border-color-b":[{"border-b":V()}],"border-color-l":[{"border-l":V()}],"divide-color":[{divide:V()}],"outline-style":[{outline:["solid","dashed","dotted","double","none","hidden"]}],"outline-offset":[{"outline-offset":[fr,Pr,Cr]}],"outline-w":[{outline:["",fr,qr,Er]}],"outline-color":[{outline:V()}],shadow:[{shadow:["","none",d,Hr,zr]}],"shadow-color":[{shadow:V()}],"inset-shadow":[{"inset-shadow":["none",u,Hr,zr]}],"inset-shadow-color":[{"inset-shadow":V()}],"ring-w":[{ring:D()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:V()}],"ring-offset-w":[{"ring-offset":[fr,Er]}],"ring-offset-color":[{"ring-offset":V()}],"inset-ring-w":[{"inset-ring":D()}],"inset-ring-color":[{"inset-ring":V()}],"text-shadow":[{"text-shadow":["none",p,Hr,zr]}],"text-shadow-color":[{"text-shadow":V()}],opacity:[{opacity:[fr,Pr,Cr]}],"mix-blend":[{"mix-blend":["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"]}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[fr]}],"mask-image-linear-from-pos":[{"mask-linear-from":I()}],"mask-image-linear-to-pos":[{"mask-linear-to":I()}],"mask-image-linear-from-color":[{"mask-linear-from":V()}],"mask-image-linear-to-color":[{"mask-linear-to":V()}],"mask-image-t-from-pos":[{"mask-t-from":I()}],"mask-image-t-to-pos":[{"mask-t-to":I()}],"mask-image-t-from-color":[{"mask-t-from":V()}],"mask-image-t-to-color":[{"mask-t-to":V()}],"mask-image-r-from-pos":[{"mask-r-from":I()}],"mask-image-r-to-pos":[{"mask-r-to":I()}],"mask-image-r-from-color":[{"mask-r-from":V()}],"mask-image-r-to-color":[{"mask-r-to":V()}],"mask-image-b-from-pos":[{"mask-b-from":I()}],"mask-image-b-to-pos":[{"mask-b-to":I()}],"mask-image-b-from-color":[{"mask-b-from":V()}],"mask-image-b-to-color":[{"mask-b-to":V()}],"mask-image-l-from-pos":[{"mask-l-from":I()}],"mask-image-l-to-pos":[{"mask-l-to":I()}],"mask-image-l-from-color":[{"mask-l-from":V()}],"mask-image-l-to-color":[{"mask-l-to":V()}],"mask-image-x-from-pos":[{"mask-x-from":I()}],"mask-image-x-to-pos":[{"mask-x-to":I()}],"mask-image-x-from-color":[{"mask-x-from":V()}],"mask-image-x-to-color":[{"mask-x-to":V()}],"mask-image-y-from-pos":[{"mask-y-from":I()}],"mask-image-y-to-pos":[{"mask-y-to":I()}],"mask-image-y-from-color":[{"mask-y-from":V()}],"mask-image-y-to-color":[{"mask-y-to":V()}],"mask-image-radial":[{"mask-radial":[Pr,Cr]}],"mask-image-radial-from-pos":[{"mask-radial-from":I()}],"mask-image-radial-to-pos":[{"mask-radial-to":I()}],"mask-image-radial-from-color":[{"mask-radial-from":V()}],"mask-image-radial-to-color":[{"mask-radial-to":V()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"]}],"mask-image-conic-pos":[{"mask-conic":[fr]}],"mask-image-conic-from-pos":[{"mask-conic-from":I()}],"mask-image-conic-to-pos":[{"mask-conic-to":I()}],"mask-image-conic-from-color":[{"mask-conic-from":V()}],"mask-image-conic-to-color":[{"mask-conic-to":V()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:S()}],"mask-repeat":[{mask:["no-repeat",{repeat:["","x","y","space","round"]}]}],"mask-size":[{mask:z()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",Pr,Cr]}],filter:[{filter:["","none",Pr,Cr]}],blur:[{blur:$()}],brightness:[{brightness:[fr,Pr,Cr]}],contrast:[{contrast:[fr,Pr,Cr]}],"drop-shadow":[{"drop-shadow":["","none",m,Hr,zr]}],"drop-shadow-color":[{"drop-shadow":V()}],grayscale:[{grayscale:["",fr,Pr,Cr]}],"hue-rotate":[{"hue-rotate":[fr,Pr,Cr]}],invert:[{invert:["",fr,Pr,Cr]}],saturate:[{saturate:[fr,Pr,Cr]}],sepia:[{sepia:["",fr,Pr,Cr]}],"backdrop-filter":[{"backdrop-filter":["","none",Pr,Cr]}],"backdrop-blur":[{"backdrop-blur":$()}],"backdrop-brightness":[{"backdrop-brightness":[fr,Pr,Cr]}],"backdrop-contrast":[{"backdrop-contrast":[fr,Pr,Cr]}],"backdrop-grayscale":[{"backdrop-grayscale":["",fr,Pr,Cr]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[fr,Pr,Cr]}],"backdrop-invert":[{"backdrop-invert":["",fr,Pr,Cr]}],"backdrop-opacity":[{"backdrop-opacity":[fr,Pr,Cr]}],"backdrop-saturate":[{"backdrop-saturate":[fr,Pr,Cr]}],"backdrop-sepia":[{"backdrop-sepia":["",fr,Pr,Cr]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":x()}],"border-spacing-x":[{"border-spacing-x":x()}],"border-spacing-y":[{"border-spacing-y":x()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",Pr,Cr]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[fr,"initial",Pr,Cr]}],ease:[{ease:["linear","initial",g,Pr,Cr]}],delay:[{delay:[fr,Pr,Cr]}],animate:[{animate:["none",y,Pr,Cr]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[h,Pr,Cr]}],"perspective-origin":[{"perspective-origin":b()}],rotate:[{rotate:O()}],"rotate-x":[{"rotate-x":O()}],"rotate-y":[{"rotate-y":O()}],"rotate-z":[{"rotate-z":O()}],scale:[{scale:H()}],"scale-x":[{"scale-x":H()}],"scale-y":[{"scale-y":H()}],"scale-z":[{"scale-z":H()}],"scale-3d":["scale-3d"],skew:[{skew:A()}],"skew-x":[{"skew-x":A()}],"skew-y":[{"skew-y":A()}],transform:[{transform:[Pr,Cr,"","none","gpu","cpu"]}],"transform-origin":[{origin:b()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:L()}],"translate-x":[{"translate-x":L()}],"translate-y":[{"translate-y":L()}],"translate-z":[{"translate-z":L()}],"translate-none":["translate-none"],accent:[{accent:V()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:V()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",Pr,Cr]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":x()}],"scroll-mx":[{"scroll-mx":x()}],"scroll-my":[{"scroll-my":x()}],"scroll-ms":[{"scroll-ms":x()}],"scroll-me":[{"scroll-me":x()}],"scroll-mbs":[{"scroll-mbs":x()}],"scroll-mbe":[{"scroll-mbe":x()}],"scroll-mt":[{"scroll-mt":x()}],"scroll-mr":[{"scroll-mr":x()}],"scroll-mb":[{"scroll-mb":x()}],"scroll-ml":[{"scroll-ml":x()}],"scroll-p":[{"scroll-p":x()}],"scroll-px":[{"scroll-px":x()}],"scroll-py":[{"scroll-py":x()}],"scroll-ps":[{"scroll-ps":x()}],"scroll-pe":[{"scroll-pe":x()}],"scroll-pbs":[{"scroll-pbs":x()}],"scroll-pbe":[{"scroll-pbe":x()}],"scroll-pt":[{"scroll-pt":x()}],"scroll-pr":[{"scroll-pr":x()}],"scroll-pb":[{"scroll-pb":x()}],"scroll-pl":[{"scroll-pl":x()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",Pr,Cr]}],fill:[{fill:["none",...V()]}],"stroke-w":[{stroke:[fr,qr,Er,Nr]}],stroke:[{stroke:["none",...V()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","inset-bs","inset-be","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pbs","pbe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mbs","mbe","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-bs","border-w-be","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-bs","border-color-be","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mbs","scroll-mbe","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pbs","scroll-pbe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}});function Xr(...e){return Yr(function(){for(var e,t,o=0,l="",n=arguments.length;o<n;o++)(e=arguments[o])&&(t=qi(e))&&(l&&(l+=" "),l+=t);return l}(e))}const Jr=h(e.defineComponent({__name:"Card",props:{borderStyle:{default:"solid"},spacing:{default:"md"},cappedWidth:{type:Boolean,default:!1},variant:{default:"default"},shadowSize:{default:"sm"},borderRadius:{default:"base"},title:{},rootClass:{},wrapperClass:{},printBehavior:{}},setup:t=>(l,n)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["flex flex-col",e.unref(Xr)("grouped"===t.variant?"border border-dashed border-opacity-50":"gap-1","md"===t.borderRadius?"rounded-md":"","lg"===t.borderRadius?"rounded-lg":"","base"===t.borderRadius?"rounded":"","grouped"===t.variant?t.rootClass:"",t.wrapperClass,"avoid"===t.printBehavior?"card-print-avoid":"")])},[t.title||l.$slots.title?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(e.unref(Xr)("flex items-center justify-between","sm"===t.spacing?"p-1.5":"","md"===t.spacing?"p-3":"","lg"===t.spacing?"p-6":""))},[e.renderSlot(l.$slots,"title",{},()=>[e.createVNode(e.unref(o),{tag:"span",variant:"grouped"===t.variant?"caps-heading":"body-sm",weight:"semibold","no-spacing":""},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.title),1)]),_:1},8,["variant"])],!0),e.renderSlot(l.$slots,"right",{},void 0,!0)],2)):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass([e.unref(Xr)("sm"===t.spacing?"p-1.5":"","md"===t.spacing?"p-3":"","lg"===t.spacing?"p-6":"","solid"===t.borderStyle&&"sm"===t.shadowSize?"shadow-sm":"","solid"===t.borderStyle&&"md"===t.shadowSize?"shadow-md":"","solid"===t.borderStyle&&"lg"===t.shadowSize?"shadow-lg":"","dashed"===t.borderStyle?"border-dashed border-opacity-50":"","none"===t.shadowSize&&"default"===t.variant?"border-gray-100":"","error"===t.variant?"border-red-600":"","warning"===t.variant?"border-yellow-400":"","primary"===t.variant?"border-primary-400":"",t.cappedWidth?"max-w-220":"","base"===t.borderRadius?"rounded":"","md"===t.borderRadius?"rounded-md":"","lg"===t.borderRadius?"rounded-lg":"","grouped"===t.variant?"border-b-0 border-l-0 border-r-0":"","grouped"===t.variant?"rounded-t-none":"","primary"===t.variant?"bg-blue-50/50":"","default"===t.variant?"bg-white":"",t.rootClass?`${t.rootClass}`:""),"card-surface border"]),"data-testid":"card"},[e.renderSlot(l.$slots,"default",{},void 0,!0)],2)],2))}),[["__scopeId","data-v-9ba3ddf0"]]),ec={AT:"Austria",BE:"Belgium",BG:"Bulgaria",CY:"Cyprus",CZ:"Czech Republic",DE:"Germany",DK:"Denmark",EE:"Estonia",ES:"Spain",FI:"Finland",FR:"France",GR:"Greece",HR:"Croatia",HU:"Hungary",IE:"Ireland",IT:"Italy",LT:"Lithuania",LU:"Luxembourg",LV:"Latvia",MT:"Malta",NL:"Netherlands",PL:"Poland",PT:"Portugal",RO:"Romania",SE:"Sweden",SI:"Slovenia",SK:"Slovakia"};function tc(e,t){const o=new Set;return e.filter(e=>{const l=e[t];return!o.has(l)&&(o.add(l),!0)})}function oc(e=""){return`${e}${crypto.randomUUID()}`}const lc="py-2 px-4 text-sm",nc={danger:"text-red-700",dark:"text-gray-700",info:"text-blue-700",success:"text-green-700",warning:"text-yellow-700"},ac={danger:"bg-red-100",dark:"bg-gray-100",info:"bg-blue-100",success:"bg-green-100",warning:"bg-yellow-100"},ic={danger:"border-t-4 border-red-500",dark:"border-t-4 border-gray-500",info:"border-t-4 border-blue-500",success:"border-t-4 border-green-500",warning:"border-t-4 border-yellow-500"},rc="ml-auto -mx-1.5 -my-1.5 rounded focus:ring-2 p-1.5 inline-flex h-8 w-8",cc={danger:"hover:bg-red-200 focus:ring-red-400 bg-red-100 text-red-500",dark:"hover:bg-gray-200 focus:ring-gray-400 bg-gray-100 text-gray-500",info:"hover:bg-blue-200 focus:ring-blue-400 bg-blue-100 text-blue-500",success:"bg-green-100 text-green-500 focus:ring-green-400 hover:bg-green-200",warning:"focus:ring-yellow-400 hover:bg-yellow-200 bg-yellow-100 text-yellow-500"};const sc={key:0,class:"ml-auto inline-flex items-center"},dc=e.defineComponent({__name:"Alert",props:{type:{default:"info"},title:{default:""},closable:{type:Boolean,default:!1},icon:{type:Boolean,default:!0},border:{type:Boolean,default:!1},inline:{type:Boolean,default:!0}},setup(t){const o=t,{alertClasses:l,textClasses:n,closeClasses:a,contentClasses:i,titleClasses:r}=function(t){const o=e.computed(()=>[lc,ac[t.type.value],l.value,t.border.value?ic[t.type.value]:"rounded",t.inline.value?"flex items-center":""].filter(e=>!!e).join(" ")),l=e.computed(()=>nc[t.type.value]??""),n=e.computed(()=>[rc,cc[t.type.value]??""].filter(e=>!!e).join(" ")),a=e.computed(()=>t.inline.value?t.icon.value||t.title.value?t.title.value?"grow ml-1":"grow ml-2":"":"my-2"),i=e.computed(()=>t.icon.value&&t.inline.value?["font-medium ml-2",t.inline.value?"":"text-lg"].filter(e=>!!e).join(" "):["font-medium",t.inline.value?"":"text-lg ml-2"].filter(e=>!!e).join(" "));return{alertClasses:o,textClasses:l,closeClasses:n,contentClasses:a,titleClasses:i}}(e.toRefs(o)),c=e.ref(!0),s=()=>{c.value=!1};return(o,d)=>c.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(e.unref(l)),role:"alert"},[e.createElementVNode("div",{class:e.normalizeClass(t.inline?"flex":"flex items-center")},[t.icon?(e.openBlock(),e.createElementBlock("svg",{key:0,class:e.normalizeClass(["flex-shrink-0","w-5","h-5",e.unref(n)]),fill:"currentColor",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},[...d[0]||(d[0]=[e.createElementVNode("path",{"fill-rule":"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a1 1 0 000 2v3a1 1 0 001 1h1a1 1 0 100-2v-3a1 1 0 00-1-1H9z","clip-rule":"evenodd"},null,-1)])],2)):e.createCommentVNode("",!0),t.title?(e.openBlock(),e.createElementBlock("span",{key:1,class:e.normalizeClass(e.unref(r))},e.toDisplayString(t.title),3)):e.createCommentVNode("",!0),!t.inline&&t.closable?(e.openBlock(),e.createElementBlock("button",{key:2,type:"button",class:e.normalizeClass(e.unref(a)),"aria-label":"Close",onClick:s},[...d[1]||(d[1]=[e.createElementVNode("span",{class:"sr-only"},"Dismiss",-1),e.createElementVNode("svg",{class:"w-5 h-5",fill:"currentColor",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},[e.createElementVNode("path",{"fill-rule":"evenodd",d:"M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z","clip-rule":"evenodd"})],-1)])],2)):e.createCommentVNode("",!0)],2),e.createElementVNode("div",{class:e.normalizeClass(e.unref(i))},[e.renderSlot(o.$slots,"default")],2),o.$slots.actions?(e.openBlock(),e.createElementBlock("div",sc,[e.renderSlot(o.$slots,"actions")])):e.createCommentVNode("",!0),t.inline&&t.closable?(e.openBlock(),e.createElementBlock("button",{key:1,type:"button",class:e.normalizeClass(e.unref(a)),"aria-label":"Close",onClick:s},[...d[2]||(d[2]=[e.createElementVNode("span",{class:"sr-only"},"Dismiss",-1),e.createElementVNode("svg",{class:"w-5 h-5",fill:"currentColor",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},[e.createElementVNode("path",{"fill-rule":"evenodd",d:"M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z","clip-rule":"evenodd"})],-1)])],2)):e.createCommentVNode("",!0)],2)):e.createCommentVNode("",!0)}}),uc=e.defineComponent({__name:"Avatar",props:{initials:{},imageSrc:{},size:{default:"md"},round:{type:Boolean,default:!1},variant:{default:"light"},colorHash:{},font:{default:"icon"}},setup(t){const o=t,l={xs:"w-4 h-4",sm:"w-5 h-5",md:"w-6 h-6",lg:"w-8 h-8",xl:"w-12 h-12"},n={xs:"text-base",sm:"text-lg",md:"text-2xl",lg:"text-4xl",xl:"text-6xl"},a=(t=>{const o=e.ref();return e.watch(()=>t,()=>{o.value=(e=>{let t=0;for(let l=0;l<e.length;l++)t=e.charCodeAt(l)+((t<<5)-t);let o="#";for(let l=0;l<3;l++)o+=("00"+(t>>8*l&255).toString(16)).substr(-2);return o})(t)},{immediate:!0}),o})(o.colorHash??o.initials??"A"),i=e.computed(()=>({backgroundImage:o.imageSrc?`url(${o.imageSrc})`:`linear-gradient(140deg, ${a.value}60 0%, #DCF3FD 75%)`}));return(a,r)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["flex shrink-0 justify-center items-center rounded overflow-hidden bg-cover bg-primary-100",{[l[o.size]]:!0,"rounded-full":t.round,"border border-black border-opacity-5":"dark"===t.variant}]),style:e.normalizeStyle(i.value)},[t.initials&&!t.imageSrc?(e.openBlock(),e.createElementBlock("span",{key:0,class:e.normalizeClass(["font-semibold font-regular text-2xl",{[n[o.size]]:!0,"font-regular":"icon"===t.font,"font-inter drop-shadow-sm":"regular"===t.font,"text-white/70":"light"===t.variant,"text-black/10":"dark"===t.variant}])},e.toDisplayString(t.initials.toUpperCase()),3)):e.createCommentVNode("",!0)],6))}});function pc(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var mc,fc,hc,vc,gc,yc,bc,xc;function kc(){if(vc)return hc;vc=1;const e=fc?mc:(fc=1,mc={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}),t={};for(const n of Object.keys(e))t[e[n]]=n;const o={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};hc=o;for(const n of Object.keys(o)){if(!("channels"in o[n]))throw new Error("missing channels property: "+n);if(!("labels"in o[n]))throw new Error("missing channel labels property: "+n);if(o[n].labels.length!==o[n].channels)throw new Error("channel and label counts mismatch: "+n);const{channels:e,labels:t}=o[n];delete o[n].channels,delete o[n].labels,Object.defineProperty(o[n],"channels",{value:e}),Object.defineProperty(o[n],"labels",{value:t})}function l(e,t){return(e[0]-t[0])**2+(e[1]-t[1])**2+(e[2]-t[2])**2}return o.rgb.hsl=function(e){const t=e[0]/255,o=e[1]/255,l=e[2]/255,n=Math.min(t,o,l),a=Math.max(t,o,l),i=a-n;let r,c;a===n?r=0:t===a?r=(o-l)/i:o===a?r=2+(l-t)/i:l===a&&(r=4+(t-o)/i),r=Math.min(60*r,360),r<0&&(r+=360);const s=(n+a)/2;return c=a===n?0:s<=.5?i/(a+n):i/(2-a-n),[r,100*c,100*s]},o.rgb.hsv=function(e){let t,o,l,n,a;const i=e[0]/255,r=e[1]/255,c=e[2]/255,s=Math.max(i,r,c),d=s-Math.min(i,r,c),u=function(e){return(s-e)/6/d+.5};return 0===d?(n=0,a=0):(a=d/s,t=u(i),o=u(r),l=u(c),i===s?n=l-o:r===s?n=1/3+t-l:c===s&&(n=2/3+o-t),n<0?n+=1:n>1&&(n-=1)),[360*n,100*a,100*s]},o.rgb.hwb=function(e){const t=e[0],l=e[1];let n=e[2];const a=o.rgb.hsl(e)[0],i=1/255*Math.min(t,Math.min(l,n));return n=1-1/255*Math.max(t,Math.max(l,n)),[a,100*i,100*n]},o.rgb.cmyk=function(e){const t=e[0]/255,o=e[1]/255,l=e[2]/255,n=Math.min(1-t,1-o,1-l);return[100*((1-t-n)/(1-n)||0),100*((1-o-n)/(1-n)||0),100*((1-l-n)/(1-n)||0),100*n]},o.rgb.keyword=function(o){const n=t[o];if(n)return n;let a,i=1/0;for(const t of Object.keys(e)){const n=l(o,e[t]);n<i&&(i=n,a=t)}return a},o.keyword.rgb=function(t){return e[t]},o.rgb.xyz=function(e){let t=e[0]/255,o=e[1]/255,l=e[2]/255;t=t>.04045?((t+.055)/1.055)**2.4:t/12.92,o=o>.04045?((o+.055)/1.055)**2.4:o/12.92,l=l>.04045?((l+.055)/1.055)**2.4:l/12.92;return[100*(.4124*t+.3576*o+.1805*l),100*(.2126*t+.7152*o+.0722*l),100*(.0193*t+.1192*o+.9505*l)]},o.rgb.lab=function(e){const t=o.rgb.xyz(e);let l=t[0],n=t[1],a=t[2];l/=95.047,n/=100,a/=108.883,l=l>.008856?l**(1/3):7.787*l+16/116,n=n>.008856?n**(1/3):7.787*n+16/116,a=a>.008856?a**(1/3):7.787*a+16/116;return[116*n-16,500*(l-n),200*(n-a)]},o.hsl.rgb=function(e){const t=e[0]/360,o=e[1]/100,l=e[2]/100;let n,a,i;if(0===o)return i=255*l,[i,i,i];n=l<.5?l*(1+o):l+o-l*o;const r=2*l-n,c=[0,0,0];for(let s=0;s<3;s++)a=t+1/3*-(s-1),a<0&&a++,a>1&&a--,i=6*a<1?r+6*(n-r)*a:2*a<1?n:3*a<2?r+(n-r)*(2/3-a)*6:r,c[s]=255*i;return c},o.hsl.hsv=function(e){const t=e[0];let o=e[1]/100,l=e[2]/100,n=o;const a=Math.max(l,.01);l*=2,o*=l<=1?l:2-l,n*=a<=1?a:2-a;return[t,100*(0===l?2*n/(a+n):2*o/(l+o)),100*((l+o)/2)]},o.hsv.rgb=function(e){const t=e[0]/60,o=e[1]/100;let l=e[2]/100;const n=Math.floor(t)%6,a=t-Math.floor(t),i=255*l*(1-o),r=255*l*(1-o*a),c=255*l*(1-o*(1-a));switch(l*=255,n){case 0:return[l,c,i];case 1:return[r,l,i];case 2:return[i,l,c];case 3:return[i,r,l];case 4:return[c,i,l];case 5:return[l,i,r]}},o.hsv.hsl=function(e){const t=e[0],o=e[1]/100,l=e[2]/100,n=Math.max(l,.01);let a,i;i=(2-o)*l;const r=(2-o)*n;return a=o*n,a/=r<=1?r:2-r,a=a||0,i/=2,[t,100*a,100*i]},o.hwb.rgb=function(e){const t=e[0]/360;let o=e[1]/100,l=e[2]/100;const n=o+l;let a;n>1&&(o/=n,l/=n);const i=Math.floor(6*t),r=1-l;a=6*t-i,1&i&&(a=1-a);const c=o+a*(r-o);let s,d,u;switch(i){default:case 6:case 0:s=r,d=c,u=o;break;case 1:s=c,d=r,u=o;break;case 2:s=o,d=r,u=c;break;case 3:s=o,d=c,u=r;break;case 4:s=c,d=o,u=r;break;case 5:s=r,d=o,u=c}return[255*s,255*d,255*u]},o.cmyk.rgb=function(e){const t=e[0]/100,o=e[1]/100,l=e[2]/100,n=e[3]/100;return[255*(1-Math.min(1,t*(1-n)+n)),255*(1-Math.min(1,o*(1-n)+n)),255*(1-Math.min(1,l*(1-n)+n))]},o.xyz.rgb=function(e){const t=e[0]/100,o=e[1]/100,l=e[2]/100;let n,a,i;return n=3.2406*t+-1.5372*o+-.4986*l,a=-.9689*t+1.8758*o+.0415*l,i=.0557*t+-.204*o+1.057*l,n=n>.0031308?1.055*n**(1/2.4)-.055:12.92*n,a=a>.0031308?1.055*a**(1/2.4)-.055:12.92*a,i=i>.0031308?1.055*i**(1/2.4)-.055:12.92*i,n=Math.min(Math.max(0,n),1),a=Math.min(Math.max(0,a),1),i=Math.min(Math.max(0,i),1),[255*n,255*a,255*i]},o.xyz.lab=function(e){let t=e[0],o=e[1],l=e[2];t/=95.047,o/=100,l/=108.883,t=t>.008856?t**(1/3):7.787*t+16/116,o=o>.008856?o**(1/3):7.787*o+16/116,l=l>.008856?l**(1/3):7.787*l+16/116;return[116*o-16,500*(t-o),200*(o-l)]},o.lab.xyz=function(e){let t,o,l;o=(e[0]+16)/116,t=e[1]/500+o,l=o-e[2]/200;const n=o**3,a=t**3,i=l**3;return o=n>.008856?n:(o-16/116)/7.787,t=a>.008856?a:(t-16/116)/7.787,l=i>.008856?i:(l-16/116)/7.787,t*=95.047,o*=100,l*=108.883,[t,o,l]},o.lab.lch=function(e){const t=e[0],o=e[1],l=e[2];let n;n=360*Math.atan2(l,o)/2/Math.PI,n<0&&(n+=360);return[t,Math.sqrt(o*o+l*l),n]},o.lch.lab=function(e){const t=e[0],o=e[1],l=e[2]/360*2*Math.PI;return[t,o*Math.cos(l),o*Math.sin(l)]},o.rgb.ansi16=function(e,t=null){const[l,n,a]=e;let i=null===t?o.rgb.hsv(e)[2]:t;if(i=Math.round(i/50),0===i)return 30;let r=30+(Math.round(a/255)<<2|Math.round(n/255)<<1|Math.round(l/255));return 2===i&&(r+=60),r},o.hsv.ansi16=function(e){return o.rgb.ansi16(o.hsv.rgb(e),e[2])},o.rgb.ansi256=function(e){const t=e[0],o=e[1],l=e[2];if(t===o&&o===l)return t<8?16:t>248?231:Math.round((t-8)/247*24)+232;return 16+36*Math.round(t/255*5)+6*Math.round(o/255*5)+Math.round(l/255*5)},o.ansi16.rgb=function(e){let t=e%10;if(0===t||7===t)return e>50&&(t+=3.5),t=t/10.5*255,[t,t,t];const o=.5*(1+~~(e>50));return[(1&t)*o*255,(t>>1&1)*o*255,(t>>2&1)*o*255]},o.ansi256.rgb=function(e){if(e>=232){const t=10*(e-232)+8;return[t,t,t]}let t;e-=16;return[Math.floor(e/36)/5*255,Math.floor((t=e%36)/6)/5*255,t%6/5*255]},o.rgb.hex=function(e){const t=(((255&Math.round(e[0]))<<16)+((255&Math.round(e[1]))<<8)+(255&Math.round(e[2]))).toString(16).toUpperCase();return"000000".substring(t.length)+t},o.hex.rgb=function(e){const t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];let o=t[0];3===t[0].length&&(o=o.split("").map(e=>e+e).join(""));const l=parseInt(o,16);return[l>>16&255,l>>8&255,255&l]},o.rgb.hcg=function(e){const t=e[0]/255,o=e[1]/255,l=e[2]/255,n=Math.max(Math.max(t,o),l),a=Math.min(Math.min(t,o),l),i=n-a;let r,c;return r=i<1?a/(1-i):0,c=i<=0?0:n===t?(o-l)/i%6:n===o?2+(l-t)/i:4+(t-o)/i,c/=6,c%=1,[360*c,100*i,100*r]},o.hsl.hcg=function(e){const t=e[1]/100,o=e[2]/100,l=o<.5?2*t*o:2*t*(1-o);let n=0;return l<1&&(n=(o-.5*l)/(1-l)),[e[0],100*l,100*n]},o.hsv.hcg=function(e){const t=e[1]/100,o=e[2]/100,l=t*o;let n=0;return l<1&&(n=(o-l)/(1-l)),[e[0],100*l,100*n]},o.hcg.rgb=function(e){const t=e[0]/360,o=e[1]/100,l=e[2]/100;if(0===o)return[255*l,255*l,255*l];const n=[0,0,0],a=t%1*6,i=a%1,r=1-i;let c=0;switch(Math.floor(a)){case 0:n[0]=1,n[1]=i,n[2]=0;break;case 1:n[0]=r,n[1]=1,n[2]=0;break;case 2:n[0]=0,n[1]=1,n[2]=i;break;case 3:n[0]=0,n[1]=r,n[2]=1;break;case 4:n[0]=i,n[1]=0,n[2]=1;break;default:n[0]=1,n[1]=0,n[2]=r}return c=(1-o)*l,[255*(o*n[0]+c),255*(o*n[1]+c),255*(o*n[2]+c)]},o.hcg.hsv=function(e){const t=e[1]/100,o=t+e[2]/100*(1-t);let l=0;return o>0&&(l=t/o),[e[0],100*l,100*o]},o.hcg.hsl=function(e){const t=e[1]/100,o=e[2]/100*(1-t)+.5*t;let l=0;return o>0&&o<.5?l=t/(2*o):o>=.5&&o<1&&(l=t/(2*(1-o))),[e[0],100*l,100*o]},o.hcg.hwb=function(e){const t=e[1]/100,o=t+e[2]/100*(1-t);return[e[0],100*(o-t),100*(1-o)]},o.hwb.hcg=function(e){const t=e[1]/100,o=1-e[2]/100,l=o-t;let n=0;return l<1&&(n=(o-l)/(1-l)),[e[0],100*l,100*n]},o.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]},o.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]},o.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]},o.gray.hsl=function(e){return[0,0,e[0]]},o.gray.hsv=o.gray.hsl,o.gray.hwb=function(e){return[0,100,e[0]]},o.gray.cmyk=function(e){return[0,0,0,e[0]]},o.gray.lab=function(e){return[e[0],0,0]},o.gray.hex=function(e){const t=255&Math.round(e[0]/100*255),o=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(o.length)+o},o.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]},hc}function _c(){if(yc)return gc;yc=1;const e=kc();function t(t){const o=function(){const t={},o=Object.keys(e);for(let e=o.length,l=0;l<e;l++)t[o[l]]={distance:-1,parent:null};return t}(),l=[t];for(o[t].distance=0;l.length;){const t=l.pop(),n=Object.keys(e[t]);for(let e=n.length,a=0;a<e;a++){const e=n[a],i=o[e];-1===i.distance&&(i.distance=o[t].distance+1,i.parent=t,l.unshift(e))}}return o}function o(e,t){return function(o){return t(e(o))}}function l(t,l){const n=[l[t].parent,t];let a=e[l[t].parent][t],i=l[t].parent;for(;l[i].parent;)n.unshift(l[i].parent),a=o(e[l[i].parent][i],a),i=l[i].parent;return a.conversion=n,a}return gc=function(e){const o=t(e),n={},a=Object.keys(o);for(let t=a.length,i=0;i<t;i++){const e=a[i];null!==o[e].parent&&(n[e]=l(e,o))}return n}}const wc=pc(function(){if(xc)return bc;xc=1;const e=kc(),t=_c(),o={};return Object.keys(e).forEach(l=>{o[l]={},Object.defineProperty(o[l],"channels",{value:e[l].channels}),Object.defineProperty(o[l],"labels",{value:e[l].labels});const n=t(l);Object.keys(n).forEach(e=>{const t=n[e];o[l][e]=function(e){const t=function(...t){const o=t[0];if(null==o)return o;o.length>1&&(t=o);const l=e(t);if("object"==typeof l)for(let e=l.length,n=0;n<e;n++)l[n]=Math.round(l[n]);return l};return"conversion"in e&&(t.conversion=e.conversion),t}(t),o[l][e].raw=function(e){const t=function(...t){const o=t[0];return null==o?o:(o.length>1&&(t=o),e(t))};return"conversion"in e&&(t.conversion=e.conversion),t}(t)})}),bc=o}()),Bc=[180,300,60],Cc=[360,240,120,0];function Ec(e,t,o){const l=e.sort((e,o)=>Math.abs(e-t)-Math.abs(o-t))[0]-t;return Math.round(o*l*.5)}function Nc(e){const t=function(e){const t=e.replace("#","");return`#${3===t.length?t.replace(/(.)/g,"$1$1"):t.padEnd(6,"0")}`}(e),o={500:t},l={50:.95,100:.9,200:.75,300:.6,400:.3,600:.9,700:.75,800:.6,900:.45,950:.29};return[50,100,200,300,400].forEach(e=>{o[e]=function(e,t){if(!e)return"";const[o,l,n]=wc.hex.hsv(e),a=o+Ec(Bc,o,t),i=l-Math.round(l*t),r=n+Math.round((100-n)*t);return`#${wc.hsv.hex([a,i,r])}`}(t,l[e])}),[600,700,800,900,950].forEach(e=>{o[e]=function(e,t){if(!e)return"";const o=1-t,[l,n,a]=wc.hex.hsv(e),i=l+Ec(Cc,l,o),r=n+Math.round((100-n)*o),c=a-Math.round(a*o);return`#${wc.hsv.hex([i,r,c])}`}(t,l[e])}),o}const Tc=e.defineComponent({__name:"BrandProvider",props:{primaryColor:{default:"#000000"},secondaryColor:{default:"#444444"},isShadowRoot:{type:Boolean,default:!1}},setup(t){const o=t,l=e.computed(()=>Nc(o.primaryColor)),n=e.computed(()=>Nc(o.secondaryColor)),a=e.computed(()=>o.isShadowRoot?":host":":root");return(t,o)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent("style"),null,{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(a.value)+" { --color-primary-50: "+e.toDisplayString(l.value[50])+"; --color-primary-100: "+e.toDisplayString(l.value[100])+"; --color-primary-200: "+e.toDisplayString(l.value[200])+"; --color-primary-300: "+e.toDisplayString(l.value[300])+"; --color-primary-400: "+e.toDisplayString(l.value[400])+"; --color-primary-500: "+e.toDisplayString(l.value[500])+"; --color-primary-600: "+e.toDisplayString(l.value[600])+"; --color-primary-700: "+e.toDisplayString(l.value[700])+"; --color-primary-800: "+e.toDisplayString(l.value[800])+"; --color-primary-900: "+e.toDisplayString(l.value[900])+" --color-secondary-50: "+e.toDisplayString(n.value[50])+"; --color-secondary-100: "+e.toDisplayString(n.value[100])+"; --color-secondary-200: "+e.toDisplayString(n.value[200])+"; --color-secondary-300: "+e.toDisplayString(n.value[300])+"; --color-secondary-400: "+e.toDisplayString(n.value[400])+"; --color-secondary-500: "+e.toDisplayString(n.value[500])+"; --color-secondary-600: "+e.toDisplayString(n.value[600])+"; --color-secondary-700: "+e.toDisplayString(n.value[700])+"; --color-secondary-800: "+e.toDisplayString(n.value[800])+"; --color-secondary-900: "+e.toDisplayString(n.value[900])+" } ",1)]),_:1}))}}),Mc=e.defineComponent({__name:"Link",props:e.mergeDefaults({external:{type:Boolean},showOnHover:{type:Boolean},button:{type:Boolean},to:{},target:{},custom:{type:Boolean},activeClass:{},exactActiveClass:{},ariaCurrentValue:{},viewTransition:{type:Boolean},replace:{type:Boolean},type:{},variant:{},color:{},size:{},pill:{type:Boolean},square:{type:Boolean},loading:{type:Boolean},disabled:{type:Boolean},iconPrefix:{},iconSuffix:{},tag:{}},{external:!1,showOnHover:!1,button:!1,...Ht}),setup(t){const o=t,l=e.useAttrs(),n=e.ref(!!l.href),a=e.computed(()=>null===o.target?"_self":"_blank"),i=e.computed(()=>{const e=n.value?{rel:"noopener noreferrer",target:a.value}:{to:o.to,target:o.target||null};return{tag:n.value?"a":"RouterLink",props:{...l,...e}}}),{wrapperClasses:r,spanClasses:c}=Kt(e.toRefs(o)),s=e.computed(()=>o.button?`inline-flex text-center hover:no-underline ${r.value} text-sm`:"group hover:text-blue-600 hover:underline "+(o.showOnHover?"hover:text-blue-600":"text-blue-600"));return(l,n)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(i.value.tag),e.mergeProps(i.value.props,{class:s.value}),{default:e.withCtx(()=>[e.createElementVNode("span",{class:e.normalizeClass({[`${e.unref(c)} flex items-center grow`]:o.button})},[e.renderSlot(l.$slots,"default"),t.external&&!t.button?(e.openBlock(),e.createBlock(e.unref(w),{key:0,icon:"arrow_outward",size:"xs",class:e.normalizeClass(["ml-0.5",{"invisible group-hover:visible":o.showOnHover}])},null,8,["class"])):e.createCommentVNode("",!0)],2)]),_:3},16,["class"]))}}),Vc=e.defineComponent({__name:"CardContent",props:{spacing:{default:"md"}},setup:t=>(o,l)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass({"p-2":"xs"===t.spacing,"px-4 py-3":"sm"===t.spacing,"p-4":"md"===t.spacing,"px-8 py-6":"lg"===t.spacing})},[e.renderSlot(o.$slots,"default")],2))}),Sc={key:0,class:"text-gray-500 font-normal text-xs"},zc=e.defineComponent({__name:"LabelContent",props:{tag:{default:"label"},required:{type:Boolean},name:{},screenReaderOnly:{type:Boolean},i18n:{},optionalLabel:{}},setup:t=>(o,l)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.tag),e.mergeProps(o.$attrs,{class:["block text-sm font-medium text-gray-900",{"sr-only":t.screenReaderOnly}]}),{default:e.withCtx(()=>{var l;return[e.renderSlot(o.$slots,"default"),t.required?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("span",Sc," ("+e.toDisplayString((null==(l=t.i18n)?void 0:l.optionalLabel)??"optional")+") ",1))]}),_:3},16,["class"]))}),Pc=Symbol("tooltip"),qc=Symbol("tooltip-dark-mode"),Dc={key:0,class:"px-3 mb-1"},Ic=e.defineComponent({__name:"Tooltip",props:{variant:{default:"default"},placement:{default:"bottom-end"},offset:{default:4},maxWidth:{default:"xs"},rootClass:{},title:{},isDarkMode:{type:Boolean}},setup(t){const l=t,n=e.ref(),a=e.ref(null),i=e.ref(!1),r=e.inject(Pc),{floatingStyles:c}=qt(n,a,{whileElementsMounted:Et,placement:l.placement,middleware:[Nt(l.offset),Tt()]});return e.provide(qc,l.isDarkMode),(l,s)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("span",e.mergeProps(l.$attrs,{ref_key:"triggerRef",ref:n,class:"relative leading-none",onMouseenter:s[0]||(s[0]=e=>i.value=!0),onMouseleave:s[1]||(s[1]=e=>i.value=!1)}),[e.createElementVNode("span",{class:"absolute",style:e.normalizeStyle({inset:`-${t.offset}px`})},null,4),e.renderSlot(l.$slots,"default")],16),e.unref(r)?(e.openBlock(),e.createBlock(e.Teleport,{key:0,to:e.unref(r)},[i.value?(e.openBlock(),e.createElementBlock("div",{key:0,ref_key:"tooltipRef",ref:a,style:e.normalizeStyle(e.unref(c)),class:e.normalizeClass(["border z-70 shadow-md",[t.rootClass,`max-w-${t.maxWidth}`,{"border-gray-200 rounded bg-white":!t.isDarkMode,"border-gray-700 rounded bg-gray-700":t.isDarkMode}]]),onMouseenter:s[2]||(s[2]=e=>i.value=!0),onMouseleave:s[3]||(s[3]=e=>i.value=!1)},[e.createElementVNode("div",{class:e.normalizeClass(["rounded",{"border-gray-50 bg-gray-50":"outline"===t.variant&&!t.isDarkMode,"border-gray-600 bg-gray-600":"outline"===t.variant&&t.isDarkMode,"border-4":"outline"===t.variant&&!t.title,"border-2":"outline"===t.variant&&t.title,"pt-0":!!t.title}])},[t.title?(e.openBlock(),e.createElementBlock("div",Dc,[e.createVNode(o,{variant:"caps-heading",shade:"lighter",class:e.normalizeClass({"!text-gray-100":t.isDarkMode}),"no-spacing":""},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.title),1)]),_:1},8,["class"])])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(["py-2 rounded",{"bg-white":"outline"===t.variant&&!t.isDarkMode,"bg-gray-700":"outline"===t.variant&&t.isDarkMode}])},[e.renderSlot(l.$slots,"tooltip")],2)],2)],38)):e.createCommentVNode("",!0)],8,["to"])):e.createCommentVNode("",!0)],64))}}),$c={class:"flex items-center justify-between mb-1"},Oc={class:"flex items-center gap-1"},Hc={key:0,class:"leading-none"},Ac=e.defineComponent({inheritAttrs:!1,__name:"Label",props:{tag:{default:"label"},required:{type:Boolean},name:{},screenReaderOnly:{type:Boolean},i18n:{}},setup:t=>(o,l)=>(e.openBlock(),e.createElementBlock("div",$c,[e.createElementVNode("div",Oc,[o.$slots.tooltip?(e.openBlock(),e.createBlock(Ic,{key:0,variant:"outline",class:"flex"},{default:e.withCtx(()=>{var l;return[e.createVNode(zc,e.mergeProps({...o.$props,...o.$attrs},{i18n:{optionalLabel:null==(l=t.i18n)?void 0:l.optionalLabel}}),{default:e.withCtx(()=>[e.renderSlot(o.$slots,"default")]),_:3},16,["i18n"]),e.createVNode(w,{icon:"help",size:"2xs",class:"rounded drop-shadow-sm hover:bg-gray-50 hover:cursor-default"})]}),tooltip:e.withCtx(()=>[e.renderSlot(o.$slots,"tooltip")]),_:3})):(e.openBlock(),e.createBlock(zc,e.normalizeProps(e.mergeProps({key:1},{...o.$props,...o.$attrs})),{default:e.withCtx(()=>[e.renderSlot(o.$slots,"default")]),_:3},16))]),o.$slots.suffix?(e.openBlock(),e.createElementBlock("div",Hc,[e.renderSlot(o.$slots,"suffix")])):e.createCommentVNode("",!0)]))}),Lc="data-expand-transition-style",Zc=e.defineComponent({__name:"Expand",setup(t){const o=e=>{const t=e.getRootNode();if(t instanceof ShadowRoot){if(t.querySelector(`style[${Lc}]`))return;const e=document.createElement("style");e.setAttribute(Lc,"true"),e.textContent="\n .expand-enter-active,\n .expand-leave-active {\n transition: height 300ms ease-in-out;\n overflow: hidden;\n }\n\n .expand-enter,\n .expand-leave-to {\n height: 0;\n }\n ",t.appendChild(e)}},l=e=>{o(e);const t=e,l=getComputedStyle(t).width;t.style.width=l,t.style.position="absolute",t.style.visibility="hidden",t.style.height="auto";const n=getComputedStyle(t).height;t.style.width="",t.style.position="",t.style.visibility="",t.style.height="0",requestAnimationFrame(()=>{t.style.height=n})},n=e=>{e.style.height="auto"},a=e=>{o(e);const t=e,l=getComputedStyle(t).height;t.style.height=l,requestAnimationFrame(()=>{t.style.height="0"})};return(t,o)=>(e.openBlock(),e.createBlock(e.Transition,{name:"expand",onEnter:l,onLeave:a,onAfterEnter:n},{default:e.withCtx(()=>[e.renderSlot(t.$slots,"default")]),_:3}))}}),Rc="w-6",Fc=e.defineComponent({__name:"CollapsibleList",props:{type:{default:"ordered"},hasAddButton:{type:Boolean},i18n:{}},emits:["add"],setup(t){const o=t,l=e.computed(()=>"ordered"===o.type?"ol":"ul");return(o,n)=>{var a;return e.openBlock(),e.createElementBlock("div",null,[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(l.value),null,{default:e.withCtx(()=>[e.renderSlot(o.$slots,"default")]),_:3})),e.createElementVNode("div",{class:e.normalizeClass(["flex flex-col items-center justify-center",e.unref(Rc)])},[t.hasAddButton?(e.openBlock(),e.createBlock(e.unref(oo),{key:0,square:"","aria-label":(null==(a=t.i18n)?void 0:a.addButtonLabel)??"Add item",color:"gray",variant:"outline",size:"sm","icon-prefix":"add",onClick:n[0]||(n[0]=e=>o.$emit("add"))},null,8,["aria-label"])):e.createCommentVNode("",!0)],2)])}}}),Uc={class:"px-3"};const Gc=h({},[["render",function(t,o){return e.openBlock(),e.createElementBlock("div",Uc,[e.renderSlot(t.$slots,"default")])}]]),jc=e.defineComponent({__name:"TooltipParagraph",setup(t){const l=e.inject(qc);return(t,n)=>(e.openBlock(),e.createBlock(e.unref(o),{tag:"p",variant:"body-xs",shade:"lighter",class:e.normalizeClass({"!text-gray-200":e.unref(l)})},{default:e.withCtx(()=>[e.renderSlot(t.$slots,"default")]),_:3},8,["class"]))}}),Qc=e.defineComponent({__name:"CombinedVolumeChip",props:{i18n:{},placement:{}},setup:t=>(o,l)=>(e.openBlock(),e.createBlock(Ic,{offset:4,placement:t.placement},{default:e.withCtx(()=>[e.createVNode(Qn,{color:"dark"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.i18n.combinedVolume),1)]),_:1})]),tooltip:e.withCtx(()=>[e.createVNode(Gc,null,{default:e.withCtx(()=>[e.createVNode(jc,null,{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.i18n.description),1)]),_:1})]),_:1})]),_:1},8,["placement"]))}),Kc=["innerHTML"],Wc=e.defineComponent({__name:"Comparator",props:{propertyName:{},comparator:{},value:{},values:{},hasFormatting:{type:Boolean,default:!0},i18n:{}},setup(t){const o=t,l=e.computed(()=>({propertyName:o.propertyName,comparator:o.comparator,value:o.value??"",values:o.values??[""]}));return(o,n)=>(e.openBlock(),e.createElementBlock("span",{class:"py-0.25 px-0.5",innerHTML:e.unref(ni)(t.i18n)(l.value,{hasFormatting:t.hasFormatting})},null,8,Kc))}}),Yc=e.defineComponent({__name:"Comparators",props:{comparators:{},expressionComparators:{},i18n:{},display:{default:"block"},rootClass:{}},setup:t=>(o,l)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[t.comparators?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(t.comparators,({meter_property:o,comparator:l,value:n,values:a},i)=>{var r,c;return e.openBlock(),e.createElementBlock("span",{key:null==o?void 0:o.id,class:e.normalizeClass({block:"block"===t.display,inline:"inline"===t.display})},[e.createVNode(Wc,{"property-name":(null==o?void 0:o.name)??(null==(r=t.i18n)?void 0:r.unknown)??"Unknown",comparator:l,value:n,values:a},null,8,["property-name","comparator","value","values"]),i<t.comparators.length-1?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createTextVNode(e.toDisplayString(" ")+e.toDisplayString((null==(c=t.i18n)?void 0:c.and)??"and")+e.toDisplayString(" "),1)],64)):e.createCommentVNode("",!0)],2)}),128)):e.createCommentVNode("",!0),t.expressionComparators?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:1},e.renderList(t.expressionComparators.operands,(o,l)=>{var n,a;return e.openBlock(),e.createElementBlock("span",{key:l,class:e.normalizeClass(["mr-1 rounded-sm bg-blue-400/25 px-2",t.rootClass])},[o.meter_property?(e.openBlock(),e.createBlock(Wc,{key:0,"property-name":(null==(n=o.meter_property.meter_property)?void 0:n.name)??(null==(a=t.i18n)?void 0:a.unknown)??"Unknown",comparator:o.meter_property.comparator,value:o.meter_property.value,values:o.meter_property.values},null,8,["property-name","comparator","value","values"])):e.createCommentVNode("",!0),o.expression?(e.openBlock(),e.createBlock(Yc,{key:1,"expression-comparators":o.expression,display:t.display,i18n:t.i18n,"root-class":t.rootClass},null,8,["expression-comparators","display","i18n","root-class"])):e.createCommentVNode("",!0),l<t.expressionComparators.operands.length-1?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createTextVNode(e.toDisplayString(" ")+e.toDisplayString(e.unref(Za)(t.expressionComparators.operator).toLocaleLowerCase())+e.toDisplayString(" "),1)],64)):e.createCommentVNode("",!0)],2)}),128)):e.createCommentVNode("",!0)],64))}),Xc={class:"flex items-center pt-1"},Jc={class:"px-1.5 text-gray-500 text-xs font-semibold"};const es=h({},[["render",function(t,o){return e.openBlock(),e.createElementBlock("div",Xc,[o[0]||(o[0]=e.createElementVNode("div",{class:"border-t w-2"},null,-1)),e.createElementVNode("span",Jc,[e.renderSlot(t.$slots,"default")]),o[1]||(o[1]=e.createElementVNode("div",{class:"border-t grow"},null,-1))])}]]),ts=e=>`input-${e}`,os=["aria-selected","aria-disabled","data-testid"],ls=["id","value","checked","disabled"],ns=["for"],as={class:"flex items-center gap-1"},is={class:"flex flex-grow flex-col"},rs={class:"flex flex-grow gap-2"},cs={class:"flex flex-grow flex-col"},ss={class:"flex flex-grow gap-2 items-center"},ds=e.defineComponent({__name:"SearchSelectInputOption",props:{multiple:{type:Boolean},search:{},condensed:{type:Boolean},label:{},checked:{type:Boolean},disabled:{type:Boolean},subLabel:{},labelPrefixComponent:{},labelSuffixComponent:{},labelInlineComponent:{},value:{},labelSrOnly:{type:Boolean}},emits:["value-changed"],setup(t,{emit:o}){const l=o,n=t,a=e=>{const t=e.target,o={value:t.value,checked:t.checked};l("value-changed",o)},i=()=>{n.multiple||n.disabled||l("value-changed",{value:n.value})},c=e.computed(()=>`checkbox-item-${n.value}`),s=e.computed(()=>r(n.search??""));return(o,l)=>(e.openBlock(),e.createElementBlock("li",{role:"option","aria-selected":t.checked,"aria-disabled":t.disabled,class:e.normalizeClass([{"hover:bg-gray-100":!t.disabled},"flex relative"]),"data-testid":c.value,tabindex:"0",onClick:i,onKeydown:e.withKeys(i,["enter"])},[t.multiple?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("input",e.mergeProps(o.$attrs,{id:c.value,ref:"inputRef",value:t.value,checked:t.checked,disabled:t.disabled,type:"checkbox",class:["absolute top-[50%] -translate-y-2 left-3.5 w-4 h-4 bg-gray-100 border-gray-300 rounded focus:ring-blue-500 focus:ring-2",t.disabled?"text-gray-400 placeholder-gray-500":"text-blue-600"],tabindex:"-1",onChange:a}),null,16,ls),e.createElementVNode("label",{for:c.value,class:e.normalizeClass([t.disabled?"text-gray-400":"text-gray-900 rounded","w-full px-4 py-3 pl-10 text-sm font-medium"])},[e.createElementVNode("div",as,[t.labelPrefixComponent?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.labelPrefixComponent.component),e.normalizeProps(e.mergeProps({key:0},t.labelPrefixComponent.props)),null,16)):e.createCommentVNode("",!0),e.createElementVNode("div",is,[e.createElementVNode("div",rs,[e.createVNode(p,{text:t.label,search:s.value,class:e.normalizeClass(["font-semibold",{"sr-only":t.labelSrOnly}])},null,8,["text","search","class"]),t.labelInlineComponent?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.labelInlineComponent.component),e.normalizeProps(e.mergeProps({key:0},t.labelInlineComponent.props)),null,16)):e.createCommentVNode("",!0),t.subLabel&&t.condensed?(e.openBlock(),e.createBlock(p,{key:1,class:"text-xs text-slate-500",text:t.subLabel,search:s.value},null,8,["text","search"])):e.createCommentVNode("",!0)]),t.subLabel&&!t.condensed?(e.openBlock(),e.createBlock(p,{key:0,class:"text-xs text-slate-500",text:t.subLabel,search:s.value},null,8,["text","search"])):e.createCommentVNode("",!0)]),t.labelSuffixComponent?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.labelSuffixComponent.component),e.normalizeProps(e.mergeProps({key:1},t.labelSuffixComponent.props)),null,16)):e.createCommentVNode("",!0)])],10,ns)],64)):(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(["w-full px-4 text-sm font-medium flex items-center gap-3",[t.condensed?"p-2":"py-3",t.disabled??"cursor-not-allowed",!t.disabled&&"cursor-pointer"]])},[t.labelPrefixComponent?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.labelPrefixComponent.component),e.normalizeProps(e.mergeProps({key:0},t.labelPrefixComponent.props)),null,16)):e.createCommentVNode("",!0),e.createElementVNode("div",cs,[e.createElementVNode("div",ss,[e.createVNode(p,{text:t.label,search:e.unref(r)(t.search??""),class:e.normalizeClass(["font-semibold",{"text-gray-400":t.disabled}])},null,8,["text","search","class"]),t.labelInlineComponent?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.labelInlineComponent.component),e.normalizeProps(e.mergeProps({key:0},t.labelInlineComponent.props)),null,16)):e.createCommentVNode("",!0),t.subLabel&&t.condensed?(e.openBlock(),e.createBlock(p,{key:1,class:"text-xs text-slate-500",text:t.subLabel,search:s.value},null,8,["text","search"])):e.createCommentVNode("",!0)]),t.subLabel&&!t.condensed?(e.openBlock(),e.createBlock(p,{key:0,class:"text-xs text-slate-500",text:t.subLabel,search:s.value},null,8,["text","search"])):e.createCommentVNode("",!0)]),t.labelSuffixComponent?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.labelSuffixComponent.component),e.normalizeProps(e.mergeProps({key:1},t.labelSuffixComponent.props)),null,16)):e.createCommentVNode("",!0)],2))],42,os))}}),us={class:"flex flex-col rounded-bl rounded-br"},ps={key:0,class:"px-5 py-5 text-sm text-slate-400"},ms={key:0},fs=["innerHTML"],hs={key:0},vs={class:"mt-1 px-3 py-2 text-sm text-slate-600"},gs={key:2,class:"border-t border-gray-200"},ys=e.defineComponent({__name:"SearchSelectInputOptions",props:{i18n:{},model:{},search:{},multiple:{type:Boolean},condensed:{type:Boolean},hasLargeDropdown:{type:Boolean},addOnly:{type:Boolean},options:{}},emits:["value-changed"],setup(t,{emit:o}){const l=o,n=t,a=e=>l("value-changed",e),i=e.computed(()=>{var e,t;const o=n.search?`<span class="font-bold">"${r(n.search)}"</span>`:"";return(null==(t=null==(e=n.i18n)?void 0:e.noResults)?void 0:t.call(e,o))??`No matches found for ${o}.`}),c=e.computed(()=>""===n.search),s=e.computed(()=>tc(n.options,"group").reduce((e,t)=>""===t.value?e:{...e,[t.value]:t.group},{}));return(o,l)=>{var r,d;return e.openBlock(),e.createElementBlock("div",us,[0===t.options.length?(e.openBlock(),e.createElementBlock("div",ps,[c.value?(e.openBlock(),e.createElementBlock("span",ms,e.toDisplayString((null==(r=n.i18n)?void 0:r.noOptionsAvailable)??"No available options."),1)):(e.openBlock(),e.createElementBlock("span",{key:1,innerHTML:i.value},null,8,fs))])):(e.openBlock(),e.createElementBlock("ul",{key:1,class:e.normalizeClass(["list-none overflow-y-auto text-gray-700",[t.hasLargeDropdown?"max-h-76":"max-h-48"]])},[t.addOnly?(e.openBlock(),e.createElementBlock("div",hs,[e.createElementVNode("p",vs,e.toDisplayString((null==(d=t.i18n)?void 0:d.addOnly)??"You can only select currently unselected options."),1)])):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.options,({label:o,subLabel:l,value:n,checked:i,disabled:r,labelInlineComponent:c,labelSuffixComponent:d,labelSrOnly:u,labelPrefixComponent:p,hidden:m,searchValues:f})=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:n},[s.value[n]?(e.openBlock(),e.createBlock(es,{key:0},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(s.value[n]),1)]),_:2},1024)):e.createCommentVNode("",!0),m?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(ds,{key:1,label:o,"sub-label":l,value:n,checked:i,disabled:r,search:f?"":t.search,multiple:t.multiple,condensed:t.condensed,"label-suffix-component":d,"label-prefix-component":p,"label-inline-component":c,"label-sr-only":u,onValueChanged:a},null,8,["label","sub-label","value","checked","disabled","search","multiple","condensed","label-suffix-component","label-prefix-component","label-inline-component","label-sr-only"]))],64))),128))],2)),o.$slots["list-footer-content"]?(e.openBlock(),e.createElementBlock("div",gs,[e.renderSlot(o.$slots,"list-footer-content")])):e.createCommentVNode("",!0)])}}}),bs=Symbol("search-select-input"),xs=e.defineComponent({inheritAttrs:!1,__name:"IconButton",props:{tooltip:{},icon:{},type:{},variant:{},color:{},size:{},pill:{type:Boolean},square:{type:Boolean},loading:{type:Boolean},disabled:{type:Boolean},iconPrefix:{},iconSuffix:{},tag:{}},setup(t){const o=t,l=e.useAttrs(),n=(e=>{switch(e){case"sm":return"xs";case"md":default:return"sm";case"lg":return"md"}})(o.size),a=e.computed(()=>function(e,...t){const o=new Set(t.flat());return Object.fromEntries(Object.entries(e).filter(([e])=>!o.has(e)))}({...o,...l},"icon","tooltip"));return(o,l)=>t.tooltip?(e.openBlock(),e.createBlock(Ic,{key:0},{tooltip:e.withCtx(()=>[e.createVNode(Gc,null,{default:e.withCtx(()=>[e.createVNode(jc,null,{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.tooltip),1)]),_:1})]),_:1})]),default:e.withCtx(()=>[e.createVNode(oo,e.mergeProps(a.value,{square:""}),{default:e.withCtx(()=>[e.createVNode(w,{icon:t.icon,size:e.unref(n)},null,8,["icon","size"])]),_:1},16)]),_:1})):(e.openBlock(),e.createBlock(oo,e.mergeProps({key:1},a.value,{square:""}),{default:e.withCtx(()=>[e.createVNode(w,{icon:t.icon,size:e.unref(n)},null,8,["icon","size"])]),_:1},16))}}),ks={sm:"h-8",md:"h-10",lg:"h-12",xl:"h-16"};const _s=["data-testid"],ws={class:"relative"},Bs={class:"relative grow"},Cs=["id","disabled","type","value","name","form","placeholder"],Es=["id","value","disabled","type","name","form","placeholder"],Ns={key:1,class:"mt-2 text-sm text-gray-500"},Ts=e.defineComponent({__name:"Input",props:e.mergeModels({label:{default:""},labelScreenReaderOnly:{type:Boolean},disabled:{type:Boolean,default:!1},type:{default:"text"},asTextType:{type:Boolean,default:!1},size:{default:"md"},prefixClass:{},suffixClass:{},wrapperClass:{default:""},inputClass:{},rootClass:{default:""},required:{type:Boolean,default:!1},id:{},checked:{type:Boolean},value:{},hasShadow:{type:Boolean,default:!1},hasFocusStyles:{type:Boolean,default:!0},form:{},ring:{type:Boolean,default:!0},error:{},name:{},prefixHasBorder:{type:Boolean,default:!0},placeholder:{}},{modelValue:{},modelModifiers:{}}),emits:e.mergeModels(["blur"],["update:modelValue"]),setup(t){const o=t,l=e.useModel(t,"modelValue"),n="number"===o.type&&o.asTextType,a=o.name??oc("name"),i=e=>{n&&(l.value=e.target.value)},r=o.id??oc(`${a}-`),s=e=>{if("number"===o.type){e.target.blur()}},{wrapperClasses:d,inputClasses:u,labelClasses:p,prefixClasses:f,suffixClasses:h}=function({size:t,disabled:o,labelScreenReaderOnly:l,ring:n,hasShadow:a,hasFocusStyles:i,type:r,prefixHasBorder:c,wrapperClass:s,inputClass:d,prefixClass:u,suffixClass:p}){const m=e.computed(()=>(null==o?void 0:o.value)??!1),f=e.computed(()=>"checkbox"===(null==r?void 0:r.value)),h=e.computed(()=>!1!==(null==i?void 0:i.value)),v=e.computed(()=>({"block text-sm font-medium text-gray-900":!0,"sr-only":null==l?void 0:l.value})),g=e.computed(()=>({"rounded border border-gray-300 overflow-hidden":!0,"cursor-not-allowed bg-gray-50 border-transparent":m.value,"bg-white":!m.value,"focus-within:border-primary-500 focus-within:outline-1 focus-within:outline focus-within:outline-primary-500":h.value,"focus-within:ring-primary-500":null==n?void 0:n.value,"shadow-sm focus-within:shadow-sm":null==a?void 0:a.value})),y=e.computed(()=>({"text-gray-900 text-sm block w-full border-0 focus:border-transparent focus:outline-0 focus:ring-0 bg-transparent":!0,"p-2":f.value,"px-4":!f.value,[ks[t.value]]:!f.value,"cursor-default":m.value})),b=e.computed(()=>({"z-10 flex shrink-0 items-center":!0,"px-3":null==c?void 0:c.value,"pl-3":!(null==c?void 0:c.value),"border-r border-gray-300":null==c?void 0:c.value,"border-none":!(null==c?void 0:c.value)}));return{wrapperClasses:e.computed(()=>Xr(g.value,null==s?void 0:s.value)),inputClasses:e.computed(()=>Xr(y.value,null==d?void 0:d.value)),prefixClasses:e.computed(()=>Xr(b.value,null==u?void 0:u.value)),suffixClasses:e.computed(()=>Xr("align-end z-10 flex shrink-0 items-center gap-2 border-l border-gray-300 px-4",null==p?void 0:p.value)),labelClasses:v}}(e.toRefs(o));return(o,v)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(t.rootClass),"data-testid":e.unref(ts)(e.unref(a))},[t.label?(e.openBlock(),e.createBlock(Ac,{key:0,class:e.normalizeClass(e.unref(p)),for:e.unref(r),required:t.required},e.createSlots({suffix:e.withCtx(()=>[e.renderSlot(o.$slots,"label-suffix")]),default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.label)+" ",1)]),_:2},[o.$slots.tooltip?{name:"tooltip",fn:e.withCtx(()=>[e.renderSlot(o.$slots,"tooltip")]),key:"0"}:void 0]),1032,["class","for","required"])):e.createCommentVNode("",!0),e.createElementVNode("div",ws,[e.createElementVNode("div",{class:e.normalizeClass(["flex",e.unref(d)])},[o.$slots.prefix?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(e.unref(f))},[e.renderSlot(o.$slots,"prefix")],2)):e.createCommentVNode("",!0),e.createElementVNode("div",Bs,[e.unref(n)?(e.openBlock(),e.createElementBlock("input",e.mergeProps({key:0},o.$attrs,{id:e.unref(r),disabled:t.disabled,type:t.type,class:e.unref(u),value:l.value,name:e.unref(a),form:t.form,placeholder:t.placeholder,autocomplete:"off",onKeyup:i,onChange:i,onBlur:v[0]||(v[0]=e=>o.$emit("blur")),onWheel:s}),null,16,Cs)):e.withDirectives((e.openBlock(),e.createElementBlock("input",e.mergeProps({key:1},o.$attrs,{id:e.unref(r),"onUpdate:modelValue":v[1]||(v[1]=e=>l.value=e),value:"checkbox"===t.type?t.value:l.value,disabled:t.disabled,type:t.type,name:e.unref(a),form:t.form,class:e.unref(u),placeholder:t.placeholder,autocomplete:"off",onBlur:v[2]||(v[2]=e=>o.$emit("blur")),onWheel:s}),null,16,Es)),[[e.vModelDynamic,l.value]]),e.renderSlot(o.$slots,"input")]),o.$slots.suffix?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(e.unref(h))},[e.renderSlot(o.$slots,"suffix")],2)):e.createCommentVNode("",!0)],2),e.renderSlot(o.$slots,"adornment-end")]),!e.unref(c)(t.error)||o.$slots.helper?(e.openBlock(),e.createElementBlock("div",Ns,[e.unref(c)(t.error)?o.$slots.helper?e.renderSlot(o.$slots,"helper",{key:1}):e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(m,{key:0,message:t.error},null,8,["message"]))])):e.createCommentVNode("",!0)],10,_s))}}),Ms={class:"flex flex-col gap-2"},Vs=["aria-expanded"],Ss={class:"flex items-center gap-2"},zs={key:0},Ps={class:"flex items-center gap-2"},qs={key:0,class:"flex flex-wrap gap-2"},Ds=["innerHTML"],Is=e.defineComponent({__name:"SearchSelectInput",props:e.mergeModels({addOnly:{type:Boolean,default:!1},disabled:{type:Boolean},i18n:{},label:{},labelScreenReaderOnly:{type:Boolean},singleModelValue:{},multiModelValue:{},options:{default:()=>[]},optionsOrder:{default:()=>["asc","asc"]},optionsOrderProperties:{default:()=>["group","label"]},required:{type:Boolean,default:!1},rootClass:{},size:{default:"md"},withChips:{type:Boolean,default:!1},chipColor:{},error:{},hasReset:{type:Boolean},name:{},hasLargeDropdown:{type:Boolean,default:!1},showSuffixInClosedInput:{type:Boolean},showSuffixLabelInInput:{type:Boolean},condensed:{type:Boolean},form:{}},{search:{default:""},searchModifiers:{}}),emits:e.mergeModels(["update:singleModelValue","update:multiModelValue","blur","change","focus","add-option"],["update:search"]),setup(t,{expose:o,emit:l}){var n;const a=t,i=e.inject(bs),s=null==(n=e.getCurrentInstance())?void 0:n.vnode.props,u=!(null==s?void 0:s["onUpdate:search"]),p=e.computed(()=>Array.isArray(a.multiModelValue)),m=e.ref(a.singleModelValue),f=l,h=de(a,"singleModelValue",f),v=de(a,"multiModelValue",f),g=e.ref(v.value??[]);e.watch(()=>a.multiModelValue,e=>{e&&(g.value=e)});const y=e.useModel(t,"search"),b=e.computed({get:()=>p.value?g.value??[]:"string"==typeof h.value?[h.value]:[],set(e){p.value?g.value=e:h.value=(null==e?void 0:e[0])??""}}),x=e.computed(()=>I.value.filter(e=>{var t;return null==(t=b.value)?void 0:t.includes(e.value)})),k=e.computed(()=>x.value[0]),_=ma(),B=e.ref(!1),C=e.ref(),E=e.ref(),N=e.ref(),T=()=>C.value?Array.from(C.value.querySelectorAll('li[tabindex="0"], button:not([disabled])')):[],M=()=>{var e;let t=document.activeElement;for(;null==(e=null==t?void 0:t.shadowRoot)?void 0:e.activeElement;)t=t.shadowRoot.activeElement;return t},V=()=>{if(!E.value)return null;let e=E.value.querySelector("input");if(e)return e;const t=E.value.querySelectorAll("*");for(const o of t)if(o.shadowRoot&&(e=o.shadowRoot.querySelector("input"),e))return e;return null},S=e=>{var t,o;if(!B.value)return;const l=T(),n=V();if(M()===n)switch(e.key){case"ArrowDown":l.length>0&&(e.preventDefault(),null==(t=l[0])||t.focus());break;case"Tab":!e.shiftKey&&l.length>0&&(e.preventDefault(),null==(o=l[0])||o.focus());break;case"Escape":e.preventDefault(),j(),y.value=""}},z=t=>{var o,l,n,a;const i=T(),r=M(),c=i.indexOf(r),s=V();switch(t.key){case"ArrowDown":c<i.length-1&&(t.preventDefault(),null==(o=i[c+1])||o.focus());break;case"ArrowUp":t.preventDefault(),c<=0?null==s||s.focus():null==(l=i[c-1])||l.focus();break;case"Tab":t.shiftKey?c<=0?(t.preventDefault(),null==s||s.focus()):(t.preventDefault(),null==(n=i[c-1])||n.focus()):c>=i.length-1?(t.preventDefault(),j(),y.value="",null==s||s.focus()):(t.preventDefault(),null==(a=i[c+1])||a.focus());break;case"Escape":t.preventDefault(),j(),y.value="",e.nextTick(()=>{null==s||s.focus()})}},{floatingStyles:P}=qt(E,C,{whileElementsMounted:Et,placement:"bottom",middleware:[Nt(4),Tt({mainAxis:!0})]}),{width:q}=ne(E),D=e=>{var t;return a.disabled||!a.disabled&&a.addOnly&&!!(null==(t=m.value)?void 0:t.includes(e))},I=e.computed(()=>{const e=a.options.map(e=>({...e,checked:b.value.includes(e.value),disabled:e.disabled??D(e.value)})),t=[...e,...0===y.value.length&&L.value?L.value.filter(t=>!e.some(e=>e.value===t.value)):[]];return a.optionsOrderProperties&&!c(a.optionsOrderProperties)?function(e,t,o=[]){return[...e].sort((e,l)=>{for(let n=0;n<t.length;n++){const a=t[n],i="function"==typeof a?a:e=>e[a],r="desc"===o[n]?-1:1,c=i(e),s=i(l);if(null!=c||null!=s){if(null==c)return r;if(null==s)return-r;if(c<s)return-r;if(c>s)return r}}return 0})}(t,a.optionsOrderProperties,a.optionsOrder):t}),$=e=>I.value.filter(t=>e.some(e=>t.value===e)),H=e.computed(()=>$(b.value)),A=e.computed(()=>H.value[0]),L=e.ref([]),Z=({value:e,checked:t})=>{let o;p.value?o=t?[...b.value,e]:b.value.filter(t=>t!==e):(o=[e],B.value=!1,y.value=""),L.value=$(o),b.value=o,f("change")},R=e.computed(()=>b.value.length>0&&!a.disabled&&!(1===b.value.length&&""===b.value[0])),F=()=>{b.value=[],g.value=[]},U=()=>{y.value=""},G=e.computed(()=>u?I.value.filter(e=>{const t=r(y.value.toLowerCase());return e.searchValues?e.searchValues.some(e=>e.toLowerCase().match(t)):(e.label??"").toLowerCase().match(t)}):I.value),j=()=>{p.value&&(v.value=g.value),B.value=!1};e.watch(g,()=>{B.value||d(v.value,g.value)||!p.value||(v.value=g.value)});O("mousedown",e=>{const t=e.composedPath();C.value&&t.includes(C.value)||E.value&&t.includes(E.value)||B.value&&(j(),y.value="")});const Q=e.computed(()=>{var e,t,o,l,n,i;return p.value&&B.value?(null==(e=a.i18n)?void 0:e.placeholderSearch)??"Search":p.value&&1===H.value.length?null==(t=A.value)?void 0:t.label:p.value&&H.value.length>=2?`${null==(o=A.value)?void 0:o.label} +${H.value.length-1}`:h.value||A.value?B.value?(null==(n=a.i18n)?void 0:n.placeholderSearch)??"Search":a.singleModelValue||A.value?null==(i=I.value.find(e=>{var t;return e.value===(null==(t=k.value)?void 0:t.value)}))?void 0:i.label:"":(null==(l=a.i18n)?void 0:l.placeholderDefault)??"Select an option"}),K=e.computed(()=>""===y.value),W=!!(null==s?void 0:s.onAddOption),Y=()=>{f("add-option"),j()},X=e.computed(()=>{var e;return!B.value&&!p.value&&(null==(e=A.value)?void 0:e.labelPrefixComponent)}),J=`search-select-options-${Math.random().toString(36).substring(2,9)}`;return o({flushMemoryCachedSelectedOptions:()=>L.value=[]}),(o,l)=>{var n,a,r;return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("div",Ms,[e.createElementVNode("div",{ref_key:"wrapperRef",ref:E,class:e.normalizeClass(["relative flex items-end",{[`${t.rootClass}`]:t.rootClass,"z-30":B.value}]),role:"combobox","aria-expanded":B.value,"aria-haspopup":!0,"aria-controls":J,onKeydown:S},[e.createVNode(e.unref(Ts),{ref_key:"inputRef",ref:N,modelValue:y.value,"onUpdate:modelValue":l[2]||(l[2]=e=>y.value=e),required:t.required,label:t.label,name:t.name,form:t.form,"label-screen-reader-only":t.labelScreenReaderOnly,placeholder:Q.value,class:e.normalizeClass(["grow",{"placeholder:text-gray-900":!B.value&&(!p.value&&e.unref(h)||p.value&&!e.unref(c)(t.multiModelValue))}]),"wrapper-class":{"border-transparent border border-b-gray-200 focus-within:border-b relative z-10 rounded-b-none":B.value},"suffix-class":"border-l-0 pl-0",disabled:t.disabled,size:t.size,error:t.error,"prefix-has-border":!X.value,"aria-autocomplete":"list",onFocus:l[3]||(l[3]=()=>B.value=!0),onBlur:l[4]||(l[4]=e=>o.$emit("blur"))},e.createSlots({"label-suffix":e.withCtx(()=>[e.renderSlot(o.$slots,"label-suffix")]),suffix:e.withCtx(()=>{var o,n;return[e.createElementVNode("div",Ps,[B.value||p.value||!(null==(o=A.value)?void 0:o.labelInlineComponent)||t.showSuffixInClosedInput&&!t.showSuffixLabelInInput?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(e.resolveDynamicComponent(A.value.labelInlineComponent.component),e.normalizeProps(e.mergeProps({key:0},A.value.labelInlineComponent.props)),null,16)),!B.value&&!p.value&&(null==(n=A.value)?void 0:n.labelSuffixComponent)&&t.showSuffixInClosedInput?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(A.value.labelSuffixComponent.component),e.normalizeProps(e.mergeProps({key:1},A.value.labelSuffixComponent.props)),null,16)):e.createCommentVNode("",!0),R.value&&t.hasReset?(e.openBlock(),e.createBlock(xs,{key:2,icon:"close",size:"sm",variant:"ghost",color:"gray",type:"button",onMousedown:l[0]||(l[0]=e.withModifiers(()=>{},["prevent"])),onClick:F})):e.createCommentVNode("",!0),K.value?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(xs,{key:3,icon:"close",size:"sm",variant:"ghost",color:"gray",type:"button",onClick:U})),e.createVNode(xs,{class:"-mr-3",icon:B.value?"keyboard_arrow_up":"keyboard_arrow_down",size:"sm",variant:"ghost",color:"gray",type:"button",disabled:t.disabled,onClick:l[1]||(l[1]=e=>B.value=!B.value)},null,8,["icon","disabled"])])]}),_:2},[o.$slots.tooltip?{name:"tooltip",fn:e.withCtx(()=>[e.renderSlot(o.$slots,"tooltip")]),key:"0"}:void 0,X.value||!u?{name:"prefix",fn:e.withCtx(()=>{var t;return[e.createElementVNode("div",Ss,[X.value&&(null==(t=A.value)?void 0:t.labelPrefixComponent)?(e.openBlock(),e.createElementBlock("div",zs,[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(A.value.labelPrefixComponent.component),e.normalizeProps(e.guardReactiveProps(A.value.labelPrefixComponent.props)),null,16))])):u?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(w,{key:1,icon:"search",size:"sm"}))])]}),key:"1"}:void 0,o.$slots.helper?{name:"helper",fn:e.withCtx(()=>[e.renderSlot(o.$slots,"helper")]),key:"2"}:void 0]),1032,["modelValue","required","label","name","form","label-screen-reader-only","placeholder","wrapper-class","class","disabled","size","error","prefix-has-border"])],42,Vs),t.withChips?(e.openBlock(),e.createElementBlock("div",qs,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(H.value,({value:o,label:l})=>(e.openBlock(),e.createBlock(Qn,{key:o,removable:!D(o),color:t.chipColor,onRemoved:e=>Z({value:o,checked:!1})},{default:e.withCtx(()=>[e.createElementVNode("span",{innerHTML:l},null,8,Ds)]),_:2},1032,["removable","color","onRemoved"]))),128))])):e.createCommentVNode("",!0)]),e.unref(_)&&e.unref(i)?(e.openBlock(),e.createBlock(e.Teleport,{key:0,to:e.unref(i)},[B.value&&!t.disabled?(e.openBlock(),e.createElementBlock("div",{key:0,id:J,ref_key:"optionsRef",ref:C,role:"listbox",style:e.normalizeStyle(e.unref(P)),class:"z-70 rounded border border-gray-200 bg-white drop-shadow-md",onMouseenter:l[5]||(l[5]=e=>B.value=!0),onKeydown:z},[e.createElementVNode("div",{class:"rounded pt-0",style:e.normalizeStyle({width:`${e.unref(q)}px`})},[e.createVNode(ys,{i18n:{addOnly:null==(n=t.i18n)?void 0:n.addOnly,noResults:null==(a=t.i18n)?void 0:a.noResults,noOptionsAvailable:null==(r=t.i18n)?void 0:r.noOptionsAvailable},options:G.value,multiple:p.value,search:y.value,model:b.value,"add-only":t.addOnly,"allows-multiple-values":!!p.value,condensed:t.condensed,"has-large-dropdown":t.hasLargeDropdown,onValueChanged:Z},{"list-footer-content":e.withCtx(()=>[W?(e.openBlock(),e.createBlock(oo,{key:0,variant:"ghost",class:"w-full rounded-t-none",type:"button","icon-prefix":"add",onClick:Y},{default:e.withCtx(()=>{var o;return[e.createTextVNode(e.toDisplayString(null==(o=t.i18n)?void 0:o.addOption),1)]}),_:1})):e.createCommentVNode("",!0),p.value?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(["flex items-center justify-between",{"py-2":!o.$slots["list-footer-content"]}])},[R.value?(e.openBlock(),e.createBlock(oo,{key:0,type:"button",variant:"ghost",size:"sm",class:"ml-2",onClick:F},{default:e.withCtx(()=>{var o;return[e.createTextVNode(e.toDisplayString((null==(o=t.i18n)?void 0:o.multipleValuesClearButtonText)??"Clear"),1)]}),_:1})):e.createCommentVNode("",!0),e.createElementVNode("div",null,[e.renderSlot(o.$slots,"list-footer-content",{close:j})]),e.createVNode(oo,{type:"button",size:"sm",class:"mr-2","data-testid":e.unref("select-search-done-button"),onClick:j},{default:e.withCtx(()=>{var o;return[e.createTextVNode(e.toDisplayString((null==(o=t.i18n)?void 0:o.multipleValuesDoneButtonText)??"Done"),1)]}),_:1},8,["data-testid"])],2)):e.renderSlot(o.$slots,"list-footer-content",{key:2,close:j})]),_:3},8,["i18n","options","multiple","search","model","add-only","allows-multiple-values","condensed","has-large-dropdown"])],4)],36)):e.createCommentVNode("",!0)],8,["to"])):e.createCommentVNode("",!0)],64)}}}),$s=e.defineComponent({__name:"CountrySelect",props:{label:{},singleModelValue:{},multiModelValue:{},error:{},required:{type:Boolean,default:!0},hasReset:{type:Boolean},disabled:{type:Boolean},name:{},form:{}},emits:["update:modelValue","update:singleModelValue"],setup(t,{emit:o}){const l=t,n=de(l,"singleModelValue"),a=de(l,"multiModelValue"),i=o;return(o,l)=>(e.openBlock(),e.createBlock(Is,{"multi-model-value":e.unref(a),"onUpdate:multiModelValue":l[0]||(l[0]=t=>e.isRef(a)?a.value=t:null),"single-model-value":e.unref(n),"onUpdate:singleModelValue":[l[1]||(l[1]=t=>e.isRef(n)?n.value=t:null),l[2]||(l[2]=e=>{i("update:modelValue",e)})],"root-class":o.$attrs.class,label:t.label,options:e.unref(Ga).map(({key:e,value:t})=>({label:t,value:e})),error:t.error,"has-reset":t.hasReset,disabled:t.disabled,required:t.required,"with-chips":!!t.multiModelValue,name:t.name,form:t.form},{"label-suffix":e.withCtx(()=>[e.renderSlot(o.$slots,"label-suffix")]),_:3},8,["multi-model-value","single-model-value","root-class","label","options","error","has-reset","disabled","required","with-chips","name","form"]))}}),Os={key:0,class:"flex flex-col gap-2"},Hs={key:0},As={key:1},Ls={key:2},Zs={key:3},Rs={key:1},Fs=e.defineComponent({__name:"CustomerBillingInformation",props:{customer:{},title:{},fallbackToReference:{type:Boolean,default:!0}},setup(t){const{$t:l}=Gn(),n=t,a=e.computed(()=>{if(!n.customer)return;const e=Ni(n.customer);return n.fallbackToReference&&""===e?n.customer.reference:n.fallbackToReference||""!==e?e:void 0}),r=e.computed(()=>n.title||l({defaultMessage:"Billing information",description:"Title for the billing information",id:"customer_billing_information.title"})),c=e.computed(()=>{if(n.customer)return"individual"in n.customer?n.customer.individual.residential_address:"organization"in n.customer?n.customer.organization.registered_address:void 0});return(n,s)=>(e.openBlock(),e.createBlock(i,{title:r.value},{right:e.withCtx(()=>[e.renderSlot(n.$slots,"settings")]),default:e.withCtx(()=>{var n;return[t.customer?(e.openBlock(),e.createElementBlock("div",Os,[a.value?(e.openBlock(),e.createElementBlock("div",Hs,[e.createVNode(o,{variant:"caps-heading"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(l)({defaultMessage:"Name",description:"The label for the customer name in the billing information",id:"customer_billing_information.name_label"})),1)]),_:1}),e.createVNode(o,{variant:"body-xs"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(a.value),1)]),_:1})])):e.createCommentVNode("",!0),(null==(n=c.value)?void 0:n.line1)?(e.openBlock(),e.createElementBlock("div",As,[e.createVNode(o,{variant:"caps-heading"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(l)({defaultMessage:"Billing address",description:"The label for the customer billing address in the billing information",id:"customer_billing_information.billing_address_label"})),1)]),_:1}),e.createVNode(o,{variant:"body-xs"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(Bi)(c.value)),1)]),_:1})])):e.createCommentVNode("",!0),t.customer.email?(e.openBlock(),e.createElementBlock("div",Ls,[e.createVNode(o,{variant:"caps-heading"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(l)({defaultMessage:"Email address",description:"The label for the customer email address in the billing information",id:"customer_billing_information.email_address_label"})),1)]),_:1}),e.createVNode(o,{variant:"body-xs"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.customer.email),1)]),_:1})])):e.createCommentVNode("",!0),e.unref(fi)(t.customer)?(e.openBlock(),e.createElementBlock("div",Zs,[e.createVNode(o,{variant:"caps-heading"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(l)({defaultMessage:"VAT number",description:"The label for the customer Vat number in the billing information",id:"customer_billing_information.vat_number_label"})),1)]),_:1}),e.createVNode(o,{variant:"body-xs"},{default:e.withCtx(()=>{var o,l;return[e.createTextVNode(e.toDisplayString(null==(l=null==(o=t.customer.organization.tax_ids)?void 0:o[0])?void 0:l.id),1)]}),_:1})])):e.createCommentVNode("",!0)])):(e.openBlock(),e.createElementBlock("div",Rs,[e.createVNode(o,{variant:"body-xs",shade:"lighter"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(l)({defaultMessage:"No billing information to display.",description:"Text that is being displayed when there is no active subscription in the subscriptions block",id:"customer_overview.billing_information.no_billing_information_available"})),1)]),_:1})]))]}),_:3},8,["title"]))}}),Us=e.defineComponent({__name:"DeltaChip",props:{oldValue:{},newValue:{},color:{default:"dark"},content:{},dark:{type:Boolean},removable:{type:Boolean},size:{},variant:{},textClass:{},tag:{},hasChipBefore:{type:Boolean},hasChipAfter:{type:Boolean}},setup(t){const o=e.createPropsRestProxy(t,["oldValue","newValue","color"]),l=e.computed(()=>{const e=t.newValue-t.oldValue;return`${e>=0?"+":""}${e}`});return(n,a)=>(e.openBlock(),e.createBlock(e.unref(Qn),e.mergeProps(o,{color:t.color,class:"pointer-events-none select-none"}),{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(l.value),1)]),_:1},16,["color"]))}}),Gs={key:1,class:"flex flex-col items-end gap-1"},js=e.defineComponent({__name:"DownloadButton",props:{downloadService:{type:Function},mobileIconOnly:{type:Boolean,default:!1},type:{},variant:{default:"outline"},color:{default:"gray"},size:{default:"md"},pill:{type:Boolean},square:{type:Boolean},loading:{type:Boolean},disabled:{type:Boolean},iconPrefix:{},iconSuffix:{},tag:{}},setup(t){const{$t:o}=Gn(),l=e.createPropsRestProxy(t,["downloadService","size","color","mobileIconOnly","variant"]),n=e.ref(!1),a=e.ref(!1),i=K(R).smaller("md"),r=e.computed(()=>t.mobileIconOnly&&i.value),c=async()=>{a.value=!0,n.value=!1;try{await t.downloadService()}catch{n.value=!0}finally{a.value=!1}};return(i,s)=>n.value?(e.openBlock(),e.createElementBlock("div",Gs,[n.value?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(e.unref(oo),e.mergeProps({key:0},{...l,size:t.size,color:t.color},{disabled:a.value,loading:a.value,type:"button","icon-prefix":"download",onClick:c}),e.createSlots({_:2},[i.$slots.default&&!r.value?{name:"default",fn:e.withCtx(()=>[i.$slots.default?e.renderSlot(i.$slots,"default",{key:0}):e.createCommentVNode("",!0)]),key:"0"}:void 0]),1040,["disabled","loading"])),n.value?(e.openBlock(),e.createBlock(e.unref(m),{key:1},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(o)({id:"download_button.download_failed_message",defaultMessage:"Download failed, please try again later",description:"Error message when a download fails"})),1)]),_:1})):e.createCommentVNode("",!0)])):(e.openBlock(),e.createBlock(e.unref(oo),e.mergeProps({key:0},{...l,size:t.size,color:t.color},{disabled:a.value,loading:a.value,variant:t.variant,type:"button","icon-prefix":"download",onClick:c}),e.createSlots({_:2},[i.$slots.default&&!r.value?{name:"default",fn:e.withCtx(()=>[i.$slots.default?e.renderSlot(i.$slots,"default",{key:0}):e.createCommentVNode("",!0)]),key:"0"}:void 0]),1040,["disabled","loading","variant"]))}}),Qs=e.defineComponent({__name:"ErrorHandlingProvider",props:{onError:{type:Function}},setup(t){const o=t;return e.provide(yo,o),(t,o)=>e.renderSlot(t.$slots,"default")}}),Ks=e.defineComponent({__name:"ErrorNotification",props:{title:{},description:{}},setup(t){const{formatMessage:o}=Gn(),l=t,n=e.computed(()=>l.title??o({defaultMessage:"Something went wrong",id:"error_notification.default_error_message",description:"The default message to display"}));return(t,o)=>(e.openBlock(),e.createBlock(dc,e.mergeProps({type:"danger",title:n.value},t.$attrs),null,16,["title"]))}}),Ws=["innerHTML"],Ys=e.defineComponent({__name:"IconSpriteProvider",setup(t){const o=e.ref(null);return e.onMounted(async()=>{o.value=await fetch("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='account_balance'%3e%3cpath%20d='M212-241v-339h60v339h-60Zm242%200v-339h60v339h-60ZM80-121v-60h800v60H80Zm608-120v-339h60v339h-60ZM80-640v-53l400-228%20400%20228v53H80Zm134-60h532-532Zm0%200h532L480-852%20214-700Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='account_balance_wallet'%3e%3cpath%20d='M180-233v53-600%20547Zm0%20113q-24.75%200-42.37-17.63Q120-155.25%20120-180v-600q0-24.75%2017.63-42.38Q155.25-840%20180-840h600q24.75%200%2042.38%2017.62Q840-804.75%20840-780v134h-60v-134H180v600h600v-133h60v133q0%2024.75-17.62%2042.37Q804.75-120%20780-120H180Zm358-173q-30.52%200-52.26-21.44Q464-335.89%20464-366v-227q0-30.11%2021.74-51.56Q507.48-666%20538-666h270q30.53%200%2052.26%2021.44Q882-623.11%20882-593v227q0%2030.11-21.74%2051.56Q838.53-293%20808-293H538Zm284-60v-253H524v253h298Zm-169.76-63q26.76%200%2045.26-18.96Q716-453.92%20716-481q0-26.25-19-44.63Q678-544%20652-544t-45%2018.37q-19%2018.38-19%2044.63%200%2027.08%2018.74%2046.04Q625.47-416%20652.24-416Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='add'%3e%3cpath%20d='M450-450H200v-60h250v-250h60v250h250v60H510v250h-60v-250Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='add_circle'%3e%3cpath%20d='M453-280h60v-166h167v-60H513v-174h-60v174H280v60h173v166Zm27.27%20200q-82.74%200-155.5-31.5Q252-143%20197.5-197.5t-86-127.34Q80-397.68%2080-480.5t31.5-155.66Q143-709%20197.5-763t127.34-85.5Q397.68-880%20480.5-880t155.66%2031.5Q709-817%20763-763t85.5%20127Q880-563%20880-480.27q0%2082.74-31.5%20155.5Q817-252%20763-197.68q-54%2054.31-127%2086Q563-80%20480.27-80Zm.23-60Q622-140%20721-239.5t99-241Q820-622%20721.19-721T480-820q-141%200-240.5%2098.81T140-480q0%20141%2099.5%20240.5t241%2099.5Zm-.5-340Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='alternate_email'%3e%3cpath%20d='M480-80q-83%200-156-31.5T197-197q-54-54-85.5-127T80-480q0-83%2031.5-156T197-763q54-54%20127-85.5T480-880q83%200%20156%2031.5T763-763q54%2054%2085.5%20127T880-480v53q0%2056-39.34%2094.5Q801.31-294%20744-294q-36.08%200-68.04-17.5Q644-329%20627-361q-26%2034-65.08%2050.5Q522.83-294%20480-294q-77.61%200-132.3-54Q293-402%20293-480.01q0-78.02%2054.7-133Q402.39-668%20480-668q77.6%200%20132.3%2054.99Q667-558.02%20667-480v53q0%2030.61%2022.5%2051.81Q712-354%20743.5-354t54-21.19Q820-396.39%20820-427v-53q0-142.38-98.81-241.19T480-820q-142.37%200-241.19%2098.81Q140-622.38%20140-480q0%20142.37%2098.81%20241.19Q337.63-140%20480-140h214v60H480Zm.06-274Q533-354%20570-390.75T607-480q0-54-37.06-91t-90-37Q427-608%20390-571t-37%2091q0%2052.5%2037.06%2089.25t90%2036.75Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='arrow_back'%3e%3cpath%20d='m274-450%20248%20248-42%2042-320-320%20320-320%2042%2042-248%20248h526v60H274Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='arrow_cool_down'%3e%3cpath%20d='M480-80%20200-360l42-42%20208%20208v-306h60v306l208-208%2042%2042L480-80Zm-30-480v-140h60v140h-60Zm0-200v-120h60v120h-60Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='arrow_forward'%3e%3cpath%20d='M686-450H160v-60h526L438-758l42-42%20320%20320-320%20320-42-42%20248-248Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='arrow_outward'%3e%3cpath%20d='m242-246-42-42%20412-412H234v-60h480v480h-60v-378L242-246Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='arrow_right_alt'%3e%3cpath%20d='m560-242-43-42%20168-168H160v-60h525L516-681l43-42%20241%20241-240%20240Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='article'%3e%3cpath%20d='M277-279h275v-60H277v60Zm0-171h406v-60H277v60Zm0-171h406v-60H277v60Zm-97%20501q-24%200-42-18t-18-42v-600q0-24%2018-42t42-18h600q24%200%2042%2018t18%2042v600q0%2024-18%2042t-42%2018H180Zm0-60h600v-600H180v600Zm0-600v600-600Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='automation'%3e%3cpath%20d='M283-272q-40%2034-83.5%2030.5T124-272q-32-27-42.5-69.5T98-429l82-137q-27-21-43-52.63-16-31.64-16-68.37%200-63.53%2045.24-108.76Q211.48-841%20275-841t108.76%2045.24Q429-750.53%20429-687q0%2063.53-45.24%20108.76Q338.52-533%20275-533q-10.8%200-21.6-1.5T233-539l-84%20141q-14%2023-8.82%2045.11%205.17%2022.1%2022%2036Q179-303%20201.5-301.5T244-317l433-372q40-34%2084-31t76%2030q32%2027%2042.5%2070T863-532l-81%20137q27%2021%2043%2052.63%2016%2031.64%2016%2068.37%200%2063.52-45.54%20108.76Q749.91-120%20685.96-120%20622-120%20577.5-165.24%20533-210.48%20533-274t44.5-108.76Q622-428%20686-428q10.73%200%2020.87%201%2010.13%201%2020.13%204l84-140q14-23%208.82-45.11-5.17-22.1-22-36Q781-658%20758.5-659.5T716-644L283-272Zm-7.84-321q38.84%200%2066.34-27.66t27.5-66.5q0-38.84-27.66-66.34t-66.5-27.5q-38.84%200-66.34%2027.66t-27.5%2066.5q0%2038.84%2027.66%2066.34t66.5%2027.5Zm410.97%20413q39.14%200%2067-27.66Q781-235.32%20781-274.16t-27.87-66.34q-27.86-27.5-67-27.5Q647-368%20620-340.34q-27%2027.66-27%2066.5t27%2066.34q27%2027.5%2066.13%2027.5ZM275-687Zm412%20413Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='barcode'%3e%3cpath%20d='M40-200v-560h85v560H40Zm120%200v-560h80v560h-80Zm120%200v-560h40v560h-40Zm120%200v-560h80v560h-80Zm120%200v-560h120v560H520Zm160%200v-560h40v560h-40Zm120%200v-560h120v560H800Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='barcode_scanner'%3e%3cpath%20d='M40-120v-182h60v122h122v60H40Zm697%200v-60h122v-122h60v182H737ZM153-231v-499h80v499h-80Zm121%200v-499h42v499h-42Zm122%200v-499h83v499h-83Zm125%200v-499h121v499H521Zm163%200v-499h42v499h-42Zm83%200v-499h38v499h-38ZM40-658v-182h182v60H100v122H40Zm819%200v-122H737v-60h182v182h-60Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='cached'%3e%3cpath%20d='M481-158q-131%200-225.5-94.5T161-478v-45l-80%2080-39-39%20149-149%20149%20149-39%2039-80-80v45q0%20107%2076.5%20183.5T481-218q29%200%2055-5t49-15l43%2043q-36%2020-72.5%2028.5T481-158Zm289-169L621-476l40-40%2079%2079v-41q0-107-76.5-183.5T480-738q-29%200-55%205.5T376-719l-43-43q36-20%2072.5-28t74.5-8q131%200%20225.5%2094.5T800-478v43l80-80%2039%2039-149%20149Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='calculate'%3e%3cpath%20d='M314-228h50v-88h88v-50h-88v-88h-50v88h-88v50h88v88Zm215-35h201v-49H529v49Zm0-107h201v-50H529v50Zm37-163%2061-61%2061%2061%2036-36-61-61%2061-61-36-36-61%2061-61-61-36%2036%2061%2061-61%2061%2036%2036Zm-325-72h196v-50H241v50Zm-61%20485q-24%200-42-18t-18-42v-600q0-24%2018-42t42-18h600q24%200%2042%2018t18%2042v600q0%2024-18%2042t-42%2018H180Zm0-60h600v-600H180v600Zm0-600v600-600Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='calendar_today'%3e%3cpath%20d='M180-80q-24%200-42-18t-18-42v-620q0-24%2018-42t42-18h65v-60h65v60h340v-60h65v60h65q24%200%2042%2018t18%2042v620q0%2024-18%2042t-42%2018H180Zm0-60h600v-430H180v430Zm0-490h600v-130H180v130Zm0%200v-130%20130Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='cancel'%3e%3cpath%20d='m330-288%20150-150%20150%20150%2042-42-150-150%20150-150-42-42-150%20150-150-150-42%2042%20150%20150-150%20150%2042%2042ZM480-80q-82%200-155-31.5t-127.5-86Q143-252%20111.5-325T80-480q0-83%2031.5-156t86-127Q252-817%20325-848.5T480-880q83%200%20156%2031.5T763-763q54%2054%2085.5%20127T880-480q0%2082-31.5%20155T763-197.5q-54%2054.5-127%2086T480-80Zm0-60q142%200%20241-99.5T820-480q0-142-99-241t-241-99q-141%200-240.5%2099T140-480q0%20141%2099.5%20240.5T480-140Zm0-340Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='captive_portal'%3e%3cpath%20d='M838-79%20710-207v103h-60v-206h206v60H752l128%20128-42%2043Zm-358-1q-83%200-156-31.5T197-197q-54-54-85.5-126.36T80-478q0-83.49%2031.5-156.93Q143-708.36%20197-762.68%20251-817%20324-848.5%20397-880%20480-880t156%2031.5q73%2031.5%20127%2085.82%2054%2054.32%2085.5%20127.75Q880-561.49%20880-478q0%2023-2%2044.5t-7%2043.5h-63q6-21.67%209-43.33%203-21.67%203-44.47%200-22.8-2.95-45.6-2.94-22.8-8.83-45.6H648q2%2023%204%2045.5t2%2045q0%2022.5-1.25%2044.5T649-390h-61q3-22%204.5-44t1.5-44q0-22.75-1.5-45.5T588-569H373.42q-3.42%2023-4.92%2045.5t-1.5%2045q0%2022.5%201.5%2044.5t4.5%2044h197v60H384q14%2053%2034%20104t62%2086q23%200%2045-2.5t45-7.5v60q-23%205-45%207.5T480-80ZM151.78-390H312q-2.5-22-3.75-44T307-478q0-22.75%201-45.5t3-45.5H151.71q-5.85%2022.8-8.78%2045.6-2.93%2022.8-2.93%2045.6t2.95%2044.47q2.94%2021.66%208.83%2043.33ZM172-629h149.59q11.41-48%2028.91-93.5T395-810q-71%2024-129.5%2069.5T172-629Zm222%20478q-26-41-43.5-86T323-330H172q33%2067%2091%20114t131%2065Zm-10-478h193q-13-54-36-104t-61-89q-38%2040-61%2089.5T384-629Zm255.34%200H788q-35-66-93-112t-129-68q27%2041%2044.5%2086.5t28.84%2093.5Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='change_circle'%3e%3cpath%20d='m482-200%20114-113-114-113-42%2042%2043%2043q-28%201-54.5-9T381-381q-20-20-30.5-46T340-479q0-17%204.5-34t12.5-33l-44-44q-17%2025-25%2053t-8%2057q0%2038%2015%2075t44%2066q29%2029%2065%2043.5t74%2015.5l-38%2038%2042%2042Zm165-170q17-25%2025-53t8-57q0-38-14.5-75.5T622-622q-29-29-65.5-43T482-679l38-39-42-42-114%20113%20114%20113%2042-42-44-44q27%200%2055%2010.5t48%2030.5q20%2020%2030.5%2046t10.5%2052q0%2017-4.5%2034T603-414l44%2044ZM480-80q-82%200-155-31.5t-127.5-86Q143-252%20111.5-325T80-480q0-83%2031.5-156t86-127Q252-817%20325-848.5T480-880q83%200%20156%2031.5T763-763q54%2054%2085.5%20127T880-480q0%2082-31.5%20155T763-197.5q-54%2054.5-127%2086T480-80Zm0-60q142%200%20241-99.5T820-480q0-142-99-241t-241-99q-141%200-240.5%2099T140-480q0%20141%2099.5%20240.5T480-140Zm0-340Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='check'%3e%3cpath%20d='M378-246%20154-470l43-43%20181%20181%20384-384%2043%2043-427%20427Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='check_circle'%3e%3cpath%20d='m421-298%20283-283-46-45-237%20237-120-120-45%2045%20165%20166Zm59%20218q-82%200-155-31.5t-127.5-86Q143-252%20111.5-325T80-480q0-83%2031.5-156t86-127Q252-817%20325-848.5T480-880q83%200%20156%2031.5T763-763q54%2054%2085.5%20127T880-480q0%2082-31.5%20155T763-197.5q-54%2054.5-127%2086T480-80Zm0-60q142%200%20241-99.5T820-480q0-142-99-241t-241-99q-141%200-240.5%2099T140-480q0%20141%2099.5%20240.5T480-140Zm0-340Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='check_small'%3e%3cpath%20d='M400-318%20247-471l42-42%20111%20111%20271-271%2042%2042-313%20313Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='checkbook'%3e%3cpath%20d='M237-363h335l60-60H237v60Zm0-178h231v-60H237v60Zm-97-159v439h330l-61%2061H80v-560h800v149h-60v-89H140Zm775%20220q5%205%205%2012.5t-5%2012.5l-37%2037-50-50%2039-39q5-5%2010.5-5t10.5%205l27%2027ZM530-120v-50l272-272%2050%2050-272%20272h-50ZM140-700v439-439Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='checklist'%3e%3cpath%20d='M222-214%2080-356l42-42%20100%2099%20179-179%2042%2043-221%20221Zm0-320L80-676l42-42%20100%2099%20179-179%2042%2043-221%20221Zm298%20244v-60h360v60H520Zm0-320v-60h360v60H520Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='chevron_left'%3e%3cpath%20d='M561-240%20320-481l241-241%2043%2043-198%20198%20198%20198-43%2043Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='chevron_right'%3e%3cpath%20d='M530-481%20332-679l43-43%20241%20241-241%20241-43-43%20198-198Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='close'%3e%3cpath%20d='m249-207-42-42%20231-231-231-231%2042-42%20231%20231%20231-231%2042%2042-231%20231%20231%20231-42%2042-231-231-231%20231Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='content_copy'%3e%3cpath%20d='M300-200q-24%200-42-18t-18-42v-560q0-24%2018-42t42-18h440q24%200%2042%2018t18%2042v560q0%2024-18%2042t-42%2018H300Zm0-60h440v-560H300v560ZM180-80q-24%200-42-18t-18-42v-620h60v620h500v60H180Zm120-180v-560%20560Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='copy_all'%3e%3cpath%20d='M120-240v-60h60v60h-60Zm0-160v-60h60v60h-60Zm0-160v-60h60v60h-60ZM280-80v-60h60v60h-60Zm60-160q-24%200-42-18t-18-42v-520q0-24%2018-42t42-18h400q24%200%2042%2018t18%2042v520q0%2024-18%2042t-42%2018H340Zm0-60h400v-520H340v520ZM440-80v-60h60v60h-60Zm-260%200q-24.75%200-42.37-17.63Q120-115.25%20120-140h60v60Zm420%200v-60h60q0%2025-17.62%2042.5Q624.75-80%20600-80ZM120-720q0-24.75%2017.63-42.38Q155.25-780%20180-780v60h-60Zm420%20160Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='credit_card_off'%3e%3cpath%20d='m865-181-45-45v-276H544L415-631h405v-109H306l-60-60h574q24%200%2042%2018t18%2042v520.16q0%2010.84-4%2020.84t-11%2018ZM401-474Zm162-9Zm-191-19H140v282h514L372-502ZM813-61l-99-99H140q-24%200-42-18t-18-42v-520q0-24%2018-42t42-18h20l60%2060h-80v109h103L26-848l43-43%20787%20787-43%2043Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='dark_mode'%3e%3cpath%20d='M480-120q-150%200-255-105T120-480q0-150%20105-255t255-105q8%200%2017%20.5t23%201.5q-36%2032-56%2079t-20%2099q0%2090%2063%20153t153%2063q52%200%2099-18.5t79-51.5q1%2012%201.5%2019.5t.5%2014.5q0%20150-105%20255T480-120Zm0-60q109%200%20190-67.5T771-406q-25%2011-53.67%2016.5Q688.67-384%20660-384q-114.69%200-195.34-80.66Q384-545.31%20384-660q0-24%205-51.5t18-62.5q-98%2027-162.5%20109.5T180-480q0%20125%2087.5%20212.5T480-180Zm-4-297Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='delete'%3e%3cpath%20d='M261-120q-24.75%200-42.37-17.63Q201-155.25%20201-180v-570h-41v-60h188v-30h264v30h188v60h-41v570q0%2024-18%2042t-42%2018H261Zm438-630H261v570h438v-570ZM367-266h60v-399h-60v399Zm166%200h60v-399h-60v399ZM261-750v570-570Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='description'%3e%3cpath%20d='M319-250h322v-60H319v60Zm0-170h322v-60H319v60ZM220-80q-24%200-42-18t-18-42v-680q0-24%2018-42t42-18h361l219%20219v521q0%2024-18%2042t-42%2018H220Zm331-554v-186H220v680h520v-494H551ZM220-820v186-186%20680-680Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='do_not_disturb_on'%3e%3cpath%20d='M280-453h400v-60H280v60ZM480-80q-82%200-155-31.5t-127.5-86Q143-252%20111.5-325T80-480q0-83%2031.5-156t86-127Q252-817%20325-848.5T480-880q83%200%20156%2031.5T763-763q54%2054%2085.5%20127T880-480q0%2082-31.5%20155T763-197.5q-54%2054.5-127%2086T480-80Zm0-60q142%200%20241-99.5T820-480q0-142-99-241t-241-99q-141%200-240.5%2099T140-480q0%20141%2099.5%20240.5T480-140Zm0-340Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='download'%3e%3cpath%20d='M480-313%20287-506l43-43%20120%20120v-371h60v371l120-120%2043%2043-193%20193ZM220-160q-24%200-42-18t-18-42v-143h60v143h520v-143h60v143q0%2024-18%2042t-42%2018H220Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='draft'%3e%3cpath%20d='M220-80q-24%200-42-18t-18-42v-680q0-24%2018-42t42-18h361l219%20219v521q0%2024-18%2042t-42%2018H220Zm331-554v-186H220v680h520v-494H551ZM220-820v186-186%20680-680Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='drag_indicator'%3e%3cpath%20d='M349.91-160q-28.91%200-49.41-20.59-20.5-20.59-20.5-49.5t20.59-49.41q20.59-20.5%2049.5-20.5t49.41%2020.59q20.5%2020.59%2020.5%2049.5t-20.59%2049.41q-20.59%2020.5-49.5%2020.5Zm260%200q-28.91%200-49.41-20.59-20.5-20.59-20.5-49.5t20.59-49.41q20.59-20.5%2049.5-20.5t49.41%2020.59q20.5%2020.59%2020.5%2049.5t-20.59%2049.41q-20.59%2020.5-49.5%2020.5Zm-260-250q-28.91%200-49.41-20.59-20.5-20.59-20.5-49.5t20.59-49.41q20.59-20.5%2049.5-20.5t49.41%2020.59q20.5%2020.59%2020.5%2049.5t-20.59%2049.41q-20.59%2020.5-49.5%2020.5Zm260%200q-28.91%200-49.41-20.59-20.5-20.59-20.5-49.5t20.59-49.41q20.59-20.5%2049.5-20.5t49.41%2020.59q20.5%2020.59%2020.5%2049.5t-20.59%2049.41q-20.59%2020.5-49.5%2020.5Zm-260-250q-28.91%200-49.41-20.59-20.5-20.59-20.5-49.5t20.59-49.41q20.59-20.5%2049.5-20.5t49.41%2020.59q20.5%2020.59%2020.5%2049.5t-20.59%2049.41q-20.59%2020.5-49.5%2020.5Zm260%200q-28.91%200-49.41-20.59-20.5-20.59-20.5-49.5t20.59-49.41q20.59-20.5%2049.5-20.5t49.41%2020.59q20.5%2020.59%2020.5%2049.5t-20.59%2049.41q-20.59%2020.5-49.5%2020.5Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='east'%3e%3cpath%20d='m600-200-42-42%20208-208H80v-60h686L558-718l42-42%20280%20280-280%20280Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='edit'%3e%3cpath%20d='M180-180h44l472-471-44-44-472%20471v44Zm-60%2060v-128l575-574q8-8%2019-12.5t23-4.5q11%200%2022%204.5t20%2012.5l44%2044q9%209%2013%2020t4%2022q0%2011-4.5%2022.5T823-694L248-120H120Zm659-617-41-41%2041%2041Zm-105%2064-22-22%2044%2044-22-22Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='edit_square'%3e%3cpath%20d='M180-120q-24%200-42-18t-18-42v-600q0-24%2018-42t42-18h405l-60%2060H180v600h600v-348l60-60v408q0%2024-18%2042t-42%2018H180Zm300-360ZM360-360v-170l382-382q9-9%2020-13t22-4q11%200%2022.32%204.5Q817.63-920%20827-911l83%2084q8.61%208.96%2013.3%2019.78%204.7%2010.83%204.7%2022.02%200%2011.2-4.5%2022.7T910-742L530-360H360Zm508-425-84-84%2084%2084ZM420-420h85l253-253-43-42-43-42-252%20251v86Zm295-295-43-42%2043%2042%2043%2042-43-42Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='emergency_home'%3e%3cpath%20d='M480-71q-11%200-21.96-4.43Q447.07-79.87%20438-88L88-438q-8.13-9.07-12.57-20.04Q71-469%2071-480t4.43-22.34Q79.87-513.68%2088-522l350-350q9.07-8.87%2020.04-12.93Q469-889%20480-889t22.34%204.07Q513.68-880.87%20522-872l350%20350q8.87%208.32%2012.93%2019.66Q889-491%20889-480t-4.07%2021.96Q880.87-447.07%20872-438L522-88q-8.32%208.13-19.66%2012.57Q491-71%20480-71Zm0-60%20349-349-349-349-349%20349%20349%20349Zm-30-309h60v-240h-60v240Zm30%20110q12%200%2021-9t9-21q0-12-9-21t-21-9q-12%200-21%209t-9%2021q0%2012%209%2021t21%209Zm0-150Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='error'%3e%3cpath%20d='M479.98-280q14.02%200%2023.52-9.48t9.5-23.5q0-14.02-9.48-23.52t-23.5-9.5q-14.02%200-23.52%209.48t-9.5%2023.5q0%2014.02%209.48%2023.52t23.5%209.5ZM453-433h60v-253h-60v253Zm27.27%20353q-82.74%200-155.5-31.5Q252-143%20197.5-197.5t-86-127.34Q80-397.68%2080-480.5t31.5-155.66Q143-709%20197.5-763t127.34-85.5Q397.68-880%20480.5-880t155.66%2031.5Q709-817%20763-763t85.5%20127Q880-563%20880-480.27q0%2082.74-31.5%20155.5Q817-252%20763-197.68q-54%2054.31-127%2086Q563-80%20480.27-80Zm.23-60Q622-140%20721-239.5t99-241Q820-622%20721.19-721T480-820q-141%200-240.5%2098.81T140-480q0%20141%2099.5%20240.5t241%2099.5Zm-.5-340Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='expand_all'%3e%3cpath%20d='M480-80%20240-320l44-44%20196%20196%20196-196%2044%2044L480-80ZM284-596l-44-44%20240-240%20240%20240-44%2044-196-196-196%20196Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='filter_list'%3e%3cpath%20d='M400-240v-60h160v60H400ZM240-450v-60h480v60H240ZM120-660v-60h720v60H120Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='filter_list_off'%3e%3cpath%20d='M813-61%2061-813l43-43%20752%20752-43%2043ZM595-450l-60-60h185v60H595ZM385-660l-60-60h515v60H385Zm15%20420v-60h160v60H400ZM240-450v-60h184v60H240ZM120-660v-60h94v60h-94Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='first_page'%3e%3cpath%20d='M240-240v-480h60v480h-60Zm447-3L453-477l234-234%2043%2043-191%20191%20191%20191-43%2043Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='group'%3e%3cpath%20d='M38-160v-94q0-35%2018-63.5t50-42.5q73-32%20131.5-46T358-420q62%200%20120%2014t131%2046q32%2014%2050.5%2042.5T678-254v94H38Zm700%200v-94q0-63-32-103.5T622-423q69%208%20130%2023.5t99%2035.5q33%2019%2052%2047t19%2063v94H738ZM358-481q-66%200-108-42t-42-108q0-66%2042-108t108-42q66%200%20108%2042t42%20108q0%2066-42%20108t-108%2042Zm360-150q0%2066-42%20108t-108%2042q-11%200-24.5-1.5T519-488q24-25%2036.5-61.5T568-631q0-45-12.5-79.5T519-774q11-3%2024.5-5t24.5-2q66%200%20108%2042t42%20108ZM98-220h520v-34q0-16-9.5-31T585-306q-72-32-121-43t-106-11q-57%200-106.5%2011T130-306q-14%206-23%2021t-9%2031v34Zm260-321q39%200%2064.5-25.5T448-631q0-39-25.5-64.5T358-721q-39%200-64.5%2025.5T268-631q0%2039%2025.5%2064.5T358-541Zm0%20321Zm0-411Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='group_add'%3e%3cpath%20d='M474-486q26-32%2038.5-66t12.5-79q0-45-12.5-79T474-776q76-17%20133.5%2023T665-631q0%2082-57.5%20122T474-486Zm216%20326v-94q0-51-26-95t-90-74q173%2022%20236.5%2064T874-254v94H690Zm110-289v-100H700v-60h100v-100h60v100h100v60H860v100h-60Zm-485-32q-66%200-108-42t-42-108q0-66%2042-108t108-42q66%200%20108%2042t42%20108q0%2066-42%20108t-108%2042ZM0-160v-94q0-35%2018.5-63.5T68-360q72-32%20128.5-46T315-420q62%200%20118%2014t128%2046q31%2014%2050%2042.5t19%2063.5v94H0Zm315-381q39%200%2064.5-25.5T405-631q0-39-25.5-64.5T315-721q-39%200-64.5%2025.5T225-631q0%2039%2025.5%2064.5T315-541ZM60-220h510v-34q0-16-8-30t-25-22q-69-32-117-43t-105-11q-57%200-104.5%2011T92-306q-15%207-23.5%2021.5T60-254v34Zm255-411Zm0%20411Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='handshake'%3e%3cpath%20d='M475-140q5%200%2011.5-2.5T497-149l337-338q13-13%2019.5-29.67Q860-533.33%20860-550q0-17-6.5-34T834-614L654-794q-13-13-30-19.5t-34-6.5q-16.67%200-33.33%206.5Q540-807%20527-794l-18%2018%2081%2082q13%2014%2023%2032.5t10%2040.5q0%2038-29.5%2067T526-525q-25%200-41.5-7.5t-30.19-21.34L381-627%20200-446q-5%205-7%2010.53-2%205.52-2%2011.84%200%2012.63%208.5%2021.13%208.5%208.5%2021.17%208.5%206.33%200%2011.83-3t9.5-7l138-138%2042%2042-137%20137q-5%205-7%2011t-2%2012q0%2012%209%2021t21%209q6%200%2011.5-2.5t9.5-6.5l138-138%2042%2042-137%20137q-4%204-6.5%2010.33-2.5%206.34-2.5%2012.67%200%2012%209%2021t21%209q6%200%2011-2t10-7l138-138%2042%2042-138%20138q-5%205-7%2011t-2%2011q0%2014%208%2022t22%208Zm.06%2060Q442-80%20416-104.5t-31-60.62Q351-170%20328-193t-28-57q-34-5-56.5-28.5T216-335q-37-5-61-30t-24-60q0-17%206.72-34.05Q144.45-476.1%20157-489l224-224%20110%20110q8%208%2017.33%2012.5%209.34%204.5%2018.67%204.5%2013%200%2024.5-11.5t11.5-24.65q0-5.85-3.5-13.35T548-651L405-794q-13-13-30-19.5t-34-6.5q-16.67%200-33.33%206.5-16.67%206.5-29.61%2019.36L126-642q-14%2014-19.5%2029.5t-6.5%2035q-1%2019.5%207.5%2038T128-506l-43%2043q-20-22-32.5-53T40-579q0-30%2011.5-57.5T84-685l151-151q22-22%2049.79-32.5%2027.8-10.5%2057-10.5%2029.21%200%2056.71%2010.5T448-836l18%2018%2018-18q22-22%2049.79-32.5%2027.8-10.5%2057-10.5%2029.21%200%2056.71%2010.5T697-836l179%20179q22%2022%2033%2050.03%2011%2028.04%2011%2057%200%2028.97-11%2056.47T876-444L539-107q-13%2013-29.53%2020t-34.41%207ZM377-626Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='handyman'%3e%3cpath%20d='M764-80q-6%200-11-2t-10-7L501-331q-5-5-7-10t-2-11q0-6%202-11t7-10l85-85q5-5%2010-7t11-2q6%200%2011%202t10%207l242%20242q5%205%207%2010t2%2011q0%206-2%2011t-7%2010l-85%2085q-5%205-10%207t-11%202Zm0-72%2043-43-200-200-43%2043%20200%20200ZM195-80q-6%200-11.5-2T173-89l-84-84q-5-5-7-10.5T80-195q0-6%202-11t7-10l225-225h85l38-38-175-175h-57L80-779l99-99%20125%20125v57l175%20175%20130-130-67-67%2056-56H485l-18-18%20128-128%2018%2018v113l56-56%20169%20169q15%2015%2023.5%2034.5T870-600q0%2020-6.5%2038.5T845-528l-85-85-56%2056-52-52-211%20211v84L216-89q-5%205-10%207t-11%202Zm0-72%20200-200v-43h-43L152-195l43%2043Zm0%200-43-43%2022%2021%2021%2022Zm569%200%2043-43-43%2043Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='help'%3e%3cpath%20d='M484-247q16%200%2027-11t11-27q0-16-11-27t-27-11q-16%200-27%2011t-11%2027q0%2016%2011%2027t27%2011Zm-35-146h59q0-26%206.5-47.5T555-490q31-26%2044-51t13-55q0-53-34.5-85T486-713q-49%200-86.5%2024.5T345-621l53%2020q11-28%2033-43.5t52-15.5q34%200%2055%2018.5t21%2047.5q0%2022-13%2041.5T508-512q-30%2026-44.5%2051.5T449-393Zm31%20313q-82%200-155-31.5t-127.5-86Q143-252%20111.5-325T80-480q0-83%2031.5-156t86-127Q252-817%20325-848.5T480-880q83%200%20156%2031.5T763-763q54%2054%2085.5%20127T880-480q0%2082-31.5%20155T763-197.5q-54%2054.5-127%2086T480-80Zm0-60q142%200%20241-99.5T820-480q0-142-99-241t-241-99q-141%200-240.5%2099T140-480q0%20141%2099.5%20240.5T480-140Zm0-340Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='home'%3e%3cpath%20d='M220-180h150v-250h220v250h150v-390L480-765%20220-570v390Zm-60%2060v-480l320-240%20320%20240v480H530v-250H430v250H160Zm320-353Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='info'%3e%3cpath%20d='M453-280h60v-240h-60v240Zm26.98-314q14.02%200%2023.52-9.2T513-626q0-14.45-9.48-24.22-9.48-9.78-23.5-9.78t-23.52%209.78Q447-640.45%20447-626q0%2013.6%209.48%2022.8%209.48%209.2%2023.5%209.2Zm.29%20514q-82.74%200-155.5-31.5Q252-143%20197.5-197.5t-86-127.34Q80-397.68%2080-480.5t31.5-155.66Q143-709%20197.5-763t127.34-85.5Q397.68-880%20480.5-880t155.66%2031.5Q709-817%20763-763t85.5%20127Q880-563%20880-480.27q0%2082.74-31.5%20155.5Q817-252%20763-197.68q-54%2054.31-127%2086Q563-80%20480.27-80Zm.23-60Q622-140%20721-239.5t99-241Q820-622%20721.19-721T480-820q-141%200-240.5%2098.81T140-480q0%20141%2099.5%20240.5t241%2099.5Zm-.5-340Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='inventory_2'%3e%3cpath%20d='M180-80q-24.75%200-42.37-17.63Q120-115.25%20120-140v-483q-17-6-28.5-21.39T80-680v-140q0-24.75%2017.63-42.38Q115.25-880%20140-880h680q24.75%200%2042.38%2017.62Q880-844.75%20880-820v140q0%2020.22-11.5%2035.61T840-623v483q0%2024.75-17.62%2042.37Q804.75-80%20780-80H180Zm0-540v480h600v-480H180Zm-40-60h680v-140H140v140Zm220%20260h240v-60H360v60Zm120%2040Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='key'%3e%3cpath%20d='M280-412q-28%200-48-20t-20-48q0-28%2020-48t48-20q28%200%2048%2020t20%2048q0%2028-20%2048t-48%2020Zm0%20172q-100%200-170-70T40-480q0-100%2070-170t170-70q72%200%20126%2034t85%20103h356l113%20113-167%20153-88-64-88%2064-75-60h-51q-25%2060-78.5%2098.5T280-240Zm0-60q58%200%20107-38.5t63-98.5h114l54%2045%2088-63%2082%2062%2085-79-51-51H450q-12-56-60-96.5T280-660q-75%200-127.5%2052.5T100-480q0%2075%2052.5%20127.5T280-300Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='keyboard_arrow_down'%3e%3cpath%20d='M480-344%20240-584l43-43%20197%20197%20197-197%2043%2043-240%20240Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='keyboard_arrow_up'%3e%3cpath%20d='M480-554%20283-357l-43-43%20240-240%20240%20240-43%2043-197-197Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='lab_profile'%3e%3cpath%20d='M320-490v-60h320v60H320Zm0-160v-60h320v60H320ZM220-390h320q26.43%200%2049.22%2012Q612-366%20628-346l112%20146v-620H220v430Zm0%20250h490L581-309q-7.57-9.88-18.28-15.44Q552-330%20540-330H220v190Zm520%2060H220q-24%200-42-18t-18-42v-680q0-24%2018-42t42-18h520q24%200%2042%2018t18%2042v680q0%2024-18%2042t-42%2018Zm-520-60v-680%20680Zm0-190v-60%2060Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='label'%3e%3cpath%20d='M140-160q-24.75%200-42.37-17.63Q80-195.25%2080-220v-520q0-24.75%2017.63-42.38Q115.25-800%20140-800h471q14.25%200%2027%206.37%2012.75%206.38%2021%2017.63l222%20296-221%20296q-8.25%2011.25-21%2017.62-12.75%206.38-27%206.38H140Zm0-60h471l195-260-195-260H140v520Zm236-260Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='last_page'%3e%3cpath%20d='m272-245-43-43%20192-192-192-192%2043-43%20235%20235-235%20235Zm388%205v-480h60v480h-60Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='library_add_check'%3e%3cpath%20d='m490-383%20228-228-42-41-185%20186-97-97-42%2042%20138%20138ZM260-200q-24%200-42-18t-18-42v-560q0-24%2018-42t42-18h560q24%200%2042%2018t18%2042v560q0%2024-18%2042t-42%2018H260Zm0-60h560v-560H260v560ZM140-80q-24%200-42-18t-18-42v-620h60v620h620v60H140Zm120-740v560-560Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='light_mode'%3e%3cpath%20d='M480-340q58%200%2099-41t41-99q0-58-41-99t-99-41q-58%200-99%2041t-41%2099q0%2058%2041%2099t99%2041Zm0%2060q-83%200-141.5-58.5T280-480q0-83%2058.5-141.5T480-680q83%200%20141.5%2058.5T680-480q0%2083-58.5%20141.5T480-280ZM200-450H40v-60h160v60Zm720%200H760v-60h160v60ZM450-760v-160h60v160h-60Zm0%20720v-160h60v160h-60ZM262-658l-100-97%2043-44%2096%20100-39%2041Zm494%20496-98-100%2041-41%2099%2098-42%2043Zm-99-537%2098-99%2044%2042-99%2098-43-41ZM162-205l99-98%2042%2042-98%2099-43-43Zm318-275Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='link'%3e%3cpath%20d='M450-280H280q-83%200-141.5-58.5T80-480q0-83%2058.5-141.5T280-680h170v60H280q-58.33%200-99.17%2040.76-40.83%2040.77-40.83%2099Q140-422%20180.83-381q40.84%2041%2099.17%2041h170v60ZM325-450v-60h310v60H325Zm185%20170v-60h170q58.33%200%2099.17-40.76%2040.83-40.77%2040.83-99Q820-538%20779.17-579q-40.84-41-99.17-41H510v-60h170q83%200%20141.5%2058.5T880-480q0%2083-58.5%20141.5T680-280H510Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='local_activity'%3e%3cpath%20d='m376-318%20104-81%20104%2081-40-128%2098-82H522l-42-122-42%20122H318l98%2082-40%20128ZM140-160q-25%200-42.5-17.5T80-220v-132q0-10%205.5-17.5T100-380q31-11%2048.5-39.5T166-480q0-31-17.5-60T100-580q-9-3-14.5-10.5T80-608v-132q0-25%2017.5-42.5T140-800h680q25%200%2042.5%2017.5T880-740v132q0%2010-5.5%2017.5T860-580q-31%2011-48.5%2040T794-480q0%2032%2017.5%2060.5T860-380q9%203%2014.5%2010.5T880-352v132q0%2025-17.5%2042.5T820-160H140Zm0-60h680v-109q-38-26-62-65t-24-86q0-47%2024-86t62-65v-109H140v109q39%2026%2062.5%2065t23.5%2086q0%2047-23.5%2086T140-329v109Zm340-260Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='local_activity-fill'%3e%3cpath%20d='m376-318%20104-81%20104%2081-40-128%2098-82H522l-42-122-42%20122H318l98%2082-40%20128ZM140-160q-25%200-42.5-17.5T80-220v-132q0-10%205.5-17.5T100-380q31-11%2048.5-39.5T166-480q0-31-17.5-60T100-580q-9-3-14.5-10.5T80-608v-132q0-25%2017.5-42.5T140-800h680q25%200%2042.5%2017.5T880-740v132q0%2010-5.5%2017.5T860-580q-31%2011-48.5%2040T794-480q0%2032%2017.5%2060.5T860-380q9%203%2014.5%2010.5T880-352v132q0%2025-17.5%2042.5T820-160H140Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='lock'%3e%3cpath%20d='M220-80q-24.75%200-42.37-17.63Q160-115.25%20160-140v-434q0-24.75%2017.63-42.38Q195.25-634%20220-634h70v-96q0-78.85%2055.61-134.42Q401.21-920%20480.11-920q78.89%200%20134.39%2055.58Q670-808.85%20670-730v96h70q24.75%200%2042.38%2017.62Q800-598.75%20800-574v434q0%2024.75-17.62%2042.37Q764.75-80%20740-80H220Zm0-60h520v-434H220v434Zm260.17-140q31.83%200%2054.33-22.03T557-355q0-30-22.67-54.5t-54.5-24.5q-31.83%200-54.33%2024.5t-22.5%2055q0%2030.5%2022.67%2052.5t54.5%2022ZM350-634h260v-96q0-54.17-37.88-92.08-37.88-37.92-92-37.92T388-822.08q-38%2037.91-38%2092.08v96ZM220-140v-434%20434Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='lock_open'%3e%3cpath%20d='M220-634h390v-96q0-54.17-37.88-92.08-37.88-37.92-92-37.92T388-822.08q-38%2037.91-38%2092.08h-60q0-79%2055.61-134.5%2055.6-55.5%20134.5-55.5%2078.89%200%20134.39%2055.58Q670-808.85%20670-730v96h70q24.75%200%2042.38%2017.62Q800-598.75%20800-574v434q0%2024.75-17.62%2042.37Q764.75-80%20740-80H220q-24.75%200-42.37-17.63Q160-115.25%20160-140v-434q0-24.75%2017.63-42.38Q195.25-634%20220-634Zm0%20494h520v-434H220v434Zm260.17-140q31.83%200%2054.33-22.03T557-355q0-30-22.67-54.5t-54.5-24.5q-31.83%200-54.33%2024.5t-22.5%2055q0%2030.5%2022.67%2052.5t54.5%2022ZM220-140v-434%20434Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='more_horiz'%3e%3cpath%20d='M207.86-432Q188-432%20174-446.14t-14-34Q160-500%20174.14-514t34-14Q228-528%20242-513.86t14%2034Q256-460%20241.86-446t-34%2014Zm272%200Q460-432%20446-446.14t-14-34Q432-500%20446.14-514t34-14Q500-528%20514-513.86t14%2034Q528-460%20513.86-446t-34%2014Zm272%200Q732-432%20718-446.14t-14-34Q704-500%20718.14-514t34-14Q772-528%20786-513.86t14%2034Q800-460%20785.86-446t-34%2014Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='more_vert'%3e%3cpath%20d='M479.86-160Q460-160%20446-174.14t-14-34Q432-228%20446.14-242t34-14Q500-256%20514-241.86t14%2034Q528-188%20513.86-174t-34%2014Zm0-272Q460-432%20446-446.14t-14-34Q432-500%20446.14-514t34-14Q500-528%20514-513.86t14%2034Q528-460%20513.86-446t-34%2014Zm0-272Q460-704%20446-718.14t-14-34Q432-772%20446.14-786t34-14Q500-800%20514-785.86t14%2034Q528-732%20513.86-718t-34%2014Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='multiple_stop'%3e%3cpath%20d='M282-160%20120-322l162-162%2042%2042-90%2090h286v60H234l90%2090-42%2042Zm328-132q-12%200-21-9t-9-21q0-13%209-21.5t21-8.5q13%200%2021.5%208.5T640-322q0%2012-8.5%2021t-21.5%209Zm120%200q-12%200-21-9t-9-21q0-13%209-21.5t21-8.5q13%200%2021.5%208.5T760-322q0%2012-8.5%2021t-21.5%209Zm-52-184-42-42%2090-90H440v-60h286l-90-90%2042-42%20162%20162-162%20162ZM230-608q-12%200-21-9t-9-21q0-13%209-21.5t21-8.5q13%200%2021.5%208.5T260-638q0%2012-8.5%2021t-21.5%209Zm120%200q-12%200-21-9t-9-21q0-13%209-21.5t21-8.5q13%200%2021.5%208.5T380-638q0%2012-8.5%2021t-21.5%209Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='north'%3e%3cpath%20d='M450-80v-686L242-558l-42-42%20280-280%20280%20280-42%2042-208-208v686h-60Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='north_east'%3e%3cpath%20d='m202-160-42-42%20498-498H364v-60h396v396h-60v-294L202-160Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='notifications_active'%3e%3cpath%20d='M120-566q0-90%2040-165t107-125l36%2048q-56%2042-89.5%20104.5T180-566h-60Zm660%200q0-75-33.5-137.5T657-808l36-48q67%2050%20107%20125t40%20165h-60ZM160-200v-60h80v-304q0-84%2049.5-150.5T420-798v-22q0-25%2017.5-42.5T480-880q25%200%2042.5%2017.5T540-820v22q81%2017%20130.5%2083.5T720-564v304h80v60H160Zm320-302Zm0%20422q-33%200-56.5-23.5T400-160h160q0%2033-23.5%2056.5T480-80ZM300-260h360v-304q0-75-52.5-127.5T480-744q-75%200-127.5%2052.5T300-564v304Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='open_in_new'%3e%3cpath%20d='M180-120q-24%200-42-18t-18-42v-600q0-24%2018-42t42-18h279v60H180v600h600v-279h60v279q0%2024-18%2042t-42%2018H180Zm202-219-42-43%20398-398H519v-60h321v321h-60v-218L382-339Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='person'%3e%3cpath%20d='M480-481q-66%200-108-42t-42-108q0-66%2042-108t108-42q66%200%20108%2042t42%20108q0%2066-42%20108t-108%2042ZM160-160v-94q0-38%2019-65t49-41q67-30%20128.5-45T480-420q62%200%20123%2015.5t127.92%2044.69q31.3%2014.13%2050.19%2040.97Q800-292%20800-254v94H160Zm60-60h520v-34q0-16-9.5-30.5T707-306q-64-31-117-42.5T480-360q-57%200-111%2011.5T252-306q-14%207-23%2021.5t-9%2030.5v34Zm260-321q39%200%2064.5-25.5T570-631q0-39-25.5-64.5T480-721q-39%200-64.5%2025.5T390-631q0%2039%2025.5%2064.5T480-541Zm0-90Zm0%20411Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='person_add'%3e%3cpath%20d='M730-400v-130H600v-60h130v-130h60v130h130v60H790v130h-60Zm-370-81q-66%200-108-42t-42-108q0-66%2042-108t108-42q66%200%20108%2042t42%20108q0%2066-42%20108t-108%2042ZM40-160v-94q0-35%2017.5-63.5T108-360q75-33%20133.34-46.5t118.5-13.5Q420-420%20478-406.5T611-360q33%2015%2051%2043t18%2063v94H40Zm60-60h520v-34q0-16-9-30.5T587-306q-71-33-120-43.5T360-360q-58%200-107.5%2010.5T132-306q-15%207-23.5%2021.5T100-254v34Zm260-321q39%200%2064.5-25.5T450-631q0-39-25.5-64.5T360-721q-39%200-64.5%2025.5T270-631q0%2039%2025.5%2064.5T360-541Zm0-90Zm0%20411Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='person_pin'%3e%3cpath%20d='M480-40%20359-161H180q-24%200-42-18t-18-42v-600q0-24.75%2018-42.38Q156-881%20180-881h600q24%200%2042%2017.62%2018%2017.63%2018%2042.38v600q0%2024-18%2042t-42%2018H601L480-40ZM180-258q60-56%20135.9-90.5%2075.89-34.5%20164-34.5%2088.1%200%20164.1%2034.5T780-258v-563H180v563Zm302-204q58%200%2098-40t40-98q0-58-40-98t-98-40q-58%200-98%2040t-40%2098q0%2058%2040%2098t98%2040ZM235-221h490v-9q-54-46-116-69.5T480-323q-67%200-129%2023.5T235-230v9Zm247-301q-32.5%200-55.25-22.75T404-600q0-32.5%2022.75-55.25T482-678q32.5%200%2055.25%2022.75T560-600q0%2032.5-22.75%2055.25T482-522Zm-2-18Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='person_remove'%3e%3cpath%20d='M648-542v-60h232v60H648Zm-288%2061q-66%200-108-42t-42-108q0-66%2042-108t108-42q66%200%20108%2042t42%20108q0%2066-42%20108t-108%2042ZM40-160v-94q0-35%2017.5-63.5T108-360q75-33%20133.34-46.5t118.5-13.5Q420-420%20478-406.5T611-360q33%2015%2051%2043t18%2063v94H40Zm60-60h520v-34q0-16-9-30.5T587-306q-71-33-120-43.5T360-360q-58%200-107.5%2010.5T132-306q-15%207-23.5%2021.5T100-254v34Zm260-321q39%200%2064.5-25.5T450-631q0-39-25.5-64.5T360-721q-39%200-64.5%2025.5T270-631q0%2039%2025.5%2064.5T360-541Zm0-90Zm0%20411Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='question_mark'%3e%3cpath%20d='M431-330q1-72%2016.5-105t58.5-72q42-38%2064.5-70.5T593-647q0-45-30-75t-84-30q-52%200-80%2029.5T358-661l-84-37q22-59%2074.5-100.5T479-840q100%200%20154%2055.5T687-651q0%2048-20.5%2087T601-482q-49%2047-59%2072t-11%2080H431Zm48%20250q-29%200-49.5-20.5T409-150q0-29%2020.5-49.5T479-220q29%200%2049.5%2020.5T549-150q0%2029-20.5%2049.5T479-80Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='receipt_long'%3e%3cpath%20d='M222-80q-43.75%200-74.37-30.63Q117-141.25%20117-185v-125h127v-570l59.8%2060%2059.8-60%2059.8%2060%2059.8-60%2059.8%2060%2060-60%2060%2060%2060-60%2060%2060%2060-60v695q0%2043.75-30.62%2074.37Q781.75-80%20738-80H222Zm516-60q20%200%2032.5-12.5T783-185v-595H304v470h389v125q0%2020%2012.5%2032.5T738-140ZM357-622v-60h240v60H357Zm0%20134v-60h240v60H357Zm333-134q-12%200-21-9t-9-21q0-12%209-21t21-9q12%200%2021%209t9%2021q0%2012-9%2021t-21%209Zm0%20129q-12%200-21-9t-9-21q0-12%209-21t21-9q12%200%2021%209t9%2021q0%2012-9%2021t-21%209ZM221-140h412v-110H177v65q0%2020%2012.65%2032.5T221-140Zm-44%200v-110%20110Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='refresh'%3e%3cpath%20d='M480-160q-133%200-226.5-93.5T160-480q0-133%2093.5-226.5T480-800q85%200%20149%2034.5T740-671v-129h60v254H546v-60h168q-38-60-97-97t-137-37q-109%200-184.5%2075.5T220-480q0%20109%2075.5%20184.5T480-220q83%200%20152-47.5T728-393h62q-29%20105-115%20169t-195%2064Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='remove'%3e%3cpath%20d='M200-450v-60h560v60H200Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='remove_shopping_cart'%3e%3cpath%20d='M381-656v-60h227v60H381ZM289.79-80Q260-80%20239-101.21t-21-51Q218-182%20239.21-203t51-21Q320-224%20341-202.79t21%2051Q362-122%20340.79-101t-51%2021Zm404%200Q664-80%20643-101.21t-21-51Q622-182%20643.21-203t51-21Q724-224%20745-202.79t21%2051Q766-122%20744.79-101t-51%2021ZM62-820v-60h116l170%20364h287.71L796-796h67L701-493q-11%2019-28.56%2030.5T634-451H331l-56%20104h491v60H284q-37.66%200-57.33-30T224-378l64-118-148-324H62Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='replay'%3e%3cpath%20d='M480-80q-75%200-140.5-28T225-185q-49-49-77-114.5T120-440h60q0%20125%2087.5%20212.5T480-140q125%200%20212.5-87.5T780-440q0-125-85-212.5T485-740h-23l73%2073-41%2042-147-147%20147-147%2041%2041-78%2078h23q75%200%20140.5%2028T735-695q49%2049%2077%20114.5T840-440q0%2075-28%20140.5T735-185q-49%2049-114.5%2077T480-80Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='right_panel_open'%3e%3cpath%20d='M433-344v-272L297-480l136%20136ZM180-120q-24.75%200-42.37-17.63Q120-155.25%20120-180v-600q0-24.75%2017.63-42.38Q155.25-840%20180-840h600q24.75%200%2042.38%2017.62Q840-804.75%20840-780v600q0%2024.75-17.62%2042.37Q804.75-120%20780-120H180Zm453-60h147v-600H633v600Zm-60%200v-600H180v600h393Zm60%200h147-147Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='search'%3e%3cpath%20d='M796-121%20533-384q-30%2026-69.96%2040.5Q423.08-329%20378-329q-108.16%200-183.08-75Q120-479%20120-585t75-181q75-75%20181.5-75t181%2075Q632-691%20632-584.85%20632-542%20618-502q-14%2040-42%2075l264%20262-44%2044ZM377-389q81.25%200%20138.13-57.5Q572-504%20572-585t-56.87-138.5Q458.25-781%20377-781q-82.08%200-139.54%2057.5Q180-666%20180-585t57.46%20138.5Q294.92-389%20377-389Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='search_insights'%3e%3cpath%20d='M400.06-300Q508-300%20584.5-376.13%20661-452.25%20661-561q0-107.92-76.5-183.46T400.06-820q-107.94%200-183.5%2075.54T141-561q0%20108.75%2075.56%20184.87Q292.12-300%20400.06-300ZM371-448v-267h60v267h-60Zm-145%200v-184h60v184h-60Zm290%200v-143h60v143h-60ZM838-80%20605-314q-42%2035-94.24%2054.5Q458.51-240%20400-240q-133%200-226-93.5T81-560.7q0-133.71%2092.8-226.5Q266.59-880%20400.3-880q133.7%200%20227.2%2093T721-561q0%2058.51-19.5%20110.76Q682-398%20647-356l233%20233-42%2043Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='sell'%3e%3cpath%20d='M863-404%20557-97q-9%208.5-20.25%2012.75T514.25-80Q503-80%20492-84.5T472-97L98-472q-8-8-13-18.96-5-10.95-5-23.04v-306q0-24.75%2017.63-42.38Q115.25-880%20140-880h307q12.07%200%2023.39%204.87Q481.7-870.25%20490-862l373%20373q9.39%209%2013.7%2020.25%204.3%2011.25%204.3%2022.5t-4.5%2022.75Q872-412%20863-404ZM516-138l306-307-375-375H140v304l376%20378ZM245-664q21%200%2036.5-15.5T297-716q0-21-15.5-36.5T245-768q-21%200-36.5%2015.5T193-716q0%2021%2015.5%2036.5T245-664Zm236%20185Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='send'%3e%3cpath%20d='M120-160v-640l760%20320-760%20320Zm60-93%20544-227-544-230v168l242%2062-242%2060v167Zm0%200v-457%20457Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='settings'%3e%3cpath%20d='m388-80-20-126q-19-7-40-19t-37-25l-118%2054-93-164%20108-79q-2-9-2.5-20.5T185-480q0-9%20.5-20.5T188-521L80-600l93-164%20118%2054q16-13%2037-25t40-18l20-127h184l20%20126q19%207%2040.5%2018.5T669-710l118-54%2093%20164-108%2077q2%2010%202.5%2021.5t.5%2021.5q0%2010-.5%2021t-2.5%2021l108%2078-93%20164-118-54q-16%2013-36.5%2025.5T592-206L572-80H388Zm48-60h88l14-112q33-8%2062.5-25t53.5-41l106%2046%2040-72-94-69q4-17%206.5-33.5T715-480q0-17-2-33.5t-7-33.5l94-69-40-72-106%2046q-23-26-52-43.5T538-708l-14-112h-88l-14%20112q-34%207-63.5%2024T306-642l-106-46-40%2072%2094%2069q-4%2017-6.5%2033.5T245-480q0%2017%202.5%2033.5T254-413l-94%2069%2040%2072%20106-46q24%2024%2053.5%2041t62.5%2025l14%20112Zm44-210q54%200%2092-38t38-92q0-54-38-92t-92-38q-54%200-92%2038t-38%2092q0%2054%2038%2092t92%2038Zm0-130Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='shopping_cart'%3e%3cpath%20d='M286.79-81Q257-81%20236-102.21t-21-51Q215-183%20236.21-204t51-21Q317-225%20338-203.79t21%2051Q359-123%20337.79-102t-51%2021Zm400%200Q657-81%20636-102.21t-21-51Q615-183%20636.21-204t51-21Q717-225%20738-203.79t21%2051Q759-123%20737.79-102t-51%2021ZM235-741l110%20228h288l125-228H235Zm-30-60h589.07q22.97%200%2034.95%2021%2011.98%2021-.02%2042L694-495q-11%2019-28.56%2030.5T627-453H324l-56%20104h491v60H277q-42%200-60.5-28t.5-63l64-118-152-322H51v-60h117l37%2079Zm140%20288h288-288Z'/%3e%3c/symbol%3e%3csymbol%20fill='currentColor'%20viewBox='0%200%2015%2013'%20id='signature'%3e%3cpath%20d='M8.05%206.483c.811-.6%201.444-1.258%201.9-1.975.456-.716.683-1.43.683-2.141%200-.356-.058-.617-.175-.784a.55.55%200%200%200-.475-.25c-.522%200-.983.442-1.383%201.325-.4.884-.6%201.88-.6%202.992%200%20.156.003.303.008.442.006.139.02.27.042.391ZM.667%2012.667v-1.334H2v1.334H.667Zm2.666%200v-1.334h1.334v1.334H3.333Zm2.667%200v-1.334h1.333v1.334H6Zm2.667%200v-1.334H10v1.334H8.667Zm2.666%200v-1.334h1.334v1.334h-1.334ZM.933%2010%200%209.067%201.067%208%200%206.933.933%206%202%207.067%203.067%206%204%206.933%202.933%208%204%209.067%203.067%2010%202%208.933.933%2010Zm8.034-.667c-.334%200-.64-.064-.917-.191a1.777%201.777%200%200%201-.717-.625%208.15%208.15%200%200%201-.858.416c-.294.123-.597.245-.908.367L5.1%208.05a11.923%2011.923%200%200%200%201.717-.767%206.366%206.366%200%200%201-.125-.8%209.779%209.779%200%200%201-.042-.933c0-1.6.317-2.925.95-3.975C8.233.525%209.028%200%209.983%200c.578%200%201.05.214%201.417.642.367.427.55%201.025.55%201.791%200%20.956-.303%201.9-.908%202.834-.606.933-1.448%201.772-2.525%202.516a.859.859%200%200%200%20.241.175c.084.04.17.059.259.059.289%200%20.625-.184%201.008-.55.383-.367.73-.85%201.042-1.45l1.216.566a3.183%203.183%200%200%200-.183.684c-.044.266-.039.5.017.7.11-.056.241-.15.391-.284.15-.133.303-.3.459-.5l1.05.817c-.29.4-.623.722-1%20.967-.378.244-.728.366-1.05.366-.234%200-.442-.07-.625-.208-.184-.139-.336-.353-.459-.642a3.725%203.725%200%200%201-.95.634%202.346%202.346%200%200%201-.966.216Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='skip_next'%3e%3cpath%20d='M680-240v-480h60v480h-60Zm-460%200v-480l346%20240-346%20240Zm60-240Zm0%20125%20181-125-181-125v250Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='south'%3e%3cpath%20d='M480-80%20200-360l42-42%20208%20208v-686h60v686l208-208%2042%2042L480-80Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='south_east'%3e%3cpath%20d='M364-200v-60h294L160-758l42-42%20498%20498v-294h60v396H364Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='speed'%3e%3cpath%20d='M407-325q23%2023%2066.5%2021.5T537-336l216-339-335%20219q-30%2020-32%2064t21%2067Zm71-474q57%200%20119%2018.5T716-717l-52%2037q-45-30-96.5-44.5T477.98-739q-140.47%200-239.23%20100.22Q140-538.57%20140-396.02%20140-351%20152.5-305q12.5%2046%2035.5%2085h579q22-36%2035-84t13-94q0-42-12.5-90.5T758-578l39-52q38%2056%2057%20112.5T875-404q2%2060-12%20113t-41%2098q-12%2023-25.5%2028t-33.5%205H192q-17%200-33.5-8.5T134-193q-26-48-40-97.5T80-396q0-83%2031.5-156.5t85.5-128Q251-735%20323.68-767T478-799Zm-9%20331Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='stacked_email'%3e%3cpath%20d='M220-240q-24%200-42-18.5T160-300v-480q0-24%2018-42t42-18h640q24%200%2042%2018t18%2042v480q0%2023-18%2041.5T860-240H220Zm320-200L220-706v406h640v-406L540-440Zm0-79%20315-261H225l315%20261ZM100-120q-24%200-42-18.5T40-180v-559h60v559h720v60H100Zm760-586v-74H220v74-74h640v74Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='style'%3e%3cpath%20d='m152-145-23-7q-32-14-43.5-48t6.5-67l60-136v258Zm186%2078q-34%200-58-24t-24-58v-207l92%20262q2%208%206%2014t10%2013h-26Zm188-24q-21%209-44-4t-33-36L258-650q-10-23%202-45t37-32l318-115q23-8%2045%204t32%2036l191%20513q7%2025-3%2049t-35%2033L526-91Zm-82-495q12%200%2021-9t9-21q0-12-9-21t-21-9q-12%200-21%209t-9%2021q0%2012%209%2021t21%209Zm63%20437%20318-116-191-519-318%20115%20191%20520ZM316-669l318-115-318%20115Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='terminal'%3e%3cpath%20d='M140-160q-24%200-42-18t-18-42v-520q0-24%2018-42t42-18h680q24%200%2042%2018t18%2042v520q0%2024-18%2042t-42%2018H140Zm0-60h680v-436H140v436Zm160-72-42-42%20103-104-104-104%2043-42%20146%20146-146%20146Zm190%204v-60h220v60H490Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='title'%3e%3cpath%20d='M430-160v-540H200v-100h560v100H530v540H430Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='toggle_on'%3e%3cpath%20d='M280-240q-100%200-170-70T40-480q0-100%2070-170t170-70h400q100%200%20170%2070t70%20170q0%20100-70%20170t-170%2070H280Zm0-60h400q75%200%20127.5-52.5T860-480q0-75-52.5-127.5T680-660H280q-75%200-127.5%2052.5T100-480q0%2075%2052.5%20127.5T280-300Zm400.94-79q42.06%200%2071.56-29.44t29.5-71.5q0-42.06-29.44-71.56t-71.5-29.5q-42.06%200-71.56%2029.44t-29.5%2071.5q0%2042.06%2029.44%2071.56t71.5%2029.5ZM480-480Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='undo'%3e%3cpath%20d='M259-200v-60h310q70%200%20120.5-46.5T740-422q0-69-50.5-115.5T569-584H274l114%20114-42%2042-186-186%20186-186%2042%2042-114%20114h294q95%200%20163.5%2064T800-422q0%2094-68.5%20158T568-200H259Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='unfold_less'%3e%3cpath%20d='m343-160-43-43%20180-180%20180%20180-43%2043-137-137-137%20137Zm137-417L300-757l43-43%20137%20137%20137-137%2043%2043-180%20180Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='unfold_more'%3e%3cpath%20d='M480-120%20300-300l44-44%20136%20136%20136-136%2044%2044-180%20180ZM344-612l-44-44%20180-180%20180%20180-44%2044-136-136-136%20136Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='upload_file'%3e%3cpath%20d='M452-202h60v-201l82%2082%2042-42-156-152-154%20154%2042%2042%2084-84v201ZM220-80q-24%200-42-18t-18-42v-680q0-24%2018-42t42-18h361l219%20219v521q0%2024-18%2042t-42%2018H220Zm331-554v-186H220v680h520v-494H551ZM220-820v186-186%20680-680Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='view_week'%3e%3cpath%20d='M140-220h187v-520H140v520Zm247%200h186v-520H387v520Zm246%200h187v-520H633v520Zm-493%2060q-24%200-42-18t-18-42v-520q0-24%2018-42t42-18h680q24%200%2042%2018t18%2042v520q0%2024-18%2042t-42%2018H140Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='visibility'%3e%3cpath%20d='M480.12-330q70.88%200%20120.38-49.62t49.5-120.5q0-70.88-49.62-120.38T479.88-670Q409-670%20359.5-620.38T310-499.88q0%2070.88%2049.62%20120.38t120.5%2049.5Zm-.36-58q-46.76%200-79.26-32.74-32.5-32.73-32.5-79.5%200-46.76%2032.74-79.26%2032.73-32.5%2079.5-32.5%2046.76%200%2079.26%2032.74%2032.5%2032.73%2032.5%2079.5%200%2046.76-32.74%2079.26-32.73%2032.5-79.5%2032.5Zm.24%20188q-146%200-264-83T40-500q58-134%20176-217t264-83q146%200%20264%2083t176%20217q-58%20134-176%20217t-264%2083Zm0-300Zm-.17%20240Q601-260%20702.5-325.5%20804-391%20857-500q-53-109-154.33-174.5Q601.34-740%20480.17-740T257.5-674.5Q156-609%20102-500q54%20109%20155.33%20174.5Q358.66-260%20479.83-260Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='warning'%3e%3cpath%20d='m40-120%20440-760%20440%20760H40Zm104-60h672L480-760%20144-180Zm340.18-57q12.82%200%2021.32-8.68%208.5-8.67%208.5-21.5%200-12.82-8.68-21.32-8.67-8.5-21.5-8.5-12.82%200-21.32%208.68-8.5%208.67-8.5%2021.5%200%2012.82%208.68%2021.32%208.67%208.5%2021.5%208.5ZM454-348h60v-224h-60v224Zm26-122Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='west'%3e%3cpath%20d='M360-200%2080-480l280-280%2042%2042-208%20208h686v60H194l208%20208-42%2042Z'/%3e%3c/symbol%3e%3c/svg%3e").then(e=>e.text())}),(t,l)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[o.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:"hidden",innerHTML:o.value},null,8,Ws)):e.createCommentVNode("",!0),e.renderSlot(t.$slots,"default")],64))}}),Xs={class:"grow text-ellipsis overflow-hidden"},Js=e.defineComponent({__name:"IconTitle",props:{title:{},subTitle:{},icon:{},variant:{default:"default"},suffix:{},size:{default:"md"},avatar:{type:Boolean,default:!1},uppercase:{type:Boolean,default:!0},resourceId:{}},setup(t){const l=t,n=e.computed(()=>{switch(l.variant){case"transparent":return"";case"warning":return"bg-gradient-to-br backdrop-blur-sm from-orange-600/20 to-yellow-200/20";case"neutral":return"bg-neutral-100";default:return"bg-gradient-to-br backdrop-blur-sm from-peach-100/20 to-mint-100/20"}});return(l,a)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["flex items-center",{"gap-4":["md","lg"].includes(t.size),"gap-3":"sm"===t.size,"gap-2":"xs"===t.size&&"transparent"!==t.variant,"gap-1":"xs"===t.size&&"transparent"===t.variant}])},[t.icon?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass([{[n.value]:!0,"w-9 h-9":["md","lg"].includes(t.size),"w-8 h-8":"sm"===t.size,"w-6 h-6":"xs"===t.size},"rounded-md flex items-center justify-center shrink-0"])},[t.icon?(e.openBlock(),e.createBlock(e.unref(w),{key:0,size:["sm","xs"].includes(t.size)?"xs":"md",icon:t.icon},null,8,["size","icon"])):e.createCommentVNode("",!0)],2)):e.createCommentVNode("",!0),t.avatar&&t.title?(e.openBlock(),e.createBlock(e.unref(uc),{key:1,initials:t.title.slice(0,1),"color-hash":t.title,size:["sm","xs"].includes(t.size)?"lg":"xl"},null,8,["initials","color-hash","size"])):e.createCommentVNode("",!0),e.createElementVNode("div",Xs,[t.title||l.$slots.default?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass([{"text-3xl":"lg"===t.size,"text-2xl":"md"===t.size,"text-base":"sm"===t.size,"text-xs text-gray-600":"xs"===t.size,"text-gray-900":"xs"!==t.size,uppercase:"xs"===t.size&&t.uppercase},"flex font-semibold items-center"])},[e.renderSlot(l.$slots,"prefix"),e.renderSlot(l.$slots,"default",{},()=>[e.createTextVNode(e.toDisplayString(t.title),1)]),e.renderSlot(l.$slots,"suffix",{},()=>[e.createTextVNode(e.toDisplayString(t.suffix),1)])],2)):e.createCommentVNode("",!0),t.subTitle||l.$slots.subTitle&&!e.unref(bi)(l.$slots.subTitle({}))?(e.openBlock(),e.createBlock(e.unref(o),{key:1,variant:"body-sm",shade:"lighter"},{default:e.withCtx(()=>[e.renderSlot(l.$slots,"subTitle",{},()=>[e.createTextVNode(e.toDisplayString(t.subTitle),1)])]),_:3})):e.createCommentVNode("",!0)])],2))}}),ed={class:"flex items-start gap-2"},td=e.defineComponent({__name:"InfoBlock",props:{variant:{default:"default"},hasIcon:{type:Boolean}},setup(t){const o={default:"info",warning:"error",danger:"error"};return(l,n)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["px-4 py-3 rounded border text-sm flex justify-between items-center gap-2",{"bg-blue-50 border-blue-100 text-blue-700":"default"===t.variant,"bg-red-50 border-red-100 text-red-700":"danger"===t.variant,"bg-yellow-50 border-yellow-100 text-yellow-700":"warning"===t.variant}])},[e.createElementVNode("div",ed,[t.hasIcon?(e.openBlock(),e.createBlock(e.unref(w),{key:0,icon:o[t.variant],size:"xs",class:"shrink-0"},null,8,["icon"])):e.createCommentVNode("",!0),e.createElementVNode("div",null,[e.renderSlot(l.$slots,"default")])]),e.createElementVNode("div",null,[e.renderSlot(l.$slots,"cta")])],2))}}),od=e.defineComponent({__name:"IntlProvider",props:{locale:{},dateLocale:{},messages:{},showTimezones:{type:Boolean,default:!0}},setup(t){const o=t;return e.provide(Zn,(({locale:t,dateLocale:o,messages:l})=>{const{onError:n}=bo(),a=e.computed(()=>t.value||"en-US"),i=e.computed(()=>o.value||a.value),r=e.computed(()=>({...ko,...l.value})),c=Ln({locale:a.value,messages:r.value},Un);e.watch(a,e=>{c.locale=e}),e.watch(r,e=>{c.messages=e});const s=({id:e,defaultMessage:t,description:o},l)=>c.formatMessage({id:e,defaultMessage:t,description:o},l),d=e=>{const t={year:"numeric",month:"2-digit",day:"2-digit",timeZone:e.timezone&&xo(e.timezone)},o=Fn(i.value)?{...t,month:"short",day:"numeric"}:t,l=Fn(i.value)?{...Rn,hour12:!0}:Rn;try{switch(e.format){case"date":return new Intl.DateTimeFormat(i.value,o).format(new Date(e.date));case"dateTime":return new Intl.DateTimeFormat(i.value,{...o,...l}).format(new Date(e.date))}}catch(a){return null==n||n(new Error("Failed to format date",{cause:a})),d({...e,timezone:void 0,offsetType:"local",format:"dateTime"})}};return{...c,$t:s,formatMessage:s,formatDate:d}})({locale:e.computed(()=>o.locale),dateLocale:e.computed(()=>o.dateLocale),messages:e.computed(()=>o.messages)})),(t,o)=>e.renderSlot(t.$slots,"default")}}),ld={class:"w-full table-fixed"};const nd=h({},[["render",function(t,o){return e.openBlock(),e.createElementBlock("table",ld,[e.renderSlot(t.$slots,"default")])}]]),ad=e.defineComponent({__name:"InvoiceTableData",props:{number:{type:Boolean,default:!1},hasPadding:{type:Boolean,default:!0}},setup:t=>(o,l)=>(e.openBlock(),e.createElementBlock("td",{class:e.normalizeClass({"text-right tabular-nums":t.number,"py-2":t.hasPadding})},[e.renderSlot(o.$slots,"default")],2))}),id=e.defineComponent({__name:"InvoiceTableHeader",props:{left:{type:Boolean,default:!1},right:{type:Boolean,default:!1}},setup:t=>(o,l)=>(e.openBlock(),e.createElementBlock("th",{class:e.normalizeClass(["py-1.5 font-bold border-b text-gray-400 text-xs uppercase",{"text-left":t.left,"text-right":t.right}])},[e.renderSlot(o.$slots,"default")],2))}),rd={class:"flex items-center"},cd={key:0,class:"text-xs text-gray-400"},sd={class:"flex items-center"},dd={key:0},ud=e.defineComponent({__name:"InvoiceSubLineRow",props:{subLines:{},isOpen:{type:Boolean},lineOrder:{},periodOrder:{},groupOrder:{},processingOnlyCustomers:{}},setup(t){const{formatMessage:o}=Gn(),l=t,n=e=>{var t;const n=null==(t=l.processingOnlyCustomers)?void 0:t.find(t=>t.id===e);return n?Ni(n):o({id:"generic.not_available",defaultMessage:"N/A",description:"Used in scenarios where no data is available to be displayed"})},a=e=>{var t;return(null==(t=e.usage_based_conversion)?void 0:t.conditions)??e.conditions};return(o,l)=>t.subLines&&t.isOpen?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[t.processingOnlyCustomers?e.createCommentVNode("",!0):(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(t.subLines,(n,i)=>(e.openBlock(),e.createElementBlock("tr",{key:i,class:e.normalizeClass(i>0?"border-t":"")},[e.createVNode(ad,null,{default:e.withCtx(()=>{var l,i,r,c,s,d;return[e.createElementVNode("div",rd,[e.renderSlot(o.$slots,"invoice-line-prefix",{lineOrder:t.lineOrder,periodOrder:t.periodOrder,groupOrder:t.groupOrder}),e.createElementVNode("div",null,[e.createElementVNode("div",null,[n.description?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createTextVNode(e.toDisplayString(n.description),1)],64)):n.details.description?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createTextVNode(e.toDisplayString(n.details.description),1)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createTextVNode(" N/A ")],64))]),(null==(l=a(n))?void 0:l.name)||(null==(i=a(n))?void 0:i.meter_properties)?(e.openBlock(),e.createElementBlock("div",cd,[(null==(r=a(n))?void 0:r.name)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createTextVNode(e.toDisplayString(null==(c=a(n))?void 0:c.name),1)],64)):(null==(s=a(n))?void 0:s.meter_properties)?(e.openBlock(),e.createBlock(e.unref(Yc),{key:1,comparators:null==(d=a(n))?void 0:d.meter_properties},null,8,["comparators"])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)])])]}),_:2},1024),e.createVNode(ad,{number:"",class:"text-right tabular-nums"},{default:e.withCtx(()=>{var t,o;return[e.createTextVNode(e.toDisplayString((null==(o=null==(t=n.details.conversion)?void 0:t.credits)?void 0:o.quantity)??"N/A"),1)]}),_:2},1024),e.createVNode(ad,{class:"text-right tabular-nums"},{default:e.withCtx(()=>{var t,o;return[(null==(t=n.details.band)?void 0:t.amount)?(e.openBlock(),e.createBlock(Pi,{key:0,value:n.details.band.amount},null,8,["value"])):(null==(o=n.details.band)?void 0:o.percentage)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createTextVNode(e.toDisplayString(n.details.band.percentage)+"% ",1)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createTextVNode(" N/A ")],64))]}),_:2},1024),e.createVNode(ad,null,{default:e.withCtx(()=>[...l[0]||(l[0]=[e.createTextVNode(" ",-1)])]),_:1}),n.details.amount?(e.openBlock(),e.createBlock(ad,{key:0,class:"text-right tabular-nums"},{default:e.withCtx(()=>[e.createVNode(Pi,{value:n.details.amount},null,8,["value"])]),_:2},1024)):e.createCommentVNode("",!0)],2))),128)),t.processingOnlyCustomers?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:1},e.renderList(t.subLines,(t,l)=>(e.openBlock(),e.createElementBlock("tr",{key:l,tabindex:void 0,class:e.normalizeClass(["group",{"border-t":0!==l}])},[e.createVNode(ad,{class:"pl-4"},{default:e.withCtx(()=>[e.createElementVNode("div",sd,[t.processing_only_customer_resource_id?(e.openBlock(),e.createElementBlock("div",dd,e.toDisplayString(n(t.processing_only_customer_resource_id)),1)):e.createCommentVNode("",!0)])]),_:2},1024),e.renderSlot(o.$slots,"subline-content",{details:t.details,hideTaxDetails:!0})],2))),128)):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0)}}),pd=["tabindex","onClick"],md={class:"flex items-center"},fd=e.defineComponent({__name:"InvoiceCommitment",props:{commitments:{},groupOrder:{},invoicePeriodOrder:{}},setup(t){const o=Gn(),{getIsOpen:l,toggle:n}=fa(),a=(e,t)=>`${e}-line-${t}`;return(i,r)=>(e.openBlock(),e.createBlock(nd,null,{default:e.withCtx(()=>[e.createElementVNode("tr",null,[e.createVNode(id,{left:"",colspan:"5"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(o).$t({id:"invoice.table_header.unit",defaultMessage:"Unit",description:"Table header for the column containing the number of units of invoice groups"})),1)]),_:1}),e.createVNode(id,{right:"",class:"w-60"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(o).$t({id:"invoice.table_header.sub_total",defaultMessage:"Subtotal",description:"Table header for the column containing the subtotal for invoices"})),1)]),_:1})]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.commitments,(c,s)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:s},[e.createElementVNode("tr",{class:e.normalizeClass(["border-t",{"cursor-pointer":c.sub_lines}]),tabindex:c.sub_lines?0:void 0,onClick:e=>{return o=t.groupOrder,l=c.line_order,void n(a(o,l));var o,l}},[e.createVNode(ad,{colspan:"2"},{default:e.withCtx(()=>{var n,r;return[c.sub_lines?(e.openBlock(),e.createBlock(w,{key:0,icon:"keyboard_arrow_down",size:"md",class:e.normalizeClass(["-translate-x-7 absolute text-slate-400",{"-rotate-90":!e.unref(l)(a(t.groupOrder,c.line_order))}])},null,8,["class"])):e.createCommentVNode("",!0),e.createElementVNode("div",md,[e.renderSlot(i.$slots,"invoice-line-prefix",{lineOrder:c.line_order,periodOrder:t.invoicePeriodOrder,groupOrder:t.groupOrder}),c.description?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createTextVNode(e.toDisplayString(c.description),1)],64)):(null==(n=c.details)?void 0:n.description)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createTextVNode(e.toDisplayString(null==(r=c.details)?void 0:r.description),1)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createTextVNode(e.toDisplayString(e.unref(o).$t({id:"generic.not_available",defaultMessage:"N/A",description:"Used in scenarios where no data is available to be displayed"})),1)],64))])]}),_:2},1024),e.createVNode(ad,{colspan:"3"},{default:e.withCtx(()=>[...r[0]||(r[0]=[e.createTextVNode(" ",-1)])]),_:1}),e.createVNode(ad,{number:""},{default:e.withCtx(()=>{var t,o;return[(null==(t=c.details)?void 0:t.amount)?(e.openBlock(),e.createBlock(Pi,{key:0,value:null==(o=c.details)?void 0:o.amount},null,8,["value"])):e.createCommentVNode("",!0)]}),_:2},1024)],10,pd),e.createVNode(ud,{ref_for:!0,ref:a(t.groupOrder,c.line_order),"sub-lines":c.sub_lines??[],"line-order":c.line_order,"period-order":t.invoicePeriodOrder,"group-order":t.groupOrder,"is-open":e.unref(l)(a(t.groupOrder,c.line_order))},null,8,["sub-lines","line-order","period-order","group-order","is-open"])],64))),128))]),_:3}))}}),hd=["tabindex","onClick"],vd={class:"flex items-center"},gd=e.defineComponent({__name:"InvoiceDiscountMarkup",props:{lines:{},type:{},handleToggleItems:{type:Function},formatIndex:{type:Function},expandedItems:{},isExpandable:{type:Boolean},invoicePeriodOrder:{},groupOrder:{}},setup(t){const o=Gn(),{getIsOpen:l,toggle:n}=fa(),a=(e,t)=>`${e}-line-${t}`;return(i,r)=>(e.openBlock(),e.createBlock(nd,null,{default:e.withCtx(()=>[e.createElementVNode("tr",null,[e.createVNode(id,{left:"",class:"w-3/5"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(o).$t({id:"invoice.table_header.quantity",defaultMessage:"Quantity",description:"Table header for quantity column"})),1)]),_:1}),e.createVNode(id,{colspan:"2"},{default:e.withCtx(()=>[...r[0]||(r[0]=[e.createTextVNode(" ",-1)])]),_:1}),e.createVNode(id,{left:"",class:"w-1/5"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString("DISCOUNT"===t.type?e.unref(o).$t({id:"invoice.table_header.discount",defaultMessage:"Discount",description:"Table header for discount column"}):e.unref(o).$t({id:"invoice.table_header.markup",defaultMessage:"Markup",description:"Table header for markup column"})),1)]),_:1}),e.createVNode(id,{left:"",class:"w-1/5"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString("DISCOUNT"===t.type?e.unref(o).$t({id:"invoice.table_header.total",defaultMessage:"Total",description:"Table header for total column"}):" "),1)]),_:1}),e.createVNode(id,{right:"",class:"w-1/5"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(o).$t({id:"invoice.table_header.sub_total",defaultMessage:"Subtotal",description:"Table header for the column containing the subtotal for invoices"})),1)]),_:1})]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.lines,(o,c)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:c},[e.createElementVNode("tr",{class:e.normalizeClass(["border-t",{"cursor-pointer":t.isExpandable}]),tabindex:t.isExpandable?0:void 0,onClick:e=>{return l=t.groupOrder,i=o.line_order,void n(a(l,i));var l,i}},[e.createVNode(ad,{class:"w-3/5"},{default:e.withCtx(()=>{var n,r;return[o.sub_lines?(e.openBlock(),e.createBlock(w,{key:0,icon:"keyboard_arrow_down",size:"md",class:e.normalizeClass(["-translate-x-7 absolute text-slate-400",{"-rotate-90":!e.unref(l)(a(t.groupOrder,o.line_order))}])},null,8,["class"])):e.createCommentVNode("",!0),e.createElementVNode("div",vd,[e.renderSlot(i.$slots,"invoice-line-prefix",{lineOrder:o.line_order,periodOrder:t.invoicePeriodOrder,groupOrder:t.groupOrder}),o.description?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createTextVNode(e.toDisplayString(o.description),1)],64)):(null==(n=o.details)?void 0:n.description)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createTextVNode(e.toDisplayString(null==(r=o.details)?void 0:r.description),1)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createTextVNode("N/A")],64))])]}),_:2},1024),e.createVNode(ad,{colspan:"2"},{default:e.withCtx(()=>[...r[1]||(r[1]=[e.createTextVNode(" ",-1)])]),_:1}),e.createVNode(ad,{class:"tabular-nums w-1/5"},{default:e.withCtx(()=>{var t,l,n;return[e.createTextVNode(e.toDisplayString((null==(l=null==(t=o.details)?void 0:t.band)?void 0:l.percentage)?`${null==(n=o.details)?void 0:n.band.percentage}%`:" "),1)]}),_:2},1024),e.createVNode(ad,{class:"w-1/5"},{default:e.withCtx(()=>[...r[2]||(r[2]=[e.createTextVNode(" ",-1)])]),_:1}),e.createVNode(ad,{number:"",class:"w-1/5"},{default:e.withCtx(()=>{var t;return[(null==(t=o.details)?void 0:t.amount)?(e.openBlock(),e.createBlock(Pi,{key:0,value:o.details.amount},null,8,["value"])):e.createCommentVNode("",!0)]}),_:2},1024)],10,hd),e.createVNode(ud,{ref_for:!0,ref:a(t.groupOrder,o.line_order),"sub-lines":o.sub_lines??[],"line-order":o.line_order,"is-open":e.unref(l)(a(t.groupOrder,o.line_order)),"period-order":t.invoicePeriodOrder,"group-order":t.groupOrder},null,8,["sub-lines","line-order","is-open","period-order","group-order"])],64))),128))]),_:3}))}}),yd=["tabindex"],bd={key:0},xd={colspan:"2",class:"p-0"},kd={class:"px-9 py-3 -mx-9 bg-gray-50 text-xs"},_d=e.defineComponent({__name:"InvoiceGroupCommitment",props:{group:{},expandedItems:{},handleToggleItems:{type:Function},formatIndex:{type:Function},invoicePeriodOrder:{},groupOrder:{},isExpandable:{type:Boolean},amountType:{},processingOnlyCustomers:{}},setup(t){const o=Gn();return(l,n)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("tr",{class:e.normalizeClass(["border-t",{"cursor-pointer":t.isExpandable}]),tabindex:t.isExpandable?0:void 0,onClick:n[0]||(n[0]=e=>t.handleToggleItems(t.formatIndex(t.invoicePeriodOrder,t.groupOrder))),onKeyup:[n[1]||(n[1]=e.withKeys(e=>t.handleToggleItems(t.formatIndex(t.invoicePeriodOrder,t.groupOrder)),["enter"])),n[2]||(n[2]=e.withKeys(e=>t.handleToggleItems(t.formatIndex(t.invoicePeriodOrder,t.groupOrder)),["space"]))]},[e.createVNode(ad,{class:"p-0"},{default:e.withCtx(()=>[t.isExpandable?(e.openBlock(),e.createBlock(w,{key:0,icon:"keyboard_arrow_down",size:"md",class:e.normalizeClass(["-translate-x-7 absolute text-slate-400",{"-rotate-90":!t.expandedItems.includes(t.formatIndex(t.invoicePeriodOrder,t.groupOrder))}])},null,8,["class"])):e.createCommentVNode("",!0),e.createTextVNode(" "+e.toDisplayString(e.unref(o).$t({id:"invoice.commitment_heading",defaultMessage:"Commitment",description:"Heading used for commitment in invoice tables"})),1)]),_:1}),e.createVNode(ad,{number:""},{default:e.withCtx(()=>["INCLUDING_TAX"===t.amountType?(e.openBlock(),e.createBlock(Pi,{key:0,value:t.group.amount_including_tax},null,8,["value"])):(e.openBlock(),e.createBlock(Pi,{key:1,value:t.group.amount_excluding_tax},null,8,["value"]))]),_:1})],42,yd),t.expandedItems.includes(t.formatIndex(t.invoicePeriodOrder,t.groupOrder))&&t.group.lines?(e.openBlock(),e.createElementBlock("tr",bd,[e.createElementVNode("td",xd,[e.createElementVNode("div",kd,[e.createVNode(fd,{commitments:t.group.lines,"format-index":t.formatIndex,"handle-toggle-items":t.handleToggleItems,"expanded-items":t.expandedItems,"is-expandable":t.isExpandable,"invoice-period-order":t.invoicePeriodOrder,"group-order":t.groupOrder},{"invoice-line-prefix":e.withCtx(t=>[e.renderSlot(l.$slots,"invoice-line-prefix",e.normalizeProps(e.guardReactiveProps(t)))]),_:3},8,["commitments","format-index","handle-toggle-items","expanded-items","is-expandable","invoice-period-order","group-order"])])])])):e.createCommentVNode("",!0)],64))}}),wd=["tabindex"],Bd={key:0},Cd={colspan:"2",class:"p-0"},Ed={class:"px-9 py-3 -mx-9 bg-gray-50 text-xs"},Nd=e.defineComponent({__name:"InvoiceGroupDiscountMarkup",props:{heading:{},group:{},expandedItems:{},handleToggleItems:{type:Function},formatIndex:{type:Function},invoicePeriodOrder:{},groupOrder:{},isExpandable:{type:Boolean},amountType:{},processingOnlyCustomers:{}},setup:t=>(o,l)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("tr",{class:e.normalizeClass(["border-t",{"cursor-pointer":t.isExpandable}]),tabindex:t.isExpandable?0:void 0,onClick:l[0]||(l[0]=e=>t.handleToggleItems(t.formatIndex(t.invoicePeriodOrder,t.groupOrder))),onKeyup:[l[1]||(l[1]=e.withKeys(e=>t.handleToggleItems(t.formatIndex(t.invoicePeriodOrder,t.groupOrder)),["enter"])),l[2]||(l[2]=e.withKeys(e=>t.handleToggleItems(t.formatIndex(t.invoicePeriodOrder,t.groupOrder)),["space"]))]},[e.createVNode(ad,{class:"p-0"},{default:e.withCtx(()=>[t.isExpandable?(e.openBlock(),e.createBlock(w,{key:0,icon:"keyboard_arrow_down",size:"md",class:e.normalizeClass(["-translate-x-7 absolute text-slate-400",{"-rotate-90":!t.expandedItems.includes(t.formatIndex(t.invoicePeriodOrder,t.groupOrder))}])},null,8,["class"])):e.createCommentVNode("",!0),e.createTextVNode(" "+e.toDisplayString(t.heading),1)]),_:1}),e.createVNode(ad,{number:""},{default:e.withCtx(()=>["INCLUDING_TAX"===t.amountType?(e.openBlock(),e.createBlock(Pi,{key:0,value:t.group.amount_including_tax},null,8,["value"])):(e.openBlock(),e.createBlock(Pi,{key:1,value:t.group.amount_excluding_tax},null,8,["value"]))]),_:1})],42,wd),t.expandedItems.includes(t.formatIndex(t.invoicePeriodOrder,t.groupOrder))&&t.group.lines?(e.openBlock(),e.createElementBlock("tr",Bd,[e.createElementVNode("td",Cd,[e.createElementVNode("div",Ed,[e.createVNode(gd,{type:t.group.type,lines:t.group.lines,"format-index":t.formatIndex,"handle-toggle-items":t.handleToggleItems,"expanded-items":t.expandedItems,"is-expandable":t.isExpandable,"invoice-period-order":t.invoicePeriodOrder,"group-order":t.groupOrder},{"invoice-line-prefix":e.withCtx(t=>[e.renderSlot(o.$slots,"invoice-line-prefix",e.normalizeProps(e.guardReactiveProps(t)))]),_:3},8,["type","lines","format-index","handle-toggle-items","expanded-items","is-expandable","invoice-period-order","group-order"])])])])):e.createCommentVNode("",!0)],64))}),Td={class:"flex gap-4"},Md={class:"flex gap-2 items-center"},Vd=e.defineComponent({__name:"PricingClauseChip",props:{iconName:{},chipColor:{}},setup:t=>(o,l)=>(e.openBlock(),e.createElementBlock("div",Td,[e.createVNode(Qn,{color:t.chipColor},{default:e.withCtx(()=>[e.createElementVNode("div",Md,[e.createVNode(w,{icon:t.iconName,size:"xs"},null,8,["icon"]),e.createElementVNode("span",null,[e.renderSlot(o.$slots,"chip-content")])])]),_:3},8,["color"]),e.renderSlot(o.$slots,"chip-postfix")]))}),Sd={class:"flex flex-col gap-2"},zd=e.defineComponent({__name:"InvoicePricingClauseChip",props:{clauseType:{},priceDetailsBand:{},invoiceLineDescription:{}},setup(t){const o=Gn();return(l,n)=>(e.openBlock(),e.createElementBlock("div",Sd,[e.createElementVNode("span",null,e.toDisplayString(t.invoiceLineDescription),1),"DISCOUNT"===t.clauseType&&t.priceDetailsBand?(e.openBlock(),e.createBlock(e.unref(Vd),{key:0,"icon-name":"south_east","chip-color":"yellow"},e.createSlots({_:2},[t.priceDetailsBand.amount?{name:"chip-content",fn:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(o).$t({id:"invoice.amount_discount",defaultMessage:"{amount} discount",description:"Represents a certain amount of discount, where {amount} is replaced with the amount"},{amount:e.unref(La)(t.priceDetailsBand.amount)}).toUpperCase()),1)]),key:"0"}:t.priceDetailsBand.percentage?{name:"chip-content",fn:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(o).$t({id:"invoice.percentage_discount",defaultMessage:"{percentage}% discount",description:"Represents a certain percentage of discount, where {percentage} is replaced with the percentage (number only)"},{percentage:t.priceDetailsBand.percentage??"0"}).toUpperCase()),1)]),key:"1"}:void 0]),1024)):"ADJUSTMENT"===t.clauseType?(e.openBlock(),e.createBlock(e.unref(Vd),{key:1,"icon-name":"info","chip-color":"yellow"},{"chip-content":e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(o).$t({id:"invoice.adjustment_chip_body",defaultMessage:"Adjustment",description:"Used on invoice lines to mark as adjusted"}).toUpperCase()),1)]),_:1})):"MARKUP"===t.clauseType?(e.openBlock(),e.createBlock(e.unref(Vd),{key:2,"icon-name":"north_east","chip-color":"teal-light"},{"chip-content":e.withCtx(()=>{var l;return[e.createTextVNode(e.toDisplayString(e.unref(o).$t({id:"invoice.markup_percentage",defaultMessage:"{percentage}% markup",description:"Markup percentage, where {percentage} is replaced with the percentage (number only)"},{percentage:(null==(l=t.priceDetailsBand)?void 0:l.percentage)??"0"}).toUpperCase()),1)]}),_:1})):"COMMITMENT"===t.clauseType?(e.openBlock(),e.createBlock(e.unref(Vd),{key:3,"icon-name":"sell","chip-color":"orange"},{"chip-content":e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(o).$t({id:"invoice.commitment",defaultMessage:"commitment",description:"Used on invoice lines to mark as commitment"}).toUpperCase()),1)]),_:1})):e.createCommentVNode("",!0)]))}}),Pd={class:"items-left flex flex-col gap-1 leading-none"},qd={class:"flex items-center"},Dd={key:0,class:"ml-1 text-xs text-gray-400"},Id={key:0},$d={key:1,class:"text-xs text-gray-400"},Od={key:2,class:"text-xs text-gray-400"},Hd={class:"text-[9pt] text-slate-600"},Ad=e.defineComponent({__name:"InvoiceLineRow",props:{data:{},isLast:{type:Boolean},periodOrder:{},groupOrder:{},groupType:{},isExpanded:{type:Boolean}},setup(t){const{$t:o}=Gn(),l=t,n=e=>{var t,o;if(!e)return"";let l="0",n=" +";if(e.tier_lower_bound&&"number"in e.tier_lower_bound)l=(null==(t=e.tier_lower_bound)?void 0:t.number)??"0";else if(e.tier_lower_bound&&"amount"in e.tier_lower_bound){const{quantity:t,currency:o}=e.tier_lower_bound.amount;l=`${o} ${t??0}`}if(e.tier_top_bound&&"number"in e.tier_top_bound)n=` - ${null==(o=e.tier_top_bound)?void 0:o.number}`;else if(e.tier_top_bound&&"amount"in e.tier_top_bound){const{quantity:t,currency:o}=e.tier_top_bound.amount;n=` - ${o} ${t}`}return l+n},a=e.computed(()=>{var e;return null==(e=l.data.details)?void 0:e.included_volume_details}),i=e.computed(()=>{var e,t;return(null==(e=l.data)?void 0:e.product_items)?Qa(l.data.product_items.map(e=>e.name)):(null==(t=l.data)?void 0:t.description)??"N/A"});return(l,r)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createVNode(ad,{class:"align-top"},{default:e.withCtx(()=>{var r,c,s,d,u,p,m,f,h,v,g,y,b,x,k,_,B,C;return[e.createElementVNode("div",Pd,[e.createElementVNode("div",null,[t.data.sub_lines?(e.openBlock(),e.createBlock(w,{key:0,icon:"keyboard_arrow_down",size:"md",class:e.normalizeClass(["absolute -translate-x-7 -translate-y-2 text-slate-400",{"-rotate-90":!t.isExpanded}])},null,8,["class"])):e.createCommentVNode("",!0),e.createElementVNode("div",qd,[e.renderSlot(l.$slots,"invoice-line-prefix",{lineOrder:t.data.line_order,periodOrder:t.periodOrder,groupOrder:t.groupOrder}),["PRICING","REVENUE","ONE_OFF"].includes(t.data.type)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createTextVNode(e.toDisplayString(i.value)+" ",1),"ONE_OFF"===t.data.type&&"ONE_OFF"!==t.groupType?(e.openBlock(),e.createElementBlock("div",Dd,e.toDisplayString(e.unref(Za)(t.data.type)),1)):e.createCommentVNode("",!0)],64)):(e.openBlock(),e.createBlock(zd,{key:1,"invoice-line-description":i.value,"clause-type":t.data.type,"price-details-band":null==(r=t.data.details)?void 0:r.band},null,8,["invoice-line-description","clause-type","price-details-band"]))])]),["TIERED","STAIR_STEP","TOP_TIERED"].includes(t.data.pricing_type)&&!a.value&&(null==(c=t.data.details)?void 0:c.band)?(e.openBlock(),e.createElementBlock("div",Id,e.toDisplayString(n(null==(s=t.data.details)?void 0:s.band)),1)):e.createCommentVNode("",!0),(null==(u=null==(d=t.data.details)?void 0:d.split_pricing)?void 0:u.meter_properties)?(e.openBlock(),e.createElementBlock("span",$d,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(null==(m=null==(p=t.data.details)?void 0:p.split_pricing)?void 0:m.meter_properties,(o,l)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createTextVNode(e.toDisplayString(o.meter_property.name)+": "+e.toDisplayString(o.value),1),l<t.data.details.split_pricing.meter_properties.length-1?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createTextVNode(e.toDisplayString(", "))],64)):e.createCommentVNode("",!0)],64))),256))])):e.createCommentVNode("",!0),(null==(f=t.data.conditions)?void 0:f.name)||(null==(h=t.data.conditions)?void 0:h.meter_properties)?(e.openBlock(),e.createElementBlock("div",Od,[t.data.conditions.name?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createTextVNode(e.toDisplayString(t.data.conditions.name),1)],64)):t.data.conditions.meter_properties?(e.openBlock(),e.createBlock(e.unref(Yc),{key:1,comparators:t.data.conditions.meter_properties},null,8,["comparators"])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)]),e.createElementVNode("span",Hd,["BELOW_MINIMUM_AMOUNT"===(null==(v=t.data.details)?void 0:v.price_bound)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createTextVNode(e.toDisplayString(e.unref(o)({id:"invoice.line.band_minimum_amount",defaultMessage:"Band minimum amount",description:"Minimum amount specified in a band"}))+" ",1),(null==(g=t.data.details.band)?void 0:g.minimum_amount)?(e.openBlock(),e.createBlock(Pi,{key:0,value:t.data.details.band.minimum_amount},null,8,["value"])):e.createCommentVNode("",!0)],64)):"NOT_HIT"===(null==(y=t.data.details)?void 0:y.price_bound)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createTextVNode(e.toDisplayString(e.unref(o)({id:"invoice.line.price_bound_within_bounds",defaultMessage:"Within bounds",description:"Label used when min and max bounds are specified but reached"})),1)],64)):"ABOVE_MAXIMUM_AMOUNT"===(null==(b=t.data.details)?void 0:b.price_bound)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createTextVNode(e.toDisplayString(e.unref(o)({id:"invoice.line.price_bound_maximum_amount",defaultMessage:"Maximum amount",description:"Minimum amount specified in a band"}))+" ",1),(null==(x=t.data.details.band)?void 0:x.maximum_amount)?(e.openBlock(),e.createBlock(Pi,{key:0,value:t.data.details.band.maximum_amount},null,8,["value"])):e.createCommentVNode("",!0)],64)):"BELOW_MINIMUM_NUMBER"===(null==(k=t.data.details)?void 0:k.price_bound)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:3},[e.createTextVNode(e.toDisplayString(e.unref(o)({id:"invoice.line.band_minimum_number",defaultMessage:"Minimum number",description:"Minimum number of units specified in a band"}))+" "+e.toDisplayString(null==(_=t.data.details.band)?void 0:_.minimum_number),1)],64)):"ABOVE_MAXIMUM_NUMBER"===(null==(B=t.data.details)?void 0:B.price_bound)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:4},[e.createTextVNode(e.toDisplayString(e.unref(o)({id:"invoice.line.band_maximum_number",defaultMessage:"Maximum number",description:"Maximum number of units specified in a band"}))+" "+e.toDisplayString(null==(C=t.data.details.band)?void 0:C.maximum_number),1)],64)):e.createCommentVNode("",!0)])]}),_:3}),e.renderSlot(l.$slots,"line-content",{details:t.data.details})],64))}}),Ld={key:4,class:"text-xs text-gray-400"},Zd={key:1,class:"tabular-nums"},Rd={class:"text-2xs text-gray-500"},Fd={key:0,class:"flex justify-end"},Ud={class:"flex gap-1 items-center justify-end"},Gd={key:0,class:"text-2xs text-gray-500 tabular-nums"},jd=e.defineComponent({__name:"InvoiceRowContent",props:{pricingType:{},details:{},taxCategories:{},amountType:{},hideTaxDetails:{type:Boolean}},setup(t){const o=Gn(),l=t,n=e.computed(()=>{var e;return null==(e=l.details)?void 0:e.included_volume_details}),a=e.computed(()=>{var e;return null==(e=n.value)?void 0:e.available_included_volume});return(l,n)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createVNode(ad,{number:"",class:"align-top"},{default:e.withCtx(()=>{var l,n,i,r,c,s,d,u,p,m,f,h,v,g,y,b,x,k,_,w,B,C,E,N,T;return["PASS_THROUGH"!==t.pricingType?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[(null==(l=t.details)?void 0:l.price_bound)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},["BELOW_MINIMUM_AMOUNT"===(null==(n=t.details)?void 0:n.price_bound)||"ABOVE_MAXIMUM_AMOUNT"===(null==(i=t.details)?void 0:i.price_bound)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createTextVNode(e.toDisplayString(null==(r=t.details)?void 0:r.meter_value.count),1)],64)):"NOT_HIT"===(null==(c=t.details)?void 0:c.price_bound)&&"amount"in t.details.meter_value&&(null==(d=null==(s=t.details)?void 0:s.meter_value)?void 0:d.amount)?(e.openBlock(),e.createBlock(Pi,{key:1,value:null==(p=null==(u=t.details)?void 0:u.meter_value)?void 0:p.amount},null,8,["value"])):"NOT_HIT"===(null==(m=t.details)?void 0:m.price_bound)&&"number"in t.details.meter_value&&(null==(h=null==(f=t.details)?void 0:f.meter_value)?void 0:h.number)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createTextVNode(e.toDisplayString(null==(g=null==(v=t.details)?void 0:v.meter_value)?void 0:g.number),1)],64)):"RATIO"===(null==(y=t.details)?void 0:y.price_bound)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:3},[e.createTextVNode(e.toDisplayString(null==(b=t.details)?void 0:b.meter_value.number),1)],64)):"BELOW_MINIMUM_NUMBER"===(null==(x=t.details)?void 0:x.price_bound)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:4},[e.createTextVNode(e.toDisplayString(null==(_=null==(k=t.details)?void 0:k.band)?void 0:_.minimum_number),1)],64)):"ABOVE_MAXIMUM_NUMBER"===(null==(w=t.details)?void 0:w.price_bound)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:5},[e.createTextVNode(e.toDisplayString(null==(C=null==(B=t.details)?void 0:B.band)?void 0:C.maximum_number),1)],64)):e.createCommentVNode("",!0)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[(null==(E=t.details)?void 0:E.meter_value)&&"number"in t.details.meter_value?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createTextVNode(e.toDisplayString(t.details.meter_value.number),1)],64)):(null==(N=t.details)?void 0:N.price_bound)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createTextVNode(e.toDisplayString(t.details.total_count),1)],64)):(null==(T=t.details)?void 0:T.meter_value)&&"amount"in t.details.meter_value?(e.openBlock(),e.createBlock(Pi,{key:2,value:t.details.meter_value.amount},null,8,["value"])):(e.openBlock(),e.createElementBlock(e.Fragment,{key:3},[e.createTextVNode("1")],64)),a.value?(e.openBlock(),e.createElementBlock("div",Ld,["AMOUNT"===a.value.type?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createVNode(Pi,{value:a.value.amount},null,8,["value"]),e.createTextVNode(" "+e.toDisplayString(e.unref(o).$t({id:"invoice.line.included",defaultMessage:"included",description:"Used to specify an included amount. Should be lowercase."})),1)],64)):"NUMBER"===a.value.type?(e.openBlock(),e.createElementBlock("span",Zd,e.toDisplayString(a.value.number)+" "+e.toDisplayString(e.unref(o).$t({id:"invoice.line.units_included",defaultMessage:"units included",description:"Used to specify an included units. Should be lowercase."})),1)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)],64))],64)):e.createCommentVNode("",!0)]}),_:1}),"PASS_THROUGH"===t.pricingType?(e.openBlock(),e.createBlock(ad,{key:0,class:"align-top text-right"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(o).$t({id:"invoice.line.pass_through",defaultMessage:"Pass through",description:"Name of the pass through pricing type"})),1)]),_:1})):(e.openBlock(),e.createBlock(ad,{key:1,number:"",class:"align-top"},{default:e.withCtx(()=>{var o,l,n,a,i,r,c,s,d,u,p,m;return[(null==(o=t.details)?void 0:o.price_bound)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},["BELOW_MINIMUM_AMOUNT"===(null==(l=t.details)?void 0:l.price_bound)&&(null==(a=null==(n=t.details)?void 0:n.band)?void 0:a.minimum_amount)?(e.openBlock(),e.createBlock(Pi,{key:0,value:t.details.band.minimum_amount},null,8,["value"])):"ABOVE_MAXIMUM_AMOUNT"===(null==(i=t.details)?void 0:i.price_bound)&&(null==(c=null==(r=t.details)?void 0:r.band)?void 0:c.maximum_amount)?(e.openBlock(),e.createBlock(Pi,{key:1,value:t.details.band.maximum_amount},null,8,["value"])):["NOT_HIT","RATIO","BELOW_MINIMUM_NUMBER","ABOVE_MAXIMUM_NUMBER"].includes(null==(s=t.details)?void 0:s.price_bound)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[(null==(d=t.details)?void 0:d.band)&&t.details.band.amount?(e.openBlock(),e.createBlock(Pi,{key:0,value:t.details.band.amount},null,8,["value"])):e.createCommentVNode("",!0),(null==(u=t.details)?void 0:u.band)&&"percentage"in t.details.band?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createTextVNode(e.toDisplayString(t.details.band.percentage)+"% ",1)],64)):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[(null==(p=t.details)?void 0:p.band)&&t.details.band.amount?(e.openBlock(),e.createBlock(Pi,{key:0,value:t.details.band.amount},null,8,["value"])):e.createCommentVNode("",!0),(null==(m=t.details)?void 0:m.band)&&"percentage"in t.details.band?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createTextVNode(e.toDisplayString(t.details.band.percentage)+"% ",1)],64)):e.createCommentVNode("",!0)],64))]}),_:1})),e.createVNode(ad,{number:"",class:"align-top"},{default:e.withCtx(()=>[t.hideTaxDetails?e.createCommentVNode("",!0):(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(t.taxCategories,(t,o)=>(e.openBlock(),e.createElementBlock("div",{key:o,class:"tabular-nums"},[e.createElementVNode("div",null,e.toDisplayString(t.percentage)+"%",1),e.createElementVNode("div",Rd,[e.createVNode(Pi,{value:t.tax_amount},null,8,["value"])])]))),128))]),_:1}),e.createVNode(ad,{number:"",class:"align-top"},{default:e.withCtx(()=>{var n,a,i,r;return[(null==(a=null==(n=t.details)?void 0:n.amount)?void 0:a.currency)&&(null==(r=null==(i=t.details)?void 0:i.amount)?void 0:r.quantity)?(e.openBlock(),e.createElementBlock("div",Fd,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.taxCategories,(l,n)=>{var a;return e.openBlock(),e.createElementBlock("div",{key:n,class:"inline-block"},[e.createElementVNode("div",Ud,[e.createVNode(Pi,{value:t.details.amount},null,8,["value"]),(null==(a=t.details)?void 0:a.pricing_amount.quantity)!==t.details.amount.quantity?(e.openBlock(),e.createBlock(Ic,{key:0,placement:"top-end"},{tooltip:e.withCtx(()=>[e.createVNode(Gc,null,{default:e.withCtx(()=>[e.createVNode(jc,null,{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(o).$t({id:"invoice.line.original_currency",defaultMessage:"Original currency",description:"Original currency"}))+" ",1),e.createVNode(Pi,{value:t.details.pricing_amount,class:"font-semibold"},null,8,["value"])]),_:1})]),_:1})]),default:e.withCtx(()=>[e.createVNode(w,{icon:"info",size:"2xs"})]),_:1})):e.createCommentVNode("",!0)]),t.hideTaxDetails?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",Gd,["INCLUDING_TAX"===t.amountType?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createTextVNode(e.toDisplayString(e.unref(o).$t({id:"invoice.line.excl.tax",defaultMessage:"Excl. tax",description:"Value excludes tax"}))+" ",1),e.createVNode(Pi,{value:l.base_amount},null,8,["value"])],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createTextVNode(e.toDisplayString(e.unref(o).$t({id:"invoice.line.incl.tax",defaultMessage:"Incl. tax",description:"Value includes tax"}))+" ",1),e.createVNode(Pi,{value:l.total_amount},null,8,["value"])],64))]))])}),128)),e.renderSlot(l.$slots,"one-off-line-context-menu")])):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createTextVNode("-")],64))]}),_:3})],64))}}),Qd=["tabindex","onClick"],Kd=e.defineComponent({__name:"InvoiceLineGroup",props:{group:{},startDate:{},endDate:{},total:{},amountType:{},invoicePeriodOrder:{},processingOnlyCustomers:{}},setup(t){const o=t,l=e.computed(()=>{var e;return null==(e=[...o.group.lines??[]])?void 0:e.sort((e,t)=>e.line_order-t.line_order)}),n=Gn(),{getIsOpen:a,toggle:i}=fa(),r=(e,t)=>`${e}-line-${t}`;return(o,c)=>(e.openBlock(),e.createElementBlock("div",null,[e.createVNode(nd,null,{default:e.withCtx(()=>[e.createElementVNode("tr",null,[e.createVNode(id,{left:"",class:"text-gray-400 w-1/5"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(n).$t({id:"invoice.table_header.unit",defaultMessage:"Unit",description:"Table header for the column containing the number of units of invoice groups"})),1)]),_:1}),e.createVNode(id,{right:"",class:"text-gray-400 w-1/5"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(n).$t({id:"invoice.table_header.quantity",defaultMessage:"Quantity",description:"Table header for quantity column"})),1)]),_:1}),e.createVNode(id,{right:"",class:"text-gray-400 w-1/5"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(n).$t({id:"invoice.table_header.price",defaultMessage:"Price",description:"Table header for the column containing the number of units of invoice groups"})),1)]),_:1}),e.createVNode(id,{right:"",class:"text-gray-400 w-1/5"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(n).$t({id:"invoice.table_header.tax_rate",defaultMessage:"Tax rate",description:"Table header for the column containing the tax percentage of invoice groups"})),1)]),_:1}),e.createVNode(id,{right:"",class:"text-gray-400 w-1/5"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(n).$t({id:"invoice.table_header.sub_total",defaultMessage:"Subtotal",description:"Table header for the column containing the subtotal for invoices"})),1)]),_:1})]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.value,(n,c)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:c},[e.createElementVNode("tr",{tabindex:n.sub_lines?0:void 0,class:e.normalizeClass(["group",{"cursor-pointer":n.sub_lines,"border-t":0!==c}]),onClick:e=>{return o=t.group.group_order,l=n.line_order,void i(r(o,l));var o,l}},[(e.openBlock(),e.createBlock(Ad,{key:c,data:n,"is-first-in-group":0===c,"period-order":t.invoicePeriodOrder,"group-order":t.group.group_order,"is-last":c===l.value.length-1,"group-type":t.group.type,"is-expanded":e.unref(a)(r(t.group.group_order,n.line_order))},{"invoice-line-prefix":e.withCtx(t=>[e.renderSlot(o.$slots,"invoice-line-prefix",e.mergeProps({ref_for:!0},t))]),"line-content":e.withCtx(l=>[e.createVNode(jd,{details:l.details,"pricing-type":n.pricing_type,"tax-categories":n.tax_categories,"amount-type":t.amountType},e.createSlots({_:2},["ONE_OFF"===n.type?{name:"one-off-line-context-menu",fn:e.withCtx(t=>[e.renderSlot(o.$slots,"one-off-line-context-menu",e.mergeProps({ref_for:!0},t,{lineOrder:n.line_order}))]),key:"0"}:void 0]),1032,["details","pricing-type","tax-categories","amount-type"])]),_:2},1032,["data","is-first-in-group","period-order","group-order","is-last","group-type","is-expanded"]))],10,Qd),e.createVNode(ud,{ref_for:!0,ref:r(t.group.group_order,n.line_order),"sub-lines":n.sub_lines??[],"processing-only-customers":t.processingOnlyCustomers,"line-order":n.line_order,"is-open":e.unref(a)(r(t.group.group_order,n.line_order)),"period-order":t.invoicePeriodOrder,"group-order":t.group.group_order},{"invoice-line-prefix":e.withCtx(t=>[e.renderSlot(o.$slots,"invoice-line-prefix",e.mergeProps({ref_for:!0},t))]),"subline-content":e.withCtx(o=>[e.createVNode(jd,{details:o.details,"hide-tax-details":o.hideTaxDetails,"pricing-type":n.pricing_type,"tax-categories":n.tax_categories,"amount-type":t.amountType},null,8,["details","hide-tax-details","pricing-type","tax-categories","amount-type"])]),_:2},1032,["sub-lines","processing-only-customers","line-order","is-open","period-order","group-order"])],64))),128))]),_:3})]))}}),Wd=["tabindex"],Yd={key:2,class:"inline-flex justify-center items-center w-3.5 h-3.5 rounded-full bg-blue-100 text-blue-600 text-2xs ml-1 font-bold"},Xd={key:0},Jd={colspan:"2",class:"p-0"},eu={class:"px-9 py-3 -mx-9 bg-gray-50 text-xs"},tu=e.defineComponent({__name:"InvoiceGroupRevenue",props:{group:{},expandedItems:{},handleToggleItems:{type:Function},formatIndex:{type:Function},invoicePeriodOrder:{},groupOrder:{},isExpandable:{type:Boolean},amountType:{},processingOnlyCustomers:{}},setup:t=>(o,l)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("tr",{class:e.normalizeClass(["border-t",{"cursor-pointer":t.isExpandable}]),tabindex:t.isExpandable?0:void 0,onClick:l[0]||(l[0]=e=>t.handleToggleItems(t.formatIndex(t.invoicePeriodOrder,t.groupOrder))),onKeyup:[l[1]||(l[1]=e.withKeys(e=>t.handleToggleItems(t.formatIndex(t.invoicePeriodOrder,t.groupOrder)),["enter"])),l[2]||(l[2]=e.withKeys(e=>t.handleToggleItems(t.formatIndex(t.invoicePeriodOrder,t.groupOrder)),["space"]))]},[e.createVNode(ad,{class:"p-0"},{default:e.withCtx(()=>{var o,l,n,a;return[t.isExpandable?(e.openBlock(),e.createBlock(w,{key:0,icon:"keyboard_arrow_down",size:"md",class:e.normalizeClass(["-translate-x-7 absolute text-slate-400",{"-rotate-90":!t.expandedItems.includes(t.formatIndex(t.invoicePeriodOrder,t.groupOrder))}])},null,8,["class"])):e.createCommentVNode("",!0),(null==(o=t.group.pricing)?void 0:o.name)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createTextVNode(e.toDisplayString(t.group.pricing.name)+" ",1),(null==(l=t.group.products)?void 0:l.length)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createTextVNode(" - ")],64)):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0),e.createTextVNode(" "+e.toDisplayString(e.unref(Qa)((null==(n=t.group.products)?void 0:n.map(e=>e.name))??[]))+" ",1),t.isExpandable?(e.openBlock(),e.createElementBlock("span",Yd,e.toDisplayString(null==(a=t.group.lines)?void 0:a.length),1)):e.createCommentVNode("",!0)]}),_:1}),e.createVNode(ad,{number:""},{default:e.withCtx(()=>["INCLUDING_TAX"===t.amountType?(e.openBlock(),e.createBlock(Pi,{key:0,value:t.group.amount_including_tax},null,8,["value"])):(e.openBlock(),e.createBlock(Pi,{key:1,value:t.group.amount_excluding_tax},null,8,["value"]))]),_:1})],42,Wd),t.expandedItems.includes(t.formatIndex(t.invoicePeriodOrder,t.groupOrder))?(e.openBlock(),e.createElementBlock("tr",Xd,[e.createElementVNode("td",Jd,[e.createElementVNode("div",eu,[e.createVNode(Kd,{"invoice-period-order":t.invoicePeriodOrder,"start-date":t.group.start_at,"end-date":t.group.end_at,total:t.group.amount_excluding_tax,group:t.group,"amount-type":t.amountType,"processing-only-customers":t.processingOnlyCustomers},{"invoice-line-prefix":e.withCtx(t=>[e.renderSlot(o.$slots,"invoice-line-prefix",e.normalizeProps(e.guardReactiveProps(t)))]),"one-off-line-context-menu":e.withCtx(l=>[e.renderSlot(o.$slots,"one-off-line-context-menu",e.mergeProps(l,{groupOrder:t.groupOrder}))]),_:3},8,["invoice-period-order","start-date","end-date","total","group","amount-type","processing-only-customers"])])])])):e.createCommentVNode("",!0)],64))}),ou={class:"flex items-center justify-between md:py-2"},lu=e.defineComponent({__name:"InvoiceHeader",props:{invoice:{},paymentAttempts:{},downloadService:{},showDownloadButton:{type:Boolean},variant:{default:"internal"}},setup(t){const l=t,{$t:n,formatDate:a}=Gn(),i=e.computed(()=>l.paymentAttempts.findLast(e=>"AUTHORIZED"===e.result)),r=e.computed(()=>n({defaultMessage:"Due on {date}",description:"Label for due date, where {date} gets replaced with the due date",id:"invoice.due_on_label"},{date:a({date:l.invoice.due_date,format:"date",offsetType:"offsetted",timezone:l.invoice.customer.timezone})})),c=e.computed(()=>a({date:l.invoice.invoice_date,format:"date",offsetType:"offsetted",timezone:l.invoice.customer.timezone})),s=e.computed(()=>"external"===l.variant?c.value:l.invoice.invoice_number||"N/A"),d=e.computed(()=>{if(l.invoice.paid&&i.value)return n({defaultMessage:"Paid on {date}",description:"Label for payment date, where {date} gets replaced with the date",id:"invoice.paid_on_label"},{date:a({date:i.value.created_at,format:"date",offsetType:"offsetted",timezone:l.invoice.customer.timezone})})}),u=e.computed(()=>"external"===l.variant?[l.invoice.invoice_number,d.value||r.value].join(" - "):d.value||r.value);return(l,a)=>(e.openBlock(),e.createElementBlock("div",ou,[e.createVNode(Js,{title:s.value},{suffix:e.withCtx(()=>[t.invoice.paid?(e.openBlock(),e.createBlock(Qn,{key:0,color:"green",class:"ml-2"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(n)({defaultMessage:"Paid",description:"The paid chip label text for a paid invoice",id:"invoice.paid_chip"})),1)]),_:1})):e.createCommentVNode("",!0)]),subTitle:e.withCtx(()=>[e.createVNode(o,{variant:"body-xs",class:"flex gap-1"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(u.value),1)]),_:1})]),_:1},8,["title"]),t.showDownloadButton?(e.openBlock(),e.createBlock(js,{key:0,size:"lg",variant:"outline","download-service":t.downloadService,"mobile-icon-only":""},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(n)({defaultMessage:"Download PDF",description:"Title for button download pdf invoice",id:"invoice.download_pdf_button"})),1)]),_:1},8,["download-service"])):e.createCommentVNode("",!0)]))}}),nu=e.defineComponent({__name:"invoicePreviewRow",props:{weight:{default:"normal"},variant:{default:"body-xs"},noSpacing:{type:Boolean,default:!1}},setup:t=>(l,n)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["flex flex-row gap-2",{"py-1.5":!t.noSpacing}])},[e.createVNode(o,{tag:"span",variant:t.variant,class:"grow",weight:t.weight},{default:e.withCtx(()=>[e.renderSlot(l.$slots,"label")]),_:3},8,["variant","weight"]),e.createVNode(o,{tag:"span",variant:t.variant,weight:t.weight},{default:e.withCtx(()=>[e.renderSlot(l.$slots,"value")]),_:3},8,["variant","weight"])],2))}),au=e.defineComponent({__name:"Skeleton",props:{widthClass:{default:"w-10"},heightClass:{default:"h-3"},shade:{default:"default"}},setup:t=>(o,l)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["rounded",[t.widthClass,t.heightClass,{"bg-gray-50/50":"default"===t.shade,"bg-gray-100/50":"dark"===t.shade,"bg-gray-200/50":"darker"===t.shade,"bg-gray-400/50":"darkest"===t.shade}]])},null,2))}),iu=e.defineComponent({__name:"InvoicePreviewNoTaxesSkeleton",props:{widthClass:{default:"w-12"},heightClass:{default:"h-5"}},setup(t){const{$t:o}=Gn();return(l,n)=>(e.openBlock(),e.createBlock(Ic,{"is-dark-mode":""},{tooltip:e.withCtx(()=>[e.createVNode(Gc,null,{default:e.withCtx(()=>[e.createVNode(jc,null,{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(o)({defaultMessage:"Will be determined by billing information",description:"Tooltip content for the invoice preview when taxes are not determined by billing information",id:"invoice_preview.taxes_not_determined_by_billing_information_tooltip"})),1)]),_:1})]),_:1})]),default:e.withCtx(()=>[e.createVNode(au,{"width-class":t.widthClass,"height-class":t.heightClass,shade:"darker"},null,8,["width-class","height-class"])]),_:1}))}}),ru=e.defineComponent({__name:"InvoicePreviewGroups",props:{invoice:{},wrapperComponent:{}},setup(t){const o=e=>e.groups.reduce((e,t)=>t.type in e?{...e,[t.type]:[...e[t.type],t]}:{...e,[t.type]:[t]},{}),l=e=>{var t,o,l;return(null==(t=e.pricing)?void 0:t.name)&&!c(null==(o=e.pricing)?void 0:o.name)?e.pricing.name:Qa((null==(l=e.products)?void 0:l.map(e=>e.name))??[])};return(n,a)=>(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.invoice.periods,(n,a)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:a},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Object.entries(o(n)),([o,n])=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:o},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(n,(o,n)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.wrapperComponent??"div"),{key:n},{default:e.withCtx(()=>[e.createVNode(nu,{"no-spacing":void 0!==t.wrapperComponent},{label:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(l(o)),1)]),value:e.withCtx(()=>[e.createVNode(Pi,{value:o.amount_excluding_tax},null,8,["value"])]),_:2},1032,["no-spacing"])]),_:2},1024))),128))],64))),128))],64))),128))}}),cu={class:"flex flex-col"},su={key:0},du=e.defineComponent({__name:"InvoicePreview",props:{invoice:{},trialInvoice:{},isCustomerFacing:{type:Boolean,default:!1},variant:{default:"default"},isPaid:{type:Boolean,default:!1},collapsible:{default:void 0},isPreviewWithoutTaxes:{type:Boolean}},setup(t){const l=t,{$t:n}=Gn(),a=e.ref(void 0!==l.collapsible&&"expanded"!==l.collapsible),i=e.computed(()=>void 0!==l.collapsible),r=e.computed(()=>!!l.trialInvoice),c=e.computed(()=>l.trialInvoice?l.trialInvoice.tax_summary.total_amount:l.invoice.tax_summary.total_amount),s=()=>{i.value&&(a.value=!a.value)};return(l,d)=>(e.openBlock(),e.createElementBlock("div",cu,[e.createVNode(Zc,null,{default:e.withCtx(()=>[a.value?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",su,[r.value?(e.openBlock(),e.createBlock(o,{key:0,variant:"caps-heading"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(n)({id:"invoice_preview.after_trial_heading",defaultMessage:"After trial",description:"After trial heading for the invoice preview"})),1)]),_:1})):e.createCommentVNode("",!0),"without-products"!==t.variant?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createVNode(ru,{invoice:t.invoice},null,8,["invoice"]),e.createVNode(N,{spacing:"xxs"})],64)):e.createCommentVNode("",!0),e.createVNode(nu,null,{label:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(n)({id:"invoice_preview.total_excluding_taxes_heading",defaultMessage:"Total excluding taxes",description:"Total excluding taxes heading for the invoice preview"})),1)]),value:e.withCtx(()=>[e.createVNode(Pi,{value:t.invoice.tax_summary.base_amount},null,8,["value"])]),_:1}),e.createVNode(nu,null,{label:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(n)({id:"invoice_preview.taxes_heading",defaultMessage:"Taxes",description:"Taxes heading for the invoice preview"})),1)]),value:e.withCtx(()=>[t.isPreviewWithoutTaxes?(e.openBlock(),e.createBlock(iu,{key:0,"width-class":"w-10","height-class":"h-4"})):(e.openBlock(),e.createBlock(Pi,{key:1,value:t.invoice.tax_summary.tax_amount},null,8,["value"]))]),_:1}),r.value?(e.openBlock(),e.createBlock(nu,{key:2},{label:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(n)({id:"invoice_preview.total_including_taxes_heading",defaultMessage:"Total including taxes",description:"Total including taxes heading for the invoice preview"})),1)]),value:e.withCtx(()=>[t.isPreviewWithoutTaxes?(e.openBlock(),e.createBlock(iu,{key:0,"width-class":"w-10","height-class":"h-4"})):(e.openBlock(),e.createBlock(Pi,{key:1,value:t.invoice.tax_summary.total_amount},null,8,["value"]))]),_:1})):e.createCommentVNode("",!0),e.createVNode(N,{spacing:"xxs"})]))]),_:1}),(e.openBlock(),e.createBlock(e.resolveDynamicComponent(i.value?"button":"div"),{class:e.normalizeClass({"hover:cursor-pointer text-left":i.value}),onClick:s},{default:e.withCtx(()=>[e.createVNode(nu,{weight:"semibold",variant:"body-sm"},{label:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.isPaid?e.unref(n)({id:"invoice_preview.total_paid_heading",defaultMessage:"Total paid",description:"Total paid heading for the invoice preview"}):e.unref(n)({id:"invoice_preview.total_due_today_heading",defaultMessage:"Total due today",description:"Total due today heading for the invoice preview"}))+" ",1),i.value?(e.openBlock(),e.createBlock(w,{key:0,size:"xs",icon:"keyboard_arrow_down",class:e.normalizeClass(["transition ease-in-out text-gray-400",{"rotate-0":a.value,"rotate-180":!a.value}])},null,8,["class"])):e.createCommentVNode("",!0)]),value:e.withCtx(()=>[t.isPreviewWithoutTaxes&&(!r.value||r.value&&"0.00"!==c.value.quantity)?(e.openBlock(),e.createBlock(iu,{key:0})):(e.openBlock(),e.createBlock(Pi,{key:1,value:c.value},null,8,["value"]))]),_:1})]),_:1},8,["class"]))]))}});function uu(t){return"function"==typeof t?t():e.unref(t)}"undefined"!=typeof WorkerGlobalScope&&(globalThis,WorkerGlobalScope);const pu={key:0,totals:"",class:"border-t"},mu=e.defineComponent({__name:"InvoiceSummaryTotalExcludingTax",props:{baseAmount:{}},setup(t){const o=Gn();return(l,n)=>t.baseAmount?(e.openBlock(),e.createElementBlock("tr",pu,[e.createVNode(ad,null,{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(o).$t({id:"invoice.table_header.total_excluding_taxes",defaultMessage:"Total excluding taxes",description:"Table row header for the total excluding taxes column in the invoice table"})),1)]),_:1}),e.createVNode(ad,{number:""},{default:e.withCtx(()=>[e.createVNode(Pi,{value:t.baseAmount},null,8,["value"])]),_:1})])):e.createCommentVNode("",!0)}}),fu={key:0,class:"font-bold border-t"},hu=e.defineComponent({__name:"InvoiceSummaryTotalIncludingTax",props:{totalAmount:{},isCustomerFacing:{type:Boolean}},setup(t){const o=Gn();return(l,n)=>t.totalAmount?(e.openBlock(),e.createElementBlock("tr",fu,[e.createVNode(ad,{class:"font-bold"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.isCustomerFacing?e.unref(o).$t({id:"invoice.table_header.total_including_taxes_customer_facing",defaultMessage:"Total due today",description:"Table row header for the total including taxes column in the invoice table for a customer facing component"}):e.unref(o).$t({id:"invoice.table_header.total_including_taxes",defaultMessage:"Total including taxes",description:"Table row header for the total including taxes column in the invoice table"})),1)]),_:1}),e.createVNode(ad,{number:""},{default:e.withCtx(()=>[e.createVNode(Pi,{value:t.totalAmount},null,8,["value"])]),_:1})])):e.createCommentVNode("",!0)}}),vu={key:0,colspan:"4",class:"p-0"},gu=e.defineComponent({__name:"InvoiceTaxes",props:{taxCategories:{}},setup(t){const o=Gn();return(l,n)=>(e.openBlock(),e.createBlock(nd,{class:"table-fixed"},{default:e.withCtx(()=>[e.createElementVNode("tr",null,[e.createVNode(id,{left:""},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(o).$t({id:"invoice.table_header.tax type",defaultMessage:"Tax type",description:"Table header for the column containing the tax type"})),1)]),_:1}),e.createVNode(id,{right:""},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(o).$t({id:"invoice.table_header.base amount",defaultMessage:"Base amount",description:"Table header for the column containing the base amount"})),1)]),_:1}),e.createVNode(id,{right:""},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(o).$t({id:"invoice.table_header.tax_percentage",defaultMessage:"Percentage",description:"Table header for the column containing the tax percentage"})),1)]),_:1}),e.createVNode(id,{right:""},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(o).$t({id:"invoice.table_header.tax amount",defaultMessage:"Tax amount",description:"Table header for the column containing the tax amount"})),1)]),_:1})]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.taxCategories,(t,o)=>(e.openBlock(),e.createElementBlock("tr",{key:o},[t.rates?(e.openBlock(),e.createElementBlock("td",vu,[e.createVNode(nd,{class:"table-fixed"},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.rates,(o,l)=>(e.openBlock(),e.createElementBlock("tr",{key:l},[e.createVNode(ad,null,{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(o.name)+" ("+e.toDisplayString(t.category)+") ",1)]),_:2},1024),e.createVNode(ad,{number:""},{default:e.withCtx(()=>[e.createVNode(Pi,{value:t.base_amount},null,8,["value"])]),_:2},1024),e.createVNode(ad,{number:""},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(o.percentage)+"%",1)]),_:2},1024),e.createVNode(ad,{number:""},{default:e.withCtx(()=>[e.createVNode(Pi,{value:o.tax_amount},null,8,["value"])]),_:2},1024)]))),128))]),_:2},1024)])):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createVNode(ad,null,{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.name)+" ("+e.toDisplayString(t.category)+") ",1)]),_:2},1024),e.createVNode(ad,{number:""},{default:e.withCtx(()=>[e.createVNode(Pi,{value:t.base_amount},null,8,["value"])]),_:2},1024),e.createVNode(ad,{number:""},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.percentage)+"%",1)]),_:2},1024),e.createVNode(ad,{number:""},{default:e.withCtx(()=>[e.createVNode(Pi,{value:t.tax_amount},null,8,["value"])]),_:2},1024)],64))]))),128))]),_:1}))}}),yu={class:"flex items-start justify-between"},bu={key:0,class:"max-h-9"},xu={class:"flex flex-col gap-2"},ku={key:0},_u=["tabindex"],wu={key:1,class:"ml-1 inline-flex h-3.5 w-3.5 items-center justify-center rounded-full bg-blue-100 text-2xs font-bold text-blue-600"},Bu={key:3},Cu={colspan:"2",class:"p-0"},Eu={class:"-mx-9 bg-gray-50 px-9 py-3 text-xs"},Nu=["tabindex","onClick","onKeyup"],Tu={key:1,class:"ml-1 inline-flex h-3.5 w-3.5 items-center justify-center rounded-full bg-blue-100 text-2xs font-bold text-blue-600"},Mu={key:0},Vu={colspan:"2",class:"p-0"},Su={class:"-mx-9 bg-gray-50 px-9 py-3 text-xs"},zu={key:0,class:"border-t font-bold"},Pu=e.defineComponent({__name:"InvoiceSummary",props:{invoice:{},isExpandable:{type:Boolean,default:!1},isInvoiceLineCreatable:{type:Boolean,default:!1},showRenderedServicesHeader:{type:Boolean,default:!0},isCustomerFacing:{type:Boolean}},setup(t){const l=Gn(),n=t,[a,i]=ha(),[r,s]=ha(),[d,u]=function(t=!1,o={}){const{truthyValue:l=!0,falsyValue:n=!1}=o,a=e.isRef(t),i=e.ref(t);function r(e){if(arguments.length)return i.value=e,i.value;{const e=uu(l);return i.value=i.value===e?uu(n):e,i.value}}return a?r:[i,r]}(),p=(...e)=>{n.isExpandable&&i(...e)},m=e=>{n.isExpandable&&s(e)},f=()=>{n.invoice.tax_categories&&n.isExpandable&&u()},h=(e,t)=>+`${e}${t}`,v=e=>l.$t({id:"invoice.service_period_heading",defaultMessage:"Service period - {start_at} - {end_at}",description:"Heading for rendered services where {start_at} is replaced for the start date and {end_at} for the end date in invoice summary"},{start_at:l.formatDate({date:e.start_at,format:"date",timezone:xo(n.invoice.customer.timezone),offsetType:"offsetted"}),end_at:l.formatDate({date:e.end_at,format:"date",timezone:xo(n.invoice.customer.timezone),offsetType:"offsetted"})}),g=e=>{switch(e){case"PRICING":case"REVENUE":return l.$t({id:"invoice.table_heading.products",defaultMessage:"Products",description:"Table heading for the column containing the products of the invoice"});case"COMMITMENT":return l.$t({id:"invoice.table_heading.commitments",defaultMessage:"Commitments",description:"Table heading for the column containing the commitments of the invoice"});case"DISCOUNT":return l.$t({id:"invoice.table_heading.discounts",defaultMessage:"Discounts",description:"Table heading for the column containing the discounts of the invoice"});case"MARKUP":return l.$t({id:"invoice.table_heading.markups",defaultMessage:"Markups",description:"Table heading for the column containing the markups of the invoice"});case"ONE_OFF":return l.$t({id:"invoice.table_heading.one_offs",defaultMessage:"One-off's",description:"Table heading for the column containing the one-offs of the invoice"})}},y=e=>e.groups.reduce((e,t)=>t.type in e?{...e,[t.type]:[...e[t.type],t]}:{...e,[t.type]:[t]},{});return(n,i)=>(e.openBlock(),e.createElementBlock("div",null,[e.createElementVNode("div",yu,[n.$slots.logo?(e.openBlock(),e.createElementBlock("div",bu,[e.renderSlot(n.$slots,"logo")])):(e.openBlock(),e.createBlock(Js,{key:1,title:e.unref(l).$t({id:"invoice.title",defaultMessage:"Details",description:"Title for the invoice summary"}),variant:"neutral",icon:"draft"},null,8,["title"])),n.$slots.intro?e.renderSlot(n.$slots,"intro",{key:2}):e.createCommentVNode("",!0),e.createElementVNode("div",xu,[["ONE_OFF","STANDARD","ONE_OFF_CREDIT"].includes(t.invoice.type)&&["DRAFT","OPEN"].includes(t.invoice.status)&&t.isInvoiceLineCreatable?(e.openBlock(),e.createBlock(Mc,{key:0,to:{name:"invoice-add-line",params:{id:t.invoice.id}},class:"text-sm font-semibold"},{default:e.withCtx(()=>[e.createVNode(w,{icon:"add",size:"md",class:"mr-1"}),e.createElementVNode("span",null,e.toDisplayString(e.unref(l).$t({id:"invoice.add_invoice_line",defaultMessage:"Add invoice line",description:"Label for adding lines to an invoice"})),1)]),_:1},8,["to"])):e.createCommentVNode("",!0),e.renderSlot(n.$slots,"child-customers-selector")])]),n.$slots.total?e.renderSlot(n.$slots,"total",{key:0}):e.createCommentVNode("",!0),e.renderSlot(n.$slots,"notes"),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.invoice.periods,(r,c)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:c},[t.showRenderedServicesHeader?(e.openBlock(),e.createBlock(E,{key:0,class:"mt-6"},{default:e.withCtx(()=>[e.createVNode(o,{tag:"h2",variant:"caps-heading"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(v(r)),1)]),_:2},1024)]),_:2},1024)):e.createCommentVNode("",!0),r.groups?(e.openBlock(),e.createBlock(nd,{key:1,class:e.normalizeClass({"mt-3":t.showRenderedServicesHeader})},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Object.entries(y(r)),([o,c],s)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:o},[s>0?(e.openBlock(),e.createElementBlock("tr",ku,[...i[0]||(i[0]=[e.createElementVNode("td",null,[e.createElementVNode("div",{class:"h-4"})],-1)])])):e.createCommentVNode("",!0),e.createElementVNode("tr",null,[e.createVNode(id,{left:"",class:"text-gray-600"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(g(o)),1)]),_:2},1024),e.createVNode(id,{right:"",class:"text-gray-600"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(l).$t({id:"invoice.amount_table_heading",defaultMessage:"Amount",description:"Table heading for the amount column in the invoice table"})),1)]),_:1})]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(c,(i,c)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:c},["REVENUE"===o||"PRICING"===o||"ONE_OFF"===o?(e.openBlock(),e.createBlock(tu,{key:0,group:i,"expanded-items":e.unref(a),"handle-toggle-items":p,"is-expandable":t.isExpandable,"format-index":h,"invoice-period-order":r.period_order,"group-order":i.group_order,"amount-type":t.invoice.pricing_amount_type,"processing-only-customers":t.invoice.processing_only_customers},{"invoice-line-prefix":e.withCtx(t=>[e.renderSlot(n.$slots,"invoice-line-prefix",e.mergeProps({ref_for:!0},t))]),"one-off-line-context-menu":e.withCtx(t=>[e.renderSlot(n.$slots,"one-off-line-context-menu",e.mergeProps({ref_for:!0},t,{periodOrder:r.period_order}))]),_:2},1032,["group","expanded-items","is-expandable","invoice-period-order","group-order","amount-type","processing-only-customers"])):"DISCOUNT"===o||"MARKUP"===o?(e.openBlock(),e.createBlock(Nd,{key:1,group:i,"expanded-items":e.unref(a),"handle-toggle-items":p,"is-expandable":t.isExpandable,"format-index":h,"invoice-period-order":r.period_order,"group-order":i.group_order,"amount-type":t.invoice.pricing_amount_type,heading:"DISCOUNT"===o?e.unref(l).$t({id:"invoice.discounts_table_heading",defaultMessage:"Discounts",description:"Heading for discounts in the invoice table"}):e.unref(l).$t({id:"invoice.markups_table_heading",defaultMessage:"Markups",description:"Heading for markups in the invoice table"})},{"invoice-line-prefix":e.withCtx(t=>[e.renderSlot(n.$slots,"invoice-line-prefix",e.mergeProps({ref_for:!0},t))]),_:3},8,["group","expanded-items","is-expandable","invoice-period-order","group-order","amount-type","heading"])):"COMMITMENT"===o?(e.openBlock(),e.createBlock(_d,{key:2,group:i,"expanded-items":e.unref(a),"handle-toggle-items":p,"is-expandable":t.isExpandable,"format-index":h,"invoice-period-order":r.period_order,"group-order":i.group_order,"amount-type":t.invoice.pricing_amount_type},{"invoice-line-prefix":e.withCtx(t=>[e.renderSlot(n.$slots,"invoice-line-prefix",e.mergeProps({ref_for:!0},t))]),_:3},8,["group","expanded-items","is-expandable","invoice-period-order","group-order","amount-type"])):e.createCommentVNode("",!0)],64))),128))],64))),128))]),_:2},1032,["class"])):e.createCommentVNode("",!0)],64))),128)),t.invoice.tax_summary?(e.openBlock(),e.createBlock(nd,{key:1,class:"mt-6"},{default:e.withCtx(()=>[e.createElementVNode("tr",null,[e.createVNode(id,{left:"",class:"text-gray-600"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(l).$t({id:"invoice.totals_table_heading",defaultMessage:"Totals",description:"Table heading for the totals column in the invoice table"})),1)]),_:1}),e.createVNode(id,{right:"",class:"text-gray-600"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(l).$t({id:"invoice.amount_table_heading",defaultMessage:"Amount",description:"Table heading for the amount column in the invoice table"})),1)]),_:1})]),"INCLUDING_TAX"===t.invoice.pricing_amount_type?(e.openBlock(),e.createBlock(hu,{key:0,"total-amount":t.invoice.tax_summary.total_amount,"is-customer-facing":t.isCustomerFacing},null,8,["total-amount","is-customer-facing"])):(e.openBlock(),e.createBlock(mu,{key:1,"base-amount":t.invoice.tax_summary.base_amount},null,8,["base-amount"])),t.invoice.tax_summary.tax_amount?(e.openBlock(),e.createElementBlock("tr",{key:2,class:e.normalizeClass([{"cursor-pointer":t.invoice.tax_categories&&t.isExpandable},"border-t"]),tabindex:t.isExpandable?0:void 0,onClick:f,onKeyup:[e.withKeys(f,["enter"]),e.withKeys(f,["space"])]},[e.createVNode(ad,null,{default:e.withCtx(()=>[t.isExpandable&&t.invoice.tax_categories&&t.invoice.tax_categories.length?(e.openBlock(),e.createBlock(w,{key:0,icon:"keyboard_arrow_down",size:"md",class:e.normalizeClass(["absolute -translate-x-7 text-slate-400",{"-rotate-90":!e.unref(d)}])},null,8,["class"])):e.createCommentVNode("",!0),e.createTextVNode(" "+e.toDisplayString(e.unref(l).$t({id:"invoice.taxes_table_heading",defaultMessage:"Taxes",description:"Table heading for the taxes column in the invoice table"}))+" ",1),t.isExpandable&&t.invoice.tax_categories?(e.openBlock(),e.createElementBlock("span",wu,e.toDisplayString(t.invoice.tax_categories.length),1)):e.createCommentVNode("",!0)]),_:1}),e.createVNode(ad,{number:""},{default:e.withCtx(()=>[e.createVNode(Pi,{value:t.invoice.tax_summary.tax_amount},null,8,["value"])]),_:1})],42,_u)):e.createCommentVNode("",!0),e.unref(d)&&t.invoice.tax_categories?(e.openBlock(),e.createElementBlock("tr",Bu,[e.createElementVNode("td",Cu,[e.createElementVNode("div",Eu,[e.createVNode(gu,{"tax-categories":t.invoice.tax_categories},null,8,["tax-categories"])])])])):e.createCommentVNode("",!0),"INCLUDING_TAX"===t.invoice.pricing_amount_type?(e.openBlock(),e.createBlock(mu,{key:4,"base-amount":t.invoice.tax_summary.base_amount},null,8,["base-amount"])):(e.openBlock(),e.createBlock(hu,{key:5,"total-amount":t.invoice.tax_summary.total_amount},null,8,["total-amount"]))]),_:1})):e.createCommentVNode("",!0),e.unref(c)(t.invoice.closed_periods)?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(nd,{key:2,class:"mt-6"},{default:e.withCtx(()=>[e.createElementVNode("tr",null,[e.createVNode(id,{left:"",class:"text-gray-600"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(l).$t({id:"invoice.already_deducted_table_heading",defaultMessage:"Already deducted",description:"Table heading for the already deducted rows in the invoice table"})),1)]),_:1})]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.invoice.closed_periods,(o,l)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:l},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.groups,(o,n)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:n},[e.createElementVNode("tr",{class:e.normalizeClass(["border-t",{"pt-6":0===l,"cursor-pointer":t.isExpandable}]),tabindex:t.isExpandable?0:void 0,onClick:e=>m(h(l,n)),onKeyup:[e.withKeys(e=>m(h(l,n)),["enter"]),e.withKeys(e=>m(h(l,n)),["space"])]},[e.createVNode(ad,{class:"p-0"},{default:e.withCtx(()=>{var a,i;return[t.isExpandable?(e.openBlock(),e.createBlock(w,{key:0,icon:"keyboard_arrow_down",size:"md",class:e.normalizeClass(["absolute -translate-x-7 text-slate-400",{"-rotate-90":!e.unref(r).includes(h(l,n))}])},null,8,["class"])):e.createCommentVNode("",!0),e.createTextVNode(" "+e.toDisplayString(e.unref(Qa)((null==(a=o.products)?void 0:a.map(e=>e.name))??[]))+" ",1),t.isExpandable?(e.openBlock(),e.createElementBlock("span",Tu,e.toDisplayString(null==(i=o.lines)?void 0:i.length),1)):e.createCommentVNode("",!0)]}),_:2},1024),e.createVNode(ad,{number:""},{default:e.withCtx(()=>[e.createVNode(Pi,{value:o.amount_excluding_tax},null,8,["value"])]),_:2},1024)],42,Nu),e.unref(r).includes(h(l,n))?(e.openBlock(),e.createElementBlock("tr",Mu,[e.createElementVNode("td",Vu,[e.createElementVNode("div",Su,[e.createVNode(Kd,{"start-date":o.start_at,"end-date":o.end_at,total:o.amount_excluding_tax,group:o,"amount-type":t.invoice.pricing_amount_type},null,8,["start-date","end-date","total","group","amount-type"])])])])):e.createCommentVNode("",!0)],64))),128))],64))),128)),t.invoice.open_invoice_amount&&!t.invoice.paid?(e.openBlock(),e.createElementBlock("tr",zu,[e.createVNode(ad,{class:"font-bold"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(l).$t({id:"invoice.amount_due_table_heading",defaultMessage:"Amount due",description:"Table heading for the amount due row in the invoice table"})),1)]),_:1}),e.createVNode(ad,{number:""},{default:e.withCtx(()=>[e.createVNode(Pi,{value:t.invoice.open_invoice_amount},null,8,["value"])]),_:1})])):e.createCommentVNode("",!0)]),_:1}))]))}}),qu=e.defineComponent({__name:"PageGridAsideCard",props:{title:{},contentSpacing:{}},setup:t=>(o,l)=>(e.openBlock(),e.createElementBlock("div",null,[e.createVNode(Jr,{spacing:"none",title:t.title},{right:e.withCtx(()=>[e.renderSlot(o.$slots,"settings")]),default:e.withCtx(()=>[e.createVNode(Vc,{spacing:t.contentSpacing},{default:e.withCtx(()=>[e.renderSlot(o.$slots,"default")]),_:3},8,["spacing"])]),_:3},8,["title"])]))}),Du={sm:"range-sm",md:"range-md",lg:"range-lg",xl:"range-xl"};const Iu=e.defineComponent({__name:"CustomStyles",props:{css:{},marker:{}},setup(t){const o=t,l=e.ref();function n(e){if(!e||!l.value)return;const t=l.value.getRootNode();if(!(t instanceof ShadowRoot))return;if(t.querySelector(`style[${o.marker}]`))return;const n=document.createElement("style");n.setAttribute(o.marker,"true"),n.textContent=e,t.appendChild(n)}return e.onMounted(()=>{o.css&&n(o.css)}),e.watch(()=>o.css,e=>{if(!e||!l.value)return;const t=l.value.getRootNode();if(!(t instanceof ShadowRoot))return;const a=t.querySelector(`style[${o.marker}]`);a?a.textContent=e:n(e)}),(t,o)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"containerRef",ref:l},[e.renderSlot(t.$slots,"default")],512))}}),$u=["data-testid"],Ou=["step","min","max","name","disabled"],Hu={key:0,class:"mt-2 text-sm text-gray-500"},Au=e.defineComponent({__name:"RangeInput",props:e.mergeModels({disabled:{type:Boolean,default:!1},label:{default:void 0},labelAfter:{type:Boolean,default:!1},max:{default:100},min:{default:0},name:{},required:{type:Boolean,default:!1},rootClass:{default:""},size:{default:"md"},steps:{default:1},variant:{default:"default"},error:{},inputWrapperClass:{}},{modelValue:{required:!0},modelModifiers:{}}),emits:["update:modelValue"],setup(t){const o=t,l=e.useModel(t,"modelValue"),n=e.useTemplateRef("inputRef");function a(){const e=n.value;if(!e)return;const t=l.value??o.min,a=(Number(t)-o.min)/(o.max-o.min)*100;e.style.setProperty("--range-percentage",`${a}%`)}const{rangeClasses:i}=function(t){return{rangeClasses:e.computed(()=>`w-full appearance-none cursor-pointer ${Du[t.size.value]}`)}}(e.toRefs(o)),r=e.computed(()=>{switch(o.size){case"xl":return"lg";case"lg":return"md";case"md":return"sm";default:return o.size}}),s=o.name??oc("range-input-"),d=e.computed(()=>null!=l.value&&l.value>o.min?()=>{l.value=(l.value??0)-o.steps}:void 0),u=e.computed(()=>null!=l.value&&l.value<o.max?()=>{l.value=(l.value??0)+o.steps}:void 0),p=e.computed(()=>["stepped","stepped-contained","stepped-ghost"].includes(o.variant)),f=e.computed(()=>"stepped-contained"===o.variant),h=e.computed(()=>f.value||"stepped-ghost"===o.variant?"ghost":"outline");return e.watch([l,n],()=>e.nextTick(a),{immediate:!0}),(o,v)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("div",e.mergeProps(o.$attrs,{class:["flex flex-col gap-2",{rootClass:t.rootClass,"flex-col-reverse":t.labelAfter}],"data-testid":e.unref(ts)(e.unref(s))}),[t.label?(e.openBlock(),e.createBlock(Ac,{key:0,for:e.unref(s),required:t.required},e.createSlots({suffix:e.withCtx(()=>[e.renderSlot(o.$slots,"label-suffix")]),default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.label)+" ",1)]),_:2},[o.$slots.tooltip?{name:"tooltip",fn:e.withCtx(()=>[e.renderSlot(o.$slots,"tooltip")]),key:"0"}:void 0]),1032,["for","required"])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass({flex:p.value,"rounded border bg-white":f.value})},[p.value?(e.openBlock(),e.createBlock(e.unref(xs),{key:0,size:r.value,variant:h.value,icon:"remove",square:"",color:"gray",disabled:!d.value||t.disabled,onMousedown:v[0]||(v[0]=e=>{var t;return null==(t=d.value)?void 0:t.call(d)})},null,8,["size","variant","disabled"])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass([{"flex grow items-center px-3":p.value,"border-x":f.value},t.inputWrapperClass])},[e.withDirectives(e.createElementVNode("input",{ref_key:"inputRef",ref:n,"onUpdate:modelValue":v[1]||(v[1]=e=>l.value=e),step:t.steps,min:t.min,max:t.max,name:e.unref(s),disabled:t.disabled,type:"range",class:e.normalizeClass(e.unref(i)),onInput:a},null,42,Ou),[[e.vModelText,l.value]])],2),p.value?(e.openBlock(),e.createBlock(e.unref(xs),{key:1,size:r.value,variant:h.value,icon:"add",square:"",color:"gray",disabled:!u.value||t.disabled,onMousedown:v[2]||(v[2]=e=>{var t;return null==(t=u.value)?void 0:t.call(u)})},null,8,["size","variant","disabled"])):e.createCommentVNode("",!0)],2)],16,$u),e.createVNode(Iu,{marker:"range-input-styles",css:e.unref("/* Base - transparent background so track styles show through */\ninput[type='range'] {\n -webkit-appearance: none;\n -moz-appearance: none;\n appearance: none;\n width: 100%;\n background: transparent;\n margin: 0.5rem 0;\n}\n\n/* Thumb - white with explicit border (required for Firefox) */\ninput[type='range']::-webkit-slider-thumb {\n -webkit-appearance: none;\n appearance: none;\n width: 1rem;\n height: 1rem;\n border: 2px solid rgb(229 231 235);\n border-radius: 50%;\n background: #ffffff;\n box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.3);\n cursor: pointer;\n transition: all 0.1s ease-in-out;\n}\n\ninput[type='range']:disabled::-webkit-slider-thumb {\n cursor: not-allowed;\n}\n\ninput[type='range']::-moz-range-thumb {\n -moz-appearance: none;\n appearance: none;\n width: 1rem;\n height: 1rem;\n border: 2px solid rgb(229 231 235);\n border-radius: 50%;\n background: #ffffff;\n box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.3);\n cursor: pointer;\n transition: all 0.1s ease-in-out;\n}\n\ninput[type='range']:disabled::-moz-range-thumb {\n cursor: not-allowed;\n}\n\ninput[type='range']:not(:disabled):hover::-webkit-slider-thumb {\n box-shadow: 0 0 0 6px color-mix(in srgb, var(--color-primary-200) 50%, transparent);\n}\n\ninput[type='range']:not(:disabled):hover::-moz-range-thumb {\n box-shadow: 0 0 0 6px color-mix(in srgb, var(--color-primary-200) 50%, transparent);\n}\n\ninput[type='range']:not(:disabled):active::-webkit-slider-thumb {\n box-shadow: 0 0 0 8px color-mix(in srgb, var(--color-primary-200) 50%, transparent);\n}\n\ninput[type='range']:not(:disabled):active::-moz-range-thumb {\n box-shadow: 0 0 0 8px color-mix(in srgb, var(--color-primary-200) 50%, transparent);\n}\n\n/* Track - WebKit */\ninput[type='range']::-webkit-slider-runnable-track {\n width: 100%;\n height: 0.5rem;\n cursor: pointer;\n background: linear-gradient(\n to right,\n var(--color-primary-600) var(--range-percentage, 0%),\n #e0e5eb var(--range-percentage, 0%)\n );\n border-radius: 0.25rem;\n}\n\ninput[type='range']:disabled::-webkit-slider-runnable-track {\n background: #e0e5eb;\n cursor: not-allowed;\n}\n\n/* Track - Mozilla */\ninput[type='range']::-moz-range-track {\n width: 100%;\n height: 0.5rem;\n cursor: pointer;\n background: linear-gradient(\n to right,\n var(--color-primary-600) var(--range-percentage, 0%),\n #e0e5eb var(--range-percentage, 0%)\n );\n border-radius: 0.25rem;\n}\n\ninput[type='range']:disabled::-moz-range-track {\n background: #e0e5eb;\n cursor: not-allowed;\n}\n\n/* Size: sm */\ninput[type='range'].range-sm::-webkit-slider-thumb {\n width: 0.8rem;\n height: 0.8rem;\n margin-top: -0.2rem;\n}\n\ninput[type='range'].range-sm::-moz-range-thumb {\n width: 0.8rem;\n height: 0.8rem;\n}\n\ninput[type='range'].range-sm::-webkit-slider-runnable-track {\n height: 0.4rem;\n border-radius: 0.2rem;\n}\n\ninput[type='range'].range-sm::-moz-range-track {\n height: 0.4rem;\n border-radius: 0.2rem;\n}\n\n/* Size: md */\ninput[type='range'].range-md::-webkit-slider-thumb {\n width: 1rem;\n height: 1rem;\n margin-top: -0.25rem;\n}\n\ninput[type='range'].range-md::-moz-range-thumb {\n width: 1rem;\n height: 1rem;\n}\n\ninput[type='range'].range-md::-webkit-slider-runnable-track {\n height: 0.5rem;\n border-radius: 0.25rem;\n}\n\ninput[type='range'].range-md::-moz-range-track {\n height: 0.5rem;\n border-radius: 0.25rem;\n}\n\n/* Size: lg */\ninput[type='range'].range-lg::-webkit-slider-thumb {\n width: 1.4rem;\n height: 1.4rem;\n margin-top: -0.35rem;\n}\n\ninput[type='range'].range-lg::-moz-range-thumb {\n width: 1.4rem;\n height: 1.4rem;\n}\n\ninput[type='range'].range-lg::-webkit-slider-runnable-track {\n height: 0.7rem;\n border-radius: 0.35rem;\n}\n\ninput[type='range'].range-lg::-moz-range-track {\n height: 0.7rem;\n border-radius: 0.35rem;\n}\n\n/* Size: xl */\ninput[type='range'].range-xl::-webkit-slider-thumb {\n width: 1.8rem;\n height: 1.8rem;\n margin-top: -0.5rem;\n}\n\ninput[type='range'].range-xl::-moz-range-thumb {\n width: 1.8rem;\n height: 1.8rem;\n}\n\ninput[type='range'].range-xl::-webkit-slider-runnable-track {\n height: 0.9rem;\n border-radius: 0.45rem;\n}\n\ninput[type='range'].range-xl::-moz-range-track {\n height: 0.9rem;\n border-radius: 0.45rem;\n}\n")},null,8,["css"]),!e.unref(c)(t.error)||o.$slots.helper?(e.openBlock(),e.createElementBlock("div",Hu,[e.unref(c)(t.error)?o.$slots.helper?e.renderSlot(o.$slots,"helper",{key:1}):e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(m,{key:0,message:t.error},null,8,["message"]))])):e.createCommentVNode("",!0)],64))}}),Lu=e.defineComponent({__name:"RangeInputExtended",props:e.mergeModels({options:{default:()=>[]},label:{},name:{},required:{type:Boolean,default:!1},rootClass:{},size:{default:"md"},variant:{},error:{},disabled:{type:Boolean},labelAfter:{type:Boolean},inputWrapperClass:{}},{modelValue:{required:!0},modelModifiers:{}}),emits:["update:modelValue"],setup(t){const o=t,l=e.useModel(t,"modelValue"),n=e.computed({get:()=>{const e=l.value?o.options.findIndex(e=>e===l.value):0;return e>=0?e:0},set:e=>(l.value=o.options[e],o.options.findIndex(e=>e===l.value))}),a=e.computed(()=>o.options.length??1);return(o,l)=>(e.openBlock(),e.createBlock(Au,e.mergeProps({modelValue:n.value,"onUpdate:modelValue":l[0]||(l[0]=e=>n.value=e)},o.$attrs,{variant:t.variant,"label-after":t.labelAfter,min:0,max:a.value-1,steps:1,label:t.label,name:t.name,required:t.required,"root-class":t.rootClass,size:t.size,"input-wrapper-class":t.inputWrapperClass}),{"label-suffix":e.withCtx(()=>[e.renderSlot(o.$slots,"label-suffix")]),_:3},16,["modelValue","variant","label-after","max","label","name","required","root-class","size","input-wrapper-class"]))}}),Zu=e.defineComponent({__name:"PricingGroupRangeInput",props:e.mergeModels({modelValue:{},options:{},name:{},variant:{default:"stepped-contained"},size:{}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(t){const l=t,n=e.useModel(t,"modelValue"),a=e.computed(()=>{var e;return null==(e=l.options.find(e=>e.value===n.value))?void 0:e.label}),i=e.computed(()=>l.options.map(e=>e.value)),r=e.computed(()=>{var e;return null==(e=l.options.find(e=>e.value===n.value))?void 0:e.description});return(l,c)=>(e.openBlock(),e.createBlock(e.unref(Lu),e.mergeProps({modelValue:n.value,"onUpdate:modelValue":c[0]||(c[0]=e=>n.value=e)},l.$attrs,{label:a.value,"label-after":"",variant:t.variant,name:t.name,options:i.value,size:t.size,"input-wrapper-class":"border-l border-r",required:""}),{"label-suffix":e.withCtx(()=>[e.createVNode(e.unref(o),{tag:"span",variant:"body-xs",shade:"lighter"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(r.value),1)]),_:1})]),_:1},16,["modelValue","label","variant","name","options","size"]))}}),Ru={defaultPricing:"Pricing",combinedVolume:{combinedVolume:"Combined volume",description:"Total volume sets the tier, applied proportionally to the selected rules."},topUpChip:{topUp:"Top up",defaultTooltip:"Top up allows moving unused volume over to the next billing cycle",tieredTooltip:{blockSize:"Includes prior volume to determine the tier and unused volume will move over",nonBlockSize:"Includes prior volume to determine the tier"},rollover:{title:"Rollover",tooltip:"Top up is applied to the next following schedule's billing cycles"}},splitBy:"Split by"},Fu={class:"inline-flex items-center"},Uu=e.defineComponent({__name:"TopUpChip",props:{i18n:{},placement:{},hasTooltip:{type:Boolean},pricingItemConfig:{}},setup(t){const o=t,l=e.computed(()=>{var e,t;return!!(null==(t=null==(e=o.pricingItemConfig)?void 0:e.top_up)?void 0:t.rollover)}),n=e.computed(()=>({color:"dark",hasChipAfter:l.value})),a={color:"dark",dark:!0,hasChipBefore:!0},i=e.computed(()=>{var e,t,l;return null==(l=null==(t=null==(e=o.pricingItemConfig)?void 0:e.details)?void 0:t.bands)?void 0:l.some(e=>e.block_size)}),r=e.computed(()=>ri(o.pricingItemConfig)&&i.value?o.i18n.tieredTooltip.blockSize:ri(o.pricingItemConfig)&&!i.value?o.i18n.tieredTooltip.nonBlockSize:o.i18n.defaultTooltip);return(o,i)=>(e.openBlock(),e.createElementBlock("span",Fu,[t.hasTooltip?(e.openBlock(),e.createBlock(Ic,{key:0,offset:4,placement:t.placement},{default:e.withCtx(()=>[e.createVNode(Qn,e.normalizeProps(e.guardReactiveProps(n.value)),{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.i18n.topUp),1)]),_:1},16)]),tooltip:e.withCtx(()=>[e.createVNode(Gc,null,{default:e.withCtx(()=>[e.createVNode(jc,null,{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(r.value),1)]),_:1})]),_:1})]),_:1},8,["placement"])):(e.openBlock(),e.createBlock(Qn,e.normalizeProps(e.mergeProps({key:1},n.value)),{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.i18n.topUp),1)]),_:1},16)),l.value?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[t.hasTooltip?(e.openBlock(),e.createBlock(Ic,{key:0,offset:4,placement:t.placement},{default:e.withCtx(()=>[e.createVNode(Qn,e.normalizeProps(e.guardReactiveProps(a)),{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.i18n.rollover.title),1)]),_:1},16)]),tooltip:e.withCtx(()=>[e.createVNode(Gc,null,{default:e.withCtx(()=>[e.createVNode(jc,null,{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.i18n.rollover.tooltip),1)]),_:1})]),_:1})]),_:1},8,["placement"])):(e.openBlock(),e.createBlock(Qn,e.normalizeProps(e.mergeProps({key:1},a)),{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.i18n.rollover.title),1)]),_:1},16))],64)):e.createCommentVNode("",!0)]))}}),Gu={class:"flex items-center gap-2"},ju={class:"flex items-center gap-2"},Qu={key:0},Ku=e.defineComponent({__name:"PricingItemConfigHeader",props:{config:{},i18n:{},hasTooltip:{type:Boolean,default:!0},isCombinedPricing:{type:Boolean}},setup(t){const l=t,n=e.computed(()=>l.i18n??Ru),a=e.computed(()=>{var e,t;return!c(null==(t=null==(e=l.config)?void 0:e.conditions)?void 0:t.meter_properties)});return(l,i)=>(e.openBlock(),e.createElementBlock("div",Gu,[e.createElementVNode("div",ju,[e.createVNode(o,{class:"line-clamp-1","no-spacing":"",shade:"light",variant:"body",weight:"semibold"},{default:e.withCtx(()=>{var l,i,r,c,s,d;return[(null==(l=t.config.conditions)?void 0:l.name)||a.value?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[(null==(i=t.config.conditions)?void 0:i.name)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createTextVNode(e.toDisplayString(null==(r=t.config.conditions)?void 0:r.name),1)],64)):e.createCommentVNode("",!0),a.value&&(null==(s=null==(c=t.config)?void 0:c.conditions)?void 0:s.meter_properties)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[t.hasTooltip&&(null==(d=t.config.conditions)?void 0:d.name)?(e.openBlock(),e.createBlock(Ic,{key:0,variant:"outline",class:"ml-1"},{default:e.withCtx(()=>[e.createVNode(w,{icon:"help",size:"2xs",class:"rounded drop-shadow-sm hover:cursor-default hover:bg-gray-50"})]),tooltip:e.withCtx(()=>[e.createVNode(Gc,null,{default:e.withCtx(()=>[e.createVNode(o,{variant:"body-sm","no-spacing":"",shade:"light"},{default:e.withCtx(()=>{var o,l;return[e.createVNode(Yc,{comparators:null==(l=null==(o=t.config)?void 0:o.conditions)?void 0:l.meter_properties},null,8,["comparators"])]}),_:1})]),_:1})]),_:1})):(e.openBlock(),e.createBlock(o,{key:1,weight:"normal",shade:"light",tag:"span"},{default:e.withCtx(()=>{var o,l,n;return[(null==(o=t.config.conditions)?void 0:o.name)?(e.openBlock(),e.createElementBlock("span",Qu," - ")):e.createCommentVNode("",!0),e.createVNode(Yc,{comparators:null==(n=null==(l=t.config)?void 0:l.conditions)?void 0:n.meter_properties,display:"inline"},null,8,["comparators"])]}),_:1}))],64)):e.createCommentVNode("",!0)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createTextVNode(e.toDisplayString(n.value.defaultPricing),1)],64))]}),_:1}),t.config.volume_group_reference?(e.openBlock(),e.createBlock(Qc,{key:0,i18n:n.value.combinedVolume},null,8,["i18n"])):e.createCommentVNode("",!0),e.unref(ii)(t.config)?(e.openBlock(),e.createBlock(Uu,{key:1,i18n:n.value.topUpChip,"pricing-item-config":t.config},null,8,["i18n","pricing-item-config"])):e.createCommentVNode("",!0)]),e.renderSlot(l.$slots,"override-tooltip")]))}}),Wu=["disabled"],Yu=["aria-label"],Xu=["id","disabled","value","aria-checked","aria-describedby"],Ju=["tabindex","data-testid","for","aria-label","onKeydown"],ep={class:"text-xs"},tp={key:1,class:"mt-2 text-sm text-gray-500"},op=e.defineComponent({__name:"RadioGroupExtended",props:{options:{},direction:{default:"row"},showRadio:{type:Boolean,default:!0},disabled:{type:Boolean},label:{},modelValue:{type:[String,Boolean]},name:{},required:{type:Boolean},rootClass:{},error:{},variant:{}},emits:["update:modelValue"],setup(t,{emit:l}){const n=t,a=de(n,"modelValue",l),i=oc(n.name?`radio_${n.name}_`:"radio_");return(l,r)=>(e.openBlock(),e.createElementBlock("fieldset",{class:e.normalizeClass(t.rootClass),disabled:t.disabled},[t.label?(e.openBlock(),e.createBlock(e.unref(Ac),{key:0,tag:"legend",required:t.required},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.label),1)]),_:1},8,["required"])):e.createCommentVNode("",!0),e.createElementVNode("div",{role:"group","aria-label":t.label,class:e.normalizeClass([["column"===t.direction?"flex-col":"flex-row"],"flex gap-1 rounded"])},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.options,c=>(e.openBlock(),e.createElementBlock("div",{key:c.value.toString(),class:"flex-1"},[e.withDirectives(e.createElementVNode("input",e.mergeProps({ref_for:!0},l.$attrs,{id:`${e.unref(i)}${c.value}`,"onUpdate:modelValue":r[0]||(r[0]=t=>e.isRef(a)?a.value=t:null),disabled:t.disabled,value:c.value,type:"radio","aria-checked":e.unref(a)===c.value,"aria-describedby":c.warning?`${e.unref(i)}${c.value}-warning`:void 0,tabindex:"-1",class:"sr-only"}),null,16,Xu),[[e.vModelRadio,e.unref(a)]]),e.createElementVNode("label",{tabindex:t.disabled?void 0:0,"data-testid":`radio-group-item-${c.value}`,for:`${e.unref(i)}${c.value}`,"aria-label":c.label+(c.description?`: ${c.description}`:""),class:e.normalizeClass(["label hover:bg-primary-50/50 relative flex h-full gap-3 rounded border border-gray-100 bg-gray-50/50 px-4 py-3 outline-none focus:bg-primary-50 focus-visible:border-primary-600 focus-visible:bg-primary-50 focus-visible:ring-1 focus-visible:ring-primary-600",{"cursor-pointer":!t.disabled,"cursor-not-allowed":t.disabled,"border border-primary-600 bg-white ring-1 ring-primary-600":e.unref(a)===c.value&&!t.disabled,"opacity-60":t.disabled}]),onKeydown:e=>{return t=e,o=c.value,void(n.disabled||"Enter"!==t.key&&" "!==t.key||(t.preventDefault(),t.stopPropagation(),a.value=o));var t,o}},[t.showRadio?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["material-symbols-outlined mt-px inline-block h-4 w-4 min-w-4 rounded-full leading-4",{"border-4 border-primary-800":e.unref(a)===c.value,"border border-gray-300":e.unref(a)!==c.value}])},null,2)):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(["flex flex-col",{"opacity-50":t.disabled}])},[e.createVNode(e.unref(o),{tag:"div",weight:"semibold","no-spacing":"",variant:"body-sm",class:"align-center flex justify-between"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(c.label),1)]),_:2},1024),c.description?(e.openBlock(),e.createBlock(e.unref(o),{key:0,tag:"div",variant:"body-xs","no-spacing":"",shade:"lighter"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(c.description),1)]),_:2},1024)):e.createCommentVNode("",!0),c.description?e.createCommentVNode("",!0):e.renderSlot(l.$slots,"description",{key:1,optionValue:c.value})],2)],42,Ju),c.warning?(e.openBlock(),e.createBlock(e.unref(dc),{key:0,id:`${e.unref(i)}${c.value}-warning`,class:"mt-1",type:e.unref(a)===c.value?"danger":"dark",role:"alert"},{default:e.withCtx(()=>[e.createElementVNode("span",ep,e.toDisplayString(c.warning),1)]),_:2},1032,["id","type"])):e.createCommentVNode("",!0)]))),128))],10,Yu),t.error||l.$slots.helper?(e.openBlock(),e.createElementBlock("div",tp,[t.error?(e.openBlock(),e.createBlock(e.unref(m),{key:0,message:t.error},null,8,["message"])):l.$slots.helper?e.renderSlot(l.$slots,"helper",{key:1}):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)],10,Wu))}}),lp={class:"flex items-center pt-1"},np={class:"px-1.5 text-gray-500 text-xs font-semibold"};const ap=h({},[["render",function(t,o){return e.openBlock(),e.createElementBlock("div",lp,[o[0]||(o[0]=e.createElementVNode("div",{class:"border-t w-2"},null,-1)),e.createElementVNode("span",np,[e.renderSlot(t.$slots,"default")]),o[1]||(o[1]=e.createElementVNode("div",{class:"border-t grow"},null,-1))])}]]),ip=["aria-selected","aria-disabled","data-testid"],rp=["id","value","checked","disabled"],cp=["for"],sp={class:"flex items-center gap-1"},dp={class:"flex flex-grow flex-col"},up={class:"flex flex-grow gap-2"},pp={class:"flex flex-grow flex-col"},mp={class:"flex flex-grow items-start justify-between gap-2"},fp={class:"flex items-center gap-2"},hp=e.defineComponent({__name:"SelectExtendedOption",props:{multiple:{type:Boolean},inputValue:{},condensed:{type:Boolean},label:{},checked:{type:Boolean},disabled:{type:Boolean},subLabel:{},labelPrefixComponent:{},labelSuffixComponent:{},labelInlineComponent:{},value:{},labelSrOnly:{type:Boolean}},emits:["value-changed"],setup(t,{emit:o}){const l=o,n=t,a=e=>{const t=e.target;l("value-changed",{value:t.value,checked:t.checked})},i=()=>{n.multiple||n.disabled||l("value-changed",{value:n.value})},c=e.computed(()=>`checkbox-item-${n.value}`),s=e.computed(()=>r(n.inputValue??""));return(o,l)=>(e.openBlock(),e.createElementBlock("li",{role:"option","aria-selected":t.checked,"aria-disabled":t.disabled,class:e.normalizeClass([{"hover:bg-gray-50":!t.disabled},"flex relative"]),"data-testid":c.value,tabindex:"0",onClick:i,onKeydown:e.withKeys(i,["enter"])},[t.multiple?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("input",e.mergeProps(o.$attrs,{id:c.value,ref:"inputRef",value:t.value,checked:t.checked,disabled:t.disabled,type:"checkbox",class:["absolute top-[50%] -translate-y-2 left-3.5 w-4 h-4 bg-gray-100 border-gray-300 rounded focus:ring-primary-500 focus:ring-2",t.disabled?"text-gray-400 placeholder-gray-500":"text-primary-600"],tabindex:"-1",onChange:a}),null,16,rp),e.createElementVNode("label",{for:c.value,class:e.normalizeClass([t.disabled?"text-gray-400":"text-gray-900 rounded","w-full px-4 py-3 pl-10 text-sm font-medium"])},[e.createElementVNode("div",sp,[t.labelPrefixComponent?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.labelPrefixComponent.component),{key:0})):e.createCommentVNode("",!0),e.createElementVNode("div",dp,[e.createElementVNode("div",up,[e.createVNode(p,{text:t.label,search:s.value,class:e.normalizeClass(["font-semibold",{"sr-only":t.labelSrOnly}])},null,8,["text","search","class"]),t.labelInlineComponent?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.labelInlineComponent.component),e.normalizeProps(e.mergeProps({key:0},t.labelInlineComponent.props)),null,16)):e.createCommentVNode("",!0),t.subLabel&&t.condensed?(e.openBlock(),e.createBlock(p,{key:1,class:"text-xs text-slate-500",text:t.subLabel,search:s.value},null,8,["text","search"])):e.createCommentVNode("",!0)]),t.subLabel&&!t.condensed?(e.openBlock(),e.createBlock(p,{key:0,class:"text-xs text-slate-500",text:t.subLabel,search:s.value},null,8,["text","search"])):e.createCommentVNode("",!0)]),t.labelSuffixComponent?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.labelSuffixComponent.component),e.normalizeProps(e.mergeProps({key:1},t.labelSuffixComponent.props)),null,16)):e.createCommentVNode("",!0)])],10,cp)],64)):(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(["w-full px-4 text-sm font-medium flex items-start gap-3",[t.condensed?"p-2":"py-3",t.disabled??"cursor-not-allowed",!t.disabled&&"cursor-pointer"]])},[t.labelPrefixComponent?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.labelPrefixComponent.component),e.normalizeProps(e.mergeProps({key:0},t.labelPrefixComponent.props)),null,16)):e.createCommentVNode("",!0),e.createElementVNode("div",pp,[e.createElementVNode("div",mp,[e.createVNode(p,{text:t.label,search:s.value,class:e.normalizeClass(["font-semibold",{"text-gray-400":t.disabled}])},null,8,["text","search","class"]),e.createElementVNode("div",fp,[t.labelInlineComponent?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.labelInlineComponent.component),e.normalizeProps(e.mergeProps({key:0},t.labelInlineComponent.props)),null,16)):e.createCommentVNode("",!0),t.labelSuffixComponent?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.labelSuffixComponent.component),e.normalizeProps(e.mergeProps({key:1},t.labelSuffixComponent.props)),null,16)):e.createCommentVNode("",!0)])]),t.subLabel&&t.condensed?(e.openBlock(),e.createBlock(p,{key:0,class:"text-xs text-slate-500",text:t.subLabel,search:s.value},null,8,["text","search"])):e.createCommentVNode("",!0),t.subLabel&&!t.condensed?(e.openBlock(),e.createBlock(p,{key:1,class:"text-xs text-slate-500",text:t.subLabel,search:s.value},null,8,["text","search"])):e.createCommentVNode("",!0)])],2))],42,ip))}}),vp={class:"flex flex-col rounded-bl rounded-br"},gp={key:0},yp={key:2,class:"border-t border-gray-200"},bp=e.defineComponent({__name:"SelectExtendedOptions",props:{model:{},multiple:{type:Boolean},condensed:{type:Boolean},hasLargeDropdown:{type:Boolean},inputValue:{},addOnly:{type:Boolean},options:{}},emits:["value-changed"],setup(t,{emit:l}){const n=t,a=l,i=e=>a("value-changed",e),r=e.computed(()=>tc(n.options,"group").reduce((e,t)=>""===t.value?e:{...e,[t.value]:t.group},{})),c=e.computed(()=>0===n.options.length);return(l,n)=>(e.openBlock(),e.createElementBlock("div",vp,[c.value?(e.openBlock(),e.createBlock(o,{key:0,tag:"div","no-spacing":"",variant:"body-sm",shade:"lighter",class:"px-5 py-5"},{default:e.withCtx(()=>[...n[0]||(n[0]=[e.createTextVNode("No results",-1)])]),_:1})):(e.openBlock(),e.createElementBlock("ul",{key:1,class:e.normalizeClass(["list-none overflow-y-auto text-gray-700",[t.hasLargeDropdown?"max-h-76":"max-h-48"]])},[t.addOnly?(e.openBlock(),e.createElementBlock("div",gp,[e.createVNode(o,{tag:"p","no-spacing":"",variant:"body-sm",shade:"lighter",class:"mt-1 px-3 py-2"},{default:e.withCtx(()=>[...n[1]||(n[1]=[e.createTextVNode(e.toDisplayString("You can only select currently unselected options."),-1)])]),_:1})])):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.options,({label:o,subLabel:l,value:n,checked:a,disabled:c,labelInlineComponent:s,labelSuffixComponent:d,labelSrOnly:u,labelPrefixComponent:p,hidden:m})=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:n},[r.value[n]?(e.openBlock(),e.createBlock(ap,{key:0},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(r.value[n]),1)]),_:2},1024)):e.createCommentVNode("",!0),m?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(hp,{key:1,label:o,"sub-label":l,value:n,checked:a,disabled:c,multiple:t.multiple,condensed:t.condensed,"label-suffix-component":d,"label-prefix-component":p,"label-inline-component":s,"label-sr-only":u,"input-value":t.inputValue,onValueChanged:i},null,8,["label","sub-label","value","checked","disabled","multiple","condensed","label-suffix-component","label-prefix-component","label-inline-component","label-sr-only","input-value"]))],64))),128))],2)),l.$slots["list-footer-content"]?(e.openBlock(),e.createElementBlock("div",yp,[e.renderSlot(l.$slots,"list-footer-content")])):e.createCommentVNode("",!0)]))}}),xp=["aria-expanded","aria-controls"],kp={class:"flex items-center gap-2"},_p={key:1},wp={class:"flex items-center gap-2"},Bp={key:0,class:"mt-2 flex flex-wrap gap-2"},Cp=["innerHTML"],Ep=["id"],Np=e.defineComponent({__name:"SelectExtended",props:{addOnly:{type:Boolean,default:!1},disabled:{type:Boolean},label:{},labelScreenReaderOnly:{type:Boolean},inputModel:{},singleModelValue:{},multiModelValue:{},options:{default:()=>[]},optionsOrder:{default:()=>["asc","asc"]},optionsOrderProperties:{default:()=>["group","label"]},required:{type:Boolean,default:!1},rootClass:{},size:{default:"md"},withChips:{type:Boolean,default:!1},chipColor:{},error:{},hasReset:{type:Boolean},name:{},hasLargeDropdown:{type:Boolean,default:!1},showSuffixInClosedInput:{type:Boolean},showSuffixLabelInInput:{type:Boolean},showSubLabelInInput:{type:Boolean,default:!1},condensed:{type:Boolean},form:{},isInputReadOnly:{type:Boolean,default:!0},textContent:{default:()=>({placeholderSingleOpen:"Search",placeholderSingleEmpty:"Select an option",placeholderMultipleOpen:"Search",placeholderMultipleEmpty:"Select one or more options",buttonAddLabel:"Add",buttonClearLabel:"Reset",buttonDoneLabel:"Done"})}},emits:["update:inputModel","update:singleModelValue","update:multiModelValue","blur","change","focus","add-option"],setup(t,{emit:l}){var n;const a=t,i=l,r=null==(n=e.getCurrentInstance())?void 0:n.vnode.props,s=de(a,"inputModel",i),u=de(a,"singleModelValue",i),p=de(a,"multiModelValue",i),m=e.computed(()=>h.value?p.value??[]:u.value?[u.value]:[]),f=e.ref(a.multiModelValue??[]),h=e.computed(()=>Array.isArray(a.multiModelValue)),v=e.computed({get:()=>h.value?f.value??[]:"string"==typeof u.value?[u.value]:[],set(e){h.value?f.value=e:u.value=(null==e?void 0:e[0])??""}}),g=e.ref(!1),y=ma(),b=e.ref(),x=e.ref(),k=e.inject(bs),_=e.computed(()=>{return e=v.value,a.options.filter(t=>e.some(e=>t.value===e));var e}),B=e.computed(()=>_.value[0]),C=e.computed(()=>U.value[0]),E=e.computed(()=>{var e;return!g.value&&!h.value&&(null==(e=B.value)?void 0:e.labelPrefixComponent)}),N=!!(null==r?void 0:r.onAddOption),T=()=>{i("add-option"),V()},M=e.computed(()=>{var e,t,o,l;if(!h.value){if(B.value)return null==(e=B.value)?void 0:e.label;if(0===_.value.length)return a.textContent.placeholderSingleEmpty}if(h.value){if(1===_.value.length)return null==(t=B.value)?void 0:t.label;if(_.value.length>=2)return`${null==(o=B.value)?void 0:o.label} +${_.value.length-1}`;if(0===_.value.length)return a.textContent.placeholderMultipleEmpty}return null==(l=C.value)?void 0:l.label}),V=()=>{h.value,g.value=!1},S=({value:e,checked:t})=>{let o;h.value?o=t?[...v.value,e]:v.value.filter(t=>t!==e):(o=[e],g.value=!1),v.value=o,i("change")},z=e.computed(()=>!(!a.addOnly||d(f.value,a.multiModelValue))||!a.addOnly&&v.value.length>0&&!a.disabled&&(1!==v.value.length||""!==v.value[0])),P=()=>{if(a.addOnly)return f.value=m.value,s.value="",void V();v.value=[],f.value=[],s.value&&(s.value=""),V()},q=()=>b.value?Array.from(b.value.querySelectorAll('li[tabindex="0"], button:not([disabled])')):[],D=()=>{var e;let t=document.activeElement;for(;null==(e=null==t?void 0:t.shadowRoot)?void 0:e.activeElement;)t=t.shadowRoot.activeElement;return t},I=()=>{if(!x.value)return null;let e=x.value.querySelector("input");if(e)return e;const t=x.value.querySelectorAll("*");for(const o of t)if(o.shadowRoot&&(e=o.shadowRoot.querySelector("input"),e))return e;return null},$=e=>{var t,o;if(!g.value)return;const l=q(),n=I();if(D()===n)switch(e.key){case"ArrowDown":l.length>0&&(e.preventDefault(),null==(t=l[0])||t.focus());break;case"Tab":!e.shiftKey&&l.length>0&&(e.preventDefault(),null==(o=l[0])||o.focus());break;case"Escape":e.preventDefault(),V()}},H=t=>{var o,l,n,a;const i=q(),r=D(),c=i.indexOf(r),s=I();switch(t.key){case"ArrowDown":c<i.length-1&&(t.preventDefault(),null==(o=i[c+1])||o.focus());break;case"ArrowUp":t.preventDefault(),c<=0?null==s||s.focus():null==(l=i[c-1])||l.focus();break;case"Tab":t.shiftKey?c<=0?(t.preventDefault(),null==s||s.focus()):(t.preventDefault(),null==(n=i[c-1])||n.focus()):c>=i.length-1?(t.preventDefault(),V(),null==s||s.focus()):(t.preventDefault(),null==(a=i[c+1])||a.focus());break;case"Escape":t.preventDefault(),V(),e.nextTick(()=>{null==s||s.focus()})}};O("mousedown",e=>{const t=e.composedPath();b.value&&t.includes(b.value)||x.value&&t.includes(x.value)||g.value&&V()});const{floatingStyles:A}=qt(x,b,{whileElementsMounted:Et,placement:"bottom",middleware:[Nt(4),Tt({mainAxis:!0})]}),L=oc("search-select-options-"),{width:Z}=ne(x),R=()=>{const e=I();e&&e.focus()},F=e.computed(()=>a.options.map(e=>({...e,checked:_.value.some(t=>t.value===e.value),disabled:a.disabled||!a.disabled&&a.addOnly&&!!m.value.includes(e.value)}))),U=e.computed(()=>F.value.filter(e=>{var t;return null==(t=v.value)?void 0:t.includes(e.value)}));return(l,n)=>{var a;return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("div",{ref_key:"wrapperRef",ref:x,class:e.normalizeClass(["relative flex items-end",{rootClass:t.rootClass,"z-30":g.value,"cursor-text":!t.disabled}]),role:"combobox","aria-expanded":g.value,"aria-haspopup":!0,"aria-controls":e.unref(L),onKeydown:$,onClick:R},[e.createVNode(e.unref(Ts),{modelValue:e.unref(s),"onUpdate:modelValue":n[0]||(n[0]=t=>e.isRef(s)?s.value=t:null),readonly:t.isInputReadOnly,required:t.required,label:t.label,name:t.name,form:t.form,"label-screen-reader-only":t.labelScreenReaderOnly,placeholder:M.value,class:e.normalizeClass(["grow !outline-none",{"placeholder:text-gray-900":!g.value&&(!h.value&&e.unref(u)||h.value&&!e.unref(c)(t.multiModelValue)),"cursor-default":t.isInputReadOnly}]),"wrapper-class":{"border-transparent border-b-gray-200 focus-within:border-b relative z-10":g.value},"suffix-class":"border-l-0 pl-0",disabled:t.disabled,size:t.size,error:t.error,"prefix-has-border":!1,"aria-autocomplete":"list",onFocus:n[1]||(n[1]=()=>g.value=!0),onBlur:n[2]||(n[2]=e=>l.$emit("blur"))},e.createSlots({"label-suffix":e.withCtx(()=>[e.renderSlot(l.$slots,"label-suffix")]),suffix:e.withCtx(()=>{var o,l;return[e.createElementVNode("div",wp,[g.value||h.value||!(null==(o=B.value)?void 0:o.labelInlineComponent)||t.showSuffixInClosedInput&&!t.showSuffixLabelInInput?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(e.resolveDynamicComponent(B.value.labelInlineComponent.component),e.normalizeProps(e.mergeProps({key:0},B.value.labelInlineComponent.props)),null,16)),!g.value&&!h.value&&(null==(l=B.value)?void 0:l.labelSuffixComponent)&&t.showSuffixInClosedInput?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(B.value.labelSuffixComponent.component),e.normalizeProps(e.mergeProps({key:1},B.value.labelSuffixComponent.props)),null,16)):e.createCommentVNode("",!0),e.unref(s)||z.value&&t.hasReset?(e.openBlock(),e.createBlock(xs,{key:2,icon:"close",size:"xs",variant:"ghost",color:"gray",type:"button",onClick:P})):e.createCommentVNode("",!0),e.createVNode(w,{icon:"keyboard_arrow_down",size:"xs",class:e.normalizeClass(["transition-transform",{"rotate-180":g.value}])},null,8,["class"])])]}),_:2},[t.showSubLabelInInput&&(null==(a=B.value)?void 0:a.subLabel)?{name:"input",fn:e.withCtx(()=>[e.createElementVNode("div",{class:e.normalizeClass(["pointer-events-none absolute inset-0 bg-white",{"px-4 py-3":"xl"===t.size}])},[e.createVNode(o,{tag:"span",class:"block",variant:"body-sm",weight:"semibold"},{default:e.withCtx(()=>{var t;return[e.createTextVNode(e.toDisplayString(null==(t=B.value)?void 0:t.label),1)]}),_:1}),e.createVNode(o,{tag:"span",class:"block",variant:"body-xs",shade:"lighter"},{default:e.withCtx(()=>{var t;return[e.createTextVNode(e.toDisplayString(null==(t=B.value)?void 0:t.subLabel),1)]}),_:1})],2)]),key:"0"}:void 0,l.$slots.tooltip?{name:"tooltip",fn:e.withCtx(()=>[e.renderSlot(l.$slots,"tooltip")]),key:"1"}:void 0,E.value||l.$slots.prefix?{name:"prefix",fn:e.withCtx(()=>{var t;return[e.createElementVNode("div",kp,[l.$slots.prefix?e.renderSlot(l.$slots,"prefix",{key:0}):E.value&&(null==(t=B.value)?void 0:t.labelPrefixComponent)?(e.openBlock(),e.createElementBlock("div",_p,[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(B.value.labelPrefixComponent.component),e.normalizeProps(e.guardReactiveProps(B.value.labelPrefixComponent.props)),null,16))])):e.createCommentVNode("",!0)])]}),key:"2"}:void 0,l.$slots.helper?{name:"helper",fn:e.withCtx(()=>[e.renderSlot(l.$slots,"helper")]),key:"3"}:void 0]),1032,["modelValue","readonly","required","label","name","form","label-screen-reader-only","placeholder","wrapper-class","class","disabled","size","error"])],42,xp),t.withChips?(e.openBlock(),e.createElementBlock("div",Bp,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(U.value,({value:o,label:l,disabled:n})=>(e.openBlock(),e.createBlock(Qn,{key:o,removable:!n,color:n?"dark":t.chipColor,onRemoved:e=>S({value:o,checked:!1})},{default:e.withCtx(()=>[e.createElementVNode("span",{innerHTML:l},null,8,Cp)]),_:2},1032,["removable","color","onRemoved"]))),128))])):e.createCommentVNode("",!0),e.unref(y)&&e.unref(k)?(e.openBlock(),e.createBlock(e.Teleport,{key:1,to:e.unref(k)},[g.value&&!t.disabled?(e.openBlock(),e.createElementBlock("div",{key:0,id:e.unref(L),ref_key:"optionsRef",ref:b,role:"listbox",style:e.normalizeStyle(e.unref(A)),class:"z-70 rounded bg-white drop-shadow-md",onMouseenter:n[3]||(n[3]=e=>g.value=!0),onKeydown:H},[e.createElementVNode("div",{class:"rounded pt-0",style:e.normalizeStyle({width:`${e.unref(Z)}px`})},[e.createVNode(bp,{options:F.value,multiple:h.value,model:v.value,"add-only":t.addOnly,"allows-multiple-values":!!h.value,condensed:t.condensed,"has-large-dropdown":t.hasLargeDropdown,"input-value":e.unref(s),onValueChanged:S},{"list-footer-content":e.withCtx(()=>[N?(e.openBlock(),e.createBlock(oo,{key:0,variant:"ghost",class:"w-full",type:"button","icon-prefix":"add",onClick:T},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.textContent.buttonAddLabel),1)]),_:1})):e.createCommentVNode("",!0),h.value?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(["flex items-center justify-between",{"py-2":!l.$slots["list-footer-content"]}])},[z.value?(e.openBlock(),e.createBlock(oo,{key:0,type:"button",color:"gray",variant:"ghost",size:"sm",class:"ml-2",onClick:P},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.textContent.buttonClearLabel),1)]),_:1})):e.createCommentVNode("",!0),e.createElementVNode("div",null,[e.renderSlot(l.$slots,"list-footer-content")]),e.createVNode(oo,{type:"button",size:"sm",class:"mr-2","data-testid":e.unref("select-search-done-button"),onClick:V},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.textContent.buttonDoneLabel),1)]),_:1},8,["data-testid"])],2)):e.renderSlot(l.$slots,"list-footer-content",{key:2})]),_:3},8,["options","multiple","model","add-only","allows-multiple-values","condensed","has-large-dropdown","input-value"])],4)],44,Ep)):e.createCommentVNode("",!0)],8,["to"])):e.createCommentVNode("",!0)],64)}}}),Tp=e.defineComponent({__name:"SearchSelectInputTeleportProvider",setup(t){const o=e.ref(null);return e.provide(bs,o),(t,l)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.renderSlot(t.$slots,"default"),e.createElementVNode("div",{ref_key:"teleportTarget",ref:o,"data-search-select-teleport-target":""},null,512)],64))}}),Mp={class:"flex items-center gap-1.5 text-gray-800"},Vp=e.defineComponent({__name:"StepInput",props:e.mergeModels({step:{default:1},min:{default:0},max:{},initialValue:{default:1},unitName:{},showDelta:{type:Boolean,default:!1},size:{default:"md"},name:{},required:{type:Boolean},label:{},error:{},disabled:{type:Boolean,default:!1}},{modelValue:{required:!0},modelModifiers:{}}),emits:["update:modelValue"],setup(t){const l=t,n=e.useModel(t,"modelValue"),a=e.ref(null),i=e.computed(()=>{if(l.unitName)return l.unitName[1===n.value?"singular":"plural"]}),r=()=>{l.max&&n.value+l.step>l.max||(n.value+=l.step)},c=()=>{n.value-l.step<l.min||(n.value-=l.step)};function s(e){var t;const o=null==(t=a.value)?void 0:t.el;if(!o)return;const l=parseInt(`${e}`);n.value=l,o.innerText=`${l}`,o.focus();const i=document.createRange();i.selectNodeContents(o),i.collapse(!1);const r=window.getSelection();null==r||r.removeAllRanges(),null==r||r.addRange(i)}const d=e=>{const t=e.target;t instanceof HTMLElement&&s(t.innerText)},u=e.computed(()=>!l.disabled&&(!l.max||n.value+l.step<l.max)),p=e.computed(()=>!l.disabled&&n.value-l.step>=l.min);function m(){var e;const t=null==(e=a.value)?void 0:e.el;if(!t)return;t.focus();const o=document.createRange();o.selectNodeContents(t);const l=window.getSelection();null==l||l.removeAllRanges(),null==l||l.addRange(o)}return e.onMounted(()=>{var e;const t=null==(e=a.value)?void 0:e.el;t&&(t.innerText=`${n.value}`)}),e.watch(()=>n.value,e=>{s(e)}),(s,f)=>(e.openBlock(),e.createBlock(Ts,{modelValue:n.value,"onUpdate:modelValue":f[0]||(f[0]=e=>n.value=e),type:"number",class:"[appearance:textfield] [&::-webkit-outer-spin-button]:appearance-none [&::-webkit-inner-spin-button]:appearance-none text-transparent","prefix-class":{"!px-0 w-5":"sm"===t.size,"!px-0 w-6":"md"===t.size,"!px-0 w-7":"lg"===t.size},"suffix-class":{"!px-0 w-5":"sm"===t.size,"!px-0 w-6":"md"===t.size,"!px-0 w-7":"lg"===t.size},size:t.size,label:t.label,disabled:t.disabled,name:t.name,required:t.required},e.createSlots({prefix:e.withCtx(()=>[e.createElementVNode("div",{class:"absolute inset-0 flex items-center justify-center",onMousedown:m},[e.createElementVNode("div",Mp,[e.createVNode(o,{ref_key:"contentEditableRef",ref:a,tag:"span",variant:"sm"===t.size?"body":"body-lg",contenteditable:!t.disabled,class:e.normalizeClass(["outline-none",{"pointer-events-none select-none":t.disabled}]),weight:"semibold",onInput:d},null,8,["variant","contenteditable","class"]),i.value?(e.openBlock(),e.createBlock(o,{key:0,tag:"span",shade:"lighter",class:"pointer-events-none select-none"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(" ")+e.toDisplayString(i.value),1)]),_:1})):e.createCommentVNode("",!0),t.showDelta?(e.openBlock(),e.createBlock(Us,{key:1,"old-value":l.initialValue,"new-value":n.value,class:"ml-0.5 pointer-events-none select-none"},null,8,["old-value","new-value"])):e.createCommentVNode("",!0)])],32),e.createVNode(xs,{disabled:!p.value,type:"button",color:"gray",variant:"ghost",size:"sm",class:e.normalizeClass(["select-none rounded-tr-none rounded-br-none !h-full",{"!w-7":"lg"===t.size,"!w-5":"sm"===t.size,"!w-6":"md"===t.size}]),icon:"remove",onMousedown:c},null,8,["disabled","class"])]),suffix:e.withCtx(()=>[e.createVNode(xs,{disabled:!u.value,type:"button",color:"gray",variant:"ghost",size:"sm",class:e.normalizeClass(["select-none rounded-tl-none rounded-bl-none !h-full",{"!w-7":"lg"===t.size,"!w-5":"sm"===t.size,"!w-6":"md"===t.size}]),icon:"add",onMousedown:r},null,8,["disabled","class"])]),_:2},[s.$slots.helper?{name:"helper",fn:e.withCtx(()=>[e.renderSlot(s.$slots,"helper")]),key:"0"}:void 0]),1032,["modelValue","prefix-class","suffix-class","size","label","disabled","name","required"]))}}),Sp={...li,and:"and"},zp={...Sp,or:"or",unsupported:"unsupported",product:"product",revenueItem:"revenue item",commitmentBody:(e,t,o)=>`Commitment on ${e} <strong>${t}</strong> ${o}`,startOfSchedule:"Start of schedule",endOfSchedule:"End of schedule",unknown:"unknown",products:e=>1===e?"product":"products",pluralRevenueItems:e=>1===e?"revenue item":"revenue items",pricingRule:"price rule",invoice:"invoice",units:e=>`${e} units`,commitmentOnInvoice:e=>`Commitment on <strong>Invoice</strong> ${e}`,basedOnMeterValue:"based on meter value"},Pp={class:"flex justify-between items-center"},qp={class:"flex items-center gap-2"},Dp={key:0,class:"ml-3 flex gap-3 opacity-0 group-hover:opacity-100 focus-within:opacity-100 transition-opacity"},Ip=e.defineComponent({__name:"CommitmentDiscountItem",props:{icon:{},iconColor:{},isEditable:{type:Boolean},isRemovable:{type:Boolean},error:{}},emits:["edit","delete"],setup:t=>(l,n)=>(e.openBlock(),e.createBlock(Jr,{spacing:"none","root-class":"p-2 pr-3 group"},{default:e.withCtx(()=>[e.createElementVNode("div",Pp,[e.createElementVNode("div",qp,[e.createVNode(w,{icon:t.icon,size:"sm",variant:"contained",class:e.normalizeClass(["p-1",{"bg-orange-50 text-orange-700":"orange"===t.iconColor,"bg-yellow-50 text-yellow-700":"yellow"===t.iconColor}])},null,8,["icon","class"]),e.createVNode(o,{variant:"body-sm","no-spacing":""},{default:e.withCtx(()=>[e.renderSlot(l.$slots,"body")]),_:3})]),t.isEditable||t.isRemovable?(e.openBlock(),e.createElementBlock("div",Dp,[t.isEditable?(e.openBlock(),e.createBlock(oo,{key:0,variant:"ghost",color:"gray",square:"","icon-prefix":"edit",onClick:n[0]||(n[0]=e=>l.$emit("edit"))})):e.createCommentVNode("",!0),t.isRemovable?(e.openBlock(),e.createBlock(oo,{key:1,variant:"ghost",color:"red",square:"","icon-prefix":"delete",onClick:n[1]||(n[1]=e=>l.$emit("delete"))})):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)]),e.createVNode(Zc,null,{default:e.withCtx(()=>[t.error?(e.openBlock(),e.createBlock(dc,{key:0,type:"danger",class:"mt-2 -mb-2 -mr-3 -ml-2 rounded-tl-none rounded-tr-none rounded-bl-md rounded-br-md"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(Ha)(t.error)),1)]),_:1})):e.createCommentVNode("",!0)]),_:1})]),_:3}))}),$p={class:"font-semibold"},Op={key:2,class:"text-primary-600 font-semibold"},Hp=["innerHTML"],Ap=["innerHTML"],Lp={key:2},Zp=e.defineComponent({__name:"SubscriptionCommitmentItem",props:{commitment:{},pricingPlanVersion:{},isEditable:{type:Boolean},isRemovable:{type:Boolean},error:{},i18n:{},timezone:{}},emits:["edit","delete"],setup(t){const o=t,l=e.computed(()=>o.i18n??zp),{getCommitmentBody:n,getFormattedDuration:a}=((t,o=zp,l)=>{const{formatDate:n}=Gn(),a=e.computed(()=>{var e,o;return(null==(o=null==(e=t.value)?void 0:e.pricing_categories)?void 0:o.flatMap(e=>{var t;return[...(null==(t=e.pricing_groups)?void 0:t.flatMap(e=>e.pricings))??[],...e.pricings??[]]}))??[]}),i=e.computed(()=>a.value.map(e=>{var t;return{pricing:e,product:null==(t=e.products)?void 0:t[0],pricingId:e.id}})),r=e.computed(()=>{var e;return(null==(e=a.value)?void 0:e.flatMap(e=>{var t;return(null==(t=e.items)?void 0:t.map(e=>{var t;return{productItem:null==(t=e.product_items)?void 0:t[0],pricingItemId:e.id}}))??[]}))??[]}),c=e=>{var t,l,n,c,d;switch(e.commitmentLevel){case"PRODUCTS":{const o=null==(t=e.ids)?void 0:t.map(e=>i.value.find(t=>t.pricingId===e));return s((null==o?void 0:o.map(e=>{var t;return(null==e?void 0:e.pricing.name)??((null==(t=null==e?void 0:e.product)?void 0:t.name)||"")}))??[])}case"REVENUE_ITEMS":{const t=null==(l=e.ids)?void 0:l.map(e=>{var t;return null==(t=r.value.find(t=>t.pricingItemId===e))?void 0:t.productItem});return s((null==t?void 0:t.map(e=>(null==e?void 0:e.name)||""))??[])}case"PRICING_RULE":{const t=t=>{var o;return t.id===(null==(o=e.ids)?void 0:o[0])},l=e=>{var o,n;return t(e)||!!(null==(n=null==(o=e.conditions)?void 0:o.configs)?void 0:n.some(l))},i=e=>{var t;return null==(t=e.configs)?void 0:t.some(l)},r=e=>{var t;return null==(t=e.items)?void 0:t.some(i)},s=null==(n=a.value)?void 0:n.find(r),u=null==(c=null==s?void 0:s.items)?void 0:c.find(i),p=null==(d=null==u?void 0:u.configs)?void 0:d.flatMap(si),m=null==p?void 0:p.find(t);return`<strong>${di(o)({pricing:s,item:u,config:m})}</strong>`}}},s=e=>e.reduce((t,o,l)=>{const n=`<strong>${o}</strong>`;return 0===l?n:l===e.length-1?[t,n].join(" and "):[t,n].join(", ")},""),d=e=>{var t,l;switch(e.commitmentLevel){case"PRODUCTS":return o.products((null==(t=e.ids)?void 0:t.length)??0);case"REVENUE_ITEMS":return o.pluralRevenueItems((null==(l=e.ids)?void 0:l.length)??0);case"PRICING_RULE":return o.pricingRule;case"INVOICE":return o.invoice}},u=e=>{if(!e.start_at&&!e.end_at)return"";let t,a;return e.start_at||(t=o.startOfSchedule),e.end_at||(a=o.endOfSchedule),e.start_at&&(t=n(l?{date:e.start_at,format:"date",offsetType:"offsetted",timezone:l}:{date:e.start_at,format:"date",offsetType:"local",showTimezone:!1})),e.end_at&&(a=n(l?{date:e.end_at,format:"date",offsetType:"offsetted",timezone:l}:{date:e.end_at,format:"date",offsetType:"local",showTimezone:!1})),`(${t} - ${a})`};return{getCommitmentBody:e=>o.commitmentBody(d(e),c(e)??"",u(e)),getFormattedDuration:u}})(e.computed(()=>o.pricingPlanVersion),l.value,o.timezone);return(o,i)=>(e.openBlock(),e.createBlock(Ip,{icon:"handshake","icon-color":"orange","is-editable":t.isEditable,"is-removable":t.isRemovable,error:t.error,onEdit:i[0]||(i[0]=e=>o.$emit("edit")),onDelete:i[1]||(i[1]=e=>o.$emit("delete"))},{body:e.withCtx(()=>{var o;return[e.createElementVNode("span",$p,[t.commitment.amount?(e.openBlock(),e.createBlock(Pi,{key:0,value:t.commitment.amount,highlighted:""},null,8,["value"])):"meter_value_calculation"in t.commitment&&(null==(o=t.commitment.meter_value_calculation)?void 0:o.amount)?(e.openBlock(),e.createBlock(Pi,{key:1,value:t.commitment.meter_value_calculation.amount,highlighted:""},null,8,["value"])):"meter_value_calculation"in t.commitment&&t.commitment.meter_value_calculation&&"number"in t.commitment.meter_value_calculation?(e.openBlock(),e.createElementBlock("span",Op,e.toDisplayString(t.commitment.meter_value_calculation.number&&l.value.units(t.commitment.meter_value_calculation.number)),1)):e.createCommentVNode("",!0)]),i[2]||(i[2]=e.createTextVNode(" ",-1)),"INVOICE"===t.commitment.commitmentLevel?(e.openBlock(),e.createElementBlock("span",{key:0,innerHTML:l.value.commitmentOnInvoice(e.unref(a)(t.commitment))},null,8,Hp)):(e.openBlock(),e.createElementBlock("span",{key:1,innerHTML:e.unref(n)(t.commitment)},null,8,Ap)),"meter_value_calculation"in t.commitment&&t.commitment.meter_value_calculation&&"amount"in t.commitment.meter_value_calculation?(e.openBlock(),e.createElementBlock("span",Lp,e.toDisplayString(" ")+"("+e.toDisplayString(l.value.basedOnMeterValue)+")",1)):e.createCommentVNode("",!0)]}),_:1},8,["is-editable","is-removable","error"]))}}),Rp={...zp,title:"Commitments",orderOfApplicationExplanation:"Commitments are applied after discounts on invoices",description:"Setup a minimum usage per an agreed-upon time period.",selectPricingPlanHint:"Please select a pricing plan to add commitments",addItemLabel:"Add commitment",notEditableExplanation:"Commitments can't be edited for active schedules"},Fp=({isEditable:t,isRemovable:o})=>({isEditableFlag:e.computed(()=>"function"==typeof t||!!t),isItemEditable:e=>"function"==typeof t?t(e):!!t,isItemRemovable:e=>"function"==typeof o?o(e):"boolean"!=typeof o||o}),Up={class:"flex justify-between items-center gap-4"},Gp={class:"flex gap-4 items-center"},jp={class:"flex items-center gap-1"},Qp={class:"mt-1 text-xs text-gray-500"},Kp={class:"flex justify-between items-center gap-4"},Wp={class:"flex items-center gap-1"},Yp={class:"text-xs uppercase font-bold text-gray-700"},Xp={class:"mt-1 flex flex-col gap-2"},Jp=e.defineComponent({__name:"CommitmentDiscountsSection",props:{title:{},orderOfApplicationExplanation:{},description:{},selectPricingPlanHint:{},addItemLabel:{},notEditableExplanation:{},hasItems:{type:Boolean},pricingPlanVersionIsSelected:{type:Boolean},isEditable:{type:Boolean},isCreatable:{type:Boolean}},emits:["add"],setup:t=>(l,n)=>(e.openBlock(),e.createElementBlock("section",null,[t.hasItems?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("header",Kp,[e.createElementVNode("div",Wp,[e.createElementVNode("h2",Yp,e.toDisplayString(t.title),1),e.createVNode(Ic,{variant:"outline",placement:"bottom-start"},{default:e.withCtx(()=>[e.createVNode(w,{icon:"help",class:"drop-shadow-sm hover:bg-gray-50 hover:cursor-default",size:"xs"})]),tooltip:e.withCtx(()=>[e.createVNode(Gc,null,{default:e.withCtx(()=>[e.createVNode(jc,null,{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.orderOfApplicationExplanation),1)]),_:1})]),_:1})]),_:1})])]),e.createElementVNode("ul",Xp,[e.renderSlot(l.$slots,"list-items")])],64)):(e.openBlock(),e.createBlock(Jr,{key:0},{default:e.withCtx(()=>[e.createElementVNode("div",Up,[e.createElementVNode("div",Gp,[e.renderSlot(l.$slots,"icon"),e.createElementVNode("div",null,[e.createElementVNode("div",jp,[e.createVNode(o,{tag:"h2",variant:"caps-heading"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.title),1)]),_:1}),e.createVNode(Ic,{variant:"outline",placement:"bottom-start"},{default:e.withCtx(()=>[e.createVNode(w,{icon:"help",class:"drop-shadow-sm hover:bg-gray-50 hover:cursor-default",size:"xs"})]),tooltip:e.withCtx(()=>[e.createVNode(Gc,null,{default:e.withCtx(()=>[e.createVNode(jc,null,{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.orderOfApplicationExplanation),1)]),_:1})]),_:1})]),_:1})]),e.createElementVNode("p",Qp,e.toDisplayString(t.description),1)])]),t.isEditable?(e.openBlock(),e.createBlock(Ic,{key:0,variant:"outline"},{tooltip:e.withCtx(()=>[e.createVNode(Gc,null,{default:e.withCtx(()=>[t.pricingPlanVersionIsSelected?t.isEditable?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(o,{key:1,variant:"body-sm","no-spacing":"",class:"text-gray-600"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.notEditableExplanation),1)]),_:1})):(e.openBlock(),e.createBlock(o,{key:0,variant:"body-sm","no-spacing":"",class:"text-gray-600"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.selectPricingPlanHint),1)]),_:1}))]),_:1})]),_:1})):e.createCommentVNode("",!0)])]),_:3}))]))}),em=["src"],tm=e.defineComponent({__name:"SubscriptionCommitments",props:{pricingPlanVersion:{},commitment:{},i18n:{},isCreatable:{type:Boolean},isEditable:{type:[Boolean,Function]},isRemovable:{type:[Boolean,Function]},error:{},timezone:{}},setup(t){const o=t,l=e.computed(()=>o.i18n??Rp),{isEditableFlag:n,isItemEditable:a,isItemRemovable:i}=Fp({isEditable:o.isEditable,isRemovable:o.isRemovable}),r=e.computed(()=>{if("error"in o)return(e=>{const t=Object.entries(e||{});if(0===t.length)return;const[o,l]=t[0],[n,a,i]=o.split(".");return{commitmentLevel:n,index:parseInt(a,10),fieldName:i,message:l}})(o.error)}),c=e.computed(()=>{var e,t,l,n,a,i,c,s;return[...(null==(t=null==(e=o.commitment)?void 0:e.pricing_item_configs)?void 0:t.map((e,t)=>{var o,l;return{item:{commitmentLevel:"PRICING_RULE",...e},error:t===(null==(o=r.value)?void 0:o.index)&&"pricing_item_configs"===(null==(l=r.value)?void 0:l.commitmentLevel)?r.value.message:void 0}}))||[],...(null==(n=null==(l=o.commitment)?void 0:l.pricing_items)?void 0:n.map((e,t)=>{var o,l;return{item:{commitmentLevel:"REVENUE_ITEMS",...e},error:t===(null==(o=r.value)?void 0:o.index)&&"pricing_items"===(null==(l=r.value)?void 0:l.commitmentLevel)?r.value.message:void 0}}))||[],...(null==(i=null==(a=o.commitment)?void 0:a.pricings)?void 0:i.map((e,t)=>{var o,l;return{item:{commitmentLevel:"PRODUCTS",...e},error:t===(null==(o=r.value)?void 0:o.index)&&"pricings"===(null==(l=r.value)?void 0:l.commitmentLevel)?r.value.message:void 0}}))||[],...(null==(s=null==(c=o.commitment)?void 0:c.totals)?void 0:s.map((e,t)=>{var o,l;return{item:{commitmentLevel:"INVOICE",...e},error:t===(null==(o=r.value)?void 0:o.index)&&"totals"===(null==(l=r.value)?void 0:l.commitmentLevel)?r.value.message:void 0}}))||[]]});return(o,r)=>(e.openBlock(),e.createBlock(Jp,{title:l.value.title,"order-of-application-explanation":l.value.orderOfApplicationExplanation,description:l.value.description,"pricing-plan-version-is-selected":!!t.pricingPlanVersion,"select-pricing-plan-hint":l.value.selectPricingPlanHint,"add-item-label":l.value.addItemLabel,"not-editable-explanation":l.value.notEditableExplanation,"is-creatable":!!t.isCreatable,"is-editable":e.unref(n),"has-items":c.value.length>0,onAdd:r[0]||(r[0]=e=>o.$emit("add"))},{icon:e.withCtx(()=>[e.createElementVNode("img",{src:e.unref("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='44'%20height='44'%20fill='none'%3e%3cmask%20id='a'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='0'%20y='0'%20width='44'%20height='44'%3e%3cpath%20fill='%23D9D9D9'%20d='M0%200h44v44H0z'/%3e%3c/mask%3e%3cg%20mask='url(%23a)'%3e%3cmask%20id='e'%20fill='%23fff'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M2.922%2015.593A6%206%200%200%200%208.03%208.816c-.072-.516.251-1.035.767-1.108l21.957-3.086c.516-.072.97.338%201.043.854a6%206%200%200%200%206.776%205.106c.589-.082%201.19.281%201.273.87L42.06%2027.22c.083.589-.395%201.104-.984%201.186a6%206%200%200%200-5.106%206.777c.074.525-.255%201.055-.78%201.13l-21.925%203.08c-.526.074-.988-.344-1.062-.87a6%206%200%200%200-6.776-5.107c-.452.064-.901-.223-.965-.674L2.182%2016.507c-.064-.451.29-.85.74-.914Z'/%3e%3c/mask%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M2.922%2015.593A6%206%200%200%200%208.03%208.816c-.072-.516.251-1.035.767-1.108l21.957-3.086c.516-.072.97.338%201.043.854a6%206%200%200%200%206.776%205.106c.589-.082%201.19.281%201.273.87L42.06%2027.22c.083.589-.395%201.104-.984%201.186a6%206%200%200%200-5.106%206.777c.074.525-.255%201.055-.78%201.13l-21.925%203.08c-.526.074-.988-.344-1.062-.87a6%206%200%200%200-6.776-5.107c-.452.064-.901-.223-.965-.674L2.182%2016.507c-.064-.451.29-.85.74-.914Z'%20fill='%23D9D9D9'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M2.922%2015.593A6%206%200%200%200%208.03%208.816c-.072-.516.251-1.035.767-1.108l21.957-3.086c.516-.072.97.338%201.043.854a6%206%200%200%200%206.776%205.106c.589-.082%201.19.281%201.273.87L42.06%2027.22c.083.589-.395%201.104-.984%201.186a6%206%200%200%200-5.106%206.777c.074.525-.255%201.055-.78%201.13l-21.925%203.08c-.526.074-.988-.344-1.062-.87a6%206%200%200%200-6.776-5.107c-.452.064-.901-.223-.965-.674L2.182%2016.507c-.064-.451.29-.85.74-.914Z'%20fill='%23BFEAFB'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M2.922%2015.593A6%206%200%200%200%208.03%208.816c-.072-.516.251-1.035.767-1.108l21.957-3.086c.516-.072.97.338%201.043.854a6%206%200%200%200%206.776%205.106c.589-.082%201.19.281%201.273.87L42.06%2027.22c.083.589-.395%201.104-.984%201.186a6%206%200%200%200-5.106%206.777c.074.525-.255%201.055-.78%201.13l-21.925%203.08c-.526.074-.988-.344-1.062-.87a6%206%200%200%200-6.776-5.107c-.452.064-.901-.223-.965-.674L2.182%2016.507c-.064-.451.29-.85.74-.914Z'%20fill='url(%23b)'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M2.922%2015.593A6%206%200%200%200%208.03%208.816c-.072-.516.251-1.035.767-1.108l21.957-3.086c.516-.072.97.338%201.043.854a6%206%200%200%200%206.776%205.106c.589-.082%201.19.281%201.273.87L42.06%2027.22c.083.589-.395%201.104-.984%201.186a6%206%200%200%200-5.106%206.777c.074.525-.255%201.055-.78%201.13l-21.925%203.08c-.526.074-.988-.344-1.062-.87a6%206%200%200%200-6.776-5.107c-.452.064-.901-.223-.965-.674L2.182%2016.507c-.064-.451.29-.85.74-.914Z'%20fill='url(%23c)'/%3e%3cpath%20d='m39.845%2011.452-1.09.153%201.09-.153Zm-9.092-6.83.153%201.09-.153-1.09Zm11.308%2022.599%201.09-.153-1.09.153ZM8.796%207.708%208.643%206.62l.153%201.09ZM6.94%208.97a4.9%204.9%200%200%201-4.17%205.534l.306%202.179a7.1%207.1%200%200%200%206.042-8.019l-2.178.306ZM30.6%203.533%208.643%206.62l.306%202.179%2021.957-3.086-.306-2.179Zm7.819%205.96a4.9%204.9%200%200%201-5.534-4.17l-2.179.306a7.1%207.1%200%200%200%208.02%206.043l-.307-2.179Zm4.731%2017.575-2.216-15.77-2.179.307%202.217%2015.769%202.178-.306Zm-6.09%207.963a4.9%204.9%200%200%201%204.17-5.534l-.306-2.179a7.1%207.1%200%200%200-6.043%208.019l2.179-.306Zm-23.641%205.453%2021.924-3.081-.306-2.179-21.924%203.081.306%202.179ZM5.58%2034.507a4.9%204.9%200%200%201%205.534%204.17l2.178-.306a7.1%207.1%200%200%200-8.018-6.043l.306%202.179ZM1.092%2016.66l2.282%2016.236%202.179-.306L3.27%2016.354l-2.179.306Zm2.179-.306a.333.333%200%200%201-.066.254.202.202%200%200%201-.13.074l-.306-2.179c-.95.134-1.838%201.008-1.677%202.157l2.179-.306Zm9.841%2021.951a.244.244%200%200%201%20.105.009c.031.01.05.023.06.03.014.013.016.02.017.027l-2.179.306c.142%201.008%201.064%201.981%202.304%201.807l-.306-2.179Zm21.77-2.968c-.002-.006-.002-.014.009-.03a.168.168%200%200%201%20.048-.046.244.244%200%200%201%20.098-.037l.306%202.179c1.24-.175%201.859-1.365%201.717-2.372l-2.179.306Zm3.843-23.665a.117.117%200%200%201%20.069.012c.003.002-.005-.002-.015-.017a.153.153%200%200%201-.024-.062l2.179-.306c-.185-1.317-1.46-1.954-2.515-1.806l.306%202.179ZM5.275%2032.328a.202.202%200%200%201%20.144.036.332.332%200%200%201%20.134.226l-2.179.306c.162%201.15%201.255%201.745%202.207%201.61l-.306-2.178ZM30.906%205.712a.258.258%200%200%201-.11-.01.186.186%200%200%201-.065-.033c-.019-.016-.023-.028-.025-.04l2.179-.306c-.14-1-1.057-1.963-2.285-1.79l.306%202.179Zm10.066%2021.662a.153.153%200%200%201%20.005-.066c.006-.018.012-.024.01-.02a.115.115%200%200%201-.062.03l.305%202.179c1.056-.149%202.105-1.112%201.92-2.43l-2.178.307ZM9.118%208.663c.002.012.001.025-.012.045a.186.186%200%200%201-.053.05.258.258%200%200%201-.104.04l-.306-2.179c-1.229.173-1.844%201.35-1.703%202.35l2.178-.306Z'%20fill='url(%23d)'%20fill-opacity='.1'%20mask='url(%23e)'/%3e%3cg%20opacity='.5'%3e%3cmask%20id='f'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='10'%20y='10'%20width='24'%20height='24'%3e%3cpath%20transform='rotate(-8%2010.706%2013.489)'%20fill='%23D9D9D9'%20d='M10.706%2013.489h20v20h-20z'/%3e%3c/mask%3e%3cg%20mask='url(%23f)'%3e%3cpath%20d='M22.825%2028.616a.486.486%200%200%200%20.271-.164l5.816-7.718a1.54%201.54%200%200%200%20.283-.608%201.804%201.804%200%200%200-.176-1.248%201.375%201.375%200%200%200-.435-.475l-4-3.014a1.376%201.376%200%200%200-.577-.288%201.775%201.775%200%200%200-1.248.176%201.54%201.54%200%200%200-.506.44l-.195.258%201.744%201.333c.233.163.416.362.547.596.13.234.215.489.254.764.081.577-.047%201.09-.383%201.537-.337.447-.795.711-1.372.792a2.245%202.245%200%200%201-.815-.033%201.895%201.895%200%200%201-.731-.339l-1.762-1.309-3.103%204.118a.393.393%200%200%200-.083.306c.015.11.07.204.166.282a.386.386%200%200%200%20.307.094.484.484%200%200%200%20.271-.164l2.412-3.201%201.318.993-2.391%203.197a.394.394%200%200%200-.083.306.4.4%200%200%200%20.164.272.4.4%200%200%200%20.306.083.486.486%200%200%200%20.271-.164l2.415-3.18%201.318.993-2.39%203.197a.25.25%200%200%200-.076.137.472.472%200%200%200-.008.17.4.4%200%200%200%20.164.27.4.4%200%200%200%20.578-.08l2.414-3.18%201.318.993-2.412%203.2a.394.394%200%200%200-.083.306c.016.11.074.2.175.27.101.07.207.098.317.082Zm.21%201.654a2.033%202.033%200%200%201-1.422-.316%201.99%201.99%200%200%201-.869-1.172%202.054%202.054%200%200%201-1.257-.412%202.054%202.054%200%200%201-.743-1.095%201.979%201.979%200%200%201-1.248-.424%202.12%202.12%200%200%201-.731-1.086%201.982%201.982%200%200%201-1.375-.5%202.046%202.046%200%200%201-.687-1.293%202.119%202.119%200%200%201%20.043-.816c.068-.269.184-.513.35-.733l4.116-5.438%203.083%202.323a.25.25%200%200%200%20.137.075.47.47%200%200%200%20.169.008.445.445%200%200%200%20.294-.157.39.39%200%200%200%20.081-.317.473.473%200%200%200-.054-.16.25.25%200%200%200-.11-.111l-3.365-2.536a1.377%201.377%200%200%200-.577-.287%201.778%201.778%200%200%200-1.248.176%201.538%201.538%200%200%200-.506.44l-2.497%203.337c-.107.142-.19.3-.249.477-.06.177-.091.35-.095.518a1.57%201.57%200%200%200%20.304.968l-1.029%201.364a3.313%203.313%200%200%201-.662-.969%203.273%203.273%200%200%201-.154-2.293c.114-.387.295-.746.543-1.075l2.5-3.318c.286-.363.62-.655%201.003-.877a3.316%203.316%200%200%201%203.68.219l.26.195.195-.259c.285-.363.62-.655%201.002-.877a3.316%203.316%200%200%201%203.68.219l3.977%202.996a3.393%203.393%200%200%201%201.3%202.216c.06.426.036.854-.072%201.283a3.282%203.282%200%200%201-.57%201.185l-5.818%207.697c-.166.22-.368.402-.607.548a2.002%202.002%200%200%201-.771.277Z'%20fill='%23222B35'/%3e%3c/g%3e%3c/g%3e%3c/g%3e%3cdefs%3e%3clinearGradient%20id='b'%20x1='1.097'%20y1='10.89'%20x2='36.001'%20y2='44.744'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23FF6200'/%3e%3cstop%20offset='1'%20stop-color='%23FF6200'%20stop-opacity='0'/%3e%3c/linearGradient%3e%3clinearGradient%20id='c'%20x1='40.312'%20y1='5.379'%20x2='16.092'%20y2='47.542'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23fff'/%3e%3cstop%20offset='1'%20stop-color='%23fff'%20stop-opacity='.4'/%3e%3c/linearGradient%3e%3clinearGradient%20id='d'%20x1='24.991'%20y1='38.635'%20x2='20.304'%20y2='5.283'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%230C0E41'/%3e%3cstop%20offset='1'%20stop-color='%230C0E41'%20stop-opacity='.5'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e"),alt:""},null,8,em)]),"list-items":e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(c.value,({item:n,error:r})=>(e.openBlock(),e.createElementBlock("li",{key:JSON.stringify(n)},[e.createVNode(Zp,{timezone:t.timezone,commitment:n,error:r,"is-editable":e.unref(a)(n),"is-removable":e.unref(i)(n),"pricing-plan-version":t.pricingPlanVersion,i18n:l.value,onEdit:e=>o.$emit("edit",n),onDelete:e=>o.$emit("delete",n)},null,8,["timezone","commitment","error","is-editable","is-removable","pricing-plan-version","i18n","onEdit","onDelete"])]))),128))]),_:1},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"]))}}),om=(t,o,l)=>{const{formatDate:n}=Gn(),a=e.computed(()=>{var e,o;return null==(o=null==(e=t.value)?void 0:e.pricing_categories)?void 0:o.flatMap(e=>{var t;return[...(null==(t=e.pricing_groups)?void 0:t.flatMap(e=>e.pricings))??[],...e.pricings??[]]})}),i=e=>{if(!e.start_at&&!e.end_at)return"";let t,a;return e.start_at||(t=o.startOfSchedule),e.end_at||(a=o.endOfSchedule),e.start_at&&(t=n(l?{date:e.start_at,format:"date",offsetType:"offsetted",timezone:l}:{date:e.start_at,format:"date",offsetType:"local",showTimezone:!1})),e.end_at&&(a=n(l?{date:e.end_at,format:"date",offsetType:"offsetted",timezone:l}:{date:e.end_at,format:"date",offsetType:"local",showTimezone:!1})),`(${t} - ${a})`};return{getDiscountBody:e=>{let t;switch(e.discountLevel){case"PRODUCT":t=o.product;break;case"REVENUE_ITEM":t=o.revenueItem;break;case"PRICING_RULE":t=o.pricingRule}return o.discountBody(t??"",(e=>{var t,l,n,i,r,c,s,d,u,p;let m,f;switch(e.discountLevel){case"PRODUCT":m=null==(t=a.value)?void 0:t.find(t=>{var o;return t.id===(null==(o=e.ids)?void 0:o[0])});break;case"REVENUE_ITEM":{const t=t=>{var o;return t.id===(null==(o=e.ids)?void 0:o[0])};m=null==(l=a.value)?void 0:l.find(e=>{var o;return null==(o=e.items)?void 0:o.some(t)}),f=null==(n=null==m?void 0:m.items)?void 0:n.find(t);break}case"PRICING_RULE":{const t=t=>{var o;return t.id===(null==(o=e.ids)?void 0:o[0])},l=e=>{var o,n;return t(e)||!!(null==(n=null==(o=e.conditions)?void 0:o.configs)?void 0:n.some(l))},n=e=>{var t;return null==(t=e.configs)?void 0:t.some(l)},s=e=>{var t;return null==(t=e.items)?void 0:t.some(n)},d=null==(i=a.value)?void 0:i.find(s),u=null==(r=null==d?void 0:d.items)?void 0:r.find(n),p=null==(c=null==u?void 0:u.configs)?void 0:c.flatMap(si),m=null==p?void 0:p.find(t);return`<strong>${di(o)({pricing:d,item:u,config:m})}</strong>`}}return[(null==m?void 0:m.name)??(null==(d=null==(s=null==m?void 0:m.products)?void 0:s[0])?void 0:d.name),null==(p=null==(u=null==f?void 0:f.product_items)?void 0:u[0])?void 0:p.name].filter(Boolean).join(" - ")})(e)??"",i(e))},getFormattedDuration:i}},lm={...Sp,product:"product",revenueItem:"revenue item",pricingRule:"price rule",discountBody:(e,t,o)=>`Discount on ${e} <strong>${t}</strong> ${o}`,startOfSchedule:"Start of schedule",endOfSchedule:"End of schedule",discountOnInvoice:e=>`Discount on <strong>Invoice</strong> ${e}`,or:"or",unsupported:"unsupported",unknown:"unknown"},nm={class:"font-semibold"},am={key:1,class:"text-primary-600"},im=["innerHTML"],rm=["innerHTML"],cm=e.defineComponent({__name:"SubscriptionDiscountItem",props:{discount:{},pricingPlanVersion:{},isEditable:{type:Boolean},isRemovable:{type:Boolean},i18n:{},error:{},timezone:{}},emits:["edit","delete"],setup(t,{emit:o}){const l=t,n=o,a=e.computed(()=>l.i18n??lm),{getDiscountBody:i,getFormattedDuration:r}=om(e.toRef(()=>l.pricingPlanVersion),a.value,l.timezone);return(o,l)=>(e.openBlock(),e.createBlock(Ip,{icon:"south_east","icon-color":"yellow","is-editable":t.isEditable,"is-removable":t.isRemovable,error:t.error,onEdit:l[0]||(l[0]=e=>n("edit")),onDelete:l[1]||(l[1]=e=>n("delete"))},{body:e.withCtx(()=>{var o,n,c;return[e.createElementVNode("span",nm,[(null==(o=t.discount.amount)?void 0:o.quantity)?(e.openBlock(),e.createBlock(Pi,{key:0,value:t.discount.amount,highlighted:""},null,8,["value"])):t.discount.percentage?(e.openBlock(),e.createElementBlock("span",am,e.toDisplayString(t.discount.percentage)+"%",1)):e.createCommentVNode("",!0)]),l[2]||(l[2]=e.createTextVNode(" ",-1)),"INVOICE"===t.discount.discountLevel?(e.openBlock(),e.createElementBlock("span",{key:0,innerHTML:null==(c=(n=a.value).discountOnInvoice)?void 0:c.call(n,e.unref(r)(t.discount))},null,8,im)):(e.openBlock(),e.createElementBlock("span",{key:1,innerHTML:e.unref(i)(t.discount)},null,8,rm))]}),_:1},8,["is-editable","is-removable","error"]))}}),sm={...lm,title:"Discounts",orderOfApplicationExplanation:"Discounts are applied before commitments on invoices",description:"Add price reductions for a defined period or specific terms.",selectPricingPlanHint:"Please select a pricing plan to add discounts",addItemLabel:"Add",notEditableExplanation:"Discounts can't be edited for active schedules"},dm=["src"],um=e.defineComponent({__name:"SubscriptionDiscounts",props:{i18n:{},discount:{},pricingPlanVersion:{},isEditable:{type:[Boolean,Function]},isCreatable:{type:Boolean},isRemovable:{type:[Boolean,Function]},scheduleStart:{},billingPeriod:{},billingTime:{},isDraftSubscription:{type:Boolean,default:!1},error:{},timezone:{}},emits:["add","edit","delete"],setup(t){const o=t,l=e.computed(()=>o.i18n??sm),n=e.computed(()=>{if("error"in o)return(e=>{const t=Object.entries(e||{});if(0===t.length)return;const[o,l]=t[0],[n,a,i]=o.split(".");return{discountLevel:n,index:parseInt(a,10),fieldName:i,message:l}})(o.error)}),{isEditableFlag:a,isItemEditable:i,isItemRemovable:r}=Fp({isEditable:o.isEditable,isRemovable:o.isRemovable}),c=e.computed(()=>{var e,t,l,a,i,r,c,s;return[...(null==(t=null==(e=o.discount)?void 0:e.pricing_item_configs)?void 0:t.map((e,t)=>{var o,l;return{item:{...e,discountLevel:"PRICING_RULE"},error:t===(null==(o=n.value)?void 0:o.index)&&"pricing_item_configs"===(null==(l=n.value)?void 0:l.discountLevel)?n.value.message:void 0}}))||[],...(null==(a=null==(l=o.discount)?void 0:l.pricing_items)?void 0:a.map((e,t)=>{var o,l;return{item:{...e,discountLevel:"REVENUE_ITEM"},error:t===(null==(o=n.value)?void 0:o.index)&&"pricing_items"===(null==(l=n.value)?void 0:l.discountLevel)?n.value.message:void 0}}))||[],...(null==(r=null==(i=o.discount)?void 0:i.pricings)?void 0:r.map((e,t)=>{var o,l;return{item:{...e,discountLevel:"PRODUCT"},error:t===(null==(o=n.value)?void 0:o.index)&&"pricings"===(null==(l=n.value)?void 0:l.discountLevel)?n.value.message:void 0}}))||[],...(null==(s=null==(c=o.discount)?void 0:c.totals)?void 0:s.map((e,t)=>{var o,l;return{item:{...e,discountLevel:"INVOICE"},error:t===(null==(o=n.value)?void 0:o.index)&&"totals"===(null==(l=n.value)?void 0:l.discountLevel)?n.value.message:void 0}}))||[]]});return(o,n)=>(e.openBlock(),e.createBlock(Jp,e.mergeProps(o.$attrs,{title:l.value.title,"order-of-application-explanation":l.value.orderOfApplicationExplanation,description:l.value.description,"pricing-plan-version-is-selected":!!t.pricingPlanVersion,"select-pricing-plan-hint":l.value.selectPricingPlanHint,"add-item-label":l.value.addItemLabel,"is-editable":e.unref(a),"is-creatable":!!t.isCreatable,"not-editable-explanation":l.value.notEditableExplanation,"has-items":c.value.length>0,onAdd:n[0]||(n[0]=e=>o.$emit("add"))}),{icon:e.withCtx(()=>[e.createElementVNode("img",{src:e.unref("data:image/svg+xml,%3csvg%20width='44'%20height='44'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cmask%20id='a'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='0'%20y='0'%20width='44'%20height='44'%3e%3cpath%20fill='%23D9D9D9'%20d='M0%200h44v44H0z'/%3e%3c/mask%3e%3cg%20mask='url(%23a)'%3e%3cmask%20id='e'%20fill='%23fff'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='m18.55%2039.32%203.45%203.4%203.46-3.41%204.48%201.85%201.86-4.5h4.87v-4.84l4.47-1.9-1.82-4.47%203.4-3.45-3.41-3.46%201.85-4.48-4.5-1.86V7.33h-4.84l-1.9-4.47-4.47%201.82L22%201.28%2018.54%204.7l-4.48-1.85-1.86%204.5H7.33v4.84l-4.47%201.9%201.82%204.47L1.28%2022l3.41%203.46-1.85%204.48%204.5%201.86v4.87h4.84l1.9%204.47%204.47-1.82Z'/%3e%3c/mask%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='m18.55%2039.32%203.45%203.4%203.46-3.41%204.48%201.85%201.86-4.5h4.87v-4.84l4.47-1.9-1.82-4.47%203.4-3.45-3.41-3.46%201.85-4.48-4.5-1.86V7.33h-4.84l-1.9-4.47-4.47%201.82L22%201.28%2018.54%204.7l-4.48-1.85-1.86%204.5H7.33v4.84l-4.47%201.9%201.82%204.47L1.28%2022l3.41%203.46-1.85%204.48%204.5%201.86v4.87h4.84l1.9%204.47%204.47-1.82Z'%20fill='%23BFEAFB'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='m18.55%2039.32%203.45%203.4%203.46-3.41%204.48%201.85%201.86-4.5h4.87v-4.84l4.47-1.9-1.82-4.47%203.4-3.45-3.41-3.46%201.85-4.48-4.5-1.86V7.33h-4.84l-1.9-4.47-4.47%201.82L22%201.28%2018.54%204.7l-4.48-1.85-1.86%204.5H7.33v4.84l-4.47%201.9%201.82%204.47L1.28%2022l3.41%203.46-1.85%204.48%204.5%201.86v4.87h4.84l1.9%204.47%204.47-1.82Z'%20fill='url(%23b)'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='m18.55%2039.32%203.45%203.4%203.46-3.41%204.48%201.85%201.86-4.5h4.87v-4.84l4.47-1.9-1.82-4.47%203.4-3.45-3.41-3.46%201.85-4.48-4.5-1.86V7.33h-4.84l-1.9-4.47-4.47%201.82L22%201.28%2018.54%204.7l-4.48-1.85-1.86%204.5H7.33v4.84l-4.47%201.9%201.82%204.47L1.28%2022l3.41%203.46-1.85%204.48%204.5%201.86v4.87h4.84l1.9%204.47%204.47-1.82Z'%20fill='url(%23c)'/%3e%3cpath%20d='m22%2042.72-.7.7.7.7.7-.7-.7-.7Zm-3.45-3.4.7-.71-.46-.46-.61.25.37.92Zm6.91-.01.38-.93-.6-.25-.48.47.7.7Zm4.48%201.85-.38.93.92.38.38-.92-.92-.39Zm1.86-4.5v-1h-.67l-.25.62.92.39Zm4.87%200v1h1v-1h-1Zm0-4.84-.4-.92-.6.26v.66h1Zm4.47-1.9.39.93.9-.39-.36-.9-.93.37Zm-1.82-4.47-.7-.7-.47.46.25.61.92-.37Zm3.4-3.45.7.7.7-.7-.7-.7-.7.7Zm-3.41-3.46-.93-.38-.25.61.47.47.7-.7Zm1.85-4.48.93.39.38-.93-.92-.38-.39.92Zm-4.5-1.86h-1v.67l.62.25.39-.92Zm0-4.87h1v-1h-1v1Zm-4.84%200-.92.4.26.6h.66v-1Zm-1.9-4.47.93-.39-.38-.9-.92.36.38.93Zm-4.47%201.82-.7.71.46.46.61-.25-.37-.92ZM22%201.28l.7-.7-.7-.7-.7.7.7.7ZM18.54%204.7l-.38.93.61.25.47-.47-.7-.7Zm-4.48-1.85.39-.93-.93-.38-.38.92.92.39Zm-1.86%204.5v1h.67l.25-.62-.92-.39Zm-4.87%200v-1h-1v1h1Zm0%204.84.4.92.6-.26v-.66h-1Zm-4.47%201.9-.39-.93-.9.38.36.92.93-.38Zm1.82%204.47.71.7.46-.46-.25-.61-.92.37ZM1.28%2022l-.7-.7-.7.7.7.7.7-.7Zm3.41%203.46.93.38.25-.61-.47-.47-.7.7Zm-1.85%204.48-.93-.39-.38.93.92.38.39-.92Zm4.5%201.86h1v-.67l-.62-.25-.39.92Zm0%204.87h-1v1h1v-1Zm4.84%200%20.92-.4-.26-.6h-.66v1Zm1.9%204.47-.93.39.39.9.9-.36-.37-.93Zm8.62.86-3.44-3.39-1.4%201.42%203.44%203.4L22.7%2042Zm2.06-3.4L21.3%2042l1.4%201.43%203.46-3.41-1.4-1.42Zm5.56%201.64-4.48-1.86-.76%201.85%204.48%201.86.76-1.85Zm.56-3.96L29%2040.78l1.85.77%201.86-4.5-1.84-.77Zm5.79-.61H31.8v2h4.87v-2Zm-1-3.85v4.85h2v-4.85h-2Zm5.08-2.81-4.47%201.89.78%201.84%204.47-1.9-.78-1.83Zm-2.35-3.19%201.81%204.48%201.86-.75-1.82-4.48-1.85.75ZM42%2021.3l-3.39%203.44%201.43%201.4%203.39-3.44L42%2021.3Zm-3.4-2.06L42%2022.7l1.43-1.4-3.4-3.46-1.43%201.4Zm1.64-5.56-1.86%204.48%201.85.76%201.86-4.47-1.85-.77Zm-3.96-.56%204.5%201.87.77-1.85-4.5-1.86-.77%201.84Zm-.61-5.79v4.87h2V7.33h-2Zm-3.85%201h4.85v-2h-4.85v2Zm-2.81-5.08%201.89%204.47%201.84-.78-1.9-4.47-1.83.78ZM25.82%205.6%2030.3%203.8l-.75-1.86-4.48%201.82.75%201.85ZM21.3%202l3.44%203.39%201.4-1.42L22.7.57%2021.3%202Zm-2.06%203.4L22.7%202%2021.3.57l-3.46%203.4%201.4%201.43Zm-5.56-1.64%204.48%201.86.76-1.85-4.47-1.86-.77%201.85Zm-.56%203.96L15%203.22l-1.85-.77-1.86%204.5%201.84.77Zm-5.79.61h4.87v-2H7.33v2Zm1%203.85V7.33h-2v4.85h2Zm-5.08%202.81%204.47-1.89-.78-1.84-4.47%201.9.78%201.83Zm2.35%203.19L3.8%2013.7l-1.86.75%201.82%204.48%201.85-.75ZM2%2022.7l3.39-3.44-1.42-1.4-3.4%203.44L2%2022.7Zm3.4%202.06L2%2021.3.57%2022.7l3.41%203.46%201.42-1.4Zm-1.64%205.56%201.86-4.48-1.85-.76-1.86%204.47%201.85.77Zm3.96.56L3.22%2029l-.77%201.85%204.5%201.86.77-1.84Zm.61%205.79V31.8h-2v4.87h2Zm3.85-1H7.33v2h4.85v-2Zm2.81%205.08-1.89-4.47-1.84.78%201.9%204.47%201.83-.78Zm3.19-2.35L13.7%2040.2l.75%201.86%204.48-1.82-.75-1.85Z'%20fill='url(%23d)'%20fill-opacity='.1'%20mask='url(%23e)'/%3e%3cg%20opacity='.5'%3e%3cmask%20id='f'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='12'%20y='12'%20width='20'%20height='20'%3e%3cpath%20fill='%23D9D9D9'%20d='M12%2012h20v20H12z'/%3e%3c/mask%3e%3cg%20mask='url(%23f)'%3e%3cpath%20d='M19.5%2027.83v-1.66H25l-9.67-9.67%201.17-1.17L26.17%2025v-5.5h1.66v8.33H19.5Z'%20fill='%23222B35'/%3e%3c/g%3e%3c/g%3e%3c/g%3e%3cdefs%3e%3clinearGradient%20id='b'%20x1='1.28'%20y1='1.28'%20x2='42.72'%20y2='42.72'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23F6D449'/%3e%3cstop%20offset='1'%20stop-color='%23F6D449'%20stop-opacity='0'/%3e%3c/linearGradient%3e%3clinearGradient%20id='c'%20x1='42.72'%20y1='1.28'%20x2='1.28'%20y2='42.72'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23fff'/%3e%3cstop%20offset='1'%20stop-color='%23fff'%20stop-opacity='.4'/%3e%3c/linearGradient%3e%3clinearGradient%20id='d'%20x1='22'%20y1='42.72'%20x2='22'%20y2='-2.59'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%230C0E41'/%3e%3cstop%20offset='1'%20stop-color='%230C0E41'%20stop-opacity='.5'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e"),alt:""},null,8,dm)]),"list-items":e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(c.value,({item:n,error:a})=>(e.openBlock(),e.createElementBlock("li",{key:JSON.stringify(n)},[e.createVNode(cm,{discount:n,error:a,"is-editable":e.unref(i)(n),"is-removable":e.unref(r)(n),"pricing-plan-version":t.pricingPlanVersion,i18n:l.value,timezone:t.timezone,onEdit:e=>o.$emit("edit",n),onDelete:e=>o.$emit("delete",n)},null,8,["discount","error","is-editable","is-removable","pricing-plan-version","i18n","timezone","onEdit","onDelete"])]))),128))]),_:1},16,["title","order-of-application-explanation","description","pricing-plan-version-is-selected","select-pricing-plan-hint","add-item-label","is-editable","is-creatable","not-editable-explanation","has-items"]))}}),pm={...zp,...Sp,markupBody:(e,t,o)=>`Markup on ${e} <strong>${t}</strong> ${o}`},mm={class:"font-semibold text-primary-600"},fm=["innerHTML"],hm=e.defineComponent({__name:"SubscriptionMarkupItem",props:{markup:{},pricingPlanVersion:{},isEditable:{type:Boolean},isRemovable:{type:Boolean},i18n:{},error:{},timezone:{}},emits:["edit","delete"],setup(t,{emit:o}){const l=t,n=o,a=e.computed(()=>l.i18n??pm),{getMarkupBody:i}=((t,o=pm,l)=>{const{formatDate:n}=Gn(),a=e.computed(()=>{var e,o;return(null==(o=null==(e=t.value)?void 0:e.pricing_categories)?void 0:o.flatMap(e=>{var t;return[...(null==(t=e.pricing_groups)?void 0:t.flatMap(e=>e.pricings))??[],...e.pricings??[]]}))??[]}),i=e=>{var t,l;const n=t=>{var o;return t.id===(null==(o=e.ids)?void 0:o[0])},i=e=>{var t,o;return n(e)||!!(null==(o=null==(t=e.conditions)?void 0:t.configs)?void 0:o.some(n))},r=e=>{var t;return null==(t=e.configs)?void 0:t.some(i)},c=null==(t=a.value)?void 0:t.find(e=>{var t;return null==(t=e.items)?void 0:t.some(r)}),s=null==(l=null==c?void 0:c.items)?void 0:l.find(r),d=(null==s?void 0:s.configs)&&(null==s?void 0:s.configs.flatMap(si)),u=null==d?void 0:d.find(n);return`<strong>${di(o)({pricing:c,item:s,config:u})}</strong>`},r=e=>{if(!e.start_at&&!e.end_at)return"";let t,a;return e.start_at||(t=o.startOfSchedule),e.end_at||(a=o.endOfSchedule),e.start_at&&(t=n(l?{date:e.start_at,format:"date",offsetType:"offsetted",timezone:l}:{date:e.start_at,format:"date",offsetType:"local",showTimezone:!1})),e.end_at&&(a=n(l?{date:e.end_at,format:"date",offsetType:"offsetted",timezone:l}:{date:e.end_at,format:"date",offsetType:"local",showTimezone:!1})),`(${t} - ${a})`};return{getMarkupBody:e=>o.markupBody(o.pricingRule,i(e)??"",r(e)),getFormattedDuration:r}})(e.toRef(()=>l.pricingPlanVersion),a.value,l.timezone);return(o,l)=>(e.openBlock(),e.createBlock(Ip,{icon:"north_east","icon-color":"teal","is-editable":t.isEditable,"is-removable":t.isRemovable,error:t.error,onEdit:l[0]||(l[0]=e=>n("edit")),onDelete:l[1]||(l[1]=e=>n("delete"))},{body:e.withCtx(()=>[e.createElementVNode("span",mm,e.toDisplayString(t.markup.percentage)+"%"+e.toDisplayString(" "),1),e.createElementVNode("span",{innerHTML:e.unref(i)(t.markup)},null,8,fm)]),_:1},8,["is-editable","is-removable","error"]))}}),vm={...pm,title:"Markups",orderOfApplicationExplanation:"Markups are applied before commitments on invoices",description:"Add price markups for a defined period or specific terms.",selectPricingPlanHint:"Please select a pricing plan to add markups",addItemLabel:"Add",notEditableExplanation:"Markups can't be edited for active schedules"},gm=["src"],ym=e.defineComponent({__name:"SubscriptionMarkups",props:{i18n:{},markup:{},pricingPlanVersion:{},isCreatable:{type:Boolean},isEditable:{type:[Boolean,Function]},isRemovable:{type:[Boolean,Function]},error:{},timezone:{}},emits:["add","edit","delete"],setup(t){const o=t,l=e.computed(()=>o.i18n??vm),{isEditableFlag:n,isItemEditable:a,isItemRemovable:i}=Fp({isEditable:o.isEditable,isRemovable:o.isRemovable}),r=e.computed(()=>{if("error"in o)return(e=>{const t=Object.entries(e||{});if(0===t.length)return;const[o,l]=t[0],[n,a,i]=o.split(".");return{markupLevel:n,index:parseInt(a,10),fieldName:i,message:l}})(o.error)}),c=e.computed(()=>{var e,t;return(null==(t=null==(e=o.markup)?void 0:e.pricing_item_configs)?void 0:t.map((e,t)=>{var o,l;return{item:e,error:t===(null==(o=r.value)?void 0:o.index)&&"pricing_item_configs"===(null==(l=r.value)?void 0:l.markupLevel)?r.value.message:void 0}}))??[]});return(o,r)=>(e.openBlock(),e.createBlock(Jp,e.mergeProps(o.$attrs,{title:l.value.title,"order-of-application-explanation":l.value.orderOfApplicationExplanation,description:l.value.description,"pricing-plan-version-is-selected":!!t.pricingPlanVersion,"select-pricing-plan-hint":l.value.selectPricingPlanHint,"add-item-label":l.value.addItemLabel,"is-editable":e.unref(n),"is-creatable":!!t.isCreatable,"not-editable-explanation":l.value.notEditableExplanation,"has-items":c.value.length>0,onAdd:r[0]||(r[0]=e=>o.$emit("add"))}),{icon:e.withCtx(()=>[e.createElementVNode("img",{src:e.unref("data:image/svg+xml,%3csvg%20width='44'%20height='44'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cmask%20id='a'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='0'%20y='0'%20width='44'%20height='44'%3e%3cpath%20fill='%23D9D9D9'%20d='M0%200h44v44H0z'/%3e%3c/mask%3e%3cg%20mask='url(%23a)'%3e%3cmask%20id='e'%20fill='%23fff'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M16.76%2040.05a2.94%202.94%200%200%201%203.17.63%202.96%202.96%200%200%200%204.15%200%202.93%202.93%200%200%201%203.17-.63c1.48.61%203.19-.1%203.8-1.58a2.92%202.92%200%200%201%202.7-1.8c1.61%200%202.92-1.3%202.92-2.92%200-1.17.7-2.23%201.78-2.69a2.96%202.96%200%200%200%201.6-3.82%202.94%202.94%200%200%201%20.63-3.17%202.96%202.96%200%200%200%200-4.15%202.93%202.93%200%200%201-.63-3.16c.61-1.5-.1-3.2-1.58-3.81a2.92%202.92%200%200%201-1.8-2.7c0-1.61-1.3-2.92-2.92-2.92a2.93%202.93%200%200%201-2.69-1.78%202.96%202.96%200%200%200-3.82-1.6c-1.09.44-2.34.2-3.17-.63a2.96%202.96%200%200%200-4.15%200%202.93%202.93%200%200%201-3.16.63c-1.5-.61-3.2.1-3.81%201.58a2.92%202.92%200%200%201-2.7%201.8%202.92%202.92%200%200%200-2.92%202.92c0%201.17-.7%202.23-1.78%202.69a2.96%202.96%200%200%200-1.6%203.82c.44%201.09.2%202.34-.63%203.17a2.96%202.96%200%200%200%20.01%204.15c.82.83%201.07%202.08.62%203.16-.61%201.5.1%203.2%201.58%203.81a2.92%202.92%200%200%201%201.8%202.7c0%201.61%201.3%202.92%202.92%202.92%201.17%200%202.23.7%202.69%201.78a2.96%202.96%200%200%200%203.82%201.6Z'/%3e%3c/mask%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M16.76%2040.05a2.94%202.94%200%200%201%203.17.63%202.96%202.96%200%200%200%204.15%200%202.93%202.93%200%200%201%203.17-.63c1.48.61%203.19-.1%203.8-1.58a2.92%202.92%200%200%201%202.7-1.8c1.61%200%202.92-1.3%202.92-2.92%200-1.17.7-2.23%201.78-2.69a2.96%202.96%200%200%200%201.6-3.82%202.94%202.94%200%200%201%20.63-3.17%202.96%202.96%200%200%200%200-4.15%202.93%202.93%200%200%201-.63-3.16c.61-1.5-.1-3.2-1.58-3.81a2.92%202.92%200%200%201-1.8-2.7c0-1.61-1.3-2.92-2.92-2.92a2.93%202.93%200%200%201-2.69-1.78%202.96%202.96%200%200%200-3.82-1.6c-1.09.44-2.34.2-3.17-.63a2.96%202.96%200%200%200-4.15%200%202.93%202.93%200%200%201-3.16.63c-1.5-.61-3.2.1-3.81%201.58a2.92%202.92%200%200%201-2.7%201.8%202.92%202.92%200%200%200-2.92%202.92c0%201.17-.7%202.23-1.78%202.69a2.96%202.96%200%200%200-1.6%203.82c.44%201.09.2%202.34-.63%203.17a2.96%202.96%200%200%200%20.01%204.15c.82.83%201.07%202.08.62%203.16-.61%201.5.1%203.2%201.58%203.81a2.92%202.92%200%200%201%201.8%202.7c0%201.61%201.3%202.92%202.92%202.92%201.17%200%202.23.7%202.69%201.78a2.96%202.96%200%200%200%203.82%201.6Z'%20fill='%23BFEAFB'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M16.76%2040.05a2.94%202.94%200%200%201%203.17.63%202.96%202.96%200%200%200%204.15%200%202.93%202.93%200%200%201%203.17-.63c1.48.61%203.19-.1%203.8-1.58a2.92%202.92%200%200%201%202.7-1.8c1.61%200%202.92-1.3%202.92-2.92%200-1.17.7-2.23%201.78-2.69a2.96%202.96%200%200%200%201.6-3.82%202.94%202.94%200%200%201%20.63-3.17%202.96%202.96%200%200%200%200-4.15%202.93%202.93%200%200%201-.63-3.16c.61-1.5-.1-3.2-1.58-3.81a2.92%202.92%200%200%201-1.8-2.7c0-1.61-1.3-2.92-2.92-2.92a2.93%202.93%200%200%201-2.69-1.78%202.96%202.96%200%200%200-3.82-1.6c-1.09.44-2.34.2-3.17-.63a2.96%202.96%200%200%200-4.15%200%202.93%202.93%200%200%201-3.16.63c-1.5-.61-3.2.1-3.81%201.58a2.92%202.92%200%200%201-2.7%201.8%202.92%202.92%200%200%200-2.92%202.92c0%201.17-.7%202.23-1.78%202.69a2.96%202.96%200%200%200-1.6%203.82c.44%201.09.2%202.34-.63%203.17a2.96%202.96%200%200%200%20.01%204.15c.82.83%201.07%202.08.62%203.16-.61%201.5.1%203.2%201.58%203.81a2.92%202.92%200%200%201%201.8%202.7c0%201.61%201.3%202.92%202.92%202.92%201.17%200%202.23.7%202.69%201.78a2.96%202.96%200%200%200%203.82%201.6Z'%20fill='url(%23b)'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M16.76%2040.05a2.94%202.94%200%200%201%203.17.63%202.96%202.96%200%200%200%204.15%200%202.93%202.93%200%200%201%203.17-.63c1.48.61%203.19-.1%203.8-1.58a2.92%202.92%200%200%201%202.7-1.8c1.61%200%202.92-1.3%202.92-2.92%200-1.17.7-2.23%201.78-2.69a2.96%202.96%200%200%200%201.6-3.82%202.94%202.94%200%200%201%20.63-3.17%202.96%202.96%200%200%200%200-4.15%202.93%202.93%200%200%201-.63-3.16c.61-1.5-.1-3.2-1.58-3.81a2.92%202.92%200%200%201-1.8-2.7c0-1.61-1.3-2.92-2.92-2.92a2.93%202.93%200%200%201-2.69-1.78%202.96%202.96%200%200%200-3.82-1.6c-1.09.44-2.34.2-3.17-.63a2.96%202.96%200%200%200-4.15%200%202.93%202.93%200%200%201-3.16.63c-1.5-.61-3.2.1-3.81%201.58a2.92%202.92%200%200%201-2.7%201.8%202.92%202.92%200%200%200-2.92%202.92c0%201.17-.7%202.23-1.78%202.69a2.96%202.96%200%200%200-1.6%203.82c.44%201.09.2%202.34-.63%203.17a2.96%202.96%200%200%200%20.01%204.15c.82.83%201.07%202.08.62%203.16-.61%201.5.1%203.2%201.58%203.81a2.92%202.92%200%200%201%201.8%202.7c0%201.61%201.3%202.92%202.92%202.92%201.17%200%202.23.7%202.69%201.78a2.96%202.96%200%200%200%203.82%201.6Z'%20fill='url(%23c)'/%3e%3cpath%20d='M12.02%2038.84a3.96%203.96%200%200%200%205.12%202.14l-.75-1.86c-.98.4-2.12-.07-2.53-1.05l-1.84.77Zm-1.77-1.17c.76%200%201.46.46%201.77%201.17l1.84-.78a3.93%203.93%200%200%200-3.61-2.4v2Zm-3.92-3.92a3.92%203.92%200%200%200%203.92%203.92v-2a1.92%201.92%200%200%201-1.92-1.92h-2Zm-1.18-1.77c.72.3%201.18%201%201.18%201.77h2c0-1.58-.95-3.01-2.42-3.62l-.76%201.85Zm-2.12-5.12c-.83%202%20.12%204.29%202.12%205.12l.76-1.85a1.92%201.92%200%200%201-1.03-2.5l-1.85-.77Zm-.41-2.08c.54.55.7%201.37.4%202.08l1.86.77c.6-1.46.26-3.14-.84-4.25l-1.42%201.4Zm-.01-5.55a3.96%203.96%200%200%200%200%205.55l1.43-1.4a1.96%201.96%200%200%201%200-2.75l-1.43-1.4Zm.41-2.1c.3.73.13%201.55-.41%202.1l1.42%201.4a3.94%203.94%200%200%200%20.85-4.25l-1.86.76Zm2.14-5.11a3.96%203.96%200%200%200-2.14%205.12l1.86-.76c-.4-.97.07-2.1%201.06-2.52l-.78-1.84Zm1.17-1.77c0%20.76-.46%201.46-1.17%201.77l.78%201.84a3.93%203.93%200%200%200%202.4-3.61h-2Zm3.92-3.92a3.92%203.92%200%200%200-3.92%203.92h2c0-1.06.86-1.92%201.92-1.92v-2Zm1.77-1.18c-.3.72-1%201.18-1.77%201.18v2c1.58%200%203.01-.95%203.62-2.42l-1.85-.76Zm5.12-2.12c-2-.83-4.29.12-5.12%202.12l1.85.76a1.92%201.92%200%200%201%202.5-1.03l.77-1.85Zm2.08-.41c-.55.54-1.37.7-2.08.4l-.77%201.86c1.46.6%203.14.26%204.26-.84l-1.4-1.42Zm5.55-.01a3.96%203.96%200%200%200-5.55%200l1.4%201.43a1.96%201.96%200%200%201%202.75%200l1.4-1.43Zm2.1.41c-.72.3-1.55.13-2.1-.41l-1.4%201.42a3.94%203.94%200%200%200%204.25.85l-.76-1.86Zm5.12%202.14a3.96%203.96%200%200%200-5.13-2.14l.76%201.86c.97-.4%202.1.07%202.52%201.05L32%205.16Zm1.76%201.17c-.76%200-1.46-.46-1.76-1.17l-1.85.77a3.93%203.93%200%200%200%203.61%202.4v-2Zm3.92%203.92a3.92%203.92%200%200%200-3.92-3.92v2c1.06%200%201.92.86%201.92%201.92h2Zm1.18%201.77c-.71-.3-1.18-1-1.18-1.77h-2c0%201.58.95%203.01%202.42%203.62l.76-1.85Zm2.12%205.12c.83-2-.12-4.29-2.12-5.12l-.76%201.85c.97.4%201.44%201.53%201.03%202.5l1.85.77Zm.41%202.08a1.93%201.93%200%200%201-.4-2.08l-1.86-.77a3.93%203.93%200%200%200%20.84%204.25l1.42-1.4Zm.01%205.55a3.96%203.96%200%200%200%200-5.55l-1.43%201.4c.75.77.75%202%200%202.74l1.43%201.4Zm-.41%202.1c-.3-.73-.13-1.55.41-2.1l-1.42-1.4a3.94%203.94%200%200%200-.85%204.25l1.86-.76Zm-2.14%205.11a3.96%203.96%200%200%200%202.14-5.12l-1.86.76c.4.97-.07%202.1-1.05%202.52l.77%201.84Zm-1.17%201.77c0-.76.46-1.46%201.17-1.77l-.77-1.84a3.93%203.93%200%200%200-2.4%203.61h2Zm-3.92%203.92a3.92%203.92%200%200%200%203.92-3.92h-2c0%201.06-.86%201.92-1.92%201.92v2Zm-1.77%201.18c.3-.72%201-1.18%201.77-1.18v-2c-1.58%200-3.01.95-3.62%202.42l1.85.76Zm-5.12%202.12c2%20.83%204.3-.12%205.12-2.12l-1.85-.76a1.92%201.92%200%200%201-2.5%201.03l-.77%201.85Zm-2.08.41c.55-.54%201.38-.7%202.08-.4l.77-1.86a3.93%203.93%200%200%200-4.25.84l1.4%201.42Zm-4.14-1.41a3.94%203.94%200%200%200-4.25-.85l.75%201.86c.72-.3%201.54-.13%202.1.41l1.4-1.42Zm-1.4%201.42a3.96%203.96%200%200%200%205.54%200l-1.4-1.43c-.77.75-2%20.75-2.74%200l-1.4%201.43Z'%20fill='url(%23d)'%20fill-opacity='.1'%20mask='url(%23e)'/%3e%3cg%20opacity='.5'%3e%3cmask%20id='f'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='12'%20y='12'%20width='20'%20height='20'%3e%3cpath%20fill='%23D9D9D9'%20d='M12%2012h20v20H12z'/%3e%3c/mask%3e%3cg%20mask='url(%23f)'%3e%3cpath%20d='m16.5%2028.67-1.17-1.17L25%2017.83h-5.5v-1.66h8.33v8.33h-1.66V19l-9.67%209.67Z'%20fill='%23222B35'/%3e%3c/g%3e%3c/g%3e%3c/g%3e%3cdefs%3e%3clinearGradient%20id='b'%20x1='1.28'%20y1='1.28'%20x2='42.72'%20y2='42.72'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23395E6D'/%3e%3cstop%20offset='1'%20stop-color='%23395E6D'%20stop-opacity='0'/%3e%3c/linearGradient%3e%3clinearGradient%20id='c'%20x1='42.72'%20y1='1.28'%20x2='1.28'%20y2='42.72'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23fff'/%3e%3cstop%20offset='1'%20stop-color='%23fff'%20stop-opacity='.4'/%3e%3c/linearGradient%3e%3clinearGradient%20id='d'%20x1='22'%20y1='42.72'%20x2='22'%20y2='-2.59'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%230C0E41'/%3e%3cstop%20offset='1'%20stop-color='%230C0E41'%20stop-opacity='.5'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e"),alt:""},null,8,gm)]),"list-items":e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(c.value,({item:n,error:r})=>(e.openBlock(),e.createElementBlock("li",{key:JSON.stringify(n)},[e.createVNode(hm,{markup:n,error:r,"is-editable":e.unref(a)(n),"is-removable":e.unref(i)(n),"pricing-plan-version":t.pricingPlanVersion,i18n:l.value,timezone:t.timezone,onEdit:e=>o.$emit("edit",n),onDelete:e=>o.$emit("delete",n)},null,8,["markup","error","is-editable","is-removable","pricing-plan-version","i18n","timezone","onEdit","onDelete"])]))),128))]),_:1},16,["title","order-of-application-explanation","description","pricing-plan-version-is-selected","select-pricing-plan-hint","add-item-label","is-editable","is-creatable","not-editable-explanation","has-items"]))}}),bm={startOfSchedule:Rp.startOfSchedule,endOfSchedule:Rp.endOfSchedule,markupPercentage:e=>`${e}% markup`},xm={class:"flex items-center gap-2"},km=e.defineComponent({__name:"SubscriptionScheduleConfigMarkup",props:{markup:{},i18n:{}},setup(t){const o=t,l=e.computed(()=>o.i18n??bm),{formatDate:n}=Gn();return(o,a)=>(e.openBlock(),e.createBlock(Qn,{color:"teal-light"},{default:e.withCtx(()=>[e.createElementVNode("div",xm,[e.createVNode(w,{icon:"north_east",size:"xs"}),e.createElementVNode("span",null,[t.markup.percentage?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createTextVNode(e.toDisplayString(l.value.markupPercentage(t.markup.percentage)),1)],64)):e.createCommentVNode("",!0),t.markup.start_at||t.markup.end_at?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createTextVNode(e.toDisplayString(" ")+"("+e.toDisplayString(t.markup.start_at?e.unref(n)({date:t.markup.start_at,format:"date",offsetType:"local",showTimezone:!1}):l.value.startOfSchedule)+" - "+e.toDisplayString(t.markup.end_at?e.unref(n)({date:t.markup.end_at,format:"date",offsetType:"local",showTimezone:!1}):l.value.endOfSchedule)+") ",1)],64)):e.createCommentVNode("",!0)])])]),_:1}))}}),_m={class:"relative"},wm={class:"w-full text-sm text-left text-gray-500"},Bm=e.defineComponent({__name:"Table",props:{striped:{type:Boolean},stripeClass:{},hoverable:{type:Boolean},sorting:{},rounded:{type:Boolean},noBorder:{type:Boolean}},emits:["sort"],setup(t,{emit:o}){const l=t,n=o;return e.provide("striped",l.striped),e.provide("stripeClass",l.stripeClass),e.provide("hoverable",l.hoverable),e.provide("sorting",l.sorting),e.provide("emit",n),e.provide("rounded",l.rounded??!1),e.provide("noBorder",l.noBorder??!1),(t,o)=>(e.openBlock(),e.createElementBlock("div",_m,[e.createElementVNode("table",wm,[e.renderSlot(t.$slots,"default")])]))}}),Cm={key:0,class:"transition-opacity transition-duration-700 shadow-left absolute z-10 pointer-events-none w-3.5 h-full shadow-none top-0 bg-transparent right-0 translate-x-3.5 bg-gradient-to-r from-black/[.06] to-transparent [.scroll-shadow-left_&]:opacity-100 opacity-0"},Em={key:1,class:"transition-opacity transition-duration-700 shadow-right absolute z-10 pointer-events-none w-3.5 h-full shadow-none top-0 bg-transparent left-0 -translate-x-3.5 bg-gradient-to-l from-black/[.06] to-transparent [.scroll-shadow-right_&]:opacity-100 opacity-0"},Nm=e.defineComponent({__name:"TableCellScrollShadow",props:{elRef:{}},setup(t){const o=t,l=e.ref(!1),n=e.ref(!1);return e.onMounted(()=>{var e;if((null==(e=o.elRef)?void 0:e.value)&&o.elRef.value.parentElement){const e=Array.from(o.elRef.value.parentElement.children);l.value=e[0]===o.elRef.value,n.value=e[e.length-1]===o.elRef.value}}),(t,o)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[l.value?(e.openBlock(),e.createElementBlock("div",Cm)):e.createCommentVNode("",!0),n.value?(e.openBlock(),e.createElementBlock("div",Em)):e.createCommentVNode("",!0)],64))}}),Tm=e.defineComponent({__name:"TableCell",props:{hasPadding:{type:Boolean,default:!1}},setup(t){const o=e.inject("stripeClass")??"group-odd:bg-gray-50",l=e.inject("rounded")??!1,n=e.inject("hoverable"),a=e.inject("striped"),i=e.inject("tdLinkSlot"),r=t,c=e.ref(),s=e.computed(()=>{let e="relative transition ease-in-out px-4 py-3 text-gray-800 first:whitespace-nowrap leading-none";return a&&(e+=` group-even:bg-white ${o}`),l&&(e+=" first-of-type:rounded-l last-of-type:rounded-r overflow-clip"),r.hasPadding||(e+=" first:pl-0"),n&&(e+=" group-hover:bg-gray-50 cursor-pointer"),e});return(t,o)=>(e.openBlock(),e.createElementBlock("td",{ref_key:"el",ref:c,class:e.normalizeClass(s.value)},[c.value?(e.openBlock(),e.createBlock(Nm,{key:0,"el-ref":e.toRef(c.value)},null,8,["el-ref"])):e.createCommentVNode("",!0),e.unref(i)?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(e.unref(i)),{key:1})):e.createCommentVNode("",!0),e.renderSlot(t.$slots,"default")],2))}}),Mm=["colspan","tabindex"],Vm=e.defineComponent({__name:"TableHeadCell",props:{colspan:{},columnName:{},sortable:{type:Boolean},hasPadding:{type:Boolean,default:!1},tooltip:{},fixedWidth:{}},emits:["sort"],setup(t,{emit:o}){const l=o,n=e.inject("sorting"),a=t,i=e.ref(),r=e.computed(()=>!(!a.sortable||!n)&&(n.columnName===a.columnName&&(null==n?void 0:n.direction))),c=()=>{a.sortable&&n&&a.columnName&&l("sort",a.columnName)};return(o,l)=>(e.openBlock(),e.createElementBlock("th",{ref_key:"el",ref:i,style:e.normalizeStyle(t.fixedWidth?{"--col-w":`${t.fixedWidth}px`}:void 0),class:e.normalizeClass([[{"cursor-pointer":t.sortable,"first:pl-0":!t.hasPadding},t.fixedWidth?["min-w-[var(--col-w)]"]:null],"relative px-4 py-2 font-medium text-xs whitespace-nowrap select-none"]),colspan:t.colspan,tabindex:t.sortable?0:-1,scope:"col",onClick:c},[i.value?(e.openBlock(),e.createBlock(Nm,{key:0,"el-ref":e.toRef(i.value)},null,8,["el-ref"])):e.createCommentVNode("",!0),e.createElementVNode("span",{class:e.normalizeClass({"text-blue-700":r.value})},[e.renderSlot(o.$slots,"default")],2),t.sortable?(e.openBlock(),e.createBlock(w,{key:1,icon:r.value&&"desc"===r.value?"north":"south",class:e.normalizeClass([{"text-blue-700":r.value},"text-sm"]),size:"2xs"},null,8,["icon","class"])):e.createCommentVNode("",!0),t.tooltip?(e.openBlock(),e.createBlock(Ic,{key:2,variant:"outline"},{default:e.withCtx(()=>[e.createVNode(w,{icon:"help",size:"xs",class:"rounded drop-shadow-sm hover:bg-gray-50 hover:cursor-default -mt-0.5 ml-0.5"})]),tooltip:e.withCtx(()=>[e.createVNode(Gc,null,{default:e.withCtx(()=>[e.createVNode(jc,null,{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.tooltip),1)]),_:1})]),_:1})]),_:1})):e.createCommentVNode("",!0)],14,Mm))}}),Sm=e.defineComponent({__name:"TableRow",props:{backgroundClass:{}},setup(t){const o=e.useSlots();e.provide("tdLinkSlot",o.link);const l=e.inject("noBorder");return(o,n)=>(e.openBlock(),e.createElementBlock("tr",{class:e.normalizeClass(["group rounded-md",{"bg-white":!t.backgroundClass,"border-y border-gray-200":!e.unref(l)}])},[e.renderSlot(o.$slots,"default")],2))}}),zm={"w-fit":!0,relative:!0,"inline-flex":!0,"items-center":!0},Pm={xl:"w-16 h-8 after:top-0.5 after:left-0.5 after:h-7 after:w-7",lg:"w-14 h-7 after:top-0.5 after:left-0.5 after:h-6 after:w-6",md:"w-11 h-6 after:top-0.5 after:left-0.5 after:h-5 after:w-5",sm:"w-9 h-5 after:top-0.5 after:left-0.5 after:h-4 after:w-4",xs:"w-7 h-4 after:top-0.5 after:left-0.5 after:h-3 after:w-3"},qm={red:"peer-focus:ring-red-300 peer-checked:bg-red-600",green:"peer-focus:ring-green-300 peer-checked:bg-green-600",purple:"peer-focus:ring-purple-300 peer-checked:bg-purple-600",yellow:"peer-focus:ring-yellow-300 peer-checked:bg-yellow-400",teal:"peer-focus:ring-teal-300 peer-checked:bg-teal-600",orange:"peer-focus:ring-orange-300 peer-checked:bg-orange-500"},Dm=["disabled"],Im=e.defineComponent({__name:"Toggle",props:{modelValue:{type:Boolean,default:!1},labelPosition:{default:"after"},size:{default:"md"},disabled:{type:Boolean,default:!1},color:{default:""},hasBackground:{type:Boolean,default:!1},noSpacing:{type:Boolean,default:!1}},emits:["update:modelValue"],setup(t,{emit:o}){const l=t,n=o,a=e.computed({get:()=>l.modelValue,set(e){n("update:modelValue",e)}}),{labelClasses:i,toggleSize:r,toggleClasses:c,toggleColor:s,toggleBallClasses:d}=(t=>{const o=e.computed(()=>{var e,o;return{...zm,"cursor-pointer":!(null==(e=t.disabled)?void 0:e.value),"cursor-default":!!(null==(o=t.disabled)?void 0:o.value)}}),l=e.computed(()=>{var e,o;return{'peer-focus:outline-none peer-focus:ring-4 peer-focus:ring-primary-300 rounded-full peer peer-checked:after:translate-x-full peer-checked:after:border-white after:content-[""] after:absolute after:top-0.5 after:left-0.5 after:border-gray-300 after:border after:rounded-full after:transition-all':!0,"bg-gray-200 peer-checked:bg-primary-600 after:bg-white":!(null==(e=t.disabled)?void 0:e.value),"bg-gray-100 peer-checked:bg-primary-200 after:bg-gray-200":null==(o=t.disabled)?void 0:o.value}});return{labelClasses:o,toggleSize:e.computed(()=>Pm[t.size.value]),toggleClasses:l,toggleColor:e.computed(()=>qm[t.color.value]),toggleBallClasses:e.computed(()=>"grow text-sm font-medium text-gray-900")}})(e.toRefs(l));return(o,l)=>(e.openBlock(),e.createElementBlock("label",{class:e.normalizeClass(["inline-flex items-center gap-1.5",{"flex-row-reverse":"before"===t.labelPosition,"rounded bg-gray-50 border-l-4 border-gray-200":t.hasBackground,"p-2":!t.noSpacing}]),onClick:l[1]||(l[1]=e.withModifiers(()=>{},["stop"]))},[e.createElementVNode("div",{class:e.normalizeClass(e.unref(i))},[e.withDirectives(e.createElementVNode("input",{"onUpdate:modelValue":l[0]||(l[0]=e=>a.value=e),disabled:t.disabled,class:"sr-only peer",type:"checkbox"},null,8,Dm),[[e.vModelCheckbox,a.value]]),e.createElementVNode("span",{class:e.normalizeClass([e.unref(c),e.unref(r),e.unref(s)])},null,2)],2),o.$slots["inline-label"]?(e.openBlock(),e.createElementBlock("span",{key:0,class:e.normalizeClass(e.unref(d))},[e.renderSlot(o.$slots,"inline-label")],2)):e.createCommentVNode("",!0)],2))}}),$m=e.defineComponent({__name:"TooltipTeleportProvider",setup(t){const o=e.ref(null);return e.provide(Pc,o),(t,l)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.renderSlot(t.$slots,"default"),e.createElementVNode("div",{ref_key:"tooltipTarget",ref:o,"data-tooltip-teleport-target":""},null,512)],64))}}),Om=e.defineComponent({__name:"TopUpDescription",props:{i18n:{},pricingItemConfig:{}},setup(t){const l=t,n=e.computed(()=>{var e;return!!(null==(e=l.pricingItemConfig.top_up)?void 0:e.rollover)}),a=e.computed(()=>{var e,t;return null==(t=null==(e=l.pricingItemConfig.details)?void 0:e.bands)?void 0:t.some(e=>!!e.block_size)}),i=e.computed(()=>ri(l.pricingItemConfig)&&a.value?n.value?l.i18n.tiered.blockSize.rolloverDescription:l.i18n.tiered.blockSize.nonRolloverDescription:ri(l.pricingItemConfig)&&!a.value?n.value?l.i18n.tiered.nonBlockSize.rolloverDescription:l.i18n.tiered.nonBlockSize.nonRolloverDescription:n.value?l.i18n.rolloverDescription:l.i18n.nonRolloverDescription);return(t,l)=>(e.openBlock(),e.createBlock(o,{variant:"body-xs",class:"italic text-gray-600"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(i.value),1)]),_:1}))}}),Hm=e.defineComponent({__name:"TrialChip",props:{trialPeriod:{},size:{default:"sm"}},setup(t){const o=t,{formatTimePeriod:l}=Da(),n=e.computed(()=>"string"==typeof o.trialPeriod?o.trialPeriod:`${l(o.trialPeriod,{short:!0,singular:!0})} trial`);return(o,l)=>(e.openBlock(),e.createBlock(e.unref(Qn),{color:"primary",size:t.size},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(n.value),1)]),_:1},8,["size"]))}}),Am={key:0,class:"flex flex-col gap-4"},Lm={class:"flex flex-col items-start"},Zm={class:"flex flex-col gap-2"},Rm={class:"flex flex-col items-start"},Fm=e.defineComponent({__name:"WalletBalances",props:{items:{},title:{default:void 0},variant:{default:"section"}},setup(t){const{$t:l,formatDate:n,formatNumber:a}=Gn(),r=e=>{var t,o,n,i,r,c;if(null==e?void 0:e.amount)return La(e.amount);if(null==e?void 0:e.credits){const s=Number(e.credits.quantity),d=1===s?null==(o=null==(t=e.credits.creditType)?void 0:t.unit_name)?void 0:o.singular:(null==(i=null==(n=e.credits.creditType)?void 0:n.unit_name)?void 0:i.plural)??(null==(c=null==(r=e.credits.creditType)?void 0:r.unit_name)?void 0:c.singular);return l({defaultMessage:"{quantity} {unit}",description:"Formatted wallet credits balance",id:"wallet_balance.formatted_credit_unit"},{quantity:a(s),unit:d??l({defaultMessage:"credits",description:"Wallet balances credits default message",id:"wB/wXs"})})}return l({defaultMessage:"N/A",description:"Fallback wallet balance label when no balance is available",id:"PW+sL4"})},c=e=>e?l({defaultMessage:"Updated at {date}",description:"Wallet balance timestamp label",id:"spcNSp"},{date:n({date:e,format:"dateTime",offsetType:"local"})}):null;return(n,a)=>"page-grid-aside"===t.variant?(e.openBlock(),e.createElementBlock("div",Am,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.items,t=>(e.openBlock(),e.createBlock(e.unref(qu),{key:t.walletId,title:e.unref(l)({defaultMessage:"Wallet",description:"Title of a wallet balance card",id:"3yk8fB"})},{default:e.withCtx(()=>[e.createElementVNode("section",Lm,[e.createVNode(o,{variant:"label","no-spacing":""},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.title),1)]),_:2},1024),e.createVNode(o,{variant:"body-lg",weight:"semibold","no-spacing":""},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(r(t.balance)),1)]),_:2},1024),t.balanceAt?(e.openBlock(),e.createBlock(o,{key:0,variant:"body-xs",shade:"lighter","no-spacing":""},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(c(t.balanceAt)),1)]),_:2},1024)):e.createCommentVNode("",!0)])]),_:2},1032,["title"]))),128))])):(e.openBlock(),e.createBlock(i,{key:1,"no-spacing":"","no-border":"",title:t.title},{default:e.withCtx(()=>[e.createElementVNode("div",Zm,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.items,t=>(e.openBlock(),e.createBlock(i,{key:t.walletId},{default:e.withCtx(()=>[e.createElementVNode("div",Rm,[e.createVNode(o,{variant:"label","no-spacing":""},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.title),1)]),_:2},1024),e.createVNode(o,{variant:"body-lg",weight:"semibold","no-spacing":""},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(r(t.balance)),1)]),_:2},1024),t.balanceAt?(e.openBlock(),e.createBlock(o,{key:0,variant:"body-xs",shade:"lighter","no-spacing":""},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(c(t.balanceAt)),1)]),_:2},1024)):e.createCommentVNode("",!0)])]),_:2},1024))),128))])]),_:1},8,["title"]))}}),Um={class:"grow items-center truncate"},Gm=h(e.defineComponent({__name:"CardHeader",props:{icon:{},iconVariant:{default:"neutral"},title:{},subTitle:{},spacing:{default:"md"},size:{default:"sm"},variant:{default:"default"},uppercase:{type:Boolean,default:!0},cardVariant:{default:"default"}},setup(t){const o=t,l=e.computed(()=>{switch(o.cardVariant){case"error":return"border-red-100";case"dark":return"border-gray-600";default:return"border-gray-100"}});return(o,n)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["card-header-print-root flex items-center",{"px-2 pt-2":"xs"===t.spacing,"px-4 pt-2":"sm"===t.spacing,"pb-2":["xs","sm"].includes(t.spacing)&&"bordered"===t.variant,"px-4 pt-4":"md"===t.spacing,"pb-4":"md"===t.spacing&&"bordered"===t.variant,"px-8 pt-6":"lg"===t.spacing,"pb-6":"lg"===t.spacing&&"bordered"===t.variant,"border-b":"bordered"===t.variant,[l.value]:"bordered"===t.variant}])},[e.createElementVNode("div",Um,[e.createVNode(e.unref(Js),{icon:t.icon,title:t.title,"sub-title":t.subTitle,variant:t.iconVariant,size:t.size,uppercase:t.uppercase},{prefix:e.withCtx(()=>[e.renderSlot(o.$slots,"prefix",{},void 0,!0)]),default:e.withCtx(()=>[e.renderSlot(o.$slots,"default",{},void 0,!0)]),subTitle:e.withCtx(()=>[e.renderSlot(o.$slots,"subTitle",{},void 0,!0)]),suffix:e.withCtx(()=>[e.renderSlot(o.$slots,"title-suffix",{},void 0,!0)]),_:3},8,["icon","title","sub-title","variant","size","uppercase"])]),e.renderSlot(o.$slots,"right",{},void 0,!0)],2))}}),[["__scopeId","data-v-9316d9b2"]]),jm={class:"min-w-0 grow"},Qm={class:"collapsible-card-print-content"},Km=h(e.defineComponent({__name:"CollapsibleCard",props:{isOpen:{type:Boolean,default:!1},isControlled:{type:Boolean},title:{},icon:{},iconVariant:{},spacing:{default:"md"},borderStyle:{},isExpandContentHidden:{type:Boolean,default:!1},printBehavior:{},withLeftAccent:{type:Boolean,default:!1},cappedWidth:{type:Boolean},variant:{default:"default"},shadowSize:{},borderRadius:{},rootClass:{},wrapperClass:{}},emits:["toggle","toggled"],setup(t,{emit:o}){const l=t,n=o,[a,i]=function(t=!1,o={}){const{truthyValue:l=!0,falsyValue:n=!1}=o,a=e.isRef(t),i=e.ref(t);function r(e){if(arguments.length)return i.value=e,i.value;{const e=q(l);return i.value=i.value===e?q(n):e,i.value}}return a?r:[i,r]}(!l.isOpen),r=()=>{l.isControlled?n("toggle"):i()};e.watch(()=>a.value,e=>{n("toggled",e)}),e.watch(()=>l.isOpen,e=>{l.isControlled&&i(!e)});const c=e.computed(()=>{switch(l.variant){case"error":return"border-red-50 bg-red-50";case"dark":return"bg-gray-800";default:return""}}),s=e.computed(()=>"error"===l.variant?"bg-red-200":""),d=e.computed(()=>["ease-in-out duration-200 hover:shadow-md",c.value].join(" "));return(o,l)=>(e.openBlock(),e.createBlock(Jr,{spacing:"none","wrapper-class":"collapsible-card-print-wrapper","root-class":e.unref(Xr)("collapsible-card-print-root",d.value),"border-style":t.borderStyle,"print-behavior":t.printBehavior},{default:e.withCtx(()=>[e.createElementVNode("div",{class:e.normalizeClass(e.unref(Xr)(t.withLeftAccent?"flex p-1":""))},[t.withLeftAccent?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["mr-2 w-1 rounded-md",s.value])},null,2)):e.createCommentVNode("",!0),e.createElementVNode("div",jm,[e.renderSlot(o.$slots,"pre-header",{},void 0,!0),e.createVNode(Gm,{"data-testid":"card-header",title:t.title,icon:t.icon,"icon-variant":t.iconVariant,spacing:t.spacing,class:e.normalizeClass(["cursor-pointer",{"pb-4":"md"===t.spacing,"pb-6":"lg"===t.spacing}]),variant:"bordered",tabindex:"0","card-variant":t.variant,onClick:e.withModifiers(r,["stop"]),onKeyup:e.withKeys(r,["enter"])},e.createSlots({prefix:e.withCtx(()=>[e.renderSlot(o.$slots,"title-prefix",{},void 0,!0)]),default:e.withCtx(()=>[e.renderSlot(o.$slots,"title",{},void 0,!0)]),"title-suffix":e.withCtx(()=>[e.renderSlot(o.$slots,"title-suffix",{},void 0,!0)]),_:2},[t.isExpandContentHidden?void 0:{name:"right",fn:e.withCtx(()=>[o.$slots.right?(e.openBlock(),e.createElementBlock("div",{key:0,onClick:l[0]||(l[0]=e.withModifiers(()=>{},["stop"])),onKeyup:l[1]||(l[1]=e.withKeys(e.withModifiers(()=>{},["stop"]),["enter"]))},[e.renderSlot(o.$slots,"right",{},void 0,!0)],32)):e.createCommentVNode("",!0),e.createVNode(w,{icon:e.unref(a)?"unfold_more":"unfold_less",size:"md",class:e.normalizeClass({"text-white":"dark"===t.variant,"print:hidden":!0})},null,8,["icon","class"])]),key:"0"}]),1032,["title","icon","icon-variant","spacing","class","card-variant"]),t.isExpandContentHidden?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(Zc,{key:0},{default:e.withCtx(()=>[e.withDirectives(e.createElementVNode("div",Qm,[e.createVNode(Vc,{spacing:t.spacing,class:"pt-0"},{default:e.withCtx(()=>[e.renderSlot(o.$slots,"default",{},void 0,!0)]),_:3},8,["spacing"])],512),[[e.vShow,!e.unref(a)]])]),_:3}))])],2)]),_:3},8,["root-class","border-style","print-behavior"]))}}),[["__scopeId","data-v-6f1525c7"]]),Wm={tooltipCollapse:"Close",tooltipExpand:"Open"},Ym={class:"flex flex-col"},Xm=["aria-label"],Jm={class:"flex grow select-none items-center justify-between"},ef={class:"flex items-center gap-2"},tf={key:0},of={class:"flex gap-6 print:block"},lf={class:"grow pt-5"},nf={class:"collapsible-list-item-content pb-6"},af=h(e.defineComponent({__name:"CollapsibleListItem",props:{hasContinuedPreline:{type:Boolean,default:!0},itemNumber:{default:1},i18n:{default:()=>Wm},isOpen:{type:Boolean},hideCollapseIcon:{type:Boolean,default:!1}},emits:["toggle"],setup(t){const l=t,n=e.computed(()=>l.isOpen?"unfold_less":"unfold_more");return(l,a)=>(e.openBlock(),e.createElementBlock("li",Ym,[e.createElementVNode("button",{type:"button",class:"flex items-center gap-6","aria-label":t.isOpen?t.i18n.tooltipCollapse:t.i18n.tooltipExpand,onClick:a[0]||(a[0]=e.withModifiers(e=>l.$emit("toggle"),["stop"]))},[e.createElementVNode("div",{class:e.normalizeClass(["flex h-6 select-none items-center justify-center rounded border bg-white shadow-sm print:hidden",e.unref(Rc)])},[e.renderSlot(l.$slots,"icon",{},()=>[e.createVNode(o,{tag:"span",variant:"body-xs",weight:"semibold"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.itemNumber),1)]),_:1})],!0)],2),e.createElementVNode("div",Jm,[e.createElementVNode("div",null,[e.renderSlot(l.$slots,"left",{},void 0,!0)]),e.createElementVNode("div",ef,[l.$slots.right?(e.openBlock(),e.createElementBlock("div",tf,[e.renderSlot(l.$slots,"right",{},void 0,!0)])):e.createCommentVNode("",!0),t.hideCollapseIcon?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(w,{key:1,icon:n.value,size:"sm",class:"h-6 print:hidden"},null,8,["icon"]))])])],8,Xm),e.createElementVNode("div",of,[e.createElementVNode("div",{class:e.normalizeClass(["relative flex shrink-0 justify-center",e.unref(Rc)])},[e.createElementVNode("div",{class:e.normalizeClass(["pointer-events-none h-full w-0.5",[t.hasContinuedPreline?"bg-gray-100":"bg-gradient-to-b from-gray-100 to-transparent"]])},null,2)],2),e.createElementVNode("div",lf,[e.createVNode(Zc,null,{default:e.withCtx(()=>[e.withDirectives(e.createElementVNode("div",nf,[e.renderSlot(l.$slots,"default",{},void 0,!0)],512),[[e.vShow,t.isOpen]])]),_:3})])])]))}}),[["__scopeId","data-v-9da2d94d"]]),rf={class:"flex flex-col gap-1"},cf={class:"text-base text-gray-900"},sf=e.defineComponent({__name:"PricingItemHeader",props:{item:{},creditTypesById:{}},setup:t=>(l,n)=>(e.openBlock(),e.createElementBlock("div",rf,[e.createElementVNode("h4",cf,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.item.product_items,t=>(e.openBlock(),e.createBlock(o,{key:t.id,tag:"span",class:"flex flex-wrap items-center gap-3",weight:"semibold"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.name),1)]),_:2},1024))),128))])]))}),df={tiered:{nonBlockSize:{rolloverDescription:"Includes prior volume to determine the tier, including volume from prior schedule's billing cycles",nonRolloverDescription:"Prior volume is included to determine the tier"},blockSize:{rolloverDescription:"Includes prior volume to determine the tier and unused volume will move over, including volume from adjacent schedule's billing cycles",nonRolloverDescription:"Includes prior volume to determine the tier and unused volume will move over to the following billing cycles"}},nonRolloverDescription:"Unused volume will be moved over to the next billing cycle",rolloverDescription:"Unused volume will be moved over to the next billing cycle, including the next schedule's billing cycle"},uf={...Ru,formatBillingPeriod:Ra,formatAmount:La,formatNumber:e=>new Intl.NumberFormat("en-US").format(e),billed:"Billed",from:"From",upTo:"Up to",feeFloor:"Fee floor",feeCap:"Fee cap",price:"Price",pricePerStep:()=>"Price / Step",pricePerUnit:()=>"Price / Unit",percentage:"Percentage",per:"Per",infinite:"infinite",topUpDescription:df,fixedAmount:"Fixed amount"},pf={...Ru,topUpDescription:df,notBilled:"Not billed",passThrough:"Pass through",perNumberOfUnits:(e,t)=>"per "+(Number(e)>1?`${e} ${(null==t?void 0:t.plural)??"units"}`:`${(null==t?void 0:t.singular)??"unit"}`),ofAmount:()=>"of amount",with:"with",aMinimumOf:"a minimum of",and:"and",aMaximumOf:"a maximum of",perSeat:"per seat",billedInAdvance:"billed in advance",oneOff:"one-off",formatBillingPeriod:Ra},mf={...pf,...uf,includedVolumeAmountPerSchedule:e=>`with <strong class="text-primary-600">${new Intl.NumberFormat("en-US",{style:"currency",currencyDisplay:"symbol",currency:e.currency,maximumFractionDigits:10}).format(Number(e.quantity))}</strong> free amount per schedule included`,includedVolumeAmountPerBillingPeriod:e=>`with <strong class="text-primary-600">${new Intl.NumberFormat("en-US",{style:"currency",currencyDisplay:"symbol",currency:e.currency,maximumFractionDigits:10}).format(Number(e.quantity))}</strong> free amount per billing period included`,includedVolumeUnitsPerSchedule:e=>`with <strong class="text-primary-600">${e} unit${"1"===e?"":"s"}</strong> per schedule included`,includedVolumeUnitsPerBillingPeriod:e=>`with <strong class="text-primary-600">${e} unit${"1"===e?"":"s"}</strong> per billing period included`,includedSeats:e=>`with default <strong class="text-primary-600">${e}</strong> seat${"1"===e?"":"s"}`},ff={class:"flex items-start justify-between"},hf={key:0,class:"flex items-center gap-2"},vf={class:"flex flex-col gap-1"},gf={class:"flex items-center gap-2"},yf={key:0,class:"flex justify-center gap-2"},bf={key:0,class:"text-gray-600 ml-auto"},xf={key:1,class:"text-gray-600 ml-auto"},kf={key:0,class:"ml-4 flex shrink-0 flex-col text-gray-600 empty:hidden"},_f={class:"flex items-center justify-end"},wf={"data-testid":"flat-fixed-none-amount"},Bf={"data-testid":"flat-fixed-none-per-units",class:"pl-1"},Cf={key:0,class:"pl-1"},Ef={"data-testid":"flat-fixed-none-credits-label",class:"font-semibold text-primary-600"},Nf={"data-testid":"flat-fixed-none-per-units",class:"pl-1"},Tf={key:0,class:"pl-1"},Mf={class:"text-primary-600 font-semibold"},Vf={class:"pl-1"},Sf={key:0,class:"pl-1"},zf={key:1,class:"mr-1"},Pf={key:3,class:"mr-1"},qf={key:3,class:"ml-2 flex items-center"},Df={key:0,class:"flex shrink-0 flex-col text-gray-600"},If={class:"flex items-center"},$f={key:2,class:"pl-1"},Of={key:3,class:"pl-1"},Hf={key:4,class:"shrink-9 pl-1 italic"},Af={key:5,class:"ml-2 flex items-center"},Lf={key:1,class:"flex shrink-0 flex-col text-gray-600"},Zf={class:"flex items-center"},Rf={class:"pl-1"},Ff={key:0,class:"italic"},Uf={key:2,class:"ml-2 flex items-center"},Gf={key:2,class:"flex shrink-0 flex-col text-gray-600"},jf={class:"flex items-center"},Qf={class:"pl-1"},Kf={key:1,class:"pl-1"},Wf={key:2,class:"pl-1 italic"},Yf={key:3,class:"ml-2 flex items-center"},Xf=e.defineComponent({__name:"FlatFixedNonePricingRule",props:{config:{},item:{},areNonBillableItemsVisible:{type:Boolean},i18n:{},isCombinedPricing:{type:Boolean},showConfigHeader:{type:Boolean,default:!0},showDefaultValues:{type:Boolean,default:!0},creditTypesById:{}},setup(t){const l=t,{formatMessage:n}=Gn(),a=e.computed(()=>l.i18n??pf),i=e.computed(()=>ii(l.config)),r=n({defaultMessage:"unit",id:"lWOCGz",description:"Fallback singular unit label for pricing rule display"}),c=n({defaultMessage:"units",id:"Vl9vDx",description:"Fallback plural unit label for pricing rule display"}),s=e.computed(()=>l.item.product_items&&l.item.product_items[0]),d=e.computed(()=>{var e,t,o,n,a,i,d,u;if("CREDITS"===(null==(e=s.value)?void 0:e.model_type)){const e=null==(t=s.value.credits)?void 0:t.credit_type_id,a=e?null==(n=null==(o=l.creditTypesById)?void 0:o[e])?void 0:n.unit_name:void 0;return{singular:(null==a?void 0:a.singular)||r,plural:(null==a?void 0:a.plural)||c}}return{singular:(null==(i=null==(a=s.value)?void 0:a.unit_name)?void 0:i.singular)||r,plural:(null==(u=null==(d=s.value)?void 0:d.unit_name)?void 0:u.plural)||c}}),u=e.computed(()=>{var e,t,o,l;return{singular:(null==(t=null==(e=s.value)?void 0:e.unit_name)?void 0:t.singular)||r,plural:(null==(l=null==(o=s.value)?void 0:o.unit_name)?void 0:l.plural)||c}}),p=e.computed(()=>{var e,t,o,n;return null==(n=null==(o=null==(t=null==(e=l.config.split_pricing)?void 0:e.meter_properties)?void 0:t.map(e=>{var t;return null==(t=e.meter_property)?void 0:t.name}))?void 0:o.filter(e=>!!e))?void 0:n.join(",")}),m=e.computed(()=>l.showConfigHeader||l.config.split_pricing),f=e.computed(()=>!!l.config.use_fallback_currency&&!!l.config.fallback_currency),h=e.computed(()=>`Based on fallback currency – ${l.config.fallback_currency}`),v=e.computed(()=>{var e,t,o;return null==(o=null==(t=null==(e=l.config.details)?void 0:e.bands)?void 0:t[0])?void 0:o.credits}),g=e.computed(()=>{var e,t,o,n,a,i;const r=null==(e=v.value)?void 0:e.credit_type_id,c=null==(t=v.value)?void 0:t.quantity;if(!c)return"";const s=r?null==(o=l.creditTypesById)?void 0:o[r]:void 0;if(!s)return c;const d=1===Number(c)?(null==(n=s.unit_name)?void 0:n.singular)??s.name:(null==(a=s.unit_name)?void 0:a.plural)??(null==(i=s.unit_name)?void 0:i.singular)??s.name;return d?`${c} ${d}`:c});return(l,n)=>{var r,c,v,y,b,x,k,_,B,C,E,N,T,M,V,S,z,P,q,D,I,$,O,H,A,L,Z,R,F,U,G,j,Q,K,W,Y,X,J,ee,te,oe,le,ne,ae,ie,re,ce,se,de,ue,pe,me,fe,he,ve,ge,ye,be,xe;return e.openBlock(),e.createElementBlock("div",null,[e.createElementVNode("div",ff,[m.value?(e.openBlock(),e.createElementBlock("div",hf,[e.createElementVNode("div",vf,[e.createElementVNode("div",gf,[t.showConfigHeader?(e.openBlock(),e.createBlock(Ku,{key:0,config:t.config,i18n:a.value},{"override-tooltip":e.withCtx(()=>[e.renderSlot(l.$slots,"override-tooltip")]),_:3},8,["config","i18n"])):e.createCommentVNode("",!0),f.value?(e.openBlock(),e.createBlock(Ic,{key:1,variant:"outline",placement:"top"},{tooltip:e.withCtx(()=>[e.createVNode(Gc,null,{default:e.withCtx(()=>[e.createVNode(jc,null,{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(h.value),1)]),_:1})]),_:1})]),default:e.withCtx(()=>[e.createVNode(w,{icon:"change_circle",class:"text-gray-500"})]),_:1})):e.createCommentVNode("",!0)]),t.config.split_pricing?(e.openBlock(),e.createElementBlock("div",yf,[e.createVNode(o,{variant:"label",tag:"span"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(a.value.splitBy),1)]),_:1}),e.createVNode(o,{tag:"span",variant:"body-sm"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(p.value),1)]),_:1})])):e.createCommentVNode("",!0)])])):e.createCommentVNode("",!0),"NONE"===(null==(r=t.config.details)?void 0:r.pricing_type)||"PASS_THROUGH"===(null==(c=t.config.details)?void 0:c.pricing_type)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},["NONE"===(null==(v=t.config.details)?void 0:v.pricing_type)?(e.openBlock(),e.createElementBlock("div",bf,e.toDisplayString(a.value.notBilled),1)):e.createCommentVNode("",!0),"PASS_THROUGH"===(null==(y=t.config.details)?void 0:y.pricing_type)?(e.openBlock(),e.createElementBlock("div",xf,e.toDisplayString(a.value.passThrough),1)):e.createCommentVNode("",!0)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[s.value?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},["USAGE_BASED"===s.value.model_type||"CREDITS"===s.value.model_type?(e.openBlock(),e.createElementBlock("div",kf,[e.createElementVNode("div",null,[e.createElementVNode("div",_f,[(null==(b=t.config.details)?void 0:b.bands)&&(null==(x=t.config.details)?void 0:x.bands[0].amount)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("span",wf,[e.createVNode(Pi,{value:null==(k=t.config.details)?void 0:k.bands[0].amount,highlighted:""},null,8,["value"])]),e.createElementVNode("span",Bf,e.toDisplayString(a.value.perNumberOfUnits((null==(B=null==(_=t.config.details)?void 0:_.bands[0])?void 0:B.block_size)&&e.unref(ui)(null==(C=t.config.details)?void 0:C.bands[0].block_size)?null==(E=t.config.details)?void 0:E.bands[0].block_size.number:"1",d.value)),1),(null==(N=t.config.details)?void 0:N.pricing_period)?(e.openBlock(),e.createElementBlock("span",Cf,e.toDisplayString(a.value.formatBillingPeriod(null==(T=t.config.details)?void 0:T.pricing_period)),1)):e.createCommentVNode("",!0)],64)):(null==(M=t.config.details)?void 0:M.bands)&&(null==(S=null==(V=t.config.details)?void 0:V.bands[0].credits)?void 0:S.quantity)&&(null==(P=null==(z=t.config.details)?void 0:z.bands[0].credits)?void 0:P.credit_type_id)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("span",Ef,e.toDisplayString(g.value),1),e.createElementVNode("span",Nf,e.toDisplayString(a.value.perNumberOfUnits((null==(D=null==(q=t.config.details)?void 0:q.bands[0])?void 0:D.block_size)&&e.unref(ui)(null==(I=t.config.details)?void 0:I.bands[0].block_size)?null==($=t.config.details)?void 0:$.bands[0].block_size.number:"1",u.value)),1),(null==(O=t.config.details)?void 0:O.pricing_period)?(e.openBlock(),e.createElementBlock("span",Tf,e.toDisplayString(a.value.formatBillingPeriod(null==(H=t.config.details)?void 0:H.pricing_period)),1)):e.createCommentVNode("",!0)],64)):(null==(A=t.config.details)?void 0:A.bands)&&"string"==typeof(null==(L=t.config.details)?void 0:L.bands[0].percentage)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createElementVNode("span",Mf,e.toDisplayString(null==(Z=t.config.details)?void 0:Z.bands[0].percentage)+"% ",1),e.createElementVNode("span",Vf,e.toDisplayString(a.value.ofAmount(null==(R=s.value.unit_name)?void 0:R.singular)),1),(null==(F=t.config.details)?void 0:F.pricing_period)?(e.openBlock(),e.createElementBlock("span",Sf,e.toDisplayString(a.value.formatBillingPeriod(null==(U=t.config.details)?void 0:U.pricing_period)),1)):e.createCommentVNode("",!0),(null==(G=t.config.details)?void 0:G.bands[0].minimum_amount)||(null==(j=t.config.details)?void 0:j.bands[0].maximum_amount)?(e.openBlock(),e.createElementBlock("span",zf," , "+e.toDisplayString(a.value.with),1)):e.createCommentVNode("",!0),(null==(Q=t.config.details)?void 0:Q.bands[0].minimum_amount)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createTextVNode(e.toDisplayString(a.value.aMinimumOf)+" ",1),e.createVNode(Pi,{value:null==(K=t.config.details)?void 0:K.bands[0].minimum_amount,highlighted:"",class:"mx-1"},null,8,["value"])],64)):e.createCommentVNode("",!0),(null==(W=t.config.details)?void 0:W.bands[0].minimum_amount)&&(null==(Y=t.config.details)?void 0:Y.bands[0].maximum_amount)?(e.openBlock(),e.createElementBlock("span",Pf,e.toDisplayString(a.value.and),1)):e.createCommentVNode("",!0),(null==(X=t.config.details)?void 0:X.bands[0].maximum_amount)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:4},[e.createTextVNode(e.toDisplayString(a.value.aMaximumOf)+" ",1),e.createVNode(Pi,{value:null==(J=t.config.details)?void 0:J.bands[0].maximum_amount,highlighted:"",class:"ml-1"},null,8,["value"])],64)):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0),l.$slots["price-line-additions"]?(e.openBlock(),e.createElementBlock("span",qf,[e.renderSlot(l.$slots,"price-line-additions")])):e.createCommentVNode("",!0)])]),e.createElementVNode("div",null,[e.renderSlot(l.$slots,"included")])])):e.createCommentVNode("",!0),t.isCombinedPricing?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},["RECURRING"===s.value.model_type?(e.openBlock(),e.createElementBlock("div",Df,[e.createElementVNode("div",null,[e.createElementVNode("div",If,[(null==(ee=t.config.details)?void 0:ee.bands)&&(null==(te=t.config.details)?void 0:te.bands[0].amount)?(e.openBlock(),e.createBlock(Pi,{key:0,value:null==(oe=t.config.details)?void 0:oe.bands[0].amount,highlighted:""},null,8,["value"])):(null==(le=t.config.details)?void 0:le.bands)&&(null==(ne=t.config.details)?void 0:ne.bands[0].fixed_amount)?(e.openBlock(),e.createBlock(Pi,{key:1,value:null==(ae=t.config.details)?void 0:ae.bands[0].fixed_amount,highlighted:""},null,8,["value"])):e.createCommentVNode("",!0),(null==(re=null==(ie=t.config.details)?void 0:ie.pricing_period)?void 0:re.type)?(e.openBlock(),e.createElementBlock("div",$f,e.toDisplayString(a.value.formatBillingPeriod(null==(ce=t.config.details)?void 0:ce.pricing_period)),1)):(e.openBlock(),e.createElementBlock("div",Of,"per billing period")),t.config.billing_in_advance?(e.openBlock(),e.createElementBlock("span",Hf," ("+e.toDisplayString(a.value.billedInAdvance)+") ",1)):e.createCommentVNode("",!0),l.$slots["price-line-additions"]?(e.openBlock(),e.createElementBlock("span",Af,[e.renderSlot(l.$slots,"price-line-additions")])):e.createCommentVNode("",!0)])]),e.renderSlot(l.$slots,"included")])):e.createCommentVNode("",!0),"ONE_OFF"===s.value.model_type?(e.openBlock(),e.createElementBlock("div",Lf,[e.createElementVNode("div",null,[e.createElementVNode("div",Zf,[(null==(se=t.config.details)?void 0:se.bands)&&(null==(de=t.config.details)?void 0:de.bands[0].amount)?(e.openBlock(),e.createBlock(Pi,{key:0,value:null==(ue=t.config.details)?void 0:ue.bands[0].amount,highlighted:""},null,8,["value"])):(null==(pe=t.config.details)?void 0:pe.bands)&&(null==(me=t.config.details)?void 0:me.bands[0].fixed_amount)?(e.openBlock(),e.createBlock(Pi,{key:1,value:null==(fe=t.config.details)?void 0:fe.bands[0].fixed_amount,highlighted:""},null,8,["value"])):e.createCommentVNode("",!0),e.createElementVNode("div",Rf,[e.createTextVNode(e.toDisplayString(a.value.oneOff)+" ",1),t.config.billing_in_advance?(e.openBlock(),e.createElementBlock("span",Ff," ("+e.toDisplayString(a.value.billedInAdvance)+") ",1)):e.createCommentVNode("",!0)]),l.$slots["price-line-additions"]?(e.openBlock(),e.createElementBlock("span",Uf,[e.renderSlot(l.$slots,"price-line-additions")])):e.createCommentVNode("",!0)])]),e.renderSlot(l.$slots,"included")])):e.createCommentVNode("",!0),"PER_SEAT"===s.value.model_type?(e.openBlock(),e.createElementBlock("div",Gf,[e.createElementVNode("div",null,[e.createElementVNode("div",jf,[(null==(he=t.config.details)?void 0:he.bands)&&(null==(ve=t.config.details)?void 0:ve.bands[0].amount)?(e.openBlock(),e.createBlock(Pi,{key:0,value:null==(ge=t.config.details)?void 0:ge.bands[0].amount,highlighted:""},null,8,["value"])):e.createCommentVNode("",!0),e.createElementVNode("span",Qf,e.toDisplayString(a.value.perSeat),1),(null==(be=null==(ye=t.config.details)?void 0:ye.pricing_period)?void 0:be.type)?(e.openBlock(),e.createElementBlock("div",Kf,e.toDisplayString(a.value.formatBillingPeriod(null==(xe=t.config.details)?void 0:xe.pricing_period)),1)):e.createCommentVNode("",!0),t.config.billing_in_advance?(e.openBlock(),e.createElementBlock("span",Wf," ("+e.toDisplayString(a.value.billedInAdvance)+") ",1)):e.createCommentVNode("",!0),l.$slots["price-line-additions"]?(e.openBlock(),e.createElementBlock("span",Yf,[e.renderSlot(l.$slots,"price-line-additions")])):e.createCommentVNode("",!0)])]),e.renderSlot(l.$slots,"included")])):e.createCommentVNode("",!0)],64))],64)):e.createCommentVNode("",!0)],64))]),i.value?(e.openBlock(),e.createBlock(Om,{key:0,i18n:a.value.topUpDescription,class:"mt-1","pricing-item-config":t.config},null,8,["i18n","pricing-item-config"])):e.createCommentVNode("",!0)])}}}),Jf={class:"tiered-rule-header flex items-start justify-between"},eh={key:0,class:"flex gap-2"},th={key:1,class:"flex justify-center gap-2"},oh={class:"tiered-table-print-wrapper mt-3 overflow-clip rounded border"},lh={class:"tiered-table-print w-full table-auto text-gray-600"},nh=["colspan"],ah={class:"border-t"},ih={class:"px-2 py-1 text-left"},rh={class:"px-2 py-1 text-left"},ch={key:0,class:"px-2 py-1 text-right"},sh={key:1,class:"px-2 py-1 text-right"},dh={key:2,class:"px-2 py-1 text-right"},uh={class:"px-2 py-1 text-left"},ph={class:"px-2 py-1 text-left"},mh={key:4,class:"pr-2 text-right"},fh={class:"px-2 py-1"},hh={class:"px-2 py-1"},vh={key:0,class:"px-2 py-1 text-right"},gh={key:1,class:"px-2 py-1 text-right"},yh={key:2,class:"px-2 py-1 text-right"},bh={class:"px-2 py-1"},xh={class:"px-2 py-1"},kh={key:4,class:"px-2 py-1 text-right"},_h={key:1,class:"mt-2"},wh=h(e.defineComponent({__name:"TieredSteppedPricingRule",props:{config:{},itemIndex:{},configIndex:{},item:{},i18n:{},isCombinedPricing:{type:Boolean},showConfigHeader:{type:Boolean,default:!0},creditTypesById:{}},setup(t){const l=t;e.useSlots();const n=e.computed(()=>l.i18n??uf),a=e.computed(()=>{var e,t,o,n,a,i,r;return(null==(n=null==(o=null==(t=null==(e=l.config.details)?void 0:e.bands)?void 0:t.find(e=>{var t;return null==(t=e.credits)?void 0:t.credit_type_id}))?void 0:o.credits)?void 0:n.credit_type_id)??(null==(r=null==(i=null==(a=l.item.product_items)?void 0:a[0])?void 0:i.credits)?void 0:r.credit_type_id)}),i=e.computed(()=>{var e,t,o,n,i;if(a.value){const o=null==(e=l.creditTypesById)?void 0:e[a.value];if(o)return(null==(t=o.unit_name)?void 0:t.singular)||"unit"}return(null==(i=null==(n=null==(o=l.item.product_items)?void 0:o[0])?void 0:n.unit_name)?void 0:i.singular)||"unit"}),r=e.computed(()=>{var e,t;const o=null==(e=l.config.details)?void 0:e.pricing_type;if(o&&["TIERED","TOP_TIERED"].includes(o)&&(null==(t=l.config.details)?void 0:t.bands))for(const n of l.config.details.bands)if(n.minimum_amount||n.maximum_amount)return!0;return!1}),c=e.computed(()=>{var e;return ri(l.config)?"TIERED":ci(l.config)?"STAIR_STEP":null==(e=l.config.details)?void 0:e.pricing_type}),s=e.computed(()=>ii(l.config)),d=e.computed(()=>{var e,t;return null==(t=null==(e=l.config.details)?void 0:e.bands)?void 0:t.some(e=>e.block_size)}),u=e.computed(()=>{var e;return null==(e=l.config.details.bands)?void 0:e.some(e=>e.fixed_amount)}),p=e.computed(()=>{var e;return null==(e=l.config.details.bands)?void 0:e.some(e=>e.amount)}),m=e.computed(()=>{var e;return null==(e=l.config.details.bands)?void 0:e.some(e=>e.percentage)}),f=e.computed(()=>{var e,t,o,n;return null==(n=null==(o=null==(t=null==(e=l.config.split_pricing)?void 0:e.meter_properties)?void 0:t.map(e=>{var t;return null==(t=e.meter_property)?void 0:t.name}))?void 0:o.filter(e=>!!e))?void 0:n.join(", ")}),h=e.computed(()=>l.showConfigHeader||l.config.split_pricing),v=e.computed(()=>!!l.config.use_fallback_currency&&!!l.config.fallback_currency),g=e.computed(()=>`Based on fallback currency – ${l.config.fallback_currency}`),y=e.computed(()=>2+(u.value?1:0)+(p.value?1:0)+(m.value?1:0)+(r.value?2:0)+(d.value?1:0));return(l,a)=>(e.openBlock(),e.createElementBlock("div",null,[e.createElementVNode("div",Jf,[h.value?(e.openBlock(),e.createElementBlock("div",eh,[e.createVNode(Ku,{config:t.config,i18n:n.value},{"override-tooltip":e.withCtx(()=>[e.renderSlot(l.$slots,"override-tooltip",{},void 0,!0)]),_:3},8,["config","i18n"]),v.value?(e.openBlock(),e.createBlock(Ic,{key:0,variant:"outline",placement:"top"},{tooltip:e.withCtx(()=>[e.createVNode(Gc,null,{default:e.withCtx(()=>[e.createVNode(jc,null,{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(g.value),1)]),_:1})]),_:1})]),default:e.withCtx(()=>[e.createVNode(w,{icon:"change_circle",class:"text-gray-500"})]),_:1})):e.createCommentVNode("",!0),t.config.split_pricing?(e.openBlock(),e.createElementBlock("div",th,[e.createVNode(o,{variant:"label",tag:"span"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(n.value.splitBy),1)]),_:1}),e.createVNode(o,{tag:"span",variant:"body-sm"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(f.value),1)]),_:1})])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)]),s.value?(e.openBlock(),e.createBlock(e.unref(Om),{key:0,class:"mb-3 mt-1",i18n:n.value.topUpDescription,"pricing-item-config":t.config},null,8,["i18n","pricing-item-config"])):e.createCommentVNode("",!0),e.createElementVNode("div",oh,[e.createElementVNode("table",lh,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("th",{colspan:y.value,class:"bg-gray-50 px-2 text-left"},[e.createVNode(o,{variant:"caps-heading"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(Za)(c.value)),1)]),_:1})],8,nh)]),e.createElementVNode("tr",ah,[e.createElementVNode("th",ih,[e.createVNode(o,{variant:"caps-heading"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(n.value.from),1)]),_:1})]),e.createElementVNode("th",rh,[e.createVNode(o,{variant:"caps-heading"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(n.value.upTo),1)]),_:1})]),u.value?(e.openBlock(),e.createElementBlock("th",ch,[e.createVNode(o,{variant:"caps-heading"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(n.value.fixedAmount),1)]),_:1})])):e.createCommentVNode("",!0),p.value?(e.openBlock(),e.createElementBlock("th",sh,["STAIR_STEP"===c.value?(e.openBlock(),e.createBlock(o,{key:0,variant:"caps-heading"},{default:e.withCtx(()=>{var o,l,a;return[e.createTextVNode(e.toDisplayString(n.value.pricePerStep(null==(a=null==(l=null==(o=t.item.product_items)?void 0:o[0])?void 0:l.unit_name)?void 0:a.plural)),1)]}),_:1})):d.value?(e.openBlock(),e.createBlock(o,{key:1,variant:"caps-heading"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(n.value.price),1)]),_:1})):t.config.details.bands&&t.config.details.bands[0].amount||t.config.details.bands&&t.config.details.bands[0].fixed_amount?(e.openBlock(),e.createBlock(o,{key:2,variant:"caps-heading"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(n.value.pricePerUnit(i.value)),1)]),_:1})):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),m.value?(e.openBlock(),e.createElementBlock("th",dh,[e.createVNode(o,{variant:"caps-heading"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(n.value.percentage),1)]),_:1})])):e.createCommentVNode("",!0),r.value?(e.openBlock(),e.createElementBlock(e.Fragment,{key:3},[e.createElementVNode("th",uh,[e.createVNode(o,{variant:"caps-heading"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(n.value.feeFloor),1)]),_:1})]),e.createElementVNode("th",ph,[e.createVNode(o,{variant:"caps-heading"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(n.value.feeCap),1)]),_:1})])],64)):e.createCommentVNode("",!0),d.value?(e.openBlock(),e.createElementBlock("th",mh,[e.createVNode(o,{variant:"caps-heading"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(n.value.per),1)]),_:1})])):e.createCommentVNode("",!0)])]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.config.details.bands,(o,l)=>{var a,i,c,s;return e.openBlock(),e.createElementBlock("tr",{key:l,class:"border-t"},[e.createElementVNode("td",fh,[(null==(a=t.config.details)?void 0:a.bands)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createTextVNode(e.toDisplayString(e.unref(vi)(n.value)(null==(i=t.config.details)?void 0:i.bands[l-1])),1)],64)):e.createCommentVNode("",!0)]),e.createElementVNode("td",hh,[(null==(c=t.config.details)?void 0:c.bands)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createTextVNode(e.toDisplayString(e.unref(gi)(n.value)(o,null==(s=t.config.details)?void 0:s.bands,l)),1)],64)):e.createCommentVNode("",!0)]),u.value?(e.openBlock(),e.createElementBlock("td",vh,[o.fixed_amount?(e.openBlock(),e.createBlock(Pi,{key:0,value:o.fixed_amount,highlighted:""},null,8,["value"])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),p.value?(e.openBlock(),e.createElementBlock("td",gh,[o.amount?(e.openBlock(),e.createBlock(Pi,{key:0,value:o.amount,highlighted:""},null,8,["value"])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),m.value?(e.openBlock(),e.createElementBlock("td",yh,[o.percentage?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createTextVNode(e.toDisplayString(o.percentage)+"% ",1)],64)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),r.value?(e.openBlock(),e.createElementBlock(e.Fragment,{key:3},[e.createElementVNode("td",bh,[o.minimum_amount?(e.openBlock(),e.createBlock(Pi,{key:0,value:o.minimum_amount},null,8,["value"])):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createTextVNode(" ")],64))]),e.createElementVNode("td",xh,[o.maximum_amount?(e.openBlock(),e.createBlock(Pi,{key:0,value:o.maximum_amount},null,8,["value"])):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createTextVNode(" ")],64))])],64)):e.createCommentVNode("",!0),d.value?(e.openBlock(),e.createElementBlock("td",kh,[e.unref(mi)(o.block_size)?(e.openBlock(),e.createBlock(Pi,{key:0,value:o.block_size.amount},null,8,["value"])):e.unref(ui)(o.block_size)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createTextVNode(e.toDisplayString(n.value.formatNumber(+o.block_size.number)),1)],64)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)])}),128))])])]),l.$slots.included?(e.openBlock(),e.createElementBlock("div",_h,[e.renderSlot(l.$slots,"included",{},void 0,!0)])):e.createCommentVNode("",!0)]))}}),[["__scopeId","data-v-9e78b558"]]),Bh={class:"conditions-root"},Ch=["innerHTML"],Eh=["innerHTML"],Nh=["innerHTML"],Th=["innerHTML"],Mh=["innerHTML"],Vh=["innerHTML"],Sh={key:2,class:"mt-3"},zh={key:0,class:"-transform-x-1/2 context-menu-wrapper absolute -top-2 right-0 opacity-0 transition-opacity"},Ph={key:0,class:"nested-conditions-border before:background-repeat-y before:content[''] relative mb-4 w-full pl-4 before:absolute before:inset-0 before:right-auto before:w-1 before:content-['']"},qh=h(e.defineComponent({__name:"PricingItemConfig",props:{areNonBillableItemsVisible:{type:Boolean},rootConfig:{},config:{},configIndex:{},item:{},itemIndex:{},pricing:{},i18n:{},rootClass:{},showConfigHeader:{type:Boolean,default:!0},showDefaultValues:{type:Boolean,default:!0},schedule:{},creditTypesById:{}},setup(t){const o=t,l=e.computed(()=>o.i18n??mf),n=e.useSlots(),a=e=>{var t,l,n;return(e=>ai(e,["FLAT","FLAT_TOP_UP"]))(e)||"FIXED"===(null==(t=e.details)?void 0:t.pricing_type)||"PASS_THROUGH"===(null==(l=e.details)?void 0:l.pricing_type)||"NONE"===(null==(n=e.details)?void 0:n.pricing_type)&&o.areNonBillableItemsVisible},i=e=>ai(e,["TIERED","TIERED_TOP_UP","TOP_TIERED"])||ci(e),r=e=>{var t,o,l,n,a;return"AMOUNT"===(null==(a=null==(n=null==(l=null==(o=null==(t=e.product_items)?void 0:t[0])?void 0:o.usage_based)?void 0:l.meter_value_calculation)?void 0:n.meter_value)?void 0:a.type)},s=e=>{var t,o,l,n,a;return"NUMBER"===(null==(a=null==(n=null==(l=null==(o=null==(t=e.product_items)?void 0:t[0])?void 0:o.usage_based)?void 0:l.meter_value_calculation)?void 0:n.meter_value)?void 0:a.type)},d=(e,t)=>{var o,l,n;return"PER_SEAT"===(null==(l=null==(o=e.product_items)?void 0:o[0])?void 0:l.model_type)&&"NONE"!==(null==(n=t.details)?void 0:n.pricing_type)},u=e.computed(()=>({pricing:o.pricing,item:o.item,config:o.config})),p=e.computed(()=>{var e;return null==(e=o.config.conditions)?void 0:e.configs}),m=e.computed(()=>!!n["pricing-item-config-settings"]&&!bi(n["pricing-item-config-settings"](u.value))),f=e.computed(()=>o.rootConfig??o.config),h=e.computed(()=>{var e,t,l;const n=o.config.original_pricing_item_config_id;return o.schedule?(null==(e=Ya({schedule:o.schedule,pricingItemConfigIds:[o.config.id,...n?[n]:[]]}))?void 0:e.number)??(null==(t=o.config.default_seats_value)?void 0:t.number):null==(l=o.config.default_seats_value)?void 0:l.number});return(n,v)=>{var g,y,b,x,k;const _=e.resolveComponent("PricingItemConfig",!0);return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["relative",{[`${t.rootClass}`]:t.rootClass,"mb-4 last:mb-0":a(t.config)&&((null==(g=t.config.conditions)?void 0:g.meter_properties)||0===t.configIndex&&t.item.configs&&t.item.configs.length>0),"mb-6 last:mb-0":i(t.config)}])},[e.createElementVNode("div",Bh,[e.createElementVNode("div",{class:e.normalizeClass({"transition-padding conditions-with-context-menu":m.value})},[(null==(y=t.config.details)?void 0:y.bands)||(null==(b=t.config.details)?void 0:b.pricing_type)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[a(t.config)?(e.openBlock(),e.createBlock(e.unref(Xf),{key:0,"is-combined-pricing":t.pricing.products&&t.pricing.products.length>1,"are-non-billable-items-visible":t.areNonBillableItemsVisible,config:t.config,item:t.item,class:e.normalizeClass({"mt-3":!t.rootClass}),i18n:l.value,"show-config-header":t.showConfigHeader,"show-default-values":t.showDefaultValues,"credit-types-by-id":t.creditTypesById},{"override-tooltip":e.withCtx(()=>[e.renderSlot(n.$slots,"override-tooltip",e.normalizeProps(e.guardReactiveProps(o)),void 0,!0)]),"price-line-additions":e.withCtx(()=>[e.renderSlot(n.$slots,"pricing-item-config-price-line-additions",e.normalizeProps(e.guardReactiveProps(u.value)),void 0,!0)]),included:e.withCtx(()=>{var o,n,a,i;return[r(t.item)&&(null==(o=t.config.default_included_volume)?void 0:o.amount)?(e.openBlock(),e.createElementBlock("span",{key:0,class:"mt-1 text-right text-gray-600",innerHTML:"BILLING_PERIOD"===t.config.default_included_volume.reset_type?l.value.includedVolumeAmountPerBillingPeriod(t.config.default_included_volume.amount):l.value.includedVolumeAmountPerSchedule(t.config.default_included_volume.amount)},null,8,Ch)):e.createCommentVNode("",!0),s(t.item)&&(null==(n=t.config.default_included_volume)?void 0:n.number)?(e.openBlock(),e.createElementBlock("span",{key:1,class:"mt-1 text-right text-gray-600",innerHTML:"BILLING_PERIOD"===t.config.default_included_volume.reset_type?l.value.includedVolumeUnitsPerBillingPeriod(t.config.default_included_volume.number,null==(a=t.item.product_items)?void 0:a[0].unit_name):l.value.includedVolumeUnitsPerSchedule(t.config.default_included_volume.number,null==(i=t.item.product_items)?void 0:i[0].unit_name)},null,8,Eh)):e.createCommentVNode("",!0),t.showDefaultValues&&d(t.item,t.config)&&h.value?(e.openBlock(),e.createElementBlock("span",{key:2,class:"mt-1 text-right text-gray-600",innerHTML:l.value.includedSeats(h.value)},null,8,Nh)):e.createCommentVNode("",!0)]}),_:3},8,["is-combined-pricing","are-non-billable-items-visible","config","item","class","i18n","show-config-header","show-default-values","credit-types-by-id"])):i(t.config)?(e.openBlock(),e.createBlock(e.unref(wh),{key:1,"is-combined-pricing":t.pricing.products&&t.pricing.products.length>1,config:t.config,"item-index":t.itemIndex,"config-index":t.configIndex,item:t.item,"credit-types-by-id":t.creditTypesById,class:"mt-3",i18n:l.value,"show-config-header":t.showConfigHeader},{"override-tooltip":e.withCtx(()=>[e.renderSlot(n.$slots,"override-tooltip",e.normalizeProps(e.guardReactiveProps(o)),void 0,!0)]),"price-line-additions":e.withCtx(()=>[e.renderSlot(n.$slots,"pricing-item-config-price-line-additions",e.normalizeProps(e.guardReactiveProps(u.value)),void 0,!0)]),included:e.withCtx(()=>{var o,n,a,i;return[r(t.item)&&(null==(o=t.config.default_included_volume)?void 0:o.amount)?(e.openBlock(),e.createElementBlock("span",{key:0,class:"mt-1 text-right text-gray-600",innerHTML:"BILLING_PERIOD"===t.config.default_included_volume.reset_type?l.value.includedVolumeAmountPerBillingPeriod(t.config.default_included_volume.amount):l.value.includedVolumeAmountPerSchedule(t.config.default_included_volume.amount)},null,8,Th)):e.createCommentVNode("",!0),s(t.item)&&(null==(n=t.config.default_included_volume)?void 0:n.number)?(e.openBlock(),e.createElementBlock("span",{key:1,class:"mt-1 text-right text-gray-600",innerHTML:"BILLING_PERIOD"===t.config.default_included_volume.reset_type?l.value.includedVolumeUnitsPerBillingPeriod(t.config.default_included_volume.number,null==(a=t.item.product_items)?void 0:a[0].unit_name):l.value.includedVolumeUnitsPerSchedule(t.config.default_included_volume.number,null==(i=t.item.product_items)?void 0:i[0].unit_name)},null,8,Mh)):e.createCommentVNode("",!0),t.showDefaultValues&&d(t.item,t.config)&&h.value?(e.openBlock(),e.createElementBlock("span",{key:2,class:"mt-1 text-right text-gray-600",innerHTML:l.value.includedSeats(h.value)},null,8,Vh)):e.createCommentVNode("",!0)]}),_:3},8,["is-combined-pricing","config","item-index","config-index","item","credit-types-by-id","i18n","show-config-header"])):e.createCommentVNode("",!0),n.$slots["pricing-item-config-additions"]&&!e.unref(bi)(null==(k=(x=n.$slots)["pricing-item-config-additions"])?void 0:k.call(x,u.value))?(e.openBlock(),e.createElementBlock("div",Sh,[e.renderSlot(n.$slots,"pricing-item-config-additions",e.normalizeProps(e.guardReactiveProps(u.value)),void 0,!0)])):e.createCommentVNode("",!0)],64)):t.showConfigHeader?(e.openBlock(),e.createBlock(Ku,{key:1,"is-combined-pricing":t.pricing.products&&t.pricing.products.length>1,config:t.config,i18n:l.value,class:"mt-3"},{"override-tooltip":e.withCtx(()=>[e.renderSlot(n.$slots,"override-tooltip",e.normalizeProps(e.guardReactiveProps(o)),void 0,!0)]),_:3},8,["is-combined-pricing","config","i18n"])):e.createCommentVNode("",!0)],2),m.value?(e.openBlock(),e.createElementBlock("div",zh,[e.renderSlot(n.$slots,"pricing-item-config-settings",e.mergeProps(u.value,{rootConfig:f.value}),void 0,!0)])):e.createCommentVNode("",!0)]),p.value&&!e.unref(c)(p.value)?(e.openBlock(),e.createElementBlock("ul",Ph,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList([...p.value].sort((e,t)=>t.order-e.order),(o,a)=>(e.openBlock(),e.createElementBlock("li",{key:o.id},[e.createVNode(_,{pricing:t.pricing,item:t.item,"item-index":t.itemIndex,config:o,"config-index":a,"are-non-billable-items-visible":t.areNonBillableItemsVisible,i18n:l.value,"root-class":t.rootClass,"root-config":f.value,"credit-types-by-id":t.creditTypesById},{"pricing-item-config-settings":e.withCtx(t=>[e.renderSlot(n.$slots,"pricing-item-config-settings",e.mergeProps({ref_for:!0},t),void 0,!0)]),"override-tooltip":e.withCtx(t=>[e.renderSlot(n.$slots,"pricing-item-config-override-tooltip",e.mergeProps({ref_for:!0},t),void 0,!0)]),"pricing-item-config-additions":e.withCtx(t=>[e.renderSlot(n.$slots,"pricing-item-config-additions",e.mergeProps({ref_for:!0},t),void 0,!0)]),"pricing-item-config-price-line-additions":e.withCtx(t=>[e.renderSlot(n.$slots,"pricing-item-config-price-line-additions",e.mergeProps({ref_for:!0},t),void 0,!0)]),_:3},8,["pricing","item","item-index","config","config-index","are-non-billable-items-visible","i18n","root-class","root-config","credit-types-by-id"])]))),128))])):e.createCommentVNode("",!0)],2)}}}),[["__scopeId","data-v-ecf44f22"]]),Dh=["onClick"],Ih={class:"ml-1 text-gray-500"},$h={key:0,class:"px-4 pb-3"},Oh=h(e.defineComponent({__name:"PricingDetail",props:{itemClass:{},rootClass:{},titleWithIcon:{type:Boolean},pricing:{},groupedPricingItemIds:{},areNonBillableItemsVisible:{type:Boolean},i18n:{},schedule:{},creditTypesById:{}},setup(t){const o=Gn(),l=t,n=e.ref({}),a=e=>e?`${e.type}:${e.value}`:"none",i=e=>!n.value[e],r=(e,t)=>{if(!t)return null;const o=new Map;return e.forEach(e=>{var t,l;const n=null==(t=e.details)?void 0:t.pricing_period;if(!n)return;const i=a(n);o.has(i)||o.set(i,{billingPeriod:n,configs:[]}),null==(l=o.get(i))||l.configs.push(e)}),Array.from(o.entries()).map(([e,t])=>({key:e,...t}))},c=e=>[...e].sort((e,t)=>t.order-e.order),s=e=>{var t,o;return(null==(t=e.configs)?void 0:t.length)?e.configs:(null==(o=e.billing_period_configs)?void 0:o.flatMap(e=>(e.configs??[]).map(e=>({...e}))))??[]},d=e=>{var t;return u(e)?(null==(t=e.billing_period_configs)?void 0:t.length)?e.billing_period_configs.map(e=>({key:a(e.billing_period),billingPeriod:e.billing_period,configs:e.configs??[]})):r(s(e),!0):r(s(e),!1)},u=e=>{var t,o;return((null==(t=e.billing_period_configs)?void 0:t.length)??0)>0||((null==(o=l.groupedPricingItemIds)?void 0:o.includes(e.id))??!1)},p=e.computed(()=>{var e;return(null==(e=l.pricing.items)?void 0:e.map(e=>({id:e.id,groups:d(e)})))??[]}),m=e=>{const t=s(e),o=t.some(e=>{var t;return"NONE"!==(null==(t=e.details)?void 0:t.pricing_type)}),n=t.some(e=>{var t;return"NONE"===(null==(t=e.details)?void 0:t.pricing_type)});return o||n&&!!l.areNonBillableItemsVisible};return(l,a)=>(e.openBlock(),e.createElementBlock("div",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.pricing.items,(a,r)=>{var d;return e.openBlock(),e.createElementBlock(e.Fragment,{key:r},[m(a)?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["pricing-item-block pb-5 last:pb-3",{[`${t.itemClass}`]:t.itemClass}])},[e.createVNode(Js,{icon:t.titleWithIcon?"inventory_2":void 0,variant:"neutral",size:"sm",class:"pricing-item-heading"},{default:e.withCtx(()=>[e.renderSlot(l.$slots,"pricing-item-header",{item:a},()=>[e.createVNode(sf,{item:a,"credit-types-by-id":t.creditTypesById},null,8,["item","credit-types-by-id"])],!0)]),_:2},1032,["icon"]),(null==(d=p.value[r])?void 0:d.groups)?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(p.value[r].groups,s=>{var d,u,p;return e.openBlock(),e.createElementBlock("div",{key:s.key,class:"mt-3 rounded border border-gray-100"},[e.createElementVNode("button",{type:"button",class:"flex w-full items-center justify-between px-4 py-2 text-left text-sm font-semibold text-gray-700",onClick:e=>{return t=s.key,void(n.value={...n.value,[t]:!n.value[t]});var t}},[e.createElementVNode("span",null,[e.createTextVNode(e.toDisplayString((null==(d=t.i18n)?void 0:d.formatBillingPeriod)?e.unref(o).$t({defaultMessage:"Billing cycle",id:"pricing_detail.billing_cycle",description:"The billing cycle in the pricing detail card"}):"Billing cycle")+" ",1),e.createElementVNode("span",Ih,e.toDisplayString(null==(p=null==(u=t.i18n)?void 0:u.formatBillingPeriod)?void 0:p.call(u,s.billingPeriod)),1)]),e.createVNode(w,{icon:i(s.key)?"unfold_less":"unfold_more",size:"sm",class:"print:hidden"},null,8,["icon"])],8,Dh),e.createVNode(Zc,null,{default:e.withCtx(()=>[i(s.key)?(e.openBlock(),e.createElementBlock("div",$h,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(c(s.configs),(o,n)=>(e.openBlock(),e.createBlock(qh,{key:o.id,pricing:t.pricing,item:a,"item-index":r,config:o,"config-index":n,"are-non-billable-items-visible":t.areNonBillableItemsVisible,i18n:t.i18n,"root-class":t.rootClass,schedule:t.schedule,"credit-types-by-id":t.creditTypesById},{"pricing-item-config-settings":e.withCtx(t=>[e.renderSlot(l.$slots,"pricing-item-config-settings",e.mergeProps({ref_for:!0},t),void 0,!0)]),"override-tooltip":e.withCtx(t=>[e.renderSlot(l.$slots,"pricing-item-config-override-tooltip",e.mergeProps({ref_for:!0},t),void 0,!0)]),"pricing-item-config-additions":e.withCtx(t=>[e.renderSlot(l.$slots,"pricing-item-config-additions",e.mergeProps({ref_for:!0},t),void 0,!0)]),"pricing-item-config-price-line-additions":e.withCtx(t=>[e.renderSlot(l.$slots,"pricing-item-config-price-line-additions",e.mergeProps({ref_for:!0},t),void 0,!0)]),_:3},8,["pricing","item","item-index","config","config-index","are-non-billable-items-visible","i18n","root-class","schedule","credit-types-by-id"]))),128))])):e.createCommentVNode("",!0)]),_:2},1024)])}),128)):(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:1},e.renderList(c(s(a)??[]),(o,n)=>(e.openBlock(),e.createBlock(qh,{key:o.id,pricing:t.pricing,item:a,"item-index":r,config:o,"config-index":n,"are-non-billable-items-visible":t.areNonBillableItemsVisible,i18n:t.i18n,"root-class":t.rootClass,schedule:t.schedule,"credit-types-by-id":t.creditTypesById},{"pricing-item-config-settings":e.withCtx(t=>[e.renderSlot(l.$slots,"pricing-item-config-settings",e.mergeProps({ref_for:!0},t),void 0,!0)]),"override-tooltip":e.withCtx(t=>[e.renderSlot(l.$slots,"pricing-item-config-override-tooltip",e.mergeProps({ref_for:!0},t),void 0,!0)]),"pricing-item-config-additions":e.withCtx(t=>[e.renderSlot(l.$slots,"pricing-item-config-additions",e.mergeProps({ref_for:!0},t),void 0,!0)]),"pricing-item-config-price-line-additions":e.withCtx(t=>[e.renderSlot(l.$slots,"pricing-item-config-price-line-additions",e.mergeProps({ref_for:!0},t),void 0,!0)]),_:3},8,["pricing","item","item-index","config","config-index","are-non-billable-items-visible","i18n","root-class","schedule","credit-types-by-id"]))),128))],2)):e.createCommentVNode("",!0)],64)}),128))]))}}),[["__scopeId","data-v-3d026d53"]]);var Hh=(e=>(e.ENUM="ENUM",e.SWITCH="SWITCH",e.NUMBER="NUMBER",e.AMOUNT="AMOUNT",e.STRING="STRING",e))(Hh||{});const Ah={...{...mf},revenueItems:"Revenue items",deductionItems:"Deduction items",features:"Features"},Lh={class:"text-xs font-semibold uppercase text-gray-500"},Zh={class:"text-xs font-semibold uppercase text-gray-500"},Rh={key:2,class:"group mt-2"},Fh={class:"text-xs font-semibold uppercase text-gray-500"},Uh={key:0,class:"absolute right-0 top-1/2 z-10 -translate-y-1/2 bg-white opacity-0 transition group-hover:opacity-100"},Gh={class:"pl-4"},jh={class:"mt-2"},Qh={class:"font-bold text-gray-700"},Kh={key:1,class:"font-bold text-primary-600"},Wh={key:2,class:"font-bold text-primary-600"},Yh={key:4,class:"font-bold text-primary-600"},Xh=h(e.defineComponent({__name:"PricingInfo",props:{pricing:{},groupedPricingItemIds:{},areNonBillableItemsVisible:{type:Boolean},i18n:{},schedule:{},creditTypesById:{}},setup(t){const o=t;e.provide("pricingId",o.pricing.id);const l=e.computed(()=>o.i18n??Ah),n=e.computed(()=>{var e;return null==(e=o.pricing.items)?void 0:e.filter(e=>{return!!(null==(t=e.product_items)?void 0:t.every(ei));var t})}),a=e.computed(()=>{var e;return null==(e=o.pricing.items)?void 0:e.filter(e=>{return!!(t=e.product_items)&&t.length>0&&(null==t?void 0:t.every(ti));var t})});return(o,i)=>(e.openBlock(),e.createElementBlock("div",null,[e.renderSlot(o.$slots,"pricing-item-warning",{},void 0,!0),e.unref(c)(n.value)?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.unref(c)(t.pricing.items)?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(E,{key:0,class:"section-label my-3"},{default:e.withCtx(()=>[e.createElementVNode("h3",Lh,e.toDisplayString(l.value.revenueItems),1)]),_:1})),e.createVNode(Oh,{pricing:{...t.pricing,items:n.value},"grouped-pricing-item-ids":t.groupedPricingItemIds,i18n:l.value,"are-non-billable-items-visible":t.areNonBillableItemsVisible,schedule:t.schedule,"credit-types-by-id":t.creditTypesById},{"pricing-item-header":e.withCtx(({item:t})=>[e.renderSlot(o.$slots,"pricing-item-header",{item:t},void 0,!0)]),"pricing-item-config-settings":e.withCtx(t=>[e.renderSlot(o.$slots,"pricing-item-config-settings",e.normalizeProps(e.guardReactiveProps(t)),void 0,!0)]),"pricing-item-config-override-tooltip":e.withCtx(t=>[e.renderSlot(o.$slots,"pricing-item-config-override-tooltip",e.normalizeProps(e.guardReactiveProps(t)),void 0,!0)]),"pricing-item-config-additions":e.withCtx(t=>[e.renderSlot(o.$slots,"pricing-item-config-additions",e.normalizeProps(e.guardReactiveProps(t)),void 0,!0)]),"pricing-item-config-price-line-additions":e.withCtx(t=>[e.renderSlot(o.$slots,"pricing-item-config-price-line-additions",e.normalizeProps(e.guardReactiveProps(t)),void 0,!0)]),_:3},8,["pricing","grouped-pricing-item-ids","i18n","are-non-billable-items-visible","schedule","credit-types-by-id"])],64)),e.unref(c)(a.value)?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[t.pricing.items&&t.pricing.items.length>0?(e.openBlock(),e.createBlock(E,{key:0,class:"section-label mb-3 mt-6"},{default:e.withCtx(()=>[e.createElementVNode("h3",Zh,e.toDisplayString(l.value.deductionItems),1)]),_:1})):e.createCommentVNode("",!0),e.createVNode(Oh,{pricing:{...t.pricing,items:a.value},"grouped-pricing-item-ids":t.groupedPricingItemIds,i18n:l.value,"are-non-billable-items-visible":t.areNonBillableItemsVisible,"credit-types-by-id":t.creditTypesById},{"pricing-item-header":e.withCtx(({item:t})=>[e.renderSlot(o.$slots,"pricing-item-header",{item:t},void 0,!0)]),"pricing-item-config-settings":e.withCtx(t=>[e.renderSlot(o.$slots,"pricing-item-config-settings",e.normalizeProps(e.guardReactiveProps(t)),void 0,!0)]),"pricing-item-config-override-tooltip":e.withCtx(t=>[e.renderSlot(o.$slots,"pricing-item-config-override-tooltip",e.normalizeProps(e.guardReactiveProps(t)),void 0,!0)]),"pricing-item-config-additions":e.withCtx(t=>[e.renderSlot(o.$slots,"pricing-item-config-additions",e.normalizeProps(e.guardReactiveProps(t)),void 0,!0)]),"pricing-item-config-price-line-additions":e.withCtx(t=>[e.renderSlot(o.$slots,"pricing-item-config-price-line-additions",e.normalizeProps(e.guardReactiveProps(t)),void 0,!0)]),_:3},8,["pricing","grouped-pricing-item-ids","i18n","are-non-billable-items-visible","credit-types-by-id"])],64)),e.unref(c)(t.pricing.entitlements)?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",Rh,[e.createVNode(E,{class:"section-label relative"},{default:e.withCtx(()=>[e.createElementVNode("h3",Fh,e.toDisplayString(l.value.features),1),o.$slots["pricing-entitlements-settings"]?(e.openBlock(),e.createElementBlock("div",Uh,[e.createElementVNode("div",Gh,[e.renderSlot(o.$slots,"pricing-entitlements-settings",{pricing:t.pricing},void 0,!0)])])):e.createCommentVNode("",!0)]),_:3}),e.createElementVNode("ul",jh,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.pricing.entitlements,t=>(e.openBlock(),e.createElementBlock("li",{key:t.feature_id,class:"flex items-center justify-between py-2"},[e.createElementVNode("span",Qh,e.toDisplayString(t.feature.name),1),t.feature.type===e.unref(Hh).AMOUNT&&t.amount?(e.openBlock(),e.createBlock(Pi,{key:0,value:t.amount,highlighted:""},null,8,["value"])):e.createCommentVNode("",!0),t.feature.type===e.unref(Hh).NUMBER&&t.number?(e.openBlock(),e.createElementBlock("span",Kh,e.toDisplayString(t.number),1)):e.createCommentVNode("",!0),t.feature.type===e.unref(Hh).STRING&&t.string?(e.openBlock(),e.createElementBlock("span",Wh,e.toDisplayString(t.string),1)):e.createCommentVNode("",!0),t.feature.type===e.unref(Hh).SWITCH&&"switch"in t?(e.openBlock(),e.createElementBlock("div",{key:3,class:e.normalizeClass(["inline-block rounded-full leading-[0.5] text-white",t.switch?"bg-primary-600":"bg-red-500"])},[e.createVNode(w,{icon:t.switch?"check":"close",size:"xs"},null,8,["icon"])],2)):e.createCommentVNode("",!0),t.feature.type===e.unref(Hh).ENUM&&t.enum?(e.openBlock(),e.createElementBlock("span",Yh,e.toDisplayString(t.enum),1)):e.createCommentVNode("",!0)]))),128))])]))]))}}),[["__scopeId","data-v-f430a83c"]]),Jh=e=>"cancellationDate"in e,ev=e=>"schedule"in e,tv={...Ah,volumePooling:"Volume pooling",addon:"Addon",someItemsDeprecatedWarning:"Some of the product items are deprecated. They cannot be used for pricing and needs to be deleted",allItemsDeprecatedWarning:"All product items are deprecated, this pricing needs to be deleted"},ov={addon:"Addon",singleSelect:"Single select",multiSelect:"Multi select"},lv={...ov,...tv,productsCount:e=>0===e?"no products":1===e?"1 product":`${e} products`},nv={...sm,...Rp,...vm,...lv,...bm,commitmentsTitle:Rp.title,discountsTitle:sm.title,markupsTitle:vm.title,commitmentsOrderOfApplicationExplanation:Rp.orderOfApplicationExplanation,discountsOrderOfApplicationExplanation:sm.orderOfApplicationExplanation,markupsOrderOfApplicationExplanation:vm.orderOfApplicationExplanation,scheduleNumber:e=>`Schedule ${e}`,versionNumber:e=>`Version ${e}`,subscriptionCancelled:e=>`Subscription cancelled from ${e}`},av={class:"ml-2 inline-block"},iv={key:0,class:"mb-2"},rv=e.defineComponent({__name:"PricingCard",props:{pricing:{},groupedPricingItemIds:{},pricingPlanId:{},pricingPlanVersionId:{},isCustomizedPlan:{type:Boolean},subscriptionId:{},showNonBillable:{type:Boolean},defaultExpanded:{type:Boolean},i18n:{},showAddonChip:{type:Boolean,default:!0},isEnabled:{type:Boolean,default:!0},schedule:{},creditTypesById:{}},setup(t){const l=t,n=e.computed(()=>l.i18n??tv);e.provide("pricingId",l.pricing.id);const a=e=>"DEPRECATED"===e.status,i=e.computed(()=>(l.pricing.items||[]).flatMap(e=>e.product_items||[]).some(a)),r=e.computed(()=>(l.pricing.items||[]).flatMap(e=>e.product_items||[]).every(a));return(l,a)=>(e.openBlock(),e.createBlock(Km,{class:"flex flex-col justify-between","capped-width":"","is-open":t.defaultExpanded,"data-testid":`pricing-${t.pricing.id}`,spacing:"sm",onToggled:a[0]||(a[0]=e=>l.$emit("pricing-toggled",e)),onToggle:a[1]||(a[1]=e=>l.$emit("pricing-toggle",t.pricing.id))},{"pre-header":e.withCtx(()=>[e.renderSlot(l.$slots,"pre-header")]),"title-prefix":e.withCtx(()=>[e.renderSlot(l.$slots,"title-prefix")]),title:e.withCtx(()=>[e.createVNode(o,{weight:"semibold",tag:"span",variant:"body-sm"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(Ka)(t.pricing,!(t.pricing.products&&t.pricing.products.length>1))),1)]),_:1})]),"title-suffix":e.withCtx(()=>[t.pricing.products&&t.pricing.products.length>1?(e.openBlock(),e.createBlock(Qn,{key:0,color:"green",class:"ml-2 align-middle"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(n.value.volumePooling),1)]),_:1})):e.createCommentVNode("",!0),t.showAddonChip&&t.pricing.product_type&&"ADDON"===t.pricing.product_type?(e.openBlock(),e.createBlock(Qn,{key:1,color:"indigo",class:"ml-2 align-middle"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(n.value.addon),1)]),_:1})):e.createCommentVNode("",!0),e.createElementVNode("span",av,[e.renderSlot(l.$slots,"id")])]),right:e.withCtx(()=>[e.renderSlot(l.$slots,"right")]),default:e.withCtx(()=>[e.createVNode(Vc,{spacing:"none"},{default:e.withCtx(()=>[l.$slots["pricing-note"]?(e.openBlock(),e.createElementBlock("div",iv,[e.renderSlot(l.$slots,"pricing-note")])):e.createCommentVNode("",!0),e.createVNode(Xh,{pricing:t.pricing,"grouped-pricing-item-ids":t.groupedPricingItemIds,i18n:n.value,"are-non-billable-items-visible":t.showNonBillable,schedule:t.schedule,"credit-types-by-id":t.creditTypesById},{"pricing-item-header":e.withCtx(({item:t})=>[e.renderSlot(l.$slots,"pricing-item-header",{item:t})]),"pricing-item-warning":e.withCtx(()=>[r.value?(e.openBlock(),e.createBlock(dc,{key:0,type:"warning"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(n.value.allItemsDeprecatedWarning),1)]),_:1})):i.value?(e.openBlock(),e.createBlock(dc,{key:1,type:"warning"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(n.value.someItemsDeprecatedWarning),1)]),_:1})):e.createCommentVNode("",!0)]),"pricing-item-config-settings":e.withCtx(t=>[e.renderSlot(l.$slots,"pricing-item-config-settings",e.normalizeProps(e.guardReactiveProps(t)))]),"pricing-entitlements-settings":e.withCtx(t=>[e.renderSlot(l.$slots,"pricing-entitlements-settings",e.normalizeProps(e.guardReactiveProps(t)))]),"pricing-item-config-override-tooltip":e.withCtx(t=>[e.renderSlot(l.$slots,"pricing-item-config-override-tooltip",e.normalizeProps(e.guardReactiveProps(t)))]),"pricing-item-config-additions":e.withCtx(t=>[e.renderSlot(l.$slots,"pricing-item-config-additions",e.normalizeProps(e.guardReactiveProps(t)))]),"pricing-item-config-price-line-additions":e.withCtx(t=>[e.renderSlot(l.$slots,"pricing-item-config-price-line-additions",e.normalizeProps(e.guardReactiveProps(t)))]),_:3},8,["pricing","grouped-pricing-item-ids","i18n","are-non-billable-items-visible","schedule","credit-types-by-id"])]),_:3})]),_:3},8,["is-open","data-testid"]))}}),cv={class:"inline-block"},sv=e.defineComponent({__name:"PricingGroupCard",props:{pricingGroup:{},i18n:{default:()=>ov},isEnabled:{type:Boolean}},setup:t=>(o,l)=>(e.openBlock(),e.createBlock(Jr,{spacing:t.isEnabled?"sm":"none","border-style":t.isEnabled?"solid":"dashed"},{default:e.withCtx(()=>[e.createVNode(Gm,{spacing:"none",title:t.pricingGroup.name},{"title-suffix":e.withCtx(()=>[t.pricingGroup.product_type&&"ADDON"===t.pricingGroup.product_type?(e.openBlock(),e.createBlock(Qn,{key:0,color:"indigo",class:"ml-2 align-middle"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.i18n.addon),1)]),_:1})):e.createCommentVNode("",!0),e.createVNode(Qn,{color:"dark",class:"mx-2 align-middle"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(oi)(t.pricingGroup)?t.i18n.singleSelect:t.i18n.multiSelect),1)]),_:1}),e.createElementVNode("span",cv,[e.renderSlot(o.$slots,"id")])]),right:e.withCtx(()=>[e.renderSlot(o.$slots,"settings")]),_:3},8,["title"]),e.createVNode(Vc,{spacing:"none",class:"mt-2"},{default:e.withCtx(()=>[e.renderSlot(o.$slots,"pricings")]),_:3})]),_:3},8,["spacing","border-style"]))}),dv=e.defineComponent({__name:"PricingGroupSingleSelectCard",props:{pricingGroup:{},pricingPlanVersion:{},schedule:{},showNonBillable:{type:Boolean},isEnabled:{type:Boolean},isControlled:{type:Boolean}},emits:["update-enabled-pricing"],setup(t,{emit:l}){var n,a,i;const r=t,c=l,s=e.ref(null==(i=null==(a=null==(n=r.schedule)?void 0:n.enabled_pricings)?void 0:a.find(e=>r.pricingGroup.pricings.some(t=>t.id===e.pricing_id)))?void 0:i.pricing_id),d=e.computed(()=>r.pricingGroup.pricings.map(e=>({value:e.id}))),u=e.computed({get:()=>s.value||r.pricingGroup.pricings[0].id,set:e=>{s.value=e}}),p=e.computed(()=>r.pricingGroup.pricings.find(e=>e.id===u.value)),{renderPricingForPricingItem:m}=Fa(),f=e.computed(()=>{var e,t,o,l;return(null==(t=null==(e=p.value)?void 0:e.items)?void 0:t[0])?m({pricingItem:null==(l=null==(o=p.value)?void 0:o.items)?void 0:l[0]}):""}),h=e.computed(()=>Object.fromEntries((r.pricingPlanVersion.credit_types??[]).map(e=>[e.id,e])));return e.watch(u,(e,t)=>{c("update-enabled-pricing",t,e)},{immediate:!0}),e.watch(()=>r.schedule,e=>{var t,o;s.value=null==(o=null==(t=null==e?void 0:e.enabled_pricings)?void 0:t.find(e=>r.pricingGroup.pricings.some(t=>t.id===e.pricing_id)))?void 0:o.pricing_id},{immediate:!0}),(l,n)=>(e.openBlock(),e.createBlock(e.unref(sv),{"pricing-group":t.pricingGroup,"is-enabled":t.isEnabled},{id:e.withCtx(()=>[e.renderSlot(l.$slots,"id",{id:t.pricingGroup.id})]),settings:e.withCtx(()=>[e.renderSlot(l.$slots,"pricing-group-settings",{pricingGroup:t.pricingGroup})]),pricings:e.withCtx(()=>[p.value?(e.openBlock(),e.createBlock(e.unref(rv),{key:0,"default-expanded":!0,pricing:p.value,"pricing-plan-version-id":t.pricingPlanVersion.id,"pricing-plan-id":t.pricingPlanVersion.pricing_plan_id,"show-non-billable":t.showNonBillable,"is-customized-plan":!!t.pricingPlanVersion.copied_from_pricing_plan_version_id,class:"flex flex-col","is-controlled":t.isControlled,"show-addon-chip":!1,"is-enabled":t.isEnabled,schedule:t.schedule,"credit-types-by-id":h.value},{"pre-header":e.withCtx(()=>[e.createVNode(Zu,{modelValue:u.value,"onUpdate:modelValue":n[0]||(n[0]=e=>u.value=e),options:d.value,name:"pricing-group-single-select",variant:"stepped-ghost",size:"lg",class:"border-b"},null,8,["modelValue","options"])]),"pricing-note":e.withCtx(()=>[e.renderSlot(l.$slots,"pricing-note",e.normalizeProps(e.guardReactiveProps({pricing:p.value})))]),"title-prefix":e.withCtx(()=>[e.renderSlot(l.$slots,"pricing-group-pricing-title-prefix",{pricingGroup:t.pricingGroup,pricing:p.value})]),id:e.withCtx(()=>[e.renderSlot(l.$slots,"pricing-title-suffix",{id:p.value.id})]),right:e.withCtx(()=>[f.value?(e.openBlock(),e.createBlock(o,{key:0,variant:"body-xs",shade:"lighter",class:"mr-4"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(f.value),1)]),_:1})):e.createCommentVNode("",!0),e.renderSlot(l.$slots,"pricing-group-pricing-settings",{pricing:p.value,pricingGroup:t.pricingGroup})]),"pricing-item-header":e.withCtx(({item:t})=>[e.renderSlot(l.$slots,"pricing-item-header",{item:t})]),"pricing-entitlements-settings":e.withCtx(t=>[e.renderSlot(l.$slots,"pricing-entitlements-settings",e.normalizeProps(e.guardReactiveProps(t)))]),"pricing-item-config-settings":e.withCtx(o=>[e.renderSlot(l.$slots,"pricing-item-config-settings",e.mergeProps(o,{pricingGroup:t.pricingGroup}))]),"pricing-item-config-override-tooltip":e.withCtx(t=>[e.renderSlot(l.$slots,"pricing-item-config-override-tooltip",e.normalizeProps(e.guardReactiveProps(t)))]),"pricing-item-config-additions":e.withCtx(t=>[e.renderSlot(l.$slots,"pricing-item-config-additions",e.normalizeProps(e.guardReactiveProps(t)))]),_:3},8,["pricing","pricing-plan-version-id","pricing-plan-id","show-non-billable","is-customized-plan","is-controlled","is-enabled","schedule","credit-types-by-id"])):e.createCommentVNode("",!0)]),_:3},8,["pricing-group","is-enabled"]))}}),uv={key:0,class:"category-heading mb-2 flex items-center gap-2 text-sm print:hidden"},pv={class:"font-bold"},mv={class:"flex flex-col gap-2"},fv={class:"flex flex-col"},hv=h(e.defineComponent({__name:"PricingPlanVersionContent",props:{pricingPlanVersion:{},groupedPricingItemIdsByPricing:{},defaultExpanded:{type:Boolean},showNonBillable:{type:Boolean},expandedPricings:{},enabledPricings:{},isControlled:{type:Boolean},i18n:{},schedule:{},enablePricingGroupSelection:{type:Boolean,default:!1}},emits:["pricing-toggle","pricing-toggled","delete-pricing","update-enabled-pricing"],setup(t){const o=t,l=e.computed(()=>o.i18n??lv),n=e.computed(()=>o.enabledPricings??[]),a=e.computed(()=>{var e;return Object.fromEntries(((null==(e=o.pricingPlanVersion)?void 0:e.credit_types)??[]).map(e=>[e.id,e]))}),i=e=>"DEFAULT"===e.product_type||e.pricings.some(e=>n.value.includes(e.id)),r=e=>"DEFAULT"===e.product_type||n.value.includes(e.id);return(o,n)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.renderSlot(o.$slots,"header",{},void 0,!0),!t.pricingPlanVersion||t.pricingPlanVersion.pricing_categories&&0!==t.pricingPlanVersion.pricing_categories.length?t.pricingPlanVersion?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:1},e.renderList(t.pricingPlanVersion.pricing_categories??[],(c,s)=>{var d,u;return e.openBlock(),e.createElementBlock("div",{key:c.product_category_id,class:e.normalizeClass({"mt-6":s>0})},[(null==(d=c.product_category)?void 0:d.name)?(e.openBlock(),e.createElementBlock("h2",uv,[e.createElementVNode("span",pv,e.toDisplayString(null==(u=c.product_category)?void 0:u.name),1),e.createElementVNode("div",null,[e.createVNode(Qn,{size:"sm",color:"dark",class:"rounded-2xl font-semibold uppercase text-gray-600"},{default:e.withCtx(()=>{var t,o;return[e.createTextVNode(e.toDisplayString(l.value.productsCount(((null==(t=c.pricing_groups)?void 0:t.length)??0)+((null==(o=c.pricings)?void 0:o.length)??0))),1)]}),_:2},1024)])])):e.createCommentVNode("",!0),e.createElementVNode("div",mv,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(c.pricing_groups,c=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:c.id},[t.enablePricingGroupSelection&&"EXACTLY_ONE"===c.selection_constraint&&c.pricings.length>=7?(e.openBlock(),e.createBlock(dv,{key:0,"pricing-group":c,"pricing-plan-version":t.pricingPlanVersion,"is-enabled":i(c),i18n:l.value,schedule:t.schedule,"show-non-billable":t.showNonBillable,"is-controlled":t.isControlled,onUpdateEnabledPricing:n[0]||(n[0]=(e,t)=>o.$emit("update-enabled-pricing",e,t))},{id:e.withCtx(()=>[e.renderSlot(o.$slots,"id",{id:c.id},void 0,!0)]),"pricing-group-settings":e.withCtx(()=>[e.renderSlot(o.$slots,"pricing-group-settings",{pricingGroup:c},void 0,!0)]),_:2},1032,["pricing-group","pricing-plan-version","is-enabled","i18n","schedule","show-non-billable","is-controlled"])):(e.openBlock(),e.createBlock(e.unref(sv),{key:1,"pricing-group":c,"is-enabled":i(c),i18n:l.value},{id:e.withCtx(()=>[e.renderSlot(o.$slots,"id",{id:c.id},void 0,!0)]),settings:e.withCtx(()=>[e.renderSlot(o.$slots,"pricing-group-settings",{pricingGroup:c},void 0,!0)]),pricings:e.withCtx(()=>[e.createElementVNode("div",fv,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(c.pricings,i=>{var s,d;return e.openBlock(),e.createBlock(e.unref(rv),{key:i.id,"default-expanded":!0===t.defaultExpanded||(null==(s=t.expandedPricings)?void 0:s.includes(i.id)),pricing:i,"pricing-plan-version-id":t.pricingPlanVersion.id,"pricing-plan-id":t.pricingPlanVersion.pricing_plan_id,"show-non-billable":t.showNonBillable,"is-customized-plan":!!t.pricingPlanVersion.copied_from_pricing_plan_version_id,"grouped-pricing-item-ids":null==(d=t.groupedPricingItemIdsByPricing)?void 0:d[i.id],class:"flex flex-col","is-controlled":t.isControlled,i18n:l.value,"show-addon-chip":!1,"is-enabled":r(i),"credit-types-by-id":a.value,onPricingToggled:e=>o.$emit("pricing-toggled",i.id,e),onPricingToggle:n[1]||(n[1]=e=>o.$emit("pricing-toggle",e))},{"pricing-note":e.withCtx(()=>[e.renderSlot(o.$slots,"pricing-note",e.mergeProps({ref_for:!0},{pricing:i}),void 0,!0)]),"title-prefix":e.withCtx(()=>[e.renderSlot(o.$slots,"pricing-group-pricing-title-prefix",{pricingGroup:c,pricing:i},void 0,!0)]),id:e.withCtx(()=>[e.renderSlot(o.$slots,"pricing-title-suffix",{id:i.id},void 0,!0)]),right:e.withCtx(()=>[e.renderSlot(o.$slots,"pricing-group-pricing-settings",{pricing:i,pricingGroup:c},void 0,!0)]),"pricing-item-header":e.withCtx(({item:t})=>[e.renderSlot(o.$slots,"pricing-item-header",{item:t},void 0,!0)]),"pricing-entitlements-settings":e.withCtx(t=>[e.renderSlot(o.$slots,"pricing-entitlements-settings",e.mergeProps({ref_for:!0},t),void 0,!0)]),"pricing-item-config-settings":e.withCtx(t=>[e.renderSlot(o.$slots,"pricing-item-config-settings",e.mergeProps({ref_for:!0},t,{pricingGroup:c}),void 0,!0)]),"pricing-item-config-override-tooltip":e.withCtx(t=>[e.renderSlot(o.$slots,"pricing-item-config-override-tooltip",e.mergeProps({ref_for:!0},t),void 0,!0)]),"pricing-item-config-additions":e.withCtx(t=>[e.renderSlot(o.$slots,"pricing-item-config-additions",e.mergeProps({ref_for:!0},t),void 0,!0)]),"pricing-item-config-price-line-additions":e.withCtx(t=>[e.renderSlot(o.$slots,"pricing-item-config-price-line-additions",e.mergeProps({ref_for:!0},t),void 0,!0)]),_:2},1032,["default-expanded","pricing","pricing-plan-version-id","pricing-plan-id","show-non-billable","is-customized-plan","grouped-pricing-item-ids","is-controlled","i18n","is-enabled","credit-types-by-id","onPricingToggled"])}),128))])]),_:2},1032,["pricing-group","is-enabled","i18n"]))],64))),128)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(c.pricings,i=>{var c,s;return e.openBlock(),e.createBlock(e.unref(rv),{key:i.id,"default-expanded":!0===t.defaultExpanded||(null==(c=t.expandedPricings)?void 0:c.includes(i.id)),pricing:i,"pricing-plan-version-id":t.pricingPlanVersion.id,"pricing-plan-id":t.pricingPlanVersion.pricing_plan_id,"grouped-pricing-item-ids":null==(s=t.groupedPricingItemIdsByPricing)?void 0:s[i.id],"show-non-billable":t.showNonBillable,"is-customized-plan":!!t.pricingPlanVersion.copied_from_pricing_plan_version_id,class:"flex flex-col","is-controlled":t.isControlled,i18n:l.value,"is-enabled":r(i),"credit-types-by-id":a.value,schedule:t.schedule,onPricingToggled:e=>o.$emit("pricing-toggled",i.id,e),onPricingToggle:n[2]||(n[2]=e=>o.$emit("pricing-toggle",e))},{id:e.withCtx(()=>[e.renderSlot(o.$slots,"pricing-title-suffix",{id:i.id},void 0,!0)]),right:e.withCtx(()=>[e.renderSlot(o.$slots,"pricing-settings",{pricing:i},void 0,!0)]),"pricing-note":e.withCtx(()=>[e.renderSlot(o.$slots,"pricing-note",e.mergeProps({ref_for:!0},{pricing:i}),void 0,!0)]),"pricing-item-header":e.withCtx(({item:t})=>[e.renderSlot(o.$slots,"pricing-item-header",{item:t},void 0,!0)]),"pricing-entitlements-settings":e.withCtx(t=>[e.renderSlot(o.$slots,"pricing-entitlements-settings",e.mergeProps({ref_for:!0},t),void 0,!0)]),"pricing-item-config-settings":e.withCtx(t=>[e.renderSlot(o.$slots,"pricing-item-config-settings",e.mergeProps({ref_for:!0},t,{pricingGroup:void 0}),void 0,!0)]),"pricing-item-config-override-tooltip":e.withCtx(t=>[e.renderSlot(o.$slots,"pricing-item-config-override-tooltip",e.mergeProps({ref_for:!0},t),void 0,!0)]),"pricing-item-config-additions":e.withCtx(t=>[e.renderSlot(o.$slots,"pricing-item-config-additions",e.mergeProps({ref_for:!0},t),void 0,!0)]),"pricing-item-config-price-line-additions":e.withCtx(t=>[e.renderSlot(o.$slots,"pricing-item-config-price-line-additions",e.mergeProps({ref_for:!0},t),void 0,!0)]),_:2},1032,["default-expanded","pricing","pricing-plan-version-id","pricing-plan-id","grouped-pricing-item-ids","show-non-billable","is-customized-plan","is-controlled","i18n","is-enabled","credit-types-by-id","schedule","onPricingToggled"])}),128))])],2)}),128)):e.createCommentVNode("",!0):e.renderSlot(o.$slots,"empty-state",{key:0},void 0,!0)],64))}}),[["__scopeId","data-v-2ac99a3d"]]),vv={class:"flex items-center gap-2"},gv={key:0,class:"mb-8 flex items-center gap-2 print:hidden"},yv={class:"text-base font-semibold"},bv={key:1,class:"transition-opacity-300"},xv=h(e.defineComponent({__name:"PricingPlanSchedules",props:{schedules:{},isEditable:{type:Boolean},openScheduleId:{},i18n:{},displayDisabledAddonPricings:{type:Boolean,default:!1},isExpandedByDefault:{type:Boolean},timezone:{},cancellationDate:{},enablePricingGroupSelection:{type:Boolean,default:!1}},emits:["add-schedule","toggle-schedule"],setup(t,{emit:l}){var n;const a=t,i=l,r=e.computed(()=>a.i18n??nv),{formatDate:c}=Gn(),{getIsOpen:s,toggle:d}=fa({closeOthers:!0,initialToggledItems:[null==(n=a.schedules[0])?void 0:n.schedule.id]}),u=e.ref(null);Ua(u,".collapsible-card-print-wrapper",{companionSelector:".category-heading",expandSelectors:[".collapsible-list-item-content",".collapsible-card-print-content"],protectedTopSelectors:[".card-header-print-root",".section-label",".pricing-item-block"]});const p=e.computed(()=>a.schedules.map((e,t)=>({...e,inferredPricingPlanVersion:e.selectedPricingPlanVersion&&Ja(e.selectedPricingPlanVersion,e.schedule,{displayDisabledAddonPricings:a.displayDisabledAddonPricings}),scheduleNumber:t+1,cancelled:!1}))),m=e.computed(()=>{let e=[...p.value.map((e,t)=>({...e,inferredPricingPlanVersion:e.selectedPricingPlanVersion&&Ja(e.selectedPricingPlanVersion,e.schedule,{displayDisabledAddonPricings:a.displayDisabledAddonPricings}),scheduleNumber:t+1}))];if(a.cancellationDate){let t=0;const o={cancellationDate:a.cancellationDate},l=e.findLastIndex(e=>ev(e)&&(e.schedule.start_at??"")<(a.cancellationDate??""));if(-1===l)e=[o,...e];else{const n=e[l];t=ev(n)&&(n.schedule.end_at??"")>=(a.cancellationDate??"")?l:l+1,t===a.schedules.length+1?e=[...e,o]:e.splice(t,0,o)}return e.map((e,o)=>ev(e)?{...e,cancelled:o>t}:e)}return e}),f=e=>{if(e.inferredPricingPlanVersion)return((e,t,o)=>{var l;return{...e,pricing_categories:null==(l=e.pricing_categories)?void 0:l.map(e=>{var l,n;return{...e,pricings:null==(l=e.pricings)?void 0:l.map(e=>({...e,items:zi(e,t,o)})),pricing_groups:null==(n=e.pricing_groups)?void 0:n.map(e=>{var l;return{...e,pricings:null==(l=e.pricings)?void 0:l.map(e=>({...e,items:zi(e,t,o)}))}})}})}})(e.inferredPricingPlanVersion,e.schedule.pricing_currency,e.schedule.billing_period)},h=e=>e.inferredPricingPlanVersion?((e,t)=>{const o=[],l=e=>{for(const l of e??[]){const e=(l.items??[]).filter(e=>Si(e,t)).map(e=>e.id);o.push([l.id,e])}};for(const n of e.pricing_categories??[]){l(n.pricings);for(const e of n.pricing_groups??[])l(e.pricings)}return Object.fromEntries(o)})(e.inferredPricingPlanVersion,e.schedule.pricing_currency):{},v=e.computed(()=>void 0===a.openScheduleId);return(l,n)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"containerRef",ref:u},[e.createVNode(Fc,e.mergeProps(l.$attrs,{"has-add-button":t.isEditable,onAdd:n[0]||(n[0]=e=>l.$emit("add-schedule"))}),{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(m.value,(n,u)=>{return e.openBlock(),e.createElementBlock(e.Fragment,{key:u},[e.unref(Jh)(n)?(e.openBlock(),e.createBlock(af,{key:0,"hide-collapse-icon":""},{icon:e.withCtx(()=>[e.createVNode(w,{icon:"cancel",class:"text-red-600"})]),left:e.withCtx(()=>[e.createVNode(o,{variant:"body-sm",weight:"semibold"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(r.value.subscriptionCancelled(t.timezone?e.unref(c)({date:n.cancellationDate,format:"date",offsetType:"offsetted",timezone:t.timezone}):e.unref(c)({date:n.cancellationDate,format:"dateTime",offsetType:"local"}))),1)]),_:2},1024)]),_:2},1024)):e.createCommentVNode("",!0),e.unref(ev)(n)?(e.openBlock(),e.createBlock(af,{key:1,"item-number":n.scheduleNumber,"is-open":(m=n.schedule,v.value?s(m.id):a.openScheduleId===m.id),"has-continued-preline":!!t.isEditable||n.scheduleNumber-1!=p.value.length-1,class:e.normalizeClass({"opacity-60":n.cancelled}),onToggle:e=>(e=>{v.value?d(e.id):i("toggle-schedule",e.id)})(n.schedule)},{left:e.withCtx(()=>[e.createElementVNode("div",vv,[e.createVNode(o,{tag:"h3",weight:"semibold",class:"print:text-sm"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(r.value.scheduleNumber(n.scheduleNumber)),1)]),_:2},1024),"TRIAL"===n.schedule.type&&n.schedule.start_at&&n.schedule.end_at?(e.openBlock(),e.createBlock(Hm,{key:0,"trial-period":e.unref(Ei)(new Date(n.schedule.start_at),new Date(n.schedule.end_at))},null,8,["trial-period"])):e.createCommentVNode("",!0),e.renderSlot(l.$slots,"id",{id:n.schedule.id},void 0,!0)])]),right:e.withCtx(()=>[e.renderSlot(l.$slots,"schedule-right",{item:n,itemIndex:n.scheduleNumber-1},()=>[t.timezone?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createVNode(o,{variant:"body-xs",class:"print:hidden"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(n.schedule.start_at?e.unref(c)({date:n.schedule.start_at,format:"dateTime",offsetType:"offsetted",timezone:t.timezone}):r.value.startOfSchedule)+" - "+e.toDisplayString(n.schedule.end_at?e.unref(c)({date:n.schedule.end_at,format:"dateTime",offsetType:"offsetted",timezone:t.timezone}):r.value.endOfSchedule),1)]),_:2},1024),e.createVNode(o,{variant:"body-xs",class:"hidden print:block"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(n.schedule.start_at?e.unref(c)({date:n.schedule.start_at,format:"date",offsetType:"offsetted",timezone:t.timezone}):r.value.startOfSchedule)+" - "+e.toDisplayString(n.schedule.end_at?e.unref(c)({date:n.schedule.end_at,format:"date",offsetType:"offsetted",timezone:t.timezone}):r.value.endOfSchedule),1)]),_:2},1024)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createVNode(o,{variant:"body-xs",class:"print:hidden"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(n.schedule.start_at?e.unref(c)({date:n.schedule.start_at,format:"dateTime",offsetType:"local"}):r.value.startOfSchedule)+" - "+e.toDisplayString(n.schedule.end_at?e.unref(c)({date:n.schedule.end_at,format:"dateTime",offsetType:"local"}):r.value.endOfSchedule),1)]),_:2},1024),e.createVNode(o,{variant:"body-xs",class:"hidden print:block"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(n.schedule.start_at?e.unref(c)({date:n.schedule.start_at,format:"date",offsetType:"local"}):r.value.startOfSchedule)+" - "+e.toDisplayString(n.schedule.end_at?e.unref(c)({date:n.schedule.end_at,format:"date",offsetType:"local"}):r.value.endOfSchedule),1)]),_:2},1024)],64))],!0)]),default:e.withCtx(()=>[e.renderSlot(l.$slots,"schedule",{item:n,previousItem:p.value.find(e=>e.scheduleNumber===n.scheduleNumber-1),nextItem:p.value.find(e=>e.scheduleNumber===n.scheduleNumber+1),timezone:t.timezone},()=>[n.selectedPricingPlan?(e.openBlock(),e.createElementBlock("div",gv,[e.createVNode(uc,{initials:n.selectedPricingPlan.name[0],"color-hash":n.selectedPricingPlan.id,size:"lg",class:"print:hidden"},null,8,["initials","color-hash"]),e.createElementVNode("h2",yv,e.toDisplayString(n.selectedPricingPlan.name),1),e.createVNode(Qn,{color:"teal"},{default:e.withCtx(()=>{var t;return[e.createTextVNode(e.toDisplayString(r.value.versionNumber((null==(t=n.inferredPricingPlanVersion)?void 0:t.version)??1)),1)]}),_:2},1024)])):e.createCommentVNode("",!0),n.inferredPricingPlanVersion?(e.openBlock(),e.createElementBlock("div",bv,[e.createVNode(hv,{"pricing-plan-version":f(n)??n.inferredPricingPlanVersion,"grouped-pricing-item-ids-by-pricing":h(n),"enabled-pricings":e.unref(Wa)(n.schedule),"default-expanded":t.isExpandedByDefault,i18n:r.value,"enable-pricing-group-selection":t.enablePricingGroupSelection,"show-non-billable":""},{"pricing-item-config-additions":e.withCtx(({config:t})=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList([e.unref(yi)(n.schedule,t)],(t,o)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[t?(e.openBlock(),e.createBlock(km,{key:o,markup:t,i18n:r.value},null,8,["markup","i18n"])):e.createCommentVNode("",!0)],64))),256)),e.renderSlot(l.$slots,"pricing-item-config-additions",{config:t,item:n,pricingPlanVersion:n.inferredPricingPlanVersion},void 0,!0)]),_:2},1032,["pricing-plan-version","grouped-pricing-item-ids-by-pricing","enabled-pricings","default-expanded","i18n","enable-pricing-group-selection"])])):e.createCommentVNode("",!0),n.schedule.discount?(e.openBlock(),e.createBlock(um,{key:2,discount:n.schedule.discount,"read-only":"","pricing-plan-version":n.inferredPricingPlanVersion,timezone:t.timezone,i18n:{...r.value,title:r.value.discountsTitle,orderOfApplicationExplanation:r.value.discountsOrderOfApplicationExplanation}},null,8,["discount","pricing-plan-version","timezone","i18n"])):e.createCommentVNode("",!0),n.schedule.markup?(e.openBlock(),e.createBlock(ym,{key:3,markup:n.schedule.markup,"pricing-plan-version":n.inferredPricingPlanVersion,timezone:t.timezone,i18n:{...r.value,title:r.value.markupsTitle,orderOfApplicationExplanation:r.value.markupsOrderOfApplicationExplanation}},null,8,["markup","pricing-plan-version","timezone","i18n"])):e.createCommentVNode("",!0),n.schedule&&n.schedule.commitment?(e.openBlock(),e.createBlock(tm,{key:4,class:"mt-2",commitment:n.schedule.commitment,"read-only":"","pricing-plan-version":n.inferredPricingPlanVersion,timezone:t.timezone,i18n:{...r.value,title:r.value.commitmentsTitle,orderOfApplicationExplanation:r.value.commitmentsOrderOfApplicationExplanation}},null,8,["commitment","pricing-plan-version","timezone","i18n"])):e.createCommentVNode("",!0)],!0)]),_:2},1032,["item-number","is-open","has-continued-preline","class","onToggle"])):e.createCommentVNode("",!0)],64);var m}),128))]),_:3},16,["has-add-button"])],512))}}),[["__scopeId","data-v-82e565eb"]]);const kv=h({},[["render",function(t,o){return e.openBlock(),e.createElementBlock("tbody",null,[e.renderSlot(t.$slots,"default")])}]]),_v={class:"bg-white"};const wv=h({},[["render",function(t,o){return e.openBlock(),e.createElementBlock("thead",_v,[e.renderSlot(t.$slots,"default")])}]]),Bv={class:"bg-white"};const Cv=h({},[["render",function(t,o){return e.openBlock(),e.createElementBlock("tr",Bv,[e.renderSlot(t.$slots,"default")])}]]);function Ev(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);t&&(l=l.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),o.push.apply(o,l)}return o}function Nv(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Ev(Object(o),!0).forEach(function(t){Tv(e,t,o[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Ev(Object(o)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))})}return e}function Tv(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function Mv(e){return"function"==typeof e}function Vv(e){return null!==e&&"object"==typeof e&&!Array.isArray(e)}function Sv(e){return Mv(e.$validator)?Nv({},e):{$validator:e}}function zv(e){return"object"==typeof e?e.$valid:e}function Pv(e){return e.$validator||e}const qv=t=>{if(t=e.unref(t),Array.isArray(t))return!!t.length;if(null==t)return!1;if(!1===t)return!0;if(t instanceof Date)return!isNaN(t.getTime());if("object"==typeof t){for(let e in t)return!0;return!1}return!!String(t).length};function Dv(){for(var t=arguments.length,o=new Array(t),l=0;l<t;l++)o[l]=arguments[l];return t=>(t=e.unref(t),!qv(t)||o.every(e=>(e.lastIndex=0,e.test(t))))}var Iv=Object.freeze({__proto__:null,forEach:function(t){return{$validator(o){for(var l=arguments.length,n=new Array(l>1?l-1:0),a=1;a<l;a++)n[a-1]=arguments[a];return e.unref(o).reduce((e,o,l)=>{const a=Object.entries(o).reduce((e,a)=>{let[i,r]=a;const c=t[i]||{},s=Object.entries(c).reduce((e,t)=>{let[a,c]=t;const s=Pv(c).call(this,r,o,l,...n),d=zv(s);if(e.$data[a]=s,e.$data.$invalid=!d||!!e.$data.$invalid,e.$data.$error=e.$data.$invalid,!d){let t=c.$message||"";const o=c.$params||{};"function"==typeof t&&(t=t({$pending:!1,$invalid:!d,$params:o,$model:r,$response:s})),e.$errors.push({$property:i,$message:t,$params:o,$response:s,$model:r,$pending:!1,$validator:a})}return{$valid:e.$valid&&d,$data:e.$data,$errors:e.$errors}},{$valid:!0,$data:{},$errors:[]});return e.$data[i]=s.$data,e.$errors[i]=s.$errors,{$valid:e.$valid&&s.$valid,$data:e.$data,$errors:e.$errors}},{$valid:!0,$data:{},$errors:{}});return{$valid:e.$valid&&a.$valid,$data:e.$data.concat(a.$data),$errors:e.$errors.concat(a.$errors)}},{$valid:!0,$data:[],$errors:[]})},$message:e=>{let{$response:t}=e;return t?t.$errors.map(e=>Object.values(e).map(e=>e.map(e=>e.$message)).reduce((e,t)=>e.concat(t),[])):[]}}},len:t=>(t=e.unref(t),Array.isArray(t)?t.length:"object"==typeof t?Object.keys(t).length:String(t).length),normalizeValidatorObject:Sv,regex:Dv,req:qv,unwrap:e.unref,unwrapNormalizedValidator:Pv,unwrapValidatorResponse:zv,withAsync:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return Nv(Nv({},Sv(e)),{},{$async:!0,$watchTargets:t})},withMessage:function(t,o){if(!Mv(t)&&"string"!=typeof e.unref(t))throw new Error('[@vuelidate/validators]: First parameter to "withMessage" should be string or a function returning a string, provided '+typeof t);if(!Vv(o)&&!Mv(o))throw new Error("[@vuelidate/validators]: Validator must be a function or object with $validator parameter");const l=Sv(o);return l.$message=t,l},withParams:function(e,t){if(!Vv(e))throw new Error('[@vuelidate/validators]: First parameter to "withParams" should be an object, provided '+typeof e);if(!Vv(t)&&!Mv(t))throw new Error("[@vuelidate/validators]: Validator must be a function or object with $validator parameter");const o=Sv(t);return o.$params=Nv(Nv({},o.$params||{}),e),o}});Dv(/^[a-zA-Z]*$/),Dv(/^[a-zA-Z0-9]*$/),Dv(/^\d*(\.\d+)?$/);Dv(/^(?:[A-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[A-z0-9!#$%&'*+/=?^_`{|}~-]+)*|"(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21\x23-\x5b\x5d-\x7f]|[\x01-\x09\x0b\x0c\x0e-\x7f])*")@(?:(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9]{2,}(?:[a-z0-9-]*[a-z0-9])?|\[(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?|[a-z0-9-]*[a-z0-9]:(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21-\x5a\x53-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])+)\])$/i);Dv(/^(?:(?:(?:https?|ftp):)?\/\/)(?:\S+(?::\S*)?@)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z0-9\u00a1-\uffff][a-z0-9\u00a1-\uffff_-]{0,62})?[a-z0-9\u00a1-\uffff]\.)+(?:[a-z\u00a1-\uffff]{2,}\.?))(?::\d{2,5})?(?:[/?#]\S*)?$/i),Dv(/(^[0-9]*$)|(^-[0-9]+$)/),Dv(/^[-]?\d*(\.\d+)?$/);const $v={AT:{regex:/^ATU\d{8}$/,prefix:"AT",example:"ATU12345678"},BE:{regex:/^BE0?\d{9}$/,prefix:"BE",example:"BE0123456789"},BG:{regex:/^BG\d{9,10}$/,prefix:"BG",example:"BG123456789"},HR:{regex:/^HR\d{11}$/,prefix:"HR",example:"HR12345678901"},CY:{regex:/^CY\d{8}[A-Z]$/,prefix:"CY",example:"CY12345678X"},CZ:{regex:/^CZ\d{8,10}$/,prefix:"CZ",example:"CZ12345678"},DE:{regex:/^DE\d{9}$/,prefix:"DE",example:"DE123456789"},DK:{regex:/^DK\d{8}$/,prefix:"DK",example:"DK12345678"},EE:{regex:/^EE\d{9}$/,prefix:"EE",example:"EE123456789"},GR:{regex:/^(EL|GR)\d{9}$/,prefix:"GR",example:"GR123456789"},ES:{regex:/^ES[A-Z0-9]\d{7}[A-Z0-9]$/,prefix:"ES",example:"ESX1234567X"},FI:{regex:/^FI\d{8}$/,prefix:"FI",example:"FI12345678"},FR:{regex:/^FR[0-9A-Z]{2}\d{9}$/,prefix:"FR",example:"FRXX123456789"},HU:{regex:/^HU\d{8}$/,prefix:"HU",example:"HU12345678"},IE:{regex:/^IE[0-9A-Z]{8,9}$/,prefix:"IE",example:"IE1234567A"},IS:{regex:/^IS\d{5}$/,prefix:"IS",example:"IS12345"},IT:{regex:/^IT\d{11}$/,prefix:"IT",example:"IT12345678901"},LT:{regex:/^LT(\d{9}|\d{12})$/,prefix:"LT",example:"LT123456789 or LT123456789012"},LU:{regex:/^LU\d{8}$/,prefix:"LU",example:"LU12345678"},LV:{regex:/^LV\d{11}$/,prefix:"LV",example:"LV12345678901"},ME:{regex:/^ME\d{9}$/,prefix:"ME",example:"ME123456789"},MT:{regex:/^MT\d{8}$/,prefix:"MT",example:"MT12345678"},NL:{regex:/^NL\d{9}B\d{2}$/,prefix:"NL",example:"NL123456789B01"},PL:{regex:/^PL\d{10}$/,prefix:"PL",example:"PL1234567890"},PT:{regex:/^PT\d{9}$/,prefix:"PT",example:"PT123456789"},RO:{regex:/^RO\d{2,10}$/,prefix:"RO",example:"RO1234567890"},RU:{regex:/^RU(\d{9}|\d{10}|\d{12})$/,prefix:"RU",example:"RU123456789 or RU1234567890 or RU123456789012"},SE:{regex:/^SE\d{10}01$/,prefix:"SE",example:"SE123456789001"},SI:{regex:/^SI\d{8}$/,prefix:"SI",example:"SI12345678"},SK:{regex:/^SK\d{10}$/,prefix:"SK",example:"SK1234567890"},CH:{regex:/^CHE\d{9}(MWST|TVA|IVA)?$/,prefix:"CHE",example:"CHE123456789MWST"},NO:{regex:/^NO\d{9}MVA$/,prefix:"NO",example:"NO123456789MVA"},GB:{regex:/^GB(\d{9}|\d{12}|GD\d{3}|HA\d{3})$/,prefix:"GB",example:"GB123456789"},XI:{regex:/^XI(\d{9}|\d{12})$/,prefix:"XI",example:"XI123456789"}},Ov=Iv.withMessage(({$model:t})=>{if(!t||"string"!=typeof t||""===t.trim())return"";const o=e.inject(Zn,null);if(!o)return"Invalid tax ID";const{formatMessage:l}=o,n=Object.values($v).find(e=>t.toUpperCase().startsWith(e.prefix.toUpperCase()));return n?l({defaultMessage:"Invalid tax ID format. Example: {example}",id:"form_validation.tax_id.invalid_format",description:"Error message when tax ID format is invalid but prefix matches"},{example:n.example}):l({defaultMessage:"Invalid tax ID",id:"taxId.invalid",description:"Error message when tax ID is invalid"})},e=>!e||"string"!=typeof e||""===e.trim()||Object.values($v).some(t=>t.regex.test(e))),Hv="Confirm",Av="units",Lv="unit",Zv="expires after {period}",Rv="{pricing} per {billing_period}",Fv="Updated at {date}",Uv={"3yk8fB":"Wallet","47FYwb":"Cancel",N2IrpM:Hv,"PW+sL4":"N/A",Vl9vDx:Av,"customer_billing_information.billing_address_label":"Billing address","customer_billing_information.email_address_label":"Email address","customer_billing_information.name_label":"Name","customer_billing_information.title":"Billing information","customer_billing_information.vat_number_label":"VAT number","customer_overview.billing_information.no_billing_information_available":"No billing information to display.","download_button.download_failed_message":"Download failed, please try again later","editor.placeholder":"Enter text or type ‘/’ for commands","editorComponent.entityDetailsFallbackTitles.customerTitle":"Customer details","editorComponent.entityDetailsFallbackTitles.supplierTitle":"Supplier details","editorComponent.slashCommands.addCustomerDetailsDescription":"Insert customer details block","editorComponent.slashCommands.addCustomerDetailsTitle":"Add Customer Details","editorComponent.slashCommands.addPartyDetailsDescription":"Insert customer and supplier details in one row","editorComponent.slashCommands.addPartyDetailsTitle":"Add Party Details","editorComponent.slashCommands.addInvoicePreviewDescription":"Insert an invoice preview snapshot","editorComponent.slashCommands.addInvoicePreviewTitle":"Add Invoice Preview","editorComponent.slashCommands.addSupplierDetailsDescription":"Insert supplier details block","editorComponent.slashCommands.addSupplierDetailsTitle":"Add Supplier Details","editorComponent.slashCommands.customerFallbackTitle":"Customer details","editorComponent.slashCommands.dividerDescription":"Insert a horizontal rule","editorComponent.slashCommands.dividerTitle":"Divider","editorComponent.slashCommands.headingDescription":"Start writing with heading.","editorComponent.slashCommands.headingTitle":"Heading","editorComponent.slashCommands.supplierFallbackTitle":"Supplier details","editorComponent.slashCommands.textDescription":"Start writing with plain text","editorComponent.slashCommands.textTitle":"Text","error_notification.default_error_message":"Something went wrong","form_validation.tax_id.invalid_format":"Invalid tax ID format. Example: {example}","generic.not_available":"N/A","invoicePreviewCard.title":"Invoice preview","invoicePreviewCard.totalExcludingTaxes":"Total excluding taxes","invoicePreviewCard.taxes":"Taxes","invoicePreviewCard.totalIncludingTaxes":"Total including taxes","invoice.add_invoice_line":"Add invoice line","invoice.adjustment_chip_body":"Adjustment","invoice.already_deducted_table_heading":"Already deducted","invoice.amount_discount":"{amount} discount","invoice.amount_due_table_heading":"Amount due","invoice.amount_table_heading":"Amount","invoice.commitment":"commitment","invoice.commitment_heading":"Commitment","invoice.discounts_table_heading":"Discounts","invoice.download_pdf_button":"Download PDF","invoice.due_on_label":"Due on {date}","invoice.line.band_maximum_number":"Maximum number","invoice.line.band_minimum_amount":"Band minimum amount","invoice.line.band_minimum_number":"Minimum number","invoice.line.excl.tax":"Excl. tax","invoice.line.incl.tax":"Incl. tax","invoice.line.included":"included","invoice.line.original_currency":"Original currency","invoice.line.pass_through":"Pass through","invoice.line.price_bound_maximum_amount":"Maximum amount","invoice.line.price_bound_within_bounds":"Within bounds","invoice.line.units_included":"units included","invoice.markup_percentage":"{percentage}% markup","invoice.markups_table_heading":"Markups","invoice.paid_chip":"Paid","invoice.paid_on_label":"Paid on {date}","invoice.percentage_discount":"{percentage}% discount","invoice.service_period_heading":"Service period - {start_at} - {end_at}","invoice.table_header.base amount":"Base amount","invoice.table_header.discount":"Discount","invoice.table_header.markup":"Markup","invoice.table_header.price":"Price","invoice.table_header.quantity":"Quantity","invoice.table_header.sub_total":"Subtotal","invoice.table_header.tax amount":"Tax amount","invoice.table_header.tax type":"Tax type","invoice.table_header.tax_percentage":"Percentage","invoice.table_header.tax_rate":"Tax rate","invoice.table_header.total":"Total","invoice.table_header.total_excluding_taxes":"Total excluding taxes","invoice.table_header.total_including_taxes":"Total including taxes","invoice.table_header.total_including_taxes_customer_facing":"Total due today","invoice.table_header.unit":"Unit","invoice.table_heading.commitments":"Commitments","invoice.table_heading.discounts":"Discounts","invoice.table_heading.markups":"Markups","invoice.table_heading.one_offs":"One-off's","invoice.table_heading.products":"Products","invoice.tax_notes.local_vat_applied_for_missing_tax_id":"Local VAT applied instead of reverse charge mechanism because customer VAT number is missing and this is an intra-EU sale","invoice.tax_notes.no_charge_provided_outside_eu":"No VAT charged – services provided outside the EU","invoice.tax_notes.not_applicable_article":"TVA non applicable – Article 294, 1 du CGI","invoice.tax_notes.reverse_charge":"Reverse charge - Art 196 of the VAT Directive 2006/ 112/EC","invoice.tax_notes.reverse_charge_outside_eu":"No VAT – Service supplied outside the EU (Art. 44 EU VAT Directive)","invoice.tax_notes.reverse_charge_tax_registration":"[1] - Reverse charge","invoice.tax_notes.reverse_charge_tax_registration_outside_eu":"Out of scope for EU VAT","invoice.taxes_table_heading":"Taxes","invoice.title":"Details","invoice.totals_table_heading":"Totals","invoice_preview.after_trial_heading":"After trial","invoice_preview.taxes_heading":"Taxes","invoice_preview.taxes_not_determined_by_billing_information_tooltip":"Will be determined by billing information","invoice_preview.total_due_today_heading":"Total due today","invoice_preview.total_excluding_taxes_heading":"Total excluding taxes","invoice_preview.total_including_taxes_heading":"Total including taxes","invoice_preview.total_paid_heading":"Total paid",lWOCGz:Lv,pH6Zg0:Zv,"payment_methods.default_chip.label":"Default","payment_methods.inactive_chip.label":"Inactive","pricing_detail.billing_cycle":"Billing cycle",pricing_item_pricing:Rv,"pricing_item_pricing.flat_top_up":"Flat top up pricing","pricing_item_pricing.none":"Not billed","pricing_item_pricing.pass_through":"Pass through pricing","pricing_item_pricing.per_seat":"Per seat","pricing_item_pricing.stair_step":"Stair step pricing","pricing_item_pricing.tiered":"Tiered pricing","pricing_item_pricing.tiered_top_up":"Tiered top up pricing","pricing_item_pricing.top_tiered":"Top tiered pricing","pricing_item_pricing.unsupported_pricing_error":"Unsupported pricing","promotion.code.expiry":"Never expires","quoteBillingDetails.autoRenewalLabel":"Auto renewal","quoteBillingDetails.billingCurrencyLabel":"Billing currency","quoteBillingDetails.billingCycleLabel":"Billing cycle","quoteBillingDetails.billingCycleValue.notAvailable":"N/A","quoteBillingDetails.initialTermLabel":"Initial term","quoteBillingDetails.no":"No","quoteBillingDetails.paymentTermLabel":"Payment term","quoteBillingDetails.renewalTermLabel":"Renewal term","quoteBillingDetails.yes":"Yes","slashCommandList.emptyState":"No matching commands",spcNSp:Fv,"taxId.invalid":"Invalid tax ID","time_period.day.full":"daily","time_period.day.plural":"days","time_period.day.singular":"day","time_period.month.full":"monthly","time_period.month.plural":"months","time_period.month.singular":"month","time_period.week.full":"weekly","time_period.week.plural":"weeks","time_period.week.singular":"week","time_period.year.full":"yearly","time_period.year.plural":"years","time_period.year.singular":"year","timezone_select.option.inherit_from_platform":"Inherit from platform","ui.CalloutRow.moreActions":"More actions","wB/wXs":"credits","wallet_balance.formatted_credit_unit":"{quantity} {unit}"},Gv=Object.freeze(Object.defineProperty({__proto__:null,N2IrpM:Hv,Vl9vDx:Av,default:Uv,lWOCGz:Lv,pH6Zg0:Zv,pricing_item_pricing:Rv,spcNSp:Fv},Symbol.toStringTag,{value:"Module"})),jv=Object.freeze(Object.defineProperty({__proto__:null,default:{"download_button.download_failed_message":"Download mislukt, probeer later nog een keer","customer_billing_information.billing_address_label":"Factuuradres","customer_billing_information.email_address_label":"E-mailadres","customer_billing_information.name_label":"Naam","customer_billing_information.title":"Facturatiegegevens","customer_billing_information.vat_number_label":"Btw-nummer","customer_overview.billing_information.no_billing_information_available":"Geen facturatiegegevens beschikbaar.","generic.not_available":"N/B","invoice.add_invoice_line":"Factuurregel toevoegen","invoice.adjustment_chip_body":"Aanpassing","invoice.already_deducted_table_heading":"Reeds afgetrokken","invoice.amount_discount":"{amount} korting","invoice.amount_due_table_heading":"Te betalen bedrag","invoice.amount_table_heading":"Bedrag","invoice.commitment_heading":"Verplichting","invoice.commitment":"verplichting","invoice.discounts_table_heading":"Kortingen","invoice.download_pdf_button":"PDF downloaden","invoice.due_on_label":"Vervaldatum {date}","invoice.header.customer_title":"Klant","invoice.header.due_date_title":"Vervaldatum","invoice.header.e_invoice_error":"E-factuur fout","invoice.header.e_invoice_status_title":"E-factuur status","invoice.header.invoice_date_title":"Factuurdatum","invoice.header.invoice_number_title":"Factuurnummer","invoice.header.invoice_type_title":"Factuurtype","invoice.header.multiple_subscriptions_chip_body":"Meerdere abonnementen","invoice.header.original_invoice_title":"Originele factuur","invoice.header.po_number_title":"Inkoopordernummer","invoice.header.subscription_title":"Abonnement","invoice.header.supplier_title":"Leverancier","invoice.line.band_maximum_number":"Maximum aantal","invoice.line.band_minimum_amount":"Minimaal bedrag","invoice.line.band_minimum_number":"Minimum aantal","invoice.line.excl.tax":"Excl. belasting","invoice.line.incl.tax":"Incl. belasting","invoice.line.original_currency":"Oorspronkelijke valuta","invoice.line.included":"inbegrepen","invoice.line.pass_through":"Doorbelast","invoice.line.price_bound_maximum_amount":"Maximum bedrag","invoice.line.price_bound_within_bounds":"Binnen grenzen","invoice.line.units_included":"inbegrepen eenheden","invoice.markup_percentage":"{percentage}% opslag","invoice.markups_table_heading":"Opslagen","invoice.paid_chip":"Betaald","invoice.percentage_discount":"{percentage}% korting","invoice.service_period_heading":"Diensten over periode - {start_at} - {end_at}","invoice.table_header.base amount":"Basisbedrag","invoice.table_header.discount":"Korting","invoice.table_header.markup":"Opslag","invoice.table_header.price_amount":"Prijsbedrag","invoice.table_header.price":"Prijs","invoice.table_header.quantity":"Aantal","invoice.table_header.sub_total":"Subtotaal","invoice.table_header.tax amount":"Belastingbedrag","invoice.table_header.tax type":"Belastingtype","invoice.table_header.tax_percentage":"Percentage","invoice.table_header.tax_rate":"Belastingtarief","invoice.table_header.total_excluding_taxes":"Totaal exclusief belastingen","invoice.table_header.total_including_taxes":"Totaal inclusief belastingen","invoice.table_header.total":"Totaal","invoice.table_header.unit":"Eenheid","invoice.table_heading.commitments":"Verplichtingen","invoice.table_heading.discounts":"Kortingen","invoice.table_heading.markups":"Opslagen","invoice.table_heading.one_offs":"Eenmalige posten","invoice.table_heading.products":"Producten","invoice.tax_notes.local_vat_applied_for_missing_tax_id":"Lokale btw toegepast in plaats van verleggingsregeling omdat het btw-nummer van de klant ontbreekt en dit een intracommunautaire levering is","invoice.tax_notes.reverse_charge_outside_eu":"Geen BTW – Dienst geleverd buiten de EU (art. 44 EU-btw-richtlijn)","invoice.tax_notes.no_charge_provided_outside_eu":"Geen BTW in rekening gebracht – diensten geleverd buiten de EU","invoice.tax_notes.reverse_charge":"Verleggingsregeling - Art. 196 van de btw-richtlijn 2006/112/EG","invoice.tax_notes.reverse_charge_tax_registration":"[1] - Verleggingsregeling","invoice.tax_notes.reverse_charge_tax_registration_outside_eu":"Buiten het toepassingsgebied van de EU-btw-heffing","invoice.tax_notes.not_applicable_article":"Btw niet van toepassing – Artikel 294, lid 1 van het CGI","invoice.taxes_table_heading":"Belastingen","invoice.title":"Details","invoice.totals_table_heading":"Totalen","pricing_detail.billing_cycle":"Billing cycle"}},Symbol.toStringTag,{value:"Module"}));exports.InvoiceTable=nd,exports.PricingPlanSchedules=xv,exports.TableBody=kv,exports.TableHead=wv,exports.TableHeadRow=Cv,exports.TooltipContent=Gc,exports._sfc_main=o,exports._sfc_main$1=i,exports._sfc_main$10=Tm,exports._sfc_main$11=Pi,exports._sfc_main$12=Pu,exports._sfc_main$13=lu,exports._sfc_main$14=Fm,exports._sfc_main$15=Ks,exports._sfc_main$16=E,exports._sfc_main$17=id,exports._sfc_main$18=ad,exports._sfc_main$19=td,exports._sfc_main$2=Fs,exports._sfc_main$20=Ts,exports._sfc_main$21=$s,exports._sfc_main$22=Im,exports._sfc_main$23=m,exports._sfc_main$24=N,exports._sfc_main$25=dc,exports._sfc_main$26=Zc,exports._sfc_main$27=Hm,exports._sfc_main$28=Ic,exports._sfc_main$29=au,exports._sfc_main$3=oo,exports._sfc_main$30=jc,exports._sfc_main$31=uc,exports._sfc_main$32=Np,exports._sfc_main$33=ru,exports._sfc_main$34=du,exports._sfc_main$35=Vp,exports._sfc_main$36=op,exports._sfc_main$37=Zu,exports._sfc_main$38=$m,exports._sfc_main$39=Tp,exports._sfc_main$4=Qn,exports._sfc_main$40=Qs,exports._sfc_main$41=od,exports._sfc_main$42=Tc,exports._sfc_main$43=Ys,exports._sfc_main$5=pa,exports._sfc_main$6=w,exports._sfc_main$7=Bm,exports._sfc_main$8=Vm,exports._sfc_main$9=Sm,exports.convertDateRangeToTimePeriod=Ei,exports.downloadFile=(e,t)=>{const o=window.URL.createObjectURL(e);ja(o,t)},exports.enUS=Gv,exports.formatAmount=La,exports.formatBillingPeriod=Ra,exports.formatEnum=Za,exports.getApiError=function(e){return"field"in e?{[e.field]:e.message}:"message"in e?{_generic:e.message}:void 0},exports.getCountryNameByCode=_i,exports.getCustomerCountry=e=>{var t,o;return hi(e)?null==(t=e.individual.residential_address)?void 0:t.country:fi(e)?null==(o=e.organization.registered_address)?void 0:o.country:void 0},exports.getPaginatedFullList=async e=>{let t=!0,o=1,l=[],n={data:[],links:{current:"",next:void 0},page:o,limit:50};for(;t;)n=await e(o),l=[...l,...n.data],t=!!n.links.next,o+=1;return{...n,data:l}},exports.isApiSuccessCollectionResponse=function(e){return"data"in e&&"links"in e},exports.isEUCountry=function(e){return Object.keys(ec).includes(e)},exports.isEmpty=c,exports.isEqual=d,exports.isIndividual=hi,exports.isOrganization=fi,exports.isValidCountryCode=function(e){return!!Ga.find(t=>t.key===e)},exports.nlNL=jv,exports.objectDiff=({from:e,to:t,mode:o="shallow",nullifyEmptyValues:l=!1})=>"deep"===o?(({from:e,to:t,nullifyEmptyValues:o=!1})=>{const l={},n=(e,t,o)=>{const n=t[o];return void 0===e?Array.isArray(n)?l[o]=[]:ki(n)&&(l[o]={}):Array.isArray(n)?e[o]=[]:ki(n)&&(e[o]={}),[void 0===e?l:e,o]},a=(e,t,l)=>{for(const o of Object.keys(e)){const a=n(l,e,o);o in t||(a[0][a[1]]={from:e[o]})}for(const[i,r]of Object.entries(t)){const t=i in e,c=n(l,e,i);if(t){const t=e[i];s(t,r)?delete c[0][c[1]]:ki(r)&&ki(t)?a(t,r,c[0][c[1]]):c[0][c[1]]=o&&"boolean"!=typeof r?xi(r):r}else c[0][c[1]]=o?xi(r):r}};return a(e,t),l})({from:e,to:t,nullifyEmptyValues:l}):(({from:e,to:t,nullifyEmptyValues:o=!1})=>{const l=Object.fromEntries(Object.entries(t).filter(([t,o])=>!s(o,e[t])));return o?Object.entries(l).reduce((e,[t,o])=>({...e,[t]:xi(o)}),{}):l})({from:e,to:t,nullifyEmptyValues:l}),exports.serializeQueryParams=function(e){const t=function(e){const t=new URLSearchParams;for(const o in e){const l=e[o];null!==l&&(Array.isArray(l)?l.forEach(e=>t.append(`${o}[]`,e)):""!==l&&t.append(o,l))}return t.toString()}(e);return""===t?"":`?${t}`},exports.taxId=Ov,exports.uniqueId=oc,exports.useErrorHandling=bo,exports.useIntl=Gn,exports.usePricingItem=Fa,exports.useTimePeriod=Da,exports.useToggleList=fa,exports.useValidation=function(e,t,o){return e&&t?qa(e,t,{$autoDirty:!0,...o}):qa({$autoDirty:!0,...e})},exports.withExpand=function({initialParams:e={},expandParams:t,expand:o=!0}){return o?{...e,expand:t}:e},exports.withPagination=function(e,{page:t=1,pageSize:o,orderBy:l,orderDirection:n}){const a={...e??{},page:t.toString()};return o&&Object.assign(a,{limit:o}),l&&Object.assign(a,{order_by:l}),n&&Object.assign(a,{order_direction:n}),a};
|
|
1
|
+
const e=require("vue"),t=e=>{if(e.tag)return e.tag;switch(e.variant){case"heading-1":return"h1";case"heading-2":return"h2";case"heading-3":return"h3";default:return"p"}},o=e.defineComponent({__name:"Typography",props:{id:{},tag:{},variant:{default:"body"},noSpacing:{type:Boolean,default:!1},center:{type:Boolean,default:!1},mono:{type:Boolean,default:!1},shade:{},weight:{}},setup(o,{expose:l}){const n=o,a=e.computed(()=>t(n)),i=e.computed(()=>(e=>{switch(e.variant){case"heading-1":return"text-2xl";case"heading-2":case"body-lg":return"text-lg";case"heading-3":return"text-md";case"body-xs":return"text-xs";case"body-sm":return"text-sm";case"caps-heading":return"inline-block text-2xs uppercase font-bold";case"label":return"block text-sm font-medium";default:return""}})(n)),r=e.computed(()=>(e=>{if(e.noSpacing)return"";if("p"===t(e))switch(e.variant){case"body-sm":return"my-1";case"body":case"body-lg":return"my-2";default:return""}return""})(n)),c=e.computed(()=>(e=>{if(e.weight)switch(e.weight){case"bold":return"font-bold";case"semibold":return"font-semibold";default:return"font-normal"}return e.variant&&["heading-1","heading-2","heading-3"].includes(e.variant)?"font-semibold":""})(n)),s=e.computed(()=>(e=>{if("caps-heading"===e.variant)return"text-gray-600";if("label"===e.variant)return"text-gray-600";switch(e.shade){case"light":return"text-gray-700";case"lighter":return"text-gray-500";case"lightest":return"text-gray-300";default:return"text-inherit"}})(n)),d=e.computed(()=>n.center?"text-center":""),u=e.ref(null);return l({el:u}),(t,l)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(a.value),e.mergeProps(t.$attrs,{id:o.id,ref_key:"el",ref:u,class:[i.value,r.value,d.value,c.value,s.value,o.mono?"font-mono":void 0].join(" ")}),{default:e.withCtx(()=>[e.renderSlot(t.$slots,"default")]),_:3},16,["id","class"]))}}),l={class:"flex gap-4 items-center"},n={key:1},a=e.defineComponent({__name:"SectionTitle",setup:t=>(t,a)=>(e.openBlock(),e.createElementBlock("div",l,[t.$slots.default?(e.openBlock(),e.createBlock(e.unref(o),{key:0,tag:"h2",variant:"heading-3",class:"grow"},{default:e.withCtx(()=>[e.renderSlot(t.$slots,"default")]),_:3})):e.createCommentVNode("",!0),t.$slots.right?(e.openBlock(),e.createElementBlock("div",n,[e.renderSlot(t.$slots,"right")])):e.createCommentVNode("",!0)]))}),i=e.defineComponent({__name:"Section",props:{contentClasses:{},contentBackground:{default:"gray"},title:{},noSpacing:{type:Boolean},hasError:{type:Boolean},noBorder:{type:Boolean,default:!1}},setup:t=>(o,l)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.title?"section":"div"),null,{default:e.withCtx(()=>[e.createVNode(a,null,e.createSlots({_:2},[t.title?{name:"default",fn:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.title),1)]),key:"0"}:void 0,o.$slots.right?{name:"right",fn:e.withCtx(()=>[e.renderSlot(o.$slots,"right")]),key:"1"}:void 0]),1024),e.createElementVNode("div",{class:e.normalizeClass({"rounded border":!t.noBorder,"p-3 py-2":!t.noSpacing,"bg-gray-50/50":"gray"===t.contentBackground,"mt-1 md:mt-2":!!t.title,[t.contentClasses??""]:!!t.contentClasses,"border-red-600":t.hasError,"border-gray-100":!t.hasError})},[e.renderSlot(o.$slots,"default")],2)]),_:3}))}),r=e=>e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'");function c(e){return null==e||("string"==typeof e||Array.isArray(e)?0===e.length:e instanceof Map||e instanceof Set?0===e.size:"object"!=typeof e||0===Object.keys(e).length)}function s(e,t){if(e===t)return!0;if(null==e||null==t)return!1;if("object"!=typeof e||"object"!=typeof t)return!1;if(Array.isArray(e)!==Array.isArray(t))return!1;const o=Object.keys(e),l=Object.keys(t);return o.length===l.length&&o.every(o=>s(e[o],t[o]))}const d=s,u=["innerHTML"],p=e.defineComponent({__name:"TextWithHighlights",props:{text:{},search:{default:""},highlighClasses:{default:"text-primary-600 font-bold underline"}},setup(t){const o=t,l=e.computed(()=>{const e=r(o.text),t=[{type:"text",value:e}];if(""===o.search)return t;const l=new RegExp(o.search.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),"gi");const n=[...e.matchAll(l)];if(c(n))return t;const a=[];return n.forEach((t,l)=>{void 0!==t.index&&(0===l&&(a.push({type:"text",value:e.substring(0,t.index)}),a.push({type:"highlight",value:e.substring(t.index,t.index+o.search.length)})),l>0&&l<n.length-1&&n[l-1].index&&(a.push({type:"text",value:e.substring(n[l-1].index??0+o.search.length,t.index)}),a.push({type:"highlight",value:e.substring(t.index,t.index+o.search.length)})),l===n.length-1&&t.index+o.search.length<e.length&&a.push({type:"text",value:e.substring(t.index+o.search.length,e.length)}))}),a});return(o,n)=>(e.openBlock(),e.createElementBlock("span",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.value,({type:o,value:l},n)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:n},["text"===o?(e.openBlock(),e.createElementBlock("span",{key:0,innerHTML:l},null,8,u)):e.createCommentVNode("",!0),"highlight"===o?(e.openBlock(),e.createElementBlock("span",{key:1,class:e.normalizeClass(t.highlighClasses)},e.toDisplayString(l),3)):e.createCommentVNode("",!0)],64))),128))]))}}),m=e.defineComponent({__name:"FormMessage",props:{message:{},variant:{default:"error"},capitalizeFirstLetter:{type:Boolean,default:!0}},setup(t){const o=t,l=e.computed(()=>{let e="text-xs";return"default"===o.variant&&(e+=" text-slate-400"),"error"===o.variant&&(e+=" text-red-600"),"warning"===o.variant&&(e+=" text-yellow-600"),o.capitalizeFirstLetter&&(e+=" first-letter:capitalize"),e});return(o,n)=>"object"!=typeof t.message||"value"in t.message?t.message||o.$slots.default?(e.openBlock(),e.createElementBlock("p",{key:1,class:e.normalizeClass(l.value)},[e.renderSlot(o.$slots,"default",{},()=>[e.createTextVNode(e.toDisplayString(t.message),1)])],2)):e.createCommentVNode("",!0):(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(t.message,({$uid:t,$message:o})=>(e.openBlock(),e.createElementBlock("p",{key:t,class:e.normalizeClass(l.value)},e.toDisplayString(o),3))),128))}}),f=e.defineComponent({__name:"FullClickableBlock",props:{tag:{default:"div"}},setup:t=>(o,l)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.tag),{class:"relative"},{default:e.withCtx(()=>[e.renderSlot(o.$slots,"default")]),_:3}))}),h=(e,t)=>{const o=e.__vccOpts||e;for(const[l,n]of t)o[l]=n;return o},v={class:"after:absolute after:inset-0 appearance-none"};const g=h({},[["render",function(t,o){return e.openBlock(),e.createElementBlock("button",v,[e.renderSlot(t.$slots,"default")])}]]),y={key:0},b={key:1},x=e.defineComponent({__name:"ListGroupItem",props:{disabled:{type:Boolean,default:!1},onClick:{},dataTestid:{},variant:{}},setup:t=>(l,n)=>(e.openBlock(),e.createBlock(e.unref(f),{tag:"li",class:e.normalizeClass(["w-full px-4 py-2 border-b border-gray-200 transition-colors",{block:!t.disabled&&t.onClick,"hover:bg-gray-50 hover:text-gray-900 focus-within:bg-gray-50 focus-within:text-gray-900":!t.disabled&&t.onClick&&"danger"!==t.variant,"hover:bg-red-50 text-red-700 focus-within:bg-red-50 focus-within:text-red-700":!t.disabled&&t.onClick&&"danger"===t.variant,"bg-gray-50 text-gray-400 cursor-not-allowed":t.disabled}]),onClick:n[1]||(n[1]=e.withModifiers(()=>{},["stop"]))},{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.onClick?e.unref(g):"span"),{class:"flex items-start w-full gap-2 focus:outline-none active:outline-none text-left",disabled:t.onClick?t.disabled:void 0,type:t.onClick?"button":void 0,"data-testid":t.dataTestid,onClick:n[0]||(n[0]=e=>{var o;return null==(o=t.onClick)?void 0:o.call(t)})},{default:e.withCtx(()=>[l.$slots.prefix?(e.openBlock(),e.createElementBlock("div",y,[e.renderSlot(l.$slots,"prefix")])):e.createCommentVNode("",!0),e.renderSlot(l.$slots,"default"),l.$slots.suffix?(e.openBlock(),e.createElementBlock("div",b,[e.renderSlot(l.$slots,"suffix")])):e.createCommentVNode("",!0)]),_:3},8,["disabled","type","data-testid"])),l.$slots.description?(e.openBlock(),e.createBlock(e.unref(o),{key:0,tag:"span",variant:"body-xs",class:"mt-0.5 font-normal",shade:t.disabled?"lightest":"lighter"},{default:e.withCtx(()=>[e.renderSlot(l.$slots,"description")]),_:3},8,["shade"])):e.createCommentVNode("",!0)]),_:3},8,["class"]))}),k={class:"w-full h-full",xmlns:"http://www.w3.org/2000/svg",viewbox:"0 0 48 48"},_=["xlink:href"],w=e.defineComponent({__name:"Icon",props:{icon:{},size:{default:"sm"},variant:{default:"default"}},setup(t){const o={"2xs":"w-[14px] h-[14px]",xs:"w-[16px] h-[16px]",sm:"w-[20px] h-[20px]",base:"w-[22px] h-[22px]",md:"w-[24px] h-[24px]",lg:"w-[32px] h-[32px]",xl:"w-[48px] h-[48px]"};return(l,n)=>(e.openBlock(),e.createElementBlock("span",{class:e.normalizeClass(["inline-flex items-center justify-center leading-none align-middle icon",[o[t.size],{"rounded selection:drop-shadow-sm border bg-gray-50":"contained"===t.variant}]])},[(e.openBlock(),e.createElementBlock("svg",k,[e.createElementVNode("use",{"xlink:href":`#${t.icon}`},null,8,_)]))],2))}}),B=e.defineComponent({__name:"ContextMenuItem",props:{icon:{},label:{},description:{},labelSuffixComponent:{},labelPrefixComponent:{},onClick:{type:Function},classes:{},variant:{},testId:{},disabled:{type:Boolean}},setup:t=>(o,l)=>(e.openBlock(),e.createBlock(e.unref(x),{class:e.normalizeClass(["border-none",{[`${t.classes}`]:!!t.classes}]),"data-testid":t.testId,disabled:t.disabled,variant:t.variant,onClick:t.onClick},e.createSlots({default:e.withCtx(()=>[t.labelPrefixComponent?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.labelPrefixComponent.component),e.normalizeProps(e.mergeProps({key:0},t.labelPrefixComponent.props)),null,16)):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(t.label),1),t.labelSuffixComponent?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.labelSuffixComponent.component),e.mergeProps({key:1},t.labelSuffixComponent.props,{class:"ml-2"}),null,16)):e.createCommentVNode("",!0)]),_:2},[t.icon?{name:"prefix",fn:e.withCtx(()=>[e.createVNode(e.unref(w),{icon:t.icon},null,8,["icon"])]),key:"0"}:void 0,t.description?{name:"description",fn:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.description),1)]),key:"1"}:void 0]),1032,["class","data-testid","disabled","variant","onClick"]))}),C="relative translate-y-1/2 top-1/2 border-t border-gray-100",E=e.defineComponent({__name:"DividerText",props:{spacing:{default:"none"},textPosition:{default:"left"},hasOuterDivider:{type:Boolean,default:!1},text:{}},setup(t){const l=t,{leftDividerClasses:n,rightDividerClasses:a}=(t=>({leftDividerClasses:e.computed(()=>{let e=`${C}`;return t.hasOuterDivider&&"left"===t.textPosition?e+=" w-2":e+=" grow",e}),rightDividerClasses:e.computed(()=>{let e=`${C}`;return t.hasOuterDivider&&"right"===t.textPosition?e+=" w-2":e+=" grow",e})}))(l);return(l,i)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["flex gap-2",{"my-2":"xs"===t.spacing,"my-4":"sm"===t.spacing,"my-6":"md"===t.spacing,"my-8":"lg"===t.spacing,"my-10":"xl"===t.spacing}])},["left"===t.textPosition&&t.hasOuterDivider||["center","right"].includes(t.textPosition)?(e.openBlock(),e.createElementBlock("span",{key:0,class:e.normalizeClass(e.unref(n))},null,2)):e.createCommentVNode("",!0),e.renderSlot(l.$slots,"default",{},()=>[e.createVNode(e.unref(o),{tag:"span","no-spacing":"",variant:"caps-heading"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.text),1)]),_:1})]),"right"===t.textPosition&&t.hasOuterDivider||["center","left"].includes(t.textPosition)?(e.openBlock(),e.createElementBlock("span",{key:1,class:e.normalizeClass(e.unref(a))},null,2)):e.createCommentVNode("",!0)],2))}}),N=e.defineComponent({__name:"Divider",props:{spacing:{default:"md"}},setup:t=>(o,l)=>(e.openBlock(),e.createElementBlock("hr",{class:e.normalizeClass({"my-1":"xxs"===t.spacing,"my-2":"xs"===t.spacing,"my-4":"sm"===t.spacing,"my-6":"md"===t.spacing,"my-8":"lg"===t.spacing,"my-10":"xl"===t.spacing})},null,2))}),T=e.defineComponent({__name:"ContextMenuGroup",props:{label:{},items:{}},setup:t=>(l,n)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createVNode(e.unref(E),{"has-outer-divider":""},{default:e.withCtx(()=>[e.createVNode(e.unref(o),{class:"py-2",variant:"caps-heading"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.label),1)]),_:1})]),_:1}),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.items,(t,o)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:o},["divider"===t?(e.openBlock(),e.createBlock(e.unref(N),{key:0})):t.label?(e.openBlock(),e.createBlock(B,{key:1,label:t.label,"on-click":t.onClick,icon:t.icon,variant:t.variant,classes:t.classes,"label-suffix-component":t.labelSuffixComponent,"label-prefix-component":t.labelPrefixComponent},null,8,["label","on-click","icon","variant","classes","label-suffix-component","label-prefix-component"])):e.createCommentVNode("",!0)],64))),128))],64))});const M=h({},[["render",function(t,o){return e.openBlock(),e.createBlock(e.TransitionGroup,{"enter-active-class":"duration-100 ease-out transform-gpu","enter-from-class":"opacity-0","enter-to-class":"opacity-100","leave-active-class":"duration-100 ease-in transform-gpu","leave-from-class":"opacity-100","leave-to-class":"opacity-0"},{default:e.withCtx(()=>[e.renderSlot(t.$slots,"default")]),_:3})}]]);var V;const S="undefined"!=typeof window,z=()=>{},P=S&&(null==(V=null==window?void 0:window.navigator)?void 0:V.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent);function q(t){return"function"==typeof t?t():e.unref(t)}function D(t){return!!e.getCurrentScope()&&(e.onScopeDispose(t),!0)}function I(e){var t;const o=q(e);return null!=(t=null==o?void 0:o.$el)?t:o}const $=S?window:void 0;function O(...t){let o,l,n,a;if("string"==typeof t[0]||Array.isArray(t[0])?([l,n,a]=t,o=$):[o,l,n,a]=t,!o)return z;Array.isArray(l)||(l=[l]),Array.isArray(n)||(n=[n]);const i=[],r=()=>{i.forEach(e=>e()),i.length=0},c=e.watch(()=>[I(o),q(a)],([e,t])=>{r(),e&&i.push(...l.flatMap(o=>n.map(l=>((e,t,o,l)=>(e.addEventListener(t,o,l),()=>e.removeEventListener(t,o,l)))(e,o,l,t))))},{immediate:!0,flush:"post"}),s=()=>{c(),r()};return D(s),s}let H=!1;function A(...e){let t,o,l={};3===e.length?(t=e[0],o=e[1],l=e[2]):2===e.length?"object"==typeof e[1]?(t=!0,o=e[0],l=e[1]):(t=e[0],o=e[1]):(t=!0,o=e[0]);const{target:n=$,eventName:a="keydown",passive:i=!1}=l,r="function"==typeof(c=t)?c:"string"==typeof c?e=>e.key===c:Array.isArray(c)?e=>c.includes(e.key):()=>!0;var c;return O(n,a,e=>{r(e)&&o(e)},i)}function L(t,o=!1){const l=e.ref(),n=()=>l.value=Boolean(t());return n(),function(t,o=!0){e.getCurrentInstance()?e.onMounted(t):o?t():e.nextTick(t)}(n,o),l}function Z(t,o={}){const{window:l=$}=o,n=L(()=>l&&"matchMedia"in l&&"function"==typeof l.matchMedia);let a;const i=e.ref(!1),r=()=>{a&&("removeEventListener"in a?a.removeEventListener("change",c):a.removeListener(c))},c=()=>{var o;n.value&&(r(),a=l.matchMedia((o=t,"function"==typeof o?e.computed(o):e.ref(o)).value),i.value=a.matches,"addEventListener"in a?a.addEventListener("change",c):a.addListener(c))};return e.watchEffect(c),D(()=>r()),i}const R={sm:640,md:768,lg:1024,xl:1280,"2xl":1536};var F=Object.defineProperty,U=Object.getOwnPropertySymbols,G=Object.prototype.hasOwnProperty,j=Object.prototype.propertyIsEnumerable,Q=(e,t,o)=>t in e?F(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o;function K(e,t={}){function o(t,o){let l=e[t];return null!=o&&(l=function(e,t){var o;if("number"==typeof e)return e+t;const l=(null==(o=e.match(/^-?[0-9]+\.?[0-9]*/))?void 0:o[0])||"",n=e.slice(l.length),a=parseFloat(l)+t;return Number.isNaN(a)?e:a+n}(l,o)),"number"==typeof l&&(l=`${l}px`),l}const{window:l=$}=t;function n(e){return!!l&&l.matchMedia(e).matches}const a=e=>Z(`(min-width: ${o(e)})`,t),i=Object.keys(e).reduce((e,t)=>(Object.defineProperty(e,t,{get:()=>a(t),enumerable:!0,configurable:!0}),e),{});return((e,t)=>{for(var o in t||(t={}))G.call(t,o)&&Q(e,o,t[o]);if(U)for(var o of U(t))j.call(t,o)&&Q(e,o,t[o]);return e})({greater:e=>Z(`(min-width: ${o(e,.1)})`,t),greaterOrEqual:a,smaller:e=>Z(`(max-width: ${o(e,-.1)})`,t),smallerOrEqual:e=>Z(`(max-width: ${o(e)})`,t),between:(e,l)=>Z(`(min-width: ${o(e)}) and (max-width: ${o(l,-.1)})`,t),isGreater:e=>n(`(min-width: ${o(e,.1)})`),isGreaterOrEqual:e=>n(`(min-width: ${o(e)})`),isSmaller:e=>n(`(max-width: ${o(e,-.1)})`),isSmallerOrEqual:e=>n(`(max-width: ${o(e)})`),isInBetween:(e,t)=>n(`(min-width: ${o(e)}) and (max-width: ${o(t,-.1)})`)},i)}const W="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},Y="__vueuse_ssr_handlers__";W[Y]=W[Y]||{};var X,J,ee=Object.getOwnPropertySymbols,te=Object.prototype.hasOwnProperty,oe=Object.prototype.propertyIsEnumerable;function le(t,o,l={}){const n=l,{window:a=$}=n,i=((e,t)=>{var o={};for(var l in e)te.call(e,l)&&t.indexOf(l)<0&&(o[l]=e[l]);if(null!=e&&ee)for(var l of ee(e))t.indexOf(l)<0&&oe.call(e,l)&&(o[l]=e[l]);return o})(n,["window"]);let r;const c=L(()=>a&&"ResizeObserver"in a),s=()=>{r&&(r.disconnect(),r=void 0)},d=e.watch(()=>I(t),e=>{s(),c.value&&a&&e&&(r=new ResizeObserver(o),r.observe(e,i))},{immediate:!0,flush:"post"}),u=()=>{s(),d()};return D(u),{isSupported:c,stop:u}}function ne(t,o={width:0,height:0},l={}){const{window:n=$,box:a="content-box"}=l,i=e.computed(()=>{var e,o;return null==(o=null==(e=I(t))?void 0:e.namespaceURI)?void 0:o.includes("svg")}),r=e.ref(o.width),c=e.ref(o.height);return le(t,([e])=>{const o="border-box"===a?e.borderBoxSize:"content-box"===a?e.contentBoxSize:e.devicePixelContentBoxSize;if(n&&i.value){const e=I(t);if(e){const t=n.getComputedStyle(e);r.value=parseFloat(t.width),c.value=parseFloat(t.height)}}else if(o){const e=Array.isArray(o)?o:[o];r.value=e.reduce((e,{inlineSize:t})=>e+t,0),c.value=e.reduce((e,{blockSize:t})=>e+t,0)}else r.value=e.contentRect.width,c.value=e.contentRect.height},l),e.watch(()=>I(t),e=>{r.value=e?o.width:0,c.value=e?o.height:0}),{width:r,height:c}}(J=X||(X={})).UP="UP",J.RIGHT="RIGHT",J.DOWN="DOWN",J.LEFT="LEFT",J.NONE="NONE";var ae=Object.defineProperty,ie=Object.getOwnPropertySymbols,re=Object.prototype.hasOwnProperty,ce=Object.prototype.propertyIsEnumerable,se=(e,t,o)=>t in e?ae(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o;function de(t,o,l,n={}){var a,i,r;const{clone:c=!1,passive:s=!1,eventName:d,deep:u=!1,defaultValue:p}=n,m=e.getCurrentInstance(),f=l||(null==m?void 0:m.emit)||(null==(a=null==m?void 0:m.$emit)?void 0:a.bind(m))||(null==(r=null==(i=null==m?void 0:m.proxy)?void 0:i.$emit)?void 0:r.bind(null==m?void 0:m.proxy));let h=d;o||(o="modelValue"),h=d||h||`update:${o.toString()}`;const v=e=>{return c?(e=>"function"==typeof e)(c)?c(e):(t=e,JSON.parse(JSON.stringify(t))):e;var t},g=()=>void 0!==t[o]?v(t[o]):p;if(s){const l=g(),n=e.ref(l);return e.watch(()=>t[o],e=>n.value=v(e)),e.watch(n,e=>{(e!==t[o]||u)&&f(h,e)},{deep:u}),n}return e.computed({get:()=>g(),set(e){f(h,e)}})}((e,t)=>{for(var o in t||(t={}))re.call(t,o)&&se(e,o,t[o]);if(ie)for(var o of ie(t))ce.call(t,o)&&se(e,o,t[o])})({linear:function(e){return e}},{easeInSine:[.12,0,.39,0],easeOutSine:[.61,1,.88,1],easeInOutSine:[.37,0,.63,1],easeInQuad:[.11,0,.5,0],easeOutQuad:[.5,1,.89,1],easeInOutQuad:[.45,0,.55,1],easeInCubic:[.32,0,.67,0],easeOutCubic:[.33,1,.68,1],easeInOutCubic:[.65,0,.35,1],easeInQuart:[.5,0,.75,0],easeOutQuart:[.25,1,.5,1],easeInOutQuart:[.76,0,.24,1],easeInQuint:[.64,0,.78,0],easeOutQuint:[.22,1,.36,1],easeInOutQuint:[.83,0,.17,1],easeInExpo:[.7,0,.84,0],easeOutExpo:[.16,1,.3,1],easeInOutExpo:[.87,0,.13,1],easeInCirc:[.55,0,1,.45],easeOutCirc:[0,.55,.45,1],easeInOutCirc:[.85,0,.15,1],easeInBack:[.36,0,.66,-.56],easeOutBack:[.34,1.56,.64,1],easeInOutBack:[.68,-.6,.32,1.6]});const ue=Math.min,pe=Math.max,me=Math.round,fe=Math.floor,he=e=>({x:e,y:e}),ve={left:"right",right:"left",bottom:"top",top:"bottom"},ge={start:"end",end:"start"};function ye(e,t){return"function"==typeof e?e(t):e}function be(e){return e.split("-")[0]}function xe(e){return e.split("-")[1]}function ke(e){return"y"===e?"height":"width"}const _e=new Set(["top","bottom"]);function we(e){return _e.has(be(e))?"y":"x"}function Be(e){return"x"===we(e)?"y":"x"}function Ce(e){return e.replace(/start|end/g,e=>ge[e])}const Ee=["left","right"],Ne=["right","left"],Te=["top","bottom"],Me=["bottom","top"];function Ve(e,t,o,l){const n=xe(e);let a=function(e,t,o){switch(e){case"top":case"bottom":return o?t?Ne:Ee:t?Ee:Ne;case"left":case"right":return t?Te:Me;default:return[]}}(be(e),"start"===o,l);return n&&(a=a.map(e=>e+"-"+n),t&&(a=a.concat(a.map(Ce)))),a}function Se(e){return e.replace(/left|right|bottom|top/g,e=>ve[e])}function ze(e){const{x:t,y:o,width:l,height:n}=e;return{width:l,height:n,top:o,left:t,right:t+l,bottom:o+n,x:t,y:o}}function Pe(e,t,o){let{reference:l,floating:n}=e;const a=we(t),i=Be(t),r=ke(i),c=be(t),s="y"===a,d=l.x+l.width/2-n.width/2,u=l.y+l.height/2-n.height/2,p=l[r]/2-n[r]/2;let m;switch(c){case"top":m={x:d,y:l.y-n.height};break;case"bottom":m={x:d,y:l.y+l.height};break;case"right":m={x:l.x+l.width,y:u};break;case"left":m={x:l.x-n.width,y:u};break;default:m={x:l.x,y:l.y}}switch(xe(t)){case"start":m[i]-=p*(o&&s?-1:1);break;case"end":m[i]+=p*(o&&s?-1:1)}return m}async function qe(e,t){var o;void 0===t&&(t={});const{x:l,y:n,platform:a,rects:i,elements:r,strategy:c}=e,{boundary:s="clippingAncestors",rootBoundary:d="viewport",elementContext:u="floating",altBoundary:p=!1,padding:m=0}=ye(t,e),f=function(e){return"number"!=typeof e?function(e){return{top:0,right:0,bottom:0,left:0,...e}}(e):{top:e,right:e,bottom:e,left:e}}(m),h=r[p?"floating"===u?"reference":"floating":u],v=ze(await a.getClippingRect({element:null==(o=await(null==a.isElement?void 0:a.isElement(h)))||o?h:h.contextElement||await(null==a.getDocumentElement?void 0:a.getDocumentElement(r.floating)),boundary:s,rootBoundary:d,strategy:c})),g="floating"===u?{x:l,y:n,width:i.floating.width,height:i.floating.height}:i.reference,y=await(null==a.getOffsetParent?void 0:a.getOffsetParent(r.floating)),b=await(null==a.isElement?void 0:a.isElement(y))&&await(null==a.getScale?void 0:a.getScale(y))||{x:1,y:1},x=ze(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({elements:r,rect:g,offsetParent:y,strategy:c}):g);return{top:(v.top-x.top+f.top)/b.y,bottom:(x.bottom-v.bottom+f.bottom)/b.y,left:(v.left-x.left+f.left)/b.x,right:(x.right-v.right+f.right)/b.x}}const De=new Set(["left","top"]);function Ie(){return"undefined"!=typeof window}function $e(e){return Ae(e)?(e.nodeName||"").toLowerCase():"#document"}function Oe(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function He(e){var t;return null==(t=(Ae(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function Ae(e){return!!Ie()&&(e instanceof Node||e instanceof Oe(e).Node)}function Le(e){return!!Ie()&&(e instanceof Element||e instanceof Oe(e).Element)}function Ze(e){return!!Ie()&&(e instanceof HTMLElement||e instanceof Oe(e).HTMLElement)}function Re(e){return!(!Ie()||"undefined"==typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof Oe(e).ShadowRoot)}const Fe=new Set(["inline","contents"]);function Ue(e){const{overflow:t,overflowX:o,overflowY:l,display:n}=lt(e);return/auto|scroll|overlay|hidden|clip/.test(t+l+o)&&!Fe.has(n)}const Ge=new Set(["table","td","th"]);function je(e){return Ge.has($e(e))}const Qe=[":popover-open",":modal"];function Ke(e){return Qe.some(t=>{try{return e.matches(t)}catch(o){return!1}})}const We=["transform","translate","scale","rotate","perspective"],Ye=["transform","translate","scale","rotate","perspective","filter"],Xe=["paint","layout","strict","content"];function Je(e){const t=et(),o=Le(e)?lt(e):e;return We.some(e=>!!o[e]&&"none"!==o[e])||!!o.containerType&&"normal"!==o.containerType||!t&&!!o.backdropFilter&&"none"!==o.backdropFilter||!t&&!!o.filter&&"none"!==o.filter||Ye.some(e=>(o.willChange||"").includes(e))||Xe.some(e=>(o.contain||"").includes(e))}function et(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}const tt=new Set(["html","body","#document"]);function ot(e){return tt.has($e(e))}function lt(e){return Oe(e).getComputedStyle(e)}function nt(e){return Le(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function at(e){if("html"===$e(e))return e;const t=e.assignedSlot||e.parentNode||Re(e)&&e.host||He(e);return Re(t)?t.host:t}function it(e){const t=at(e);return ot(t)?e.ownerDocument?e.ownerDocument.body:e.body:Ze(t)&&Ue(t)?t:it(t)}function rt(e,t,o){var l;void 0===t&&(t=[]),void 0===o&&(o=!0);const n=it(e),a=n===(null==(l=e.ownerDocument)?void 0:l.body),i=Oe(n);if(a){const e=ct(i);return t.concat(i,i.visualViewport||[],Ue(n)?n:[],e&&o?rt(e):[])}return t.concat(n,rt(n,[],o))}function ct(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function st(e){const t=lt(e);let o=parseFloat(t.width)||0,l=parseFloat(t.height)||0;const n=Ze(e),a=n?e.offsetWidth:o,i=n?e.offsetHeight:l,r=me(o)!==a||me(l)!==i;return r&&(o=a,l=i),{width:o,height:l,$:r}}function dt(e){return Le(e)?e:e.contextElement}function ut(e){const t=dt(e);if(!Ze(t))return he(1);const o=t.getBoundingClientRect(),{width:l,height:n,$:a}=st(t);let i=(a?me(o.width):o.width)/l,r=(a?me(o.height):o.height)/n;return i&&Number.isFinite(i)||(i=1),r&&Number.isFinite(r)||(r=1),{x:i,y:r}}const pt=he(0);function mt(e){const t=Oe(e);return et()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:pt}function ft(e,t,o,l){void 0===t&&(t=!1),void 0===o&&(o=!1);const n=e.getBoundingClientRect(),a=dt(e);let i=he(1);t&&(l?Le(l)&&(i=ut(l)):i=ut(e));const r=function(e,t,o){return void 0===t&&(t=!1),!(!o||t&&o!==Oe(e))&&t}(a,o,l)?mt(a):he(0);let c=(n.left+r.x)/i.x,s=(n.top+r.y)/i.y,d=n.width/i.x,u=n.height/i.y;if(a){const e=Oe(a),t=l&&Le(l)?Oe(l):l;let o=e,n=ct(o);for(;n&&l&&t!==o;){const e=ut(n),t=n.getBoundingClientRect(),l=lt(n),a=t.left+(n.clientLeft+parseFloat(l.paddingLeft))*e.x,i=t.top+(n.clientTop+parseFloat(l.paddingTop))*e.y;c*=e.x,s*=e.y,d*=e.x,u*=e.y,c+=a,s+=i,o=Oe(n),n=ct(o)}}return ze({width:d,height:u,x:c,y:s})}function ht(e,t){const o=nt(e).scrollLeft;return t?t.left+o:ft(He(e)).left+o}function vt(e,t){const o=e.getBoundingClientRect();return{x:o.left+t.scrollLeft-ht(e,o),y:o.top+t.scrollTop}}const gt=new Set(["absolute","fixed"]);function yt(e,t,o){let l;if("viewport"===t)l=function(e,t){const o=Oe(e),l=He(e),n=o.visualViewport;let a=l.clientWidth,i=l.clientHeight,r=0,c=0;if(n){a=n.width,i=n.height;const e=et();(!e||e&&"fixed"===t)&&(r=n.offsetLeft,c=n.offsetTop)}const s=ht(l);if(s<=0){const e=l.ownerDocument,t=e.body,o=getComputedStyle(t),n="CSS1Compat"===e.compatMode&&parseFloat(o.marginLeft)+parseFloat(o.marginRight)||0,i=Math.abs(l.clientWidth-t.clientWidth-n);i<=25&&(a-=i)}else s<=25&&(a+=s);return{width:a,height:i,x:r,y:c}}(e,o);else if("document"===t)l=function(e){const t=He(e),o=nt(e),l=e.ownerDocument.body,n=pe(t.scrollWidth,t.clientWidth,l.scrollWidth,l.clientWidth),a=pe(t.scrollHeight,t.clientHeight,l.scrollHeight,l.clientHeight);let i=-o.scrollLeft+ht(e);const r=-o.scrollTop;return"rtl"===lt(l).direction&&(i+=pe(t.clientWidth,l.clientWidth)-n),{width:n,height:a,x:i,y:r}}(He(e));else if(Le(t))l=function(e,t){const o=ft(e,!0,"fixed"===t),l=o.top+e.clientTop,n=o.left+e.clientLeft,a=Ze(e)?ut(e):he(1);return{width:e.clientWidth*a.x,height:e.clientHeight*a.y,x:n*a.x,y:l*a.y}}(t,o);else{const o=mt(e);l={x:t.x-o.x,y:t.y-o.y,width:t.width,height:t.height}}return ze(l)}function bt(e,t){const o=at(e);return!(o===t||!Le(o)||ot(o))&&("fixed"===lt(o).position||bt(o,t))}function xt(e,t,o){const l=Ze(t),n=He(t),a="fixed"===o,i=ft(e,!0,a,t);let r={scrollLeft:0,scrollTop:0};const c=he(0);function s(){c.x=ht(n)}if(l||!l&&!a)if(("body"!==$e(t)||Ue(n))&&(r=nt(t)),l){const e=ft(t,!0,a,t);c.x=e.x+t.clientLeft,c.y=e.y+t.clientTop}else n&&s();a&&!l&&n&&s();const d=!n||l||a?he(0):vt(n,r);return{x:i.left+r.scrollLeft-c.x-d.x,y:i.top+r.scrollTop-c.y-d.y,width:i.width,height:i.height}}function kt(e){return"static"===lt(e).position}function _t(e,t){if(!Ze(e)||"fixed"===lt(e).position)return null;if(t)return t(e);let o=e.offsetParent;return He(e)===o&&(o=o.ownerDocument.body),o}function wt(e,t){const o=Oe(e);if(Ke(e))return o;if(!Ze(e)){let t=at(e);for(;t&&!ot(t);){if(Le(t)&&!kt(t))return t;t=at(t)}return o}let l=_t(e,t);for(;l&&je(l)&&kt(l);)l=_t(l,t);return l&&ot(l)&&kt(l)&&!Je(l)?o:l||function(e){let t=at(e);for(;Ze(t)&&!ot(t);){if(Je(t))return t;if(Ke(t))return null;t=at(t)}return null}(e)||o}const Bt={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:o,offsetParent:l,strategy:n}=e;const a="fixed"===n,i=He(l),r=!!t&&Ke(t.floating);if(l===i||r&&a)return o;let c={scrollLeft:0,scrollTop:0},s=he(1);const d=he(0),u=Ze(l);if((u||!u&&!a)&&(("body"!==$e(l)||Ue(i))&&(c=nt(l)),Ze(l))){const e=ft(l);s=ut(l),d.x=e.x+l.clientLeft,d.y=e.y+l.clientTop}const p=!i||u||a?he(0):vt(i,c);return{width:o.width*s.x,height:o.height*s.y,x:o.x*s.x-c.scrollLeft*s.x+d.x+p.x,y:o.y*s.y-c.scrollTop*s.y+d.y+p.y}},getDocumentElement:He,getClippingRect:function(e){let{element:t,boundary:o,rootBoundary:l,strategy:n}=e;const a=[..."clippingAncestors"===o?Ke(t)?[]:function(e,t){const o=t.get(e);if(o)return o;let l=rt(e,[],!1).filter(e=>Le(e)&&"body"!==$e(e)),n=null;const a="fixed"===lt(e).position;let i=a?at(e):e;for(;Le(i)&&!ot(i);){const t=lt(i),o=Je(i);o||"fixed"!==t.position||(n=null),(a?!o&&!n:!o&&"static"===t.position&&n&>.has(n.position)||Ue(i)&&!o&&bt(e,i))?l=l.filter(e=>e!==i):n=t,i=at(i)}return t.set(e,l),l}(t,this._c):[].concat(o),l],i=a[0],r=a.reduce((e,o)=>{const l=yt(t,o,n);return e.top=pe(l.top,e.top),e.right=ue(l.right,e.right),e.bottom=ue(l.bottom,e.bottom),e.left=pe(l.left,e.left),e},yt(t,i,n));return{width:r.right-r.left,height:r.bottom-r.top,x:r.left,y:r.top}},getOffsetParent:wt,getElementRects:async function(e){const t=this.getOffsetParent||wt,o=this.getDimensions,l=await o(e.floating);return{reference:xt(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:l.width,height:l.height}}},getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){const{width:t,height:o}=st(e);return{width:t,height:o}},getScale:ut,isElement:Le,isRTL:function(e){return"rtl"===lt(e).direction}};function Ct(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function Et(e,t,o,l){void 0===l&&(l={});const{ancestorScroll:n=!0,ancestorResize:a=!0,elementResize:i="function"==typeof ResizeObserver,layoutShift:r="function"==typeof IntersectionObserver,animationFrame:c=!1}=l,s=dt(e),d=n||a?[...s?rt(s):[],...rt(t)]:[];d.forEach(e=>{n&&e.addEventListener("scroll",o,{passive:!0}),a&&e.addEventListener("resize",o)});const u=s&&r?function(e,t){let o,l=null;const n=He(e);function a(){var e;clearTimeout(o),null==(e=l)||e.disconnect(),l=null}return function i(r,c){void 0===r&&(r=!1),void 0===c&&(c=1),a();const s=e.getBoundingClientRect(),{left:d,top:u,width:p,height:m}=s;if(r||t(),!p||!m)return;const f={rootMargin:-fe(u)+"px "+-fe(n.clientWidth-(d+p))+"px "+-fe(n.clientHeight-(u+m))+"px "+-fe(d)+"px",threshold:pe(0,ue(1,c))||1};let h=!0;function v(t){const l=t[0].intersectionRatio;if(l!==c){if(!h)return i();l?i(!1,l):o=setTimeout(()=>{i(!1,1e-7)},1e3)}1!==l||Ct(s,e.getBoundingClientRect())||i(),h=!1}try{l=new IntersectionObserver(v,{...f,root:n.ownerDocument})}catch(g){l=new IntersectionObserver(v,f)}l.observe(e)}(!0),a}(s,o):null;let p,m=-1,f=null;i&&(f=new ResizeObserver(e=>{let[l]=e;l&&l.target===s&&f&&(f.unobserve(t),cancelAnimationFrame(m),m=requestAnimationFrame(()=>{var e;null==(e=f)||e.observe(t)})),o()}),s&&!c&&f.observe(s),f.observe(t));let h=c?ft(e):null;return c&&function t(){const l=ft(e);h&&!Ct(h,l)&&o();h=l,p=requestAnimationFrame(t)}(),o(),()=>{var e;d.forEach(e=>{n&&e.removeEventListener("scroll",o),a&&e.removeEventListener("resize",o)}),null==u||u(),null==(e=f)||e.disconnect(),f=null,c&&cancelAnimationFrame(p)}}const Nt=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var o,l;const{x:n,y:a,placement:i,middlewareData:r}=t,c=await async function(e,t){const{placement:o,platform:l,elements:n}=e,a=await(null==l.isRTL?void 0:l.isRTL(n.floating)),i=be(o),r=xe(o),c="y"===we(o),s=De.has(i)?-1:1,d=a&&c?-1:1,u=ye(t,e);let{mainAxis:p,crossAxis:m,alignmentAxis:f}="number"==typeof u?{mainAxis:u,crossAxis:0,alignmentAxis:null}:{mainAxis:u.mainAxis||0,crossAxis:u.crossAxis||0,alignmentAxis:u.alignmentAxis};return r&&"number"==typeof f&&(m="end"===r?-1*f:f),c?{x:m*d,y:p*s}:{x:p*s,y:m*d}}(t,e);return i===(null==(o=r.offset)?void 0:o.placement)&&null!=(l=r.arrow)&&l.alignmentOffset?{}:{x:n+c.x,y:a+c.y,data:{...c,placement:i}}}}},Tt=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var o,l;const{placement:n,middlewareData:a,rects:i,initialPlacement:r,platform:c,elements:s}=t,{mainAxis:d=!0,crossAxis:u=!0,fallbackPlacements:p,fallbackStrategy:m="bestFit",fallbackAxisSideDirection:f="none",flipAlignment:h=!0,...v}=ye(e,t);if(null!=(o=a.arrow)&&o.alignmentOffset)return{};const g=be(n),y=we(r),b=be(r)===r,x=await(null==c.isRTL?void 0:c.isRTL(s.floating)),k=p||(b||!h?[Se(r)]:function(e){const t=Se(e);return[Ce(e),t,Ce(t)]}(r)),_="none"!==f;!p&&_&&k.push(...Ve(r,h,f,x));const w=[r,...k],B=await c.detectOverflow(t,v),C=[];let E=(null==(l=a.flip)?void 0:l.overflows)||[];if(d&&C.push(B[g]),u){const e=function(e,t,o){void 0===o&&(o=!1);const l=xe(e),n=Be(e),a=ke(n);let i="x"===n?l===(o?"end":"start")?"right":"left":"start"===l?"bottom":"top";return t.reference[a]>t.floating[a]&&(i=Se(i)),[i,Se(i)]}(n,i,x);C.push(B[e[0]],B[e[1]])}if(E=[...E,{placement:n,overflows:C}],!C.every(e=>e<=0)){var N,T;const e=((null==(N=a.flip)?void 0:N.index)||0)+1,t=w[e];if(t){if(!("alignment"===u&&y!==we(t))||E.every(e=>we(e.placement)!==y||e.overflows[0]>0))return{data:{index:e,overflows:E},reset:{placement:t}}}let o=null==(T=E.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:T.placement;if(!o)switch(m){case"bestFit":{var M;const e=null==(M=E.filter(e=>{if(_){const t=we(e.placement);return t===y||"y"===t}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0])?void 0:M[0];e&&(o=e);break}case"initialPlacement":o=r}if(n!==o)return{reset:{placement:o}}}return{}}}},Mt=(e,t,o)=>{const l=new Map,n={platform:Bt,...o},a={...n.platform,_c:l};return(async(e,t,o)=>{const{placement:l="bottom",strategy:n="absolute",middleware:a=[],platform:i}=o,r=a.filter(Boolean),c=await(null==i.isRTL?void 0:i.isRTL(t));let s=await i.getElementRects({reference:e,floating:t,strategy:n}),{x:d,y:u}=Pe(s,l,c),p=l,m={},f=0;for(let v=0;v<r.length;v++){var h;const{name:o,fn:a}=r[v],{x:g,y:y,data:b,reset:x}=await a({x:d,y:u,initialPlacement:l,placement:p,strategy:n,middlewareData:m,rects:s,platform:{...i,detectOverflow:null!=(h=i.detectOverflow)?h:qe},elements:{reference:e,floating:t}});d=null!=g?g:d,u=null!=y?y:u,m={...m,[o]:{...m[o],...b}},x&&f<=50&&(f++,"object"==typeof x&&(x.placement&&(p=x.placement),x.rects&&(s=!0===x.rects?await i.getElementRects({reference:e,floating:t,strategy:n}):x.rects),({x:d,y:u}=Pe(s,p,c))),v=-1)}return{x:d,y:u,placement:p,strategy:n,middlewareData:m}})(e,t,{...n,platform:a})};function Vt(e){if(function(e){return null!=e&&"object"==typeof e&&"$el"in e}(e)){const t=e.$el;return Ae(t)&&"#comment"===$e(t)?null:t}return e}function St(t){return"function"==typeof t?t():e.unref(t)}function zt(e){if("undefined"==typeof window)return 1;return(e.ownerDocument.defaultView||window).devicePixelRatio||1}function Pt(e,t){const o=zt(e);return Math.round(t*o)/o}function qt(t,o,l){void 0===l&&(l={});const n=l.whileElementsMounted,a=e.computed(()=>{var e;return null==(e=St(l.open))||e}),i=e.computed(()=>St(l.middleware)),r=e.computed(()=>{var e;return null!=(e=St(l.placement))?e:"bottom"}),c=e.computed(()=>{var e;return null!=(e=St(l.strategy))?e:"absolute"}),s=e.computed(()=>{var e;return null==(e=St(l.transform))||e}),d=e.computed(()=>Vt(t.value)),u=e.computed(()=>Vt(o.value)),p=e.ref(0),m=e.ref(0),f=e.ref(c.value),h=e.ref(r.value),v=e.shallowRef({}),g=e.ref(!1),y=e.computed(()=>{const e={position:f.value,left:"0",top:"0"};if(!u.value)return e;const t=Pt(u.value,p.value),o=Pt(u.value,m.value);return s.value?{...e,transform:"translate("+t+"px, "+o+"px)",...zt(u.value)>=1.5&&{willChange:"transform"}}:{position:f.value,left:t+"px",top:o+"px"}});let b;function x(){if(null==d.value||null==u.value)return;const e=a.value;Mt(d.value,u.value,{middleware:i.value,placement:r.value,strategy:c.value}).then(t=>{p.value=t.x,m.value=t.y,f.value=t.strategy,h.value=t.placement,v.value=t.middlewareData,g.value=!1!==e})}function k(){"function"==typeof b&&(b(),b=void 0)}return e.watch([i,r,c,a],x,{flush:"sync"}),e.watch([d,u],function(){k(),void 0!==n?null==d.value||null==u.value||(b=n(d.value,u.value,x)):x()},{flush:"sync"}),e.watch(a,function(){a.value||(g.value=!1)},{flush:"sync"}),e.getCurrentScope()&&e.onScopeDispose(k),{x:e.shallowReadonly(p),y:e.shallowReadonly(m),strategy:e.shallowReadonly(f),placement:e.shallowReadonly(h),middlewareData:e.shallowReadonly(v),isPositioned:e.shallowReadonly(g),floatingStyles:y,update:x}}const Dt=(t,o=!0,l=[])=>(t.forEach(t=>{if(null!==t)if("object"==typeof t)if(Array.isArray(t))Dt(t,o,l);else if(t.type===e.Fragment){if(null===t.children)return;Array.isArray(t.children)&&Dt(t.children,o,l)}else t.type!==e.Comment&&l.push(t);else"string"!=typeof t&&"number"!=typeof t||l.push(e.createTextVNode(String(t)))}),l);function It(e,...t){const o=t.flat();return Object.fromEntries(o.filter(t=>t in e).map(t=>[t,e[t]]))}const $t={focus:["onFocus","onBlur"],click:["onClick"],hover:["onMouseenter","onMouseleave"]};const Ot=e.defineComponent({name:"SlotListener",props:{trigger:{type:String,default:"click"}},emits:["click","focus","blur","mouseenter","mouseleave"],setup:(e,{emit:t})=>({handleClick:e=>{t("click",e)},handleBlur:e=>{t("blur",e)},handleFocus:e=>{t("focus",e)},handleMouseLeave:e=>{t("mouseleave",e)},handleMouseEnter:e=>{t("mouseenter",e)}}),render(){const{$slots:e}=this,t={onClick:this.handleClick,onMouseenter:this.handleMouseEnter,onMouseleave:this.handleMouseLeave,onFocus:this.handleFocus,onBlur:this.handleBlur},o=((e,t="default",o)=>{const l=e[t];if(!l)return null;const n=Dt(l(o));return 1===n.length?n[0]:null})(e,"default"),l=[t];(null==o?void 0:o.props)&&l.push(It(o.props,"onClick","onMouseenter","onMouseleave","onFocus","onBlur"));var n,a;return o&&(n=o,a={onBlur:e=>{l.forEach(t=>{var o;null==(o=null==t?void 0:t.onBlur)||o.call(t,e)})},onFocus:e=>{l.forEach(t=>{var o;null==(o=null==t?void 0:t.onFocus)||o.call(t,e)})},onClick:e=>{l.forEach(t=>{var o;null==(o=null==t?void 0:t.onClick)||o.call(t,e)})},onMouseenter:e=>{l.forEach(t=>{var o;null==(o=null==t?void 0:t.onMouseenter)||o.call(t,e)})},onMouseleave:e=>{l.forEach(t=>{var o;null==(o=null==t?void 0:t.onMouseleave)||o.call(t,e)})}},Object.entries($t).forEach(([,e])=>{e.forEach(e=>{n.props?n.props=Object.assign({},n.props):n.props={};const t=n.props[e],o=a[e];n.props[e]=t?(...e)=>{t(...e),o(...e)}:o})})),o}}),Ht={color:"primary",variant:"primary",size:"md",pill:!1,square:!1,loading:!1,disabled:!1,iconPrefix:void 0,iconSuffix:void 0,tag:"button"},At="transition-colors transition-opacity",Lt={blue:"text-white bg-blue-600 focus:ring-4 focus:ring-blue-300 font-medium rounded focus:outline-none",red:"text-white bg-red-700 focus:ring-4 focus:ring-red-300 font-medium rounded focus:outline-none",green:"text-white bg-green-700 focus:ring-4 focus:ring-green-300 font-medium rounded focus:outline-none",gray:"text-white bg-gray-800 focus:ring-4 focus:ring-gray-300 font-medium rounded focus:outline-none",primary:"text-white bg-primary-600 focus:ring-4 focus:ring-primary-300 font-medium rounded focus:outline-non",yellow:"text-white bg-yellow-800 focus:ring-4 focus:ring-yellow-300 font-medium rounded focus:outline-none",white:"text-gray-900 bg-white focus:ring-4 focus:ring-gray-200 font-medium rounded focus:outline-none"},Zt={blue:"hover:bg-blue-700",red:"hover:bg-red-800",green:"hover:bg-green-800",gray:"hover:bg-gray-50",primary:"hover:bg-primary-700",yellow:"hover:bg-yellow-700",white:"hover:bg-gray-500"},Rt={blue:"text-blue-600 bg-white border border-blue-200 focus:ring-4 focus:outline-none focus:ring-gray-50 font-medium rounded text-sm text-center",red:"text-red-700 bg-white border border-red-200 focus:ring-4 focus:outline-none focus:ring-gray-50 font-medium rounded text-sm text-center",green:"text-green-700 bg-white border border-green-200 focus:ring-4 focus:outline-none focus:ring-gray-50 font-medium rounded text-sm text-center",gray:"text-gray-800 bg-white border border-gray-200 focus:ring-4 focus:outline-none focus:ring-gray-50 font-medium rounded text-sm text-center",primary:"text-primary-600 bg-white border border-primary-200 focus:ring-4 focus:outline-none focus:ring-gray-50 font-medium rounded text-sm text-center",yellow:"text-yellow-600 bg-white border border-yellow-200 focus:ring-4 focus:outline-none focus:ring-gray-50 font-medium rounded text-sm text-center",white:"text-white bg-transparent border border-white/40 focus:ring-4 focus:outline-none focus:ring-gray-50 font-medium rounded text-sm text-center"},Ft={blue:"text-blue-600 hover:bg-gray-50 border border-blue-200 focus:ring-4 focus:outline-none focus:ring-gray-50 font-medium rounded text-sm text-center",red:"text-red-700 hover:bg-gray-50 border border-red-200 focus:ring-4 focus:outline-none focus:ring-gray-50 font-medium rounded text-sm text-center",green:"text-green-700 hover:bg-gray-50 border border-green-200 focus:ring-4 focus:outline-none focus:ring-gray-50 font-medium rounded text-sm text-center",gray:"text-gray-800 hover:bg-gray-50 border border-gray-200 focus:ring-4 focus:outline-none focus:ring-gray-50 font-medium rounded text-sm text-center",primary:"text-primary-600 hover:bg-gray-50 border border-primary-200 focus:ring-4 focus:outline-none focus:ring-gray-50 font-medium rounded text-sm text-center",yellow:"text-yellow-600 hover:bg-gray-50 border border-yellow-200 focus:ring-4 focus:outline-none focus:ring-gray-50 font-medium rounded text-sm text-center",white:"text-white hover:bg-gray-500 border border-white/40 focus:ring-4 focus:outline-none focus:ring-gray-50 font-medium rounded text-sm text-center"},Ut={blue:"text-blue-600 bg-none border-none focus:ring-4 focus:outline-none focus:ring-gray-300 font-medium rounded text-sm text-center",red:"text-red-700 bg-none border-none focus:ring-4 focus:outline-none focus:ring-gray-300 font-medium rounded text-sm text-center",green:"text-green-700 bg-none border-none focus:ring-4 focus:outline-none focus:ring-gray-300 font-medium rounded text-sm text-center",gray:"text-gray-800 bg-none border-none focus:ring-4 focus:outline-none focus:ring-gray-300 font-medium rounded text-sm text-center",primary:"text-primary-600 bg-none border-none focus:ring-4 focus:outline-none focus:ring-gray-300 font-medium rounded text-sm text-center",yellow:"text-yellow-700 bg-none border-none focus:ring-4 focus:outline-none focus:ring-gray-300 font-medium rounded text-sm text-center",white:"text-white bg-none border-none focus:ring-4 focus:outline-none focus:ring-gray-300 font-medium rounded text-sm text-center"},Gt={blue:"hover:text-white hover:bg-blue-700",red:"hover:text-white hover:bg-red-800",green:"hover:text-white hover:bg-green-800",gray:"hover:bg-gray-50",primary:"hover:text-white hover:bg-primary-700",yellow:"hover:text-white hover:bg-yellow-700",white:"hover:bg-gray-500"},jt={xs:"p-0.5",sm:"p-1.5",md:"p-2",lg:"p-3"},Qt={xs:"w-5 h-5",sm:"w-8 h-8",md:"w-10 h-10",lg:"w-12 h-12"};function Kt(t){const o=e.useSlots(),l=e.computed(()=>{var e;return(null==(e=t.square)?void 0:e.value)?Qt[t.size.value]:jt[t.size.value]}),n=e.computed(()=>{const e=t.color.value||Ht.color,n=t.variant.value||Ht.variant,a=t.loading.value,i=t.disabled.value;let r={},c={};switch(n){case"ghost":c=Ut,r=Gt;break;case"transparent":c=Ut;break;case"outline":c=Rt,r=Ft;break;default:c=Lt,r=Zt}const s=c[e],d=a||i?"":r[e];return[At,s,d,l.value,t.pill.value?"!rounded-full":"",t.disabled.value||t.loading.value?"cursor-not-allowed opacity-50":"",o.prefix||t.iconPrefix||o.suffix||t.loading.value?"inline-flex items-center":""].filter(e=>!!e).join(" ")}),a=e.computed(()=>t.loading.value?"opacity-0":"");return{contentClasses:e.computed(()=>{switch(t.size.value){case"xs":case"sm":return"mx-1";case"md":return"mx-1.5";case"lg":return"mx-2";default:return""}}),wrapperClasses:n,spanClasses:a}}const Wt={0:"w-0 h-0",.5:"w-0.5 h-0.5",1:"w-1 h-1",1.5:"w-1.5 h-1.5",10:"w-10 h-10",11:"w-11 h-11",12:"w-12 h-12",2:"w-2 h-2",2.5:"w-2.5 h-2.5",3:"w-3 h-3",4:"w-4 h-4",5:"w-5 h-5",6:"w-6 h-6",7:"w-7 h-7",8:"w-8 h-8",9:"w-9 h-9",px:"w-px h-px"},Yt={primary:"fill-primary-600",blue:"fill-blue-600",gray:"fill-gray-600",green:"fill-green-500",pink:"fill-pink-600",purple:"fill-purple-600",red:"fill-red-600",yellow:"fill-yellow-400",white:"fill-white"};const Xt=e.defineComponent({__name:"Spinner",props:{size:{default:"4"},color:{default:"primary"}},setup(t){const o=t,{spinnerClasses:l}=function(t){const o=e.computed(()=>Wt[t.size.value]),l=e.computed(()=>Yt[t.color.value]),n="text-gray-200",a="animate-spin";return{spinnerClasses:e.computed(()=>[o.value,n,l.value,a].join(" "))}}(e.toRefs(o));return(t,o)=>(e.openBlock(),e.createElementBlock("svg",{role:"status",class:e.normalizeClass(e.unref(l)),viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[...o[0]||(o[0]=[e.createElementVNode("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"},null,-1),e.createElementVNode("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"},null,-1)])],2))}}),Jt={key:0,class:"absolute bottom-0 left-0 right-0 top-0 flex items-center justify-center bg-inherit"},eo={key:0,class:"flex items-center justify-center"},to={key:2,class:"flex items-center justify-center"},oo=e.defineComponent({__name:"Button",props:e.mergeDefaults({type:{},variant:{},color:{},size:{},pill:{type:Boolean},square:{type:Boolean},loading:{type:Boolean},disabled:{type:Boolean},iconPrefix:{},iconSuffix:{},tag:{}},Ht),emits:["click"],setup(t,{emit:l}){const n=t,a=l,i=e.computed(()=>{switch(n.size){case"xs":return"2xs";case"sm":return"xs";default:return"sm"}}),r=e.computed(()=>"xs"===i.value?"4":"5"),c=e.computed(()=>["xs","sm"].includes(n.size)?"body-xs":"body-sm"),{wrapperClasses:s,spanClasses:d,contentClasses:u}=Kt(e.toRefs(n)),{color:p}=function(t){const o={lg:"5",md:"4",sm:"3",xs:"2"};return{size:e.computed(()=>o[t.size.value]),color:e.computed(()=>"primary"===t.variant.value?"white":t.color.value)}}(e.toRefs(n)),{handleClick:m}=function(t=500){const o=e.ref(!1);return{isClicked:o,handleClick:function(e){if(!o.value){o.value=!0;try{e()}finally{setTimeout(()=>{o.value=!1},t)}}}}}(),f=e.computed(()=>"button"===n.tag&&(n.disabled||n.loading)),h=e=>{m(()=>{a("click",e)})};return(l,n)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.tag),{class:e.normalizeClass([e.unref(s),"relative shrink-0 items-center justify-center overflow-clip whitespace-nowrap"]),type:"button"===t.tag?t.type:void 0,disabled:f.value,onClick:h},{default:e.withCtx(()=>[t.loading?(e.openBlock(),e.createElementBlock("span",Jt,[e.createVNode(e.unref(Xt),{size:r.value,color:e.unref(p)},null,8,["size","color"])])):e.createCommentVNode("",!0),e.createElementVNode("span",{class:e.normalizeClass([e.unref(d),"flex items-center justify-center"])},[t.iconPrefix||l.$slots.prefix?(e.openBlock(),e.createElementBlock("span",eo,[e.renderSlot(l.$slots,"prefix",{},()=>[e.createVNode(e.unref(w),{icon:t.iconPrefix,size:i.value,class:"overflow-clip"},null,8,["icon","size"])])])):e.createCommentVNode("",!0),l.$slots.default?(e.openBlock(),e.createBlock(e.unref(o),{key:1,tag:"span",variant:c.value,class:e.normalizeClass(e.unref(u))},{default:e.withCtx(()=>[e.renderSlot(l.$slots,"default")]),_:3},8,["variant","class"])):e.createCommentVNode("",!0),t.iconSuffix||l.$slots.suffix?(e.openBlock(),e.createElementBlock("span",to,[e.renderSlot(l.$slots,"suffix",{},()=>[e.createVNode(e.unref(w),{icon:t.iconSuffix,size:i.value},null,8,["icon","size"])])])):e.createCommentVNode("",!0)],2)]),_:3},8,["class","type","disabled"]))}}),lo=["id"],no=e.defineComponent({__name:"Portal",props:{to:{},name:{},disabled:{type:Boolean}},setup(t){const o=t;return e.onMounted(()=>{if(!o.name&&!o.to)throw new Error("Define either the `to` or the `name` prop.")}),(o,l)=>t.name?(e.openBlock(),e.createElementBlock("div",{key:0,id:`portal-${t.name}`},null,8,lo)):t.to?(e.openBlock(),e.createBlock(e.Teleport,{key:1,to:`#portal-${t.to}`,disabled:t.disabled},[e.renderSlot(o.$slots,"default")],8,["to","disabled"])):e.createCommentVNode("",!0)}}),ao={class:"inline-flex items-center"},io=h(e.defineComponent({__name:"Dropdown",props:{placement:{default:"bottom-end"},text:{default:""},transition:{default:""},offset:{default:8},disabled:{type:Boolean},isPortalDisabled:{type:Boolean},dropdownClass:{}},setup(t){const o=t,l=e.ref(!1),n=()=>l.value=!1,a=()=>{o.disabled||(l.value=!l.value)},i={bottom:"to-bottom","bottom-start":"to-bottom","bottom-end":"to-bottom",left:"to-left","left-start":"to-left","left-end":"to-left",right:"to-right","right-start":"to-right","right-end":"to-right",top:"to-top","top-start":"to-top","top-end":"to-top"},r=e.ref(),c=e.ref(),s=e.ref(),d=e.computed(()=>null===o.transition?i[o.placement]:o.transition),{floatingStyles:u}=qt(s,c,{whileElementsMounted:Et,placement:o.placement,middleware:[Nt(o.offset),Tt()]});return function(e,t,o={}){const{window:l=$,ignore:n=[],capture:a=!0,detectIframe:i=!1}=o;if(!l)return;P&&!H&&(H=!0,Array.from(l.document.body.children).forEach(e=>e.addEventListener("click",z)));let r=!0;const c=e=>n.some(t=>{if("string"==typeof t)return Array.from(l.document.querySelectorAll(t)).some(t=>t===e.target||e.composedPath().includes(t));{const o=I(t);return o&&(e.target===o||e.composedPath().includes(o))}}),s=[O(l,"click",o=>{const l=I(e);l&&l!==o.target&&!o.composedPath().includes(l)&&(0===o.detail&&(r=!c(o)),r?t(o):r=!0)},{passive:!0,capture:a}),O(l,"pointerdown",t=>{const o=I(e);o&&(r=!t.composedPath().includes(o)&&!c(t))},{passive:!0}),i&&O(l,"blur",o=>{var n;const a=I(e);"IFRAME"!==(null==(n=l.document.activeElement)?void 0:n.tagName)||(null==a?void 0:a.contains(l.document.activeElement))||t(o)})].filter(Boolean)}(s,()=>{l.value&&(l.value=!1)}),A("Escape",()=>{l.value=!1}),(o,i)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"wrapper",ref:s,class:"inline-flex relative"},[e.createElementVNode("div",ao,[e.createVNode(e.unref(Ot),{onClick:a},{default:e.withCtx(()=>[e.renderSlot(o.$slots,"trigger",{visible:l.value},()=>[e.createVNode(e.unref(oo),{ref_key:"trigger",ref:r},{suffix:e.withCtx(()=>[...i[0]||(i[0]=[e.createElementVNode("svg",{class:"w-4 h-4 ml-2",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},[e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M19 9l-7 7-7-7"})],-1)])]),default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.text)+" ",1)]),_:1},512)],!0)]),_:3})]),e.createVNode(e.unref(no),{to:e.unref("dropdown"),disabled:t.isPortalDisabled},{default:e.withCtx(()=>[e.createVNode(e.Transition,{name:d.value},{default:e.withCtx(()=>[l.value?(e.openBlock(),e.createElementBlock("div",{key:0,ref_key:"content",ref:c,style:e.normalizeStyle(e.unref(u)),class:e.normalizeClass(["z-60 bg-white divide-y divide-gray-100 rounded shadow",t.dropdownClass])},[e.createVNode(e.unref(Ot),{onClick:n},{default:e.withCtx(()=>[e.renderSlot(o.$slots,"default",{},void 0,!0)]),_:3})],6)):e.createCommentVNode("",!0)]),_:3},8,["name"])]),_:3},8,["to","disabled"])],512))}}),[["__scopeId","data-v-ce4df87e"]]),ro=e.defineComponent({__name:"ListGroup",props:{width:{default:"default"}},setup:t=>(o,l)=>(e.openBlock(),e.createElementBlock("ul",{class:e.normalizeClass(["overflow-hidden text-sm font-medium text-gray-900 bg-white border border-gray-200 rounded",{"w-48":"default"===t.width,"w-64":"wide"===t.width}])},[e.renderSlot(o.$slots,"default")],2))}),co=e.defineComponent({__name:"ContextMenu",props:{items:{},icon:{default:"more_vert"},square:{type:Boolean,default:!1},outlined:{type:Boolean},width:{},disabled:{type:Boolean},isPortalDisabled:{type:Boolean},triggerSize:{default:"sm"},dropdownClass:{}},setup(t){const o=t,l=e.useSlots(),n=e.computed(()=>{var e,t;return o.disabled||(null==(t=(null==(e=o.items)?void 0:e.flatMap(e=>"divider"!==e&&"items"in e?e.items:e))??[])?void 0:t.filter(e=>"divider"!==e).every(e=>e.disabled))&&!l.default});return(o,l)=>(e.openBlock(),e.createBlock(e.unref(M),null,{default:e.withCtx(()=>{var a;return[(null==(a=t.items)?void 0:a.length)||o.$slots.default||t.disabled?(e.openBlock(),e.createBlock(e.unref(io),e.mergeProps({key:0,"is-portal-disabled":n.value},o.$attrs,{"dropdown-class":t.dropdownClass}),{trigger:e.withCtx(({visible:a})=>[e.renderSlot(o.$slots,"trigger",{visible:a},()=>[e.createVNode(e.unref(oo),{type:"button",pill:!t.square,square:"",color:"gray",variant:"outline",size:t.triggerSize,class:e.normalizeClass({"border-none":!t.outlined}),"data-testid":"context-menu",disabled:n.value,"icon-prefix":t.icon,onClick:l[0]||(l[0]=e.withModifiers(()=>{},["stop"]))},null,8,["pill","size","class","disabled","icon-prefix"])])]),default:e.withCtx(()=>[t.items||o.$slots.default?(e.openBlock(),e.createBlock(e.unref(ro),{key:0,width:t.width,class:"z-60 p-0.5"},{default:e.withCtx(()=>[e.renderSlot(o.$slots,"header"),t.items?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(t.items,(o,l)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:l},["divider"===o&&l<t.items.length-1?(e.openBlock(),e.createBlock(e.unref(N),{key:0,spacing:"none"})):"divider"===o||"items"in o?"divider"!==o?(e.openBlock(),e.createBlock(T,{key:2,class:"rounded-sm",label:o.label,items:o.items},null,8,["label","items"])):e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(B,{key:1,label:o.label,variant:o.variant,icon:o.icon,"label-suffix-component":o.labelSuffixComponent,"label-prefix-component":o.labelPrefixComponent,description:o.description,classes:o.classes,"test-id":o.testId,disabled:o.disabled,onClick:o.onClick},null,8,["label","variant","icon","label-suffix-component","label-prefix-component","description","classes","test-id","disabled","onClick"]))],64))),128)):e.createCommentVNode("",!0),e.renderSlot(o.$slots,"default")]),_:3},8,["width"])):e.createCommentVNode("",!0)]),_:3},16,["is-portal-disabled","dropdown-class"])):e.createCommentVNode("",!0)]}),_:3}))}}),so="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cpath%20fill='%23f5f7f8'%20d='M0%200h40v40H0z'/%3e%3cmask%20id='a'%20width='28'%20height='28'%20x='6'%20y='6'%20maskUnits='userSpaceOnUse'%20style='mask-type:alpha'%3e%3cpath%20fill='%23d9d9d9'%20d='M6%206h28v28H6z'/%3e%3c/mask%3e%3cg%20mask='url(%23a)'%3e%3cpath%20fill='%23333'%20d='M11.842%2027.955a1.85%201.85%200%200%201-1.36-.557%201.85%201.85%200%200%201-.558-1.36V13.962q0-.805.557-1.36a1.85%201.85%200%200%201%201.36-.557H28.16q.803%200%201.36.556.557.557.557%201.36v12.075q0%20.805-.557%201.36a1.85%201.85%200%200%201-1.36.558zm-.327-8.383h16.97v-3.386h-16.97z'/%3e%3c/g%3e%3c/svg%3e",uo={class:"shrink-0"},po={class:"flex items-center justify-center overflow-clip rounded"},mo=["src","alt","width","height"],fo={class:"grow"},ho={key:0},vo={key:0,class:"pt-3"},go=e.defineComponent({__name:"PaymentMethodBase",props:{imageSrc:{},imageAlt:{},variant:{default:"default"},isInactive:{type:Boolean},options:{},error:{}},setup(t){const o=t,l=e.computed(()=>o.imageSrc||so);return(o,n)=>(e.openBlock(),e.createElementBlock("div",null,[e.createElementVNode("div",{class:e.normalizeClass(["flex gap-3",{"opacity-50":t.isInactive}])},[e.createElementVNode("div",uo,[e.createElementVNode("div",po,[l.value?(e.openBlock(),e.createElementBlock("img",{key:0,src:l.value,alt:t.imageAlt,width:"condensed"===t.variant?20:36,height:"condensed"===t.variant?20:36,class:e.normalizeClass({"w-9 h-9":"default"===t.variant,"w-5 h-5":"condensed"===t.variant})},null,10,mo)):e.createCommentVNode("",!0)])]),e.createElementVNode("div",fo,[e.renderSlot(o.$slots,"default")]),t.options&&t.options.length>0?(e.openBlock(),e.createElementBlock("div",ho,[e.createVNode(co,{width:"wide",square:"",items:t.options},null,8,["items"])])):e.createCommentVNode("",!0)],2),t.error?(e.openBlock(),e.createElementBlock("div",vo,[e.createVNode(m,{message:t.error,variant:"error"},null,8,["message"])])):e.createCommentVNode("",!0)]))}}),yo=Symbol("ErrorProvider"),bo=()=>{const t=e.inject(yo);if(!t)throw new Error("ErrorHandlingProvider is not provided");return t},xo=e=>e.match(/^(Etc\/)?GMT/)?e.includes("-")?e.replace(/^(Etc\/)?GMT-/,"Etc/GMT+"):e.includes("+")?e.replace(/^(Etc\/)?GMT\+/,"Etc/GMT-"):e:e,ko={"3yk8fB":"Wallet","47FYwb":"Cancel",N2IrpM:"Confirm","PW+sL4":"N/A",Vl9vDx:"units","customer_billing_information.billing_address_label":"Billing address","customer_billing_information.email_address_label":"Email address","customer_billing_information.name_label":"Name","customer_billing_information.title":"Billing information","customer_billing_information.vat_number_label":"VAT number","customer_overview.billing_information.no_billing_information_available":"No billing information to display.","download_button.download_failed_message":"Download failed, please try again later","editor.placeholder":"Enter text or type ‘/’ for commands","editorComponent.entityDetailsFallbackTitles.customerTitle":"Customer details","editorComponent.entityDetailsFallbackTitles.supplierTitle":"Supplier details","editorComponent.slashCommands.addCustomerDetailsDescription":"Insert customer details block","editorComponent.slashCommands.addCustomerDetailsTitle":"Add Customer Details","editorComponent.slashCommands.addPartyDetailsDescription":"Insert customer and supplier details in one row","editorComponent.slashCommands.addPartyDetailsTitle":"Add Party Details","editorComponent.slashCommands.addInvoicePreviewDescription":"Insert an invoice preview snapshot","editorComponent.slashCommands.addInvoicePreviewTitle":"Add Invoice Preview","editorComponent.slashCommands.addSupplierDetailsDescription":"Insert supplier details block","editorComponent.slashCommands.addSupplierDetailsTitle":"Add Supplier Details","editorComponent.slashCommands.customerFallbackTitle":"Customer details","editorComponent.slashCommands.dividerDescription":"Insert a horizontal rule","editorComponent.slashCommands.dividerTitle":"Divider","editorComponent.slashCommands.headingDescription":"Start writing with heading.","editorComponent.slashCommands.headingTitle":"Heading","editorComponent.slashCommands.supplierFallbackTitle":"Supplier details","editorComponent.slashCommands.textDescription":"Start writing with plain text","editorComponent.slashCommands.textTitle":"Text","error_notification.default_error_message":"Something went wrong","form_validation.tax_id.invalid_format":"Invalid tax ID format. Example: {example}","generic.not_available":"N/A","invoicePreviewCard.title":"Invoice preview","invoicePreviewCard.totalExcludingTaxes":"Total excluding taxes","invoicePreviewCard.taxes":"Taxes","invoicePreviewCard.totalIncludingTaxes":"Total including taxes","invoice.add_invoice_line":"Add invoice line","invoice.adjustment_chip_body":"Adjustment","invoice.already_deducted_table_heading":"Already deducted","invoice.amount_discount":"{amount} discount","invoice.amount_due_table_heading":"Amount due","invoice.amount_table_heading":"Amount","invoice.commitment":"commitment","invoice.commitment_heading":"Commitment","invoice.discounts_table_heading":"Discounts","invoice.download_pdf_button":"Download PDF","invoice.due_on_label":"Due on {date}","invoice.line.band_maximum_number":"Maximum number","invoice.line.band_minimum_amount":"Band minimum amount","invoice.line.band_minimum_number":"Minimum number","invoice.line.excl.tax":"Excl. tax","invoice.line.incl.tax":"Incl. tax","invoice.line.included":"included","invoice.line.original_currency":"Original currency","invoice.line.pass_through":"Pass through","invoice.line.price_bound_maximum_amount":"Maximum amount","invoice.line.price_bound_within_bounds":"Within bounds","invoice.line.units_included":"units included","invoice.markup_percentage":"{percentage}% markup","invoice.markups_table_heading":"Markups","invoice.paid_chip":"Paid","invoice.paid_on_label":"Paid on {date}","invoice.percentage_discount":"{percentage}% discount","invoice.service_period_heading":"Service period - {start_at} - {end_at}","invoice.table_header.base amount":"Base amount","invoice.table_header.discount":"Discount","invoice.table_header.markup":"Markup","invoice.table_header.price":"Price","invoice.table_header.quantity":"Quantity","invoice.table_header.sub_total":"Subtotal","invoice.table_header.tax amount":"Tax amount","invoice.table_header.tax type":"Tax type","invoice.table_header.tax_percentage":"Percentage","invoice.table_header.tax_rate":"Tax rate","invoice.table_header.total":"Total","invoice.table_header.total_excluding_taxes":"Total excluding taxes","invoice.table_header.total_including_taxes":"Total including taxes","invoice.table_header.total_including_taxes_customer_facing":"Total due today","invoice.table_header.unit":"Unit","invoice.table_heading.commitments":"Commitments","invoice.table_heading.discounts":"Discounts","invoice.table_heading.markups":"Markups","invoice.table_heading.one_offs":"One-off's","invoice.table_heading.products":"Products","invoice.tax_notes.local_vat_applied_for_missing_tax_id":"Local VAT applied instead of reverse charge mechanism because customer VAT number is missing and this is an intra-EU sale","invoice.tax_notes.no_charge_provided_outside_eu":"No VAT charged – services provided outside the EU","invoice.tax_notes.not_applicable_article":"TVA non applicable – Article 294, 1 du CGI","invoice.tax_notes.reverse_charge":"Reverse charge - Art 196 of the VAT Directive 2006/ 112/EC","invoice.tax_notes.reverse_charge_outside_eu":"No VAT – Service supplied outside the EU (Art. 44 EU VAT Directive)","invoice.tax_notes.reverse_charge_tax_registration":"[1] - Reverse charge","invoice.tax_notes.reverse_charge_tax_registration_outside_eu":"Out of scope for EU VAT","invoice.taxes_table_heading":"Taxes","invoice.title":"Details","invoice.totals_table_heading":"Totals","invoice_preview.after_trial_heading":"After trial","invoice_preview.taxes_heading":"Taxes","invoice_preview.taxes_not_determined_by_billing_information_tooltip":"Will be determined by billing information","invoice_preview.total_due_today_heading":"Total due today","invoice_preview.total_excluding_taxes_heading":"Total excluding taxes","invoice_preview.total_including_taxes_heading":"Total including taxes","invoice_preview.total_paid_heading":"Total paid",lWOCGz:"unit",pH6Zg0:"expires after {period}","payment_methods.default_chip.label":"Default","payment_methods.inactive_chip.label":"Inactive","pricing_detail.billing_cycle":"Billing cycle",pricing_item_pricing:"{pricing} per {billing_period}","pricing_item_pricing.flat_top_up":"Flat top up pricing","pricing_item_pricing.none":"Not billed","pricing_item_pricing.pass_through":"Pass through pricing","pricing_item_pricing.per_seat":"Per seat","pricing_item_pricing.stair_step":"Stair step pricing","pricing_item_pricing.tiered":"Tiered pricing","pricing_item_pricing.tiered_top_up":"Tiered top up pricing","pricing_item_pricing.top_tiered":"Top tiered pricing","pricing_item_pricing.unsupported_pricing_error":"Unsupported pricing","promotion.code.expiry":"Never expires","quoteBillingDetails.autoRenewalLabel":"Auto renewal","quoteBillingDetails.billingCurrencyLabel":"Billing currency","quoteBillingDetails.billingCycleLabel":"Billing cycle","quoteBillingDetails.billingCycleValue.notAvailable":"N/A","quoteBillingDetails.initialTermLabel":"Initial term","quoteBillingDetails.no":"No","quoteBillingDetails.paymentTermLabel":"Payment term","quoteBillingDetails.renewalTermLabel":"Renewal term","quoteBillingDetails.yes":"Yes","slashCommandList.emptyState":"No matching commands",spcNSp:"Updated at {date}","taxId.invalid":"Invalid tax ID","time_period.day.full":"daily","time_period.day.plural":"days","time_period.day.singular":"day","time_period.month.full":"monthly","time_period.month.plural":"months","time_period.month.singular":"month","time_period.week.full":"weekly","time_period.week.plural":"weeks","time_period.week.singular":"week","time_period.year.full":"yearly","time_period.year.plural":"years","time_period.year.singular":"year","timezone_select.option.inherit_from_platform":"Inherit from platform","ui.CalloutRow.moreActions":"More actions","wB/wXs":"credits","wallet_balance.formatted_credit_unit":"{quantity} {unit}"};var _o=function(e,t){return(_o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])})(e,t)};function wo(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}_o(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}var Bo,Co,Eo=function(){return Eo=Object.assign||function(e){for(var t,o=1,l=arguments.length;o<l;o++)for(var n in t=arguments[o])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e},Eo.apply(this,arguments)};function No(e,t,o){if(2===arguments.length)for(var l,n=0,a=t.length;n<a;n++)!l&&n in t||(l||(l=Array.prototype.slice.call(t,0,n)),l[n]=t[n]);return e.concat(l||Array.prototype.slice.call(t))}"function"==typeof SuppressedError&&SuppressedError,(Co=Bo||(Bo={})).FORMAT_ERROR="FORMAT_ERROR",Co.UNSUPPORTED_FORMATTER="UNSUPPORTED_FORMATTER",Co.INVALID_CONFIG="INVALID_CONFIG",Co.MISSING_DATA="MISSING_DATA",Co.MISSING_TRANSLATION="MISSING_TRANSLATION";var To=function(e){function t(o,l,n){var a=this,i=n?n instanceof Error?n:new Error(String(n)):void 0;return(a=e.call(this,"[@formatjs/intl Error ".concat(o,"] ").concat(l,"\n").concat(i?"\n".concat(i.message,"\n").concat(i.stack):""))||this).code=o,"function"==typeof Error.captureStackTrace&&Error.captureStackTrace(a,t),a}return wo(t,e),t}(Error),Mo=function(e){function t(t,o){return e.call(this,Bo.UNSUPPORTED_FORMATTER,t,o)||this}return wo(t,e),t}(To),Vo=function(e){function t(t,o){return e.call(this,Bo.INVALID_CONFIG,t,o)||this}return wo(t,e),t}(To),So=function(e){function t(t,o){return e.call(this,Bo.MISSING_DATA,t,o)||this}return wo(t,e),t}(To),zo=function(e){function t(t,o,l){var n=e.call(this,Bo.FORMAT_ERROR,"".concat(t,"\nLocale: ").concat(o,"\n"),l)||this;return n.locale=o,n}return wo(t,e),t}(To),Po=function(e){function t(t,o,l,n){var a=e.call(this,"".concat(t,"\nMessageID: ").concat(null==l?void 0:l.id,"\nDefault Message: ").concat(null==l?void 0:l.defaultMessage,"\nDescription: ").concat(null==l?void 0:l.description,"\n"),o,n)||this;return a.descriptor=l,a.locale=o,a}return wo(t,e),t}(zo),qo=function(e){function t(t,o){var l=e.call(this,Bo.MISSING_TRANSLATION,'Missing message: "'.concat(t.id,'" for locale "').concat(o,'", using ').concat(t.defaultMessage?"default message (".concat("string"==typeof t.defaultMessage?t.defaultMessage:t.defaultMessage.map(function(e){var t;return null!==(t=e.value)&&void 0!==t?t:JSON.stringify(e)}).join(),")"):"id"," as fallback."))||this;return l.descriptor=t,l}return wo(t,e),t}(To);function Do(e,t){var o=t&&t.cache?t.cache:Qo,l=t&&t.serializer?t.serializer:Go;return(t&&t.strategy?t.strategy:Ho)(e,{cache:o,serializer:l})}function Io(e,t,o,l){var n,a=null==(n=l)||"number"==typeof n||"boolean"==typeof n?l:o(l),i=t.get(a);return void 0===i&&(i=e.call(this,l),t.set(a,i)),i}function $o(e,t,o){var l=Array.prototype.slice.call(arguments,3),n=o(l),a=t.get(n);return void 0===a&&(a=e.apply(this,l),t.set(n,a)),a}function Oo(e,t,o,l,n){return o.bind(t,e,l,n)}function Ho(e,t){return Oo(e,this,1===e.length?Io:$o,t.cache.create(),t.serializer)}var Ao,Lo,Zo,Ro,Fo,Uo,Go=function(){return JSON.stringify(arguments)},jo=function(){function e(){this.cache=Object.create(null)}return e.prototype.get=function(e){return this.cache[e]},e.prototype.set=function(e,t){this.cache[e]=t},e}(),Qo={create:function(){return new jo}},Ko={variadic:function(e,t){return Oo(e,this,$o,t.cache.create(),t.serializer)}};function Wo(e){return e.type===Zo.literal}function Yo(e){return e.type===Zo.argument}function Xo(e){return e.type===Zo.number}function Jo(e){return e.type===Zo.date}function el(e){return e.type===Zo.time}function tl(e){return e.type===Zo.select}function ol(e){return e.type===Zo.plural}function ll(e){return e.type===Zo.pound}function nl(e){return e.type===Zo.tag}function al(e){return!(!e||"object"!=typeof e||e.type!==Fo.number)}function il(e){return!(!e||"object"!=typeof e||e.type!==Fo.dateTime)}(Lo=Ao||(Ao={}))[Lo.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",Lo[Lo.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",Lo[Lo.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",Lo[Lo.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",Lo[Lo.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",Lo[Lo.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",Lo[Lo.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",Lo[Lo.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",Lo[Lo.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",Lo[Lo.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",Lo[Lo.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",Lo[Lo.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",Lo[Lo.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",Lo[Lo.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",Lo[Lo.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",Lo[Lo.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",Lo[Lo.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",Lo[Lo.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",Lo[Lo.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",Lo[Lo.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",Lo[Lo.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",Lo[Lo.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",Lo[Lo.INVALID_TAG=23]="INVALID_TAG",Lo[Lo.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",Lo[Lo.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",Lo[Lo.UNCLOSED_TAG=27]="UNCLOSED_TAG",(Ro=Zo||(Zo={}))[Ro.literal=0]="literal",Ro[Ro.argument=1]="argument",Ro[Ro.number=2]="number",Ro[Ro.date=3]="date",Ro[Ro.time=4]="time",Ro[Ro.select=5]="select",Ro[Ro.plural=6]="plural",Ro[Ro.pound=7]="pound",Ro[Ro.tag=8]="tag",(Uo=Fo||(Fo={}))[Uo.number=0]="number",Uo[Uo.dateTime=1]="dateTime";var rl=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,cl=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;function sl(e){var t={};return e.replace(cl,function(e){var o=e.length;switch(e[0]){case"G":t.era=4===o?"long":5===o?"narrow":"short";break;case"y":t.year=2===o?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":t.month=["numeric","2-digit","short","long","narrow"][o-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":t.day=["numeric","2-digit"][o-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":t.weekday=4===o?"long":5===o?"narrow":"short";break;case"e":if(o<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][o-4];break;case"c":if(o<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][o-4];break;case"a":t.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":t.hourCycle="h12",t.hour=["numeric","2-digit"][o-1];break;case"H":t.hourCycle="h23",t.hour=["numeric","2-digit"][o-1];break;case"K":t.hourCycle="h11",t.hour=["numeric","2-digit"][o-1];break;case"k":t.hourCycle="h24",t.hour=["numeric","2-digit"][o-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":t.minute=["numeric","2-digit"][o-1];break;case"s":t.second=["numeric","2-digit"][o-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":t.timeZoneName=o<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""}),t}var dl=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;function ul(e){return e.replace(/^(.*?)-/,"")}var pl=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,ml=/^(@+)?(\+|#+)?[rs]?$/g,fl=/(\*)(0+)|(#+)(0+)|(0+)/g,hl=/^(0+)$/;function vl(e){var t={};return"r"===e[e.length-1]?t.roundingPriority="morePrecision":"s"===e[e.length-1]&&(t.roundingPriority="lessPrecision"),e.replace(ml,function(e,o,l){return"string"!=typeof l?(t.minimumSignificantDigits=o.length,t.maximumSignificantDigits=o.length):"+"===l?t.minimumSignificantDigits=o.length:"#"===o[0]?t.maximumSignificantDigits=o.length:(t.minimumSignificantDigits=o.length,t.maximumSignificantDigits=o.length+("string"==typeof l?l.length:0)),""}),t}function gl(e){switch(e){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}function yl(e){var t;if("E"===e[0]&&"E"===e[1]?(t={notation:"engineering"},e=e.slice(2)):"E"===e[0]&&(t={notation:"scientific"},e=e.slice(1)),t){var o=e.slice(0,2);if("+!"===o?(t.signDisplay="always",e=e.slice(2)):"+?"===o&&(t.signDisplay="exceptZero",e=e.slice(2)),!hl.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function bl(e){var t=gl(e);return t||{}}function xl(e){for(var t={},o=0,l=e;o<l.length;o++){var n=l[o];switch(n.stem){case"percent":case"%":t.style="percent";continue;case"%x100":t.style="percent",t.scale=100;continue;case"currency":t.style="currency",t.currency=n.options[0];continue;case"group-off":case",_":t.useGrouping=!1;continue;case"precision-integer":case".":t.maximumFractionDigits=0;continue;case"measure-unit":case"unit":t.style="unit",t.unit=ul(n.options[0]);continue;case"compact-short":case"K":t.notation="compact",t.compactDisplay="short";continue;case"compact-long":case"KK":t.notation="compact",t.compactDisplay="long";continue;case"scientific":t=Eo(Eo(Eo({},t),{notation:"scientific"}),n.options.reduce(function(e,t){return Eo(Eo({},e),bl(t))},{}));continue;case"engineering":t=Eo(Eo(Eo({},t),{notation:"engineering"}),n.options.reduce(function(e,t){return Eo(Eo({},e),bl(t))},{}));continue;case"notation-simple":t.notation="standard";continue;case"unit-width-narrow":t.currencyDisplay="narrowSymbol",t.unitDisplay="narrow";continue;case"unit-width-short":t.currencyDisplay="code",t.unitDisplay="short";continue;case"unit-width-full-name":t.currencyDisplay="name",t.unitDisplay="long";continue;case"unit-width-iso-code":t.currencyDisplay="symbol";continue;case"scale":t.scale=parseFloat(n.options[0]);continue;case"rounding-mode-floor":t.roundingMode="floor";continue;case"rounding-mode-ceiling":t.roundingMode="ceil";continue;case"rounding-mode-down":t.roundingMode="trunc";continue;case"rounding-mode-up":t.roundingMode="expand";continue;case"rounding-mode-half-even":t.roundingMode="halfEven";continue;case"rounding-mode-half-down":t.roundingMode="halfTrunc";continue;case"rounding-mode-half-up":t.roundingMode="halfExpand";continue;case"integer-width":if(n.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");n.options[0].replace(fl,function(e,o,l,n,a,i){if(o)t.minimumIntegerDigits=l.length;else{if(n&&a)throw new Error("We currently do not support maximum integer digits");if(i)throw new Error("We currently do not support exact integer digits")}return""});continue}if(hl.test(n.stem))t.minimumIntegerDigits=n.stem.length;else if(pl.test(n.stem)){if(n.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");n.stem.replace(pl,function(e,o,l,n,a,i){return"*"===l?t.minimumFractionDigits=o.length:n&&"#"===n[0]?t.maximumFractionDigits=n.length:a&&i?(t.minimumFractionDigits=a.length,t.maximumFractionDigits=a.length+i.length):(t.minimumFractionDigits=o.length,t.maximumFractionDigits=o.length),""});var a=n.options[0];"w"===a?t=Eo(Eo({},t),{trailingZeroDisplay:"stripIfInteger"}):a&&(t=Eo(Eo({},t),vl(a)))}else if(ml.test(n.stem))t=Eo(Eo({},t),vl(n.stem));else{var i=gl(n.stem);i&&(t=Eo(Eo({},t),i));var r=yl(n.stem);r&&(t=Eo(Eo({},t),r))}}return t}var kl,_l={"001":["H","h"],419:["h","H","hB","hb"],AC:["H","h","hb","hB"],AD:["H","hB"],AE:["h","hB","hb","H"],AF:["H","hb","hB","h"],AG:["h","hb","H","hB"],AI:["H","h","hb","hB"],AL:["h","H","hB"],AM:["H","hB"],AO:["H","hB"],AR:["h","H","hB","hb"],AS:["h","H"],AT:["H","hB"],AU:["h","hb","H","hB"],AW:["H","hB"],AX:["H"],AZ:["H","hB","h"],BA:["H","hB","h"],BB:["h","hb","H","hB"],BD:["h","hB","H"],BE:["H","hB"],BF:["H","hB"],BG:["H","hB","h"],BH:["h","hB","hb","H"],BI:["H","h"],BJ:["H","hB"],BL:["H","hB"],BM:["h","hb","H","hB"],BN:["hb","hB","h","H"],BO:["h","H","hB","hb"],BQ:["H"],BR:["H","hB"],BS:["h","hb","H","hB"],BT:["h","H"],BW:["H","h","hb","hB"],BY:["H","h"],BZ:["H","h","hb","hB"],CA:["h","hb","H","hB"],CC:["H","h","hb","hB"],CD:["hB","H"],CF:["H","h","hB"],CG:["H","hB"],CH:["H","hB","h"],CI:["H","hB"],CK:["H","h","hb","hB"],CL:["h","H","hB","hb"],CM:["H","h","hB"],CN:["H","hB","hb","h"],CO:["h","H","hB","hb"],CP:["H"],CR:["h","H","hB","hb"],CU:["h","H","hB","hb"],CV:["H","hB"],CW:["H","hB"],CX:["H","h","hb","hB"],CY:["h","H","hb","hB"],CZ:["H"],DE:["H","hB"],DG:["H","h","hb","hB"],DJ:["h","H"],DK:["H"],DM:["h","hb","H","hB"],DO:["h","H","hB","hb"],DZ:["h","hB","hb","H"],EA:["H","h","hB","hb"],EC:["h","H","hB","hb"],EE:["H","hB"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],ER:["h","H"],ES:["H","hB","h","hb"],ET:["hB","hb","h","H"],FI:["H"],FJ:["h","hb","H","hB"],FK:["H","h","hb","hB"],FM:["h","hb","H","hB"],FO:["H","h"],FR:["H","hB"],GA:["H","hB"],GB:["H","h","hb","hB"],GD:["h","hb","H","hB"],GE:["H","hB","h"],GF:["H","hB"],GG:["H","h","hb","hB"],GH:["h","H"],GI:["H","h","hb","hB"],GL:["H","h"],GM:["h","hb","H","hB"],GN:["H","hB"],GP:["H","hB"],GQ:["H","hB","h","hb"],GR:["h","H","hb","hB"],GT:["h","H","hB","hb"],GU:["h","hb","H","hB"],GW:["H","hB"],GY:["h","hb","H","hB"],HK:["h","hB","hb","H"],HN:["h","H","hB","hb"],HR:["H","hB"],HU:["H","h"],IC:["H","h","hB","hb"],ID:["H"],IE:["H","h","hb","hB"],IL:["H","hB"],IM:["H","h","hb","hB"],IN:["h","H"],IO:["H","h","hb","hB"],IQ:["h","hB","hb","H"],IR:["hB","H"],IS:["H"],IT:["H","hB"],JE:["H","h","hb","hB"],JM:["h","hb","H","hB"],JO:["h","hB","hb","H"],JP:["H","K","h"],KE:["hB","hb","H","h"],KG:["H","h","hB","hb"],KH:["hB","h","H","hb"],KI:["h","hb","H","hB"],KM:["H","h","hB","hb"],KN:["h","hb","H","hB"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],KW:["h","hB","hb","H"],KY:["h","hb","H","hB"],KZ:["H","hB"],LA:["H","hb","hB","h"],LB:["h","hB","hb","H"],LC:["h","hb","H","hB"],LI:["H","hB","h"],LK:["H","h","hB","hb"],LR:["h","hb","H","hB"],LS:["h","H"],LT:["H","h","hb","hB"],LU:["H","h","hB"],LV:["H","hB","hb","h"],LY:["h","hB","hb","H"],MA:["H","h","hB","hb"],MC:["H","hB"],MD:["H","hB"],ME:["H","hB","h"],MF:["H","hB"],MG:["H","h"],MH:["h","hb","H","hB"],MK:["H","h","hb","hB"],ML:["H"],MM:["hB","hb","H","h"],MN:["H","h","hb","hB"],MO:["h","hB","hb","H"],MP:["h","hb","H","hB"],MQ:["H","hB"],MR:["h","hB","hb","H"],MS:["H","h","hb","hB"],MT:["H","h"],MU:["H","h"],MV:["H","h"],MW:["h","hb","H","hB"],MX:["h","H","hB","hb"],MY:["hb","hB","h","H"],MZ:["H","hB"],NA:["h","H","hB","hb"],NC:["H","hB"],NE:["H"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NI:["h","H","hB","hb"],NL:["H","hB"],NO:["H","h"],NP:["H","h","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],NZ:["h","hb","H","hB"],OM:["h","hB","hb","H"],PA:["h","H","hB","hb"],PE:["h","H","hB","hb"],PF:["H","h","hB"],PG:["h","H"],PH:["h","hB","hb","H"],PK:["h","hB","H"],PL:["H","h"],PM:["H","hB"],PN:["H","h","hb","hB"],PR:["h","H","hB","hb"],PS:["h","hB","hb","H"],PT:["H","hB"],PW:["h","H"],PY:["h","H","hB","hb"],QA:["h","hB","hb","H"],RE:["H","hB"],RO:["H","hB"],RS:["H","hB","h"],RU:["H"],RW:["H","h"],SA:["h","hB","hb","H"],SB:["h","hb","H","hB"],SC:["H","h","hB"],SD:["h","hB","hb","H"],SE:["H"],SG:["h","hb","H","hB"],SH:["H","h","hb","hB"],SI:["H","hB"],SJ:["H"],SK:["H"],SL:["h","hb","H","hB"],SM:["H","h","hB"],SN:["H","h","hB"],SO:["h","H"],SR:["H","hB"],SS:["h","hb","H","hB"],ST:["H","hB"],SV:["h","H","hB","hb"],SX:["H","h","hb","hB"],SY:["h","hB","hb","H"],SZ:["h","hb","H","hB"],TA:["H","h","hb","hB"],TC:["h","hb","H","hB"],TD:["h","H","hB"],TF:["H","h","hB"],TG:["H","hB"],TH:["H","h"],TJ:["H","h"],TL:["H","hB","hb","h"],TM:["H","h"],TN:["h","hB","hb","H"],TO:["h","H"],TR:["H","hB"],TT:["h","hb","H","hB"],TW:["hB","hb","h","H"],TZ:["hB","hb","H","h"],UA:["H","hB","h"],UG:["hB","hb","H","h"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],UY:["h","H","hB","hb"],UZ:["H","hB","h"],VA:["H","h","hB"],VC:["h","hb","H","hB"],VE:["h","H","hB","hb"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],VN:["H","h"],VU:["h","H"],WF:["H","hB"],WS:["h","H"],XK:["H","hB","h"],YE:["h","hB","hb","H"],YT:["H","hB"],ZA:["H","h","hb","hB"],ZM:["h","hb","H","hB"],ZW:["H","h"],"af-ZA":["H","h","hB","hb"],"ar-001":["h","hB","hb","H"],"ca-ES":["H","h","hB"],"en-001":["h","hb","H","hB"],"en-HK":["h","hb","H","hB"],"en-IL":["H","h","hb","hB"],"en-MY":["h","hb","H","hB"],"es-BR":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"gu-IN":["hB","hb","h","H"],"hi-IN":["hB","h","H"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],"ta-IN":["hB","h","hb","H"],"te-IN":["hB","h","H"],"zu-ZA":["H","hB","hb","h"]};function wl(e){var t=e.hourCycle;if(void 0===t&&e.hourCycles&&e.hourCycles.length&&(t=e.hourCycles[0]),t)switch(t){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}var o,l=e.language;return"root"!==l&&(o=e.maximize().region),(_l[o||""]||_l[l||""]||_l["".concat(l,"-001")]||_l["001"])[0]}var Bl=new RegExp("^".concat(rl.source,"*")),Cl=new RegExp("".concat(rl.source,"*$"));function El(e,t){return{start:e,end:t}}var Nl=!!String.prototype.startsWith&&"_a".startsWith("a",1),Tl=!!String.fromCodePoint,Ml=!!Object.fromEntries,Vl=!!String.prototype.codePointAt,Sl=!!String.prototype.trimStart,zl=!!String.prototype.trimEnd,Pl=!!Number.isSafeInteger?Number.isSafeInteger:function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},ql=!0;try{ql="a"===(null===(kl=Zl("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))||void 0===kl?void 0:kl[0])}catch(Qv){ql=!1}var Dl,Il=Nl?function(e,t,o){return e.startsWith(t,o)}:function(e,t,o){return e.slice(o,o+t.length)===t},$l=Tl?String.fromCodePoint:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var o,l="",n=e.length,a=0;n>a;){if((o=e[a++])>1114111)throw RangeError(o+" is not a valid code point");l+=o<65536?String.fromCharCode(o):String.fromCharCode(55296+((o-=65536)>>10),o%1024+56320)}return l},Ol=Ml?Object.fromEntries:function(e){for(var t={},o=0,l=e;o<l.length;o++){var n=l[o],a=n[0],i=n[1];t[a]=i}return t},Hl=Vl?function(e,t){return e.codePointAt(t)}:function(e,t){var o=e.length;if(!(t<0||t>=o)){var l,n=e.charCodeAt(t);return n<55296||n>56319||t+1===o||(l=e.charCodeAt(t+1))<56320||l>57343?n:l-56320+(n-55296<<10)+65536}},Al=Sl?function(e){return e.trimStart()}:function(e){return e.replace(Bl,"")},Ll=zl?function(e){return e.trimEnd()}:function(e){return e.replace(Cl,"")};function Zl(e,t){return new RegExp(e,t)}if(ql){var Rl=Zl("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");Dl=function(e,t){var o;return Rl.lastIndex=t,null!==(o=Rl.exec(e)[1])&&void 0!==o?o:""}}else Dl=function(e,t){for(var o=[];;){var l=Hl(e,t);if(void 0===l||Kl(l)||Wl(l))break;o.push(l),t+=l>=65536?2:1}return $l.apply(void 0,o)};var Fl,Ul,Gl=function(){function e(e,t){void 0===t&&(t={}),this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.locale=t.locale,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}return e.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(e,t,o){for(var l=[];!this.isEOF();){var n=this.char();if(123===n){if((a=this.parseArgument(e,o)).err)return a;l.push(a.val)}else{if(125===n&&e>0)break;if(35!==n||"plural"!==t&&"selectordinal"!==t){if(60===n&&!this.ignoreTag&&47===this.peek()){if(o)break;return this.error(Ao.UNMATCHED_CLOSING_TAG,El(this.clonePosition(),this.clonePosition()))}if(60===n&&!this.ignoreTag&&jl(this.peek()||0)){if((a=this.parseTag(e,t)).err)return a;l.push(a.val)}else{var a;if((a=this.parseLiteral(e,t)).err)return a;l.push(a.val)}}else{var i=this.clonePosition();this.bump(),l.push({type:Zo.pound,location:El(i,this.clonePosition())})}}}return{val:l,err:null}},e.prototype.parseTag=function(e,t){var o=this.clonePosition();this.bump();var l=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:Zo.literal,value:"<".concat(l,"/>"),location:El(o,this.clonePosition())},err:null};if(this.bumpIf(">")){var n=this.parseMessage(e+1,t,!0);if(n.err)return n;var a=n.val,i=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!jl(this.char()))return this.error(Ao.INVALID_TAG,El(i,this.clonePosition()));var r=this.clonePosition();return l!==this.parseTagName()?this.error(Ao.UNMATCHED_CLOSING_TAG,El(r,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:Zo.tag,value:l,children:a,location:El(o,this.clonePosition())},err:null}:this.error(Ao.INVALID_TAG,El(i,this.clonePosition())))}return this.error(Ao.UNCLOSED_TAG,El(o,this.clonePosition()))}return this.error(Ao.INVALID_TAG,El(o,this.clonePosition()))},e.prototype.parseTagName=function(){var e=this.offset();for(this.bump();!this.isEOF()&&Ql(this.char());)this.bump();return this.message.slice(e,this.offset())},e.prototype.parseLiteral=function(e,t){for(var o=this.clonePosition(),l="";;){var n=this.tryParseQuote(t);if(n)l+=n;else{var a=this.tryParseUnquoted(e,t);if(a)l+=a;else{var i=this.tryParseLeftAngleBracket();if(!i)break;l+=i}}}var r=El(o,this.clonePosition());return{val:{type:Zo.literal,value:l,location:r},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(jl(e=this.peek()||0)||47===e)?null:(this.bump(),"<");var e},e.prototype.tryParseQuote=function(e){if(this.isEOF()||39!==this.char())return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if("plural"===e||"selectordinal"===e)break;return null;default:return null}this.bump();var t=[this.char()];for(this.bump();!this.isEOF();){var o=this.char();if(39===o){if(39!==this.peek()){this.bump();break}t.push(39),this.bump()}else t.push(o);this.bump()}return $l.apply(void 0,t)},e.prototype.tryParseUnquoted=function(e,t){if(this.isEOF())return null;var o=this.char();return 60===o||123===o||35===o&&("plural"===t||"selectordinal"===t)||125===o&&e>0?null:(this.bump(),$l(o))},e.prototype.parseArgument=function(e,t){var o=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(Ao.EXPECT_ARGUMENT_CLOSING_BRACE,El(o,this.clonePosition()));if(125===this.char())return this.bump(),this.error(Ao.EMPTY_ARGUMENT,El(o,this.clonePosition()));var l=this.parseIdentifierIfPossible().value;if(!l)return this.error(Ao.MALFORMED_ARGUMENT,El(o,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(Ao.EXPECT_ARGUMENT_CLOSING_BRACE,El(o,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:Zo.argument,value:l,location:El(o,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(Ao.EXPECT_ARGUMENT_CLOSING_BRACE,El(o,this.clonePosition())):this.parseArgumentOptions(e,t,l,o);default:return this.error(Ao.MALFORMED_ARGUMENT,El(o,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),o=Dl(this.message,t),l=t+o.length;return this.bumpTo(l),{value:o,location:El(e,this.clonePosition())}},e.prototype.parseArgumentOptions=function(e,t,o,l){var n,a=this.clonePosition(),i=this.parseIdentifierIfPossible().value,r=this.clonePosition();switch(i){case"":return this.error(Ao.EXPECT_ARGUMENT_TYPE,El(a,r));case"number":case"date":case"time":this.bumpSpace();var c=null;if(this.bumpIf(",")){this.bumpSpace();var s=this.clonePosition();if((g=this.parseSimpleArgStyleIfPossible()).err)return g;if(0===(m=Ll(g.val)).length)return this.error(Ao.EXPECT_ARGUMENT_STYLE,El(this.clonePosition(),this.clonePosition()));c={style:m,styleLocation:El(s,this.clonePosition())}}if((y=this.tryParseArgumentClose(l)).err)return y;var d=El(l,this.clonePosition());if(c&&Il(null==c?void 0:c.style,"::",0)){var u=Al(c.style.slice(2));if("number"===i)return(g=this.parseNumberSkeletonFromString(u,c.styleLocation)).err?g:{val:{type:Zo.number,value:o,location:d,style:g.val},err:null};if(0===u.length)return this.error(Ao.EXPECT_DATE_TIME_SKELETON,d);var p=u;this.locale&&(p=function(e,t){for(var o="",l=0;l<e.length;l++){var n=e.charAt(l);if("j"===n){for(var a=0;l+1<e.length&&e.charAt(l+1)===n;)a++,l++;var i=1+(1&a),r=a<2?1:3+(a>>1),c=wl(t);for("H"!=c&&"k"!=c||(r=0);r-- >0;)o+="a";for(;i-- >0;)o=c+o}else o+="J"===n?"H":n}return o}(u,this.locale));var m={type:Fo.dateTime,pattern:p,location:c.styleLocation,parsedOptions:this.shouldParseSkeletons?sl(p):{}};return{val:{type:"date"===i?Zo.date:Zo.time,value:o,location:d,style:m},err:null}}return{val:{type:"number"===i?Zo.number:"date"===i?Zo.date:Zo.time,value:o,location:d,style:null!==(n=null==c?void 0:c.style)&&void 0!==n?n:null},err:null};case"plural":case"selectordinal":case"select":var f=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(Ao.EXPECT_SELECT_ARGUMENT_OPTIONS,El(f,Eo({},f)));this.bumpSpace();var h=this.parseIdentifierIfPossible(),v=0;if("select"!==i&&"offset"===h.value){if(!this.bumpIf(":"))return this.error(Ao.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,El(this.clonePosition(),this.clonePosition()));var g;if(this.bumpSpace(),(g=this.tryParseDecimalInteger(Ao.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,Ao.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return g;this.bumpSpace(),h=this.parseIdentifierIfPossible(),v=g.val}var y,b=this.tryParsePluralOrSelectOptions(e,i,t,h);if(b.err)return b;if((y=this.tryParseArgumentClose(l)).err)return y;var x=El(l,this.clonePosition());return"select"===i?{val:{type:Zo.select,value:o,options:Ol(b.val),location:x},err:null}:{val:{type:Zo.plural,value:o,options:Ol(b.val),offset:v,pluralType:"plural"===i?"cardinal":"ordinal",location:x},err:null};default:return this.error(Ao.INVALID_ARGUMENT_TYPE,El(a,r))}},e.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(Ao.EXPECT_ARGUMENT_CLOSING_BRACE,El(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var e=0,t=this.clonePosition();!this.isEOF();){switch(this.char()){case 39:this.bump();var o=this.clonePosition();if(!this.bumpUntil("'"))return this.error(Ao.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,El(o,this.clonePosition()));this.bump();break;case 123:e+=1,this.bump();break;case 125:if(!(e>0))return{val:this.message.slice(t.offset,this.offset()),err:null};e-=1;break;default:this.bump()}}return{val:this.message.slice(t.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(e,t){var o=[];try{o=function(e){if(0===e.length)throw new Error("Number skeleton cannot be empty");for(var t=[],o=0,l=e.split(dl).filter(function(e){return e.length>0});o<l.length;o++){var n=l[o].split("/");if(0===n.length)throw new Error("Invalid number skeleton");for(var a=n[0],i=n.slice(1),r=0,c=i;r<c.length;r++)if(0===c[r].length)throw new Error("Invalid number skeleton");t.push({stem:a,options:i})}return t}(e)}catch(l){return this.error(Ao.INVALID_NUMBER_SKELETON,t)}return{val:{type:Fo.number,tokens:o,location:t,parsedOptions:this.shouldParseSkeletons?xl(o):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(e,t,o,l){for(var n,a=!1,i=[],r=new Set,c=l.value,s=l.location;;){if(0===c.length){var d=this.clonePosition();if("select"===t||!this.bumpIf("="))break;var u=this.tryParseDecimalInteger(Ao.EXPECT_PLURAL_ARGUMENT_SELECTOR,Ao.INVALID_PLURAL_ARGUMENT_SELECTOR);if(u.err)return u;s=El(d,this.clonePosition()),c=this.message.slice(d.offset,this.offset())}if(r.has(c))return this.error("select"===t?Ao.DUPLICATE_SELECT_ARGUMENT_SELECTOR:Ao.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,s);"other"===c&&(a=!0),this.bumpSpace();var p=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?Ao.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:Ao.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,El(this.clonePosition(),this.clonePosition()));var m=this.parseMessage(e+1,t,o);if(m.err)return m;var f=this.tryParseArgumentClose(p);if(f.err)return f;i.push([c,{value:m.val,location:El(p,this.clonePosition())}]),r.add(c),this.bumpSpace(),c=(n=this.parseIdentifierIfPossible()).value,s=n.location}return 0===i.length?this.error("select"===t?Ao.EXPECT_SELECT_ARGUMENT_SELECTOR:Ao.EXPECT_PLURAL_ARGUMENT_SELECTOR,El(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!a?this.error(Ao.MISSING_OTHER_CLAUSE,El(this.clonePosition(),this.clonePosition())):{val:i,err:null}},e.prototype.tryParseDecimalInteger=function(e,t){var o=1,l=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(o=-1);for(var n=!1,a=0;!this.isEOF();){var i=this.char();if(!(i>=48&&i<=57))break;n=!0,a=10*a+(i-48),this.bump()}var r=El(l,this.clonePosition());return n?Pl(a*=o)?{val:a,err:null}:this.error(t,r):this.error(e,r)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},e.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=Hl(this.message,e);if(void 0===t)throw Error("Offset ".concat(e," is at invalid UTF-16 code unit boundary"));return t},e.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},e.prototype.bump=function(){if(!this.isEOF()){var e=this.char();10===e?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=e<65536?1:2)}},e.prototype.bumpIf=function(e){if(Il(this.message,e,this.offset())){for(var t=0;t<e.length;t++)this.bump();return!0}return!1},e.prototype.bumpUntil=function(e){var t=this.offset(),o=this.message.indexOf(e,t);return o>=0?(this.bumpTo(o),!0):(this.bumpTo(this.message.length),!1)},e.prototype.bumpTo=function(e){if(this.offset()>e)throw Error("targetOffset ".concat(e," must be greater than or equal to the current offset ").concat(this.offset()));for(e=Math.min(e,this.message.length);;){var t=this.offset();if(t===e)break;if(t>e)throw Error("targetOffset ".concat(e," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},e.prototype.bumpSpace=function(){for(;!this.isEOF()&&Kl(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var e=this.char(),t=this.offset(),o=this.message.charCodeAt(t+(e>=65536?2:1));return null!=o?o:null},e}();function jl(e){return e>=97&&e<=122||e>=65&&e<=90}function Ql(e){return 45===e||46===e||e>=48&&e<=57||95===e||e>=97&&e<=122||e>=65&&e<=90||183==e||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039}function Kl(e){return e>=9&&e<=13||32===e||133===e||e>=8206&&e<=8207||8232===e||8233===e}function Wl(e){return e>=33&&e<=35||36===e||e>=37&&e<=39||40===e||41===e||42===e||43===e||44===e||45===e||e>=46&&e<=47||e>=58&&e<=59||e>=60&&e<=62||e>=63&&e<=64||91===e||92===e||93===e||94===e||96===e||123===e||124===e||125===e||126===e||161===e||e>=162&&e<=165||166===e||167===e||169===e||171===e||172===e||174===e||176===e||177===e||182===e||187===e||191===e||215===e||247===e||e>=8208&&e<=8213||e>=8214&&e<=8215||8216===e||8217===e||8218===e||e>=8219&&e<=8220||8221===e||8222===e||8223===e||e>=8224&&e<=8231||e>=8240&&e<=8248||8249===e||8250===e||e>=8251&&e<=8254||e>=8257&&e<=8259||8260===e||8261===e||8262===e||e>=8263&&e<=8273||8274===e||8275===e||e>=8277&&e<=8286||e>=8592&&e<=8596||e>=8597&&e<=8601||e>=8602&&e<=8603||e>=8604&&e<=8607||8608===e||e>=8609&&e<=8610||8611===e||e>=8612&&e<=8613||8614===e||e>=8615&&e<=8621||8622===e||e>=8623&&e<=8653||e>=8654&&e<=8655||e>=8656&&e<=8657||8658===e||8659===e||8660===e||e>=8661&&e<=8691||e>=8692&&e<=8959||e>=8960&&e<=8967||8968===e||8969===e||8970===e||8971===e||e>=8972&&e<=8991||e>=8992&&e<=8993||e>=8994&&e<=9e3||9001===e||9002===e||e>=9003&&e<=9083||9084===e||e>=9085&&e<=9114||e>=9115&&e<=9139||e>=9140&&e<=9179||e>=9180&&e<=9185||e>=9186&&e<=9254||e>=9255&&e<=9279||e>=9280&&e<=9290||e>=9291&&e<=9311||e>=9472&&e<=9654||9655===e||e>=9656&&e<=9664||9665===e||e>=9666&&e<=9719||e>=9720&&e<=9727||e>=9728&&e<=9838||9839===e||e>=9840&&e<=10087||10088===e||10089===e||10090===e||10091===e||10092===e||10093===e||10094===e||10095===e||10096===e||10097===e||10098===e||10099===e||10100===e||10101===e||e>=10132&&e<=10175||e>=10176&&e<=10180||10181===e||10182===e||e>=10183&&e<=10213||10214===e||10215===e||10216===e||10217===e||10218===e||10219===e||10220===e||10221===e||10222===e||10223===e||e>=10224&&e<=10239||e>=10240&&e<=10495||e>=10496&&e<=10626||10627===e||10628===e||10629===e||10630===e||10631===e||10632===e||10633===e||10634===e||10635===e||10636===e||10637===e||10638===e||10639===e||10640===e||10641===e||10642===e||10643===e||10644===e||10645===e||10646===e||10647===e||10648===e||e>=10649&&e<=10711||10712===e||10713===e||10714===e||10715===e||e>=10716&&e<=10747||10748===e||10749===e||e>=10750&&e<=11007||e>=11008&&e<=11055||e>=11056&&e<=11076||e>=11077&&e<=11078||e>=11079&&e<=11084||e>=11085&&e<=11123||e>=11124&&e<=11125||e>=11126&&e<=11157||11158===e||e>=11159&&e<=11263||e>=11776&&e<=11777||11778===e||11779===e||11780===e||11781===e||e>=11782&&e<=11784||11785===e||11786===e||11787===e||11788===e||11789===e||e>=11790&&e<=11798||11799===e||e>=11800&&e<=11801||11802===e||11803===e||11804===e||11805===e||e>=11806&&e<=11807||11808===e||11809===e||11810===e||11811===e||11812===e||11813===e||11814===e||11815===e||11816===e||11817===e||e>=11818&&e<=11822||11823===e||e>=11824&&e<=11833||e>=11834&&e<=11835||e>=11836&&e<=11839||11840===e||11841===e||11842===e||e>=11843&&e<=11855||e>=11856&&e<=11857||11858===e||e>=11859&&e<=11903||e>=12289&&e<=12291||12296===e||12297===e||12298===e||12299===e||12300===e||12301===e||12302===e||12303===e||12304===e||12305===e||e>=12306&&e<=12307||12308===e||12309===e||12310===e||12311===e||12312===e||12313===e||12314===e||12315===e||12316===e||12317===e||e>=12318&&e<=12319||12320===e||12336===e||64830===e||64831===e||e>=65093&&e<=65094}function Yl(e){e.forEach(function(e){if(delete e.location,tl(e)||ol(e))for(var t in e.options)delete e.options[t].location,Yl(e.options[t].value);else Xo(e)&&al(e.style)||(Jo(e)||el(e))&&il(e.style)?delete e.style.location:nl(e)&&Yl(e.children)})}function Xl(e,t){void 0===t&&(t={}),t=Eo({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var o=new Gl(e,t).parse();if(o.err){var l=SyntaxError(Ao[o.err.kind]);throw l.location=o.err.location,l.originalMessage=o.err.message,l}return(null==t?void 0:t.captureLocation)||Yl(o.val),o.val}(Ul=Fl||(Fl={})).MISSING_VALUE="MISSING_VALUE",Ul.INVALID_VALUE="INVALID_VALUE",Ul.MISSING_INTL_API="MISSING_INTL_API";var Jl,en,tn=function(e){function t(t,o,l){var n=e.call(this,t)||this;return n.code=o,n.originalMessage=l,n}return wo(t,e),t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),on=function(e){function t(t,o,l,n){return e.call(this,'Invalid values for "'.concat(t,'": "').concat(o,'". Options are "').concat(Object.keys(l).join('", "'),'"'),Fl.INVALID_VALUE,n)||this}return wo(t,e),t}(tn),ln=function(e){function t(t,o,l){return e.call(this,'Value for "'.concat(t,'" must be of type ').concat(o),Fl.INVALID_VALUE,l)||this}return wo(t,e),t}(tn),nn=function(e){function t(t,o){return e.call(this,'The intl string context variable "'.concat(t,'" was not provided to the string "').concat(o,'"'),Fl.MISSING_VALUE,o)||this}return wo(t,e),t}(tn);function an(e){return"function"==typeof e}function rn(e,t,o,l,n,a,i){if(1===e.length&&Wo(e[0]))return[{type:Jl.literal,value:e[0].value}];for(var r=[],c=0,s=e;c<s.length;c++){var d=s[c];if(Wo(d))r.push({type:Jl.literal,value:d.value});else if(ll(d))"number"==typeof a&&r.push({type:Jl.literal,value:o.getNumberFormat(t).format(a)});else{var u=d.value;if(!n||!(u in n))throw new nn(u,i);var p=n[u];if(Yo(d))p&&"string"!=typeof p&&"number"!=typeof p||(p="string"==typeof p||"number"==typeof p?String(p):""),r.push({type:"string"==typeof p?Jl.literal:Jl.object,value:p});else if(Jo(d)){var m="string"==typeof d.style?l.date[d.style]:il(d.style)?d.style.parsedOptions:void 0;r.push({type:Jl.literal,value:o.getDateTimeFormat(t,m).format(p)})}else if(el(d)){m="string"==typeof d.style?l.time[d.style]:il(d.style)?d.style.parsedOptions:l.time.medium;r.push({type:Jl.literal,value:o.getDateTimeFormat(t,m).format(p)})}else if(Xo(d)){(m="string"==typeof d.style?l.number[d.style]:al(d.style)?d.style.parsedOptions:void 0)&&m.scale&&(p*=m.scale||1),r.push({type:Jl.literal,value:o.getNumberFormat(t,m).format(p)})}else{if(nl(d)){var f=d.children,h=d.value,v=n[h];if(!an(v))throw new ln(h,"function",i);var g=v(rn(f,t,o,l,n,a).map(function(e){return e.value}));Array.isArray(g)||(g=[g]),r.push.apply(r,g.map(function(e){return{type:"string"==typeof e?Jl.literal:Jl.object,value:e}}))}if(tl(d)){if(!(y=d.options[p]||d.options.other))throw new on(d.value,p,Object.keys(d.options),i);r.push.apply(r,rn(y.value,t,o,l,n))}else if(ol(d)){var y;if(!(y=d.options["=".concat(p)])){if(!Intl.PluralRules)throw new tn('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',Fl.MISSING_INTL_API,i);var b=o.getPluralRules(t,{type:d.pluralType}).select(p-(d.offset||0));y=d.options[b]||d.options.other}if(!y)throw new on(d.value,p,Object.keys(d.options),i);r.push.apply(r,rn(y.value,t,o,l,n,p-(d.offset||0)))}else;}}}return function(e){return e.length<2?e:e.reduce(function(e,t){var o=e[e.length-1];return o&&o.type===Jl.literal&&t.type===Jl.literal?o.value+=t.value:e.push(t),e},[])}(r)}function cn(e,t){return t?Object.keys(e).reduce(function(o,l){var n,a;return o[l]=(n=e[l],(a=t[l])?Eo(Eo(Eo({},n||{}),a||{}),Object.keys(n).reduce(function(e,t){return e[t]=Eo(Eo({},n[t]),a[t]||{}),e},{})):n),o},Eo({},e)):e}function sn(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,o){e[t]=o}}}}}(en=Jl||(Jl={}))[en.literal=0]="literal",en[en.object=1]="object";var dn=function(){function e(t,o,l,n){void 0===o&&(o=e.defaultLocale);var a,i=this;if(this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){var t=i.formatToParts(e);if(1===t.length)return t[0].value;var o=t.reduce(function(e,t){return e.length&&t.type===Jl.literal&&"string"==typeof e[e.length-1]?e[e.length-1]+=t.value:e.push(t.value),e},[]);return o.length<=1?o[0]||"":o},this.formatToParts=function(e){return rn(i.ast,i.locales,i.formatters,i.formats,e,void 0,i.message)},this.resolvedOptions=function(){var e;return{locale:(null===(e=i.resolvedLocale)||void 0===e?void 0:e.toString())||Intl.NumberFormat.supportedLocalesOf(i.locales)[0]}},this.getAst=function(){return i.ast},this.locales=o,this.resolvedLocale=e.resolveLocale(o),"string"==typeof t){if(this.message=t,!e.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");var r=n||{};r.formatters;var c=function(e,t){var o={};for(var l in e)Object.prototype.hasOwnProperty.call(e,l)&&t.indexOf(l)<0&&(o[l]=e[l]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(l=Object.getOwnPropertySymbols(e);n<l.length;n++)t.indexOf(l[n])<0&&Object.prototype.propertyIsEnumerable.call(e,l[n])&&(o[l[n]]=e[l[n]])}return o}(r,["formatters"]);this.ast=e.__parse(t,Eo(Eo({},c),{locale:this.resolvedLocale}))}else this.ast=t;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=cn(e.formats,l),this.formatters=n&&n.formatters||(void 0===(a=this.formatterCache)&&(a={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:Do(function(){for(var e,t=[],o=0;o<arguments.length;o++)t[o]=arguments[o];return new((e=Intl.NumberFormat).bind.apply(e,No([void 0],t,!1)))},{cache:sn(a.number),strategy:Ko.variadic}),getDateTimeFormat:Do(function(){for(var e,t=[],o=0;o<arguments.length;o++)t[o]=arguments[o];return new((e=Intl.DateTimeFormat).bind.apply(e,No([void 0],t,!1)))},{cache:sn(a.dateTime),strategy:Ko.variadic}),getPluralRules:Do(function(){for(var e,t=[],o=0;o<arguments.length;o++)t[o]=arguments[o];return new((e=Intl.PluralRules).bind.apply(e,No([void 0],t,!1)))},{cache:sn(a.pluralRules),strategy:Ko.variadic})})}return Object.defineProperty(e,"defaultLocale",{get:function(){return e.memoizedDefaultLocale||(e.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),e.memoizedDefaultLocale},enumerable:!1,configurable:!0}),e.memoizedDefaultLocale=null,e.resolveLocale=function(e){if(void 0!==Intl.Locale){var t=Intl.NumberFormat.supportedLocalesOf(e);return t.length>0?new Intl.Locale(t[0]):new Intl.Locale("string"==typeof e?e:e[0])}},e.__parse=Xl,e.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},e}();function un(e,t,o){return void 0===o&&(o={}),t.reduce(function(t,l){return l in e?t[l]=e[l]:l in o&&(t[l]=o[l]),t},{})}var pn={formats:{},messages:{},timeZone:void 0,defaultLocale:"en",defaultFormats:{},fallbackOnEmptyString:!0,onError:function(e){process.env.NODE_ENV},onWarn:function(e){process.env.NODE_ENV}};function mn(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,o){e[t]=o}}}}}function fn(e,t,o,l){var n,a=e&&e[t];if(a&&(n=a[o]),n)return n;l(new Mo("No ".concat(t," format named: ").concat(o)))}var hn=["formatMatcher","timeZone","hour12","weekday","era","year","month","day","hour","minute","second","timeZoneName","hourCycle","dateStyle","timeStyle","calendar","numberingSystem","fractionalSecondDigits"];function vn(e,t,o,l){var n=e.locale,a=e.formats,i=e.onError,r=e.timeZone;void 0===l&&(l={});var c=l.format,s=Eo(Eo({},r&&{timeZone:r}),c&&fn(a,t,c,i)),d=un(l,hn,s);return"time"!==t||d.hour||d.minute||d.second||d.timeStyle||d.dateStyle||(d=Eo(Eo({},d),{hour:"numeric",minute:"numeric"})),o(n,d)}function gn(e,t){for(var o=[],l=2;l<arguments.length;l++)o[l-2]=arguments[l];var n=o[0],a=o[1],i=void 0===a?{}:a,r="string"==typeof n?new Date(n||0):n;try{return vn(e,"date",t,i).format(r)}catch(c){e.onError(new zo("Error formatting date.",e.locale,c))}return String(r)}function yn(e,t){for(var o=[],l=2;l<arguments.length;l++)o[l-2]=arguments[l];var n=o[0],a=o[1],i=void 0===a?{}:a,r="string"==typeof n?new Date(n||0):n;try{return vn(e,"time",t,i).format(r)}catch(c){e.onError(new zo("Error formatting time.",e.locale,c))}return String(r)}function bn(e,t){for(var o=[],l=2;l<arguments.length;l++)o[l-2]=arguments[l];var n=o[0],a=o[1],i=o[2],r=void 0===i?{}:i,c="string"==typeof n?new Date(n||0):n,s="string"==typeof a?new Date(a||0):a;try{return vn(e,"dateTimeRange",t,r).formatRange(c,s)}catch(d){e.onError(new zo("Error formatting date time range.",e.locale,d))}return String(c)}function xn(e,t){for(var o=[],l=2;l<arguments.length;l++)o[l-2]=arguments[l];var n=o[0],a=o[1],i=void 0===a?{}:a,r="string"==typeof n?new Date(n||0):n;try{return vn(e,"date",t,i).formatToParts(r)}catch(c){e.onError(new zo("Error formatting date.",e.locale,c))}return[]}function kn(e,t){for(var o=[],l=2;l<arguments.length;l++)o[l-2]=arguments[l];var n=o[0],a=o[1],i=void 0===a?{}:a,r="string"==typeof n?new Date(n||0):n;try{return vn(e,"time",t,i).formatToParts(r)}catch(c){e.onError(new zo("Error formatting time.",e.locale,c))}return[]}var _n=["style","type","fallback","languageDisplay"];function wn(e,t,o,l){var n=e.locale,a=e.onError;Intl.DisplayNames||a(new tn('Intl.DisplayNames is not available in this environment.\nTry polyfilling it using "@formatjs/intl-displaynames"\n',Fl.MISSING_INTL_API));var i=un(l,_n);try{return t(n,i).of(o)}catch(r){a(new zo("Error formatting display name.",n,r))}}var Bn=["type","style"],Cn=Date.now();function En(e,t,o,l){void 0===l&&(l={});var n=Nn(e,t,o,l).reduce(function(e,t){var o=t.value;return"string"!=typeof o?e.push(o):"string"==typeof e[e.length-1]?e[e.length-1]+=o:e.push(o),e},[]);return 1===n.length?n[0]:0===n.length?"":n}function Nn(e,t,o,l){var n=e.locale,a=e.onError;void 0===l&&(l={}),Intl.ListFormat||a(new tn('Intl.ListFormat is not available in this environment.\nTry polyfilling it using "@formatjs/intl-listformat"\n',Fl.MISSING_INTL_API));var i=un(l,Bn);try{var r={},c=Array.from(o).map(function(e,t){if("object"==typeof e&&null!==e){var o=function(e){return"".concat(Cn,"_").concat(e,"_").concat(Cn)}(t);return r[o]=e,o}return String(e)});return t(n,i).formatToParts(c).map(function(e){return"literal"===e.type?e:Eo(Eo({},e),{value:r[e.value]||e.value})})}catch(s){a(new zo("Error formatting list.",n,s))}return o}function Tn(e,t){return Object.keys(e).reduce(function(o,l){return o[l]=Eo({timeZone:t},e[l]),o},{})}function Mn(e,t){return Object.keys(Eo(Eo({},e),t)).reduce(function(o,l){return o[l]=Eo(Eo({},e[l]||{}),t[l]||{}),o},{})}function Vn(e,t){if(!t)return e;var o=dn.formats;return Eo(Eo(Eo({},o),e),{date:Mn(Tn(o.date,t),Tn(e.date||{},t)),time:Mn(Tn(o.time,t),Tn(e.time||{},t))})}var Sn=function(e,t,o,l,n){var a=e.locale,i=e.formats,r=e.messages,c=e.defaultLocale,s=e.defaultFormats,d=e.fallbackOnEmptyString,u=e.onError,p=e.timeZone,m=e.defaultRichTextElements;void 0===o&&(o={id:""});var f=o.id,h=o.defaultMessage;!function(e,t,o){if(void 0===o&&(o=Error),!e)throw new o(t)}(!!f,"[@formatjs/intl] An `id` must be provided to format a message. You can either:\n1. Configure your build toolchain with [babel-plugin-formatjs](https://formatjs.github.io/docs/tooling/babel-plugin)\nor [@formatjs/ts-transformer](https://formatjs.github.io/docs/tooling/ts-transformer) OR\n2. Configure your `eslint` config to include [eslint-plugin-formatjs](https://formatjs.github.io/docs/tooling/linter#enforce-id)\nto autofix this issue");var v=String(f),g=r&&Object.prototype.hasOwnProperty.call(r,v)&&r[v];if(Array.isArray(g)&&1===g.length&&g[0].type===Zo.literal)return g[0].value;if(!l&&g&&"string"==typeof g&&!m)return g.replace(/'\{(.*?)\}'/gi,"{$1}");if(l=Eo(Eo({},m),l||{}),i=Vn(i,p),s=Vn(s,p),!g){if(!1===d&&""===g)return g;if((!h||a&&a.toLowerCase()!==c.toLowerCase())&&u(new qo(o,a)),h)try{return t.getMessageFormat(h,c,s,n).format(l)}catch(y){return u(new Po('Error formatting default message for: "'.concat(v,'", rendering default message verbatim'),a,o,y)),"string"==typeof h?h:v}return v}try{return t.getMessageFormat(g,a,i,Eo({formatters:t},n||{})).format(l)}catch(y){u(new Po('Error formatting message: "'.concat(v,'", using ').concat(h?"default message":"id"," as fallback."),a,o,y))}if(h)try{return t.getMessageFormat(h,c,s,n).format(l)}catch(y){u(new Po('Error formatting the default message for: "'.concat(v,'", rendering message verbatim'),a,o,y))}return"string"==typeof g?g:"string"==typeof h?h:v},zn=["style","currency","unit","unitDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","currencyDisplay","currencySign","notation","signDisplay","unit","unitDisplay","numberingSystem","trailingZeroDisplay","roundingPriority","roundingIncrement","roundingMode"];function Pn(e,t,o){var l=e.locale,n=e.formats,a=e.onError;void 0===o&&(o={});var i=o.format,r=i&&fn(n,"number",i,a)||{};return t(l,un(o,zn,r))}function qn(e,t,o,l){void 0===l&&(l={});try{return Pn(e,t,l).format(o)}catch(n){e.onError(new zo("Error formatting number.",e.locale,n))}return String(o)}function Dn(e,t,o,l){void 0===l&&(l={});try{return Pn(e,t,l).formatToParts(o)}catch(n){e.onError(new zo("Error formatting number.",e.locale,n))}return[]}var In=["type"];function $n(e,t,o,l){var n=e.locale,a=e.onError;void 0===l&&(l={}),Intl.PluralRules||a(new tn('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',Fl.MISSING_INTL_API));var i=un(l,In);try{return t(n,i).select(o)}catch(r){a(new zo("Error formatting plural.",n,r))}return"other"}var On=["numeric","style"];function Hn(e,t,o,l,n){void 0===n&&(n={}),l||(l="second"),Intl.RelativeTimeFormat||e.onError(new tn('Intl.RelativeTimeFormat is not available in this environment.\nTry polyfilling it using "@formatjs/intl-relativetimeformat"\n',Fl.MISSING_INTL_API));try{return function(e,t,o){var l=e.locale,n=e.formats,a=e.onError;void 0===o&&(o={});var i=o.format,r=!!i&&fn(n,"relative",i,a)||{};return t(l,un(o,On,r))}(e,t,n).format(o,l)}catch(a){e.onError(new zo("Error formatting relative time.",e.locale,a))}return String(o)}function An(e){var t;e.onWarn&&e.defaultRichTextElements&&"string"==typeof((t=e.messages||{})?t[Object.keys(t)[0]]:void 0)&&e.onWarn('[@formatjs/intl] "defaultRichTextElements" was specified but "message" was not pre-compiled. \nPlease consider using "@formatjs/cli" to pre-compile your messages for performance.\nFor more details see https://formatjs.github.io/docs/getting-started/message-distribution')}function Ln(e,t){var o=function(e){void 0===e&&(e={dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}});var t=Intl.RelativeTimeFormat,o=Intl.ListFormat,l=Intl.DisplayNames,n=Do(function(){for(var e,t=[],o=0;o<arguments.length;o++)t[o]=arguments[o];return new((e=Intl.DateTimeFormat).bind.apply(e,No([void 0],t,!1)))},{cache:mn(e.dateTime),strategy:Ko.variadic}),a=Do(function(){for(var e,t=[],o=0;o<arguments.length;o++)t[o]=arguments[o];return new((e=Intl.NumberFormat).bind.apply(e,No([void 0],t,!1)))},{cache:mn(e.number),strategy:Ko.variadic}),i=Do(function(){for(var e,t=[],o=0;o<arguments.length;o++)t[o]=arguments[o];return new((e=Intl.PluralRules).bind.apply(e,No([void 0],t,!1)))},{cache:mn(e.pluralRules),strategy:Ko.variadic});return{getDateTimeFormat:n,getNumberFormat:a,getMessageFormat:Do(function(e,t,o,l){return new dn(e,t,o,Eo({formatters:{getNumberFormat:a,getDateTimeFormat:n,getPluralRules:i}},l||{}))},{cache:mn(e.message),strategy:Ko.variadic}),getRelativeTimeFormat:Do(function(){for(var e=[],o=0;o<arguments.length;o++)e[o]=arguments[o];return new(t.bind.apply(t,No([void 0],e,!1)))},{cache:mn(e.relativeTime),strategy:Ko.variadic}),getPluralRules:i,getListFormat:Do(function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return new(o.bind.apply(o,No([void 0],e,!1)))},{cache:mn(e.list),strategy:Ko.variadic}),getDisplayNames:Do(function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return new(l.bind.apply(l,No([void 0],e,!1)))},{cache:mn(e.displayNames),strategy:Ko.variadic})}}(t),l=Eo(Eo({},pn),e),n=l.locale,a=l.defaultLocale,i=l.onError;return n?!Intl.NumberFormat.supportedLocalesOf(n).length&&i?i(new So('Missing locale data for locale: "'.concat(n,'" in Intl.NumberFormat. Using default locale: "').concat(a,'" as fallback. See https://formatjs.github.io/docs/react-intl#runtime-requirements for more details'))):!Intl.DateTimeFormat.supportedLocalesOf(n).length&&i&&i(new So('Missing locale data for locale: "'.concat(n,'" in Intl.DateTimeFormat. Using default locale: "').concat(a,'" as fallback. See https://formatjs.github.io/docs/react-intl#runtime-requirements for more details'))):(i&&i(new Vo('"locale" was not configured, using "'.concat(a,'" as fallback. See https://formatjs.github.io/docs/react-intl/api#intlshape for more details'))),l.locale=l.defaultLocale||"en"),An(l),Eo(Eo({},l),{formatters:o,formatNumber:qn.bind(null,l,o.getNumberFormat),formatNumberToParts:Dn.bind(null,l,o.getNumberFormat),formatRelativeTime:Hn.bind(null,l,o.getRelativeTimeFormat),formatDate:gn.bind(null,l,o.getDateTimeFormat),formatDateToParts:xn.bind(null,l,o.getDateTimeFormat),formatTime:yn.bind(null,l,o.getDateTimeFormat),formatDateTimeRange:bn.bind(null,l,o.getDateTimeFormat),formatTimeToParts:kn.bind(null,l,o.getDateTimeFormat),formatPlural:$n.bind(null,l,o.getPluralRules),formatMessage:Sn.bind(null,l,o),$t:Sn.bind(null,l,o),formatList:En.bind(null,l,o.getListFormat),formatListToParts:Nn.bind(null,l,o.getListFormat),formatDisplayName:wn.bind(null,l,o.getDisplayNames)})}const Zn=Symbol(),Rn={hour:"2-digit",minute:"2-digit",second:"2-digit"},Fn=e=>e.includes("US"),Un={dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}},Gn=()=>{const t=e.inject(Zn);if(!t)throw new Error("IntlProvider is not provided");return t},jn={"primary-light":{base:"bg-primary-50",baseDark:"bg-primary-100",text:"text-primary-800",border:"border-primary-800/70"},primary:{base:"bg-primary-100",baseDark:"bg-primary-200",text:"text-primary-800",border:"border-primary-800/70"},secondary:{base:"bg-secondary-100",baseDark:"bg-secondary-200",text:"text-secondary-800",border:"border-secondary-800/70"},dark:{base:"bg-gray-100",baseDark:"bg-gray-200",text:"text-gray-800",border:"border-gray-800/70"},red:{base:"bg-red-100",baseDark:"bg-red-200",text:"text-red-800",border:"border-red-800/70"},green:{base:"bg-green-100",baseDark:"bg-green-200",text:"text-green-800",border:"border-green-800/70"},blue:{base:"bg-blue-100",baseDark:"bg-blue-200",text:"text-blue-800",border:"border-blue-800/70"},teal:{base:"bg-teal-100",baseDark:"bg-teal-200",text:"text-teal-800",border:"border-teal-800/70"},"teal-light":{base:"bg-teal-50",baseDark:"bg-teal-200",text:"text-teal-800",border:"border-teal-800/70"},yellow:{base:"bg-yellow-100",baseDark:"bg-yellow-200",text:"text-yellow-800",border:"border-yellow-800/70"},indigo:{base:"bg-indigo-100",baseDark:"bg-indigo-200",text:"text-indigo-800",border:"border-indigo-800/70"},purple:{base:"bg-purple-100",baseDark:"bg-purple-200",text:"text-purple-800",border:"border-purple-800/70"},pink:{base:"bg-pink-100",baseDark:"bg-pink-200",text:"text-pink-800",border:"border-pink-800/70"},orange:{base:"bg-orange-100",baseDark:"bg-orange-200",text:"text-orange-800",border:"border-orange-800/70"},black:{base:"bg-black",baseDark:"bg-gray-900",text:"text-white",border:"bg-gray-900/70"}},Qn=e.defineComponent({__name:"Chip",props:{color:{default:"primary"},content:{},dark:{type:Boolean,default:!1},removable:{type:Boolean,default:!1},size:{default:"md"},variant:{default:"default"},textClass:{},tag:{default:"span"},hasChipBefore:{type:Boolean},hasChipAfter:{type:Boolean}},emits:["removed"],setup(t){const o=t,l=e.computed(()=>jn[o.color][o.dark?"baseDark":"base"]),n=e.computed(()=>jn[o.color].text),a=e.computed(()=>jn[o.color].border);return(o,i)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.tag),e.mergeProps(o.$attrs,{class:["inline-flex items-center gap-1 whitespace-nowrap rounded pl-2",{"pr-2":!t.removable,"h-4 px-2":"xs"===t.size,"h-4":"sm"===t.size,"h-5":"md"===t.size,"h-6":"lg"===t.size,"rounded-r-none":t.hasChipAfter,"rounded-l-none":t.hasChipBefore,[l.value]:!!l.value&&"outline"!==t.variant,"border bg-transparent":"outline"===t.variant,[a.value]:"outline"===t.variant&&!!a.value}]}),{default:e.withCtx(()=>[e.createElementVNode("span",{class:e.normalizeClass([[n.value,t.textClass,"xs"===t.size?"text-[11px]":"text-xs"],"flex-grow text-center"])},[e.renderSlot(o.$slots,"default",{},()=>[e.createTextVNode(e.toDisplayString(t.content),1)])],2),t.removable?(e.openBlock(),e.createElementBlock("button",{key:0,class:e.normalizeClass([{"h-5 w-4":"sm"===t.size,"h-5 w-5":"md"===t.size,"h-5 w-6":"lg"===t.size,[l.value]:!!l.value},"flex aspect-square h-full items-center justify-center rounded"]),type:"button",title:"Remove",onClick:i[0]||(i[0]=e=>o.$emit("removed"))},[e.createVNode(e.unref(w),{class:e.normalizeClass(n.value),icon:"close",size:"xs"},null,8,["class"])],2)):e.createCommentVNode("",!0)]),_:3},16,["class"]))}}),Kn=e.defineComponent({__name:"PaymentMethodDefaultChip",props:{isDefault:{type:Boolean}},setup(t){const o=Gn();return(l,n)=>t.isDefault?(e.openBlock(),e.createBlock(Qn,{key:0,class:"mt-1 self-start"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(o).$t({defaultMessage:"Default",description:"The textual label for the default payment method chip",id:"payment_methods.default_chip.label"})),1)]),_:1})):e.createCommentVNode("",!0)}}),Wn=e.defineComponent({__name:"PaymentMethodInactiveChip",props:{isInactive:{type:Boolean}},setup(t){const o=Gn();return(l,n)=>t.isInactive?(e.openBlock(),e.createBlock(Qn,{key:0,class:"mt-1 self-start"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(o).$t({defaultMessage:"Inactive",description:"The textual label for the inactive payment method chip",id:"payment_methods.inactive_chip.label"})),1)]),_:1})):e.createCommentVNode("",!0)}}),Yn={KLARNA:{name:"Klarna",logo:"data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cg%20clip-path='url(%23a)'%3e%3cpath%20fill='%23fff'%20d='M0%200h40v40H0z'/%3e%3cpath%20fill='%23fff'%20d='M1%207.65h38v24.7H1z'/%3e%3cmask%20id='b'%20width='36'%20height='20'%20x='2'%20y='10'%20maskUnits='userSpaceOnUse'%20style='mask-type:luminance'%3e%3cpath%20fill='%23fff'%20d='M2.9%2010.5h34.2v19H2.9z'/%3e%3c/mask%3e%3cg%20mask='url(%23b)'%3e%3cpath%20fill='%23ffb3c7'%20d='M33.816%2010.5H6.184A3.284%203.284%200%200%200%202.9%2013.784v12.432A3.284%203.284%200%200%200%206.184%2029.5h27.632a3.284%203.284%200%200%200%203.284-3.284V13.784a3.284%203.284%200%200%200-3.284-3.284'/%3e%3cpath%20fill='%230a0b09'%20d='M33.904%2021.631a.814.814%200%200%200-.81.818c0%20.451.362.817.81.817.447%200%20.81-.366.81-.817a.815.815%200%200%200-.81-.818M31.238%2021c0-.618-.524-1.12-1.17-1.12s-1.17.502-1.17%201.12.524%201.12%201.17%201.12%201.17-.502%201.17-1.12m.004-2.175h1.291v4.35h-1.29v-.278a2.25%202.25%200%200%201-2.154.221A2.29%202.29%200%200%201%2027.688%2021a2.285%202.285%200%200%201%202.275-2.295c.474%200%20.915.147%201.28.398zm-10.33.566v-.566h-1.321v4.35h1.324v-2.03c0-.686.736-1.055%201.247-1.055l.015.001v-1.266c-.524%200-1.006.227-1.265.567M17.62%2021c0-.619-.523-1.12-1.17-1.12-.645%200-1.169.501-1.169%201.12%200%20.617.524%201.118%201.17%201.118s1.17-.5%201.17-1.119m.005-2.176h1.29v4.35h-1.29v-.278a2.25%202.25%200%200%201-2.154.221%202.29%202.29%200%200%201-1.401-2.118%202.285%202.285%200%200%201%202.275-2.295c.475%200%20.915.147%201.28.398zm7.77-.117c-.516%200-1.005.161-1.33.607v-.49H22.78v4.35h1.301v-2.286c0-.661.44-.985.97-.985.566%200%20.892.342.892.976v2.295h1.29v-2.766c0-1.013-.797-1.701-1.837-1.701M12.19%2023.174h1.351v-6.289H12.19zm-5.935.002h1.43v-6.292h-1.43zm5.004-6.292c0%201.362-.526%202.63-1.464%203.571l1.978%202.721h-1.767l-2.15-2.957.555-.42a3.62%203.62%200%200%200%201.449-2.914z'/%3e%3c/g%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='a'%3e%3cpath%20fill='%23fff'%20d='M0%200h40v40H0z'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e"},ZIP:{name:"Zip",logo:"data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cg%20clip-path='url(%23a)'%3e%3cpath%20fill='%23fff'%20d='M0%207h40v26H0z'/%3e%3cpath%20fill='%23fff'%20d='M0%200h40v40H0z'/%3e%3cpath%20fill='%231a0826'%20d='m2.81%2022.894.315%202.567h11.001l-.36-2.94h-5.13l-.044-.365%204.724-3.31-.315-2.572H2l.36%202.94h5.138l.045.367z'/%3e%3cpath%20fill='%23aa8fff'%20d='m14.28%2016.274%201.125%209.187h11.01l-1.125-9.187z'/%3e%3cpath%20fill='%231a0826'%20d='M37.96%2019.581c-.254-2.065-1.872-3.316-4.07-3.307h-7.324l1.125%209.186h3.294l-.226-1.837h3.487c2.745%200%204-1.715%203.714-4.042m-4.07%201.467-3.444.004-.27-2.205%203.464.003c.815.01%201.232.47%201.299%201.099.041.404-.144%201.098-1.048%201.098z'/%3e%3cpath%20fill='%23000'%20d='M17.914%2015.05c.58-.623.478-1.662-.226-2.32s-1.744-.684-2.323-.06c-.58.623-.479%201.662.225%202.32s1.745.684%202.324.06'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='a'%3e%3cpath%20fill='%23fff'%20d='M0%200h40v40H0z'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e"}},Xn={class:"flex h-full grow flex-col justify-center"},Jn=e.defineComponent({__name:"PaymentMethodBuyNowPayLater",props:{paymentMethod:{},isDefault:{type:Boolean},options:{},variant:{default:"default"}},setup(t){const l=t,n=e.computed(()=>{var e;return(null==(e=l.paymentMethod.buy_now_pay_later)?void 0:e.variant)?Yn[l.paymentMethod.buy_now_pay_later.variant]:void 0});return(l,a)=>{var i,r,c;return e.openBlock(),e.createBlock(go,{"image-src":(null==(i=n.value)?void 0:i.logo)??e.unref(so),"image-alt":null==(c=null==(r=n.value)?void 0:r.name)?void 0:c.toLowerCase(),variant:t.variant,options:t.options,"is-inactive":"INACTIVE"===t.paymentMethod.status},{default:e.withCtx(()=>[e.createElementVNode("div",Xn,[e.createVNode(o,{tag:"span",weight:"semibold","no-spacing":"",variant:"condensed"===t.variant?"body-xs":"body-sm",shade:"condensed"===t.variant?"light":void 0},{default:e.withCtx(()=>{var t;return[e.createTextVNode(e.toDisplayString(null==(t=n.value)?void 0:t.name),1)]}),_:1},8,["variant","shade"]),e.createVNode(Kn,{"is-default":t.isDefault},null,8,["is-default"]),e.createVNode(Wn,{"is-inactive":"INACTIVE"===t.paymentMethod.status},null,8,["is-inactive"])])]),_:1},8,["image-src","image-alt","variant","options","is-inactive"])}}}),ea={ACCEL:"data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cg%20clip-path='url(%23a)'%3e%3cpath%20fill='%23f26b21'%20d='M0%200h40v40H0z'/%3e%3cpath%20fill='%23fff'%20fill-rule='evenodd'%20d='M9.035%2016.597c.715%200%201.215.285%201.572.642.322.357.536.929.464%201.5l-1%206.536c-.035.25-.143.5-.286.75s-.357.465-.571.643a3%203%200%200%201-.821.464%202.9%202.9%200%200%201-.858.143H6.071a2.14%202.14%200%200%201-1.57-.643c-.358-.393-.537-.857-.466-1.5l.286-2.214c.072-.572.144-1%20.537-1.465.357-.357.856-.606%201.535-.606h2.821l.357-2.215a.56.56%200%200%200-.178-.535c-.107-.108-.215-.179-.5-.179H7.464c-.286%200-.429.107-.571.214-.179.143-.25.321-.322.5%200%200-.143.571-.536.571h-.571c-.393%200-.464-.32-.429-.464.036-.285.144-.571.286-.821.143-.25.358-.536.608-.715q.321-.266.75-.428c.285-.107.678-.178.964-.178zM6.43%2022.132c-.25%200-.358.071-.465.178-.107.143-.143.322-.179.608L5.5%2025.203c-.036.322.143.715.643.715H7.57c.286%200%20.5-.108.643-.215.286-.25.321-.5.321-.5L9%2022.132z'%20clip-rule='evenodd'/%3e%3cpath%20fill='%23fff'%20d='M16.035%2016.632c.607%200%201.144.18%201.573.643.356.358.535.858.463%201.5%200%20.357-.285.428-.463.428h-.573c-.535%200-.427-.571-.427-.571a.68.68%200%200%200-.144-.535c-.107-.108-.25-.179-.5-.179h-1.429a.9.9%200%200%200-.606.214c-.214.178-.321.357-.322.5l-1%206.607a.49.49%200%200%200%20.143.5.73.73%200%200%200%20.5.214h1.429a.95.95%200%200%200%20.606-.214c.143-.143.287-.286.322-.5.002-.009.11-.57.536-.571h.571c.393%200%20.465.285.465.464-.036.357-.179.643-.321.893s-.358.464-.573.643c-.214.178-.5.322-.785.429a2.5%202.5%200%200%201-.929.178h-1.428c-.679%200-1.215-.214-1.572-.607a1.8%201.8%200%200%201-.5-1.5l.964-6.393c.036-.285.18-.608.286-.822.143-.25.358-.5.572-.678a3.5%203.5%200%200%201%20.786-.464c.25-.108.607-.18.928-.18h1.428Z'/%3e%3cpath%20fill='%23fff'%20fill-rule='evenodd'%20d='M30.25%2016.597c.714%200%201.214.285%201.571.642.322.393.535.857.464%201.464l-.214%201.786c-.071.572-.143%201-.536%201.464-.357.357-.856.608-1.535.608h-2.857l-.393%202.642a.56.56%200%200%200%20.179.536c.107.107.214.179.5.179h1.429c.285%200%20.428-.072.57-.179.18-.143.25-.321.322-.5.002-.006.145-.57.535-.571h.573c.392%200%20.463.32.427.464a2.3%202.3%200%200%201-.285.821c-.143.25-.357.536-.607.715a2.6%202.6%200%200%201-.75.429%203%203%200%200%201-.964.178h-1.394a2.14%202.14%200%200%201-1.571-.643%201.95%201.95%200%200%201-.464-1.5l.393-2.607h-.25c-.286%200-.465.143-.572.214-.385.246-.392.698-.392.714%200%20.25-.072.358-.5.358h-.5c-.464%200-.5-.357-.465-.464.036-.25.108-.5.286-.822.179-.25.393-.5.608-.678.25-.215.57-.358.785-.429.285-.072.572-.143.786-.143h.429l.392-2.678c.036-.25.142-.5.285-.75s.358-.465.573-.644c.214-.178.535-.357.82-.464a2.8%202.8%200%200%201%20.857-.142zm-.107%201.356h-1.429c-.286%200-.5.108-.643.215-.285.25-.32.5-.32.5l-.393%202.643h2.535c.25%200%20.357-.072.465-.18.106-.142.142-.32.177-.606l.215-1.893c.071-.322-.143-.715-.607-.679'%20clip-rule='evenodd'/%3e%3cpath%20fill='%23fff'%20d='M35.535%2012.06c.215%200%20.5.108.465.465l-2.142%2014.286c-.072.392-.357.464-.5.464h-.573c-.392%200-.464-.286-.464-.464l2.143-14.286c.036-.178.143-.464.5-.465zm-12.356%204.537c.607%200%201.143.178%201.571.642.357.393.535.893.464%201.5-.072.393-.357.465-.5.429h-.571c-.529%200-.432-.557-.429-.571.036-.25-.035-.43-.143-.537s-.25-.178-.5-.178h-1.428c-.25%200-.43.108-.608.215a.9.9%200%200%200-.321.5l-1%206.606a.49.49%200%200%200%20.144.5c.142.179.357.215.5.215h1.427a.95.95%200%200%200%20.608-.215.87.87%200%200%200%20.321-.5c.003-.016.114-.571.536-.571h.571c.429%200%20.5.322.464.465-.035.357-.178.642-.321.892s-.357.464-.571.643a2.8%202.8%200%200%201-.785.428%202.7%202.7%200%200%201-.93.18H20.25c-.678%200-1.214-.215-1.571-.608a1.8%201.8%200%200%201-.5-1.5l1-6.393c.036-.285.142-.607.285-.821.143-.25.357-.5.571-.679.215-.178.5-.357.786-.464.25-.107.608-.178.93-.178z'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='a'%3e%3cpath%20fill='%23fff'%20d='M0%200h40v40H0z'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",AMERICAN_EXPRESS:"data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%3e%3cg%20clip-path='url(%23a)'%3e%3cpath%20fill='%23fff'%20d='M0%200h40v40H0z'/%3e%3cpath%20fill='%23006fcf'%20d='m32.864%209.816%201.28-3.48H40V0H0v40h40v-6.32h-5.52l-2.04-2.384-2.12%202.384H14.64V20.976H9.464l6.472-14.64h6.296l1.52%203.32v-3.32h7.816l1.304%203.48zm-4.408%202.304-.016-1.4.536%201.4%202.6%206.944h2.584l2.616-6.944.504-1.384v8.336H40V8.408h-4.52l-2.056%205.416-.544%201.464-.56-1.464-2.064-5.416h-4.52v10.664h2.72zM22.6%2019.064h3.136L21.04%208.4H17.4l-4.72%2010.664h3.096l.824-2.056h5.176zm-3.944-7.048.536-1.336.536%201.336%201.104%202.696h-3.28zm-1.832%208.968v10.624h8.904v-2.304h-6.184v-1.856h6.064v-2.296h-6.064v-1.864h6.184v-2.304zM35.64%2031.616h3.536l-4.984-5.336%204.984-5.296h-3.48L32.48%2024.44l-3.2-3.456h-3.544l4.976%205.336-4.976%205.296h3.44l3.24-3.464zm1.344-5.352L40%2029.328v-6.096l-3.016%203.024z'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='a'%3e%3cpath%20fill='%23fff'%20d='M0%200h40v40H0z'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",BANCONTACT:"data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%3e%3cpath%20fill='%23fff'%20d='M0%200h40v40H0z'/%3e%3cpath%20fill='%231e3764'%20d='M3.604%2030.284v-4.816h1.463c1.063%200%201.747.406%201.747%201.245%200%20.475-.217.805-.521.998.44.206.697.606.697%201.149%200%20.97-.697%201.424-1.78%201.424zm.942-2.814h.697c.427%200%20.61-.213.61-.605%200-.42-.332-.558-.78-.558h-.527zm0%201.975h.582c.569%200%20.9-.145.9-.599%200-.447-.284-.633-.819-.633h-.663zm4.27.922c-.928%200-1.395-.461-1.395-1.08%200-.682.548-1.08%201.36-1.087q.305.005.603.055v-.166c0-.42-.237-.619-.69-.619a2.3%202.3%200%200%200-.894.165l-.17-.743c.292-.124.759-.206%201.172-.206.995%200%201.49.537%201.49%201.465v1.913c-.278.145-.8.303-1.477.303Zm.568-.778v-.736a2.2%202.2%200%200%200-.48-.055c-.312%200-.556.124-.556.447%200%20.29.203.44.562.44.163.006.326-.027.474-.096m1.566.695V26.99a4.1%204.1%200%200%201%201.53-.303c.988%200%201.557.495%201.557%201.41v2.188h-.934v-2.119c0-.475-.217-.695-.63-.695a1.4%201.4%200%200%200-.596.124v2.69h-.928Zm6.353-3.392-.176.75a2%202%200%200%200-.765-.172c-.549%200-.847.392-.847%201.04%200%20.708.312%201.072.894%201.072.26-.007.516-.068.752-.178l.149.763a2.25%202.25%200%200%201-.976.2c-1.123%200-1.774-.709-1.774-1.83%200-1.115.644-1.851%201.72-1.851.351-.002.7.068%201.023.206m2.018%203.475c-1.042%200-1.692-.736-1.692-1.844%200-1.101.65-1.837%201.692-1.837%201.05%200%201.687.736%201.687%201.837%200%201.108-.637%201.844-1.686%201.844Zm0-.785c.481%200%20.732-.405.732-1.06%200-.646-.25-1.052-.732-1.052-.474%200-.738.406-.738%201.053%200%20.654.265%201.06.739%201.06Zm2.227.702V26.99a4.1%204.1%200%200%201%201.53-.303c.99%200%201.558.495%201.558%201.41v2.188h-.934v-2.119c0-.475-.217-.695-.63-.695a1.4%201.4%200%200%200-.596.124v2.69zm5.196.083c-.806%200-1.22-.447-1.22-1.356v-1.486h-.46v-.757h.46v-.763l.935-.049v.812h.752v.757h-.752v1.473c0%20.399.163.584.467.584q.182%200%20.36-.04l.047.763a2.5%202.5%200%200%201-.59.062Zm2.358%200c-.928%200-1.395-.461-1.395-1.08%200-.682.549-1.08%201.361-1.087q.304.005.603.055v-.166c0-.42-.237-.619-.69-.619a2.3%202.3%200%200%200-.895.165l-.169-.743c.291-.124.758-.206%201.172-.206.995%200%201.49.537%201.49%201.465v1.913c-.278.145-.8.303-1.477.303m.569-.778v-.736a2.2%202.2%200%200%200-.48-.055c-.312%200-.556.124-.556.447%200%20.29.203.44.562.44.163.006.325-.027.474-.096m4.104-2.697-.176.75a2%202%200%200%200-.765-.172c-.548%200-.846.392-.846%201.04%200%20.708.311%201.072.894%201.072.26-.007.515-.068.751-.178l.15.763a2.25%202.25%200%200%201-.976.2c-1.124%200-1.774-.709-1.774-1.83%200-1.115.643-1.851%201.72-1.851.35-.002.699.068%201.022.206m2.055%203.475c-.806%200-1.219-.447-1.219-1.356v-1.486h-.46v-.757h.46v-.763l.934-.049v.812h.752v.757h-.752v1.473c0%20.399.163.584.468.584q.18%200%20.359-.04l.047.763a2.5%202.5%200%200%201-.59.062Z'/%3e%3cpath%20fill='url(%23a)'%20d='M10.123%2023.06c4.944%200%207.416-3.35%209.889-6.699H3.604v6.699z'/%3e%3cpath%20fill='url(%23b)'%20d='M29.901%209.662c-4.945%200-7.417%203.35-9.89%206.7H36.42v-6.7h-6.518Z'/%3e%3cdefs%3e%3clinearGradient%20id='a'%20x1='6.923'%20x2='18.972'%20y1='20.02'%20y2='15.616'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23005ab9'/%3e%3cstop%20offset='1'%20stop-color='%231e3764'/%3e%3c/linearGradient%3e%3clinearGradient%20id='b'%20x1='21.005'%20x2='33.791'%20y1='16.942'%20y2='12.649'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23fba900'/%3e%3cstop%20offset='1'%20stop-color='%23ffd800'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e",CARNET:"data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cg%20clip-path='url(%23a)'%3e%3cpath%20fill='%23ee3338'%20d='M0%200h40v40H0z'/%3e%3cpath%20fill='%23fffcfc'%20d='M15.27%2013.453c-1.235.362-2.379.854-3.404%201.599-.807.586-1.478%201.296-1.865%202.306-.297-.782-.206-1.488.082-2.176.355-.843.964-1.476%201.68-2.006%201.467-1.08%203.136-1.666%204.895-2.001%203.272-.622%206.501-.47%209.658.666%201.172.423%202.262%201.008%203.169%201.893.842.82%201.387%201.78%201.261%203.02-.018.174-.064.346-.104.55-.06-.053-.098-.07-.11-.1-.43-1.043-1.208-1.773-2.12-2.37-1.505-.988-3.181-1.518-4.932-1.807-2.752-.454-5.484-.35-8.21.426'/%3e%3cpath%20fill='%23fffdfd'%20d='M11.865%2017.027c1.52-1.071%203.204-1.648%204.978-1.964%203.09-.549%206.145-.427%209.14.583%201.366.461%202.639%201.106%203.659%202.174.756.791%201.22%201.71%201.104%202.852-.018.176-.063.35-.096.526-.053-.016-.089-.017-.096-.032-.818-1.817-2.382-2.721-4.101-3.396-2.314-.907-4.727-1.187-7.195-1.052-2.086.115-4.102.517-5.999%201.435q-.555.273-1.075.61c-.948.618-1.739%201.386-2.183%202.522-.297-.783-.207-1.496.093-2.195.37-.867%201.008-1.504%201.771-2.063'/%3e%3cpath%20fill='%23fffbfb'%20d='m19.744%2026.845.597.849c-.385%200-.695.015-1-.01-.094-.007-.194-.108-.264-.194q-.396-.492-.768-1.009c-.29-.407-.657-.535-1.125-.439v1.62h-.929v-4.05c.965.04%201.924.047%202.878.129.484.04.805.494.829.991.024.508-.215.87-.707%201.063-.11.043-.226.079-.198-.009zm-1.725-1.49c.19-.01.382-.007.57-.035.23-.035.403-.16.413-.459.008-.278-.138-.452-.357-.465-.485-.028-.971-.008-1.45-.008v.968h.824Z'/%3e%3cpath%20fill='%23fffafb'%20d='M24.427%2024.913V23.64h.951v3.964c-.686.195-.99.105-1.422-.438l-1.672-2.106v2.578h-.99v-4.02c.308%200%20.611-.018.908.011.1.01.207.128.281.219.624.78%201.242%201.567%201.944%202.335z'/%3e%3cpath%20fill='%23fffdfd'%20d='M28.994%2024.296h-1.157v.9h2.679v.706h-2.688v1.107h2.997v.69h-4.084v-4.086h3.994v.683z'/%3e%3cpath%20fill='%23fffbfc'%20d='M15.302%2027.654c-.103.01-.174%200-.24.013-.638.113-1.065-.077-1.26-.684-.033-.102-.252-.21-.39-.217a22%2022%200%200%200-1.643-.002c-.123.003-.332.081-.35.157-.203.82-.832.833-1.564.71.055-.119.106-.245.171-.364.597-1.106%201.207-2.206%201.788-3.32.128-.246.29-.285.558-.32.623-.077.942.14%201.199.67.498%201.023%201.094%202.005%201.644%203.006a.8.8%200%200%201%20.087.351m-2.492-2.6-.241-.436-.724%201.43h1.473c-.174-.338-.329-.64-.508-.995Z'/%3e%3cpath%20fill='snow'%20d='M6.804%2027.001c.72-.023%201.212-.264%201.428-.834l1.215.227c-.184.52-.568.87-1.146%201.062-1.002.333-2.017.328-2.995-.055-.995-.39-1.427-1.12-1.277-2.07.13-.827.92-1.47%202.036-1.645.753-.117%201.502-.107%202.224.128.538.175.942.456%201.137.952-.343.058-.663.13-.99.156a.5.5%200%200%201-.348-.151c-.426-.475-1.022-.517-1.655-.42-.585.09-.982.379-1.042.865-.042.338-.047.696.048%201.022.158.532.704.71%201.367.763'/%3e%3cpath%20fill='%23fffcfc'%20d='M33.43%2027.087v-2.795h-1.514v-.68H36v.66h-1.501v3.426H33.43v-.61Z'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='a'%3e%3cpath%20fill='%23fff'%20d='M0%200h40v40H0z'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",CARTES_BANCAIRES:"data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%3e%3cg%20clip-path='url(%23a)'%3e%3cpath%20fill='url(%23b)'%20d='M0%200h40v40H0z'/%3e%3cpath%20fill='%23fff'%20d='M32.825%2016.982c0-.35-.063-.698-.2-1.037a2.5%202.5%200%200%200-.572-.856%202.24%202.24%200%200%200-.92-.57q-.491-.16-1.363-.16h-7.697v5.266h7.697q.855%200%201.364-.159c.338-.106.634-.296.92-.57.253-.255.443-.53.57-.857.138-.36.201-.709.201-1.058Zm0%206.428c0-.35-.063-.698-.2-1.036a2.5%202.5%200%200%200-.572-.857%202.24%202.24%200%200%200-.92-.57q-.491-.16-1.363-.16h-7.697v5.245h7.697q.855%200%201.364-.159c.338-.105.634-.296.92-.57.253-.254.443-.53.57-.857.138-.338.201-.687.201-1.036m-11.831-3.806C20.74%2016.189%2018.308%2014%2014.513%2014%2010.516%2014%208%2016.442%208%2020.185c0%203.87%202.611%206.196%206.513%206.196%203.817%200%206.238-2.2%206.481-5.604h-6.566v-1.163h6.566zm14.178%2010.425a.6.6%200%200%201-.444.19.58.58%200%200%201-.444-.19.6.6%200%200%201-.18-.445c0-.169.064-.317.18-.444a.6.6%200%200%201%20.444-.18c.18%200%20.328.064.444.18.127.127.18.275.18.444a.53.53%200%200%201-.18.445m-.824-.825a.52.52%200%200%200-.159.38.56.56%200%200%200%20.159.392.52.52%200%200%200%20.38.158.52.52%200%200%200%20.38-.158.53.53%200%200%200%20.16-.392.52.52%200%200%200-.16-.38.52.52%200%200%200-.38-.159.52.52%200%200%200-.38.159m.37.031c.084%200%20.148.011.19.022.074.031.106.084.106.18%200%20.063-.021.105-.064.137-.02.01-.053.032-.095.032.053.01.095.031.117.063a.2.2%200%200%201%20.042.106v.105c0%20.022%200%20.032.01.032v.01h-.116v-.083q0-.126-.063-.158a.4.4%200%200%200-.138-.022h-.095v.275h-.127v-.687h.233v-.01Zm.137.117c-.032-.021-.084-.021-.148-.021h-.106v.253h.106c.053%200%20.095%200%20.116-.01.053-.021.075-.053.075-.106%200-.074-.022-.106-.043-.116'/%3e%3c/g%3e%3cdefs%3e%3clinearGradient%20id='b'%20x1='0'%20x2='40'%20y1='13'%20y2='30'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%232b307a'/%3e%3cstop%20offset='.22'%20stop-color='%232e3b83'/%3e%3cstop%20offset='.42'%20stop-color='%234187c3'/%3e%3cstop%20offset='.5'%20stop-color='%23d7d3df'/%3e%3cstop%20offset='.58'%20stop-color='%23cc7b7b'/%3e%3cstop%20offset='.78'%20stop-color='%23cd2426'/%3e%3cstop%20offset='1'%20stop-color='%23cd191b'/%3e%3c/linearGradient%3e%3cclipPath%20id='a'%3e%3cpath%20fill='%23fff'%20d='M0%200h40v40H0z'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",DANKORT:"data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cg%20clip-path='url(%23a)'%3e%3cpath%20fill='%23ed1c24'%20d='M0%200h40v40H0z'/%3e%3cpath%20fill='%23ed1c24'%20d='M0%200h40v40H0z'/%3e%3cpath%20fill='%23ed1c24'%20d='M12.302%208.788c-6.04%200-10.952%204.982-10.952%2011.105C1.35%2026.018%206.263%2031%2012.302%2031H27.05C33.088%2031%2038%2026.018%2038%2019.893c0-6.123-4.913-11.105-10.95-11.105z'/%3e%3cpath%20fill='%23fff'%20d='m30.226%2018.82%204.179%205.517a9.2%209.2%200%200%200%201.374-4.884%209.2%209.2%200%200%200-1.522-5.112zm-14.382-4.858c3.557%200%206.238.86%206.514%203.71l3.744-3.71h7.455c-1.622-1.806-4.032-2.953-6.718-2.953H12.512c-2.687%200-5.098%201.147-6.72%202.952zM9.33%2017.673l-1.316%203.332h5.304c1.568%200%202.042-.599%202.393-1.75.347-1.14-.525-1.582-1.596-1.582zm17.524%207.547-4.062-5.326c-.75%203.632-3.209%205.327-7.817%205.327H5.792c1.661%202.166%204.224%203.558%207.093%203.558h14.692c2.869%200%205.43-1.39%207.09-3.558z'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='a'%3e%3cpath%20fill='%23fff'%20d='M0%200h40v40H0z'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",DINERS:"data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%3e%3cpath%20fill='%23fff'%20d='M0%200h40v40H0z'/%3e%3cpath%20fill='%23fff'%20d='M2.65%2019.829c0-8.299%206.728-15.023%2015.023-15.023S32.695%2011.53%2032.695%2019.83c0%208.298-6.724%2015.022-15.022%2015.022S2.651%2028.124%202.651%2019.829Z'/%3e%3cpath%20fill='%230d4e96'%20d='M17.695%2035.117C9.085%2035.16%202%2028.184%202%2019.695%202%2010.415%209.086%204%2017.695%204h4.035C30.235%204%2038%2010.413%2038%2019.695c0%208.486-7.765%2015.422-16.27%2015.422zm.035-29.831c-7.867%200-14.24%206.378-14.24%2014.244%200%207.867%206.374%2014.241%2014.241%2014.241s14.241-6.374%2014.245-14.24c0-7.867-6.378-14.242-14.245-14.245Zm-3.235%2022.67V11.105a9.05%209.05%200%200%200-5.793%208.425%209.04%209.04%200%200%200%205.793%208.422M26.76%2019.53a9.03%209.03%200%200%200-5.8-8.425v16.854a9.04%209.04%200%200%200%205.8-8.426'/%3e%3c/svg%3e",DISCOVER:"data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%3e%3cg%20clip-path='url(%23a)'%3e%3cpath%20fill='%23fff'%20d='M0%200h40v40H0z'/%3e%3cpath%20fill='%23fff'%20d='M.44%201.317v37.366a.88.88%200%200%200%20.877.878H18.47c10.802%200%2019.563-8.756%2019.563-19.563C38.033%209.195%2029.276.435%2018.47.435H1.317a.88.88%200%200%200-.878.878z'/%3e%3cpath%20fill='%23231f20'%20d='M3.408%2017.223H1.853v5.436h1.55c.821%200%201.419-.193%201.941-.628a2.73%202.73%200%200%200%20.988-2.086c0-1.603-1.199-2.723-2.92-2.723zm1.238%204.083c-.334.299-.764.43-1.45.43h-.285V18.14h.286c.685%200%201.102.123%201.449.44.369.324.588.834.588%201.352s-.22%201.045-.588%201.37zm3.227-4.083H6.815v5.436h1.058zm2.596%202.09c-.637-.237-.821-.391-.821-.685%200-.343.333-.602.79-.602.316%200%20.58.132.856.44l.554-.725a2.38%202.38%200%200%200-1.599-.602c-.962%200-1.695.668-1.695%201.559%200%20.75.343%201.133%201.34%201.489.412.144.627.245.733.307a.65.65%200%200%201%20.316.562c0%20.44-.351.769-.826.769-.505%200-.913-.255-1.159-.725l-.685.659c.488.715%201.076%201.036%201.884%201.036%201.102%200%201.875-.733%201.875-1.783%200-.865-.356-1.256-1.563-1.695zm1.897.632c0%201.599%201.256%202.837%202.867%202.837.457%200%20.848-.088%201.33-.316v-1.247c-.425.425-.798.597-1.281.597-1.068%200-1.827-.773-1.827-1.875%200-1.045.781-1.867%201.778-1.867.505%200%20.887.18%201.33.61v-1.246c-.465-.237-.847-.334-1.303-.334-1.608%200-2.894%201.265-2.894%202.846zm12.607.931-1.45-3.654h-1.158L24.67%2022.8h.57l2.35-5.576h-1.15zm3.096%201.783h3.008v-.918h-1.95v-1.466h1.875v-.923h-1.875v-1.207h1.95v-.922h-3.008zm7.206-3.829c0-1.019-.703-1.603-1.923-1.603H31.78v5.436h1.058v-2.182h.14l1.467%202.182h1.304l-1.712-2.292c.799-.162%201.238-.707%201.238-1.541m-2.125.896h-.312v-1.647h.325c.659%200%201.019.276%201.019.808%200%20.531-.36.838-1.037.838zm2.968-2.218c0-.097-.066-.15-.18-.15h-.154v.48h.114v-.185l.137.184h.14l-.158-.197c.066-.018.105-.066.105-.132zm-.202.066h-.017v-.128h.021q.087.001.088.062c.001.061-.03.066-.088.066z'/%3e%3cpath%20fill='%23231f20'%20d='M35.96%2017.183a.417.417%200%201%200%200%20.834.416.416%200%200%200%20.413-.417.416.416%200%200%200-.413-.417m0%20.76a.34.34%200%200%201-.334-.343c0-.189.15-.342.334-.342s.33.158.33.342a.34.34%200%200%201-.33.343'/%3e%3cpath%20fill='url(%23b)'%20d='M22.668%2019.936a2.88%202.88%200%200%201-2.881%202.881%202.877%202.877%200%200%201-2.88-2.88%202.877%202.877%200%200%201%202.88-2.881%202.877%202.877%200%200%201%202.88%202.88Z'/%3e%3cpath%20fill='url(%23c)'%20d='M22.668%2019.936a2.88%202.88%200%200%201-2.881%202.881%202.877%202.877%200%200%201-2.88-2.88%202.877%202.877%200%200%201%202.88-2.881%202.877%202.877%200%200%201%202.88%202.88Z'%20opacity='.65'%20style='mix-blend-mode:multiply'/%3e%3cg%20opacity='.5'%20style='mix-blend-mode:multiply'%3e%3cmask%20id='d'%20width='7'%20height='6'%20x='16'%20y='17'%20maskUnits='userSpaceOnUse'%20style='mask-type:luminance'%3e%3cpath%20fill='%23fff'%20d='M22.668%2019.936a2.88%202.88%200%200%201-2.881%202.881%202.88%202.88%200%200%201-2.88-2.88%202.877%202.877%200%200%201%202.88-2.881%202.877%202.877%200%200%201%202.88%202.88Z'/%3e%3c/mask%3e%3cg%20mask='url(%23d)'%3e%3cpath%20fill='%23020000'%20d='M19.8%2017.016a2.937%202.937%200%200%201%202.938%202.934%202.938%202.938%200%201%201-2.938-2.938z'/%3e%3cpath%20fill='%23030100'%20d='M19.805%2017.02a2.933%202.933%200%200%201%202.937%202.93%202.937%202.937%200%201%201-5.875.009%202.94%202.94%200%200%201%202.938-2.939'/%3e%3cpath%20fill='%23050100'%20d='M19.805%2017.025a2.937%202.937%200%200%201%202.942%202.929%202.945%202.945%200%200%201-2.942%202.942%202.927%202.927%200%200%201-2.934-2.933%202.933%202.933%200%200%201%202.934-2.934z'/%3e%3cpath%20fill='%23070200'%20d='M19.809%2017.03a2.933%202.933%200%200%201%202.942%202.924%202.95%202.95%200%200%201-2.942%202.942%202.93%202.93%200%200%201-2.934-2.933%202.933%202.933%200%200%201%202.934-2.934Z'/%3e%3cpath%20fill='%23080200'%20d='M19.813%2017.034c1.62%200%202.942%201.3%202.942%202.92a2.95%202.95%200%200%201-2.942%202.946%202.93%202.93%200%200%201-2.933-2.933%202.933%202.933%200%200%201%202.933-2.933'/%3e%3cpath%20fill='%230a0300'%20d='M19.813%2017.038c1.62%200%202.942%201.3%202.942%202.92a2.95%202.95%200%200%201-2.942%202.947%202.93%202.93%200%200%201-2.933-2.934%202.933%202.933%200%200%201%202.933-2.933'/%3e%3cpath%20fill='%230c0300'%20d='M19.818%2017.043c1.62%200%202.946%201.295%202.946%202.915a2.96%202.96%200%200%201-2.946%202.951%202.93%202.93%200%200%201-2.934-2.933%202.933%202.933%200%200%201%202.934-2.933'/%3e%3cpath%20fill='%230e0400'%20d='M19.822%2017.047c1.62%200%202.947%201.295%202.947%202.911a2.96%202.96%200%200%201-2.947%202.951%202.93%202.93%200%200%201-2.933-2.933%202.933%202.933%200%200%201%202.933-2.933z'/%3e%3cpath%20fill='%230f0400'%20d='M19.826%2017.056c1.62.004%202.947%201.29%202.947%202.911s-1.33%202.955-2.947%202.955a2.933%202.933%200%201%201%200-5.866'/%3e%3cpath%20fill='%23110500'%20d='M19.826%2017.06c1.62.004%202.947%201.287%202.947%202.907s-1.33%202.955-2.947%202.955a2.933%202.933%200%201%201%200-5.866z'/%3e%3cpath%20fill='%23130500'%20d='M19.83%2017.064c1.621.005%202.952%201.287%202.952%202.903s-1.33%202.96-2.951%202.96a2.923%202.923%200%200%201-2.93-2.93c.005-1.62%201.318-2.937%202.93-2.928z'/%3e%3cpath%20fill='%23140600'%20d='M19.835%2017.069c1.616.004%202.951%201.282%202.951%202.902s-1.335%202.96-2.95%202.96c-1.617%200-2.938-1.313-2.93-2.929.005-1.62%201.318-2.938%202.93-2.929v-.004Z'/%3e%3cpath%20fill='%23160600'%20d='M19.835%2017.073c1.616.005%202.951%201.278%202.951%202.898s-1.335%202.96-2.95%202.96c-1.617%200-2.938-1.313-2.93-2.929.005-1.62%201.322-2.938%202.93-2.929Z'/%3e%3cpath%20fill='%23180600'%20d='M19.84%2017.078c1.616.008%202.955%201.277%202.955%202.893s-1.335%202.965-2.955%202.965a2.925%202.925%200%200%201-2.93-2.93c.005-1.62%201.323-2.937%202.93-2.928'/%3e%3cpath%20fill='%23190700'%20d='M19.844%2017.082c1.616.009%202.955%201.273%202.955%202.894%200%201.62-1.339%202.964-2.955%202.964a2.93%202.93%200%200%201-2.929-2.929c.009-1.62%201.322-2.938%202.93-2.929Z'/%3e%3cpath%20fill='%231b0700'%20d='M19.849%2017.086c1.616.01%202.955%201.274%202.955%202.89s-1.34%202.968-2.955%202.968a2.93%202.93%200%200%201-2.93-2.929c.01-1.62%201.322-2.937%202.93-2.929'/%3e%3cpath%20fill='%231d0800'%20d='M19.849%2017.09c1.616.01%202.955%201.27%202.955%202.886s-1.34%202.968-2.955%202.968a2.925%202.925%200%200%201-2.93-2.929c.01-1.62%201.322-2.937%202.93-2.929v.005Z'/%3e%3cpath%20fill='%231f0800'%20d='M19.853%2017.095c1.616.009%202.96%201.265%202.96%202.885s-1.344%202.973-2.96%202.973a2.925%202.925%200%200%201-2.929-2.929c.009-1.625%201.322-2.938%202.929-2.929'/%3e%3cpath%20fill='%23200900'%20d='M19.857%2017.104c1.616.009%202.96%201.265%202.96%202.88%200%201.617-1.344%202.973-2.96%202.973a2.92%202.92%200%200%201-2.924-2.924c.008-1.625%201.321-2.938%202.924-2.925z'/%3e%3cpath%20fill='%23220900'%20d='M19.857%2017.108c1.616.01%202.96%201.26%202.96%202.877s-1.344%202.977-2.96%202.977a2.92%202.92%200%200%201-2.924-2.925c.008-1.624%201.321-2.937%202.924-2.924z'/%3e%3cpath%20fill='%23240a00'%20d='M19.862%2017.113c1.616.009%202.96%201.26%202.96%202.872s-1.349%202.977-2.96%202.977c-1.612%200-2.934-1.309-2.925-2.925.009-1.624%201.322-2.937%202.925-2.924'/%3e%3cpath%20fill='%23250a00'%20d='M19.866%2017.117c1.616.013%202.964%201.256%202.964%202.872s-1.348%202.977-2.964%202.977a2.92%202.92%200%200%201-2.925-2.924c.01-1.625%201.322-2.938%202.925-2.925'/%3e%3cpath%20fill='%23270b00'%20d='M19.87%2017.122c1.616.013%202.964%201.251%202.964%202.867s-1.348%202.982-2.964%202.982a2.92%202.92%200%200%201-2.924-2.925c.009-1.625%201.326-2.938%202.924-2.924'/%3e%3cpath%20fill='%23290b00'%20d='M19.87%2017.126c1.616.013%202.964%201.251%202.964%202.863s-1.352%202.982-2.964%202.982-2.933-1.309-2.924-2.925c.009-1.625%201.326-2.933%202.924-2.924z'/%3e%3cpath%20fill='%232a0c00'%20d='M19.875%2017.13c1.616.014%202.968%201.247%202.968%202.863s-1.352%202.987-2.968%202.987a2.92%202.92%200%200%201-2.925-2.925c.013-1.625%201.326-2.933%202.925-2.925'/%3e%3cpath%20fill='%232c0c00'%20d='M19.88%2017.135c1.615.013%202.968%201.242%202.968%202.858s-1.353%202.987-2.969%202.987a2.92%202.92%200%200%201-2.924-2.925c.013-1.625%201.326-2.933%202.924-2.925v.005Z'/%3e%3cpath%20fill='%232e0d00'%20d='M19.88%2017.14c1.61.012%202.968%201.242%202.968%202.853s-1.357%202.99-2.969%202.99-2.933-1.308-2.924-2.92c.013-1.624%201.326-2.933%202.924-2.924Z'/%3e%3cpath%20fill='%23300d00'%20d='M19.884%2017.143c1.611.014%202.968%201.239%202.968%202.855s-1.357%202.99-2.968%202.99c-1.612%200-2.934-1.308-2.92-2.92.013-1.625%201.326-2.933%202.92-2.92z'/%3e%3cpath%20fill='%23310d00'%20d='M19.888%2017.152c1.611.013%202.973%201.239%202.973%202.85%200%201.612-1.357%202.995-2.973%202.995s-2.933-1.309-2.92-2.92c.013-1.625%201.326-2.934%202.92-2.92z'/%3e%3cpath%20fill='%23330e00'%20d='M19.892%2017.157c1.612.013%202.973%201.234%202.973%202.845s-1.361%202.995-2.973%202.995-2.933-1.309-2.92-2.92c.013-1.625%201.326-2.934%202.92-2.92'/%3e%3cpath%20fill='%23350e00'%20d='M19.892%2017.161c1.612.018%202.973%201.23%202.973%202.846S21.504%2023%2019.892%2023s-2.933-1.308-2.92-2.92c.013-1.625%201.326-2.933%202.92-2.92Z'/%3e%3cpath%20fill='%23360f00'%20d='M19.897%2017.165c1.611.018%202.977%201.23%202.977%202.842%200%201.611-1.361%202.999-2.977%202.999s-2.934-1.309-2.92-2.92c.013-1.625%201.326-2.934%202.92-2.92Z'/%3e%3cpath%20fill='%23380f00'%20d='M19.901%2017.17c1.612.017%202.977%201.225%202.977%202.837%200%201.611-1.365%202.999-2.977%202.999s-2.933-1.309-2.92-2.92c.013-1.625%201.326-2.934%202.92-2.92z'/%3e%3cpath%20fill='%233a1000'%20d='M19.901%2017.174c1.612.018%202.977%201.225%202.977%202.837s-1.365%203.004-2.977%203.004-2.933-1.309-2.92-2.92c.013-1.625%201.33-2.934%202.92-2.92Z'/%3e%3cpath%20fill='%233b1000'%20d='M19.905%2017.179c1.612.017%202.978%201.22%202.978%202.832s-1.366%203.004-2.977%203.004c-1.612%200-2.934-1.309-2.92-2.92.017-1.625%201.33-2.934%202.92-2.92v.004Z'/%3e%3cpath%20fill='%233d1100'%20d='M19.91%2017.183c1.611.018%202.982%201.216%202.982%202.828s-1.37%203.008-2.982%203.008-2.933-1.309-2.916-2.916c.018-1.625%201.33-2.933%202.916-2.916z'/%3e%3cpath%20fill='%233f1100'%20d='M19.914%2017.187c1.612.018%202.982%201.217%202.982%202.828%200%201.612-1.37%203.008-2.982%203.008-1.611%200-2.933-1.304-2.915-2.915.017-1.625%201.33-2.934%202.915-2.916z'/%3e%3cpath%20fill='%23411200'%20d='M19.914%2017.196c1.612.018%202.982%201.212%202.982%202.824s-1.37%203.008-2.982%203.008c-1.611%200-2.933-1.304-2.915-2.916.017-1.625%201.33-2.933%202.915-2.916'/%3e%3cpath%20fill='%23421200'%20d='M19.919%2017.2c1.611.018%202.981%201.208%202.981%202.82s-1.374%203.012-2.981%203.012-2.934-1.304-2.916-2.916c.017-1.624%201.33-2.933%202.916-2.915Z'/%3e%3cpath%20fill='%23441300'%20d='M19.923%2017.205c1.612.022%202.986%201.208%202.986%202.82%200%201.61-1.374%203.012-2.986%203.012-1.611%200-2.933-1.305-2.916-2.916.018-1.625%201.33-2.934%202.916-2.916'/%3e%3cpath%20fill='%23461300'%20d='M19.923%2017.21c1.612.021%202.986%201.203%202.986%202.814%200%201.612-1.374%203.017-2.986%203.017-1.611%200-2.933-1.304-2.916-2.916.018-1.625%201.33-2.933%202.916-2.916Z'/%3e%3cpath%20fill='%23471300'%20d='M19.928%2017.214c1.607.022%202.986%201.203%202.986%202.81s-1.38%203.017-2.986%203.017c-1.608%200-2.934-1.304-2.916-2.916.017-1.625%201.33-2.933%202.916-2.916z'/%3e%3cpath%20fill='%23491400'%20d='M19.932%2017.218c1.607.022%202.99%201.199%202.99%202.81%200%201.612-1.378%203.022-2.99%203.022s-2.933-1.305-2.916-2.916c.018-1.625%201.33-2.933%202.916-2.916'/%3e%3cpath%20fill='%234b1400'%20d='M19.936%2017.223c1.608.021%202.99%201.194%202.99%202.806%200%201.611-1.378%203.02-2.99%203.02-1.611%200-2.933-1.303-2.915-2.91.021-1.625%201.33-2.934%202.915-2.912z'/%3e%3cpath%20fill='%234c1500'%20d='M19.936%2017.227c1.608.022%202.99%201.194%202.99%202.802%200%201.607-1.382%203.025-2.99%203.025-1.607%200-2.933-1.304-2.911-2.911.022-1.625%201.335-2.934%202.911-2.912z'/%3e%3cpath%20fill='%234e1500'%20d='M19.94%2017.231c1.608.022%202.991%201.19%202.991%202.797s-1.383%203.026-2.99%203.026-2.934-1.304-2.912-2.911c.022-1.625%201.335-2.934%202.912-2.912Z'/%3e%3cpath%20fill='%23501600'%20d='M19.945%2017.236c1.607.022%202.995%201.19%202.995%202.797s-1.383%203.025-2.995%203.025c-1.611%200-2.933-1.304-2.911-2.91.022-1.626%201.335-2.934%202.911-2.912'/%3e%3cpath%20fill='%23521600'%20d='M19.945%2017.244c1.607.022%202.995%201.186%202.995%202.793s-1.388%203.03-2.995%203.03-2.933-1.304-2.911-2.911c.022-1.625%201.335-2.933%202.911-2.912'/%3e%3cpath%20fill='%23531700'%20d='M19.95%2017.249c1.607.026%202.994%201.181%202.994%202.788%200%201.608-1.387%203.03-2.994%203.03s-2.934-1.304-2.912-2.911c.022-1.625%201.335-2.933%202.912-2.912z'/%3e%3cpath%20fill='%23551700'%20d='M19.954%2017.253c1.607.027%202.995%201.181%202.995%202.789%200%201.607-1.388%203.034-2.995%203.034s-2.934-1.304-2.912-2.911c.022-1.625%201.335-2.934%202.912-2.912'/%3e%3cpath%20fill='%23571800'%20d='M19.958%2017.258c1.608.026%203%201.177%203%202.784s-1.392%203.034-3%203.034c-1.607%200-2.933-1.304-2.911-2.911.022-1.625%201.335-2.934%202.911-2.912z'/%3e%3cpath%20fill='%23581800'%20d='M19.958%2017.262c1.608.026%203%201.172%203%202.78s-1.392%203.038-3%203.038c-1.607%200-2.933-1.304-2.911-2.91.022-1.626%201.335-2.934%202.911-2.912z'/%3e%3cpath%20fill='%235a1900'%20d='M19.963%2017.266c1.607.027%202.999%201.173%202.999%202.78s-1.392%203.039-3%203.039c-1.607%200-2.933-1.304-2.906-2.907.021-1.625%201.334-2.934%202.907-2.907z'/%3e%3cpath%20fill='%235c1900'%20d='M19.967%2017.27c1.607.027%203.004%201.169%203.004%202.776s-1.397%203.043-3.004%203.043-2.933-1.304-2.907-2.907c.026-1.624%201.335-2.933%202.907-2.907z'/%3e%3cpath%20fill='%235e1a00'%20d='M19.967%2017.275c1.607.027%203.004%201.168%203.004%202.771s-1.397%203.043-3.004%203.043-2.933-1.304-2.907-2.907c.026-1.624%201.34-2.933%202.907-2.907'/%3e%3cpath%20fill='%235f1a00'%20d='M19.971%2017.28c1.608.026%203.004%201.163%203.004%202.77%200%201.608-1.396%203.044-3.004%203.044-1.607%200-2.933-1.3-2.907-2.907.027-1.625%201.34-2.934%202.907-2.907'/%3e%3cpath%20fill='%23611a00'%20d='M19.976%2017.284c1.603.026%203.003%201.16%203.003%202.767s-1.4%203.047-3.003%203.047-2.934-1.3-2.907-2.907c.026-1.625%201.34-2.933%202.907-2.907'/%3e%3cpath%20fill='%23631b00'%20d='M19.98%2017.293c1.603.03%203.008%201.16%203.008%202.762s-1.4%203.047-3.008%203.047c-1.607%200-2.933-1.3-2.907-2.907.026-1.624%201.34-2.933%202.907-2.907z'/%3e%3cpath%20fill='%23641b00'%20d='M19.98%2017.297c1.603.03%203.008%201.155%203.008%202.762s-1.405%203.052-3.008%203.052-2.933-1.3-2.907-2.907c.026-1.625%201.34-2.933%202.907-2.907'/%3e%3cpath%20fill='%23661c00'%20d='M19.985%2017.302c1.602.03%203.008%201.154%203.008%202.757s-1.406%203.052-3.008%203.052-2.934-1.3-2.907-2.907c.026-1.625%201.339-2.933%202.907-2.907z'/%3e%3cpath%20fill='%23681c00'%20d='M19.989%2017.306c1.603.03%203.008%201.15%203.008%202.753s-1.405%203.057-3.008%203.057-2.933-1.3-2.903-2.903c.027-1.625%201.34-2.933%202.903-2.903z'/%3e%3cpath%20fill='%23691d00'%20d='M19.989%2017.31c1.603.031%203.012%201.146%203.012%202.754%200%201.607-1.41%203.056-3.012%203.056s-2.933-1.3-2.903-2.903c.027-1.624%201.34-2.933%202.903-2.902z'/%3e%3cpath%20fill='%236b1d00'%20d='M19.993%2017.315c1.603.03%203.013%201.146%203.013%202.749%200%201.602-1.41%203.06-3.013%203.06s-2.933-1.3-2.902-2.902c.026-1.625%201.34-2.934%202.902-2.903z'/%3e%3cpath%20fill='%236d1e00'%20d='M19.998%2017.32c1.603.03%203.012%201.14%203.012%202.744%200%201.602-1.41%203.06-3.012%203.06s-2.934-1.3-2.903-2.902c.03-1.625%201.34-2.934%202.903-2.903Z'/%3e%3cpath%20fill='%236f1e00'%20d='M19.998%2017.323c1.603.031%203.017%201.138%203.017%202.745s-1.414%203.06-3.017%203.06-2.934-1.299-2.903-2.902c.03-1.625%201.34-2.933%202.903-2.902Z'/%3e%3cpath%20fill='%23701f00'%20d='M20.002%2017.328c1.603.035%203.017%201.137%203.017%202.74s-1.414%203.065-3.017%203.065-2.933-1.3-2.902-2.902c.03-1.625%201.343-2.934%202.902-2.903'/%3e%3cpath%20fill='%23721f00'%20d='M20.006%2017.337c1.603.035%203.017%201.133%203.017%202.736%200%201.602-1.414%203.065-3.017%203.065s-2.928-1.3-2.902-2.903c.03-1.625%201.344-2.933%202.902-2.903z'/%3e%3cpath%20fill='%23742000'%20d='M20.01%2017.341c1.604.035%203.018%201.133%203.018%202.736s-1.419%203.07-3.017%203.07-2.93-1.3-2.903-2.903c.031-1.625%201.344-2.934%202.903-2.903Z'/%3e%3cpath%20fill='%23752000'%20d='M20.01%2017.346c1.604.035%203.022%201.128%203.022%202.73%200%201.604-1.418%203.07-3.021%203.07s-2.93-1.3-2.903-2.902c.031-1.625%201.344-2.934%202.903-2.898Z'/%3e%3cpath%20fill='%23772000'%20d='M20.015%2017.35c1.603.035%203.021%201.124%203.021%202.727s-1.418%203.074-3.02%203.074-2.93-1.3-2.899-2.898c.03-1.625%201.344-2.934%202.898-2.899z'/%3e%3cpath%20fill='%23792100'%20d='M20.02%2017.354c1.602.035%203.02%201.124%203.02%202.723s-1.422%203.074-3.02%203.074-2.93-1.3-2.898-2.898c.03-1.625%201.343-2.934%202.898-2.899'/%3e%3cpath%20fill='%237a2100'%20d='M20.02%2017.359c1.598.035%203.025%201.12%203.025%202.722%200%201.603-1.423%203.074-3.025%203.074-1.603%200-2.93-1.3-2.898-2.898.03-1.625%201.343-2.934%202.898-2.898'/%3e%3cpath%20fill='%237c2200'%20d='M20.024%2017.363c1.598.035%203.026%201.12%203.026%202.718%200%201.599-1.423%203.079-3.026%203.079s-2.929-1.3-2.898-2.899c.035-1.624%201.344-2.933%202.898-2.898'/%3e%3cpath%20fill='%237e2200'%20d='M20.029%2017.367c1.598.036%203.025%201.116%203.025%202.714%200%201.599-1.427%203.079-3.025%203.079-1.599%200-2.93-1.3-2.899-2.899.035-1.624%201.344-2.933%202.899-2.898z'/%3e%3cpath%20fill='%23802300'%20d='M20.033%2017.372c1.598.04%203.025%201.11%203.025%202.714%200%201.602-1.427%203.082-3.025%203.082-1.599%200-2.93-1.295-2.898-2.898.035-1.625%201.343-2.933%202.898-2.898'/%3e%3cpath%20fill='%23812300'%20d='M20.033%2017.376c1.598.04%203.03%201.111%203.03%202.71s-1.427%203.082-3.03%203.082-2.93-1.295-2.898-2.898c.035-1.625%201.343-2.933%202.898-2.898z'/%3e%3cpath%20fill='%23832400'%20d='M20.037%2017.385c1.599.04%203.03%201.107%203.03%202.705s-1.431%203.087-3.03%203.087-2.929-1.295-2.898-2.898c.035-1.625%201.348-2.933%202.898-2.898z'/%3e%3cpath%20fill='%23852400'%20d='M20.042%2017.39c1.598.039%203.03%201.106%203.03%202.704s-1.432%203.087-3.03%203.087c-1.599%200-2.93-1.295-2.894-2.893.035-1.625%201.348-2.934%202.894-2.894v-.005Z'/%3e%3cpath%20fill='%23862500'%20d='M20.042%2017.394c1.598.04%203.03%201.102%203.03%202.7s-1.432%203.092-3.03%203.092c-1.599%200-2.93-1.296-2.894-2.894.035-1.625%201.348-2.933%202.894-2.894z'/%3e%3cpath%20fill='%23882500'%20d='M20.046%2017.398c1.599.04%203.035%201.098%203.035%202.696s-1.436%203.092-3.035%203.092c-1.598%200-2.929-1.296-2.894-2.894.035-1.625%201.348-2.933%202.894-2.894'/%3e%3cpath%20fill='%238a2600'%20d='M20.05%2017.403c1.599.04%203.035%201.097%203.035%202.696%200%201.598-1.436%203.091-3.035%203.091-1.598%200-2.928-1.295-2.893-2.894.035-1.624%201.348-2.933%202.893-2.893'/%3e%3cpath%20fill='%238b2600'%20d='M20.055%2017.407c1.598.04%203.034%201.093%203.034%202.692%200%201.598-1.436%203.096-3.034%203.096-1.599%200-2.929-1.296-2.894-2.894.035-1.625%201.348-2.934%202.894-2.894'/%3e%3cpath%20fill='%238d2600'%20d='M20.055%2017.411c1.598.04%203.039%201.09%203.039%202.688s-1.44%203.096-3.04%203.096c-1.598%200-2.928-1.296-2.893-2.894.04-1.625%201.348-2.934%202.894-2.894z'/%3e%3cpath%20fill='%238f2700'%20d='M20.06%2017.416c1.598.044%203.038%201.089%203.038%202.687%200%201.599-1.44%203.1-3.039%203.1-1.598%200-2.929-1.295-2.893-2.893.039-1.625%201.348-2.934%202.893-2.894Z'/%3e%3cpath%20fill='%23912700'%20d='M20.064%2017.42c1.598.044%203.038%201.085%203.038%202.683%200%201.599-1.44%203.1-3.038%203.1-1.599%200-2.93-1.295-2.894-2.893.04-1.625%201.348-2.934%202.894-2.894z'/%3e%3cpath%20fill='%23922800'%20d='M20.064%2017.424c1.594.044%203.038%201.085%203.038%202.68%200%201.593-1.444%203.104-3.038%203.104s-2.93-1.296-2.89-2.89c.04-1.624%201.348-2.933%202.89-2.89z'/%3e%3cpath%20fill='%23942800'%20d='M20.068%2017.433c1.594.044%203.043%201.08%203.043%202.679s-1.445%203.105-3.043%203.105-2.929-1.296-2.89-2.89c.04-1.625%201.353-2.933%202.89-2.89z'/%3e%3cpath%20fill='%23962900'%20d='M20.072%2017.438c1.595.044%203.044%201.076%203.044%202.674s-1.445%203.109-3.044%203.109-2.928-1.295-2.889-2.89c.04-1.624%201.352-2.933%202.89-2.889v-.004Z'/%3e%3cpath%20fill='%23972900'%20d='M20.077%2017.442c1.594.044%203.043%201.076%203.043%202.67s-1.45%203.109-3.043%203.109-2.93-1.295-2.89-2.89c.04-1.624%201.353-2.933%202.89-2.889'/%3e%3cpath%20fill='%23992a00'%20d='M20.077%2017.447c1.594.043%203.043%201.071%203.043%202.67s-1.45%203.108-3.043%203.108-2.93-1.295-2.89-2.89c.04-1.624%201.353-2.932%202.89-2.889Z'/%3e%3cpath%20fill='%239b2a00'%20d='M20.081%2017.45c1.594.045%203.048%201.072%203.048%202.666s-1.45%203.114-3.048%203.114-2.929-1.296-2.89-2.89c.04-1.624%201.353-2.933%202.89-2.89'/%3e%3cpath%20fill='%239c2b00'%20d='M20.086%2017.455c1.594.044%203.047%201.067%203.047%202.661s-1.453%203.114-3.047%203.114-2.93-1.296-2.89-2.89c.04-1.624%201.353-2.933%202.89-2.89z'/%3e%3cpath%20fill='%239e2b00'%20d='M20.086%2017.46c1.594.048%203.047%201.062%203.047%202.66%200%201.6-1.453%203.119-3.047%203.119s-2.93-1.296-2.89-2.89c.044-1.625%201.353-2.933%202.89-2.89Z'/%3e%3cpath%20fill='%23a02c00'%20d='M20.09%2017.464c1.594.048%203.052%201.063%203.052%202.657s-1.454%203.118-3.052%203.118-2.929-1.296-2.89-2.89c.044-1.625%201.353-2.933%202.89-2.89z'/%3e%3cpath%20fill='%23a22c00'%20d='M20.094%2017.468c1.594.049%203.052%201.059%203.052%202.653s-1.458%203.122-3.052%203.122-2.929-1.291-2.885-2.885c.044-1.625%201.353-2.934%202.885-2.885z'/%3e%3cpath%20fill='%23a32d00'%20d='M20.099%2017.477c1.594.049%203.052%201.054%203.052%202.648s-1.458%203.122-3.052%203.122-2.93-1.29-2.885-2.885c.044-1.624%201.352-2.933%202.885-2.885'/%3e%3cpath%20fill='%23a52d00'%20d='M20.099%2017.482c1.594.048%203.052%201.053%203.052%202.648%200%201.594-1.458%203.126-3.052%203.126s-2.93-1.29-2.885-2.885c.044-1.625%201.352-2.933%202.885-2.885z'/%3e%3cpath%20fill='%23a72d00'%20d='M20.103%2017.486c1.594.048%203.056%201.05%203.056%202.643%200%201.595-1.462%203.127-3.056%203.127s-2.929-1.29-2.885-2.885c.044-1.625%201.357-2.933%202.885-2.885'/%3e%3cpath%20fill='%23a82e00'%20d='M20.108%2017.49c1.594.049%203.056%201.05%203.056%202.64s-1.462%203.126-3.056%203.126-2.93-1.29-2.886-2.885c.044-1.625%201.357-2.933%202.886-2.885z'/%3e%3cpath%20fill='%23aa2e00'%20d='M20.108%2017.495c1.594.048%203.056%201.045%203.056%202.639s-1.462%203.13-3.056%203.13-2.93-1.29-2.886-2.884c.044-1.625%201.357-2.933%202.886-2.885'/%3e%3cpath%20fill='%23ac2f00'%20d='M20.112%2017.5c1.59.047%203.056%201.04%203.056%202.634s-1.466%203.13-3.056%203.13-2.929-1.29-2.885-2.884c.044-1.625%201.357-2.933%202.885-2.885v.004Z'/%3e%3cpath%20fill='%23ad2f00'%20d='M20.116%2017.504c1.59.052%203.061%201.04%203.061%202.63s-1.467%203.135-3.06%203.135c-1.595%200-2.93-1.29-2.886-2.885.044-1.625%201.357-2.933%202.885-2.885z'/%3e%3cpath%20fill='%23af3000'%20d='M20.12%2017.508c1.59.053%203.061%201.036%203.061%202.63s-1.466%203.136-3.06%203.136-2.93-1.291-2.881-2.881c.048-1.625%201.357-2.933%202.88-2.88z'/%3e%3cpath%20fill='%23b13000'%20d='M20.12%2017.512c1.59.053%203.061%201.037%203.061%202.626%200%201.59-1.47%203.14-3.06%203.14s-2.93-1.291-2.881-2.88c.048-1.625%201.357-2.934%202.88-2.881z'/%3e%3cpath%20fill='%23b33100'%20d='M20.125%2017.517c1.59.052%203.065%201.032%203.065%202.621%200%201.59-1.47%203.14-3.065%203.14s-2.929-1.291-2.88-2.88c.048-1.625%201.356-2.934%202.88-2.881'/%3e%3cpath%20fill='%23b43100'%20d='M20.13%2017.526c1.59.052%203.065%201.027%203.065%202.621s-1.471%203.14-3.066%203.14-2.928-1.291-2.88-2.88c.048-1.626%201.357-2.934%202.88-2.881Z'/%3e%3cpath%20fill='%23b63200'%20d='M20.13%2017.53c1.59.053%203.065%201.027%203.065%202.617s-1.476%203.144-3.066%203.144-2.928-1.29-2.88-2.88c.048-1.625%201.357-2.934%202.88-2.881Z'/%3e%3cpath%20fill='%23b83200'%20d='M20.134%2017.534c1.59.053%203.065%201.024%203.065%202.613%200%201.59-1.476%203.144-3.065%203.144-1.59%200-2.93-1.29-2.88-2.88.047-1.625%201.356-2.934%202.88-2.881z'/%3e%3cpath%20fill='%23b93300'%20d='M20.138%2017.539c1.59.052%203.07%201.018%203.07%202.612s-1.48%203.149-3.07%203.149-2.929-1.291-2.88-2.88c.048-1.63%201.36-2.934%202.88-2.881'/%3e%3cpath%20fill='%23b30'%20d='M23.212%2020.151c0%201.59-1.48%203.149-3.07%203.149s-2.928-1.291-2.88-2.88c.048-1.63%201.361-2.934%202.88-2.881%201.59.057%203.07%201.018%203.07%202.608v.005Z'/%3e%3cpath%20fill='%23bc3502'%20d='M20.143%2017.547c1.59.053%203.07%201.02%203.07%202.613%200%201.594-1.476%203.149-3.07%203.149s-2.93-1.291-2.881-2.88c.048-1.626%201.361-2.93%202.88-2.881Z'%20opacity='.99'/%3e%3cpath%20fill='%23bc3705'%20d='M20.147%2017.552c1.59.053%203.065%201.023%203.065%202.613s-1.475%203.144-3.065%203.144-2.924-1.291-2.88-2.88c.048-1.626%201.356-2.93%202.88-2.881z'%20opacity='.98'/%3e%3cpath%20fill='%23bd3907'%20d='M20.147%2017.552c1.59.053%203.065%201.027%203.065%202.617s-1.475%203.144-3.065%203.144-2.924-1.29-2.88-2.88c.048-1.625%201.356-2.93%202.88-2.881'%20opacity='.97'/%3e%3cpath%20fill='%23bd3a09'%20d='M20.151%2017.556c1.59.053%203.061%201.028%203.061%202.617%200%201.59-1.47%203.14-3.06%203.14s-2.925-1.29-2.881-2.88c.048-1.625%201.357-2.93%202.88-2.881z'%20opacity='.96'/%3e%3cpath%20fill='%23be3c0c'%20d='M20.151%2017.56c1.59.053%203.061%201.033%203.061%202.622%200%201.59-1.47%203.136-3.06%203.136s-2.925-1.291-2.881-2.881c.048-1.625%201.357-2.929%202.88-2.88v.004Z'%20opacity='.95'/%3e%3cpath%20fill='%23bf3e0e'%20d='M20.156%2017.565c1.59.053%203.06%201.032%203.06%202.622s-1.466%203.135-3.06%203.135-2.925-1.291-2.88-2.88c.047-1.625%201.356-2.93%202.88-2.881z'%20opacity='.95'/%3e%3cpath%20fill='%23bf4010'%20d='M20.16%2017.57c1.59.052%203.057%201.036%203.057%202.625%200%201.59-1.467%203.131-3.057%203.131s-2.924-1.29-2.88-2.88c.048-1.625%201.357-2.93%202.88-2.881z'%20opacity='.94'/%3e%3cpath%20fill='%23c04213'%20d='M20.16%2017.574c1.59.052%203.057%201.036%203.057%202.626s-1.467%203.13-3.057%203.13-2.924-1.29-2.88-2.88c.043-1.625%201.352-2.929%202.88-2.88z'%20opacity='.93'/%3e%3cpath%20fill='%23c14415'%20d='M20.165%2017.578c1.59.049%203.052%201.041%203.052%202.63%200%201.59-1.463%203.127-3.052%203.127-1.59%200-2.925-1.29-2.881-2.88.044-1.625%201.353-2.93%202.88-2.881v.004Z'%20opacity='.92'/%3e%3cpath%20fill='%23c14617'%20d='M20.165%2017.578c1.59.049%203.052%201.041%203.052%202.635s-1.463%203.127-3.052%203.127c-1.59%200-2.925-1.291-2.881-2.881.044-1.625%201.353-2.925%202.88-2.88Z'%20opacity='.91'/%3e%3cpath%20fill='%23c24719'%20d='M20.17%2017.583c1.589.048%203.051%201.045%203.051%202.634%200%201.59-1.462%203.123-3.052%203.123s-2.925-1.291-2.88-2.881c.043-1.625%201.352-2.925%202.88-2.88z'%20opacity='.9'/%3e%3cpath%20fill='%23c2491c'%20d='M20.169%2017.587c1.59.048%203.047%201.05%203.047%202.64%200%201.589-1.457%203.121-3.047%203.121s-2.92-1.29-2.88-2.88c.043-1.625%201.352-2.925%202.88-2.881'%20opacity='.89'/%3e%3cpath%20fill='%23c34b1e'%20d='M20.173%2017.591c1.59.049%203.048%201.05%203.048%202.64s-1.458%203.117-3.048%203.117-2.92-1.29-2.88-2.88c.044-1.625%201.352-2.925%202.88-2.881z'%20opacity='.88'/%3e%3cpath%20fill='%23c44d20'%20d='M20.173%2017.596c1.59.048%203.044%201.054%203.044%202.643%200%201.59-1.454%203.114-3.044%203.114s-2.92-1.291-2.88-2.88c.044-1.621%201.352-2.925%202.88-2.882z'%20opacity='.87'/%3e%3cpath%20fill='%23c44f23'%20d='M20.178%2017.6c1.59.048%203.043%201.054%203.043%202.644s-1.454%203.113-3.043%203.113-2.92-1.29-2.88-2.88c.043-1.62%201.347-2.925%202.88-2.881z'%20opacity='.86'/%3e%3cpath%20fill='%23c55125'%20d='M20.182%2017.6c1.59.048%203.043%201.058%203.043%202.648s-1.453%203.11-3.043%203.11-2.92-1.292-2.88-2.881c.043-1.62%201.348-2.925%202.88-2.881z'%20opacity='.85'/%3e%3cpath%20fill='%23c65327'%20d='M20.182%2017.605c1.59.048%203.039%201.058%203.039%202.648s-1.45%203.108-3.039%203.108-2.92-1.29-2.88-2.88c.043-1.62%201.348-2.925%202.88-2.88z'%20opacity='.85'/%3e%3cpath%20fill='%23c6542a'%20d='M20.187%2017.609c1.59.044%203.038%201.063%203.038%202.652s-1.449%203.105-3.038%203.105c-1.59%200-2.92-1.291-2.881-2.88.04-1.621%201.348-2.925%202.88-2.881v.004Z'%20opacity='.84'/%3e%3cpath%20fill='%23c7562c'%20d='M20.187%2017.613c1.59.044%203.034%201.063%203.034%202.657s-1.445%203.105-3.034%203.105c-1.59%200-2.92-1.291-2.881-2.881.04-1.62%201.348-2.92%202.88-2.88Z'%20opacity='.83'/%3e%3cpath%20fill='%23c7582e'%20d='M20.191%2017.618c1.59.044%203.034%201.067%203.034%202.657s-1.444%203.1-3.034%203.1-2.92-1.291-2.88-2.881c.039-1.62%201.347-2.92%202.88-2.88z'%20opacity='.82'/%3e%3cpath%20fill='%23c85a31'%20d='M20.191%2017.622c1.59.044%203.034%201.072%203.034%202.661%200%201.59-1.444%203.096-3.034%203.096s-2.92-1.291-2.88-2.88c.039-1.621%201.347-2.92%202.88-2.881z'%20opacity='.81'/%3e%3cpath%20fill='%23c95c33'%20d='M20.195%2017.622c1.59.044%203.03%201.072%203.03%202.661%200%201.59-1.44%203.096-3.03%203.096s-2.915-1.291-2.88-2.88c.04-1.621%201.343-2.92%202.88-2.881z'%20opacity='.8'/%3e%3cpath%20fill='%23c95e35'%20d='M20.195%2017.627c1.59.043%203.03%201.075%203.03%202.665s-1.44%203.091-3.03%203.091-2.915-1.29-2.88-2.88c.04-1.62%201.343-2.92%202.88-2.88z'%20opacity='.79'/%3e%3cpath%20fill='%23ca6038'%20d='M20.2%2017.63c1.59.045%203.025%201.077%203.025%202.666%200%201.59-1.436%203.092-3.025%203.092-1.59%200-2.916-1.291-2.88-2.88.039-1.621%201.343-2.921%202.88-2.881v.004Z'%20opacity='.78'/%3e%3cpath%20fill='%23ca613a'%20d='M20.204%2017.635c1.59.044%203.026%201.08%203.026%202.67s-1.436%203.087-3.026%203.087-2.916-1.29-2.88-2.88c.04-1.62%201.343-2.92%202.88-2.881z'%20opacity='.77'/%3e%3cpath%20fill='%23cb633c'%20d='M20.204%2017.64c1.59.044%203.026%201.08%203.026%202.674s-1.436%203.087-3.026%203.087-2.916-1.291-2.88-2.88c.04-1.621%201.343-2.92%202.88-2.881'%20opacity='.76'/%3e%3cpath%20fill='%23cc653f'%20d='M20.209%2017.644c1.59.04%203.02%201.085%203.02%202.674%200%201.59-1.43%203.083-3.02%203.083s-2.916-1.291-2.881-2.88c.04-1.617%201.344-2.92%202.88-2.881v.004Z'%20opacity='.75'/%3e%3cpath%20fill='%23cc6741'%20d='M20.209%2017.644c1.59.04%203.02%201.09%203.02%202.679%200%201.59-1.43%203.082-3.02%203.082s-2.916-1.29-2.881-2.88c.035-1.616%201.344-2.92%202.88-2.88Z'%20opacity='.75'/%3e%3cpath%20fill='%23cd6943'%20d='M20.213%2017.648c1.59.04%203.021%201.09%203.021%202.68%200%201.589-1.427%203.077-3.021%203.077s-2.916-1.29-2.88-2.88c.035-1.616%201.339-2.916%202.88-2.88z'%20opacity='.74'/%3e%3cpath%20fill='%23ce6b46'%20d='M20.213%2017.653c1.59.04%203.017%201.093%203.017%202.683s-1.427%203.074-3.017%203.074-2.916-1.291-2.88-2.88c.035-1.617%201.339-2.917%202.88-2.882z'%20opacity='.73'/%3e%3cpath%20fill='%23ce6c48'%20d='M20.217%2017.657c1.59.04%203.017%201.094%203.017%202.683%200%201.59-1.427%203.074-3.017%203.074s-2.915-1.29-2.88-2.88c.035-1.616%201.34-2.916%202.88-2.881z'%20opacity='.72'/%3e%3cpath%20fill='%23cf6e4a'%20d='M20.222%2017.662c1.59.04%203.012%201.098%203.012%202.687%200%201.59-1.423%203.07-3.012%203.07-1.59%200-2.912-1.291-2.881-2.881.035-1.616%201.34-2.916%202.88-2.88v.004Z'%20opacity='.71'/%3e%3cpath%20fill='%23cf704c'%20d='M20.222%2017.666c1.59.04%203.012%201.098%203.012%202.688s-1.423%203.069-3.012%203.069c-1.59%200-2.912-1.291-2.881-2.88.035-1.617%201.34-2.916%202.88-2.881v.004Z'%20opacity='.7'/%3e%3cpath%20fill='%23d0724f'%20d='M20.226%2017.67c1.59.04%203.012%201.103%203.012%202.692s-1.418%203.065-3.012%203.065-2.911-1.29-2.88-2.88c.035-1.616%201.339-2.916%202.88-2.881z'%20opacity='.69'/%3e%3cpath%20fill='%23d17451'%20d='M20.226%2017.67c1.59.04%203.008%201.103%203.008%202.697s-1.418%203.065-3.008%203.065-2.911-1.291-2.88-2.88c.035-1.617%201.339-2.917%202.88-2.882'%20opacity='.68'/%3e%3cpath%20fill='%23d17653'%20d='M20.23%2017.675c1.59.035%203.008%201.106%203.008%202.696s-1.418%203.06-3.008%203.06-2.911-1.29-2.88-2.88c.035-1.616%201.335-2.916%202.88-2.88z'%20opacity='.67'/%3e%3cpath%20fill='%23d27856'%20d='M20.23%2017.68c1.59.034%203.004%201.11%203.004%202.7s-1.414%203.06-3.004%203.06-2.911-1.29-2.88-2.88c.035-1.616%201.335-2.916%202.88-2.88'%20opacity='.66'/%3e%3cpath%20fill='%23d27958'%20d='M20.235%2017.684c1.59.035%203.003%201.11%203.003%202.7s-1.413%203.057-3.003%203.057-2.912-1.291-2.88-2.881c.03-1.616%201.334-2.912%202.88-2.88z'%20opacity='.65'/%3e%3cpath%20fill='%23d37b5a'%20d='M20.235%2017.688c1.59.035%203.003%201.115%203.003%202.705s-1.41%203.052-3.003%203.052-2.912-1.291-2.88-2.88c.03-1.617%201.334-2.912%202.88-2.881z'%20opacity='.65'/%3e%3cpath%20fill='%23d47d5d'%20d='M20.24%2017.692c1.589.035%202.998%201.116%202.998%202.705%200%201.59-1.41%203.052-2.999%203.052s-2.911-1.29-2.88-2.88c.03-1.612%201.334-2.912%202.88-2.881z'%20opacity='.64'/%3e%3cpath%20fill='%23d47f5f'%20d='M20.244%2017.692c1.59.035%202.999%201.12%202.999%202.71s-1.41%203.047-3%203.047c-1.589%200-2.91-1.29-2.88-2.88.03-1.612%201.335-2.912%202.88-2.881v.004Z'%20opacity='.63'/%3e%3cpath%20fill='%23d58161'%20d='M20.244%2017.697c1.59.035%202.995%201.12%202.995%202.71s-1.406%203.047-2.995%203.047-2.907-1.291-2.88-2.88c.03-1.613%201.33-2.912%202.88-2.882z'%20opacity='.62'/%3e%3cpath%20fill='%23d68364'%20d='M20.248%2017.701c1.59.035%202.995%201.124%202.995%202.714s-1.405%203.043-2.995%203.043-2.907-1.29-2.88-2.88c.03-1.612%201.33-2.912%202.88-2.881z'%20opacity='.61'/%3e%3cpath%20fill='%23d68566'%20d='M20.248%2017.706c1.59.035%202.995%201.128%202.995%202.718s-1.405%203.043-2.995%203.043-2.907-1.291-2.88-2.88c.03-1.612%201.33-2.912%202.88-2.881'%20opacity='.6'/%3e%3cpath%20fill='%23d78668'%20d='M20.252%2017.71c1.59.03%202.99%201.128%202.99%202.718s-1.4%203.039-2.99%203.039-2.907-1.291-2.88-2.88c.03-1.612%201.33-2.912%202.88-2.881z'%20opacity='.59'/%3e%3cpath%20fill='%23d7886b'%20d='M20.252%2017.714c1.59.031%202.99%201.133%202.99%202.723s-1.4%203.034-2.99%203.034-2.907-1.29-2.88-2.88c.03-1.612%201.33-2.912%202.88-2.881z'%20opacity='.58'/%3e%3cpath%20fill='%23d88a6d'%20d='M20.257%2017.714c1.59.031%202.986%201.133%202.986%202.723s-1.397%203.034-2.986%203.034-2.907-1.29-2.88-2.88c.026-1.612%201.33-2.907%202.88-2.881z'%20opacity='.57'/%3e%3cpath%20fill='%23d98c6f'%20d='M20.257%2017.719c1.59.03%202.986%201.137%202.986%202.727s-1.397%203.03-2.986%203.03-2.907-1.291-2.88-2.881c.026-1.612%201.33-2.907%202.88-2.88z'%20opacity='.56'/%3e%3cpath%20fill='%23d98e72'%20d='M20.261%2017.723c1.59.03%202.986%201.137%202.986%202.727s-1.396%203.03-2.986%203.03-2.907-1.291-2.88-2.88c.026-1.612%201.326-2.908%202.88-2.881z'%20opacity='.55'/%3e%3cpath%20fill='%23da9074'%20d='M20.266%2017.727c1.59.031%202.981%201.142%202.981%202.732s-1.392%203.026-2.981%203.026c-1.59%200-2.907-1.292-2.881-2.881.026-1.612%201.326-2.907%202.88-2.88v.003Z'%20opacity='.55'/%3e%3cpath%20fill='%23db9276'%20d='M20.266%2017.732c1.59.03%202.981%201.142%202.981%202.736s-1.392%203.025-2.981%203.025c-1.59%200-2.907-1.29-2.881-2.88.026-1.612%201.326-2.907%202.88-2.881Z'%20opacity='.54'/%3e%3cpath%20fill='%23db9379'%20d='M20.27%2017.736c1.59.031%202.977%201.146%202.977%202.736s-1.387%203.021-2.977%203.021-2.903-1.29-2.88-2.88c.026-1.612%201.325-2.907%202.88-2.881z'%20opacity='.53'/%3e%3cpath%20fill='%23dc957b'%20d='M20.27%2017.736c1.59.027%202.977%201.15%202.977%202.74s-1.387%203.022-2.977%203.022-2.903-1.291-2.88-2.881c.026-1.607%201.325-2.907%202.88-2.88Z'%20opacity='.52'/%3e%3cpath%20fill='%23dc977d'%20d='M20.274%2017.74c1.59.027%202.978%201.151%202.978%202.74s-1.388%203.018-2.978%203.018-2.902-1.291-2.88-2.881c.026-1.607%201.326-2.907%202.88-2.88v.004Z'%20opacity='.51'/%3e%3cpath%20fill='%23dd9980'%20d='M20.274%2017.745c1.59.026%202.973%201.155%202.973%202.745s-1.383%203.012-2.973%203.012-2.902-1.291-2.88-2.88c.026-1.608%201.326-2.908%202.88-2.881z'%20opacity='.5'/%3e%3cpath%20fill='%23de9b82'%20d='M20.279%2017.75c1.59.026%202.973%201.154%202.973%202.744s-1.384%203.012-2.973%203.012c-1.59%200-2.903-1.29-2.88-2.88.025-1.607%201.32-2.903%202.88-2.88z'%20opacity='.49'/%3e%3cpath%20fill='%23de9d84'%20d='M20.279%2017.754c1.59.026%202.968%201.16%202.968%202.749s-1.379%203.008-2.968%203.008c-1.59%200-2.903-1.291-2.88-2.88.021-1.608%201.32-2.904%202.88-2.881z'%20opacity='.48'/%3e%3cpath%20fill='%23df9f86'%20d='M20.283%2017.758c1.59.027%202.969%201.16%202.969%202.75%200%201.589-1.38%203.007-2.969%203.007-1.59%200-2.902-1.29-2.88-2.88.021-1.608%201.321-2.903%202.88-2.881z'%20opacity='.47'/%3e%3cpath%20fill='%23dfa089'%20d='M20.288%2017.758c1.59.027%202.968%201.164%202.968%202.754s-1.379%203.003-2.968%203.003c-1.59%200-2.903-1.29-2.881-2.88.022-1.608%201.322-2.903%202.88-2.881v.004Z'%20opacity='.46'/%3e%3cpath%20fill='%23e0a28b'%20d='M20.288%2017.763c1.59.026%202.964%201.163%202.964%202.757s-1.375%203.004-2.964%203.004c-1.59%200-2.903-1.291-2.881-2.88.022-1.608%201.322-2.903%202.88-2.881Z'%20opacity='.45'/%3e%3cpath%20fill='%23e1a48d'%20d='M20.292%2017.767c1.59.026%202.964%201.168%202.964%202.758s-1.374%202.999-2.964%202.999-2.903-1.291-2.88-2.88c.021-1.608%201.321-2.903%202.88-2.881z'%20opacity='.45'/%3e%3cpath%20fill='%23e1a690'%20d='M20.292%2017.771c1.59.022%202.964%201.173%202.964%202.762%200%201.59-1.37%203-2.964%203s-2.898-1.291-2.88-2.88c.021-1.608%201.321-2.903%202.88-2.882'%20opacity='.44'/%3e%3cpath%20fill='%23e2a892'%20d='M20.296%2017.776c1.59.022%202.96%201.172%202.96%202.762s-1.37%202.995-2.96%202.995-2.898-1.291-2.88-2.88c.022-1.608%201.317-2.903%202.88-2.882z'%20opacity='.43'/%3e%3cpath%20fill='%23e3aa94'%20d='M20.296%2017.78c1.59.022%202.96%201.177%202.96%202.767s-1.37%202.99-2.96%202.99-2.898-1.29-2.88-2.88c.022-1.608%201.317-2.903%202.88-2.881z'%20opacity='.42'/%3e%3cpath%20fill='%23e3ac97'%20d='M20.3%2017.785c1.59.022%202.956%201.177%202.956%202.766%200%201.59-1.366%202.99-2.955%202.99-1.59%200-2.898-1.29-2.88-2.88.021-1.607%201.317-2.898%202.88-2.88v.004Z'%20opacity='.41'/%3e%3cpath%20fill='%23e4ad99'%20d='M20.305%2017.785c1.59.022%202.956%201.18%202.956%202.77s-1.366%202.987-2.956%202.987-2.898-1.292-2.88-2.881c.021-1.603%201.317-2.898%202.88-2.88z'%20opacity='.4'/%3e%3cpath%20fill='%23e4af9b'%20d='M20.305%2017.789c1.59.022%202.956%201.181%202.956%202.77%200%201.59-1.362%202.987-2.956%202.987s-2.898-1.291-2.88-2.88c.017-1.604%201.317-2.899%202.88-2.881z'%20opacity='.39'/%3e%3cpath%20fill='%23e5b19e'%20d='M20.31%2017.793c1.59.022%202.95%201.186%202.95%202.776s-1.36%202.981-2.95%202.981-2.899-1.29-2.881-2.88c.018-1.603%201.317-2.899%202.88-2.881v.004Z'%20opacity='.38'/%3e%3cpath%20fill='%23e6b3a0'%20d='M20.31%2017.798c1.59.022%202.95%201.19%202.95%202.78s-1.36%202.981-2.95%202.981-2.899-1.29-2.881-2.88c.018-1.603%201.317-2.899%202.88-2.881Z'%20opacity='.37'/%3e%3cpath%20fill='%23e6b5a2'%20d='M20.314%2017.802c1.59.022%202.947%201.19%202.947%202.78s-1.357%202.977-2.947%202.977-2.898-1.29-2.88-2.88c.017-1.603%201.312-2.899%202.88-2.881z'%20opacity='.36'/%3e%3cpath%20fill='%23e7b7a5'%20d='M20.314%2017.807c1.59.017%202.947%201.194%202.947%202.784s-1.357%202.973-2.947%202.973-2.898-1.291-2.88-2.881c.017-1.603%201.312-2.898%202.88-2.88z'%20opacity='.35'/%3e%3cpath%20fill='%23e8b9a7'%20d='M20.318%2017.807c1.59.017%202.947%201.194%202.947%202.784s-1.353%202.973-2.947%202.973-2.894-1.291-2.88-2.881c.017-1.603%201.313-2.898%202.88-2.88z'%20opacity='.35'/%3e%3cpath%20fill='%23e8baa9'%20d='M20.318%2017.811c1.59.017%202.942%201.199%202.942%202.788%200%201.59-1.352%202.969-2.942%202.969s-2.894-1.291-2.88-2.88c.017-1.604%201.313-2.899%202.88-2.881z'%20opacity='.34'/%3e%3cpath%20fill='%23e9bcac'%20d='M20.323%2017.815c1.59.018%202.942%201.2%202.942%202.789s-1.353%202.968-2.942%202.968-2.894-1.29-2.88-2.88c.017-1.603%201.312-2.899%202.88-2.881z'%20opacity='.33'/%3e%3cpath%20fill='%23e9beae'%20d='M20.327%2017.82c1.59.017%202.938%201.203%202.938%202.793s-1.348%202.964-2.938%202.964-2.894-1.291-2.88-2.881c.017-1.603%201.312-2.894%202.88-2.88z'%20opacity='.32'/%3e%3cpath%20fill='%23eac0b0'%20d='M20.327%2017.824c1.59.018%202.938%201.203%202.938%202.797s-1.348%202.965-2.938%202.965-2.894-1.292-2.88-2.881c.013-1.603%201.312-2.894%202.88-2.88Z'%20opacity='.31'/%3e%3cpath%20fill='%23ebc2b3'%20d='M20.331%2017.828c1.59.018%202.938%201.208%202.938%202.798s-1.343%202.96-2.938%202.96c-1.594%200-2.893-1.292-2.88-2.881.013-1.603%201.308-2.894%202.88-2.88z'%20opacity='.3'/%3e%3cpath%20fill='%23ebc4b5'%20d='M20.331%2017.828c1.59.018%202.934%201.213%202.934%202.802%200%201.59-1.344%202.96-2.934%202.96s-2.893-1.291-2.88-2.88c.013-1.604%201.308-2.895%202.88-2.882'%20opacity='.29'/%3e%3cpath%20fill='%23ecc6b7'%20d='M20.336%2017.833c1.59.018%202.933%201.212%202.933%202.802s-1.343%202.955-2.933%202.955-2.894-1.291-2.88-2.88c.012-1.6%201.308-2.895%202.88-2.882z'%20opacity='.28'/%3e%3cpath%20fill='%23ecc7b9'%20d='M20.336%2017.837c1.59.014%202.929%201.217%202.929%202.806%200%201.59-1.34%202.951-2.93%202.951-1.589%200-2.893-1.29-2.88-2.88.013-1.599%201.309-2.894%202.88-2.881v.004Z'%20opacity='.27'/%3e%3cpath%20fill='%23edc9bc'%20d='M20.34%2017.842c1.59.013%202.93%201.216%202.93%202.806s-1.34%202.95-2.93%202.95-2.894-1.29-2.88-2.88c.013-1.598%201.308-2.894%202.88-2.88z'%20opacity='.26'/%3e%3cpath%20fill='%23eecbbe'%20d='M20.34%2017.846c1.59.013%202.93%201.22%202.93%202.81s-1.34%202.947-2.93%202.947-2.89-1.291-2.88-2.88c.013-1.6%201.308-2.895%202.88-2.881z'%20opacity='.25'/%3e%3cpath%20fill='%23eecdc0'%20d='M20.345%2017.85c1.59.014%202.924%201.221%202.924%202.81%200%201.59-1.335%202.947-2.924%202.947-1.59%200-2.89-1.29-2.881-2.88.013-1.599%201.304-2.894%202.88-2.88v.003Z'%20opacity='.25'/%3e%3cpath%20fill='%23efcfc3'%20d='M20.35%2017.85c1.589.014%202.924%201.226%202.924%202.815%200%201.59-1.335%202.942-2.925%202.942s-2.89-1.29-2.88-2.88c.013-1.599%201.304-2.89%202.88-2.88v.003Z'%20opacity='.24'/%3e%3cpath%20fill='%23f0d1c5'%20d='M20.35%2017.855c1.589.013%202.92%201.23%202.92%202.82s-1.331%202.941-2.92%202.941c-1.59%200-2.89-1.29-2.882-2.88.014-1.599%201.305-2.89%202.881-2.881Z'%20opacity='.23'/%3e%3cpath%20fill='%23f0d2c7'%20d='M20.354%2017.86c1.59.012%202.92%201.229%202.92%202.819s-1.33%202.937-2.92%202.937-2.89-1.29-2.881-2.88c.009-1.599%201.304-2.89%202.88-2.881v.004Z'%20opacity='.22'/%3e%3cpath%20fill='%23f1d4ca'%20d='M20.354%2017.864c1.59.013%202.92%201.234%202.92%202.823%200%201.59-1.33%202.938-2.92%202.938s-2.89-1.291-2.881-2.88c.009-1.6%201.304-2.89%202.88-2.881Z'%20opacity='.21'/%3e%3cpath%20fill='%23f1d6cc'%20d='M20.358%2017.868c1.59.013%202.916%201.234%202.916%202.824s-1.326%202.933-2.916%202.933-2.89-1.291-2.88-2.88c.008-1.6%201.303-2.89%202.88-2.881z'%20opacity='.2'/%3e%3cpath%20fill='%23f2d8ce'%20d='M20.358%2017.872c1.59.01%202.916%201.239%202.916%202.828%200%201.59-1.326%202.93-2.916%202.93s-2.89-1.292-2.88-2.881c.008-1.599%201.303-2.89%202.88-2.881z'%20opacity='.19'/%3e%3cpath%20fill='%23f3dad1'%20d='M20.362%2017.872c1.59.01%202.912%201.239%202.912%202.828%200%201.59-1.322%202.93-2.912%202.93s-2.89-1.292-2.88-2.881c.008-1.599%201.3-2.89%202.88-2.881z'%20opacity='.18'/%3e%3cpath%20fill='%23f3dcd3'%20d='M20.367%2017.877c1.59.009%202.911%201.243%202.911%202.832%200%201.59-1.322%202.925-2.911%202.925-1.59%200-2.89-1.291-2.881-2.88.009-1.6%201.3-2.89%202.88-2.882v.005Z'%20opacity='.17'/%3e%3cpath%20fill='%23f4ded5'%20d='M20.367%2017.881c1.59.009%202.911%201.243%202.911%202.837s-1.322%202.925-2.911%202.925a2.88%202.88%200%200%201-2.881-2.881c.009-1.594%201.3-2.89%202.88-2.88Z'%20opacity='.16'/%3e%3cpath%20fill='%23f4dfd8'%20d='M20.371%2017.886c1.59.008%202.907%201.247%202.907%202.836%200%201.59-1.317%202.92-2.907%202.92a2.88%202.88%200%200%201-2.88-2.88c.008-1.594%201.3-2.885%202.88-2.88z'%20opacity='.15'/%3e%3cpath%20fill='%23f5e1da'%20d='M20.371%2017.89c1.59.009%202.907%201.252%202.907%202.841s-1.317%202.92-2.907%202.92a2.88%202.88%200%200%201-2.88-2.88c.008-1.594%201.3-2.885%202.88-2.881'%20opacity='.15'/%3e%3cpath%20fill='%23f6e3dc'%20d='M20.375%2017.894c1.59.01%202.907%201.252%202.907%202.841s-1.313%202.916-2.907%202.916a2.877%202.877%200%200%201-2.88-2.88c.008-1.594%201.3-2.885%202.88-2.881z'%20opacity='.14'/%3e%3cpath%20fill='%23f6e5df'%20d='M20.375%2017.899c1.59.009%202.903%201.256%202.903%202.845s-1.313%202.912-2.903%202.912a2.88%202.88%200%200%201-2.88-2.88%202.885%202.885%200%200%201%202.88-2.882z'%20opacity='.13'/%3e%3cpath%20fill='%23f7e7e1'%20d='M20.38%2017.899c1.59.004%202.902%201.256%202.902%202.845s-1.313%202.912-2.902%202.912a2.88%202.88%200%200%201-2.88-2.88%202.88%202.88%200%200%201%202.88-2.882z'%20opacity='.12'/%3e%3cpath%20fill='%23f8e9e3'%20d='M20.38%2017.903c1.59.005%202.898%201.26%202.898%202.85S21.97%2023.66%2020.38%2023.66a2.88%202.88%200%200%201-2.88-2.88%202.88%202.88%200%200%201%202.88-2.881z'%20opacity='.11'/%3e%3cpath%20fill='%23f8ebe6'%20d='M20.384%2017.908c1.59.004%202.898%201.26%202.898%202.85s-1.308%202.907-2.898%202.907a2.88%202.88%200%200%201-2.88-2.881%202.88%202.88%200%200%201%202.88-2.88z'%20opacity='.1'/%3e%3cpath%20fill='%23f9ece8'%20d='M20.389%2017.912c1.59.004%202.898%201.265%202.898%202.854a2.913%202.913%200%200%201-2.898%202.903%202.877%202.877%200%200%201-2.881-2.88%202.88%202.88%200%200%201%202.88-2.881v.004Z'%20opacity='.09'/%3e%3cpath%20fill='%23f9eeea'%20d='M20.389%2017.916c1.59.005%202.893%201.265%202.893%202.86a2.91%202.91%200%200%201-2.893%202.902%202.88%202.88%200%201%201%200-5.761Z'%20opacity='.08'/%3e%3cpath%20fill='%23faf0ec'%20d='M20.393%2017.92c1.59%200%202.894%201.27%202.894%202.86a2.91%202.91%200%200%201-2.894%202.898%202.88%202.88%200%200%201-2.88-2.881%202.88%202.88%200%200%201%202.88-2.88v.004Z'%20opacity='.07'/%3e%3cpath%20fill='%23fbf2ef'%20d='M20.393%2017.92c1.59%200%202.89%201.274%202.89%202.864s-1.3%202.898-2.89%202.898a2.88%202.88%200%200%201-2.88-2.88%202.88%202.88%200%200%201%202.88-2.881Z'%20opacity='.06'/%3e%3cpath%20fill='%23fbf4f1'%20d='M20.397%2017.925c1.59%200%202.89%201.274%202.89%202.863%200%201.59-1.3%202.894-2.89%202.894a2.88%202.88%200%201%201%200-5.761z'%20opacity='.05'/%3e%3cpath%20fill='%23fcf6f3'%20d='M20.397%2017.93c1.59%200%202.89%201.277%202.89%202.867s-1.296%202.89-2.89%202.89a2.88%202.88%200%201%201%200-5.762z'%20opacity='.05'/%3e%3cpath%20fill='%23fdf8f6'%20d='M20.402%2017.934a2.875%202.875%200%200%201%202.885%202.867c0%201.59-1.296%202.89-2.885%202.89a2.88%202.88%200%200%201-2.88-2.88c0-1.59%201.29-2.881%202.88-2.881z'%20opacity='.04'/%3e%3cpath%20fill='%23fdf9f8'%20d='M20.402%2017.938a2.88%202.88%200%200%201%202.885%202.872%202.882%202.882%200%201%201-5.766.004c0-1.59%201.291-2.88%202.88-2.88v.004Z'%20opacity='.03'/%3e%3cpath%20fill='%23fefbfa'%20d='M20.406%2017.943c1.59%200%202.88%201.282%202.88%202.872a2.886%202.886%200%200%201-2.88%202.885%202.88%202.88%200%200%201-2.88-2.881%202.88%202.88%200%200%201%202.88-2.88z'%20opacity='.02'/%3e%3c/g%3e%3c/g%3e%3cmask%20id='e'%20width='40'%20height='40'%20x='0'%20y='0'%20maskUnits='userSpaceOnUse'%20style='mask-type:luminance'%3e%3cpath%20fill='%23fff'%20d='M40%200H0v40h40zM1.317%2039.56a.88.88%200%200%201-.878-.877V1.317A.88.88%200%200%201%201.317.44H18.47c10.802%200%2019.563%208.756%2019.563%2019.563%200%2010.803-8.757%2019.563-19.563%2019.563H1.317v-.004Z'/%3e%3c/mask%3e%3cg%20mask='url(%23e)'%3e%3cmask%20id='f'%20width='75'%20height='76'%20x='-29'%20y='-18'%20maskUnits='userSpaceOnUse'%20style='mask-type:luminance'%3e%3cpath%20fill='%23fff'%20d='M8.752%2057.1c20.49%200%2037.101-16.611%2037.101-37.102S29.243-17.104%208.752-17.104-28.35-.493-28.35%2019.998-11.74%2057.1%208.752%2057.1'/%3e%3c/mask%3e%3cg%20mask='url(%23f)'%3e%3cpath%20fill='%23e04e15'%20d='M22.334-30.688-41.932%206.416l37.104%2064.266%2064.266-37.104z'/%3e%3cpath%20fill='%23e04f15'%20d='M23.109-29.352-41.157%207.752l37.104%2064.266%2064.266-37.104z'/%3e%3cpath%20fill='%23e15015'%20d='M23.881-28.012-40.385%209.092-3.28%2073.358l64.266-37.104-37.104-64.266Z'/%3e%3cpath%20fill='%23e15115'%20d='m24.65-26.67-64.266%2037.104L-2.512%2074.7l64.266-37.104z'/%3e%3cpath%20fill='%23e25215'%20d='m25.42-25.338-64.266%2037.104%2037.104%2064.266%2064.266-37.104z'/%3e%3cpath%20fill='%23e25316'%20d='m26.193-23.998-64.266%2037.104L-.969%2077.372l64.266-37.104z'/%3e%3cpath%20fill='%23e35416'%20d='m26.97-22.658-64.266%2037.104L-.192%2078.712l64.266-37.104z'/%3e%3cpath%20fill='%23e35516'%20d='m27.74-21.322-64.266%2037.104L.578%2080.048l64.266-37.104z'/%3e%3cpath%20fill='%23e35616'%20d='m28.513-19.982-64.266%2037.104L1.35%2081.388l64.266-37.104z'/%3e%3cpath%20fill='%23e45716'%20d='M29.285-18.646-34.98%2018.458%202.123%2082.724%2066.39%2045.62z'/%3e%3cpath%20fill='%23e45716'%20d='m30.06-17.31-64.266%2037.104L2.898%2084.06l64.266-37.104z'/%3e%3cpath%20fill='%23e55816'%20d='m30.832-15.97-64.266%2037.104L3.67%2085.4l64.266-37.104z'/%3e%3cpath%20fill='%23e55916'%20d='m31.605-14.63-64.266%2037.104L4.443%2086.74l64.266-37.104z'/%3e%3cpath%20fill='%23e55a16'%20d='m32.371-13.296-64.266%2037.104L5.21%2088.073%2069.475%2050.97z'/%3e%3cpath%20fill='%23e65b16'%20d='m33.148-11.956-64.266%2037.104L5.986%2089.412%2070.252%2052.31z'/%3e%3cpath%20fill='%23e65c17'%20d='m33.92-10.617-64.265%2037.104L6.759%2090.753%2071.025%2053.65z'/%3e%3cpath%20fill='%23e75d17'%20d='m34.691-9.28-64.266%2037.104L7.53%2092.09l64.266-37.104z'/%3e%3cpath%20fill='%23e75e17'%20d='M35.464-7.945-28.802%2029.16%208.302%2093.425l64.266-37.104z'/%3e%3cpath%20fill='%23e85f17'%20d='M36.236-6.605-28.03%2030.5%209.074%2094.765%2073.34%2057.661z'/%3e%3cpath%20fill='%23e86017'%20d='m37.01-5.269-64.265%2037.104L9.849%2096.101l64.266-37.104z'/%3e%3cpath%20fill='%23e86117'%20d='m37.309-4.75-64.266%2037.104L10.147%2096.62l64.266-37.104z'/%3e%3cpath%20fill='%23e96217'%20d='m37.607-4.23-64.266%2037.103L10.445%2097.14l64.266-37.104z'/%3e%3cpath%20fill='%23e96317'%20d='M37.905-3.716-26.36%2033.388l37.104%2064.266L75.01%2060.55z'/%3e%3cpath%20fill='%23e96418'%20d='m38.208-3.197-64.266%2037.104%2037.104%2064.266%2064.266-37.104z'/%3e%3cpath%20fill='%23e96518'%20d='m38.504-2.682-64.266%2037.104%2037.104%2064.266%2064.266-37.104z'/%3e%3cpath%20fill='%23ea6618'%20d='m38.802-2.163-64.266%2037.104L11.64%2099.207l64.266-37.104z'/%3e%3cpath%20fill='%23ea6718'%20d='m39.1-1.648-64.266%2037.104%2037.104%2064.266%2064.266-37.104z'/%3e%3cpath%20fill='%23ea6818'%20d='m39.398-1.13-64.266%2037.105%2037.104%2064.266%2064.266-37.104z'/%3e%3cpath%20fill='%23ea6918'%20d='M39.698-.614-24.568%2036.49l37.105%2064.266%2064.265-37.104z'/%3e%3cpath%20fill='%23eb6a18'%20d='m39.996-.095-64.265%2037.104%2037.103%2064.266L77.1%2064.171z'/%3e%3cpath%20fill='%23eb6b19'%20d='m40.295.424-64.266%2037.104%2037.104%2064.266L77.399%2064.69z'/%3e%3cpath%20fill='%23eb6c19'%20d='m40.593.939-64.266%2037.103%2037.104%2064.266%2064.266-37.104z'/%3e%3cpath%20fill='%23eb6d19'%20d='M40.895%201.458-23.37%2038.562l37.104%2064.265L78%2065.724%2040.895%201.457Z'/%3e%3cpath%20fill='%23ec6e19'%20d='m41.191%201.973-64.266%2037.104%2037.104%2064.266%2064.266-37.104z'/%3e%3cpath%20fill='%23ec6f19'%20d='m41.49%202.492-64.267%2037.104%2037.104%2064.266%2064.266-37.104z'/%3e%3cpath%20fill='%23ec7019'%20d='M41.788%203.006-22.479%2040.11l37.104%2064.266L78.89%2067.272z'/%3e%3cpath%20fill='%23ec7119'%20d='M42.086%203.525-22.18%2040.63l37.104%2064.266L79.19%2067.791z'/%3e%3cpath%20fill='%23ed7219'%20d='M42.386%204.04-21.88%2041.146l37.104%2064.266L79.49%2068.306z'/%3e%3cpath%20fill='%23ed731a'%20d='m42.684%204.56-64.266%2037.104%2037.104%2064.266%2064.266-37.104z'/%3e%3cpath%20fill='%23ed741a'%20d='m42.982%205.079-64.266%2037.104%2037.104%2064.266%2064.266-37.104z'/%3e%3cpath%20fill='%23ed751a'%20d='m43.28%205.593-64.266%2037.104%2037.104%2064.266%2064.266-37.104z'/%3e%3cpath%20fill='%23ee761a'%20d='m43.583%206.112-64.266%2037.104%2037.104%2064.266%2064.266-37.104z'/%3e%3cpath%20fill='%23ee771a'%20d='m43.879%206.627-64.266%2037.104%2037.104%2064.266%2064.266-37.104z'/%3e%3cpath%20fill='%23ee781a'%20d='M44.177%207.146-20.09%2044.25l37.104%2064.266L81.28%2071.412z'/%3e%3cpath%20fill='%23ef791a'%20d='m44.475%207.661-64.266%2037.104%2037.104%2064.266L81.58%2071.927z'/%3e%3cpath%20fill='%23ef7a1b'%20d='m44.773%208.18-64.266%2037.104%2037.104%2064.266%2064.266-37.104z'/%3e%3cpath%20fill='%23ef7b1b'%20d='M45.073%208.695-19.193%2045.8l37.105%2064.266%2064.265-37.104z'/%3e%3cpath%20fill='%23ef7c1b'%20d='m45.371%209.214-64.265%2037.104%2037.103%2064.266L82.476%2073.48z'/%3e%3cpath%20fill='%23f07d1b'%20d='m45.67%209.733-64.266%2037.104%2037.104%2064.266%2064.266-37.104z'/%3e%3cpath%20fill='%23f07e1b'%20d='m45.968%2010.248-64.266%2037.104%2037.104%2064.266%2064.266-37.104z'/%3e%3cpath%20fill='%23f07f1b'%20d='M46.27%2010.767-17.996%2047.87l37.104%2064.266%2064.266-37.104z'/%3e%3cpath%20fill='%23f0801b'%20d='M46.566%2011.282-17.7%2048.386l37.104%2064.266L83.67%2075.548z'/%3e%3cpath%20fill='%23f1801c'%20d='m46.864%2011.801-64.266%2037.104%2037.104%2064.266%2064.266-37.104z'/%3e%3cpath%20fill='%23f1811c'%20d='m47.162%2012.32-64.266%2037.104L20%20113.69l64.266-37.104z'/%3e%3cpath%20fill='%23f1821c'%20d='m47.46%2012.835-64.265%2037.104%2037.104%2064.266%2064.266-37.104z'/%3e%3cpath%20fill='%23f1831c'%20d='m47.76%2013.35-64.265%2037.104%2037.104%2064.266%2064.266-37.104z'/%3e%3cpath%20fill='%23f2841c'%20d='m48.059%2013.869-64.266%2037.104%2037.104%2064.266%2064.266-37.104z'/%3e%3cpath%20fill='%23f2851c'%20d='m48.357%2014.388-64.266%2037.104%2037.104%2064.266%2064.266-37.104z'/%3e%3cpath%20fill='%23f2861c'%20d='M48.655%2014.903-15.61%2052.007l37.104%2064.266L85.76%2079.168z'/%3e%3cpath%20fill='%23f2871d'%20d='m48.958%2015.422-64.266%2037.104%2037.104%2064.266%2064.266-37.105z'/%3e%3cpath%20fill='%23f3881d'%20d='M49.254%2015.937-15.012%2053.04l37.104%2064.266%2064.266-37.104z'/%3e%3cpath%20fill='%23f3891d'%20d='M49.552%2016.456-14.714%2053.56l37.104%2064.266%2064.266-37.104z'/%3e%3cpath%20fill='%23f38a1d'%20d='m49.85%2016.975-64.266%2037.104%2037.104%2064.266%2064.266-37.104z'/%3e%3cpath%20fill='%23f48b1d'%20d='m50.148%2017.49-64.266%2037.103%2037.104%2064.266%2064.266-37.104z'/%3e%3cpath%20fill='%23f48c1d'%20d='m50.448%2018.005-64.266%2037.104%2037.104%2064.266%2064.266-37.104z'/%3e%3cpath%20fill='%23f48d1d'%20d='m50.746%2018.524-64.265%2037.104%2037.104%2064.266L87.85%2082.79%2050.745%2018.524Z'/%3e%3cpath%20fill='%23f48e1e'%20d='m51.045%2019.043-64.266%2037.104%2037.104%2064.266%2064.266-37.104z'/%3e%3cpath%20fill='%23f58f1e'%20d='m51.343%2019.557-64.266%2037.104%2037.104%2064.266%2064.266-37.104z'/%3e%3cpath%20fill='%23f5901e'%20d='M51.645%2020.076-12.62%2057.18l37.104%2064.266L88.75%2084.342z'/%3e%3cpath%20fill='%23f5911e'%20d='m51.941%2020.591-64.266%2037.104%2037.104%2064.266%2064.266-37.104z'/%3e%3cpath%20fill='%23f5921e'%20d='m52.24%2021.11-64.267%2037.105%2037.104%2064.265%2064.266-37.104z'/%3e%3cpath%20fill='%23f6931e'%20d='m52.537%2021.63-64.266%2037.103L25.375%20123l64.266-37.104z'/%3e%3cpath%20fill='%23f6941e'%20d='M52.836%2022.144-11.43%2059.248l37.103%2064.266L89.94%2086.41z'/%3e%3cpath%20fill='%23f6951e'%20d='m53.138%2022.663-64.266%2037.104%2037.104%2064.266%2064.266-37.104z'/%3e%3cpath%20fill='%23f6961f'%20d='m53.434%2023.178-64.266%2037.104%2037.104%2064.266%2064.266-37.104z'/%3e%3cpath%20fill='%23f7971f'%20d='m53.732%2023.697-64.266%2037.104%2037.104%2064.266%2064.266-37.104z'/%3e%3cpath%20fill='%23f7981f'%20d='m54.03%2024.212-64.266%2037.104%2037.104%2064.266%2064.266-37.104z'/%3e%3cpath%20fill='%23f7991f'%20d='M54.328%2024.731-9.938%2061.835%2027.166%20126.1l64.266-37.104z'/%3e%3cpath%20fill='%23f79a1f'%20d='M54.629%2025.246-9.637%2062.35l37.104%2064.266%2064.266-37.104z'/%3e%3cpath%20fill='%23f89b1f'%20d='M54.927%2025.765-9.34%2062.87l37.104%2064.266L92.03%2090.031z'/%3e%3cpath%20fill='%23f89c1f'%20d='M55.225%2026.284-9.041%2063.388l37.104%2064.266L92.329%2090.55z'/%3e%3cpath%20fill='%23f89d20'%20d='M55.523%2026.799-8.743%2063.903l37.104%2064.266%2064.266-37.104z'/%3e%3cpath%20fill='%23f89e20'%20d='M55.825%2027.318-8.44%2064.422l37.103%2064.266L92.93%2091.584z'/%3e%3cpath%20fill='%23f99f20'%20d='M56.121%2027.833-8.144%2064.937l37.103%2064.266%2064.266-37.104-37.103-64.266Z'/%3e%3cpath%20fill='%23f9a020'%20d='M56.42%2028.352-7.846%2065.456l37.104%2064.266%2064.266-37.104z'/%3e%3c/g%3e%3c/g%3e%3c/g%3e%3cdefs%3e%3clinearGradient%20id='b'%20x1='21.262'%20x2='19.269'%20y1='22.242'%20y2='19.124'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23ff9200'/%3e%3cstop%20offset='.21'%20stop-color='%23ff8d00'/%3e%3cstop%20offset='.45'%20stop-color='%23ff7f00'/%3e%3cstop%20offset='.62'%20stop-color='%23ff7100'/%3e%3cstop%20offset='.82'%20stop-color='%23ff5e00'/%3e%3cstop%20offset='1'%20stop-color='%23ff5200'/%3e%3c/linearGradient%3e%3clinearGradient%20id='c'%20x1='20.946'%20x2='18.035'%20y1='22.202'%20y2='16.507'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23ff7100'%20stop-opacity='0'/%3e%3cstop%20offset='.03'%20stop-color='%23ff6d00'%20stop-opacity='.03'/%3e%3cstop%20offset='.21'%20stop-color='%23ff5900'%20stop-opacity='.25'/%3e%3cstop%20offset='.39'%20stop-color='%23ff4800'%20stop-opacity='.42'/%3e%3cstop%20offset='.56'%20stop-color='%23ff3b00'%20stop-opacity='.56'/%3e%3cstop%20offset='.72'%20stop-color='%23ff3200'%20stop-opacity='.66'/%3e%3cstop%20offset='.86'%20stop-color='%23ff2c00'%20stop-opacity='.72'/%3e%3cstop%20offset='.98'%20stop-color='%23ff2b00'%20stop-opacity='.74'/%3e%3c/linearGradient%3e%3cclipPath%20id='a'%3e%3cpath%20fill='%23fff'%20d='M0%200h40v40H0z'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",EFTPOS:"data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cg%20clip-path='url(%23a)'%3e%3cpath%20fill='%23fff'%20d='M0%200h40v40H0z'/%3e%3cmask%20id='b'%20width='31'%20height='33'%20x='5'%20y='3'%20maskUnits='userSpaceOnUse'%20style='mask-type:luminance'%3e%3cpath%20fill='%23fff'%20d='M5.055%203.905h30.83v32H5.055z'/%3e%3c/mask%3e%3cg%20mask='url(%23b)'%3e%3cpath%20fill='%231f0038'%20d='M11.667%2030.811h-1.062V29.75h1.062v-.605c.04-.457.12-.914.564-1.17.189-.107.404-.188.619-.215.363-.04.739-.04%201.115-.067v1.022c-.242.013-.47.027-.712.053-.229.027-.376.202-.39.43%200%20.081-.027.175-.04.256v.228c.47%200%20.94-.013%201.397%200%20.43.014.565-.215.578-.59%200-.202.04-.418.054-.633H15.9v1.25h1.627v1.062H15.9v.9c.014.35.027.686.081%201.022s.323.43.592.443c.309.014.631.04.954.054v1.089c-.632%200-1.277.08-1.895-.121-.47-.148-.753-.51-.834-.995a7%207%200%200%201-.08-.699v-1.666h-1.895v3.48H11.64v-3.493zm7.688%202.944v2.163h-1.25v-6.155h1.075l.094.753c.457-.645%201.075-.9%201.828-.914.537%200%201.048.067%201.505.376.497.336.766.82.847%201.411.04.256.08.511.067.766-.027.645-.188%201.237-.672%201.694-.31.282-.672.457-1.075.537-.619.121-1.25.108-1.828-.174-.215-.108-.403-.296-.605-.444zm1.384-3.132c-.08%200-.229.014-.363.054-.39.094-.712.282-.9.659a1.6%201.6%200%200%200-.121%201.061c.08.444.335.753.752.9.363.122.726.149%201.102.068.403-.08.753-.242.914-.659a1.72%201.72%200%200%200%20.054-1.129%201.5%201.5%200%200%200-.255-.524c-.283-.35-.7-.416-1.183-.43m-10.241%202.285c-.229.632-.632%201.048-1.223%201.29-.377.148-.766.202-1.17.242-.55.054-1.075%200-1.599-.161-.793-.242-1.277-.766-1.398-1.6-.107-.752-.067-1.491.417-2.137a2.26%202.26%200%200%201%201.398-.873c.309-.067.631-.121.94-.108.592.014%201.183.108%201.694.444a2%202%200%200%201%20.914%201.37c.067.35.08.727.107%201.103h-4.3c.08.416.309.712.685.833.538.175%201.089.215%201.626%200%20.175-.067.323-.215.47-.336.041-.027.081-.08.122-.08h1.303zm-4.193-1.384h2.943a.99.99%200%200%200-.699-.86%202.33%202.33%200%200%200-1.357-.014c-.457.135-.78.403-.9.887zm28.532-.377h-1.33c-.189-.47-.592-.591-1.049-.604q-.483%200-.967.08c-.121.027-.242.148-.323.269-.094.148-.013.363.161.403.27.067.538.121.82.148.632.08%201.277.08%201.895.255.968.27%201.035%201.33.632%201.936-.282.416-.712.618-1.17.699-.39.08-.792.12-1.182.107-.565-.013-1.142-.08-1.653-.336-.511-.255-.9-.847-.928-1.357h1.33c.041%200%20.095.04.108.08.095.336.363.484.659.551.484.094.968.108%201.451-.027.27-.067.39-.255.377-.483-.014-.162-.188-.283-.457-.31-.484-.053-.968-.067-1.452-.12-.443-.054-.887-.108-1.276-.336-.336-.202-.524-.484-.551-.874-.027-.376.053-.726.309-.995a2.5%202.5%200%200%201%20.658-.457c.31-.147.659-.174%201.008-.201a4.2%204.2%200%200%201%201.64.161c.699.202%201.129.659%201.303%201.398zm-10.886.928c0-.511.107-.995.39-1.412.35-.524.86-.846%201.465-.98.309-.068.645-.122.954-.108.631.027%201.25.12%201.787.51.47.337.74.793.86%201.345a3%203%200%200%201-.04%201.424c-.148.551-.47.968-.968%201.237-.416.228-.873.309-1.344.362-.618.054-1.21%200-1.774-.201-.739-.269-1.169-.847-1.276-1.653a7%207%200%200%201-.054-.524m1.303%200c-.026.55.175.994.726%201.196.39.148.807.175%201.223.08.282-.067.538-.16.726-.403.296-.43.31-.887.202-1.37a1.16%201.16%200%200%200-.672-.82c-.336-.148-.686-.162-1.035-.121-.282.04-.551.12-.766.322-.323.296-.417.672-.404%201.116m10.631-1.976c0%20.323-.188.524-.497.524-.255%200-.55-.161-.538-.51.014-.404.229-.538.511-.552.269%200%20.538.135.51.538zm-.752-.31c-.175.162-.202.431-.04.592.147.148.403.135.55%200a.406.406%200%200%200%200-.578c-.12-.134-.336-.134-.524%200l.014-.013Z'/%3e%3cpath%20fill='%231f0038'%20d='M35.173%2029.83h.188c.256%200%20.269.027.215.269-.013.08.027.175.054.255h-.094l-.148-.201-.148.242-.067-.027z'/%3e%3cpath%20fill='url(%23c)'%20d='M21.21%207.426c-3.038%201.384-5.094%204.046-5.094%207.096%200%203.858%203.548%206.976%207.93%206.976%202.002%200%203.426-.47%205.066-1.452.175-.107.376-.188.497-.013.08.094.04.215-.013.309-1.801%203.306-5.47%205.604-9.596%205.604-6.088%200-11.02-4.932-11.02-11.02%200-3.481%201.612-6.572%204.125-8.588%201.895-1.52%206.626-1.72%208.104%201.088Z'/%3e%3cpath%20fill='%23e40056'%20d='M29.461%2011.687c0%203.655-3.494%206.625-7.808%206.625-.632%200-2.325-.08-3.548-.658-.35-.161-.31-.363-.068-.457.551-.229%204.892-1.062%204.892-5.51%200-4.449-4.596-7.701-9.824-5.363A10.95%2010.95%200%200%201%2020%203.905c5.12%200%209.461%203.48%209.461%207.782'/%3e%3c/g%3e%3c/g%3e%3cdefs%3e%3clinearGradient%20id='c'%20x1='19.14'%20x2='23.481'%20y1='17.775'%20y2='-2.439'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23e40056'/%3e%3cstop%20offset='.66'%20stop-color='%231f0038'/%3e%3c/linearGradient%3e%3cclipPath%20id='a'%3e%3cpath%20fill='%23fff'%20d='M0%200h40v40H0z'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",ELO:"data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cg%20clip-path='url(%23a)'%3e%3cpath%20fill='%23000'%20d='M40%200H0v40h40z'/%3e%3cpath%20fill='%23fff'%20d='M25.275%2019.986c-.371-1.486-1.56-2.525-2.97-2.822-1.484-.223-2.969.371-3.785%201.634s-.817%202.896%200%204.082l3.71-1.632%201.56-.669zm-5.716%201.113v-.223c0-.89.519-1.707%201.41-2.004a2.2%202.2%200%200%201%202.375.593L19.56%2021.1Zm4.676%202.45c-1.261%201.262-3.192%201.41-4.676.445l.89-1.336a2.24%202.24%200%200%200%202.673-.224zm1.56-.965V15.53h1.336v6.83c0%20.074%200%20.148.074.148l1.188.445-.52%201.412-1.337-.595c-.593-.148-.741-.519-.741-1.188Z'/%3e%3cpath%20fill='%23289ad3'%20d='M7.162%2017.416c-.743.668-1.189%201.633-1.189%202.598s.446%201.93%201.19%202.598l-1.635%201.782c-1.261-1.114-2.004-2.747-1.93-4.454%200-1.707.743-3.267%202.005-4.38-.075%200%201.56%201.856%201.56%201.856Z'/%3e%3cpath%20fill='%23ec442d'%20d='M15.145%2021.122c-.297%201.706-1.336%203.118-2.822%204.009-1.484.89-3.266.965-4.898.37l.815-2.3c.965.37%202.005.296%202.896-.224a3.53%203.53%200%200%200%201.707-2.375z'/%3e%3cpath%20fill='%23fdda2e'%20d='m15.18%2018.798-2.376.52c-.224-.966-.817-1.857-1.707-2.376-.892-.52-1.93-.52-2.896-.224l-.742-2.3a6.1%206.1%200%200%201%204.826.445c1.483.817%202.522%202.301%202.894%203.935Z'/%3e%3cpath%20fill='%23fff'%20d='M30.619%2019.169c-.445.37-.742.965-.742%201.633%200%20.594.298%201.188.742%201.633L29.58%2023.55c-.741-.669-1.188-1.707-1.188-2.747a3.41%203.41%200%200%201%201.262-2.672c0-.075.966%201.039.966%201.039m4.973%202.301c-.223%201.04-.816%201.93-1.781%202.45-.891.52-2.005.594-3.044.297l.52-1.411a2.13%202.13%200%200%200%201.781-.148c.52-.297.891-.817%201.04-1.485zm0-1.411-1.485.372a2.6%202.6%200%200%200-1.039-1.485%202.13%202.13%200%200%200-1.782-.15l-.445-1.41c.965-.37%202.079-.222%202.97.224.89.445%201.558%201.41%201.78%202.449Z'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='a'%3e%3cpath%20fill='%23fff'%20d='M0%200h40v40H0z'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",GIROCARD:"data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cg%20clip-path='url(%23a)'%3e%3cpath%20fill='%23fff'%20d='M40%200H0v40h40z'/%3e%3cpath%20fill='%23004090'%20d='M14.104%2027.649c.25%200%20.332.083.58.083v-.828c-.082%200-.33-.082-.495-.082-.331%200-.828.082-1.159.497a.9.9%200%200%200-.248.413l-.082-.828h-.827c0%20.58.083%201.076.083%201.654v3.226h.91v-2.398c0-.497.082-1.075.495-1.49.249-.247.577-.247.743-.247m-3.222-.745h-.827v4.963h.827zM8.07%2029.386c0%20.083%200%20.578-.248%201.074-.33.496-.743.662-1.156.662-.331%200-.663-.166-.91-.33-.332-.332-.414-.91-.414-1.406%200-.745.248-1.158.578-1.49a1.04%201.04%200%200%201%20.745-.33%201.2%201.2%200%200%201%20.827.33c.578.497.578%201.406.578%201.49m.415%203.803c.33-.496.413-.992.413-1.985v-4.3H8.07v.745c0-.082-.165-.33-.413-.497s-.663-.413-1.157-.413c-.497%200-.91.165-1.076.331-.33.249-.495.414-.578.579-.413.578-.497%201.157-.497%201.737%200%20.165%200%20.578.165%201.074%200%20.084.167.662.663%201.076.247.248.661.413%201.323.413.33%200%20.826-.165%201.157-.413l.331-.332v.663c0%20.247%200%20.413-.083.661-.083.165-.083.248-.248.413-.248.248-.578.413-1.157.413s-1.076-.165-1.241-.248q-.372-.122-.496-.248l-.082.828c.165.081.248.081.413.165a4.3%204.3%200%200%200%201.406.248c.662%200%201.074-.165%201.405-.331.332-.247.496-.414.578-.579m1.406-7.442h.91v-.993h-.91zm8.682%203.555c0%20.578-.165%201.324-.828%201.737-.165.083-.33.165-.66.165-.083%200-.33%200-.579-.165-.083%200-.083-.083-.248-.165-.166-.083-.331-.33-.496-.662s-.165-.662-.165-.991c0-.663.33-1.16.578-1.406.165-.166.496-.331.992-.331.745%200%201.075.496%201.241.909.082.165.165.496.165.91Zm.248%201.986c.578-.579.745-1.324.745-1.986%200-1.24-.663-1.902-1.241-2.232-.248-.083-.578-.248-1.075-.248-1.075%200-1.818.578-2.15%201.157-.248.414-.33.91-.33%201.407%200%20.992.33%201.57.743%201.985.084.081.165.165.332.246.247.167.661.332%201.322.332.497%200%20.826-.084%201.075-.165.083-.165.332-.332.58-.496Zm3.636.578c.58%200%20.91-.165%201.16-.247l-.084-.828c-.165.083-.578.248-.993.248-.081%200-.33%200-.66-.165-.745-.33-.91-1.157-.91-1.653%200-.828.413-1.324.826-1.572.414-.249.744-.165.828-.165.33%200%20.662.165.744.248l.082-.828c-.165%200-.495-.165-.91-.165-.992%200-1.57.413-1.983.91-.415.578-.497%201.24-.497%201.818%200%201.324.745%201.985%201.406%202.317.165%200%20.495.082.991.082m4.633-2.316c0%20.332%200%20.497-.083.663%200%20.082-.082.247-.248.413-.247.413-.662.496-.992.496-.414%200-.909-.248-.909-.827%200-.578.495-.826.91-.91.165%200%20.33-.083.66-.083h.662zm.083%202.234h.743V28.64c0-.496-.082-.91-.247-1.074-.248-.415-.827-.745-1.572-.745-.909%200-1.405.33-1.57.413v.745c.165-.083.744-.496%201.405-.496.579%200%20.993.331%201.075.662.083.165.083.412.083.66h-.744c-.497%200-1.075%200-1.571.248-.413.167-.91.497-.91%201.324%200%20.578.249.91.497%201.156.247.25.661.332.991.332.578%200%20.91-.165%201.159-.33.248-.165.33-.332.495-.497v.745zm3.969-4.135c.248%200%20.331.083.578.083v-.828c-.082%200-.33-.082-.495-.082-.331%200-.827.082-1.159.497a.9.9%200%200%200-.247.413l-.084-.828h-.826c0%20.58.083%201.076.083%201.654v3.226h.91v-2.398c0-.497.083-1.075.496-1.49.248-.247.578-.247.744-.247m4.3%201.737c0%20.083%200%20.413-.083.662-.248.66-.745%201.075-1.322%201.075-.497%200-.91-.249-1.158-.828-.166-.331-.166-.663-.166-.993%200-.081%200-.413.166-.744.33-.91%201.074-.991%201.322-.991.579%200%201.076.413%201.323%201.074-.165.165-.082.413-.082.745m.91%201.405v-6.119h-.91v2.977c-.165-.165-.165-.249-.248-.33-.248-.248-.663-.415-1.24-.415-.166%200-.91%200-1.571.663-.745.826-.663%201.819-.663%201.983%200%20.332.085.745.166%201.076.248.578.827%201.323%201.984%201.323.166%200%20.828%200%201.324-.497l.33-.33v.744h.828V30.79Zm-11.827-20.26h-1.239v.332h.993l2.481%2010.17H13.941l2.481-10.17h.991v-.332h-1.24l-2.728%2010.915h13.891z'/%3e%3cpath%20fill='%2362c6e9'%20d='M22.79%205.901h-4.88a.536.536%200%200%200-.497.497v4.796h.332V6.397c0-.083.081-.164.165-.164h.91v3.472h-.994l1.406%201.489h2.233l1.406-1.489h-.992V6.233h.909c.083%200%20.165.081.165.165v4.796h.331V6.397a.536.536%200%200%200-.495-.496Z'/%3e%3cpath%20fill='%23004090'%20d='M19.315%2017.148h2.15q.249-.002.248-.248l-.083-1.406c0-.166-.165-.248-.248-.248H19.48q-.248%200-.248.248L19.15%2016.9c-.084.165%200%20.246.165.246m-.992-1.9H16.42c-.165%200-.248.082-.331.248l-.247%201.406q0%20.246.247.246h2.15q.248%200%20.248-.246l.083-1.406q0-.25-.248-.248Zm1.074-.496h1.985c.083%200%20.165-.084.165-.248l-.082-1.158c0-.083-.083-.248-.248-.248h-1.819c-.084%200-.249.082-.249.248l-.082%201.156c.082.166.165.25.33.25m-.826-1.49h-1.819c-.083%200-.248.084-.248.166l-.248%201.157c0%20.083.082.167.165.167h1.985c.082%200%20.248-.084.248-.248l.082-1.158c.083%200%200-.083-.165-.083Zm5.706%201.49a.18.18%200%200%200%20.165-.167l-.248-1.156c0-.084-.165-.166-.249-.166h-1.818c-.083%200-.165.083-.165.248l.082%201.157c0%20.084.083.249.248.249h1.985zm-4.797-1.902h1.82a.18.18%200%200%200%20.166-.167l-.083-.909a.18.18%200%200%200-.165-.165h-1.653a.18.18%200%200%200-.167.165l-.082.91c0%20.082%200%20.166.165.166Zm4.384%200a.18.18%200%200%200%20.165-.167l-.165-.909c0-.082-.084-.165-.248-.165h-1.654a.18.18%200%200%200-.167.165l.083.91c0%20.082.084.166.166.166zm-5.128-1.241h-1.654c-.082%200-.165.083-.248.165l-.165.91c0%20.082.083.166.165.166h1.819a.18.18%200%200%200%20.166-.167l.083-.909a.18.18%200%200%200-.166-.165m5.954%205.54q.248%200%20.248-.247l-.248-1.406c0-.166-.165-.248-.332-.248h-1.901q-.247%200-.247.248l.082%201.406c0%20.165.165.246.248.246zm-3.308.497h-2.067a.35.35%200%200%200-.331.33l-.082%201.819c0%20.166.082.331.33.331h2.398a.353.353%200%200%200%20.332-.331l-.248-1.819a.35.35%200%200%200-.332-.331m-3.307.001h-2.15c-.165%200-.33.165-.414.33l-.33%201.819c0%20.166.082.331.247.331h2.398a.353.353%200%200%200%20.332-.331l.165-1.819c.083-.165-.083-.331-.248-.331m7.028.331c0-.165-.165-.331-.413-.331h-2.15c-.165%200-.33.166-.248.331l.166%201.819c0%20.166.165.331.33.331h2.398c.165%200%20.248-.165.248-.331z'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='a'%3e%3cpath%20fill='%23fff'%20d='M0%200h40v40H0z'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",HIPERCARD:"data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cg%20clip-path='url(%23a)'%3e%3cpath%20fill='%23b32024'%20d='M40%200H0v40h40z'/%3e%3cpath%20fill='%23fefefe'%20d='M9.504%2013c-1.615.06-2.692.778-2.991%201.855-.12.359-.18.658-.3%201.196v.12c-.06.359-.119.479-.119.658-.24%201.137-.479%202.274-.778%203.71l-.478%202.572c-.3%201.496-.479%202.513-.718%203.47L4%2027h25.906c1.615%200%203.35-.24%203.77-2.034.119-.479.238-.957.418-1.915l.12-.538c.06-.18.778-3.71.957-4.727L36.128%2013zm24.47%207.479c-.239%201.136-.359%201.675-.359%201.974h-.06l-.12.479a34%2034%200%200%201-.418%201.854c-.24.958-.838%201.556-3.17%201.556H4.716c.18-.898.36-1.795.6-3.111l.538-2.513c.299-1.436.538-2.633.777-3.71.06-.179.06-.358.12-.717v-.12l.24-1.197c.239-.897%201.136-1.376%202.452-1.436H35.29z'/%3e%3cpath%20fill='%23fefefe'%20d='M32.419%2018.684c-1.735-.539-2.752.718-2.752%202.273%200%20.3.06.598.239.838.3.359%201.256.479%201.735.12.12-.06.18-.18.24-.24s.119-.18.119-.18c0%20.18-.06.3-.06.48h.658c.12-1.736.479-3.231.778-4.847h-.718c-.06.539-.179%201.077-.239%201.556m-1.317%202.931c-.48%200-.718-.299-.718-.777%200-.838.358-1.795%201.076-1.855.36-.06.599.06.838.12-.24.957-.119%202.512-1.196%202.512m-6.042-2.991c-.06.18-.06.359-.12.538.419-.12%201.675-.418%201.795.12.06.18%200%20.359-.06.538-1.137-.12-2.094.06-2.333.898-.18.538%200%201.077.359%201.256.658.3%201.496-.06%201.795-.478%200%20.18-.06.299-.06.538h.598c0-.598.12-1.017.18-1.555.06-.42.239-.898.18-1.257-.06-.957-1.496-.658-2.334-.598m1.137%202.692c-.36.36-1.376.479-1.257-.418.06-.718.838-.838%201.675-.718-.06.418-.12.897-.418%201.136m-10.889-2.692c-.599-.24-1.316.06-1.616.3%200-.12.06-.18.06-.3h-.598c-.24%201.675-.539%203.29-.838%204.906h.658c.12-.598.18-1.256.3-1.855.179.599%201.196.479%201.615.24.957-.539%201.675-2.872.419-3.291m-.539%202.752c-.359.419-1.316.419-1.376-.299-.06-.3.06-.598.12-.897s.12-.599.12-.838c.359-.479%201.435-.479%201.555.24.12.657-.12%201.435-.419%201.794m-4.188-4.128c-.12.658-.24%201.256-.299%201.914-.718%200-1.436.06-2.154%200%20.12-.598.24-1.256.36-1.914H7.65c-.3%201.555-.539%203.17-.838%204.726h.778c.12-.777.24-1.615.419-2.333.658%200%201.495-.06%202.153%200-.12.778-.299%201.556-.418%202.333h.777c.24-1.615.539-3.17.838-4.726zm1.975.718c.12-.12.299-.539.12-.718-.06-.06-.18-.06-.3-.06s-.24.06-.299.12c-.06.12-.18.478-.06.598.12.18.419.12.539.06m-.718.658q-.24%201.685-.599%203.35h.718c.18-1.136.36-2.273.598-3.35zm10.35%202.573c-.06-.18-.06-.42-.06-.659.06-.478.18-1.017.479-1.316.359-.359%201.077-.299%201.675-.12%200-.179.06-.358.06-.538-.957-.18-1.855-.06-2.333.419-.48.478-.778%201.615-.539%202.333.24.838%201.376.838%202.274.539.06-.18.06-.36.12-.539-.48.3-1.437.48-1.676-.119m-.358-2.573c-.6-.24-1.078.18-1.317.538.06-.179.06-.359.12-.538h-.599q-.24%201.685-.598%203.35h.718c.12-.658.12-1.555.359-2.153.18-.48.598-.958%201.256-.718%200-.18.001-.3.061-.479'/%3e%3cpath%20fill='%23fefefe'%20d='M17.94%2018.564c-.479.06-.957.18-1.256.479-.36.419-.658%201.256-.599%202.034.12%201.137%201.496%201.077%202.633.838%200-.18.06-.36.12-.539-.48.18-1.257.419-1.736.12-.358-.24-.358-.778-.239-1.316h2.274c.06-.36.18-.718.06-1.077-.06-.479-.659-.599-1.257-.539m.718%201.197h-1.615c.06-.36.419-.778.897-.838.479.06.838.24.718.838m11.368-1.137c-.599-.3-1.137.18-1.317.538.06-.18.06-.359.12-.538h-.598c-.18%201.137-.36%202.274-.599%203.35h.718c0-.418.12-.777.18-1.196.12-.958.359-1.975%201.436-1.675%200-.12%200-.3.06-.479'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='a'%3e%3cpath%20fill='%23fff'%20d='M0%200h40v40H0z'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",JCB:"data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%3e%3cpath%20fill='%23fff'%20d='M0%200h40v40H0z'/%3e%3cpath%20fill='%23fff'%20d='M39.867%2028.887c0%203.4-2.77%206.17-6.17%206.17H.134V10.623a6.18%206.18%200%200%201%206.17-6.17h33.564v24.433Z'/%3e%3cpath%20fill='url(%23a)'%20d='M28.938%2022.621h2.55c.073%200%20.243-.024.316-.024.485-.097.898-.534.898-1.141a1.18%201.18%200%200%200-.898-1.142c-.073-.024-.22-.024-.316-.024h-2.55z'/%3e%3cpath%20fill='url(%23b)'%20d='M31.196%206.52a4.42%204.42%200%200%200-4.42%204.42v4.59h6.242c.145%200%20.316%200%20.437.024%201.409.073%202.453.801%202.453%202.064%200%20.996-.705%201.846-2.016%202.016v.049c1.433.097%202.526.898%202.526%202.137%200%201.336-1.215%202.21-2.817%202.21h-6.85v8.986h6.485a4.42%204.42%200%200%200%204.42-4.42V6.519h-6.46Z'/%3e%3cpath%20fill='url(%23c)'%20d='M32.386%2017.91c0-.583-.413-.972-.898-1.045-.049%200-.17-.024-.243-.024h-2.307v2.137h2.307c.073%200%20.218%200%20.243-.024.486-.073.898-.461.898-1.044'/%3e%3cpath%20fill='url(%23d)'%20d='M6.764%206.52a4.42%204.42%200%200%200-4.42%204.42v10.904c1.238.607%202.525.996%203.813.996%201.53%200%202.355-.923%202.355-2.186v-5.149h3.79v5.125c0%201.991-1.24%203.619-5.441%203.619-2.55%200-4.542-.559-4.542-.559v9.302h6.485a4.42%204.42%200%200%200%204.42-4.42V6.519h-6.46Z'/%3e%3cpath%20fill='url(%23e)'%20d='M18.98%206.52a4.42%204.42%200%200%200-4.42%204.42v5.78c1.117-.948%203.06-1.555%206.193-1.409%201.676.073%203.473.534%203.473.534v1.87c-.899-.461-1.967-.874-3.352-.971-2.38-.17-3.813.996-3.813%203.036%200%202.064%201.433%203.23%203.813%203.036%201.385-.098%202.453-.535%203.352-.972v1.87s-1.773.462-3.473.535c-3.133.145-5.076-.462-6.193-1.41V33.04h6.484a4.42%204.42%200%200%200%204.42-4.42V6.52z'/%3e%3cdefs%3e%3clinearGradient%20id='a'%20x1='26.772'%20x2='37.686'%20y1='21.459'%20y2='21.459'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23007940'/%3e%3cstop%20offset='.229'%20stop-color='%2300873f'/%3e%3cstop%20offset='.743'%20stop-color='%2340a737'/%3e%3cstop%20offset='1'%20stop-color='%235cb531'/%3e%3c/linearGradient%3e%3clinearGradient%20id='b'%20x1='26.772'%20x2='37.686'%20y1='19.757'%20y2='19.757'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23007940'/%3e%3cstop%20offset='.229'%20stop-color='%2300873f'/%3e%3cstop%20offset='.743'%20stop-color='%2340a737'/%3e%3cstop%20offset='1'%20stop-color='%235cb531'/%3e%3c/linearGradient%3e%3clinearGradient%20id='c'%20x1='26.772'%20x2='37.686'%20y1='17.907'%20y2='17.907'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23007940'/%3e%3cstop%20offset='.229'%20stop-color='%2300873f'/%3e%3cstop%20offset='.743'%20stop-color='%2340a737'/%3e%3cstop%20offset='1'%20stop-color='%235cb531'/%3e%3c/linearGradient%3e%3clinearGradient%20id='d'%20x1='2.338'%20x2='13.421'%20y1='19.757'%20y2='19.757'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%231f286f'/%3e%3cstop%20offset='.475'%20stop-color='%23004e94'/%3e%3cstop%20offset='.826'%20stop-color='%230066b1'/%3e%3cstop%20offset='1'%20stop-color='%23006fbc'/%3e%3c/linearGradient%3e%3clinearGradient%20id='e'%20x1='14.497'%20x2='25.261'%20y1='19.757'%20y2='19.757'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%236c2c2f'/%3e%3cstop%20offset='.173'%20stop-color='%23882730'/%3e%3cstop%20offset='.573'%20stop-color='%23be1833'/%3e%3cstop%20offset='.859'%20stop-color='%23dc0436'/%3e%3cstop%20offset='1'%20stop-color='%23e60039'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e",MAESTRO:"data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cg%20clip-path='url(%23a)'%3e%3cpath%20fill='%23000'%20d='M0%200h40v40H0z'/%3e%3cpath%20fill='%23ff000f'%20fill-rule='evenodd'%20d='M15.097%2027.5c4.045%200%207.403-3.358%207.403-7.403%200-4.239-3.358-7.597-7.403-7.597-4.239%200-7.597%203.358-7.597%207.597%200%204.045%203.358%207.403%207.597%207.403'%20clip-rule='evenodd'/%3e%3cpath%20fill='%2300a2e1'%20fill-rule='evenodd'%20d='M25.097%2027.5c4.045%200%207.403-3.358%207.403-7.403%200-4.239-3.358-7.597-7.403-7.597-4.239%200-7.597%203.358-7.597%207.597%200%204.045%203.358%207.403%207.597%207.403'%20clip-rule='evenodd'/%3e%3cpath%20fill='%23e7001a'%20fill-rule='evenodd'%20d='M20.015%2014.42c-1.55%201.383-2.515%203.403-2.515%205.677%200%202.17.966%204.14%202.515%205.503%201.52-1.362%202.485-3.334%202.485-5.503a7.65%207.65%200%200%200-2.485-5.678Z'%20clip-rule='evenodd'%20opacity='.3'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='a'%3e%3cpath%20fill='%23fff'%20d='M0%200h40v40H0z'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",MASTERCARD:"data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%3e%3cg%20clip-path='url(%23a)'%3e%3cpath%20fill='%23000'%20d='M0%200h40v40H0z'/%3e%3cpath%20fill='%23e7001a'%20fill-rule='evenodd'%20d='M15.097%2027.5c4.045%200%207.403-3.358%207.403-7.403%200-4.239-3.358-7.597-7.403-7.597-4.239%200-7.597%203.358-7.597%207.597%200%204.045%203.358%207.403%207.597%207.403'%20clip-rule='evenodd'/%3e%3cpath%20fill='%23f49b1c'%20fill-rule='evenodd'%20d='M25.097%2027.5c4.045%200%207.403-3.358%207.403-7.403%200-4.239-3.358-7.597-7.403-7.597-4.239%200-7.597%203.358-7.597%207.597%200%204.045%203.358%207.403%207.597%207.403'%20clip-rule='evenodd'/%3e%3cpath%20fill='%23e7001a'%20fill-rule='evenodd'%20d='M20.015%2014.42c-1.55%201.383-2.515%203.403-2.515%205.677%200%202.17.966%204.14%202.515%205.503%201.52-1.362%202.485-3.334%202.485-5.503a7.65%207.65%200%200%200-2.485-5.678Z'%20clip-rule='evenodd'%20opacity='.3'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='a'%3e%3cpath%20fill='%23fff'%20d='M0%200h40v40H0z'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",NYCE:"data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cg%20clip-path='url(%23a)'%3e%3cpath%20fill='%23fff'%20d='M0%200h40v40H0z'/%3e%3cg%20clip-path='url(%23b)'%3e%3cpath%20fill='%23ed1a2b'%20d='M34.373%2027.463%2038%2013H5.627L2%2027.463z'/%3e%3cpath%20fill='%23fff'%20d='m12.39%2013-1.101%204.346L9.71%2013H7.406l-1.98%207.898H7.85l1.05-4.323%201.475%204.323h2.356L14.78%2013zm10.474%200h-2.78l-1.85%202.676L17.492%2013h-2.644l1.698%204.995-.708%202.903h2.538l.733-2.92zm11.632%204.847.434-1.729h-3.17l.29-1.152h3.677L36.22%2013h-6.05l-1.98%207.898h6l.425-1.695h-3.627l.34-1.356zm1.92-4.008c0-.292.22-.51.502-.51.278%200%20.496.218.496.51a.495.495%200%200%201-.496.513.497.497%200%200%201-.502-.513m.502.614c.335%200%20.62-.259.62-.614a.61.61%200%200%200-.62-.612.613.613%200%201%200%200%201.226m-.13-.566h.123l.187.307h.12l-.2-.311c.103-.013.183-.068.183-.196%200-.14-.083-.201-.25-.201h-.27v.708h.107zm0-.09v-.22h.147c.074%200%20.154.016.154.104%200%20.11-.082.116-.172.116z'/%3e%3cpath%20fill='%23fff'%20d='M21.152%2017.067c-.627%202.343%201.05%204.244%202.72%204.244%203.29%200%204.112-1.408%204.677-3.294h-2.211c-.326.807-.828%201.37-1.908%201.37-.84%200-1.244-1.039-.901-2.32s1.08-2.319%202.142-2.319c.766%200%201.113.564%201.108%201.37h2.208c.148-1.495-.396-2.689-1.686-3.118h-2.773c-2.158.517-2.86%202.141-3.376%204.067'/%3e%3c/g%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='a'%3e%3cpath%20fill='%23fff'%20d='M0%200h40v40H0z'/%3e%3c/clipPath%3e%3cclipPath%20id='b'%3e%3cpath%20fill='%23fff'%20d='M2%2013h36v14.463H2z'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",PULSE:"data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cg%20clip-path='url(%23a)'%3e%3cpath%20fill='%23fff'%20d='M0%200h40v40H0z'/%3e%3cmask%20id='b'%20width='35'%20height='13'%20x='3'%20y='14'%20maskUnits='userSpaceOnUse'%20style='mask-type:luminance'%3e%3cpath%20fill='%23fff'%20d='M3%2014h34.25v12.454H3z'/%3e%3c/mask%3e%3cg%20mask='url(%23b)'%3e%3cmask%20id='c'%20width='36'%20height='18'%20x='2'%20y='13'%20maskUnits='userSpaceOnUse'%20style='mask-type:luminance'%3e%3cpath%20fill='%23fff'%20d='M2.929%2013.919H37.32V30.12H2.93z'/%3e%3c/mask%3e%3cg%20mask='url(%23c)'%3e%3cpath%20fill='%23231f20'%20fill-rule='evenodd'%20d='m20.897%2023.93%201.284-8.598c.087-.517.04-1.277-.83-1.332h-1.3l-1.486%209.93zm-3.127%200%20.967-6.494h-2.312l-.637%204.29H14.24c-.313%200-.579-.203-.517-.589l.354-2.357c.073-.48.115-1.34-.68-1.344h-1.465l-.643%204.295c-.195%201.437.558%202.199%201.51%202.199zM5.945%2021.72h1.836c.45%200%20.87-.371.93-.82l.081-.547c.102-.547-.256-.881-.706-.881H6.282zm-.33%202.21-.377%202.524c-.025-.009-2.238%200-2.238%200l1.346-9.018H8.68c1.475%200%202.513%201.19%202.318%202.666l-.17%201.13c-.195%201.476-1.573%202.698-3.049%202.698z'%20clip-rule='evenodd'/%3e%3cpath%20fill='%23231f20'%20d='m34.447%2019.748.035-.257a.33.33%200%200%200-.333-.386h-1.792a.46.46%200%200%200-.44.386l-.036.257zm-3.758%204.182c-.884%200-1.564-.718-1.444-1.603l.484-3.245c.12-.884.96-1.646%201.844-1.646h3.672c.896%200%201.523.762%201.403%201.646l-.328%202.194h-4.664l-.096.644h3.793c.587-.005.782.532.707%201.102l-.136.908z'/%3e%3cpath%20fill='%23ee7623'%20d='m6.08%2026.454.236-1.658h29.482l-.139.967c-.074.47-.315.69-.694.69z'/%3e%3cpath%20fill='%23231f20'%20d='M24.085%2017.436c-.83%200-1.509.732-1.64%201.614l-.122.808c-.112.854.348%201.571%201.139%201.614q.037.003.076.003h2.848l-.072.448h-3.21c-.576.002-1.138.058-1.21.639l-.21%201.368h5.164c.85%200%201.644-.565%201.76-1.446l.167-1.11c.116-.88-.49-1.616-1.341-1.616H24.47l.055-.418h3.383c.853%200%201.118-.105%201.234-.739l.174-1.165z'/%3e%3c/g%3e%3c/g%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='a'%3e%3cpath%20fill='%23fff'%20d='M0%200h40v40H0z'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",STAR:"data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cg%20clip-path='url(%23a)'%3e%3cpath%20fill='%23fff'%20d='M0%200h40v40H0z'/%3e%3cpath%20fill='%23ba0c2f'%20d='M35.957%2028.373c-.021-.062-.064-.104-.106-.146-.043-.042-.086-.084-.15-.104-.064-.021-.106-.042-.17-.042s-.128%200-.171.042c-.064.02-.107.062-.15.104a.4.4%200%200%200-.106.146c-.021.063-.043.105-.043.167s0%20.126.043.167a.36.36%200%200%200%20.107.146.4.4%200%200%200%20.149.105c.064.02.107.042.17.042.065%200%20.107%200%20.171-.042a.4.4%200%200%200%20.15-.105c.042-.041.064-.083.106-.146.022-.062.043-.104.043-.167%200-.062%200-.125-.043-.167m-.042.334c0%20.042-.043.084-.086.125a.4.4%200%200%201-.128.084c-.042%200-.106.02-.149.02s-.107%200-.15-.02c-.042%200-.085-.042-.127-.084-.043-.041-.064-.083-.086-.125%200-.041-.021-.104-.021-.146s0-.104.021-.146c0-.042.043-.084.086-.125a.4.4%200%200%201%20.128-.084c.042%200%20.106-.02.149-.02a.4.4%200%200%201%20.15.02c.042%200%20.085.042.127.084.043.041.064.083.086.125%200%20.042.021.104.021.146s0%20.105-.021.146m-17.558-7.954c-.17-.773%200-1.504%200-1.504h-8.32s-2.154-.396-3.328-.104c-.853.209-2.176.689-2.517%202.276-.277%201.315.384%202.213.853%202.651.47.418%202.624%201.316%202.774%201.357.234.084%201.173.543.938%201.504-.192.73-1.173.918-1.408.918s-1.813.126-2.24-1.482h-.597S4.491%2027.12%204%2028.31c0%200%20.832.71%202.987.689.128%200%202.602%200%203.669-1.775%201.173-1.984-.533-3.362-.533-3.362-.704-.605-2.795-1.44-2.795-1.44-1.664-.647-1.003-2.109-.15-2.234.79-.105%201.494-.084%202.817.543%200%200%202.218-.272%202.816-.188v8.31s.981-.21%202.709%200v-8.29c.49-.104%202.816.21%202.816.21zm17.43%207.683c0-.042%200-.084-.064-.105-.043-.02-.086-.041-.171-.041h-.192v.5h.085v-.229h.107l.107.23h.106l-.106-.23c.042%200%20.064-.02.085-.042a.16.16%200%200%200%20.043-.083m-.128.063h-.192v-.168h.085c.043%200%20.085%200%20.107.021.021%200%20.042.042.042.063s0%20.042-.021.063l-.021.02ZM17.632%2014.405c4.736-.73%207.36-.605%207.36-.605v-.439s-5.93.126-10.39.794C5.494%2015.49%204%2018.143%204%2018.143h6.57s1.153-2.819%207.062-3.738m16.085%207.162c0-2.568-3.498-2.318-3.498-2.318h-4.054v9.02l-4.288-9.145s-.832.104-1.365%200c0%200-4.608%209.688-4.63%209.688.833-.146%201.857%200%201.857%200l1.13-2.777h3.392l1.11%202.818s1.344-.25%202.858%200c.896-.208%202.688-.02%202.688-.02v-4.05l2.731%204.07c1.579-.23%203.264%200%203.264%200l-3.456-4.655s2.304-.439%202.304-2.59zm-14.293%203.278%201.173-2.568%201.152%202.568zm11.307-1.984c-.47.835-1.878.752-1.878.752v-3.32s1.43-.167%201.835.501c.555.919.043%202.067.043%202.067M30.112%2010l-1.13%203.382h-3.649l2.966%202.026-1.174%203.361%202.987-2.109%202.987%202.088-1.174-3.34%202.966-2.026h-3.67z'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='a'%3e%3cpath%20fill='%23fff'%20d='M0%200h40v40H0z'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",UNION_PAY:"data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%3e%3cpath%20fill='%23fff'%20d='M0%200h40v40H0z'/%3e%3cpath%20fill='%23e21836'%20d='M9.037%208.75h8.969c1.252%200%202.03%201.02%201.738%202.277L15.57%2028.954c-.295%201.252-1.548%202.273-2.801%202.273H3.8c-1.25%200-2.03-1.02-1.739-2.273L6.24%2011.027C6.53%209.77%207.784%208.75%209.037%208.75'/%3e%3cpath%20fill='%2300447c'%20d='M17.26%208.75h10.314c1.252%200%20.687%201.02.393%202.277l-4.175%2017.927c-.293%201.252-.202%202.273-1.456%202.273H12.022c-1.255%200-2.031-1.02-1.736-2.273l4.175-17.927c.296-1.256%201.546-2.277%202.799-2.277'/%3e%3cpath%20fill='%23007b84'%20d='M27.165%208.75h8.968c1.254%200%202.033%201.02%201.738%202.277l-4.175%2017.927c-.294%201.252-1.549%202.273-2.802%202.273h-8.965c-1.254%200-2.032-1.02-1.738-2.273l4.175-17.927c.292-1.256%201.544-2.277%202.799-2.277'/%3e%3cpath%20fill='%23fefefe'%20d='M11.38%2014.495c-.923.01-1.195%200-1.282-.02-.034.159-.656%203.03-.658%203.032-.134.581-.231.995-.562%201.262a1%201%200%200%201-.662.23c-.41%200-.648-.202-.688-.587l-.007-.133.124-.782s.653-2.616.77-2.962l.01-.04c-1.272.012-1.497%200-1.513-.02-.008.028-.04.19-.04.19l-.667%202.95-.057.25-.11.817c0%20.243.047.44.142.608.304.531%201.17.61%201.66.61.633%200%201.225-.133%201.626-.378.695-.411.877-1.053%201.04-1.624l.074-.293s.673-2.717.787-3.07c.005-.02.007-.03.012-.04Zm2.289%202.193a1.8%201.8%200%200%200-.725.17c-.097.049-.188.106-.284.163l.087-.314-.048-.053c-.565.115-.691.13-1.213.203l-.043.03c-.06.502-.115.88-.34%201.866q-.128.548-.262%201.094l.024.046c.534-.028.696-.028%201.16-.02l.038-.041c.06-.303.067-.373.198-.986.061-.29.19-.928.253-1.155.116-.054.23-.107.34-.107.26%200%20.228.227.218.318-.011.152-.106.648-.203%201.074l-.065.275c-.045.203-.095.4-.14.602l.02.04c.526-.028.687-.028%201.137-.02l.053-.041c.081-.473.105-.599.25-1.286l.072-.316c.14-.619.212-.932.105-1.187-.113-.286-.383-.355-.632-.355m2.558.647c-.28.053-.46.09-.637.113-.176.028-.347.053-.618.09l-.021.02-.02.016c-.028.201-.048.376-.085.58-.032.212-.08.453-.16.799a3%203%200%200%201-.128.45c-.034.093-.072.184-.141.444l.016.024.014.022c.253-.012.418-.02.588-.022.17-.006.346%200%20.618.002l.024-.02.026-.021c.04-.235.045-.298.07-.413.023-.123.064-.293.165-.747l.15-.644.156-.644-.007-.025zm.005-.873c-.254-.15-.7-.102-1.001.105-.3.203-.334.492-.08.644.25.146.698.103.996-.107.299-.207.336-.493.085-.642m1.54%203.478c.514%200%201.042-.142%201.44-.563.305-.341.445-.85.493-1.058.158-.694.035-1.018-.12-1.215-.234-.3-.649-.397-1.08-.397-.258%200-.875.026-1.356.47-.346.32-.506.755-.602%201.171-.098.425-.21%201.19.493%201.474.217.093.53.118.731.118Zm-.04-1.56c.118-.525.258-.966.616-.966.28%200%20.3.328.176.855-.023.117-.125.552-.263.737-.097.136-.211.22-.338.22-.037%200-.261%200-.264-.333a2.3%202.3%200%200%201%20.072-.513Zm3.26%201.493.04-.041c.058-.303.067-.374.193-.986.063-.29.194-.928.256-1.155.116-.054.229-.107.341-.107.259%200%20.227.227.217.318-.01.152-.104.648-.203%201.074l-.061.275c-.047.203-.099.4-.144.602l.02.04a12%2012%200%200%201%201.135-.02l.055-.041c.08-.473.1-.599.25-1.286l.07-.316c.142-.619.214-.932.109-1.187-.116-.286-.389-.355-.634-.355-.162%200-.46.039-.725.17-.095.049-.19.106-.283.163l.082-.314-.044-.053c-.564.115-.693.13-1.214.203l-.04.03c-.063.502-.115.879-.34%201.866a121%20121%200%200%201-.262%201.094l.024.046c.535-.028.695-.028%201.158-.02m3.884.02c.033-.162.23-1.123.232-1.123%200%200%20.168-.706.179-.732%200%200%20.053-.073.106-.102h.077c.735%200%201.564%200%202.214-.478.442-.328.744-.812.88-1.4.034-.145.06-.317.06-.488%200-.226-.045-.449-.176-.623-.331-.464-.991-.472-1.753-.476l-.376.004c-.975.012-1.366.008-1.527-.011l-.039.197-.35%201.622-.874%203.604c.851-.01%201.2-.01%201.347.006m.647-2.876.37-1.61.012-.082.005-.064.149.016.784.067c.302.117.427.419.34.812a1.18%201.18%200%200%201-.613.808c-.247.124-.549.134-.86.134h-.202zm2.313%201.393c-.098.418-.211%201.183.488%201.455.223.095.423.123.626.113.215-.012.413-.12.597-.274l-.05.19.032.042c.503-.021.66-.021%201.204-.017l.05-.038c.08-.468.154-.922.361-1.817q.15-.642.305-1.28l-.016-.047c-.563.104-.713.127-1.255.203l-.04.034-.017.127a.77.77%200%200%200-.395-.325c-.24-.094-.806.028-1.292.47-.341.316-.505.749-.598%201.164m1.182.026c.12-.516.258-.953.617-.953.227%200%20.346.21.322.566l-.065.29q-.055.228-.113.457a1.1%201.1%200%200%201-.132.267c-.092.13-.312.212-.438.212-.036%200-.257%200-.265-.326a2.2%202.2%200%200%201%20.074-.514Zm6.171-1.703-.043-.05c-.557.113-.658.13-1.17.2l-.037.038-.006.024-.002-.009c-.38.879-.37.69-.68%201.38l-.003-.084-.078-1.5-.048-.049c-.584.113-.597.13-1.136.2l-.042.038c-.006.017-.006.037-.01.059l.004.007c.067.344.051.268.119.81.031.267.073.535.105.798.053.44.083.658.148%201.33-.364.6-.45.827-.8%201.354l.002.005-.247.39c-.028.041-.053.07-.09.082a.4.4%200%200%201-.16.023h-.137l-.204.675.697.012c.41-.002.666-.193.805-.45l.438-.75h-.007l.046-.053c.294-.635%202.536-4.48%202.536-4.48m-7.353%208.871h-.296l1.094-3.618h.363l.115-.373.011.415c-.013.256.188.483.718.446h.612l.211-.697h-.23q-.198.002-.187-.105l-.01-.422h-1.135v.002c-.366.008-1.461.036-1.683.095-.268.069-.55.272-.55.272l.11-.373h-1.06l-.221.74-1.109%203.674h-.215l-.211.691h2.113l-.071.231h1.04l.07-.23h.292zm-.867-2.883c-.17.047-.486.19-.486.19l.281-.925h.843l-.203.674s-.26.015-.435.061m.016%201.322s-.264.033-.439.072a4%204%200%200%200-.493.216l.29-.962h.847zm-.472%201.57h-.845l.245-.812h.843zm2.036-2.244h1.218l-.175.567h-1.234l-.186.62h1.08l-.817%201.152a.34.34%200%200%201-.166.138.5.5%200%200%201-.22.063h-.3l-.205.68h.784c.407%200%20.648-.186.826-.43l.56-.767.12.78c.026.145.131.23.203.264.078.04.159.107.274.117q.182.009.27.01h.385l.232-.76h-.152c-.087%200-.238-.015-.263-.043-.026-.033-.026-.084-.04-.162l-.122-.781h-.5l.22-.261h1.232l.19-.62H30.62l.178-.567h1.137l.211-.7h-3.39zM18.257%2025.77l.284-.946h1.17l.213-.704h-1.17l.179-.582h1.143l.212-.682h-2.86l-.208.682h.65l-.174.582h-.652l-.216.716h.65l-.379%201.252c-.051.165.024.228.072.305a.31.31%200%200%200%20.21.153c.114.026.192.041.299.041h1.318l.234-.78-.584.08c-.113%200-.425-.013-.39-.117Zm.134-4.53-.296.536a.6.6%200%200%201-.172.223q-.069.041-.265.04h-.154l-.207.685h.514c.246%200%20.436-.09.526-.136.098-.052.123-.022.198-.095l.174-.15h1.603l.212-.713h-1.173l.205-.39zm2.367%204.544c-.028-.04-.008-.11.034-.253l.438-1.45h1.558c.227-.004.391-.006.498-.014q.172-.017.375-.126a.7.7%200%200%200%20.272-.252c.068-.092.176-.296.27-.61l.55-1.834-1.617.01s-.498.073-.717.154c-.222.09-.538.343-.538.343l.146-.503h-.999l-1.398%204.639q-.077.27-.091.389c-.003.085.107.168.177.232.084.063.208.052.327.063.125.01.302.015.547.015h.768l.235-.796-.687.065a.18.18%200%200%201-.148-.072m.754-2.683h1.637l-.104.326c-.014.008-.05-.016-.216.004h-1.417zm.328-1.094h1.651l-.119.393s-.778-.008-.902.015c-.549.095-.869.388-.869.388l.24-.796Zm1.242%202.513a.18.18%200%200%201-.065.1q-.048.031-.167.03h-.234l.014-.398h-.97l-.04%201.942c0%20.14.013.221.115.286.103.081.419.092.844.092h.608l.22-.727-.53.029-.176.01a.2.2%200%200%201-.073-.045c-.022-.022-.06-.009-.053-.149l.004-.497.555-.023c.3%200%20.428-.098.537-.19.104-.09.138-.192.178-.33l.093-.441h-.763z'/%3e%3c/svg%3e",VISA:"data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%3e%3cg%20clip-path='url(%23a)'%3e%3cpath%20fill='%231b16e6'%20d='M0%200h40v40H0z'/%3e%3cpath%20fill='%23fff'%20fill-rule='evenodd'%20d='M19.912%2018.197c-.018%201.393%201.253%202.17%202.21%202.632.983.475%201.313.779%201.31%201.203-.008.649-.785.935-1.512.946-1.269.02-2.006-.339-2.593-.61l-.457%202.119c.588.268%201.678.503%202.808.513%202.652%200%204.386-1.297%204.396-3.309.01-2.552-3.563-2.693-3.539-3.834.009-.346.342-.715%201.072-.81.361-.047%201.359-.083%202.49.433l.443-2.05a6.8%206.8%200%200%200-2.362-.43c-2.496%200-4.252%201.315-4.266%203.197m10.893-3.02c-.484%200-.892.28-1.074.71l-3.788%208.963h2.65l.527-1.445h3.239l.305%201.444H35l-2.038-9.672zm.372%202.613.765%203.632h-2.094zM16.7%2015.177l-2.09%209.672h2.526l2.088-9.672zm-3.736%200-2.628%206.583-1.064-5.598c-.124-.625-.617-.985-1.164-.985H3.81l-.06.28c.882.19%201.884.496%202.491.823.372.2.478.375.6.85l2.013%207.72h2.67l4.091-9.673h-2.652Z'%20clip-rule='evenodd'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='a'%3e%3cpath%20fill='%23fff'%20d='M0%200h40v40H0z'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",V_PAY:"data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%3e%3cg%20clip-path='url(%23a)'%3e%3cpath%20fill='%231c3378'%20d='M0%200h40v40H0z'/%3e%3cpath%20fill='%231c3378'%20d='M38.753%200H2v39.754h36.753z'/%3e%3cpath%20fill='%23fff'%20d='M36.957%2025.94H2.043V1.04h34.914z'/%3e%3cpath%20fill='%231c3378'%20d='m28.331%205.56-6.85%2016.327h-4.476L13.634%208.855c-.203-.8-.383-1.095-1.003-1.436-1.021-.547-2.7-1.065-4.176-1.388l.099-.47h7.197c.918%200%201.744.608%201.952%201.66l1.784%209.448%204.4-11.108h4.444Z'/%3e%3cpath%20fill='%23fff'%20d='M11.773%2032.32c.163.045.38.058.65.058.994%200%201.601-.51%201.601-1.398%200-.844-.561-1.295-1.484-1.295a3.5%203.5%200%200%200-.767.07zm-1.318-3.535c.476-.09%201.136-.157%202.034-.157.974%200%201.685.213%202.15.619.433.371.714.966.714%201.68%200%20.717-.217%201.313-.628%201.72-.53.55-1.361.81-2.302.81-.246%200-.476-.014-.65-.046v2.862h-1.318zm9.903%204.29-.572-1.869c-.142-.461-.26-.98-.369-1.42h-.021c-.107.44-.217.972-.345%201.42l-.562%201.87h1.87Zm-2.085%201.046-.628%202.152h-1.372l2.334-7.59h1.698l2.369%207.59h-1.428l-.66-2.152zm7.2%202.152v-3.166l-2.302-4.423h1.51l.878%201.946c.248.566.43.99.628%201.51h.019c.184-.485.393-.958.639-1.51l.877-1.946h1.502l-2.422%204.391v3.198z'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='a'%3e%3cpath%20fill='%23fff'%20d='M0%200h40v40H0z'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e"},ta={class:"flex h-full grow flex-col justify-center"},oa=e.defineComponent({__name:"PaymentMethodCard",props:{paymentMethod:{},isDefault:{type:Boolean},i18n:{},options:{},variant:{default:"default"}},setup(t){const l=t,n=e.computed(()=>{var e,t,o;return(null==(e=l.i18n)?void 0:e.expiryDate)&&l.paymentMethod.card.expiry_date?l.i18n.expiryDate(l.paymentMethod.card.expiry_date.expiry_month,l.paymentMethod.card.expiry_date.expiry_year):l.paymentMethod.card.expiry_date?`Expiry date: ${null==(t=l.paymentMethod.card.expiry_date)?void 0:t.expiry_month}/${null==(o=l.paymentMethod.card.expiry_date)?void 0:o.expiry_year}`:void 0}),a=e.computed(()=>l.paymentMethod.card.brand?ea[l.paymentMethod.card.brand]:so);return(l,i)=>{var r;return e.openBlock(),e.createBlock(go,{"image-src":a.value,"image-alt":null==(r=t.paymentMethod.card.brand)?void 0:r.toLowerCase(),variant:t.variant,options:t.options,"is-inactive":"INACTIVE"===t.paymentMethod.status},{default:e.withCtx(()=>[e.createElementVNode("div",ta,[e.createVNode(o,{tag:"span",variant:"condensed"===t.variant?"body-xs":"body-sm",shade:"condensed"===t.variant?"light":void 0,weight:"semibold","no-spacing":""},{default:e.withCtx(()=>[e.createTextVNode(" **** **** **** "+e.toDisplayString(t.paymentMethod.card.last_four_digits??"****"),1)]),_:1},8,["variant","shade"]),"default"===t.variant&&n.value?(e.openBlock(),e.createBlock(o,{key:0,tag:"span",variant:"body-xs",shade:"lighter","no-spacing":""},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(n.value),1)]),_:1})):e.createCommentVNode("",!0),e.createVNode(Kn,{"is-default":t.isDefault},null,8,["is-default"]),e.createVNode(Wn,{"is-inactive":"INACTIVE"===t.paymentMethod.status},null,8,["is-inactive"])])]),_:1},8,["image-src","image-alt","variant","options","is-inactive"])}}}),la={AMAZON_PAY:{name:"Amazon Pay",logo:"data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cg%20fill-rule='evenodd'%20clip-path='url(%23a)'%20clip-rule='evenodd'%3e%3cpath%20fill='%23f3f6f9'%20d='M0%200h40v40H0z'/%3e%3cpath%20fill='%23232f3e'%20d='M5.923%2021.696a.13.13%200%200%201-.154.016c-.218-.18-.257-.265-.376-.437-.36.367-.614.476-1.08.476-.551%200-.98-.34-.98-1.02%200-.532.29-.894.696-1.071.356-.155.852-.184%201.231-.227v-.084c0-.156.013-.34-.08-.476-.08-.12-.231-.17-.367-.17-.25%200-.472.128-.526.394a.14.14%200%200%201-.116.12l-.631-.069a.116.116%200%200%201-.097-.137c.146-.77.842-1.002%201.465-1.002.319%200%20.735.084.985.326.318.298.29.695.29%201.127v1.02c0%20.307.128.441.248.607.042.058.051.13%200%20.173-.134.113-.372.319-.502.435zm-.66-1.596c0%20.255.006.467-.122.695-.104.185-.27.298-.454.298-.251%200-.398-.191-.398-.475%200-.558.5-.66.974-.66zm2.454%201.57h-.654a.12.12%200%200%201-.116-.11v-3.362a.124.124%200%200%201%20.125-.12h.61a.12.12%200%200%201%20.116.115v.44h.013c.158-.426.458-.623.862-.623s.666.197.849.623a.967.967%200%200%201%201.666-.258c.208.282.165.695.165%201.053v2.121a.13.13%200%200%201-.038.087.12.12%200%200%201-.088.035h-.655a.12.12%200%200%201-.116-.12v-1.784c0-.141.013-.494-.018-.629-.05-.227-.196-.29-.385-.29a.43.43%200%200%200-.392.275c-.066.171-.061.454-.061.644v1.782a.123.123%200%200%201-.126.121h-.656a.123.123%200%200%201-.116-.12v-1.783c0-.374.058-.927-.406-.927-.463%200-.452.537-.452.927v1.782a.124.124%200%200%201-.127.122m7.296-.583c-.12-.166-.246-.3-.246-.607v-1.02c0-.433.03-.83-.29-1.128-.252-.24-.668-.325-.986-.325-.623%200-1.319.231-1.465%201.002a.116.116%200%200%200%20.098.137l.635.069a.14.14%200%200%200%20.116-.121c.055-.265.276-.393.526-.393.135%200%20.29.05.368.17.092.135.08.319.08.475v.083c-.38.042-.877.071-1.232.226-.41.178-.698.539-.698%201.072%200%20.68.429%201.02.98%201.02.464%200%20.72-.11%201.08-.476.119.174.158.256.375.436a.13.13%200%200%200%20.155-.015%2028%2028%200%200%201%20.502-.435c.056-.04.046-.11.002-.17m-1.286-.294c-.103.183-.269.297-.453.297-.25%200-.397-.191-.397-.475%200-.558.5-.66.973-.66v.142c0%20.256.005.468-.123.696m1.841-2.126v-.48a.116.116%200%200%201%20.123-.122h2.152a.12.12%200%200%201%20.124.121v.412c0%20.07-.058.16-.162.302l-1.115%201.592c.413-.01.851.053%201.228.264.07.037.113.109.115.187v.515c0%20.07-.076.153-.158.11a2.48%202.48%200%200%200-2.274.004c-.075.04-.154-.04-.154-.111v-.49a.6.6%200%200%201%20.08-.33l1.293-1.855h-1.127a.12.12%200%200%201-.125-.121m4.257.026c-.482%200-.513.658-.513%201.068s-.006%201.286.507%201.286.532-.706.532-1.138c0-.282-.012-.622-.098-.891-.073-.231-.22-.325-.428-.325m-.006-.686c.972%200%201.498.834%201.498%201.895%200%201.026-.58%201.84-1.498%201.84-.953%200-1.473-.835-1.473-1.875s.525-1.86%201.473-1.86m2.766%203.659h-.654a.123.123%200%200%201-.116-.12V18.18a.123.123%200%200%201%20.127-.11h.607c.055.002.103.04.116.094v.514h.013c.182-.46.44-.678.892-.678.293%200%20.58.107.765.396.17.269.17.722.17%201.047v2.115a.13.13%200%200%201-.125.106h-.659a.12.12%200%200%201-.116-.106v-1.825c0-.367.043-.905-.41-.905a.43.43%200%200%200-.379.269c-.091.205-.103.41-.103.638v1.809a.126.126%200%200%201-.128.12m5.328-3.083a1.53%201.53%200%200%200-.92.316v1.914q.44.33.906.329.947%200%20.947-1.275t-.933-1.284m-.968-.089c.164-.145.353-.26.556-.343.192-.076.397-.116.604-.116.206-.004.41.038.598.12.177.082.332.204.452.358.132.17.228.364.286.57q.104.37.1.754c.002.26-.034.52-.107.768-.061.212-.163.41-.299.584a1.4%201.4%200%200%201-.467.375%201.4%201.4%200%200%201-.61.128%201.53%201.53%200%200%201-1.065-.406v1.61a.122.122%200%200%201-.137.137h-.405a.12.12%200%200%201-.133-.082.1.1%200%200%201-.005-.056v-4.62a.12.12%200%200%201%20.082-.132.1.1%200%200%201%20.056-.006h.302a.145.145%200%200%201%20.158.138zm4.308%202.7q.244-.002.474-.088.255-.094.473-.261v-.701a3.3%203.3%200%200%200-.727-.09q-.777%200-.777.599%200%20.26.145.401.144.14.412.14m-.804-2.459-.052.018a.2.2%200%200%201-.058.01q-.087%200-.089-.124v-.184a.23.23%200%200%201%20.027-.133.3.3%200%200%201%20.11-.073%202.5%202.5%200%200%201%20.542-.152q.32-.057.646-.057.652%200%20.96.267.31.267.31.83v2.346a.123.123%200%200%201-.137.138h-.296a.14.14%200%200%201-.103-.033.14.14%200%200%201-.048-.098l-.034-.227q-.245.212-.546.33a1.6%201.6%200%200%201-.594.116q-.494%200-.783-.278-.287-.28-.29-.746%200-.5.357-.8.358-.298.962-.298.439.006.864.116v-.451q0-.372-.164-.522-.165-.15-.577-.151a3.6%203.6%200%200%200-1.007.156m4.631%203.494q-.186.474-.43.68-.243.206-.637.206a1.5%201.5%200%200%201-.392-.048.2.2%200%200%201-.11-.066.23.23%200%200%201-.034-.14v-.179q0-.13.103-.13.053.003.103.013.092.015.186.014a.6.6%200%200%200%20.405-.124q.145-.123.261-.453l.13-.348-1.322-3.27a.5.5%200%200%201-.048-.165q0-.082.096-.082h.412a.24.24%200%200%201%20.151.034q.059.067.082.151l.962%202.664.927-2.664a.4.4%200%200%201%20.082-.151.25.25%200%200%201%20.151-.034h.385q.096%200%20.096.082a.5.5%200%200%201-.048.165z'/%3e%3cpath%20fill='%23f90'%20d='M16.456%2022.989c-1.23.907-3.014%201.391-4.547%201.391a8.23%208.23%200%200%201-5.554-2.119c-.116-.103-.013-.246.126-.165%201.582.92%203.536%201.475%205.557%201.475a11.1%2011.1%200%200%200%204.24-.87c.207-.088.382.137.178.29m.511-.584c.158.201-.173%201.031-.322%201.402-.046.112.051.157.153.072.659-.552.83-1.708.695-1.874-.133-.167-1.286-.309-1.99.186-.109.076-.09.18.03.166.396-.048%201.278-.154%201.436.048'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='a'%3e%3cpath%20fill='%23fff'%20d='M0%200h40v40H0z'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e"},APPLE_PAY:{name:"Apple Pay",logo:"data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cg%20clip-path='url(%23a)'%3e%3cpath%20fill='%23fff'%20d='M0%200h40v40H0z'/%3e%3cpath%20fill='%23000'%20d='M31.367%2011H8.35l-.24.004a3.4%203.4%200%200%200-.52.047%201.66%201.66%200%200%200-1.223.905%201.8%201.8%200%200%200-.163.502%204%204%200%200%200-.046.529q-.003.12-.003.243v13.54l.003.242c.005.177.015.354.046.529q.045.264.163.503a1.68%201.68%200%200%200%201.223.904c.172.032.347.042.52.047q.263.007.524.004h23.017l.239-.004c.173-.005.349-.015.52-.046a1.66%201.66%200%200%200%201.223-.906c.081-.16.132-.325.163-.502.032-.175.042-.352.046-.529q.004-.12.004-.242V13.23q0-.122-.004-.243a4%204%200%200%200-.046-.529%201.7%201.7%200%200%200-.89-1.242%201.7%201.7%200%200%200-.495-.165%203.4%203.4%200%200%200-.521-.047l-.24-.003z'/%3e%3cpath%20fill='%23fff'%20d='M31.368%2011.6h.28q.112%200%20.227.004c.132.003.287.01.432.037a1.07%201.07%200%200%201%20.801.587%201.2%201.2%200%200%201%20.108.337c.026.145.033.302.036.438l.004.23v13.534q0%20.115-.004.23a3%203%200%200%201-.037.44q-.03.176-.107.335a1.08%201.08%200%200%201-.8.586%203%203%200%200%201-.43.038l-.231.003H8.354q-.115%200-.226-.003a3%203%200%200%201-.432-.037%201.2%201.2%200%200%201-.333-.11%201.06%201.06%200%200%201-.468-.477%201.2%201.2%200%200%201-.108-.337%203%203%200%200%201-.037-.438l-.004-.23V13.233q0-.116.004-.23a3%203%200%200%201%20.037-.44c.022-.127.056-.233.108-.336a1.08%201.08%200%200%201%20.8-.586c.145-.026.3-.034.433-.037l.227-.004z'/%3e%3cpath%20fill='%23000'%20d='M13.714%2016.963c.237-.297.398-.695.356-1.102-.347.018-.77.23-1.016.526-.22.254-.415.67-.364%201.059.39.034.779-.195%201.024-.483m.352.559c-.566-.034-1.047.32-1.318.32-.27%200-.684-.303-1.131-.295a1.67%201.67%200%200%200-1.419.862c-.608%201.048-.16%202.602.431%203.456.287.422.633.887%201.09.87.43-.017.599-.279%201.122-.279s.676.279%201.132.27c.473-.008.768-.422%201.055-.844.33-.482.465-.947.473-.972-.008-.009-.912-.355-.92-1.394-.009-.87.71-1.284.743-1.31-.405-.6-1.039-.667-1.258-.684m4.926-1.178c1.23%200%202.086.848%202.086%202.082%200%201.238-.874%202.09-2.117%202.09h-1.362v2.166h-.984v-6.338zm-1.393%203.347h1.129c.856%200%201.344-.461%201.344-1.26%200-.8-.488-1.257-1.34-1.257H17.6zm3.735%201.679c0-.809.62-1.305%201.718-1.367l1.264-.074v-.356c0-.514-.347-.821-.926-.821-.55%200-.892.263-.976.676h-.896c.053-.835.765-1.45%201.907-1.45%201.12%200%201.836.594%201.836%201.52v3.185h-.91v-.76h-.021c-.268.514-.852.839-1.459.839-.904%200-1.537-.562-1.537-1.392m2.982-.418v-.364l-1.137.07c-.567.04-.887.29-.887.685%200%20.404.333.668.843.668.663%200%201.181-.457%201.181-1.059m1.803%203.429v-.768c.07.017.228.017.307.017.44%200%20.677-.184.822-.659%200-.008.083-.28.083-.285l-1.669-4.626h1.028l1.168%203.76h.018l1.168-3.76h1.002l-1.731%204.863c-.395%201.12-.852%201.48-1.81%201.48-.079%200-.316-.009-.386-.022'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='a'%3e%3cpath%20fill='%23fff'%20d='M0%200h40v40H0z'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e"},CASH_APP:{name:"Cash App",logo:"data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cg%20clip-path='url(%23a)'%3e%3cpath%20fill='%2300ce32'%20d='M0%200h40v40H0z'/%3e%3cpath%20fill='%23fff'%20d='M20.647%2015.6a5.27%205.27%200%200%201%203.409%201.261c.204.187.517.18.714-.014l.982-.993a.51.51%200%200%200-.027-.743%207.8%207.8%200%200%200-2.624-1.481l.294-1.46a.52.52%200%200%200-.282-.57.5.5%200%200%200-.221-.05h-1.89a.515.515%200%200%200-.502.406l-.264%201.306c-2.516.125-4.65%201.38-4.65%203.955%200%202.225%201.764%203.182%203.627%203.85%201.763.662%202.698.907%202.698%201.838%200%20.93-.932%201.516-2.304%201.516a5.05%205.05%200%200%201-3.582-1.413.51.51%200%200%200-.717%200l-1.053%201.037a.515.515%200%200%200%200%20.738%206.95%206.95%200%200%200%203.042%201.68l-.294%201.353a.53.53%200%200%200%20.5.634h1.895a.515.515%200%200%200%20.506-.409l.273-1.282c3.015-.187%204.858-1.822%204.858-4.216%200-2.204-1.837-3.134-4.068-3.892-1.275-.483-2.377-.8-2.377-1.754s1.029-1.297%202.057-1.297'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='a'%3e%3cpath%20fill='%23fff'%20d='M0%200h40v40H0z'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e"},DANA:{name:"DANA",logo:"data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cg%20clip-path='url(%23a)'%3e%3cpath%20fill='%23fff'%20d='M0%200h40v40H0z'/%3e%3cpath%20fill='%23108ee9'%20fill-rule='evenodd'%20d='M4.1%2015.7c0-2.48%201.974-4.49%204.411-4.49s4.411%202.01%204.411%204.49c0%202.479-1.976%204.49-4.411%204.49S4.1%2018.18%204.1%2015.7m3.227-1.007c.404-.062.778-.219%201.155-.36.308-.116.616-.236.931-.325.54-.153%201.064-.112%201.543.216.088.061.135.14.135.247v2.496c0%20.1-.036.12-.123.07a1.83%201.83%200%200%200-1.188-.267q-.435.05-.847.197c-.314.108-.628.219-.944.323a3.3%203.3%200%200%201-.874.174%201.8%201.8%200%200%201-1.071-.282.24.24%200%200%201-.112-.216l.002-1.354v-.632q-.002-.255%200-.511c0-.03.013-.07.033-.085.016-.011.058.004.083.02a1.67%201.67%200%200%200%20.979.312q.15-.002.3-.023m12.758.658c.024-1.056.87-1.905%201.913-1.905s1.89.848%201.913%201.905l.001%202.631h-.956v-.971H21.04v.971h-.956v-2.631zm.955.038v.647h1.916v-.646a.967.967%200%200%200-.958-.969.966.966%200%200%200-.958.97m10.033-.038c.023-1.056.87-1.905%201.913-1.905s1.888.848%201.913%201.905l.001%202.631h-.958v-.971H32.03v.971h-.958v-2.633zm.955.038v.647h1.914v-.648a.966.966%200%200%200-.956-.969.967.967%200%200%200-.958.97m-6.445-.038c.023-1.056.869-1.905%201.91-1.905%201.042%200%201.89.848%201.914%201.905h.003v2.632h-.958V15.39a.966.966%200%200%200-.958-.969.964.964%200%200%200-.956.97h-.001v2.593h-.956v-2.633zm-9.408-1.904.018-.001h.089l-.012.004c1.194.042%202.15%201.038%202.15%202.264%200%201.229-.96%202.226-2.156%202.265l.018.004h-1.69v-4.538h1.583m-.628.973v.182h.003v2.224h-.003v.18h.728a1.285%201.285%200%200%200%201.189-1.291c0-.686-.528-1.249-1.195-1.29z'%20clip-rule='evenodd'/%3e%3cpath%20fill='%23d8d8d8'%20d='M34.9%2022.08H4.1v.22h30.8z'/%3e%3cpath%20fill='%233e3a3a'%20fill-rule='evenodd'%20d='M12.313%2026.557c0-.064.013-.128.064-.178.08-.08.238-.141.6-.226v.545c-.18.097-.281.136-.4.136-.162%200-.264-.107-.264-.277m-1.984-1.11c.251%200%20.451.2.451.626%200%20.544-.293.787-.621.787a.7.7%200%200%201-.23-.034v-1.235a.66.66%200%200%201%20.4-.144m5.715-.473.004-.005h-.633l-.4%201.387h-.022l-.46-1.386h-.753l.907%202.29-.379.697v.017h.592zm-7.91%202.277h.672v-2.28h-.672zm4.923%200h.673l-.08-.57v-.954c0-.519-.308-.804-.848-.804-.344%200-.583.06-1.017.192l.119.523c.396-.178.57-.255.753-.255.221%200%20.32.157.32.4v.017c-.77.144-1.01.225-1.158.374-.111.111-.157.268-.157.45%200%20.439.34.673.66.673.238%200%20.43-.09.69-.285zm-2.735.03c.6%200%201.14-.443%201.14-1.23%200-.706-.391-1.128-.876-1.128-.247%200-.438.094-.656.273v-.226h-.672v3.005h.672v-.745c.128.033.247.051.392.051m-5.477-1.108.4-1.383h.017l.378%201.383zm-.932%201.077h.622l.17-.588h1.068l.162.588h.795l-.906-3h-.902zm3.089%200h.672v-3.107h-.672z'%20clip-rule='evenodd'/%3e%3cpath%20fill='%231677ff'%20fill-rule='evenodd'%20d='M8.083%2024.42c0%20.222.162.37.388.37.225%200%20.387-.148.387-.37%200-.216-.162-.37-.387-.37-.226%200-.388.154-.388.37m10.662-.276c.202%200%20.367.165.367.368v1.16h1.16c.202%200%20.367.163.367.367v.393h-1.527a.75.75%200%200%201-.397-.112l-.021-.013a.7.7%200%200%201-.168-.152l-.016-.018-.009-.012a.8.8%200%200%201-.11-.21l-.014-.045a.8.8%200%200%201-.026-.198v-1.528z'%20clip-rule='evenodd'/%3e%3cpath%20fill='%2300b6ff'%20fill-rule='evenodd'%20d='M17.98%2026.432h-.789a.37.37%200%200%201-.367-.367v-.394h1.156zm.37%201.158v-.785h.762v1.153h-.394a.37.37%200%200%201-.367-.367'%20clip-rule='evenodd'/%3e%3cpath%20fill='%233e3a3a'%20fill-rule='evenodd'%20d='M22.688%2025.48v.617h.4a.35.35%200%200%200%20.236-.078q.09-.078.09-.232t-.09-.231a.36.36%200%200%200-.237-.076zm.412-.149q.104%200%20.192.033.09.033.153.092.065.06.099.143.036.09.035.189%200%20.105-.035.189a.4.4%200%200%201-.1.144.5.5%200%200%201-.345.126h-.412v.639h-.166V25.33zm1.406%201.059h.578l-.288-.823zm.93.494h-.177l-.125-.35h-.678l-.125.35h-.176l.571-1.553h.14zm.984-1.404v.57h.414a.35.35%200%200%200%20.223-.07q.087-.069.086-.213%200-.144-.086-.215a.34.34%200%200%200-.223-.07h-.415zm.43-.149q.1%200%20.185.03t.147.085q.06.055.094.136a.5.5%200%200%201%20.034.18.4.4%200%200%201-.093.279.43.43%200%200%201-.244.138l.368.704h-.194l-.354-.688h-.373v.688h-.166v-1.552zm2.256.149h-.45v1.404h-.167V25.48h-.448v-.149h1.064zm2.004%201.405h-.157l-.824-1.246v1.245h-.167v-1.553h.158l.824%201.241v-1.24h.166zm1.98-1.405h-.798v.546h.68v.149h-.68v.561h.798v.148h-.964v-1.553h.964zm1.078%200v.57h.414a.35.35%200%200%200%20.224-.07q.085-.069.085-.213t-.085-.215a.34.34%200%200%200-.224-.07h-.414zm.43-.149a.6.6%200%200%201%20.186.03q.086.03.146.085t.095.136a.5.5%200%200%201%20.034.18.4.4%200%200%201-.338.417l.368.704h-.193l-.353-.688h-.373v.688h-.166v-1.552z'%20clip-rule='evenodd'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='a'%3e%3cpath%20fill='%23fff'%20d='M0%200h40v40H0z'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e"},GCASH:{name:"GCash",logo:"data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cg%20clip-path='url(%23a)'%3e%3cpath%20fill='%23007dfe'%20d='M0%200h40v40H0z'/%3e%3cpath%20fill='%23002ac4'%20d='M11%2019.555c.046-.068.046-.16.046-.228.091-1.027.342-1.986.821-2.899q1.78-3.39%205.479-4.245a7.4%207.4%200%200%201%202.465-.137c1.529.137%202.876.707%204.085%201.62a.906.906%200%200%201%20.092%201.415.9.9%200%200%201-1.164.069%205%205%200%200%200-.571-.388%206.4%206.4%200%200%200-2.716-.89%206.12%206.12%200%200%200-6.505%204.747%206.153%206.153%200%200%200%204.633%207.396c1.849.41%203.56.046%205.113-1.096.297-.205.594-.296.936-.16.32.115.548.366.593.708.046.343-.068.662-.342.867a8.1%208.1%200%200%201-3.538%201.553c-.61.11-1.231.14-1.849.091-1.849-.114-3.47-.776-4.839-2.009-1.37-1.164-2.191-2.625-2.556-4.382a6%206%200%200%201-.137-.89c0-.092%200-.16-.046-.229z'/%3e%3cpath%20fill='%23fff'%20d='M22.093%2020.948h-2.122a.89.89%200%200%201-.868-.617c-.205-.593.228-1.232.867-1.232h3.219c.525%200%20.936.41.936.936a4.9%204.9%200%200%201-.434%202.054c-.753%201.598-1.986%202.58-3.698%202.922-2.716.502-5.34-1.256-5.912-3.926-.456-2.146.48-4.36%202.443-5.479a5%205%200%200%201%202.191-.639%204.9%204.9%200%200%201%202.876.685c.046.023.114.069.16.091.41.274.525.822.274%201.233a.923.923%200%200%201-1.233.342c-.16-.091-.297-.182-.456-.25-1.872-.822-4.086.319-4.451%202.328a3.22%203.22%200%200%200%202.556%203.766c1.552.296%203.127-.617%203.63-2.1.022-.046.045-.069.022-.114'/%3e%3cpath%20fill='%2375c2fb'%20d='M29.991%2019.92c0%201.598-.274%203.013-.867%204.383-.092.251-.206.48-.343.708-.182.342-.502.525-.958.479-.343-.046-.64-.342-.73-.708a.85.85%200%200%201%20.09-.616c.229-.434.411-.867.548-1.324.18-.556.303-1.13.366-1.712.045-.365.068-.753.068-1.118-.023-1.324-.274-2.602-.844-3.812-.046-.114-.115-.228-.16-.343-.274-.616.182-1.323.844-1.278.343.023.617.183.776.502.32.64.594%201.301.776%202.01.16.547.252%201.095.32%201.643.114.41.137.843.114%201.186m-2.967.115a7.7%207.7%200%200%201-.708%203.264c-.114.274-.32.479-.593.547-.343.092-.662.023-.913-.25-.252-.274-.32-.594-.183-.937.091-.228.183-.433.251-.661.16-.457.251-.936.297-1.416.091-1.095-.069-2.122-.525-3.127-.228-.502%200-1.05.502-1.232.434-.183.936.023%201.141.456.274.594.48%201.21.594%201.85.091.501.16%201.003.137%201.506'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='a'%3e%3cpath%20fill='%23fff'%20d='M0%200h40v40H0z'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e"},GOOGLE_PAY:{name:"Google Pay",logo:"data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cg%20clip-path='url(%23a)'%3e%3cpath%20fill='%23111211'%20d='M0%200h40v40H0z'/%3e%3cpath%20fill='%23fff'%20d='M18.923%2016.468v2.527h1.559c.345.01.68-.125.92-.374a1.268%201.268%200%200%200-.92-2.153zm0%203.417v2.93h-.93V15.58h2.468a2.23%202.23%200%200%201%201.599.626%202.09%202.09%200%200%201%200%203.063%202.23%202.23%200%200%201-1.599.616zm4.746%201.415a.74.74%200%200%200%20.309.606c.206.162.461.247.723.242.393%200%20.77-.156%201.047-.434.293-.258.46-.63.46-1.02a1.9%201.9%200%200%200-1.214-.344%201.58%201.58%200%200%200-.946.273.81.81%200%200%200-.38.676m1.204-3.599a2.3%202.3%200%200%201%201.63.551c.408.393.626.945.596%201.511v3.053h-.89v-.688h-.04a1.78%201.78%200%200%201-1.539.85%202%202%200%200%201-1.37-.486c-.358-.3-.56-.746-.552-1.213a1.47%201.47%200%200%201%20.582-1.223%202.45%202.45%200%200%201%201.553-.455%202.75%202.75%200%200%201%201.365.304v-.213a1.06%201.06%200%200%200-.384-.824%201.32%201.32%200%200%200-.9-.338%201.43%201.43%200%200%200-1.235.657l-.82-.516a2.29%202.29%200%200%201%202.004-.97m7.336.163L29.102%2025h-.96l1.152-2.497-2.044-4.639h1.012l1.477%203.557h.02l1.438-3.557z'/%3e%3cpath%20fill='%23547dbe'%20d='M15.162%2019.254q0-.426-.072-.846h-3.926v1.602h2.249a1.93%201.93%200%200%201-.832%201.264v1.04h1.342a4.07%204.07%200%200%200%201.239-3.06'/%3e%3cpath%20fill='%2334a751'%20d='M11.163%2023.318c1.014.028%202-.33%202.76-1.004l-1.343-1.04a2.526%202.526%200%200%201-3.754-1.319H7.443v1.072a4.16%204.16%200%200%200%203.72%202.29'/%3e%3cpath%20fill='%23f7ba16'%20d='M8.826%2019.954a2.5%202.5%200%200%201%200-1.592v-1.071H7.443a4.15%204.15%200%200%200%200%203.735z'/%3e%3cpath%20fill='%23e84334'%20d='M11.163%2016.646a2.26%202.26%200%200%201%201.597.624l1.188-1.186A4%204%200%200%200%2011.163%2015a4.16%204.16%200%200%200-3.72%202.292l1.383%201.071a2.49%202.49%200%200%201%202.337-1.717'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='a'%3e%3cpath%20fill='%23fff'%20d='M0%200h40v40H0z'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e"},GO_PAY:{name:"GoPay",logo:"data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cg%20clip-path='url(%23a)'%3e%3cpath%20fill='%234c3494'%20d='M0%207h40v26H0z'/%3e%3cpath%20fill='%2300aed6'%20d='M0%200h40v40H0z'/%3e%3cpath%20fill='%2300aed6'%20d='M5.93%2016.22c2.17%200%203.928%201.787%203.928%203.99S8.1%2024.2%205.93%2024.2%202%2022.414%202%2020.21c0-2.203%201.76-3.99%203.93-3.99'/%3e%3cpath%20fill='%23fff'%20fill-rule='evenodd'%20d='M8.218%2020.086a.92.92%200%200%200-.953-.873H4.783a.165.165%200%200%201-.163-.166c0-.091.073-.166.163-.166h2.515a.79.79%200%200%200-.573-.733%206.3%206.3%200%200%200-2.215%200%201.055%201.055%200%200%200-.786.887%208%208%200%200%200%200%202.363c.088.455.445.808.896.887.91.115%201.829.115%202.739%200a.97.97%200%200%200%20.76-.838q.12-.675.099-1.361m-.815.559v.147a.165.165%200%200%201-.227.154.17.17%200%200%201-.101-.154v-.147a.25.25%200%200%201%20.164-.435.25.25%200%200%201%20.164.435'%20clip-rule='evenodd'/%3e%3cpath%20fill='%23000'%20d='M5.93%2016.22c2.17%200%203.928%201.787%203.928%203.99S8.1%2024.2%205.93%2024.2%202%2022.414%202%2020.21c0-2.203%201.76-3.99%203.93-3.99'/%3e%3cpath%20fill='%2300aed6'%20fill-rule='evenodd'%20d='M8.218%2020.086a.92.92%200%200%200-.953-.873H4.783a.165.165%200%200%201-.163-.166c0-.091.073-.166.163-.166h2.515a.79.79%200%200%200-.573-.733%206.3%206.3%200%200%200-2.215%200%201.055%201.055%200%200%200-.786.887%208%208%200%200%200%200%202.363c.088.455.445.808.896.887.91.115%201.829.115%202.739%200a.97.97%200%200%200%20.76-.838q.12-.675.099-1.361m-.815.559v.147a.165.165%200%200%201-.227.154.17.17%200%200%201-.101-.154v-.147a.25.25%200%200%201%20.164-.435.25.25%200%200%201%20.164.435'%20clip-rule='evenodd'/%3e%3cpath%20fill='%23fff'%20d='M12.964%2022.197a1.68%201.68%200%200%200%201.469.728c.684%200%201.187-.444%201.187-1.047v-.318h-.016a1.85%201.85%200%200%201-1.41.536c-1.262.036-2.314-.972-2.35-2.253s.957-2.35%202.219-2.386q.045-.002.089-.001a1.95%201.95%200%200%201%201.452.52h.016v-.437h1.172v4.322c0%201.256-.982%202.127-2.36%202.127a2.8%202.8%200%200%201-2.342-1.055zm2.607-2.69c0-.502-.56-.962-1.187-.962-.793%200-1.32.486-1.32%201.214a1.168%201.168%200%200%200%201.27%201.248c.685%200%201.237-.436%201.237-.98zm4.289-2.093c1.428%200%202.467%201.03%202.467%202.345s-1.039%202.345-2.466%202.345c-1.276.085-2.378-.896-2.461-2.192-.084-1.295.883-2.413%202.158-2.498q.15-.01.302%200m.001%201.088a1.25%201.25%200%200%200-1.228%201.265%201.245%201.245%200%200%200%201.246%201.248%201.247%201.247%200%200%200%201.229-1.256%201.195%201.195%200%200%200-1.247-1.257m3.127-.962h1.171v.393h.017c.383-.357.89-.544%201.41-.52%201.276.024%202.291%201.093%202.268%202.389-.022%201.258-1.02%202.275-2.26%202.302a2.1%202.1%200%200%201-1.369-.469h-.016v2.228h-1.221zm2.409.971c-.645%200-1.189.46-1.189.963v.561c0%20.536.528.98%201.196.98a1.24%201.24%200%200%200%201.23-1.256%201.24%201.24%200%200%200-1.237-1.248m4.758.821c.8-.11%201.04-.227%201.04-.452%200-.294-.305-.47-.775-.47a1.034%201.034%200%200%200-1.09.796l-1.154-.242c.164-.905%201.08-1.55%202.21-1.55%201.279%200%202.071.662%202.071%201.742v2.823H31.36v-.486h-.017a1.79%201.79%200%200%201-1.477.611c-.965%200-1.632-.536-1.632-1.323%200-.83.544-1.255%201.921-1.449m1.139.468h-.017c-.107.16-.338.251-.932.36-.718.134-.973.276-.973.536%200%20.268.214.385.676.385.701%200%201.246-.326%201.246-.754zm3.374%201.936-2.021-4.197h1.345l1.327%202.898h.017l1.312-2.898H38l-3.027%206.324H33.63z'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='a'%3e%3cpath%20fill='%23fff'%20d='M0%200h40v40H0z'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e"},KAKAOPAY:{name:"KakaoPay",logo:"data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cg%20clip-path='url(%23a)'%3e%3cpath%20fill='%23ffcd01'%20d='M0%200h40v40H0z'/%3e%3cpath%20fill='%23000'%20d='M9.488%2024.5c-.238-.402%200-.702.068-1.003s.153-.617.243-.951c-.164-.125-.334-.238-.504-.363a2.832%202.832%200%200%201-.034-4.735%204.815%204.815%200%200%201%206.152.345%202.76%202.76%200%200%201%200%204.033%204.53%204.53%200%200%201-3.32%201.264%201.43%201.43%200%200%200-.895.271c-.413.3-.85.595-1.274.873-.125.09-.255.158-.436.266m9.482-7.132h.861c.057.091.136.204.193.284q.47-.24.974-.403a1.626%201.626%200%200%201%201.95.997%203.5%203.5%200%200%201%20.055%202.606%202.09%202.09%200%200%201-2.22%201.433l-.527-.034v1.7h-1.274c-.012-2.193-.012-4.362-.012-6.583m1.275%201.133v2.72a1.13%201.13%200%200%200%201.535-.816%203%203%200%200%200%200-1.49.71.71%200%200%200-.567-.567%201.16%201.16%200%200%200-.968.153m11.425-1.342c.448.124.84.232%201.275.368-.227.629-.425%201.212-.652%201.79-.39%201.053-.77%202.13-1.195%203.16a3.26%203.26%200%200%201-1.41%201.7c-.25-.22-.505-.459-.754-.691.363-.436.697-.867%201.031-1.28-.566-1.564-1.133-3.087-1.7-4.668l1.281-.368c.346%201.195.685%202.35%201.02%203.5h.113c.317-1.138.64-2.293.991-3.511m-3.92%205.007h-.883l-.153-.34-.125.034a5.4%205.4%200%200%201-1.133.402c-1.042.102-1.7-.566-1.58-1.654.068-.844.63-1.314%201.603-1.388h.986c.12-.566-.09-.9-.607-.878q-.712.064-1.41.227c-.09-.215-.215-.481-.346-.793a2.95%202.95%200%200%201%202.266-.515%201.524%201.524%200%200%201%201.371%201.506c.057%201.133.011%202.219.011%203.399m-1.268-1.206v-.866h-.77c-.618.068-.817.459-.539%201.048a1.3%201.3%200%200%200%201.31-.21z'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='a'%3e%3cpath%20fill='%23fff'%20d='M0%200h40v40H0z'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e"},MOMO:{name:"Momo",logo:"data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cg%20clip-path='url(%23a)'%3e%3cpath%20fill='%23ad2070'%20d='M0%200h40v40H0z'/%3e%3cpath%20fill='%23fff'%20fill-rule='evenodd'%20d='M13.207%2027.325a.43.43%200%200%200-.336.157.3.3%200%200%200-.096-.098.4.4%200%200%200-.226-.059.44.44%200%200%200-.295.11v-.084H12v1.197h.274v-.62q0-.143.027-.217a.2.2%200%200%201%20.08-.102.23.23%200%200%201%20.126-.035q.084%200%20.116.045.04.053.038.164v.765h.274v-.689q0-.154.065-.22a.22.22%200%200%201%20.165-.065q.052%200%20.09.024.035.022.05.059c.007.02.015.06.015.148v.743h.273v-.806q0-.208-.101-.312a.38.38%200%200%200-.285-.105m1.275.242q.12%200%20.202.091.083.095.083.285%200%20.203-.083.298a.25.25%200%200%201-.202.092.26.26%200%200%201-.202-.091q-.083-.095-.083-.293%200-.196.083-.291a.26.26%200%200%201%20.202-.091m0-.242a.56.56%200%200%200-.377.134q-.187.162-.187.49%200%20.3.156.461a.54.54%200%200%200%20.408.163.6.6%200%200%200%20.29-.073q.134-.075.204-.209a.8.8%200%200%200%20.07-.357.62.62%200%200%200-.158-.445.54.54%200%200%200-.406-.164m1.747.624q0%20.195-.08.292a.23.23%200%200%201-.182.092q-.127%200-.204-.125a.54.54%200%200%201-.049-.267q0-.187.08-.283a.22.22%200%200%201%20.358-.004q.075.092.077.295m.142-.451a.44.44%200%200%200-.167-.128.5.5%200%200%200-.212-.045q-.15%200-.262.089v-.488h-.274v1.621h.26v-.07a.4.4%200%200%200%20.267.096.5.5%200%200%200%20.371-.17q.152-.17.152-.471a.8.8%200%200%200-.035-.24.6.6%200%200%200-.1-.194m.524-.268h.274v-.303h-.274zm0%201.318h.274v-1.197h-.274zm.875%200h.275v-1.62h-.274zm.995-.748a.3.3%200%200%201%20.08-.16.26.26%200%200%201%20.189-.075q.125%200%20.2.094a.3.3%200%200%201%20.056.141zm.532.333a.3.3%200%200%201-.102.154.25.25%200%200%201-.152.046.27.27%200%200%201-.202-.084.36.36%200%200%201-.088-.209h.825l.001-.041.001-.052q0-.293-.153-.456a.52.52%200%200%200-.395-.166.53.53%200%200%200-.407.169q-.155.166-.156.465%200%20.288.155.451a.55.55%200%200%200%20.418.163.56.56%200%200%200%20.344-.102.52.52%200%200%200%20.187-.288l.012-.048-.277-.034zm2.879-.808a.43.43%200%200%200-.336.157.3.3%200%200%200-.097-.098.4.4%200%200%200-.226-.059.44.44%200%200%200-.294.11v-.084h-.254v1.197h.273v-.62q0-.143.028-.217a.2.2%200%200%201%20.08-.102.23.23%200%200%201%20.125-.035q.084%200%20.117.045.038.053.038.164v.765h.274v-.689q0-.154.065-.22a.22.22%200%200%201%20.165-.065q.053%200%20.09.024.035.022.05.059c.006.02.015.06.015.148v.743h.273v-.806q0-.208-.101-.312a.38.38%200%200%200-.285-.105m1.36.242q.12%200%20.201.091.083.095.083.285%200%20.203-.082.298a.25.25%200%200%201-.202.092.26.26%200%200%201-.203-.091q-.083-.095-.083-.293%200-.196.083-.291a.26.26%200%200%201%20.203-.091m0-.242a.56.56%200%200%200-.378.134q-.186.162-.187.49%200%20.3.156.461a.54.54%200%200%200%20.409.163.6.6%200%200%200%20.29-.073.5.5%200%200%200%20.204-.209.8.8%200%200%200%20.07-.357.62.62%200%200%200-.158-.445.54.54%200%200%200-.406-.164m1.895.149a.33.33%200%200%200-.144-.11.5.5%200%200%200-.201-.039.45.45%200%200%200-.312.112v-.087h-.255v1.198h.274v-.65q0-.194.073-.258a.26.26%200%200%201%20.18-.066.2.2%200%200%201%20.11.028q.044.025.06.07a.5.5%200%200%201%20.019.157v.72h.274v-.727a1%201%200%200%200-.012-.192.4.4%200%200%200-.066-.156m.707.326a.3.3%200%200%201%20.08-.16.26.26%200%200%201%20.189-.075q.124%200%20.201.094.04.05.056.141zm.532.333a.3.3%200%200%201-.102.154.25.25%200%200%201-.152.046.27.27%200%200%201-.202-.084.36.36%200%200%201-.087-.209h.824l.001-.041.001-.052q0-.293-.152-.456a.52.52%200%200%200-.396-.166.53.53%200%200%200-.406.169q-.156.166-.156.465%200%20.288.154.451a.55.55%200%200%200%20.418.163.56.56%200%200%200%20.345-.102.52.52%200%200%200%20.186-.288l.012-.048-.277-.034zm1.316-.783-.248.677-.039.113-.04-.117-.241-.672h-.295l.438%201.157-.011.032a1%201%200%200%201-.053.132.13.13%200%200%201-.047.044c-.033.018-.092.023-.177%200l-.06-.016.03.266.026.009a.4.4%200%200%200%20.136.025.3.3%200%200%200%20.178-.05.4.4%200%200%200%20.13-.152q.063-.125.108-.258l.444-1.19zm-3.247-14.23a1.41%201.41%200%200%200-1.408%201.407%201.408%201.408%200%200%200%202.815%200c0-.777-.631-1.408-1.408-1.408m0%204.933a3.53%203.53%200%200%201-3.527-3.526A3.53%203.53%200%200%201%2024.738%2011a3.53%203.53%200%200%201%203.527%203.527%203.53%203.53%200%200%201-3.527%203.526m.001%203.288a1.41%201.41%200%200%200-1.408%201.408%201.41%201.41%200%200%200%201.407%201.407%201.41%201.41%200%200%200%201.408-1.407c0-.776-.63-1.408-1.407-1.408m-.001%204.934a3.53%203.53%200%200%201-3.527-3.526%203.53%203.53%200%200%201%203.526-3.527%203.53%203.53%200%200%201%203.527%203.527%203.53%203.53%200%200%201-3.527%203.526M17.91%2011c-.608%200-1.168.203-1.617.545A2.66%202.66%200%200%200%2014.677%2011%202.68%202.68%200%200%200%2012%2013.676v4.377h2.119v-4.377a.558.558%200%200%201%201.114%200v4.377h2.119v-4.377a.557.557%200%200%201%201.113%200v4.377h2.12v-4.377A2.68%202.68%200%200%200%2017.908%2011m.002%208.222c-.608%200-1.168.203-1.617.545a2.66%202.66%200%200%200-1.617-.545A2.68%202.68%200%200%200%2012%2021.898v4.377h2.12v-4.377a.557.557%200%200%201%201.113%200v4.377h2.12v-4.377a.557.557%200%200%201%201.113%200v4.377h2.119v-4.377a2.68%202.68%200%200%200-2.675-2.676'%20clip-rule='evenodd'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='a'%3e%3cpath%20fill='%23fff'%20d='M0%200h40v40H0z'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e"},PAYPAL:{name:"PayPal",logo:"data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cg%20clip-path='url(%23a)'%3e%3cpath%20fill='%23fff'%20d='M0%200h40v40H0z'/%3e%3cpath%20fill='%23253b80'%20d='m16.912%2027.988.282-1.822-.627-.015H13.57l2.082-13.443a.17.17%200%200%201%20.169-.146h5.05c1.678%200%202.835.355%203.439%201.056.283.33.463.673.55%201.052.092.397.094.87.005%201.45l-.007.042v.37l.283.164q.357.192.574.445c.242.281.399.639.465%201.063.068.436.046.955-.066%201.542-.13.676-.338%201.264-.62%201.745a3.6%203.6%200%200%201-.983%201.097c-.375.271-.82.477-1.324.608a6.5%206.5%200%200%201-1.654.195h-.393a1.18%201.18%200%200%200-.768.288%201.22%201.22%200%200%200-.401.728l-.03.164-.497%203.211-.023.118c-.006.037-.016.056-.031.069a.1.1%200%200%201-.052.019z'/%3e%3cpath%20fill='%23179bd7'%20d='M25.41%2016.205a9%209%200%200%201-.051.301c-.666%203.483-2.945%204.686-5.856%204.686h-1.481a.724.724%200%200%200-.712.62l-.758%204.901-.215%201.39a.383.383%200%200%200%20.374.446h2.628c.312%200%20.576-.23.625-.543l.026-.136.495-3.198.031-.176a.635.635%200%200%201%20.625-.544h.393c2.546%200%204.54-1.053%205.122-4.1.244-1.272.118-2.335-.526-3.083a2.5%202.5%200%200%200-.72-.564'/%3e%3cpath%20fill='%23222d65'%20d='M24.714%2015.921a5%205%200%200%200-.648-.146%208%208%200%200%200-1.306-.097H18.8a.64.64%200%200%200-.623.544l-.842%205.432-.025.159a.72.72%200%200%201%20.712-.621h1.482c2.91%200%205.19-1.204%205.855-4.686q.03-.154.051-.302a3.5%203.5%200%200%200-.696-.283'/%3e%3cpath%20fill='%23253b80'%20d='M18.177%2016.222a.64.64%200%200%201%20.624-.543h3.959q.705-.002%201.306.097.171.028.333.064.236.055.464.13.296.099.548.234c.198-1.287-.002-2.163-.685-2.956-.753-.874-2.113-1.248-3.853-1.248h-5.05a.726.726%200%200%200-.714.621l-2.104%2013.581a.44.44%200%200%200%20.428.511h3.119l.783-5.059z'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='a'%3e%3cpath%20fill='%23fff'%20d='M0%200h40v40H0z'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e"},TWINT:{name:"Twint",logo:"data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cg%20clip-path='url(%23a)'%3e%3cpath%20fill='%23000'%20d='M0%200h40v40H0z'/%3e%3cpath%20fill='%23fff'%20d='M13.78%2022.301a.44.44%200%200%201-.206.35l-3.977%202.302a.48.48%200%200%201-.413%200l-3.978-2.301a.45.45%200%200%201-.206-.35v-4.603c0-.132.094-.288.206-.35l3.978-2.302a.48.48%200%200%201%20.413%200l3.977%202.301a.45.45%200%200%201%20.207.35zm22.083-4.271h-3.558v.85h1.275v3.64h1.007v-3.64h1.276zm-16.179%200H16.12v.85h1.276v3.64h1.007v-3.64h1.276zm10.307-.138c-1.12%200-1.745.72-1.745%201.752v2.883h1v-2.902c0-.45.263-.8.757-.8s.75.412.75.8v2.902h.995v-2.883c.012-1.039-.632-1.752-1.757-1.752m-3.759.138v4.49h.994v-4.49zm-3.383%201.782.03.2.939%202.515h.406l1.276-4.49h-.982l-.606%202.357-.038.256-.05-.256-.813-2.358h-.325l-.813%202.358-.05.256-.031-.256-.607-2.358h-.988l1.276%204.49h.406l.938-2.514z'/%3e%3cpath%20fill='url(%23b)'%20d='m11.467%2020.013-1.038%201.526-.532-.813.613-.92c.113-.162.356-.613.075-1.225a1.27%201.27%200%200%200-1.157-.739c-.438%200-.907.226-1.157.739a1.18%201.18%200%200%200%20.069%201.207s.344.5.625.919l.463.669.694%201.063c.006.006.113.175.307.175.181%200%20.3-.169.312-.181l1.626-2.408h-.9zm-2.045.037s-.27-.413-.45-.7a.513.513%200%200%201%20.45-.77c.425%200%20.638.463.45.77-.175.287-.45.7-.45.7'/%3e%3cpath%20fill='url(%23c)'%20d='m8.427%2021.489-1.02-1.433s-.269-.412-.45-.7a.513.513%200%200%201%20.45-.77c.057%200%20.1.007.15.02l.357-.657a1.3%201.3%200%200%200-.507-.107%201.28%201.28%200%200%200-1.157.739%201.18%201.18%200%200%200%20.07%201.207l1.782%202.645c.018.019.13.188.319.188.187%200%20.3-.163.312-.182l.538-.82-.463-.675z'/%3e%3c/g%3e%3cdefs%3e%3cradialGradient%20id='b'%20cx='0'%20cy='0'%20r='1'%20gradientTransform='matrix(4.79253%200%200%205.4098%209.085%2018.261)'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23fc0'/%3e%3cstop%20offset='.092'%20stop-color='%23ffc800'/%3e%3cstop%20offset='.174'%20stop-color='%23ffbd00'/%3e%3cstop%20offset='.253'%20stop-color='%23ffab00'/%3e%3cstop%20offset='.33'%20stop-color='%23ff9100'/%3e%3cstop%20offset='.405'%20stop-color='%23ff7000'/%3e%3cstop%20offset='.479'%20stop-color='%23ff4700'/%3e%3cstop%20offset='.55'%20stop-color='%23ff1800'/%3e%3cstop%20offset='.582'%20stop-color='red'/%3e%3cstop%20offset='1'%20stop-color='red'/%3e%3c/radialGradient%3e%3cradialGradient%20id='c'%20cx='0'%20cy='0'%20r='1'%20gradientTransform='matrix(4.39419%200%200%206.6533%206.196%2018.538)'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%2300b4e6'/%3e%3cstop%20offset='.201'%20stop-color='%2300b0e3'/%3e%3cstop%20offset='.39'%20stop-color='%2301a5db'/%3e%3cstop%20offset='.574'%20stop-color='%230292cd'/%3e%3cstop%20offset='.755'%20stop-color='%230377ba'/%3e%3cstop%20offset='.932'%20stop-color='%230455a1'/%3e%3cstop%20offset='1'%20stop-color='%23054696'/%3e%3c/radialGradient%3e%3cclipPath%20id='a'%3e%3cpath%20fill='%23fff'%20d='M0%200h40v40H0z'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e"}},na={class:"flex h-full grow flex-col justify-center"},aa=e.defineComponent({__name:"PaymentMethodDigitalWallet",props:{paymentMethod:{},isDefault:{type:Boolean},options:{},variant:{default:"default"}},setup(t){const l=t,n=e.computed(()=>{var e;return(null==(e=l.paymentMethod.digital_wallet)?void 0:e.variant)?la[l.paymentMethod.digital_wallet.variant]:void 0});return(l,a)=>{var i,r,c;return e.openBlock(),e.createBlock(go,{"image-src":(null==(i=n.value)?void 0:i.logo)??e.unref(so),"image-alt":null==(c=null==(r=n.value)?void 0:r.name)?void 0:c.toLowerCase(),variant:t.variant,options:t.options,"is-inactive":"INACTIVE"===t.paymentMethod.status},{default:e.withCtx(()=>[e.createElementVNode("div",na,[e.createVNode(o,{tag:"span",weight:"semibold","no-spacing":"",variant:"condensed"===t.variant?"body-xs":"body-sm",shade:"condensed"===t.variant?"light":void 0},{default:e.withCtx(()=>{var t;return[e.createTextVNode(e.toDisplayString(null==(t=n.value)?void 0:t.name),1)]}),_:1},8,["variant","shade"]),e.createVNode(Kn,{"is-default":t.isDefault},null,8,["is-default"]),e.createVNode(Wn,{"is-inactive":"INACTIVE"===t.paymentMethod.status},null,8,["is-inactive"])])]),_:1},8,["image-src","image-alt","variant","options","is-inactive"])}}}),ia={ACH:{name:"ACH",logo:"data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cg%20clip-path='url(%23a)'%3e%3cpath%20fill='%23fff'%20d='M0%200h40v40H0z'/%3e%3cmask%20id='b'%20width='34'%20height='13'%20x='3'%20y='14'%20maskUnits='userSpaceOnUse'%20style='mask-type:luminance'%3e%3cpath%20fill='%23fff'%20d='M3%2014h34v12.653H3z'/%3e%3c/mask%3e%3cg%20mask='url(%23b)'%3e%3cpath%20fill='%230ac500'%20d='M12.597%2018.94a1.389%201.389%200%200%200-1.156%202.156%201.387%201.387%200%201%200%201.156-2.156m-3.409-2.03c-.623%200-1.13.505-1.132%201.128%200%20.623.505%201.13%201.128%201.131a1.13%201.13%200%200%200%20.004-2.258zm0%204.574a1.128%201.128%200%201%200%200%202.255%201.128%201.128%200%200%200%200-2.255m-2.912-4.376a.923.923%200%201%200%20.06-1.845.923.923%200%200%200-.06%201.845M3.76%2014a.76.76%200%200%200-.004%201.516.76.76%200%200%200%20.76-.756.76.76%200%200%200-.756-.76m2.516%2011.388a.923.923%200%201%200%20.06-1.845.923.923%200%200%200-.06%201.845m-2.516-.251a.758.758%200%201%200%20.756.76v-.004a.757.757%200%200%200-.756-.756'/%3e%3cpath%20fill='%23006eff'%20d='M5.934%2018.94a1.387%201.387%200%201%200%20.004%200zm6.321-1.832a.923.923%200%201%200%200-1.845.923.923%200%200%200%200%201.845m2.51-1.585a.759.759%200%200%200%200-1.516.757.757%200%201%200-.002%201.514h.002zm-2.51%209.865a.923.923%200%201%200%200-1.845.923.923%200%200%200%200%201.845m2.51-.251a.759.759%200%201%200%20.756.76v-.004a.757.757%200%200%200-.756-.756'/%3e%3cpath%20fill='%23000'%20d='M22.613%2019.873h-.638l-.271-.619H20.27l-.266.62h-.634l1.606-3.485h.02zm-2.137-1.109h1.039l-.523-1.187zm5.104-1.867-.37.42a1.15%201.15%200%200%200-.87-.392c-.675%200-1.137.517-1.137%201.238s.464%201.243%201.139%201.243c.342.005.667-.146.885-.41l.37.428c-.318.35-.777.538-1.248.516-1.002%200-1.723-.758-1.723-1.77%200-1.01.721-1.774%201.723-1.774a1.6%201.6%200%200%201%201.231.501m3.05%202.976h-.582v-1.479h-1.56v1.48h-.582v-3.427h.582v1.407h1.56v-1.406h.583zm-6.808%203.021v-2.12h.582v3.485h-.018l-2.087-2.186v2.125h-.583v-3.483h.019zm3.232.108v.184H23.39c.024.37.251.573.643.573.23.01.45-.088.597-.264l.37.292a1.18%201.18%200%200%201-.978.448%201.15%201.15%200%200%201-1.202-1.099v-.116c0-.708.472-1.226%201.15-1.226.725.015%201.084.55%201.084%201.207m-1.664-.206h1.109a.514.514%200%200%200-.471-.553h-.061a.554.554%200%200%200-.572.538v.017h-.005zm2.776-.945h.709v.475h-.709v1.044a.336.336%200%200%200%20.355.368.7.7%200%200%200%20.331-.08l.148.452a.96.96%200%200%201-.521.135c-.534%200-.875-.307-.875-.875v-1.046h-.443v-.475h.443v-.78h.555l.007.78zm3.204%202.394h-.018l-.647-1.294-.653%201.294h-.018l-1.08-2.403h.6l.531%201.294.61-1.295h.019l.605%201.295.536-1.295h.597zm3.513-1.214a1.22%201.22%200%201%201-1.22-1.221%201.18%201.18%200%200%201%201.22%201.14zm-1.873%200c0%20.419.27.72.647.72a.664.664%200%200%200%20.671-.721c0-.425-.273-.74-.656-.74s-.656.315-.656.74zm3.47-.666h-.05a.72.72%200%200%200-.61.353v1.479h-.554V21.85h.502l.034.312a.79.79%200%200%201%20.678-.353zm.849.554.954-1.072h.637l-.785.904.865%201.444h-.638l-.614-1.017-.42.444v.577h-.554v-3.54h.555z'/%3e%3c/g%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='a'%3e%3cpath%20fill='%23fff'%20d='M0%200h40v40H0z'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e"},DIRECT_DEBIT_GB:{name:"Direct Debit GB",logo:"data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cg%20clip-path='url(%23a)'%3e%3cpath%20fill='%23e71c44'%20d='M0%200h40v40H0z'/%3e%3cpath%20fill='%23e71c44'%20d='M10.72%2023.985c1.688-.077%203.085-1.304%203.34-2.932L15.055%2016H7.58L6%2023.985z'/%3e%3cpath%20fill='%23fff'%20d='m17.35%2016.044-.727%203.459h.023a2.34%202.34%200%200%201%201.933-1.09c1.206%200%201.66.969%201.66%201.916%200%201.63-1.216%203.657-3.423%203.657-.966%200-1.694-.385-1.694-1.376q.012-.417.09-.827l1.195-5.739zm-1.193%205.761q-.085.331-.069.672c0%20.506.296.794.888.794%201.421%200%202.285-1.642%202.285-2.821%200-.66-.295-1.278-1.046-1.278-.819%200-1.66.816-1.933%202.072zm7.983%202.06q.027-.691.125-1.376h-.022a2.41%202.41%200%200%201-2.138%201.497%201.64%201.64%200%200%201-1.19-.54%201.56%201.56%200%200%201-.392-1.222%203.7%203.7%200%200%201%201.087-2.684%203.88%203.88%200%200%201%202.724-1.128c.5%200%20.999.07%201.478.21l-.557%202.776a11.8%2011.8%200%200%200-.239%202.467zm.615-4.648a2.6%202.6%200%200%200-.66-.077c-1.422%200-2.582%201.442-2.593%202.919%200%20.595.216%201.179.944%201.179.785%200%201.717-.992%201.99-2.413zm4.911%204.439c-.5.222-1.043.335-1.592.33a2%202%200%200%201-1.544-.562%201.9%201.9%200%200%201-.571-1.508%203.34%203.34%200%200%201%20.94-2.428%203.5%203.5%200%200%201%202.426-1.065%202.9%202.9%200%200%201%201.15.232l-.274.727a2.2%202.2%200%200%200-.933-.199c-1.377.115-2.41%201.277-2.331%202.622-.05.374.073.75.337%201.025s.641.42%201.027.396a3%203%200%200%200%201.275-.297zM7.417%2021.432q-.452%200-.897-.076l1.023-5.172c2.011.047%203.622%201.203%203.622%202.623%200%201.45-1.679%202.625-3.748%202.625m1.888.27c1.832-.374%203.164-1.505%203.164-2.843%200-1.356-1.367-2.5-3.239-2.858h-.455c1.882.29%203.29%201.462%203.29%202.865%200%201.468-1.542%202.685-3.555%202.901q.076%200%20.153-.005.323-.016.642-.06m.989-5.701c1.965.408%203.394%201.546%203.471%202.956.102%201.866-2.208%203.501-5.158%203.653a8%208%200%200%201-2.294-.206L6%2023.985h4.72c1.687-.076%203.085-1.303%203.34-2.932l.995-5.052zm3.058%202.606C13.28%2017.294%2011.769%2016.26%209.759%2016h-.223c1.968.36%203.406%201.503%203.406%202.858-.13%201.153-.948%202.122-2.083%202.469%201.537-.562%202.554-1.594%202.493-2.721M30.52%2022.94c.36.204.767.318%201.183.33a.96.96%200%200%200%20.715-.215.92.92%200%200%200%20.331-.655c0-.418-.193-.672-.762-.98a1.6%201.6%200%200%201-.988-1.355c.028-.481.256-.93.632-1.241a1.85%201.85%200%200%201%201.357-.412c.4-.01.796.08%201.149.265l-.261.693a2%202%200%200%200-.956-.242.9.9%200%200%200-.666.198.85.85%200%200%200-.311.606c0%20.386.261.628.75.893.583.245.98.782%201.034%201.398a1.8%201.8%200%200%201-.653%201.335%201.9%201.9%200%200%201-1.45.428%202.56%202.56%200%200%201-1.365-.374z'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='a'%3e%3cpath%20fill='%23fff'%20d='M0%200h40v40H0z'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e"},SEPA_DIRECT_DEBIT:{name:"SEPA Direct Debit",logo:"data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cg%20clip-path='url(%23a)'%3e%3cpath%20fill='%239a1b27'%20d='M0%200h40v40H0z'/%3e%3cpath%20fill='%239a1b27'%20d='M3.077%209h33.846v22H3.077z'/%3e%3cpath%20fill='%23fefefe'%20d='M11.461%2019.505a6%206%200%200%200-1.527-.325%203.3%203.3%200%200%201-.88-.182.32.32%200%200%201-.202-.3.37.37%200%200%201%20.16-.3.83.83%200%200%201%20.508-.125c.207-.006.412.05.586.162a.67.67%200%200%201%20.253.381l1.951-.193a2.4%202.4%200%200%200-.508-.837%201.85%201.85%200%200%200-.763-.457%205%205%200%200%200-1.418-.148c-.49-.016-.98.048-1.451.19a1.84%201.84%200%200%200-.85.576%201.44%201.44%200%200%200-.308.919c-.004.312.097.618.286.867.177.244.421.431.703.54q.729.237%201.488.348.455.059.885.212a.38.38%200%200%201%20.185.532.4.4%200%200%201-.129.143%201.02%201.02%200%200%201-.642.177%201.05%201.05%200%200%201-.607-.157%201%201%200%200%201-.354-.523l-2.042.193c.098.49.386.92.801%201.198.646.333%201.371.48%202.096.422.56.022%201.12-.067%201.645-.262a1.9%201.9%200%200%200%20.885-.702c.18-.27.277-.585.28-.908a1.46%201.46%200%200%200-.265-.847%201.7%201.7%200%200%200-.766-.594'/%3e%3cpath%20fill='%23fefefe'%20fill-rule='evenodd'%20d='M23.049%2017.42c.307-.16.649-.243.996-.239.66-.028%201.29.285%201.665.828a3.44%203.44%200%200%201%20.59%202.046%202.96%202.96%200%200%201-.643%202.054%202.1%202.1%200%200%201-1.622.708%202.3%202.3%200%200%201-.867-.162%202.1%202.1%200%200%201-.7-.482v2.855h-2.079v-7.725h1.927v.797c.197-.272.446-.503.733-.68m.348%203.854a.75.75%200%200%200%20.602-.297c.19-.3.275-.655.243-1.008.027-.34-.062-.68-.253-.962a.77.77%200%200%200-.617-.307.83.83%200%200%200-.657.31c-.201.294-.294.65-.263%201.005-.027.338.068.675.268.95a.86.86%200%200%200%20.677.309m9.561.274q-.008.3.047.597.075.285.21.55h-1.93a2%202%200%200%201-.153-.317%202.4%202.4%200%200%201-.07-.342%202.7%202.7%200%200%201-.804.558%203.3%203.3%200%200%201-1.27.223%202.12%202.12%200%200%201-1.458-.446%201.42%201.42%200%200%201-.498-1.102c-.014-.37.115-.732.36-1.01a2.4%202.4%200%200%201%201.324-.59%2030%2030%200%200%200%201.501-.327q.37-.104.728-.246a.73.73%200%200%200-.156-.533.78.78%200%200%200-.552-.153%201.4%201.4%200%200%200-.758.163.9.9%200%200%200-.318.477l-1.967-.208c.052-.29.161-.568.321-.815.16-.215.367-.391.604-.515.245-.123.508-.206.779-.244q.532-.091%201.072-.086.747-.015%201.486.104c.346.056.67.206.935.434.192.176.334.4.415.647.097.256.148.526.152.8zm-2.136-.454c.09-.197.132-.412.123-.627v-.33q-.435.155-.884.269a2%202%200%200%200-.794.33.53.53%200%200%200-.003.779.7.7%200%200%200%20.498.155%201.3%201.3%200%200%200%20.64-.168c.177-.092.323-.233.42-.408'%20clip-rule='evenodd'/%3e%3cpath%20fill='%23fefefe'%20d='M12.793%2015.182v9.636l7.063%201.25V13.932z'/%3e%3cpath%20fill='%23fefefe'%20fill-rule='evenodd'%20d='M23.9%2024.877v.11h.134v-1.192h-.145v.427a.29.29%200%200%200-.237-.118.34.34%200%200%200-.32.217.6.6%200%200%200-.043.235.55.55%200%200%200%20.047.234c.03.064.075.12.133.159a.34.34%200%200%200%20.19.057.27.27%200%200%200%20.24-.129m-.392-.074a.38.38%200%200%201-.07-.247.4.4%200%200%201%20.065-.251.207.207%200%200%201%20.33.003.4.4%200%200%201%20.068.26.36.36%200%200%201-.067.239.206.206%200%200%201-.326-.004m1.095-.84h-.174v-.168h.174zm0%201.023h-.174v-.863h.174z'%20clip-rule='evenodd'/%3e%3cpath%20fill='%23fefefe'%20d='M24.96%2024.986v-.863h.131v.131a.4.4%200%200%201%20.093-.12.16.16%200%200%201%20.093-.03.3.3%200%200%201%20.15.047l-.05.136a.2.2%200%200%200-.107-.032.14.14%200%200%200-.086.029.16.16%200%200%200-.054.08.6.6%200%200%200-.024.17v.452z'/%3e%3cpath%20fill='%23fefefe'%20fill-rule='evenodd'%20d='m26.418%2024.727-.15-.019a.3.3%200%200%201-.09.135.22.22%200%200%201-.137.043.24.24%200%200%201-.18-.076.33.33%200%200%201-.08-.218h.64l.002-.039a.47.47%200%200%200-.11-.331.37.37%200%200%200-.28-.118.38.38%200%200%200-.29.12.48.48%200%200%200-.112.338.46.46%200%200%200%20.11.327c.15.138.375.155.545.044a.37.37%200%200%200%20.132-.206m-.629-.255h.48a.3.3%200%200%200-.055-.163.22.22%200%200%200-.18-.085.23.23%200%200%200-.17.068.27.27%200%200%200-.075.18'%20clip-rule='evenodd'/%3e%3cpath%20fill='%23fefefe'%20d='m27.327%2024.67.143.019a.35.35%200%200%201-.357.317.37.37%200%200%201-.284-.116.47.47%200%200%201-.107-.332.6.6%200%200%201%20.046-.244.32.32%200%200%201%20.14-.158.4.4%200%200%201%20.205-.052.36.36%200%200%201%20.23.071.33.33%200%200%201%20.113.202l-.141.022a.24.24%200%200%200-.072-.131.18.18%200%200%200-.124-.044.23.23%200%200%200-.179.08.38.38%200%200%200-.069.25.4.4%200%200%200%20.067.253c.042.051.106.08.173.078a.2.2%200%200%200%20.143-.052.26.26%200%200%200%20.073-.163m.751.185.021.13a.5.5%200%200%201-.11.012.25.25%200%200%201-.123-.025.14.14%200%200%201-.061-.066.5.5%200%200%201-.018-.173v-.496h-.107v-.114h.107v-.213l.145-.088v.301h.146v.114h-.146v.505a.3.3%200%200%200%20.007.08.06.06%200%200%200%20.025.029.1.1%200%200%200%20.05.01z'/%3e%3cpath%20fill='%23fefefe'%20fill-rule='evenodd'%20d='M29.487%2024.877v.11h.135v-1.192h-.145v.427a.29.29%200%200%200-.237-.118.34.34%200%200%200-.32.217.6.6%200%200%200-.043.235.55.55%200%200%200%20.047.234c.029.064.075.12.134.159a.34.34%200%200%200%20.188.057.27.27%200%200%200%20.24-.129m-.392-.074a.38.38%200%200%201-.07-.247.4.4%200%200%201%20.065-.251.21.21%200%200%201%20.33.003.4.4%200%200%201%20.068.26.36.36%200%200%201-.067.239.205.205%200%200%201-.326-.004m1.66-.076-.15-.019a.3.3%200%200%201-.09.135.22.22%200%200%201-.137.043.24.24%200%200%201-.18-.076.33.33%200%200%201-.08-.218h.64l.002-.039a.47.47%200%200%200-.11-.331.37.37%200%200%200-.281-.118.38.38%200%200%200-.29.12.48.48%200%200%200-.111.338.46.46%200%200%200%20.11.327c.15.138.375.155.545.044a.37.37%200%200%200%20.132-.206m-.63-.255h.48a.3.3%200%200%200-.054-.163.22.22%200%200%200-.18-.085.23.23%200%200%200-.17.068.27.27%200%200%200-.075.18m.977.514h.135v-.108c.052.082.143.13.24.128a.34.34%200%200%200%20.26-.121.5.5%200%200%200%20.11-.343.6.6%200%200%200-.025-.176.4.4%200%200%200-.072-.14.3.3%200%200%200-.117-.09.4.4%200%200%200-.15-.032.29.29%200%200%200-.235.116v-.425h-.146zm.176-.213a.45.45%200%200%201-.042-.225.37.37%200%200%201%20.07-.24.204.204%200%200%201%20.326-.003c.05.073.074.16.067.25a.38.38%200%200%201-.07.247.206.206%200%200%201-.282.048.2.2%200%200%201-.07-.078m1.088-.809h-.174v-.168h.174zm0%201.023h-.174v-.863h.174z'%20clip-rule='evenodd'/%3e%3cpath%20fill='%23fefefe'%20d='m33.042%2024.855.02.13a.5.5%200%200%201-.11.012.25.25%200%200%201-.122-.025.14.14%200%200%201-.062-.066.5.5%200%200%201-.017-.173v-.496h-.107v-.114h.107v-.213l.144-.088v.301h.147v.114h-.147v.505q0%20.04.008.08a.06.06%200%200%200%20.025.029.1.1%200%200%200%20.05.01z'/%3e%3cpath%20fill='%239a1b27'%20fill-rule='evenodd'%20d='M15.308%2020.512h4.126v-.233a3.7%203.7%200%200%200-.35-1.732%202.36%202.36%200%200%200-1.015-1.015%203.95%203.95%200%200%200-1.82-.35%203.07%203.07%200%200%200-2.227.781%202.72%202.72%200%200%200-.807%202.047%202.9%202.9%200%200%200%20.402%201.546c.239.41.59.744%201.014.96.53.224%201.103.328%201.678.302a4.06%204.06%200%200%200%201.886-.353%202.9%202.9%200%200%200%201.122-1.166l-2.027-.187q-.15.203-.359.34c-.175.1-.374.152-.576.152a.97.97%200%200%201-.779-.35%201.34%201.34%200%200%201-.268-.742m1.712-1.848c.2.242.314.544.32.858h-2.027c.013-.259.095-.51.238-.726a1.007%201.007%200%200%201%201.469-.132'%20clip-rule='evenodd'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='a'%3e%3cpath%20fill='%23fff'%20d='M0%200h40v40H0z'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e"}},ra={class:"flex h-full grow flex-col justify-center"},ca=e.defineComponent({__name:"PaymentMethodDirectDebit",props:{paymentMethod:{},isDefault:{type:Boolean},options:{},variant:{default:"default"}},setup(t){const l=t,n=e.computed(()=>{var e;return(null==(e=l.paymentMethod.direct_debit)?void 0:e.variant)?ia[l.paymentMethod.direct_debit.variant]:void 0});return(l,a)=>{var i,r,c;return e.openBlock(),e.createBlock(go,{"image-src":(null==(i=n.value)?void 0:i.logo)??e.unref(so),"image-alt":null==(c=null==(r=n.value)?void 0:r.name)?void 0:c.toLowerCase(),variant:t.variant,options:t.options,"is-inactive":"INACTIVE"===t.paymentMethod.status},{default:e.withCtx(()=>[e.createElementVNode("div",ra,[e.createVNode(o,{tag:"span",weight:"semibold","no-spacing":"",variant:"condensed"===t.variant?"body-xs":"body-sm",shade:"condensed"===t.variant?"light":void 0},{default:e.withCtx(()=>{var t;return[e.createTextVNode(e.toDisplayString(null==(t=n.value)?void 0:t.name),1)]}),_:1},8,["variant","shade"]),e.createVNode(Kn,{"is-default":t.isDefault},null,8,["is-default"]),e.createVNode(Wn,{"is-inactive":"INACTIVE"===t.paymentMethod.status},null,8,["is-inactive"])])]),_:1},8,["image-src","image-alt","variant","options","is-inactive"])}}}),sa={EPS:{name:"Electronic Payment Services",logo:"data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%3e%3cg%20clip-path='url(%23a)'%3e%3cpath%20fill='%23de378c'%20d='M40%200H0v40h40z'/%3e%3cpath%20fill='%23fff'%20fill-rule='evenodd'%20d='M17.214%2022.014c.483-.99%201.455-1.76%202.572-1.76s2.088.77%202.571%201.76zM19.784%207.5c2.605%200%204.716%202.185%204.716%204.881v1.367c0%20.176-.146.35-.315.35H22.45c-.17%200-.307-.174-.307-.35v-1.367c0-1.346-1.057-2.441-2.357-2.441s-2.357%201.095-2.357%202.441v1.367c0%20.176-.149.35-.318.35h-1.735c-.17%200-.304-.174-.304-.35v-1.5C15.14%209.614%2017.223%207.5%2019.784%207.5m-5.286%2017.406c.606%202.547%202.848%204.497%205.514%204.497h7.455a2.21%202.21%200%200%201-2.168%201.847H14.701c-1.21%200-2.201-1.047-2.201-2.289V18.085a2.21%202.21%200%200%201%202.201-2.228h10.598c1.21%200%202.201%201.016%202.201%202.259l-.01%208.332h-7.478c-1.146%200-2.14-.555-2.63-1.54H25.7v-1.413c0-3.213-2.569-5.824-5.7-5.824-2.662%200-4.901%201.892-5.512%204.433%200%200-.166.85-.166%201.405s.176%201.397.176%201.397'%20clip-rule='evenodd'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='a'%3e%3cpath%20fill='%23fff'%20d='M0%200h40v40H0z'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e"},IDEAL:{name:"iDEAL",logo:"data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%3e%3cpath%20fill='%23e664a5'%20d='M0%200h40v40H0z'/%3e%3cpath%20fill='%23fff'%20d='M7.5%2010.417V29.18c0%20.914.753%201.613%201.613%201.613H20.35c8.494%200%2012.15-4.731%2012.15-11.022%200-6.29-3.656-11.021-12.15-11.021H9.166c-.914.054-1.667.807-1.667%201.667Z'/%3e%3cpath%20fill='%23c06'%20d='M15.027%2013.428v13.871h6.021c5.484%200%207.85-3.118%207.85-7.473%200-4.194-2.366-7.42-7.85-7.42h-5c-.537-.053-1.021.43-1.021%201.022'/%3e%3cpath%20fill='%23000'%20d='M20.35%2029.342h-9.732a1.56%201.56%200%200%201-1.559-1.56V11.868a1.56%201.56%200%200%201%201.56-1.559h9.731c9.247%200%2010.645%205.968%2010.645%209.516%200%206.13-3.764%209.517-10.645%209.517m-9.732-18.495a1.02%201.02%200%200%200-1.021%201.021v15.914a1.02%201.02%200%200%200%201.021%201.022h9.732c6.505%200%2010.107-3.226%2010.107-9.033%200-7.795-6.344-8.978-10.107-8.978l-9.731.054Z'/%3e%3cpath%20fill='%23fff'%20d='M17.178%2017.943c.215%200%20.43.054.591.108q.242.08.484.322l.322.484c.054.215.108.43.108.699s-.054.484-.108.645c-.053.215-.16.377-.268.538s-.27.269-.484.376c-.162.108-.43.108-.645.108h-1.452v-3.334zm-.054%202.688c.107%200%20.215%200%20.322-.053.108-.054.162-.108.27-.162.053-.107.16-.161.16-.322.054-.108.054-.27.054-.484%200-.162%200-.323-.054-.43-.053-.108-.107-.269-.16-.323-.055-.107-.162-.161-.27-.215-.107-.054-.268-.054-.43-.054h-.537v2.097zm4.516-2.688v.591h-1.774v.753h1.613v.538h-1.613v.806h1.774v.592h-2.527v-3.334zm2.473%200%201.237%203.333h-.753l-.27-.753h-1.236l-.269.753h-.752l1.237-3.333zm.054%202.043-.43-1.237-.43%201.237zm2.365-2.043v2.688h1.613v.592H25.78v-3.334c.053.054.752.054.752.054'/%3e%3cpath%20fill='%23000'%20d='M12.285%2021.115a1.506%201.506%200%201%200%200-3.011%201.506%201.506%200%200%200%200%203.011m1.183%206.184a2.294%202.294%200%200%201-2.312-2.312V23.16c0-.645.538-1.182%201.183-1.182s1.183.537%201.183%201.182l-.054%204.14Z'/%3e%3c/svg%3e"},PAY_BY_BANK:{name:"Open Banking / Pay by bank",logo:"data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%3e%3cpath%20fill='%23fff'%20d='M0%200h40v40H0z'/%3e%3cg%20fill='%23101289'%20fill-rule='evenodd'%20clip-path='url(%23a)'%20clip-rule='evenodd'%3e%3cpath%20d='M18.235%2013.537c0-.08.068-.144.143-.144h.19l3.015%203.056h.007v-2.825c0-.08.06-.15.144-.15h.907c.076%200%20.144.07.144.15v5.355c0%20.08-.068.143-.144.143h-.12a.2.2%200%200%201-.1-.04l-2.985-3.158h-.007v2.967c0%20.08-.06.151-.144.151h-.9c-.075%200-.143-.071-.143-.151zM5.713%2017.849c.832%200%201.512-.716%201.512-1.583%200-.875-.68-1.6-1.512-1.6-.823%200-1.504.724-1.504%201.6%200%20.867.68%201.583%201.504%201.583m0-4.455c1.512%200%202.721%201.28%202.721%202.872%200%201.59-1.209%202.856-2.72%202.856C4.201%2019.122%203%2017.857%203%2016.266s1.202-2.872%202.713-2.872m5.511%202.466c.325%200%20.597-.27.597-.628a.59.59%200%200%200-.597-.59h-.718v1.218zm-1.897-2.236c0-.08.06-.15.144-.15h1.821c.93%200%201.693.795%201.693%201.758%200%20.986-.763%201.79-1.685%201.79h-.794v1.87c0%20.079-.068.15-.143.15H9.47a.147.147%200%200%201-.144-.15zm4.486%200c0-.08.06-.15.143-.15h3.13c.082%200%20.143.07.143.15v.868c0%20.08-.06.15-.144.15h-2.093v.987h1.723c.075%200%20.143.072.143.151v.868a.147.147%200%200%201-.143.15h-1.723v1.075h2.093c.083%200%20.144.071.144.15v.868c0%20.08-.06.151-.144.151h-3.129c-.083%200-.143-.071-.143-.151z'/%3e%3c/g%3e%3cg%20fill='%23101289'%20fill-rule='evenodd'%20clip-path='url(%23b)'%20clip-rule='evenodd'%3e%3cpath%20d='M4.918%2025.194c.295%200%20.545-.254.545-.58%200-.319-.325-.557-.62-.557H4.23v1.137zm-.098-2.171c.287%200%20.53-.255.53-.573a.526.526%200%200%200-.53-.541h-.59v1.114zm-1.768-2.109c0-.08.06-.151.143-.151h1.761c.892%200%201.625.644%201.625%201.48%200%20.613-.521%201.058-.876%201.257.4.175%201.012.565%201.012%201.297%200%20.89-.748%201.535-1.647%201.535H3.195c-.083%200-.143-.071-.143-.15zm7.22%203.509-.575-1.313H9.69l-.567%201.313zm-3.107%201.702%202.366-5.354c.023-.048.076-.088.128-.088h.076c.053%200%20.106.04.129.088l2.365%205.354c.046.104-.015.207-.128.207h-.84c-.135%200-.196-.047-.264-.199l-.272-.628H8.67l-.272.636a.28.28%200%200%201-.272.191h-.831c-.114%200-.174-.103-.129-.207Zm5.789-5.298c0-.08.068-.144.143-.144h.19l3.015%203.055h.007v-2.824c0-.08.06-.151.144-.151h.907c.076%200%20.144.072.144.151v5.354c0%20.08-.068.144-.144.144h-.12a.2.2%200%200%201-.1-.04l-2.985-3.159h-.007v2.968c0%20.08-.06.151-.144.151h-.9c-.075%200-.143-.071-.143-.151zm5.716.127c0-.103.076-.191.182-.191h.884c.098%200%20.181.088.181.191v2.092l1.678-2.203c.03-.04.099-.08.144-.08h.952c.144%200%20.22.175.136.294l-1.768%202.331%201.927%202.642c.083.12%200%20.294-.144.294H21.8c-.053%200-.12-.032-.136-.056l-1.746-2.498v2.371c0%20.104-.083.191-.181.191h-.884c-.106%200-.182-.087-.182-.19v-5.188Zm5.188-.04c0-.08.068-.151.143-.151h.908c.075%200%20.143.072.143.151v5.267c0%20.08-.068.151-.143.151H24c-.075%200-.143-.071-.143-.151v-5.267Zm2.375-.087c0-.08.068-.144.143-.144h.19l3.015%203.055h.008v-2.824c0-.08.06-.151.144-.151h.906c.076%200%20.144.072.144.151v5.354c0%20.08-.068.144-.144.144h-.12a.2.2%200%200%201-.099-.04l-2.985-3.159h-.008v2.968c0%20.08-.06.151-.144.151h-.899c-.076%200-.143-.071-.143-.151zm8.13-.136c.635%200%201.33.279%201.844.748a.144.144%200%200%201%20.016.215l-.598.668a.153.153%200%200%201-.203.008c-.288-.278-.62-.382-.99-.382-.825%200-1.49.732-1.49%201.607%200%20.868.673%201.584%201.497%201.584.219%200%20.446-.032.673-.128v-.46h-.477a.14.14%200%200%201-.143-.144v-.788c0-.087.06-.151.143-.151h1.52c.075%200%20.136.072.136.151l.007%202.14a.2.2%200%200%201-.06.128s-.779.517-1.875.517c-1.504%200-2.713-1.257-2.713-2.849%200-1.59%201.21-2.864%202.713-2.864'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='a'%3e%3cpath%20fill='%23fff'%20d='M3%2013.394h20.73v5.923H3z'/%3e%3c/clipPath%3e%3cclipPath%20id='b'%3e%3cpath%20fill='%23fff'%20d='M3%2020.683h33.563v5.923H3z'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e"},TRUSTLY:{name:"Trustly",logo:"data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%3e%3cg%20clip-path='url(%23a)'%3e%3cmask%20id='b'%20width='40'%20height='40'%20x='0'%20y='0'%20maskUnits='userSpaceOnUse'%20style='mask-type:luminance'%3e%3cpath%20fill='%23fff'%20d='M0%200h40v40H0z'/%3e%3c/mask%3e%3cg%20mask='url(%23b)'%3e%3cpath%20fill='%23fff'%20d='M0%200h40v40H0z'/%3e%3cpath%20fill='%2310303f'%20d='M0%200h40v40H0z'/%3e%3cpath%20fill='%2368de7a'%20d='M7.5%2018.75h8.75v-6.875l6.875%206.875-6.875%206.875v3.75H25V18.75h7.5v-8.125h-25z'/%3e%3c/g%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='a'%3e%3cpath%20fill='%23fff'%20d='M0%200h40v40H0z'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e"}},da={class:"flex h-full grow flex-col justify-center"},ua=e.defineComponent({__name:"PaymentMethodOnlineBanking",props:{paymentMethod:{},i18n:{},isDefault:{type:Boolean},variant:{default:"default"}},setup(t){const l=t,n=e.computed(()=>{var e;return(null==(e=l.paymentMethod.online_banking)?void 0:e.variant)?sa[l.paymentMethod.online_banking.variant]:void 0});return(l,a)=>{var i,r,c;return e.openBlock(),e.createBlock(go,{"image-alt":(null==(i=n.value)?void 0:i.name)??(null==(r=t.i18n)?void 0:r.imageAlt)??"Bank transfer","image-src":(null==(c=n.value)?void 0:c.logo)??e.unref("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='32'%20height='32'%20fill='none'%3e%3cpath%20fill='%23e1e2ff'%20d='M0%200h32v32H0z'/%3e%3cmask%20id='a'%20width='24'%20height='24'%20x='4'%20y='4'%20maskUnits='userSpaceOnUse'%20style='mask-type:alpha'%3e%3cpath%20fill='%23d9d9d9'%20d='M4%204h24v24H4z'/%3e%3c/mask%3e%3cg%20mask='url(%23a)'%3e%3cpath%20fill='%231f216a'%20d='M6.5%2022.5v-13h19v3.144H24l-4.606%204.606H10.25v1.5h7.644l-3.75%203.75zm3.75-7.75h5.5v-1.5h-5.5zm6.904%209.712v-1.27l6.38-6.38%201.27%201.269-6.381%206.38h-1.27Zm8.23-6.981-1.269-1.27.841-.84a.36.36%200%200%201%20.258-.117q.14%200%20.255.115l.758.758a.36.36%200%200%201%20.115.256.36.36%200%200%201-.116.257z'/%3e%3c/g%3e%3c/svg%3e"),variant:t.variant,"is-inactive":"INACTIVE"===t.paymentMethod.status},{default:e.withCtx(()=>[e.createElementVNode("div",da,[e.createVNode(o,{tag:"span",weight:"semibold","no-spacing":"",variant:"condensed"===t.variant?"body-xs":"body-sm",shade:"condensed"===t.variant?"light":void 0},{default:e.withCtx(()=>{var o;return[e.createTextVNode(e.toDisplayString(null==(o=n.value)?void 0:o.name)+" ",1),"SETUP"===t.paymentMethod.status?(e.openBlock(),e.createBlock(Qn,{key:0,size:"sm",class:"font-normal ml-1"},{default:e.withCtx(()=>{var o;return[e.createTextVNode(e.toDisplayString((null==(o=t.i18n)?void 0:o.pendingLabel)??"Pending"),1)]}),_:1})):e.createCommentVNode("",!0)]}),_:1},8,["variant","shade"]),"default"===t.variant?(e.openBlock(),e.createBlock(o,{key:0,tag:"span",variant:"body-xs",shade:"lighter","no-spacing":""},{default:e.withCtx(()=>{var o,l;return[e.createTextVNode(e.toDisplayString((null==(o=t.paymentMethod.online_banking)?void 0:o.iban)??(null==(l=t.i18n)?void 0:l.onlineBankingLabel)??"Online banking"),1)]}),_:1})):e.createCommentVNode("",!0),e.createVNode(Kn,{"is-default":t.isDefault},null,8,["is-default"]),e.createVNode(Wn,{"is-inactive":"INACTIVE"===t.paymentMethod.status},null,8,["is-inactive"])])]),_:1},8,["image-alt","image-src","variant","is-inactive"])}}}),pa=e.defineComponent({__name:"PaymentMethod",props:{paymentMethod:{},variant:{},i18n:{}},setup:t=>(o,l)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,["CARD"===t.paymentMethod.type?(e.openBlock(),e.createBlock(oa,e.mergeProps({key:0},o.$attrs,{"payment-method":t.paymentMethod,variant:t.variant,"is-default":t.paymentMethod.is_default}),null,16,["payment-method","variant","is-default"])):e.createCommentVNode("",!0),"ONLINE_BANKING"===t.paymentMethod.type?(e.openBlock(),e.createBlock(ua,e.mergeProps({key:1},o.$attrs,{"payment-method":t.paymentMethod,variant:t.variant,"is-default":t.paymentMethod.is_default}),null,16,["payment-method","variant","is-default"])):e.createCommentVNode("",!0),"BUY_NOW_PAY_LATER"===t.paymentMethod.type?(e.openBlock(),e.createBlock(Jn,e.mergeProps({key:2},o.$attrs,{"payment-method":t.paymentMethod,variant:t.variant,"is-default":t.paymentMethod.is_default}),null,16,["payment-method","variant","is-default"])):e.createCommentVNode("",!0),"DIRECT_DEBIT"===t.paymentMethod.type?(e.openBlock(),e.createBlock(ca,e.mergeProps({key:3},o.$attrs,{"payment-method":t.paymentMethod,variant:t.variant,"is-default":t.paymentMethod.is_default}),null,16,["payment-method","variant","is-default"])):e.createCommentVNode("",!0),"DIGITAL_WALLET"===t.paymentMethod.type?(e.openBlock(),e.createBlock(aa,e.mergeProps({key:4},o.$attrs,{"payment-method":t.paymentMethod,variant:t.variant,"is-default":t.paymentMethod.is_default}),null,16,["payment-method","variant","is-default"])):e.createCommentVNode("",!0)],64))}),ma=()=>{const t=e.ref(!1);return e.onMounted(()=>{t.value=!0}),t},fa=t=>{const o=(null==t?void 0:t.initialToggledItems)??[],l=(null==t?void 0:t.closeOthers)??!1,n=e.ref(o??[]);return{toggledItems:n,toggle:e=>((e,t=!1)=>{const o=n.value.find(t=>t===e);n.value=t?e===o?[]:[e]:o?n.value.filter(t=>t!==e):[...n.value,e]})(e,l),getIsOpen:e=>n.value.includes(e),toggleAll:e=>{0!==e.length&&(n.value.length===e.length?n.value=[]:n.value=e)}}},ha=(t=[])=>{const o=e.ref(t);return[o,e=>{const t=o.value.find(t=>t===e);o.value="number"==typeof t?o.value.filter(t=>t!==e):[...o.value,e]}]};function va(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);t&&(l=l.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),o.push.apply(o,l)}return o}function ga(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?va(Object(o),!0).forEach(function(t){ya(e,t,o[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):va(Object(o)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))})}return e}function ya(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function ba(t){let o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return Object.keys(t).reduce((l,n)=>(o.includes(n)||(l[n]=e.unref(t[n])),l),{})}function xa(e){return"function"==typeof e}function ka(e,t,o){let l=e;const n=t.split(".");for(let a=0;a<n.length;a++){if(!l[n[a]])return o;l=l[n[a]]}return l}function _a(t,o,l){return e.computed(()=>t.some(e=>ka(o,e,{[l]:!1})[l]))}function wa(t,o,l){return e.computed(()=>t.reduce((e,t)=>{const n=ka(o,t,{[l]:!1})[l]||[];return e.concat(n)},[]))}function Ba(t,o,l,n){return t.call(n,e.unref(o),e.unref(l),n)}function Ca(e){return void 0!==e.$valid?!e.$valid:!e}function Ea(t,o,l,n,a,i,r,c,s,d,u){const p=e.ref(!1),m=t.$params||{},f=e.ref(null);let h,v;t.$async?({$invalid:h,$unwatch:v}=function(t,o,l,n,a,i,r){let{$lazy:c,$rewardEarly:s}=a,d=arguments.length>7&&void 0!==arguments[7]?arguments[7]:[],u=arguments.length>8?arguments[8]:void 0,p=arguments.length>9?arguments[9]:void 0,m=arguments.length>10?arguments[10]:void 0;const f=e.ref(!!n.value),h=e.ref(0);l.value=!1;const v=e.watch([o,n].concat(d,m),()=>{if(c&&!n.value||s&&!p.value&&!l.value)return;let e;try{e=Ba(t,o,u,r)}catch(a){e=Promise.reject(a)}h.value++,l.value=!!h.value,f.value=!1,Promise.resolve(e).then(e=>{h.value--,l.value=!!h.value,i.value=e,f.value=Ca(e)}).catch(e=>{h.value--,l.value=!!h.value,i.value=e,f.value=!0})},{immediate:!0,deep:"object"==typeof o});return{$invalid:f,$unwatch:v}}(t.$validator,o,p,l,n,f,a,t.$watchTargets,s,d,u)):({$invalid:h,$unwatch:v}=function(t,o,l,n,a,i,r,c){let{$lazy:s,$rewardEarly:d}=n;return{$unwatch:()=>({}),$invalid:e.computed(()=>{if(s&&!l.value||d&&!c.value)return!1;let e=!0;try{const l=Ba(t,o,r,i);a.value=l,e=Ca(l)}catch(n){a.value=n}return e})}}(t.$validator,o,l,n,f,a,s,d));const g=t.$message;return{$message:xa(g)?e.computed(()=>g(ba({$pending:p,$invalid:h,$params:ba(m),$model:o,$response:f,$validator:i,$propertyPath:c,$property:r}))):g||"",$params:m,$pending:p,$invalid:h,$response:f,$unwatch:v}}function Na(t){let{validations:o,state:l,key:n,parentKey:a,childResults:i,resultsCache:r,globalConfig:c={},instance:s,externalResults:d}=t;const u=a?`${a}.${n}`:n,{rules:p,nestedValidators:m,config:f,validationGroups:h}=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const o=e.unref(t),l=Object.keys(o),n={},a={},i={};let r=null;return l.forEach(e=>{const t=o[e];switch(!0){case xa(t.$validator):n[e]=t;break;case xa(t):n[e]={$validator:t};break;case"$validationGroups"===e:r=t;break;case e.startsWith("$"):i[e]=t;break;default:a[e]=t}}),{rules:n,nestedValidators:a,config:i,validationGroups:r}}(o),v=ga(ga({},c),f),g=n?e.computed(()=>{const t=e.unref(l);return t?e.unref(t[n]):void 0}):l,y=ga({},e.unref(d)||{}),b=e.computed(()=>{const t=e.unref(d);return n?t?e.unref(t[n]):void 0:t}),x=function(t,o,l,n,a,i,r,c,s){const d=Object.keys(t),u=n.get(a,t),p=e.ref(!1),m=e.ref(!1),f=e.ref(0);if(u){if(!u.$partial)return u;u.$unwatch(),p.value=u.$dirty.value}const h={$dirty:p,$path:a,$touch:()=>{p.value||(p.value=!0)},$reset:()=>{p.value&&(p.value=!1)},$commit:()=>{}};return d.length?(d.forEach(e=>{h[e]=Ea(t[e],o,h.$dirty,i,r,e,l,a,s,m,f)}),h.$externalResults=e.computed(()=>c.value?[].concat(c.value).map((e,t)=>({$propertyPath:a,$property:l,$validator:"$externalResults",$uid:`${a}-externalResult-${t}`,$message:e,$params:{},$response:null,$pending:!1})):[]),h.$invalid=e.computed(()=>{const t=d.some(t=>e.unref(h[t].$invalid));return m.value=t,!!h.$externalResults.value.length||t}),h.$pending=e.computed(()=>d.some(t=>e.unref(h[t].$pending))),h.$error=e.computed(()=>!!h.$dirty.value&&(h.$pending.value||h.$invalid.value)),h.$silentErrors=e.computed(()=>d.filter(t=>e.unref(h[t].$invalid)).map(t=>{const o=h[t];return e.reactive({$propertyPath:a,$property:l,$validator:t,$uid:`${a}-${t}`,$message:o.$message,$params:o.$params,$response:o.$response,$pending:o.$pending})}).concat(h.$externalResults.value)),h.$errors=e.computed(()=>h.$dirty.value?h.$silentErrors.value:[]),h.$unwatch=()=>d.forEach(e=>{h[e].$unwatch()}),h.$commit=()=>{m.value=!0,f.value=Date.now()},n.set(a,t,h),h):(u&&n.set(a,t,h),h)}(p,g,n,r,u,v,s,b,l),k=function(e,t,o,l,n,a,i){const r=Object.keys(e);return r.length?r.reduce((r,c)=>(r[c]=Na({validations:e[c],state:t,key:c,parentKey:o,resultsCache:l,globalConfig:n,instance:a,externalResults:i}),r),{}):{}}(m,g,u,r,v,s,b),_={};h&&Object.entries(h).forEach(e=>{let[t,o]=e;_[t]={$invalid:_a(o,k,"$invalid"),$error:_a(o,k,"$error"),$pending:_a(o,k,"$pending"),$errors:wa(o,k,"$errors"),$silentErrors:wa(o,k,"$silentErrors")}});const{$dirty:w,$errors:B,$invalid:C,$anyDirty:E,$error:N,$pending:T,$touch:M,$reset:V,$silentErrors:S,$commit:z}=function(t,o,l){const n=e.computed(()=>[o,l].filter(e=>e).reduce((t,o)=>t.concat(Object.values(e.unref(o))),[])),a=e.computed({get:()=>t.$dirty.value||!!n.value.length&&n.value.every(e=>e.$dirty),set(e){t.$dirty.value=e}}),i=e.computed(()=>{const o=e.unref(t.$silentErrors)||[],l=n.value.filter(t=>(e.unref(t).$silentErrors||[]).length).reduce((e,t)=>e.concat(...t.$silentErrors),[]);return o.concat(l)}),r=e.computed(()=>{const o=e.unref(t.$errors)||[],l=n.value.filter(t=>(e.unref(t).$errors||[]).length).reduce((e,t)=>e.concat(...t.$errors),[]);return o.concat(l)}),c=e.computed(()=>n.value.some(e=>e.$invalid)||e.unref(t.$invalid)||!1),s=e.computed(()=>n.value.some(t=>e.unref(t.$pending))||e.unref(t.$pending)||!1),d=e.computed(()=>n.value.some(e=>e.$dirty)||n.value.some(e=>e.$anyDirty)||a.value),u=e.computed(()=>!!a.value&&(s.value||c.value)),p=()=>{t.$touch(),n.value.forEach(e=>{e.$touch()})};return n.value.length&&n.value.every(e=>e.$dirty)&&p(),{$dirty:a,$errors:r,$invalid:c,$anyDirty:d,$error:u,$pending:s,$touch:p,$reset:()=>{t.$reset(),n.value.forEach(e=>{e.$reset()})},$silentErrors:i,$commit:()=>{t.$commit(),n.value.forEach(e=>{e.$commit()})}}}(x,k,i),P=n?e.computed({get:()=>e.unref(g),set:t=>{w.value=!0;const o=e.unref(l),a=e.unref(d);a&&(a[n]=y[n]),e.isRef(o[n])?o[n].value=t:o[n]=t}}):null;return n&&v.$autoDirty&&e.watch(g,()=>{w.value||M();const t=e.unref(d);t&&(t[n]=y[n])},{flush:"sync"}),e.reactive(ga(ga(ga({},x),{},{$model:P,$dirty:w,$error:N,$errors:B,$invalid:C,$anyDirty:E,$pending:T,$touch:M,$reset:V,$path:u||"__root",$silentErrors:S,$validate:async function(){return M(),v.$rewardEarly&&(z(),await e.nextTick()),await e.nextTick(),new Promise(t=>{if(!T.value)return t(!C.value);const o=e.watch(T,()=>{t(!C.value),o()})})},$commit:z},i&&{$getResultsForChild:function(e){return(i.value||{})[e]},$clearExternalResults:function(){e.isRef(d)?d.value=y:0===Object.keys(y).length?Object.keys(d).forEach(e=>{delete d[e]}):Object.assign(d,y)},$validationGroups:_}),k))}class Ta{constructor(){this.storage=new Map}set(e,t,o){this.storage.set(e,{rules:t,result:o})}checkRulesValidity(t,o,l){const n=Object.keys(l),a=Object.keys(o);if(a.length!==n.length)return!1;return!!a.every(e=>n.includes(e))&&a.every(t=>!o[t].$params||Object.keys(o[t].$params).every(n=>e.unref(l[t].$params[n])===e.unref(o[t].$params[n])))}get(e,t){const o=this.storage.get(e);if(!o)return;const{rules:l,result:n}=o,a=this.checkRulesValidity(e,t,l),i=n.$unwatch?n.$unwatch:()=>({});return a?n:{$dirty:n.$dirty,$partial:!0,$unwatch:i}}}const Ma={COLLECT_ALL:!0,COLLECT_NONE:!1},Va=Symbol("vuelidate#injectChildResults"),Sa=Symbol("vuelidate#removeChildResults");function za(t){return new Proxy(t,{get:(t,o)=>"object"==typeof t[o]?za(t[o]):e.computed(()=>t[o])})}let Pa=0;function qa(t,o){var l;let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};1===arguments.length&&(n=t,t=void 0,o=void 0);let{$registerAs:a,$scope:i=Ma.COLLECT_ALL,$stopPropagation:r,$externalResults:c,currentVueInstance:s}=n;const d=s||(null===(l=e.getCurrentInstance())||void 0===l?void 0:l.proxy),u=d?d.$options:{};a||(Pa+=1,a=`_vuelidate_${Pa}`);const p=e.ref({}),m=new Ta,{childResults:f,sendValidationResultsToParent:h,removeValidationResultsFromParent:v}=d?function(t){let{$scope:o,instance:l}=t;const n={},a=e.ref([]),i=e.computed(()=>a.value.reduce((t,o)=>(t[o]=e.unref(n[o]),t),{}));l.__vuelidateInjectInstances=[].concat(l.__vuelidateInjectInstances||[],function(e,t){let{$registerAs:l,$scope:i,$stopPropagation:r}=t;r||o===Ma.COLLECT_NONE||i===Ma.COLLECT_NONE||o!==Ma.COLLECT_ALL&&o!==i||(n[l]=e,a.value.push(l))}),l.__vuelidateRemoveInstances=[].concat(l.__vuelidateRemoveInstances||[],function(e){a.value=a.value.filter(t=>t!==e),delete n[e]});const r=e.inject(Va,[]);e.provide(Va,l.__vuelidateInjectInstances);const c=e.inject(Sa,[]);return e.provide(Sa,l.__vuelidateRemoveInstances),{childResults:i,sendValidationResultsToParent:r,removeValidationResultsFromParent:c}}({$scope:i,instance:d}):{childResults:e.ref({})};if(!t&&u.validations){const t=u.validations;o=e.ref({}),e.onBeforeMount(()=>{o.value=d,e.watch(()=>xa(t)?t.call(o.value,new za(o.value)):t,e=>{p.value=Na({validations:e,state:o,childResults:f,resultsCache:m,globalConfig:n,instance:d,externalResults:c||d.vuelidateExternalResults})},{immediate:!0})}),n=u.validationsConfig||n}else{const l=e.isRef(t)||(g=t,e.isReactive(g)||e.isReadonly(g))?t:e.reactive(t||{});e.watch(l,e=>{p.value=Na({validations:e,state:o,childResults:f,resultsCache:m,globalConfig:n,instance:null!=d?d:{},externalResults:c})},{immediate:!0})}var g;return d&&(h.forEach(e=>e(p,{$registerAs:a,$scope:i,$stopPropagation:r})),e.onBeforeUnmount(()=>v.forEach(e=>e(a)))),e.computed(()=>ga(ga({},e.unref(p.value)),f.value))}function Da(){const{$t:t}=Gn(),o=e.computed(()=>({DAY:{literal:{singular:t({defaultMessage:"day",id:"time_period.day.singular",description:"The singular form of the day time period"}),plural:t({defaultMessage:"days",id:"time_period.day.plural",description:"The plural form of the day time period"})},full:t({defaultMessage:"daily",id:"time_period.day.full",description:"The full form of the day time period"})},WEEK:{literal:{singular:t({defaultMessage:"week",id:"time_period.week.singular",description:"The singular form of the week time period"}),plural:t({defaultMessage:"weeks",id:"time_period.week.plural",description:"The plural form of the week time period"})},full:t({defaultMessage:"weekly",id:"time_period.week.full",description:"The full form of the week time period"})},MONTH:{literal:{singular:t({defaultMessage:"month",id:"time_period.month.singular",description:"The singular form of the month time period"}),plural:t({defaultMessage:"months",id:"time_period.month.plural",description:"The plural form of the month time period"})},full:t({defaultMessage:"monthly",id:"time_period.month.full",description:"The full form of the month time period"})},YEAR:{literal:{singular:t({defaultMessage:"year",id:"time_period.year.singular",description:"The singular form of the year time period"}),plural:t({defaultMessage:"years",id:"time_period.year.plural",description:"The plural form of the year time period"})},full:t({defaultMessage:"yearly",id:"time_period.year.full",description:"The full form of the year time period"})}}));return{map:o,formatTimePeriod:(e,t={short:!1,hideValueForExactPeriods:!1,singular:!1})=>{const l=e.value??1,n=o.value[e.type].literal[t.singular||1===+l?"singular":"plural"].toLowerCase();return`${t.prefix&&!t.short?`${t.prefix} `:""}${t.hideValueForExactPeriods&&1===l?n:`${l} ${n}`}`},formatTimePeriodLiteral:(e,t={singular:!1})=>o.value[e].literal[t.singular?"singular":"plural"]}}const Ia=(e,t)=>e.find(e=>e.currency===t),$a=(e,t)=>{var o,l;return null==(l=null==(o=e.find(e=>e.currency===t))?void 0:o.configs)?void 0:l[0]},Oa=(e,t)=>{var o,l;return null==(l=null==(o=e.find(e=>d(e.billing_period,t)))?void 0:o.configs)?void 0:l[0]},Ha=e=>{if(!e)return"";const t=e.toLowerCase();return t.charAt(0).toUpperCase()+t.slice(1)},Aa={DAY:{literal:{singular:"Day",plural:"Days"},full:"Daily"},WEEK:{literal:{singular:"Week",plural:"Weeks"},full:"Weekly"},MONTH:{literal:{singular:"Month",plural:"Months"},full:"Monthly"},YEAR:{literal:{singular:"Year",plural:"Years"},full:"Yearly"}},La=(e,t)=>new Intl.NumberFormat((e=>{if(null==e?void 0:e.locale)return e.locale;if("undefined"!=typeof window){const e=localStorage.getItem("numberFormat");if(e)return e}return"en-US"})(t),{style:"currency",currency:e.currency,maximumFractionDigits:10}).format(+e.quantity),Za=e=>Ha((e??"").replace(/_/g," ")),Ra=(e,t={short:!1,hideValueForExactPeriods:!1,prefix:"every"})=>{const o=e.value??1,l=Aa[e.type].literal[1===+o?"singular":"plural"].toLowerCase();return`${t.prefix&&!t.short?`${t.prefix} `:""}${t.hideValueForExactPeriods&&1===o?l:`${o} ${l}`}`};function Fa({currency:e,billingPeriod:t}={}){const{$t:o}=Gn(),{formatTimePeriod:l}=Da();return{renderPricingForPricingItem:({pricingItem:n})=>{var a,i,r,c,s,d,u,p,m,f,h,v,g,y,b,x,k,_,w,B,C,E,N,T,M,V,S,z;const P=null==(a=n.product_items)?void 0:a[0],q=function({pricingItem:e,currency:t,billingPeriod:o}){var l,n,a,i,r,c;if(null==(l=e.pricing_currency_configs)?void 0:l.length){const l=Ia(e.pricing_currency_configs,t);if((null==(n=null==l?void 0:l.billing_period_configs)?void 0:n.length)&&o){const e=Oa(l.billing_period_configs,o);if(e)return e}if(l){const t=l.fallback_currency;if(t){const o=$a(e.pricing_currency_configs,t);if(o)return o}if(null==(a=l.configs)?void 0:a.length)return l.configs[0]}}if(null==(i=e.billing_period_configs)?void 0:i.length){const t=Oa(e.billing_period_configs,o);if(t)return t}if(null==(r=e.configs)?void 0:r.length)return null==(c=e.configs)?void 0:c[0]}({pricingItem:n,currency:null==e?void 0:e.value,billingPeriod:null==t?void 0:t.value});return q?"PER_SEAT"===(null==P?void 0:P.model_type)?o({defaultMessage:"Per seat",id:"pricing_item_pricing.per_seat",description:"The pricing item pricing for a per seat pricing item"}):"ONE_OFF"===(null==P?void 0:P.model_type)&&(null==(c=null==(r=null==(i=q.details)?void 0:i.bands)?void 0:r[0])?void 0:c.fixed_amount)?La(null==(u=null==(d=null==(s=q.details)?void 0:s.bands)?void 0:d[0])?void 0:u.fixed_amount):"FLAT"===(null==(p=q.details)?void 0:p.pricing_type)&&(null==(h=null==(f=null==(m=q.details)?void 0:m.bands)?void 0:f[0])?void 0:h.amount)?o({defaultMessage:"{pricing} per {billing_period}",id:"pricing_item_pricing",description:"The pricing item pricing"},{pricing:La(null==(v=q.details)?void 0:v.bands[0].amount),billing_period:l((null==(g=null==q?void 0:q.details)?void 0:g.pricing_period)??{type:"MONTH",value:1},{short:!0,hideValueForExactPeriods:!0})}):"FIXED"===(null==(y=q.details)?void 0:y.pricing_type)&&(null==(k=null==(x=null==(b=q.details)?void 0:b.bands)?void 0:x[0])?void 0:k.fixed_amount)?o({defaultMessage:"{pricing} per {billing_period}",id:"pricing_item_pricing",description:"The pricing item pricing"},{pricing:La(null==(B=null==(w=null==(_=q.details)?void 0:_.bands)?void 0:w[0])?void 0:B.fixed_amount),billing_period:l((null==(C=null==q?void 0:q.details)?void 0:C.pricing_period)??{type:"MONTH",value:1},{short:!0,hideValueForExactPeriods:!0})}):"TIERED"===(null==(E=q.details)?void 0:E.pricing_type)?o({defaultMessage:"Tiered pricing",id:"pricing_item_pricing.tiered",description:"The pricing item pricing for a tiered pricing item"}):"TOP_TIERED"===(null==(N=q.details)?void 0:N.pricing_type)?o({defaultMessage:"Top tiered pricing",id:"pricing_item_pricing.top_tiered",description:"The pricing item pricing for a top tiered pricing item"}):"STAIR_STEP"===(null==(T=q.details)?void 0:T.pricing_type)?o({defaultMessage:"Stair step pricing",id:"pricing_item_pricing.stair_step",description:"The pricing item pricing for a stair step pricing item"}):"PASS_THROUGH"===(null==(M=q.details)?void 0:M.pricing_type)?o({defaultMessage:"Pass through pricing",id:"pricing_item_pricing.pass_through",description:"The pricing item pricing for a pass through pricing item"}):"NONE"===(null==(V=q.details)?void 0:V.pricing_type)?o({defaultMessage:"Not billed",id:"pricing_item_pricing.none",description:"The pricing item pricing for a not billed pricing item"}):"FLAT_TOP_UP"===(null==(S=q.details)?void 0:S.pricing_type)?o({defaultMessage:"Flat top up pricing",id:"pricing_item_pricing.flat_top_up",description:"The pricing item pricing for a flat top up pricing item"}):"TIERED_TOP_UP"===(null==(z=q.details)?void 0:z.pricing_type)?o({defaultMessage:"Tiered top up pricing",id:"pricing_item_pricing.tiered_top_up",description:"The pricing item pricing for a tiered top up pricing item"}):o({defaultMessage:"Unsupported pricing",id:"pricing_item_pricing.unsupported_pricing_error",description:"Text displayed when the pricing item pricing is unsupported"}):o({defaultMessage:"Unsupported pricing",id:"pricing_item_pricing.unsupported_pricing_error",description:"Text displayed when the pricing item pricing is unsupported"})}}}function Ua(t,o,l={}){const n=l.pageHeight??1122.515625,a=l.pushThreshold??.6,i=l.smallOverflowRatio??.1,r=[],c=()=>{const e=t.value;if(!e)return;(e=>{var t;if(null==(t=l.expandSelectors)?void 0:t.length)for(const o of l.expandSelectors)e.querySelectorAll(o).forEach(e=>{"none"===getComputedStyle(e).display&&(e.style.display="block",r.push(e))})})(e);const c=((e.getBoundingClientRect().top+window.scrollY)%n+n)%n;[...e.querySelectorAll(o)].forEach(t=>{t.style.marginTop="";const o=t.getBoundingClientRect().top+window.scrollY,r=t.getBoundingClientRect().height,s=((o-c)%n+n)%n,d=n-s,u=function(e,t){if(!(null==t?void 0:t.length))return 0;const o=new Set;return t.reduce((t,l)=>{const n=e.querySelector(l);return!n||o.has(n)?t:(o.add(n),t+n.getBoundingClientRect().height)},0)}(t,l.protectedTopSelectors);if(r<=d)return;const p=(t,o)=>{const a=l.companionSelector?function(e,t,o,l){const n=t.getBoundingClientRect().top+window.scrollY,a=Math.floor(n/l),i=[...e.querySelectorAll(o)];for(let r=i.length-1;r>=0;r--){const e=i[r],t=e.getBoundingClientRect().top+window.scrollY,o=Math.floor(t/l);if(t<n&&o===a)return e;if(t<n&&o<a)break}return null}(e,t,l.companionSelector,n):null;if(a){const e=((a.getBoundingClientRect().top+window.scrollY-c)%n+n)%n,l=n-e;e>.5*n?a.style.marginTop=`${l}px`:t.style.marginTop=`${o}px`}else t.style.marginTop=`${o}px`};if(u>0&&d<u)return void p(t,d);if(r>n)return void(s>.5*n&&p(t,d));((r-d)/n<i||d/r<a)&&p(t,d)})},s=()=>{const e=t.value;e&&(r.forEach(e=>e.style.display="none"),r.length=0,e.querySelectorAll(o).forEach(e=>{e.style.marginTop=""}),l.companionSelector&&e.querySelectorAll(l.companionSelector).forEach(e=>{e.style.marginTop=""}))};return e.onMounted(()=>{window.addEventListener("beforeprint",c),window.addEventListener("afterprint",s)}),e.onUnmounted(()=>{window.removeEventListener("beforeprint",c),window.removeEventListener("afterprint",s)}),{adjust:c,reset:s}}const Ga=[{key:"AF",value:"Afghanistan"},{key:"AX",value:"Aland Islands"},{key:"AL",value:"Albania"},{key:"DZ",value:"Algeria"},{key:"AS",value:"American Samoa"},{key:"AD",value:"Andorra"},{key:"AO",value:"Angola"},{key:"AI",value:"Anguilla"},{key:"AQ",value:"Antarctica"},{key:"AG",value:"Antigua And Barbuda"},{key:"AR",value:"Argentina"},{key:"AM",value:"Armenia"},{key:"AW",value:"Aruba"},{key:"AU",value:"Australia"},{key:"AT",value:"Austria"},{key:"AZ",value:"Azerbaijan"},{key:"BS",value:"Bahamas"},{key:"BH",value:"Bahrain"},{key:"BD",value:"Bangladesh"},{key:"BB",value:"Barbados"},{key:"BY",value:"Belarus"},{key:"BE",value:"Belgium"},{key:"BZ",value:"Belize"},{key:"BJ",value:"Benin"},{key:"BM",value:"Bermuda"},{key:"BT",value:"Bhutan"},{key:"BO",value:"Bolivia"},{key:"BA",value:"Bosnia And Herzegovina"},{key:"BW",value:"Botswana"},{key:"BV",value:"Bouvet Island"},{key:"BR",value:"Brazil"},{key:"IO",value:"British Indian Ocean Territory"},{key:"BN",value:"Brunei Darussalam"},{key:"BG",value:"Bulgaria"},{key:"BF",value:"Burkina Faso"},{key:"BI",value:"Burundi"},{key:"KH",value:"Cambodia"},{key:"CM",value:"Cameroon"},{key:"CA",value:"Canada"},{key:"CV",value:"Cape Verde"},{key:"KY",value:"Cayman Islands"},{key:"CF",value:"Central African Republic"},{key:"TD",value:"Chad"},{key:"CL",value:"Chile"},{key:"CN",value:"China"},{key:"CX",value:"Christmas Island"},{key:"CC",value:"Cocos (Keeling) Islands"},{key:"CO",value:"Colombia"},{key:"KM",value:"Comoros"},{key:"CG",value:"Congo"},{key:"CD",value:"Congo, Democratic Republic"},{key:"CK",value:"Cook Islands"},{key:"CR",value:"Costa Rica"},{key:"CI",value:'Cote D"Ivoire'},{key:"HR",value:"Croatia"},{key:"CU",value:"Cuba"},{key:"CW",value:"Curaçao"},{key:"CY",value:"Cyprus"},{key:"CZ",value:"Czech Republic"},{key:"DK",value:"Denmark"},{key:"DJ",value:"Djibouti"},{key:"DM",value:"Dominica"},{key:"DO",value:"Dominican Republic"},{key:"EC",value:"Ecuador"},{key:"EG",value:"Egypt"},{key:"SV",value:"El Salvador"},{key:"GQ",value:"Equatorial Guinea"},{key:"ER",value:"Eritrea"},{key:"EE",value:"Estonia"},{key:"ET",value:"Ethiopia"},{key:"FK",value:"Falkland Islands (Malvinas)"},{key:"FO",value:"Faroe Islands"},{key:"FJ",value:"Fiji"},{key:"FI",value:"Finland"},{key:"FR",value:"France"},{key:"GF",value:"French Guiana"},{key:"PF",value:"French Polynesia"},{key:"TF",value:"French Southern Territories"},{key:"GA",value:"Gabon"},{key:"GM",value:"Gambia"},{key:"GE",value:"Georgia"},{key:"DE",value:"Germany"},{key:"GH",value:"Ghana"},{key:"GI",value:"Gibraltar"},{key:"GR",value:"Greece"},{key:"GL",value:"Greenland"},{key:"GD",value:"Grenada"},{key:"GP",value:"Guadeloupe"},{key:"GU",value:"Guam"},{key:"GT",value:"Guatemala"},{key:"GG",value:"Guernsey"},{key:"GN",value:"Guinea"},{key:"GW",value:"Guinea-Bissau"},{key:"GY",value:"Guyana"},{key:"HT",value:"Haiti"},{key:"HM",value:"Heard Island & Mcdonald Islands"},{key:"VA",value:"Holy See (Vatican City State)"},{key:"HN",value:"Honduras"},{key:"HK",value:"Hong Kong"},{key:"HU",value:"Hungary"},{key:"IS",value:"Iceland"},{key:"IN",value:"India"},{key:"ID",value:"Indonesia"},{key:"IR",value:"Iran, Islamic Republic Of"},{key:"IQ",value:"Iraq"},{key:"IE",value:"Ireland"},{key:"IM",value:"Isle Of Man"},{key:"IL",value:"Israel"},{key:"IT",value:"Italy"},{key:"JM",value:"Jamaica"},{key:"JP",value:"Japan"},{key:"JE",value:"Jersey"},{key:"JO",value:"Jordan"},{key:"KZ",value:"Kazakhstan"},{key:"KE",value:"Kenya"},{key:"KI",value:"Kiribati"},{key:"KR",value:"Korea"},{key:"KP",value:"North Korea"},{key:"KW",value:"Kuwait"},{key:"KG",value:"Kyrgyzstan"},{key:"LA",value:'Lao People"s Democratic Republic'},{key:"LV",value:"Latvia"},{key:"LB",value:"Lebanon"},{key:"LS",value:"Lesotho"},{key:"LR",value:"Liberia"},{key:"LY",value:"Libyan Arab Jamahiriya"},{key:"LI",value:"Liechtenstein"},{key:"LT",value:"Lithuania"},{key:"LU",value:"Luxembourg"},{key:"MO",value:"Macao"},{key:"MK",value:"Macedonia"},{key:"MG",value:"Madagascar"},{key:"MW",value:"Malawi"},{key:"MY",value:"Malaysia"},{key:"MV",value:"Maldives"},{key:"ML",value:"Mali"},{key:"MT",value:"Malta"},{key:"MH",value:"Marshall Islands"},{key:"MQ",value:"Martinique"},{key:"MR",value:"Mauritania"},{key:"MU",value:"Mauritius"},{key:"YT",value:"Mayotte"},{key:"MX",value:"Mexico"},{key:"FM",value:"Micronesia, Federated States Of"},{key:"MD",value:"Moldova"},{key:"MC",value:"Monaco"},{key:"MN",value:"Mongolia"},{key:"ME",value:"Montenegro"},{key:"MS",value:"Montserrat"},{key:"MA",value:"Morocco"},{key:"MZ",value:"Mozambique"},{key:"MM",value:"Myanmar"},{key:"NA",value:"Namibia"},{key:"NR",value:"Nauru"},{key:"NP",value:"Nepal"},{key:"NL",value:"Netherlands"},{key:"AN",value:"Netherlands Antilles"},{key:"NC",value:"New Caledonia"},{key:"NZ",value:"New Zealand"},{key:"NI",value:"Nicaragua"},{key:"NE",value:"Niger"},{key:"NG",value:"Nigeria"},{key:"NU",value:"Niue"},{key:"NF",value:"Norfolk Island"},{key:"MP",value:"Northern Mariana Islands"},{key:"NO",value:"Norway"},{key:"OM",value:"Oman"},{key:"PK",value:"Pakistan"},{key:"PW",value:"Palau"},{key:"PS",value:"Palestinian Territory, Occupied"},{key:"PA",value:"Panama"},{key:"PG",value:"Papua New Guinea"},{key:"PY",value:"Paraguay"},{key:"PE",value:"Peru"},{key:"PH",value:"Philippines"},{key:"PN",value:"Pitcairn"},{key:"PL",value:"Poland"},{key:"PT",value:"Portugal"},{key:"PR",value:"Puerto Rico"},{key:"QA",value:"Qatar"},{key:"RE",value:"Reunion"},{key:"RO",value:"Romania"},{key:"RU",value:"Russian Federation"},{key:"RW",value:"Rwanda"},{key:"BL",value:"Saint Barthelemy"},{key:"SH",value:"Saint Helena"},{key:"KN",value:"Saint Kitts And Nevis"},{key:"LC",value:"Saint Lucia"},{key:"MF",value:"Saint Martin"},{key:"PM",value:"Saint Pierre And Miquelon"},{key:"VC",value:"Saint Vincent And Grenadines"},{key:"WS",value:"Samoa"},{key:"SM",value:"San Marino"},{key:"ST",value:"Sao Tome And Principe"},{key:"SA",value:"Saudi Arabia"},{key:"SN",value:"Senegal"},{key:"RS",value:"Serbia"},{key:"SC",value:"Seychelles"},{key:"SL",value:"Sierra Leone"},{key:"SG",value:"Singapore"},{key:"SK",value:"Slovakia"},{key:"SI",value:"Slovenia"},{key:"SB",value:"Solomon Islands"},{key:"SO",value:"Somalia"},{key:"ZA",value:"South Africa"},{key:"GS",value:"South Georgia And Sandwich Isl."},{key:"ES",value:"Spain"},{key:"LK",value:"Sri Lanka"},{key:"SD",value:"Sudan"},{key:"SR",value:"Suriname"},{key:"SJ",value:"Svalbard And Jan Mayen"},{key:"SZ",value:"Swaziland"},{key:"SE",value:"Sweden"},{key:"CH",value:"Switzerland"},{key:"SY",value:"Syrian Arab Republic"},{key:"TW",value:"Taiwan"},{key:"TJ",value:"Tajikistan"},{key:"TZ",value:"Tanzania"},{key:"TH",value:"Thailand"},{key:"TL",value:"Timor-Leste"},{key:"TG",value:"Togo"},{key:"TK",value:"Tokelau"},{key:"TO",value:"Tonga"},{key:"TT",value:"Trinidad And Tobago"},{key:"TN",value:"Tunisia"},{key:"TR",value:"Turkey"},{key:"TM",value:"Turkmenistan"},{key:"TC",value:"Turks And Caicos Islands"},{key:"TV",value:"Tuvalu"},{key:"UG",value:"Uganda"},{key:"UA",value:"Ukraine"},{key:"AE",value:"United Arab Emirates"},{key:"GB",value:"United Kingdom"},{key:"US",value:"United States"},{key:"UM",value:"United States Outlying Islands"},{key:"UY",value:"Uruguay"},{key:"UZ",value:"Uzbekistan"},{key:"VU",value:"Vanuatu"},{key:"VE",value:"Venezuela"},{key:"VN",value:"Vietnam"},{key:"VG",value:"Virgin Islands, British"},{key:"VI",value:"Virgin Islands, U.S."},{key:"WF",value:"Wallis And Futuna"},{key:"EH",value:"Western Sahara"},{key:"YE",value:"Yemen"},{key:"ZM",value:"Zambia"},{key:"ZW",value:"Zimbabwe"}],ja=(e,t)=>{const o=document.createElement("a");o.href=e,o.download=t,o.click(),setTimeout(()=>{window.URL.revokeObjectURL(e)},250)},Qa=(e=[])=>{const t=e.filter(e=>null!=e&&""!==e);if(1===t.length)return t[0];return t.every(e=>e===t[0])?t[0]:[...t.slice(0,t.length-2),t.slice(t.length-2,t.length).join(" & ")].join(", ")},Ka=(e,t=!0)=>{const o=Qa((e.products??[]).map(e=>e.name??""));return e.name?t?`${e.name} - ${o}`:e.name:o},Wa=e=>{var t,o;return[...(null==(t=e.enabled_pricings)?void 0:t.map(({pricing_id:e})=>e))??[],...(null==(o=e.override_pricings)?void 0:o.map(e=>"id"in e?e.id:e.original_pricing_id))??[]]},Ya=({schedule:e,pricingItemConfigIds:t})=>{var o,l;const n=new Date,a=new Set(t),i=null==(o=e.seats_values)?void 0:o.map((e,t)=>({seatsValue:e,index:t})).filter(({seatsValue:e})=>{if(!a.has(e.pricing_item_config_id))return!1;const t=e.set_start_at_to_now||!e.start_at||new Date(e.start_at)<=n,o=!e.end_at||new Date(e.end_at)>n;return t&&o});return null==(l=null==i?void 0:i.sort((e,t)=>{const o=e.seatsValue.set_start_at_to_now?n.getTime():e.seatsValue.start_at?new Date(e.seatsValue.start_at).getTime():0,l=t.seatsValue.set_start_at_to_now?n.getTime():t.seatsValue.start_at?new Date(t.seatsValue.start_at).getTime():0;return l!==o?l-o:t.index-e.index})[0])?void 0:l.seatsValue},Xa=(e,t)=>{var o;const l=e=>null==e?void 0:e.map(e=>{var t;return{...e,configs:null==(t=e.configs)?void 0:t.map(n)}}),n=e=>{var o,l,a;const i=null==(o=t.included_volumes)?void 0:o.find(t=>t.pricing_item_config_id===e.id),r=Ya({schedule:t,pricingItemConfigIds:[e.id]})??(null==(l=t.seats_values)?void 0:l.find(t=>t.pricing_item_config_id===e.id));return{...e,...!c(i)&&{default_included_volume:It(i,["amount","number","reset_type"])},...!c(r)&&{default_seats_value:It(r,"number")},conditions:e.conditions?{...e.conditions,configs:null==(a=e.conditions.configs)?void 0:a.map(n)}:void 0}};return{...e,entitlements:(e=>{var o,l,n;const a=t=>{var o;return null==(o=e.products)?void 0:o.some(e=>{var o;return null==(o=e.features)?void 0:o.some(e=>e.id===t.feature_id)})},i=(null==(l=null==(o=t.entitlements)?void 0:o.filter(e=>a(e)))?void 0:l.reduce((t,o)=>{var l,n;const a=null==(n=null==(l=e.entitlements)?void 0:l.find(e=>e.feature_id===o.feature_id))?void 0:n.feature;return a?[...t,{...o,feature:a}]:t},[]))??[];if(c(i))return e.entitlements;return[...(null==(n=e.entitlements)?void 0:n.filter(e=>a(e)&&!(null==i?void 0:i.some(t=>t.feature_id===e.feature_id))))??[],...i]})(e),items:null==(o=e.items)?void 0:o.map(e=>{return{...e,...e.configs&&{configs:e.configs.map(n)},...e.billing_period_configs&&{billing_period_configs:l(e.billing_period_configs)},...e.pricing_currency_configs&&{pricing_currency_configs:(t=e.pricing_currency_configs,null==t?void 0:t.map(e=>{var t;return{...e,configs:null==(t=e.configs)?void 0:t.map(n),billing_period_configs:l(e.billing_period_configs)}}))}};var t})}},Ja=(e,t,o={displayDisabledAddonPricings:!1})=>{var l,n;const a=e=>o.displayDisabledAddonPricings||"ADDON"!==e.product_type||((e,t)=>{var o,l;return!(!(null==(o=e.enabled_pricings)?void 0:o.some(({pricing_id:e})=>e===t.id))&&!(null==(l=e.override_pricings)?void 0:l.some(e=>"id"in e&&e.id===t.id||e.original_pricing_id===t.id)))})(t,e);return{...e,pricing_categories:null==(n=null==(l=e.pricing_categories)?void 0:l.map(e=>{var o,l,n,i;return{...e,pricing_groups:null==(l=null==(o=e.pricing_groups)?void 0:o.map(e=>{var o,l;return{...e,pricings:null==(l=null==(o=e.pricings)?void 0:o.filter(a))?void 0:l.map(e=>Xa(e,t))}}))?void 0:l.filter(e=>!c(e.pricings)),pricings:null==(i=null==(n=e.pricings)?void 0:n.filter(a))?void 0:i.map(e=>Xa(e,t))}}))?void 0:n.filter(e=>o.displayDisabledAddonPricings||!(c(e.pricing_groups)&&c(e.pricings)))}},ei=e=>"REVENUE"===e.type,ti=e=>"DEDUCTION"===e.type,oi=e=>["AT_MOST_ONE","EXACTLY_ONE"].includes(e.selection_constraint),li={equals:"equals",notEquals:"does not equal",in:"equals one of",inOutput:"equals",notIn:"does not equal one of",notInOutput:"does not equal",greaterThan:"greater than",greaterThanOrEquals:"greater than or equal to",lessThan:"less than",lessThanOrEquals:"less than or equal to",empty:"is empty",notEmpty:"is not empty",contains:"contains",notContains:"does not contain",or:"or",unsupported:"unsupported",unknown:"Unknown"},ni=(e=li)=>({propertyName:t,comparator:o,value:l,values:n},{hasFormatting:a}={})=>{const i=((e=li)=>[{comparator:"CONTAINS",forType:["STRING"],requiresInput:!0,symbol:"CONTAINS",label:{input:e.contains,output:e.contains}},{comparator:"NOT_CONTAINS",forType:["STRING"],requiresInput:!0,symbol:"NOT CONTAINS",label:{input:e.notContains,output:e.notContains}},{comparator:"EMPTY",forType:["STRING"],requiresInput:!1,symbol:"EMPTY",label:{input:e.empty,output:e.empty}},{comparator:"NOT_EMPTY",forType:["STRING"],requiresInput:!1,symbol:"NOT EMPTY",label:{input:e.notEmpty,output:e.notEmpty}},{comparator:"EQUALS",forType:["NUMBER","STRING","ENUM"],requiresInput:!0,symbol:"=",label:{input:e.equals,output:e.equals}},{comparator:"NOT_EQUALS",forType:["NUMBER","STRING","ENUM"],requiresInput:!0,symbol:"!=",label:{input:e.notEquals,output:e.notEquals}},{comparator:"IN",forType:["NUMBER","STRING","ENUM"],requiresInput:!0,symbol:"IN ()",label:{input:e.in,output:e.inOutput}},{comparator:"NOT_IN",forType:["NUMBER","STRING","ENUM"],requiresInput:!0,symbol:"NOT IN()",label:{input:e.notIn,output:e.notInOutput}},{comparator:"GREATER_THAN",forType:["NUMBER"],requiresInput:!0,symbol:">",label:{input:e.greaterThan,output:e.greaterThan}},{comparator:"GREATER_THAN_OR_EQUALS",forType:["NUMBER"],requiresInput:!0,symbol:">=",label:{input:e.greaterThanOrEquals,output:e.greaterThanOrEquals}},{comparator:"LESS_THAN",forType:["NUMBER"],requiresInput:!0,symbol:"<",label:{input:e.lessThan,output:e.lessThan}},{comparator:"LESS_THAN_OR_EQUALS",forType:["NUMBER"],requiresInput:!0,symbol:"<=",label:{input:e.lessThanOrEquals,output:e.lessThanOrEquals}}])(e).find(e=>e.comparator===o),r=null==n?void 0:n.reduce((t,o,l,n)=>{const i=a?`<strong class="font-semibold">${o}</strong>`:o;return l===n.length-1?`${t} ${(null==e?void 0:e.or)??"or"} ${i}`:0===l?i:[t,i].join(", ")},"");return i?["IN","NOT_IN"].includes(i.comparator)&&n?a?`<strong>${t}</strong> ${i.label.output} <strong>${r}</strong>`:`${t} ${i.label.output} ${r}`:a?`<strong class="font-semibold">${t}</strong> ${i.label.output} <strong class="font-semibold">${l}</strong>`:`${t} ${i.label.output} ${l}`:(null==e?void 0:e.unsupported)??"Unsupported comparator"},ai=(e,t)=>{var o;const l=null==(o=e.details)?void 0:o.pricing_type;return!!l&&t.includes(l)},ii=e=>ai(e,["FLAT_TOP_UP","TIERED_TOP_UP","STAIR_STEP_TOP_UP"]),ri=e=>ai(e,["TIERED","TIERED_TOP_UP"]),ci=e=>ai(e,["STAIR_STEP","STAIR_STEP_TOP_UP"]),si=e=>{var t,o;return[e,...(null==(o=null==(t=e.conditions)?void 0:t.configs)?void 0:o.flatMap(e=>si(e)))??[]]},di=e=>({pricing:t,item:o,config:l})=>{var n,a,i,r;return[(null==t?void 0:t.name)??(null==(a=null==(n=null==t?void 0:t.products)?void 0:n[0])?void 0:a.name),null==(r=null==(i=null==o?void 0:o.product_items)?void 0:i[0])?void 0:r.name,l&&(c=l,(null==(s=c.conditions)?void 0:s.name)?null==(d=c.conditions)?void 0:d.name:(null==(u=c.conditions)?void 0:u.meter_properties)?((e=li)=>(t,o)=>t.map(t=>ni(e)(t,o)).join(" and "))(e)(null==(p=c.conditions)?void 0:p.meter_properties.map(e=>{var t;return{propertyName:(null==(t=null==e?void 0:e.meter_property)?void 0:t.name)??"Unknown",comparator:e.comparator,value:e.value,values:e.values}}),{hasFormatting:!1}):void 0)].filter(Boolean).join(" - ");var c,s,d,u,p},ui=e=>!!e&&"number"in e,pi=e=>!!e&&"count"in e,mi=e=>!!e&&"amount"in e,fi=e=>"ORGANIZATION"===e.type,hi=e=>"INDIVIDUAL"===e.type,vi=e=>t=>t?t.tier_top_bound&&ui(t.tier_top_bound)?e.formatNumber(+t.tier_top_bound.number):pi(t.tier_top_bound)?e.formatNumber(+t.tier_top_bound.count):mi(t.tier_top_bound)?La(t.tier_top_bound.amount):void 0:0,gi=e=>(t,o,l)=>l===o.length-1?e.infinite:t.tier_top_bound&&"number"in t.tier_top_bound&&ui(t.tier_top_bound)?e.formatNumber(+t.tier_top_bound.number):t.tier_top_bound&&"count"in t.tier_top_bound&&pi(t.tier_top_bound)?e.formatNumber(+t.tier_top_bound.count):t.tier_top_bound&&"amount"in t.tier_top_bound&&mi(t.tier_top_bound)?La(t.tier_top_bound.amount):void 0,yi=(e,t)=>{var o,l;return null==(l=null==(o=e.markup)?void 0:o.pricing_item_configs)?void 0:l.find(({ids:e})=>null==e?void 0:e.includes(t.id))},bi=t=>t.every(t=>t.type===e.Comment||(t.type===e.Text&&"string"==typeof t.children&&!t.children.trim()||!(t.type!==e.Fragment||!bi(t.children)))),xi=e=>c(e)&&"boolean"!=typeof e?null:e,ki=e=>"object"==typeof e&&null!==e;function _i(e){var t;return(null==(t=Ga.find(t=>t.key===e))?void 0:t.value)??e}const wi=["US","CA"];function Bi(e){if(wi.includes(e.country)){const t=Ci([e.line1,e.line2],", "),o=Ci([e.state,e.postal_code]," "),l=_i(e.country);return Ci([t,e.city,o,l],", ")}const t=Ci([e.line1,e.line2]," "),o=Ci([e.postal_code,e.city]," "),l=_i(e.country);return Ci([t,o,e.state,l],", ")}function Ci(e,t){return e.filter(Boolean).join(t)}const Ei=(e,t)=>{const o=new Date(e),l=new Date(t),n=l.getFullYear()-o.getFullYear(),a=new Date(o);if(a.setFullYear(a.getFullYear()+n),n>0&&a.getTime()===l.getTime())return{type:"YEAR",value:n};const i=12*(l.getFullYear()-o.getFullYear())+(l.getMonth()-o.getMonth()),r=new Date(o);if(r.setMonth(r.getMonth()+i),i>0&&r.getTime()===l.getTime())return{type:"MONTH",value:i};const c=Math.round((l.getTime()-o.getTime())/864e5);return c>0&&c%7==0?{type:"WEEK",value:c/7}:{type:"DAY",value:c}},Ni=e=>hi(e)?Ti(e.individual.name):fi(e)?e.organization.legal_name:void 0,Ti=e=>{if(e)return[e.first_name,e.infix,e.last_name].filter(e=>e).join(" ")},Mi=(e,t)=>(null==e?void 0:e.length)?t?e.filter(({billing_period:e})=>{return l=t,(o=e).type===l.type&&o.value===l.value;var o,l}):e:[],Vi=(e,t)=>{var o;if(!(null==(o=e.pricing_currency_configs)?void 0:o.length)||!t)return;const l=e.pricing_currency_configs.find(e=>e.currency===t)??e.pricing_currency_configs[0];if(l){if(l.fallback_currency){return{config:e.pricing_currency_configs.find(e=>e.currency===l.fallback_currency),additionalFields:{use_fallback_currency:!0,fallback_currency:l.fallback_currency}}}return{config:l,additionalFields:void 0}}},Si=(e,t)=>{var o,l,n,a;if(!(null==(o=e.pricing_currency_configs)?void 0:o.length))return((null==(l=e.billing_period_configs)?void 0:l.length)??0)>0;const i=Vi(e,t);return((null==(a=null==(n=null==i?void 0:i.config)?void 0:n.billing_period_configs)?void 0:a.length)??0)>0},zi=(e,t,o)=>{var l;return(null==(l=e.items)?void 0:l.length)?e.items.map(e=>((e,t,o)=>{var l,n,a,i;const{configs:r,billing_period_configs:c,...s}=e;if(!(null==(l=e.pricing_currency_configs)?void 0:l.length)&&(null==(n=e.billing_period_configs)?void 0:n.length)){const t=Mi(e.billing_period_configs,o).flatMap(e=>(e.configs??[]).map(t=>({...t,details:{...t.details,pricing_period:e.billing_period}})));return{...s,configs:t}}if(!(null==(a=e.pricing_currency_configs)?void 0:a.length)||!t)return e;const d=Vi(e,t);if(!(null==d?void 0:d.config))return e;if(null==(i=d.config.billing_period_configs)?void 0:i.length){const e=Mi(d.config.billing_period_configs,o).flatMap(e=>(e.configs??[]).map(t=>({...t,...d.additionalFields,details:{...t.details,pricing_period:e.billing_period}})));return{...s,configs:e}}return{...s,configs:(d.config.configs??[]).map(e=>({...e,...d.additionalFields}))}})(e,t,o)):e.items},Pi=e.defineComponent({__name:"Amount",props:{value:{},highlighted:{type:Boolean,default:!1}},setup:t=>(o,l)=>(e.openBlock(),e.createElementBlock("span",e.mergeProps(o.$attrs,{class:[{"text-primary-600 font-semibold":t.highlighted},"inline-block"]}),e.toDisplayString(e.unref(La)(t.value)),17))});function qi(e){var t,o,l="";if("string"==typeof e||"number"==typeof e)l+=e;else if("object"==typeof e)if(Array.isArray(e)){var n=e.length;for(t=0;t<n;t++)e[t]&&(o=qi(e[t]))&&(l&&(l+=" "),l+=o)}else for(o in e)e[o]&&(l&&(l+=" "),l+=o);return l}const Di=(e=new Map,t=null,o)=>({nextPart:e,validators:t,classGroupId:o}),Ii="-",$i=[],Oi=e=>{const t=Li(e),{conflictingClassGroups:o,conflictingClassGroupModifiers:l}=e;return{getClassGroupId:e=>{if(e.startsWith("[")&&e.endsWith("]"))return Ai(e);const o=e.split(Ii),l=""===o[0]&&o.length>1?1:0;return Hi(o,l,t)},getConflictingClassGroupIds:(e,t)=>{if(t){const t=l[e],n=o[e];return t?n?((e,t)=>{const o=new Array(e.length+t.length);for(let l=0;l<e.length;l++)o[l]=e[l];for(let l=0;l<t.length;l++)o[e.length+l]=t[l];return o})(n,t):t:n||$i}return o[e]||$i}}},Hi=(e,t,o)=>{if(0===e.length-t)return o.classGroupId;const l=e[t],n=o.nextPart.get(l);if(n){const o=Hi(e,t+1,n);if(o)return o}const a=o.validators;if(null===a)return;const i=0===t?e.join(Ii):e.slice(t).join(Ii),r=a.length;for(let c=0;c<r;c++){const e=a[c];if(e.validator(i))return e.classGroupId}},Ai=e=>-1===e.slice(1,-1).indexOf(":")?void 0:(()=>{const t=e.slice(1,-1),o=t.indexOf(":"),l=t.slice(0,o);return l?"arbitrary.."+l:void 0})(),Li=e=>{const{theme:t,classGroups:o}=e;return Zi(o,t)},Zi=(e,t)=>{const o=Di();for(const l in e){const n=e[l];Ri(n,o,l,t)}return o},Ri=(e,t,o,l)=>{const n=e.length;for(let a=0;a<n;a++){const n=e[a];Fi(n,t,o,l)}},Fi=(e,t,o,l)=>{"string"!=typeof e?"function"!=typeof e?ji(e,t,o,l):Gi(e,t,o,l):Ui(e,t,o)},Ui=(e,t,o)=>{(""===e?t:Qi(t,e)).classGroupId=o},Gi=(e,t,o,l)=>{Ki(e)?Ri(e(l),t,o,l):(null===t.validators&&(t.validators=[]),t.validators.push(((e,t)=>({classGroupId:e,validator:t}))(o,e)))},ji=(e,t,o,l)=>{const n=Object.entries(e),a=n.length;for(let i=0;i<a;i++){const[e,a]=n[i];Ri(a,Qi(t,e),o,l)}},Qi=(e,t)=>{let o=e;const l=t.split(Ii),n=l.length;for(let a=0;a<n;a++){const e=l[a];let t=o.nextPart.get(e);t||(t=Di(),o.nextPart.set(e,t)),o=t}return o},Ki=e=>"isThemeGetter"in e&&!0===e.isThemeGetter,Wi=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,o=Object.create(null),l=Object.create(null);const n=(n,a)=>{o[n]=a,t++,t>e&&(t=0,l=o,o=Object.create(null))};return{get(e){let t=o[e];return void 0!==t?t:void 0!==(t=l[e])?(n(e,t),t):void 0},set(e,t){e in o?o[e]=t:n(e,t)}}},Yi=[],Xi=(e,t,o,l,n)=>({modifiers:e,hasImportantModifier:t,baseClassName:o,maybePostfixModifierPosition:l,isExternal:n}),Ji=e=>{const{prefix:t,experimentalParseClassName:o}=e;let l=e=>{const t=[];let o,l=0,n=0,a=0;const i=e.length;for(let d=0;d<i;d++){const i=e[d];if(0===l&&0===n){if(":"===i){t.push(e.slice(a,d)),a=d+1;continue}if("/"===i){o=d;continue}}"["===i?l++:"]"===i?l--:"("===i?n++:")"===i&&n--}const r=0===t.length?e:e.slice(a);let c=r,s=!1;r.endsWith("!")?(c=r.slice(0,-1),s=!0):r.startsWith("!")&&(c=r.slice(1),s=!0);return Xi(t,s,c,o&&o>a?o-a:void 0)};if(t){const e=t+":",o=l;l=t=>t.startsWith(e)?o(t.slice(e.length)):Xi(Yi,!1,t,void 0,!0)}if(o){const e=l;l=t=>o({className:t,parseClassName:e})}return l},er=e=>{const t=new Map;return e.orderSensitiveModifiers.forEach((e,o)=>{t.set(e,1e6+o)}),e=>{const o=[];let l=[];for(let n=0;n<e.length;n++){const a=e[n],i="["===a[0],r=t.has(a);i||r?(l.length>0&&(l.sort(),o.push(...l),l=[]),o.push(a)):l.push(a)}return l.length>0&&(l.sort(),o.push(...l)),o}},tr=/\s+/,or=e=>{if("string"==typeof e)return e;let t,o="";for(let l=0;l<e.length;l++)e[l]&&(t=or(e[l]))&&(o&&(o+=" "),o+=t);return o},lr=[],nr=e=>{const t=t=>t[e]||lr;return t.isThemeGetter=!0,t},ar=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,ir=/^\((?:(\w[\w-]*):)?(.+)\)$/i,rr=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,cr=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,sr=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,dr=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,ur=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,pr=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,mr=e=>rr.test(e),fr=e=>!!e&&!Number.isNaN(Number(e)),hr=e=>!!e&&Number.isInteger(Number(e)),vr=e=>e.endsWith("%")&&fr(e.slice(0,-1)),gr=e=>cr.test(e),yr=()=>!0,br=e=>sr.test(e)&&!dr.test(e),xr=()=>!1,kr=e=>ur.test(e),_r=e=>pr.test(e),wr=e=>!Cr(e)&&!Pr(e),Br=e=>Lr(e,Ur,xr),Cr=e=>ar.test(e),Er=e=>Lr(e,Gr,br),Nr=e=>Lr(e,jr,fr),Tr=e=>Lr(e,Kr,yr),Mr=e=>Lr(e,Qr,xr),Vr=e=>Lr(e,Rr,xr),Sr=e=>Lr(e,Fr,_r),zr=e=>Lr(e,Wr,kr),Pr=e=>ir.test(e),qr=e=>Zr(e,Gr),Dr=e=>Zr(e,Qr),Ir=e=>Zr(e,Rr),$r=e=>Zr(e,Ur),Or=e=>Zr(e,Fr),Hr=e=>Zr(e,Wr,!0),Ar=e=>Zr(e,Kr,!0),Lr=(e,t,o)=>{const l=ar.exec(e);return!!l&&(l[1]?t(l[1]):o(l[2]))},Zr=(e,t,o=!1)=>{const l=ir.exec(e);return!!l&&(l[1]?t(l[1]):o)},Rr=e=>"position"===e||"percentage"===e,Fr=e=>"image"===e||"url"===e,Ur=e=>"length"===e||"size"===e||"bg-size"===e,Gr=e=>"length"===e,jr=e=>"number"===e,Qr=e=>"family-name"===e,Kr=e=>"number"===e||"weight"===e,Wr=e=>"shadow"===e,Yr=((e,...t)=>{let o,l,n,a;const i=e=>{const t=l(e);if(t)return t;const a=((e,t)=>{const{parseClassName:o,getClassGroupId:l,getConflictingClassGroupIds:n,sortModifiers:a}=t,i=[],r=e.trim().split(tr);let c="";for(let s=r.length-1;s>=0;s-=1){const e=r[s],{isExternal:t,modifiers:d,hasImportantModifier:u,baseClassName:p,maybePostfixModifierPosition:m}=o(e);if(t){c=e+(c.length>0?" "+c:c);continue}let f=!!m,h=l(f?p.substring(0,m):p);if(!h){if(!f){c=e+(c.length>0?" "+c:c);continue}if(h=l(p),!h){c=e+(c.length>0?" "+c:c);continue}f=!1}const v=0===d.length?"":1===d.length?d[0]:a(d).join(":"),g=u?v+"!":v,y=g+h;if(i.indexOf(y)>-1)continue;i.push(y);const b=n(h,f);for(let o=0;o<b.length;++o){const e=b[o];i.push(g+e)}c=e+(c.length>0?" "+c:c)}return c})(e,o);return n(e,a),a};return a=r=>{const c=t.reduce((e,t)=>t(e),e());return o=(e=>({cache:Wi(e.cacheSize),parseClassName:Ji(e),sortModifiers:er(e),...Oi(e)}))(c),l=o.cache.get,n=o.cache.set,a=i,i(r)},(...e)=>a(((...e)=>{let t,o,l=0,n="";for(;l<e.length;)(t=e[l++])&&(o=or(t))&&(n&&(n+=" "),n+=o);return n})(...e))})(()=>{const e=nr("color"),t=nr("font"),o=nr("text"),l=nr("font-weight"),n=nr("tracking"),a=nr("leading"),i=nr("breakpoint"),r=nr("container"),c=nr("spacing"),s=nr("radius"),d=nr("shadow"),u=nr("inset-shadow"),p=nr("text-shadow"),m=nr("drop-shadow"),f=nr("blur"),h=nr("perspective"),v=nr("aspect"),g=nr("ease"),y=nr("animate"),b=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom",Pr,Cr],x=()=>[Pr,Cr,c],k=()=>[mr,"full","auto",...x()],_=()=>[hr,"none","subgrid",Pr,Cr],w=()=>["auto",{span:["full",hr,Pr,Cr]},hr,Pr,Cr],B=()=>[hr,"auto",Pr,Cr],C=()=>["auto","min","max","fr",Pr,Cr],E=()=>["auto",...x()],N=()=>[mr,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...x()],T=()=>[mr,"screen","full","dvw","lvw","svw","min","max","fit",...x()],M=()=>[mr,"screen","full","lh","dvh","lvh","svh","min","max","fit",...x()],V=()=>[e,Pr,Cr],S=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom",Ir,Vr,{position:[Pr,Cr]}],z=()=>["auto","cover","contain",$r,Br,{size:[Pr,Cr]}],P=()=>[vr,qr,Er],q=()=>["","none","full",s,Pr,Cr],D=()=>["",fr,qr,Er],I=()=>[fr,vr,Ir,Vr],$=()=>["","none",f,Pr,Cr],O=()=>["none",fr,Pr,Cr],H=()=>["none",fr,Pr,Cr],A=()=>[fr,Pr,Cr],L=()=>[mr,"full",...x()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[gr],breakpoint:[gr],color:[yr],container:[gr],"drop-shadow":[gr],ease:["in","out","in-out"],font:[wr],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[gr],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[gr],shadow:[gr],spacing:["px",fr],text:[gr],"text-shadow":[gr],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",mr,Cr,Pr,v]}],container:["container"],columns:[{columns:[fr,Cr,Pr,r]}],"break-after":[{"break-after":["auto","avoid","all","avoid-page","page","left","right","column"]}],"break-before":[{"break-before":["auto","avoid","all","avoid-page","page","left","right","column"]}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:b()}],overflow:[{overflow:["auto","hidden","clip","visible","scroll"]}],"overflow-x":[{"overflow-x":["auto","hidden","clip","visible","scroll"]}],"overflow-y":[{"overflow-y":["auto","hidden","clip","visible","scroll"]}],overscroll:[{overscroll:["auto","contain","none"]}],"overscroll-x":[{"overscroll-x":["auto","contain","none"]}],"overscroll-y":[{"overscroll-y":["auto","contain","none"]}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:k()}],"inset-x":[{"inset-x":k()}],"inset-y":[{"inset-y":k()}],start:[{"inset-s":k(),start:k()}],end:[{"inset-e":k(),end:k()}],"inset-bs":[{"inset-bs":k()}],"inset-be":[{"inset-be":k()}],top:[{top:k()}],right:[{right:k()}],bottom:[{bottom:k()}],left:[{left:k()}],visibility:["visible","invisible","collapse"],z:[{z:[hr,"auto",Pr,Cr]}],basis:[{basis:[mr,"full","auto",r,...x()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[fr,mr,"auto","initial","none",Cr]}],grow:[{grow:["",fr,Pr,Cr]}],shrink:[{shrink:["",fr,Pr,Cr]}],order:[{order:[hr,"first","last","none",Pr,Cr]}],"grid-cols":[{"grid-cols":_()}],"col-start-end":[{col:w()}],"col-start":[{"col-start":B()}],"col-end":[{"col-end":B()}],"grid-rows":[{"grid-rows":_()}],"row-start-end":[{row:w()}],"row-start":[{"row-start":B()}],"row-end":[{"row-end":B()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":C()}],"auto-rows":[{"auto-rows":C()}],gap:[{gap:x()}],"gap-x":[{"gap-x":x()}],"gap-y":[{"gap-y":x()}],"justify-content":[{justify:["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe","normal"]}],"justify-items":[{"justify-items":["start","end","center","stretch","center-safe","end-safe","normal"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch","center-safe","end-safe"]}],"align-content":[{content:["normal","start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"]}],"align-items":[{items:["start","end","center","stretch","center-safe","end-safe",{baseline:["","last"]}]}],"align-self":[{self:["auto","start","end","center","stretch","center-safe","end-safe",{baseline:["","last"]}]}],"place-content":[{"place-content":["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"]}],"place-items":[{"place-items":["start","end","center","stretch","center-safe","end-safe","baseline"]}],"place-self":[{"place-self":["auto","start","end","center","stretch","center-safe","end-safe"]}],p:[{p:x()}],px:[{px:x()}],py:[{py:x()}],ps:[{ps:x()}],pe:[{pe:x()}],pbs:[{pbs:x()}],pbe:[{pbe:x()}],pt:[{pt:x()}],pr:[{pr:x()}],pb:[{pb:x()}],pl:[{pl:x()}],m:[{m:E()}],mx:[{mx:E()}],my:[{my:E()}],ms:[{ms:E()}],me:[{me:E()}],mbs:[{mbs:E()}],mbe:[{mbe:E()}],mt:[{mt:E()}],mr:[{mr:E()}],mb:[{mb:E()}],ml:[{ml:E()}],"space-x":[{"space-x":x()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":x()}],"space-y-reverse":["space-y-reverse"],size:[{size:N()}],"inline-size":[{inline:["auto",...T()]}],"min-inline-size":[{"min-inline":["auto",...T()]}],"max-inline-size":[{"max-inline":["none",...T()]}],"block-size":[{block:["auto",...M()]}],"min-block-size":[{"min-block":["auto",...M()]}],"max-block-size":[{"max-block":["none",...M()]}],w:[{w:[r,"screen",...N()]}],"min-w":[{"min-w":[r,"screen","none",...N()]}],"max-w":[{"max-w":[r,"screen","none","prose",{screen:[i]},...N()]}],h:[{h:["screen","lh",...N()]}],"min-h":[{"min-h":["screen","lh","none",...N()]}],"max-h":[{"max-h":["screen","lh",...N()]}],"font-size":[{text:["base",o,qr,Er]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[l,Ar,Tr]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",vr,Cr]}],"font-family":[{font:[Dr,Mr,t]}],"font-features":[{"font-features":[Cr]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[n,Pr,Cr]}],"line-clamp":[{"line-clamp":[fr,"none",Pr,Nr]}],leading:[{leading:[a,...x()]}],"list-image":[{"list-image":["none",Pr,Cr]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",Pr,Cr]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:V()}],"text-color":[{text:V()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:["solid","dashed","dotted","double","wavy"]}],"text-decoration-thickness":[{decoration:[fr,"from-font","auto",Pr,Er]}],"text-decoration-color":[{decoration:V()}],"underline-offset":[{"underline-offset":[fr,"auto",Pr,Cr]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:x()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",Pr,Cr]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",Pr,Cr]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:S()}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","space","round"]}]}],"bg-size":[{bg:z()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},hr,Pr,Cr],radial:["",Pr,Cr],conic:[hr,Pr,Cr]},Or,Sr]}],"bg-color":[{bg:V()}],"gradient-from-pos":[{from:P()}],"gradient-via-pos":[{via:P()}],"gradient-to-pos":[{to:P()}],"gradient-from":[{from:V()}],"gradient-via":[{via:V()}],"gradient-to":[{to:V()}],rounded:[{rounded:q()}],"rounded-s":[{"rounded-s":q()}],"rounded-e":[{"rounded-e":q()}],"rounded-t":[{"rounded-t":q()}],"rounded-r":[{"rounded-r":q()}],"rounded-b":[{"rounded-b":q()}],"rounded-l":[{"rounded-l":q()}],"rounded-ss":[{"rounded-ss":q()}],"rounded-se":[{"rounded-se":q()}],"rounded-ee":[{"rounded-ee":q()}],"rounded-es":[{"rounded-es":q()}],"rounded-tl":[{"rounded-tl":q()}],"rounded-tr":[{"rounded-tr":q()}],"rounded-br":[{"rounded-br":q()}],"rounded-bl":[{"rounded-bl":q()}],"border-w":[{border:D()}],"border-w-x":[{"border-x":D()}],"border-w-y":[{"border-y":D()}],"border-w-s":[{"border-s":D()}],"border-w-e":[{"border-e":D()}],"border-w-bs":[{"border-bs":D()}],"border-w-be":[{"border-be":D()}],"border-w-t":[{"border-t":D()}],"border-w-r":[{"border-r":D()}],"border-w-b":[{"border-b":D()}],"border-w-l":[{"border-l":D()}],"divide-x":[{"divide-x":D()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":D()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:["solid","dashed","dotted","double","hidden","none"]}],"divide-style":[{divide:["solid","dashed","dotted","double","hidden","none"]}],"border-color":[{border:V()}],"border-color-x":[{"border-x":V()}],"border-color-y":[{"border-y":V()}],"border-color-s":[{"border-s":V()}],"border-color-e":[{"border-e":V()}],"border-color-bs":[{"border-bs":V()}],"border-color-be":[{"border-be":V()}],"border-color-t":[{"border-t":V()}],"border-color-r":[{"border-r":V()}],"border-color-b":[{"border-b":V()}],"border-color-l":[{"border-l":V()}],"divide-color":[{divide:V()}],"outline-style":[{outline:["solid","dashed","dotted","double","none","hidden"]}],"outline-offset":[{"outline-offset":[fr,Pr,Cr]}],"outline-w":[{outline:["",fr,qr,Er]}],"outline-color":[{outline:V()}],shadow:[{shadow:["","none",d,Hr,zr]}],"shadow-color":[{shadow:V()}],"inset-shadow":[{"inset-shadow":["none",u,Hr,zr]}],"inset-shadow-color":[{"inset-shadow":V()}],"ring-w":[{ring:D()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:V()}],"ring-offset-w":[{"ring-offset":[fr,Er]}],"ring-offset-color":[{"ring-offset":V()}],"inset-ring-w":[{"inset-ring":D()}],"inset-ring-color":[{"inset-ring":V()}],"text-shadow":[{"text-shadow":["none",p,Hr,zr]}],"text-shadow-color":[{"text-shadow":V()}],opacity:[{opacity:[fr,Pr,Cr]}],"mix-blend":[{"mix-blend":["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"]}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[fr]}],"mask-image-linear-from-pos":[{"mask-linear-from":I()}],"mask-image-linear-to-pos":[{"mask-linear-to":I()}],"mask-image-linear-from-color":[{"mask-linear-from":V()}],"mask-image-linear-to-color":[{"mask-linear-to":V()}],"mask-image-t-from-pos":[{"mask-t-from":I()}],"mask-image-t-to-pos":[{"mask-t-to":I()}],"mask-image-t-from-color":[{"mask-t-from":V()}],"mask-image-t-to-color":[{"mask-t-to":V()}],"mask-image-r-from-pos":[{"mask-r-from":I()}],"mask-image-r-to-pos":[{"mask-r-to":I()}],"mask-image-r-from-color":[{"mask-r-from":V()}],"mask-image-r-to-color":[{"mask-r-to":V()}],"mask-image-b-from-pos":[{"mask-b-from":I()}],"mask-image-b-to-pos":[{"mask-b-to":I()}],"mask-image-b-from-color":[{"mask-b-from":V()}],"mask-image-b-to-color":[{"mask-b-to":V()}],"mask-image-l-from-pos":[{"mask-l-from":I()}],"mask-image-l-to-pos":[{"mask-l-to":I()}],"mask-image-l-from-color":[{"mask-l-from":V()}],"mask-image-l-to-color":[{"mask-l-to":V()}],"mask-image-x-from-pos":[{"mask-x-from":I()}],"mask-image-x-to-pos":[{"mask-x-to":I()}],"mask-image-x-from-color":[{"mask-x-from":V()}],"mask-image-x-to-color":[{"mask-x-to":V()}],"mask-image-y-from-pos":[{"mask-y-from":I()}],"mask-image-y-to-pos":[{"mask-y-to":I()}],"mask-image-y-from-color":[{"mask-y-from":V()}],"mask-image-y-to-color":[{"mask-y-to":V()}],"mask-image-radial":[{"mask-radial":[Pr,Cr]}],"mask-image-radial-from-pos":[{"mask-radial-from":I()}],"mask-image-radial-to-pos":[{"mask-radial-to":I()}],"mask-image-radial-from-color":[{"mask-radial-from":V()}],"mask-image-radial-to-color":[{"mask-radial-to":V()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"]}],"mask-image-conic-pos":[{"mask-conic":[fr]}],"mask-image-conic-from-pos":[{"mask-conic-from":I()}],"mask-image-conic-to-pos":[{"mask-conic-to":I()}],"mask-image-conic-from-color":[{"mask-conic-from":V()}],"mask-image-conic-to-color":[{"mask-conic-to":V()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:S()}],"mask-repeat":[{mask:["no-repeat",{repeat:["","x","y","space","round"]}]}],"mask-size":[{mask:z()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",Pr,Cr]}],filter:[{filter:["","none",Pr,Cr]}],blur:[{blur:$()}],brightness:[{brightness:[fr,Pr,Cr]}],contrast:[{contrast:[fr,Pr,Cr]}],"drop-shadow":[{"drop-shadow":["","none",m,Hr,zr]}],"drop-shadow-color":[{"drop-shadow":V()}],grayscale:[{grayscale:["",fr,Pr,Cr]}],"hue-rotate":[{"hue-rotate":[fr,Pr,Cr]}],invert:[{invert:["",fr,Pr,Cr]}],saturate:[{saturate:[fr,Pr,Cr]}],sepia:[{sepia:["",fr,Pr,Cr]}],"backdrop-filter":[{"backdrop-filter":["","none",Pr,Cr]}],"backdrop-blur":[{"backdrop-blur":$()}],"backdrop-brightness":[{"backdrop-brightness":[fr,Pr,Cr]}],"backdrop-contrast":[{"backdrop-contrast":[fr,Pr,Cr]}],"backdrop-grayscale":[{"backdrop-grayscale":["",fr,Pr,Cr]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[fr,Pr,Cr]}],"backdrop-invert":[{"backdrop-invert":["",fr,Pr,Cr]}],"backdrop-opacity":[{"backdrop-opacity":[fr,Pr,Cr]}],"backdrop-saturate":[{"backdrop-saturate":[fr,Pr,Cr]}],"backdrop-sepia":[{"backdrop-sepia":["",fr,Pr,Cr]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":x()}],"border-spacing-x":[{"border-spacing-x":x()}],"border-spacing-y":[{"border-spacing-y":x()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",Pr,Cr]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[fr,"initial",Pr,Cr]}],ease:[{ease:["linear","initial",g,Pr,Cr]}],delay:[{delay:[fr,Pr,Cr]}],animate:[{animate:["none",y,Pr,Cr]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[h,Pr,Cr]}],"perspective-origin":[{"perspective-origin":b()}],rotate:[{rotate:O()}],"rotate-x":[{"rotate-x":O()}],"rotate-y":[{"rotate-y":O()}],"rotate-z":[{"rotate-z":O()}],scale:[{scale:H()}],"scale-x":[{"scale-x":H()}],"scale-y":[{"scale-y":H()}],"scale-z":[{"scale-z":H()}],"scale-3d":["scale-3d"],skew:[{skew:A()}],"skew-x":[{"skew-x":A()}],"skew-y":[{"skew-y":A()}],transform:[{transform:[Pr,Cr,"","none","gpu","cpu"]}],"transform-origin":[{origin:b()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:L()}],"translate-x":[{"translate-x":L()}],"translate-y":[{"translate-y":L()}],"translate-z":[{"translate-z":L()}],"translate-none":["translate-none"],accent:[{accent:V()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:V()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",Pr,Cr]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":x()}],"scroll-mx":[{"scroll-mx":x()}],"scroll-my":[{"scroll-my":x()}],"scroll-ms":[{"scroll-ms":x()}],"scroll-me":[{"scroll-me":x()}],"scroll-mbs":[{"scroll-mbs":x()}],"scroll-mbe":[{"scroll-mbe":x()}],"scroll-mt":[{"scroll-mt":x()}],"scroll-mr":[{"scroll-mr":x()}],"scroll-mb":[{"scroll-mb":x()}],"scroll-ml":[{"scroll-ml":x()}],"scroll-p":[{"scroll-p":x()}],"scroll-px":[{"scroll-px":x()}],"scroll-py":[{"scroll-py":x()}],"scroll-ps":[{"scroll-ps":x()}],"scroll-pe":[{"scroll-pe":x()}],"scroll-pbs":[{"scroll-pbs":x()}],"scroll-pbe":[{"scroll-pbe":x()}],"scroll-pt":[{"scroll-pt":x()}],"scroll-pr":[{"scroll-pr":x()}],"scroll-pb":[{"scroll-pb":x()}],"scroll-pl":[{"scroll-pl":x()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",Pr,Cr]}],fill:[{fill:["none",...V()]}],"stroke-w":[{stroke:[fr,qr,Er,Nr]}],stroke:[{stroke:["none",...V()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","inset-bs","inset-be","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pbs","pbe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mbs","mbe","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-bs","border-w-be","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-bs","border-color-be","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mbs","scroll-mbe","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pbs","scroll-pbe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}});function Xr(...e){return Yr(function(){for(var e,t,o=0,l="",n=arguments.length;o<n;o++)(e=arguments[o])&&(t=qi(e))&&(l&&(l+=" "),l+=t);return l}(e))}const Jr=h(e.defineComponent({__name:"Card",props:{borderStyle:{default:"solid"},spacing:{default:"md"},cappedWidth:{type:Boolean,default:!1},variant:{default:"default"},shadowSize:{default:"sm"},borderRadius:{default:"base"},title:{},rootClass:{},wrapperClass:{},printBehavior:{}},setup:t=>(l,n)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["flex flex-col",e.unref(Xr)("grouped"===t.variant?"border border-dashed border-opacity-50":"gap-1","md"===t.borderRadius?"rounded-md":"","lg"===t.borderRadius?"rounded-lg":"","base"===t.borderRadius?"rounded":"","grouped"===t.variant?t.rootClass:"",t.wrapperClass,"avoid"===t.printBehavior?"card-print-avoid":"")])},[t.title||l.$slots.title?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(e.unref(Xr)("flex items-center justify-between","sm"===t.spacing?"p-1.5":"","md"===t.spacing?"p-3":"","lg"===t.spacing?"p-6":""))},[e.renderSlot(l.$slots,"title",{},()=>[e.createVNode(e.unref(o),{tag:"span",variant:"grouped"===t.variant?"caps-heading":"body-sm",weight:"semibold","no-spacing":""},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.title),1)]),_:1},8,["variant"])],!0),e.renderSlot(l.$slots,"right",{},void 0,!0)],2)):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass([e.unref(Xr)("sm"===t.spacing?"p-1.5":"","md"===t.spacing?"p-3":"","lg"===t.spacing?"p-6":"","solid"===t.borderStyle&&"sm"===t.shadowSize?"shadow-sm":"","solid"===t.borderStyle&&"md"===t.shadowSize?"shadow-md":"","solid"===t.borderStyle&&"lg"===t.shadowSize?"shadow-lg":"","dashed"===t.borderStyle?"border-dashed border-opacity-50":"","none"===t.shadowSize&&"default"===t.variant?"border-gray-100":"","error"===t.variant?"border-red-600":"","warning"===t.variant?"border-yellow-400":"","primary"===t.variant?"border-primary-400":"",t.cappedWidth?"max-w-220":"","base"===t.borderRadius?"rounded":"","md"===t.borderRadius?"rounded-md":"","lg"===t.borderRadius?"rounded-lg":"","grouped"===t.variant?"border-b-0 border-l-0 border-r-0":"","grouped"===t.variant?"rounded-t-none":"","primary"===t.variant?"bg-blue-50/50":"","default"===t.variant?"bg-white":"",t.rootClass?`${t.rootClass}`:""),"card-surface border"]),"data-testid":"card"},[e.renderSlot(l.$slots,"default",{},void 0,!0)],2)],2))}),[["__scopeId","data-v-9ba3ddf0"]]),ec={AT:"Austria",BE:"Belgium",BG:"Bulgaria",CY:"Cyprus",CZ:"Czech Republic",DE:"Germany",DK:"Denmark",EE:"Estonia",ES:"Spain",FI:"Finland",FR:"France",GR:"Greece",HR:"Croatia",HU:"Hungary",IE:"Ireland",IT:"Italy",LT:"Lithuania",LU:"Luxembourg",LV:"Latvia",MT:"Malta",NL:"Netherlands",PL:"Poland",PT:"Portugal",RO:"Romania",SE:"Sweden",SI:"Slovenia",SK:"Slovakia"};function tc(e,t){const o=new Set;return e.filter(e=>{const l=e[t];return!o.has(l)&&(o.add(l),!0)})}function oc(e=""){return`${e}${crypto.randomUUID()}`}const lc="py-2 px-4 text-sm",nc={danger:"text-red-700",dark:"text-gray-700",info:"text-blue-700",success:"text-green-700",warning:"text-yellow-700"},ac={danger:"bg-red-100",dark:"bg-gray-100",info:"bg-blue-100",success:"bg-green-100",warning:"bg-yellow-100"},ic={danger:"border-t-4 border-red-500",dark:"border-t-4 border-gray-500",info:"border-t-4 border-blue-500",success:"border-t-4 border-green-500",warning:"border-t-4 border-yellow-500"},rc="ml-auto -mx-1.5 -my-1.5 rounded focus:ring-2 p-1.5 inline-flex h-8 w-8",cc={danger:"hover:bg-red-200 focus:ring-red-400 bg-red-100 text-red-500",dark:"hover:bg-gray-200 focus:ring-gray-400 bg-gray-100 text-gray-500",info:"hover:bg-blue-200 focus:ring-blue-400 bg-blue-100 text-blue-500",success:"bg-green-100 text-green-500 focus:ring-green-400 hover:bg-green-200",warning:"focus:ring-yellow-400 hover:bg-yellow-200 bg-yellow-100 text-yellow-500"};const sc={key:0,class:"ml-auto inline-flex items-center"},dc=e.defineComponent({__name:"Alert",props:{type:{default:"info"},title:{default:""},closable:{type:Boolean,default:!1},icon:{type:Boolean,default:!0},border:{type:Boolean,default:!1},inline:{type:Boolean,default:!0}},setup(t){const o=t,{alertClasses:l,textClasses:n,closeClasses:a,contentClasses:i,titleClasses:r}=function(t){const o=e.computed(()=>[lc,ac[t.type.value],l.value,t.border.value?ic[t.type.value]:"rounded",t.inline.value?"flex items-center":""].filter(e=>!!e).join(" ")),l=e.computed(()=>nc[t.type.value]??""),n=e.computed(()=>[rc,cc[t.type.value]??""].filter(e=>!!e).join(" ")),a=e.computed(()=>t.inline.value?t.icon.value||t.title.value?t.title.value?"grow ml-1":"grow ml-2":"":"my-2"),i=e.computed(()=>t.icon.value&&t.inline.value?["font-medium ml-2",t.inline.value?"":"text-lg"].filter(e=>!!e).join(" "):["font-medium",t.inline.value?"":"text-lg ml-2"].filter(e=>!!e).join(" "));return{alertClasses:o,textClasses:l,closeClasses:n,contentClasses:a,titleClasses:i}}(e.toRefs(o)),c=e.ref(!0),s=()=>{c.value=!1};return(o,d)=>c.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(e.unref(l)),role:"alert"},[e.createElementVNode("div",{class:e.normalizeClass(t.inline?"flex":"flex items-center")},[t.icon?(e.openBlock(),e.createElementBlock("svg",{key:0,class:e.normalizeClass(["flex-shrink-0","w-5","h-5",e.unref(n)]),fill:"currentColor",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},[...d[0]||(d[0]=[e.createElementVNode("path",{"fill-rule":"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a1 1 0 000 2v3a1 1 0 001 1h1a1 1 0 100-2v-3a1 1 0 00-1-1H9z","clip-rule":"evenodd"},null,-1)])],2)):e.createCommentVNode("",!0),t.title?(e.openBlock(),e.createElementBlock("span",{key:1,class:e.normalizeClass(e.unref(r))},e.toDisplayString(t.title),3)):e.createCommentVNode("",!0),!t.inline&&t.closable?(e.openBlock(),e.createElementBlock("button",{key:2,type:"button",class:e.normalizeClass(e.unref(a)),"aria-label":"Close",onClick:s},[...d[1]||(d[1]=[e.createElementVNode("span",{class:"sr-only"},"Dismiss",-1),e.createElementVNode("svg",{class:"w-5 h-5",fill:"currentColor",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},[e.createElementVNode("path",{"fill-rule":"evenodd",d:"M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z","clip-rule":"evenodd"})],-1)])],2)):e.createCommentVNode("",!0)],2),e.createElementVNode("div",{class:e.normalizeClass(e.unref(i))},[e.renderSlot(o.$slots,"default")],2),o.$slots.actions?(e.openBlock(),e.createElementBlock("div",sc,[e.renderSlot(o.$slots,"actions")])):e.createCommentVNode("",!0),t.inline&&t.closable?(e.openBlock(),e.createElementBlock("button",{key:1,type:"button",class:e.normalizeClass(e.unref(a)),"aria-label":"Close",onClick:s},[...d[2]||(d[2]=[e.createElementVNode("span",{class:"sr-only"},"Dismiss",-1),e.createElementVNode("svg",{class:"w-5 h-5",fill:"currentColor",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},[e.createElementVNode("path",{"fill-rule":"evenodd",d:"M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z","clip-rule":"evenodd"})],-1)])],2)):e.createCommentVNode("",!0)],2)):e.createCommentVNode("",!0)}}),uc=e.defineComponent({__name:"Avatar",props:{initials:{},imageSrc:{},size:{default:"md"},round:{type:Boolean,default:!1},variant:{default:"light"},colorHash:{},font:{default:"icon"}},setup(t){const o=t,l={xs:"w-4 h-4",sm:"w-5 h-5",md:"w-6 h-6",lg:"w-8 h-8",xl:"w-12 h-12"},n={xs:"text-base",sm:"text-lg",md:"text-2xl",lg:"text-4xl",xl:"text-6xl"},a=(t=>{const o=e.ref();return e.watch(()=>t,()=>{o.value=(e=>{let t=0;for(let l=0;l<e.length;l++)t=e.charCodeAt(l)+((t<<5)-t);let o="#";for(let l=0;l<3;l++)o+=("00"+(t>>8*l&255).toString(16)).substr(-2);return o})(t)},{immediate:!0}),o})(o.colorHash??o.initials??"A"),i=e.computed(()=>({backgroundImage:o.imageSrc?`url(${o.imageSrc})`:`linear-gradient(140deg, ${a.value}60 0%, #DCF3FD 75%)`}));return(a,r)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["flex shrink-0 justify-center items-center rounded overflow-hidden bg-cover bg-primary-100",{[l[o.size]]:!0,"rounded-full":t.round,"border border-black border-opacity-5":"dark"===t.variant}]),style:e.normalizeStyle(i.value)},[t.initials&&!t.imageSrc?(e.openBlock(),e.createElementBlock("span",{key:0,class:e.normalizeClass(["font-semibold font-regular text-2xl",{[n[o.size]]:!0,"font-regular":"icon"===t.font,"font-inter drop-shadow-sm":"regular"===t.font,"text-white/70":"light"===t.variant,"text-black/10":"dark"===t.variant}])},e.toDisplayString(t.initials.toUpperCase()),3)):e.createCommentVNode("",!0)],6))}});function pc(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var mc,fc,hc,vc,gc,yc,bc,xc;function kc(){if(vc)return hc;vc=1;const e=fc?mc:(fc=1,mc={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}),t={};for(const n of Object.keys(e))t[e[n]]=n;const o={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};hc=o;for(const n of Object.keys(o)){if(!("channels"in o[n]))throw new Error("missing channels property: "+n);if(!("labels"in o[n]))throw new Error("missing channel labels property: "+n);if(o[n].labels.length!==o[n].channels)throw new Error("channel and label counts mismatch: "+n);const{channels:e,labels:t}=o[n];delete o[n].channels,delete o[n].labels,Object.defineProperty(o[n],"channels",{value:e}),Object.defineProperty(o[n],"labels",{value:t})}function l(e,t){return(e[0]-t[0])**2+(e[1]-t[1])**2+(e[2]-t[2])**2}return o.rgb.hsl=function(e){const t=e[0]/255,o=e[1]/255,l=e[2]/255,n=Math.min(t,o,l),a=Math.max(t,o,l),i=a-n;let r,c;a===n?r=0:t===a?r=(o-l)/i:o===a?r=2+(l-t)/i:l===a&&(r=4+(t-o)/i),r=Math.min(60*r,360),r<0&&(r+=360);const s=(n+a)/2;return c=a===n?0:s<=.5?i/(a+n):i/(2-a-n),[r,100*c,100*s]},o.rgb.hsv=function(e){let t,o,l,n,a;const i=e[0]/255,r=e[1]/255,c=e[2]/255,s=Math.max(i,r,c),d=s-Math.min(i,r,c),u=function(e){return(s-e)/6/d+.5};return 0===d?(n=0,a=0):(a=d/s,t=u(i),o=u(r),l=u(c),i===s?n=l-o:r===s?n=1/3+t-l:c===s&&(n=2/3+o-t),n<0?n+=1:n>1&&(n-=1)),[360*n,100*a,100*s]},o.rgb.hwb=function(e){const t=e[0],l=e[1];let n=e[2];const a=o.rgb.hsl(e)[0],i=1/255*Math.min(t,Math.min(l,n));return n=1-1/255*Math.max(t,Math.max(l,n)),[a,100*i,100*n]},o.rgb.cmyk=function(e){const t=e[0]/255,o=e[1]/255,l=e[2]/255,n=Math.min(1-t,1-o,1-l);return[100*((1-t-n)/(1-n)||0),100*((1-o-n)/(1-n)||0),100*((1-l-n)/(1-n)||0),100*n]},o.rgb.keyword=function(o){const n=t[o];if(n)return n;let a,i=1/0;for(const t of Object.keys(e)){const n=l(o,e[t]);n<i&&(i=n,a=t)}return a},o.keyword.rgb=function(t){return e[t]},o.rgb.xyz=function(e){let t=e[0]/255,o=e[1]/255,l=e[2]/255;t=t>.04045?((t+.055)/1.055)**2.4:t/12.92,o=o>.04045?((o+.055)/1.055)**2.4:o/12.92,l=l>.04045?((l+.055)/1.055)**2.4:l/12.92;return[100*(.4124*t+.3576*o+.1805*l),100*(.2126*t+.7152*o+.0722*l),100*(.0193*t+.1192*o+.9505*l)]},o.rgb.lab=function(e){const t=o.rgb.xyz(e);let l=t[0],n=t[1],a=t[2];l/=95.047,n/=100,a/=108.883,l=l>.008856?l**(1/3):7.787*l+16/116,n=n>.008856?n**(1/3):7.787*n+16/116,a=a>.008856?a**(1/3):7.787*a+16/116;return[116*n-16,500*(l-n),200*(n-a)]},o.hsl.rgb=function(e){const t=e[0]/360,o=e[1]/100,l=e[2]/100;let n,a,i;if(0===o)return i=255*l,[i,i,i];n=l<.5?l*(1+o):l+o-l*o;const r=2*l-n,c=[0,0,0];for(let s=0;s<3;s++)a=t+1/3*-(s-1),a<0&&a++,a>1&&a--,i=6*a<1?r+6*(n-r)*a:2*a<1?n:3*a<2?r+(n-r)*(2/3-a)*6:r,c[s]=255*i;return c},o.hsl.hsv=function(e){const t=e[0];let o=e[1]/100,l=e[2]/100,n=o;const a=Math.max(l,.01);l*=2,o*=l<=1?l:2-l,n*=a<=1?a:2-a;return[t,100*(0===l?2*n/(a+n):2*o/(l+o)),100*((l+o)/2)]},o.hsv.rgb=function(e){const t=e[0]/60,o=e[1]/100;let l=e[2]/100;const n=Math.floor(t)%6,a=t-Math.floor(t),i=255*l*(1-o),r=255*l*(1-o*a),c=255*l*(1-o*(1-a));switch(l*=255,n){case 0:return[l,c,i];case 1:return[r,l,i];case 2:return[i,l,c];case 3:return[i,r,l];case 4:return[c,i,l];case 5:return[l,i,r]}},o.hsv.hsl=function(e){const t=e[0],o=e[1]/100,l=e[2]/100,n=Math.max(l,.01);let a,i;i=(2-o)*l;const r=(2-o)*n;return a=o*n,a/=r<=1?r:2-r,a=a||0,i/=2,[t,100*a,100*i]},o.hwb.rgb=function(e){const t=e[0]/360;let o=e[1]/100,l=e[2]/100;const n=o+l;let a;n>1&&(o/=n,l/=n);const i=Math.floor(6*t),r=1-l;a=6*t-i,1&i&&(a=1-a);const c=o+a*(r-o);let s,d,u;switch(i){default:case 6:case 0:s=r,d=c,u=o;break;case 1:s=c,d=r,u=o;break;case 2:s=o,d=r,u=c;break;case 3:s=o,d=c,u=r;break;case 4:s=c,d=o,u=r;break;case 5:s=r,d=o,u=c}return[255*s,255*d,255*u]},o.cmyk.rgb=function(e){const t=e[0]/100,o=e[1]/100,l=e[2]/100,n=e[3]/100;return[255*(1-Math.min(1,t*(1-n)+n)),255*(1-Math.min(1,o*(1-n)+n)),255*(1-Math.min(1,l*(1-n)+n))]},o.xyz.rgb=function(e){const t=e[0]/100,o=e[1]/100,l=e[2]/100;let n,a,i;return n=3.2406*t+-1.5372*o+-.4986*l,a=-.9689*t+1.8758*o+.0415*l,i=.0557*t+-.204*o+1.057*l,n=n>.0031308?1.055*n**(1/2.4)-.055:12.92*n,a=a>.0031308?1.055*a**(1/2.4)-.055:12.92*a,i=i>.0031308?1.055*i**(1/2.4)-.055:12.92*i,n=Math.min(Math.max(0,n),1),a=Math.min(Math.max(0,a),1),i=Math.min(Math.max(0,i),1),[255*n,255*a,255*i]},o.xyz.lab=function(e){let t=e[0],o=e[1],l=e[2];t/=95.047,o/=100,l/=108.883,t=t>.008856?t**(1/3):7.787*t+16/116,o=o>.008856?o**(1/3):7.787*o+16/116,l=l>.008856?l**(1/3):7.787*l+16/116;return[116*o-16,500*(t-o),200*(o-l)]},o.lab.xyz=function(e){let t,o,l;o=(e[0]+16)/116,t=e[1]/500+o,l=o-e[2]/200;const n=o**3,a=t**3,i=l**3;return o=n>.008856?n:(o-16/116)/7.787,t=a>.008856?a:(t-16/116)/7.787,l=i>.008856?i:(l-16/116)/7.787,t*=95.047,o*=100,l*=108.883,[t,o,l]},o.lab.lch=function(e){const t=e[0],o=e[1],l=e[2];let n;n=360*Math.atan2(l,o)/2/Math.PI,n<0&&(n+=360);return[t,Math.sqrt(o*o+l*l),n]},o.lch.lab=function(e){const t=e[0],o=e[1],l=e[2]/360*2*Math.PI;return[t,o*Math.cos(l),o*Math.sin(l)]},o.rgb.ansi16=function(e,t=null){const[l,n,a]=e;let i=null===t?o.rgb.hsv(e)[2]:t;if(i=Math.round(i/50),0===i)return 30;let r=30+(Math.round(a/255)<<2|Math.round(n/255)<<1|Math.round(l/255));return 2===i&&(r+=60),r},o.hsv.ansi16=function(e){return o.rgb.ansi16(o.hsv.rgb(e),e[2])},o.rgb.ansi256=function(e){const t=e[0],o=e[1],l=e[2];if(t===o&&o===l)return t<8?16:t>248?231:Math.round((t-8)/247*24)+232;return 16+36*Math.round(t/255*5)+6*Math.round(o/255*5)+Math.round(l/255*5)},o.ansi16.rgb=function(e){let t=e%10;if(0===t||7===t)return e>50&&(t+=3.5),t=t/10.5*255,[t,t,t];const o=.5*(1+~~(e>50));return[(1&t)*o*255,(t>>1&1)*o*255,(t>>2&1)*o*255]},o.ansi256.rgb=function(e){if(e>=232){const t=10*(e-232)+8;return[t,t,t]}let t;e-=16;return[Math.floor(e/36)/5*255,Math.floor((t=e%36)/6)/5*255,t%6/5*255]},o.rgb.hex=function(e){const t=(((255&Math.round(e[0]))<<16)+((255&Math.round(e[1]))<<8)+(255&Math.round(e[2]))).toString(16).toUpperCase();return"000000".substring(t.length)+t},o.hex.rgb=function(e){const t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];let o=t[0];3===t[0].length&&(o=o.split("").map(e=>e+e).join(""));const l=parseInt(o,16);return[l>>16&255,l>>8&255,255&l]},o.rgb.hcg=function(e){const t=e[0]/255,o=e[1]/255,l=e[2]/255,n=Math.max(Math.max(t,o),l),a=Math.min(Math.min(t,o),l),i=n-a;let r,c;return r=i<1?a/(1-i):0,c=i<=0?0:n===t?(o-l)/i%6:n===o?2+(l-t)/i:4+(t-o)/i,c/=6,c%=1,[360*c,100*i,100*r]},o.hsl.hcg=function(e){const t=e[1]/100,o=e[2]/100,l=o<.5?2*t*o:2*t*(1-o);let n=0;return l<1&&(n=(o-.5*l)/(1-l)),[e[0],100*l,100*n]},o.hsv.hcg=function(e){const t=e[1]/100,o=e[2]/100,l=t*o;let n=0;return l<1&&(n=(o-l)/(1-l)),[e[0],100*l,100*n]},o.hcg.rgb=function(e){const t=e[0]/360,o=e[1]/100,l=e[2]/100;if(0===o)return[255*l,255*l,255*l];const n=[0,0,0],a=t%1*6,i=a%1,r=1-i;let c=0;switch(Math.floor(a)){case 0:n[0]=1,n[1]=i,n[2]=0;break;case 1:n[0]=r,n[1]=1,n[2]=0;break;case 2:n[0]=0,n[1]=1,n[2]=i;break;case 3:n[0]=0,n[1]=r,n[2]=1;break;case 4:n[0]=i,n[1]=0,n[2]=1;break;default:n[0]=1,n[1]=0,n[2]=r}return c=(1-o)*l,[255*(o*n[0]+c),255*(o*n[1]+c),255*(o*n[2]+c)]},o.hcg.hsv=function(e){const t=e[1]/100,o=t+e[2]/100*(1-t);let l=0;return o>0&&(l=t/o),[e[0],100*l,100*o]},o.hcg.hsl=function(e){const t=e[1]/100,o=e[2]/100*(1-t)+.5*t;let l=0;return o>0&&o<.5?l=t/(2*o):o>=.5&&o<1&&(l=t/(2*(1-o))),[e[0],100*l,100*o]},o.hcg.hwb=function(e){const t=e[1]/100,o=t+e[2]/100*(1-t);return[e[0],100*(o-t),100*(1-o)]},o.hwb.hcg=function(e){const t=e[1]/100,o=1-e[2]/100,l=o-t;let n=0;return l<1&&(n=(o-l)/(1-l)),[e[0],100*l,100*n]},o.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]},o.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]},o.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]},o.gray.hsl=function(e){return[0,0,e[0]]},o.gray.hsv=o.gray.hsl,o.gray.hwb=function(e){return[0,100,e[0]]},o.gray.cmyk=function(e){return[0,0,0,e[0]]},o.gray.lab=function(e){return[e[0],0,0]},o.gray.hex=function(e){const t=255&Math.round(e[0]/100*255),o=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(o.length)+o},o.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]},hc}function _c(){if(yc)return gc;yc=1;const e=kc();function t(t){const o=function(){const t={},o=Object.keys(e);for(let e=o.length,l=0;l<e;l++)t[o[l]]={distance:-1,parent:null};return t}(),l=[t];for(o[t].distance=0;l.length;){const t=l.pop(),n=Object.keys(e[t]);for(let e=n.length,a=0;a<e;a++){const e=n[a],i=o[e];-1===i.distance&&(i.distance=o[t].distance+1,i.parent=t,l.unshift(e))}}return o}function o(e,t){return function(o){return t(e(o))}}function l(t,l){const n=[l[t].parent,t];let a=e[l[t].parent][t],i=l[t].parent;for(;l[i].parent;)n.unshift(l[i].parent),a=o(e[l[i].parent][i],a),i=l[i].parent;return a.conversion=n,a}return gc=function(e){const o=t(e),n={},a=Object.keys(o);for(let t=a.length,i=0;i<t;i++){const e=a[i];null!==o[e].parent&&(n[e]=l(e,o))}return n}}const wc=pc(function(){if(xc)return bc;xc=1;const e=kc(),t=_c(),o={};return Object.keys(e).forEach(l=>{o[l]={},Object.defineProperty(o[l],"channels",{value:e[l].channels}),Object.defineProperty(o[l],"labels",{value:e[l].labels});const n=t(l);Object.keys(n).forEach(e=>{const t=n[e];o[l][e]=function(e){const t=function(...t){const o=t[0];if(null==o)return o;o.length>1&&(t=o);const l=e(t);if("object"==typeof l)for(let e=l.length,n=0;n<e;n++)l[n]=Math.round(l[n]);return l};return"conversion"in e&&(t.conversion=e.conversion),t}(t),o[l][e].raw=function(e){const t=function(...t){const o=t[0];return null==o?o:(o.length>1&&(t=o),e(t))};return"conversion"in e&&(t.conversion=e.conversion),t}(t)})}),bc=o}()),Bc=[180,300,60],Cc=[360,240,120,0];function Ec(e,t,o){const l=e.sort((e,o)=>Math.abs(e-t)-Math.abs(o-t))[0]-t;return Math.round(o*l*.5)}function Nc(e){const t=function(e){const t=e.replace("#","");return`#${3===t.length?t.replace(/(.)/g,"$1$1"):t.padEnd(6,"0")}`}(e),o={500:t},l={50:.95,100:.9,200:.75,300:.6,400:.3,600:.9,700:.75,800:.6,900:.45,950:.29};return[50,100,200,300,400].forEach(e=>{o[e]=function(e,t){if(!e)return"";const[o,l,n]=wc.hex.hsv(e),a=o+Ec(Bc,o,t),i=l-Math.round(l*t),r=n+Math.round((100-n)*t);return`#${wc.hsv.hex([a,i,r])}`}(t,l[e])}),[600,700,800,900,950].forEach(e=>{o[e]=function(e,t){if(!e)return"";const o=1-t,[l,n,a]=wc.hex.hsv(e),i=l+Ec(Cc,l,o),r=n+Math.round((100-n)*o),c=a-Math.round(a*o);return`#${wc.hsv.hex([i,r,c])}`}(t,l[e])}),o}const Tc=e.defineComponent({__name:"BrandProvider",props:{primaryColor:{default:"#000000"},secondaryColor:{default:"#444444"},isShadowRoot:{type:Boolean,default:!1}},setup(t){const o=t,l=e.computed(()=>Nc(o.primaryColor)),n=e.computed(()=>Nc(o.secondaryColor)),a=e.computed(()=>o.isShadowRoot?":host":":root");return(t,o)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent("style"),null,{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(a.value)+" { --color-primary-50: "+e.toDisplayString(l.value[50])+"; --color-primary-100: "+e.toDisplayString(l.value[100])+"; --color-primary-200: "+e.toDisplayString(l.value[200])+"; --color-primary-300: "+e.toDisplayString(l.value[300])+"; --color-primary-400: "+e.toDisplayString(l.value[400])+"; --color-primary-500: "+e.toDisplayString(l.value[500])+"; --color-primary-600: "+e.toDisplayString(l.value[600])+"; --color-primary-700: "+e.toDisplayString(l.value[700])+"; --color-primary-800: "+e.toDisplayString(l.value[800])+"; --color-primary-900: "+e.toDisplayString(l.value[900])+" --color-secondary-50: "+e.toDisplayString(n.value[50])+"; --color-secondary-100: "+e.toDisplayString(n.value[100])+"; --color-secondary-200: "+e.toDisplayString(n.value[200])+"; --color-secondary-300: "+e.toDisplayString(n.value[300])+"; --color-secondary-400: "+e.toDisplayString(n.value[400])+"; --color-secondary-500: "+e.toDisplayString(n.value[500])+"; --color-secondary-600: "+e.toDisplayString(n.value[600])+"; --color-secondary-700: "+e.toDisplayString(n.value[700])+"; --color-secondary-800: "+e.toDisplayString(n.value[800])+"; --color-secondary-900: "+e.toDisplayString(n.value[900])+" } ",1)]),_:1}))}}),Mc=e.defineComponent({__name:"Link",props:e.mergeDefaults({external:{type:Boolean},showOnHover:{type:Boolean},button:{type:Boolean},to:{},target:{},custom:{type:Boolean},activeClass:{},exactActiveClass:{},ariaCurrentValue:{},viewTransition:{type:Boolean},replace:{type:Boolean},type:{},variant:{},color:{},size:{},pill:{type:Boolean},square:{type:Boolean},loading:{type:Boolean},disabled:{type:Boolean},iconPrefix:{},iconSuffix:{},tag:{}},{external:!1,showOnHover:!1,button:!1,...Ht}),setup(t){const o=t,l=e.useAttrs(),n=e.ref(!!l.href),a=e.computed(()=>null===o.target?"_self":"_blank"),i=e.computed(()=>{const e=n.value?{rel:"noopener noreferrer",target:a.value}:{to:o.to,target:o.target||null};return{tag:n.value?"a":"RouterLink",props:{...l,...e}}}),{wrapperClasses:r,spanClasses:c}=Kt(e.toRefs(o)),s=e.computed(()=>o.button?`inline-flex text-center hover:no-underline ${r.value} text-sm`:"group hover:text-blue-600 hover:underline "+(o.showOnHover?"hover:text-blue-600":"text-blue-600"));return(l,n)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(i.value.tag),e.mergeProps(i.value.props,{class:s.value}),{default:e.withCtx(()=>[e.createElementVNode("span",{class:e.normalizeClass({[`${e.unref(c)} flex items-center grow`]:o.button})},[e.renderSlot(l.$slots,"default"),t.external&&!t.button?(e.openBlock(),e.createBlock(e.unref(w),{key:0,icon:"arrow_outward",size:"xs",class:e.normalizeClass(["ml-0.5",{"invisible group-hover:visible":o.showOnHover}])},null,8,["class"])):e.createCommentVNode("",!0)],2)]),_:3},16,["class"]))}}),Vc=e.defineComponent({__name:"CardContent",props:{spacing:{default:"md"}},setup:t=>(o,l)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass({"p-2":"xs"===t.spacing,"px-4 py-3":"sm"===t.spacing,"p-4":"md"===t.spacing,"px-8 py-6":"lg"===t.spacing})},[e.renderSlot(o.$slots,"default")],2))}),Sc={key:0,class:"text-gray-500 font-normal text-xs"},zc=e.defineComponent({__name:"LabelContent",props:{tag:{default:"label"},required:{type:Boolean},name:{},screenReaderOnly:{type:Boolean},i18n:{},optionalLabel:{}},setup:t=>(o,l)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.tag),e.mergeProps(o.$attrs,{class:["block text-sm font-medium text-gray-900",{"sr-only":t.screenReaderOnly}]}),{default:e.withCtx(()=>{var l;return[e.renderSlot(o.$slots,"default"),t.required?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("span",Sc," ("+e.toDisplayString((null==(l=t.i18n)?void 0:l.optionalLabel)??"optional")+") ",1))]}),_:3},16,["class"]))}),Pc=Symbol("tooltip"),qc=Symbol("tooltip-dark-mode"),Dc={key:0,class:"px-3 mb-1"},Ic=e.defineComponent({__name:"Tooltip",props:{variant:{default:"default"},placement:{default:"bottom-end"},offset:{default:4},maxWidth:{default:"xs"},rootClass:{},title:{},isDarkMode:{type:Boolean}},setup(t){const l=t,n=e.ref(),a=e.ref(null),i=e.ref(!1),r=e.inject(Pc),{floatingStyles:c}=qt(n,a,{whileElementsMounted:Et,placement:l.placement,middleware:[Nt(l.offset),Tt()]});return e.provide(qc,l.isDarkMode),(l,s)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("span",e.mergeProps(l.$attrs,{ref_key:"triggerRef",ref:n,class:"relative leading-none",onMouseenter:s[0]||(s[0]=e=>i.value=!0),onMouseleave:s[1]||(s[1]=e=>i.value=!1)}),[e.createElementVNode("span",{class:"absolute",style:e.normalizeStyle({inset:`-${t.offset}px`})},null,4),e.renderSlot(l.$slots,"default")],16),e.unref(r)?(e.openBlock(),e.createBlock(e.Teleport,{key:0,to:e.unref(r)},[i.value?(e.openBlock(),e.createElementBlock("div",{key:0,ref_key:"tooltipRef",ref:a,style:e.normalizeStyle(e.unref(c)),class:e.normalizeClass(["border z-70 shadow-md",[t.rootClass,`max-w-${t.maxWidth}`,{"border-gray-200 rounded bg-white":!t.isDarkMode,"border-gray-700 rounded bg-gray-700":t.isDarkMode}]]),onMouseenter:s[2]||(s[2]=e=>i.value=!0),onMouseleave:s[3]||(s[3]=e=>i.value=!1)},[e.createElementVNode("div",{class:e.normalizeClass(["rounded",{"border-gray-50 bg-gray-50":"outline"===t.variant&&!t.isDarkMode,"border-gray-600 bg-gray-600":"outline"===t.variant&&t.isDarkMode,"border-4":"outline"===t.variant&&!t.title,"border-2":"outline"===t.variant&&t.title,"pt-0":!!t.title}])},[t.title?(e.openBlock(),e.createElementBlock("div",Dc,[e.createVNode(o,{variant:"caps-heading",shade:"lighter",class:e.normalizeClass({"!text-gray-100":t.isDarkMode}),"no-spacing":""},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.title),1)]),_:1},8,["class"])])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(["py-2 rounded",{"bg-white":"outline"===t.variant&&!t.isDarkMode,"bg-gray-700":"outline"===t.variant&&t.isDarkMode}])},[e.renderSlot(l.$slots,"tooltip")],2)],2)],38)):e.createCommentVNode("",!0)],8,["to"])):e.createCommentVNode("",!0)],64))}}),$c={class:"flex items-center justify-between mb-1"},Oc={class:"flex items-center gap-1"},Hc={key:0,class:"leading-none"},Ac=e.defineComponent({inheritAttrs:!1,__name:"Label",props:{tag:{default:"label"},required:{type:Boolean},name:{},screenReaderOnly:{type:Boolean},i18n:{}},setup:t=>(o,l)=>(e.openBlock(),e.createElementBlock("div",$c,[e.createElementVNode("div",Oc,[o.$slots.tooltip?(e.openBlock(),e.createBlock(Ic,{key:0,variant:"outline",class:"flex"},{default:e.withCtx(()=>{var l;return[e.createVNode(zc,e.mergeProps({...o.$props,...o.$attrs},{i18n:{optionalLabel:null==(l=t.i18n)?void 0:l.optionalLabel}}),{default:e.withCtx(()=>[e.renderSlot(o.$slots,"default")]),_:3},16,["i18n"]),e.createVNode(w,{icon:"help",size:"2xs",class:"rounded drop-shadow-sm hover:bg-gray-50 hover:cursor-default"})]}),tooltip:e.withCtx(()=>[e.renderSlot(o.$slots,"tooltip")]),_:3})):(e.openBlock(),e.createBlock(zc,e.normalizeProps(e.mergeProps({key:1},{...o.$props,...o.$attrs})),{default:e.withCtx(()=>[e.renderSlot(o.$slots,"default")]),_:3},16))]),o.$slots.suffix?(e.openBlock(),e.createElementBlock("div",Hc,[e.renderSlot(o.$slots,"suffix")])):e.createCommentVNode("",!0)]))}),Lc="data-expand-transition-style",Zc=e.defineComponent({__name:"Expand",setup(t){const o=e=>{const t=e.getRootNode();if(t instanceof ShadowRoot){if(t.querySelector(`style[${Lc}]`))return;const e=document.createElement("style");e.setAttribute(Lc,"true"),e.textContent="\n .expand-enter-active,\n .expand-leave-active {\n transition: height 300ms ease-in-out;\n overflow: hidden;\n }\n\n .expand-enter,\n .expand-leave-to {\n height: 0;\n }\n ",t.appendChild(e)}},l=e=>{o(e);const t=e,l=getComputedStyle(t).width;t.style.width=l,t.style.position="absolute",t.style.visibility="hidden",t.style.height="auto";const n=getComputedStyle(t).height;t.style.width="",t.style.position="",t.style.visibility="",t.style.height="0",requestAnimationFrame(()=>{t.style.height=n})},n=e=>{e.style.height="auto"},a=e=>{o(e);const t=e,l=getComputedStyle(t).height;t.style.height=l,requestAnimationFrame(()=>{t.style.height="0"})};return(t,o)=>(e.openBlock(),e.createBlock(e.Transition,{name:"expand",onEnter:l,onLeave:a,onAfterEnter:n},{default:e.withCtx(()=>[e.renderSlot(t.$slots,"default")]),_:3}))}}),Rc="w-6",Fc=e.defineComponent({__name:"CollapsibleList",props:{type:{default:"ordered"},hasAddButton:{type:Boolean},i18n:{}},emits:["add"],setup(t){const o=t,l=e.computed(()=>"ordered"===o.type?"ol":"ul");return(o,n)=>{var a;return e.openBlock(),e.createElementBlock("div",null,[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(l.value),null,{default:e.withCtx(()=>[e.renderSlot(o.$slots,"default")]),_:3})),e.createElementVNode("div",{class:e.normalizeClass(["flex flex-col items-center justify-center",e.unref(Rc)])},[t.hasAddButton?(e.openBlock(),e.createBlock(e.unref(oo),{key:0,square:"","aria-label":(null==(a=t.i18n)?void 0:a.addButtonLabel)??"Add item",color:"gray",variant:"outline",size:"sm","icon-prefix":"add",onClick:n[0]||(n[0]=e=>o.$emit("add"))},null,8,["aria-label"])):e.createCommentVNode("",!0)],2)])}}}),Uc={class:"px-3"};const Gc=h({},[["render",function(t,o){return e.openBlock(),e.createElementBlock("div",Uc,[e.renderSlot(t.$slots,"default")])}]]),jc=e.defineComponent({__name:"TooltipParagraph",setup(t){const l=e.inject(qc);return(t,n)=>(e.openBlock(),e.createBlock(e.unref(o),{tag:"p",variant:"body-xs",shade:"lighter",class:e.normalizeClass({"!text-gray-200":e.unref(l)})},{default:e.withCtx(()=>[e.renderSlot(t.$slots,"default")]),_:3},8,["class"]))}}),Qc=e.defineComponent({__name:"CombinedVolumeChip",props:{i18n:{},placement:{}},setup:t=>(o,l)=>(e.openBlock(),e.createBlock(Ic,{offset:4,placement:t.placement},{default:e.withCtx(()=>[e.createVNode(Qn,{color:"dark"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.i18n.combinedVolume),1)]),_:1})]),tooltip:e.withCtx(()=>[e.createVNode(Gc,null,{default:e.withCtx(()=>[e.createVNode(jc,null,{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.i18n.description),1)]),_:1})]),_:1})]),_:1},8,["placement"]))}),Kc=["innerHTML"],Wc=e.defineComponent({__name:"Comparator",props:{propertyName:{},comparator:{},value:{},values:{},hasFormatting:{type:Boolean,default:!0},i18n:{}},setup(t){const o=t,l=e.computed(()=>({propertyName:o.propertyName,comparator:o.comparator,value:o.value??"",values:o.values??[""]}));return(o,n)=>(e.openBlock(),e.createElementBlock("span",{class:"py-0.25 px-0.5",innerHTML:e.unref(ni)(t.i18n)(l.value,{hasFormatting:t.hasFormatting})},null,8,Kc))}}),Yc=e.defineComponent({__name:"Comparators",props:{comparators:{},expressionComparators:{},i18n:{},display:{default:"block"},rootClass:{}},setup:t=>(o,l)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[t.comparators?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(t.comparators,({meter_property:o,comparator:l,value:n,values:a},i)=>{var r,c;return e.openBlock(),e.createElementBlock("span",{key:null==o?void 0:o.id,class:e.normalizeClass({block:"block"===t.display,inline:"inline"===t.display})},[e.createVNode(Wc,{"property-name":(null==o?void 0:o.name)??(null==(r=t.i18n)?void 0:r.unknown)??"Unknown",comparator:l,value:n,values:a},null,8,["property-name","comparator","value","values"]),i<t.comparators.length-1?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createTextVNode(e.toDisplayString(" ")+e.toDisplayString((null==(c=t.i18n)?void 0:c.and)??"and")+e.toDisplayString(" "),1)],64)):e.createCommentVNode("",!0)],2)}),128)):e.createCommentVNode("",!0),t.expressionComparators?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:1},e.renderList(t.expressionComparators.operands,(o,l)=>{var n,a;return e.openBlock(),e.createElementBlock("span",{key:l,class:e.normalizeClass(["mr-1 rounded-sm bg-blue-400/25 px-2",t.rootClass])},[o.meter_property?(e.openBlock(),e.createBlock(Wc,{key:0,"property-name":(null==(n=o.meter_property.meter_property)?void 0:n.name)??(null==(a=t.i18n)?void 0:a.unknown)??"Unknown",comparator:o.meter_property.comparator,value:o.meter_property.value,values:o.meter_property.values},null,8,["property-name","comparator","value","values"])):e.createCommentVNode("",!0),o.expression?(e.openBlock(),e.createBlock(Yc,{key:1,"expression-comparators":o.expression,display:t.display,i18n:t.i18n,"root-class":t.rootClass},null,8,["expression-comparators","display","i18n","root-class"])):e.createCommentVNode("",!0),l<t.expressionComparators.operands.length-1?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createTextVNode(e.toDisplayString(" ")+e.toDisplayString(e.unref(Za)(t.expressionComparators.operator).toLocaleLowerCase())+e.toDisplayString(" "),1)],64)):e.createCommentVNode("",!0)],2)}),128)):e.createCommentVNode("",!0)],64))}),Xc={class:"flex items-center pt-1"},Jc={class:"px-1.5 text-gray-500 text-xs font-semibold"};const es=h({},[["render",function(t,o){return e.openBlock(),e.createElementBlock("div",Xc,[o[0]||(o[0]=e.createElementVNode("div",{class:"border-t w-2"},null,-1)),e.createElementVNode("span",Jc,[e.renderSlot(t.$slots,"default")]),o[1]||(o[1]=e.createElementVNode("div",{class:"border-t grow"},null,-1))])}]]),ts=e=>`input-${e}`,os=["aria-selected","aria-disabled","data-testid"],ls=["id","value","checked","disabled"],ns=["for"],as={class:"flex items-center gap-1"},is={class:"flex flex-grow flex-col"},rs={class:"flex flex-grow gap-2"},cs={class:"flex flex-grow flex-col"},ss={class:"flex flex-grow gap-2 items-center"},ds=e.defineComponent({__name:"SearchSelectInputOption",props:{multiple:{type:Boolean},search:{},condensed:{type:Boolean},label:{},checked:{type:Boolean},disabled:{type:Boolean},subLabel:{},labelPrefixComponent:{},labelSuffixComponent:{},labelInlineComponent:{},value:{},labelSrOnly:{type:Boolean}},emits:["value-changed"],setup(t,{emit:o}){const l=o,n=t,a=e=>{const t=e.target,o={value:t.value,checked:t.checked};l("value-changed",o)},i=()=>{n.multiple||n.disabled||l("value-changed",{value:n.value})},c=e.computed(()=>`checkbox-item-${n.value}`),s=e.computed(()=>r(n.search??""));return(o,l)=>(e.openBlock(),e.createElementBlock("li",{role:"option","aria-selected":t.checked,"aria-disabled":t.disabled,class:e.normalizeClass([{"hover:bg-gray-100":!t.disabled},"flex relative"]),"data-testid":c.value,tabindex:"0",onClick:i,onKeydown:e.withKeys(i,["enter"])},[t.multiple?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("input",e.mergeProps(o.$attrs,{id:c.value,ref:"inputRef",value:t.value,checked:t.checked,disabled:t.disabled,type:"checkbox",class:["absolute top-[50%] -translate-y-2 left-3.5 w-4 h-4 bg-gray-100 border-gray-300 rounded focus:ring-blue-500 focus:ring-2",t.disabled?"text-gray-400 placeholder-gray-500":"text-blue-600"],tabindex:"-1",onChange:a}),null,16,ls),e.createElementVNode("label",{for:c.value,class:e.normalizeClass([t.disabled?"text-gray-400":"text-gray-900 rounded","w-full px-4 py-3 pl-10 text-sm font-medium"])},[e.createElementVNode("div",as,[t.labelPrefixComponent?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.labelPrefixComponent.component),e.normalizeProps(e.mergeProps({key:0},t.labelPrefixComponent.props)),null,16)):e.createCommentVNode("",!0),e.createElementVNode("div",is,[e.createElementVNode("div",rs,[e.createVNode(p,{text:t.label,search:s.value,class:e.normalizeClass(["font-semibold",{"sr-only":t.labelSrOnly}])},null,8,["text","search","class"]),t.labelInlineComponent?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.labelInlineComponent.component),e.normalizeProps(e.mergeProps({key:0},t.labelInlineComponent.props)),null,16)):e.createCommentVNode("",!0),t.subLabel&&t.condensed?(e.openBlock(),e.createBlock(p,{key:1,class:"text-xs text-slate-500",text:t.subLabel,search:s.value},null,8,["text","search"])):e.createCommentVNode("",!0)]),t.subLabel&&!t.condensed?(e.openBlock(),e.createBlock(p,{key:0,class:"text-xs text-slate-500",text:t.subLabel,search:s.value},null,8,["text","search"])):e.createCommentVNode("",!0)]),t.labelSuffixComponent?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.labelSuffixComponent.component),e.normalizeProps(e.mergeProps({key:1},t.labelSuffixComponent.props)),null,16)):e.createCommentVNode("",!0)])],10,ns)],64)):(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(["w-full px-4 text-sm font-medium flex items-center gap-3",[t.condensed?"p-2":"py-3",t.disabled??"cursor-not-allowed",!t.disabled&&"cursor-pointer"]])},[t.labelPrefixComponent?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.labelPrefixComponent.component),e.normalizeProps(e.mergeProps({key:0},t.labelPrefixComponent.props)),null,16)):e.createCommentVNode("",!0),e.createElementVNode("div",cs,[e.createElementVNode("div",ss,[e.createVNode(p,{text:t.label,search:e.unref(r)(t.search??""),class:e.normalizeClass(["font-semibold",{"text-gray-400":t.disabled}])},null,8,["text","search","class"]),t.labelInlineComponent?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.labelInlineComponent.component),e.normalizeProps(e.mergeProps({key:0},t.labelInlineComponent.props)),null,16)):e.createCommentVNode("",!0),t.subLabel&&t.condensed?(e.openBlock(),e.createBlock(p,{key:1,class:"text-xs text-slate-500",text:t.subLabel,search:s.value},null,8,["text","search"])):e.createCommentVNode("",!0)]),t.subLabel&&!t.condensed?(e.openBlock(),e.createBlock(p,{key:0,class:"text-xs text-slate-500",text:t.subLabel,search:s.value},null,8,["text","search"])):e.createCommentVNode("",!0)]),t.labelSuffixComponent?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.labelSuffixComponent.component),e.normalizeProps(e.mergeProps({key:1},t.labelSuffixComponent.props)),null,16)):e.createCommentVNode("",!0)],2))],42,os))}}),us={class:"flex flex-col rounded-bl rounded-br"},ps={key:0,class:"px-5 py-5 text-sm text-slate-400"},ms={key:0},fs=["innerHTML"],hs={key:0},vs={class:"mt-1 px-3 py-2 text-sm text-slate-600"},gs={key:2,class:"border-t border-gray-200"},ys=e.defineComponent({__name:"SearchSelectInputOptions",props:{i18n:{},model:{},search:{},multiple:{type:Boolean},condensed:{type:Boolean},hasLargeDropdown:{type:Boolean},addOnly:{type:Boolean},options:{}},emits:["value-changed"],setup(t,{emit:o}){const l=o,n=t,a=e=>l("value-changed",e),i=e.computed(()=>{var e,t;const o=n.search?`<span class="font-bold">"${r(n.search)}"</span>`:"";return(null==(t=null==(e=n.i18n)?void 0:e.noResults)?void 0:t.call(e,o))??`No matches found for ${o}.`}),c=e.computed(()=>""===n.search),s=e.computed(()=>tc(n.options,"group").reduce((e,t)=>""===t.value?e:{...e,[t.value]:t.group},{}));return(o,l)=>{var r,d;return e.openBlock(),e.createElementBlock("div",us,[0===t.options.length?(e.openBlock(),e.createElementBlock("div",ps,[c.value?(e.openBlock(),e.createElementBlock("span",ms,e.toDisplayString((null==(r=n.i18n)?void 0:r.noOptionsAvailable)??"No available options."),1)):(e.openBlock(),e.createElementBlock("span",{key:1,innerHTML:i.value},null,8,fs))])):(e.openBlock(),e.createElementBlock("ul",{key:1,class:e.normalizeClass(["list-none overflow-y-auto text-gray-700",[t.hasLargeDropdown?"max-h-76":"max-h-48"]])},[t.addOnly?(e.openBlock(),e.createElementBlock("div",hs,[e.createElementVNode("p",vs,e.toDisplayString((null==(d=t.i18n)?void 0:d.addOnly)??"You can only select currently unselected options."),1)])):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.options,({label:o,subLabel:l,value:n,checked:i,disabled:r,labelInlineComponent:c,labelSuffixComponent:d,labelSrOnly:u,labelPrefixComponent:p,hidden:m,searchValues:f})=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:n},[s.value[n]?(e.openBlock(),e.createBlock(es,{key:0},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(s.value[n]),1)]),_:2},1024)):e.createCommentVNode("",!0),m?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(ds,{key:1,label:o,"sub-label":l,value:n,checked:i,disabled:r,search:f?"":t.search,multiple:t.multiple,condensed:t.condensed,"label-suffix-component":d,"label-prefix-component":p,"label-inline-component":c,"label-sr-only":u,onValueChanged:a},null,8,["label","sub-label","value","checked","disabled","search","multiple","condensed","label-suffix-component","label-prefix-component","label-inline-component","label-sr-only"]))],64))),128))],2)),o.$slots["list-footer-content"]?(e.openBlock(),e.createElementBlock("div",gs,[e.renderSlot(o.$slots,"list-footer-content")])):e.createCommentVNode("",!0)])}}}),bs=Symbol("search-select-input"),xs=e.defineComponent({inheritAttrs:!1,__name:"IconButton",props:{tooltip:{},icon:{},type:{},variant:{},color:{},size:{},pill:{type:Boolean},square:{type:Boolean},loading:{type:Boolean},disabled:{type:Boolean},iconPrefix:{},iconSuffix:{},tag:{}},setup(t){const o=t,l=e.useAttrs(),n=(e=>{switch(e){case"sm":return"xs";case"md":default:return"sm";case"lg":return"md"}})(o.size),a=e.computed(()=>function(e,...t){const o=new Set(t.flat());return Object.fromEntries(Object.entries(e).filter(([e])=>!o.has(e)))}({...o,...l},"icon","tooltip"));return(o,l)=>t.tooltip?(e.openBlock(),e.createBlock(Ic,{key:0},{tooltip:e.withCtx(()=>[e.createVNode(Gc,null,{default:e.withCtx(()=>[e.createVNode(jc,null,{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.tooltip),1)]),_:1})]),_:1})]),default:e.withCtx(()=>[e.createVNode(oo,e.mergeProps(a.value,{square:""}),{default:e.withCtx(()=>[e.createVNode(w,{icon:t.icon,size:e.unref(n)},null,8,["icon","size"])]),_:1},16)]),_:1})):(e.openBlock(),e.createBlock(oo,e.mergeProps({key:1},a.value,{square:""}),{default:e.withCtx(()=>[e.createVNode(w,{icon:t.icon,size:e.unref(n)},null,8,["icon","size"])]),_:1},16))}}),ks={sm:"h-8",md:"h-10",lg:"h-12",xl:"h-16"};const _s=["data-testid"],ws={class:"relative"},Bs={class:"relative grow"},Cs=["id","disabled","type","value","name","form","placeholder"],Es=["id","value","disabled","type","name","form","placeholder"],Ns={key:1,class:"mt-2 text-sm text-gray-500"},Ts=e.defineComponent({__name:"Input",props:e.mergeModels({label:{default:""},labelScreenReaderOnly:{type:Boolean},disabled:{type:Boolean,default:!1},type:{default:"text"},asTextType:{type:Boolean,default:!1},size:{default:"md"},prefixClass:{},suffixClass:{},wrapperClass:{default:""},inputClass:{},rootClass:{default:""},required:{type:Boolean,default:!1},id:{},checked:{type:Boolean},value:{},hasShadow:{type:Boolean,default:!1},hasFocusStyles:{type:Boolean,default:!0},form:{},ring:{type:Boolean,default:!0},error:{},name:{},prefixHasBorder:{type:Boolean,default:!0},placeholder:{}},{modelValue:{},modelModifiers:{}}),emits:e.mergeModels(["blur"],["update:modelValue"]),setup(t){const o=t,l=e.useModel(t,"modelValue"),n="number"===o.type&&o.asTextType,a=o.name??oc("name"),i=e=>{n&&(l.value=e.target.value)},r=o.id??oc(`${a}-`),s=e=>{if("number"===o.type){e.target.blur()}},{wrapperClasses:d,inputClasses:u,labelClasses:p,prefixClasses:f,suffixClasses:h}=function({size:t,disabled:o,labelScreenReaderOnly:l,ring:n,hasShadow:a,hasFocusStyles:i,type:r,prefixHasBorder:c,wrapperClass:s,inputClass:d,prefixClass:u,suffixClass:p}){const m=e.computed(()=>(null==o?void 0:o.value)??!1),f=e.computed(()=>"checkbox"===(null==r?void 0:r.value)),h=e.computed(()=>!1!==(null==i?void 0:i.value)),v=e.computed(()=>({"block text-sm font-medium text-gray-900":!0,"sr-only":null==l?void 0:l.value})),g=e.computed(()=>({"rounded border border-gray-300 overflow-hidden":!0,"cursor-not-allowed bg-gray-50 border-transparent":m.value,"bg-white":!m.value,"focus-within:border-primary-500 focus-within:outline-1 focus-within:outline focus-within:outline-primary-500":h.value,"focus-within:ring-primary-500":null==n?void 0:n.value,"shadow-sm focus-within:shadow-sm":null==a?void 0:a.value})),y=e.computed(()=>({"text-gray-900 text-sm block w-full border-0 focus:border-transparent focus:outline-0 focus:ring-0 bg-transparent":!0,"p-2":f.value,"px-4":!f.value,[ks[t.value]]:!f.value,"cursor-default":m.value})),b=e.computed(()=>({"z-10 flex shrink-0 items-center":!0,"px-3":null==c?void 0:c.value,"pl-3":!(null==c?void 0:c.value),"border-r border-gray-300":null==c?void 0:c.value,"border-none":!(null==c?void 0:c.value)}));return{wrapperClasses:e.computed(()=>Xr(g.value,null==s?void 0:s.value)),inputClasses:e.computed(()=>Xr(y.value,null==d?void 0:d.value)),prefixClasses:e.computed(()=>Xr(b.value,null==u?void 0:u.value)),suffixClasses:e.computed(()=>Xr("align-end z-10 flex shrink-0 items-center gap-2 border-l border-gray-300 px-4",null==p?void 0:p.value)),labelClasses:v}}(e.toRefs(o));return(o,v)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(t.rootClass),"data-testid":e.unref(ts)(e.unref(a))},[t.label?(e.openBlock(),e.createBlock(Ac,{key:0,class:e.normalizeClass(e.unref(p)),for:e.unref(r),required:t.required},e.createSlots({suffix:e.withCtx(()=>[e.renderSlot(o.$slots,"label-suffix")]),default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.label)+" ",1)]),_:2},[o.$slots.tooltip?{name:"tooltip",fn:e.withCtx(()=>[e.renderSlot(o.$slots,"tooltip")]),key:"0"}:void 0]),1032,["class","for","required"])):e.createCommentVNode("",!0),e.createElementVNode("div",ws,[e.createElementVNode("div",{class:e.normalizeClass(["flex",e.unref(d)])},[o.$slots.prefix?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(e.unref(f))},[e.renderSlot(o.$slots,"prefix")],2)):e.createCommentVNode("",!0),e.createElementVNode("div",Bs,[e.unref(n)?(e.openBlock(),e.createElementBlock("input",e.mergeProps({key:0},o.$attrs,{id:e.unref(r),disabled:t.disabled,type:t.type,class:e.unref(u),value:l.value,name:e.unref(a),form:t.form,placeholder:t.placeholder,autocomplete:"off",onKeyup:i,onChange:i,onBlur:v[0]||(v[0]=e=>o.$emit("blur")),onWheel:s}),null,16,Cs)):e.withDirectives((e.openBlock(),e.createElementBlock("input",e.mergeProps({key:1},o.$attrs,{id:e.unref(r),"onUpdate:modelValue":v[1]||(v[1]=e=>l.value=e),value:"checkbox"===t.type?t.value:l.value,disabled:t.disabled,type:t.type,name:e.unref(a),form:t.form,class:e.unref(u),placeholder:t.placeholder,autocomplete:"off",onBlur:v[2]||(v[2]=e=>o.$emit("blur")),onWheel:s}),null,16,Es)),[[e.vModelDynamic,l.value]]),e.renderSlot(o.$slots,"input")]),o.$slots.suffix?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(e.unref(h))},[e.renderSlot(o.$slots,"suffix")],2)):e.createCommentVNode("",!0)],2),e.renderSlot(o.$slots,"adornment-end")]),!e.unref(c)(t.error)||o.$slots.helper?(e.openBlock(),e.createElementBlock("div",Ns,[e.unref(c)(t.error)?o.$slots.helper?e.renderSlot(o.$slots,"helper",{key:1}):e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(m,{key:0,message:t.error},null,8,["message"]))])):e.createCommentVNode("",!0)],10,_s))}}),Ms={class:"flex flex-col gap-2"},Vs=["aria-expanded"],Ss={class:"flex items-center gap-2"},zs={key:0},Ps={class:"flex items-center gap-2"},qs={key:0,class:"flex flex-wrap gap-2"},Ds=["innerHTML"],Is=e.defineComponent({__name:"SearchSelectInput",props:e.mergeModels({addOnly:{type:Boolean,default:!1},disabled:{type:Boolean},i18n:{},label:{},labelScreenReaderOnly:{type:Boolean},singleModelValue:{},multiModelValue:{},options:{default:()=>[]},optionsOrder:{default:()=>["asc","asc"]},optionsOrderProperties:{default:()=>["group","label"]},required:{type:Boolean,default:!1},rootClass:{},size:{default:"md"},withChips:{type:Boolean,default:!1},chipColor:{},error:{},hasReset:{type:Boolean},name:{},hasLargeDropdown:{type:Boolean,default:!1},showSuffixInClosedInput:{type:Boolean},showSuffixLabelInInput:{type:Boolean},condensed:{type:Boolean},form:{}},{search:{default:""},searchModifiers:{}}),emits:e.mergeModels(["update:singleModelValue","update:multiModelValue","blur","change","focus","add-option"],["update:search"]),setup(t,{expose:o,emit:l}){var n;const a=t,i=e.inject(bs),s=null==(n=e.getCurrentInstance())?void 0:n.vnode.props,u=!(null==s?void 0:s["onUpdate:search"]),p=e.computed(()=>Array.isArray(a.multiModelValue)),m=e.ref(a.singleModelValue),f=l,h=de(a,"singleModelValue",f),v=de(a,"multiModelValue",f),g=e.ref(v.value??[]);e.watch(()=>a.multiModelValue,e=>{e&&(g.value=e)});const y=e.useModel(t,"search"),b=e.computed({get:()=>p.value?g.value??[]:"string"==typeof h.value?[h.value]:[],set(e){p.value?g.value=e:h.value=(null==e?void 0:e[0])??""}}),x=e.computed(()=>I.value.filter(e=>{var t;return null==(t=b.value)?void 0:t.includes(e.value)})),k=e.computed(()=>x.value[0]),_=ma(),B=e.ref(!1),C=e.ref(),E=e.ref(),N=e.ref(),T=()=>C.value?Array.from(C.value.querySelectorAll('li[tabindex="0"], button:not([disabled])')):[],M=()=>{var e;let t=document.activeElement;for(;null==(e=null==t?void 0:t.shadowRoot)?void 0:e.activeElement;)t=t.shadowRoot.activeElement;return t},V=()=>{if(!E.value)return null;let e=E.value.querySelector("input");if(e)return e;const t=E.value.querySelectorAll("*");for(const o of t)if(o.shadowRoot&&(e=o.shadowRoot.querySelector("input"),e))return e;return null},S=e=>{var t,o;if(!B.value)return;const l=T(),n=V();if(M()===n)switch(e.key){case"ArrowDown":l.length>0&&(e.preventDefault(),null==(t=l[0])||t.focus());break;case"Tab":!e.shiftKey&&l.length>0&&(e.preventDefault(),null==(o=l[0])||o.focus());break;case"Escape":e.preventDefault(),j(),y.value=""}},z=t=>{var o,l,n,a;const i=T(),r=M(),c=i.indexOf(r),s=V();switch(t.key){case"ArrowDown":c<i.length-1&&(t.preventDefault(),null==(o=i[c+1])||o.focus());break;case"ArrowUp":t.preventDefault(),c<=0?null==s||s.focus():null==(l=i[c-1])||l.focus();break;case"Tab":t.shiftKey?c<=0?(t.preventDefault(),null==s||s.focus()):(t.preventDefault(),null==(n=i[c-1])||n.focus()):c>=i.length-1?(t.preventDefault(),j(),y.value="",null==s||s.focus()):(t.preventDefault(),null==(a=i[c+1])||a.focus());break;case"Escape":t.preventDefault(),j(),y.value="",e.nextTick(()=>{null==s||s.focus()})}},{floatingStyles:P}=qt(E,C,{whileElementsMounted:Et,placement:"bottom",middleware:[Nt(4),Tt({mainAxis:!0})]}),{width:q}=ne(E),D=e=>{var t;return a.disabled||!a.disabled&&a.addOnly&&!!(null==(t=m.value)?void 0:t.includes(e))},I=e.computed(()=>{const e=a.options.map(e=>({...e,checked:b.value.includes(e.value),disabled:e.disabled??D(e.value)})),t=[...e,...0===y.value.length&&L.value?L.value.filter(t=>!e.some(e=>e.value===t.value)):[]];return a.optionsOrderProperties&&!c(a.optionsOrderProperties)?function(e,t,o=[]){return[...e].sort((e,l)=>{for(let n=0;n<t.length;n++){const a=t[n],i="function"==typeof a?a:e=>e[a],r="desc"===o[n]?-1:1,c=i(e),s=i(l);if(null!=c||null!=s){if(null==c)return r;if(null==s)return-r;if(c<s)return-r;if(c>s)return r}}return 0})}(t,a.optionsOrderProperties,a.optionsOrder):t}),$=e=>I.value.filter(t=>e.some(e=>t.value===e)),H=e.computed(()=>$(b.value)),A=e.computed(()=>H.value[0]),L=e.ref([]),Z=({value:e,checked:t})=>{let o;p.value?o=t?[...b.value,e]:b.value.filter(t=>t!==e):(o=[e],B.value=!1,y.value=""),L.value=$(o),b.value=o,f("change")},R=e.computed(()=>b.value.length>0&&!a.disabled&&!(1===b.value.length&&""===b.value[0])),F=()=>{b.value=[],g.value=[]},U=()=>{y.value=""},G=e.computed(()=>u?I.value.filter(e=>{const t=r(y.value.toLowerCase());return e.searchValues?e.searchValues.some(e=>e.toLowerCase().match(t)):(e.label??"").toLowerCase().match(t)}):I.value),j=()=>{p.value&&(v.value=g.value),B.value=!1};e.watch(g,()=>{B.value||d(v.value,g.value)||!p.value||(v.value=g.value)});O("mousedown",e=>{const t=e.composedPath();C.value&&t.includes(C.value)||E.value&&t.includes(E.value)||B.value&&(j(),y.value="")});const Q=e.computed(()=>{var e,t,o,l,n,i;return p.value&&B.value?(null==(e=a.i18n)?void 0:e.placeholderSearch)??"Search":p.value&&1===H.value.length?null==(t=A.value)?void 0:t.label:p.value&&H.value.length>=2?`${null==(o=A.value)?void 0:o.label} +${H.value.length-1}`:h.value||A.value?B.value?(null==(n=a.i18n)?void 0:n.placeholderSearch)??"Search":a.singleModelValue||A.value?null==(i=I.value.find(e=>{var t;return e.value===(null==(t=k.value)?void 0:t.value)}))?void 0:i.label:"":(null==(l=a.i18n)?void 0:l.placeholderDefault)??"Select an option"}),K=e.computed(()=>""===y.value),W=!!(null==s?void 0:s.onAddOption),Y=()=>{f("add-option"),j()},X=e.computed(()=>{var e;return!B.value&&!p.value&&(null==(e=A.value)?void 0:e.labelPrefixComponent)}),J=`search-select-options-${Math.random().toString(36).substring(2,9)}`;return o({flushMemoryCachedSelectedOptions:()=>L.value=[]}),(o,l)=>{var n,a,r;return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("div",Ms,[e.createElementVNode("div",{ref_key:"wrapperRef",ref:E,class:e.normalizeClass(["relative flex items-end",{[`${t.rootClass}`]:t.rootClass,"z-30":B.value}]),role:"combobox","aria-expanded":B.value,"aria-haspopup":!0,"aria-controls":J,onKeydown:S},[e.createVNode(e.unref(Ts),{ref_key:"inputRef",ref:N,modelValue:y.value,"onUpdate:modelValue":l[2]||(l[2]=e=>y.value=e),required:t.required,label:t.label,name:t.name,form:t.form,"label-screen-reader-only":t.labelScreenReaderOnly,placeholder:Q.value,class:e.normalizeClass(["grow",{"placeholder:text-gray-900":!B.value&&(!p.value&&e.unref(h)||p.value&&!e.unref(c)(t.multiModelValue))}]),"wrapper-class":{"border-transparent border border-b-gray-200 focus-within:border-b relative z-10 rounded-b-none":B.value},"suffix-class":"border-l-0 pl-0",disabled:t.disabled,size:t.size,error:t.error,"prefix-has-border":!X.value,"aria-autocomplete":"list",onFocus:l[3]||(l[3]=()=>B.value=!0),onBlur:l[4]||(l[4]=e=>o.$emit("blur"))},e.createSlots({"label-suffix":e.withCtx(()=>[e.renderSlot(o.$slots,"label-suffix")]),suffix:e.withCtx(()=>{var o,n;return[e.createElementVNode("div",Ps,[B.value||p.value||!(null==(o=A.value)?void 0:o.labelInlineComponent)||t.showSuffixInClosedInput&&!t.showSuffixLabelInInput?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(e.resolveDynamicComponent(A.value.labelInlineComponent.component),e.normalizeProps(e.mergeProps({key:0},A.value.labelInlineComponent.props)),null,16)),!B.value&&!p.value&&(null==(n=A.value)?void 0:n.labelSuffixComponent)&&t.showSuffixInClosedInput?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(A.value.labelSuffixComponent.component),e.normalizeProps(e.mergeProps({key:1},A.value.labelSuffixComponent.props)),null,16)):e.createCommentVNode("",!0),R.value&&t.hasReset?(e.openBlock(),e.createBlock(xs,{key:2,icon:"close",size:"sm",variant:"ghost",color:"gray",type:"button",onMousedown:l[0]||(l[0]=e.withModifiers(()=>{},["prevent"])),onClick:F})):e.createCommentVNode("",!0),K.value?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(xs,{key:3,icon:"close",size:"sm",variant:"ghost",color:"gray",type:"button",onClick:U})),e.createVNode(xs,{class:"-mr-3",icon:B.value?"keyboard_arrow_up":"keyboard_arrow_down",size:"sm",variant:"ghost",color:"gray",type:"button",disabled:t.disabled,onClick:l[1]||(l[1]=e=>B.value=!B.value)},null,8,["icon","disabled"])])]}),_:2},[o.$slots.tooltip?{name:"tooltip",fn:e.withCtx(()=>[e.renderSlot(o.$slots,"tooltip")]),key:"0"}:void 0,X.value||!u?{name:"prefix",fn:e.withCtx(()=>{var t;return[e.createElementVNode("div",Ss,[X.value&&(null==(t=A.value)?void 0:t.labelPrefixComponent)?(e.openBlock(),e.createElementBlock("div",zs,[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(A.value.labelPrefixComponent.component),e.normalizeProps(e.guardReactiveProps(A.value.labelPrefixComponent.props)),null,16))])):u?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(w,{key:1,icon:"search",size:"sm"}))])]}),key:"1"}:void 0,o.$slots.helper?{name:"helper",fn:e.withCtx(()=>[e.renderSlot(o.$slots,"helper")]),key:"2"}:void 0]),1032,["modelValue","required","label","name","form","label-screen-reader-only","placeholder","wrapper-class","class","disabled","size","error","prefix-has-border"])],42,Vs),t.withChips?(e.openBlock(),e.createElementBlock("div",qs,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(H.value,({value:o,label:l})=>(e.openBlock(),e.createBlock(Qn,{key:o,removable:!D(o),color:t.chipColor,onRemoved:e=>Z({value:o,checked:!1})},{default:e.withCtx(()=>[e.createElementVNode("span",{innerHTML:l},null,8,Ds)]),_:2},1032,["removable","color","onRemoved"]))),128))])):e.createCommentVNode("",!0)]),e.unref(_)&&e.unref(i)?(e.openBlock(),e.createBlock(e.Teleport,{key:0,to:e.unref(i)},[B.value&&!t.disabled?(e.openBlock(),e.createElementBlock("div",{key:0,id:J,ref_key:"optionsRef",ref:C,role:"listbox",style:e.normalizeStyle(e.unref(P)),class:"z-70 rounded border border-gray-200 bg-white drop-shadow-md",onMouseenter:l[5]||(l[5]=e=>B.value=!0),onKeydown:z},[e.createElementVNode("div",{class:"rounded pt-0",style:e.normalizeStyle({width:`${e.unref(q)}px`})},[e.createVNode(ys,{i18n:{addOnly:null==(n=t.i18n)?void 0:n.addOnly,noResults:null==(a=t.i18n)?void 0:a.noResults,noOptionsAvailable:null==(r=t.i18n)?void 0:r.noOptionsAvailable},options:G.value,multiple:p.value,search:y.value,model:b.value,"add-only":t.addOnly,"allows-multiple-values":!!p.value,condensed:t.condensed,"has-large-dropdown":t.hasLargeDropdown,onValueChanged:Z},{"list-footer-content":e.withCtx(()=>[W?(e.openBlock(),e.createBlock(oo,{key:0,variant:"ghost",class:"w-full rounded-t-none",type:"button","icon-prefix":"add",onClick:Y},{default:e.withCtx(()=>{var o;return[e.createTextVNode(e.toDisplayString(null==(o=t.i18n)?void 0:o.addOption),1)]}),_:1})):e.createCommentVNode("",!0),p.value?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(["flex items-center justify-between",{"py-2":!o.$slots["list-footer-content"]}])},[R.value?(e.openBlock(),e.createBlock(oo,{key:0,type:"button",variant:"ghost",size:"sm",class:"ml-2",onClick:F},{default:e.withCtx(()=>{var o;return[e.createTextVNode(e.toDisplayString((null==(o=t.i18n)?void 0:o.multipleValuesClearButtonText)??"Clear"),1)]}),_:1})):e.createCommentVNode("",!0),e.createElementVNode("div",null,[e.renderSlot(o.$slots,"list-footer-content",{close:j})]),e.createVNode(oo,{type:"button",size:"sm",class:"mr-2","data-testid":e.unref("select-search-done-button"),onClick:j},{default:e.withCtx(()=>{var o;return[e.createTextVNode(e.toDisplayString((null==(o=t.i18n)?void 0:o.multipleValuesDoneButtonText)??"Done"),1)]}),_:1},8,["data-testid"])],2)):e.renderSlot(o.$slots,"list-footer-content",{key:2,close:j})]),_:3},8,["i18n","options","multiple","search","model","add-only","allows-multiple-values","condensed","has-large-dropdown"])],4)],36)):e.createCommentVNode("",!0)],8,["to"])):e.createCommentVNode("",!0)],64)}}}),$s=e.defineComponent({__name:"CountrySelect",props:{label:{},singleModelValue:{},multiModelValue:{},error:{},required:{type:Boolean,default:!0},hasReset:{type:Boolean},disabled:{type:Boolean},name:{},form:{}},emits:["update:modelValue","update:singleModelValue"],setup(t,{emit:o}){const l=t,n=de(l,"singleModelValue"),a=de(l,"multiModelValue"),i=o;return(o,l)=>(e.openBlock(),e.createBlock(Is,{"multi-model-value":e.unref(a),"onUpdate:multiModelValue":l[0]||(l[0]=t=>e.isRef(a)?a.value=t:null),"single-model-value":e.unref(n),"onUpdate:singleModelValue":[l[1]||(l[1]=t=>e.isRef(n)?n.value=t:null),l[2]||(l[2]=e=>{i("update:modelValue",e)})],"root-class":o.$attrs.class,label:t.label,options:e.unref(Ga).map(({key:e,value:t})=>({label:t,value:e})),error:t.error,"has-reset":t.hasReset,disabled:t.disabled,required:t.required,"with-chips":!!t.multiModelValue,name:t.name,form:t.form},{"label-suffix":e.withCtx(()=>[e.renderSlot(o.$slots,"label-suffix")]),_:3},8,["multi-model-value","single-model-value","root-class","label","options","error","has-reset","disabled","required","with-chips","name","form"]))}}),Os={key:0,class:"flex flex-col gap-2"},Hs={key:0},As={key:1},Ls={key:2},Zs={key:3},Rs={key:1},Fs=e.defineComponent({__name:"CustomerBillingInformation",props:{customer:{},title:{},fallbackToReference:{type:Boolean,default:!0}},setup(t){const{$t:l}=Gn(),n=t,a=e.computed(()=>{if(!n.customer)return;const e=Ni(n.customer);return n.fallbackToReference&&""===e?n.customer.reference:n.fallbackToReference||""!==e?e:void 0}),r=e.computed(()=>n.title||l({defaultMessage:"Billing information",description:"Title for the billing information",id:"customer_billing_information.title"})),c=e.computed(()=>{if(n.customer)return"individual"in n.customer?n.customer.individual.residential_address:"organization"in n.customer?n.customer.organization.registered_address:void 0});return(n,s)=>(e.openBlock(),e.createBlock(i,{title:r.value},{right:e.withCtx(()=>[e.renderSlot(n.$slots,"settings")]),default:e.withCtx(()=>{var n;return[t.customer?(e.openBlock(),e.createElementBlock("div",Os,[a.value?(e.openBlock(),e.createElementBlock("div",Hs,[e.createVNode(o,{variant:"caps-heading"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(l)({defaultMessage:"Name",description:"The label for the customer name in the billing information",id:"customer_billing_information.name_label"})),1)]),_:1}),e.createVNode(o,{variant:"body-xs"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(a.value),1)]),_:1})])):e.createCommentVNode("",!0),(null==(n=c.value)?void 0:n.line1)?(e.openBlock(),e.createElementBlock("div",As,[e.createVNode(o,{variant:"caps-heading"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(l)({defaultMessage:"Billing address",description:"The label for the customer billing address in the billing information",id:"customer_billing_information.billing_address_label"})),1)]),_:1}),e.createVNode(o,{variant:"body-xs"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(Bi)(c.value)),1)]),_:1})])):e.createCommentVNode("",!0),t.customer.email?(e.openBlock(),e.createElementBlock("div",Ls,[e.createVNode(o,{variant:"caps-heading"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(l)({defaultMessage:"Email address",description:"The label for the customer email address in the billing information",id:"customer_billing_information.email_address_label"})),1)]),_:1}),e.createVNode(o,{variant:"body-xs"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.customer.email),1)]),_:1})])):e.createCommentVNode("",!0),e.unref(fi)(t.customer)?(e.openBlock(),e.createElementBlock("div",Zs,[e.createVNode(o,{variant:"caps-heading"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(l)({defaultMessage:"VAT number",description:"The label for the customer Vat number in the billing information",id:"customer_billing_information.vat_number_label"})),1)]),_:1}),e.createVNode(o,{variant:"body-xs"},{default:e.withCtx(()=>{var o,l;return[e.createTextVNode(e.toDisplayString(null==(l=null==(o=t.customer.organization.tax_ids)?void 0:o[0])?void 0:l.id),1)]}),_:1})])):e.createCommentVNode("",!0)])):(e.openBlock(),e.createElementBlock("div",Rs,[e.createVNode(o,{variant:"body-xs",shade:"lighter"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(l)({defaultMessage:"No billing information to display.",description:"Text that is being displayed when there is no active subscription in the subscriptions block",id:"customer_overview.billing_information.no_billing_information_available"})),1)]),_:1})]))]}),_:3},8,["title"]))}}),Us=e.defineComponent({__name:"DeltaChip",props:{oldValue:{},newValue:{},color:{default:"dark"},content:{},dark:{type:Boolean},removable:{type:Boolean},size:{},variant:{},textClass:{},tag:{},hasChipBefore:{type:Boolean},hasChipAfter:{type:Boolean}},setup(t){const o=e.createPropsRestProxy(t,["oldValue","newValue","color"]),l=e.computed(()=>{const e=t.newValue-t.oldValue;return`${e>=0?"+":""}${e}`});return(n,a)=>(e.openBlock(),e.createBlock(e.unref(Qn),e.mergeProps(o,{color:t.color,class:"pointer-events-none select-none"}),{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(l.value),1)]),_:1},16,["color"]))}}),Gs={key:1,class:"flex flex-col items-end gap-1"},js=e.defineComponent({__name:"DownloadButton",props:{downloadService:{type:Function},mobileIconOnly:{type:Boolean,default:!1},type:{},variant:{default:"outline"},color:{default:"gray"},size:{default:"md"},pill:{type:Boolean},square:{type:Boolean},loading:{type:Boolean},disabled:{type:Boolean},iconPrefix:{},iconSuffix:{},tag:{}},setup(t){const{$t:o}=Gn(),l=e.createPropsRestProxy(t,["downloadService","size","color","mobileIconOnly","variant"]),n=e.ref(!1),a=e.ref(!1),i=K(R).smaller("md"),r=e.computed(()=>t.mobileIconOnly&&i.value),c=async()=>{a.value=!0,n.value=!1;try{await t.downloadService()}catch{n.value=!0}finally{a.value=!1}};return(i,s)=>n.value?(e.openBlock(),e.createElementBlock("div",Gs,[n.value?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(e.unref(oo),e.mergeProps({key:0},{...l,size:t.size,color:t.color},{disabled:a.value,loading:a.value,type:"button","icon-prefix":"download",onClick:c}),e.createSlots({_:2},[i.$slots.default&&!r.value?{name:"default",fn:e.withCtx(()=>[i.$slots.default?e.renderSlot(i.$slots,"default",{key:0}):e.createCommentVNode("",!0)]),key:"0"}:void 0]),1040,["disabled","loading"])),n.value?(e.openBlock(),e.createBlock(e.unref(m),{key:1},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(o)({id:"download_button.download_failed_message",defaultMessage:"Download failed, please try again later",description:"Error message when a download fails"})),1)]),_:1})):e.createCommentVNode("",!0)])):(e.openBlock(),e.createBlock(e.unref(oo),e.mergeProps({key:0},{...l,size:t.size,color:t.color},{disabled:a.value,loading:a.value,variant:t.variant,type:"button","icon-prefix":"download",onClick:c}),e.createSlots({_:2},[i.$slots.default&&!r.value?{name:"default",fn:e.withCtx(()=>[i.$slots.default?e.renderSlot(i.$slots,"default",{key:0}):e.createCommentVNode("",!0)]),key:"0"}:void 0]),1040,["disabled","loading","variant"]))}}),Qs=e.defineComponent({__name:"ErrorHandlingProvider",props:{onError:{type:Function}},setup(t){const o=t;return e.provide(yo,o),(t,o)=>e.renderSlot(t.$slots,"default")}}),Ks=e.defineComponent({__name:"ErrorNotification",props:{title:{},description:{}},setup(t){const{formatMessage:o}=Gn(),l=t,n=e.computed(()=>l.title??o({defaultMessage:"Something went wrong",id:"error_notification.default_error_message",description:"The default message to display"}));return(t,o)=>(e.openBlock(),e.createBlock(dc,e.mergeProps({type:"danger",title:n.value},t.$attrs),null,16,["title"]))}}),Ws=["innerHTML"],Ys=e.defineComponent({__name:"IconSpriteProvider",setup(t){const o=e.ref(null);return e.onMounted(async()=>{o.value=await fetch("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='account_balance'%3e%3cpath%20d='M212-241v-339h60v339h-60Zm242%200v-339h60v339h-60ZM80-121v-60h800v60H80Zm608-120v-339h60v339h-60ZM80-640v-53l400-228%20400%20228v53H80Zm134-60h532-532Zm0%200h532L480-852%20214-700Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='account_balance_wallet'%3e%3cpath%20d='M180-233v53-600%20547Zm0%20113q-24.75%200-42.37-17.63Q120-155.25%20120-180v-600q0-24.75%2017.63-42.38Q155.25-840%20180-840h600q24.75%200%2042.38%2017.62Q840-804.75%20840-780v134h-60v-134H180v600h600v-133h60v133q0%2024.75-17.62%2042.37Q804.75-120%20780-120H180Zm358-173q-30.52%200-52.26-21.44Q464-335.89%20464-366v-227q0-30.11%2021.74-51.56Q507.48-666%20538-666h270q30.53%200%2052.26%2021.44Q882-623.11%20882-593v227q0%2030.11-21.74%2051.56Q838.53-293%20808-293H538Zm284-60v-253H524v253h298Zm-169.76-63q26.76%200%2045.26-18.96Q716-453.92%20716-481q0-26.25-19-44.63Q678-544%20652-544t-45%2018.37q-19%2018.38-19%2044.63%200%2027.08%2018.74%2046.04Q625.47-416%20652.24-416Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='add'%3e%3cpath%20d='M450-450H200v-60h250v-250h60v250h250v60H510v250h-60v-250Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='add_circle'%3e%3cpath%20d='M453-280h60v-166h167v-60H513v-174h-60v174H280v60h173v166Zm27.27%20200q-82.74%200-155.5-31.5Q252-143%20197.5-197.5t-86-127.34Q80-397.68%2080-480.5t31.5-155.66Q143-709%20197.5-763t127.34-85.5Q397.68-880%20480.5-880t155.66%2031.5Q709-817%20763-763t85.5%20127Q880-563%20880-480.27q0%2082.74-31.5%20155.5Q817-252%20763-197.68q-54%2054.31-127%2086Q563-80%20480.27-80Zm.23-60Q622-140%20721-239.5t99-241Q820-622%20721.19-721T480-820q-141%200-240.5%2098.81T140-480q0%20141%2099.5%20240.5t241%2099.5Zm-.5-340Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='alternate_email'%3e%3cpath%20d='M480-80q-83%200-156-31.5T197-197q-54-54-85.5-127T80-480q0-83%2031.5-156T197-763q54-54%20127-85.5T480-880q83%200%20156%2031.5T763-763q54%2054%2085.5%20127T880-480v53q0%2056-39.34%2094.5Q801.31-294%20744-294q-36.08%200-68.04-17.5Q644-329%20627-361q-26%2034-65.08%2050.5Q522.83-294%20480-294q-77.61%200-132.3-54Q293-402%20293-480.01q0-78.02%2054.7-133Q402.39-668%20480-668q77.6%200%20132.3%2054.99Q667-558.02%20667-480v53q0%2030.61%2022.5%2051.81Q712-354%20743.5-354t54-21.19Q820-396.39%20820-427v-53q0-142.38-98.81-241.19T480-820q-142.37%200-241.19%2098.81Q140-622.38%20140-480q0%20142.37%2098.81%20241.19Q337.63-140%20480-140h214v60H480Zm.06-274Q533-354%20570-390.75T607-480q0-54-37.06-91t-90-37Q427-608%20390-571t-37%2091q0%2052.5%2037.06%2089.25t90%2036.75Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='arrow_back'%3e%3cpath%20d='m274-450%20248%20248-42%2042-320-320%20320-320%2042%2042-248%20248h526v60H274Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='arrow_cool_down'%3e%3cpath%20d='M480-80%20200-360l42-42%20208%20208v-306h60v306l208-208%2042%2042L480-80Zm-30-480v-140h60v140h-60Zm0-200v-120h60v120h-60Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='arrow_forward'%3e%3cpath%20d='M686-450H160v-60h526L438-758l42-42%20320%20320-320%20320-42-42%20248-248Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='arrow_outward'%3e%3cpath%20d='m242-246-42-42%20412-412H234v-60h480v480h-60v-378L242-246Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='arrow_right_alt'%3e%3cpath%20d='m560-242-43-42%20168-168H160v-60h525L516-681l43-42%20241%20241-240%20240Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='article'%3e%3cpath%20d='M277-279h275v-60H277v60Zm0-171h406v-60H277v60Zm0-171h406v-60H277v60Zm-97%20501q-24%200-42-18t-18-42v-600q0-24%2018-42t42-18h600q24%200%2042%2018t18%2042v600q0%2024-18%2042t-42%2018H180Zm0-60h600v-600H180v600Zm0-600v600-600Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='automation'%3e%3cpath%20d='M283-272q-40%2034-83.5%2030.5T124-272q-32-27-42.5-69.5T98-429l82-137q-27-21-43-52.63-16-31.64-16-68.37%200-63.53%2045.24-108.76Q211.48-841%20275-841t108.76%2045.24Q429-750.53%20429-687q0%2063.53-45.24%20108.76Q338.52-533%20275-533q-10.8%200-21.6-1.5T233-539l-84%20141q-14%2023-8.82%2045.11%205.17%2022.1%2022%2036Q179-303%20201.5-301.5T244-317l433-372q40-34%2084-31t76%2030q32%2027%2042.5%2070T863-532l-81%20137q27%2021%2043%2052.63%2016%2031.64%2016%2068.37%200%2063.52-45.54%20108.76Q749.91-120%20685.96-120%20622-120%20577.5-165.24%20533-210.48%20533-274t44.5-108.76Q622-428%20686-428q10.73%200%2020.87%201%2010.13%201%2020.13%204l84-140q14-23%208.82-45.11-5.17-22.1-22-36Q781-658%20758.5-659.5T716-644L283-272Zm-7.84-321q38.84%200%2066.34-27.66t27.5-66.5q0-38.84-27.66-66.34t-66.5-27.5q-38.84%200-66.34%2027.66t-27.5%2066.5q0%2038.84%2027.66%2066.34t66.5%2027.5Zm410.97%20413q39.14%200%2067-27.66Q781-235.32%20781-274.16t-27.87-66.34q-27.86-27.5-67-27.5Q647-368%20620-340.34q-27%2027.66-27%2066.5t27%2066.34q27%2027.5%2066.13%2027.5ZM275-687Zm412%20413Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='barcode'%3e%3cpath%20d='M40-200v-560h85v560H40Zm120%200v-560h80v560h-80Zm120%200v-560h40v560h-40Zm120%200v-560h80v560h-80Zm120%200v-560h120v560H520Zm160%200v-560h40v560h-40Zm120%200v-560h120v560H800Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='barcode_scanner'%3e%3cpath%20d='M40-120v-182h60v122h122v60H40Zm697%200v-60h122v-122h60v182H737ZM153-231v-499h80v499h-80Zm121%200v-499h42v499h-42Zm122%200v-499h83v499h-83Zm125%200v-499h121v499H521Zm163%200v-499h42v499h-42Zm83%200v-499h38v499h-38ZM40-658v-182h182v60H100v122H40Zm819%200v-122H737v-60h182v182h-60Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='cached'%3e%3cpath%20d='M481-158q-131%200-225.5-94.5T161-478v-45l-80%2080-39-39%20149-149%20149%20149-39%2039-80-80v45q0%20107%2076.5%20183.5T481-218q29%200%2055-5t49-15l43%2043q-36%2020-72.5%2028.5T481-158Zm289-169L621-476l40-40%2079%2079v-41q0-107-76.5-183.5T480-738q-29%200-55%205.5T376-719l-43-43q36-20%2072.5-28t74.5-8q131%200%20225.5%2094.5T800-478v43l80-80%2039%2039-149%20149Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='calculate'%3e%3cpath%20d='M314-228h50v-88h88v-50h-88v-88h-50v88h-88v50h88v88Zm215-35h201v-49H529v49Zm0-107h201v-50H529v50Zm37-163%2061-61%2061%2061%2036-36-61-61%2061-61-36-36-61%2061-61-61-36%2036%2061%2061-61%2061%2036%2036Zm-325-72h196v-50H241v50Zm-61%20485q-24%200-42-18t-18-42v-600q0-24%2018-42t42-18h600q24%200%2042%2018t18%2042v600q0%2024-18%2042t-42%2018H180Zm0-60h600v-600H180v600Zm0-600v600-600Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='calendar_today'%3e%3cpath%20d='M180-80q-24%200-42-18t-18-42v-620q0-24%2018-42t42-18h65v-60h65v60h340v-60h65v60h65q24%200%2042%2018t18%2042v620q0%2024-18%2042t-42%2018H180Zm0-60h600v-430H180v430Zm0-490h600v-130H180v130Zm0%200v-130%20130Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='cancel'%3e%3cpath%20d='m330-288%20150-150%20150%20150%2042-42-150-150%20150-150-42-42-150%20150-150-150-42%2042%20150%20150-150%20150%2042%2042ZM480-80q-82%200-155-31.5t-127.5-86Q143-252%20111.5-325T80-480q0-83%2031.5-156t86-127Q252-817%20325-848.5T480-880q83%200%20156%2031.5T763-763q54%2054%2085.5%20127T880-480q0%2082-31.5%20155T763-197.5q-54%2054.5-127%2086T480-80Zm0-60q142%200%20241-99.5T820-480q0-142-99-241t-241-99q-141%200-240.5%2099T140-480q0%20141%2099.5%20240.5T480-140Zm0-340Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='captive_portal'%3e%3cpath%20d='M838-79%20710-207v103h-60v-206h206v60H752l128%20128-42%2043Zm-358-1q-83%200-156-31.5T197-197q-54-54-85.5-126.36T80-478q0-83.49%2031.5-156.93Q143-708.36%20197-762.68%20251-817%20324-848.5%20397-880%20480-880t156%2031.5q73%2031.5%20127%2085.82%2054%2054.32%2085.5%20127.75Q880-561.49%20880-478q0%2023-2%2044.5t-7%2043.5h-63q6-21.67%209-43.33%203-21.67%203-44.47%200-22.8-2.95-45.6-2.94-22.8-8.83-45.6H648q2%2023%204%2045.5t2%2045q0%2022.5-1.25%2044.5T649-390h-61q3-22%204.5-44t1.5-44q0-22.75-1.5-45.5T588-569H373.42q-3.42%2023-4.92%2045.5t-1.5%2045q0%2022.5%201.5%2044.5t4.5%2044h197v60H384q14%2053%2034%20104t62%2086q23%200%2045-2.5t45-7.5v60q-23%205-45%207.5T480-80ZM151.78-390H312q-2.5-22-3.75-44T307-478q0-22.75%201-45.5t3-45.5H151.71q-5.85%2022.8-8.78%2045.6-2.93%2022.8-2.93%2045.6t2.95%2044.47q2.94%2021.66%208.83%2043.33ZM172-629h149.59q11.41-48%2028.91-93.5T395-810q-71%2024-129.5%2069.5T172-629Zm222%20478q-26-41-43.5-86T323-330H172q33%2067%2091%20114t131%2065Zm-10-478h193q-13-54-36-104t-61-89q-38%2040-61%2089.5T384-629Zm255.34%200H788q-35-66-93-112t-129-68q27%2041%2044.5%2086.5t28.84%2093.5Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='change_circle'%3e%3cpath%20d='m482-200%20114-113-114-113-42%2042%2043%2043q-28%201-54.5-9T381-381q-20-20-30.5-46T340-479q0-17%204.5-34t12.5-33l-44-44q-17%2025-25%2053t-8%2057q0%2038%2015%2075t44%2066q29%2029%2065%2043.5t74%2015.5l-38%2038%2042%2042Zm165-170q17-25%2025-53t8-57q0-38-14.5-75.5T622-622q-29-29-65.5-43T482-679l38-39-42-42-114%20113%20114%20113%2042-42-44-44q27%200%2055%2010.5t48%2030.5q20%2020%2030.5%2046t10.5%2052q0%2017-4.5%2034T603-414l44%2044ZM480-80q-82%200-155-31.5t-127.5-86Q143-252%20111.5-325T80-480q0-83%2031.5-156t86-127Q252-817%20325-848.5T480-880q83%200%20156%2031.5T763-763q54%2054%2085.5%20127T880-480q0%2082-31.5%20155T763-197.5q-54%2054.5-127%2086T480-80Zm0-60q142%200%20241-99.5T820-480q0-142-99-241t-241-99q-141%200-240.5%2099T140-480q0%20141%2099.5%20240.5T480-140Zm0-340Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='check'%3e%3cpath%20d='M378-246%20154-470l43-43%20181%20181%20384-384%2043%2043-427%20427Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='check_circle'%3e%3cpath%20d='m421-298%20283-283-46-45-237%20237-120-120-45%2045%20165%20166Zm59%20218q-82%200-155-31.5t-127.5-86Q143-252%20111.5-325T80-480q0-83%2031.5-156t86-127Q252-817%20325-848.5T480-880q83%200%20156%2031.5T763-763q54%2054%2085.5%20127T880-480q0%2082-31.5%20155T763-197.5q-54%2054.5-127%2086T480-80Zm0-60q142%200%20241-99.5T820-480q0-142-99-241t-241-99q-141%200-240.5%2099T140-480q0%20141%2099.5%20240.5T480-140Zm0-340Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='check_small'%3e%3cpath%20d='M400-318%20247-471l42-42%20111%20111%20271-271%2042%2042-313%20313Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='checkbook'%3e%3cpath%20d='M237-363h335l60-60H237v60Zm0-178h231v-60H237v60Zm-97-159v439h330l-61%2061H80v-560h800v149h-60v-89H140Zm775%20220q5%205%205%2012.5t-5%2012.5l-37%2037-50-50%2039-39q5-5%2010.5-5t10.5%205l27%2027ZM530-120v-50l272-272%2050%2050-272%20272h-50ZM140-700v439-439Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='checklist'%3e%3cpath%20d='M222-214%2080-356l42-42%20100%2099%20179-179%2042%2043-221%20221Zm0-320L80-676l42-42%20100%2099%20179-179%2042%2043-221%20221Zm298%20244v-60h360v60H520Zm0-320v-60h360v60H520Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='chevron_left'%3e%3cpath%20d='M561-240%20320-481l241-241%2043%2043-198%20198%20198%20198-43%2043Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='chevron_right'%3e%3cpath%20d='M530-481%20332-679l43-43%20241%20241-241%20241-43-43%20198-198Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='close'%3e%3cpath%20d='m249-207-42-42%20231-231-231-231%2042-42%20231%20231%20231-231%2042%2042-231%20231%20231%20231-42%2042-231-231-231%20231Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='content_copy'%3e%3cpath%20d='M300-200q-24%200-42-18t-18-42v-560q0-24%2018-42t42-18h440q24%200%2042%2018t18%2042v560q0%2024-18%2042t-42%2018H300Zm0-60h440v-560H300v560ZM180-80q-24%200-42-18t-18-42v-620h60v620h500v60H180Zm120-180v-560%20560Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='copy_all'%3e%3cpath%20d='M120-240v-60h60v60h-60Zm0-160v-60h60v60h-60Zm0-160v-60h60v60h-60ZM280-80v-60h60v60h-60Zm60-160q-24%200-42-18t-18-42v-520q0-24%2018-42t42-18h400q24%200%2042%2018t18%2042v520q0%2024-18%2042t-42%2018H340Zm0-60h400v-520H340v520ZM440-80v-60h60v60h-60Zm-260%200q-24.75%200-42.37-17.63Q120-115.25%20120-140h60v60Zm420%200v-60h60q0%2025-17.62%2042.5Q624.75-80%20600-80ZM120-720q0-24.75%2017.63-42.38Q155.25-780%20180-780v60h-60Zm420%20160Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='credit_card_off'%3e%3cpath%20d='m865-181-45-45v-276H544L415-631h405v-109H306l-60-60h574q24%200%2042%2018t18%2042v520.16q0%2010.84-4%2020.84t-11%2018ZM401-474Zm162-9Zm-191-19H140v282h514L372-502ZM813-61l-99-99H140q-24%200-42-18t-18-42v-520q0-24%2018-42t42-18h20l60%2060h-80v109h103L26-848l43-43%20787%20787-43%2043Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='dark_mode'%3e%3cpath%20d='M480-120q-150%200-255-105T120-480q0-150%20105-255t255-105q8%200%2017%20.5t23%201.5q-36%2032-56%2079t-20%2099q0%2090%2063%20153t153%2063q52%200%2099-18.5t79-51.5q1%2012%201.5%2019.5t.5%2014.5q0%20150-105%20255T480-120Zm0-60q109%200%20190-67.5T771-406q-25%2011-53.67%2016.5Q688.67-384%20660-384q-114.69%200-195.34-80.66Q384-545.31%20384-660q0-24%205-51.5t18-62.5q-98%2027-162.5%20109.5T180-480q0%20125%2087.5%20212.5T480-180Zm-4-297Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='delete'%3e%3cpath%20d='M261-120q-24.75%200-42.37-17.63Q201-155.25%20201-180v-570h-41v-60h188v-30h264v30h188v60h-41v570q0%2024-18%2042t-42%2018H261Zm438-630H261v570h438v-570ZM367-266h60v-399h-60v399Zm166%200h60v-399h-60v399ZM261-750v570-570Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='description'%3e%3cpath%20d='M319-250h322v-60H319v60Zm0-170h322v-60H319v60ZM220-80q-24%200-42-18t-18-42v-680q0-24%2018-42t42-18h361l219%20219v521q0%2024-18%2042t-42%2018H220Zm331-554v-186H220v680h520v-494H551ZM220-820v186-186%20680-680Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='do_not_disturb_on'%3e%3cpath%20d='M280-453h400v-60H280v60ZM480-80q-82%200-155-31.5t-127.5-86Q143-252%20111.5-325T80-480q0-83%2031.5-156t86-127Q252-817%20325-848.5T480-880q83%200%20156%2031.5T763-763q54%2054%2085.5%20127T880-480q0%2082-31.5%20155T763-197.5q-54%2054.5-127%2086T480-80Zm0-60q142%200%20241-99.5T820-480q0-142-99-241t-241-99q-141%200-240.5%2099T140-480q0%20141%2099.5%20240.5T480-140Zm0-340Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='download'%3e%3cpath%20d='M480-313%20287-506l43-43%20120%20120v-371h60v371l120-120%2043%2043-193%20193ZM220-160q-24%200-42-18t-18-42v-143h60v143h520v-143h60v143q0%2024-18%2042t-42%2018H220Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='draft'%3e%3cpath%20d='M220-80q-24%200-42-18t-18-42v-680q0-24%2018-42t42-18h361l219%20219v521q0%2024-18%2042t-42%2018H220Zm331-554v-186H220v680h520v-494H551ZM220-820v186-186%20680-680Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='drag_indicator'%3e%3cpath%20d='M349.91-160q-28.91%200-49.41-20.59-20.5-20.59-20.5-49.5t20.59-49.41q20.59-20.5%2049.5-20.5t49.41%2020.59q20.5%2020.59%2020.5%2049.5t-20.59%2049.41q-20.59%2020.5-49.5%2020.5Zm260%200q-28.91%200-49.41-20.59-20.5-20.59-20.5-49.5t20.59-49.41q20.59-20.5%2049.5-20.5t49.41%2020.59q20.5%2020.59%2020.5%2049.5t-20.59%2049.41q-20.59%2020.5-49.5%2020.5Zm-260-250q-28.91%200-49.41-20.59-20.5-20.59-20.5-49.5t20.59-49.41q20.59-20.5%2049.5-20.5t49.41%2020.59q20.5%2020.59%2020.5%2049.5t-20.59%2049.41q-20.59%2020.5-49.5%2020.5Zm260%200q-28.91%200-49.41-20.59-20.5-20.59-20.5-49.5t20.59-49.41q20.59-20.5%2049.5-20.5t49.41%2020.59q20.5%2020.59%2020.5%2049.5t-20.59%2049.41q-20.59%2020.5-49.5%2020.5Zm-260-250q-28.91%200-49.41-20.59-20.5-20.59-20.5-49.5t20.59-49.41q20.59-20.5%2049.5-20.5t49.41%2020.59q20.5%2020.59%2020.5%2049.5t-20.59%2049.41q-20.59%2020.5-49.5%2020.5Zm260%200q-28.91%200-49.41-20.59-20.5-20.59-20.5-49.5t20.59-49.41q20.59-20.5%2049.5-20.5t49.41%2020.59q20.5%2020.59%2020.5%2049.5t-20.59%2049.41q-20.59%2020.5-49.5%2020.5Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='east'%3e%3cpath%20d='m600-200-42-42%20208-208H80v-60h686L558-718l42-42%20280%20280-280%20280Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='edit'%3e%3cpath%20d='M180-180h44l472-471-44-44-472%20471v44Zm-60%2060v-128l575-574q8-8%2019-12.5t23-4.5q11%200%2022%204.5t20%2012.5l44%2044q9%209%2013%2020t4%2022q0%2011-4.5%2022.5T823-694L248-120H120Zm659-617-41-41%2041%2041Zm-105%2064-22-22%2044%2044-22-22Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='edit_square'%3e%3cpath%20d='M180-120q-24%200-42-18t-18-42v-600q0-24%2018-42t42-18h405l-60%2060H180v600h600v-348l60-60v408q0%2024-18%2042t-42%2018H180Zm300-360ZM360-360v-170l382-382q9-9%2020-13t22-4q11%200%2022.32%204.5Q817.63-920%20827-911l83%2084q8.61%208.96%2013.3%2019.78%204.7%2010.83%204.7%2022.02%200%2011.2-4.5%2022.7T910-742L530-360H360Zm508-425-84-84%2084%2084ZM420-420h85l253-253-43-42-43-42-252%20251v86Zm295-295-43-42%2043%2042%2043%2042-43-42Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='emergency_home'%3e%3cpath%20d='M480-71q-11%200-21.96-4.43Q447.07-79.87%20438-88L88-438q-8.13-9.07-12.57-20.04Q71-469%2071-480t4.43-22.34Q79.87-513.68%2088-522l350-350q9.07-8.87%2020.04-12.93Q469-889%20480-889t22.34%204.07Q513.68-880.87%20522-872l350%20350q8.87%208.32%2012.93%2019.66Q889-491%20889-480t-4.07%2021.96Q880.87-447.07%20872-438L522-88q-8.32%208.13-19.66%2012.57Q491-71%20480-71Zm0-60%20349-349-349-349-349%20349%20349%20349Zm-30-309h60v-240h-60v240Zm30%20110q12%200%2021-9t9-21q0-12-9-21t-21-9q-12%200-21%209t-9%2021q0%2012%209%2021t21%209Zm0-150Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='error'%3e%3cpath%20d='M479.98-280q14.02%200%2023.52-9.48t9.5-23.5q0-14.02-9.48-23.52t-23.5-9.5q-14.02%200-23.52%209.48t-9.5%2023.5q0%2014.02%209.48%2023.52t23.5%209.5ZM453-433h60v-253h-60v253Zm27.27%20353q-82.74%200-155.5-31.5Q252-143%20197.5-197.5t-86-127.34Q80-397.68%2080-480.5t31.5-155.66Q143-709%20197.5-763t127.34-85.5Q397.68-880%20480.5-880t155.66%2031.5Q709-817%20763-763t85.5%20127Q880-563%20880-480.27q0%2082.74-31.5%20155.5Q817-252%20763-197.68q-54%2054.31-127%2086Q563-80%20480.27-80Zm.23-60Q622-140%20721-239.5t99-241Q820-622%20721.19-721T480-820q-141%200-240.5%2098.81T140-480q0%20141%2099.5%20240.5t241%2099.5Zm-.5-340Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='expand_all'%3e%3cpath%20d='M480-80%20240-320l44-44%20196%20196%20196-196%2044%2044L480-80ZM284-596l-44-44%20240-240%20240%20240-44%2044-196-196-196%20196Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='filter_list'%3e%3cpath%20d='M400-240v-60h160v60H400ZM240-450v-60h480v60H240ZM120-660v-60h720v60H120Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='filter_list_off'%3e%3cpath%20d='M813-61%2061-813l43-43%20752%20752-43%2043ZM595-450l-60-60h185v60H595ZM385-660l-60-60h515v60H385Zm15%20420v-60h160v60H400ZM240-450v-60h184v60H240ZM120-660v-60h94v60h-94Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='first_page'%3e%3cpath%20d='M240-240v-480h60v480h-60Zm447-3L453-477l234-234%2043%2043-191%20191%20191%20191-43%2043Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='group'%3e%3cpath%20d='M38-160v-94q0-35%2018-63.5t50-42.5q73-32%20131.5-46T358-420q62%200%20120%2014t131%2046q32%2014%2050.5%2042.5T678-254v94H38Zm700%200v-94q0-63-32-103.5T622-423q69%208%20130%2023.5t99%2035.5q33%2019%2052%2047t19%2063v94H738ZM358-481q-66%200-108-42t-42-108q0-66%2042-108t108-42q66%200%20108%2042t42%20108q0%2066-42%20108t-108%2042Zm360-150q0%2066-42%20108t-108%2042q-11%200-24.5-1.5T519-488q24-25%2036.5-61.5T568-631q0-45-12.5-79.5T519-774q11-3%2024.5-5t24.5-2q66%200%20108%2042t42%20108ZM98-220h520v-34q0-16-9.5-31T585-306q-72-32-121-43t-106-11q-57%200-106.5%2011T130-306q-14%206-23%2021t-9%2031v34Zm260-321q39%200%2064.5-25.5T448-631q0-39-25.5-64.5T358-721q-39%200-64.5%2025.5T268-631q0%2039%2025.5%2064.5T358-541Zm0%20321Zm0-411Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='group_add'%3e%3cpath%20d='M474-486q26-32%2038.5-66t12.5-79q0-45-12.5-79T474-776q76-17%20133.5%2023T665-631q0%2082-57.5%20122T474-486Zm216%20326v-94q0-51-26-95t-90-74q173%2022%20236.5%2064T874-254v94H690Zm110-289v-100H700v-60h100v-100h60v100h100v60H860v100h-60Zm-485-32q-66%200-108-42t-42-108q0-66%2042-108t108-42q66%200%20108%2042t42%20108q0%2066-42%20108t-108%2042ZM0-160v-94q0-35%2018.5-63.5T68-360q72-32%20128.5-46T315-420q62%200%20118%2014t128%2046q31%2014%2050%2042.5t19%2063.5v94H0Zm315-381q39%200%2064.5-25.5T405-631q0-39-25.5-64.5T315-721q-39%200-64.5%2025.5T225-631q0%2039%2025.5%2064.5T315-541ZM60-220h510v-34q0-16-8-30t-25-22q-69-32-117-43t-105-11q-57%200-104.5%2011T92-306q-15%207-23.5%2021.5T60-254v34Zm255-411Zm0%20411Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='handshake'%3e%3cpath%20d='M475-140q5%200%2011.5-2.5T497-149l337-338q13-13%2019.5-29.67Q860-533.33%20860-550q0-17-6.5-34T834-614L654-794q-13-13-30-19.5t-34-6.5q-16.67%200-33.33%206.5Q540-807%20527-794l-18%2018%2081%2082q13%2014%2023%2032.5t10%2040.5q0%2038-29.5%2067T526-525q-25%200-41.5-7.5t-30.19-21.34L381-627%20200-446q-5%205-7%2010.53-2%205.52-2%2011.84%200%2012.63%208.5%2021.13%208.5%208.5%2021.17%208.5%206.33%200%2011.83-3t9.5-7l138-138%2042%2042-137%20137q-5%205-7%2011t-2%2012q0%2012%209%2021t21%209q6%200%2011.5-2.5t9.5-6.5l138-138%2042%2042-137%20137q-4%204-6.5%2010.33-2.5%206.34-2.5%2012.67%200%2012%209%2021t21%209q6%200%2011-2t10-7l138-138%2042%2042-138%20138q-5%205-7%2011t-2%2011q0%2014%208%2022t22%208Zm.06%2060Q442-80%20416-104.5t-31-60.62Q351-170%20328-193t-28-57q-34-5-56.5-28.5T216-335q-37-5-61-30t-24-60q0-17%206.72-34.05Q144.45-476.1%20157-489l224-224%20110%20110q8%208%2017.33%2012.5%209.34%204.5%2018.67%204.5%2013%200%2024.5-11.5t11.5-24.65q0-5.85-3.5-13.35T548-651L405-794q-13-13-30-19.5t-34-6.5q-16.67%200-33.33%206.5-16.67%206.5-29.61%2019.36L126-642q-14%2014-19.5%2029.5t-6.5%2035q-1%2019.5%207.5%2038T128-506l-43%2043q-20-22-32.5-53T40-579q0-30%2011.5-57.5T84-685l151-151q22-22%2049.79-32.5%2027.8-10.5%2057-10.5%2029.21%200%2056.71%2010.5T448-836l18%2018%2018-18q22-22%2049.79-32.5%2027.8-10.5%2057-10.5%2029.21%200%2056.71%2010.5T697-836l179%20179q22%2022%2033%2050.03%2011%2028.04%2011%2057%200%2028.97-11%2056.47T876-444L539-107q-13%2013-29.53%2020t-34.41%207ZM377-626Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='handyman'%3e%3cpath%20d='M764-80q-6%200-11-2t-10-7L501-331q-5-5-7-10t-2-11q0-6%202-11t7-10l85-85q5-5%2010-7t11-2q6%200%2011%202t10%207l242%20242q5%205%207%2010t2%2011q0%206-2%2011t-7%2010l-85%2085q-5%205-10%207t-11%202Zm0-72%2043-43-200-200-43%2043%20200%20200ZM195-80q-6%200-11.5-2T173-89l-84-84q-5-5-7-10.5T80-195q0-6%202-11t7-10l225-225h85l38-38-175-175h-57L80-779l99-99%20125%20125v57l175%20175%20130-130-67-67%2056-56H485l-18-18%20128-128%2018%2018v113l56-56%20169%20169q15%2015%2023.5%2034.5T870-600q0%2020-6.5%2038.5T845-528l-85-85-56%2056-52-52-211%20211v84L216-89q-5%205-10%207t-11%202Zm0-72%20200-200v-43h-43L152-195l43%2043Zm0%200-43-43%2022%2021%2021%2022Zm569%200%2043-43-43%2043Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='help'%3e%3cpath%20d='M484-247q16%200%2027-11t11-27q0-16-11-27t-27-11q-16%200-27%2011t-11%2027q0%2016%2011%2027t27%2011Zm-35-146h59q0-26%206.5-47.5T555-490q31-26%2044-51t13-55q0-53-34.5-85T486-713q-49%200-86.5%2024.5T345-621l53%2020q11-28%2033-43.5t52-15.5q34%200%2055%2018.5t21%2047.5q0%2022-13%2041.5T508-512q-30%2026-44.5%2051.5T449-393Zm31%20313q-82%200-155-31.5t-127.5-86Q143-252%20111.5-325T80-480q0-83%2031.5-156t86-127Q252-817%20325-848.5T480-880q83%200%20156%2031.5T763-763q54%2054%2085.5%20127T880-480q0%2082-31.5%20155T763-197.5q-54%2054.5-127%2086T480-80Zm0-60q142%200%20241-99.5T820-480q0-142-99-241t-241-99q-141%200-240.5%2099T140-480q0%20141%2099.5%20240.5T480-140Zm0-340Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='home'%3e%3cpath%20d='M220-180h150v-250h220v250h150v-390L480-765%20220-570v390Zm-60%2060v-480l320-240%20320%20240v480H530v-250H430v250H160Zm320-353Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='info'%3e%3cpath%20d='M453-280h60v-240h-60v240Zm26.98-314q14.02%200%2023.52-9.2T513-626q0-14.45-9.48-24.22-9.48-9.78-23.5-9.78t-23.52%209.78Q447-640.45%20447-626q0%2013.6%209.48%2022.8%209.48%209.2%2023.5%209.2Zm.29%20514q-82.74%200-155.5-31.5Q252-143%20197.5-197.5t-86-127.34Q80-397.68%2080-480.5t31.5-155.66Q143-709%20197.5-763t127.34-85.5Q397.68-880%20480.5-880t155.66%2031.5Q709-817%20763-763t85.5%20127Q880-563%20880-480.27q0%2082.74-31.5%20155.5Q817-252%20763-197.68q-54%2054.31-127%2086Q563-80%20480.27-80Zm.23-60Q622-140%20721-239.5t99-241Q820-622%20721.19-721T480-820q-141%200-240.5%2098.81T140-480q0%20141%2099.5%20240.5t241%2099.5Zm-.5-340Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='inventory_2'%3e%3cpath%20d='M180-80q-24.75%200-42.37-17.63Q120-115.25%20120-140v-483q-17-6-28.5-21.39T80-680v-140q0-24.75%2017.63-42.38Q115.25-880%20140-880h680q24.75%200%2042.38%2017.62Q880-844.75%20880-820v140q0%2020.22-11.5%2035.61T840-623v483q0%2024.75-17.62%2042.37Q804.75-80%20780-80H180Zm0-540v480h600v-480H180Zm-40-60h680v-140H140v140Zm220%20260h240v-60H360v60Zm120%2040Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='key'%3e%3cpath%20d='M280-412q-28%200-48-20t-20-48q0-28%2020-48t48-20q28%200%2048%2020t20%2048q0%2028-20%2048t-48%2020Zm0%20172q-100%200-170-70T40-480q0-100%2070-170t170-70q72%200%20126%2034t85%20103h356l113%20113-167%20153-88-64-88%2064-75-60h-51q-25%2060-78.5%2098.5T280-240Zm0-60q58%200%20107-38.5t63-98.5h114l54%2045%2088-63%2082%2062%2085-79-51-51H450q-12-56-60-96.5T280-660q-75%200-127.5%2052.5T100-480q0%2075%2052.5%20127.5T280-300Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='keyboard_arrow_down'%3e%3cpath%20d='M480-344%20240-584l43-43%20197%20197%20197-197%2043%2043-240%20240Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='keyboard_arrow_up'%3e%3cpath%20d='M480-554%20283-357l-43-43%20240-240%20240%20240-43%2043-197-197Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='lab_profile'%3e%3cpath%20d='M320-490v-60h320v60H320Zm0-160v-60h320v60H320ZM220-390h320q26.43%200%2049.22%2012Q612-366%20628-346l112%20146v-620H220v430Zm0%20250h490L581-309q-7.57-9.88-18.28-15.44Q552-330%20540-330H220v190Zm520%2060H220q-24%200-42-18t-18-42v-680q0-24%2018-42t42-18h520q24%200%2042%2018t18%2042v680q0%2024-18%2042t-42%2018Zm-520-60v-680%20680Zm0-190v-60%2060Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='label'%3e%3cpath%20d='M140-160q-24.75%200-42.37-17.63Q80-195.25%2080-220v-520q0-24.75%2017.63-42.38Q115.25-800%20140-800h471q14.25%200%2027%206.37%2012.75%206.38%2021%2017.63l222%20296-221%20296q-8.25%2011.25-21%2017.62-12.75%206.38-27%206.38H140Zm0-60h471l195-260-195-260H140v520Zm236-260Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='last_page'%3e%3cpath%20d='m272-245-43-43%20192-192-192-192%2043-43%20235%20235-235%20235Zm388%205v-480h60v480h-60Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='library_add_check'%3e%3cpath%20d='m490-383%20228-228-42-41-185%20186-97-97-42%2042%20138%20138ZM260-200q-24%200-42-18t-18-42v-560q0-24%2018-42t42-18h560q24%200%2042%2018t18%2042v560q0%2024-18%2042t-42%2018H260Zm0-60h560v-560H260v560ZM140-80q-24%200-42-18t-18-42v-620h60v620h620v60H140Zm120-740v560-560Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='light_mode'%3e%3cpath%20d='M480-340q58%200%2099-41t41-99q0-58-41-99t-99-41q-58%200-99%2041t-41%2099q0%2058%2041%2099t99%2041Zm0%2060q-83%200-141.5-58.5T280-480q0-83%2058.5-141.5T480-680q83%200%20141.5%2058.5T680-480q0%2083-58.5%20141.5T480-280ZM200-450H40v-60h160v60Zm720%200H760v-60h160v60ZM450-760v-160h60v160h-60Zm0%20720v-160h60v160h-60ZM262-658l-100-97%2043-44%2096%20100-39%2041Zm494%20496-98-100%2041-41%2099%2098-42%2043Zm-99-537%2098-99%2044%2042-99%2098-43-41ZM162-205l99-98%2042%2042-98%2099-43-43Zm318-275Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='link'%3e%3cpath%20d='M450-280H280q-83%200-141.5-58.5T80-480q0-83%2058.5-141.5T280-680h170v60H280q-58.33%200-99.17%2040.76-40.83%2040.77-40.83%2099Q140-422%20180.83-381q40.84%2041%2099.17%2041h170v60ZM325-450v-60h310v60H325Zm185%20170v-60h170q58.33%200%2099.17-40.76%2040.83-40.77%2040.83-99Q820-538%20779.17-579q-40.84-41-99.17-41H510v-60h170q83%200%20141.5%2058.5T880-480q0%2083-58.5%20141.5T680-280H510Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='local_activity'%3e%3cpath%20d='m376-318%20104-81%20104%2081-40-128%2098-82H522l-42-122-42%20122H318l98%2082-40%20128ZM140-160q-25%200-42.5-17.5T80-220v-132q0-10%205.5-17.5T100-380q31-11%2048.5-39.5T166-480q0-31-17.5-60T100-580q-9-3-14.5-10.5T80-608v-132q0-25%2017.5-42.5T140-800h680q25%200%2042.5%2017.5T880-740v132q0%2010-5.5%2017.5T860-580q-31%2011-48.5%2040T794-480q0%2032%2017.5%2060.5T860-380q9%203%2014.5%2010.5T880-352v132q0%2025-17.5%2042.5T820-160H140Zm0-60h680v-109q-38-26-62-65t-24-86q0-47%2024-86t62-65v-109H140v109q39%2026%2062.5%2065t23.5%2086q0%2047-23.5%2086T140-329v109Zm340-260Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='local_activity-fill'%3e%3cpath%20d='m376-318%20104-81%20104%2081-40-128%2098-82H522l-42-122-42%20122H318l98%2082-40%20128ZM140-160q-25%200-42.5-17.5T80-220v-132q0-10%205.5-17.5T100-380q31-11%2048.5-39.5T166-480q0-31-17.5-60T100-580q-9-3-14.5-10.5T80-608v-132q0-25%2017.5-42.5T140-800h680q25%200%2042.5%2017.5T880-740v132q0%2010-5.5%2017.5T860-580q-31%2011-48.5%2040T794-480q0%2032%2017.5%2060.5T860-380q9%203%2014.5%2010.5T880-352v132q0%2025-17.5%2042.5T820-160H140Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='lock'%3e%3cpath%20d='M220-80q-24.75%200-42.37-17.63Q160-115.25%20160-140v-434q0-24.75%2017.63-42.38Q195.25-634%20220-634h70v-96q0-78.85%2055.61-134.42Q401.21-920%20480.11-920q78.89%200%20134.39%2055.58Q670-808.85%20670-730v96h70q24.75%200%2042.38%2017.62Q800-598.75%20800-574v434q0%2024.75-17.62%2042.37Q764.75-80%20740-80H220Zm0-60h520v-434H220v434Zm260.17-140q31.83%200%2054.33-22.03T557-355q0-30-22.67-54.5t-54.5-24.5q-31.83%200-54.33%2024.5t-22.5%2055q0%2030.5%2022.67%2052.5t54.5%2022ZM350-634h260v-96q0-54.17-37.88-92.08-37.88-37.92-92-37.92T388-822.08q-38%2037.91-38%2092.08v96ZM220-140v-434%20434Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='lock_open'%3e%3cpath%20d='M220-634h390v-96q0-54.17-37.88-92.08-37.88-37.92-92-37.92T388-822.08q-38%2037.91-38%2092.08h-60q0-79%2055.61-134.5%2055.6-55.5%20134.5-55.5%2078.89%200%20134.39%2055.58Q670-808.85%20670-730v96h70q24.75%200%2042.38%2017.62Q800-598.75%20800-574v434q0%2024.75-17.62%2042.37Q764.75-80%20740-80H220q-24.75%200-42.37-17.63Q160-115.25%20160-140v-434q0-24.75%2017.63-42.38Q195.25-634%20220-634Zm0%20494h520v-434H220v434Zm260.17-140q31.83%200%2054.33-22.03T557-355q0-30-22.67-54.5t-54.5-24.5q-31.83%200-54.33%2024.5t-22.5%2055q0%2030.5%2022.67%2052.5t54.5%2022ZM220-140v-434%20434Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='more_horiz'%3e%3cpath%20d='M207.86-432Q188-432%20174-446.14t-14-34Q160-500%20174.14-514t34-14Q228-528%20242-513.86t14%2034Q256-460%20241.86-446t-34%2014Zm272%200Q460-432%20446-446.14t-14-34Q432-500%20446.14-514t34-14Q500-528%20514-513.86t14%2034Q528-460%20513.86-446t-34%2014Zm272%200Q732-432%20718-446.14t-14-34Q704-500%20718.14-514t34-14Q772-528%20786-513.86t14%2034Q800-460%20785.86-446t-34%2014Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='more_vert'%3e%3cpath%20d='M479.86-160Q460-160%20446-174.14t-14-34Q432-228%20446.14-242t34-14Q500-256%20514-241.86t14%2034Q528-188%20513.86-174t-34%2014Zm0-272Q460-432%20446-446.14t-14-34Q432-500%20446.14-514t34-14Q500-528%20514-513.86t14%2034Q528-460%20513.86-446t-34%2014Zm0-272Q460-704%20446-718.14t-14-34Q432-772%20446.14-786t34-14Q500-800%20514-785.86t14%2034Q528-732%20513.86-718t-34%2014Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='multiple_stop'%3e%3cpath%20d='M282-160%20120-322l162-162%2042%2042-90%2090h286v60H234l90%2090-42%2042Zm328-132q-12%200-21-9t-9-21q0-13%209-21.5t21-8.5q13%200%2021.5%208.5T640-322q0%2012-8.5%2021t-21.5%209Zm120%200q-12%200-21-9t-9-21q0-13%209-21.5t21-8.5q13%200%2021.5%208.5T760-322q0%2012-8.5%2021t-21.5%209Zm-52-184-42-42%2090-90H440v-60h286l-90-90%2042-42%20162%20162-162%20162ZM230-608q-12%200-21-9t-9-21q0-13%209-21.5t21-8.5q13%200%2021.5%208.5T260-638q0%2012-8.5%2021t-21.5%209Zm120%200q-12%200-21-9t-9-21q0-13%209-21.5t21-8.5q13%200%2021.5%208.5T380-638q0%2012-8.5%2021t-21.5%209Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='north'%3e%3cpath%20d='M450-80v-686L242-558l-42-42%20280-280%20280%20280-42%2042-208-208v686h-60Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='north_east'%3e%3cpath%20d='m202-160-42-42%20498-498H364v-60h396v396h-60v-294L202-160Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='notifications_active'%3e%3cpath%20d='M120-566q0-90%2040-165t107-125l36%2048q-56%2042-89.5%20104.5T180-566h-60Zm660%200q0-75-33.5-137.5T657-808l36-48q67%2050%20107%20125t40%20165h-60ZM160-200v-60h80v-304q0-84%2049.5-150.5T420-798v-22q0-25%2017.5-42.5T480-880q25%200%2042.5%2017.5T540-820v22q81%2017%20130.5%2083.5T720-564v304h80v60H160Zm320-302Zm0%20422q-33%200-56.5-23.5T400-160h160q0%2033-23.5%2056.5T480-80ZM300-260h360v-304q0-75-52.5-127.5T480-744q-75%200-127.5%2052.5T300-564v304Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='open_in_new'%3e%3cpath%20d='M180-120q-24%200-42-18t-18-42v-600q0-24%2018-42t42-18h279v60H180v600h600v-279h60v279q0%2024-18%2042t-42%2018H180Zm202-219-42-43%20398-398H519v-60h321v321h-60v-218L382-339Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='person'%3e%3cpath%20d='M480-481q-66%200-108-42t-42-108q0-66%2042-108t108-42q66%200%20108%2042t42%20108q0%2066-42%20108t-108%2042ZM160-160v-94q0-38%2019-65t49-41q67-30%20128.5-45T480-420q62%200%20123%2015.5t127.92%2044.69q31.3%2014.13%2050.19%2040.97Q800-292%20800-254v94H160Zm60-60h520v-34q0-16-9.5-30.5T707-306q-64-31-117-42.5T480-360q-57%200-111%2011.5T252-306q-14%207-23%2021.5t-9%2030.5v34Zm260-321q39%200%2064.5-25.5T570-631q0-39-25.5-64.5T480-721q-39%200-64.5%2025.5T390-631q0%2039%2025.5%2064.5T480-541Zm0-90Zm0%20411Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='person_add'%3e%3cpath%20d='M730-400v-130H600v-60h130v-130h60v130h130v60H790v130h-60Zm-370-81q-66%200-108-42t-42-108q0-66%2042-108t108-42q66%200%20108%2042t42%20108q0%2066-42%20108t-108%2042ZM40-160v-94q0-35%2017.5-63.5T108-360q75-33%20133.34-46.5t118.5-13.5Q420-420%20478-406.5T611-360q33%2015%2051%2043t18%2063v94H40Zm60-60h520v-34q0-16-9-30.5T587-306q-71-33-120-43.5T360-360q-58%200-107.5%2010.5T132-306q-15%207-23.5%2021.5T100-254v34Zm260-321q39%200%2064.5-25.5T450-631q0-39-25.5-64.5T360-721q-39%200-64.5%2025.5T270-631q0%2039%2025.5%2064.5T360-541Zm0-90Zm0%20411Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='person_pin'%3e%3cpath%20d='M480-40%20359-161H180q-24%200-42-18t-18-42v-600q0-24.75%2018-42.38Q156-881%20180-881h600q24%200%2042%2017.62%2018%2017.63%2018%2042.38v600q0%2024-18%2042t-42%2018H601L480-40ZM180-258q60-56%20135.9-90.5%2075.89-34.5%20164-34.5%2088.1%200%20164.1%2034.5T780-258v-563H180v563Zm302-204q58%200%2098-40t40-98q0-58-40-98t-98-40q-58%200-98%2040t-40%2098q0%2058%2040%2098t98%2040ZM235-221h490v-9q-54-46-116-69.5T480-323q-67%200-129%2023.5T235-230v9Zm247-301q-32.5%200-55.25-22.75T404-600q0-32.5%2022.75-55.25T482-678q32.5%200%2055.25%2022.75T560-600q0%2032.5-22.75%2055.25T482-522Zm-2-18Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='person_remove'%3e%3cpath%20d='M648-542v-60h232v60H648Zm-288%2061q-66%200-108-42t-42-108q0-66%2042-108t108-42q66%200%20108%2042t42%20108q0%2066-42%20108t-108%2042ZM40-160v-94q0-35%2017.5-63.5T108-360q75-33%20133.34-46.5t118.5-13.5Q420-420%20478-406.5T611-360q33%2015%2051%2043t18%2063v94H40Zm60-60h520v-34q0-16-9-30.5T587-306q-71-33-120-43.5T360-360q-58%200-107.5%2010.5T132-306q-15%207-23.5%2021.5T100-254v34Zm260-321q39%200%2064.5-25.5T450-631q0-39-25.5-64.5T360-721q-39%200-64.5%2025.5T270-631q0%2039%2025.5%2064.5T360-541Zm0-90Zm0%20411Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='question_mark'%3e%3cpath%20d='M431-330q1-72%2016.5-105t58.5-72q42-38%2064.5-70.5T593-647q0-45-30-75t-84-30q-52%200-80%2029.5T358-661l-84-37q22-59%2074.5-100.5T479-840q100%200%20154%2055.5T687-651q0%2048-20.5%2087T601-482q-49%2047-59%2072t-11%2080H431Zm48%20250q-29%200-49.5-20.5T409-150q0-29%2020.5-49.5T479-220q29%200%2049.5%2020.5T549-150q0%2029-20.5%2049.5T479-80Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='receipt_long'%3e%3cpath%20d='M222-80q-43.75%200-74.37-30.63Q117-141.25%20117-185v-125h127v-570l59.8%2060%2059.8-60%2059.8%2060%2059.8-60%2059.8%2060%2060-60%2060%2060%2060-60%2060%2060%2060-60v695q0%2043.75-30.62%2074.37Q781.75-80%20738-80H222Zm516-60q20%200%2032.5-12.5T783-185v-595H304v470h389v125q0%2020%2012.5%2032.5T738-140ZM357-622v-60h240v60H357Zm0%20134v-60h240v60H357Zm333-134q-12%200-21-9t-9-21q0-12%209-21t21-9q12%200%2021%209t9%2021q0%2012-9%2021t-21%209Zm0%20129q-12%200-21-9t-9-21q0-12%209-21t21-9q12%200%2021%209t9%2021q0%2012-9%2021t-21%209ZM221-140h412v-110H177v65q0%2020%2012.65%2032.5T221-140Zm-44%200v-110%20110Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='refresh'%3e%3cpath%20d='M480-160q-133%200-226.5-93.5T160-480q0-133%2093.5-226.5T480-800q85%200%20149%2034.5T740-671v-129h60v254H546v-60h168q-38-60-97-97t-137-37q-109%200-184.5%2075.5T220-480q0%20109%2075.5%20184.5T480-220q83%200%20152-47.5T728-393h62q-29%20105-115%20169t-195%2064Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='remove'%3e%3cpath%20d='M200-450v-60h560v60H200Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='remove_shopping_cart'%3e%3cpath%20d='M381-656v-60h227v60H381ZM289.79-80Q260-80%20239-101.21t-21-51Q218-182%20239.21-203t51-21Q320-224%20341-202.79t21%2051Q362-122%20340.79-101t-51%2021Zm404%200Q664-80%20643-101.21t-21-51Q622-182%20643.21-203t51-21Q724-224%20745-202.79t21%2051Q766-122%20744.79-101t-51%2021ZM62-820v-60h116l170%20364h287.71L796-796h67L701-493q-11%2019-28.56%2030.5T634-451H331l-56%20104h491v60H284q-37.66%200-57.33-30T224-378l64-118-148-324H62Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='replay'%3e%3cpath%20d='M480-80q-75%200-140.5-28T225-185q-49-49-77-114.5T120-440h60q0%20125%2087.5%20212.5T480-140q125%200%20212.5-87.5T780-440q0-125-85-212.5T485-740h-23l73%2073-41%2042-147-147%20147-147%2041%2041-78%2078h23q75%200%20140.5%2028T735-695q49%2049%2077%20114.5T840-440q0%2075-28%20140.5T735-185q-49%2049-114.5%2077T480-80Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='right_panel_open'%3e%3cpath%20d='M433-344v-272L297-480l136%20136ZM180-120q-24.75%200-42.37-17.63Q120-155.25%20120-180v-600q0-24.75%2017.63-42.38Q155.25-840%20180-840h600q24.75%200%2042.38%2017.62Q840-804.75%20840-780v600q0%2024.75-17.62%2042.37Q804.75-120%20780-120H180Zm453-60h147v-600H633v600Zm-60%200v-600H180v600h393Zm60%200h147-147Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='search'%3e%3cpath%20d='M796-121%20533-384q-30%2026-69.96%2040.5Q423.08-329%20378-329q-108.16%200-183.08-75Q120-479%20120-585t75-181q75-75%20181.5-75t181%2075Q632-691%20632-584.85%20632-542%20618-502q-14%2040-42%2075l264%20262-44%2044ZM377-389q81.25%200%20138.13-57.5Q572-504%20572-585t-56.87-138.5Q458.25-781%20377-781q-82.08%200-139.54%2057.5Q180-666%20180-585t57.46%20138.5Q294.92-389%20377-389Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='search_insights'%3e%3cpath%20d='M400.06-300Q508-300%20584.5-376.13%20661-452.25%20661-561q0-107.92-76.5-183.46T400.06-820q-107.94%200-183.5%2075.54T141-561q0%20108.75%2075.56%20184.87Q292.12-300%20400.06-300ZM371-448v-267h60v267h-60Zm-145%200v-184h60v184h-60Zm290%200v-143h60v143h-60ZM838-80%20605-314q-42%2035-94.24%2054.5Q458.51-240%20400-240q-133%200-226-93.5T81-560.7q0-133.71%2092.8-226.5Q266.59-880%20400.3-880q133.7%200%20227.2%2093T721-561q0%2058.51-19.5%20110.76Q682-398%20647-356l233%20233-42%2043Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='sell'%3e%3cpath%20d='M863-404%20557-97q-9%208.5-20.25%2012.75T514.25-80Q503-80%20492-84.5T472-97L98-472q-8-8-13-18.96-5-10.95-5-23.04v-306q0-24.75%2017.63-42.38Q115.25-880%20140-880h307q12.07%200%2023.39%204.87Q481.7-870.25%20490-862l373%20373q9.39%209%2013.7%2020.25%204.3%2011.25%204.3%2022.5t-4.5%2022.75Q872-412%20863-404ZM516-138l306-307-375-375H140v304l376%20378ZM245-664q21%200%2036.5-15.5T297-716q0-21-15.5-36.5T245-768q-21%200-36.5%2015.5T193-716q0%2021%2015.5%2036.5T245-664Zm236%20185Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='send'%3e%3cpath%20d='M120-160v-640l760%20320-760%20320Zm60-93%20544-227-544-230v168l242%2062-242%2060v167Zm0%200v-457%20457Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='settings'%3e%3cpath%20d='m388-80-20-126q-19-7-40-19t-37-25l-118%2054-93-164%20108-79q-2-9-2.5-20.5T185-480q0-9%20.5-20.5T188-521L80-600l93-164%20118%2054q16-13%2037-25t40-18l20-127h184l20%20126q19%207%2040.5%2018.5T669-710l118-54%2093%20164-108%2077q2%2010%202.5%2021.5t.5%2021.5q0%2010-.5%2021t-2.5%2021l108%2078-93%20164-118-54q-16%2013-36.5%2025.5T592-206L572-80H388Zm48-60h88l14-112q33-8%2062.5-25t53.5-41l106%2046%2040-72-94-69q4-17%206.5-33.5T715-480q0-17-2-33.5t-7-33.5l94-69-40-72-106%2046q-23-26-52-43.5T538-708l-14-112h-88l-14%20112q-34%207-63.5%2024T306-642l-106-46-40%2072%2094%2069q-4%2017-6.5%2033.5T245-480q0%2017%202.5%2033.5T254-413l-94%2069%2040%2072%20106-46q24%2024%2053.5%2041t62.5%2025l14%20112Zm44-210q54%200%2092-38t38-92q0-54-38-92t-92-38q-54%200-92%2038t-38%2092q0%2054%2038%2092t92%2038Zm0-130Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='shopping_cart'%3e%3cpath%20d='M286.79-81Q257-81%20236-102.21t-21-51Q215-183%20236.21-204t51-21Q317-225%20338-203.79t21%2051Q359-123%20337.79-102t-51%2021Zm400%200Q657-81%20636-102.21t-21-51Q615-183%20636.21-204t51-21Q717-225%20738-203.79t21%2051Q759-123%20737.79-102t-51%2021ZM235-741l110%20228h288l125-228H235Zm-30-60h589.07q22.97%200%2034.95%2021%2011.98%2021-.02%2042L694-495q-11%2019-28.56%2030.5T627-453H324l-56%20104h491v60H277q-42%200-60.5-28t.5-63l64-118-152-322H51v-60h117l37%2079Zm140%20288h288-288Z'/%3e%3c/symbol%3e%3csymbol%20fill='currentColor'%20viewBox='0%200%2015%2013'%20id='signature'%3e%3cpath%20d='M8.05%206.483c.811-.6%201.444-1.258%201.9-1.975.456-.716.683-1.43.683-2.141%200-.356-.058-.617-.175-.784a.55.55%200%200%200-.475-.25c-.522%200-.983.442-1.383%201.325-.4.884-.6%201.88-.6%202.992%200%20.156.003.303.008.442.006.139.02.27.042.391ZM.667%2012.667v-1.334H2v1.334H.667Zm2.666%200v-1.334h1.334v1.334H3.333Zm2.667%200v-1.334h1.333v1.334H6Zm2.667%200v-1.334H10v1.334H8.667Zm2.666%200v-1.334h1.334v1.334h-1.334ZM.933%2010%200%209.067%201.067%208%200%206.933.933%206%202%207.067%203.067%206%204%206.933%202.933%208%204%209.067%203.067%2010%202%208.933.933%2010Zm8.034-.667c-.334%200-.64-.064-.917-.191a1.777%201.777%200%200%201-.717-.625%208.15%208.15%200%200%201-.858.416c-.294.123-.597.245-.908.367L5.1%208.05a11.923%2011.923%200%200%200%201.717-.767%206.366%206.366%200%200%201-.125-.8%209.779%209.779%200%200%201-.042-.933c0-1.6.317-2.925.95-3.975C8.233.525%209.028%200%209.983%200c.578%200%201.05.214%201.417.642.367.427.55%201.025.55%201.791%200%20.956-.303%201.9-.908%202.834-.606.933-1.448%201.772-2.525%202.516a.859.859%200%200%200%20.241.175c.084.04.17.059.259.059.289%200%20.625-.184%201.008-.55.383-.367.73-.85%201.042-1.45l1.216.566a3.183%203.183%200%200%200-.183.684c-.044.266-.039.5.017.7.11-.056.241-.15.391-.284.15-.133.303-.3.459-.5l1.05.817c-.29.4-.623.722-1%20.967-.378.244-.728.366-1.05.366-.234%200-.442-.07-.625-.208-.184-.139-.336-.353-.459-.642a3.725%203.725%200%200%201-.95.634%202.346%202.346%200%200%201-.966.216Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='skip_next'%3e%3cpath%20d='M680-240v-480h60v480h-60Zm-460%200v-480l346%20240-346%20240Zm60-240Zm0%20125%20181-125-181-125v250Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='south'%3e%3cpath%20d='M480-80%20200-360l42-42%20208%20208v-686h60v686l208-208%2042%2042L480-80Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='south_east'%3e%3cpath%20d='M364-200v-60h294L160-758l42-42%20498%20498v-294h60v396H364Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='speed'%3e%3cpath%20d='M407-325q23%2023%2066.5%2021.5T537-336l216-339-335%20219q-30%2020-32%2064t21%2067Zm71-474q57%200%20119%2018.5T716-717l-52%2037q-45-30-96.5-44.5T477.98-739q-140.47%200-239.23%20100.22Q140-538.57%20140-396.02%20140-351%20152.5-305q12.5%2046%2035.5%2085h579q22-36%2035-84t13-94q0-42-12.5-90.5T758-578l39-52q38%2056%2057%20112.5T875-404q2%2060-12%20113t-41%2098q-12%2023-25.5%2028t-33.5%205H192q-17%200-33.5-8.5T134-193q-26-48-40-97.5T80-396q0-83%2031.5-156.5t85.5-128Q251-735%20323.68-767T478-799Zm-9%20331Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='stacked_email'%3e%3cpath%20d='M220-240q-24%200-42-18.5T160-300v-480q0-24%2018-42t42-18h640q24%200%2042%2018t18%2042v480q0%2023-18%2041.5T860-240H220Zm320-200L220-706v406h640v-406L540-440Zm0-79%20315-261H225l315%20261ZM100-120q-24%200-42-18.5T40-180v-559h60v559h720v60H100Zm760-586v-74H220v74-74h640v74Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='style'%3e%3cpath%20d='m152-145-23-7q-32-14-43.5-48t6.5-67l60-136v258Zm186%2078q-34%200-58-24t-24-58v-207l92%20262q2%208%206%2014t10%2013h-26Zm188-24q-21%209-44-4t-33-36L258-650q-10-23%202-45t37-32l318-115q23-8%2045%204t32%2036l191%20513q7%2025-3%2049t-35%2033L526-91Zm-82-495q12%200%2021-9t9-21q0-12-9-21t-21-9q-12%200-21%209t-9%2021q0%2012%209%2021t21%209Zm63%20437%20318-116-191-519-318%20115%20191%20520ZM316-669l318-115-318%20115Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='terminal'%3e%3cpath%20d='M140-160q-24%200-42-18t-18-42v-520q0-24%2018-42t42-18h680q24%200%2042%2018t18%2042v520q0%2024-18%2042t-42%2018H140Zm0-60h680v-436H140v436Zm160-72-42-42%20103-104-104-104%2043-42%20146%20146-146%20146Zm190%204v-60h220v60H490Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='title'%3e%3cpath%20d='M430-160v-540H200v-100h560v100H530v540H430Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='toggle_on'%3e%3cpath%20d='M280-240q-100%200-170-70T40-480q0-100%2070-170t170-70h400q100%200%20170%2070t70%20170q0%20100-70%20170t-170%2070H280Zm0-60h400q75%200%20127.5-52.5T860-480q0-75-52.5-127.5T680-660H280q-75%200-127.5%2052.5T100-480q0%2075%2052.5%20127.5T280-300Zm400.94-79q42.06%200%2071.56-29.44t29.5-71.5q0-42.06-29.44-71.56t-71.5-29.5q-42.06%200-71.56%2029.44t-29.5%2071.5q0%2042.06%2029.44%2071.56t71.5%2029.5ZM480-480Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='undo'%3e%3cpath%20d='M259-200v-60h310q70%200%20120.5-46.5T740-422q0-69-50.5-115.5T569-584H274l114%20114-42%2042-186-186%20186-186%2042%2042-114%20114h294q95%200%20163.5%2064T800-422q0%2094-68.5%20158T568-200H259Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='unfold_less'%3e%3cpath%20d='m343-160-43-43%20180-180%20180%20180-43%2043-137-137-137%20137Zm137-417L300-757l43-43%20137%20137%20137-137%2043%2043-180%20180Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='unfold_more'%3e%3cpath%20d='M480-120%20300-300l44-44%20136%20136%20136-136%2044%2044-180%20180ZM344-612l-44-44%20180-180%20180%20180-44%2044-136-136-136%20136Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='upload_file'%3e%3cpath%20d='M452-202h60v-201l82%2082%2042-42-156-152-154%20154%2042%2042%2084-84v201ZM220-80q-24%200-42-18t-18-42v-680q0-24%2018-42t42-18h361l219%20219v521q0%2024-18%2042t-42%2018H220Zm331-554v-186H220v680h520v-494H551ZM220-820v186-186%20680-680Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='view_week'%3e%3cpath%20d='M140-220h187v-520H140v520Zm247%200h186v-520H387v520Zm246%200h187v-520H633v520Zm-493%2060q-24%200-42-18t-18-42v-520q0-24%2018-42t42-18h680q24%200%2042%2018t18%2042v520q0%2024-18%2042t-42%2018H140Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='visibility'%3e%3cpath%20d='M480.12-330q70.88%200%20120.38-49.62t49.5-120.5q0-70.88-49.62-120.38T479.88-670Q409-670%20359.5-620.38T310-499.88q0%2070.88%2049.62%20120.38t120.5%2049.5Zm-.36-58q-46.76%200-79.26-32.74-32.5-32.73-32.5-79.5%200-46.76%2032.74-79.26%2032.73-32.5%2079.5-32.5%2046.76%200%2079.26%2032.74%2032.5%2032.73%2032.5%2079.5%200%2046.76-32.74%2079.26-32.73%2032.5-79.5%2032.5Zm.24%20188q-146%200-264-83T40-500q58-134%20176-217t264-83q146%200%20264%2083t176%20217q-58%20134-176%20217t-264%2083Zm0-300Zm-.17%20240Q601-260%20702.5-325.5%20804-391%20857-500q-53-109-154.33-174.5Q601.34-740%20480.17-740T257.5-674.5Q156-609%20102-500q54%20109%20155.33%20174.5Q358.66-260%20479.83-260Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='warning'%3e%3cpath%20d='m40-120%20440-760%20440%20760H40Zm104-60h672L480-760%20144-180Zm340.18-57q12.82%200%2021.32-8.68%208.5-8.67%208.5-21.5%200-12.82-8.68-21.32-8.67-8.5-21.5-8.5-12.82%200-21.32%208.68-8.5%208.67-8.5%2021.5%200%2012.82%208.68%2021.32%208.67%208.5%2021.5%208.5ZM454-348h60v-224h-60v224Zm26-122Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='west'%3e%3cpath%20d='M360-200%2080-480l280-280%2042%2042-208%20208h686v60H194l208%20208-42%2042Z'/%3e%3c/symbol%3e%3c/svg%3e").then(e=>e.text())}),(t,l)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[o.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:"hidden",innerHTML:o.value},null,8,Ws)):e.createCommentVNode("",!0),e.renderSlot(t.$slots,"default")],64))}}),Xs={class:"grow text-ellipsis overflow-hidden"},Js=e.defineComponent({__name:"IconTitle",props:{title:{},subTitle:{},icon:{},variant:{default:"default"},suffix:{},size:{default:"md"},avatar:{type:Boolean,default:!1},uppercase:{type:Boolean,default:!0},resourceId:{}},setup(t){const l=t,n=e.computed(()=>{switch(l.variant){case"transparent":return"";case"warning":return"bg-gradient-to-br backdrop-blur-sm from-orange-600/20 to-yellow-200/20";case"neutral":return"bg-neutral-100";default:return"bg-gradient-to-br backdrop-blur-sm from-peach-100/20 to-mint-100/20"}});return(l,a)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["flex items-center",{"gap-4":["md","lg"].includes(t.size),"gap-3":"sm"===t.size,"gap-2":"xs"===t.size&&"transparent"!==t.variant,"gap-1":"xs"===t.size&&"transparent"===t.variant}])},[t.icon?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass([{[n.value]:!0,"w-9 h-9":["md","lg"].includes(t.size),"w-8 h-8":"sm"===t.size,"w-6 h-6":"xs"===t.size},"rounded-md flex items-center justify-center shrink-0"])},[t.icon?(e.openBlock(),e.createBlock(e.unref(w),{key:0,size:["sm","xs"].includes(t.size)?"xs":"md",icon:t.icon},null,8,["size","icon"])):e.createCommentVNode("",!0)],2)):e.createCommentVNode("",!0),t.avatar&&t.title?(e.openBlock(),e.createBlock(e.unref(uc),{key:1,initials:t.title.slice(0,1),"color-hash":t.title,size:["sm","xs"].includes(t.size)?"lg":"xl"},null,8,["initials","color-hash","size"])):e.createCommentVNode("",!0),e.createElementVNode("div",Xs,[t.title||l.$slots.default?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass([{"text-3xl":"lg"===t.size,"text-2xl":"md"===t.size,"text-base":"sm"===t.size,"text-xs text-gray-600":"xs"===t.size,"text-gray-900":"xs"!==t.size,uppercase:"xs"===t.size&&t.uppercase},"flex font-semibold items-center"])},[e.renderSlot(l.$slots,"prefix"),e.renderSlot(l.$slots,"default",{},()=>[e.createTextVNode(e.toDisplayString(t.title),1)]),e.renderSlot(l.$slots,"suffix",{},()=>[e.createTextVNode(e.toDisplayString(t.suffix),1)])],2)):e.createCommentVNode("",!0),t.subTitle||l.$slots.subTitle&&!e.unref(bi)(l.$slots.subTitle({}))?(e.openBlock(),e.createBlock(e.unref(o),{key:1,variant:"body-sm",shade:"lighter"},{default:e.withCtx(()=>[e.renderSlot(l.$slots,"subTitle",{},()=>[e.createTextVNode(e.toDisplayString(t.subTitle),1)])]),_:3})):e.createCommentVNode("",!0)])],2))}}),ed={class:"flex items-start gap-2"},td=e.defineComponent({__name:"InfoBlock",props:{variant:{default:"default"},hasIcon:{type:Boolean}},setup(t){const o={default:"info",warning:"error",danger:"error"};return(l,n)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["px-4 py-3 rounded border text-sm flex justify-between items-center gap-2",{"bg-blue-50 border-blue-100 text-blue-700":"default"===t.variant,"bg-red-50 border-red-100 text-red-700":"danger"===t.variant,"bg-yellow-50 border-yellow-100 text-yellow-700":"warning"===t.variant}])},[e.createElementVNode("div",ed,[t.hasIcon?(e.openBlock(),e.createBlock(e.unref(w),{key:0,icon:o[t.variant],size:"xs",class:"shrink-0"},null,8,["icon"])):e.createCommentVNode("",!0),e.createElementVNode("div",null,[e.renderSlot(l.$slots,"default")])]),e.createElementVNode("div",null,[e.renderSlot(l.$slots,"cta")])],2))}}),od=e.defineComponent({__name:"IntlProvider",props:{locale:{},dateLocale:{},messages:{},showTimezones:{type:Boolean,default:!0}},setup(t){const o=t;return e.provide(Zn,(({locale:t,dateLocale:o,messages:l})=>{const{onError:n}=bo(),a=e.computed(()=>t.value||"en-US"),i=e.computed(()=>o.value||a.value),r=e.computed(()=>({...ko,...l.value})),c=Ln({locale:a.value,messages:r.value},Un);e.watch(a,e=>{c.locale=e}),e.watch(r,e=>{c.messages=e});const s=({id:e,defaultMessage:t,description:o},l)=>c.formatMessage({id:e,defaultMessage:t,description:o},l),d=e=>{const t={year:"numeric",month:"2-digit",day:"2-digit",timeZone:e.timezone&&xo(e.timezone)},o=Fn(i.value)?{...t,month:"short",day:"numeric"}:t,l=Fn(i.value)?{...Rn,hour12:!0}:Rn;try{switch(e.format){case"date":return new Intl.DateTimeFormat(i.value,o).format(new Date(e.date));case"dateTime":return new Intl.DateTimeFormat(i.value,{...o,...l}).format(new Date(e.date))}}catch(a){return null==n||n(new Error("Failed to format date",{cause:a})),d({...e,timezone:void 0,offsetType:"local",format:"dateTime"})}};return{...c,$t:s,formatMessage:s,formatDate:d}})({locale:e.computed(()=>o.locale),dateLocale:e.computed(()=>o.dateLocale),messages:e.computed(()=>o.messages)})),(t,o)=>e.renderSlot(t.$slots,"default")}}),ld={class:"w-full table-fixed"};const nd=h({},[["render",function(t,o){return e.openBlock(),e.createElementBlock("table",ld,[e.renderSlot(t.$slots,"default")])}]]),ad=e.defineComponent({__name:"InvoiceTableData",props:{number:{type:Boolean,default:!1},hasPadding:{type:Boolean,default:!0}},setup:t=>(o,l)=>(e.openBlock(),e.createElementBlock("td",{class:e.normalizeClass({"text-right tabular-nums":t.number,"py-2":t.hasPadding})},[e.renderSlot(o.$slots,"default")],2))}),id=e.defineComponent({__name:"InvoiceTableHeader",props:{left:{type:Boolean,default:!1},right:{type:Boolean,default:!1}},setup:t=>(o,l)=>(e.openBlock(),e.createElementBlock("th",{class:e.normalizeClass(["py-1.5 font-bold border-b text-gray-400 text-xs uppercase",{"text-left":t.left,"text-right":t.right}])},[e.renderSlot(o.$slots,"default")],2))}),rd={class:"flex items-center"},cd={key:0,class:"text-xs text-gray-400"},sd={class:"flex items-center"},dd={key:0},ud=e.defineComponent({__name:"InvoiceSubLineRow",props:{subLines:{},isOpen:{type:Boolean},lineOrder:{},periodOrder:{},groupOrder:{},processingOnlyCustomers:{}},setup(t){const{formatMessage:o}=Gn(),l=t,n=e=>{var t;const n=null==(t=l.processingOnlyCustomers)?void 0:t.find(t=>t.id===e);return n?Ni(n):o({id:"generic.not_available",defaultMessage:"N/A",description:"Used in scenarios where no data is available to be displayed"})},a=e=>{var t;return(null==(t=e.usage_based_conversion)?void 0:t.conditions)??e.conditions};return(o,l)=>t.subLines&&t.isOpen?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[t.processingOnlyCustomers?e.createCommentVNode("",!0):(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(t.subLines,(n,i)=>(e.openBlock(),e.createElementBlock("tr",{key:i,class:e.normalizeClass(i>0?"border-t":"")},[e.createVNode(ad,null,{default:e.withCtx(()=>{var l,i,r,c,s,d;return[e.createElementVNode("div",rd,[e.renderSlot(o.$slots,"invoice-line-prefix",{lineOrder:t.lineOrder,periodOrder:t.periodOrder,groupOrder:t.groupOrder}),e.createElementVNode("div",null,[e.createElementVNode("div",null,[n.description?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createTextVNode(e.toDisplayString(n.description),1)],64)):n.details.description?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createTextVNode(e.toDisplayString(n.details.description),1)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createTextVNode(" N/A ")],64))]),(null==(l=a(n))?void 0:l.name)||(null==(i=a(n))?void 0:i.meter_properties)?(e.openBlock(),e.createElementBlock("div",cd,[(null==(r=a(n))?void 0:r.name)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createTextVNode(e.toDisplayString(null==(c=a(n))?void 0:c.name),1)],64)):(null==(s=a(n))?void 0:s.meter_properties)?(e.openBlock(),e.createBlock(e.unref(Yc),{key:1,comparators:null==(d=a(n))?void 0:d.meter_properties},null,8,["comparators"])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)])])]}),_:2},1024),e.createVNode(ad,{number:"",class:"text-right tabular-nums"},{default:e.withCtx(()=>{var t,o;return[e.createTextVNode(e.toDisplayString((null==(o=null==(t=n.details.conversion)?void 0:t.credits)?void 0:o.quantity)??"N/A"),1)]}),_:2},1024),e.createVNode(ad,{class:"text-right tabular-nums"},{default:e.withCtx(()=>{var t,o;return[(null==(t=n.details.band)?void 0:t.amount)?(e.openBlock(),e.createBlock(Pi,{key:0,value:n.details.band.amount},null,8,["value"])):(null==(o=n.details.band)?void 0:o.percentage)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createTextVNode(e.toDisplayString(n.details.band.percentage)+"% ",1)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createTextVNode(" N/A ")],64))]}),_:2},1024),e.createVNode(ad,null,{default:e.withCtx(()=>[...l[0]||(l[0]=[e.createTextVNode(" ",-1)])]),_:1}),n.details.amount?(e.openBlock(),e.createBlock(ad,{key:0,class:"text-right tabular-nums"},{default:e.withCtx(()=>[e.createVNode(Pi,{value:n.details.amount},null,8,["value"])]),_:2},1024)):e.createCommentVNode("",!0)],2))),128)),t.processingOnlyCustomers?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:1},e.renderList(t.subLines,(t,l)=>(e.openBlock(),e.createElementBlock("tr",{key:l,tabindex:void 0,class:e.normalizeClass(["group",{"border-t":0!==l}])},[e.createVNode(ad,{class:"pl-4"},{default:e.withCtx(()=>[e.createElementVNode("div",sd,[t.processing_only_customer_resource_id?(e.openBlock(),e.createElementBlock("div",dd,e.toDisplayString(n(t.processing_only_customer_resource_id)),1)):e.createCommentVNode("",!0)])]),_:2},1024),e.renderSlot(o.$slots,"subline-content",{details:t.details,hideTaxDetails:!0})],2))),128)):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0)}}),pd=["tabindex","onClick"],md={class:"flex items-center"},fd=e.defineComponent({__name:"InvoiceCommitment",props:{commitments:{},groupOrder:{},invoicePeriodOrder:{}},setup(t){const o=Gn(),{getIsOpen:l,toggle:n}=fa(),a=(e,t)=>`${e}-line-${t}`;return(i,r)=>(e.openBlock(),e.createBlock(nd,null,{default:e.withCtx(()=>[e.createElementVNode("tr",null,[e.createVNode(id,{left:"",colspan:"5"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(o).$t({id:"invoice.table_header.unit",defaultMessage:"Unit",description:"Table header for the column containing the number of units of invoice groups"})),1)]),_:1}),e.createVNode(id,{right:"",class:"w-60"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(o).$t({id:"invoice.table_header.sub_total",defaultMessage:"Subtotal",description:"Table header for the column containing the subtotal for invoices"})),1)]),_:1})]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.commitments,(c,s)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:s},[e.createElementVNode("tr",{class:e.normalizeClass(["border-t",{"cursor-pointer":c.sub_lines}]),tabindex:c.sub_lines?0:void 0,onClick:e=>{return o=t.groupOrder,l=c.line_order,void n(a(o,l));var o,l}},[e.createVNode(ad,{colspan:"2"},{default:e.withCtx(()=>{var n,r;return[c.sub_lines?(e.openBlock(),e.createBlock(w,{key:0,icon:"keyboard_arrow_down",size:"md",class:e.normalizeClass(["-translate-x-7 absolute text-slate-400",{"-rotate-90":!e.unref(l)(a(t.groupOrder,c.line_order))}])},null,8,["class"])):e.createCommentVNode("",!0),e.createElementVNode("div",md,[e.renderSlot(i.$slots,"invoice-line-prefix",{lineOrder:c.line_order,periodOrder:t.invoicePeriodOrder,groupOrder:t.groupOrder}),c.description?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createTextVNode(e.toDisplayString(c.description),1)],64)):(null==(n=c.details)?void 0:n.description)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createTextVNode(e.toDisplayString(null==(r=c.details)?void 0:r.description),1)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createTextVNode(e.toDisplayString(e.unref(o).$t({id:"generic.not_available",defaultMessage:"N/A",description:"Used in scenarios where no data is available to be displayed"})),1)],64))])]}),_:2},1024),e.createVNode(ad,{colspan:"3"},{default:e.withCtx(()=>[...r[0]||(r[0]=[e.createTextVNode(" ",-1)])]),_:1}),e.createVNode(ad,{number:""},{default:e.withCtx(()=>{var t,o;return[(null==(t=c.details)?void 0:t.amount)?(e.openBlock(),e.createBlock(Pi,{key:0,value:null==(o=c.details)?void 0:o.amount},null,8,["value"])):e.createCommentVNode("",!0)]}),_:2},1024)],10,pd),e.createVNode(ud,{ref_for:!0,ref:a(t.groupOrder,c.line_order),"sub-lines":c.sub_lines??[],"line-order":c.line_order,"period-order":t.invoicePeriodOrder,"group-order":t.groupOrder,"is-open":e.unref(l)(a(t.groupOrder,c.line_order))},null,8,["sub-lines","line-order","period-order","group-order","is-open"])],64))),128))]),_:3}))}}),hd=["tabindex","onClick"],vd={class:"flex items-center"},gd=e.defineComponent({__name:"InvoiceDiscountMarkup",props:{lines:{},type:{},handleToggleItems:{type:Function},formatIndex:{type:Function},expandedItems:{},isExpandable:{type:Boolean},invoicePeriodOrder:{},groupOrder:{}},setup(t){const o=Gn(),{getIsOpen:l,toggle:n}=fa(),a=(e,t)=>`${e}-line-${t}`;return(i,r)=>(e.openBlock(),e.createBlock(nd,null,{default:e.withCtx(()=>[e.createElementVNode("tr",null,[e.createVNode(id,{left:"",class:"w-3/5"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(o).$t({id:"invoice.table_header.quantity",defaultMessage:"Quantity",description:"Table header for quantity column"})),1)]),_:1}),e.createVNode(id,{colspan:"2"},{default:e.withCtx(()=>[...r[0]||(r[0]=[e.createTextVNode(" ",-1)])]),_:1}),e.createVNode(id,{left:"",class:"w-1/5"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString("DISCOUNT"===t.type?e.unref(o).$t({id:"invoice.table_header.discount",defaultMessage:"Discount",description:"Table header for discount column"}):e.unref(o).$t({id:"invoice.table_header.markup",defaultMessage:"Markup",description:"Table header for markup column"})),1)]),_:1}),e.createVNode(id,{left:"",class:"w-1/5"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString("DISCOUNT"===t.type?e.unref(o).$t({id:"invoice.table_header.total",defaultMessage:"Total",description:"Table header for total column"}):" "),1)]),_:1}),e.createVNode(id,{right:"",class:"w-1/5"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(o).$t({id:"invoice.table_header.sub_total",defaultMessage:"Subtotal",description:"Table header for the column containing the subtotal for invoices"})),1)]),_:1})]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.lines,(o,c)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:c},[e.createElementVNode("tr",{class:e.normalizeClass(["border-t",{"cursor-pointer":t.isExpandable}]),tabindex:t.isExpandable?0:void 0,onClick:e=>{return l=t.groupOrder,i=o.line_order,void n(a(l,i));var l,i}},[e.createVNode(ad,{class:"w-3/5"},{default:e.withCtx(()=>{var n,r;return[o.sub_lines?(e.openBlock(),e.createBlock(w,{key:0,icon:"keyboard_arrow_down",size:"md",class:e.normalizeClass(["-translate-x-7 absolute text-slate-400",{"-rotate-90":!e.unref(l)(a(t.groupOrder,o.line_order))}])},null,8,["class"])):e.createCommentVNode("",!0),e.createElementVNode("div",vd,[e.renderSlot(i.$slots,"invoice-line-prefix",{lineOrder:o.line_order,periodOrder:t.invoicePeriodOrder,groupOrder:t.groupOrder}),o.description?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createTextVNode(e.toDisplayString(o.description),1)],64)):(null==(n=o.details)?void 0:n.description)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createTextVNode(e.toDisplayString(null==(r=o.details)?void 0:r.description),1)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createTextVNode("N/A")],64))])]}),_:2},1024),e.createVNode(ad,{colspan:"2"},{default:e.withCtx(()=>[...r[1]||(r[1]=[e.createTextVNode(" ",-1)])]),_:1}),e.createVNode(ad,{class:"tabular-nums w-1/5"},{default:e.withCtx(()=>{var t,l,n;return[e.createTextVNode(e.toDisplayString((null==(l=null==(t=o.details)?void 0:t.band)?void 0:l.percentage)?`${null==(n=o.details)?void 0:n.band.percentage}%`:" "),1)]}),_:2},1024),e.createVNode(ad,{class:"w-1/5"},{default:e.withCtx(()=>[...r[2]||(r[2]=[e.createTextVNode(" ",-1)])]),_:1}),e.createVNode(ad,{number:"",class:"w-1/5"},{default:e.withCtx(()=>{var t;return[(null==(t=o.details)?void 0:t.amount)?(e.openBlock(),e.createBlock(Pi,{key:0,value:o.details.amount},null,8,["value"])):e.createCommentVNode("",!0)]}),_:2},1024)],10,hd),e.createVNode(ud,{ref_for:!0,ref:a(t.groupOrder,o.line_order),"sub-lines":o.sub_lines??[],"line-order":o.line_order,"is-open":e.unref(l)(a(t.groupOrder,o.line_order)),"period-order":t.invoicePeriodOrder,"group-order":t.groupOrder},null,8,["sub-lines","line-order","is-open","period-order","group-order"])],64))),128))]),_:3}))}}),yd=["tabindex"],bd={key:0},xd={colspan:"2",class:"p-0"},kd={class:"px-9 py-3 -mx-9 bg-gray-50 text-xs"},_d=e.defineComponent({__name:"InvoiceGroupCommitment",props:{group:{},expandedItems:{},handleToggleItems:{type:Function},formatIndex:{type:Function},invoicePeriodOrder:{},groupOrder:{},isExpandable:{type:Boolean},amountType:{},processingOnlyCustomers:{}},setup(t){const o=Gn();return(l,n)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("tr",{class:e.normalizeClass(["border-t",{"cursor-pointer":t.isExpandable}]),tabindex:t.isExpandable?0:void 0,onClick:n[0]||(n[0]=e=>t.handleToggleItems(t.formatIndex(t.invoicePeriodOrder,t.groupOrder))),onKeyup:[n[1]||(n[1]=e.withKeys(e=>t.handleToggleItems(t.formatIndex(t.invoicePeriodOrder,t.groupOrder)),["enter"])),n[2]||(n[2]=e.withKeys(e=>t.handleToggleItems(t.formatIndex(t.invoicePeriodOrder,t.groupOrder)),["space"]))]},[e.createVNode(ad,{class:"p-0"},{default:e.withCtx(()=>[t.isExpandable?(e.openBlock(),e.createBlock(w,{key:0,icon:"keyboard_arrow_down",size:"md",class:e.normalizeClass(["-translate-x-7 absolute text-slate-400",{"-rotate-90":!t.expandedItems.includes(t.formatIndex(t.invoicePeriodOrder,t.groupOrder))}])},null,8,["class"])):e.createCommentVNode("",!0),e.createTextVNode(" "+e.toDisplayString(e.unref(o).$t({id:"invoice.commitment_heading",defaultMessage:"Commitment",description:"Heading used for commitment in invoice tables"})),1)]),_:1}),e.createVNode(ad,{number:""},{default:e.withCtx(()=>["INCLUDING_TAX"===t.amountType?(e.openBlock(),e.createBlock(Pi,{key:0,value:t.group.amount_including_tax},null,8,["value"])):(e.openBlock(),e.createBlock(Pi,{key:1,value:t.group.amount_excluding_tax},null,8,["value"]))]),_:1})],42,yd),t.expandedItems.includes(t.formatIndex(t.invoicePeriodOrder,t.groupOrder))&&t.group.lines?(e.openBlock(),e.createElementBlock("tr",bd,[e.createElementVNode("td",xd,[e.createElementVNode("div",kd,[e.createVNode(fd,{commitments:t.group.lines,"format-index":t.formatIndex,"handle-toggle-items":t.handleToggleItems,"expanded-items":t.expandedItems,"is-expandable":t.isExpandable,"invoice-period-order":t.invoicePeriodOrder,"group-order":t.groupOrder},{"invoice-line-prefix":e.withCtx(t=>[e.renderSlot(l.$slots,"invoice-line-prefix",e.normalizeProps(e.guardReactiveProps(t)))]),_:3},8,["commitments","format-index","handle-toggle-items","expanded-items","is-expandable","invoice-period-order","group-order"])])])])):e.createCommentVNode("",!0)],64))}}),wd=["tabindex"],Bd={key:0},Cd={colspan:"2",class:"p-0"},Ed={class:"px-9 py-3 -mx-9 bg-gray-50 text-xs"},Nd=e.defineComponent({__name:"InvoiceGroupDiscountMarkup",props:{heading:{},group:{},expandedItems:{},handleToggleItems:{type:Function},formatIndex:{type:Function},invoicePeriodOrder:{},groupOrder:{},isExpandable:{type:Boolean},amountType:{},processingOnlyCustomers:{}},setup:t=>(o,l)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("tr",{class:e.normalizeClass(["border-t",{"cursor-pointer":t.isExpandable}]),tabindex:t.isExpandable?0:void 0,onClick:l[0]||(l[0]=e=>t.handleToggleItems(t.formatIndex(t.invoicePeriodOrder,t.groupOrder))),onKeyup:[l[1]||(l[1]=e.withKeys(e=>t.handleToggleItems(t.formatIndex(t.invoicePeriodOrder,t.groupOrder)),["enter"])),l[2]||(l[2]=e.withKeys(e=>t.handleToggleItems(t.formatIndex(t.invoicePeriodOrder,t.groupOrder)),["space"]))]},[e.createVNode(ad,{class:"p-0"},{default:e.withCtx(()=>[t.isExpandable?(e.openBlock(),e.createBlock(w,{key:0,icon:"keyboard_arrow_down",size:"md",class:e.normalizeClass(["-translate-x-7 absolute text-slate-400",{"-rotate-90":!t.expandedItems.includes(t.formatIndex(t.invoicePeriodOrder,t.groupOrder))}])},null,8,["class"])):e.createCommentVNode("",!0),e.createTextVNode(" "+e.toDisplayString(t.heading),1)]),_:1}),e.createVNode(ad,{number:""},{default:e.withCtx(()=>["INCLUDING_TAX"===t.amountType?(e.openBlock(),e.createBlock(Pi,{key:0,value:t.group.amount_including_tax},null,8,["value"])):(e.openBlock(),e.createBlock(Pi,{key:1,value:t.group.amount_excluding_tax},null,8,["value"]))]),_:1})],42,wd),t.expandedItems.includes(t.formatIndex(t.invoicePeriodOrder,t.groupOrder))&&t.group.lines?(e.openBlock(),e.createElementBlock("tr",Bd,[e.createElementVNode("td",Cd,[e.createElementVNode("div",Ed,[e.createVNode(gd,{type:t.group.type,lines:t.group.lines,"format-index":t.formatIndex,"handle-toggle-items":t.handleToggleItems,"expanded-items":t.expandedItems,"is-expandable":t.isExpandable,"invoice-period-order":t.invoicePeriodOrder,"group-order":t.groupOrder},{"invoice-line-prefix":e.withCtx(t=>[e.renderSlot(o.$slots,"invoice-line-prefix",e.normalizeProps(e.guardReactiveProps(t)))]),_:3},8,["type","lines","format-index","handle-toggle-items","expanded-items","is-expandable","invoice-period-order","group-order"])])])])):e.createCommentVNode("",!0)],64))}),Td={class:"flex gap-4"},Md={class:"flex gap-2 items-center"},Vd=e.defineComponent({__name:"PricingClauseChip",props:{iconName:{},chipColor:{}},setup:t=>(o,l)=>(e.openBlock(),e.createElementBlock("div",Td,[e.createVNode(Qn,{color:t.chipColor},{default:e.withCtx(()=>[e.createElementVNode("div",Md,[e.createVNode(w,{icon:t.iconName,size:"xs"},null,8,["icon"]),e.createElementVNode("span",null,[e.renderSlot(o.$slots,"chip-content")])])]),_:3},8,["color"]),e.renderSlot(o.$slots,"chip-postfix")]))}),Sd={class:"flex flex-col gap-2"},zd=e.defineComponent({__name:"InvoicePricingClauseChip",props:{clauseType:{},priceDetailsBand:{},invoiceLineDescription:{}},setup(t){const o=Gn();return(l,n)=>(e.openBlock(),e.createElementBlock("div",Sd,[e.createElementVNode("span",null,e.toDisplayString(t.invoiceLineDescription),1),"DISCOUNT"===t.clauseType&&t.priceDetailsBand?(e.openBlock(),e.createBlock(e.unref(Vd),{key:0,"icon-name":"south_east","chip-color":"yellow"},e.createSlots({_:2},[t.priceDetailsBand.amount?{name:"chip-content",fn:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(o).$t({id:"invoice.amount_discount",defaultMessage:"{amount} discount",description:"Represents a certain amount of discount, where {amount} is replaced with the amount"},{amount:e.unref(La)(t.priceDetailsBand.amount)}).toUpperCase()),1)]),key:"0"}:t.priceDetailsBand.percentage?{name:"chip-content",fn:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(o).$t({id:"invoice.percentage_discount",defaultMessage:"{percentage}% discount",description:"Represents a certain percentage of discount, where {percentage} is replaced with the percentage (number only)"},{percentage:t.priceDetailsBand.percentage??"0"}).toUpperCase()),1)]),key:"1"}:void 0]),1024)):"ADJUSTMENT"===t.clauseType?(e.openBlock(),e.createBlock(e.unref(Vd),{key:1,"icon-name":"info","chip-color":"yellow"},{"chip-content":e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(o).$t({id:"invoice.adjustment_chip_body",defaultMessage:"Adjustment",description:"Used on invoice lines to mark as adjusted"}).toUpperCase()),1)]),_:1})):"MARKUP"===t.clauseType?(e.openBlock(),e.createBlock(e.unref(Vd),{key:2,"icon-name":"north_east","chip-color":"teal-light"},{"chip-content":e.withCtx(()=>{var l;return[e.createTextVNode(e.toDisplayString(e.unref(o).$t({id:"invoice.markup_percentage",defaultMessage:"{percentage}% markup",description:"Markup percentage, where {percentage} is replaced with the percentage (number only)"},{percentage:(null==(l=t.priceDetailsBand)?void 0:l.percentage)??"0"}).toUpperCase()),1)]}),_:1})):"COMMITMENT"===t.clauseType?(e.openBlock(),e.createBlock(e.unref(Vd),{key:3,"icon-name":"sell","chip-color":"orange"},{"chip-content":e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(o).$t({id:"invoice.commitment",defaultMessage:"commitment",description:"Used on invoice lines to mark as commitment"}).toUpperCase()),1)]),_:1})):e.createCommentVNode("",!0)]))}}),Pd={class:"items-left flex flex-col gap-1 leading-none"},qd={class:"flex items-center"},Dd={key:0,class:"ml-1 text-xs text-gray-400"},Id={key:0},$d={key:1,class:"text-xs text-gray-400"},Od={key:2,class:"text-xs text-gray-400"},Hd={class:"text-[9pt] text-slate-600"},Ad=e.defineComponent({__name:"InvoiceLineRow",props:{data:{},isLast:{type:Boolean},periodOrder:{},groupOrder:{},groupType:{},isExpanded:{type:Boolean}},setup(t){const{$t:o}=Gn(),l=t,n=e=>{var t,o;if(!e)return"";let l="0",n=" +";if(e.tier_lower_bound&&"number"in e.tier_lower_bound)l=(null==(t=e.tier_lower_bound)?void 0:t.number)??"0";else if(e.tier_lower_bound&&"amount"in e.tier_lower_bound){const{quantity:t,currency:o}=e.tier_lower_bound.amount;l=`${o} ${t??0}`}if(e.tier_top_bound&&"number"in e.tier_top_bound)n=` - ${null==(o=e.tier_top_bound)?void 0:o.number}`;else if(e.tier_top_bound&&"amount"in e.tier_top_bound){const{quantity:t,currency:o}=e.tier_top_bound.amount;n=` - ${o} ${t}`}return l+n},a=e.computed(()=>{var e;return null==(e=l.data.details)?void 0:e.included_volume_details}),i=e.computed(()=>{var e,t;return(null==(e=l.data)?void 0:e.product_items)?Qa(l.data.product_items.map(e=>e.name)):(null==(t=l.data)?void 0:t.description)??"N/A"});return(l,r)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createVNode(ad,{class:"align-top"},{default:e.withCtx(()=>{var r,c,s,d,u,p,m,f,h,v,g,y,b,x,k,_,B,C;return[e.createElementVNode("div",Pd,[e.createElementVNode("div",null,[t.data.sub_lines?(e.openBlock(),e.createBlock(w,{key:0,icon:"keyboard_arrow_down",size:"md",class:e.normalizeClass(["absolute -translate-x-7 -translate-y-2 text-slate-400",{"-rotate-90":!t.isExpanded}])},null,8,["class"])):e.createCommentVNode("",!0),e.createElementVNode("div",qd,[e.renderSlot(l.$slots,"invoice-line-prefix",{lineOrder:t.data.line_order,periodOrder:t.periodOrder,groupOrder:t.groupOrder}),["PRICING","REVENUE","ONE_OFF"].includes(t.data.type)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createTextVNode(e.toDisplayString(i.value)+" ",1),"ONE_OFF"===t.data.type&&"ONE_OFF"!==t.groupType?(e.openBlock(),e.createElementBlock("div",Dd,e.toDisplayString(e.unref(Za)(t.data.type)),1)):e.createCommentVNode("",!0)],64)):(e.openBlock(),e.createBlock(zd,{key:1,"invoice-line-description":i.value,"clause-type":t.data.type,"price-details-band":null==(r=t.data.details)?void 0:r.band},null,8,["invoice-line-description","clause-type","price-details-band"]))])]),["TIERED","STAIR_STEP","TOP_TIERED"].includes(t.data.pricing_type)&&!a.value&&(null==(c=t.data.details)?void 0:c.band)?(e.openBlock(),e.createElementBlock("div",Id,e.toDisplayString(n(null==(s=t.data.details)?void 0:s.band)),1)):e.createCommentVNode("",!0),(null==(u=null==(d=t.data.details)?void 0:d.split_pricing)?void 0:u.meter_properties)?(e.openBlock(),e.createElementBlock("span",$d,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(null==(m=null==(p=t.data.details)?void 0:p.split_pricing)?void 0:m.meter_properties,(o,l)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createTextVNode(e.toDisplayString(o.meter_property.name)+": "+e.toDisplayString(o.value),1),l<t.data.details.split_pricing.meter_properties.length-1?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createTextVNode(e.toDisplayString(", "))],64)):e.createCommentVNode("",!0)],64))),256))])):e.createCommentVNode("",!0),(null==(f=t.data.conditions)?void 0:f.name)||(null==(h=t.data.conditions)?void 0:h.meter_properties)?(e.openBlock(),e.createElementBlock("div",Od,[t.data.conditions.name?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createTextVNode(e.toDisplayString(t.data.conditions.name),1)],64)):t.data.conditions.meter_properties?(e.openBlock(),e.createBlock(e.unref(Yc),{key:1,comparators:t.data.conditions.meter_properties},null,8,["comparators"])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)]),e.createElementVNode("span",Hd,["BELOW_MINIMUM_AMOUNT"===(null==(v=t.data.details)?void 0:v.price_bound)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createTextVNode(e.toDisplayString(e.unref(o)({id:"invoice.line.band_minimum_amount",defaultMessage:"Band minimum amount",description:"Minimum amount specified in a band"}))+" ",1),(null==(g=t.data.details.band)?void 0:g.minimum_amount)?(e.openBlock(),e.createBlock(Pi,{key:0,value:t.data.details.band.minimum_amount},null,8,["value"])):e.createCommentVNode("",!0)],64)):"NOT_HIT"===(null==(y=t.data.details)?void 0:y.price_bound)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createTextVNode(e.toDisplayString(e.unref(o)({id:"invoice.line.price_bound_within_bounds",defaultMessage:"Within bounds",description:"Label used when min and max bounds are specified but reached"})),1)],64)):"ABOVE_MAXIMUM_AMOUNT"===(null==(b=t.data.details)?void 0:b.price_bound)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createTextVNode(e.toDisplayString(e.unref(o)({id:"invoice.line.price_bound_maximum_amount",defaultMessage:"Maximum amount",description:"Minimum amount specified in a band"}))+" ",1),(null==(x=t.data.details.band)?void 0:x.maximum_amount)?(e.openBlock(),e.createBlock(Pi,{key:0,value:t.data.details.band.maximum_amount},null,8,["value"])):e.createCommentVNode("",!0)],64)):"BELOW_MINIMUM_NUMBER"===(null==(k=t.data.details)?void 0:k.price_bound)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:3},[e.createTextVNode(e.toDisplayString(e.unref(o)({id:"invoice.line.band_minimum_number",defaultMessage:"Minimum number",description:"Minimum number of units specified in a band"}))+" "+e.toDisplayString(null==(_=t.data.details.band)?void 0:_.minimum_number),1)],64)):"ABOVE_MAXIMUM_NUMBER"===(null==(B=t.data.details)?void 0:B.price_bound)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:4},[e.createTextVNode(e.toDisplayString(e.unref(o)({id:"invoice.line.band_maximum_number",defaultMessage:"Maximum number",description:"Maximum number of units specified in a band"}))+" "+e.toDisplayString(null==(C=t.data.details.band)?void 0:C.maximum_number),1)],64)):e.createCommentVNode("",!0)])]}),_:3}),e.renderSlot(l.$slots,"line-content",{details:t.data.details})],64))}}),Ld={key:4,class:"text-xs text-gray-400"},Zd={key:1,class:"tabular-nums"},Rd={class:"text-2xs text-gray-500"},Fd={key:0,class:"flex justify-end"},Ud={class:"flex gap-1 items-center justify-end"},Gd={key:0,class:"text-2xs text-gray-500 tabular-nums"},jd=e.defineComponent({__name:"InvoiceRowContent",props:{pricingType:{},details:{},taxCategories:{},amountType:{},hideTaxDetails:{type:Boolean}},setup(t){const o=Gn(),l=t,n=e.computed(()=>{var e;return null==(e=l.details)?void 0:e.included_volume_details}),a=e.computed(()=>{var e;return null==(e=n.value)?void 0:e.available_included_volume});return(l,n)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createVNode(ad,{number:"",class:"align-top"},{default:e.withCtx(()=>{var l,n,i,r,c,s,d,u,p,m,f,h,v,g,y,b,x,k,_,w,B,C,E,N,T;return["PASS_THROUGH"!==t.pricingType?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[(null==(l=t.details)?void 0:l.price_bound)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},["BELOW_MINIMUM_AMOUNT"===(null==(n=t.details)?void 0:n.price_bound)||"ABOVE_MAXIMUM_AMOUNT"===(null==(i=t.details)?void 0:i.price_bound)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createTextVNode(e.toDisplayString(null==(r=t.details)?void 0:r.meter_value.count),1)],64)):"NOT_HIT"===(null==(c=t.details)?void 0:c.price_bound)&&"amount"in t.details.meter_value&&(null==(d=null==(s=t.details)?void 0:s.meter_value)?void 0:d.amount)?(e.openBlock(),e.createBlock(Pi,{key:1,value:null==(p=null==(u=t.details)?void 0:u.meter_value)?void 0:p.amount},null,8,["value"])):"NOT_HIT"===(null==(m=t.details)?void 0:m.price_bound)&&"number"in t.details.meter_value&&(null==(h=null==(f=t.details)?void 0:f.meter_value)?void 0:h.number)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createTextVNode(e.toDisplayString(null==(g=null==(v=t.details)?void 0:v.meter_value)?void 0:g.number),1)],64)):"RATIO"===(null==(y=t.details)?void 0:y.price_bound)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:3},[e.createTextVNode(e.toDisplayString(null==(b=t.details)?void 0:b.meter_value.number),1)],64)):"BELOW_MINIMUM_NUMBER"===(null==(x=t.details)?void 0:x.price_bound)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:4},[e.createTextVNode(e.toDisplayString(null==(_=null==(k=t.details)?void 0:k.band)?void 0:_.minimum_number),1)],64)):"ABOVE_MAXIMUM_NUMBER"===(null==(w=t.details)?void 0:w.price_bound)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:5},[e.createTextVNode(e.toDisplayString(null==(C=null==(B=t.details)?void 0:B.band)?void 0:C.maximum_number),1)],64)):e.createCommentVNode("",!0)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[(null==(E=t.details)?void 0:E.meter_value)&&"number"in t.details.meter_value?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createTextVNode(e.toDisplayString(t.details.meter_value.number),1)],64)):(null==(N=t.details)?void 0:N.price_bound)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createTextVNode(e.toDisplayString(t.details.total_count),1)],64)):(null==(T=t.details)?void 0:T.meter_value)&&"amount"in t.details.meter_value?(e.openBlock(),e.createBlock(Pi,{key:2,value:t.details.meter_value.amount},null,8,["value"])):(e.openBlock(),e.createElementBlock(e.Fragment,{key:3},[e.createTextVNode("1")],64)),a.value?(e.openBlock(),e.createElementBlock("div",Ld,["AMOUNT"===a.value.type?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createVNode(Pi,{value:a.value.amount},null,8,["value"]),e.createTextVNode(" "+e.toDisplayString(e.unref(o).$t({id:"invoice.line.included",defaultMessage:"included",description:"Used to specify an included amount. Should be lowercase."})),1)],64)):"NUMBER"===a.value.type?(e.openBlock(),e.createElementBlock("span",Zd,e.toDisplayString(a.value.number)+" "+e.toDisplayString(e.unref(o).$t({id:"invoice.line.units_included",defaultMessage:"units included",description:"Used to specify an included units. Should be lowercase."})),1)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)],64))],64)):e.createCommentVNode("",!0)]}),_:1}),"PASS_THROUGH"===t.pricingType?(e.openBlock(),e.createBlock(ad,{key:0,class:"align-top text-right"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(o).$t({id:"invoice.line.pass_through",defaultMessage:"Pass through",description:"Name of the pass through pricing type"})),1)]),_:1})):(e.openBlock(),e.createBlock(ad,{key:1,number:"",class:"align-top"},{default:e.withCtx(()=>{var o,l,n,a,i,r,c,s,d,u,p,m;return[(null==(o=t.details)?void 0:o.price_bound)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},["BELOW_MINIMUM_AMOUNT"===(null==(l=t.details)?void 0:l.price_bound)&&(null==(a=null==(n=t.details)?void 0:n.band)?void 0:a.minimum_amount)?(e.openBlock(),e.createBlock(Pi,{key:0,value:t.details.band.minimum_amount},null,8,["value"])):"ABOVE_MAXIMUM_AMOUNT"===(null==(i=t.details)?void 0:i.price_bound)&&(null==(c=null==(r=t.details)?void 0:r.band)?void 0:c.maximum_amount)?(e.openBlock(),e.createBlock(Pi,{key:1,value:t.details.band.maximum_amount},null,8,["value"])):["NOT_HIT","RATIO","BELOW_MINIMUM_NUMBER","ABOVE_MAXIMUM_NUMBER"].includes(null==(s=t.details)?void 0:s.price_bound)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[(null==(d=t.details)?void 0:d.band)&&t.details.band.amount?(e.openBlock(),e.createBlock(Pi,{key:0,value:t.details.band.amount},null,8,["value"])):e.createCommentVNode("",!0),(null==(u=t.details)?void 0:u.band)&&"percentage"in t.details.band?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createTextVNode(e.toDisplayString(t.details.band.percentage)+"% ",1)],64)):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[(null==(p=t.details)?void 0:p.band)&&t.details.band.amount?(e.openBlock(),e.createBlock(Pi,{key:0,value:t.details.band.amount},null,8,["value"])):e.createCommentVNode("",!0),(null==(m=t.details)?void 0:m.band)&&"percentage"in t.details.band?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createTextVNode(e.toDisplayString(t.details.band.percentage)+"% ",1)],64)):e.createCommentVNode("",!0)],64))]}),_:1})),e.createVNode(ad,{number:"",class:"align-top"},{default:e.withCtx(()=>[t.hideTaxDetails?e.createCommentVNode("",!0):(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(t.taxCategories,(t,o)=>(e.openBlock(),e.createElementBlock("div",{key:o,class:"tabular-nums"},[e.createElementVNode("div",null,e.toDisplayString(t.percentage)+"%",1),e.createElementVNode("div",Rd,[e.createVNode(Pi,{value:t.tax_amount},null,8,["value"])])]))),128))]),_:1}),e.createVNode(ad,{number:"",class:"align-top"},{default:e.withCtx(()=>{var n,a,i,r;return[(null==(a=null==(n=t.details)?void 0:n.amount)?void 0:a.currency)&&(null==(r=null==(i=t.details)?void 0:i.amount)?void 0:r.quantity)?(e.openBlock(),e.createElementBlock("div",Fd,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.taxCategories,(l,n)=>{var a;return e.openBlock(),e.createElementBlock("div",{key:n,class:"inline-block"},[e.createElementVNode("div",Ud,[e.createVNode(Pi,{value:t.details.amount},null,8,["value"]),(null==(a=t.details)?void 0:a.pricing_amount.quantity)!==t.details.amount.quantity?(e.openBlock(),e.createBlock(Ic,{key:0,placement:"top-end"},{tooltip:e.withCtx(()=>[e.createVNode(Gc,null,{default:e.withCtx(()=>[e.createVNode(jc,null,{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(o).$t({id:"invoice.line.original_currency",defaultMessage:"Original currency",description:"Original currency"}))+" ",1),e.createVNode(Pi,{value:t.details.pricing_amount,class:"font-semibold"},null,8,["value"])]),_:1})]),_:1})]),default:e.withCtx(()=>[e.createVNode(w,{icon:"info",size:"2xs"})]),_:1})):e.createCommentVNode("",!0)]),t.hideTaxDetails?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",Gd,["INCLUDING_TAX"===t.amountType?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createTextVNode(e.toDisplayString(e.unref(o).$t({id:"invoice.line.excl.tax",defaultMessage:"Excl. tax",description:"Value excludes tax"}))+" ",1),e.createVNode(Pi,{value:l.base_amount},null,8,["value"])],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createTextVNode(e.toDisplayString(e.unref(o).$t({id:"invoice.line.incl.tax",defaultMessage:"Incl. tax",description:"Value includes tax"}))+" ",1),e.createVNode(Pi,{value:l.total_amount},null,8,["value"])],64))]))])}),128)),e.renderSlot(l.$slots,"one-off-line-context-menu")])):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createTextVNode("-")],64))]}),_:3})],64))}}),Qd=["tabindex","onClick"],Kd=e.defineComponent({__name:"InvoiceLineGroup",props:{group:{},startDate:{},endDate:{},total:{},amountType:{},invoicePeriodOrder:{},processingOnlyCustomers:{}},setup(t){const o=t,l=e.computed(()=>{var e;return null==(e=[...o.group.lines??[]])?void 0:e.sort((e,t)=>e.line_order-t.line_order)}),n=Gn(),{getIsOpen:a,toggle:i}=fa(),r=(e,t)=>`${e}-line-${t}`;return(o,c)=>(e.openBlock(),e.createElementBlock("div",null,[e.createVNode(nd,null,{default:e.withCtx(()=>[e.createElementVNode("tr",null,[e.createVNode(id,{left:"",class:"text-gray-400 w-1/5"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(n).$t({id:"invoice.table_header.unit",defaultMessage:"Unit",description:"Table header for the column containing the number of units of invoice groups"})),1)]),_:1}),e.createVNode(id,{right:"",class:"text-gray-400 w-1/5"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(n).$t({id:"invoice.table_header.quantity",defaultMessage:"Quantity",description:"Table header for quantity column"})),1)]),_:1}),e.createVNode(id,{right:"",class:"text-gray-400 w-1/5"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(n).$t({id:"invoice.table_header.price",defaultMessage:"Price",description:"Table header for the column containing the number of units of invoice groups"})),1)]),_:1}),e.createVNode(id,{right:"",class:"text-gray-400 w-1/5"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(n).$t({id:"invoice.table_header.tax_rate",defaultMessage:"Tax rate",description:"Table header for the column containing the tax percentage of invoice groups"})),1)]),_:1}),e.createVNode(id,{right:"",class:"text-gray-400 w-1/5"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(n).$t({id:"invoice.table_header.sub_total",defaultMessage:"Subtotal",description:"Table header for the column containing the subtotal for invoices"})),1)]),_:1})]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.value,(n,c)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:c},[e.createElementVNode("tr",{tabindex:n.sub_lines?0:void 0,class:e.normalizeClass(["group",{"cursor-pointer":n.sub_lines,"border-t":0!==c}]),onClick:e=>{return o=t.group.group_order,l=n.line_order,void i(r(o,l));var o,l}},[(e.openBlock(),e.createBlock(Ad,{key:c,data:n,"is-first-in-group":0===c,"period-order":t.invoicePeriodOrder,"group-order":t.group.group_order,"is-last":c===l.value.length-1,"group-type":t.group.type,"is-expanded":e.unref(a)(r(t.group.group_order,n.line_order))},{"invoice-line-prefix":e.withCtx(t=>[e.renderSlot(o.$slots,"invoice-line-prefix",e.mergeProps({ref_for:!0},t))]),"line-content":e.withCtx(l=>[e.createVNode(jd,{details:l.details,"pricing-type":n.pricing_type,"tax-categories":n.tax_categories,"amount-type":t.amountType},e.createSlots({_:2},["ONE_OFF"===n.type?{name:"one-off-line-context-menu",fn:e.withCtx(t=>[e.renderSlot(o.$slots,"one-off-line-context-menu",e.mergeProps({ref_for:!0},t,{lineOrder:n.line_order}))]),key:"0"}:void 0]),1032,["details","pricing-type","tax-categories","amount-type"])]),_:2},1032,["data","is-first-in-group","period-order","group-order","is-last","group-type","is-expanded"]))],10,Qd),e.createVNode(ud,{ref_for:!0,ref:r(t.group.group_order,n.line_order),"sub-lines":n.sub_lines??[],"processing-only-customers":t.processingOnlyCustomers,"line-order":n.line_order,"is-open":e.unref(a)(r(t.group.group_order,n.line_order)),"period-order":t.invoicePeriodOrder,"group-order":t.group.group_order},{"invoice-line-prefix":e.withCtx(t=>[e.renderSlot(o.$slots,"invoice-line-prefix",e.mergeProps({ref_for:!0},t))]),"subline-content":e.withCtx(o=>[e.createVNode(jd,{details:o.details,"hide-tax-details":o.hideTaxDetails,"pricing-type":n.pricing_type,"tax-categories":n.tax_categories,"amount-type":t.amountType},null,8,["details","hide-tax-details","pricing-type","tax-categories","amount-type"])]),_:2},1032,["sub-lines","processing-only-customers","line-order","is-open","period-order","group-order"])],64))),128))]),_:3})]))}}),Wd=["tabindex"],Yd={key:2,class:"inline-flex justify-center items-center w-3.5 h-3.5 rounded-full bg-blue-100 text-blue-600 text-2xs ml-1 font-bold"},Xd={key:0},Jd={colspan:"2",class:"p-0"},eu={class:"px-9 py-3 -mx-9 bg-gray-50 text-xs"},tu=e.defineComponent({__name:"InvoiceGroupRevenue",props:{group:{},expandedItems:{},handleToggleItems:{type:Function},formatIndex:{type:Function},invoicePeriodOrder:{},groupOrder:{},isExpandable:{type:Boolean},amountType:{},processingOnlyCustomers:{}},setup:t=>(o,l)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("tr",{class:e.normalizeClass(["border-t",{"cursor-pointer":t.isExpandable}]),tabindex:t.isExpandable?0:void 0,onClick:l[0]||(l[0]=e=>t.handleToggleItems(t.formatIndex(t.invoicePeriodOrder,t.groupOrder))),onKeyup:[l[1]||(l[1]=e.withKeys(e=>t.handleToggleItems(t.formatIndex(t.invoicePeriodOrder,t.groupOrder)),["enter"])),l[2]||(l[2]=e.withKeys(e=>t.handleToggleItems(t.formatIndex(t.invoicePeriodOrder,t.groupOrder)),["space"]))]},[e.createVNode(ad,{class:"p-0"},{default:e.withCtx(()=>{var o,l,n,a;return[t.isExpandable?(e.openBlock(),e.createBlock(w,{key:0,icon:"keyboard_arrow_down",size:"md",class:e.normalizeClass(["-translate-x-7 absolute text-slate-400",{"-rotate-90":!t.expandedItems.includes(t.formatIndex(t.invoicePeriodOrder,t.groupOrder))}])},null,8,["class"])):e.createCommentVNode("",!0),(null==(o=t.group.pricing)?void 0:o.name)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createTextVNode(e.toDisplayString(t.group.pricing.name)+" ",1),(null==(l=t.group.products)?void 0:l.length)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createTextVNode(" - ")],64)):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0),e.createTextVNode(" "+e.toDisplayString(e.unref(Qa)((null==(n=t.group.products)?void 0:n.map(e=>e.name))??[]))+" ",1),t.isExpandable?(e.openBlock(),e.createElementBlock("span",Yd,e.toDisplayString(null==(a=t.group.lines)?void 0:a.length),1)):e.createCommentVNode("",!0)]}),_:1}),e.createVNode(ad,{number:""},{default:e.withCtx(()=>["INCLUDING_TAX"===t.amountType?(e.openBlock(),e.createBlock(Pi,{key:0,value:t.group.amount_including_tax},null,8,["value"])):(e.openBlock(),e.createBlock(Pi,{key:1,value:t.group.amount_excluding_tax},null,8,["value"]))]),_:1})],42,Wd),t.expandedItems.includes(t.formatIndex(t.invoicePeriodOrder,t.groupOrder))?(e.openBlock(),e.createElementBlock("tr",Xd,[e.createElementVNode("td",Jd,[e.createElementVNode("div",eu,[e.createVNode(Kd,{"invoice-period-order":t.invoicePeriodOrder,"start-date":t.group.start_at,"end-date":t.group.end_at,total:t.group.amount_excluding_tax,group:t.group,"amount-type":t.amountType,"processing-only-customers":t.processingOnlyCustomers},{"invoice-line-prefix":e.withCtx(t=>[e.renderSlot(o.$slots,"invoice-line-prefix",e.normalizeProps(e.guardReactiveProps(t)))]),"one-off-line-context-menu":e.withCtx(l=>[e.renderSlot(o.$slots,"one-off-line-context-menu",e.mergeProps(l,{groupOrder:t.groupOrder}))]),_:3},8,["invoice-period-order","start-date","end-date","total","group","amount-type","processing-only-customers"])])])])):e.createCommentVNode("",!0)],64))}),ou={class:"flex items-center justify-between md:py-2"},lu=e.defineComponent({__name:"InvoiceHeader",props:{invoice:{},paymentAttempts:{},downloadService:{},showDownloadButton:{type:Boolean},variant:{default:"internal"}},setup(t){const l=t,{$t:n,formatDate:a}=Gn(),i=e.computed(()=>l.paymentAttempts.findLast(e=>"AUTHORIZED"===e.result)),r=e.computed(()=>n({defaultMessage:"Due on {date}",description:"Label for due date, where {date} gets replaced with the due date",id:"invoice.due_on_label"},{date:a({date:l.invoice.due_date,format:"date",offsetType:"offsetted",timezone:l.invoice.customer.timezone})})),c=e.computed(()=>a({date:l.invoice.invoice_date,format:"date",offsetType:"offsetted",timezone:l.invoice.customer.timezone})),s=e.computed(()=>"external"===l.variant?c.value:l.invoice.invoice_number||"N/A"),d=e.computed(()=>{if(l.invoice.paid&&i.value)return n({defaultMessage:"Paid on {date}",description:"Label for payment date, where {date} gets replaced with the date",id:"invoice.paid_on_label"},{date:a({date:i.value.created_at,format:"date",offsetType:"offsetted",timezone:l.invoice.customer.timezone})})}),u=e.computed(()=>"external"===l.variant?[l.invoice.invoice_number,d.value||r.value].join(" - "):d.value||r.value);return(l,a)=>(e.openBlock(),e.createElementBlock("div",ou,[e.createVNode(Js,{title:s.value},{suffix:e.withCtx(()=>[t.invoice.paid?(e.openBlock(),e.createBlock(Qn,{key:0,color:"green",class:"ml-2"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(n)({defaultMessage:"Paid",description:"The paid chip label text for a paid invoice",id:"invoice.paid_chip"})),1)]),_:1})):e.createCommentVNode("",!0)]),subTitle:e.withCtx(()=>[e.createVNode(o,{variant:"body-xs",class:"flex gap-1"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(u.value),1)]),_:1})]),_:1},8,["title"]),t.showDownloadButton?(e.openBlock(),e.createBlock(js,{key:0,size:"lg",variant:"outline","download-service":t.downloadService,"mobile-icon-only":""},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(n)({defaultMessage:"Download PDF",description:"Title for button download pdf invoice",id:"invoice.download_pdf_button"})),1)]),_:1},8,["download-service"])):e.createCommentVNode("",!0)]))}}),nu=e.defineComponent({__name:"invoicePreviewRow",props:{weight:{default:"normal"},variant:{default:"body-xs"},noSpacing:{type:Boolean,default:!1}},setup:t=>(l,n)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["flex flex-row gap-2",{"py-1.5":!t.noSpacing}])},[e.createVNode(o,{tag:"span",variant:t.variant,class:"grow",weight:t.weight},{default:e.withCtx(()=>[e.renderSlot(l.$slots,"label")]),_:3},8,["variant","weight"]),e.createVNode(o,{tag:"span",variant:t.variant,weight:t.weight},{default:e.withCtx(()=>[e.renderSlot(l.$slots,"value")]),_:3},8,["variant","weight"])],2))}),au=e.defineComponent({__name:"Skeleton",props:{widthClass:{default:"w-10"},heightClass:{default:"h-3"},shade:{default:"default"}},setup:t=>(o,l)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["rounded",[t.widthClass,t.heightClass,{"bg-gray-50/50":"default"===t.shade,"bg-gray-100/50":"dark"===t.shade,"bg-gray-200/50":"darker"===t.shade,"bg-gray-400/50":"darkest"===t.shade}]])},null,2))}),iu=e.defineComponent({__name:"InvoicePreviewNoTaxesSkeleton",props:{widthClass:{default:"w-12"},heightClass:{default:"h-5"}},setup(t){const{$t:o}=Gn();return(l,n)=>(e.openBlock(),e.createBlock(Ic,{"is-dark-mode":""},{tooltip:e.withCtx(()=>[e.createVNode(Gc,null,{default:e.withCtx(()=>[e.createVNode(jc,null,{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(o)({defaultMessage:"Will be determined by billing information",description:"Tooltip content for the invoice preview when taxes are not determined by billing information",id:"invoice_preview.taxes_not_determined_by_billing_information_tooltip"})),1)]),_:1})]),_:1})]),default:e.withCtx(()=>[e.createVNode(au,{"width-class":t.widthClass,"height-class":t.heightClass,shade:"darker"},null,8,["width-class","height-class"])]),_:1}))}}),ru=e.defineComponent({__name:"InvoicePreviewGroups",props:{invoice:{},wrapperComponent:{}},setup(t){const o=e=>e.groups.reduce((e,t)=>t.type in e?{...e,[t.type]:[...e[t.type],t]}:{...e,[t.type]:[t]},{}),l=e=>{var t,o,l;return(null==(t=e.pricing)?void 0:t.name)&&!c(null==(o=e.pricing)?void 0:o.name)?e.pricing.name:Qa((null==(l=e.products)?void 0:l.map(e=>e.name))??[])};return(n,a)=>(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.invoice.periods,(n,a)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:a},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Object.entries(o(n)),([o,n])=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:o},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(n,(o,n)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.wrapperComponent??"div"),{key:n},{default:e.withCtx(()=>[e.createVNode(nu,{"no-spacing":void 0!==t.wrapperComponent},{label:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(l(o)),1)]),value:e.withCtx(()=>[e.createVNode(Pi,{value:o.amount_excluding_tax},null,8,["value"])]),_:2},1032,["no-spacing"])]),_:2},1024))),128))],64))),128))],64))),128))}}),cu={class:"flex flex-col"},su={key:0},du=e.defineComponent({__name:"InvoicePreview",props:{invoice:{},trialInvoice:{},isCustomerFacing:{type:Boolean,default:!1},variant:{default:"default"},isPaid:{type:Boolean,default:!1},collapsible:{default:void 0},isPreviewWithoutTaxes:{type:Boolean}},setup(t){const l=t,{$t:n}=Gn(),a=e.ref(void 0!==l.collapsible&&"expanded"!==l.collapsible),i=e.computed(()=>void 0!==l.collapsible),r=e.computed(()=>!!l.trialInvoice),c=e.computed(()=>l.trialInvoice?l.trialInvoice.tax_summary.total_amount:l.invoice.tax_summary.total_amount),s=()=>{i.value&&(a.value=!a.value)};return(l,d)=>(e.openBlock(),e.createElementBlock("div",cu,[e.createVNode(Zc,null,{default:e.withCtx(()=>[a.value?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",su,[r.value?(e.openBlock(),e.createBlock(o,{key:0,variant:"caps-heading"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(n)({id:"invoice_preview.after_trial_heading",defaultMessage:"After trial",description:"After trial heading for the invoice preview"})),1)]),_:1})):e.createCommentVNode("",!0),"without-products"!==t.variant?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createVNode(ru,{invoice:t.invoice},null,8,["invoice"]),e.createVNode(N,{spacing:"xxs"})],64)):e.createCommentVNode("",!0),e.createVNode(nu,null,{label:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(n)({id:"invoice_preview.total_excluding_taxes_heading",defaultMessage:"Total excluding taxes",description:"Total excluding taxes heading for the invoice preview"})),1)]),value:e.withCtx(()=>[e.createVNode(Pi,{value:t.invoice.tax_summary.base_amount},null,8,["value"])]),_:1}),e.createVNode(nu,null,{label:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(n)({id:"invoice_preview.taxes_heading",defaultMessage:"Taxes",description:"Taxes heading for the invoice preview"})),1)]),value:e.withCtx(()=>[t.isPreviewWithoutTaxes?(e.openBlock(),e.createBlock(iu,{key:0,"width-class":"w-10","height-class":"h-4"})):(e.openBlock(),e.createBlock(Pi,{key:1,value:t.invoice.tax_summary.tax_amount},null,8,["value"]))]),_:1}),r.value?(e.openBlock(),e.createBlock(nu,{key:2},{label:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(n)({id:"invoice_preview.total_including_taxes_heading",defaultMessage:"Total including taxes",description:"Total including taxes heading for the invoice preview"})),1)]),value:e.withCtx(()=>[t.isPreviewWithoutTaxes?(e.openBlock(),e.createBlock(iu,{key:0,"width-class":"w-10","height-class":"h-4"})):(e.openBlock(),e.createBlock(Pi,{key:1,value:t.invoice.tax_summary.total_amount},null,8,["value"]))]),_:1})):e.createCommentVNode("",!0),e.createVNode(N,{spacing:"xxs"})]))]),_:1}),(e.openBlock(),e.createBlock(e.resolveDynamicComponent(i.value?"button":"div"),{class:e.normalizeClass({"hover:cursor-pointer text-left":i.value}),onClick:s},{default:e.withCtx(()=>[e.createVNode(nu,{weight:"semibold",variant:"body-sm"},{label:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.isPaid?e.unref(n)({id:"invoice_preview.total_paid_heading",defaultMessage:"Total paid",description:"Total paid heading for the invoice preview"}):e.unref(n)({id:"invoice_preview.total_due_today_heading",defaultMessage:"Total due today",description:"Total due today heading for the invoice preview"}))+" ",1),i.value?(e.openBlock(),e.createBlock(w,{key:0,size:"xs",icon:"keyboard_arrow_down",class:e.normalizeClass(["transition ease-in-out text-gray-400",{"rotate-0":a.value,"rotate-180":!a.value}])},null,8,["class"])):e.createCommentVNode("",!0)]),value:e.withCtx(()=>[t.isPreviewWithoutTaxes&&(!r.value||r.value&&"0.00"!==c.value.quantity)?(e.openBlock(),e.createBlock(iu,{key:0})):(e.openBlock(),e.createBlock(Pi,{key:1,value:c.value},null,8,["value"]))]),_:1})]),_:1},8,["class"]))]))}});function uu(t){return"function"==typeof t?t():e.unref(t)}"undefined"!=typeof WorkerGlobalScope&&(globalThis,WorkerGlobalScope);const pu={key:0,totals:"",class:"border-t"},mu=e.defineComponent({__name:"InvoiceSummaryTotalExcludingTax",props:{baseAmount:{}},setup(t){const o=Gn();return(l,n)=>t.baseAmount?(e.openBlock(),e.createElementBlock("tr",pu,[e.createVNode(ad,null,{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(o).$t({id:"invoice.table_header.total_excluding_taxes",defaultMessage:"Total excluding taxes",description:"Table row header for the total excluding taxes column in the invoice table"})),1)]),_:1}),e.createVNode(ad,{number:""},{default:e.withCtx(()=>[e.createVNode(Pi,{value:t.baseAmount},null,8,["value"])]),_:1})])):e.createCommentVNode("",!0)}}),fu={key:0,class:"font-bold border-t"},hu=e.defineComponent({__name:"InvoiceSummaryTotalIncludingTax",props:{totalAmount:{},isCustomerFacing:{type:Boolean}},setup(t){const o=Gn();return(l,n)=>t.totalAmount?(e.openBlock(),e.createElementBlock("tr",fu,[e.createVNode(ad,{class:"font-bold"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.isCustomerFacing?e.unref(o).$t({id:"invoice.table_header.total_including_taxes_customer_facing",defaultMessage:"Total due today",description:"Table row header for the total including taxes column in the invoice table for a customer facing component"}):e.unref(o).$t({id:"invoice.table_header.total_including_taxes",defaultMessage:"Total including taxes",description:"Table row header for the total including taxes column in the invoice table"})),1)]),_:1}),e.createVNode(ad,{number:""},{default:e.withCtx(()=>[e.createVNode(Pi,{value:t.totalAmount},null,8,["value"])]),_:1})])):e.createCommentVNode("",!0)}}),vu={key:0,colspan:"4",class:"p-0"},gu=e.defineComponent({__name:"InvoiceTaxes",props:{taxCategories:{}},setup(t){const o=Gn();return(l,n)=>(e.openBlock(),e.createBlock(nd,{class:"table-fixed"},{default:e.withCtx(()=>[e.createElementVNode("tr",null,[e.createVNode(id,{left:""},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(o).$t({id:"invoice.table_header.tax type",defaultMessage:"Tax type",description:"Table header for the column containing the tax type"})),1)]),_:1}),e.createVNode(id,{right:""},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(o).$t({id:"invoice.table_header.base amount",defaultMessage:"Base amount",description:"Table header for the column containing the base amount"})),1)]),_:1}),e.createVNode(id,{right:""},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(o).$t({id:"invoice.table_header.tax_percentage",defaultMessage:"Percentage",description:"Table header for the column containing the tax percentage"})),1)]),_:1}),e.createVNode(id,{right:""},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(o).$t({id:"invoice.table_header.tax amount",defaultMessage:"Tax amount",description:"Table header for the column containing the tax amount"})),1)]),_:1})]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.taxCategories,(t,o)=>(e.openBlock(),e.createElementBlock("tr",{key:o},[t.rates?(e.openBlock(),e.createElementBlock("td",vu,[e.createVNode(nd,{class:"table-fixed"},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.rates,(o,l)=>(e.openBlock(),e.createElementBlock("tr",{key:l},[e.createVNode(ad,null,{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(o.name)+" ("+e.toDisplayString(t.category)+") ",1)]),_:2},1024),e.createVNode(ad,{number:""},{default:e.withCtx(()=>[e.createVNode(Pi,{value:t.base_amount},null,8,["value"])]),_:2},1024),e.createVNode(ad,{number:""},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(o.percentage)+"%",1)]),_:2},1024),e.createVNode(ad,{number:""},{default:e.withCtx(()=>[e.createVNode(Pi,{value:o.tax_amount},null,8,["value"])]),_:2},1024)]))),128))]),_:2},1024)])):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createVNode(ad,null,{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.name)+" ("+e.toDisplayString(t.category)+") ",1)]),_:2},1024),e.createVNode(ad,{number:""},{default:e.withCtx(()=>[e.createVNode(Pi,{value:t.base_amount},null,8,["value"])]),_:2},1024),e.createVNode(ad,{number:""},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.percentage)+"%",1)]),_:2},1024),e.createVNode(ad,{number:""},{default:e.withCtx(()=>[e.createVNode(Pi,{value:t.tax_amount},null,8,["value"])]),_:2},1024)],64))]))),128))]),_:1}))}}),yu={class:"flex items-start justify-between"},bu={key:0,class:"max-h-9"},xu={class:"flex flex-col gap-2"},ku={key:0},_u=["tabindex"],wu={key:1,class:"ml-1 inline-flex h-3.5 w-3.5 items-center justify-center rounded-full bg-blue-100 text-2xs font-bold text-blue-600"},Bu={key:3},Cu={colspan:"2",class:"p-0"},Eu={class:"-mx-9 bg-gray-50 px-9 py-3 text-xs"},Nu=["tabindex","onClick","onKeyup"],Tu={key:1,class:"ml-1 inline-flex h-3.5 w-3.5 items-center justify-center rounded-full bg-blue-100 text-2xs font-bold text-blue-600"},Mu={key:0},Vu={colspan:"2",class:"p-0"},Su={class:"-mx-9 bg-gray-50 px-9 py-3 text-xs"},zu={key:0,class:"border-t font-bold"},Pu=e.defineComponent({__name:"InvoiceSummary",props:{invoice:{},isExpandable:{type:Boolean,default:!1},isInvoiceLineCreatable:{type:Boolean,default:!1},showRenderedServicesHeader:{type:Boolean,default:!0},isCustomerFacing:{type:Boolean}},setup(t){const l=Gn(),n=t,[a,i]=ha(),[r,s]=ha(),[d,u]=function(t=!1,o={}){const{truthyValue:l=!0,falsyValue:n=!1}=o,a=e.isRef(t),i=e.ref(t);function r(e){if(arguments.length)return i.value=e,i.value;{const e=uu(l);return i.value=i.value===e?uu(n):e,i.value}}return a?r:[i,r]}(),p=(...e)=>{n.isExpandable&&i(...e)},m=e=>{n.isExpandable&&s(e)},f=()=>{n.invoice.tax_categories&&n.isExpandable&&u()},h=(e,t)=>+`${e}${t}`,v=e=>l.$t({id:"invoice.service_period_heading",defaultMessage:"Service period - {start_at} - {end_at}",description:"Heading for rendered services where {start_at} is replaced for the start date and {end_at} for the end date in invoice summary"},{start_at:l.formatDate({date:e.start_at,format:"date",timezone:xo(n.invoice.customer.timezone),offsetType:"offsetted"}),end_at:l.formatDate({date:e.end_at,format:"date",timezone:xo(n.invoice.customer.timezone),offsetType:"offsetted"})}),g=e=>{switch(e){case"PRICING":case"REVENUE":return l.$t({id:"invoice.table_heading.products",defaultMessage:"Products",description:"Table heading for the column containing the products of the invoice"});case"COMMITMENT":return l.$t({id:"invoice.table_heading.commitments",defaultMessage:"Commitments",description:"Table heading for the column containing the commitments of the invoice"});case"DISCOUNT":return l.$t({id:"invoice.table_heading.discounts",defaultMessage:"Discounts",description:"Table heading for the column containing the discounts of the invoice"});case"MARKUP":return l.$t({id:"invoice.table_heading.markups",defaultMessage:"Markups",description:"Table heading for the column containing the markups of the invoice"});case"ONE_OFF":return l.$t({id:"invoice.table_heading.one_offs",defaultMessage:"One-off's",description:"Table heading for the column containing the one-offs of the invoice"})}},y=e=>e.groups.reduce((e,t)=>t.type in e?{...e,[t.type]:[...e[t.type],t]}:{...e,[t.type]:[t]},{});return(n,i)=>(e.openBlock(),e.createElementBlock("div",null,[e.createElementVNode("div",yu,[n.$slots.logo?(e.openBlock(),e.createElementBlock("div",bu,[e.renderSlot(n.$slots,"logo")])):(e.openBlock(),e.createBlock(Js,{key:1,title:e.unref(l).$t({id:"invoice.title",defaultMessage:"Details",description:"Title for the invoice summary"}),variant:"neutral",icon:"draft"},null,8,["title"])),n.$slots.intro?e.renderSlot(n.$slots,"intro",{key:2}):e.createCommentVNode("",!0),e.createElementVNode("div",xu,[["ONE_OFF","STANDARD","ONE_OFF_CREDIT"].includes(t.invoice.type)&&["DRAFT","OPEN"].includes(t.invoice.status)&&t.isInvoiceLineCreatable?(e.openBlock(),e.createBlock(Mc,{key:0,to:{name:"invoice-add-line",params:{id:t.invoice.id}},class:"text-sm font-semibold"},{default:e.withCtx(()=>[e.createVNode(w,{icon:"add",size:"md",class:"mr-1"}),e.createElementVNode("span",null,e.toDisplayString(e.unref(l).$t({id:"invoice.add_invoice_line",defaultMessage:"Add invoice line",description:"Label for adding lines to an invoice"})),1)]),_:1},8,["to"])):e.createCommentVNode("",!0),e.renderSlot(n.$slots,"child-customers-selector")])]),n.$slots.total?e.renderSlot(n.$slots,"total",{key:0}):e.createCommentVNode("",!0),e.renderSlot(n.$slots,"notes"),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.invoice.periods,(r,c)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:c},[t.showRenderedServicesHeader?(e.openBlock(),e.createBlock(E,{key:0,class:"mt-6"},{default:e.withCtx(()=>[e.createVNode(o,{tag:"h2",variant:"caps-heading"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(v(r)),1)]),_:2},1024)]),_:2},1024)):e.createCommentVNode("",!0),r.groups?(e.openBlock(),e.createBlock(nd,{key:1,class:e.normalizeClass({"mt-3":t.showRenderedServicesHeader})},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Object.entries(y(r)),([o,c],s)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:o},[s>0?(e.openBlock(),e.createElementBlock("tr",ku,[...i[0]||(i[0]=[e.createElementVNode("td",null,[e.createElementVNode("div",{class:"h-4"})],-1)])])):e.createCommentVNode("",!0),e.createElementVNode("tr",null,[e.createVNode(id,{left:"",class:"text-gray-600"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(g(o)),1)]),_:2},1024),e.createVNode(id,{right:"",class:"text-gray-600"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(l).$t({id:"invoice.amount_table_heading",defaultMessage:"Amount",description:"Table heading for the amount column in the invoice table"})),1)]),_:1})]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(c,(i,c)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:c},["REVENUE"===o||"PRICING"===o||"ONE_OFF"===o?(e.openBlock(),e.createBlock(tu,{key:0,group:i,"expanded-items":e.unref(a),"handle-toggle-items":p,"is-expandable":t.isExpandable,"format-index":h,"invoice-period-order":r.period_order,"group-order":i.group_order,"amount-type":t.invoice.pricing_amount_type,"processing-only-customers":t.invoice.processing_only_customers},{"invoice-line-prefix":e.withCtx(t=>[e.renderSlot(n.$slots,"invoice-line-prefix",e.mergeProps({ref_for:!0},t))]),"one-off-line-context-menu":e.withCtx(t=>[e.renderSlot(n.$slots,"one-off-line-context-menu",e.mergeProps({ref_for:!0},t,{periodOrder:r.period_order}))]),_:2},1032,["group","expanded-items","is-expandable","invoice-period-order","group-order","amount-type","processing-only-customers"])):"DISCOUNT"===o||"MARKUP"===o?(e.openBlock(),e.createBlock(Nd,{key:1,group:i,"expanded-items":e.unref(a),"handle-toggle-items":p,"is-expandable":t.isExpandable,"format-index":h,"invoice-period-order":r.period_order,"group-order":i.group_order,"amount-type":t.invoice.pricing_amount_type,heading:"DISCOUNT"===o?e.unref(l).$t({id:"invoice.discounts_table_heading",defaultMessage:"Discounts",description:"Heading for discounts in the invoice table"}):e.unref(l).$t({id:"invoice.markups_table_heading",defaultMessage:"Markups",description:"Heading for markups in the invoice table"})},{"invoice-line-prefix":e.withCtx(t=>[e.renderSlot(n.$slots,"invoice-line-prefix",e.mergeProps({ref_for:!0},t))]),_:3},8,["group","expanded-items","is-expandable","invoice-period-order","group-order","amount-type","heading"])):"COMMITMENT"===o?(e.openBlock(),e.createBlock(_d,{key:2,group:i,"expanded-items":e.unref(a),"handle-toggle-items":p,"is-expandable":t.isExpandable,"format-index":h,"invoice-period-order":r.period_order,"group-order":i.group_order,"amount-type":t.invoice.pricing_amount_type},{"invoice-line-prefix":e.withCtx(t=>[e.renderSlot(n.$slots,"invoice-line-prefix",e.mergeProps({ref_for:!0},t))]),_:3},8,["group","expanded-items","is-expandable","invoice-period-order","group-order","amount-type"])):e.createCommentVNode("",!0)],64))),128))],64))),128))]),_:2},1032,["class"])):e.createCommentVNode("",!0)],64))),128)),t.invoice.tax_summary?(e.openBlock(),e.createBlock(nd,{key:1,class:"mt-6"},{default:e.withCtx(()=>[e.createElementVNode("tr",null,[e.createVNode(id,{left:"",class:"text-gray-600"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(l).$t({id:"invoice.totals_table_heading",defaultMessage:"Totals",description:"Table heading for the totals column in the invoice table"})),1)]),_:1}),e.createVNode(id,{right:"",class:"text-gray-600"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(l).$t({id:"invoice.amount_table_heading",defaultMessage:"Amount",description:"Table heading for the amount column in the invoice table"})),1)]),_:1})]),"INCLUDING_TAX"===t.invoice.pricing_amount_type?(e.openBlock(),e.createBlock(hu,{key:0,"total-amount":t.invoice.tax_summary.total_amount,"is-customer-facing":t.isCustomerFacing},null,8,["total-amount","is-customer-facing"])):(e.openBlock(),e.createBlock(mu,{key:1,"base-amount":t.invoice.tax_summary.base_amount},null,8,["base-amount"])),t.invoice.tax_summary.tax_amount?(e.openBlock(),e.createElementBlock("tr",{key:2,class:e.normalizeClass([{"cursor-pointer":t.invoice.tax_categories&&t.isExpandable},"border-t"]),tabindex:t.isExpandable?0:void 0,onClick:f,onKeyup:[e.withKeys(f,["enter"]),e.withKeys(f,["space"])]},[e.createVNode(ad,null,{default:e.withCtx(()=>[t.isExpandable&&t.invoice.tax_categories&&t.invoice.tax_categories.length?(e.openBlock(),e.createBlock(w,{key:0,icon:"keyboard_arrow_down",size:"md",class:e.normalizeClass(["absolute -translate-x-7 text-slate-400",{"-rotate-90":!e.unref(d)}])},null,8,["class"])):e.createCommentVNode("",!0),e.createTextVNode(" "+e.toDisplayString(e.unref(l).$t({id:"invoice.taxes_table_heading",defaultMessage:"Taxes",description:"Table heading for the taxes column in the invoice table"}))+" ",1),t.isExpandable&&t.invoice.tax_categories?(e.openBlock(),e.createElementBlock("span",wu,e.toDisplayString(t.invoice.tax_categories.length),1)):e.createCommentVNode("",!0)]),_:1}),e.createVNode(ad,{number:""},{default:e.withCtx(()=>[e.createVNode(Pi,{value:t.invoice.tax_summary.tax_amount},null,8,["value"])]),_:1})],42,_u)):e.createCommentVNode("",!0),e.unref(d)&&t.invoice.tax_categories?(e.openBlock(),e.createElementBlock("tr",Bu,[e.createElementVNode("td",Cu,[e.createElementVNode("div",Eu,[e.createVNode(gu,{"tax-categories":t.invoice.tax_categories},null,8,["tax-categories"])])])])):e.createCommentVNode("",!0),"INCLUDING_TAX"===t.invoice.pricing_amount_type?(e.openBlock(),e.createBlock(mu,{key:4,"base-amount":t.invoice.tax_summary.base_amount},null,8,["base-amount"])):(e.openBlock(),e.createBlock(hu,{key:5,"total-amount":t.invoice.tax_summary.total_amount},null,8,["total-amount"]))]),_:1})):e.createCommentVNode("",!0),e.unref(c)(t.invoice.closed_periods)?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(nd,{key:2,class:"mt-6"},{default:e.withCtx(()=>[e.createElementVNode("tr",null,[e.createVNode(id,{left:"",class:"text-gray-600"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(l).$t({id:"invoice.already_deducted_table_heading",defaultMessage:"Already deducted",description:"Table heading for the already deducted rows in the invoice table"})),1)]),_:1})]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.invoice.closed_periods,(o,l)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:l},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.groups,(o,n)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:n},[e.createElementVNode("tr",{class:e.normalizeClass(["border-t",{"pt-6":0===l,"cursor-pointer":t.isExpandable}]),tabindex:t.isExpandable?0:void 0,onClick:e=>m(h(l,n)),onKeyup:[e.withKeys(e=>m(h(l,n)),["enter"]),e.withKeys(e=>m(h(l,n)),["space"])]},[e.createVNode(ad,{class:"p-0"},{default:e.withCtx(()=>{var a,i;return[t.isExpandable?(e.openBlock(),e.createBlock(w,{key:0,icon:"keyboard_arrow_down",size:"md",class:e.normalizeClass(["absolute -translate-x-7 text-slate-400",{"-rotate-90":!e.unref(r).includes(h(l,n))}])},null,8,["class"])):e.createCommentVNode("",!0),e.createTextVNode(" "+e.toDisplayString(e.unref(Qa)((null==(a=o.products)?void 0:a.map(e=>e.name))??[]))+" ",1),t.isExpandable?(e.openBlock(),e.createElementBlock("span",Tu,e.toDisplayString(null==(i=o.lines)?void 0:i.length),1)):e.createCommentVNode("",!0)]}),_:2},1024),e.createVNode(ad,{number:""},{default:e.withCtx(()=>[e.createVNode(Pi,{value:o.amount_excluding_tax},null,8,["value"])]),_:2},1024)],42,Nu),e.unref(r).includes(h(l,n))?(e.openBlock(),e.createElementBlock("tr",Mu,[e.createElementVNode("td",Vu,[e.createElementVNode("div",Su,[e.createVNode(Kd,{"start-date":o.start_at,"end-date":o.end_at,total:o.amount_excluding_tax,group:o,"amount-type":t.invoice.pricing_amount_type},null,8,["start-date","end-date","total","group","amount-type"])])])])):e.createCommentVNode("",!0)],64))),128))],64))),128)),t.invoice.open_invoice_amount&&!t.invoice.paid?(e.openBlock(),e.createElementBlock("tr",zu,[e.createVNode(ad,{class:"font-bold"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(l).$t({id:"invoice.amount_due_table_heading",defaultMessage:"Amount due",description:"Table heading for the amount due row in the invoice table"})),1)]),_:1}),e.createVNode(ad,{number:""},{default:e.withCtx(()=>[e.createVNode(Pi,{value:t.invoice.open_invoice_amount},null,8,["value"])]),_:1})])):e.createCommentVNode("",!0)]),_:1}))]))}}),qu=e.defineComponent({__name:"PageGridAsideCard",props:{title:{},contentSpacing:{}},setup:t=>(o,l)=>(e.openBlock(),e.createElementBlock("div",null,[e.createVNode(Jr,{spacing:"none",title:t.title},{right:e.withCtx(()=>[e.renderSlot(o.$slots,"settings")]),default:e.withCtx(()=>[e.createVNode(Vc,{spacing:t.contentSpacing},{default:e.withCtx(()=>[e.renderSlot(o.$slots,"default")]),_:3},8,["spacing"])]),_:3},8,["title"])]))}),Du={sm:"range-sm",md:"range-md",lg:"range-lg",xl:"range-xl"};const Iu=e.defineComponent({__name:"CustomStyles",props:{css:{},marker:{}},setup(t){const o=t,l=e.ref();function n(e){if(!e||!l.value)return;const t=l.value.getRootNode();if(!(t instanceof ShadowRoot))return;if(t.querySelector(`style[${o.marker}]`))return;const n=document.createElement("style");n.setAttribute(o.marker,"true"),n.textContent=e,t.appendChild(n)}return e.onMounted(()=>{o.css&&n(o.css)}),e.watch(()=>o.css,e=>{if(!e||!l.value)return;const t=l.value.getRootNode();if(!(t instanceof ShadowRoot))return;const a=t.querySelector(`style[${o.marker}]`);a?a.textContent=e:n(e)}),(t,o)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"containerRef",ref:l},[e.renderSlot(t.$slots,"default")],512))}}),$u=["data-testid"],Ou=["step","min","max","name","disabled"],Hu={key:0,class:"mt-2 text-sm text-gray-500"},Au=e.defineComponent({__name:"RangeInput",props:e.mergeModels({disabled:{type:Boolean,default:!1},label:{default:void 0},labelAfter:{type:Boolean,default:!1},max:{default:100},min:{default:0},name:{},required:{type:Boolean,default:!1},rootClass:{default:""},size:{default:"md"},steps:{default:1},variant:{default:"default"},error:{},inputWrapperClass:{}},{modelValue:{required:!0},modelModifiers:{}}),emits:["update:modelValue"],setup(t){const o=t,l=e.useModel(t,"modelValue"),n=e.useTemplateRef("inputRef");function a(){const e=n.value;if(!e)return;const t=l.value??o.min,a=(Number(t)-o.min)/(o.max-o.min)*100;e.style.setProperty("--range-percentage",`${a}%`)}const{rangeClasses:i}=function(t){return{rangeClasses:e.computed(()=>`w-full appearance-none cursor-pointer ${Du[t.size.value]}`)}}(e.toRefs(o)),r=e.computed(()=>{switch(o.size){case"xl":return"lg";case"lg":return"md";case"md":return"sm";default:return o.size}}),s=o.name??oc("range-input-"),d=e.computed(()=>null!=l.value&&l.value>o.min?()=>{l.value=(l.value??0)-o.steps}:void 0),u=e.computed(()=>null!=l.value&&l.value<o.max?()=>{l.value=(l.value??0)+o.steps}:void 0),p=e.computed(()=>["stepped","stepped-contained","stepped-ghost"].includes(o.variant)),f=e.computed(()=>"stepped-contained"===o.variant),h=e.computed(()=>f.value||"stepped-ghost"===o.variant?"ghost":"outline");return e.watch([l,n],()=>e.nextTick(a),{immediate:!0}),(o,v)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("div",e.mergeProps(o.$attrs,{class:["flex flex-col gap-2",{rootClass:t.rootClass,"flex-col-reverse":t.labelAfter}],"data-testid":e.unref(ts)(e.unref(s))}),[t.label?(e.openBlock(),e.createBlock(Ac,{key:0,for:e.unref(s),required:t.required},e.createSlots({suffix:e.withCtx(()=>[e.renderSlot(o.$slots,"label-suffix")]),default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.label)+" ",1)]),_:2},[o.$slots.tooltip?{name:"tooltip",fn:e.withCtx(()=>[e.renderSlot(o.$slots,"tooltip")]),key:"0"}:void 0]),1032,["for","required"])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass({flex:p.value,"rounded border bg-white":f.value})},[p.value?(e.openBlock(),e.createBlock(e.unref(xs),{key:0,size:r.value,variant:h.value,icon:"remove",square:"",color:"gray",disabled:!d.value||t.disabled,onMousedown:v[0]||(v[0]=e=>{var t;return null==(t=d.value)?void 0:t.call(d)})},null,8,["size","variant","disabled"])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass([{"flex grow items-center px-3":p.value,"border-x":f.value},t.inputWrapperClass])},[e.withDirectives(e.createElementVNode("input",{ref_key:"inputRef",ref:n,"onUpdate:modelValue":v[1]||(v[1]=e=>l.value=e),step:t.steps,min:t.min,max:t.max,name:e.unref(s),disabled:t.disabled,type:"range",class:e.normalizeClass(e.unref(i)),onInput:a},null,42,Ou),[[e.vModelText,l.value]])],2),p.value?(e.openBlock(),e.createBlock(e.unref(xs),{key:1,size:r.value,variant:h.value,icon:"add",square:"",color:"gray",disabled:!u.value||t.disabled,onMousedown:v[2]||(v[2]=e=>{var t;return null==(t=u.value)?void 0:t.call(u)})},null,8,["size","variant","disabled"])):e.createCommentVNode("",!0)],2)],16,$u),e.createVNode(Iu,{marker:"range-input-styles",css:e.unref("/* Base - transparent background so track styles show through */\ninput[type='range'] {\n -webkit-appearance: none;\n -moz-appearance: none;\n appearance: none;\n width: 100%;\n background: transparent;\n margin: 0.5rem 0;\n}\n\n/* Thumb - white with explicit border (required for Firefox) */\ninput[type='range']::-webkit-slider-thumb {\n -webkit-appearance: none;\n appearance: none;\n width: 1rem;\n height: 1rem;\n border: 2px solid rgb(229 231 235);\n border-radius: 50%;\n background: #ffffff;\n box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.3);\n cursor: pointer;\n transition: all 0.1s ease-in-out;\n}\n\ninput[type='range']:disabled::-webkit-slider-thumb {\n cursor: not-allowed;\n}\n\ninput[type='range']::-moz-range-thumb {\n -moz-appearance: none;\n appearance: none;\n width: 1rem;\n height: 1rem;\n border: 2px solid rgb(229 231 235);\n border-radius: 50%;\n background: #ffffff;\n box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.3);\n cursor: pointer;\n transition: all 0.1s ease-in-out;\n}\n\ninput[type='range']:disabled::-moz-range-thumb {\n cursor: not-allowed;\n}\n\ninput[type='range']:not(:disabled):hover::-webkit-slider-thumb {\n box-shadow: 0 0 0 6px color-mix(in srgb, var(--color-primary-200) 50%, transparent);\n}\n\ninput[type='range']:not(:disabled):hover::-moz-range-thumb {\n box-shadow: 0 0 0 6px color-mix(in srgb, var(--color-primary-200) 50%, transparent);\n}\n\ninput[type='range']:not(:disabled):active::-webkit-slider-thumb {\n box-shadow: 0 0 0 8px color-mix(in srgb, var(--color-primary-200) 50%, transparent);\n}\n\ninput[type='range']:not(:disabled):active::-moz-range-thumb {\n box-shadow: 0 0 0 8px color-mix(in srgb, var(--color-primary-200) 50%, transparent);\n}\n\n/* Track - WebKit */\ninput[type='range']::-webkit-slider-runnable-track {\n width: 100%;\n height: 0.5rem;\n cursor: pointer;\n background: linear-gradient(\n to right,\n var(--color-primary-600) var(--range-percentage, 0%),\n #e0e5eb var(--range-percentage, 0%)\n );\n border-radius: 0.25rem;\n}\n\ninput[type='range']:disabled::-webkit-slider-runnable-track {\n background: #e0e5eb;\n cursor: not-allowed;\n}\n\n/* Track - Mozilla */\ninput[type='range']::-moz-range-track {\n width: 100%;\n height: 0.5rem;\n cursor: pointer;\n background: linear-gradient(\n to right,\n var(--color-primary-600) var(--range-percentage, 0%),\n #e0e5eb var(--range-percentage, 0%)\n );\n border-radius: 0.25rem;\n}\n\ninput[type='range']:disabled::-moz-range-track {\n background: #e0e5eb;\n cursor: not-allowed;\n}\n\n/* Size: sm */\ninput[type='range'].range-sm::-webkit-slider-thumb {\n width: 0.8rem;\n height: 0.8rem;\n margin-top: -0.2rem;\n}\n\ninput[type='range'].range-sm::-moz-range-thumb {\n width: 0.8rem;\n height: 0.8rem;\n}\n\ninput[type='range'].range-sm::-webkit-slider-runnable-track {\n height: 0.4rem;\n border-radius: 0.2rem;\n}\n\ninput[type='range'].range-sm::-moz-range-track {\n height: 0.4rem;\n border-radius: 0.2rem;\n}\n\n/* Size: md */\ninput[type='range'].range-md::-webkit-slider-thumb {\n width: 1rem;\n height: 1rem;\n margin-top: -0.25rem;\n}\n\ninput[type='range'].range-md::-moz-range-thumb {\n width: 1rem;\n height: 1rem;\n}\n\ninput[type='range'].range-md::-webkit-slider-runnable-track {\n height: 0.5rem;\n border-radius: 0.25rem;\n}\n\ninput[type='range'].range-md::-moz-range-track {\n height: 0.5rem;\n border-radius: 0.25rem;\n}\n\n/* Size: lg */\ninput[type='range'].range-lg::-webkit-slider-thumb {\n width: 1.4rem;\n height: 1.4rem;\n margin-top: -0.35rem;\n}\n\ninput[type='range'].range-lg::-moz-range-thumb {\n width: 1.4rem;\n height: 1.4rem;\n}\n\ninput[type='range'].range-lg::-webkit-slider-runnable-track {\n height: 0.7rem;\n border-radius: 0.35rem;\n}\n\ninput[type='range'].range-lg::-moz-range-track {\n height: 0.7rem;\n border-radius: 0.35rem;\n}\n\n/* Size: xl */\ninput[type='range'].range-xl::-webkit-slider-thumb {\n width: 1.8rem;\n height: 1.8rem;\n margin-top: -0.5rem;\n}\n\ninput[type='range'].range-xl::-moz-range-thumb {\n width: 1.8rem;\n height: 1.8rem;\n}\n\ninput[type='range'].range-xl::-webkit-slider-runnable-track {\n height: 0.9rem;\n border-radius: 0.45rem;\n}\n\ninput[type='range'].range-xl::-moz-range-track {\n height: 0.9rem;\n border-radius: 0.45rem;\n}\n")},null,8,["css"]),!e.unref(c)(t.error)||o.$slots.helper?(e.openBlock(),e.createElementBlock("div",Hu,[e.unref(c)(t.error)?o.$slots.helper?e.renderSlot(o.$slots,"helper",{key:1}):e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(m,{key:0,message:t.error},null,8,["message"]))])):e.createCommentVNode("",!0)],64))}}),Lu=e.defineComponent({__name:"RangeInputExtended",props:e.mergeModels({options:{default:()=>[]},label:{},name:{},required:{type:Boolean,default:!1},rootClass:{},size:{default:"md"},variant:{},error:{},disabled:{type:Boolean},labelAfter:{type:Boolean},inputWrapperClass:{}},{modelValue:{required:!0},modelModifiers:{}}),emits:["update:modelValue"],setup(t){const o=t,l=e.useModel(t,"modelValue"),n=e.computed({get:()=>{const e=l.value?o.options.findIndex(e=>e===l.value):0;return e>=0?e:0},set:e=>(l.value=o.options[e],o.options.findIndex(e=>e===l.value))}),a=e.computed(()=>o.options.length??1);return(o,l)=>(e.openBlock(),e.createBlock(Au,e.mergeProps({modelValue:n.value,"onUpdate:modelValue":l[0]||(l[0]=e=>n.value=e)},o.$attrs,{variant:t.variant,"label-after":t.labelAfter,min:0,max:a.value-1,steps:1,label:t.label,name:t.name,required:t.required,"root-class":t.rootClass,size:t.size,"input-wrapper-class":t.inputWrapperClass}),{"label-suffix":e.withCtx(()=>[e.renderSlot(o.$slots,"label-suffix")]),_:3},16,["modelValue","variant","label-after","max","label","name","required","root-class","size","input-wrapper-class"]))}}),Zu=e.defineComponent({__name:"PricingGroupRangeInput",props:e.mergeModels({modelValue:{},options:{},name:{},variant:{default:"stepped-contained"},size:{}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(t){const l=t,n=e.useModel(t,"modelValue"),a=e.computed(()=>{var e;return null==(e=l.options.find(e=>e.value===n.value))?void 0:e.label}),i=e.computed(()=>l.options.map(e=>e.value)),r=e.computed(()=>{var e;return null==(e=l.options.find(e=>e.value===n.value))?void 0:e.description});return(l,c)=>(e.openBlock(),e.createBlock(e.unref(Lu),e.mergeProps({modelValue:n.value,"onUpdate:modelValue":c[0]||(c[0]=e=>n.value=e)},l.$attrs,{label:a.value,"label-after":"",variant:t.variant,name:t.name,options:i.value,size:t.size,"input-wrapper-class":"border-l border-r",required:""}),{"label-suffix":e.withCtx(()=>[e.createVNode(e.unref(o),{tag:"span",variant:"body-xs",shade:"lighter"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(r.value),1)]),_:1})]),_:1},16,["modelValue","label","variant","name","options","size"]))}}),Ru={defaultPricing:"Pricing",combinedVolume:{combinedVolume:"Combined volume",description:"Total volume sets the tier, applied proportionally to the selected rules."},topUpChip:{topUp:"Top up",defaultTooltip:"Top up allows moving unused volume over to the next billing cycle",tieredTooltip:{blockSize:"Includes prior volume to determine the tier and unused volume will move over",nonBlockSize:"Includes prior volume to determine the tier"},rollover:{title:"Rollover",tooltip:"Top up is applied to the next following schedule's billing cycles"}},splitBy:"Split by"},Fu={class:"inline-flex items-center"},Uu=e.defineComponent({__name:"TopUpChip",props:{i18n:{},placement:{},hasTooltip:{type:Boolean},pricingItemConfig:{}},setup(t){const o=t,l=e.computed(()=>{var e,t;return!!(null==(t=null==(e=o.pricingItemConfig)?void 0:e.top_up)?void 0:t.rollover)}),n=e.computed(()=>({color:"dark",hasChipAfter:l.value})),a={color:"dark",dark:!0,hasChipBefore:!0},i=e.computed(()=>{var e,t,l;return null==(l=null==(t=null==(e=o.pricingItemConfig)?void 0:e.details)?void 0:t.bands)?void 0:l.some(e=>e.block_size)}),r=e.computed(()=>ri(o.pricingItemConfig)&&i.value?o.i18n.tieredTooltip.blockSize:ri(o.pricingItemConfig)&&!i.value?o.i18n.tieredTooltip.nonBlockSize:o.i18n.defaultTooltip);return(o,i)=>(e.openBlock(),e.createElementBlock("span",Fu,[t.hasTooltip?(e.openBlock(),e.createBlock(Ic,{key:0,offset:4,placement:t.placement},{default:e.withCtx(()=>[e.createVNode(Qn,e.normalizeProps(e.guardReactiveProps(n.value)),{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.i18n.topUp),1)]),_:1},16)]),tooltip:e.withCtx(()=>[e.createVNode(Gc,null,{default:e.withCtx(()=>[e.createVNode(jc,null,{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(r.value),1)]),_:1})]),_:1})]),_:1},8,["placement"])):(e.openBlock(),e.createBlock(Qn,e.normalizeProps(e.mergeProps({key:1},n.value)),{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.i18n.topUp),1)]),_:1},16)),l.value?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[t.hasTooltip?(e.openBlock(),e.createBlock(Ic,{key:0,offset:4,placement:t.placement},{default:e.withCtx(()=>[e.createVNode(Qn,e.normalizeProps(e.guardReactiveProps(a)),{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.i18n.rollover.title),1)]),_:1},16)]),tooltip:e.withCtx(()=>[e.createVNode(Gc,null,{default:e.withCtx(()=>[e.createVNode(jc,null,{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.i18n.rollover.tooltip),1)]),_:1})]),_:1})]),_:1},8,["placement"])):(e.openBlock(),e.createBlock(Qn,e.normalizeProps(e.mergeProps({key:1},a)),{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.i18n.rollover.title),1)]),_:1},16))],64)):e.createCommentVNode("",!0)]))}}),Gu={class:"flex items-center gap-2"},ju={class:"flex items-center gap-2"},Qu={key:0},Ku=e.defineComponent({__name:"PricingItemConfigHeader",props:{config:{},i18n:{},hasTooltip:{type:Boolean,default:!0},isCombinedPricing:{type:Boolean}},setup(t){const l=t,n=e.computed(()=>l.i18n??Ru),a=e.computed(()=>{var e,t;return!c(null==(t=null==(e=l.config)?void 0:e.conditions)?void 0:t.meter_properties)});return(l,i)=>(e.openBlock(),e.createElementBlock("div",Gu,[e.createElementVNode("div",ju,[e.createVNode(o,{class:"line-clamp-1","no-spacing":"",shade:"light",variant:"body",weight:"semibold"},{default:e.withCtx(()=>{var l,i,r,c,s,d;return[(null==(l=t.config.conditions)?void 0:l.name)||a.value?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[(null==(i=t.config.conditions)?void 0:i.name)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createTextVNode(e.toDisplayString(null==(r=t.config.conditions)?void 0:r.name),1)],64)):e.createCommentVNode("",!0),a.value&&(null==(s=null==(c=t.config)?void 0:c.conditions)?void 0:s.meter_properties)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[t.hasTooltip&&(null==(d=t.config.conditions)?void 0:d.name)?(e.openBlock(),e.createBlock(Ic,{key:0,variant:"outline",class:"ml-1"},{default:e.withCtx(()=>[e.createVNode(w,{icon:"help",size:"2xs",class:"rounded drop-shadow-sm hover:cursor-default hover:bg-gray-50"})]),tooltip:e.withCtx(()=>[e.createVNode(Gc,null,{default:e.withCtx(()=>[e.createVNode(o,{variant:"body-sm","no-spacing":"",shade:"light"},{default:e.withCtx(()=>{var o,l;return[e.createVNode(Yc,{comparators:null==(l=null==(o=t.config)?void 0:o.conditions)?void 0:l.meter_properties},null,8,["comparators"])]}),_:1})]),_:1})]),_:1})):(e.openBlock(),e.createBlock(o,{key:1,weight:"normal",shade:"light",tag:"span"},{default:e.withCtx(()=>{var o,l,n;return[(null==(o=t.config.conditions)?void 0:o.name)?(e.openBlock(),e.createElementBlock("span",Qu," - ")):e.createCommentVNode("",!0),e.createVNode(Yc,{comparators:null==(n=null==(l=t.config)?void 0:l.conditions)?void 0:n.meter_properties,display:"inline"},null,8,["comparators"])]}),_:1}))],64)):e.createCommentVNode("",!0)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createTextVNode(e.toDisplayString(n.value.defaultPricing),1)],64))]}),_:1}),t.config.volume_group_reference?(e.openBlock(),e.createBlock(Qc,{key:0,i18n:n.value.combinedVolume},null,8,["i18n"])):e.createCommentVNode("",!0),e.unref(ii)(t.config)?(e.openBlock(),e.createBlock(Uu,{key:1,i18n:n.value.topUpChip,"pricing-item-config":t.config},null,8,["i18n","pricing-item-config"])):e.createCommentVNode("",!0)]),e.renderSlot(l.$slots,"override-tooltip")]))}}),Wu=["disabled"],Yu=["aria-label"],Xu=["id","disabled","value","aria-checked","aria-describedby"],Ju=["tabindex","data-testid","for","aria-label","onKeydown"],ep={class:"text-xs"},tp={key:1,class:"mt-2 text-sm text-gray-500"},op=e.defineComponent({__name:"RadioGroupExtended",props:{options:{},direction:{default:"row"},showRadio:{type:Boolean,default:!0},disabled:{type:Boolean},label:{},modelValue:{type:[String,Boolean]},name:{},required:{type:Boolean},rootClass:{},error:{},variant:{}},emits:["update:modelValue"],setup(t,{emit:l}){const n=t,a=de(n,"modelValue",l),i=oc(n.name?`radio_${n.name}_`:"radio_");return(l,r)=>(e.openBlock(),e.createElementBlock("fieldset",{class:e.normalizeClass(t.rootClass),disabled:t.disabled},[t.label?(e.openBlock(),e.createBlock(e.unref(Ac),{key:0,tag:"legend",required:t.required},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.label),1)]),_:1},8,["required"])):e.createCommentVNode("",!0),e.createElementVNode("div",{role:"group","aria-label":t.label,class:e.normalizeClass([["column"===t.direction?"flex-col":"flex-row"],"flex gap-1 rounded"])},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.options,c=>(e.openBlock(),e.createElementBlock("div",{key:c.value.toString(),class:"flex-1"},[e.withDirectives(e.createElementVNode("input",e.mergeProps({ref_for:!0},l.$attrs,{id:`${e.unref(i)}${c.value}`,"onUpdate:modelValue":r[0]||(r[0]=t=>e.isRef(a)?a.value=t:null),disabled:t.disabled,value:c.value,type:"radio","aria-checked":e.unref(a)===c.value,"aria-describedby":c.warning?`${e.unref(i)}${c.value}-warning`:void 0,tabindex:"-1",class:"sr-only"}),null,16,Xu),[[e.vModelRadio,e.unref(a)]]),e.createElementVNode("label",{tabindex:t.disabled?void 0:0,"data-testid":`radio-group-item-${c.value}`,for:`${e.unref(i)}${c.value}`,"aria-label":c.label+(c.description?`: ${c.description}`:""),class:e.normalizeClass(["label hover:bg-primary-50/50 relative flex h-full gap-3 rounded border border-gray-100 bg-gray-50/50 px-4 py-3 outline-none focus:bg-primary-50 focus-visible:border-primary-600 focus-visible:bg-primary-50 focus-visible:ring-1 focus-visible:ring-primary-600",{"cursor-pointer":!t.disabled,"cursor-not-allowed":t.disabled,"border border-primary-600 bg-white ring-1 ring-primary-600":e.unref(a)===c.value&&!t.disabled,"opacity-60":t.disabled}]),onKeydown:e=>{return t=e,o=c.value,void(n.disabled||"Enter"!==t.key&&" "!==t.key||(t.preventDefault(),t.stopPropagation(),a.value=o));var t,o}},[t.showRadio?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["material-symbols-outlined mt-px inline-block h-4 w-4 min-w-4 rounded-full leading-4",{"border-4 border-primary-800":e.unref(a)===c.value,"border border-gray-300":e.unref(a)!==c.value}])},null,2)):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(["flex flex-col",{"opacity-50":t.disabled}])},[e.createVNode(e.unref(o),{tag:"div",weight:"semibold","no-spacing":"",variant:"body-sm",class:"align-center flex justify-between"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(c.label),1)]),_:2},1024),c.description?(e.openBlock(),e.createBlock(e.unref(o),{key:0,tag:"div",variant:"body-xs","no-spacing":"",shade:"lighter"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(c.description),1)]),_:2},1024)):e.createCommentVNode("",!0),c.description?e.createCommentVNode("",!0):e.renderSlot(l.$slots,"description",{key:1,optionValue:c.value})],2)],42,Ju),c.warning?(e.openBlock(),e.createBlock(e.unref(dc),{key:0,id:`${e.unref(i)}${c.value}-warning`,class:"mt-1",type:e.unref(a)===c.value?"danger":"dark",role:"alert"},{default:e.withCtx(()=>[e.createElementVNode("span",ep,e.toDisplayString(c.warning),1)]),_:2},1032,["id","type"])):e.createCommentVNode("",!0)]))),128))],10,Yu),t.error||l.$slots.helper?(e.openBlock(),e.createElementBlock("div",tp,[t.error?(e.openBlock(),e.createBlock(e.unref(m),{key:0,message:t.error},null,8,["message"])):l.$slots.helper?e.renderSlot(l.$slots,"helper",{key:1}):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)],10,Wu))}}),lp={class:"flex items-center pt-1"},np={class:"px-1.5 text-gray-500 text-xs font-semibold"};const ap=h({},[["render",function(t,o){return e.openBlock(),e.createElementBlock("div",lp,[o[0]||(o[0]=e.createElementVNode("div",{class:"border-t w-2"},null,-1)),e.createElementVNode("span",np,[e.renderSlot(t.$slots,"default")]),o[1]||(o[1]=e.createElementVNode("div",{class:"border-t grow"},null,-1))])}]]),ip=["aria-selected","aria-disabled","data-testid"],rp=["id","value","checked","disabled"],cp=["for"],sp={class:"flex items-center gap-1"},dp={class:"flex flex-grow flex-col"},up={class:"flex flex-grow gap-2"},pp={class:"flex flex-grow flex-col"},mp={class:"flex flex-grow items-start justify-between gap-2"},fp={class:"flex items-center gap-2"},hp=e.defineComponent({__name:"SelectExtendedOption",props:{multiple:{type:Boolean},inputValue:{},condensed:{type:Boolean},label:{},checked:{type:Boolean},disabled:{type:Boolean},subLabel:{},labelPrefixComponent:{},labelSuffixComponent:{},labelInlineComponent:{},value:{},labelSrOnly:{type:Boolean}},emits:["value-changed"],setup(t,{emit:o}){const l=o,n=t,a=e=>{const t=e.target;l("value-changed",{value:t.value,checked:t.checked})},i=()=>{n.multiple||n.disabled||l("value-changed",{value:n.value})},c=e.computed(()=>`checkbox-item-${n.value}`),s=e.computed(()=>r(n.inputValue??""));return(o,l)=>(e.openBlock(),e.createElementBlock("li",{role:"option","aria-selected":t.checked,"aria-disabled":t.disabled,class:e.normalizeClass([{"hover:bg-gray-50":!t.disabled},"flex relative"]),"data-testid":c.value,tabindex:"0",onClick:i,onKeydown:e.withKeys(i,["enter"])},[t.multiple?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("input",e.mergeProps(o.$attrs,{id:c.value,ref:"inputRef",value:t.value,checked:t.checked,disabled:t.disabled,type:"checkbox",class:["absolute top-[50%] -translate-y-2 left-3.5 w-4 h-4 bg-gray-100 border-gray-300 rounded focus:ring-primary-500 focus:ring-2",t.disabled?"text-gray-400 placeholder-gray-500":"text-primary-600"],tabindex:"-1",onChange:a}),null,16,rp),e.createElementVNode("label",{for:c.value,class:e.normalizeClass([t.disabled?"text-gray-400":"text-gray-900 rounded","w-full px-4 py-3 pl-10 text-sm font-medium"])},[e.createElementVNode("div",sp,[t.labelPrefixComponent?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.labelPrefixComponent.component),{key:0})):e.createCommentVNode("",!0),e.createElementVNode("div",dp,[e.createElementVNode("div",up,[e.createVNode(p,{text:t.label,search:s.value,class:e.normalizeClass(["font-semibold",{"sr-only":t.labelSrOnly}])},null,8,["text","search","class"]),t.labelInlineComponent?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.labelInlineComponent.component),e.normalizeProps(e.mergeProps({key:0},t.labelInlineComponent.props)),null,16)):e.createCommentVNode("",!0),t.subLabel&&t.condensed?(e.openBlock(),e.createBlock(p,{key:1,class:"text-xs text-slate-500",text:t.subLabel,search:s.value},null,8,["text","search"])):e.createCommentVNode("",!0)]),t.subLabel&&!t.condensed?(e.openBlock(),e.createBlock(p,{key:0,class:"text-xs text-slate-500",text:t.subLabel,search:s.value},null,8,["text","search"])):e.createCommentVNode("",!0)]),t.labelSuffixComponent?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.labelSuffixComponent.component),e.normalizeProps(e.mergeProps({key:1},t.labelSuffixComponent.props)),null,16)):e.createCommentVNode("",!0)])],10,cp)],64)):(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(["w-full px-4 text-sm font-medium flex items-start gap-3",[t.condensed?"p-2":"py-3",t.disabled??"cursor-not-allowed",!t.disabled&&"cursor-pointer"]])},[t.labelPrefixComponent?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.labelPrefixComponent.component),e.normalizeProps(e.mergeProps({key:0},t.labelPrefixComponent.props)),null,16)):e.createCommentVNode("",!0),e.createElementVNode("div",pp,[e.createElementVNode("div",mp,[e.createVNode(p,{text:t.label,search:s.value,class:e.normalizeClass(["font-semibold",{"text-gray-400":t.disabled}])},null,8,["text","search","class"]),e.createElementVNode("div",fp,[t.labelInlineComponent?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.labelInlineComponent.component),e.normalizeProps(e.mergeProps({key:0},t.labelInlineComponent.props)),null,16)):e.createCommentVNode("",!0),t.labelSuffixComponent?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.labelSuffixComponent.component),e.normalizeProps(e.mergeProps({key:1},t.labelSuffixComponent.props)),null,16)):e.createCommentVNode("",!0)])]),t.subLabel&&t.condensed?(e.openBlock(),e.createBlock(p,{key:0,class:"text-xs text-slate-500",text:t.subLabel,search:s.value},null,8,["text","search"])):e.createCommentVNode("",!0),t.subLabel&&!t.condensed?(e.openBlock(),e.createBlock(p,{key:1,class:"text-xs text-slate-500",text:t.subLabel,search:s.value},null,8,["text","search"])):e.createCommentVNode("",!0)])],2))],42,ip))}}),vp={class:"flex flex-col rounded-bl rounded-br"},gp={key:0},yp={key:2,class:"border-t border-gray-200"},bp=e.defineComponent({__name:"SelectExtendedOptions",props:{model:{},multiple:{type:Boolean},condensed:{type:Boolean},hasLargeDropdown:{type:Boolean},inputValue:{},addOnly:{type:Boolean},options:{}},emits:["value-changed"],setup(t,{emit:l}){const n=t,a=l,i=e=>a("value-changed",e),r=e.computed(()=>tc(n.options,"group").reduce((e,t)=>""===t.value?e:{...e,[t.value]:t.group},{})),c=e.computed(()=>0===n.options.length);return(l,n)=>(e.openBlock(),e.createElementBlock("div",vp,[c.value?(e.openBlock(),e.createBlock(o,{key:0,tag:"div","no-spacing":"",variant:"body-sm",shade:"lighter",class:"px-5 py-5"},{default:e.withCtx(()=>[...n[0]||(n[0]=[e.createTextVNode("No results",-1)])]),_:1})):(e.openBlock(),e.createElementBlock("ul",{key:1,class:e.normalizeClass(["list-none overflow-y-auto text-gray-700",[t.hasLargeDropdown?"max-h-76":"max-h-48"]])},[t.addOnly?(e.openBlock(),e.createElementBlock("div",gp,[e.createVNode(o,{tag:"p","no-spacing":"",variant:"body-sm",shade:"lighter",class:"mt-1 px-3 py-2"},{default:e.withCtx(()=>[...n[1]||(n[1]=[e.createTextVNode(e.toDisplayString("You can only select currently unselected options."),-1)])]),_:1})])):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.options,({label:o,subLabel:l,value:n,checked:a,disabled:c,labelInlineComponent:s,labelSuffixComponent:d,labelSrOnly:u,labelPrefixComponent:p,hidden:m})=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:n},[r.value[n]?(e.openBlock(),e.createBlock(ap,{key:0},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(r.value[n]),1)]),_:2},1024)):e.createCommentVNode("",!0),m?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(hp,{key:1,label:o,"sub-label":l,value:n,checked:a,disabled:c,multiple:t.multiple,condensed:t.condensed,"label-suffix-component":d,"label-prefix-component":p,"label-inline-component":s,"label-sr-only":u,"input-value":t.inputValue,onValueChanged:i},null,8,["label","sub-label","value","checked","disabled","multiple","condensed","label-suffix-component","label-prefix-component","label-inline-component","label-sr-only","input-value"]))],64))),128))],2)),l.$slots["list-footer-content"]?(e.openBlock(),e.createElementBlock("div",yp,[e.renderSlot(l.$slots,"list-footer-content")])):e.createCommentVNode("",!0)]))}}),xp=["aria-expanded","aria-controls"],kp={class:"flex items-center gap-2"},_p={key:1},wp={class:"flex items-center gap-2"},Bp={key:0,class:"mt-2 flex flex-wrap gap-2"},Cp=["innerHTML"],Ep=["id"],Np=e.defineComponent({__name:"SelectExtended",props:{addOnly:{type:Boolean,default:!1},disabled:{type:Boolean},label:{},labelScreenReaderOnly:{type:Boolean},inputModel:{},singleModelValue:{},multiModelValue:{},options:{default:()=>[]},optionsOrder:{default:()=>["asc","asc"]},optionsOrderProperties:{default:()=>["group","label"]},required:{type:Boolean,default:!1},rootClass:{},size:{default:"md"},withChips:{type:Boolean,default:!1},chipColor:{},error:{},hasReset:{type:Boolean},name:{},hasLargeDropdown:{type:Boolean,default:!1},showSuffixInClosedInput:{type:Boolean},showSuffixLabelInInput:{type:Boolean},showSubLabelInInput:{type:Boolean,default:!1},condensed:{type:Boolean},form:{},isInputReadOnly:{type:Boolean,default:!0},textContent:{default:()=>({placeholderSingleOpen:"Search",placeholderSingleEmpty:"Select an option",placeholderMultipleOpen:"Search",placeholderMultipleEmpty:"Select one or more options",buttonAddLabel:"Add",buttonClearLabel:"Reset",buttonDoneLabel:"Done"})}},emits:["update:inputModel","update:singleModelValue","update:multiModelValue","blur","change","focus","add-option"],setup(t,{emit:l}){var n;const a=t,i=l,r=null==(n=e.getCurrentInstance())?void 0:n.vnode.props,s=de(a,"inputModel",i),u=de(a,"singleModelValue",i),p=de(a,"multiModelValue",i),m=e.computed(()=>h.value?p.value??[]:u.value?[u.value]:[]),f=e.ref(a.multiModelValue??[]),h=e.computed(()=>Array.isArray(a.multiModelValue)),v=e.computed({get:()=>h.value?f.value??[]:"string"==typeof u.value?[u.value]:[],set(e){h.value?f.value=e:u.value=(null==e?void 0:e[0])??""}}),g=e.ref(!1),y=ma(),b=e.ref(),x=e.ref(),k=e.inject(bs),_=e.computed(()=>{return e=v.value,a.options.filter(t=>e.some(e=>t.value===e));var e}),B=e.computed(()=>_.value[0]),C=e.computed(()=>U.value[0]),E=e.computed(()=>{var e;return!g.value&&!h.value&&(null==(e=B.value)?void 0:e.labelPrefixComponent)}),N=!!(null==r?void 0:r.onAddOption),T=()=>{i("add-option"),V()},M=e.computed(()=>{var e,t,o,l;if(!h.value){if(B.value)return null==(e=B.value)?void 0:e.label;if(0===_.value.length)return a.textContent.placeholderSingleEmpty}if(h.value){if(1===_.value.length)return null==(t=B.value)?void 0:t.label;if(_.value.length>=2)return`${null==(o=B.value)?void 0:o.label} +${_.value.length-1}`;if(0===_.value.length)return a.textContent.placeholderMultipleEmpty}return null==(l=C.value)?void 0:l.label}),V=()=>{h.value,g.value=!1},S=({value:e,checked:t})=>{let o;h.value?o=t?[...v.value,e]:v.value.filter(t=>t!==e):(o=[e],g.value=!1),v.value=o,i("change")},z=e.computed(()=>!(!a.addOnly||d(f.value,a.multiModelValue))||!a.addOnly&&v.value.length>0&&!a.disabled&&(1!==v.value.length||""!==v.value[0])),P=()=>{if(a.addOnly)return f.value=m.value,s.value="",void V();v.value=[],f.value=[],s.value&&(s.value=""),V()},q=()=>b.value?Array.from(b.value.querySelectorAll('li[tabindex="0"], button:not([disabled])')):[],D=()=>{var e;let t=document.activeElement;for(;null==(e=null==t?void 0:t.shadowRoot)?void 0:e.activeElement;)t=t.shadowRoot.activeElement;return t},I=()=>{if(!x.value)return null;let e=x.value.querySelector("input");if(e)return e;const t=x.value.querySelectorAll("*");for(const o of t)if(o.shadowRoot&&(e=o.shadowRoot.querySelector("input"),e))return e;return null},$=e=>{var t,o;if(!g.value)return;const l=q(),n=I();if(D()===n)switch(e.key){case"ArrowDown":l.length>0&&(e.preventDefault(),null==(t=l[0])||t.focus());break;case"Tab":!e.shiftKey&&l.length>0&&(e.preventDefault(),null==(o=l[0])||o.focus());break;case"Escape":e.preventDefault(),V()}},H=t=>{var o,l,n,a;const i=q(),r=D(),c=i.indexOf(r),s=I();switch(t.key){case"ArrowDown":c<i.length-1&&(t.preventDefault(),null==(o=i[c+1])||o.focus());break;case"ArrowUp":t.preventDefault(),c<=0?null==s||s.focus():null==(l=i[c-1])||l.focus();break;case"Tab":t.shiftKey?c<=0?(t.preventDefault(),null==s||s.focus()):(t.preventDefault(),null==(n=i[c-1])||n.focus()):c>=i.length-1?(t.preventDefault(),V(),null==s||s.focus()):(t.preventDefault(),null==(a=i[c+1])||a.focus());break;case"Escape":t.preventDefault(),V(),e.nextTick(()=>{null==s||s.focus()})}};O("mousedown",e=>{const t=e.composedPath();b.value&&t.includes(b.value)||x.value&&t.includes(x.value)||g.value&&V()});const{floatingStyles:A}=qt(x,b,{whileElementsMounted:Et,placement:"bottom",middleware:[Nt(4),Tt({mainAxis:!0})]}),L=oc("search-select-options-"),{width:Z}=ne(x),R=()=>{const e=I();e&&e.focus()},F=e.computed(()=>a.options.map(e=>({...e,checked:_.value.some(t=>t.value===e.value),disabled:a.disabled||!a.disabled&&a.addOnly&&!!m.value.includes(e.value)}))),U=e.computed(()=>F.value.filter(e=>{var t;return null==(t=v.value)?void 0:t.includes(e.value)}));return(l,n)=>{var a;return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("div",{ref_key:"wrapperRef",ref:x,class:e.normalizeClass(["relative flex items-end",{rootClass:t.rootClass,"z-30":g.value,"cursor-text":!t.disabled}]),role:"combobox","aria-expanded":g.value,"aria-haspopup":!0,"aria-controls":e.unref(L),onKeydown:$,onClick:R},[e.createVNode(e.unref(Ts),{modelValue:e.unref(s),"onUpdate:modelValue":n[0]||(n[0]=t=>e.isRef(s)?s.value=t:null),readonly:t.isInputReadOnly,required:t.required,label:t.label,name:t.name,form:t.form,"label-screen-reader-only":t.labelScreenReaderOnly,placeholder:M.value,class:e.normalizeClass(["grow !outline-none",{"placeholder:text-gray-900":!g.value&&(!h.value&&e.unref(u)||h.value&&!e.unref(c)(t.multiModelValue)),"cursor-default":t.isInputReadOnly}]),"wrapper-class":{"border-transparent border-b-gray-200 focus-within:border-b relative z-10":g.value},"suffix-class":"border-l-0 pl-0",disabled:t.disabled,size:t.size,error:t.error,"prefix-has-border":!1,"aria-autocomplete":"list",onFocus:n[1]||(n[1]=()=>g.value=!0),onBlur:n[2]||(n[2]=e=>l.$emit("blur"))},e.createSlots({"label-suffix":e.withCtx(()=>[e.renderSlot(l.$slots,"label-suffix")]),suffix:e.withCtx(()=>{var o,l;return[e.createElementVNode("div",wp,[g.value||h.value||!(null==(o=B.value)?void 0:o.labelInlineComponent)||t.showSuffixInClosedInput&&!t.showSuffixLabelInInput?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(e.resolveDynamicComponent(B.value.labelInlineComponent.component),e.normalizeProps(e.mergeProps({key:0},B.value.labelInlineComponent.props)),null,16)),!g.value&&!h.value&&(null==(l=B.value)?void 0:l.labelSuffixComponent)&&t.showSuffixInClosedInput?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(B.value.labelSuffixComponent.component),e.normalizeProps(e.mergeProps({key:1},B.value.labelSuffixComponent.props)),null,16)):e.createCommentVNode("",!0),e.unref(s)||z.value&&t.hasReset?(e.openBlock(),e.createBlock(xs,{key:2,icon:"close",size:"xs",variant:"ghost",color:"gray",type:"button",onClick:P})):e.createCommentVNode("",!0),e.createVNode(w,{icon:"keyboard_arrow_down",size:"xs",class:e.normalizeClass(["transition-transform",{"rotate-180":g.value}])},null,8,["class"])])]}),_:2},[t.showSubLabelInInput&&(null==(a=B.value)?void 0:a.subLabel)?{name:"input",fn:e.withCtx(()=>[e.createElementVNode("div",{class:e.normalizeClass(["pointer-events-none absolute inset-0 bg-white",{"px-4 py-3":"xl"===t.size}])},[e.createVNode(o,{tag:"span",class:"block",variant:"body-sm",weight:"semibold"},{default:e.withCtx(()=>{var t;return[e.createTextVNode(e.toDisplayString(null==(t=B.value)?void 0:t.label),1)]}),_:1}),e.createVNode(o,{tag:"span",class:"block",variant:"body-xs",shade:"lighter"},{default:e.withCtx(()=>{var t;return[e.createTextVNode(e.toDisplayString(null==(t=B.value)?void 0:t.subLabel),1)]}),_:1})],2)]),key:"0"}:void 0,l.$slots.tooltip?{name:"tooltip",fn:e.withCtx(()=>[e.renderSlot(l.$slots,"tooltip")]),key:"1"}:void 0,E.value||l.$slots.prefix?{name:"prefix",fn:e.withCtx(()=>{var t;return[e.createElementVNode("div",kp,[l.$slots.prefix?e.renderSlot(l.$slots,"prefix",{key:0}):E.value&&(null==(t=B.value)?void 0:t.labelPrefixComponent)?(e.openBlock(),e.createElementBlock("div",_p,[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(B.value.labelPrefixComponent.component),e.normalizeProps(e.guardReactiveProps(B.value.labelPrefixComponent.props)),null,16))])):e.createCommentVNode("",!0)])]}),key:"2"}:void 0,l.$slots.helper?{name:"helper",fn:e.withCtx(()=>[e.renderSlot(l.$slots,"helper")]),key:"3"}:void 0]),1032,["modelValue","readonly","required","label","name","form","label-screen-reader-only","placeholder","wrapper-class","class","disabled","size","error"])],42,xp),t.withChips?(e.openBlock(),e.createElementBlock("div",Bp,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(U.value,({value:o,label:l,disabled:n})=>(e.openBlock(),e.createBlock(Qn,{key:o,removable:!n,color:n?"dark":t.chipColor,onRemoved:e=>S({value:o,checked:!1})},{default:e.withCtx(()=>[e.createElementVNode("span",{innerHTML:l},null,8,Cp)]),_:2},1032,["removable","color","onRemoved"]))),128))])):e.createCommentVNode("",!0),e.unref(y)&&e.unref(k)?(e.openBlock(),e.createBlock(e.Teleport,{key:1,to:e.unref(k)},[g.value&&!t.disabled?(e.openBlock(),e.createElementBlock("div",{key:0,id:e.unref(L),ref_key:"optionsRef",ref:b,role:"listbox",style:e.normalizeStyle(e.unref(A)),class:"z-70 rounded bg-white drop-shadow-md",onMouseenter:n[3]||(n[3]=e=>g.value=!0),onKeydown:H},[e.createElementVNode("div",{class:"rounded pt-0",style:e.normalizeStyle({width:`${e.unref(Z)}px`})},[e.createVNode(bp,{options:F.value,multiple:h.value,model:v.value,"add-only":t.addOnly,"allows-multiple-values":!!h.value,condensed:t.condensed,"has-large-dropdown":t.hasLargeDropdown,"input-value":e.unref(s),onValueChanged:S},{"list-footer-content":e.withCtx(()=>[N?(e.openBlock(),e.createBlock(oo,{key:0,variant:"ghost",class:"w-full",type:"button","icon-prefix":"add",onClick:T},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.textContent.buttonAddLabel),1)]),_:1})):e.createCommentVNode("",!0),h.value?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(["flex items-center justify-between",{"py-2":!l.$slots["list-footer-content"]}])},[z.value?(e.openBlock(),e.createBlock(oo,{key:0,type:"button",color:"gray",variant:"ghost",size:"sm",class:"ml-2",onClick:P},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.textContent.buttonClearLabel),1)]),_:1})):e.createCommentVNode("",!0),e.createElementVNode("div",null,[e.renderSlot(l.$slots,"list-footer-content")]),e.createVNode(oo,{type:"button",size:"sm",class:"mr-2","data-testid":e.unref("select-search-done-button"),onClick:V},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.textContent.buttonDoneLabel),1)]),_:1},8,["data-testid"])],2)):e.renderSlot(l.$slots,"list-footer-content",{key:2})]),_:3},8,["options","multiple","model","add-only","allows-multiple-values","condensed","has-large-dropdown","input-value"])],4)],44,Ep)):e.createCommentVNode("",!0)],8,["to"])):e.createCommentVNode("",!0)],64)}}}),Tp=e.defineComponent({__name:"SearchSelectInputTeleportProvider",setup(t){const o=e.ref(null);return e.provide(bs,o),(t,l)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.renderSlot(t.$slots,"default"),e.createElementVNode("div",{ref_key:"teleportTarget",ref:o,"data-search-select-teleport-target":""},null,512)],64))}}),Mp={class:"flex items-center gap-1.5 text-gray-800"},Vp=e.defineComponent({__name:"StepInput",props:e.mergeModels({step:{default:1},min:{default:0},max:{},initialValue:{default:1},unitName:{},showDelta:{type:Boolean,default:!1},size:{default:"md"},name:{},required:{type:Boolean},label:{},error:{},disabled:{type:Boolean,default:!1}},{modelValue:{required:!0},modelModifiers:{}}),emits:["update:modelValue"],setup(t){const l=t,n=e.useModel(t,"modelValue"),a=e.ref(null),i=e.computed(()=>{if(l.unitName)return l.unitName[1===n.value?"singular":"plural"]}),r=()=>{l.max&&n.value+l.step>l.max||(n.value+=l.step)},c=()=>{n.value-l.step<l.min||(n.value-=l.step)};function s(e){var t;const o=null==(t=a.value)?void 0:t.el;if(!o)return;const l=parseInt(`${e}`);n.value=l,o.innerText=`${l}`,o.focus();const i=document.createRange();i.selectNodeContents(o),i.collapse(!1);const r=window.getSelection();null==r||r.removeAllRanges(),null==r||r.addRange(i)}const d=e=>{const t=e.target;t instanceof HTMLElement&&s(t.innerText)},u=e.computed(()=>!l.disabled&&(!l.max||n.value+l.step<l.max)),p=e.computed(()=>!l.disabled&&n.value-l.step>=l.min);function m(){var e;const t=null==(e=a.value)?void 0:e.el;if(!t)return;t.focus();const o=document.createRange();o.selectNodeContents(t);const l=window.getSelection();null==l||l.removeAllRanges(),null==l||l.addRange(o)}return e.onMounted(()=>{var e;const t=null==(e=a.value)?void 0:e.el;t&&(t.innerText=`${n.value}`)}),e.watch(()=>n.value,e=>{s(e)}),(s,f)=>(e.openBlock(),e.createBlock(Ts,{modelValue:n.value,"onUpdate:modelValue":f[0]||(f[0]=e=>n.value=e),type:"number",class:"[appearance:textfield] [&::-webkit-outer-spin-button]:appearance-none [&::-webkit-inner-spin-button]:appearance-none text-transparent","prefix-class":{"!px-0 w-5":"sm"===t.size,"!px-0 w-6":"md"===t.size,"!px-0 w-7":"lg"===t.size},"suffix-class":{"!px-0 w-5":"sm"===t.size,"!px-0 w-6":"md"===t.size,"!px-0 w-7":"lg"===t.size},size:t.size,label:t.label,disabled:t.disabled,name:t.name,required:t.required},e.createSlots({prefix:e.withCtx(()=>[e.createElementVNode("div",{class:"absolute inset-0 flex items-center justify-center",onMousedown:m},[e.createElementVNode("div",Mp,[e.createVNode(o,{ref_key:"contentEditableRef",ref:a,tag:"span",variant:"sm"===t.size?"body":"body-lg",contenteditable:!t.disabled,class:e.normalizeClass(["outline-none",{"pointer-events-none select-none":t.disabled}]),weight:"semibold",onInput:d},null,8,["variant","contenteditable","class"]),i.value?(e.openBlock(),e.createBlock(o,{key:0,tag:"span",shade:"lighter",class:"pointer-events-none select-none"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(" ")+e.toDisplayString(i.value),1)]),_:1})):e.createCommentVNode("",!0),t.showDelta?(e.openBlock(),e.createBlock(Us,{key:1,"old-value":l.initialValue,"new-value":n.value,class:"ml-0.5 pointer-events-none select-none"},null,8,["old-value","new-value"])):e.createCommentVNode("",!0)])],32),e.createVNode(xs,{disabled:!p.value,type:"button",color:"gray",variant:"ghost",size:"sm",class:e.normalizeClass(["select-none rounded-tr-none rounded-br-none !h-full",{"!w-7":"lg"===t.size,"!w-5":"sm"===t.size,"!w-6":"md"===t.size}]),icon:"remove",onMousedown:c},null,8,["disabled","class"])]),suffix:e.withCtx(()=>[e.createVNode(xs,{disabled:!u.value,type:"button",color:"gray",variant:"ghost",size:"sm",class:e.normalizeClass(["select-none rounded-tl-none rounded-bl-none !h-full",{"!w-7":"lg"===t.size,"!w-5":"sm"===t.size,"!w-6":"md"===t.size}]),icon:"add",onMousedown:r},null,8,["disabled","class"])]),_:2},[s.$slots.helper?{name:"helper",fn:e.withCtx(()=>[e.renderSlot(s.$slots,"helper")]),key:"0"}:void 0]),1032,["modelValue","prefix-class","suffix-class","size","label","disabled","name","required"]))}}),Sp={...li,and:"and"},zp={...Sp,or:"or",unsupported:"unsupported",product:"product",revenueItem:"revenue item",commitmentBody:(e,t,o)=>`Commitment on ${e} <strong>${t}</strong> ${o}`,startOfSchedule:"Start of schedule",endOfSchedule:"End of schedule",unknown:"unknown",products:e=>1===e?"product":"products",pluralRevenueItems:e=>1===e?"revenue item":"revenue items",pricingRule:"price rule",invoice:"invoice",units:e=>`${e} units`,commitmentOnInvoice:e=>`Commitment on <strong>Invoice</strong> ${e}`,basedOnMeterValue:"based on meter value"},Pp={class:"flex justify-between items-center"},qp={class:"flex items-center gap-2"},Dp={key:0,class:"ml-3 flex gap-3 opacity-0 group-hover:opacity-100 focus-within:opacity-100 transition-opacity"},Ip=e.defineComponent({__name:"CommitmentDiscountItem",props:{icon:{},iconColor:{},isEditable:{type:Boolean},isRemovable:{type:Boolean},error:{}},emits:["edit","delete"],setup:t=>(l,n)=>(e.openBlock(),e.createBlock(Jr,{spacing:"none","root-class":"p-2 pr-3 group"},{default:e.withCtx(()=>[e.createElementVNode("div",Pp,[e.createElementVNode("div",qp,[e.createVNode(w,{icon:t.icon,size:"sm",variant:"contained",class:e.normalizeClass(["p-1",{"bg-orange-50 text-orange-700":"orange"===t.iconColor,"bg-yellow-50 text-yellow-700":"yellow"===t.iconColor}])},null,8,["icon","class"]),e.createVNode(o,{variant:"body-sm","no-spacing":""},{default:e.withCtx(()=>[e.renderSlot(l.$slots,"body")]),_:3})]),t.isEditable||t.isRemovable?(e.openBlock(),e.createElementBlock("div",Dp,[t.isEditable?(e.openBlock(),e.createBlock(oo,{key:0,variant:"ghost",color:"gray",square:"","icon-prefix":"edit",onClick:n[0]||(n[0]=e=>l.$emit("edit"))})):e.createCommentVNode("",!0),t.isRemovable?(e.openBlock(),e.createBlock(oo,{key:1,variant:"ghost",color:"red",square:"","icon-prefix":"delete",onClick:n[1]||(n[1]=e=>l.$emit("delete"))})):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)]),e.createVNode(Zc,null,{default:e.withCtx(()=>[t.error?(e.openBlock(),e.createBlock(dc,{key:0,type:"danger",class:"mt-2 -mb-2 -mr-3 -ml-2 rounded-tl-none rounded-tr-none rounded-bl-md rounded-br-md"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(Ha)(t.error)),1)]),_:1})):e.createCommentVNode("",!0)]),_:1})]),_:3}))}),$p={class:"font-semibold"},Op={key:2,class:"text-primary-600 font-semibold"},Hp=["innerHTML"],Ap=["innerHTML"],Lp={key:2},Zp=e.defineComponent({__name:"SubscriptionCommitmentItem",props:{commitment:{},pricingPlanVersion:{},isEditable:{type:Boolean},isRemovable:{type:Boolean},error:{},i18n:{},timezone:{}},emits:["edit","delete"],setup(t){const o=t,l=e.computed(()=>o.i18n??zp),{getCommitmentBody:n,getFormattedDuration:a}=((t,o=zp,l)=>{const{formatDate:n}=Gn(),a=e.computed(()=>{var e,o;return(null==(o=null==(e=t.value)?void 0:e.pricing_categories)?void 0:o.flatMap(e=>{var t;return[...(null==(t=e.pricing_groups)?void 0:t.flatMap(e=>e.pricings))??[],...e.pricings??[]]}))??[]}),i=e.computed(()=>a.value.map(e=>{var t;return{pricing:e,product:null==(t=e.products)?void 0:t[0],pricingId:e.id}})),r=e.computed(()=>{var e;return(null==(e=a.value)?void 0:e.flatMap(e=>{var t;return(null==(t=e.items)?void 0:t.map(e=>{var t;return{productItem:null==(t=e.product_items)?void 0:t[0],pricingItemId:e.id}}))??[]}))??[]}),c=e=>{var t,l,n,c,d;switch(e.commitmentLevel){case"PRODUCTS":{const o=null==(t=e.ids)?void 0:t.map(e=>i.value.find(t=>t.pricingId===e));return s((null==o?void 0:o.map(e=>{var t;return(null==e?void 0:e.pricing.name)??((null==(t=null==e?void 0:e.product)?void 0:t.name)||"")}))??[])}case"REVENUE_ITEMS":{const t=null==(l=e.ids)?void 0:l.map(e=>{var t;return null==(t=r.value.find(t=>t.pricingItemId===e))?void 0:t.productItem});return s((null==t?void 0:t.map(e=>(null==e?void 0:e.name)||""))??[])}case"PRICING_RULE":{const t=t=>{var o;return t.id===(null==(o=e.ids)?void 0:o[0])},l=e=>{var o,n;return t(e)||!!(null==(n=null==(o=e.conditions)?void 0:o.configs)?void 0:n.some(l))},i=e=>{var t;return null==(t=e.configs)?void 0:t.some(l)},r=e=>{var t;return null==(t=e.items)?void 0:t.some(i)},s=null==(n=a.value)?void 0:n.find(r),u=null==(c=null==s?void 0:s.items)?void 0:c.find(i),p=null==(d=null==u?void 0:u.configs)?void 0:d.flatMap(si),m=null==p?void 0:p.find(t);return`<strong>${di(o)({pricing:s,item:u,config:m})}</strong>`}}},s=e=>e.reduce((t,o,l)=>{const n=`<strong>${o}</strong>`;return 0===l?n:l===e.length-1?[t,n].join(" and "):[t,n].join(", ")},""),d=e=>{var t,l;switch(e.commitmentLevel){case"PRODUCTS":return o.products((null==(t=e.ids)?void 0:t.length)??0);case"REVENUE_ITEMS":return o.pluralRevenueItems((null==(l=e.ids)?void 0:l.length)??0);case"PRICING_RULE":return o.pricingRule;case"INVOICE":return o.invoice}},u=e=>{if(!e.start_at&&!e.end_at)return"";let t,a;return e.start_at||(t=o.startOfSchedule),e.end_at||(a=o.endOfSchedule),e.start_at&&(t=n(l?{date:e.start_at,format:"date",offsetType:"offsetted",timezone:l}:{date:e.start_at,format:"date",offsetType:"local",showTimezone:!1})),e.end_at&&(a=n(l?{date:e.end_at,format:"date",offsetType:"offsetted",timezone:l}:{date:e.end_at,format:"date",offsetType:"local",showTimezone:!1})),`(${t} - ${a})`};return{getCommitmentBody:e=>o.commitmentBody(d(e),c(e)??"",u(e)),getFormattedDuration:u}})(e.computed(()=>o.pricingPlanVersion),l.value,o.timezone);return(o,i)=>(e.openBlock(),e.createBlock(Ip,{icon:"handshake","icon-color":"orange","is-editable":t.isEditable,"is-removable":t.isRemovable,error:t.error,onEdit:i[0]||(i[0]=e=>o.$emit("edit")),onDelete:i[1]||(i[1]=e=>o.$emit("delete"))},{body:e.withCtx(()=>{var o;return[e.createElementVNode("span",$p,[t.commitment.amount?(e.openBlock(),e.createBlock(Pi,{key:0,value:t.commitment.amount,highlighted:""},null,8,["value"])):"meter_value_calculation"in t.commitment&&(null==(o=t.commitment.meter_value_calculation)?void 0:o.amount)?(e.openBlock(),e.createBlock(Pi,{key:1,value:t.commitment.meter_value_calculation.amount,highlighted:""},null,8,["value"])):"meter_value_calculation"in t.commitment&&t.commitment.meter_value_calculation&&"number"in t.commitment.meter_value_calculation?(e.openBlock(),e.createElementBlock("span",Op,e.toDisplayString(t.commitment.meter_value_calculation.number&&l.value.units(t.commitment.meter_value_calculation.number)),1)):e.createCommentVNode("",!0)]),i[2]||(i[2]=e.createTextVNode(" ",-1)),"INVOICE"===t.commitment.commitmentLevel?(e.openBlock(),e.createElementBlock("span",{key:0,innerHTML:l.value.commitmentOnInvoice(e.unref(a)(t.commitment))},null,8,Hp)):(e.openBlock(),e.createElementBlock("span",{key:1,innerHTML:e.unref(n)(t.commitment)},null,8,Ap)),"meter_value_calculation"in t.commitment&&t.commitment.meter_value_calculation&&"amount"in t.commitment.meter_value_calculation?(e.openBlock(),e.createElementBlock("span",Lp,e.toDisplayString(" ")+"("+e.toDisplayString(l.value.basedOnMeterValue)+")",1)):e.createCommentVNode("",!0)]}),_:1},8,["is-editable","is-removable","error"]))}}),Rp={...zp,title:"Commitments",orderOfApplicationExplanation:"Commitments are applied after discounts on invoices",description:"Setup a minimum usage per an agreed-upon time period.",selectPricingPlanHint:"Please select a pricing plan to add commitments",addItemLabel:"Add commitment",notEditableExplanation:"Commitments can't be edited for active schedules"},Fp=({isEditable:t,isRemovable:o})=>({isEditableFlag:e.computed(()=>"function"==typeof t||!!t),isItemEditable:e=>"function"==typeof t?t(e):!!t,isItemRemovable:e=>"function"==typeof o?o(e):"boolean"!=typeof o||o}),Up={class:"flex justify-between items-center gap-4"},Gp={class:"flex gap-4 items-center"},jp={class:"flex items-center gap-1"},Qp={class:"mt-1 text-xs text-gray-500"},Kp={class:"flex justify-between items-center gap-4"},Wp={class:"flex items-center gap-1"},Yp={class:"text-xs uppercase font-bold text-gray-700"},Xp={class:"mt-1 flex flex-col gap-2"},Jp=e.defineComponent({__name:"CommitmentDiscountsSection",props:{title:{},orderOfApplicationExplanation:{},description:{},selectPricingPlanHint:{},addItemLabel:{},notEditableExplanation:{},hasItems:{type:Boolean},pricingPlanVersionIsSelected:{type:Boolean},isEditable:{type:Boolean},isCreatable:{type:Boolean}},emits:["add"],setup:t=>(l,n)=>(e.openBlock(),e.createElementBlock("section",null,[t.hasItems?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("header",Kp,[e.createElementVNode("div",Wp,[e.createElementVNode("h2",Yp,e.toDisplayString(t.title),1),e.createVNode(Ic,{variant:"outline",placement:"bottom-start"},{default:e.withCtx(()=>[e.createVNode(w,{icon:"help",class:"drop-shadow-sm hover:bg-gray-50 hover:cursor-default",size:"xs"})]),tooltip:e.withCtx(()=>[e.createVNode(Gc,null,{default:e.withCtx(()=>[e.createVNode(jc,null,{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.orderOfApplicationExplanation),1)]),_:1})]),_:1})]),_:1})])]),e.createElementVNode("ul",Xp,[e.renderSlot(l.$slots,"list-items")])],64)):(e.openBlock(),e.createBlock(Jr,{key:0},{default:e.withCtx(()=>[e.createElementVNode("div",Up,[e.createElementVNode("div",Gp,[e.renderSlot(l.$slots,"icon"),e.createElementVNode("div",null,[e.createElementVNode("div",jp,[e.createVNode(o,{tag:"h2",variant:"caps-heading"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.title),1)]),_:1}),e.createVNode(Ic,{variant:"outline",placement:"bottom-start"},{default:e.withCtx(()=>[e.createVNode(w,{icon:"help",class:"drop-shadow-sm hover:bg-gray-50 hover:cursor-default",size:"xs"})]),tooltip:e.withCtx(()=>[e.createVNode(Gc,null,{default:e.withCtx(()=>[e.createVNode(jc,null,{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.orderOfApplicationExplanation),1)]),_:1})]),_:1})]),_:1})]),e.createElementVNode("p",Qp,e.toDisplayString(t.description),1)])]),t.isEditable?(e.openBlock(),e.createBlock(Ic,{key:0,variant:"outline"},{tooltip:e.withCtx(()=>[e.createVNode(Gc,null,{default:e.withCtx(()=>[t.pricingPlanVersionIsSelected?t.isEditable?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(o,{key:1,variant:"body-sm","no-spacing":"",class:"text-gray-600"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.notEditableExplanation),1)]),_:1})):(e.openBlock(),e.createBlock(o,{key:0,variant:"body-sm","no-spacing":"",class:"text-gray-600"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.selectPricingPlanHint),1)]),_:1}))]),_:1})]),_:1})):e.createCommentVNode("",!0)])]),_:3}))]))}),em=["src"],tm=e.defineComponent({__name:"SubscriptionCommitments",props:{pricingPlanVersion:{},commitment:{},i18n:{},isCreatable:{type:Boolean},isEditable:{type:[Boolean,Function]},isRemovable:{type:[Boolean,Function]},error:{},timezone:{}},setup(t){const o=t,l=e.computed(()=>o.i18n??Rp),{isEditableFlag:n,isItemEditable:a,isItemRemovable:i}=Fp({isEditable:o.isEditable,isRemovable:o.isRemovable}),r=e.computed(()=>{if("error"in o)return(e=>{const t=Object.entries(e||{});if(0===t.length)return;const[o,l]=t[0],[n,a,i]=o.split(".");return{commitmentLevel:n,index:parseInt(a,10),fieldName:i,message:l}})(o.error)}),c=e.computed(()=>{var e,t,l,n,a,i,c,s;return[...(null==(t=null==(e=o.commitment)?void 0:e.pricing_item_configs)?void 0:t.map((e,t)=>{var o,l;return{item:{commitmentLevel:"PRICING_RULE",...e},error:t===(null==(o=r.value)?void 0:o.index)&&"pricing_item_configs"===(null==(l=r.value)?void 0:l.commitmentLevel)?r.value.message:void 0}}))||[],...(null==(n=null==(l=o.commitment)?void 0:l.pricing_items)?void 0:n.map((e,t)=>{var o,l;return{item:{commitmentLevel:"REVENUE_ITEMS",...e},error:t===(null==(o=r.value)?void 0:o.index)&&"pricing_items"===(null==(l=r.value)?void 0:l.commitmentLevel)?r.value.message:void 0}}))||[],...(null==(i=null==(a=o.commitment)?void 0:a.pricings)?void 0:i.map((e,t)=>{var o,l;return{item:{commitmentLevel:"PRODUCTS",...e},error:t===(null==(o=r.value)?void 0:o.index)&&"pricings"===(null==(l=r.value)?void 0:l.commitmentLevel)?r.value.message:void 0}}))||[],...(null==(s=null==(c=o.commitment)?void 0:c.totals)?void 0:s.map((e,t)=>{var o,l;return{item:{commitmentLevel:"INVOICE",...e},error:t===(null==(o=r.value)?void 0:o.index)&&"totals"===(null==(l=r.value)?void 0:l.commitmentLevel)?r.value.message:void 0}}))||[]]});return(o,r)=>(e.openBlock(),e.createBlock(Jp,{title:l.value.title,"order-of-application-explanation":l.value.orderOfApplicationExplanation,description:l.value.description,"pricing-plan-version-is-selected":!!t.pricingPlanVersion,"select-pricing-plan-hint":l.value.selectPricingPlanHint,"add-item-label":l.value.addItemLabel,"not-editable-explanation":l.value.notEditableExplanation,"is-creatable":!!t.isCreatable,"is-editable":e.unref(n),"has-items":c.value.length>0,onAdd:r[0]||(r[0]=e=>o.$emit("add"))},{icon:e.withCtx(()=>[e.createElementVNode("img",{src:e.unref("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='44'%20height='44'%20fill='none'%3e%3cmask%20id='a'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='0'%20y='0'%20width='44'%20height='44'%3e%3cpath%20fill='%23D9D9D9'%20d='M0%200h44v44H0z'/%3e%3c/mask%3e%3cg%20mask='url(%23a)'%3e%3cmask%20id='e'%20fill='%23fff'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M2.922%2015.593A6%206%200%200%200%208.03%208.816c-.072-.516.251-1.035.767-1.108l21.957-3.086c.516-.072.97.338%201.043.854a6%206%200%200%200%206.776%205.106c.589-.082%201.19.281%201.273.87L42.06%2027.22c.083.589-.395%201.104-.984%201.186a6%206%200%200%200-5.106%206.777c.074.525-.255%201.055-.78%201.13l-21.925%203.08c-.526.074-.988-.344-1.062-.87a6%206%200%200%200-6.776-5.107c-.452.064-.901-.223-.965-.674L2.182%2016.507c-.064-.451.29-.85.74-.914Z'/%3e%3c/mask%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M2.922%2015.593A6%206%200%200%200%208.03%208.816c-.072-.516.251-1.035.767-1.108l21.957-3.086c.516-.072.97.338%201.043.854a6%206%200%200%200%206.776%205.106c.589-.082%201.19.281%201.273.87L42.06%2027.22c.083.589-.395%201.104-.984%201.186a6%206%200%200%200-5.106%206.777c.074.525-.255%201.055-.78%201.13l-21.925%203.08c-.526.074-.988-.344-1.062-.87a6%206%200%200%200-6.776-5.107c-.452.064-.901-.223-.965-.674L2.182%2016.507c-.064-.451.29-.85.74-.914Z'%20fill='%23D9D9D9'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M2.922%2015.593A6%206%200%200%200%208.03%208.816c-.072-.516.251-1.035.767-1.108l21.957-3.086c.516-.072.97.338%201.043.854a6%206%200%200%200%206.776%205.106c.589-.082%201.19.281%201.273.87L42.06%2027.22c.083.589-.395%201.104-.984%201.186a6%206%200%200%200-5.106%206.777c.074.525-.255%201.055-.78%201.13l-21.925%203.08c-.526.074-.988-.344-1.062-.87a6%206%200%200%200-6.776-5.107c-.452.064-.901-.223-.965-.674L2.182%2016.507c-.064-.451.29-.85.74-.914Z'%20fill='%23BFEAFB'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M2.922%2015.593A6%206%200%200%200%208.03%208.816c-.072-.516.251-1.035.767-1.108l21.957-3.086c.516-.072.97.338%201.043.854a6%206%200%200%200%206.776%205.106c.589-.082%201.19.281%201.273.87L42.06%2027.22c.083.589-.395%201.104-.984%201.186a6%206%200%200%200-5.106%206.777c.074.525-.255%201.055-.78%201.13l-21.925%203.08c-.526.074-.988-.344-1.062-.87a6%206%200%200%200-6.776-5.107c-.452.064-.901-.223-.965-.674L2.182%2016.507c-.064-.451.29-.85.74-.914Z'%20fill='url(%23b)'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M2.922%2015.593A6%206%200%200%200%208.03%208.816c-.072-.516.251-1.035.767-1.108l21.957-3.086c.516-.072.97.338%201.043.854a6%206%200%200%200%206.776%205.106c.589-.082%201.19.281%201.273.87L42.06%2027.22c.083.589-.395%201.104-.984%201.186a6%206%200%200%200-5.106%206.777c.074.525-.255%201.055-.78%201.13l-21.925%203.08c-.526.074-.988-.344-1.062-.87a6%206%200%200%200-6.776-5.107c-.452.064-.901-.223-.965-.674L2.182%2016.507c-.064-.451.29-.85.74-.914Z'%20fill='url(%23c)'/%3e%3cpath%20d='m39.845%2011.452-1.09.153%201.09-.153Zm-9.092-6.83.153%201.09-.153-1.09Zm11.308%2022.599%201.09-.153-1.09.153ZM8.796%207.708%208.643%206.62l.153%201.09ZM6.94%208.97a4.9%204.9%200%200%201-4.17%205.534l.306%202.179a7.1%207.1%200%200%200%206.042-8.019l-2.178.306ZM30.6%203.533%208.643%206.62l.306%202.179%2021.957-3.086-.306-2.179Zm7.819%205.96a4.9%204.9%200%200%201-5.534-4.17l-2.179.306a7.1%207.1%200%200%200%208.02%206.043l-.307-2.179Zm4.731%2017.575-2.216-15.77-2.179.307%202.217%2015.769%202.178-.306Zm-6.09%207.963a4.9%204.9%200%200%201%204.17-5.534l-.306-2.179a7.1%207.1%200%200%200-6.043%208.019l2.179-.306Zm-23.641%205.453%2021.924-3.081-.306-2.179-21.924%203.081.306%202.179ZM5.58%2034.507a4.9%204.9%200%200%201%205.534%204.17l2.178-.306a7.1%207.1%200%200%200-8.018-6.043l.306%202.179ZM1.092%2016.66l2.282%2016.236%202.179-.306L3.27%2016.354l-2.179.306Zm2.179-.306a.333.333%200%200%201-.066.254.202.202%200%200%201-.13.074l-.306-2.179c-.95.134-1.838%201.008-1.677%202.157l2.179-.306Zm9.841%2021.951a.244.244%200%200%201%20.105.009c.031.01.05.023.06.03.014.013.016.02.017.027l-2.179.306c.142%201.008%201.064%201.981%202.304%201.807l-.306-2.179Zm21.77-2.968c-.002-.006-.002-.014.009-.03a.168.168%200%200%201%20.048-.046.244.244%200%200%201%20.098-.037l.306%202.179c1.24-.175%201.859-1.365%201.717-2.372l-2.179.306Zm3.843-23.665a.117.117%200%200%201%20.069.012c.003.002-.005-.002-.015-.017a.153.153%200%200%201-.024-.062l2.179-.306c-.185-1.317-1.46-1.954-2.515-1.806l.306%202.179ZM5.275%2032.328a.202.202%200%200%201%20.144.036.332.332%200%200%201%20.134.226l-2.179.306c.162%201.15%201.255%201.745%202.207%201.61l-.306-2.178ZM30.906%205.712a.258.258%200%200%201-.11-.01.186.186%200%200%201-.065-.033c-.019-.016-.023-.028-.025-.04l2.179-.306c-.14-1-1.057-1.963-2.285-1.79l.306%202.179Zm10.066%2021.662a.153.153%200%200%201%20.005-.066c.006-.018.012-.024.01-.02a.115.115%200%200%201-.062.03l.305%202.179c1.056-.149%202.105-1.112%201.92-2.43l-2.178.307ZM9.118%208.663c.002.012.001.025-.012.045a.186.186%200%200%201-.053.05.258.258%200%200%201-.104.04l-.306-2.179c-1.229.173-1.844%201.35-1.703%202.35l2.178-.306Z'%20fill='url(%23d)'%20fill-opacity='.1'%20mask='url(%23e)'/%3e%3cg%20opacity='.5'%3e%3cmask%20id='f'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='10'%20y='10'%20width='24'%20height='24'%3e%3cpath%20transform='rotate(-8%2010.706%2013.489)'%20fill='%23D9D9D9'%20d='M10.706%2013.489h20v20h-20z'/%3e%3c/mask%3e%3cg%20mask='url(%23f)'%3e%3cpath%20d='M22.825%2028.616a.486.486%200%200%200%20.271-.164l5.816-7.718a1.54%201.54%200%200%200%20.283-.608%201.804%201.804%200%200%200-.176-1.248%201.375%201.375%200%200%200-.435-.475l-4-3.014a1.376%201.376%200%200%200-.577-.288%201.775%201.775%200%200%200-1.248.176%201.54%201.54%200%200%200-.506.44l-.195.258%201.744%201.333c.233.163.416.362.547.596.13.234.215.489.254.764.081.577-.047%201.09-.383%201.537-.337.447-.795.711-1.372.792a2.245%202.245%200%200%201-.815-.033%201.895%201.895%200%200%201-.731-.339l-1.762-1.309-3.103%204.118a.393.393%200%200%200-.083.306c.015.11.07.204.166.282a.386.386%200%200%200%20.307.094.484.484%200%200%200%20.271-.164l2.412-3.201%201.318.993-2.391%203.197a.394.394%200%200%200-.083.306.4.4%200%200%200%20.164.272.4.4%200%200%200%20.306.083.486.486%200%200%200%20.271-.164l2.415-3.18%201.318.993-2.39%203.197a.25.25%200%200%200-.076.137.472.472%200%200%200-.008.17.4.4%200%200%200%20.164.27.4.4%200%200%200%20.578-.08l2.414-3.18%201.318.993-2.412%203.2a.394.394%200%200%200-.083.306c.016.11.074.2.175.27.101.07.207.098.317.082Zm.21%201.654a2.033%202.033%200%200%201-1.422-.316%201.99%201.99%200%200%201-.869-1.172%202.054%202.054%200%200%201-1.257-.412%202.054%202.054%200%200%201-.743-1.095%201.979%201.979%200%200%201-1.248-.424%202.12%202.12%200%200%201-.731-1.086%201.982%201.982%200%200%201-1.375-.5%202.046%202.046%200%200%201-.687-1.293%202.119%202.119%200%200%201%20.043-.816c.068-.269.184-.513.35-.733l4.116-5.438%203.083%202.323a.25.25%200%200%200%20.137.075.47.47%200%200%200%20.169.008.445.445%200%200%200%20.294-.157.39.39%200%200%200%20.081-.317.473.473%200%200%200-.054-.16.25.25%200%200%200-.11-.111l-3.365-2.536a1.377%201.377%200%200%200-.577-.287%201.778%201.778%200%200%200-1.248.176%201.538%201.538%200%200%200-.506.44l-2.497%203.337c-.107.142-.19.3-.249.477-.06.177-.091.35-.095.518a1.57%201.57%200%200%200%20.304.968l-1.029%201.364a3.313%203.313%200%200%201-.662-.969%203.273%203.273%200%200%201-.154-2.293c.114-.387.295-.746.543-1.075l2.5-3.318c.286-.363.62-.655%201.003-.877a3.316%203.316%200%200%201%203.68.219l.26.195.195-.259c.285-.363.62-.655%201.002-.877a3.316%203.316%200%200%201%203.68.219l3.977%202.996a3.393%203.393%200%200%201%201.3%202.216c.06.426.036.854-.072%201.283a3.282%203.282%200%200%201-.57%201.185l-5.818%207.697c-.166.22-.368.402-.607.548a2.002%202.002%200%200%201-.771.277Z'%20fill='%23222B35'/%3e%3c/g%3e%3c/g%3e%3c/g%3e%3cdefs%3e%3clinearGradient%20id='b'%20x1='1.097'%20y1='10.89'%20x2='36.001'%20y2='44.744'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23FF6200'/%3e%3cstop%20offset='1'%20stop-color='%23FF6200'%20stop-opacity='0'/%3e%3c/linearGradient%3e%3clinearGradient%20id='c'%20x1='40.312'%20y1='5.379'%20x2='16.092'%20y2='47.542'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23fff'/%3e%3cstop%20offset='1'%20stop-color='%23fff'%20stop-opacity='.4'/%3e%3c/linearGradient%3e%3clinearGradient%20id='d'%20x1='24.991'%20y1='38.635'%20x2='20.304'%20y2='5.283'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%230C0E41'/%3e%3cstop%20offset='1'%20stop-color='%230C0E41'%20stop-opacity='.5'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e"),alt:""},null,8,em)]),"list-items":e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(c.value,({item:n,error:r})=>(e.openBlock(),e.createElementBlock("li",{key:JSON.stringify(n)},[e.createVNode(Zp,{timezone:t.timezone,commitment:n,error:r,"is-editable":e.unref(a)(n),"is-removable":e.unref(i)(n),"pricing-plan-version":t.pricingPlanVersion,i18n:l.value,onEdit:e=>o.$emit("edit",n),onDelete:e=>o.$emit("delete",n)},null,8,["timezone","commitment","error","is-editable","is-removable","pricing-plan-version","i18n","onEdit","onDelete"])]))),128))]),_:1},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"]))}}),om=(t,o,l)=>{const{formatDate:n}=Gn(),a=e.computed(()=>{var e,o;return null==(o=null==(e=t.value)?void 0:e.pricing_categories)?void 0:o.flatMap(e=>{var t;return[...(null==(t=e.pricing_groups)?void 0:t.flatMap(e=>e.pricings))??[],...e.pricings??[]]})}),i=e=>{if(!e.start_at&&!e.end_at)return"";let t,a;return e.start_at||(t=o.startOfSchedule),e.end_at||(a=o.endOfSchedule),e.start_at&&(t=n(l?{date:e.start_at,format:"date",offsetType:"offsetted",timezone:l}:{date:e.start_at,format:"date",offsetType:"local",showTimezone:!1})),e.end_at&&(a=n(l?{date:e.end_at,format:"date",offsetType:"offsetted",timezone:l}:{date:e.end_at,format:"date",offsetType:"local",showTimezone:!1})),`(${t} - ${a})`};return{getDiscountBody:e=>{let t;switch(e.discountLevel){case"PRODUCT":t=o.product;break;case"REVENUE_ITEM":t=o.revenueItem;break;case"PRICING_RULE":t=o.pricingRule}return o.discountBody(t??"",(e=>{var t,l,n,i,r,c,s,d,u,p;let m,f;switch(e.discountLevel){case"PRODUCT":m=null==(t=a.value)?void 0:t.find(t=>{var o;return t.id===(null==(o=e.ids)?void 0:o[0])});break;case"REVENUE_ITEM":{const t=t=>{var o;return t.id===(null==(o=e.ids)?void 0:o[0])};m=null==(l=a.value)?void 0:l.find(e=>{var o;return null==(o=e.items)?void 0:o.some(t)}),f=null==(n=null==m?void 0:m.items)?void 0:n.find(t);break}case"PRICING_RULE":{const t=t=>{var o;return t.id===(null==(o=e.ids)?void 0:o[0])},l=e=>{var o,n;return t(e)||!!(null==(n=null==(o=e.conditions)?void 0:o.configs)?void 0:n.some(l))},n=e=>{var t;return null==(t=e.configs)?void 0:t.some(l)},s=e=>{var t;return null==(t=e.items)?void 0:t.some(n)},d=null==(i=a.value)?void 0:i.find(s),u=null==(r=null==d?void 0:d.items)?void 0:r.find(n),p=null==(c=null==u?void 0:u.configs)?void 0:c.flatMap(si),m=null==p?void 0:p.find(t);return`<strong>${di(o)({pricing:d,item:u,config:m})}</strong>`}}return[(null==m?void 0:m.name)??(null==(d=null==(s=null==m?void 0:m.products)?void 0:s[0])?void 0:d.name),null==(p=null==(u=null==f?void 0:f.product_items)?void 0:u[0])?void 0:p.name].filter(Boolean).join(" - ")})(e)??"",i(e))},getFormattedDuration:i}},lm={...Sp,product:"product",revenueItem:"revenue item",pricingRule:"price rule",discountBody:(e,t,o)=>`Discount on ${e} <strong>${t}</strong> ${o}`,startOfSchedule:"Start of schedule",endOfSchedule:"End of schedule",discountOnInvoice:e=>`Discount on <strong>Invoice</strong> ${e}`,or:"or",unsupported:"unsupported",unknown:"unknown"},nm={class:"font-semibold"},am={key:1,class:"text-primary-600"},im=["innerHTML"],rm=["innerHTML"],cm=e.defineComponent({__name:"SubscriptionDiscountItem",props:{discount:{},pricingPlanVersion:{},isEditable:{type:Boolean},isRemovable:{type:Boolean},i18n:{},error:{},timezone:{}},emits:["edit","delete"],setup(t,{emit:o}){const l=t,n=o,a=e.computed(()=>l.i18n??lm),{getDiscountBody:i,getFormattedDuration:r}=om(e.toRef(()=>l.pricingPlanVersion),a.value,l.timezone);return(o,l)=>(e.openBlock(),e.createBlock(Ip,{icon:"south_east","icon-color":"yellow","is-editable":t.isEditable,"is-removable":t.isRemovable,error:t.error,onEdit:l[0]||(l[0]=e=>n("edit")),onDelete:l[1]||(l[1]=e=>n("delete"))},{body:e.withCtx(()=>{var o,n,c;return[e.createElementVNode("span",nm,[(null==(o=t.discount.amount)?void 0:o.quantity)?(e.openBlock(),e.createBlock(Pi,{key:0,value:t.discount.amount,highlighted:""},null,8,["value"])):t.discount.percentage?(e.openBlock(),e.createElementBlock("span",am,e.toDisplayString(t.discount.percentage)+"%",1)):e.createCommentVNode("",!0)]),l[2]||(l[2]=e.createTextVNode(" ",-1)),"INVOICE"===t.discount.discountLevel?(e.openBlock(),e.createElementBlock("span",{key:0,innerHTML:null==(c=(n=a.value).discountOnInvoice)?void 0:c.call(n,e.unref(r)(t.discount))},null,8,im)):(e.openBlock(),e.createElementBlock("span",{key:1,innerHTML:e.unref(i)(t.discount)},null,8,rm))]}),_:1},8,["is-editable","is-removable","error"]))}}),sm={...lm,title:"Discounts",orderOfApplicationExplanation:"Discounts are applied before commitments on invoices",description:"Add price reductions for a defined period or specific terms.",selectPricingPlanHint:"Please select a pricing plan to add discounts",addItemLabel:"Add",notEditableExplanation:"Discounts can't be edited for active schedules"},dm=["src"],um=e.defineComponent({__name:"SubscriptionDiscounts",props:{i18n:{},discount:{},pricingPlanVersion:{},isEditable:{type:[Boolean,Function]},isCreatable:{type:Boolean},isRemovable:{type:[Boolean,Function]},scheduleStart:{},billingPeriod:{},billingTime:{},isDraftSubscription:{type:Boolean,default:!1},error:{},timezone:{}},emits:["add","edit","delete"],setup(t){const o=t,l=e.computed(()=>o.i18n??sm),n=e.computed(()=>{if("error"in o)return(e=>{const t=Object.entries(e||{});if(0===t.length)return;const[o,l]=t[0],[n,a,i]=o.split(".");return{discountLevel:n,index:parseInt(a,10),fieldName:i,message:l}})(o.error)}),{isEditableFlag:a,isItemEditable:i,isItemRemovable:r}=Fp({isEditable:o.isEditable,isRemovable:o.isRemovable}),c=e.computed(()=>{var e,t,l,a,i,r,c,s;return[...(null==(t=null==(e=o.discount)?void 0:e.pricing_item_configs)?void 0:t.map((e,t)=>{var o,l;return{item:{...e,discountLevel:"PRICING_RULE"},error:t===(null==(o=n.value)?void 0:o.index)&&"pricing_item_configs"===(null==(l=n.value)?void 0:l.discountLevel)?n.value.message:void 0}}))||[],...(null==(a=null==(l=o.discount)?void 0:l.pricing_items)?void 0:a.map((e,t)=>{var o,l;return{item:{...e,discountLevel:"REVENUE_ITEM"},error:t===(null==(o=n.value)?void 0:o.index)&&"pricing_items"===(null==(l=n.value)?void 0:l.discountLevel)?n.value.message:void 0}}))||[],...(null==(r=null==(i=o.discount)?void 0:i.pricings)?void 0:r.map((e,t)=>{var o,l;return{item:{...e,discountLevel:"PRODUCT"},error:t===(null==(o=n.value)?void 0:o.index)&&"pricings"===(null==(l=n.value)?void 0:l.discountLevel)?n.value.message:void 0}}))||[],...(null==(s=null==(c=o.discount)?void 0:c.totals)?void 0:s.map((e,t)=>{var o,l;return{item:{...e,discountLevel:"INVOICE"},error:t===(null==(o=n.value)?void 0:o.index)&&"totals"===(null==(l=n.value)?void 0:l.discountLevel)?n.value.message:void 0}}))||[]]});return(o,n)=>(e.openBlock(),e.createBlock(Jp,e.mergeProps(o.$attrs,{title:l.value.title,"order-of-application-explanation":l.value.orderOfApplicationExplanation,description:l.value.description,"pricing-plan-version-is-selected":!!t.pricingPlanVersion,"select-pricing-plan-hint":l.value.selectPricingPlanHint,"add-item-label":l.value.addItemLabel,"is-editable":e.unref(a),"is-creatable":!!t.isCreatable,"not-editable-explanation":l.value.notEditableExplanation,"has-items":c.value.length>0,onAdd:n[0]||(n[0]=e=>o.$emit("add"))}),{icon:e.withCtx(()=>[e.createElementVNode("img",{src:e.unref("data:image/svg+xml,%3csvg%20width='44'%20height='44'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cmask%20id='a'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='0'%20y='0'%20width='44'%20height='44'%3e%3cpath%20fill='%23D9D9D9'%20d='M0%200h44v44H0z'/%3e%3c/mask%3e%3cg%20mask='url(%23a)'%3e%3cmask%20id='e'%20fill='%23fff'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='m18.55%2039.32%203.45%203.4%203.46-3.41%204.48%201.85%201.86-4.5h4.87v-4.84l4.47-1.9-1.82-4.47%203.4-3.45-3.41-3.46%201.85-4.48-4.5-1.86V7.33h-4.84l-1.9-4.47-4.47%201.82L22%201.28%2018.54%204.7l-4.48-1.85-1.86%204.5H7.33v4.84l-4.47%201.9%201.82%204.47L1.28%2022l3.41%203.46-1.85%204.48%204.5%201.86v4.87h4.84l1.9%204.47%204.47-1.82Z'/%3e%3c/mask%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='m18.55%2039.32%203.45%203.4%203.46-3.41%204.48%201.85%201.86-4.5h4.87v-4.84l4.47-1.9-1.82-4.47%203.4-3.45-3.41-3.46%201.85-4.48-4.5-1.86V7.33h-4.84l-1.9-4.47-4.47%201.82L22%201.28%2018.54%204.7l-4.48-1.85-1.86%204.5H7.33v4.84l-4.47%201.9%201.82%204.47L1.28%2022l3.41%203.46-1.85%204.48%204.5%201.86v4.87h4.84l1.9%204.47%204.47-1.82Z'%20fill='%23BFEAFB'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='m18.55%2039.32%203.45%203.4%203.46-3.41%204.48%201.85%201.86-4.5h4.87v-4.84l4.47-1.9-1.82-4.47%203.4-3.45-3.41-3.46%201.85-4.48-4.5-1.86V7.33h-4.84l-1.9-4.47-4.47%201.82L22%201.28%2018.54%204.7l-4.48-1.85-1.86%204.5H7.33v4.84l-4.47%201.9%201.82%204.47L1.28%2022l3.41%203.46-1.85%204.48%204.5%201.86v4.87h4.84l1.9%204.47%204.47-1.82Z'%20fill='url(%23b)'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='m18.55%2039.32%203.45%203.4%203.46-3.41%204.48%201.85%201.86-4.5h4.87v-4.84l4.47-1.9-1.82-4.47%203.4-3.45-3.41-3.46%201.85-4.48-4.5-1.86V7.33h-4.84l-1.9-4.47-4.47%201.82L22%201.28%2018.54%204.7l-4.48-1.85-1.86%204.5H7.33v4.84l-4.47%201.9%201.82%204.47L1.28%2022l3.41%203.46-1.85%204.48%204.5%201.86v4.87h4.84l1.9%204.47%204.47-1.82Z'%20fill='url(%23c)'/%3e%3cpath%20d='m22%2042.72-.7.7.7.7.7-.7-.7-.7Zm-3.45-3.4.7-.71-.46-.46-.61.25.37.92Zm6.91-.01.38-.93-.6-.25-.48.47.7.7Zm4.48%201.85-.38.93.92.38.38-.92-.92-.39Zm1.86-4.5v-1h-.67l-.25.62.92.39Zm4.87%200v1h1v-1h-1Zm0-4.84-.4-.92-.6.26v.66h1Zm4.47-1.9.39.93.9-.39-.36-.9-.93.37Zm-1.82-4.47-.7-.7-.47.46.25.61.92-.37Zm3.4-3.45.7.7.7-.7-.7-.7-.7.7Zm-3.41-3.46-.93-.38-.25.61.47.47.7-.7Zm1.85-4.48.93.39.38-.93-.92-.38-.39.92Zm-4.5-1.86h-1v.67l.62.25.39-.92Zm0-4.87h1v-1h-1v1Zm-4.84%200-.92.4.26.6h.66v-1Zm-1.9-4.47.93-.39-.38-.9-.92.36.38.93Zm-4.47%201.82-.7.71.46.46.61-.25-.37-.92ZM22%201.28l.7-.7-.7-.7-.7.7.7.7ZM18.54%204.7l-.38.93.61.25.47-.47-.7-.7Zm-4.48-1.85.39-.93-.93-.38-.38.92.92.39Zm-1.86%204.5v1h.67l.25-.62-.92-.39Zm-4.87%200v-1h-1v1h1Zm0%204.84.4.92.6-.26v-.66h-1Zm-4.47%201.9-.39-.93-.9.38.36.92.93-.38Zm1.82%204.47.71.7.46-.46-.25-.61-.92.37ZM1.28%2022l-.7-.7-.7.7.7.7.7-.7Zm3.41%203.46.93.38.25-.61-.47-.47-.7.7Zm-1.85%204.48-.93-.39-.38.93.92.38.39-.92Zm4.5%201.86h1v-.67l-.62-.25-.39.92Zm0%204.87h-1v1h1v-1Zm4.84%200%20.92-.4-.26-.6h-.66v1Zm1.9%204.47-.93.39.39.9.9-.36-.37-.93Zm8.62.86-3.44-3.39-1.4%201.42%203.44%203.4L22.7%2042Zm2.06-3.4L21.3%2042l1.4%201.43%203.46-3.41-1.4-1.42Zm5.56%201.64-4.48-1.86-.76%201.85%204.48%201.86.76-1.85Zm.56-3.96L29%2040.78l1.85.77%201.86-4.5-1.84-.77Zm5.79-.61H31.8v2h4.87v-2Zm-1-3.85v4.85h2v-4.85h-2Zm5.08-2.81-4.47%201.89.78%201.84%204.47-1.9-.78-1.83Zm-2.35-3.19%201.81%204.48%201.86-.75-1.82-4.48-1.85.75ZM42%2021.3l-3.39%203.44%201.43%201.4%203.39-3.44L42%2021.3Zm-3.4-2.06L42%2022.7l1.43-1.4-3.4-3.46-1.43%201.4Zm1.64-5.56-1.86%204.48%201.85.76%201.86-4.47-1.85-.77Zm-3.96-.56%204.5%201.87.77-1.85-4.5-1.86-.77%201.84Zm-.61-5.79v4.87h2V7.33h-2Zm-3.85%201h4.85v-2h-4.85v2Zm-2.81-5.08%201.89%204.47%201.84-.78-1.9-4.47-1.83.78ZM25.82%205.6%2030.3%203.8l-.75-1.86-4.48%201.82.75%201.85ZM21.3%202l3.44%203.39%201.4-1.42L22.7.57%2021.3%202Zm-2.06%203.4L22.7%202%2021.3.57l-3.46%203.4%201.4%201.43Zm-5.56-1.64%204.48%201.86.76-1.85-4.47-1.86-.77%201.85Zm-.56%203.96L15%203.22l-1.85-.77-1.86%204.5%201.84.77Zm-5.79.61h4.87v-2H7.33v2Zm1%203.85V7.33h-2v4.85h2Zm-5.08%202.81%204.47-1.89-.78-1.84-4.47%201.9.78%201.83Zm2.35%203.19L3.8%2013.7l-1.86.75%201.82%204.48%201.85-.75ZM2%2022.7l3.39-3.44-1.42-1.4-3.4%203.44L2%2022.7Zm3.4%202.06L2%2021.3.57%2022.7l3.41%203.46%201.42-1.4Zm-1.64%205.56%201.86-4.48-1.85-.76-1.86%204.47%201.85.77Zm3.96.56L3.22%2029l-.77%201.85%204.5%201.86.77-1.84Zm.61%205.79V31.8h-2v4.87h2Zm3.85-1H7.33v2h4.85v-2Zm2.81%205.08-1.89-4.47-1.84.78%201.9%204.47%201.83-.78Zm3.19-2.35L13.7%2040.2l.75%201.86%204.48-1.82-.75-1.85Z'%20fill='url(%23d)'%20fill-opacity='.1'%20mask='url(%23e)'/%3e%3cg%20opacity='.5'%3e%3cmask%20id='f'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='12'%20y='12'%20width='20'%20height='20'%3e%3cpath%20fill='%23D9D9D9'%20d='M12%2012h20v20H12z'/%3e%3c/mask%3e%3cg%20mask='url(%23f)'%3e%3cpath%20d='M19.5%2027.83v-1.66H25l-9.67-9.67%201.17-1.17L26.17%2025v-5.5h1.66v8.33H19.5Z'%20fill='%23222B35'/%3e%3c/g%3e%3c/g%3e%3c/g%3e%3cdefs%3e%3clinearGradient%20id='b'%20x1='1.28'%20y1='1.28'%20x2='42.72'%20y2='42.72'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23F6D449'/%3e%3cstop%20offset='1'%20stop-color='%23F6D449'%20stop-opacity='0'/%3e%3c/linearGradient%3e%3clinearGradient%20id='c'%20x1='42.72'%20y1='1.28'%20x2='1.28'%20y2='42.72'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23fff'/%3e%3cstop%20offset='1'%20stop-color='%23fff'%20stop-opacity='.4'/%3e%3c/linearGradient%3e%3clinearGradient%20id='d'%20x1='22'%20y1='42.72'%20x2='22'%20y2='-2.59'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%230C0E41'/%3e%3cstop%20offset='1'%20stop-color='%230C0E41'%20stop-opacity='.5'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e"),alt:""},null,8,dm)]),"list-items":e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(c.value,({item:n,error:a})=>(e.openBlock(),e.createElementBlock("li",{key:JSON.stringify(n)},[e.createVNode(cm,{discount:n,error:a,"is-editable":e.unref(i)(n),"is-removable":e.unref(r)(n),"pricing-plan-version":t.pricingPlanVersion,i18n:l.value,timezone:t.timezone,onEdit:e=>o.$emit("edit",n),onDelete:e=>o.$emit("delete",n)},null,8,["discount","error","is-editable","is-removable","pricing-plan-version","i18n","timezone","onEdit","onDelete"])]))),128))]),_:1},16,["title","order-of-application-explanation","description","pricing-plan-version-is-selected","select-pricing-plan-hint","add-item-label","is-editable","is-creatable","not-editable-explanation","has-items"]))}}),pm={...zp,...Sp,markupBody:(e,t,o)=>`Markup on ${e} <strong>${t}</strong> ${o}`},mm={class:"font-semibold text-primary-600"},fm=["innerHTML"],hm=e.defineComponent({__name:"SubscriptionMarkupItem",props:{markup:{},pricingPlanVersion:{},isEditable:{type:Boolean},isRemovable:{type:Boolean},i18n:{},error:{},timezone:{}},emits:["edit","delete"],setup(t,{emit:o}){const l=t,n=o,a=e.computed(()=>l.i18n??pm),{getMarkupBody:i}=((t,o=pm,l)=>{const{formatDate:n}=Gn(),a=e.computed(()=>{var e,o;return(null==(o=null==(e=t.value)?void 0:e.pricing_categories)?void 0:o.flatMap(e=>{var t;return[...(null==(t=e.pricing_groups)?void 0:t.flatMap(e=>e.pricings))??[],...e.pricings??[]]}))??[]}),i=e=>{var t,l;const n=t=>{var o;return t.id===(null==(o=e.ids)?void 0:o[0])},i=e=>{var t,o;return n(e)||!!(null==(o=null==(t=e.conditions)?void 0:t.configs)?void 0:o.some(n))},r=e=>{var t;return null==(t=e.configs)?void 0:t.some(i)},c=null==(t=a.value)?void 0:t.find(e=>{var t;return null==(t=e.items)?void 0:t.some(r)}),s=null==(l=null==c?void 0:c.items)?void 0:l.find(r),d=(null==s?void 0:s.configs)&&(null==s?void 0:s.configs.flatMap(si)),u=null==d?void 0:d.find(n);return`<strong>${di(o)({pricing:c,item:s,config:u})}</strong>`},r=e=>{if(!e.start_at&&!e.end_at)return"";let t,a;return e.start_at||(t=o.startOfSchedule),e.end_at||(a=o.endOfSchedule),e.start_at&&(t=n(l?{date:e.start_at,format:"date",offsetType:"offsetted",timezone:l}:{date:e.start_at,format:"date",offsetType:"local",showTimezone:!1})),e.end_at&&(a=n(l?{date:e.end_at,format:"date",offsetType:"offsetted",timezone:l}:{date:e.end_at,format:"date",offsetType:"local",showTimezone:!1})),`(${t} - ${a})`};return{getMarkupBody:e=>o.markupBody(o.pricingRule,i(e)??"",r(e)),getFormattedDuration:r}})(e.toRef(()=>l.pricingPlanVersion),a.value,l.timezone);return(o,l)=>(e.openBlock(),e.createBlock(Ip,{icon:"north_east","icon-color":"teal","is-editable":t.isEditable,"is-removable":t.isRemovable,error:t.error,onEdit:l[0]||(l[0]=e=>n("edit")),onDelete:l[1]||(l[1]=e=>n("delete"))},{body:e.withCtx(()=>[e.createElementVNode("span",mm,e.toDisplayString(t.markup.percentage)+"%"+e.toDisplayString(" "),1),e.createElementVNode("span",{innerHTML:e.unref(i)(t.markup)},null,8,fm)]),_:1},8,["is-editable","is-removable","error"]))}}),vm={...pm,title:"Markups",orderOfApplicationExplanation:"Markups are applied before commitments on invoices",description:"Add price markups for a defined period or specific terms.",selectPricingPlanHint:"Please select a pricing plan to add markups",addItemLabel:"Add",notEditableExplanation:"Markups can't be edited for active schedules"},gm=["src"],ym=e.defineComponent({__name:"SubscriptionMarkups",props:{i18n:{},markup:{},pricingPlanVersion:{},isCreatable:{type:Boolean},isEditable:{type:[Boolean,Function]},isRemovable:{type:[Boolean,Function]},error:{},timezone:{}},emits:["add","edit","delete"],setup(t){const o=t,l=e.computed(()=>o.i18n??vm),{isEditableFlag:n,isItemEditable:a,isItemRemovable:i}=Fp({isEditable:o.isEditable,isRemovable:o.isRemovable}),r=e.computed(()=>{if("error"in o)return(e=>{const t=Object.entries(e||{});if(0===t.length)return;const[o,l]=t[0],[n,a,i]=o.split(".");return{markupLevel:n,index:parseInt(a,10),fieldName:i,message:l}})(o.error)}),c=e.computed(()=>{var e,t;return(null==(t=null==(e=o.markup)?void 0:e.pricing_item_configs)?void 0:t.map((e,t)=>{var o,l;return{item:e,error:t===(null==(o=r.value)?void 0:o.index)&&"pricing_item_configs"===(null==(l=r.value)?void 0:l.markupLevel)?r.value.message:void 0}}))??[]});return(o,r)=>(e.openBlock(),e.createBlock(Jp,e.mergeProps(o.$attrs,{title:l.value.title,"order-of-application-explanation":l.value.orderOfApplicationExplanation,description:l.value.description,"pricing-plan-version-is-selected":!!t.pricingPlanVersion,"select-pricing-plan-hint":l.value.selectPricingPlanHint,"add-item-label":l.value.addItemLabel,"is-editable":e.unref(n),"is-creatable":!!t.isCreatable,"not-editable-explanation":l.value.notEditableExplanation,"has-items":c.value.length>0,onAdd:r[0]||(r[0]=e=>o.$emit("add"))}),{icon:e.withCtx(()=>[e.createElementVNode("img",{src:e.unref("data:image/svg+xml,%3csvg%20width='44'%20height='44'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cmask%20id='a'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='0'%20y='0'%20width='44'%20height='44'%3e%3cpath%20fill='%23D9D9D9'%20d='M0%200h44v44H0z'/%3e%3c/mask%3e%3cg%20mask='url(%23a)'%3e%3cmask%20id='e'%20fill='%23fff'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M16.76%2040.05a2.94%202.94%200%200%201%203.17.63%202.96%202.96%200%200%200%204.15%200%202.93%202.93%200%200%201%203.17-.63c1.48.61%203.19-.1%203.8-1.58a2.92%202.92%200%200%201%202.7-1.8c1.61%200%202.92-1.3%202.92-2.92%200-1.17.7-2.23%201.78-2.69a2.96%202.96%200%200%200%201.6-3.82%202.94%202.94%200%200%201%20.63-3.17%202.96%202.96%200%200%200%200-4.15%202.93%202.93%200%200%201-.63-3.16c.61-1.5-.1-3.2-1.58-3.81a2.92%202.92%200%200%201-1.8-2.7c0-1.61-1.3-2.92-2.92-2.92a2.93%202.93%200%200%201-2.69-1.78%202.96%202.96%200%200%200-3.82-1.6c-1.09.44-2.34.2-3.17-.63a2.96%202.96%200%200%200-4.15%200%202.93%202.93%200%200%201-3.16.63c-1.5-.61-3.2.1-3.81%201.58a2.92%202.92%200%200%201-2.7%201.8%202.92%202.92%200%200%200-2.92%202.92c0%201.17-.7%202.23-1.78%202.69a2.96%202.96%200%200%200-1.6%203.82c.44%201.09.2%202.34-.63%203.17a2.96%202.96%200%200%200%20.01%204.15c.82.83%201.07%202.08.62%203.16-.61%201.5.1%203.2%201.58%203.81a2.92%202.92%200%200%201%201.8%202.7c0%201.61%201.3%202.92%202.92%202.92%201.17%200%202.23.7%202.69%201.78a2.96%202.96%200%200%200%203.82%201.6Z'/%3e%3c/mask%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M16.76%2040.05a2.94%202.94%200%200%201%203.17.63%202.96%202.96%200%200%200%204.15%200%202.93%202.93%200%200%201%203.17-.63c1.48.61%203.19-.1%203.8-1.58a2.92%202.92%200%200%201%202.7-1.8c1.61%200%202.92-1.3%202.92-2.92%200-1.17.7-2.23%201.78-2.69a2.96%202.96%200%200%200%201.6-3.82%202.94%202.94%200%200%201%20.63-3.17%202.96%202.96%200%200%200%200-4.15%202.93%202.93%200%200%201-.63-3.16c.61-1.5-.1-3.2-1.58-3.81a2.92%202.92%200%200%201-1.8-2.7c0-1.61-1.3-2.92-2.92-2.92a2.93%202.93%200%200%201-2.69-1.78%202.96%202.96%200%200%200-3.82-1.6c-1.09.44-2.34.2-3.17-.63a2.96%202.96%200%200%200-4.15%200%202.93%202.93%200%200%201-3.16.63c-1.5-.61-3.2.1-3.81%201.58a2.92%202.92%200%200%201-2.7%201.8%202.92%202.92%200%200%200-2.92%202.92c0%201.17-.7%202.23-1.78%202.69a2.96%202.96%200%200%200-1.6%203.82c.44%201.09.2%202.34-.63%203.17a2.96%202.96%200%200%200%20.01%204.15c.82.83%201.07%202.08.62%203.16-.61%201.5.1%203.2%201.58%203.81a2.92%202.92%200%200%201%201.8%202.7c0%201.61%201.3%202.92%202.92%202.92%201.17%200%202.23.7%202.69%201.78a2.96%202.96%200%200%200%203.82%201.6Z'%20fill='%23BFEAFB'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M16.76%2040.05a2.94%202.94%200%200%201%203.17.63%202.96%202.96%200%200%200%204.15%200%202.93%202.93%200%200%201%203.17-.63c1.48.61%203.19-.1%203.8-1.58a2.92%202.92%200%200%201%202.7-1.8c1.61%200%202.92-1.3%202.92-2.92%200-1.17.7-2.23%201.78-2.69a2.96%202.96%200%200%200%201.6-3.82%202.94%202.94%200%200%201%20.63-3.17%202.96%202.96%200%200%200%200-4.15%202.93%202.93%200%200%201-.63-3.16c.61-1.5-.1-3.2-1.58-3.81a2.92%202.92%200%200%201-1.8-2.7c0-1.61-1.3-2.92-2.92-2.92a2.93%202.93%200%200%201-2.69-1.78%202.96%202.96%200%200%200-3.82-1.6c-1.09.44-2.34.2-3.17-.63a2.96%202.96%200%200%200-4.15%200%202.93%202.93%200%200%201-3.16.63c-1.5-.61-3.2.1-3.81%201.58a2.92%202.92%200%200%201-2.7%201.8%202.92%202.92%200%200%200-2.92%202.92c0%201.17-.7%202.23-1.78%202.69a2.96%202.96%200%200%200-1.6%203.82c.44%201.09.2%202.34-.63%203.17a2.96%202.96%200%200%200%20.01%204.15c.82.83%201.07%202.08.62%203.16-.61%201.5.1%203.2%201.58%203.81a2.92%202.92%200%200%201%201.8%202.7c0%201.61%201.3%202.92%202.92%202.92%201.17%200%202.23.7%202.69%201.78a2.96%202.96%200%200%200%203.82%201.6Z'%20fill='url(%23b)'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M16.76%2040.05a2.94%202.94%200%200%201%203.17.63%202.96%202.96%200%200%200%204.15%200%202.93%202.93%200%200%201%203.17-.63c1.48.61%203.19-.1%203.8-1.58a2.92%202.92%200%200%201%202.7-1.8c1.61%200%202.92-1.3%202.92-2.92%200-1.17.7-2.23%201.78-2.69a2.96%202.96%200%200%200%201.6-3.82%202.94%202.94%200%200%201%20.63-3.17%202.96%202.96%200%200%200%200-4.15%202.93%202.93%200%200%201-.63-3.16c.61-1.5-.1-3.2-1.58-3.81a2.92%202.92%200%200%201-1.8-2.7c0-1.61-1.3-2.92-2.92-2.92a2.93%202.93%200%200%201-2.69-1.78%202.96%202.96%200%200%200-3.82-1.6c-1.09.44-2.34.2-3.17-.63a2.96%202.96%200%200%200-4.15%200%202.93%202.93%200%200%201-3.16.63c-1.5-.61-3.2.1-3.81%201.58a2.92%202.92%200%200%201-2.7%201.8%202.92%202.92%200%200%200-2.92%202.92c0%201.17-.7%202.23-1.78%202.69a2.96%202.96%200%200%200-1.6%203.82c.44%201.09.2%202.34-.63%203.17a2.96%202.96%200%200%200%20.01%204.15c.82.83%201.07%202.08.62%203.16-.61%201.5.1%203.2%201.58%203.81a2.92%202.92%200%200%201%201.8%202.7c0%201.61%201.3%202.92%202.92%202.92%201.17%200%202.23.7%202.69%201.78a2.96%202.96%200%200%200%203.82%201.6Z'%20fill='url(%23c)'/%3e%3cpath%20d='M12.02%2038.84a3.96%203.96%200%200%200%205.12%202.14l-.75-1.86c-.98.4-2.12-.07-2.53-1.05l-1.84.77Zm-1.77-1.17c.76%200%201.46.46%201.77%201.17l1.84-.78a3.93%203.93%200%200%200-3.61-2.4v2Zm-3.92-3.92a3.92%203.92%200%200%200%203.92%203.92v-2a1.92%201.92%200%200%201-1.92-1.92h-2Zm-1.18-1.77c.72.3%201.18%201%201.18%201.77h2c0-1.58-.95-3.01-2.42-3.62l-.76%201.85Zm-2.12-5.12c-.83%202%20.12%204.29%202.12%205.12l.76-1.85a1.92%201.92%200%200%201-1.03-2.5l-1.85-.77Zm-.41-2.08c.54.55.7%201.37.4%202.08l1.86.77c.6-1.46.26-3.14-.84-4.25l-1.42%201.4Zm-.01-5.55a3.96%203.96%200%200%200%200%205.55l1.43-1.4a1.96%201.96%200%200%201%200-2.75l-1.43-1.4Zm.41-2.1c.3.73.13%201.55-.41%202.1l1.42%201.4a3.94%203.94%200%200%200%20.85-4.25l-1.86.76Zm2.14-5.11a3.96%203.96%200%200%200-2.14%205.12l1.86-.76c-.4-.97.07-2.1%201.06-2.52l-.78-1.84Zm1.17-1.77c0%20.76-.46%201.46-1.17%201.77l.78%201.84a3.93%203.93%200%200%200%202.4-3.61h-2Zm3.92-3.92a3.92%203.92%200%200%200-3.92%203.92h2c0-1.06.86-1.92%201.92-1.92v-2Zm1.77-1.18c-.3.72-1%201.18-1.77%201.18v2c1.58%200%203.01-.95%203.62-2.42l-1.85-.76Zm5.12-2.12c-2-.83-4.29.12-5.12%202.12l1.85.76a1.92%201.92%200%200%201%202.5-1.03l.77-1.85Zm2.08-.41c-.55.54-1.37.7-2.08.4l-.77%201.86c1.46.6%203.14.26%204.26-.84l-1.4-1.42Zm5.55-.01a3.96%203.96%200%200%200-5.55%200l1.4%201.43a1.96%201.96%200%200%201%202.75%200l1.4-1.43Zm2.1.41c-.72.3-1.55.13-2.1-.41l-1.4%201.42a3.94%203.94%200%200%200%204.25.85l-.76-1.86Zm5.12%202.14a3.96%203.96%200%200%200-5.13-2.14l.76%201.86c.97-.4%202.1.07%202.52%201.05L32%205.16Zm1.76%201.17c-.76%200-1.46-.46-1.76-1.17l-1.85.77a3.93%203.93%200%200%200%203.61%202.4v-2Zm3.92%203.92a3.92%203.92%200%200%200-3.92-3.92v2c1.06%200%201.92.86%201.92%201.92h2Zm1.18%201.77c-.71-.3-1.18-1-1.18-1.77h-2c0%201.58.95%203.01%202.42%203.62l.76-1.85Zm2.12%205.12c.83-2-.12-4.29-2.12-5.12l-.76%201.85c.97.4%201.44%201.53%201.03%202.5l1.85.77Zm.41%202.08a1.93%201.93%200%200%201-.4-2.08l-1.86-.77a3.93%203.93%200%200%200%20.84%204.25l1.42-1.4Zm.01%205.55a3.96%203.96%200%200%200%200-5.55l-1.43%201.4c.75.77.75%202%200%202.74l1.43%201.4Zm-.41%202.1c-.3-.73-.13-1.55.41-2.1l-1.42-1.4a3.94%203.94%200%200%200-.85%204.25l1.86-.76Zm-2.14%205.11a3.96%203.96%200%200%200%202.14-5.12l-1.86.76c.4.97-.07%202.1-1.05%202.52l.77%201.84Zm-1.17%201.77c0-.76.46-1.46%201.17-1.77l-.77-1.84a3.93%203.93%200%200%200-2.4%203.61h2Zm-3.92%203.92a3.92%203.92%200%200%200%203.92-3.92h-2c0%201.06-.86%201.92-1.92%201.92v2Zm-1.77%201.18c.3-.72%201-1.18%201.77-1.18v-2c-1.58%200-3.01.95-3.62%202.42l1.85.76Zm-5.12%202.12c2%20.83%204.3-.12%205.12-2.12l-1.85-.76a1.92%201.92%200%200%201-2.5%201.03l-.77%201.85Zm-2.08.41c.55-.54%201.38-.7%202.08-.4l.77-1.86a3.93%203.93%200%200%200-4.25.84l1.4%201.42Zm-4.14-1.41a3.94%203.94%200%200%200-4.25-.85l.75%201.86c.72-.3%201.54-.13%202.1.41l1.4-1.42Zm-1.4%201.42a3.96%203.96%200%200%200%205.54%200l-1.4-1.43c-.77.75-2%20.75-2.74%200l-1.4%201.43Z'%20fill='url(%23d)'%20fill-opacity='.1'%20mask='url(%23e)'/%3e%3cg%20opacity='.5'%3e%3cmask%20id='f'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='12'%20y='12'%20width='20'%20height='20'%3e%3cpath%20fill='%23D9D9D9'%20d='M12%2012h20v20H12z'/%3e%3c/mask%3e%3cg%20mask='url(%23f)'%3e%3cpath%20d='m16.5%2028.67-1.17-1.17L25%2017.83h-5.5v-1.66h8.33v8.33h-1.66V19l-9.67%209.67Z'%20fill='%23222B35'/%3e%3c/g%3e%3c/g%3e%3c/g%3e%3cdefs%3e%3clinearGradient%20id='b'%20x1='1.28'%20y1='1.28'%20x2='42.72'%20y2='42.72'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23395E6D'/%3e%3cstop%20offset='1'%20stop-color='%23395E6D'%20stop-opacity='0'/%3e%3c/linearGradient%3e%3clinearGradient%20id='c'%20x1='42.72'%20y1='1.28'%20x2='1.28'%20y2='42.72'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23fff'/%3e%3cstop%20offset='1'%20stop-color='%23fff'%20stop-opacity='.4'/%3e%3c/linearGradient%3e%3clinearGradient%20id='d'%20x1='22'%20y1='42.72'%20x2='22'%20y2='-2.59'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%230C0E41'/%3e%3cstop%20offset='1'%20stop-color='%230C0E41'%20stop-opacity='.5'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e"),alt:""},null,8,gm)]),"list-items":e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(c.value,({item:n,error:r})=>(e.openBlock(),e.createElementBlock("li",{key:JSON.stringify(n)},[e.createVNode(hm,{markup:n,error:r,"is-editable":e.unref(a)(n),"is-removable":e.unref(i)(n),"pricing-plan-version":t.pricingPlanVersion,i18n:l.value,timezone:t.timezone,onEdit:e=>o.$emit("edit",n),onDelete:e=>o.$emit("delete",n)},null,8,["markup","error","is-editable","is-removable","pricing-plan-version","i18n","timezone","onEdit","onDelete"])]))),128))]),_:1},16,["title","order-of-application-explanation","description","pricing-plan-version-is-selected","select-pricing-plan-hint","add-item-label","is-editable","is-creatable","not-editable-explanation","has-items"]))}}),bm={startOfSchedule:Rp.startOfSchedule,endOfSchedule:Rp.endOfSchedule,markupPercentage:e=>`${e}% markup`},xm={class:"flex items-center gap-2"},km=e.defineComponent({__name:"SubscriptionScheduleConfigMarkup",props:{markup:{},i18n:{}},setup(t){const o=t,l=e.computed(()=>o.i18n??bm),{formatDate:n}=Gn();return(o,a)=>(e.openBlock(),e.createBlock(Qn,{color:"teal-light"},{default:e.withCtx(()=>[e.createElementVNode("div",xm,[e.createVNode(w,{icon:"north_east",size:"xs"}),e.createElementVNode("span",null,[t.markup.percentage?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createTextVNode(e.toDisplayString(l.value.markupPercentage(t.markup.percentage)),1)],64)):e.createCommentVNode("",!0),t.markup.start_at||t.markup.end_at?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createTextVNode(e.toDisplayString(" ")+"("+e.toDisplayString(t.markup.start_at?e.unref(n)({date:t.markup.start_at,format:"date",offsetType:"local",showTimezone:!1}):l.value.startOfSchedule)+" - "+e.toDisplayString(t.markup.end_at?e.unref(n)({date:t.markup.end_at,format:"date",offsetType:"local",showTimezone:!1}):l.value.endOfSchedule)+") ",1)],64)):e.createCommentVNode("",!0)])])]),_:1}))}}),_m={class:"relative"},wm={class:"w-full text-sm text-left text-gray-500"},Bm=e.defineComponent({__name:"Table",props:{striped:{type:Boolean},stripeClass:{},hoverable:{type:Boolean},sorting:{},rounded:{type:Boolean},noBorder:{type:Boolean}},emits:["sort"],setup(t,{emit:o}){const l=t,n=o;return e.provide("striped",l.striped),e.provide("stripeClass",l.stripeClass),e.provide("hoverable",l.hoverable),e.provide("sorting",l.sorting),e.provide("emit",n),e.provide("rounded",l.rounded??!1),e.provide("noBorder",l.noBorder??!1),(t,o)=>(e.openBlock(),e.createElementBlock("div",_m,[e.createElementVNode("table",wm,[e.renderSlot(t.$slots,"default")])]))}}),Cm={key:0,class:"transition-opacity transition-duration-700 shadow-left absolute z-10 pointer-events-none w-3.5 h-full shadow-none top-0 bg-transparent right-0 translate-x-3.5 bg-gradient-to-r from-black/[.06] to-transparent [.scroll-shadow-left_&]:opacity-100 opacity-0"},Em={key:1,class:"transition-opacity transition-duration-700 shadow-right absolute z-10 pointer-events-none w-3.5 h-full shadow-none top-0 bg-transparent left-0 -translate-x-3.5 bg-gradient-to-l from-black/[.06] to-transparent [.scroll-shadow-right_&]:opacity-100 opacity-0"},Nm=e.defineComponent({__name:"TableCellScrollShadow",props:{elRef:{}},setup(t){const o=t,l=e.ref(!1),n=e.ref(!1);return e.onMounted(()=>{var e;if((null==(e=o.elRef)?void 0:e.value)&&o.elRef.value.parentElement){const e=Array.from(o.elRef.value.parentElement.children);l.value=e[0]===o.elRef.value,n.value=e[e.length-1]===o.elRef.value}}),(t,o)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[l.value?(e.openBlock(),e.createElementBlock("div",Cm)):e.createCommentVNode("",!0),n.value?(e.openBlock(),e.createElementBlock("div",Em)):e.createCommentVNode("",!0)],64))}}),Tm=e.defineComponent({__name:"TableCell",props:{hasPadding:{type:Boolean,default:!1}},setup(t){const o=e.inject("stripeClass")??"group-odd:bg-gray-50",l=e.inject("rounded")??!1,n=e.inject("hoverable"),a=e.inject("striped"),i=e.inject("tdLinkSlot"),r=t,c=e.ref(),s=e.computed(()=>{let e="relative transition ease-in-out px-4 py-3 text-gray-800 first:whitespace-nowrap leading-none";return a&&(e+=` group-even:bg-white ${o}`),l&&(e+=" first-of-type:rounded-l last-of-type:rounded-r overflow-clip"),r.hasPadding||(e+=" first:pl-0"),n&&(e+=" group-hover:bg-gray-50 cursor-pointer"),e});return(t,o)=>(e.openBlock(),e.createElementBlock("td",{ref_key:"el",ref:c,class:e.normalizeClass(s.value)},[c.value?(e.openBlock(),e.createBlock(Nm,{key:0,"el-ref":e.toRef(c.value)},null,8,["el-ref"])):e.createCommentVNode("",!0),e.unref(i)?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(e.unref(i)),{key:1})):e.createCommentVNode("",!0),e.renderSlot(t.$slots,"default")],2))}}),Mm=["colspan","tabindex"],Vm=e.defineComponent({__name:"TableHeadCell",props:{colspan:{},columnName:{},sortable:{type:Boolean},hasPadding:{type:Boolean,default:!1},tooltip:{},fixedWidth:{}},emits:["sort"],setup(t,{emit:o}){const l=o,n=e.inject("sorting"),a=t,i=e.ref(),r=e.computed(()=>!(!a.sortable||!n)&&(n.columnName===a.columnName&&(null==n?void 0:n.direction))),c=()=>{a.sortable&&n&&a.columnName&&l("sort",a.columnName)};return(o,l)=>(e.openBlock(),e.createElementBlock("th",{ref_key:"el",ref:i,style:e.normalizeStyle(t.fixedWidth?{"--col-w":`${t.fixedWidth}px`}:void 0),class:e.normalizeClass([[{"cursor-pointer":t.sortable,"first:pl-0":!t.hasPadding},t.fixedWidth?["min-w-[var(--col-w)]"]:null],"relative px-4 py-2 font-medium text-xs whitespace-nowrap select-none"]),colspan:t.colspan,tabindex:t.sortable?0:-1,scope:"col",onClick:c},[i.value?(e.openBlock(),e.createBlock(Nm,{key:0,"el-ref":e.toRef(i.value)},null,8,["el-ref"])):e.createCommentVNode("",!0),e.createElementVNode("span",{class:e.normalizeClass({"text-blue-700":r.value})},[e.renderSlot(o.$slots,"default")],2),t.sortable?(e.openBlock(),e.createBlock(w,{key:1,icon:r.value&&"desc"===r.value?"north":"south",class:e.normalizeClass([{"text-blue-700":r.value},"text-sm"]),size:"2xs"},null,8,["icon","class"])):e.createCommentVNode("",!0),t.tooltip?(e.openBlock(),e.createBlock(Ic,{key:2,variant:"outline"},{default:e.withCtx(()=>[e.createVNode(w,{icon:"help",size:"xs",class:"rounded drop-shadow-sm hover:bg-gray-50 hover:cursor-default -mt-0.5 ml-0.5"})]),tooltip:e.withCtx(()=>[e.createVNode(Gc,null,{default:e.withCtx(()=>[e.createVNode(jc,null,{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.tooltip),1)]),_:1})]),_:1})]),_:1})):e.createCommentVNode("",!0)],14,Mm))}}),Sm=e.defineComponent({__name:"TableRow",props:{backgroundClass:{}},setup(t){const o=e.useSlots();e.provide("tdLinkSlot",o.link);const l=e.inject("noBorder");return(o,n)=>(e.openBlock(),e.createElementBlock("tr",{class:e.normalizeClass(["group rounded-md",{"bg-white":!t.backgroundClass,"border-y border-gray-200":!e.unref(l)}])},[e.renderSlot(o.$slots,"default")],2))}}),zm={"w-fit":!0,relative:!0,"inline-flex":!0,"items-center":!0},Pm={xl:"w-16 h-8 after:top-0.5 after:left-0.5 after:h-7 after:w-7",lg:"w-14 h-7 after:top-0.5 after:left-0.5 after:h-6 after:w-6",md:"w-11 h-6 after:top-0.5 after:left-0.5 after:h-5 after:w-5",sm:"w-9 h-5 after:top-0.5 after:left-0.5 after:h-4 after:w-4",xs:"w-7 h-4 after:top-0.5 after:left-0.5 after:h-3 after:w-3"},qm={red:"peer-focus:ring-red-300 peer-checked:bg-red-600",green:"peer-focus:ring-green-300 peer-checked:bg-green-600",purple:"peer-focus:ring-purple-300 peer-checked:bg-purple-600",yellow:"peer-focus:ring-yellow-300 peer-checked:bg-yellow-400",teal:"peer-focus:ring-teal-300 peer-checked:bg-teal-600",orange:"peer-focus:ring-orange-300 peer-checked:bg-orange-500"},Dm=["disabled"],Im=e.defineComponent({__name:"Toggle",props:{modelValue:{type:Boolean,default:!1},labelPosition:{default:"after"},size:{default:"md"},disabled:{type:Boolean,default:!1},color:{default:""},hasBackground:{type:Boolean,default:!1},noSpacing:{type:Boolean,default:!1}},emits:["update:modelValue"],setup(t,{emit:o}){const l=t,n=o,a=e.computed({get:()=>l.modelValue,set(e){n("update:modelValue",e)}}),{labelClasses:i,toggleSize:r,toggleClasses:c,toggleColor:s,toggleBallClasses:d}=(t=>{const o=e.computed(()=>{var e,o;return{...zm,"cursor-pointer":!(null==(e=t.disabled)?void 0:e.value),"cursor-default":!!(null==(o=t.disabled)?void 0:o.value)}}),l=e.computed(()=>{var e,o;return{'peer-focus:outline-none peer-focus:ring-4 peer-focus:ring-primary-300 rounded-full peer peer-checked:after:translate-x-full peer-checked:after:border-white after:content-[""] after:absolute after:top-0.5 after:left-0.5 after:border-gray-300 after:border after:rounded-full after:transition-all':!0,"bg-gray-200 peer-checked:bg-primary-600 after:bg-white":!(null==(e=t.disabled)?void 0:e.value),"bg-gray-100 peer-checked:bg-primary-200 after:bg-gray-200":null==(o=t.disabled)?void 0:o.value}});return{labelClasses:o,toggleSize:e.computed(()=>Pm[t.size.value]),toggleClasses:l,toggleColor:e.computed(()=>qm[t.color.value]),toggleBallClasses:e.computed(()=>"grow text-sm font-medium text-gray-900")}})(e.toRefs(l));return(o,l)=>(e.openBlock(),e.createElementBlock("label",{class:e.normalizeClass(["inline-flex items-center gap-1.5",{"flex-row-reverse":"before"===t.labelPosition,"rounded bg-gray-50 border-l-4 border-gray-200":t.hasBackground,"p-2":!t.noSpacing}]),onClick:l[1]||(l[1]=e.withModifiers(()=>{},["stop"]))},[e.createElementVNode("div",{class:e.normalizeClass(e.unref(i))},[e.withDirectives(e.createElementVNode("input",{"onUpdate:modelValue":l[0]||(l[0]=e=>a.value=e),disabled:t.disabled,class:"sr-only peer",type:"checkbox"},null,8,Dm),[[e.vModelCheckbox,a.value]]),e.createElementVNode("span",{class:e.normalizeClass([e.unref(c),e.unref(r),e.unref(s)])},null,2)],2),o.$slots["inline-label"]?(e.openBlock(),e.createElementBlock("span",{key:0,class:e.normalizeClass(e.unref(d))},[e.renderSlot(o.$slots,"inline-label")],2)):e.createCommentVNode("",!0)],2))}}),$m=e.defineComponent({__name:"TooltipTeleportProvider",setup(t){const o=e.ref(null);return e.provide(Pc,o),(t,l)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.renderSlot(t.$slots,"default"),e.createElementVNode("div",{ref_key:"tooltipTarget",ref:o,"data-tooltip-teleport-target":""},null,512)],64))}}),Om=e.defineComponent({__name:"TopUpDescription",props:{i18n:{},pricingItemConfig:{}},setup(t){const l=t,n=e.computed(()=>{var e;return!!(null==(e=l.pricingItemConfig.top_up)?void 0:e.rollover)}),a=e.computed(()=>{var e,t;return null==(t=null==(e=l.pricingItemConfig.details)?void 0:e.bands)?void 0:t.some(e=>!!e.block_size)}),i=e.computed(()=>ri(l.pricingItemConfig)&&a.value?n.value?l.i18n.tiered.blockSize.rolloverDescription:l.i18n.tiered.blockSize.nonRolloverDescription:ri(l.pricingItemConfig)&&!a.value?n.value?l.i18n.tiered.nonBlockSize.rolloverDescription:l.i18n.tiered.nonBlockSize.nonRolloverDescription:n.value?l.i18n.rolloverDescription:l.i18n.nonRolloverDescription);return(t,l)=>(e.openBlock(),e.createBlock(o,{variant:"body-xs",class:"italic text-gray-600"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(i.value),1)]),_:1}))}}),Hm=e.defineComponent({__name:"TrialChip",props:{trialPeriod:{},size:{default:"sm"}},setup(t){const o=t,{formatTimePeriod:l}=Da(),n=e.computed(()=>"string"==typeof o.trialPeriod?o.trialPeriod:`${l(o.trialPeriod,{short:!0,singular:!0})} trial`);return(o,l)=>(e.openBlock(),e.createBlock(e.unref(Qn),{color:"primary",size:t.size},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(n.value),1)]),_:1},8,["size"]))}}),Am={key:0,class:"flex flex-col gap-4"},Lm={class:"flex flex-col items-start"},Zm={class:"flex flex-col gap-2"},Rm={class:"flex flex-col items-start"},Fm=e.defineComponent({__name:"WalletBalances",props:{items:{},title:{default:void 0},variant:{default:"section"}},setup(t){const{$t:l,formatDate:n,formatNumber:a}=Gn(),r=e=>{var t,o,n,i,r,c;if(null==e?void 0:e.amount)return La(e.amount);if(null==e?void 0:e.credits){const s=Number(e.credits.quantity),d=1===s?null==(o=null==(t=e.credits.creditType)?void 0:t.unit_name)?void 0:o.singular:(null==(i=null==(n=e.credits.creditType)?void 0:n.unit_name)?void 0:i.plural)??(null==(c=null==(r=e.credits.creditType)?void 0:r.unit_name)?void 0:c.singular);return l({defaultMessage:"{quantity} {unit}",description:"Formatted wallet credits balance",id:"wallet_balance.formatted_credit_unit"},{quantity:a(s),unit:d??l({defaultMessage:"credits",description:"Wallet balances credits default message",id:"wB/wXs"})})}return l({defaultMessage:"N/A",description:"Fallback wallet balance label when no balance is available",id:"PW+sL4"})},c=e=>e?l({defaultMessage:"Updated at {date}",description:"Wallet balance timestamp label",id:"spcNSp"},{date:n({date:e,format:"dateTime",offsetType:"local"})}):null;return(n,a)=>"page-grid-aside"===t.variant?(e.openBlock(),e.createElementBlock("div",Am,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.items,t=>(e.openBlock(),e.createBlock(e.unref(qu),{key:t.walletId,title:e.unref(l)({defaultMessage:"Wallet",description:"Title of a wallet balance card",id:"3yk8fB"})},{default:e.withCtx(()=>[e.createElementVNode("section",Lm,[e.createVNode(o,{variant:"label","no-spacing":""},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.title),1)]),_:2},1024),e.createVNode(o,{variant:"body-lg",weight:"semibold","no-spacing":""},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(r(t.balance)),1)]),_:2},1024),t.balanceAt?(e.openBlock(),e.createBlock(o,{key:0,variant:"body-xs",shade:"lighter","no-spacing":""},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(c(t.balanceAt)),1)]),_:2},1024)):e.createCommentVNode("",!0)])]),_:2},1032,["title"]))),128))])):(e.openBlock(),e.createBlock(i,{key:1,"no-spacing":"","no-border":"",title:t.title},{default:e.withCtx(()=>[e.createElementVNode("div",Zm,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.items,t=>(e.openBlock(),e.createBlock(i,{key:t.walletId},{default:e.withCtx(()=>[e.createElementVNode("div",Rm,[e.createVNode(o,{variant:"label","no-spacing":""},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.title),1)]),_:2},1024),e.createVNode(o,{variant:"body-lg",weight:"semibold","no-spacing":""},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(r(t.balance)),1)]),_:2},1024),t.balanceAt?(e.openBlock(),e.createBlock(o,{key:0,variant:"body-xs",shade:"lighter","no-spacing":""},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(c(t.balanceAt)),1)]),_:2},1024)):e.createCommentVNode("",!0)])]),_:2},1024))),128))])]),_:1},8,["title"]))}}),Um={class:"grow items-center truncate"},Gm=h(e.defineComponent({__name:"CardHeader",props:{icon:{},iconVariant:{default:"neutral"},title:{},subTitle:{},spacing:{default:"md"},size:{default:"sm"},variant:{default:"default"},uppercase:{type:Boolean,default:!0},cardVariant:{default:"default"}},setup(t){const o=t,l=e.computed(()=>{switch(o.cardVariant){case"error":return"border-red-100";case"dark":return"border-gray-600";default:return"border-gray-100"}});return(o,n)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["card-header-print-root flex items-center",{"px-2 pt-2":"xs"===t.spacing,"px-4 pt-2":"sm"===t.spacing,"pb-2":["xs","sm"].includes(t.spacing)&&"bordered"===t.variant,"px-4 pt-4":"md"===t.spacing,"pb-4":"md"===t.spacing&&"bordered"===t.variant,"px-8 pt-6":"lg"===t.spacing,"pb-6":"lg"===t.spacing&&"bordered"===t.variant,"border-b":"bordered"===t.variant,[l.value]:"bordered"===t.variant}])},[e.createElementVNode("div",Um,[e.createVNode(e.unref(Js),{icon:t.icon,title:t.title,"sub-title":t.subTitle,variant:t.iconVariant,size:t.size,uppercase:t.uppercase},{prefix:e.withCtx(()=>[e.renderSlot(o.$slots,"prefix",{},void 0,!0)]),default:e.withCtx(()=>[e.renderSlot(o.$slots,"default",{},void 0,!0)]),subTitle:e.withCtx(()=>[e.renderSlot(o.$slots,"subTitle",{},void 0,!0)]),suffix:e.withCtx(()=>[e.renderSlot(o.$slots,"title-suffix",{},void 0,!0)]),_:3},8,["icon","title","sub-title","variant","size","uppercase"])]),e.renderSlot(o.$slots,"right",{},void 0,!0)],2))}}),[["__scopeId","data-v-9316d9b2"]]),jm={class:"min-w-0 grow"},Qm={class:"collapsible-card-print-content"},Km=h(e.defineComponent({__name:"CollapsibleCard",props:{isOpen:{type:Boolean,default:!1},isControlled:{type:Boolean},title:{},icon:{},iconVariant:{},spacing:{default:"md"},borderStyle:{},isExpandContentHidden:{type:Boolean,default:!1},printBehavior:{},withLeftAccent:{type:Boolean,default:!1},cappedWidth:{type:Boolean},variant:{default:"default"},shadowSize:{},borderRadius:{},rootClass:{},wrapperClass:{}},emits:["toggle","toggled"],setup(t,{emit:o}){const l=t,n=o,[a,i]=function(t=!1,o={}){const{truthyValue:l=!0,falsyValue:n=!1}=o,a=e.isRef(t),i=e.ref(t);function r(e){if(arguments.length)return i.value=e,i.value;{const e=q(l);return i.value=i.value===e?q(n):e,i.value}}return a?r:[i,r]}(!l.isOpen),r=()=>{l.isControlled?n("toggle"):i()};e.watch(()=>a.value,e=>{n("toggled",e)}),e.watch(()=>l.isOpen,e=>{l.isControlled&&i(!e)});const c=e.computed(()=>{switch(l.variant){case"error":return"border-red-50 bg-red-50";case"dark":return"bg-gray-800";default:return""}}),s=e.computed(()=>"error"===l.variant?"bg-red-200":""),d=e.computed(()=>["ease-in-out duration-200 hover:shadow-md",c.value].join(" "));return(o,l)=>(e.openBlock(),e.createBlock(Jr,{spacing:"none","wrapper-class":"collapsible-card-print-wrapper","root-class":e.unref(Xr)("collapsible-card-print-root",d.value),"border-style":t.borderStyle,"print-behavior":t.printBehavior},{default:e.withCtx(()=>[e.createElementVNode("div",{class:e.normalizeClass(e.unref(Xr)(t.withLeftAccent?"flex p-1":""))},[t.withLeftAccent?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["mr-2 w-1 rounded-md",s.value])},null,2)):e.createCommentVNode("",!0),e.createElementVNode("div",jm,[e.renderSlot(o.$slots,"pre-header",{},void 0,!0),e.createVNode(Gm,{"data-testid":"card-header",title:t.title,icon:t.icon,"icon-variant":t.iconVariant,spacing:t.spacing,class:e.normalizeClass(["cursor-pointer",{"pb-4":"md"===t.spacing,"pb-6":"lg"===t.spacing}]),variant:"bordered",tabindex:"0","card-variant":t.variant,onClick:e.withModifiers(r,["stop"]),onKeyup:e.withKeys(r,["enter"])},e.createSlots({prefix:e.withCtx(()=>[e.renderSlot(o.$slots,"title-prefix",{},void 0,!0)]),default:e.withCtx(()=>[e.renderSlot(o.$slots,"title",{},void 0,!0)]),"title-suffix":e.withCtx(()=>[e.renderSlot(o.$slots,"title-suffix",{},void 0,!0)]),_:2},[t.isExpandContentHidden?void 0:{name:"right",fn:e.withCtx(()=>[o.$slots.right?(e.openBlock(),e.createElementBlock("div",{key:0,onClick:l[0]||(l[0]=e.withModifiers(()=>{},["stop"])),onKeyup:l[1]||(l[1]=e.withKeys(e.withModifiers(()=>{},["stop"]),["enter"]))},[e.renderSlot(o.$slots,"right",{},void 0,!0)],32)):e.createCommentVNode("",!0),e.createVNode(w,{icon:e.unref(a)?"unfold_more":"unfold_less",size:"md",class:e.normalizeClass({"text-white":"dark"===t.variant,"print:hidden":!0})},null,8,["icon","class"])]),key:"0"}]),1032,["title","icon","icon-variant","spacing","class","card-variant"]),t.isExpandContentHidden?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(Zc,{key:0},{default:e.withCtx(()=>[e.withDirectives(e.createElementVNode("div",Qm,[e.createVNode(Vc,{spacing:t.spacing,class:"pt-0"},{default:e.withCtx(()=>[e.renderSlot(o.$slots,"default",{},void 0,!0)]),_:3},8,["spacing"])],512),[[e.vShow,!e.unref(a)]])]),_:3}))])],2)]),_:3},8,["root-class","border-style","print-behavior"]))}}),[["__scopeId","data-v-6f1525c7"]]),Wm={tooltipCollapse:"Close",tooltipExpand:"Open"},Ym={class:"flex flex-col"},Xm=["aria-label"],Jm={class:"flex grow select-none items-center justify-between"},ef={class:"flex items-center gap-2"},tf={key:0},of={class:"flex gap-6 print:block"},lf={class:"grow pt-5"},nf={class:"collapsible-list-item-content pb-6"},af=h(e.defineComponent({__name:"CollapsibleListItem",props:{hasContinuedPreline:{type:Boolean,default:!0},itemNumber:{default:1},i18n:{default:()=>Wm},isOpen:{type:Boolean},hideCollapseIcon:{type:Boolean,default:!1}},emits:["toggle"],setup(t){const l=t,n=e.computed(()=>l.isOpen?"unfold_less":"unfold_more");return(l,a)=>(e.openBlock(),e.createElementBlock("li",Ym,[e.createElementVNode("button",{type:"button",class:"flex items-center gap-6","aria-label":t.isOpen?t.i18n.tooltipCollapse:t.i18n.tooltipExpand,onClick:a[0]||(a[0]=e.withModifiers(e=>l.$emit("toggle"),["stop"]))},[e.createElementVNode("div",{class:e.normalizeClass(["flex h-6 select-none items-center justify-center rounded border bg-white shadow-sm print:hidden",e.unref(Rc)])},[e.renderSlot(l.$slots,"icon",{},()=>[e.createVNode(o,{tag:"span",variant:"body-xs",weight:"semibold"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.itemNumber),1)]),_:1})],!0)],2),e.createElementVNode("div",Jm,[e.createElementVNode("div",null,[e.renderSlot(l.$slots,"left",{},void 0,!0)]),e.createElementVNode("div",ef,[l.$slots.right?(e.openBlock(),e.createElementBlock("div",tf,[e.renderSlot(l.$slots,"right",{},void 0,!0)])):e.createCommentVNode("",!0),t.hideCollapseIcon?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(w,{key:1,icon:n.value,size:"sm",class:"h-6 print:hidden"},null,8,["icon"]))])])],8,Xm),e.createElementVNode("div",of,[e.createElementVNode("div",{class:e.normalizeClass(["relative flex shrink-0 justify-center",e.unref(Rc)])},[e.createElementVNode("div",{class:e.normalizeClass(["pointer-events-none h-full w-0.5",[t.hasContinuedPreline?"bg-gray-100":"bg-gradient-to-b from-gray-100 to-transparent"]])},null,2)],2),e.createElementVNode("div",lf,[e.createVNode(Zc,null,{default:e.withCtx(()=>[e.withDirectives(e.createElementVNode("div",nf,[e.renderSlot(l.$slots,"default",{},void 0,!0)],512),[[e.vShow,t.isOpen]])]),_:3})])])]))}}),[["__scopeId","data-v-9da2d94d"]]),rf={class:"flex flex-col gap-1"},cf={class:"text-base text-gray-900"},sf=e.defineComponent({__name:"PricingItemHeader",props:{item:{},creditTypesById:{}},setup:t=>(l,n)=>(e.openBlock(),e.createElementBlock("div",rf,[e.createElementVNode("h4",cf,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.item.product_items,t=>(e.openBlock(),e.createBlock(o,{key:t.id,tag:"span",class:"flex flex-wrap items-center gap-3",weight:"semibold"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.name),1)]),_:2},1024))),128))])]))}),df={tiered:{nonBlockSize:{rolloverDescription:"Includes prior volume to determine the tier, including volume from prior schedule's billing cycles",nonRolloverDescription:"Prior volume is included to determine the tier"},blockSize:{rolloverDescription:"Includes prior volume to determine the tier and unused volume will move over, including volume from adjacent schedule's billing cycles",nonRolloverDescription:"Includes prior volume to determine the tier and unused volume will move over to the following billing cycles"}},nonRolloverDescription:"Unused volume will be moved over to the next billing cycle",rolloverDescription:"Unused volume will be moved over to the next billing cycle, including the next schedule's billing cycle"},uf={...Ru,formatBillingPeriod:Ra,formatAmount:La,formatNumber:e=>new Intl.NumberFormat("en-US").format(e),billed:"Billed",from:"From",upTo:"Up to",feeFloor:"Fee floor",feeCap:"Fee cap",price:"Price",pricePerStep:()=>"Price / Step",pricePerUnit:()=>"Price / Unit",percentage:"Percentage",per:"Per",infinite:"infinite",topUpDescription:df,fixedAmount:"Fixed amount"},pf={...Ru,topUpDescription:df,notBilled:"Not billed",passThrough:"Pass through",perNumberOfUnits:(e,t)=>"per "+(Number(e)>1?`${e} ${(null==t?void 0:t.plural)??"units"}`:`${(null==t?void 0:t.singular)??"unit"}`),ofAmount:()=>"of amount",with:"with",aMinimumOf:"a minimum of",and:"and",aMaximumOf:"a maximum of",perSeat:"per seat",billedInAdvance:"billed in advance",oneOff:"one-off",formatBillingPeriod:Ra},mf={...pf,...uf,includedVolumeAmountPerSchedule:e=>`with <strong class="text-primary-600">${new Intl.NumberFormat("en-US",{style:"currency",currencyDisplay:"symbol",currency:e.currency,maximumFractionDigits:10}).format(Number(e.quantity))}</strong> free amount per schedule included`,includedVolumeAmountPerBillingPeriod:e=>`with <strong class="text-primary-600">${new Intl.NumberFormat("en-US",{style:"currency",currencyDisplay:"symbol",currency:e.currency,maximumFractionDigits:10}).format(Number(e.quantity))}</strong> free amount per billing period included`,includedVolumeUnitsPerSchedule:e=>`with <strong class="text-primary-600">${e} unit${"1"===e?"":"s"}</strong> per schedule included`,includedVolumeUnitsPerBillingPeriod:e=>`with <strong class="text-primary-600">${e} unit${"1"===e?"":"s"}</strong> per billing period included`,includedSeats:e=>`with default <strong class="text-primary-600">${e}</strong> seat${"1"===e?"":"s"}`},ff={class:"flex items-start justify-between"},hf={key:0,class:"flex items-center gap-2"},vf={class:"flex flex-col gap-1"},gf={class:"flex items-center gap-2"},yf={key:0,class:"flex justify-center gap-2"},bf={key:0,class:"text-gray-600 ml-auto"},xf={key:1,class:"text-gray-600 ml-auto"},kf={key:0,class:"ml-4 flex shrink-0 flex-col text-gray-600 empty:hidden"},_f={class:"flex items-center justify-end"},wf={"data-testid":"flat-fixed-none-amount"},Bf={"data-testid":"flat-fixed-none-per-units",class:"pl-1"},Cf={key:0,class:"pl-1"},Ef={"data-testid":"flat-fixed-none-credits-label",class:"font-semibold text-primary-600"},Nf={"data-testid":"flat-fixed-none-per-units",class:"pl-1"},Tf={key:0,class:"pl-1"},Mf={class:"text-primary-600 font-semibold"},Vf={class:"pl-1"},Sf={key:0,class:"pl-1"},zf={key:1,class:"mr-1"},Pf={key:3,class:"mr-1"},qf={key:3,class:"ml-2 flex items-center"},Df={key:0,class:"flex shrink-0 flex-col text-gray-600"},If={class:"flex items-center"},$f={key:2,class:"pl-1"},Of={key:3,class:"pl-1"},Hf={key:4,class:"shrink-9 pl-1 italic"},Af={key:5,class:"ml-2 flex items-center"},Lf={key:1,class:"flex shrink-0 flex-col text-gray-600"},Zf={class:"flex items-center"},Rf={class:"pl-1"},Ff={key:0,class:"italic"},Uf={key:2,class:"ml-2 flex items-center"},Gf={key:2,class:"flex shrink-0 flex-col text-gray-600"},jf={class:"flex items-center"},Qf={class:"pl-1"},Kf={key:1,class:"pl-1"},Wf={key:2,class:"pl-1 italic"},Yf={key:3,class:"ml-2 flex items-center"},Xf=e.defineComponent({__name:"FlatFixedNonePricingRule",props:{config:{},item:{},areNonBillableItemsVisible:{type:Boolean},i18n:{},isCombinedPricing:{type:Boolean},showConfigHeader:{type:Boolean,default:!0},showDefaultValues:{type:Boolean,default:!0},creditTypesById:{}},setup(t){const l=t,{formatMessage:n}=Gn(),a=e.computed(()=>l.i18n??pf),i=e.computed(()=>ii(l.config)),r=n({defaultMessage:"unit",id:"lWOCGz",description:"Fallback singular unit label for pricing rule display"}),c=n({defaultMessage:"units",id:"Vl9vDx",description:"Fallback plural unit label for pricing rule display"}),s=e.computed(()=>l.item.product_items&&l.item.product_items[0]),d=e.computed(()=>{var e,t,o,n,a,i,d,u;if("CREDITS"===(null==(e=s.value)?void 0:e.model_type)){const e=null==(t=s.value.credits)?void 0:t.credit_type_id,a=e?null==(n=null==(o=l.creditTypesById)?void 0:o[e])?void 0:n.unit_name:void 0;return{singular:(null==a?void 0:a.singular)||r,plural:(null==a?void 0:a.plural)||c}}return{singular:(null==(i=null==(a=s.value)?void 0:a.unit_name)?void 0:i.singular)||r,plural:(null==(u=null==(d=s.value)?void 0:d.unit_name)?void 0:u.plural)||c}}),u=e.computed(()=>{var e,t,o,l;return{singular:(null==(t=null==(e=s.value)?void 0:e.unit_name)?void 0:t.singular)||r,plural:(null==(l=null==(o=s.value)?void 0:o.unit_name)?void 0:l.plural)||c}}),p=e.computed(()=>{var e,t,o,n;return null==(n=null==(o=null==(t=null==(e=l.config.split_pricing)?void 0:e.meter_properties)?void 0:t.map(e=>{var t;return null==(t=e.meter_property)?void 0:t.name}))?void 0:o.filter(e=>!!e))?void 0:n.join(",")}),m=e.computed(()=>l.showConfigHeader||l.config.split_pricing),f=e.computed(()=>!!l.config.use_fallback_currency&&!!l.config.fallback_currency),h=e.computed(()=>`Based on fallback currency – ${l.config.fallback_currency}`),v=e.computed(()=>{var e,t,o;return null==(o=null==(t=null==(e=l.config.details)?void 0:e.bands)?void 0:t[0])?void 0:o.credits}),g=e.computed(()=>{var e,t,o,n,a,i;const r=null==(e=v.value)?void 0:e.credit_type_id,c=null==(t=v.value)?void 0:t.quantity;if(!c)return"";const s=r?null==(o=l.creditTypesById)?void 0:o[r]:void 0;if(!s)return c;const d=1===Number(c)?(null==(n=s.unit_name)?void 0:n.singular)??s.name:(null==(a=s.unit_name)?void 0:a.plural)??(null==(i=s.unit_name)?void 0:i.singular)??s.name;return d?`${c} ${d}`:c});return(l,n)=>{var r,c,v,y,b,x,k,_,B,C,E,N,T,M,V,S,z,P,q,D,I,$,O,H,A,L,Z,R,F,U,G,j,Q,K,W,Y,X,J,ee,te,oe,le,ne,ae,ie,re,ce,se,de,ue,pe,me,fe,he,ve,ge,ye,be,xe;return e.openBlock(),e.createElementBlock("div",null,[e.createElementVNode("div",ff,[m.value?(e.openBlock(),e.createElementBlock("div",hf,[e.createElementVNode("div",vf,[e.createElementVNode("div",gf,[t.showConfigHeader?(e.openBlock(),e.createBlock(Ku,{key:0,config:t.config,i18n:a.value},{"override-tooltip":e.withCtx(()=>[e.renderSlot(l.$slots,"override-tooltip")]),_:3},8,["config","i18n"])):e.createCommentVNode("",!0),f.value?(e.openBlock(),e.createBlock(Ic,{key:1,variant:"outline",placement:"top"},{tooltip:e.withCtx(()=>[e.createVNode(Gc,null,{default:e.withCtx(()=>[e.createVNode(jc,null,{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(h.value),1)]),_:1})]),_:1})]),default:e.withCtx(()=>[e.createVNode(w,{icon:"change_circle",class:"text-gray-500"})]),_:1})):e.createCommentVNode("",!0)]),t.config.split_pricing?(e.openBlock(),e.createElementBlock("div",yf,[e.createVNode(o,{variant:"label",tag:"span"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(a.value.splitBy),1)]),_:1}),e.createVNode(o,{tag:"span",variant:"body-sm"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(p.value),1)]),_:1})])):e.createCommentVNode("",!0)])])):e.createCommentVNode("",!0),"NONE"===(null==(r=t.config.details)?void 0:r.pricing_type)||"PASS_THROUGH"===(null==(c=t.config.details)?void 0:c.pricing_type)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},["NONE"===(null==(v=t.config.details)?void 0:v.pricing_type)?(e.openBlock(),e.createElementBlock("div",bf,e.toDisplayString(a.value.notBilled),1)):e.createCommentVNode("",!0),"PASS_THROUGH"===(null==(y=t.config.details)?void 0:y.pricing_type)?(e.openBlock(),e.createElementBlock("div",xf,e.toDisplayString(a.value.passThrough),1)):e.createCommentVNode("",!0)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[s.value?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},["USAGE_BASED"===s.value.model_type||"CREDITS"===s.value.model_type?(e.openBlock(),e.createElementBlock("div",kf,[e.createElementVNode("div",null,[e.createElementVNode("div",_f,[(null==(b=t.config.details)?void 0:b.bands)&&(null==(x=t.config.details)?void 0:x.bands[0].amount)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("span",wf,[e.createVNode(Pi,{value:null==(k=t.config.details)?void 0:k.bands[0].amount,highlighted:""},null,8,["value"])]),e.createElementVNode("span",Bf,e.toDisplayString(a.value.perNumberOfUnits((null==(B=null==(_=t.config.details)?void 0:_.bands[0])?void 0:B.block_size)&&e.unref(ui)(null==(C=t.config.details)?void 0:C.bands[0].block_size)?null==(E=t.config.details)?void 0:E.bands[0].block_size.number:"1",d.value)),1),(null==(N=t.config.details)?void 0:N.pricing_period)?(e.openBlock(),e.createElementBlock("span",Cf,e.toDisplayString(a.value.formatBillingPeriod(null==(T=t.config.details)?void 0:T.pricing_period)),1)):e.createCommentVNode("",!0)],64)):(null==(M=t.config.details)?void 0:M.bands)&&(null==(S=null==(V=t.config.details)?void 0:V.bands[0].credits)?void 0:S.quantity)&&(null==(P=null==(z=t.config.details)?void 0:z.bands[0].credits)?void 0:P.credit_type_id)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("span",Ef,e.toDisplayString(g.value),1),e.createElementVNode("span",Nf,e.toDisplayString(a.value.perNumberOfUnits((null==(D=null==(q=t.config.details)?void 0:q.bands[0])?void 0:D.block_size)&&e.unref(ui)(null==(I=t.config.details)?void 0:I.bands[0].block_size)?null==($=t.config.details)?void 0:$.bands[0].block_size.number:"1",u.value)),1),(null==(O=t.config.details)?void 0:O.pricing_period)?(e.openBlock(),e.createElementBlock("span",Tf,e.toDisplayString(a.value.formatBillingPeriod(null==(H=t.config.details)?void 0:H.pricing_period)),1)):e.createCommentVNode("",!0)],64)):(null==(A=t.config.details)?void 0:A.bands)&&"string"==typeof(null==(L=t.config.details)?void 0:L.bands[0].percentage)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createElementVNode("span",Mf,e.toDisplayString(null==(Z=t.config.details)?void 0:Z.bands[0].percentage)+"% ",1),e.createElementVNode("span",Vf,e.toDisplayString(a.value.ofAmount(null==(R=s.value.unit_name)?void 0:R.singular)),1),(null==(F=t.config.details)?void 0:F.pricing_period)?(e.openBlock(),e.createElementBlock("span",Sf,e.toDisplayString(a.value.formatBillingPeriod(null==(U=t.config.details)?void 0:U.pricing_period)),1)):e.createCommentVNode("",!0),(null==(G=t.config.details)?void 0:G.bands[0].minimum_amount)||(null==(j=t.config.details)?void 0:j.bands[0].maximum_amount)?(e.openBlock(),e.createElementBlock("span",zf," , "+e.toDisplayString(a.value.with),1)):e.createCommentVNode("",!0),(null==(Q=t.config.details)?void 0:Q.bands[0].minimum_amount)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createTextVNode(e.toDisplayString(a.value.aMinimumOf)+" ",1),e.createVNode(Pi,{value:null==(K=t.config.details)?void 0:K.bands[0].minimum_amount,highlighted:"",class:"mx-1"},null,8,["value"])],64)):e.createCommentVNode("",!0),(null==(W=t.config.details)?void 0:W.bands[0].minimum_amount)&&(null==(Y=t.config.details)?void 0:Y.bands[0].maximum_amount)?(e.openBlock(),e.createElementBlock("span",Pf,e.toDisplayString(a.value.and),1)):e.createCommentVNode("",!0),(null==(X=t.config.details)?void 0:X.bands[0].maximum_amount)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:4},[e.createTextVNode(e.toDisplayString(a.value.aMaximumOf)+" ",1),e.createVNode(Pi,{value:null==(J=t.config.details)?void 0:J.bands[0].maximum_amount,highlighted:"",class:"ml-1"},null,8,["value"])],64)):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0),l.$slots["price-line-additions"]?(e.openBlock(),e.createElementBlock("span",qf,[e.renderSlot(l.$slots,"price-line-additions")])):e.createCommentVNode("",!0)])]),e.createElementVNode("div",null,[e.renderSlot(l.$slots,"included")])])):e.createCommentVNode("",!0),t.isCombinedPricing?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},["RECURRING"===s.value.model_type?(e.openBlock(),e.createElementBlock("div",Df,[e.createElementVNode("div",null,[e.createElementVNode("div",If,[(null==(ee=t.config.details)?void 0:ee.bands)&&(null==(te=t.config.details)?void 0:te.bands[0].amount)?(e.openBlock(),e.createBlock(Pi,{key:0,value:null==(oe=t.config.details)?void 0:oe.bands[0].amount,highlighted:""},null,8,["value"])):(null==(le=t.config.details)?void 0:le.bands)&&(null==(ne=t.config.details)?void 0:ne.bands[0].fixed_amount)?(e.openBlock(),e.createBlock(Pi,{key:1,value:null==(ae=t.config.details)?void 0:ae.bands[0].fixed_amount,highlighted:""},null,8,["value"])):e.createCommentVNode("",!0),(null==(re=null==(ie=t.config.details)?void 0:ie.pricing_period)?void 0:re.type)?(e.openBlock(),e.createElementBlock("div",$f,e.toDisplayString(a.value.formatBillingPeriod(null==(ce=t.config.details)?void 0:ce.pricing_period)),1)):(e.openBlock(),e.createElementBlock("div",Of,"per billing period")),t.config.billing_in_advance?(e.openBlock(),e.createElementBlock("span",Hf," ("+e.toDisplayString(a.value.billedInAdvance)+") ",1)):e.createCommentVNode("",!0),l.$slots["price-line-additions"]?(e.openBlock(),e.createElementBlock("span",Af,[e.renderSlot(l.$slots,"price-line-additions")])):e.createCommentVNode("",!0)])]),e.renderSlot(l.$slots,"included")])):e.createCommentVNode("",!0),"ONE_OFF"===s.value.model_type?(e.openBlock(),e.createElementBlock("div",Lf,[e.createElementVNode("div",null,[e.createElementVNode("div",Zf,[(null==(se=t.config.details)?void 0:se.bands)&&(null==(de=t.config.details)?void 0:de.bands[0].amount)?(e.openBlock(),e.createBlock(Pi,{key:0,value:null==(ue=t.config.details)?void 0:ue.bands[0].amount,highlighted:""},null,8,["value"])):(null==(pe=t.config.details)?void 0:pe.bands)&&(null==(me=t.config.details)?void 0:me.bands[0].fixed_amount)?(e.openBlock(),e.createBlock(Pi,{key:1,value:null==(fe=t.config.details)?void 0:fe.bands[0].fixed_amount,highlighted:""},null,8,["value"])):e.createCommentVNode("",!0),e.createElementVNode("div",Rf,[e.createTextVNode(e.toDisplayString(a.value.oneOff)+" ",1),t.config.billing_in_advance?(e.openBlock(),e.createElementBlock("span",Ff," ("+e.toDisplayString(a.value.billedInAdvance)+") ",1)):e.createCommentVNode("",!0)]),l.$slots["price-line-additions"]?(e.openBlock(),e.createElementBlock("span",Uf,[e.renderSlot(l.$slots,"price-line-additions")])):e.createCommentVNode("",!0)])]),e.renderSlot(l.$slots,"included")])):e.createCommentVNode("",!0),"PER_SEAT"===s.value.model_type?(e.openBlock(),e.createElementBlock("div",Gf,[e.createElementVNode("div",null,[e.createElementVNode("div",jf,[(null==(he=t.config.details)?void 0:he.bands)&&(null==(ve=t.config.details)?void 0:ve.bands[0].amount)?(e.openBlock(),e.createBlock(Pi,{key:0,value:null==(ge=t.config.details)?void 0:ge.bands[0].amount,highlighted:""},null,8,["value"])):e.createCommentVNode("",!0),e.createElementVNode("span",Qf,e.toDisplayString(a.value.perSeat),1),(null==(be=null==(ye=t.config.details)?void 0:ye.pricing_period)?void 0:be.type)?(e.openBlock(),e.createElementBlock("div",Kf,e.toDisplayString(a.value.formatBillingPeriod(null==(xe=t.config.details)?void 0:xe.pricing_period)),1)):e.createCommentVNode("",!0),t.config.billing_in_advance?(e.openBlock(),e.createElementBlock("span",Wf," ("+e.toDisplayString(a.value.billedInAdvance)+") ",1)):e.createCommentVNode("",!0),l.$slots["price-line-additions"]?(e.openBlock(),e.createElementBlock("span",Yf,[e.renderSlot(l.$slots,"price-line-additions")])):e.createCommentVNode("",!0)])]),e.renderSlot(l.$slots,"included")])):e.createCommentVNode("",!0)],64))],64)):e.createCommentVNode("",!0)],64))]),i.value?(e.openBlock(),e.createBlock(Om,{key:0,i18n:a.value.topUpDescription,class:"mt-1","pricing-item-config":t.config},null,8,["i18n","pricing-item-config"])):e.createCommentVNode("",!0)])}}}),Jf={class:"tiered-rule-header flex items-start justify-between"},eh={key:0,class:"flex gap-2"},th={key:1,class:"flex justify-center gap-2"},oh={class:"tiered-table-print-wrapper mt-3 overflow-clip rounded border"},lh={class:"tiered-table-print w-full table-auto text-gray-600"},nh=["colspan"],ah={class:"border-t"},ih={class:"px-2 py-1 text-left"},rh={class:"px-2 py-1 text-left"},ch={key:0,class:"px-2 py-1 text-right"},sh={key:1,class:"px-2 py-1 text-right"},dh={key:2,class:"px-2 py-1 text-right"},uh={class:"px-2 py-1 text-left"},ph={class:"px-2 py-1 text-left"},mh={key:4,class:"pr-2 text-right"},fh={class:"px-2 py-1"},hh={class:"px-2 py-1"},vh={key:0,class:"px-2 py-1 text-right"},gh={key:1,class:"px-2 py-1 text-right"},yh={key:2,class:"px-2 py-1 text-right"},bh={class:"px-2 py-1"},xh={class:"px-2 py-1"},kh={key:4,class:"px-2 py-1 text-right"},_h={key:1,class:"mt-2"},wh=h(e.defineComponent({__name:"TieredSteppedPricingRule",props:{config:{},itemIndex:{},configIndex:{},item:{},i18n:{},isCombinedPricing:{type:Boolean},showConfigHeader:{type:Boolean,default:!0},creditTypesById:{}},setup(t){const l=t;e.useSlots();const n=e.computed(()=>l.i18n??uf),a=e.computed(()=>{var e,t,o,n,a,i,r;return(null==(n=null==(o=null==(t=null==(e=l.config.details)?void 0:e.bands)?void 0:t.find(e=>{var t;return null==(t=e.credits)?void 0:t.credit_type_id}))?void 0:o.credits)?void 0:n.credit_type_id)??(null==(r=null==(i=null==(a=l.item.product_items)?void 0:a[0])?void 0:i.credits)?void 0:r.credit_type_id)}),i=e.computed(()=>{var e,t,o,n,i;if(a.value){const o=null==(e=l.creditTypesById)?void 0:e[a.value];if(o)return(null==(t=o.unit_name)?void 0:t.singular)||"unit"}return(null==(i=null==(n=null==(o=l.item.product_items)?void 0:o[0])?void 0:n.unit_name)?void 0:i.singular)||"unit"}),r=e.computed(()=>{var e,t;const o=null==(e=l.config.details)?void 0:e.pricing_type;if(o&&["TIERED","TOP_TIERED"].includes(o)&&(null==(t=l.config.details)?void 0:t.bands))for(const n of l.config.details.bands)if(n.minimum_amount||n.maximum_amount)return!0;return!1}),c=e.computed(()=>{var e;return ri(l.config)?"TIERED":ci(l.config)?"STAIR_STEP":null==(e=l.config.details)?void 0:e.pricing_type}),s=e.computed(()=>ii(l.config)),d=e.computed(()=>{var e,t;return null==(t=null==(e=l.config.details)?void 0:e.bands)?void 0:t.some(e=>e.block_size)}),u=e.computed(()=>{var e;return null==(e=l.config.details.bands)?void 0:e.some(e=>e.fixed_amount)}),p=e.computed(()=>{var e;return null==(e=l.config.details.bands)?void 0:e.some(e=>e.amount)}),m=e.computed(()=>{var e;return null==(e=l.config.details.bands)?void 0:e.some(e=>e.percentage)}),f=e.computed(()=>{var e,t,o,n;return null==(n=null==(o=null==(t=null==(e=l.config.split_pricing)?void 0:e.meter_properties)?void 0:t.map(e=>{var t;return null==(t=e.meter_property)?void 0:t.name}))?void 0:o.filter(e=>!!e))?void 0:n.join(", ")}),h=e.computed(()=>l.showConfigHeader||l.config.split_pricing),v=e.computed(()=>!!l.config.use_fallback_currency&&!!l.config.fallback_currency),g=e.computed(()=>`Based on fallback currency – ${l.config.fallback_currency}`),y=e.computed(()=>2+(u.value?1:0)+(p.value?1:0)+(m.value?1:0)+(r.value?2:0)+(d.value?1:0));return(l,a)=>(e.openBlock(),e.createElementBlock("div",null,[e.createElementVNode("div",Jf,[h.value?(e.openBlock(),e.createElementBlock("div",eh,[e.createVNode(Ku,{config:t.config,i18n:n.value},{"override-tooltip":e.withCtx(()=>[e.renderSlot(l.$slots,"override-tooltip",{},void 0,!0)]),_:3},8,["config","i18n"]),v.value?(e.openBlock(),e.createBlock(Ic,{key:0,variant:"outline",placement:"top"},{tooltip:e.withCtx(()=>[e.createVNode(Gc,null,{default:e.withCtx(()=>[e.createVNode(jc,null,{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(g.value),1)]),_:1})]),_:1})]),default:e.withCtx(()=>[e.createVNode(w,{icon:"change_circle",class:"text-gray-500"})]),_:1})):e.createCommentVNode("",!0),t.config.split_pricing?(e.openBlock(),e.createElementBlock("div",th,[e.createVNode(o,{variant:"label",tag:"span"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(n.value.splitBy),1)]),_:1}),e.createVNode(o,{tag:"span",variant:"body-sm"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(f.value),1)]),_:1})])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)]),s.value?(e.openBlock(),e.createBlock(e.unref(Om),{key:0,class:"mb-3 mt-1",i18n:n.value.topUpDescription,"pricing-item-config":t.config},null,8,["i18n","pricing-item-config"])):e.createCommentVNode("",!0),e.createElementVNode("div",oh,[e.createElementVNode("table",lh,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("th",{colspan:y.value,class:"bg-gray-50 px-2 text-left"},[e.createVNode(o,{variant:"caps-heading"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(Za)(c.value)),1)]),_:1})],8,nh)]),e.createElementVNode("tr",ah,[e.createElementVNode("th",ih,[e.createVNode(o,{variant:"caps-heading"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(n.value.from),1)]),_:1})]),e.createElementVNode("th",rh,[e.createVNode(o,{variant:"caps-heading"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(n.value.upTo),1)]),_:1})]),u.value?(e.openBlock(),e.createElementBlock("th",ch,[e.createVNode(o,{variant:"caps-heading"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(n.value.fixedAmount),1)]),_:1})])):e.createCommentVNode("",!0),p.value?(e.openBlock(),e.createElementBlock("th",sh,["STAIR_STEP"===c.value?(e.openBlock(),e.createBlock(o,{key:0,variant:"caps-heading"},{default:e.withCtx(()=>{var o,l,a;return[e.createTextVNode(e.toDisplayString(n.value.pricePerStep(null==(a=null==(l=null==(o=t.item.product_items)?void 0:o[0])?void 0:l.unit_name)?void 0:a.plural)),1)]}),_:1})):d.value?(e.openBlock(),e.createBlock(o,{key:1,variant:"caps-heading"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(n.value.price),1)]),_:1})):t.config.details.bands&&t.config.details.bands[0].amount||t.config.details.bands&&t.config.details.bands[0].fixed_amount?(e.openBlock(),e.createBlock(o,{key:2,variant:"caps-heading"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(n.value.pricePerUnit(i.value)),1)]),_:1})):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),m.value?(e.openBlock(),e.createElementBlock("th",dh,[e.createVNode(o,{variant:"caps-heading"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(n.value.percentage),1)]),_:1})])):e.createCommentVNode("",!0),r.value?(e.openBlock(),e.createElementBlock(e.Fragment,{key:3},[e.createElementVNode("th",uh,[e.createVNode(o,{variant:"caps-heading"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(n.value.feeFloor),1)]),_:1})]),e.createElementVNode("th",ph,[e.createVNode(o,{variant:"caps-heading"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(n.value.feeCap),1)]),_:1})])],64)):e.createCommentVNode("",!0),d.value?(e.openBlock(),e.createElementBlock("th",mh,[e.createVNode(o,{variant:"caps-heading"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(n.value.per),1)]),_:1})])):e.createCommentVNode("",!0)])]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.config.details.bands,(o,l)=>{var a,i,c,s;return e.openBlock(),e.createElementBlock("tr",{key:l,class:"border-t"},[e.createElementVNode("td",fh,[(null==(a=t.config.details)?void 0:a.bands)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createTextVNode(e.toDisplayString(e.unref(vi)(n.value)(null==(i=t.config.details)?void 0:i.bands[l-1])),1)],64)):e.createCommentVNode("",!0)]),e.createElementVNode("td",hh,[(null==(c=t.config.details)?void 0:c.bands)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createTextVNode(e.toDisplayString(e.unref(gi)(n.value)(o,null==(s=t.config.details)?void 0:s.bands,l)),1)],64)):e.createCommentVNode("",!0)]),u.value?(e.openBlock(),e.createElementBlock("td",vh,[o.fixed_amount?(e.openBlock(),e.createBlock(Pi,{key:0,value:o.fixed_amount,highlighted:""},null,8,["value"])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),p.value?(e.openBlock(),e.createElementBlock("td",gh,[o.amount?(e.openBlock(),e.createBlock(Pi,{key:0,value:o.amount,highlighted:""},null,8,["value"])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),m.value?(e.openBlock(),e.createElementBlock("td",yh,[o.percentage?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createTextVNode(e.toDisplayString(o.percentage)+"% ",1)],64)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),r.value?(e.openBlock(),e.createElementBlock(e.Fragment,{key:3},[e.createElementVNode("td",bh,[o.minimum_amount?(e.openBlock(),e.createBlock(Pi,{key:0,value:o.minimum_amount},null,8,["value"])):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createTextVNode(" ")],64))]),e.createElementVNode("td",xh,[o.maximum_amount?(e.openBlock(),e.createBlock(Pi,{key:0,value:o.maximum_amount},null,8,["value"])):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createTextVNode(" ")],64))])],64)):e.createCommentVNode("",!0),d.value?(e.openBlock(),e.createElementBlock("td",kh,[e.unref(mi)(o.block_size)?(e.openBlock(),e.createBlock(Pi,{key:0,value:o.block_size.amount},null,8,["value"])):e.unref(ui)(o.block_size)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createTextVNode(e.toDisplayString(n.value.formatNumber(+o.block_size.number)),1)],64)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)])}),128))])])]),l.$slots.included?(e.openBlock(),e.createElementBlock("div",_h,[e.renderSlot(l.$slots,"included",{},void 0,!0)])):e.createCommentVNode("",!0)]))}}),[["__scopeId","data-v-9e78b558"]]),Bh={class:"conditions-root"},Ch=["innerHTML"],Eh=["innerHTML"],Nh=["innerHTML"],Th=["innerHTML"],Mh=["innerHTML"],Vh=["innerHTML"],Sh={key:2,class:"mt-3"},zh={key:0,class:"-transform-x-1/2 context-menu-wrapper absolute -top-2 right-0 opacity-0 transition-opacity"},Ph={key:0,class:"nested-conditions-border before:background-repeat-y before:content[''] relative mb-4 w-full pl-4 before:absolute before:inset-0 before:right-auto before:w-1 before:content-['']"},qh=h(e.defineComponent({__name:"PricingItemConfig",props:{areNonBillableItemsVisible:{type:Boolean},rootConfig:{},config:{},configIndex:{},item:{},itemIndex:{},pricing:{},i18n:{},rootClass:{},showConfigHeader:{type:Boolean,default:!0},showDefaultValues:{type:Boolean,default:!0},schedule:{},creditTypesById:{}},setup(t){const o=t,l=e.computed(()=>o.i18n??mf),n=e.useSlots(),a=e=>{var t,l,n;return(e=>ai(e,["FLAT","FLAT_TOP_UP"]))(e)||"FIXED"===(null==(t=e.details)?void 0:t.pricing_type)||"PASS_THROUGH"===(null==(l=e.details)?void 0:l.pricing_type)||"NONE"===(null==(n=e.details)?void 0:n.pricing_type)&&o.areNonBillableItemsVisible},i=e=>ai(e,["TIERED","TIERED_TOP_UP","TOP_TIERED"])||ci(e),r=e=>{var t,o,l,n,a;return"AMOUNT"===(null==(a=null==(n=null==(l=null==(o=null==(t=e.product_items)?void 0:t[0])?void 0:o.usage_based)?void 0:l.meter_value_calculation)?void 0:n.meter_value)?void 0:a.type)},s=e=>{var t,o,l,n,a;return"NUMBER"===(null==(a=null==(n=null==(l=null==(o=null==(t=e.product_items)?void 0:t[0])?void 0:o.usage_based)?void 0:l.meter_value_calculation)?void 0:n.meter_value)?void 0:a.type)},d=(e,t)=>{var o,l,n;return"PER_SEAT"===(null==(l=null==(o=e.product_items)?void 0:o[0])?void 0:l.model_type)&&"NONE"!==(null==(n=t.details)?void 0:n.pricing_type)},u=e.computed(()=>({pricing:o.pricing,item:o.item,config:o.config})),p=e.computed(()=>{var e;return null==(e=o.config.conditions)?void 0:e.configs}),m=e.computed(()=>!!n["pricing-item-config-settings"]&&!bi(n["pricing-item-config-settings"](u.value))),f=e.computed(()=>o.rootConfig??o.config),h=e.computed(()=>{var e,t,l;const n=o.config.original_pricing_item_config_id;return o.schedule?(null==(e=Ya({schedule:o.schedule,pricingItemConfigIds:[o.config.id,...n?[n]:[]]}))?void 0:e.number)??(null==(t=o.config.default_seats_value)?void 0:t.number):null==(l=o.config.default_seats_value)?void 0:l.number});return(n,v)=>{var g,y,b,x,k;const _=e.resolveComponent("PricingItemConfig",!0);return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["relative",{[`${t.rootClass}`]:t.rootClass,"mb-4 last:mb-0":a(t.config)&&((null==(g=t.config.conditions)?void 0:g.meter_properties)||0===t.configIndex&&t.item.configs&&t.item.configs.length>0),"mb-6 last:mb-0":i(t.config)}])},[e.createElementVNode("div",Bh,[e.createElementVNode("div",{class:e.normalizeClass({"transition-padding conditions-with-context-menu":m.value})},[(null==(y=t.config.details)?void 0:y.bands)||(null==(b=t.config.details)?void 0:b.pricing_type)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[a(t.config)?(e.openBlock(),e.createBlock(e.unref(Xf),{key:0,"is-combined-pricing":t.pricing.products&&t.pricing.products.length>1,"are-non-billable-items-visible":t.areNonBillableItemsVisible,config:t.config,item:t.item,class:e.normalizeClass({"mt-3":!t.rootClass}),i18n:l.value,"show-config-header":t.showConfigHeader,"show-default-values":t.showDefaultValues,"credit-types-by-id":t.creditTypesById},{"override-tooltip":e.withCtx(()=>[e.renderSlot(n.$slots,"override-tooltip",e.normalizeProps(e.guardReactiveProps(o)),void 0,!0)]),"price-line-additions":e.withCtx(()=>[e.renderSlot(n.$slots,"pricing-item-config-price-line-additions",e.normalizeProps(e.guardReactiveProps(u.value)),void 0,!0)]),included:e.withCtx(()=>{var o,n,a,i;return[r(t.item)&&(null==(o=t.config.default_included_volume)?void 0:o.amount)?(e.openBlock(),e.createElementBlock("span",{key:0,class:"mt-1 text-right text-gray-600",innerHTML:"BILLING_PERIOD"===t.config.default_included_volume.reset_type?l.value.includedVolumeAmountPerBillingPeriod(t.config.default_included_volume.amount):l.value.includedVolumeAmountPerSchedule(t.config.default_included_volume.amount)},null,8,Ch)):e.createCommentVNode("",!0),s(t.item)&&(null==(n=t.config.default_included_volume)?void 0:n.number)?(e.openBlock(),e.createElementBlock("span",{key:1,class:"mt-1 text-right text-gray-600",innerHTML:"BILLING_PERIOD"===t.config.default_included_volume.reset_type?l.value.includedVolumeUnitsPerBillingPeriod(t.config.default_included_volume.number,null==(a=t.item.product_items)?void 0:a[0].unit_name):l.value.includedVolumeUnitsPerSchedule(t.config.default_included_volume.number,null==(i=t.item.product_items)?void 0:i[0].unit_name)},null,8,Eh)):e.createCommentVNode("",!0),t.showDefaultValues&&d(t.item,t.config)&&h.value?(e.openBlock(),e.createElementBlock("span",{key:2,class:"mt-1 text-right text-gray-600",innerHTML:l.value.includedSeats(h.value)},null,8,Nh)):e.createCommentVNode("",!0)]}),_:3},8,["is-combined-pricing","are-non-billable-items-visible","config","item","class","i18n","show-config-header","show-default-values","credit-types-by-id"])):i(t.config)?(e.openBlock(),e.createBlock(e.unref(wh),{key:1,"is-combined-pricing":t.pricing.products&&t.pricing.products.length>1,config:t.config,"item-index":t.itemIndex,"config-index":t.configIndex,item:t.item,"credit-types-by-id":t.creditTypesById,class:"mt-3",i18n:l.value,"show-config-header":t.showConfigHeader},{"override-tooltip":e.withCtx(()=>[e.renderSlot(n.$slots,"override-tooltip",e.normalizeProps(e.guardReactiveProps(o)),void 0,!0)]),"price-line-additions":e.withCtx(()=>[e.renderSlot(n.$slots,"pricing-item-config-price-line-additions",e.normalizeProps(e.guardReactiveProps(u.value)),void 0,!0)]),included:e.withCtx(()=>{var o,n,a,i;return[r(t.item)&&(null==(o=t.config.default_included_volume)?void 0:o.amount)?(e.openBlock(),e.createElementBlock("span",{key:0,class:"mt-1 text-right text-gray-600",innerHTML:"BILLING_PERIOD"===t.config.default_included_volume.reset_type?l.value.includedVolumeAmountPerBillingPeriod(t.config.default_included_volume.amount):l.value.includedVolumeAmountPerSchedule(t.config.default_included_volume.amount)},null,8,Th)):e.createCommentVNode("",!0),s(t.item)&&(null==(n=t.config.default_included_volume)?void 0:n.number)?(e.openBlock(),e.createElementBlock("span",{key:1,class:"mt-1 text-right text-gray-600",innerHTML:"BILLING_PERIOD"===t.config.default_included_volume.reset_type?l.value.includedVolumeUnitsPerBillingPeriod(t.config.default_included_volume.number,null==(a=t.item.product_items)?void 0:a[0].unit_name):l.value.includedVolumeUnitsPerSchedule(t.config.default_included_volume.number,null==(i=t.item.product_items)?void 0:i[0].unit_name)},null,8,Mh)):e.createCommentVNode("",!0),t.showDefaultValues&&d(t.item,t.config)&&h.value?(e.openBlock(),e.createElementBlock("span",{key:2,class:"mt-1 text-right text-gray-600",innerHTML:l.value.includedSeats(h.value)},null,8,Vh)):e.createCommentVNode("",!0)]}),_:3},8,["is-combined-pricing","config","item-index","config-index","item","credit-types-by-id","i18n","show-config-header"])):e.createCommentVNode("",!0),n.$slots["pricing-item-config-additions"]&&!e.unref(bi)(null==(k=(x=n.$slots)["pricing-item-config-additions"])?void 0:k.call(x,u.value))?(e.openBlock(),e.createElementBlock("div",Sh,[e.renderSlot(n.$slots,"pricing-item-config-additions",e.normalizeProps(e.guardReactiveProps(u.value)),void 0,!0)])):e.createCommentVNode("",!0)],64)):t.showConfigHeader?(e.openBlock(),e.createBlock(Ku,{key:1,"is-combined-pricing":t.pricing.products&&t.pricing.products.length>1,config:t.config,i18n:l.value,class:"mt-3"},{"override-tooltip":e.withCtx(()=>[e.renderSlot(n.$slots,"override-tooltip",e.normalizeProps(e.guardReactiveProps(o)),void 0,!0)]),_:3},8,["is-combined-pricing","config","i18n"])):e.createCommentVNode("",!0)],2),m.value?(e.openBlock(),e.createElementBlock("div",zh,[e.renderSlot(n.$slots,"pricing-item-config-settings",e.mergeProps(u.value,{rootConfig:f.value}),void 0,!0)])):e.createCommentVNode("",!0)]),p.value&&!e.unref(c)(p.value)?(e.openBlock(),e.createElementBlock("ul",Ph,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList([...p.value].sort((e,t)=>t.order-e.order),(o,a)=>(e.openBlock(),e.createElementBlock("li",{key:o.id},[e.createVNode(_,{pricing:t.pricing,item:t.item,"item-index":t.itemIndex,config:o,"config-index":a,"are-non-billable-items-visible":t.areNonBillableItemsVisible,i18n:l.value,"root-class":t.rootClass,"root-config":f.value,"credit-types-by-id":t.creditTypesById},{"pricing-item-config-settings":e.withCtx(t=>[e.renderSlot(n.$slots,"pricing-item-config-settings",e.mergeProps({ref_for:!0},t),void 0,!0)]),"override-tooltip":e.withCtx(t=>[e.renderSlot(n.$slots,"pricing-item-config-override-tooltip",e.mergeProps({ref_for:!0},t),void 0,!0)]),"pricing-item-config-additions":e.withCtx(t=>[e.renderSlot(n.$slots,"pricing-item-config-additions",e.mergeProps({ref_for:!0},t),void 0,!0)]),"pricing-item-config-price-line-additions":e.withCtx(t=>[e.renderSlot(n.$slots,"pricing-item-config-price-line-additions",e.mergeProps({ref_for:!0},t),void 0,!0)]),_:3},8,["pricing","item","item-index","config","config-index","are-non-billable-items-visible","i18n","root-class","root-config","credit-types-by-id"])]))),128))])):e.createCommentVNode("",!0)],2)}}}),[["__scopeId","data-v-ecf44f22"]]),Dh=["onClick"],Ih={class:"ml-1 text-gray-500"},$h={key:0,class:"px-4 pb-3"},Oh=h(e.defineComponent({__name:"PricingDetail",props:{itemClass:{},rootClass:{},titleWithIcon:{type:Boolean},pricing:{},groupedPricingItemIds:{},areNonBillableItemsVisible:{type:Boolean},i18n:{},schedule:{},creditTypesById:{}},setup(t){const o=Gn(),l=t,n=e.ref({}),a=e=>e?`${e.type}:${e.value}`:"none",i=e=>!n.value[e],r=(e,t)=>{if(!t)return null;const o=new Map;return e.forEach(e=>{var t,l;const n=null==(t=e.details)?void 0:t.pricing_period;if(!n)return;const i=a(n);o.has(i)||o.set(i,{billingPeriod:n,configs:[]}),null==(l=o.get(i))||l.configs.push(e)}),Array.from(o.entries()).map(([e,t])=>({key:e,...t}))},c=e=>[...e].sort((e,t)=>t.order-e.order),s=e=>{var t,o;return(null==(t=e.configs)?void 0:t.length)?e.configs:(null==(o=e.billing_period_configs)?void 0:o.flatMap(e=>(e.configs??[]).map(e=>({...e}))))??[]},d=e=>{var t;return u(e)?(null==(t=e.billing_period_configs)?void 0:t.length)?e.billing_period_configs.map(e=>({key:a(e.billing_period),billingPeriod:e.billing_period,configs:e.configs??[]})):r(s(e),!0):r(s(e),!1)},u=e=>{var t,o;return((null==(t=e.billing_period_configs)?void 0:t.length)??0)>0||((null==(o=l.groupedPricingItemIds)?void 0:o.includes(e.id))??!1)},p=e.computed(()=>{var e;return(null==(e=l.pricing.items)?void 0:e.map(e=>({id:e.id,groups:d(e)})))??[]}),m=e=>{const t=s(e),o=t.some(e=>{var t;return"NONE"!==(null==(t=e.details)?void 0:t.pricing_type)}),n=t.some(e=>{var t;return"NONE"===(null==(t=e.details)?void 0:t.pricing_type)});return o||n&&!!l.areNonBillableItemsVisible};return(l,a)=>(e.openBlock(),e.createElementBlock("div",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.pricing.items,(a,r)=>{var d;return e.openBlock(),e.createElementBlock(e.Fragment,{key:r},[m(a)?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["pricing-item-block pb-5 last:pb-3",{[`${t.itemClass}`]:t.itemClass}])},[e.createVNode(Js,{icon:t.titleWithIcon?"inventory_2":void 0,variant:"neutral",size:"sm",class:"pricing-item-heading"},{default:e.withCtx(()=>[e.renderSlot(l.$slots,"pricing-item-header",{item:a},()=>[e.createVNode(sf,{item:a,"credit-types-by-id":t.creditTypesById},null,8,["item","credit-types-by-id"])],!0)]),_:2},1032,["icon"]),(null==(d=p.value[r])?void 0:d.groups)?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(p.value[r].groups,s=>{var d,u,p;return e.openBlock(),e.createElementBlock("div",{key:s.key,class:"mt-3 rounded border border-gray-100"},[e.createElementVNode("button",{type:"button",class:"flex w-full items-center justify-between px-4 py-2 text-left text-sm font-semibold text-gray-700",onClick:e=>{return t=s.key,void(n.value={...n.value,[t]:!n.value[t]});var t}},[e.createElementVNode("span",null,[e.createTextVNode(e.toDisplayString((null==(d=t.i18n)?void 0:d.formatBillingPeriod)?e.unref(o).$t({defaultMessage:"Billing cycle",id:"pricing_detail.billing_cycle",description:"The billing cycle in the pricing detail card"}):"Billing cycle")+" ",1),e.createElementVNode("span",Ih,e.toDisplayString(null==(p=null==(u=t.i18n)?void 0:u.formatBillingPeriod)?void 0:p.call(u,s.billingPeriod)),1)]),e.createVNode(w,{icon:i(s.key)?"unfold_less":"unfold_more",size:"sm",class:"print:hidden"},null,8,["icon"])],8,Dh),e.createVNode(Zc,null,{default:e.withCtx(()=>[i(s.key)?(e.openBlock(),e.createElementBlock("div",$h,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(c(s.configs),(o,n)=>(e.openBlock(),e.createBlock(qh,{key:o.id,pricing:t.pricing,item:a,"item-index":r,config:o,"config-index":n,"are-non-billable-items-visible":t.areNonBillableItemsVisible,i18n:t.i18n,"root-class":t.rootClass,schedule:t.schedule,"credit-types-by-id":t.creditTypesById},{"pricing-item-config-settings":e.withCtx(t=>[e.renderSlot(l.$slots,"pricing-item-config-settings",e.mergeProps({ref_for:!0},t),void 0,!0)]),"override-tooltip":e.withCtx(t=>[e.renderSlot(l.$slots,"pricing-item-config-override-tooltip",e.mergeProps({ref_for:!0},t),void 0,!0)]),"pricing-item-config-additions":e.withCtx(t=>[e.renderSlot(l.$slots,"pricing-item-config-additions",e.mergeProps({ref_for:!0},t),void 0,!0)]),"pricing-item-config-price-line-additions":e.withCtx(t=>[e.renderSlot(l.$slots,"pricing-item-config-price-line-additions",e.mergeProps({ref_for:!0},t),void 0,!0)]),_:3},8,["pricing","item","item-index","config","config-index","are-non-billable-items-visible","i18n","root-class","schedule","credit-types-by-id"]))),128))])):e.createCommentVNode("",!0)]),_:2},1024)])}),128)):(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:1},e.renderList(c(s(a)??[]),(o,n)=>(e.openBlock(),e.createBlock(qh,{key:o.id,pricing:t.pricing,item:a,"item-index":r,config:o,"config-index":n,"are-non-billable-items-visible":t.areNonBillableItemsVisible,i18n:t.i18n,"root-class":t.rootClass,schedule:t.schedule,"credit-types-by-id":t.creditTypesById},{"pricing-item-config-settings":e.withCtx(t=>[e.renderSlot(l.$slots,"pricing-item-config-settings",e.mergeProps({ref_for:!0},t),void 0,!0)]),"override-tooltip":e.withCtx(t=>[e.renderSlot(l.$slots,"pricing-item-config-override-tooltip",e.mergeProps({ref_for:!0},t),void 0,!0)]),"pricing-item-config-additions":e.withCtx(t=>[e.renderSlot(l.$slots,"pricing-item-config-additions",e.mergeProps({ref_for:!0},t),void 0,!0)]),"pricing-item-config-price-line-additions":e.withCtx(t=>[e.renderSlot(l.$slots,"pricing-item-config-price-line-additions",e.mergeProps({ref_for:!0},t),void 0,!0)]),_:3},8,["pricing","item","item-index","config","config-index","are-non-billable-items-visible","i18n","root-class","schedule","credit-types-by-id"]))),128))],2)):e.createCommentVNode("",!0)],64)}),128))]))}}),[["__scopeId","data-v-3d026d53"]]);var Hh=(e=>(e.ENUM="ENUM",e.SWITCH="SWITCH",e.NUMBER="NUMBER",e.AMOUNT="AMOUNT",e.STRING="STRING",e))(Hh||{});const Ah={...{...mf},revenueItems:"Revenue items",deductionItems:"Deduction items",features:"Features"},Lh={class:"text-xs font-semibold uppercase text-gray-500"},Zh={class:"text-xs font-semibold uppercase text-gray-500"},Rh={key:2,class:"group mt-2"},Fh={class:"text-xs font-semibold uppercase text-gray-500"},Uh={key:0,class:"absolute right-0 top-1/2 z-10 -translate-y-1/2 bg-white opacity-0 transition group-hover:opacity-100"},Gh={class:"pl-4"},jh={class:"mt-2"},Qh={class:"font-bold text-gray-700"},Kh={key:1,class:"font-bold text-primary-600"},Wh={key:2,class:"font-bold text-primary-600"},Yh={key:4,class:"font-bold text-primary-600"},Xh=h(e.defineComponent({__name:"PricingInfo",props:{pricing:{},groupedPricingItemIds:{},areNonBillableItemsVisible:{type:Boolean},i18n:{},schedule:{},creditTypesById:{}},setup(t){const o=t;e.provide("pricingId",o.pricing.id);const l=e.computed(()=>o.i18n??Ah),n=e.computed(()=>{var e;return null==(e=o.pricing.items)?void 0:e.filter(e=>{return!!(null==(t=e.product_items)?void 0:t.every(ei));var t})}),a=e.computed(()=>{var e;return null==(e=o.pricing.items)?void 0:e.filter(e=>{return!!(t=e.product_items)&&t.length>0&&(null==t?void 0:t.every(ti));var t})});return(o,i)=>(e.openBlock(),e.createElementBlock("div",null,[e.renderSlot(o.$slots,"pricing-item-warning",{},void 0,!0),e.unref(c)(n.value)?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.unref(c)(t.pricing.items)?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(E,{key:0,class:"section-label my-3"},{default:e.withCtx(()=>[e.createElementVNode("h3",Lh,e.toDisplayString(l.value.revenueItems),1)]),_:1})),e.createVNode(Oh,{pricing:{...t.pricing,items:n.value},"grouped-pricing-item-ids":t.groupedPricingItemIds,i18n:l.value,"are-non-billable-items-visible":t.areNonBillableItemsVisible,schedule:t.schedule,"credit-types-by-id":t.creditTypesById},{"pricing-item-header":e.withCtx(({item:t})=>[e.renderSlot(o.$slots,"pricing-item-header",{item:t},void 0,!0)]),"pricing-item-config-settings":e.withCtx(t=>[e.renderSlot(o.$slots,"pricing-item-config-settings",e.normalizeProps(e.guardReactiveProps(t)),void 0,!0)]),"pricing-item-config-override-tooltip":e.withCtx(t=>[e.renderSlot(o.$slots,"pricing-item-config-override-tooltip",e.normalizeProps(e.guardReactiveProps(t)),void 0,!0)]),"pricing-item-config-additions":e.withCtx(t=>[e.renderSlot(o.$slots,"pricing-item-config-additions",e.normalizeProps(e.guardReactiveProps(t)),void 0,!0)]),"pricing-item-config-price-line-additions":e.withCtx(t=>[e.renderSlot(o.$slots,"pricing-item-config-price-line-additions",e.normalizeProps(e.guardReactiveProps(t)),void 0,!0)]),_:3},8,["pricing","grouped-pricing-item-ids","i18n","are-non-billable-items-visible","schedule","credit-types-by-id"])],64)),e.unref(c)(a.value)?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[t.pricing.items&&t.pricing.items.length>0?(e.openBlock(),e.createBlock(E,{key:0,class:"section-label mb-3 mt-6"},{default:e.withCtx(()=>[e.createElementVNode("h3",Zh,e.toDisplayString(l.value.deductionItems),1)]),_:1})):e.createCommentVNode("",!0),e.createVNode(Oh,{pricing:{...t.pricing,items:a.value},"grouped-pricing-item-ids":t.groupedPricingItemIds,i18n:l.value,"are-non-billable-items-visible":t.areNonBillableItemsVisible,"credit-types-by-id":t.creditTypesById},{"pricing-item-header":e.withCtx(({item:t})=>[e.renderSlot(o.$slots,"pricing-item-header",{item:t},void 0,!0)]),"pricing-item-config-settings":e.withCtx(t=>[e.renderSlot(o.$slots,"pricing-item-config-settings",e.normalizeProps(e.guardReactiveProps(t)),void 0,!0)]),"pricing-item-config-override-tooltip":e.withCtx(t=>[e.renderSlot(o.$slots,"pricing-item-config-override-tooltip",e.normalizeProps(e.guardReactiveProps(t)),void 0,!0)]),"pricing-item-config-additions":e.withCtx(t=>[e.renderSlot(o.$slots,"pricing-item-config-additions",e.normalizeProps(e.guardReactiveProps(t)),void 0,!0)]),"pricing-item-config-price-line-additions":e.withCtx(t=>[e.renderSlot(o.$slots,"pricing-item-config-price-line-additions",e.normalizeProps(e.guardReactiveProps(t)),void 0,!0)]),_:3},8,["pricing","grouped-pricing-item-ids","i18n","are-non-billable-items-visible","credit-types-by-id"])],64)),e.unref(c)(t.pricing.entitlements)?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",Rh,[e.createVNode(E,{class:"section-label relative"},{default:e.withCtx(()=>[e.createElementVNode("h3",Fh,e.toDisplayString(l.value.features),1),o.$slots["pricing-entitlements-settings"]?(e.openBlock(),e.createElementBlock("div",Uh,[e.createElementVNode("div",Gh,[e.renderSlot(o.$slots,"pricing-entitlements-settings",{pricing:t.pricing},void 0,!0)])])):e.createCommentVNode("",!0)]),_:3}),e.createElementVNode("ul",jh,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.pricing.entitlements,t=>(e.openBlock(),e.createElementBlock("li",{key:t.feature_id,class:"flex items-center justify-between py-2"},[e.createElementVNode("span",Qh,e.toDisplayString(t.feature.name),1),t.feature.type===e.unref(Hh).AMOUNT&&t.amount?(e.openBlock(),e.createBlock(Pi,{key:0,value:t.amount,highlighted:""},null,8,["value"])):e.createCommentVNode("",!0),t.feature.type===e.unref(Hh).NUMBER&&t.number?(e.openBlock(),e.createElementBlock("span",Kh,e.toDisplayString(t.number),1)):e.createCommentVNode("",!0),t.feature.type===e.unref(Hh).STRING&&t.string?(e.openBlock(),e.createElementBlock("span",Wh,e.toDisplayString(t.string),1)):e.createCommentVNode("",!0),t.feature.type===e.unref(Hh).SWITCH&&"switch"in t?(e.openBlock(),e.createElementBlock("div",{key:3,class:e.normalizeClass(["inline-block rounded-full leading-[0.5] text-white",t.switch?"bg-primary-600":"bg-red-500"])},[e.createVNode(w,{icon:t.switch?"check":"close",size:"xs"},null,8,["icon"])],2)):e.createCommentVNode("",!0),t.feature.type===e.unref(Hh).ENUM&&t.enum?(e.openBlock(),e.createElementBlock("span",Yh,e.toDisplayString(t.enum),1)):e.createCommentVNode("",!0)]))),128))])]))]))}}),[["__scopeId","data-v-f430a83c"]]),Jh=e=>"cancellationDate"in e,ev=e=>"schedule"in e,tv={...Ah,volumePooling:"Volume pooling",addon:"Addon",someItemsDeprecatedWarning:"Some of the product items are deprecated. They cannot be used for pricing and needs to be deleted",allItemsDeprecatedWarning:"All product items are deprecated, this pricing needs to be deleted"},ov={addon:"Addon",singleSelect:"Single select",multiSelect:"Multi select"},lv={...ov,...tv,productsCount:e=>0===e?"no products":1===e?"1 product":`${e} products`},nv={...sm,...Rp,...vm,...lv,...bm,commitmentsTitle:Rp.title,discountsTitle:sm.title,markupsTitle:vm.title,commitmentsOrderOfApplicationExplanation:Rp.orderOfApplicationExplanation,discountsOrderOfApplicationExplanation:sm.orderOfApplicationExplanation,markupsOrderOfApplicationExplanation:vm.orderOfApplicationExplanation,scheduleNumber:e=>`Schedule ${e}`,versionNumber:e=>`Version ${e}`,subscriptionCancelled:e=>`Subscription cancelled from ${e}`},av={class:"ml-2 inline-block"},iv={key:0,class:"mb-2"},rv=e.defineComponent({__name:"PricingCard",props:{pricing:{},groupedPricingItemIds:{},pricingPlanId:{},pricingPlanVersionId:{},isCustomizedPlan:{type:Boolean},subscriptionId:{},showNonBillable:{type:Boolean},defaultExpanded:{type:Boolean},i18n:{},showAddonChip:{type:Boolean,default:!0},isEnabled:{type:Boolean,default:!0},schedule:{},creditTypesById:{}},setup(t){const l=t,n=e.computed(()=>l.i18n??tv);e.provide("pricingId",l.pricing.id);const a=e=>"DEPRECATED"===e.status,i=e.computed(()=>(l.pricing.items||[]).flatMap(e=>e.product_items||[]).some(a)),r=e.computed(()=>(l.pricing.items||[]).flatMap(e=>e.product_items||[]).every(a));return(l,a)=>(e.openBlock(),e.createBlock(Km,{class:"flex flex-col justify-between","capped-width":"","is-open":t.defaultExpanded,"data-testid":`pricing-${t.pricing.id}`,spacing:"sm",onToggled:a[0]||(a[0]=e=>l.$emit("pricing-toggled",e)),onToggle:a[1]||(a[1]=e=>l.$emit("pricing-toggle",t.pricing.id))},{"pre-header":e.withCtx(()=>[e.renderSlot(l.$slots,"pre-header")]),"title-prefix":e.withCtx(()=>[e.renderSlot(l.$slots,"title-prefix")]),title:e.withCtx(()=>[e.createVNode(o,{weight:"semibold",tag:"span",variant:"body-sm"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(Ka)(t.pricing,!(t.pricing.products&&t.pricing.products.length>1))),1)]),_:1})]),"title-suffix":e.withCtx(()=>[t.pricing.products&&t.pricing.products.length>1?(e.openBlock(),e.createBlock(Qn,{key:0,color:"green",class:"ml-2 align-middle"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(n.value.volumePooling),1)]),_:1})):e.createCommentVNode("",!0),t.showAddonChip&&t.pricing.product_type&&"ADDON"===t.pricing.product_type?(e.openBlock(),e.createBlock(Qn,{key:1,color:"indigo",class:"ml-2 align-middle"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(n.value.addon),1)]),_:1})):e.createCommentVNode("",!0),e.createElementVNode("span",av,[e.renderSlot(l.$slots,"id")])]),right:e.withCtx(()=>[e.renderSlot(l.$slots,"right")]),default:e.withCtx(()=>[e.createVNode(Vc,{spacing:"none"},{default:e.withCtx(()=>[l.$slots["pricing-note"]?(e.openBlock(),e.createElementBlock("div",iv,[e.renderSlot(l.$slots,"pricing-note")])):e.createCommentVNode("",!0),e.createVNode(Xh,{pricing:t.pricing,"grouped-pricing-item-ids":t.groupedPricingItemIds,i18n:n.value,"are-non-billable-items-visible":t.showNonBillable,schedule:t.schedule,"credit-types-by-id":t.creditTypesById},{"pricing-item-header":e.withCtx(({item:t})=>[e.renderSlot(l.$slots,"pricing-item-header",{item:t})]),"pricing-item-warning":e.withCtx(()=>[r.value?(e.openBlock(),e.createBlock(dc,{key:0,type:"warning"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(n.value.allItemsDeprecatedWarning),1)]),_:1})):i.value?(e.openBlock(),e.createBlock(dc,{key:1,type:"warning"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(n.value.someItemsDeprecatedWarning),1)]),_:1})):e.createCommentVNode("",!0)]),"pricing-item-config-settings":e.withCtx(t=>[e.renderSlot(l.$slots,"pricing-item-config-settings",e.normalizeProps(e.guardReactiveProps(t)))]),"pricing-entitlements-settings":e.withCtx(t=>[e.renderSlot(l.$slots,"pricing-entitlements-settings",e.normalizeProps(e.guardReactiveProps(t)))]),"pricing-item-config-override-tooltip":e.withCtx(t=>[e.renderSlot(l.$slots,"pricing-item-config-override-tooltip",e.normalizeProps(e.guardReactiveProps(t)))]),"pricing-item-config-additions":e.withCtx(t=>[e.renderSlot(l.$slots,"pricing-item-config-additions",e.normalizeProps(e.guardReactiveProps(t)))]),"pricing-item-config-price-line-additions":e.withCtx(t=>[e.renderSlot(l.$slots,"pricing-item-config-price-line-additions",e.normalizeProps(e.guardReactiveProps(t)))]),_:3},8,["pricing","grouped-pricing-item-ids","i18n","are-non-billable-items-visible","schedule","credit-types-by-id"])]),_:3})]),_:3},8,["is-open","data-testid"]))}}),cv={class:"inline-block"},sv=e.defineComponent({__name:"PricingGroupCard",props:{pricingGroup:{},i18n:{default:()=>ov},isEnabled:{type:Boolean}},setup:t=>(o,l)=>(e.openBlock(),e.createBlock(Jr,{spacing:t.isEnabled?"sm":"none","border-style":t.isEnabled?"solid":"dashed"},{default:e.withCtx(()=>[e.createVNode(Gm,{spacing:"none",title:t.pricingGroup.name},{"title-suffix":e.withCtx(()=>[t.pricingGroup.product_type&&"ADDON"===t.pricingGroup.product_type?(e.openBlock(),e.createBlock(Qn,{key:0,color:"indigo",class:"ml-2 align-middle"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.i18n.addon),1)]),_:1})):e.createCommentVNode("",!0),e.createVNode(Qn,{color:"dark",class:"mx-2 align-middle"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(oi)(t.pricingGroup)?t.i18n.singleSelect:t.i18n.multiSelect),1)]),_:1}),e.createElementVNode("span",cv,[e.renderSlot(o.$slots,"id")])]),right:e.withCtx(()=>[e.renderSlot(o.$slots,"settings")]),_:3},8,["title"]),e.createVNode(Vc,{spacing:"none",class:"mt-2"},{default:e.withCtx(()=>[e.renderSlot(o.$slots,"pricings")]),_:3})]),_:3},8,["spacing","border-style"]))}),dv=e.defineComponent({__name:"PricingGroupSingleSelectCard",props:{pricingGroup:{},pricingPlanVersion:{},schedule:{},showNonBillable:{type:Boolean},isEnabled:{type:Boolean},isControlled:{type:Boolean}},emits:["update-enabled-pricing"],setup(t,{emit:l}){var n,a,i;const r=t,c=l,s=e.ref(null==(i=null==(a=null==(n=r.schedule)?void 0:n.enabled_pricings)?void 0:a.find(e=>r.pricingGroup.pricings.some(t=>t.id===e.pricing_id)))?void 0:i.pricing_id),d=e.computed(()=>r.pricingGroup.pricings.map(e=>({value:e.id}))),u=e.computed({get:()=>s.value||r.pricingGroup.pricings[0].id,set:e=>{s.value=e}}),p=e.computed(()=>r.pricingGroup.pricings.find(e=>e.id===u.value)),{renderPricingForPricingItem:m}=Fa(),f=e.computed(()=>{var e,t,o,l;return(null==(t=null==(e=p.value)?void 0:e.items)?void 0:t[0])?m({pricingItem:null==(l=null==(o=p.value)?void 0:o.items)?void 0:l[0]}):""}),h=e.computed(()=>Object.fromEntries((r.pricingPlanVersion.credit_types??[]).map(e=>[e.id,e])));return e.watch(u,(e,t)=>{c("update-enabled-pricing",t,e)},{immediate:!0}),e.watch(()=>r.schedule,e=>{var t,o;s.value=null==(o=null==(t=null==e?void 0:e.enabled_pricings)?void 0:t.find(e=>r.pricingGroup.pricings.some(t=>t.id===e.pricing_id)))?void 0:o.pricing_id},{immediate:!0}),(l,n)=>(e.openBlock(),e.createBlock(e.unref(sv),{"pricing-group":t.pricingGroup,"is-enabled":t.isEnabled},{id:e.withCtx(()=>[e.renderSlot(l.$slots,"id",{id:t.pricingGroup.id})]),settings:e.withCtx(()=>[e.renderSlot(l.$slots,"pricing-group-settings",{pricingGroup:t.pricingGroup})]),pricings:e.withCtx(()=>[p.value?(e.openBlock(),e.createBlock(e.unref(rv),{key:0,"default-expanded":!0,pricing:p.value,"pricing-plan-version-id":t.pricingPlanVersion.id,"pricing-plan-id":t.pricingPlanVersion.pricing_plan_id,"show-non-billable":t.showNonBillable,"is-customized-plan":!!t.pricingPlanVersion.copied_from_pricing_plan_version_id,class:"flex flex-col","is-controlled":t.isControlled,"show-addon-chip":!1,"is-enabled":t.isEnabled,schedule:t.schedule,"credit-types-by-id":h.value},{"pre-header":e.withCtx(()=>[e.createVNode(Zu,{modelValue:u.value,"onUpdate:modelValue":n[0]||(n[0]=e=>u.value=e),options:d.value,name:"pricing-group-single-select",variant:"stepped-ghost",size:"lg",class:"border-b"},null,8,["modelValue","options"])]),"pricing-note":e.withCtx(()=>[e.renderSlot(l.$slots,"pricing-note",e.normalizeProps(e.guardReactiveProps({pricing:p.value})))]),"title-prefix":e.withCtx(()=>[e.renderSlot(l.$slots,"pricing-group-pricing-title-prefix",{pricingGroup:t.pricingGroup,pricing:p.value})]),id:e.withCtx(()=>[e.renderSlot(l.$slots,"pricing-title-suffix",{id:p.value.id})]),right:e.withCtx(()=>[f.value?(e.openBlock(),e.createBlock(o,{key:0,variant:"body-xs",shade:"lighter",class:"mr-4"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(f.value),1)]),_:1})):e.createCommentVNode("",!0),e.renderSlot(l.$slots,"pricing-group-pricing-settings",{pricing:p.value,pricingGroup:t.pricingGroup})]),"pricing-item-header":e.withCtx(({item:t})=>[e.renderSlot(l.$slots,"pricing-item-header",{item:t})]),"pricing-entitlements-settings":e.withCtx(t=>[e.renderSlot(l.$slots,"pricing-entitlements-settings",e.normalizeProps(e.guardReactiveProps(t)))]),"pricing-item-config-settings":e.withCtx(o=>[e.renderSlot(l.$slots,"pricing-item-config-settings",e.mergeProps(o,{pricingGroup:t.pricingGroup}))]),"pricing-item-config-override-tooltip":e.withCtx(t=>[e.renderSlot(l.$slots,"pricing-item-config-override-tooltip",e.normalizeProps(e.guardReactiveProps(t)))]),"pricing-item-config-additions":e.withCtx(t=>[e.renderSlot(l.$slots,"pricing-item-config-additions",e.normalizeProps(e.guardReactiveProps(t)))]),_:3},8,["pricing","pricing-plan-version-id","pricing-plan-id","show-non-billable","is-customized-plan","is-controlled","is-enabled","schedule","credit-types-by-id"])):e.createCommentVNode("",!0)]),_:3},8,["pricing-group","is-enabled"]))}}),uv={key:0,class:"category-heading mb-2 flex items-center gap-2 text-sm print:hidden"},pv={class:"font-bold"},mv={class:"flex flex-col gap-2"},fv={class:"flex flex-col"},hv=h(e.defineComponent({__name:"PricingPlanVersionContent",props:{pricingPlanVersion:{},groupedPricingItemIdsByPricing:{},defaultExpanded:{type:Boolean},showNonBillable:{type:Boolean},expandedPricings:{},enabledPricings:{},isControlled:{type:Boolean},i18n:{},schedule:{},enablePricingGroupSelection:{type:Boolean,default:!1}},emits:["pricing-toggle","pricing-toggled","delete-pricing","update-enabled-pricing"],setup(t){const o=t,l=e.computed(()=>o.i18n??lv),n=e.computed(()=>o.enabledPricings??[]),a=e.computed(()=>{var e;return Object.fromEntries(((null==(e=o.pricingPlanVersion)?void 0:e.credit_types)??[]).map(e=>[e.id,e]))}),i=e=>"DEFAULT"===e.product_type||e.pricings.some(e=>n.value.includes(e.id)),r=e=>"DEFAULT"===e.product_type||n.value.includes(e.id);return(o,n)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.renderSlot(o.$slots,"header",{},void 0,!0),!t.pricingPlanVersion||t.pricingPlanVersion.pricing_categories&&0!==t.pricingPlanVersion.pricing_categories.length?t.pricingPlanVersion?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:1},e.renderList(t.pricingPlanVersion.pricing_categories??[],(c,s)=>{var d,u;return e.openBlock(),e.createElementBlock("div",{key:c.product_category_id,class:e.normalizeClass({"mt-6":s>0})},[(null==(d=c.product_category)?void 0:d.name)?(e.openBlock(),e.createElementBlock("h2",uv,[e.createElementVNode("span",pv,e.toDisplayString(null==(u=c.product_category)?void 0:u.name),1),e.createElementVNode("div",null,[e.createVNode(Qn,{size:"sm",color:"dark",class:"rounded-2xl font-semibold uppercase text-gray-600"},{default:e.withCtx(()=>{var t,o;return[e.createTextVNode(e.toDisplayString(l.value.productsCount(((null==(t=c.pricing_groups)?void 0:t.length)??0)+((null==(o=c.pricings)?void 0:o.length)??0))),1)]}),_:2},1024)])])):e.createCommentVNode("",!0),e.createElementVNode("div",mv,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(c.pricing_groups,c=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:c.id},[t.enablePricingGroupSelection&&"EXACTLY_ONE"===c.selection_constraint&&c.pricings.length>=7?(e.openBlock(),e.createBlock(dv,{key:0,"pricing-group":c,"pricing-plan-version":t.pricingPlanVersion,"is-enabled":i(c),i18n:l.value,schedule:t.schedule,"show-non-billable":t.showNonBillable,"is-controlled":t.isControlled,onUpdateEnabledPricing:n[0]||(n[0]=(e,t)=>o.$emit("update-enabled-pricing",e,t))},{id:e.withCtx(()=>[e.renderSlot(o.$slots,"id",{id:c.id},void 0,!0)]),"pricing-group-settings":e.withCtx(()=>[e.renderSlot(o.$slots,"pricing-group-settings",{pricingGroup:c},void 0,!0)]),_:2},1032,["pricing-group","pricing-plan-version","is-enabled","i18n","schedule","show-non-billable","is-controlled"])):(e.openBlock(),e.createBlock(e.unref(sv),{key:1,"pricing-group":c,"is-enabled":i(c),i18n:l.value},{id:e.withCtx(()=>[e.renderSlot(o.$slots,"id",{id:c.id},void 0,!0)]),settings:e.withCtx(()=>[e.renderSlot(o.$slots,"pricing-group-settings",{pricingGroup:c},void 0,!0)]),pricings:e.withCtx(()=>[e.createElementVNode("div",fv,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(c.pricings,i=>{var s,d;return e.openBlock(),e.createBlock(e.unref(rv),{key:i.id,"default-expanded":!0===t.defaultExpanded||(null==(s=t.expandedPricings)?void 0:s.includes(i.id)),pricing:i,"pricing-plan-version-id":t.pricingPlanVersion.id,"pricing-plan-id":t.pricingPlanVersion.pricing_plan_id,"show-non-billable":t.showNonBillable,"is-customized-plan":!!t.pricingPlanVersion.copied_from_pricing_plan_version_id,"grouped-pricing-item-ids":null==(d=t.groupedPricingItemIdsByPricing)?void 0:d[i.id],class:"flex flex-col","is-controlled":t.isControlled,i18n:l.value,"show-addon-chip":!1,"is-enabled":r(i),"credit-types-by-id":a.value,onPricingToggled:e=>o.$emit("pricing-toggled",i.id,e),onPricingToggle:n[1]||(n[1]=e=>o.$emit("pricing-toggle",e))},{"pricing-note":e.withCtx(()=>[e.renderSlot(o.$slots,"pricing-note",e.mergeProps({ref_for:!0},{pricing:i}),void 0,!0)]),"title-prefix":e.withCtx(()=>[e.renderSlot(o.$slots,"pricing-group-pricing-title-prefix",{pricingGroup:c,pricing:i},void 0,!0)]),id:e.withCtx(()=>[e.renderSlot(o.$slots,"pricing-title-suffix",{id:i.id},void 0,!0)]),right:e.withCtx(()=>[e.renderSlot(o.$slots,"pricing-group-pricing-settings",{pricing:i,pricingGroup:c},void 0,!0)]),"pricing-item-header":e.withCtx(({item:t})=>[e.renderSlot(o.$slots,"pricing-item-header",{item:t},void 0,!0)]),"pricing-entitlements-settings":e.withCtx(t=>[e.renderSlot(o.$slots,"pricing-entitlements-settings",e.mergeProps({ref_for:!0},t),void 0,!0)]),"pricing-item-config-settings":e.withCtx(t=>[e.renderSlot(o.$slots,"pricing-item-config-settings",e.mergeProps({ref_for:!0},t,{pricingGroup:c}),void 0,!0)]),"pricing-item-config-override-tooltip":e.withCtx(t=>[e.renderSlot(o.$slots,"pricing-item-config-override-tooltip",e.mergeProps({ref_for:!0},t),void 0,!0)]),"pricing-item-config-additions":e.withCtx(t=>[e.renderSlot(o.$slots,"pricing-item-config-additions",e.mergeProps({ref_for:!0},t),void 0,!0)]),"pricing-item-config-price-line-additions":e.withCtx(t=>[e.renderSlot(o.$slots,"pricing-item-config-price-line-additions",e.mergeProps({ref_for:!0},t),void 0,!0)]),_:2},1032,["default-expanded","pricing","pricing-plan-version-id","pricing-plan-id","show-non-billable","is-customized-plan","grouped-pricing-item-ids","is-controlled","i18n","is-enabled","credit-types-by-id","onPricingToggled"])}),128))])]),_:2},1032,["pricing-group","is-enabled","i18n"]))],64))),128)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(c.pricings,i=>{var c,s;return e.openBlock(),e.createBlock(e.unref(rv),{key:i.id,"default-expanded":!0===t.defaultExpanded||(null==(c=t.expandedPricings)?void 0:c.includes(i.id)),pricing:i,"pricing-plan-version-id":t.pricingPlanVersion.id,"pricing-plan-id":t.pricingPlanVersion.pricing_plan_id,"grouped-pricing-item-ids":null==(s=t.groupedPricingItemIdsByPricing)?void 0:s[i.id],"show-non-billable":t.showNonBillable,"is-customized-plan":!!t.pricingPlanVersion.copied_from_pricing_plan_version_id,class:"flex flex-col","is-controlled":t.isControlled,i18n:l.value,"is-enabled":r(i),"credit-types-by-id":a.value,schedule:t.schedule,onPricingToggled:e=>o.$emit("pricing-toggled",i.id,e),onPricingToggle:n[2]||(n[2]=e=>o.$emit("pricing-toggle",e))},{id:e.withCtx(()=>[e.renderSlot(o.$slots,"pricing-title-suffix",{id:i.id},void 0,!0)]),right:e.withCtx(()=>[e.renderSlot(o.$slots,"pricing-settings",{pricing:i},void 0,!0)]),"pricing-note":e.withCtx(()=>[e.renderSlot(o.$slots,"pricing-note",e.mergeProps({ref_for:!0},{pricing:i}),void 0,!0)]),"pricing-item-header":e.withCtx(({item:t})=>[e.renderSlot(o.$slots,"pricing-item-header",{item:t},void 0,!0)]),"pricing-entitlements-settings":e.withCtx(t=>[e.renderSlot(o.$slots,"pricing-entitlements-settings",e.mergeProps({ref_for:!0},t),void 0,!0)]),"pricing-item-config-settings":e.withCtx(t=>[e.renderSlot(o.$slots,"pricing-item-config-settings",e.mergeProps({ref_for:!0},t,{pricingGroup:void 0}),void 0,!0)]),"pricing-item-config-override-tooltip":e.withCtx(t=>[e.renderSlot(o.$slots,"pricing-item-config-override-tooltip",e.mergeProps({ref_for:!0},t),void 0,!0)]),"pricing-item-config-additions":e.withCtx(t=>[e.renderSlot(o.$slots,"pricing-item-config-additions",e.mergeProps({ref_for:!0},t),void 0,!0)]),"pricing-item-config-price-line-additions":e.withCtx(t=>[e.renderSlot(o.$slots,"pricing-item-config-price-line-additions",e.mergeProps({ref_for:!0},t),void 0,!0)]),_:2},1032,["default-expanded","pricing","pricing-plan-version-id","pricing-plan-id","grouped-pricing-item-ids","show-non-billable","is-customized-plan","is-controlled","i18n","is-enabled","credit-types-by-id","schedule","onPricingToggled"])}),128))])],2)}),128)):e.createCommentVNode("",!0):e.renderSlot(o.$slots,"empty-state",{key:0},void 0,!0)],64))}}),[["__scopeId","data-v-2ac99a3d"]]),vv={class:"flex items-center gap-2"},gv={key:0,class:"mb-8 flex items-center gap-2 print:hidden"},yv={class:"text-base font-semibold"},bv={key:1,class:"transition-opacity-300"},xv=h(e.defineComponent({__name:"PricingPlanSchedules",props:{schedules:{},isEditable:{type:Boolean},openScheduleId:{},i18n:{},displayDisabledAddonPricings:{type:Boolean,default:!1},isExpandedByDefault:{type:Boolean},timezone:{},cancellationDate:{},enablePricingGroupSelection:{type:Boolean,default:!1}},emits:["add-schedule","toggle-schedule"],setup(t,{emit:l}){var n;const a=t,i=l,r=e.computed(()=>a.i18n??nv),{formatDate:c}=Gn(),{getIsOpen:s,toggle:d}=fa({closeOthers:!0,initialToggledItems:[null==(n=a.schedules[0])?void 0:n.schedule.id]}),u=e.ref(null);Ua(u,".collapsible-card-print-wrapper",{companionSelector:".category-heading",expandSelectors:[".collapsible-list-item-content",".collapsible-card-print-content"],protectedTopSelectors:[".card-header-print-root",".section-label",".pricing-item-block"]});const p=e.computed(()=>a.schedules.map((e,t)=>({...e,inferredPricingPlanVersion:e.selectedPricingPlanVersion&&Ja(e.selectedPricingPlanVersion,e.schedule,{displayDisabledAddonPricings:a.displayDisabledAddonPricings}),scheduleNumber:t+1,cancelled:!1}))),m=e.computed(()=>{let e=[...p.value.map((e,t)=>({...e,inferredPricingPlanVersion:e.selectedPricingPlanVersion&&Ja(e.selectedPricingPlanVersion,e.schedule,{displayDisabledAddonPricings:a.displayDisabledAddonPricings}),scheduleNumber:t+1}))];if(a.cancellationDate){let t=0;const o={cancellationDate:a.cancellationDate},l=e.findLastIndex(e=>ev(e)&&(e.schedule.start_at??"")<(a.cancellationDate??""));if(-1===l)e=[o,...e];else{const n=e[l];t=ev(n)&&(n.schedule.end_at??"")>=(a.cancellationDate??"")?l:l+1,t===a.schedules.length+1?e=[...e,o]:e.splice(t,0,o)}return e.map((e,o)=>ev(e)?{...e,cancelled:o>t}:e)}return e}),f=e=>{if(e.inferredPricingPlanVersion)return((e,t,o)=>{var l;return{...e,pricing_categories:null==(l=e.pricing_categories)?void 0:l.map(e=>{var l,n;return{...e,pricings:null==(l=e.pricings)?void 0:l.map(e=>({...e,items:zi(e,t,o)})),pricing_groups:null==(n=e.pricing_groups)?void 0:n.map(e=>{var l;return{...e,pricings:null==(l=e.pricings)?void 0:l.map(e=>({...e,items:zi(e,t,o)}))}})}})}})(e.inferredPricingPlanVersion,e.schedule.pricing_currency,e.schedule.billing_period)},h=e=>e.inferredPricingPlanVersion?((e,t)=>{const o=[],l=e=>{for(const l of e??[]){const e=(l.items??[]).filter(e=>Si(e,t)).map(e=>e.id);o.push([l.id,e])}};for(const n of e.pricing_categories??[]){l(n.pricings);for(const e of n.pricing_groups??[])l(e.pricings)}return Object.fromEntries(o)})(e.inferredPricingPlanVersion,e.schedule.pricing_currency):{},v=e.computed(()=>void 0===a.openScheduleId);return(l,n)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"containerRef",ref:u},[e.createVNode(Fc,e.mergeProps(l.$attrs,{"has-add-button":t.isEditable,onAdd:n[0]||(n[0]=e=>l.$emit("add-schedule"))}),{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(m.value,(n,u)=>{return e.openBlock(),e.createElementBlock(e.Fragment,{key:u},[e.unref(Jh)(n)?(e.openBlock(),e.createBlock(af,{key:0,"hide-collapse-icon":""},{icon:e.withCtx(()=>[e.createVNode(w,{icon:"cancel",class:"text-red-600"})]),left:e.withCtx(()=>[e.createVNode(o,{variant:"body-sm",weight:"semibold"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(r.value.subscriptionCancelled(t.timezone?e.unref(c)({date:n.cancellationDate,format:"date",offsetType:"offsetted",timezone:t.timezone}):e.unref(c)({date:n.cancellationDate,format:"dateTime",offsetType:"local"}))),1)]),_:2},1024)]),_:2},1024)):e.createCommentVNode("",!0),e.unref(ev)(n)?(e.openBlock(),e.createBlock(af,{key:1,"item-number":n.scheduleNumber,"is-open":(m=n.schedule,v.value?s(m.id):a.openScheduleId===m.id),"has-continued-preline":!!t.isEditable||n.scheduleNumber-1!=p.value.length-1,class:e.normalizeClass({"opacity-60":n.cancelled}),onToggle:e=>(e=>{v.value?d(e.id):i("toggle-schedule",e.id)})(n.schedule)},{left:e.withCtx(()=>[e.createElementVNode("div",vv,[e.createVNode(o,{tag:"h3",weight:"semibold",class:"print:text-sm"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(r.value.scheduleNumber(n.scheduleNumber)),1)]),_:2},1024),"TRIAL"===n.schedule.type&&n.schedule.start_at&&n.schedule.end_at?(e.openBlock(),e.createBlock(Hm,{key:0,"trial-period":e.unref(Ei)(new Date(n.schedule.start_at),new Date(n.schedule.end_at))},null,8,["trial-period"])):e.createCommentVNode("",!0),e.renderSlot(l.$slots,"id",{id:n.schedule.id},void 0,!0)])]),right:e.withCtx(()=>[e.renderSlot(l.$slots,"schedule-right",{item:n,itemIndex:n.scheduleNumber-1},()=>[t.timezone?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createVNode(o,{variant:"body-xs",class:"print:hidden"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(n.schedule.start_at?e.unref(c)({date:n.schedule.start_at,format:"dateTime",offsetType:"offsetted",timezone:t.timezone}):r.value.startOfSchedule)+" - "+e.toDisplayString(n.schedule.end_at?e.unref(c)({date:n.schedule.end_at,format:"dateTime",offsetType:"offsetted",timezone:t.timezone}):r.value.endOfSchedule),1)]),_:2},1024),e.createVNode(o,{variant:"body-xs",class:"hidden print:block"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(n.schedule.start_at?e.unref(c)({date:n.schedule.start_at,format:"date",offsetType:"offsetted",timezone:t.timezone}):r.value.startOfSchedule)+" - "+e.toDisplayString(n.schedule.end_at?e.unref(c)({date:n.schedule.end_at,format:"date",offsetType:"offsetted",timezone:t.timezone}):r.value.endOfSchedule),1)]),_:2},1024)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createVNode(o,{variant:"body-xs",class:"print:hidden"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(n.schedule.start_at?e.unref(c)({date:n.schedule.start_at,format:"dateTime",offsetType:"local"}):r.value.startOfSchedule)+" - "+e.toDisplayString(n.schedule.end_at?e.unref(c)({date:n.schedule.end_at,format:"dateTime",offsetType:"local"}):r.value.endOfSchedule),1)]),_:2},1024),e.createVNode(o,{variant:"body-xs",class:"hidden print:block"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(n.schedule.start_at?e.unref(c)({date:n.schedule.start_at,format:"date",offsetType:"local"}):r.value.startOfSchedule)+" - "+e.toDisplayString(n.schedule.end_at?e.unref(c)({date:n.schedule.end_at,format:"date",offsetType:"local"}):r.value.endOfSchedule),1)]),_:2},1024)],64))],!0)]),default:e.withCtx(()=>[e.renderSlot(l.$slots,"schedule",{item:n,previousItem:p.value.find(e=>e.scheduleNumber===n.scheduleNumber-1),nextItem:p.value.find(e=>e.scheduleNumber===n.scheduleNumber+1),timezone:t.timezone},()=>[n.selectedPricingPlan?(e.openBlock(),e.createElementBlock("div",gv,[e.createVNode(uc,{initials:n.selectedPricingPlan.name[0],"color-hash":n.selectedPricingPlan.id,size:"lg",class:"print:hidden"},null,8,["initials","color-hash"]),e.createElementVNode("h2",yv,e.toDisplayString(n.selectedPricingPlan.name),1),e.createVNode(Qn,{color:"teal"},{default:e.withCtx(()=>{var t;return[e.createTextVNode(e.toDisplayString(r.value.versionNumber((null==(t=n.inferredPricingPlanVersion)?void 0:t.version)??1)),1)]}),_:2},1024)])):e.createCommentVNode("",!0),n.inferredPricingPlanVersion?(e.openBlock(),e.createElementBlock("div",bv,[e.createVNode(hv,{"pricing-plan-version":f(n)??n.inferredPricingPlanVersion,"grouped-pricing-item-ids-by-pricing":h(n),"enabled-pricings":e.unref(Wa)(n.schedule),"default-expanded":t.isExpandedByDefault,i18n:r.value,"enable-pricing-group-selection":t.enablePricingGroupSelection,"show-non-billable":""},{"pricing-item-config-additions":e.withCtx(({config:t})=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList([e.unref(yi)(n.schedule,t)],(t,o)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[t?(e.openBlock(),e.createBlock(km,{key:o,markup:t,i18n:r.value},null,8,["markup","i18n"])):e.createCommentVNode("",!0)],64))),256)),e.renderSlot(l.$slots,"pricing-item-config-additions",{config:t,item:n,pricingPlanVersion:n.inferredPricingPlanVersion},void 0,!0)]),_:2},1032,["pricing-plan-version","grouped-pricing-item-ids-by-pricing","enabled-pricings","default-expanded","i18n","enable-pricing-group-selection"])])):e.createCommentVNode("",!0),n.schedule.discount?(e.openBlock(),e.createBlock(um,{key:2,discount:n.schedule.discount,"read-only":"","pricing-plan-version":n.inferredPricingPlanVersion,timezone:t.timezone,i18n:{...r.value,title:r.value.discountsTitle,orderOfApplicationExplanation:r.value.discountsOrderOfApplicationExplanation}},null,8,["discount","pricing-plan-version","timezone","i18n"])):e.createCommentVNode("",!0),n.schedule.markup?(e.openBlock(),e.createBlock(ym,{key:3,markup:n.schedule.markup,"pricing-plan-version":n.inferredPricingPlanVersion,timezone:t.timezone,i18n:{...r.value,title:r.value.markupsTitle,orderOfApplicationExplanation:r.value.markupsOrderOfApplicationExplanation}},null,8,["markup","pricing-plan-version","timezone","i18n"])):e.createCommentVNode("",!0),n.schedule&&n.schedule.commitment?(e.openBlock(),e.createBlock(tm,{key:4,class:"mt-2",commitment:n.schedule.commitment,"read-only":"","pricing-plan-version":n.inferredPricingPlanVersion,timezone:t.timezone,i18n:{...r.value,title:r.value.commitmentsTitle,orderOfApplicationExplanation:r.value.commitmentsOrderOfApplicationExplanation}},null,8,["commitment","pricing-plan-version","timezone","i18n"])):e.createCommentVNode("",!0)],!0)]),_:2},1032,["item-number","is-open","has-continued-preline","class","onToggle"])):e.createCommentVNode("",!0)],64);var m}),128))]),_:3},16,["has-add-button"])],512))}}),[["__scopeId","data-v-82e565eb"]]);const kv=h({},[["render",function(t,o){return e.openBlock(),e.createElementBlock("tbody",null,[e.renderSlot(t.$slots,"default")])}]]),_v={class:"bg-white"};const wv=h({},[["render",function(t,o){return e.openBlock(),e.createElementBlock("thead",_v,[e.renderSlot(t.$slots,"default")])}]]),Bv={class:"bg-white"};const Cv=h({},[["render",function(t,o){return e.openBlock(),e.createElementBlock("tr",Bv,[e.renderSlot(t.$slots,"default")])}]]);function Ev(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);t&&(l=l.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),o.push.apply(o,l)}return o}function Nv(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Ev(Object(o),!0).forEach(function(t){Tv(e,t,o[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Ev(Object(o)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))})}return e}function Tv(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function Mv(e){return"function"==typeof e}function Vv(e){return null!==e&&"object"==typeof e&&!Array.isArray(e)}function Sv(e){return Mv(e.$validator)?Nv({},e):{$validator:e}}function zv(e){return"object"==typeof e?e.$valid:e}function Pv(e){return e.$validator||e}const qv=t=>{if(t=e.unref(t),Array.isArray(t))return!!t.length;if(null==t)return!1;if(!1===t)return!0;if(t instanceof Date)return!isNaN(t.getTime());if("object"==typeof t){for(let e in t)return!0;return!1}return!!String(t).length};function Dv(){for(var t=arguments.length,o=new Array(t),l=0;l<t;l++)o[l]=arguments[l];return t=>(t=e.unref(t),!qv(t)||o.every(e=>(e.lastIndex=0,e.test(t))))}var Iv=Object.freeze({__proto__:null,forEach:function(t){return{$validator(o){for(var l=arguments.length,n=new Array(l>1?l-1:0),a=1;a<l;a++)n[a-1]=arguments[a];return e.unref(o).reduce((e,o,l)=>{const a=Object.entries(o).reduce((e,a)=>{let[i,r]=a;const c=t[i]||{},s=Object.entries(c).reduce((e,t)=>{let[a,c]=t;const s=Pv(c).call(this,r,o,l,...n),d=zv(s);if(e.$data[a]=s,e.$data.$invalid=!d||!!e.$data.$invalid,e.$data.$error=e.$data.$invalid,!d){let t=c.$message||"";const o=c.$params||{};"function"==typeof t&&(t=t({$pending:!1,$invalid:!d,$params:o,$model:r,$response:s})),e.$errors.push({$property:i,$message:t,$params:o,$response:s,$model:r,$pending:!1,$validator:a})}return{$valid:e.$valid&&d,$data:e.$data,$errors:e.$errors}},{$valid:!0,$data:{},$errors:[]});return e.$data[i]=s.$data,e.$errors[i]=s.$errors,{$valid:e.$valid&&s.$valid,$data:e.$data,$errors:e.$errors}},{$valid:!0,$data:{},$errors:{}});return{$valid:e.$valid&&a.$valid,$data:e.$data.concat(a.$data),$errors:e.$errors.concat(a.$errors)}},{$valid:!0,$data:[],$errors:[]})},$message:e=>{let{$response:t}=e;return t?t.$errors.map(e=>Object.values(e).map(e=>e.map(e=>e.$message)).reduce((e,t)=>e.concat(t),[])):[]}}},len:t=>(t=e.unref(t),Array.isArray(t)?t.length:"object"==typeof t?Object.keys(t).length:String(t).length),normalizeValidatorObject:Sv,regex:Dv,req:qv,unwrap:e.unref,unwrapNormalizedValidator:Pv,unwrapValidatorResponse:zv,withAsync:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return Nv(Nv({},Sv(e)),{},{$async:!0,$watchTargets:t})},withMessage:function(t,o){if(!Mv(t)&&"string"!=typeof e.unref(t))throw new Error('[@vuelidate/validators]: First parameter to "withMessage" should be string or a function returning a string, provided '+typeof t);if(!Vv(o)&&!Mv(o))throw new Error("[@vuelidate/validators]: Validator must be a function or object with $validator parameter");const l=Sv(o);return l.$message=t,l},withParams:function(e,t){if(!Vv(e))throw new Error('[@vuelidate/validators]: First parameter to "withParams" should be an object, provided '+typeof e);if(!Vv(t)&&!Mv(t))throw new Error("[@vuelidate/validators]: Validator must be a function or object with $validator parameter");const o=Sv(t);return o.$params=Nv(Nv({},o.$params||{}),e),o}});Dv(/^[a-zA-Z]*$/),Dv(/^[a-zA-Z0-9]*$/),Dv(/^\d*(\.\d+)?$/);Dv(/^(?:[A-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[A-z0-9!#$%&'*+/=?^_`{|}~-]+)*|"(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21\x23-\x5b\x5d-\x7f]|[\x01-\x09\x0b\x0c\x0e-\x7f])*")@(?:(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9]{2,}(?:[a-z0-9-]*[a-z0-9])?|\[(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?|[a-z0-9-]*[a-z0-9]:(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21-\x5a\x53-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])+)\])$/i);Dv(/^(?:(?:(?:https?|ftp):)?\/\/)(?:\S+(?::\S*)?@)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z0-9\u00a1-\uffff][a-z0-9\u00a1-\uffff_-]{0,62})?[a-z0-9\u00a1-\uffff]\.)+(?:[a-z\u00a1-\uffff]{2,}\.?))(?::\d{2,5})?(?:[/?#]\S*)?$/i),Dv(/(^[0-9]*$)|(^-[0-9]+$)/),Dv(/^[-]?\d*(\.\d+)?$/);const $v={AT:{regex:/^ATU\d{8}$/,prefix:"AT",example:"ATU12345678"},BE:{regex:/^BE0?\d{9}$/,prefix:"BE",example:"BE0123456789"},BG:{regex:/^BG\d{9,10}$/,prefix:"BG",example:"BG123456789"},HR:{regex:/^HR\d{11}$/,prefix:"HR",example:"HR12345678901"},CY:{regex:/^CY\d{8}[A-Z]$/,prefix:"CY",example:"CY12345678X"},CZ:{regex:/^CZ\d{8,10}$/,prefix:"CZ",example:"CZ12345678"},DE:{regex:/^DE\d{9}$/,prefix:"DE",example:"DE123456789"},DK:{regex:/^DK\d{8}$/,prefix:"DK",example:"DK12345678"},EE:{regex:/^EE\d{9}$/,prefix:"EE",example:"EE123456789"},GR:{regex:/^(EL|GR)\d{9}$/,prefix:"GR",example:"GR123456789"},ES:{regex:/^ES[A-Z0-9]\d{7}[A-Z0-9]$/,prefix:"ES",example:"ESX1234567X"},FI:{regex:/^FI\d{8}$/,prefix:"FI",example:"FI12345678"},FR:{regex:/^FR[0-9A-Z]{2}\d{9}$/,prefix:"FR",example:"FRXX123456789"},HU:{regex:/^HU\d{8}$/,prefix:"HU",example:"HU12345678"},IE:{regex:/^IE[0-9A-Z]{8,9}$/,prefix:"IE",example:"IE1234567A"},IS:{regex:/^IS\d{5}$/,prefix:"IS",example:"IS12345"},IT:{regex:/^IT\d{11}$/,prefix:"IT",example:"IT12345678901"},LT:{regex:/^LT(\d{9}|\d{12})$/,prefix:"LT",example:"LT123456789 or LT123456789012"},LU:{regex:/^LU\d{8}$/,prefix:"LU",example:"LU12345678"},LV:{regex:/^LV\d{11}$/,prefix:"LV",example:"LV12345678901"},ME:{regex:/^ME\d{9}$/,prefix:"ME",example:"ME123456789"},MT:{regex:/^MT\d{8}$/,prefix:"MT",example:"MT12345678"},NL:{regex:/^NL\d{9}B\d{2}$/,prefix:"NL",example:"NL123456789B01"},PL:{regex:/^PL\d{10}$/,prefix:"PL",example:"PL1234567890"},PT:{regex:/^PT\d{9}$/,prefix:"PT",example:"PT123456789"},RO:{regex:/^RO\d{2,10}$/,prefix:"RO",example:"RO1234567890"},RU:{regex:/^RU(\d{9}|\d{10}|\d{12})$/,prefix:"RU",example:"RU123456789 or RU1234567890 or RU123456789012"},SE:{regex:/^SE\d{10}01$/,prefix:"SE",example:"SE123456789001"},SI:{regex:/^SI\d{8}$/,prefix:"SI",example:"SI12345678"},SK:{regex:/^SK\d{10}$/,prefix:"SK",example:"SK1234567890"},CH:{regex:/^CHE\d{9}(MWST|TVA|IVA)?$/,prefix:"CHE",example:"CHE123456789MWST"},NO:{regex:/^NO\d{9}MVA$/,prefix:"NO",example:"NO123456789MVA"},GB:{regex:/^GB(\d{9}|\d{12}|GD\d{3}|HA\d{3})$/,prefix:"GB",example:"GB123456789"},XI:{regex:/^XI(\d{9}|\d{12})$/,prefix:"XI",example:"XI123456789"}},Ov=Iv.withMessage(({$model:t})=>{if(!t||"string"!=typeof t||""===t.trim())return"";const o=e.inject(Zn,null);if(!o)return"Invalid tax ID";const{formatMessage:l}=o,n=Object.values($v).find(e=>t.toUpperCase().startsWith(e.prefix.toUpperCase()));return n?l({defaultMessage:"Invalid tax ID format. Example: {example}",id:"form_validation.tax_id.invalid_format",description:"Error message when tax ID format is invalid but prefix matches"},{example:n.example}):l({defaultMessage:"Invalid tax ID",id:"taxId.invalid",description:"Error message when tax ID is invalid"})},e=>!e||"string"!=typeof e||""===e.trim()||Object.values($v).some(t=>t.regex.test(e))),Hv="Confirm",Av="units",Lv="unit",Zv="expires after {period}",Rv="{pricing} per {billing_period}",Fv="Updated at {date}",Uv={"3yk8fB":"Wallet","47FYwb":"Cancel",N2IrpM:Hv,"PW+sL4":"N/A",Vl9vDx:Av,"customer_billing_information.billing_address_label":"Billing address","customer_billing_information.email_address_label":"Email address","customer_billing_information.name_label":"Name","customer_billing_information.title":"Billing information","customer_billing_information.vat_number_label":"VAT number","customer_overview.billing_information.no_billing_information_available":"No billing information to display.","download_button.download_failed_message":"Download failed, please try again later","editor.placeholder":"Enter text or type ‘/’ for commands","editorComponent.entityDetailsFallbackTitles.customerTitle":"Customer details","editorComponent.entityDetailsFallbackTitles.supplierTitle":"Supplier details","editorComponent.slashCommands.addCustomerDetailsDescription":"Insert customer details block","editorComponent.slashCommands.addCustomerDetailsTitle":"Add Customer Details","editorComponent.slashCommands.addPartyDetailsDescription":"Insert customer and supplier details in one row","editorComponent.slashCommands.addPartyDetailsTitle":"Add Party Details","editorComponent.slashCommands.addInvoicePreviewDescription":"Insert an invoice preview snapshot","editorComponent.slashCommands.addInvoicePreviewTitle":"Add Invoice Preview","editorComponent.slashCommands.addSupplierDetailsDescription":"Insert supplier details block","editorComponent.slashCommands.addSupplierDetailsTitle":"Add Supplier Details","editorComponent.slashCommands.customerFallbackTitle":"Customer details","editorComponent.slashCommands.dividerDescription":"Insert a horizontal rule","editorComponent.slashCommands.dividerTitle":"Divider","editorComponent.slashCommands.headingDescription":"Start writing with heading.","editorComponent.slashCommands.headingTitle":"Heading","editorComponent.slashCommands.supplierFallbackTitle":"Supplier details","editorComponent.slashCommands.textDescription":"Start writing with plain text","editorComponent.slashCommands.textTitle":"Text","error_notification.default_error_message":"Something went wrong","form_validation.tax_id.invalid_format":"Invalid tax ID format. Example: {example}","generic.not_available":"N/A","invoicePreviewCard.title":"Invoice preview","invoicePreviewCard.totalExcludingTaxes":"Total excluding taxes","invoicePreviewCard.taxes":"Taxes","invoicePreviewCard.totalIncludingTaxes":"Total including taxes","invoice.add_invoice_line":"Add invoice line","invoice.adjustment_chip_body":"Adjustment","invoice.already_deducted_table_heading":"Already deducted","invoice.amount_discount":"{amount} discount","invoice.amount_due_table_heading":"Amount due","invoice.amount_table_heading":"Amount","invoice.commitment":"commitment","invoice.commitment_heading":"Commitment","invoice.discounts_table_heading":"Discounts","invoice.download_pdf_button":"Download PDF","invoice.due_on_label":"Due on {date}","invoice.line.band_maximum_number":"Maximum number","invoice.line.band_minimum_amount":"Band minimum amount","invoice.line.band_minimum_number":"Minimum number","invoice.line.excl.tax":"Excl. tax","invoice.line.incl.tax":"Incl. tax","invoice.line.included":"included","invoice.line.original_currency":"Original currency","invoice.line.pass_through":"Pass through","invoice.line.price_bound_maximum_amount":"Maximum amount","invoice.line.price_bound_within_bounds":"Within bounds","invoice.line.units_included":"units included","invoice.markup_percentage":"{percentage}% markup","invoice.markups_table_heading":"Markups","invoice.paid_chip":"Paid","invoice.paid_on_label":"Paid on {date}","invoice.percentage_discount":"{percentage}% discount","invoice.service_period_heading":"Service period - {start_at} - {end_at}","invoice.table_header.base amount":"Base amount","invoice.table_header.discount":"Discount","invoice.table_header.markup":"Markup","invoice.table_header.price":"Price","invoice.table_header.quantity":"Quantity","invoice.table_header.sub_total":"Subtotal","invoice.table_header.tax amount":"Tax amount","invoice.table_header.tax type":"Tax type","invoice.table_header.tax_percentage":"Percentage","invoice.table_header.tax_rate":"Tax rate","invoice.table_header.total":"Total","invoice.table_header.total_excluding_taxes":"Total excluding taxes","invoice.table_header.total_including_taxes":"Total including taxes","invoice.table_header.total_including_taxes_customer_facing":"Total due today","invoice.table_header.unit":"Unit","invoice.table_heading.commitments":"Commitments","invoice.table_heading.discounts":"Discounts","invoice.table_heading.markups":"Markups","invoice.table_heading.one_offs":"One-off's","invoice.table_heading.products":"Products","invoice.tax_notes.local_vat_applied_for_missing_tax_id":"Local VAT applied instead of reverse charge mechanism because customer VAT number is missing and this is an intra-EU sale","invoice.tax_notes.no_charge_provided_outside_eu":"No VAT charged – services provided outside the EU","invoice.tax_notes.not_applicable_article":"TVA non applicable – Article 294, 1 du CGI","invoice.tax_notes.reverse_charge":"Reverse charge - Art 196 of the VAT Directive 2006/ 112/EC","invoice.tax_notes.reverse_charge_outside_eu":"No VAT – Service supplied outside the EU (Art. 44 EU VAT Directive)","invoice.tax_notes.reverse_charge_tax_registration":"[1] - Reverse charge","invoice.tax_notes.reverse_charge_tax_registration_outside_eu":"Out of scope for EU VAT","invoice.taxes_table_heading":"Taxes","invoice.title":"Details","invoice.totals_table_heading":"Totals","invoice_preview.after_trial_heading":"After trial","invoice_preview.taxes_heading":"Taxes","invoice_preview.taxes_not_determined_by_billing_information_tooltip":"Will be determined by billing information","invoice_preview.total_due_today_heading":"Total due today","invoice_preview.total_excluding_taxes_heading":"Total excluding taxes","invoice_preview.total_including_taxes_heading":"Total including taxes","invoice_preview.total_paid_heading":"Total paid",lWOCGz:Lv,pH6Zg0:Zv,"payment_methods.default_chip.label":"Default","payment_methods.inactive_chip.label":"Inactive","pricing_detail.billing_cycle":"Billing cycle",pricing_item_pricing:Rv,"pricing_item_pricing.flat_top_up":"Flat top up pricing","pricing_item_pricing.none":"Not billed","pricing_item_pricing.pass_through":"Pass through pricing","pricing_item_pricing.per_seat":"Per seat","pricing_item_pricing.stair_step":"Stair step pricing","pricing_item_pricing.tiered":"Tiered pricing","pricing_item_pricing.tiered_top_up":"Tiered top up pricing","pricing_item_pricing.top_tiered":"Top tiered pricing","pricing_item_pricing.unsupported_pricing_error":"Unsupported pricing","promotion.code.expiry":"Never expires","quoteBillingDetails.autoRenewalLabel":"Auto renewal","quoteBillingDetails.billingCurrencyLabel":"Billing currency","quoteBillingDetails.billingCycleLabel":"Billing cycle","quoteBillingDetails.billingCycleValue.notAvailable":"N/A","quoteBillingDetails.initialTermLabel":"Initial term","quoteBillingDetails.no":"No","quoteBillingDetails.paymentTermLabel":"Payment term","quoteBillingDetails.renewalTermLabel":"Renewal term","quoteBillingDetails.yes":"Yes","slashCommandList.emptyState":"No matching commands",spcNSp:Fv,"taxId.invalid":"Invalid tax ID","time_period.day.full":"daily","time_period.day.plural":"days","time_period.day.singular":"day","time_period.month.full":"monthly","time_period.month.plural":"months","time_period.month.singular":"month","time_period.week.full":"weekly","time_period.week.plural":"weeks","time_period.week.singular":"week","time_period.year.full":"yearly","time_period.year.plural":"years","time_period.year.singular":"year","timezone_select.option.inherit_from_platform":"Inherit from platform","ui.CalloutRow.moreActions":"More actions","wB/wXs":"credits","wallet_balance.formatted_credit_unit":"{quantity} {unit}"},Gv=Object.freeze(Object.defineProperty({__proto__:null,N2IrpM:Hv,Vl9vDx:Av,default:Uv,lWOCGz:Lv,pH6Zg0:Zv,pricing_item_pricing:Rv,spcNSp:Fv},Symbol.toStringTag,{value:"Module"})),jv=Object.freeze(Object.defineProperty({__proto__:null,default:{"download_button.download_failed_message":"Download mislukt, probeer later nog een keer","customer_billing_information.billing_address_label":"Factuuradres","customer_billing_information.email_address_label":"E-mailadres","customer_billing_information.name_label":"Naam","customer_billing_information.title":"Facturatiegegevens","customer_billing_information.vat_number_label":"Btw-nummer","customer_overview.billing_information.no_billing_information_available":"Geen facturatiegegevens beschikbaar.","generic.not_available":"N/B","invoice.add_invoice_line":"Factuurregel toevoegen","invoice.adjustment_chip_body":"Aanpassing","invoice.already_deducted_table_heading":"Reeds afgetrokken","invoice.amount_discount":"{amount} korting","invoice.amount_due_table_heading":"Te betalen bedrag","invoice.amount_table_heading":"Bedrag","invoice.commitment_heading":"Verplichting","invoice.commitment":"verplichting","invoice.discounts_table_heading":"Kortingen","invoice.download_pdf_button":"PDF downloaden","invoice.due_on_label":"Vervaldatum {date}","invoice.header.customer_title":"Klant","invoice.header.due_date_title":"Vervaldatum","invoice.header.e_invoice_error":"E-factuur fout","invoice.header.e_invoice_status_title":"E-factuur status","invoice.header.invoice_date_title":"Factuurdatum","invoice.header.invoice_number_title":"Factuurnummer","invoice.header.invoice_type_title":"Factuurtype","invoice.header.multiple_subscriptions_chip_body":"Meerdere abonnementen","invoice.header.original_invoice_title":"Originele factuur","invoice.header.po_number_title":"Inkoopordernummer","invoice.header.subscription_title":"Abonnement","invoice.header.supplier_title":"Leverancier","invoice.line.band_maximum_number":"Maximum aantal","invoice.line.band_minimum_amount":"Minimaal bedrag","invoice.line.band_minimum_number":"Minimum aantal","invoice.line.excl.tax":"Excl. belasting","invoice.line.incl.tax":"Incl. belasting","invoice.line.original_currency":"Oorspronkelijke valuta","invoice.line.included":"inbegrepen","invoice.line.pass_through":"Doorbelast","invoice.line.price_bound_maximum_amount":"Maximum bedrag","invoice.line.price_bound_within_bounds":"Binnen grenzen","invoice.line.units_included":"inbegrepen eenheden","invoice.markup_percentage":"{percentage}% opslag","invoice.markups_table_heading":"Opslagen","invoice.paid_chip":"Betaald","invoice.percentage_discount":"{percentage}% korting","invoice.service_period_heading":"Diensten over periode - {start_at} - {end_at}","invoice.table_header.base amount":"Basisbedrag","invoice.table_header.discount":"Korting","invoice.table_header.markup":"Opslag","invoice.table_header.price_amount":"Prijsbedrag","invoice.table_header.price":"Prijs","invoice.table_header.quantity":"Aantal","invoice.table_header.sub_total":"Subtotaal","invoice.table_header.tax amount":"Belastingbedrag","invoice.table_header.tax type":"Belastingtype","invoice.table_header.tax_percentage":"Percentage","invoice.table_header.tax_rate":"Belastingtarief","invoice.table_header.total_excluding_taxes":"Totaal exclusief belastingen","invoice.table_header.total_including_taxes":"Totaal inclusief belastingen","invoice.table_header.total":"Totaal","invoice.table_header.unit":"Eenheid","invoice.table_heading.commitments":"Verplichtingen","invoice.table_heading.discounts":"Kortingen","invoice.table_heading.markups":"Opslagen","invoice.table_heading.one_offs":"Eenmalige posten","invoice.table_heading.products":"Producten","invoice.tax_notes.local_vat_applied_for_missing_tax_id":"Lokale btw toegepast in plaats van verleggingsregeling omdat het btw-nummer van de klant ontbreekt en dit een intracommunautaire levering is","invoice.tax_notes.reverse_charge_outside_eu":"Geen BTW – Dienst geleverd buiten de EU (art. 44 EU-btw-richtlijn)","invoice.tax_notes.no_charge_provided_outside_eu":"Geen BTW in rekening gebracht – diensten geleverd buiten de EU","invoice.tax_notes.reverse_charge":"Verleggingsregeling - Art. 196 van de btw-richtlijn 2006/112/EG","invoice.tax_notes.reverse_charge_tax_registration":"[1] - Verleggingsregeling","invoice.tax_notes.reverse_charge_tax_registration_outside_eu":"Buiten het toepassingsgebied van de EU-btw-heffing","invoice.tax_notes.not_applicable_article":"Btw niet van toepassing – Artikel 294, lid 1 van het CGI","invoice.taxes_table_heading":"Belastingen","invoice.title":"Details","invoice.totals_table_heading":"Totalen","pricing_detail.billing_cycle":"Billing cycle"}},Symbol.toStringTag,{value:"Module"}));exports.InvoiceTable=nd,exports.PricingPlanSchedules=xv,exports.TableBody=kv,exports.TableHead=wv,exports.TableHeadRow=Cv,exports.TooltipContent=Gc,exports._sfc_main=i,exports._sfc_main$1=o,exports._sfc_main$10=Tm,exports._sfc_main$11=Pi,exports._sfc_main$12=xs,exports._sfc_main$13=Pu,exports._sfc_main$14=lu,exports._sfc_main$15=Fm,exports._sfc_main$16=Ks,exports._sfc_main$17=du,exports._sfc_main$18=E,exports._sfc_main$19=id,exports._sfc_main$2=Fs,exports._sfc_main$20=ad,exports._sfc_main$21=td,exports._sfc_main$22=Ts,exports._sfc_main$23=$s,exports._sfc_main$24=Im,exports._sfc_main$25=m,exports._sfc_main$26=dc,exports._sfc_main$27=Zc,exports._sfc_main$28=Hm,exports._sfc_main$29=Ic,exports._sfc_main$3=oo,exports._sfc_main$30=au,exports._sfc_main$31=jc,exports._sfc_main$32=uc,exports._sfc_main$33=Np,exports._sfc_main$34=ru,exports._sfc_main$35=Vp,exports._sfc_main$36=op,exports._sfc_main$37=Zu,exports._sfc_main$38=$m,exports._sfc_main$39=Tp,exports._sfc_main$4=Qn,exports._sfc_main$40=Qs,exports._sfc_main$41=od,exports._sfc_main$42=Tc,exports._sfc_main$43=Ys,exports._sfc_main$5=pa,exports._sfc_main$6=w,exports._sfc_main$7=Bm,exports._sfc_main$8=Vm,exports._sfc_main$9=Sm,exports.convertDateRangeToTimePeriod=Ei,exports.downloadFile=(e,t)=>{const o=window.URL.createObjectURL(e);ja(o,t)},exports.enUS=Gv,exports.formatAmount=La,exports.formatBillingPeriod=Ra,exports.formatEnum=Za,exports.getApiError=function(e){return"field"in e?{[e.field]:e.message}:"message"in e?{_generic:e.message}:void 0},exports.getCountryNameByCode=_i,exports.getCustomerCountry=e=>{var t,o;return hi(e)?null==(t=e.individual.residential_address)?void 0:t.country:fi(e)?null==(o=e.organization.registered_address)?void 0:o.country:void 0},exports.getPaginatedFullList=async e=>{let t=!0,o=1,l=[],n={data:[],links:{current:"",next:void 0},page:o,limit:50};for(;t;)n=await e(o),l=[...l,...n.data],t=!!n.links.next,o+=1;return{...n,data:l}},exports.isApiSuccessCollectionResponse=function(e){return"data"in e&&"links"in e},exports.isEUCountry=function(e){return Object.keys(ec).includes(e)},exports.isEmpty=c,exports.isEqual=d,exports.isIndividual=hi,exports.isOrganization=fi,exports.isValidCountryCode=function(e){return!!Ga.find(t=>t.key===e)},exports.nlNL=jv,exports.objectDiff=({from:e,to:t,mode:o="shallow",nullifyEmptyValues:l=!1})=>"deep"===o?(({from:e,to:t,nullifyEmptyValues:o=!1})=>{const l={},n=(e,t,o)=>{const n=t[o];return void 0===e?Array.isArray(n)?l[o]=[]:ki(n)&&(l[o]={}):Array.isArray(n)?e[o]=[]:ki(n)&&(e[o]={}),[void 0===e?l:e,o]},a=(e,t,l)=>{for(const o of Object.keys(e)){const a=n(l,e,o);o in t||(a[0][a[1]]={from:e[o]})}for(const[i,r]of Object.entries(t)){const t=i in e,c=n(l,e,i);if(t){const t=e[i];s(t,r)?delete c[0][c[1]]:ki(r)&&ki(t)?a(t,r,c[0][c[1]]):c[0][c[1]]=o&&"boolean"!=typeof r?xi(r):r}else c[0][c[1]]=o?xi(r):r}};return a(e,t),l})({from:e,to:t,nullifyEmptyValues:l}):(({from:e,to:t,nullifyEmptyValues:o=!1})=>{const l=Object.fromEntries(Object.entries(t).filter(([t,o])=>!s(o,e[t])));return o?Object.entries(l).reduce((e,[t,o])=>({...e,[t]:xi(o)}),{}):l})({from:e,to:t,nullifyEmptyValues:l}),exports.serializeQueryParams=function(e){const t=function(e){const t=new URLSearchParams;for(const o in e){const l=e[o];null!==l&&(Array.isArray(l)?l.forEach(e=>t.append(`${o}[]`,e)):""!==l&&t.append(o,l))}return t.toString()}(e);return""===t?"":`?${t}`},exports.taxId=Ov,exports.uniqueId=oc,exports.useErrorHandling=bo,exports.useIntl=Gn,exports.usePricingItem=Fa,exports.useTimePeriod=Da,exports.useToggleList=fa,exports.useValidation=function(e,t,o){return e&&t?qa(e,t,{$autoDirty:!0,...o}):qa({$autoDirty:!0,...e})},exports.withExpand=function({initialParams:e={},expandParams:t,expand:o=!0}){return o?{...e,expand:t}:e},exports.withPagination=function(e,{page:t=1,pageSize:o,orderBy:l,orderDirection:n}){const a={...e??{},page:t.toString()};return o&&Object.assign(a,{limit:o}),l&&Object.assign(a,{order_by:l}),n&&Object.assign(a,{order_direction:n}),a};
|