@designcrowd/library.brand-page 5.16.34 → 5.16.35

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.
Files changed (29) hide show
  1. package/lib/src/{CreatedOnBrandCrowd-de-de-D91N-tbm.js → CreatedOnBrandCrowd-de-de-86kFDsjd.js} +1 -1
  2. package/lib/src/{CreatedOnBrandCrowd-en-us-BmcF4WYm.js → CreatedOnBrandCrowd-en-us-BhFAL2r4.js} +1 -1
  3. package/lib/src/{CreatedOnBrandCrowd-es-es-CRAWWkm0.js → CreatedOnBrandCrowd-es-es-spGcLYbG.js} +1 -1
  4. package/lib/src/{CreatedOnBrandCrowd-fr-fr-Crg5ty-A.js → CreatedOnBrandCrowd-fr-ca-DKe-tShk.js} +1 -1
  5. package/lib/src/{CreatedOnBrandCrowd-fr-ca-Crg5ty-A.js → CreatedOnBrandCrowd-fr-fr-DKe-tShk.js} +1 -1
  6. package/lib/src/{CreatedOnBrandCrowd-pt-pt-IPV8Z-Ww.js → CreatedOnBrandCrowd-pt-br-DcT0oRzX.js} +1 -1
  7. package/lib/src/{CreatedOnBrandCrowd-pt-br-IPV8Z-Ww.js → CreatedOnBrandCrowd-pt-pt-DcT0oRzX.js} +1 -1
  8. package/lib/src/{CreatedOnDcom-de-de-CmljZBtX.js → CreatedOnDcom-de-de-BMuHkNH2.js} +1 -1
  9. package/lib/src/{CreatedOnDcom-en-us-B-VY4Bpb.js → CreatedOnDcom-en-us-h174d2n3.js} +1 -1
  10. package/lib/src/{CreatedOnDcom-es-es-BH3XI3P0.js → CreatedOnDcom-es-es-B6D1xSPS.js} +1 -1
  11. package/lib/src/{CreatedOnDcom-fr-ca-BX8FjPKR.js → CreatedOnDcom-fr-ca-BE0ONxF_.js} +1 -1
  12. package/lib/src/{CreatedOnDcom-fr-fr-BM-qEmPv.js → CreatedOnDcom-fr-fr-6tXvojla.js} +1 -1
  13. package/lib/src/{CreatedOnDcom-pt-br-DX_aD3XN.js → CreatedOnDcom-pt-br-DZYu7pp5.js} +1 -1
  14. package/lib/src/{CreatedOnDcom-pt-pt-oFipORQP.js → CreatedOnDcom-pt-pt-DrGT23mO.js} +1 -1
  15. package/lib/src/brand-page-maker/components/brand-page-maker/BrandPageMaker.mixin.d.ts +3 -0
  16. package/lib/src/brand-page-maker/components/brand-page-maker/BrandPageMaker.stories.js +1 -0
  17. package/lib/src/brand-page-maker/stores/brandpage-container/brand-page-container-store.d.ts +1 -0
  18. package/lib/src/brand-page-maker/stores/brandpage-container/brand-page-container-store.js +5 -0
  19. package/lib/src/index.mjs +1 -1
  20. package/lib/src/{lib-R9y_fcgW.js → lib-WUyXDBI4.js} +341 -332
  21. package/lib/src/shared/template-settings/components/TemplatesSettings.mixin.d.ts +4 -0
  22. package/lib/src/shared/template-settings/components/TemplatesSettings.mixin.js +10 -3
  23. package/lib/src/shared/template-settings/store/template-settings-store.d.ts +4 -0
  24. package/lib/src/shared/template-settings/store/template-settings-store.js +4 -0
  25. package/package.json +1 -1
  26. package/src/brand-page-maker/components/brand-page-maker/BrandPageMaker.stories.ts +1 -0
  27. package/src/brand-page-maker/stores/brandpage-container/brand-page-container-store.ts +7 -0
  28. package/src/shared/template-settings/components/TemplatesSettings.mixin.ts +11 -3
  29. package/src/shared/template-settings/store/template-settings-store.ts +5 -0
@@ -3319,7 +3319,7 @@ function H$(e, t, n, i, o, s) {
3319
3319
  ])) : M("", !0)
3320
3320
  ], 10, L$);
3321
3321
  }
3322
- const tp = /* @__PURE__ */ v(T$, [["render", H$]]), T4 = {
3322
+ const tp = /* @__PURE__ */ v(T$, [["render", H$]]), L4 = {
3323
3323
  InvokeByoUpload: "INVOKE_BYO_UPLOAD",
3324
3324
  BeginUploadLogoExperience: "BEGIN_UPLOAD_LOGO_EXPERIENCE",
3325
3325
  UploadLogoFileChanged: "UPLOAD_LOGO_FILE_CHANGED",
@@ -3473,7 +3473,7 @@ const tp = /* @__PURE__ */ v(T$, [["render", H$]]), T4 = {
3473
3473
  },
3474
3474
  showLoginModal() {
3475
3475
  this.$refs.dropzone.removeAllFiles(), this.$emit("on-login-modal-open", Ym.UploadUserLogo), window.dispatchEvent(
3476
- new CustomEvent(T4.ShowLoginModal, {
3476
+ new CustomEvent(L4.ShowLoginModal, {
3477
3477
  detail: {
3478
3478
  isSave: !0,
3479
3479
  regoSource: Ym.UploadUserLogo,
@@ -3597,11 +3597,11 @@ function BT(e, t) {
3597
3597
  const { toString: R$ } = Object.prototype, { getPrototypeOf: Ph } = Object, Hl = /* @__PURE__ */ ((e) => (t) => {
3598
3598
  const n = R$.call(t);
3599
3599
  return e[n] || (e[n] = n.slice(8, -1).toLowerCase());
3600
- })(/* @__PURE__ */ Object.create(null)), J5 = (e) => (e = e.toLowerCase(), (t) => Hl(t) === e), xl = (e) => (t) => typeof t === e, { isArray: p0 } = Array, Nn = xl("undefined");
3600
+ })(/* @__PURE__ */ Object.create(null)), Q5 = (e) => (e = e.toLowerCase(), (t) => Hl(t) === e), xl = (e) => (t) => typeof t === e, { isArray: p0 } = Array, Nn = xl("undefined");
3601
3601
  function F$(e) {
3602
3602
  return e !== null && !Nn(e) && e.constructor !== null && !Nn(e.constructor) && U6(e.constructor.isBuffer) && e.constructor.isBuffer(e);
3603
3603
  }
3604
- const OT = J5("ArrayBuffer");
3604
+ const OT = Q5("ArrayBuffer");
3605
3605
  function U$(e) {
3606
3606
  let t;
3607
3607
  return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? t = ArrayBuffer.isView(e) : t = e && e.buffer && OT(e.buffer), t;
@@ -3611,11 +3611,11 @@ const Z$ = xl("string"), U6 = xl("function"), $T = xl("number"), Il = (e) => e !
3611
3611
  return !1;
3612
3612
  const t = Ph(e);
3613
3613
  return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(Symbol.toStringTag in e) && !(Symbol.iterator in e);
3614
- }, q$ = J5("Date"), G$ = J5("File"), W$ = J5("Blob"), j$ = J5("FileList"), K$ = (e) => Il(e) && U6(e.pipe), Y$ = (e) => {
3614
+ }, q$ = Q5("Date"), G$ = Q5("File"), W$ = Q5("Blob"), j$ = Q5("FileList"), K$ = (e) => Il(e) && U6(e.pipe), Y$ = (e) => {
3615
3615
  let t;
3616
3616
  return e && (typeof FormData == "function" && e instanceof FormData || U6(e.append) && ((t = Hl(e)) === "formdata" || // detect form-data instance
3617
3617
  t === "object" && U6(e.toString) && e.toString() === "[object FormData]"));
3618
- }, X$ = J5("URLSearchParams"), J$ = (e) => e.trim ? e.trim() : e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
3618
+ }, X$ = Q5("URLSearchParams"), J$ = (e) => e.trim ? e.trim() : e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
3619
3619
  function gi(e, t, { allOwnKeys: n = !1 } = {}) {
3620
3620
  if (e === null || typeof e > "u")
3621
3621
  return;
@@ -3691,12 +3691,12 @@ const Q$ = (e, t, n, { allOwnKeys: i } = {}) => (gi(t, (o, s) => {
3691
3691
  for (; (n = e.exec(t)) !== null; )
3692
3692
  i.push(n);
3693
3693
  return i;
3694
- }, lD = J5("HTMLFormElement"), dD = (e) => e.toLowerCase().replace(
3694
+ }, lD = Q5("HTMLFormElement"), dD = (e) => e.toLowerCase().replace(
3695
3695
  /[-_\s]([a-z\d])(\w*)/g,
3696
3696
  function(n, i, o) {
3697
3697
  return i.toUpperCase() + o;
3698
3698
  }
3699
- ), ey = (({ hasOwnProperty: e }) => (t, n) => e.call(t, n))(Object.prototype), cD = J5("RegExp"), FT = (e, t) => {
3699
+ ), ey = (({ hasOwnProperty: e }) => (t, n) => e.call(t, n))(Object.prototype), cD = Q5("RegExp"), FT = (e, t) => {
3700
3700
  const n = Object.getOwnPropertyDescriptors(e), i = {};
3701
3701
  gi(n, (o, s) => {
3702
3702
  let r;
@@ -3756,7 +3756,7 @@ const mD = (e) => {
3756
3756
  return i;
3757
3757
  };
3758
3758
  return n(e, 0);
3759
- }, yD = J5("AsyncFunction"), wD = (e) => e && (Il(e) || U6(e)) && U6(e.then) && U6(e.catch), I1 = {
3759
+ }, yD = Q5("AsyncFunction"), wD = (e) => e && (Il(e) || U6(e)) && U6(e.then) && U6(e.catch), I1 = {
3760
3760
  isArray: p0,
3761
3761
  isArrayBuffer: OT,
3762
3762
  isBuffer: F$,
@@ -3785,7 +3785,7 @@ const mD = (e) => {
3785
3785
  inherits: tD,
3786
3786
  toFlatObject: nD,
3787
3787
  kindOf: Hl,
3788
- kindOfTest: J5,
3788
+ kindOfTest: Q5,
3789
3789
  endsWith: iD,
3790
3790
  toArray: oD,
3791
3791
  forEachEntry: rD,
@@ -5112,7 +5112,7 @@ const tN = (e) => {
5112
5112
  }, sN = {
5113
5113
  MAX_BYO_FILE_SIZE: 26214400
5114
5114
  };
5115
- function L4(e) {
5115
+ function V4(e) {
5116
5116
  !e || !window || (window.dataLayer = window.dataLayer || [], window.dataLayer.push(e));
5117
5117
  }
5118
5118
  const rN = {}, aN = {
@@ -10894,17 +10894,17 @@ const kn1 = {
10894
10894
  i.response.data.logoImageDetails.textColors[0],
10895
10895
  i.response.data.logoImageDetails.backgroundColors[0]
10896
10896
  );
10897
- L4({
10897
+ V4({
10898
10898
  eventCategory: this.eventCategory,
10899
10899
  eventAction: "timeTakenToUpload",
10900
10900
  eventLabel: `${e}`,
10901
10901
  event: "byoLogoUpload"
10902
- }), L4({
10902
+ }), V4({
10903
10903
  eventCategory: this.eventCategory,
10904
10904
  eventAction: "logoSize",
10905
10905
  eventLabel: `${this.logoFile.file.size}`,
10906
10906
  event: "byoLogoUpload"
10907
- }), L4({
10907
+ }), V4({
10908
10908
  eventCategory: this.eventCategory,
10909
10909
  eventAction: "colorDifference",
10910
10910
  eventLabel: `${o}`,
@@ -12419,7 +12419,7 @@ const Io1 = /* @__PURE__ */ v(Mo1, [["render", xo1]]), Eo1 = {
12419
12419
  bounds: o,
12420
12420
  dataUrl: this.$refs.cropper.getCroppedCanvas().toDataURL(),
12421
12421
  isCropped: a
12422
- }), L4({
12422
+ }), V4({
12423
12423
  eventCategory: this.eventCategory,
12424
12424
  eventAction: "cropLogo",
12425
12425
  eventLabel: "Clicked_Continue",
@@ -12515,7 +12515,7 @@ const Fo1 = /* @__PURE__ */ v(Eo1, [["render", Ro1]]), Uo1 = {
12515
12515
  this.$emit("on-continue", {
12516
12516
  bounds: e,
12517
12517
  dataUrl: this.logoData.logoImageUrl
12518
- }), L4({
12518
+ }), V4({
12519
12519
  eventCategory: this.eventCategory,
12520
12520
  eventAction: "previewLogo",
12521
12521
  eventLabel: "Clicked_Continue",
@@ -12619,7 +12619,7 @@ const Qo1 = /* @__PURE__ */ v(Uo1, [["render", Jo1]]), es1 = {
12619
12619
  const e = {
12620
12620
  businessText: this.businessText
12621
12621
  };
12622
- this.sloganText && (e.sloganText = this.sloganText), this.$emit("on-save", e), L4({
12622
+ this.sloganText && (e.sloganText = this.sloganText), this.$emit("on-save", e), V4({
12623
12623
  eventCategory: this.eventCategory,
12624
12624
  eventAction: "businessName",
12625
12625
  eventLabel: "Clicked_Continue",
@@ -12916,7 +12916,7 @@ const G9 = /* @__PURE__ */ v(us1, [["render", hs1]]), fs1 = {
12916
12916
  },
12917
12917
  methods: {
12918
12918
  goToStep(e, t = !1) {
12919
- this.currentStep = e, this.activeStep = this.steps[e], this.steps[e].active = !0, t && e === "backgroundColour" && L4({
12919
+ this.currentStep = e, this.activeStep = this.steps[e], this.steps[e].active = !0, t && e === "backgroundColour" && V4({
12920
12920
  eventCategory: this.eventCategory,
12921
12921
  eventAction: "textColor",
12922
12922
  eventLabel: "Clicked_Continue",
@@ -12965,7 +12965,7 @@ const G9 = /* @__PURE__ */ v(us1, [["render", hs1]]), fs1 = {
12965
12965
  textColorUserSelected: n,
12966
12966
  backgroundColorUserSelected: i
12967
12967
  };
12968
- this.$emit("on-save", o), L4({
12968
+ this.$emit("on-save", o), V4({
12969
12969
  eventCategory: this.eventCategory,
12970
12970
  eventAction: "backgroundColor",
12971
12971
  eventLabel: "Clicked_Continue",
@@ -13198,7 +13198,7 @@ const Bs1 = /* @__PURE__ */ v(fs1, [["render", Ps1], ["__scopeId", "data-v-cc85f
13198
13198
  this.croppedImageBoxBounds = t, this.croppedImageBoxDataUrl = n, this.currentStep = 3;
13199
13199
  },
13200
13200
  onCancel() {
13201
- this.isAttemptingToExit = !0, (this.currentStep === 0 || this.hasError) && this.onExitConfirm(), L4({
13201
+ this.isAttemptingToExit = !0, (this.currentStep === 0 || this.hasError) && this.onExitConfirm(), V4({
13202
13202
  eventCategory: this.eventCategory,
13203
13203
  eventAction: this.currentStepTrackingLabel,
13204
13204
  eventLabel: "Clicked_Cancel",
@@ -13374,12 +13374,12 @@ const Zs1 = /* @__PURE__ */ v(Os1, [["render", Us1]]), zs1 = {
13374
13374
  }
13375
13375
  },
13376
13376
  mounted() {
13377
- window && window.addEventListener(T4.BeginUploadLogoExperience, (e) => {
13377
+ window && window.addEventListener(L4.BeginUploadLogoExperience, (e) => {
13378
13378
  this.onBeginUploadLogoExperience(e.detail.file);
13379
13379
  });
13380
13380
  },
13381
13381
  beforeDestroy() {
13382
- window.removeEventListener(T4.BeginUploadLogoExperience, (e) => {
13382
+ window.removeEventListener(L4.BeginUploadLogoExperience, (e) => {
13383
13383
  this.onBeginUploadLogoExperience(e.detail.file);
13384
13384
  });
13385
13385
  },
@@ -13404,7 +13404,7 @@ const Zs1 = /* @__PURE__ */ v(Os1, [["render", Us1]]), zs1 = {
13404
13404
  };
13405
13405
  },
13406
13406
  onFinish(e) {
13407
- this.$emit("on-finish", e), window.dispatchEvent(new CustomEvent(T4.UploadLogoSuccess)), this.reset();
13407
+ this.$emit("on-finish", e), window.dispatchEvent(new CustomEvent(L4.UploadLogoSuccess)), this.reset();
13408
13408
  },
13409
13409
  onBack({ currentStepTrackingLabel: e }) {
13410
13410
  this.$emit("on-back", { currentStepTrackingLabel: e });
@@ -13846,7 +13846,7 @@ function cr1() {
13846
13846
  })(Fr)), Fr.exports;
13847
13847
  }
13848
13848
  var Al = cr1();
13849
- const aL = /* @__PURE__ */ _5(Al), u4 = Object.freeze({
13849
+ const aL = /* @__PURE__ */ _5(Al), C4 = Object.freeze({
13850
13850
  active: "Active",
13851
13851
  pendingPreOnboarding: "PendingPreOnboarding",
13852
13852
  pendingPostOnboarding: "PendingPostOnboarding",
@@ -13889,13 +13889,13 @@ const aL = /* @__PURE__ */ _5(Al), u4 = Object.freeze({
13889
13889
  methods: {
13890
13890
  getPaymentConfigStatusDisplayText(e) {
13891
13891
  switch (e) {
13892
- case u4.pendingPreOnboarding:
13892
+ case C4.pendingPreOnboarding:
13893
13893
  return N8("onboardingIncomplete");
13894
- case u4.pendingPostOnboarding:
13894
+ case C4.pendingPostOnboarding:
13895
13895
  return N8("pendingVerification");
13896
- case u4.active:
13896
+ case C4.active:
13897
13897
  return N8("connected");
13898
- case u4.unactivatedByCustomer:
13898
+ case C4.unactivatedByCustomer:
13899
13899
  return N8("inactive");
13900
13900
  default:
13901
13901
  return process.env.NODE_ENV !== "production" && console.warn(`Unsupported payment config status ${e}`), null;
@@ -13903,12 +13903,12 @@ const aL = /* @__PURE__ */ _5(Al), u4 = Object.freeze({
13903
13903
  },
13904
13904
  getPaymentConfigStatusDisplayClasses(e) {
13905
13905
  switch (e) {
13906
- case u4.pendingPreOnboarding:
13907
- case u4.pendingPostOnboarding:
13906
+ case C4.pendingPreOnboarding:
13907
+ case C4.pendingPostOnboarding:
13908
13908
  return "tw-bg-warning-500";
13909
- case u4.active:
13909
+ case C4.active:
13910
13910
  return "tw-bg-success-500";
13911
- case u4.unactivatedByCustomer:
13911
+ case C4.unactivatedByCustomer:
13912
13912
  return "tw-bg-grayscale-600";
13913
13913
  default:
13914
13914
  return process.env.NODE_ENV !== "production" && console.warn(`Unsupported payment config status ${e}`), null;
@@ -14222,7 +14222,7 @@ const Br1 = /* @__PURE__ */ v(Er1, [["render", Pr1]]), Or1 = {
14222
14222
  if (e)
14223
14223
  this.setSelectedPaymentConfig(e);
14224
14224
  else if (this.paymentConfigs.length > 0) {
14225
- const t = this.paymentConfigs.find((n) => n.status === u4.active);
14225
+ const t = this.paymentConfigs.find((n) => n.status === C4.active);
14226
14226
  this.setSelectedPaymentConfig(t || this.paymentConfigs[0]);
14227
14227
  }
14228
14228
  } else
@@ -15020,7 +15020,7 @@ const ya1 = /* @__PURE__ */ v(fa1, [["render", ma1]]), wa1 = {
15020
15020
  onBuyNowClick(e) {
15021
15021
  const t = e;
15022
15022
  if (typeof this.domainSearchLocation < "u" && (t.domainSearchLocation = this.domainSearchLocation), this.$emit("on-buy-now-click"), window.dispatchEvent(
15023
- new CustomEvent(T4.DomainSelectedEvent, {
15023
+ new CustomEvent(L4.DomainSelectedEvent, {
15024
15024
  detail: t
15025
15025
  })
15026
15026
  ), this.isUserAuthenticated) {
@@ -15213,7 +15213,7 @@ const Ta1 = /* @__PURE__ */ v(wa1, [["render", ka1], ["__scopeId", "data-v-23dc1
15213
15213
  },
15214
15214
  methods: {
15215
15215
  onLoadMoreDomains() {
15216
- window.dispatchEvent(new CustomEvent(T4.DomainLoadMoreEvent)), this.domainNameItemsInView += this.domainNameItemsPerPage;
15216
+ window.dispatchEvent(new CustomEvent(L4.DomainLoadMoreEvent)), this.domainNameItemsInView += this.domainNameItemsPerPage;
15217
15217
  },
15218
15218
  onBuyNowClick() {
15219
15219
  this.$emit("on-buy-now-click");
@@ -15446,7 +15446,7 @@ const pL = /* @__PURE__ */ v(Oa1, [["render", $a1], ["__scopeId", "data-v-550689
15446
15446
  this.previousSearchText = this.searchText;
15447
15447
  try {
15448
15448
  const n = { keyword: t, isUserTriggered: e, userText: this.searchText };
15449
- this.designDraftToken && (n.designDraftToken = this.designDraftToken), window.dispatchEvent(new CustomEvent(T4.DomainSearchEvent, { detail: n }));
15449
+ this.designDraftToken && (n.designDraftToken = this.designDraftToken), window.dispatchEvent(new CustomEvent(L4.DomainSearchEvent, { detail: n }));
15450
15450
  const i = await wi.searchDomainNamesByKeywordAsync(n);
15451
15451
  if (!i) {
15452
15452
  this.domainNameItems = [];
@@ -15719,7 +15719,7 @@ const qa1 = /* @__PURE__ */ v(Ua1, [["render", za1]]), Ga1 = "textChanged", Wa1
15719
15719
  userText: e,
15720
15720
  limit: this.domainNameSearchLimit
15721
15721
  };
15722
- this.designDraftToken && (i.designDraftToken = this.designDraftToken), this.domainNameSearchOrigin && (i.domainNameSearchOrigin = this.domainNameSearchOrigin), this.domainSearchLocation && (i.domainSearchLocation = this.domainSearchLocation), this.currentLocale && (i.locale = this.currentLocale), window.dispatchEvent(new CustomEvent(T4.DomainSearchEvent, { detail: i }));
15722
+ this.designDraftToken && (i.designDraftToken = this.designDraftToken), this.domainNameSearchOrigin && (i.domainNameSearchOrigin = this.domainNameSearchOrigin), this.domainSearchLocation && (i.domainSearchLocation = this.domainSearchLocation), this.currentLocale && (i.locale = this.currentLocale), window.dispatchEvent(new CustomEvent(L4.DomainSearchEvent, { detail: i }));
15723
15723
  const o = await wi.searchDomainNamesByKeywordAsync(i);
15724
15724
  if (!o) {
15725
15725
  this.domainNameItems = [];
@@ -16898,7 +16898,7 @@ const jl1 = /* @__PURE__ */ v(Bl1, [["render", Wl1]]), _y = {
16898
16898
  this.searchText && (t = this.cleanText(this.searchText)), this.previousSearchText = this.searchText;
16899
16899
  try {
16900
16900
  const n = { keyword: t, isUserTriggered: e, userText: this.brandPageSlug };
16901
- this.designDraftToken && (n.designDraftToken = this.designDraftToken), n.domainSearchLocation = this.sitePublishedModal, window.dispatchEvent(new CustomEvent(T4.DomainSearchEvent, { detail: n }));
16901
+ this.designDraftToken && (n.designDraftToken = this.designDraftToken), n.domainSearchLocation = this.sitePublishedModal, window.dispatchEvent(new CustomEvent(L4.DomainSearchEvent, { detail: n }));
16902
16902
  const i = await wi.searchDomainNamesByKeywordAsync(n);
16903
16903
  if (!i) {
16904
16904
  this.domainNameItems = [];
@@ -17048,7 +17048,7 @@ function sd1(e, t, n, i, o, s) {
17048
17048
  }, null, 8, ["modelValue", "currency", "is-busy", "is-design-com", "domain-name-items", "previous-search-text", "visible", "domain-search-location", "onCloseModal"])
17049
17049
  ]);
17050
17050
  }
17051
- const rd1 = /* @__PURE__ */ v(Xl1, [["render", sd1], ["__scopeId", "data-v-706bd3e0"]]), v4 = {
17051
+ const rd1 = /* @__PURE__ */ v(Xl1, [["render", sd1], ["__scopeId", "data-v-706bd3e0"]]), S4 = {
17052
17052
  ContactForm: "ContactForm",
17053
17053
  Videos: "Videos",
17054
17054
  Maps: "Maps",
@@ -19547,7 +19547,7 @@ const yc = {
19547
19547
  checkOverflow: su1,
19548
19548
  classes: iu1
19549
19549
  }, wc = {};
19550
- let Nh = class C4 {
19550
+ let Nh = class p4 {
19551
19551
  constructor() {
19552
19552
  let t, n;
19553
19553
  for (var i = arguments.length, o = new Array(i), s = 0; s < i; s++)
@@ -19560,7 +19560,7 @@ let Nh = class C4 {
19560
19560
  const h = y6({}, n, {
19561
19561
  el: C
19562
19562
  });
19563
- c.push(new C4(h));
19563
+ c.push(new p4(h));
19564
19564
  }), c;
19565
19565
  }
19566
19566
  const a = this;
@@ -19842,12 +19842,12 @@ let Nh = class C4 {
19842
19842
  return up;
19843
19843
  }
19844
19844
  static installModule(t) {
19845
- C4.prototype.__modules__ || (C4.prototype.__modules__ = []);
19846
- const n = C4.prototype.__modules__;
19845
+ p4.prototype.__modules__ || (p4.prototype.__modules__ = []);
19846
+ const n = p4.prototype.__modules__;
19847
19847
  typeof t == "function" && n.indexOf(t) < 0 && n.push(t);
19848
19848
  }
19849
19849
  static use(t) {
19850
- return Array.isArray(t) ? (t.forEach((n) => C4.installModule(n)), C4) : (C4.installModule(t), C4);
19850
+ return Array.isArray(t) ? (t.forEach((n) => p4.installModule(n)), p4) : (p4.installModule(t), p4);
19851
19851
  }
19852
19852
  };
19853
19853
  Object.keys(yc).forEach((e) => {
@@ -23079,7 +23079,7 @@ const Rh = /* @__PURE__ */ v(yC1, [["render", bC1], ["__scopeId", "data-v-4cd691
23079
23079
  ns: pp,
23080
23080
  ...t
23081
23081
  });
23082
- }, $6 = (e) => te(`model.${e}`), pe = (e) => te(`common.${e}`), AL = (e) => te(`actionBar.${e}`), B6 = (e) => te(`brandPageSettings.${e}`), LC1 = (e) => te(`colorPalette.${e}`), PL = (e) => te(`navigation.${e}`), k2 = (e) => te(`converter.${e}`), w3 = (e) => te(`backgroundSettings.${e}`), hp = (e) => te(`colorPicker.${e}`), VC1 = (e) => te(`colorReplacementField.${e}`), $ = (e) => te(`contentSettings.${e}`), G0 = (e) => te(`formFields.${e}`), HC1 = (e) => te(`genericTextInput.${e}`), xC1 = (e) => te(`imagesField.${e}`), IC1 = (e) => te(`linksField.${e}`), $5 = (e) => te(`paymentConfig.${e}`), EC1 = (e) => te(`shapeField.${e}`), AC1 = (e) => te(`testimonialItemsField.${e}`), PC1 = (e) => te(`textField.${e}`), U2 = (e) => te(`textImageField.${e}`), BC1 = (e) => te(`textItemsField.${e}`), sn = (e) => te(`textStyleField.${e}`), OC1 = (e) => te(`textAreaField.${e}`), $C1 = (e) => te(`bookingUrlField.${e}`), DC1 = (e) => te(`productConfigOption.${e}`), fp = (e) => te(`editLogoSettings.${e}`), BL = (e, t = {}) => te(`myUploadSettings.${e}`, t), gn = (e) => te(`pageSettings.${e}`), S4 = (e) => te(`templateSettings.${e}`), W3 = (e) => te(`seoSettings.${e}`), O2 = (e) => te(`styleSettingsSection.${e}`), Sc = (e) => te(`sensitiveContentSettings.${e}`), gp = (e) => te(`socialShare.${e}`), _c = (e) => te(`cookieSettings.${e}`), o4 = (e) => te(`googleAnalytics.${e}`), Mc = (e) => te(`colorField.${e}`), T6 = (e) => te(`validator.${e}`), E3 = (e) => te(`constants.${e}`), Ay = (e) => te(`layoutSwitcher.${e}`), NC1 = (e) => te(`brandpageBackgroundSettings.${e}`), Py = (e) => te(`loginMessage.${e}`), By = (e) => te(`cookie.${e}`), bo = (e) => te(`logoSelectionSettings.${e}`), RC1 = (e) => te(`googleAddressField.${e}`), FC1 = (e) => te(`myDesigns.${e}`), mn = (e) => te(`pageSettings.${e}`), kc = (e) => te(`shapeLibrary.${e}`), ot = (e, t = {}) => te(`error.${e}`, t), p8 = (e) => te(`dropzoneUploader.${e}`), vo = (e) => te(`shop.${e}`), E9 = (e, t = {}) => te(`payment.${e}`, t), h8 = (e, t = {}) => te(`publishBrandPageModalWithState.${e}`, t), UC1 = (e) => te(`existingDomainModal.${e}`), W0 = (e) => te(`uploadLogoModal.${e}`), s4 = (e, t = {}) => te(`sensitiveContentModal.${e}`, t, !0), mp = (e) => te(`quickLinkBar.${e}`), So = (e, t = {}) => te(`brandPageFooter.${e}`, t), b2 = (e) => te(`product.${e}`), ZC1 = (e) => te(`image.${e}`), Oy = (e) => te(`map.${e}`), $y = (e) => te(`imagesSection.${e}`), Ol = (e) => te(`imageGallery.${e}`), zC1 = (e) => te(`newPageModal.${e}`), Tc = (e, t = {}) => te(`personalisationOverride.${e}`, t), f8 = (e, t = {}) => te(`paymentModal.${e}`, t), qC1 = (e, t = {}) => te(`mailingList.${e}`, t), GC1 = (e, t = {}) => te(`deletePageModal.${e}`, t), g8 = (e, t = {}) => te(`deleteDomainModal.${e}`, t), OL = (e, t = {}) => te(`requestPaymentStripe.${e}`, t), i7 = (e, t = {}) => te(`productDetailModal.${e}`, t), WC1 = (e, t = {}) => te(`video.${e}`, t), jC1 = (e, t = {}) => te(`confirmModal.${e}`, t), _o = (e) => te(`videoLibrary.${e}`), Dy = (e, t = {}) => te(`logoSwitchConfirmationModal.${e}`, t), Mo = (e, t = {}) => te(`logoTemplateSearchModal.${e}`, t), q3 = (e, t = {}) => te(`aiModal.${e}`, t), zr = (e, t = {}) => te(`saveContactWidget.${e}`, t), rn = () => {
23082
+ }, $6 = (e) => te(`model.${e}`), pe = (e) => te(`common.${e}`), AL = (e) => te(`actionBar.${e}`), B6 = (e) => te(`brandPageSettings.${e}`), LC1 = (e) => te(`colorPalette.${e}`), PL = (e) => te(`navigation.${e}`), k2 = (e) => te(`converter.${e}`), w3 = (e) => te(`backgroundSettings.${e}`), hp = (e) => te(`colorPicker.${e}`), VC1 = (e) => te(`colorReplacementField.${e}`), $ = (e) => te(`contentSettings.${e}`), G0 = (e) => te(`formFields.${e}`), HC1 = (e) => te(`genericTextInput.${e}`), xC1 = (e) => te(`imagesField.${e}`), IC1 = (e) => te(`linksField.${e}`), $5 = (e) => te(`paymentConfig.${e}`), EC1 = (e) => te(`shapeField.${e}`), AC1 = (e) => te(`testimonialItemsField.${e}`), PC1 = (e) => te(`textField.${e}`), U2 = (e) => te(`textImageField.${e}`), BC1 = (e) => te(`textItemsField.${e}`), sn = (e) => te(`textStyleField.${e}`), OC1 = (e) => te(`textAreaField.${e}`), $C1 = (e) => te(`bookingUrlField.${e}`), DC1 = (e) => te(`productConfigOption.${e}`), fp = (e) => te(`editLogoSettings.${e}`), BL = (e, t = {}) => te(`myUploadSettings.${e}`, t), gn = (e) => te(`pageSettings.${e}`), _4 = (e) => te(`templateSettings.${e}`), W3 = (e) => te(`seoSettings.${e}`), O2 = (e) => te(`styleSettingsSection.${e}`), Sc = (e) => te(`sensitiveContentSettings.${e}`), gp = (e) => te(`socialShare.${e}`), _c = (e) => te(`cookieSettings.${e}`), s4 = (e) => te(`googleAnalytics.${e}`), Mc = (e) => te(`colorField.${e}`), T6 = (e) => te(`validator.${e}`), E3 = (e) => te(`constants.${e}`), Ay = (e) => te(`layoutSwitcher.${e}`), NC1 = (e) => te(`brandpageBackgroundSettings.${e}`), Py = (e) => te(`loginMessage.${e}`), By = (e) => te(`cookie.${e}`), bo = (e) => te(`logoSelectionSettings.${e}`), RC1 = (e) => te(`googleAddressField.${e}`), FC1 = (e) => te(`myDesigns.${e}`), mn = (e) => te(`pageSettings.${e}`), kc = (e) => te(`shapeLibrary.${e}`), ot = (e, t = {}) => te(`error.${e}`, t), p8 = (e) => te(`dropzoneUploader.${e}`), vo = (e) => te(`shop.${e}`), E9 = (e, t = {}) => te(`payment.${e}`, t), h8 = (e, t = {}) => te(`publishBrandPageModalWithState.${e}`, t), UC1 = (e) => te(`existingDomainModal.${e}`), W0 = (e) => te(`uploadLogoModal.${e}`), r4 = (e, t = {}) => te(`sensitiveContentModal.${e}`, t, !0), mp = (e) => te(`quickLinkBar.${e}`), So = (e, t = {}) => te(`brandPageFooter.${e}`, t), b2 = (e) => te(`product.${e}`), ZC1 = (e) => te(`image.${e}`), Oy = (e) => te(`map.${e}`), $y = (e) => te(`imagesSection.${e}`), Ol = (e) => te(`imageGallery.${e}`), zC1 = (e) => te(`newPageModal.${e}`), Tc = (e, t = {}) => te(`personalisationOverride.${e}`, t), f8 = (e, t = {}) => te(`paymentModal.${e}`, t), qC1 = (e, t = {}) => te(`mailingList.${e}`, t), GC1 = (e, t = {}) => te(`deletePageModal.${e}`, t), g8 = (e, t = {}) => te(`deleteDomainModal.${e}`, t), OL = (e, t = {}) => te(`requestPaymentStripe.${e}`, t), i7 = (e, t = {}) => te(`productDetailModal.${e}`, t), WC1 = (e, t = {}) => te(`video.${e}`, t), jC1 = (e, t = {}) => te(`confirmModal.${e}`, t), _o = (e) => te(`videoLibrary.${e}`), Dy = (e, t = {}) => te(`logoSwitchConfirmationModal.${e}`, t), Mo = (e, t = {}) => te(`logoTemplateSearchModal.${e}`, t), q3 = (e, t = {}) => te(`aiModal.${e}`, t), zr = (e, t = {}) => te(`saveContactWidget.${e}`, t), rn = () => {
23083
23083
  const t = Bl().language;
23084
23084
  return Fh.includes(t) ? t : R8;
23085
23085
  }, KC1 = "Titles", YC1 = "Headings", XC1 = "Paragraphs", JC1 = "Button Texts", QC1 = void 0, ep1 = void 0, tp1 = "2.25rem", Uh = "1.5rem", a6 = "1rem", np1 = "normal", i2 = "1.1", u3 = "1.4", He = "1.5", $L = 12, DL = 12, Zh = 128, NL = 0, RL = 100, FL = 1, UL = 2.5, zh = 200, qh = 1e3, ip1 = 2e3, Gh = () => ot("maxCharacters"), op1 = () => ot("invalidUrlMessage"), sp1 = () => ot("testimonialEmpty"), rp1 = () => ot("textEmpty"), ap1 = "https://fonts.googleapis.com/css2", lp1 = "&display=swap", dp1 = "#000000", ya = {
@@ -24215,7 +24215,7 @@ const y1 = {
24215
24215
  2: "2",
24216
24216
  3: "3",
24217
24217
  4: "4"
24218
- }, k7 = "text-only", L6 = "left-aligned-full-image", e6 = "right-aligned-full-image", ba = "alternate-image", w5 = "big-image", W5 = "media-only", Lc = "columns", $l = "100%", Ny = {
24218
+ }, k7 = "text-only", L6 = "left-aligned-full-image", e6 = "right-aligned-full-image", ba = "alternate-image", w5 = "big-image", j5 = "media-only", Lc = "columns", $l = "100%", Ny = {
24219
24219
  FULL_HD: "q=80&w=1080",
24220
24220
  ULTRA_HD: "q=80&w=2160"
24221
24221
  }, g0 = "csrf-token", ie = Object.freeze({
@@ -24225,7 +24225,7 @@ const y1 = {
24225
24225
  LogoBackgroundMultiColor: "logo-background-multi-color"
24226
24226
  }), va = 0.5, T7 = "3px 3px 0px 0px", L7 = "0px 3px 10px", hp1 = 409, fp1 = () => ot("alreadySubscribedError"), gp1 = () => ot("mailingListError"), mp1 = () => ot("contactMessageError"), Vc = {}, ZL = {
24227
24227
  Stripe: "Stripe"
24228
- }, w4 = "Support Me Custom Amount", yp1 = "index", wp = "slug", zL = "slug-pageSlug", qL = /\/asset\/shape\?/g, h5 = {
24228
+ }, b4 = "Support Me Custom Amount", yp1 = "index", wp = "slug", zL = "slug-pageSlug", qL = /\/asset\/shape\?/g, h5 = {
24229
24229
  LOGO_WITH_TRANSPARENT_BACKGROUND: 0,
24230
24230
  LOGO_WITH_BACKGROUND: 1,
24231
24231
  LOGO_ONLY_WITH_TRANSPARENT_BACKGROUND: 2,
@@ -24812,7 +24812,7 @@ function Sp1() {
24812
24812
  return U ? "Symbol(src)_1." + U : "";
24813
24813
  })(), z1 = N1.toString, q1 = L1.hasOwnProperty, j1 = L1.toString, qe = RegExp(
24814
24814
  "^" + z1.call(q1).replace(o1, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
24815
- ), Ne = re ? fe.Buffer : void 0, Xe = fe.Symbol, _t = fe.Uint8Array, p1 = q(Object.getPrototypeOf, Object), B1 = Object.create, ee = L1.propertyIsEnumerable, Ae = c1.splice, W = Object.getOwnPropertySymbols, l1 = Ne ? Ne.isBuffer : void 0, J1 = q(Object.keys, Object), Me = n9(fe, "DataView"), O1 = n9(fe, "Map"), mt = n9(fe, "Promise"), yt = n9(fe, "Set"), a2 = n9(fe, "WeakMap"), d2 = n9(Object, "create"), t3 = T5(Me), u6 = T5(O1), $t = T5(mt), A2 = T5(yt), Q5 = T5(a2), C6 = Xe ? Xe.prototype : void 0, H3 = C6 ? C6.valueOf : void 0;
24815
+ ), Ne = re ? fe.Buffer : void 0, Xe = fe.Symbol, _t = fe.Uint8Array, p1 = q(Object.getPrototypeOf, Object), B1 = Object.create, ee = L1.propertyIsEnumerable, Ae = c1.splice, W = Object.getOwnPropertySymbols, l1 = Ne ? Ne.isBuffer : void 0, J1 = q(Object.keys, Object), Me = n9(fe, "DataView"), O1 = n9(fe, "Map"), mt = n9(fe, "Promise"), yt = n9(fe, "Set"), a2 = n9(fe, "WeakMap"), d2 = n9(Object, "create"), t3 = T5(Me), u6 = T5(O1), $t = T5(mt), A2 = T5(yt), e4 = T5(a2), C6 = Xe ? Xe.prototype : void 0, H3 = C6 ? C6.valueOf : void 0;
24816
24816
  function x3(U) {
24817
24817
  var f1 = -1, x1 = U ? U.length : 0;
24818
24818
  for (this.clear(); ++f1 < x1; ) {
@@ -24879,7 +24879,7 @@ function Sp1() {
24879
24879
  this.set(ke[0], ke[1]);
24880
24880
  }
24881
24881
  }
24882
- function e4() {
24882
+ function t4() {
24883
24883
  this.__data__ = {
24884
24884
  hash: new x3(),
24885
24885
  map: new (O1 || g3)(),
@@ -24898,7 +24898,7 @@ function Sp1() {
24898
24898
  function s1(U, f1) {
24899
24899
  return t8(this, U).set(U, f1), this;
24900
24900
  }
24901
- p6.prototype.clear = e4, p6.prototype.delete = Q9, p6.prototype.get = we, p6.prototype.has = Q, p6.prototype.set = s1;
24901
+ p6.prototype.clear = t4, p6.prototype.delete = Q9, p6.prototype.get = we, p6.prototype.has = Q, p6.prototype.set = s1;
24902
24902
  function Ce(U) {
24903
24903
  this.__data__ = new g3(U);
24904
24904
  }
@@ -24955,7 +24955,7 @@ function Sp1() {
24955
24955
  if (i3 = Id(U), !f1)
24956
24956
  return ji(U, i3);
24957
24957
  } else {
24958
- var i9 = t4(U), no = i9 == c || i9 == C;
24958
+ var i9 = n4(U), no = i9 == c || i9 == C;
24959
24959
  if ($d(U))
24960
24960
  return Md(U, f1);
24961
24961
  if (i9 == m || i9 == s || no && !y3) {
@@ -25064,8 +25064,8 @@ function Sp1() {
25064
25064
  var x1 = kt(U, f1);
25065
25065
  return Sd(x1) ? x1 : void 0;
25066
25066
  }
25067
- var Ki = W ? q(W, Object) : Dd, t4 = vd;
25068
- (Me && t4(new Me(new ArrayBuffer(1))) != x || O1 && t4(new O1()) != h || mt && t4(mt.resolve()) != y || yt && t4(new yt()) != b || a2 && t4(new a2()) != k) && (t4 = function(U) {
25067
+ var Ki = W ? q(W, Object) : Dd, n4 = vd;
25068
+ (Me && n4(new Me(new ArrayBuffer(1))) != x || O1 && n4(new O1()) != h || mt && n4(mt.resolve()) != y || yt && n4(new yt()) != b || a2 && n4(new a2()) != k) && (n4 = function(U) {
25069
25069
  var f1 = j1.call(U), x1 = f1 == m ? U.constructor : void 0, ke = x1 ? T5(x1) : void 0;
25070
25070
  if (ke)
25071
25071
  switch (ke) {
@@ -25077,7 +25077,7 @@ function Sp1() {
25077
25077
  return y;
25078
25078
  case A2:
25079
25079
  return b;
25080
- case Q5:
25080
+ case e4:
25081
25081
  return k;
25082
25082
  }
25083
25083
  return f1;
@@ -25285,7 +25285,7 @@ class WL {
25285
25285
  );
25286
25286
  }
25287
25287
  }
25288
- class j5 extends WL {
25288
+ class K5 extends WL {
25289
25289
  constructor(t = {}, n) {
25290
25290
  t = r2(t), t.viewport = Y1.desktop, typeof t.displayType > "u" && (t.displayType = k1.TAB_1), super(t, n);
25291
25291
  }
@@ -25300,7 +25300,7 @@ const ge = {
25300
25300
  headings: "headings",
25301
25301
  paragraphs: "paragraphs",
25302
25302
  buttons: "buttons"
25303
- }, b4 = () => ({
25303
+ }, v4 = () => ({
25304
25304
  titles: O2("titles"),
25305
25305
  headings: O2("headings"),
25306
25306
  paragraphs: O2("paragraphs"),
@@ -25589,7 +25589,7 @@ const N7 = {
25589
25589
  none: "none",
25590
25590
  square: "square",
25591
25591
  circle: "circle"
25592
- }, m4 = {
25592
+ }, y4 = {
25593
25593
  none: "none",
25594
25594
  thin: "thin",
25595
25595
  thick: "thick"
@@ -25638,14 +25638,14 @@ class tV {
25638
25638
  }
25639
25639
  class R7 extends tV {
25640
25640
  constructor(t = {}) {
25641
- t = r2(t), t.viewport = Y1.desktop, typeof t.displayStyle > "u" && (t.displayStyle = Q1.DESKTOP_TAB_5, t.navigation = new j5({
25641
+ t = r2(t), t.viewport = Y1.desktop, typeof t.displayStyle > "u" && (t.displayStyle = Q1.DESKTOP_TAB_5, t.navigation = new K5({
25642
25642
  displayType: k1.TAB_1
25643
- })), typeof t.navigation > "u" && (t.navigation = new j5()), super(t);
25643
+ })), typeof t.navigation > "u" && (t.navigation = new K5()), super(t);
25644
25644
  }
25645
25645
  }
25646
25646
  class y0 extends tV {
25647
25647
  constructor(t = {}) {
25648
- t = r2(t), t.viewport = Y1.mobile, typeof t.displayStyle > "u" && (t.displayStyle = Q1.MOBILE_TAB_1, t.navigation = new j5({
25648
+ t = r2(t), t.viewport = Y1.mobile, typeof t.displayStyle > "u" && (t.displayStyle = Q1.MOBILE_TAB_1, t.navigation = new K5({
25649
25649
  displayType: k1.TAB_1
25650
25650
  })), typeof t.navigation > "u" && (t.navigation = new J7()), super(t);
25651
25651
  }
@@ -25786,7 +25786,7 @@ class y9 {
25786
25786
  displayType: "tabs"
25787
25787
  }), this.headerStyles = new R7({
25788
25788
  ...t.headerStyles,
25789
- navigation: new j5(r, n)
25789
+ navigation: new K5(r, n)
25790
25790
  }), this.headerStyles.logoImageUrl = t.headerStyles.logoImageUrl;
25791
25791
  }
25792
25792
  t.footerStyles && (this.footerStyles = new t0({
@@ -25799,7 +25799,7 @@ class y9 {
25799
25799
  )
25800
25800
  }), this.pageHeaderDesktop = new R7({
25801
25801
  ...t.pageHeaderDesktop,
25802
- navigation: new j5(
25802
+ navigation: new K5(
25803
25803
  (s = t.pageHeaderDesktop) == null ? void 0 : s.navigation,
25804
25804
  n
25805
25805
  )
@@ -26724,7 +26724,7 @@ const le = {
26724
26724
  hcg: { channels: 3, labels: ["h", "c", "g"] },
26725
26725
  apple: { channels: 3, labels: ["r16", "g16", "b16"] },
26726
26726
  gray: { channels: 1, labels: ["gray"] }
26727
- }, V4 = (6 / 29) ** 3;
26727
+ }, H4 = (6 / 29) ** 3;
26728
26728
  function j8(e) {
26729
26729
  const t = e > 31308e-7 ? 1.055 * e ** 0.4166666666666667 - 0.055 : e * 12.92;
26730
26730
  return Math.min(Math.max(0, t), 1);
@@ -26835,7 +26835,7 @@ le.rgb.xyz = function(e) {
26835
26835
  le.rgb.lab = function(e) {
26836
26836
  const t = le.rgb.xyz(e);
26837
26837
  let n = t[0], i = t[1], o = t[2];
26838
- n /= 95.047, i /= 100, o /= 108.883, n = n > V4 ? n ** (1 / 3) : 7.787 * n + 16 / 116, i = i > V4 ? i ** (1 / 3) : 7.787 * i + 16 / 116, o = o > V4 ? o ** (1 / 3) : 7.787 * o + 16 / 116;
26838
+ n /= 95.047, i /= 100, o /= 108.883, n = n > H4 ? n ** (1 / 3) : 7.787 * n + 16 / 116, i = i > H4 ? i ** (1 / 3) : 7.787 * i + 16 / 116, o = o > H4 ? o ** (1 / 3) : 7.787 * o + 16 / 116;
26839
26839
  const s = 116 * i - 16, r = 500 * (n - i), a = 200 * (i - o);
26840
26840
  return [s, r, a];
26841
26841
  };
@@ -26934,7 +26934,7 @@ le.xyz.rgb = function(e) {
26934
26934
  };
26935
26935
  le.xyz.lab = function(e) {
26936
26936
  let t = e[0], n = e[1], i = e[2];
26937
- t /= 95.047, n /= 100, i /= 108.883, t = t > V4 ? t ** (1 / 3) : 7.787 * t + 16 / 116, n = n > V4 ? n ** (1 / 3) : 7.787 * n + 16 / 116, i = i > V4 ? i ** (1 / 3) : 7.787 * i + 16 / 116;
26937
+ t /= 95.047, n /= 100, i /= 108.883, t = t > H4 ? t ** (1 / 3) : 7.787 * t + 16 / 116, n = n > H4 ? n ** (1 / 3) : 7.787 * n + 16 / 116, i = i > H4 ? i ** (1 / 3) : 7.787 * i + 16 / 116;
26938
26938
  const o = 116 * n - 16, s = 500 * (t - n), r = 200 * (n - i);
26939
26939
  return [o, s, r];
26940
26940
  };
@@ -26961,7 +26961,7 @@ le.lab.xyz = function(e) {
26961
26961
  let o, s, r;
26962
26962
  s = (t + 16) / 116, o = n / 500 + s, r = s - i / 200;
26963
26963
  const a = s ** 3, l = o ** 3, d = r ** 3;
26964
- return s = a > V4 ? a : (s - 16 / 116) / 7.787, o = l > V4 ? l : (o - 16 / 116) / 7.787, r = d > V4 ? d : (r - 16 / 116) / 7.787, o *= 95.047, s *= 100, r *= 108.883, [o, s, r];
26964
+ return s = a > H4 ? a : (s - 16 / 116) / 7.787, o = l > H4 ? l : (o - 16 / 116) / 7.787, r = d > H4 ? d : (r - 16 / 116) / 7.787, o *= 95.047, s *= 100, r *= 108.883, [o, s, r];
26965
26965
  };
26966
26966
  le.lab.lch = function(e) {
26967
26967
  const t = e[0], n = e[1], i = e[2];
@@ -27754,7 +27754,7 @@ function Xp1() {
27754
27754
  for (var L = [], E = arguments.length; E--; ) L[E] = arguments[E];
27755
27755
  var D = d2(L, "rgb"), z = D[0], X = D[1], t1 = D[2], K = Math.min(z, X, t1), u1 = Math.max(z, X, t1), C1 = u1 - K, V1 = C1 * 100 / 255, F1 = K / (255 - C1) * 100, ce;
27756
27756
  return C1 === 0 ? ce = Number.NaN : (z === u1 && (ce = (X - t1) / C1), X === u1 && (ce = 2 + (t1 - z) / C1), t1 === u1 && (ce = 4 + (z - X) / C1), ce *= 60, ce < 0 && (ce += 360)), [ce, V1, F1];
27757
- }, u6 = t3, $t = y.unpack, A2 = Math.floor, Q5 = function() {
27757
+ }, u6 = t3, $t = y.unpack, A2 = Math.floor, e4 = function() {
27758
27758
  for (var L, E, D, z, X, t1, K = [], u1 = arguments.length; u1--; ) K[u1] = arguments[u1];
27759
27759
  K = $t(K, "hcg");
27760
27760
  var C1 = K[0], V1 = K[1], F1 = K[2], ce, G1, ye;
@@ -27787,7 +27787,7 @@ function Xp1() {
27787
27787
  }
27788
27788
  }
27789
27789
  return [ce, G1, ye, K.length > 3 ? K[3] : 1];
27790
- }, C6 = Q5, H3 = y.unpack, x3 = y.type, j4 = B, K4 = x, n3 = w, I6 = u6;
27790
+ }, C6 = e4, H3 = y.unpack, x3 = y.type, j4 = B, K4 = x, n3 = w, I6 = u6;
27791
27791
  K4.prototype.hcg = function() {
27792
27792
  return I6(this._rgb);
27793
27793
  }, j4.hcg = function() {
@@ -27828,13 +27828,13 @@ function Xp1() {
27828
27828
  return [K, u1, C1, V1];
27829
27829
  }
27830
27830
  throw new Error("unknown hex color: " + L);
27831
- }, e4 = p6, Q9 = B, we = x, Q = y.type, s1 = w, Ce = m3;
27831
+ }, t4 = p6, Q9 = B, we = x, Q = y.type, s1 = w, Ce = m3;
27832
27832
  we.prototype.hex = function(L) {
27833
27833
  return Ce(this._rgb, L);
27834
27834
  }, Q9.hex = function() {
27835
27835
  for (var L = [], E = arguments.length; E--; ) L[E] = arguments[E];
27836
27836
  return new (Function.prototype.bind.apply(we, [null].concat(L, ["hex"])))();
27837
- }, s1.format.hex = e4, s1.autodetect.push({
27837
+ }, s1.format.hex = t4, s1.autodetect.push({
27838
27838
  p: 4,
27839
27839
  test: function(L) {
27840
27840
  for (var E = [], D = arguments.length - 1; D-- > 0; ) E[D] = arguments[D + 1];
@@ -27886,7 +27886,7 @@ function Xp1() {
27886
27886
  L = xd(L, "rgb");
27887
27887
  var D = L[0], z = L[1], X = L[2], t1 = t8(D, z, X), K = n9(D, z, X), u1 = K - t1, C1, V1, F1;
27888
27888
  return F1 = K / 255, K === 0 ? (C1 = Number.NaN, V1 = 0) : (V1 = u1 / K, D === K && (C1 = (z - X) / u1), z === K && (C1 = 2 + (X - D) / u1), X === K && (C1 = 4 + (D - z) / u1), C1 *= 60, C1 < 0 && (C1 += 360)), [C1, V1, F1];
27889
- }, t4 = Ki, Id = y.unpack, Ed = Math.floor, Ad = function() {
27889
+ }, n4 = Ki, Id = y.unpack, Ed = Math.floor, Ad = function() {
27890
27890
  for (var L, E, D, z, X, t1, K = [], u1 = arguments.length; u1--; ) K[u1] = arguments[u1];
27891
27891
  K = Id(K, "hsv");
27892
27892
  var C1 = K[0], V1 = K[1], F1 = K[2], ce, G1, ye;
@@ -27917,7 +27917,7 @@ function Xp1() {
27917
27917
  }
27918
27918
  }
27919
27919
  return [ce, G1, ye, K.length > 3 ? K[3] : 1];
27920
- }, Pd = Ad, Bd = y.unpack, Od = y.type, Yi = B, T5 = x, Xi = w, Ji = t4;
27920
+ }, Pd = Ad, Bd = y.unpack, Od = y.type, Yi = B, T5 = x, Xi = w, Ji = n4;
27921
27921
  T5.prototype.hsv = function() {
27922
27922
  return Ji(this._rgb);
27923
27923
  }, Yi.hsv = function() {
@@ -28179,7 +28179,7 @@ function Xp1() {
28179
28179
  whitesmoke: "#f5f5f5",
28180
28180
  yellow: "#ffff00",
28181
28181
  yellowgreen: "#9acd32"
28182
- }, Fg = wP, bP = x, Ug = w, vP = y.type, R0 = Fg, SP = e4, _P = m3;
28182
+ }, Fg = wP, bP = x, Ug = w, vP = y.type, R0 = Fg, SP = t4, _P = m3;
28183
28183
  bP.prototype.name = function() {
28184
28184
  for (var L = _P(this._rgb, "rgb"), E = 0, D = Object.keys(R0); E < D.length; E += 1) {
28185
28185
  var z = D[E];
@@ -28922,13 +28922,13 @@ function Xp1() {
28922
28922
  a9[c8] = [];
28923
28923
  for (var u8 = 0; u8 < dt; u8++)
28924
28924
  tt = wt[u8], a9[tt].push(t1[u8]);
28925
- for (var i4 = [], t7 = 0; t7 < D; t7++)
28926
- i4.push(a9[t7][0]), i4.push(a9[t7][a9[t7].length - 1]);
28927
- i4 = i4.sort(function(sc, rc) {
28925
+ for (var o4 = [], t7 = 0; t7 < D; t7++)
28926
+ o4.push(a9[t7][0]), o4.push(a9[t7][a9[t7].length - 1]);
28927
+ o4 = o4.sort(function(sc, rc) {
28928
28928
  return sc - rc;
28929
- }), K.push(i4[0]);
28930
- for (var U0 = 1; U0 < i4.length; U0 += 2) {
28931
- var n7 = i4[U0];
28929
+ }), K.push(o4[0]);
28930
+ for (var U0 = 1; U0 < o4.length; U0 += 2) {
28931
+ var n7 = o4[U0];
28932
28932
  !isNaN(n7) && K.indexOf(n7) === -1 && K.push(n7);
28933
28933
  }
28934
28934
  }
@@ -28937,7 +28937,7 @@ function Xp1() {
28937
28937
  L = new wm(L), E = new wm(E);
28938
28938
  var D = L.luminance(), z = E.luminance();
28939
28939
  return D > z ? (D + 0.05) / (z + 0.05) : (z + 0.05) / (D + 0.05);
28940
- }, bm = x, n4 = Math.sqrt, T2 = Math.pow, MO = Math.min, kO = Math.max, vm = Math.atan2, Sm = Math.abs, uo = Math.cos, _m = Math.sin, TO = Math.exp, Mm = Math.PI, LO = function(L, E, D, z, X) {
28940
+ }, bm = x, i4 = Math.sqrt, T2 = Math.pow, MO = Math.min, kO = Math.max, vm = Math.atan2, Sm = Math.abs, uo = Math.cos, _m = Math.sin, TO = Math.exp, Mm = Math.PI, LO = function(L, E, D, z, X) {
28941
28941
  D === void 0 && (D = 1), z === void 0 && (z = 1), X === void 0 && (X = 1);
28942
28942
  var t1 = function(n7) {
28943
28943
  return 360 * n7 / (2 * Mm);
@@ -28945,9 +28945,9 @@ function Xp1() {
28945
28945
  return 2 * Mm * n7 / 360;
28946
28946
  };
28947
28947
  L = new bm(L), E = new bm(E);
28948
- var u1 = Array.from(L.lab()), C1 = u1[0], V1 = u1[1], F1 = u1[2], ce = Array.from(E.lab()), G1 = ce[0], ye = ce[1], me = ce[2], tt = (C1 + G1) / 2, dt = n4(T2(V1, 2) + T2(F1, 2)), wt = n4(T2(ye, 2) + T2(me, 2)), Tt = (dt + wt) / 2, o3 = 0.5 * (1 - n4(T2(Tt, 7) / (T2(Tt, 7) + T2(25, 7)))), F2 = V1 * (1 + o3), z3 = ye * (1 + o3), ht = n4(T2(F2, 2) + T2(F1, 2)), W1 = n4(T2(z3, 2) + T2(me, 2)), Ie = (ht + W1) / 2, st = t1(vm(F1, F2)), nt = t1(vm(me, z3)), s3 = st >= 0 ? st : st + 360, Xt = nt >= 0 ? nt : nt + 360, bt = Sm(s3 - Xt) > 180 ? (s3 + Xt + 360) / 2 : (s3 + Xt) / 2, xt = 1 - 0.17 * uo(K(bt - 30)) + 0.24 * uo(K(2 * bt)) + 0.32 * uo(K(3 * bt + 6)) - 0.2 * uo(K(4 * bt - 63)), It = Xt - s3;
28949
- It = Sm(It) <= 180 ? It : Xt <= s3 ? It + 360 : It - 360, It = 2 * n4(ht * W1) * _m(K(It) / 2);
28950
- var Dt = G1 - C1, a5 = W1 - ht, r9 = 1 + 0.015 * T2(tt - 50, 2) / n4(20 + T2(tt - 50, 2)), a9 = 1 + 0.045 * Ie, c8 = 1 + 0.015 * Ie * xt, u8 = 30 * TO(-T2((bt - 275) / 25, 2)), i4 = 2 * n4(T2(Ie, 7) / (T2(Ie, 7) + T2(25, 7))), t7 = -i4 * _m(2 * K(u8)), U0 = n4(T2(Dt / (D * r9), 2) + T2(a5 / (z * a9), 2) + T2(It / (X * c8), 2) + t7 * (a5 / (z * a9)) * (It / (X * c8)));
28948
+ var u1 = Array.from(L.lab()), C1 = u1[0], V1 = u1[1], F1 = u1[2], ce = Array.from(E.lab()), G1 = ce[0], ye = ce[1], me = ce[2], tt = (C1 + G1) / 2, dt = i4(T2(V1, 2) + T2(F1, 2)), wt = i4(T2(ye, 2) + T2(me, 2)), Tt = (dt + wt) / 2, o3 = 0.5 * (1 - i4(T2(Tt, 7) / (T2(Tt, 7) + T2(25, 7)))), F2 = V1 * (1 + o3), z3 = ye * (1 + o3), ht = i4(T2(F2, 2) + T2(F1, 2)), W1 = i4(T2(z3, 2) + T2(me, 2)), Ie = (ht + W1) / 2, st = t1(vm(F1, F2)), nt = t1(vm(me, z3)), s3 = st >= 0 ? st : st + 360, Xt = nt >= 0 ? nt : nt + 360, bt = Sm(s3 - Xt) > 180 ? (s3 + Xt + 360) / 2 : (s3 + Xt) / 2, xt = 1 - 0.17 * uo(K(bt - 30)) + 0.24 * uo(K(2 * bt)) + 0.32 * uo(K(3 * bt + 6)) - 0.2 * uo(K(4 * bt - 63)), It = Xt - s3;
28949
+ It = Sm(It) <= 180 ? It : Xt <= s3 ? It + 360 : It - 360, It = 2 * i4(ht * W1) * _m(K(It) / 2);
28950
+ var Dt = G1 - C1, a5 = W1 - ht, r9 = 1 + 0.015 * T2(tt - 50, 2) / i4(20 + T2(tt - 50, 2)), a9 = 1 + 0.045 * Ie, c8 = 1 + 0.015 * Ie * xt, u8 = 30 * TO(-T2((bt - 275) / 25, 2)), o4 = 2 * i4(T2(Ie, 7) / (T2(Ie, 7) + T2(25, 7))), t7 = -o4 * _m(2 * K(u8)), U0 = i4(T2(Dt / (D * r9), 2) + T2(a5 / (z * a9), 2) + T2(It / (X * c8), 2) + t7 * (a5 / (z * a9)) * (It / (X * c8)));
28951
28951
  return kO(0, MO(100, U0));
28952
28952
  }, km = x, VO = function(L, E, D) {
28953
28953
  D === void 0 && (D = "lab"), L = new km(L), E = new km(E);
@@ -29036,7 +29036,7 @@ const Yy = /* @__PURE__ */ _5(Jp1), Tp = Object.freeze(["id", "type", "role"]),
29036
29036
  isEnabled: typeof t.isEnabled == "function" ? t.isEnabled(e) : t.isEnabled,
29037
29037
  isLocked: typeof t.isLocked == "function" ? t.isLocked(e) : !1
29038
29038
  }), th1 = (e, t) => {
29039
- const n = y4()[e.type], i = Object.assign(
29039
+ const n = w4()[e.type], i = Object.assign(
29040
29040
  n.createInitialContent(t),
29041
29041
  e
29042
29042
  ), o = Object.keys(
@@ -29183,10 +29183,10 @@ function bh1(e) {
29183
29183
  c5(e, t) || (e[t] = null);
29184
29184
  return e;
29185
29185
  }
29186
- function p4(e) {
29186
+ function h4(e) {
29187
29187
  const t = CV(null);
29188
29188
  for (const [n, i] of uV(e))
29189
- c5(e, n) && (Array.isArray(i) ? t[n] = bh1(i) : i && typeof i == "object" && i.constructor === Object ? t[n] = p4(i) : t[n] = i);
29189
+ c5(e, n) && (Array.isArray(i) ? t[n] = bh1(i) : i && typeof i == "object" && i.constructor === Object ? t[n] = h4(i) : t[n] = i);
29190
29190
  return t;
29191
29191
  }
29192
29192
  function X0(e, t) {
@@ -29350,13 +29350,13 @@ function fV() {
29350
29350
  let d2 = null;
29351
29351
  const t3 = ["application/xhtml+xml", "text/html"], u6 = "text/html";
29352
29352
  let $t = null, A2 = null;
29353
- const Q5 = n.createElement("form"), C6 = function(Q) {
29353
+ const e4 = n.createElement("form"), C6 = function(Q) {
29354
29354
  return Q instanceof RegExp || Q instanceof Function;
29355
29355
  }, H3 = function() {
29356
29356
  let Q = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
29357
29357
  if (!(A2 && A2 === Q)) {
29358
- if ((!Q || typeof Q != "object") && (Q = {}), Q = p4(Q), d2 = // eslint-disable-next-line unicorn/prefer-includes
29359
- t3.indexOf(Q.PARSER_MEDIA_TYPE) === -1 ? u6 : Q.PARSER_MEDIA_TYPE, $t = d2 === "application/xhtml+xml" ? xc : Wr, A1 = c5(Q, "ALLOWED_TAGS") ? ct({}, Q.ALLOWED_TAGS, $t) : ae, fe = c5(Q, "ALLOWED_ATTR") ? ct({}, Q.ALLOWED_ATTR, $t) : se, Me = c5(Q, "ALLOWED_NAMESPACES") ? ct({}, Q.ALLOWED_NAMESPACES, xc) : O1, p1 = c5(Q, "ADD_URI_SAFE_ATTR") ? ct(p4(B1), Q.ADD_URI_SAFE_ATTR, $t) : B1, Xe = c5(Q, "ADD_DATA_URI_TAGS") ? ct(p4(_t), Q.ADD_DATA_URI_TAGS, $t) : _t, qe = c5(Q, "FORBID_CONTENTS") ? ct({}, Q.FORBID_CONTENTS, $t) : Ne, re = c5(Q, "FORBID_TAGS") ? ct({}, Q.FORBID_TAGS, $t) : p4({}), _e = c5(Q, "FORBID_ATTR") ? ct({}, Q.FORBID_ATTR, $t) : p4({}), j1 = c5(Q, "USE_PROFILES") ? Q.USE_PROFILES : !1, $e = Q.ALLOW_ARIA_ATTR !== !1, De = Q.ALLOW_DATA_ATTR !== !1, Vt = Q.ALLOW_UNKNOWN_PROTOCOLS || !1, pt = Q.ALLOW_SELF_CLOSE_IN_ATTR !== !1, ze = Q.SAFE_FOR_TEMPLATES || !1, kt = Q.SAFE_FOR_XML !== !1, lt = Q.WHOLE_DOCUMENT || !1, j = Q.RETURN_DOM || !1, c1 = Q.RETURN_DOM_FRAGMENT || !1, N1 = Q.RETURN_TRUSTED_TYPE || !1, q = Q.FORCE_BODY || !1, L1 = Q.SANITIZE_DOM !== !1, d1 = Q.SANITIZE_NAMED_PROPS || !1, z1 = Q.KEEP_CONTENT !== !1, q1 = Q.IN_PLACE || !1, M1 = Q.ALLOWED_URI_REGEXP || pV, l1 = Q.NAMESPACE || W, mt = Q.MATHML_TEXT_INTEGRATION_POINTS || mt, yt = Q.HTML_INTEGRATION_POINTS || yt, Z1 = Q.CUSTOM_ELEMENT_HANDLING || {}, Q.CUSTOM_ELEMENT_HANDLING && C6(Q.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (Z1.tagNameCheck = Q.CUSTOM_ELEMENT_HANDLING.tagNameCheck), Q.CUSTOM_ELEMENT_HANDLING && C6(Q.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (Z1.attributeNameCheck = Q.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), Q.CUSTOM_ELEMENT_HANDLING && typeof Q.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (Z1.allowCustomizedBuiltInElements = Q.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), ze && (De = !1), c1 && (j = !0), j1 && (A1 = ct({}, ow), fe = [], j1.html === !0 && (ct(A1, iw), ct(fe, sw)), j1.svg === !0 && (ct(A1, Ic), ct(fe, Pc), ct(fe, xo)), j1.svgFilters === !0 && (ct(A1, Ec), ct(fe, Pc), ct(fe, xo)), j1.mathMl === !0 && (ct(A1, Ac), ct(fe, rw), ct(fe, xo))), Q.ADD_TAGS && (A1 === ae && (A1 = p4(A1)), ct(A1, Q.ADD_TAGS, $t)), Q.ADD_ATTR && (fe === se && (fe = p4(fe)), ct(fe, Q.ADD_ATTR, $t)), Q.ADD_URI_SAFE_ATTR && ct(p1, Q.ADD_URI_SAFE_ATTR, $t), Q.FORBID_CONTENTS && (qe === Ne && (qe = p4(qe)), ct(qe, Q.FORBID_CONTENTS, $t)), z1 && (A1["#text"] = !0), lt && ct(A1, ["html", "head", "body"]), A1.table && (ct(A1, ["tbody"]), delete re.tbody), Q.TRUSTED_TYPES_POLICY) {
29358
+ if ((!Q || typeof Q != "object") && (Q = {}), Q = h4(Q), d2 = // eslint-disable-next-line unicorn/prefer-includes
29359
+ t3.indexOf(Q.PARSER_MEDIA_TYPE) === -1 ? u6 : Q.PARSER_MEDIA_TYPE, $t = d2 === "application/xhtml+xml" ? xc : Wr, A1 = c5(Q, "ALLOWED_TAGS") ? ct({}, Q.ALLOWED_TAGS, $t) : ae, fe = c5(Q, "ALLOWED_ATTR") ? ct({}, Q.ALLOWED_ATTR, $t) : se, Me = c5(Q, "ALLOWED_NAMESPACES") ? ct({}, Q.ALLOWED_NAMESPACES, xc) : O1, p1 = c5(Q, "ADD_URI_SAFE_ATTR") ? ct(h4(B1), Q.ADD_URI_SAFE_ATTR, $t) : B1, Xe = c5(Q, "ADD_DATA_URI_TAGS") ? ct(h4(_t), Q.ADD_DATA_URI_TAGS, $t) : _t, qe = c5(Q, "FORBID_CONTENTS") ? ct({}, Q.FORBID_CONTENTS, $t) : Ne, re = c5(Q, "FORBID_TAGS") ? ct({}, Q.FORBID_TAGS, $t) : h4({}), _e = c5(Q, "FORBID_ATTR") ? ct({}, Q.FORBID_ATTR, $t) : h4({}), j1 = c5(Q, "USE_PROFILES") ? Q.USE_PROFILES : !1, $e = Q.ALLOW_ARIA_ATTR !== !1, De = Q.ALLOW_DATA_ATTR !== !1, Vt = Q.ALLOW_UNKNOWN_PROTOCOLS || !1, pt = Q.ALLOW_SELF_CLOSE_IN_ATTR !== !1, ze = Q.SAFE_FOR_TEMPLATES || !1, kt = Q.SAFE_FOR_XML !== !1, lt = Q.WHOLE_DOCUMENT || !1, j = Q.RETURN_DOM || !1, c1 = Q.RETURN_DOM_FRAGMENT || !1, N1 = Q.RETURN_TRUSTED_TYPE || !1, q = Q.FORCE_BODY || !1, L1 = Q.SANITIZE_DOM !== !1, d1 = Q.SANITIZE_NAMED_PROPS || !1, z1 = Q.KEEP_CONTENT !== !1, q1 = Q.IN_PLACE || !1, M1 = Q.ALLOWED_URI_REGEXP || pV, l1 = Q.NAMESPACE || W, mt = Q.MATHML_TEXT_INTEGRATION_POINTS || mt, yt = Q.HTML_INTEGRATION_POINTS || yt, Z1 = Q.CUSTOM_ELEMENT_HANDLING || {}, Q.CUSTOM_ELEMENT_HANDLING && C6(Q.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (Z1.tagNameCheck = Q.CUSTOM_ELEMENT_HANDLING.tagNameCheck), Q.CUSTOM_ELEMENT_HANDLING && C6(Q.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (Z1.attributeNameCheck = Q.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), Q.CUSTOM_ELEMENT_HANDLING && typeof Q.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (Z1.allowCustomizedBuiltInElements = Q.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), ze && (De = !1), c1 && (j = !0), j1 && (A1 = ct({}, ow), fe = [], j1.html === !0 && (ct(A1, iw), ct(fe, sw)), j1.svg === !0 && (ct(A1, Ic), ct(fe, Pc), ct(fe, xo)), j1.svgFilters === !0 && (ct(A1, Ec), ct(fe, Pc), ct(fe, xo)), j1.mathMl === !0 && (ct(A1, Ac), ct(fe, rw), ct(fe, xo))), Q.ADD_TAGS && (A1 === ae && (A1 = h4(A1)), ct(A1, Q.ADD_TAGS, $t)), Q.ADD_ATTR && (fe === se && (fe = h4(fe)), ct(fe, Q.ADD_ATTR, $t)), Q.ADD_URI_SAFE_ATTR && ct(p1, Q.ADD_URI_SAFE_ATTR, $t), Q.FORBID_CONTENTS && (qe === Ne && (qe = h4(qe)), ct(qe, Q.FORBID_CONTENTS, $t)), z1 && (A1["#text"] = !0), lt && ct(A1, ["html", "head", "body"]), A1.table && (ct(A1, ["tbody"]), delete re.tbody), Q.TRUSTED_TYPES_POLICY) {
29360
29360
  if (typeof Q.TRUSTED_TYPES_POLICY.createHTML != "function")
29361
29361
  throw Y0('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
29362
29362
  if (typeof Q.TRUSTED_TYPES_POLICY.createScriptURL != "function")
@@ -29479,7 +29479,7 @@ function fV() {
29479
29479
  element: Q.cloneNode()
29480
29480
  }), Q.textContent = s1)), m3(Y.afterSanitizeElements, Q, null), !1);
29481
29481
  }, Q4 = function(Q, s1, Ce) {
29482
- if (L1 && (s1 === "id" || s1 === "name") && (Ce in n || Ce in Q5))
29482
+ if (L1 && (s1 === "id" || s1 === "name") && (Ce in n || Ce in e4))
29483
29483
  return !1;
29484
29484
  if (!(De && !_e[s1] && I3(T1, s1))) {
29485
29485
  if (!($e && I3(o1, s1))) {
@@ -29507,7 +29507,7 @@ function fV() {
29507
29507
  return !0;
29508
29508
  }, p6 = function(Q) {
29509
29509
  return Q !== "annotation-xml" && nw(Q, D1);
29510
- }, e4 = function(Q) {
29510
+ }, t4 = function(Q) {
29511
29511
  m3(Y.beforeSanitizeAttributes, Q, null);
29512
29512
  const {
29513
29513
  attributes: s1
@@ -29574,7 +29574,7 @@ function fV() {
29574
29574
  let s1 = null;
29575
29575
  const Ce = g3(Q);
29576
29576
  for (m3(Y.beforeSanitizeShadowDOM, Q, null); s1 = Ce.nextNode(); )
29577
- m3(Y.uponSanitizeShadowNode, s1, null), J4(s1), e4(s1), s1.content instanceof s && we(s1.content);
29577
+ m3(Y.uponSanitizeShadowNode, s1, null), J4(s1), t4(s1), s1.content instanceof s && we(s1.content);
29578
29578
  m3(Y.afterSanitizeShadowDOM, Q, null);
29579
29579
  };
29580
29580
  return t.sanitize = function(we) {
@@ -29605,7 +29605,7 @@ function fV() {
29605
29605
  s1 && q && n3(s1.firstChild);
29606
29606
  const Pe = g3(q1 ? we : s1);
29607
29607
  for (; Ht = Pe.nextNode(); )
29608
- J4(Ht), e4(Ht), Ht.content instanceof s && Q9(Ht.content);
29608
+ J4(Ht), t4(Ht), Ht.content instanceof s && Q9(Ht.content);
29609
29609
  if (q1)
29610
29610
  return we;
29611
29611
  if (j) {
@@ -30442,7 +30442,7 @@ const Fh1 = () => (Bc || (Bc = Ah1), Bc), Uh1 = (e) => zh1(e, Fh1()), Zh1 = (e)
30442
30442
  'applyLogoThemeToBrandPageNavigationStyles: Must provide "navigation"'
30443
30443
  );
30444
30444
  let n = !1;
30445
- const o = t.viewport === Y1.mobile ? new J7() : new j5();
30445
+ const o = t.viewport === Y1.mobile ? new J7() : new K5();
30446
30446
  for (const [s, r] of Object.entries(t))
30447
30447
  if (typeof r == "string" || typeof r == "boolean")
30448
30448
  o[s] = r;
@@ -30699,7 +30699,7 @@ const Fh1 = () => (Bc || (Bc = Ah1), Bc), Uh1 = (e) => zh1(e, Fh1()), Zh1 = (e)
30699
30699
  },
30700
30700
  {}
30701
30701
  );
30702
- }, H4 = ({
30702
+ }, x4 = ({
30703
30703
  backgroundColors: e,
30704
30704
  textColors: t
30705
30705
  }) => {
@@ -31990,7 +31990,7 @@ const Ou = /* @__PURE__ */ _5(Uf1), TV = (e) => {
31990
31990
  defaultButtonStyle: l,
31991
31991
  selectedButtonStyle: d,
31992
31992
  hamburgerMenuStyle: g
31993
- }) : new j5({
31993
+ }) : new K5({
31994
31994
  ...e.navigation,
31995
31995
  defaultButtonStyle: l,
31996
31996
  selectedButtonStyle: d,
@@ -36724,7 +36724,7 @@ function Rm1() {
36724
36724
  Object.defineProperty(t, "__esModule", {
36725
36725
  value: !0
36726
36726
  }), t.default = void 0;
36727
- var i = s1(/* @__PURE__ */ lf()), o = s1(/* @__PURE__ */ jV()), s = s1(/* @__PURE__ */ fg1()), r = s1(/* @__PURE__ */ gg1()), a = s1(/* @__PURE__ */ mg1()), l = s1(/* @__PURE__ */ yg1()), d = s1(/* @__PURE__ */ wg1()), c = s1(/* @__PURE__ */ XV()), C = s1(/* @__PURE__ */ JV()), h = s1(/* @__PURE__ */ bg1()), g = s1(/* @__PURE__ */ Wl()), m = s1(/* @__PURE__ */ vg1()), y = s1(/* @__PURE__ */ df()), w = s1(/* @__PURE__ */ QV()), b = s1(/* @__PURE__ */ Sg1()), S = s1(/* @__PURE__ */ _g1()), _ = s1(/* @__PURE__ */ Mg1()), k = Q(/* @__PURE__ */ kg1()), V = Q(/* @__PURE__ */ Tg1()), x = s1(/* @__PURE__ */ Lg1()), F = s1(/* @__PURE__ */ Vg1()), B = s1(/* @__PURE__ */ Hg1()), R = s1(/* @__PURE__ */ xg1()), Z = s1(/* @__PURE__ */ Ig1()), Y = s1(/* @__PURE__ */ Eg1()), h1 = s1(/* @__PURE__ */ Ag1()), G = s1(/* @__PURE__ */ eH()), m1 = s1(/* @__PURE__ */ tH()), T1 = s1(/* @__PURE__ */ Pg1()), o1 = s1(/* @__PURE__ */ Bg1()), v1 = s1(/* @__PURE__ */ $g1()), r1 = s1(/* @__PURE__ */ Dg1()), D1 = s1(/* @__PURE__ */ cf()), M1 = Q(/* @__PURE__ */ WV()), A1 = s1(/* @__PURE__ */ Rg1()), ae = s1(/* @__PURE__ */ nH()), fe = s1(/* @__PURE__ */ Fg1()), se = s1(/* @__PURE__ */ Ug1()), Z1 = s1(/* @__PURE__ */ oV()), re = s1(/* @__PURE__ */ Zg1()), _e = s1(/* @__PURE__ */ zg1()), $e = s1(/* @__PURE__ */ qg1()), De = Q(/* @__PURE__ */ Gg1()), Vt = s1(/* @__PURE__ */ Wg1()), pt = s1(/* @__PURE__ */ jg1()), ze = s1(/* @__PURE__ */ Kg1()), kt = s1(/* @__PURE__ */ Yg1()), lt = s1(/* @__PURE__ */ Xg1()), Ot = s1(/* @__PURE__ */ Jg1()), q = s1(/* @__PURE__ */ Qg1()), j = s1(/* @__PURE__ */ YV()), c1 = s1(/* @__PURE__ */ em1()), N1 = s1(/* @__PURE__ */ tm1()), L1 = s1(/* @__PURE__ */ nm1()), d1 = s1(/* @__PURE__ */ im1()), n1 = s1(/* @__PURE__ */ om1()), z1 = s1(/* @__PURE__ */ sH()), q1 = s1(/* @__PURE__ */ sm1()), j1 = s1(/* @__PURE__ */ rm1()), qe = s1(/* @__PURE__ */ am1()), Ne = s1(/* @__PURE__ */ lm1()), Xe = s1(/* @__PURE__ */ dm1()), _t = s1(/* @__PURE__ */ cm1()), p1 = s1(/* @__PURE__ */ um1()), B1 = Q(/* @__PURE__ */ Cm1()), ee = s1(/* @__PURE__ */ pm1()), Ae = s1(/* @__PURE__ */ hm1()), W = s1(/* @__PURE__ */ fm1()), l1 = /* @__PURE__ */ gm1(), J1 = s1(/* @__PURE__ */ mm1()), Me = s1(/* @__PURE__ */ ym1()), O1 = s1(/* @__PURE__ */ wm1()), mt = s1(/* @__PURE__ */ iH()), yt = s1(/* @__PURE__ */ bm1()), a2 = s1(/* @__PURE__ */ vm1()), d2 = s1(/* @__PURE__ */ Sm1()), t3 = s1(/* @__PURE__ */ _m1()), u6 = s1(/* @__PURE__ */ oH()), $t = s1(/* @__PURE__ */ Mm1()), A2 = s1(/* @__PURE__ */ km1()), Q5 = s1(/* @__PURE__ */ Tm1()), C6 = s1(/* @__PURE__ */ Lm1()), H3 = s1(/* @__PURE__ */ Vm1()), x3 = Q(/* @__PURE__ */ Hm1()), j4 = s1(/* @__PURE__ */ lH()), K4 = s1(/* @__PURE__ */ aH()), n3 = s1(/* @__PURE__ */ dH()), I6 = s1(/* @__PURE__ */ xm1()), Y4 = s1(/* @__PURE__ */ Im1()), g3 = s1(/* @__PURE__ */ Em1()), E6 = s1(/* @__PURE__ */ Am1()), X4 = s1(/* @__PURE__ */ cH()), m3 = s1(/* @__PURE__ */ Pm1()), J4 = s1(/* @__PURE__ */ Bm1()), Q4 = s1(/* @__PURE__ */ Om1()), p6 = s1(/* @__PURE__ */ $m1()), e4 = s1(/* @__PURE__ */ Dm1()), Q9 = s1(/* @__PURE__ */ Nm1());
36727
+ var i = s1(/* @__PURE__ */ lf()), o = s1(/* @__PURE__ */ jV()), s = s1(/* @__PURE__ */ fg1()), r = s1(/* @__PURE__ */ gg1()), a = s1(/* @__PURE__ */ mg1()), l = s1(/* @__PURE__ */ yg1()), d = s1(/* @__PURE__ */ wg1()), c = s1(/* @__PURE__ */ XV()), C = s1(/* @__PURE__ */ JV()), h = s1(/* @__PURE__ */ bg1()), g = s1(/* @__PURE__ */ Wl()), m = s1(/* @__PURE__ */ vg1()), y = s1(/* @__PURE__ */ df()), w = s1(/* @__PURE__ */ QV()), b = s1(/* @__PURE__ */ Sg1()), S = s1(/* @__PURE__ */ _g1()), _ = s1(/* @__PURE__ */ Mg1()), k = Q(/* @__PURE__ */ kg1()), V = Q(/* @__PURE__ */ Tg1()), x = s1(/* @__PURE__ */ Lg1()), F = s1(/* @__PURE__ */ Vg1()), B = s1(/* @__PURE__ */ Hg1()), R = s1(/* @__PURE__ */ xg1()), Z = s1(/* @__PURE__ */ Ig1()), Y = s1(/* @__PURE__ */ Eg1()), h1 = s1(/* @__PURE__ */ Ag1()), G = s1(/* @__PURE__ */ eH()), m1 = s1(/* @__PURE__ */ tH()), T1 = s1(/* @__PURE__ */ Pg1()), o1 = s1(/* @__PURE__ */ Bg1()), v1 = s1(/* @__PURE__ */ $g1()), r1 = s1(/* @__PURE__ */ Dg1()), D1 = s1(/* @__PURE__ */ cf()), M1 = Q(/* @__PURE__ */ WV()), A1 = s1(/* @__PURE__ */ Rg1()), ae = s1(/* @__PURE__ */ nH()), fe = s1(/* @__PURE__ */ Fg1()), se = s1(/* @__PURE__ */ Ug1()), Z1 = s1(/* @__PURE__ */ oV()), re = s1(/* @__PURE__ */ Zg1()), _e = s1(/* @__PURE__ */ zg1()), $e = s1(/* @__PURE__ */ qg1()), De = Q(/* @__PURE__ */ Gg1()), Vt = s1(/* @__PURE__ */ Wg1()), pt = s1(/* @__PURE__ */ jg1()), ze = s1(/* @__PURE__ */ Kg1()), kt = s1(/* @__PURE__ */ Yg1()), lt = s1(/* @__PURE__ */ Xg1()), Ot = s1(/* @__PURE__ */ Jg1()), q = s1(/* @__PURE__ */ Qg1()), j = s1(/* @__PURE__ */ YV()), c1 = s1(/* @__PURE__ */ em1()), N1 = s1(/* @__PURE__ */ tm1()), L1 = s1(/* @__PURE__ */ nm1()), d1 = s1(/* @__PURE__ */ im1()), n1 = s1(/* @__PURE__ */ om1()), z1 = s1(/* @__PURE__ */ sH()), q1 = s1(/* @__PURE__ */ sm1()), j1 = s1(/* @__PURE__ */ rm1()), qe = s1(/* @__PURE__ */ am1()), Ne = s1(/* @__PURE__ */ lm1()), Xe = s1(/* @__PURE__ */ dm1()), _t = s1(/* @__PURE__ */ cm1()), p1 = s1(/* @__PURE__ */ um1()), B1 = Q(/* @__PURE__ */ Cm1()), ee = s1(/* @__PURE__ */ pm1()), Ae = s1(/* @__PURE__ */ hm1()), W = s1(/* @__PURE__ */ fm1()), l1 = /* @__PURE__ */ gm1(), J1 = s1(/* @__PURE__ */ mm1()), Me = s1(/* @__PURE__ */ ym1()), O1 = s1(/* @__PURE__ */ wm1()), mt = s1(/* @__PURE__ */ iH()), yt = s1(/* @__PURE__ */ bm1()), a2 = s1(/* @__PURE__ */ vm1()), d2 = s1(/* @__PURE__ */ Sm1()), t3 = s1(/* @__PURE__ */ _m1()), u6 = s1(/* @__PURE__ */ oH()), $t = s1(/* @__PURE__ */ Mm1()), A2 = s1(/* @__PURE__ */ km1()), e4 = s1(/* @__PURE__ */ Tm1()), C6 = s1(/* @__PURE__ */ Lm1()), H3 = s1(/* @__PURE__ */ Vm1()), x3 = Q(/* @__PURE__ */ Hm1()), j4 = s1(/* @__PURE__ */ lH()), K4 = s1(/* @__PURE__ */ aH()), n3 = s1(/* @__PURE__ */ dH()), I6 = s1(/* @__PURE__ */ xm1()), Y4 = s1(/* @__PURE__ */ Im1()), g3 = s1(/* @__PURE__ */ Em1()), E6 = s1(/* @__PURE__ */ Am1()), X4 = s1(/* @__PURE__ */ cH()), m3 = s1(/* @__PURE__ */ Pm1()), J4 = s1(/* @__PURE__ */ Bm1()), Q4 = s1(/* @__PURE__ */ Om1()), p6 = s1(/* @__PURE__ */ $m1()), t4 = s1(/* @__PURE__ */ Dm1()), Q9 = s1(/* @__PURE__ */ Nm1());
36728
36728
  function we() {
36729
36729
  if (typeof WeakMap != "function") return null;
36730
36730
  var Pe = /* @__PURE__ */ new WeakMap();
@@ -36837,7 +36837,7 @@ function Rm1() {
36837
36837
  isBase64: u6.default,
36838
36838
  isDataURI: $t.default,
36839
36839
  isMagnetURI: A2.default,
36840
- isMailtoURI: Q5.default,
36840
+ isMailtoURI: e4.default,
36841
36841
  isMimeType: C6.default,
36842
36842
  isLatLong: H3.default,
36843
36843
  ltrim: j4.default,
@@ -36852,7 +36852,7 @@ function Rm1() {
36852
36852
  normalizeEmail: J4.default,
36853
36853
  toString,
36854
36854
  isSlug: Q4.default,
36855
- isStrongPassword: e4.default,
36855
+ isStrongPassword: t4.default,
36856
36856
  isTaxID: p1.default,
36857
36857
  isDate: w.default,
36858
36858
  isTime: b.default,
@@ -36929,7 +36929,7 @@ const Fm1 = /* @__PURE__ */ _5(uf), Cf = (e) => typeof e == "string" || e instan
36929
36929
  return n === "circle" ? {
36930
36930
  aspectRatio: $u,
36931
36931
  borderRadius: i
36932
- } : e > 1 && t === W5 && !i ? {
36932
+ } : e > 1 && t === j5 && !i ? {
36933
36933
  aspectRatio: $u
36934
36934
  } : (t === O3 || t === d6) && !i ? {
36935
36935
  aspectRatio: $u
@@ -38433,7 +38433,7 @@ const xH = /brand-page\/([^?]*)/, fy1 = /logo\/([^\/]*)\//, IH = /(http|https):\
38433
38433
  e.pageHeaderDesktop = new R7({
38434
38434
  ...e.headerStyles,
38435
38435
  logoImage: t,
38436
- navigation: new j5(e.headerStyles.navigation)
38436
+ navigation: new K5(e.headerStyles.navigation)
38437
38437
  }), e.pageHeaderMobile = new y0({
38438
38438
  ...e.headerStyles,
38439
38439
  logoImage: t,
@@ -39243,7 +39243,7 @@ const xH = /brand-page\/([^?]*)/, fy1 = /logo\/([^\/]*)\//, IH = /(http|https):\
39243
39243
  mapToViewModel: qV,
39244
39244
  migrateBrandPageModel: kf,
39245
39245
  normalizeColorToHex: qn,
39246
- parseLogoThemeToCssStyles: H4,
39246
+ parseLogoThemeToCssStyles: x4,
39247
39247
  paymentOptionImageTypeToPaddingPercentage: Wm1,
39248
39248
  preloadImage: jn,
39249
39249
  shouldShowAspectRatioByDisplayStyle: gH,
@@ -39521,7 +39521,7 @@ const xH = /brand-page\/([^?]*)/, fy1 = /logo\/([^\/]*)\//, IH = /(http|https):\
39521
39521
  {
39522
39522
  amount: "0",
39523
39523
  id: Ut.v4(),
39524
- name: w4
39524
+ name: b4
39525
39525
  }
39526
39526
  ],
39527
39527
  isCustomerMessageEnabled: !0
@@ -40443,7 +40443,7 @@ const Ow1 = {
40443
40443
  }
40444
40444
  }
40445
40445
  }), Lf = (e) => {
40446
- const t = y4()[e];
40446
+ const t = w4()[e];
40447
40447
  return t || (console.error(`Unsupported template type: "${e}"`), null);
40448
40448
  }, Ww1 = (e) => (e == null ? void 0 : e.displayName) || "", Vf = (e, t, n) => {
40449
40449
  const i = Object.keys(t.fields).filter((o) => {
@@ -41193,7 +41193,7 @@ const Ow1 = {
41193
41193
  navigationStyleTypeConfigs: _S,
41194
41194
  navigation: {
41195
41195
  [Te.header]: {
41196
- [Y1.desktop]: new j5(),
41196
+ [Y1.desktop]: new K5(),
41197
41197
  [Y1.mobile]: new J7()
41198
41198
  }
41199
41199
  }
@@ -45065,7 +45065,7 @@ function Ib1(e, t, n, i, o) {
45065
45065
  throw new RangeError("Invalid content for node type " + n.name);
45066
45066
  e.step(new j2(t, t + s.nodeSize, t + 1, t + s.nodeSize - 1, new ue(R1.from(r), 0, 0), 1, !0));
45067
45067
  }
45068
- function x4(e, t, n = 1, i) {
45068
+ function I4(e, t, n = 1, i) {
45069
45069
  let o = e.resolve(t), s = o.depth - n, r = i && i[i.length - 1] || o.parent;
45070
45070
  if (s < 0 || o.parent.type.spec.isolating || !o.parent.canReplace(o.index(), o.parent.childCount) || !r.type.validContent(o.parent.content.cutByIndex(o.index(), o.parent.childCount)))
45071
45071
  return !1;
@@ -46583,7 +46583,7 @@ const l3 = function(e) {
46583
46583
  return t && t.nodeType == 11 ? t.host : t;
46584
46584
  };
46585
46585
  let jp = null;
46586
- const f4 = function(e, t, n) {
46586
+ const g4 = function(e, t, n) {
46587
46587
  let i = jp || (jp = document.createRange());
46588
46588
  return i.setEnd(e, n ?? e.nodeValue.length), i.setStart(e, t || 0), i;
46589
46589
  }, Gb1 = function() {
@@ -46687,9 +46687,9 @@ function Jb1(e, t, n) {
46687
46687
  return { node: i.startContainer, offset: Math.min(R6(i.startContainer), i.startOffset) };
46688
46688
  }
46689
46689
  }
46690
- const K5 = typeof navigator < "u" ? navigator : null, zS = typeof document < "u" ? document : null, K9 = K5 && K5.userAgent || "", Kp = /Edge\/(\d+)/.exec(K9), kx = /MSIE \d/.exec(K9), Yp = /Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(K9), n6 = !!(kx || Yp || Kp), $9 = kx ? document.documentMode : Yp ? +Yp[1] : Kp ? +Kp[1] : 0, z6 = !n6 && /gecko\/(\d+)/i.test(K9);
46690
+ const Y5 = typeof navigator < "u" ? navigator : null, zS = typeof document < "u" ? document : null, K9 = Y5 && Y5.userAgent || "", Kp = /Edge\/(\d+)/.exec(K9), kx = /MSIE \d/.exec(K9), Yp = /Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(K9), n6 = !!(kx || Yp || Kp), $9 = kx ? document.documentMode : Yp ? +Yp[1] : Kp ? +Kp[1] : 0, z6 = !n6 && /gecko\/(\d+)/i.test(K9);
46691
46691
  z6 && +(/Firefox\/(\d+)/.exec(K9) || [0, 0])[1];
46692
- const Xp = !n6 && /Chrome\/(\d+)/.exec(K9), W2 = !!Xp, Tx = Xp ? +Xp[1] : 0, T3 = !n6 && !!K5 && /Apple Computer/.test(K5.vendor), s0 = T3 && (/Mobile\/\w+/.test(K9) || !!K5 && K5.maxTouchPoints > 2), N6 = s0 || (K5 ? /Mac/.test(K5.platform) : !1), Lx = K5 ? /Win/.test(K5.platform) : !1, _4 = /Android \d/.test(K9), Oi = !!zS && "webkitFontSmoothing" in zS.documentElement.style, Qb1 = Oi ? +(/\bAppleWebKit\/(\d+)/.exec(navigator.userAgent) || [0, 0])[1] : 0;
46692
+ const Xp = !n6 && /Chrome\/(\d+)/.exec(K9), W2 = !!Xp, Tx = Xp ? +Xp[1] : 0, T3 = !n6 && !!Y5 && /Apple Computer/.test(Y5.vendor), s0 = T3 && (/Mobile\/\w+/.test(K9) || !!Y5 && Y5.maxTouchPoints > 2), N6 = s0 || (Y5 ? /Mac/.test(Y5.platform) : !1), Lx = Y5 ? /Win/.test(Y5.platform) : !1, M4 = /Android \d/.test(K9), Oi = !!zS && "webkitFontSmoothing" in zS.documentElement.style, Qb1 = Oi ? +(/\bAppleWebKit\/(\d+)/.exec(navigator.userAgent) || [0, 0])[1] : 0;
46693
46693
  function ev1(e) {
46694
46694
  let t = e.defaultView && e.defaultView.visualViewport;
46695
46695
  return t ? {
@@ -46704,7 +46704,7 @@ function ev1(e) {
46704
46704
  bottom: e.documentElement.clientHeight
46705
46705
  };
46706
46706
  }
46707
- function r4(e, t) {
46707
+ function a4(e, t) {
46708
46708
  return typeof e == "number" ? e : e[t];
46709
46709
  }
46710
46710
  function tv1(e) {
@@ -46724,7 +46724,7 @@ function qS(e, t, n) {
46724
46724
  continue;
46725
46725
  }
46726
46726
  let a = r, l = a == s.body, d = l ? ev1(s) : tv1(a), c = 0, C = 0;
46727
- if (t.top < d.top + r4(i, "top") ? C = -(d.top - t.top + r4(o, "top")) : t.bottom > d.bottom - r4(i, "bottom") && (C = t.bottom - t.top > d.bottom - d.top ? t.top + r4(o, "top") - d.top : t.bottom - d.bottom + r4(o, "bottom")), t.left < d.left + r4(i, "left") ? c = -(d.left - t.left + r4(o, "left")) : t.right > d.right - r4(i, "right") && (c = t.right - d.right + r4(o, "right")), c || C)
46727
+ if (t.top < d.top + a4(i, "top") ? C = -(d.top - t.top + a4(o, "top")) : t.bottom > d.bottom - a4(i, "bottom") && (C = t.bottom - t.top > d.bottom - d.top ? t.top + a4(o, "top") - d.top : t.bottom - d.bottom + a4(o, "bottom")), t.left < d.left + a4(i, "left") ? c = -(d.left - t.left + a4(o, "left")) : t.right > d.right - a4(i, "right") && (c = t.right - d.right + a4(o, "right")), c || C)
46728
46728
  if (l)
46729
46729
  s.defaultView.scrollBy(c, C);
46730
46730
  else {
@@ -46789,7 +46789,7 @@ function xx(e, t) {
46789
46789
  if (c.nodeType == 1)
46790
46790
  h = c.getClientRects();
46791
46791
  else if (c.nodeType == 3)
46792
- h = f4(c).getClientRects();
46792
+ h = g4(c).getClientRects();
46793
46793
  else
46794
46794
  continue;
46795
46795
  for (let g = 0; g < h.length; g++) {
@@ -46909,11 +46909,11 @@ function Ex(e, t, n) {
46909
46909
  let { node: i, offset: o, atom: s } = e.docView.domFromPos(t, n < 0 ? -1 : 1), r = Oi || z6;
46910
46910
  if (i.nodeType == 3)
46911
46911
  if (r && (cv1.test(i.nodeValue) || (n < 0 ? !o : o == i.nodeValue.length))) {
46912
- let l = u9(f4(i, o, o), n);
46912
+ let l = u9(g4(i, o, o), n);
46913
46913
  if (z6 && o && /\s/.test(i.nodeValue[o - 1]) && o < i.nodeValue.length) {
46914
- let d = u9(f4(i, o - 1, o - 1), -1);
46914
+ let d = u9(g4(i, o - 1, o - 1), -1);
46915
46915
  if (d.top == l.top) {
46916
- let c = u9(f4(i, o, o + 1), -1);
46916
+ let c = u9(g4(i, o, o + 1), -1);
46917
46917
  if (c.top != l.top)
46918
46918
  return Q0(c, c.left < d.left);
46919
46919
  }
@@ -46921,7 +46921,7 @@ function Ex(e, t, n) {
46921
46921
  return l;
46922
46922
  } else {
46923
46923
  let l = o, d = o, c = n < 0 ? 1 : -1;
46924
- return n < 0 && !o ? (d++, c = -1) : n >= 0 && o == i.nodeValue.length ? (l--, c = 1) : n < 0 ? l-- : d++, Q0(u9(f4(i, l, d), c), c < 0);
46924
+ return n < 0 && !o ? (d++, c = -1) : n >= 0 && o == i.nodeValue.length ? (l--, c = 1) : n < 0 ? l-- : d++, Q0(u9(g4(i, l, d), c), c < 0);
46925
46925
  }
46926
46926
  if (!e.state.doc.resolve(t - (s || 0)).parent.inlineContent) {
46927
46927
  if (s == null && o && (n < 0 || o == R6(i))) {
@@ -46937,7 +46937,7 @@ function Ex(e, t, n) {
46937
46937
  return Xu(i.getBoundingClientRect(), n >= 0);
46938
46938
  }
46939
46939
  if (s == null && o && (n < 0 || o == R6(i))) {
46940
- let l = i.childNodes[o - 1], d = l.nodeType == 3 ? f4(l, R6(l) - (r ? 0 : 1)) : l.nodeType == 1 && (l.nodeName != "BR" || !l.nextSibling) ? l : null;
46940
+ let l = i.childNodes[o - 1], d = l.nodeType == 3 ? g4(l, R6(l) - (r ? 0 : 1)) : l.nodeType == 1 && (l.nodeName != "BR" || !l.nextSibling) ? l : null;
46941
46941
  if (d)
46942
46942
  return Q0(u9(d, 1), !1);
46943
46943
  }
@@ -46945,11 +46945,11 @@ function Ex(e, t, n) {
46945
46945
  let l = i.childNodes[o];
46946
46946
  for (; l.pmViewDesc && l.pmViewDesc.ignoreForCoords; )
46947
46947
  l = l.nextSibling;
46948
- let d = l ? l.nodeType == 3 ? f4(l, 0, r ? 0 : 1) : l.nodeType == 1 ? l : null : null;
46948
+ let d = l ? l.nodeType == 3 ? g4(l, 0, r ? 0 : 1) : l.nodeType == 1 ? l : null : null;
46949
46949
  if (d)
46950
46950
  return Q0(u9(d, -1), !0);
46951
46951
  }
46952
- return Q0(u9(i.nodeType == 3 ? f4(i) : i, -n), n >= 0);
46952
+ return Q0(u9(i.nodeType == 3 ? g4(i) : i, -n), n >= 0);
46953
46953
  }
46954
46954
  function Q0(e, t) {
46955
46955
  if (e.width == 0)
@@ -46992,7 +46992,7 @@ function uv1(e, t, n) {
46992
46992
  if (a.nodeType == 1)
46993
46993
  l = a.getClientRects();
46994
46994
  else if (a.nodeType == 3)
46995
- l = f4(a, 0, a.nodeValue.length).getClientRects();
46995
+ l = g4(a, 0, a.nodeValue.length).getClientRects();
46996
46996
  else
46997
46997
  continue;
46998
46998
  for (let d = 0; d < l.length; d++) {
@@ -47025,7 +47025,7 @@ let WS = null, jS = null, KS = !1;
47025
47025
  function hv1(e, t, n) {
47026
47026
  return WS == t && jS == n ? KS : (WS = t, jS = n, KS = n == "up" || n == "down" ? uv1(e, t, n) : pv1(e, t, n));
47027
47027
  }
47028
- const q6 = 0, YS = 1, y7 = 2, Y5 = 3;
47028
+ const q6 = 0, YS = 1, y7 = 2, X5 = 3;
47029
47029
  class $i {
47030
47030
  constructor(t, n, i, o) {
47031
47031
  this.parent = t, this.children = n, this.dom = i, this.contentDOM = o, this.dirty = q6, i.pmViewDesc = this;
@@ -47341,10 +47341,10 @@ class $i {
47341
47341
  if (i == r ? t <= r && n >= i : t < r && n > i) {
47342
47342
  let a = i + s.border, l = r - s.border;
47343
47343
  if (t >= a && n <= l) {
47344
- this.dirty = t == i || n == r ? y7 : YS, t == a && n == l && (s.contentLost || s.dom.parentNode != this.contentDOM) ? s.dirty = Y5 : s.markDirty(t - a, n - a);
47344
+ this.dirty = t == i || n == r ? y7 : YS, t == a && n == l && (s.contentLost || s.dom.parentNode != this.contentDOM) ? s.dirty = X5 : s.markDirty(t - a, n - a);
47345
47345
  return;
47346
47346
  } else
47347
- s.dirty = s.dom == s.contentDOM && s.dom.parentNode == this.contentDOM && !s.children.length ? y7 : Y5;
47347
+ s.dirty = s.dom == s.contentDOM && s.dom.parentNode == this.contentDOM && !s.children.length ? y7 : X5;
47348
47348
  }
47349
47349
  i = r;
47350
47350
  }
@@ -47439,10 +47439,10 @@ class G7 extends $i {
47439
47439
  return (!r || !r.dom) && (r = Q7.renderSpec(document, n.type.spec.toDOM(n, i), null, n.attrs)), new G7(t, n, r.dom, r.contentDOM || r.dom, r);
47440
47440
  }
47441
47441
  parseRule() {
47442
- return this.dirty & Y5 || this.mark.type.spec.reparseInView ? null : { mark: this.mark.type.name, attrs: this.mark.attrs, contentElement: this.contentDOM };
47442
+ return this.dirty & X5 || this.mark.type.spec.reparseInView ? null : { mark: this.mark.type.name, attrs: this.mark.attrs, contentElement: this.contentDOM };
47443
47443
  }
47444
47444
  matchesMark(t) {
47445
- return this.dirty != Y5 && this.mark.eq(t);
47445
+ return this.dirty != X5 && this.mark.eq(t);
47446
47446
  }
47447
47447
  markDirty(t, n) {
47448
47448
  if (super.markDirty(t, n), this.dirty != q6) {
@@ -47569,7 +47569,7 @@ class D9 extends $i {
47569
47569
  // If this desc must be updated to match the given node decoration,
47570
47570
  // do so and return true.
47571
47571
  update(t, n, i, o) {
47572
- return this.dirty == Y5 || !t.sameMarkup(this.node) ? !1 : (this.updateInner(t, n, i, o), !0);
47572
+ return this.dirty == X5 || !t.sameMarkup(this.node) ? !1 : (this.updateInner(t, n, i, o), !0);
47573
47573
  }
47574
47574
  updateInner(t, n, i, o) {
47575
47575
  this.updateOuterDeco(n), this.node = t, this.innerDeco = i, this.contentDOM && this.updateChildren(o, this.posAtStart), this.dirty = q6;
@@ -47608,7 +47608,7 @@ class td extends D9 {
47608
47608
  return { skip: t || !0 };
47609
47609
  }
47610
47610
  update(t, n, i, o) {
47611
- return this.dirty == Y5 || this.dirty != q6 && !this.inParent() || !t.sameMarkup(this.node) ? !1 : (this.updateOuterDeco(n), (this.dirty != q6 || t.text != this.node.text) && t.text != this.nodeDOM.nodeValue && (this.nodeDOM.nodeValue = t.text, o.trackWrites == this.nodeDOM && (o.trackWrites = null)), this.node = t, this.dirty = q6, !0);
47611
+ return this.dirty == X5 || this.dirty != q6 && !this.inParent() || !t.sameMarkup(this.node) ? !1 : (this.updateOuterDeco(n), (this.dirty != q6 || t.text != this.node.text) && t.text != this.nodeDOM.nodeValue && (this.nodeDOM.nodeValue = t.text, o.trackWrites == this.nodeDOM && (o.trackWrites = null)), this.node = t, this.dirty = q6, !0);
47612
47612
  }
47613
47613
  inParent() {
47614
47614
  let t = this.parent.contentDOM;
@@ -47631,7 +47631,7 @@ class td extends D9 {
47631
47631
  return new td(this.parent, o, this.outerDeco, this.innerDeco, s, s, i);
47632
47632
  }
47633
47633
  markDirty(t, n) {
47634
- super.markDirty(t, n), this.dom != this.nodeDOM && (t == 0 || n == this.nodeDOM.nodeValue.length) && (this.dirty = Y5);
47634
+ super.markDirty(t, n), this.dom != this.nodeDOM && (t == 0 || n == this.nodeDOM.nodeValue.length) && (this.dirty = X5);
47635
47635
  }
47636
47636
  get domAtom() {
47637
47637
  return !1;
@@ -47662,7 +47662,7 @@ class gv1 extends D9 {
47662
47662
  // through. If it does, and there's a `contentDOM` node, our logic
47663
47663
  // updates the children.
47664
47664
  update(t, n, i, o) {
47665
- if (this.dirty == Y5)
47665
+ if (this.dirty == X5)
47666
47666
  return !1;
47667
47667
  if (this.spec.update && (this.node.type == t.type || this.spec.multiType)) {
47668
47668
  let s = this.spec.update(t, n, i);
@@ -47841,7 +47841,7 @@ class yv1 {
47841
47841
  }
47842
47842
  updateNodeAt(t, n, i, o, s) {
47843
47843
  let r = this.top.children[o];
47844
- return r.dirty == Y5 && r.dom == r.contentDOM && (r.dirty = y7), r.update(t, n, i, s) ? (this.destroyBetween(this.index, o), this.index++, !0) : !1;
47844
+ return r.dirty == X5 && r.dom == r.contentDOM && (r.dirty = y7), r.update(t, n, i, s) ? (this.destroyBetween(this.index, o), this.index++, !0) : !1;
47845
47845
  }
47846
47846
  findIndexWithChild(t) {
47847
47847
  for (; ; ) {
@@ -47869,7 +47869,7 @@ class yv1 {
47869
47869
  let d = this.preMatch.matched.get(l);
47870
47870
  if (d != null && d != s)
47871
47871
  return !1;
47872
- let c = l.dom, C, h = this.isLocked(c) && !(t.isText && l.node && l.node.isText && l.nodeDOM.nodeValue == t.text && l.dirty != Y5 && Da(n, l.outerDeco));
47872
+ let c = l.dom, C, h = this.isLocked(c) && !(t.isText && l.node && l.node.isText && l.nodeDOM.nodeValue == t.text && l.dirty != X5 && Da(n, l.outerDeco));
47873
47873
  if (!h && l.update(t, n, i, o))
47874
47874
  return this.destroyBetween(this.index, a), l.dom != c && (this.changed = !0), this.index++, !0;
47875
47875
  if (!h && (C = this.recreateWrapper(l, t, n, i, o, r)))
@@ -48086,7 +48086,7 @@ function Bf(e, t = null) {
48086
48086
  function Nx(e) {
48087
48087
  return e.editable ? e.hasFocus() : Fx(e) && document.activeElement && document.activeElement.contains(e.dom);
48088
48088
  }
48089
- function I4(e, t = !1) {
48089
+ function E4(e, t = !1) {
48090
48090
  let n = e.state.selection;
48091
48091
  if (Rx(e, n), !!Nx(e)) {
48092
48092
  if (!t && e.input.mouseDown && e.input.mouseDown.allowDefault && W2) {
@@ -48328,7 +48328,7 @@ function th(e, t, n) {
48328
48328
  e.domObserver.setCurSelection();
48329
48329
  let { state: o } = e;
48330
48330
  setTimeout(() => {
48331
- e.state == o && I4(e);
48331
+ e.state == o && E4(e);
48332
48332
  }, 50);
48333
48333
  }
48334
48334
  function s_(e, t) {
@@ -48663,7 +48663,7 @@ function qv1(e, t) {
48663
48663
  }
48664
48664
  R3.keydown = (e, t) => {
48665
48665
  let n = t;
48666
- if (e.input.shiftKey = n.keyCode == 16 || n.shiftKey, !Yx(e, n) && (e.input.lastKeyCode = n.keyCode, e.input.lastKeyCodeTime = Date.now(), !(_4 && W2 && n.keyCode == 13)))
48666
+ if (e.input.shiftKey = n.keyCode == 16 || n.shiftKey, !Yx(e, n) && (e.input.lastKeyCode = n.keyCode, e.input.lastKeyCodeTime = Date.now(), !(M4 && W2 && n.keyCode == 13)))
48667
48667
  if (n.keyCode != 229 && e.domObserver.forceFlush(), s0 && n.keyCode == 13 && !n.ctrlKey && !n.altKey && !n.metaKey) {
48668
48668
  let i = Date.now();
48669
48669
  e.input.lastIOSEnter = i, e.input.lastIOSEnterFallbackTimeout = setTimeout(() => {
@@ -48793,7 +48793,7 @@ class Qv1 {
48793
48793
  }, 20), this.view.domObserver.start()), t.root.addEventListener("mouseup", this.up = this.up.bind(this)), t.root.addEventListener("mousemove", this.move = this.move.bind(this)), H9(t, "pointer");
48794
48794
  }
48795
48795
  done() {
48796
- this.view.root.removeEventListener("mouseup", this.up), this.view.root.removeEventListener("mousemove", this.move), this.mightDrag && this.target && (this.view.domObserver.stop(), this.mightDrag.addAttr && this.target.removeAttribute("draggable"), this.mightDrag.setUneditable && this.target.removeAttribute("contentEditable"), this.view.domObserver.start()), this.delayedSelectionSync && setTimeout(() => I4(this.view)), this.view.input.mouseDown = null;
48796
+ this.view.root.removeEventListener("mouseup", this.up), this.view.root.removeEventListener("mousemove", this.move), this.mightDrag && this.target && (this.view.domObserver.stop(), this.mightDrag.addAttr && this.target.removeAttribute("draggable"), this.mightDrag.setUneditable && this.target.removeAttribute("contentEditable"), this.view.domObserver.start()), this.delayedSelectionSync && setTimeout(() => E4(this.view)), this.view.input.mouseDown = null;
48797
48797
  }
48798
48798
  up(t) {
48799
48799
  if (this.done(), !this.view.dom.contains(t.target))
@@ -48826,7 +48826,7 @@ N3.contextmenu = (e) => Rf(e);
48826
48826
  function Yx(e, t) {
48827
48827
  return e.composing ? !0 : T3 && Math.abs(t.timeStamp - e.input.compositionEndedAt) < 500 ? (e.input.compositionEndedAt = -2e8, !0) : !1;
48828
48828
  }
48829
- const eS1 = _4 ? 5e3 : -1;
48829
+ const eS1 = M4 ? 5e3 : -1;
48830
48830
  R3.compositionstart = R3.compositionupdate = (e) => {
48831
48831
  if (!e.composing) {
48832
48832
  e.domObserver.flush();
@@ -48892,7 +48892,7 @@ function iS1() {
48892
48892
  return e.initEvent("event", !0, !0), e.timeStamp;
48893
48893
  }
48894
48894
  function Ra(e, t = !1) {
48895
- if (!(_4 && e.domObserver.flushingSoon >= 0)) {
48895
+ if (!(M4 && e.domObserver.flushingSoon >= 0)) {
48896
48896
  if (e.domObserver.forceFlush(), Jx(e), t || e.docView && e.docView.dirty) {
48897
48897
  let n = Bf(e), i = e.state.selection;
48898
48898
  return n && !n.eq(i) ? e.dispatch(e.state.tr.setSelection(n)) : (e.markCursor || t) && !i.$from.node(i.$from.sharedDepth(i.to)).inlineContent ? e.dispatch(e.state.tr.deleteSelection()) : e.updateState(e.state), !0;
@@ -48949,7 +48949,7 @@ function Qx(e) {
48949
48949
  }
48950
48950
  R3.paste = (e, t) => {
48951
48951
  let n = t;
48952
- if (e.composing && !_4)
48952
+ if (e.composing && !M4)
48953
48953
  return;
48954
48954
  let i = Qn ? null : n.clipboardData, o = e.input.shiftKey && e.input.lastKeyCode != 45;
48955
48955
  i && ei(e, Qx(i), i.getData("text/html"), o, n) ? n.preventDefault() : rS1(e, n);
@@ -49033,7 +49033,7 @@ function lS1(e, t, n) {
49033
49033
  }
49034
49034
  N3.focus = (e) => {
49035
49035
  e.input.lastFocus = Date.now(), e.focused || (e.domObserver.stop(), e.dom.classList.add("ProseMirror-focused"), e.domObserver.start(), e.focused = !0, setTimeout(() => {
49036
- e.docView && e.hasFocus() && !e.domObserver.currentSelection.eq(e.domSelectionRange()) && I4(e);
49036
+ e.docView && e.hasFocus() && !e.domObserver.currentSelection.eq(e.domSelectionRange()) && E4(e);
49037
49037
  }, 20));
49038
49038
  };
49039
49039
  N3.blur = (e, t) => {
@@ -49041,7 +49041,7 @@ N3.blur = (e, t) => {
49041
49041
  e.focused && (e.domObserver.stop(), e.dom.classList.remove("ProseMirror-focused"), e.domObserver.start(), n.relatedTarget && e.dom.contains(n.relatedTarget) && e.domObserver.currentSelection.clear(), e.focused = !1);
49042
49042
  };
49043
49043
  N3.beforeinput = (e, t) => {
49044
- if (W2 && _4 && t.inputType == "deleteContentBackward") {
49044
+ if (W2 && M4 && t.inputType == "deleteContentBackward") {
49045
49045
  e.domObserver.flushSoon();
49046
49046
  let { domChangeCount: i } = e.input;
49047
49047
  setTimeout(() => {
@@ -49629,7 +49629,7 @@ class hS1 {
49629
49629
  onSelectionChange() {
49630
49630
  if (i_(this.view)) {
49631
49631
  if (this.suppressingSelectionUpdates)
49632
- return I4(this.view);
49632
+ return E4(this.view);
49633
49633
  if (n6 && $9 <= 11 && !this.view.state.selection.empty) {
49634
49634
  let t = this.view.domSelectionRange();
49635
49635
  if (t.focusNode && q7(t.focusNode, t.focusOffset, t.anchorNode, t.anchorOffset))
@@ -49697,7 +49697,7 @@ class hS1 {
49697
49697
  }
49698
49698
  }
49699
49699
  let d = null;
49700
- s < 0 && o && t.input.lastFocus > Date.now() - 200 && Math.max(t.input.lastTouch, t.input.lastClick.time) < Date.now() - 300 && ed(i) && (d = Bf(t)) && d.eq(et.near(t.state.doc.resolve(0), 1)) ? (t.input.lastFocus = 0, I4(t), this.currentSelection.set(i), t.scrollToSelection()) : (s > -1 || o) && (s > -1 && (t.docView.markDirty(s, r), fS1(t)), this.handleDOMChange(s, r, a, l), t.docView && t.docView.dirty ? t.updateState(t.state) : this.currentSelection.eq(i) || I4(t), this.currentSelection.set(i));
49700
+ s < 0 && o && t.input.lastFocus > Date.now() - 200 && Math.max(t.input.lastTouch, t.input.lastClick.time) < Date.now() - 300 && ed(i) && (d = Bf(t)) && d.eq(et.near(t.state.doc.resolve(0), 1)) ? (t.input.lastFocus = 0, E4(t), this.currentSelection.set(i), t.scrollToSelection()) : (s > -1 || o) && (s > -1 && (t.docView.markDirty(s, r), fS1(t)), this.handleDOMChange(s, r, a, l), t.docView && t.docView.dirty ? t.updateState(t.state) : this.currentSelection.eq(i) || E4(t), this.currentSelection.set(i));
49701
49701
  }
49702
49702
  registerMutation(t, n) {
49703
49703
  if (n.indexOf(t.target) > -1)
@@ -49813,7 +49813,7 @@ function vS1(e, t, n, i, o) {
49813
49813
  if (e.input.compositionPendingChanges = 0, t < 0) {
49814
49814
  let F = e.input.lastSelectionTime > Date.now() - 50 ? e.input.lastSelectionOrigin : null, B = Bf(e, F);
49815
49815
  if (B && !e.state.selection.eq(B)) {
49816
- if (W2 && _4 && e.input.lastKeyCode === 13 && Date.now() - 100 < e.input.lastKeyCodeTime && e.someProp("handleKeyDown", (Z) => Z(e, C7(13, "Enter"))))
49816
+ if (W2 && M4 && e.input.lastKeyCode === 13 && Date.now() - 100 < e.input.lastKeyCodeTime && e.someProp("handleKeyDown", (Z) => Z(e, C7(13, "Enter"))))
49817
49817
  return;
49818
49818
  let R = e.state.tr.setSelection(B);
49819
49819
  F == "pointer" ? R.setMeta("pointer", !0) : F == "key" && R.scrollIntoView(), s && R.setMeta("composition", s), e.dispatch(R);
@@ -49825,7 +49825,7 @@ function vS1(e, t, n, i, o) {
49825
49825
  let l = e.state.selection, d = yS1(e, t, n), c = e.state.doc, C = c.slice(d.from, d.to), h, g;
49826
49826
  e.input.lastKeyCode === 8 && Date.now() - 100 < e.input.lastKeyCodeTime ? (h = e.state.selection.to, g = "end") : (h = e.state.selection.from, g = "start"), e.input.lastKeyCode = null;
49827
49827
  let m = MS1(C.content, d.doc.content, d.from, h, g);
49828
- if (m && e.input.domChangeCount++, (s0 && e.input.lastIOSEnter > Date.now() - 225 || _4) && o.some((F) => F.nodeType == 1 && !bS1.test(F.nodeName)) && (!m || m.endA >= m.endB) && e.someProp("handleKeyDown", (F) => F(e, C7(13, "Enter")))) {
49828
+ if (m && e.input.domChangeCount++, (s0 && e.input.lastIOSEnter > Date.now() - 225 || M4) && o.some((F) => F.nodeType == 1 && !bS1.test(F.nodeName)) && (!m || m.endA >= m.endB) && e.someProp("handleKeyDown", (F) => F(e, C7(13, "Enter")))) {
49829
49829
  e.input.lastIOSEnter = 0;
49830
49830
  return;
49831
49831
  }
@@ -49849,10 +49849,10 @@ function vS1(e, t, n, i, o) {
49849
49849
  return;
49850
49850
  }
49851
49851
  if (e.state.selection.anchor > m.start && _S1(c, m.start, m.endA, y, w) && e.someProp("handleKeyDown", (F) => F(e, C7(8, "Backspace")))) {
49852
- _4 && W2 && e.domObserver.suppressSelectionUpdates();
49852
+ M4 && W2 && e.domObserver.suppressSelectionUpdates();
49853
49853
  return;
49854
49854
  }
49855
- W2 && m.endB == m.start && (e.input.lastChromeDelete = Date.now()), _4 && !S && y.start() != w.start() && w.parentOffset == 0 && y.depth == w.depth && d.sel && d.sel.anchor == d.sel.head && d.sel.head == m.endA && (m.endB -= 2, w = d.doc.resolveNoCache(m.endB - d.from), setTimeout(() => {
49855
+ W2 && m.endB == m.start && (e.input.lastChromeDelete = Date.now()), M4 && !S && y.start() != w.start() && w.parentOffset == 0 && y.depth == w.depth && d.sel && d.sel.anchor == d.sel.head && d.sel.head == m.endA && (m.endB -= 2, w = d.doc.resolveNoCache(m.endB - d.from), setTimeout(() => {
49856
49856
  e.someProp("handleKeyDown", function(F) {
49857
49857
  return F(e, C7(13, "Enter"));
49858
49858
  });
@@ -49867,7 +49867,7 @@ function vS1(e, t, n, i, o) {
49867
49867
  }, x;
49868
49868
  if (S)
49869
49869
  if (y.pos == w.pos) {
49870
- n6 && $9 <= 11 && y.parentOffset == 0 && (e.domObserver.suppressSelectionUpdates(), setTimeout(() => I4(e), 20));
49870
+ n6 && $9 <= 11 && y.parentOffset == 0 && (e.domObserver.suppressSelectionUpdates(), setTimeout(() => E4(e), 20));
49871
49871
  let F = V(e.state.tr.delete(_, k)), B = c.resolve(m.start).marksAcross(c.resolve(m.endA));
49872
49872
  B && F.ensureMarks(B), e.dispatch(F);
49873
49873
  } else if (
@@ -50039,7 +50039,7 @@ class sI {
50039
50039
  let m = W2 ? this.trackWrites = this.domSelectionRange().focusNode : null;
50040
50040
  this.composing && (this.input.compositionNode = nS1(this)), (s || !this.docView.update(t.doc, d, l, this)) && (this.docView.updateOuterDeco(d), this.docView.destroy(), this.docView = XS(t.doc, d, l, this.dom, this)), m && !this.trackWrites && (g = !0);
50041
50041
  }
50042
- g || !(this.input.mouseDown && this.domObserver.currentSelection.eq(this.domSelectionRange()) && Tv1(this)) ? I4(this, g) : (Rx(this, t.selection), this.domObserver.setCurSelection()), this.domObserver.start();
50042
+ g || !(this.input.mouseDown && this.domObserver.currentSelection.eq(this.domSelectionRange()) && Tv1(this)) ? E4(this, g) : (Rx(this, t.selection), this.domObserver.setCurSelection()), this.domObserver.start();
50043
50043
  }
50044
50044
  this.updatePluginViews(o), !((i = this.dragging) === null || i === void 0) && i.node && !o.doc.eq(t.doc) && this.updateDraggedNode(this.dragging, o), c == "reset" ? this.dom.scrollTop = 0 : c == "to selection" ? this.scrollToSelection() : h && iv1(h);
50045
50045
  }
@@ -50128,7 +50128,7 @@ class sI {
50128
50128
  Focus the editor.
50129
50129
  */
50130
50130
  focus() {
50131
- this.domObserver.stop(), this.editable && ov1(this.dom), I4(this), this.domObserver.start();
50131
+ this.domObserver.stop(), this.editable && ov1(this.dom), E4(this), this.domObserver.start();
50132
50132
  }
50133
50133
  /**
50134
50134
  Get the document root in which the editor exists. This will
@@ -50701,7 +50701,7 @@ const RS1 = (e, t) => {
50701
50701
  return !1;
50702
50702
  if (n.depth > 1 && n.after() != n.end(-1)) {
50703
50703
  let s = n.before();
50704
- if (x4(e.doc, s))
50704
+ if (I4(e.doc, s))
50705
50705
  return t && t(e.tr.split(s).scrollIntoView()), !0;
50706
50706
  }
50707
50707
  let i = n.blockRange(), o = i && M0(i);
@@ -50711,7 +50711,7 @@ function FS1(e) {
50711
50711
  return (t, n) => {
50712
50712
  let { $from: i, $to: o } = t.selection;
50713
50713
  if (t.selection instanceof Ve && t.selection.node.isBlock)
50714
- return !i.parentOffset || !x4(t.doc, i.pos) ? !1 : (n && n(t.tr.split(i.pos).scrollIntoView()), !0);
50714
+ return !i.parentOffset || !I4(t.doc, i.pos) ? !1 : (n && n(t.tr.split(i.pos).scrollIntoView()), !0);
50715
50715
  if (!i.depth)
50716
50716
  return !1;
50717
50717
  let s = [], r, a, l = !1, d = !1;
@@ -50726,8 +50726,8 @@ function FS1(e) {
50726
50726
  }
50727
50727
  let c = t.tr;
50728
50728
  (t.selection instanceof Ze || t.selection instanceof t6) && c.deleteSelection();
50729
- let C = c.mapping.map(i.pos), h = x4(c.doc, C, s.length, s);
50730
- if (h || (s[0] = a ? { type: a } : null, h = x4(c.doc, C, s.length, s)), !h)
50729
+ let C = c.mapping.map(i.pos), h = I4(c.doc, C, s.length, s);
50730
+ if (h || (s[0] = a ? { type: a } : null, h = I4(c.doc, C, s.length, s)), !h)
50731
50731
  return !1;
50732
50732
  if (c.split(C, s.length, s), !l && d && i.node(r).type != a) {
50733
50733
  let g = c.mapping.map(i.before(r)), m = c.doc.resolve(g);
@@ -50873,7 +50873,7 @@ function YS1(e, t, n, i, o) {
50873
50873
  n[c].type == o && (r = c + 1);
50874
50874
  let a = n.length - r, l = t.start + n.length - (i ? 2 : 0), d = t.parent;
50875
50875
  for (let c = t.startIndex, C = t.endIndex, h = !0; c < C; c++, h = !1)
50876
- !h && x4(e.doc, l, a) && (e.split(l, a), l += 2 * a), l += d.child(c).nodeSize;
50876
+ !h && I4(e.doc, l, a) && (e.split(l, a), l += 2 * a), l += d.child(c).nodeSize;
50877
50877
  return e;
50878
50878
  }
50879
50879
  function XS1(e) {
@@ -51976,7 +51976,7 @@ const H_1 = (e, t = {}) => ({ tr: n, state: i, dispatch: o }) => {
51976
51976
  function Jf(e) {
51977
51977
  return e instanceof Ze;
51978
51978
  }
51979
- function M4(e = 0, t = 0, n = 0) {
51979
+ function k4(e = 0, t = 0, n = 0) {
51980
51980
  return Math.min(Math.max(e, t), n);
51981
51981
  }
51982
51982
  function _I(e, t = null) {
@@ -51988,7 +51988,7 @@ function _I(e, t = null) {
51988
51988
  if (t === "end")
51989
51989
  return i;
51990
51990
  const o = n.from, s = i.to;
51991
- return t === "all" ? Ze.create(e, M4(0, o, s), M4(e.content.size, o, s)) : Ze.create(e, M4(t, o, s), M4(t, o, s));
51991
+ return t === "all" ? Ze.create(e, k4(0, o, s), k4(e.content.size, o, s)) : Ze.create(e, k4(t, o, s), k4(t, o, s));
51992
51992
  }
51993
51993
  function I_1() {
51994
51994
  return navigator.platform === "Android" || /android/i.test(navigator.userAgent);
@@ -52475,7 +52475,7 @@ function HI(e) {
52475
52475
  return e instanceof Ve;
52476
52476
  }
52477
52477
  function xI(e, t, n) {
52478
- const o = e.state.doc.content.size, s = M4(t, 0, o), r = M4(n, 0, o), a = e.coordsAtPos(s), l = e.coordsAtPos(r, -1), d = Math.min(a.top, l.top), c = Math.max(a.bottom, l.bottom), C = Math.min(a.left, l.left), h = Math.max(a.right, l.right), g = h - C, m = c - d, b = {
52478
+ const o = e.state.doc.content.size, s = k4(t, 0, o), r = k4(n, 0, o), a = e.coordsAtPos(s), l = e.coordsAtPos(r, -1), d = Math.min(a.top, l.top), c = Math.max(a.bottom, l.bottom), C = Math.min(a.left, l.left), h = Math.max(a.right, l.right), g = h - C, m = c - d, b = {
52479
52479
  top: d,
52480
52480
  bottom: c,
52481
52481
  left: C,
@@ -52541,13 +52541,13 @@ const mM1 = (e, t = {}) => ({ tr: n, state: i, dispatch: o }) => {
52541
52541
  return n.selection.$anchor.sameParent(n.selection.$head) && (r = n.selection.$anchor.parent.attrs), s.isTextblock ? o().command(({ commands: a }) => S_(s, { ...r, ...t })(n) ? !0 : a.clearNodes()).command(({ state: a }) => S_(s, { ...r, ...t })(a, i)).run() : (console.warn('[tiptap warn]: Currently "setNode()" only supports text block nodes.'), !1);
52542
52542
  }, bM1 = (e) => ({ tr: t, dispatch: n }) => {
52543
52543
  if (n) {
52544
- const { doc: i } = t, o = M4(e, 0, i.content.size), s = Ve.create(i, o);
52544
+ const { doc: i } = t, o = k4(e, 0, i.content.size), s = Ve.create(i, o);
52545
52545
  t.setSelection(s);
52546
52546
  }
52547
52547
  return !0;
52548
52548
  }, vM1 = (e) => ({ tr: t, dispatch: n }) => {
52549
52549
  if (n) {
52550
- const { doc: i } = t, { from: o, to: s } = typeof e == "number" ? { from: e, to: e } : e, r = Ze.atStart(i).from, a = Ze.atEnd(i).to, l = M4(o, r, a), d = M4(s, r, a), c = Ze.create(i, l, d);
52550
+ const { doc: i } = t, { from: o, to: s } = typeof e == "number" ? { from: e, to: e } : e, r = Ze.atStart(i).from, a = Ze.atEnd(i).to, l = k4(o, r, a), d = k4(s, r, a), c = Ze.create(i, l, d);
52551
52551
  t.setSelection(c);
52552
52552
  }
52553
52553
  return !0;
@@ -52565,7 +52565,7 @@ function H_(e, t) {
52565
52565
  const _M1 = ({ keepMarks: e = !0 } = {}) => ({ tr: t, state: n, dispatch: i, editor: o }) => {
52566
52566
  const { selection: s, doc: r } = t, { $from: a, $to: l } = s, d = o.extensionManager.attributes, c = Qr(d, a.node().type.name, a.node().attrs);
52567
52567
  if (s instanceof Ve && s.node.isBlock)
52568
- return !a.parentOffset || !x4(r, a.pos) ? !1 : (i && (e && H_(n, o.extensionManager.splittableMarks), t.split(a.pos).scrollIntoView()), !0);
52568
+ return !a.parentOffset || !I4(r, a.pos) ? !1 : (i && (e && H_(n, o.extensionManager.splittableMarks), t.split(a.pos).scrollIntoView()), !0);
52569
52569
  if (!a.parent.isBlock)
52570
52570
  return !1;
52571
52571
  const C = l.parentOffset === l.parent.content.size, h = a.depth === 0 ? void 0 : lM1(a.node(-1).contentMatchAt(a.indexAfter(-1)));
@@ -52574,8 +52574,8 @@ const _M1 = ({ keepMarks: e = !0 } = {}) => ({ tr: t, state: n, dispatch: i, edi
52574
52574
  type: h,
52575
52575
  attrs: c
52576
52576
  }
52577
- ] : void 0, m = x4(t.doc, t.mapping.map(a.pos), 1, g);
52578
- if (!g && !m && x4(t.doc, t.mapping.map(a.pos), 1, h ? [{ type: h }] : void 0) && (m = !0, g = h ? [
52577
+ ] : void 0, m = I4(t.doc, t.mapping.map(a.pos), 1, g);
52578
+ if (!g && !m && I4(t.doc, t.mapping.map(a.pos), 1, h ? [{ type: h }] : void 0) && (m = !0, g = h ? [
52579
52579
  {
52580
52580
  type: h,
52581
52581
  attrs: c
@@ -52633,7 +52633,7 @@ const _M1 = ({ keepMarks: e = !0 } = {}) => ({ tr: t, state: n, dispatch: i, edi
52633
52633
  { type: a, attrs: m },
52634
52634
  { type: g, attrs: y }
52635
52635
  ] : [{ type: a, attrs: m }];
52636
- if (!x4(n.doc, l.pos, 2))
52636
+ if (!I4(n.doc, l.pos, 2))
52637
52637
  return !1;
52638
52638
  if (o) {
52639
52639
  const { selection: b, storedMarks: S } = i, { splittableMarks: _ } = s.extensionManager, k = S || b.$to.parentOffset && b.$from.marks();
@@ -53697,7 +53697,7 @@ var i6 = "top", Q6 = "bottom", e5 = "right", o6 = "left", ng = "auto", Di = [i6,
53697
53697
  }, []), EI = /* @__PURE__ */ [].concat(Di, [ng]).reduce(function(e, t) {
53698
53698
  return e.concat([t, t + "-" + a0, t + "-" + si]);
53699
53699
  }, []), XM1 = "beforeRead", JM1 = "read", QM1 = "afterRead", ek1 = "beforeMain", tk1 = "main", nk1 = "afterMain", ik1 = "beforeWrite", ok1 = "write", sk1 = "afterWrite", rk1 = [XM1, JM1, QM1, ek1, tk1, nk1, ik1, ok1, sk1];
53700
- function X5(e) {
53700
+ function J5(e) {
53701
53701
  return e ? (e.nodeName || "").toLowerCase() : null;
53702
53702
  }
53703
53703
  function H6(e) {
@@ -53727,7 +53727,7 @@ function ak1(e) {
53727
53727
  var t = e.state;
53728
53728
  Object.keys(t.elements).forEach(function(n) {
53729
53729
  var i = t.styles[n] || {}, o = t.attributes[n] || {}, s = t.elements[n];
53730
- !G6(s) || !X5(s) || (Object.assign(s.style, i), Object.keys(o).forEach(function(r) {
53730
+ !G6(s) || !J5(s) || (Object.assign(s.style, i), Object.keys(o).forEach(function(r) {
53731
53731
  var a = o[r];
53732
53732
  a === !1 ? s.removeAttribute(r) : s.setAttribute(r, a === !0 ? "" : a);
53733
53733
  }));
@@ -53751,7 +53751,7 @@ function lk1(e) {
53751
53751
  var o = t.elements[i], s = t.attributes[i] || {}, r = Object.keys(t.styles.hasOwnProperty(i) ? t.styles[i] : n[i]), a = r.reduce(function(l, d) {
53752
53752
  return l[d] = "", l;
53753
53753
  }, {});
53754
- !G6(o) || !X5(o) || (Object.assign(o.style, a), Object.keys(s).forEach(function(l) {
53754
+ !G6(o) || !J5(o) || (Object.assign(o.style, a), Object.keys(s).forEach(function(l) {
53755
53755
  o.removeAttribute(l);
53756
53756
  }));
53757
53757
  });
@@ -53821,7 +53821,7 @@ function N4(e) {
53821
53821
  return H6(e).getComputedStyle(e);
53822
53822
  }
53823
53823
  function dk1(e) {
53824
- return ["table", "td", "th"].indexOf(X5(e)) >= 0;
53824
+ return ["table", "td", "th"].indexOf(J5(e)) >= 0;
53825
53825
  }
53826
53826
  function X9(e) {
53827
53827
  return ((j7(e) ? e.ownerDocument : (
@@ -53830,7 +53830,7 @@ function X9(e) {
53830
53830
  )) || window.document).documentElement;
53831
53831
  }
53832
53832
  function cd(e) {
53833
- return X5(e) === "html" ? e : (
53833
+ return J5(e) === "html" ? e : (
53834
53834
  // this is a quicker (but less type safe) way to save quite some bytes from the bundle
53835
53835
  // $FlowFixMe[incompatible-return]
53836
53836
  // $FlowFixMe[prop-missing]
@@ -53853,7 +53853,7 @@ function ck1(e) {
53853
53853
  return null;
53854
53854
  }
53855
53855
  var o = cd(e);
53856
- for (ig(o) && (o = o.host); G6(o) && ["html", "body"].indexOf(X5(o)) < 0; ) {
53856
+ for (ig(o) && (o = o.host); G6(o) && ["html", "body"].indexOf(J5(o)) < 0; ) {
53857
53857
  var s = N4(o);
53858
53858
  if (s.transform !== "none" || s.perspective !== "none" || s.contain === "paint" || ["transform", "perspective"].indexOf(s.willChange) !== -1 || t && s.willChange === "filter" || t && s.filter && s.filter !== "none")
53859
53859
  return o;
@@ -53864,7 +53864,7 @@ function ck1(e) {
53864
53864
  function Ni(e) {
53865
53865
  for (var t = H6(e), n = I_(e); n && dk1(n) && N4(n).position === "static"; )
53866
53866
  n = I_(n);
53867
- return n && (X5(n) === "html" || X5(n) === "body" && N4(n).position === "static") ? t : n || ck1(e) || t;
53867
+ return n && (J5(n) === "html" || J5(n) === "body" && N4(n).position === "static") ? t : n || ck1(e) || t;
53868
53868
  }
53869
53869
  function sg(e) {
53870
53870
  return ["top", "bottom"].indexOf(e) >= 0 ? "x" : "y";
@@ -54087,7 +54087,7 @@ function lg(e) {
54087
54087
  return /auto|scroll|overlay|hidden/.test(n + o + i);
54088
54088
  }
54089
54089
  function NI(e) {
54090
- return ["html", "body", "#document"].indexOf(X5(e)) >= 0 ? e.ownerDocument.body : G6(e) && lg(e) ? e : NI(cd(e));
54090
+ return ["html", "body", "#document"].indexOf(J5(e)) >= 0 ? e.ownerDocument.body : G6(e) && lg(e) ? e : NI(cd(e));
54091
54091
  }
54092
54092
  function Ln(e, t) {
54093
54093
  var n;
@@ -54116,7 +54116,7 @@ function P_(e, t, n) {
54116
54116
  function Lk1(e) {
54117
54117
  var t = Ln(cd(e)), n = ["absolute", "fixed"].indexOf(N4(e).position) >= 0, i = n && G6(e) ? Ni(e) : e;
54118
54118
  return j7(i) ? t.filter(function(o) {
54119
- return j7(o) && BI(o, i) && X5(o) !== "body";
54119
+ return j7(o) && BI(o, i) && J5(o) !== "body";
54120
54120
  }) : [];
54121
54121
  }
54122
54122
  function Vk1(e, t, n, i) {
@@ -54422,7 +54422,7 @@ function Gk1(e, t, n) {
54422
54422
  x: 0,
54423
54423
  y: 0
54424
54424
  };
54425
- return (i || !i && !n) && ((X5(t) !== "body" || // https://github.com/popperjs/popper-core/issues/1078
54425
+ return (i || !i && !n) && ((J5(t) !== "body" || // https://github.com/popperjs/popper-core/issues/1078
54426
54426
  lg(s)) && (a = zk1(t)), G6(t) ? (l = d0(t, !0), l.x += t.clientLeft, l.y += t.clientTop) : s && (l.x = ag(s))), {
54427
54427
  x: r.left + a.scrollLeft - l.x,
54428
54428
  y: r.top + a.scrollTop - l.y,
@@ -54772,7 +54772,7 @@ process.env.NODE_ENV !== "production" && wT1();
54772
54772
  function wT1() {
54773
54773
  li = /* @__PURE__ */ new Set();
54774
54774
  }
54775
- function g4(e, t) {
54775
+ function m4(e, t) {
54776
54776
  if (e && !li.has(t)) {
54777
54777
  var n;
54778
54778
  li.add(t), (n = console).warn.apply(n, WI(t));
@@ -54904,7 +54904,7 @@ function YI(e, t) {
54904
54904
  var o = iT1(v6, Object.keys(jI)), s = !nT1(o, i);
54905
54905
  s && (s = t.filter(function(r) {
54906
54906
  return r.name === i;
54907
- }).length === 0), g4(s, ["`" + i + "`", "is not a valid prop. You may have spelled it incorrectly, or if it's", "a plugin, forgot to pass it in an array as props.plugins.", `
54907
+ }).length === 0), m4(s, ["`" + i + "`", "is not a valid prop. You may have spelled it incorrectly, or if it's", "a plugin, forgot to pass it in an array as props.plugins.", `
54908
54908
 
54909
54909
  `, `All props: https://atomiks.github.io/tippyjs/v6/all-props/
54910
54910
  `, "Plugins: https://atomiks.github.io/tippyjs/v6/plugins/"].join(" "));
@@ -55200,7 +55200,7 @@ function LT1(e, t) {
55200
55200
  fn: function($t) {
55201
55201
  var A2 = $t.state;
55202
55202
  if (h1()) {
55203
- var Q5 = T1(), C6 = Q5.box;
55203
+ var e4 = T1(), C6 = e4.box;
55204
55204
  ["placement", "reference-hidden", "escaped"].forEach(function(H3) {
55205
55205
  H3 === "placement" ? C6.setAttribute("data-placement", A2.placement) : A2.attributes.popper["data-popper-" + H3] ? C6.setAttribute("data-" + H3, "") : C6.removeAttribute("data-" + H3);
55206
55206
  }), A2.attributes.popper = {};
@@ -55249,7 +55249,7 @@ function LT1(e, t) {
55249
55249
  }
55250
55250
  function L1() {
55251
55251
  var W = k.props.appendTo, l1, J1 = G();
55252
- k.props.interactive && W === zI || W === "parent" ? l1 = J1.parentNode : l1 = qI(W, [J1]), l1.contains(x) || l1.appendChild(x), k.state.isMounted = !0, c1(), process.env.NODE_ENV !== "production" && g4(k.props.interactive && W === v6.appendTo && J1.nextElementSibling !== x, ["Interactive tippy element may not be accessible via keyboard", "navigation because it is not directly after the reference element", "in the DOM source order.", `
55252
+ k.props.interactive && W === zI || W === "parent" ? l1 = J1.parentNode : l1 = qI(W, [J1]), l1.contains(x) || l1.appendChild(x), k.state.isMounted = !0, c1(), process.env.NODE_ENV !== "production" && m4(k.props.interactive && W === v6.appendTo && J1.nextElementSibling !== x, ["Interactive tippy element may not be accessible via keyboard", "navigation because it is not directly after the reference element", "in the DOM source order.", `
55253
55253
 
55254
55254
  `, "Using a wrapper <div> or <span> tag around the reference element", "solves this by creating a new parentNode context.", `
55255
55255
 
@@ -55291,7 +55291,7 @@ function LT1(e, t) {
55291
55291
  clearTimeout(i), clearTimeout(o), cancelAnimationFrame(s);
55292
55292
  }
55293
55293
  function Ne(W) {
55294
- if (process.env.NODE_ENV !== "production" && g4(k.state.isDestroyed, E8("setProps")), !k.state.isDestroyed) {
55294
+ if (process.env.NODE_ENV !== "production" && m4(k.state.isDestroyed, E8("setProps")), !k.state.isDestroyed) {
55295
55295
  r1("onBeforeUpdate", [k, W]), ze();
55296
55296
  var l1 = k.props, J1 = G_(e, Object.assign({}, l1, F_(W), {
55297
55297
  ignoreAttributes: !0
@@ -55309,7 +55309,7 @@ function LT1(e, t) {
55309
55309
  });
55310
55310
  }
55311
55311
  function _t() {
55312
- process.env.NODE_ENV !== "production" && g4(k.state.isDestroyed, E8("show"));
55312
+ process.env.NODE_ENV !== "production" && m4(k.state.isDestroyed, E8("show"));
55313
55313
  var W = k.state.isVisible, l1 = k.state.isDestroyed, J1 = !k.state.isEnabled, Me = D5.isTouch && !k.props.touch, O1 = aC(k.props.duration, 0, v6.duration);
55314
55314
  if (!(W || l1 || J1 || Me) && !G().hasAttribute("disabled") && (r1("onShow", [k], !1), k.props.onShow(k) !== !1)) {
55315
55315
  if (k.state.isVisible = !0, h1() && (x.style.visibility = "visible"), v1(), Z1(), k.state.isMounted || (x.style.transition = "none"), h1()) {
@@ -55331,7 +55331,7 @@ function LT1(e, t) {
55331
55331
  }
55332
55332
  }
55333
55333
  function p1() {
55334
- process.env.NODE_ENV !== "production" && g4(k.state.isDestroyed, E8("hide"));
55334
+ process.env.NODE_ENV !== "production" && m4(k.state.isDestroyed, E8("hide"));
55335
55335
  var W = !k.state.isVisible, l1 = k.state.isDestroyed, J1 = !k.state.isEnabled, Me = aC(k.props.duration, 1, v6.duration);
55336
55336
  if (!(W || l1 || J1) && (r1("onHide", [k], !1), k.props.onHide(k) !== !1)) {
55337
55337
  if (k.state.isVisible = !1, k.state.isShown = !1, d = !1, r = !1, h1() && (x.style.visibility = "hidden"), A1(), re(), v1(!0), h1()) {
@@ -55342,17 +55342,17 @@ function LT1(e, t) {
55342
55342
  }
55343
55343
  }
55344
55344
  function B1(W) {
55345
- process.env.NODE_ENV !== "production" && g4(k.state.isDestroyed, E8("hideWithInteractivity")), m1().addEventListener("mousemove", m), R_(kr, m), m(W);
55345
+ process.env.NODE_ENV !== "production" && m4(k.state.isDestroyed, E8("hideWithInteractivity")), m1().addEventListener("mousemove", m), R_(kr, m), m(W);
55346
55346
  }
55347
55347
  function ee() {
55348
- process.env.NODE_ENV !== "production" && g4(k.state.isDestroyed, E8("unmount")), k.state.isVisible && k.hide(), k.state.isMounted && (N1(), d1().forEach(function(W) {
55348
+ process.env.NODE_ENV !== "production" && m4(k.state.isDestroyed, E8("unmount")), k.state.isVisible && k.hide(), k.state.isMounted && (N1(), d1().forEach(function(W) {
55349
55349
  W._tippy.unmount();
55350
55350
  }), x.parentNode && x.parentNode.removeChild(x), cC = cC.filter(function(W) {
55351
55351
  return W !== k;
55352
55352
  }), k.state.isMounted = !1, r1("onHidden", [k]));
55353
55353
  }
55354
55354
  function Ae() {
55355
- process.env.NODE_ENV !== "production" && g4(k.state.isDestroyed, E8("destroy")), !k.state.isDestroyed && (k.clearDelayTimeouts(), k.unmount(), ze(), delete e._tippy, k.state.isDestroyed = !0, r1("onDestroy", [k]));
55355
+ process.env.NODE_ENV !== "production" && m4(k.state.isDestroyed, E8("destroy")), !k.state.isDestroyed && (k.clearDelayTimeouts(), k.unmount(), ze(), delete e._tippy, k.state.isDestroyed = !0, r1("onDestroy", [k]));
55356
55356
  }
55357
55357
  }
55358
55358
  function k0(e, t) {
@@ -55364,7 +55364,7 @@ function k0(e, t) {
55364
55364
  }), o = cT1(e);
55365
55365
  if (process.env.NODE_ENV !== "production") {
55366
55366
  var s = ai(i.content), r = o.length > 1;
55367
- g4(s && r, ["tippy() was passed an Element as the `content` prop, but more than", "one tippy instance was created by this invocation. This means the", "content element will only be appended to the last tippy instance.", `
55367
+ m4(s && r, ["tippy() was passed an Element as the `content` prop, but more than", "one tippy instance was created by this invocation. This means the", "content element will only be appended to the last tippy instance.", `
55368
55368
 
55369
55369
  `, "Instead, pass the .innerHTML of the element, or use a function that", "returns a cloned version of the element instead.", `
55370
55370
 
@@ -57739,7 +57739,7 @@ Q3.prototype = {
57739
57739
  return o.j[e] = r, r;
57740
57740
  }
57741
57741
  };
57742
- const Je = (e, t, n, i, o) => e.ta(t, n, i, o), g2 = (e, t, n, i, o) => e.tr(t, n, i, o), nM = (e, t, n, i, o) => e.ts(t, n, i, o), K1 = (e, t, n, i, o) => e.tt(t, n, i, o), h4 = "WORD", mh = "UWORD", mE = "ASCIINUMERICAL", yE = "ALPHANUMERICAL", di = "LOCALHOST", yh = "TLD", wh = "UTLD", na = "SCHEME", $8 = "SLASH_SCHEME", ug = "NUM", bh = "WS", Cg = "NL", xn = "OPENBRACE", In = "CLOSEBRACE", ja = "OPENBRACKET", Ka = "CLOSEBRACKET", Ya = "OPENPAREN", Xa = "CLOSEPAREN", Ja = "OPENANGLEBRACKET", Qa = "CLOSEANGLEBRACKET", el = "FULLWIDTHLEFTPAREN", tl = "FULLWIDTHRIGHTPAREN", nl = "LEFTCORNERBRACKET", il = "RIGHTCORNERBRACKET", ol = "LEFTWHITECORNERBRACKET", sl = "RIGHTWHITECORNERBRACKET", rl = "FULLWIDTHLESSTHAN", al = "FULLWIDTHGREATERTHAN", ll = "AMPERSAND", dl = "APOSTROPHE", cl = "ASTERISK", f9 = "AT", ul = "BACKSLASH", Cl = "BACKTICK", pl = "CARET", b9 = "COLON", pg = "COMMA", hl = "DOLLAR", E5 = "DOT", fl = "EQUALS", hg = "EXCLAMATION", O6 = "HYPHEN", En = "PERCENT", gl = "PIPE", ml = "PLUS", yl = "POUND", An = "QUERY", fg = "QUOTE", wE = "FULLWIDTHMIDDLEDOT", gg = "SEMI", A5 = "SLASH", Pn = "TILDE", wl = "UNDERSCORE", bE = "EMOJI", bl = "SYM";
57742
+ const Je = (e, t, n, i, o) => e.ta(t, n, i, o), g2 = (e, t, n, i, o) => e.tr(t, n, i, o), nM = (e, t, n, i, o) => e.ts(t, n, i, o), K1 = (e, t, n, i, o) => e.tt(t, n, i, o), f4 = "WORD", mh = "UWORD", mE = "ASCIINUMERICAL", yE = "ALPHANUMERICAL", di = "LOCALHOST", yh = "TLD", wh = "UTLD", na = "SCHEME", $8 = "SLASH_SCHEME", ug = "NUM", bh = "WS", Cg = "NL", xn = "OPENBRACE", In = "CLOSEBRACE", ja = "OPENBRACKET", Ka = "CLOSEBRACKET", Ya = "OPENPAREN", Xa = "CLOSEPAREN", Ja = "OPENANGLEBRACKET", Qa = "CLOSEANGLEBRACKET", el = "FULLWIDTHLEFTPAREN", tl = "FULLWIDTHRIGHTPAREN", nl = "LEFTCORNERBRACKET", il = "RIGHTCORNERBRACKET", ol = "LEFTWHITECORNERBRACKET", sl = "RIGHTWHITECORNERBRACKET", rl = "FULLWIDTHLESSTHAN", al = "FULLWIDTHGREATERTHAN", ll = "AMPERSAND", dl = "APOSTROPHE", cl = "ASTERISK", f9 = "AT", ul = "BACKSLASH", Cl = "BACKTICK", pl = "CARET", b9 = "COLON", pg = "COMMA", hl = "DOLLAR", E5 = "DOT", fl = "EQUALS", hg = "EXCLAMATION", O6 = "HYPHEN", En = "PERCENT", gl = "PIPE", ml = "PLUS", yl = "POUND", An = "QUERY", fg = "QUOTE", wE = "FULLWIDTHMIDDLEDOT", gg = "SEMI", A5 = "SLASH", Pn = "TILDE", wl = "UNDERSCORE", bE = "EMOJI", bl = "SYM";
57743
57743
  var vE = /* @__PURE__ */ Object.freeze({
57744
57744
  __proto__: null,
57745
57745
  ALPHANUMERICAL: yE,
@@ -57795,10 +57795,10 @@ var vE = /* @__PURE__ */ Object.freeze({
57795
57795
  UNDERSCORE: wl,
57796
57796
  UTLD: wh,
57797
57797
  UWORD: mh,
57798
- WORD: h4,
57798
+ WORD: f4,
57799
57799
  WS: bh
57800
57800
  });
57801
- const a4 = /[a-z]/, tn = new RegExp("\\p{L}", "u"), hC = new RegExp("\\p{Emoji}", "u"), l4 = /\d/, fC = /\s/, iM = "\r", gC = `
57801
+ const l4 = /[a-z]/, tn = new RegExp("\\p{L}", "u"), hC = new RegExp("\\p{Emoji}", "u"), d4 = /\d/, fC = /\s/, iM = "\r", gC = `
57802
57802
  `, FL1 = "️", UL1 = "‍", mC = "";
57803
57803
  let Lr = null, Vr = null;
57804
57804
  function ZL1(e = []) {
@@ -57806,22 +57806,22 @@ function ZL1(e = []) {
57806
57806
  Q3.groups = t;
57807
57807
  const n = new Q3();
57808
57808
  Lr == null && (Lr = oM(BL1)), Vr == null && (Vr = oM(OL1)), K1(n, "'", dl), K1(n, "{", xn), K1(n, "}", In), K1(n, "[", ja), K1(n, "]", Ka), K1(n, "(", Ya), K1(n, ")", Xa), K1(n, "<", Ja), K1(n, ">", Qa), K1(n, "(", el), K1(n, ")", tl), K1(n, "「", nl), K1(n, "」", il), K1(n, "『", ol), K1(n, "』", sl), K1(n, "<", rl), K1(n, ">", al), K1(n, "&", ll), K1(n, "*", cl), K1(n, "@", f9), K1(n, "`", Cl), K1(n, "^", pl), K1(n, ":", b9), K1(n, ",", pg), K1(n, "$", hl), K1(n, ".", E5), K1(n, "=", fl), K1(n, "!", hg), K1(n, "-", O6), K1(n, "%", En), K1(n, "|", gl), K1(n, "+", ml), K1(n, "#", yl), K1(n, "?", An), K1(n, '"', fg), K1(n, "/", A5), K1(n, ";", gg), K1(n, "~", Pn), K1(n, "_", wl), K1(n, "\\", ul), K1(n, "・", wE);
57809
- const i = g2(n, l4, ug, {
57809
+ const i = g2(n, d4, ug, {
57810
57810
  [ph]: !0
57811
57811
  });
57812
- g2(i, l4, i);
57813
- const o = g2(i, a4, mE, {
57812
+ g2(i, d4, i);
57813
+ const o = g2(i, l4, mE, {
57814
57814
  [Hn]: !0
57815
57815
  }), s = g2(i, tn, yE, {
57816
57816
  [Cn]: !0
57817
- }), r = g2(n, a4, h4, {
57817
+ }), r = g2(n, l4, f4, {
57818
57818
  [hh]: !0
57819
57819
  });
57820
- g2(r, l4, o), g2(r, a4, r), g2(o, l4, o), g2(o, a4, o);
57820
+ g2(r, d4, o), g2(r, l4, r), g2(o, d4, o), g2(o, l4, o);
57821
57821
  const a = g2(n, tn, mh, {
57822
57822
  [fh]: !0
57823
57823
  });
57824
- g2(a, a4), g2(a, l4, s), g2(a, tn, a), g2(s, l4, s), g2(s, a4), g2(s, tn, s);
57824
+ g2(a, l4), g2(a, d4, s), g2(a, tn, a), g2(s, d4, s), g2(s, l4), g2(s, tn, s);
57825
57825
  const l = K1(n, gC, Cg, {
57826
57826
  [pC]: !0
57827
57827
  }), d = K1(n, iM, bh, {
@@ -57836,9 +57836,9 @@ function ZL1(e = []) {
57836
57836
  K1(C, "#"), g2(C, hC, C), K1(C, FL1, C);
57837
57837
  const h = K1(C, UL1);
57838
57838
  K1(h, "#"), g2(h, hC, C);
57839
- const g = [[a4, r], [l4, o]], m = [[a4, null], [tn, a], [l4, s]];
57839
+ const g = [[l4, r], [d4, o]], m = [[l4, null], [tn, a], [d4, s]];
57840
57840
  for (let y = 0; y < Lr.length; y++)
57841
- d9(n, Lr[y], yh, h4, g);
57841
+ d9(n, Lr[y], yh, f4, g);
57842
57842
  for (let y = 0; y < Vr.length; y++)
57843
57843
  d9(n, Vr[y], wh, mh, m);
57844
57844
  b7(yh, {
@@ -57847,7 +57847,7 @@ function ZL1(e = []) {
57847
57847
  }, t), b7(wh, {
57848
57848
  utld: !0,
57849
57849
  alpha: !0
57850
- }, t), d9(n, "file", na, h4, g), d9(n, "mailto", na, h4, g), d9(n, "http", $8, h4, g), d9(n, "https", $8, h4, g), d9(n, "ftp", $8, h4, g), d9(n, "ftps", $8, h4, g), b7(na, {
57850
+ }, t), d9(n, "file", na, f4, g), d9(n, "mailto", na, f4, g), d9(n, "http", $8, f4, g), d9(n, "https", $8, f4, g), d9(n, "ftp", $8, f4, g), d9(n, "ftps", $8, f4, g), b7(na, {
57851
57851
  scheme: !0,
57852
57852
  ascii: !0
57853
57853
  }, t), b7($8, {
@@ -57860,7 +57860,7 @@ function ZL1(e = []) {
57860
57860
  } : {
57861
57861
  [DL1]: !0
57862
57862
  };
57863
- w.indexOf("-") >= 0 ? S[gh] = !0 : a4.test(w) ? l4.test(w) ? S[Hn] = !0 : S[hh] = !0 : S[ph] = !0, nM(n, w, w, S);
57863
+ w.indexOf("-") >= 0 ? S[gh] = !0 : l4.test(w) ? d4.test(w) ? S[Hn] = !0 : S[hh] = !0 : S[ph] = !0, nM(n, w, w, S);
57864
57864
  }
57865
57865
  return nM(n, "localhost", di, {
57866
57866
  ascii: !0
@@ -59778,10 +59778,10 @@ const pn = /* @__PURE__ */ _5(CV1), pV1 = (e, t, n) => {
59778
59778
  ut(() => n.context.isDesignCom, async () => {
59779
59779
  const S = A4().toLowerCase(), _ = n.context.isDesignCom ? "Dcom" : "BrandCrowd";
59780
59780
  try {
59781
- const { default: k } = await mM(/* @__PURE__ */ Object.assign({ "./watermark/CreatedOnBrandCrowd-de-de.vue": () => import("./CreatedOnBrandCrowd-de-de-D91N-tbm.js"), "./watermark/CreatedOnBrandCrowd-en-us.vue": () => import("./CreatedOnBrandCrowd-en-us-BmcF4WYm.js"), "./watermark/CreatedOnBrandCrowd-es-es.vue": () => import("./CreatedOnBrandCrowd-es-es-CRAWWkm0.js"), "./watermark/CreatedOnBrandCrowd-fr-ca.vue": () => import("./CreatedOnBrandCrowd-fr-ca-Crg5ty-A.js"), "./watermark/CreatedOnBrandCrowd-fr-fr.vue": () => import("./CreatedOnBrandCrowd-fr-fr-Crg5ty-A.js"), "./watermark/CreatedOnBrandCrowd-pt-br.vue": () => import("./CreatedOnBrandCrowd-pt-br-IPV8Z-Ww.js"), "./watermark/CreatedOnBrandCrowd-pt-pt.vue": () => import("./CreatedOnBrandCrowd-pt-pt-IPV8Z-Ww.js"), "./watermark/CreatedOnDcom-de-de.vue": () => import("./CreatedOnDcom-de-de-CmljZBtX.js"), "./watermark/CreatedOnDcom-en-us.vue": () => import("./CreatedOnDcom-en-us-B-VY4Bpb.js"), "./watermark/CreatedOnDcom-es-es.vue": () => import("./CreatedOnDcom-es-es-BH3XI3P0.js"), "./watermark/CreatedOnDcom-fr-ca.vue": () => import("./CreatedOnDcom-fr-ca-BX8FjPKR.js"), "./watermark/CreatedOnDcom-fr-fr.vue": () => import("./CreatedOnDcom-fr-fr-BM-qEmPv.js"), "./watermark/CreatedOnDcom-pt-br.vue": () => import("./CreatedOnDcom-pt-br-DX_aD3XN.js"), "./watermark/CreatedOnDcom-pt-pt.vue": () => import("./CreatedOnDcom-pt-pt-oFipORQP.js") }), `./watermark/CreatedOn${_}-${S}.vue`, 3);
59781
+ const { default: k } = await mM(/* @__PURE__ */ Object.assign({ "./watermark/CreatedOnBrandCrowd-de-de.vue": () => import("./CreatedOnBrandCrowd-de-de-86kFDsjd.js"), "./watermark/CreatedOnBrandCrowd-en-us.vue": () => import("./CreatedOnBrandCrowd-en-us-BhFAL2r4.js"), "./watermark/CreatedOnBrandCrowd-es-es.vue": () => import("./CreatedOnBrandCrowd-es-es-spGcLYbG.js"), "./watermark/CreatedOnBrandCrowd-fr-ca.vue": () => import("./CreatedOnBrandCrowd-fr-ca-DKe-tShk.js"), "./watermark/CreatedOnBrandCrowd-fr-fr.vue": () => import("./CreatedOnBrandCrowd-fr-fr-DKe-tShk.js"), "./watermark/CreatedOnBrandCrowd-pt-br.vue": () => import("./CreatedOnBrandCrowd-pt-br-DcT0oRzX.js"), "./watermark/CreatedOnBrandCrowd-pt-pt.vue": () => import("./CreatedOnBrandCrowd-pt-pt-DcT0oRzX.js"), "./watermark/CreatedOnDcom-de-de.vue": () => import("./CreatedOnDcom-de-de-BMuHkNH2.js"), "./watermark/CreatedOnDcom-en-us.vue": () => import("./CreatedOnDcom-en-us-h174d2n3.js"), "./watermark/CreatedOnDcom-es-es.vue": () => import("./CreatedOnDcom-es-es-B6D1xSPS.js"), "./watermark/CreatedOnDcom-fr-ca.vue": () => import("./CreatedOnDcom-fr-ca-BE0ONxF_.js"), "./watermark/CreatedOnDcom-fr-fr.vue": () => import("./CreatedOnDcom-fr-fr-6tXvojla.js"), "./watermark/CreatedOnDcom-pt-br.vue": () => import("./CreatedOnDcom-pt-br-DZYu7pp5.js"), "./watermark/CreatedOnDcom-pt-pt.vue": () => import("./CreatedOnDcom-pt-pt-DrGT23mO.js") }), `./watermark/CreatedOn${_}-${S}.vue`, 3);
59782
59782
  i.value = k;
59783
59783
  } catch {
59784
- const { default: V } = await mM(/* @__PURE__ */ Object.assign({ "./watermark/CreatedOnBrandCrowd-en-us.vue": () => import("./CreatedOnBrandCrowd-en-us-BmcF4WYm.js"), "./watermark/CreatedOnDcom-en-us.vue": () => import("./CreatedOnDcom-en-us-B-VY4Bpb.js") }), `./watermark/CreatedOn${_}-en-us.vue`, 3);
59784
+ const { default: V } = await mM(/* @__PURE__ */ Object.assign({ "./watermark/CreatedOnBrandCrowd-en-us.vue": () => import("./CreatedOnBrandCrowd-en-us-BhFAL2r4.js"), "./watermark/CreatedOnDcom-en-us.vue": () => import("./CreatedOnDcom-en-us-h174d2n3.js") }), `./watermark/CreatedOn${_}-en-us.vue`, 3);
59785
59785
  i.value = V;
59786
59786
  }
59787
59787
  }, {
@@ -59840,7 +59840,7 @@ const pn = /* @__PURE__ */ _5(CV1), pV1 = (e, t, n) => {
59840
59840
  ab_test_variation: s == null ? void 0 : s.value,
59841
59841
  content_type: null
59842
59842
  }), await r.showUpgradeModalAndSaveAsync(
59843
- v4.RemoveWatermark
59843
+ S4.RemoveWatermark
59844
59844
  ));
59845
59845
  };
59846
59846
  return (S, _) => (u(), f("footer", MV1, [
@@ -64790,7 +64790,7 @@ const f$1 = /* @__PURE__ */ v(u$1, [["render", h$1], ["__scopeId", "data-v-a7b6b
64790
64790
  computed: {
64791
64791
  isCustomAmountFieldVisible() {
64792
64792
  return this.viewModel.supportMeConfig.paymentOptions.some(
64793
- (e) => e.name === w4
64793
+ (e) => e.name === b4
64794
64794
  );
64795
64795
  },
64796
64796
  isCustomerMessageFieldVisible() {
@@ -64810,7 +64810,7 @@ const f$1 = /* @__PURE__ */ v(u$1, [["render", h$1], ["__scopeId", "data-v-a7b6b
64810
64810
  },
64811
64811
  paymentOptions() {
64812
64812
  return this.viewModel.supportMeConfig.paymentOptions.filter(
64813
- (e) => e.name !== w4
64813
+ (e) => e.name !== b4
64814
64814
  );
64815
64815
  },
64816
64816
  currencySymbol() {
@@ -64852,7 +64852,7 @@ const f$1 = /* @__PURE__ */ v(u$1, [["render", h$1], ["__scopeId", "data-v-a7b6b
64852
64852
  else {
64853
64853
  this.prevCustomAmount = e;
64854
64854
  const t = this.viewModel.supportMeConfig.paymentOptions.find(
64855
- (n) => n.name === w4
64855
+ (n) => n.name === b4
64856
64856
  );
64857
64857
  t && (this.selectedPaymentOptionIds = [t.id]);
64858
64858
  }
@@ -66426,10 +66426,10 @@ const LD1 = /* @__PURE__ */ v(kD1, [["render", TD1], ["__scopeId", "data-v-2a49f
66426
66426
  },
66427
66427
  setup(e) {
66428
66428
  const t = e, n = I(() => t.viewModel.items), i = I(
66429
- () => t.viewModel.displayStyle !== W5
66429
+ () => t.viewModel.displayStyle !== j5
66430
66430
  ), o = I(
66431
66431
  () => t.context.isBrandSite && t.viewModel.areImagesFullWidth
66432
- ), s = I(() => (v5(t.viewModel.title) || "").length > 0), r = I(() => t.viewModel.displayStyle === O3 || t.viewModel.displayStyle === d6), a = I(() => t.viewModel.displayStyle === At || t.viewModel.displayStyle === W5 || t.viewModel.displayStyle === o2), l = I(
66432
+ ), s = I(() => (v5(t.viewModel.title) || "").length > 0), r = I(() => t.viewModel.displayStyle === O3 || t.viewModel.displayStyle === d6), a = I(() => t.viewModel.displayStyle === At || t.viewModel.displayStyle === j5 || t.viewModel.displayStyle === o2), l = I(
66433
66433
  () => t.viewModel.displayStyle === o2
66434
66434
  ), d = I(() => l.value && t.viewModel.role === "shapes-section" && !t.context.isTemplate && !t.context.isBrandSite), c = I(
66435
66435
  () => t.viewModel.displayStyle === ba
@@ -66590,7 +66590,7 @@ const IM = /* @__PURE__ */ _5(HD1), xD1 = "2/1", ID1 = /* @__PURE__ */ J({
66590
66590
  } : {
66591
66591
  aspectRatio: xD1
66592
66592
  };
66593
- }), a = I(() => t.viewModel.items || []), l = I(() => t.context.isPreview), d = I(() => t.viewModel.displayStyle === W5 && t.viewModel.items.length === 1), c = I(() => (x) => w0(x, t.context)), C = I(() => {
66593
+ }), a = I(() => t.viewModel.items || []), l = I(() => t.context.isPreview), d = I(() => t.viewModel.displayStyle === j5 && t.viewModel.items.length === 1), c = I(() => (x) => w0(x, t.context)), C = I(() => {
66594
66594
  const x = a.value[0];
66595
66595
  if (x)
66596
66596
  return {
@@ -66604,7 +66604,7 @@ const IM = /* @__PURE__ */ _5(HD1), xD1 = "2/1", ID1 = /* @__PURE__ */ J({
66604
66604
  height: x.height,
66605
66605
  width: x.width
66606
66606
  };
66607
- }), h = I(() => t.context.isBrandPageOrIsBrandContact && a.value.length === 1 && t.viewModel.displayStyle === W5), g = I(() => t.context.isBrandPageOrIsBrandContact), m = I(() => a.value.length == 1 || !d.value), y = (x) => {
66607
+ }), h = I(() => t.context.isBrandPageOrIsBrandContact && a.value.length === 1 && t.viewModel.displayStyle === j5), g = I(() => t.context.isBrandPageOrIsBrandContact), m = I(() => a.value.length == 1 || !d.value), y = (x) => {
66608
66608
  if (x.imageLink && IM(x.imageLink)) {
66609
66609
  window.open(x.imageLink, "_blank", "noopener,noreferrer");
66610
66610
  return;
@@ -66994,7 +66994,7 @@ const UD1 = /* @__PURE__ */ v(BD1, [["render", FD1], ["__scopeId", "data-v-01ba6
66994
66994
  },
66995
66995
  dividerStyle() {
66996
66996
  let e;
66997
- return this.viewModel.dividerStyle === m4.thin ? e = `border: 1px solid ${this.viewModel.dividerColor.backgroundColor}` : this.viewModel.dividerStyle === m4.thick ? e = `border: 2px solid ${this.viewModel.dividerColor.backgroundColor}` : e = "border: none", e;
66997
+ return this.viewModel.dividerStyle === y4.thin ? e = `border: 1px solid ${this.viewModel.dividerColor.backgroundColor}` : this.viewModel.dividerStyle === y4.thick ? e = `border: 2px solid ${this.viewModel.dividerColor.backgroundColor}` : e = "border: none", e;
66998
66998
  }
66999
66999
  }
67000
67000
  }), zD1 = {
@@ -69575,7 +69575,7 @@ const Bn = (e) => {
69575
69575
  trigger_type: Z5.AUTOMATIC,
69576
69576
  content_type: null
69577
69577
  }), await t.showUpgradeModalAndSaveAsync(
69578
- v4.AddPage
69578
+ S4.AddPage
69579
69579
  );
69580
69580
  return;
69581
69581
  }
@@ -70037,7 +70037,7 @@ const Mt = p2("uiContentSettings", {
70037
70037
  return;
70038
70038
  }
70039
70039
  if (!t.settings.fields[e.name]) {
70040
- if (!y4()[t.type]) {
70040
+ if (!w4()[t.type]) {
70041
70041
  if (process.env.NODE_ENV !== "production")
70042
70042
  throw new Error(
70043
70043
  `Unable to locate content settings config by type '${t.type}'`
@@ -70300,7 +70300,7 @@ const Mt = p2("uiContentSettings", {
70300
70300
  const s = o.createInitialContent({
70301
70301
  userState: n.$state,
70302
70302
  brandPageType: i.brandPageType
70303
- }), r = y4()[s.type], a = Object.keys(
70303
+ }), r = w4()[s.type], a = Object.keys(
70304
70304
  s
70305
70305
  ).filter((h) => Tp.every((g) => g !== h)).reduce((h, g) => {
70306
70306
  var m;
@@ -70393,7 +70393,7 @@ const Mt = p2("uiContentSettings", {
70393
70393
  throw new Error("content item id should be unique");
70394
70394
  }
70395
70395
  e.items.forEach((t) => {
70396
- const n = y4()[t.type];
70396
+ const n = w4()[t.type];
70397
70397
  if (!n) {
70398
70398
  process.env.NODE_ENV !== "production" && console.error(
70399
70399
  `Unable to locate content settings config by type '${t.type}'`
@@ -70417,7 +70417,7 @@ const Mt = p2("uiContentSettings", {
70417
70417
  process.env.NODE_ENV !== "production" && console.error(`unable to locate content item by id '${e.id}'`);
70418
70418
  return;
70419
70419
  }
70420
- const i = y4()[n.type];
70420
+ const i = w4()[n.type];
70421
70421
  if (!i) {
70422
70422
  process.env.NODE_ENV !== "production" && console.error(`unable to locate config by type '${n.type}'`);
70423
70423
  return;
@@ -70471,7 +70471,7 @@ const Mt = p2("uiContentSettings", {
70471
70471
  this.itemStates[e.id] || (this.setItemState({
70472
70472
  id: e.id,
70473
70473
  itemState: { ...Kw1(), ...t || {} }
70474
- }), (n = y4()[e.type].fieldGroups) == null || n.map((i) => i.id).forEach(
70474
+ }), (n = w4()[e.type].fieldGroups) == null || n.map((i) => i.id).forEach(
70475
70475
  (i) => this.initialiseItemGroupState({ id: e.id, groupId: i })
70476
70476
  ));
70477
70477
  },
@@ -70540,7 +70540,7 @@ const Mt = p2("uiContentSettings", {
70540
70540
  selectedItemTemplate() {
70541
70541
  const e = this.selectedItem;
70542
70542
  if (e)
70543
- return y4()[e.type];
70543
+ return w4()[e.type];
70544
70544
  }
70545
70545
  }
70546
70546
  }), nU1 = {
@@ -70858,7 +70858,7 @@ const Mt = p2("uiContentSettings", {
70858
70858
  applyLogoDesignAttributes(e) {
70859
70859
  const t = Re(), n = k6();
70860
70860
  t.setLogoTheme({
70861
- logoTheme: H4(e.logoTheme)
70861
+ logoTheme: x4(e.logoTheme)
70862
70862
  }), n.setRecommendedLogoColors({
70863
70863
  recommendedLogoColors: e.recommendedLogoColors
70864
70864
  }), n.setLogoColors({
@@ -71258,7 +71258,7 @@ const Mt = p2("uiContentSettings", {
71258
71258
  }, e);
71259
71259
  }), iU1 = () => {
71260
71260
  const e = Ee(), t = oe(), n = e.features;
71261
- return Object.values(y4()).filter((i) => i.type !== "image" || n.canAddImageContents).filter(
71261
+ return Object.values(w4()).filter((i) => i.type !== "image" || n.canAddImageContents).filter(
71262
71262
  (i) => i.brandPageType === void 0 || i.brandPageType.includes(t.brandPageType)
71263
71263
  );
71264
71264
  }, oU1 = (e) => {
@@ -71268,7 +71268,7 @@ const Mt = p2("uiContentSettings", {
71268
71268
  )
71269
71269
  });
71270
71270
  }, sU1 = (e, t) => (n) => {
71271
- const i = H4(n.logoTheme), { model: o } = g7(
71271
+ const i = x4(n.logoTheme), { model: o } = g7(
71272
71272
  i,
71273
71273
  new y9({ contents: e, styles: new m0() })
71274
71274
  ), s = jl(
@@ -71334,7 +71334,7 @@ const Mt = p2("uiContentSettings", {
71334
71334
  );
71335
71335
  return;
71336
71336
  }
71337
- const s = H4(o.logoTheme), r = jl(
71337
+ const s = x4(o.logoTheme), r = jl(
71338
71338
  o.logoImageUrl
71339
71339
  );
71340
71340
  n.setSelectedLogoImageToAll({
@@ -71365,9 +71365,9 @@ const Mt = p2("uiContentSettings", {
71365
71365
  categories: "categories",
71366
71366
  AI: "ai"
71367
71367
  }, rU1 = () => ({
71368
- all: S4("headerAll"),
71369
- categories: S4("headerCategories"),
71370
- AI: S4("headerAi")
71368
+ all: _4("headerAll"),
71369
+ categories: _4("headerCategories"),
71370
+ AI: _4("headerAi")
71371
71371
  }), aU1 = (e) => `/maker/api/template/templatetype/${e}`, lU1 = (e) => `/maker/api/template/${e}`, dU1 = () => "/api/ai/websites/generate-text";
71372
71372
  class cU1 {
71373
71373
  constructor(t = {}) {
@@ -71444,7 +71444,7 @@ const kh = () => xC || (xC = new cU1()), Ml = (e, t) => uU1(e).then(
71444
71444
  r < 0 && (r += 4294967296);
71445
71445
  const a = n - t + 1;
71446
71446
  return r = r % a, t + r;
71447
- }, PM = 6, BM = 250, E4 = p2("uiTemplateSettings", {
71447
+ }, PM = 6, BM = 250, W5 = p2("uiTemplateSettings", {
71448
71448
  state: () => {
71449
71449
  ve();
71450
71450
  const t = !Ee().isAdmin;
@@ -71458,7 +71458,7 @@ const kh = () => xC || (xC = new cU1()), Ml = (e, t) => uU1(e).then(
71458
71458
  templates: [],
71459
71459
  selectedTab: {
71460
71460
  key: "all",
71461
- displayName: S4("headerAll")
71461
+ displayName: _4("headerAll")
71462
71462
  },
71463
71463
  searchTerm: void 0,
71464
71464
  selectedCategory: void 0,
@@ -71466,20 +71466,21 @@ const kh = () => xC || (xC = new cU1()), Ml = (e, t) => uU1(e).then(
71466
71466
  tabsWithTranslations: [
71467
71467
  {
71468
71468
  key: "all",
71469
- displayName: S4("headerAll")
71469
+ displayName: _4("headerAll")
71470
71470
  },
71471
71471
  {
71472
71472
  key: "categories",
71473
- displayName: S4("headerCategories")
71473
+ displayName: _4("headerCategories")
71474
71474
  },
71475
71475
  {
71476
71476
  key: "ai",
71477
- displayName: S4("headerAi")
71477
+ displayName: _4("headerAi")
71478
71478
  }
71479
71479
  ],
71480
71480
  cachedTemplates: {},
71481
71481
  logoChangeWatcherInitialized: !1,
71482
- renderAsImage: t
71482
+ renderAsImage: t,
71483
+ initialSearchTerm: void 0
71483
71484
  };
71484
71485
  },
71485
71486
  actions: {
@@ -71694,6 +71695,9 @@ const kh = () => xC || (xC = new cU1()), Ml = (e, t) => uU1(e).then(
71694
71695
  tabName: Jt.TEMPLATE_SETTINGS
71695
71696
  }));
71696
71697
  },
71698
+ setInitialSearchTerm(e) {
71699
+ this.initialSearchTerm = e.initialSearchTerm;
71700
+ },
71697
71701
  clearTemplates() {
71698
71702
  this.templates.splice(0), this.pageNo = 0, this.pageNoLoaded = 0;
71699
71703
  },
@@ -72168,24 +72172,26 @@ const $M = /* @__PURE__ */ _5(EU1), DM = Object.freeze({
72168
72172
  }),
72169
72173
  actions: {
72170
72174
  initialise(e) {
72171
- var r, a;
72175
+ var a, l;
72172
72176
  const t = B3(), n = G4();
72173
72177
  if (process.env.NODE_ENV !== "production" && (typeof t.baseBrandPageDomain != "string" && console.error("brandPageBaseUrl should not be undefined"), !e.isPrePurchase && typeof t.upgradeSubscriptionUrlPath != "string" && console.error("upgradeUrl should not be undefined"), !e.isPrePurchase && (typeof e.logoDraftToken != "string" || !e.logoDraftToken)))
72174
72178
  throw new Error("logoDraftToken should be defined");
72175
- const i = oe();
72176
- this.brandPageBaseUrl = e.brandPageBaseUrl, this.baseFabricRenderUrl = t.baseFabricRenderDomain, this.brandPageDescription = e.brandPageDescription, this.brandPageDisplayName = e.brandPageDisplayName || this.brandPageDisplayName, this.brandPageSlug = e.brandPageSlug, this.brandPageStatus = e.brandPageStatus, this.brandPageTitle = e.brandPageTitle, this.sensitiveContent = e.sensitiveContent, this.brandPageToken = e.brandPageToken, this.designDraftToken = e.designDraftToken, this.designTemplateToken = e.designTemplateToken, this.isProduction = e.isProduction, this.backButtonLabel = e.backButtonLabel || PL("postPurchaseBackButtonLabel"), this.manageWebsiteDesignsUrl = e.manageWebsiteDesignsUrl, this.runtimeEnvironment = e.runtimeEnvironment, this.upgradeUrl = e.upgradeUrl, this.reactivationUrl = e.reactivationUrl, this.isReactivationModal = e.isReactivationModal, this.isPublishUpgradeModal = e.isPublishUpgradeModal, this.availableTaxes = e.availableTaxes, this.selectedTaxId = ((r = this.availableTaxes) == null ? void 0 : r.length) > 0 ? this.availableTaxes[0].id : void 0, this.customDomain = e.brandPageCustomDomain ?? null, this.isCustomDomainEnabled = e.isBrandPageCustomDomainEnabled, this.isSellDomainNameEnabled = e.isSellDomainNameEnabled, this.isDesignCom = e.isDesignCom, this.isPrePurchase = e.isPrePurchase, this.makerFonts = e.makerFonts || [], this.showPublishOptionModal = e.showPublishOptionModal, this.abTests = vp1(e.abTests || {}), this.isSubsequentPublish = e.isSubsequentPublish, _3().initialise({
72179
+ const i = oe(), o = W5();
72180
+ this.brandPageBaseUrl = e.brandPageBaseUrl, this.baseFabricRenderUrl = t.baseFabricRenderDomain, this.brandPageDescription = e.brandPageDescription, this.brandPageDisplayName = e.brandPageDisplayName || this.brandPageDisplayName, this.brandPageSlug = e.brandPageSlug, this.brandPageStatus = e.brandPageStatus, this.brandPageTitle = e.brandPageTitle, this.sensitiveContent = e.sensitiveContent, this.brandPageToken = e.brandPageToken, this.designDraftToken = e.designDraftToken, this.designTemplateToken = e.designTemplateToken, this.isProduction = e.isProduction, this.backButtonLabel = e.backButtonLabel || PL("postPurchaseBackButtonLabel"), this.manageWebsiteDesignsUrl = e.manageWebsiteDesignsUrl, this.runtimeEnvironment = e.runtimeEnvironment, this.upgradeUrl = e.upgradeUrl, this.reactivationUrl = e.reactivationUrl, this.isReactivationModal = e.isReactivationModal, this.isPublishUpgradeModal = e.isPublishUpgradeModal, this.availableTaxes = e.availableTaxes, this.selectedTaxId = ((a = this.availableTaxes) == null ? void 0 : a.length) > 0 ? this.availableTaxes[0].id : void 0, this.customDomain = e.brandPageCustomDomain ?? null, this.isCustomDomainEnabled = e.isBrandPageCustomDomainEnabled, this.isSellDomainNameEnabled = e.isSellDomainNameEnabled, this.isDesignCom = e.isDesignCom, this.isPrePurchase = e.isPrePurchase, this.makerFonts = e.makerFonts || [], this.showPublishOptionModal = e.showPublishOptionModal, this.abTests = vp1(e.abTests || {}), this.isSubsequentPublish = e.isSubsequentPublish, _3().initialise({
72177
72181
  logoTemplateAsset: e.logoTemplateAsset,
72178
72182
  logoDraftAssets: e.logoDraftAssets || []
72183
+ }), o.setInitialSearchTerm({
72184
+ initialSearchTerm: e.templateSearchTerm ?? ""
72179
72185
  }), i.setSelectedTemplateId({
72180
72186
  templateId: this.designTemplateToken
72181
72187
  });
72182
- const s = Re();
72183
- e.logoDraftToken && s.setLogoDraftToken({ logoDraftToken: e.logoDraftToken }), (a = e == null ? void 0 : e.gettyVideos) == null || a.forEach(
72184
- (l) => n.setVideoUrlsWithToken(
72185
- l.token,
72186
- l.videoPreviewAsset.uri,
72187
- l.imagePreviewAsset.uri,
72188
- l.assetId
72188
+ const r = Re();
72189
+ e.logoDraftToken && r.setLogoDraftToken({ logoDraftToken: e.logoDraftToken }), (l = e == null ? void 0 : e.gettyVideos) == null || l.forEach(
72190
+ (d) => n.setVideoUrlsWithToken(
72191
+ d.token,
72192
+ d.videoPreviewAsset.uri,
72193
+ d.imagePreviewAsset.uri,
72194
+ d.assetId
72189
72195
  )
72190
72196
  );
72191
72197
  },
@@ -72639,7 +72645,7 @@ const $M = /* @__PURE__ */ _5(EU1), DM = Object.freeze({
72639
72645
  /([A-Z])/g,
72640
72646
  (r, a, l) => l === 0 ? a.toLowerCase() : `_${a.toLowerCase()}`
72641
72647
  );
72642
- }, i = this.isPublishUpgradeModal ? v4.Publish : e, o = n(i);
72648
+ }, i = this.isPublishUpgradeModal ? S4.Publish : e, o = n(i);
72643
72649
  if (t.sendUpsellOpenEvent(o), !this.isPrePurchase && i) {
72644
72650
  const s = await this.getContextualUpgradeResponseAsync();
72645
72651
  s && s.isUserBucketed && s.showContextualUpgrade && (t.sendExperimentStartedEvent(
@@ -72690,13 +72696,13 @@ const $M = /* @__PURE__ */ _5(EU1), DM = Object.freeze({
72690
72696
  let n;
72691
72697
  switch (e) {
72692
72698
  case "contact-form":
72693
- n = v4.ContactForm;
72699
+ n = S4.ContactForm;
72694
72700
  break;
72695
72701
  case "map":
72696
- n = v4.Maps;
72702
+ n = S4.Maps;
72697
72703
  break;
72698
72704
  case "video":
72699
- n = v4.Videos;
72705
+ n = S4.Videos;
72700
72706
  break;
72701
72707
  default:
72702
72708
  console.error(
@@ -73145,7 +73151,7 @@ const $M = /* @__PURE__ */ _5(EU1), DM = Object.freeze({
73145
73151
  },
73146
73152
  async applySelectedTemplate() {
73147
73153
  var k, V, x;
73148
- const e = Re(), t = D2(), n = _6(), i = E4(), o = T9(), s = k6(), r = Ee(), a = ve(), l = Mt(), d = r6(), c = _3();
73154
+ const e = Re(), t = D2(), n = _6(), i = W5(), o = T9(), s = k6(), r = Ee(), a = ve(), l = Mt(), d = r6(), c = _3();
73149
73155
  if (!this.selectedTemplateId)
73150
73156
  return;
73151
73157
  let C = i.getTemplateByTemplateId(
@@ -73182,7 +73188,7 @@ const $M = /* @__PURE__ */ _5(EU1), DM = Object.freeze({
73182
73188
  else {
73183
73189
  const B = ((V = t.selectedLogoTemplateImage) == null ? void 0 : V.logoTemplateVersion) ?? 0, R = (x = d.editableLogoVariations[B]) == null ? void 0 : x.logoTheme;
73184
73190
  R && e.setLogoTheme({
73185
- logoTheme: H4(R)
73191
+ logoTheme: x4(R)
73186
73192
  });
73187
73193
  }
73188
73194
  const F = D4(g);
@@ -73248,7 +73254,7 @@ const $M = /* @__PURE__ */ _5(EU1), DM = Object.freeze({
73248
73254
  newState: {
73249
73255
  navigation: {
73250
73256
  [Te.header]: {
73251
- [Y1.desktop]: new j5(
73257
+ [Y1.desktop]: new K5(
73252
73258
  h.pageHeaderDesktop.navigation
73253
73259
  ),
73254
73260
  [Y1.mobile]: new J7(
@@ -73348,10 +73354,10 @@ const $M = /* @__PURE__ */ _5(EU1), DM = Object.freeze({
73348
73354
  isServerRenderOverride: g = !1
73349
73355
  }) {
73350
73356
  var F, B, R, Z, Y;
73351
- const m = ve(), y = Ee(), w = Re(), b = E4(), S = D2(), _ = r6(), k = k6(), V = _6(), x = T9();
73357
+ const m = ve(), y = Ee(), w = Re(), b = W5(), S = D2(), _ = r6(), k = k6(), V = _6(), x = T9();
73352
73358
  s6(), x.initialise({ reset: !1 }), this.setIsInitialising({ isInitialising: !0 });
73353
73359
  try {
73354
- const h1 = H4(
73360
+ const h1 = x4(
73355
73361
  o.logoTheme
73356
73362
  ), G = typeof e == "string" ? JSON.parse(e) : new y9(e), m1 = t || G.brandPageType || e1.default;
73357
73363
  this.setBrandPageType({
@@ -73391,7 +73397,7 @@ const $M = /* @__PURE__ */ _5(EU1), DM = Object.freeze({
73391
73397
  }), this.brandPageType === e1.brandSite && (this.viewport = Y1.desktop), b.setTemplateType({
73392
73398
  templateType: PU1[m1]
73393
73399
  }), y.setEmailAddress(n), y.setFeatures(i), w.setLogoTheme({
73394
- logoTheme: H4(
73400
+ logoTheme: x4(
73395
73401
  o.logoTheme
73396
73402
  )
73397
73403
  }), w.setIsPersonalisationEnabled({ isPersonalisationEnabled: l }), a && a.length > 0 && w.setUserPersonalisationData({
@@ -73586,7 +73592,7 @@ const $M = /* @__PURE__ */ _5(EU1), DM = Object.freeze({
73586
73592
  await ve().showStripeOnboardingModal();
73587
73593
  },
73588
73594
  selectInitialCategories(e) {
73589
- const t = E4(), n = Mt();
73595
+ const t = W5(), n = Mt();
73590
73596
  e && (e.selectedTemplateCategory && t.selectInitialTemplateCategory({
73591
73597
  selectedCategory: e.selectedTemplateCategory
73592
73598
  }), e.selectedContentCategory && n.selectInitialContentCategory({
@@ -74602,23 +74608,23 @@ const $M = /* @__PURE__ */ _5(EU1), DM = Object.freeze({
74602
74608
  {
74603
74609
  iconName: "ban",
74604
74610
  iconViewBox: "-26 -1 70 18",
74605
- isSelected: e === m4.none,
74611
+ isSelected: e === y4.none,
74606
74612
  title: $("noneDivider"),
74607
- value: m4.none
74613
+ value: y4.none
74608
74614
  },
74609
74615
  {
74610
74616
  iconName: "divider-thin",
74611
74617
  iconViewBox: "0 0 94 24",
74612
- isSelected: e === m4.thin,
74618
+ isSelected: e === y4.thin,
74613
74619
  title: $("thinLineDivider"),
74614
- value: m4.thin
74620
+ value: y4.thin
74615
74621
  },
74616
74622
  {
74617
74623
  iconName: "divider-thick",
74618
74624
  iconViewBox: "0 0 94 24",
74619
74625
  title: $("thickLineDivider"),
74620
- isSelected: e === m4.thick,
74621
- value: m4.thick
74626
+ isSelected: e === y4.thick,
74627
+ value: y4.thick
74622
74628
  }
74623
74629
  ]
74624
74630
  };
@@ -74935,7 +74941,7 @@ const $M = /* @__PURE__ */ _5(EU1), DM = Object.freeze({
74935
74941
  }, Vh = (e, t) => t.isBrandSite, ck = (e, t) => t.isBrandPage || t.isBrandContact, BC = (e) => !!(e != null && e.imageUrl), uk = (e) => {
74936
74942
  var t;
74937
74943
  return (((t = e == null ? void 0 : e.images) == null ? void 0 : t.length) || 0) > 0;
74938
- }, cZ1 = (e) => (e == null ? void 0 : e.requestPaymentConfig.paymentOptionDisplayType) !== "text", uZ1 = (e) => (e == null ? void 0 : e.displayStyle) !== "text", CZ1 = (e) => e.displayStyle === o2, pZ1 = (e) => e.displayStyle === o2, hZ1 = (e) => (e == null ? void 0 : e.displayStyle) === "columns", fZ1 = (e) => e && (e == null ? void 0 : e.displayStyle) === W5 ? "images" : "text-image-items", gZ1 = (e) => e && (e == null ? void 0 : e.displayStyle) === W5 ? "shape-items" : "text-image-items", mZ1 = (e) => (e == null ? void 0 : e.dividerStyle) !== "none", Mg = (e) => !!(e != null && e.colorReplacements && (e != null && e.imageUrl) && (e == null ? void 0 : e.mediaType) === "shape"), yZ1 = (e) => !!(e != null && e.colorReplacements && (e != null && e.avatarImageUrl) && (e == null ? void 0 : e.mediaType) === "shape"), t5 = (e) => !!(e != null && e.colorReplacements && (e != null && e.iconUrl) && (e == null ? void 0 : e.mediaType) === "shape"), wZ1 = (e, t) => !!(e != null && e.layoutStyle && [
74944
+ }, cZ1 = (e) => (e == null ? void 0 : e.requestPaymentConfig.paymentOptionDisplayType) !== "text", uZ1 = (e) => (e == null ? void 0 : e.displayStyle) !== "text", CZ1 = (e) => e.displayStyle === o2, pZ1 = (e) => e.displayStyle === o2, hZ1 = (e) => (e == null ? void 0 : e.displayStyle) === "columns", fZ1 = (e) => e && (e == null ? void 0 : e.displayStyle) === j5 ? "images" : "text-image-items", gZ1 = (e) => e && (e == null ? void 0 : e.displayStyle) === j5 ? "shape-items" : "text-image-items", mZ1 = (e) => (e == null ? void 0 : e.dividerStyle) !== "none", Mg = (e) => !!(e != null && e.colorReplacements && (e != null && e.imageUrl) && (e == null ? void 0 : e.mediaType) === "shape"), yZ1 = (e) => !!(e != null && e.colorReplacements && (e != null && e.avatarImageUrl) && (e == null ? void 0 : e.mediaType) === "shape"), t5 = (e) => !!(e != null && e.colorReplacements && (e != null && e.iconUrl) && (e == null ? void 0 : e.mediaType) === "shape"), wZ1 = (e, t) => !!(e != null && e.layoutStyle && [
74939
74945
  o2,
74940
74946
  G8,
74941
74947
  L6,
@@ -75042,8 +75048,8 @@ const $M = /* @__PURE__ */ _5(EU1), DM = Object.freeze({
75042
75048
  },
75043
75049
  {
75044
75050
  title: "",
75045
- value: W5,
75046
- isSelected: n === W5,
75051
+ value: j5,
75052
+ isSelected: n === j5,
75047
75053
  iconName: "display-style-images-4",
75048
75054
  iconViewBox: "0 0 50 25",
75049
75055
  dataAttribute: "data-test-btn-image-only"
@@ -75185,7 +75191,7 @@ const $M = /* @__PURE__ */ _5(EU1), DM = Object.freeze({
75185
75191
  w5,
75186
75192
  D7
75187
75193
  ].includes(e.displayStyle));
75188
- }, lA = (e) => e ? e.displayStyle !== W5 : !1, dA = (e) => {
75194
+ }, lA = (e) => e ? e.displayStyle !== j5 : !1, dA = (e) => {
75189
75195
  switch (e == null ? void 0 : e.buttonLinkType) {
75190
75196
  case "url":
75191
75197
  return (e == null ? void 0 : e.type) === "booking-section" ? "booking-url" : "url";
@@ -77356,7 +77362,7 @@ const $M = /* @__PURE__ */ _5(EU1), DM = Object.freeze({
77356
77362
  },
77357
77363
  isEnabled: !0,
77358
77364
  isLocked: !1
77359
- }), d4 = {
77365
+ }), c4 = {
77360
77366
  settings: "settings",
77361
77367
  style: "style"
77362
77368
  }, wz1 = () => ({
@@ -77368,12 +77374,12 @@ const $M = /* @__PURE__ */ _5(EU1), DM = Object.freeze({
77368
77374
  displayName: $("socialLinksDisplayName"),
77369
77375
  fieldGroups: [
77370
77376
  {
77371
- id: d4.settings,
77377
+ id: c4.settings,
77372
77378
  displayName: $("settingsDisplayName"),
77373
77379
  isCollapsed: !1
77374
77380
  },
77375
77381
  {
77376
- id: d4.style,
77382
+ id: c4.style,
77377
77383
  displayName: $("styleDisplayName"),
77378
77384
  isCollapsed: !0
77379
77385
  }
@@ -77381,7 +77387,7 @@ const $M = /* @__PURE__ */ _5(EU1), DM = Object.freeze({
77381
77387
  fields: {
77382
77388
  title: {
77383
77389
  type: "title",
77384
- groupId: d4.settings,
77390
+ groupId: c4.settings,
77385
77391
  title: $("titleTitle"),
77386
77392
  maxLength: 200
77387
77393
  },
@@ -77392,14 +77398,14 @@ const $M = /* @__PURE__ */ _5(EU1), DM = Object.freeze({
77392
77398
  },
77393
77399
  links: {
77394
77400
  type: "links",
77395
- groupId: d4.settings,
77401
+ groupId: c4.settings,
77396
77402
  title: $("pluralAddItemsTitle"),
77397
77403
  replaceImageSettings: FZ1()
77398
77404
  },
77399
77405
  iconDisplayStyle: {
77400
77406
  type: "radio",
77401
77407
  role: "multi",
77402
- groupId: d4.style,
77408
+ groupId: c4.style,
77403
77409
  title: $("displayStyleTitle"),
77404
77410
  defaultValue: p5.none,
77405
77411
  optionsConvertor: TZ1,
@@ -77407,7 +77413,7 @@ const $M = /* @__PURE__ */ _5(EU1), DM = Object.freeze({
77407
77413
  },
77408
77414
  titleStyle: {
77409
77415
  type: "text-style",
77410
- groupId: d4.style,
77416
+ groupId: c4.style,
77411
77417
  label: $("titleStyleLabel"),
77412
77418
  title: $("fontSettingsTitle"),
77413
77419
  defaultValue: void 0,
@@ -77415,7 +77421,7 @@ const $M = /* @__PURE__ */ _5(EU1), DM = Object.freeze({
77415
77421
  },
77416
77422
  iconFillStyles: {
77417
77423
  type: "color",
77418
- groupId: d4.style,
77424
+ groupId: c4.style,
77419
77425
  defaultValue: {},
77420
77426
  isInline: !0,
77421
77427
  showToggle: !1,
@@ -77425,7 +77431,7 @@ const $M = /* @__PURE__ */ _5(EU1), DM = Object.freeze({
77425
77431
  },
77426
77432
  iconBackgroundStyles: {
77427
77433
  type: "color",
77428
- groupId: d4.style,
77434
+ groupId: c4.style,
77429
77435
  defaultValue: {},
77430
77436
  isInline: !0,
77431
77437
  showToggle: !1,
@@ -77434,7 +77440,7 @@ const $M = /* @__PURE__ */ _5(EU1), DM = Object.freeze({
77434
77440
  },
77435
77441
  backgroundStyles: {
77436
77442
  type: "color",
77437
- groupId: d4.style,
77443
+ groupId: c4.style,
77438
77444
  defaultValue: {},
77439
77445
  isInline: !0,
77440
77446
  showToggle: !1,
@@ -77466,7 +77472,7 @@ const $M = /* @__PURE__ */ _5(EU1), DM = Object.freeze({
77466
77472
  type: "radio",
77467
77473
  role: "multi",
77468
77474
  title: $("dividerStyleTitle"),
77469
- defaultValue: m4.thin,
77475
+ defaultValue: y4.thin,
77470
77476
  optionsConvertor: oZ1,
77471
77477
  variant: "icon"
77472
77478
  },
@@ -77785,7 +77791,7 @@ const $M = /* @__PURE__ */ _5(EU1), DM = Object.freeze({
77785
77791
  },
77786
77792
  isEnabled: !0,
77787
77793
  isLocked: !1
77788
- }), y4 = () => ({
77794
+ }), w4 = () => ({
77789
77795
  logo: qZ1(),
77790
77796
  "general-link": GZ1(),
77791
77797
  profile: WZ1(),
@@ -78565,7 +78571,7 @@ const $M = /* @__PURE__ */ _5(EU1), DM = Object.freeze({
78565
78571
  lush: cq1,
78566
78572
  mauve: lq1,
78567
78573
  neon: aq1
78568
- }, Symbol.toStringTag, { value: "Module" })), k4 = {
78574
+ }, Symbol.toStringTag, { value: "Module" })), T4 = {
78569
78575
  Save: "save",
78570
78576
  Publish: "publish",
78571
78577
  Initialised: "initialised",
@@ -78757,10 +78763,10 @@ const $M = /* @__PURE__ */ _5(EU1), DM = Object.freeze({
78757
78763
  },
78758
78764
  methods: {
78759
78765
  saveBrandPage() {
78760
- this.$emit(k4.Save);
78766
+ this.$emit(T4.Save);
78761
78767
  },
78762
78768
  saveAndPublishBrandPage(e) {
78763
- this.isPublishButtonEnabled && this.$emit(k4.Publish, {
78769
+ this.isPublishButtonEnabled && this.$emit(T4.Publish, {
78764
78770
  eventButtonLocation: e ? X6.EDITOR_PUBLISH_BOTTOM : X6.EDITOR_PUBLISH_TOP
78765
78771
  });
78766
78772
  }
@@ -79520,7 +79526,7 @@ var Ih = {
79520
79526
  };
79521
79527
  function Wq1(e) {
79522
79528
  var t = { r: 0, g: 0, b: 0 }, n = 1, i = null, o = null, s = null, r = !1, a = !1;
79523
- return typeof e == "string" && (e = Yq1(e)), typeof e == "object" && (c4(e.r) && c4(e.g) && c4(e.b) ? (t = Fq1(e.r, e.g, e.b), r = !0, a = String(e.r).substr(-1) === "%" ? "prgb" : "rgb") : c4(e.h) && c4(e.s) && c4(e.v) ? (i = Pr(e.s), o = Pr(e.v), t = Zq1(e.h, i, o), r = !0, a = "hsv") : c4(e.h) && c4(e.s) && c4(e.l) && (i = Pr(e.s), s = Pr(e.l), t = Uq1(e.h, i, s), r = !0, a = "hsl"), Object.prototype.hasOwnProperty.call(e, "a") && (n = e.a)), n = LA(n), {
79529
+ return typeof e == "string" && (e = Yq1(e)), typeof e == "object" && (u4(e.r) && u4(e.g) && u4(e.b) ? (t = Fq1(e.r, e.g, e.b), r = !0, a = String(e.r).substr(-1) === "%" ? "prgb" : "rgb") : u4(e.h) && u4(e.s) && u4(e.v) ? (i = Pr(e.s), o = Pr(e.v), t = Zq1(e.h, i, o), r = !0, a = "hsv") : u4(e.h) && u4(e.s) && u4(e.l) && (i = Pr(e.s), s = Pr(e.l), t = Uq1(e.h, i, s), r = !0, a = "hsl"), Object.prototype.hasOwnProperty.call(e, "a") && (n = e.a)), n = LA(n), {
79524
79530
  ok: r,
79525
79531
  format: e.format || a,
79526
79532
  r: Math.min(255, Math.max(t.r, 0)),
@@ -79575,7 +79581,7 @@ function Yq1(e) {
79575
79581
  format: t ? "name" : "hex"
79576
79582
  } : !1)))))))));
79577
79583
  }
79578
- function c4(e) {
79584
+ function u4(e) {
79579
79585
  return !!l5.CSS_UNIT.exec(String(e));
79580
79586
  }
79581
79587
  var Xq1 = (
@@ -86343,7 +86349,7 @@ const gJ1 = /* @__PURE__ */ v(uJ1, [["render", fJ1], ["__scopeId", "data-v-8240b
86343
86349
  g.token
86344
86350
  );
86345
86351
  S && y.setLogoTheme({
86346
- logoTheme: H4(S.logoTheme)
86352
+ logoTheme: x4(S.logoTheme)
86347
86353
  });
86348
86354
  }
86349
86355
  }, h = (g) => {
@@ -86618,16 +86624,16 @@ const DA = /* @__PURE__ */ v(ZJ1, [["render", qJ1]]), GJ1 = (e) => {
86618
86624
  isCustomAmountEnabled: {
86619
86625
  get() {
86620
86626
  return this.value.paymentOptions.some(
86621
- (e) => e.name === w4
86627
+ (e) => e.name === b4
86622
86628
  );
86623
86629
  },
86624
86630
  set(e) {
86625
86631
  e ? this.value.paymentOptions.push({
86626
86632
  id: P3(),
86627
86633
  amount: "0",
86628
- name: w4
86634
+ name: b4
86629
86635
  }) : this.value.paymentOptions = this.value.paymentOptions.filter(
86630
- (t) => t.name !== w4
86636
+ (t) => t.name !== b4
86631
86637
  );
86632
86638
  }
86633
86639
  },
@@ -86649,7 +86655,7 @@ const DA = /* @__PURE__ */ v(ZJ1, [["render", qJ1]]), GJ1 = (e) => {
86649
86655
  },
86650
86656
  enabledOptions() {
86651
86657
  return this.value.paymentOptions.filter(
86652
- (e) => e.name !== w4
86658
+ (e) => e.name !== b4
86653
86659
  );
86654
86660
  },
86655
86661
  currencySymbol() {
@@ -86667,7 +86673,7 @@ const DA = /* @__PURE__ */ v(ZJ1, [["render", qJ1]]), GJ1 = (e) => {
86667
86673
  ...this.value,
86668
86674
  paymentOptions: e.concat(
86669
86675
  this.value.paymentOptions.filter(
86670
- (i) => i.name === w4
86676
+ (i) => i.name === b4
86671
86677
  )
86672
86678
  )
86673
86679
  }, n = {
@@ -90383,12 +90389,12 @@ const Ag = /* @__PURE__ */ v(u8e, [["render", C8e]]), p8e = {
90383
90389
  }, F = Ft([
90384
90390
  {
90385
90391
  value: void 0,
90386
- label: b4().none,
90392
+ label: v4().none,
90387
90393
  isSelected: !1
90388
90394
  },
90389
90395
  ...Object.keys(ge).map((W) => ({
90390
90396
  value: W,
90391
- label: b4()[W][0].toUpperCase() + b4()[W].slice(1),
90397
+ label: v4()[W][0].toUpperCase() + v4()[W].slice(1),
90392
90398
  isSelected: i.styles.textStyleType === W
90393
90399
  }))
90394
90400
  ]), B = I({
@@ -90500,7 +90506,7 @@ const Ag = /* @__PURE__ */ v(u8e, [["render", C8e]]), p8e = {
90500
90506
  })));
90501
90507
  } else
90502
90508
  B.value && A1({
90503
- label: b4().none
90509
+ label: v4().none
90504
90510
  });
90505
90511
  }
90506
90512
  ), ut(
@@ -90679,7 +90685,7 @@ const Ag = /* @__PURE__ */ v(u8e, [["render", C8e]]), p8e = {
90679
90685
  ref: l,
90680
90686
  "data-test-tag": "text-style-dropdown",
90681
90687
  class: "style-editor-button style-editor-button-textstyle",
90682
- title: ((Me = F.find((O1) => O1.isSelected)) == null ? void 0 : Me.label) ?? A(b4)().none,
90688
+ title: ((Me = F.find((O1) => O1.isSelected)) == null ? void 0 : Me.label) ?? A(v4)().none,
90683
90689
  "icon-size": "xs",
90684
90690
  "element-classes": "text-dropdown-title",
90685
90691
  "menu-element-classes": "tw-min-w-[310px] tw-left-0"
@@ -92501,12 +92507,12 @@ const Hne = /* @__PURE__ */ v(kne, [["render", Vne]]), XC = 5, Kk = J({
92501
92507
  textStyleTypeOptions: [
92502
92508
  {
92503
92509
  value: void 0,
92504
- label: b4().none,
92510
+ label: v4().none,
92505
92511
  isSelected: !1
92506
92512
  },
92507
92513
  ...Object.keys(ge).map((e) => ({
92508
92514
  value: e,
92509
- label: b4()[e][0].toUpperCase() + b4()[e].slice(1),
92515
+ label: v4()[e][0].toUpperCase() + v4()[e].slice(1),
92510
92516
  isSelected: !1
92511
92517
  }))
92512
92518
  ],
@@ -92607,7 +92613,7 @@ const Hne = /* @__PURE__ */ v(kne, [["render", Vne]]), XC = 5, Kk = J({
92607
92613
  const e = this.textStyleTypeOptions.find(
92608
92614
  (t) => t.isSelected
92609
92615
  );
92610
- return e ? e.label : b4().none;
92616
+ return e ? e.label : v4().none;
92611
92617
  }
92612
92618
  },
92613
92619
  methods: {
@@ -95608,7 +95614,7 @@ const Cse = /* @__PURE__ */ v(ase, [["render", use]]), G3 = {
95608
95614
  trigger_type: Z5.USER_TRIGGERED,
95609
95615
  content_type: null
95610
95616
  }), await this.brandPageContainerStore.showUpgradeModalAndSaveAsync(
95611
- v4.RemoveWatermark
95617
+ S4.RemoveWatermark
95612
95618
  );
95613
95619
  }
95614
95620
  }
@@ -96240,7 +96246,7 @@ const vse = /* @__PURE__ */ v(gse, [["render", bse]]), Sse = { class: "tw-relati
96240
96246
  e.token
96241
96247
  );
96242
96248
  o && t.setLogoTheme({
96243
- logoTheme: H4(
96249
+ logoTheme: x4(
96244
96250
  o.logoTheme
96245
96251
  )
96246
96252
  });
@@ -97760,7 +97766,7 @@ const oae = /* @__PURE__ */ v(eae, [["render", iae]]), sae = { class: "tw-font-b
97760
97766
  selectedTemplate: null,
97761
97767
  showLogoSwitchConfirmationModal: !1,
97762
97768
  isSwitchingLogo: !1
97763
- }), s = _3(), r = r6(), a = D2(), l = E4(), d = ve(), c = Rt(), C = s2(() => {
97769
+ }), s = _3(), r = r6(), a = D2(), l = W5(), d = ve(), c = Rt(), C = s2(() => {
97764
97770
  o.currentPage = 1, h(!0);
97765
97771
  }, 400), h = async (S) => {
97766
97772
  S && s.resetLogoTemplateSearchResults(), await s.searchLogoTemplatesAsync({
@@ -98153,13 +98159,13 @@ const Kae = /* @__PURE__ */ v(Wae, [["render", jae]]), Yae = J({
98153
98159
  },
98154
98160
  methods: {
98155
98161
  saveBrandPage() {
98156
- this.$emit(k4.Save);
98162
+ this.$emit(T4.Save);
98157
98163
  },
98158
98164
  saveAndPublishBrandPage() {
98159
- this.$emit(k4.Publish);
98165
+ this.$emit(T4.Publish);
98160
98166
  },
98161
98167
  handleBackClick() {
98162
- this.backUrl || this.$emit(k4.Back);
98168
+ this.backUrl || this.$emit(T4.Back);
98163
98169
  }
98164
98170
  }
98165
98171
  }), Xae = {
@@ -98897,7 +98903,7 @@ const Fle = /* @__PURE__ */ v(Ple, [["render", Rle]]), dT = J({
98897
98903
  trigger_type: Z5.USER_TRIGGERED,
98898
98904
  content_type: null
98899
98905
  }), await this.brandPageContainerStore.showUpgradeModalAndSaveAsync(
98900
- v4.RemoveWatermark
98906
+ S4.RemoveWatermark
98901
98907
  );
98902
98908
  },
98903
98909
  onButtonStyleConfigClick(e) {
@@ -99310,7 +99316,7 @@ const _de = 100, cT = J({
99310
99316
  }
99311
99317
  },
99312
99318
  setup() {
99313
- const e = oe(), t = s6(), n = Ee(), i = Mt(), o = Re(), s = St(), r = ve(), a = E4(), l = p3(), d = A0(), c = KO(), C = B3(), h = V0(), { captureSnapshot: g } = Sde(), m = G4();
99319
+ const e = oe(), t = s6(), n = Ee(), i = Mt(), o = Re(), s = St(), r = ve(), a = W5(), l = p3(), d = A0(), c = KO(), C = B3(), h = V0(), { captureSnapshot: g } = Sde(), m = G4();
99314
99320
  return {
99315
99321
  commonTr: pe,
99316
99322
  currentNotificationMessage: I(
@@ -99434,7 +99440,7 @@ const _de = 100, cT = J({
99434
99440
  }).bind(this)
99435
99441
  ), (d = this.brandPageViewModel.pages) != null && d[0] && Bn(this.brandPageViewModel.pages[0].slug), this.brandPageMakerStore.selectInitialCategories(
99436
99442
  this.viewModel.initialCategories
99437
- ), this.isBrandPageLoaded = !0, this.brandPageMakerStore.setIsBrandPageLoaded(!0), this.isBrandPageOrIsBrandContact ? this.brandPageMakerStore.setViewport({ viewport: Y1.mobile }) : this.setViewportBasedOnDeviceWidth(!0), this.$emit(k4.Initialised);
99443
+ ), this.isBrandPageLoaded = !0, this.brandPageMakerStore.setIsBrandPageLoaded(!0), this.isBrandPageOrIsBrandContact ? this.brandPageMakerStore.setViewport({ viewport: Y1.mobile }) : this.setViewportBasedOnDeviceWidth(!0), this.$emit(T4.Initialised);
99438
99444
  },
99439
99445
  mounted() {
99440
99446
  window && (window.removeEventListener("resize", this.onResizeWithDebounce), window.addEventListener("resize", this.onResizeWithDebounce)), document.body.classList.contains("sb-main-padded") && document.body.classList.remove("sb-main-padded"), VV(), this.setUiScreenSizeModeBasedOnDeviceWidth(), this.isBrandPageOrIsBrandContact ? this.brandPageMakerStore.setViewport({ viewport: Y1.mobile }) : this.setViewportBasedOnDeviceWidth(!0);
@@ -99484,17 +99490,17 @@ const _de = 100, cT = J({
99484
99490
  this.brandPageMakerStore.setViewport({ viewport: e });
99485
99491
  },
99486
99492
  saveBrandPage(e) {
99487
- this.$emit(k4.Save, {
99493
+ this.$emit(T4.Save, {
99488
99494
  eventButtonLocation: e
99489
99495
  });
99490
99496
  },
99491
99497
  saveAndPublishBrandPage(e) {
99492
- this.$emit(k4.Publish, {
99498
+ this.$emit(T4.Publish, {
99493
99499
  eventButtonLocation: e ? X6.EDITOR_PUBLISH_BOTTOM : X6.EDITOR_PUBLISH_TOP
99494
99500
  });
99495
99501
  },
99496
99502
  onBackBrandPage() {
99497
- this.$emit(k4.Back);
99503
+ this.$emit(T4.Back);
99498
99504
  },
99499
99505
  onChangeTemplateConfirmModalCancel() {
99500
99506
  this.brandPageMakerStore.onChangeTemplateConfirmModalCancel();
@@ -99522,7 +99528,7 @@ const _de = 100, cT = J({
99522
99528
  }
99523
99529
  },
99524
99530
  setup() {
99525
- const e = E4(), t = ve(), n = oe(), i = Re(), o = Rt();
99531
+ const e = W5(), t = ve(), n = oe(), i = Re(), o = Rt();
99526
99532
  return {
99527
99533
  isBusy: I(() => e.isBusy),
99528
99534
  pageNo: I(() => e.pageNo),
@@ -99530,6 +99536,9 @@ const _de = 100, cT = J({
99530
99536
  pageCount: I(() => e.pageCount),
99531
99537
  selectedTab: I(() => e.selectedTab),
99532
99538
  searchTerm: I(() => e.searchTerm),
99539
+ initialSearchTerm: I(
99540
+ () => e.initialSearchTerm
99541
+ ),
99533
99542
  selectedCategory: I(() => e.selectedCategory),
99534
99543
  selectedTemplateId: I(
99535
99544
  () => n.selectedTemplateId
@@ -99545,7 +99554,7 @@ const _de = 100, cT = J({
99545
99554
  };
99546
99555
  },
99547
99556
  data() {
99548
- const { tabsWithTranslations: e } = E4();
99557
+ const { tabsWithTranslations: e } = W5();
99549
99558
  return {
99550
99559
  tabs: e.map((t) => t.displayName),
99551
99560
  debounceOnSearch: void 0,
@@ -99569,7 +99578,7 @@ const _de = 100, cT = J({
99569
99578
  computed: {
99570
99579
  // typescript cannot resolve typing and throw TS4023
99571
99580
  templates() {
99572
- return E4().templates;
99581
+ return W5().templates;
99573
99582
  },
99574
99583
  isLoadMoreBtnEnabled() {
99575
99584
  return this.isBusy || !this.pageCount ? !1 : this.pageNo < this.pageCount;
@@ -99596,14 +99605,14 @@ const _de = 100, cT = J({
99596
99605
  visibleTabs() {
99597
99606
  return this.personalisationData ? this.tabs : [...this.tabs].splice(
99598
99607
  0,
99599
- this.tabs.findIndex((e) => e === S4("headerAi"))
99608
+ this.tabs.findIndex((e) => e === _4("headerAi"))
99600
99609
  );
99601
99610
  }
99602
99611
  },
99603
99612
  async mounted() {
99604
- await this.checkAndRefreshS3TokenIfExpired(), this.pageCount || await this.templateSettingsStore.loadPageNo({
99613
+ await this.checkAndRefreshS3TokenIfExpired(), this.pageCount || (this.initialSearchTerm ? (this.searchTextValue = this.initialSearchTerm, this.setSearchText()) : await this.templateSettingsStore.loadPageNo({
99605
99614
  pageNo: cV
99606
- });
99615
+ }));
99607
99616
  },
99608
99617
  created() {
99609
99618
  this.debounceOnSearch = Mde(this.setSearchText, 500);
@@ -99674,7 +99683,7 @@ const _de = 100, cT = J({
99674
99683
  setup(e, t) {
99675
99684
  return {
99676
99685
  ...uT.setup(e, t),
99677
- templateSettingsTr: S4
99686
+ templateSettingsTr: _4
99678
99687
  };
99679
99688
  }
99680
99689
  }, Tde = { class: "tw-px-1" }, Lde = { key: 0 }, Vde = ["data-id"], Hde = {
@@ -99806,7 +99815,7 @@ function Bde(e, t, n, i, o, s) {
99806
99815
  const Ode = /* @__PURE__ */ v(kde, [["render", Bde], ["__scopeId", "data-v-88329098"]]), $de = 250, CT = J({
99807
99816
  emits: ["template-selected"],
99808
99817
  setup() {
99809
- const e = oe(), t = ve(), n = Ee(), i = E4();
99818
+ const e = oe(), t = ve(), n = Ee(), i = W5();
99810
99819
  return {
99811
99820
  selectedTemplateId: I(
99812
99821
  () => e.selectedTemplateId
@@ -101500,7 +101509,7 @@ const Yue = /* @__PURE__ */ v(Kce, [["render", Kue]]), Xue = { class: "tw-relati
101500
101509
  trigger_type: Z5.USER_TRIGGERED,
101501
101510
  content_type: null
101502
101511
  }), await r.showUpgradeModalAndSaveAsync(
101503
- v4.GoogleAd
101512
+ S4.GoogleAd
101504
101513
  );
101505
101514
  }, l = I(() => !(!o.measurementID || !o.isMeasurementIdValid)), d = I(() => !(!o.adsenseID || !o.isAdsenseIdValid)), c = async () => {
101506
101515
  try {
@@ -101558,23 +101567,23 @@ const Yue = /* @__PURE__ */ v(Kce, [["render", Kue]]), Xue = { class: "tw-relati
101558
101567
  "tw-pt-2": S.isMaker
101559
101568
  })
101560
101569
  }, [
101561
- p("div", nCe, P(A(o4)("integrationLabel")), 1),
101570
+ p("div", nCe, P(A(s4)("integrationLabel")), 1),
101562
101571
  p("div", iCe, [
101563
101572
  T(z9, {
101564
101573
  name: "google-analytics",
101565
101574
  class: "tw-mt-1 tw-w-4 tw-h-4"
101566
101575
  }),
101567
- p("h4", oCe, P(A(o4)("googleAnalyticsLabel")), 1)
101576
+ p("h4", oCe, P(A(s4)("googleAnalyticsLabel")), 1)
101568
101577
  ]),
101569
- p("p", sCe, P(A(o4)("googleAnalyticsInfo")), 1),
101570
- p("h4", rCe, P(A(o4)("googleAnalyticsInputLabel")), 1),
101578
+ p("p", sCe, P(A(s4)("googleAnalyticsInfo")), 1),
101579
+ p("h4", rCe, P(A(s4)("googleAnalyticsInputLabel")), 1),
101571
101580
  p("div", aCe, [
101572
101581
  T(A(Ke), {
101573
101582
  modelValue: o.measurementID,
101574
101583
  "onUpdate:modelValue": _[0] || (_[0] = (k) => o.measurementID = k),
101575
101584
  class: N("tw-w-full"),
101576
101585
  error: !!o.measurementInputError,
101577
- placeholder: A(o4)("googleAnalyticsPlaceholder"),
101586
+ placeholder: A(s4)("googleAnalyticsPlaceholder"),
101578
101587
  onInput: m
101579
101588
  }, null, 8, ["modelValue", "error", "placeholder"]),
101580
101589
  p("div", lCe, [
@@ -101607,19 +101616,19 @@ const Yue = /* @__PURE__ */ v(Kce, [["render", Kue]]), Xue = { class: "tw-relati
101607
101616
  name: "google-adsense",
101608
101617
  class: "tw-w-4 tw-h-4"
101609
101618
  }),
101610
- p("h4", uCe, P(A(o4)("googleAdsenseLabel")), 1),
101619
+ p("h4", uCe, P(A(s4)("googleAdsenseLabel")), 1),
101611
101620
  S.canUseGoogleAdsense ? M("", !0) : (u(), f("div", CCe, P(A(pe)("premium")), 1))
101612
101621
  ]),
101613
- p("p", pCe, P(A(o4)("googleAdsenseInfo")), 1),
101622
+ p("p", pCe, P(A(s4)("googleAdsenseInfo")), 1),
101614
101623
  S.canUseGoogleAdsense ? (u(), f("div", hCe, [
101615
- p("h4", fCe, P(A(o4)("googleAdsenseInputLabel")), 1),
101624
+ p("h4", fCe, P(A(s4)("googleAdsenseInputLabel")), 1),
101616
101625
  p("div", gCe, [
101617
101626
  T(A(Ke), {
101618
101627
  modelValue: o.adsenseID,
101619
101628
  "onUpdate:modelValue": _[1] || (_[1] = (k) => o.adsenseID = k),
101620
101629
  class: N("tw-w-full"),
101621
101630
  error: !!o.adsenseInputError,
101622
- placeholder: A(o4)("googleAdsensePlaceholder"),
101631
+ placeholder: A(s4)("googleAdsensePlaceholder"),
101623
101632
  onInput: w
101624
101633
  }, null, 8, ["modelValue", "error", "placeholder"]),
101625
101634
  p("div", mCe, [
@@ -103347,26 +103356,26 @@ const lfe = /* @__PURE__ */ v(Kpe, [["render", Ype]]), Xpe = { class: "modal-con
103347
103356
  return "";
103348
103357
  }
103349
103358
  }), s = I(() => n.sensitiveContentState === Y3.plus21 ? 21 : 18), r = H1(o.value), a = I(
103350
- () => s4("iAcceptAgeButtonLabel", {
103359
+ () => r4("iAcceptAgeButtonLabel", {
103351
103360
  REQUIRED_MINIMUM_AGE: s.value
103352
103361
  })
103353
103362
  ), l = I(
103354
- () => s4("iDenyAgeButtonLabel", {
103363
+ () => r4("iDenyAgeButtonLabel", {
103355
103364
  REQUIRED_MINIMUM_AGE: s.value
103356
103365
  })
103357
- ), d = I(() => s4("iConfirmButtonLabel")), c = I(() => {
103366
+ ), d = I(() => r4("iConfirmButtonLabel")), c = I(() => {
103358
103367
  const g = {
103359
103368
  age: {
103360
- title: s4("ageRestrictionDisplayTitle"),
103361
- message: s4("ageRestrictionMessage")
103369
+ title: r4("ageRestrictionDisplayTitle"),
103370
+ message: r4("ageRestrictionMessage")
103362
103371
  },
103363
103372
  sensitive: {
103364
- title: s4("sensitiveContentDisplayTitle"),
103365
- message: s4("sensitiveContentmessage")
103373
+ title: r4("sensitiveContentDisplayTitle"),
103374
+ message: r4("sensitiveContentmessage")
103366
103375
  },
103367
103376
  rejected: {
103368
- title: s4("rejectedDisplayTitle"),
103369
- message: s4("rejectedDisplayTMessage", {
103377
+ title: r4("rejectedDisplayTitle"),
103378
+ message: r4("rejectedDisplayTMessage", {
103370
103379
  REQUIRED_MINIMUM_AGE: s.value
103371
103380
  })
103372
103381
  }
@@ -103480,10 +103489,10 @@ export {
103480
103489
  _i as aC,
103481
103490
  kp1 as aD,
103482
103491
  GL as aE,
103483
- j5 as aF,
103492
+ K5 as aF,
103484
103493
  J7 as aG,
103485
103494
  ge as aH,
103486
- b4 as aI,
103495
+ v4 as aI,
103487
103496
  Si as aJ,
103488
103497
  M9 as aK,
103489
103498
  Fn as aL,
@@ -103509,7 +103518,7 @@ export {
103509
103518
  $he as ae,
103510
103519
  Lt as af,
103511
103520
  p5 as ag,
103512
- m4 as ah,
103521
+ y4 as ah,
103513
103522
  Dhe as ai,
103514
103523
  tV as aj,
103515
103524
  R7 as ak,
@@ -103555,7 +103564,7 @@ export {
103555
103564
  vz1 as bM,
103556
103565
  Sz1 as bN,
103557
103566
  _z1 as bO,
103558
- y4 as bP,
103567
+ w4 as bP,
103559
103568
  Mz1 as bQ,
103560
103569
  zhe as bR,
103561
103570
  qhe as bS,