@primer-io/primer-js 0.1.1 → 0.1.3
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/chunks/ar.5AY75F5J.js +1 -0
- package/dist/chunks/bg.2EL2HTYI.js +1 -0
- package/dist/chunks/ca.WZI7CBFW.js +1 -0
- package/dist/chunks/chunk.G45OCYEN.js +1 -0
- package/dist/chunks/chunk.QMLIEEKM.js +2 -0
- package/dist/chunks/cs.GBLLNC3E.js +1 -0
- package/dist/chunks/da.CDEFQG44.js +1 -0
- package/dist/chunks/de.UHURA2HV.js +1 -0
- package/dist/chunks/el.BY5NGYDF.js +1 -0
- package/dist/chunks/en-GB.UBLLAUVW.js +1 -0
- package/dist/chunks/en.BKAVPUID.js +1 -0
- package/dist/chunks/es-AR.EYNC6EAZ.js +1 -0
- package/dist/chunks/es-MX.OIO2YURF.js +1 -0
- package/dist/chunks/es.CNNIJYLX.js +1 -0
- package/dist/chunks/et-EE.4ZF6CLB6.js +1 -0
- package/dist/chunks/fi-FI.4ZXWRRYI.js +1 -0
- package/dist/chunks/fr.TZM5I4K2.js +1 -0
- package/dist/chunks/he.DWEZBG4A.js +1 -0
- package/dist/chunks/hr.BV4PC324.js +1 -0
- package/dist/chunks/hu.MTEKSS3J.js +1 -0
- package/dist/chunks/id.SJSTOPSC.js +1 -0
- package/dist/chunks/it.IISTMHN5.js +1 -0
- package/dist/chunks/ja.IBQ3ID5C.js +1 -0
- package/dist/chunks/ko.KZVQLI4V.js +1 -0
- package/dist/chunks/lt-LT.RKBB7CZ6.js +1 -0
- package/dist/chunks/lt.TLM7OCXP.js +1 -0
- package/dist/chunks/lv-LV.H5TJC2T4.js +1 -0
- package/dist/chunks/lv.G4SRVBAC.js +1 -0
- package/dist/chunks/ms.ATTITA66.js +1 -0
- package/dist/chunks/nb.5EE7XOA7.js +1 -0
- package/dist/chunks/nl.TY2SYTKZ.js +1 -0
- package/dist/chunks/nl_NL.GB5BQ5PG.js +1 -0
- package/dist/chunks/pl.5PRBSG4K.js +3 -0
- package/dist/chunks/pt-BR.5XRZB5WW.js +1 -0
- package/dist/chunks/pt.TA5H5JUJ.js +1 -0
- package/dist/chunks/ro.PSZKGHRP.js +1 -0
- package/dist/chunks/ru.3QZY7ZIT.js +1 -0
- package/dist/chunks/sk.FAQFYLGM.js +1 -0
- package/dist/chunks/sl.QRSCQXJP.js +1 -0
- package/dist/chunks/sr-RS.TKMMG7FK.js +1 -0
- package/dist/chunks/sv.HZ3E6V5F.js +1 -0
- package/dist/chunks/th.AY6M42B4.js +1 -0
- package/dist/chunks/tr.TFKBPYMO.js +1 -0
- package/dist/chunks/uk-UA.3TU67RSI.js +1 -0
- package/dist/chunks/vi.NLXELMXV.js +1 -0
- package/dist/chunks/zf.U5XPENNR.js +1 -0
- package/dist/chunks/zh-CN.VEOQJ3EU.js +1 -0
- package/dist/chunks/zh-HK.ZEXSW7FF.js +1 -0
- package/dist/chunks/zh-TW.MMVWEQMZ.js +1 -0
- package/dist/custom-elements.json +2415 -559
- package/dist/primer-loader.d.ts +223 -34
- package/dist/primer-loader.js +2286 -4
- package/dist/web-types.json +1 -1
- package/package.json +1 -1
|
@@ -16,32 +16,48 @@
|
|
|
16
16
|
},
|
|
17
17
|
{
|
|
18
18
|
"kind": "variable",
|
|
19
|
-
"name": "
|
|
19
|
+
"name": "ur",
|
|
20
20
|
"default": "class{constructor(t){this._methods=t}get(t){return this._methods.get(t)}toArray(){return Array.from(this._methods.values())}size(){return this._methods.size}}"
|
|
21
21
|
},
|
|
22
22
|
{
|
|
23
23
|
"kind": "variable",
|
|
24
24
|
"name": "ae",
|
|
25
|
-
"default": "class extends f{constructor(){super();this.customStyles=\"\";this.clientToken=\"\";this.options={};this._jsInitialized=!1;this.previousLoadingState=!0;this.hasAssignedContent=!1;this.locale=\"en-GB\";this.onSlotChange=e=>{let i=e.target.assignedNodes({flatten:!0});this.hasAssignedContent=i.length>0,this.requestUpdate()};this.sdkContextController=new
|
|
25
|
+
"default": "class extends f{constructor(){super();this.customStyles=\"\";this.clientToken=\"\";this.options={};this._jsInitialized=!1;this.previousLoadingState=!0;this.hasAssignedContent=!1;this._loadingTimeoutId=null;this.locale=\"en-GB\";this.onSlotChange=e=>{let i=e.target.assignedNodes({flatten:!0});this.hasAssignedContent=i.length>0,this.requestUpdate()};this.sdkContextController=new Zt(this),this.sdkStateController=new Wt(this),this.primerEventsController=new tt(this),this.styleProcessingController=new Xt(this),this.vaultManagerController=new St(this),this.cardNetworkController=new Ft(this),new gr(this)}set jsInitialized(e){this.requestUpdate(),this._jsInitialized=e}get jsInitialized(){return this._jsInitialized}attributeChangedCallback(e,r,i){e===\"customstyles\"?this.styleProcessingController.processCustomStyles(i):super.attributeChangedCallback(e,r,i)}disconnectedCallback(){this._loadingTimeoutId&&(window.clearTimeout(this._loadingTimeoutId),this._loadingTimeoutId=null),this.sdkStateController?.state.isLoading&&this.sdkStateController.forceCompleteLoading(),super.disconnectedCallback()}willUpdate(e){e.has(\"options\")&&(this.options?.locale&&(Xr(this.options?.locale)?this.locale=Jr(this.options?.locale):k.warn(\"\\u{1F30E}\\u2757 Unsupported locale provided:\",this.options?.locale,\"- Falling back to default locale `en-GB`\")),Zr(this.locale||\"en-GB\"))}updated(){let e=getComputedStyle(this);this.sdkContextController.setComputedStyles(e),this.checkLoadingStateChange()}checkLoadingStateChange(){let e=this.sdkStateController?.state.isLoading||!1;this.previousLoadingState&&!e&&(this.jsInitialized=!0),this.previousLoadingState=e,e&&!this._loadingTimeoutId?this._loadingTimeoutId=window.setTimeout(()=>{this.sdkStateController?.state.isLoading&&(k.warn(\"Loading timeout in component, forcing completion\"),this.sdkStateController.forceCompleteLoading(),this.jsInitialized=!0),this._loadingTimeoutId=null},1e4):!e&&this._loadingTimeoutId&&(window.clearTimeout(this._loadingTimeoutId),this._loadingTimeoutId=null)}render(){let e=this.sdkStateController.state,r=e.isLoading,i=e.error,s=!r&&!i;return m` ${$(r,()=>u)} ${$(i,()=>m`<primer-checkout-error></primer-checkout-error>`)} ${$(s,()=>m` <slot name=\"main\" @slotchange=${this.onSlotChange}></slot> ${$(this.hasAssignedContent,()=>u,()=>m`<primer-main></primer-main>`)} `,()=>u)} `}addEventListener(e,r,i){super.addEventListener(e,r,i)}}"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"kind": "function",
|
|
29
|
+
"name": "_i"
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"kind": "function",
|
|
33
|
+
"name": "Ti"
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"kind": "function",
|
|
37
|
+
"name": "Ln"
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"kind": "function",
|
|
41
|
+
"name": "Nn"
|
|
26
42
|
},
|
|
27
43
|
{
|
|
28
44
|
"kind": "variable",
|
|
29
45
|
"name": "xe",
|
|
30
|
-
"default": "class extends f{constructor(){super(...arguments);this.color=\"var(--primer-color-loader)\";this.size=\"medium\";this.compact=!1}getSize(){if(this.size in
|
|
46
|
+
"default": "class extends f{constructor(){super(...arguments);this.color=\"var(--primer-color-loader)\";this.size=\"medium\";this.compact=!1}getSize(){if(this.size in no)return no[this.size];let e=parseInt(this.size,10);return isNaN(e)?no.medium:e}render(){let e=this.getSize(),r=20,i=`0 0 ${r} ${r}`;return this.style.setProperty(\"--spinner-color\",this.color),this.style.setProperty(\"--spinner-size\",`${e}px`),m` <div class=\"spinner-container ${this.compact?\"compact\":\"\"}\"> <svg class=\"spinner\" width=\"${e}\" height=\"${e}\" viewBox=\"${i}\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" role=\"status\" aria-label=\"Loading\" > <path d=\"M4.27827 10.002C4.27827 6.84166 6.84019 4.27973 10.0005 4.27973C10.7676 4.27973 11.3894 3.6579 11.3894 2.89084C11.3894 2.12378 10.7676 1.50195 10.0005 1.50195C5.30607 1.50195 1.50049 5.30753 1.50049 10.002C1.50049 14.6964 5.30607 18.502 10.0005 18.502C14.6949 18.502 18.5005 14.6964 18.5005 10.002C18.5005 9.23489 17.8787 8.61306 17.1116 8.61306C16.3445 8.61306 15.7227 9.23489 15.7227 10.002C15.7227 13.1622 13.1608 15.7242 10.0005 15.7242C6.84019 15.7242 4.27827 13.1622 4.27827 10.002Z\" fill=\"currentColor\" class=\"path\" /> </svg> </div> `}}"
|
|
31
47
|
},
|
|
32
48
|
{
|
|
33
49
|
"kind": "variable",
|
|
34
50
|
"name": "Ce",
|
|
35
|
-
"default": "class extends f{constructor(){super(...arguments);this.focusWithin=!1;this.hasError=!1}handleWrapperClick(e){if(e.target!==e.currentTarget)return;let r=this.findSlottedPrimerInput();r?r.focus():this.dispatchEvent(new CustomEvent(\"wrapper-click\",{bubbles:!0,composed:!0}))}findSlottedPrimerInput(){if(!this.inputSlot)return null;let e=this.inputSlot.assignedElements({flatten:!0}),r=e.find(i=>i.tagName.toLowerCase()===\"primer-input\");if(r)return r;for(let i of e){let
|
|
51
|
+
"default": "class extends f{constructor(){super(...arguments);this.focusWithin=!1;this.hasError=!1}handleWrapperClick(e){if(e.target!==e.currentTarget)return;let r=this.findSlottedPrimerInput();r?r.focus():this.dispatchEvent(new CustomEvent(\"wrapper-click\",{bubbles:!0,composed:!0}))}findSlottedPrimerInput(){if(!this.inputSlot)return null;let e=this.inputSlot.assignedElements({flatten:!0}),r=e.find(i=>i.tagName.toLowerCase()===\"primer-input\");if(r)return r;for(let i of e){let s=i.querySelector(\"primer-input\");if(s)return s}return null}render(){let e={\"input-slot\":!0,\"focus-within\":this.focusWithin};return m` <div class=\"input-wrapper\"> <slot name=\"label\"></slot> <div class=\"${ce(e)}\" @click=\"${this.handleWrapperClick}\"> <slot name=\"input\"></slot> </div> <slot name=\"error\"></slot> </div> `}}"
|
|
36
52
|
},
|
|
37
53
|
{
|
|
38
54
|
"kind": "variable",
|
|
39
|
-
"name": "
|
|
55
|
+
"name": "Ne",
|
|
40
56
|
"default": "class extends f{constructor(){super(...arguments);this.for=\"\";this.disabled=!1}render(){return m`<label for=${this.for}><slot></slot></label>`}}"
|
|
41
57
|
},
|
|
42
58
|
{
|
|
43
59
|
"kind": "variable",
|
|
44
|
-
"name": "
|
|
60
|
+
"name": "ne",
|
|
45
61
|
"default": "class extends f{constructor(){super(...arguments);this.variant=\"primary\";this.disabled=!1;this.loading=!1;this.buttonType=\"button\";this.selectionState=\"default\";this.selectable=!1}handleClick(){!this.selectable||this.disabled||this.loading||(this.selectionState=this.selectionState===\"default\"?\"checked\":\"default\",this.dispatchEvent(new CustomEvent(\"selection-change\",{bubbles:!0,composed:!0,detail:{state:this.selectionState}})))}renderCheckmark(){return!this.selectable||this.selectionState!==\"checked\"||this.loading?u:m` <primer-icon name=\"checkmark\" size=\"sm\" color=\"var(--primer-color-icon-primary)\" ></primer-icon> `}renderSpinner(){if(!this.loading)return u;let e;return this.variant===\"primary\"?e=\"var(--primer-color-background-outlined-default)\":(this.variant===\"secondary\"||this.variant===\"tertiary\")&&(e=\"var(--primer-color-gray-900)\"),m` <primer-spinner size=\"small\" color=\"${e}\" compact ></primer-spinner> `}render(){return m` <button type=${this.buttonType} ?disabled=${this.disabled||this.loading} @click=${this.handleClick} part=\"button\" aria-checked=${this.selectionState===\"checked\"} aria-busy=${this.loading} > ${this.renderSpinner()} <span class=\"button-content ${this.loading?\"loading\":\"\"}\"> <slot></slot> </span> ${this.renderCheckmark()} </button> `}}"
|
|
46
62
|
},
|
|
47
63
|
{
|
|
@@ -52,7 +68,7 @@
|
|
|
52
68
|
{
|
|
53
69
|
"kind": "variable",
|
|
54
70
|
"name": "Ae",
|
|
55
|
-
"default": "class extends f{constructor(){super(...arguments);this.color=\"var(--primer-color-icon-primary)\";this.size=\"lg\"}render(){let e=this.name?
|
|
71
|
+
"default": "class extends f{constructor(){super(...arguments);this.color=\"var(--primer-color-icon-primary)\";this.size=\"lg\"}render(){let e=this.name?Ni[this.name]:null;return m` <div style=\"--internal-icon-color: ${this.color}\"> ${e||m`<slot></slot>`} </div> `}}"
|
|
56
72
|
},
|
|
57
73
|
{
|
|
58
74
|
"kind": "variable",
|
|
@@ -77,7 +93,7 @@
|
|
|
77
93
|
{
|
|
78
94
|
"kind": "variable",
|
|
79
95
|
"name": "Z",
|
|
80
|
-
"default": "class extends f{constructor(){super(...arguments);this.paymentManagers=new Map;this.sdkState=null;this.headlessUtils=null;this.klarnaCategories=null;this.selectedCategory=null;this.isExpanded=!1;this.headerAriaLabel=
|
|
96
|
+
"default": "class extends f{constructor(){super(...arguments);this.paymentManagers=new Map;this.sdkState=null;this.headlessUtils=null;this.klarnaCategories=null;this.selectedCategory=null;this.isExpanded=!1;this.headerAriaLabel=T(\"pay_with\",{id:\"pay_with\"});this._paymentMethodManagerTask=new V(this,{task:async([e,r])=>{if(!e||!r)return N;let i=await r.getCDNAssets(\"KLARNA\");return{manager:e.manager,klarnaIcon:i?.assets?.icon?`${i.goatCdnUrl}/${i.assets.icon}`:\"\"}},args:()=>[this.paymentManagers.get(\"KLARNA\"),this.headlessUtils]})}toggleExpand(){this.isExpanded=!this.isExpanded,this.isExpanded||(this.selectedCategory=null)}async startKlarnaPayment(){if(!(!this._paymentMethodManagerTask.value||!this.selectedCategory))try{await this._paymentMethodManagerTask.value.manager.start({paymentMethodCategoryId:this.selectedCategory})}catch(e){k.error(\"Failed to start Klarna payment\",e)}}async renderSelectedCategory(){if(!(!this._paymentMethodManagerTask.value||!this.selectedCategory||!this.klarnaContainer))try{this.klarnaContainer.innerHTML=\"\",await this._paymentMethodManagerTask.value.manager.renderCategory({containerId:this.klarnaContainer,paymentMethodCategoryId:this.selectedCategory,onHeightChange:e=>{e>0&&(this.klarnaContainer.style.height=`${e}px`)}})}catch(e){k.error(\"Failed to render Klarna category\",e)}}selectCategory(e){this.selectedCategory=e,this.renderSelectedCategory()}updated(e){e.has(\"selectedCategory\")&&this.selectedCategory&&this.renderSelectedCategory()}renderCategorySelection(){let e=this.klarnaCategories?.categories||[];return this.klarnaCategories?.isLoading||!1?m`<div class=\"loading\"> <primer-spinner size=\"small\"></primer-spinner> </div>`:e.length<=1?u:m` <div class=\"category-selection\"> ${e.map(i=>m` <button class=${ce({\"category-button\":!0,selected:i.id===this.selectedCategory})} @click=${()=>{this.selectCategory(i.id)}} > ${i.name} </button> `)} </div> `}renderExpandedContent(){return m` ${this.renderCategorySelection()} ${this.selectedCategory?m` <div id=\"klarna-category-container\" class=\"klarna-category-container\" ></div> `:u} <button class=${ce({\"klarna-pay-button\":!0,loading:!!this.sdkState?.isProcessing,disabled:!this.selectedCategory})} ?disabled=${!this.selectedCategory||this.sdkState?.isProcessing} @click=${()=>this.startKlarnaPayment()} > ${T(\"confirm\",{id:\"confirm\"})} </button> `}render(){return this._paymentMethodManagerTask.render({error:e=>{let r=e instanceof Error?e.message:\"Unknown error in Klarna\";return m`<div class=\"error\"> Error loading Klarna: ${r} </div>`},complete:({manager:e,klarnaIcon:r})=>e?m` <div class=\"klarna-container ${this.isExpanded?\"expanded\":\"\"}\"> <div class=\"klarna-button-header\"> <primer-button buttonType=\"button\" variant=\"secondary\" class=\"klarna-button\" @click=${this.toggleExpand} aria-expanded=${this.isExpanded} aria-controls=\"collapsable-content\" aria-label=${this.headerAriaLabel} > <img src=${r} alt=\"Klarna logo\" /> <span>${T(\"pay_with\",{id:\"pay_with\"})} Klarna</span> <span class=\"klarna-accordion-icon ${this.isExpanded?\"expanded\":\"\"}\" > ▼ </span> </primer-button> </div> <div class=\"klarna-expanded-content ${this.isExpanded?\"visible\":\"\"}\" > <div class=\"klarna-accordion-content\"> ${this.renderExpandedContent()} </div> </div> </div> `:u})}}"
|
|
81
97
|
},
|
|
82
98
|
{
|
|
83
99
|
"kind": "variable",
|
|
@@ -87,7 +103,7 @@
|
|
|
87
103
|
{
|
|
88
104
|
"kind": "variable",
|
|
89
105
|
"name": "ge",
|
|
90
|
-
"default": "class extends f{constructor(){super(...arguments);this.paymentManagers=new Map;this.sdkState=null;this.headlessUtils=null;this._paymentMethodManagerTask=new V(this,{task:async([e,r])=>!e||!r?
|
|
106
|
+
"default": "class extends f{constructor(){super(...arguments);this.paymentManagers=new Map;this.sdkState=null;this.headlessUtils=null;this._paymentMethodManagerTask=new V(this,{task:async([e,r])=>!e||!r?N:r.get(e)?.manager,args:()=>[this.paymentMethod?.type,this.paymentManagers]});this._getAssetsTask=new V(this,{task:async([e,r])=>{if(!e||!r)return N;let i=r.getPaymentMethodConfiguration(e);return i?{backgroundColor:i.displayMetadata.button.backgroundColor.colored,name:i.name,iconUrl:i.displayMetadata.button.iconUrl.colored}:N},args:()=>[this.paymentMethod?.type,this.headlessUtils]});this._setupTasks=new V(this,{task:async([e,r])=>!e||!r?N:{paymentMethodManager:e,assetsConfig:r},args:()=>[this._paymentMethodManagerTask.value,this._getAssetsTask.value]})}startRedirectPayment(){this._paymentMethodManagerTask.value&&this._paymentMethodManagerTask.value.start()}render(){return this._setupTasks.render({error:()=>u,complete:({assetsConfig:e})=>(this.style.setProperty(\"--redirect-payment-button-bg-color\",e.backgroundColor),m` <primer-button @click=\"${()=>this.startRedirectPayment()}\" class=${ce({loading:!!this.sdkState?.isProcessing})} title=\"${T(\"pay_with\",{id:\"pay_with\"})} ${e.name}\" > <span class=\"image-container\"> <img src=\"${e.iconUrl}\" alt=\"${e.name}\" /> </span> </primer-button>`)})}}"
|
|
91
107
|
},
|
|
92
108
|
{
|
|
93
109
|
"kind": "variable",
|
|
@@ -97,91 +113,91 @@
|
|
|
97
113
|
{
|
|
98
114
|
"kind": "variable",
|
|
99
115
|
"name": "Me",
|
|
100
|
-
"default": "class extends f{constructor(){super();this.paymentManagers=new Map;this.computedStyles=null;this._buttonId=\"button-container\";this.loadManagerTask=new V(this,{args:()=>[this.paymentMethod?.type],task:async([e])=>{if(!e)return
|
|
116
|
+
"default": "class extends f{constructor(){super();this.paymentManagers=new Map;this.computedStyles=null;this._buttonId=\"button-container\";this.loadManagerTask=new V(this,{args:()=>[this.paymentMethod?.type],task:async([e])=>{if(!e)return N;let r=this.paymentManagers.get(e)?.manager;if(!r)throw new Error(`No manager found for payment method type ${e}`);return r}}),new V(this,{args:()=>[this.loadManagerTask.value],task:async([e])=>{if(!e)return N;await this.updateComplete;let r=this.shadowRoot?.getElementById(this._buttonId);if(!r)return;let i=this.calculateButtonHeight(),s=e.createButton(),p=this.createRenderOptions(i);return await s.render(this.paymentMethod?.type===\"GOOGLE_PAY\"?this.shadowRoot?.getRootNode():r,p),e}})}calculateButtonHeight(){if(typeof window>\"u\"||!this.isConnected||!this.computedStyles)return 0;let e=parseFloat(this.computedStyles.getPropertyValue(\"--primer-typography-title-large-line-height\")),r=parseFloat(this.computedStyles.getPropertyValue(\"--primer-space-medium\"));return e+2*r}createRenderOptions(e){let r=this.paymentMethod?.type;return r===\"GOOGLE_PAY\"?{style:{shadowRoot:!0}}:r===\"APPLE_PAY\"?{style:{buttonHeight:e}}:r===\"PAYPAL\"?{style:{buttonHeight:e}}:{style:{buttonHeight:e}}}updated(e){e.has(\"paymentMethod\")&&this.paymentMethod&&(this._buttonId=`button-container-${this.paymentMethod.type}`)}render(){return this.loadManagerTask.render({error:()=>u,complete:()=>m` <!-- The native button container is rendered first --> <div class=\"native-button-container\" id=\"${this._buttonId}\"></div> `,pending:()=>u})}}"
|
|
101
117
|
},
|
|
102
118
|
{
|
|
103
119
|
"kind": "variable",
|
|
104
|
-
"name": "
|
|
105
|
-
"default": "class extends f{constructor(){super(...arguments);this.hasAssignedContent=!1;this.selectedCardNetwork=null;this.paymentManagers=new Map;this.cardFormProvider=new K(this,{context:
|
|
120
|
+
"name": "Se",
|
|
121
|
+
"default": "class extends f{constructor(){super(...arguments);this.hasAssignedContent=!1;this.selectedCardNetwork=null;this.paymentManagers=new Map;this.cardFormProvider=new K(this,{context:vr,initialValue:null});this.eventsController=new tt(this);this.setupCardFormTask=new V(this,{task:async([e])=>{if(!e?.manager)return N;let{manager:r}=e,{cardNumberInput:i,expiryInput:s,cvvInput:p}=r.createHostedInputs();return this.cardFormProvider.setValue({cardNumberInput:i,expiryInput:s,cvvInput:p,setCardholderName:x=>r.setCardholderName(x),setCardNetwork:x=>{this.selectedCardNetwork=x},validate:()=>r.validate(),submit:x=>r.submit(x)}),!0},args:()=>[this.paymentManagers.get(\"PAYMENT_CARD\")]});this.handleSlotButtonClick=e=>{let i=e.target.closest(\"button, primer-button\");if(!i)return;this.isSubmitButton(i)&&(e.preventDefault(),this.submitCardPayment())};this.handleDirectSubmit=e=>{e.stopPropagation(),this.submitCardPayment()};this.onSlotChange=e=>{let i=e.target.assignedNodes({flatten:!0});this.hasAssignedContent=i.length>0};this.handleFormSubmit=e=>{e.preventDefault(),e.stopPropagation(),this.submitCardPayment()}}connectedCallback(){super.connectedCallback(),this.addEventListener(\"click\",this.handleSlotButtonClick),this.addEventListener(\"primer-form-submit\",this.handleDirectSubmit)}disconnectedCallback(){this.removeEventListener(\"click\",this.handleSlotButtonClick),this.removeEventListener(\"primer-form-submit\",this.handleDirectSubmit),super.disconnectedCallback()}isSubmitButton(e){let r=e.tagName.toLowerCase(),i=r===\"button\",s=r===\"primer-button\";return i&&(e.getAttribute(\"type\")===\"submit\"||e.hasAttribute(\"data-submit\"))||s&&(e.getAttribute(\"buttonType\")===\"submit\"||e.hasAttribute(\"data-submit\"))}async submitCardPayment(){let e=this.cardFormProvider.value;if(!e)return;let r=await e.validate?.();if(r?.valid){let i=await e.submit?.(this.selectedCardNetwork?{cardNetwork:this.selectedCardNetwork}:void 0);this.eventsController.dispatchFormSubmitSuccess(i)}else{let i=r?.validationErrors;this.cardFormProvider.setValue({...e,errors:i}),this.eventsController.dispatchFormSubmitErrors(i)}}render(){return this.setupCardFormTask.status===we.ERROR||this.setupCardFormTask.status===we.INITIAL?u:m` <form @submit=${this.handleFormSubmit}> <slot name=\"card-form-content\" @slotchange=${this.onSlotChange}></slot> ${this.setupCardFormTask.render({complete:()=>$(this.hasAssignedContent,()=>u,()=>m` <div class=\"card-form\"> <primer-input-card-number></primer-input-card-number> <div class=\"card-form-row\"> <primer-input-card-expiry></primer-input-card-expiry> <primer-input-cvv></primer-input-cvv> </div> <primer-input-card-holder-name></primer-input-card-holder-name> </div> <primer-card-form-submit></primer-card-form-submit> `)})} </form> `}}"
|
|
106
122
|
},
|
|
107
123
|
{
|
|
108
124
|
"kind": "variable",
|
|
109
125
|
"name": "lt",
|
|
110
|
-
"default": "class extends
|
|
126
|
+
"default": "class extends G{constructor(){super();this.config={inputType:\"cardNumber\",containerSelector:\"#cardNumber\",errorName:\"cardNumber-card\",translations:{label:{id:\"cardNumber\",defaultMessage:\"Card Number\"},placeholder:\"4111 1111 1111 1111\",ariaLabel:{id:\"cardNumber\",defaultMessage:\"Card Number\"}}};this.childUpdated()}handleNetworkSelected(e){let{network:r}=e.detail;this.cardFormContext&&this.cardFormContext.setCardNetwork(r)}renderInput(){if(this.hostedInputController.setupTask.status===we.ERROR)return u;let e=this.getError();return m` <primer-input-wrapper .focusWithin=\"${this.hostedInputController.isFocused}\" .hasError=${!!e} > <primer-input-label slot=\"label\">${this.label}</primer-input-label> <div slot=\"input\" class=\"card-number-container\"> <div id=\"${this.config.containerSelector.substring(1)}\"></div> <div class=\"network-selector-container\"> <primer-card-network-selector @network-selected=${this.handleNetworkSelected} ></primer-card-network-selector> </div> </div> ${$(e,r=>m` <primer-input-error slot=\"error\"> ${T(r,{id:r})} </primer-input-error> `,()=>u)} </primer-input-wrapper> `}render(){return this.renderInput()}}"
|
|
111
127
|
},
|
|
112
128
|
{
|
|
113
129
|
"kind": "variable",
|
|
114
130
|
"name": "dt",
|
|
115
|
-
"default": "class extends
|
|
131
|
+
"default": "class extends G{constructor(){super();this.config={inputType:\"cvv\",containerSelector:\"#cvv\",errorName:\"cvv-card\",translations:{label:\"CVV\",placeholder:\"123\"}};this.childUpdated()}render(){return this.renderInput()}}"
|
|
116
132
|
},
|
|
117
133
|
{
|
|
118
134
|
"kind": "variable",
|
|
119
135
|
"name": "ct",
|
|
120
|
-
"default": "class extends
|
|
136
|
+
"default": "class extends G{constructor(){super();this.config={inputType:\"expire\",containerSelector:\"#expiry\",errorName:\"expiryDate-card\",translations:{label:{id:\"cardExpiry\",defaultMessage:\"Expiry Date\"},placeholder:{id:\"cardExpiryPlaceholder\",defaultMessage:\"MM/YY\"},ariaLabel:{id:\"cardExpiry\",defaultMessage:\"Expiry Date\"}}};this.childUpdated()}render(){return this.renderInput()}}"
|
|
121
137
|
},
|
|
122
138
|
{
|
|
123
139
|
"kind": "variable",
|
|
124
140
|
"name": "pt",
|
|
125
|
-
"default": "class extends
|
|
141
|
+
"default": "class extends G{constructor(){super();this.config={inputType:\"cardholderName\",containerSelector:\"#cardFormName\",errorName:\"cardholderName\",translations:{label:{id:\"cardholderNameLabel\",defaultMessage:\"Cardholder Name\"},placeholder:{id:\"cardholderNamePlaceholder\",defaultMessage:\"Name on card\"},ariaLabel:{id:\"cardholderNameLabel\",defaultMessage:\"Cardholder Name\"}},onInput:e=>this.handleInput(e)};this.childUpdated()}handleInput(e){this.cardFormContext?.setCardholderName?.(e)}render(){return this.renderInput()}}"
|
|
126
142
|
},
|
|
127
143
|
{
|
|
128
144
|
"kind": "variable",
|
|
129
|
-
"name": "
|
|
130
|
-
"default": "class extends f{constructor(){super(...arguments);this._userAssignedProps=new Set;this._internalButtonText=\"\";this.headlessInstance=null;this.clientOptions=null;this.sdkState=null;this.variant=\"primary\";this.disabled=!1;this.handleClick=e=>{if(e.preventDefault(),this.disabled)return;let r=new CustomEvent(\"primer-form-submit\",{bubbles:!0,composed:!0,detail:{source:\"primer-card-form-submit\"}});this.dispatchEvent(r)}}get buttonText(){return this._userAssignedProps.has(\"buttonText\")?this._internalButtonText:
|
|
145
|
+
"name": "se",
|
|
146
|
+
"default": "class extends f{constructor(){super(...arguments);this._userAssignedProps=new Set;this._internalButtonText=\"\";this.headlessInstance=null;this.clientOptions=null;this.sdkState=null;this.variant=\"primary\";this.disabled=!1;this.handleClick=e=>{if(e.preventDefault(),this.disabled)return;let r=new CustomEvent(\"primer-form-submit\",{bubbles:!0,composed:!0,detail:{source:\"primer-card-form-submit\"}});this.dispatchEvent(r)}}get buttonText(){return this._userAssignedProps.has(\"buttonText\")?this._internalButtonText:T(\"pay\",{id:\"pay\"})}set buttonText(e){let r=this.buttonText;e!==\"\"?(this._userAssignedProps.add(\"buttonText\"),this._internalButtonText=e):(this._userAssignedProps.delete(\"buttonText\"),this._internalButtonText=\"\"),this.requestUpdate(\"buttonText\",r)}render(){let e=this.clientOptions?.submitButton?.amountVisible?this.headlessInstance?.getUIOrderAmount():null,r=e?` ${e}`:u;return m` <primer-button buttonType=\"submit\" variant=${this.variant} ?disabled=${this.disabled} @click=${this.handleClick} .loading=${!!this.sdkState?.isProcessing} data-submit > ${this.buttonText}${r} </primer-button> `}}"
|
|
131
147
|
},
|
|
132
148
|
{
|
|
133
149
|
"kind": "variable",
|
|
134
150
|
"name": "le",
|
|
135
|
-
"default": "class extends f{constructor(){super(...arguments);this.cardNetworks=null;this.headlessUtils=null;this.selectedCardNetwork=null;this.isDropdownOpen=!1;this.focusedNetworkIndex=0;this.isKeyboardNavigation=!1;this.buttonRef=
|
|
151
|
+
"default": "class extends f{constructor(){super(...arguments);this.cardNetworks=null;this.headlessUtils=null;this.selectedCardNetwork=null;this.isDropdownOpen=!1;this.focusedNetworkIndex=0;this.isKeyboardNavigation=!1;this.buttonRef=co();this.dropdownRef=co();this.networkOptionRefs=[];this.handleClickOutside=e=>{this.isDropdownOpen&&(this.contains(e.target)||(this.isDropdownOpen=!1,this.isKeyboardNavigation=!1))};this.handleMouseMove=()=>{this.isKeyboardNavigation&&(this.isKeyboardNavigation=!1)};this.handleKeyDown=e=>{if(!(!(this.getSelectableNetworks().length>1)||!(this.contains(e.target)||this===e.target||this.isDropdownOpen&&e.target===document.body)))switch(this.isKeyboardNavigation=!0,e.key){case\"ArrowDown\":e.preventDefault(),this.isDropdownOpen?(this.focusedNetworkIndex=(this.focusedNetworkIndex+1)%this.getSelectableNetworks().length,this.focusNetworkOption()):(this.isDropdownOpen=!0,this.focusedNetworkIndex=this.getSelectedNetworkIndex());break;case\"ArrowUp\":e.preventDefault(),this.isDropdownOpen?(this.focusedNetworkIndex=(this.focusedNetworkIndex-1+this.getSelectableNetworks().length)%this.getSelectableNetworks().length,this.focusNetworkOption()):(this.isDropdownOpen=!0,this.focusedNetworkIndex=this.getSelectedNetworkIndex());break;case\"Enter\":case\" \":this.isDropdownOpen&&this.focusedNetworkIndex>=0?(e.preventDefault(),this.selectNetwork(e,this.getSelectableNetworks()[this.focusedNetworkIndex])):!this.isDropdownOpen&&this.buttonRef.value===document.activeElement&&(e.preventDefault(),this.isDropdownOpen=!0,this.focusedNetworkIndex=this.getSelectedNetworkIndex());break;case\"Escape\":this.isDropdownOpen&&(e.preventDefault(),this.isDropdownOpen=!1,this.buttonRef.value?.focus());break;case\"Tab\":this.isDropdownOpen&&(this.isDropdownOpen=!1);break}};this.handleDocumentKeyDown=e=>{this.isDropdownOpen&&this.handleKeyDown(e)}}toggleDropdown(e){this.isKeyboardNavigation=!1,e.stopPropagation(),this.getSelectableNetworks().length>1&&(this.isDropdownOpen=!this.isDropdownOpen,this.isDropdownOpen&&(this.focusedNetworkIndex=this.getSelectedNetworkIndex()))}getNetworkIconUrl(e){return this.headlessUtils?.getCardNetworkAsset(e.network)?.cardUrl}getSelectableNetworks(){return this.cardNetworks?.selectableCardNetworks||[]}getDetectedNetwork(){return this.selectedCardNetwork??(this.cardNetworks?.detectedCardNetwork||null)}getSelectedNetworkIndex(){let e=this.getDetectedNetwork();if(!e)return 0;let r=this.getSelectableNetworks().findIndex(i=>i.network===e.network);return r>=0?r:0}selectNetwork(e,r){e.stopPropagation(),this.selectedCardNetwork=r,this.isDropdownOpen=!1,this.buttonRef.value?.focus(),this.cardNetworks&&this.dispatchEvent(new CustomEvent(\"network-selected\",{detail:{network:r.network},bubbles:!0,composed:!0}))}focusNetworkOption(){requestAnimationFrame(()=>{this.networkOptionRefs[this.focusedNetworkIndex]&&this.networkOptionRefs[this.focusedNetworkIndex].focus()})}setNetworkOptionRef(e,r){this.networkOptionRefs[r]=e}connectedCallback(){super.connectedCallback(),setTimeout(()=>{document.addEventListener(\"click\",this.handleClickOutside),document.addEventListener(\"mousemove\",this.handleMouseMove),this.addEventListener(\"keydown\",this.handleKeyDown),document.addEventListener(\"keydown\",this.handleDocumentKeyDown)},0)}disconnectedCallback(){document.removeEventListener(\"click\",this.handleClickOutside),document.removeEventListener(\"keydown\",this.handleDocumentKeyDown),document.removeEventListener(\"mousemove\",this.handleMouseMove),this.removeEventListener(\"keydown\",this.handleKeyDown),super.disconnectedCallback()}render(){if(this.cardNetworks?.isLoading)return m`<primer-spinner size=\"small\" compact></primer-spinner>`;let e=this.getSelectableNetworks();if(!this.getDetectedNetwork()&&e.length===0)return m`<primer-icon name=\"payment-card\"></primer-icon>`;let r=this.getDetectedNetwork()||(e.length>0?e[0]:null);if(!r)return m`<primer-icon name=\"payment-card\" size=\"sm\"></primer-icon>`;let i=e.length>1;return m` <button ${Cr(this.buttonRef)} class=\"network-selector\" @click=${this.toggleDropdown} @keydown=${s=>{(s.key===\" \"||s.key===\"Enter\")&&i&&(s.preventDefault(),this.isDropdownOpen=!this.isDropdownOpen,this.isDropdownOpen&&(this.focusedNetworkIndex=this.getSelectedNetworkIndex()))}} aria-label=${i?`Selected card network: ${r.displayName}. Click to change.`:`Card network: ${r.displayName}`} aria-expanded=${i?this.isDropdownOpen:u} aria-haspopup=${i?\"true\":u} aria-controls=${i?\"network-dropdown\":u} > <img class=\"network-icon\" src=${this.getNetworkIconUrl(r)} alt=${r.displayName} /> ${$(i,()=>m` <primer-icon class=\"caret ${this.isDropdownOpen?\"open\":\"\"}\" name=\"chevron-down\" ></primer-icon> `,()=>u)} </button> ${$(this.isDropdownOpen,()=>m` <div ${Cr(this.dropdownRef)} id=\"network-dropdown\" class=\"dropdown open\" role=\"listbox\" aria-label=\"Select card network\" > ${e.map((s,p)=>m` <div ${Cr(x=>this.setNetworkOptionRef(x,p))} class=\"network-option ${this.isKeyboardNavigation&&p===this.focusedNetworkIndex?\"focused\":\"\"}\" @click=${x=>this.selectNetwork(x,s)} @keydown=${x=>{(x.key===\"Enter\"||x.key===\" \")&&this.selectNetwork(x,s)}} role=\"option\" aria-selected=${s.network===r.network} tabindex=\"${p===this.focusedNetworkIndex?\"0\":\"-1\"}\" > <img class=\"network-option-icon\" src=${this.getNetworkIconUrl(s)} alt=${s.displayName} /> <span class=\"network-name\">${s.displayName}</span> ${$(s.network===r.network,()=>m` <primer-icon class=\"checkmark\" name=\"checkmark\" ></primer-icon> `,()=>u)} </div> `)} </div> `,()=>u)} `}}"
|
|
136
152
|
},
|
|
137
153
|
{
|
|
138
154
|
"kind": "variable",
|
|
139
155
|
"name": "pe",
|
|
140
|
-
"default": "class extends f{constructor(){super(...arguments);this.vaultManagerContext=null;this.isEditMode=!1;this.deletePaymentMethodId=null;this.isDeleting=!1;this.errorMessage=\"\"}handleToggleEditMode(e){this.isEditMode=e.detail,this.deletePaymentMethodId=null}handleDeletePaymentMethod(e){this.deletePaymentMethodId=e.detail}handleCancelDelete(){this.deletePaymentMethodId=null}async handleConfirmDelete(){if(!this.vaultManagerContext?.deleteVaultedPaymentMethod||!this.deletePaymentMethodId){this.errorMessage=
|
|
156
|
+
"default": "class extends f{constructor(){super(...arguments);this.vaultManagerContext=null;this.isEditMode=!1;this.deletePaymentMethodId=null;this.isDeleting=!1;this.errorMessage=\"\"}handleToggleEditMode(e){this.isEditMode=e.detail,this.deletePaymentMethodId=null}handleDeletePaymentMethod(e){this.deletePaymentMethodId=e.detail}handleCancelDelete(){this.deletePaymentMethodId=null}async handleConfirmDelete(){if(!this.vaultManagerContext?.deleteVaultedPaymentMethod||!this.deletePaymentMethodId){this.errorMessage=T(\"something_went_wrong_error\",{id:\"something_went_wrong_error\"});return}try{this.isDeleting=!0,await this.vaultManagerContext.deleteVaultedPaymentMethod(this.deletePaymentMethodId),this.deletePaymentMethodId=null}catch(e){this.errorMessage=e instanceof Error?e.message:T(\"something_went_wrong_error\",{id:\"something_went_wrong_error\"})}finally{this.isDeleting=!1}}handlePaymentError(e){let r=e.detail?.error;this.errorMessage=r instanceof Error?r.message:T(\"payment_processing_error\",{id:\"payment_processing_error\"})}handleCloseError(){this.errorMessage=\"\"}getPaymentMethodName(e){if(!this.vaultManagerContext)return\"\";let r=this.vaultManagerContext.vaultedPaymentMethods.find(i=>i.id===e);if(!r)return\"\";try{return Mr(r).description||\"\"}catch{return\"\"}}renderDeleteConfirmation(){if(!this.deletePaymentMethodId)return u;let e=this.getPaymentMethodName(this.deletePaymentMethodId);return m` <div class=\"delete-confirmation-container\"> <primer-vault-delete-confirmation .isDeleting=${this.isDeleting} .paymentMethodId=${this.deletePaymentMethodId} .paymentMethodName=${e} @confirm-delete=${this.handleConfirmDelete} @cancel-delete=${this.handleCancelDelete} ></primer-vault-delete-confirmation> </div> `}renderPaymentMethodItem(e){return this.deletePaymentMethodId===e.id?u:m` <primer-vault-payment-method-item .paymentMethod=${e} .isEditMode=${this.isEditMode} @delete-payment-method=${this.handleDeletePaymentMethod} ></primer-vault-payment-method-item> `}render(){if(!this.vaultManagerContext?.enabled)return u;let e=this.vaultManagerContext.vaultedPaymentMethods.length>0,r=this.vaultManagerContext.isLoading,i=!this.isEditMode&&e&&!r&&!this.deletePaymentMethodId;return m` <div class=\"vault-manager\"> <primer-vault-manager-header .isEditMode=${this.isEditMode} .hasPaymentMethods=${e} @toggle-edit-mode=${this.handleToggleEditMode} ></primer-vault-manager-header> ${$(this.errorMessage,()=>m` <primer-vault-error-message .errorMessage=${this.errorMessage} @close-error=${this.handleCloseError} ></primer-vault-error-message> `,()=>u)} <div class=\"vault-manager-content\"> ${$(!r&&!e,()=>m`<primer-vault-empty-state></primer-vault-empty-state>`,()=>u)} ${$(!r&&e&&this.deletePaymentMethodId,()=>this.renderDeleteConfirmation(),()=>u)} ${$(!r&&e&&!this.deletePaymentMethodId,()=>m` <div class=\"payment-methods-list\"> ${this.vaultManagerContext?.vaultedPaymentMethods.map(s=>this.renderPaymentMethodItem(s))} ${$(i,()=>m` <primer-vault-payment-submit @primer-vault-payment-error=${this.handlePaymentError} ></primer-vault-payment-submit> `,()=>u)} </div> `,()=>u)} </div> </div> `}}"
|
|
141
157
|
},
|
|
142
158
|
{
|
|
143
159
|
"kind": "variable",
|
|
144
160
|
"name": "me",
|
|
145
|
-
"default": "class extends f{constructor(){super(...arguments);this.vaultManagerContext=null;this.vaultItemContext=null;this.headlessUtils=null;this.paymentMethod=null;this.isEditMode=!1;this._getAssetsTask=new V(this,{task:async([e,r,i])=>{if(!e||!r||!i)return
|
|
161
|
+
"default": "class extends f{constructor(){super(...arguments);this.vaultManagerContext=null;this.vaultItemContext=null;this.headlessUtils=null;this.paymentMethod=null;this.isEditMode=!1;this._getAssetsTask=new V(this,{task:async([e,r,i])=>{if(!e||!r||!i)return N;let s=\"\";if(aa(e))s=r.getCardNetworkAsset(e.paymentInstrumentData.network).cardUrl;else{let h=await r.getCDNAssets(e.paymentMethodType);h&&(s=h.assets?.icon?`${h.goatCdnUrl}/${h.assets.icon}`:\"\")}let p=i.cvvRecapture,x=Mr(e);return{icon:s,shouldShowCVV:p,...x}},args:()=>[this.paymentMethod,this.headlessUtils,this.vaultManagerContext]})}isSelected(){if(!this.vaultManagerContext||!this.paymentMethod)return!1;let e=this.vaultItemContext?.selectedVaultedPaymentMethod;return!!e&&e.id===this.paymentMethod.id}handleClick(){this.isEditMode||!this.vaultManagerContext||!this.paymentMethod||(this.isSelected()?this.vaultItemContext?.setSelectedVaultedPaymentMethod(null):this.vaultItemContext?.setSelectedVaultedPaymentMethod(this.paymentMethod))}handleDeleteClick(e){e.stopPropagation(),this.dispatchEvent(new CustomEvent(\"delete-payment-method\",{detail:this.paymentMethod?.id,bubbles:!0,composed:!0}))}renderPaymentMethodContent(e){let r=e.icon?m`<img class=\"payment-method-icon\" src=${e.icon} alt=${e.description} />`:m` <div class=\"payment-method-icon payment-method-icon-generic\"> <primer-icon name=\"payment-card\" size=\"sm\"></primer-icon> </div> `;return m` ${r} <div class=\"payment-method-details\"> <div class=\"payment-method-description\">${e.description}</div> ${e.secondaryDescription?m`<div class=\"payment-method-secondary-description\"> ${e.secondaryDescription} </div>`:u} </div> `}render(){return this._getAssetsTask.render({error:()=>u,complete:e=>{let r=this.isSelected()?\"checked\":\"default\";return this.isEditMode?m` <div class=\"payment-method-item\" @click=${this.handleClick}> <div class=\"payment-method-content\"> ${this.renderPaymentMethodContent(e)} <button class=\"delete-button\" @click=${this.handleDeleteClick} aria-label=${`${T(\"delete\",{id:\"delete\"})} ${e.description}`} > <primer-icon name=\"trash\" size=\"sm\"></primer-icon> </button> </div> </div> `:m` <div class=\"payment-method-wrapper\"> <primer-button variant=\"secondary\" class=\"payment-method-button\" selectable selectionState=${r} @click=${this.handleClick} > ${this.renderPaymentMethodContent(e)} </primer-button> ${$(e.shouldShowCVV&&this.isSelected(),()=>m`<primer-vault-cvv-input .paymentMethod=\"${this.paymentMethod}\" ></primer-vault-cvv-input>`)} </div> `}})}}"
|
|
146
162
|
},
|
|
147
163
|
{
|
|
148
164
|
"kind": "variable",
|
|
149
165
|
"name": "He",
|
|
150
|
-
"default": "class extends f{constructor(){super(...arguments);this.isEditMode=!1;this.hasPaymentMethods=!1}toggleEditMode(){this.dispatchEvent(new CustomEvent(\"toggle-edit-mode\",{detail:!this.isEditMode,bubbles:!0,composed:!0}))}render(){return m` <div class=\"vault-manager-header\"> <h3>${
|
|
166
|
+
"default": "class extends f{constructor(){super(...arguments);this.isEditMode=!1;this.hasPaymentMethods=!1}toggleEditMode(){this.dispatchEvent(new CustomEvent(\"toggle-edit-mode\",{detail:!this.isEditMode,bubbles:!0,composed:!0}))}render(){return m` <div class=\"vault-manager-header\"> <h3>${T(\"previouslyUsed\",{id:\"previouslyUsed\"})}</h3> ${this.hasPaymentMethods?m` <primer-button class=\"edit-button ${this.isEditMode?\"active\":\"\"}\" @click=${this.toggleEditMode} aria-label=${this.isEditMode?T(\"confirm\",{id:\"confirm\"}):T(\"editPaymentMethods\",{id:\"editPaymentMethods\"})} > ${this.isEditMode?m`<primer-icon name=\"checkmark\" size=\"sm\"></primer-icon>`:m`<primer-icon name=\"pencil\" size=\"sm\"></primer-icon>`} </primer-button> `:u} </div> `}}"
|
|
151
167
|
},
|
|
152
168
|
{
|
|
153
169
|
"kind": "variable",
|
|
154
170
|
"name": "fe",
|
|
155
|
-
"default": "class extends f{constructor(){super(...arguments);this.isDeleting=!1;this.paymentMethodId=\"\";this.paymentMethodName=\"\";this.vaultManager=null}handleConfirmClick(){this.dispatchEvent(new CustomEvent(\"confirm-delete\",{bubbles:!0,composed:!0}))}handleCancelClick(){this.dispatchEvent(new CustomEvent(\"cancel-delete\",{bubbles:!0,composed:!0}))}render(){let e=this.paymentMethodName;return m` <div class=\"delete-confirmation\"> <div class=\"delete-message\"> <p class=\"delete-text\">${e}</p> </div> <div class=\"delete-actions\"> <button class=\"delete-confirm\" @click=${this.handleConfirmClick} ?disabled=${this.isDeleting} > ${this.isDeleting?
|
|
171
|
+
"default": "class extends f{constructor(){super(...arguments);this.isDeleting=!1;this.paymentMethodId=\"\";this.paymentMethodName=\"\";this.vaultManager=null}handleConfirmClick(){this.dispatchEvent(new CustomEvent(\"confirm-delete\",{bubbles:!0,composed:!0}))}handleCancelClick(){this.dispatchEvent(new CustomEvent(\"cancel-delete\",{bubbles:!0,composed:!0}))}render(){let e=this.paymentMethodName;return m` <div class=\"delete-confirmation\"> <div class=\"delete-message\"> <p class=\"delete-text\">${e}</p> </div> <div class=\"delete-actions\"> <button class=\"delete-confirm\" @click=${this.handleConfirmClick} ?disabled=${this.isDeleting} > ${this.isDeleting?T(\"deleting\",{id:\"deleting\"}):T(\"confirmVaultedPaymentMethodDeletion\",{id:\"confirmVaultedPaymentMethodDeletion\"})} </button> <button class=\"delete-cancel\" @click=${this.handleCancelClick} ?disabled=${this.isDeleting} > ${T(\"cancel\",{id:\"cancel\"})} </button> </div> </div> `}}"
|
|
156
172
|
},
|
|
157
173
|
{
|
|
158
174
|
"kind": "variable",
|
|
159
175
|
"name": "ut",
|
|
160
|
-
"default": "class extends f{render(){return m` <div class=\"empty-state\"> <p> ${
|
|
176
|
+
"default": "class extends f{render(){return m` <div class=\"empty-state\"> <p> ${T(\"savedPaymentMethodsEmpty\",{id:\"savedPaymentMethodsEmpty\"})} </p> </div> `}}"
|
|
161
177
|
},
|
|
162
178
|
{
|
|
163
179
|
"kind": "variable",
|
|
164
180
|
"name": "Ze",
|
|
165
|
-
"default": "class extends f{constructor(){super(...arguments);this.errorMessage=\"\"}handleDismiss(){this.dispatchEvent(new CustomEvent(\"close-error\",{bubbles:!0,composed:!0}))}render(){return m` <div class=\"error-message\"> <div class=\"error-content\"> <primer-icon name=\"warning\" size=\"sm\" color=\"var(--primer-color-red-500)\" ></primer-icon> <p>${this.errorMessage}</p> </div> <button @click=${this.handleDismiss} aria-label=${
|
|
181
|
+
"default": "class extends f{constructor(){super(...arguments);this.errorMessage=\"\"}handleDismiss(){this.dispatchEvent(new CustomEvent(\"close-error\",{bubbles:!0,composed:!0}))}render(){return m` <div class=\"error-message\"> <div class=\"error-content\"> <primer-icon name=\"warning\" size=\"sm\" color=\"var(--primer-color-red-500)\" ></primer-icon> <p>${this.errorMessage}</p> </div> <button @click=${this.handleDismiss} aria-label=${T(\"closeErrorMessage\",{id:\"closeErrorMessage\"})} > <primer-icon name=\"close\" size=\"sm\"></primer-icon> </button> </div> `}}"
|
|
166
182
|
},
|
|
167
183
|
{
|
|
168
184
|
"kind": "variable",
|
|
169
185
|
"name": "X",
|
|
170
|
-
"default": "class extends f{constructor(){super(...arguments);this._userAssignedProps=new Set;this._internalButtonText=\"\";this.headlessInstance=null;this.sdkState=null;this.vaultItemContext=null;this.vaultManager=null;this.clientOptions=null;this.variant=\"primary\";this.disabled=!1;this.handleClick=async e=>{if(e.preventDefault(),!this.isButtonDisabled)try{await this.vaultManager?.startVaultedPaymentFlow()}catch(r){let i=new CustomEvent(\"primer-vault-payment-error\",{bubbles:!0,composed:!0,detail:{error:r}});this.dispatchEvent(i)}}}get buttonText(){return this._userAssignedProps.has(\"buttonText\")?this._internalButtonText:
|
|
186
|
+
"default": "class extends f{constructor(){super(...arguments);this._userAssignedProps=new Set;this._internalButtonText=\"\";this.headlessInstance=null;this.sdkState=null;this.vaultItemContext=null;this.vaultManager=null;this.clientOptions=null;this.variant=\"primary\";this.disabled=!1;this.handleClick=async e=>{if(e.preventDefault(),!this.isButtonDisabled)try{await this.vaultManager?.startVaultedPaymentFlow()}catch(r){let i=new CustomEvent(\"primer-vault-payment-error\",{bubbles:!0,composed:!0,detail:{error:r}});this.dispatchEvent(i)}}}get buttonText(){return this._userAssignedProps.has(\"buttonText\")?this._internalButtonText:T(\"pay\",{id:\"pay\"})}set buttonText(e){let r=this.buttonText;e!==\"\"?(this._userAssignedProps.add(\"buttonText\"),this._internalButtonText=e):(this._userAssignedProps.delete(\"buttonText\"),this._internalButtonText=\"\"),this.requestUpdate(\"buttonText\",r)}get isButtonDisabled(){return!!(this.disabled||!this.vaultItemContext?.selectedVaultedPaymentMethod||this.vaultManager?.isLoading)}render(){let e=this.clientOptions?.submitButton?.amountVisible?this.headlessInstance?.getUIOrderAmount():null,r=e?` ${e}`:u;return m` <primer-button buttonType=\"submit\" variant=${this.variant} @click=${this.handleClick} .disabled=${this.isButtonDisabled} .loading=${this.sdkState?.isProcessing} data-submit > ${this.buttonText}${r} </primer-button> `}}"
|
|
171
187
|
},
|
|
172
188
|
{
|
|
173
189
|
"kind": "variable",
|
|
174
190
|
"name": "J",
|
|
175
|
-
"default": "class extends f{constructor(){super();this.vaultManagerFormContext=null;this.vaultManagerCvvContext=null;this.computedStyles=null;this.paymentMethod=null;this.cvvError=null;this.cvvInputIsDirty=!1;this.cvvInputIsBlurred=!1;this.cvvInput=null;this._setupCVVIframe=new V(this,{task:async([e,r])=>!e||!r||e.paymentMethodType!==\"PAYMENT_CARD\"||!e.paymentInstrumentData?.network||r.createCvvInput===void 0?
|
|
191
|
+
"default": "class extends f{constructor(){super();this.vaultManagerFormContext=null;this.vaultManagerCvvContext=null;this.computedStyles=null;this.paymentMethod=null;this.cvvError=null;this.cvvInputIsDirty=!1;this.cvvInputIsBlurred=!1;this.cvvInput=null;this._setupCVVIframe=new V(this,{task:async([e,r])=>!e||!r||e.paymentMethodType!==\"PAYMENT_CARD\"||!e.paymentInstrumentData?.network||r.createCvvInput===void 0?N:{network:e.paymentInstrumentData.network,createCvvInput:r.createCvvInput},args:()=>[this.paymentMethod,this.vaultManagerFormContext]});this.cvvContainerId=`cvv-container-${Math.random().toString(36).substring(2,9)}`,new V(this,{task:async([e])=>{if(!e)return N;await this.updateComplete;let r=this.renderRoot.querySelector(`#${this.cvvContainerId}`);if(!r)return;let i=yr(this.computedStyles),s=i?{input:{base:i}}:void 0,p={cardNetwork:e.network,container:r,name:\"cvv\",placeholder:\"123\",style:s};this.cvvInput=await e.createCvvInput(p),this.cvvInput&&(this.cvvInput.focus(),this.cvvError=this.cvvInput.metadata.error||null,this.vaultManagerCvvContext?.setCvvInput(this.cvvInput),this.cvvInput.addListener(\"change\",()=>{this.onCvvInputChange()}),this.cvvInput.addListener(\"blur\",()=>{this.onBlur()}))},args:()=>[this._setupCVVIframe.value]})}disconnectedCallback(){super.disconnectedCallback(),this.cvvInput&&(this.cvvInput.remove(),this.cvvInput=null,this.cvvError=null,this.vaultManagerCvvContext?.setCvvInput(null))}onCvvInputChange(){!this.cvvInput||!this.vaultManagerCvvContext||(this.cvvInputIsDirty=!0,this.cvvError=this.cvvInput.metadata.error||null)}onBlur(){this.cvvInput&&(this.cvvInputIsBlurred=!0,this.cvvError=this.cvvInput.metadata.error||null)}render(){return this._setupCVVIframe.render({error:()=>u,complete:()=>m` <div class=\"cvv-input-container\"> <primer-input-wrapper .hasError=${!!this.cvvError&&(this.vaultManagerCvvContext?.formIsDirty||this.cvvInputIsDirty&&this.cvvInputIsBlurred)} > <primer-input-label slot=\"label\">CVV</primer-input-label> <div slot=\"input\" id=\"${this.cvvContainerId}\"></div> ${$(this.cvvError&&(this.vaultManagerCvvContext?.formIsDirty||this.cvvInputIsDirty&&this.cvvInputIsBlurred),()=>m` <primer-input-error slot=\"error\"> ${this.cvvError} </primer-input-error> `)} </primer-input-wrapper> </div> `})}}"
|
|
176
192
|
},
|
|
177
193
|
{
|
|
178
194
|
"kind": "variable",
|
|
179
195
|
"name": "Ye",
|
|
180
|
-
"default": "class extends f{constructor(){super(...arguments);this.isShowingOtherPayments=!1;this.vaultManager=null}handleExpandedChanged(e){this.isShowingOtherPayments=e.detail.expanded}render(){return this.vaultManager?.isLoading?u:!this.vaultManager||!this.vaultManager.enabled||this.vaultManager.vaultedPaymentMethods.length===0?m`<slot name=\"other-payments\"></slot>`:m` <div class=\"other-payment-methods-container\"> <primer-collapsable buttonVariant=\"secondary\" .expanded=\"${this.isShowingOtherPayments}\" .header=\"${
|
|
196
|
+
"default": "class extends f{constructor(){super(...arguments);this.isShowingOtherPayments=!1;this.vaultManager=null}handleExpandedChanged(e){this.isShowingOtherPayments=e.detail.expanded}render(){return this.vaultManager?.isLoading?u:!this.vaultManager||!this.vaultManager.enabled||this.vaultManager.vaultedPaymentMethods.length===0?m`<slot name=\"other-payments\"></slot>`:m` <div class=\"other-payment-methods-container\"> <primer-collapsable buttonVariant=\"secondary\" .expanded=\"${this.isShowingOtherPayments}\" .header=\"${T(\"navigateToPaymentMethods\",{id:\"navigateToPaymentMethods\"})}\" @expanded-changed=\"${this.handleExpandedChanged}\" > <div class=\"other-payment-methods-content\"> <slot name=\"other-payments\"></slot> </div> </primer-collapsable> </div> `}}"
|
|
181
197
|
},
|
|
182
198
|
{
|
|
183
199
|
"kind": "variable",
|
|
184
|
-
"name": "
|
|
200
|
+
"name": "Ht",
|
|
185
201
|
"default": "class extends f{render(){return m` <primer-checkout-state type=\"complete\"></primer-checkout-state> `}}"
|
|
186
202
|
},
|
|
187
203
|
{
|
|
@@ -192,7 +208,7 @@
|
|
|
192
208
|
{
|
|
193
209
|
"kind": "variable",
|
|
194
210
|
"name": "Ue",
|
|
195
|
-
"default": "class extends f{constructor(){super(...arguments);this.showProcessingErrors=!0}get shouldShowError(){return!this.sdkState||this.sdkState.isProcessing?!1:!!(this.sdkState.failure&&this.showProcessingErrors)}render(){return this.sdkState?m` <primer-error-message message=\"${
|
|
211
|
+
"default": "class extends f{constructor(){super(...arguments);this.showProcessingErrors=!0}get shouldShowError(){return!this.sdkState||this.sdkState.isProcessing?!1:!!(this.sdkState.failure&&this.showProcessingErrors)}render(){return this.sdkState?m` <primer-error-message message=\"${T(this.sdkState.failure?.message??\"\",{id:\"tokenizationError\"})}\" ?visible=\"${this.shouldShowError}\" ></primer-error-message> `:u}}"
|
|
196
212
|
}
|
|
197
213
|
],
|
|
198
214
|
"exports": [
|
|
@@ -216,7 +232,7 @@
|
|
|
216
232
|
"kind": "js",
|
|
217
233
|
"name": "Button",
|
|
218
234
|
"declaration": {
|
|
219
|
-
"name": "
|
|
235
|
+
"name": "ne",
|
|
220
236
|
"module": "cdn/primer-components.js"
|
|
221
237
|
}
|
|
222
238
|
},
|
|
@@ -224,7 +240,7 @@
|
|
|
224
240
|
"kind": "js",
|
|
225
241
|
"name": "CardForm",
|
|
226
242
|
"declaration": {
|
|
227
|
-
"name": "
|
|
243
|
+
"name": "Se",
|
|
228
244
|
"module": "cdn/primer-components.js"
|
|
229
245
|
}
|
|
230
246
|
},
|
|
@@ -280,7 +296,7 @@
|
|
|
280
296
|
"kind": "js",
|
|
281
297
|
"name": "CardFormSubmit",
|
|
282
298
|
"declaration": {
|
|
283
|
-
"name": "
|
|
299
|
+
"name": "se",
|
|
284
300
|
"module": "cdn/primer-components.js"
|
|
285
301
|
}
|
|
286
302
|
},
|
|
@@ -312,7 +328,7 @@
|
|
|
312
328
|
"kind": "js",
|
|
313
329
|
"name": "InitializedPayments",
|
|
314
330
|
"declaration": {
|
|
315
|
-
"name": "
|
|
331
|
+
"name": "ur",
|
|
316
332
|
"module": "cdn/primer-components.js"
|
|
317
333
|
}
|
|
318
334
|
},
|
|
@@ -328,7 +344,7 @@
|
|
|
328
344
|
"kind": "js",
|
|
329
345
|
"name": "InputLabel",
|
|
330
346
|
"declaration": {
|
|
331
|
-
"name": "
|
|
347
|
+
"name": "Ne",
|
|
332
348
|
"module": "cdn/primer-components.js"
|
|
333
349
|
}
|
|
334
350
|
},
|
|
@@ -360,7 +376,7 @@
|
|
|
360
376
|
"kind": "js",
|
|
361
377
|
"name": "PrimerCheckoutComplete",
|
|
362
378
|
"declaration": {
|
|
363
|
-
"name": "
|
|
379
|
+
"name": "Ht",
|
|
364
380
|
"module": "cdn/primer-components.js"
|
|
365
381
|
}
|
|
366
382
|
},
|
|
@@ -499,421 +515,982 @@
|
|
|
499
515
|
"name": "X",
|
|
500
516
|
"module": "cdn/primer-components.js"
|
|
501
517
|
}
|
|
502
|
-
}
|
|
503
|
-
]
|
|
504
|
-
},
|
|
505
|
-
{
|
|
506
|
-
"kind": "javascript-module",
|
|
507
|
-
"path": "dist/primer-loader.js",
|
|
508
|
-
"declarations": [
|
|
509
|
-
{
|
|
510
|
-
"kind": "function",
|
|
511
|
-
"name": "b"
|
|
512
|
-
},
|
|
513
|
-
{
|
|
514
|
-
"kind": "function",
|
|
515
|
-
"name": "f"
|
|
516
518
|
},
|
|
517
|
-
{
|
|
518
|
-
"kind": "function",
|
|
519
|
-
"name": "G"
|
|
520
|
-
},
|
|
521
|
-
{
|
|
522
|
-
"kind": "function",
|
|
523
|
-
"name": "Q"
|
|
524
|
-
},
|
|
525
|
-
{
|
|
526
|
-
"kind": "function",
|
|
527
|
-
"name": "$"
|
|
528
|
-
}
|
|
529
|
-
],
|
|
530
|
-
"exports": [
|
|
531
519
|
{
|
|
532
520
|
"kind": "js",
|
|
533
521
|
"name": "injectDarkTheme",
|
|
534
522
|
"declaration": {
|
|
535
|
-
"name": "
|
|
536
|
-
"module": "
|
|
523
|
+
"name": "Nn",
|
|
524
|
+
"module": "cdn/primer-components.js"
|
|
537
525
|
}
|
|
538
526
|
},
|
|
539
527
|
{
|
|
540
528
|
"kind": "js",
|
|
541
529
|
"name": "injectLightTheme",
|
|
542
530
|
"declaration": {
|
|
543
|
-
"name": "
|
|
544
|
-
"module": "
|
|
531
|
+
"name": "Ln",
|
|
532
|
+
"module": "cdn/primer-components.js"
|
|
545
533
|
}
|
|
546
534
|
},
|
|
547
535
|
{
|
|
548
536
|
"kind": "js",
|
|
549
537
|
"name": "injectLoaderStyles",
|
|
550
538
|
"declaration": {
|
|
551
|
-
"name": "
|
|
552
|
-
"module": "
|
|
539
|
+
"name": "_i",
|
|
540
|
+
"module": "cdn/primer-components.js"
|
|
553
541
|
}
|
|
554
542
|
},
|
|
555
543
|
{
|
|
556
544
|
"kind": "js",
|
|
557
545
|
"name": "injectThemeStyles",
|
|
558
546
|
"declaration": {
|
|
559
|
-
"name": "
|
|
560
|
-
"module": "
|
|
561
|
-
}
|
|
562
|
-
},
|
|
563
|
-
{
|
|
564
|
-
"kind": "js",
|
|
565
|
-
"name": "loadPrimer",
|
|
566
|
-
"declaration": {
|
|
567
|
-
"name": "$",
|
|
568
|
-
"module": "dist/primer-loader.js"
|
|
547
|
+
"name": "Ti",
|
|
548
|
+
"module": "cdn/primer-components.js"
|
|
569
549
|
}
|
|
570
550
|
}
|
|
571
551
|
]
|
|
572
552
|
},
|
|
573
553
|
{
|
|
574
554
|
"kind": "javascript-module",
|
|
575
|
-
"path": "
|
|
555
|
+
"path": "dist/primer-loader.js",
|
|
576
556
|
"declarations": [
|
|
577
557
|
{
|
|
578
558
|
"kind": "variable",
|
|
579
|
-
"name": "
|
|
580
|
-
"default": "css` * { box-sizing: border-box; } `"
|
|
559
|
+
"name": "o"
|
|
581
560
|
},
|
|
582
561
|
{
|
|
583
562
|
"kind": "variable",
|
|
584
|
-
"name": "
|
|
585
|
-
|
|
586
|
-
}
|
|
587
|
-
],
|
|
588
|
-
"exports": [
|
|
563
|
+
"name": "t"
|
|
564
|
+
},
|
|
589
565
|
{
|
|
590
|
-
"kind": "
|
|
591
|
-
"name": "
|
|
592
|
-
"
|
|
593
|
-
"name": "base",
|
|
594
|
-
"module": "src/base.styles.ts"
|
|
595
|
-
}
|
|
566
|
+
"kind": "variable",
|
|
567
|
+
"name": "ur",
|
|
568
|
+
"default": "class{constructor(t){this._methods=t}get(t){return this._methods.get(t)}toArray(){return Array.from(this._methods.values())}size(){return this._methods.size}}"
|
|
596
569
|
},
|
|
597
570
|
{
|
|
598
|
-
"kind": "
|
|
599
|
-
"name": "
|
|
600
|
-
"
|
|
601
|
-
|
|
602
|
-
"module": "src/base.styles.ts"
|
|
603
|
-
}
|
|
604
|
-
}
|
|
605
|
-
]
|
|
606
|
-
},
|
|
607
|
-
{
|
|
608
|
-
"kind": "javascript-module",
|
|
609
|
-
"path": "src/components.ts",
|
|
610
|
-
"declarations": [],
|
|
611
|
-
"exports": [
|
|
571
|
+
"kind": "variable",
|
|
572
|
+
"name": "ae",
|
|
573
|
+
"default": "class extends f{constructor(){super();this.customStyles=\"\";this.clientToken=\"\";this.options={};this._jsInitialized=!1;this.previousLoadingState=!0;this.hasAssignedContent=!1;this._loadingTimeoutId=null;this.locale=\"en-GB\";this.onSlotChange=e=>{let i=e.target.assignedNodes({flatten:!0});this.hasAssignedContent=i.length>0,this.requestUpdate()};this.sdkContextController=new Zt(this),this.sdkStateController=new Wt(this),this.primerEventsController=new tt(this),this.styleProcessingController=new Xt(this),this.vaultManagerController=new St(this),this.cardNetworkController=new Ft(this),new gr(this)}set jsInitialized(e){this.requestUpdate(),this._jsInitialized=e}get jsInitialized(){return this._jsInitialized}attributeChangedCallback(e,r,i){e===\"customstyles\"?this.styleProcessingController.processCustomStyles(i):super.attributeChangedCallback(e,r,i)}disconnectedCallback(){this._loadingTimeoutId&&(window.clearTimeout(this._loadingTimeoutId),this._loadingTimeoutId=null),this.sdkStateController?.state.isLoading&&this.sdkStateController.forceCompleteLoading(),super.disconnectedCallback()}willUpdate(e){e.has(\"options\")&&(this.options?.locale&&(Xr(this.options?.locale)?this.locale=Jr(this.options?.locale):w.warn(\"\\u{1F30E}\\u2757 Unsupported locale provided:\",this.options?.locale,\"- Falling back to default locale `en-GB`\")),Zr(this.locale||\"en-GB\"))}updated(){let e=getComputedStyle(this);this.sdkContextController.setComputedStyles(e),this.checkLoadingStateChange()}checkLoadingStateChange(){let e=this.sdkStateController?.state.isLoading||!1;this.previousLoadingState&&!e&&(this.jsInitialized=!0),this.previousLoadingState=e,e&&!this._loadingTimeoutId?this._loadingTimeoutId=window.setTimeout(()=>{this.sdkStateController?.state.isLoading&&(w.warn(\"Loading timeout in component, forcing completion\"),this.sdkStateController.forceCompleteLoading(),this.jsInitialized=!0),this._loadingTimeoutId=null},1e4):!e&&this._loadingTimeoutId&&(window.clearTimeout(this._loadingTimeoutId),this._loadingTimeoutId=null)}render(){let e=this.sdkStateController.state,r=e.isLoading,i=e.error,s=!r&&!i;return m` ${$(r,()=>u)} ${$(i,()=>m`<primer-checkout-error></primer-checkout-error>`)} ${$(s,()=>m` <slot name=\"main\" @slotchange=${this.onSlotChange}></slot> ${$(this.hasAssignedContent,()=>u,()=>m`<primer-main></primer-main>`)} `,()=>u)} `}addEventListener(e,r,i){super.addEventListener(e,r,i)}}"
|
|
574
|
+
},
|
|
612
575
|
{
|
|
613
|
-
"kind": "
|
|
614
|
-
"name": "
|
|
615
|
-
"declaration": {
|
|
616
|
-
"name": "*",
|
|
617
|
-
"package": "./contexts/types"
|
|
618
|
-
}
|
|
576
|
+
"kind": "function",
|
|
577
|
+
"name": "_i"
|
|
619
578
|
},
|
|
620
579
|
{
|
|
621
|
-
"kind": "
|
|
622
|
-
"name": "
|
|
623
|
-
"declaration": {
|
|
624
|
-
"name": "*",
|
|
625
|
-
"package": "./contexts/payments-objects"
|
|
626
|
-
}
|
|
580
|
+
"kind": "function",
|
|
581
|
+
"name": "Pi"
|
|
627
582
|
},
|
|
628
583
|
{
|
|
629
|
-
"kind": "
|
|
630
|
-
"name": "
|
|
631
|
-
"declaration": {
|
|
632
|
-
"name": "*",
|
|
633
|
-
"package": "./atoms"
|
|
634
|
-
}
|
|
584
|
+
"kind": "function",
|
|
585
|
+
"name": "Ln"
|
|
635
586
|
},
|
|
636
587
|
{
|
|
637
|
-
"kind": "
|
|
638
|
-
"name": "
|
|
639
|
-
"declaration": {
|
|
640
|
-
"name": "*",
|
|
641
|
-
"package": "./containers"
|
|
642
|
-
}
|
|
588
|
+
"kind": "function",
|
|
589
|
+
"name": "Nn"
|
|
643
590
|
},
|
|
644
591
|
{
|
|
645
|
-
"kind": "
|
|
646
|
-
"name": "
|
|
647
|
-
"
|
|
648
|
-
"name": "PrimerCheckoutOptions",
|
|
649
|
-
"module": "./types/sdk"
|
|
650
|
-
}
|
|
592
|
+
"kind": "variable",
|
|
593
|
+
"name": "xe",
|
|
594
|
+
"default": "class extends f{constructor(){super(...arguments);this.color=\"var(--primer-color-loader)\";this.size=\"medium\";this.compact=!1}getSize(){if(this.size in no)return no[this.size];let e=parseInt(this.size,10);return isNaN(e)?no.medium:e}render(){let e=this.getSize(),r=20,i=`0 0 ${r} ${r}`;return this.style.setProperty(\"--spinner-color\",this.color),this.style.setProperty(\"--spinner-size\",`${e}px`),m` <div class=\"spinner-container ${this.compact?\"compact\":\"\"}\"> <svg class=\"spinner\" width=\"${e}\" height=\"${e}\" viewBox=\"${i}\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" role=\"status\" aria-label=\"Loading\" > <path d=\"M4.27827 10.002C4.27827 6.84166 6.84019 4.27973 10.0005 4.27973C10.7676 4.27973 11.3894 3.6579 11.3894 2.89084C11.3894 2.12378 10.7676 1.50195 10.0005 1.50195C5.30607 1.50195 1.50049 5.30753 1.50049 10.002C1.50049 14.6964 5.30607 18.502 10.0005 18.502C14.6949 18.502 18.5005 14.6964 18.5005 10.002C18.5005 9.23489 17.8787 8.61306 17.1116 8.61306C16.3445 8.61306 15.7227 9.23489 15.7227 10.002C15.7227 13.1622 13.1608 15.7242 10.0005 15.7242C6.84019 15.7242 4.27827 13.1622 4.27827 10.002Z\" fill=\"currentColor\" class=\"path\" /> </svg> </div> `}}"
|
|
651
595
|
},
|
|
652
596
|
{
|
|
653
|
-
"kind": "
|
|
654
|
-
"name": "
|
|
655
|
-
"
|
|
656
|
-
|
|
657
|
-
"module": "src/components.ts"
|
|
658
|
-
}
|
|
659
|
-
}
|
|
660
|
-
]
|
|
661
|
-
},
|
|
662
|
-
{
|
|
663
|
-
"kind": "javascript-module",
|
|
664
|
-
"path": "src/consts.ts",
|
|
665
|
-
"declarations": [
|
|
597
|
+
"kind": "variable",
|
|
598
|
+
"name": "Ce",
|
|
599
|
+
"default": "class extends f{constructor(){super(...arguments);this.focusWithin=!1;this.hasError=!1}handleWrapperClick(e){if(e.target!==e.currentTarget)return;let r=this.findSlottedPrimerInput();r?r.focus():this.dispatchEvent(new CustomEvent(\"wrapper-click\",{bubbles:!0,composed:!0}))}findSlottedPrimerInput(){if(!this.inputSlot)return null;let e=this.inputSlot.assignedElements({flatten:!0}),r=e.find(i=>i.tagName.toLowerCase()===\"primer-input\");if(r)return r;for(let i of e){let s=i.querySelector(\"primer-input\");if(s)return s}return null}render(){let e={\"input-slot\":!0,\"focus-within\":this.focusWithin};return m` <div class=\"input-wrapper\"> <slot name=\"label\"></slot> <div class=\"${ce(e)}\" @click=\"${this.handleWrapperClick}\"> <slot name=\"input\"></slot> </div> <slot name=\"error\"></slot> </div> `}}"
|
|
600
|
+
},
|
|
666
601
|
{
|
|
667
602
|
"kind": "variable",
|
|
668
|
-
"name": "
|
|
603
|
+
"name": "Ne",
|
|
604
|
+
"default": "class extends f{constructor(){super(...arguments);this.for=\"\";this.disabled=!1}render(){return m`<label for=${this.for}><slot></slot></label>`}}"
|
|
669
605
|
},
|
|
670
606
|
{
|
|
671
607
|
"kind": "variable",
|
|
672
|
-
"name": "
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
"exports": [
|
|
608
|
+
"name": "ne",
|
|
609
|
+
"default": "class extends f{constructor(){super(...arguments);this.variant=\"primary\";this.disabled=!1;this.loading=!1;this.buttonType=\"button\";this.selectionState=\"default\";this.selectable=!1}handleClick(){!this.selectable||this.disabled||this.loading||(this.selectionState=this.selectionState===\"default\"?\"checked\":\"default\",this.dispatchEvent(new CustomEvent(\"selection-change\",{bubbles:!0,composed:!0,detail:{state:this.selectionState}})))}renderCheckmark(){return!this.selectable||this.selectionState!==\"checked\"||this.loading?u:m` <primer-icon name=\"checkmark\" size=\"sm\" color=\"var(--primer-color-icon-primary)\" ></primer-icon> `}renderSpinner(){if(!this.loading)return u;let e;return this.variant===\"primary\"?e=\"var(--primer-color-background-outlined-default)\":(this.variant===\"secondary\"||this.variant===\"tertiary\")&&(e=\"var(--primer-color-gray-900)\"),m` <primer-spinner size=\"small\" color=\"${e}\" compact ></primer-spinner> `}render(){return m` <button type=${this.buttonType} ?disabled=${this.disabled||this.loading} @click=${this.handleClick} part=\"button\" aria-checked=${this.selectionState===\"checked\"} aria-busy=${this.loading} > ${this.renderSpinner()} <span class=\"button-content ${this.loading?\"loading\":\"\"}\"> <slot></slot> </span> ${this.renderCheckmark()} </button> `}}"
|
|
610
|
+
},
|
|
676
611
|
{
|
|
677
|
-
"kind": "
|
|
678
|
-
"name": "
|
|
679
|
-
"
|
|
680
|
-
"name": "legacySdkCdnUrl",
|
|
681
|
-
"module": "src/consts.ts"
|
|
682
|
-
}
|
|
612
|
+
"kind": "variable",
|
|
613
|
+
"name": "Re",
|
|
614
|
+
"default": "class extends f{constructor(){super(...arguments);this.for=\"\";this.active=!0}render(){return m` <span class=\"error\" role=\"alert\" aria-live=\"polite\" id=\"${this.for||\"\"}\" > <slot></slot> </span> `}}"
|
|
683
615
|
},
|
|
684
616
|
{
|
|
685
|
-
"kind": "
|
|
686
|
-
"name": "
|
|
687
|
-
"
|
|
688
|
-
|
|
689
|
-
"module": "src/consts.ts"
|
|
690
|
-
}
|
|
691
|
-
}
|
|
692
|
-
]
|
|
693
|
-
},
|
|
694
|
-
{
|
|
695
|
-
"kind": "javascript-module",
|
|
696
|
-
"path": "src/css-loader-inline.ts",
|
|
697
|
-
"declarations": [
|
|
617
|
+
"kind": "variable",
|
|
618
|
+
"name": "Ae",
|
|
619
|
+
"default": "class extends f{constructor(){super(...arguments);this.color=\"var(--primer-color-icon-primary)\";this.size=\"lg\"}render(){let e=this.name?Ni[this.name]:null;return m` <div style=\"--internal-icon-color: ${this.color}\"> ${e||m`<slot></slot>`} </div> `}}"
|
|
620
|
+
},
|
|
698
621
|
{
|
|
699
622
|
"kind": "variable",
|
|
700
|
-
"name": "
|
|
701
|
-
"default": "
|
|
702
|
-
|
|
703
|
-
}
|
|
704
|
-
],
|
|
705
|
-
"exports": [
|
|
623
|
+
"name": "Oe",
|
|
624
|
+
"default": "class extends f{constructor(){super(...arguments);this.type=\"complete\"}render(){return this.type===\"complete\"?m` <!-- Successful view --> <primer-icon size=\"lg\" name=\"successful-check\" color=\"var(--primer-color-icon-positive)\" > </primer-icon> <p>Checkout complete!</p> <p class=\"secondary\"> You'll be redirected to the order confirmation page soon. </p> `:m` <primer-icon size=\"lg\" name=\"failure-icon\" color=\"var(--primer-color-icon-negative)\" > </primer-icon> <p>Payment failed</p> ${this.description?m`<p class=\"secondary\">${this.description}</p>`:m`<p class=\"secondary\">Something went wrong.</p>`} `}}"
|
|
625
|
+
},
|
|
706
626
|
{
|
|
707
|
-
"kind": "
|
|
708
|
-
"name": "
|
|
709
|
-
"
|
|
710
|
-
|
|
711
|
-
"module": "src/css-loader-inline.ts"
|
|
712
|
-
}
|
|
713
|
-
}
|
|
714
|
-
]
|
|
715
|
-
},
|
|
716
|
-
{
|
|
717
|
-
"kind": "javascript-module",
|
|
718
|
-
"path": "src/loader.ts",
|
|
719
|
-
"declarations": [
|
|
627
|
+
"kind": "variable",
|
|
628
|
+
"name": "Y",
|
|
629
|
+
"default": "class extends f{constructor(){super(...arguments);this.value=\"\";this.placeholder=\"\";this.disabled=!1;this.name=\"\";this.type=\"text\";this.required=!1;this.readonly=!1;this.pattern=\"\";this.min=\"\";this.max=\"\";this.step=\"\";this.autocomplete=\"\";this.id=\"\";this.hasFocus=!1;this.hasError=!1}handleInput(e){e.stopPropagation();let r=e.target;this.value=r.value;let i=new CustomEvent(\"input\",{detail:this.value,bubbles:!0,composed:!0});this.dispatchEvent(i)}handleChange(e){e.stopPropagation();let r=e.target;this.value=r.value;let i=new CustomEvent(\"change\",{detail:this.value,bubbles:!0,composed:!0});this.dispatchEvent(i)}handleFocus(){this.hasFocus=!0,this.dispatchEvent(new FocusEvent(\"focus\",{bubbles:!0,composed:!0}))}handleBlur(){this.hasFocus=!1,this.dispatchEvent(new FocusEvent(\"blur\",{bubbles:!0,composed:!0}))}handleInvalid(e){e.stopPropagation(),this.hasError=!0,this.dispatchEvent(new Event(\"invalid\",{bubbles:!0,composed:!0}))}focus(e){this.inputElement?.focus(e)}blur(){this.inputElement?.blur()}select(){this.inputElement?.select()}setSelectionRange(e,r,i){this.inputElement?.setSelectionRange(e,r,i)}get validity(){return this.inputElement?.validity||{}}get validationMessage(){return this.inputElement?.validationMessage||\"\"}checkValidity(){return this.inputElement?.checkValidity()||!1}reportValidity(){return this.inputElement?.reportValidity()||!1}render(){let e={input:!0,\"input--focused\":this.hasFocus,\"input--disabled\":this.disabled,\"input--error\":this.hasError,\"input--readonly\":this.readonly},r=Object.entries(e).filter(([,i])=>i).map(([i])=>i).join(\" \");return m` <input part=\"input\" class=${r} .value=${this.value} .type=${this.type} ?disabled=${this.disabled} ?required=${this.required} ?readonly=${this.readonly} placeholder=${this.placeholder} pattern=${this.pattern} minlength=${this.minlength??\"\"} maxlength=${this.maxlength??\"\"} min=${this.min} max=${this.max} step=${this.step} autocomplete=${this.autocomplete} name=${this.name} id=${this.id} @input=${this.handleInput} @change=${this.handleChange} @focus=${this.handleFocus} @blur=${this.handleBlur} @invalid=${this.handleInvalid} /> `}addEventListener(e,r,i){super.addEventListener(e,r,i)}removeEventListener(e,r,i){super.removeEventListener(e,r,i)}}"
|
|
630
|
+
},
|
|
720
631
|
{
|
|
721
|
-
"kind": "
|
|
722
|
-
"name": "
|
|
723
|
-
"
|
|
724
|
-
"type": {
|
|
725
|
-
"text": "void"
|
|
726
|
-
}
|
|
727
|
-
},
|
|
728
|
-
"description": "Injects the CSS loader styles into the page\nThese styles display a loading indicator before JavaScript initializes\n\nUnlike theme styles, loader styles should take precedence over merchant styles\nto ensure the loading indicator is visible. We append them to the end of the head."
|
|
632
|
+
"kind": "variable",
|
|
633
|
+
"name": "re",
|
|
634
|
+
"default": "class extends f{constructor(){super(...arguments);this.header=\"\";this.expanded=!1;this.expandText=\"Expand\";this.collapseText=\"Collapse\";this.ariaLabel=\"\";this.buttonVariant=\"primary\";this.isExpanded=!1}connectedCallback(){super.connectedCallback(),this.isExpanded=this.expanded}dispatchExpandedChangedEvent(e){this.dispatchEvent(new CustomEvent(\"expanded-changed\",{bubbles:!0,composed:!0,detail:{expanded:e}}))}toggleExpanded(){this.isExpanded=!this.isExpanded,this.dispatchExpandedChangedEvent(this.isExpanded)}expand(){this.isExpanded||(this.isExpanded=!0,this.dispatchExpandedChangedEvent(!0))}collapse(){this.isExpanded&&(this.isExpanded=!1,this.dispatchExpandedChangedEvent(!1))}render(){let e=this.isExpanded?this.collapseText:this.expandText,r=this.ariaLabel||this.header||e,i=this.header||e;return m` <div class=\"collapsable\"> <primer-button variant=${this.buttonVariant} buttonType=\"button\" @click=${this.toggleExpanded} aria-expanded=${this.isExpanded} aria-controls=\"collapsable-content\" aria-label=${r} > <span>${i}</span> </primer-button> <div class=\"collapsable-wrapper ${this.isExpanded?\"expanded\":\"\"}\" id=\"collapsable-content\" role=\"region\" aria-labelledby=\"collapsable-header\" > <div class=\"collapsable-content\"> <slot></slot> </div> </div> </div> `}}"
|
|
729
635
|
},
|
|
730
636
|
{
|
|
731
|
-
"kind": "
|
|
732
|
-
"name": "
|
|
733
|
-
"
|
|
734
|
-
"type": {
|
|
735
|
-
"text": "void"
|
|
736
|
-
}
|
|
737
|
-
},
|
|
738
|
-
"description": "Injects all required theme CSS variables into the page\nThis should be called before components are rendered to ensure\nthey have access to all design tokens\n\nTheme styles are prepended to the document head to allow merchant styles\nto override our default variables."
|
|
637
|
+
"kind": "variable",
|
|
638
|
+
"name": "he",
|
|
639
|
+
"default": "class extends f{constructor(){super(...arguments);this.message=\"\";this.visible=!1;this.role=\"alert\";this.showMessage=!1}updated(e){e.has(\"visible\")&&this.handleVisibilityChange()}handleVisibilityChange(){this.visible?(this.showMessage=!0,this.setAttribute(\"aria-hidden\",\"false\")):setTimeout(()=>{this.showMessage=!1,this.setAttribute(\"aria-hidden\",\"true\")},200)}render(){if(!this.showMessage&&!this.visible)return u;let e={\"error-message\":!0,hidden:!this.visible};return m` <div part=\"error-message\" class=${ce(e)} aria-live=\"assertive\" aria-atomic=\"true\" > <div part=\"error-icon\" class=\"error-icon\"> <primer-icon name=\"failure-icon\" size=\"sm\" color=\"var(--primer-color-icon-negative)\" ></primer-icon> </div> <div part=\"error-content\" class=\"error-content\">${this.message}</div> </div> `}}"
|
|
739
640
|
},
|
|
740
641
|
{
|
|
741
|
-
"kind": "
|
|
742
|
-
"name": "
|
|
743
|
-
"return": {
|
|
744
|
-
"type": {
|
|
745
|
-
"text": "void"
|
|
746
|
-
}
|
|
747
|
-
},
|
|
748
|
-
"description": "Utility function to inject only the light theme CSS variables"
|
|
642
|
+
"kind": "variable",
|
|
643
|
+
"name": "Z",
|
|
644
|
+
"default": "class extends f{constructor(){super(...arguments);this.paymentManagers=new Map;this.sdkState=null;this.headlessUtils=null;this.klarnaCategories=null;this.selectedCategory=null;this.isExpanded=!1;this.headerAriaLabel=P(\"pay_with\",{id:\"pay_with\"});this._paymentMethodManagerTask=new V(this,{task:async([e,r])=>{if(!e||!r)return N;let i=await r.getCDNAssets(\"KLARNA\");return{manager:e.manager,klarnaIcon:i?.assets?.icon?`${i.goatCdnUrl}/${i.assets.icon}`:\"\"}},args:()=>[this.paymentManagers.get(\"KLARNA\"),this.headlessUtils]})}toggleExpand(){this.isExpanded=!this.isExpanded,this.isExpanded||(this.selectedCategory=null)}async startKlarnaPayment(){if(!(!this._paymentMethodManagerTask.value||!this.selectedCategory))try{await this._paymentMethodManagerTask.value.manager.start({paymentMethodCategoryId:this.selectedCategory})}catch(e){w.error(\"Failed to start Klarna payment\",e)}}async renderSelectedCategory(){if(!(!this._paymentMethodManagerTask.value||!this.selectedCategory||!this.klarnaContainer))try{this.klarnaContainer.innerHTML=\"\",await this._paymentMethodManagerTask.value.manager.renderCategory({containerId:this.klarnaContainer,paymentMethodCategoryId:this.selectedCategory,onHeightChange:e=>{e>0&&(this.klarnaContainer.style.height=`${e}px`)}})}catch(e){w.error(\"Failed to render Klarna category\",e)}}selectCategory(e){this.selectedCategory=e,this.renderSelectedCategory()}updated(e){e.has(\"selectedCategory\")&&this.selectedCategory&&this.renderSelectedCategory()}renderCategorySelection(){let e=this.klarnaCategories?.categories||[];return this.klarnaCategories?.isLoading||!1?m`<div class=\"loading\"> <primer-spinner size=\"small\"></primer-spinner> </div>`:e.length<=1?u:m` <div class=\"category-selection\"> ${e.map(i=>m` <button class=${ce({\"category-button\":!0,selected:i.id===this.selectedCategory})} @click=${()=>{this.selectCategory(i.id)}} > ${i.name} </button> `)} </div> `}renderExpandedContent(){return m` ${this.renderCategorySelection()} ${this.selectedCategory?m` <div id=\"klarna-category-container\" class=\"klarna-category-container\" ></div> `:u} <button class=${ce({\"klarna-pay-button\":!0,loading:!!this.sdkState?.isProcessing,disabled:!this.selectedCategory})} ?disabled=${!this.selectedCategory||this.sdkState?.isProcessing} @click=${()=>this.startKlarnaPayment()} > ${P(\"confirm\",{id:\"confirm\"})} </button> `}render(){return this._paymentMethodManagerTask.render({error:e=>{let r=e instanceof Error?e.message:\"Unknown error in Klarna\";return m`<div class=\"error\"> Error loading Klarna: ${r} </div>`},complete:({manager:e,klarnaIcon:r})=>e?m` <div class=\"klarna-container ${this.isExpanded?\"expanded\":\"\"}\"> <div class=\"klarna-button-header\"> <primer-button buttonType=\"button\" variant=\"secondary\" class=\"klarna-button\" @click=${this.toggleExpand} aria-expanded=${this.isExpanded} aria-controls=\"collapsable-content\" aria-label=${this.headerAriaLabel} > <img src=${r} alt=\"Klarna logo\" /> <span>${P(\"pay_with\",{id:\"pay_with\"})} Klarna</span> <span class=\"klarna-accordion-icon ${this.isExpanded?\"expanded\":\"\"}\" > ▼ </span> </primer-button> </div> <div class=\"klarna-expanded-content ${this.isExpanded?\"visible\":\"\"}\" > <div class=\"klarna-accordion-content\"> ${this.renderExpandedContent()} </div> </div> </div> `:u})}}"
|
|
749
645
|
},
|
|
750
646
|
{
|
|
751
|
-
"kind": "
|
|
752
|
-
"name": "
|
|
753
|
-
"return": {
|
|
754
|
-
"type": {
|
|
755
|
-
"text": "void"
|
|
756
|
-
}
|
|
757
|
-
},
|
|
758
|
-
"description": "Utility function to inject only the dark theme CSS variables"
|
|
647
|
+
"kind": "variable",
|
|
648
|
+
"name": "De",
|
|
649
|
+
"default": "class extends f{constructor(){super(...arguments);this.type=void 0;this.paymentMethods=null}render(){if(!this.type)return u;let e=this.paymentMethods?.get(this.type);if(!e)return u;switch(e?.managerType){case\"CARD\":return m`<primer-card-form></primer-card-form>`;case\"NATIVE\":return m`<primer-native-payment .paymentMethod=${e} ></primer-native-payment>`;case\"REDIRECT\":return m`<primer-redirect-payment .paymentMethod=${e} ></primer-redirect-payment>`;case\"KLARNA\":return m`<primer-klarna></primer-klarna>`;default:return u}}}"
|
|
759
650
|
},
|
|
760
651
|
{
|
|
761
|
-
"kind": "
|
|
762
|
-
"name": "
|
|
763
|
-
"
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
"
|
|
652
|
+
"kind": "variable",
|
|
653
|
+
"name": "ge",
|
|
654
|
+
"default": "class extends f{constructor(){super(...arguments);this.paymentManagers=new Map;this.sdkState=null;this.headlessUtils=null;this._paymentMethodManagerTask=new V(this,{task:async([e,r])=>!e||!r?N:r.get(e)?.manager,args:()=>[this.paymentMethod?.type,this.paymentManagers]});this._getAssetsTask=new V(this,{task:async([e,r])=>{if(!e||!r)return N;let i=r.getPaymentMethodConfiguration(e);return i?{backgroundColor:i.displayMetadata.button.backgroundColor.colored,name:i.name,iconUrl:i.displayMetadata.button.iconUrl.colored}:N},args:()=>[this.paymentMethod?.type,this.headlessUtils]});this._setupTasks=new V(this,{task:async([e,r])=>!e||!r?N:{paymentMethodManager:e,assetsConfig:r},args:()=>[this._paymentMethodManagerTask.value,this._getAssetsTask.value]})}startRedirectPayment(){this._paymentMethodManagerTask.value&&this._paymentMethodManagerTask.value.start()}render(){return this._setupTasks.render({error:()=>u,complete:({assetsConfig:e})=>(this.style.setProperty(\"--redirect-payment-button-bg-color\",e.backgroundColor),m` <primer-button @click=\"${()=>this.startRedirectPayment()}\" class=${ce({loading:!!this.sdkState?.isProcessing})} title=\"${P(\"pay_with\",{id:\"pay_with\"})} ${e.name}\" > <span class=\"image-container\"> <img src=\"${e.iconUrl}\" alt=\"${e.name}\" /> </span> </primer-button>`)})}}"
|
|
655
|
+
},
|
|
656
|
+
{
|
|
657
|
+
"kind": "variable",
|
|
658
|
+
"name": "$e",
|
|
659
|
+
"default": "class extends f{constructor(){super(...arguments);this.hasAssignedContent=!1;this.onSlotChange=e=>{let i=e.target.assignedNodes({flatten:!0});this.hasAssignedContent=i.length>0,this.requestUpdate()};this.paymentMethods=null;this.sdkState=null}render(){return this.sdkState?.isSuccessful?m` <slot name=\"checkout-complete\"> <primer-checkout-complete></primer-checkout-complete> </slot> `:m` <slot name=\"payments\" @slotchange=${this.onSlotChange}></slot> ${$(this.hasAssignedContent,()=>u,()=>m` <div class=${ce({\"primer-is-processing\":!!this.sdkState?.isProcessing})} > <primer-vault-manager></primer-vault-manager> <primer-show-other-payments> <div slot=\"other-payments\" class=\"primer-main-list\"> ${this.paymentMethods?.toArray().map(e=>m` <primer-payment-method type=${e.type} ></primer-payment-method> `)} </div> </primer-show-other-payments> <primer-error-message-container></primer-error-message-container> </div> `)} `}}"
|
|
660
|
+
},
|
|
661
|
+
{
|
|
662
|
+
"kind": "variable",
|
|
663
|
+
"name": "Me",
|
|
664
|
+
"default": "class extends f{constructor(){super();this.paymentManagers=new Map;this.computedStyles=null;this._buttonId=\"button-container\";this.loadManagerTask=new V(this,{args:()=>[this.paymentMethod?.type],task:async([e])=>{if(!e)return N;let r=this.paymentManagers.get(e)?.manager;if(!r)throw new Error(`No manager found for payment method type ${e}`);return r}}),new V(this,{args:()=>[this.loadManagerTask.value],task:async([e])=>{if(!e)return N;await this.updateComplete;let r=this.shadowRoot?.getElementById(this._buttonId);if(!r)return;let i=this.calculateButtonHeight(),s=e.createButton(),p=this.createRenderOptions(i);return await s.render(this.paymentMethod?.type===\"GOOGLE_PAY\"?this.shadowRoot?.getRootNode():r,p),e}})}calculateButtonHeight(){if(typeof window>\"u\"||!this.isConnected||!this.computedStyles)return 0;let e=parseFloat(this.computedStyles.getPropertyValue(\"--primer-typography-title-large-line-height\")),r=parseFloat(this.computedStyles.getPropertyValue(\"--primer-space-medium\"));return e+2*r}createRenderOptions(e){let r=this.paymentMethod?.type;return r===\"GOOGLE_PAY\"?{style:{shadowRoot:!0}}:r===\"APPLE_PAY\"?{style:{buttonHeight:e}}:r===\"PAYPAL\"?{style:{buttonHeight:e}}:{style:{buttonHeight:e}}}updated(e){e.has(\"paymentMethod\")&&this.paymentMethod&&(this._buttonId=`button-container-${this.paymentMethod.type}`)}render(){return this.loadManagerTask.render({error:()=>u,complete:()=>m` <!-- The native button container is rendered first --> <div class=\"native-button-container\" id=\"${this._buttonId}\"></div> `,pending:()=>u})}}"
|
|
665
|
+
},
|
|
666
|
+
{
|
|
667
|
+
"kind": "variable",
|
|
668
|
+
"name": "Se",
|
|
669
|
+
"default": "class extends f{constructor(){super(...arguments);this.hasAssignedContent=!1;this.selectedCardNetwork=null;this.paymentManagers=new Map;this.cardFormProvider=new K(this,{context:vr,initialValue:null});this.eventsController=new tt(this);this.setupCardFormTask=new V(this,{task:async([e])=>{if(!e?.manager)return N;let{manager:r}=e,{cardNumberInput:i,expiryInput:s,cvvInput:p}=r.createHostedInputs();return this.cardFormProvider.setValue({cardNumberInput:i,expiryInput:s,cvvInput:p,setCardholderName:x=>r.setCardholderName(x),setCardNetwork:x=>{this.selectedCardNetwork=x},validate:()=>r.validate(),submit:x=>r.submit(x)}),!0},args:()=>[this.paymentManagers.get(\"PAYMENT_CARD\")]});this.handleSlotButtonClick=e=>{let i=e.target.closest(\"button, primer-button\");if(!i)return;this.isSubmitButton(i)&&(e.preventDefault(),this.submitCardPayment())};this.handleDirectSubmit=e=>{e.stopPropagation(),this.submitCardPayment()};this.onSlotChange=e=>{let i=e.target.assignedNodes({flatten:!0});this.hasAssignedContent=i.length>0};this.handleFormSubmit=e=>{e.preventDefault(),e.stopPropagation(),this.submitCardPayment()}}connectedCallback(){super.connectedCallback(),this.addEventListener(\"click\",this.handleSlotButtonClick),this.addEventListener(\"primer-form-submit\",this.handleDirectSubmit)}disconnectedCallback(){this.removeEventListener(\"click\",this.handleSlotButtonClick),this.removeEventListener(\"primer-form-submit\",this.handleDirectSubmit),super.disconnectedCallback()}isSubmitButton(e){let r=e.tagName.toLowerCase(),i=r===\"button\",s=r===\"primer-button\";return i&&(e.getAttribute(\"type\")===\"submit\"||e.hasAttribute(\"data-submit\"))||s&&(e.getAttribute(\"buttonType\")===\"submit\"||e.hasAttribute(\"data-submit\"))}async submitCardPayment(){let e=this.cardFormProvider.value;if(!e)return;let r=await e.validate?.();if(r?.valid){let i=await e.submit?.(this.selectedCardNetwork?{cardNetwork:this.selectedCardNetwork}:void 0);this.eventsController.dispatchFormSubmitSuccess(i)}else{let i=r?.validationErrors;this.cardFormProvider.setValue({...e,errors:i}),this.eventsController.dispatchFormSubmitErrors(i)}}render(){return this.setupCardFormTask.status===ke.ERROR||this.setupCardFormTask.status===ke.INITIAL?u:m` <form @submit=${this.handleFormSubmit}> <slot name=\"card-form-content\" @slotchange=${this.onSlotChange}></slot> ${this.setupCardFormTask.render({complete:()=>$(this.hasAssignedContent,()=>u,()=>m` <div class=\"card-form\"> <primer-input-card-number></primer-input-card-number> <div class=\"card-form-row\"> <primer-input-card-expiry></primer-input-card-expiry> <primer-input-cvv></primer-input-cvv> </div> <primer-input-card-holder-name></primer-input-card-holder-name> </div> <primer-card-form-submit></primer-card-form-submit> `)})} </form> `}}"
|
|
670
|
+
},
|
|
671
|
+
{
|
|
672
|
+
"kind": "variable",
|
|
673
|
+
"name": "lt",
|
|
674
|
+
"default": "class extends G{constructor(){super();this.config={inputType:\"cardNumber\",containerSelector:\"#cardNumber\",errorName:\"cardNumber-card\",translations:{label:{id:\"cardNumber\",defaultMessage:\"Card Number\"},placeholder:\"4111 1111 1111 1111\",ariaLabel:{id:\"cardNumber\",defaultMessage:\"Card Number\"}}};this.childUpdated()}handleNetworkSelected(e){let{network:r}=e.detail;this.cardFormContext&&this.cardFormContext.setCardNetwork(r)}renderInput(){if(this.hostedInputController.setupTask.status===ke.ERROR)return u;let e=this.getError();return m` <primer-input-wrapper .focusWithin=\"${this.hostedInputController.isFocused}\" .hasError=${!!e} > <primer-input-label slot=\"label\">${this.label}</primer-input-label> <div slot=\"input\" class=\"card-number-container\"> <div id=\"${this.config.containerSelector.substring(1)}\"></div> <div class=\"network-selector-container\"> <primer-card-network-selector @network-selected=${this.handleNetworkSelected} ></primer-card-network-selector> </div> </div> ${$(e,r=>m` <primer-input-error slot=\"error\"> ${P(r,{id:r})} </primer-input-error> `,()=>u)} </primer-input-wrapper> `}render(){return this.renderInput()}}"
|
|
675
|
+
},
|
|
676
|
+
{
|
|
677
|
+
"kind": "variable",
|
|
678
|
+
"name": "dt",
|
|
679
|
+
"default": "class extends G{constructor(){super();this.config={inputType:\"cvv\",containerSelector:\"#cvv\",errorName:\"cvv-card\",translations:{label:\"CVV\",placeholder:\"123\"}};this.childUpdated()}render(){return this.renderInput()}}"
|
|
680
|
+
},
|
|
681
|
+
{
|
|
682
|
+
"kind": "variable",
|
|
683
|
+
"name": "ct",
|
|
684
|
+
"default": "class extends G{constructor(){super();this.config={inputType:\"expire\",containerSelector:\"#expiry\",errorName:\"expiryDate-card\",translations:{label:{id:\"cardExpiry\",defaultMessage:\"Expiry Date\"},placeholder:{id:\"cardExpiryPlaceholder\",defaultMessage:\"MM/YY\"},ariaLabel:{id:\"cardExpiry\",defaultMessage:\"Expiry Date\"}}};this.childUpdated()}render(){return this.renderInput()}}"
|
|
685
|
+
},
|
|
686
|
+
{
|
|
687
|
+
"kind": "variable",
|
|
688
|
+
"name": "pt",
|
|
689
|
+
"default": "class extends G{constructor(){super();this.config={inputType:\"cardholderName\",containerSelector:\"#cardFormName\",errorName:\"cardholderName\",translations:{label:{id:\"cardholderNameLabel\",defaultMessage:\"Cardholder Name\"},placeholder:{id:\"cardholderNamePlaceholder\",defaultMessage:\"Name on card\"},ariaLabel:{id:\"cardholderNameLabel\",defaultMessage:\"Cardholder Name\"}},onInput:e=>this.handleInput(e)};this.childUpdated()}handleInput(e){this.cardFormContext?.setCardholderName?.(e)}render(){return this.renderInput()}}"
|
|
690
|
+
},
|
|
691
|
+
{
|
|
692
|
+
"kind": "variable",
|
|
693
|
+
"name": "se",
|
|
694
|
+
"default": "class extends f{constructor(){super(...arguments);this._userAssignedProps=new Set;this._internalButtonText=\"\";this.headlessInstance=null;this.clientOptions=null;this.sdkState=null;this.variant=\"primary\";this.disabled=!1;this.handleClick=e=>{if(e.preventDefault(),this.disabled)return;let r=new CustomEvent(\"primer-form-submit\",{bubbles:!0,composed:!0,detail:{source:\"primer-card-form-submit\"}});this.dispatchEvent(r)}}get buttonText(){return this._userAssignedProps.has(\"buttonText\")?this._internalButtonText:P(\"pay\",{id:\"pay\"})}set buttonText(e){let r=this.buttonText;e!==\"\"?(this._userAssignedProps.add(\"buttonText\"),this._internalButtonText=e):(this._userAssignedProps.delete(\"buttonText\"),this._internalButtonText=\"\"),this.requestUpdate(\"buttonText\",r)}render(){let e=this.clientOptions?.submitButton?.amountVisible?this.headlessInstance?.getUIOrderAmount():null,r=e?` ${e}`:u;return m` <primer-button buttonType=\"submit\" variant=${this.variant} ?disabled=${this.disabled} @click=${this.handleClick} .loading=${!!this.sdkState?.isProcessing} data-submit > ${this.buttonText}${r} </primer-button> `}}"
|
|
695
|
+
},
|
|
696
|
+
{
|
|
697
|
+
"kind": "variable",
|
|
698
|
+
"name": "le",
|
|
699
|
+
"default": "class extends f{constructor(){super(...arguments);this.cardNetworks=null;this.headlessUtils=null;this.selectedCardNetwork=null;this.isDropdownOpen=!1;this.focusedNetworkIndex=0;this.isKeyboardNavigation=!1;this.buttonRef=co();this.dropdownRef=co();this.networkOptionRefs=[];this.handleClickOutside=e=>{this.isDropdownOpen&&(this.contains(e.target)||(this.isDropdownOpen=!1,this.isKeyboardNavigation=!1))};this.handleMouseMove=()=>{this.isKeyboardNavigation&&(this.isKeyboardNavigation=!1)};this.handleKeyDown=e=>{if(!(!(this.getSelectableNetworks().length>1)||!(this.contains(e.target)||this===e.target||this.isDropdownOpen&&e.target===document.body)))switch(this.isKeyboardNavigation=!0,e.key){case\"ArrowDown\":e.preventDefault(),this.isDropdownOpen?(this.focusedNetworkIndex=(this.focusedNetworkIndex+1)%this.getSelectableNetworks().length,this.focusNetworkOption()):(this.isDropdownOpen=!0,this.focusedNetworkIndex=this.getSelectedNetworkIndex());break;case\"ArrowUp\":e.preventDefault(),this.isDropdownOpen?(this.focusedNetworkIndex=(this.focusedNetworkIndex-1+this.getSelectableNetworks().length)%this.getSelectableNetworks().length,this.focusNetworkOption()):(this.isDropdownOpen=!0,this.focusedNetworkIndex=this.getSelectedNetworkIndex());break;case\"Enter\":case\" \":this.isDropdownOpen&&this.focusedNetworkIndex>=0?(e.preventDefault(),this.selectNetwork(e,this.getSelectableNetworks()[this.focusedNetworkIndex])):!this.isDropdownOpen&&this.buttonRef.value===document.activeElement&&(e.preventDefault(),this.isDropdownOpen=!0,this.focusedNetworkIndex=this.getSelectedNetworkIndex());break;case\"Escape\":this.isDropdownOpen&&(e.preventDefault(),this.isDropdownOpen=!1,this.buttonRef.value?.focus());break;case\"Tab\":this.isDropdownOpen&&(this.isDropdownOpen=!1);break}};this.handleDocumentKeyDown=e=>{this.isDropdownOpen&&this.handleKeyDown(e)}}toggleDropdown(e){this.isKeyboardNavigation=!1,e.stopPropagation(),this.getSelectableNetworks().length>1&&(this.isDropdownOpen=!this.isDropdownOpen,this.isDropdownOpen&&(this.focusedNetworkIndex=this.getSelectedNetworkIndex()))}getNetworkIconUrl(e){return this.headlessUtils?.getCardNetworkAsset(e.network)?.cardUrl}getSelectableNetworks(){return this.cardNetworks?.selectableCardNetworks||[]}getDetectedNetwork(){return this.selectedCardNetwork??(this.cardNetworks?.detectedCardNetwork||null)}getSelectedNetworkIndex(){let e=this.getDetectedNetwork();if(!e)return 0;let r=this.getSelectableNetworks().findIndex(i=>i.network===e.network);return r>=0?r:0}selectNetwork(e,r){e.stopPropagation(),this.selectedCardNetwork=r,this.isDropdownOpen=!1,this.buttonRef.value?.focus(),this.cardNetworks&&this.dispatchEvent(new CustomEvent(\"network-selected\",{detail:{network:r.network},bubbles:!0,composed:!0}))}focusNetworkOption(){requestAnimationFrame(()=>{this.networkOptionRefs[this.focusedNetworkIndex]&&this.networkOptionRefs[this.focusedNetworkIndex].focus()})}setNetworkOptionRef(e,r){this.networkOptionRefs[r]=e}connectedCallback(){super.connectedCallback(),setTimeout(()=>{document.addEventListener(\"click\",this.handleClickOutside),document.addEventListener(\"mousemove\",this.handleMouseMove),this.addEventListener(\"keydown\",this.handleKeyDown),document.addEventListener(\"keydown\",this.handleDocumentKeyDown)},0)}disconnectedCallback(){document.removeEventListener(\"click\",this.handleClickOutside),document.removeEventListener(\"keydown\",this.handleDocumentKeyDown),document.removeEventListener(\"mousemove\",this.handleMouseMove),this.removeEventListener(\"keydown\",this.handleKeyDown),super.disconnectedCallback()}render(){if(this.cardNetworks?.isLoading)return m`<primer-spinner size=\"small\" compact></primer-spinner>`;let e=this.getSelectableNetworks();if(!this.getDetectedNetwork()&&e.length===0)return m`<primer-icon name=\"payment-card\"></primer-icon>`;let r=this.getDetectedNetwork()||(e.length>0?e[0]:null);if(!r)return m`<primer-icon name=\"payment-card\" size=\"sm\"></primer-icon>`;let i=e.length>1;return m` <button ${Cr(this.buttonRef)} class=\"network-selector\" @click=${this.toggleDropdown} @keydown=${s=>{(s.key===\" \"||s.key===\"Enter\")&&i&&(s.preventDefault(),this.isDropdownOpen=!this.isDropdownOpen,this.isDropdownOpen&&(this.focusedNetworkIndex=this.getSelectedNetworkIndex()))}} aria-label=${i?`Selected card network: ${r.displayName}. Click to change.`:`Card network: ${r.displayName}`} aria-expanded=${i?this.isDropdownOpen:u} aria-haspopup=${i?\"true\":u} aria-controls=${i?\"network-dropdown\":u} > <img class=\"network-icon\" src=${this.getNetworkIconUrl(r)} alt=${r.displayName} /> ${$(i,()=>m` <primer-icon class=\"caret ${this.isDropdownOpen?\"open\":\"\"}\" name=\"chevron-down\" ></primer-icon> `,()=>u)} </button> ${$(this.isDropdownOpen,()=>m` <div ${Cr(this.dropdownRef)} id=\"network-dropdown\" class=\"dropdown open\" role=\"listbox\" aria-label=\"Select card network\" > ${e.map((s,p)=>m` <div ${Cr(x=>this.setNetworkOptionRef(x,p))} class=\"network-option ${this.isKeyboardNavigation&&p===this.focusedNetworkIndex?\"focused\":\"\"}\" @click=${x=>this.selectNetwork(x,s)} @keydown=${x=>{(x.key===\"Enter\"||x.key===\" \")&&this.selectNetwork(x,s)}} role=\"option\" aria-selected=${s.network===r.network} tabindex=\"${p===this.focusedNetworkIndex?\"0\":\"-1\"}\" > <img class=\"network-option-icon\" src=${this.getNetworkIconUrl(s)} alt=${s.displayName} /> <span class=\"network-name\">${s.displayName}</span> ${$(s.network===r.network,()=>m` <primer-icon class=\"checkmark\" name=\"checkmark\" ></primer-icon> `,()=>u)} </div> `)} </div> `,()=>u)} `}}"
|
|
700
|
+
},
|
|
701
|
+
{
|
|
702
|
+
"kind": "variable",
|
|
703
|
+
"name": "pe",
|
|
704
|
+
"default": "class extends f{constructor(){super(...arguments);this.vaultManagerContext=null;this.isEditMode=!1;this.deletePaymentMethodId=null;this.isDeleting=!1;this.errorMessage=\"\"}handleToggleEditMode(e){this.isEditMode=e.detail,this.deletePaymentMethodId=null}handleDeletePaymentMethod(e){this.deletePaymentMethodId=e.detail}handleCancelDelete(){this.deletePaymentMethodId=null}async handleConfirmDelete(){if(!this.vaultManagerContext?.deleteVaultedPaymentMethod||!this.deletePaymentMethodId){this.errorMessage=P(\"something_went_wrong_error\",{id:\"something_went_wrong_error\"});return}try{this.isDeleting=!0,await this.vaultManagerContext.deleteVaultedPaymentMethod(this.deletePaymentMethodId),this.deletePaymentMethodId=null}catch(e){this.errorMessage=e instanceof Error?e.message:P(\"something_went_wrong_error\",{id:\"something_went_wrong_error\"})}finally{this.isDeleting=!1}}handlePaymentError(e){let r=e.detail?.error;this.errorMessage=r instanceof Error?r.message:P(\"payment_processing_error\",{id:\"payment_processing_error\"})}handleCloseError(){this.errorMessage=\"\"}getPaymentMethodName(e){if(!this.vaultManagerContext)return\"\";let r=this.vaultManagerContext.vaultedPaymentMethods.find(i=>i.id===e);if(!r)return\"\";try{return Mr(r).description||\"\"}catch{return\"\"}}renderDeleteConfirmation(){if(!this.deletePaymentMethodId)return u;let e=this.getPaymentMethodName(this.deletePaymentMethodId);return m` <div class=\"delete-confirmation-container\"> <primer-vault-delete-confirmation .isDeleting=${this.isDeleting} .paymentMethodId=${this.deletePaymentMethodId} .paymentMethodName=${e} @confirm-delete=${this.handleConfirmDelete} @cancel-delete=${this.handleCancelDelete} ></primer-vault-delete-confirmation> </div> `}renderPaymentMethodItem(e){return this.deletePaymentMethodId===e.id?u:m` <primer-vault-payment-method-item .paymentMethod=${e} .isEditMode=${this.isEditMode} @delete-payment-method=${this.handleDeletePaymentMethod} ></primer-vault-payment-method-item> `}render(){if(!this.vaultManagerContext?.enabled)return u;let e=this.vaultManagerContext.vaultedPaymentMethods.length>0,r=this.vaultManagerContext.isLoading,i=!this.isEditMode&&e&&!r&&!this.deletePaymentMethodId;return m` <div class=\"vault-manager\"> <primer-vault-manager-header .isEditMode=${this.isEditMode} .hasPaymentMethods=${e} @toggle-edit-mode=${this.handleToggleEditMode} ></primer-vault-manager-header> ${$(this.errorMessage,()=>m` <primer-vault-error-message .errorMessage=${this.errorMessage} @close-error=${this.handleCloseError} ></primer-vault-error-message> `,()=>u)} <div class=\"vault-manager-content\"> ${$(!r&&!e,()=>m`<primer-vault-empty-state></primer-vault-empty-state>`,()=>u)} ${$(!r&&e&&this.deletePaymentMethodId,()=>this.renderDeleteConfirmation(),()=>u)} ${$(!r&&e&&!this.deletePaymentMethodId,()=>m` <div class=\"payment-methods-list\"> ${this.vaultManagerContext?.vaultedPaymentMethods.map(s=>this.renderPaymentMethodItem(s))} ${$(i,()=>m` <primer-vault-payment-submit @primer-vault-payment-error=${this.handlePaymentError} ></primer-vault-payment-submit> `,()=>u)} </div> `,()=>u)} </div> </div> `}}"
|
|
705
|
+
},
|
|
706
|
+
{
|
|
707
|
+
"kind": "variable",
|
|
708
|
+
"name": "me",
|
|
709
|
+
"default": "class extends f{constructor(){super(...arguments);this.vaultManagerContext=null;this.vaultItemContext=null;this.headlessUtils=null;this.paymentMethod=null;this.isEditMode=!1;this._getAssetsTask=new V(this,{task:async([e,r,i])=>{if(!e||!r||!i)return N;let s=\"\";if(aa(e))s=r.getCardNetworkAsset(e.paymentInstrumentData.network).cardUrl;else{let h=await r.getCDNAssets(e.paymentMethodType);h&&(s=h.assets?.icon?`${h.goatCdnUrl}/${h.assets.icon}`:\"\")}let p=i.cvvRecapture,x=Mr(e);return{icon:s,shouldShowCVV:p,...x}},args:()=>[this.paymentMethod,this.headlessUtils,this.vaultManagerContext]})}isSelected(){if(!this.vaultManagerContext||!this.paymentMethod)return!1;let e=this.vaultItemContext?.selectedVaultedPaymentMethod;return!!e&&e.id===this.paymentMethod.id}handleClick(){this.isEditMode||!this.vaultManagerContext||!this.paymentMethod||(this.isSelected()?this.vaultItemContext?.setSelectedVaultedPaymentMethod(null):this.vaultItemContext?.setSelectedVaultedPaymentMethod(this.paymentMethod))}handleDeleteClick(e){e.stopPropagation(),this.dispatchEvent(new CustomEvent(\"delete-payment-method\",{detail:this.paymentMethod?.id,bubbles:!0,composed:!0}))}renderPaymentMethodContent(e){let r=e.icon?m`<img class=\"payment-method-icon\" src=${e.icon} alt=${e.description} />`:m` <div class=\"payment-method-icon payment-method-icon-generic\"> <primer-icon name=\"payment-card\" size=\"sm\"></primer-icon> </div> `;return m` ${r} <div class=\"payment-method-details\"> <div class=\"payment-method-description\">${e.description}</div> ${e.secondaryDescription?m`<div class=\"payment-method-secondary-description\"> ${e.secondaryDescription} </div>`:u} </div> `}render(){return this._getAssetsTask.render({error:()=>u,complete:e=>{let r=this.isSelected()?\"checked\":\"default\";return this.isEditMode?m` <div class=\"payment-method-item\" @click=${this.handleClick}> <div class=\"payment-method-content\"> ${this.renderPaymentMethodContent(e)} <button class=\"delete-button\" @click=${this.handleDeleteClick} aria-label=${`${P(\"delete\",{id:\"delete\"})} ${e.description}`} > <primer-icon name=\"trash\" size=\"sm\"></primer-icon> </button> </div> </div> `:m` <div class=\"payment-method-wrapper\"> <primer-button variant=\"secondary\" class=\"payment-method-button\" selectable selectionState=${r} @click=${this.handleClick} > ${this.renderPaymentMethodContent(e)} </primer-button> ${$(e.shouldShowCVV&&this.isSelected(),()=>m`<primer-vault-cvv-input .paymentMethod=\"${this.paymentMethod}\" ></primer-vault-cvv-input>`)} </div> `}})}}"
|
|
710
|
+
},
|
|
711
|
+
{
|
|
712
|
+
"kind": "variable",
|
|
713
|
+
"name": "He",
|
|
714
|
+
"default": "class extends f{constructor(){super(...arguments);this.isEditMode=!1;this.hasPaymentMethods=!1}toggleEditMode(){this.dispatchEvent(new CustomEvent(\"toggle-edit-mode\",{detail:!this.isEditMode,bubbles:!0,composed:!0}))}render(){return m` <div class=\"vault-manager-header\"> <h3>${P(\"previouslyUsed\",{id:\"previouslyUsed\"})}</h3> ${this.hasPaymentMethods?m` <primer-button class=\"edit-button ${this.isEditMode?\"active\":\"\"}\" @click=${this.toggleEditMode} aria-label=${this.isEditMode?P(\"confirm\",{id:\"confirm\"}):P(\"editPaymentMethods\",{id:\"editPaymentMethods\"})} > ${this.isEditMode?m`<primer-icon name=\"checkmark\" size=\"sm\"></primer-icon>`:m`<primer-icon name=\"pencil\" size=\"sm\"></primer-icon>`} </primer-button> `:u} </div> `}}"
|
|
715
|
+
},
|
|
716
|
+
{
|
|
717
|
+
"kind": "variable",
|
|
718
|
+
"name": "fe",
|
|
719
|
+
"default": "class extends f{constructor(){super(...arguments);this.isDeleting=!1;this.paymentMethodId=\"\";this.paymentMethodName=\"\";this.vaultManager=null}handleConfirmClick(){this.dispatchEvent(new CustomEvent(\"confirm-delete\",{bubbles:!0,composed:!0}))}handleCancelClick(){this.dispatchEvent(new CustomEvent(\"cancel-delete\",{bubbles:!0,composed:!0}))}render(){let e=this.paymentMethodName;return m` <div class=\"delete-confirmation\"> <div class=\"delete-message\"> <p class=\"delete-text\">${e}</p> </div> <div class=\"delete-actions\"> <button class=\"delete-confirm\" @click=${this.handleConfirmClick} ?disabled=${this.isDeleting} > ${this.isDeleting?P(\"deleting\",{id:\"deleting\"}):P(\"confirmVaultedPaymentMethodDeletion\",{id:\"confirmVaultedPaymentMethodDeletion\"})} </button> <button class=\"delete-cancel\" @click=${this.handleCancelClick} ?disabled=${this.isDeleting} > ${P(\"cancel\",{id:\"cancel\"})} </button> </div> </div> `}}"
|
|
720
|
+
},
|
|
721
|
+
{
|
|
722
|
+
"kind": "variable",
|
|
723
|
+
"name": "ut",
|
|
724
|
+
"default": "class extends f{render(){return m` <div class=\"empty-state\"> <p> ${P(\"savedPaymentMethodsEmpty\",{id:\"savedPaymentMethodsEmpty\"})} </p> </div> `}}"
|
|
725
|
+
},
|
|
726
|
+
{
|
|
727
|
+
"kind": "variable",
|
|
728
|
+
"name": "Ze",
|
|
729
|
+
"default": "class extends f{constructor(){super(...arguments);this.errorMessage=\"\"}handleDismiss(){this.dispatchEvent(new CustomEvent(\"close-error\",{bubbles:!0,composed:!0}))}render(){return m` <div class=\"error-message\"> <div class=\"error-content\"> <primer-icon name=\"warning\" size=\"sm\" color=\"var(--primer-color-red-500)\" ></primer-icon> <p>${this.errorMessage}</p> </div> <button @click=${this.handleDismiss} aria-label=${P(\"closeErrorMessage\",{id:\"closeErrorMessage\"})} > <primer-icon name=\"close\" size=\"sm\"></primer-icon> </button> </div> `}}"
|
|
730
|
+
},
|
|
731
|
+
{
|
|
732
|
+
"kind": "variable",
|
|
733
|
+
"name": "X",
|
|
734
|
+
"default": "class extends f{constructor(){super(...arguments);this._userAssignedProps=new Set;this._internalButtonText=\"\";this.headlessInstance=null;this.sdkState=null;this.vaultItemContext=null;this.vaultManager=null;this.clientOptions=null;this.variant=\"primary\";this.disabled=!1;this.handleClick=async e=>{if(e.preventDefault(),!this.isButtonDisabled)try{await this.vaultManager?.startVaultedPaymentFlow()}catch(r){let i=new CustomEvent(\"primer-vault-payment-error\",{bubbles:!0,composed:!0,detail:{error:r}});this.dispatchEvent(i)}}}get buttonText(){return this._userAssignedProps.has(\"buttonText\")?this._internalButtonText:P(\"pay\",{id:\"pay\"})}set buttonText(e){let r=this.buttonText;e!==\"\"?(this._userAssignedProps.add(\"buttonText\"),this._internalButtonText=e):(this._userAssignedProps.delete(\"buttonText\"),this._internalButtonText=\"\"),this.requestUpdate(\"buttonText\",r)}get isButtonDisabled(){return!!(this.disabled||!this.vaultItemContext?.selectedVaultedPaymentMethod||this.vaultManager?.isLoading)}render(){let e=this.clientOptions?.submitButton?.amountVisible?this.headlessInstance?.getUIOrderAmount():null,r=e?` ${e}`:u;return m` <primer-button buttonType=\"submit\" variant=${this.variant} @click=${this.handleClick} .disabled=${this.isButtonDisabled} .loading=${this.sdkState?.isProcessing} data-submit > ${this.buttonText}${r} </primer-button> `}}"
|
|
735
|
+
},
|
|
736
|
+
{
|
|
737
|
+
"kind": "variable",
|
|
738
|
+
"name": "J",
|
|
739
|
+
"default": "class extends f{constructor(){super();this.vaultManagerFormContext=null;this.vaultManagerCvvContext=null;this.computedStyles=null;this.paymentMethod=null;this.cvvError=null;this.cvvInputIsDirty=!1;this.cvvInputIsBlurred=!1;this.cvvInput=null;this._setupCVVIframe=new V(this,{task:async([e,r])=>!e||!r||e.paymentMethodType!==\"PAYMENT_CARD\"||!e.paymentInstrumentData?.network||r.createCvvInput===void 0?N:{network:e.paymentInstrumentData.network,createCvvInput:r.createCvvInput},args:()=>[this.paymentMethod,this.vaultManagerFormContext]});this.cvvContainerId=`cvv-container-${Math.random().toString(36).substring(2,9)}`,new V(this,{task:async([e])=>{if(!e)return N;await this.updateComplete;let r=this.renderRoot.querySelector(`#${this.cvvContainerId}`);if(!r)return;let i=yr(this.computedStyles),s=i?{input:{base:i}}:void 0,p={cardNetwork:e.network,container:r,name:\"cvv\",placeholder:\"123\",style:s};this.cvvInput=await e.createCvvInput(p),this.cvvInput&&(this.cvvInput.focus(),this.cvvError=this.cvvInput.metadata.error||null,this.vaultManagerCvvContext?.setCvvInput(this.cvvInput),this.cvvInput.addListener(\"change\",()=>{this.onCvvInputChange()}),this.cvvInput.addListener(\"blur\",()=>{this.onBlur()}))},args:()=>[this._setupCVVIframe.value]})}disconnectedCallback(){super.disconnectedCallback(),this.cvvInput&&(this.cvvInput.remove(),this.cvvInput=null,this.cvvError=null,this.vaultManagerCvvContext?.setCvvInput(null))}onCvvInputChange(){!this.cvvInput||!this.vaultManagerCvvContext||(this.cvvInputIsDirty=!0,this.cvvError=this.cvvInput.metadata.error||null)}onBlur(){this.cvvInput&&(this.cvvInputIsBlurred=!0,this.cvvError=this.cvvInput.metadata.error||null)}render(){return this._setupCVVIframe.render({error:()=>u,complete:()=>m` <div class=\"cvv-input-container\"> <primer-input-wrapper .hasError=${!!this.cvvError&&(this.vaultManagerCvvContext?.formIsDirty||this.cvvInputIsDirty&&this.cvvInputIsBlurred)} > <primer-input-label slot=\"label\">CVV</primer-input-label> <div slot=\"input\" id=\"${this.cvvContainerId}\"></div> ${$(this.cvvError&&(this.vaultManagerCvvContext?.formIsDirty||this.cvvInputIsDirty&&this.cvvInputIsBlurred),()=>m` <primer-input-error slot=\"error\"> ${this.cvvError} </primer-input-error> `)} </primer-input-wrapper> </div> `})}}"
|
|
740
|
+
},
|
|
741
|
+
{
|
|
742
|
+
"kind": "variable",
|
|
743
|
+
"name": "Ye",
|
|
744
|
+
"default": "class extends f{constructor(){super(...arguments);this.isShowingOtherPayments=!1;this.vaultManager=null}handleExpandedChanged(e){this.isShowingOtherPayments=e.detail.expanded}render(){return this.vaultManager?.isLoading?u:!this.vaultManager||!this.vaultManager.enabled||this.vaultManager.vaultedPaymentMethods.length===0?m`<slot name=\"other-payments\"></slot>`:m` <div class=\"other-payment-methods-container\"> <primer-collapsable buttonVariant=\"secondary\" .expanded=\"${this.isShowingOtherPayments}\" .header=\"${P(\"navigateToPaymentMethods\",{id:\"navigateToPaymentMethods\"})}\" @expanded-changed=\"${this.handleExpandedChanged}\" > <div class=\"other-payment-methods-content\"> <slot name=\"other-payments\"></slot> </div> </primer-collapsable> </div> `}}"
|
|
745
|
+
},
|
|
746
|
+
{
|
|
747
|
+
"kind": "variable",
|
|
748
|
+
"name": "Ht",
|
|
749
|
+
"default": "class extends f{render(){return m` <primer-checkout-state type=\"complete\"></primer-checkout-state> `}}"
|
|
750
|
+
},
|
|
751
|
+
{
|
|
752
|
+
"kind": "variable",
|
|
753
|
+
"name": "ht",
|
|
754
|
+
"default": "class extends f{constructor(){super(...arguments);this.sdkState=null}render(){return m` <primer-checkout-state type=\"failure\" description=${this.sdkState?.error?.message||\"\"} ></primer-checkout-state> `}}"
|
|
755
|
+
},
|
|
756
|
+
{
|
|
757
|
+
"kind": "variable",
|
|
758
|
+
"name": "Ue",
|
|
759
|
+
"default": "class extends f{constructor(){super(...arguments);this.showProcessingErrors=!0}get shouldShowError(){return!this.sdkState||this.sdkState.isProcessing?!1:!!(this.sdkState.failure&&this.showProcessingErrors)}render(){return this.sdkState?m` <primer-error-message message=\"${P(this.sdkState.failure?.message??\"\",{id:\"tokenizationError\"})}\" ?visible=\"${this.shouldShowError}\" ></primer-error-message> `:u}}"
|
|
760
|
+
},
|
|
761
|
+
{
|
|
762
|
+
"kind": "function",
|
|
763
|
+
"name": "Ix"
|
|
769
764
|
}
|
|
770
765
|
],
|
|
771
766
|
"exports": [
|
|
767
|
+
{
|
|
768
|
+
"kind": "custom-element-definition",
|
|
769
|
+
"name": "o",
|
|
770
|
+
"declaration": {
|
|
771
|
+
"name": "t",
|
|
772
|
+
"module": "dist/primer-loader.js"
|
|
773
|
+
}
|
|
774
|
+
},
|
|
775
|
+
{
|
|
776
|
+
"kind": "custom-element-definition",
|
|
777
|
+
"name": "o",
|
|
778
|
+
"declaration": {
|
|
779
|
+
"name": "t",
|
|
780
|
+
"module": "dist/primer-loader.js"
|
|
781
|
+
}
|
|
782
|
+
},
|
|
772
783
|
{
|
|
773
784
|
"kind": "js",
|
|
774
|
-
"name": "
|
|
785
|
+
"name": "Button",
|
|
775
786
|
"declaration": {
|
|
776
|
-
"name": "
|
|
777
|
-
"module": "
|
|
787
|
+
"name": "ne",
|
|
788
|
+
"module": "dist/primer-loader.js"
|
|
778
789
|
}
|
|
779
790
|
},
|
|
780
791
|
{
|
|
781
792
|
"kind": "js",
|
|
782
|
-
"name": "
|
|
793
|
+
"name": "CardForm",
|
|
783
794
|
"declaration": {
|
|
784
|
-
"name": "
|
|
785
|
-
"module": "
|
|
795
|
+
"name": "Se",
|
|
796
|
+
"module": "dist/primer-loader.js"
|
|
786
797
|
}
|
|
787
798
|
},
|
|
788
799
|
{
|
|
789
800
|
"kind": "js",
|
|
790
|
-
"name": "
|
|
801
|
+
"name": "CardFormCVV",
|
|
791
802
|
"declaration": {
|
|
792
|
-
"name": "
|
|
793
|
-
"module": "
|
|
803
|
+
"name": "dt",
|
|
804
|
+
"module": "dist/primer-loader.js"
|
|
794
805
|
}
|
|
795
806
|
},
|
|
796
807
|
{
|
|
797
808
|
"kind": "js",
|
|
798
|
-
"name": "
|
|
809
|
+
"name": "CardFormCardNetworkSelector",
|
|
799
810
|
"declaration": {
|
|
800
|
-
"name": "
|
|
801
|
-
"module": "
|
|
811
|
+
"name": "le",
|
|
812
|
+
"module": "dist/primer-loader.js"
|
|
802
813
|
}
|
|
803
814
|
},
|
|
804
815
|
{
|
|
805
816
|
"kind": "js",
|
|
806
|
-
"name": "
|
|
817
|
+
"name": "CardFormCardNumber",
|
|
807
818
|
"declaration": {
|
|
808
|
-
"name": "
|
|
809
|
-
"module": "
|
|
819
|
+
"name": "lt",
|
|
820
|
+
"module": "dist/primer-loader.js"
|
|
810
821
|
}
|
|
811
|
-
}
|
|
812
|
-
]
|
|
813
|
-
},
|
|
814
|
-
{
|
|
815
|
-
"kind": "javascript-module",
|
|
816
|
-
"path": "src/primer-checkout.ts",
|
|
817
|
-
"declarations": [
|
|
822
|
+
},
|
|
818
823
|
{
|
|
819
|
-
"kind": "
|
|
820
|
-
"
|
|
821
|
-
"
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
824
|
+
"kind": "js",
|
|
825
|
+
"name": "CardFormError",
|
|
826
|
+
"declaration": {
|
|
827
|
+
"name": "Re",
|
|
828
|
+
"module": "dist/primer-loader.js"
|
|
829
|
+
}
|
|
830
|
+
},
|
|
831
|
+
{
|
|
832
|
+
"kind": "js",
|
|
833
|
+
"name": "CardFormExpiry",
|
|
834
|
+
"declaration": {
|
|
835
|
+
"name": "ct",
|
|
836
|
+
"module": "dist/primer-loader.js"
|
|
837
|
+
}
|
|
838
|
+
},
|
|
839
|
+
{
|
|
840
|
+
"kind": "js",
|
|
841
|
+
"name": "CardFormName",
|
|
842
|
+
"declaration": {
|
|
843
|
+
"name": "pt",
|
|
844
|
+
"module": "dist/primer-loader.js"
|
|
845
|
+
}
|
|
846
|
+
},
|
|
847
|
+
{
|
|
848
|
+
"kind": "js",
|
|
849
|
+
"name": "CardFormSubmit",
|
|
850
|
+
"declaration": {
|
|
851
|
+
"name": "se",
|
|
852
|
+
"module": "dist/primer-loader.js"
|
|
853
|
+
}
|
|
854
|
+
},
|
|
855
|
+
{
|
|
856
|
+
"kind": "js",
|
|
857
|
+
"name": "Collapsable",
|
|
858
|
+
"declaration": {
|
|
859
|
+
"name": "re",
|
|
860
|
+
"module": "dist/primer-loader.js"
|
|
861
|
+
}
|
|
862
|
+
},
|
|
863
|
+
{
|
|
864
|
+
"kind": "js",
|
|
865
|
+
"name": "ErrorMessage",
|
|
866
|
+
"declaration": {
|
|
867
|
+
"name": "he",
|
|
868
|
+
"module": "dist/primer-loader.js"
|
|
869
|
+
}
|
|
870
|
+
},
|
|
871
|
+
{
|
|
872
|
+
"kind": "js",
|
|
873
|
+
"name": "ErrorMessageContainer",
|
|
874
|
+
"declaration": {
|
|
875
|
+
"name": "Ue",
|
|
876
|
+
"module": "dist/primer-loader.js"
|
|
877
|
+
}
|
|
878
|
+
},
|
|
879
|
+
{
|
|
880
|
+
"kind": "js",
|
|
881
|
+
"name": "InitializedPayments",
|
|
882
|
+
"declaration": {
|
|
883
|
+
"name": "ur",
|
|
884
|
+
"module": "dist/primer-loader.js"
|
|
885
|
+
}
|
|
886
|
+
},
|
|
887
|
+
{
|
|
888
|
+
"kind": "js",
|
|
889
|
+
"name": "Input",
|
|
890
|
+
"declaration": {
|
|
891
|
+
"name": "Y",
|
|
892
|
+
"module": "dist/primer-loader.js"
|
|
893
|
+
}
|
|
894
|
+
},
|
|
895
|
+
{
|
|
896
|
+
"kind": "js",
|
|
897
|
+
"name": "InputLabel",
|
|
898
|
+
"declaration": {
|
|
899
|
+
"name": "Ne",
|
|
900
|
+
"module": "dist/primer-loader.js"
|
|
901
|
+
}
|
|
902
|
+
},
|
|
903
|
+
{
|
|
904
|
+
"kind": "js",
|
|
905
|
+
"name": "InputWrapper",
|
|
906
|
+
"declaration": {
|
|
907
|
+
"name": "Ce",
|
|
908
|
+
"module": "dist/primer-loader.js"
|
|
909
|
+
}
|
|
910
|
+
},
|
|
911
|
+
{
|
|
912
|
+
"kind": "js",
|
|
913
|
+
"name": "NativePayment",
|
|
914
|
+
"declaration": {
|
|
915
|
+
"name": "Me",
|
|
916
|
+
"module": "dist/primer-loader.js"
|
|
917
|
+
}
|
|
918
|
+
},
|
|
919
|
+
{
|
|
920
|
+
"kind": "js",
|
|
921
|
+
"name": "PaymentMethod",
|
|
922
|
+
"declaration": {
|
|
923
|
+
"name": "De",
|
|
924
|
+
"module": "dist/primer-loader.js"
|
|
925
|
+
}
|
|
926
|
+
},
|
|
927
|
+
{
|
|
928
|
+
"kind": "js",
|
|
929
|
+
"name": "PrimerCheckoutComplete",
|
|
930
|
+
"declaration": {
|
|
931
|
+
"name": "Ht",
|
|
932
|
+
"module": "dist/primer-loader.js"
|
|
933
|
+
}
|
|
934
|
+
},
|
|
935
|
+
{
|
|
936
|
+
"kind": "js",
|
|
937
|
+
"name": "PrimerCheckoutComponent",
|
|
938
|
+
"declaration": {
|
|
939
|
+
"name": "ae",
|
|
940
|
+
"module": "dist/primer-loader.js"
|
|
941
|
+
}
|
|
942
|
+
},
|
|
943
|
+
{
|
|
944
|
+
"kind": "js",
|
|
945
|
+
"name": "PrimerCheckoutFailure",
|
|
946
|
+
"declaration": {
|
|
947
|
+
"name": "ht",
|
|
948
|
+
"module": "dist/primer-loader.js"
|
|
949
|
+
}
|
|
950
|
+
},
|
|
951
|
+
{
|
|
952
|
+
"kind": "js",
|
|
953
|
+
"name": "PrimerCheckoutState",
|
|
954
|
+
"declaration": {
|
|
955
|
+
"name": "Oe",
|
|
956
|
+
"module": "dist/primer-loader.js"
|
|
957
|
+
}
|
|
958
|
+
},
|
|
959
|
+
{
|
|
960
|
+
"kind": "js",
|
|
961
|
+
"name": "PrimerIcon",
|
|
962
|
+
"declaration": {
|
|
963
|
+
"name": "Ae",
|
|
964
|
+
"module": "dist/primer-loader.js"
|
|
965
|
+
}
|
|
966
|
+
},
|
|
967
|
+
{
|
|
968
|
+
"kind": "js",
|
|
969
|
+
"name": "PrimerKlarna",
|
|
970
|
+
"declaration": {
|
|
971
|
+
"name": "Z",
|
|
972
|
+
"module": "dist/primer-loader.js"
|
|
973
|
+
}
|
|
974
|
+
},
|
|
975
|
+
{
|
|
976
|
+
"kind": "js",
|
|
977
|
+
"name": "PrimerMain",
|
|
978
|
+
"declaration": {
|
|
979
|
+
"name": "$e",
|
|
980
|
+
"module": "dist/primer-loader.js"
|
|
981
|
+
}
|
|
982
|
+
},
|
|
983
|
+
{
|
|
984
|
+
"kind": "js",
|
|
985
|
+
"name": "RedirectPayment",
|
|
986
|
+
"declaration": {
|
|
987
|
+
"name": "ge",
|
|
988
|
+
"module": "dist/primer-loader.js"
|
|
989
|
+
}
|
|
990
|
+
},
|
|
991
|
+
{
|
|
992
|
+
"kind": "js",
|
|
993
|
+
"name": "ShowOtherPayments",
|
|
994
|
+
"declaration": {
|
|
995
|
+
"name": "Ye",
|
|
996
|
+
"module": "dist/primer-loader.js"
|
|
997
|
+
}
|
|
998
|
+
},
|
|
999
|
+
{
|
|
1000
|
+
"kind": "js",
|
|
1001
|
+
"name": "Spinner",
|
|
1002
|
+
"declaration": {
|
|
1003
|
+
"name": "xe",
|
|
1004
|
+
"module": "dist/primer-loader.js"
|
|
1005
|
+
}
|
|
1006
|
+
},
|
|
1007
|
+
{
|
|
1008
|
+
"kind": "js",
|
|
1009
|
+
"name": "VaultCvvInput",
|
|
1010
|
+
"declaration": {
|
|
1011
|
+
"name": "J",
|
|
1012
|
+
"module": "dist/primer-loader.js"
|
|
1013
|
+
}
|
|
1014
|
+
},
|
|
1015
|
+
{
|
|
1016
|
+
"kind": "js",
|
|
1017
|
+
"name": "VaultDeleteConfirmation",
|
|
1018
|
+
"declaration": {
|
|
1019
|
+
"name": "fe",
|
|
1020
|
+
"module": "dist/primer-loader.js"
|
|
1021
|
+
}
|
|
1022
|
+
},
|
|
1023
|
+
{
|
|
1024
|
+
"kind": "js",
|
|
1025
|
+
"name": "VaultEmptyState",
|
|
1026
|
+
"declaration": {
|
|
1027
|
+
"name": "ut",
|
|
1028
|
+
"module": "dist/primer-loader.js"
|
|
1029
|
+
}
|
|
1030
|
+
},
|
|
1031
|
+
{
|
|
1032
|
+
"kind": "js",
|
|
1033
|
+
"name": "VaultErrorMessage",
|
|
1034
|
+
"declaration": {
|
|
1035
|
+
"name": "Ze",
|
|
1036
|
+
"module": "dist/primer-loader.js"
|
|
1037
|
+
}
|
|
1038
|
+
},
|
|
1039
|
+
{
|
|
1040
|
+
"kind": "js",
|
|
1041
|
+
"name": "VaultManager",
|
|
1042
|
+
"declaration": {
|
|
1043
|
+
"name": "pe",
|
|
1044
|
+
"module": "dist/primer-loader.js"
|
|
1045
|
+
}
|
|
1046
|
+
},
|
|
1047
|
+
{
|
|
1048
|
+
"kind": "js",
|
|
1049
|
+
"name": "VaultManagerHeader",
|
|
1050
|
+
"declaration": {
|
|
1051
|
+
"name": "He",
|
|
1052
|
+
"module": "dist/primer-loader.js"
|
|
1053
|
+
}
|
|
1054
|
+
},
|
|
1055
|
+
{
|
|
1056
|
+
"kind": "js",
|
|
1057
|
+
"name": "VaultPaymentMethodItem",
|
|
1058
|
+
"declaration": {
|
|
1059
|
+
"name": "me",
|
|
1060
|
+
"module": "dist/primer-loader.js"
|
|
1061
|
+
}
|
|
1062
|
+
},
|
|
1063
|
+
{
|
|
1064
|
+
"kind": "js",
|
|
1065
|
+
"name": "VaultPaymentSubmit",
|
|
1066
|
+
"declaration": {
|
|
1067
|
+
"name": "X",
|
|
1068
|
+
"module": "dist/primer-loader.js"
|
|
1069
|
+
}
|
|
1070
|
+
},
|
|
1071
|
+
{
|
|
1072
|
+
"kind": "js",
|
|
1073
|
+
"name": "injectDarkTheme",
|
|
1074
|
+
"declaration": {
|
|
1075
|
+
"name": "Nn",
|
|
1076
|
+
"module": "dist/primer-loader.js"
|
|
1077
|
+
}
|
|
1078
|
+
},
|
|
1079
|
+
{
|
|
1080
|
+
"kind": "js",
|
|
1081
|
+
"name": "injectLightTheme",
|
|
1082
|
+
"declaration": {
|
|
1083
|
+
"name": "Ln",
|
|
1084
|
+
"module": "dist/primer-loader.js"
|
|
1085
|
+
}
|
|
1086
|
+
},
|
|
1087
|
+
{
|
|
1088
|
+
"kind": "js",
|
|
1089
|
+
"name": "injectLoaderStyles",
|
|
1090
|
+
"declaration": {
|
|
1091
|
+
"name": "_i",
|
|
1092
|
+
"module": "dist/primer-loader.js"
|
|
1093
|
+
}
|
|
1094
|
+
},
|
|
1095
|
+
{
|
|
1096
|
+
"kind": "js",
|
|
1097
|
+
"name": "injectThemeStyles",
|
|
1098
|
+
"declaration": {
|
|
1099
|
+
"name": "Pi",
|
|
1100
|
+
"module": "dist/primer-loader.js"
|
|
1101
|
+
}
|
|
1102
|
+
},
|
|
1103
|
+
{
|
|
1104
|
+
"kind": "js",
|
|
1105
|
+
"name": "loadPrimer",
|
|
1106
|
+
"declaration": {
|
|
1107
|
+
"name": "Ix",
|
|
1108
|
+
"module": "dist/primer-loader.js"
|
|
1109
|
+
}
|
|
1110
|
+
}
|
|
1111
|
+
]
|
|
1112
|
+
},
|
|
1113
|
+
{
|
|
1114
|
+
"kind": "javascript-module",
|
|
1115
|
+
"path": "src/base.styles.ts",
|
|
1116
|
+
"declarations": [
|
|
1117
|
+
{
|
|
1118
|
+
"kind": "variable",
|
|
1119
|
+
"name": "base",
|
|
1120
|
+
"default": "css` * { box-sizing: border-box; } `"
|
|
1121
|
+
},
|
|
1122
|
+
{
|
|
1123
|
+
"kind": "variable",
|
|
1124
|
+
"name": "primerCheckout",
|
|
1125
|
+
"default": "css` :host { display: block; isolation: isolate; position: relative; width: 100%; //Keep the CSS loader in the same position - check css-loader-inline.ts min-height: 64px; } `"
|
|
1126
|
+
}
|
|
1127
|
+
],
|
|
1128
|
+
"exports": [
|
|
1129
|
+
{
|
|
1130
|
+
"kind": "js",
|
|
1131
|
+
"name": "base",
|
|
1132
|
+
"declaration": {
|
|
1133
|
+
"name": "base",
|
|
1134
|
+
"module": "src/base.styles.ts"
|
|
1135
|
+
}
|
|
1136
|
+
},
|
|
1137
|
+
{
|
|
1138
|
+
"kind": "js",
|
|
1139
|
+
"name": "primerCheckout",
|
|
1140
|
+
"declaration": {
|
|
1141
|
+
"name": "primerCheckout",
|
|
1142
|
+
"module": "src/base.styles.ts"
|
|
1143
|
+
}
|
|
1144
|
+
}
|
|
1145
|
+
]
|
|
1146
|
+
},
|
|
1147
|
+
{
|
|
1148
|
+
"kind": "javascript-module",
|
|
1149
|
+
"path": "src/components.ts",
|
|
1150
|
+
"declarations": [],
|
|
1151
|
+
"exports": [
|
|
1152
|
+
{
|
|
1153
|
+
"kind": "js",
|
|
1154
|
+
"name": "*",
|
|
1155
|
+
"declaration": {
|
|
1156
|
+
"name": "*",
|
|
1157
|
+
"package": "./contexts/types"
|
|
1158
|
+
}
|
|
1159
|
+
},
|
|
1160
|
+
{
|
|
1161
|
+
"kind": "js",
|
|
1162
|
+
"name": "*",
|
|
1163
|
+
"declaration": {
|
|
1164
|
+
"name": "*",
|
|
1165
|
+
"package": "./contexts/payments-objects"
|
|
1166
|
+
}
|
|
1167
|
+
},
|
|
1168
|
+
{
|
|
1169
|
+
"kind": "js",
|
|
1170
|
+
"name": "*",
|
|
1171
|
+
"declaration": {
|
|
1172
|
+
"name": "*",
|
|
1173
|
+
"package": "./atoms"
|
|
1174
|
+
}
|
|
1175
|
+
},
|
|
1176
|
+
{
|
|
1177
|
+
"kind": "js",
|
|
1178
|
+
"name": "*",
|
|
1179
|
+
"declaration": {
|
|
1180
|
+
"name": "*",
|
|
1181
|
+
"package": "./containers"
|
|
1182
|
+
}
|
|
1183
|
+
},
|
|
1184
|
+
{
|
|
1185
|
+
"kind": "js",
|
|
1186
|
+
"name": "PrimerCheckoutOptions",
|
|
1187
|
+
"declaration": {
|
|
1188
|
+
"name": "PrimerCheckoutOptions",
|
|
1189
|
+
"module": "./types/sdk"
|
|
1190
|
+
}
|
|
1191
|
+
},
|
|
1192
|
+
{
|
|
1193
|
+
"kind": "js",
|
|
1194
|
+
"name": "PrimerCheckoutComponent",
|
|
1195
|
+
"declaration": {
|
|
1196
|
+
"name": "PrimerCheckoutComponent",
|
|
1197
|
+
"module": "src/components.ts"
|
|
1198
|
+
}
|
|
1199
|
+
},
|
|
1200
|
+
{
|
|
1201
|
+
"kind": "js",
|
|
1202
|
+
"name": "injectLoaderStyles",
|
|
1203
|
+
"declaration": {
|
|
1204
|
+
"name": "injectLoaderStyles",
|
|
1205
|
+
"module": "src/components.ts"
|
|
1206
|
+
}
|
|
1207
|
+
},
|
|
1208
|
+
{
|
|
1209
|
+
"kind": "js",
|
|
1210
|
+
"name": "injectThemeStyles",
|
|
1211
|
+
"declaration": {
|
|
1212
|
+
"name": "injectThemeStyles",
|
|
1213
|
+
"module": "src/components.ts"
|
|
1214
|
+
}
|
|
1215
|
+
},
|
|
1216
|
+
{
|
|
1217
|
+
"kind": "js",
|
|
1218
|
+
"name": "injectLightTheme",
|
|
1219
|
+
"declaration": {
|
|
1220
|
+
"name": "injectLightTheme",
|
|
1221
|
+
"module": "src/components.ts"
|
|
1222
|
+
}
|
|
1223
|
+
},
|
|
1224
|
+
{
|
|
1225
|
+
"kind": "js",
|
|
1226
|
+
"name": "injectDarkTheme",
|
|
1227
|
+
"declaration": {
|
|
1228
|
+
"name": "injectDarkTheme",
|
|
1229
|
+
"module": "src/components.ts"
|
|
1230
|
+
}
|
|
1231
|
+
}
|
|
1232
|
+
]
|
|
1233
|
+
},
|
|
1234
|
+
{
|
|
1235
|
+
"kind": "javascript-module",
|
|
1236
|
+
"path": "src/consts.ts",
|
|
1237
|
+
"declarations": [
|
|
1238
|
+
{
|
|
1239
|
+
"kind": "variable",
|
|
1240
|
+
"name": "legacySdkCdnUrl"
|
|
1241
|
+
}
|
|
1242
|
+
],
|
|
1243
|
+
"exports": [
|
|
1244
|
+
{
|
|
1245
|
+
"kind": "js",
|
|
1246
|
+
"name": "legacySdkCdnUrl",
|
|
1247
|
+
"declaration": {
|
|
1248
|
+
"name": "legacySdkCdnUrl",
|
|
1249
|
+
"module": "src/consts.ts"
|
|
1250
|
+
}
|
|
1251
|
+
}
|
|
1252
|
+
]
|
|
1253
|
+
},
|
|
1254
|
+
{
|
|
1255
|
+
"kind": "javascript-module",
|
|
1256
|
+
"path": "src/css-loader-inline.ts",
|
|
1257
|
+
"declarations": [
|
|
1258
|
+
{
|
|
1259
|
+
"kind": "variable",
|
|
1260
|
+
"name": "cssLoaderStyles",
|
|
1261
|
+
"default": "` @keyframes primer-css-spinner-rotate { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } } primer-checkout:has(:not(:defined)) > * { visibility: hidden; } primer-checkout:not([js-initialized]) { display: block; position: relative; width: 100%; min-height: 64px; } primer-checkout:not([js-initialized]):not([loader-disabled])::after { content: \"\"; display: block; box-sizing: border-box; position: absolute; inset: 0; margin: auto; width: var(--primer-size-xlarge); height: var(--primer-size-xlarge); border-radius: 50%; border: 3px solid #f5f5f5; border-top-color: var(--primer-color-loader); animation: primer-css-spinner-rotate 1.2s linear infinite; z-index: 9999; } `",
|
|
1262
|
+
"description": "This module exports the CSS loader styles as a string for inline injection.\nThese styles are injected into the page before any JavaScript loads,\nensuring the loading indicator appears immediately."
|
|
1263
|
+
}
|
|
1264
|
+
],
|
|
1265
|
+
"exports": [
|
|
1266
|
+
{
|
|
1267
|
+
"kind": "js",
|
|
1268
|
+
"name": "cssLoaderStyles",
|
|
1269
|
+
"declaration": {
|
|
1270
|
+
"name": "cssLoaderStyles",
|
|
1271
|
+
"module": "src/css-loader-inline.ts"
|
|
1272
|
+
}
|
|
1273
|
+
}
|
|
1274
|
+
]
|
|
1275
|
+
},
|
|
1276
|
+
{
|
|
1277
|
+
"kind": "javascript-module",
|
|
1278
|
+
"path": "src/loader.ts",
|
|
1279
|
+
"declarations": [
|
|
1280
|
+
{
|
|
1281
|
+
"kind": "function",
|
|
1282
|
+
"name": "loadPrimer",
|
|
1283
|
+
"return": {
|
|
1284
|
+
"type": {
|
|
1285
|
+
"text": "Promise<void>"
|
|
1286
|
+
}
|
|
1287
|
+
},
|
|
1288
|
+
"description": "Main function to load the Primer SDK with all required dependencies and styles"
|
|
1289
|
+
}
|
|
1290
|
+
],
|
|
1291
|
+
"exports": [
|
|
1292
|
+
{
|
|
1293
|
+
"kind": "js",
|
|
1294
|
+
"name": "*",
|
|
1295
|
+
"declaration": {
|
|
1296
|
+
"name": "*",
|
|
1297
|
+
"package": "./contexts/types"
|
|
1298
|
+
}
|
|
1299
|
+
},
|
|
1300
|
+
{
|
|
1301
|
+
"kind": "js",
|
|
1302
|
+
"name": "*",
|
|
1303
|
+
"declaration": {
|
|
1304
|
+
"name": "*",
|
|
1305
|
+
"package": "./contexts/payments-objects"
|
|
1306
|
+
}
|
|
1307
|
+
},
|
|
1308
|
+
{
|
|
1309
|
+
"kind": "js",
|
|
1310
|
+
"name": "*",
|
|
1311
|
+
"declaration": {
|
|
1312
|
+
"name": "*",
|
|
1313
|
+
"package": "./atoms"
|
|
1314
|
+
}
|
|
1315
|
+
},
|
|
1316
|
+
{
|
|
1317
|
+
"kind": "js",
|
|
1318
|
+
"name": "*",
|
|
1319
|
+
"declaration": {
|
|
1320
|
+
"name": "*",
|
|
1321
|
+
"package": "./containers"
|
|
1322
|
+
}
|
|
1323
|
+
},
|
|
1324
|
+
{
|
|
1325
|
+
"kind": "js",
|
|
1326
|
+
"name": "PrimerCheckoutOptions",
|
|
1327
|
+
"declaration": {
|
|
1328
|
+
"name": "PrimerCheckoutOptions",
|
|
1329
|
+
"module": "./types/sdk"
|
|
1330
|
+
}
|
|
1331
|
+
},
|
|
1332
|
+
{
|
|
1333
|
+
"kind": "js",
|
|
1334
|
+
"name": "PrimerCheckoutComponent",
|
|
1335
|
+
"declaration": {
|
|
1336
|
+
"name": "PrimerCheckoutComponent",
|
|
1337
|
+
"module": "src/loader.ts"
|
|
1338
|
+
}
|
|
1339
|
+
},
|
|
1340
|
+
{
|
|
1341
|
+
"kind": "js",
|
|
1342
|
+
"name": "injectLoaderStyles",
|
|
1343
|
+
"declaration": {
|
|
1344
|
+
"name": "injectLoaderStyles",
|
|
1345
|
+
"module": "src/loader.ts"
|
|
1346
|
+
}
|
|
1347
|
+
},
|
|
1348
|
+
{
|
|
1349
|
+
"kind": "js",
|
|
1350
|
+
"name": "injectThemeStyles",
|
|
1351
|
+
"declaration": {
|
|
1352
|
+
"name": "injectThemeStyles",
|
|
1353
|
+
"module": "src/loader.ts"
|
|
1354
|
+
}
|
|
1355
|
+
},
|
|
1356
|
+
{
|
|
1357
|
+
"kind": "js",
|
|
1358
|
+
"name": "injectLightTheme",
|
|
1359
|
+
"declaration": {
|
|
1360
|
+
"name": "injectLightTheme",
|
|
1361
|
+
"module": "src/loader.ts"
|
|
1362
|
+
}
|
|
1363
|
+
},
|
|
1364
|
+
{
|
|
1365
|
+
"kind": "js",
|
|
1366
|
+
"name": "injectDarkTheme",
|
|
1367
|
+
"declaration": {
|
|
1368
|
+
"name": "injectDarkTheme",
|
|
1369
|
+
"module": "src/loader.ts"
|
|
1370
|
+
}
|
|
1371
|
+
},
|
|
1372
|
+
{
|
|
1373
|
+
"kind": "js",
|
|
1374
|
+
"name": "loadPrimer",
|
|
1375
|
+
"declaration": {
|
|
1376
|
+
"name": "loadPrimer",
|
|
1377
|
+
"module": "src/loader.ts"
|
|
1378
|
+
}
|
|
1379
|
+
}
|
|
1380
|
+
]
|
|
1381
|
+
},
|
|
1382
|
+
{
|
|
1383
|
+
"kind": "javascript-module",
|
|
1384
|
+
"path": "src/primer-checkout.ts",
|
|
1385
|
+
"declarations": [
|
|
1386
|
+
{
|
|
1387
|
+
"kind": "class",
|
|
1388
|
+
"description": "PrimerCheckoutComponent implements the main checkout experience.\nThis component includes a CSS-only loader that displays before the JavaScript\nis fully loaded, ensuring users see a loading indicator immediately.\n\nThe loader can be disabled by:\n1. Adding the 'loader-disabled' attribute to the component\n2. Setting the CSS custom property --primer-loader-disabled: 1",
|
|
1389
|
+
"name": "PrimerCheckoutComponent",
|
|
1390
|
+
"members": [
|
|
1391
|
+
{
|
|
1392
|
+
"kind": "field",
|
|
1393
|
+
"name": "jsInitialized",
|
|
1394
|
+
"type": {
|
|
1395
|
+
"text": "boolean"
|
|
1396
|
+
}
|
|
1397
|
+
},
|
|
1398
|
+
{
|
|
1399
|
+
"kind": "field",
|
|
1400
|
+
"name": "customStyles",
|
|
1401
|
+
"type": {
|
|
1402
|
+
"text": "string"
|
|
1403
|
+
},
|
|
1404
|
+
"default": "''",
|
|
1405
|
+
"attribute": "custom-styles"
|
|
1406
|
+
},
|
|
1407
|
+
{
|
|
1408
|
+
"kind": "field",
|
|
1409
|
+
"name": "clientToken",
|
|
1410
|
+
"type": {
|
|
1411
|
+
"text": "string"
|
|
1412
|
+
},
|
|
1413
|
+
"default": "''",
|
|
1414
|
+
"attribute": "client-token"
|
|
1415
|
+
},
|
|
1416
|
+
{
|
|
1417
|
+
"kind": "field",
|
|
1418
|
+
"name": "options",
|
|
1419
|
+
"type": {
|
|
1420
|
+
"text": "PrimerCheckoutOptions"
|
|
1421
|
+
},
|
|
1422
|
+
"default": "{}",
|
|
1423
|
+
"attribute": "options"
|
|
1424
|
+
},
|
|
1425
|
+
{
|
|
1426
|
+
"kind": "field",
|
|
1427
|
+
"name": "_jsInitialized",
|
|
1428
|
+
"type": {
|
|
1429
|
+
"text": "boolean"
|
|
1430
|
+
},
|
|
1431
|
+
"privacy": "private",
|
|
1432
|
+
"default": "false",
|
|
1433
|
+
"description": "Whether the component has completed initialization and loading\nThis is used to control the CSS-only loader visibility",
|
|
1434
|
+
"attribute": "js-initialized",
|
|
1435
|
+
"reflects": true
|
|
1436
|
+
},
|
|
1437
|
+
{
|
|
1438
|
+
"kind": "field",
|
|
1439
|
+
"name": "defaultSlot",
|
|
1440
|
+
"type": {
|
|
1441
|
+
"text": "HTMLSlotElement"
|
|
1442
|
+
}
|
|
1443
|
+
},
|
|
1444
|
+
{
|
|
1445
|
+
"kind": "field",
|
|
1446
|
+
"name": "previousLoadingState",
|
|
1447
|
+
"type": {
|
|
1448
|
+
"text": "boolean"
|
|
1449
|
+
},
|
|
1450
|
+
"privacy": "private",
|
|
1451
|
+
"default": "true"
|
|
1452
|
+
},
|
|
1453
|
+
{
|
|
1454
|
+
"kind": "field",
|
|
1455
|
+
"name": "hasAssignedContent",
|
|
1456
|
+
"type": {
|
|
1457
|
+
"text": "boolean"
|
|
1458
|
+
},
|
|
1459
|
+
"privacy": "private",
|
|
1460
|
+
"default": "false"
|
|
1461
|
+
},
|
|
1462
|
+
{
|
|
1463
|
+
"kind": "field",
|
|
1464
|
+
"name": "_loadingTimeoutId",
|
|
1465
|
+
"type": {
|
|
1466
|
+
"text": "number | null"
|
|
1467
|
+
},
|
|
1468
|
+
"privacy": "private",
|
|
1469
|
+
"default": "null"
|
|
1470
|
+
},
|
|
1471
|
+
{
|
|
1472
|
+
"kind": "field",
|
|
1473
|
+
"name": "locale",
|
|
1474
|
+
"type": {
|
|
1475
|
+
"text": "LocaleCode | undefined"
|
|
1476
|
+
},
|
|
1477
|
+
"default": "'en-GB'"
|
|
1478
|
+
},
|
|
1479
|
+
{
|
|
1480
|
+
"kind": "field",
|
|
1481
|
+
"name": "onSlotChange",
|
|
1482
|
+
"privacy": "private"
|
|
1483
|
+
},
|
|
1484
|
+
{
|
|
1485
|
+
"kind": "field",
|
|
1486
|
+
"name": "sdkContextController",
|
|
1487
|
+
"type": {
|
|
1488
|
+
"text": "SDKContextController"
|
|
1489
|
+
},
|
|
1490
|
+
"default": "new SDKContextController(this)"
|
|
1491
|
+
},
|
|
1492
|
+
{
|
|
1493
|
+
"kind": "field",
|
|
917
1494
|
"name": "sdkStateController",
|
|
918
1495
|
"type": {
|
|
919
1496
|
"text": "SdkStateController"
|
|
@@ -954,14 +1531,74 @@
|
|
|
954
1531
|
},
|
|
955
1532
|
{
|
|
956
1533
|
"kind": "method",
|
|
957
|
-
"name": "checkLoadingStateChange",
|
|
958
|
-
"privacy": "private",
|
|
1534
|
+
"name": "checkLoadingStateChange",
|
|
1535
|
+
"privacy": "private",
|
|
1536
|
+
"return": {
|
|
1537
|
+
"type": {
|
|
1538
|
+
"text": "void"
|
|
1539
|
+
}
|
|
1540
|
+
},
|
|
1541
|
+
"description": "Check if the loading state has changed and update the CSS loader visibility accordingly.\nThis method is called after each update cycle to detect when loading is complete."
|
|
1542
|
+
},
|
|
1543
|
+
{
|
|
1544
|
+
"kind": "method",
|
|
1545
|
+
"name": "addEventListener",
|
|
1546
|
+
"return": {
|
|
1547
|
+
"type": {
|
|
1548
|
+
"text": "void"
|
|
1549
|
+
}
|
|
1550
|
+
},
|
|
1551
|
+
"parameters": [
|
|
1552
|
+
{
|
|
1553
|
+
"name": "type",
|
|
1554
|
+
"type": {
|
|
1555
|
+
"text": "K"
|
|
1556
|
+
}
|
|
1557
|
+
},
|
|
1558
|
+
{
|
|
1559
|
+
"name": "listener",
|
|
1560
|
+
"type": {
|
|
1561
|
+
"text": "(\n this: PrimerCheckoutComponent,\n ev: HTMLElementEventMap[K],\n ) => void"
|
|
1562
|
+
}
|
|
1563
|
+
},
|
|
1564
|
+
{
|
|
1565
|
+
"name": "options",
|
|
1566
|
+
"optional": true,
|
|
1567
|
+
"type": {
|
|
1568
|
+
"text": "boolean | AddEventListenerOptions"
|
|
1569
|
+
}
|
|
1570
|
+
}
|
|
1571
|
+
]
|
|
1572
|
+
},
|
|
1573
|
+
{
|
|
1574
|
+
"kind": "method",
|
|
1575
|
+
"name": "addEventListener",
|
|
959
1576
|
"return": {
|
|
960
1577
|
"type": {
|
|
961
1578
|
"text": "void"
|
|
962
1579
|
}
|
|
963
1580
|
},
|
|
964
|
-
"
|
|
1581
|
+
"parameters": [
|
|
1582
|
+
{
|
|
1583
|
+
"name": "type",
|
|
1584
|
+
"type": {
|
|
1585
|
+
"text": "K"
|
|
1586
|
+
}
|
|
1587
|
+
},
|
|
1588
|
+
{
|
|
1589
|
+
"name": "listener",
|
|
1590
|
+
"type": {
|
|
1591
|
+
"text": "(\n this: PrimerCheckoutComponent,\n ev: ShadowRootEventMap[K],\n ) => void"
|
|
1592
|
+
}
|
|
1593
|
+
},
|
|
1594
|
+
{
|
|
1595
|
+
"name": "options",
|
|
1596
|
+
"optional": true,
|
|
1597
|
+
"type": {
|
|
1598
|
+
"text": "boolean | AddEventListenerOptions"
|
|
1599
|
+
}
|
|
1600
|
+
}
|
|
1601
|
+
]
|
|
965
1602
|
},
|
|
966
1603
|
{
|
|
967
1604
|
"kind": "method",
|
|
@@ -981,7 +1618,7 @@
|
|
|
981
1618
|
{
|
|
982
1619
|
"name": "listener",
|
|
983
1620
|
"type": {
|
|
984
|
-
"text": "(
|
|
1621
|
+
"text": "(this: PrimerCheckoutComponent, ev: DocumentEventMap[K]) => void"
|
|
985
1622
|
}
|
|
986
1623
|
},
|
|
987
1624
|
{
|
|
@@ -1011,7 +1648,7 @@
|
|
|
1011
1648
|
{
|
|
1012
1649
|
"name": "listener",
|
|
1013
1650
|
"type": {
|
|
1014
|
-
"text": "(
|
|
1651
|
+
"text": "(this: PrimerCheckoutComponent, ev: PrimerEvents[K]) => void"
|
|
1015
1652
|
}
|
|
1016
1653
|
},
|
|
1017
1654
|
{
|
|
@@ -1026,22 +1663,17 @@
|
|
|
1026
1663
|
{
|
|
1027
1664
|
"kind": "method",
|
|
1028
1665
|
"name": "addEventListener",
|
|
1029
|
-
"return": {
|
|
1030
|
-
"type": {
|
|
1031
|
-
"text": "void"
|
|
1032
|
-
}
|
|
1033
|
-
},
|
|
1034
1666
|
"parameters": [
|
|
1035
1667
|
{
|
|
1036
1668
|
"name": "type",
|
|
1037
1669
|
"type": {
|
|
1038
|
-
"text": "
|
|
1670
|
+
"text": "string"
|
|
1039
1671
|
}
|
|
1040
1672
|
},
|
|
1041
1673
|
{
|
|
1042
1674
|
"name": "listener",
|
|
1043
1675
|
"type": {
|
|
1044
|
-
"text": "
|
|
1676
|
+
"text": "EventListenerOrEventListenerObject"
|
|
1045
1677
|
}
|
|
1046
1678
|
},
|
|
1047
1679
|
{
|
|
@@ -1052,128 +1684,1221 @@
|
|
|
1052
1684
|
}
|
|
1053
1685
|
}
|
|
1054
1686
|
]
|
|
1687
|
+
}
|
|
1688
|
+
],
|
|
1689
|
+
"attributes": [
|
|
1690
|
+
{
|
|
1691
|
+
"name": "custom-styles",
|
|
1692
|
+
"type": {
|
|
1693
|
+
"text": "string"
|
|
1694
|
+
},
|
|
1695
|
+
"default": "''",
|
|
1696
|
+
"fieldName": "customStyles"
|
|
1697
|
+
},
|
|
1698
|
+
{
|
|
1699
|
+
"name": "client-token",
|
|
1700
|
+
"type": {
|
|
1701
|
+
"text": "string"
|
|
1702
|
+
},
|
|
1703
|
+
"default": "''",
|
|
1704
|
+
"fieldName": "clientToken"
|
|
1705
|
+
},
|
|
1706
|
+
{
|
|
1707
|
+
"name": "options",
|
|
1708
|
+
"type": {
|
|
1709
|
+
"text": "PrimerCheckoutOptions"
|
|
1710
|
+
},
|
|
1711
|
+
"default": "{}",
|
|
1712
|
+
"fieldName": "options"
|
|
1713
|
+
},
|
|
1714
|
+
{
|
|
1715
|
+
"name": "js-initialized",
|
|
1716
|
+
"type": {
|
|
1717
|
+
"text": "boolean"
|
|
1718
|
+
},
|
|
1719
|
+
"default": "false",
|
|
1720
|
+
"description": "Whether the component has completed initialization and loading\nThis is used to control the CSS-only loader visibility",
|
|
1721
|
+
"fieldName": "_jsInitialized"
|
|
1722
|
+
}
|
|
1723
|
+
],
|
|
1724
|
+
"superclass": {
|
|
1725
|
+
"name": "LitElement",
|
|
1726
|
+
"package": "lit"
|
|
1727
|
+
},
|
|
1728
|
+
"tagName": "primer-checkout",
|
|
1729
|
+
"customElement": true
|
|
1730
|
+
}
|
|
1731
|
+
],
|
|
1732
|
+
"exports": [
|
|
1733
|
+
{
|
|
1734
|
+
"kind": "js",
|
|
1735
|
+
"name": "PrimerCheckoutComponent",
|
|
1736
|
+
"declaration": {
|
|
1737
|
+
"name": "PrimerCheckoutComponent",
|
|
1738
|
+
"module": "src/primer-checkout.ts"
|
|
1739
|
+
}
|
|
1740
|
+
},
|
|
1741
|
+
{
|
|
1742
|
+
"kind": "custom-element-definition",
|
|
1743
|
+
"name": "primer-checkout",
|
|
1744
|
+
"declaration": {
|
|
1745
|
+
"name": "PrimerCheckoutComponent",
|
|
1746
|
+
"module": "src/primer-checkout.ts"
|
|
1747
|
+
}
|
|
1748
|
+
}
|
|
1749
|
+
]
|
|
1750
|
+
},
|
|
1751
|
+
{
|
|
1752
|
+
"kind": "javascript-module",
|
|
1753
|
+
"path": "src/styles.ts",
|
|
1754
|
+
"declarations": [
|
|
1755
|
+
{
|
|
1756
|
+
"kind": "function",
|
|
1757
|
+
"name": "injectLoaderStyles",
|
|
1758
|
+
"return": {
|
|
1759
|
+
"type": {
|
|
1760
|
+
"text": "void"
|
|
1761
|
+
}
|
|
1762
|
+
},
|
|
1763
|
+
"description": "Injects the CSS loader styles into the page\nThese styles display a loading indicator before JavaScript initializes\n\nUnlike theme styles, loader styles should take precedence over merchant styles\nto ensure the loading indicator is visible. We append them to the end of the head."
|
|
1764
|
+
},
|
|
1765
|
+
{
|
|
1766
|
+
"kind": "function",
|
|
1767
|
+
"name": "injectThemeStyles",
|
|
1768
|
+
"return": {
|
|
1769
|
+
"type": {
|
|
1770
|
+
"text": "void"
|
|
1771
|
+
}
|
|
1772
|
+
},
|
|
1773
|
+
"description": "Injects all required theme CSS variables into the page\nThis should be called before components are rendered to ensure\nthey have access to all design tokens\n\nTheme styles are prepended to the document head to allow merchant styles\nto override our default variables."
|
|
1774
|
+
},
|
|
1775
|
+
{
|
|
1776
|
+
"kind": "function",
|
|
1777
|
+
"name": "injectLightTheme",
|
|
1778
|
+
"return": {
|
|
1779
|
+
"type": {
|
|
1780
|
+
"text": "void"
|
|
1781
|
+
}
|
|
1782
|
+
},
|
|
1783
|
+
"description": "Utility function to inject only the light theme CSS variables"
|
|
1784
|
+
},
|
|
1785
|
+
{
|
|
1786
|
+
"kind": "function",
|
|
1787
|
+
"name": "injectDarkTheme",
|
|
1788
|
+
"return": {
|
|
1789
|
+
"type": {
|
|
1790
|
+
"text": "void"
|
|
1791
|
+
}
|
|
1792
|
+
},
|
|
1793
|
+
"description": "Utility function to inject only the dark theme CSS variables"
|
|
1794
|
+
}
|
|
1795
|
+
],
|
|
1796
|
+
"exports": [
|
|
1797
|
+
{
|
|
1798
|
+
"kind": "js",
|
|
1799
|
+
"name": "injectLoaderStyles",
|
|
1800
|
+
"declaration": {
|
|
1801
|
+
"name": "injectLoaderStyles",
|
|
1802
|
+
"module": "src/styles.ts"
|
|
1803
|
+
}
|
|
1804
|
+
},
|
|
1805
|
+
{
|
|
1806
|
+
"kind": "js",
|
|
1807
|
+
"name": "injectThemeStyles",
|
|
1808
|
+
"declaration": {
|
|
1809
|
+
"name": "injectThemeStyles",
|
|
1810
|
+
"module": "src/styles.ts"
|
|
1811
|
+
}
|
|
1812
|
+
},
|
|
1813
|
+
{
|
|
1814
|
+
"kind": "js",
|
|
1815
|
+
"name": "injectLightTheme",
|
|
1816
|
+
"declaration": {
|
|
1817
|
+
"name": "injectLightTheme",
|
|
1818
|
+
"module": "src/styles.ts"
|
|
1819
|
+
}
|
|
1820
|
+
},
|
|
1821
|
+
{
|
|
1822
|
+
"kind": "js",
|
|
1823
|
+
"name": "injectDarkTheme",
|
|
1824
|
+
"declaration": {
|
|
1825
|
+
"name": "injectDarkTheme",
|
|
1826
|
+
"module": "src/styles.ts"
|
|
1827
|
+
}
|
|
1828
|
+
}
|
|
1829
|
+
]
|
|
1830
|
+
},
|
|
1831
|
+
{
|
|
1832
|
+
"kind": "javascript-module",
|
|
1833
|
+
"path": "cdn/chunks/ar.5AY75F5J.js",
|
|
1834
|
+
"declarations": [
|
|
1835
|
+
{
|
|
1836
|
+
"kind": "variable",
|
|
1837
|
+
"name": "o",
|
|
1838
|
+
"default": "e"
|
|
1839
|
+
}
|
|
1840
|
+
],
|
|
1841
|
+
"exports": [
|
|
1842
|
+
{
|
|
1843
|
+
"kind": "js",
|
|
1844
|
+
"name": "templates",
|
|
1845
|
+
"declaration": {
|
|
1846
|
+
"name": "o",
|
|
1847
|
+
"module": "cdn/chunks/ar.5AY75F5J.js"
|
|
1848
|
+
}
|
|
1849
|
+
}
|
|
1850
|
+
]
|
|
1851
|
+
},
|
|
1852
|
+
{
|
|
1853
|
+
"kind": "javascript-module",
|
|
1854
|
+
"path": "cdn/chunks/bg.2EL2HTYI.js",
|
|
1855
|
+
"declarations": [
|
|
1856
|
+
{
|
|
1857
|
+
"kind": "variable",
|
|
1858
|
+
"name": "o",
|
|
1859
|
+
"default": "e"
|
|
1860
|
+
}
|
|
1861
|
+
],
|
|
1862
|
+
"exports": [
|
|
1863
|
+
{
|
|
1864
|
+
"kind": "js",
|
|
1865
|
+
"name": "templates",
|
|
1866
|
+
"declaration": {
|
|
1867
|
+
"name": "o",
|
|
1868
|
+
"module": "cdn/chunks/bg.2EL2HTYI.js"
|
|
1869
|
+
}
|
|
1870
|
+
}
|
|
1871
|
+
]
|
|
1872
|
+
},
|
|
1873
|
+
{
|
|
1874
|
+
"kind": "javascript-module",
|
|
1875
|
+
"path": "cdn/chunks/ca.WZI7CBFW.js",
|
|
1876
|
+
"declarations": [
|
|
1877
|
+
{
|
|
1878
|
+
"kind": "variable",
|
|
1879
|
+
"name": "i",
|
|
1880
|
+
"default": "e"
|
|
1881
|
+
}
|
|
1882
|
+
],
|
|
1883
|
+
"exports": [
|
|
1884
|
+
{
|
|
1885
|
+
"kind": "js",
|
|
1886
|
+
"name": "templates",
|
|
1887
|
+
"declaration": {
|
|
1888
|
+
"name": "i",
|
|
1889
|
+
"module": "cdn/chunks/ca.WZI7CBFW.js"
|
|
1890
|
+
}
|
|
1891
|
+
}
|
|
1892
|
+
]
|
|
1893
|
+
},
|
|
1894
|
+
{
|
|
1895
|
+
"kind": "javascript-module",
|
|
1896
|
+
"path": "cdn/chunks/chunk.G45OCYEN.js",
|
|
1897
|
+
"declarations": [
|
|
1898
|
+
{
|
|
1899
|
+
"kind": "function",
|
|
1900
|
+
"name": "o",
|
|
1901
|
+
"parameters": [
|
|
1902
|
+
{
|
|
1903
|
+
"name": "b"
|
|
1904
|
+
}
|
|
1905
|
+
]
|
|
1906
|
+
},
|
|
1907
|
+
{
|
|
1908
|
+
"kind": "variable",
|
|
1909
|
+
"name": "d",
|
|
1910
|
+
"default": "b[a]"
|
|
1911
|
+
},
|
|
1912
|
+
{
|
|
1913
|
+
"kind": "function",
|
|
1914
|
+
"name": "p",
|
|
1915
|
+
"parameters": [
|
|
1916
|
+
{
|
|
1917
|
+
"name": "b"
|
|
1055
1918
|
},
|
|
1056
1919
|
{
|
|
1057
|
-
"
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
|
|
1065
|
-
|
|
1066
|
-
|
|
1067
|
-
"type": {
|
|
1068
|
-
"text": "K"
|
|
1069
|
-
}
|
|
1070
|
-
},
|
|
1071
|
-
{
|
|
1072
|
-
"name": "listener",
|
|
1073
|
-
"type": {
|
|
1074
|
-
"text": "(this: PrimerCheckoutComponent, ev: PrimerEvents[K]) => void"
|
|
1075
|
-
}
|
|
1076
|
-
},
|
|
1077
|
-
{
|
|
1078
|
-
"name": "options",
|
|
1079
|
-
"optional": true,
|
|
1080
|
-
"type": {
|
|
1081
|
-
"text": "boolean | AddEventListenerOptions"
|
|
1082
|
-
}
|
|
1083
|
-
}
|
|
1084
|
-
]
|
|
1920
|
+
"name": "a"
|
|
1921
|
+
}
|
|
1922
|
+
]
|
|
1923
|
+
},
|
|
1924
|
+
{
|
|
1925
|
+
"kind": "function",
|
|
1926
|
+
"name": "q",
|
|
1927
|
+
"parameters": [
|
|
1928
|
+
{
|
|
1929
|
+
"name": "b"
|
|
1085
1930
|
},
|
|
1086
1931
|
{
|
|
1087
|
-
"
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
"name": "type",
|
|
1092
|
-
"type": {
|
|
1093
|
-
"text": "string"
|
|
1094
|
-
}
|
|
1095
|
-
},
|
|
1096
|
-
{
|
|
1097
|
-
"name": "listener",
|
|
1098
|
-
"type": {
|
|
1099
|
-
"text": "EventListenerOrEventListenerObject"
|
|
1100
|
-
}
|
|
1101
|
-
},
|
|
1102
|
-
{
|
|
1103
|
-
"name": "options",
|
|
1104
|
-
"optional": true,
|
|
1105
|
-
"type": {
|
|
1106
|
-
"text": "boolean | AddEventListenerOptions"
|
|
1107
|
-
}
|
|
1108
|
-
}
|
|
1109
|
-
]
|
|
1932
|
+
"name": "a"
|
|
1933
|
+
},
|
|
1934
|
+
{
|
|
1935
|
+
"name": "d"
|
|
1110
1936
|
}
|
|
1111
|
-
]
|
|
1112
|
-
|
|
1937
|
+
]
|
|
1938
|
+
},
|
|
1939
|
+
{
|
|
1940
|
+
"kind": "function",
|
|
1941
|
+
"name": "r",
|
|
1942
|
+
"parameters": [
|
|
1113
1943
|
{
|
|
1114
|
-
"name": "
|
|
1115
|
-
"type": {
|
|
1116
|
-
"text": "string"
|
|
1117
|
-
},
|
|
1118
|
-
"default": "''",
|
|
1119
|
-
"fieldName": "customStyles"
|
|
1944
|
+
"name": "b"
|
|
1120
1945
|
},
|
|
1121
1946
|
{
|
|
1122
|
-
"name": "
|
|
1123
|
-
"type": {
|
|
1124
|
-
"text": "string"
|
|
1125
|
-
},
|
|
1126
|
-
"default": "''",
|
|
1127
|
-
"fieldName": "clientToken"
|
|
1947
|
+
"name": "a"
|
|
1128
1948
|
},
|
|
1129
1949
|
{
|
|
1130
|
-
"name": "
|
|
1131
|
-
"type": {
|
|
1132
|
-
"text": "PrimerCheckoutOptions"
|
|
1133
|
-
},
|
|
1134
|
-
"default": "{}",
|
|
1135
|
-
"fieldName": "options"
|
|
1950
|
+
"name": "d"
|
|
1136
1951
|
},
|
|
1137
1952
|
{
|
|
1138
|
-
"name": "
|
|
1139
|
-
"type": {
|
|
1140
|
-
"text": "boolean"
|
|
1141
|
-
},
|
|
1142
|
-
"default": "false",
|
|
1143
|
-
"description": "Whether the component has completed initialization and loading\nThis is used to control the CSS-only loader visibility",
|
|
1144
|
-
"fieldName": "_jsInitialized"
|
|
1953
|
+
"name": "e"
|
|
1145
1954
|
}
|
|
1146
|
-
]
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
|
|
1955
|
+
]
|
|
1956
|
+
}
|
|
1957
|
+
],
|
|
1958
|
+
"exports": [
|
|
1959
|
+
{
|
|
1960
|
+
"kind": "js",
|
|
1961
|
+
"name": "a",
|
|
1962
|
+
"declaration": {
|
|
1963
|
+
"name": "o",
|
|
1964
|
+
"module": "cdn/chunks/chunk.G45OCYEN.js"
|
|
1965
|
+
}
|
|
1966
|
+
},
|
|
1967
|
+
{
|
|
1968
|
+
"kind": "js",
|
|
1969
|
+
"name": "b",
|
|
1970
|
+
"declaration": {
|
|
1971
|
+
"name": "p",
|
|
1972
|
+
"module": "cdn/chunks/chunk.G45OCYEN.js"
|
|
1973
|
+
}
|
|
1974
|
+
},
|
|
1975
|
+
{
|
|
1976
|
+
"kind": "js",
|
|
1977
|
+
"name": "c",
|
|
1978
|
+
"declaration": {
|
|
1979
|
+
"name": "q",
|
|
1980
|
+
"module": "cdn/chunks/chunk.G45OCYEN.js"
|
|
1981
|
+
}
|
|
1982
|
+
},
|
|
1983
|
+
{
|
|
1984
|
+
"kind": "js",
|
|
1985
|
+
"name": "d",
|
|
1986
|
+
"declaration": {
|
|
1987
|
+
"name": "r",
|
|
1988
|
+
"module": "cdn/chunks/chunk.G45OCYEN.js"
|
|
1989
|
+
}
|
|
1990
|
+
}
|
|
1991
|
+
]
|
|
1992
|
+
},
|
|
1993
|
+
{
|
|
1994
|
+
"kind": "javascript-module",
|
|
1995
|
+
"path": "cdn/chunks/chunk.QMLIEEKM.js",
|
|
1996
|
+
"declarations": [
|
|
1997
|
+
{
|
|
1998
|
+
"kind": "variable",
|
|
1999
|
+
"name": "t",
|
|
2000
|
+
"type": {
|
|
2001
|
+
"text": "object"
|
|
1150
2002
|
},
|
|
1151
|
-
"tagName": "primer-checkout",
|
|
1152
|
-
|
|
2003
|
+
"default": "{accountHolder:\"Account Holder\",accountHolderEmail:\"me@domain.com\",accountHolderEmailErrorInvalid:\"Provided email is not valid\",accountHolderEmailErrorRequired:\"Account holder email is required\",accountHolderName:\"Account holder name\",accountHolderNameErrorRequired:\"Account holder name is required\",accountHolderNameLabel:\"Account holder name\",accountHolderNamePlaceholder:\"Account holder name\",addCard:\"Add Card\",additionalCardFees:\"Additional card fees may apply\",address:\"Address\",addressLine1:\"Address line 1\",addressLine1ErrorRequired:\"Address line 1 is required\",addressLine1Placeholder:\"Address line 1\",addressLine2:\"Address line 2\",addressLine2ErrorRequired:\"Address line 2 is required\",addressLine2Placeholder:\"Address line 2\",amount:\"Amount\",applePayFailedToTokenize:\"Failed to tokenize\",applePayMissingFirstNameOrLastName:\"Missing first name or last name\",bankHolderNameErrorRequired:\"Account holder name is required\",bankListErrorRequired:\"Bank is required\",bankListLabel:\"List of banks\",bankNameErrorRequired:\"Bank name is required\",bankNameLabel:\"Select your bank from the list\",bankNetworkErrorButton:\"Load again\",bankNetworkErrorTitle:\"Failed to load banks. Check your connection and try again.\",bankSearchInputPlaceholder:\"Search bank\",bankSelectTitle:\"Select your bank\",billingAddressLabel:\"Billing address\",cancel:\"Cancel\",cardCVV:\"CVV\",cardDescription:\"Card description (optional)\",cardDescriptionPlaceholder:\"My favourite card\",cardEndingWith:\"Card ending with\",cardExpired:\"Card has expired\",cardExpiry:\"Expiry (MM/YY)\",cardExpiryPlaceholder:\"MM/YY\",cardholderName:\"Name on card\",cardholderNameErrorRequired:\"Name on card is required\",cardholderNameLabel:\"Name on card\",cardholderNamePlaceholder:\"Full name\",cardIncomplete:\"Card number is incomplete\",cardInvalid:\"Card number is invalid\",cardNameContainsNumbers:\"Name cannot contain numbers\",cardNameLength:\"Name must have between 2 and 45 characters\",cardNameRequired:\"Name on card is required\",cardNumber:\"Card number\",cardRequired:\"Card number is required\",checkSuccessTitle:\"Your payment was successful!\",checkoutWith:\"Checkout with\",chooseAnotherPaymentMethod:\"Choose another payment method\",city:\"City\",cityErrorRequired:\"City is required\",cityLabel:\"City\",cityPlaceholder:\"Cape Town\",completeYourPayment:\"Complete your payment\",completeYourPaymentInTheApp:\"Complete your payment in %s\",confirm:\"Confirm\",confirmCardDeletion:\"Confirm - Delete Card\",confirmPayPalDeletion:\"Confirm - Delete PayPal\",confirmVaultedPaymentMethodDeletion:\"Yes, delete it\",countryCodeErrorRequired:\"Country is required\",countryCodeLabel:\"Country code\",countryCodePlaceholder:\"Country code\",countrySelectPlaceholder:\"Select a country\",creditOrDebitCard:\"Credit or debit card\",creditTransfer:\"Credit Transfer\",cvvIncomplete:\"CVV number is incomplete\",cvvInvalid3:\"CVV must be 3 digits\",cvvInvalid4:\"CVV must be 4 digits\",cvvRequired:\"CVV number is required\",delete:\"Delete\",digits:\"digits\",directDebit:\"Direct debit\",directDebitMandateTitle:\"SEPA Core Direct Debit Mandate\",directDebitSmallPrint:\"By signing this mandate form, you authorise (A) {companyName} to send instructions to your bank to debit your account and (B) your bank to debit your account in accordance with the instruction from {companyName}\",directDebitSuccessDescription:\"{companyName} will appear on your bank statement when payments are taken against the Direct Debit\",directDebitSuccessReference:\"Reference\",directDebitSuccessTitle:\"Direct Debit set up successfully\",dueAt:\"Due at\",dummyApmDescription:\"This is a mocked flow for sandbox. Choose the result you want to test from the list below:\",duplicatePaymentMethodError:\"This payment method is already saved.\",editPaymentMethods:\"Edit saved payment methods\",email:\"Email\",entity:\"Entity\",expiresAt:\"Expires at\",expiryIncomplete:\"Expiry date is incomplete\",expiryInvalid:\"Expiry date is invalid\",expiryMonthInvalid:\"Expiry date month is invalid\",expiryRequired:\"Expiry date is required\",expiryYearInvalid:\"Expiry date year is invalid\",fee_label_fallback:\"Fee\",firstNameErrorRequired:\"First name is required\",firstNameLabel:\"First name\",firstNamePlaceholder:\"First name\",forgetPaymentMethods:\"Forget payment methods\",forgetPayPal:\"Forget PayPal account\",forgetSavedCard:\"Forget saved card ending in {last4Digits}\",fullName:\"First and last name\",getCodeFromBankingApp:\"Get the code from your banking app\",giftCard:\"Gift card\",iban:\"IBAN\",ibanErrorInvalid:\"IBAN is invalid\",ibanErrorRequired:\"IBAN is required\",ibanPlaceholder:\"e.g. GB60 BARC 2000 0055 7799 11\",invalid:\"Invalid\",item_label_fallback:\"Item\",lastNameErrorRequired:\"Last name is required\",lastNameLabel:\"Last name\",lastNamePlaceholder:\"Last name\",loading:\"Loading...\",managePaymentMethods:\"Manage your payment methods\",multibancoFirstStep:\"Payment details for a Multibanco Reference will be created.\",multibancoPayWith:\"Pay with Multibanco\",multibancoPleaseMakePayment:\"Please make the payment at a Multibanco ATM, or through your home banking app.\",multibancoSecondStep:\"Go to a Multibanco ATM or login to your home banking app, then select \\u201CPay for Services\\u201D.\",multibancoThirdStep:\"Enter the Entity, Reference and Amount.\",navigateToPaymentMethods:\"Show other ways to pay\",newPaymentMethod:\"Add a new payment method\",noAdditionalFees:\"No additional fees\",otherWaysToPay:\"Other ways to pay\",pay_with_ach:\"Pay with ACH\",pay_with:\"Pay with\",pay:\"Pay\",payByCard:\"Pay by card\",payByImmediateTransfer:\"Pay by Immediate transfer\",payBySmartTransfer:\"Pay by Bank transfer\",payInInstallments:\"Pay in installments\",paymentMethodPopupLoadingScreenText:\"Hold on! {paymentMethodName} is loading.\",paymentMethodPopupOverlayBringBackThePaymentPage:\"Bring back the payment page\",paymentMethodPopupOverlayClose:\"Close\",paymentMethodPopupOverlayDescription:\"Having trouble viewing the {paymentMethodName} payment page? We'll help you find it!\",paymentMethodPopupOverlayNonFocusDescription:\"Open the {paymentMethodName} payment page to review your payment.\",paymentMethodTypeKlarna:\"Pay later\",paymentMethodTypeKlarnaAccount:\"Pay over time\",paymentMethodTypeKlarnaPaynow:\"Pay now\",payViaBankTransfer:\"Pay via bank transfer\",payWithAch:\"Pay with ACH\",payWithCard:\"Or pay with card\",payWithCrypto:\"Pay with crypto\",pleaseTransferFunds:\"Please Transfer funds to the provided DBS bank account using your Singapore based bank account via FAST (preferred), MEPS or GIRO.\",postalCode:\"Postal code\",postalCodeErrorRequired:\"Postal code is required\",postalCodeLabel:\"Postal code\",postalCodePlaceholder:\"90210\",previouslyUsed:\"Previously used:\",qrCode:\"QR Code\",reference:\"Reference\",required:\"Required\",retry_button:\"Retry\",savedPaymentMethodsEmpty:\"Enter your card details below to add a new payment method\",savePaymentMethod:\"Save payment method\",scanToPay:\"Scan to pay or take a screenshot\",sepaCreditTransfer:\"SEPA Credit Transfer\",sepaDirectDebit:\"SEPA Direct Debit\",session_complete_payment_cancellation_title:\"Payment cancelled\",session_complete_payment_failure_title:\"Payment failed\",session_complete_payment_success_title:\"Payment authorized\",setUpDirectDebit:\"Set up Direct Debit\",shipping_address_unsupported_error:\"We do not ship to this address\",shipping:\"Shipping\",showPaymentDetails:\"Show payment details\",sixDigitCodeErrorNumeric:\"Six digit code should only contain numbers\",sixDigitCodeErrorRequired:\"Six digit code is required\",sixDigitCodeErrorTooShort:\"Code is too short\",sixDigitCodeLabel:\"Six digit code\",sixDigitCodePlaceholder:\"123456\",something_went_wrong_error:\"Something went wrong. Please try again.\",stateErrorRequired:\"State, Region or County is required\",stateLabel:\"State / Region / County\",statePlaceholder:\"State / Region / County\",street:\"Street\",streetPlaceholder:\"My street\",stripe_ach_mandate_accept_button:\"Accept\",stripe_ach_mandate_cancel_payment_button:\"Cancel payment\",stripe_ach_mandate_not_accepted_description:\"Mandate was not accepted\",stripe_ach_mandate_template_web:`By clicking Accept, you authorize {merchantName} to debit the selected bank account for any amount owed for charges arising from your use of {merchantName}\\u2019s services and/or purchase of products from {merchantName}, pursuant to {merchantName}\\u2019s website and terms, until this authorization is revoked. You may amend or cancel this authorization at any time by providing notice to {merchantName} with 30 (thirty) days notice. If you use {merchantName}\\u2019s services or purchase additional products periodically pursuant to {merchantName}\\u2019s terms, you authorize {merchantName} to debit your bank account periodically. Payments that fall outside the regular debits authorized above will only be debited after your authorization is obtained.`,stripe_ach_payment_request_cancelled:\"Please try again or select another bank\",stripe_ach_payment_request_completed_successfully:\"You have now authorized your bank account to be debited. You will be notified via email once the payment has been collected successfully.\",stripe_ach_user_details_collection_continue_button:\"Continue\",stripe_ach_user_details_collection_data_usage_label:\"We'll only use this to keep you updated about your payment\",stripe_ach_user_details_collection_email_address_label:\"Email address\",stripe_ach_user_details_collection_first_name_label:\"First name\",stripe_ach_user_details_collection_invalid_email_address:\"The email address you entered doesn't look like a real email address. Please make sure it includes an '@' and a domain (like '@example.com').\",stripe_ach_user_details_collection_invalid_first_name:\"Please enter a valid first name. Avoid using numbers or special characters.\",stripe_ach_user_details_collection_invalid_last_name:\"Please enter a valid last name. Avoid using numbers or special characters.\",stripe_ach_user_details_collection_last_name_label:\"Last name\",stripe_ach_user_details_collection_subtitle_label:\"Your personal details\",suburb:\"Suburb\",suburbPlaceholder:\"My suburb\",telephoneNumberErrorRequired:\"Phone number is required\",telephoneNumberErrorTooShort:\"Phone number is too short\",telephoneNumberLabel:\"Phone number\",telephoneNumberPlaceholder:\"123xxxxxx\",timeOnDate:\"{time} on {date}\",tokenizationError:\"Your payment could not be processed. Please try another payment method.\",unsupportedCardType:\"Unsupported card type\",uploadScreenshot:\"Upload the screenshot in your banking app\",yourBankDetails:\"Your bank details\"}"
|
|
2004
|
+
}
|
|
2005
|
+
],
|
|
2006
|
+
"exports": [
|
|
2007
|
+
{
|
|
2008
|
+
"kind": "js",
|
|
2009
|
+
"name": "a",
|
|
2010
|
+
"declaration": {
|
|
2011
|
+
"name": "t",
|
|
2012
|
+
"module": "cdn/chunks/chunk.QMLIEEKM.js"
|
|
2013
|
+
}
|
|
2014
|
+
}
|
|
2015
|
+
]
|
|
2016
|
+
},
|
|
2017
|
+
{
|
|
2018
|
+
"kind": "javascript-module",
|
|
2019
|
+
"path": "cdn/chunks/cs.GBLLNC3E.js",
|
|
2020
|
+
"declarations": [
|
|
2021
|
+
{
|
|
2022
|
+
"kind": "variable",
|
|
2023
|
+
"name": "n",
|
|
2024
|
+
"default": "e"
|
|
2025
|
+
}
|
|
2026
|
+
],
|
|
2027
|
+
"exports": [
|
|
2028
|
+
{
|
|
2029
|
+
"kind": "js",
|
|
2030
|
+
"name": "templates",
|
|
2031
|
+
"declaration": {
|
|
2032
|
+
"name": "n",
|
|
2033
|
+
"module": "cdn/chunks/cs.GBLLNC3E.js"
|
|
2034
|
+
}
|
|
2035
|
+
}
|
|
2036
|
+
]
|
|
2037
|
+
},
|
|
2038
|
+
{
|
|
2039
|
+
"kind": "javascript-module",
|
|
2040
|
+
"path": "cdn/chunks/da.CDEFQG44.js",
|
|
2041
|
+
"declarations": [
|
|
2042
|
+
{
|
|
2043
|
+
"kind": "variable",
|
|
2044
|
+
"name": "a",
|
|
2045
|
+
"default": "e"
|
|
2046
|
+
}
|
|
2047
|
+
],
|
|
2048
|
+
"exports": [
|
|
2049
|
+
{
|
|
2050
|
+
"kind": "js",
|
|
2051
|
+
"name": "templates",
|
|
2052
|
+
"declaration": {
|
|
2053
|
+
"name": "a",
|
|
2054
|
+
"module": "cdn/chunks/da.CDEFQG44.js"
|
|
2055
|
+
}
|
|
2056
|
+
}
|
|
2057
|
+
]
|
|
2058
|
+
},
|
|
2059
|
+
{
|
|
2060
|
+
"kind": "javascript-module",
|
|
2061
|
+
"path": "cdn/chunks/de.UHURA2HV.js",
|
|
2062
|
+
"declarations": [
|
|
2063
|
+
{
|
|
2064
|
+
"kind": "variable",
|
|
2065
|
+
"name": "t",
|
|
2066
|
+
"default": "e"
|
|
2067
|
+
}
|
|
2068
|
+
],
|
|
2069
|
+
"exports": [
|
|
2070
|
+
{
|
|
2071
|
+
"kind": "js",
|
|
2072
|
+
"name": "templates",
|
|
2073
|
+
"declaration": {
|
|
2074
|
+
"name": "t",
|
|
2075
|
+
"module": "cdn/chunks/de.UHURA2HV.js"
|
|
2076
|
+
}
|
|
2077
|
+
}
|
|
2078
|
+
]
|
|
2079
|
+
},
|
|
2080
|
+
{
|
|
2081
|
+
"kind": "javascript-module",
|
|
2082
|
+
"path": "cdn/chunks/el.BY5NGYDF.js",
|
|
2083
|
+
"declarations": [
|
|
2084
|
+
{
|
|
2085
|
+
"kind": "variable",
|
|
2086
|
+
"name": "o",
|
|
2087
|
+
"default": "e"
|
|
2088
|
+
}
|
|
2089
|
+
],
|
|
2090
|
+
"exports": [
|
|
2091
|
+
{
|
|
2092
|
+
"kind": "js",
|
|
2093
|
+
"name": "templates",
|
|
2094
|
+
"declaration": {
|
|
2095
|
+
"name": "o",
|
|
2096
|
+
"module": "cdn/chunks/el.BY5NGYDF.js"
|
|
2097
|
+
}
|
|
2098
|
+
}
|
|
2099
|
+
]
|
|
2100
|
+
},
|
|
2101
|
+
{
|
|
2102
|
+
"kind": "javascript-module",
|
|
2103
|
+
"path": "cdn/chunks/en-GB.UBLLAUVW.js",
|
|
2104
|
+
"declarations": [
|
|
2105
|
+
{
|
|
2106
|
+
"kind": "variable",
|
|
2107
|
+
"name": "o",
|
|
2108
|
+
"default": "t"
|
|
2109
|
+
}
|
|
2110
|
+
],
|
|
2111
|
+
"exports": [
|
|
2112
|
+
{
|
|
2113
|
+
"kind": "js",
|
|
2114
|
+
"name": "templates",
|
|
2115
|
+
"declaration": {
|
|
2116
|
+
"name": "o",
|
|
2117
|
+
"module": "cdn/chunks/en-GB.UBLLAUVW.js"
|
|
2118
|
+
}
|
|
2119
|
+
}
|
|
2120
|
+
]
|
|
2121
|
+
},
|
|
2122
|
+
{
|
|
2123
|
+
"kind": "javascript-module",
|
|
2124
|
+
"path": "cdn/chunks/en.BKAVPUID.js",
|
|
2125
|
+
"declarations": [
|
|
2126
|
+
{
|
|
2127
|
+
"kind": "variable",
|
|
2128
|
+
"name": "o",
|
|
2129
|
+
"default": "t"
|
|
2130
|
+
}
|
|
2131
|
+
],
|
|
2132
|
+
"exports": [
|
|
2133
|
+
{
|
|
2134
|
+
"kind": "js",
|
|
2135
|
+
"name": "templates",
|
|
2136
|
+
"declaration": {
|
|
2137
|
+
"name": "o",
|
|
2138
|
+
"module": "cdn/chunks/en.BKAVPUID.js"
|
|
2139
|
+
}
|
|
2140
|
+
}
|
|
2141
|
+
]
|
|
2142
|
+
},
|
|
2143
|
+
{
|
|
2144
|
+
"kind": "javascript-module",
|
|
2145
|
+
"path": "cdn/chunks/es-AR.EYNC6EAZ.js",
|
|
2146
|
+
"declarations": [
|
|
2147
|
+
{
|
|
2148
|
+
"kind": "variable",
|
|
2149
|
+
"name": "i",
|
|
2150
|
+
"default": "e"
|
|
2151
|
+
}
|
|
2152
|
+
],
|
|
2153
|
+
"exports": [
|
|
2154
|
+
{
|
|
2155
|
+
"kind": "js",
|
|
2156
|
+
"name": "templates",
|
|
2157
|
+
"declaration": {
|
|
2158
|
+
"name": "i",
|
|
2159
|
+
"module": "cdn/chunks/es-AR.EYNC6EAZ.js"
|
|
2160
|
+
}
|
|
2161
|
+
}
|
|
2162
|
+
]
|
|
2163
|
+
},
|
|
2164
|
+
{
|
|
2165
|
+
"kind": "javascript-module",
|
|
2166
|
+
"path": "cdn/chunks/es-MX.OIO2YURF.js",
|
|
2167
|
+
"declarations": [
|
|
2168
|
+
{
|
|
2169
|
+
"kind": "variable",
|
|
2170
|
+
"name": "i",
|
|
2171
|
+
"default": "e"
|
|
2172
|
+
}
|
|
2173
|
+
],
|
|
2174
|
+
"exports": [
|
|
2175
|
+
{
|
|
2176
|
+
"kind": "js",
|
|
2177
|
+
"name": "templates",
|
|
2178
|
+
"declaration": {
|
|
2179
|
+
"name": "i",
|
|
2180
|
+
"module": "cdn/chunks/es-MX.OIO2YURF.js"
|
|
2181
|
+
}
|
|
2182
|
+
}
|
|
2183
|
+
]
|
|
2184
|
+
},
|
|
2185
|
+
{
|
|
2186
|
+
"kind": "javascript-module",
|
|
2187
|
+
"path": "cdn/chunks/es.CNNIJYLX.js",
|
|
2188
|
+
"declarations": [
|
|
2189
|
+
{
|
|
2190
|
+
"kind": "variable",
|
|
2191
|
+
"name": "i",
|
|
2192
|
+
"default": "e"
|
|
2193
|
+
}
|
|
2194
|
+
],
|
|
2195
|
+
"exports": [
|
|
2196
|
+
{
|
|
2197
|
+
"kind": "js",
|
|
2198
|
+
"name": "templates",
|
|
2199
|
+
"declaration": {
|
|
2200
|
+
"name": "i",
|
|
2201
|
+
"module": "cdn/chunks/es.CNNIJYLX.js"
|
|
2202
|
+
}
|
|
2203
|
+
}
|
|
2204
|
+
]
|
|
2205
|
+
},
|
|
2206
|
+
{
|
|
2207
|
+
"kind": "javascript-module",
|
|
2208
|
+
"path": "cdn/chunks/et-EE.4ZF6CLB6.js",
|
|
2209
|
+
"declarations": [
|
|
2210
|
+
{
|
|
2211
|
+
"kind": "variable",
|
|
2212
|
+
"name": "r",
|
|
2213
|
+
"default": "e"
|
|
2214
|
+
}
|
|
2215
|
+
],
|
|
2216
|
+
"exports": [
|
|
2217
|
+
{
|
|
2218
|
+
"kind": "js",
|
|
2219
|
+
"name": "templates",
|
|
2220
|
+
"declaration": {
|
|
2221
|
+
"name": "r",
|
|
2222
|
+
"module": "cdn/chunks/et-EE.4ZF6CLB6.js"
|
|
2223
|
+
}
|
|
2224
|
+
}
|
|
2225
|
+
]
|
|
2226
|
+
},
|
|
2227
|
+
{
|
|
2228
|
+
"kind": "javascript-module",
|
|
2229
|
+
"path": "cdn/chunks/fi-FI.4ZXWRRYI.js",
|
|
2230
|
+
"declarations": [
|
|
2231
|
+
{
|
|
2232
|
+
"kind": "variable",
|
|
2233
|
+
"name": "n",
|
|
2234
|
+
"default": "a"
|
|
2235
|
+
}
|
|
2236
|
+
],
|
|
2237
|
+
"exports": [
|
|
2238
|
+
{
|
|
2239
|
+
"kind": "js",
|
|
2240
|
+
"name": "templates",
|
|
2241
|
+
"declaration": {
|
|
2242
|
+
"name": "n",
|
|
2243
|
+
"module": "cdn/chunks/fi-FI.4ZXWRRYI.js"
|
|
2244
|
+
}
|
|
2245
|
+
}
|
|
2246
|
+
]
|
|
2247
|
+
},
|
|
2248
|
+
{
|
|
2249
|
+
"kind": "javascript-module",
|
|
2250
|
+
"path": "cdn/chunks/fr.TZM5I4K2.js",
|
|
2251
|
+
"declarations": [
|
|
2252
|
+
{
|
|
2253
|
+
"kind": "variable",
|
|
2254
|
+
"name": "i",
|
|
2255
|
+
"default": "e"
|
|
2256
|
+
}
|
|
2257
|
+
],
|
|
2258
|
+
"exports": [
|
|
2259
|
+
{
|
|
2260
|
+
"kind": "js",
|
|
2261
|
+
"name": "templates",
|
|
2262
|
+
"declaration": {
|
|
2263
|
+
"name": "i",
|
|
2264
|
+
"module": "cdn/chunks/fr.TZM5I4K2.js"
|
|
2265
|
+
}
|
|
2266
|
+
}
|
|
2267
|
+
]
|
|
2268
|
+
},
|
|
2269
|
+
{
|
|
2270
|
+
"kind": "javascript-module",
|
|
2271
|
+
"path": "cdn/chunks/he.DWEZBG4A.js",
|
|
2272
|
+
"declarations": [
|
|
2273
|
+
{
|
|
2274
|
+
"kind": "variable",
|
|
2275
|
+
"name": "o",
|
|
2276
|
+
"default": "e"
|
|
2277
|
+
}
|
|
2278
|
+
],
|
|
2279
|
+
"exports": [
|
|
2280
|
+
{
|
|
2281
|
+
"kind": "js",
|
|
2282
|
+
"name": "templates",
|
|
2283
|
+
"declaration": {
|
|
2284
|
+
"name": "o",
|
|
2285
|
+
"module": "cdn/chunks/he.DWEZBG4A.js"
|
|
2286
|
+
}
|
|
2287
|
+
}
|
|
2288
|
+
]
|
|
2289
|
+
},
|
|
2290
|
+
{
|
|
2291
|
+
"kind": "javascript-module",
|
|
2292
|
+
"path": "cdn/chunks/hr.BV4PC324.js",
|
|
2293
|
+
"declarations": [
|
|
2294
|
+
{
|
|
2295
|
+
"kind": "variable",
|
|
2296
|
+
"name": "t",
|
|
2297
|
+
"default": "e"
|
|
2298
|
+
}
|
|
2299
|
+
],
|
|
2300
|
+
"exports": [
|
|
2301
|
+
{
|
|
2302
|
+
"kind": "js",
|
|
2303
|
+
"name": "templates",
|
|
2304
|
+
"declaration": {
|
|
2305
|
+
"name": "t",
|
|
2306
|
+
"module": "cdn/chunks/hr.BV4PC324.js"
|
|
2307
|
+
}
|
|
2308
|
+
}
|
|
2309
|
+
]
|
|
2310
|
+
},
|
|
2311
|
+
{
|
|
2312
|
+
"kind": "javascript-module",
|
|
2313
|
+
"path": "cdn/chunks/hu.MTEKSS3J.js",
|
|
2314
|
+
"declarations": [
|
|
2315
|
+
{
|
|
2316
|
+
"kind": "variable",
|
|
2317
|
+
"name": "s",
|
|
2318
|
+
"default": "e"
|
|
2319
|
+
}
|
|
2320
|
+
],
|
|
2321
|
+
"exports": [
|
|
2322
|
+
{
|
|
2323
|
+
"kind": "js",
|
|
2324
|
+
"name": "templates",
|
|
2325
|
+
"declaration": {
|
|
2326
|
+
"name": "s",
|
|
2327
|
+
"module": "cdn/chunks/hu.MTEKSS3J.js"
|
|
2328
|
+
}
|
|
2329
|
+
}
|
|
2330
|
+
]
|
|
2331
|
+
},
|
|
2332
|
+
{
|
|
2333
|
+
"kind": "javascript-module",
|
|
2334
|
+
"path": "cdn/chunks/id.SJSTOPSC.js",
|
|
2335
|
+
"declarations": [
|
|
2336
|
+
{
|
|
2337
|
+
"kind": "variable",
|
|
2338
|
+
"name": "r",
|
|
2339
|
+
"default": "a"
|
|
2340
|
+
}
|
|
2341
|
+
],
|
|
2342
|
+
"exports": [
|
|
2343
|
+
{
|
|
2344
|
+
"kind": "js",
|
|
2345
|
+
"name": "templates",
|
|
2346
|
+
"declaration": {
|
|
2347
|
+
"name": "r",
|
|
2348
|
+
"module": "cdn/chunks/id.SJSTOPSC.js"
|
|
2349
|
+
}
|
|
2350
|
+
}
|
|
2351
|
+
]
|
|
2352
|
+
},
|
|
2353
|
+
{
|
|
2354
|
+
"kind": "javascript-module",
|
|
2355
|
+
"path": "cdn/chunks/it.IISTMHN5.js",
|
|
2356
|
+
"declarations": [
|
|
2357
|
+
{
|
|
2358
|
+
"kind": "variable",
|
|
2359
|
+
"name": "r",
|
|
2360
|
+
"default": "e"
|
|
2361
|
+
}
|
|
2362
|
+
],
|
|
2363
|
+
"exports": [
|
|
2364
|
+
{
|
|
2365
|
+
"kind": "js",
|
|
2366
|
+
"name": "templates",
|
|
2367
|
+
"declaration": {
|
|
2368
|
+
"name": "r",
|
|
2369
|
+
"module": "cdn/chunks/it.IISTMHN5.js"
|
|
2370
|
+
}
|
|
2371
|
+
}
|
|
2372
|
+
]
|
|
2373
|
+
},
|
|
2374
|
+
{
|
|
2375
|
+
"kind": "javascript-module",
|
|
2376
|
+
"path": "cdn/chunks/ja.IBQ3ID5C.js",
|
|
2377
|
+
"declarations": [
|
|
2378
|
+
{
|
|
2379
|
+
"kind": "variable",
|
|
2380
|
+
"name": "o",
|
|
2381
|
+
"default": "e"
|
|
2382
|
+
}
|
|
2383
|
+
],
|
|
2384
|
+
"exports": [
|
|
2385
|
+
{
|
|
2386
|
+
"kind": "js",
|
|
2387
|
+
"name": "templates",
|
|
2388
|
+
"declaration": {
|
|
2389
|
+
"name": "o",
|
|
2390
|
+
"module": "cdn/chunks/ja.IBQ3ID5C.js"
|
|
2391
|
+
}
|
|
2392
|
+
}
|
|
2393
|
+
]
|
|
2394
|
+
},
|
|
2395
|
+
{
|
|
2396
|
+
"kind": "javascript-module",
|
|
2397
|
+
"path": "cdn/chunks/ko.KZVQLI4V.js",
|
|
2398
|
+
"declarations": [
|
|
2399
|
+
{
|
|
2400
|
+
"kind": "variable",
|
|
2401
|
+
"name": "o",
|
|
2402
|
+
"default": "e"
|
|
2403
|
+
}
|
|
2404
|
+
],
|
|
2405
|
+
"exports": [
|
|
2406
|
+
{
|
|
2407
|
+
"kind": "js",
|
|
2408
|
+
"name": "templates",
|
|
2409
|
+
"declaration": {
|
|
2410
|
+
"name": "o",
|
|
2411
|
+
"module": "cdn/chunks/ko.KZVQLI4V.js"
|
|
2412
|
+
}
|
|
2413
|
+
}
|
|
2414
|
+
]
|
|
2415
|
+
},
|
|
2416
|
+
{
|
|
2417
|
+
"kind": "javascript-module",
|
|
2418
|
+
"path": "cdn/chunks/lt-LT.RKBB7CZ6.js",
|
|
2419
|
+
"declarations": [
|
|
2420
|
+
{
|
|
2421
|
+
"kind": "variable",
|
|
2422
|
+
"name": "t",
|
|
2423
|
+
"default": "a"
|
|
2424
|
+
}
|
|
2425
|
+
],
|
|
2426
|
+
"exports": [
|
|
2427
|
+
{
|
|
2428
|
+
"kind": "js",
|
|
2429
|
+
"name": "templates",
|
|
2430
|
+
"declaration": {
|
|
2431
|
+
"name": "t",
|
|
2432
|
+
"module": "cdn/chunks/lt-LT.RKBB7CZ6.js"
|
|
2433
|
+
}
|
|
2434
|
+
}
|
|
2435
|
+
]
|
|
2436
|
+
},
|
|
2437
|
+
{
|
|
2438
|
+
"kind": "javascript-module",
|
|
2439
|
+
"path": "cdn/chunks/lt.TLM7OCXP.js",
|
|
2440
|
+
"declarations": [
|
|
2441
|
+
{
|
|
2442
|
+
"kind": "variable",
|
|
2443
|
+
"name": "o",
|
|
2444
|
+
"default": "a"
|
|
2445
|
+
}
|
|
2446
|
+
],
|
|
2447
|
+
"exports": [
|
|
2448
|
+
{
|
|
2449
|
+
"kind": "js",
|
|
2450
|
+
"name": "templates",
|
|
2451
|
+
"declaration": {
|
|
2452
|
+
"name": "o",
|
|
2453
|
+
"module": "cdn/chunks/lt.TLM7OCXP.js"
|
|
2454
|
+
}
|
|
2455
|
+
}
|
|
2456
|
+
]
|
|
2457
|
+
},
|
|
2458
|
+
{
|
|
2459
|
+
"kind": "javascript-module",
|
|
2460
|
+
"path": "cdn/chunks/lv-LV.H5TJC2T4.js",
|
|
2461
|
+
"declarations": [
|
|
2462
|
+
{
|
|
2463
|
+
"kind": "variable",
|
|
2464
|
+
"name": "t",
|
|
2465
|
+
"default": "a"
|
|
2466
|
+
}
|
|
2467
|
+
],
|
|
2468
|
+
"exports": [
|
|
2469
|
+
{
|
|
2470
|
+
"kind": "js",
|
|
2471
|
+
"name": "templates",
|
|
2472
|
+
"declaration": {
|
|
2473
|
+
"name": "t",
|
|
2474
|
+
"module": "cdn/chunks/lv-LV.H5TJC2T4.js"
|
|
2475
|
+
}
|
|
2476
|
+
}
|
|
2477
|
+
]
|
|
2478
|
+
},
|
|
2479
|
+
{
|
|
2480
|
+
"kind": "javascript-module",
|
|
2481
|
+
"path": "cdn/chunks/lv.G4SRVBAC.js",
|
|
2482
|
+
"declarations": [
|
|
2483
|
+
{
|
|
2484
|
+
"kind": "variable",
|
|
2485
|
+
"name": "t",
|
|
2486
|
+
"default": "a"
|
|
2487
|
+
}
|
|
2488
|
+
],
|
|
2489
|
+
"exports": [
|
|
2490
|
+
{
|
|
2491
|
+
"kind": "js",
|
|
2492
|
+
"name": "templates",
|
|
2493
|
+
"declaration": {
|
|
2494
|
+
"name": "t",
|
|
2495
|
+
"module": "cdn/chunks/lv.G4SRVBAC.js"
|
|
2496
|
+
}
|
|
2497
|
+
}
|
|
2498
|
+
]
|
|
2499
|
+
},
|
|
2500
|
+
{
|
|
2501
|
+
"kind": "javascript-module",
|
|
2502
|
+
"path": "cdn/chunks/ms.ATTITA66.js",
|
|
2503
|
+
"declarations": [
|
|
2504
|
+
{
|
|
2505
|
+
"kind": "variable",
|
|
2506
|
+
"name": "i",
|
|
2507
|
+
"default": "a"
|
|
2508
|
+
}
|
|
2509
|
+
],
|
|
2510
|
+
"exports": [
|
|
2511
|
+
{
|
|
2512
|
+
"kind": "js",
|
|
2513
|
+
"name": "templates",
|
|
2514
|
+
"declaration": {
|
|
2515
|
+
"name": "i",
|
|
2516
|
+
"module": "cdn/chunks/ms.ATTITA66.js"
|
|
2517
|
+
}
|
|
2518
|
+
}
|
|
2519
|
+
]
|
|
2520
|
+
},
|
|
2521
|
+
{
|
|
2522
|
+
"kind": "javascript-module",
|
|
2523
|
+
"path": "cdn/chunks/nb.5EE7XOA7.js",
|
|
2524
|
+
"declarations": [
|
|
2525
|
+
{
|
|
2526
|
+
"kind": "variable",
|
|
2527
|
+
"name": "a",
|
|
2528
|
+
"default": "e"
|
|
2529
|
+
}
|
|
2530
|
+
],
|
|
2531
|
+
"exports": [
|
|
2532
|
+
{
|
|
2533
|
+
"kind": "js",
|
|
2534
|
+
"name": "templates",
|
|
2535
|
+
"declaration": {
|
|
2536
|
+
"name": "a",
|
|
2537
|
+
"module": "cdn/chunks/nb.5EE7XOA7.js"
|
|
2538
|
+
}
|
|
2539
|
+
}
|
|
2540
|
+
]
|
|
2541
|
+
},
|
|
2542
|
+
{
|
|
2543
|
+
"kind": "javascript-module",
|
|
2544
|
+
"path": "cdn/chunks/nl.TY2SYTKZ.js",
|
|
2545
|
+
"declarations": [
|
|
2546
|
+
{
|
|
2547
|
+
"kind": "variable",
|
|
2548
|
+
"name": "n",
|
|
2549
|
+
"default": "e"
|
|
2550
|
+
}
|
|
2551
|
+
],
|
|
2552
|
+
"exports": [
|
|
2553
|
+
{
|
|
2554
|
+
"kind": "js",
|
|
2555
|
+
"name": "templates",
|
|
2556
|
+
"declaration": {
|
|
2557
|
+
"name": "n",
|
|
2558
|
+
"module": "cdn/chunks/nl.TY2SYTKZ.js"
|
|
2559
|
+
}
|
|
2560
|
+
}
|
|
2561
|
+
]
|
|
2562
|
+
},
|
|
2563
|
+
{
|
|
2564
|
+
"kind": "javascript-module",
|
|
2565
|
+
"path": "cdn/chunks/nl_NL.GB5BQ5PG.js",
|
|
2566
|
+
"declarations": [
|
|
2567
|
+
{
|
|
2568
|
+
"kind": "variable",
|
|
2569
|
+
"name": "n",
|
|
2570
|
+
"default": "e"
|
|
2571
|
+
}
|
|
2572
|
+
],
|
|
2573
|
+
"exports": [
|
|
2574
|
+
{
|
|
2575
|
+
"kind": "js",
|
|
2576
|
+
"name": "templates",
|
|
2577
|
+
"declaration": {
|
|
2578
|
+
"name": "n",
|
|
2579
|
+
"module": "cdn/chunks/nl_NL.GB5BQ5PG.js"
|
|
2580
|
+
}
|
|
2581
|
+
}
|
|
2582
|
+
]
|
|
2583
|
+
},
|
|
2584
|
+
{
|
|
2585
|
+
"kind": "javascript-module",
|
|
2586
|
+
"path": "cdn/chunks/pl.5PRBSG4K.js",
|
|
2587
|
+
"declarations": [
|
|
2588
|
+
{
|
|
2589
|
+
"kind": "variable",
|
|
2590
|
+
"name": "i",
|
|
2591
|
+
"default": "a"
|
|
2592
|
+
}
|
|
2593
|
+
],
|
|
2594
|
+
"exports": [
|
|
2595
|
+
{
|
|
2596
|
+
"kind": "js",
|
|
2597
|
+
"name": "templates",
|
|
2598
|
+
"declaration": {
|
|
2599
|
+
"name": "i",
|
|
2600
|
+
"module": "cdn/chunks/pl.5PRBSG4K.js"
|
|
2601
|
+
}
|
|
2602
|
+
}
|
|
2603
|
+
]
|
|
2604
|
+
},
|
|
2605
|
+
{
|
|
2606
|
+
"kind": "javascript-module",
|
|
2607
|
+
"path": "cdn/chunks/pt-BR.5XRZB5WW.js",
|
|
2608
|
+
"declarations": [
|
|
2609
|
+
{
|
|
2610
|
+
"kind": "variable",
|
|
2611
|
+
"name": "t",
|
|
2612
|
+
"default": "e"
|
|
2613
|
+
}
|
|
2614
|
+
],
|
|
2615
|
+
"exports": [
|
|
2616
|
+
{
|
|
2617
|
+
"kind": "js",
|
|
2618
|
+
"name": "templates",
|
|
2619
|
+
"declaration": {
|
|
2620
|
+
"name": "t",
|
|
2621
|
+
"module": "cdn/chunks/pt-BR.5XRZB5WW.js"
|
|
2622
|
+
}
|
|
2623
|
+
}
|
|
2624
|
+
]
|
|
2625
|
+
},
|
|
2626
|
+
{
|
|
2627
|
+
"kind": "javascript-module",
|
|
2628
|
+
"path": "cdn/chunks/pt.TA5H5JUJ.js",
|
|
2629
|
+
"declarations": [
|
|
2630
|
+
{
|
|
2631
|
+
"kind": "variable",
|
|
2632
|
+
"name": "t",
|
|
2633
|
+
"default": "e"
|
|
2634
|
+
}
|
|
2635
|
+
],
|
|
2636
|
+
"exports": [
|
|
2637
|
+
{
|
|
2638
|
+
"kind": "js",
|
|
2639
|
+
"name": "templates",
|
|
2640
|
+
"declaration": {
|
|
2641
|
+
"name": "t",
|
|
2642
|
+
"module": "cdn/chunks/pt.TA5H5JUJ.js"
|
|
2643
|
+
}
|
|
2644
|
+
}
|
|
2645
|
+
]
|
|
2646
|
+
},
|
|
2647
|
+
{
|
|
2648
|
+
"kind": "javascript-module",
|
|
2649
|
+
"path": "cdn/chunks/ro.PSZKGHRP.js",
|
|
2650
|
+
"declarations": [
|
|
2651
|
+
{
|
|
2652
|
+
"kind": "variable",
|
|
2653
|
+
"name": "i",
|
|
2654
|
+
"default": "e"
|
|
2655
|
+
}
|
|
2656
|
+
],
|
|
2657
|
+
"exports": [
|
|
2658
|
+
{
|
|
2659
|
+
"kind": "js",
|
|
2660
|
+
"name": "templates",
|
|
2661
|
+
"declaration": {
|
|
2662
|
+
"name": "i",
|
|
2663
|
+
"module": "cdn/chunks/ro.PSZKGHRP.js"
|
|
2664
|
+
}
|
|
2665
|
+
}
|
|
2666
|
+
]
|
|
2667
|
+
},
|
|
2668
|
+
{
|
|
2669
|
+
"kind": "javascript-module",
|
|
2670
|
+
"path": "cdn/chunks/ru.3QZY7ZIT.js",
|
|
2671
|
+
"declarations": [
|
|
2672
|
+
{
|
|
2673
|
+
"kind": "variable",
|
|
2674
|
+
"name": "o",
|
|
2675
|
+
"default": "e"
|
|
2676
|
+
}
|
|
2677
|
+
],
|
|
2678
|
+
"exports": [
|
|
2679
|
+
{
|
|
2680
|
+
"kind": "js",
|
|
2681
|
+
"name": "templates",
|
|
2682
|
+
"declaration": {
|
|
2683
|
+
"name": "o",
|
|
2684
|
+
"module": "cdn/chunks/ru.3QZY7ZIT.js"
|
|
2685
|
+
}
|
|
2686
|
+
}
|
|
2687
|
+
]
|
|
2688
|
+
},
|
|
2689
|
+
{
|
|
2690
|
+
"kind": "javascript-module",
|
|
2691
|
+
"path": "cdn/chunks/sk.FAQFYLGM.js",
|
|
2692
|
+
"declarations": [
|
|
2693
|
+
{
|
|
2694
|
+
"kind": "variable",
|
|
2695
|
+
"name": "r",
|
|
2696
|
+
"default": "e"
|
|
2697
|
+
}
|
|
2698
|
+
],
|
|
2699
|
+
"exports": [
|
|
2700
|
+
{
|
|
2701
|
+
"kind": "js",
|
|
2702
|
+
"name": "templates",
|
|
2703
|
+
"declaration": {
|
|
2704
|
+
"name": "r",
|
|
2705
|
+
"module": "cdn/chunks/sk.FAQFYLGM.js"
|
|
2706
|
+
}
|
|
2707
|
+
}
|
|
2708
|
+
]
|
|
2709
|
+
},
|
|
2710
|
+
{
|
|
2711
|
+
"kind": "javascript-module",
|
|
2712
|
+
"path": "cdn/chunks/sl.QRSCQXJP.js",
|
|
2713
|
+
"declarations": [
|
|
2714
|
+
{
|
|
2715
|
+
"kind": "variable",
|
|
2716
|
+
"name": "r",
|
|
2717
|
+
"default": "e"
|
|
2718
|
+
}
|
|
2719
|
+
],
|
|
2720
|
+
"exports": [
|
|
2721
|
+
{
|
|
2722
|
+
"kind": "js",
|
|
2723
|
+
"name": "templates",
|
|
2724
|
+
"declaration": {
|
|
2725
|
+
"name": "r",
|
|
2726
|
+
"module": "cdn/chunks/sl.QRSCQXJP.js"
|
|
2727
|
+
}
|
|
2728
|
+
}
|
|
2729
|
+
]
|
|
2730
|
+
},
|
|
2731
|
+
{
|
|
2732
|
+
"kind": "javascript-module",
|
|
2733
|
+
"path": "cdn/chunks/sr-RS.TKMMG7FK.js",
|
|
2734
|
+
"declarations": [
|
|
2735
|
+
{
|
|
2736
|
+
"kind": "variable",
|
|
2737
|
+
"name": "o",
|
|
2738
|
+
"default": "e"
|
|
2739
|
+
}
|
|
2740
|
+
],
|
|
2741
|
+
"exports": [
|
|
2742
|
+
{
|
|
2743
|
+
"kind": "js",
|
|
2744
|
+
"name": "templates",
|
|
2745
|
+
"declaration": {
|
|
2746
|
+
"name": "o",
|
|
2747
|
+
"module": "cdn/chunks/sr-RS.TKMMG7FK.js"
|
|
2748
|
+
}
|
|
2749
|
+
}
|
|
2750
|
+
]
|
|
2751
|
+
},
|
|
2752
|
+
{
|
|
2753
|
+
"kind": "javascript-module",
|
|
2754
|
+
"path": "cdn/chunks/sv.HZ3E6V5F.js",
|
|
2755
|
+
"declarations": [
|
|
2756
|
+
{
|
|
2757
|
+
"kind": "variable",
|
|
2758
|
+
"name": "n",
|
|
2759
|
+
"default": "e"
|
|
2760
|
+
}
|
|
2761
|
+
],
|
|
2762
|
+
"exports": [
|
|
2763
|
+
{
|
|
2764
|
+
"kind": "js",
|
|
2765
|
+
"name": "templates",
|
|
2766
|
+
"declaration": {
|
|
2767
|
+
"name": "n",
|
|
2768
|
+
"module": "cdn/chunks/sv.HZ3E6V5F.js"
|
|
2769
|
+
}
|
|
2770
|
+
}
|
|
2771
|
+
]
|
|
2772
|
+
},
|
|
2773
|
+
{
|
|
2774
|
+
"kind": "javascript-module",
|
|
2775
|
+
"path": "cdn/chunks/th.AY6M42B4.js",
|
|
2776
|
+
"declarations": [
|
|
2777
|
+
{
|
|
2778
|
+
"kind": "variable",
|
|
2779
|
+
"name": "o",
|
|
2780
|
+
"default": "e"
|
|
2781
|
+
}
|
|
2782
|
+
],
|
|
2783
|
+
"exports": [
|
|
2784
|
+
{
|
|
2785
|
+
"kind": "js",
|
|
2786
|
+
"name": "templates",
|
|
2787
|
+
"declaration": {
|
|
2788
|
+
"name": "o",
|
|
2789
|
+
"module": "cdn/chunks/th.AY6M42B4.js"
|
|
2790
|
+
}
|
|
2791
|
+
}
|
|
2792
|
+
]
|
|
2793
|
+
},
|
|
2794
|
+
{
|
|
2795
|
+
"kind": "javascript-module",
|
|
2796
|
+
"path": "cdn/chunks/tr.TFKBPYMO.js",
|
|
2797
|
+
"declarations": [
|
|
2798
|
+
{
|
|
2799
|
+
"kind": "variable",
|
|
2800
|
+
"name": "n",
|
|
2801
|
+
"default": "e"
|
|
2802
|
+
}
|
|
2803
|
+
],
|
|
2804
|
+
"exports": [
|
|
2805
|
+
{
|
|
2806
|
+
"kind": "js",
|
|
2807
|
+
"name": "templates",
|
|
2808
|
+
"declaration": {
|
|
2809
|
+
"name": "n",
|
|
2810
|
+
"module": "cdn/chunks/tr.TFKBPYMO.js"
|
|
2811
|
+
}
|
|
2812
|
+
}
|
|
2813
|
+
]
|
|
2814
|
+
},
|
|
2815
|
+
{
|
|
2816
|
+
"kind": "javascript-module",
|
|
2817
|
+
"path": "cdn/chunks/uk-UA.3TU67RSI.js",
|
|
2818
|
+
"declarations": [
|
|
2819
|
+
{
|
|
2820
|
+
"kind": "variable",
|
|
2821
|
+
"name": "o",
|
|
2822
|
+
"default": "e"
|
|
2823
|
+
}
|
|
2824
|
+
],
|
|
2825
|
+
"exports": [
|
|
2826
|
+
{
|
|
2827
|
+
"kind": "js",
|
|
2828
|
+
"name": "templates",
|
|
2829
|
+
"declaration": {
|
|
2830
|
+
"name": "o",
|
|
2831
|
+
"module": "cdn/chunks/uk-UA.3TU67RSI.js"
|
|
2832
|
+
}
|
|
2833
|
+
}
|
|
2834
|
+
]
|
|
2835
|
+
},
|
|
2836
|
+
{
|
|
2837
|
+
"kind": "javascript-module",
|
|
2838
|
+
"path": "cdn/chunks/vi.NLXELMXV.js",
|
|
2839
|
+
"declarations": [
|
|
2840
|
+
{
|
|
2841
|
+
"kind": "variable",
|
|
2842
|
+
"name": "a",
|
|
2843
|
+
"default": "n"
|
|
2844
|
+
}
|
|
2845
|
+
],
|
|
2846
|
+
"exports": [
|
|
2847
|
+
{
|
|
2848
|
+
"kind": "js",
|
|
2849
|
+
"name": "templates",
|
|
2850
|
+
"declaration": {
|
|
2851
|
+
"name": "a",
|
|
2852
|
+
"module": "cdn/chunks/vi.NLXELMXV.js"
|
|
2853
|
+
}
|
|
2854
|
+
}
|
|
2855
|
+
]
|
|
2856
|
+
},
|
|
2857
|
+
{
|
|
2858
|
+
"kind": "javascript-module",
|
|
2859
|
+
"path": "cdn/chunks/zf.U5XPENNR.js",
|
|
2860
|
+
"declarations": [
|
|
2861
|
+
{
|
|
2862
|
+
"kind": "variable",
|
|
2863
|
+
"name": "a",
|
|
2864
|
+
"default": "t"
|
|
1153
2865
|
}
|
|
1154
2866
|
],
|
|
1155
2867
|
"exports": [
|
|
1156
2868
|
{
|
|
1157
2869
|
"kind": "js",
|
|
1158
|
-
"name": "
|
|
2870
|
+
"name": "templates",
|
|
1159
2871
|
"declaration": {
|
|
1160
|
-
"name": "
|
|
1161
|
-
"module": "
|
|
2872
|
+
"name": "a",
|
|
2873
|
+
"module": "cdn/chunks/zf.U5XPENNR.js"
|
|
1162
2874
|
}
|
|
1163
|
-
}
|
|
2875
|
+
}
|
|
2876
|
+
]
|
|
2877
|
+
},
|
|
2878
|
+
{
|
|
2879
|
+
"kind": "javascript-module",
|
|
2880
|
+
"path": "cdn/chunks/zh-CN.VEOQJ3EU.js",
|
|
2881
|
+
"declarations": [
|
|
1164
2882
|
{
|
|
1165
|
-
"kind": "
|
|
1166
|
-
"name": "
|
|
2883
|
+
"kind": "variable",
|
|
2884
|
+
"name": "o",
|
|
2885
|
+
"default": "e"
|
|
2886
|
+
}
|
|
2887
|
+
],
|
|
2888
|
+
"exports": [
|
|
2889
|
+
{
|
|
2890
|
+
"kind": "js",
|
|
2891
|
+
"name": "templates",
|
|
1167
2892
|
"declaration": {
|
|
1168
|
-
"name": "
|
|
1169
|
-
"module": "
|
|
2893
|
+
"name": "o",
|
|
2894
|
+
"module": "cdn/chunks/zh-CN.VEOQJ3EU.js"
|
|
1170
2895
|
}
|
|
1171
2896
|
}
|
|
1172
2897
|
]
|
|
1173
2898
|
},
|
|
1174
2899
|
{
|
|
1175
2900
|
"kind": "javascript-module",
|
|
1176
|
-
"path": "cdn/chunks/
|
|
2901
|
+
"path": "cdn/chunks/zh-HK.ZEXSW7FF.js",
|
|
1177
2902
|
"declarations": [
|
|
1178
2903
|
{
|
|
1179
2904
|
"kind": "variable",
|
|
@@ -1187,14 +2912,14 @@
|
|
|
1187
2912
|
"name": "templates",
|
|
1188
2913
|
"declaration": {
|
|
1189
2914
|
"name": "o",
|
|
1190
|
-
"module": "cdn/chunks/
|
|
2915
|
+
"module": "cdn/chunks/zh-HK.ZEXSW7FF.js"
|
|
1191
2916
|
}
|
|
1192
2917
|
}
|
|
1193
2918
|
]
|
|
1194
2919
|
},
|
|
1195
2920
|
{
|
|
1196
2921
|
"kind": "javascript-module",
|
|
1197
|
-
"path": "cdn/chunks/
|
|
2922
|
+
"path": "cdn/chunks/zh-TW.MMVWEQMZ.js",
|
|
1198
2923
|
"declarations": [
|
|
1199
2924
|
{
|
|
1200
2925
|
"kind": "variable",
|
|
@@ -1208,14 +2933,56 @@
|
|
|
1208
2933
|
"name": "templates",
|
|
1209
2934
|
"declaration": {
|
|
1210
2935
|
"name": "o",
|
|
1211
|
-
"module": "cdn/chunks/
|
|
2936
|
+
"module": "cdn/chunks/zh-TW.MMVWEQMZ.js"
|
|
1212
2937
|
}
|
|
1213
2938
|
}
|
|
1214
2939
|
]
|
|
1215
2940
|
},
|
|
1216
2941
|
{
|
|
1217
2942
|
"kind": "javascript-module",
|
|
1218
|
-
"path": "
|
|
2943
|
+
"path": "dist/chunks/ar.5AY75F5J.js",
|
|
2944
|
+
"declarations": [
|
|
2945
|
+
{
|
|
2946
|
+
"kind": "variable",
|
|
2947
|
+
"name": "o",
|
|
2948
|
+
"default": "e"
|
|
2949
|
+
}
|
|
2950
|
+
],
|
|
2951
|
+
"exports": [
|
|
2952
|
+
{
|
|
2953
|
+
"kind": "js",
|
|
2954
|
+
"name": "templates",
|
|
2955
|
+
"declaration": {
|
|
2956
|
+
"name": "o",
|
|
2957
|
+
"module": "dist/chunks/ar.5AY75F5J.js"
|
|
2958
|
+
}
|
|
2959
|
+
}
|
|
2960
|
+
]
|
|
2961
|
+
},
|
|
2962
|
+
{
|
|
2963
|
+
"kind": "javascript-module",
|
|
2964
|
+
"path": "dist/chunks/bg.2EL2HTYI.js",
|
|
2965
|
+
"declarations": [
|
|
2966
|
+
{
|
|
2967
|
+
"kind": "variable",
|
|
2968
|
+
"name": "o",
|
|
2969
|
+
"default": "e"
|
|
2970
|
+
}
|
|
2971
|
+
],
|
|
2972
|
+
"exports": [
|
|
2973
|
+
{
|
|
2974
|
+
"kind": "js",
|
|
2975
|
+
"name": "templates",
|
|
2976
|
+
"declaration": {
|
|
2977
|
+
"name": "o",
|
|
2978
|
+
"module": "dist/chunks/bg.2EL2HTYI.js"
|
|
2979
|
+
}
|
|
2980
|
+
}
|
|
2981
|
+
]
|
|
2982
|
+
},
|
|
2983
|
+
{
|
|
2984
|
+
"kind": "javascript-module",
|
|
2985
|
+
"path": "dist/chunks/ca.WZI7CBFW.js",
|
|
1219
2986
|
"declarations": [
|
|
1220
2987
|
{
|
|
1221
2988
|
"kind": "variable",
|
|
@@ -1229,14 +2996,14 @@
|
|
|
1229
2996
|
"name": "templates",
|
|
1230
2997
|
"declaration": {
|
|
1231
2998
|
"name": "i",
|
|
1232
|
-
"module": "
|
|
2999
|
+
"module": "dist/chunks/ca.WZI7CBFW.js"
|
|
1233
3000
|
}
|
|
1234
3001
|
}
|
|
1235
3002
|
]
|
|
1236
3003
|
},
|
|
1237
3004
|
{
|
|
1238
3005
|
"kind": "javascript-module",
|
|
1239
|
-
"path": "
|
|
3006
|
+
"path": "dist/chunks/chunk.G45OCYEN.js",
|
|
1240
3007
|
"declarations": [
|
|
1241
3008
|
{
|
|
1242
3009
|
"kind": "function",
|
|
@@ -1304,7 +3071,7 @@
|
|
|
1304
3071
|
"name": "a",
|
|
1305
3072
|
"declaration": {
|
|
1306
3073
|
"name": "o",
|
|
1307
|
-
"module": "
|
|
3074
|
+
"module": "dist/chunks/chunk.G45OCYEN.js"
|
|
1308
3075
|
}
|
|
1309
3076
|
},
|
|
1310
3077
|
{
|
|
@@ -1312,7 +3079,7 @@
|
|
|
1312
3079
|
"name": "b",
|
|
1313
3080
|
"declaration": {
|
|
1314
3081
|
"name": "p",
|
|
1315
|
-
"module": "
|
|
3082
|
+
"module": "dist/chunks/chunk.G45OCYEN.js"
|
|
1316
3083
|
}
|
|
1317
3084
|
},
|
|
1318
3085
|
{
|
|
@@ -1320,7 +3087,7 @@
|
|
|
1320
3087
|
"name": "c",
|
|
1321
3088
|
"declaration": {
|
|
1322
3089
|
"name": "q",
|
|
1323
|
-
"module": "
|
|
3090
|
+
"module": "dist/chunks/chunk.G45OCYEN.js"
|
|
1324
3091
|
}
|
|
1325
3092
|
},
|
|
1326
3093
|
{
|
|
@@ -1328,14 +3095,14 @@
|
|
|
1328
3095
|
"name": "d",
|
|
1329
3096
|
"declaration": {
|
|
1330
3097
|
"name": "r",
|
|
1331
|
-
"module": "
|
|
3098
|
+
"module": "dist/chunks/chunk.G45OCYEN.js"
|
|
1332
3099
|
}
|
|
1333
3100
|
}
|
|
1334
3101
|
]
|
|
1335
3102
|
},
|
|
1336
3103
|
{
|
|
1337
3104
|
"kind": "javascript-module",
|
|
1338
|
-
"path": "
|
|
3105
|
+
"path": "dist/chunks/chunk.QMLIEEKM.js",
|
|
1339
3106
|
"declarations": [
|
|
1340
3107
|
{
|
|
1341
3108
|
"kind": "variable",
|
|
@@ -1352,14 +3119,14 @@
|
|
|
1352
3119
|
"name": "a",
|
|
1353
3120
|
"declaration": {
|
|
1354
3121
|
"name": "t",
|
|
1355
|
-
"module": "
|
|
3122
|
+
"module": "dist/chunks/chunk.QMLIEEKM.js"
|
|
1356
3123
|
}
|
|
1357
3124
|
}
|
|
1358
3125
|
]
|
|
1359
3126
|
},
|
|
1360
3127
|
{
|
|
1361
3128
|
"kind": "javascript-module",
|
|
1362
|
-
"path": "
|
|
3129
|
+
"path": "dist/chunks/cs.GBLLNC3E.js",
|
|
1363
3130
|
"declarations": [
|
|
1364
3131
|
{
|
|
1365
3132
|
"kind": "variable",
|
|
@@ -1373,14 +3140,14 @@
|
|
|
1373
3140
|
"name": "templates",
|
|
1374
3141
|
"declaration": {
|
|
1375
3142
|
"name": "n",
|
|
1376
|
-
"module": "
|
|
3143
|
+
"module": "dist/chunks/cs.GBLLNC3E.js"
|
|
1377
3144
|
}
|
|
1378
3145
|
}
|
|
1379
3146
|
]
|
|
1380
3147
|
},
|
|
1381
3148
|
{
|
|
1382
3149
|
"kind": "javascript-module",
|
|
1383
|
-
"path": "
|
|
3150
|
+
"path": "dist/chunks/da.CDEFQG44.js",
|
|
1384
3151
|
"declarations": [
|
|
1385
3152
|
{
|
|
1386
3153
|
"kind": "variable",
|
|
@@ -1394,14 +3161,14 @@
|
|
|
1394
3161
|
"name": "templates",
|
|
1395
3162
|
"declaration": {
|
|
1396
3163
|
"name": "a",
|
|
1397
|
-
"module": "
|
|
3164
|
+
"module": "dist/chunks/da.CDEFQG44.js"
|
|
1398
3165
|
}
|
|
1399
3166
|
}
|
|
1400
3167
|
]
|
|
1401
3168
|
},
|
|
1402
3169
|
{
|
|
1403
3170
|
"kind": "javascript-module",
|
|
1404
|
-
"path": "
|
|
3171
|
+
"path": "dist/chunks/de.UHURA2HV.js",
|
|
1405
3172
|
"declarations": [
|
|
1406
3173
|
{
|
|
1407
3174
|
"kind": "variable",
|
|
@@ -1415,14 +3182,14 @@
|
|
|
1415
3182
|
"name": "templates",
|
|
1416
3183
|
"declaration": {
|
|
1417
3184
|
"name": "t",
|
|
1418
|
-
"module": "
|
|
3185
|
+
"module": "dist/chunks/de.UHURA2HV.js"
|
|
1419
3186
|
}
|
|
1420
3187
|
}
|
|
1421
3188
|
]
|
|
1422
3189
|
},
|
|
1423
3190
|
{
|
|
1424
3191
|
"kind": "javascript-module",
|
|
1425
|
-
"path": "
|
|
3192
|
+
"path": "dist/chunks/el.BY5NGYDF.js",
|
|
1426
3193
|
"declarations": [
|
|
1427
3194
|
{
|
|
1428
3195
|
"kind": "variable",
|
|
@@ -1436,14 +3203,14 @@
|
|
|
1436
3203
|
"name": "templates",
|
|
1437
3204
|
"declaration": {
|
|
1438
3205
|
"name": "o",
|
|
1439
|
-
"module": "
|
|
3206
|
+
"module": "dist/chunks/el.BY5NGYDF.js"
|
|
1440
3207
|
}
|
|
1441
3208
|
}
|
|
1442
3209
|
]
|
|
1443
3210
|
},
|
|
1444
3211
|
{
|
|
1445
3212
|
"kind": "javascript-module",
|
|
1446
|
-
"path": "
|
|
3213
|
+
"path": "dist/chunks/en-GB.UBLLAUVW.js",
|
|
1447
3214
|
"declarations": [
|
|
1448
3215
|
{
|
|
1449
3216
|
"kind": "variable",
|
|
@@ -1457,14 +3224,14 @@
|
|
|
1457
3224
|
"name": "templates",
|
|
1458
3225
|
"declaration": {
|
|
1459
3226
|
"name": "o",
|
|
1460
|
-
"module": "
|
|
3227
|
+
"module": "dist/chunks/en-GB.UBLLAUVW.js"
|
|
1461
3228
|
}
|
|
1462
3229
|
}
|
|
1463
3230
|
]
|
|
1464
3231
|
},
|
|
1465
3232
|
{
|
|
1466
3233
|
"kind": "javascript-module",
|
|
1467
|
-
"path": "
|
|
3234
|
+
"path": "dist/chunks/en.BKAVPUID.js",
|
|
1468
3235
|
"declarations": [
|
|
1469
3236
|
{
|
|
1470
3237
|
"kind": "variable",
|
|
@@ -1478,14 +3245,14 @@
|
|
|
1478
3245
|
"name": "templates",
|
|
1479
3246
|
"declaration": {
|
|
1480
3247
|
"name": "o",
|
|
1481
|
-
"module": "
|
|
3248
|
+
"module": "dist/chunks/en.BKAVPUID.js"
|
|
1482
3249
|
}
|
|
1483
3250
|
}
|
|
1484
3251
|
]
|
|
1485
3252
|
},
|
|
1486
3253
|
{
|
|
1487
3254
|
"kind": "javascript-module",
|
|
1488
|
-
"path": "
|
|
3255
|
+
"path": "dist/chunks/es-AR.EYNC6EAZ.js",
|
|
1489
3256
|
"declarations": [
|
|
1490
3257
|
{
|
|
1491
3258
|
"kind": "variable",
|
|
@@ -1499,14 +3266,14 @@
|
|
|
1499
3266
|
"name": "templates",
|
|
1500
3267
|
"declaration": {
|
|
1501
3268
|
"name": "i",
|
|
1502
|
-
"module": "
|
|
3269
|
+
"module": "dist/chunks/es-AR.EYNC6EAZ.js"
|
|
1503
3270
|
}
|
|
1504
3271
|
}
|
|
1505
3272
|
]
|
|
1506
3273
|
},
|
|
1507
3274
|
{
|
|
1508
3275
|
"kind": "javascript-module",
|
|
1509
|
-
"path": "
|
|
3276
|
+
"path": "dist/chunks/es-MX.OIO2YURF.js",
|
|
1510
3277
|
"declarations": [
|
|
1511
3278
|
{
|
|
1512
3279
|
"kind": "variable",
|
|
@@ -1520,14 +3287,14 @@
|
|
|
1520
3287
|
"name": "templates",
|
|
1521
3288
|
"declaration": {
|
|
1522
3289
|
"name": "i",
|
|
1523
|
-
"module": "
|
|
3290
|
+
"module": "dist/chunks/es-MX.OIO2YURF.js"
|
|
1524
3291
|
}
|
|
1525
3292
|
}
|
|
1526
3293
|
]
|
|
1527
3294
|
},
|
|
1528
3295
|
{
|
|
1529
3296
|
"kind": "javascript-module",
|
|
1530
|
-
"path": "
|
|
3297
|
+
"path": "dist/chunks/es.CNNIJYLX.js",
|
|
1531
3298
|
"declarations": [
|
|
1532
3299
|
{
|
|
1533
3300
|
"kind": "variable",
|
|
@@ -1541,14 +3308,14 @@
|
|
|
1541
3308
|
"name": "templates",
|
|
1542
3309
|
"declaration": {
|
|
1543
3310
|
"name": "i",
|
|
1544
|
-
"module": "
|
|
3311
|
+
"module": "dist/chunks/es.CNNIJYLX.js"
|
|
1545
3312
|
}
|
|
1546
3313
|
}
|
|
1547
3314
|
]
|
|
1548
3315
|
},
|
|
1549
3316
|
{
|
|
1550
3317
|
"kind": "javascript-module",
|
|
1551
|
-
"path": "
|
|
3318
|
+
"path": "dist/chunks/et-EE.4ZF6CLB6.js",
|
|
1552
3319
|
"declarations": [
|
|
1553
3320
|
{
|
|
1554
3321
|
"kind": "variable",
|
|
@@ -1562,14 +3329,14 @@
|
|
|
1562
3329
|
"name": "templates",
|
|
1563
3330
|
"declaration": {
|
|
1564
3331
|
"name": "r",
|
|
1565
|
-
"module": "
|
|
3332
|
+
"module": "dist/chunks/et-EE.4ZF6CLB6.js"
|
|
1566
3333
|
}
|
|
1567
3334
|
}
|
|
1568
3335
|
]
|
|
1569
3336
|
},
|
|
1570
3337
|
{
|
|
1571
3338
|
"kind": "javascript-module",
|
|
1572
|
-
"path": "
|
|
3339
|
+
"path": "dist/chunks/fi-FI.4ZXWRRYI.js",
|
|
1573
3340
|
"declarations": [
|
|
1574
3341
|
{
|
|
1575
3342
|
"kind": "variable",
|
|
@@ -1583,14 +3350,14 @@
|
|
|
1583
3350
|
"name": "templates",
|
|
1584
3351
|
"declaration": {
|
|
1585
3352
|
"name": "n",
|
|
1586
|
-
"module": "
|
|
3353
|
+
"module": "dist/chunks/fi-FI.4ZXWRRYI.js"
|
|
1587
3354
|
}
|
|
1588
3355
|
}
|
|
1589
3356
|
]
|
|
1590
3357
|
},
|
|
1591
3358
|
{
|
|
1592
3359
|
"kind": "javascript-module",
|
|
1593
|
-
"path": "
|
|
3360
|
+
"path": "dist/chunks/fr.TZM5I4K2.js",
|
|
1594
3361
|
"declarations": [
|
|
1595
3362
|
{
|
|
1596
3363
|
"kind": "variable",
|
|
@@ -1604,14 +3371,14 @@
|
|
|
1604
3371
|
"name": "templates",
|
|
1605
3372
|
"declaration": {
|
|
1606
3373
|
"name": "i",
|
|
1607
|
-
"module": "
|
|
3374
|
+
"module": "dist/chunks/fr.TZM5I4K2.js"
|
|
1608
3375
|
}
|
|
1609
3376
|
}
|
|
1610
3377
|
]
|
|
1611
3378
|
},
|
|
1612
3379
|
{
|
|
1613
3380
|
"kind": "javascript-module",
|
|
1614
|
-
"path": "
|
|
3381
|
+
"path": "dist/chunks/he.DWEZBG4A.js",
|
|
1615
3382
|
"declarations": [
|
|
1616
3383
|
{
|
|
1617
3384
|
"kind": "variable",
|
|
@@ -1625,14 +3392,14 @@
|
|
|
1625
3392
|
"name": "templates",
|
|
1626
3393
|
"declaration": {
|
|
1627
3394
|
"name": "o",
|
|
1628
|
-
"module": "
|
|
3395
|
+
"module": "dist/chunks/he.DWEZBG4A.js"
|
|
1629
3396
|
}
|
|
1630
3397
|
}
|
|
1631
3398
|
]
|
|
1632
3399
|
},
|
|
1633
3400
|
{
|
|
1634
3401
|
"kind": "javascript-module",
|
|
1635
|
-
"path": "
|
|
3402
|
+
"path": "dist/chunks/hr.BV4PC324.js",
|
|
1636
3403
|
"declarations": [
|
|
1637
3404
|
{
|
|
1638
3405
|
"kind": "variable",
|
|
@@ -1646,14 +3413,14 @@
|
|
|
1646
3413
|
"name": "templates",
|
|
1647
3414
|
"declaration": {
|
|
1648
3415
|
"name": "t",
|
|
1649
|
-
"module": "
|
|
3416
|
+
"module": "dist/chunks/hr.BV4PC324.js"
|
|
1650
3417
|
}
|
|
1651
3418
|
}
|
|
1652
3419
|
]
|
|
1653
3420
|
},
|
|
1654
3421
|
{
|
|
1655
3422
|
"kind": "javascript-module",
|
|
1656
|
-
"path": "
|
|
3423
|
+
"path": "dist/chunks/hu.MTEKSS3J.js",
|
|
1657
3424
|
"declarations": [
|
|
1658
3425
|
{
|
|
1659
3426
|
"kind": "variable",
|
|
@@ -1667,14 +3434,14 @@
|
|
|
1667
3434
|
"name": "templates",
|
|
1668
3435
|
"declaration": {
|
|
1669
3436
|
"name": "s",
|
|
1670
|
-
"module": "
|
|
3437
|
+
"module": "dist/chunks/hu.MTEKSS3J.js"
|
|
1671
3438
|
}
|
|
1672
3439
|
}
|
|
1673
3440
|
]
|
|
1674
3441
|
},
|
|
1675
3442
|
{
|
|
1676
3443
|
"kind": "javascript-module",
|
|
1677
|
-
"path": "
|
|
3444
|
+
"path": "dist/chunks/id.SJSTOPSC.js",
|
|
1678
3445
|
"declarations": [
|
|
1679
3446
|
{
|
|
1680
3447
|
"kind": "variable",
|
|
@@ -1688,14 +3455,14 @@
|
|
|
1688
3455
|
"name": "templates",
|
|
1689
3456
|
"declaration": {
|
|
1690
3457
|
"name": "r",
|
|
1691
|
-
"module": "
|
|
3458
|
+
"module": "dist/chunks/id.SJSTOPSC.js"
|
|
1692
3459
|
}
|
|
1693
3460
|
}
|
|
1694
3461
|
]
|
|
1695
3462
|
},
|
|
1696
3463
|
{
|
|
1697
3464
|
"kind": "javascript-module",
|
|
1698
|
-
"path": "
|
|
3465
|
+
"path": "dist/chunks/it.IISTMHN5.js",
|
|
1699
3466
|
"declarations": [
|
|
1700
3467
|
{
|
|
1701
3468
|
"kind": "variable",
|
|
@@ -1709,14 +3476,14 @@
|
|
|
1709
3476
|
"name": "templates",
|
|
1710
3477
|
"declaration": {
|
|
1711
3478
|
"name": "r",
|
|
1712
|
-
"module": "
|
|
3479
|
+
"module": "dist/chunks/it.IISTMHN5.js"
|
|
1713
3480
|
}
|
|
1714
3481
|
}
|
|
1715
3482
|
]
|
|
1716
3483
|
},
|
|
1717
3484
|
{
|
|
1718
3485
|
"kind": "javascript-module",
|
|
1719
|
-
"path": "
|
|
3486
|
+
"path": "dist/chunks/ja.IBQ3ID5C.js",
|
|
1720
3487
|
"declarations": [
|
|
1721
3488
|
{
|
|
1722
3489
|
"kind": "variable",
|
|
@@ -1730,14 +3497,14 @@
|
|
|
1730
3497
|
"name": "templates",
|
|
1731
3498
|
"declaration": {
|
|
1732
3499
|
"name": "o",
|
|
1733
|
-
"module": "
|
|
3500
|
+
"module": "dist/chunks/ja.IBQ3ID5C.js"
|
|
1734
3501
|
}
|
|
1735
3502
|
}
|
|
1736
3503
|
]
|
|
1737
3504
|
},
|
|
1738
3505
|
{
|
|
1739
3506
|
"kind": "javascript-module",
|
|
1740
|
-
"path": "
|
|
3507
|
+
"path": "dist/chunks/ko.KZVQLI4V.js",
|
|
1741
3508
|
"declarations": [
|
|
1742
3509
|
{
|
|
1743
3510
|
"kind": "variable",
|
|
@@ -1751,14 +3518,14 @@
|
|
|
1751
3518
|
"name": "templates",
|
|
1752
3519
|
"declaration": {
|
|
1753
3520
|
"name": "o",
|
|
1754
|
-
"module": "
|
|
3521
|
+
"module": "dist/chunks/ko.KZVQLI4V.js"
|
|
1755
3522
|
}
|
|
1756
3523
|
}
|
|
1757
3524
|
]
|
|
1758
3525
|
},
|
|
1759
3526
|
{
|
|
1760
3527
|
"kind": "javascript-module",
|
|
1761
|
-
"path": "
|
|
3528
|
+
"path": "dist/chunks/lt-LT.RKBB7CZ6.js",
|
|
1762
3529
|
"declarations": [
|
|
1763
3530
|
{
|
|
1764
3531
|
"kind": "variable",
|
|
@@ -1772,14 +3539,14 @@
|
|
|
1772
3539
|
"name": "templates",
|
|
1773
3540
|
"declaration": {
|
|
1774
3541
|
"name": "t",
|
|
1775
|
-
"module": "
|
|
3542
|
+
"module": "dist/chunks/lt-LT.RKBB7CZ6.js"
|
|
1776
3543
|
}
|
|
1777
3544
|
}
|
|
1778
3545
|
]
|
|
1779
3546
|
},
|
|
1780
3547
|
{
|
|
1781
3548
|
"kind": "javascript-module",
|
|
1782
|
-
"path": "
|
|
3549
|
+
"path": "dist/chunks/lt.TLM7OCXP.js",
|
|
1783
3550
|
"declarations": [
|
|
1784
3551
|
{
|
|
1785
3552
|
"kind": "variable",
|
|
@@ -1793,14 +3560,14 @@
|
|
|
1793
3560
|
"name": "templates",
|
|
1794
3561
|
"declaration": {
|
|
1795
3562
|
"name": "o",
|
|
1796
|
-
"module": "
|
|
3563
|
+
"module": "dist/chunks/lt.TLM7OCXP.js"
|
|
1797
3564
|
}
|
|
1798
3565
|
}
|
|
1799
3566
|
]
|
|
1800
3567
|
},
|
|
1801
3568
|
{
|
|
1802
3569
|
"kind": "javascript-module",
|
|
1803
|
-
"path": "
|
|
3570
|
+
"path": "dist/chunks/lv-LV.H5TJC2T4.js",
|
|
1804
3571
|
"declarations": [
|
|
1805
3572
|
{
|
|
1806
3573
|
"kind": "variable",
|
|
@@ -1814,14 +3581,14 @@
|
|
|
1814
3581
|
"name": "templates",
|
|
1815
3582
|
"declaration": {
|
|
1816
3583
|
"name": "t",
|
|
1817
|
-
"module": "
|
|
3584
|
+
"module": "dist/chunks/lv-LV.H5TJC2T4.js"
|
|
1818
3585
|
}
|
|
1819
3586
|
}
|
|
1820
3587
|
]
|
|
1821
3588
|
},
|
|
1822
3589
|
{
|
|
1823
3590
|
"kind": "javascript-module",
|
|
1824
|
-
"path": "
|
|
3591
|
+
"path": "dist/chunks/lv.G4SRVBAC.js",
|
|
1825
3592
|
"declarations": [
|
|
1826
3593
|
{
|
|
1827
3594
|
"kind": "variable",
|
|
@@ -1835,14 +3602,14 @@
|
|
|
1835
3602
|
"name": "templates",
|
|
1836
3603
|
"declaration": {
|
|
1837
3604
|
"name": "t",
|
|
1838
|
-
"module": "
|
|
3605
|
+
"module": "dist/chunks/lv.G4SRVBAC.js"
|
|
1839
3606
|
}
|
|
1840
3607
|
}
|
|
1841
3608
|
]
|
|
1842
3609
|
},
|
|
1843
3610
|
{
|
|
1844
3611
|
"kind": "javascript-module",
|
|
1845
|
-
"path": "
|
|
3612
|
+
"path": "dist/chunks/ms.ATTITA66.js",
|
|
1846
3613
|
"declarations": [
|
|
1847
3614
|
{
|
|
1848
3615
|
"kind": "variable",
|
|
@@ -1856,14 +3623,14 @@
|
|
|
1856
3623
|
"name": "templates",
|
|
1857
3624
|
"declaration": {
|
|
1858
3625
|
"name": "i",
|
|
1859
|
-
"module": "
|
|
3626
|
+
"module": "dist/chunks/ms.ATTITA66.js"
|
|
1860
3627
|
}
|
|
1861
3628
|
}
|
|
1862
3629
|
]
|
|
1863
3630
|
},
|
|
1864
3631
|
{
|
|
1865
3632
|
"kind": "javascript-module",
|
|
1866
|
-
"path": "
|
|
3633
|
+
"path": "dist/chunks/nb.5EE7XOA7.js",
|
|
1867
3634
|
"declarations": [
|
|
1868
3635
|
{
|
|
1869
3636
|
"kind": "variable",
|
|
@@ -1877,14 +3644,14 @@
|
|
|
1877
3644
|
"name": "templates",
|
|
1878
3645
|
"declaration": {
|
|
1879
3646
|
"name": "a",
|
|
1880
|
-
"module": "
|
|
3647
|
+
"module": "dist/chunks/nb.5EE7XOA7.js"
|
|
1881
3648
|
}
|
|
1882
3649
|
}
|
|
1883
3650
|
]
|
|
1884
3651
|
},
|
|
1885
3652
|
{
|
|
1886
3653
|
"kind": "javascript-module",
|
|
1887
|
-
"path": "
|
|
3654
|
+
"path": "dist/chunks/nl.TY2SYTKZ.js",
|
|
1888
3655
|
"declarations": [
|
|
1889
3656
|
{
|
|
1890
3657
|
"kind": "variable",
|
|
@@ -1898,14 +3665,14 @@
|
|
|
1898
3665
|
"name": "templates",
|
|
1899
3666
|
"declaration": {
|
|
1900
3667
|
"name": "n",
|
|
1901
|
-
"module": "
|
|
3668
|
+
"module": "dist/chunks/nl.TY2SYTKZ.js"
|
|
1902
3669
|
}
|
|
1903
3670
|
}
|
|
1904
3671
|
]
|
|
1905
3672
|
},
|
|
1906
3673
|
{
|
|
1907
3674
|
"kind": "javascript-module",
|
|
1908
|
-
"path": "
|
|
3675
|
+
"path": "dist/chunks/nl_NL.GB5BQ5PG.js",
|
|
1909
3676
|
"declarations": [
|
|
1910
3677
|
{
|
|
1911
3678
|
"kind": "variable",
|
|
@@ -1919,14 +3686,14 @@
|
|
|
1919
3686
|
"name": "templates",
|
|
1920
3687
|
"declaration": {
|
|
1921
3688
|
"name": "n",
|
|
1922
|
-
"module": "
|
|
3689
|
+
"module": "dist/chunks/nl_NL.GB5BQ5PG.js"
|
|
1923
3690
|
}
|
|
1924
3691
|
}
|
|
1925
3692
|
]
|
|
1926
3693
|
},
|
|
1927
3694
|
{
|
|
1928
3695
|
"kind": "javascript-module",
|
|
1929
|
-
"path": "
|
|
3696
|
+
"path": "dist/chunks/pl.5PRBSG4K.js",
|
|
1930
3697
|
"declarations": [
|
|
1931
3698
|
{
|
|
1932
3699
|
"kind": "variable",
|
|
@@ -1940,14 +3707,14 @@
|
|
|
1940
3707
|
"name": "templates",
|
|
1941
3708
|
"declaration": {
|
|
1942
3709
|
"name": "i",
|
|
1943
|
-
"module": "
|
|
3710
|
+
"module": "dist/chunks/pl.5PRBSG4K.js"
|
|
1944
3711
|
}
|
|
1945
3712
|
}
|
|
1946
3713
|
]
|
|
1947
3714
|
},
|
|
1948
3715
|
{
|
|
1949
3716
|
"kind": "javascript-module",
|
|
1950
|
-
"path": "
|
|
3717
|
+
"path": "dist/chunks/pt-BR.5XRZB5WW.js",
|
|
1951
3718
|
"declarations": [
|
|
1952
3719
|
{
|
|
1953
3720
|
"kind": "variable",
|
|
@@ -1961,14 +3728,14 @@
|
|
|
1961
3728
|
"name": "templates",
|
|
1962
3729
|
"declaration": {
|
|
1963
3730
|
"name": "t",
|
|
1964
|
-
"module": "
|
|
3731
|
+
"module": "dist/chunks/pt-BR.5XRZB5WW.js"
|
|
1965
3732
|
}
|
|
1966
3733
|
}
|
|
1967
3734
|
]
|
|
1968
3735
|
},
|
|
1969
3736
|
{
|
|
1970
3737
|
"kind": "javascript-module",
|
|
1971
|
-
"path": "
|
|
3738
|
+
"path": "dist/chunks/pt.TA5H5JUJ.js",
|
|
1972
3739
|
"declarations": [
|
|
1973
3740
|
{
|
|
1974
3741
|
"kind": "variable",
|
|
@@ -1982,14 +3749,14 @@
|
|
|
1982
3749
|
"name": "templates",
|
|
1983
3750
|
"declaration": {
|
|
1984
3751
|
"name": "t",
|
|
1985
|
-
"module": "
|
|
3752
|
+
"module": "dist/chunks/pt.TA5H5JUJ.js"
|
|
1986
3753
|
}
|
|
1987
3754
|
}
|
|
1988
3755
|
]
|
|
1989
3756
|
},
|
|
1990
3757
|
{
|
|
1991
3758
|
"kind": "javascript-module",
|
|
1992
|
-
"path": "
|
|
3759
|
+
"path": "dist/chunks/ro.PSZKGHRP.js",
|
|
1993
3760
|
"declarations": [
|
|
1994
3761
|
{
|
|
1995
3762
|
"kind": "variable",
|
|
@@ -2003,14 +3770,14 @@
|
|
|
2003
3770
|
"name": "templates",
|
|
2004
3771
|
"declaration": {
|
|
2005
3772
|
"name": "i",
|
|
2006
|
-
"module": "
|
|
3773
|
+
"module": "dist/chunks/ro.PSZKGHRP.js"
|
|
2007
3774
|
}
|
|
2008
3775
|
}
|
|
2009
3776
|
]
|
|
2010
3777
|
},
|
|
2011
3778
|
{
|
|
2012
3779
|
"kind": "javascript-module",
|
|
2013
|
-
"path": "
|
|
3780
|
+
"path": "dist/chunks/ru.3QZY7ZIT.js",
|
|
2014
3781
|
"declarations": [
|
|
2015
3782
|
{
|
|
2016
3783
|
"kind": "variable",
|
|
@@ -2024,14 +3791,14 @@
|
|
|
2024
3791
|
"name": "templates",
|
|
2025
3792
|
"declaration": {
|
|
2026
3793
|
"name": "o",
|
|
2027
|
-
"module": "
|
|
3794
|
+
"module": "dist/chunks/ru.3QZY7ZIT.js"
|
|
2028
3795
|
}
|
|
2029
3796
|
}
|
|
2030
3797
|
]
|
|
2031
3798
|
},
|
|
2032
3799
|
{
|
|
2033
3800
|
"kind": "javascript-module",
|
|
2034
|
-
"path": "
|
|
3801
|
+
"path": "dist/chunks/sk.FAQFYLGM.js",
|
|
2035
3802
|
"declarations": [
|
|
2036
3803
|
{
|
|
2037
3804
|
"kind": "variable",
|
|
@@ -2045,14 +3812,14 @@
|
|
|
2045
3812
|
"name": "templates",
|
|
2046
3813
|
"declaration": {
|
|
2047
3814
|
"name": "r",
|
|
2048
|
-
"module": "
|
|
3815
|
+
"module": "dist/chunks/sk.FAQFYLGM.js"
|
|
2049
3816
|
}
|
|
2050
3817
|
}
|
|
2051
3818
|
]
|
|
2052
3819
|
},
|
|
2053
3820
|
{
|
|
2054
3821
|
"kind": "javascript-module",
|
|
2055
|
-
"path": "
|
|
3822
|
+
"path": "dist/chunks/sl.QRSCQXJP.js",
|
|
2056
3823
|
"declarations": [
|
|
2057
3824
|
{
|
|
2058
3825
|
"kind": "variable",
|
|
@@ -2066,14 +3833,14 @@
|
|
|
2066
3833
|
"name": "templates",
|
|
2067
3834
|
"declaration": {
|
|
2068
3835
|
"name": "r",
|
|
2069
|
-
"module": "
|
|
3836
|
+
"module": "dist/chunks/sl.QRSCQXJP.js"
|
|
2070
3837
|
}
|
|
2071
3838
|
}
|
|
2072
3839
|
]
|
|
2073
3840
|
},
|
|
2074
3841
|
{
|
|
2075
3842
|
"kind": "javascript-module",
|
|
2076
|
-
"path": "
|
|
3843
|
+
"path": "dist/chunks/sr-RS.TKMMG7FK.js",
|
|
2077
3844
|
"declarations": [
|
|
2078
3845
|
{
|
|
2079
3846
|
"kind": "variable",
|
|
@@ -2087,14 +3854,14 @@
|
|
|
2087
3854
|
"name": "templates",
|
|
2088
3855
|
"declaration": {
|
|
2089
3856
|
"name": "o",
|
|
2090
|
-
"module": "
|
|
3857
|
+
"module": "dist/chunks/sr-RS.TKMMG7FK.js"
|
|
2091
3858
|
}
|
|
2092
3859
|
}
|
|
2093
3860
|
]
|
|
2094
3861
|
},
|
|
2095
3862
|
{
|
|
2096
3863
|
"kind": "javascript-module",
|
|
2097
|
-
"path": "
|
|
3864
|
+
"path": "dist/chunks/sv.HZ3E6V5F.js",
|
|
2098
3865
|
"declarations": [
|
|
2099
3866
|
{
|
|
2100
3867
|
"kind": "variable",
|
|
@@ -2108,14 +3875,14 @@
|
|
|
2108
3875
|
"name": "templates",
|
|
2109
3876
|
"declaration": {
|
|
2110
3877
|
"name": "n",
|
|
2111
|
-
"module": "
|
|
3878
|
+
"module": "dist/chunks/sv.HZ3E6V5F.js"
|
|
2112
3879
|
}
|
|
2113
3880
|
}
|
|
2114
3881
|
]
|
|
2115
3882
|
},
|
|
2116
3883
|
{
|
|
2117
3884
|
"kind": "javascript-module",
|
|
2118
|
-
"path": "
|
|
3885
|
+
"path": "dist/chunks/th.AY6M42B4.js",
|
|
2119
3886
|
"declarations": [
|
|
2120
3887
|
{
|
|
2121
3888
|
"kind": "variable",
|
|
@@ -2129,14 +3896,14 @@
|
|
|
2129
3896
|
"name": "templates",
|
|
2130
3897
|
"declaration": {
|
|
2131
3898
|
"name": "o",
|
|
2132
|
-
"module": "
|
|
3899
|
+
"module": "dist/chunks/th.AY6M42B4.js"
|
|
2133
3900
|
}
|
|
2134
3901
|
}
|
|
2135
3902
|
]
|
|
2136
3903
|
},
|
|
2137
3904
|
{
|
|
2138
3905
|
"kind": "javascript-module",
|
|
2139
|
-
"path": "
|
|
3906
|
+
"path": "dist/chunks/tr.TFKBPYMO.js",
|
|
2140
3907
|
"declarations": [
|
|
2141
3908
|
{
|
|
2142
3909
|
"kind": "variable",
|
|
@@ -2150,14 +3917,14 @@
|
|
|
2150
3917
|
"name": "templates",
|
|
2151
3918
|
"declaration": {
|
|
2152
3919
|
"name": "n",
|
|
2153
|
-
"module": "
|
|
3920
|
+
"module": "dist/chunks/tr.TFKBPYMO.js"
|
|
2154
3921
|
}
|
|
2155
3922
|
}
|
|
2156
3923
|
]
|
|
2157
3924
|
},
|
|
2158
3925
|
{
|
|
2159
3926
|
"kind": "javascript-module",
|
|
2160
|
-
"path": "
|
|
3927
|
+
"path": "dist/chunks/uk-UA.3TU67RSI.js",
|
|
2161
3928
|
"declarations": [
|
|
2162
3929
|
{
|
|
2163
3930
|
"kind": "variable",
|
|
@@ -2171,14 +3938,14 @@
|
|
|
2171
3938
|
"name": "templates",
|
|
2172
3939
|
"declaration": {
|
|
2173
3940
|
"name": "o",
|
|
2174
|
-
"module": "
|
|
3941
|
+
"module": "dist/chunks/uk-UA.3TU67RSI.js"
|
|
2175
3942
|
}
|
|
2176
3943
|
}
|
|
2177
3944
|
]
|
|
2178
3945
|
},
|
|
2179
3946
|
{
|
|
2180
3947
|
"kind": "javascript-module",
|
|
2181
|
-
"path": "
|
|
3948
|
+
"path": "dist/chunks/vi.NLXELMXV.js",
|
|
2182
3949
|
"declarations": [
|
|
2183
3950
|
{
|
|
2184
3951
|
"kind": "variable",
|
|
@@ -2192,14 +3959,14 @@
|
|
|
2192
3959
|
"name": "templates",
|
|
2193
3960
|
"declaration": {
|
|
2194
3961
|
"name": "a",
|
|
2195
|
-
"module": "
|
|
3962
|
+
"module": "dist/chunks/vi.NLXELMXV.js"
|
|
2196
3963
|
}
|
|
2197
3964
|
}
|
|
2198
3965
|
]
|
|
2199
3966
|
},
|
|
2200
3967
|
{
|
|
2201
3968
|
"kind": "javascript-module",
|
|
2202
|
-
"path": "
|
|
3969
|
+
"path": "dist/chunks/zf.U5XPENNR.js",
|
|
2203
3970
|
"declarations": [
|
|
2204
3971
|
{
|
|
2205
3972
|
"kind": "variable",
|
|
@@ -2213,14 +3980,14 @@
|
|
|
2213
3980
|
"name": "templates",
|
|
2214
3981
|
"declaration": {
|
|
2215
3982
|
"name": "a",
|
|
2216
|
-
"module": "
|
|
3983
|
+
"module": "dist/chunks/zf.U5XPENNR.js"
|
|
2217
3984
|
}
|
|
2218
3985
|
}
|
|
2219
3986
|
]
|
|
2220
3987
|
},
|
|
2221
3988
|
{
|
|
2222
3989
|
"kind": "javascript-module",
|
|
2223
|
-
"path": "
|
|
3990
|
+
"path": "dist/chunks/zh-CN.VEOQJ3EU.js",
|
|
2224
3991
|
"declarations": [
|
|
2225
3992
|
{
|
|
2226
3993
|
"kind": "variable",
|
|
@@ -2234,14 +4001,14 @@
|
|
|
2234
4001
|
"name": "templates",
|
|
2235
4002
|
"declaration": {
|
|
2236
4003
|
"name": "o",
|
|
2237
|
-
"module": "
|
|
4004
|
+
"module": "dist/chunks/zh-CN.VEOQJ3EU.js"
|
|
2238
4005
|
}
|
|
2239
4006
|
}
|
|
2240
4007
|
]
|
|
2241
4008
|
},
|
|
2242
4009
|
{
|
|
2243
4010
|
"kind": "javascript-module",
|
|
2244
|
-
"path": "
|
|
4011
|
+
"path": "dist/chunks/zh-HK.ZEXSW7FF.js",
|
|
2245
4012
|
"declarations": [
|
|
2246
4013
|
{
|
|
2247
4014
|
"kind": "variable",
|
|
@@ -2255,14 +4022,14 @@
|
|
|
2255
4022
|
"name": "templates",
|
|
2256
4023
|
"declaration": {
|
|
2257
4024
|
"name": "o",
|
|
2258
|
-
"module": "
|
|
4025
|
+
"module": "dist/chunks/zh-HK.ZEXSW7FF.js"
|
|
2259
4026
|
}
|
|
2260
4027
|
}
|
|
2261
4028
|
]
|
|
2262
4029
|
},
|
|
2263
4030
|
{
|
|
2264
4031
|
"kind": "javascript-module",
|
|
2265
|
-
"path": "
|
|
4032
|
+
"path": "dist/chunks/zh-TW.MMVWEQMZ.js",
|
|
2266
4033
|
"declarations": [
|
|
2267
4034
|
{
|
|
2268
4035
|
"kind": "variable",
|
|
@@ -2276,7 +4043,7 @@
|
|
|
2276
4043
|
"name": "templates",
|
|
2277
4044
|
"declaration": {
|
|
2278
4045
|
"name": "o",
|
|
2279
|
-
"module": "
|
|
4046
|
+
"module": "dist/chunks/zh-TW.MMVWEQMZ.js"
|
|
2280
4047
|
}
|
|
2281
4048
|
}
|
|
2282
4049
|
]
|
|
@@ -2906,6 +4673,33 @@
|
|
|
2906
4673
|
"privacy": "private",
|
|
2907
4674
|
"default": "[]"
|
|
2908
4675
|
},
|
|
4676
|
+
{
|
|
4677
|
+
"kind": "field",
|
|
4678
|
+
"name": "currentSdkInstance",
|
|
4679
|
+
"type": {
|
|
4680
|
+
"text": "PrimerHeadlessCheckout | null"
|
|
4681
|
+
},
|
|
4682
|
+
"privacy": "private",
|
|
4683
|
+
"default": "null"
|
|
4684
|
+
},
|
|
4685
|
+
{
|
|
4686
|
+
"kind": "field",
|
|
4687
|
+
"name": "loadingTimeout",
|
|
4688
|
+
"type": {
|
|
4689
|
+
"text": "any"
|
|
4690
|
+
},
|
|
4691
|
+
"privacy": "private",
|
|
4692
|
+
"default": "null"
|
|
4693
|
+
},
|
|
4694
|
+
{
|
|
4695
|
+
"kind": "field",
|
|
4696
|
+
"name": "isDisconnected",
|
|
4697
|
+
"type": {
|
|
4698
|
+
"text": "boolean"
|
|
4699
|
+
},
|
|
4700
|
+
"privacy": "private",
|
|
4701
|
+
"default": "false"
|
|
4702
|
+
},
|
|
2909
4703
|
{
|
|
2910
4704
|
"kind": "field",
|
|
2911
4705
|
"name": "paymentsList",
|
|
@@ -2922,6 +4716,64 @@
|
|
|
2922
4716
|
}
|
|
2923
4717
|
}
|
|
2924
4718
|
},
|
|
4719
|
+
{
|
|
4720
|
+
"kind": "method",
|
|
4721
|
+
"name": "hostDisconnected",
|
|
4722
|
+
"return": {
|
|
4723
|
+
"type": {
|
|
4724
|
+
"text": "void"
|
|
4725
|
+
}
|
|
4726
|
+
}
|
|
4727
|
+
},
|
|
4728
|
+
{
|
|
4729
|
+
"kind": "method",
|
|
4730
|
+
"name": "setupLoadingTimeout",
|
|
4731
|
+
"privacy": "private",
|
|
4732
|
+
"return": {
|
|
4733
|
+
"type": {
|
|
4734
|
+
"text": "void"
|
|
4735
|
+
}
|
|
4736
|
+
}
|
|
4737
|
+
},
|
|
4738
|
+
{
|
|
4739
|
+
"kind": "method",
|
|
4740
|
+
"name": "clearLoadingTimeout",
|
|
4741
|
+
"privacy": "private",
|
|
4742
|
+
"return": {
|
|
4743
|
+
"type": {
|
|
4744
|
+
"text": "void"
|
|
4745
|
+
}
|
|
4746
|
+
}
|
|
4747
|
+
},
|
|
4748
|
+
{
|
|
4749
|
+
"kind": "method",
|
|
4750
|
+
"name": "cleanupResources",
|
|
4751
|
+
"privacy": "private",
|
|
4752
|
+
"return": {
|
|
4753
|
+
"type": {
|
|
4754
|
+
"text": "void"
|
|
4755
|
+
}
|
|
4756
|
+
}
|
|
4757
|
+
},
|
|
4758
|
+
{
|
|
4759
|
+
"kind": "method",
|
|
4760
|
+
"name": "_loadV2Sdk",
|
|
4761
|
+
"privacy": "private",
|
|
4762
|
+
"return": {
|
|
4763
|
+
"type": {
|
|
4764
|
+
"text": "Promise<void>"
|
|
4765
|
+
}
|
|
4766
|
+
},
|
|
4767
|
+
"parameters": [
|
|
4768
|
+
{
|
|
4769
|
+
"name": "url",
|
|
4770
|
+
"default": "legacySdkCdnUrl",
|
|
4771
|
+
"type": {
|
|
4772
|
+
"text": "string"
|
|
4773
|
+
}
|
|
4774
|
+
}
|
|
4775
|
+
]
|
|
4776
|
+
},
|
|
2925
4777
|
{
|
|
2926
4778
|
"kind": "method",
|
|
2927
4779
|
"name": "initializeHeadless"
|
|
@@ -3558,6 +5410,10 @@
|
|
|
3558
5410
|
"kind": "method",
|
|
3559
5411
|
"name": "reset"
|
|
3560
5412
|
},
|
|
5413
|
+
{
|
|
5414
|
+
"kind": "method",
|
|
5415
|
+
"name": "forceCompleteLoading"
|
|
5416
|
+
},
|
|
3561
5417
|
{
|
|
3562
5418
|
"kind": "field",
|
|
3563
5419
|
"name": "state",
|