@primer-io/primer-js 1.0.0 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +13 -0
- package/dist/chunks/{ar.TR6QET27.js → ar.4ZFBST5B.js} +1 -1
- package/dist/chunks/{bg.EJ7QNYMP.js → bg.A6DFGUKU.js} +1 -1
- package/dist/chunks/{ca.7C2IYV2P.js → ca.3MVWILFG.js} +1 -1
- package/dist/chunks/chunk.QNO3CTH5.js +1 -0
- package/dist/chunks/{cs.JT4THDDV.js → cs.INYY7XZR.js} +1 -1
- package/dist/chunks/{da.EM7SEPAQ.js → da.Y5IIDRC3.js} +1 -1
- package/dist/chunks/{de.K6IE7XOI.js → de.JZT46DAB.js} +1 -1
- package/dist/chunks/{el.3CKRNQD5.js → el.FJQOSK4N.js} +1 -1
- package/dist/chunks/en-GB.TL522NMU.js +1 -0
- package/dist/chunks/en.JFPWSECQ.js +1 -0
- package/dist/chunks/{es-AR.ND7EGZHB.js → es-AR.GBZW2HPG.js} +1 -1
- package/dist/chunks/{es-MX.6QU35A6L.js → es-MX.NFJ7HXSV.js} +1 -1
- package/dist/chunks/{es.SMVRR5QO.js → es.FX4YBDVU.js} +1 -1
- package/dist/chunks/{et-EE.BRBL5QIG.js → et-EE.JZD334EI.js} +1 -1
- package/dist/chunks/{fi-FI.TPQGZ5V7.js → fi-FI.SHTM3UQK.js} +1 -1
- package/dist/chunks/{fr.WWOUUKQI.js → fr.MZYBSJWU.js} +1 -1
- package/dist/chunks/{he.OVEJBPUX.js → he.BQXGQQ4P.js} +1 -1
- package/dist/chunks/{hr.YPXJZUYV.js → hr.EK5WNO4N.js} +1 -1
- package/dist/chunks/{hu.7LEUFJ5J.js → hu.N2BVXVWY.js} +1 -1
- package/dist/chunks/{id.TFWG6VOU.js → id.IJ37WK5P.js} +1 -1
- package/dist/chunks/{it.3SV7XLRR.js → it.2ZUPJDRP.js} +1 -1
- package/dist/chunks/{ja.P6C656R7.js → ja.BNLF6BZT.js} +1 -1
- package/dist/chunks/{ko.VOUHNCJ7.js → ko.YJAZTBEF.js} +1 -1
- package/dist/chunks/{lt-LT.AFL7G4NO.js → lt-LT.GOVUI3KD.js} +1 -1
- package/dist/chunks/{lt.TRKH4J6L.js → lt.IPLRYI7A.js} +1 -1
- package/dist/chunks/{lv-LV.TGTBYQYP.js → lv-LV.EA76F4DL.js} +1 -1
- package/dist/chunks/{lv.HZTEA2Q2.js → lv.I7E6LMWA.js} +1 -1
- package/dist/chunks/{ms.QEKTVYHX.js → ms.6I2BVK63.js} +1 -1
- package/dist/chunks/{nb.HRDZEYXV.js → nb.BYMLE7EQ.js} +1 -1
- package/dist/chunks/{nl.2R7WVAV3.js → nl.QOSIJQZE.js} +1 -1
- package/dist/chunks/{nl_NL.KHWKCZMK.js → nl_NL.DVZWMQJN.js} +1 -1
- package/dist/chunks/{pl.D6YHYKB6.js → pl.VK5CNTV3.js} +1 -1
- package/dist/chunks/{pt-BR.3NGFYB4U.js → pt-BR.22GYWGY5.js} +1 -1
- package/dist/chunks/{pt.LYW2A6VH.js → pt.L2PBSEBD.js} +1 -1
- package/dist/chunks/{ro.ILTDKZ2H.js → ro.VFIM4IS3.js} +1 -1
- package/dist/chunks/{ru.KJZFKIJM.js → ru.VLLE4DKK.js} +1 -1
- package/dist/chunks/{sk.5POYRJGA.js → sk.JALTDVLO.js} +1 -1
- package/dist/chunks/{sl.GN5UGR5G.js → sl.PQOCETM2.js} +1 -1
- package/dist/chunks/{sr-RS.T3II5ZYL.js → sr-RS.RGO57OCW.js} +1 -1
- package/dist/chunks/{sv.63HB4O5X.js → sv.FQJP73FF.js} +1 -1
- package/dist/chunks/{th.AZ4SQZFW.js → th.QYA26J2E.js} +1 -1
- package/dist/chunks/{tr.WDGRPXBK.js → tr.5ZDAANBV.js} +1 -1
- package/dist/chunks/{uk-UA.GYXXM7FX.js → uk-UA.FWQ7KVBB.js} +1 -1
- package/dist/chunks/{vi.TBVAKNJJ.js → vi.GB6QZAMD.js} +1 -1
- package/dist/chunks/zf.LNP32XVM.js +1 -0
- package/dist/chunks/{zh-CN.NK7PKUS6.js → zh-CN.OEA7I6ZA.js} +1 -1
- package/dist/chunks/{zh-HK.SQG5YIVQ.js → zh-HK.OUXNL5ZM.js} +1 -1
- package/dist/chunks/{zh-TW.P2X3B7LC.js → zh-TW.C5STTOCA.js} +1 -1
- package/dist/custom-elements.json +290 -246
- package/dist/primer-loader.d.ts +1 -0
- package/dist/primer-loader.js +12 -12
- package/dist/web-types.json +1 -1
- package/package.json +1 -1
- package/dist/chunks/chunk.DV3REKZU.js +0 -1
- package/dist/chunks/en-GB.LG2PPT2V.js +0 -1
- package/dist/chunks/en.47EGLMYC.js +0 -1
- package/dist/chunks/zf.GGWFQ3Y7.js +0 -1
|
@@ -8,11 +8,7 @@
|
|
|
8
8
|
"declarations": [
|
|
9
9
|
{
|
|
10
10
|
"kind": "variable",
|
|
11
|
-
"name": "t"
|
|
12
|
-
"type": {
|
|
13
|
-
"text": "object"
|
|
14
|
-
},
|
|
15
|
-
"default": "{detectedCardNetwork:null,selectableCardNetworks:[],isLoading:!0}"
|
|
11
|
+
"name": "t"
|
|
16
12
|
},
|
|
17
13
|
{
|
|
18
14
|
"kind": "function",
|
|
@@ -49,63 +45,63 @@
|
|
|
49
45
|
},
|
|
50
46
|
{
|
|
51
47
|
"kind": "variable",
|
|
52
|
-
"name": "
|
|
48
|
+
"name": "oe",
|
|
53
49
|
"default": "class extends v{constructor(){super(...arguments);this.size=\"large\";this.showCloseButton=!1;this.open=!1}openDialog(){this.open=!0}closeDialog(){let e=()=>{this.open=!1,this.removeEventListener(\"primer:dialog-close\",e)};this.addEventListener(\"primer:dialog-close\",e),this.dialog.startExitAnimation()}connectedCallback(){super.connectedCallback(),this.open||this.openDialog()}updated(e){super.updated(e),e.has(\"open\")&&this.open&&this.onOpen&&this.onOpen(),e.has(\"open\")&&this.open&&this.onContentRendered&&this.updateComplete.then(()=>{requestAnimationFrame(()=>{this.onContentRendered?.()})})}render(){return this.open?p`<primer-dialog .open=${this.open} size=${this.size} .showCloseButton=${this.showCloseButton} @primer:dialog-close=\"${()=>{this.open=!1}}\" ><slot></slot>${this.cta?p`<primer-button @click=${this.cta.onClick} class=\"cta-button\">${this.cta.icon?p`<primer-icon name=\"${this.cta.icon}\" size=\"sm\" color=\"var(--primer-color-background-outlined-default)\" ></primer-icon>`:y} ${this.cta.label}</primer-button>`:y}</primer-dialog>`:y}}"
|
|
54
50
|
},
|
|
55
51
|
{
|
|
56
52
|
"kind": "variable",
|
|
57
|
-
"name": "
|
|
58
|
-
"default": "class extends v{constructor(){super();this.customStyles=\"\";this.clientToken=\"\";this.options={};this.disableLoader=!1;this._jsInitialized=!1;this.previousLoadingState=!0;this.hasAssignedContent=!1;this._loadingTimeoutId=null;this._eventListenerController=null;this.locale=
|
|
53
|
+
"name": "Ne",
|
|
54
|
+
"default": "class extends v{constructor(){super();this.customStyles=\"\";this.clientToken=\"\";this.options={};this.disableLoader=!1;this._jsInitialized=!1;this.previousLoadingState=!0;this.hasAssignedContent=!1;this._loadingTimeoutId=null;this._eventListenerController=null;this.locale=na(xr());this.onSlotChange=e=>{let i=e.target.assignedNodes({flatten:!0});this.hasAssignedContent=i.length>0,this.requestUpdate()};this.sdkContextController=new br(this),this.sdkStateController=new Sr(this),this.primerEventsController=new aa(this),this.styleProcessingController=new Ar(this),this.vaultManagerController=new Ea(this),this.cardNetworkController=new Za(this),this.achPaymentEventsController=new Wr(this),this.headlessSdkController=new jr(this)}set jsInitialized(e){this.requestUpdate(),this._jsInitialized=e}get jsInitialized(){return this._jsInitialized}get primerJS(){return this.headlessSdkController?.primerJSInstance??void 0}connectedCallback(){super.connectedCallback(),this.sdkContextController.setEventsController(this.primerEventsController),this._eventListenerController=new AbortController,document.addEventListener(\"primer:card-submit\",this.handleExternalCardSubmit.bind(this),{signal:this._eventListenerController.signal}),document.addEventListener(\"primer:vault-submit\",this.handleExternalVaultSubmit.bind(this),{signal:this._eventListenerController.signal}),document.addEventListener(\"primer:show-other-payments-toggle\",this.handleExternalShowOtherPaymentsToggle.bind(this),{signal:this._eventListenerController.signal})}attributeChangedCallback(e,a,i){e===Lm.CUSTOM_STYLES?this.styleProcessingController.processCustomStyles(i):super.attributeChangedCallback(e,a,i)}disconnectedCallback(){this._loadingTimeoutId&&(window.clearTimeout(this._loadingTimeoutId),this._loadingTimeoutId=null),this.sdkStateController?.currentState.isLoading&&this.sdkStateController.forceCompleteLoading(),this._eventListenerController&&(this._eventListenerController.abort(),this._eventListenerController=null),super.disconnectedCallback()}willUpdate(e){e.has(\"options\")&&(this.options?.locale&&(bn(this.options?.locale)?this.locale=na(this.options?.locale):P.warn(\"\\u{1F30E}\\u2757 Unsupported locale provided:\",this.options?.locale,\"- Falling back to system locale\")),vn(this.locale))}updated(){let e=getComputedStyle(this);this.sdkContextController.setComputedStyles(e),this.checkLoadingStateChange()}handleExternalCardSubmit(e){this._eventListenerController?.signal.aborted||e.target!==this&&this.primerEventsController.dispatchEvent(\"primer:card-submit\",e.detail)}handleExternalVaultSubmit(e){this._eventListenerController?.signal.aborted||e.target!==this&&this.primerEventsController.dispatchEvent(\"primer:vault-submit\",e.detail)}handleExternalShowOtherPaymentsToggle(e){this._eventListenerController?.signal.aborted||e.target!==this&&this.primerEventsController.dispatchEvent(\"primer:show-other-payments-toggle\",e.detail)}checkLoadingStateChange(){let e=this.sdkStateController?.currentState.isLoading||!1;if(this.previousLoadingState&&!e){this.jsInitialized=!0,X({eventName:\"CHECKOUT_FLOW_STARTED\"});let a=ze.getSdkInitStartTime(),i=a?Date.now()-a:void 0;ds(i)}this.previousLoadingState=e,e&&!this._loadingTimeoutId?this._loadingTimeoutId=window.setTimeout(()=>{this.sdkStateController?.currentState.isLoading&&(P.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.currentState,a=e.isLoading,i=e.primerJsError,n=!a&&!i;return p` ${R(a,()=>y)} ${R(i,()=>p`<primer-checkout-error></primer-checkout-error>`)} ${R(n,()=>p`<slot name=\"main\" @slotchange=${this.onSlotChange}></slot>${R(this.hasAssignedContent,()=>y,()=>p`<primer-main></primer-main>`)} `,()=>y)} `}addEventListener(e,a,i){super.addEventListener(e,a,i)}removeEventListener(e,a,i){super.removeEventListener(e,a,i)}}"
|
|
59
55
|
},
|
|
60
56
|
{
|
|
61
57
|
"kind": "function",
|
|
62
|
-
"name": "
|
|
58
|
+
"name": "dl"
|
|
63
59
|
},
|
|
64
60
|
{
|
|
65
61
|
"kind": "function",
|
|
66
|
-
"name": "
|
|
62
|
+
"name": "cl"
|
|
67
63
|
},
|
|
68
64
|
{
|
|
69
65
|
"kind": "function",
|
|
70
|
-
"name": "
|
|
66
|
+
"name": "Dm"
|
|
71
67
|
},
|
|
72
68
|
{
|
|
73
69
|
"kind": "function",
|
|
74
|
-
"name": "
|
|
70
|
+
"name": "Om"
|
|
75
71
|
},
|
|
76
72
|
{
|
|
77
73
|
"kind": "variable",
|
|
78
|
-
"name": "
|
|
79
|
-
"default": "class extends v{constructor(){super(...arguments);this.color=\"var(--primer-color-loader)\";this.size=\"medium\";this.compact=!1}getSize(){if(this.size in
|
|
74
|
+
"name": "je",
|
|
75
|
+
"default": "class extends v{constructor(){super(...arguments);this.color=\"var(--primer-color-loader)\";this.size=\"medium\";this.compact=!1}getSize(){if(this.size in _n)return _n[this.size];let e=parseInt(this.size,10);return isNaN(e)?_n.medium:e}render(){let e=this.getSize(),a=20,i=`0 0 ${a} ${a}`;return this.style.setProperty(\"--spinner-color\",this.color),this.style.setProperty(\"--spinner-size\",`${e}px`),p`<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>`}}"
|
|
80
76
|
},
|
|
81
77
|
{
|
|
82
78
|
"kind": "variable",
|
|
83
|
-
"name": "
|
|
84
|
-
"default": "class extends v{constructor(){super(...arguments);this.focusWithin=!1;this.hasError=!1;this.handleWrapperClick=e=>{if(e.target!==e.currentTarget)return;let a=this.findSlottedPrimerInput();a?a.focus():this.dispatchEvent(new CustomEvent(\"wrapper-click\",{bubbles:!0,composed:!0}))}}findSlottedPrimerInput(){if(!this.inputSlot)return null;let e=this.inputSlot.assignedElements({flatten:!0}),a=e.find(i=>i.tagName.toLowerCase()===\"primer-input\");if(a)return a;for(let i of e){let n=i.querySelector(\"primer-input\");if(n)return n}return null}render(){let e={\"input-slot\":!0,\"focus-within\":this.focusWithin};return p`<div class=\"input-wrapper\"><slot name=\"label\"></slot><div class=\"${
|
|
79
|
+
"name": "We",
|
|
80
|
+
"default": "class extends v{constructor(){super(...arguments);this.focusWithin=!1;this.hasError=!1;this.handleWrapperClick=e=>{if(e.target!==e.currentTarget)return;let a=this.findSlottedPrimerInput();a?a.focus():this.dispatchEvent(new CustomEvent(\"wrapper-click\",{bubbles:!0,composed:!0}))}}findSlottedPrimerInput(){if(!this.inputSlot)return null;let e=this.inputSlot.assignedElements({flatten:!0}),a=e.find(i=>i.tagName.toLowerCase()===\"primer-input\");if(a)return a;for(let i of e){let n=i.querySelector(\"primer-input\");if(n)return n}return null}render(){let e={\"input-slot\":!0,\"focus-within\":this.focusWithin};return p`<div class=\"input-wrapper\"><slot name=\"label\"></slot><div class=\"${se(e)}\" @click=\"${this.handleWrapperClick}\"><slot name=\"input\"></slot></div><slot name=\"error\"></slot></div>`}}"
|
|
85
81
|
},
|
|
86
82
|
{
|
|
87
83
|
"kind": "variable",
|
|
88
|
-
"name": "
|
|
84
|
+
"name": "ot",
|
|
89
85
|
"default": "class extends v{constructor(){super(...arguments);this.for=\"\";this.disabled=!1}render(){return p`<label for=${this.for}><slot></slot></label>`}}"
|
|
90
86
|
},
|
|
91
87
|
{
|
|
92
88
|
"kind": "variable",
|
|
93
|
-
"name": "
|
|
89
|
+
"name": "Ae",
|
|
94
90
|
"default": "class extends v{constructor(){super(...arguments);this.variant=\"primary\";this.disabled=!1;this.loading=!1;this.buttonType=\"button\";this.selectionState=\"default\";this.selectable=!1;this.flex=!0;this.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?y:p`<primer-icon name=\"checkmark\" size=\"sm\" color=\"var(--primer-color-brand)\" ></primer-icon>`}renderSpinner(){if(!this.loading)return y;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)\"),p`<primer-spinner size=\"small\" color=\"${e}\" compact ></primer-spinner>`}render(){return p`<button type=${this.buttonType} ?disabled=${this.disabled||this.loading} @click=${this.handleClick} part=\"button\" aria-checked=${this.selectionState===\"checked\"} aria-busy=${this.loading} aria-label=${this.ariaLabel?this.ariaLabel:y} >${this.renderSpinner()} ${this.flex?p`<span class=\"button-content ${this.loading?\"loading\":\"\"}\"><slot></slot></span>`:p`<span class=\"button-content-base ${this.loading?\"loading\":\"\"}\" ><slot></slot></span>`} ${this.renderCheckmark()}</button>`}}"
|
|
95
91
|
},
|
|
96
92
|
{
|
|
97
93
|
"kind": "variable",
|
|
98
|
-
"name": "
|
|
94
|
+
"name": "st",
|
|
99
95
|
"default": "class extends v{constructor(){super(...arguments);this.for=\"\";this.active=!0}render(){return p`<span class=\"error\" role=\"alert\" aria-live=\"polite\" id=\"${this.for||\"\"}\" ><slot></slot></span>`}}"
|
|
100
96
|
},
|
|
101
97
|
{
|
|
102
98
|
"kind": "variable",
|
|
103
|
-
"name": "
|
|
104
|
-
"default": "class extends v{constructor(){super(...arguments);this.color=\"var(--primer-color-icon-primary)\";this.size=\"lg\"}render(){let e=this.name?
|
|
99
|
+
"name": "Ze",
|
|
100
|
+
"default": "class extends v{constructor(){super(...arguments);this.color=\"var(--primer-color-icon-primary)\";this.size=\"lg\"}render(){let e=this.name?Zr[this.name]:null;return p`<div style=\"--internal-icon-color: ${this.color}\">${e||p`<slot></slot>`}</div>`}}"
|
|
105
101
|
},
|
|
106
102
|
{
|
|
107
103
|
"kind": "variable",
|
|
108
|
-
"name": "
|
|
104
|
+
"name": "lt",
|
|
109
105
|
"default": "class extends v{constructor(){super(...arguments);this.type=\"complete\"}render(){return this.type===\"complete\"?p`<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>`:p`<primer-icon size=\"lg\" name=\"failure-icon\" color=\"var(--primer-color-icon-negative)\" ></primer-icon><p>Payment failed</p>${this.description?p`<p class=\"secondary\">${this.description}</p>`:p`<p class=\"secondary\">Something went wrong.</p>`} `}}"
|
|
110
106
|
},
|
|
111
107
|
{
|
|
@@ -115,192 +111,192 @@
|
|
|
115
111
|
},
|
|
116
112
|
{
|
|
117
113
|
"kind": "variable",
|
|
118
|
-
"name": "
|
|
119
|
-
"default": "class extends v{constructor(){super(...arguments);this.name=\"\";this.id=\"\";this.value=\"\";this.disabled=!1;this.hasError=!1;this.placeholder=\"\";this.options=[]}handleChange(e){let a=e.target,i=this.value;this.value=a.value,this.dispatchEvent(new CustomEvent(\"change\",{detail:this.value,bubbles:!0,composed:!0})),this.dispatchEvent(new CustomEvent(\"input\",{detail:this.value,bubbles:!0,composed:!0})),this.requestUpdate(\"value\",i)}handleFocus(){this.dispatchEvent(new CustomEvent(\"focus\",{bubbles:!0,composed:!0}))}handleBlur(){this.dispatchEvent(new CustomEvent(\"blur\",{bubbles:!0,composed:!0}))}renderSelectOptions(){let e=[];for(let a of this.options)e.push(p`<option value=${a.value}>${a.label}</option>`);return e}render(){return p`<select id=${this.id} name=${this.name} .value=${
|
|
114
|
+
"name": "Ce",
|
|
115
|
+
"default": "class extends v{constructor(){super(...arguments);this.name=\"\";this.id=\"\";this.value=\"\";this.disabled=!1;this.hasError=!1;this.placeholder=\"\";this.options=[]}handleChange(e){let a=e.target,i=this.value;this.value=a.value,this.dispatchEvent(new CustomEvent(\"change\",{detail:this.value,bubbles:!0,composed:!0})),this.dispatchEvent(new CustomEvent(\"input\",{detail:this.value,bubbles:!0,composed:!0})),this.requestUpdate(\"value\",i)}handleFocus(){this.dispatchEvent(new CustomEvent(\"focus\",{bubbles:!0,composed:!0}))}handleBlur(){this.dispatchEvent(new CustomEvent(\"blur\",{bubbles:!0,composed:!0}))}renderSelectOptions(){let e=[];for(let a of this.options)e.push(p`<option value=${a.value}>${a.label}</option>`);return e}render(){return p`<select id=${this.id} name=${this.name} .value=${bl(this.value)} ?disabled=${this.disabled} ?required=${!this.value} @change=${this.handleChange} @focus=${this.handleFocus} @blur=${this.handleBlur} aria-invalid=${this.hasError?\"true\":\"false\"} ><option value=\"\" disabled ?selected=${!this.value}>${this.placeholder||\"Select an option\"}</option>${this.renderSelectOptions()}</select>`}}"
|
|
120
116
|
},
|
|
121
117
|
{
|
|
122
118
|
"kind": "variable",
|
|
123
|
-
"name": "
|
|
119
|
+
"name": "Me",
|
|
124
120
|
"default": "class extends v{constructor(){super(...arguments);this.header=\"\";this.expanded=!1;this.expandText=\"Expand\";this.collapseText=\"Collapse\";this.ariaLabel=\"\";this.buttonVariant=\"primary\";this.isExpanded=!1;this.toggleExpanded=()=>{this.isExpanded=!this.isExpanded,this.dispatchExpandedChangedEvent(this.isExpanded)}}connectedCallback(){super.connectedCallback(),this.isExpanded=this.expanded}dispatchExpandedChangedEvent(e){this.dispatchEvent(new CustomEvent(\"expanded-changed\",{bubbles:!0,composed:!0,detail:{expanded:e}}))}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,a=this.ariaLabel||this.header||e,i=this.header||e;return p`<div class=\"collapsable\"><primer-button variant=${this.buttonVariant} buttonType=\"button\" @click=${this.toggleExpanded} aria-expanded=${this.isExpanded} aria-controls=\"collapsable-content\" aria-label=${a} ><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>`}}"
|
|
125
121
|
},
|
|
126
122
|
{
|
|
127
123
|
"kind": "variable",
|
|
128
|
-
"name": "
|
|
129
|
-
"default": "class extends v{constructor(){super();this.message=\"\";this.visible=!1;this._role=\"alert\";this.showMessage=!1;this.role=\"alert\"}get role(){return this._role}set role(e){this._role=e,this.setAttribute(\"role\",e)}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 y;let e={\"error-message\":!0,hidden:!this.visible};return p`<div part=\"error-message\" class=${
|
|
124
|
+
"name": "Je",
|
|
125
|
+
"default": "class extends v{constructor(){super();this.message=\"\";this.visible=!1;this._role=\"alert\";this.showMessage=!1;this.role=\"alert\"}get role(){return this._role}set role(e){this._role=e,this.setAttribute(\"role\",e)}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 y;let e={\"error-message\":!0,hidden:!this.visible};return p`<div part=\"error-message\" class=${se(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>`}}"
|
|
130
126
|
},
|
|
131
127
|
{
|
|
132
128
|
"kind": "variable",
|
|
133
|
-
"name": "
|
|
129
|
+
"name": "Et",
|
|
134
130
|
"default": "class extends v{constructor(){super(...arguments);this._id=`d${Math.random().toString(36).substring(7)}`;this._handleSlotChange=e=>{let i=e.target.assignedNodes();if(!i.length)return;let n=this.getContainer();i.forEach(o=>n.appendChild(o))}}get id(){return this._id}getContainer(){let e=document.querySelector(`#${this._id}`);return e||(e=document.createElement(\"div\"),e.id=this._id,document.body.appendChild(e),this._setupEventListeners(e)),e}_setupEventListeners(e){[\"primer-ach-error\",\"primer-ach-bank-details-collected\",\"primer-ach-mandate-confirmed\",\"primer-ach-mandate-declined\",\"primer:dialog-close\"].forEach(a=>{e.addEventListener(a,i=>{i.stopPropagation(),this.dispatchEvent(new CustomEvent(a,{bubbles:!0,composed:!0,detail:i.detail}))})})}disconnectedCallback(){super.disconnectedCallback(),this.getContainer().remove()}render(){return p`<slot @slotchange=${this._handleSlotChange}></slot>`}}"
|
|
135
131
|
},
|
|
136
132
|
{
|
|
137
133
|
"kind": "variable",
|
|
138
|
-
"name": "
|
|
139
|
-
"default": "class extends v{constructor(){super(...arguments);this.size=\"flex\";this.showCloseButton=!0;this._animationState=\"entering\";this._isVisible=!1;this._handleCloseClick=()=>{this._startExitAnimation()}}startExitAnimation(){this._startExitAnimation()}connectedCallback(){super.connectedCallback(),document.body.style.overflow=\"hidden\",this._startEnterAnimation()}disconnectedCallback(){super.disconnectedCallback(),document.body.style.overflow=\"\",this._animationTimeout&&clearTimeout(this._animationTimeout)}_startEnterAnimation(){this._animationState=\"entering\",this._isVisible=!0,requestAnimationFrame(()=>{this._animationTimeout=window.setTimeout(()=>{this._animationState=\"entered\",this.dispatchEvent(new CustomEvent(\"primer:dialog-open\",{bubbles:!0,composed:!0}))},500)})}_startExitAnimation(){this._animationTimeout&&clearTimeout(this._animationTimeout),this._animationState=\"exiting\",this._animationTimeout=window.setTimeout(()=>{this._animationState=\"exited\",this._isVisible=!1,this.dispatchEvent(new CustomEvent(\"primer:dialog-close\",{bubbles:!0,composed:!0}))},500)}render(){return this._isVisible?p`<div class=${
|
|
134
|
+
"name": "Ve",
|
|
135
|
+
"default": "class extends v{constructor(){super(...arguments);this.size=\"flex\";this.showCloseButton=!0;this._animationState=\"entering\";this._isVisible=!1;this._handleCloseClick=()=>{this._startExitAnimation()}}startExitAnimation(){this._startExitAnimation()}connectedCallback(){super.connectedCallback(),document.body.style.overflow=\"hidden\",this._startEnterAnimation()}disconnectedCallback(){super.disconnectedCallback(),document.body.style.overflow=\"\",this._animationTimeout&&clearTimeout(this._animationTimeout)}_startEnterAnimation(){this._animationState=\"entering\",this._isVisible=!0,requestAnimationFrame(()=>{this._animationTimeout=window.setTimeout(()=>{this._animationState=\"entered\",this.dispatchEvent(new CustomEvent(\"primer:dialog-open\",{bubbles:!0,composed:!0}))},500)})}_startExitAnimation(){this._animationTimeout&&clearTimeout(this._animationTimeout),this._animationState=\"exiting\",this._animationTimeout=window.setTimeout(()=>{this._animationState=\"exited\",this._isVisible=!1,this.dispatchEvent(new CustomEvent(\"primer:dialog-close\",{bubbles:!0,composed:!0}))},500)}render(){return this._isVisible?p`<div class=${se({backdrop:!0,\"backdrop--entering\":this._animationState===\"entering\",\"backdrop--entered\":this._animationState===\"entered\",\"backdrop--exiting\":this._animationState===\"exiting\"})} @click=${e=>{e.preventDefault()}} ><div class=${se({dialog:!0,[this.size]:!0,\"dialog--entering\":this._animationState===\"entering\",\"dialog--entered\":this._animationState===\"entered\",\"dialog--exiting\":this._animationState===\"exiting\"})} ><div class=\"header\">${this.showCloseButton?p`<primer-button class=\"close\" variant=\"tertiary\" @click=${this._handleCloseClick} ><primer-icon name=\"close\" size=\"sm\"></primer-icon></primer-button>`:\"\"}</div><div class=\"content\"><slot></slot></div></div></div>`:p``}}"
|
|
140
136
|
},
|
|
141
137
|
{
|
|
142
138
|
"kind": "variable",
|
|
143
|
-
"name": "
|
|
144
|
-
"default": "class extends v{constructor(){super(...arguments);this.paymentManagers=new Map;this.sdkState=null;this.headlessUtils=null;this.klarnaCategories=null;this.disabled=!1;this.selectedCategory=null;this.isExpanded=!1;this.headerAriaLabel=b(\"pay_with\",{id:\"pay_with\"});this._paymentMethodManagerTask=new
|
|
139
|
+
"name": "le",
|
|
140
|
+
"default": "class extends v{constructor(){super(...arguments);this.paymentManagers=new Map;this.sdkState=null;this.headlessUtils=null;this.klarnaCategories=null;this.disabled=!1;this.selectedCategory=null;this.isExpanded=!1;this.headerAriaLabel=b(\"pay_with\",{id:\"pay_with\"});this._paymentMethodManagerTask=new B(this,{task:async([e,a])=>{if(!e||!a)return w;let i=await a.getCDNAssets(\"KLARNA\");return{manager:e.manager,klarnaIcon:i?.assets?.icon?`${i.goatCdnUrl}/${i.assets.icon}`:\"\"}},args:()=>[this.paymentManagers.get(\"KLARNA\"),this.headlessUtils]});this.toggleExpand=()=>{this.disabled||(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){P.errorWithDatadog(\"Failed to start Klarna payment\",{error: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){P.errorWithDatadog(\"Failed to render Klarna category\",{error:e})}}selectCategory(e){this.disabled||(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?p`<div class=\"loading\"><primer-spinner size=\"small\"></primer-spinner></div>`:p`<div class=\"category-selection\">${e.map(i=>p`<button class=${se({\"category-button\":!0,selected:i.id===this.selectedCategory})} @click=${()=>{this.selectCategory(i.id)}} ?disabled=${this.disabled} >${i.name}</button>`)}</div>`}renderExpandedContent(){return p` ${this.renderCategorySelection()} ${this.selectedCategory?p`<div id=\"klarna-category-container\" class=\"klarna-category-container\" ></div>`:y}<button class=${se({\"klarna-pay-button\":!0,loading:!!this.sdkState?.isProcessing,disabled:!this.selectedCategory||this.disabled})} ?disabled=${!this.selectedCategory||this.sdkState?.isProcessing||this.disabled} @click=${()=>this.startKlarnaPayment()} >${b(\"confirm\",{id:\"confirm\"})}</button>`}render(){return this._paymentMethodManagerTask.render({error:e=>{let a=e instanceof Error?e.message:\"Unknown error in Klarna\";return p`<div class=\"error\"> Error loading Klarna: ${a}</div>`},complete:({manager:e,klarnaIcon:a})=>e?p`<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} ?disabled=${this.disabled} ><img src=${a} alt=\"Klarna logo\" /><span>${b(\"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>`:y})}}"
|
|
145
141
|
},
|
|
146
142
|
{
|
|
147
143
|
"kind": "variable",
|
|
148
|
-
"name": "
|
|
149
|
-
"default": "class extends v{constructor(){super();this.paymentManagers=new Map;this.disabled=!1;this.loadManagerTask=new
|
|
144
|
+
"name": "qe",
|
|
145
|
+
"default": "class extends v{constructor(){super();this.paymentManagers=new Map;this.disabled=!1;this.loadManagerTask=new B(this,{args:()=>[this.paymentMethod?.type],task:([e])=>{if(!e)return w;let a=this.paymentManagers.get(e);if(!a)throw new Error(`No manager found for payment method type ${e}`);if(a.type!==\"GOOGLE_PAY\")throw new Error(\"Invalid payment method type for Google Pay component\");return a.manager}}),this.renderButtonTask=new B(this,{args:()=>[this.loadManagerTask.value],task:async([e])=>{if(!e)return w;await this.updateComplete;let a=e.createButton();return await a.render(this.shadowRoot?.getRootNode(),{style:{shadowRoot:!0}}),this.disabled&&await a.setDisabled(this.disabled),this.disabled&&this.shadowRoot&&(await this.updateComplete,qr(this.disabled,this.shadowRoot)),a}})}attributeChangedCallback(e,a,i){if(super.attributeChangedCallback(e,a,i),e===\"disabled\"&&a!==i){let n=i!==null,o=this.renderButtonTask.value;o&&o.setDisabled(n)}}updated(e){e.has(\"disabled\")&&this.shadowRoot&&qr(this.disabled,this.shadowRoot)}render(){return y}}"
|
|
150
146
|
},
|
|
151
147
|
{
|
|
152
148
|
"kind": "variable",
|
|
153
|
-
"name": "
|
|
154
|
-
"default": "class extends v{constructor(){super();this.paymentManagers=new Map;this.disabled=!1;this.buttonContainerRef
|
|
149
|
+
"name": "Qe",
|
|
150
|
+
"default": "class extends v{constructor(){super();this.paymentManagers=new Map;this.disabled=!1;this.buttonContainerRef=$t();this.loadManagerTask=new B(this,{args:()=>[this.paymentMethod?.type],task:([e])=>{if(!e)return w;let a=this.paymentManagers.get(e);if(!a)throw new Error(`No manager found for payment method type ${e}`);if(a.type!==\"APPLE_PAY\")throw new Error(\"Invalid payment method type for Apple Pay component\");return a.manager}}),this.renderButtonTask=new B(this,{args:()=>[this.loadManagerTask.value],task:async([e])=>{if(!e)return w;await this.updateComplete;let a=this.buttonContainerRef.value;if(!a)throw new Error(\"Button container not found\");let i=e.createButton(),n=Xr(a);return await i.render(a,{style:{buttonHeight:n}}),this.disabled&&await i.setDisabled(this.disabled),this.disabled&&(await this.updateComplete,da(this.disabled,this.buttonContainerRef)),i}})}attributeChangedCallback(e,a,i){if(super.attributeChangedCallback(e,a,i),e===\"disabled\"&&a!==i){let n=i!==null,o=this.renderButtonTask.value;o&&o.setDisabled(n)}}updated(e){e.has(\"disabled\")&&da(this.disabled,this.buttonContainerRef)}render(){return p`<div class=\"native-button-container\" ${Pt(this.buttonContainerRef)} ></div>`}}"
|
|
155
151
|
},
|
|
156
152
|
{
|
|
157
153
|
"kind": "variable",
|
|
158
|
-
"name": "
|
|
159
|
-
"default": "class extends v{constructor(){super();this.paymentManagers=new Map;this.disabled=!1;this.buttonContainerRef
|
|
154
|
+
"name": "Xe",
|
|
155
|
+
"default": "class extends v{constructor(){super();this.paymentManagers=new Map;this.disabled=!1;this.buttonContainerRef=$t();this.loadManagerTask=new B(this,{args:()=>[this.paymentMethod?.type],task:([e])=>{if(!e)return w;let a=this.paymentManagers.get(e);if(!a)throw new Error(`No manager found for payment method type ${e}`);if(a.type!==\"PAYPAL\")throw new Error(\"Invalid payment method type for PayPal component\");return a.manager}}),this.renderButtonTask=new B(this,{args:()=>[this.loadManagerTask.value],task:async([e])=>{if(!e)return w;await this.updateComplete;let a=this.buttonContainerRef.value;if(!a)throw new Error(\"Button container not found\");let i=e.createButton(),n=_l(Xr(this));return await i.render(a,{style:{buttonHeight:n}}),this.disabled&&await i.setDisabled(this.disabled),this.disabled&&(await this.updateComplete,da(this.disabled,this.buttonContainerRef)),i}})}attributeChangedCallback(e,a,i){if(super.attributeChangedCallback(e,a,i),e===\"disabled\"&&a!==i){let n=i!==null,o=this.renderButtonTask.value;o&&o.setDisabled(n)}}updated(e){e.has(\"disabled\")&&da(this.disabled,this.buttonContainerRef)}render(){return p`<div class=\"native-button-container\" ${Pt(this.buttonContainerRef)} ></div>`}}"
|
|
160
156
|
},
|
|
161
157
|
{
|
|
162
158
|
"kind": "variable",
|
|
163
|
-
"name": "
|
|
164
|
-
"default": "class extends v{constructor(){super(...arguments);this.disabled=!1;this.paymentManagers=new Map;this.currentState=\"collapsed\";this.blikCode=\"\";this.errorMessage=\"\";this.pollingDuration=0;this.pollingTimer=null;this.loadManagerTask=new
|
|
159
|
+
"name": "Ee",
|
|
160
|
+
"default": "class extends v{constructor(){super(...arguments);this.disabled=!1;this.paymentManagers=new Map;this.currentState=\"collapsed\";this.blikCode=\"\";this.errorMessage=\"\";this.pollingDuration=0;this.pollingTimer=null;this.loadManagerTask=new B(this,{args:()=>[this.paymentMethod?.type],task:([e])=>{if(!e)return w;let a=this.paymentManagers.get(e);if(!a)throw new Error(\"BLIK payment method manager not initialized\");if(a.type!==\"ADYEN_BLIK\")throw new Error(\"Invalid payment method type for BLIK component\");return a.manager}});this.handleButtonClick=async()=>{if(this.disabled)return;if(this.currentState===\"expanded-input\"){this.handleCollapse();return}if(this.currentState!==\"collapsed\")return;let e=this.paymentMethod?.type;if(!e){this.errorMessage=b(\"something_went_wrong_error\",{id:\"something_went_wrong_error\"}),this.currentState=\"error\",P.error(\"Payment method type not available\");return}let a=this.paymentManagers.get(e);if(!a||a.type!==\"ADYEN_BLIK\"){this.errorMessage=b(\"something_went_wrong_error\",{id:\"something_went_wrong_error\"}),this.currentState=\"error\",P.error(\"Manager not available when expanding BLIK form\");return}this.currentState=\"expanded-input\",await this.updateComplete,this.shadowRoot?.querySelector(\"#blik-code\")?.focus()};this.handleCollapse=()=>{this.currentState=\"collapsed\",this.blikCode=\"\",this.errorMessage=\"\",this.stopPollingTimer()};this.handleInput=e=>{let a=e.target,i=a.value,o=i.replace(/\\D/g,\"\").slice(0,6);i!==o&&(a.value=o),this.blikCode=o,this.currentState===\"error\"&&(this.currentState=\"expanded-input\",this.errorMessage=\"\"),o.length===6&&this.submitBlikCode()};this.handleRetry=async()=>{this.currentState=\"expanded-input\",this.errorMessage=\"\",this.blikCode=\"\",await this.updateComplete,this.shadowRoot?.querySelector(\"#blik-code\")?.focus()}}startPollingTimer(){this.pollingDuration=0,this.pollingTimer=window.setInterval(()=>{this.pollingDuration+=1},1e3)}stopPollingTimer(){this.pollingTimer!==null&&(window.clearInterval(this.pollingTimer),this.pollingTimer=null),this.pollingDuration=0}async submitBlikCode(){if(this.blikCode.length!==6){this.errorMessage=b(\"sixDigitCodeErrorTooShort\",{id:\"sixDigitCodeErrorTooShort\"}),this.currentState=\"error\";return}let e=this.loadManagerTask.value;if(!e){this.errorMessage=\"BLIK payment method not initialized\",this.currentState=\"error\",P.error(\"BLIK manager not available via loadManagerTask\");return}this.currentState=\"loading\",this.errorMessage=\"\",this.startPollingTimer();try{await e.start({blikCode:this.blikCode}),this.stopPollingTimer(),this.currentState=\"collapsed\",this.blikCode=\"\"}catch(a){this.stopPollingTimer(),this.currentState=\"error\",this.errorMessage=a instanceof Error?a.message:b(\"tokenizationError\",{id:\"tokenizationError\"}),P.errorWithDatadog(\"BLIK payment failed\",{error:a instanceof Error?{message:a.message,name:a.name}:\"Unknown error\"})}}renderCollapsed(){return p`<primer-button class=\"blik-button\" @click=${this.handleButtonClick} ?disabled=${this.disabled} aria-label=\"${b(\"pay_with\",{id:\"pay_with\"})} BLIK\" aria-expanded=\"${this.currentState!==\"collapsed\"}\" title=\"BLIK\" ><span class=\"image-container\"><img src=\"https://goat-assets.production.core.primer.io/button/blik/inverted.png\" alt=\"BLIK\" /></span></primer-button>`}renderExpandedInput(){return p`<div class=\"blik-expanded-content\"><div class=\"blik-content-wrapper\"><div class=\"blik-input-wrapper\"><label for=\"blik-code\" class=\"blik-label\">${b(\"getCodeFromBankingApp\",{id:\"getCodeFromBankingApp\"})}</label><input id=\"blik-code\" type=\"text\" inputmode=\"numeric\" pattern=\"[0-9]*\" maxlength=\"6\" class=\"blik-input\" .value=\"${this.blikCode}\" @input=\"${this.handleInput}\" ?disabled=\"${this.disabled}\" placeholder=\"000000\" aria-label=\"${b(\"sixDigitCodeLabel\",{id:\"sixDigitCodeLabel\"})}\" autocomplete=\"off\" spellcheck=\"false\" /></div></div></div>`}renderLoading(){return p`<div class=\"blik-expanded-content\"><div class=\"blik-content-wrapper\"><div class=\"blik-loading\"><primer-spinner size=\"medium\"></primer-spinner>${this.pollingDuration>30?p`<div class=\"blik-timeout-warning\"> This is taking longer than expected... </div>`:y}</div></div></div>`}renderError(){return p`<div class=\"blik-expanded-content\"><div class=\"blik-content-wrapper\"><div class=\"blik-error\"><div class=\"blik-error-message\" role=\"alert\">${this.errorMessage||b(\"something_went_wrong_error\",{id:\"something_went_wrong_error\"})}</div><button class=\"blik-retry-button\" @click=\"${this.handleRetry}\" ?disabled=\"${this.disabled}\" >${b(\"retry_button\",{id:\"retry_button\"})}</button></div></div></div>`}renderExpandedState(){switch(this.currentState){case\"expanded-input\":return this.renderExpandedInput();case\"loading\":return this.renderLoading();case\"error\":return this.renderError();default:return y}}disconnectedCallback(){super.disconnectedCallback(),this.stopPollingTimer()}render(){return p`<div class=\"blik-container ${this.currentState!==\"collapsed\"?\"expanded\":\"\"}\" >${this.renderCollapsed()} ${this.currentState!==\"collapsed\"?this.renderExpandedState():y}</div>`}}"
|
|
165
161
|
},
|
|
166
162
|
{
|
|
167
163
|
"kind": "variable",
|
|
168
|
-
"name": "
|
|
169
|
-
"default": "class extends v{constructor(){super(...arguments);this.type=void 0;this.disabled=!1;this.paymentMethods=null;this.analyticsUtils=null;this.handleClick=()=>{this.paymentMethods?.find(a=>a.type===this.type)?.managerType!==\"CARD\"&&this.sendPaymentMethodSelectionEvent()}}sendPaymentMethodSelectionEvent(){this.type&&
|
|
164
|
+
"name": "Ue",
|
|
165
|
+
"default": "class extends v{constructor(){super(...arguments);this.type=void 0;this.disabled=!1;this.paymentMethods=null;this.analyticsUtils=null;this.handleClick=()=>{this.paymentMethods?.find(a=>a.type===this.type)?.managerType!==\"CARD\"&&this.sendPaymentMethodSelectionEvent()}}sendPaymentMethodSelectionEvent(){this.type&&X({eventName:\"PAYMENT_METHOD_SELECTION\",paymentMethod:this.type})}render(){if(!this.type)return y;let e=this.paymentMethods?.find(i=>i.type===this.type);if(!e)return y;let a;switch(e?.managerType){case\"CARD\":a=p`<primer-card-form ?disabled=${this.disabled} ></primer-card-form>`;break;case\"NATIVE\":{let i=e.type;i===Ga.GOOGLE_PAY?a=p`<primer-google-pay .paymentMethod=${e} ?disabled=${this.disabled} ></primer-google-pay>`:i===Ga.APPLE_PAY?a=p`<primer-apple-pay .paymentMethod=${e} ?disabled=${this.disabled} ></primer-apple-pay>`:i===Ga.PAYPAL?a=p`<primer-paypal .paymentMethod=${e} ?disabled=${this.disabled} ></primer-paypal>`:i===Ga.ADYEN_BLIK&&(a=p`<primer-blik .paymentMethod=${e} ?disabled=${this.disabled} ></primer-blik>`);break}case\"REDIRECT\":a=p`<primer-redirect-payment .paymentMethod=${e} ?disabled=${this.disabled} ></primer-redirect-payment>`;break;case\"KLARNA\":a=p`<primer-klarna ?disabled=${this.disabled} ></primer-klarna>`;break;case\"ACH\":a=p`<primer-dynamic-payment .paymentMethod=${e} ></primer-dynamic-payment>`;break;default:return y}return p`<div @click=${this.handleClick}>${a}</div>`}}"
|
|
170
166
|
},
|
|
171
167
|
{
|
|
172
168
|
"kind": "variable",
|
|
173
|
-
"name": "
|
|
169
|
+
"name": "xe",
|
|
174
170
|
"default": "class extends v{constructor(){super(...arguments);this.disabled=!1;this.paymentMethods=null;this.clientOptions=null}getFilteredMethods(){if(!this.paymentMethods)return[];let e=[...this.paymentMethods];if(this.include){let a=this.include.split(\",\").map(i=>i.trim());e=e.filter(i=>a.includes(i.type))}if(this.exclude){let a=this.exclude.split(\",\").map(i=>i.trim());e=e.filter(i=>!a.includes(i.type))}return e}render(){let e=this.getFilteredMethods();return e.length===0?y:p`<div class=\"payment-methods-container\">${e.map(a=>p`<primer-payment-method type=\"${a.type}\" ?disabled=\"${this.disabled||this.clientOptions?.disabledPayments===!0}\" ></primer-payment-method>`)}</div>`}}"
|
|
175
171
|
},
|
|
176
172
|
{
|
|
177
173
|
"kind": "variable",
|
|
178
|
-
"name": "
|
|
179
|
-
"default": "class extends v{constructor(){super(...arguments);this.formController=new
|
|
174
|
+
"name": "Ie",
|
|
175
|
+
"default": "class extends v{constructor(){super(...arguments);this.formController=new ei(this,e=>this._paymentMethodManagerTask.value.setAndValidate(e));this.paymentManagers=new Map;this.sdkState=void 0;this.clientOptions=void 0;this.screen=\"form\";this.isSubmitting=!1;this._paymentMethodManagerTask=new B(this,{task:([e])=>e!==\"STRIPE_ACH\"?w:this.paymentManagers.get(e)?.manager,args:()=>[this.paymentMethod?.type]})}_handleInput(e,a){let i=e.target;this.formController.setFieldValue(a,i.value)}_handleBlur(e){this.formController.setFieldTouched(e)}_handleError(e){this.dispatchEvent(new CustomEvent(\"primer-ach-error\",{bubbles:!0,composed:!0,detail:{error:e instanceof Error?e:new Error(typeof e==\"string\"?e:\"Unknown error occurred\")}}))}async _handleSubmitButtonClick(e){if(!this.isSubmitting){this.isSubmitting=!0;try{let a=await e.start(this.formController.formData);if(!a||a.valid)return await this._handleCollectBankAccountDetails(e);a&&this.formController.setValidation(a,!0)}catch(a){this._handleError(a)}finally{this.isSubmitting=!1}}}async _handleCollectBankAccountDetails(e){try{await e.collectBankAccountDetails(),this.screen=\"mandate\",this.dispatchEvent(new CustomEvent(\"primer-ach-bank-details-collected\",{bubbles:!0,composed:!0}))}catch(a){this._handleError(a)}}async _handleConfirmMandate(){if(this._paymentMethodManagerTask.value){this.isSubmitting=!0;try{await this._paymentMethodManagerTask.value.confirmMandate(),this.dispatchEvent(new CustomEvent(\"primer-ach-mandate-confirmed\",{bubbles:!0,composed:!0}))}catch(e){this._handleError(e)}finally{this.isSubmitting=!1}}}async _handleDeclineMandate(){if(this._paymentMethodManagerTask.value){this.isSubmitting=!0;try{await this._paymentMethodManagerTask.value.declineMandate(),this.dispatchEvent(new CustomEvent(\"primer-ach-mandate-declined\",{bubbles:!0,composed:!0}))}catch(e){this._handleError(e)}finally{this.isSubmitting=!1}}}renderForm(e){return p`<h2>${b(\"payWithAch\",{id:\"payWithAch\"})}</h2><p>${b(\"stripe_ach_user_details_collection_subtitle_label\",{id:\"stripe_ach_user_details_collection_subtitle_label\"})}</p><form @submit=${a=>a.preventDefault()}><div class=\"form-row\"><primer-input-wrapper .hasError=${this.formController.hasError.firstName} ><primer-input-label slot=\"label\">${b(\"stripe_ach_user_details_collection_first_name_label\",{id:\"stripe_ach_user_details_collection_first_name_label\"})}</primer-input-label><primer-input slot=\"input\" .value=${this.formController.formState.firstName.value} @input=${a=>this._handleInput(a,\"firstName\")} @blur=${()=>this._handleBlur(\"firstName\")} ?disabled=${this.isSubmitting} ></primer-input><primer-input-error slot=\"error\">${this.formController.hasError.firstName?this.formController.formState.firstName.error:y}</primer-input-error></primer-input-wrapper><primer-input-wrapper .hasError=${this.formController.hasError.lastName} ><primer-input-label slot=\"label\">${b(\"stripe_ach_user_details_collection_last_name_label\",{id:\"stripe_ach_user_details_collection_last_name_label\"})}</primer-input-label><primer-input slot=\"input\" .value=${this.formController.formState.lastName.value} @input=${a=>this._handleInput(a,\"lastName\")} @blur=${()=>this._handleBlur(\"lastName\")} ?disabled=${this.isSubmitting} ></primer-input><primer-input-error slot=\"error\">${this.formController.hasError.lastName?this.formController.formState.lastName.error:y}</primer-input-error></primer-input-wrapper></div><primer-input-wrapper .hasError=${this.formController.hasError.emailAddress} ><primer-input-label slot=\"label\">${b(\"stripe_ach_user_details_collection_email_address_label\",{id:\"stripe_ach_user_details_collection_email_address_label\"})}</primer-input-label><primer-input slot=\"input\" type=\"email\" .value=${this.formController.formState.emailAddress.value} @input=${a=>this._handleInput(a,\"emailAddress\")} @blur=${()=>this._handleBlur(\"emailAddress\")} ?disabled=${this.isSubmitting} ></primer-input><primer-input-error slot=\"error\">${this.formController.hasError.emailAddress?this.formController.formState.emailAddress.error:y}</primer-input-error></primer-input-wrapper><p>${b(\"stripe_ach_user_details_collection_data_usage_label\",{id:\"stripe_ach_user_details_collection_data_usage_label\"})}</p><primer-button buttonType=\"submit\" variant=\"primary\" @click=${()=>this._handleSubmitButtonClick(e)} ?disabled=${this.isSubmitting} ?loading=${this.isSubmitting} >${b(\"stripe_ach_user_details_collection_continue_button\",{id:\"stripe_ach_user_details_collection_continue_button\"})}</primer-button></form>`}renderMandate(){return p`<h2>${b(\"payWithAch\",{id:\"payWithAch\"})}</h2><p>${this.clientOptions?.stripe?.mandateData.fullMandateText??b(\"stripe_ach_mandate_template_web\",{id:\"stripe_ach_mandate_template_web\"}).replace(/\\{merchantName\\}/g,this.clientOptions?.stripe?.mandateData.merchantName??\"Merchant\")}</p><div class=\"button-group\"><primer-button variant=\"primary\" @click=${this._handleConfirmMandate.bind(this)} ?disabled=${this.isSubmitting} ?loading=${this.isSubmitting} >${b(\"stripe_ach_mandate_accept_button\",{id:\"stripe_ach_mandate_accept_button\"})}</primer-button><primer-button variant=\"tertiary\" @click=${this._handleDeclineMandate.bind(this)} ?disabled=${this.isSubmitting} >${b(\"stripe_ach_mandate_cancel_payment_button\",{id:\"stripe_ach_mandate_cancel_payment_button\"})}</primer-button></div>`}render(){return this._paymentMethodManagerTask.render({complete:e=>e?this.screen===\"form\"?this.renderForm(e):this.renderMandate():y})}}"
|
|
180
176
|
},
|
|
181
177
|
{
|
|
182
178
|
"kind": "variable",
|
|
183
|
-
"name": "
|
|
184
|
-
"default": "class extends v{constructor(){super(...arguments);this.paymentManagers=new Map;this.sdkState=null;this.headlessUtils=null;this.open=!1;this._paymentMethodManagerTask=new
|
|
179
|
+
"name": "we",
|
|
180
|
+
"default": "class extends v{constructor(){super(...arguments);this.paymentManagers=new Map;this.sdkState=null;this.headlessUtils=null;this.open=!1;this._paymentMethodManagerTask=new B(this,{task:([e,a])=>!e||!a?w:a.get(e)?.manager,args:()=>[this.paymentMethod?.type,this.paymentManagers]});this._getAssetsTask=new B(this,{task:([e,a])=>{if(!e||!a)return w;let i=a.getPaymentMethodConfiguration(e);return i?{backgroundColor:i.displayMetadata.button.backgroundColor.colored,name:i.name,displayName:this._legacyGetButtonLabel(i.displayMetadata.button.text),iconUrl:i.displayMetadata.button.iconUrl.colored||i.displayMetadata.button.iconUrl.light||i.displayMetadata.button.iconUrl.dark}:w},args:()=>[this.paymentMethod?.type,this.headlessUtils]});this._setupTasks=new B(this,{task:([e,a])=>!e||!a?w:{paymentMethodManager:e,assetsConfig:a},args:()=>[this._paymentMethodManagerTask.value,this._getAssetsTask.value]})}_legacyGetButtonLabel(e){if(!e)return;let a=e?Va(e):\"\";return a===\"payWith\"&&(a=\"pay_with\"),b(a,{id:a})}start(){this._paymentMethodManagerTask.value&&(this.open=!0)}renderDialog(){return this.open?p`<primer-portal><primer-dialog @primer:dialog-close=\"${()=>this.open=!1}\"><primer-ach-payment .paymentMethod=${this.paymentMethod} @primer-ach-error=${()=>this.open=!1} @primer-ach-mandate-confirmed=${()=>this.open=!1} @primer-ach-mandate-declined=${()=>this.open=!1} ></primer-ach-payment></primer-dialog></primer-portal>`:y}render(){return this._setupTasks.render({error:()=>y,complete:({assetsConfig:e})=>(this.style.setProperty(\"--dynamic-payment-button-bg-color\",e.backgroundColor),p`<primer-button @click=\"${()=>this.start()}\" class=${se({loading:!!this.sdkState?.isProcessing,reverse:!0})} title=\"${b(\"pay_with\",{id:\"pay_with\"})} ${e.name}\" ><span class=\"image-container\"><img src=\"${e.iconUrl}\" alt=\"${e.name}\" /></span>${e.displayName}</primer-button>${this.renderDialog()} `)})}}"
|
|
185
181
|
},
|
|
186
182
|
{
|
|
187
183
|
"kind": "variable",
|
|
188
|
-
"name": "
|
|
189
|
-
"default": "class extends v{constructor(){super(...arguments);this.disabled=!1;this.paymentManagers=new Map;this.sdkState=null;this.headlessUtils=null;this._paymentMethodManagerTask=new
|
|
184
|
+
"name": "De",
|
|
185
|
+
"default": "class extends v{constructor(){super(...arguments);this.disabled=!1;this.paymentManagers=new Map;this.sdkState=null;this.headlessUtils=null;this._paymentMethodManagerTask=new B(this,{task:([e,a])=>!e||!a?w:a.get(e)?.manager,args:()=>[this.paymentMethod?.type,this.paymentManagers]});this._getAssetsTask=new B(this,{task:([e,a])=>{if(!e||!a)return w;let i=a.getPaymentMethodConfiguration(e);if(!i)return w;let n=i.displayMetadata.button.backgroundColor.colored??i.displayMetadata.button.backgroundColor.light,o=i.displayMetadata.button.iconPositionRelativeToText||\"START\";return{backgroundColor:n,name:i.name,displayName:this._legacyGetButtonLabel(i.displayMetadata.button.text),iconUrl:i.displayMetadata.button.iconUrl.colored??i.displayMetadata.button.iconUrl.light,iconPosition:o}},args:()=>[this.paymentMethod?.type,this.headlessUtils]});this._setupTasks=new B(this,{task:([e,a])=>!e||!a?w:{paymentMethodManager:e,assetsConfig:a},args:()=>[this._paymentMethodManagerTask.value,this._getAssetsTask.value]})}_legacyGetButtonLabel(e){if(!e)return;let a=e?Va(e):\"\";return a===\"payWith\"&&(a=\"pay_with\"),b(a,{id:a})}startRedirectPayment(){this.disabled||this._paymentMethodManagerTask.value&&this._paymentMethodManagerTask.value.start()}render(){return this._setupTasks.render({error:()=>y,complete:({assetsConfig:e})=>{this.style.setProperty(\"--redirect-payment-button-bg-color\",e.backgroundColor);let a={loading:!!this.sdkState?.isProcessing,\"icon-end\":e.iconPosition===\"END\",\"image-only\":!e.displayName},i=e.displayName?p`<span class=\"image-container\"><img src=\"${e.iconUrl}\" alt=\"${e.name}\" /></span><span class=\"button-text\">${e.displayName}</span>`:p`<span class=\"image-container\"><img src=\"${e.iconUrl}\" alt=\"${e.name}\" /></span>`;return p`<primer-button @click=\"${()=>this.startRedirectPayment()}\" class=${se(a)} title=\"${b(\"pay_with\",{id:\"pay_with\"})} ${e.name}\" ?disabled=${this.disabled} >${i}</primer-button>`}})}}"
|
|
190
186
|
},
|
|
191
187
|
{
|
|
192
188
|
"kind": "variable",
|
|
193
|
-
"name": "
|
|
194
|
-
"default": "class extends v{constructor(){super(...arguments);this.configuration=null;this.headlessUtils=null;this.formData={};this.errors={};this.touchedFields=new Set;this.dirtyFields=new Set;this.focusedField=null;this.submitted=!1;this.countryOptions=[];this._initializationTask=new
|
|
189
|
+
"name": "de",
|
|
190
|
+
"default": "class extends v{constructor(){super(...arguments);this.configuration=null;this.headlessUtils=null;this.formData={};this.errors={};this.touchedFields=new Set;this.dirtyFields=new Set;this.focusedField=null;this.submitted=!1;this.countryOptions=[];this._initializationTask=new B(this,{task:async([e,a])=>{if(!e||!a)return w;let i=this.extractFieldConfig(e);return await this.initializeCountryOptions(),i},args:()=>[this.configuration,this.headlessUtils]})}connectedCallback(){super.connectedCallback(),this._initializationTask.value}extractFieldConfig(e){if(e?.checkoutModules){let a=e.checkoutModules.find(i=>i.type===\"BILLING_ADDRESS\");if(a?.options){let i=a.options;return Object.keys(Gn).reduce((n,o)=>({...n,[o]:i[o]??!1}),{})}}return this.defaultFieldConfig}async initializeCountryOptions(){try{let e=Bn(\"en\");this.countryOptions=[...e.map(([n,o])=>({value:n,label:o}))],this.requestUpdate(\"countryOptions\");let a=Sn();if(a===\"en\"||a===\"en-GB\"||a.startsWith(\"en-\"))return;if(await Md(a)){let n=Bn(a);this.countryOptions=[...n.map(([o,s])=>({value:o,label:s}))],this.requestUpdate(\"countryOptions\")}}catch(e){P.errorWithDatadog(\"Failed to load country locale\",{error:e})}}get fieldConfig(){return this.extractFieldConfig(this.configuration)}get defaultFieldConfig(){return Object.keys(Gn).reduce((e,a)=>({...e,[a]:!1}),{})}get shouldShowForm(){return this.fieldConfig.postalCode}handleInput(e,a){this.formData={...this.formData,[e]:a},this.dirtyFields.add(e),(this.submitted||this.dirtyFields.has(e)&&this.touchedFields.has(e))&&this.validateField(e),this.dispatchEvent(new CustomEvent(\"primer-billing-address-change\",{detail:this.formData,bubbles:!0,composed:!0}))}handleFocus(e){this.focusedField=e}handleBlur(e){this.focusedField=null,this.touchedFields.add(e),this.validateField(e)}validateField(e){let a=this.formData[e],i=this.fieldConfig[e];if(!i){delete this.errors[e];return}if(i&&(!a||a.trim()===\"\")){let n=`${e}ErrorRequired`;this.errors={...this.errors,[e]:b(\"This field is required\",{id:n})}}else{let n={...this.errors};delete n[e],this.errors=n}}validateForm(){return Object.keys(Gn).forEach(e=>{let a=e;this.fieldConfig[a]&&this.validateField(a)}),Object.keys(this.errors).length===0}async validateForSubmission(){if(!this.shouldShowForm)return!0;this.submitted=!0,Object.keys(this.fieldConfig).forEach(a=>{this.fieldConfig[a]&&this.touchedFields.add(a)});let e=this.validateForm();return this.requestUpdate(),await this.updateComplete,e}async submitToSDK(){if(this.headlessUtils?.setBillingAddress)try{return await this.headlessUtils.setBillingAddress(this.formData),this.dispatchEvent(new CustomEvent(\"primer-billing-address-submit\",{detail:this.formData,bubbles:!0,composed:!0})),!0}catch(e){return P.errorWithDatadog(\"Failed to set billing address\",{error:e}),!1}return!0}shouldShowError(e){let a=!!this.errors[e],i=this.dirtyFields.has(e),n=this.touchedFields.has(e);return a&&(this.submitted||i&&n)}render(){return this._initializationTask.render({pending:()=>y,error:()=>y,complete:()=>this.shouldShowForm?(this.removeAttribute(\"hidden\"),p`<div class=\"billing-address-form\"><div class=\"billing-address-title\">${b(\"Billing address\",{id:\"billingAddressLabel\"})}</div>${R(this.fieldConfig.countryCode,()=>p`<primer-input-wrapper .focusWithin=${this.focusedField===\"countryCode\"} .hasError=${this.shouldShowError(\"countryCode\")} ><primer-input-label slot=\"label\">${b(\"Country code\",{id:\"countryCodeLabel\"})}</primer-input-label><primer-select slot=\"input\" id=\"countryCode\" name=\"countryCode\" .value=${this.formData.countryCode||\"\"} .options=${this.countryOptions} .hasError=${this.shouldShowError(\"countryCode\")} placeholder=${b(\"Select a country\",{id:\"countrySelectPlaceholder\"})} @input=${e=>this.handleInput(\"countryCode\",e.detail)} @focus=${()=>this.handleFocus(\"countryCode\")} @blur=${()=>this.handleBlur(\"countryCode\")} ></primer-select>${R(this.shouldShowError(\"countryCode\"),()=>p`<primer-input-error slot=\"error\">${this.errors.countryCode}</primer-input-error>`)}</primer-input-wrapper>`)} ${R(this.fieldConfig.firstName||this.fieldConfig.lastName,()=>p`<div class=\"billing-address-row\">${R(this.fieldConfig.firstName,()=>p`<primer-input-wrapper .focusWithin=${this.focusedField===\"firstName\"} .hasError=${this.shouldShowError(\"firstName\")} ><primer-input-label slot=\"label\">${b(\"First name\",{id:\"firstNameLabel\"})}</primer-input-label><primer-input slot=\"input\" id=\"firstName\" name=\"firstName\" type=\"text\" .value=${this.formData.firstName||\"\"} placeholder=${b(\"First name\",{id:\"firstNamePlaceholder\"})} @input=${e=>this.handleInput(\"firstName\",e.detail)} @focus=${()=>this.handleFocus(\"firstName\")} @blur=${()=>this.handleBlur(\"firstName\")} ></primer-input>${R(this.shouldShowError(\"firstName\"),()=>p`<primer-input-error slot=\"error\">${this.errors.firstName}</primer-input-error>`)}</primer-input-wrapper>`)} ${R(this.fieldConfig.lastName,()=>p`<primer-input-wrapper .focusWithin=${this.focusedField===\"lastName\"} .hasError=${this.shouldShowError(\"lastName\")} ><primer-input-label slot=\"label\">${b(\"Last name\",{id:\"lastNameLabel\"})}</primer-input-label><primer-input slot=\"input\" id=\"lastName\" name=\"lastName\" type=\"text\" .value=${this.formData.lastName||\"\"} placeholder=${b(\"Last name\",{id:\"lastNamePlaceholder\"})} @input=${e=>this.handleInput(\"lastName\",e.detail)} @focus=${()=>this.handleFocus(\"lastName\")} @blur=${()=>this.handleBlur(\"lastName\")} ></primer-input>${R(this.shouldShowError(\"lastName\"),()=>p`<primer-input-error slot=\"error\">${this.errors.lastName}</primer-input-error>`)}</primer-input-wrapper>`)}</div>`)} ${R(this.fieldConfig.addressLine1,()=>p`<primer-input-wrapper .focusWithin=${this.focusedField===\"addressLine1\"} .hasError=${this.shouldShowError(\"addressLine1\")} ><primer-input-label slot=\"label\">${b(\"Address line 1\",{id:\"addressLine1\"})}</primer-input-label><primer-input slot=\"input\" id=\"addressLine1\" name=\"addressLine1\" type=\"text\" .value=${this.formData.addressLine1||\"\"} placeholder=${b(\"Address line 1\",{id:\"addressLine1Placeholder\"})} @input=${e=>this.handleInput(\"addressLine1\",e.detail)} @focus=${()=>this.handleFocus(\"addressLine1\")} @blur=${()=>this.handleBlur(\"addressLine1\")} ></primer-input>${R(this.shouldShowError(\"addressLine1\"),()=>p`<primer-input-error slot=\"error\">${this.errors.addressLine1}</primer-input-error>`)}</primer-input-wrapper>`)} ${R(this.fieldConfig.addressLine2,()=>p`<primer-input-wrapper .focusWithin=${this.focusedField===\"addressLine2\"} .hasError=${this.shouldShowError(\"addressLine2\")} ><primer-input-label slot=\"label\">${b(\"Address line 2\",{id:\"addressLine2\"})}</primer-input-label><primer-input slot=\"input\" id=\"addressLine2\" name=\"addressLine2\" type=\"text\" .value=${this.formData.addressLine2||\"\"} placeholder=${b(\"Address line 2\",{id:\"addressLine2Placeholder\"})} @input=${e=>this.handleInput(\"addressLine2\",e.detail)} @focus=${()=>this.handleFocus(\"addressLine2\")} @blur=${()=>this.handleBlur(\"addressLine2\")} ></primer-input>${R(this.shouldShowError(\"addressLine2\"),()=>p`<primer-input-error slot=\"error\">${this.errors.addressLine2}</primer-input-error>`)}</primer-input-wrapper>`)} ${R(this.fieldConfig.postalCode||this.fieldConfig.city,()=>p`<div class=\"billing-address-row\">${R(this.fieldConfig.postalCode,()=>p`<primer-input-wrapper .focusWithin=${this.focusedField===\"postalCode\"} .hasError=${this.shouldShowError(\"postalCode\")} ><primer-input-label slot=\"label\">${b(\"Postal code\",{id:\"postalCodeLabel\"})}</primer-input-label><primer-input slot=\"input\" id=\"postalCode\" name=\"postalCode\" type=\"text\" .value=${this.formData.postalCode||\"\"} placeholder=${b(\"90210\",{id:\"postalCodePlaceholder\"})} @input=${e=>this.handleInput(\"postalCode\",e.detail)} @focus=${()=>this.handleFocus(\"postalCode\")} @blur=${()=>this.handleBlur(\"postalCode\")} ></primer-input>${R(this.shouldShowError(\"postalCode\"),()=>p`<primer-input-error slot=\"error\">${this.errors.postalCode}</primer-input-error>`)}</primer-input-wrapper>`)} ${R(this.fieldConfig.city,()=>p`<primer-input-wrapper .focusWithin=${this.focusedField===\"city\"} .hasError=${this.shouldShowError(\"city\")} ><primer-input-label slot=\"label\">${b(\"City\",{id:\"cityLabel\"})}</primer-input-label><primer-input slot=\"input\" id=\"city\" name=\"city\" type=\"text\" .value=${this.formData.city||\"\"} placeholder=${b(\"Cape Town\",{id:\"cityPlaceholder\"})} @input=${e=>this.handleInput(\"city\",e.detail)} @focus=${()=>this.handleFocus(\"city\")} @blur=${()=>this.handleBlur(\"city\")} ></primer-input>${R(this.shouldShowError(\"city\"),()=>p`<primer-input-error slot=\"error\">${this.errors.city}</primer-input-error>`)}</primer-input-wrapper>`)}</div>`)} ${R(this.fieldConfig.state,()=>p`<primer-input-wrapper .focusWithin=${this.focusedField===\"state\"} .hasError=${this.shouldShowError(\"state\")} ><primer-input-label slot=\"label\">${b(\"State / Region / County\",{id:\"stateLabel\"})}</primer-input-label><primer-input slot=\"input\" id=\"state\" name=\"state\" type=\"text\" .value=${this.formData.state||\"\"} placeholder=${b(\"State / Region / County\",{id:\"statePlaceholder\"})} @input=${e=>this.handleInput(\"state\",e.detail)} @focus=${()=>this.handleFocus(\"state\")} @blur=${()=>this.handleBlur(\"state\")} ></primer-input>${R(this.shouldShowError(\"state\"),()=>p`<primer-input-error slot=\"error\">${this.errors.state}</primer-input-error>`)}</primer-input-wrapper>`)}</div>`):(this.setAttribute(\"hidden\",\"\"),y)})}}"
|
|
195
191
|
},
|
|
196
192
|
{
|
|
197
193
|
"kind": "variable",
|
|
198
|
-
"name": "
|
|
199
|
-
"default": "class extends v{constructor(){super();this.vaultManagerContext=null;this.vaultItemContext=null;this.headlessUtils=null;this.contextEventsController=null;this.hasSlottedSubmit=!1;this.isEditMode=!1;this.deletePaymentMethodId=null;this.isDeleting=!1;this.errorMessage=\"\";this.animationDuration=300;this._isHandlingContextEvent=!1;this._contextVaultSubmitListener=null;this.deleteAssetConfig=null;this.handleSubmitSlotChange=e=>{let i=e.target.assignedNodes({flatten:!0});this.hasSlottedSubmit=i.length>0};this.handleToggleEditMode=e=>{this.isEditMode=e.detail,this.deletePaymentMethodId=null,this.isEditMode&&this.vaultItemContext&&this.vaultItemContext.setSelectedVaultedPaymentMethod(null)};this.handleDeletePaymentMethod=async e=>{if(this.deletePaymentMethodId=e.detail,this.deletePaymentMethodId&&this.vaultManagerContext&&this.headlessUtils){let a=this.vaultManagerContext.vaultedPaymentMethods.find(i=>i.id===this.deletePaymentMethodId);a&&(this.deleteAssetConfig=await
|
|
194
|
+
"name": "ee",
|
|
195
|
+
"default": "class extends v{constructor(){super();this.vaultManagerContext=null;this.vaultItemContext=null;this.headlessUtils=null;this.contextEventsController=null;this.hasSlottedSubmit=!1;this.isEditMode=!1;this.deletePaymentMethodId=null;this.isDeleting=!1;this.errorMessage=\"\";this.animationDuration=300;this._isHandlingContextEvent=!1;this._contextVaultSubmitListener=null;this.deleteAssetConfig=null;this.handleSubmitSlotChange=e=>{let i=e.target.assignedNodes({flatten:!0});this.hasSlottedSubmit=i.length>0};this.handleToggleEditMode=e=>{this.isEditMode=e.detail,this.deletePaymentMethodId=null,this.isEditMode&&this.vaultItemContext&&this.vaultItemContext.setSelectedVaultedPaymentMethod(null)};this.handleDeletePaymentMethod=async e=>{if(this.deletePaymentMethodId=e.detail,this.deletePaymentMethodId&&this.vaultManagerContext&&this.headlessUtils){let a=this.vaultManagerContext.vaultedPaymentMethods.find(i=>i.id===this.deletePaymentMethodId);a&&(this.deleteAssetConfig=await ai(a,this.headlessUtils,this.vaultManagerContext))}};this.handleCancelDelete=()=>{this.deletePaymentMethodId=null,this.deleteAssetConfig=null};this.handleConfirmDelete=async()=>{if(!this.vaultManagerContext?.deleteVaultedPaymentMethod||!this.deletePaymentMethodId){this.errorMessage=b(\"something_went_wrong_error\",{id:\"something_went_wrong_error\"});return}try{this.isDeleting=!0,await this.vaultManagerContext.deleteVaultedPaymentMethod(this.deletePaymentMethodId),this.deletePaymentMethodId=null,this.deleteAssetConfig=null}catch(e){this.errorMessage=e instanceof Error?e.message:b(\"something_went_wrong_error\",{id:\"something_went_wrong_error\"})}finally{this.isDeleting=!1}};this.handlePaymentError=e=>{let a=e.detail?.error;this.errorMessage=a instanceof Error?a.message:b(\"payment_processing_error\",{id:\"payment_processing_error\"})};this.handleCloseError=()=>{this.errorMessage=\"\"};this.handleSlotButtonClick=e=>{let i=e.target.closest(\"button, primer-button\");if(!i)return;let n=i;this.isSubmitButton(n)&&(e.preventDefault(),this.submitVaultPayment())};this.handleDirectSubmit=()=>{this.submitVaultPayment()};this.handleContextVaultSubmit=e=>{if(!this._isHandlingContextEvent){this._isHandlingContextEvent=!0;try{e.target!==this&&(e.stopPropagation(),this.submitVaultPayment())}finally{this._isHandlingContextEvent=!1}}};new ca(this,{defaultOptions:{keyframeOptions:{duration:Number(getComputedStyle(document.documentElement).getPropertyValue(\"--primer-animation-duration\").trim().replace(\"ms\",\"\")),easing:getComputedStyle(document.documentElement).getPropertyValue(\"--primer-animation-easing\").trim()}}})}getAnimationConfig(){return{keyframeOptions:{duration:this.animationDuration,easing:getComputedStyle(document.documentElement).getPropertyValue(\"--primer-animation-easing\").trim(),fill:\"both\"}}}isSubmitButton(e){let a=e.tagName.toLowerCase(),i=a===\"button\",n=a===\"primer-button\";return i&&(e.getAttribute(\"type\")===\"submit\"||e.hasAttribute(\"data-submit\"))||n&&(e.getAttribute(\"type\")===\"submit\"||e.hasAttribute(\"data-submit\"))}async submitVaultPayment(){if(this.vaultManagerContext)try{await this.vaultManagerContext.startVaultedPaymentFlow()}catch(e){this.dispatchEvent(new CustomEvent(\"primer-vault-payment-error\",{detail:{error:e},bubbles:!0,composed:!0}))}}getPaymentMethodName(e){if(!this.vaultManagerContext)return\"\";let a=this.vaultManagerContext.vaultedPaymentMethods.find(i=>i.id===e);if(!a)return\"\";try{return Fn(a).description||\"\"}catch{return\"\"}}setupContextEventListeners(){this.contextEventsController?.host&&this._contextVaultSubmitListener&&this.contextEventsController.host.addEventListener(\"primer:vault-submit\",this._contextVaultSubmitListener)}cleanupContextEventListeners(){this.contextEventsController?.host&&this._contextVaultSubmitListener&&this.contextEventsController.host.removeEventListener(\"primer:vault-submit\",this._contextVaultSubmitListener)}connectedCallback(){super.connectedCallback(),this.addEventListener(\"click\",this.handleSlotButtonClick),this.addEventListener(\"primer:vault-submit\",this.handleDirectSubmit),this._contextVaultSubmitListener=e=>{this.handleContextVaultSubmit(e)},this.setupContextEventListeners()}disconnectedCallback(){this.removeEventListener(\"click\",this.handleSlotButtonClick),this.removeEventListener(\"primer:vault-submit\",this.handleDirectSubmit),this.cleanupContextEventListeners(),super.disconnectedCallback()}renderLoadingOverlay(){return p`<div class=\"loading-overlay\" ${Nt({...this.getAnimationConfig(),properties:[\"opacity\"],in:[{opacity:0},{opacity:1}],out:[{opacity:1},{opacity:0}]})} ><primer-spinner size=\"medium\" color=\"var(--primer-color-loader)\" ></primer-spinner></div>`}renderDeleteConfirmation(){if(!this.deletePaymentMethodId||!this.deleteAssetConfig)return y;let e=this.getPaymentMethodName(this.deletePaymentMethodId);return p`<div class=\"delete-confirmation-container\"><primer-button disabled variant=\"secondary\"><primer-payment-method-content .assetConfig=${this.deleteAssetConfig} ></primer-payment-method-content></primer-button><primer-vault-delete-confirmation .isDeleting=${this.isDeleting} .paymentMethodId=${this.deletePaymentMethodId} .paymentMethodName=${e} @confirm-delete=${this.handleConfirmDelete} @cancel-delete=${this.handleCancelDelete} ${Nt({...this.getAnimationConfig(),properties:[\"opacity\"],in:[{opacity:0},{opacity:1}],out:[{opacity:1},{opacity:0}]})} ></primer-vault-delete-confirmation></div>`}renderPaymentMethodItem(e){return this.deletePaymentMethodId===e.id?y:p`<primer-vault-payment-method-item .paymentMethod=${e} .isEditMode=${this.isEditMode} @delete-payment-method=${this.handleDeletePaymentMethod} ${Nt({...this.getAnimationConfig(),properties:[\"opacity\"],in:[{opacity:0},{opacity:1}],out:[{opacity:1},{opacity:0}]})} ></primer-vault-payment-method-item>`}renderPaymentMethodList(){let e=this.vaultManagerContext?.vaultedPaymentMethods||[],a=!this.isEditMode&&e.length>0&&!this.deletePaymentMethodId;return p`<div class=\"payment-methods-list\">${e.map(i=>this.renderPaymentMethodItem(i))} ${R(a,()=>p`<div class=\"submit-button-container\"><slot name=\"submit-button\" @slotchange=${this.handleSubmitSlotChange} ${Nt({...this.getAnimationConfig(),properties:[\"opacity\"],in:[{opacity:0},{opacity:1}],out:[{opacity:1},{opacity:0}]})} ></slot>${R(!this.hasSlottedSubmit,()=>p`<primer-vault-payment-submit class=\"submit-button\" @primer-vault-payment-error=${this.handlePaymentError} ></primer-vault-payment-submit>`)}</div>`,()=>y)}</div>`}render(){if(!this.vaultManagerContext?.enabled||this.vaultManagerContext?.headless)return y;let e=this.vaultManagerContext.vaultedPaymentMethods.length>0,a=this.vaultManagerContext.isLoading,i=this.vaultManagerContext.isUpdating;return p` ${R(!this.vaultManagerContext?.showEmptyState&&!e,()=>y,()=>p`<slot name=\"vault-empty-state\"><div class=\"vault-manager ${i?\"is-updating\":\"\"}\"><primer-vault-manager-header .isEditMode=${this.isEditMode} .hasPaymentMethods=${e} @toggle-edit-mode=${this.handleToggleEditMode} ></primer-vault-manager-header>${R(this.errorMessage,()=>p`<primer-vault-error-message .errorMessage=${this.errorMessage} @close-error=${this.handleCloseError} ${Nt({...this.getAnimationConfig(),properties:[\"opacity\"],in:[{opacity:0},{opacity:1}],out:[{opacity:1},{opacity:0}]})} ></primer-vault-error-message>`,()=>y)}<div class=\"vault-manager-content\">${R(!a&&!e,()=>p`<div class=\"content-container\"><primer-vault-empty-state ${Nt({...this.getAnimationConfig(),properties:[\"opacity\"],in:[{opacity:0},{opacity:1}],out:[{opacity:1},{opacity:0}]})} ></primer-vault-empty-state></div>`,()=>y)} ${R(!a&&e,()=>p`<div class=\"content-container\">${R(this.deletePaymentMethodId,()=>this.renderDeleteConfirmation(),()=>this.renderPaymentMethodList())}</div>`,()=>y)}</div>${R(i,()=>this.renderLoadingOverlay(),()=>y)}</div></slot>`)} `}}"
|
|
200
196
|
},
|
|
201
197
|
{
|
|
202
198
|
"kind": "variable",
|
|
203
|
-
"name": "
|
|
204
|
-
"default": "class extends v{constructor(){super(...arguments);this.vaultManagerContext=null;this.vaultItemContext=null;this.headlessUtils=null;this.paymentMethod=null;this.isEditMode=!1;this._getAssetsTask=new
|
|
199
|
+
"name": "Te",
|
|
200
|
+
"default": "class extends v{constructor(){super(...arguments);this.vaultManagerContext=null;this.vaultItemContext=null;this.headlessUtils=null;this.paymentMethod=null;this.isEditMode=!1;this._getAssetsTask=new B(this,{task:async([e,a,i])=>await ai(e,a,i),args:()=>[this.paymentMethod,this.headlessUtils,this.vaultManagerContext]});this.handleClick=()=>{this.isEditMode||!this.vaultManagerContext||!this.paymentMethod||(this.isSelected()?this.vaultItemContext?.setSelectedVaultedPaymentMethod(null):this.vaultItemContext?.setSelectedVaultedPaymentMethod(this.paymentMethod))};this.handleDeleteClick=e=>{e.stopPropagation(),this.dispatchEvent(new CustomEvent(\"delete-payment-method\",{detail:this.paymentMethod?.id,bubbles:!0,composed:!0}))}}isSelected(){if(!this.vaultManagerContext||!this.paymentMethod)return!1;let e=this.vaultItemContext?.selectedVaultedPaymentMethod;return!!e&&e.id===this.paymentMethod.id}render(){return this._getAssetsTask.render({error:()=>y,complete:e=>{let a=this.isSelected()?\"checked\":\"default\",i=!1,n=e?.description;return p`<div class=\"payment-method-wrapper\"><div class=\"payment-method-container\"><primer-button variant=\"secondary\" class=\"payment-method-button ${e.shouldShowCVV?\"with-cvv\":\"\"}\" selectable ?disabled=${this.isEditMode} selectionState=${a} .flex=${i} @click=${this.handleClick} ><primer-payment-method-content .assetConfig=${e} ></primer-payment-method-content>${R(e.shouldShowCVV&&this.isSelected()&&!this.isEditMode,()=>p`<div class=\"payment-method-row mt-2\"><span class=\"flex-center\"><primer-icon name=\"lock\" size=\"sm\"></primer-icon><span class=\"payment-method-subtitle\"> Input the card CVV for a secure payment</span ></span><span class=\"cell-2\"><primer-vault-cvv-input .paymentMethod=\"${this.paymentMethod}\" ><span slot=\"label\"></span></primer-vault-cvv-input></span></div>`,()=>y)}</primer-button>${this.isEditMode?p`<primer-button variant=\"tertiary\" class=\"delete-button\" @click=${this.handleDeleteClick} aria-label=${`${b(\"delete\",{id:\"delete\"})} ${n}`} ><primer-icon name=\"close\" size=\"sm\"></primer-icon></primer-button>`:y}</div></div>`}})}}"
|
|
205
201
|
},
|
|
206
202
|
{
|
|
207
203
|
"kind": "variable",
|
|
208
|
-
"name": "
|
|
204
|
+
"name": "He",
|
|
209
205
|
"default": "class extends v{constructor(){super(...arguments);this.isEditMode=!1;this.hasPaymentMethods=!1;this.toggleEditMode=()=>{this.dispatchEvent(new CustomEvent(\"toggle-edit-mode\",{detail:!this.isEditMode,bubbles:!0,composed:!0}))}}render(){return p`<div class=\"vault-manager-header\"><h3>${b(\"previouslyUsed\",{id:\"previouslyUsed\"})}</h3>${this.hasPaymentMethods?p`<primer-button variant=\"tertiary\" class=\"edit-button ${this.isEditMode?\"active\":\"\"}\" @click=${this.toggleEditMode} aria-label=${this.isEditMode?b(\"confirm\",{id:\"confirm\"}):b(\"editPaymentMethods\",{id:\"editPaymentMethods\"})} >${this.isEditMode?p`<primer-icon name=\"checkmark\" size=\"sm\"></primer-icon>`:p`<primer-icon name=\"edit\" size=\"sm\"></primer-icon>`}</primer-button>`:y}</div>`}}"
|
|
210
206
|
},
|
|
211
207
|
{
|
|
212
208
|
"kind": "variable",
|
|
213
|
-
"name": "
|
|
209
|
+
"name": "ke",
|
|
214
210
|
"default": "class extends v{constructor(){super(...arguments);this.isDeleting=!1;this.paymentMethodId=\"\";this.paymentMethodName=\"\";this.vaultManager=null;this.handleConfirmClick=()=>{this.dispatchEvent(new CustomEvent(\"confirm-delete\",{bubbles:!0,composed:!0}))};this.handleCancelClick=()=>{this.dispatchEvent(new CustomEvent(\"cancel-delete\",{bubbles:!0,composed:!0}))}}render(){return p`<div class=\"delete-confirmation\"><p class=\"delete-confirmation-text\"> Are you sure you want to delete this payment method? </p><div class=\"delete-actions\"><primer-button variant=\"secondary\" @click=${this.handleCancelClick} ?disabled=${this.isDeleting} >${b(\"cancel\",{id:\"cancel\"})}</primer-button><primer-button @click=${this.handleConfirmClick} ?disabled=${this.isDeleting} >${this.isDeleting?b(\"deleting\",{id:\"deleting\"}):b(\"confirmVaultedPaymentMethodDeletion\",{id:\"confirmVaultedPaymentMethodDeletion\"})}</primer-button></div></div>`}}"
|
|
215
211
|
},
|
|
216
212
|
{
|
|
217
213
|
"kind": "variable",
|
|
218
|
-
"name": "
|
|
214
|
+
"name": "dt",
|
|
219
215
|
"default": "class extends v{render(){return p`<div class=\"empty-state\"><p>${b(\"savedPaymentMethodsEmpty\",{id:\"savedPaymentMethodsEmpty\"})}</p></div>`}}"
|
|
220
216
|
},
|
|
221
217
|
{
|
|
222
218
|
"kind": "variable",
|
|
223
|
-
"name": "
|
|
219
|
+
"name": "et",
|
|
224
220
|
"default": "class extends v{constructor(){super(...arguments);this.errorMessage=\"\";this.handleDismiss=()=>{this.dispatchEvent(new CustomEvent(\"close-error\",{bubbles:!0,composed:!0}))}}render(){return p`<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=${b(\"closeErrorMessage\",{id:\"closeErrorMessage\"})} ><primer-icon name=\"close\" size=\"sm\"></primer-icon></button></div>`}}"
|
|
225
221
|
},
|
|
226
222
|
{
|
|
227
223
|
"kind": "variable",
|
|
228
|
-
"name": "
|
|
224
|
+
"name": "ie",
|
|
229
225
|
"default": "class extends v{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(a){let i=new CustomEvent(\"primer-vault-payment-error\",{bubbles:!0,composed:!0,detail:{error:a}});this.dispatchEvent(i)}}}get buttonText(){return this._userAssignedProps.has(\"buttonText\")?this._internalButtonText:b(\"pay\",{id:\"pay\"})}set buttonText(e){let a=this.buttonText;e!==\"\"?(this._userAssignedProps.add(\"buttonText\"),this._internalButtonText=e):(this._userAssignedProps.delete(\"buttonText\"),this._internalButtonText=\"\"),this.requestUpdate(\"buttonText\",a)}get isButtonDisabled(){return!!(this.disabled||!this.vaultItemContext?.selectedVaultedPaymentMethod||this.vaultManager?.isLoading)}render(){let e=this.clientOptions?.submitButton?.amountVisible?this.headlessInstance?.getUIOrderAmount():null,a=e?` ${e}`:y;return p`<primer-button buttonType=\"submit\" variant=${this.variant} @click=${this.handleClick} .disabled=${this.isButtonDisabled} .loading=${this.sdkState?.isProcessing} data-submit >${this.buttonText}${a}</primer-button>`}}"
|
|
230
226
|
},
|
|
231
227
|
{
|
|
232
228
|
"kind": "variable",
|
|
233
|
-
"name": "
|
|
234
|
-
"default": "class extends v{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.isFocused=!1;this._setupCVVIframe=new
|
|
229
|
+
"name": "te",
|
|
230
|
+
"default": "class extends v{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.isFocused=!1;this._setupCVVIframe=new B(this,{task:([e,a])=>!e||!a||e.paymentMethodType!==\"PAYMENT_CARD\"||!e.paymentInstrumentData?.network||a.createCvvInput===null?w:{network:e.paymentInstrumentData.network,createCvvInput:a.createCvvInput},args:()=>[this.paymentMethod,this.vaultManagerFormContext]});this.cvvContainerId=`cvv-container-${Math.random().toString(36).substring(2,9)}`,new B(this,{task:async([e])=>{if(!e)return w;await this.updateComplete;let a=this.renderRoot.querySelector(`#${this.cvvContainerId}`);if(!a)return;let i=si(this.computedStyles),n=i?{input:{base:i}}:void 0,o={cardNetwork:e.network,container:a,name:\"cvv\",placeholder:\"123\",style:n,ariaLabel:b(\"CVV\",{id:\"cardCVV\"})};this.cvvInput=await e.createCvvInput?.(o)??null,this.cvvInput&&(this.cvvInput.focus(),this.cvvError=this.cvvInput.metadata.errorCode||null,this.vaultManagerCvvContext?.setCvvInput(this.cvvInput),this.cvvInput.addListener(\"change\",()=>{this.onCvvInputChange()}),this.cvvInput.addListener(\"blur\",()=>{this.onBlur()}),this.cvvInput.addListener(\"focus\",()=>{this.onFocus()}))},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.errorCode||null)}onBlur(){this.cvvInput&&(this.cvvInputIsBlurred=!0,this.cvvError=this.cvvInput.metadata.errorCode||null,this.isFocused=!1)}onFocus(){this.isFocused=!0}render(){return this._setupCVVIframe.render({error:()=>y,complete:()=>p`<div class=\"cvv-input-container\"><primer-input-wrapper .focusWithin=${this.isFocused} .hasError=${!!this.cvvError&&(this.vaultManagerCvvContext?.formIsDirty||this.cvvInputIsDirty&&this.cvvInputIsBlurred)} ><slot name=\"label\" slot=\"label\"><primer-input-label>CVV</primer-input-label></slot><div slot=\"input\" id=\"${this.cvvContainerId}\"></div>${R(this.cvvError&&(this.vaultManagerCvvContext?.formIsDirty||this.cvvInputIsDirty&&this.cvvInputIsBlurred),()=>p`<primer-input-error slot=\"error\">${b(this.cvvError,{id:this.cvvError})}</primer-input-error>`)}</primer-input-wrapper></div>`})}}"
|
|
235
231
|
},
|
|
236
232
|
{
|
|
237
233
|
"kind": "variable",
|
|
238
|
-
"name": "
|
|
234
|
+
"name": "tt",
|
|
239
235
|
"default": "class extends v{constructor(){super(...arguments);this.assetConfig=null}render(){if(!this.assetConfig)return y;let e=this.assetConfig.description,a=this.assetConfig.icon,i=R(this.assetConfig.icon,()=>p`<img class=\"payment-method-icon\" src=${a} alt=${e} />`,()=>p`<div class=\"payment-method-icon payment-method-icon-generic\"><primer-icon name=\"payment-card\" size=\"sm\"></primer-icon></div>`);return this.assetConfig.type===\"paypal\"?p`<span class=\"payment-method-card\"><div class=\"payment-method-row\"><span class=\"payment-method-header\" >${this.assetConfig.fullName}</span ></div><div class=\"payment-method-row\"><span class=\"flex\">${i}<span class=\"payment-method-subtitle\" >${this.assetConfig.paymentMethodType}</span ></span></div></span>`:this.assetConfig.type===\"other\"&&this.assetConfig.paymentMethodType!==\"ACH\"?p`<div class=\"payment-method-card-other\"><div class=\"left-column\"><div class=\"payment-method-header\">${this.assetConfig.fullName}</div><div class=\"flex\">${i}<span class=\"payment-method-subtitle\" >${this.assetConfig.paymentMethodType}</span ></div></div><div class=\"payment-method-right-column-text\">${this.assetConfig.email||`\\u2022\\u2022\\u2022\\u2022 ${this.assetConfig.last4}`}</div></div>`:this.assetConfig.type===\"other\"&&this.assetConfig.paymentMethodType===\"ACH\"?p`<span class=\"payment-method-card\"><div class=\"payment-method-row\"><span class=\"payment-method-header\" >${this.assetConfig.fullName}</span ><span class=\"payment-method-header cell-2\" >•••• ${this.assetConfig.last4}</span ></div><div class=\"payment-method-row\"><span class=\"flex\">${i}<span class=\"payment-method-subtitle\" >${this.assetConfig.bankName}</span ></span><span class=\"payment-method-subtitle cell-2\" >${this.assetConfig.accountType}</span ></div></span>`:this.assetConfig.type===\"card\"?p`<span class=\"payment-method-card\"><div class=\"payment-method-row\"><span class=\"payment-method-header\" >${this.assetConfig.cardholderName}</span ><span class=\"payment-method-header cell-2\" >•••• ${this.assetConfig.last4}</span ></div><div class=\"payment-method-row\"><span class=\"flex\">${i}<span class=\"payment-method-subtitle\" >${this.assetConfig.network}</span ></span><span class=\"payment-method-subtitle cell-2\" >${this.assetConfig.expiresDate}</span ></div></span>`:this.assetConfig.type===\"GOOGLE_PAY\"?p`<span class=\"payment-method-card\"><div class=\"payment-method-row\">${i}<span class=\"payment-method-header cell-2\" >•••• ${this.assetConfig.last4}</span ></div><div class=\"payment-method-row\"><span class=\"payment-method-subtitle\" >${this.assetConfig.network}</span ><span class=\"payment-method-subtitle cell-2\" >${this.assetConfig.expiresDate}</span ></div></span>`:y}}"
|
|
240
236
|
},
|
|
241
237
|
{
|
|
242
238
|
"kind": "variable",
|
|
243
|
-
"name": "
|
|
244
|
-
"default": "class extends v{constructor(){super(...arguments);this.hideLabels=!1;this.disabled=!1;this.hasAssignedContent=!1;this.selectedCardNetwork=null;this.formErrorMessage=null;this.paymentMethodSelectionSent=!1;this.paymentManagers=new Map;this.clientOptions=null;this.headlessUtils=null;this.analyticsUtils=null;this.contextEventsController=null;this.cardFormProvider=new W(this,{context:
|
|
239
|
+
"name": "ne",
|
|
240
|
+
"default": "class extends v{constructor(){super(...arguments);this.hideLabels=!1;this.disabled=!1;this.hasAssignedContent=!1;this.selectedCardNetwork=null;this.formErrorMessage=null;this.paymentMethodSelectionSent=!1;this.paymentManagers=new Map;this.clientOptions=null;this.headlessUtils=null;this.analyticsUtils=null;this.contextEventsController=null;this.cardFormProvider=new W(this,{context:ua,initialValue:null});this.eventsController=new aa(this);this._contextCardSubmitListener=null;this._isHandlingContextEvent=!1;this.inputControllers=new Map;this.setupCardFormTask=new B(this,{task:([e])=>{if(!e?.manager)return w;let{manager:a}=e,i=a.createHostedInputs(),{cardNumberInput:n,expiryInput:o,cvvInput:s}=i;return this.cardFormProvider.setValue({cardholderNameInput:i.cardholderNameInput,cardNumberInput:n,expiryInput:o,cvvInput:s,setCardholderName:l=>{a.setCardholderName(l),this.shouldRequireCardholderName&&a.validate?.().then(c=>{let g=c?.validationErrors?.find(T=>T.name===Wd.cardholderName),h=this.inputControllers.get(\"cardholderName\");h&&h.updateMetaFromValidation({valid:!1,error:g?.message||g?.error||null,errorCode:g?.message||g?.error||null})})},setCardNetwork:l=>{this.selectedCardNetwork=l},validate:()=>a.validate(),submit:l=>a.submit(l),hideLabels:this.hideLabels,disabled:this.disabled,setSubmissionState:l=>{this.inputControllers.forEach(c=>{c.setSubmitted(l)})},propagateValidationErrors:l=>{l&&l.forEach(c=>{let m=c.field||c.name,g=c.message||c.error,h=Wd[m];if(h){let T=this.inputControllers.get(h);if(T){let M={valid:!1,error:g,errorCode:g};T.updateMetaFromValidation(M)}}})},registerInputController:(l,c)=>{this.inputControllers.set(l,c)},unregisterInputController:l=>{this.inputControllers.delete(l)},onUserInteraction:()=>{this.sendPaymentMethodSelectionEvent(),this.checkAndSendPaymentDetailsEnteredEvent()}}),!0},args:()=>[this.paymentManagers.get(\"PAYMENT_CARD\")]});this.paymentDetailsEnteredSent=!1;this.handleSlotButtonClick=e=>{let i=e.target.closest(\"button, primer-button\");if(!i)return;let n=i;this.isSubmitButton(n)&&(e.preventDefault(),this.submitCardPayment())};this.handleDirectSubmit=e=>{e.stopPropagation(),this.submitCardPayment()};this.handleContextCardSubmit=e=>{if(!this._isHandlingContextEvent){this._isHandlingContextEvent=!0;try{e.target!==this&&(e.stopPropagation(),this.submitCardPayment())}finally{this._isHandlingContextEvent=!1}}};this.onSlotChange=e=>{let i=e.target.assignedNodes({flatten:!0});this.hasAssignedContent=i.length>0};this.handleFormSubmit=e=>{e.preventDefault(),e.stopPropagation(),this.submitCardPayment()}}updated(e){if(super.updated(e),(e.has(\"hideLabels\")||e.has(\"disabled\"))&&this.cardFormProvider.value&&this.cardFormProvider.setValue({...this.cardFormProvider.value,hideLabels:this.hideLabels,disabled:this.disabled}),e.has(\"contextEventsController\")){let a=e.get(\"contextEventsController\");a?.host&&this._contextCardSubmitListener&&a.host.removeEventListener(\"primer:card-submit\",this._contextCardSubmitListener),this.setupContextEventListeners()}}get shouldShowCardholderName(){let e=this.clientOptions?.card?.cardholderName;return typeof e?.visible==\"boolean\"?e.visible:!0}get shouldRequireCardholderName(){if(!this.shouldShowCardholderName)return!1;let e=this.clientOptions?.card?.cardholderName;return typeof e?.required==\"boolean\"?e.required:!0}sendPaymentMethodSelectionEvent(){this.paymentMethodSelectionSent||(this.paymentMethodSelectionSent=!0,X({eventName:\"PAYMENT_METHOD_SELECTION\",paymentMethod:\"PAYMENT_CARD\"}))}checkAndSendPaymentDetailsEnteredEvent(){if(this.paymentDetailsEnteredSent)return;let e=this.inputControllers.get(\"cardNumber\"),a=this.inputControllers.get(\"expire\"),i=this.inputControllers.get(\"cvv\"),n=e?.meta?.dirty===!0,o=a?.meta?.dirty===!0,s=i?.meta?.dirty===!0,l=!0;this.shouldRequireCardholderName&&(l=this.inputControllers.get(\"cardholderName\")?.meta?.dirty===!0),n&&o&&s&&l&&(this.sendPaymentDetailsEnteredEvent(),this.paymentDetailsEnteredSent=!0)}sendPaymentDetailsEnteredEvent(){X({eventName:\"PAYMENT_DETAILS_ENTERED\",paymentMethod:\"PAYMENT_CARD\"})}connectedCallback(){super.connectedCallback(),this.addEventListener(\"click\",this.handleSlotButtonClick),this.addEventListener(\"primer:card-submit\",this.handleDirectSubmit),this._contextCardSubmitListener=e=>{this.handleContextCardSubmit(e)},this.setupContextEventListeners()}disconnectedCallback(){this.removeEventListener(\"click\",this.handleSlotButtonClick),this.removeEventListener(\"primer:card-submit\",this.handleDirectSubmit),this.cleanupContextEventListeners(),super.disconnectedCallback()}setupContextEventListeners(){this.contextEventsController?.host&&this._contextCardSubmitListener&&this.contextEventsController.host.addEventListener(\"primer:card-submit\",this._contextCardSubmitListener)}cleanupContextEventListeners(){this.contextEventsController?.host&&this._contextCardSubmitListener&&this.contextEventsController.host.removeEventListener(\"primer:card-submit\",this._contextCardSubmitListener)}isSubmitButton(e){let a=e.tagName.toLowerCase(),i=a===\"button\",n=a===\"primer-button\";return i&&(e.getAttribute(\"type\")===\"submit\"||e.hasAttribute(\"data-submit\"))||n&&(e.getAttribute(\"type\")===\"submit\"||e.hasAttribute(\"data-submit\"))}async submitCardPayment(){let e=this.cardFormProvider.value;if(!e||this.disabled)return;this.formErrorMessage=null,e.setSubmissionState?.(!0);let a=this.querySelector(\"primer-billing-address\")||this.renderRoot.querySelector(\"primer-billing-address\"),i=!0;a&&(i=await a.validateForSubmission());let n=await e.validate?.();if(n?.valid&&i){if(a&&!await a.submitToSDK()){let c=b(\"tokenizationError\",{id:\"tokenizationError\"});this.formErrorMessage=c,this.eventsController.dispatchFormSubmitErrors([{field:\"billingAddress\",name:\"billingAddress\",error:\"BILLING_ADDRESS_SUBMISSION_FAILED\",message:c}]);return}let o=this.selectedCardNetwork?{cardNetwork:this.selectedCardNetwork}:void 0;await e.submit?.(o);let s={success:!0};this.eventsController.dispatchFormSubmitSuccess(s)}else{let o=n?.validationErrors;e.propagateValidationErrors?.(o||[]),this.cardFormProvider.setValue({...e,errors:o}),this.eventsController.dispatchFormSubmitErrors(o)}}render(){return this.setupCardFormTask.status===bt.ERROR||this.setupCardFormTask.status===bt.INITIAL?y:p`<form @submit=${this.handleFormSubmit}><slot name=\"card-form-content\" @slotchange=${this.onSlotChange}></slot>${this.setupCardFormTask.render({complete:()=>R(this.hasAssignedContent,()=>y,()=>p`<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>${R(this.shouldShowCardholderName,()=>p`<primer-input-card-holder-name></primer-input-card-holder-name>`,()=>y)}<primer-billing-address></primer-billing-address></div><primer-card-form-submit></primer-card-form-submit><primer-error-message message=\"${this.formErrorMessage||\"\"}\" ?visible=\"${!!this.formErrorMessage}\" ></primer-error-message>`)})}</form>`}}"
|
|
245
241
|
},
|
|
246
242
|
{
|
|
247
243
|
"kind": "variable",
|
|
248
|
-
"name": "
|
|
249
|
-
"default": "class extends
|
|
244
|
+
"name": "ct",
|
|
245
|
+
"default": "class extends me{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.handleNetworkSelected=e=>{let{network:a}=e.detail;this.cardFormContext&&this.cardFormContext.setCardNetwork(a)};this.childUpdated()}renderInput(){if(this.hostedInputController.setupTask.status===bt.ERROR)return y;let e=this.getError();return p`<primer-input-wrapper .focusWithin=\"${this.hostedInputController.meta.active}\" .hasError=${!!e} >${R(!this.cardFormContext?.hideLabels,()=>p`<primer-input-label slot=\"label\" >${this.label}</primer-input-label >`,()=>y)}<div slot=\"input\" class=\"card-number-container\" aria-label=\"${this.ariaLabel}\" ><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>${R(e,a=>p`<primer-input-error slot=\"error\">${b(a,{id:a})}</primer-input-error>`,()=>y)}</primer-input-wrapper>`}render(){return this.renderInput()}}"
|
|
250
246
|
},
|
|
251
247
|
{
|
|
252
248
|
"kind": "variable",
|
|
253
|
-
"name": "
|
|
254
|
-
"default": "class extends
|
|
249
|
+
"name": "ut",
|
|
250
|
+
"default": "class extends me{constructor(){super();this.config={inputType:\"cvv\",containerSelector:\"#cvv\",errorName:\"cvv-card\",translations:{label:\"CVV\",placeholder:\"123\"}};this.childUpdated()}render(){return this.renderInput()}}"
|
|
255
251
|
},
|
|
256
252
|
{
|
|
257
253
|
"kind": "variable",
|
|
258
|
-
"name": "
|
|
259
|
-
"default": "class extends
|
|
254
|
+
"name": "pt",
|
|
255
|
+
"default": "class extends me{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()}}"
|
|
260
256
|
},
|
|
261
257
|
{
|
|
262
258
|
"kind": "variable",
|
|
263
|
-
"name": "
|
|
264
|
-
"default": "class extends
|
|
259
|
+
"name": "mt",
|
|
260
|
+
"default": "class extends me{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()}}"
|
|
265
261
|
},
|
|
266
262
|
{
|
|
267
263
|
"kind": "variable",
|
|
268
|
-
"name": "
|
|
269
|
-
"default": "class extends v{constructor(){super(...arguments);this._userAssignedProps=new Set;this._internalButtonText=\"\";this.headlessUtils=null;this.clientOptions=null;this.sdkState=null;this.cardFormContext=null;this.analyticsUtils=null;this.contextEventsController=null;this.variant=\"primary\";this.disabled=!1;this.handleClick=e=>{if(e.preventDefault(),this.disabled)return;
|
|
264
|
+
"name": "ae",
|
|
265
|
+
"default": "class extends v{constructor(){super(...arguments);this._userAssignedProps=new Set;this._internalButtonText=\"\";this.headlessUtils=null;this.clientOptions=null;this.sdkState=null;this.cardFormContext=null;this.analyticsUtils=null;this.contextEventsController=null;this.variant=\"primary\";this.disabled=!1;this.handleClick=e=>{if(e.preventDefault(),this.disabled)return;X({eventName:\"PAYMENT_SUBMITTED\",paymentMethod:\"PAYMENT_CARD\"});let a=new CustomEvent(\"primer:card-submit\",{bubbles:!0,composed:!0,detail:{source:\"primer-card-form-submit\"}});this.dispatchEvent(a)}}get buttonText(){return this._userAssignedProps.has(\"buttonText\")?this._internalButtonText:b(\"pay\",{id:\"pay\"})}set buttonText(e){let a=this.buttonText;e!==\"\"?(this._userAssignedProps.add(\"buttonText\"),this._internalButtonText=e):(this._userAssignedProps.delete(\"buttonText\"),this._internalButtonText=\"\"),this.requestUpdate(\"buttonText\",a)}get submitButtonConfig(){return this.clientOptions?.submitButton??null}get shouldShowBuiltInButton(){return this.submitButtonConfig?.useBuiltInButton??!0}render(){if(!this.shouldShowBuiltInButton)return y;let e=this.submitButtonConfig?.amountVisible?this.headlessUtils?.getUIOrderAmount():null,a=e?` ${e}`:y,i=this.disabled||this.cardFormContext?.disabled||!1;return p`<primer-button type=\"submit\" variant=${this.variant} ?disabled=${i} @click=${this.handleClick} .loading=${!!this.sdkState?.isProcessing} data-submit >${this.buttonText}${a}</primer-button>`}}"
|
|
270
266
|
},
|
|
271
267
|
{
|
|
272
268
|
"kind": "variable",
|
|
273
|
-
"name": "
|
|
274
|
-
"default": "class extends v{constructor(){super(...arguments);this.cardNetworks=null;this.headlessUtils=null;this.selectedCardNetwork=null;this.isDropdownOpen=!1;this.focusedNetworkIndex=0;this.isKeyboardNavigation=!1;this.buttonRef
|
|
269
|
+
"name": "he",
|
|
270
|
+
"default": "class extends v{constructor(){super(...arguments);this.cardNetworks=null;this.headlessUtils=null;this.selectedCardNetwork=null;this.isDropdownOpen=!1;this.focusedNetworkIndex=0;this.isKeyboardNavigation=!1;this.buttonRef=$t();this.dropdownRef=$t();this.networkOptionRefs=[];this.toggleDropdown=e=>{this.isKeyboardNavigation=!1,e.stopPropagation(),this.getSelectableNetworks().length>1&&(this.isDropdownOpen=!this.isDropdownOpen,this.isDropdownOpen&&(this.focusedNetworkIndex=this.getSelectedNetworkIndex()))};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)}}getNetworkIconUrl(e){return this.headlessUtils?.getCardNetworkAsset(e.network)?.cardUrl}renderDefaultCardIcon(){return p`<div class=\"network-icon\">${Zr[\"payment-card\"]}</div>`}getSelectableNetworks(){return this.cardNetworks?.selectableCardNetworks||[]}getDetectedNetwork(){return this.selectedCardNetwork??(this.cardNetworks?.detectedCardNetwork||null)}getSelectedNetworkIndex(){let e=this.getDetectedNetwork();if(!e)return 0;let a=this.getSelectableNetworks().findIndex(i=>i.network===e.network);return a>=0?a:0}selectNetwork(e,a){e.stopPropagation(),this.selectedCardNetwork=a,this.isDropdownOpen=!1,this.buttonRef.value?.focus(),this.cardNetworks&&this.dispatchEvent(new CustomEvent(\"network-selected\",{detail:{network:a.network},bubbles:!0,composed:!0}))}focusNetworkOption(){requestAnimationFrame(()=>{this.networkOptionRefs[this.focusedNetworkIndex]&&this.networkOptionRefs[this.focusedNetworkIndex].focus()})}setNetworkOptionRef(e,a){this.networkOptionRefs[a]=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 p`<primer-spinner size=\"small\" compact></primer-spinner>`;let e=this.getSelectableNetworks();if(!this.getDetectedNetwork()&&e.length===0)return this.renderDefaultCardIcon();let a=this.getDetectedNetwork()||(e.length>0?e[0]:null);if(!a)return this.renderDefaultCardIcon();let i=e.length>1;return i&&!Tc(e.map(o=>o.network))?p`<div class=\"network-selector-inline\">${e.map(o=>p`<div class=\"network-icon-container\"><img class=\"network-icon\" src=${this.getNetworkIconUrl(o)} alt=${o.displayName} /></div>`)}</div>`:p`<button ${Pt(this.buttonRef)} class=\"network-selector\" @click=${this.toggleDropdown} @keydown=${o=>{(o.key===\" \"||o.key===\"Enter\")&&i&&(o.preventDefault(),this.isDropdownOpen=!this.isDropdownOpen,this.isDropdownOpen&&(this.focusedNetworkIndex=this.getSelectedNetworkIndex()))}} aria-label=${i?`Selected card network: ${a.displayName}. Click to change.`:`Card network: ${a.displayName}`} aria-expanded=${i?this.isDropdownOpen:y} aria-haspopup=${i?\"true\":y} aria-controls=${i?\"network-dropdown\":y} ><img class=\"network-icon\" src=${this.getNetworkIconUrl(a)} alt=${a.displayName} />${R(i,()=>p`<primer-icon class=\"caret ${this.isDropdownOpen?\"open\":\"\"}\" size=\"sm\" name=\"chevron-down\" ></primer-icon>`,()=>y)}</button>${R(this.isDropdownOpen,()=>p`<div ${Pt(this.dropdownRef)} id=\"network-dropdown\" class=\"dropdown open\" role=\"listbox\" aria-label=\"Select card network\" >${e.map((o,s)=>p`<div ${Pt(l=>this.setNetworkOptionRef(l,s))} class=\"network-option ${this.isKeyboardNavigation&&s===this.focusedNetworkIndex?\"focused\":\"\"}\" @click=${l=>this.selectNetwork(l,o)} @keydown=${l=>{(l.key===\"Enter\"||l.key===\" \")&&this.selectNetwork(l,o)}} role=\"option\" aria-selected=${o.network===a.network} tabindex=\"${s===this.focusedNetworkIndex?\"0\":\"-1\"}\" ><img class=\"network-option-icon\" src=${this.getNetworkIconUrl(o)} alt=${o.displayName} /><span class=\"network-name\">${o.displayName}</span>${R(o.network===a.network,()=>p`<primer-icon class=\"checkmark\" name=\"checkmark\" size=\"sm\" ></primer-icon>`,()=>y)}</div>`)}</div>`,()=>y)} `}}"
|
|
275
271
|
},
|
|
276
272
|
{
|
|
277
273
|
"kind": "variable",
|
|
278
|
-
"name": "
|
|
274
|
+
"name": "Oe",
|
|
279
275
|
"default": "class extends v{constructor(){super(...arguments);this.vaultManager=null;this.contextEventsController=null;this.hasSlottedToggle=!1;this.isExpanded=!1;this._isHandlingContextEvent=!1;this._contextToggleListener=null;this.handleToggleSlotChange=e=>{let i=e.target.assignedNodes({flatten:!0});this.hasSlottedToggle=i.length>0};this.handleSlotButtonClick=e=>{let i=e.target.closest(\"button, primer-button\");if(!i)return;let n=i;this.isToggleButton(n)&&(e.preventDefault(),this.toggleAccordion())};this.handleDirectToggle=e=>{let a=e.detail?.action;a===\"expand\"?this.expand():a===\"collapse\"?this.collapse():this.toggleAccordion()};this.handleContextToggle=e=>{if(!this._isHandlingContextEvent){this._isHandlingContextEvent=!0;try{if(e.target!==this){e.stopPropagation();let a=e.detail?.action;a===\"expand\"?this.expand():a===\"collapse\"?this.collapse():this.toggleAccordion()}}finally{this._isHandlingContextEvent=!1}}}}isToggleButton(e){let a=this.shadowRoot?.querySelector('slot[name=\"show-other-payments-toggle-button\"]');return a?a.assignedElements({flatten:!0}).some(n=>n===e||n.contains(e)):!1}toggleAccordion(){this.hasSlottedToggle?(this.isExpanded=!this.isExpanded,this.dispatchExpandedEvent(this.isExpanded)):this.collapsableElement&&(this.collapsableElement.isExpanded?this.collapsableElement.collapse():this.collapsableElement.expand())}dispatchExpandedEvent(e){this.dispatchEvent(new CustomEvent(\"primer:show-other-payments-toggled\",{bubbles:!0,composed:!0,detail:{expanded:e}}))}expand(){this.hasSlottedToggle?this.isExpanded||(this.isExpanded=!0,this.dispatchExpandedEvent(!0)):this.collapsableElement?.expand()}collapse(){this.hasSlottedToggle?this.isExpanded&&(this.isExpanded=!1,this.dispatchExpandedEvent(!1)):this.collapsableElement?.collapse()}setupContextEventListeners(){this.contextEventsController?.host&&this._contextToggleListener&&this.contextEventsController.host.addEventListener(\"primer:show-other-payments-toggle\",this._contextToggleListener)}cleanupContextEventListeners(){this.contextEventsController?.host&&this._contextToggleListener&&this.contextEventsController.host.removeEventListener(\"primer:show-other-payments-toggle\",this._contextToggleListener)}connectedCallback(){super.connectedCallback(),this.isExpanded=this.vaultManager?.vaultedPaymentMethods.length===0,this.addEventListener(\"click\",this.handleSlotButtonClick),this.addEventListener(\"primer:show-other-payments-toggle\",this.handleDirectToggle),this._contextToggleListener=e=>{this.handleContextToggle(e)},this.setupContextEventListeners()}disconnectedCallback(){this.removeEventListener(\"click\",this.handleSlotButtonClick),this.removeEventListener(\"primer:show-other-payments-toggle\",this.handleDirectToggle),this.cleanupContextEventListeners(),super.disconnectedCallback()}render(){if(this.vaultManager?.isLoading)return y;let e=this.vaultManager?.showEmptyState||this.vaultManager?.vaultedPaymentMethods.length;return!this.vaultManager||!this.vaultManager.enabled||this.vaultManager.headless||!e?p`<slot name=\"other-payments\"></slot>`:p`<div class=\"other-payment-methods-container\"><slot name=\"show-other-payments-toggle-button\" @slotchange=${this.handleToggleSlotChange} ></slot>${R(!this.hasSlottedToggle,()=>p`<primer-collapsable buttonVariant=\"secondary\" .expanded=\"${this.vaultManager?.vaultedPaymentMethods.length===0}\" .header=\"${b(\"navigateToPaymentMethods\",{id:\"navigateToPaymentMethods\"})}\" ><div class=\"other-payment-methods-content\"><slot name=\"other-payments\"></slot></div></primer-collapsable>`,()=>p`<div class=\"collapsable-wrapper ${this.isExpanded?\"expanded\":\"\"}\" role=\"region\" aria-labelledby=\"custom-toggle-button\" ><div class=\"collapsable-content\"><div class=\"other-payment-methods-content\"><slot name=\"other-payments\"></slot></div></div></div>`)}</div>`}}"
|
|
280
276
|
},
|
|
281
277
|
{
|
|
282
278
|
"kind": "variable",
|
|
283
|
-
"name": "
|
|
279
|
+
"name": "ha",
|
|
284
280
|
"default": "class extends v{render(){return p`<primer-checkout-state type=\"complete\"></primer-checkout-state>`}}"
|
|
285
281
|
},
|
|
286
282
|
{
|
|
287
283
|
"kind": "variable",
|
|
288
|
-
"name": "
|
|
284
|
+
"name": "Wt",
|
|
289
285
|
"default": "class extends v{constructor(){super(...arguments);this.sdkState=null}render(){return p`<primer-checkout-state type=\"failure\" description=${this.sdkState?.primerJsError?.message||\"\"} ></primer-checkout-state>`}}"
|
|
290
286
|
},
|
|
291
287
|
{
|
|
292
288
|
"kind": "variable",
|
|
293
|
-
"name": "
|
|
289
|
+
"name": "ht",
|
|
294
290
|
"default": "class extends v{constructor(){super(...arguments);this.showProcessingErrors=!0}get shouldShowError(){return!this.sdkState||this.sdkState.isProcessing?!1:!!(this.sdkState.paymentFailure&&this.showProcessingErrors)}render(){return this.sdkState?p`<primer-error-message message=\"${b(this.sdkState.paymentFailure?.message??\"\",{id:\"tokenizationError\"})}\" ?visible=\"${this.shouldShowError}\" ></primer-error-message>`:y}}"
|
|
295
291
|
},
|
|
296
292
|
{
|
|
297
293
|
"kind": "variable",
|
|
298
|
-
"name": "
|
|
299
|
-
"default": "class extends v{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;this.clientOptions=null}render(){return this.sdkState?.isSuccessful?p`<slot name=\"checkout-complete\"><primer-checkout-complete></primer-checkout-complete></slot>`:p`<slot name=\"payments\" @slotchange=${this.onSlotChange}></slot>${R(this.hasAssignedContent,()=>y,()=>p`<div class=${
|
|
294
|
+
"name": "at",
|
|
295
|
+
"default": "class extends v{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;this.clientOptions=null}render(){return this.sdkState?.isSuccessful?p`<slot name=\"checkout-complete\"><primer-checkout-complete></primer-checkout-complete></slot>`:p`<slot name=\"payments\" @slotchange=${this.onSlotChange}></slot>${R(this.hasAssignedContent,()=>y,()=>p`<div class=${se({\"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?.map(e=>p`<primer-payment-method type=${e.type} ?disabled=${this.clientOptions?.disabledPayments===!0} ></primer-payment-method>`)}</div></primer-show-other-payments><primer-error-message-container></primer-error-message-container></div>`)} `}}"
|
|
300
296
|
},
|
|
301
297
|
{
|
|
302
298
|
"kind": "function",
|
|
303
|
-
"name": "
|
|
299
|
+
"name": "aG"
|
|
304
300
|
}
|
|
305
301
|
],
|
|
306
302
|
"exports": [
|
|
@@ -324,7 +320,7 @@
|
|
|
324
320
|
"kind": "js",
|
|
325
321
|
"name": "AchPayment",
|
|
326
322
|
"declaration": {
|
|
327
|
-
"name": "
|
|
323
|
+
"name": "Ie",
|
|
328
324
|
"module": "dist/primer-loader.js"
|
|
329
325
|
}
|
|
330
326
|
},
|
|
@@ -332,7 +328,7 @@
|
|
|
332
328
|
"kind": "js",
|
|
333
329
|
"name": "ApplePay",
|
|
334
330
|
"declaration": {
|
|
335
|
-
"name": "
|
|
331
|
+
"name": "Qe",
|
|
336
332
|
"module": "dist/primer-loader.js"
|
|
337
333
|
}
|
|
338
334
|
},
|
|
@@ -340,7 +336,7 @@
|
|
|
340
336
|
"kind": "js",
|
|
341
337
|
"name": "BillingAddress",
|
|
342
338
|
"declaration": {
|
|
343
|
-
"name": "
|
|
339
|
+
"name": "de",
|
|
344
340
|
"module": "dist/primer-loader.js"
|
|
345
341
|
}
|
|
346
342
|
},
|
|
@@ -348,7 +344,7 @@
|
|
|
348
344
|
"kind": "js",
|
|
349
345
|
"name": "Blik",
|
|
350
346
|
"declaration": {
|
|
351
|
-
"name": "
|
|
347
|
+
"name": "Ee",
|
|
352
348
|
"module": "dist/primer-loader.js"
|
|
353
349
|
}
|
|
354
350
|
},
|
|
@@ -356,7 +352,7 @@
|
|
|
356
352
|
"kind": "js",
|
|
357
353
|
"name": "Button",
|
|
358
354
|
"declaration": {
|
|
359
|
-
"name": "
|
|
355
|
+
"name": "Ae",
|
|
360
356
|
"module": "dist/primer-loader.js"
|
|
361
357
|
}
|
|
362
358
|
},
|
|
@@ -364,7 +360,7 @@
|
|
|
364
360
|
"kind": "js",
|
|
365
361
|
"name": "CardForm",
|
|
366
362
|
"declaration": {
|
|
367
|
-
"name": "
|
|
363
|
+
"name": "ne",
|
|
368
364
|
"module": "dist/primer-loader.js"
|
|
369
365
|
}
|
|
370
366
|
},
|
|
@@ -372,7 +368,7 @@
|
|
|
372
368
|
"kind": "js",
|
|
373
369
|
"name": "CardFormCVV",
|
|
374
370
|
"declaration": {
|
|
375
|
-
"name": "
|
|
371
|
+
"name": "ut",
|
|
376
372
|
"module": "dist/primer-loader.js"
|
|
377
373
|
}
|
|
378
374
|
},
|
|
@@ -380,7 +376,7 @@
|
|
|
380
376
|
"kind": "js",
|
|
381
377
|
"name": "CardFormCardNetworkSelector",
|
|
382
378
|
"declaration": {
|
|
383
|
-
"name": "
|
|
379
|
+
"name": "he",
|
|
384
380
|
"module": "dist/primer-loader.js"
|
|
385
381
|
}
|
|
386
382
|
},
|
|
@@ -388,7 +384,7 @@
|
|
|
388
384
|
"kind": "js",
|
|
389
385
|
"name": "CardFormCardNumber",
|
|
390
386
|
"declaration": {
|
|
391
|
-
"name": "
|
|
387
|
+
"name": "ct",
|
|
392
388
|
"module": "dist/primer-loader.js"
|
|
393
389
|
}
|
|
394
390
|
},
|
|
@@ -396,7 +392,7 @@
|
|
|
396
392
|
"kind": "js",
|
|
397
393
|
"name": "CardFormError",
|
|
398
394
|
"declaration": {
|
|
399
|
-
"name": "
|
|
395
|
+
"name": "st",
|
|
400
396
|
"module": "dist/primer-loader.js"
|
|
401
397
|
}
|
|
402
398
|
},
|
|
@@ -404,7 +400,7 @@
|
|
|
404
400
|
"kind": "js",
|
|
405
401
|
"name": "CardFormExpiry",
|
|
406
402
|
"declaration": {
|
|
407
|
-
"name": "
|
|
403
|
+
"name": "pt",
|
|
408
404
|
"module": "dist/primer-loader.js"
|
|
409
405
|
}
|
|
410
406
|
},
|
|
@@ -412,7 +408,7 @@
|
|
|
412
408
|
"kind": "js",
|
|
413
409
|
"name": "CardFormName",
|
|
414
410
|
"declaration": {
|
|
415
|
-
"name": "
|
|
411
|
+
"name": "mt",
|
|
416
412
|
"module": "dist/primer-loader.js"
|
|
417
413
|
}
|
|
418
414
|
},
|
|
@@ -420,7 +416,7 @@
|
|
|
420
416
|
"kind": "js",
|
|
421
417
|
"name": "CardFormSubmit",
|
|
422
418
|
"declaration": {
|
|
423
|
-
"name": "
|
|
419
|
+
"name": "ae",
|
|
424
420
|
"module": "dist/primer-loader.js"
|
|
425
421
|
}
|
|
426
422
|
},
|
|
@@ -428,7 +424,7 @@
|
|
|
428
424
|
"kind": "js",
|
|
429
425
|
"name": "Collapsable",
|
|
430
426
|
"declaration": {
|
|
431
|
-
"name": "
|
|
427
|
+
"name": "Me",
|
|
432
428
|
"module": "dist/primer-loader.js"
|
|
433
429
|
}
|
|
434
430
|
},
|
|
@@ -436,7 +432,7 @@
|
|
|
436
432
|
"kind": "js",
|
|
437
433
|
"name": "Dialog",
|
|
438
434
|
"declaration": {
|
|
439
|
-
"name": "
|
|
435
|
+
"name": "Ve",
|
|
440
436
|
"module": "dist/primer-loader.js"
|
|
441
437
|
}
|
|
442
438
|
},
|
|
@@ -444,7 +440,7 @@
|
|
|
444
440
|
"kind": "js",
|
|
445
441
|
"name": "DynamicPayment",
|
|
446
442
|
"declaration": {
|
|
447
|
-
"name": "
|
|
443
|
+
"name": "we",
|
|
448
444
|
"module": "dist/primer-loader.js"
|
|
449
445
|
}
|
|
450
446
|
},
|
|
@@ -452,7 +448,7 @@
|
|
|
452
448
|
"kind": "js",
|
|
453
449
|
"name": "ErrorMessage",
|
|
454
450
|
"declaration": {
|
|
455
|
-
"name": "
|
|
451
|
+
"name": "Je",
|
|
456
452
|
"module": "dist/primer-loader.js"
|
|
457
453
|
}
|
|
458
454
|
},
|
|
@@ -460,7 +456,7 @@
|
|
|
460
456
|
"kind": "js",
|
|
461
457
|
"name": "ErrorMessageContainer",
|
|
462
458
|
"declaration": {
|
|
463
|
-
"name": "
|
|
459
|
+
"name": "ht",
|
|
464
460
|
"module": "dist/primer-loader.js"
|
|
465
461
|
}
|
|
466
462
|
},
|
|
@@ -468,7 +464,7 @@
|
|
|
468
464
|
"kind": "js",
|
|
469
465
|
"name": "GooglePay",
|
|
470
466
|
"declaration": {
|
|
471
|
-
"name": "
|
|
467
|
+
"name": "qe",
|
|
472
468
|
"module": "dist/primer-loader.js"
|
|
473
469
|
}
|
|
474
470
|
},
|
|
@@ -484,7 +480,7 @@
|
|
|
484
480
|
"kind": "js",
|
|
485
481
|
"name": "InputLabel",
|
|
486
482
|
"declaration": {
|
|
487
|
-
"name": "
|
|
483
|
+
"name": "ot",
|
|
488
484
|
"module": "dist/primer-loader.js"
|
|
489
485
|
}
|
|
490
486
|
},
|
|
@@ -492,7 +488,7 @@
|
|
|
492
488
|
"kind": "js",
|
|
493
489
|
"name": "InputWrapper",
|
|
494
490
|
"declaration": {
|
|
495
|
-
"name": "
|
|
491
|
+
"name": "We",
|
|
496
492
|
"module": "dist/primer-loader.js"
|
|
497
493
|
}
|
|
498
494
|
},
|
|
@@ -500,7 +496,7 @@
|
|
|
500
496
|
"kind": "js",
|
|
501
497
|
"name": "PayPal",
|
|
502
498
|
"declaration": {
|
|
503
|
-
"name": "
|
|
499
|
+
"name": "Xe",
|
|
504
500
|
"module": "dist/primer-loader.js"
|
|
505
501
|
}
|
|
506
502
|
},
|
|
@@ -508,7 +504,7 @@
|
|
|
508
504
|
"kind": "js",
|
|
509
505
|
"name": "PaymentMethod",
|
|
510
506
|
"declaration": {
|
|
511
|
-
"name": "
|
|
507
|
+
"name": "Ue",
|
|
512
508
|
"module": "dist/primer-loader.js"
|
|
513
509
|
}
|
|
514
510
|
},
|
|
@@ -516,7 +512,7 @@
|
|
|
516
512
|
"kind": "js",
|
|
517
513
|
"name": "PaymentMethodContainer",
|
|
518
514
|
"declaration": {
|
|
519
|
-
"name": "
|
|
515
|
+
"name": "xe",
|
|
520
516
|
"module": "dist/primer-loader.js"
|
|
521
517
|
}
|
|
522
518
|
},
|
|
@@ -524,7 +520,7 @@
|
|
|
524
520
|
"kind": "js",
|
|
525
521
|
"name": "PaymentMethodContentComponent",
|
|
526
522
|
"declaration": {
|
|
527
|
-
"name": "
|
|
523
|
+
"name": "tt",
|
|
528
524
|
"module": "dist/primer-loader.js"
|
|
529
525
|
}
|
|
530
526
|
},
|
|
@@ -532,7 +528,7 @@
|
|
|
532
528
|
"kind": "js",
|
|
533
529
|
"name": "Portal",
|
|
534
530
|
"declaration": {
|
|
535
|
-
"name": "
|
|
531
|
+
"name": "Et",
|
|
536
532
|
"module": "dist/primer-loader.js"
|
|
537
533
|
}
|
|
538
534
|
},
|
|
@@ -540,7 +536,7 @@
|
|
|
540
536
|
"kind": "js",
|
|
541
537
|
"name": "PortalDialog",
|
|
542
538
|
"declaration": {
|
|
543
|
-
"name": "
|
|
539
|
+
"name": "oe",
|
|
544
540
|
"module": "dist/primer-loader.js"
|
|
545
541
|
}
|
|
546
542
|
},
|
|
@@ -548,7 +544,7 @@
|
|
|
548
544
|
"kind": "js",
|
|
549
545
|
"name": "PrimerCheckoutComplete",
|
|
550
546
|
"declaration": {
|
|
551
|
-
"name": "
|
|
547
|
+
"name": "ha",
|
|
552
548
|
"module": "dist/primer-loader.js"
|
|
553
549
|
}
|
|
554
550
|
},
|
|
@@ -556,7 +552,7 @@
|
|
|
556
552
|
"kind": "js",
|
|
557
553
|
"name": "PrimerCheckoutComponent",
|
|
558
554
|
"declaration": {
|
|
559
|
-
"name": "
|
|
555
|
+
"name": "Ne",
|
|
560
556
|
"module": "dist/primer-loader.js"
|
|
561
557
|
}
|
|
562
558
|
},
|
|
@@ -564,7 +560,7 @@
|
|
|
564
560
|
"kind": "js",
|
|
565
561
|
"name": "PrimerCheckoutFailure",
|
|
566
562
|
"declaration": {
|
|
567
|
-
"name": "
|
|
563
|
+
"name": "Wt",
|
|
568
564
|
"module": "dist/primer-loader.js"
|
|
569
565
|
}
|
|
570
566
|
},
|
|
@@ -572,7 +568,7 @@
|
|
|
572
568
|
"kind": "js",
|
|
573
569
|
"name": "PrimerCheckoutState",
|
|
574
570
|
"declaration": {
|
|
575
|
-
"name": "
|
|
571
|
+
"name": "lt",
|
|
576
572
|
"module": "dist/primer-loader.js"
|
|
577
573
|
}
|
|
578
574
|
},
|
|
@@ -580,7 +576,7 @@
|
|
|
580
576
|
"kind": "js",
|
|
581
577
|
"name": "PrimerIcon",
|
|
582
578
|
"declaration": {
|
|
583
|
-
"name": "
|
|
579
|
+
"name": "Ze",
|
|
584
580
|
"module": "dist/primer-loader.js"
|
|
585
581
|
}
|
|
586
582
|
},
|
|
@@ -588,7 +584,7 @@
|
|
|
588
584
|
"kind": "js",
|
|
589
585
|
"name": "PrimerKlarna",
|
|
590
586
|
"declaration": {
|
|
591
|
-
"name": "
|
|
587
|
+
"name": "le",
|
|
592
588
|
"module": "dist/primer-loader.js"
|
|
593
589
|
}
|
|
594
590
|
},
|
|
@@ -596,7 +592,7 @@
|
|
|
596
592
|
"kind": "js",
|
|
597
593
|
"name": "PrimerMain",
|
|
598
594
|
"declaration": {
|
|
599
|
-
"name": "
|
|
595
|
+
"name": "at",
|
|
600
596
|
"module": "dist/primer-loader.js"
|
|
601
597
|
}
|
|
602
598
|
},
|
|
@@ -604,7 +600,7 @@
|
|
|
604
600
|
"kind": "js",
|
|
605
601
|
"name": "RedirectPayment",
|
|
606
602
|
"declaration": {
|
|
607
|
-
"name": "
|
|
603
|
+
"name": "De",
|
|
608
604
|
"module": "dist/primer-loader.js"
|
|
609
605
|
}
|
|
610
606
|
},
|
|
@@ -612,7 +608,7 @@
|
|
|
612
608
|
"kind": "js",
|
|
613
609
|
"name": "Select",
|
|
614
610
|
"declaration": {
|
|
615
|
-
"name": "
|
|
611
|
+
"name": "Ce",
|
|
616
612
|
"module": "dist/primer-loader.js"
|
|
617
613
|
}
|
|
618
614
|
},
|
|
@@ -620,7 +616,7 @@
|
|
|
620
616
|
"kind": "js",
|
|
621
617
|
"name": "ShowOtherPayments",
|
|
622
618
|
"declaration": {
|
|
623
|
-
"name": "
|
|
619
|
+
"name": "Oe",
|
|
624
620
|
"module": "dist/primer-loader.js"
|
|
625
621
|
}
|
|
626
622
|
},
|
|
@@ -628,7 +624,7 @@
|
|
|
628
624
|
"kind": "js",
|
|
629
625
|
"name": "Spinner",
|
|
630
626
|
"declaration": {
|
|
631
|
-
"name": "
|
|
627
|
+
"name": "je",
|
|
632
628
|
"module": "dist/primer-loader.js"
|
|
633
629
|
}
|
|
634
630
|
},
|
|
@@ -636,7 +632,7 @@
|
|
|
636
632
|
"kind": "js",
|
|
637
633
|
"name": "VaultCvvInput",
|
|
638
634
|
"declaration": {
|
|
639
|
-
"name": "
|
|
635
|
+
"name": "te",
|
|
640
636
|
"module": "dist/primer-loader.js"
|
|
641
637
|
}
|
|
642
638
|
},
|
|
@@ -644,7 +640,7 @@
|
|
|
644
640
|
"kind": "js",
|
|
645
641
|
"name": "VaultDeleteConfirmation",
|
|
646
642
|
"declaration": {
|
|
647
|
-
"name": "
|
|
643
|
+
"name": "ke",
|
|
648
644
|
"module": "dist/primer-loader.js"
|
|
649
645
|
}
|
|
650
646
|
},
|
|
@@ -652,7 +648,7 @@
|
|
|
652
648
|
"kind": "js",
|
|
653
649
|
"name": "VaultEmptyState",
|
|
654
650
|
"declaration": {
|
|
655
|
-
"name": "
|
|
651
|
+
"name": "dt",
|
|
656
652
|
"module": "dist/primer-loader.js"
|
|
657
653
|
}
|
|
658
654
|
},
|
|
@@ -660,7 +656,7 @@
|
|
|
660
656
|
"kind": "js",
|
|
661
657
|
"name": "VaultErrorMessage",
|
|
662
658
|
"declaration": {
|
|
663
|
-
"name": "
|
|
659
|
+
"name": "et",
|
|
664
660
|
"module": "dist/primer-loader.js"
|
|
665
661
|
}
|
|
666
662
|
},
|
|
@@ -668,7 +664,7 @@
|
|
|
668
664
|
"kind": "js",
|
|
669
665
|
"name": "VaultManager",
|
|
670
666
|
"declaration": {
|
|
671
|
-
"name": "
|
|
667
|
+
"name": "ee",
|
|
672
668
|
"module": "dist/primer-loader.js"
|
|
673
669
|
}
|
|
674
670
|
},
|
|
@@ -676,7 +672,7 @@
|
|
|
676
672
|
"kind": "js",
|
|
677
673
|
"name": "VaultManagerHeader",
|
|
678
674
|
"declaration": {
|
|
679
|
-
"name": "
|
|
675
|
+
"name": "He",
|
|
680
676
|
"module": "dist/primer-loader.js"
|
|
681
677
|
}
|
|
682
678
|
},
|
|
@@ -684,7 +680,7 @@
|
|
|
684
680
|
"kind": "js",
|
|
685
681
|
"name": "VaultPaymentMethodItem",
|
|
686
682
|
"declaration": {
|
|
687
|
-
"name": "
|
|
683
|
+
"name": "Te",
|
|
688
684
|
"module": "dist/primer-loader.js"
|
|
689
685
|
}
|
|
690
686
|
},
|
|
@@ -692,7 +688,7 @@
|
|
|
692
688
|
"kind": "js",
|
|
693
689
|
"name": "VaultPaymentSubmit",
|
|
694
690
|
"declaration": {
|
|
695
|
-
"name": "
|
|
691
|
+
"name": "ie",
|
|
696
692
|
"module": "dist/primer-loader.js"
|
|
697
693
|
}
|
|
698
694
|
},
|
|
@@ -700,7 +696,7 @@
|
|
|
700
696
|
"kind": "js",
|
|
701
697
|
"name": "injectDarkTheme",
|
|
702
698
|
"declaration": {
|
|
703
|
-
"name": "
|
|
699
|
+
"name": "Om",
|
|
704
700
|
"module": "dist/primer-loader.js"
|
|
705
701
|
}
|
|
706
702
|
},
|
|
@@ -708,7 +704,7 @@
|
|
|
708
704
|
"kind": "js",
|
|
709
705
|
"name": "injectLightTheme",
|
|
710
706
|
"declaration": {
|
|
711
|
-
"name": "
|
|
707
|
+
"name": "Dm",
|
|
712
708
|
"module": "dist/primer-loader.js"
|
|
713
709
|
}
|
|
714
710
|
},
|
|
@@ -716,7 +712,7 @@
|
|
|
716
712
|
"kind": "js",
|
|
717
713
|
"name": "injectLoaderStyles",
|
|
718
714
|
"declaration": {
|
|
719
|
-
"name": "
|
|
715
|
+
"name": "dl",
|
|
720
716
|
"module": "dist/primer-loader.js"
|
|
721
717
|
}
|
|
722
718
|
},
|
|
@@ -724,7 +720,7 @@
|
|
|
724
720
|
"kind": "js",
|
|
725
721
|
"name": "injectThemeStyles",
|
|
726
722
|
"declaration": {
|
|
727
|
-
"name": "
|
|
723
|
+
"name": "cl",
|
|
728
724
|
"module": "dist/primer-loader.js"
|
|
729
725
|
}
|
|
730
726
|
},
|
|
@@ -732,7 +728,7 @@
|
|
|
732
728
|
"kind": "js",
|
|
733
729
|
"name": "loadPrimer",
|
|
734
730
|
"declaration": {
|
|
735
|
-
"name": "
|
|
731
|
+
"name": "aG",
|
|
736
732
|
"module": "dist/primer-loader.js"
|
|
737
733
|
}
|
|
738
734
|
}
|
|
@@ -1655,7 +1651,7 @@
|
|
|
1655
1651
|
},
|
|
1656
1652
|
{
|
|
1657
1653
|
"kind": "javascript-module",
|
|
1658
|
-
"path": "dist/chunks/ar.
|
|
1654
|
+
"path": "dist/chunks/ar.4ZFBST5B.js",
|
|
1659
1655
|
"declarations": [
|
|
1660
1656
|
{
|
|
1661
1657
|
"kind": "variable",
|
|
@@ -1669,14 +1665,14 @@
|
|
|
1669
1665
|
"name": "templates",
|
|
1670
1666
|
"declaration": {
|
|
1671
1667
|
"name": "o",
|
|
1672
|
-
"module": "dist/chunks/ar.
|
|
1668
|
+
"module": "dist/chunks/ar.4ZFBST5B.js"
|
|
1673
1669
|
}
|
|
1674
1670
|
}
|
|
1675
1671
|
]
|
|
1676
1672
|
},
|
|
1677
1673
|
{
|
|
1678
1674
|
"kind": "javascript-module",
|
|
1679
|
-
"path": "dist/chunks/bg.
|
|
1675
|
+
"path": "dist/chunks/bg.A6DFGUKU.js",
|
|
1680
1676
|
"declarations": [
|
|
1681
1677
|
{
|
|
1682
1678
|
"kind": "variable",
|
|
@@ -1690,14 +1686,14 @@
|
|
|
1690
1686
|
"name": "templates",
|
|
1691
1687
|
"declaration": {
|
|
1692
1688
|
"name": "o",
|
|
1693
|
-
"module": "dist/chunks/bg.
|
|
1689
|
+
"module": "dist/chunks/bg.A6DFGUKU.js"
|
|
1694
1690
|
}
|
|
1695
1691
|
}
|
|
1696
1692
|
]
|
|
1697
1693
|
},
|
|
1698
1694
|
{
|
|
1699
1695
|
"kind": "javascript-module",
|
|
1700
|
-
"path": "dist/chunks/ca.
|
|
1696
|
+
"path": "dist/chunks/ca.3MVWILFG.js",
|
|
1701
1697
|
"declarations": [
|
|
1702
1698
|
{
|
|
1703
1699
|
"kind": "variable",
|
|
@@ -1711,7 +1707,7 @@
|
|
|
1711
1707
|
"name": "templates",
|
|
1712
1708
|
"declaration": {
|
|
1713
1709
|
"name": "i",
|
|
1714
|
-
"module": "dist/chunks/ca.
|
|
1710
|
+
"module": "dist/chunks/ca.3MVWILFG.js"
|
|
1715
1711
|
}
|
|
1716
1712
|
}
|
|
1717
1713
|
]
|
|
@@ -1742,35 +1738,62 @@
|
|
|
1742
1738
|
},
|
|
1743
1739
|
{
|
|
1744
1740
|
"kind": "javascript-module",
|
|
1745
|
-
"path": "dist/chunks/chunk.
|
|
1741
|
+
"path": "dist/chunks/chunk.QNO3CTH5.js",
|
|
1746
1742
|
"declarations": [
|
|
1747
1743
|
{
|
|
1748
1744
|
"kind": "function",
|
|
1749
|
-
"name": "
|
|
1745
|
+
"name": "p",
|
|
1750
1746
|
"parameters": [
|
|
1751
1747
|
{
|
|
1752
|
-
"name": "
|
|
1748
|
+
"name": "b"
|
|
1753
1749
|
}
|
|
1754
1750
|
]
|
|
1755
1751
|
},
|
|
1756
1752
|
{
|
|
1757
1753
|
"kind": "variable",
|
|
1758
|
-
"name": "
|
|
1759
|
-
"default": "
|
|
1754
|
+
"name": "c",
|
|
1755
|
+
"default": "b[a]"
|
|
1760
1756
|
},
|
|
1761
1757
|
{
|
|
1762
1758
|
"kind": "function",
|
|
1763
|
-
"name": "
|
|
1759
|
+
"name": "q",
|
|
1764
1760
|
"parameters": [
|
|
1765
1761
|
{
|
|
1766
|
-
"name": "
|
|
1762
|
+
"name": "b"
|
|
1763
|
+
},
|
|
1764
|
+
{
|
|
1765
|
+
"name": "a"
|
|
1766
|
+
}
|
|
1767
|
+
]
|
|
1768
|
+
},
|
|
1769
|
+
{
|
|
1770
|
+
"kind": "function",
|
|
1771
|
+
"name": "r",
|
|
1772
|
+
"parameters": [
|
|
1773
|
+
{
|
|
1774
|
+
"name": "b"
|
|
1767
1775
|
},
|
|
1768
1776
|
{
|
|
1769
1777
|
"name": "a"
|
|
1770
1778
|
},
|
|
1779
|
+
{
|
|
1780
|
+
"name": "c"
|
|
1781
|
+
}
|
|
1782
|
+
]
|
|
1783
|
+
},
|
|
1784
|
+
{
|
|
1785
|
+
"kind": "function",
|
|
1786
|
+
"name": "s",
|
|
1787
|
+
"parameters": [
|
|
1771
1788
|
{
|
|
1772
1789
|
"name": "b"
|
|
1773
1790
|
},
|
|
1791
|
+
{
|
|
1792
|
+
"name": "a"
|
|
1793
|
+
},
|
|
1794
|
+
{
|
|
1795
|
+
"name": "c"
|
|
1796
|
+
},
|
|
1774
1797
|
{
|
|
1775
1798
|
"name": "e"
|
|
1776
1799
|
}
|
|
@@ -1778,16 +1801,16 @@
|
|
|
1778
1801
|
},
|
|
1779
1802
|
{
|
|
1780
1803
|
"kind": "function",
|
|
1781
|
-
"name": "
|
|
1804
|
+
"name": "t",
|
|
1782
1805
|
"parameters": [
|
|
1783
1806
|
{
|
|
1784
|
-
"name": "
|
|
1807
|
+
"name": "b"
|
|
1785
1808
|
},
|
|
1786
1809
|
{
|
|
1787
1810
|
"name": "a"
|
|
1788
1811
|
},
|
|
1789
1812
|
{
|
|
1790
|
-
"name": "
|
|
1813
|
+
"name": "c"
|
|
1791
1814
|
}
|
|
1792
1815
|
]
|
|
1793
1816
|
}
|
|
@@ -1797,31 +1820,47 @@
|
|
|
1797
1820
|
"kind": "js",
|
|
1798
1821
|
"name": "a",
|
|
1799
1822
|
"declaration": {
|
|
1800
|
-
"name": "
|
|
1801
|
-
"module": "dist/chunks/chunk.
|
|
1823
|
+
"name": "p",
|
|
1824
|
+
"module": "dist/chunks/chunk.QNO3CTH5.js"
|
|
1802
1825
|
}
|
|
1803
1826
|
},
|
|
1804
1827
|
{
|
|
1805
1828
|
"kind": "js",
|
|
1806
1829
|
"name": "b",
|
|
1807
1830
|
"declaration": {
|
|
1808
|
-
"name": "
|
|
1809
|
-
"module": "dist/chunks/chunk.
|
|
1831
|
+
"name": "q",
|
|
1832
|
+
"module": "dist/chunks/chunk.QNO3CTH5.js"
|
|
1810
1833
|
}
|
|
1811
1834
|
},
|
|
1812
1835
|
{
|
|
1813
1836
|
"kind": "js",
|
|
1814
1837
|
"name": "c",
|
|
1815
1838
|
"declaration": {
|
|
1816
|
-
"name": "
|
|
1817
|
-
"module": "dist/chunks/chunk.
|
|
1839
|
+
"name": "r",
|
|
1840
|
+
"module": "dist/chunks/chunk.QNO3CTH5.js"
|
|
1841
|
+
}
|
|
1842
|
+
},
|
|
1843
|
+
{
|
|
1844
|
+
"kind": "js",
|
|
1845
|
+
"name": "d",
|
|
1846
|
+
"declaration": {
|
|
1847
|
+
"name": "s",
|
|
1848
|
+
"module": "dist/chunks/chunk.QNO3CTH5.js"
|
|
1849
|
+
}
|
|
1850
|
+
},
|
|
1851
|
+
{
|
|
1852
|
+
"kind": "js",
|
|
1853
|
+
"name": "e",
|
|
1854
|
+
"declaration": {
|
|
1855
|
+
"name": "t",
|
|
1856
|
+
"module": "dist/chunks/chunk.QNO3CTH5.js"
|
|
1818
1857
|
}
|
|
1819
1858
|
}
|
|
1820
1859
|
]
|
|
1821
1860
|
},
|
|
1822
1861
|
{
|
|
1823
1862
|
"kind": "javascript-module",
|
|
1824
|
-
"path": "dist/chunks/cs.
|
|
1863
|
+
"path": "dist/chunks/cs.INYY7XZR.js",
|
|
1825
1864
|
"declarations": [
|
|
1826
1865
|
{
|
|
1827
1866
|
"kind": "variable",
|
|
@@ -1835,14 +1874,14 @@
|
|
|
1835
1874
|
"name": "templates",
|
|
1836
1875
|
"declaration": {
|
|
1837
1876
|
"name": "n",
|
|
1838
|
-
"module": "dist/chunks/cs.
|
|
1877
|
+
"module": "dist/chunks/cs.INYY7XZR.js"
|
|
1839
1878
|
}
|
|
1840
1879
|
}
|
|
1841
1880
|
]
|
|
1842
1881
|
},
|
|
1843
1882
|
{
|
|
1844
1883
|
"kind": "javascript-module",
|
|
1845
|
-
"path": "dist/chunks/da.
|
|
1884
|
+
"path": "dist/chunks/da.Y5IIDRC3.js",
|
|
1846
1885
|
"declarations": [
|
|
1847
1886
|
{
|
|
1848
1887
|
"kind": "variable",
|
|
@@ -1856,14 +1895,14 @@
|
|
|
1856
1895
|
"name": "templates",
|
|
1857
1896
|
"declaration": {
|
|
1858
1897
|
"name": "a",
|
|
1859
|
-
"module": "dist/chunks/da.
|
|
1898
|
+
"module": "dist/chunks/da.Y5IIDRC3.js"
|
|
1860
1899
|
}
|
|
1861
1900
|
}
|
|
1862
1901
|
]
|
|
1863
1902
|
},
|
|
1864
1903
|
{
|
|
1865
1904
|
"kind": "javascript-module",
|
|
1866
|
-
"path": "dist/chunks/de.
|
|
1905
|
+
"path": "dist/chunks/de.JZT46DAB.js",
|
|
1867
1906
|
"declarations": [
|
|
1868
1907
|
{
|
|
1869
1908
|
"kind": "variable",
|
|
@@ -1877,14 +1916,14 @@
|
|
|
1877
1916
|
"name": "templates",
|
|
1878
1917
|
"declaration": {
|
|
1879
1918
|
"name": "t",
|
|
1880
|
-
"module": "dist/chunks/de.
|
|
1919
|
+
"module": "dist/chunks/de.JZT46DAB.js"
|
|
1881
1920
|
}
|
|
1882
1921
|
}
|
|
1883
1922
|
]
|
|
1884
1923
|
},
|
|
1885
1924
|
{
|
|
1886
1925
|
"kind": "javascript-module",
|
|
1887
|
-
"path": "dist/chunks/el.
|
|
1926
|
+
"path": "dist/chunks/el.FJQOSK4N.js",
|
|
1888
1927
|
"declarations": [
|
|
1889
1928
|
{
|
|
1890
1929
|
"kind": "variable",
|
|
@@ -1898,14 +1937,14 @@
|
|
|
1898
1937
|
"name": "templates",
|
|
1899
1938
|
"declaration": {
|
|
1900
1939
|
"name": "o",
|
|
1901
|
-
"module": "dist/chunks/el.
|
|
1940
|
+
"module": "dist/chunks/el.FJQOSK4N.js"
|
|
1902
1941
|
}
|
|
1903
1942
|
}
|
|
1904
1943
|
]
|
|
1905
1944
|
},
|
|
1906
1945
|
{
|
|
1907
1946
|
"kind": "javascript-module",
|
|
1908
|
-
"path": "dist/chunks/en-GB.
|
|
1947
|
+
"path": "dist/chunks/en-GB.TL522NMU.js",
|
|
1909
1948
|
"declarations": [
|
|
1910
1949
|
{
|
|
1911
1950
|
"kind": "variable",
|
|
@@ -1919,14 +1958,14 @@
|
|
|
1919
1958
|
"name": "templates",
|
|
1920
1959
|
"declaration": {
|
|
1921
1960
|
"name": "o",
|
|
1922
|
-
"module": "dist/chunks/en-GB.
|
|
1961
|
+
"module": "dist/chunks/en-GB.TL522NMU.js"
|
|
1923
1962
|
}
|
|
1924
1963
|
}
|
|
1925
1964
|
]
|
|
1926
1965
|
},
|
|
1927
1966
|
{
|
|
1928
1967
|
"kind": "javascript-module",
|
|
1929
|
-
"path": "dist/chunks/en.
|
|
1968
|
+
"path": "dist/chunks/en.JFPWSECQ.js",
|
|
1930
1969
|
"declarations": [
|
|
1931
1970
|
{
|
|
1932
1971
|
"kind": "variable",
|
|
@@ -1940,14 +1979,14 @@
|
|
|
1940
1979
|
"name": "templates",
|
|
1941
1980
|
"declaration": {
|
|
1942
1981
|
"name": "o",
|
|
1943
|
-
"module": "dist/chunks/en.
|
|
1982
|
+
"module": "dist/chunks/en.JFPWSECQ.js"
|
|
1944
1983
|
}
|
|
1945
1984
|
}
|
|
1946
1985
|
]
|
|
1947
1986
|
},
|
|
1948
1987
|
{
|
|
1949
1988
|
"kind": "javascript-module",
|
|
1950
|
-
"path": "dist/chunks/es-AR.
|
|
1989
|
+
"path": "dist/chunks/es-AR.GBZW2HPG.js",
|
|
1951
1990
|
"declarations": [
|
|
1952
1991
|
{
|
|
1953
1992
|
"kind": "variable",
|
|
@@ -1961,14 +2000,14 @@
|
|
|
1961
2000
|
"name": "templates",
|
|
1962
2001
|
"declaration": {
|
|
1963
2002
|
"name": "i",
|
|
1964
|
-
"module": "dist/chunks/es-AR.
|
|
2003
|
+
"module": "dist/chunks/es-AR.GBZW2HPG.js"
|
|
1965
2004
|
}
|
|
1966
2005
|
}
|
|
1967
2006
|
]
|
|
1968
2007
|
},
|
|
1969
2008
|
{
|
|
1970
2009
|
"kind": "javascript-module",
|
|
1971
|
-
"path": "dist/chunks/es-MX.
|
|
2010
|
+
"path": "dist/chunks/es-MX.NFJ7HXSV.js",
|
|
1972
2011
|
"declarations": [
|
|
1973
2012
|
{
|
|
1974
2013
|
"kind": "variable",
|
|
@@ -1982,14 +2021,14 @@
|
|
|
1982
2021
|
"name": "templates",
|
|
1983
2022
|
"declaration": {
|
|
1984
2023
|
"name": "t",
|
|
1985
|
-
"module": "dist/chunks/es-MX.
|
|
2024
|
+
"module": "dist/chunks/es-MX.NFJ7HXSV.js"
|
|
1986
2025
|
}
|
|
1987
2026
|
}
|
|
1988
2027
|
]
|
|
1989
2028
|
},
|
|
1990
2029
|
{
|
|
1991
2030
|
"kind": "javascript-module",
|
|
1992
|
-
"path": "dist/chunks/es.
|
|
2031
|
+
"path": "dist/chunks/es.FX4YBDVU.js",
|
|
1993
2032
|
"declarations": [
|
|
1994
2033
|
{
|
|
1995
2034
|
"kind": "variable",
|
|
@@ -2003,14 +2042,14 @@
|
|
|
2003
2042
|
"name": "templates",
|
|
2004
2043
|
"declaration": {
|
|
2005
2044
|
"name": "i",
|
|
2006
|
-
"module": "dist/chunks/es.
|
|
2045
|
+
"module": "dist/chunks/es.FX4YBDVU.js"
|
|
2007
2046
|
}
|
|
2008
2047
|
}
|
|
2009
2048
|
]
|
|
2010
2049
|
},
|
|
2011
2050
|
{
|
|
2012
2051
|
"kind": "javascript-module",
|
|
2013
|
-
"path": "dist/chunks/et-EE.
|
|
2052
|
+
"path": "dist/chunks/et-EE.JZD334EI.js",
|
|
2014
2053
|
"declarations": [
|
|
2015
2054
|
{
|
|
2016
2055
|
"kind": "variable",
|
|
@@ -2024,14 +2063,14 @@
|
|
|
2024
2063
|
"name": "templates",
|
|
2025
2064
|
"declaration": {
|
|
2026
2065
|
"name": "r",
|
|
2027
|
-
"module": "dist/chunks/et-EE.
|
|
2066
|
+
"module": "dist/chunks/et-EE.JZD334EI.js"
|
|
2028
2067
|
}
|
|
2029
2068
|
}
|
|
2030
2069
|
]
|
|
2031
2070
|
},
|
|
2032
2071
|
{
|
|
2033
2072
|
"kind": "javascript-module",
|
|
2034
|
-
"path": "dist/chunks/fi-FI.
|
|
2073
|
+
"path": "dist/chunks/fi-FI.SHTM3UQK.js",
|
|
2035
2074
|
"declarations": [
|
|
2036
2075
|
{
|
|
2037
2076
|
"kind": "variable",
|
|
@@ -2045,14 +2084,14 @@
|
|
|
2045
2084
|
"name": "templates",
|
|
2046
2085
|
"declaration": {
|
|
2047
2086
|
"name": "n",
|
|
2048
|
-
"module": "dist/chunks/fi-FI.
|
|
2087
|
+
"module": "dist/chunks/fi-FI.SHTM3UQK.js"
|
|
2049
2088
|
}
|
|
2050
2089
|
}
|
|
2051
2090
|
]
|
|
2052
2091
|
},
|
|
2053
2092
|
{
|
|
2054
2093
|
"kind": "javascript-module",
|
|
2055
|
-
"path": "dist/chunks/fr.
|
|
2094
|
+
"path": "dist/chunks/fr.MZYBSJWU.js",
|
|
2056
2095
|
"declarations": [
|
|
2057
2096
|
{
|
|
2058
2097
|
"kind": "variable",
|
|
@@ -2066,14 +2105,14 @@
|
|
|
2066
2105
|
"name": "templates",
|
|
2067
2106
|
"declaration": {
|
|
2068
2107
|
"name": "i",
|
|
2069
|
-
"module": "dist/chunks/fr.
|
|
2108
|
+
"module": "dist/chunks/fr.MZYBSJWU.js"
|
|
2070
2109
|
}
|
|
2071
2110
|
}
|
|
2072
2111
|
]
|
|
2073
2112
|
},
|
|
2074
2113
|
{
|
|
2075
2114
|
"kind": "javascript-module",
|
|
2076
|
-
"path": "dist/chunks/he.
|
|
2115
|
+
"path": "dist/chunks/he.BQXGQQ4P.js",
|
|
2077
2116
|
"declarations": [
|
|
2078
2117
|
{
|
|
2079
2118
|
"kind": "variable",
|
|
@@ -2087,14 +2126,14 @@
|
|
|
2087
2126
|
"name": "templates",
|
|
2088
2127
|
"declaration": {
|
|
2089
2128
|
"name": "o",
|
|
2090
|
-
"module": "dist/chunks/he.
|
|
2129
|
+
"module": "dist/chunks/he.BQXGQQ4P.js"
|
|
2091
2130
|
}
|
|
2092
2131
|
}
|
|
2093
2132
|
]
|
|
2094
2133
|
},
|
|
2095
2134
|
{
|
|
2096
2135
|
"kind": "javascript-module",
|
|
2097
|
-
"path": "dist/chunks/hr.
|
|
2136
|
+
"path": "dist/chunks/hr.EK5WNO4N.js",
|
|
2098
2137
|
"declarations": [
|
|
2099
2138
|
{
|
|
2100
2139
|
"kind": "variable",
|
|
@@ -2108,14 +2147,14 @@
|
|
|
2108
2147
|
"name": "templates",
|
|
2109
2148
|
"declaration": {
|
|
2110
2149
|
"name": "t",
|
|
2111
|
-
"module": "dist/chunks/hr.
|
|
2150
|
+
"module": "dist/chunks/hr.EK5WNO4N.js"
|
|
2112
2151
|
}
|
|
2113
2152
|
}
|
|
2114
2153
|
]
|
|
2115
2154
|
},
|
|
2116
2155
|
{
|
|
2117
2156
|
"kind": "javascript-module",
|
|
2118
|
-
"path": "dist/chunks/hu.
|
|
2157
|
+
"path": "dist/chunks/hu.N2BVXVWY.js",
|
|
2119
2158
|
"declarations": [
|
|
2120
2159
|
{
|
|
2121
2160
|
"kind": "variable",
|
|
@@ -2129,14 +2168,14 @@
|
|
|
2129
2168
|
"name": "templates",
|
|
2130
2169
|
"declaration": {
|
|
2131
2170
|
"name": "s",
|
|
2132
|
-
"module": "dist/chunks/hu.
|
|
2171
|
+
"module": "dist/chunks/hu.N2BVXVWY.js"
|
|
2133
2172
|
}
|
|
2134
2173
|
}
|
|
2135
2174
|
]
|
|
2136
2175
|
},
|
|
2137
2176
|
{
|
|
2138
2177
|
"kind": "javascript-module",
|
|
2139
|
-
"path": "dist/chunks/id.
|
|
2178
|
+
"path": "dist/chunks/id.IJ37WK5P.js",
|
|
2140
2179
|
"declarations": [
|
|
2141
2180
|
{
|
|
2142
2181
|
"kind": "variable",
|
|
@@ -2150,14 +2189,14 @@
|
|
|
2150
2189
|
"name": "templates",
|
|
2151
2190
|
"declaration": {
|
|
2152
2191
|
"name": "r",
|
|
2153
|
-
"module": "dist/chunks/id.
|
|
2192
|
+
"module": "dist/chunks/id.IJ37WK5P.js"
|
|
2154
2193
|
}
|
|
2155
2194
|
}
|
|
2156
2195
|
]
|
|
2157
2196
|
},
|
|
2158
2197
|
{
|
|
2159
2198
|
"kind": "javascript-module",
|
|
2160
|
-
"path": "dist/chunks/it.
|
|
2199
|
+
"path": "dist/chunks/it.2ZUPJDRP.js",
|
|
2161
2200
|
"declarations": [
|
|
2162
2201
|
{
|
|
2163
2202
|
"kind": "variable",
|
|
@@ -2171,14 +2210,14 @@
|
|
|
2171
2210
|
"name": "templates",
|
|
2172
2211
|
"declaration": {
|
|
2173
2212
|
"name": "r",
|
|
2174
|
-
"module": "dist/chunks/it.
|
|
2213
|
+
"module": "dist/chunks/it.2ZUPJDRP.js"
|
|
2175
2214
|
}
|
|
2176
2215
|
}
|
|
2177
2216
|
]
|
|
2178
2217
|
},
|
|
2179
2218
|
{
|
|
2180
2219
|
"kind": "javascript-module",
|
|
2181
|
-
"path": "dist/chunks/ja.
|
|
2220
|
+
"path": "dist/chunks/ja.BNLF6BZT.js",
|
|
2182
2221
|
"declarations": [
|
|
2183
2222
|
{
|
|
2184
2223
|
"kind": "variable",
|
|
@@ -2192,14 +2231,14 @@
|
|
|
2192
2231
|
"name": "templates",
|
|
2193
2232
|
"declaration": {
|
|
2194
2233
|
"name": "o",
|
|
2195
|
-
"module": "dist/chunks/ja.
|
|
2234
|
+
"module": "dist/chunks/ja.BNLF6BZT.js"
|
|
2196
2235
|
}
|
|
2197
2236
|
}
|
|
2198
2237
|
]
|
|
2199
2238
|
},
|
|
2200
2239
|
{
|
|
2201
2240
|
"kind": "javascript-module",
|
|
2202
|
-
"path": "dist/chunks/ko.
|
|
2241
|
+
"path": "dist/chunks/ko.YJAZTBEF.js",
|
|
2203
2242
|
"declarations": [
|
|
2204
2243
|
{
|
|
2205
2244
|
"kind": "variable",
|
|
@@ -2213,14 +2252,14 @@
|
|
|
2213
2252
|
"name": "templates",
|
|
2214
2253
|
"declaration": {
|
|
2215
2254
|
"name": "o",
|
|
2216
|
-
"module": "dist/chunks/ko.
|
|
2255
|
+
"module": "dist/chunks/ko.YJAZTBEF.js"
|
|
2217
2256
|
}
|
|
2218
2257
|
}
|
|
2219
2258
|
]
|
|
2220
2259
|
},
|
|
2221
2260
|
{
|
|
2222
2261
|
"kind": "javascript-module",
|
|
2223
|
-
"path": "dist/chunks/lt-LT.
|
|
2262
|
+
"path": "dist/chunks/lt-LT.GOVUI3KD.js",
|
|
2224
2263
|
"declarations": [
|
|
2225
2264
|
{
|
|
2226
2265
|
"kind": "variable",
|
|
@@ -2234,14 +2273,14 @@
|
|
|
2234
2273
|
"name": "templates",
|
|
2235
2274
|
"declaration": {
|
|
2236
2275
|
"name": "t",
|
|
2237
|
-
"module": "dist/chunks/lt-LT.
|
|
2276
|
+
"module": "dist/chunks/lt-LT.GOVUI3KD.js"
|
|
2238
2277
|
}
|
|
2239
2278
|
}
|
|
2240
2279
|
]
|
|
2241
2280
|
},
|
|
2242
2281
|
{
|
|
2243
2282
|
"kind": "javascript-module",
|
|
2244
|
-
"path": "dist/chunks/lt.
|
|
2283
|
+
"path": "dist/chunks/lt.IPLRYI7A.js",
|
|
2245
2284
|
"declarations": [
|
|
2246
2285
|
{
|
|
2247
2286
|
"kind": "variable",
|
|
@@ -2255,14 +2294,14 @@
|
|
|
2255
2294
|
"name": "templates",
|
|
2256
2295
|
"declaration": {
|
|
2257
2296
|
"name": "t",
|
|
2258
|
-
"module": "dist/chunks/lt.
|
|
2297
|
+
"module": "dist/chunks/lt.IPLRYI7A.js"
|
|
2259
2298
|
}
|
|
2260
2299
|
}
|
|
2261
2300
|
]
|
|
2262
2301
|
},
|
|
2263
2302
|
{
|
|
2264
2303
|
"kind": "javascript-module",
|
|
2265
|
-
"path": "dist/chunks/lv-LV.
|
|
2304
|
+
"path": "dist/chunks/lv-LV.EA76F4DL.js",
|
|
2266
2305
|
"declarations": [
|
|
2267
2306
|
{
|
|
2268
2307
|
"kind": "variable",
|
|
@@ -2276,14 +2315,14 @@
|
|
|
2276
2315
|
"name": "templates",
|
|
2277
2316
|
"declaration": {
|
|
2278
2317
|
"name": "t",
|
|
2279
|
-
"module": "dist/chunks/lv-LV.
|
|
2318
|
+
"module": "dist/chunks/lv-LV.EA76F4DL.js"
|
|
2280
2319
|
}
|
|
2281
2320
|
}
|
|
2282
2321
|
]
|
|
2283
2322
|
},
|
|
2284
2323
|
{
|
|
2285
2324
|
"kind": "javascript-module",
|
|
2286
|
-
"path": "dist/chunks/lv.
|
|
2325
|
+
"path": "dist/chunks/lv.I7E6LMWA.js",
|
|
2287
2326
|
"declarations": [
|
|
2288
2327
|
{
|
|
2289
2328
|
"kind": "variable",
|
|
@@ -2297,14 +2336,14 @@
|
|
|
2297
2336
|
"name": "templates",
|
|
2298
2337
|
"declaration": {
|
|
2299
2338
|
"name": "t",
|
|
2300
|
-
"module": "dist/chunks/lv.
|
|
2339
|
+
"module": "dist/chunks/lv.I7E6LMWA.js"
|
|
2301
2340
|
}
|
|
2302
2341
|
}
|
|
2303
2342
|
]
|
|
2304
2343
|
},
|
|
2305
2344
|
{
|
|
2306
2345
|
"kind": "javascript-module",
|
|
2307
|
-
"path": "dist/chunks/ms.
|
|
2346
|
+
"path": "dist/chunks/ms.6I2BVK63.js",
|
|
2308
2347
|
"declarations": [
|
|
2309
2348
|
{
|
|
2310
2349
|
"kind": "variable",
|
|
@@ -2318,14 +2357,14 @@
|
|
|
2318
2357
|
"name": "templates",
|
|
2319
2358
|
"declaration": {
|
|
2320
2359
|
"name": "i",
|
|
2321
|
-
"module": "dist/chunks/ms.
|
|
2360
|
+
"module": "dist/chunks/ms.6I2BVK63.js"
|
|
2322
2361
|
}
|
|
2323
2362
|
}
|
|
2324
2363
|
]
|
|
2325
2364
|
},
|
|
2326
2365
|
{
|
|
2327
2366
|
"kind": "javascript-module",
|
|
2328
|
-
"path": "dist/chunks/nb.
|
|
2367
|
+
"path": "dist/chunks/nb.BYMLE7EQ.js",
|
|
2329
2368
|
"declarations": [
|
|
2330
2369
|
{
|
|
2331
2370
|
"kind": "variable",
|
|
@@ -2339,14 +2378,14 @@
|
|
|
2339
2378
|
"name": "templates",
|
|
2340
2379
|
"declaration": {
|
|
2341
2380
|
"name": "a",
|
|
2342
|
-
"module": "dist/chunks/nb.
|
|
2381
|
+
"module": "dist/chunks/nb.BYMLE7EQ.js"
|
|
2343
2382
|
}
|
|
2344
2383
|
}
|
|
2345
2384
|
]
|
|
2346
2385
|
},
|
|
2347
2386
|
{
|
|
2348
2387
|
"kind": "javascript-module",
|
|
2349
|
-
"path": "dist/chunks/nl.
|
|
2388
|
+
"path": "dist/chunks/nl.QOSIJQZE.js",
|
|
2350
2389
|
"declarations": [
|
|
2351
2390
|
{
|
|
2352
2391
|
"kind": "variable",
|
|
@@ -2360,14 +2399,14 @@
|
|
|
2360
2399
|
"name": "templates",
|
|
2361
2400
|
"declaration": {
|
|
2362
2401
|
"name": "n",
|
|
2363
|
-
"module": "dist/chunks/nl.
|
|
2402
|
+
"module": "dist/chunks/nl.QOSIJQZE.js"
|
|
2364
2403
|
}
|
|
2365
2404
|
}
|
|
2366
2405
|
]
|
|
2367
2406
|
},
|
|
2368
2407
|
{
|
|
2369
2408
|
"kind": "javascript-module",
|
|
2370
|
-
"path": "dist/chunks/nl_NL.
|
|
2409
|
+
"path": "dist/chunks/nl_NL.DVZWMQJN.js",
|
|
2371
2410
|
"declarations": [
|
|
2372
2411
|
{
|
|
2373
2412
|
"kind": "variable",
|
|
@@ -2381,14 +2420,14 @@
|
|
|
2381
2420
|
"name": "templates",
|
|
2382
2421
|
"declaration": {
|
|
2383
2422
|
"name": "n",
|
|
2384
|
-
"module": "dist/chunks/nl_NL.
|
|
2423
|
+
"module": "dist/chunks/nl_NL.DVZWMQJN.js"
|
|
2385
2424
|
}
|
|
2386
2425
|
}
|
|
2387
2426
|
]
|
|
2388
2427
|
},
|
|
2389
2428
|
{
|
|
2390
2429
|
"kind": "javascript-module",
|
|
2391
|
-
"path": "dist/chunks/pl.
|
|
2430
|
+
"path": "dist/chunks/pl.VK5CNTV3.js",
|
|
2392
2431
|
"declarations": [
|
|
2393
2432
|
{
|
|
2394
2433
|
"kind": "variable",
|
|
@@ -2402,14 +2441,14 @@
|
|
|
2402
2441
|
"name": "templates",
|
|
2403
2442
|
"declaration": {
|
|
2404
2443
|
"name": "i",
|
|
2405
|
-
"module": "dist/chunks/pl.
|
|
2444
|
+
"module": "dist/chunks/pl.VK5CNTV3.js"
|
|
2406
2445
|
}
|
|
2407
2446
|
}
|
|
2408
2447
|
]
|
|
2409
2448
|
},
|
|
2410
2449
|
{
|
|
2411
2450
|
"kind": "javascript-module",
|
|
2412
|
-
"path": "dist/chunks/pt-BR.
|
|
2451
|
+
"path": "dist/chunks/pt-BR.22GYWGY5.js",
|
|
2413
2452
|
"declarations": [
|
|
2414
2453
|
{
|
|
2415
2454
|
"kind": "variable",
|
|
@@ -2423,14 +2462,14 @@
|
|
|
2423
2462
|
"name": "templates",
|
|
2424
2463
|
"declaration": {
|
|
2425
2464
|
"name": "t",
|
|
2426
|
-
"module": "dist/chunks/pt-BR.
|
|
2465
|
+
"module": "dist/chunks/pt-BR.22GYWGY5.js"
|
|
2427
2466
|
}
|
|
2428
2467
|
}
|
|
2429
2468
|
]
|
|
2430
2469
|
},
|
|
2431
2470
|
{
|
|
2432
2471
|
"kind": "javascript-module",
|
|
2433
|
-
"path": "dist/chunks/pt.
|
|
2472
|
+
"path": "dist/chunks/pt.L2PBSEBD.js",
|
|
2434
2473
|
"declarations": [
|
|
2435
2474
|
{
|
|
2436
2475
|
"kind": "variable",
|
|
@@ -2444,14 +2483,14 @@
|
|
|
2444
2483
|
"name": "templates",
|
|
2445
2484
|
"declaration": {
|
|
2446
2485
|
"name": "t",
|
|
2447
|
-
"module": "dist/chunks/pt.
|
|
2486
|
+
"module": "dist/chunks/pt.L2PBSEBD.js"
|
|
2448
2487
|
}
|
|
2449
2488
|
}
|
|
2450
2489
|
]
|
|
2451
2490
|
},
|
|
2452
2491
|
{
|
|
2453
2492
|
"kind": "javascript-module",
|
|
2454
|
-
"path": "dist/chunks/ro.
|
|
2493
|
+
"path": "dist/chunks/ro.VFIM4IS3.js",
|
|
2455
2494
|
"declarations": [
|
|
2456
2495
|
{
|
|
2457
2496
|
"kind": "variable",
|
|
@@ -2465,14 +2504,14 @@
|
|
|
2465
2504
|
"name": "templates",
|
|
2466
2505
|
"declaration": {
|
|
2467
2506
|
"name": "i",
|
|
2468
|
-
"module": "dist/chunks/ro.
|
|
2507
|
+
"module": "dist/chunks/ro.VFIM4IS3.js"
|
|
2469
2508
|
}
|
|
2470
2509
|
}
|
|
2471
2510
|
]
|
|
2472
2511
|
},
|
|
2473
2512
|
{
|
|
2474
2513
|
"kind": "javascript-module",
|
|
2475
|
-
"path": "dist/chunks/ru.
|
|
2514
|
+
"path": "dist/chunks/ru.VLLE4DKK.js",
|
|
2476
2515
|
"declarations": [
|
|
2477
2516
|
{
|
|
2478
2517
|
"kind": "variable",
|
|
@@ -2486,14 +2525,14 @@
|
|
|
2486
2525
|
"name": "templates",
|
|
2487
2526
|
"declaration": {
|
|
2488
2527
|
"name": "o",
|
|
2489
|
-
"module": "dist/chunks/ru.
|
|
2528
|
+
"module": "dist/chunks/ru.VLLE4DKK.js"
|
|
2490
2529
|
}
|
|
2491
2530
|
}
|
|
2492
2531
|
]
|
|
2493
2532
|
},
|
|
2494
2533
|
{
|
|
2495
2534
|
"kind": "javascript-module",
|
|
2496
|
-
"path": "dist/chunks/sk.
|
|
2535
|
+
"path": "dist/chunks/sk.JALTDVLO.js",
|
|
2497
2536
|
"declarations": [
|
|
2498
2537
|
{
|
|
2499
2538
|
"kind": "variable",
|
|
@@ -2507,14 +2546,14 @@
|
|
|
2507
2546
|
"name": "templates",
|
|
2508
2547
|
"declaration": {
|
|
2509
2548
|
"name": "r",
|
|
2510
|
-
"module": "dist/chunks/sk.
|
|
2549
|
+
"module": "dist/chunks/sk.JALTDVLO.js"
|
|
2511
2550
|
}
|
|
2512
2551
|
}
|
|
2513
2552
|
]
|
|
2514
2553
|
},
|
|
2515
2554
|
{
|
|
2516
2555
|
"kind": "javascript-module",
|
|
2517
|
-
"path": "dist/chunks/sl.
|
|
2556
|
+
"path": "dist/chunks/sl.PQOCETM2.js",
|
|
2518
2557
|
"declarations": [
|
|
2519
2558
|
{
|
|
2520
2559
|
"kind": "variable",
|
|
@@ -2528,14 +2567,14 @@
|
|
|
2528
2567
|
"name": "templates",
|
|
2529
2568
|
"declaration": {
|
|
2530
2569
|
"name": "r",
|
|
2531
|
-
"module": "dist/chunks/sl.
|
|
2570
|
+
"module": "dist/chunks/sl.PQOCETM2.js"
|
|
2532
2571
|
}
|
|
2533
2572
|
}
|
|
2534
2573
|
]
|
|
2535
2574
|
},
|
|
2536
2575
|
{
|
|
2537
2576
|
"kind": "javascript-module",
|
|
2538
|
-
"path": "dist/chunks/sr-RS.
|
|
2577
|
+
"path": "dist/chunks/sr-RS.RGO57OCW.js",
|
|
2539
2578
|
"declarations": [
|
|
2540
2579
|
{
|
|
2541
2580
|
"kind": "variable",
|
|
@@ -2549,14 +2588,14 @@
|
|
|
2549
2588
|
"name": "templates",
|
|
2550
2589
|
"declaration": {
|
|
2551
2590
|
"name": "o",
|
|
2552
|
-
"module": "dist/chunks/sr-RS.
|
|
2591
|
+
"module": "dist/chunks/sr-RS.RGO57OCW.js"
|
|
2553
2592
|
}
|
|
2554
2593
|
}
|
|
2555
2594
|
]
|
|
2556
2595
|
},
|
|
2557
2596
|
{
|
|
2558
2597
|
"kind": "javascript-module",
|
|
2559
|
-
"path": "dist/chunks/sv.
|
|
2598
|
+
"path": "dist/chunks/sv.FQJP73FF.js",
|
|
2560
2599
|
"declarations": [
|
|
2561
2600
|
{
|
|
2562
2601
|
"kind": "variable",
|
|
@@ -2570,14 +2609,14 @@
|
|
|
2570
2609
|
"name": "templates",
|
|
2571
2610
|
"declaration": {
|
|
2572
2611
|
"name": "n",
|
|
2573
|
-
"module": "dist/chunks/sv.
|
|
2612
|
+
"module": "dist/chunks/sv.FQJP73FF.js"
|
|
2574
2613
|
}
|
|
2575
2614
|
}
|
|
2576
2615
|
]
|
|
2577
2616
|
},
|
|
2578
2617
|
{
|
|
2579
2618
|
"kind": "javascript-module",
|
|
2580
|
-
"path": "dist/chunks/th.
|
|
2619
|
+
"path": "dist/chunks/th.QYA26J2E.js",
|
|
2581
2620
|
"declarations": [
|
|
2582
2621
|
{
|
|
2583
2622
|
"kind": "variable",
|
|
@@ -2591,14 +2630,14 @@
|
|
|
2591
2630
|
"name": "templates",
|
|
2592
2631
|
"declaration": {
|
|
2593
2632
|
"name": "o",
|
|
2594
|
-
"module": "dist/chunks/th.
|
|
2633
|
+
"module": "dist/chunks/th.QYA26J2E.js"
|
|
2595
2634
|
}
|
|
2596
2635
|
}
|
|
2597
2636
|
]
|
|
2598
2637
|
},
|
|
2599
2638
|
{
|
|
2600
2639
|
"kind": "javascript-module",
|
|
2601
|
-
"path": "dist/chunks/tr.
|
|
2640
|
+
"path": "dist/chunks/tr.5ZDAANBV.js",
|
|
2602
2641
|
"declarations": [
|
|
2603
2642
|
{
|
|
2604
2643
|
"kind": "variable",
|
|
@@ -2612,14 +2651,14 @@
|
|
|
2612
2651
|
"name": "templates",
|
|
2613
2652
|
"declaration": {
|
|
2614
2653
|
"name": "n",
|
|
2615
|
-
"module": "dist/chunks/tr.
|
|
2654
|
+
"module": "dist/chunks/tr.5ZDAANBV.js"
|
|
2616
2655
|
}
|
|
2617
2656
|
}
|
|
2618
2657
|
]
|
|
2619
2658
|
},
|
|
2620
2659
|
{
|
|
2621
2660
|
"kind": "javascript-module",
|
|
2622
|
-
"path": "dist/chunks/uk-UA.
|
|
2661
|
+
"path": "dist/chunks/uk-UA.FWQ7KVBB.js",
|
|
2623
2662
|
"declarations": [
|
|
2624
2663
|
{
|
|
2625
2664
|
"kind": "variable",
|
|
@@ -2633,14 +2672,14 @@
|
|
|
2633
2672
|
"name": "templates",
|
|
2634
2673
|
"declaration": {
|
|
2635
2674
|
"name": "o",
|
|
2636
|
-
"module": "dist/chunks/uk-UA.
|
|
2675
|
+
"module": "dist/chunks/uk-UA.FWQ7KVBB.js"
|
|
2637
2676
|
}
|
|
2638
2677
|
}
|
|
2639
2678
|
]
|
|
2640
2679
|
},
|
|
2641
2680
|
{
|
|
2642
2681
|
"kind": "javascript-module",
|
|
2643
|
-
"path": "dist/chunks/vi.
|
|
2682
|
+
"path": "dist/chunks/vi.GB6QZAMD.js",
|
|
2644
2683
|
"declarations": [
|
|
2645
2684
|
{
|
|
2646
2685
|
"kind": "variable",
|
|
@@ -2654,14 +2693,14 @@
|
|
|
2654
2693
|
"name": "templates",
|
|
2655
2694
|
"declaration": {
|
|
2656
2695
|
"name": "a",
|
|
2657
|
-
"module": "dist/chunks/vi.
|
|
2696
|
+
"module": "dist/chunks/vi.GB6QZAMD.js"
|
|
2658
2697
|
}
|
|
2659
2698
|
}
|
|
2660
2699
|
]
|
|
2661
2700
|
},
|
|
2662
2701
|
{
|
|
2663
2702
|
"kind": "javascript-module",
|
|
2664
|
-
"path": "dist/chunks/zf.
|
|
2703
|
+
"path": "dist/chunks/zf.LNP32XVM.js",
|
|
2665
2704
|
"declarations": [
|
|
2666
2705
|
{
|
|
2667
2706
|
"kind": "variable",
|
|
@@ -2675,14 +2714,14 @@
|
|
|
2675
2714
|
"name": "templates",
|
|
2676
2715
|
"declaration": {
|
|
2677
2716
|
"name": "a",
|
|
2678
|
-
"module": "dist/chunks/zf.
|
|
2717
|
+
"module": "dist/chunks/zf.LNP32XVM.js"
|
|
2679
2718
|
}
|
|
2680
2719
|
}
|
|
2681
2720
|
]
|
|
2682
2721
|
},
|
|
2683
2722
|
{
|
|
2684
2723
|
"kind": "javascript-module",
|
|
2685
|
-
"path": "dist/chunks/zh-CN.
|
|
2724
|
+
"path": "dist/chunks/zh-CN.OEA7I6ZA.js",
|
|
2686
2725
|
"declarations": [
|
|
2687
2726
|
{
|
|
2688
2727
|
"kind": "variable",
|
|
@@ -2696,14 +2735,14 @@
|
|
|
2696
2735
|
"name": "templates",
|
|
2697
2736
|
"declaration": {
|
|
2698
2737
|
"name": "o",
|
|
2699
|
-
"module": "dist/chunks/zh-CN.
|
|
2738
|
+
"module": "dist/chunks/zh-CN.OEA7I6ZA.js"
|
|
2700
2739
|
}
|
|
2701
2740
|
}
|
|
2702
2741
|
]
|
|
2703
2742
|
},
|
|
2704
2743
|
{
|
|
2705
2744
|
"kind": "javascript-module",
|
|
2706
|
-
"path": "dist/chunks/zh-HK.
|
|
2745
|
+
"path": "dist/chunks/zh-HK.OUXNL5ZM.js",
|
|
2707
2746
|
"declarations": [
|
|
2708
2747
|
{
|
|
2709
2748
|
"kind": "variable",
|
|
@@ -2717,14 +2756,14 @@
|
|
|
2717
2756
|
"name": "templates",
|
|
2718
2757
|
"declaration": {
|
|
2719
2758
|
"name": "o",
|
|
2720
|
-
"module": "dist/chunks/zh-HK.
|
|
2759
|
+
"module": "dist/chunks/zh-HK.OUXNL5ZM.js"
|
|
2721
2760
|
}
|
|
2722
2761
|
}
|
|
2723
2762
|
]
|
|
2724
2763
|
},
|
|
2725
2764
|
{
|
|
2726
2765
|
"kind": "javascript-module",
|
|
2727
|
-
"path": "dist/chunks/zh-TW.
|
|
2766
|
+
"path": "dist/chunks/zh-TW.C5STTOCA.js",
|
|
2728
2767
|
"declarations": [
|
|
2729
2768
|
{
|
|
2730
2769
|
"kind": "variable",
|
|
@@ -2738,7 +2777,7 @@
|
|
|
2738
2777
|
"name": "templates",
|
|
2739
2778
|
"declaration": {
|
|
2740
2779
|
"name": "o",
|
|
2741
|
-
"module": "dist/chunks/zh-TW.
|
|
2780
|
+
"module": "dist/chunks/zh-TW.C5STTOCA.js"
|
|
2742
2781
|
}
|
|
2743
2782
|
}
|
|
2744
2783
|
]
|
|
@@ -8448,7 +8487,7 @@
|
|
|
8448
8487
|
"type": {
|
|
8449
8488
|
"text": "Record<string, SVGTemplateResult>"
|
|
8450
8489
|
},
|
|
8451
|
-
"default": "{ 'trash': svg` <svg width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"> <path d=\"M13.8333 2.99992H11.5V2.49992C11.5 2.05789 11.3244 1.63397 11.0118 1.32141C10.6993 1.00885 10.2754 0.833252 9.83333 0.833252H6.16667C5.72464 0.833252 5.30072 1.00885 4.98816 1.32141C4.67559 1.63397 4.5 2.05789 4.5 2.49992V2.99992H2.16667C1.98986 2.99992 1.82029 3.07015 1.69526 3.19518C1.57024 3.32021 1.5 3.48978 1.5 3.66659C1.5 3.8434 1.57024 4.01297 1.69526 4.138C1.82029 4.26302 1.98986 4.33326 2.16667 4.33326H2.83333V12.4999C2.83333 12.942 3.00893 13.3659 3.32149 13.6784C3.63405 13.991 4.05797 14.1666 4.5 14.1666H11.5C11.942 14.1666 12.3659 13.991 12.6785 13.6784C12.9911 13.3659 13.1667 12.942 13.1667 12.4999V4.33326H13.8333C14.0101 4.33326 14.1797 4.26302 14.3047 4.138C14.4298 4.01297 14.5 3.8434 14.5 3.66659C14.5 3.48978 14.4298 3.32021 14.3047 3.19518C14.1797 3.07015 14.0101 2.99992 13.8333 2.99992ZM5.83333 2.49992C5.83333 2.32311 5.90357 2.15354 6.0286 2.02851C6.15362 1.90349 6.32319 1.83325 6.5 1.83325H9.5C9.67681 1.83325 9.84638 1.90349 9.9714 2.02851C10.0964 2.15354 10.1667 2.32311 10.1667 2.49992V2.99992H5.83333V2.49992ZM11.8333 12.4999C11.8333 12.6767 11.7631 12.8463 11.6381 12.9713C11.513 13.0964 11.3435 13.1666 11.1667 13.1666H4.83333C4.65652 13.1666 4.48695 13.0964 4.36193 12.9713C4.2369 12.8463 4.16667 12.6767 4.16667 12.4999V4.33326H11.8333V12.4999Z\" fill=\"currentColor\"/> <path d=\"M6.5 10.9999C6.67681 10.9999 6.84638 10.9297 6.9714 10.8047C7.09643 10.6796 7.16667 10.5101 7.16667 10.3333V7.33325C7.16667 7.15644 7.09643 6.98687 6.9714 6.86184C6.84638 6.73682 6.67681 6.66658 6.5 6.66658C6.32319 6.66658 6.15362 6.73682 6.0286 6.86184C5.90357 6.98687 5.83333 7.15644 5.83333 7.33325V10.3333C5.83333 10.5101 5.90357 10.6796 6.0286 10.8047C6.15362 10.9297 6.32319 10.9999 6.5 10.9999Z\" fill=\"currentColor\"/> <path d=\"M9.5 10.9999C9.67681 10.9999 9.84638 10.9297 9.9714 10.8047C10.0964 10.6796 10.1667 10.5101 10.1667 10.3333V7.33325C10.1667 7.15644 10.0964 6.98687 9.9714 6.86184C9.84638 6.73682 9.67681 6.66658 9.5 6.66658C9.32319 6.66658 9.15362 6.73682 9.0286 6.86184C8.90357 6.98687 8.83333 7.15644 8.83333 7.33325V10.3333C8.83333 10.5101 8.90357 10.6796 9.0286 10.8047C9.15362 10.9297 9.32319 10.9999 9.5 10.9999Z\" fill=\"currentColor\"/> </svg> `, 'successful-check': svg` <svg viewBox=\"0 0 56 56\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" > <g id=\"icon/check-circle-large\"> <path id=\"vector\" fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M20.1762 29.5746L24.8429 34.2413C25.295 34.7007 26.0387 34.7007 26.4908 34.2413L35.8241 24.9079C36.2835 24.4559 36.2835 23.7121 35.8241 23.26C35.372 22.8007 34.6283 22.8007 34.1762 23.26L25.6668 31.7694L21.8241 27.9267C21.372 27.4673 20.6283 27.4673 20.1762 27.9267C19.7168 28.3788 19.7168 29.1225 20.1762 29.5746ZM28.0002 47.4173C38.3106 47.4173 46.6668 39.0611 46.6668 28.7507C46.6668 18.4402 38.3106 10.084 28.0002 10.084C17.6897 10.084 9.3335 18.4402 9.3335 28.7507C9.3335 39.0611 17.6897 47.4173 28.0002 47.4173Z\" /> </g> </svg> `, 'failure-icon': svg` <svg viewBox=\"0 0 40 40\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" > <path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M20.0008 23.3333C20.4614 23.3333 20.7873 22.9606 20.7873 22.5V15C20.7873 14.5394 20.4146 14.1666 20.0008 14.1666C19.587 14.1666 19.1675 14.5416 19.1675 15V22.5C19.1675 22.9583 19.5425 23.3333 20.0008 23.3333ZM32.9331 27.3594L22.5269 9.75935C22.0008 8.86821 21.0529 8.33488 20.0008 8.33331C18.9487 8.33331 18.006 8.8656 17.4748 9.75831L7.06331 27.3625C6.53987 28.2463 6.53206 29.3073 7.04134 30.201C7.568 31.1198 8.51904 31.6666 9.58935 31.6666H30.4175C31.4857 31.6666 32.4357 31.1182 32.9597 30.1995C33.4696 29.3073 33.4591 28.2448 32.9331 27.3594ZM18.7977 26.6666C18.7977 25.976 19.3107 25.4166 20.0008 25.4166C20.6935 25.4166 21.2508 25.9739 21.2039 26.6666C21.2039 27.3568 20.6909 27.9166 20.0008 27.9166C19.3576 27.9166 18.7977 27.3568 18.7977 26.6666Z\" /> </svg> `, 'payment-card': svg` <svg width=\"28\" height=\"
|
|
8490
|
+
"default": "{ 'trash': svg` <svg width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"> <path d=\"M13.8333 2.99992H11.5V2.49992C11.5 2.05789 11.3244 1.63397 11.0118 1.32141C10.6993 1.00885 10.2754 0.833252 9.83333 0.833252H6.16667C5.72464 0.833252 5.30072 1.00885 4.98816 1.32141C4.67559 1.63397 4.5 2.05789 4.5 2.49992V2.99992H2.16667C1.98986 2.99992 1.82029 3.07015 1.69526 3.19518C1.57024 3.32021 1.5 3.48978 1.5 3.66659C1.5 3.8434 1.57024 4.01297 1.69526 4.138C1.82029 4.26302 1.98986 4.33326 2.16667 4.33326H2.83333V12.4999C2.83333 12.942 3.00893 13.3659 3.32149 13.6784C3.63405 13.991 4.05797 14.1666 4.5 14.1666H11.5C11.942 14.1666 12.3659 13.991 12.6785 13.6784C12.9911 13.3659 13.1667 12.942 13.1667 12.4999V4.33326H13.8333C14.0101 4.33326 14.1797 4.26302 14.3047 4.138C14.4298 4.01297 14.5 3.8434 14.5 3.66659C14.5 3.48978 14.4298 3.32021 14.3047 3.19518C14.1797 3.07015 14.0101 2.99992 13.8333 2.99992ZM5.83333 2.49992C5.83333 2.32311 5.90357 2.15354 6.0286 2.02851C6.15362 1.90349 6.32319 1.83325 6.5 1.83325H9.5C9.67681 1.83325 9.84638 1.90349 9.9714 2.02851C10.0964 2.15354 10.1667 2.32311 10.1667 2.49992V2.99992H5.83333V2.49992ZM11.8333 12.4999C11.8333 12.6767 11.7631 12.8463 11.6381 12.9713C11.513 13.0964 11.3435 13.1666 11.1667 13.1666H4.83333C4.65652 13.1666 4.48695 13.0964 4.36193 12.9713C4.2369 12.8463 4.16667 12.6767 4.16667 12.4999V4.33326H11.8333V12.4999Z\" fill=\"currentColor\"/> <path d=\"M6.5 10.9999C6.67681 10.9999 6.84638 10.9297 6.9714 10.8047C7.09643 10.6796 7.16667 10.5101 7.16667 10.3333V7.33325C7.16667 7.15644 7.09643 6.98687 6.9714 6.86184C6.84638 6.73682 6.67681 6.66658 6.5 6.66658C6.32319 6.66658 6.15362 6.73682 6.0286 6.86184C5.90357 6.98687 5.83333 7.15644 5.83333 7.33325V10.3333C5.83333 10.5101 5.90357 10.6796 6.0286 10.8047C6.15362 10.9297 6.32319 10.9999 6.5 10.9999Z\" fill=\"currentColor\"/> <path d=\"M9.5 10.9999C9.67681 10.9999 9.84638 10.9297 9.9714 10.8047C10.0964 10.6796 10.1667 10.5101 10.1667 10.3333V7.33325C10.1667 7.15644 10.0964 6.98687 9.9714 6.86184C9.84638 6.73682 9.67681 6.66658 9.5 6.66658C9.32319 6.66658 9.15362 6.73682 9.0286 6.86184C8.90357 6.98687 8.83333 7.15644 8.83333 7.33325V10.3333C8.83333 10.5101 8.90357 10.6796 9.0286 10.8047C9.15362 10.9297 9.32319 10.9999 9.5 10.9999Z\" fill=\"currentColor\"/> </svg> `, 'successful-check': svg` <svg viewBox=\"0 0 56 56\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" > <g id=\"icon/check-circle-large\"> <path id=\"vector\" fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M20.1762 29.5746L24.8429 34.2413C25.295 34.7007 26.0387 34.7007 26.4908 34.2413L35.8241 24.9079C36.2835 24.4559 36.2835 23.7121 35.8241 23.26C35.372 22.8007 34.6283 22.8007 34.1762 23.26L25.6668 31.7694L21.8241 27.9267C21.372 27.4673 20.6283 27.4673 20.1762 27.9267C19.7168 28.3788 19.7168 29.1225 20.1762 29.5746ZM28.0002 47.4173C38.3106 47.4173 46.6668 39.0611 46.6668 28.7507C46.6668 18.4402 38.3106 10.084 28.0002 10.084C17.6897 10.084 9.3335 18.4402 9.3335 28.7507C9.3335 39.0611 17.6897 47.4173 28.0002 47.4173Z\" /> </g> </svg> `, 'failure-icon': svg` <svg viewBox=\"0 0 40 40\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" > <path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M20.0008 23.3333C20.4614 23.3333 20.7873 22.9606 20.7873 22.5V15C20.7873 14.5394 20.4146 14.1666 20.0008 14.1666C19.587 14.1666 19.1675 14.5416 19.1675 15V22.5C19.1675 22.9583 19.5425 23.3333 20.0008 23.3333ZM32.9331 27.3594L22.5269 9.75935C22.0008 8.86821 21.0529 8.33488 20.0008 8.33331C18.9487 8.33331 18.006 8.8656 17.4748 9.75831L7.06331 27.3625C6.53987 28.2463 6.53206 29.3073 7.04134 30.201C7.568 31.1198 8.51904 31.6666 9.58935 31.6666H30.4175C31.4857 31.6666 32.4357 31.1182 32.9597 30.1995C33.4696 29.3073 33.4591 28.2448 32.9331 27.3594ZM18.7977 26.6666C18.7977 25.976 19.3107 25.4166 20.0008 25.4166C20.6935 25.4166 21.2508 25.9739 21.2039 26.6666C21.2039 27.3568 20.6909 27.9166 20.0008 27.9166C19.3576 27.9166 18.7977 27.3568 18.7977 26.6666Z\" /> </svg> `, 'payment-card': svg` <svg width=\"28\" height=\"20\" viewBox=\"0 0 28 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"> <rect width=\"28\" height=\"20\" rx=\"2\" fill=\"#E0E0E0\"/> <rect y=\"6\" width=\"28\" height=\"4\" fill=\"#212121\"/> <rect x=\"19\" y=\"13\" width=\"6\" height=\"4\" rx=\"0.933333\" fill=\"white\"/> </svg> `, 'chevron-left': svg` <svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"> <path d=\"M6.61868 9.49624C6.47176 9.61503 6.39986 9.80571 6.39986 9.99952C6.39986 10.1933 6.47176 10.384 6.61868 10.5309L11.3198 15.232C11.6128 15.5251 12.0875 15.5251 12.3807 15.232C12.6739 14.939 12.6738 14.4643 12.3807 14.1711L8.2098 9.99952L12.3804 5.82891C12.6735 5.53585 12.6735 5.06117 12.3804 4.76795C12.0874 4.47473 11.6127 4.47489 11.3195 4.76795L6.61868 9.49624Z\"/> </svg> `, 'chevron-down': svg` <svg width=\"8\" height=\"6\" viewBox=\"0 0 8 6\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"> <path d=\"M4.41978 4.90118C4.32079 5.02361 4.16188 5.08353 4.00037 5.08353C3.83887 5.08353 3.67996 5.02361 3.55753 4.90118L0.63995 1.9836C0.395733 1.73939 0.395733 1.34382 0.63995 1.09947C0.884167 0.855124 1.27973 0.855254 1.52408 1.09947L4.00037 3.57524L6.47589 1.09973C6.72011 0.855515 7.11567 0.855515 7.36002 1.09973C7.60437 1.34395 7.60424 1.73952 7.36002 1.98386L4.41978 4.90118Z\"/> </svg>`, 'checkmark': svg` <svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"> <path d=\"M15.6326 6.12193C15.8983 6.3668 15.8983 6.76276 15.6326 6.98418L8.75546 13.8613C8.53404 14.127 8.13808 14.127 7.89321 13.8613L4.35119 10.3186C4.10706 10.0971 4.10706 9.70118 4.35119 9.45631C4.59531 9.21404 4.99126 9.21404 5.23535 9.45631L8.33606 12.5588L14.7704 6.12193C15.0152 5.87863 15.4112 5.87863 15.6326 6.12193Z\" /> </svg> `, 'close': svg` <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\"> <path d=\"M14.7551 13.734C15.0479 14.0269 15.0479 14.502 14.7551 14.7949C14.4622 15.0879 13.987 15.0878 13.6941 14.7949L10.0005 11.0738L6.28054 14.7937C5.98767 15.0866 5.51249 15.0866 5.21959 14.7937C4.92668 14.5008 4.92671 14.0256 5.21959 13.7327L8.94075 10.0141L5.21856 6.26604C4.92568 5.97316 4.92568 5.49798 5.21856 5.20508C5.51143 4.91217 5.98661 4.91221 6.27951 5.20508L10.0005 8.95438L13.7204 5.23446C14.0132 4.94159 14.4884 4.94159 14.7813 5.23446C15.0742 5.52734 15.0742 6.00252 14.7813 6.29542L11.0602 10.0141L14.7551 13.734Z\" /> </svg> `, 'edit': svg` <svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"> <path d=\"M10.9355 3.19972C11.7814 2.35335 13.1541 2.35335 13.9999 3.19972L14.3642 3.56456C15.21 4.41103 15.21 5.78338 14.3642 6.62925L8.42804 12.5684C8.16615 12.8272 7.84406 13.0169 7.48886 13.1192L4.47866 13.9802C4.2258 14.0524 3.95489 13.9802 3.76825 13.7694C3.58463 13.6099 3.51239 13.339 3.58463 13.0861L4.44555 10.0759C4.5479 9.72072 4.73754 9.39863 4.99642 9.13674L10.9355 3.19972ZM12.9524 4.22139C12.6965 3.93933 12.239 3.93933 11.956 4.22139L11.08 5.09705L12.4677 6.48476L13.3437 5.5817C13.6267 5.32583 13.6267 4.86828 13.3437 4.58622L12.9524 4.22139ZM5.83626 10.4733L5.33055 12.2342L7.09151 11.7285C7.21192 11.6954 7.31728 11.6322 7.40458 11.5449L11.4473 7.50521L10.0596 6.11751L6.01988 10.1602C5.93259 10.2475 5.86937 10.3529 5.83626 10.4733Z\"/> <path d=\"M3.5 16.7126C3.5 16.3138 3.82335 15.9904 4.22222 15.9904H15.7778C16.1767 15.9904 16.5 16.3138 16.5 16.7126C16.5 17.1115 16.1767 17.4349 15.7778 17.4349H4.22222C3.82335 17.4349 3.5 17.1115 3.5 16.7126Z\"/> </svg> `, 'lock': svg` <svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"> <path d=\"M7.91621 7.08223V8.33262H12.0842V7.08223C12.0842 5.93082 11.1516 4.99824 10.0002 4.99824C8.84879 4.99824 7.91621 5.93082 7.91621 7.08223ZM6.24902 8.33262V7.08223C6.24902 5.01127 7.92924 3.33105 10.0002 3.33105C12.0712 3.33105 13.7514 5.01127 13.7514 7.08223V8.33262H14.1682C15.0877 8.33262 15.8354 9.08025 15.8354 9.9998V15.0014C15.8354 15.9209 15.0877 16.6686 14.1682 16.6686H5.83223C4.91267 16.6686 4.16504 15.9209 4.16504 15.0014V9.9998C4.16504 9.08025 4.91267 8.33262 5.83223 8.33262H6.24902Z\" fill-opacity=\"0.62\"/> </svg> `, }"
|
|
8452
8491
|
}
|
|
8453
8492
|
],
|
|
8454
8493
|
"exports": [
|
|
@@ -16231,6 +16270,11 @@
|
|
|
16231
16270
|
}
|
|
16232
16271
|
]
|
|
16233
16272
|
},
|
|
16273
|
+
{
|
|
16274
|
+
"kind": "method",
|
|
16275
|
+
"name": "renderDefaultCardIcon",
|
|
16276
|
+
"privacy": "private"
|
|
16277
|
+
},
|
|
16234
16278
|
{
|
|
16235
16279
|
"kind": "method",
|
|
16236
16280
|
"name": "getSelectableNetworks",
|