@paydock/client-sdk 1.136.0 → 1.138.1-beta

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/bundles/index.mjs CHANGED
@@ -811,7 +811,7 @@ var Browser = /*#__PURE__*/function () {
811
811
  }, {
812
812
  key: "isSupportPopUp",
813
813
  value: function isSupportPopUp() {
814
- return !this.isFacebook() && !this.isInstagram();
814
+ return !Browser.isFacebook() && !Browser.isInstagram();
815
815
  }
816
816
  }, {
817
817
  key: "getLanguage",
@@ -867,18 +867,18 @@ var Browser = /*#__PURE__*/function () {
867
867
  var M = ua.match(/(opera|chrome|safari|firefox|msie|trident(?=\/))\/?\s*(\d+)/i) || [];
868
868
  var tem;
869
869
  if (/trident/i.test(M[1])) {
870
- tem = /\brv[ :]+(\d+)/g.exec(ua) || [];
870
+ tem = /\brv[ :](\d+)/.exec(ua) || [];
871
871
  return {
872
872
  name: 'IE',
873
873
  version: tem[1] || ''
874
874
  };
875
875
  }
876
876
  if (M[1] === 'Chrome') {
877
- tem = ua.match(/\bOPR|Edge\/(\d+)/);
877
+ tem = ua.match(/\b(OPR|Edge)\/(\d+)/);
878
878
  if (tem != null) {
879
879
  return {
880
- name: 'Opera',
881
- version: tem[1]
880
+ name: tem[1] === 'OPR' ? 'Opera' : 'Edge',
881
+ version: tem[2]
882
882
  };
883
883
  }
884
884
  }
@@ -1187,7 +1187,7 @@ SDK.headerKeys = Object.freeze({
1187
1187
  version: 'x-sdk-version',
1188
1188
  type: 'x-sdk-type'
1189
1189
  });
1190
- SDK._version = 'v1.136.0';
1190
+ SDK._version = 'v1.138.1-beta';
1191
1191
 
1192
1192
  function isFunction(value) {
1193
1193
  return typeof value === 'function';
@@ -4411,7 +4411,7 @@ var InstrumentationAgent = /*#__PURE__*/function (_MicroAgent) {
4411
4411
  _classCallCheck(this, InstrumentationAgent);
4412
4412
  _this = _callSuper(this, InstrumentationAgent, [config]);
4413
4413
  _this.call = function (method) {
4414
- if (_this.isAvailable()) {
4414
+ if (_this.isAvailable() && InstrumentationAgent.agent) {
4415
4415
  var _InstrumentationAgent;
4416
4416
  for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
4417
4417
  args[_key - 1] = arguments[_key];
@@ -4430,21 +4430,28 @@ var InstrumentationAgent = /*#__PURE__*/function (_MicroAgent) {
4430
4430
  }], [{
4431
4431
  key: "instance",
4432
4432
  get: function get() {
4433
+ var _a;
4433
4434
  if (!InstrumentationAgent.initialized) {
4434
4435
  var _getConfig = getConfig(),
4435
4436
  available = _getConfig.available,
4436
4437
  options = _getConfig.options;
4437
4438
  InstrumentationAgent.available = available;
4439
+ InstrumentationAgent.agent = undefined;
4438
4440
  if (available) {
4439
4441
  InstrumentationAgent.agent = new InstrumentationAgent(options);
4440
4442
  InstrumentationAgent.agent.start([Instrument$2.featureName, Instrument.featureName, Instrument$1.featureName]);
4441
4443
  }
4442
4444
  InstrumentationAgent.initialized = true;
4443
4445
  }
4444
- return InstrumentationAgent.agent;
4446
+ return (_a = InstrumentationAgent.agent) !== null && _a !== void 0 ? _a : InstrumentationAgent.noopClient;
4445
4447
  }
4446
4448
  }]);
4447
4449
  }(MicroAgent);
4450
+ InstrumentationAgent.noopClient = {
4451
+ call: function call() {
4452
+ // no-op: instrumentation unavailable (missing/invalid config)
4453
+ }
4454
+ };
4448
4455
 
4449
4456
  var ActionRepository = /*#__PURE__*/function () {
4450
4457
  function ActionRepository() {
@@ -10160,7 +10167,7 @@ var AppleWalletService = /*#__PURE__*/function (_WalletService) {
10160
10167
  });
10161
10168
  };
10162
10169
  _this.onPaymentAuthorized = function (event) {
10163
- var _a;
10170
+ var _a, _b, _c, _d, _e;
10164
10171
  var _event$payment = event.payment,
10165
10172
  token = _event$payment.token,
10166
10173
  billingContact = _event$payment.billingContact,
@@ -10178,8 +10185,8 @@ var AppleWalletService = /*#__PURE__*/function (_WalletService) {
10178
10185
  }), {
10179
10186
  type: token.paymentMethod.type,
10180
10187
  card_scheme: token.paymentMethod.network,
10181
- address_line1: billingContact === null || billingContact === void 0 ? void 0 : billingContact.addressLines[0],
10182
- address_line2: billingContact === null || billingContact === void 0 ? void 0 : billingContact.addressLines[1],
10188
+ address_line1: (_b = billingContact === null || billingContact === void 0 ? void 0 : billingContact.addressLines) === null || _b === void 0 ? void 0 : _b[0],
10189
+ address_line2: (_c = billingContact === null || billingContact === void 0 ? void 0 : billingContact.addressLines) === null || _c === void 0 ? void 0 : _c[1],
10183
10190
  address_country: billingContact === null || billingContact === void 0 ? void 0 : billingContact.countryCode,
10184
10191
  address_city: billingContact === null || billingContact === void 0 ? void 0 : billingContact.locality,
10185
10192
  address_postcode: billingContact === null || billingContact === void 0 ? void 0 : billingContact.postalCode,
@@ -10193,8 +10200,8 @@ var AppleWalletService = /*#__PURE__*/function (_WalletService) {
10193
10200
  }), _this.hasShippingOptions() && {
10194
10201
  options: _this.meta.shipping_options
10195
10202
  }), {
10196
- address_line1: shippingContact.addressLines[0],
10197
- address_line2: shippingContact.addressLines[1],
10203
+ address_line1: (_d = shippingContact.addressLines) === null || _d === void 0 ? void 0 : _d[0],
10204
+ address_line2: (_e = shippingContact.addressLines) === null || _e === void 0 ? void 0 : _e[1],
10198
10205
  address_country: shippingContact.countryCode,
10199
10206
  address_city: shippingContact.locality,
10200
10207
  address_postcode: shippingContact.postalCode,
@@ -22650,49 +22657,75 @@ var ApplePayWalletButtonExpress = /*#__PURE__*/function (_BaseWalletButton) {
22650
22657
  });
22651
22658
  };
22652
22659
  _this.onPaymentAuthorized = function (event) {
22653
- var _event$payment = event.payment,
22654
- token = _event$payment.token,
22655
- billingContact = _event$payment.billingContact,
22656
- shippingContact = _event$payment.shippingContact;
22657
- _this.executeWalletCapture(_extends(_extends({}, shippingContact && {
22658
- shipping: {
22659
- address_line1: shippingContact.addressLines[0],
22660
- address_line2: shippingContact.addressLines[1],
22661
- address_line3: shippingContact.addressLines[2],
22662
- address_country: shippingContact.countryCode,
22663
- address_city: shippingContact.locality,
22664
- address_postcode: shippingContact.postalCode,
22665
- address_state: shippingContact.administrativeArea,
22666
- contact: {
22667
- phone: shippingContact.phoneNumber,
22668
- email: shippingContact.emailAddress,
22669
- first_name: shippingContact.givenName,
22670
- last_name: shippingContact.familyName
22671
- }
22672
- }
22673
- }), {
22674
- customer: {
22675
- first_name: billingContact === null || billingContact === void 0 ? void 0 : billingContact.givenName,
22676
- last_name: billingContact === null || billingContact === void 0 ? void 0 : billingContact.familyName,
22677
- email: (billingContact === null || billingContact === void 0 ? void 0 : billingContact.emailAddress) || (shippingContact === null || shippingContact === void 0 ? void 0 : shippingContact.emailAddress),
22678
- phone: (billingContact === null || billingContact === void 0 ? void 0 : billingContact.phoneNumber) || (shippingContact === null || shippingContact === void 0 ? void 0 : shippingContact.phoneNumber),
22679
- payment_source: {
22680
- wallet_type: WALLET_TYPE.APPLE,
22681
- address_line1: billingContact === null || billingContact === void 0 ? void 0 : billingContact.addressLines[0],
22682
- address_line2: billingContact === null || billingContact === void 0 ? void 0 : billingContact.addressLines[1],
22683
- address_country: billingContact === null || billingContact === void 0 ? void 0 : billingContact.countryCode,
22684
- address_city: billingContact === null || billingContact === void 0 ? void 0 : billingContact.locality,
22685
- address_postcode: billingContact === null || billingContact === void 0 ? void 0 : billingContact.postalCode,
22686
- address_state: billingContact === null || billingContact === void 0 ? void 0 : billingContact.administrativeArea,
22687
- ref_token: token.paymentData ? JSON.stringify(token.paymentData) : '',
22688
- wallet_express: true
22660
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
22661
+ try {
22662
+ var _event$payment = event.payment,
22663
+ token = _event$payment.token,
22664
+ billingContact = _event$payment.billingContact,
22665
+ shippingContact = _event$payment.shippingContact;
22666
+ var hasShippingFields = !!(((_a = shippingContact === null || shippingContact === void 0 ? void 0 : shippingContact.addressLines) === null || _a === void 0 ? void 0 : _a.length) || (shippingContact === null || shippingContact === void 0 ? void 0 : shippingContact.countryCode) || (shippingContact === null || shippingContact === void 0 ? void 0 : shippingContact.postalCode) || (shippingContact === null || shippingContact === void 0 ? void 0 : shippingContact.locality) || (shippingContact === null || shippingContact === void 0 ? void 0 : shippingContact.administrativeArea));
22667
+ var hasContactFields = !!((shippingContact === null || shippingContact === void 0 ? void 0 : shippingContact.phoneNumber) || (shippingContact === null || shippingContact === void 0 ? void 0 : shippingContact.emailAddress) || (shippingContact === null || shippingContact === void 0 ? void 0 : shippingContact.givenName) || (shippingContact === null || shippingContact === void 0 ? void 0 : shippingContact.familyName));
22668
+ _this.executeWalletCapture(_extends(_extends({}, (hasShippingFields || hasContactFields) && {
22669
+ shipping: _extends(_extends(_extends(_extends(_extends(_extends(_extends(_extends({}, ((_b = shippingContact === null || shippingContact === void 0 ? void 0 : shippingContact.addressLines) === null || _b === void 0 ? void 0 : _b[0]) && {
22670
+ address_line1: (_c = shippingContact.addressLines) === null || _c === void 0 ? void 0 : _c[0]
22671
+ }), ((_d = shippingContact === null || shippingContact === void 0 ? void 0 : shippingContact.addressLines) === null || _d === void 0 ? void 0 : _d[1]) && {
22672
+ address_line2: (_e = shippingContact.addressLines) === null || _e === void 0 ? void 0 : _e[1]
22673
+ }), ((_f = shippingContact === null || shippingContact === void 0 ? void 0 : shippingContact.addressLines) === null || _f === void 0 ? void 0 : _f[2]) && {
22674
+ address_line3: (_g = shippingContact.addressLines) === null || _g === void 0 ? void 0 : _g[2]
22675
+ }), (shippingContact === null || shippingContact === void 0 ? void 0 : shippingContact.countryCode) && {
22676
+ address_country: shippingContact.countryCode
22677
+ }), (shippingContact === null || shippingContact === void 0 ? void 0 : shippingContact.locality) && {
22678
+ address_city: shippingContact.locality
22679
+ }), (shippingContact === null || shippingContact === void 0 ? void 0 : shippingContact.postalCode) && {
22680
+ address_postcode: shippingContact.postalCode
22681
+ }), (shippingContact === null || shippingContact === void 0 ? void 0 : shippingContact.administrativeArea) && {
22682
+ address_state: shippingContact.administrativeArea
22683
+ }), hasContactFields && {
22684
+ contact: _extends(_extends(_extends(_extends({}, (shippingContact === null || shippingContact === void 0 ? void 0 : shippingContact.phoneNumber) && {
22685
+ phone: shippingContact.phoneNumber
22686
+ }), (shippingContact === null || shippingContact === void 0 ? void 0 : shippingContact.emailAddress) && {
22687
+ email: shippingContact.emailAddress
22688
+ }), (shippingContact === null || shippingContact === void 0 ? void 0 : shippingContact.givenName) && {
22689
+ first_name: shippingContact.givenName
22690
+ }), (shippingContact === null || shippingContact === void 0 ? void 0 : shippingContact.familyName) && {
22691
+ last_name: shippingContact.familyName
22692
+ })
22693
+ })
22694
+ }), {
22695
+ customer: {
22696
+ first_name: billingContact === null || billingContact === void 0 ? void 0 : billingContact.givenName,
22697
+ last_name: billingContact === null || billingContact === void 0 ? void 0 : billingContact.familyName,
22698
+ email: (billingContact === null || billingContact === void 0 ? void 0 : billingContact.emailAddress) || (shippingContact === null || shippingContact === void 0 ? void 0 : shippingContact.emailAddress),
22699
+ phone: (billingContact === null || billingContact === void 0 ? void 0 : billingContact.phoneNumber) || (shippingContact === null || shippingContact === void 0 ? void 0 : shippingContact.phoneNumber),
22700
+ payment_source: {
22701
+ wallet_type: WALLET_TYPE.APPLE,
22702
+ address_line1: (_h = billingContact === null || billingContact === void 0 ? void 0 : billingContact.addressLines) === null || _h === void 0 ? void 0 : _h[0],
22703
+ address_line2: (_j = billingContact === null || billingContact === void 0 ? void 0 : billingContact.addressLines) === null || _j === void 0 ? void 0 : _j[1],
22704
+ address_country: billingContact === null || billingContact === void 0 ? void 0 : billingContact.countryCode,
22705
+ address_city: billingContact === null || billingContact === void 0 ? void 0 : billingContact.locality,
22706
+ address_postcode: billingContact === null || billingContact === void 0 ? void 0 : billingContact.postalCode,
22707
+ address_state: billingContact === null || billingContact === void 0 ? void 0 : billingContact.administrativeArea,
22708
+ ref_token: token.paymentData ? JSON.stringify(token.paymentData) : '',
22709
+ wallet_express: true
22710
+ }
22689
22711
  }
22690
- }
22691
- })).then(function () {
22692
- _this.paymentSession.completePayment(ApplePaySession.STATUS_SUCCESS);
22693
- })["catch"](function () {
22712
+ })).then(function () {
22713
+ _this.paymentSession.completePayment(ApplePaySession.STATUS_SUCCESS);
22714
+ })["catch"](function () {
22715
+ _this.paymentSession.completePayment(ApplePaySession.STATUS_FAILURE);
22716
+ });
22717
+ } catch (error) {
22718
+ // this ensures thatwe always call completePayment and emit error callback even if there's an uncaught exception
22694
22719
  _this.paymentSession.completePayment(ApplePaySession.STATUS_FAILURE);
22695
- });
22720
+ _this.eventEmitter.emit(EVENT.PAYMENT_ERROR, {
22721
+ event: EVENT.PAYMENT_ERROR,
22722
+ chargeId: (_k = _this.chargeWalletTokenMeta) === null || _k === void 0 ? void 0 : _k.charge.id,
22723
+ data: {
22724
+ message: error instanceof Error ? error.message : 'Payment processing failed',
22725
+ code: 'PAYMENT_AUTHORIZATION_ERROR'
22726
+ }
22727
+ });
22728
+ }
22696
22729
  };
22697
22730
  _this.onCancelPayment = function () {
22698
22731
  return _this.handleCheckoutClose();
@@ -22919,24 +22952,30 @@ var ApplePayWalletButtonExpress = /*#__PURE__*/function (_BaseWalletButton) {
22919
22952
  }, {
22920
22953
  key: "parseShippingContact",
22921
22954
  value: function parseShippingContact() {
22922
- var _a, _b, _c, _d;
22955
+ var _a, _b, _c, _d, _e, _f, _g, _h;
22923
22956
  if (!((_b = (_a = this.chargeWalletTokenMeta) === null || _a === void 0 ? void 0 : _a.charge) === null || _b === void 0 ? void 0 : _b.shipping) && !this.meta.shipping) {
22924
22957
  return {};
22925
22958
  }
22926
22959
  var shipping = ((_d = (_c = this.chargeWalletTokenMeta) === null || _c === void 0 ? void 0 : _c.charge) === null || _d === void 0 ? void 0 : _d.shipping) || this.meta.shipping;
22927
- return _extends(_extends({}, (shipping === null || shipping === void 0 ? void 0 : shipping.contact) && {
22960
+ var shippingFromCharge = !!((_f = (_e = this.chargeWalletTokenMeta) === null || _e === void 0 ? void 0 : _e.charge) === null || _f === void 0 ? void 0 : _f.shipping);
22961
+ var requiresPostalAddress = (_h = (_g = this.meta.required_shipping_contact_fields) === null || _g === void 0 ? void 0 : _g.includes('postalAddress')) !== null && _h !== void 0 ? _h : false;
22962
+ var contact = _extends({}, (shipping === null || shipping === void 0 ? void 0 : shipping.contact) && {
22928
22963
  phoneNumber: shipping.contact.phone,
22929
22964
  emailAddress: shipping.contact.email,
22930
22965
  givenName: shipping.contact.first_name,
22931
22966
  familyName: shipping.contact.last_name
22932
- }), {
22933
- addressLines: [shipping.address_line1, shipping.address_line2, shipping.address_line3].filter(Boolean),
22934
- locality: shipping.address_city,
22935
- postalCode: shipping.address_postcode,
22936
- administrativeArea: shipping.address_state,
22937
- country: shipping.address_country,
22938
- countryCode: shipping.address_country_code ? shipping.address_country_code : shipping.address_country
22939
22967
  });
22968
+ if (requiresPostalAddress || shippingFromCharge) {
22969
+ return _extends(_extends({}, contact), {
22970
+ addressLines: [shipping.address_line1, shipping.address_line2, shipping.address_line3].filter(Boolean),
22971
+ locality: shipping.address_city,
22972
+ postalCode: shipping.address_postcode,
22973
+ administrativeArea: shipping.address_state,
22974
+ country: shipping.address_country,
22975
+ countryCode: shipping.address_country_code ? shipping.address_country_code : shipping.address_country
22976
+ });
22977
+ }
22978
+ return contact;
22940
22979
  }
22941
22980
  }, {
22942
22981
  key: "parseShippingMethod",
@@ -22964,7 +23003,7 @@ var ApplePayWalletButtonExpress = /*#__PURE__*/function (_BaseWalletButton) {
22964
23003
  }, {
22965
23004
  key: "parseShippingContactUpdateEvent",
22966
23005
  value: function parseShippingContactUpdateEvent(data) {
22967
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x;
23006
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z;
22968
23007
  return _extends(_extends(_extends({
22969
23008
  contact: {
22970
23009
  phone: (_e = (_d = (_c = (_b = (_a = this.chargeWalletTokenMeta) === null || _a === void 0 ? void 0 : _a.charge) === null || _b === void 0 ? void 0 : _b.shipping) === null || _c === void 0 ? void 0 : _c.contact) === null || _d === void 0 ? void 0 : _d.phone) !== null && _e !== void 0 ? _e : data.shippingContact.phoneNumber,
@@ -22973,9 +23012,9 @@ var ApplePayWalletButtonExpress = /*#__PURE__*/function (_BaseWalletButton) {
22973
23012
  last_name: (_v = (_u = (_t = (_s = (_r = this.chargeWalletTokenMeta) === null || _r === void 0 ? void 0 : _r.charge) === null || _s === void 0 ? void 0 : _s.shipping) === null || _t === void 0 ? void 0 : _t.contact) === null || _u === void 0 ? void 0 : _u.last_name) !== null && _v !== void 0 ? _v : data.shippingContact.familyName
22974
23013
  }
22975
23014
  }, ((_w = data.shippingContact.addressLines) === null || _w === void 0 ? void 0 : _w[0]) && {
22976
- address_line1: data.shippingContact.addressLines[0]
22977
- }), ((_x = data.shippingContact.addressLines) === null || _x === void 0 ? void 0 : _x[1]) && {
22978
- address_line2: data.shippingContact.addressLines[1]
23015
+ address_line1: (_x = data.shippingContact.addressLines) === null || _x === void 0 ? void 0 : _x[0]
23016
+ }), ((_y = data.shippingContact.addressLines) === null || _y === void 0 ? void 0 : _y[1]) && {
23017
+ address_line2: (_z = data.shippingContact.addressLines) === null || _z === void 0 ? void 0 : _z[1]
22979
23018
  }), {
22980
23019
  address_city: data.shippingContact.locality,
22981
23020
  address_postcode: data.shippingContact.postalCode,
@@ -139,12 +139,16 @@ type HttpRequestUrl = string | URL;
139
139
  type AgentPrototype = Pick<(typeof MicroAgent)['prototype'], 'addPageAction' | 'noticeError'>;
140
140
  type AgentMethodNames = keyof AgentPrototype;
141
141
  type AgentMethodParameters<T extends AgentMethodNames> = Parameters<AgentPrototype[T]>;
142
+ type InstrumentationClient = {
143
+ call<T extends AgentMethodNames>(method: T, ...args: AgentMethodParameters<T>): void;
144
+ };
142
145
  declare class InstrumentationAgent extends MicroAgent {
143
146
  private static agent;
144
147
  private static available;
145
148
  private static initialized;
149
+ private static readonly noopClient;
146
150
  private constructor();
147
- static get instance(): InstrumentationAgent;
151
+ static get instance(): InstrumentationClient;
148
152
  isAvailable(): boolean;
149
153
  call: <T extends "addPageAction" | "noticeError">(method: T, ...args: AgentMethodParameters<T>) => void;
150
154
  }
@@ -5014,7 +5018,7 @@ interface ApplePayWalletMeta extends BaseWalletMeta {
5014
5018
  merchant_capabilities?: Array<'supports3DS' | 'supportsEMV' | 'supportsCredit' | 'supportsDebit'>;
5015
5019
  supported_networks?: Array<'visa' | 'masterCard' | 'amex' | 'chinaUnionPay' | 'discover' | 'interac' | 'jcb' | 'privateLabel'>;
5016
5020
  required_billing_contact_fields?: Array<'email' | 'name' | 'phone' | 'postalAddress'>;
5017
- required_shipping_contact_fields?: Array<'email' | 'phone'>;
5021
+ required_shipping_contact_fields?: Array<'email' | 'phone' | 'postalAddress'>;
5018
5022
  apple_pay_capabilities?: Array<'credentials_available' | 'credentials_status_unknown' | 'credentials_unavailable'>;
5019
5023
  supported_countries?: string[];
5020
5024
  style?: {
@@ -1 +1 @@
1
- {"version":3,"file":"browser.d.ts","sourceRoot":"","sources":["../../src/helper/browser.ts"],"names":[],"mappings":"AAAA,qBAAa,OAAO;WAEJ,UAAU,IAAI,OAAO;WAMrB,WAAW,IAAI,OAAO;WAMtB,cAAc,IAAI,OAAO;WAIzB,WAAW,IAAI,MAAM;WAIrB,iBAAiB,IAAI,MAAM;WAI3B,cAAc,IAAI,MAAM;WA4BxB,aAAa,IAAI,OAAO;WAIxB,aAAa,IAAI,MAAM;WAIvB,eAAe,IAAI,MAAM;WAIzB,cAAc,IAAI,MAAM;WAIxB,cAAc,IAAI;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,MAAM,CAAA;KAAE;CA0BlE"}
1
+ {"version":3,"file":"browser.d.ts","sourceRoot":"","sources":["../../src/helper/browser.ts"],"names":[],"mappings":"AAAA,qBAAa,OAAO;WACJ,UAAU,IAAI,OAAO;WAQrB,WAAW,IAAI,OAAO;WAQtB,cAAc,IAAI,OAAO;WAIzB,WAAW,IAAI,MAAM;WAIrB,iBAAiB,IAAI,MAAM;WAI3B,cAAc,IAAI,MAAM;WAsBxB,aAAa,IAAI,OAAO;WAIxB,aAAa,IAAI,MAAM;WAIvB,eAAe,IAAI,MAAM;WAIzB,cAAc,IAAI,MAAM;WAIxB,cAAc,IAAI;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,MAAM,CAAA;KAAE;CA8BlE"}
@@ -2,12 +2,16 @@ import { MicroAgent } from '@newrelic/browser-agent/loaders/micro-agent';
2
2
  type AgentPrototype = Pick<(typeof MicroAgent)['prototype'], 'addPageAction' | 'noticeError'>;
3
3
  type AgentMethodNames = keyof AgentPrototype;
4
4
  type AgentMethodParameters<T extends AgentMethodNames> = Parameters<AgentPrototype[T]>;
5
+ export type InstrumentationClient = {
6
+ call<T extends AgentMethodNames>(method: T, ...args: AgentMethodParameters<T>): void;
7
+ };
5
8
  declare class InstrumentationAgent extends MicroAgent {
6
9
  private static agent;
7
10
  private static available;
8
11
  private static initialized;
12
+ private static readonly noopClient;
9
13
  private constructor();
10
- static get instance(): InstrumentationAgent;
14
+ static get instance(): InstrumentationClient;
11
15
  isAvailable(): boolean;
12
16
  call: <T extends "addPageAction" | "noticeError">(method: T, ...args: AgentMethodParameters<T>) => void;
13
17
  }
@@ -1 +1 @@
1
- {"version":3,"file":"instrumentation.agent.d.ts","sourceRoot":"","sources":["../../../../src/shared/services/instrumentation/instrumentation.agent.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,6CAA6C,CAAC;AAMzE,KAAK,cAAc,GAAG,IAAI,CAAC,CAAC,OAAO,UAAU,CAAC,CAAC,WAAW,CAAC,EAAE,eAAe,GAAG,aAAa,CAAC,CAAC;AAC9F,KAAK,gBAAgB,GAAG,MAAM,cAAc,CAAC;AAC7C,KAAK,qBAAqB,CAAC,CAAC,SAAS,gBAAgB,IAAI,UAAU,CAAC,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC;AAEvF,cAAM,oBAAqB,SAAQ,UAAU;IACzC,OAAO,CAAC,MAAM,CAAC,KAAK,CAAuB;IAC3C,OAAO,CAAC,MAAM,CAAC,SAAS,CAAU;IAClC,OAAO,CAAC,MAAM,CAAC,WAAW,CAAU;IAEpC,OAAO;IAIP,WAAkB,QAAQ,yBAmBzB;IAEM,WAAW;IAIX,IAAI,sDAAwC,CAAC,WAAW,sBAAsB,CAAC,CAAC,UAIrF;CACL;AAED,OAAO,EAAE,oBAAoB,EAAE,CAAC"}
1
+ {"version":3,"file":"instrumentation.agent.d.ts","sourceRoot":"","sources":["../../../../src/shared/services/instrumentation/instrumentation.agent.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,6CAA6C,CAAC;AAMzE,KAAK,cAAc,GAAG,IAAI,CAAC,CAAC,OAAO,UAAU,CAAC,CAAC,WAAW,CAAC,EAAE,eAAe,GAAG,aAAa,CAAC,CAAC;AAC9F,KAAK,gBAAgB,GAAG,MAAM,cAAc,CAAC;AAC7C,KAAK,qBAAqB,CAAC,CAAC,SAAS,gBAAgB,IAAI,UAAU,CAAC,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC;AAEvF,MAAM,MAAM,qBAAqB,GAAG;IAChC,IAAI,CAAC,CAAC,SAAS,gBAAgB,EAAE,MAAM,EAAE,CAAC,EAAE,GAAG,IAAI,EAAE,qBAAqB,CAAC,CAAC,CAAC,GAAG,IAAI,CAAC;CACxF,CAAC;AAEF,cAAM,oBAAqB,SAAQ,UAAU;IACzC,OAAO,CAAC,MAAM,CAAC,KAAK,CAAmC;IACvD,OAAO,CAAC,MAAM,CAAC,SAAS,CAAU;IAClC,OAAO,CAAC,MAAM,CAAC,WAAW,CAAU;IACpC,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,UAAU,CAIhC;IAEF,OAAO;IAIP,WAAkB,QAAQ,IAAI,qBAAqB,CAoBlD;IAEM,WAAW;IAIX,IAAI,sDAAwC,CAAC,WAAW,sBAAsB,CAAC,CAAC,UAIrF;CACL;AAED,OAAO,EAAE,oBAAoB,EAAE,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"action.repository.d.ts","sourceRoot":"","sources":["../../../../../src/shared/services/instrumentation/repositories/action.repository.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,0BAA0B,CAAC;AAChE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAElE,KAAK,cAAc,GAAG,CACpB,UAAU,EAAE,gBAAgB,EAC5B,UAAU,EAAE,MAAM,EAClB,GAAG,EAAE,iBAAiB,KACnB,IAAI,CAAC;AAEV,UAAU,aAAa;IACrB,YAAY,EAAE,cAAc,CAAC;CAC9B;AAED,cAAM,gBAAgB;IACpB,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAuB;;IAMvC,YAAY,CAChB,GAAG,IAAI,EAAE,UAAU,CAAC,oBAAoB,CAAC,eAAe,CAAC,CAAC,GACzD,OAAO,CAAC,IAAI,CAAC;CAGjB;AAED,QAAA,MAAM,gBAAgB,kBAAyB,CAAC;AAEhD,OAAO,EAAE,gBAAgB,EAAE,CAAC;AAC5B,YAAY,EAAE,aAAa,EAAE,cAAc,EAAE,CAAC"}
1
+ {"version":3,"file":"action.repository.d.ts","sourceRoot":"","sources":["../../../../../src/shared/services/instrumentation/repositories/action.repository.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAA8B,MAAM,0BAA0B,CAAC;AAC5F,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAElE,KAAK,cAAc,GAAG,CACpB,UAAU,EAAE,gBAAgB,EAC5B,UAAU,EAAE,MAAM,EAClB,GAAG,EAAE,iBAAiB,KACnB,IAAI,CAAC;AAEV,UAAU,aAAa;IACrB,YAAY,EAAE,cAAc,CAAC;CAC9B;AAED,cAAM,gBAAgB;IACpB,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAwB;;IAMxC,YAAY,CAChB,GAAG,IAAI,EAAE,UAAU,CAAC,oBAAoB,CAAC,eAAe,CAAC,CAAC,GACzD,OAAO,CAAC,IAAI,CAAC;CAGjB;AAED,QAAA,MAAM,gBAAgB,kBAAyB,CAAC;AAEhD,OAAO,EAAE,gBAAgB,EAAE,CAAC;AAC5B,YAAY,EAAE,aAAa,EAAE,cAAc,EAAE,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"error.repository.d.ts","sourceRoot":"","sources":["../../../../../src/shared/services/instrumentation/repositories/error.repository.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,0BAA0B,CAAC;AAChE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAElE,KAAK,aAAa,GAAG,CACnB,UAAU,EAAE,eAAe,EAC3B,KAAK,EAAE,MAAM,GAAG,KAAK,EACrB,GAAG,EAAE,iBAAiB,GACpB,CACI;IACE,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,CAAC,EAAE,KAAK,CAAC;CACtB,GACD;IACE,SAAS,CAAC,EAAE,KAAK,CAAC;IAClB,WAAW,CAAC,EAAE,KAAK,CAAC;IACpB,YAAY,EAAE,MAAM,CAAC;CACtB,CACJ,KACA,IAAI,CAAC;AAEV,UAAU,YAAY;IACpB,WAAW,EAAE,aAAa,CAAC;CAC5B;AAED,cAAM,eAAe;IACnB,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAuB;;IAMvC,WAAW,CACf,GAAG,IAAI,EAAE,UAAU,CAAC,oBAAoB,CAAC,aAAa,CAAC,CAAC,GACvD,OAAO,CAAC,IAAI,CAAC;CAGjB;AAED,QAAA,MAAM,eAAe,iBAAwB,CAAC;AAE9C,OAAO,EAAE,eAAe,EAAE,CAAC;AAC3B,YAAY,EAAE,YAAY,EAAE,aAAa,EAAE,CAAC"}
1
+ {"version":3,"file":"error.repository.d.ts","sourceRoot":"","sources":["../../../../../src/shared/services/instrumentation/repositories/error.repository.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAA8B,MAAM,0BAA0B,CAAC;AAC5F,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAElE,KAAK,aAAa,GAAG,CACnB,UAAU,EAAE,eAAe,EAC3B,KAAK,EAAE,MAAM,GAAG,KAAK,EACrB,GAAG,EAAE,iBAAiB,GACpB,CACI;IACE,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,CAAC,EAAE,KAAK,CAAC;CACtB,GACD;IACE,SAAS,CAAC,EAAE,KAAK,CAAC;IAClB,WAAW,CAAC,EAAE,KAAK,CAAC;IACpB,YAAY,EAAE,MAAM,CAAC;CACtB,CACJ,KACA,IAAI,CAAC;AAEV,UAAU,YAAY;IACpB,WAAW,EAAE,aAAa,CAAC;CAC5B;AAED,cAAM,eAAe;IACnB,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAwB;;IAMxC,WAAW,CACf,GAAG,IAAI,EAAE,UAAU,CAAC,oBAAoB,CAAC,aAAa,CAAC,CAAC,GACvD,OAAO,CAAC,IAAI,CAAC;CAGjB;AAED,QAAA,MAAM,eAAe,iBAAwB,CAAC;AAE9C,OAAO,EAAE,eAAe,EAAE,CAAC;AAC3B,YAAY,EAAE,YAAY,EAAE,aAAa,EAAE,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"event.repository.d.ts","sourceRoot":"","sources":["../../../../../src/shared/services/instrumentation/repositories/event.repository.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,0BAA0B,CAAC;AAChE,OAAO,KAAK,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAElF,KAAK,aAAa,GAAG,CACnB,UAAU,EAAE,eAAe,EAC3B,UAAU,EAAE,MAAM,EAClB,GAAG,EAAE,iBAAiB,GAAG,cAAc,KACpC,IAAI,CAAC;AAEV,UAAU,YAAY;IACpB,WAAW,EAAE,aAAa,CAAC;CAC5B;AAED,cAAM,eAAe;IACnB,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAuB;;IAMvC,WAAW,CACf,GAAG,IAAI,EAAE,UAAU,CAAC,oBAAoB,CAAC,eAAe,CAAC,CAAC,GACzD,OAAO,CAAC,IAAI,CAAC;CAGjB;AAED,QAAA,MAAM,eAAe,iBAAwB,CAAC;AAE9C,OAAO,EAAE,eAAe,EAAE,CAAC;AAC3B,YAAY,EAAE,YAAY,EAAE,aAAa,EAAE,CAAC"}
1
+ {"version":3,"file":"event.repository.d.ts","sourceRoot":"","sources":["../../../../../src/shared/services/instrumentation/repositories/event.repository.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAA8B,MAAM,0BAA0B,CAAC;AAC5F,OAAO,KAAK,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAElF,KAAK,aAAa,GAAG,CACnB,UAAU,EAAE,eAAe,EAC3B,UAAU,EAAE,MAAM,EAClB,GAAG,EAAE,iBAAiB,GAAG,cAAc,KACpC,IAAI,CAAC;AAEV,UAAU,YAAY;IACpB,WAAW,EAAE,aAAa,CAAC;CAC5B;AAED,cAAM,eAAe;IACnB,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAwB;;IAMxC,WAAW,CACf,GAAG,IAAI,EAAE,UAAU,CAAC,oBAAoB,CAAC,eAAe,CAAC,CAAC,GACzD,OAAO,CAAC,IAAI,CAAC;CAGjB;AAED,QAAA,MAAM,eAAe,iBAAwB,CAAC;AAE9C,OAAO,EAAE,eAAe,EAAE,CAAC;AAC3B,YAAY,EAAE,YAAY,EAAE,aAAa,EAAE,CAAC"}
@@ -16,7 +16,7 @@ export { PaypalWalletButtonExpress } from './services/paypal/paypal.wallet-butto
16
16
  * @param {Array<'supports3DS' | 'supportsEMV' | 'supportsCredit' | 'supportsDebit'>} [merchant_capabilities] - Array of capabilities that the merchant supports, influencing the transaction processing features available.
17
17
  * @param {Array<'visa' | 'masterCard' | 'amex' | 'chinaUnionPay' | 'discover' | 'interac' | 'jcb' | 'privateLabel'>} [supported_networks] - List of payment networks supported by the merchant for ApplePay transactions.
18
18
  * @param {Array<'email' | 'name' | 'phone' | 'postalAddress'>} [required_billing_contact_fields] - Contact fields required from the user for billing purposes, improving transaction verification and fraud prevention. Phone and email are currently not returned by Apple.
19
- * @param {Array<'email' | 'phone'>} [required_shipping_contact_fields] - Shipping contact fields that are mandatory to complete the transaction. Use email and phone to collect from customer wallet in the abscense of billing one. Required for onShippingAddressChange callback.
19
+ * @param {Array<'email' | 'phone' | 'postalAddress'>} [required_shipping_contact_fields] - Shipping contact fields that are mandatory to complete the transaction. Use email and phone to collect from customer wallet in the abscense of billing one. Include 'postalAddress' to show shipping address fields collection in the Apple Pay sheet. Required handling of onShippingAddressChange callback.
20
20
  * @param {string[]} [supported_countries] - List of countries where ApplePay is supported by the merchant, restricting usage to specified regions.
21
21
  * @param {object} [style] - Styling configuration for ApplePay buttons displayed during checkout.
22
22
  * @param {ApplePayButtonType} [style.button_type] - Enum type to select the type of ApplePay button (e.g., 'buy', 'donate', etc.), providing user interface customization.
@@ -1 +1 @@
1
- {"version":3,"file":"apple-pay.wallet-button-express.d.ts","sourceRoot":"","sources":["../../../../src/wallet-buttons-express/services/apple-pay/apple-pay.wallet-button-express.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,gBAAgB,EAAE,MAAM,kCAAkC,CAAC;AAGpE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,8CAA8C,CAAC;AAMvF;;;;;;;;;;;;;;GAcG;AACH,cAAM,2BAA4B,SAAQ,gBAAgB,CAAC,kBAAkB,CAAC;IAC5E,OAAO,CAAC,cAAc,CAAkB;IAExC,kBAAkB,aAEhB,QAAQ,EAAE,MAAM,EAChB,sBAAsB,EAAE,MAAM,EAC9B,SAAS,EAAE,MAAM,EACjB,IAAI,EAAE,kBAAkB;IAQ1B;;;;;;;OAOG;IACI,IAAI;IAyBX,OAAO,CAAC,cAAc;IA+BtB;;;;;;;;OAQG;IACI,OAAO,CAAC,IAAI,EAAE,kBAAkB,GAAG,IAAI;IAI9C,OAAO,CAAC,iBAAiB;IA8BzB,OAAO,CAAC,KAAK;IAsBb,OAAO,CAAC,uBAAuB,CAW7B;IAEF,OAAO,CAAC,aAAa;IAgDrB,OAAO,CAAC,kBAAkB,CAgBxB;IAEF,OAAO,CAAC,kBAAkB;IAW1B,OAAO,CAAC,mBAAmB,CA6CzB;IAEF,OAAO,CAAC,kBAAkB;IAc1B,OAAO,CAAC,eAAe,CAErB;IAEF,OAAO,CAAC,oBAAoB;IA6B5B,OAAO,CAAC,mBAAmB;IAW3B,OAAO,CAAC,+BAA+B,CA8BrC;IAEF,OAAO,CAAC,8BAA8B,CAgBpC;IAEF,OAAO,CAAC,8BAA8B;IAWtC,OAAO,CAAC,+BAA+B;IA+BvC,OAAO,CAAC,iBAAiB;CA0B1B;AAED,OAAO,EAAE,2BAA2B,EAAE,CAAC"}
1
+ {"version":3,"file":"apple-pay.wallet-button-express.d.ts","sourceRoot":"","sources":["../../../../src/wallet-buttons-express/services/apple-pay/apple-pay.wallet-button-express.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,gBAAgB,EAAE,MAAM,kCAAkC,CAAC;AAGpE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,8CAA8C,CAAC;AAMvF;;;;;;;;;;;;;;GAcG;AACH,cAAM,2BAA4B,SAAQ,gBAAgB,CAAC,kBAAkB,CAAC;IAC5E,OAAO,CAAC,cAAc,CAAkB;IAExC,kBAAkB,aAEhB,QAAQ,EAAE,MAAM,EAChB,sBAAsB,EAAE,MAAM,EAC9B,SAAS,EAAE,MAAM,EACjB,IAAI,EAAE,kBAAkB;IAQ1B;;;;;;;OAOG;IACI,IAAI;IAyBX,OAAO,CAAC,cAAc;IA+BtB;;;;;;;;OAQG;IACI,OAAO,CAAC,IAAI,EAAE,kBAAkB,GAAG,IAAI;IAI9C,OAAO,CAAC,iBAAiB;IA8BzB,OAAO,CAAC,KAAK;IAsBb,OAAO,CAAC,uBAAuB,CAW7B;IAEF,OAAO,CAAC,aAAa;IAgDrB,OAAO,CAAC,kBAAkB,CAgBxB;IAEF,OAAO,CAAC,kBAAkB;IAW1B,OAAO,CAAC,mBAAmB,CAgGzB;IAEF,OAAO,CAAC,kBAAkB;IAc1B,OAAO,CAAC,eAAe,CAErB;IAEF,OAAO,CAAC,oBAAoB;IAwC5B,OAAO,CAAC,mBAAmB;IAW3B,OAAO,CAAC,+BAA+B,CA8BrC;IAEF,OAAO,CAAC,8BAA8B,CAgBpC;IAEF,OAAO,CAAC,8BAA8B;IAWtC,OAAO,CAAC,+BAA+B;IA+BvC,OAAO,CAAC,iBAAiB;CA0B1B;AAED,OAAO,EAAE,2BAA2B,EAAE,CAAC"}
@@ -9,7 +9,7 @@ export interface ApplePayWalletMeta extends BaseWalletMeta {
9
9
  merchant_capabilities?: Array<'supports3DS' | 'supportsEMV' | 'supportsCredit' | 'supportsDebit'>;
10
10
  supported_networks?: Array<'visa' | 'masterCard' | 'amex' | 'chinaUnionPay' | 'discover' | 'interac' | 'jcb' | 'privateLabel'>;
11
11
  required_billing_contact_fields?: Array<'email' | 'name' | 'phone' | 'postalAddress'>;
12
- required_shipping_contact_fields?: Array<'email' | 'phone'>;
12
+ required_shipping_contact_fields?: Array<'email' | 'phone' | 'postalAddress'>;
13
13
  apple_pay_capabilities?: Array<'credentials_available' | 'credentials_status_unknown' | 'credentials_unavailable'>;
14
14
  supported_countries?: string[];
15
15
  style?: {
@@ -1 +1 @@
1
- {"version":3,"file":"apple-pay-wallet-meta.interface.d.ts","sourceRoot":"","sources":["../../../../../src/wallet-buttons-express/services/apple-pay/interfaces/apple-pay-wallet-meta.interface.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gDAAgD,CAAC;AACrF,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,sCAAsC,CAAC;AAChF,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AAC9E,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,8CAA8C,CAAC;AAC/F,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AAE1E,MAAM,WAAW,kBAAmB,SAAQ,cAAc;IACxD,YAAY,EAAE,MAAM,CAAC;IACrB,OAAO,EAAE,MAAM,CAAC;IAChB,qBAAqB,CAAC,EAAE,KAAK,CAC3B,aAAa,GAAG,aAAa,GAAG,gBAAgB,GAAG,eAAe,CACnE,CAAC;IACF,kBAAkB,CAAC,EAAE,KAAK,CACtB,MAAM,GACN,YAAY,GACZ,MAAM,GACN,eAAe,GACf,UAAU,GACV,SAAS,GACT,KAAK,GACL,cAAc,CACjB,CAAC;IACF,+BAA+B,CAAC,EAAE,KAAK,CAAC,OAAO,GAAG,MAAM,GAAG,OAAO,GAAG,eAAe,CAAC,CAAC;IACtF,gCAAgC,CAAC,EAAE,KAAK,CAAC,OAAO,GAAG,OAAO,CAAC,CAAC;IAC5D,sBAAsB,CAAC,EAAE,KAAK,CAC5B,uBAAuB,GAAG,4BAA4B,GAAG,yBAAyB,CACnF,CAAC;IACF,mBAAmB,CAAC,EAAE,MAAM,EAAE,CAAC;IAC/B,KAAK,CAAC,EAAE;QACN,WAAW,CAAC,EAAE,kBAAkB,CAAC;QACjC,YAAY,CAAC,EAAE,mBAAmB,CAAC;KACpC,CAAC;IACF,QAAQ,CAAC,EAAE,iBAAiB,CAAC;IAC7B,qBAAqB,CAAC,EAAE,0BAA0B,CAAC;CACpD"}
1
+ {"version":3,"file":"apple-pay-wallet-meta.interface.d.ts","sourceRoot":"","sources":["../../../../../src/wallet-buttons-express/services/apple-pay/interfaces/apple-pay-wallet-meta.interface.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gDAAgD,CAAC;AACrF,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,sCAAsC,CAAC;AAChF,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AAC9E,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,8CAA8C,CAAC;AAC/F,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AAE1E,MAAM,WAAW,kBAAmB,SAAQ,cAAc;IACxD,YAAY,EAAE,MAAM,CAAC;IACrB,OAAO,EAAE,MAAM,CAAC;IAChB,qBAAqB,CAAC,EAAE,KAAK,CAC3B,aAAa,GAAG,aAAa,GAAG,gBAAgB,GAAG,eAAe,CACnE,CAAC;IACF,kBAAkB,CAAC,EAAE,KAAK,CACtB,MAAM,GACN,YAAY,GACZ,MAAM,GACN,eAAe,GACf,UAAU,GACV,SAAS,GACT,KAAK,GACL,cAAc,CACjB,CAAC;IACF,+BAA+B,CAAC,EAAE,KAAK,CAAC,OAAO,GAAG,MAAM,GAAG,OAAO,GAAG,eAAe,CAAC,CAAC;IACtF,gCAAgC,CAAC,EAAE,KAAK,CAAC,OAAO,GAAG,OAAO,GAAG,eAAe,CAAC,CAAC;IAC9E,sBAAsB,CAAC,EAAE,KAAK,CAC5B,uBAAuB,GAAG,4BAA4B,GAAG,yBAAyB,CACnF,CAAC;IACF,mBAAmB,CAAC,EAAE,MAAM,EAAE,CAAC;IAC/B,KAAK,CAAC,EAAE;QACN,WAAW,CAAC,EAAE,kBAAkB,CAAC;QACjC,YAAY,CAAC,EAAE,mBAAmB,CAAC;KACpC,CAAC;IACF,QAAQ,CAAC,EAAE,iBAAiB,CAAC;IAC7B,qBAAqB,CAAC,EAAE,0BAA0B,CAAC;CACpD"}