straumur-web-component 2.0.0-alpha.7 → 2.0.0-beta.1

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/index.cjs CHANGED
@@ -1,13 +1,18 @@
1
- "use strict";var ct=Object.defineProperty;var Tr=Object.getOwnPropertyDescriptor;var Dr=Object.getOwnPropertyNames;var Br=Object.prototype.hasOwnProperty;var zr=(e,t)=>{for(var r in t)ct(e,r,{get:t[r],enumerable:!0})},Fr=(e,t,r,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of Dr(t))!Br.call(e,a)&&a!==r&&ct(e,a,{get:()=>t[a],enumerable:!(o=Tr(t,a))||o.enumerable});return e};var Nr=e=>Fr(ct({},"__esModule",{value:!0}),e);var Io={};zr(Io,{StraumurCheckout:()=>Rr});module.exports=Nr(Io);var U=require("preact");function g(e,{insertAt:t}={}){if(!e||typeof document>"u")return;let r=document.head||document.getElementsByTagName("head")[0],o=document.createElement("style");o.type="text/css",t==="top"&&r.firstChild?r.insertBefore(o,r.firstChild):r.appendChild(o),o.styleSheet?o.styleSheet.cssText=e:o.appendChild(document.createTextNode(e))}g(`:root{--straumur__color-primary: #002649;--straumur__color-secondary: #72889d;--straumur__color-secondary-gamma: #eef0f2;--straumur__color-blue-beta: #bce6f3;--straumur__color-blue-gamma: #eff8fa;--straumur__color-neon-green-zeta: #88a64e;--straumur__color-red-beta: #d96666;--straumur__color-red-gamma: #fff8f5;--straumur__color-gray-epsilon: #e7e7e7;--straumur__color-cosmos-blue-delta: #cdd8e2;--straumur__color-cosmos-blue-gamma: #e6ebef;--straumur__color-white: #ffffff;--straumur__color-transparent: transparent;--straumur__color-brand-chip: #ffffff;--straumur__color-text: #00112c;--straumur__color-border: #dbdee2;--straumur__color-warning-text: #775d00;--straumur__color-warning-bg: #fff7db;--straumur__color-danger-text: #d03e00;--straumur__border-radius-xxs: 4px;--straumur__border-radius-xs: 6px;--straumur__border-radius-s: 8px;--straumur__border-radius-md: 10px;--straumur__border-radius-lg: 12px;--straumur__border-radius-xlg: 14px;--straumur__border-radius-xxlg: 16px;--straumur__space-xxs: 4px;--straumur__space-xs: 6px;--straumur__space-s: 8px;--straumur__space-md: 10px;--straumur__space-lg: 12px;--straumur__space-xlg: 14px;--straumur__space-xxlg: 16px;--straumur__space-3xlg: 18px;--straumur__space-4xlg: 20px;--straumur__space-5xlg: 24px;--straumur__space-6xlg: 32px;--straumur__space-7xlg: 40px;--straumur__space-8xlg: 48px;--apple-pay-button-width: 100%;--apple-pay-button-height: 48px;--apple-pay-button-border-radius: var(--straumur__border-radius-lg)}.straumur__root-component{font-family:AkzidenzGroteskPro,sans-serif;color:var(--straumur__color-text);max-width:676px;min-width:320px;container:straumur / inline-size}.straumur__root-component[data-theme=dark]{--straumur__color-primary: #e8edf2;--straumur__color-secondary: #9aa7b5;--straumur__color-secondary-gamma: #2a313b;--straumur__color-blue-beta: #24506b;--straumur__color-blue-gamma: #1b2733;--straumur__color-neon-green-zeta: #9cbf5e;--straumur__color-red-beta: #e08a8a;--straumur__color-red-gamma: #2e2020;--straumur__color-gray-epsilon: #3a424d;--straumur__color-cosmos-blue-delta: #3a424d;--straumur__color-cosmos-blue-gamma: #262d36;--straumur__color-white: #0d0f13;--straumur__color-text: #e8edf2;--straumur__color-border: #3a424d;--straumur__color-warning-text: #e6c766;--straumur__color-warning-bg: #2f2a17;--straumur__color-danger-text: #f0895f}.straumur__component *{font-family:inherit}.straumur__render-brand-icons__overflow{color:var(--straumur__color-secondary)}.straumur__brand-chip{display:inline-flex;background:var(--straumur__color-brand-chip);border:1px solid var(--straumur__color-border);border-radius:var(--straumur__border-radius-xxs);overflow:hidden}.straumur__component{display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;min-height:300px;background-color:var(--straumur__color-white);border-radius:var(--straumur__border-radius-xxlg)}.js-iframe{border:none;color-scheme:auto;height:100%;overflow:hidden;width:100%}.adyen-checkout__threeds2__challenge.adyen-checkout__threeds2__challenge--05{background-color:transparent;display:block;height:inherit;min-height:400px;overflow:hidden;position:relative;width:100%}
2
- `);var Lr=()=>({STAGING_BASE_URL:"https://checkout-api.staging.straumur.is/api/v1/embeddedcheckout",PRODUCTION_BASE_URL:"https://greidslugatt.straumur.is/api/v1/embeddedcheckout",GET_PAYMENT_METHODS_URL:"payment-methods",POST_PAYMENT_URL:"payment",POST_DETAILS_URL:"details",POST_DISABLE_TOKEN_URL:"disable-token"}),de=Lr();function Ae(e){switch(e){case"test":return de.STAGING_BASE_URL;case"live":return de.PRODUCTION_BASE_URL;default:throw new Error(`Unknown environment: ${e}`)}}function xt(e,t){return fetch(`${Ae(e)}/${de.GET_PAYMENT_METHODS_URL}`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(t)})}function wt(e,t){return fetch(`${Ae(e)}/${de.POST_PAYMENT_URL}`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(t)})}function Mt(e,t){return fetch(`${Ae(e)}/${de.POST_DETAILS_URL}`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(t)})}function kt(e,t){return fetch(`${Ae(e)}/${de.POST_DISABLE_TOKEN_URL}`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(t)})}var Re={"en-US":{"cards.title":"Card payment","cards.cardNumber":"Card number","cards.expiryDate":"Expiry date","cards.securityCode3Digits":"Security code","cards.securityCode3DigitsOptional":"Security code (optional)","cards.securityCode3DigitsInfo":"3-digit on the back of the card","cards.securityCode4DigitsInfo":"4-digit on the back of the card","cards.storePaymentMethod":"Store payment information","cards.saveCardDetails":"Save card details","googlePay.title":"Google Pay","applePay.title":"Apple Pay","stored-cards.expiryDate":"Expiry date","stored-cards.securityCode3Digits":"Security code","stored-cards.securityCode3DigitsOptional":"Security code (optional)","stored-cards.securityCode3DigitsInfo":"3-digit on the back of the card","stored-cards.securityCode4DigitsInfo":"4-digit on the back of the card","stored-cards.removeStoredCard":"Remove","stored-cards.removeStoredCardQuestion":"Remove stored payment method?","stored-cards.removeStoredCardQuestionYesRemove":"Yes, remove","stored-cards.removeStoredCardQuestionCancel":"Cancel","stored-cards.saveCardDetails":"Save card details","success.paymentAuthorized":"Payment authorized","error.unknownError":"Unknown error occurred","error.failedToInitializeStraumurWebComponent":"Failed to initialize Straumur Web component","error.failedToInitializePaymentMethods":"Failed to initialize payment methods","error.failedToSubmitPayment":"Failed to submit payment","error.paymentFailed":"Payment failed","error.paymentUnsuccessful":"Payment unsuccessful","error.failedToSubmitPaymentDetails":"Failed to submit payment details","error.paymentDetailsFailed":"Payment details failed","error.googlePayNotAvailable":"Google Pay not available","error.applePayNotAvailable":"Apple Pay not available","error.failedToSubmitRemoveStoredPaymentCard":"Failed to remove stored payment card","error.failedToRemoveStoredPaymentCard":"Stored payment card was not removed"},"is-IS":{"cards.title":"Grei\xF0a me\xF0 korti","cards.cardNumber":"Kortan\xFAmer","cards.expiryDate":"Gildisdagur","cards.securityCode3Digits":"\xD6ryggisk\xF3\xF0i","cards.securityCode3DigitsOptional":"\xD6ryggisk\xF3\xF0i (valkv\xE6tt)","cards.securityCode3DigitsInfo":"3 t\xF6lustafir aftan \xE1 kortinu","cards.securityCode4DigitsInfo":"4 t\xF6lustafir aftan \xE1 kortinu","cards.storePaymentMethod":"Vista grei\xF0sluuppl\xFDsingar","cards.saveCardDetails":"Vista kortauppl\xFDsingar","googlePay.title":"Google Pay","applePay.title":"Apple Pay","stored-cards.expiryDate":"Gildisdagur","stored-cards.securityCode3Digits":"\xD6ryggisk\xF3\xF0i","stored-cards.securityCode3DigitsOptional":"\xD6ryggisk\xF3\xF0i (valkv\xE6tt)","stored-cards.securityCode3DigitsInfo":"3 t\xF6lustafir aftan \xE1 kortinu","stored-cards.securityCode4DigitsInfo":"4 t\xF6lustafir aftan \xE1 kortinu","stored-cards.removeStoredCard":"Fjarl\xE6gja","stored-cards.removeStoredCardQuestion":"Fjarl\xE6gja geymdan grei\xF0slum\xE1ta?","stored-cards.removeStoredCardQuestionYesRemove":"J\xE1, fjarl\xE6gja","stored-cards.removeStoredCardQuestionCancel":"H\xE6tta vi\xF0","stored-cards.saveCardDetails":"Vista kortauppl\xFDsingar","success.paymentAuthorized":"Grei\xF0sla sam\xFEykkt","error.unknownError":"\xD3\xFEekkt villa kom upp","error.failedToInitializeStraumurWebComponent":"Mist\xF3kst a\xF0 s\xE6kja Straumur Web hluta","error.failedToInitializePaymentMethods":"Mist\xF3kst a\xF0 s\xE6kja grei\xF0slum\xE1ta","error.failedToSubmitPayment":"Mist\xF3kst a\xF0 senda grei\xF0slu","error.paymentFailed":"Grei\xF0sla mist\xF3kst","error.paymentUnsuccessful":"Grei\xF0sla ekki tekin","error.failedToSubmitPaymentDetails":"Mist\xF3kst a\xF0 senda grei\xF0sluuppl\xFDsingar","error.paymentDetailsFailed":"Mist\xF3kst a\xF0 s\xE6kja grei\xF0sluuppl\xFDsingar","error.googlePayNotAvailable":"Google Pay ekki \xED bo\xF0i","error.applePayNotAvailable":"Apple Pay ekki \xED bo\xF0i","error.failedToSubmitRemoveStoredPaymentCard":"Mist\xF3kst a\xF0 fjarl\xE6gja geymdan grei\xF0slum\xE1ta","error.failedToRemoveStoredPaymentCard":"Geymdur grei\xF0slum\xE1ti var ekki fjarl\xE6g\xF0ur"}};function Et(e){return typeof e=="string"&&(e in Re["en-US"]||e in Re["is-IS"])}async function ut(e,t){try{let r=await xt(e,{sessionId:t});if(!r.ok){let a=r.headers.get("content-type"),n="error.failedToInitializePaymentMethods";if(a&&a.includes("application/json")){let i=(await r.json()).errorMessage;Et(i)&&(n=i)}return{resultCode:"Error",error:n}}return{resultCode:"Success",...await r.json()}}catch{return{resultCode:"Error",error:"error.failedToInitializePaymentMethods"}}}function Te(e){switch(e){case"en":case"en-US":return"en-US";default:return"is-IS"}}var Q=require("preact");var ge=require("preact"),or=require("preact/hooks");g(`.straumur__card-component--brands{display:flex;margin-left:auto;align-items:center;gap:var(--straumur__space-xxs)}.straumur__card-component__expandable{background:var(--straumur__color-white)}.straumur__card-component__loading-text{display:flex;justify-content:center}.straumur__card-component__form{display:flex;padding-top:var(--straumur__space-xxlg);flex-direction:column;gap:var(--straumur__space-5xlg)}.straumur__card-component__form--wrapper{display:flex;flex-direction:column;justify-items:start;position:relative;width:100%}.straumur__card-component__form--wrapper--error{color:var(--straumur__color-red-beta);font-size:12px}.straumur__card-component__form--wrapper--label{transform:translate(var(--straumur__space-md)) translateY(-50%);z-index:1;background:linear-gradient(to top,var(--straumur__color-secondary-gamma) 53%,var(--straumur__color-transparent) 50%);position:absolute;font-weight:500;font-size:14px;padding:0 var(--straumur__space-xxs)}.straumur__card-component__form--wrapper--label--error{color:var(--straumur__color-red-beta);background:linear-gradient(to top,var(--straumur__color-red-gamma) 53%,var(--straumur__color-transparent) 50%)}.straumur__card-component__form--wrapper--label--info{position:absolute;top:33%;right:var(--straumur__space-md)}.straumur__card-component__form--wrapper--input{background:var(--straumur__color-secondary-gamma);color:var(--straumur__color-text);display:block;font-family:inherit;border:1px solid var(--straumur__color-transparent);border-radius:var(--straumur__border-radius-s);font-size:16px;height:48px;outline:none;padding-left:var(--straumur__space-lg);transition:border .2s ease-out,box-shadow .2s ease-out}.straumur__card-component__form--wrapper--input:hover{border:1px solid var(--straumur__color-cosmos-blue-delta)}.straumur__card-component__form--wrapper--input--error{background:var(--straumur__color-red-gamma);border:1px solid var(--straumur__color-red-beta)}.straumur__card-component__form--wrapper--input--error:hover{border:1px solid var(--straumur__color-red-beta)}.straumur__card-component__form--field-wrapper{display:flex;width:100%;gap:var(--straumur__space-lg)}.straumur__card-component__submit-button{background:var(--straumur__color-primary);border:none;border-radius:var(--straumur__border-radius-s);color:var(--straumur__color-white);cursor:pointer;font-size:16px;height:40px;outline:none;padding:0 var(--straumur__space-xxlg);transition:background .2s ease-out;width:100%}.straumur__card-component__submit-button:hover{background:var(--straumur__color-primary);border:1px solid var(--straumur__color-border)}.straumur__card-component__submit-button:disabled{background:var(--straumur__color-secondary);border:1px solid var(--straumur__color-border);cursor:not-allowed}.straumur__card-component__form--wrapper--label-checkbox{height:38px;display:flex;align-items:center;padding:8px;gap:var(--straumur__space-s);border-radius:var(--straumur__border-radius-s);cursor:pointer;user-select:none;transition:background-color .25s ease-in-out}.straumur__card-component__form--wrapper--label-checkbox:hover{background-color:var(--straumur__color-blue-gamma)}.straumur__card-component__form--wrapper--label-checkbox:hover .straumur__card-component__form--wrapper--label-checkbox--checkmark{border:1px solid var(--straumur__color-cosmos-blue-delta)}.straumur__card-component__form--wrapper--label-checkbox--checkmark{height:var(--straumur__space-5xlg);width:var(--straumur__space-5xlg);background-color:var(--straumur__color-secondary-gamma);border-radius:var(--straumur__border-radius-xxs);flex-shrink:0;border:1px solid var(--straumur__color-transparent);transition:all .2s ease-in}.straumur__card-component__form--wrapper--label-checkbox:hover .straumur__card-component__form--wrapper--label-checkbox--checkmark.straumur__card-component__form--wrapper--label-checkbox--checkmark--checked{border:1px solid var(--straumur__color-transparent)}.straumur__card-component__form--wrapper--label-checkbox--checkmark--checked{background-color:var(--straumur__color-blue-beta)}.straumur__card-component__form--wrapper--label-checkbox--checkmark--icon{height:100%;display:flex;justify-content:center;align-items:center;font-size:9px;opacity:0;visibility:hidden;transition:all .2s ease-in}.straumur__card-component__form--wrapper--label-checkbox--checkmark--icon--checked{opacity:1;visibility:visible}.straumur__card-component__form--wrapper--label-checkbox--checkbox{display:none}.js-iframe{border:none;color-scheme:auto;height:100%;overflow:hidden;width:100%}.straumur__card-component__dual-branding{display:grid;grid-template-columns:1fr 1fr;gap:var(--straumur__space-lg)}.straumur__card-component__dual-branding--logo{display:flex;align-items:center;padding:var(--straumur__space-xs);border:1px solid var(--straumur__color-secondary-gamma);border-radius:var(--straumur__border-radius-s)}.straumur__card-component__dual-branding--logo--item{display:flex;pointer-events:none}.straumur__card-component__dual-branding--logo--selected{border:1px solid var(--straumur__color-cosmos-blue-delta);justify-content:space-between}
3
- `);var It=require("preact"),At=require("preact"),k=require("preact/hooks"),Rt=(0,At.createContext)(void 0),Hr={card:!1,storedcard:!1,googlepay:!1,applepay:!1},Tt=({children:e,initialValue:t,isSolePaymentMethod:r,hasCard:o,hasGooglePay:a,hasApplePay:n,hasStoredPaymentMethods:i,onSubmitApiReady:l})=>{let[m,d]=(0,k.useState)(t),p=(0,k.useRef)(null),_=(0,k.useCallback)(b=>{p.current=b},[]),A=(0,k.useCallback)(b=>{p.current===b&&(p.current=null)},[]),M=(0,k.useCallback)(()=>{let b=p.current;return b?(b(),!0):!1},[]);(0,k.useLayoutEffect)(()=>{l?.({triggerSubmit:M})},[]);let[B,u]=(0,k.useState)(null),[R,T]=(0,k.useState)(!1),[E,z]=(0,k.useState)(Hr),[f,j]=(0,k.useState)({}),[N,D]=(0,k.useState)(null),[ee,L]=(0,k.useState)(null),K=(b,te)=>{z(me=>({...me,[b]:te}))},J=(b,te)=>{j(me=>({...me,[b]:te}))},Z=(0,k.useCallback)(b=>R&&m!==b,[R,m]),G=b=>{L(b)},le=b=>{D(b)};return(0,It.h)(Rt.Provider,{value:{activePaymentMethod:m,setActivePaymentMethod:d,activeStoredPaymentMethodId:B,setActiveStoredPaymentMethodId:u,isPaymentMethodInitialized:E,updatePaymentMethodInitialization:K,isStoredCardInitialized:f,updateStoredCardInitialization:J,handleSuccess:le,success:N,handleError:G,error:ee,threeDSecureActive:R,setThreeDSecureActive:T,isObscuredByThreeDS:Z,isSolePaymentMethod:r,hasCard:o,hasGooglePay:a,hasApplePay:n,hasStoredPaymentMethods:i,registerSubmitHandler:_,unregisterSubmitHandler:A}},e)},x=()=>{let e=(0,k.useContext)(Rt);if(e===void 0)throw new Error("usePaymentMethodGroup must be used within a PaymentMethodGroup");return e};var Dt=require("preact"),Bt=require("preact"),zt=require("preact/hooks"),Ft=(0,Bt.createContext)(void 0),Nt=({children:e,i18nService:t,onLanguageChange:r})=>{let o=a=>{t.setLanguage(a),r?.(a)};return(0,Dt.h)(Ft.Provider,{value:{i18n:t,changeLanguage:o}},e)},V=()=>{let e=(0,zt.useContext)(Ft);if(!e)throw new Error("useI18n must be used within an I18nProvider");return e};var De=require("preact"),Or=()=>(0,De.h)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"40",height:"26",viewBox:"0 0 24 24",fill:"none"},(0,De.h)("path",{d:"M24 11H0V7H24V11Z",fill:"currentColor"}),(0,De.h)("path",{opacity:"0.4",d:"M21.3333 3C22.8042 3 24 4.19375 24 5.66667V7H0V5.66667C0 4.19375 1.19375 3 2.66667 3H21.3333ZM24 19C24 20.4708 22.8042 21.6667 21.3333 21.6667H2.66667C1.19375 21.6667 0 20.4708 0 19V11H24V19ZM4.66667 16.3333C4.3 16.3333 4 16.6333 4 17C4 17.3667 4.3 17.6667 4.66667 17.6667H7.33333C7.7 17.6667 8 17.3667 8 17C8 16.6333 7.7 16.3333 7.33333 16.3333H4.66667ZM10 17.6667H15.3333C15.7 17.6667 16 17.3667 16 17C16 16.6333 15.7 16.3333 15.3333 16.3333H10C9.63333 16.3333 9.33333 16.6333 9.33333 17C9.33333 17.3667 9.63333 17.6667 10 17.6667Z",fill:"currentColor"})),Lt=Or;var P=require("preact");var fe=require("preact"),Ur=({opacity:e=1,reversed:t=!1})=>(0,fe.h)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"30",height:"19.5",viewBox:"0 0 40 26",opacity:e},!t&&(0,fe.h)("path",{fill:"#fff",d:"M0 0h40v26H0z"}),(0,fe.h)("path",{fill:"#F06022",d:"M16.13 19.29h7.74V6.7h-7.74v12.58z"}),(0,fe.h)("path",{fill:"#EA1D25",d:"M16.93 13A7.93 7.93 0 0 1 20 6.71a8.02 8.02 0 0 0-10.65.65 7.96 7.96 0 0 0 0 11.28 8.02 8.02 0 0 0 10.65.65A8.02 8.02 0 0 1 16.93 13"}),(0,fe.h)("path",{fill:"#F79D1D",d:"M33 13c0 2.12-.84 4.15-2.34 5.65a8.1 8.1 0 0 1-10.66.64A8.05 8.05 0 0 0 23.07 13 7.96 7.96 0 0 0 20 6.71a8.02 8.02 0 0 1 10.66.64A7.93 7.93 0 0 1 33 13"})),Ht=Ur;var Be=require("preact"),Zr=({opacity:e=1,reversed:t=!1})=>(0,Be.h)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"30",height:"19.5",fill:"none",viewBox:"0 0 40 26",opacity:e},!t&&(0,Be.h)("path",{fill:"#fff",d:"M0 0h40v26H0z"}),(0,Be.h)("path",{fill:t?"#fff":"#1434CB",d:"m15.9 7.7-4.43 10.6h-2.9l-2.2-8.47c-.13-.52-.25-.71-.65-.93C5.05 8.55 3.96 8.2 3 8l.07-.32h4.67c.6 0 1.13.4 1.27 1.09l1.15 6.14 2.86-7.23h2.89Zm11.39 7.15c0-2.8-3.88-2.96-3.85-4.21 0-.38.37-.79 1.16-.9a5.2 5.2 0 0 1 2.71.48l.48-2.25a7.4 7.4 0 0 0-2.57-.47c-2.71 0-4.62 1.44-4.64 3.51-.02 1.53 1.36 2.38 2.4 2.9 1.08.51 1.44.85 1.43 1.31 0 .71-.85 1.03-1.64 1.04-1.39.02-2.19-.37-2.82-.67l-.5 2.33c.64.29 1.82.55 3.05.56 2.89 0 4.78-1.42 4.79-3.63Zm7.17 3.46H37L34.78 7.7h-2.34c-.53 0-.98.3-1.17.78l-4.12 9.84h2.88l.57-1.58h3.53l.33 1.58Zm-3.07-3.76 1.45-3.99.83 4H31.4ZM19.83 7.7l-2.27 10.62h-2.74L17.09 7.7h2.74Z"})),Ot=Zr;var ye=require("preact"),Gr=({opacity:e=1,reversed:t=!1})=>(0,ye.h)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"30",height:"19.5",fill:"none",viewBox:"0 0 40 26",opacity:e},!t&&(0,ye.h)("path",{fill:"#fff",d:"M0 0h40v26H0z"}),(0,ye.h)("path",{fill:"#7773B4",d:"M16.13 19.29h7.74V6.7h-7.74v12.58z"}),(0,ye.h)("path",{fill:"#EA1D25",d:"M16.93 13A7.93 7.93 0 0 1 20 6.71a8.02 8.02 0 0 0-10.65.65 7.96 7.96 0 0 0 0 11.28 8.02 8.02 0 0 0 10.65.65A8.02 8.02 0 0 1 16.93 13"}),(0,ye.h)("path",{fill:"#139FDA",d:"M33 13c0 2.12-.84 4.15-2.34 5.65a8.1 8.1 0 0 1-10.66.64A8.05 8.05 0 0 0 23.07 13 7.96 7.96 0 0 0 20 6.71a8.02 8.02 0 0 1 10.66.64A7.93 7.93 0 0 1 33 13"})),Ut=Gr;var ze=require("preact"),Vr=({opacity:e=1})=>(0,ze.h)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 40 26",width:"30",height:"19.5",opacity:e},(0,ze.h)("path",{fill:"#016FD0",d:"M0 26h40V0H0v26z"}),(0,ze.h)("path",{fill:"#fff","fill-rule":"evenodd",d:"M30.69 13.63v1.64h-4.17v1.14h4.07v1.64h-4.07v1.12h4.17v1.66l3.38-3.6-3.38-3.6zm-1.1-6.14-1.4-3.19h-4l-4.1 9.32h3.33v8.27l10.28.01 1.61-1.8 1.63 1.8H40v-2.63l-1.92-2.06L40 15.16v-2.59l-1.93.01V7.6l-1.81 4.98H34.5l-1.86-5v5h-4.2l-.6-1.46h-3.3l-.6 1.46h-2.22l3.23-7.27V5.3h2.55l3.19 7.21V5.3l3.1.01 1.6 4.47 1.62-4.48H40v-1h-3.77l-.85 2.39-.85-2.39h-4.94v3.19zm-5.06 6.11v7.27h6.16v-.01h2.54l2.1-2.32 2.12 2.32H40v-.1l-3.34-3.53L40 13.65v-.05h-2.52l-2.1 2.3-2.08-2.3h-8.77zm.7-4.11.96-2.31.97 2.31h-1.93z"})),Zt=Vr;var c=require("preact"),Wr=({opacity:e=1})=>(0,c.h)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"30",height:"19.5",fill:"none",viewBox:"0 0 40 26",opacity:e},(0,c.h)("g",{"clip-path":"url(#a)"},(0,c.h)("path",{fill:"#fff",d:"M0 0h40v26H0V0Z"}),(0,c.h)("path",{fill:"#fff",d:"M36.6 20.66a5.22 5.22 0 0 1-5.22 5.22H3V5.22A5.22 5.22 0 0 1 8.22 0H36.6v20.66Z"}),(0,c.h)("path",{fill:"url(#b)",d:"M27.36 15.36h2.15l.27-.02a.96.96 0 0 0 .76-.96 1 1 0 0 0-.76-.97c-.06-.02-.19-.02-.27-.02h-2.15v1.97Z"}),(0,c.h)("path",{fill:"url(#c)",d:"M29.27 1.75a3.74 3.74 0 0 0-3.74 3.73v3.89h5.28c.12 0 .26 0 .37.02 1.19.06 2.07.67 2.07 1.74 0 .84-.6 1.56-1.7 1.7v.05c1.2.08 2.13.76 2.13 1.8 0 1.13-1.03 1.87-2.38 1.87h-5.8v7.6H31a3.74 3.74 0 0 0 3.73-3.74V1.75h-5.46Z"}),(0,c.h)("path",{fill:"url(#d)",d:"M30.27 11.38c0-.5-.35-.82-.76-.89l-.2-.02h-1.95v1.81h1.95c.06 0 .18 0 .2-.02a.87.87 0 0 0 .76-.88Z"}),(0,c.h)("path",{fill:"url(#e)",d:"M8.6 1.75a3.74 3.74 0 0 0-3.73 3.73v9.22a7.4 7.4 0 0 0 3.22.85c1.3 0 2-.78 2-1.85V9.34h3.2v4.34c0 1.68-1.05 3.06-4.6 3.06-2.16 0-3.84-.47-3.84-.47v7.86h5.48a3.74 3.74 0 0 0 3.74-3.74V1.75H8.6Z"}),(0,c.h)("path",{fill:"url(#f)",d:"M18.94 1.75a3.74 3.74 0 0 0-3.74 3.73v4.9c.94-.8 2.59-1.32 5.24-1.2 1.41.06 2.93.45 2.93.45v1.58a7.1 7.1 0 0 0-2.83-.82c-2.01-.14-3.23.84-3.23 2.57 0 1.74 1.22 2.73 3.23 2.57a7.46 7.46 0 0 0 2.83-.82v1.58s-1.5.39-2.93.45c-2.65.12-4.3-.4-5.24-1.2v8.63h5.48a3.74 3.74 0 0 0 3.74-3.74V1.75h-5.48Z"})),(0,c.h)("defs",null,(0,c.h)("linearGradient",{id:"b",x1:"25.52",x2:"34.75",y1:"14.38",y2:"14.38",gradientUnits:"userSpaceOnUse"},(0,c.h)("stop",{offset:"0","stop-color":"#007940"}),(0,c.h)("stop",{offset:".23","stop-color":"#00873F"}),(0,c.h)("stop",{offset:".74","stop-color":"#40A737"}),(0,c.h)("stop",{offset:"1","stop-color":"#5CB531"})),(0,c.h)("linearGradient",{id:"c",x1:"25.52",x2:"34.75",y1:"12.94",y2:"12.94",gradientUnits:"userSpaceOnUse"},(0,c.h)("stop",{offset:"0","stop-color":"#007940"}),(0,c.h)("stop",{offset:".23","stop-color":"#00873F"}),(0,c.h)("stop",{offset:".74","stop-color":"#40A737"}),(0,c.h)("stop",{offset:"1","stop-color":"#5CB531"})),(0,c.h)("linearGradient",{id:"d",x1:"25.52",x2:"34.75",y1:"11.37",y2:"11.37",gradientUnits:"userSpaceOnUse"},(0,c.h)("stop",{offset:"0","stop-color":"#007940"}),(0,c.h)("stop",{offset:".23","stop-color":"#00873F"}),(0,c.h)("stop",{offset:".74","stop-color":"#40A737"}),(0,c.h)("stop",{offset:"1","stop-color":"#5CB531"})),(0,c.h)("linearGradient",{id:"e",x1:"4.86",x2:"14.24",y1:"12.94",y2:"12.94",gradientUnits:"userSpaceOnUse"},(0,c.h)("stop",{offset:"0","stop-color":"#1F286F"}),(0,c.h)("stop",{offset:".48","stop-color":"#004E94"}),(0,c.h)("stop",{offset:".83","stop-color":"#0066B1"}),(0,c.h)("stop",{offset:"1","stop-color":"#006FBC"})),(0,c.h)("linearGradient",{id:"f",x1:"15.15",x2:"24.25",y1:"12.94",y2:"12.94",gradientUnits:"userSpaceOnUse"},(0,c.h)("stop",{offset:"0","stop-color":"#6C2C2F"}),(0,c.h)("stop",{offset:".17","stop-color":"#882730"}),(0,c.h)("stop",{offset:".57","stop-color":"#BE1833"}),(0,c.h)("stop",{offset:".86","stop-color":"#DC0436"}),(0,c.h)("stop",{offset:"1","stop-color":"#E60039"})),(0,c.h)("clipPath",{id:"a"},(0,c.h)("path",{fill:"#fff",d:"M0 0h40v26H0z"})))),Gt=Wr;var w=require("preact"),jr=({opacity:e=1})=>(0,w.h)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 40 26",width:"30",height:"19.5",opacity:e},(0,w.h)("path",{fill:"#fff",d:"M0 0h40v26H0z"}),(0,w.h)("g",{fill:"#1a1918"},(0,w.h)("path",{d:"M5.96 15.58c0-.56-.3-.52-.58-.53v-.16H7.2a2.28 2.28 0 0 1 2.5 2.2c0 .61-.36 2.17-2.57 2.17H5.38v-.16c.38-.04.56-.05.58-.48zm.61 2.94c0 .49.35.54.65.54a1.75 1.75 0 0 0 1.8-1.95 1.88 1.88 0 0 0-1.96-2.02c-.26 0-.37.02-.49.02zm3.36.58h.12c.17 0 .3 0 .3-.2v-1.7c0-.28-.1-.32-.33-.44v-.1l.67-.23a.22.22 0 0 1 .11-.03c.03 0 .05.04.05.09v2.4c0 .21.13.21.3.21h.11v.16H9.93zm.67-3.67a.3.3 0 0 1 0-.61.3.3 0 0 1 .3.3.31.31 0 0 1-.3.31zm1.26 1.8c0-.23-.07-.3-.36-.41v-.12a8.44 8.44 0 0 0 .82-.3c.02 0 .04.01.04.06v.4a1.83 1.83 0 0 1 1.08-.46c.53 0 .72.39.72.88v1.61c0 .21.14.21.31.21h.12v.16h-1.34v-.16h.11c.18 0 .3 0 .3-.2v-1.63c0-.36-.22-.53-.57-.53a1.66 1.66 0 0 0-.73.3v1.85c0 .21.14.21.31.21h.12v.16h-1.34v-.16h.1c.18 0 .3 0 .3-.2v-1.67m3.21.3a1.55 1.55 0 0 0 0 .37 1.05 1.05 0 0 0 .92 1.08 1.2 1.2 0 0 0 .85-.42l.08.09a1.47 1.47 0 0 1-1.15.7 1.26 1.26 0 0 1-1.2-1.36c0-1.23.83-1.6 1.27-1.6a1 1 0 0 1 1.05 1 .74.74 0 0 1 0 .1l-.06.04zm1.11-.2c.16 0 .18-.08.18-.16a.53.53 0 0 0-.55-.57c-.38 0-.64.28-.72.73zm.86 1.77h.17c.17 0 .3 0 .3-.2v-1.77c0-.2-.23-.23-.33-.28v-.1c.46-.19.7-.35.77-.35.03 0 .05.02.05.08v.56H18c.16-.24.42-.64.8-.64a.34.34 0 0 1 .36.33.3.3 0 0 1-.3.32c-.19 0-.19-.15-.4-.15a.53.53 0 0 0-.46.52v1.47c0 .21.12.21.3.21h.35v.16h-.88a26 26 0 0 0-.74 0zm2.41-.7a.83.83 0 0 0 .78.76.44.44 0 0 0 .51-.45c0-.74-1.36-.5-1.36-1.5a.86.86 0 0 1 .97-.81 1.64 1.64 0 0 1 .71.18l.04.64h-.14a.64.64 0 0 0-.68-.62.44.44 0 0 0-.49.41c0 .74 1.45.51 1.45 1.5 0 .4-.33.85-1.07.85a1.64 1.64 0 0 1-.77-.22l-.07-.72.12-.03m7.44-2.37h-.15A1.2 1.2 0 0 0 25.39 15a1.79 1.79 0 0 0-1.77 2 2.04 2.04 0 0 0 1.87 2.17 1.27 1.27 0 0 0 1.25-1.09l.15.04-.15.91a3.5 3.5 0 0 1-1.38.34A2.23 2.23 0 0 1 22.97 17a2.3 2.3 0 0 1 2.37-2.2 4.5 4.5 0 0 1 1.48.33l.06.9m.22 3.07h.13c.17 0 .3 0 .3-.2v-3.5c0-.4-.1-.42-.34-.49v-.1a3.96 3.96 0 0 0 .65-.27.66.66 0 0 1 .14-.07c.03 0 .05.04.05.1v4.32c0 .21.13.21.3.21h.12v.16H27.1zm4.02-.18c0 .11.07.12.18.12h.25v.12a6.33 6.33 0 0 0-.9.2l-.03-.02v-.5a1.69 1.69 0 0 1-1.11.52.68.68 0 0 1-.69-.75v-1.6c0-.17-.02-.32-.37-.35v-.12l.8-.05c.07 0 .07.05.07.18v1.62c0 .19 0 .73.55.73a1.4 1.4 0 0 0 .75-.38v-1.7c0-.12-.3-.18-.52-.25v-.11c.56-.04.91-.09.97-.09.05 0 .05.05.05.11zm1.25-2.07a1.58 1.58 0 0 1 .93-.45 1.22 1.22 0 0 1 1.16 1.31 1.58 1.58 0 0 1-1.5 1.65 1.84 1.84 0 0 1-.86-.22l-.19.14-.13-.07a7.37 7.37 0 0 0 .09-1.11v-2.7c0-.4-.1-.42-.33-.49v-.1a3.93 3.93 0 0 0 .64-.27.67.67 0 0 1 .14-.07c.04 0 .05.04.05.1zm0 1.7a.67.67 0 0 0 .64.64c.67 0 .95-.65.95-1.21a1.2 1.2 0 0 0-1-1.24.96.96 0 0 0-.6.3v1.51zM5.38 22.91h.04c.13 0 .26-.02.26-.2v-1.78c0-.18-.13-.2-.26-.2h-.04v-.1l.5.01.54-.01v.1h-.05c-.12 0-.25.02-.25.2v1.79c0 .17.13.19.25.19h.05v.1L5.88 23l-.5.01z"}),(0,w.h)("path",{d:"M6.42 23.03 5.88 23l-.5.02h-.02v-.14h.06c.13 0 .24 0 .24-.17v-1.8c0-.16-.11-.17-.24-.17h-.06v-.13h1.07v.13h-.06c-.13 0-.24.01-.24.18v1.79c0 .16.11.17.24.17h.06v.14zM6.4 23v-.08h-.03c-.12 0-.27-.02-.27-.2v-1.8c0-.18.15-.2.27-.2h.03v-.07h-1v.07h.03c.13 0 .27.02.27.2v1.8c0 .18-.14.2-.27.2H5.4V23l.49-.02.52.02zm2.35-.66h.01v-1.29a.28.28 0 0 0-.3-.32H8.4v-.1l.48.01.42-.01v.1h-.06c-.14 0-.3.03-.3.44v1.55a2.27 2.27 0 0 0 .02.34h-.13L7.07 21.1v1.41c0 .3.06.4.32.4h.06v.1L7 23l-.47.01v-.1h.05c.24 0 .3-.16.3-.43v-1.44a.3.3 0 0 0-.3-.3h-.05v-.11l.4.01.3-.01 1.51 1.71"}),(0,w.h)("path",{d:"M8.95 23.08h-.14l-1.73-1.94v1.37c0 .3.05.38.3.38h.08v.14h-.01L7 23l-.47.02h-.01v-.14h.06c.23 0 .3-.14.3-.41v-1.44a.3.3 0 0 0-.3-.3h-.06v-.12h.72l1.5 1.69v-1.26c0-.27-.19-.3-.29-.3h-.09v-.13h.94v.13h-.07c-.14 0-.28.01-.28.42v1.55a2.27 2.27 0 0 0 .02.34v.02zm-.13-.03h.11a2.3 2.3 0 0 1-.01-.33v-1.55c0-.41.17-.45.31-.45h.04v-.07H8.4v.07h.06a.3.3 0 0 1 .32.33v1.3h-.02v.01l-1.52-1.71h-.68v.07h.03a.32.32 0 0 1 .32.32v1.44c0 .27-.07.44-.32.45h-.03V23l.45-.02.42.02v-.07H7.4c-.27 0-.34-.12-.34-.42v-1.44l1.77 1.98zm-.07-.71.01-.01v.01zm0 0v-.01zM9.8 20.8c-.26 0-.27.06-.32.31h-.1l.04-.29a2.04 2.04 0 0 0 .02-.29h.08c.03.1.11.1.2.1h1.76c.1 0 .18 0 .18-.1h.09l-.04.28v.28l-.11.04c0-.13-.02-.33-.25-.33h-.56v1.82c0 .26.12.29.28.29h.07v.1l-.56-.01-.57.01v-.1h.06c.19 0 .28-.02.28-.29V20.8z"}),(0,w.h)("path",{d:"m11.14 23.03-.56-.02-.57.02h-.02v-.14h.08c.19 0 .26 0 .27-.27v-1.8H9.8v-.03h.57v1.83c0 .28-.11.3-.3.3h-.05V23l.56-.02.54.02v-.07h-.05c-.16 0-.3-.05-.3-.31v-1.83h.58c.23 0 .26.2.26.32l.08-.03a3.96 3.96 0 0 1 .04-.53h-.05c-.02.1-.11.1-.2.1H9.71c-.08 0-.17 0-.2-.1h-.06a2.04 2.04 0 0 1-.02.27c0 .1-.02.19-.04.28h.08c.04-.24.07-.32.33-.31v.03c-.26 0-.25.04-.3.3h-.14v-.01l.04-.3a1.93 1.93 0 0 0 .02-.28v-.01h.11c.03.1.09.1.18.1h1.77c.1 0 .16 0 .17-.1v-.01h.02l.1.02-.01.01-.04.28v.28h-.01l-.12.05v-.02c-.01-.13-.03-.31-.24-.31h-.55v1.8c0 .25.11.27.27.27h.08v.14zm.71-.12h.05c.12 0 .25-.02.25-.2v-1.78c0-.18-.13-.2-.25-.2h-.05v-.1l.85.01.87-.01.01.52-.1.03c-.02-.22-.06-.4-.42-.4h-.47v.9h.4c.2 0 .25-.12.27-.3h.1v.78l-.1.02c-.02-.2-.03-.33-.26-.33h-.4v.79c0 .22.19.22.4.22.41 0 .6-.03.7-.41l.1.02a7.7 7.7 0 0 0-.12.54l-.92-.01-.9.01v-.1"}),(0,w.h)("path",{d:"m13.68 23.03-.92-.02-.9.02h-.02v-.14h.06c.13 0 .24 0 .24-.17v-1.8c0-.16-.11-.17-.24-.17h-.06v-.13h1.75v.01a4.18 4.18 0 0 0 0 .52v.01l-.13.04v-.02c-.02-.22-.05-.38-.4-.38h-.46v.86h.4c.2 0 .23-.1.25-.29v-.01h.13v.01a8.08 8.08 0 0 0 0 .8h-.01l-.12.03v-.02c-.02-.2-.03-.32-.25-.32h-.4v.78c0 .2.18.2.4.2.42 0 .58-.02.68-.4v-.01h.02l.1.03v.01a7.8 7.8 0 0 0-.11.54v.02zm-.02-.03.11-.52-.06-.02c-.1.39-.3.42-.7.42-.22 0-.43 0-.44-.24v-.8H13c.24-.01.26.13.28.33l.07-.02a7.25 7.25 0 0 1 0-.76h-.07c-.02.18-.08.3-.29.3h-.42v-.92h.5c.35 0 .4.18.42.4l.07-.03a5.76 5.76 0 0 1 0-.5l-.86.02-.83-.01v.07h.03c.12 0 .27.02.27.2v1.8c0 .18-.15.2-.27.2h-.03V23l.89-.02zm.59-2c0-.26-.14-.27-.24-.27h-.06v-.1l.53.01.54-.01c.43 0 .81.12.81.6a.64.64 0 0 1-.47.6l.58.87a.38.38 0 0 0 .33.21v.1l-.33-.01-.32.01a9.45 9.45 0 0 1-.7-1.1h-.23v.73c0 .26.12.27.28.27h.06v.1l-.59-.01-.5.01v-.1h.07c.13 0 .24-.06.24-.18v-1.74zm.44.78h.16c.34 0 .53-.13.53-.53a.47.47 0 0 0-.5-.5 1.65 1.65 0 0 0-.2.02v1.01z"}),(0,w.h)("path",{d:"m16.27 23.03-.33-.02c-.1 0-.21.02-.33.01a9.54 9.54 0 0 1-.7-1.1h-.2v.72c0 .25.1.25.26.25h.07v.14h-.01l-.59-.02-.5.02v-.14H14c.12 0 .22-.05.23-.16v-1.74c0-.24-.13-.24-.23-.24h-.08v-.13h1.09c.43 0 .83.11.83.61a.65.65 0 0 1-.47.6l.57.87a.37.37 0 0 0 .32.2h.02v.13zm-1.58-1.14h.23a10.55 10.55 0 0 0 .7 1.1h.64v-.07a.39.39 0 0 1-.33-.2l-.6-.9h.02a.63.63 0 0 0 .47-.59c0-.47-.37-.58-.8-.58h-1.06v.07h.05c.1 0 .26.02.26.27v1.74c0 .13-.13.2-.26.2h-.05V23l.48-.02.57.02v-.07h-.04c-.16 0-.3-.02-.3-.3v-.74zm0-.1h-.02v-1.04h.01a1.63 1.63 0 0 1 .2-.01.48.48 0 0 1 .51.51c0 .4-.2.55-.54.55zm.16-.02c.34 0 .51-.12.51-.52a.45.45 0 0 0-.48-.48 1.33 1.33 0 0 0-.18.01v.99zm3.73.57h.01v-1.29a.28.28 0 0 0-.3-.32h-.07v-.1l.48.01.42-.01v.1h-.06c-.14 0-.3.03-.3.44v1.55a2.27 2.27 0 0 0 .02.34h-.13L16.9 21.1v1.41c0 .3.06.4.32.4h.06v.1l-.44-.01-.47.01v-.1h.05c.24 0 .3-.16.3-.43v-1.44a.3.3 0 0 0-.3-.3h-.05v-.11l.4.01.3-.01z"}),(0,w.h)("path",{d:"M18.78 23.08h-.14l-1.73-1.94v1.37c0 .3.05.38.3.38h.08v.14h-.01l-.44-.02-.47.02h-.01v-.14h.06c.23 0 .3-.14.3-.41v-1.44a.3.3 0 0 0-.3-.3h-.06v-.12h.71l1.5 1.69v-1.26c0-.27-.18-.3-.28-.3h-.09v-.13h.93v.13h-.07c-.14 0-.28.01-.28.42v1.55a2.15 2.15 0 0 0 .02.34v.02zm-.13-.03h.11a2.34 2.34 0 0 1-.01-.33v-1.55c0-.41.17-.45.31-.45h.04v-.07h-.87v.07h.06a.3.3 0 0 1 .32.33v1.3h-.02v.01l-1.52-1.71h-.68v.07h.03a.32.32 0 0 1 .32.32v1.44c0 .27-.07.44-.32.45h-.03V23l.45-.02.42.02v-.07h-.04c-.27 0-.34-.12-.34-.42v-1.44zm-.07-.71.01-.01v.01zm0 0v-.01zm1.08.18a1.38 1.38 0 0 0-.07.27c0 .1.14.12.25.12h.04v.1a7.72 7.72 0 0 0-.78 0v-.1h.02a.3.3 0 0 0 .3-.22l.54-1.57a2.87 2.87 0 0 0 .13-.42 1.73 1.73 0 0 0 .3-.15.08.08 0 0 1 .04 0 .02.02 0 0 1 .02 0l.03.1.63 1.78.12.34a.22.22 0 0 0 .23.14h.02v.1a9.66 9.66 0 0 0-.98 0v-.1h.03c.08 0 .22-.01.22-.1a1.1 1.1 0 0 0-.07-.25l-.14-.4h-.77l-.1.36zm.5-1.5-.32.96h.63l-.31-.97z"}),(0,w.h)("path",{d:"M21.48 23.03 21 23l-.51.02h-.02v-.14h.05c.08 0 .2-.01.2-.08a1.1 1.1 0 0 0-.07-.24l-.13-.39h-.75l-.1.35a1.41 1.41 0 0 0-.08.26c0 .08.13.1.24.1h.06v.14h-.02l-.41-.02-.37.02h-.01v-.14h.03a.3.3 0 0 0 .28-.2l.55-1.57a4.05 4.05 0 0 0 .13-.44 1.75 1.75 0 0 0 .31-.14.09.09 0 0 1 .03-.01.04.04 0 0 1 .04.02l.03.09.63 1.78c.04.12.08.25.13.35a.2.2 0 0 0 .2.12h.04v.14h-.01zM20.5 23l.5-.02.45.02v-.07a.23.23 0 0 1-.24-.15c-.05-.1-.09-.23-.13-.35l-.62-1.78-.03-.09h-.02a.08.08 0 0 0-.01 0 1.26 1.26 0 0 1-.3.14 2.83 2.83 0 0 1-.13.43l-.55 1.56a.32.32 0 0 1-.3.24h-.01V23l.35-.02.4.02v-.07h-.03c-.1 0-.26-.02-.27-.14a1.35 1.35 0 0 1 .08-.27h.01-.01l.11-.36h.8l.13.4a1.04 1.04 0 0 1 .07.25c0 .1-.15.11-.23.12h-.02zm-.7-1 .33-1h.03l.32 1zm.05-.04h.6l-.3-.91zm.28-.94h.01zm1.5-.22c-.26 0-.27.06-.32.31h-.1l.04-.29a2.1 2.1 0 0 0 .02-.29h.08c.03.1.11.1.2.1h1.76c.1 0 .18 0 .19-.1h.08l-.04.28v.28l-.1.04c-.02-.13-.03-.33-.26-.33h-.56v1.82c0 .26.12.29.28.29h.07v.1L22.4 23l-.57.01v-.1h.06c.19 0 .29-.02.29-.29V20.8h-.56"}),(0,w.h)("path",{d:"M22.97 23.03 22.4 23l-.57.02h-.02v-.14h.08c.19 0 .27 0 .27-.27v-1.8h-.54v-.03h.57v1.83c0 .28-.11.3-.3.3h-.05V23l.56-.02.54.02v-.07h-.05c-.16 0-.3-.05-.3-.31v-1.83h.58c.23 0 .26.2.26.32l.08-.03v-.27l.04-.26h-.05c-.02.1-.11.1-.2.1h-1.77c-.08 0-.17 0-.2-.1h-.06a2 2 0 0 1-.02.27c0 .1-.02.19-.04.28h.08c.04-.24.07-.32.33-.31v.03c-.26 0-.25.04-.3.3h-.14v-.01l.04-.29a1.98 1.98 0 0 0 .02-.29v-.01h.11c.03.1.1.1.18.1h1.77c.1 0 .17 0 .17-.1v-.01h.02l.1.02v.01l-.05.28v.28h-.01l-.12.05v-.02c-.01-.13-.03-.31-.24-.31h-.54v1.8c0 .25.1.27.26.27h.08v.14h-.01m.74-.12h.05c.12 0 .25-.02.25-.2v-1.78c0-.18-.13-.2-.25-.2h-.05v-.1l.5.01.54-.01v.1h-.05c-.12 0-.25.02-.25.2v1.79c0 .17.13.19.25.19h.05v.1L24.2 23l-.5.01z"}),(0,w.h)("path",{d:"M24.74 23.03 24.2 23l-.5.02h-.01v-.14h.06c.12 0 .24 0 .24-.17v-1.8c0-.16-.12-.17-.24-.17h-.06v-.13h1.07v.13h-.07c-.12 0-.23.01-.23.18v1.79c0 .16.1.17.23.17h.07v.14zm-.01-.03v-.07h-.04c-.12 0-.26-.03-.26-.21v-1.8c0-.18.14-.2.26-.2h.04v-.07H23.7v.07h.04c.12 0 .27.02.27.2v1.8c0 .18-.15.2-.27.2h-.03V23l.48-.02.53.02zm1.37-2.42a1.2 1.2 0 0 1 1.3 1.18 1.25 1.25 0 0 1-1.28 1.3 1.2 1.2 0 0 1-1.28-1.22 1.24 1.24 0 0 1 1.26-1.26m.05 2.33c.66 0 .78-.58.78-1.08s-.27-1.1-.84-1.1c-.6 0-.77.53-.77.99 0 .6.28 1.2.83 1.2"}),(0,w.h)("path",{d:"M24.83 21.84a1.26 1.26 0 0 1 1.27-1.28v.03a1.23 1.23 0 0 0-1.24 1.25 1.19 1.19 0 0 0 1.26 1.2 1.24 1.24 0 0 0 1.27-1.28 1.18 1.18 0 0 0-1.3-1.17v-.03a1.21 1.21 0 0 1 1.33 1.2 1.27 1.27 0 0 1-1.3 1.32 1.22 1.22 0 0 1-1.3-1.24m.48-.12c0-.46.18-1 .8-1 .57 0 .84.61.84 1.11s-.12 1.1-.79 1.1v-.03c.65 0 .76-.57.76-1.07s-.26-1.08-.82-1.09c-.58 0-.75.52-.76.98 0 .6.28 1.18.82 1.18v.03c-.56 0-.84-.6-.85-1.21m4.4.62v-1.29a.28.28 0 0 0-.3-.32h-.07v-.1l.48.01.42-.01v.1h-.05c-.15 0-.3.03-.3.44v1.55a2.2 2.2 0 0 0 .01.34h-.12L28 21.1v1.41c0 .3.06.4.32.4h.06v.1l-.44-.01-.46.01v-.1h.05c.23 0 .3-.16.3-.43v-1.44a.3.3 0 0 0-.3-.3h-.05v-.11l.39.01.3-.01 1.52 1.71"}),(0,w.h)("path",{d:"M29.9 23.08h-.15l-1.72-1.94v1.37c0 .3.05.38.3.38h.07v.14h-.01l-.44-.02-.46.02h-.02v-.14h.07c.22 0 .28-.14.29-.41v-1.44a.3.3 0 0 0-.3-.3h-.06v-.12h.72l1.5 1.69v-1.26c0-.27-.18-.3-.28-.3h-.1v-.13h.94v.13h-.06c-.14 0-.29.01-.3.42v1.55a2.26 2.26 0 0 0 .03.34v.02zm-.13-.03h.1a2.42 2.42 0 0 1-.01-.33v-1.55c0-.41.17-.45.32-.45h.03v-.07h-.86v.07h.06a.3.3 0 0 1 .3.33v1.3l-.01.01-1.52-1.71h-.68v.07h.03a.32.32 0 0 1 .33.32v1.44c0 .27-.08.44-.32.45h-.04V23l.45-.02.43.02v-.07h-.05c-.27 0-.33-.12-.33-.42v-1.44zm-.07-.71v-.01zm-.01 0v-.01zm1.09.18a1.43 1.43 0 0 0-.08.27c0 .1.14.12.26.12h.03v.1a7.71 7.71 0 0 0-.78 0v-.1h.02a.3.3 0 0 0 .3-.22l.55-1.57a2.79 2.79 0 0 0 .12-.42 1.75 1.75 0 0 0 .31-.15.07.07 0 0 1 .03 0 .02.02 0 0 1 .02 0l.03.1.63 1.78c.04.11.08.24.13.34a.22.22 0 0 0 .22.14h.02v.1a9.66 9.66 0 0 0-.98 0v-.1h.04c.08 0 .2-.01.2-.1a1.1 1.1 0 0 0-.06-.25l-.13-.4h-.78zm.5-1.5h-.01l-.32.96h.64l-.32-.97z"}),(0,w.h)("path",{d:"m32.59 23.03-.47-.02-.5.02h-.02v-.14h.05c.08 0 .2-.01.2-.08a1.06 1.06 0 0 0-.07-.24l-.13-.39h-.76l-.1.35a1.44 1.44 0 0 0-.07.26c0 .08.12.1.24.1H31v.14h-.02l-.4-.02-.38.02h-.01v-.14h.03a.3.3 0 0 0 .29-.2l.54-1.57a4.27 4.27 0 0 0 .14-.44 1.85 1.85 0 0 0 .3-.14.08.08 0 0 1 .04 0 .04.04 0 0 1 .04.01l.03.09.62 1.78c.04.12.08.25.13.35a.2.2 0 0 0 .2.12h.04v.14h-.01zm-.97-.03.5-.02.46.02v-.08h-.01a.23.23 0 0 1-.24-.14l-.12-.35-.63-1.78a3.61 3.61 0 0 1-.03-.09h-.01a.06.06 0 0 0-.02 0 1.3 1.3 0 0 1-.3.14 2.94 2.94 0 0 1-.13.43l-.55 1.56a.32.32 0 0 1-.3.24h-.01V23l.35-.02.4.02v-.07h-.02c-.11 0-.27-.02-.27-.14a1.42 1.42 0 0 1 .07-.27h.02-.02l.11-.36h.8l.13.4a1.07 1.07 0 0 1 .07.25c0 .1-.15.11-.22.12h-.03zm-.7-1 .34-1h.02l.33 1zm.05-.04h.6l-.3-.91zm2.48.72c0 .13.1.18.2.19a2.47 2.47 0 0 0 .45 0 .48.48 0 0 0 .33-.2.78.78 0 0 0 .1-.24h.1l-.12.58-.9-.01-.9.01v-.1h.05c.12 0 .25-.02.25-.23v-1.75c0-.18-.13-.2-.25-.2h-.05v-.1l.54.01.51-.01v.1h-.08c-.13 0-.23 0-.23.19z"}),(0,w.h)("path",{d:"m34.5 23.03-.9-.02-.9.02v-.14h.06c.12 0 .24 0 .24-.2v-1.76c0-.17-.12-.18-.24-.18h-.07v-.13h1.09v.13h-.1c-.13 0-.21 0-.22.17v1.76c0 .13.09.16.2.17l.18.01a2.46 2.46 0 0 0 .26-.01.48.48 0 0 0 .32-.18.77.77 0 0 0 .1-.24v-.01h.13v.02l-.13.58zm0-.03.11-.55h-.07a.77.77 0 0 1-.1.24.5.5 0 0 1-.34.19 2.6 2.6 0 0 1-.26.01h-.19c-.11-.02-.22-.07-.22-.21v-1.76c0-.2.12-.2.25-.2h.07v-.07h-1.03v.07h.04c.12 0 .27.02.27.2v1.76c0 .22-.15.24-.27.24h-.04V23l.89-.02.88.02zm.1-2.47a.36.36 0 1 1-.37.36.35.35 0 0 1 .36-.36zm0 .66a.3.3 0 1 0-.3-.3.29.29 0 0 0 .3.3zm-.19-.1v-.02c.05-.01.05 0 .05-.04v-.26c0-.04 0-.05-.05-.05v-.02h.19c.06 0 .12.03.12.1a.11.11 0 0 1-.09.1l.06.09a.38.38 0 0 0 .08.08v.01h-.07c-.03 0-.06-.07-.13-.16h-.04v.12c0 .02.01.02.06.03v.01zm.12-.2h.05c.04 0 .06-.03.06-.09s-.03-.08-.07-.08h-.04z"})),(0,w.h)("path",{fill:"#fff",d:"M13.33 8.58a5.77 5.77 0 1 1 5.76 5.78 5.77 5.77 0 0 1-5.76-5.78"}),(0,w.h)("path",{fill:"#154a78",d:"M22.58 8.47a3.48 3.48 0 0 0-2.23-3.24v6.48a3.48 3.48 0 0 0 2.23-3.24zm-4.7 3.24V5.23a3.47 3.47 0 0 0 0 6.48zM19.1 3a5.48 5.48 0 1 0 5.47 5.48A5.47 5.47 0 0 0 19.11 3zm0 11.48a5.99 5.99 0 0 1-6.03-5.94A5.9 5.9 0 0 1 19.1 2.5h1.55a6.1 6.1 0 0 1 6.24 6.03 6.22 6.22 0 0 1-6.24 5.94z"})),Vt=jr;var s=require("preact"),Kr=({opacity:e=1,reversed:t=!1})=>(0,s.h)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"30",height:"19.5",fill:"none",viewBox:"0 0 40 26",opacity:e},!t&&(0,s.h)("path",{fill:"#fff",d:"M0 0h40v26H0z"}),(0,s.h)("g",{"clip-path":"url(#a)"},(0,s.h)("g",{"clip-path":"url(#b)"},(0,s.h)("path",{fill:t?"#fff":"#000",d:"M3.5 19.56a1.6 1.6 0 0 1 1.54-1.6h.06a1.52 1.52 0 0 1 1.42.77l-.43.25a1.02 1.02 0 0 0-.99-.59 1.13 1.13 0 0 0-1.14 1.11v.03a1.05 1.05 0 0 0 .99 1.14h.1a.94.94 0 0 0 1.04-.83H5.01v-.43h1.51v1.66h-.46v-.49l.03-.12a1.08 1.08 0 0 1-1.08.64 1.49 1.49 0 0 1-1.51-1.48v-.06Zm3.58-1.79h.46v3.33h-.46v-3.33Zm.92 2.2a1.2 1.2 0 1 1 .74 1.11A1.19 1.19 0 0 1 8 19.96Zm1.91 0a.74.74 0 1 0-1.48.06.72.72 0 0 0 .74.7.74.74 0 0 0 .74-.77Zm1.36.8v.33h-.46v-3.36h.46v1.4a.98.98 0 0 1 .77-.38 1.19 1.19 0 0 1 0 2.38.9.9 0 0 1-.77-.37Zm1.48-.8a.75.75 0 1 0-1.5-.04v.03a.76.76 0 1 0 1.5 0Zm.8.55c0-.46.28-.65.9-.74.43-.06.58-.1.58-.25s-.12-.37-.46-.37a.54.54 0 0 0-.58.43l-.44-.18a1.01 1.01 0 0 1 1.02-.65c.59 0 .96.3.96.86v1.48h-.43v-.33a.75.75 0 0 1-.74.4c-.5 0-.8-.28-.8-.65Zm1.33.06a.5.5 0 0 0 .19-.4v-.19c0 .1-.16.13-.5.16-.4.06-.55.15-.55.34 0 .15.15.28.37.28.18 0 .35-.07.49-.19Zm1.14-2.8h.46v3.32h-.46v-3.33Zm2.04.24h.5l1.53 2.34v-2.34h.47v3.12h-.47l-1.57-2.41v2.4h-.46v-3.11Zm2.96 1.94a1.18 1.18 0 0 1 1.17-1.2h.03a1.14 1.14 0 0 1 1.17 1.11v.25h-1.94a.77.77 0 0 0 .96.58c.2-.05.37-.17.49-.34l.37.22a1.18 1.18 0 0 1-1.05.56 1.15 1.15 0 0 1-1.2-1.11v-.07Zm.46-.21h1.45a.67.67 0 0 0-.7-.56.7.7 0 0 0-.75.56Zm2.56.61v-1.14h-.46v-.4h.46v-.5l.46-.3v.8h.62v.4h-.65v1.14c0 .25.13.37.31.37.12 0 .24-.03.34-.09v.43a.82.82 0 0 1-.37.1c-.46 0-.71-.25-.71-.8Zm1.36-1.54h.46l.52 1.67.62-1.67h.43l.62 1.67.55-1.67h.47l-.8 2.28h-.44l-.61-1.66-.65 1.7h-.46l-.71-2.32Zm3.88 1.14a1.2 1.2 0 1 1 .74 1.12 1.19 1.19 0 0 1-.74-1.12Zm1.92 0a.74.74 0 1 0-1.48.07.72.72 0 0 0 .74.7.74.74 0 0 0 .74-.77Zm.89-1.14h.46v.4a.72.72 0 0 1 .65-.4h.19v.46h-.28c-.37 0-.56.16-.56.6v1.22h-.46v-2.28Zm2.59 1.24-.4.43v.58h-.46v-3.3h.46V20l1.08-1.17h.55l-.89.96.92 1.32h-.52l-.74-1.04ZM5.2 10.16H3.72v5.18H5.2c.66.03 1.32-.18 1.85-.59a2.56 2.56 0 0 0 .92-1.97c0-1.54-1.14-2.62-2.77-2.62Zm1.2 3.88c-.3.28-.74.4-1.39.4h-.28v-3.39h.28a1.88 1.88 0 0 1 1.39.43 1.73 1.73 0 0 1 .55 1.3c0 .48-.2.93-.55 1.26Zm2.03-3.88h1.02v5.18H8.43v-5.18Zm3.49 2c-.62-.22-.77-.37-.77-.65 0-.34.3-.58.74-.58a.97.97 0 0 1 .8.43l.53-.68a2.32 2.32 0 0 0-1.52-.59 1.52 1.52 0 0 0-1.6 1.42v.06c0 .71.34 1.08 1.26 1.42.25.08.49.18.71.31a.64.64 0 0 1 .31.53.75.75 0 0 1-.74.74h-.03a1.29 1.29 0 0 1-1.1-.68l-.66.61a2 2 0 0 0 1.8 1 1.68 1.68 0 0 0 1.78-1.7c-.03-.87-.37-1.24-1.51-1.64Zm1.82.59a2.66 2.66 0 0 0 2.65 2.68h.06c.44 0 .88-.1 1.27-.3v-1.18a1.54 1.54 0 0 1-1.2.55 1.69 1.69 0 0 1-1.73-1.63v-.15a1.72 1.72 0 0 1 1.66-1.8h.03a1.64 1.64 0 0 1 1.27.6v-1.15c-.38-.2-.8-.31-1.23-.3a2.69 2.69 0 0 0-2.78 2.68Zm11.97.9-1.4-3.5h-1.07l2.19 5.31h.52l2.25-5.3h-1.1l-1.4 3.48Zm2.96 1.69h2.83v-.87h-1.85v-1.41h1.8v-.87h-1.8v-1.14h1.85v-.9h-2.83v5.19Zm6.84-3.64c0-.96-.68-1.51-1.82-1.51h-1.48v5.18h1.02v-2.1h.12l1.4 2.07h1.23l-1.64-2.2a1.36 1.36 0 0 0 1.17-1.44Zm-2.03.86h-.31V11h.3c.62 0 .96.28.96.77.03.52-.3.8-.95.8Zm2.84-2.13c0-.09-.07-.15-.19-.15h-.15v.46h.12v-.15l.12.18h.13l-.13-.21c.06 0 .1-.06.1-.13Zm-.19.07-.03-.13h.03c.06 0 .1.03.1.06-.04.07-.07.07-.1.07Z"})),(0,s.h)("path",{fill:t?"#fff":"#000",d:"M36.16 10.13a.4.4 0 0 0-.4.4.4.4 0 1 0 .8 0 .4.4 0 0 0-.4-.4Zm0 .74a.32.32 0 0 1-.34-.31.32.32 0 0 1 .65-.03.34.34 0 0 1-.3.34Z"}),(0,s.h)("path",{fill:"url(#c)",d:"M18.06 12.75a2.75 2.75 0 1 0 5.49 0 2.75 2.75 0 0 0-5.5 0Z"}),(0,s.h)("path",{fill:"url(#d)",d:"M18.06 12.75a2.75 2.75 0 1 0 5.49 0 2.75 2.75 0 0 0-5.5 0Z"}),(0,s.h)("mask",{id:"e",width:"6",height:"6",x:"18",y:"10",maskUnits:"userSpaceOnUse",style:"mask-type:luminance"},(0,s.h)("path",{fill:"#fff",d:"M18.06 12.75a2.74 2.74 0 1 0 5.49 0 2.74 2.74 0 0 0-5.5 0Z"})),(0,s.h)("g",{mask:"url(#e)"},(0,s.h)("path",{fill:"url(#f)",d:"M17.75 12.87a3.36 3.36 0 1 0 6.72 0 3.36 3.36 0 0 0-6.72 0Z"}))),(0,s.h)("g",{"clip-path":"url(#g)"},(0,s.h)("g",{"clip-path":"url(#h)"},(0,s.h)("path",{fill:t?"#fff":"#000",d:"M3.5 19.56a1.6 1.6 0 0 1 1.54-1.6h.06a1.52 1.52 0 0 1 1.42.77l-.43.25a1.02 1.02 0 0 0-.99-.59 1.13 1.13 0 0 0-1.14 1.11v.03a1.05 1.05 0 0 0 .99 1.14h.1a.94.94 0 0 0 1.04-.83H5.01v-.43h1.51v1.66h-.46v-.49l.03-.12a1.08 1.08 0 0 1-1.08.64 1.49 1.49 0 0 1-1.51-1.48v-.06Zm3.58-1.79h.46v3.33h-.46v-3.33Zm.92 2.2a1.2 1.2 0 1 1 .74 1.11A1.19 1.19 0 0 1 8 19.96Zm1.91 0a.74.74 0 1 0-1.48.06.72.72 0 0 0 .74.7.74.74 0 0 0 .74-.77Zm1.36.8v.33h-.46v-3.36h.46v1.4a.98.98 0 0 1 .77-.38 1.19 1.19 0 0 1 0 2.38.9.9 0 0 1-.77-.37Zm1.48-.8a.75.75 0 1 0-1.5-.04v.03a.76.76 0 1 0 1.5 0Zm.8.55c0-.46.28-.65.9-.74.43-.06.58-.1.58-.25s-.12-.37-.46-.37a.54.54 0 0 0-.58.43l-.44-.18a1.01 1.01 0 0 1 1.02-.65c.59 0 .96.3.96.86v1.48h-.43v-.33a.75.75 0 0 1-.74.4c-.5 0-.8-.28-.8-.65Zm1.33.06a.5.5 0 0 0 .19-.4v-.19c0 .1-.16.13-.5.16-.4.06-.55.15-.55.34 0 .15.15.28.37.28.18 0 .35-.07.49-.19Zm1.14-2.8h.46v3.32h-.46v-3.33Zm2.04.24h.5l1.53 2.34v-2.34h.47v3.12h-.47l-1.57-2.41v2.4h-.46v-3.11Zm2.96 1.94a1.18 1.18 0 0 1 1.17-1.2h.03a1.14 1.14 0 0 1 1.17 1.11v.25h-1.94a.77.77 0 0 0 .96.58c.2-.05.37-.17.49-.34l.37.22a1.18 1.18 0 0 1-1.05.56 1.15 1.15 0 0 1-1.2-1.11v-.07Zm.46-.21h1.45a.67.67 0 0 0-.7-.56.7.7 0 0 0-.75.56Zm2.56.61v-1.14h-.46v-.4h.46v-.5l.46-.3v.8h.62v.4h-.65v1.14c0 .25.13.37.31.37.12 0 .24-.03.34-.09v.43a.82.82 0 0 1-.37.1c-.46 0-.71-.25-.71-.8Zm1.36-1.54h.46l.52 1.67.62-1.67h.43l.62 1.67.55-1.67h.47l-.8 2.28h-.44l-.61-1.66-.65 1.7h-.46l-.71-2.32Zm3.88 1.14a1.2 1.2 0 1 1 .74 1.12 1.19 1.19 0 0 1-.74-1.12Zm1.92 0a.74.74 0 1 0-1.48.07.72.72 0 0 0 .74.7.74.74 0 0 0 .74-.77Zm.89-1.14h.46v.4a.72.72 0 0 1 .65-.4h.19v.46h-.28c-.37 0-.56.16-.56.6v1.22h-.46v-2.28Zm2.59 1.24-.4.43v.58h-.46v-3.3h.46V20l1.08-1.17h.55l-.89.96.92 1.32h-.52l-.74-1.04ZM5.2 10.16H3.72v5.18H5.2c.66.03 1.32-.18 1.85-.59a2.56 2.56 0 0 0 .92-1.97c0-1.54-1.14-2.62-2.77-2.62Zm1.2 3.88c-.3.28-.74.4-1.39.4h-.28v-3.39h.28a1.88 1.88 0 0 1 1.39.43 1.73 1.73 0 0 1 .55 1.3c0 .48-.2.93-.55 1.26Zm2.03-3.88h1.02v5.18H8.43v-5.18Zm3.49 2c-.62-.22-.77-.37-.77-.65 0-.34.3-.58.74-.58a.97.97 0 0 1 .8.43l.53-.68a2.32 2.32 0 0 0-1.52-.59 1.52 1.52 0 0 0-1.6 1.42v.06c0 .71.34 1.08 1.26 1.42.25.08.49.18.71.31a.64.64 0 0 1 .31.53.75.75 0 0 1-.74.74h-.03a1.29 1.29 0 0 1-1.1-.68l-.66.61a2 2 0 0 0 1.8 1 1.68 1.68 0 0 0 1.78-1.7c-.03-.87-.37-1.24-1.51-1.64Zm1.82.59a2.66 2.66 0 0 0 2.65 2.68h.06c.44 0 .88-.1 1.27-.3v-1.18a1.54 1.54 0 0 1-1.2.55 1.69 1.69 0 0 1-1.73-1.63v-.15a1.72 1.72 0 0 1 1.66-1.8h.03a1.64 1.64 0 0 1 1.27.6v-1.15c-.38-.2-.8-.31-1.23-.3a2.69 2.69 0 0 0-2.78 2.68Zm11.97.9-1.4-3.5h-1.07l2.19 5.31h.52l2.25-5.3h-1.1l-1.4 3.48Zm2.96 1.69h2.83v-.87h-1.85v-1.41h1.8v-.87h-1.8v-1.14h1.85v-.9h-2.83v5.19Zm6.84-3.64c0-.96-.68-1.51-1.82-1.51h-1.48v5.18h1.02v-2.1h.12l1.4 2.07h1.23l-1.64-2.2a1.36 1.36 0 0 0 1.17-1.44Zm-2.03.86h-.31V11h.3c.62 0 .96.28.96.77.03.52-.3.8-.95.8Zm2.84-2.13c0-.09-.07-.15-.19-.15h-.15v.46h.12v-.15l.12.18h.13l-.13-.21c.06 0 .1-.06.1-.13Zm-.19.07-.03-.13h.03c.06 0 .1.03.1.06-.04.07-.07.07-.1.07Z"})),(0,s.h)("path",{fill:t?"#fff":"#000",d:"M36.16 10.13a.4.4 0 0 0-.4.4.4.4 0 1 0 .8 0 .4.4 0 0 0-.4-.4Zm0 .74a.32.32 0 0 1-.34-.31.32.32 0 0 1 .65-.03.34.34 0 0 1-.3.34Z"}),(0,s.h)("path",{fill:"url(#i)",d:"M18.06 12.75a2.75 2.75 0 1 0 5.49 0 2.75 2.75 0 0 0-5.5 0Z"}),(0,s.h)("path",{fill:"url(#j)",d:"M18.06 12.75a2.75 2.75 0 1 0 5.49 0 2.75 2.75 0 0 0-5.5 0Z"}),(0,s.h)("mask",{id:"k",width:"6",height:"6",x:"18",y:"10",maskUnits:"userSpaceOnUse",style:"mask-type:luminance"},(0,s.h)("path",{fill:"#fff",d:"M18.06 12.75a2.74 2.74 0 1 0 5.49 0 2.74 2.74 0 0 0-5.5 0Z"})),(0,s.h)("g",{mask:"url(#k)"},(0,s.h)("path",{fill:"url(#l)",d:"M17.75 12.87a3.36 3.36 0 1 0 6.72 0 3.36 3.36 0 0 0-6.72 0Z"}))),(0,s.h)("defs",null,(0,s.h)("linearGradient",{id:"c",x1:"22.25",x2:"19.35",y1:"15.06",y2:"10.42",gradientUnits:"userSpaceOnUse"},(0,s.h)("stop",{offset:"0","stop-color":"#F59F00"}),(0,s.h)("stop",{offset:".19","stop-color":"#F49B00"}),(0,s.h)("stop",{offset:".37","stop-color":"#F29101"}),(0,s.h)("stop",{offset:".5","stop-color":"#F08302"}),(0,s.h)("stop",{offset:".6","stop-color":"#EE7905"}),(0,s.h)("stop",{offset:".76","stop-color":"#EC7008"}),(0,s.h)("stop",{offset:"1","stop-color":"#EC6D09"})),(0,s.h)("linearGradient",{id:"d",x1:"22.25",x2:"19.35",y1:"15.06",y2:"10.42",gradientUnits:"userSpaceOnUse"},(0,s.h)("stop",{offset:"0","stop-color":"#F3941E","stop-opacity":"0"}),(0,s.h)("stop",{offset:".04","stop-color":"#F48C1C","stop-opacity":".08"}),(0,s.h)("stop",{offset:".2","stop-color":"#F77314","stop-opacity":".32"}),(0,s.h)("stop",{offset:".35","stop-color":"#F95D0E","stop-opacity":".53"}),(0,s.h)("stop",{offset:".5","stop-color":"#FB4B09","stop-opacity":".7"}),(0,s.h)("stop",{offset:".64","stop-color":"#FD3D05","stop-opacity":".83"}),(0,s.h)("stop",{offset:".77","stop-color":"#FE3302","stop-opacity":".92"}),(0,s.h)("stop",{offset:".9","stop-color":"#FF2D01","stop-opacity":".98"}),(0,s.h)("stop",{offset:"1","stop-color":"#FF2B00"})),(0,s.h)("radialGradient",{id:"f",cx:"0",cy:"0",r:"1",gradientTransform:"rotate(4.24 -167.26 291.02) scale(3.3208)",gradientUnits:"userSpaceOnUse"},(0,s.h)("stop",{offset:"0","stop-color":"#F3941E","stop-opacity":"0"}),(0,s.h)("stop",{offset:".45","stop-color":"#EA8D1D","stop-opacity":".05"}),(0,s.h)("stop",{offset:".66","stop-color":"#CA7618","stop-opacity":".2"}),(0,s.h)("stop",{offset:".83","stop-color":"#924D10","stop-opacity":".48"}),(0,s.h)("stop",{offset:".96","stop-color":"#441304","stop-opacity":".87"}),(0,s.h)("stop",{offset:".99","stop-color":"#2F0401","stop-opacity":".97"})),(0,s.h)("linearGradient",{id:"i",x1:"22.25",x2:"19.35",y1:"15.06",y2:"10.42",gradientUnits:"userSpaceOnUse"},(0,s.h)("stop",{offset:"0","stop-color":"#F59F00"}),(0,s.h)("stop",{offset:".19","stop-color":"#F49B00"}),(0,s.h)("stop",{offset:".37","stop-color":"#F29101"}),(0,s.h)("stop",{offset:".5","stop-color":"#F08302"}),(0,s.h)("stop",{offset:".6","stop-color":"#EE7905"}),(0,s.h)("stop",{offset:".76","stop-color":"#EC7008"}),(0,s.h)("stop",{offset:"1","stop-color":"#EC6D09"})),(0,s.h)("linearGradient",{id:"j",x1:"22.25",x2:"19.35",y1:"15.06",y2:"10.42",gradientUnits:"userSpaceOnUse"},(0,s.h)("stop",{offset:"0","stop-color":"#F3941E","stop-opacity":"0"}),(0,s.h)("stop",{offset:".04","stop-color":"#F48C1C","stop-opacity":".08"}),(0,s.h)("stop",{offset:".2","stop-color":"#F77314","stop-opacity":".32"}),(0,s.h)("stop",{offset:".35","stop-color":"#F95D0E","stop-opacity":".53"}),(0,s.h)("stop",{offset:".5","stop-color":"#FB4B09","stop-opacity":".7"}),(0,s.h)("stop",{offset:".64","stop-color":"#FD3D05","stop-opacity":".83"}),(0,s.h)("stop",{offset:".77","stop-color":"#FE3302","stop-opacity":".92"}),(0,s.h)("stop",{offset:".9","stop-color":"#FF2D01","stop-opacity":".98"}),(0,s.h)("stop",{offset:"1","stop-color":"#FF2B00"})),(0,s.h)("radialGradient",{id:"l",cx:"0",cy:"0",r:"1",gradientTransform:"rotate(4.24 -167.26 291.02) scale(3.3208)",gradientUnits:"userSpaceOnUse"},(0,s.h)("stop",{offset:"0","stop-color":"#F3941E","stop-opacity":"0"}),(0,s.h)("stop",{offset:".45","stop-color":"#EA8D1D","stop-opacity":".05"}),(0,s.h)("stop",{offset:".66","stop-color":"#CA7618","stop-opacity":".2"}),(0,s.h)("stop",{offset:".83","stop-color":"#924D10","stop-opacity":".48"}),(0,s.h)("stop",{offset:".96","stop-color":"#441304","stop-opacity":".87"}),(0,s.h)("stop",{offset:".99","stop-color":"#2F0401","stop-opacity":".97"})),(0,s.h)("clipPath",{id:"a"},(0,s.h)("path",{fill:"#fff",d:"M0 0h33v5.55H0z",transform:"translate(3.5 10)"})),(0,s.h)("clipPath",{id:"b"},(0,s.h)("path",{fill:"#fff",d:"M0 0h33v5.86H0z",transform:"translate(3.5 10)"})),(0,s.h)("clipPath",{id:"g"},(0,s.h)("path",{fill:"#fff",d:"M0 0h33v5.55H0z",transform:"translate(3.5 10)"})),(0,s.h)("clipPath",{id:"h"},(0,s.h)("path",{fill:"#fff",d:"M0 0h33v5.86H0z",transform:"translate(3.5 10)"})))),Wt=Kr;var ce=require("preact"),Jr=({opacity:e=1})=>(0,ce.h)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 40 26",width:"30",height:"19.5",opacity:e},(0,ce.h)("rect",{width:"45.3",height:"27",x:"-3.3",y:"-.79",fill:"#fff",rx:"2.82"}),(0,ce.h)("path",{fill:"#01798a",d:"M27.27-.79a4.06 4.06 0 0 0-3.6 2.8l-4.96 23.42a2.14 2.14 0 0 0 2 2.8h18.35a2.81 2.81 0 0 0 2.8-2.82V1.15A2.25 2.25 0 0 0 40-.8"}),(0,ce.h)("rect",{width:"20.38",height:"29.02",x:"-4",y:"-.79",fill:"#dc1f2b",rx:"2.82"}),(0,ce.h)("path",{fill:"#1a4580",d:"M24.37 2.02a3.98 3.98 0 0 1 3.48-2.8H14.18a3.97 3.97 0 0 0-3.5 2.8l-4.85 23.4a2.13 2.13 0 0 0 1.94 2.81h13.7a2.13 2.13 0 0 1-1.94-2.8z"}),(0,ce.h)("path",{fill:"#fff",d:"M16.63 15.04h.18a.32.32 0 0 0 .32-.17l.46-.7h1.24l-.26.47h1.49l-.2.7H18.1a.82.82 0 0 1-.75.44h-.92zm-.2 1h3.25l-.21.77h-1.3l-.2.74h1.27l-.21.77h-1.27l-.3 1.09c-.07.18.02.26.29.24h1.03l-.19.71H16.6q-.57 0-.39-.65l.38-1.4h-.81l.2-.76h.82l.2-.74h-.78l.2-.76zm5.19-1.87-.06.45a2.37 2.37 0 0 1 1.18-.47h2.05l-.78 2.88q-.1.5-.84.5h-2.34l-.54 2.01c-.03.11.01.17.13.17h.46l-.17.62h-1.17q-.67 0-.56-.4l1.54-5.76zm1.74.81h-1.84l-.22.78a1.52 1.52 0 0 1 .82-.23h1.1zm-.67 1.8c.14.02.22-.03.22-.16l.12-.4h-1.84l-.16.57zm-1.24.93h1.06l-.02.47h.29c.14 0 .2-.05.2-.14l.1-.3h.87l-.11.44a.76.76 0 0 1-.8.57h-.56v.8c-.01.12.1.18.33.18h.53l-.17.63H21.9c-.36.02-.53-.15-.53-.52zM8.6 10.34a2.62 2.62 0 0 1-1 1.64 3.24 3.24 0 0 1-1.98.58 2.16 2.16 0 0 1-1.68-.59 1.54 1.54 0 0 1-.37-1.06 2.86 2.86 0 0 1 .06-.57l.87-4.2h1.3l-.85 4.15a1.35 1.35 0 0 0-.04.32.82.82 0 0 0 .16.52.89.89 0 0 0 .75.3 1.56 1.56 0 0 0 1-.3 1.37 1.37 0 0 0 .5-.84l.84-4.15h1.3zm5.47-1.65h1.02l-.8 3.74h-1.02zm.32-1.37h1.03l-.2.91H14.2l.19-.9M16 12.15a1.39 1.39 0 0 1-.41-1.05 2.45 2.45 0 0 1 .01-.25l.04-.27a2.55 2.55 0 0 1 .78-1.45 2.07 2.07 0 0 1 1.43-.54 1.5 1.5 0 0 1 1.1.39 1.4 1.4 0 0 1 .4 1.06 2.59 2.59 0 0 1-.02.26l-.05.28a2.48 2.48 0 0 1-.77 1.42 2.08 2.08 0 0 1-1.43.53 1.5 1.5 0 0 1-1.09-.38m1.95-.74a1.84 1.84 0 0 0 .38-.9.58.58 0 0 0 .03-.19 1.74 1.74 0 0 0 .01-.17.76.76 0 0 0-.17-.54.64.64 0 0 0-.5-.2.89.89 0 0 0-.7.3 1.9 1.9 0 0 0-.38.92l-.03.18a1.36 1.36 0 0 0-.01.17.75.75 0 0 0 .17.54.64.64 0 0 0 .5.18.9.9 0 0 0 .7-.3m8.02 3.67.25-.87h1.24l-.05.32a3.1 3.1 0 0 1 1.09-.32h1.54l-.25.87h-.24l-1.16 4.12h.24l-.23.82h-.24l-.1.36h-1.2l.1-.36h-2.38l.23-.82h.24l1.16-4.12zm1.34 0L27 16.2a5.13 5.13 0 0 1 1-.27c.1-.4.24-.85.24-.85zm-.46 1.64-.32 1.17a3.44 3.44 0 0 1 1.01-.33l.24-.84zm.23 2.48.24-.84h-.93l-.24.84zm3.01-5.05h1.17l.05.44c0 .11.06.16.2.16h.2l-.2.74h-.87c-.32.02-.5-.1-.5-.38zm-.34 1.59h3.79l-.23.79h-1.2l-.2.74h1.2l-.23.79h-1.34l-.3.46h.65l.16.93c.01.09.1.13.23.13h.2l-.2.77h-.73c-.37.02-.57-.1-.58-.38l-.18-.85-.6.9a.65.65 0 0 1-.65.36h-1.1l.22-.77h.34a.46.46 0 0 0 .36-.19l.94-1.36h-1.2l.22-.8h1.3l.21-.73h-1.3l.22-.8zM9.8 8.69h.92l-.1.54.12-.16a1.43 1.43 0 0 1 1.1-.48 1 1 0 0 1 .83.34 1.15 1.15 0 0 1 .14.95l-.5 2.56h-.95l.46-2.32a.74.74 0 0 0-.04-.53.44.44 0 0 0-.4-.17.88.88 0 0 0-.62.23 1.14 1.14 0 0 0-.34.63L10 12.44h-.94zm10.55 0h.92l-.1.54.13-.16a1.43 1.43 0 0 1 1.08-.48.99.99 0 0 1 .85.34 1.14 1.14 0 0 1 .13.95l-.5 2.56h-.95l.46-2.32a.75.75 0 0 0-.04-.53.45.45 0 0 0-.4-.17.89.89 0 0 0-.62.23 1.12 1.12 0 0 0-.33.63l-.43 2.16h-.94zm4.55-2.33h2.67a1.8 1.8 0 0 1 1.19.35 1.25 1.25 0 0 1 .4 1v.02a3.77 3.77 0 0 1-.06.59 2.38 2.38 0 0 1-.81 1.4 2.29 2.29 0 0 1-1.5.52h-1.44l-.44 2.2h-1.24zm.67 2.82h1.19a1.14 1.14 0 0 0 .73-.21 1.14 1.14 0 0 0 .36-.67l.03-.15v-.13a.52.52 0 0 0-.22-.47 1.35 1.35 0 0 0-.72-.15h-1zm9.15 3.98a5.91 5.91 0 0 1-.98 1.56 1.99 1.99 0 0 1-1.7.71l.08-.64c.89-.27 1.36-1.51 1.64-2.06l-.33-4.03.68-.01h.58l.06 2.53 1.07-2.53h1.09zM31.68 9l-.43.3a1.35 1.35 0 0 0-1.66-.21c-1.08.5-1.98 4.4 1 3.11l.17.2 1.17.04.77-3.54zm-.66 1.92c-.2.56-.61.94-.94.83-.33-.1-.45-.64-.26-1.2.19-.57.61-.94.94-.83.33.1.45.64.26 1.2"})),jt=Jr;var Fe=require("preact");g(`.straumur__tooltip__content{position:absolute;z-index:50;padding:var(--straumur__space-s);border-radius:var(--straumur__border-radius-s);right:40%;width:max-content;color:var(--straumur__color-white);background-color:var(--straumur__color-primary);box-shadow:0 10px 15px -3px #0000001a,0 4px 6px -2px #0000000d}.straumur__tooltip__content--bottom{top:100%}.straumur__tooltip__content--top{bottom:100%}
4
- `);var Ne=require("preact/hooks"),ve=({children:e,content:t,placement:r="bottom"})=>{let[o,a]=(0,Ne.useState)(!1),n=(0,Ne.useRef)(null);return(0,Fe.h)("div",{style:{position:"relative"}},(0,Fe.h)("div",{ref:n,onMouseEnter:()=>{a(!0)},onMouseLeave:()=>{a(!1)}},e),o&&n&&(0,Fe.h)("div",{className:`straumur__tooltip__content straumur__tooltip__content--${r}`},t))};var Le=require("preact/hooks");function pt(e){let t=()=>window.matchMedia(e).matches,[r,o]=(0,Le.useState)(t);return(0,Le.useEffect)(()=>{let a=window.matchMedia(e),n=i=>o(i.matches);return o(a.matches),a.addEventListener("change",n),()=>{a.removeEventListener("change",n)}},[e]),r}var Kt=["visa","mc","maestro","amex","jcb","cup"],Jt=e=>{let t=Kt.indexOf(e);return t===-1?Kt.length:t};function Oe({brands:e,brandHidden:t=[],limit:r=4,theme:o="light"}){let a=pt("(max-width: 380px)"),i=pt("(max-width: 335px)")?1:a?2:r,l=e.filter(m=>!t.some(d=>d.brand===m.brand)).sort((m,d)=>Jt(m.brand)-Jt(d.brand));return(0,P.h)(P.Fragment,null,l.map(({brand:m},d)=>d>=Math.min(r,i)?d===Math.min(r,i)?(0,P.h)(ve,{content:(0,P.h)("span",{style:{display:"flex",gap:"4px",overflow:"visible"}},l.slice(Math.min(r,i)).map(({brand:p})=>(0,P.h)(He,{key:p,brand:p,theme:o})))},(0,P.h)("span",{key:m,className:"straumur__render-brand-icons__overflow"},"+",l.length-Math.min(r,i))):null:(0,P.h)(He,{key:m,brand:m,theme:o})))}var ht=(e,t)=>t?(0,P.h)("span",{className:"straumur__brand-chip"},e):e,He=({brand:e,theme:t="light",defaultToBrandName:r=!0})=>{let o=t==="dark";switch(e){case"visa":return(0,P.h)(Ot,{reversed:o});case"mc":return(0,P.h)(Ht,{reversed:o});case"maestro":return(0,P.h)(Ut,{reversed:o});case"discover":return(0,P.h)(Wt,{reversed:o});case"amex":return(0,P.h)(Zt,null);case"jcb":return ht((0,P.h)(Gt,null),o);case"diners":return ht((0,P.h)(Vt,null),o);case"cup":return ht((0,P.h)(jt,null),o);default:return r?(0,P.h)("span",null,e):(0,P.h)(P.Fragment,null)}};var h=require("preact"),I=require("preact/hooks");var Ke=require("@adyen/adyen-web");var re=require("preact"),$r=()=>(0,re.h)("svg",{width:"21",height:"20",viewBox:"0 0 21 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,re.h)("g",{"clip-path":"url(#clip0_10626_39119)"},(0,re.h)("path",{d:"M10.6641 7.5C11.3543 7.5 11.9141 6.94023 11.9141 6.25C11.9141 5.55977 11.3543 5 10.6641 5C9.97383 5 9.41406 5.55859 9.41406 6.25C9.41406 6.94141 9.97266 7.5 10.6641 7.5ZM12.2266 13.125H11.6016V9.6875C11.6016 9.17188 11.1836 8.75 10.6641 8.75H9.41406C8.89844 8.75 8.47656 9.17188 8.47656 9.6875C8.47656 10.2031 8.89844 10.625 9.41406 10.625H9.72656V13.125H9.10156C8.58594 13.125 8.16406 13.5469 8.16406 14.0625C8.16406 14.5781 8.58594 15 9.10156 15H12.2266C12.7441 15 13.1641 14.5801 13.1641 14.0625C13.1641 13.5449 12.7461 13.125 12.2266 13.125Z",fill:"currentColor"}),(0,re.h)("path",{opacity:"0.4",d:"M10.6641 0C5.14062 0 0.664062 4.47656 0.664062 10C0.664062 15.5234 5.14062 20 10.6641 20C16.1875 20 20.6641 15.5234 20.6641 10C20.6641 4.47656 16.1875 0 10.6641 0ZM10.6641 5C11.3543 5 11.9141 5.55977 11.9141 6.25C11.9141 6.94023 11.3543 7.5 10.6641 7.5C9.97383 7.5 9.41406 6.94141 9.41406 6.25C9.41406 5.55859 9.97266 5 10.6641 5ZM12.2266 15H9.10156C8.58594 15 8.16406 14.582 8.16406 14.0625C8.16406 13.543 8.58398 13.125 9.10156 13.125H9.72656V10.625H9.41406C8.89648 10.625 8.47656 10.2051 8.47656 9.6875C8.47656 9.16992 8.89844 8.75 9.41406 8.75H10.6641C11.1816 8.75 11.6016 9.16992 11.6016 9.6875V13.125H12.2266C12.7441 13.125 13.1641 13.5449 13.1641 14.0625C13.1641 14.5801 12.7461 15 12.2266 15Z",fill:"currentColor"})),(0,re.h)("defs",null,(0,re.h)("clipPath",{id:"clip0_10626_39119"},(0,re.h)("rect",{width:"20",height:"20",fill:"white",transform:"translate(0.664062)"})))),Ue=$r;var ue=require("preact"),Xr=()=>(0,ue.h)("svg",{width:"40",height:"40",viewBox:"0 0 40 40",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor"},(0,ue.h)("g",{fill:"none","fill-rule":"evenodd"},(0,ue.h)("g",{transform:"translate(2 2)","stroke-width":"4"},(0,ue.h)("circle",{"stroke-opacity":".3",cx:"18",cy:"18",r:"18"}),(0,ue.h)("path",{d:"M36 18c0-9.94-8.06-18-18-18"},(0,ue.h)("animateTransform",{attributeName:"transform",type:"rotate",from:"0 18 18",to:"360 18 18",dur:"1s",repeatCount:"indefinite"}))))),oe=Xr;var ft=require("preact"),qr=({color:e="var(--straumur__color-primary)"})=>(0,ft.h)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"13",viewBox:"0 0 16 13",fill:"none"},(0,ft.h)("path",{d:"M2 7L6 11L14 2",stroke:e,"stroke-width":"3","stroke-linecap":"round","stroke-linejoin":"round"})),Ze=qr;var ae=require("preact");function $t({brand:e,brandName:t,isSelected:r,onBrandClick:o}){let a=n=>{(n.key==="Enter"||n.key===" ")&&(n.preventDefault(),n.currentTarget.click())};return(0,ae.h)("span",{className:"straumur__card-component__dual-branding--logo"+(r?" straumur__card-component__dual-branding--logo--selected":""),title:e,"data-value":e,onClick:o,onKeyDown:a,role:"radio","aria-checked":r,"aria-label":t??e,tabIndex:0},(0,ae.h)("div",{className:"straumur__card-component__dual-branding--logo--item"},(0,ae.h)(He,{brand:e,defaultToBrandName:!1}),"\xA0",t??""),r&&(0,ae.h)(Ze,{color:"var(--straumur__color-neon-green-zeta)"}))}function Xt({dualBrandConfiguration:e,selectedBrand:t,onBrandClick:r}){return(0,ae.h)("div",{className:"straumur__card-component__dual-branding",role:"radiogroup","aria-label":"Card brand"},(0,ae.h)($t,{brand:e.brand1,brandName:e.brand1Name,isSelected:t===e.brand1,onBrandClick:r}),(0,ae.h)($t,{brand:e.brand2,brandName:e.brand2Name,isSelected:t===e.brand2,onBrandClick:r}))}var Yr=["AuthenticationFinished","AuthenticationNotRequired","Authorised","Cancelled","ChallengeShopper","Error","IdentifyShopper","PartiallyAuthorised","Pending","PresentToShopper","Received","RedirectShopper","Refused"];function yt(e){return e&&Yr.includes(e)?e:"Error"}var F=class extends Error{messageKey;messageText;constructor(t,r){super(r??t),this.messageKey=t,this.messageText=r}};function we(e,t){return e instanceof F?e.messageText?{text:e.messageText}:{key:e.messageKey}:{key:t}}function qt(e,t){return{async submitPayment(r){let o={...r,sessionId:t},a=await wt(e,o);if(!a.ok)throw new F("error.failedToSubmitPayment");let n=await a.json();if(!n.resultCode)throw new F("error.paymentFailed");return{resultCode:n.resultCode,action:n.action}},async submitAdditionalDetails(r){let o={...r,sessionId:t},a=await Mt(e,o);if(!a.ok)throw new F("error.failedToSubmitPaymentDetails");let n=await a.json();if(!n.resultCode)throw new F("error.paymentDetailsFailed");return{resultCode:n.resultCode,action:n.action}},async disableToken(r){let a=await kt(e,{storedPaymentMethodId:r,sessionId:t});if(!a.ok)throw new F("error.failedToSubmitRemoveStoredPaymentCard");if(!(await a.json()).success)throw new F("error.failedToRemoveStoredPaymentCard")}}}function Yt(e){function t(a,n,i,l){let m=d=>i(d instanceof F?d:new F(l));try{Promise.resolve(a(n,i)).catch(m)}catch(d){m(d)}}let r={submitPayment(a){return new Promise((n,i)=>{t((l,m)=>e.onSubmit({data:a},{resolve:l,reject:d=>m(new F("error.failedToSubmitPayment",d))}),n,i,"error.failedToSubmitPayment")})},submitAdditionalDetails(a){return new Promise((n,i)=>{t((l,m)=>e.onAdditionalDetails({data:a},{resolve:l,reject:d=>m(new F("error.failedToSubmitPaymentDetails",d))}),n,i,"error.failedToSubmitPaymentDetails")})},beforeSubmit:e.onBeforeSubmit},{onDisableToken:o}=e;return o&&(r.disableToken=a=>new Promise((n,i)=>{t((l,m)=>o({storedPaymentMethodId:a},{resolve:()=>l(),reject:()=>m(new F("error.failedToRemoveStoredPaymentCard"))}),n,i,"error.failedToSubmitRemoveStoredPaymentCard")})),r}async function vt(e){let{beforeSubmit:t}=e;return!t||await t()}async function Ge(e,t){t()&&await vt(e)&&t()?.submit()}function _t(e){return(t,r)=>{let{beforeSubmit:o}=e;if(!o){t();return}let a=o();if(a instanceof Promise){a.then(n=>n?t():r()).catch(()=>r());return}if(a){t();return}r()}}var Qr=["Refused","Cancelled","Error"];function ne(e){let{configuration:t,handleSuccess:r,handleError:o,setThreeDSecureActive:a,enrichSubmitData:n,onSubmitStart:i,dispatchResultFromAdditionalDetails:l}=e,m;function d(){return m?{text:m}:{key:"error.paymentUnsuccessful"}}function p(u){u==="Authorised"?r({key:"success.paymentAuthorized"}):o(d()),Qr.includes(u)?t.onPaymentFailed?.({resultCode:u}):t.onPaymentCompleted?.({resultCode:u})}async function _(u,R,T){i?.();let{paymentFlow:E}=t;if(!await vt(E)){T.reject();return}try{let z=n?n(u.data):u.data,{resultCode:f,action:j,errorMessage:N}=await E.submitPayment(z);m=N,(f==="ChallengeShopper"||f==="IdentifyShopper")&&a(!0),T.resolve({resultCode:f,action:j})}catch(z){T.reject(),o(we(z,"error.failedToSubmitPayment"))}}async function A(u,R,T){try{let{resultCode:E,action:z,errorMessage:f}=await t.paymentFlow.submitAdditionalDetails(u.data);m=f,T.resolve({resultCode:E,action:z}),l&&p(E)}catch(E){T.reject(),o(we(E,"error.failedToSubmitPaymentDetails")),l&&t.onPaymentFailed?.({resultCode:"Error"})}}function M(u,R){p(yt(u.resultCode))}function B(u,R){p(u?yt(u.resultCode):"Error")}return{handleOnSubmit:_,handleOnSubmitAdditionalData:A,handlePaymentCompleted:M,handlePaymentFailed:B}}var Qt=require("preact/hooks");function _e(e,t,r){(0,Qt.useEffect)(()=>{t()&&r()},[e])}var er=require("preact/hooks");function Ve(e,t){(0,er.useEffect)(()=>{t&&e.current?.focus()},[t,e])}var We=require("preact/hooks"),tr="(prefers-color-scheme: dark)";function eo(){return typeof window<"u"&&typeof window.matchMedia=="function"?window.matchMedia(tr).matches:!1}function $(e){let[t,r]=(0,We.useState)(eo);return(0,We.useEffect)(()=>{if(e!=="system"||typeof window>"u"||typeof window.matchMedia!="function")return;let o=window.matchMedia(tr),a=n=>r(n.matches);return r(o.matches),o.addEventListener("change",a),()=>o.removeEventListener("change",a)},[e]),e==="system"?t?"dark":"light":e}function je(e){return e==="dark"?{base:{color:"#e8edf2"},placeholder:{color:"#aab4bf"},error:{color:"#e08a8a"}}:{base:{color:"#00112c"},placeholder:{color:"#72889d"},error:{color:"#d96666"}}}function to({configuration:e,paymentMethods:t,onBrandHidden:r}){let o=(0,I.useRef)(null),a=(0,I.useRef)(),n=(0,I.useRef)(),{i18n:i}=V(),[l,m]=(0,I.useState)(!0),[d,p]=(0,I.useState)("required"),[_,A]=(0,I.useState)(!1),[M,B]=(0,I.useState)(!1),[u,R]=(0,I.useState)(null),[T,E]=(0,I.useState)(null),z=(0,I.useRef)(!1),[f,j]=(0,I.useState)({encryptedCardNumber:{visible:!1},encryptedExpiryDate:{visible:!1},encryptedSecurityCode:{visible:!1}}),{activePaymentMethod:N,isPaymentMethodInitialized:D,updatePaymentMethodInitialization:ee,handleSuccess:L,handleError:K,setThreeDSecureActive:J,threeDSecureActive:Z,isObscuredByThreeDS:G,hasCard:le,registerSubmitHandler:b,unregisterSubmitHandler:te}=x(),me=$(e.theme);async function Pe(){await Ge(e.paymentFlow,()=>n.current)}(0,I.useEffect)(()=>{if(!(N==="card"&&D.card)){e.onCardValidityChanged?.(!1,!1);return}return b(Pe),e.onCardValidityChanged?.(!1,!0),()=>{te(Pe),e.onCardValidityChanged?.(!1,!1)}},[N,D.card,b,te]);let Se=t.paymentMethods?.paymentMethods?.find(y=>y.type==="scheme")?.brands??[],{handleOnSubmit:st,handleOnSubmitAdditionalData:Ee,handlePaymentCompleted:it,handlePaymentFailed:lt}=ne({configuration:e,handleSuccess:L,handleError:K,setThreeDSecureActive:J,enrichSubmitData:y=>({...y,storePaymentMethod:z.current})});function mt(y,C){K({key:"error.unknownError"})}let Ie=async()=>{n.current?.remove(),a.current=await(0,Ke.AdyenCheckout)({clientKey:t.clientKey,environment:e.environment,locale:e.locale,countryCode:e.countryCode,paymentMethodsResponse:t.paymentMethods,amount:{value:t.minorUnitsAmount,currency:t.currency},onSubmit:st,onAdditionalDetails:Ee,onError:mt,onPaymentCompleted:it,onPaymentFailed:lt}),n.current=new Ke.CustomCard(a.current,{brands:Se,placeholders:e.placeholders,styles:je(me),challengeWindowSize:"05",onBinLookup:y=>{y.supportedBrandsRaw&&y.supportedBrandsRaw.length>1&&(B(!0),R({brand1:y.supportedBrandsRaw[0].brand,brand1Name:y.supportedBrandsRaw[0].localeBrand,brand1ImageUrl:y.supportedBrandsRaw[0].brandImageUrl,brand2:y.supportedBrandsRaw[1].brand,brand2Name:y.supportedBrandsRaw[1].localeBrand,brand2ImageUrl:y.supportedBrandsRaw[1].brandImageUrl}))},onBrand:y=>{if(p(y.cvcPolicy),y.brand==="card"){r([]),E(null);return}let C=Se.filter(S=>S!==y.brand).map(S=>({brand:S}));r(C),Se.filter(S=>S===y.brand).map(S=>({brand:S})).length===1&&E(y.brand)},onConfigSuccess(){ee("card",!0)},onValidationError:y=>{let C={encryptedCardNumber:{visible:!1,message:void 0},encryptedExpiryDate:{visible:!1,message:void 0},encryptedSecurityCode:{visible:!1,message:void 0}};y.filter(S=>S.error).forEach(S=>{C[S.fieldType].visible=!0,C[S.fieldType].message=S.errorI18n}),j(C)},onAllValid:y=>{m(!y.allValid),e.onCardValidityChanged?.(y.allValid,!0)}}),o.current&&n.current.mount(o.current)};(0,I.useEffect)(()=>{le&&N==="card"&&!D.card&&Ie()},[e,N]),_e(e,()=>!!(n.current&&D.card),()=>{Ie(),j({encryptedCardNumber:{visible:!1,message:void 0},encryptedExpiryDate:{visible:!1,message:void 0},encryptedSecurityCode:{visible:!1,message:void 0}})}),(0,I.useEffect)(()=>{z.current=_},[_]);function St(y){n.current.dualBrandingChangeHandler(y)}function dt(y){A(y.currentTarget.checked)}return Ve(o,Z&&N==="card"),!le||G("card")||t.paymentMethods?.paymentMethods?.length===0?null:(0,h.h)("div",{className:"straumur__card-component__expandable",ref:o,tabIndex:-1,style:{height:Z?"600px":"auto",minWidth:Z?"350px":"auto"}},!D.card&&(0,h.h)("div",{className:"straumur__card-component__loading-text"},(0,h.h)(oe,null)),(0,h.h)("div",{className:"straumur__card-component__form",style:{opacity:D.card&&!Z?1:0,position:D.card&&!Z?"relative":"absolute",transition:"opacity 0.3s ease-in-out"}},(0,h.h)("div",{className:"straumur__card-component__form--wrapper"},(0,h.h)("label",{className:`straumur__card-component__form--wrapper--label ${f.encryptedCardNumber.visible?"straumur__card-component__form--wrapper--label--error":""}`},i.t("cards.cardNumber")),(0,h.h)("span",{className:`straumur__card-component__form--wrapper--input ${f.encryptedCardNumber.visible?"straumur__card-component__form--wrapper--input--error":""}`,"data-cse":"encryptedCardNumber",role:"group","aria-label":i.t("cards.cardNumber")}),f.encryptedCardNumber.visible&&(0,h.h)("span",{className:"straumur__card-component__form--wrapper--error"},f.encryptedCardNumber.message)),(0,h.h)("div",{className:"straumur__card-component__form--field-wrapper"},(0,h.h)("div",{className:"straumur__card-component__form--wrapper"},(0,h.h)("label",{className:`straumur__card-component__form--wrapper--label ${f.encryptedExpiryDate.visible?"straumur__card-component__form--wrapper--label--error":""}`},i.t("cards.expiryDate")),(0,h.h)("span",{className:`straumur__card-component__form--wrapper--input ${f.encryptedExpiryDate.visible?"straumur__card-component__form--wrapper--input--error":""}`,"data-cse":"encryptedExpiryDate",role:"group","aria-label":i.t("cards.expiryDate")}),f.encryptedExpiryDate.visible&&(0,h.h)("span",{className:"straumur__card-component__form--wrapper--error"},f.encryptedExpiryDate.message)),(0,h.h)("div",{className:"straumur__card-component__form--wrapper"},(d==="optional"||d==="required")&&(0,h.h)(h.Fragment,null,(0,h.h)("label",{className:`straumur__card-component__form--wrapper--label ${f.encryptedSecurityCode.visible?"straumur__card-component__form--wrapper--label--error":""}`},d==="optional"?i.t("cards.securityCode3DigitsOptional"):i.t("cards.securityCode3Digits")),(0,h.h)("span",{className:`straumur__card-component__form--wrapper--input ${f.encryptedSecurityCode.visible?"straumur__card-component__form--wrapper--input--error":""}`,"data-cse":"encryptedSecurityCode",role:"group","aria-label":i.t("cards.securityCode3Digits")}),f.encryptedSecurityCode.visible&&(0,h.h)("span",{className:"straumur__card-component__form--wrapper--error"},f.encryptedSecurityCode.message),(0,h.h)("div",{className:"straumur__card-component__form--wrapper--label--info"},(0,h.h)(ve,{content:(0,h.h)("span",null,i.t("cards.securityCode3DigitsInfo")),placement:"top"},(0,h.h)(Ue,null)))))),M&&u&&(0,h.h)(Xt,{dualBrandConfiguration:u,selectedBrand:T,onBrandClick:St}),t.enableStoreDetails==="AskForConsent"&&(0,h.h)("label",{className:"straumur__card-component__form--wrapper--label-checkbox"},(0,h.h)("div",{className:`straumur__card-component__form--wrapper--label-checkbox--checkmark ${_?"straumur__card-component__form--wrapper--label-checkbox--checkmark--checked":""}`},(0,h.h)("div",{className:`straumur__card-component__form--wrapper--label-checkbox--checkmark--icon ${_?"straumur__card-component__form--wrapper--label-checkbox--checkmark--icon--checked":""}`},(0,h.h)(Ze,null))),(0,h.h)("input",{type:"checkbox",className:"straumur__card-component__form--wrapper--label-checkbox--checkbox",checked:_,onChange:dt}),i.t("cards.storePaymentMethod")),!e.hideSubmitButton&&(0,h.h)("button",{className:"straumur__card-component__submit-button",disabled:l,onClick:Pe},t.minorUnitsAmount===0?i.t("cards.saveCardDetails"):t.formattedAmount)))}var rr=to;var pe=require("preact");g(`.straumur__payment-method-item{position:relative;cursor:pointer;background:var(--straumur__color-white);border-radius:var(--straumur__border-radius-lg);transition:all .3s ease;padding:var(--straumur__space-xxlg) var(--straumur__space-5xlg)}.straumur__payment-method-item--sole{cursor:default}.straumur__payment-method-item:has(.straumur__payment-method-item__radio-selector:checked){cursor:default}.straumur__payment-method-item__radio-selector{position:absolute;opacity:0;cursor:pointer}.straumur__payment-method-item__content{display:flex;align-items:center;gap:var(--straumur__space-lg);transition:background-color .3s ease}.straumur__payment-method-item__radio-selector:checked+.straumur__payment-method-item__content{padding-bottom:var(--straumur__space-xxlg)}.straumur__payment-method-item__content--expanded{padding-bottom:var(--straumur__space-xxlg)}.straumur__payment-method-item--circle{width:var(--straumur__space-5xlg);height:var(--straumur__space-5xlg);border:1px solid var(--straumur__color-cosmos-blue-gamma);background:var(--straumur__color-secondary-gamma);border-radius:50%;position:relative;transition:all .3s ease;flex-shrink:0}.straumur__payment-method-item__content:hover .straumur__payment-method-item--circle{border:1px solid var(--straumur__color-cosmos-blue-delta)}.straumur__payment-method-item--circle:after{content:"";position:absolute;width:100%;height:100%;border-radius:50%;top:50%;left:50%;transform:translate(-50%,-50%) scale(0);transition:transform .2s ease}.straumur__payment-method-item__radio-selector:checked+.straumur__payment-method-item__content .straumur__payment-method-item--circle{background:var(--straumur__color-blue-beta);border-color:var(--straumur__color-transparent)}.straumur__payment-method-item__radio-selector:checked+.straumur__payment-method-item__content .straumur__payment-method-item--circle:after{transform:translate(-50%,-50%) scale(1);background:var(--straumur__color-primary);height:var(--straumur__space-md);width:var(--straumur__space-md)}.straumur__payment-method-item--title{color:var(--straumur__color-text);font-size:16px;user-select:none}.straumur__payment-method-item__expandable{background:var(--straumur__color-white);max-height:0;overflow:hidden;transition:all .3s ease;opacity:0}.straumur__payment-method-item__radio-selector:checked~.straumur__payment-method-item__expandable{max-height:600px;opacity:1}.straumur__payment-method-item__expandable--visible{max-height:600px;opacity:1}
5
- `);function ro({icon:e,title:t,isActive:r,isSole:o,onChange:a,children:n,headerRight:i,confirmSection:l}){return(0,pe.h)("label",{className:`straumur__payment-method-item${o?" straumur__payment-method-item--sole":""}`},!o&&(0,pe.h)("input",{type:"radio",className:"straumur__payment-method-item__radio-selector",checked:r,onChange:a}),(0,pe.h)("span",{className:`straumur__payment-method-item__content${o?" straumur__payment-method-item__content--expanded":""}`},!o&&(0,pe.h)("span",{className:"straumur__payment-method-item--circle"}),e,(0,pe.h)("span",{className:"straumur__payment-method-item--title"},t),i),l,(0,pe.h)("div",{className:`straumur__payment-method-item__expandable${o?" straumur__payment-method-item__expandable--visible":""}`},n))}var se=ro;function oo({configuration:e,paymentMethods:t}){let{i18n:r}=V(),[o,a]=(0,or.useState)([]),n=$(e.theme),{activePaymentMethod:i,setActivePaymentMethod:l,isObscuredByThreeDS:m,isSolePaymentMethod:d,hasCard:p}=x();if(!p||m("card"))return null;let A=t.paymentMethods.paymentMethods.find(M=>M.type==="scheme").brands.map(M=>({brand:M,brandFullName:M}));return(0,ge.h)(se,{icon:(0,ge.h)(Lt,null),title:r.t("cards.title"),isActive:i==="card",isSole:d,onChange:()=>l("card"),headerRight:(0,ge.h)("span",{className:"straumur__card-component--brands"},(0,ge.h)(Oe,{brands:A,brandHidden:o,theme:n}))},(0,ge.h)(rr,{configuration:e,paymentMethods:t,onBrandHidden:a}))}var ar=oo;var Xe=require("preact"),dr=require("preact/hooks");g(`.adyen-checkout__paywithgoogle{height:var(--straumur__space-8xlg)}
6
- `);var q=require("preact"),ao=()=>(0,q.h)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"40",height:"26",fill:"none",viewBox:"0 0 40 26"},(0,q.h)("path",{fill:"#fff",d:"M29.13 2.41H10.87C5.17 2.41.5 7.18.5 13.01a10.5 10.5 0 0 0 10.37 10.58h18.26c5.7 0 10.37-4.76 10.37-10.59 0-5.82-4.67-10.59-10.37-10.59Z"}),(0,q.h)("path",{fill:"#3C4043",d:"M29.13 3.27c1.28 0 2.52.26 3.7.77a9.6 9.6 0 0 1 5.08 5.19 9.78 9.78 0 0 1 0 7.55 9.83 9.83 0 0 1-5.08 5.18 9.26 9.26 0 0 1-3.7.77H10.87a9.24 9.24 0 0 1-3.7-.77 9.6 9.6 0 0 1-5.08-5.18 9.78 9.78 0 0 1 0-7.55 9.83 9.83 0 0 1 5.08-5.19 9.24 9.24 0 0 1 3.7-.77h18.26Zm0-.86H10.87C5.17 2.41.5 7.18.5 13.01a10.5 10.5 0 0 0 10.37 10.58h18.26c5.7 0 10.37-4.76 10.37-10.59 0-5.82-4.67-10.59-10.37-10.59Z"}),(0,q.h)("path",{fill:"#3C4043",d:"M19.1 13.75v3.2h-1v-7.9h2.64c.67 0 1.24.23 1.7.68.49.46.72 1.01.72 1.67a2.2 2.2 0 0 1-.71 1.68c-.46.45-1.03.67-1.7.67H19.1Zm0-3.73v2.76h1.66c.4 0 .73-.14.99-.4.26-.28.4-.6.4-.98 0-.36-.14-.68-.4-.95a1.28 1.28 0 0 0-.99-.42H19.1Zm6.67 1.35c.73 0 1.31.2 1.74.6.42.4.64.95.64 1.65v3.34h-.95v-.76h-.04a1.9 1.9 0 0 1-1.65.93 2.1 2.1 0 0 1-1.46-.53c-.4-.35-.6-.8-.6-1.32 0-.56.21-1 .63-1.34.41-.33.97-.5 1.66-.5.59 0 1.07.12 1.45.34v-.23c0-.36-.13-.65-.4-.9a1.4 1.4 0 0 0-.97-.37c-.56 0-1 .24-1.32.72l-.88-.56a2.42 2.42 0 0 1 2.15-1.07Zm-1.29 3.92c0 .27.11.5.33.67.22.17.48.26.78.26.42 0 .79-.16 1.12-.48.32-.31.49-.68.49-1.11a2.02 2.02 0 0 0-1.3-.38c-.4 0-.74.1-1.01.3a.9.9 0 0 0-.4.74Zm9.08-3.75-3.32 7.8h-1.02l1.23-2.73-2.19-5.07h1.09l1.57 3.89h.02l1.54-3.89h1.08Z"}),(0,q.h)("path",{fill:"#4285F4",d:"M15.14 13.1c0-.32-.03-.64-.09-.95h-4.17v1.75h2.4a2.1 2.1 0 0 1-.89 1.4v1.14h1.43a4.49 4.49 0 0 0 1.32-3.33Z"}),(0,q.h)("path",{fill:"#34A853",d:"M12.4 15.3a2.66 2.66 0 0 1-4-1.44H6.9v1.18a4.43 4.43 0 0 0 6.91 1.4l-1.43-1.13Z"}),(0,q.h)("path",{fill:"#FABB05",d:"M8.25 13c0-.3.05-.59.14-.86v-1.17H6.9a4.59 4.59 0 0 0 0 4.07l1.48-1.17a2.79 2.79 0 0 1-.14-.86Z"}),(0,q.h)("path",{fill:"#E94235",d:"M10.88 10.27c.66 0 1.24.23 1.7.68l1.27-1.3a4.22 4.22 0 0 0-2.97-1.18 4.44 4.44 0 0 0-3.97 2.5l1.48 1.17a2.66 2.66 0 0 1 2.5-1.87Z"})),nr=ao;g(`.straumur__google-pay-button__loading{display:flex;justify-content:center}
7
- `);var mr=require("preact");var he=require("preact"),be=require("preact/hooks"),Ce=require("@adyen/adyen-web");var sr="CANCEL";function ir(e,t){return(t??(e==="dark"?"dark":"white"))==="dark"?"black":"white"}function lr(e,t){return(t??(e==="dark"?"dark":"light"))==="dark"?"black":"white-outline"}var no={applepay:{loadingClassName:"straumur__apple-pay-button__loading",createElement(e,{configuration:t,paymentMethods:r,walletConfig:o,handleOnSubmit:a,resolvedTheme:n}){let i={amount:{value:r.minorUnitsAmount,currency:r.currency},environment:t.environment,onSubmit:a,onClick:_t(t.paymentFlow),buttonColor:lr(n,t.applePayButtonTheme),configuration:{...o,merchantName:r.merchantName}};return new Ce.ApplePay(e,i)}},googlepay:{loadingClassName:"straumur__google-pay-button__loading",createElement(e,{configuration:t,paymentMethods:r,walletConfig:o,handleOnSubmit:a,resolvedTheme:n}){let i={amount:{value:r.minorUnitsAmount,currency:r.currency},challengeWindowSize:"05",countryCode:t.countryCode,environment:t.environment,onSubmit:a,onClick:_t(t.paymentFlow),buttonColor:ir(n,t.googlePayButtonTheme),buttonSizeMode:"fill",buttonRadius:12,configuration:{...o,merchantName:r.merchantName}};return new Ce.GooglePay(e,i)}}};function so({method:e,configuration:t,paymentMethods:r,isInstantPayment:o,onUnavailable:a}){let n=no[e],i=$(t.theme),l=(0,be.useRef)(null),m=(0,be.useRef)(),d=(0,be.useRef)(),{isPaymentMethodInitialized:p,updatePaymentMethodInitialization:_,handleSuccess:A,handleError:M,setThreeDSecureActive:B,threeDSecureActive:u,isObscuredByThreeDS:R,setActivePaymentMethod:T,activePaymentMethod:E}=x(),{handleOnSubmit:z,handleOnSubmitAdditionalData:f,handlePaymentCompleted:j,handlePaymentFailed:N}=ne({configuration:t,handleSuccess:A,handleError:M,setThreeDSecureActive:B,onSubmitStart:()=>{o&&T(e)}});function D(K,J){K.name!==sr&&M({key:"error.unknownError"})}function ee(){_(e,!0),E===e&&T(null),a?.()}let L=async()=>{m.current=await(0,Ce.AdyenCheckout)({clientKey:r.clientKey,environment:t.environment,locale:t.locale,countryCode:t.countryCode,paymentMethodsResponse:r.paymentMethods,amount:{value:r.minorUnitsAmount,currency:r.currency},onError:D,onAdditionalDetails:f,onPaymentCompleted:j,onPaymentFailed:N});let J=r.paymentMethods.paymentMethods?.find(Z=>Z.type===e)?.configuration;if(!J){ee();return}d.current=n.createElement(m.current,{configuration:t,paymentMethods:r,walletConfig:J,handleOnSubmit:z,resolvedTheme:i}),d.current.isAvailable().then(()=>{d.current.mount(l.current),_(e,!0)}).catch(()=>{ee()})};return(0,be.useEffect)(()=>{p[e]||L()},[t]),_e(t,()=>!!(d.current&&p[e]),()=>{d.current.remove(),L()}),R(e)?null:(0,he.h)(he.Fragment,null,p[e]===!1&&(0,he.h)("div",{className:n.loadingClassName},(0,he.h)(oe,null)),(0,he.h)("div",{ref:l,style:{height:u?"600px":"auto",minWidth:u?"350px":"auto",position:p[e]?"static":"absolute"}}))}var Je=so;function io(e){return(0,mr.h)(Je,{method:"googlepay",...e})}var $e=io;function lo({configuration:e,paymentMethods:t}){let{i18n:r}=V(),{activePaymentMethod:o,setActivePaymentMethod:a,isObscuredByThreeDS:n,isSolePaymentMethod:i,hasGooglePay:l}=x(),[m,d]=(0,dr.useState)(!1);return!l||m||e.instantPayments&&e.instantPayments.some(p=>p==="googlepay")||n("googlepay")?null:(0,Xe.h)(se,{icon:(0,Xe.h)(nr,null),title:r.t("googlePay.title"),isActive:o==="googlepay",isSole:i,onChange:()=>a("googlepay")},(0,Xe.h)($e,{configuration:e,paymentMethods:t,isInstantPayment:!1,onUnavailable:()=>d(!0)}))}var cr=lo;var Ye=require("preact"),hr=require("preact/hooks");g("");var Me=require("preact"),mo=()=>(0,Me.h)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"40",height:"26",fill:"none",viewBox:"0 0 40 26"},(0,Me.h)("path",{fill:"#000",d:"M36.42 0H3.58a69.25 69.25 0 0 0-.75 0c-.25.01-.5.03-.76.07a2.51 2.51 0 0 0-1.32.7A2.43 2.43 0 0 0 .07 2.1 5.14 5.14 0 0 0 0 3.22v19.91c.01.25.03.51.07.76a2.6 2.6 0 0 0 .68 1.35 2.39 2.39 0 0 0 1.32.69 4.98 4.98 0 0 0 1.1.07h34a5 5 0 0 0 .76-.07 2.5 2.5 0 0 0 1.32-.7 2.44 2.44 0 0 0 .68-1.34 5.13 5.13 0 0 0 .07-1.11V2.87a6.5 6.5 0 0 0-.07-.76 2.58 2.58 0 0 0-.68-1.35 2.4 2.4 0 0 0-1.32-.69 4.96 4.96 0 0 0-1.1-.07h-.41Z"}),(0,Me.h)("path",{fill:"#fff",d:"M36.42.87h.73c.2 0 .42.02.62.06a1.67 1.67 0 0 1 .88.44 1.58 1.58 0 0 1 .44.89 4.38 4.38 0 0 1 .06.97v19.55a14.67 14.67 0 0 1-.06.96 1.7 1.7 0 0 1-.44.89 1.54 1.54 0 0 1-.87.44 4.27 4.27 0 0 1-.96.06H2.85a3.7 3.7 0 0 1-.63-.06 1.66 1.66 0 0 1-.87-.45 1.56 1.56 0 0 1-.44-.88 4.35 4.35 0 0 1-.06-.97V2.9c.01-.2.02-.42.06-.63.03-.18.08-.34.16-.49A1.56 1.56 0 0 1 2.22.93a4.2 4.2 0 0 1 .96-.06h33.24"}),(0,Me.h)("path",{fill:"#000",d:"M10.92 8.61c.34-.43.57-1 .51-1.59a2.21 2.21 0 0 0-1.99 2.3c.56.04 1.12-.3 1.48-.7Zm.51.81c-.82-.05-1.52.46-1.9.46-.4 0-1-.43-1.64-.42-.84 0-1.62.48-2.05 1.24-.88 1.52-.23 3.76.62 5 .42.6.92 1.27 1.58 1.25.62-.02.86-.4 1.62-.4.75 0 .97.4 1.63.39.69-.01 1.11-.61 1.53-1.22.47-.7.67-1.37.68-1.4-.01-.02-1.32-.52-1.33-2.02-.01-1.26 1.03-1.85 1.07-1.9a2.34 2.34 0 0 0-1.81-.98Zm7.11-1.7a2.87 2.87 0 0 1 3.02 3c0 1.8-1.27 3.03-3.06 3.03h-1.97v3.12h-1.42V7.72h3.43Zm-2 4.83h1.62c1.24 0 1.94-.66 1.94-1.82 0-1.15-.7-1.81-1.93-1.81h-1.64v3.63Zm5.39 2.43c0-1.17.9-1.89 2.48-1.98l1.83-.1v-.52c0-.74-.5-1.18-1.34-1.18-.8 0-1.3.38-1.41.97h-1.3c.08-1.2 1.1-2.09 2.76-2.09 1.62 0 2.65.86 2.65 2.2v4.6h-1.31v-1.1h-.04a2.38 2.38 0 0 1-2.1 1.2c-1.3 0-2.22-.8-2.22-2Zm4.3-.6v-.53l-1.64.1c-.82.06-1.28.42-1.28.99 0 .58.48.96 1.22.96.96 0 1.7-.66 1.7-1.52Zm2.61 4.95v-1.11c.1.03.33.03.44.03.64 0 .98-.27 1.19-.96l.12-.4-2.41-6.69h1.48l1.7 5.43h.02l1.69-5.43h1.44l-2.5 7.02c-.57 1.62-1.23 2.14-2.61 2.14a5.3 5.3 0 0 1-.56-.03Z"})),ur=mo;g(`.straumur__apple-pay-button__loading{display:flex;justify-content:center}
8
- `);var pr=require("preact");function co(e){return(0,pr.h)(Je,{method:"applepay",...e})}var qe=co;function uo({configuration:e,paymentMethods:t}){let{i18n:r}=V(),{activePaymentMethod:o,setActivePaymentMethod:a,isObscuredByThreeDS:n,isSolePaymentMethod:i,hasApplePay:l}=x(),[m,d]=(0,hr.useState)(!1);return!l||m||e.instantPayments&&e.instantPayments.some(p=>p==="applepay")||n("applepay")?null:(0,Ye.h)(se,{icon:(0,Ye.h)(ur,null),title:r.t("applePay.title"),isActive:o==="applepay",isSole:i,onChange:()=>a("applepay")},(0,Ye.h)(qe,{configuration:e,paymentMethods:t,isInstantPayment:!1,onUnavailable:()=>d(!0)}))}var fr=uo;var ke=require("preact");var v=require("preact"),H=require("preact/hooks");g(`.straumur__stored-card-component__remove-stored-card-button{margin-left:auto}.straumur__stored-card-component__remove-stored-card-button--text{color:var(--straumur__color-danger-text);text-decoration:none;background:none;border:none;cursor:pointer;transition:all .2s ease}.straumur__stored-card-component__remove-stored-card-button--text:disabled{cursor:not-allowed;color:var(--straumur__color-secondary)}.straumur__stored-card-component__confirm-remove-stored-card{background-color:var(--straumur__color-warning-bg);border-radius:var(--straumur__border-radius-s);max-height:0;overflow:hidden;transition:all .3s ease;opacity:0}.straumur__stored-card-component__confirm-remove-stored-card--expanded{padding:var(--straumur__space-xxlg);max-height:600px;opacity:1}.straumur__stored-card-component__confirm-remove-stored-card--header{display:flex;align-items:center;gap:var(--straumur__space-lg);color:var(--straumur__color-text);padding-bottom:var(--straumur__space-xxlg)}.straumur__stored-card-component__confirm-remove-stored-card--actions{display:flex;gap:var(--straumur__space-lg);justify-content:end}.straumur__stored-card-component__confirm-remove-stored-card--actions--button{color:var(--straumur__color-warning-text);background:none;border:none;cursor:pointer;text-decoration:none;font-weight:700}.straumur__stored-card-component__loading-text{display:flex;justify-content:center}.straumur__stored-card-component__form{display:flex;padding-top:var(--straumur__space-xxlg);flex-direction:column;gap:var(--straumur__space-5xlg)}.straumur__stored-card-component__form--wrapper{display:flex;flex-direction:column;justify-items:start;position:relative;width:100%}.straumur__stored-card-component__form--wrapper--error{color:var(--straumur__color-red-beta);font-size:12px}.straumur__stored-card-component__form--wrapper--label{transform:translate(10px) translateY(-50%);z-index:1;background:linear-gradient(to top,var(--straumur__color-secondary-gamma) 53%,var(--straumur__color-transparent) 50%);position:absolute;font-weight:500;font-size:14px;padding:0 var(--straumur__space-xxs)}.straumur__stored-card-component__form--wrapper--label--readonly{background:linear-gradient(to top,var(--straumur__color-gray-epsilon) 53%,var(--straumur__color-transparent) 50%)}.straumur__stored-card-component__form--wrapper--label--error{color:var(--straumur__color-red-beta);background:linear-gradient(to top,var(--straumur__color-red-gamma) 53%,var(--straumur__color-transparent) 50%);font-size:13px;font-weight:500}.straumur__stored-card-component__form--wrapper--label--info{position:absolute;top:33%;right:var(--straumur__space-md)}.straumur__stored-card-component__form--wrapper--input{background:var(--straumur__color-secondary-gamma);color:var(--straumur__color-text);display:flex;align-items:center;border:1px solid var(--straumur__color-transparent);border-radius:var(--straumur__border-radius-s);font-size:16px;height:48px;outline:none;padding-left:var(--straumur__space-lg);transition:border .2s ease-out,box-shadow .2s ease-out;position:relative}.straumur__stored-card-component__form--wrapper--input--readonly{background-color:var(--straumur__color-gray-epsilon)}.straumur__stored-card-component__form--wrapper--input:hover{border:1px solid var(--straumur__color-cosmos-blue-delta)}.straumur__stored-card-component__form--wrapper--input--readonly:hover{border:1px solid var(--straumur__color-transparent)}.straumur__stored-card-component__form--wrapper--input--error{background:var(--straumur__color-red-gamma);border:1px solid var(--straumur__color-red-beta)}.straumur__stored-card-component__form--wrapper--input--error:hover{border:1px solid var(--straumur__color-red-beta)}.straumur__stored-card-component__form--field-wrapper{display:flex;width:100%;gap:var(--straumur__space-lg)}.straumur__stored-card-component__submit-button{background:var(--straumur__color-primary);border:none;border-radius:var(--straumur__border-radius-s);color:var(--straumur__color-white);cursor:pointer;font-size:16px;height:40px;outline:none;padding:0 var(--straumur__space-xxlg);transition:background .2s ease-out;width:100%}.straumur__stored-card-component__submit-button:hover{background:var(--straumur__color-primary);border:1px solid var(--straumur__color-border)}.straumur__stored-card-component__submit-button:disabled{background:var(--straumur__color-secondary);border:1px solid var(--straumur__color-border);cursor:not-allowed}
9
- `);var Qe=require("@adyen/adyen-web");var ie=require("preact"),po=()=>(0,ie.h)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,ie.h)("g",{"clip-path":"url(#clip0_10650_34968)"},(0,ie.h)("path",{d:"M12.0011 15C12.6245 15 13.1261 14.4984 13.1261 13.875V7.875C13.1261 7.25391 12.6222 6.75 12.0433 6.75C11.4644 6.75 10.8761 7.25625 10.8761 7.875V13.875C10.8761 14.4984 11.3823 15 12.0011 15ZM12.0011 16.5516C11.1873 16.5516 10.5273 17.2116 10.5273 18.0253C10.5292 18.8391 11.1855 19.5 12.0011 19.5C12.8167 19.5 13.4748 18.84 13.4748 18.0262C13.473 17.2125 12.8167 16.5516 12.0011 16.5516Z",fill:"#DFAE00"}),(0,ie.h)("path",{opacity:"0.4",d:"M23.7312 19.5469L13.7328 2.48438C12.9673 1.17188 11.0356 1.17188 10.2649 2.48438L0.271188 19.5469C-0.49803 20.8547 0.460048 22.5 2.00181 22.5H21.9987C23.5343 22.5 24.4953 20.8594 23.7312 19.5469ZM10.8734 7.875C10.8734 7.25391 11.3773 6.75 11.9984 6.75C12.6195 6.75 13.1234 7.25625 13.1234 7.875V13.875C13.1234 14.4961 12.6195 15 12.0406 15C11.4617 15 10.8734 14.4984 10.8734 13.875V7.875ZM11.9984 19.5C11.1846 19.5 10.5246 18.84 10.5246 18.0262C10.5246 17.2125 11.1842 16.5525 11.9984 16.5525C12.8126 16.5525 13.4721 17.2125 13.4721 18.0262C13.4703 18.8391 12.814 19.5 11.9984 19.5Z",fill:"#DFAE00"})),(0,ie.h)("defs",null,(0,ie.h)("clipPath",{id:"clip0_10650_34968"},(0,ie.h)("rect",{width:"24",height:"24",fill:"white"})))),yr=po;function ho({configuration:e,paymentMethods:t,storedPaymentMethod:r,onStoredCardRemoved:o}){let a=(0,H.useRef)(null),n=(0,H.useRef)(),i=(0,H.useRef)(),{i18n:l}=V(),[m,d]=(0,H.useState)(!0),[p,_]=(0,H.useState)("required"),[A,M]=(0,H.useState)(!1),[B,u]=(0,H.useState)({encryptedSecurityCode:{visible:!1}}),{activePaymentMethod:R,setActivePaymentMethod:T,activeStoredPaymentMethodId:E,setActiveStoredPaymentMethodId:z,isStoredCardInitialized:f,updateStoredCardInitialization:j,handleSuccess:N,handleError:D,setThreeDSecureActive:ee,threeDSecureActive:L,isSolePaymentMethod:K,registerSubmitHandler:J,unregisterSubmitHandler:Z}=x(),G=K?R==="storedcard":R==="storedcard"&&E===r.id,le=$(e.theme);async function b(){await Ge(e.paymentFlow,()=>i.current)}(0,H.useEffect)(()=>{if(!(G&&f[r.id])){e.onCardValidityChanged?.(!1,!1);return}return J(b),e.onCardValidityChanged?.(!1,!0),()=>{Z(b),e.onCardValidityChanged?.(!1,!1)}},[G,f[r.id],J,Z]);let{handleOnSubmit:te,handleOnSubmitAdditionalData:me,handlePaymentCompleted:Pe,handlePaymentFailed:Se}=ne({configuration:e,handleSuccess:N,handleError:D,setThreeDSecureActive:ee,enrichSubmitData:C=>({...C,paymentMethod:{...C.paymentMethod,storedPaymentMethodId:r.id}})});function st(C,S){D({key:"error.unknownError"})}let Ee=async()=>{n.current=await(0,Qe.AdyenCheckout)({clientKey:t.clientKey,environment:e.environment,locale:e.locale,countryCode:e.countryCode,amount:{value:t.minorUnitsAmount,currency:t.currency},paymentMethodsResponse:t.paymentMethods,onError:st,onAdditionalDetails:me,onPaymentCompleted:Pe,onPaymentFailed:Se}),i.current=new Qe.CustomCard(n.current,{brands:[r.brand],styles:je(le),onSubmit:te,onConfigSuccess(){j(r.id,!0)},onBrand:C=>{_(C.cvcPolicy)},onValidationError:C=>{let S={encryptedSecurityCode:{visible:!1,message:void 0}};C.filter(xe=>xe.error).forEach(xe=>{S[xe.fieldType].visible=!0,S[xe.fieldType].message=xe.errorI18n}),u(S)},onAllValid:C=>{d(!C.allValid),e.onCardValidityChanged?.(C.allValid,!0)},placeholders:e.placeholders,challengeWindowSize:"05"}),a.current&&i.current.mount(a.current)};if((0,H.useEffect)(()=>{G&&!f[r.id]&&Ee()},[e,G]),_e(e,()=>!!(i.current&&f[E]),()=>{Ee(),u({encryptedSecurityCode:{visible:!1,message:void 0}})}),(0,H.useEffect)(()=>{M(!1)},[R,E]),Ve(a,L&&G),L&&!G)return null;function it(){T("storedcard"),z(r.id)}function lt(){M(!0)}function mt(){M(!1)}async function Ie(){let{disableToken:C}=e.paymentFlow;if(C)try{await C(r.id),o(r.id)}catch(S){D(we(S,"error.failedToSubmitRemoveStoredPaymentCard"))}}let dt=e.paymentFlow.disableToken!==void 0&&G&&f[r.id]?(0,v.h)("div",{className:"straumur__stored-card-component__remove-stored-card-button"},(0,v.h)("button",{onClick:lt,className:"straumur__stored-card-component__remove-stored-card-button--text",disabled:A},l.t("stored-cards.removeStoredCard"))):null,y=(0,v.h)("div",{className:`straumur__stored-card-component__confirm-remove-stored-card ${A?"straumur__stored-card-component__confirm-remove-stored-card--expanded":""}`},(0,v.h)("div",{className:"straumur__stored-card-component__confirm-remove-stored-card--header"},(0,v.h)(yr,null),(0,v.h)("span",{className:"straumur__stored-card-component__confirm-remove-stored-card--header--title"},l.t("stored-cards.removeStoredCardQuestion"))),(0,v.h)("div",{className:"straumur__stored-card-component__confirm-remove-stored-card--actions"},(0,v.h)("button",{className:"straumur__stored-card-component__confirm-remove-stored-card--actions--button",onClick:Ie},l.t("stored-cards.removeStoredCardQuestionYesRemove")),(0,v.h)("button",{className:"straumur__stored-card-component__confirm-remove-stored-card--actions--button",onClick:mt},l.t("stored-cards.removeStoredCardQuestionCancel"))));return(0,v.h)(se,{icon:(0,v.h)(Oe,{brands:[{brand:r.brand,brandFullName:r.name}],theme:le}),title:`\u2022\u2022\u2022\u2022 ${r.lastFour}`,isActive:G,isSole:K,onChange:it,headerRight:dt,confirmSection:y},(0,v.h)("div",{ref:a,tabIndex:-1,style:{height:L?"600px":"auto",minWidth:L?"350px":"auto"}},!f[r.id]&&(0,v.h)("div",{className:"straumur__stored-card-component__loading-text"},(0,v.h)(oe,null)),(0,v.h)("div",{className:"straumur__stored-card-component__form",style:{opacity:f[r.id]&&!L?1:0,position:f[r.id]&&!L?"relative":"absolute",transition:"opacity 0.3s ease-in-out"}},(0,v.h)("div",{className:"straumur__stored-card-component__form--field-wrapper"},(0,v.h)("div",{className:"straumur__stored-card-component__form--wrapper"},(0,v.h)("label",{className:"straumur__stored-card-component__form--wrapper--label straumur__stored-card-component__form--wrapper--label--readonly"},l.t("stored-cards.expiryDate")),(0,v.h)("span",{className:"straumur__stored-card-component__form--wrapper--input straumur__stored-card-component__form--wrapper--input--readonly"},r.expiryMonth,"/",r.expiryYear)),(0,v.h)("div",{className:"straumur__stored-card-component__form--wrapper"},(p==="optional"||p==="required")&&(0,v.h)(v.Fragment,null,(0,v.h)("label",{className:`straumur__stored-card-component__form--wrapper--label ${B.encryptedSecurityCode.visible?"straumur__stored-card-component__form--wrapper--label--error":""}`},p==="optional"?l.t("stored-cards.securityCode3DigitsOptional"):l.t("stored-cards.securityCode3Digits")),(0,v.h)("span",{className:`straumur__stored-card-component__form--wrapper--input ${B.encryptedSecurityCode.visible?"straumur__stored-card-component__form--wrapper--input--error":""}`,"data-cse":"encryptedSecurityCode",role:"group","aria-label":l.t("stored-cards.securityCode3Digits")},(0,v.h)("div",{className:"straumur__stored-card-component__form--wrapper--label--info"},(0,v.h)(ve,{content:l.t("stored-cards.securityCode3DigitsInfo"),placement:"top"},(0,v.h)(Ue,null))))),B.encryptedSecurityCode.visible&&(0,v.h)("span",{className:"straumur__stored-card-component__form--wrapper--error"},B.encryptedSecurityCode.message))),!e.hideSubmitButton&&(0,v.h)("button",{className:"straumur__stored-card-component__submit-button",disabled:m,onClick:b},t.minorUnitsAmount===0?l.t("stored-cards.saveCardDetails"):t.formattedAmount))))}var vr=ho;var _r=require("preact/hooks");function fo({configuration:e,paymentMethods:t}){let[r,o]=(0,_r.useState)(t.paymentMethods.storedPaymentMethods??[]),{isObscuredByThreeDS:a,hasStoredPaymentMethods:n}=x();if(!n||a("storedcard"))return null;function i(l){o(m=>m.filter(d=>d.id!==l))}return(0,ke.h)(ke.Fragment,null,r?.map(l=>(0,ke.h)(vr,{key:l.id,configuration:e,storedPaymentMethod:l,paymentMethods:t,onStoredCardRemoved:i})))}var gr=fo;var gt=require("preact");g(`.straumur__payment-method-group{display:flex;flex-direction:column;gap:var(--straumur__space-xxlg);width:100%}
10
- `);function yo({children:e,initialValue:t,isSolePaymentMethod:r,hasCard:o,hasGooglePay:a,hasApplePay:n,hasStoredPaymentMethods:i,onSubmitApiReady:l}){return(0,gt.h)(Tt,{initialValue:t,isSolePaymentMethod:r,hasCard:o,hasGooglePay:a,hasApplePay:n,hasStoredPaymentMethods:i,onSubmitApiReady:l},(0,gt.h)("div",{className:"straumur__payment-method-group"},e))}var br=yo;var O=require("preact");g(`.straumur__result-component{display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;min-height:300px;background-color:var(--straumur__color-white);border-radius:var(--straumur__border-radius-xxlg)}
11
- `);var Y=require("preact"),vo=()=>(0,Y.h)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"120",height:"120",viewBox:"0 0 120 120"},(0,Y.h)("circle",{cx:"60",cy:"60",r:"50",fill:"none",stroke:"#5b8206","stroke-width":"5","stroke-dasharray":"314","stroke-dashoffset":"314"},(0,Y.h)("animate",{attributeName:"stroke-dashoffset",from:"314",to:"0",dur:"1s",fill:"freeze"})),(0,Y.h)("g",{transform:"translate(60,60)"},(0,Y.h)("path",{d:"M-25 5 L-5 25 L25 -15",fill:"none",stroke:"#5b8206","stroke-width":"6","stroke-linecap":"round","stroke-linejoin":"round","stroke-dasharray":"100","stroke-dashoffset":"100"},(0,Y.h)("animate",{attributeName:"stroke-dashoffset",from:"100",to:"0",dur:"0.5s",begin:"1s",fill:"freeze"}),(0,Y.h)("animateTransform",{attributeName:"transform",type:"scale",from:"1 1",to:"1.2 1.2",begin:"1.5s",dur:"0.2s",fill:"freeze",additive:"sum"}),(0,Y.h)("animateTransform",{attributeName:"transform",type:"scale",from:"1.2 1.2",to:"1 1",begin:"1.7s",dur:"0.2s",fill:"freeze",additive:"sum"})))),et=vo;var X=require("preact"),_o=()=>(0,X.h)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"120",height:"120",viewBox:"0 0 120 120"},(0,X.h)("circle",{cx:"60",cy:"60",r:"50",fill:"none",stroke:"#d03e00","stroke-width":"5","stroke-dasharray":"314","stroke-dashoffset":"314"},(0,X.h)("animate",{attributeName:"stroke-dashoffset",from:"314",to:"0",dur:"1s",fill:"freeze"})),(0,X.h)("g",{transform:"translate(60,60)"},(0,X.h)("g",{id:"crossGroup"},(0,X.h)("line",{x1:"-20",y1:"-20",x2:"20",y2:"20",stroke:"#d03e00","stroke-width":"6","stroke-linecap":"round","stroke-dasharray":"57","stroke-dashoffset":"57"},(0,X.h)("animate",{attributeName:"stroke-dashoffset",from:"57",to:"0",dur:"0.3s",begin:"1s",fill:"freeze"})),(0,X.h)("line",{x1:"20",y1:"-20",x2:"-20",y2:"20",stroke:"#d03e00","stroke-width":"6","stroke-linecap":"round","stroke-dasharray":"57","stroke-dashoffset":"57"},(0,X.h)("animate",{attributeName:"stroke-dashoffset",from:"57",to:"0",dur:"0.3s",begin:"1.3s",fill:"freeze"}))))),tt=_o;function go(){let{error:e,success:t}=x(),{i18n:r}=V();if(!e&&!t)return null;let o=a=>"key"in a?r.t(a.key):a.text;return(0,O.h)("div",{className:"straumur__result-component"},e&&(0,O.h)(O.Fragment,null,(0,O.h)("span",{"aria-hidden":"true"},(0,O.h)(tt,null)),(0,O.h)("p",{className:"straumur__result-component__error--message",role:"alert"},o(e))),t&&(0,O.h)(O.Fragment,null,(0,O.h)("span",{"aria-hidden":"true"},(0,O.h)(et,null)),(0,O.h)("p",{className:"straumur__result-component__success--message",role:"status"},o(t))))}var Cr=go;var rt=require("preact");function bo({children:e}){let{error:t,success:r}=x();return t||r?null:(0,rt.h)(rt.Fragment,null,e)}var Pr=bo;var ot=require("preact"),Sr=require("preact/hooks");g(`.instant-payments{display:grid;gap:var(--straumur__space-lg);grid-template-columns:1fr 1fr}.instant-payments--single{grid-template-columns:1fr}@container straumur (max-width: 420px){.instant-payments{grid-template-columns:1fr}}
12
- `);function Co({configuration:e,paymentMethods:t}){let{hasGooglePay:r,hasApplePay:o}=x(),[a,n]=(0,Sr.useState)(new Set),i=_=>{n(A=>new Set(A).add(_))};if(!e.instantPayments)return null;let l=["googlepay","applepay"],d=e.instantPayments.filter(_=>l.includes(_)).filter(_=>_==="googlepay"?r:o),p=d.filter(_=>!a.has(_));return d.length===0?null:(0,ot.h)("div",{className:`straumur__instant-payments instant-payments ${p.length>1?"straumur__instant-payments--multiple instant-payments--multiple":"straumur__instant-payments--single instant-payments--single"}`,style:{display:p.length===0?"none":void 0}},d.map(_=>_==="googlepay"?(0,ot.h)($e,{key:_,configuration:e,paymentMethods:t,isInstantPayment:!0,onUnavailable:()=>i("googlepay")}):_==="applepay"?(0,ot.h)(qe,{key:_,configuration:e,paymentMethods:t,isInstantPayment:!0,onUnavailable:()=>i("applepay")}):null))}var xr=Co;var bt=["instantpayments","storedcard","card","googlepay","applepay"],Po=new Set(bt);function wr(e){if(!e)return[...bt];let t=new Set,r=[];for(let o of e)Po.has(o)&&!t.has(o)&&(t.add(o),r.push(o));for(let o of bt)t.has(o)||r.push(o);return r}function So(e,t,r,o,a){let n=t&&!a?.some(m=>m==="googlepay"),i=r&&!a?.some(m=>m==="applepay");return o+(e?1:0)+(n?1:0)+(i?1:0)!==1?{initialPaymentMethod:null,isSolePaymentMethod:!1}:o===1?{initialPaymentMethod:"storedcard",isSolePaymentMethod:!0}:e?{initialPaymentMethod:"card",isSolePaymentMethod:!0}:n?{initialPaymentMethod:"googlepay",isSolePaymentMethod:!0}:i?{initialPaymentMethod:"applepay",isSolePaymentMethod:!0}:{initialPaymentMethod:null,isSolePaymentMethod:!1}}function xo({configuration:e,paymentMethods:t,onSubmitApiReady:r}){let o=t.paymentMethods.paymentMethods??[],a=t.paymentMethods.storedPaymentMethods??[],n=u=>!e.allowedPaymentMethods||e.allowedPaymentMethods.includes(u),i=o.some(u=>u.type==="scheme")&&n("card"),l=o.some(u=>u.type==="googlepay")&&n("googlepay"),m=o.some(u=>u.type==="applepay")&&n("applepay"),d=n("storedcard")?a.length:0,p=d>0,{initialPaymentMethod:_,isSolePaymentMethod:A}=So(i,l,m,d,e.instantPayments),M={instantpayments:(0,Q.h)(xr,{key:"instantpayments",configuration:e,paymentMethods:t}),storedcard:(0,Q.h)(gr,{key:"storedcard",configuration:e,paymentMethods:t}),card:(0,Q.h)(ar,{key:"card",configuration:e,paymentMethods:t}),googlepay:(0,Q.h)(cr,{key:"googlepay",configuration:e,paymentMethods:t}),applepay:(0,Q.h)(fr,{key:"applepay",configuration:e,paymentMethods:t})},B=wr(e.orderPaymentMethods);return(0,Q.h)(br,{initialValue:_,isSolePaymentMethod:A,hasCard:i,hasGooglePay:l,hasApplePay:m,hasStoredPaymentMethods:p,onSubmitApiReady:r},(0,Q.h)(Pr,null,B.map(u=>M[u])),(0,Q.h)(Cr,null))}var Mr=xo;var Ar=require("@adyen/adyen-web");var at=class{constructor(t,r){this.language=t;this.customLocalizations=r}t(t){return this.customLocalizations?.[this.language]?.[t]||Re[this.language][t]||t}setLanguage(t){this.language=t}updateCustomLocalizations(t){this.customLocalizations=t}};var W=require("preact");function nt({children:e,theme:t="light"}){let r=$(t);return(0,W.h)("div",{className:"straumur__root-component","data-theme":r},e)}function kr({theme:e}){return(0,W.h)(nt,{theme:e},(0,W.h)("div",{className:"straumur__component"},(0,W.h)(oe,null)))}function Ct({variant:e,message:t,i18n:r,theme:o}){return(0,W.h)(nt,{theme:o},(0,W.h)("div",{className:"straumur__component"},(0,W.h)("span",{"aria-hidden":"true"},e==="success"?(0,W.h)(et,null):(0,W.h)(tt,null)),(0,W.h)("p",{role:e==="success"?"status":"alert"},"key"in t?r.t(t.key):t.text)))}function Er(e,t){return{resultCode:"Success",clientKey:e.clientKey,paymentMethods:e.paymentMethods,minorUnitsAmount:e.amount.value,currency:e.amount.currency,amount:e.amount.value/100,formattedAmount:e.formattedAmount,merchantName:e.merchantName,enableStoreDetails:e.enableStoreDetails,locale:t}}var wo="IS";function Mo(e){return typeof e.sessionId=="string"&&e.sessionId.length>0}function ko(e){return typeof e=="object"?{theme:e.theme??"light",googlePayButtonTheme:e.googlePayButtonTheme,applePayButtonTheme:e.applePayButtonTheme}:{theme:e??"light"}}function Eo(e){return typeof e.clientKey=="string"&&e.clientKey.length>0&&typeof e.countryCode=="string"&&e.countryCode.length>0&&typeof e.paymentMethods=="object"&&e.paymentMethods!==null&&typeof e.amount=="object"&&e.amount!==null&&typeof e.amount.value=="number"&&typeof e.amount.currency=="string"&&typeof e.onSubmit=="function"&&typeof e.onAdditionalDetails=="function"}function Ir(e){let t=e,r=Te(t.locale),o=Mo(t),a=ko(t.theme),n={mode:o?"session":"advanced",sessionId:t.sessionId,environment:t.environment,countryCode:o?wo:t.countryCode,paymentFlow:o?qt(t.environment,t.sessionId):Yt(t),onPaymentCompleted:t.onPaymentCompleted,onPaymentFailed:t.onPaymentFailed,placeholders:t.placeholders,locale:r,customLocalizations:t.localizations,instantPayments:t.instantPayments,hideSubmitButton:t.hideSubmitButton,onCardValidityChanged:t.onCardValidityChanged,allowedPaymentMethods:t.allowedPaymentMethods,orderPaymentMethods:t.orderPaymentMethods,theme:a.theme,googlePayButtonTheme:a.googlePayButtonTheme,applePayButtonTheme:a.applePayButtonTheme};return o?{configuration:n,advancedConfiguration:null,paymentMethods:null,initializationFailed:!1}:Eo(t)?{configuration:n,advancedConfiguration:t,paymentMethods:Er(t,r),initializationFailed:!1}:{configuration:n,advancedConfiguration:null,paymentMethods:null,initializationFailed:!0}}var Pt=class{configuration;advancedConfiguration=null;paymentMethods=null;mountElement=null;i18n;submitApi=null;initializationFailed=!1;constructor(t){let r=Ir(t);this.configuration=r.configuration,this.advancedConfiguration=r.advancedConfiguration,this.paymentMethods=r.paymentMethods,this.initializationFailed=r.initializationFailed,this.i18n=new at(this.configuration.locale,this.configuration.customLocalizations)}async mount(t){try{if(this.mountElement=typeof t=="string"?document.querySelector(t):t,!this.mountElement)return;if(this.initializationFailed){this.handleError({key:"error.failedToInitializeStraumurWebComponent"});return}if(this.configuration.mode==="advanced"){this.renderComponent();return}(0,U.render)((0,U.h)(kr,{theme:this.configuration.theme}),this.mountElement);let r=await ut(this.configuration.environment,this.configuration.sessionId);if(r.resultCode==="Error"){this.handleError({key:r.error});return}this.paymentMethods=r,this.renderComponent()}catch(r){console.error("[StraumurCheckout] mount() failed:",r)}}renderComponent(){this.mountElement&&(0,U.render)((0,U.h)(nt,{theme:this.configuration.theme},(0,U.h)(Nt,{i18nService:this.i18n,onLanguageChange:t=>{this.configuration.locale=t,this.renderComponent()}},(0,U.h)(Mr,{configuration:this.configuration,paymentMethods:this.paymentMethods,onSubmitApiReady:t=>{this.submitApi=t}}))),this.mountElement)}handleSuccess(t){this.mountElement&&(0,U.render)((0,U.h)(Ct,{variant:"success",message:t,i18n:this.i18n,theme:this.configuration.theme}),this.mountElement)}handleError(t){this.mountElement&&(0,U.render)((0,U.h)(Ct,{variant:"failure",message:t,i18n:this.i18n,theme:this.configuration.theme}),this.mountElement)}async resolveRedirectContext(){if(this.configuration.mode==="advanced")return this.initializationFailed||!this.advancedConfiguration?(this.handleError({key:"error.failedToInitializeStraumurWebComponent"}),null):{clientKey:this.advancedConfiguration.clientKey,paymentMethods:this.advancedConfiguration.paymentMethods};let t=await ut(this.configuration.environment,this.configuration.sessionId);return t.resultCode==="Error"?(this.handleError({key:t.error}),null):{clientKey:t.clientKey,paymentMethods:t.paymentMethods}}async submitDetails(t,r){try{r&&(this.mountElement=typeof r=="string"?document.querySelector(r):r);let o=await this.resolveRedirectContext();if(!o)return;let{handleOnSubmitAdditionalData:a}=ne({configuration:this.configuration,handleSuccess:i=>this.handleSuccess(i),handleError:i=>this.handleError(i),setThreeDSecureActive:()=>{},dispatchResultFromAdditionalDetails:!0});(await(0,Ar.AdyenCheckout)({environment:this.configuration.environment,clientKey:o.clientKey,paymentMethodsResponse:o.paymentMethods,countryCode:this.configuration.countryCode,onAdditionalDetails:a})).submitDetails({details:{redirectResult:t}})}catch(o){console.error("[StraumurCheckout] submitDetails() failed:",o),this.handleError({key:"error.failedToSubmitPaymentDetails"}),this.configuration.onPaymentFailed?.({resultCode:"Error"})}}updateConfig(t){let{locale:r,...o}=t;this.configuration={...this.configuration,...o,...r?{locale:Te(r)}:{}},r&&this.i18n.setLanguage(this.configuration.locale),t.customLocalizations&&this.i18n.updateCustomLocalizations(t.customLocalizations),this.mountElement&&this.renderComponent()}setLanguage(t){this.updateConfig({locale:t})}destroy(){this.mountElement&&((0,U.render)(null,this.mountElement),this.mountElement=null),this.submitApi=null}submitCard(){if(!this.mountElement)return console.warn("[StraumurCheckout] submitCard() called before the component was mounted."),!1;if(!this.submitApi)return console.warn("[StraumurCheckout] submitCard() called but the component is not ready yet."),!1;let t=this.submitApi.triggerSubmit();return t||console.warn("[StraumurCheckout] submitCard() called but no card-type payment method is currently active and initialized."),t}},Rr=Pt;0&&(module.exports={StraumurCheckout});
1
+ "use strict";var jt=Object.defineProperty;var Ao=Object.getOwnPropertyDescriptor;var Io=Object.getOwnPropertyNames;var To=Object.prototype.hasOwnProperty;var Eo=(e,t)=>{for(var r in t)jt(e,r,{get:t[r],enumerable:!0})},Do=(e,t,r,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of Io(t))!To.call(e,n)&&n!==r&&jt(e,n,{get:()=>t[n],enumerable:!(o=Ao(t,n))||o.enumerable});return e};var Bo=e=>Do(jt({},"__esModule",{value:!0}),e);var Oa={};Eo(Oa,{StraumurCheckout:()=>Ro});module.exports=Bo(Oa);var Q=require("preact");function h(e,{insertAt:t}={}){if(!e||typeof document>"u")return;let r=document.head||document.getElementsByTagName("head")[0],o=document.createElement("style");o.type="text/css",t==="top"&&r.firstChild?r.insertBefore(o,r.firstChild):r.appendChild(o),o.styleSheet?o.styleSheet.cssText=e:o.appendChild(document.createTextNode(e))}h(`:root{--straumur__color-primary: #002649;--straumur__color-secondary: #72889d;--straumur__color-secondary-gamma: #eef0f2;--straumur__color-blue-beta: #bce6f3;--straumur__color-blue-gamma: #eff8fa;--straumur__color-neon-green-zeta: #88a64e;--straumur__color-red-beta: #d96666;--straumur__color-red-gamma: #fff8f5;--straumur__color-gray-epsilon: #e7e7e7;--straumur__color-cosmos-blue-delta: #cdd8e2;--straumur__color-cosmos-blue-gamma: #e6ebef;--straumur__color-white: #ffffff;--straumur__color-transparent: transparent;--straumur__color-kortalan-standalone-bg: #002649;--straumur__color-kortalan-standalone-ink: #dafda3;--straumur__color-kortalan-button-bg: #bce6f3;--straumur__color-kortalan-button-text: #002649;--straumur__color-kortalan-logo-primary: #002649;--straumur__color-kortalan-logo-secondary: #4d5f6f;--straumur__color-brand-chip: #ffffff;--straumur__color-on-primary: var(--straumur__color-white);--straumur__color-text: #00112c;--straumur__color-border: #dbdee2;--straumur__color-warning-text: #775d00;--straumur__color-warning-bg: #fff7db;--straumur__color-danger-text: #d03e00;--straumur__color-error-text: #c03030;--straumur__color-success: #1f9d57;--straumur__border-radius-xxs: 4px;--straumur__border-radius-xs: 6px;--straumur__border-radius-s: 8px;--straumur__border-radius-md: 10px;--straumur__border-radius-lg: 12px;--straumur__border-radius-xlg: 14px;--straumur__border-radius-xxlg: 16px;--straumur__space-xxs: 4px;--straumur__space-xs: 6px;--straumur__space-s: 8px;--straumur__space-md: 10px;--straumur__space-lg: 12px;--straumur__space-xlg: 14px;--straumur__space-xxlg: 16px;--straumur__space-3xlg: 18px;--straumur__space-4xlg: 20px;--straumur__space-5xlg: 24px;--straumur__space-6xlg: 32px;--straumur__space-7xlg: 40px;--straumur__space-8xlg: 48px;--apple-pay-button-width: 100%;--apple-pay-button-height: 48px;--apple-pay-button-border-radius: var(--straumur__border-radius-lg)}.straumur__root-component{font-family:StraumurAkzidenzGroteskPro,sans-serif;color:var(--straumur__color-text);min-width:320px;container:straumur / inline-size;-webkit-tap-highlight-color:transparent}.straumur__root-component[data-theme=dark]{--straumur__color-primary: #e8edf2;--straumur__color-secondary: #9aa7b5;--straumur__color-secondary-gamma: #2a313b;--straumur__color-blue-beta: #24506b;--straumur__color-blue-gamma: #1b2733;--straumur__color-neon-green-zeta: #9cbf5e;--straumur__color-red-beta: #e08a8a;--straumur__color-red-gamma: #2e2020;--straumur__color-gray-epsilon: #3a424d;--straumur__color-cosmos-blue-delta: #3a424d;--straumur__color-cosmos-blue-gamma: #262d36;--straumur__color-white: #0d0f13;--straumur__color-text: #e8edf2;--straumur__color-border: #3a424d;--straumur__color-warning-text: #e6c766;--straumur__color-warning-bg: #2f2a17;--straumur__color-danger-text: #f0895f;--straumur__color-error-text: #e08a8a;--straumur__color-success: #3fd98a}.straumur__visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}.straumur__loading-indicator,.straumur__loading-indicator__icon{display:inline-flex}.straumur__component *{font-family:inherit}.straumur__render-brand-icons__overflow{color:var(--straumur__color-secondary)}.straumur__brand-chip{display:inline-flex;background:var(--straumur__color-brand-chip);border:1px solid var(--straumur__color-border);border-radius:var(--straumur__border-radius-xxs);overflow:hidden}.straumur__component{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:var(--straumur__space-5xlg);padding:var(--straumur__space-6xlg);width:100%;min-height:300px;background-color:var(--straumur__color-white);border-radius:var(--straumur__border-radius-xxlg)}.straumur__result-message{max-width:320px;margin:0;padding:0 var(--straumur__space-4xlg);text-align:center;font-size:16px;line-height:24px;color:var(--straumur__color-text);white-space:pre-line}.js-iframe{border:none;color-scheme:auto;height:100%;overflow:hidden;width:100%}.adyen-checkout__threeds2__challenge.adyen-checkout__threeds2__challenge--05{background-color:transparent;display:block;height:inherit;min-height:400px;overflow:hidden;position:relative;width:100%}
2
+ `);var nr="data:font/woff2;base64,d09GMgABAAAAADKYABAAAAAAp4wAADI2AAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP0ZGVE0cGjwbgYEmHIlKBmAAg1IIBBEICoGKGOpfC4NSAAE2AiQDhx4EIAWhIgeFSBvmlAXsmBewcQBPBrKxzg7UHgeL2PJIhCnTXDD7/5DADRiC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KKh80vuj8foFgZ+CWg7cnhgn/RYIct323iZLw8AkIiYhJSMnIKSipqEe2v+k6yfRSGBilSpMuQ6YsJtnMcuTKC3vr+g24bsp3Bo3ZY9EJh8PBqMf6HAjHmG2facNu+yRglmz4y5/+tua0171qk0W+CQXeVOg1b7jjLW97x/eKfOBd73lJsV9Nuu+ue0r86GcjypQqV8Gq0ooqNarVqtOgXqMmP2jWqkWbDu0uWdWlU7ceP3niii3brnroUcBjjHkxPxbEwpjEovAIz/AKVKAD44yzLrho1znnvWzIycC64WbgwtvewAchiLMcqHjUdXp3KL4dJEuSVXLfsz13jcPOiFEfDpKQMA1x2Am7YS/sh4NwGI56VuemCRaf3vtfgPIJuPptPM5Iai+78R9skxBnbkPEbF0Gcs9h";var Lo="StraumurAkzidenzGroteskPro",Vo=[{source:nr,weight:"400"},{source:sr,weight:"500"},{source:ir,weight:"700"}],lr=!1;function Jt(){if(!(lr||typeof document>"u"||!document.fonts||typeof FontFace>"u")){lr=!0;for(let{source:e,weight:t}of Vo){let r=new FontFace(Lo,`url(${e}) format("woff2")`,{weight:t,style:"normal",display:"swap"});document.fonts.add(r),r.load().catch(()=>{})}}}var Zo=()=>({STAGING_BASE_URL:"https://checkout-api.staging.straumur.is/api/v1/embeddedcheckout",PRODUCTION_BASE_URL:"https://greidslugatt.straumur.is/api/v1/embeddedcheckout",GET_PAYMENT_METHODS_URL:"payment-methods",POST_PAYMENT_URL:"payment",POST_DETAILS_URL:"details",POST_DISABLE_TOKEN_URL:"disable-token"}),Pe=Zo();var De=class extends Error{constructor(t,r){super(`Straumur request timed out after ${r}ms: ${t}`),this.name="RequestTimeoutError"}};var mr=3e4,ur=9e4;function at(e){switch(e){case"test":return Pe.STAGING_BASE_URL;case"live":return Pe.PRODUCTION_BASE_URL;default:throw new Error(`Unknown environment: ${e}`)}}async function nt(e,t,r){let o=new AbortController,n=setTimeout(()=>o.abort(),r);try{return await fetch(e,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(t),signal:o.signal})}catch(a){throw o.signal.aborted?new De(e,r):a}finally{clearTimeout(n)}}function cr(e,t){return nt(`${at(e)}/${Pe.GET_PAYMENT_METHODS_URL}`,t,mr)}function dr(e,t){return nt(`${at(e)}/${Pe.POST_PAYMENT_URL}`,t,ur)}function pr(e,t){return nt(`${at(e)}/${Pe.POST_DETAILS_URL}`,t,ur)}function fr(e,t){return nt(`${at(e)}/${Pe.POST_DISABLE_TOKEN_URL}`,t,mr)}var st={"en-US":{"cards.title":"Card payment","cards.cardNumber":"Card number","cards.expiryDate":"Expiry date","cards.securityCode3Digits":"Security code","cards.securityCode3DigitsOptional":"Security code (optional)","cards.securityCode3DigitsInfo":"3-digit on the back of the card","cards.securityCode4DigitsInfo":"4-digit on the front of the card","cards.storePaymentMethod":"Store payment information","cards.saveCardDetails":"Save card details","cards.cardBrand":"Card brand","googlePay.title":"Google Pay","applePay.title":"Apple Pay","kortalan.title":"Kortal\xE1n","kortalan.payButton":"Continue to Kortal\xE1n","stored-cards.expiryDate":"Expiry date","stored-cards.securityCode3Digits":"Security code","stored-cards.securityCode3DigitsOptional":"Security code (optional)","stored-cards.securityCode3DigitsInfo":"3-digit on the back of the card","stored-cards.securityCode4DigitsInfo":"4-digit on the front of the card","stored-cards.removeStoredCard":"Remove","stored-cards.removeStoredCardQuestion":"Remove stored payment method?","stored-cards.removeStoredCardQuestionYesRemove":"Yes, remove","stored-cards.removeStoredCardQuestionCancel":"Cancel","stored-cards.saveCardDetails":"Save card details","success.paymentAuthorized":"Payment authorized","success.paymentPending":"Payment received and being processed","payment.processing":"Processing payment\u2026","payment.loading":"Loading\u2026","error.unknownError":"Unknown error occurred","error.failedToInitializeStraumurWebComponent":"Failed to initialize Straumur Web component","error.failedToInitializePaymentMethods":"Failed to initialize payment methods","error.failedToSubmitPayment":"Failed to submit payment","error.paymentFailed":"Payment failed","error.paymentUnsuccessful":"Payment unsuccessful","error.failedToSubmitPaymentDetails":"Failed to submit payment details","error.paymentDetailsFailed":"Payment details failed","error.paymentNotConfirmed":"We couldn't confirm your payment. Please check whether it went through before trying again.","error.failedToSubmitRemoveStoredPaymentCard":"Failed to remove stored payment card","error.failedToRemoveStoredPaymentCard":"Stored payment card was not removed"},"is-IS":{"cards.title":"Grei\xF0a me\xF0 korti","cards.cardNumber":"Kortan\xFAmer","cards.expiryDate":"Gildisdagur","cards.securityCode3Digits":"\xD6ryggisk\xF3\xF0i","cards.securityCode3DigitsOptional":"\xD6ryggisk\xF3\xF0i (valkv\xE6tt)","cards.securityCode3DigitsInfo":"3 t\xF6lustafir aftan \xE1 kortinu","cards.securityCode4DigitsInfo":"4 t\xF6lustafir framan \xE1 kortinu","cards.storePaymentMethod":"Vista grei\xF0sluuppl\xFDsingar","cards.saveCardDetails":"Vista kortauppl\xFDsingar","cards.cardBrand":"Kortategund","googlePay.title":"Google Pay","applePay.title":"Apple Pay","kortalan.title":"Kortal\xE1n","kortalan.payButton":"\xC1fram \xED Kortal\xE1n","stored-cards.expiryDate":"Gildisdagur","stored-cards.securityCode3Digits":"\xD6ryggisk\xF3\xF0i","stored-cards.securityCode3DigitsOptional":"\xD6ryggisk\xF3\xF0i (valkv\xE6tt)","stored-cards.securityCode3DigitsInfo":"3 t\xF6lustafir aftan \xE1 kortinu","stored-cards.securityCode4DigitsInfo":"4 t\xF6lustafir framan \xE1 kortinu","stored-cards.removeStoredCard":"Fjarl\xE6gja","stored-cards.removeStoredCardQuestion":"Fjarl\xE6gja geymdan grei\xF0slum\xE1ta?","stored-cards.removeStoredCardQuestionYesRemove":"J\xE1, fjarl\xE6gja","stored-cards.removeStoredCardQuestionCancel":"H\xE6tta vi\xF0","stored-cards.saveCardDetails":"Vista kortauppl\xFDsingar","success.paymentAuthorized":"Grei\xF0sla sam\xFEykkt","success.paymentPending":"Grei\xF0sla m\xF3ttekin og er \xED vinnslu","payment.processing":"Grei\xF0sla \xED vinnslu\u2026","payment.loading":"Hle\xF0ur\u2026","error.unknownError":"\xD3\xFEekkt villa kom upp","error.failedToInitializeStraumurWebComponent":"Mist\xF3kst a\xF0 s\xE6kja Straumur Web hluta","error.failedToInitializePaymentMethods":"Mist\xF3kst a\xF0 s\xE6kja grei\xF0slum\xE1ta","error.failedToSubmitPayment":"Mist\xF3kst a\xF0 senda grei\xF0slu","error.paymentFailed":"Grei\xF0sla mist\xF3kst","error.paymentUnsuccessful":"Grei\xF0sla ekki tekin","error.failedToSubmitPaymentDetails":"Mist\xF3kst a\xF0 senda grei\xF0sluuppl\xFDsingar","error.paymentDetailsFailed":"Mist\xF3kst a\xF0 s\xE6kja grei\xF0sluuppl\xFDsingar","error.paymentNotConfirmed":"Ekki t\xF3kst a\xF0 sta\xF0festa grei\xF0sluna. Athuga\xF0u hvort h\xFAn hafi fari\xF0 \xED gegn \xE1\xF0ur en \xFE\xFA reynir aftur.","error.failedToSubmitRemoveStoredPaymentCard":"Mist\xF3kst a\xF0 fjarl\xE6gja geymdan grei\xF0slum\xE1ta","error.failedToRemoveStoredPaymentCard":"Geymdur grei\xF0slum\xE1ti var ekki fjarl\xE6g\xF0ur"}};function hr(e){return typeof e=="string"&&(e in st["en-US"]||e in st["is-IS"])}async function _r(e,t){try{let r=await cr(e,{sessionId:t});if(!r.ok){let n=r.headers.get("content-type"),a="error.failedToInitializePaymentMethods";if(n&&n.includes("application/json")){let s=(await r.json()).errorMessage;hr(s)&&(a=s)}return{resultCode:"Error",error:a}}return{resultCode:"Success",...await r.json()}}catch{return{resultCode:"Error",error:"error.failedToInitializePaymentMethods"}}}function it(e){switch(e){case"en":case"en-US":return"en-US";default:return"is-IS"}}var Oo={is:"is-IS","is-IS":"is-IS",en:"en-US","en-US":"en-US"};function lt(e){if(!e)return;let t={};for(let[r,o]of Object.entries(e)){let n=Oo[r];if(!n){console.warn(`[StraumurCheckout] localizations: unsupported language "${r}" ignored (use "is" or "en").`);continue}o&&(t[n]={...t[n],...o})}return t}var ae=require("preact");var Ue=require("preact"),$r=require("preact/hooks");h(`.straumur__card-component--brands{display:flex;margin-left:auto;align-items:center;gap:var(--straumur__space-xxs)}.straumur__card-component__expandable{background:var(--straumur__color-white)}.straumur__card-component__loading-text{display:flex;justify-content:center}.straumur__card-component__form{display:flex;padding-top:var(--straumur__space-xxlg);flex-direction:column;gap:var(--straumur__space-5xlg)}.straumur__card-component__form--wrapper{display:flex;flex-direction:column;justify-items:start;position:relative;width:100%}.straumur__card-component__form--wrapper--error{color:var(--straumur__color-error-text);font-size:12px}.straumur__card-component__form--wrapper--label{transform:translate(var(--straumur__space-md)) translateY(-50%);z-index:1;background:linear-gradient(to top,var(--straumur__color-secondary-gamma) 53%,var(--straumur__color-transparent) 50%);position:absolute;font-weight:500;font-size:14px;padding:0 var(--straumur__space-xxs)}.straumur__card-component__form--wrapper--label--error{color:var(--straumur__color-error-text);background:linear-gradient(to top,var(--straumur__color-red-gamma) 53%,var(--straumur__color-transparent) 50%)}.straumur__card-component__form--wrapper--label--info{position:absolute;top:33%;right:var(--straumur__space-md)}.straumur__card-component__form--wrapper--input{background:var(--straumur__color-secondary-gamma);color:var(--straumur__color-text);display:block;font-family:inherit;border:1px solid var(--straumur__color-transparent);border-radius:var(--straumur__border-radius-s);font-size:16px;height:48px;outline:none;padding-left:var(--straumur__space-lg);transition:border .2s ease-out,box-shadow .2s ease-out}.straumur__card-component__form--wrapper--input:hover{border:1px solid var(--straumur__color-cosmos-blue-delta)}.straumur__card-component__form--wrapper--input--error{background:var(--straumur__color-red-gamma);border:1px solid var(--straumur__color-red-beta)}.straumur__card-component__form--wrapper--input--error:hover{border:1px solid var(--straumur__color-red-beta)}.straumur__card-component__form--field-wrapper{display:flex;width:100%;gap:var(--straumur__space-lg)}.straumur__card-component__submit-button{background:var(--straumur__color-primary);border:none;border-radius:var(--straumur__border-radius-s);color:var(--straumur__color-on-primary);cursor:pointer;font-size:16px;height:40px;outline:none;padding:0 var(--straumur__space-xxlg);transition:background .2s ease-out;width:100%}.straumur__card-component__submit-button:hover{background:var(--straumur__color-primary);border:1px solid var(--straumur__color-border)}.straumur__card-component__submit-button:disabled{background:var(--straumur__color-gray-epsilon);color:var(--straumur__color-secondary);border:1px solid var(--straumur__color-border);cursor:not-allowed}.straumur__card-component__form--wrapper--label-checkbox{height:38px;display:flex;align-items:center;padding:8px;gap:var(--straumur__space-s);border-radius:var(--straumur__border-radius-s);cursor:pointer;user-select:none;transition:background-color .25s ease-in-out}.straumur__card-component__form--wrapper--label-checkbox:hover{background-color:var(--straumur__color-blue-gamma)}.straumur__card-component__form--wrapper--label-checkbox:hover .straumur__card-component__form--wrapper--label-checkbox--checkmark{border:1px solid var(--straumur__color-cosmos-blue-delta)}.straumur__card-component__form--wrapper--label-checkbox--checkmark{height:var(--straumur__space-5xlg);width:var(--straumur__space-5xlg);background-color:var(--straumur__color-secondary-gamma);border-radius:var(--straumur__border-radius-xxs);flex-shrink:0;border:1px solid var(--straumur__color-transparent);transition:all .2s ease-in}.straumur__card-component__form--wrapper--label-checkbox:hover .straumur__card-component__form--wrapper--label-checkbox--checkmark.straumur__card-component__form--wrapper--label-checkbox--checkmark--checked{border:1px solid var(--straumur__color-transparent)}.straumur__card-component__form--wrapper--label-checkbox--checkmark--checked{background-color:var(--straumur__color-primary)}.straumur__card-component__form--wrapper--label-checkbox--checkmark--icon{height:100%;display:flex;justify-content:center;align-items:center;font-size:9px;opacity:0;visibility:hidden;transition:all .2s ease-in}.straumur__card-component__form--wrapper--label-checkbox--checkmark--icon--checked{opacity:1;visibility:visible}.straumur__card-component__form--wrapper--label-checkbox--checkbox{display:none}.js-iframe{border:none;color-scheme:auto;height:100%;overflow:hidden;width:100%}.straumur__card-component__dual-branding{display:grid;grid-template-columns:1fr 1fr;gap:var(--straumur__space-lg)}.straumur__card-component__dual-branding--logo{display:flex;align-items:center;padding:var(--straumur__space-xs);border:1px solid var(--straumur__color-secondary-gamma);border-radius:var(--straumur__border-radius-s)}.straumur__card-component__dual-branding--logo--item{display:flex;pointer-events:none}.straumur__card-component__dual-branding--logo--selected{border:1px solid var(--straumur__color-cosmos-blue-delta);justify-content:space-between}
3
+ `);var yr=require("preact"),vr=require("preact"),S=require("preact/hooks"),gr=(0,vr.createContext)(void 0),No={card:!1,storedcard:!1,googlepay:!1,applepay:!1,kortalan:!1},br=({children:e,initialValue:t,initialStoredPaymentMethodId:r=null,isSolePaymentMethod:o,hasCard:n,hasGooglePay:a,hasApplePay:s,hasKortalan:i,hasStoredPaymentMethods:m,onSubmitApiReady:u})=>{let[c,f]=(0,S.useState)(t),g=(0,S.useRef)(null),x=(0,S.useCallback)(b=>{g.current=b},[]),v=(0,S.useCallback)(b=>{g.current===b&&(g.current=null)},[]),R=(0,S.useCallback)(()=>{let b=g.current;return b?(b(),!0):!1},[]);(0,S.useLayoutEffect)(()=>{u?.({triggerSubmit:R})},[u,R]);let[k,p]=(0,S.useState)(r),[B,F]=(0,S.useState)(!1),[O,N]=(0,S.useState)(!1),G=(0,S.useRef)(!1),w=(0,S.useCallback)(b=>{G.current=b,N(b)},[]),ne=(0,S.useCallback)(()=>G.current?!1:(w(!0),!0),[w]),z=(0,S.useCallback)(()=>G.current,[]),[j,be]=(0,S.useState)(!1),[se,ie]=(0,S.useState)(No),[K,H]=(0,S.useState)({}),[le,me]=(0,S.useState)(null),[Ce,pe]=(0,S.useState)(null),J=(b,$)=>{ie(ue=>({...ue,[b]:$}))},q=(b,$)=>{H(ue=>({...ue,[b]:$}))},fe=(0,S.useCallback)(b=>B&&c!==b,[B,c]),L=b=>{pe(b)},ee=b=>{me(b)};return(0,yr.h)(gr.Provider,{value:{activePaymentMethod:c,setActivePaymentMethod:f,activeStoredPaymentMethodId:k,setActiveStoredPaymentMethodId:p,isPaymentMethodInitialized:se,updatePaymentMethodInitialization:J,isStoredCardInitialized:K,updateStoredCardInitialization:q,handleSuccess:ee,success:le,handleError:L,error:Ce,threeDSecureActive:B,setThreeDSecureActive:F,paymentInProgress:O,setPaymentInProgress:w,tryStartPayment:ne,isPaymentLocked:z,paymentProcessing:j,setPaymentProcessing:be,isObscuredByThreeDS:fe,isSolePaymentMethod:o,hasCard:n,hasGooglePay:a,hasApplePay:s,hasKortalan:i,hasStoredPaymentMethods:m,registerSubmitHandler:x,unregisterSubmitHandler:v}},e)},C=()=>{let e=(0,S.useContext)(gr);if(e===void 0)throw new Error("usePaymentMethodGroup must be used within a PaymentMethodGroup");return e};var Cr=require("preact"),Pr=require("preact"),Sr=require("preact/hooks"),xr=(0,Pr.createContext)(void 0),wr=({children:e,i18nService:t})=>(0,Cr.h)(xr.Provider,{value:{i18n:t}},e),I=()=>{let e=(0,Sr.useContext)(xr);if(!e)throw new Error("useI18n must be used within an I18nProvider");return e};var mt=require("preact"),Uo=()=>(0,mt.h)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"40",height:"26",viewBox:"0 0 24 24",fill:"none"},(0,mt.h)("path",{d:"M24 11H0V7H24V11Z",fill:"currentColor"}),(0,mt.h)("path",{opacity:"0.4",d:"M21.3333 3C22.8042 3 24 4.19375 24 5.66667V7H0V5.66667C0 4.19375 1.19375 3 2.66667 3H21.3333ZM24 19C24 20.4708 22.8042 21.6667 21.3333 21.6667H2.66667C1.19375 21.6667 0 20.4708 0 19V11H24V19ZM4.66667 16.3333C4.3 16.3333 4 16.6333 4 17C4 17.3667 4.3 17.6667 4.66667 17.6667H7.33333C7.7 17.6667 8 17.3667 8 17C8 16.6333 7.7 16.3333 7.33333 16.3333H4.66667ZM10 17.6667H15.3333C15.7 17.6667 16 17.3667 16 17C16 16.6333 15.7 16.3333 15.3333 16.3333H10C9.63333 16.3333 9.33333 16.6333 9.33333 17C9.33333 17.3667 9.63333 17.6667 10 17.6667Z",fill:"currentColor"})),Mr=Uo;var E=require("preact"),Lr=require("preact/hooks");var Be=require("preact"),Go=({opacity:e=1,reversed:t=!1})=>(0,Be.h)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"30",height:"19.5",viewBox:"0 0 40 26",opacity:e},!t&&(0,Be.h)("path",{fill:"#fff",d:"M0 0h40v26H0z"}),(0,Be.h)("path",{fill:"#F06022",d:"M16.13 19.29h7.74V6.7h-7.74v12.58z"}),(0,Be.h)("path",{fill:"#EA1D25",d:"M16.93 13A7.93 7.93 0 0 1 20 6.71a8.02 8.02 0 0 0-10.65.65 7.96 7.96 0 0 0 0 11.28 8.02 8.02 0 0 0 10.65.65A8.02 8.02 0 0 1 16.93 13"}),(0,Be.h)("path",{fill:"#F79D1D",d:"M33 13c0 2.12-.84 4.15-2.34 5.65a8.1 8.1 0 0 1-10.66.64A8.05 8.05 0 0 0 23.07 13 7.96 7.96 0 0 0 20 6.71a8.02 8.02 0 0 1 10.66.64A7.93 7.93 0 0 1 33 13"})),kr=Go;var ut=require("preact"),Ko=({opacity:e=1,reversed:t=!1})=>(0,ut.h)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"30",height:"19.5",fill:"none",viewBox:"0 0 40 26",opacity:e},!t&&(0,ut.h)("path",{fill:"#fff",d:"M0 0h40v26H0z"}),(0,ut.h)("path",{fill:t?"#fff":"#1434CB",d:"m15.9 7.7-4.43 10.6h-2.9l-2.2-8.47c-.13-.52-.25-.71-.65-.93C5.05 8.55 3.96 8.2 3 8l.07-.32h4.67c.6 0 1.13.4 1.27 1.09l1.15 6.14 2.86-7.23h2.89Zm11.39 7.15c0-2.8-3.88-2.96-3.85-4.21 0-.38.37-.79 1.16-.9a5.2 5.2 0 0 1 2.71.48l.48-2.25a7.4 7.4 0 0 0-2.57-.47c-2.71 0-4.62 1.44-4.64 3.51-.02 1.53 1.36 2.38 2.4 2.9 1.08.51 1.44.85 1.43 1.31 0 .71-.85 1.03-1.64 1.04-1.39.02-2.19-.37-2.82-.67l-.5 2.33c.64.29 1.82.55 3.05.56 2.89 0 4.78-1.42 4.79-3.63Zm7.17 3.46H37L34.78 7.7h-2.34c-.53 0-.98.3-1.17.78l-4.12 9.84h2.88l.57-1.58h3.53l.33 1.58Zm-3.07-3.76 1.45-3.99.83 4H31.4ZM19.83 7.7l-2.27 10.62h-2.74L17.09 7.7h2.74Z"})),Rr=Ko;var ze=require("preact"),Wo=({opacity:e=1,reversed:t=!1})=>(0,ze.h)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"30",height:"19.5",fill:"none",viewBox:"0 0 40 26",opacity:e},!t&&(0,ze.h)("path",{fill:"#fff",d:"M0 0h40v26H0z"}),(0,ze.h)("path",{fill:"#7773B4",d:"M16.13 19.29h7.74V6.7h-7.74v12.58z"}),(0,ze.h)("path",{fill:"#EA1D25",d:"M16.93 13A7.93 7.93 0 0 1 20 6.71a8.02 8.02 0 0 0-10.65.65 7.96 7.96 0 0 0 0 11.28 8.02 8.02 0 0 0 10.65.65A8.02 8.02 0 0 1 16.93 13"}),(0,ze.h)("path",{fill:"#139FDA",d:"M33 13c0 2.12-.84 4.15-2.34 5.65a8.1 8.1 0 0 1-10.66.64A8.05 8.05 0 0 0 23.07 13 7.96 7.96 0 0 0 20 6.71a8.02 8.02 0 0 1 10.66.64A7.93 7.93 0 0 1 33 13"})),Ar=Wo;var ct=require("preact"),jo=({opacity:e=1})=>(0,ct.h)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 40 26",width:"30",height:"19.5",opacity:e},(0,ct.h)("path",{fill:"#016FD0",d:"M0 26h40V0H0v26z"}),(0,ct.h)("path",{fill:"#fff","fill-rule":"evenodd",d:"M30.69 13.63v1.64h-4.17v1.14h4.07v1.64h-4.07v1.12h4.17v1.66l3.38-3.6-3.38-3.6zm-1.1-6.14-1.4-3.19h-4l-4.1 9.32h3.33v8.27l10.28.01 1.61-1.8 1.63 1.8H40v-2.63l-1.92-2.06L40 15.16v-2.59l-1.93.01V7.6l-1.81 4.98H34.5l-1.86-5v5h-4.2l-.6-1.46h-3.3l-.6 1.46h-2.22l3.23-7.27V5.3h2.55l3.19 7.21V5.3l3.1.01 1.6 4.47 1.62-4.48H40v-1h-3.77l-.85 2.39-.85-2.39h-4.94v3.19zm-5.06 6.11v7.27h6.16v-.01h2.54l2.1-2.32 2.12 2.32H40v-.1l-3.34-3.53L40 13.65v-.05h-2.52l-2.1 2.3-2.08-2.3h-8.77zm.7-4.11.96-2.31.97 2.31h-1.93z"})),Ir=jo;var d=require("preact"),Jo=({opacity:e=1})=>(0,d.h)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"30",height:"19.5",fill:"none",viewBox:"0 0 40 26",opacity:e},(0,d.h)("g",{"clip-path":"url(#a)"},(0,d.h)("path",{fill:"#fff",d:"M0 0h40v26H0V0Z"}),(0,d.h)("path",{fill:"#fff",d:"M36.6 20.66a5.22 5.22 0 0 1-5.22 5.22H3V5.22A5.22 5.22 0 0 1 8.22 0H36.6v20.66Z"}),(0,d.h)("path",{fill:"url(#b)",d:"M27.36 15.36h2.15l.27-.02a.96.96 0 0 0 .76-.96 1 1 0 0 0-.76-.97c-.06-.02-.19-.02-.27-.02h-2.15v1.97Z"}),(0,d.h)("path",{fill:"url(#c)",d:"M29.27 1.75a3.74 3.74 0 0 0-3.74 3.73v3.89h5.28c.12 0 .26 0 .37.02 1.19.06 2.07.67 2.07 1.74 0 .84-.6 1.56-1.7 1.7v.05c1.2.08 2.13.76 2.13 1.8 0 1.13-1.03 1.87-2.38 1.87h-5.8v7.6H31a3.74 3.74 0 0 0 3.73-3.74V1.75h-5.46Z"}),(0,d.h)("path",{fill:"url(#d)",d:"M30.27 11.38c0-.5-.35-.82-.76-.89l-.2-.02h-1.95v1.81h1.95c.06 0 .18 0 .2-.02a.87.87 0 0 0 .76-.88Z"}),(0,d.h)("path",{fill:"url(#e)",d:"M8.6 1.75a3.74 3.74 0 0 0-3.73 3.73v9.22a7.4 7.4 0 0 0 3.22.85c1.3 0 2-.78 2-1.85V9.34h3.2v4.34c0 1.68-1.05 3.06-4.6 3.06-2.16 0-3.84-.47-3.84-.47v7.86h5.48a3.74 3.74 0 0 0 3.74-3.74V1.75H8.6Z"}),(0,d.h)("path",{fill:"url(#f)",d:"M18.94 1.75a3.74 3.74 0 0 0-3.74 3.73v4.9c.94-.8 2.59-1.32 5.24-1.2 1.41.06 2.93.45 2.93.45v1.58a7.1 7.1 0 0 0-2.83-.82c-2.01-.14-3.23.84-3.23 2.57 0 1.74 1.22 2.73 3.23 2.57a7.46 7.46 0 0 0 2.83-.82v1.58s-1.5.39-2.93.45c-2.65.12-4.3-.4-5.24-1.2v8.63h5.48a3.74 3.74 0 0 0 3.74-3.74V1.75h-5.48Z"})),(0,d.h)("defs",null,(0,d.h)("linearGradient",{id:"b",x1:"25.52",x2:"34.75",y1:"14.38",y2:"14.38",gradientUnits:"userSpaceOnUse"},(0,d.h)("stop",{offset:"0","stop-color":"#007940"}),(0,d.h)("stop",{offset:".23","stop-color":"#00873F"}),(0,d.h)("stop",{offset:".74","stop-color":"#40A737"}),(0,d.h)("stop",{offset:"1","stop-color":"#5CB531"})),(0,d.h)("linearGradient",{id:"c",x1:"25.52",x2:"34.75",y1:"12.94",y2:"12.94",gradientUnits:"userSpaceOnUse"},(0,d.h)("stop",{offset:"0","stop-color":"#007940"}),(0,d.h)("stop",{offset:".23","stop-color":"#00873F"}),(0,d.h)("stop",{offset:".74","stop-color":"#40A737"}),(0,d.h)("stop",{offset:"1","stop-color":"#5CB531"})),(0,d.h)("linearGradient",{id:"d",x1:"25.52",x2:"34.75",y1:"11.37",y2:"11.37",gradientUnits:"userSpaceOnUse"},(0,d.h)("stop",{offset:"0","stop-color":"#007940"}),(0,d.h)("stop",{offset:".23","stop-color":"#00873F"}),(0,d.h)("stop",{offset:".74","stop-color":"#40A737"}),(0,d.h)("stop",{offset:"1","stop-color":"#5CB531"})),(0,d.h)("linearGradient",{id:"e",x1:"4.86",x2:"14.24",y1:"12.94",y2:"12.94",gradientUnits:"userSpaceOnUse"},(0,d.h)("stop",{offset:"0","stop-color":"#1F286F"}),(0,d.h)("stop",{offset:".48","stop-color":"#004E94"}),(0,d.h)("stop",{offset:".83","stop-color":"#0066B1"}),(0,d.h)("stop",{offset:"1","stop-color":"#006FBC"})),(0,d.h)("linearGradient",{id:"f",x1:"15.15",x2:"24.25",y1:"12.94",y2:"12.94",gradientUnits:"userSpaceOnUse"},(0,d.h)("stop",{offset:"0","stop-color":"#6C2C2F"}),(0,d.h)("stop",{offset:".17","stop-color":"#882730"}),(0,d.h)("stop",{offset:".57","stop-color":"#BE1833"}),(0,d.h)("stop",{offset:".86","stop-color":"#DC0436"}),(0,d.h)("stop",{offset:"1","stop-color":"#E60039"})),(0,d.h)("clipPath",{id:"a"},(0,d.h)("path",{fill:"#fff",d:"M0 0h40v26H0z"})))),Tr=Jo;var T=require("preact"),$o=({opacity:e=1})=>(0,T.h)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 40 26",width:"30",height:"19.5",opacity:e},(0,T.h)("path",{fill:"#fff",d:"M0 0h40v26H0z"}),(0,T.h)("g",{fill:"#1a1918"},(0,T.h)("path",{d:"M5.96 15.58c0-.56-.3-.52-.58-.53v-.16H7.2a2.28 2.28 0 0 1 2.5 2.2c0 .61-.36 2.17-2.57 2.17H5.38v-.16c.38-.04.56-.05.58-.48zm.61 2.94c0 .49.35.54.65.54a1.75 1.75 0 0 0 1.8-1.95 1.88 1.88 0 0 0-1.96-2.02c-.26 0-.37.02-.49.02zm3.36.58h.12c.17 0 .3 0 .3-.2v-1.7c0-.28-.1-.32-.33-.44v-.1l.67-.23a.22.22 0 0 1 .11-.03c.03 0 .05.04.05.09v2.4c0 .21.13.21.3.21h.11v.16H9.93zm.67-3.67a.3.3 0 0 1 0-.61.3.3 0 0 1 .3.3.31.31 0 0 1-.3.31zm1.26 1.8c0-.23-.07-.3-.36-.41v-.12a8.44 8.44 0 0 0 .82-.3c.02 0 .04.01.04.06v.4a1.83 1.83 0 0 1 1.08-.46c.53 0 .72.39.72.88v1.61c0 .21.14.21.31.21h.12v.16h-1.34v-.16h.11c.18 0 .3 0 .3-.2v-1.63c0-.36-.22-.53-.57-.53a1.66 1.66 0 0 0-.73.3v1.85c0 .21.14.21.31.21h.12v.16h-1.34v-.16h.1c.18 0 .3 0 .3-.2v-1.67m3.21.3a1.55 1.55 0 0 0 0 .37 1.05 1.05 0 0 0 .92 1.08 1.2 1.2 0 0 0 .85-.42l.08.09a1.47 1.47 0 0 1-1.15.7 1.26 1.26 0 0 1-1.2-1.36c0-1.23.83-1.6 1.27-1.6a1 1 0 0 1 1.05 1 .74.74 0 0 1 0 .1l-.06.04zm1.11-.2c.16 0 .18-.08.18-.16a.53.53 0 0 0-.55-.57c-.38 0-.64.28-.72.73zm.86 1.77h.17c.17 0 .3 0 .3-.2v-1.77c0-.2-.23-.23-.33-.28v-.1c.46-.19.7-.35.77-.35.03 0 .05.02.05.08v.56H18c.16-.24.42-.64.8-.64a.34.34 0 0 1 .36.33.3.3 0 0 1-.3.32c-.19 0-.19-.15-.4-.15a.53.53 0 0 0-.46.52v1.47c0 .21.12.21.3.21h.35v.16h-.88a26 26 0 0 0-.74 0zm2.41-.7a.83.83 0 0 0 .78.76.44.44 0 0 0 .51-.45c0-.74-1.36-.5-1.36-1.5a.86.86 0 0 1 .97-.81 1.64 1.64 0 0 1 .71.18l.04.64h-.14a.64.64 0 0 0-.68-.62.44.44 0 0 0-.49.41c0 .74 1.45.51 1.45 1.5 0 .4-.33.85-1.07.85a1.64 1.64 0 0 1-.77-.22l-.07-.72.12-.03m7.44-2.37h-.15A1.2 1.2 0 0 0 25.39 15a1.79 1.79 0 0 0-1.77 2 2.04 2.04 0 0 0 1.87 2.17 1.27 1.27 0 0 0 1.25-1.09l.15.04-.15.91a3.5 3.5 0 0 1-1.38.34A2.23 2.23 0 0 1 22.97 17a2.3 2.3 0 0 1 2.37-2.2 4.5 4.5 0 0 1 1.48.33l.06.9m.22 3.07h.13c.17 0 .3 0 .3-.2v-3.5c0-.4-.1-.42-.34-.49v-.1a3.96 3.96 0 0 0 .65-.27.66.66 0 0 1 .14-.07c.03 0 .05.04.05.1v4.32c0 .21.13.21.3.21h.12v.16H27.1zm4.02-.18c0 .11.07.12.18.12h.25v.12a6.33 6.33 0 0 0-.9.2l-.03-.02v-.5a1.69 1.69 0 0 1-1.11.52.68.68 0 0 1-.69-.75v-1.6c0-.17-.02-.32-.37-.35v-.12l.8-.05c.07 0 .07.05.07.18v1.62c0 .19 0 .73.55.73a1.4 1.4 0 0 0 .75-.38v-1.7c0-.12-.3-.18-.52-.25v-.11c.56-.04.91-.09.97-.09.05 0 .05.05.05.11zm1.25-2.07a1.58 1.58 0 0 1 .93-.45 1.22 1.22 0 0 1 1.16 1.31 1.58 1.58 0 0 1-1.5 1.65 1.84 1.84 0 0 1-.86-.22l-.19.14-.13-.07a7.37 7.37 0 0 0 .09-1.11v-2.7c0-.4-.1-.42-.33-.49v-.1a3.93 3.93 0 0 0 .64-.27.67.67 0 0 1 .14-.07c.04 0 .05.04.05.1zm0 1.7a.67.67 0 0 0 .64.64c.67 0 .95-.65.95-1.21a1.2 1.2 0 0 0-1-1.24.96.96 0 0 0-.6.3v1.51zM5.38 22.91h.04c.13 0 .26-.02.26-.2v-1.78c0-.18-.13-.2-.26-.2h-.04v-.1l.5.01.54-.01v.1h-.05c-.12 0-.25.02-.25.2v1.79c0 .17.13.19.25.19h.05v.1L5.88 23l-.5.01z"}),(0,T.h)("path",{d:"M6.42 23.03 5.88 23l-.5.02h-.02v-.14h.06c.13 0 .24 0 .24-.17v-1.8c0-.16-.11-.17-.24-.17h-.06v-.13h1.07v.13h-.06c-.13 0-.24.01-.24.18v1.79c0 .16.11.17.24.17h.06v.14zM6.4 23v-.08h-.03c-.12 0-.27-.02-.27-.2v-1.8c0-.18.15-.2.27-.2h.03v-.07h-1v.07h.03c.13 0 .27.02.27.2v1.8c0 .18-.14.2-.27.2H5.4V23l.49-.02.52.02zm2.35-.66h.01v-1.29a.28.28 0 0 0-.3-.32H8.4v-.1l.48.01.42-.01v.1h-.06c-.14 0-.3.03-.3.44v1.55a2.27 2.27 0 0 0 .02.34h-.13L7.07 21.1v1.41c0 .3.06.4.32.4h.06v.1L7 23l-.47.01v-.1h.05c.24 0 .3-.16.3-.43v-1.44a.3.3 0 0 0-.3-.3h-.05v-.11l.4.01.3-.01 1.51 1.71"}),(0,T.h)("path",{d:"M8.95 23.08h-.14l-1.73-1.94v1.37c0 .3.05.38.3.38h.08v.14h-.01L7 23l-.47.02h-.01v-.14h.06c.23 0 .3-.14.3-.41v-1.44a.3.3 0 0 0-.3-.3h-.06v-.12h.72l1.5 1.69v-1.26c0-.27-.19-.3-.29-.3h-.09v-.13h.94v.13h-.07c-.14 0-.28.01-.28.42v1.55a2.27 2.27 0 0 0 .02.34v.02zm-.13-.03h.11a2.3 2.3 0 0 1-.01-.33v-1.55c0-.41.17-.45.31-.45h.04v-.07H8.4v.07h.06a.3.3 0 0 1 .32.33v1.3h-.02v.01l-1.52-1.71h-.68v.07h.03a.32.32 0 0 1 .32.32v1.44c0 .27-.07.44-.32.45h-.03V23l.45-.02.42.02v-.07H7.4c-.27 0-.34-.12-.34-.42v-1.44l1.77 1.98zm-.07-.71.01-.01v.01zm0 0v-.01zM9.8 20.8c-.26 0-.27.06-.32.31h-.1l.04-.29a2.04 2.04 0 0 0 .02-.29h.08c.03.1.11.1.2.1h1.76c.1 0 .18 0 .18-.1h.09l-.04.28v.28l-.11.04c0-.13-.02-.33-.25-.33h-.56v1.82c0 .26.12.29.28.29h.07v.1l-.56-.01-.57.01v-.1h.06c.19 0 .28-.02.28-.29V20.8z"}),(0,T.h)("path",{d:"m11.14 23.03-.56-.02-.57.02h-.02v-.14h.08c.19 0 .26 0 .27-.27v-1.8H9.8v-.03h.57v1.83c0 .28-.11.3-.3.3h-.05V23l.56-.02.54.02v-.07h-.05c-.16 0-.3-.05-.3-.31v-1.83h.58c.23 0 .26.2.26.32l.08-.03a3.96 3.96 0 0 1 .04-.53h-.05c-.02.1-.11.1-.2.1H9.71c-.08 0-.17 0-.2-.1h-.06a2.04 2.04 0 0 1-.02.27c0 .1-.02.19-.04.28h.08c.04-.24.07-.32.33-.31v.03c-.26 0-.25.04-.3.3h-.14v-.01l.04-.3a1.93 1.93 0 0 0 .02-.28v-.01h.11c.03.1.09.1.18.1h1.77c.1 0 .16 0 .17-.1v-.01h.02l.1.02-.01.01-.04.28v.28h-.01l-.12.05v-.02c-.01-.13-.03-.31-.24-.31h-.55v1.8c0 .25.11.27.27.27h.08v.14zm.71-.12h.05c.12 0 .25-.02.25-.2v-1.78c0-.18-.13-.2-.25-.2h-.05v-.1l.85.01.87-.01.01.52-.1.03c-.02-.22-.06-.4-.42-.4h-.47v.9h.4c.2 0 .25-.12.27-.3h.1v.78l-.1.02c-.02-.2-.03-.33-.26-.33h-.4v.79c0 .22.19.22.4.22.41 0 .6-.03.7-.41l.1.02a7.7 7.7 0 0 0-.12.54l-.92-.01-.9.01v-.1"}),(0,T.h)("path",{d:"m13.68 23.03-.92-.02-.9.02h-.02v-.14h.06c.13 0 .24 0 .24-.17v-1.8c0-.16-.11-.17-.24-.17h-.06v-.13h1.75v.01a4.18 4.18 0 0 0 0 .52v.01l-.13.04v-.02c-.02-.22-.05-.38-.4-.38h-.46v.86h.4c.2 0 .23-.1.25-.29v-.01h.13v.01a8.08 8.08 0 0 0 0 .8h-.01l-.12.03v-.02c-.02-.2-.03-.32-.25-.32h-.4v.78c0 .2.18.2.4.2.42 0 .58-.02.68-.4v-.01h.02l.1.03v.01a7.8 7.8 0 0 0-.11.54v.02zm-.02-.03.11-.52-.06-.02c-.1.39-.3.42-.7.42-.22 0-.43 0-.44-.24v-.8H13c.24-.01.26.13.28.33l.07-.02a7.25 7.25 0 0 1 0-.76h-.07c-.02.18-.08.3-.29.3h-.42v-.92h.5c.35 0 .4.18.42.4l.07-.03a5.76 5.76 0 0 1 0-.5l-.86.02-.83-.01v.07h.03c.12 0 .27.02.27.2v1.8c0 .18-.15.2-.27.2h-.03V23l.89-.02zm.59-2c0-.26-.14-.27-.24-.27h-.06v-.1l.53.01.54-.01c.43 0 .81.12.81.6a.64.64 0 0 1-.47.6l.58.87a.38.38 0 0 0 .33.21v.1l-.33-.01-.32.01a9.45 9.45 0 0 1-.7-1.1h-.23v.73c0 .26.12.27.28.27h.06v.1l-.59-.01-.5.01v-.1h.07c.13 0 .24-.06.24-.18v-1.74zm.44.78h.16c.34 0 .53-.13.53-.53a.47.47 0 0 0-.5-.5 1.65 1.65 0 0 0-.2.02v1.01z"}),(0,T.h)("path",{d:"m16.27 23.03-.33-.02c-.1 0-.21.02-.33.01a9.54 9.54 0 0 1-.7-1.1h-.2v.72c0 .25.1.25.26.25h.07v.14h-.01l-.59-.02-.5.02v-.14H14c.12 0 .22-.05.23-.16v-1.74c0-.24-.13-.24-.23-.24h-.08v-.13h1.09c.43 0 .83.11.83.61a.65.65 0 0 1-.47.6l.57.87a.37.37 0 0 0 .32.2h.02v.13zm-1.58-1.14h.23a10.55 10.55 0 0 0 .7 1.1h.64v-.07a.39.39 0 0 1-.33-.2l-.6-.9h.02a.63.63 0 0 0 .47-.59c0-.47-.37-.58-.8-.58h-1.06v.07h.05c.1 0 .26.02.26.27v1.74c0 .13-.13.2-.26.2h-.05V23l.48-.02.57.02v-.07h-.04c-.16 0-.3-.02-.3-.3v-.74zm0-.1h-.02v-1.04h.01a1.63 1.63 0 0 1 .2-.01.48.48 0 0 1 .51.51c0 .4-.2.55-.54.55zm.16-.02c.34 0 .51-.12.51-.52a.45.45 0 0 0-.48-.48 1.33 1.33 0 0 0-.18.01v.99zm3.73.57h.01v-1.29a.28.28 0 0 0-.3-.32h-.07v-.1l.48.01.42-.01v.1h-.06c-.14 0-.3.03-.3.44v1.55a2.27 2.27 0 0 0 .02.34h-.13L16.9 21.1v1.41c0 .3.06.4.32.4h.06v.1l-.44-.01-.47.01v-.1h.05c.24 0 .3-.16.3-.43v-1.44a.3.3 0 0 0-.3-.3h-.05v-.11l.4.01.3-.01z"}),(0,T.h)("path",{d:"M18.78 23.08h-.14l-1.73-1.94v1.37c0 .3.05.38.3.38h.08v.14h-.01l-.44-.02-.47.02h-.01v-.14h.06c.23 0 .3-.14.3-.41v-1.44a.3.3 0 0 0-.3-.3h-.06v-.12h.71l1.5 1.69v-1.26c0-.27-.18-.3-.28-.3h-.09v-.13h.93v.13h-.07c-.14 0-.28.01-.28.42v1.55a2.15 2.15 0 0 0 .02.34v.02zm-.13-.03h.11a2.34 2.34 0 0 1-.01-.33v-1.55c0-.41.17-.45.31-.45h.04v-.07h-.87v.07h.06a.3.3 0 0 1 .32.33v1.3h-.02v.01l-1.52-1.71h-.68v.07h.03a.32.32 0 0 1 .32.32v1.44c0 .27-.07.44-.32.45h-.03V23l.45-.02.42.02v-.07h-.04c-.27 0-.34-.12-.34-.42v-1.44zm-.07-.71.01-.01v.01zm0 0v-.01zm1.08.18a1.38 1.38 0 0 0-.07.27c0 .1.14.12.25.12h.04v.1a7.72 7.72 0 0 0-.78 0v-.1h.02a.3.3 0 0 0 .3-.22l.54-1.57a2.87 2.87 0 0 0 .13-.42 1.73 1.73 0 0 0 .3-.15.08.08 0 0 1 .04 0 .02.02 0 0 1 .02 0l.03.1.63 1.78.12.34a.22.22 0 0 0 .23.14h.02v.1a9.66 9.66 0 0 0-.98 0v-.1h.03c.08 0 .22-.01.22-.1a1.1 1.1 0 0 0-.07-.25l-.14-.4h-.77l-.1.36zm.5-1.5-.32.96h.63l-.31-.97z"}),(0,T.h)("path",{d:"M21.48 23.03 21 23l-.51.02h-.02v-.14h.05c.08 0 .2-.01.2-.08a1.1 1.1 0 0 0-.07-.24l-.13-.39h-.75l-.1.35a1.41 1.41 0 0 0-.08.26c0 .08.13.1.24.1h.06v.14h-.02l-.41-.02-.37.02h-.01v-.14h.03a.3.3 0 0 0 .28-.2l.55-1.57a4.05 4.05 0 0 0 .13-.44 1.75 1.75 0 0 0 .31-.14.09.09 0 0 1 .03-.01.04.04 0 0 1 .04.02l.03.09.63 1.78c.04.12.08.25.13.35a.2.2 0 0 0 .2.12h.04v.14h-.01zM20.5 23l.5-.02.45.02v-.07a.23.23 0 0 1-.24-.15c-.05-.1-.09-.23-.13-.35l-.62-1.78-.03-.09h-.02a.08.08 0 0 0-.01 0 1.26 1.26 0 0 1-.3.14 2.83 2.83 0 0 1-.13.43l-.55 1.56a.32.32 0 0 1-.3.24h-.01V23l.35-.02.4.02v-.07h-.03c-.1 0-.26-.02-.27-.14a1.35 1.35 0 0 1 .08-.27h.01-.01l.11-.36h.8l.13.4a1.04 1.04 0 0 1 .07.25c0 .1-.15.11-.23.12h-.02zm-.7-1 .33-1h.03l.32 1zm.05-.04h.6l-.3-.91zm.28-.94h.01zm1.5-.22c-.26 0-.27.06-.32.31h-.1l.04-.29a2.1 2.1 0 0 0 .02-.29h.08c.03.1.11.1.2.1h1.76c.1 0 .18 0 .19-.1h.08l-.04.28v.28l-.1.04c-.02-.13-.03-.33-.26-.33h-.56v1.82c0 .26.12.29.28.29h.07v.1L22.4 23l-.57.01v-.1h.06c.19 0 .29-.02.29-.29V20.8h-.56"}),(0,T.h)("path",{d:"M22.97 23.03 22.4 23l-.57.02h-.02v-.14h.08c.19 0 .27 0 .27-.27v-1.8h-.54v-.03h.57v1.83c0 .28-.11.3-.3.3h-.05V23l.56-.02.54.02v-.07h-.05c-.16 0-.3-.05-.3-.31v-1.83h.58c.23 0 .26.2.26.32l.08-.03v-.27l.04-.26h-.05c-.02.1-.11.1-.2.1h-1.77c-.08 0-.17 0-.2-.1h-.06a2 2 0 0 1-.02.27c0 .1-.02.19-.04.28h.08c.04-.24.07-.32.33-.31v.03c-.26 0-.25.04-.3.3h-.14v-.01l.04-.29a1.98 1.98 0 0 0 .02-.29v-.01h.11c.03.1.1.1.18.1h1.77c.1 0 .17 0 .17-.1v-.01h.02l.1.02v.01l-.05.28v.28h-.01l-.12.05v-.02c-.01-.13-.03-.31-.24-.31h-.54v1.8c0 .25.1.27.26.27h.08v.14h-.01m.74-.12h.05c.12 0 .25-.02.25-.2v-1.78c0-.18-.13-.2-.25-.2h-.05v-.1l.5.01.54-.01v.1h-.05c-.12 0-.25.02-.25.2v1.79c0 .17.13.19.25.19h.05v.1L24.2 23l-.5.01z"}),(0,T.h)("path",{d:"M24.74 23.03 24.2 23l-.5.02h-.01v-.14h.06c.12 0 .24 0 .24-.17v-1.8c0-.16-.12-.17-.24-.17h-.06v-.13h1.07v.13h-.07c-.12 0-.23.01-.23.18v1.79c0 .16.1.17.23.17h.07v.14zm-.01-.03v-.07h-.04c-.12 0-.26-.03-.26-.21v-1.8c0-.18.14-.2.26-.2h.04v-.07H23.7v.07h.04c.12 0 .27.02.27.2v1.8c0 .18-.15.2-.27.2h-.03V23l.48-.02.53.02zm1.37-2.42a1.2 1.2 0 0 1 1.3 1.18 1.25 1.25 0 0 1-1.28 1.3 1.2 1.2 0 0 1-1.28-1.22 1.24 1.24 0 0 1 1.26-1.26m.05 2.33c.66 0 .78-.58.78-1.08s-.27-1.1-.84-1.1c-.6 0-.77.53-.77.99 0 .6.28 1.2.83 1.2"}),(0,T.h)("path",{d:"M24.83 21.84a1.26 1.26 0 0 1 1.27-1.28v.03a1.23 1.23 0 0 0-1.24 1.25 1.19 1.19 0 0 0 1.26 1.2 1.24 1.24 0 0 0 1.27-1.28 1.18 1.18 0 0 0-1.3-1.17v-.03a1.21 1.21 0 0 1 1.33 1.2 1.27 1.27 0 0 1-1.3 1.32 1.22 1.22 0 0 1-1.3-1.24m.48-.12c0-.46.18-1 .8-1 .57 0 .84.61.84 1.11s-.12 1.1-.79 1.1v-.03c.65 0 .76-.57.76-1.07s-.26-1.08-.82-1.09c-.58 0-.75.52-.76.98 0 .6.28 1.18.82 1.18v.03c-.56 0-.84-.6-.85-1.21m4.4.62v-1.29a.28.28 0 0 0-.3-.32h-.07v-.1l.48.01.42-.01v.1h-.05c-.15 0-.3.03-.3.44v1.55a2.2 2.2 0 0 0 .01.34h-.12L28 21.1v1.41c0 .3.06.4.32.4h.06v.1l-.44-.01-.46.01v-.1h.05c.23 0 .3-.16.3-.43v-1.44a.3.3 0 0 0-.3-.3h-.05v-.11l.39.01.3-.01 1.52 1.71"}),(0,T.h)("path",{d:"M29.9 23.08h-.15l-1.72-1.94v1.37c0 .3.05.38.3.38h.07v.14h-.01l-.44-.02-.46.02h-.02v-.14h.07c.22 0 .28-.14.29-.41v-1.44a.3.3 0 0 0-.3-.3h-.06v-.12h.72l1.5 1.69v-1.26c0-.27-.18-.3-.28-.3h-.1v-.13h.94v.13h-.06c-.14 0-.29.01-.3.42v1.55a2.26 2.26 0 0 0 .03.34v.02zm-.13-.03h.1a2.42 2.42 0 0 1-.01-.33v-1.55c0-.41.17-.45.32-.45h.03v-.07h-.86v.07h.06a.3.3 0 0 1 .3.33v1.3l-.01.01-1.52-1.71h-.68v.07h.03a.32.32 0 0 1 .33.32v1.44c0 .27-.08.44-.32.45h-.04V23l.45-.02.43.02v-.07h-.05c-.27 0-.33-.12-.33-.42v-1.44zm-.07-.71v-.01zm-.01 0v-.01zm1.09.18a1.43 1.43 0 0 0-.08.27c0 .1.14.12.26.12h.03v.1a7.71 7.71 0 0 0-.78 0v-.1h.02a.3.3 0 0 0 .3-.22l.55-1.57a2.79 2.79 0 0 0 .12-.42 1.75 1.75 0 0 0 .31-.15.07.07 0 0 1 .03 0 .02.02 0 0 1 .02 0l.03.1.63 1.78c.04.11.08.24.13.34a.22.22 0 0 0 .22.14h.02v.1a9.66 9.66 0 0 0-.98 0v-.1h.04c.08 0 .2-.01.2-.1a1.1 1.1 0 0 0-.06-.25l-.13-.4h-.78zm.5-1.5h-.01l-.32.96h.64l-.32-.97z"}),(0,T.h)("path",{d:"m32.59 23.03-.47-.02-.5.02h-.02v-.14h.05c.08 0 .2-.01.2-.08a1.06 1.06 0 0 0-.07-.24l-.13-.39h-.76l-.1.35a1.44 1.44 0 0 0-.07.26c0 .08.12.1.24.1H31v.14h-.02l-.4-.02-.38.02h-.01v-.14h.03a.3.3 0 0 0 .29-.2l.54-1.57a4.27 4.27 0 0 0 .14-.44 1.85 1.85 0 0 0 .3-.14.08.08 0 0 1 .04 0 .04.04 0 0 1 .04.01l.03.09.62 1.78c.04.12.08.25.13.35a.2.2 0 0 0 .2.12h.04v.14h-.01zm-.97-.03.5-.02.46.02v-.08h-.01a.23.23 0 0 1-.24-.14l-.12-.35-.63-1.78a3.61 3.61 0 0 1-.03-.09h-.01a.06.06 0 0 0-.02 0 1.3 1.3 0 0 1-.3.14 2.94 2.94 0 0 1-.13.43l-.55 1.56a.32.32 0 0 1-.3.24h-.01V23l.35-.02.4.02v-.07h-.02c-.11 0-.27-.02-.27-.14a1.42 1.42 0 0 1 .07-.27h.02-.02l.11-.36h.8l.13.4a1.07 1.07 0 0 1 .07.25c0 .1-.15.11-.22.12h-.03zm-.7-1 .34-1h.02l.33 1zm.05-.04h.6l-.3-.91zm2.48.72c0 .13.1.18.2.19a2.47 2.47 0 0 0 .45 0 .48.48 0 0 0 .33-.2.78.78 0 0 0 .1-.24h.1l-.12.58-.9-.01-.9.01v-.1h.05c.12 0 .25-.02.25-.23v-1.75c0-.18-.13-.2-.25-.2h-.05v-.1l.54.01.51-.01v.1h-.08c-.13 0-.23 0-.23.19z"}),(0,T.h)("path",{d:"m34.5 23.03-.9-.02-.9.02v-.14h.06c.12 0 .24 0 .24-.2v-1.76c0-.17-.12-.18-.24-.18h-.07v-.13h1.09v.13h-.1c-.13 0-.21 0-.22.17v1.76c0 .13.09.16.2.17l.18.01a2.46 2.46 0 0 0 .26-.01.48.48 0 0 0 .32-.18.77.77 0 0 0 .1-.24v-.01h.13v.02l-.13.58zm0-.03.11-.55h-.07a.77.77 0 0 1-.1.24.5.5 0 0 1-.34.19 2.6 2.6 0 0 1-.26.01h-.19c-.11-.02-.22-.07-.22-.21v-1.76c0-.2.12-.2.25-.2h.07v-.07h-1.03v.07h.04c.12 0 .27.02.27.2v1.76c0 .22-.15.24-.27.24h-.04V23l.89-.02.88.02zm.1-2.47a.36.36 0 1 1-.37.36.35.35 0 0 1 .36-.36zm0 .66a.3.3 0 1 0-.3-.3.29.29 0 0 0 .3.3zm-.19-.1v-.02c.05-.01.05 0 .05-.04v-.26c0-.04 0-.05-.05-.05v-.02h.19c.06 0 .12.03.12.1a.11.11 0 0 1-.09.1l.06.09a.38.38 0 0 0 .08.08v.01h-.07c-.03 0-.06-.07-.13-.16h-.04v.12c0 .02.01.02.06.03v.01zm.12-.2h.05c.04 0 .06-.03.06-.09s-.03-.08-.07-.08h-.04z"})),(0,T.h)("path",{fill:"#fff",d:"M13.33 8.58a5.77 5.77 0 1 1 5.76 5.78 5.77 5.77 0 0 1-5.76-5.78"}),(0,T.h)("path",{fill:"#154a78",d:"M22.58 8.47a3.48 3.48 0 0 0-2.23-3.24v6.48a3.48 3.48 0 0 0 2.23-3.24zm-4.7 3.24V5.23a3.47 3.47 0 0 0 0 6.48zM19.1 3a5.48 5.48 0 1 0 5.47 5.48A5.47 5.47 0 0 0 19.11 3zm0 11.48a5.99 5.99 0 0 1-6.03-5.94A5.9 5.9 0 0 1 19.1 2.5h1.55a6.1 6.1 0 0 1 6.24 6.03 6.22 6.22 0 0 1-6.24 5.94z"})),Er=$o;var l=require("preact"),Xo=({opacity:e=1,reversed:t=!1})=>(0,l.h)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"30",height:"19.5",fill:"none",viewBox:"0 0 40 26",opacity:e},!t&&(0,l.h)("path",{fill:"#fff",d:"M0 0h40v26H0z"}),(0,l.h)("g",{"clip-path":"url(#a)"},(0,l.h)("g",{"clip-path":"url(#b)"},(0,l.h)("path",{fill:t?"#fff":"#000",d:"M3.5 19.56a1.6 1.6 0 0 1 1.54-1.6h.06a1.52 1.52 0 0 1 1.42.77l-.43.25a1.02 1.02 0 0 0-.99-.59 1.13 1.13 0 0 0-1.14 1.11v.03a1.05 1.05 0 0 0 .99 1.14h.1a.94.94 0 0 0 1.04-.83H5.01v-.43h1.51v1.66h-.46v-.49l.03-.12a1.08 1.08 0 0 1-1.08.64 1.49 1.49 0 0 1-1.51-1.48v-.06Zm3.58-1.79h.46v3.33h-.46v-3.33Zm.92 2.2a1.2 1.2 0 1 1 .74 1.11A1.19 1.19 0 0 1 8 19.96Zm1.91 0a.74.74 0 1 0-1.48.06.72.72 0 0 0 .74.7.74.74 0 0 0 .74-.77Zm1.36.8v.33h-.46v-3.36h.46v1.4a.98.98 0 0 1 .77-.38 1.19 1.19 0 0 1 0 2.38.9.9 0 0 1-.77-.37Zm1.48-.8a.75.75 0 1 0-1.5-.04v.03a.76.76 0 1 0 1.5 0Zm.8.55c0-.46.28-.65.9-.74.43-.06.58-.1.58-.25s-.12-.37-.46-.37a.54.54 0 0 0-.58.43l-.44-.18a1.01 1.01 0 0 1 1.02-.65c.59 0 .96.3.96.86v1.48h-.43v-.33a.75.75 0 0 1-.74.4c-.5 0-.8-.28-.8-.65Zm1.33.06a.5.5 0 0 0 .19-.4v-.19c0 .1-.16.13-.5.16-.4.06-.55.15-.55.34 0 .15.15.28.37.28.18 0 .35-.07.49-.19Zm1.14-2.8h.46v3.32h-.46v-3.33Zm2.04.24h.5l1.53 2.34v-2.34h.47v3.12h-.47l-1.57-2.41v2.4h-.46v-3.11Zm2.96 1.94a1.18 1.18 0 0 1 1.17-1.2h.03a1.14 1.14 0 0 1 1.17 1.11v.25h-1.94a.77.77 0 0 0 .96.58c.2-.05.37-.17.49-.34l.37.22a1.18 1.18 0 0 1-1.05.56 1.15 1.15 0 0 1-1.2-1.11v-.07Zm.46-.21h1.45a.67.67 0 0 0-.7-.56.7.7 0 0 0-.75.56Zm2.56.61v-1.14h-.46v-.4h.46v-.5l.46-.3v.8h.62v.4h-.65v1.14c0 .25.13.37.31.37.12 0 .24-.03.34-.09v.43a.82.82 0 0 1-.37.1c-.46 0-.71-.25-.71-.8Zm1.36-1.54h.46l.52 1.67.62-1.67h.43l.62 1.67.55-1.67h.47l-.8 2.28h-.44l-.61-1.66-.65 1.7h-.46l-.71-2.32Zm3.88 1.14a1.2 1.2 0 1 1 .74 1.12 1.19 1.19 0 0 1-.74-1.12Zm1.92 0a.74.74 0 1 0-1.48.07.72.72 0 0 0 .74.7.74.74 0 0 0 .74-.77Zm.89-1.14h.46v.4a.72.72 0 0 1 .65-.4h.19v.46h-.28c-.37 0-.56.16-.56.6v1.22h-.46v-2.28Zm2.59 1.24-.4.43v.58h-.46v-3.3h.46V20l1.08-1.17h.55l-.89.96.92 1.32h-.52l-.74-1.04ZM5.2 10.16H3.72v5.18H5.2c.66.03 1.32-.18 1.85-.59a2.56 2.56 0 0 0 .92-1.97c0-1.54-1.14-2.62-2.77-2.62Zm1.2 3.88c-.3.28-.74.4-1.39.4h-.28v-3.39h.28a1.88 1.88 0 0 1 1.39.43 1.73 1.73 0 0 1 .55 1.3c0 .48-.2.93-.55 1.26Zm2.03-3.88h1.02v5.18H8.43v-5.18Zm3.49 2c-.62-.22-.77-.37-.77-.65 0-.34.3-.58.74-.58a.97.97 0 0 1 .8.43l.53-.68a2.32 2.32 0 0 0-1.52-.59 1.52 1.52 0 0 0-1.6 1.42v.06c0 .71.34 1.08 1.26 1.42.25.08.49.18.71.31a.64.64 0 0 1 .31.53.75.75 0 0 1-.74.74h-.03a1.29 1.29 0 0 1-1.1-.68l-.66.61a2 2 0 0 0 1.8 1 1.68 1.68 0 0 0 1.78-1.7c-.03-.87-.37-1.24-1.51-1.64Zm1.82.59a2.66 2.66 0 0 0 2.65 2.68h.06c.44 0 .88-.1 1.27-.3v-1.18a1.54 1.54 0 0 1-1.2.55 1.69 1.69 0 0 1-1.73-1.63v-.15a1.72 1.72 0 0 1 1.66-1.8h.03a1.64 1.64 0 0 1 1.27.6v-1.15c-.38-.2-.8-.31-1.23-.3a2.69 2.69 0 0 0-2.78 2.68Zm11.97.9-1.4-3.5h-1.07l2.19 5.31h.52l2.25-5.3h-1.1l-1.4 3.48Zm2.96 1.69h2.83v-.87h-1.85v-1.41h1.8v-.87h-1.8v-1.14h1.85v-.9h-2.83v5.19Zm6.84-3.64c0-.96-.68-1.51-1.82-1.51h-1.48v5.18h1.02v-2.1h.12l1.4 2.07h1.23l-1.64-2.2a1.36 1.36 0 0 0 1.17-1.44Zm-2.03.86h-.31V11h.3c.62 0 .96.28.96.77.03.52-.3.8-.95.8Zm2.84-2.13c0-.09-.07-.15-.19-.15h-.15v.46h.12v-.15l.12.18h.13l-.13-.21c.06 0 .1-.06.1-.13Zm-.19.07-.03-.13h.03c.06 0 .1.03.1.06-.04.07-.07.07-.1.07Z"})),(0,l.h)("path",{fill:t?"#fff":"#000",d:"M36.16 10.13a.4.4 0 0 0-.4.4.4.4 0 1 0 .8 0 .4.4 0 0 0-.4-.4Zm0 .74a.32.32 0 0 1-.34-.31.32.32 0 0 1 .65-.03.34.34 0 0 1-.3.34Z"}),(0,l.h)("path",{fill:"url(#c)",d:"M18.06 12.75a2.75 2.75 0 1 0 5.49 0 2.75 2.75 0 0 0-5.5 0Z"}),(0,l.h)("path",{fill:"url(#d)",d:"M18.06 12.75a2.75 2.75 0 1 0 5.49 0 2.75 2.75 0 0 0-5.5 0Z"}),(0,l.h)("mask",{id:"e",width:"6",height:"6",x:"18",y:"10",maskUnits:"userSpaceOnUse",style:"mask-type:luminance"},(0,l.h)("path",{fill:"#fff",d:"M18.06 12.75a2.74 2.74 0 1 0 5.49 0 2.74 2.74 0 0 0-5.5 0Z"})),(0,l.h)("g",{mask:"url(#e)"},(0,l.h)("path",{fill:"url(#f)",d:"M17.75 12.87a3.36 3.36 0 1 0 6.72 0 3.36 3.36 0 0 0-6.72 0Z"}))),(0,l.h)("g",{"clip-path":"url(#g)"},(0,l.h)("g",{"clip-path":"url(#h)"},(0,l.h)("path",{fill:t?"#fff":"#000",d:"M3.5 19.56a1.6 1.6 0 0 1 1.54-1.6h.06a1.52 1.52 0 0 1 1.42.77l-.43.25a1.02 1.02 0 0 0-.99-.59 1.13 1.13 0 0 0-1.14 1.11v.03a1.05 1.05 0 0 0 .99 1.14h.1a.94.94 0 0 0 1.04-.83H5.01v-.43h1.51v1.66h-.46v-.49l.03-.12a1.08 1.08 0 0 1-1.08.64 1.49 1.49 0 0 1-1.51-1.48v-.06Zm3.58-1.79h.46v3.33h-.46v-3.33Zm.92 2.2a1.2 1.2 0 1 1 .74 1.11A1.19 1.19 0 0 1 8 19.96Zm1.91 0a.74.74 0 1 0-1.48.06.72.72 0 0 0 .74.7.74.74 0 0 0 .74-.77Zm1.36.8v.33h-.46v-3.36h.46v1.4a.98.98 0 0 1 .77-.38 1.19 1.19 0 0 1 0 2.38.9.9 0 0 1-.77-.37Zm1.48-.8a.75.75 0 1 0-1.5-.04v.03a.76.76 0 1 0 1.5 0Zm.8.55c0-.46.28-.65.9-.74.43-.06.58-.1.58-.25s-.12-.37-.46-.37a.54.54 0 0 0-.58.43l-.44-.18a1.01 1.01 0 0 1 1.02-.65c.59 0 .96.3.96.86v1.48h-.43v-.33a.75.75 0 0 1-.74.4c-.5 0-.8-.28-.8-.65Zm1.33.06a.5.5 0 0 0 .19-.4v-.19c0 .1-.16.13-.5.16-.4.06-.55.15-.55.34 0 .15.15.28.37.28.18 0 .35-.07.49-.19Zm1.14-2.8h.46v3.32h-.46v-3.33Zm2.04.24h.5l1.53 2.34v-2.34h.47v3.12h-.47l-1.57-2.41v2.4h-.46v-3.11Zm2.96 1.94a1.18 1.18 0 0 1 1.17-1.2h.03a1.14 1.14 0 0 1 1.17 1.11v.25h-1.94a.77.77 0 0 0 .96.58c.2-.05.37-.17.49-.34l.37.22a1.18 1.18 0 0 1-1.05.56 1.15 1.15 0 0 1-1.2-1.11v-.07Zm.46-.21h1.45a.67.67 0 0 0-.7-.56.7.7 0 0 0-.75.56Zm2.56.61v-1.14h-.46v-.4h.46v-.5l.46-.3v.8h.62v.4h-.65v1.14c0 .25.13.37.31.37.12 0 .24-.03.34-.09v.43a.82.82 0 0 1-.37.1c-.46 0-.71-.25-.71-.8Zm1.36-1.54h.46l.52 1.67.62-1.67h.43l.62 1.67.55-1.67h.47l-.8 2.28h-.44l-.61-1.66-.65 1.7h-.46l-.71-2.32Zm3.88 1.14a1.2 1.2 0 1 1 .74 1.12 1.19 1.19 0 0 1-.74-1.12Zm1.92 0a.74.74 0 1 0-1.48.07.72.72 0 0 0 .74.7.74.74 0 0 0 .74-.77Zm.89-1.14h.46v.4a.72.72 0 0 1 .65-.4h.19v.46h-.28c-.37 0-.56.16-.56.6v1.22h-.46v-2.28Zm2.59 1.24-.4.43v.58h-.46v-3.3h.46V20l1.08-1.17h.55l-.89.96.92 1.32h-.52l-.74-1.04ZM5.2 10.16H3.72v5.18H5.2c.66.03 1.32-.18 1.85-.59a2.56 2.56 0 0 0 .92-1.97c0-1.54-1.14-2.62-2.77-2.62Zm1.2 3.88c-.3.28-.74.4-1.39.4h-.28v-3.39h.28a1.88 1.88 0 0 1 1.39.43 1.73 1.73 0 0 1 .55 1.3c0 .48-.2.93-.55 1.26Zm2.03-3.88h1.02v5.18H8.43v-5.18Zm3.49 2c-.62-.22-.77-.37-.77-.65 0-.34.3-.58.74-.58a.97.97 0 0 1 .8.43l.53-.68a2.32 2.32 0 0 0-1.52-.59 1.52 1.52 0 0 0-1.6 1.42v.06c0 .71.34 1.08 1.26 1.42.25.08.49.18.71.31a.64.64 0 0 1 .31.53.75.75 0 0 1-.74.74h-.03a1.29 1.29 0 0 1-1.1-.68l-.66.61a2 2 0 0 0 1.8 1 1.68 1.68 0 0 0 1.78-1.7c-.03-.87-.37-1.24-1.51-1.64Zm1.82.59a2.66 2.66 0 0 0 2.65 2.68h.06c.44 0 .88-.1 1.27-.3v-1.18a1.54 1.54 0 0 1-1.2.55 1.69 1.69 0 0 1-1.73-1.63v-.15a1.72 1.72 0 0 1 1.66-1.8h.03a1.64 1.64 0 0 1 1.27.6v-1.15c-.38-.2-.8-.31-1.23-.3a2.69 2.69 0 0 0-2.78 2.68Zm11.97.9-1.4-3.5h-1.07l2.19 5.31h.52l2.25-5.3h-1.1l-1.4 3.48Zm2.96 1.69h2.83v-.87h-1.85v-1.41h1.8v-.87h-1.8v-1.14h1.85v-.9h-2.83v5.19Zm6.84-3.64c0-.96-.68-1.51-1.82-1.51h-1.48v5.18h1.02v-2.1h.12l1.4 2.07h1.23l-1.64-2.2a1.36 1.36 0 0 0 1.17-1.44Zm-2.03.86h-.31V11h.3c.62 0 .96.28.96.77.03.52-.3.8-.95.8Zm2.84-2.13c0-.09-.07-.15-.19-.15h-.15v.46h.12v-.15l.12.18h.13l-.13-.21c.06 0 .1-.06.1-.13Zm-.19.07-.03-.13h.03c.06 0 .1.03.1.06-.04.07-.07.07-.1.07Z"})),(0,l.h)("path",{fill:t?"#fff":"#000",d:"M36.16 10.13a.4.4 0 0 0-.4.4.4.4 0 1 0 .8 0 .4.4 0 0 0-.4-.4Zm0 .74a.32.32 0 0 1-.34-.31.32.32 0 0 1 .65-.03.34.34 0 0 1-.3.34Z"}),(0,l.h)("path",{fill:"url(#i)",d:"M18.06 12.75a2.75 2.75 0 1 0 5.49 0 2.75 2.75 0 0 0-5.5 0Z"}),(0,l.h)("path",{fill:"url(#j)",d:"M18.06 12.75a2.75 2.75 0 1 0 5.49 0 2.75 2.75 0 0 0-5.5 0Z"}),(0,l.h)("mask",{id:"k",width:"6",height:"6",x:"18",y:"10",maskUnits:"userSpaceOnUse",style:"mask-type:luminance"},(0,l.h)("path",{fill:"#fff",d:"M18.06 12.75a2.74 2.74 0 1 0 5.49 0 2.74 2.74 0 0 0-5.5 0Z"})),(0,l.h)("g",{mask:"url(#k)"},(0,l.h)("path",{fill:"url(#l)",d:"M17.75 12.87a3.36 3.36 0 1 0 6.72 0 3.36 3.36 0 0 0-6.72 0Z"}))),(0,l.h)("defs",null,(0,l.h)("linearGradient",{id:"c",x1:"22.25",x2:"19.35",y1:"15.06",y2:"10.42",gradientUnits:"userSpaceOnUse"},(0,l.h)("stop",{offset:"0","stop-color":"#F59F00"}),(0,l.h)("stop",{offset:".19","stop-color":"#F49B00"}),(0,l.h)("stop",{offset:".37","stop-color":"#F29101"}),(0,l.h)("stop",{offset:".5","stop-color":"#F08302"}),(0,l.h)("stop",{offset:".6","stop-color":"#EE7905"}),(0,l.h)("stop",{offset:".76","stop-color":"#EC7008"}),(0,l.h)("stop",{offset:"1","stop-color":"#EC6D09"})),(0,l.h)("linearGradient",{id:"d",x1:"22.25",x2:"19.35",y1:"15.06",y2:"10.42",gradientUnits:"userSpaceOnUse"},(0,l.h)("stop",{offset:"0","stop-color":"#F3941E","stop-opacity":"0"}),(0,l.h)("stop",{offset:".04","stop-color":"#F48C1C","stop-opacity":".08"}),(0,l.h)("stop",{offset:".2","stop-color":"#F77314","stop-opacity":".32"}),(0,l.h)("stop",{offset:".35","stop-color":"#F95D0E","stop-opacity":".53"}),(0,l.h)("stop",{offset:".5","stop-color":"#FB4B09","stop-opacity":".7"}),(0,l.h)("stop",{offset:".64","stop-color":"#FD3D05","stop-opacity":".83"}),(0,l.h)("stop",{offset:".77","stop-color":"#FE3302","stop-opacity":".92"}),(0,l.h)("stop",{offset:".9","stop-color":"#FF2D01","stop-opacity":".98"}),(0,l.h)("stop",{offset:"1","stop-color":"#FF2B00"})),(0,l.h)("radialGradient",{id:"f",cx:"0",cy:"0",r:"1",gradientTransform:"rotate(4.24 -167.26 291.02) scale(3.3208)",gradientUnits:"userSpaceOnUse"},(0,l.h)("stop",{offset:"0","stop-color":"#F3941E","stop-opacity":"0"}),(0,l.h)("stop",{offset:".45","stop-color":"#EA8D1D","stop-opacity":".05"}),(0,l.h)("stop",{offset:".66","stop-color":"#CA7618","stop-opacity":".2"}),(0,l.h)("stop",{offset:".83","stop-color":"#924D10","stop-opacity":".48"}),(0,l.h)("stop",{offset:".96","stop-color":"#441304","stop-opacity":".87"}),(0,l.h)("stop",{offset:".99","stop-color":"#2F0401","stop-opacity":".97"})),(0,l.h)("linearGradient",{id:"i",x1:"22.25",x2:"19.35",y1:"15.06",y2:"10.42",gradientUnits:"userSpaceOnUse"},(0,l.h)("stop",{offset:"0","stop-color":"#F59F00"}),(0,l.h)("stop",{offset:".19","stop-color":"#F49B00"}),(0,l.h)("stop",{offset:".37","stop-color":"#F29101"}),(0,l.h)("stop",{offset:".5","stop-color":"#F08302"}),(0,l.h)("stop",{offset:".6","stop-color":"#EE7905"}),(0,l.h)("stop",{offset:".76","stop-color":"#EC7008"}),(0,l.h)("stop",{offset:"1","stop-color":"#EC6D09"})),(0,l.h)("linearGradient",{id:"j",x1:"22.25",x2:"19.35",y1:"15.06",y2:"10.42",gradientUnits:"userSpaceOnUse"},(0,l.h)("stop",{offset:"0","stop-color":"#F3941E","stop-opacity":"0"}),(0,l.h)("stop",{offset:".04","stop-color":"#F48C1C","stop-opacity":".08"}),(0,l.h)("stop",{offset:".2","stop-color":"#F77314","stop-opacity":".32"}),(0,l.h)("stop",{offset:".35","stop-color":"#F95D0E","stop-opacity":".53"}),(0,l.h)("stop",{offset:".5","stop-color":"#FB4B09","stop-opacity":".7"}),(0,l.h)("stop",{offset:".64","stop-color":"#FD3D05","stop-opacity":".83"}),(0,l.h)("stop",{offset:".77","stop-color":"#FE3302","stop-opacity":".92"}),(0,l.h)("stop",{offset:".9","stop-color":"#FF2D01","stop-opacity":".98"}),(0,l.h)("stop",{offset:"1","stop-color":"#FF2B00"})),(0,l.h)("radialGradient",{id:"l",cx:"0",cy:"0",r:"1",gradientTransform:"rotate(4.24 -167.26 291.02) scale(3.3208)",gradientUnits:"userSpaceOnUse"},(0,l.h)("stop",{offset:"0","stop-color":"#F3941E","stop-opacity":"0"}),(0,l.h)("stop",{offset:".45","stop-color":"#EA8D1D","stop-opacity":".05"}),(0,l.h)("stop",{offset:".66","stop-color":"#CA7618","stop-opacity":".2"}),(0,l.h)("stop",{offset:".83","stop-color":"#924D10","stop-opacity":".48"}),(0,l.h)("stop",{offset:".96","stop-color":"#441304","stop-opacity":".87"}),(0,l.h)("stop",{offset:".99","stop-color":"#2F0401","stop-opacity":".97"})),(0,l.h)("clipPath",{id:"a"},(0,l.h)("path",{fill:"#fff",d:"M0 0h33v5.55H0z",transform:"translate(3.5 10)"})),(0,l.h)("clipPath",{id:"b"},(0,l.h)("path",{fill:"#fff",d:"M0 0h33v5.86H0z",transform:"translate(3.5 10)"})),(0,l.h)("clipPath",{id:"g"},(0,l.h)("path",{fill:"#fff",d:"M0 0h33v5.55H0z",transform:"translate(3.5 10)"})),(0,l.h)("clipPath",{id:"h"},(0,l.h)("path",{fill:"#fff",d:"M0 0h33v5.86H0z",transform:"translate(3.5 10)"})))),Dr=Xo;var Se=require("preact"),Qo=({opacity:e=1})=>(0,Se.h)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 40 26",width:"30",height:"19.5",opacity:e},(0,Se.h)("rect",{width:"45.3",height:"27",x:"-3.3",y:"-.79",fill:"#fff",rx:"2.82"}),(0,Se.h)("path",{fill:"#01798a",d:"M27.27-.79a4.06 4.06 0 0 0-3.6 2.8l-4.96 23.42a2.14 2.14 0 0 0 2 2.8h18.35a2.81 2.81 0 0 0 2.8-2.82V1.15A2.25 2.25 0 0 0 40-.8"}),(0,Se.h)("rect",{width:"20.38",height:"29.02",x:"-4",y:"-.79",fill:"#dc1f2b",rx:"2.82"}),(0,Se.h)("path",{fill:"#1a4580",d:"M24.37 2.02a3.98 3.98 0 0 1 3.48-2.8H14.18a3.97 3.97 0 0 0-3.5 2.8l-4.85 23.4a2.13 2.13 0 0 0 1.94 2.81h13.7a2.13 2.13 0 0 1-1.94-2.8z"}),(0,Se.h)("path",{fill:"#fff",d:"M16.63 15.04h.18a.32.32 0 0 0 .32-.17l.46-.7h1.24l-.26.47h1.49l-.2.7H18.1a.82.82 0 0 1-.75.44h-.92zm-.2 1h3.25l-.21.77h-1.3l-.2.74h1.27l-.21.77h-1.27l-.3 1.09c-.07.18.02.26.29.24h1.03l-.19.71H16.6q-.57 0-.39-.65l.38-1.4h-.81l.2-.76h.82l.2-.74h-.78l.2-.76zm5.19-1.87-.06.45a2.37 2.37 0 0 1 1.18-.47h2.05l-.78 2.88q-.1.5-.84.5h-2.34l-.54 2.01c-.03.11.01.17.13.17h.46l-.17.62h-1.17q-.67 0-.56-.4l1.54-5.76zm1.74.81h-1.84l-.22.78a1.52 1.52 0 0 1 .82-.23h1.1zm-.67 1.8c.14.02.22-.03.22-.16l.12-.4h-1.84l-.16.57zm-1.24.93h1.06l-.02.47h.29c.14 0 .2-.05.2-.14l.1-.3h.87l-.11.44a.76.76 0 0 1-.8.57h-.56v.8c-.01.12.1.18.33.18h.53l-.17.63H21.9c-.36.02-.53-.15-.53-.52zM8.6 10.34a2.62 2.62 0 0 1-1 1.64 3.24 3.24 0 0 1-1.98.58 2.16 2.16 0 0 1-1.68-.59 1.54 1.54 0 0 1-.37-1.06 2.86 2.86 0 0 1 .06-.57l.87-4.2h1.3l-.85 4.15a1.35 1.35 0 0 0-.04.32.82.82 0 0 0 .16.52.89.89 0 0 0 .75.3 1.56 1.56 0 0 0 1-.3 1.37 1.37 0 0 0 .5-.84l.84-4.15h1.3zm5.47-1.65h1.02l-.8 3.74h-1.02zm.32-1.37h1.03l-.2.91H14.2l.19-.9M16 12.15a1.39 1.39 0 0 1-.41-1.05 2.45 2.45 0 0 1 .01-.25l.04-.27a2.55 2.55 0 0 1 .78-1.45 2.07 2.07 0 0 1 1.43-.54 1.5 1.5 0 0 1 1.1.39 1.4 1.4 0 0 1 .4 1.06 2.59 2.59 0 0 1-.02.26l-.05.28a2.48 2.48 0 0 1-.77 1.42 2.08 2.08 0 0 1-1.43.53 1.5 1.5 0 0 1-1.09-.38m1.95-.74a1.84 1.84 0 0 0 .38-.9.58.58 0 0 0 .03-.19 1.74 1.74 0 0 0 .01-.17.76.76 0 0 0-.17-.54.64.64 0 0 0-.5-.2.89.89 0 0 0-.7.3 1.9 1.9 0 0 0-.38.92l-.03.18a1.36 1.36 0 0 0-.01.17.75.75 0 0 0 .17.54.64.64 0 0 0 .5.18.9.9 0 0 0 .7-.3m8.02 3.67.25-.87h1.24l-.05.32a3.1 3.1 0 0 1 1.09-.32h1.54l-.25.87h-.24l-1.16 4.12h.24l-.23.82h-.24l-.1.36h-1.2l.1-.36h-2.38l.23-.82h.24l1.16-4.12zm1.34 0L27 16.2a5.13 5.13 0 0 1 1-.27c.1-.4.24-.85.24-.85zm-.46 1.64-.32 1.17a3.44 3.44 0 0 1 1.01-.33l.24-.84zm.23 2.48.24-.84h-.93l-.24.84zm3.01-5.05h1.17l.05.44c0 .11.06.16.2.16h.2l-.2.74h-.87c-.32.02-.5-.1-.5-.38zm-.34 1.59h3.79l-.23.79h-1.2l-.2.74h1.2l-.23.79h-1.34l-.3.46h.65l.16.93c.01.09.1.13.23.13h.2l-.2.77h-.73c-.37.02-.57-.1-.58-.38l-.18-.85-.6.9a.65.65 0 0 1-.65.36h-1.1l.22-.77h.34a.46.46 0 0 0 .36-.19l.94-1.36h-1.2l.22-.8h1.3l.21-.73h-1.3l.22-.8zM9.8 8.69h.92l-.1.54.12-.16a1.43 1.43 0 0 1 1.1-.48 1 1 0 0 1 .83.34 1.15 1.15 0 0 1 .14.95l-.5 2.56h-.95l.46-2.32a.74.74 0 0 0-.04-.53.44.44 0 0 0-.4-.17.88.88 0 0 0-.62.23 1.14 1.14 0 0 0-.34.63L10 12.44h-.94zm10.55 0h.92l-.1.54.13-.16a1.43 1.43 0 0 1 1.08-.48.99.99 0 0 1 .85.34 1.14 1.14 0 0 1 .13.95l-.5 2.56h-.95l.46-2.32a.75.75 0 0 0-.04-.53.45.45 0 0 0-.4-.17.89.89 0 0 0-.62.23 1.12 1.12 0 0 0-.33.63l-.43 2.16h-.94zm4.55-2.33h2.67a1.8 1.8 0 0 1 1.19.35 1.25 1.25 0 0 1 .4 1v.02a3.77 3.77 0 0 1-.06.59 2.38 2.38 0 0 1-.81 1.4 2.29 2.29 0 0 1-1.5.52h-1.44l-.44 2.2h-1.24zm.67 2.82h1.19a1.14 1.14 0 0 0 .73-.21 1.14 1.14 0 0 0 .36-.67l.03-.15v-.13a.52.52 0 0 0-.22-.47 1.35 1.35 0 0 0-.72-.15h-1zm9.15 3.98a5.91 5.91 0 0 1-.98 1.56 1.99 1.99 0 0 1-1.7.71l.08-.64c.89-.27 1.36-1.51 1.64-2.06l-.33-4.03.68-.01h.58l.06 2.53 1.07-2.53h1.09zM31.68 9l-.43.3a1.35 1.35 0 0 0-1.66-.21c-1.08.5-1.98 4.4 1 3.11l.17.2 1.17.04.77-3.54zm-.66 1.92c-.2.56-.61.94-.94.83-.33-.1-.45-.64-.26-1.2.19-.57.61-.94.94-.83.33.1.45.64.26 1.2"})),Br=Qo;var dt=require("preact");h(`.straumur__tooltip__content{position:absolute;z-index:50;padding:var(--straumur__space-s);border-radius:var(--straumur__border-radius-s);right:40%;width:max-content;color:var(--straumur__color-white);background-color:var(--straumur__color-primary);box-shadow:0 10px 15px -3px #0000001a,0 4px 6px -2px #0000000d}.straumur__tooltip__content--bottom{top:100%}.straumur__tooltip__content--top{bottom:100%}
4
+ `);var pt=require("preact/hooks"),Fe=({children:e,content:t,placement:r="bottom",label:o})=>{let[n,a]=(0,pt.useState)(!1),s=(0,pt.useId)(),i=()=>a(!0),m=()=>a(!1);return(0,dt.h)("div",{style:{position:"relative"}},(0,dt.h)("div",{onMouseEnter:i,onMouseLeave:m,...o?{role:"button",tabIndex:0,"aria-label":o,"aria-describedby":n?s:void 0,onFocus:i,onBlur:m,onClick:i,onKeyDown:c=>{c.key==="Escape"&&m()}}:{}},e),n&&(0,dt.h)("div",{id:s,role:"tooltip",className:`straumur__tooltip__content straumur__tooltip__content--${r}`},t))};var ft=require("preact/hooks");function zr(e){let[t,r]=(0,ft.useState)(null);return(0,ft.useEffect)(()=>{let o=e.current?.closest(".straumur__root-component");if(!o||typeof ResizeObserver>"u")return;let n=new ResizeObserver(([a])=>{r(a.contentBoxSize?.[0]?.inlineSize??a.contentRect.width)});return n.observe(o),()=>n.disconnect()},[e]),t}var Fr=["visa","mc","maestro","amex","jcb","cup"],Hr=e=>{let t=Fr.indexOf(e);return t===-1?Fr.length:t};function _t({brands:e,brandHidden:t=[],limit:r=4,theme:o="light"}){let n=(0,Lr.useRef)(null),a=zr(n),s=a===null?r:a<=335?1:a<=380?2:r,i=e.filter(m=>!t.some(u=>u.brand===m.brand)).sort((m,u)=>Hr(m.brand)-Hr(u.brand));return(0,E.h)("span",{ref:n,style:{display:"contents"}},i.map(({brand:m},u)=>u>=Math.min(r,s)?u===Math.min(r,s)?(0,E.h)(Fe,{content:(0,E.h)("span",{style:{display:"flex",gap:"4px",overflow:"visible"}},i.slice(Math.min(r,s)).map(({brand:c})=>(0,E.h)(ht,{key:c,brand:c,theme:o})))},(0,E.h)("span",{key:m,className:"straumur__render-brand-icons__overflow"},"+",i.length-Math.min(r,s))):null:(0,E.h)(ht,{key:m,brand:m,theme:o})))}var $t=(e,t)=>t?(0,E.h)("span",{className:"straumur__brand-chip"},e):e,ht=({brand:e,theme:t="light",defaultToBrandName:r=!0})=>{let o=t==="dark";switch(e){case"visa":return(0,E.h)(Rr,{reversed:o});case"mc":return(0,E.h)(kr,{reversed:o});case"maestro":return(0,E.h)(Ar,{reversed:o});case"discover":return(0,E.h)(Dr,{reversed:o});case"amex":return(0,E.h)(Ir,null);case"jcb":return $t((0,E.h)(Tr,null),o);case"diners":return $t((0,E.h)(Er,null),o);case"cup":return $t((0,E.h)(Br,null),o);default:return r?(0,E.h)("span",null,e):(0,E.h)(E.Fragment,null)}};var _=require("preact");var je=require("preact");var xe=require("preact"),qo=()=>(0,xe.h)("svg",{width:"40",height:"40",viewBox:"0 0 40 40",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor"},(0,xe.h)("g",{fill:"none","fill-rule":"evenodd"},(0,xe.h)("g",{transform:"translate(2 2)","stroke-width":"4"},(0,xe.h)("circle",{"stroke-opacity":".3",cx:"18",cy:"18",r:"18"}),(0,xe.h)("path",{d:"M36 18c0-9.94-8.06-18-18-18"},(0,xe.h)("animateTransform",{attributeName:"transform",type:"rotate",from:"0 18 18",to:"360 18 18",dur:"1s",repeatCount:"indefinite"}))))),He=qo;function he({label:e}){return(0,je.h)("span",{className:"straumur__loading-indicator",role:"status"},(0,je.h)("span",{className:"straumur__loading-indicator__icon","aria-hidden":"true"},(0,je.h)(He,null)),(0,je.h)("span",{className:"straumur__visually-hidden"},e))}var D=require("preact/hooks");var xt=require("@adyen/adyen-web");var _e=require("preact"),Yo=()=>(0,_e.h)("svg",{width:"21",height:"20",viewBox:"0 0 21 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,_e.h)("g",{"clip-path":"url(#clip0_10626_39119)"},(0,_e.h)("path",{d:"M10.6641 7.5C11.3543 7.5 11.9141 6.94023 11.9141 6.25C11.9141 5.55977 11.3543 5 10.6641 5C9.97383 5 9.41406 5.55859 9.41406 6.25C9.41406 6.94141 9.97266 7.5 10.6641 7.5ZM12.2266 13.125H11.6016V9.6875C11.6016 9.17188 11.1836 8.75 10.6641 8.75H9.41406C8.89844 8.75 8.47656 9.17188 8.47656 9.6875C8.47656 10.2031 8.89844 10.625 9.41406 10.625H9.72656V13.125H9.10156C8.58594 13.125 8.16406 13.5469 8.16406 14.0625C8.16406 14.5781 8.58594 15 9.10156 15H12.2266C12.7441 15 13.1641 14.5801 13.1641 14.0625C13.1641 13.5449 12.7461 13.125 12.2266 13.125Z",fill:"currentColor"}),(0,_e.h)("path",{opacity:"0.4",d:"M10.6641 0C5.14062 0 0.664062 4.47656 0.664062 10C0.664062 15.5234 5.14062 20 10.6641 20C16.1875 20 20.6641 15.5234 20.6641 10C20.6641 4.47656 16.1875 0 10.6641 0ZM10.6641 5C11.3543 5 11.9141 5.55977 11.9141 6.25C11.9141 6.94023 11.3543 7.5 10.6641 7.5C9.97383 7.5 9.41406 6.94141 9.41406 6.25C9.41406 5.55859 9.97266 5 10.6641 5ZM12.2266 15H9.10156C8.58594 15 8.16406 14.582 8.16406 14.0625C8.16406 13.543 8.58398 13.125 9.10156 13.125H9.72656V10.625H9.41406C8.89648 10.625 8.47656 10.2051 8.47656 9.6875C8.47656 9.16992 8.89844 8.75 9.41406 8.75H10.6641C11.1816 8.75 11.6016 9.16992 11.6016 9.6875V13.125H12.2266C12.7441 13.125 13.1641 13.5449 13.1641 14.0625C13.1641 14.5801 12.7461 15 12.2266 15Z",fill:"currentColor"})),(0,_e.h)("defs",null,(0,_e.h)("clipPath",{id:"clip0_10626_39119"},(0,_e.h)("rect",{width:"20",height:"20",fill:"white",transform:"translate(0.664062)"})))),yt=Yo;var Xt=require("preact"),ea=({color:e="var(--straumur__color-primary)"})=>(0,Xt.h)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"13",viewBox:"0 0 16 13",fill:"none"},(0,Xt.h)("path",{d:"M2 7L6 11L14 2",stroke:e,"stroke-width":"3","stroke-linecap":"round","stroke-linejoin":"round"})),vt=ea;var ye=require("preact"),Zr=require("preact/hooks");var ta=["ArrowRight","ArrowDown","ArrowLeft","ArrowUp"];function Vr({brand:e,brandName:t,isSelected:r,isTabStop:o,onBrandClick:n,onArrow:a}){let s=i=>{i.key==="Enter"||i.key===" "?(i.preventDefault(),i.currentTarget.click()):ta.includes(i.key)&&(i.preventDefault(),a(i.currentTarget))};return(0,ye.h)("span",{className:"straumur__card-component__dual-branding--logo"+(r?" straumur__card-component__dual-branding--logo--selected":""),title:e,"data-value":e,onClick:n,onKeyDown:s,role:"radio","aria-checked":r,"aria-label":t??e,tabIndex:o?0:-1},(0,ye.h)("div",{className:"straumur__card-component__dual-branding--logo--item"},(0,ye.h)(ht,{brand:e,defaultToBrandName:!1}),"\xA0",t??""),r&&(0,ye.h)(vt,{color:"var(--straumur__color-neon-green-zeta)"}))}function Or({dualBrandConfiguration:e,selectedBrand:t,onBrandClick:r,label:o}){let n=(0,Zr.useRef)(null),{brand1:a,brand2:s}=e,i=t!==s,m=u=>{let f=Array.from(n.current?.querySelectorAll('[role="radio"]')??[]).find(g=>g!==u);f&&(f.focus(),f.click())};return(0,ye.h)("div",{className:"straumur__card-component__dual-branding",role:"radiogroup","aria-label":o,ref:n},(0,ye.h)(Vr,{brand:a,brandName:e.brand1Name,isSelected:t===a,isTabStop:i,onBrandClick:r,onArrow:m}),(0,ye.h)(Vr,{brand:s,brandName:e.brand2Name,isSelected:t===s,isTabStop:!i,onBrandClick:r,onArrow:m}))}var ra=["AuthenticationFinished","AuthenticationNotRequired","Authorised","Cancelled","ChallengeShopper","Error","IdentifyShopper","PartiallyAuthorised","Pending","PresentToShopper","Received","RedirectShopper","Refused"];function Qt(e){return e&&ra.includes(e)?e:"Error"}var U=class extends Error{messageKey;messageText;constructor(t,r){super(r??t),this.messageKey=t,this.messageText=r}};function we(e,t){return e instanceof U?e.messageText?{text:e.messageText}:{key:e.messageKey}:{key:t}}async function Nr(e){try{return await e()}catch(t){throw t instanceof De?new U("error.paymentNotConfirmed"):t}}function Ur(e,t){let r;return{async submitPayment(o){let n={...o,sessionId:t},a=await Nr(()=>dr(e,n));if(!a.ok)throw new U("error.failedToSubmitPayment");let s=await a.json();if(r=s.paymentCheckoutReference??r,!s.resultCode)throw new U("error.paymentFailed");return{resultCode:s.resultCode,action:s.action}},async submitAdditionalDetails(o){let n={...o,paymentCheckoutReference:o.paymentCheckoutReference??r,sessionId:t},a=await Nr(()=>pr(e,n));if(!a.ok)throw new U("error.failedToSubmitPaymentDetails");let s=await a.json();if(!s.resultCode)throw new U("error.paymentDetailsFailed");return{resultCode:s.resultCode,action:s.action}},async disableToken(o){let a=await fr(e,{storedPaymentMethodId:o,sessionId:t});if(!a.ok)throw new U("error.failedToSubmitRemoveStoredPaymentCard");if(!(await a.json()).success)throw new U("error.failedToRemoveStoredPaymentCard")}}}function Gr(e){function t(a,s,i,m){let u=c=>i(c instanceof U?c:new U(m));try{Promise.resolve(a(s,i)).catch(u)}catch(c){u(c)}}let r,o={submitPayment(a){return new Promise((s,i)=>{t((m,u)=>e.onSubmit({data:a},{resolve:c=>{r=c.paymentCheckoutReference??r,m(c)},reject:c=>u(new U("error.failedToSubmitPayment",c))}),s,i,"error.failedToSubmitPayment")})},submitAdditionalDetails(a){return new Promise((s,i)=>{t((m,u)=>e.onAdditionalDetails({data:{...a,paymentCheckoutReference:a.paymentCheckoutReference??r}},{resolve:m,reject:c=>u(new U("error.failedToSubmitPaymentDetails",c))}),s,i,"error.failedToSubmitPaymentDetails")})},beforeSubmit:e.onBeforeSubmit},{onDisableToken:n}=e;return n&&(o.disableToken=a=>new Promise((s,i)=>{t((m,u)=>n({storedPaymentMethodId:a},{resolve:()=>m(),reject:()=>u(new U("error.failedToRemoveStoredPaymentCard"))}),s,i,"error.failedToSubmitRemoveStoredPaymentCard")})),o}var oa=["Refused","Cancelled","Error"],aa=["Pending","Received"];function Le(e,t){let{configuration:r,handleSuccess:o,handleError:n,failureMessage:a}=t;e==="Authorised"?o({key:"success.paymentAuthorized"}):aa.includes(e)?o({key:"success.paymentPending"}):n(a?{text:a}:{key:"error.paymentUnsuccessful"});let s=oa.includes(e);try{s?r.onPaymentFailed?.({resultCode:e}):r.onPaymentCompleted?.({resultCode:e})}catch(i){console.error(`[StraumurCheckout] ${s?"onPaymentFailed":"onPaymentCompleted"} threw:`,i)}}var Kr="CANCEL";function Ve(e){let{configuration:t,handleSuccess:r,handleError:o,setThreeDSecureActive:n,setPaymentInProgress:a,setPaymentProcessing:s,enrichSubmitData:i,onSubmitStart:m}=e,u,c;function f(p){Le(p,{configuration:t,handleSuccess:r,handleError:B=>o(c??B),failureMessage:u})}async function g(p,B,F){m?.(),c=void 0,a?.(!0),s?.(!0);try{let O=i?i(p.data):p.data,{resultCode:N,action:G,errorMessage:w}=await t.paymentFlow.submitPayment(O);u=w,(N==="ChallengeShopper"||N==="IdentifyShopper")&&n(!0),F.resolve({resultCode:N,action:G})}catch(O){a?.(!1),s?.(!1),c=we(O,"error.failedToSubmitPayment"),F.reject()}}async function x(p,B,F){s?.(!0);try{let{resultCode:O,action:N,errorMessage:G}=await t.paymentFlow.submitAdditionalDetails(p.data);u=G,F.resolve({resultCode:O,action:N})}catch(O){s?.(!1),c=we(O,"error.failedToSubmitPaymentDetails"),F.reject()}}function v(p,B){f(Qt(p.resultCode))}function R(p,B){f(p?Qt(p.resultCode):"Error")}function k(p){p.componentType==="3DS2Challenge"&&s?.(!1)}return{handleOnSubmit:g,handleOnSubmitAdditionalData:x,handlePaymentCompleted:v,handlePaymentFailed:R,handleActionHandled:k}}function Ze(e,t){return r=>{r?.name!==Kr&&(console.error(`[StraumurCheckout] Adyen error (${t}):`,r),e({key:"error.unknownError"}))}}async function qt(e){let{beforeSubmit:t}=e;return!t||await t()}async function gt(e,t,r){if(!t()||!r.tryStart())return;let o;try{o=await qt(e)}catch(a){console.error("[StraumurCheckout] onBeforeSubmit threw:",a),o=!1}let n=t();if(!o||!n){r.release();return}n.isValid===!1&&r.release(),n.submit()}function Yt(e,t=()=>!1){return(r,o)=>{if(t()){o();return}let{beforeSubmit:n}=e;if(!n){r();return}let a;try{a=n()}catch(s){console.error("[StraumurCheckout] onBeforeSubmit threw:",s),o();return}if(a instanceof Promise){a.then(s=>s?r():o()).catch(()=>o());return}if(a){r();return}o()}}var bt=require("preact/hooks");function Oe({configuration:e,resolvedTheme:t,ready:r,busy:o,reinitialize:n}){let a=(0,bt.useRef)(null);return(0,bt.useEffect)(()=>{let s=a.current;!r||o||!s||s.configuration===e&&s.resolvedTheme===t||n()},[e,t,r,o]),{markBuilt:()=>{a.current={configuration:e,resolvedTheme:t}}}}var Wr=require("preact/hooks");function Ct(e,t){(0,Wr.useEffect)(()=>{t&&e.current?.focus()},[t,e])}var Pt=require("preact/hooks"),jr="(prefers-color-scheme: dark)";function na(){return typeof window<"u"&&typeof window.matchMedia=="function"?window.matchMedia(jr).matches:!1}function te(e){let[t,r]=(0,Pt.useState)(na);return(0,Pt.useEffect)(()=>{if(e!=="system"||typeof window>"u"||typeof window.matchMedia!="function")return;let o=window.matchMedia(jr),n=a=>r(a.matches);return r(o.matches),o.addEventListener("change",n),()=>o.removeEventListener("change",n)},[e]),e==="system"?t?"dark":"light":e}function St(e){return e==="dark"?{base:{color:"#e8edf2"},placeholder:{color:"#aab4bf"},error:{color:"#e08a8a"}}:{base:{color:"#00112c"},placeholder:{color:"#72889d"},error:{color:"#c03030"}}}var Je=require("preact");h(`.straumur__processing-host{position:relative}.straumur__processing-overlay{position:absolute;inset:0;z-index:2;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:var(--straumur__space-xxs);color:var(--straumur__color-primary);cursor:progress}.straumur__processing-overlay:before{content:"";position:absolute;inset:0;z-index:-1;background-color:var(--straumur__color-white);opacity:.85}.straumur__processing-overlay__icon{display:flex}.straumur__processing-overlay__label{font-size:14px;color:var(--straumur__color-text)}.straumur__processing-overlay--compact .straumur__processing-overlay__icon svg{width:28px;height:28px}.straumur__processing-overlay--compact .straumur__processing-overlay__label{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
5
+ `);function Ne({visible:e,compact:t=!1}){let{i18n:r}=I();return e?(0,Je.h)("div",{className:`straumur__processing-overlay${t?" straumur__processing-overlay--compact":""}`,role:"status","aria-live":"polite"},(0,Je.h)("span",{className:"straumur__processing-overlay__icon","aria-hidden":"true"},(0,Je.h)(He,null)),(0,Je.h)("span",{className:"straumur__processing-overlay__label"},r.t("payment.processing"))):null}function sa({configuration:e,paymentMethods:t,onBrandHidden:r}){let o=(0,D.useRef)(null),n=(0,D.useRef)(),a=(0,D.useRef)(0),s=(0,D.useRef)(),{i18n:i}=I(),[m,u]=(0,D.useState)(!0),[c,f]=(0,D.useState)("required"),[g,x]=(0,D.useState)(!1),[v,R]=(0,D.useState)(!1),[k,p]=(0,D.useState)(null),[B,F]=(0,D.useState)(null),[O,N]=(0,D.useState)(null),G=(0,D.useRef)(!1),[w,ne]=(0,D.useState)({encryptedCardNumber:{visible:!1},encryptedExpiryDate:{visible:!1},encryptedSecurityCode:{visible:!1}}),{activePaymentMethod:z,isPaymentMethodInitialized:j,updatePaymentMethodInitialization:be,handleSuccess:se,handleError:ie,setThreeDSecureActive:K,threeDSecureActive:H,paymentInProgress:le,setPaymentInProgress:me,tryStartPayment:Ce,paymentProcessing:pe,setPaymentProcessing:J,isObscuredByThreeDS:q,hasCard:fe,registerSubmitHandler:L,unregisterSubmitHandler:ee}=C(),b=te(e.theme);async function $(){await gt(e.paymentFlow,()=>s.current,{tryStart:Ce,release:()=>me(!1)})}(0,D.useEffect)(()=>{if(!(z==="card"&&j.card&&!H)){e.onCardValidityChanged?.(!1,!1);return}return L($),e.onCardValidityChanged?.(!1,!0),()=>{ee($),e.onCardValidityChanged?.(!1,!1)}},[z,j.card,H,L,ee]);let ue=t.paymentMethods?.paymentMethods?.find(W=>W.type==="scheme")?.brands??[],{handleOnSubmit:Ht,handleOnSubmitAdditionalData:Lt,handlePaymentCompleted:Vt,handlePaymentFailed:Zt,handleActionHandled:Ot}=Ve({configuration:e,handleSuccess:se,handleError:ie,setThreeDSecureActive:K,setPaymentInProgress:me,setPaymentProcessing:J,enrichSubmitData:W=>({...W,storePaymentMethod:G.current})}),Nt=Ze(ie,"card");(0,D.useEffect)(()=>()=>{a.current+=1,s.current?.remove(),s.current=void 0},[]);let{markBuilt:tt}=Oe({configuration:e,resolvedTheme:b,ready:j.card,busy:le||H,reinitialize:()=>{rt(),ne({encryptedCardNumber:{visible:!1,message:void 0},encryptedExpiryDate:{visible:!1,message:void 0},encryptedSecurityCode:{visible:!1,message:void 0}})}});async function rt(){let W=++a.current;tt();try{await Ut(W)}catch(Te){if(W!==a.current)return;console.error("[StraumurCheckout] card initialization failed:",Te),ie({key:"error.failedToInitializePaymentMethods"})}}async function Ut(W){let Te=await(0,xt.AdyenCheckout)({clientKey:t.clientKey,environment:e.environment,locale:e.locale,countryCode:e.countryCode,paymentMethodsResponse:t.paymentMethods,amount:{value:t.minorUnitsAmount,currency:t.currency},onSubmit:Ht,onAdditionalDetails:Lt,onError:Nt,onPaymentCompleted:Vt,onPaymentFailed:Zt,onActionHandled:Ot});W===a.current&&(s.current?.remove(),n.current=Te,s.current=new xt.CustomCard(Te,{brands:ue,placeholders:e.placeholders,styles:St(b),challengeWindowSize:"05",onBinLookup:M=>{M.supportedBrandsRaw&&M.supportedBrandsRaw.length>1&&(R(!0),p({brand1:M.supportedBrandsRaw[0].brand,brand1Name:M.supportedBrandsRaw[0].localeBrand,brand1ImageUrl:M.supportedBrandsRaw[0].brandImageUrl,brand2:M.supportedBrandsRaw[1].brand,brand2Name:M.supportedBrandsRaw[1].localeBrand,brand2ImageUrl:M.supportedBrandsRaw[1].brandImageUrl}))},onBrand:M=>{if(f(M.cvcPolicy),N(M.brand==="card"?null:M.brand),M.brand==="card"){r([]),F(null);return}let V=ue.filter(A=>A!==M.brand).map(A=>({brand:A}));r(V),ue.filter(A=>A===M.brand).map(A=>({brand:A})).length===1&&F(M.brand)},onEnterKeyPressed:()=>{$()},onConfigSuccess(){be("card",!0)},onValidationError:M=>{let V={encryptedCardNumber:{visible:!1,message:void 0},encryptedExpiryDate:{visible:!1,message:void 0},encryptedSecurityCode:{visible:!1,message:void 0}};M.filter(A=>A.error).forEach(A=>{V[A.fieldType].visible=!0,V[A.fieldType].message=A.errorI18n}),ne(V)},onAllValid:M=>{u(!M.allValid),e.onCardValidityChanged?.(M.allValid,!0)}}),o.current&&s.current.mount(o.current))}(0,D.useEffect)(()=>{fe&&z==="card"&&!j.card&&rt()},[e,z]),(0,D.useEffect)(()=>{G.current=g},[g]);function Gt(W){s.current.dualBrandingChangeHandler(W)}function Kt(W){x(W.currentTarget.checked)}Ct(o,H&&z==="card");let ot=c==="optional"?i.t("cards.securityCode3DigitsOptional"):i.t("cards.securityCode3Digits"),Ke=O==="amex"?i.t("cards.securityCode4DigitsInfo"):i.t("cards.securityCode3DigitsInfo");return!fe||q("card")||t.paymentMethods?.paymentMethods?.length===0?null:(0,_.h)("div",{className:"straumur__processing-host"},(0,_.h)("div",{className:"straumur__card-component__expandable",ref:o,tabIndex:-1,style:{height:H?"600px":"auto"}},!j.card&&(0,_.h)("div",{className:"straumur__card-component__loading-text"},(0,_.h)(he,{label:i.t("payment.loading")})),(0,_.h)("div",{className:"straumur__card-component__form",style:{opacity:j.card&&!H?1:0,position:j.card&&!H?"relative":"absolute",transition:"opacity 0.3s ease-in-out"}},(0,_.h)("div",{className:"straumur__card-component__form--wrapper"},(0,_.h)("label",{className:`straumur__card-component__form--wrapper--label ${w.encryptedCardNumber.visible?"straumur__card-component__form--wrapper--label--error":""}`},i.t("cards.cardNumber")),(0,_.h)("span",{className:`straumur__card-component__form--wrapper--input ${w.encryptedCardNumber.visible?"straumur__card-component__form--wrapper--input--error":""}`,"data-cse":"encryptedCardNumber",role:"group","aria-label":i.t("cards.cardNumber")}),w.encryptedCardNumber.visible&&(0,_.h)("span",{className:"straumur__card-component__form--wrapper--error"},w.encryptedCardNumber.message)),(0,_.h)("div",{className:"straumur__card-component__form--field-wrapper"},(0,_.h)("div",{className:"straumur__card-component__form--wrapper"},(0,_.h)("label",{className:`straumur__card-component__form--wrapper--label ${w.encryptedExpiryDate.visible?"straumur__card-component__form--wrapper--label--error":""}`},i.t("cards.expiryDate")),(0,_.h)("span",{className:`straumur__card-component__form--wrapper--input ${w.encryptedExpiryDate.visible?"straumur__card-component__form--wrapper--input--error":""}`,"data-cse":"encryptedExpiryDate",role:"group","aria-label":i.t("cards.expiryDate")}),w.encryptedExpiryDate.visible&&(0,_.h)("span",{className:"straumur__card-component__form--wrapper--error"},w.encryptedExpiryDate.message)),(0,_.h)("div",{className:"straumur__card-component__form--wrapper"},(c==="optional"||c==="required")&&(0,_.h)(_.Fragment,null,(0,_.h)("label",{className:`straumur__card-component__form--wrapper--label ${w.encryptedSecurityCode.visible?"straumur__card-component__form--wrapper--label--error":""}`},ot),(0,_.h)("span",{className:`straumur__card-component__form--wrapper--input ${w.encryptedSecurityCode.visible?"straumur__card-component__form--wrapper--input--error":""}`,"data-cse":"encryptedSecurityCode",role:"group","aria-label":ot}),w.encryptedSecurityCode.visible&&(0,_.h)("span",{className:"straumur__card-component__form--wrapper--error"},w.encryptedSecurityCode.message),(0,_.h)("div",{className:"straumur__card-component__form--wrapper--label--info"},(0,_.h)(Fe,{content:(0,_.h)("span",null,Ke),placement:"top",label:Ke},(0,_.h)(yt,null)))))),v&&k&&(0,_.h)(Or,{dualBrandConfiguration:k,selectedBrand:B,onBrandClick:Gt,label:i.t("cards.cardBrand")}),t.enableStoreDetails==="AskForConsent"&&(0,_.h)("label",{className:"straumur__card-component__form--wrapper--label-checkbox"},(0,_.h)("div",{className:`straumur__card-component__form--wrapper--label-checkbox--checkmark ${g?"straumur__card-component__form--wrapper--label-checkbox--checkmark--checked":""}`},(0,_.h)("div",{className:`straumur__card-component__form--wrapper--label-checkbox--checkmark--icon ${g?"straumur__card-component__form--wrapper--label-checkbox--checkmark--icon--checked":""}`},(0,_.h)(vt,{color:"var(--straumur__color-on-primary)"}))),(0,_.h)("input",{type:"checkbox",className:"straumur__card-component__form--wrapper--label-checkbox--checkbox",checked:g,onChange:Kt}),i.t("cards.storePaymentMethod")),!e.hideSubmitButton&&(0,_.h)("button",{className:"straumur__card-component__submit-button",disabled:m||le,onClick:$},t.minorUnitsAmount===0?i.t("cards.saveCardDetails"):t.formattedAmount))),(0,_.h)(Ne,{visible:pe&&z==="card"}))}var Jr=sa;var re=require("preact");h(`.straumur__payment-method-item{position:relative;cursor:pointer;background:var(--straumur__color-white);border-radius:var(--straumur__border-radius-lg);transition:all .3s ease;padding:var(--straumur__space-xxlg) var(--straumur__space-5xlg)}.straumur__payment-method-item--sole,.straumur__payment-method-item--active{cursor:default}.straumur__payment-method-item__header{display:flex;align-items:center;gap:var(--straumur__space-lg)}.straumur__payment-method-item__header--expanded{padding-bottom:var(--straumur__space-xxlg)}.straumur__payment-method-item__label{flex:1;min-width:0;cursor:inherit}.straumur__payment-method-item__radio-selector{position:absolute;opacity:0;cursor:pointer}.straumur__payment-method-item__content{display:flex;align-items:center;gap:var(--straumur__space-lg);transition:background-color .3s ease}.straumur__payment-method-item--circle{width:var(--straumur__space-5xlg);height:var(--straumur__space-5xlg);border:1px solid var(--straumur__color-cosmos-blue-gamma);background:var(--straumur__color-secondary-gamma);border-radius:50%;position:relative;transition:all .3s ease;flex-shrink:0}.straumur__payment-method-item__content:hover .straumur__payment-method-item--circle{border:1px solid var(--straumur__color-cosmos-blue-delta)}.straumur__payment-method-item--circle:after{content:"";position:absolute;width:100%;height:100%;border-radius:50%;top:50%;left:50%;transform:translate(-50%,-50%) scale(0);transition:transform .2s ease}.straumur__payment-method-item__radio-selector:checked+.straumur__payment-method-item__content .straumur__payment-method-item--circle{background:var(--straumur__color-primary);border-color:var(--straumur__color-transparent)}.straumur__payment-method-item__radio-selector:checked+.straumur__payment-method-item__content .straumur__payment-method-item--circle:after{transform:translate(-50%,-50%) scale(1);background:var(--straumur__color-on-primary);height:var(--straumur__space-md);width:var(--straumur__space-md)}.straumur__payment-method-item--title{color:var(--straumur__color-text);font-size:16px;user-select:none}.straumur__payment-method-item__expandable{background:var(--straumur__color-white);max-height:0;overflow:hidden;transition:all .3s ease;opacity:0}.straumur__payment-method-item__expandable--visible{max-height:600px;opacity:1}
6
+ `);function ia({icon:e,title:t,isActive:r,isSole:o,onChange:n,children:a,headerRight:s,confirmSection:i}){let{paymentInProgress:m}=C(),u=o||r,c=(0,re.h)("span",{className:"straumur__payment-method-item__content"},!o&&(0,re.h)("span",{className:"straumur__payment-method-item--circle"}),e,(0,re.h)("span",{className:"straumur__payment-method-item--title"},t));return(0,re.h)("div",{className:`straumur__payment-method-item${o?" straumur__payment-method-item--sole":""}${r?" straumur__payment-method-item--active":""}`,onClick:!o&&!r&&!m?n:void 0},(0,re.h)("div",{className:`straumur__payment-method-item__header${u?" straumur__payment-method-item__header--expanded":""}`},o?(0,re.h)("div",{className:"straumur__payment-method-item__label"},c):(0,re.h)("label",{className:"straumur__payment-method-item__label"},(0,re.h)("input",{type:"radio",className:"straumur__payment-method-item__radio-selector",checked:r,onChange:n,disabled:m}),c),s),i,(0,re.h)("div",{className:`straumur__payment-method-item__expandable${u?" straumur__payment-method-item__expandable--visible":""}`},a))}var oe=ia;function la({configuration:e,paymentMethods:t}){let{i18n:r}=I(),[o,n]=(0,$r.useState)([]),a=te(e.theme),{activePaymentMethod:s,setActivePaymentMethod:i,isObscuredByThreeDS:m,isSolePaymentMethod:u,hasCard:c}=C();if(!c||m("card"))return null;let g=t.paymentMethods.paymentMethods.find(x=>x.type==="scheme").brands.map(x=>({brand:x,brandFullName:x}));return(0,Ue.h)(oe,{icon:(0,Ue.h)(Mr,null),title:r.t("cards.title"),isActive:s==="card",isSole:u,onChange:()=>i("card"),headerRight:(0,Ue.h)("span",{className:"straumur__card-component--brands"},(0,Ue.h)(_t,{brands:g,brandHidden:o,theme:a}))},(0,Ue.h)(Jr,{configuration:e,paymentMethods:t,onBrandHidden:n}))}var Xr=la;var kt=require("preact"),to=require("preact/hooks");h(`.adyen-checkout__paywithgoogle{height:var(--straumur__space-8xlg)}
7
+ `);var ce=require("preact"),ma=()=>(0,ce.h)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"40",height:"26",fill:"none",viewBox:"0 0 40 26"},(0,ce.h)("path",{fill:"#fff",d:"M29.13 2.41H10.87C5.17 2.41.5 7.18.5 13.01a10.5 10.5 0 0 0 10.37 10.58h18.26c5.7 0 10.37-4.76 10.37-10.59 0-5.82-4.67-10.59-10.37-10.59Z"}),(0,ce.h)("path",{fill:"#3C4043",d:"M29.13 3.27c1.28 0 2.52.26 3.7.77a9.6 9.6 0 0 1 5.08 5.19 9.78 9.78 0 0 1 0 7.55 9.83 9.83 0 0 1-5.08 5.18 9.26 9.26 0 0 1-3.7.77H10.87a9.24 9.24 0 0 1-3.7-.77 9.6 9.6 0 0 1-5.08-5.18 9.78 9.78 0 0 1 0-7.55 9.83 9.83 0 0 1 5.08-5.19 9.24 9.24 0 0 1 3.7-.77h18.26Zm0-.86H10.87C5.17 2.41.5 7.18.5 13.01a10.5 10.5 0 0 0 10.37 10.58h18.26c5.7 0 10.37-4.76 10.37-10.59 0-5.82-4.67-10.59-10.37-10.59Z"}),(0,ce.h)("path",{fill:"#3C4043",d:"M19.1 13.75v3.2h-1v-7.9h2.64c.67 0 1.24.23 1.7.68.49.46.72 1.01.72 1.67a2.2 2.2 0 0 1-.71 1.68c-.46.45-1.03.67-1.7.67H19.1Zm0-3.73v2.76h1.66c.4 0 .73-.14.99-.4.26-.28.4-.6.4-.98 0-.36-.14-.68-.4-.95a1.28 1.28 0 0 0-.99-.42H19.1Zm6.67 1.35c.73 0 1.31.2 1.74.6.42.4.64.95.64 1.65v3.34h-.95v-.76h-.04a1.9 1.9 0 0 1-1.65.93 2.1 2.1 0 0 1-1.46-.53c-.4-.35-.6-.8-.6-1.32 0-.56.21-1 .63-1.34.41-.33.97-.5 1.66-.5.59 0 1.07.12 1.45.34v-.23c0-.36-.13-.65-.4-.9a1.4 1.4 0 0 0-.97-.37c-.56 0-1 .24-1.32.72l-.88-.56a2.42 2.42 0 0 1 2.15-1.07Zm-1.29 3.92c0 .27.11.5.33.67.22.17.48.26.78.26.42 0 .79-.16 1.12-.48.32-.31.49-.68.49-1.11a2.02 2.02 0 0 0-1.3-.38c-.4 0-.74.1-1.01.3a.9.9 0 0 0-.4.74Zm9.08-3.75-3.32 7.8h-1.02l1.23-2.73-2.19-5.07h1.09l1.57 3.89h.02l1.54-3.89h1.08Z"}),(0,ce.h)("path",{fill:"#4285F4",d:"M15.14 13.1c0-.32-.03-.64-.09-.95h-4.17v1.75h2.4a2.1 2.1 0 0 1-.89 1.4v1.14h1.43a4.49 4.49 0 0 0 1.32-3.33Z"}),(0,ce.h)("path",{fill:"#34A853",d:"M12.4 15.3a2.66 2.66 0 0 1-4-1.44H6.9v1.18a4.43 4.43 0 0 0 6.91 1.4l-1.43-1.13Z"}),(0,ce.h)("path",{fill:"#FABB05",d:"M8.25 13c0-.3.05-.59.14-.86v-1.17H6.9a4.59 4.59 0 0 0 0 4.07l1.48-1.17a2.79 2.79 0 0 1-.14-.86Z"}),(0,ce.h)("path",{fill:"#E94235",d:"M10.88 10.27c.66 0 1.24.23 1.7.68l1.27-1.3a4.22 4.22 0 0 0-2.97-1.18 4.44 4.44 0 0 0-3.97 2.5l1.48 1.17a2.66 2.66 0 0 1 2.5-1.87Z"})),Qr=ma;h(`.straumur__google-pay-button__loading{display:flex;justify-content:center}
8
+ `);var eo=require("preact");var de=require("preact"),ve=require("preact/hooks"),Ge=require("@adyen/adyen-web");function qr(e,t){return(t??(e==="dark"?"dark":"white"))==="dark"?"black":"white"}function Yr(e,t){return(t??(e==="dark"?"dark":"light"))==="dark"?"black":"white-outline"}var ua={applepay:{loadingClassName:"straumur__apple-pay-button__loading",createElement(e,{configuration:t,paymentMethods:r,walletConfig:o,handleOnSubmit:n,resolvedTheme:a,isPaymentLocked:s}){let i={amount:{value:r.minorUnitsAmount,currency:r.currency},environment:t.environment,onSubmit:n,onClick:Yt(t.paymentFlow,s),buttonColor:Yr(a,t.applePayButtonTheme),configuration:{...o,merchantName:r.merchantName}};return new Ge.ApplePay(e,i)}},googlepay:{loadingClassName:"straumur__google-pay-button__loading",createElement(e,{configuration:t,paymentMethods:r,walletConfig:o,handleOnSubmit:n,resolvedTheme:a,isPaymentLocked:s}){let i={amount:{value:r.minorUnitsAmount,currency:r.currency},challengeWindowSize:"05",countryCode:t.countryCode,environment:t.environment,onSubmit:n,onClick:Yt(t.paymentFlow,s),buttonColor:qr(a,t.googlePayButtonTheme),buttonType:"plain",buttonSizeMode:"fill",buttonRadius:12,configuration:{...o,merchantName:r.merchantName}};return new Ge.GooglePay(e,i)}}};function ca({method:e,configuration:t,paymentMethods:r,isInstantPayment:o,onUnavailable:n}){let a=ua[e],s=te(t.theme),i=(0,ve.useRef)(null),m=(0,ve.useRef)(),u=(0,ve.useRef)(),c=(0,ve.useRef)(0),{isPaymentMethodInitialized:f,updatePaymentMethodInitialization:g,handleSuccess:x,handleError:v,setThreeDSecureActive:R,threeDSecureActive:k,paymentInProgress:p,setPaymentInProgress:B,isPaymentLocked:F,paymentProcessing:O,setPaymentProcessing:N,isObscuredByThreeDS:G,setActivePaymentMethod:w,activePaymentMethod:ne}=C(),{handleOnSubmit:z,handleOnSubmitAdditionalData:j,handlePaymentCompleted:be,handlePaymentFailed:se,handleActionHandled:ie}=Ve({configuration:t,handleSuccess:x,handleError:v,setThreeDSecureActive:R,setPaymentInProgress:B,setPaymentProcessing:N,onSubmitStart:()=>{o&&w(e)}}),K=Ze(v,`${e}`);function H(){g(e,!0),ne===e&&w(null),n?.()}(0,ve.useEffect)(()=>()=>{c.current+=1,u.current?.remove(),u.current=void 0},[]);let{markBuilt:le}=Oe({configuration:t,resolvedTheme:s,ready:!!(u.current&&f[e]),busy:p||k,reinitialize:()=>{me()}});async function me(){let J=++c.current;le();try{await Ce(J)}catch(q){if(J!==c.current)return;console.error(`[StraumurCheckout] ${e} initialization failed:`,q),H()}}async function Ce(J){let q=await(0,Ge.AdyenCheckout)({clientKey:r.clientKey,environment:t.environment,locale:t.locale,countryCode:t.countryCode,paymentMethodsResponse:r.paymentMethods,amount:{value:r.minorUnitsAmount,currency:r.currency},onError:K,onAdditionalDetails:j,onPaymentCompleted:be,onPaymentFailed:se,onActionHandled:ie});if(J!==c.current)return;m.current=q;let L=r.paymentMethods.paymentMethods?.find(b=>b.type===e)?.configuration;if(!L){H();return}u.current?.remove();let ee=a.createElement(q,{configuration:t,paymentMethods:r,walletConfig:L,handleOnSubmit:z,resolvedTheme:s,isPaymentLocked:F});u.current=ee;try{await ee.isAvailable()}catch{J===c.current&&H();return}J!==c.current||!i.current||(ee.mount(i.current),g(e,!0))}if((0,ve.useEffect)(()=>{f[e]||me()},[t]),G(e))return null;let pe=O&&ne===e;return(0,de.h)(de.Fragment,null,f[e]===!1&&(0,de.h)("div",{className:a.loadingClassName},(0,de.h)(He,null)),(0,de.h)("div",{className:"straumur__processing-host",style:{minHeight:k&&pe?"400px":void 0,width:k?"100%":void 0}},(0,de.h)("div",{ref:i,style:{height:k?void 0:"48px",width:k?"100%":void 0,position:f[e]?"static":"absolute",pointerEvents:p&&!k?"none":void 0,opacity:p&&!k?.5:void 0}}),(0,de.h)(Ne,{visible:pe,compact:!k})))}var wt=ca;function da(e){return(0,eo.h)(wt,{method:"googlepay",...e})}var Mt=da;function pa({configuration:e,paymentMethods:t}){let{i18n:r}=I(),{activePaymentMethod:o,setActivePaymentMethod:n,isObscuredByThreeDS:a,isSolePaymentMethod:s,hasGooglePay:i}=C(),[m,u]=(0,to.useState)(!1);return!i||m||e.instantPayments&&e.instantPayments.some(c=>c==="googlepay")||a("googlepay")?null:(0,kt.h)(oe,{icon:(0,kt.h)(Qr,null),title:r.t("googlePay.title"),isActive:o==="googlepay",isSole:s,onChange:()=>n("googlepay")},(0,kt.h)(Mt,{configuration:e,paymentMethods:t,isInstantPayment:!1,onUnavailable:()=>u(!0)}))}var ro=pa;var At=require("preact"),no=require("preact/hooks");h("");var $e=require("preact"),fa=()=>(0,$e.h)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"40",height:"26",fill:"none",viewBox:"0 0 40 26"},(0,$e.h)("path",{fill:"#000",d:"M36.42 0H3.58a69.25 69.25 0 0 0-.75 0c-.25.01-.5.03-.76.07a2.51 2.51 0 0 0-1.32.7A2.43 2.43 0 0 0 .07 2.1 5.14 5.14 0 0 0 0 3.22v19.91c.01.25.03.51.07.76a2.6 2.6 0 0 0 .68 1.35 2.39 2.39 0 0 0 1.32.69 4.98 4.98 0 0 0 1.1.07h34a5 5 0 0 0 .76-.07 2.5 2.5 0 0 0 1.32-.7 2.44 2.44 0 0 0 .68-1.34 5.13 5.13 0 0 0 .07-1.11V2.87a6.5 6.5 0 0 0-.07-.76 2.58 2.58 0 0 0-.68-1.35 2.4 2.4 0 0 0-1.32-.69 4.96 4.96 0 0 0-1.1-.07h-.41Z"}),(0,$e.h)("path",{fill:"#fff",d:"M36.42.87h.73c.2 0 .42.02.62.06a1.67 1.67 0 0 1 .88.44 1.58 1.58 0 0 1 .44.89 4.38 4.38 0 0 1 .06.97v19.55a14.67 14.67 0 0 1-.06.96 1.7 1.7 0 0 1-.44.89 1.54 1.54 0 0 1-.87.44 4.27 4.27 0 0 1-.96.06H2.85a3.7 3.7 0 0 1-.63-.06 1.66 1.66 0 0 1-.87-.45 1.56 1.56 0 0 1-.44-.88 4.35 4.35 0 0 1-.06-.97V2.9c.01-.2.02-.42.06-.63.03-.18.08-.34.16-.49A1.56 1.56 0 0 1 2.22.93a4.2 4.2 0 0 1 .96-.06h33.24"}),(0,$e.h)("path",{fill:"#000",d:"M10.92 8.61c.34-.43.57-1 .51-1.59a2.21 2.21 0 0 0-1.99 2.3c.56.04 1.12-.3 1.48-.7Zm.51.81c-.82-.05-1.52.46-1.9.46-.4 0-1-.43-1.64-.42-.84 0-1.62.48-2.05 1.24-.88 1.52-.23 3.76.62 5 .42.6.92 1.27 1.58 1.25.62-.02.86-.4 1.62-.4.75 0 .97.4 1.63.39.69-.01 1.11-.61 1.53-1.22.47-.7.67-1.37.68-1.4-.01-.02-1.32-.52-1.33-2.02-.01-1.26 1.03-1.85 1.07-1.9a2.34 2.34 0 0 0-1.81-.98Zm7.11-1.7a2.87 2.87 0 0 1 3.02 3c0 1.8-1.27 3.03-3.06 3.03h-1.97v3.12h-1.42V7.72h3.43Zm-2 4.83h1.62c1.24 0 1.94-.66 1.94-1.82 0-1.15-.7-1.81-1.93-1.81h-1.64v3.63Zm5.39 2.43c0-1.17.9-1.89 2.48-1.98l1.83-.1v-.52c0-.74-.5-1.18-1.34-1.18-.8 0-1.3.38-1.41.97h-1.3c.08-1.2 1.1-2.09 2.76-2.09 1.62 0 2.65.86 2.65 2.2v4.6h-1.31v-1.1h-.04a2.38 2.38 0 0 1-2.1 1.2c-1.3 0-2.22-.8-2.22-2Zm4.3-.6v-.53l-1.64.1c-.82.06-1.28.42-1.28.99 0 .58.48.96 1.22.96.96 0 1.7-.66 1.7-1.52Zm2.61 4.95v-1.11c.1.03.33.03.44.03.64 0 .98-.27 1.19-.96l.12-.4-2.41-6.69h1.48l1.7 5.43h.02l1.69-5.43h1.44l-2.5 7.02c-.57 1.62-1.23 2.14-2.61 2.14a5.3 5.3 0 0 1-.56-.03Z"})),oo=fa;h(`.straumur__apple-pay-button__loading{display:flex;justify-content:center}
9
+ `);var ao=require("preact");function ha(e){return(0,ao.h)(wt,{method:"applepay",...e})}var Rt=ha;function _a({configuration:e,paymentMethods:t}){let{i18n:r}=I(),{activePaymentMethod:o,setActivePaymentMethod:n,isObscuredByThreeDS:a,isSolePaymentMethod:s,hasApplePay:i}=C(),[m,u]=(0,no.useState)(!1);return!i||m||e.instantPayments&&e.instantPayments.some(c=>c==="applepay")||a("applepay")?null:(0,At.h)(oe,{icon:(0,At.h)(oo,null),title:r.t("applePay.title"),isActive:o==="applepay",isSole:s,onChange:()=>n("applepay")},(0,At.h)(Rt,{configuration:e,paymentMethods:t,isInstantPayment:!1,onUnavailable:()=>u(!0)}))}var so=_a;var Re=require("preact");h(`.straumur__kortalan-component__logo{display:flex;align-items:center;flex-shrink:0;margin-left:auto;line-height:0}.straumur__kortalan-component__logo svg{display:block;height:26px;width:auto}.straumur__kortalan-component__submit-button{background:var(--straumur__color-kortalan-button-bg);border:none;border-radius:var(--straumur__border-radius-s);color:var(--straumur__color-kortalan-button-text);cursor:pointer;font-size:16px;font-weight:500;height:48px;letter-spacing:.48px;line-height:16px;outline:none;padding:0 var(--straumur__space-6xlg);transition:filter .2s ease-out;width:100%}.straumur__kortalan-component__submit-button:hover{filter:brightness(.96)}.straumur__kortalan-component__submit-button:disabled{background:var(--straumur__color-gray-epsilon);color:var(--straumur__color-secondary);border:1px solid var(--straumur__color-border);cursor:not-allowed;filter:none}
10
+ `);var Xe=require("preact"),ya=()=>(0,Xe.h)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"36",height:"24",viewBox:"0 0 36 24",fill:"none"},(0,Xe.h)("g",{transform:"translate(6 0)"},(0,Xe.h)("path",{d:"M2.0275 4.93299C5.35 5.8259 8.675 4.99288 12 4.15862C15.625 3.2493 19.25 2.33958 22.875 3.67176C23.5792 3.93057 24 4.62497 24 5.36489V18.0732C24 19.0534 22.9333 19.7015 21.9708 19.4431C18.65 18.549 15.325 19.3816 12 20.2142C8.3375 21.1247 4.7125 22.0353 1.12375 20.7023C0.419167 20.4439 0 19.7507 0 19.0083V6.30168C0 5.321 1.06708 4.67459 2.0275 4.93299ZM21.3333 8.21301C19.9208 8.21301 18.7667 7.17122 18.6708 5.80129C17.0042 5.84231 15.1958 6.23606 13.0458 6.75286C12.8875 6.79797 12.6917 6.84719 12.4917 6.89641C10.3667 7.42551 7.89167 8.03665 5.25417 8.06946C5.0625 9.29172 3.97417 10.1818 2.62917 10.1818V16.1249C4.07875 16.1249 5.23333 17.2036 5.32917 18.5736C6.99583 18.5325 8.80417 18.1388 10.9167 17.622C11.1125 17.5769 11.3083 17.5277 11.5083 17.4415C13.6333 16.9493 16.1083 16.3382 18.7083 16.3054C18.9375 15.0831 20.025 14.1562 21.3333 14.1562V8.21301Z",fill:"currentColor"}),(0,Xe.h)("path",{opacity:"0.4",d:"M21.3333 14.1562C20.025 14.1562 18.9375 15.0832 18.7083 16.3054C16.1083 16.3382 13.6333 16.9494 11.5083 17.4416C11.3083 17.5277 11.1125 17.5769 10.9167 17.622C8.80416 18.1388 6.99583 18.5326 5.32916 18.5736C5.23333 17.2037 4.07875 16.125 2.66666 16.125V10.2187C3.97416 10.2187 5.0625 9.29176 5.25416 8.06949C7.89166 8.03668 10.3667 7.42555 12.4917 6.89645C12.6917 6.84723 12.8875 6.79801 13.0458 6.75289C15.1958 6.2361 17.0042 5.84235 18.6708 5.80133C18.7667 7.17125 19.9208 8.24996 21.3333 8.24996V14.1562ZM12 16.125C13.8417 16.125 15.3333 14.3613 15.3333 12.1875C15.3333 9.97672 13.8417 8.24996 12 8.24996C10.1583 8.24996 8.66666 9.97672 8.66666 12.1875C8.66666 14.3613 10.1583 16.125 12 16.125Z",fill:"currentColor"}))),io=ya;var Tt=require("preact");h(`.straumur__kortalan-standalone-button{display:flex;align-items:center;justify-content:center;gap:var(--straumur__space-s);width:100%;height:calc(var(--straumur__space-xxlg) * 2 + 26px);padding:0 30px;background:var(--straumur__color-kortalan-standalone-bg);color:var(--straumur__color-kortalan-standalone-ink);border:none;border-radius:var(--straumur__border-radius-xxlg);cursor:pointer;font-size:24px;font-weight:500;line-height:1;transition:opacity .2s ease-out}.straumur__kortalan-standalone-button svg{flex-shrink:0;width:32px;height:8px}.straumur__kortalan-standalone-button:hover:not(:disabled){opacity:.9}.straumur__kortalan-standalone-button:disabled{opacity:.5;cursor:not-allowed}
11
+ `);var Me=require("preact"),va=()=>(0,Me.h)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"8",viewBox:"0 0 32 8",fill:"none","aria-hidden":"true"},(0,Me.h)("g",{transform:"translate(-219.312 -34)"},(0,Me.h)("path",{d:"M247.306 42C249.518 42 251.312 40.2091 251.312 38C251.312 35.7909 249.518 34 247.306 34C245.094 34 243.301 35.7909 243.301 38C243.301 40.2091 245.094 42 247.306 42Z",fill:"currentColor"}),(0,Me.h)("path",{d:"M235.288 42C237.501 42 239.294 40.2091 239.294 38C239.294 35.7909 237.501 34 235.288 34C233.076 34 231.283 35.7909 231.283 38C231.283 40.2091 233.076 42 235.288 42Z",fill:"currentColor"}),(0,Me.h)("path",{d:"M223.317 42C225.529 42 227.322 40.2091 227.322 38C227.322 35.7909 225.529 34 223.317 34C221.105 34 219.312 35.7909 219.312 38C219.312 40.2091 221.105 42 223.317 42Z",fill:"currentColor"}),(0,Me.h)("path",{d:"M247.241 37.0796H222.193V38.8505H247.241V37.0796Z",fill:"currentColor"}))),lo=va;var mo=require("preact/hooks");var ke="kortalan";function ga(e){if(e&&typeof e=="object"&&"type"in e&&"url"in e){let t=e;if(t.type==="redirect"&&typeof t.url=="string")return t.url}return null}function It(e){let{handleSuccess:t,handleError:r,setPaymentInProgress:o}=C(),[n,a]=(0,mo.useState)(!1);return{pay:async()=>{if(!n){a(!0);try{if(!await qt(e.paymentFlow)){a(!1);return}o(!0);let{resultCode:i,action:m,errorMessage:u}=await e.paymentFlow.submitPayment({clientStateDataIndicator:!1,paymentMethod:{type:ke}}),c=ga(m);if(c){window.location.assign(c);return}Le(i,{configuration:e,handleSuccess:t,handleError:r,failureMessage:u}),o(!1),a(!1)}catch(i){r(we(i,"error.failedToSubmitPayment")),e.onPaymentFailed?.({resultCode:"Error"}),o(!1),a(!1)}}},isSubmitting:n}}function ba({configuration:e}){let{i18n:t}=I(),{isObscuredByThreeDS:r,paymentInProgress:o}=C(),{pay:n,isSubmitting:a}=It(e);return r(ke)?null:(0,Tt.h)("button",{className:"straumur__kortalan-standalone-button",disabled:a||o,onClick:()=>{n()}},(0,Tt.h)(lo,null),(0,Tt.h)("span",null,t.t("kortalan.title")))}var uo=ba;var P=require("preact"),Ca=()=>(0,P.h)("svg",{preserveAspectRatio:"none",overflow:"visible",width:"123.555",height:"31.9999",viewBox:"0 0 123.555 31.9999",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,P.h)("g",{id:"straumur-kortalan-logo",clipPath:"url(#straumur__kortalan-logo-clip)"},(0,P.h)("g",{id:"Vector"},(0,P.h)("path",{d:"M32.564 12.5307L34.9166 12.0525C35.1251 13.2403 35.9609 13.8334 37.4255 13.8334C38.1713 13.8334 38.7732 13.6924 39.2282 13.4104C39.6833 13.1284 39.9108 12.7698 39.9108 12.3345C39.9108 11.8716 39.6722 11.5191 39.1935 11.28C38.7148 11.0409 38.1333 10.8677 37.446 10.7589C36.7588 10.6501 36.0683 10.5167 35.3747 10.3573C34.6811 10.198 34.095 9.88375 33.6162 9.41169C33.1375 8.94116 32.899 8.30664 32.899 7.51119C32.899 6.54101 33.3287 5.73636 34.1866 5.09877C35.0445 4.46118 36.1236 4.14239 37.4224 4.14239C38.7211 4.14239 39.786 4.4244 40.6139 4.98995C41.4433 5.5555 41.9394 6.32337 42.1038 7.29355L39.7528 7.77174C39.5742 6.58392 38.7969 5.99078 37.4239 5.99078C36.7967 5.99078 36.2816 6.12106 35.8787 6.38161C35.4759 6.64216 35.2736 6.98242 35.2736 7.40237C35.2736 7.7794 35.4458 8.08287 35.7887 8.3143C36.1315 8.54574 36.5644 8.69747 37.0874 8.77104C37.6104 8.84307 38.1744 8.95189 38.778 9.0975C39.3831 9.2431 39.9455 9.40556 40.4685 9.58642C40.9915 9.76727 41.4244 10.0891 41.7672 10.5535C42.1101 11.0179 42.2823 11.5957 42.2823 12.2916C42.2823 13.2617 41.8162 14.0695 40.8824 14.7147C39.9487 15.36 38.7953 15.6818 37.4224 15.6818C36.0494 15.6818 34.9592 15.3998 34.1076 14.8343C33.256 14.2687 32.741 13.5024 32.5624 12.5307H32.564Z",fill:"var(--straumur__color-kortalan-logo-primary)"}),(0,P.h)("path",{d:"M45.5169 6.38171H43.0759V4.36165H45.5169V0.753758H47.8679V4.36165H51.0926V6.38171H47.8679V11.51C47.8679 12.1905 48.0243 12.684 48.3387 12.9875C48.6515 13.2925 49.1524 13.4442 49.8397 13.4442H51.0941V15.4643H49.8397C48.3608 15.4643 47.2707 15.1317 46.5692 14.465C45.8677 13.7983 45.5169 12.7775 45.5169 11.4012V6.38171Z",fill:"var(--straumur__color-kortalan-logo-primary)"}),(0,P.h)("path",{d:"M55.6237 4.36173V7.29525C55.9966 5.97716 56.5827 5.08668 57.3822 4.62228C58.1801 4.15942 59.0885 4.04294 60.1029 4.27437V6.44769C58.8626 6.1151 57.8072 6.21932 56.9335 6.76342C56.0598 7.30598 55.6237 8.1137 55.6237 9.18656V15.4659H53.2727V4.36173H55.6237Z",fill:"var(--straumur__color-kortalan-logo-primary)"}),(0,P.h)("path",{d:"M65.9106 4.14403C67.2836 4.14403 68.4037 4.49195 69.2696 5.18625C70.1354 5.88208 70.5683 6.88137 70.5683 8.18414V15.4628H68.2173V12.5078C67.5158 14.6229 66.1049 15.6804 63.9846 15.6804C62.9987 15.6804 62.1772 15.3938 61.5215 14.8221C60.8642 14.2504 60.5356 13.501 60.5356 12.5737C60.5356 11.487 60.9306 10.6732 61.7221 10.1291C62.5137 9.58653 63.5217 9.24934 64.7462 9.11907L66.9628 8.90143C67.7986 8.82939 68.2173 8.46768 68.2173 7.81477C68.2173 7.27833 68.004 6.85225 67.579 6.53346C67.154 6.21467 66.5963 6.05527 65.9106 6.05527C65.2249 6.05527 64.615 6.22846 64.13 6.57637C63.6449 6.92429 63.3353 7.4316 63.201 8.09678L60.8721 7.55422C61.0807 6.512 61.6415 5.68283 62.5516 5.0667C63.4617 4.45057 64.5818 4.14403 65.9106 4.14403ZM64.7462 13.8351C65.7162 13.8351 66.5378 13.5194 67.2093 12.8894C67.8808 12.2595 68.2173 11.5238 68.2173 10.6839V10.0754C68.0388 10.3651 67.6043 10.546 66.9186 10.618L64.7462 10.8786C64.179 10.9506 63.7271 11.1146 63.3906 11.3675C63.054 11.6204 62.8866 11.9652 62.8866 12.399C62.8866 12.8327 63.054 13.1806 63.3906 13.4412C63.7271 13.7017 64.1774 13.832 64.7462 13.832V13.8351Z",fill:"var(--straumur__color-kortalan-logo-primary)"}),(0,P.h)("path",{d:"M72.9416 10.8571V4.36166H75.2926V10.8586C75.2926 11.6694 75.5612 12.3254 76.0984 12.825C76.6356 13.3247 77.3228 13.5745 78.1586 13.5745C78.9944 13.5745 79.6596 13.3247 80.1968 12.825C80.7339 12.3254 81.0025 11.6694 81.0025 10.8586V4.36166H83.3551V10.8586C83.3551 12.2779 82.8653 13.4366 81.8873 14.3347C80.9093 15.2329 79.6659 15.6819 78.1586 15.6819C76.6514 15.6819 75.3842 15.2329 74.4078 14.3347C73.4298 13.4366 72.94 12.2779 72.94 10.8586L72.9416 10.8571Z",fill:"var(--straumur__color-kortalan-logo-primary)"}),(0,P.h)("path",{d:"M99.4341 4.14403C100.613 4.14403 101.58 4.58544 102.335 5.46979C103.089 6.35414 103.466 7.47605 103.466 8.83706V15.4643H101.115V9.18497C101.115 8.32974 100.872 7.62472 100.387 7.06683C99.9018 6.50894 99.2998 6.22999 98.5841 6.22999C97.7783 6.22999 97.1163 6.50894 96.6013 7.06683C96.0862 7.62472 95.8287 8.33128 95.8287 9.18497V15.4643H93.4777V9.18497C93.4777 8.32974 93.2391 7.62472 92.7604 7.06683C92.2817 6.50894 91.686 6.22999 90.9687 6.22999C90.163 6.22999 89.501 6.50894 88.9859 7.06683C88.4708 7.62472 88.2133 8.33128 88.2133 9.18497V15.4643H85.8623V4.36167H88.2133V7.07756C88.5261 6.16562 89.0001 5.44833 89.6353 4.92723C90.2704 4.40612 91.013 4.14557 91.863 4.14557C92.773 4.14557 93.5614 4.42451 94.2266 4.9824C94.8902 5.54029 95.3578 6.28977 95.6264 7.23082C95.895 6.28977 96.369 5.54029 97.0484 4.9824C97.7278 4.42451 98.5225 4.14557 99.4341 4.14557V4.14403Z",fill:"var(--straumur__color-kortalan-logo-primary)"}),(0,P.h)("path",{d:"M105.785 10.8571V4.36166H108.136V10.8586C108.136 11.6694 108.405 12.3254 108.942 12.825C109.479 13.3247 110.167 13.5745 111.002 13.5745C111.838 13.5745 112.503 13.3247 113.041 12.825C113.578 12.3254 113.846 11.6694 113.846 10.8586V4.36166H116.199V10.8586C116.199 12.2779 115.709 13.4366 114.731 14.3347C113.753 15.2329 112.51 15.6819 111.002 15.6819C109.495 15.6819 108.228 15.2329 107.252 14.3347C106.274 13.4366 105.784 12.2779 105.784 10.8586L105.785 10.8571Z",fill:"var(--straumur__color-kortalan-logo-primary)"}),(0,P.h)("path",{d:"M121.078 4.36173V7.29525C121.451 5.97716 122.037 5.08668 122.837 4.62228C123.634 4.15942 124.543 4.04294 125.557 4.27437V6.44769C124.317 6.1151 123.262 6.21932 122.388 6.76342C121.514 7.30598 121.078 8.1137 121.078 9.18656V15.4659H118.727V4.36173H121.078Z",fill:"var(--straumur__color-kortalan-logo-primary)"}),(0,P.h)("path",{d:"M19.9876 12.5797C21.5643 12.5797 22.8425 11.3398 22.8425 9.81021C22.8425 8.28064 21.5643 7.04068 19.9876 7.04068C18.4108 7.04068 17.1326 8.28064 17.1326 9.81021C17.1326 11.3398 18.4108 12.5797 19.9876 12.5797Z",fill:"var(--straumur__color-kortalan-logo-primary)"}),(0,P.h)("path",{d:"M11.4225 12.5797C12.9993 12.5797 14.2775 11.3398 14.2775 9.81021C14.2775 8.28064 12.9993 7.04068 11.4225 7.04068C9.84575 7.04068 8.56753 8.28064 8.56753 9.81021C8.56753 11.3398 9.84575 12.5797 11.4225 12.5797Z",fill:"var(--straumur__color-kortalan-logo-primary)"}),(0,P.h)("path",{d:"M2.85497 12.5797C4.43173 12.5797 5.70995 11.3398 5.70995 9.81021C5.70995 8.28064 4.43173 7.04068 2.85497 7.04068C1.27822 7.04068 0 8.28064 0 9.81021C0 11.3398 1.27822 12.5797 2.85497 12.5797Z",fill:"var(--straumur__color-kortalan-logo-primary)"}),(0,P.h)("path",{d:"M19.988 9.19704H2.85687V10.4232H19.988V9.19704Z",fill:"var(--straumur__color-kortalan-logo-primary)"}),(0,P.h)("path",{d:"M66.224 26.7029L69.8124 31.6584H68.2149L65.318 27.7108L64.102 29.0547V31.6584H62.7786V23.2593H64.102V27.2309L67.6904 23.2593H69.3475L66.224 26.7029Z",fill:"var(--straumur__color-kortalan-logo-secondary)"}),(0,P.h)("path",{d:"M69.6769 27.4588C69.6769 25.0231 71.5725 23.1393 74.0403 23.1393C76.4961 23.1393 78.3917 25.0231 78.3917 27.4588C78.3917 29.8946 76.4961 31.7783 74.0403 31.7783C71.5725 31.7783 69.6769 29.8946 69.6769 27.4588ZM71.036 27.4588C71.036 29.2106 72.3474 30.5545 74.0403 30.5545C75.7332 30.5545 77.0326 29.2106 77.0326 27.4588C77.0326 25.707 75.7332 24.3632 74.0403 24.3632C72.3474 24.3632 71.036 25.707 71.036 27.4588Z",fill:"var(--straumur__color-kortalan-logo-secondary)"}),(0,P.h)("path",{d:"M83.7516 28.3227L85.9929 31.6584H84.4073L82.2256 28.3947H80.8785V31.6584H79.5552V23.2593H83.0125C84.6696 23.2593 85.7783 24.3632 85.7783 25.827C85.7783 27.0629 84.9915 28.0468 83.7516 28.3227ZM83.0125 24.4472H80.8785V27.1829H83.0125C83.847 27.1829 84.4192 26.5829 84.4192 25.815C84.4192 25.0351 83.847 24.4472 83.0125 24.4472Z",fill:"var(--straumur__color-kortalan-logo-secondary)"}),(0,P.h)("path",{d:"M90.4045 31.6584H89.0931V24.4472H86.3988V23.2593H93.0988V24.4472H90.4045V31.6584Z",fill:"var(--straumur__color-kortalan-logo-secondary)"}),(0,P.h)("path",{d:"M100.625 31.6584H99.2185L98.5032 29.6306H94.2472L93.5319 31.6584H92.1847L95.2367 23.2593H97.5734L100.625 31.6584ZM96.3812 23.6433L94.6764 28.4427H98.0741L96.3812 23.6433Z",fill:"var(--straumur__color-kortalan-logo-secondary)"}),(0,P.h)("path",{d:"M106.772 31.6584H101.431V23.2593H102.754V30.4705H106.772V31.6584Z",fill:"var(--straumur__color-kortalan-logo-secondary)"}),(0,P.h)("path",{d:"M111.926 20.8596H113.464L111.592 22.6954H110.174L111.926 20.8596ZM115.562 31.6584H114.156L113.44 29.6306H109.184L108.469 31.6584H107.122L110.174 23.2593H112.51L115.562 31.6584ZM111.318 23.6433L109.613 28.4427H113.011L111.318 23.6433Z",fill:"var(--straumur__color-kortalan-logo-secondary)"}),(0,P.h)("path",{d:"M122.305 31.3944V23.2593H123.617V31.6584H121.053L117.691 23.5233V31.6584H116.368V23.2593H118.931L122.305 31.3944Z",fill:"var(--straumur__color-kortalan-logo-secondary)"}))),(0,P.h)("defs",null,(0,P.h)("clipPath",{id:"straumur__kortalan-logo-clip"},(0,P.h)("rect",{width:"123.555",height:"31.9999",fill:"white"})))),co=Ca;function Pa({configuration:e}){let{i18n:t}=I(),{activePaymentMethod:r,setActivePaymentMethod:o,isObscuredByThreeDS:n,isSolePaymentMethod:a,hasKortalan:s,paymentInProgress:i}=C(),{pay:m,isSubmitting:u}=It(e);return!s||n(ke)?null:a?(0,Re.h)(uo,{configuration:e}):(0,Re.h)(oe,{icon:(0,Re.h)(io,null),title:t.t("kortalan.title"),isActive:r===ke,isSole:a,onChange:()=>o(ke),headerRight:(0,Re.h)("span",{className:"straumur__kortalan-component__logo"},(0,Re.h)(co,null))},(0,Re.h)("button",{className:"straumur__kortalan-component__submit-button",disabled:u||i,onClick:()=>{m()}},t.t("kortalan.payButton")))}var po=Pa;var Qe=require("preact");var y=require("preact");var Z=require("preact/hooks");h(`.straumur__stored-card-component__remove-stored-card-button{margin-left:auto}.straumur__stored-card-component__remove-stored-card-button--text{color:var(--straumur__color-danger-text);text-decoration:none;background:none;border:none;cursor:pointer;transition:all .2s ease}.straumur__stored-card-component__remove-stored-card-button--text:disabled{cursor:not-allowed;color:var(--straumur__color-secondary)}.straumur__stored-card-component__confirm-remove-stored-card{background-color:var(--straumur__color-warning-bg);border-radius:var(--straumur__border-radius-s);max-height:0;overflow:hidden;transition:all .3s ease;opacity:0}.straumur__stored-card-component__confirm-remove-stored-card--expanded{padding:var(--straumur__space-xxlg);max-height:600px;opacity:1}.straumur__stored-card-component__confirm-remove-stored-card--header{display:flex;align-items:center;gap:var(--straumur__space-lg);color:var(--straumur__color-text);padding-bottom:var(--straumur__space-xxlg)}.straumur__stored-card-component__confirm-remove-stored-card--error{margin:0 0 var(--straumur__space-xxlg);color:var(--straumur__color-error-text);font-size:14px}.straumur__stored-card-component__confirm-remove-stored-card--actions--button:disabled{cursor:progress;opacity:.5}.straumur__stored-card-component__confirm-remove-stored-card--actions{display:flex;gap:var(--straumur__space-lg);justify-content:end}.straumur__stored-card-component__confirm-remove-stored-card--actions--button{color:var(--straumur__color-warning-text);background:none;border:none;cursor:pointer;text-decoration:none;font-weight:700}.straumur__stored-card-component__loading-text{display:flex;justify-content:center}.straumur__stored-card-component__form{display:flex;padding-top:var(--straumur__space-xxlg);flex-direction:column;gap:var(--straumur__space-5xlg)}.straumur__stored-card-component__form--wrapper{display:flex;flex-direction:column;justify-items:start;position:relative;width:100%}.straumur__stored-card-component__form--wrapper--error{color:var(--straumur__color-error-text);font-size:12px}.straumur__stored-card-component__form--wrapper--label{transform:translate(10px) translateY(-50%);z-index:1;background:linear-gradient(to top,var(--straumur__color-secondary-gamma) 53%,var(--straumur__color-transparent) 50%);position:absolute;font-weight:500;font-size:14px;padding:0 var(--straumur__space-xxs)}.straumur__stored-card-component__form--wrapper--label--readonly{background:linear-gradient(to top,var(--straumur__color-gray-epsilon) 53%,var(--straumur__color-transparent) 50%)}.straumur__stored-card-component__form--wrapper--label--error{color:var(--straumur__color-error-text);background:linear-gradient(to top,var(--straumur__color-red-gamma) 53%,var(--straumur__color-transparent) 50%);font-size:13px;font-weight:500}.straumur__stored-card-component__form--wrapper--label--info{position:absolute;top:33%;right:var(--straumur__space-md)}.straumur__stored-card-component__form--wrapper--input{background:var(--straumur__color-secondary-gamma);color:var(--straumur__color-text);display:flex;align-items:center;border:1px solid var(--straumur__color-transparent);border-radius:var(--straumur__border-radius-s);font-size:16px;height:48px;outline:none;padding-left:var(--straumur__space-lg);transition:border .2s ease-out,box-shadow .2s ease-out;position:relative}.straumur__stored-card-component__form--wrapper--input--readonly{background-color:var(--straumur__color-gray-epsilon)}.straumur__stored-card-component__form--wrapper--input:hover{border:1px solid var(--straumur__color-cosmos-blue-delta)}.straumur__stored-card-component__form--wrapper--input--readonly:hover{border:1px solid var(--straumur__color-transparent)}.straumur__stored-card-component__form--wrapper--input--error{background:var(--straumur__color-red-gamma);border:1px solid var(--straumur__color-red-beta)}.straumur__stored-card-component__form--wrapper--input--error:hover{border:1px solid var(--straumur__color-red-beta)}.straumur__stored-card-component__form--field-wrapper{display:flex;width:100%;gap:var(--straumur__space-lg)}.straumur__stored-card-component__submit-button{background:var(--straumur__color-primary);border:none;border-radius:var(--straumur__border-radius-s);color:var(--straumur__color-on-primary);cursor:pointer;font-size:16px;height:40px;outline:none;padding:0 var(--straumur__space-xxlg);transition:background .2s ease-out;width:100%}.straumur__stored-card-component__submit-button:hover{background:var(--straumur__color-primary);border:1px solid var(--straumur__color-border)}.straumur__stored-card-component__submit-button:disabled{background:var(--straumur__color-gray-epsilon);color:var(--straumur__color-secondary);border:1px solid var(--straumur__color-border);cursor:not-allowed}
12
+ `);var Et=require("@adyen/adyen-web");var ge=require("preact"),Sa=()=>(0,ge.h)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,ge.h)("g",{"clip-path":"url(#clip0_10650_34968)"},(0,ge.h)("path",{d:"M12.0011 15C12.6245 15 13.1261 14.4984 13.1261 13.875V7.875C13.1261 7.25391 12.6222 6.75 12.0433 6.75C11.4644 6.75 10.8761 7.25625 10.8761 7.875V13.875C10.8761 14.4984 11.3823 15 12.0011 15ZM12.0011 16.5516C11.1873 16.5516 10.5273 17.2116 10.5273 18.0253C10.5292 18.8391 11.1855 19.5 12.0011 19.5C12.8167 19.5 13.4748 18.84 13.4748 18.0262C13.473 17.2125 12.8167 16.5516 12.0011 16.5516Z",fill:"#DFAE00"}),(0,ge.h)("path",{opacity:"0.4",d:"M23.7312 19.5469L13.7328 2.48438C12.9673 1.17188 11.0356 1.17188 10.2649 2.48438L0.271188 19.5469C-0.49803 20.8547 0.460048 22.5 2.00181 22.5H21.9987C23.5343 22.5 24.4953 20.8594 23.7312 19.5469ZM10.8734 7.875C10.8734 7.25391 11.3773 6.75 11.9984 6.75C12.6195 6.75 13.1234 7.25625 13.1234 7.875V13.875C13.1234 14.4961 12.6195 15 12.0406 15C11.4617 15 10.8734 14.4984 10.8734 13.875V7.875ZM11.9984 19.5C11.1846 19.5 10.5246 18.84 10.5246 18.0262C10.5246 17.2125 11.1842 16.5525 11.9984 16.5525C12.8126 16.5525 13.4721 17.2125 13.4721 18.0262C13.4703 18.8391 12.814 19.5 11.9984 19.5Z",fill:"#DFAE00"})),(0,ge.h)("defs",null,(0,ge.h)("clipPath",{id:"clip0_10650_34968"},(0,ge.h)("rect",{width:"24",height:"24",fill:"white"})))),fo=Sa;function xa({configuration:e,paymentMethods:t,storedPaymentMethod:r,onStoredCardRemoved:o}){let n=(0,Z.useRef)(null),a=(0,Z.useRef)(),s=(0,Z.useRef)(0),i=(0,Z.useRef)(),{i18n:m}=I(),[u,c]=(0,Z.useState)(!0),[f,g]=(0,Z.useState)("required"),[x,v]=(0,Z.useState)(!1),[R,k]=(0,Z.useState)(!1),[p,B]=(0,Z.useState)(null),[F,O]=(0,Z.useState)({encryptedSecurityCode:{visible:!1}}),{activePaymentMethod:N,setActivePaymentMethod:G,activeStoredPaymentMethodId:w,setActiveStoredPaymentMethodId:ne,isStoredCardInitialized:z,updateStoredCardInitialization:j,handleSuccess:be,handleError:se,setThreeDSecureActive:ie,threeDSecureActive:K,paymentInProgress:H,setPaymentInProgress:le,tryStartPayment:me,paymentProcessing:Ce,setPaymentProcessing:pe,isSolePaymentMethod:J,registerSubmitHandler:q,unregisterSubmitHandler:fe}=C(),L=J?N==="storedcard":N==="storedcard"&&w===r.id,ee=!!z[r.id],b=te(e.theme);async function $(){await gt(e.paymentFlow,()=>i.current,{tryStart:me,release:()=>le(!1)})}(0,Z.useEffect)(()=>{if(!(L&&z[r.id]&&!K)){e.onCardValidityChanged?.(!1,!1);return}return q($),e.onCardValidityChanged?.(!1,!0),()=>{fe($),e.onCardValidityChanged?.(!1,!1)}},[L,ee,K,q,fe]);let{handleOnSubmit:ue,handleOnSubmitAdditionalData:Ht,handlePaymentCompleted:Lt,handlePaymentFailed:Vt,handleActionHandled:Zt}=Ve({configuration:e,handleSuccess:be,handleError:se,setThreeDSecureActive:ie,setPaymentInProgress:le,setPaymentProcessing:pe,enrichSubmitData:V=>({...V,paymentMethod:{...V.paymentMethod,storedPaymentMethodId:r.id}})}),Ot=Ze(se,"stored card");(0,Z.useEffect)(()=>()=>{s.current+=1,i.current?.remove(),i.current=void 0},[]);let{markBuilt:Nt}=Oe({configuration:e,resolvedTheme:b,ready:!!z[r.id],busy:H||K,reinitialize:()=>{tt(),O({encryptedSecurityCode:{visible:!1,message:void 0}})}});async function tt(){let V=++s.current;Nt();try{await rt(V)}catch(A){if(V!==s.current)return;console.error("[StraumurCheckout] stored card initialization failed:",A),se({key:"error.failedToInitializePaymentMethods"})}}async function rt(V){let A=await(0,Et.AdyenCheckout)({clientKey:t.clientKey,environment:e.environment,locale:e.locale,countryCode:e.countryCode,amount:{value:t.minorUnitsAmount,currency:t.currency},paymentMethodsResponse:t.paymentMethods,onError:Ot,onAdditionalDetails:Ht,onPaymentCompleted:Lt,onPaymentFailed:Vt,onActionHandled:Zt});V===s.current&&(i.current?.remove(),a.current=A,i.current=new Et.CustomCard(A,{brands:[r.brand],styles:St(b),onSubmit:ue,onEnterKeyPressed:()=>{$()},onConfigSuccess(){j(r.id,!0)},onBrand:Ee=>{g(Ee.cvcPolicy)},onValidationError:Ee=>{let Wt={encryptedSecurityCode:{visible:!1,message:void 0}};Ee.filter(We=>We.error).forEach(We=>{Wt[We.fieldType].visible=!0,Wt[We.fieldType].message=We.errorI18n}),O(Wt)},onAllValid:Ee=>{c(!Ee.allValid),e.onCardValidityChanged?.(Ee.allValid,!0)},placeholders:e.placeholders,challengeWindowSize:"05"}),n.current&&i.current.mount(n.current))}if((0,Z.useEffect)(()=>{L&&!z[r.id]&&tt()},[e,L]),(0,Z.useEffect)(()=>{v(!1),B(null)},[N,w]),Ct(n,K&&L),K&&!L)return null;function Ut(){G("storedcard"),ne(r.id)}function Gt(){B(null),v(!0)}function Kt(){B(null),v(!1)}async function ot(){let{disableToken:V}=e.paymentFlow;if(!(!V||R)){k(!0),B(null);try{await V(r.id),o(r.id)}catch(A){B(we(A,"error.failedToSubmitRemoveStoredPaymentCard"))}finally{k(!1)}}}let Ke=r.brand==="amex"?m.t("stored-cards.securityCode4DigitsInfo"):m.t("stored-cards.securityCode3DigitsInfo"),Te=e.paymentFlow.disableToken!==void 0&&L&&z[r.id]?(0,y.h)("div",{className:"straumur__stored-card-component__remove-stored-card-button"},(0,y.h)("button",{onClick:Gt,className:"straumur__stored-card-component__remove-stored-card-button--text",disabled:x||H},m.t("stored-cards.removeStoredCard"))):null,M=(0,y.h)("div",{className:`straumur__stored-card-component__confirm-remove-stored-card ${x?"straumur__stored-card-component__confirm-remove-stored-card--expanded":""}`},(0,y.h)("div",{className:"straumur__stored-card-component__confirm-remove-stored-card--header"},(0,y.h)(fo,null),(0,y.h)("span",{className:"straumur__stored-card-component__confirm-remove-stored-card--header--title"},m.t("stored-cards.removeStoredCardQuestion"))),p&&(0,y.h)("p",{className:"straumur__stored-card-component__confirm-remove-stored-card--error",role:"alert"},"key"in p?m.t(p.key):p.text),(0,y.h)("div",{className:"straumur__stored-card-component__confirm-remove-stored-card--actions"},(0,y.h)("button",{className:"straumur__stored-card-component__confirm-remove-stored-card--actions--button",onClick:ot,disabled:R},m.t("stored-cards.removeStoredCardQuestionYesRemove")),(0,y.h)("button",{className:"straumur__stored-card-component__confirm-remove-stored-card--actions--button",onClick:Kt,disabled:R},m.t("stored-cards.removeStoredCardQuestionCancel"))));return(0,y.h)(oe,{icon:(0,y.h)(_t,{brands:[{brand:r.brand,brandFullName:r.name}],theme:b}),title:`\u2022\u2022\u2022\u2022 ${r.lastFour}`,isActive:L,isSole:J,onChange:Ut,headerRight:Te,confirmSection:M},(0,y.h)("div",{className:"straumur__processing-host"},(0,y.h)("div",{ref:n,tabIndex:-1,style:{height:K?"600px":"auto"}},!z[r.id]&&(0,y.h)("div",{className:"straumur__stored-card-component__loading-text"},(0,y.h)(he,{label:m.t("payment.loading")})),(0,y.h)("div",{className:"straumur__stored-card-component__form",style:{opacity:z[r.id]&&!K?1:0,position:z[r.id]&&!K?"relative":"absolute",transition:"opacity 0.3s ease-in-out"}},(0,y.h)("div",{className:"straumur__stored-card-component__form--field-wrapper"},(0,y.h)("div",{className:"straumur__stored-card-component__form--wrapper"},(0,y.h)("label",{className:"straumur__stored-card-component__form--wrapper--label straumur__stored-card-component__form--wrapper--label--readonly"},m.t("stored-cards.expiryDate")),(0,y.h)("span",{className:"straumur__stored-card-component__form--wrapper--input straumur__stored-card-component__form--wrapper--input--readonly"},r.expiryMonth,"/",r.expiryYear)),(0,y.h)("div",{className:"straumur__stored-card-component__form--wrapper"},(f==="optional"||f==="required")&&(0,y.h)(y.Fragment,null,(0,y.h)("label",{className:`straumur__stored-card-component__form--wrapper--label ${F.encryptedSecurityCode.visible?"straumur__stored-card-component__form--wrapper--label--error":""}`},f==="optional"?m.t("stored-cards.securityCode3DigitsOptional"):m.t("stored-cards.securityCode3Digits")),(0,y.h)("span",{className:`straumur__stored-card-component__form--wrapper--input ${F.encryptedSecurityCode.visible?"straumur__stored-card-component__form--wrapper--input--error":""}`,"data-cse":"encryptedSecurityCode",role:"group","aria-label":f==="optional"?m.t("stored-cards.securityCode3DigitsOptional"):m.t("stored-cards.securityCode3Digits")},(0,y.h)("div",{className:"straumur__stored-card-component__form--wrapper--label--info"},(0,y.h)(Fe,{content:Ke,placement:"top",label:Ke},(0,y.h)(yt,null))))),F.encryptedSecurityCode.visible&&(0,y.h)("span",{className:"straumur__stored-card-component__form--wrapper--error"},F.encryptedSecurityCode.message))),!e.hideSubmitButton&&(0,y.h)("button",{className:"straumur__stored-card-component__submit-button",disabled:u||H,onClick:$},t.minorUnitsAmount===0?m.t("stored-cards.saveCardDetails"):t.formattedAmount))),(0,y.h)(Ne,{visible:Ce&&L})))}var ho=xa;var _o=require("preact/hooks");function wa({configuration:e,paymentMethods:t}){let[r,o]=(0,_o.useState)(t.paymentMethods.storedPaymentMethods??[]),{isObscuredByThreeDS:n,hasStoredPaymentMethods:a}=C();if(!a||n("storedcard"))return null;function s(i){o(m=>m.filter(u=>u.id!==i))}return(0,Qe.h)(Qe.Fragment,null,r?.map(i=>(0,Qe.h)(ho,{key:i.id,configuration:e,storedPaymentMethod:i,paymentMethods:t,onStoredCardRemoved:s})))}var yo=wa;var er=require("preact");h(`.straumur__payment-method-group{display:flex;flex-direction:column;gap:var(--straumur__space-xxlg);width:100%;position:relative}
13
+ `);function Ma({children:e,initialValue:t,initialStoredPaymentMethodId:r,isSolePaymentMethod:o,hasCard:n,hasGooglePay:a,hasApplePay:s,hasKortalan:i,hasStoredPaymentMethods:m,onSubmitApiReady:u}){return(0,er.h)(br,{initialValue:t,initialStoredPaymentMethodId:r,isSolePaymentMethod:o,hasCard:n,hasGooglePay:a,hasApplePay:s,hasKortalan:i,hasStoredPaymentMethods:m,onSubmitApiReady:u},(0,er.h)("div",{className:"straumur__payment-method-group"},e))}var vo=Ma;var X=require("preact");h(`.straumur__result-component{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:var(--straumur__space-5xlg);padding:var(--straumur__space-6xlg);width:100%;min-height:300px;background-color:var(--straumur__color-white);border-radius:var(--straumur__border-radius-xxlg)}
14
+ `);var qe=require("preact");h(`.straumur__result-icon{display:block}.straumur__result-icon__ring,.straumur__result-icon__check,.straumur__result-icon__x,.straumur__result-icon__halo,.straumur__result-icon__cross{transform-box:fill-box;transform-origin:center}.straumur__result-icon__ring{fill:none;stroke-width:5;stroke-linecap:round;stroke-dasharray:100;stroke-dashoffset:100;animation:straumur-result-draw .6s cubic-bezier(.65,0,.35,1) forwards}.straumur__result-icon__halo{opacity:0;animation:straumur-result-halo .9s .45s ease-out}.straumur__result-icon__check{fill:none;stroke-width:7;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:100;stroke-dashoffset:100;animation:straumur-result-draw .4s .55s cubic-bezier(.65,0,.35,1) forwards,straumur-result-pop .45s .9s ease-out}.straumur__result-icon__x{fill:none;stroke-width:7;stroke-linecap:round;stroke-dasharray:100;stroke-dashoffset:100;animation:straumur-result-draw .3s cubic-bezier(.65,0,.35,1) forwards}.straumur__result-icon__x--1{animation-delay:.6s}.straumur__result-icon__x--2{animation-delay:.82s}.straumur__result-icon__cross{animation:straumur-result-shake .4s 1.15s ease-in-out}.straumur__result-icon--success .straumur__result-icon__ring,.straumur__result-icon--success .straumur__result-icon__check{stroke:var(--straumur__color-success)}.straumur__result-icon--success .straumur__result-icon__halo{fill:var(--straumur__color-success)}.straumur__result-icon--failure .straumur__result-icon__ring,.straumur__result-icon--failure .straumur__result-icon__x{stroke:var(--straumur__color-danger-text)}.straumur__result-icon--failure .straumur__result-icon__halo{fill:var(--straumur__color-danger-text)}@keyframes straumur-result-draw{to{stroke-dashoffset:0}}@keyframes straumur-result-pop{0%{transform:scale(1)}45%{transform:scale(1.12)}to{transform:scale(1)}}@keyframes straumur-result-halo{0%{opacity:.35;transform:scale(.55)}to{opacity:0;transform:scale(1.35)}}@keyframes straumur-result-shake{0%,to{transform:translate(0)}25%{transform:translate(-3px)}75%{transform:translate(3px)}}@media(prefers-reduced-motion:reduce){.straumur__result-icon__ring,.straumur__result-icon__check,.straumur__result-icon__x,.straumur__result-icon__halo,.straumur__result-icon__cross{animation:none}.straumur__result-icon__ring,.straumur__result-icon__check,.straumur__result-icon__x{stroke-dashoffset:0}.straumur__result-icon__halo{opacity:0}}
15
+ `);var ka=()=>(0,qe.h)("svg",{className:"straumur__result-icon straumur__result-icon--success",xmlns:"http://www.w3.org/2000/svg",width:"120",height:"120",viewBox:"0 0 120 120",role:"img"},(0,qe.h)("circle",{className:"straumur__result-icon__halo",cx:"60",cy:"60",r:"52"}),(0,qe.h)("circle",{className:"straumur__result-icon__ring",cx:"60",cy:"60",r:"50",pathLength:"100"}),(0,qe.h)("path",{className:"straumur__result-icon__check",d:"M37 62 L53 78 L84 44",pathLength:"100"})),Dt=ka;var Ae=require("preact");var Ra=()=>(0,Ae.h)("svg",{className:"straumur__result-icon straumur__result-icon--failure",xmlns:"http://www.w3.org/2000/svg",width:"120",height:"120",viewBox:"0 0 120 120",role:"img"},(0,Ae.h)("circle",{className:"straumur__result-icon__halo",cx:"60",cy:"60",r:"52"}),(0,Ae.h)("circle",{className:"straumur__result-icon__ring",cx:"60",cy:"60",r:"50",pathLength:"100"}),(0,Ae.h)("g",{className:"straumur__result-icon__cross"},(0,Ae.h)("line",{className:"straumur__result-icon__x straumur__result-icon__x--1",x1:"42",y1:"42",x2:"78",y2:"78",pathLength:"100"}),(0,Ae.h)("line",{className:"straumur__result-icon__x straumur__result-icon__x--2",x1:"78",y1:"42",x2:"42",y2:"78",pathLength:"100"}))),Bt=Ra;function Aa(){let{error:e,success:t}=C(),{i18n:r}=I();if(!e&&!t)return null;let o=n=>"key"in n?r.t(n.key):n.text;return(0,X.h)("div",{className:"straumur__result-component"},e&&(0,X.h)(X.Fragment,null,(0,X.h)("span",{"aria-hidden":"true"},(0,X.h)(Bt,null)),(0,X.h)("p",{className:"straumur__result-component__error--message straumur__result-message",role:"alert"},o(e))),t&&(0,X.h)(X.Fragment,null,(0,X.h)("span",{"aria-hidden":"true"},(0,X.h)(Dt,null)),(0,X.h)("p",{className:"straumur__result-component__success--message straumur__result-message",role:"status"},o(t))))}var go=Aa;var Ie=require("preact"),Ye=require("preact/hooks");h(`.straumur__master-loader{display:flex;align-items:center;justify-content:center;width:100%;min-height:240px}.straumur__methods{display:flex;flex-direction:column;gap:var(--straumur__space-xxlg)}.straumur__methods--loading{position:absolute;top:0;left:0;width:100%;opacity:0;pointer-events:none}
16
+ `);var Ia=4e3;function Ta({children:e}){let{error:t,success:r,hasGooglePay:o,hasApplePay:n,isPaymentMethodInitialized:a,isStoredCardInitialized:s,activePaymentMethod:i,activeStoredPaymentMethodId:m}=C(),{i18n:u}=I(),[c,f]=(0,Ye.useState)(!1),g=(!o||a.googlepay)&&(!n||a.applepay),x=!0;i==="card"?x=a.card:i==="storedcard"&&(x=m?!!s[m]:!0);let v=g&&x;return(0,Ye.useEffect)(()=>{v&&f(!0)},[v]),(0,Ye.useEffect)(()=>{let R=setTimeout(()=>f(!0),Ia);return()=>clearTimeout(R)},[]),t||r?null:(0,Ie.h)(Ie.Fragment,null,!c&&(0,Ie.h)("div",{className:"straumur__master-loader"},(0,Ie.h)(he,{label:u.t("payment.loading")})),(0,Ie.h)("div",{className:`straumur__methods${c?"":" straumur__methods--loading"}`},e))}var bo=Ta;var et=require("preact"),Co=require("preact/hooks");h(`.instant-payments{display:grid;gap:var(--straumur__space-lg);grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.instant-payments--single{grid-template-columns:1fr}.instant-payments__full{grid-column:1 / -1}@container straumur (max-width: 499px){.instant-payments{grid-template-columns:1fr}}
17
+ `);var Ea=["googlepay","applepay"];function Da({configuration:e,paymentMethods:t}){let{hasGooglePay:r,hasApplePay:o,threeDSecureActive:n}=C(),[a,s]=(0,Co.useState)(new Set),i=v=>{s(R=>new Set(R).add(v))};if(!e.instantPayments)return null;let m=v=>v==="googlepay"?r:o,u=new Set,c=e.instantPayments.filter(v=>u.has(v)||!Ea.includes(v)?!1:(u.add(v),m(v))),f=c.filter(v=>!a.has(v));if(c.length===0)return null;let g=f.length>1&&!n,x=g&&f.length%2===1;return(0,et.h)("div",{className:`straumur__instant-payments instant-payments ${g?"straumur__instant-payments--multiple instant-payments--multiple":"straumur__instant-payments--single instant-payments--single"}`,style:{display:f.length===0?"none":void 0}},f.map((v,R)=>{let k=x&&R===f.length-1;return(0,et.h)("div",{key:v,className:k?"straumur__instant-payments__full instant-payments__full":""},v==="googlepay"&&(0,et.h)(Mt,{configuration:e,paymentMethods:t,isInstantPayment:!0,onUnavailable:()=>i("googlepay")}),v==="applepay"&&(0,et.h)(Rt,{configuration:e,paymentMethods:t,isInstantPayment:!0,onUnavailable:()=>i("applepay")}))}))}var Po=Da;var tr=["instantpayments","kortalan","storedcard","card","googlepay","applepay"],Ba=new Set(tr);function So(e){if(!e)return[...tr];let t=new Set,r=[];for(let o of e)Ba.has(o)&&!t.has(o)&&(t.add(o),r.push(o));for(let o of tr)t.has(o)||r.push(o);return r}function za(e,t,r,o,n,a,s){let i=t&&!a?.some(f=>f==="googlepay"),m=r&&!a?.some(f=>f==="applepay"),u=o;return n+(e?1:0)+(i?1:0)+(m?1:0)+(u?1:0)===1?n===1?{initialPaymentMethod:"storedcard",isSolePaymentMethod:!0}:e?{initialPaymentMethod:"card",isSolePaymentMethod:!0}:i?{initialPaymentMethod:"googlepay",isSolePaymentMethod:!0}:m?{initialPaymentMethod:"applepay",isSolePaymentMethod:!0}:u?{initialPaymentMethod:"kortalan",isSolePaymentMethod:!0}:{initialPaymentMethod:null,isSolePaymentMethod:!1}:s==="card"&&e?{initialPaymentMethod:"card",isSolePaymentMethod:!1}:s==="googlepay"&&i?{initialPaymentMethod:"googlepay",isSolePaymentMethod:!1}:s==="applepay"&&m?{initialPaymentMethod:"applepay",isSolePaymentMethod:!1}:s==="firstStoredCard"&&n>0?{initialPaymentMethod:"storedcard",isSolePaymentMethod:!1}:{initialPaymentMethod:null,isSolePaymentMethod:!1}}function Fa({configuration:e,paymentMethods:t,onSubmitApiReady:r}){let o=t.paymentMethods.paymentMethods??[],n=t.paymentMethods.storedPaymentMethods??[],a=p=>!e.allowedPaymentMethods||e.allowedPaymentMethods.includes(p),s=o.some(p=>p.type==="scheme")&&a("card"),i=o.some(p=>p.type==="googlepay")&&a("googlepay"),m=o.some(p=>p.type==="applepay")&&a("applepay"),u=o.some(p=>p.type==="kortalan")&&a("kortalan"),c=a("storedcard")?n.length:0,f=c>0,{initialPaymentMethod:g,isSolePaymentMethod:x}=za(s,i,m,u,c,e.instantPayments,e.openDefaultPaymentMethod),v=g==="storedcard"&&!x?n[0]?.id??null:null,R={instantpayments:(0,ae.h)(Po,{key:"instantpayments",configuration:e,paymentMethods:t}),storedcard:(0,ae.h)(yo,{key:"storedcard",configuration:e,paymentMethods:t}),card:(0,ae.h)(Xr,{key:"card",configuration:e,paymentMethods:t}),kortalan:(0,ae.h)(po,{key:"kortalan",configuration:e,paymentMethods:t}),googlepay:(0,ae.h)(ro,{key:"googlepay",configuration:e,paymentMethods:t}),applepay:(0,ae.h)(so,{key:"applepay",configuration:e,paymentMethods:t})},k=So(e.orderPaymentMethods);return(0,ae.h)(vo,{initialValue:g,initialStoredPaymentMethodId:v,isSolePaymentMethod:x,hasCard:s,hasGooglePay:i,hasApplePay:m,hasKortalan:u,hasStoredPaymentMethods:f,onSubmitApiReady:r},(0,ae.h)(bo,null,k.map(p=>R[p])),(0,ae.h)(go,null))}var xo=Fa;var zt=class{constructor(t,r){this.language=t;this.customLocalizations=r}language;customLocalizations;t(t){return this.customLocalizations?.[this.language]?.[t]||st[this.language][t]||t}setLanguage(t){this.language=t}updateCustomLocalizations(t){this.customLocalizations=t}};var Y=require("preact");function Ft({children:e,theme:t="light"}){let r=te(t);return(0,Y.h)("div",{className:"straumur__root-component","data-theme":r},e)}function rr({theme:e,label:t}){return(0,Y.h)(Ft,{theme:e},(0,Y.h)("div",{className:"straumur__component"},(0,Y.h)(he,{label:t})))}function wo({variant:e,message:t,i18n:r,theme:o}){return(0,Y.h)(Ft,{theme:o},(0,Y.h)("div",{className:"straumur__component"},(0,Y.h)("span",{"aria-hidden":"true"},e==="success"?(0,Y.h)(Dt,null):(0,Y.h)(Bt,null)),(0,Y.h)("p",{className:"straumur__result-message",role:e==="success"?"status":"alert"},"key"in t?r.t(t.key):t.text)))}function Mo(e,t){return{resultCode:"Success",clientKey:e.clientKey,paymentMethods:e.paymentMethods,minorUnitsAmount:e.amount.value,currency:e.amount.currency,amount:e.amount.value/100,formattedAmount:e.formattedAmount,merchantName:e.merchantName,enableStoreDetails:e.enableStoreDetails,locale:t}}var Ha="IS";function La(e){return typeof e.sessionId=="string"&&e.sessionId.length>0}function or(e){return typeof e=="object"?{theme:e.mode??"light",googlePayButtonTheme:e.googlePayButtonTheme,applePayButtonTheme:e.applePayButtonTheme}:{theme:e??"light"}}function Va(e){return typeof e.clientKey=="string"&&e.clientKey.length>0&&typeof e.countryCode=="string"&&e.countryCode.length>0&&typeof e.paymentMethods=="object"&&e.paymentMethods!==null&&typeof e.amount=="object"&&e.amount!==null&&typeof e.amount.value=="number"&&typeof e.amount.currency=="string"&&typeof e.onSubmit=="function"&&typeof e.onAdditionalDetails=="function"}function ko(e){let t=e,r=it(t.locale),o=La(t),n=or(t.theme),a={mode:o?"session":"advanced",sessionId:t.sessionId,environment:t.environment,countryCode:o?Ha:t.countryCode,paymentFlow:o?Ur(t.environment,t.sessionId):Gr(t),onPaymentCompleted:t.onPaymentCompleted,onPaymentFailed:t.onPaymentFailed,placeholders:t.placeholders,locale:r,customLocalizations:lt(t.localizations),instantPayments:t.instantPayments,hideSubmitButton:t.hideSubmitButton,onCardValidityChanged:t.onCardValidityChanged,allowedPaymentMethods:t.allowedPaymentMethods,orderPaymentMethods:t.orderPaymentMethods,openDefaultPaymentMethod:t.openDefaultPaymentMethod,theme:n.theme,googlePayButtonTheme:n.googlePayButtonTheme,applePayButtonTheme:n.applePayButtonTheme};return o?{configuration:a,paymentMethods:null,initializationFailed:!1}:Va(t)?{configuration:a,paymentMethods:Mo(t,r),initializationFailed:!1}:{configuration:a,paymentMethods:null,initializationFailed:!0}}var Za=["sessionId","environment","countryCode","mode","paymentFlow"],ar=class{configuration;paymentMethods=null;mountElement=null;i18n;submitApi=null;initializationFailed=!1;resultScreen=null;constructor(t){let r=ko(t);this.configuration=r.configuration,this.paymentMethods=r.paymentMethods,this.initializationFailed=r.initializationFailed,this.i18n=new zt(this.configuration.locale,this.configuration.customLocalizations)}async mount(t){Jt();try{if(this.mountElement=typeof t=="string"?document.querySelector(t):t,this.resultScreen=null,!this.mountElement)return;if(this.initializationFailed){this.handleError({key:"error.failedToInitializeStraumurWebComponent"});return}if(this.configuration.mode==="advanced"){this.renderComponent();return}(0,Q.render)((0,Q.h)(rr,{theme:this.configuration.theme,label:this.i18n.t("payment.loading")}),this.mountElement);let r=await _r(this.configuration.environment,this.configuration.sessionId);if(r.resultCode==="Error"){this.handleError({key:r.error});return}this.paymentMethods=r,this.renderComponent()}catch(r){console.error("[StraumurCheckout] mount() failed:",r),this.handleError({key:"error.failedToInitializePaymentMethods"})}}renderComponent(){!this.mountElement||!this.paymentMethods||(0,Q.render)((0,Q.h)(Ft,{theme:this.configuration.theme},(0,Q.h)(wr,{i18nService:this.i18n},(0,Q.h)(xo,{configuration:this.configuration,paymentMethods:this.paymentMethods,onSubmitApiReady:t=>{this.submitApi=t}}))),this.mountElement)}handleSuccess(t){this.showResultScreen("success",t)}handleError(t){this.showResultScreen("failure",t)}showResultScreen(t,r){this.mountElement&&(this.resultScreen={variant:t,message:r},(0,Q.render)((0,Q.h)(wo,{variant:t,message:r,i18n:this.i18n,theme:this.configuration.theme}),this.mountElement))}async submitDetails(t,r,o){Jt();try{if(o&&(this.mountElement=typeof o=="string"?document.querySelector(o):o),this.initializationFailed){this.handleError({key:"error.failedToInitializeStraumurWebComponent"});return}this.mountElement&&(0,Q.render)((0,Q.h)(rr,{theme:this.configuration.theme,label:this.i18n.t("payment.loading")}),this.mountElement);let{resultCode:n,errorMessage:a}=await this.configuration.paymentFlow.submitAdditionalDetails({paymentCheckoutReference:r,details:{redirectResult:t}});Le(n,{configuration:this.configuration,handleSuccess:s=>this.handleSuccess(s),handleError:s=>this.handleError(s),failureMessage:a})}catch(n){console.error("[StraumurCheckout] submitDetails() failed:",n),this.handleError({key:"error.failedToSubmitPaymentDetails"}),this.configuration.onPaymentFailed?.({resultCode:"Error"})}}updateConfig(t){let{locale:r,localizations:o,customLocalizations:n,theme:a,...s}=t,i=s;for(let u of Za)u in i&&(console.warn(`[StraumurCheckout] updateConfig: "${u}" cannot change after construction; ignored.`),delete i[u]);let m=lt(o??n);this.configuration={...this.configuration,...s,...a!==void 0?or(a):{},...s.googlePayButtonTheme?{googlePayButtonTheme:s.googlePayButtonTheme}:{},...s.applePayButtonTheme?{applePayButtonTheme:s.applePayButtonTheme}:{},...r?{locale:it(r)}:{},...m?{customLocalizations:m}:{}},r&&this.i18n.setLanguage(this.configuration.locale),m&&this.i18n.updateCustomLocalizations(m),this.resultScreen?this.showResultScreen(this.resultScreen.variant,this.resultScreen.message):this.renderComponent()}setLanguage(t){this.updateConfig({locale:t})}destroy(){this.mountElement&&((0,Q.render)(null,this.mountElement),this.mountElement=null),this.resultScreen=null,this.submitApi=null}submitCard(){if(!this.mountElement)return console.warn("[StraumurCheckout] submitCard() called before the component was mounted."),!1;if(!this.submitApi)return console.warn("[StraumurCheckout] submitCard() called but the component is not ready yet."),!1;let t=this.submitApi.triggerSubmit();return t||console.warn("[StraumurCheckout] submitCard() called but no card-type payment method is currently active and initialized."),t}},Ro=ar;0&&(module.exports={StraumurCheckout});
13
18
  //# sourceMappingURL=index.cjs.map