@icanbwell/composite 1.367.3 → 1.368.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/501.index.js +42 -42
- package/index.js +2 -2
- package/native.js +1 -1
- package/package.json +3 -3
package/501.index.js
CHANGED
|
@@ -3884,7 +3884,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
3884
3884
|
}
|
|
3885
3885
|
}
|
|
3886
3886
|
}
|
|
3887
|
-
`));function W4(e){const t=Object.assign(Object.assign({},or),e);return Apollo.useQuery(mx,t)}function K4(e){const t=Object.assign(Object.assign({},or),e);return Apollo.useLazyQuery(mx,t)}const H4=e=>useQuery(GetCoverage,e),J4=e=>useQuery(GetClaims,e),Y4=e=>useQuery(GetClaim,e),X4=e=>useQuery(GetCoverageEligibility,e),Z4=e=>useQuery(GetMedications,e),e6=e=>useQuery(GetMedicationPricing,e),t6=e=>useQuery(GetMedicationKnowledge,e),
|
|
3887
|
+
`));function W4(e){const t=Object.assign(Object.assign({},or),e);return Apollo.useQuery(mx,t)}function K4(e){const t=Object.assign(Object.assign({},or),e);return Apollo.useLazyQuery(mx,t)}const H4=e=>useQuery(GetCoverage,e),J4=e=>useQuery(GetClaims,e),Y4=e=>useQuery(GetClaim,e),X4=e=>useQuery(GetCoverageEligibility,e),Z4=e=>useQuery(GetMedications,e),e6=e=>useQuery(GetMedicationPricing,e),t6=e=>useLazyQuery(GetMedicationPricing,e),r6=e=>useQuery(GetMedicationKnowledge,e),n6=e=>useLazyQuery(GetMedicationKnowledge,e),i6=e=>useQuery(GetLabs,e),a6=e=>useQuery(GetAllergies,e),o6=e=>useQuery(GetCarePlans,e),s6=e=>useQuery(GetEncounters,e),u6=e=>useQuery(GetVitals,e),c6=e=>useQuery(GetProcedures,e),l6=e=>useQuery(GetDiagnoses,e),f6=e=>useQuery(GetImmunizations,e),d6=e=>useQuery(GetNotifications,e),p6=e=>useMutation(ClearNotifications,e),h6=e=>useQuery(GetDigitalWalletCards,e),v6=e=>useQuery(GetDigitalWalletCardDetails,e),g6=e=>useQuery(GetDigitalWalletCardTypes,e),y6=e=>useQuery(GetDigitalWalletCardAttachements,e),_6=e=>useQuery(GetDigitalWalletInsuranceTypes,e),m6=e=>useMutation(CreateDigitalWalletCard,e),b6=e=>useMutation(DeleteDigitalWalletCard,e),S6=e=>useMutation(UpdateDigitalWalletCard,e);let Xf=e=>e,bx,Sx,Ox,Cx,Ex;const pu={context:{apiName:"pss"}},wx=(0,Me.J1)(bx||(bx=Xf`
|
|
3888
3888
|
fragment CommonProviderFields on ProviderResult {
|
|
3889
3889
|
group {
|
|
3890
3890
|
id
|
|
@@ -4059,7 +4059,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
4059
4059
|
mutation Interacted($user: User, $result_id: String) {
|
|
4060
4060
|
interacted(user: $user, result_id: $result_id, interaction: clicked)
|
|
4061
4061
|
}
|
|
4062
|
-
`));function
|
|
4062
|
+
`));function O6(e){const t=Object.assign(Object.assign({},pu),e);return Apollo.useMutation(vq,t)}const Ix=(0,Me.J1)(Ox||(Ox=Xf`
|
|
4063
4063
|
query GetProviders(
|
|
4064
4064
|
$user: User
|
|
4065
4065
|
$index: [Index]
|
|
@@ -4175,7 +4175,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
4175
4175
|
}
|
|
4176
4176
|
}
|
|
4177
4177
|
${0}
|
|
4178
|
-
`),wx);function
|
|
4178
|
+
`),wx);function C6(e){const t=Object.assign(Object.assign({},pu),e);return Apollo.useQuery(Ix,t)}function E6(e){const t=Object.assign(Object.assign({},pu),e);return Apollo.useLazyQuery(Ix,t)}const Tx=(0,Me.J1)(Cx||(Cx=Xf`
|
|
4179
4179
|
query GetProvidersDetails(
|
|
4180
4180
|
$user: User
|
|
4181
4181
|
$id_: [String]
|
|
@@ -4224,7 +4224,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
4224
4224
|
}
|
|
4225
4225
|
}
|
|
4226
4226
|
${0}
|
|
4227
|
-
`),wx);function
|
|
4227
|
+
`),wx);function w6(e){const t=Object.assign(Object.assign({},pu),e);return Apollo.useQuery(Tx,t)}function I6(e){const t=Object.assign(Object.assign({},pu),e);return Apollo.useLazyQuery(Tx,t)}const Px=(0,Me.J1)(Ex||(Ex=Xf`
|
|
4228
4228
|
query GetProvidersTypeahead($user: User, $search: String, $client: [Client], $search_as_you_type: SearchAsYouType) {
|
|
4229
4229
|
providers(user: $user, search: $search, search_as_you_type: $search_as_you_type, client: $client) {
|
|
4230
4230
|
search_as_you_type {
|
|
@@ -4239,7 +4239,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
4239
4239
|
}
|
|
4240
4240
|
}
|
|
4241
4241
|
}
|
|
4242
|
-
`));function
|
|
4242
|
+
`));function T6(e){const t=Object.assign(Object.assign({},pu),e);return Apollo.useQuery(Px,t)}function P6(e){const t=Object.assign(Object.assign({},pu),e);return Apollo.useLazyQuery(Px,t)}let _n=e=>e,xx,$x,Ax,Rx,Dx,kx,Nx,Lx,jx,Mx,Fx,Ux,Gx,Bx,Vx,Qx,qx,zx,Wx,Kx,Hx,Jx,Yx,Xx;const $r={context:{apiName:"accessToCare"}},gq=(0,Me.J1)(xx||(xx=_n`
|
|
4243
4243
|
fragment GeneralPractitionerFields on Patient {
|
|
4244
4244
|
generalPractitioner {
|
|
4245
4245
|
__typename
|
|
@@ -4285,7 +4285,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
4285
4285
|
}
|
|
4286
4286
|
}
|
|
4287
4287
|
}
|
|
4288
|
-
`));function
|
|
4288
|
+
`));function x6(e){const t=Object.assign(Object.assign({},$r),e);return Apollo.useQuery(Zx,t)}function $6(e){const t=Object.assign(Object.assign({},$r),e);return Apollo.useLazyQuery(Zx,t)}const e$=(0,Me.J1)(Ax||(Ax=_n`
|
|
4289
4289
|
query getAppointmentsList($serviceName: String!, $pageOffset: Int!, $isPast: Boolean) {
|
|
4290
4290
|
getAppointmentsList(input: { serviceName: $serviceName, pageOffset: $pageOffset, isPast: $isPast }) {
|
|
4291
4291
|
id
|
|
@@ -4322,25 +4322,25 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
4322
4322
|
}
|
|
4323
4323
|
}
|
|
4324
4324
|
}
|
|
4325
|
-
`));function
|
|
4325
|
+
`));function A6(e){const t=Object.assign(Object.assign({},$r),e);return Apollo.useQuery(e$,t)}function R6(e){const t=Object.assign(Object.assign({},$r),e);return Apollo.useLazyQuery(e$,t)}const yq=(0,Me.J1)(Rx||(Rx=_n`
|
|
4326
4326
|
mutation cancelAppointment($serviceName: String!, $id: String!, $cancelReasonCode: String!) {
|
|
4327
4327
|
cancelAppointment(input: { serviceName: $serviceName, id: $id, cancelReasonCode: $cancelReasonCode }) {
|
|
4328
4328
|
id
|
|
4329
4329
|
success
|
|
4330
4330
|
}
|
|
4331
4331
|
}
|
|
4332
|
-
`));function
|
|
4332
|
+
`));function D6(e){const t=Object.assign(Object.assign({},$r),e);return Apollo.useMutation(yq,t)}const t$=(0,Me.J1)(Dx||(Dx=_n`
|
|
4333
4333
|
query cancelReasons($serviceName: String!) {
|
|
4334
4334
|
cancelReasons(input: { serviceName: $serviceName }) {
|
|
4335
4335
|
code
|
|
4336
4336
|
displayText
|
|
4337
4337
|
}
|
|
4338
4338
|
}
|
|
4339
|
-
`));function
|
|
4339
|
+
`));function k6(e){const t=Object.assign(Object.assign({},$r),e);return Apollo.useQuery(t$,t)}function N6(e){const t=Object.assign(Object.assign({},$r),e);return Apollo.useLazyQuery(t$,t)}const _q=(0,Me.J1)(kx||(kx=_n`
|
|
4340
4340
|
mutation checkTransferEligibility($fhirMedicationRequestIDs: [String!]!) {
|
|
4341
4341
|
checkTransferEligibility(input: { fhirMedicationRequestIDs: $fhirMedicationRequestIDs })
|
|
4342
4342
|
}
|
|
4343
|
-
`));function
|
|
4343
|
+
`));function L6(e){const t=Object.assign(Object.assign({},$r),e);return Apollo.useMutation(_q,t)}const mq=(0,Me.J1)(Nx||(Nx=_n`
|
|
4344
4344
|
mutation directAppointmentBooking(
|
|
4345
4345
|
$serviceName: String!
|
|
4346
4346
|
$myChartAccountID: String!
|
|
@@ -4394,7 +4394,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
4394
4394
|
appointmentType
|
|
4395
4395
|
}
|
|
4396
4396
|
}
|
|
4397
|
-
`));function
|
|
4397
|
+
`));function j6(e){const t=Object.assign(Object.assign({},$r),e);return Apollo.useMutation(mq,t)}const r$=(0,Me.J1)(Lx||(Lx=_n`
|
|
4398
4398
|
query directSchedulingSlots(
|
|
4399
4399
|
$serviceName: String!
|
|
4400
4400
|
$patientId: String!
|
|
@@ -4433,7 +4433,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
4433
4433
|
}
|
|
4434
4434
|
}
|
|
4435
4435
|
}
|
|
4436
|
-
`));function
|
|
4436
|
+
`));function M6(e){const t=Object.assign(Object.assign({},$r),e);return Apollo.useQuery(r$,t)}function F6(e){const t=Object.assign(Object.assign({},$r),e);return Apollo.useLazyQuery(r$,t)}const n$=(0,Me.J1)(jx||(jx=_n`
|
|
4437
4437
|
query directVisitTypes($patientId: String!, $serviceName: String!) {
|
|
4438
4438
|
directVisitTypes(input: { patientId: $patientId, serviceName: $serviceName }) {
|
|
4439
4439
|
code
|
|
@@ -4441,7 +4441,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
4441
4441
|
text
|
|
4442
4442
|
}
|
|
4443
4443
|
}
|
|
4444
|
-
`));function
|
|
4444
|
+
`));function U6(e){const t=Object.assign(Object.assign({},$r),e);return Apollo.useQuery(n$,t)}function G6(e){const t=Object.assign(Object.assign({},$r),e);return Apollo.useLazyQuery(n$,t)}const i$=(0,Me.J1)(Mx||(Mx=_n`
|
|
4445
4445
|
query patientIdentifiers($serviceName: String!) {
|
|
4446
4446
|
patientIdentifiers(input: { serviceName: $serviceName }) {
|
|
4447
4447
|
fhirPatientId
|
|
@@ -4451,7 +4451,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
4451
4451
|
myChartAccountIdType
|
|
4452
4452
|
}
|
|
4453
4453
|
}
|
|
4454
|
-
`));function
|
|
4454
|
+
`));function B6(e){const t=Object.assign(Object.assign({},$r),e);return Apollo.useQuery(i$,t)}function V6(e){const t=Object.assign(Object.assign({},$r),e);return Apollo.useLazyQuery(i$,t)}const a$=(0,Me.J1)(Fx||(Fx=_n`
|
|
4455
4455
|
query getPatient($patientId: String!) {
|
|
4456
4456
|
getPatient(input: { id: $patientId }) {
|
|
4457
4457
|
id
|
|
@@ -4466,7 +4466,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
4466
4466
|
}
|
|
4467
4467
|
}
|
|
4468
4468
|
}
|
|
4469
|
-
`));function
|
|
4469
|
+
`));function Q6(e){const t=Object.assign(Object.assign({},$r),e);return Apollo.useQuery(a$,t)}function q6(e){const t=Object.assign(Object.assign({},$r),e);return Apollo.useLazyQuery(a$,t)}const o$=(0,Me.J1)(Ux||(Ux=_n`
|
|
4470
4470
|
query getPatientPreferredProviders($patientId: String!) {
|
|
4471
4471
|
getPatientPreferredProviders(input: { id: $patientId }) {
|
|
4472
4472
|
entry {
|
|
@@ -4518,7 +4518,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
4518
4518
|
}
|
|
4519
4519
|
}
|
|
4520
4520
|
}
|
|
4521
|
-
`));function
|
|
4521
|
+
`));function z6(e){const t=Object.assign(Object.assign({},$r),e);return Apollo.useQuery(o$,t)}function W6(e){const t=Object.assign(Object.assign({},$r),e);return Apollo.useLazyQuery(o$,t)}const s$=(0,Me.J1)(Gx||(Gx=_n`
|
|
4522
4522
|
query getStore($zipCode: String!, $address: String, $city: String, $radius: Int) {
|
|
4523
4523
|
getStore(input: { zipCode: $zipCode, address: $address, city: $city, radius: $radius }) {
|
|
4524
4524
|
store {
|
|
@@ -4536,7 +4536,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
4536
4536
|
DriveThru
|
|
4537
4537
|
}
|
|
4538
4538
|
}
|
|
4539
|
-
`));function
|
|
4539
|
+
`));function K6(e){const t=Object.assign(Object.assign({},$r),e);return Apollo.useQuery(s$,t)}function H6(e){const t=Object.assign(Object.assign({},$r),e);return Apollo.useLazyQuery(s$,t)}const u$=(0,Me.J1)(Bx||(Bx=_n`
|
|
4540
4540
|
query getStoreHours($storeId: Int!) {
|
|
4541
4541
|
getStoreHours(input: { storeId: $storeId }) {
|
|
4542
4542
|
store {
|
|
@@ -4546,7 +4546,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
4546
4546
|
}
|
|
4547
4547
|
}
|
|
4548
4548
|
}
|
|
4549
|
-
`));function
|
|
4549
|
+
`));function J6(e){const t=Object.assign(Object.assign({},$r),e);return Apollo.useQuery(u$,t)}function Y6(e){const t=Object.assign(Object.assign({},$r),e);return Apollo.useLazyQuery(u$,t)}const c$=(0,Me.J1)(Vx||(Vx=_n`
|
|
4550
4550
|
query identifiers {
|
|
4551
4551
|
identifiers {
|
|
4552
4552
|
patientId
|
|
@@ -4555,13 +4555,13 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
4555
4555
|
myChartAccountIdType
|
|
4556
4556
|
}
|
|
4557
4557
|
}
|
|
4558
|
-
`));function
|
|
4558
|
+
`));function X6(e){const t=Object.assign(Object.assign({},$r),e);return Apollo.useQuery(c$,t)}function Z6(e){const t=Object.assign(Object.assign({},$r),e);return Apollo.useLazyQuery(c$,t)}const bq=(0,Me.J1)(Qx||(Qx=_n`
|
|
4559
4559
|
mutation patientLookupOrCreate($serviceName: String!, $departmentId: String!) {
|
|
4560
4560
|
patientLookupOrCreate(input: { serviceName: $serviceName, departmentId: $departmentId }) {
|
|
4561
4561
|
success
|
|
4562
4562
|
}
|
|
4563
4563
|
}
|
|
4564
|
-
`));function
|
|
4564
|
+
`));function e5(e){const t=Object.assign(Object.assign({},$r),e);return Apollo.useMutation(bq,t)}const l$=(0,Me.J1)(qx||(qx=_n`
|
|
4565
4565
|
query providerVisitTypes(
|
|
4566
4566
|
$patientId: String
|
|
4567
4567
|
$patientIdType: String
|
|
@@ -4587,7 +4587,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
4587
4587
|
}
|
|
4588
4588
|
}
|
|
4589
4589
|
}
|
|
4590
|
-
`));function
|
|
4590
|
+
`));function t5(e){const t=Object.assign(Object.assign({},$r),e);return Apollo.useQuery(l$,t)}function r5(e){const t=Object.assign(Object.assign({},$r),e);return Apollo.useLazyQuery(l$,t)}const f$=(0,Me.J1)(zx||(zx=_n`
|
|
4591
4591
|
query GetProtocolEngineQuestionnaire($input: ProtocolEngineInput!) {
|
|
4592
4592
|
protocolEngineQuestionnaire(input: $input) {
|
|
4593
4593
|
activeLinkID
|
|
@@ -4634,7 +4634,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
4634
4634
|
}
|
|
4635
4635
|
}
|
|
4636
4636
|
}
|
|
4637
|
-
`));function
|
|
4637
|
+
`));function n5(e){const t=Object.assign(Object.assign({},$r),e);return Apollo.useQuery(f$,t)}function i5(e){const t=Object.assign(Object.assign({},$r),e);return Apollo.useLazyQuery(f$,t)}const Sq=(0,Me.J1)(Wx||(Wx=_n`
|
|
4638
4638
|
mutation rescheduleAppointment(
|
|
4639
4639
|
$serviceName: String!
|
|
4640
4640
|
$id: String!
|
|
@@ -4661,7 +4661,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
4661
4661
|
appointmentDAT
|
|
4662
4662
|
}
|
|
4663
4663
|
}
|
|
4664
|
-
`));function
|
|
4664
|
+
`));function a5(e){const t=Object.assign(Object.assign({},$r),e);return Apollo.useMutation(Sq,t)}const Oq=(0,Me.J1)(Kx||(Kx=_n`
|
|
4665
4665
|
mutation rxTransfer(
|
|
4666
4666
|
$patient: RxTransferPatient!
|
|
4667
4667
|
$insurance: RxTransferInsurance!
|
|
@@ -4672,7 +4672,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
4672
4672
|
status
|
|
4673
4673
|
}
|
|
4674
4674
|
}
|
|
4675
|
-
`));function
|
|
4675
|
+
`));function o5(e){const t=Object.assign(Object.assign({},$r),e);return Apollo.useMutation(Oq,t)}const Cq=(0,Me.J1)(Hx||(Hx=_n`
|
|
4676
4676
|
mutation schedulingAppointment(
|
|
4677
4677
|
$service_name: String!
|
|
4678
4678
|
$visit_type_id: String!
|
|
@@ -4709,7 +4709,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
4709
4709
|
appointmentType
|
|
4710
4710
|
}
|
|
4711
4711
|
}
|
|
4712
|
-
`));function
|
|
4712
|
+
`));function s5(e){const t=Object.assign(Object.assign({},$r),e);return Apollo.useMutation(Cq,t)}const d$=(0,Me.J1)(Jx||(Jx=_n`
|
|
4713
4713
|
query schedulingSlots(
|
|
4714
4714
|
$service_name: String!
|
|
4715
4715
|
$visit_type_id: String!
|
|
@@ -4749,7 +4749,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
4749
4749
|
lastScannedDate
|
|
4750
4750
|
}
|
|
4751
4751
|
}
|
|
4752
|
-
`));function
|
|
4752
|
+
`));function u5(e){const t=Object.assign(Object.assign({},$r),e);return Apollo.useQuery(d$,t)}function c5(e){const t=Object.assign(Object.assign({},$r),e);return Apollo.useLazyQuery(d$,t)}const Eq=(0,Me.J1)(Yx||(Yx=_n`
|
|
4753
4753
|
mutation updateGeneralPractitioner(
|
|
4754
4754
|
$operationName: String
|
|
4755
4755
|
$variables: UpdateGeneralPractitionerVariables
|
|
@@ -4761,7 +4761,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
4761
4761
|
}
|
|
4762
4762
|
}
|
|
4763
4763
|
${0}
|
|
4764
|
-
`),gq);function
|
|
4764
|
+
`),gq);function l5(e){const t=Object.assign(Object.assign({},$r),e);return Apollo.useMutation(Eq,t)}const wq=(0,Me.J1)(Xx||(Xx=_n`
|
|
4765
4765
|
mutation UpdatePreferredProviders(
|
|
4766
4766
|
$operationName: String
|
|
4767
4767
|
$variables: UpdatePreferredProvidersVariables
|
|
@@ -4816,7 +4816,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
4816
4816
|
}
|
|
4817
4817
|
}
|
|
4818
4818
|
}
|
|
4819
|
-
`));function
|
|
4819
|
+
`));function f5(e){const t=Object.assign(Object.assign({},$r),e);return Apollo.useMutation(wq,t)}const d5=e=>useMutation(LoginMutation,e),p5=e=>useMutation(SignUpMutation,e),h5=e=>useMutation(EmailSignUpMutation,e),v5=e=>useMutation(ConfirmSignUpMutation,e),g5=e=>useMutation(ResendSignUpConfirmationMutation,e),y5=e=>useMutation(LogoutMutation,e),_5=e=>useLazyQuery(ClientRecordQuery,e),m5=e=>useQuery(MfaPreferenceQuery,e),b5=e=>useMutation(ConfirmMfaCodeMutation,e),S5=e=>useMutation(EnableSmsMFAMutation,e),O5=e=>useMutation(DisableSMSMFAMutation,e),C5=e=>useMutation(AddPhoneNumberMutation,e),E5=e=>useMutation(VerifyPhoneNumberMutation,e),w5=e=>useMutation(ResendVerifyPhoneNumberCodeMutation,e),I5=e=>useMutation(ResetPasswordMutation,e),T5=e=>useMutation(ForgotPasswordMutation,e),P5=e=>useMutation(ConfirmPasswordMutation,e),x5=e=>useQuery(GetPersonByRegCodeQuery,e),$5=e=>useMutation(PublishUserNotificationPreferenceMutation,e),A5=e=>useMutation(BiometricSignUpMutation,e),R5=e=>useMutation(BiometricSignInMutation,e),D5=e=>useMutation(DeleteBiometricKeysMutation,e),k5=e=>useQuery(UserAccountDataQuery,e),N5=e=>useMutation(UpdatePhoneNumberMutation,e),L5=e=>useMutation(DeleteBiometricKeyMutation,e);let p$=e=>e,h$,v$;const dS={context:{apiName:"identityGateway"}},g$=(0,Me.J1)(h$||(h$=p$`
|
|
4820
4820
|
query AccountDeletionStatusByClientPerson($clientPersonId: String!) {
|
|
4821
4821
|
accountDeletionStatusByClientPerson(clientPersonId: $clientPersonId) {
|
|
4822
4822
|
resourceType
|
|
@@ -4833,7 +4833,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
4833
4833
|
}
|
|
4834
4834
|
}
|
|
4835
4835
|
}
|
|
4836
|
-
`));function
|
|
4836
|
+
`));function j5(e){const t=Object.assign(Object.assign({},dS),e);return Apollo.useQuery(g$,t)}function M5(e){const t=Object.assign(Object.assign({},dS),e);return Apollo.useLazyQuery(g$,t)}const Iq=(0,Me.J1)(v$||(v$=p$`
|
|
4837
4837
|
mutation UpdateUserAccountStatus($operation: Operation!) {
|
|
4838
4838
|
updateUserAccountStatus(operation: $operation) {
|
|
4839
4839
|
resourceType
|
|
@@ -4846,7 +4846,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
4846
4846
|
}
|
|
4847
4847
|
}
|
|
4848
4848
|
}
|
|
4849
|
-
`));function
|
|
4849
|
+
`));function F5(e){const t=Object.assign(Object.assign({},dS),e);return Apollo.useMutation(Iq,t)}let pS=e=>e,y$,_$,m$;const Vv={context:{apiName:"healthCircle"}},b$=(0,Me.J1)(y$||(y$=pS`
|
|
4850
4850
|
query GetHealthCircleMembers($patientId: ID!) {
|
|
4851
4851
|
healthCircle(patientId: $patientId) {
|
|
4852
4852
|
id
|
|
@@ -4870,7 +4870,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
4870
4870
|
status
|
|
4871
4871
|
}
|
|
4872
4872
|
}
|
|
4873
|
-
`));function
|
|
4873
|
+
`));function U5(e){const t=Object.assign(Object.assign({},Vv),e);return Apollo.useQuery(b$,t)}function G5(e){const t=Object.assign(Object.assign({},Vv),e);return Apollo.useLazyQuery(b$,t)}const Tq=(0,Me.J1)(_$||(_$=pS`
|
|
4874
4874
|
mutation InviteMember($input: InvitationInput!) {
|
|
4875
4875
|
inviteMember(input: $input) {
|
|
4876
4876
|
email
|
|
@@ -4894,11 +4894,11 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
4894
4894
|
relatedPersonId
|
|
4895
4895
|
}
|
|
4896
4896
|
}
|
|
4897
|
-
`));function
|
|
4897
|
+
`));function B5(e){const t=Object.assign(Object.assign({},Vv),e);return Apollo.useMutation(Tq,t)}const Pq=(0,Me.J1)(m$||(m$=pS`
|
|
4898
4898
|
mutation RemoveMember($memberId: ID!) {
|
|
4899
4899
|
removeMember(memberId: $memberId)
|
|
4900
4900
|
}
|
|
4901
|
-
`));function
|
|
4901
|
+
`));function V5(e){const t=Object.assign(Object.assign({},Vv),e);return Apollo.useMutation(Pq,t)}let Qv=e=>e,S$,O$,C$,E$;const hu={context:{apiName:"consent"}},xq=(0,Me.J1)(S$||(S$=Qv`
|
|
4902
4902
|
mutation CreateQuestionnaireResponse(
|
|
4903
4903
|
$data: String!
|
|
4904
4904
|
$patientId: String!
|
|
@@ -4922,7 +4922,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
4922
4922
|
questionnaireName
|
|
4923
4923
|
}
|
|
4924
4924
|
}
|
|
4925
|
-
`));function
|
|
4925
|
+
`));function Q5(e){const t=Object.assign(Object.assign({},hu),e);return Apollo.useMutation(xq,t)}const w$=(0,Me.J1)(O$||(O$=Qv`
|
|
4926
4926
|
query GetConsent($patientId: String!, $questionnaireId: String, $questionnaireName: String, $searchParams: String) {
|
|
4927
4927
|
consent(
|
|
4928
4928
|
patientId: $patientId
|
|
@@ -4953,7 +4953,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
4953
4953
|
provision
|
|
4954
4954
|
}
|
|
4955
4955
|
}
|
|
4956
|
-
`));function
|
|
4956
|
+
`));function q5(e){const t=Object.assign(Object.assign({},hu),e);return Apollo.useQuery(w$,t)}function z5(e){const t=Object.assign(Object.assign({},hu),e);return Apollo.useLazyQuery(w$,t)}const I$=(0,Me.J1)(C$||(C$=Qv`
|
|
4957
4957
|
query GetQuestionnaire($name: String) {
|
|
4958
4958
|
questionnaire(name: $name) {
|
|
4959
4959
|
model {
|
|
@@ -4975,7 +4975,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
4975
4975
|
uiSchema
|
|
4976
4976
|
}
|
|
4977
4977
|
}
|
|
4978
|
-
`));function
|
|
4978
|
+
`));function W5(e){const t=Object.assign(Object.assign({},hu),e);return Apollo.useQuery(I$,t)}function K5(e){const t=Object.assign(Object.assign({},hu),e);return Apollo.useLazyQuery(I$,t)}const T$=(0,Me.J1)(E$||(E$=Qv`
|
|
4979
4979
|
query GetQuestionnaireResponse(
|
|
4980
4980
|
$patientId: String!
|
|
4981
4981
|
$questionnaireId: String
|
|
@@ -4993,7 +4993,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
4993
4993
|
questionnaireName
|
|
4994
4994
|
}
|
|
4995
4995
|
}
|
|
4996
|
-
`));function W5(e){const t=Object.assign(Object.assign({},hu),e);return Apollo.useQuery(T$,t)}function K5(e){const t=Object.assign(Object.assign({},hu),e);return Apollo.useLazyQuery(T$,t)}const H5=e=>useMutation(CreateOauthThirdPartyConnection,e),J5=e=>useMutation(DisconnectUserToken,e),Y5=e=>useMutation(CreateConnectionStatus,e),X5=e=>useQuery(GetMemberConnections,e),Z5=e=>useQuery(GetConnections,e),eK=e=>useQuery(GetConnection,e),tK=e=>useQuery(GetOauthGeneratedUrl,e);var P$=_(46),Zf,qv;class x${constructor(){this.type="backend",Zf.set(this,void 0),qv.set(this,void 0)}init(t,{clientSlug:r,apiClient:i}){if(!i)throw t.logger.error('"apiClient" not supplied to "QueryBackend".'),new Error('"apiClient" required for "QueryBackend".');Fo(this,Zf,r,"f"),Fo(this,qv,VI(i),"f")}read(t,r,i){return jv(this,void 0,void 0,function*(){try{const{translation:o}=yield Gr(this,qv,"f").getClientTranslations({name:Gr(this,Zf,"f"),key:r,lang:t});i(null,o?.json||{})}catch{const c=`Error fetching translation with key "${r}" and client "${Gr(this,Zf,"f")||"N/A"}".`;i(c,null)}})}}Zf=new WeakMap,qv=new WeakMap,x$.type="backend";var jc;class $${constructor(t){this.type="logger",jc.set(this,void 0),Fo(this,jc,t,"f")}log([t,r,...i]){Gr(this,jc,"f").info({meta:r},t,...i)}warn([t,r,...i]){Gr(this,jc,"f").error({meta:r},t,...i)}error([t,r,...i]){Gr(this,jc,"f").error({meta:r},t,...i)}}jc=new WeakMap,$$.type="logger";var ed,vu,td,Xn,gu;const A$="appLanguage";class hS{constructor({keys:t,nativeBridge:r,fallbackKeys:i=[],defaultLanguage:o="en",logger:c,parent:p,debug:y=!1,remoteConfig:O={}}){ed.set(this,void 0),vu.set(this,void 0),td.set(this,void 0),Xn.set(this,void 0),gu.set(this,void 0),Fo(this,ed,new P$,"f"),Fo(this,vu,t,"f"),Fo(this,td,i,"f"),Fo(this,gu,r,"f");const C={lng:o,fallbackNS:Gr(this,td,"f"),debug:y,defaultNS:t,returnNull:!1};p?Fo(this,Xn,p.cloneInstance(C),"f"):(Fo(this,Xn,w2.createInstance(),"f"),c&&Gr(this,Xn,"f").use(new $$(c.child({library:"@icanbwell/i18n"}))),O.apiClient&&Gr(this,Xn,"f").use(x$),Gr(this,Xn,"f").init(Object.assign(Object.assign({},C),{fallbackLng:!1,partialBundledLanguages:!0,ns:[],resources:{},backend:O,saveMissing:!0,missingKeyHandler:(P,G,te)=>Gr(this,Xn,"f").services.logger.error(`missing key: ${te}; language: ${P}; key: ${G}`)}))),this.t=Gr(this,Xn,"f").t,this.resolvedLanguage=Gr(this,Xn,"f").resolvedLanguage||o}load(){var t;return jv(this,void 0,void 0,function*(){const r=(yield(t=Gr(this,gu,"f"))===null||t===void 0?void 0:t.storage.getItem(A$))||this.resolvedLanguage;if(r!==this.resolvedLanguage&&(yield Gr(this,Xn,"f").changeLanguage(r)),yield Gr(this,Xn,"f").loadNamespaces(Gr(this,vu,"f")),Gr(this,vu,"f").some(i=>!Gr(this,Xn,"f").hasResourceBundle(r,i)))throw new Error("Error loading translations.");return this})}child(t){return new hS(Object.assign(Object.assign({},t),{nativeBridge:Gr(this,gu,"f"),fallbackKeys:[...Gr(this,td,"f"),...Gr(this,vu,"f")],parent:Gr(this,Xn,"f"),defaultLanguage:Gr(this,Xn,"f").language}))}get isLoaded(){return Gr(this,vu,"f").every(t=>Gr(this,Xn,"f").hasResourceBundle(Gr(this,Xn,"f").language,t))}changeLanguage(t){var r;return jv(this,void 0,void 0,function*(){this.resolvedLanguage=t,yield Gr(this,Xn,"f").changeLanguage(t),Gr(this,ed,"f").emit("changeLanguage",t),yield(r=Gr(this,gu,"f"))===null||r===void 0?void 0:r.storage.setItem(A$,t),Gr(this,gu,"f").reloadView()})}onChangeLanguage(t){Gr(this,ed,"f").on("changeLanguage",t)}}ed=new WeakMap,vu=new WeakMap,td=new WeakMap,Xn=new WeakMap,gu=new WeakMap;var vS=_(1827),rd;(function(e){e.one="1.0.0"})(rd||(rd={}));const zv="orchestrator:native-bridge",$q={id:zv,dependencies:{featureServices:{}},create:()=>({[rd.one]:()=>({featureService:vS.b})})};var Wv;(function(e){e.one="1.0.0"})(Wv||(Wv={}));const R$="orchestrator:translation-service",Aq={id:R$,dependencies:{featureServices:{[aa]:Hi.one,[Mf]:Pc.one,[Kn]:Ei.one,[wf]:Oc.one,[zv]:rd.one}},create:({featureServices:e})=>{const t=e[aa],r=e[Mf],i=e[wf],{slug:o}=e[Kn].getClientContext(),c=e[zv],p=new hS({keys:[],nativeBridge:c,defaultLanguage:"en",logger:r,remoteConfig:{clientSlug:o,apiClient:t}});return i.setProfileProperties({language:p.resolvedLanguage}),p.onChangeLanguage(y=>i.setProfileProperties({language:y})),{[Wv.one]:()=>({featureService:p})}}};var Mc,Fc,Kv,yu;const Hv="tokens";class Rq{constructor({apiClient:t,stateService:r,identityGatewaySdk:i,storage:o}){Mc.set(this,void 0),Fc.set(this,void 0),Kv.set(this,void 0),yu.set(this,void 0),(0,E.GG)(this,Mc,t,"f"),(0,E.GG)(this,Fc,r,"f"),(0,E.GG)(this,Kv,i,"f"),(0,E.GG)(this,yu,o,"f")}getStoredTokens(){const t=(0,E.gn)(this,yu,"f").getItem(Hv);return t?JSON.parse(t):void 0}removeStoredTokens(){(0,E.gn)(this,yu,"f").removeItem(Hv)}storeTokens(t){(0,E.gn)(this,yu,"f").setItem(Hv,JSON.stringify(t))}logout(){return(0,E.sH)(this,void 0,void 0,function*(){const t=(0,E.gn)(this,Fc,"f").getUserTokenData().accessToken.jwtToken,{key:r}=(0,E.gn)(this,Fc,"f").getClientContext();yield(0,E.gn)(this,Kv,"f").logout({accessToken:t},{context:{headers:{clientKey:r}}}),(0,E.gn)(this,Mc,"f").stop(),(0,E.gn)(this,Mc,"f").clearAuth(),yield(0,E.gn)(this,Mc,"f").clearStore(),(0,E.gn)(this,Fc,"f").logoutUser(),(0,E.gn)(this,yu,"f").removeItem(Hv)})}}Mc=new WeakMap,Fc=new WeakMap,Kv=new WeakMap,yu=new WeakMap;var Jv;(function(e){e.one="1.0.0"})(Jv||(Jv={}));const D$="orchestrator:identity-utils",Dq={id:D$,dependencies:{featureServices:{[aa]:Hi.one,[Mf]:Pc.one,[Kn]:Ei.one,[wf]:Oc.one}},create:({featureServices:e})=>{const t=e[aa];return{[Jv.one]:()=>({featureService:new Rq({apiClient:t,stateService:e[Kn],identityGatewaySdk:XT(t),storage:window.sessionStorage})})}}};var Yv;(function(e){e.one="1.0.0"})(Yv||(Yv={}));const k$="orchestrator:globaleventemitter-service",kq=e=>({id:k$,create:()=>({[Yv.one]:()=>({featureService:e})})}),gS={apiClient:f,theme:L,analytics:Y,auth:ae,logging:x,state:S,navigation:w,featureFlags:B,translation:I,identityUtils:A,nativeBridge:R,globalEventEmitter:z},rK=Object.keys(gS).reduce((e,t)=>{const{id:r,version:i}=gS[t];return Object.assign(Object.assign({},e),{[t]:{id:r,version:i}})},{});var sn=gS,Nq=_(8561),Lq=_(295),N$=_.n(Lq),jq=_(2424),L$=_.n(jq);class Mq{constructor(t){this.providedExternals=t;for(const[r,i]of Object.entries(t))if(!L$()(i))throw new Error(`The provided version ${JSON.stringify(i)} for the external ${JSON.stringify(r)} is invalid.`)}validate(t){for(const[r,i]of Object.entries(t)){const o=this.providedExternals[r];if(!o)throw new Error(`The external dependency ${JSON.stringify(r)} is not provided.`);if(!N$()(o,i))throw new Error(`The external dependency ${JSON.stringify(r)} in the required version range ${JSON.stringify(i)} is not satisfied. The provided version is ${JSON.stringify(o)}.`)}}}class Fq{constructor(t,r,i){this.promise=t,this.value=r,this.error=i,t.then(o=>this.value=o).catch(o=>this.error=o)}}function Uq(e,t,r){let i=`The Feature App module at the url ${JSON.stringify(e)} ${t?`with the module type ${JSON.stringify(t)}`:"with no specific module type"} is invalid. A Feature App module must have a Feature App definition as default export. A Feature App definition is an object with at least a \`create\` method.`;return r&&r.length>1&&!t&&(i+=" Hint: The provided module loader expects an optional second parameter `moduleType`. It might need to be provided for this Feature App."),i}function Gq(e){return typeof e!="object"||!e?!1:typeof e.create=="function"}function Bq(e){return typeof e!="object"||!e?!1:Gq(e.default)}class Vq{constructor(t,r={}){this.featureServiceRegistry=t,this.options=r,this.asyncFeatureAppDefinitions=new Map,this.featureAppDefinitionsWithRegisteredOwnFeatureServices=new WeakSet,this.featureAppRetainers=new Map,this.logger=r.logger||console}getAsyncFeatureAppDefinition(t,r){const i=`${t}${r}`;let o=this.asyncFeatureAppDefinitions.get(i);return o||(o=this.createAsyncFeatureAppDefinition(t,r),this.asyncFeatureAppDefinitions.set(i,o)),o}createFeatureAppScope(t,r,i={}){const o=this.getFeatureAppRetainer(t,r,i);let c=!1;return{featureApp:o.featureApp,release:()=>{c?this.logger.warn(`The Feature App with the ID ${JSON.stringify(t)} has already been released for this scope.`):(c=!0,o.release())}}}async preloadFeatureApp(t,r){await this.getAsyncFeatureAppDefinition(t,r).promise}createAsyncFeatureAppDefinition(t,r){const{moduleLoader:i}=this.options;if(!i)throw new Error("No module loader provided.");return new Fq(i(t,r).then(o=>{if(!Bq(o))throw new Error(Uq(t,r,this.options.moduleLoader));return this.logger.info(`The Feature App module at the url ${JSON.stringify(t)} has been successfully loaded.`),o.default}))}registerOwnFeatureServices(t,r){this.featureAppDefinitionsWithRegisteredOwnFeatureServices.has(r)||(r.ownFeatureServiceDefinitions&&this.featureServiceRegistry.registerFeatureServices(r.ownFeatureServiceDefinitions,t),this.featureAppDefinitionsWithRegisteredOwnFeatureServices.add(r))}getFeatureAppRetainer(t,r,i){let o=this.featureAppRetainers.get(t);return o?o.retain():(this.registerOwnFeatureServices(t,r),o=this.createFeatureAppRetainer(r,t,i)),o}createFeatureAppRetainer(t,r,i){var o,c;this.validateExternals(t);const{featureAppName:p,baseUrl:y,beforeCreate:O,config:C,done:P}=i,G=this.featureServiceRegistry.bindFeatureServices(t,r,p);try{(c=(o=this.options).onBind)===null||c===void 0||c.call(o,{featureAppDefinition:t,featureAppId:r,featureAppName:p})}catch(ye){this.logger.error("Failed to execute onBind callback.",ye)}const te={baseUrl:y,config:C,featureAppId:r,featureAppName:p,featureServices:G.featureServices,done:P};try{O?.(te);const ye=t.create(te);this.logger.info(`The Feature App with the ID ${JSON.stringify(r)} has been successfully created.`);let Se=1;const $e={featureApp:ye,retain:()=>{Se+=1},release:()=>{Se-=1,Se===0&&(this.featureAppRetainers.delete(r),G.unbind())}};return this.featureAppRetainers.set(r,$e),$e}catch(ye){throw G.unbind(),ye}}validateExternals(t){const{externalsValidator:r}=this.options;if(!r)return;const{dependencies:i}=t;i&&i.externals&&r.validate(i.externals)}}var Qq=_(5725),qq=_.n(Qq);function zq(e,t,r,i,o){return`The ${e?"optional":"required"} Feature Service ${JSON.stringify(t)} in the unsupported version range ${JSON.stringify(i)} could not be bound to consumer ${JSON.stringify(r)}. The supported versions are ${JSON.stringify(o)}.`}function Wq(e,t,r){return`The Feature Service ${JSON.stringify(e)} could not be registered by registrant ${JSON.stringify(t)} because it defines the invalid version ${JSON.stringify(r)}.`}function Kq(e,t,r){return`The ${e?"optional":"required"} Feature Service ${JSON.stringify(t)} in an invalid version could not be bound to consumer ${JSON.stringify(r)}.`}function Hq(e,t,r){return`The ${e?"optional":"required"} Feature Service ${JSON.stringify(t)} is not registered and therefore could not be bound to consumer ${JSON.stringify(r)}.`}function Jq(e,t){return`The Feature Service ${JSON.stringify(e)} could not be registered by registrant ${JSON.stringify(t)} because it returned undefined.`}function Yq(e,t){return`The Feature Service ${JSON.stringify(e)} has been successfully registered by registrant ${JSON.stringify(t)}.`}function Xq(e,t){return`The already registered Feature Service ${JSON.stringify(e)} could not be re-registered by registrant ${JSON.stringify(t)}.`}function Zq(e,t){return`The required Feature Service ${JSON.stringify(e)} has been successfully bound to consumer ${JSON.stringify(t)}.`}function ez(e){return`All required Feature Services are already bound to consumer ${JSON.stringify(e)}.`}function tz(e,t){return`The required Feature Service ${JSON.stringify(e)} could not be unbound from consumer ${JSON.stringify(t)}.`}function rz(e,t){return`The required Feature Service ${JSON.stringify(e)} has been successfully unbound from consumer ${JSON.stringify(t)}.`}function nz(e){return`All required Feature Services are already unbound from consumer ${JSON.stringify(e)}.`}var iz=_(2702),az=_.n(iz);function oz(e){return t=>[e,t]}function sz(e,t){return Object.keys(t).map(oz(e))}function uz(e){return Array.from(e.keys()).reduce((t,r)=>{const i=e.get(r);if(!i)return t;const o=sz(r,i);return[...t,...o]},[])}function cz(e){const t=Array.from(e.keys()),r=uz(e),i=az()(r);return i.push(...t.filter(o=>e.has(o)&&i.indexOf(o)===-1)),i.reverse()}function j$({dependencies:e,optionalDependencies:t}){return Object.assign(Object.assign({},e&&e.featureServices),t&&t.featureServices)}function lz(e){const t=new Map;for(const r of e)t.set(r.id,j$(r));return t}function fz({optionalDependencies:e},t){return Boolean(e&&e.featureServices&&e.featureServices.hasOwnProperty(t))}function dz(e){const t=new Map;for(const r of e)t.set(r.id,r);return t}class pz{constructor(t={}){this.options=t,this.sharedFeatureServices=new Map,this.consumerIds=new Set,this.logger=t.logger||console}registerFeatureServices(t,r){const i=dz(t),o=lz(t);for(const c of cz(o))this.registerFeatureService(i,c,r)}bindFeatureServices(t,r,i){if(this.consumerIds.has(r))throw new Error(ez(r));const o=new Map,c=Object.create(null),p=j$(t);for(const C of Object.keys(p)){const P=fz(t,C),G=p[C],te=this.bindFeatureService(C,r,i,G,{optional:P});!te||(this.logger.info(Zq(C,r)),o.set(C,te),c[C]=te.featureService)}this.consumerIds.add(r);let y=!1;return{featureServices:c,unbind:()=>{if(y)throw new Error(nz(r));y=!0,this.consumerIds.delete(r);for(const[C,P]of o.entries())try{P.unbind&&P.unbind(),this.logger.info(rz(C,r))}catch(G){this.logger.error(tz(C,r),G)}}}}registerFeatureService(t,r,i){const o=t.get(r);if(!o)return;if(this.sharedFeatureServices.has(r)){this.logger.warn(Xq(r,i));return}this.validateExternals(o);const{featureServices:c}=this.bindFeatureServices(o,r),p=o.create({featureServices:c});p?(this.validateFeatureServiceVersions(p,r,i),this.sharedFeatureServices.set(r,p),this.logger.info(Yq(r,i))):this.logger.info(Jq(r,i))}bindFeatureService(t,r,i,o,{optional:c}){const p=o&&qq()(o);if(!p){const te=Kq(c,t,r);if(c){this.logger.info(te);return}throw new Error(te)}const y=`^${p.version}`,O=this.sharedFeatureServices.get(t);if(!O){const te=Hq(c,t,r);if(c){this.logger.info(te);return}throw new Error(te)}const C=Object.keys(O),P=C.find(te=>N$()(te,y)),G=P?O[P]:void 0;if(!G){const te=zq(c,t,r,y,C);if(c){this.logger.info(te);return}throw new Error(te)}return G(r,i)}validateExternals(t){const{externalsValidator:r}=this.options;if(!r)return;const{dependencies:i}=t;i&&i.externals&&r.validate(i.externals)}validateFeatureServiceVersions(t,r,i){for(const o of Object.keys(t))if(!L$()(o))throw new Error(Wq(r,i,o))}}function hz(e,t={}){const{featureServiceDefinitions:r,featureServiceDependencies:i,providedExternals:o,moduleLoader:c,logger:p,onBind:y}=t;let O;o&&(O=new Mq(o));const C=new pz({externalsValidator:O,logger:p}),P={dependencies:{featureServices:i}};r&&C.registerFeatureServices(r,e);const G=new Vq(C,{externalsValidator:O,moduleLoader:c,logger:p,onBind:y}),{featureServices:te}=C.bindFeatureServices(P,e);return{featureAppManager:G,featureServiceRegistry:C,featureServices:te}}/**
|
|
4996
|
+
`));function H5(e){const t=Object.assign(Object.assign({},hu),e);return Apollo.useQuery(T$,t)}function J5(e){const t=Object.assign(Object.assign({},hu),e);return Apollo.useLazyQuery(T$,t)}const Y5=e=>useMutation(CreateOauthThirdPartyConnection,e),X5=e=>useMutation(DisconnectUserToken,e),Z5=e=>useMutation(CreateConnectionStatus,e),eK=e=>useQuery(GetMemberConnections,e),tK=e=>useQuery(GetConnections,e),rK=e=>useQuery(GetConnection,e),nK=e=>useQuery(GetOauthGeneratedUrl,e);var P$=_(46),Zf,qv;class x${constructor(){this.type="backend",Zf.set(this,void 0),qv.set(this,void 0)}init(t,{clientSlug:r,apiClient:i}){if(!i)throw t.logger.error('"apiClient" not supplied to "QueryBackend".'),new Error('"apiClient" required for "QueryBackend".');Fo(this,Zf,r,"f"),Fo(this,qv,VI(i),"f")}read(t,r,i){return jv(this,void 0,void 0,function*(){try{const{translation:o}=yield Gr(this,qv,"f").getClientTranslations({name:Gr(this,Zf,"f"),key:r,lang:t});i(null,o?.json||{})}catch{const c=`Error fetching translation with key "${r}" and client "${Gr(this,Zf,"f")||"N/A"}".`;i(c,null)}})}}Zf=new WeakMap,qv=new WeakMap,x$.type="backend";var jc;class $${constructor(t){this.type="logger",jc.set(this,void 0),Fo(this,jc,t,"f")}log([t,r,...i]){Gr(this,jc,"f").info({meta:r},t,...i)}warn([t,r,...i]){Gr(this,jc,"f").error({meta:r},t,...i)}error([t,r,...i]){Gr(this,jc,"f").error({meta:r},t,...i)}}jc=new WeakMap,$$.type="logger";var ed,vu,td,Xn,gu;const A$="appLanguage";class hS{constructor({keys:t,nativeBridge:r,fallbackKeys:i=[],defaultLanguage:o="en",logger:c,parent:p,debug:y=!1,remoteConfig:O={}}){ed.set(this,void 0),vu.set(this,void 0),td.set(this,void 0),Xn.set(this,void 0),gu.set(this,void 0),Fo(this,ed,new P$,"f"),Fo(this,vu,t,"f"),Fo(this,td,i,"f"),Fo(this,gu,r,"f");const C={lng:o,fallbackNS:Gr(this,td,"f"),debug:y,defaultNS:t,returnNull:!1};p?Fo(this,Xn,p.cloneInstance(C),"f"):(Fo(this,Xn,w2.createInstance(),"f"),c&&Gr(this,Xn,"f").use(new $$(c.child({library:"@icanbwell/i18n"}))),O.apiClient&&Gr(this,Xn,"f").use(x$),Gr(this,Xn,"f").init(Object.assign(Object.assign({},C),{fallbackLng:!1,partialBundledLanguages:!0,ns:[],resources:{},backend:O,saveMissing:!0,missingKeyHandler:(P,G,te)=>Gr(this,Xn,"f").services.logger.error(`missing key: ${te}; language: ${P}; key: ${G}`)}))),this.t=Gr(this,Xn,"f").t,this.resolvedLanguage=Gr(this,Xn,"f").resolvedLanguage||o}load(){var t;return jv(this,void 0,void 0,function*(){const r=(yield(t=Gr(this,gu,"f"))===null||t===void 0?void 0:t.storage.getItem(A$))||this.resolvedLanguage;if(r!==this.resolvedLanguage&&(yield Gr(this,Xn,"f").changeLanguage(r)),yield Gr(this,Xn,"f").loadNamespaces(Gr(this,vu,"f")),Gr(this,vu,"f").some(i=>!Gr(this,Xn,"f").hasResourceBundle(r,i)))throw new Error("Error loading translations.");return this})}child(t){return new hS(Object.assign(Object.assign({},t),{nativeBridge:Gr(this,gu,"f"),fallbackKeys:[...Gr(this,td,"f"),...Gr(this,vu,"f")],parent:Gr(this,Xn,"f"),defaultLanguage:Gr(this,Xn,"f").language}))}get isLoaded(){return Gr(this,vu,"f").every(t=>Gr(this,Xn,"f").hasResourceBundle(Gr(this,Xn,"f").language,t))}changeLanguage(t){var r;return jv(this,void 0,void 0,function*(){this.resolvedLanguage=t,yield Gr(this,Xn,"f").changeLanguage(t),Gr(this,ed,"f").emit("changeLanguage",t),yield(r=Gr(this,gu,"f"))===null||r===void 0?void 0:r.storage.setItem(A$,t),Gr(this,gu,"f").reloadView()})}onChangeLanguage(t){Gr(this,ed,"f").on("changeLanguage",t)}}ed=new WeakMap,vu=new WeakMap,td=new WeakMap,Xn=new WeakMap,gu=new WeakMap;var vS=_(1827),rd;(function(e){e.one="1.0.0"})(rd||(rd={}));const zv="orchestrator:native-bridge",$q={id:zv,dependencies:{featureServices:{}},create:()=>({[rd.one]:()=>({featureService:vS.b})})};var Wv;(function(e){e.one="1.0.0"})(Wv||(Wv={}));const R$="orchestrator:translation-service",Aq={id:R$,dependencies:{featureServices:{[aa]:Hi.one,[Mf]:Pc.one,[Kn]:Ei.one,[wf]:Oc.one,[zv]:rd.one}},create:({featureServices:e})=>{const t=e[aa],r=e[Mf],i=e[wf],{slug:o}=e[Kn].getClientContext(),c=e[zv],p=new hS({keys:[],nativeBridge:c,defaultLanguage:"en",logger:r,remoteConfig:{clientSlug:o,apiClient:t}});return i.setProfileProperties({language:p.resolvedLanguage}),p.onChangeLanguage(y=>i.setProfileProperties({language:y})),{[Wv.one]:()=>({featureService:p})}}};var Mc,Fc,Kv,yu;const Hv="tokens";class Rq{constructor({apiClient:t,stateService:r,identityGatewaySdk:i,storage:o}){Mc.set(this,void 0),Fc.set(this,void 0),Kv.set(this,void 0),yu.set(this,void 0),(0,E.GG)(this,Mc,t,"f"),(0,E.GG)(this,Fc,r,"f"),(0,E.GG)(this,Kv,i,"f"),(0,E.GG)(this,yu,o,"f")}getStoredTokens(){const t=(0,E.gn)(this,yu,"f").getItem(Hv);return t?JSON.parse(t):void 0}removeStoredTokens(){(0,E.gn)(this,yu,"f").removeItem(Hv)}storeTokens(t){(0,E.gn)(this,yu,"f").setItem(Hv,JSON.stringify(t))}logout(){return(0,E.sH)(this,void 0,void 0,function*(){const t=(0,E.gn)(this,Fc,"f").getUserTokenData().accessToken.jwtToken,{key:r}=(0,E.gn)(this,Fc,"f").getClientContext();yield(0,E.gn)(this,Kv,"f").logout({accessToken:t},{context:{headers:{clientKey:r}}}),(0,E.gn)(this,Mc,"f").stop(),(0,E.gn)(this,Mc,"f").clearAuth(),yield(0,E.gn)(this,Mc,"f").clearStore(),(0,E.gn)(this,Fc,"f").logoutUser(),(0,E.gn)(this,yu,"f").removeItem(Hv)})}}Mc=new WeakMap,Fc=new WeakMap,Kv=new WeakMap,yu=new WeakMap;var Jv;(function(e){e.one="1.0.0"})(Jv||(Jv={}));const D$="orchestrator:identity-utils",Dq={id:D$,dependencies:{featureServices:{[aa]:Hi.one,[Mf]:Pc.one,[Kn]:Ei.one,[wf]:Oc.one}},create:({featureServices:e})=>{const t=e[aa];return{[Jv.one]:()=>({featureService:new Rq({apiClient:t,stateService:e[Kn],identityGatewaySdk:XT(t),storage:window.sessionStorage})})}}};var Yv;(function(e){e.one="1.0.0"})(Yv||(Yv={}));const k$="orchestrator:globaleventemitter-service",kq=e=>({id:k$,create:()=>({[Yv.one]:()=>({featureService:e})})}),gS={apiClient:f,theme:L,analytics:Y,auth:ae,logging:x,state:S,navigation:w,featureFlags:B,translation:I,identityUtils:A,nativeBridge:R,globalEventEmitter:z},iK=Object.keys(gS).reduce((e,t)=>{const{id:r,version:i}=gS[t];return Object.assign(Object.assign({},e),{[t]:{id:r,version:i}})},{});var sn=gS,Nq=_(8561),Lq=_(295),N$=_.n(Lq),jq=_(2424),L$=_.n(jq);class Mq{constructor(t){this.providedExternals=t;for(const[r,i]of Object.entries(t))if(!L$()(i))throw new Error(`The provided version ${JSON.stringify(i)} for the external ${JSON.stringify(r)} is invalid.`)}validate(t){for(const[r,i]of Object.entries(t)){const o=this.providedExternals[r];if(!o)throw new Error(`The external dependency ${JSON.stringify(r)} is not provided.`);if(!N$()(o,i))throw new Error(`The external dependency ${JSON.stringify(r)} in the required version range ${JSON.stringify(i)} is not satisfied. The provided version is ${JSON.stringify(o)}.`)}}}class Fq{constructor(t,r,i){this.promise=t,this.value=r,this.error=i,t.then(o=>this.value=o).catch(o=>this.error=o)}}function Uq(e,t,r){let i=`The Feature App module at the url ${JSON.stringify(e)} ${t?`with the module type ${JSON.stringify(t)}`:"with no specific module type"} is invalid. A Feature App module must have a Feature App definition as default export. A Feature App definition is an object with at least a \`create\` method.`;return r&&r.length>1&&!t&&(i+=" Hint: The provided module loader expects an optional second parameter `moduleType`. It might need to be provided for this Feature App."),i}function Gq(e){return typeof e!="object"||!e?!1:typeof e.create=="function"}function Bq(e){return typeof e!="object"||!e?!1:Gq(e.default)}class Vq{constructor(t,r={}){this.featureServiceRegistry=t,this.options=r,this.asyncFeatureAppDefinitions=new Map,this.featureAppDefinitionsWithRegisteredOwnFeatureServices=new WeakSet,this.featureAppRetainers=new Map,this.logger=r.logger||console}getAsyncFeatureAppDefinition(t,r){const i=`${t}${r}`;let o=this.asyncFeatureAppDefinitions.get(i);return o||(o=this.createAsyncFeatureAppDefinition(t,r),this.asyncFeatureAppDefinitions.set(i,o)),o}createFeatureAppScope(t,r,i={}){const o=this.getFeatureAppRetainer(t,r,i);let c=!1;return{featureApp:o.featureApp,release:()=>{c?this.logger.warn(`The Feature App with the ID ${JSON.stringify(t)} has already been released for this scope.`):(c=!0,o.release())}}}async preloadFeatureApp(t,r){await this.getAsyncFeatureAppDefinition(t,r).promise}createAsyncFeatureAppDefinition(t,r){const{moduleLoader:i}=this.options;if(!i)throw new Error("No module loader provided.");return new Fq(i(t,r).then(o=>{if(!Bq(o))throw new Error(Uq(t,r,this.options.moduleLoader));return this.logger.info(`The Feature App module at the url ${JSON.stringify(t)} has been successfully loaded.`),o.default}))}registerOwnFeatureServices(t,r){this.featureAppDefinitionsWithRegisteredOwnFeatureServices.has(r)||(r.ownFeatureServiceDefinitions&&this.featureServiceRegistry.registerFeatureServices(r.ownFeatureServiceDefinitions,t),this.featureAppDefinitionsWithRegisteredOwnFeatureServices.add(r))}getFeatureAppRetainer(t,r,i){let o=this.featureAppRetainers.get(t);return o?o.retain():(this.registerOwnFeatureServices(t,r),o=this.createFeatureAppRetainer(r,t,i)),o}createFeatureAppRetainer(t,r,i){var o,c;this.validateExternals(t);const{featureAppName:p,baseUrl:y,beforeCreate:O,config:C,done:P}=i,G=this.featureServiceRegistry.bindFeatureServices(t,r,p);try{(c=(o=this.options).onBind)===null||c===void 0||c.call(o,{featureAppDefinition:t,featureAppId:r,featureAppName:p})}catch(ye){this.logger.error("Failed to execute onBind callback.",ye)}const te={baseUrl:y,config:C,featureAppId:r,featureAppName:p,featureServices:G.featureServices,done:P};try{O?.(te);const ye=t.create(te);this.logger.info(`The Feature App with the ID ${JSON.stringify(r)} has been successfully created.`);let Se=1;const $e={featureApp:ye,retain:()=>{Se+=1},release:()=>{Se-=1,Se===0&&(this.featureAppRetainers.delete(r),G.unbind())}};return this.featureAppRetainers.set(r,$e),$e}catch(ye){throw G.unbind(),ye}}validateExternals(t){const{externalsValidator:r}=this.options;if(!r)return;const{dependencies:i}=t;i&&i.externals&&r.validate(i.externals)}}var Qq=_(5725),qq=_.n(Qq);function zq(e,t,r,i,o){return`The ${e?"optional":"required"} Feature Service ${JSON.stringify(t)} in the unsupported version range ${JSON.stringify(i)} could not be bound to consumer ${JSON.stringify(r)}. The supported versions are ${JSON.stringify(o)}.`}function Wq(e,t,r){return`The Feature Service ${JSON.stringify(e)} could not be registered by registrant ${JSON.stringify(t)} because it defines the invalid version ${JSON.stringify(r)}.`}function Kq(e,t,r){return`The ${e?"optional":"required"} Feature Service ${JSON.stringify(t)} in an invalid version could not be bound to consumer ${JSON.stringify(r)}.`}function Hq(e,t,r){return`The ${e?"optional":"required"} Feature Service ${JSON.stringify(t)} is not registered and therefore could not be bound to consumer ${JSON.stringify(r)}.`}function Jq(e,t){return`The Feature Service ${JSON.stringify(e)} could not be registered by registrant ${JSON.stringify(t)} because it returned undefined.`}function Yq(e,t){return`The Feature Service ${JSON.stringify(e)} has been successfully registered by registrant ${JSON.stringify(t)}.`}function Xq(e,t){return`The already registered Feature Service ${JSON.stringify(e)} could not be re-registered by registrant ${JSON.stringify(t)}.`}function Zq(e,t){return`The required Feature Service ${JSON.stringify(e)} has been successfully bound to consumer ${JSON.stringify(t)}.`}function ez(e){return`All required Feature Services are already bound to consumer ${JSON.stringify(e)}.`}function tz(e,t){return`The required Feature Service ${JSON.stringify(e)} could not be unbound from consumer ${JSON.stringify(t)}.`}function rz(e,t){return`The required Feature Service ${JSON.stringify(e)} has been successfully unbound from consumer ${JSON.stringify(t)}.`}function nz(e){return`All required Feature Services are already unbound from consumer ${JSON.stringify(e)}.`}var iz=_(2702),az=_.n(iz);function oz(e){return t=>[e,t]}function sz(e,t){return Object.keys(t).map(oz(e))}function uz(e){return Array.from(e.keys()).reduce((t,r)=>{const i=e.get(r);if(!i)return t;const o=sz(r,i);return[...t,...o]},[])}function cz(e){const t=Array.from(e.keys()),r=uz(e),i=az()(r);return i.push(...t.filter(o=>e.has(o)&&i.indexOf(o)===-1)),i.reverse()}function j$({dependencies:e,optionalDependencies:t}){return Object.assign(Object.assign({},e&&e.featureServices),t&&t.featureServices)}function lz(e){const t=new Map;for(const r of e)t.set(r.id,j$(r));return t}function fz({optionalDependencies:e},t){return Boolean(e&&e.featureServices&&e.featureServices.hasOwnProperty(t))}function dz(e){const t=new Map;for(const r of e)t.set(r.id,r);return t}class pz{constructor(t={}){this.options=t,this.sharedFeatureServices=new Map,this.consumerIds=new Set,this.logger=t.logger||console}registerFeatureServices(t,r){const i=dz(t),o=lz(t);for(const c of cz(o))this.registerFeatureService(i,c,r)}bindFeatureServices(t,r,i){if(this.consumerIds.has(r))throw new Error(ez(r));const o=new Map,c=Object.create(null),p=j$(t);for(const C of Object.keys(p)){const P=fz(t,C),G=p[C],te=this.bindFeatureService(C,r,i,G,{optional:P});!te||(this.logger.info(Zq(C,r)),o.set(C,te),c[C]=te.featureService)}this.consumerIds.add(r);let y=!1;return{featureServices:c,unbind:()=>{if(y)throw new Error(nz(r));y=!0,this.consumerIds.delete(r);for(const[C,P]of o.entries())try{P.unbind&&P.unbind(),this.logger.info(rz(C,r))}catch(G){this.logger.error(tz(C,r),G)}}}}registerFeatureService(t,r,i){const o=t.get(r);if(!o)return;if(this.sharedFeatureServices.has(r)){this.logger.warn(Xq(r,i));return}this.validateExternals(o);const{featureServices:c}=this.bindFeatureServices(o,r),p=o.create({featureServices:c});p?(this.validateFeatureServiceVersions(p,r,i),this.sharedFeatureServices.set(r,p),this.logger.info(Yq(r,i))):this.logger.info(Jq(r,i))}bindFeatureService(t,r,i,o,{optional:c}){const p=o&&qq()(o);if(!p){const te=Kq(c,t,r);if(c){this.logger.info(te);return}throw new Error(te)}const y=`^${p.version}`,O=this.sharedFeatureServices.get(t);if(!O){const te=Hq(c,t,r);if(c){this.logger.info(te);return}throw new Error(te)}const C=Object.keys(O),P=C.find(te=>N$()(te,y)),G=P?O[P]:void 0;if(!G){const te=zq(c,t,r,y,C);if(c){this.logger.info(te);return}throw new Error(te)}return G(r,i)}validateExternals(t){const{externalsValidator:r}=this.options;if(!r)return;const{dependencies:i}=t;i&&i.externals&&r.validate(i.externals)}validateFeatureServiceVersions(t,r,i){for(const o of Object.keys(t))if(!L$()(o))throw new Error(Wq(r,i,o))}}function hz(e,t={}){const{featureServiceDefinitions:r,featureServiceDependencies:i,providedExternals:o,moduleLoader:c,logger:p,onBind:y}=t;let O;o&&(O=new Mq(o));const C=new pz({externalsValidator:O,logger:p}),P={dependencies:{featureServices:i}};r&&C.registerFeatureServices(r,e);const G=new Vq(C,{externalsValidator:O,moduleLoader:c,logger:p,onBind:y}),{featureServices:te}=C.bindFeatureServices(P,e);return{featureAppManager:G,featureServiceRegistry:C,featureServices:te}}/**
|
|
4997
4997
|
* @license
|
|
4998
4998
|
* Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
4999
4999
|
* This code may only be used under the BSD style license found at
|
|
@@ -5005,7 +5005,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
5005
5005
|
* Code distributed by Google as part of the polymer project is also
|
|
5006
5006
|
* subject to an additional IP rights grant found at
|
|
5007
5007
|
* http://polymer.github.io/PATENTS.txt
|
|
5008
|
-
*/const M$=typeof window<"u"&&window.customElements!=null&&window.customElements.polyfillWrapFlushCallback!==void 0,
|
|
5008
|
+
*/const M$=typeof window<"u"&&window.customElements!=null&&window.customElements.polyfillWrapFlushCallback!==void 0,aK=(e,t,r=null,i=null)=>{for(;t!==r;){const o=t.nextSibling;e.insertBefore(t,i),t=o}},yS=(e,t,r=null)=>{for(;t!==r;){const i=t.nextSibling;e.removeChild(t),t=i}};/**
|
|
5009
5009
|
* @license
|
|
5010
5010
|
* Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
5011
5011
|
* This code may only be used under the BSD style license found at
|
|
@@ -5077,7 +5077,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
5077
5077
|
* Code distributed by Google as part of the polymer project is also
|
|
5078
5078
|
* subject to an additional IP rights grant found at
|
|
5079
5079
|
* http://polymer.github.io/PATENTS.txt
|
|
5080
|
-
*/const K$=window.trustedTypes&&trustedTypes.createPolicy("lit-html",{createHTML:e=>e}),yz=` ${Uo} `;class H${constructor(t,r,i,o){this.strings=t,this.values=r,this.type=i,this.processor=o}getHTML(){const t=this.strings.length-1;let r="",i=!1;for(let o=0;o<t;o++){const c=this.strings[o],p=c.lastIndexOf("<!--");i=(p>-1||i)&&c.indexOf("-->",p+1)===-1;const y=_S.exec(c);y===null?r+=c+(i?yz:F$):r+=c.substr(0,y.index)+y[1]+y[2]+nd+y[3]+Uo}return r+=this.strings[t],r}getTemplateElement(){const t=document.createElement("template");let r=this.getHTML();return K$!==void 0&&(r=K$.createHTML(r)),t.innerHTML=r,t}}class
|
|
5080
|
+
*/const K$=window.trustedTypes&&trustedTypes.createPolicy("lit-html",{createHTML:e=>e}),yz=` ${Uo} `;class H${constructor(t,r,i,o){this.strings=t,this.values=r,this.type=i,this.processor=o}getHTML(){const t=this.strings.length-1;let r="",i=!1;for(let o=0;o<t;o++){const c=this.strings[o],p=c.lastIndexOf("<!--");i=(p>-1||i)&&c.indexOf("-->",p+1)===-1;const y=_S.exec(c);y===null?r+=c+(i?yz:F$):r+=c.substr(0,y.index)+y[1]+y[2]+nd+y[3]+Uo}return r+=this.strings[t],r}getTemplateElement(){const t=document.createElement("template");let r=this.getHTML();return K$!==void 0&&(r=K$.createHTML(r)),t.innerHTML=r,t}}class oK extends null{getHTML(){return`<svg>${super.getHTML()}</svg>`}getTemplateElement(){const t=super.getTemplateElement(),r=t.content,i=r.firstChild;return r.removeChild(i),reparentNodes(r,i.firstChild),t}}/**
|
|
5081
5081
|
* @license
|
|
5082
5082
|
* Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
5083
5083
|
* This code may only be used under the BSD style license found at
|
|
@@ -5137,7 +5137,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
5137
5137
|
* Code distributed by Google as part of the polymer project is also
|
|
5138
5138
|
* subject to an additional IP rights grant found at
|
|
5139
5139
|
* http://polymer.github.io/PATENTS.txt
|
|
5140
|
-
*/typeof window<"u"&&(window.litHtmlVersions||(window.litHtmlVersions=[])).push("1.4.1");const Gc=(e,...t)=>new H$(e,t,"html",Iz),
|
|
5140
|
+
*/typeof window<"u"&&(window.litHtmlVersions||(window.litHtmlVersions=[])).push("1.4.1");const Gc=(e,...t)=>new H$(e,t,"html",Iz),sK=(e,...t)=>new SVGTemplateResult(e,t,"svg",defaultTemplateProcessor);/**
|
|
5141
5141
|
* @license
|
|
5142
5142
|
* Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
5143
5143
|
* This code may only be used under the BSD style license found at
|
|
@@ -5173,7 +5173,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
5173
5173
|
* Code distributed by Google as part of the polymer project is also
|
|
5174
5174
|
* subject to an additional IP rights grant found at
|
|
5175
5175
|
* http://polymer.github.io/PATENTS.txt
|
|
5176
|
-
*/const Rz=(e,t)=>(window.customElements.define(e,t),t),Dz=(e,t)=>{const{kind:r,elements:i}=t;return{kind:r,elements:i,finisher(o){window.customElements.define(e,o)}}},
|
|
5176
|
+
*/const Rz=(e,t)=>(window.customElements.define(e,t),t),Dz=(e,t)=>{const{kind:r,elements:i}=t;return{kind:r,elements:i,finisher(o){window.customElements.define(e,o)}}},uK=e=>t=>typeof t=="function"?Rz(e,t):Dz(e,t),kz=(e,t)=>t.kind==="method"&&t.descriptor&&!("value"in t.descriptor)?Object.assign(Object.assign({},t),{finisher(r){r.createProperty(t.key,e)}}):{kind:"field",key:Symbol(),placement:"own",descriptor:{},initializer(){typeof t.initializer=="function"&&(this[t.key]=t.initializer.call(this))},finisher(r){r.createProperty(t.key,e)}},Nz=(e,t,r)=>{t.constructor.createProperty(r,e)};function ca(e){return(t,r)=>r!==void 0?Nz(e,t,r):kz(e,t)}function Lz(e){return ca({attribute:!1,hasChanged:e?.hasChanged})}const cK=e=>Lz(e);function lK(e,t){return(r,i)=>{const o={get(){return this.renderRoot.querySelector(e)},enumerable:!0,configurable:!0};if(t){const c=i!==void 0?i:r.key,p=typeof c=="symbol"?Symbol():`__${c}`;o.get=function(){return this[p]===void 0&&(this[p]=this.renderRoot.querySelector(e)),this[p]}}return i!==void 0?tg(o,r,i):rg(o,r)}}function fK(e){return(t,r)=>{const i={async get(){return await this.updateComplete,this.renderRoot.querySelector(e)},enumerable:!0,configurable:!0};return r!==void 0?tg(i,t,r):rg(i,t)}}function dK(e){return(t,r)=>{const i={get(){return this.renderRoot.querySelectorAll(e)},enumerable:!0,configurable:!0};return r!==void 0?tg(i,t,r):rg(i,t)}}const tg=(e,t,r)=>{Object.defineProperty(t,r,e)},rg=(e,t)=>({kind:"method",placement:"prototype",key:t.key,descriptor:e}),jz=(e,t)=>Object.assign(Object.assign({},t),{finisher(r){Object.assign(r.prototype[t.key],e)}}),Mz=(e,t,r)=>{Object.assign(t[r],e)};function pK(e){return(t,r)=>r!==void 0?Mz(e,t,r):jz(e,t)}const nA=Element.prototype,Fz=nA.msMatchesSelector||nA.webkitMatchesSelector;function hK(e="",t=!1,r=""){return(i,o)=>{const c={get(){const p=`slot${e?`[name=${e}]`:":not([name])"}`,y=this.renderRoot.querySelector(p);let O=y&&y.assignedNodes({flatten:t});return O&&r&&(O=O.filter(C=>C.nodeType===Node.ELEMENT_NODE&&(C.matches?C.matches(r):Fz.call(C,r)))),O},enumerable:!0,configurable:!0};return o!==void 0?tg(c,i,o):rg(c,i)}}/**
|
|
5177
5177
|
@license
|
|
5178
5178
|
Copyright (c) 2019 The Polymer Project Authors. All rights reserved.
|
|
5179
5179
|
This code may only be used under the BSD style license found at
|
|
@@ -5183,7 +5183,7 @@ found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by Google as
|
|
|
5183
5183
|
part of the polymer project is also subject to an additional IP rights grant
|
|
5184
5184
|
found at http://polymer.github.io/PATENTS.txt
|
|
5185
5185
|
*/const $S=window.ShadowRoot&&(window.ShadyCSS===void 0||window.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,AS=Symbol();class RS{constructor(t,r){if(r!==AS)throw new Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t}get styleSheet(){return this._styleSheet===void 0&&($S?(this._styleSheet=new CSSStyleSheet,this._styleSheet.replaceSync(this.cssText)):this._styleSheet=null),this._styleSheet}toString(){return this.cssText}}const Uz=e=>new RS(String(e),AS),Gz=e=>{if(e instanceof RS)return e.cssText;if(typeof e=="number")return e;throw new Error(`Value passed to 'css' function must be a 'css' function result: ${e}. Use 'unsafeCSS' to pass non-literal values, but
|
|
5186
|
-
take care to ensure page security.`)},
|
|
5186
|
+
take care to ensure page security.`)},vK=(e,...t)=>{const r=t.reduce((i,o,c)=>i+Gz(o)+e[c+1],e[0]);return new RS(r,AS)};/**
|
|
5187
5187
|
* @license
|
|
5188
5188
|
* Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
5189
5189
|
* This code may only be used under the BSD style license found at
|
package/index.js
CHANGED
|
@@ -73,8 +73,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
73
73
|
<div class="wrapper">
|
|
74
74
|
<bwell-error-component />
|
|
75
75
|
</div>
|
|
76
|
-
`}}customElements.get(_)===void 0&&customElements.define(_,q);const ne=[{name:"loader",defaultElement:document.createElement(J)},{name:"error",defaultElement:document.createElement(_)}],oe=["error","loading"],ae={error:"error",loading:"loader"},se=({src:K,elementNameSuffix:I})=>(0,t.sH)(void 0,void 0,void 0,function*(){var C,B,W,V,re,fe,le,ve,he,ue,ee,Se,Te,be,Oe;window.bwell||(window.bwell=new G);const ye=`bwell-${I}`;if(customElements.get(ye)!==void 0)return;class Ie extends i{constructor(){super(),C.add(this),B.set(this,x()),W.set(this,void 0),V.set(this,document.createElement("feature-app-loader")),re.set(this,new S.EventEmitter),fe.set(this,void 0),le.set(this,void 0),ve.set(this,void 0),he.set(this,void 0),ue.set(this,void 0),ee.set(this,void 0),this.attachShadow({mode:"open"});const te=new Q(ne).attachToShadowRoot(this.shadowRoot);te.addEventListener("visibilitychange",({visibility:pe,container:xe,name:Le})=>{Le==="error"&&pe==="visible"&&window.bwell._registerEmbeddableContent(xe),(0,t.gn)(this,V,"f").style.display=pe==="hidden"?"unset":"hidden"}),(0,t.GG)(this,ee,{slots:te,attributes:new b().bindTo(this),loaderEventEmitter:(0,t.gn)(this,re,"f")},"f"),(0,t.GG)(this,fe,(0,t.gn)(this,C,"m",Se).bind(this),"f"),(0,t.GG)(this,le,(0,t.gn)(this,C,"m",Te).bind(this),"f"),(0,t.GG)(this,ve,(0,t.gn)(this,C,"m",Oe).call(this,"error"),"f"),(0,t.GG)(this,he,(0,t.gn)(this,C,"m",Oe).call(this,"loading"),"f")}connectedCallback(){return(0,t.sH)(this,void 0,void 0,function*(){(0,t.gn)(this,ve,"f").call(this,(0,t.gn)(this,ee,"f").attributes.get("error")),(0,t.gn)(this,he,"f").call(this,(0,t.gn)(this,ee,"f").attributes.get("loading")),(0,t.gn)(this,ee,"f").slots.addEventListener("visibilitychange",(0,t.gn)(this,le,"f")),(0,t.gn)(this,ee,"f").attributes.addChangeListener("error",(0,t.gn)(this,ve,"f")),(0,t.gn)(this,ee,"f").attributes.addChangeListener("loading",(0,t.gn)(this,he,"f")),(0,t.gn)(this,ee,"f").slots.showSlot("loader");try{yield window.bwell.validateLoad()}catch{(0,t.gn)(this,ee,"f").slots.showSlot("error")}(0,t.GG)(this,B,this.id||(0,t.gn)(this,B,"f"),"f"),(0,t.GG)(this,W,new a((0,t.gn)(this,B,"f")),"f"),(0,t.gn)(this,W,"f").registerDispatcher(te=>this.dispatchEvent(te)),window.bwell.isInitialized?(0,t.gn)(this,fe,"f").call(this):(window.bwell.once("initialized",(0,t.gn)(this,fe,"f")),window.bwell.once("error",()=>{(0,t.gn)(this,ee,"f").slots.showSlot("error")}))})}disconnectedCallback(){var te;(0,t.gn)(this,re,"f").emit("disconnect"),(0,t.gn)(this,ee,"f").slots.removeEventListener("visibilitychange",(0,t.gn)(this,le,"f")),(0,t.gn)(this,ee,"f").attributes.removeChangeListener("error",(0,t.gn)(this,ve,"f")),(0,t.gn)(this,ee,"f").attributes.removeChangeListener("loading",(0,t.gn)(this,he,"f")),(te=(0,t.gn)(this,W,"f"))===null||te===void 0||te.deregister(),(0,t.gn)(this,re,"f").removeAllListeners()}}B=new WeakMap,W=new WeakMap,V=new WeakMap,re=new WeakMap,fe=new WeakMap,le=new WeakMap,ve=new WeakMap,he=new WeakMap,ue=new WeakMap,ee=new WeakMap,C=new WeakSet,Se=function(){(0,t.gn)(this,V,"f").setAttribute("featureAppId",`bwell-embeddable:${ye}`),(0,t.gn)(this,V,"f").setAttribute("src",K),(0,t.gn)(this,V,"f").config={id:(0,t.gn)(this,B,"f"),name:I,elementName:ye,utils:(0,t.gn)(this,ee,"f")},this.shadowRoot.appendChild((0,t.gn)(this,V,"f"))},Te=function({visibility:te,name:pe}){(0,t.gn)(this,V,"f").style.display=te==="hidden"?"unset":"hidden"},be=function(te){(0,t.gn)(this,ue,"f")(),(0,t.GG)(this,ue,void 0,"f")},Oe=function(te){return pe=>{const xe=oe.findIndex(ge=>ge===te);if(!oe.slice(0,xe).some(ge=>(0,t.gn)(this,ee,"f").attributes.get(ge)!==null)){if(pe!==null)(0,t.gn)(this,ue,"f")&&(0,t.gn)(this,C,"m",be).call(this,te),(0,t.GG)(this,ue,(0,t.gn)(this,ee,"f").slots.showSlotLocked(ae[te]),"f");else if(pe===null&&(0,t.gn)(this,ue,"f")){(0,t.gn)(this,C,"m",be).call(this,te);const ge=oe.find(Ce=>(0,t.gn)(this,ee,"f").attributes.get(Ce)!==null);ge&&(0,t.GG)(this,ue,(0,t.gn)(this,ee,"f").slots.showSlotLocked(ae[ge]),"f")}}}},customElements.define(ye,Ie)}),ie="composite",ce={rE:"1.367.3"};var de=e(7321);se({src:`https://embeddables.prod.icanbwell.com/${ie}/${ce.rE}/scripts/embeddable.federated.js`,elementNameSuffix:ie})},992:(r,l,e)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.Broadcaster=void 0;var t=e(46),i=function(){function o(n,s){if(s===void 0&&(s=0),this.emitter=new t.EventEmitter,typeof n>"u"||n.length===0)throw new Error("Broadcaster must have a name");this._name=n,this.emitter.setMaxListeners(s)}return Object.defineProperty(o.prototype,"name",{get:function(){return this._name},enumerable:!1,configurable:!0}),o.prototype.emit=function(n){this.emitter.emit(this._name,n)},o.prototype.addListener=function(n){return this._addListener("addListener",n)},o.prototype.on=function(n){return this.addListener(n)},o.prototype.prependListener=function(n){return this._addListener("prependListener",n)},o.prototype.once=function(n){return this._addListener("once",n)},o.prototype.prependOnceListener=function(n){return this._addListener("prependOnceListener",n)},o.prototype.removeListener=function(n){this._proxyListener("removeListener",n)},o.prototype.off=function(n){this.removeListener(n)},o.prototype.removeAllListeners=function(){this.emitter.removeAllListeners(this._name)},o.prototype.getMaxListeners=function(){return this.emitter.getMaxListeners()},o.prototype.setMaxListeners=function(n){this.emitter.setMaxListeners(n)},o.prototype.getEventEmitter=function(){return this.emitter},o.prototype.listeners=function(){return this.emitter.listeners(this._name)},o.prototype.rawListeners=function(){return this.emitter.rawListeners(this._name)},o.prototype.listenerCount=function(){return this.emitter.listenerCount(this._name)},o.prototype._proxyListener=function(n,s){this.emitter[n](this._name,s)},o.prototype._createUnsubscribe=function(n){var s=this;return function(){s.emitter.removeListener(s._name,n)}},o.prototype._addListener=function(n,s){return this._proxyListener(n,s),this._createUnsubscribe(s)},o.prototype.destroy=function(){this.emitter.removeAllListeners()},o}();l.Broadcaster=i},9987:function(r,l,e){"use strict";var t=this&&this.__extends||function(){var s=function(c,a){return s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,d){u.__proto__=d}||function(u,d){for(var p in d)Object.prototype.hasOwnProperty.call(d,p)&&(u[p]=d[p])},s(c,a)};return function(c,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");s(c,a);function u(){this.constructor=c}c.prototype=a===null?Object.create(a):(u.prototype=a.prototype,new u)}}();Object.defineProperty(l,"__esModule",{value:!0}),l.Channel=void 0;var i=e(992),o=e(1987),n=function(s){t(c,s);function c(a,u){u===void 0&&(u=0);var d=s.call(this,a,u)||this;return d.topics={},d._onTopicDestroyed=d._onTopicDestroyed.bind(d),d._onTopicEmit=d._onTopicEmit.bind(d),d}return c.prototype.emit=function(a){var u={channel:this.name,topic:"*",payload:a};s.prototype.emit.call(this,u)},c.prototype.topic=function(a){var u=this.topics[a];return typeof u>"u"&&(u=this.topics[a]=new o.Topic(a,this.name,this.getMaxListeners()),u.getEventEmitter().on("topic_destroyed",this._onTopicDestroyed),u.on(this._onTopicEmit)),u},c.prototype.hasTopic=function(a){return Boolean(this.topics[a])},c.prototype.removeTopic=function(a){var u=this.topics[a];return typeof u<"u"?(delete this.topics[a],u.destroy(),!0):!1},c.prototype.getAllTopics=function(){return Object.values(this.topics)},c.prototype._onTopicEmit=function(a){s.prototype.emit.call(this,a)},c.prototype._onTopicDestroyed=function(a){delete this.topics[a]},c.prototype.destroy=function(){for(var a in this.topics)this.removeTopic(a);this.emitter.emit("channel_destroyed",this.name),s.prototype.destroy.call(this)},c}(i.Broadcaster);l.Channel=n},5447:(r,l,e)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.EventBus=void 0;var t=e(9987),i=function(){function o(n){this.channels={},n=typeof n>"u"?{}:n,this._maxListeners=n.maxListeners===void 0?0:n.maxListeners,this.onChannelDestroyed=this.onChannelDestroyed.bind(this),this.createMainChannel(),this.onChannelEmit=this.onChannelEmit.bind(this)}return o.prototype.createMainChannel=function(){var n=this;this.defaultChannel=new t.Channel("*",this._maxListeners),this.channels["*"]=this.defaultChannel,this.defaultChannel.getEventEmitter().on("channel_destroyed",function(){n.createMainChannel()})},o.prototype.mainChannel=function(){return this.defaultChannel},o.prototype.allChannels=function(){return this.mainChannel()},o.prototype.channel=function(n){var s=this.channels[n];return typeof s>"u"&&(s=this.channels[n]=new t.Channel(n,this._maxListeners),s.on(this.onChannelEmit),s.getEventEmitter().on("channel_destroyed",this.onChannelDestroyed)),s},o.prototype.hasChannel=function(n){return Boolean(this.channels[n])},o.prototype.removeChannel=function(n){if(n==="*")throw new Error("Can't remove default channel");var s=this.channels[n];return typeof s<"u"?(s.destroy(),!0):!1},o.prototype.onChannelEmit=function(n){var s=n.topic;if(this.defaultChannel.hasTopic(s)){var c={topic:n.topic,channel:n.channel,payload:n.payload};this.defaultChannel.topic(s).getEventEmitter().emit(s,c)}this.defaultChannel.getEventEmitter().emit(this.defaultChannel.name,n)},o.prototype.onChannelDestroyed=function(n){delete this.channels[n]},o.prototype.getAllChannels=function(){return Object.values(this.channels)},o.prototype.destroy=function(){for(var n in this.channels)this.channels[n].destroy()},o}();l.EventBus=i},4032:function(r,l,e){"use strict";var t=this&&this.__createBinding||(Object.create?function(o,n,s,c){c===void 0&&(c=s),Object.defineProperty(o,c,{enumerable:!0,get:function(){return n[s]}})}:function(o,n,s,c){c===void 0&&(c=s),o[c]=n[s]}),i=this&&this.__exportStar||function(o,n){for(var s in o)s!=="default"&&!Object.prototype.hasOwnProperty.call(n,s)&&t(n,o,s)};Object.defineProperty(l,"__esModule",{value:!0}),i(e(992),l),i(e(5447),l),i(e(9987),l),i(e(1987),l)},1987:function(r,l,e){"use strict";var t=this&&this.__extends||function(){var n=function(s,c){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,u){a.__proto__=u}||function(a,u){for(var d in u)Object.prototype.hasOwnProperty.call(u,d)&&(a[d]=u[d])},n(s,c)};return function(s,c){if(typeof c!="function"&&c!==null)throw new TypeError("Class extends value "+String(c)+" is not a constructor or null");n(s,c);function a(){this.constructor=s}s.prototype=c===null?Object.create(c):(a.prototype=c.prototype,new a)}}();Object.defineProperty(l,"__esModule",{value:!0}),l.Topic=void 0;var i=e(992),o=function(n){t(s,n);function s(c,a,u){u===void 0&&(u=0);var d=n.call(this,c,u)||this;return d.channel=a,d}return s.prototype.emit=function(c){var a={channel:this.channel,topic:this.name,payload:c};n.prototype.emit.call(this,a)},s.prototype.destroy=function(){this.emitter.emit("topic_destroyed",this.name),n.prototype.destroy.call(this)},s}(i.Broadcaster);l.Topic=o},46:r=>{"use strict";var l=typeof Reflect=="object"?Reflect:null,e=l&&typeof l.apply=="function"?l.apply:function(g,b,S){return Function.prototype.apply.call(g,b,S)},t;l&&typeof l.ownKeys=="function"?t=l.ownKeys:Object.getOwnPropertySymbols?t=function(g){return Object.getOwnPropertyNames(g).concat(Object.getOwnPropertySymbols(g))}:t=function(g){return Object.getOwnPropertyNames(g)};function i(f){console&&console.warn&&console.warn(f)}var o=Number.isNaN||function(g){return g!==g};function n(){n.init.call(this)}r.exports=n,r.exports.once=R,n.EventEmitter=n,n.prototype._events=void 0,n.prototype._eventsCount=0,n.prototype._maxListeners=void 0;var s=10;function c(f){if(typeof f!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof f)}Object.defineProperty(n,"defaultMaxListeners",{enumerable:!0,get:function(){return s},set:function(f){if(typeof f!="number"||f<0||o(f))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+f+".");s=f}}),n.init=function(){(this._events===void 0||this._events===Object.getPrototypeOf(this)._events)&&(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},n.prototype.setMaxListeners=function(g){if(typeof g!="number"||g<0||o(g))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+g+".");return this._maxListeners=g,this};function a(f){return f._maxListeners===void 0?n.defaultMaxListeners:f._maxListeners}n.prototype.getMaxListeners=function(){return a(this)},n.prototype.emit=function(g){for(var b=[],S=1;S<arguments.length;S++)b.push(arguments[S]);var N=g==="error",j=this._events;if(j!==void 0)N=N&&j.error===void 0;else if(!N)return!1;if(N){var F;if(b.length>0&&(F=b[0]),F instanceof Error)throw F;var H=new Error("Unhandled error."+(F?" ("+F.message+")":""));throw H.context=F,H}var Y=j[g];if(Y===void 0)return!1;if(typeof Y=="function")e(Y,this,b);else for(var X=Y.length,Z=T(Y,X),S=0;S<X;++S)e(Z[S],this,b);return!0};function u(f,g,b,S){var N,j,F;if(c(b),j=f._events,j===void 0?(j=f._events=Object.create(null),f._eventsCount=0):(j.newListener!==void 0&&(f.emit("newListener",g,b.listener?b.listener:b),j=f._events),F=j[g]),F===void 0)F=j[g]=b,++f._eventsCount;else if(typeof F=="function"?F=j[g]=S?[b,F]:[F,b]:S?F.unshift(b):F.push(b),N=a(f),N>0&&F.length>N&&!F.warned){F.warned=!0;var H=new Error("Possible EventEmitter memory leak detected. "+F.length+" "+String(g)+" listeners added. Use emitter.setMaxListeners() to increase limit");H.name="MaxListenersExceededWarning",H.emitter=f,H.type=g,H.count=F.length,i(H)}return f}n.prototype.addListener=function(g,b){return u(this,g,b,!1)},n.prototype.on=n.prototype.addListener,n.prototype.prependListener=function(g,b){return u(this,g,b,!0)};function d(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function p(f,g,b){var S={fired:!1,wrapFn:void 0,target:f,type:g,listener:b},N=d.bind(S);return N.listener=b,S.wrapFn=N,N}n.prototype.once=function(g,b){return c(b),this.on(g,p(this,g,b)),this},n.prototype.prependOnceListener=function(g,b){return c(b),this.prependListener(g,p(this,g,b)),this},n.prototype.removeListener=function(g,b){var S,N,j,F,H;if(c(b),N=this._events,N===void 0)return this;if(S=N[g],S===void 0)return this;if(S===b||S.listener===b)--this._eventsCount===0?this._events=Object.create(null):(delete N[g],N.removeListener&&this.emit("removeListener",g,S.listener||b));else if(typeof S!="function"){for(j=-1,F=S.length-1;F>=0;F--)if(S[F]===b||S[F].listener===b){H=S[F].listener,j=F;break}if(j<0)return this;j===0?S.shift():L(S,j),S.length===1&&(N[g]=S[0]),N.removeListener!==void 0&&this.emit("removeListener",g,H||b)}return this},n.prototype.off=n.prototype.removeListener,n.prototype.removeAllListeners=function(g){var b,S,N;if(S=this._events,S===void 0)return this;if(S.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):S[g]!==void 0&&(--this._eventsCount===0?this._events=Object.create(null):delete S[g]),this;if(arguments.length===0){var j=Object.keys(S),F;for(N=0;N<j.length;++N)F=j[N],F!=="removeListener"&&this.removeAllListeners(F);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if(b=S[g],typeof b=="function")this.removeListener(g,b);else if(b!==void 0)for(N=b.length-1;N>=0;N--)this.removeListener(g,b[N]);return this};function x(f,g,b){var S=f._events;if(S===void 0)return[];var N=S[g];return N===void 0?[]:typeof N=="function"?b?[N.listener||N]:[N]:b?M(N):T(N,N.length)}n.prototype.listeners=function(g){return x(this,g,!0)},n.prototype.rawListeners=function(g){return x(this,g,!1)},n.listenerCount=function(f,g){return typeof f.listenerCount=="function"?f.listenerCount(g):O.call(f,g)},n.prototype.listenerCount=O;function O(f){var g=this._events;if(g!==void 0){var b=g[f];if(typeof b=="function")return 1;if(b!==void 0)return b.length}return 0}n.prototype.eventNames=function(){return this._eventsCount>0?t(this._events):[]};function T(f,g){for(var b=new Array(g),S=0;S<g;++S)b[S]=f[S];return b}function L(f,g){for(;g+1<f.length;g++)f[g]=f[g+1];f.pop()}function M(f){for(var g=new Array(f.length),b=0;b<g.length;++b)g[b]=f[b].listener||f[b];return g}function R(f,g){return new Promise(function(b,S){function N(F){f.removeListener(g,j),S(F)}function j(){typeof f.removeListener=="function"&&f.removeListener("error",N),b([].slice.call(arguments))}U(f,g,j,{once:!0}),g!=="error"&&D(f,N,{once:!0})})}function D(f,g,b){typeof f.on=="function"&&U(f,"error",g,b)}function U(f,g,b,S){if(typeof f.on=="function")S.once?f.once(g,b):f.on(g,b);else if(typeof f.addEventListener=="function")f.addEventListener(g,function N(j){S.once&&f.removeEventListener(g,N),b(j)});else throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof f)}},7321:(r,l,e)=>{"use strict";var t=e(3030);r.exports=t},9283:(r,l,e)=>{"use strict";e(8376),e(4293),e(8715);var t=e(2564);r.exports=t("String","replaceAll")},4977:(r,l,e)=>{"use strict";var t=e(4188),i=e(3174),o=TypeError;r.exports=function(n){if(t(n))return n;throw new o(i(n)+" is not a function")}},154:(r,l,e)=>{"use strict";var t=e(4212).charAt;r.exports=function(i,o,n){return o+(n?t(i,o).length:1)}},3770:(r,l,e)=>{"use strict";var t=e(831),i=String,o=TypeError;r.exports=function(n){if(t(n))return n;throw new o(i(n)+" is not an object")}},1458:(r,l,e)=>{"use strict";var t=e(380),i=e(675),o=e(9389),n=function(s){return function(c,a,u){var d=t(c),p=o(d);if(p===0)return!s&&-1;var x=i(u,p),O;if(s&&a!==a){for(;p>x;)if(O=d[x++],O!==O)return!0}else for(;p>x;x++)if((s||x in d)&&d[x]===a)return s||x||0;return!s&&-1}};r.exports={includes:n(!0),indexOf:n(!1)}},8689:(r,l,e)=>{"use strict";var t=e(6881),i=t({}.toString),o=t("".slice);r.exports=function(n){return o(i(n),8,-1)}},5438:(r,l,e)=>{"use strict";var t=e(9345),i=e(4188),o=e(8689),n=e(4282),s=n("toStringTag"),c=Object,a=o(function(){return arguments}())==="Arguments",u=function(d,p){try{return d[p]}catch{}};r.exports=t?o:function(d){var p,x,O;return d===void 0?"Undefined":d===null?"Null":typeof(x=u(p=c(d),s))=="string"?x:a?o(p):(O=o(p))==="Object"&&i(p.callee)?"Arguments":O}},8657:(r,l,e)=>{"use strict";var t=e(4418),i=e(3168),o=e(9304),n=e(4466);r.exports=function(s,c,a){for(var u=i(c),d=n.f,p=o.f,x=0;x<u.length;x++){var O=u[x];!t(s,O)&&!(a&&t(a,O))&&d(s,O,p(c,O))}}},8088:(r,l,e)=>{"use strict";var t=e(6893),i=e(4466),o=e(9123);r.exports=t?function(n,s,c){return i.f(n,s,o(1,c))}:function(n,s,c){return n[s]=c,n}},9123:r=>{"use strict";r.exports=function(l,e){return{enumerable:!(l&1),configurable:!(l&2),writable:!(l&4),value:e}}},7509:(r,l,e)=>{"use strict";var t=e(4188),i=e(4466),o=e(4530),n=e(4798);r.exports=function(s,c,a,u){u||(u={});var d=u.enumerable,p=u.name!==void 0?u.name:c;if(t(a)&&o(a,p,u),u.global)d?s[c]=a:n(c,a);else{try{u.unsafe?s[c]&&(d=!0):delete s[c]}catch{}d?s[c]=a:i.f(s,c,{value:a,enumerable:!1,configurable:!u.nonConfigurable,writable:!u.nonWritable})}return s}},4798:(r,l,e)=>{"use strict";var t=e(1488),i=Object.defineProperty;r.exports=function(o,n){try{i(t,o,{value:n,configurable:!0,writable:!0})}catch{t[o]=n}return n}},6893:(r,l,e)=>{"use strict";var t=e(5234);r.exports=!t(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!==7})},5926:(r,l,e)=>{"use strict";var t=e(1488),i=e(831),o=t.document,n=i(o)&&i(o.createElement);r.exports=function(s){return n?o.createElement(s):{}}},4109:r=>{"use strict";r.exports=typeof navigator<"u"&&String(navigator.userAgent)||""},3749:(r,l,e)=>{"use strict";var t=e(1488),i=e(4109),o=t.process,n=t.Deno,s=o&&o.versions||n&&n.version,c=s&&s.v8,a,u;c&&(a=c.split("."),u=a[0]>0&&a[0]<4?1:+(a[0]+a[1])),!u&&i&&(a=i.match(/Edge\/(\d+)/),(!a||a[1]>=74)&&(a=i.match(/Chrome\/(\d+)/),a&&(u=+a[1]))),r.exports=u},2564:(r,l,e)=>{"use strict";var t=e(1488),i=e(6881);r.exports=function(o,n){return i(t[o].prototype[n])}},1274:r=>{"use strict";r.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},5613:(r,l,e)=>{"use strict";var t=e(1488),i=e(9304).f,o=e(8088),n=e(7509),s=e(4798),c=e(8657),a=e(8489);r.exports=function(u,d){var p=u.target,x=u.global,O=u.stat,T,L,M,R,D,U;if(x?L=t:O?L=t[p]||s(p,{}):L=t[p]&&t[p].prototype,L)for(M in d){if(D=d[M],u.dontCallGetSet?(U=i(L,M),R=U&&U.value):R=L[M],T=a(x?M:p+(O?".":"#")+M,u.forced),!T&&R!==void 0){if(typeof D==typeof R)continue;c(D,R)}(u.sham||R&&R.sham)&&o(D,"sham",!0),n(L,M,D,u)}}},5234:r=>{"use strict";r.exports=function(l){try{return!!l()}catch{return!0}}},467:(r,l,e)=>{"use strict";e(8376);var t=e(9944),i=e(7509),o=e(9342),n=e(5234),s=e(4282),c=e(8088),a=s("species"),u=RegExp.prototype;r.exports=function(d,p,x,O){var T=s(d),L=!n(function(){var U={};return U[T]=function(){return 7},""[d](U)!==7}),M=L&&!n(function(){var U=!1,f=/a/;return d==="split"&&(f={},f.constructor={},f.constructor[a]=function(){return f},f.flags="",f[T]=/./[T]),f.exec=function(){return U=!0,null},f[T](""),!U});if(!L||!M||x){var R=/./[T],D=p(T,""[d],function(U,f,g,b,S){var N=f.exec;return N===o||N===u.exec?L&&!S?{done:!0,value:t(R,f,g,b)}:{done:!0,value:t(U,g,f,b)}:{done:!1}});i(String.prototype,d,D[0]),i(u,T,D[1])}O&&c(u[T],"sham",!0)}},646:(r,l,e)=>{"use strict";var t=e(9055),i=Function.prototype,o=i.apply,n=i.call;r.exports=typeof Reflect=="object"&&Reflect.apply||(t?n.bind(o):function(){return n.apply(o,arguments)})},9055:(r,l,e)=>{"use strict";var t=e(5234);r.exports=!t(function(){var i=function(){}.bind();return typeof i!="function"||i.hasOwnProperty("prototype")})},9944:(r,l,e)=>{"use strict";var t=e(9055),i=Function.prototype.call;r.exports=t?i.bind(i):function(){return i.apply(i,arguments)}},2735:(r,l,e)=>{"use strict";var t=e(6893),i=e(4418),o=Function.prototype,n=t&&Object.getOwnPropertyDescriptor,s=i(o,"name"),c=s&&function(){}.name==="something",a=s&&(!t||t&&n(o,"name").configurable);r.exports={EXISTS:s,PROPER:c,CONFIGURABLE:a}},6881:(r,l,e)=>{"use strict";var t=e(9055),i=Function.prototype,o=i.call,n=t&&i.bind.bind(o,o);r.exports=t?n:function(s){return function(){return o.apply(s,arguments)}}},5604:(r,l,e)=>{"use strict";var t=e(1488),i=e(4188),o=function(n){return i(n)?n:void 0};r.exports=function(n,s){return arguments.length<2?o(t[n]):t[n]&&t[n][s]}},2913:(r,l,e)=>{"use strict";var t=e(4977),i=e(4318);r.exports=function(o,n){var s=o[n];return i(s)?void 0:t(s)}},1113:(r,l,e)=>{"use strict";var t=e(6881),i=e(3628),o=Math.floor,n=t("".charAt),s=t("".replace),c=t("".slice),a=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,u=/\$([$&'`]|\d{1,2})/g;r.exports=function(d,p,x,O,T,L){var M=x+d.length,R=O.length,D=u;return T!==void 0&&(T=i(T),D=a),s(L,D,function(U,f){var g;switch(n(f,0)){case"$":return"$";case"&":return d;case"`":return c(p,0,x);case"'":return c(p,M);case"<":g=T[c(f,1,-1)];break;default:var b=+f;if(b===0)return U;if(b>R){var S=o(b/10);return S===0?U:S<=R?O[S-1]===void 0?n(f,1):O[S-1]+n(f,1):U}g=O[b-1]}return g===void 0?"":g})}},1488:function(r,l,e){"use strict";var t=function(i){return i&&i.Math===Math&&i};r.exports=t(typeof globalThis=="object"&&globalThis)||t(typeof window=="object"&&window)||t(typeof self=="object"&&self)||t(typeof e.g=="object"&&e.g)||t(typeof this=="object"&&this)||function(){return this}()||Function("return this")()},4418:(r,l,e)=>{"use strict";var t=e(6881),i=e(3628),o=t({}.hasOwnProperty);r.exports=Object.hasOwn||function(s,c){return o(i(s),c)}},7588:r=>{"use strict";r.exports={}},7458:(r,l,e)=>{"use strict";var t=e(5604);r.exports=t("document","documentElement")},9622:(r,l,e)=>{"use strict";var t=e(6893),i=e(5234),o=e(5926);r.exports=!t&&!i(function(){return Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a!==7})},7568:(r,l,e)=>{"use strict";var t=e(6881),i=e(5234),o=e(8689),n=Object,s=t("".split);r.exports=i(function(){return!n("z").propertyIsEnumerable(0)})?function(c){return o(c)==="String"?s(c,""):n(c)}:n},3029:(r,l,e)=>{"use strict";var t=e(6881),i=e(4188),o=e(2694),n=t(Function.toString);i(o.inspectSource)||(o.inspectSource=function(s){return n(s)}),r.exports=o.inspectSource},3086:(r,l,e)=>{"use strict";var t=e(5945),i=e(1488),o=e(831),n=e(8088),s=e(4418),c=e(2694),a=e(168),u=e(7588),d="Object already initialized",p=i.TypeError,x=i.WeakMap,O,T,L,M=function(f){return L(f)?T(f):O(f,{})},R=function(f){return function(g){var b;if(!o(g)||(b=T(g)).type!==f)throw new p("Incompatible receiver, "+f+" required");return b}};if(t||c.state){var D=c.state||(c.state=new x);D.get=D.get,D.has=D.has,D.set=D.set,O=function(f,g){if(D.has(f))throw new p(d);return g.facade=f,D.set(f,g),g},T=function(f){return D.get(f)||{}},L=function(f){return D.has(f)}}else{var U=a("state");u[U]=!0,O=function(f,g){if(s(f,U))throw new p(d);return g.facade=f,n(f,U,g),g},T=function(f){return s(f,U)?f[U]:{}},L=function(f){return s(f,U)}}r.exports={set:O,get:T,has:L,enforce:M,getterFor:R}},4188:r=>{"use strict";var l=typeof document=="object"&&document.all;r.exports=typeof l>"u"&&l!==void 0?function(e){return typeof e=="function"||e===l}:function(e){return typeof e=="function"}},8489:(r,l,e)=>{"use strict";var t=e(5234),i=e(4188),o=/#|\.prototype\./,n=function(d,p){var x=c[s(d)];return x===u?!0:x===a?!1:i(p)?t(p):!!p},s=n.normalize=function(d){return String(d).replace(o,".").toLowerCase()},c=n.data={},a=n.NATIVE="N",u=n.POLYFILL="P";r.exports=n},4318:r=>{"use strict";r.exports=function(l){return l==null}},831:(r,l,e)=>{"use strict";var t=e(4188);r.exports=function(i){return typeof i=="object"?i!==null:t(i)}},1942:r=>{"use strict";r.exports=!1},473:(r,l,e)=>{"use strict";var t=e(831),i=e(8689),o=e(4282),n=o("match");r.exports=function(s){var c;return t(s)&&((c=s[n])!==void 0?!!c:i(s)==="RegExp")}},6032:(r,l,e)=>{"use strict";var t=e(5604),i=e(4188),o=e(4578),n=e(9809),s=Object;r.exports=n?function(c){return typeof c=="symbol"}:function(c){var a=t("Symbol");return i(a)&&o(a.prototype,s(c))}},9389:(r,l,e)=>{"use strict";var t=e(7611);r.exports=function(i){return t(i.length)}},4530:(r,l,e)=>{"use strict";var t=e(6881),i=e(5234),o=e(4188),n=e(4418),s=e(6893),c=e(2735).CONFIGURABLE,a=e(3029),u=e(3086),d=u.enforce,p=u.get,x=String,O=Object.defineProperty,T=t("".slice),L=t("".replace),M=t([].join),R=s&&!i(function(){return O(function(){},"length",{value:8}).length!==8}),D=String(String).split("String"),U=r.exports=function(f,g,b){T(x(g),0,7)==="Symbol("&&(g="["+L(x(g),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),b&&b.getter&&(g="get "+g),b&&b.setter&&(g="set "+g),(!n(f,"name")||c&&f.name!==g)&&(s?O(f,"name",{value:g,configurable:!0}):f.name=g),R&&b&&n(b,"arity")&&f.length!==b.arity&&O(f,"length",{value:b.arity});try{b&&n(b,"constructor")&&b.constructor?s&&O(f,"prototype",{writable:!1}):f.prototype&&(f.prototype=void 0)}catch{}var S=d(f);return n(S,"source")||(S.source=M(D,typeof g=="string"?g:"")),f};Function.prototype.toString=U(function(){return o(this)&&p(this).source||a(this)},"toString")},142:r=>{"use strict";var l=Math.ceil,e=Math.floor;r.exports=Math.trunc||function(i){var o=+i;return(o>0?e:l)(o)}},7065:(r,l,e)=>{"use strict";var t=e(3770),i=e(30),o=e(1274),n=e(7588),s=e(7458),c=e(5926),a=e(168),u=">",d="<",p="prototype",x="script",O=a("IE_PROTO"),T=function(){},L=function(f){return d+x+u+f+d+"/"+x+u},M=function(f){f.write(L("")),f.close();var g=f.parentWindow.Object;return f=null,g},R=function(){var f=c("iframe"),g="java"+x+":",b;return f.style.display="none",s.appendChild(f),f.src=String(g),b=f.contentWindow.document,b.open(),b.write(L("document.F=Object")),b.close(),b.F},D,U=function(){try{D=new ActiveXObject("htmlfile")}catch{}U=typeof document<"u"?document.domain&&D?M(D):R():M(D);for(var f=o.length;f--;)delete U[p][o[f]];return U()};n[O]=!0,r.exports=Object.create||function(g,b){var S;return g!==null?(T[p]=t(g),S=new T,T[p]=null,S[O]=g):S=U(),b===void 0?S:i.f(S,b)}},30:(r,l,e)=>{"use strict";var t=e(6893),i=e(3315),o=e(4466),n=e(3770),s=e(380),c=e(7137);l.f=t&&!i?Object.defineProperties:function(u,d){n(u);for(var p=s(d),x=c(d),O=x.length,T=0,L;O>T;)o.f(u,L=x[T++],p[L]);return u}},4466:(r,l,e)=>{"use strict";var t=e(6893),i=e(9622),o=e(3315),n=e(3770),s=e(2344),c=TypeError,a=Object.defineProperty,u=Object.getOwnPropertyDescriptor,d="enumerable",p="configurable",x="writable";l.f=t?o?function(T,L,M){if(n(T),L=s(L),n(M),typeof T=="function"&&L==="prototype"&&"value"in M&&x in M&&!M[x]){var R=u(T,L);R&&R[x]&&(T[L]=M.value,M={configurable:p in M?M[p]:R[p],enumerable:d in M?M[d]:R[d],writable:!1})}return a(T,L,M)}:a:function(T,L,M){if(n(T),L=s(L),n(M),i)try{return a(T,L,M)}catch{}if("get"in M||"set"in M)throw new c("Accessors not supported");return"value"in M&&(T[L]=M.value),T}},9304:(r,l,e)=>{"use strict";var t=e(6893),i=e(9944),o=e(4416),n=e(9123),s=e(380),c=e(2344),a=e(4418),u=e(9622),d=Object.getOwnPropertyDescriptor;l.f=t?d:function(x,O){if(x=s(x),O=c(O),u)try{return d(x,O)}catch{}if(a(x,O))return n(!i(o.f,x,O),x[O])}},5629:(r,l,e)=>{"use strict";var t=e(1843),i=e(1274),o=i.concat("length","prototype");l.f=Object.getOwnPropertyNames||function(s){return t(s,o)}},156:(r,l)=>{"use strict";l.f=Object.getOwnPropertySymbols},4578:(r,l,e)=>{"use strict";var t=e(6881);r.exports=t({}.isPrototypeOf)},1843:(r,l,e)=>{"use strict";var t=e(6881),i=e(4418),o=e(380),n=e(1458).indexOf,s=e(7588),c=t([].push);r.exports=function(a,u){var d=o(a),p=0,x=[],O;for(O in d)!i(s,O)&&i(d,O)&&c(x,O);for(;u.length>p;)i(d,O=u[p++])&&(~n(x,O)||c(x,O));return x}},7137:(r,l,e)=>{"use strict";var t=e(1843),i=e(1274);r.exports=Object.keys||function(n){return t(n,i)}},4416:(r,l)=>{"use strict";var e={}.propertyIsEnumerable,t=Object.getOwnPropertyDescriptor,i=t&&!e.call({1:2},1);l.f=i?function(n){var s=t(this,n);return!!s&&s.enumerable}:e},2287:(r,l,e)=>{"use strict";var t=e(9944),i=e(4188),o=e(831),n=TypeError;r.exports=function(s,c){var a,u;if(c==="string"&&i(a=s.toString)&&!o(u=t(a,s))||i(a=s.valueOf)&&!o(u=t(a,s))||c!=="string"&&i(a=s.toString)&&!o(u=t(a,s)))return u;throw new n("Can't convert object to primitive value")}},3168:(r,l,e)=>{"use strict";var t=e(5604),i=e(6881),o=e(5629),n=e(156),s=e(3770),c=i([].concat);r.exports=t("Reflect","ownKeys")||function(u){var d=o.f(s(u)),p=n.f;return p?c(d,p(u)):d}},4721:(r,l,e)=>{"use strict";var t=e(9944),i=e(3770),o=e(4188),n=e(8689),s=e(9342),c=TypeError;r.exports=function(a,u){var d=a.exec;if(o(d)){var p=t(d,a,u);return p!==null&&i(p),p}if(n(a)==="RegExp")return t(s,a,u);throw new c("RegExp#exec called on incompatible receiver")}},9342:(r,l,e)=>{"use strict";var t=e(9944),i=e(6881),o=e(2618),n=e(4932),s=e(5976),c=e(746),a=e(7065),u=e(3086).get,d=e(6676),p=e(4609),x=c("native-string-replace",String.prototype.replace),O=RegExp.prototype.exec,T=O,L=i("".charAt),M=i("".indexOf),R=i("".replace),D=i("".slice),U=function(){var S=/a/,N=/b*/g;return t(O,S,"a"),t(O,N,"a"),S.lastIndex!==0||N.lastIndex!==0}(),f=s.BROKEN_CARET,g=/()??/.exec("")[1]!==void 0,b=U||g||f||d||p;b&&(T=function(N){var j=this,F=u(j),H=o(N),Y=F.raw,X,Z,k,$,Q,y,E;if(Y)return Y.lastIndex=j.lastIndex,X=t(T,Y,H),j.lastIndex=Y.lastIndex,X;var h=F.groups,w=f&&j.sticky,v=t(n,j),m=j.source,P=0,G=H;if(w&&(v=R(v,"y",""),M(v,"g")===-1&&(v+="g"),G=D(H,j.lastIndex),j.lastIndex>0&&(!j.multiline||j.multiline&&L(H,j.lastIndex-1)!==`
|
|
76
|
+
`}}customElements.get(_)===void 0&&customElements.define(_,q);const ne=[{name:"loader",defaultElement:document.createElement(J)},{name:"error",defaultElement:document.createElement(_)}],oe=["error","loading"],ae={error:"error",loading:"loader"},se=({src:K,elementNameSuffix:I})=>(0,t.sH)(void 0,void 0,void 0,function*(){var C,B,W,V,re,fe,le,ve,he,ue,ee,Se,Te,be,Oe;window.bwell||(window.bwell=new G);const ye=`bwell-${I}`;if(customElements.get(ye)!==void 0)return;class Ie extends i{constructor(){super(),C.add(this),B.set(this,x()),W.set(this,void 0),V.set(this,document.createElement("feature-app-loader")),re.set(this,new S.EventEmitter),fe.set(this,void 0),le.set(this,void 0),ve.set(this,void 0),he.set(this,void 0),ue.set(this,void 0),ee.set(this,void 0),this.attachShadow({mode:"open"});const te=new Q(ne).attachToShadowRoot(this.shadowRoot);te.addEventListener("visibilitychange",({visibility:pe,container:xe,name:Le})=>{Le==="error"&&pe==="visible"&&window.bwell._registerEmbeddableContent(xe),(0,t.gn)(this,V,"f").style.display=pe==="hidden"?"unset":"hidden"}),(0,t.GG)(this,ee,{slots:te,attributes:new b().bindTo(this),loaderEventEmitter:(0,t.gn)(this,re,"f")},"f"),(0,t.GG)(this,fe,(0,t.gn)(this,C,"m",Se).bind(this),"f"),(0,t.GG)(this,le,(0,t.gn)(this,C,"m",Te).bind(this),"f"),(0,t.GG)(this,ve,(0,t.gn)(this,C,"m",Oe).call(this,"error"),"f"),(0,t.GG)(this,he,(0,t.gn)(this,C,"m",Oe).call(this,"loading"),"f")}connectedCallback(){return(0,t.sH)(this,void 0,void 0,function*(){(0,t.gn)(this,ve,"f").call(this,(0,t.gn)(this,ee,"f").attributes.get("error")),(0,t.gn)(this,he,"f").call(this,(0,t.gn)(this,ee,"f").attributes.get("loading")),(0,t.gn)(this,ee,"f").slots.addEventListener("visibilitychange",(0,t.gn)(this,le,"f")),(0,t.gn)(this,ee,"f").attributes.addChangeListener("error",(0,t.gn)(this,ve,"f")),(0,t.gn)(this,ee,"f").attributes.addChangeListener("loading",(0,t.gn)(this,he,"f")),(0,t.gn)(this,ee,"f").slots.showSlot("loader");try{yield window.bwell.validateLoad()}catch{(0,t.gn)(this,ee,"f").slots.showSlot("error")}(0,t.GG)(this,B,this.id||(0,t.gn)(this,B,"f"),"f"),(0,t.GG)(this,W,new a((0,t.gn)(this,B,"f")),"f"),(0,t.gn)(this,W,"f").registerDispatcher(te=>this.dispatchEvent(te)),window.bwell.isInitialized?(0,t.gn)(this,fe,"f").call(this):(window.bwell.once("initialized",(0,t.gn)(this,fe,"f")),window.bwell.once("error",()=>{(0,t.gn)(this,ee,"f").slots.showSlot("error")}))})}disconnectedCallback(){var te;(0,t.gn)(this,re,"f").emit("disconnect"),(0,t.gn)(this,ee,"f").slots.removeEventListener("visibilitychange",(0,t.gn)(this,le,"f")),(0,t.gn)(this,ee,"f").attributes.removeChangeListener("error",(0,t.gn)(this,ve,"f")),(0,t.gn)(this,ee,"f").attributes.removeChangeListener("loading",(0,t.gn)(this,he,"f")),(te=(0,t.gn)(this,W,"f"))===null||te===void 0||te.deregister(),(0,t.gn)(this,re,"f").removeAllListeners()}}B=new WeakMap,W=new WeakMap,V=new WeakMap,re=new WeakMap,fe=new WeakMap,le=new WeakMap,ve=new WeakMap,he=new WeakMap,ue=new WeakMap,ee=new WeakMap,C=new WeakSet,Se=function(){(0,t.gn)(this,V,"f").setAttribute("featureAppId",`bwell-embeddable:${ye}`),(0,t.gn)(this,V,"f").setAttribute("src",K),(0,t.gn)(this,V,"f").config={id:(0,t.gn)(this,B,"f"),name:I,elementName:ye,utils:(0,t.gn)(this,ee,"f")},this.shadowRoot.appendChild((0,t.gn)(this,V,"f"))},Te=function({visibility:te,name:pe}){(0,t.gn)(this,V,"f").style.display=te==="hidden"?"unset":"hidden"},be=function(te){(0,t.gn)(this,ue,"f")(),(0,t.GG)(this,ue,void 0,"f")},Oe=function(te){return pe=>{const xe=oe.findIndex(ge=>ge===te);if(!oe.slice(0,xe).some(ge=>(0,t.gn)(this,ee,"f").attributes.get(ge)!==null)){if(pe!==null)(0,t.gn)(this,ue,"f")&&(0,t.gn)(this,C,"m",be).call(this,te),(0,t.GG)(this,ue,(0,t.gn)(this,ee,"f").slots.showSlotLocked(ae[te]),"f");else if(pe===null&&(0,t.gn)(this,ue,"f")){(0,t.gn)(this,C,"m",be).call(this,te);const ge=oe.find(Ce=>(0,t.gn)(this,ee,"f").attributes.get(Ce)!==null);ge&&(0,t.GG)(this,ue,(0,t.gn)(this,ee,"f").slots.showSlotLocked(ae[ge]),"f")}}}},customElements.define(ye,Ie)}),ie="composite",ce={rE:"1.368.1"};var de=e(7321);se({src:`https://embeddables.prod.icanbwell.com/${ie}/${ce.rE}/scripts/embeddable.federated.js`,elementNameSuffix:ie})},992:(r,l,e)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.Broadcaster=void 0;var t=e(46),i=function(){function o(n,s){if(s===void 0&&(s=0),this.emitter=new t.EventEmitter,typeof n>"u"||n.length===0)throw new Error("Broadcaster must have a name");this._name=n,this.emitter.setMaxListeners(s)}return Object.defineProperty(o.prototype,"name",{get:function(){return this._name},enumerable:!1,configurable:!0}),o.prototype.emit=function(n){this.emitter.emit(this._name,n)},o.prototype.addListener=function(n){return this._addListener("addListener",n)},o.prototype.on=function(n){return this.addListener(n)},o.prototype.prependListener=function(n){return this._addListener("prependListener",n)},o.prototype.once=function(n){return this._addListener("once",n)},o.prototype.prependOnceListener=function(n){return this._addListener("prependOnceListener",n)},o.prototype.removeListener=function(n){this._proxyListener("removeListener",n)},o.prototype.off=function(n){this.removeListener(n)},o.prototype.removeAllListeners=function(){this.emitter.removeAllListeners(this._name)},o.prototype.getMaxListeners=function(){return this.emitter.getMaxListeners()},o.prototype.setMaxListeners=function(n){this.emitter.setMaxListeners(n)},o.prototype.getEventEmitter=function(){return this.emitter},o.prototype.listeners=function(){return this.emitter.listeners(this._name)},o.prototype.rawListeners=function(){return this.emitter.rawListeners(this._name)},o.prototype.listenerCount=function(){return this.emitter.listenerCount(this._name)},o.prototype._proxyListener=function(n,s){this.emitter[n](this._name,s)},o.prototype._createUnsubscribe=function(n){var s=this;return function(){s.emitter.removeListener(s._name,n)}},o.prototype._addListener=function(n,s){return this._proxyListener(n,s),this._createUnsubscribe(s)},o.prototype.destroy=function(){this.emitter.removeAllListeners()},o}();l.Broadcaster=i},9987:function(r,l,e){"use strict";var t=this&&this.__extends||function(){var s=function(c,a){return s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,d){u.__proto__=d}||function(u,d){for(var p in d)Object.prototype.hasOwnProperty.call(d,p)&&(u[p]=d[p])},s(c,a)};return function(c,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");s(c,a);function u(){this.constructor=c}c.prototype=a===null?Object.create(a):(u.prototype=a.prototype,new u)}}();Object.defineProperty(l,"__esModule",{value:!0}),l.Channel=void 0;var i=e(992),o=e(1987),n=function(s){t(c,s);function c(a,u){u===void 0&&(u=0);var d=s.call(this,a,u)||this;return d.topics={},d._onTopicDestroyed=d._onTopicDestroyed.bind(d),d._onTopicEmit=d._onTopicEmit.bind(d),d}return c.prototype.emit=function(a){var u={channel:this.name,topic:"*",payload:a};s.prototype.emit.call(this,u)},c.prototype.topic=function(a){var u=this.topics[a];return typeof u>"u"&&(u=this.topics[a]=new o.Topic(a,this.name,this.getMaxListeners()),u.getEventEmitter().on("topic_destroyed",this._onTopicDestroyed),u.on(this._onTopicEmit)),u},c.prototype.hasTopic=function(a){return Boolean(this.topics[a])},c.prototype.removeTopic=function(a){var u=this.topics[a];return typeof u<"u"?(delete this.topics[a],u.destroy(),!0):!1},c.prototype.getAllTopics=function(){return Object.values(this.topics)},c.prototype._onTopicEmit=function(a){s.prototype.emit.call(this,a)},c.prototype._onTopicDestroyed=function(a){delete this.topics[a]},c.prototype.destroy=function(){for(var a in this.topics)this.removeTopic(a);this.emitter.emit("channel_destroyed",this.name),s.prototype.destroy.call(this)},c}(i.Broadcaster);l.Channel=n},5447:(r,l,e)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.EventBus=void 0;var t=e(9987),i=function(){function o(n){this.channels={},n=typeof n>"u"?{}:n,this._maxListeners=n.maxListeners===void 0?0:n.maxListeners,this.onChannelDestroyed=this.onChannelDestroyed.bind(this),this.createMainChannel(),this.onChannelEmit=this.onChannelEmit.bind(this)}return o.prototype.createMainChannel=function(){var n=this;this.defaultChannel=new t.Channel("*",this._maxListeners),this.channels["*"]=this.defaultChannel,this.defaultChannel.getEventEmitter().on("channel_destroyed",function(){n.createMainChannel()})},o.prototype.mainChannel=function(){return this.defaultChannel},o.prototype.allChannels=function(){return this.mainChannel()},o.prototype.channel=function(n){var s=this.channels[n];return typeof s>"u"&&(s=this.channels[n]=new t.Channel(n,this._maxListeners),s.on(this.onChannelEmit),s.getEventEmitter().on("channel_destroyed",this.onChannelDestroyed)),s},o.prototype.hasChannel=function(n){return Boolean(this.channels[n])},o.prototype.removeChannel=function(n){if(n==="*")throw new Error("Can't remove default channel");var s=this.channels[n];return typeof s<"u"?(s.destroy(),!0):!1},o.prototype.onChannelEmit=function(n){var s=n.topic;if(this.defaultChannel.hasTopic(s)){var c={topic:n.topic,channel:n.channel,payload:n.payload};this.defaultChannel.topic(s).getEventEmitter().emit(s,c)}this.defaultChannel.getEventEmitter().emit(this.defaultChannel.name,n)},o.prototype.onChannelDestroyed=function(n){delete this.channels[n]},o.prototype.getAllChannels=function(){return Object.values(this.channels)},o.prototype.destroy=function(){for(var n in this.channels)this.channels[n].destroy()},o}();l.EventBus=i},4032:function(r,l,e){"use strict";var t=this&&this.__createBinding||(Object.create?function(o,n,s,c){c===void 0&&(c=s),Object.defineProperty(o,c,{enumerable:!0,get:function(){return n[s]}})}:function(o,n,s,c){c===void 0&&(c=s),o[c]=n[s]}),i=this&&this.__exportStar||function(o,n){for(var s in o)s!=="default"&&!Object.prototype.hasOwnProperty.call(n,s)&&t(n,o,s)};Object.defineProperty(l,"__esModule",{value:!0}),i(e(992),l),i(e(5447),l),i(e(9987),l),i(e(1987),l)},1987:function(r,l,e){"use strict";var t=this&&this.__extends||function(){var n=function(s,c){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,u){a.__proto__=u}||function(a,u){for(var d in u)Object.prototype.hasOwnProperty.call(u,d)&&(a[d]=u[d])},n(s,c)};return function(s,c){if(typeof c!="function"&&c!==null)throw new TypeError("Class extends value "+String(c)+" is not a constructor or null");n(s,c);function a(){this.constructor=s}s.prototype=c===null?Object.create(c):(a.prototype=c.prototype,new a)}}();Object.defineProperty(l,"__esModule",{value:!0}),l.Topic=void 0;var i=e(992),o=function(n){t(s,n);function s(c,a,u){u===void 0&&(u=0);var d=n.call(this,c,u)||this;return d.channel=a,d}return s.prototype.emit=function(c){var a={channel:this.channel,topic:this.name,payload:c};n.prototype.emit.call(this,a)},s.prototype.destroy=function(){this.emitter.emit("topic_destroyed",this.name),n.prototype.destroy.call(this)},s}(i.Broadcaster);l.Topic=o},46:r=>{"use strict";var l=typeof Reflect=="object"?Reflect:null,e=l&&typeof l.apply=="function"?l.apply:function(g,b,S){return Function.prototype.apply.call(g,b,S)},t;l&&typeof l.ownKeys=="function"?t=l.ownKeys:Object.getOwnPropertySymbols?t=function(g){return Object.getOwnPropertyNames(g).concat(Object.getOwnPropertySymbols(g))}:t=function(g){return Object.getOwnPropertyNames(g)};function i(f){console&&console.warn&&console.warn(f)}var o=Number.isNaN||function(g){return g!==g};function n(){n.init.call(this)}r.exports=n,r.exports.once=R,n.EventEmitter=n,n.prototype._events=void 0,n.prototype._eventsCount=0,n.prototype._maxListeners=void 0;var s=10;function c(f){if(typeof f!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof f)}Object.defineProperty(n,"defaultMaxListeners",{enumerable:!0,get:function(){return s},set:function(f){if(typeof f!="number"||f<0||o(f))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+f+".");s=f}}),n.init=function(){(this._events===void 0||this._events===Object.getPrototypeOf(this)._events)&&(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},n.prototype.setMaxListeners=function(g){if(typeof g!="number"||g<0||o(g))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+g+".");return this._maxListeners=g,this};function a(f){return f._maxListeners===void 0?n.defaultMaxListeners:f._maxListeners}n.prototype.getMaxListeners=function(){return a(this)},n.prototype.emit=function(g){for(var b=[],S=1;S<arguments.length;S++)b.push(arguments[S]);var N=g==="error",j=this._events;if(j!==void 0)N=N&&j.error===void 0;else if(!N)return!1;if(N){var F;if(b.length>0&&(F=b[0]),F instanceof Error)throw F;var H=new Error("Unhandled error."+(F?" ("+F.message+")":""));throw H.context=F,H}var Y=j[g];if(Y===void 0)return!1;if(typeof Y=="function")e(Y,this,b);else for(var X=Y.length,Z=T(Y,X),S=0;S<X;++S)e(Z[S],this,b);return!0};function u(f,g,b,S){var N,j,F;if(c(b),j=f._events,j===void 0?(j=f._events=Object.create(null),f._eventsCount=0):(j.newListener!==void 0&&(f.emit("newListener",g,b.listener?b.listener:b),j=f._events),F=j[g]),F===void 0)F=j[g]=b,++f._eventsCount;else if(typeof F=="function"?F=j[g]=S?[b,F]:[F,b]:S?F.unshift(b):F.push(b),N=a(f),N>0&&F.length>N&&!F.warned){F.warned=!0;var H=new Error("Possible EventEmitter memory leak detected. "+F.length+" "+String(g)+" listeners added. Use emitter.setMaxListeners() to increase limit");H.name="MaxListenersExceededWarning",H.emitter=f,H.type=g,H.count=F.length,i(H)}return f}n.prototype.addListener=function(g,b){return u(this,g,b,!1)},n.prototype.on=n.prototype.addListener,n.prototype.prependListener=function(g,b){return u(this,g,b,!0)};function d(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function p(f,g,b){var S={fired:!1,wrapFn:void 0,target:f,type:g,listener:b},N=d.bind(S);return N.listener=b,S.wrapFn=N,N}n.prototype.once=function(g,b){return c(b),this.on(g,p(this,g,b)),this},n.prototype.prependOnceListener=function(g,b){return c(b),this.prependListener(g,p(this,g,b)),this},n.prototype.removeListener=function(g,b){var S,N,j,F,H;if(c(b),N=this._events,N===void 0)return this;if(S=N[g],S===void 0)return this;if(S===b||S.listener===b)--this._eventsCount===0?this._events=Object.create(null):(delete N[g],N.removeListener&&this.emit("removeListener",g,S.listener||b));else if(typeof S!="function"){for(j=-1,F=S.length-1;F>=0;F--)if(S[F]===b||S[F].listener===b){H=S[F].listener,j=F;break}if(j<0)return this;j===0?S.shift():L(S,j),S.length===1&&(N[g]=S[0]),N.removeListener!==void 0&&this.emit("removeListener",g,H||b)}return this},n.prototype.off=n.prototype.removeListener,n.prototype.removeAllListeners=function(g){var b,S,N;if(S=this._events,S===void 0)return this;if(S.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):S[g]!==void 0&&(--this._eventsCount===0?this._events=Object.create(null):delete S[g]),this;if(arguments.length===0){var j=Object.keys(S),F;for(N=0;N<j.length;++N)F=j[N],F!=="removeListener"&&this.removeAllListeners(F);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if(b=S[g],typeof b=="function")this.removeListener(g,b);else if(b!==void 0)for(N=b.length-1;N>=0;N--)this.removeListener(g,b[N]);return this};function x(f,g,b){var S=f._events;if(S===void 0)return[];var N=S[g];return N===void 0?[]:typeof N=="function"?b?[N.listener||N]:[N]:b?M(N):T(N,N.length)}n.prototype.listeners=function(g){return x(this,g,!0)},n.prototype.rawListeners=function(g){return x(this,g,!1)},n.listenerCount=function(f,g){return typeof f.listenerCount=="function"?f.listenerCount(g):O.call(f,g)},n.prototype.listenerCount=O;function O(f){var g=this._events;if(g!==void 0){var b=g[f];if(typeof b=="function")return 1;if(b!==void 0)return b.length}return 0}n.prototype.eventNames=function(){return this._eventsCount>0?t(this._events):[]};function T(f,g){for(var b=new Array(g),S=0;S<g;++S)b[S]=f[S];return b}function L(f,g){for(;g+1<f.length;g++)f[g]=f[g+1];f.pop()}function M(f){for(var g=new Array(f.length),b=0;b<g.length;++b)g[b]=f[b].listener||f[b];return g}function R(f,g){return new Promise(function(b,S){function N(F){f.removeListener(g,j),S(F)}function j(){typeof f.removeListener=="function"&&f.removeListener("error",N),b([].slice.call(arguments))}U(f,g,j,{once:!0}),g!=="error"&&D(f,N,{once:!0})})}function D(f,g,b){typeof f.on=="function"&&U(f,"error",g,b)}function U(f,g,b,S){if(typeof f.on=="function")S.once?f.once(g,b):f.on(g,b);else if(typeof f.addEventListener=="function")f.addEventListener(g,function N(j){S.once&&f.removeEventListener(g,N),b(j)});else throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof f)}},7321:(r,l,e)=>{"use strict";var t=e(3030);r.exports=t},9283:(r,l,e)=>{"use strict";e(8376),e(4293),e(8715);var t=e(2564);r.exports=t("String","replaceAll")},4977:(r,l,e)=>{"use strict";var t=e(4188),i=e(3174),o=TypeError;r.exports=function(n){if(t(n))return n;throw new o(i(n)+" is not a function")}},154:(r,l,e)=>{"use strict";var t=e(4212).charAt;r.exports=function(i,o,n){return o+(n?t(i,o).length:1)}},3770:(r,l,e)=>{"use strict";var t=e(831),i=String,o=TypeError;r.exports=function(n){if(t(n))return n;throw new o(i(n)+" is not an object")}},1458:(r,l,e)=>{"use strict";var t=e(380),i=e(675),o=e(9389),n=function(s){return function(c,a,u){var d=t(c),p=o(d);if(p===0)return!s&&-1;var x=i(u,p),O;if(s&&a!==a){for(;p>x;)if(O=d[x++],O!==O)return!0}else for(;p>x;x++)if((s||x in d)&&d[x]===a)return s||x||0;return!s&&-1}};r.exports={includes:n(!0),indexOf:n(!1)}},8689:(r,l,e)=>{"use strict";var t=e(6881),i=t({}.toString),o=t("".slice);r.exports=function(n){return o(i(n),8,-1)}},5438:(r,l,e)=>{"use strict";var t=e(9345),i=e(4188),o=e(8689),n=e(4282),s=n("toStringTag"),c=Object,a=o(function(){return arguments}())==="Arguments",u=function(d,p){try{return d[p]}catch{}};r.exports=t?o:function(d){var p,x,O;return d===void 0?"Undefined":d===null?"Null":typeof(x=u(p=c(d),s))=="string"?x:a?o(p):(O=o(p))==="Object"&&i(p.callee)?"Arguments":O}},8657:(r,l,e)=>{"use strict";var t=e(4418),i=e(3168),o=e(9304),n=e(4466);r.exports=function(s,c,a){for(var u=i(c),d=n.f,p=o.f,x=0;x<u.length;x++){var O=u[x];!t(s,O)&&!(a&&t(a,O))&&d(s,O,p(c,O))}}},8088:(r,l,e)=>{"use strict";var t=e(6893),i=e(4466),o=e(9123);r.exports=t?function(n,s,c){return i.f(n,s,o(1,c))}:function(n,s,c){return n[s]=c,n}},9123:r=>{"use strict";r.exports=function(l,e){return{enumerable:!(l&1),configurable:!(l&2),writable:!(l&4),value:e}}},7509:(r,l,e)=>{"use strict";var t=e(4188),i=e(4466),o=e(4530),n=e(4798);r.exports=function(s,c,a,u){u||(u={});var d=u.enumerable,p=u.name!==void 0?u.name:c;if(t(a)&&o(a,p,u),u.global)d?s[c]=a:n(c,a);else{try{u.unsafe?s[c]&&(d=!0):delete s[c]}catch{}d?s[c]=a:i.f(s,c,{value:a,enumerable:!1,configurable:!u.nonConfigurable,writable:!u.nonWritable})}return s}},4798:(r,l,e)=>{"use strict";var t=e(1488),i=Object.defineProperty;r.exports=function(o,n){try{i(t,o,{value:n,configurable:!0,writable:!0})}catch{t[o]=n}return n}},6893:(r,l,e)=>{"use strict";var t=e(5234);r.exports=!t(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!==7})},5926:(r,l,e)=>{"use strict";var t=e(1488),i=e(831),o=t.document,n=i(o)&&i(o.createElement);r.exports=function(s){return n?o.createElement(s):{}}},4109:r=>{"use strict";r.exports=typeof navigator<"u"&&String(navigator.userAgent)||""},3749:(r,l,e)=>{"use strict";var t=e(1488),i=e(4109),o=t.process,n=t.Deno,s=o&&o.versions||n&&n.version,c=s&&s.v8,a,u;c&&(a=c.split("."),u=a[0]>0&&a[0]<4?1:+(a[0]+a[1])),!u&&i&&(a=i.match(/Edge\/(\d+)/),(!a||a[1]>=74)&&(a=i.match(/Chrome\/(\d+)/),a&&(u=+a[1]))),r.exports=u},2564:(r,l,e)=>{"use strict";var t=e(1488),i=e(6881);r.exports=function(o,n){return i(t[o].prototype[n])}},1274:r=>{"use strict";r.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},5613:(r,l,e)=>{"use strict";var t=e(1488),i=e(9304).f,o=e(8088),n=e(7509),s=e(4798),c=e(8657),a=e(8489);r.exports=function(u,d){var p=u.target,x=u.global,O=u.stat,T,L,M,R,D,U;if(x?L=t:O?L=t[p]||s(p,{}):L=t[p]&&t[p].prototype,L)for(M in d){if(D=d[M],u.dontCallGetSet?(U=i(L,M),R=U&&U.value):R=L[M],T=a(x?M:p+(O?".":"#")+M,u.forced),!T&&R!==void 0){if(typeof D==typeof R)continue;c(D,R)}(u.sham||R&&R.sham)&&o(D,"sham",!0),n(L,M,D,u)}}},5234:r=>{"use strict";r.exports=function(l){try{return!!l()}catch{return!0}}},467:(r,l,e)=>{"use strict";e(8376);var t=e(9944),i=e(7509),o=e(9342),n=e(5234),s=e(4282),c=e(8088),a=s("species"),u=RegExp.prototype;r.exports=function(d,p,x,O){var T=s(d),L=!n(function(){var U={};return U[T]=function(){return 7},""[d](U)!==7}),M=L&&!n(function(){var U=!1,f=/a/;return d==="split"&&(f={},f.constructor={},f.constructor[a]=function(){return f},f.flags="",f[T]=/./[T]),f.exec=function(){return U=!0,null},f[T](""),!U});if(!L||!M||x){var R=/./[T],D=p(T,""[d],function(U,f,g,b,S){var N=f.exec;return N===o||N===u.exec?L&&!S?{done:!0,value:t(R,f,g,b)}:{done:!0,value:t(U,g,f,b)}:{done:!1}});i(String.prototype,d,D[0]),i(u,T,D[1])}O&&c(u[T],"sham",!0)}},646:(r,l,e)=>{"use strict";var t=e(9055),i=Function.prototype,o=i.apply,n=i.call;r.exports=typeof Reflect=="object"&&Reflect.apply||(t?n.bind(o):function(){return n.apply(o,arguments)})},9055:(r,l,e)=>{"use strict";var t=e(5234);r.exports=!t(function(){var i=function(){}.bind();return typeof i!="function"||i.hasOwnProperty("prototype")})},9944:(r,l,e)=>{"use strict";var t=e(9055),i=Function.prototype.call;r.exports=t?i.bind(i):function(){return i.apply(i,arguments)}},2735:(r,l,e)=>{"use strict";var t=e(6893),i=e(4418),o=Function.prototype,n=t&&Object.getOwnPropertyDescriptor,s=i(o,"name"),c=s&&function(){}.name==="something",a=s&&(!t||t&&n(o,"name").configurable);r.exports={EXISTS:s,PROPER:c,CONFIGURABLE:a}},6881:(r,l,e)=>{"use strict";var t=e(9055),i=Function.prototype,o=i.call,n=t&&i.bind.bind(o,o);r.exports=t?n:function(s){return function(){return o.apply(s,arguments)}}},5604:(r,l,e)=>{"use strict";var t=e(1488),i=e(4188),o=function(n){return i(n)?n:void 0};r.exports=function(n,s){return arguments.length<2?o(t[n]):t[n]&&t[n][s]}},2913:(r,l,e)=>{"use strict";var t=e(4977),i=e(4318);r.exports=function(o,n){var s=o[n];return i(s)?void 0:t(s)}},1113:(r,l,e)=>{"use strict";var t=e(6881),i=e(3628),o=Math.floor,n=t("".charAt),s=t("".replace),c=t("".slice),a=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,u=/\$([$&'`]|\d{1,2})/g;r.exports=function(d,p,x,O,T,L){var M=x+d.length,R=O.length,D=u;return T!==void 0&&(T=i(T),D=a),s(L,D,function(U,f){var g;switch(n(f,0)){case"$":return"$";case"&":return d;case"`":return c(p,0,x);case"'":return c(p,M);case"<":g=T[c(f,1,-1)];break;default:var b=+f;if(b===0)return U;if(b>R){var S=o(b/10);return S===0?U:S<=R?O[S-1]===void 0?n(f,1):O[S-1]+n(f,1):U}g=O[b-1]}return g===void 0?"":g})}},1488:function(r,l,e){"use strict";var t=function(i){return i&&i.Math===Math&&i};r.exports=t(typeof globalThis=="object"&&globalThis)||t(typeof window=="object"&&window)||t(typeof self=="object"&&self)||t(typeof e.g=="object"&&e.g)||t(typeof this=="object"&&this)||function(){return this}()||Function("return this")()},4418:(r,l,e)=>{"use strict";var t=e(6881),i=e(3628),o=t({}.hasOwnProperty);r.exports=Object.hasOwn||function(s,c){return o(i(s),c)}},7588:r=>{"use strict";r.exports={}},7458:(r,l,e)=>{"use strict";var t=e(5604);r.exports=t("document","documentElement")},9622:(r,l,e)=>{"use strict";var t=e(6893),i=e(5234),o=e(5926);r.exports=!t&&!i(function(){return Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a!==7})},7568:(r,l,e)=>{"use strict";var t=e(6881),i=e(5234),o=e(8689),n=Object,s=t("".split);r.exports=i(function(){return!n("z").propertyIsEnumerable(0)})?function(c){return o(c)==="String"?s(c,""):n(c)}:n},3029:(r,l,e)=>{"use strict";var t=e(6881),i=e(4188),o=e(2694),n=t(Function.toString);i(o.inspectSource)||(o.inspectSource=function(s){return n(s)}),r.exports=o.inspectSource},3086:(r,l,e)=>{"use strict";var t=e(5945),i=e(1488),o=e(831),n=e(8088),s=e(4418),c=e(2694),a=e(168),u=e(7588),d="Object already initialized",p=i.TypeError,x=i.WeakMap,O,T,L,M=function(f){return L(f)?T(f):O(f,{})},R=function(f){return function(g){var b;if(!o(g)||(b=T(g)).type!==f)throw new p("Incompatible receiver, "+f+" required");return b}};if(t||c.state){var D=c.state||(c.state=new x);D.get=D.get,D.has=D.has,D.set=D.set,O=function(f,g){if(D.has(f))throw new p(d);return g.facade=f,D.set(f,g),g},T=function(f){return D.get(f)||{}},L=function(f){return D.has(f)}}else{var U=a("state");u[U]=!0,O=function(f,g){if(s(f,U))throw new p(d);return g.facade=f,n(f,U,g),g},T=function(f){return s(f,U)?f[U]:{}},L=function(f){return s(f,U)}}r.exports={set:O,get:T,has:L,enforce:M,getterFor:R}},4188:r=>{"use strict";var l=typeof document=="object"&&document.all;r.exports=typeof l>"u"&&l!==void 0?function(e){return typeof e=="function"||e===l}:function(e){return typeof e=="function"}},8489:(r,l,e)=>{"use strict";var t=e(5234),i=e(4188),o=/#|\.prototype\./,n=function(d,p){var x=c[s(d)];return x===u?!0:x===a?!1:i(p)?t(p):!!p},s=n.normalize=function(d){return String(d).replace(o,".").toLowerCase()},c=n.data={},a=n.NATIVE="N",u=n.POLYFILL="P";r.exports=n},4318:r=>{"use strict";r.exports=function(l){return l==null}},831:(r,l,e)=>{"use strict";var t=e(4188);r.exports=function(i){return typeof i=="object"?i!==null:t(i)}},1942:r=>{"use strict";r.exports=!1},473:(r,l,e)=>{"use strict";var t=e(831),i=e(8689),o=e(4282),n=o("match");r.exports=function(s){var c;return t(s)&&((c=s[n])!==void 0?!!c:i(s)==="RegExp")}},6032:(r,l,e)=>{"use strict";var t=e(5604),i=e(4188),o=e(4578),n=e(9809),s=Object;r.exports=n?function(c){return typeof c=="symbol"}:function(c){var a=t("Symbol");return i(a)&&o(a.prototype,s(c))}},9389:(r,l,e)=>{"use strict";var t=e(7611);r.exports=function(i){return t(i.length)}},4530:(r,l,e)=>{"use strict";var t=e(6881),i=e(5234),o=e(4188),n=e(4418),s=e(6893),c=e(2735).CONFIGURABLE,a=e(3029),u=e(3086),d=u.enforce,p=u.get,x=String,O=Object.defineProperty,T=t("".slice),L=t("".replace),M=t([].join),R=s&&!i(function(){return O(function(){},"length",{value:8}).length!==8}),D=String(String).split("String"),U=r.exports=function(f,g,b){T(x(g),0,7)==="Symbol("&&(g="["+L(x(g),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),b&&b.getter&&(g="get "+g),b&&b.setter&&(g="set "+g),(!n(f,"name")||c&&f.name!==g)&&(s?O(f,"name",{value:g,configurable:!0}):f.name=g),R&&b&&n(b,"arity")&&f.length!==b.arity&&O(f,"length",{value:b.arity});try{b&&n(b,"constructor")&&b.constructor?s&&O(f,"prototype",{writable:!1}):f.prototype&&(f.prototype=void 0)}catch{}var S=d(f);return n(S,"source")||(S.source=M(D,typeof g=="string"?g:"")),f};Function.prototype.toString=U(function(){return o(this)&&p(this).source||a(this)},"toString")},142:r=>{"use strict";var l=Math.ceil,e=Math.floor;r.exports=Math.trunc||function(i){var o=+i;return(o>0?e:l)(o)}},7065:(r,l,e)=>{"use strict";var t=e(3770),i=e(30),o=e(1274),n=e(7588),s=e(7458),c=e(5926),a=e(168),u=">",d="<",p="prototype",x="script",O=a("IE_PROTO"),T=function(){},L=function(f){return d+x+u+f+d+"/"+x+u},M=function(f){f.write(L("")),f.close();var g=f.parentWindow.Object;return f=null,g},R=function(){var f=c("iframe"),g="java"+x+":",b;return f.style.display="none",s.appendChild(f),f.src=String(g),b=f.contentWindow.document,b.open(),b.write(L("document.F=Object")),b.close(),b.F},D,U=function(){try{D=new ActiveXObject("htmlfile")}catch{}U=typeof document<"u"?document.domain&&D?M(D):R():M(D);for(var f=o.length;f--;)delete U[p][o[f]];return U()};n[O]=!0,r.exports=Object.create||function(g,b){var S;return g!==null?(T[p]=t(g),S=new T,T[p]=null,S[O]=g):S=U(),b===void 0?S:i.f(S,b)}},30:(r,l,e)=>{"use strict";var t=e(6893),i=e(3315),o=e(4466),n=e(3770),s=e(380),c=e(7137);l.f=t&&!i?Object.defineProperties:function(u,d){n(u);for(var p=s(d),x=c(d),O=x.length,T=0,L;O>T;)o.f(u,L=x[T++],p[L]);return u}},4466:(r,l,e)=>{"use strict";var t=e(6893),i=e(9622),o=e(3315),n=e(3770),s=e(2344),c=TypeError,a=Object.defineProperty,u=Object.getOwnPropertyDescriptor,d="enumerable",p="configurable",x="writable";l.f=t?o?function(T,L,M){if(n(T),L=s(L),n(M),typeof T=="function"&&L==="prototype"&&"value"in M&&x in M&&!M[x]){var R=u(T,L);R&&R[x]&&(T[L]=M.value,M={configurable:p in M?M[p]:R[p],enumerable:d in M?M[d]:R[d],writable:!1})}return a(T,L,M)}:a:function(T,L,M){if(n(T),L=s(L),n(M),i)try{return a(T,L,M)}catch{}if("get"in M||"set"in M)throw new c("Accessors not supported");return"value"in M&&(T[L]=M.value),T}},9304:(r,l,e)=>{"use strict";var t=e(6893),i=e(9944),o=e(4416),n=e(9123),s=e(380),c=e(2344),a=e(4418),u=e(9622),d=Object.getOwnPropertyDescriptor;l.f=t?d:function(x,O){if(x=s(x),O=c(O),u)try{return d(x,O)}catch{}if(a(x,O))return n(!i(o.f,x,O),x[O])}},5629:(r,l,e)=>{"use strict";var t=e(1843),i=e(1274),o=i.concat("length","prototype");l.f=Object.getOwnPropertyNames||function(s){return t(s,o)}},156:(r,l)=>{"use strict";l.f=Object.getOwnPropertySymbols},4578:(r,l,e)=>{"use strict";var t=e(6881);r.exports=t({}.isPrototypeOf)},1843:(r,l,e)=>{"use strict";var t=e(6881),i=e(4418),o=e(380),n=e(1458).indexOf,s=e(7588),c=t([].push);r.exports=function(a,u){var d=o(a),p=0,x=[],O;for(O in d)!i(s,O)&&i(d,O)&&c(x,O);for(;u.length>p;)i(d,O=u[p++])&&(~n(x,O)||c(x,O));return x}},7137:(r,l,e)=>{"use strict";var t=e(1843),i=e(1274);r.exports=Object.keys||function(n){return t(n,i)}},4416:(r,l)=>{"use strict";var e={}.propertyIsEnumerable,t=Object.getOwnPropertyDescriptor,i=t&&!e.call({1:2},1);l.f=i?function(n){var s=t(this,n);return!!s&&s.enumerable}:e},2287:(r,l,e)=>{"use strict";var t=e(9944),i=e(4188),o=e(831),n=TypeError;r.exports=function(s,c){var a,u;if(c==="string"&&i(a=s.toString)&&!o(u=t(a,s))||i(a=s.valueOf)&&!o(u=t(a,s))||c!=="string"&&i(a=s.toString)&&!o(u=t(a,s)))return u;throw new n("Can't convert object to primitive value")}},3168:(r,l,e)=>{"use strict";var t=e(5604),i=e(6881),o=e(5629),n=e(156),s=e(3770),c=i([].concat);r.exports=t("Reflect","ownKeys")||function(u){var d=o.f(s(u)),p=n.f;return p?c(d,p(u)):d}},4721:(r,l,e)=>{"use strict";var t=e(9944),i=e(3770),o=e(4188),n=e(8689),s=e(9342),c=TypeError;r.exports=function(a,u){var d=a.exec;if(o(d)){var p=t(d,a,u);return p!==null&&i(p),p}if(n(a)==="RegExp")return t(s,a,u);throw new c("RegExp#exec called on incompatible receiver")}},9342:(r,l,e)=>{"use strict";var t=e(9944),i=e(6881),o=e(2618),n=e(4932),s=e(5976),c=e(746),a=e(7065),u=e(3086).get,d=e(6676),p=e(4609),x=c("native-string-replace",String.prototype.replace),O=RegExp.prototype.exec,T=O,L=i("".charAt),M=i("".indexOf),R=i("".replace),D=i("".slice),U=function(){var S=/a/,N=/b*/g;return t(O,S,"a"),t(O,N,"a"),S.lastIndex!==0||N.lastIndex!==0}(),f=s.BROKEN_CARET,g=/()??/.exec("")[1]!==void 0,b=U||g||f||d||p;b&&(T=function(N){var j=this,F=u(j),H=o(N),Y=F.raw,X,Z,k,$,Q,y,E;if(Y)return Y.lastIndex=j.lastIndex,X=t(T,Y,H),j.lastIndex=Y.lastIndex,X;var h=F.groups,w=f&&j.sticky,v=t(n,j),m=j.source,P=0,G=H;if(w&&(v=R(v,"y",""),M(v,"g")===-1&&(v+="g"),G=D(H,j.lastIndex),j.lastIndex>0&&(!j.multiline||j.multiline&&L(H,j.lastIndex-1)!==`
|
|
77
77
|
`)&&(m="(?: "+m+")",G=" "+G,P++),Z=new RegExp("^(?:"+m+")",v)),g&&(Z=new RegExp("^"+m+"$(?!\\s)",v)),U&&(k=j.lastIndex),$=t(O,w?Z:j,G),w?$?($.input=D($.input,P),$[0]=D($[0],P),$.index=j.lastIndex,j.lastIndex+=$[0].length):j.lastIndex=0:U&&$&&(j.lastIndex=j.global?$.index+$[0].length:k),g&&$&&$.length>1&&t(x,$[0],Z,function(){for(Q=1;Q<arguments.length-2;Q++)arguments[Q]===void 0&&($[Q]=void 0)}),$&&h)for($.groups=y=a(null),Q=0;Q<h.length;Q++)E=h[Q],y[E[0]]=$[E[1]];return $}),r.exports=T},4932:(r,l,e)=>{"use strict";var t=e(3770);r.exports=function(){var i=t(this),o="";return i.hasIndices&&(o+="d"),i.global&&(o+="g"),i.ignoreCase&&(o+="i"),i.multiline&&(o+="m"),i.dotAll&&(o+="s"),i.unicode&&(o+="u"),i.unicodeSets&&(o+="v"),i.sticky&&(o+="y"),o}},3113:(r,l,e)=>{"use strict";var t=e(9944),i=e(4418),o=e(4578),n=e(4932),s=RegExp.prototype;r.exports=function(c){var a=c.flags;return a===void 0&&!("flags"in s)&&!i(c,"flags")&&o(s,c)?t(n,c):a}},5976:(r,l,e)=>{"use strict";var t=e(5234),i=e(1488),o=i.RegExp,n=t(function(){var a=o("a","y");return a.lastIndex=2,a.exec("abcd")!==null}),s=n||t(function(){return!o("a","y").sticky}),c=n||t(function(){var a=o("^r","gy");return a.lastIndex=2,a.exec("str")!==null});r.exports={BROKEN_CARET:c,MISSED_STICKY:s,UNSUPPORTED_Y:n}},6676:(r,l,e)=>{"use strict";var t=e(5234),i=e(1488),o=i.RegExp;r.exports=t(function(){var n=o(".","s");return!(n.dotAll&&n.test(`
|
|
78
|
-
`)&&n.flags==="s")})},4609:(r,l,e)=>{"use strict";var t=e(5234),i=e(1488),o=i.RegExp;r.exports=t(function(){var n=o("(?<a>b)","g");return n.exec("b").groups.a!=="b"||"b".replace(n,"$<a>c")!=="bc"})},9509:(r,l,e)=>{"use strict";var t=e(4318),i=TypeError;r.exports=function(o){if(t(o))throw new i("Can't call method on "+o);return o}},168:(r,l,e)=>{"use strict";var t=e(746),i=e(6209),o=t("keys");r.exports=function(n){return o[n]||(o[n]=i(n))}},2694:(r,l,e)=>{"use strict";var t=e(1942),i=e(1488),o=e(4798),n="__core-js_shared__",s=r.exports=i[n]||o(n,{});(s.versions||(s.versions=[])).push({version:"3.37.1",mode:t?"pure":"global",copyright:"\xA9 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.37.1/LICENSE",source:"https://github.com/zloirock/core-js"})},746:(r,l,e)=>{"use strict";var t=e(2694);r.exports=function(i,o){return t[i]||(t[i]=o||{})}},4212:(r,l,e)=>{"use strict";var t=e(6881),i=e(6744),o=e(2618),n=e(9509),s=t("".charAt),c=t("".charCodeAt),a=t("".slice),u=function(d){return function(p,x){var O=o(n(p)),T=i(x),L=O.length,M,R;return T<0||T>=L?d?"":void 0:(M=c(O,T),M<55296||M>56319||T+1===L||(R=c(O,T+1))<56320||R>57343?d?s(O,T):M:d?a(O,T,T+2):(M-55296<<10)+(R-56320)+65536)}};r.exports={codeAt:u(!1),charAt:u(!0)}},8944:(r,l,e)=>{"use strict";var t=e(3749),i=e(5234),o=e(1488),n=o.String;r.exports=!!Object.getOwnPropertySymbols&&!i(function(){var s=Symbol("symbol detection");return!n(s)||!(Object(s)instanceof Symbol)||!Symbol.sham&&t&&t<41})},675:(r,l,e)=>{"use strict";var t=e(6744),i=Math.max,o=Math.min;r.exports=function(n,s){var c=t(n);return c<0?i(c+s,0):o(c,s)}},380:(r,l,e)=>{"use strict";var t=e(7568),i=e(9509);r.exports=function(o){return t(i(o))}},6744:(r,l,e)=>{"use strict";var t=e(142);r.exports=function(i){var o=+i;return o!==o||o===0?0:t(o)}},7611:(r,l,e)=>{"use strict";var t=e(6744),i=Math.min;r.exports=function(o){var n=t(o);return n>0?i(n,9007199254740991):0}},3628:(r,l,e)=>{"use strict";var t=e(9509),i=Object;r.exports=function(o){return i(t(o))}},290:(r,l,e)=>{"use strict";var t=e(9944),i=e(831),o=e(6032),n=e(2913),s=e(2287),c=e(4282),a=TypeError,u=c("toPrimitive");r.exports=function(d,p){if(!i(d)||o(d))return d;var x=n(d,u),O;if(x){if(p===void 0&&(p="default"),O=t(x,d,p),!i(O)||o(O))return O;throw new a("Can't convert object to primitive value")}return p===void 0&&(p="number"),s(d,p)}},2344:(r,l,e)=>{"use strict";var t=e(290),i=e(6032);r.exports=function(o){var n=t(o,"string");return i(n)?n:n+""}},9345:(r,l,e)=>{"use strict";var t=e(4282),i=t("toStringTag"),o={};o[i]="z",r.exports=String(o)==="[object z]"},2618:(r,l,e)=>{"use strict";var t=e(5438),i=String;r.exports=function(o){if(t(o)==="Symbol")throw new TypeError("Cannot convert a Symbol value to a string");return i(o)}},3174:r=>{"use strict";var l=String;r.exports=function(e){try{return l(e)}catch{return"Object"}}},6209:(r,l,e)=>{"use strict";var t=e(6881),i=0,o=Math.random(),n=t(1 .toString);r.exports=function(s){return"Symbol("+(s===void 0?"":s)+")_"+n(++i+o,36)}},9809:(r,l,e)=>{"use strict";var t=e(8944);r.exports=t&&!Symbol.sham&&typeof Symbol.iterator=="symbol"},3315:(r,l,e)=>{"use strict";var t=e(6893),i=e(5234);r.exports=t&&i(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!==42})},5945:(r,l,e)=>{"use strict";var t=e(1488),i=e(4188),o=t.WeakMap;r.exports=i(o)&&/native code/.test(String(o))},4282:(r,l,e)=>{"use strict";var t=e(1488),i=e(746),o=e(4418),n=e(6209),s=e(8944),c=e(9809),a=t.Symbol,u=i("wks"),d=c?a.for||a:a&&a.withoutSetter||n;r.exports=function(p){return o(u,p)||(u[p]=s&&o(a,p)?a[p]:d("Symbol."+p)),u[p]}},8376:(r,l,e)=>{"use strict";var t=e(5613),i=e(9342);t({target:"RegExp",proto:!0,forced:/./.exec!==i},{exec:i})},8715:(r,l,e)=>{"use strict";var t=e(5613),i=e(9944),o=e(6881),n=e(9509),s=e(4188),c=e(4318),a=e(473),u=e(2618),d=e(2913),p=e(3113),x=e(1113),O=e(4282),T=e(1942),L=O("replace"),M=TypeError,R=o("".indexOf),D=o("".replace),U=o("".slice),f=Math.max;t({target:"String",proto:!0},{replaceAll:function(b,S){var N=n(this),j,F,H,Y,X,Z,k,$,Q,y=0,E=0,h="";if(!c(b)){if(j=a(b),j&&(F=u(n(p(b))),!~R(F,"g")))throw new M("`.replaceAll` does not allow non-global regexes");if(H=d(b,L),H)return i(H,b,N,S);if(T&&j)return D(u(N),b,S)}for(Y=u(N),X=u(b),Z=s(S),Z||(S=u(S)),k=X.length,$=f(1,k),y=R(Y,X);y!==-1;)Q=Z?u(S(X,y,Y)):x(X,Y,y,[],void 0,S),h+=U(Y,E,y)+Q,E=y+k,y=y+$>Y.length?-1:R(Y,X,y+$);return E<Y.length&&(h+=U(Y,E)),h}})},4293:(r,l,e)=>{"use strict";var t=e(646),i=e(9944),o=e(6881),n=e(467),s=e(5234),c=e(3770),a=e(4188),u=e(4318),d=e(6744),p=e(7611),x=e(2618),O=e(9509),T=e(154),L=e(2913),M=e(1113),R=e(4721),D=e(4282),U=D("replace"),f=Math.max,g=Math.min,b=o([].concat),S=o([].push),N=o("".indexOf),j=o("".slice),F=function(Z){return Z===void 0?Z:String(Z)},H=function(){return"a".replace(/./,"$0")==="$0"}(),Y=function(){return/./[U]?/./[U]("a","$0")==="":!1}(),X=!s(function(){var Z=/./;return Z.exec=function(){var k=[];return k.groups={a:"7"},k},"".replace(Z,"$<a>")!=="7"});n("replace",function(Z,k,$){var Q=Y?"$":"$0";return[function(E,h){var w=O(this),v=u(E)?void 0:L(E,U);return v?i(v,E,w,h):i(k,x(w),E,h)},function(y,E){var h=c(this),w=x(y);if(typeof E=="string"&&N(E,Q)===-1&&N(E,"$<")===-1){var v=$(k,h,w,E);if(v.done)return v.value}var m=a(E);m||(E=x(E));var P=h.global,G;P&&(G=h.unicode,h.lastIndex=0);for(var J=[],z;z=R(h,w),!(z===null||(S(J,z),!P));){var _=x(z[0]);_===""&&(h.lastIndex=T(w,p(h.lastIndex),G))}for(var q="",ne=0,oe=0;oe<J.length;oe++){z=J[oe];for(var ae=x(z[0]),se=f(g(d(z.index),w.length),0),ie=[],ce,de=1;de<z.length;de++)S(ie,F(z[de]));var K=z.groups;if(m){var I=b([ae],ie,se,w);K!==void 0&&S(I,K),ce=x(t(E,void 0,I))}else ce=M(ae,w,se,ie,K,E);se>=ne&&(q+=j(w,ne,se)+ce,ne=se+ae.length)}return q+j(w,ne)}]},!X||!H||Y)},3030:(r,l,e)=>{"use strict";var t=e(9283);r.exports=t},6152:(r,l,e)=>{"use strict";e.d(l,{GG:()=>c,Tt:()=>t,gn:()=>s,sH:()=>n});function t(a,u){var d={};for(var p in a)Object.prototype.hasOwnProperty.call(a,p)&&u.indexOf(p)<0&&(d[p]=a[p]);if(a!=null&&typeof Object.getOwnPropertySymbols=="function")for(var x=0,p=Object.getOwnPropertySymbols(a);x<p.length;x++)u.indexOf(p[x])<0&&Object.prototype.propertyIsEnumerable.call(a,p[x])&&(d[p[x]]=a[p[x]]);return d}function i(a,u,d,p){var x=arguments.length,O=x<3?u:p===null?p=Object.getOwnPropertyDescriptor(u,d):p,T;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")O=Reflect.decorate(a,u,d,p);else for(var L=a.length-1;L>=0;L--)(T=a[L])&&(O=(x<3?T(O):x>3?T(u,d,O):T(u,d))||O);return x>3&&O&&Object.defineProperty(u,d,O),O}function o(a,u){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(a,u)}function n(a,u,d,p){function x(O){return O instanceof d?O:new d(function(T){T(O)})}return new(d||(d=Promise))(function(O,T){function L(D){try{R(p.next(D))}catch(U){T(U)}}function M(D){try{R(p.throw(D))}catch(U){T(U)}}function R(D){D.done?O(D.value):x(D.value).then(L,M)}R((p=p.apply(a,u||[])).next())})}function s(a,u,d,p){if(d==="a"&&!p)throw new TypeError("Private accessor was defined without a getter");if(typeof u=="function"?a!==u||!p:!u.has(a))throw new TypeError("Cannot read private member from an object whose class did not declare it");return d==="m"?p:d==="a"?p.call(a):p?p.value:u.get(a)}function c(a,u,d,p,x){if(p==="m")throw new TypeError("Private method is not writable");if(p==="a"&&!x)throw new TypeError("Private accessor was defined without a setter");if(typeof u=="function"?a!==u||!x:!u.has(a))throw new TypeError("Cannot write private member to an object whose class did not declare it");return p==="a"?x.call(a,d):x?x.value=d:u.set(a,d),d}},3059:(r,l,e)=>{"use strict";e.d(l,{C:()=>o,mO:()=>t});const t="embeddable-event-bus-key",i=1e5,o={rest:{endpoints:{big:"https://api-gateway.prod.icanbwell.com/identity"}}},n="healthCircle",s=""},5848:(r,l,e)=>{"use strict";e.r(l),e.d(l,{EventBus:()=>c});var t=e(4032);function i(a,u,d,p){if(d==="a"&&!p)throw new TypeError("Private accessor was defined without a getter");if(typeof u=="function"?a!==u||!p:!u.has(a))throw new TypeError("Cannot read private member from an object whose class did not declare it");return d==="m"?p:d==="a"?p.call(a):p?p.value:u.get(a)}var o,n;const s="default";class c{static getInstance(u){let d=u?i(this,o,"f",n)[u]:i(this,o,"f",n)[s];return d||(d=i(this,o,"f",n)[u||s]=new t.EventBus),d}}o=c,n={value:{}}},934:(r,l,e)=>{"use strict";e.d(l,{b:()=>i});var t=e(9226);class i extends Error{constructor(n,s){super(n,s),this.cause=s.cause,this.errorCode=s.errorCode}toJSON(){const{name:n,message:s,errorCode:c}=this;return{name:n,message:s,errorCode:c}}emitToNativeComponent(){return[t.ErrorCode.CLIENT_UNKNOWN,t.ErrorCode.TOKEN_EXCHANGE].includes(this.errorCode)}}},3758:(r,l,e)=>{"use strict";e.d(l,{O:()=>t});var t;(function(i){i.CLIENT_UNKNOWN="CLIENT_UNKNOWN",i.INSUFFICIENT_SERVICES="INSUFFICIENT_SERVICES",i.METHOD_CALLED_BEFORE_INITIALIZATION="METHOD_CALLED_BEFORE_INITIALIZATION",i.BWELL_INITIALIZATION="BWELL_INITIALIZATION",i.TOKEN_EXCHANGE="TOKEN_EXCHANGE",i.ROUTE_ACTION="ROUTE_ACTION",i.ROUTE_NAVIGATION_DELEGATE="ROUTE_NAVIGATION_DELEGATE",i.ROUTE_UNKNOWN="ROUTE_UNKNOWN",i.ROUTE_ELEMENT_UNKNOWN="ROUTE_ELEMENT_UNKNOWN",i.PROVIDER_UNDEFINED="PROVIDER_UNDEFINED",i.INSUFFICIENT_PERMISSIONS="INSUFFICIENT_PERMISSIONS",i.CONFIGURATION_ERROR="CONFIGURATION_ERROR",i.NETWORK="NETWORK",i.UNKNOWN="UNKNOWN"})(t||(t={}))},9226:(r,l,e)=>{"use strict";e.d(l,{ErrorCode:()=>t.O});var t=e(3758);const i="pagetransition"}},Ee={};function A(r){var l=Ee[r];if(l!==void 0)return l.exports;var e=Ee[r]={id:r,loaded:!1,exports:{}};return we[r].call(e.exports,e,e.exports,A),e.loaded=!0,e.exports}A.m=we,A.c=Ee,A.n=r=>{var l=r&&r.__esModule?()=>r.default:()=>r;return A.d(l,{a:l}),l},(()=>{var r=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,l;A.t=function(e,t){if(t&1&&(e=this(e)),t&8||typeof e=="object"&&e&&(t&4&&e.__esModule||t&16&&typeof e.then=="function"))return e;var i=Object.create(null);A.r(i);var o={};l=l||[null,r({}),r([]),r(r)];for(var n=t&2&&e;typeof n=="object"&&!~l.indexOf(n);n=r(n))Object.getOwnPropertyNames(n).forEach(s=>o[s]=()=>e[s]);return o.default=()=>e,A.d(i,o),i}})(),A.d=(r,l)=>{for(var e in l)A.o(l,e)&&!A.o(r,e)&&Object.defineProperty(r,e,{enumerable:!0,get:l[e]})},A.f={},A.e=r=>Promise.all(Object.keys(A.f).reduce((l,e)=>(A.f[e](r,l),l),[])),A.u=r=>""+r+".index.js",A.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch{if(typeof window=="object")return window}}(),A.hmd=r=>(r=Object.create(r),r.children||(r.children=[]),Object.defineProperty(r,"exports",{enumerable:!0,set:()=>{throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+r.id)}}),r),A.o=(r,l)=>Object.prototype.hasOwnProperty.call(r,l),(()=>{var r={},l="@icanbwell/composite:";A.l=(e,t,i,o)=>{if(r[e]){r[e].push(t);return}var n,s;if(i!==void 0)for(var c=document.getElementsByTagName("script"),a=0;a<c.length;a++){var u=c[a];if(u.getAttribute("src")==e||u.getAttribute("data-webpack")==l+i){n=u;break}}n||(s=!0,n=document.createElement("script"),n.charset="utf-8",n.timeout=120,A.nc&&n.setAttribute("nonce",A.nc),n.setAttribute("data-webpack",l+i),n.src=e),r[e]=[t];var d=(x,O)=>{n.onerror=n.onload=null,clearTimeout(p);var T=r[e];if(delete r[e],n.parentNode&&n.parentNode.removeChild(n),T&&T.forEach(L=>L(O)),x)return x(O)},p=setTimeout(d.bind(null,void 0,{type:"timeout",target:n}),12e4);n.onerror=d.bind(null,n.onerror),n.onload=d.bind(null,n.onload),s&&document.head.appendChild(n)}})(),A.r=r=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(r,"__esModule",{value:!0})},A.nmd=r=>(r.paths=[],r.children||(r.children=[]),r),(()=>{A.S={};var r={},l={};A.I=(e,t)=>{t||(t=[]);var i=l[e];if(i||(i=l[e]={}),!(t.indexOf(i)>=0)){if(t.push(i),r[e])return r[e];A.o(A.S,e)||(A.S[e]={});var o=A.S[e],n=d=>{typeof console<"u"&&console.warn&&console.warn(d)},s="@icanbwell/composite",c=(d,p,x,O)=>{var T=o[d]=o[d]||{},L=T[p];(!L||!L.loaded&&(!O!=!L.eager?O:s>L.from))&&(T[p]={get:x,from:s,eager:!!O})},a=d=>{var p=L=>n("Initialization of sharing external failed: "+L);try{var x=A(d);if(!x)return;var O=L=>L&&L.init&&L.init(A.S[e],t);if(x.then)return u.push(x.then(O,p));var T=O(x);if(T&&T.then)return u.push(T.catch(p))}catch(L){p(L)}},u=[];switch(e){case"default":c("@icanbwell/events","2.2.0",()=>()=>A(5848),1),c("@icanbwell/react-native-webview-invoke/browser","0.6.4",()=>()=>A(7800),1);break}return u.length?r[e]=Promise.all(u).then(()=>r[e]=1):r[e]=1}}})(),(()=>{var r;A.g.importScripts&&(r=A.g.location+"");var l=A.g.document;if(!r&&l&&(l.currentScript&&(r=l.currentScript.src),!r)){var e=l.getElementsByTagName("script");if(e.length)for(var t=e.length-1;t>-1&&(!r||!/^http(s?):/.test(r));)r=e[t--].src}if(!r)throw new Error("Automatic publicPath is not supported in this browser");r=r.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),A.p=r})(),(()=>{var r=y=>{var E=v=>v.split(".").map(m=>+m==m?+m:m),h=/^([^-+]+)?(?:-([^+]+))?(?:\+(.+))?$/.exec(y),w=h[1]?E(h[1]):[];return h[2]&&(w.length++,w.push.apply(w,E(h[2]))),h[3]&&(w.push([]),w.push.apply(w,E(h[3]))),w},l=(y,E)=>{y=r(y),E=r(E);for(var h=0;;){if(h>=y.length)return h<E.length&&(typeof E[h])[0]!="u";var w=y[h],v=(typeof w)[0];if(h>=E.length)return v=="u";var m=E[h],P=(typeof m)[0];if(v!=P)return v=="o"&&P=="n"||P=="s"||v=="u";if(v!="o"&&v!="u"&&w!=m)return w<m;h++}},e=y=>{var E=y[0],h="";if(y.length===1)return"*";if(E+.5){h+=E==0?">=":E==-1?"<":E==1?"^":E==2?"~":E>0?"=":"!=";for(var w=1,v=1;v<y.length;v++)w--,h+=(typeof(P=y[v]))[0]=="u"?"-":(w>0?".":"")+(w=2,P);return h}var m=[];for(v=1;v<y.length;v++){var P=y[v];m.push(P===0?"not("+G()+")":P===1?"("+G()+" || "+G()+")":P===2?m.pop()+" "+m.pop():e(P))}return G();function G(){return m.pop().replace(/^\((.+)\)$/,"$1")}},t=(y,E)=>{if(0 in y){E=r(E);var h=y[0],w=h<0;w&&(h=-h-1);for(var v=0,m=1,P=!0;;m++,v++){var G,J,z=m<y.length?(typeof y[m])[0]:"";if(v>=E.length||(J=(typeof(G=E[v]))[0])=="o")return!P||(z=="u"?m>h&&!w:z==""!=w);if(J=="u"){if(!P||z!="u")return!1}else if(P)if(z==J)if(m<=h){if(G!=y[m])return!1}else{if(w?G>y[m]:G<y[m])return!1;G!=y[m]&&(P=!1)}else if(z!="s"&&z!="n"){if(w||m<=h)return!1;P=!1,m--}else{if(m<=h||J<z!=w)return!1;P=!1}else z!="s"&&z!="n"&&(P=!1,m--)}}var _=[],q=_.pop.bind(_);for(v=1;v<y.length;v++){var ne=y[v];_.push(ne==1?q()|q():ne==2?q()&q():ne?t(ne,E):!q())}return!!q()},i=(y,E)=>{var h=A.S[y];if(!h||!A.o(h,E))throw new Error("Shared module "+E+" doesn't exist in shared scope "+y);return h},o=(y,w)=>{var h=y[w],w=Object.keys(h).reduce((v,m)=>!v||l(v,m)?m:v,0);return w&&h[w]},n=(y,E)=>{var h=y[E];return Object.keys(h).reduce((w,v)=>!w||!h[w].loaded&&l(w,v)?v:w,0)},s=(y,E,h,w)=>"Unsatisfied version "+h+" from "+(h&&y[E][h].from)+" of shared singleton module "+E+" (required "+e(w)+")",c=(y,E,h,w)=>{var v=n(y,h);return L(y[h][v])},a=(y,E,h,w)=>{var v=n(y,h);return t(w,v)||O(s(y,h,v,w)),L(y[h][v])},u=(y,E,h,w)=>{var v=n(y,h);if(!t(w,v))throw new Error(s(y,h,v,w));return L(y[h][v])},d=(y,v,h)=>{var w=y[v],v=Object.keys(w).reduce((m,P)=>t(h,P)&&(!m||l(m,P))?P:m,0);return v&&w[v]},p=(y,E,h,w)=>{var v=y[h];return"No satisfying version ("+e(w)+") of shared module "+h+" found in shared scope "+E+`.
|
|
78
|
+
`)&&n.flags==="s")})},4609:(r,l,e)=>{"use strict";var t=e(5234),i=e(1488),o=i.RegExp;r.exports=t(function(){var n=o("(?<a>b)","g");return n.exec("b").groups.a!=="b"||"b".replace(n,"$<a>c")!=="bc"})},9509:(r,l,e)=>{"use strict";var t=e(4318),i=TypeError;r.exports=function(o){if(t(o))throw new i("Can't call method on "+o);return o}},168:(r,l,e)=>{"use strict";var t=e(746),i=e(6209),o=t("keys");r.exports=function(n){return o[n]||(o[n]=i(n))}},2694:(r,l,e)=>{"use strict";var t=e(1942),i=e(1488),o=e(4798),n="__core-js_shared__",s=r.exports=i[n]||o(n,{});(s.versions||(s.versions=[])).push({version:"3.37.1",mode:t?"pure":"global",copyright:"\xA9 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.37.1/LICENSE",source:"https://github.com/zloirock/core-js"})},746:(r,l,e)=>{"use strict";var t=e(2694);r.exports=function(i,o){return t[i]||(t[i]=o||{})}},4212:(r,l,e)=>{"use strict";var t=e(6881),i=e(6744),o=e(2618),n=e(9509),s=t("".charAt),c=t("".charCodeAt),a=t("".slice),u=function(d){return function(p,x){var O=o(n(p)),T=i(x),L=O.length,M,R;return T<0||T>=L?d?"":void 0:(M=c(O,T),M<55296||M>56319||T+1===L||(R=c(O,T+1))<56320||R>57343?d?s(O,T):M:d?a(O,T,T+2):(M-55296<<10)+(R-56320)+65536)}};r.exports={codeAt:u(!1),charAt:u(!0)}},8944:(r,l,e)=>{"use strict";var t=e(3749),i=e(5234),o=e(1488),n=o.String;r.exports=!!Object.getOwnPropertySymbols&&!i(function(){var s=Symbol("symbol detection");return!n(s)||!(Object(s)instanceof Symbol)||!Symbol.sham&&t&&t<41})},675:(r,l,e)=>{"use strict";var t=e(6744),i=Math.max,o=Math.min;r.exports=function(n,s){var c=t(n);return c<0?i(c+s,0):o(c,s)}},380:(r,l,e)=>{"use strict";var t=e(7568),i=e(9509);r.exports=function(o){return t(i(o))}},6744:(r,l,e)=>{"use strict";var t=e(142);r.exports=function(i){var o=+i;return o!==o||o===0?0:t(o)}},7611:(r,l,e)=>{"use strict";var t=e(6744),i=Math.min;r.exports=function(o){var n=t(o);return n>0?i(n,9007199254740991):0}},3628:(r,l,e)=>{"use strict";var t=e(9509),i=Object;r.exports=function(o){return i(t(o))}},290:(r,l,e)=>{"use strict";var t=e(9944),i=e(831),o=e(6032),n=e(2913),s=e(2287),c=e(4282),a=TypeError,u=c("toPrimitive");r.exports=function(d,p){if(!i(d)||o(d))return d;var x=n(d,u),O;if(x){if(p===void 0&&(p="default"),O=t(x,d,p),!i(O)||o(O))return O;throw new a("Can't convert object to primitive value")}return p===void 0&&(p="number"),s(d,p)}},2344:(r,l,e)=>{"use strict";var t=e(290),i=e(6032);r.exports=function(o){var n=t(o,"string");return i(n)?n:n+""}},9345:(r,l,e)=>{"use strict";var t=e(4282),i=t("toStringTag"),o={};o[i]="z",r.exports=String(o)==="[object z]"},2618:(r,l,e)=>{"use strict";var t=e(5438),i=String;r.exports=function(o){if(t(o)==="Symbol")throw new TypeError("Cannot convert a Symbol value to a string");return i(o)}},3174:r=>{"use strict";var l=String;r.exports=function(e){try{return l(e)}catch{return"Object"}}},6209:(r,l,e)=>{"use strict";var t=e(6881),i=0,o=Math.random(),n=t(1 .toString);r.exports=function(s){return"Symbol("+(s===void 0?"":s)+")_"+n(++i+o,36)}},9809:(r,l,e)=>{"use strict";var t=e(8944);r.exports=t&&!Symbol.sham&&typeof Symbol.iterator=="symbol"},3315:(r,l,e)=>{"use strict";var t=e(6893),i=e(5234);r.exports=t&&i(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!==42})},5945:(r,l,e)=>{"use strict";var t=e(1488),i=e(4188),o=t.WeakMap;r.exports=i(o)&&/native code/.test(String(o))},4282:(r,l,e)=>{"use strict";var t=e(1488),i=e(746),o=e(4418),n=e(6209),s=e(8944),c=e(9809),a=t.Symbol,u=i("wks"),d=c?a.for||a:a&&a.withoutSetter||n;r.exports=function(p){return o(u,p)||(u[p]=s&&o(a,p)?a[p]:d("Symbol."+p)),u[p]}},8376:(r,l,e)=>{"use strict";var t=e(5613),i=e(9342);t({target:"RegExp",proto:!0,forced:/./.exec!==i},{exec:i})},8715:(r,l,e)=>{"use strict";var t=e(5613),i=e(9944),o=e(6881),n=e(9509),s=e(4188),c=e(4318),a=e(473),u=e(2618),d=e(2913),p=e(3113),x=e(1113),O=e(4282),T=e(1942),L=O("replace"),M=TypeError,R=o("".indexOf),D=o("".replace),U=o("".slice),f=Math.max;t({target:"String",proto:!0},{replaceAll:function(b,S){var N=n(this),j,F,H,Y,X,Z,k,$,Q,y=0,E=0,h="";if(!c(b)){if(j=a(b),j&&(F=u(n(p(b))),!~R(F,"g")))throw new M("`.replaceAll` does not allow non-global regexes");if(H=d(b,L),H)return i(H,b,N,S);if(T&&j)return D(u(N),b,S)}for(Y=u(N),X=u(b),Z=s(S),Z||(S=u(S)),k=X.length,$=f(1,k),y=R(Y,X);y!==-1;)Q=Z?u(S(X,y,Y)):x(X,Y,y,[],void 0,S),h+=U(Y,E,y)+Q,E=y+k,y=y+$>Y.length?-1:R(Y,X,y+$);return E<Y.length&&(h+=U(Y,E)),h}})},4293:(r,l,e)=>{"use strict";var t=e(646),i=e(9944),o=e(6881),n=e(467),s=e(5234),c=e(3770),a=e(4188),u=e(4318),d=e(6744),p=e(7611),x=e(2618),O=e(9509),T=e(154),L=e(2913),M=e(1113),R=e(4721),D=e(4282),U=D("replace"),f=Math.max,g=Math.min,b=o([].concat),S=o([].push),N=o("".indexOf),j=o("".slice),F=function(Z){return Z===void 0?Z:String(Z)},H=function(){return"a".replace(/./,"$0")==="$0"}(),Y=function(){return/./[U]?/./[U]("a","$0")==="":!1}(),X=!s(function(){var Z=/./;return Z.exec=function(){var k=[];return k.groups={a:"7"},k},"".replace(Z,"$<a>")!=="7"});n("replace",function(Z,k,$){var Q=Y?"$":"$0";return[function(E,h){var w=O(this),v=u(E)?void 0:L(E,U);return v?i(v,E,w,h):i(k,x(w),E,h)},function(y,E){var h=c(this),w=x(y);if(typeof E=="string"&&N(E,Q)===-1&&N(E,"$<")===-1){var v=$(k,h,w,E);if(v.done)return v.value}var m=a(E);m||(E=x(E));var P=h.global,G;P&&(G=h.unicode,h.lastIndex=0);for(var J=[],z;z=R(h,w),!(z===null||(S(J,z),!P));){var _=x(z[0]);_===""&&(h.lastIndex=T(w,p(h.lastIndex),G))}for(var q="",ne=0,oe=0;oe<J.length;oe++){z=J[oe];for(var ae=x(z[0]),se=f(g(d(z.index),w.length),0),ie=[],ce,de=1;de<z.length;de++)S(ie,F(z[de]));var K=z.groups;if(m){var I=b([ae],ie,se,w);K!==void 0&&S(I,K),ce=x(t(E,void 0,I))}else ce=M(ae,w,se,ie,K,E);se>=ne&&(q+=j(w,ne,se)+ce,ne=se+ae.length)}return q+j(w,ne)}]},!X||!H||Y)},3030:(r,l,e)=>{"use strict";var t=e(9283);r.exports=t},6152:(r,l,e)=>{"use strict";e.d(l,{GG:()=>c,Tt:()=>t,gn:()=>s,sH:()=>n});function t(a,u){var d={};for(var p in a)Object.prototype.hasOwnProperty.call(a,p)&&u.indexOf(p)<0&&(d[p]=a[p]);if(a!=null&&typeof Object.getOwnPropertySymbols=="function")for(var x=0,p=Object.getOwnPropertySymbols(a);x<p.length;x++)u.indexOf(p[x])<0&&Object.prototype.propertyIsEnumerable.call(a,p[x])&&(d[p[x]]=a[p[x]]);return d}function i(a,u,d,p){var x=arguments.length,O=x<3?u:p===null?p=Object.getOwnPropertyDescriptor(u,d):p,T;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")O=Reflect.decorate(a,u,d,p);else for(var L=a.length-1;L>=0;L--)(T=a[L])&&(O=(x<3?T(O):x>3?T(u,d,O):T(u,d))||O);return x>3&&O&&Object.defineProperty(u,d,O),O}function o(a,u){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(a,u)}function n(a,u,d,p){function x(O){return O instanceof d?O:new d(function(T){T(O)})}return new(d||(d=Promise))(function(O,T){function L(D){try{R(p.next(D))}catch(U){T(U)}}function M(D){try{R(p.throw(D))}catch(U){T(U)}}function R(D){D.done?O(D.value):x(D.value).then(L,M)}R((p=p.apply(a,u||[])).next())})}function s(a,u,d,p){if(d==="a"&&!p)throw new TypeError("Private accessor was defined without a getter");if(typeof u=="function"?a!==u||!p:!u.has(a))throw new TypeError("Cannot read private member from an object whose class did not declare it");return d==="m"?p:d==="a"?p.call(a):p?p.value:u.get(a)}function c(a,u,d,p,x){if(p==="m")throw new TypeError("Private method is not writable");if(p==="a"&&!x)throw new TypeError("Private accessor was defined without a setter");if(typeof u=="function"?a!==u||!x:!u.has(a))throw new TypeError("Cannot write private member to an object whose class did not declare it");return p==="a"?x.call(a,d):x?x.value=d:u.set(a,d),d}},3059:(r,l,e)=>{"use strict";e.d(l,{C:()=>o,mO:()=>t});const t="embeddable-event-bus-key",i=1e5,o={rest:{endpoints:{big:"https://api-gateway.prod.icanbwell.com/identity"}}},n="healthCircle",s=""},5848:(r,l,e)=>{"use strict";e.r(l),e.d(l,{EventBus:()=>c});var t=e(4032);function i(a,u,d,p){if(d==="a"&&!p)throw new TypeError("Private accessor was defined without a getter");if(typeof u=="function"?a!==u||!p:!u.has(a))throw new TypeError("Cannot read private member from an object whose class did not declare it");return d==="m"?p:d==="a"?p.call(a):p?p.value:u.get(a)}var o,n;const s="default";class c{static getInstance(u){let d=u?i(this,o,"f",n)[u]:i(this,o,"f",n)[s];return d||(d=i(this,o,"f",n)[u||s]=new t.EventBus),d}}o=c,n={value:{}}},934:(r,l,e)=>{"use strict";e.d(l,{b:()=>i});var t=e(9226);class i extends Error{constructor(n,s){super(n,s),this.cause=s.cause,this.errorCode=s.errorCode}toJSON(){const{name:n,message:s,errorCode:c}=this;return{name:n,message:s,errorCode:c}}emitToNativeComponent(){return[t.ErrorCode.CLIENT_UNKNOWN,t.ErrorCode.TOKEN_EXCHANGE].includes(this.errorCode)}}},3758:(r,l,e)=>{"use strict";e.d(l,{O:()=>t});var t;(function(i){i.CLIENT_UNKNOWN="CLIENT_UNKNOWN",i.INSUFFICIENT_SERVICES="INSUFFICIENT_SERVICES",i.METHOD_CALLED_BEFORE_INITIALIZATION="METHOD_CALLED_BEFORE_INITIALIZATION",i.BWELL_INITIALIZATION="BWELL_INITIALIZATION",i.TOKEN_EXCHANGE="TOKEN_EXCHANGE",i.ROUTE_ACTION="ROUTE_ACTION",i.ROUTE_NAVIGATION_DELEGATE="ROUTE_NAVIGATION_DELEGATE",i.ROUTE_UNKNOWN="ROUTE_UNKNOWN",i.ROUTE_ELEMENT_UNKNOWN="ROUTE_ELEMENT_UNKNOWN",i.PROVIDER_UNDEFINED="PROVIDER_UNDEFINED",i.INSUFFICIENT_PERMISSIONS="INSUFFICIENT_PERMISSIONS",i.CONFIGURATION_ERROR="CONFIGURATION_ERROR",i.NETWORK="NETWORK",i.UNKNOWN="UNKNOWN"})(t||(t={}))},9226:(r,l,e)=>{"use strict";e.d(l,{ErrorCode:()=>t.O});var t=e(3758);const i="pagetransition"}},Ee={};function A(r){var l=Ee[r];if(l!==void 0)return l.exports;var e=Ee[r]={id:r,loaded:!1,exports:{}};return we[r].call(e.exports,e,e.exports,A),e.loaded=!0,e.exports}A.m=we,A.c=Ee,A.n=r=>{var l=r&&r.__esModule?()=>r.default:()=>r;return A.d(l,{a:l}),l},(()=>{var r=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,l;A.t=function(e,t){if(t&1&&(e=this(e)),t&8||typeof e=="object"&&e&&(t&4&&e.__esModule||t&16&&typeof e.then=="function"))return e;var i=Object.create(null);A.r(i);var o={};l=l||[null,r({}),r([]),r(r)];for(var n=t&2&&e;typeof n=="object"&&!~l.indexOf(n);n=r(n))Object.getOwnPropertyNames(n).forEach(s=>o[s]=()=>e[s]);return o.default=()=>e,A.d(i,o),i}})(),A.d=(r,l)=>{for(var e in l)A.o(l,e)&&!A.o(r,e)&&Object.defineProperty(r,e,{enumerable:!0,get:l[e]})},A.f={},A.e=r=>Promise.all(Object.keys(A.f).reduce((l,e)=>(A.f[e](r,l),l),[])),A.u=r=>""+r+".index.js",A.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch{if(typeof window=="object")return window}}(),A.hmd=r=>(r=Object.create(r),r.children||(r.children=[]),Object.defineProperty(r,"exports",{enumerable:!0,set:()=>{throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+r.id)}}),r),A.o=(r,l)=>Object.prototype.hasOwnProperty.call(r,l),(()=>{var r={},l="@icanbwell/composite:";A.l=(e,t,i,o)=>{if(r[e]){r[e].push(t);return}var n,s;if(i!==void 0)for(var c=document.getElementsByTagName("script"),a=0;a<c.length;a++){var u=c[a];if(u.getAttribute("src")==e||u.getAttribute("data-webpack")==l+i){n=u;break}}n||(s=!0,n=document.createElement("script"),n.charset="utf-8",n.timeout=120,A.nc&&n.setAttribute("nonce",A.nc),n.setAttribute("data-webpack",l+i),n.src=e),r[e]=[t];var d=(x,O)=>{n.onerror=n.onload=null,clearTimeout(p);var T=r[e];if(delete r[e],n.parentNode&&n.parentNode.removeChild(n),T&&T.forEach(L=>L(O)),x)return x(O)},p=setTimeout(d.bind(null,void 0,{type:"timeout",target:n}),12e4);n.onerror=d.bind(null,n.onerror),n.onload=d.bind(null,n.onload),s&&document.head.appendChild(n)}})(),A.r=r=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(r,"__esModule",{value:!0})},A.nmd=r=>(r.paths=[],r.children||(r.children=[]),r),(()=>{A.S={};var r={},l={};A.I=(e,t)=>{t||(t=[]);var i=l[e];if(i||(i=l[e]={}),!(t.indexOf(i)>=0)){if(t.push(i),r[e])return r[e];A.o(A.S,e)||(A.S[e]={});var o=A.S[e],n=d=>{typeof console<"u"&&console.warn&&console.warn(d)},s="@icanbwell/composite",c=(d,p,x,O)=>{var T=o[d]=o[d]||{},L=T[p];(!L||!L.loaded&&(!O!=!L.eager?O:s>L.from))&&(T[p]={get:x,from:s,eager:!!O})},a=d=>{var p=L=>n("Initialization of sharing external failed: "+L);try{var x=A(d);if(!x)return;var O=L=>L&&L.init&&L.init(A.S[e],t);if(x.then)return u.push(x.then(O,p));var T=O(x);if(T&&T.then)return u.push(T.catch(p))}catch(L){p(L)}},u=[];switch(e){case"default":c("@icanbwell/events","2.3.0",()=>()=>A(5848),1),c("@icanbwell/react-native-webview-invoke/browser","0.6.4",()=>()=>A(7800),1);break}return u.length?r[e]=Promise.all(u).then(()=>r[e]=1):r[e]=1}}})(),(()=>{var r;A.g.importScripts&&(r=A.g.location+"");var l=A.g.document;if(!r&&l&&(l.currentScript&&(r=l.currentScript.src),!r)){var e=l.getElementsByTagName("script");if(e.length)for(var t=e.length-1;t>-1&&(!r||!/^http(s?):/.test(r));)r=e[t--].src}if(!r)throw new Error("Automatic publicPath is not supported in this browser");r=r.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),A.p=r})(),(()=>{var r=y=>{var E=v=>v.split(".").map(m=>+m==m?+m:m),h=/^([^-+]+)?(?:-([^+]+))?(?:\+(.+))?$/.exec(y),w=h[1]?E(h[1]):[];return h[2]&&(w.length++,w.push.apply(w,E(h[2]))),h[3]&&(w.push([]),w.push.apply(w,E(h[3]))),w},l=(y,E)=>{y=r(y),E=r(E);for(var h=0;;){if(h>=y.length)return h<E.length&&(typeof E[h])[0]!="u";var w=y[h],v=(typeof w)[0];if(h>=E.length)return v=="u";var m=E[h],P=(typeof m)[0];if(v!=P)return v=="o"&&P=="n"||P=="s"||v=="u";if(v!="o"&&v!="u"&&w!=m)return w<m;h++}},e=y=>{var E=y[0],h="";if(y.length===1)return"*";if(E+.5){h+=E==0?">=":E==-1?"<":E==1?"^":E==2?"~":E>0?"=":"!=";for(var w=1,v=1;v<y.length;v++)w--,h+=(typeof(P=y[v]))[0]=="u"?"-":(w>0?".":"")+(w=2,P);return h}var m=[];for(v=1;v<y.length;v++){var P=y[v];m.push(P===0?"not("+G()+")":P===1?"("+G()+" || "+G()+")":P===2?m.pop()+" "+m.pop():e(P))}return G();function G(){return m.pop().replace(/^\((.+)\)$/,"$1")}},t=(y,E)=>{if(0 in y){E=r(E);var h=y[0],w=h<0;w&&(h=-h-1);for(var v=0,m=1,P=!0;;m++,v++){var G,J,z=m<y.length?(typeof y[m])[0]:"";if(v>=E.length||(J=(typeof(G=E[v]))[0])=="o")return!P||(z=="u"?m>h&&!w:z==""!=w);if(J=="u"){if(!P||z!="u")return!1}else if(P)if(z==J)if(m<=h){if(G!=y[m])return!1}else{if(w?G>y[m]:G<y[m])return!1;G!=y[m]&&(P=!1)}else if(z!="s"&&z!="n"){if(w||m<=h)return!1;P=!1,m--}else{if(m<=h||J<z!=w)return!1;P=!1}else z!="s"&&z!="n"&&(P=!1,m--)}}var _=[],q=_.pop.bind(_);for(v=1;v<y.length;v++){var ne=y[v];_.push(ne==1?q()|q():ne==2?q()&q():ne?t(ne,E):!q())}return!!q()},i=(y,E)=>{var h=A.S[y];if(!h||!A.o(h,E))throw new Error("Shared module "+E+" doesn't exist in shared scope "+y);return h},o=(y,w)=>{var h=y[w],w=Object.keys(h).reduce((v,m)=>!v||l(v,m)?m:v,0);return w&&h[w]},n=(y,E)=>{var h=y[E];return Object.keys(h).reduce((w,v)=>!w||!h[w].loaded&&l(w,v)?v:w,0)},s=(y,E,h,w)=>"Unsatisfied version "+h+" from "+(h&&y[E][h].from)+" of shared singleton module "+E+" (required "+e(w)+")",c=(y,E,h,w)=>{var v=n(y,h);return L(y[h][v])},a=(y,E,h,w)=>{var v=n(y,h);return t(w,v)||O(s(y,h,v,w)),L(y[h][v])},u=(y,E,h,w)=>{var v=n(y,h);if(!t(w,v))throw new Error(s(y,h,v,w));return L(y[h][v])},d=(y,v,h)=>{var w=y[v],v=Object.keys(w).reduce((m,P)=>t(h,P)&&(!m||l(m,P))?P:m,0);return v&&w[v]},p=(y,E,h,w)=>{var v=y[h];return"No satisfying version ("+e(w)+") of shared module "+h+" found in shared scope "+E+`.
|
|
79
79
|
Available versions: `+Object.keys(v).map(m=>m+" from "+v[m].from).join(", ")},x=(y,E,h,w)=>{var v=d(y,h,w);if(v)return L(v);throw new Error(p(y,E,h,w))},O=y=>{typeof console<"u"&&console.warn&&console.warn(y)},T=(y,E,h,w)=>{O(p(y,E,h,w))},L=y=>(y.loaded=1,y.get()),M=y=>function(E,h,w,v){var m=A.I(E);return m&&m.then?m.then(y.bind(y,E,A.S[E],h,w,v)):y(E,A.S[E],h,w,v)},R=M((y,E,h)=>(i(y,h),L(o(E,h)))),D=M((y,E,h,w)=>E&&A.o(E,h)?L(o(E,h)):w()),U=M((y,E,h,w)=>(i(y,h),L(d(E,h,w)||T(E,y,h,w)||o(E,h)))),f=M((y,E,h)=>(i(y,h),c(E,y,h))),g=M((y,E,h,w)=>(i(y,h),a(E,y,h,w))),b=M((y,E,h,w)=>(i(y,h),x(E,y,h,w))),S=M((y,E,h,w)=>(i(y,h),u(E,y,h,w))),N=M((y,E,h,w,v)=>!E||!A.o(E,h)?v():L(d(E,h,w)||T(E,y,h,w)||o(E,h))),j=M((y,E,h,w)=>!E||!A.o(E,h)?w():c(E,y,h)),F=M((y,E,h,w,v)=>!E||!A.o(E,h)?v():a(E,y,h,w)),H=M((y,E,h,w,v)=>{var m=E&&A.o(E,h)&&d(E,h,w);return m?L(m):v()}),Y=M((y,E,h,w,v)=>!E||!A.o(E,h)?v():u(E,y,h,w)),X={},Z={692:()=>F("default","@icanbwell/react-native-webview-invoke/browser",[2,0,6,2],()=>()=>A(7800)),8561:()=>F("default","@icanbwell/events",[3,0,0,1],()=>()=>A(5848))},k=[8561];k.forEach(y=>{A.m[y]=E=>{X[y]=0,delete A.c[y];var h=Z[y]();if(typeof h!="function")throw new Error("Shared module is not available for eager consumption: "+y);E.exports=h()}});var $={692:[692]},Q={};A.f.consumes=(y,E)=>{A.o($,y)&&$[y].forEach(h=>{if(A.o(X,h))return E.push(X[h]);if(!Q[h]){var w=P=>{X[h]=0,A.m[h]=G=>{delete A.c[h],G.exports=P()}};Q[h]=!0;var v=P=>{delete X[h],A.m[h]=G=>{throw delete A.c[h],P}};try{var m=Z[h]();m.then?E.push(X[h]=m.then(w).catch(v)):w(m)}catch(P){v(P)}}})}})(),(()=>{var r={792:0};A.f.j=(t,i)=>{var o=A.o(r,t)?r[t]:void 0;if(o!==0)if(o)i.push(o[2]);else if(t!=692){var n=new Promise((u,d)=>o=r[t]=[u,d]);i.push(o[2]=n);var s=A.p+A.u(t),c=new Error,a=u=>{if(A.o(r,t)&&(o=r[t],o!==0&&(r[t]=void 0),o)){var d=u&&(u.type==="load"?"missing":u.type),p=u&&u.target&&u.target.src;c.message="Loading chunk "+t+` failed.
|
|
80
80
|
(`+d+": "+p+")",c.name="ChunkLoadError",c.type=d,c.request=p,o[1](c)}};A.l(s,a,"chunk-"+t,t)}else r[t]=0};var l=(t,i)=>{var[o,n,s]=i,c,a,u=0;if(o.some(p=>r[p]!==0)){for(c in n)A.o(n,c)&&(A.m[c]=n[c]);if(s)var d=s(A)}for(t&&t(i);u<o.length;u++)a=o[u],A.o(r,a)&&r[a]&&r[a][0](),r[a]=0},e=globalThis.webpackChunk_icanbwell_composite=globalThis.webpackChunk_icanbwell_composite||[];e.forEach(l.bind(null,0)),e.push=l.bind(null,e.push.bind(e))})();var Pe=A(5358)})();
|
package/native.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{jsx as i}from"react/jsx-runtime";import{ComponentView as o}from"@icanbwell/native-components";var p="@icanbwell/composite",s="1.
|
|
1
|
+
import{jsx as i}from"react/jsx-runtime";import{ComponentView as o}from"@icanbwell/native-components";var p="@icanbwell/composite",s="1.368.1",c="icanbwell",v="module",l="index.js",b="types/index.d.ts",d="UNLICENSED",m={url:"https://github.com/icanbwell/ui-platform.git"},y={"*":{native:["types/native.d.ts"]}},u={"@icanbwell/native-components":"^3.2.0"},w={react:"^17.0.0 || ^18.0.0","react-dom":"^17.0.0 || ^18.0.0","react-native":"^0.71.2","react-native-webview":"^11.4.2"},f={"react-native":{optional:!0},react:{optional:!0},"react-dom":{optional:!0},"react-native-webview":{optional:!0}},O="0.485.1",j="@icanbwell/composite. repo version: 0.485.1",D={name:p,version:s,author:c,type:v,main:l,types:b,license:d,repository:m,typesVersions:y,dependencies:u,peerDependencies:w,peerDependenciesMeta:f,repoVersion:O,description:j};const g="composite";var h=Object.defineProperty,P=Object.defineProperties,V=Object.getOwnPropertyDescriptors,n=Object.getOwnPropertySymbols,x=Object.prototype.hasOwnProperty,C=Object.prototype.propertyIsEnumerable,a=(r,e,t)=>e in r?h(r,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):r[e]=t,E=(r,e)=>{for(var t in e||(e={}))x.call(e,t)&&a(r,t,e[t]);if(n)for(var t of n(e))C.call(e,t)&&a(r,t,e[t]);return r},M=(r,e)=>P(r,V(e));const N=r=>i(o,M(E({},r),{version:D.version,name:g}));export{N as Composite};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@icanbwell/composite",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.368.1",
|
|
4
4
|
"author": "icanbwell",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "index.js",
|
|
@@ -39,6 +39,6 @@
|
|
|
39
39
|
"optional": true
|
|
40
40
|
}
|
|
41
41
|
},
|
|
42
|
-
"repoVersion": "0.
|
|
43
|
-
"description": "@icanbwell/composite. repo version: 0.
|
|
42
|
+
"repoVersion": "0.485.1",
|
|
43
|
+
"description": "@icanbwell/composite. repo version: 0.485.1"
|
|
44
44
|
}
|