@primer-io/checkout-web 2.2.1 → 2.2.2
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/Checkout.css +1 -1
- package/dist/loader.js +1 -1
- package/package.json +2 -2
package/dist/Checkout.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
@-webkit-keyframes PrimerCheckout__loadingSpinner{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes PrimerCheckout__loadingSpinner{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@-webkit-keyframes blink{0%,100%{opacity:1}50%{opacity:.5}}@keyframes blink{0%,100%{opacity:1}50%{opacity:.5}}@-webkit-keyframes rotate{100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes rotate{100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@-webkit-keyframes dash{0%{stroke-dasharray:1,150;stroke-dashoffset:0}100%{stroke-dasharray:90,150;stroke-dashoffset:-35}100%{stroke-dasharray:90,150;stroke-dashoffset:-124}}@keyframes dash{0%{stroke-dasharray:1,150;stroke-dashoffset:0}100%{stroke-dasharray:90,150;stroke-dashoffset:-35}100%{stroke-dasharray:90,150;stroke-dashoffset:-124}}.PrimerCheckout__title{padding:0;margin:0;font-size:1.15rem;color:#262626;font-weight:500}.PrimerCheckout__sceneElement{-webkit-flex:0 0 auto;flex:0 0 auto}.PrimerCheckout__sceneElement:not(:last-child){margin-bottom:32px}.PrimerCheckout__divider{display:-webkit-flex;display:flex;-webkit-flex-direction:row;flex-direction:row;-webkit-align-items:center;align-items:center;transition:all cubic-bezier(0.4, 0, 0.2, 1) 300ms}.PrimerCheckout__divider>.PrimerCheckout__label{display:inline-block;margin:0px 10px}.PrimerCheckout__divider>.PrimerCheckout__dividerLineSegment{background-color:#e0e0e0;-webkit-flex:1 1 auto;flex:1 1 auto;height:1px}.PrimerCheckout__divider--hidden{-webkit-transform:translateY(-20px);transform:translateY(-20px);opacity:0}.PrimerCheckout__textDivider{display:-webkit-flex;display:flex;-webkit-align-items:center;align-items:center;text-align:center}.PrimerCheckout__textDivider::before,.PrimerCheckout__textDivider::after{display:block;content:"";-webkit-flex:1;flex:1;height:1px;background:#e0e0e0;min-width:16px}.PrimerCheckout__textDivider::before{margin-right:8px}@media(max-width: 600px){.PrimerCheckout__textDivider::before{margin-right:2px}}.PrimerCheckout__textDivider::after{margin-left:8px}@media(max-width: 600px){.PrimerCheckout__textDivider::after{margin-left:2px}}.PrimerCheckout__apmButton{position:relative;display:-webkit-flex;display:flex;-webkit-align-items:center;align-items:center;-webkit-justify-content:center;justify-content:center;overflow:hidden;transition:opacity 300ms cubic-bezier(0.4, 0, 0.2, 1)}.PrimerCheckout__apmButton button{cursor:pointer;height:100%;width:100%;border:none;background:none}.PrimerCheckout__apmButton:focus-within{outline:2px solid #3447f4;outline-offset:2px}.PrimerCheckout__apmButton:not(:first-of-type){margin-top:8px}.PrimerCheckout__apmButton>.paypal-buttons{transition:none !important}.PrimerCheckout__apmButton>.gpay-card-info-container.long,.PrimerCheckout__apmButton>.gpay-button.long{width:100%}.PrimerCheckout__apmButton--logo{border-width:1px;border-style:solid}.PrimerCheckout__apmButton--logo:hover{opacity:.8}.PrimerCheckout__apmButton--logo img{max-height:calc(100% - 8px);max-width:calc(100% - 8px)}.PrimerCheckout__separator{margin:32px 0px;height:1px;background:#e0e0e0}.PrimerCheckout__emptyText{-webkit-transform:translateY(0px);transform:translateY(0px);opacity:1;transition:all cubic-bezier(0.4, 0, 0.2, 1) 300ms}.PrimerCheckout__emptyText.PrimerCheckout--exit{-webkit-transform:transalteY(-20px);transform:transalteY(-20px);opacity:0}.PrimerCheckout__cardTypes{width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;display:-webkit-flex;display:flex}.PrimerCheckout__hostedInputContent{display:-webkit-flex;display:flex;-webkit-flex-direction:row;flex-direction:row;position:absolute;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);overflow:hidden;pointer-events:none;right:12px;height:100%;padding:11px 0px;-webkit-align-items:center;align-items:center}.PrimerCheckout__cardType{position:relative;width:24px;height:100%;transition:all 300ms cubic-bezier(0.4, 0, 0.2, 1),opacity 300ms cubic-bezier(0.4, 0, 0.2, 1)}.PrimerCheckout__cardType>*{width:100%;height:100%;-o-object-fit:contain;object-fit:contain;-o-object-position:center;object-position:center}.PrimerCheckout__cardType.PrimerCheckout--hidden{display:inline-block !important;width:0px;margin-right:0px;opacity:0}.PrimerCheckout__cardType.PrimerCheckout--error::after{content:"";position:absolute;right:-4px;top:-4px;width:8px;height:8px;border-radius:50%;background-color:#ea4335}.PrimerCheckout__form{display:-webkit-flex;display:flex;-webkit-flex-direction:column;flex-direction:column}.PrimerCheckout__formHeader{display:-webkit-flex;display:flex;-webkit-flex-direction:row;flex-direction:row;-webkit-justify-content:space-between;justify-content:space-between;-webkit-align-items:center;align-items:center;margin-bottom:32px}.PrimerCheckout__formField{position:relative;-webkit-flex:0;flex:0}.PrimerCheckout__formField.PrimerCheckout__formField--dual{display:-webkit-flex;display:flex;-webkit-flex-direction:row;flex-direction:row;-webkit-justify-content:space-between;justify-content:space-between;-webkit-align-items:baseline;align-items:baseline}.PrimerCheckout__formField.PrimerCheckout__formField--dual>.PrimerCheckout__formField{-webkit-flex:0 1 calc(50% - 8px);flex:0 1 calc(50% - 8px)}.PrimerCheckout__formField.PrimerCheckout__formField--dual>.PrimerCheckout__formField{margin-top:0px}@media(max-width: 600px){.PrimerCheckout__formField.PrimerCheckout__formField--dual{display:-webkit-flex;display:flex;-webkit-flex-direction:column;flex-direction:column;-webkit-align-items:initial;align-items:initial}.PrimerCheckout__formField.PrimerCheckout__formField--dual>.PrimerCheckout__formField{-webkit-flex:unset;flex:unset}.PrimerCheckout__formField.PrimerCheckout__formField--dual>.PrimerCheckout__formField+.PrimerCheckout__formField{margin-top:inherit}}.PrimerCheckout__formField.PrimerCheckout__formField--orientation-horizontal{display:-webkit-flex;display:flex;-webkit-flex-direction:row;flex-direction:row;-webkit-align-items:center;align-items:center}.PrimerCheckout__formField>.PrimerCheckout__label{display:inline-block;margin-left:1px}.PrimerCheckout__formField .PrimerCheckout__checkbox+.PrimerCheckout__label{cursor:pointer;margin-left:8px}.PrimerCheckout__helperText{position:relative;z-index:0;transition:all cubic-bezier(0.4, 0, 0.2, 1) 300ms;-webkit-transform:translateY(-20px);transform:translateY(-20px);opacity:0}.PrimerCheckout__helperText.PrimerCheckout--enter{-webkit-transform:translateY(-20px);transform:translateY(-20px);opacity:0;margin-top:0px;-webkit-animation:none;animation:none}.PrimerCheckout__helperText.PrimerCheckout--entering{-webkit-transform:translateY(0px);transform:translateY(0px);opacity:1}.PrimerCheckout__helperText.PrimerCheckout--entered{opacity:1;-webkit-transform:translateY(0px);transform:translateY(0px)}.PrimerCheckout__helperText.PrimerCheckout--exit{opacity:1;-webkit-animation:none;animation:none}.PrimerCheckout__helperText.PrimerCheckout--exiting{opacity:0;-webkit-transform:translateY(-20px);transform:translateY(-20px)}.PrimerCheckout__formFieldTitle{display:-webkit-flex;display:flex;-webkit-align-items:center;align-items:center}.PrimerCheckout__checkbox{-webkit-appearance:none;font-size:1rem;cursor:pointer;margin:0px;padding:8px;display:inline-block;position:relative;color:#fff;border-radius:4px;border:1px solid #bdbdbd}.PrimerCheckout__checkbox:checked{color:#fff;background-color:#3447f4;border-color:#3447f4}.PrimerCheckout__checkbox::after{content:"✓";font-size:16px;position:absolute;top:50%;left:55%;-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%)}#primer-checkout-vault-methods{opacity:1;-webkit-transform-origin:top center;transform-origin:top center;-webkit-transform:translateY(0px);transform:translateY(0px);transition:all 500ms cubic-bezier(0.4, 0, 0.2, 1)}#primer-checkout-vault-methods.PrimerCheckout--exit{opacity:0;-webkit-transform:translateY(-100px);transform:translateY(-100px)}.PrimerCheckout__dropDownMenuContainer{position:absolute;z-index:1;right:0px;top:calc(28px + 4px);min-width:300px}.PrimerCheckout__dropDownMenu{border:1px solid #e0e0e0;border-radius:2px;display:-webkit-flex;display:flex;-webkit-flex-direction:column;flex-direction:column;position:absolute;z-index:1000;top:0px;right:0px;width:100%;background-color:#fff;box-shadow:0px 1px 10px rgba(0,0,0,.1),0px 0px 20px rgba(52,71,244,.1);opacity:0;-webkit-transform-origin:top center;transform-origin:top center;-webkit-transform:translateY(-10px) scaleY(0.9);transform:translateY(-10px) scaleY(0.9);transition:all cubic-bezier(0.4, 0, 0.2, 1) 300ms;pointer-events:none}.PrimerCheckout__dropDownMenu>.PrimerCheckout__label{padding:12px 12px 6px}.PrimerCheckout__dropDownMenu--enter{pointer-events:all;opacity:1;-webkit-transform:translateY(0px) scaleY(1);transform:translateY(0px) scaleY(1)}.PrimerCheckout__dropDownMenuItem{transition:background-color 100ms ease;padding:6px 12px}.PrimerCheckout__dropDownMenuItem:hover,.PrimerCheckout__dropDownMenuItem:focus{background-color:#eaf1ff}.PrimerCheckout__dropDownMenuItem>.PrimerCheckout__label{white-space:nowrap;color:#3447f4}.PrimerCheckout__paymentMethodDropDownMenuItem{margin:0px 16px;transition:all cubic-bezier(0.4, 0, 0.2, 1) 300ms}.PrimerCheckout__paymentMethodDropDownMenuItem:not(:last-child){border-bottom:1px solid #e0e0e0}.PrimerCheckout__paymentMethodDropDownMenuItem--disabled{pointer-events:none;opacity:.3}.PrimerCheckout__paymentMethodDropDownMenuItem__content{display:-webkit-flex;display:flex;-webkit-flex-direction:row;flex-direction:row;-webkit-align-items:center;align-items:center;padding:16px 0px}.PrimerCheckout__paymentMethodDropDownMenuItem__icon{width:30px;margin-right:8px}.PrimerCheckout__paymentMethodDropDownMenuItem__label.PrimerCheckout__label{min-width:0;margin-right:8px;font-size:.75rem;word-break:break-all}.PrimerCheckout__paymentMethodDropDownMenuItem__buttons{margin-left:auto}.PrimerCheckout__paymentMethodDropDownMenuItem__buttons>button{font-size:.75rem}.PrimerCheckout__paymentMethodDropDownMenuItem__confirmationContainer{pointer-events:none;position:relative;height:0;padding-bottom:0px;opacity:0;-webkit-transform:translateY(-20px);transform:translateY(-20px);transition:all cubic-bezier(0.4, 0, 0.2, 1) 300ms,opacity cubic-bezier(0.4, 0, 0.2, 1) 200ms}.PrimerCheckout__paymentMethodDropDownMenuItem__confirmationContainer--enter{pointer-events:all;-webkit-transform:translateY(0px);transform:translateY(0px);height:calc(40px + 16px);opacity:1;padding-bottom:16px}.PrimerCheckout__deleteButton{display:block;width:100%;padding:0;margin:0;border:none;background:none;cursor:pointer;font-family:inherit;outline-offset:2px;outline-color:#3447f4}.PrimerCheckout__deleteButton:disabled{cursor:auto}.PrimerCheckout__deleteConfirmation{height:30px}.PrimerCheckout__confirmButton{display:block;width:100%;padding:0;margin:0;border:none;background:none;cursor:pointer;font-family:inherit;outline-offset:2px;outline-color:#3447f4;display:grid;width:100%;place-items:center;height:40px;border:1px solid #3447f4;border-radius:4px;text-align:center;color:#3447f4;font-size:.875rem}.PrimerCheckout__confirmButton:disabled{cursor:auto}.PrimerCheckout__savedPaymentMethods{display:-webkit-flex;display:flex;-webkit-flex-direction:column;flex-direction:column}.PrimerCheckout__savedPaymentMethods__title{display:-webkit-flex;display:flex;-webkit-flex-direction:row;flex-direction:row;-webkit-align-items:center;align-items:center;margin-bottom:15px}.PrimerCheckout__savedPaymentMethodActions{margin-left:auto;font-size:.75rem}button.PrimerCheckout__klarnaButton{display:block;width:100%;padding:0;margin:0;border:none;background:none;cursor:pointer;font-family:inherit;outline-offset:2px;outline-color:#3447f4;border:1px solid #e0e0e0;border-radius:2px;display:-webkit-inline-flex;display:inline-flex;place-content:center;-webkit-align-items:center;align-items:center;cursor:pointer;width:100%;height:100%;background-color:#ffb3c7;border-radius:4px}button.PrimerCheckout__klarnaButton:disabled{cursor:auto}button.PrimerCheckout__klarnaButton:enabled:hover{opacity:.7}button.PrimerCheckout__klarnaButton>img{margin-right:20px}button.PrimerCheckout__klarnaButton>span{font-weight:600}button.PrimerCheckout__klarnaButton:disabled{color:inherit}.PrimerCheckout__klarnaPaymentOptions{width:100%;position:relative;overflow:hidden;transition:height 200ms ease-in-out;padding:0px 64px}.PrimerCheckout__klarnaPaymentCategory{display:block;width:100%;padding:0;margin:0;border:none;background:none;cursor:pointer;font-family:inherit;outline-offset:2px;outline-color:#3447f4;border:1px solid #e0e0e0;border-radius:2px;display:grid;grid-auto-flow:column;place-content:center;-webkit-align-items:center;align-items:center;padding:8px 0px}.PrimerCheckout__klarnaPaymentCategory:disabled{cursor:auto}.PrimerCheckout__klarnaPaymentCategory>img{margin-right:12px}.PrimerCheckout__klarnaPaymentCategory:first-child{margin-top:20px}.PrimerCheckout__klarnaPaymentCategory+.PrimerCheckout__klarnaPaymentCategory{margin-top:12px}.PrimerCheckout__klarnaPaymentOptionButton{display:block;width:100%;padding:0;margin:0;border:none;background:none;cursor:pointer;font-family:inherit;outline-offset:2px;outline-color:#3447f4;padding:6px 12px;width:100%;display:-webkit-flex;display:flex;-webkit-align-items:center;align-items:center}.PrimerCheckout__klarnaPaymentOptionButton:disabled{cursor:auto}.PrimerCheckout__klarnaPaymentOptionButton>img{margin-right:12px}.PrimerCheckout__processingIndicatorOverlay{pointer-events:none;position:absolute;top:0px;left:0px;right:0px;bottom:0px;z-index:100;display:grid;place-items:center;transition:opacity 300ms linear,-webkit-transform 500ms cubic-bezier(0.4, 0, 0.2, 1);transition:transform 500ms cubic-bezier(0.4, 0, 0.2, 1),opacity 300ms linear;transition:transform 500ms cubic-bezier(0.4, 0, 0.2, 1),opacity 300ms linear,-webkit-transform 500ms cubic-bezier(0.4, 0, 0.2, 1);opacity:0;-webkit-transform:translateY(50px);transform:translateY(50px)}.PrimerCheckout__processingIndicatorOverlay.PrimerCheckout--entering,.PrimerCheckout__processingIndicatorOverlay.PrimerCheckout--entered{opacity:1;-webkit-transform:translateY(0px);transform:translateY(0px)}.PrimerCheckout__processingIndicatorContainer{padding:32px}.PrimerCheckout__check{padding:0px 16px;-webkit-align-items:center;align-items:center;-webkit-justify-content:center;justify-content:center;text-align:center;min-height:18rem}.PrimerCheckout__checkMarkIcon{width:3rem;padding-bottom:20px}#primer-checkout-scene-credit-card-form{padding-bottom:32px}.PrimerCheckout__creditCardButton_icon{height:81%}.PrimerCheckout__surcharge{text-align:right;background:#242a2f08;padding-top:2px;padding:5px;border-radius:5px}.PrimerCheckout__surcharge>.PrimerCheckout__label--surcharge-text{font-size:15px !important;font-weight:300}.PrimerCheckout__surcharge>.PrimerCheckout__label--surcharge-amount{font-size:15px !important;font-weight:300}.PrimerCheckout__surchargeItem{margin-top:15px}.PrimerCheckout{box-sizing:border-box;background-color:transparent;position:relative;display:-webkit-flex;display:flex;-webkit-flex-direction:column;flex-direction:column}.PrimerCheckout *[hidden=true]{display:none}.PrimerCheckout dialog{margin:0;padding:0}.PrimerCheckout input{outline-color:#3447f4}.PrimerCheckout div{box-sizing:border-box}.PrimerCheckout--hidden{display:none !important}.PrimerCheckout--exited{display:none}.PrimerCheckout--centered{text-align:center}.PrimerCheckout__scene{display:-webkit-flex;display:flex;-webkit-flex-direction:column;flex-direction:column;position:relative;left:0;top:0;opacity:1}.PrimerCheckout__modalBody{display:grid;place-content:center;background-color:#fff;border-radius:3px;position:relative;box-shadow:1px 1px 5px 3px rgba(0,0,0,.05);overflow:hidden}.PrimerCheckout__modalBody>iframe{position:absolute;left:0px;top:0px;right:0px;bottom:0px;width:100%;height:100%}.PrimerCheckout__scene--3dsModal{position:fixed;top:0px;left:0px;right:0px;bottom:0px;z-index:101;width:100%;height:100% !important;display:grid;place-content:center;background-color:rgba(0,0,0,.2);transition:all 500ms cubic-bezier(0.4, 0, 0.2, 1);opacity:0}.PrimerCheckout__scene--3dsModal>.PrimerCheckout__modalBody{transition:all 500ms cubic-bezier(0.4, 0, 0.2, 1);opacity:0;-webkit-transform:translateY(100vh);transform:translateY(100vh)}.PrimerCheckout__scene--3dsModal.PrimerCheckout--enter{opacity:1}.PrimerCheckout__scene--3dsModal.PrimerCheckout--enter>.PrimerCheckout__modalBody{opacity:1;-webkit-transform:translateY(0vh);transform:translateY(0vh)}#primer-checkout-scene-vault{padding-bottom:32px}#primer-checkout-other-payment-methods{height:0px;width:0px;opacity:0;transition:all 500ms cubic-bezier(0.4, 0, 0.2, 1);visibility:hidden}#primer-checkout-other-payment-methods>*:last-child{height:32px}#primer-checkout-other-payment-methods.PrimerCheckout--entering,#primer-checkout-other-payment-methods.PrimerCheckout--entered{width:auto;opacity:1;visibility:visible}#primer-checkout-payment-method-divider{opacity:1;transition:all 500ms cubic-bezier(0.4, 0, 0.2, 1)}#primer-checkout-payment-method-divider.PrimerCheckout--exit{opacity:0;height:0px;margin-bottom:0px}
|
|
1
|
+
@-webkit-keyframes PrimerCheckout__loadingSpinner{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes PrimerCheckout__loadingSpinner{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@-webkit-keyframes blink{0%,100%{opacity:1}50%{opacity:.5}}@keyframes blink{0%,100%{opacity:1}50%{opacity:.5}}@-webkit-keyframes rotate{100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes rotate{100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@-webkit-keyframes dash{0%{stroke-dasharray:1,150;stroke-dashoffset:0}100%{stroke-dasharray:90,150;stroke-dashoffset:-35}100%{stroke-dasharray:90,150;stroke-dashoffset:-124}}@keyframes dash{0%{stroke-dasharray:1,150;stroke-dashoffset:0}100%{stroke-dasharray:90,150;stroke-dashoffset:-35}100%{stroke-dasharray:90,150;stroke-dashoffset:-124}}.PrimerCheckout__title{padding:0;margin:0;font-size:1.15rem;color:#262626;font-weight:500}.PrimerCheckout__sceneElement{-webkit-flex:0 0 auto;flex:0 0 auto}.PrimerCheckout__sceneElement:not(:last-child){margin-bottom:32px}.PrimerCheckout__divider{display:-webkit-flex;display:flex;-webkit-flex-direction:row;flex-direction:row;-webkit-align-items:center;align-items:center;transition:all cubic-bezier(0.4, 0, 0.2, 1) 300ms}.PrimerCheckout__divider>.PrimerCheckout__label{display:inline-block;margin:0px 10px}.PrimerCheckout__divider>.PrimerCheckout__dividerLineSegment{background-color:#e0e0e0;-webkit-flex:1 1 auto;flex:1 1 auto;height:1px}.PrimerCheckout__divider--hidden{-webkit-transform:translateY(-20px);transform:translateY(-20px);opacity:0}.PrimerCheckout__textDivider{display:-webkit-flex;display:flex;-webkit-align-items:center;align-items:center;text-align:center}.PrimerCheckout__textDivider::before,.PrimerCheckout__textDivider::after{display:block;content:"";-webkit-flex:1;flex:1;height:1px;background:#e0e0e0;min-width:16px}.PrimerCheckout__textDivider::before{margin-right:8px}@media(max-width: 600px){.PrimerCheckout__textDivider::before{margin-right:2px}}.PrimerCheckout__textDivider::after{margin-left:8px}@media(max-width: 600px){.PrimerCheckout__textDivider::after{margin-left:2px}}.PrimerCheckout__apmButton{position:relative;display:-webkit-flex;display:flex;-webkit-align-items:center;align-items:center;-webkit-justify-content:center;justify-content:center;overflow:hidden;transition:opacity 300ms cubic-bezier(0.4, 0, 0.2, 1)}.PrimerCheckout__apmButton button{cursor:pointer;height:100%;width:100%;border:none;background:none}.PrimerCheckout__apmButton:focus-within{outline:2px solid #3447f4;outline-offset:2px}.PrimerCheckout__apmButton:not(:first-of-type){margin-top:8px}.PrimerCheckout__apmButton>.paypal-buttons{transition:none !important}.PrimerCheckout__apmButton>.gpay-card-info-container.long,.PrimerCheckout__apmButton>.gpay-button.long{width:100%}.PrimerCheckout__apmButton--logo{border-width:1px;border-style:solid}.PrimerCheckout__apmButton--logo:hover{opacity:.8}.PrimerCheckout__apmButton--logo img{max-height:calc(100% - 8px);max-width:calc(100% - 8px)}.PrimerCheckout__separator{margin:32px 0px;height:1px;background:#e0e0e0}.PrimerCheckout__emptyText{-webkit-transform:translateY(0px);transform:translateY(0px);opacity:1;transition:all cubic-bezier(0.4, 0, 0.2, 1) 300ms}.PrimerCheckout__emptyText.PrimerCheckout--exit{-webkit-transform:transalteY(-20px);transform:transalteY(-20px);opacity:0}.PrimerCheckout__cardTypes{width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;display:-webkit-flex;display:flex}.PrimerCheckout__hostedInputContent{display:-webkit-flex;display:flex;-webkit-flex-direction:row;flex-direction:row;position:absolute;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);overflow:hidden;pointer-events:none;right:12px;height:100%;padding:11px 0px;-webkit-align-items:center;align-items:center}.PrimerCheckout__cardType{position:relative;width:24px;height:100%;transition:all 300ms cubic-bezier(0.4, 0, 0.2, 1),opacity 300ms cubic-bezier(0.4, 0, 0.2, 1)}.PrimerCheckout__cardType>*{width:100%;height:100%;-o-object-fit:contain;object-fit:contain;-o-object-position:center;object-position:center}.PrimerCheckout__cardType.PrimerCheckout--hidden{display:inline-block !important;width:0px;margin-right:0px;opacity:0}.PrimerCheckout__cardType.PrimerCheckout--error::after{content:"";position:absolute;right:-4px;top:-4px;width:8px;height:8px;border-radius:50%;background-color:#ea4335}.PrimerCheckout__form{display:-webkit-flex;display:flex;-webkit-flex-direction:column;flex-direction:column}.PrimerCheckout__formHeader{display:-webkit-flex;display:flex;-webkit-flex-direction:row;flex-direction:row;-webkit-justify-content:space-between;justify-content:space-between;-webkit-align-items:center;align-items:center;margin-bottom:32px}.PrimerCheckout__formField{position:relative;-webkit-flex:0;flex:0}.PrimerCheckout__formField.PrimerCheckout__formField--dual{display:-webkit-flex;display:flex;-webkit-flex-direction:row;flex-direction:row;-webkit-justify-content:space-between;justify-content:space-between;-webkit-align-items:baseline;align-items:baseline}.PrimerCheckout__formField.PrimerCheckout__formField--dual>.PrimerCheckout__formField{-webkit-flex:0 1 calc(50% - 8px);flex:0 1 calc(50% - 8px)}.PrimerCheckout__formField.PrimerCheckout__formField--dual>.PrimerCheckout__formField{margin-top:0px}@media(max-width: 600px){.PrimerCheckout__formField.PrimerCheckout__formField--dual{display:-webkit-flex;display:flex;-webkit-flex-direction:column;flex-direction:column;-webkit-align-items:initial;align-items:initial}.PrimerCheckout__formField.PrimerCheckout__formField--dual>.PrimerCheckout__formField{-webkit-flex:unset;flex:unset}.PrimerCheckout__formField.PrimerCheckout__formField--dual>.PrimerCheckout__formField+.PrimerCheckout__formField{margin-top:inherit}}.PrimerCheckout__formField.PrimerCheckout__formField--orientation-horizontal{display:-webkit-flex;display:flex;-webkit-flex-direction:row;flex-direction:row;-webkit-align-items:center;align-items:center}.PrimerCheckout__formField>.PrimerCheckout__label{display:inline-block;margin-left:1px}.PrimerCheckout__formField .PrimerCheckout__checkbox+.PrimerCheckout__label{cursor:pointer;margin-left:8px}.PrimerCheckout__helperText{position:relative;z-index:0;transition:all cubic-bezier(0.4, 0, 0.2, 1) 300ms;-webkit-transform:translateY(-20px);transform:translateY(-20px);opacity:0}.PrimerCheckout__helperText.PrimerCheckout--enter{-webkit-transform:translateY(-20px);transform:translateY(-20px);opacity:0;margin-top:0px;-webkit-animation:none;animation:none}.PrimerCheckout__helperText.PrimerCheckout--entering{-webkit-transform:translateY(0px);transform:translateY(0px);opacity:1}.PrimerCheckout__helperText.PrimerCheckout--entered{opacity:1;-webkit-transform:translateY(0px);transform:translateY(0px)}.PrimerCheckout__helperText.PrimerCheckout--exit{opacity:1;-webkit-animation:none;animation:none}.PrimerCheckout__helperText.PrimerCheckout--exiting{opacity:0;-webkit-transform:translateY(-20px);transform:translateY(-20px)}.PrimerCheckout__formFieldTitle{display:-webkit-flex;display:flex;-webkit-align-items:center;align-items:center}.PrimerCheckout__checkbox{-webkit-appearance:none;font-size:1rem;cursor:pointer;margin:0px;padding:8px;display:inline-block;position:relative;color:#fff;border-radius:4px;border:1px solid #bdbdbd}.PrimerCheckout__checkbox:checked{color:#fff;background-color:#3447f4;border-color:#3447f4}.PrimerCheckout__checkbox::after{content:"✓";font-size:16px;position:absolute;top:50%;left:55%;-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%)}#primer-checkout-vault-methods{opacity:1;-webkit-transform-origin:top center;transform-origin:top center;-webkit-transform:translateY(0px);transform:translateY(0px);transition:all 500ms cubic-bezier(0.4, 0, 0.2, 1)}#primer-checkout-vault-methods.PrimerCheckout--exit{opacity:0;-webkit-transform:translateY(-100px);transform:translateY(-100px)}.PrimerCheckout__dropDownMenu{border:1px solid #e0e0e0;border-radius:2px;display:-webkit-flex;display:flex;-webkit-flex-direction:column;flex-direction:column;position:absolute;z-index:1000;top:0px;right:0px;width:100%;background-color:#fff;box-shadow:0px 1px 10px rgba(0,0,0,.1),0px 0px 20px rgba(52,71,244,.1);opacity:0;-webkit-transform-origin:top center;transform-origin:top center;-webkit-transform:translateY(-10px) scaleY(0.9);transform:translateY(-10px) scaleY(0.9);transition:all cubic-bezier(0.4, 0, 0.2, 1) 300ms;pointer-events:none}.PrimerCheckout__dropDownMenu>.PrimerCheckout__label{padding:12px 12px 6px}.PrimerCheckout__dropDownMenu--enter{pointer-events:all;opacity:1;-webkit-transform:translateY(0px) scaleY(1);transform:translateY(0px) scaleY(1)}.PrimerCheckout__dropDownMenuItem{transition:background-color 100ms ease;padding:6px 12px}.PrimerCheckout__dropDownMenuItem:hover,.PrimerCheckout__dropDownMenuItem:focus{background-color:#eaf1ff}.PrimerCheckout__dropDownMenuItem>.PrimerCheckout__label{white-space:nowrap;color:#3447f4}.PrimerCheckout__paymentMethodDropDownMenuItem{margin:0px 16px;transition:all cubic-bezier(0.4, 0, 0.2, 1) 300ms}.PrimerCheckout__paymentMethodDropDownMenuItem:not(:last-child){border-bottom:1px solid #e0e0e0}.PrimerCheckout__paymentMethodDropDownMenuItem--disabled{pointer-events:none;opacity:.3}.PrimerCheckout__paymentMethodDropDownMenuItem__content{display:-webkit-flex;display:flex;-webkit-flex-direction:row;flex-direction:row;-webkit-align-items:center;align-items:center;padding:16px 0px}.PrimerCheckout__paymentMethodDropDownMenuItem__label.PrimerCheckout__label{min-width:0;margin-right:8px;font-size:.75rem;word-break:break-all}.PrimerCheckout__paymentMethodDropDownMenuItem__confirmationContainer{pointer-events:none;position:relative;height:0;padding-bottom:0px;opacity:0;-webkit-transform:translateY(-20px);transform:translateY(-20px);transition:all cubic-bezier(0.4, 0, 0.2, 1) 300ms,opacity cubic-bezier(0.4, 0, 0.2, 1) 200ms}.PrimerCheckout__paymentMethodDropDownMenuItem__confirmationContainer--enter{pointer-events:all;-webkit-transform:translateY(0px);transform:translateY(0px);height:calc(40px + 16px);opacity:1;padding-bottom:16px}.PrimerCheckout__deleteButton{display:block;width:100%;padding:0;margin:0;border:none;background:none;cursor:pointer;font-family:inherit;outline-offset:2px;outline-color:#3447f4}.PrimerCheckout__deleteButton:disabled{cursor:auto}.PrimerCheckout__deleteConfirmation{height:30px}.PrimerCheckout__confirmButton{display:block;width:100%;padding:0;margin:0;border:none;background:none;cursor:pointer;font-family:inherit;outline-offset:2px;outline-color:#3447f4;display:grid;width:100%;place-items:center;height:40px;border:1px solid #3447f4;border-radius:4px;text-align:center;color:#3447f4;font-size:.875rem}.PrimerCheckout__confirmButton:disabled{cursor:auto}.PrimerCheckout__savedPaymentMethods{display:-webkit-flex;display:flex;-webkit-flex-direction:column;flex-direction:column}.PrimerCheckout__savedPaymentMethods__title{display:-webkit-flex;display:flex;-webkit-flex-direction:row;flex-direction:row;-webkit-align-items:center;align-items:center;margin-bottom:15px}button.PrimerCheckout__klarnaButton{display:block;width:100%;padding:0;margin:0;border:none;background:none;cursor:pointer;font-family:inherit;outline-offset:2px;outline-color:#3447f4;border:1px solid #e0e0e0;border-radius:2px;display:-webkit-inline-flex;display:inline-flex;place-content:center;-webkit-align-items:center;align-items:center;cursor:pointer;width:100%;height:100%;background-color:#ffb3c7;border-radius:4px}button.PrimerCheckout__klarnaButton:disabled{cursor:auto}button.PrimerCheckout__klarnaButton:enabled:hover{opacity:.7}button.PrimerCheckout__klarnaButton>img{margin-right:20px}button.PrimerCheckout__klarnaButton>span{font-weight:600}button.PrimerCheckout__klarnaButton:disabled{color:inherit}.PrimerCheckout__klarnaPaymentOptions{width:100%;position:relative;overflow:hidden;transition:height 200ms ease-in-out;padding:0px 64px}.PrimerCheckout__klarnaPaymentCategory{display:block;width:100%;padding:0;margin:0;border:none;background:none;cursor:pointer;font-family:inherit;outline-offset:2px;outline-color:#3447f4;border:1px solid #e0e0e0;border-radius:2px;display:grid;grid-auto-flow:column;place-content:center;-webkit-align-items:center;align-items:center;padding:8px 0px}.PrimerCheckout__klarnaPaymentCategory:disabled{cursor:auto}.PrimerCheckout__klarnaPaymentCategory>img{margin-right:12px}.PrimerCheckout__klarnaPaymentCategory:first-child{margin-top:20px}.PrimerCheckout__klarnaPaymentCategory+.PrimerCheckout__klarnaPaymentCategory{margin-top:12px}.PrimerCheckout__klarnaPaymentOptionButton{display:block;width:100%;padding:0;margin:0;border:none;background:none;cursor:pointer;font-family:inherit;outline-offset:2px;outline-color:#3447f4;padding:6px 12px;width:100%;display:-webkit-flex;display:flex;-webkit-align-items:center;align-items:center}.PrimerCheckout__klarnaPaymentOptionButton:disabled{cursor:auto}.PrimerCheckout__klarnaPaymentOptionButton>img{margin-right:12px}.PrimerCheckout__processingIndicatorOverlay{pointer-events:none;position:absolute;top:0px;left:0px;right:0px;bottom:0px;z-index:100;display:grid;place-items:center;transition:opacity 300ms linear,-webkit-transform 500ms cubic-bezier(0.4, 0, 0.2, 1);transition:transform 500ms cubic-bezier(0.4, 0, 0.2, 1),opacity 300ms linear;transition:transform 500ms cubic-bezier(0.4, 0, 0.2, 1),opacity 300ms linear,-webkit-transform 500ms cubic-bezier(0.4, 0, 0.2, 1);opacity:0;-webkit-transform:translateY(50px);transform:translateY(50px)}.PrimerCheckout__processingIndicatorOverlay.PrimerCheckout--entering,.PrimerCheckout__processingIndicatorOverlay.PrimerCheckout--entered{opacity:1;-webkit-transform:translateY(0px);transform:translateY(0px)}.PrimerCheckout__processingIndicatorContainer{padding:32px}.PrimerCheckout__check{padding:0px 16px;-webkit-align-items:center;align-items:center;-webkit-justify-content:center;justify-content:center;text-align:center;min-height:18rem}.PrimerCheckout__checkMarkIcon{width:3rem;padding-bottom:20px}#primer-checkout-scene-credit-card-form{padding-bottom:32px}.PrimerCheckout__creditCardButton_icon{height:81%}.PrimerCheckout__surcharge{text-align:right;background:#242a2f08;padding-top:2px;padding:5px;border-radius:5px}.PrimerCheckout__surcharge>.PrimerCheckout__label--surcharge-text{font-size:15px !important;font-weight:300}.PrimerCheckout__surcharge>.PrimerCheckout__label--surcharge-amount{font-size:15px !important;font-weight:300}.PrimerCheckout__surchargeItem{margin-top:15px}.PrimerCheckout{box-sizing:border-box;background-color:transparent;position:relative;display:-webkit-flex;display:flex;-webkit-flex-direction:column;flex-direction:column}.PrimerCheckout *[hidden=true]{display:none}.PrimerCheckout dialog{margin:0;padding:0}.PrimerCheckout input{outline-color:#3447f4}.PrimerCheckout div{box-sizing:border-box}.PrimerCheckout--hidden{display:none !important}.PrimerCheckout--exited{display:none}.PrimerCheckout--centered{text-align:center}.PrimerCheckout__scene{display:-webkit-flex;display:flex;-webkit-flex-direction:column;flex-direction:column;position:relative;left:0;top:0;opacity:1}.PrimerCheckout__modalBody{display:grid;place-content:center;background-color:#fff;border-radius:3px;position:relative;box-shadow:1px 1px 5px 3px rgba(0,0,0,.05);overflow:hidden}.PrimerCheckout__modalBody>iframe{position:absolute;left:0px;top:0px;right:0px;bottom:0px;width:100%;height:100%}.PrimerCheckout__scene--3dsModal{position:fixed;top:0px;left:0px;right:0px;bottom:0px;z-index:101;width:100%;height:100% !important;display:grid;place-content:center;background-color:rgba(0,0,0,.2);transition:all 500ms cubic-bezier(0.4, 0, 0.2, 1);opacity:0}.PrimerCheckout__scene--3dsModal>.PrimerCheckout__modalBody{transition:all 500ms cubic-bezier(0.4, 0, 0.2, 1);opacity:0;-webkit-transform:translateY(100vh);transform:translateY(100vh)}.PrimerCheckout__scene--3dsModal.PrimerCheckout--enter{opacity:1}.PrimerCheckout__scene--3dsModal.PrimerCheckout--enter>.PrimerCheckout__modalBody{opacity:1;-webkit-transform:translateY(0vh);transform:translateY(0vh)}#primer-checkout-scene-vault{padding-bottom:32px}#primer-checkout-other-payment-methods{height:0px;width:0px;opacity:0;transition:all 500ms cubic-bezier(0.4, 0, 0.2, 1);visibility:hidden}#primer-checkout-other-payment-methods>*:last-child{height:32px}#primer-checkout-other-payment-methods.PrimerCheckout--entering,#primer-checkout-other-payment-methods.PrimerCheckout--entered{width:auto;opacity:1;visibility:visible}#primer-checkout-payment-method-divider{opacity:1;transition:all 500ms cubic-bezier(0.4, 0, 0.2, 1)}#primer-checkout-payment-method-divider.PrimerCheckout--exit{opacity:0;height:0px;margin-bottom:0px}
|
package/dist/loader.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.loader=e():t.loader=e()}(this,(function(){return function(){var t={162:function(t,e,r){t.exports=r(47)},47:function(t){var e=function(t){"use strict";var e,r=Object.prototype,n=r.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",u=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function E(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{E({},"")}catch(t){E=function(t,e,r){return t[e]=r}}function _(t,e,r,n){var o=e&&e.prototype instanceof P?e:P,i=Object.create(o.prototype),u=new C(n||[]);return i._invoke=function(t,e,r){var n=A;return function(o,i){if(n===f)throw new Error("Generator is already running");if(n===T){if("throw"===o)throw i;return Y()}for(r.method=o,r.arg=i;;){var u=r.delegate;if(u){var c=d(u,r);if(c){if(c===s)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(n===A)throw n=T,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n=f;var E=a(t,e,r);if("normal"===E.type){if(n=r.done?T:O,E.arg===s)continue;return{value:E.arg,done:r.done}}"throw"===E.type&&(n=T,r.method="throw",r.arg=E.arg)}}}(t,r,u),i}function a(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=_;var A="suspendedStart",O="suspendedYield",f="executing",T="completed",s={};function P(){}function N(){}function l(){}var R={};R[i]=function(){return this};var h=Object.getPrototypeOf,p=h&&h(h(y([])));p&&p!==r&&n.call(p,i)&&(R=p);var L=l.prototype=P.prototype=Object.create(R);function I(t){["next","throw","return"].forEach((function(e){E(t,e,(function(t){return this._invoke(e,t)}))}))}function D(t,e){function r(o,i,u,c){var E=a(t[o],t,i);if("throw"!==E.type){var _=E.arg,A=_.value;return A&&"object"==typeof A&&n.call(A,"__await")?e.resolve(A.__await).then((function(t){r("next",t,u,c)}),(function(t){r("throw",t,u,c)})):e.resolve(A).then((function(t){_.value=t,u(_)}),(function(t){return r("throw",t,u,c)}))}c(E.arg)}var o;this._invoke=function(t,n){function i(){return new e((function(e,o){r(t,n,e,o)}))}return o=o?o.then(i,i):i()}}function d(t,r){var n=t.iterator[r.method];if(n===e){if(r.delegate=null,"throw"===r.method){if(t.iterator.return&&(r.method="return",r.arg=e,d(t,r),"throw"===r.method))return s;r.method="throw",r.arg=new TypeError("The iterator does not provide a 'throw' method")}return s}var o=a(n,t.iterator,r.arg);if("throw"===o.type)return r.method="throw",r.arg=o.arg,r.delegate=null,s;var i=o.arg;return i?i.done?(r[t.resultName]=i.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,s):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,s)}function m(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function S(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function C(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(m,this),this.reset(!0)}function y(t){if(t){var r=t[i];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,u=function r(){for(;++o<t.length;)if(n.call(t,o))return r.value=t[o],r.done=!1,r;return r.value=e,r.done=!0,r};return u.next=u}}return{next:Y}}function Y(){return{value:e,done:!0}}return N.prototype=L.constructor=l,l.constructor=N,N.displayName=E(l,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===N||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,l):(t.__proto__=l,E(t,c,"GeneratorFunction")),t.prototype=Object.create(L),t},t.awrap=function(t){return{__await:t}},I(D.prototype),D.prototype[u]=function(){return this},t.AsyncIterator=D,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var u=new D(_(e,r,n,o),i);return t.isGeneratorFunction(r)?u:u.next().then((function(t){return t.done?t.value:u.next()}))},I(L),E(L,c,"Generator"),L[i]=function(){return this},L.toString=function(){return"[object Generator]"},t.keys=function(t){var e=[];for(var r in t)e.push(r);return e.reverse(),function r(){for(;e.length;){var n=e.pop();if(n in t)return r.value=n,r.done=!1,r}return r.done=!0,r}},t.values=y,C.prototype={constructor:C,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(S),!t)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function o(n,o){return c.type="throw",c.arg=t,r.next=n,o&&(r.method="next",r.arg=e),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var u=this.tryEntries[i],c=u.completion;if("root"===u.tryLoc)return o("end");if(u.tryLoc<=this.prev){var E=n.call(u,"catchLoc"),_=n.call(u,"finallyLoc");if(E&&_){if(this.prev<u.catchLoc)return o(u.catchLoc,!0);if(this.prev<u.finallyLoc)return o(u.finallyLoc)}else if(E){if(this.prev<u.catchLoc)return o(u.catchLoc,!0)}else{if(!_)throw new Error("try statement without catch or finally");if(this.prev<u.finallyLoc)return o(u.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var u=i?i.completion:{};return u.type=t,u.arg=e,i?(this.method="next",this.next=i.finallyLoc,s):this.complete(u)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),s},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),S(r),s}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;S(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:y(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),s}},t}(t.exports);try{regeneratorRuntime=e}catch(t){Function("r","regeneratorRuntime = r")(e)}}},e={};function r(n){var o=e[n];if(void 0!==o)return o.exports;var i=e[n]={exports:{}};return t[n](i,i.exports,r),i.exports}r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,{a:e}),e},r.d=function(t,e){for(var n in e)r.o(e,n)&&!r.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var n={};return function(){"use strict";var t,e,o,i,u,c;function E(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}r.r(n),r.d(n,{CheckoutUXFlow:function(){return I},ErrorCode:function(){return _},PaymentFlow:function(){return t},PaymentInstrumentType:function(){return i},PaymentMethodType:function(){return u},Primer:function(){return U},SuccessScreenType:function(){return D},ThreeDSecureStatus:function(){return o},TokenType:function(){return c},preloadPrimer:function(){return w}}),function(t){t.DEFAULT="DEFAULT",t.PREFER_VAULT="PREFER_VAULT"}(t||(t={})),function(t){t.TOKENIZE_STARTED="tokenize-started",t.TOKENIZE_ERROR="tokenize-error",t.TOKENIZE_SUCCESS="tokenize-success",t.TOKENIZE_DID_NOT_START="tokenize-did-not-start"}(e||(e={})),function(t){t.SUCCESS="AUTH_SUCCESS",t.FAILED="AUTH_FAILED",t.SKIPPED="SKIPPED",t.CHALLENGE="CHALLENGE"}(o||(o={})),function(t){t.PRIMER_PAYPAL="PRIMER_PAYPAL",t.TWOC2P="TWOC2P",t.NETS="NETS",t.STRIPE_GIROPAY="STRIPE_GIROPAY",t.MOLLIE_GIROPAY="MOLLIE_GIROPAY",t.MOLLIE_EPS="MOLLIE_EPS",t.PAY_NL_EPS="PAY_NL_EPS",t.PAY_NL_P24="PAY_NL_P24",t.MOLLIE_P24="MOLLIE_P24",t.MOLLIE_SOFORT="MOLLIE_SOFORT",t.COINBASE="COINBASE",t.OPENNODE="OPENNODE",t.MOLLIE_GIFT_CARD="MOLLIE_GIFTCARD",t.XFERS_PAYNOW="XFERS_PAYNOW",t.CARD="PAYMENT_CARD",t.APPLE_PAY="APPLE_PAY",t.GOOGLE_PAY="GOOGLE_PAY",t.PAYPAL="PAYPAL_ORDER",t.PAYPAL_VAULTED="PAYPAL_BILLING_AGREEMENT",t.GO_CARDLESS="GOCARDLESS",t.PAY_NL_IDEAL="PAY_NL_IDEAL",t.PAY_NL_SOFORT_BANKING="PAY_NL_SOFORT_BANKING",t.PAY_NL_BANCONTACT="PAY_NL_BANCONTACT",t.PAY_NL_PAYPAL="PAY_NL_PAYPAL",t.PAY_NL_CREDIT_TRANSFER="PAY_NL_CREDIT_TRANSFER",t.PAY_NL_DIRECT_DEBIT="PAY_NL_DIRECT_DEBIT",t.PAY_NL_GIROPAY="PAY_NL_GIROPAY",t.PAY_NL_PAYCONIQ="PAY_NL_PAYCONIQ",t.HOOLAH="HOOLAH",t.ADYEN_BLIK="ADYEN_BLIK",t.ADYEN_VIPPS="ADYEN_VIPPS",t.ADYEN_GIROPAY="ADYEN_GIROPAY",t.ADYEN_SOFORT="ADYEN_SOFORT",t.ADYEN_TRUSTLY="ADYEN_TRUSTLY",t.ADYEN_ALIPAY="ADYEN_ALIPAY",t.ADYEN_TWINT="ADYEN_TWINT",t.ADYEN_MOBILEPAY="ADYEN_MOBILEPAY",t.MOLLIE_BANCONTACT="MOLLIE_BANCONTACT",t.MOLLIE_IDEAL="MOLLIE_IDEAL",t.BUCKAROO_GIROPAY="BUCKAROO_GIROPAY",t.BUCKAROO_EPS="BUCKAROO_EPS",t.BUCKAROO_SOFORT="BUCKAROO_SOFORT",t.BUCKAROO_BANCONTACT="BUCKAROO_BANCONTACT",t.BUCKAROO_IDEAL="BUCKAROO_IDEAL",t.ATOME="ATOME"}(i||(i={})),function(t){t.PRIMER_PAYPAL="PRIMER_PAYPAL",t.TWOC2P="TWOC2P",t.NETS="NETS",t.STRIPE_GIROPAY="STRIPE_GIROPAY",t.MOLLIE_GIROPAY="MOLLIE_GIROPAY",t.MOLLIE_EPS="MOLLIE_EPS",t.PAY_NL_EPS="PAY_NL_EPS",t.PAY_NL_P24="PAY_NL_P24",t.MOLLIE_P24="MOLLIE_P24",t.MOLLIE_SOFORT="MOLLIE_SOFORT",t.COINBASE="COINBASE",t.OPENNODE="OPENNODE",t.MOLLIE_GIFT_CARD="MOLLIE_GIFTCARD",t.XFERS_PAYNOW="XFERS_PAYNOW",t.PAYMENT_CARD="PAYMENT_CARD",t.APPLE_PAY="APPLE_PAY",t.GOOGLE_PAY="GOOGLE_PAY",t.PAYPAL="PAYPAL",t.GO_CARDLESS="GOCARDLESS",t.KLARNA="KLARNA",t.PAY_NL_IDEAL="PAY_NL_IDEAL",t.PAY_NL_SOFORT_BANKING="PAY_NL_SOFORT_BANKING",t.PAY_NL_BANCONTACT="PAY_NL_BANCONTACT",t.PAY_NL_PAYPAL="PAY_NL_PAYPAL",t.PAY_NL_CREDIT_TRANSFER="PAY_NL_CREDIT_TRANSFER",t.PAY_NL_DIRECT_DEBIT="PAY_NL_DIRECT_DEBIT",t.PAY_NL_GIROPAY="PAY_NL_GIROPAY",t.PAY_NL_PAYCONIQ="PAY_NL_PAYCONIQ",t.HOOLAH="HOOLAH",t.ADYEN_BLIK="ADYEN_BLIK",t.ADYEN_MOBILEPAY="ADYEN_MOBILEPAY",t.ADYEN_VIPPS="ADYEN_VIPPS",t.ADYEN_GIROPAY="ADYEN_GIROPAY",t.ADYEN_SOFORT="ADYEN_SOFORT",t.ADYEN_TRUSTLY="ADYEN_TRUSTLY",t.ADYEN_ALIPAY="ADYEN_ALIPAY",t.ADYEN_TWINT="ADYEN_TWINT",t.ADYEN_BANK_TRANSFER="ADYEN_BANK_TRANSFER",t.MOLLIE_BANCONTACT="MOLLIE_BANCONTACT",t.MOLLIE_IDEAL="MOLLIE_IDEAL",t.BUCKAROO_GIROPAY="BUCKAROO_GIROPAY",t.BUCKAROO_EPS="BUCKAROO_EPS",t.BUCKAROO_SOFORT="BUCKAROO_SOFORT",t.BUCKAROO_BANCONTACT="BUCKAROO_BANCONTACT",t.BUCKAROO_IDEAL="BUCKAROO_IDEAL",t.ATOME="ATOME"}(u||(u={})),function(t){t.SINGLE_USE="SINGLE_USE",t.MULTI_USE="MULTI_USE"}(c||(c={}));var _;E({},i.PAYPAL_VAULTED,u.PAYPAL);function a(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function A(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function O(t,e){return(Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function f(t){return("function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function T(t,e){if(e&&("object"===f(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return A(t)}function s(t){return(Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function P(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}function N(t,e,r){return(P()?Reflect.construct:function(t,e,r){var n=[null];n.push.apply(n,e);var o=new(Function.bind.apply(t,n));return r&&O(o,r.prototype),o}).apply(null,arguments)}function l(t){var e="function"==typeof Map?new Map:void 0;return function(t){if(null===t||(t,-1===Function.toString.call(r).indexOf("[native code]")))return t;var r;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==e){if(e.has(t))return e.get(t);e.set(t,n)}function n(){return N(t,arguments,s(this).constructor)}return n.prototype=Object.create(t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),O(n,t)}(t)}function R(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=s(t);if(e){var o=s(this).constructor;Reflect.construct(n,arguments,o)}else n.apply(this,arguments);return T(this,r)}}!function(t){t.INITIALIZATION_ERROR="INITIALIZATION_ERROR",t.NO_PAYMENT_METHODS="NO_PAYMENT_METHODS",t.PRIMER_TEARDOWN="PRIMER_TEARDOWN",t.PRIMER_SERVER_ERROR="PRIMER_SERVER_ERROR",t.THREE_DS_SETUP_ERROR="THREE_DS_SETUP_ERROR",t.THREE_DS_AUTH_FAILED="THREE_DS_AUTH_FAILED",t.THREE_DS_NEGOTIATION_ERROR="THREE_DS_NEGOTIATION_ERROR",t.TOKENIZATION_ERROR="TOKENIZATION_ERROR",t.DUPLICATE_PAYMENT_METHOD_ERROR="DUPLICATE_PAYMENT_METHOD_ERROR",t.CARD_NUMBER_ERROR="CARD_NUMBER_ERROR",t.PAYMENT_METHOD_NOT_SETUP="PAYMENT_METHOD_NOT_SETUP",t.PAYMENT_METHOD_NOT_PROVIDED="PAYMENT_METHOD_NOT_SETUP",t.PAYMENT_METHOD_NOT_COMPATIBLE="PAYMENT_METHOD_NOT_COMPATIBLE",t.RESUME_ERROR="RESUME_ERROR",t.TAX_ERROR="TAX_ERROR",t.VALIDATION_ERROR="VALIDATION_ERROR",t.PAYMENT_FAILED="PAYMENT_FAILED",t.PAYMENT_CREATION_ABORTED="PAYMENT_CREATION_ABORTED",t.PAYMENT_CREATION_DISABLED="PAYMENT_CREATION_DISABLED",t.CLIENT_SESSION_UPDATE_ERROR="CLIENT_SESSION_UPDATE_ERROR",t.INVALID_ARGUMENT="INVALID_ARGUMENT"}(_||(_={}));var h,p,L,I,D;Error;!function(t){t.LOADING="Loading",t.THREE_DS="UniversalCheckout/3ds",t.CHOOSE_PAYMENT_METHOD="UniversalCheckout/Home",t.MANAGE_PAYMENT_METHODS="VaultManager/Home",t.DIRECT_DEBIT_FORM="DirectDebit/Form",t.DIRECT_DEBIT_MANDATE="DirectDebit/Mandate",t.CREDIT_CARD_FORM="CreditCard/Form",t.SUCCESS_PAYMENT_METHOD="UniversalCheckout/Success/PaymentMethod",t.SUCCESS_CHECK="UniversalCheckout/Success/Check"}(h||(h={})),function(t){t.ROOT="primer-checkout",t.ROOT_CONTENT="primer-checkout-content",t.SUBMIT_BUTTON="primer-checkout-submit-button",t.THREE_DS_MODAL="primer-checkout-3ds-modal",t.VAULT="primer-checkout-vault",t.VAULT_INLINE="primer-checkout-vault-inline",t.NAVIGATE_PAYMENT_METHODS="primer-checkout-navigate-to-payment-methods",t.DIVIDER="primer-checkout-payment-method-divider",t.APM_BUTTONS="primer-checkout-apm-button-container",t.CARDHOLDER_NAME="primer-checkout-cardholder-name",t.CARDHOLDER_NAME_INPUT="primer-checkout-cardholder-name-input",t.ACTIONS="primer-checkout-actions",t.ACTIONS_MENU="primer-checkout-actions-menu",t.SAVE_PAYMENT_METHOD_CHECKBOX="primer-checkout-save-payment-method-input",t.SAVE_PAYMENT_METHOD_FIELD="primer-checkout-save-payment-method-field",t.SAVED_PAYMENT_METHODS_EMPTY="primer-checkout-saved-payment-methods-empty-text",t.CARD_FORM="primer-checkout-card-form",t.DD_SWITCH="primer-checkout-switch-dd-inputs",t.DD_IBAN_FIELD="primer-checkout-dd-iban-field",t.DD_LOCAL_FIELD="primer-checkout-dd-local-fields",t.DD_CUSTOMER_NAME_INPUT="primer-checkout-dd-customer-name-input",t.DD_CUSTOMER_EMAIL_INPUT="primer-checkout-dd-customer-email-input",t.DD_CUSTOMER_ADDRESS_LINE1="primer-checkout-dd-customer-address-input",t.DD_CUSTOMER_ADDRESS_LINE2="primer-checkout-dd-customer-address-line2-input",t.DD_CUSTOMER_ADDRESS_CITY="primer-checkout-dd-customer-city-input",t.DD_CUSTOMER_ADDRESS_POSTAL_CODE="primer-checkout-dd-customer-postal-code-input",t.DD_IBAN_INPUT="primer-checkout-dd-iban-input",t.DD_ACCOUNT_NUMBER_INPUT="primer-checkout-dd-account-number-input",t.DD_BANK_CODE_INPUT="primer-checkout-dd-bank-code-input",t.DD_BRANCH_CODE_INPUT="primer-checkout-dd-branch-code-input",t.DD_MANDATE_SMALL_PRINT="primer-checkout-small-print",t.ERROR_MESSAGE="primer-checkout-error-message"}(p||(p={})),function(t){t.TOKEN="PrimerCheckout__token",t.HIDDEN="PrimerCheckout--hidden",t.FOCUSED="PrimerCheckout--focused",t.SELECTED="PrimerCheckout--selected",t.LOADING="PrimerCheckout--loading",t.ERROR="PrimerCheckout--error",t.CARD_TYPE="PrimerCheckout__cardType",t.SAVED_PAYMENT_METHOD="PrimerCheckout__savedPaymentMethod",t.SAVED_PAYMENT_METHOD_CONTAINER="PrimerCheckout__savedPaymentMethodContainer",t.APM_BUTTON="PrimerCheckout__apmButton",t.EDIT_BUTTON="PrimerCheckout__editButton",t.MENU="PrimerCheckout__dropDownMenu",t.MENU_ITEM="PrimerCheckout__dropDownMenuItem",t.PAYMENT_METHOD_MENU_ITEM="PrimerCheckout__paymentMethodDropDownMenuItem",t.DELETE_PAYMENT_METHOD_BUTTON="PrimerCheckout__paymentMethodDropDownMenuItem__deleteButton",t.ENTER="PrimerCheckout--enter",t.ENTERING="PrimerCheckout--entering",t.ENTERED="PrimerCheckout--entered",t.EXIT="PrimerCheckout--exit",t.EXITING="PrimerCheckout--exiting",t.EXITED="PrimerCheckout--exited"}(L||(L={})),function(t){t.CHECKOUT="CHECKOUT",t.MANAGE_PAYMENT_METHODS="MANAGE_PAYMENT_METHODS",t.SINGLE_PAYMENT_METHOD_CHECKOUT="SINGLE_PAYMENT_METHOD_CHECKOUT"}(I||(I={})),function(t){t.PAYMENT_METHOD="PAYMENT_METHOD",t.CHECK="CHECK"}(D||(D={}));var d=r(162),m=r.n(d);function S(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function C(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i=[],u=!0,c=!1;try{for(r=r.call(t);!(u=(n=r.next()).done)&&(i.push(n.value),!e||i.length!==e);u=!0);}catch(t){c=!0,o=t}finally{try{u||null==r.return||r.return()}finally{if(c)throw o}}return i}}(t,e)||function(t,e){if(t){if("string"==typeof t)return S(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?S(t,e):void 0}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function y(t,e,r,n,o,i,u){try{var c=t[i](u),E=c.value}catch(t){return void r(t)}c.done?e(E):Promise.resolve(E).then(n,o)}function Y(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function u(t){y(i,n,o,u,c,"next",t)}function c(t){y(i,n,o,u,c,"throw",t)}u(void 0)}))}}var M=null,v=function(){var t=Y(m().mark((function t(){var e,r;return m().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!M){t.next=2;break}return t.abrupt("return",M);case 2:if(!window.Primer){t.next=4;break}return t.abrupt("return",Promise.resolve(window.Primer));case 4:return e=new Promise((function(t,e){var r=window.document.querySelector('script[src^="'.concat("https://sdk.primer.io/web/v2.2.1/Primer.min.js",'"]'));r||((r=document.createElement("script")).setAttribute("src","https://sdk.primer.io/web/v2.2.1/Primer.min.js"),r.setAttribute("crossorigin","anonymous"),window.document.head.appendChild(r)),r.onload=function(){t(window.Primer)},r.onerror=function(){var t;M=null,null===(t=r)||void 0===t||t.remove(),e(new Error("Can't load Primer SDK"))}})),r=new Promise((function(t,e){var r=window.document.querySelector('link[href^="'.concat("https://sdk.primer.io/web/v2.2.1/Checkout.css",'"]'));r||((r=document.createElement("link")).setAttribute("rel","stylesheet"),r.setAttribute("href","https://sdk.primer.io/web/v2.2.1/Checkout.css"),window.document.head.appendChild(r)),r.onload=function(){t()},r.onerror=function(){var t;null===(t=r)||void 0===t||t.remove(),e(new Error("Can't load Primer SDK's Stylesheet"))}})),M=Promise.all([e,r]).then((function(t){return C(t,1)[0]})),t.abrupt("return",M);case 8:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),w=function(){var t=Y(m().mark((function t(){return m().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",v().then((function(){})));case 1:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),U={showUniversalCheckout:function(t,e){return Y(m().mark((function r(){var n;return m().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,v();case 2:return n=r.sent,r.abrupt("return",n.showUniversalCheckout(t,e));case 4:case"end":return r.stop()}}),r)})))()},showVaultManager:function(t,e){return Y(m().mark((function r(){var n;return m().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,v();case 2:return n=r.sent,r.abrupt("return",n.showVaultManager(t,e));case 4:case"end":return r.stop()}}),r)})))()}}}(),n}()}));
|
|
1
|
+
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.loader=e():t.loader=e()}(this,(function(){return function(){var t={162:function(t,e,r){t.exports=r(47)},47:function(t){var e=function(t){"use strict";var e,r=Object.prototype,n=r.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",u=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function E(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{E({},"")}catch(t){E=function(t,e,r){return t[e]=r}}function _(t,e,r,n){var o=e&&e.prototype instanceof P?e:P,i=Object.create(o.prototype),u=new C(n||[]);return i._invoke=function(t,e,r){var n=A;return function(o,i){if(n===f)throw new Error("Generator is already running");if(n===T){if("throw"===o)throw i;return Y()}for(r.method=o,r.arg=i;;){var u=r.delegate;if(u){var c=d(u,r);if(c){if(c===s)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(n===A)throw n=T,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n=f;var E=a(t,e,r);if("normal"===E.type){if(n=r.done?T:O,E.arg===s)continue;return{value:E.arg,done:r.done}}"throw"===E.type&&(n=T,r.method="throw",r.arg=E.arg)}}}(t,r,u),i}function a(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=_;var A="suspendedStart",O="suspendedYield",f="executing",T="completed",s={};function P(){}function N(){}function l(){}var R={};R[i]=function(){return this};var h=Object.getPrototypeOf,p=h&&h(h(y([])));p&&p!==r&&n.call(p,i)&&(R=p);var L=l.prototype=P.prototype=Object.create(R);function I(t){["next","throw","return"].forEach((function(e){E(t,e,(function(t){return this._invoke(e,t)}))}))}function D(t,e){function r(o,i,u,c){var E=a(t[o],t,i);if("throw"!==E.type){var _=E.arg,A=_.value;return A&&"object"==typeof A&&n.call(A,"__await")?e.resolve(A.__await).then((function(t){r("next",t,u,c)}),(function(t){r("throw",t,u,c)})):e.resolve(A).then((function(t){_.value=t,u(_)}),(function(t){return r("throw",t,u,c)}))}c(E.arg)}var o;this._invoke=function(t,n){function i(){return new e((function(e,o){r(t,n,e,o)}))}return o=o?o.then(i,i):i()}}function d(t,r){var n=t.iterator[r.method];if(n===e){if(r.delegate=null,"throw"===r.method){if(t.iterator.return&&(r.method="return",r.arg=e,d(t,r),"throw"===r.method))return s;r.method="throw",r.arg=new TypeError("The iterator does not provide a 'throw' method")}return s}var o=a(n,t.iterator,r.arg);if("throw"===o.type)return r.method="throw",r.arg=o.arg,r.delegate=null,s;var i=o.arg;return i?i.done?(r[t.resultName]=i.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,s):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,s)}function m(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function S(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function C(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(m,this),this.reset(!0)}function y(t){if(t){var r=t[i];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,u=function r(){for(;++o<t.length;)if(n.call(t,o))return r.value=t[o],r.done=!1,r;return r.value=e,r.done=!0,r};return u.next=u}}return{next:Y}}function Y(){return{value:e,done:!0}}return N.prototype=L.constructor=l,l.constructor=N,N.displayName=E(l,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===N||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,l):(t.__proto__=l,E(t,c,"GeneratorFunction")),t.prototype=Object.create(L),t},t.awrap=function(t){return{__await:t}},I(D.prototype),D.prototype[u]=function(){return this},t.AsyncIterator=D,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var u=new D(_(e,r,n,o),i);return t.isGeneratorFunction(r)?u:u.next().then((function(t){return t.done?t.value:u.next()}))},I(L),E(L,c,"Generator"),L[i]=function(){return this},L.toString=function(){return"[object Generator]"},t.keys=function(t){var e=[];for(var r in t)e.push(r);return e.reverse(),function r(){for(;e.length;){var n=e.pop();if(n in t)return r.value=n,r.done=!1,r}return r.done=!0,r}},t.values=y,C.prototype={constructor:C,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(S),!t)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function o(n,o){return c.type="throw",c.arg=t,r.next=n,o&&(r.method="next",r.arg=e),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var u=this.tryEntries[i],c=u.completion;if("root"===u.tryLoc)return o("end");if(u.tryLoc<=this.prev){var E=n.call(u,"catchLoc"),_=n.call(u,"finallyLoc");if(E&&_){if(this.prev<u.catchLoc)return o(u.catchLoc,!0);if(this.prev<u.finallyLoc)return o(u.finallyLoc)}else if(E){if(this.prev<u.catchLoc)return o(u.catchLoc,!0)}else{if(!_)throw new Error("try statement without catch or finally");if(this.prev<u.finallyLoc)return o(u.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var u=i?i.completion:{};return u.type=t,u.arg=e,i?(this.method="next",this.next=i.finallyLoc,s):this.complete(u)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),s},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),S(r),s}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;S(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:y(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),s}},t}(t.exports);try{regeneratorRuntime=e}catch(t){Function("r","regeneratorRuntime = r")(e)}}},e={};function r(n){var o=e[n];if(void 0!==o)return o.exports;var i=e[n]={exports:{}};return t[n](i,i.exports,r),i.exports}r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,{a:e}),e},r.d=function(t,e){for(var n in e)r.o(e,n)&&!r.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var n={};return function(){"use strict";var t,e,o,i,u,c;function E(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}r.r(n),r.d(n,{CheckoutUXFlow:function(){return I},ErrorCode:function(){return _},PaymentFlow:function(){return t},PaymentInstrumentType:function(){return i},PaymentMethodType:function(){return u},Primer:function(){return U},SuccessScreenType:function(){return D},ThreeDSecureStatus:function(){return o},TokenType:function(){return c},preloadPrimer:function(){return w}}),function(t){t.DEFAULT="DEFAULT",t.PREFER_VAULT="PREFER_VAULT"}(t||(t={})),function(t){t.TOKENIZE_STARTED="tokenize-started",t.TOKENIZE_ERROR="tokenize-error",t.TOKENIZE_SUCCESS="tokenize-success",t.TOKENIZE_DID_NOT_START="tokenize-did-not-start"}(e||(e={})),function(t){t.SUCCESS="AUTH_SUCCESS",t.FAILED="AUTH_FAILED",t.SKIPPED="SKIPPED",t.CHALLENGE="CHALLENGE"}(o||(o={})),function(t){t.PRIMER_PAYPAL="PRIMER_PAYPAL",t.TWOC2P="TWOC2P",t.NETS="NETS",t.STRIPE_GIROPAY="STRIPE_GIROPAY",t.MOLLIE_GIROPAY="MOLLIE_GIROPAY",t.MOLLIE_EPS="MOLLIE_EPS",t.PAY_NL_EPS="PAY_NL_EPS",t.PAY_NL_P24="PAY_NL_P24",t.MOLLIE_P24="MOLLIE_P24",t.MOLLIE_SOFORT="MOLLIE_SOFORT",t.COINBASE="COINBASE",t.OPENNODE="OPENNODE",t.MOLLIE_GIFT_CARD="MOLLIE_GIFTCARD",t.XFERS_PAYNOW="XFERS_PAYNOW",t.CARD="PAYMENT_CARD",t.APPLE_PAY="APPLE_PAY",t.GOOGLE_PAY="GOOGLE_PAY",t.PAYPAL="PAYPAL_ORDER",t.PAYPAL_VAULTED="PAYPAL_BILLING_AGREEMENT",t.GO_CARDLESS="GOCARDLESS",t.PAY_NL_IDEAL="PAY_NL_IDEAL",t.PAY_NL_SOFORT_BANKING="PAY_NL_SOFORT_BANKING",t.PAY_NL_BANCONTACT="PAY_NL_BANCONTACT",t.PAY_NL_PAYPAL="PAY_NL_PAYPAL",t.PAY_NL_CREDIT_TRANSFER="PAY_NL_CREDIT_TRANSFER",t.PAY_NL_DIRECT_DEBIT="PAY_NL_DIRECT_DEBIT",t.PAY_NL_GIROPAY="PAY_NL_GIROPAY",t.PAY_NL_PAYCONIQ="PAY_NL_PAYCONIQ",t.HOOLAH="HOOLAH",t.ADYEN_BLIK="ADYEN_BLIK",t.ADYEN_VIPPS="ADYEN_VIPPS",t.ADYEN_GIROPAY="ADYEN_GIROPAY",t.ADYEN_SOFORT="ADYEN_SOFORT",t.ADYEN_TRUSTLY="ADYEN_TRUSTLY",t.ADYEN_ALIPAY="ADYEN_ALIPAY",t.ADYEN_TWINT="ADYEN_TWINT",t.ADYEN_MOBILEPAY="ADYEN_MOBILEPAY",t.MOLLIE_BANCONTACT="MOLLIE_BANCONTACT",t.MOLLIE_IDEAL="MOLLIE_IDEAL",t.BUCKAROO_GIROPAY="BUCKAROO_GIROPAY",t.BUCKAROO_EPS="BUCKAROO_EPS",t.BUCKAROO_SOFORT="BUCKAROO_SOFORT",t.BUCKAROO_BANCONTACT="BUCKAROO_BANCONTACT",t.BUCKAROO_IDEAL="BUCKAROO_IDEAL",t.ATOME="ATOME"}(i||(i={})),function(t){t.PRIMER_PAYPAL="PRIMER_PAYPAL",t.TWOC2P="TWOC2P",t.NETS="NETS",t.STRIPE_GIROPAY="STRIPE_GIROPAY",t.MOLLIE_GIROPAY="MOLLIE_GIROPAY",t.MOLLIE_EPS="MOLLIE_EPS",t.PAY_NL_EPS="PAY_NL_EPS",t.PAY_NL_P24="PAY_NL_P24",t.MOLLIE_P24="MOLLIE_P24",t.MOLLIE_SOFORT="MOLLIE_SOFORT",t.COINBASE="COINBASE",t.OPENNODE="OPENNODE",t.MOLLIE_GIFT_CARD="MOLLIE_GIFTCARD",t.XFERS_PAYNOW="XFERS_PAYNOW",t.PAYMENT_CARD="PAYMENT_CARD",t.APPLE_PAY="APPLE_PAY",t.GOOGLE_PAY="GOOGLE_PAY",t.PAYPAL="PAYPAL",t.GO_CARDLESS="GOCARDLESS",t.KLARNA="KLARNA",t.PAY_NL_IDEAL="PAY_NL_IDEAL",t.PAY_NL_SOFORT_BANKING="PAY_NL_SOFORT_BANKING",t.PAY_NL_BANCONTACT="PAY_NL_BANCONTACT",t.PAY_NL_PAYPAL="PAY_NL_PAYPAL",t.PAY_NL_CREDIT_TRANSFER="PAY_NL_CREDIT_TRANSFER",t.PAY_NL_DIRECT_DEBIT="PAY_NL_DIRECT_DEBIT",t.PAY_NL_GIROPAY="PAY_NL_GIROPAY",t.PAY_NL_PAYCONIQ="PAY_NL_PAYCONIQ",t.HOOLAH="HOOLAH",t.ADYEN_BLIK="ADYEN_BLIK",t.ADYEN_MOBILEPAY="ADYEN_MOBILEPAY",t.ADYEN_VIPPS="ADYEN_VIPPS",t.ADYEN_GIROPAY="ADYEN_GIROPAY",t.ADYEN_SOFORT="ADYEN_SOFORT",t.ADYEN_TRUSTLY="ADYEN_TRUSTLY",t.ADYEN_ALIPAY="ADYEN_ALIPAY",t.ADYEN_TWINT="ADYEN_TWINT",t.ADYEN_BANK_TRANSFER="ADYEN_BANK_TRANSFER",t.MOLLIE_BANCONTACT="MOLLIE_BANCONTACT",t.MOLLIE_IDEAL="MOLLIE_IDEAL",t.BUCKAROO_GIROPAY="BUCKAROO_GIROPAY",t.BUCKAROO_EPS="BUCKAROO_EPS",t.BUCKAROO_SOFORT="BUCKAROO_SOFORT",t.BUCKAROO_BANCONTACT="BUCKAROO_BANCONTACT",t.BUCKAROO_IDEAL="BUCKAROO_IDEAL",t.ATOME="ATOME"}(u||(u={})),function(t){t.SINGLE_USE="SINGLE_USE",t.MULTI_USE="MULTI_USE"}(c||(c={}));var _;E({},i.PAYPAL_VAULTED,u.PAYPAL);function a(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function A(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function O(t,e){return(Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function f(t){return("function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function T(t,e){if(e&&("object"===f(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return A(t)}function s(t){return(Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function P(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}function N(t,e,r){return(P()?Reflect.construct:function(t,e,r){var n=[null];n.push.apply(n,e);var o=new(Function.bind.apply(t,n));return r&&O(o,r.prototype),o}).apply(null,arguments)}function l(t){var e="function"==typeof Map?new Map:void 0;return function(t){if(null===t||(t,-1===Function.toString.call(r).indexOf("[native code]")))return t;var r;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==e){if(e.has(t))return e.get(t);e.set(t,n)}function n(){return N(t,arguments,s(this).constructor)}return n.prototype=Object.create(t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),O(n,t)}(t)}function R(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=s(t);if(e){var o=s(this).constructor;Reflect.construct(n,arguments,o)}else n.apply(this,arguments);return T(this,r)}}!function(t){t.INITIALIZATION_ERROR="INITIALIZATION_ERROR",t.NO_PAYMENT_METHODS="NO_PAYMENT_METHODS",t.PRIMER_TEARDOWN="PRIMER_TEARDOWN",t.PRIMER_SERVER_ERROR="PRIMER_SERVER_ERROR",t.THREE_DS_SETUP_ERROR="THREE_DS_SETUP_ERROR",t.THREE_DS_AUTH_FAILED="THREE_DS_AUTH_FAILED",t.THREE_DS_NEGOTIATION_ERROR="THREE_DS_NEGOTIATION_ERROR",t.TOKENIZATION_ERROR="TOKENIZATION_ERROR",t.DUPLICATE_PAYMENT_METHOD_ERROR="DUPLICATE_PAYMENT_METHOD_ERROR",t.CARD_NUMBER_ERROR="CARD_NUMBER_ERROR",t.PAYMENT_METHOD_NOT_SETUP="PAYMENT_METHOD_NOT_SETUP",t.PAYMENT_METHOD_NOT_PROVIDED="PAYMENT_METHOD_NOT_SETUP",t.PAYMENT_METHOD_NOT_COMPATIBLE="PAYMENT_METHOD_NOT_COMPATIBLE",t.RESUME_ERROR="RESUME_ERROR",t.TAX_ERROR="TAX_ERROR",t.VALIDATION_ERROR="VALIDATION_ERROR",t.PAYMENT_FAILED="PAYMENT_FAILED",t.PAYMENT_CREATION_ABORTED="PAYMENT_CREATION_ABORTED",t.PAYMENT_CREATION_DISABLED="PAYMENT_CREATION_DISABLED",t.CLIENT_SESSION_UPDATE_ERROR="CLIENT_SESSION_UPDATE_ERROR",t.INVALID_ARGUMENT="INVALID_ARGUMENT"}(_||(_={}));var h,p,L,I,D;Error;!function(t){t.LOADING="Loading",t.THREE_DS="UniversalCheckout/3ds",t.CHOOSE_PAYMENT_METHOD="UniversalCheckout/Home",t.MANAGE_PAYMENT_METHODS="VaultManager/Home",t.DIRECT_DEBIT_FORM="DirectDebit/Form",t.DIRECT_DEBIT_MANDATE="DirectDebit/Mandate",t.CREDIT_CARD_FORM="CreditCard/Form",t.SUCCESS_PAYMENT_METHOD="UniversalCheckout/Success/PaymentMethod",t.SUCCESS_CHECK="UniversalCheckout/Success/Check"}(h||(h={})),function(t){t.ROOT="primer-checkout",t.ROOT_CONTENT="primer-checkout-content",t.SUBMIT_BUTTON="primer-checkout-submit-button",t.THREE_DS_MODAL="primer-checkout-3ds-modal",t.VAULT="primer-checkout-vault",t.VAULT_INLINE="primer-checkout-vault-inline",t.NAVIGATE_PAYMENT_METHODS="primer-checkout-navigate-to-payment-methods",t.DIVIDER="primer-checkout-payment-method-divider",t.APM_BUTTONS="primer-checkout-apm-button-container",t.CARDHOLDER_NAME="primer-checkout-cardholder-name",t.CARDHOLDER_NAME_INPUT="primer-checkout-cardholder-name-input",t.ACTIONS="primer-checkout-actions",t.ACTIONS_MENU="primer-checkout-actions-menu",t.SAVE_PAYMENT_METHOD_CHECKBOX="primer-checkout-save-payment-method-input",t.SAVE_PAYMENT_METHOD_FIELD="primer-checkout-save-payment-method-field",t.SAVED_PAYMENT_METHODS_EMPTY="primer-checkout-saved-payment-methods-empty-text",t.CARD_FORM="primer-checkout-card-form",t.DD_SWITCH="primer-checkout-switch-dd-inputs",t.DD_IBAN_FIELD="primer-checkout-dd-iban-field",t.DD_LOCAL_FIELD="primer-checkout-dd-local-fields",t.DD_CUSTOMER_NAME_INPUT="primer-checkout-dd-customer-name-input",t.DD_CUSTOMER_EMAIL_INPUT="primer-checkout-dd-customer-email-input",t.DD_CUSTOMER_ADDRESS_LINE1="primer-checkout-dd-customer-address-input",t.DD_CUSTOMER_ADDRESS_LINE2="primer-checkout-dd-customer-address-line2-input",t.DD_CUSTOMER_ADDRESS_CITY="primer-checkout-dd-customer-city-input",t.DD_CUSTOMER_ADDRESS_POSTAL_CODE="primer-checkout-dd-customer-postal-code-input",t.DD_IBAN_INPUT="primer-checkout-dd-iban-input",t.DD_ACCOUNT_NUMBER_INPUT="primer-checkout-dd-account-number-input",t.DD_BANK_CODE_INPUT="primer-checkout-dd-bank-code-input",t.DD_BRANCH_CODE_INPUT="primer-checkout-dd-branch-code-input",t.DD_MANDATE_SMALL_PRINT="primer-checkout-small-print",t.ERROR_MESSAGE="primer-checkout-error-message"}(p||(p={})),function(t){t.TOKEN="PrimerCheckout__token",t.HIDDEN="PrimerCheckout--hidden",t.FOCUSED="PrimerCheckout--focused",t.SELECTED="PrimerCheckout--selected",t.LOADING="PrimerCheckout--loading",t.ERROR="PrimerCheckout--error",t.CARD_TYPE="PrimerCheckout__cardType",t.SAVED_PAYMENT_METHOD="PrimerCheckout__savedPaymentMethod",t.SAVED_PAYMENT_METHOD_CONTAINER="PrimerCheckout__savedPaymentMethodContainer",t.APM_BUTTON="PrimerCheckout__apmButton",t.EDIT_BUTTON="PrimerCheckout__editButton",t.MENU="PrimerCheckout__dropDownMenu",t.MENU_ITEM="PrimerCheckout__dropDownMenuItem",t.PAYMENT_METHOD_MENU_ITEM="PrimerCheckout__paymentMethodDropDownMenuItem",t.DELETE_PAYMENT_METHOD_BUTTON="PrimerCheckout__paymentMethodDropDownMenuItem__deleteButton",t.ENTER="PrimerCheckout--enter",t.ENTERING="PrimerCheckout--entering",t.ENTERED="PrimerCheckout--entered",t.EXIT="PrimerCheckout--exit",t.EXITING="PrimerCheckout--exiting",t.EXITED="PrimerCheckout--exited"}(L||(L={})),function(t){t.CHECKOUT="CHECKOUT",t.MANAGE_PAYMENT_METHODS="MANAGE_PAYMENT_METHODS",t.SINGLE_PAYMENT_METHOD_CHECKOUT="SINGLE_PAYMENT_METHOD_CHECKOUT"}(I||(I={})),function(t){t.PAYMENT_METHOD="PAYMENT_METHOD",t.CHECK="CHECK"}(D||(D={}));var d=r(162),m=r.n(d);function S(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function C(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i=[],u=!0,c=!1;try{for(r=r.call(t);!(u=(n=r.next()).done)&&(i.push(n.value),!e||i.length!==e);u=!0);}catch(t){c=!0,o=t}finally{try{u||null==r.return||r.return()}finally{if(c)throw o}}return i}}(t,e)||function(t,e){if(t){if("string"==typeof t)return S(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?S(t,e):void 0}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function y(t,e,r,n,o,i,u){try{var c=t[i](u),E=c.value}catch(t){return void r(t)}c.done?e(E):Promise.resolve(E).then(n,o)}function Y(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function u(t){y(i,n,o,u,c,"next",t)}function c(t){y(i,n,o,u,c,"throw",t)}u(void 0)}))}}var M=null,v=function(){var t=Y(m().mark((function t(){var e,r;return m().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!M){t.next=2;break}return t.abrupt("return",M);case 2:if(!window.Primer){t.next=4;break}return t.abrupt("return",Promise.resolve(window.Primer));case 4:return e=new Promise((function(t,e){var r=window.document.querySelector('script[src^="'.concat("https://sdk.primer.io/web/v2.2.2/Primer.min.js",'"]'));r||((r=document.createElement("script")).setAttribute("src","https://sdk.primer.io/web/v2.2.2/Primer.min.js"),r.setAttribute("crossorigin","anonymous"),window.document.head.appendChild(r)),r.onload=function(){t(window.Primer)},r.onerror=function(){var t;M=null,null===(t=r)||void 0===t||t.remove(),e(new Error("Can't load Primer SDK"))}})),r=new Promise((function(t,e){var r=window.document.querySelector('link[href^="'.concat("https://sdk.primer.io/web/v2.2.2/Checkout.css",'"]'));r||((r=document.createElement("link")).setAttribute("rel","stylesheet"),r.setAttribute("href","https://sdk.primer.io/web/v2.2.2/Checkout.css"),window.document.head.appendChild(r)),r.onload=function(){t()},r.onerror=function(){var t;null===(t=r)||void 0===t||t.remove(),e(new Error("Can't load Primer SDK's Stylesheet"))}})),M=Promise.all([e,r]).then((function(t){return C(t,1)[0]})),t.abrupt("return",M);case 8:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),w=function(){var t=Y(m().mark((function t(){return m().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",v().then((function(){})));case 1:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),U={showUniversalCheckout:function(t,e){return Y(m().mark((function r(){var n;return m().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,v();case 2:return n=r.sent,r.abrupt("return",n.showUniversalCheckout(t,e));case 4:case"end":return r.stop()}}),r)})))()},showVaultManager:function(t,e){return Y(m().mark((function r(){var n;return m().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,v();case 2:return n=r.sent,r.abrupt("return",n.showVaultManager(t,e));case 4:case"end":return r.stop()}}),r)})))()}}}(),n}()}));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@primer-io/checkout-web",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.2",
|
|
4
4
|
"description": "Primer.js for the web",
|
|
5
5
|
"author": "Will Knowles <will@primerapi.com>",
|
|
6
6
|
"homepage": "",
|
|
@@ -26,5 +26,5 @@
|
|
|
26
26
|
"lint": "run -T eslint ./src",
|
|
27
27
|
"check-types": "run -T tsc --noemit -p tsconfig.json"
|
|
28
28
|
},
|
|
29
|
-
"gitHead": "
|
|
29
|
+
"gitHead": "048921243ce10e914f5f38db1c0347418fe14672"
|
|
30
30
|
}
|