@prolibu-suite/cobalt-core 0.11.7 → 0.11.8

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 (73) hide show
  1. package/custom-elements.json +1 -1
  2. package/dist/cjs/co-calendar_3.cjs.entry.js +2 -1
  3. package/dist/cjs/co-kbd_2.cjs.entry.js +5 -4
  4. package/dist/cjs/co-lightbox.cjs.entry.js +7 -6
  5. package/dist/cjs/co-overlay.cjs.entry.js +4 -3
  6. package/dist/cjs/co-popover.cjs.entry.js +5 -4
  7. package/dist/cjs/popoverApi-D1ChCCdO.js +27 -0
  8. package/dist/cobalt/cobalt.esm.js +1 -1
  9. package/dist/cobalt/p-2832ab99.entry.js +1 -0
  10. package/dist/cobalt/p-299c2425.entry.js +1 -0
  11. package/dist/cobalt/p-Dp1JT0dm.js +1 -0
  12. package/dist/cobalt/p-b723aa47.entry.js +1 -0
  13. package/dist/cobalt/p-eab59be5.entry.js +1 -0
  14. package/dist/cobalt/p-f562bd96.entry.js +1 -0
  15. package/dist/collection/components/co-drawer/co-drawer.js +2 -1
  16. package/dist/collection/components/co-lightbox/co-lightbox.js +7 -6
  17. package/dist/collection/components/co-overlay/co-overlay.js +4 -3
  18. package/dist/collection/components/co-popover/co-popover.js +5 -4
  19. package/dist/collection/components/co-tooltip/co-tooltip.js +5 -4
  20. package/dist/collection/utils/popoverApi.js +23 -0
  21. package/dist/components/co-autocomplete.js +1 -1
  22. package/dist/components/co-avatar-group.js +1 -1
  23. package/dist/components/co-avatar.js +1 -1
  24. package/dist/components/co-color-picker.js +1 -1
  25. package/dist/components/co-combobox.js +1 -1
  26. package/dist/components/co-command-search.js +1 -1
  27. package/dist/components/co-data-table.js +1 -1
  28. package/dist/components/co-date-picker.js +1 -1
  29. package/dist/components/co-date-range-picker.js +1 -1
  30. package/dist/components/co-date-range.js +1 -1
  31. package/dist/components/co-date-time-picker.js +1 -1
  32. package/dist/components/co-document-editor.js +1 -1
  33. package/dist/components/co-drawer.js +1 -1
  34. package/dist/components/co-file-field.js +1 -1
  35. package/dist/components/co-lightbox.js +1 -1
  36. package/dist/components/co-list-item.js +1 -1
  37. package/dist/components/co-menu-item.js +1 -1
  38. package/dist/components/co-menu.js +1 -1
  39. package/dist/components/co-modal.js +1 -1
  40. package/dist/components/co-option-list.js +1 -1
  41. package/dist/components/co-overlay.js +1 -1
  42. package/dist/components/co-popover.js +1 -1
  43. package/dist/components/co-ref-field.js +1 -1
  44. package/dist/components/co-select.js +1 -1
  45. package/dist/components/co-sidebar-nav.js +1 -1
  46. package/dist/components/co-tooltip.js +1 -1
  47. package/dist/components/{p-_S5htX1i.js → p-BGNXvnDr.js} +1 -1
  48. package/dist/components/p-BMyWdiVO.js +1 -0
  49. package/dist/components/{p-CaFwCFgg.js → p-BRIf9NGv.js} +1 -1
  50. package/dist/components/p-Bd6H9_5D.js +1 -0
  51. package/dist/components/{p-upZqhFKo.js → p-BkyYV32T.js} +1 -1
  52. package/dist/components/p-DHIa14ep.js +1 -0
  53. package/dist/components/p-DRL-a5hO.js +1 -0
  54. package/dist/components/p-Dp1JT0dm.js +1 -0
  55. package/dist/components/p-xA7AfoIW.js +1 -0
  56. package/dist/esm/co-calendar_3.entry.js +2 -1
  57. package/dist/esm/co-kbd_2.entry.js +5 -4
  58. package/dist/esm/co-lightbox.entry.js +7 -6
  59. package/dist/esm/co-overlay.entry.js +4 -3
  60. package/dist/esm/co-popover.entry.js +5 -4
  61. package/dist/esm/popoverApi-Dp1JT0dm.js +25 -0
  62. package/dist/types/utils/popoverApi.d.ts +12 -0
  63. package/package.json +3 -3
  64. package/dist/cobalt/p-60ea3d33.entry.js +0 -1
  65. package/dist/cobalt/p-84256bde.entry.js +0 -1
  66. package/dist/cobalt/p-8c22bf4b.entry.js +0 -1
  67. package/dist/cobalt/p-b2c49664.entry.js +0 -1
  68. package/dist/cobalt/p-cf675968.entry.js +0 -1
  69. package/dist/components/p-B5F93Ujt.js +0 -1
  70. package/dist/components/p-CMMv2RcH.js +0 -1
  71. package/dist/components/p-CX0bNXK3.js +0 -1
  72. package/dist/components/p-Co0eKIiO.js +0 -1
  73. package/dist/components/p-xtGT3YeI.js +0 -1
@@ -1,5 +1,5 @@
1
1
  {
2
- "timestamp": "2026-10-01T17:37:17",
2
+ "timestamp": "2026-10-01T18:15:21",
3
3
  "compiler": {
4
4
  "name": "@stencil/core",
5
5
  "version": "4.43.4",
@@ -7,6 +7,7 @@ var requiredMark = require('./requiredMark-21yHvvZS.js');
7
7
  var overlayAfterClose = require('./overlayAfterClose-BdeXrhVY.js');
8
8
  var escapeLayers = require('./escapeLayers-DlCir9Sr.js');
9
9
  var slotContent = require('./slotContent-Bm9RcM_Q.js');
10
+ var popoverApi = require('./popoverApi-D1ChCCdO.js');
10
11
 
11
12
  /**
12
13
  * Fechas MARCADAS de co-calendar (feriados, hitos): se ven distintas pero siguen siendo
@@ -754,7 +755,7 @@ const CoDrawer = class {
754
755
  if (!this.modeless || !aside || typeof aside.showPopover !== 'function')
755
756
  return;
756
757
  try {
757
- if (!aside.matches(':popover-open'))
758
+ if (!popoverApi.isPopoverOpen(aside))
758
759
  aside.showPopover();
759
760
  }
760
761
  catch (_a) {
@@ -2,6 +2,7 @@
2
2
 
3
3
  var index = require('./index-bHoidDwv.js');
4
4
  var positioning = require('./positioning-CILo5esi.js');
5
+ var popoverApi = require('./popoverApi-D1ChCCdO.js');
5
6
 
6
7
  /**
7
8
  * Diccionario embebido de `co-kbd` para las etiquetas de texto de los
@@ -318,7 +319,7 @@ const CoTooltip = class {
318
319
  // top layer (Popover API), `position:fixed` resolves against the viewport
319
320
  // regardless of any transformed/filtered ancestor — so skip compensation
320
321
  // (it would double-shift). Only applies in the no-Popover-API fallback.
321
- const promoted = this.panelEl.matches(':popover-open');
322
+ const promoted = popoverApi.isPopoverOpen(this.panelEl);
322
323
  if (!promoted) {
323
324
  if (!this.offsetAncestorComputed) {
324
325
  this.cachedOffsetAncestor = positioning.getOffsetAncestor(this.panelEl);
@@ -418,7 +419,7 @@ const CoTooltip = class {
418
419
  if (!el || typeof el.showPopover !== 'function')
419
420
  return;
420
421
  try {
421
- if (!el.matches(':popover-open'))
422
+ if (!popoverApi.isPopoverOpen(el))
422
423
  el.showPopover();
423
424
  }
424
425
  catch (_a) {
@@ -453,7 +454,7 @@ const CoTooltip = class {
453
454
  // ── Render ─────────────────────────────────────────────────
454
455
  render() {
455
456
  const side = this.actualPlacement.split('-')[0];
456
- return (index.h("div", { key: '3764a4c115b507187115cbd30f0400deb374df09', class: "co-tooltip" }, index.h("div", { key: '50b0c6325f1254e156f07eebe07e1abc81d8955f', class: "co-tooltip__trigger", ref: (el) => (this.triggerEl = el), onMouseEnter: this.handleMouseEnter, onMouseLeave: this.handleMouseLeave, onPointerDown: this.handlePointerDown, onFocusin: this.handleFocusIn, onFocusout: this.handleFocusOut, onKeyDown: this.handleKeyDown, "aria-describedby": this.visible ? 'tooltip-panel' : undefined }, index.h("slot", { key: 'd38c1723c6429912c66174a8885fa7062d2294b6' })), (this.visible || this.closing) && this.content && (index.h("div", { key: 'ee7495acdb7bc60c922c6dd3e2719fac3d818034', id: "tooltip-panel", class: {
457
+ return (index.h("div", { key: '2254aedec8e6f6f5d2a5eb8421474d367bf88618', class: "co-tooltip" }, index.h("div", { key: '8e165c1e70c2147924f125b48c893a92ec23e6c7', class: "co-tooltip__trigger", ref: (el) => (this.triggerEl = el), onMouseEnter: this.handleMouseEnter, onMouseLeave: this.handleMouseLeave, onPointerDown: this.handlePointerDown, onFocusin: this.handleFocusIn, onFocusout: this.handleFocusOut, onKeyDown: this.handleKeyDown, "aria-describedby": this.visible ? 'tooltip-panel' : undefined }, index.h("slot", { key: 'c5cf8e75b1be170ed3cd7193677779e426b2eb90' })), (this.visible || this.closing) && this.content && (index.h("div", { key: '181da8ed7444cbeefecf4282e267737593c8be0b', id: "tooltip-panel", class: {
457
458
  'co-tooltip__panel': true,
458
459
  [`co-tooltip__panel--${side}`]: true,
459
460
  'co-tooltip__panel--closing': this.closing,
@@ -466,7 +467,7 @@ const CoTooltip = class {
466
467
  this.promotePanel();
467
468
  this.scheduleUpdate();
468
469
  }
469
- }, style: { maxWidth: this.maxWidth } }, this.arrow && index.h("div", { key: '97cfb106fdc759401fefafe9990aa9388bc8aed5', class: `co-tooltip__arrow co-tooltip__arrow--${side}` }), index.h("span", { key: '81856efa759cfdc905ca23d7982c9469622bf89b', class: "co-tooltip__content" }, this.content), this.shortcut && index.h("co-kbd", { key: '2a1b2bf4728c9e085e0e198c93a4057dacf6381c', keys: this.shortcut, surface: "dark", size: "xs" })))));
470
+ }, style: { maxWidth: this.maxWidth } }, this.arrow && index.h("div", { key: '526fbe6d0317d185491a5e564739c5f2e793688a', class: `co-tooltip__arrow co-tooltip__arrow--${side}` }), index.h("span", { key: '0a09d46f957d3231ee1584565acc815501ab1fbc', class: "co-tooltip__content" }, this.content), this.shortcut && index.h("co-kbd", { key: '15a382aa3e6d5547f8450389faa5360e2ee5ecac', keys: this.shortcut, surface: "dark", size: "xs" })))));
470
471
  }
471
472
  get el() { return index.getElement(this); }
472
473
  static get watchers() { return {
@@ -2,6 +2,7 @@
2
2
 
3
3
  var index = require('./index-bHoidDwv.js');
4
4
  var dateI18n = require('./dateI18n-BK2qHqoC.js');
5
+ var popoverApi = require('./popoverApi-D1ChCCdO.js');
5
6
 
6
7
  /**
7
8
  * Built-in UI string dictionary for co-lightbox (aria labels + tooltips).
@@ -145,12 +146,12 @@ const CoLightbox = class {
145
146
  if (this.open) {
146
147
  clearTimeout(this.demoteTimer);
147
148
  try {
148
- if (!root.matches(':popover-open'))
149
+ if (!popoverApi.isPopoverOpen(root))
149
150
  root.showPopover();
150
151
  }
151
152
  catch ( /* not connected yet — the ref call retries */_a) { /* not connected yet — the ref call retries */ }
152
153
  }
153
- else if (root.matches(':popover-open')) {
154
+ else if (popoverApi.isPopoverOpen(root)) {
154
155
  // Let the opacity fade-out run before display:none kicks in.
155
156
  clearTimeout(this.demoteTimer);
156
157
  this.demoteTimer = setTimeout(() => {
@@ -582,7 +583,7 @@ const CoLightbox = class {
582
583
  const counter = s.counter
583
584
  .replace('{i}', String(this.index + 1))
584
585
  .replace('{n}', String(imgs.length));
585
- return (index.h("div", { key: '189314e8e6be6a3b908d2c4387e0561162a1b96e', class: { 'co-lightbox': true, 'co-lightbox--open': this.open }, part: "overlay", role: "dialog", "aria-modal": "true", "aria-label": img === null || img === void 0 ? void 0 : img.alt, popover: "manual", ref: this.syncTopLayer, onClick: this.requestClose }, img && (index.h("div", { key: 'ee52518418ac4e58cd9bcece7bc3391cb0e9742f', class: "co-lightbox__toolbar", part: "toolbar", onClick: this.stop }, index.h("span", { key: 'c9e214561c3d2b7b773f82888a9147aab7d120df', class: "co-lightbox__caption", title: img.alt }, img.alt), !video && (index.h("div", { key: '911216d5873a1462303f1ed5b59c14d72b7328c4', class: "co-lightbox__zoom" }, index.h("button", { key: '9344807bbac6aefc47824b866a4225206b859323', class: "co-lightbox__btn", type: "button", "aria-label": s.zoomOut, title: s.zoomOut, onClick: () => this.zoomAt(this.scale / WHEEL_FACTOR, 0, 0) }, index.h("co-icon", { key: '736c42fc97c09d76cf0aa8e0763ba56eb1ecd394', name: "minus", size: 16 })), index.h("button", { key: 'e115084b8e4941bd0f476b248c3cc88f096c55f2', class: "co-lightbox__btn co-lightbox__zoom-value", type: "button", "aria-label": s.zoomReset, title: s.zoomReset, onClick: () => this.resetView() }, Math.round(this.scale * 100), "%"), index.h("button", { key: 'd5955ce9dcf15f0768a1f012a11acec012805811', class: "co-lightbox__btn", type: "button", "aria-label": s.zoomIn, title: s.zoomIn, onClick: () => this.zoomAt(this.scale * WHEEL_FACTOR, 0, 0) }, index.h("co-icon", { key: '64126b83b5ee1a510e4787c17a77b5bfb65db721', name: "plus", size: 16 })))), index.h("button", { key: '1798ea6aba9c8ce425317258b076874134de4724', class: "co-lightbox__btn", type: "button", "aria-label": s.openOriginal, title: s.openOriginal, onClick: this.openOriginal }, index.h("co-icon", { key: 'a4ef44fe626c33b1b0eb11d38afe034ca5a13a8f', name: "arrow-square-out", size: 16 })), index.h("button", { key: 'c68fbb1498dcfe177d8255647c39b5db83a66f7c', class: "co-lightbox__btn", part: "close", type: "button", "aria-label": s.close, title: s.close, ref: (el) => (this.closeBtnEl = el), onClick: this.requestClose }, index.h("co-icon", { key: 'b62c1dd5fa4fba5a57b4c804e31494e5da48f0af', name: "x", size: 16 })))), img && (index.h("div", { key: '80d34170f27f6a0177747e797e10646dcfca0bed', class: "co-lightbox__stage", ref: (el) => (this.stageEl = el), onWheel: video ? undefined : this.handleWheel }, video ? (index.h("co-video", { class: "co-lightbox__video", part: "video",
586
+ return (index.h("div", { key: '0e6491fbe0eb9515df66d167abb555ee00d68a07', class: { 'co-lightbox': true, 'co-lightbox--open': this.open }, part: "overlay", role: "dialog", "aria-modal": "true", "aria-label": img === null || img === void 0 ? void 0 : img.alt, popover: "manual", ref: this.syncTopLayer, onClick: this.requestClose }, img && (index.h("div", { key: '799faaab6bb3504d723732d47618d2489ff9eae4', class: "co-lightbox__toolbar", part: "toolbar", onClick: this.stop }, index.h("span", { key: 'a9fe7f715cb0b76c4c411514ab872f45022be9ed', class: "co-lightbox__caption", title: img.alt }, img.alt), !video && (index.h("div", { key: '9e0df923dd41bfaa5ed3ba28538e170529a19823', class: "co-lightbox__zoom" }, index.h("button", { key: 'c56a015724fe92be890e6d2681e552c303c02b0a', class: "co-lightbox__btn", type: "button", "aria-label": s.zoomOut, title: s.zoomOut, onClick: () => this.zoomAt(this.scale / WHEEL_FACTOR, 0, 0) }, index.h("co-icon", { key: '6b84a1dac161507d4084fba067aa1d2b4bfea5ea', name: "minus", size: 16 })), index.h("button", { key: '0e4747500888c3bb7a35dbe490d936de053f1a0c', class: "co-lightbox__btn co-lightbox__zoom-value", type: "button", "aria-label": s.zoomReset, title: s.zoomReset, onClick: () => this.resetView() }, Math.round(this.scale * 100), "%"), index.h("button", { key: '52d89aa312e2eacf96072dd1f4b14f04a5966e81', class: "co-lightbox__btn", type: "button", "aria-label": s.zoomIn, title: s.zoomIn, onClick: () => this.zoomAt(this.scale * WHEEL_FACTOR, 0, 0) }, index.h("co-icon", { key: 'a32b55340d8027b57595c097d992de88b5cd8799', name: "plus", size: 16 })))), index.h("button", { key: 'f138d46223ac0db43b3ce037f323bb5f226260a9', class: "co-lightbox__btn", type: "button", "aria-label": s.openOriginal, title: s.openOriginal, onClick: this.openOriginal }, index.h("co-icon", { key: 'e39089e43b1178eb20bce0647c7b3f19e0c58110', name: "arrow-square-out", size: 16 })), index.h("button", { key: 'c52ebe7347d11c0c1416978002cc2b67ffc94a25', class: "co-lightbox__btn", part: "close", type: "button", "aria-label": s.close, title: s.close, ref: (el) => (this.closeBtnEl = el), onClick: this.requestClose }, index.h("co-icon", { key: 'bb3e0aac0dfa10c8b5de5cb54bd7601a8ae66dec', name: "x", size: 16 })))), img && (index.h("div", { key: '3597bd31e1b65efbb2c02cb55dbacf0ec43d7639', class: "co-lightbox__stage", ref: (el) => (this.stageEl = el), onWheel: video ? undefined : this.handleWheel }, video ? (index.h("co-video", { class: "co-lightbox__video", part: "video",
586
587
  /* Keyed per slide: a fresh player is the only way to be sure
587
588
  poster, error state and playback all start clean. */
588
589
  key: `video-${this.index}`, ref: this.mountPlayer, src: img.src, poster: img.poster || '', aspectRatio: "auto", rounded: "none",
@@ -592,13 +593,13 @@ const CoLightbox = class {
592
593
  'co-lightbox__img': true,
593
594
  'co-lightbox__img--zoomed': this.scale > MIN_SCALE,
594
595
  'co-lightbox__img--dragging': this.dragging,
595
- }, part: "image", ref: (el) => (this.imgEl = el), src: img.src, alt: img.alt || '', draggable: false, style: { transform: `translate(${this.tx}px, ${this.ty}px) scale(${this.scale})` }, onClick: this.stop, onDblClick: this.handleDblClick, onPointerDown: this.handlePointerDown, onPointerMove: this.handlePointerMove, onPointerUp: this.handlePointerUp, onPointerCancel: this.handlePointerUp })))), img && multi && (index.h("button", { key: '4ef78cd047f1e8b2efb669aefbee51b73e4c5c3b', class: "co-lightbox__nav co-lightbox__nav--prev", part: "prev", type: "button", "aria-label": s.prevImage, title: s.prevImage, onClick: (e) => {
596
+ }, part: "image", ref: (el) => (this.imgEl = el), src: img.src, alt: img.alt || '', draggable: false, style: { transform: `translate(${this.tx}px, ${this.ty}px) scale(${this.scale})` }, onClick: this.stop, onDblClick: this.handleDblClick, onPointerDown: this.handlePointerDown, onPointerMove: this.handlePointerMove, onPointerUp: this.handlePointerUp, onPointerCancel: this.handlePointerUp })))), img && multi && (index.h("button", { key: '5185685a016df10825bd2ddd4479c074ab88b9e4', class: "co-lightbox__nav co-lightbox__nav--prev", part: "prev", type: "button", "aria-label": s.prevImage, title: s.prevImage, onClick: (e) => {
596
597
  e.stopPropagation();
597
598
  this.goTo(-1);
598
- } }, index.h("co-icon", { key: '834bd12a0dead46df44e291197f5d3b79f619932', name: "caret-left", size: 24 }))), img && multi && (index.h("button", { key: '0252acb36e360dedd1fe8ac8cba74ab5895476c1', class: "co-lightbox__nav co-lightbox__nav--next", part: "next", type: "button", "aria-label": s.nextImage, title: s.nextImage, onClick: (e) => {
599
+ } }, index.h("co-icon", { key: 'ff3d9a5e57dc9e74ef29c9ee8696040f46a295f2', name: "caret-left", size: 24 }))), img && multi && (index.h("button", { key: '33eaec6709a4f22490ff56c93a32de332c6adc65', class: "co-lightbox__nav co-lightbox__nav--next", part: "next", type: "button", "aria-label": s.nextImage, title: s.nextImage, onClick: (e) => {
599
600
  e.stopPropagation();
600
601
  this.goTo(1);
601
- } }, index.h("co-icon", { key: '53521495d2bd6ac11004cedd96fd7351135115a7', name: "caret-right", size: 24 }))), img && multi && (index.h("div", { key: 'fae75527e79964a30745accf565b33be3b466ba6', class: "co-lightbox__counter", part: "counter", onClick: this.stop }, counter))));
602
+ } }, index.h("co-icon", { key: '1631e46b4d05c2f1495842adb2a6e524dc67b47d', name: "caret-right", size: 24 }))), img && multi && (index.h("div", { key: 'cf751691f9dffb1325c9a5183b1cca2c01bd28c4', class: "co-lightbox__counter", part: "counter", onClick: this.stop }, counter))));
602
603
  }
603
604
  get el() { return index.getElement(this); }
604
605
  static get watchers() { return {
@@ -2,6 +2,7 @@
2
2
 
3
3
  var index = require('./index-bHoidDwv.js');
4
4
  var overlayAfterClose = require('./overlayAfterClose-BdeXrhVY.js');
5
+ var popoverApi = require('./popoverApi-D1ChCCdO.js');
5
6
 
6
7
  /**
7
8
  * ¿Un `click` sobre el fondo del overlay es un gesto de cierre?
@@ -313,7 +314,7 @@ const CoOverlay = class {
313
314
  const el = this.overlayEl;
314
315
  if (!this.open || !el || typeof el.showPopover !== 'function')
315
316
  return;
316
- if (!el.matches(':popover-open'))
317
+ if (!popoverApi.isPopoverOpen(el))
317
318
  return;
318
319
  const active = this.deepActiveElement();
319
320
  el.classList.add(REFRONT_CLASS);
@@ -354,7 +355,7 @@ const CoOverlay = class {
354
355
  if (!el || typeof el.showPopover !== 'function')
355
356
  return;
356
357
  try {
357
- const isShown = el.matches(':popover-open');
358
+ const isShown = popoverApi.isPopoverOpen(el);
358
359
  if (this.open && !isShown)
359
360
  el.showPopover();
360
361
  else if (!this.open && isShown)
@@ -454,7 +455,7 @@ const CoOverlay = class {
454
455
  focusables[nextIndex].focus();
455
456
  }
456
457
  render() {
457
- return (index.h("div", { key: '9d6cec0764074a33489f79fb4a554e7aa7374785', class: { 'co-overlay': true, 'co-overlay--open': this.open }, part: "overlay", popover: "manual", tabindex: this.trapFocus ? -1 : undefined, ref: (el) => (this.overlayEl = el), onPointerDown: this.handlePointerDown, onPointerUp: this.handlePointerUp, onClick: this.handleClick, onTransitionEnd: this.handleTransitionEnd }, index.h("slot", { key: '2f8ad7b23e72ce2f5c74b3cb67ba9ab80e88cf26' })));
458
+ return (index.h("div", { key: '419d44027ef0e270aa9bddccc83bf3e93e1e78db', class: { 'co-overlay': true, 'co-overlay--open': this.open }, part: "overlay", popover: "manual", tabindex: this.trapFocus ? -1 : undefined, ref: (el) => (this.overlayEl = el), onPointerDown: this.handlePointerDown, onPointerUp: this.handlePointerUp, onClick: this.handleClick, onTransitionEnd: this.handleTransitionEnd }, index.h("slot", { key: '34ffc7586b41bced7d7f56b6189f654c1c5e1a7f' })));
458
459
  }
459
460
  get el() { return index.getElement(this); }
460
461
  static get watchers() { return {
@@ -2,6 +2,7 @@
2
2
 
3
3
  var index = require('./index-bHoidDwv.js');
4
4
  var positioning = require('./positioning-CILo5esi.js');
5
+ var popoverApi = require('./popoverApi-D1ChCCdO.js');
5
6
 
6
7
  /**
7
8
  * Pila global de popovers abiertos (orden de apertura). Permite que el
@@ -212,7 +213,7 @@ const CoPopover = class {
212
213
  // resolves against the viewport regardless of any transformed/filtered
213
214
  // ancestor — so skip the offset-ancestor compensation. It only applies in
214
215
  // the no-Popover-API fallback where the panel still renders in place.
215
- const promoted = this.panelEl.matches(':popover-open');
216
+ const promoted = popoverApi.isPopoverOpen(this.panelEl);
216
217
  if (!promoted) {
217
218
  if (!this.offsetAncestorComputed) {
218
219
  this.cachedOffsetAncestor = positioning.getOffsetAncestor(this.panelEl);
@@ -388,7 +389,7 @@ const CoPopover = class {
388
389
  if (!el || typeof el.showPopover !== 'function')
389
390
  return;
390
391
  try {
391
- if (!el.matches(':popover-open'))
392
+ if (!popoverApi.isPopoverOpen(el))
392
393
  el.showPopover();
393
394
  }
394
395
  catch (_a) {
@@ -446,13 +447,13 @@ const CoPopover = class {
446
447
  }
447
448
  // ── Render ─────────────────────────────────────────────────
448
449
  render() {
449
- return (index.h("div", { key: 'a85df32be71c08c86bd19a31224b51b899d1f468', class: "co-popover" }, index.h("div", { key: 'accafae8513bad7bfbf32b7e98f0dc6ec0968efa', class: "co-popover__trigger", ref: (el) => (this.triggerEl = el), onClick: this.handleTriggerClick }, index.h("slot", { key: 'f12247af31066f6d4cbdd45671146b3ea5c996bc', name: "trigger" })), (this.open || this.closing) && (index.h("div", { key: '64dbc77cae4a913bbe3ec4174f6b18c4982520ae', class: { 'co-popover__panel': true, 'co-popover__panel--closing': this.closing }, part: "panel", popover: "manual", onTransitionEnd: this.handlePanelTransitionEnd, ref: (el) => {
450
+ return (index.h("div", { key: '36563fc43d535139e1dcacf5c10f7d94ac7c3c56', class: "co-popover" }, index.h("div", { key: 'b89ff545f53702c42e95058449644af4336c7b8e', class: "co-popover__trigger", ref: (el) => (this.triggerEl = el), onClick: this.handleTriggerClick }, index.h("slot", { key: 'aacbf2fbf099af3402d2a09d2f003893ed01b6da', name: "trigger" })), (this.open || this.closing) && (index.h("div", { key: '571d316922717803b4645e66302068f8081e8d36', class: { 'co-popover__panel': true, 'co-popover__panel--closing': this.closing }, part: "panel", popover: "manual", onTransitionEnd: this.handlePanelTransitionEnd, ref: (el) => {
450
451
  if (el && el !== this.panelEl) {
451
452
  this.panelEl = el;
452
453
  this.promotePanel();
453
454
  this.scheduleUpdate();
454
455
  }
455
- } }, index.h("slot", { key: '858df49b45b1bd72f215f5e408e835227633d41f' })))));
456
+ } }, index.h("slot", { key: 'cd42d52c6bbdf2522ce692b75ba556da35c8a5b9' })))));
456
457
  }
457
458
  get el() { return index.getElement(this); }
458
459
  static get watchers() { return {
@@ -0,0 +1,27 @@
1
+ 'use strict';
2
+
3
+ /**
4
+ * Popover API (top layer) con caída segura para navegadores que no la traen
5
+ * (Chrome / Android WebView < 114: Android 12 sin actualizar viene con Chrome 99).
6
+ *
7
+ * ⛔ Nunca `el.matches(':popover-open')` pelado: en esos navegadores el pseudo-selector es
8
+ * DESCONOCIDO y `matches()` LANZA `SyntaxError` — en co-popover cortaba `updatePosition` antes de
9
+ * marcar el panel como posicionado y todo dropdown quedaba invisible (reporte 2026-10-01). Sin la
10
+ * API nada está promovido: el panel vive en su lugar con `position: fixed` + compensación del
11
+ * ancestro (la rama «fallback» que cada componente ya tiene).
12
+ */
13
+ function supportsPopover(el) {
14
+ return !!el && typeof el.showPopover === 'function';
15
+ }
16
+ function isPopoverOpen(el) {
17
+ if (!supportsPopover(el))
18
+ return false;
19
+ try {
20
+ return el.matches(':popover-open');
21
+ }
22
+ catch (_a) {
23
+ return false;
24
+ }
25
+ }
26
+
27
+ exports.isPopoverOpen = isPopoverOpen;
@@ -1 +1 @@
1
- import{p as e,g as a,b as l}from"./p-DJkaRtbb.js";export{s as setNonce}from"./p-DJkaRtbb.js";(()=>{const a=import.meta.url,l={};return""!==a&&(l.resourcesUrl=new URL(".",a).href),e(l)})().then((async e=>(await a(),l(JSON.parse('[["p-ff218d09",[[1,"co-combobox",{"label":[1],"required":[4],"secondaryLabel":[1,"secondary-label"],"placeholder":[1],"disabled":[4],"iconLeft":[1,"icon-left"],"clearable":[4],"searchable":[4],"searchPlaceholder":[1,"search-placeholder"],"showFooter":[4,"show-footer"],"footerPrimaryLabel":[1,"footer-primary-label"],"footerSecondaryLabel":[1,"footer-secondary-label"],"options":[1],"emptyMessage":[1,"empty-message"],"value":[1025],"multiple":[4],"size":[513],"helperText":[1,"helper-text"],"status":[1],"layout":[513],"isOpen":[32],"searchQuery":[32],"overflowCount":[32]},null,{"isOpen":[{"onOpenChange":0}],"value":[{"onValueChange":0}]}]]],["p-f6f273f7",[[257,"co-command-search",{"open":[1540],"placeholder":[1],"items":[1],"emptyMessage":[1,"empty-message"],"async":[516],"loading":[516],"chips":[513],"tabs":[1],"activeTab":[1,"active-tab"],"hasMore":[4,"has-more"],"moreLabel":[1,"more-label"],"favorites":[1],"query":[32]},null,{"activeTab":[{"onActiveTabChange":0}],"open":[{"onOpenChange":0}]}]]],["p-3bff827a",[[1,"co-date-range",{"value":[1025],"label":[1],"placeholder":[1],"disabled":[4],"clearable":[4],"presets":[4],"helperText":[1,"helper-text"],"locale":[1],"applyLabel":[1,"apply-label"],"clearLabel":[1,"clear-label"]}]]],["p-a4264bde",[[1,"co-autocomplete",{"label":[1],"required":[4],"secondaryLabel":[1,"secondary-label"],"placeholder":[1],"disabled":[4],"iconLeft":[1,"icon-left"],"clearable":[4],"helperText":[1,"helper-text"],"layout":[513],"size":[513],"status":[1],"options":[1],"value":[1025],"multiple":[4],"loading":[4],"minChars":[2,"min-chars"],"searchDebounce":[2,"search-debounce"],"emptyMessage":[1,"empty-message"],"isOpen":[32],"query":[32],"focused":[32]},[[4,"click","handleDocumentClick"]],{"options":[{"onOptionsChange":0}],"value":[{"onValueChange":0}]}]]],["p-9af26af0",[[1,"co-date-picker",{"value":[1025],"min":[1],"max":[1],"disabledDates":[1,"disabled-dates"],"disabledDaysOfWeek":[1,"disabled-days-of-week"],"locale":[1],"displayFormat":[1,"display-format"],"firstDayOfWeek":[2,"first-day-of-week"],"label":[1],"placeholder":[1],"size":[513],"variant":[513],"name":[1],"disabled":[4],"readonly":[4],"required":[4],"clearable":[4],"invalid":[4],"errorMessage":[1,"error-message"],"helperText":[1,"helper-text"],"layout":[513],"placement":[1],"closeOnSelect":[4,"close-on-select"],"open":[1540],"mobileBreakpoint":[2,"mobile-breakpoint"],"isMobile":[32],"internalInvalid":[32]}]]],["p-4cdfcd9c",[[1,"co-date-time-picker",{"value":[1025],"timeZone":[1,"time-zone"],"stepMinutes":[2,"step-minutes"],"presetIds":[1,"preset-ids"],"hour12":[4,"hour-1-2"],"min":[1],"max":[1],"disabledDates":[1,"disabled-dates"],"disabledDaysOfWeek":[1,"disabled-days-of-week"],"locale":[1],"displayFormat":[1,"display-format"],"firstDayOfWeek":[2,"first-day-of-week"],"label":[1],"placeholder":[1],"size":[513],"variant":[513],"name":[1],"disabled":[4],"readonly":[4],"required":[4],"clearable":[4],"invalid":[4],"errorMessage":[1,"error-message"],"helperText":[1,"helper-text"],"layout":[513],"placement":[1],"open":[1540],"mobileBreakpoint":[2,"mobile-breakpoint"],"isMobile":[32],"draftMinutes":[32]},null,{"open":[{"onOpenChange":0}]}]]],["p-5e39cf70",[[257,"co-ref-field",{"label":[1],"required":[4],"secondaryLabel":[1,"secondary-label"],"labelIcon":[513,"label-icon"],"placeholder":[1],"disabled":[4],"clearable":[4],"editable":[4],"editLabel":[1,"edit-label"],"multiple":[4],"status":[1],"helperText":[1,"helper-text"],"iconLeft":[1,"icon-left"],"layout":[513],"size":[513],"variant":[513],"value":[1025],"options":[1],"selectedDisplay":[1,"selected-display"],"loading":[4],"total":[2],"searchable":[4],"searchPlaceholder":[1,"search-placeholder"],"searchDebounce":[2,"search-debounce"],"emptyMessage":[1,"empty-message"],"showFooter":[4,"show-footer"],"footerPrimaryLabel":[1,"footer-primary-label"],"footerSecondaryLabel":[1,"footer-secondary-label"],"maxChips":[2,"max-chips"],"panelTheme":[1,"panel-theme"],"colorMode":[1,"color-mode"],"triggerBadgeIcon":[1,"trigger-badge-icon"],"triggerBadgeLabel":[1,"trigger-badge-label"],"inheritedLabel":[1,"inherited-label"],"inheritedBadgeLabel":[1,"inherited-badge-label"],"panelWidth":[1,"panel-width"],"avatarShape":[1,"avatar-shape"],"pinnable":[4],"listReorderable":[4,"list-reorderable"],"inheritedTruncated":[32],"isOpen":[32],"overflowCount":[32],"selectOption":[64],"closePanel":[64],"openPanel":[64]},null,{"isOpen":[{"onOpenChange":0}],"inheritedLabel":[{"onInheritedLabelChange":0}]}]]],["p-c026968c",[[260,"co-document-editor",{"value":[1],"headerHtml":[1,"header-html"],"showPageNumber":[8,"show-page-number"],"pageSize":[1,"page-size"],"margins":[1],"headerHeight":[2,"header-height"],"pageStyles":[1,"page-styles"],"features":[1],"imageUpload":[16],"readonly":[4],"locale":[1],"extraItems":[1,"extra-items"],"label":[1],"ready":[32],"pageCount":[32],"zoomMode":[32],"scale":[32],"stageHeight":[32],"headerEditing":[32],"draftShowPageNumber":[32],"imageBar":[32],"signatureBar":[32],"getPrintHtml":[64],"getHeaderHtml":[64],"getJSON":[64],"flushChange":[64],"isEmpty":[64],"setContent":[64],"setFieldValues":[64],"insertField":[64],"insertSignatureSlot":[64],"focusEditor":[64],"getEditorInstance":[64]},null,{"value":[{"onValueChange":0}],"readonly":[{"onReadonlyChange":0}],"pageSize":[{"onPageGeometryChange":0}],"margins":[{"onPageGeometryChange":0}],"headerHeight":[{"onPageGeometryChange":0}],"headerHtml":[{"onHeaderPropsChange":0}],"showPageNumber":[{"onHeaderPropsChange":0}],"pageStyles":[{"onPageStylesChange":0}],"label":[{"onLabelChange":0}],"locale":[{"onLabelChange":0},{"onLocaleChange":0}]}]]],["p-600d0cab",[[260,"co-data-table",{"columns":[1],"rows":[1],"rowKey":[1,"row-key"],"loading":[4],"skeletonRows":[2,"skeleton-rows"],"emptyTitle":[1,"empty-title"],"emptyMessage":[1,"empty-message"],"emptyIcon":[1,"empty-icon"],"emptyActionLabel":[1,"empty-action-label"],"emptyActionVariant":[1,"empty-action-variant"],"emptyActionIcon":[1,"empty-action-icon"],"sortField":[1537,"sort-field"],"sortOrder":[1537,"sort-order"],"filteredFields":[513,"filtered-fields"],"indirectFilteredFields":[513,"indirect-filtered-fields"],"selectable":[4],"selectedKeys":[1025,"selected-keys"],"resizable":[4],"parsedColumns":[32],"parsedRows":[32],"parsedSelectedKeys":[32],"parsedFilteredFields":[32],"parsedIndirectFields":[32],"columnWidths":[32],"truncatedHeaders":[32],"resizingColumn":[32],"resizeStartX":[32],"resizeStartWidth":[32]},null,{"columns":[{"parseColumns":0}],"rows":[{"parseRows":0}],"selectedKeys":[{"parseSelectedKeys":0}],"filteredFields":[{"parseFilteredFields":0}],"indirectFilteredFields":[{"parseIndirectFields":0}]}]]],["p-a33a277a",[[1,"co-event-calendar",{"view":[1537],"date":[1025],"events":[1],"locale":[1],"timeZone":[1,"time-zone"],"editable":[4],"selectable":[4],"dayMaxEvents":[2,"day-max-events"],"minDate":[1,"min-date"],"maxDate":[1,"max-date"],"firstDayOfWeek":[2,"first-day-of-week"],"availableViews":[1,"available-views"],"statusColors":[1,"status-colors"],"defaultDurationMinutes":[2,"default-duration-minutes"],"allDaySlot":[4,"all-day-slot"],"minTime":[1,"min-time"],"maxTime":[1,"max-time"],"slotMinutes":[2,"slot-minutes"],"snapMinutes":[2,"snap-minutes"],"scrollTime":[1,"scroll-time"],"nowIndicator":[4,"now-indicator"],"loading":[4],"anchor":[32],"clearRangeSelection":[64]},null,{"date":[{"onDateChange":0}]}]]],["p-c31b9b51",[[257,"co-file-field",{"label":[1],"disabled":[4],"readonly":[4],"required":[4],"multiple":[4],"accept":[1],"maxFiles":[2,"max-files"],"maxBytes":[2,"max-bytes"],"status":[1],"helperText":[1,"helper-text"],"layout":[513],"locale":[1],"uploadButtonText":[1,"upload-button-text"],"dropText":[1,"drop-text"],"uploadedTitle":[1,"uploaded-title"],"reorderable":[4],"files":[1],"dragOver":[32],"localError":[32],"copiedKey":[32],"armedKey":[32],"dragKey":[32],"overKey":[32],"failedPreviews":[32]}]]],["p-c220362c",[[1,"co-avatar-group",{"items":[16],"max":[2],"size":[1],"shape":[1],"interactive":[4],"label":[1]}]]],["p-83691cfb",[[1,"co-column-picker",{"label":[1],"secondaryLabel":[1,"secondary-label"],"options":[1],"value":[1025],"multiple":[4],"disabled":[4],"showToolbar":[4,"show-toolbar"],"showSearch":[4,"show-search"],"clearable":[4],"placeholder":[1],"maxHeight":[2,"max-height"],"emptyText":[1,"empty-text"],"selectAllText":[1,"select-all-text"],"clearText":[1,"clear-text"],"expandText":[1,"expand-text"],"collapseText":[1,"collapse-text"],"selectedText":[1,"selected-text"],"sections":[1],"status":[1],"helperText":[1,"helper-text"],"isOpen":[32],"query":[32],"expandedKeys":[32],"focused":[32]},[[4,"click","handleDocumentClick"]],{"options":[{"onOptionsChange":0}]}]]],["p-b402665a",[[257,"co-list-item",{"label":[1],"description":[1],"icon":[1],"selected":[516],"disabled":[4],"dense":[516],"labelTruncated":[32],"descTruncated":[32]},null,{"label":[{"onTextChange":0}],"description":[{"onTextChange":0}]}]]],["p-454dd8ab",[[1,"co-select",{"label":[1],"ariaLabelText":[1,"aria-label-text"],"required":[4],"secondaryLabel":[1,"secondary-label"],"placeholder":[1],"disabled":[4],"iconLeft":[1,"icon-left"],"iconSize":[2,"icon-size"],"clearable":[4],"helperText":[1,"helper-text"],"layout":[513],"status":[1],"options":[1],"value":[1025],"multiple":[4],"size":[513],"variant":[513],"labelStyle":[513,"label-style"],"menuSurface":[513,"menu-surface"],"searchable":[516],"searchPlaceholder":[1,"search-placeholder"],"emptyText":[1,"empty-text"],"showFooter":[4,"show-footer"],"footerPrimaryLabel":[1,"footer-primary-label"],"isOpen":[32],"scrollTop":[32],"searchText":[32],"sortSnapshot":[32],"activeIndex":[32]},null,{"isOpen":[{"onOpenChange":0}]}]]],["p-99781b0b",[[1,"co-sidebar-nav",{"items":[1],"activeKey":[513,"active-key"],"mode":[513],"searchable":[4],"searchPlaceholder":[1,"search-placeholder"],"search":[1],"iconMap":[1,"icon-map"],"translations":[1],"searchText":[32],"expandedKeys":[32],"flyoutKey":[32],"flyoutPosition":[32]},null,{"iconMap":[{"onIconMapChange":0}],"translations":[{"onTranslationsChange":0}],"search":[{"onSearchChange":0}],"activeKey":[{"onActiveKeyChange":0}],"items":[{"onItemsChange":0}]}]]],["p-50ab6b9b",[[257,"co-action-bar",{"open":[516],"label":[1],"dismissible":[4],"position":[513],"ariaLabelText":[1,"aria-label-text"],"liveText":[32],"animated":[32]},null,{"label":[{"onLabelChange":0}]}]]],["p-efb3cbb0",[[257,"co-breadcrumb",{"separator":[1],"items":[1]},null,{"separator":[{"watchSeparator":0}]}]]],["p-cd43d372",[[1,"co-color-picker",{"inline":[516],"value":[1025],"label":[1],"placeholder":[1],"disabled":[4],"required":[4],"status":[1],"helperText":[1,"helper-text"],"layout":[513],"size":[513],"name":[1],"presets":[1],"locale":[1],"isOpen":[32],"copied":[32],"hsv":[32],"hexDraft":[32],"areaAxis":[32],"focusedIndex":[32]},null,{"value":[{"syncFromValue":0}]}]]],["p-33840969",[[257,"co-drive-card",{"variant":[1],"density":[1],"accent":[1],"name":[1],"meta":[1],"selected":[516],"starred":[516],"active":[516],"ext":[1]}]]],["p-84ad0227",[[257,"co-menu-item",{"icon":[1],"iconSize":[2,"icon-size"],"label":[1],"caption":[1],"dense":[4],"selected":[4],"trailingCheck":[4,"trailing-check"],"leadingCheck":[4,"leading-check"],"disabled":[4],"variant":[1],"hasSubmenu":[32],"submenuOpen":[32],"submenuPlacementValue":[32],"focusItem":[64],"closeSubmenu":[64]},null,{"submenuOpen":[{"onSubmenuOpenChange":0}]}]]],["p-7e72720a",[[257,"co-modal",{"open":[1540],"heading":[1],"description":[1],"closable":[4],"closeOnOverlay":[4,"close-on-overlay"],"closeOnEscape":[4,"close-on-escape"],"size":[513],"noDividers":[516,"no-dividers"],"headerDivider":[4,"header-divider"],"appearance":[513],"backdrop":[513],"inline":[516],"movable":[516],"trapFocus":[516,"trap-focus"],"hasFooter":[32],"dragging":[32],"bringToFront":[64]},[[4,"keydown","handleKeydown"]],{"open":[{"trackEscapeLayer":0},{"resetPositionOnOpen":0}]}]]],["p-a4154bcf",[[260,"co-rich-text-editor",{"value":[1025],"preset":[1],"placeholder":[1],"label":[1],"secondaryLabel":[1,"secondary-label"],"helperText":[1,"helper-text"],"status":[1],"variant":[513],"disabled":[4],"readonly":[4],"required":[4],"maxLength":[2,"max-length"],"showCharacterCount":[4,"show-character-count"],"autofocus":[4],"toolbar":[1],"toolbarPosition":[513,"toolbar-position"],"features":[1],"customExtensions":[16],"imageUpload":[16],"attachmentsEnabled":[4,"attachments-enabled"],"attachmentAccept":[1,"attachment-accept"],"fontFamilies":[1,"font-families"],"accountFonts":[1,"account-fonts"],"fontsLoading":[4,"fonts-loading"],"fontLoader":[16],"locale":[1],"ready":[32],"hasFocus":[32],"getJSON":[64],"getHtml":[64],"getText":[64],"clear":[64],"focusEditor":[64],"setContent":[64],"getEditorInstance":[64]},null,{"accountFonts":[{"onAccountFontsChange":0}],"value":[{"onValueChange":0}],"disabled":[{"onEditableChange":0}],"readonly":[{"onEditableChange":0}]}]]],["p-21b4a830",[[257,"co-accordion",{"open":[1540],"heading":[1],"subheading":[1],"disabled":[4],"hasSubheadingSlot":[32]}]]],["p-4a7fd0b4",[[1,"co-audio-player",{"src":[1],"compact":[4],"bars":[2],"barDensity":[2,"bar-density"],"preload":[1],"downloadFilename":[1,"download-filename"],"noDownload":[4,"no-download"],"isPlaying":[32],"isLoading":[32],"hasError":[32],"currentTime":[32],"duration":[32],"peaks":[32],"containerWidth":[32],"playbackRate":[32],"seek":[64],"play":[64]},null,{"src":[{"onSrcChange":0}]}]]],["p-a27013e6",[[257,"co-carousel",{"value":[1538],"autoplay":[4],"interval":[2],"loop":[4],"arrows":[4],"dots":[4],"pauseOnHover":[4,"pause-on-hover"],"swipe":[4],"aspectRatio":[1,"aspect-ratio"],"locale":[1],"itemCount":[32],"dragDx":[32],"dragging":[32],"rotating":[32],"next":[64],"prev":[64],"goTo":[64]},null,{"value":[{"watchValue":0}],"locale":[{"watchLocale":0}],"autoplay":[{"watchAutoplay":0}],"interval":[{"watchAutoplay":0}]}]]],["p-3e864e7d",[[1,"co-checkbox-group",{"label":[1],"secondaryLabel":[1,"secondary-label"],"helperText":[1,"helper-text"],"layout":[513],"status":[1],"value":[1025],"options":[1],"direction":[1],"size":[1],"disabled":[4]},null,{"value":[{"onValueChange":0}]}]]],["p-8e7ad2fe",[[1,"co-data-table-pagination",{"page":[1538],"pageSize":[1538,"page-size"],"totalCount":[2,"total-count"],"pageSizes":[1,"page-sizes"],"perPageLabel":[1,"per-page-label"],"recordsLabel":[1,"records-label"],"jumpToPageLabel":[1,"jump-to-page-label"],"previousLabel":[1,"previous-label"],"nextLabel":[1,"next-label"],"parsedPageSizes":[32],"jumpToValue":[32],"showPageSizeDropdown":[32]},null,{"pageSizes":[{"parsePageSizes":0}]}]]],["p-0bbaaf4f",[[257,"co-drop-zone",{"active":[1540],"accent":[1],"label":[1],"icon":[1]}]]],["p-c23630ab",[[1,"co-emoji-picker",{"locale":[1],"searchPlaceholder":[1,"search-placeholder"],"emptyMessage":[1,"empty-message"],"label":[1],"searchable":[516],"showCategories":[516,"show-categories"],"columns":[2],"skinTone":[1537,"skin-tone"],"recent":[16],"recentLimit":[2,"recent-limit"],"term":[32],"activeIndex":[32],"scrollTop":[32],"viewportHeight":[32],"localeNames":[32],"toneOpen":[32]},null,{"locale":[{"onLocaleChange":0}]}]]],["p-7e444408",[[257,"co-empty-state",{"icon":[1],"heading":[1],"description":[1],"variant":[1],"size":[1],"iconWeight":[1,"icon-weight"]}]]],["p-63f888a1",[[1,"co-fab",{"icon":[1],"label":[1],"variant":[1],"size":[1],"ariaLabelText":[1,"aria-label-text"],"disabled":[4],"position":[1],"expandOnHover":[4,"expand-on-hover"]}]]],["p-12fc5119",[[257,"co-helper-text",{"status":[1],"message":[1]}]]],["p-5d41b58b",[[257,"co-input",{"label":[1],"secondaryLabel":[1,"secondary-label"],"placeholder":[1],"value":[1025],"helperText":[1,"helper-text"],"disabled":[4],"readonly":[4],"clearable":[4],"iconLeft":[1,"icon-left"],"iconRight":[1,"icon-right"],"layout":[513],"type":[1],"name":[1],"required":[4],"autoFocus":[4,"auto-focus"],"autocomplete":[1],"status":[1],"size":[513],"variant":[513],"iconSize":[2,"icon-size"],"fill":[4],"actionLabel":[1,"action-label"],"actionIcon":[1,"action-icon"],"hasFocus":[32],"shaking":[32],"setFocus":[64]},null,{"value":[{"onValueChange":0}],"status":[{"onStatusChange":0}]}]]],["p-82bcd062",[[1,"co-json-field",{"value":[1025],"label":[1],"placeholder":[1],"name":[1],"required":[4],"disabled":[4],"readonly":[4],"rows":[2],"status":[1],"helperText":[1,"helper-text"],"invalidMessage":[1,"invalid-message"],"layout":[513],"size":[513],"draft":[32],"internalInvalid":[32],"hasFocus":[32]},null,{"value":[{"onValueChange":0}]}]]],["p-256ca457",[[257,"co-menu",{"placement":[1],"offset":[2],"autoClose":[4,"auto-close"],"open":[1540],"width":[1],"surface":[513],"anchor":[1],"shift":[2],"focusFirstItem":[64]},[[0,"coMenuSelect","handleMenuSelect"]],{"open":[{"onOpenChange":0}]}]]],["p-cb1013e6",[[257,"co-number-field",{"label":[1],"required":[4],"secondaryLabel":[1,"secondary-label"],"helperText":[1,"helper-text"],"layout":[513],"status":[1],"value":[1538],"min":[2],"max":[2],"step":[2],"disabled":[4],"placeholder":[1],"size":[513],"clearable":[4],"format":[513],"hideControls":[516,"hide-controls"],"suffix":[1],"focused":[32]},null,{"value":[{"onValueChange":0}]}]]],["p-37f9ec35",[[257,"co-page-header",{"heading":[1],"icon":[1]}]]],["p-d9b4594b",[[1,"co-phone-field",{"label":[1],"placeholder":[1],"value":[1025],"disabled":[4],"required":[4],"status":[1],"helperText":[1,"helper-text"],"layout":[513],"size":[513],"defaultCountry":[1,"default-country"],"locale":[1],"selectedIso2":[32],"numberPart":[32],"isOpen":[32],"searchQuery":[32]},null,{"value":[{"onValueChange":0}],"defaultCountry":[{"onDefaultCountryChange":0}]}]]],["p-d7775109",[[1,"co-radio-group",{"label":[1],"secondaryLabel":[1,"secondary-label"],"helperText":[1,"helper-text"],"layout":[513],"status":[1],"value":[1025],"options":[1],"direction":[1],"size":[1],"disabled":[4],"name":[1]},null,{"value":[{"onValueChange":0}]}]]],["p-3b7e90c8",[[1,"co-rating",{"label":[1],"value":[1538],"max":[2],"size":[1],"disabled":[4],"readOnly":[4,"read-only"],"icon":[1],"helperText":[1,"helper-text"],"status":[1],"hoverValue":[32]}]]],["p-89328cd8",[[1,"co-slider",{"label":[1],"ariaLabelText":[1,"aria-label-text"],"secondaryLabel":[1,"secondary-label"],"helperText":[1,"helper-text"],"status":[1],"value":[1026],"min":[2],"max":[2],"step":[2],"disabled":[4],"showValue":[4,"show-value"],"showMarks":[4,"show-marks"],"orientation":[1],"dragging":[32]}]]],["p-19f0f534",[[1,"co-tab",{"label":[1],"value":[1],"selected":[1540],"size":[1],"variant":[1],"badge":[1],"iconLeft":[1,"icon-left"],"iconRight":[1,"icon-right"],"disabled":[4],"fullWidth":[516,"full-width"]}]]],["p-f23f52ed",[[1,"co-tags-field",{"value":[1025],"label":[1],"placeholder":[1],"name":[1],"required":[4],"disabled":[4],"readonly":[4],"clearable":[4],"maxTags":[2,"max-tags"],"allowDuplicates":[4,"allow-duplicates"],"invalid":[4],"errorMessage":[1,"error-message"],"helperText":[1,"helper-text"],"layout":[513],"size":[513],"draft":[32],"editingIndex":[32],"editingDraft":[32],"hasFocus":[32]},null,{"editingIndex":[{"onEditingIndexChange":0}]}]]],["p-1c9253a2",[[1,"co-textarea",{"value":[1025],"label":[1],"secondaryLabel":[1,"secondary-label"],"placeholder":[1],"name":[1],"required":[4],"disabled":[4],"readonly":[4],"rows":[2],"maxLength":[2,"max-length"],"status":[1],"helperText":[1,"helper-text"],"layout":[513],"size":[513],"variant":[513],"clearable":[4],"resize":[1],"hasFocus":[32]}]]],["p-2ff8f591",[[257,"co-tile",{"label":[1],"icon":[1],"iconSize":[2,"icon-size"],"disabled":[516]}]]],["p-3878f174",[[257,"co-toast",{"message":[1],"description":[1],"icon":[1],"dismissible":[4],"actionsLayout":[1,"actions-layout"],"variant":[1],"progress":[2],"entered":[32]}]]],["p-f1da1df1",[[257,"co-toggle-button",{"selected":[1540],"value":[1],"label":[1],"iconLeft":[1,"icon-left"],"iconRight":[1,"icon-right"],"size":[513],"disabled":[4],"variant":[513],"selectedIconWeight":[1,"selected-icon-weight"]}]]],["p-d375c84e",[[1,"co-transfer-list",{"label":[1],"leftTitle":[1,"left-title"],"rightTitle":[1,"right-title"],"options":[1],"value":[1025],"disabled":[4],"helperText":[1,"helper-text"],"status":[1],"leftChecked":[32],"rightChecked":[32]}]]],["p-04e3e1f6",[[257,"co-tree-item",{"label":[1],"icon":[1],"depth":[2],"expandable":[516],"expanded":[516],"selection":[513],"size":[513],"disabled":[516],"locale":[1],"hasChildren":[32]}]]],["p-feec49a4",[[257,"co-app-shell",{"sidebarMode":[1537,"sidebar-mode"],"contentCard":[4,"content-card"]}]]],["p-53a251ca",[[1,"co-badge",{"size":[1],"color":[1],"animated":[4]}]]],["p-be520bd5",[[257,"co-bottom-sheet",{"open":[1540],"heading":[513],"maxHeight":[513,"max-height"],"dismissible":[4],"closeOnOverlay":[4,"close-on-overlay"],"closeOnEscape":[4,"close-on-escape"],"showHandle":[516,"show-handle"],"hasFooter":[32],"hasHeaderSlot":[32]},[[4,"keydown","handleKey"]],{"open":[{"onOpenChange":0}]}]]],["p-71ee36a8",[[257,"co-button-group",{"variant":[1],"size":[1],"direction":[1],"disabled":[4]}]]],["p-019eed8e",[[257,"co-card",{"variant":[1],"padding":[1],"clickable":[4],"stretch":[516],"hasHeader":[32],"hasFooter":[32]}]]],["p-d1e83525",[[257,"co-carousel-item"]]],["p-3b5024ce",[[1,"co-color-area",{"hue":[2],"saturation":[1026],"value":[1026],"disabled":[4],"label":[1],"dragging":[32]}]]],["p-7e678cbd",[[1,"co-color-slider",{"channel":[1],"value":[1026],"color":[1],"disabled":[4],"label":[1],"dragging":[32]}]]],["p-8a26f3cc",[[257,"co-event-popover",{"open":[1540],"anchorRect":[16],"placement":[1],"color":[1],"dot":[4],"closeOnEscape":[4,"close-on-escape"],"closeOnClickOutside":[4,"close-on-click-outside"],"popoverLabel":[1,"popover-label"]},null,{"open":[{"onOpenChange":0}],"anchorRect":[{"onAnchorChange":0}]}]]],["p-bbf3d859",[[1,"co-gradient-bar",{"stops":[16],"selected":[1026],"disabled":[516],"label":[1],"locale":[1],"dragIndex":[32],"dragPosition":[32]}]]],["p-a6c9a0c5",[[257,"co-media-thumb",{"src":[1],"video":[4],"height":[8],"radius":[2],"alt":[1]}]]],["p-e5350eeb",[[1,"co-menu-divider"]]],["p-c004fde5",[[257,"co-navbar",{"variant":[1],"size":[1],"rounded":[4]}]]],["p-9ce57385",[[1,"co-progress-bar",{"value":[2],"status":[1],"variant":[1],"thickness":[2],"indeterminate":[516]}]]],["p-c93be2d5",[[1,"co-progress-circle",{"value":[2],"status":[1],"size":[2],"strokeWidth":[2,"stroke-width"],"showLabel":[4,"show-label"]}]]],["p-e4646a0e",[[1,"co-radio",{"checked":[1540],"size":[1],"disabled":[4],"label":[1],"value":[1]}]]],["p-02133c95",[[1,"co-rich-text-viewer",{"value":[1],"format":[1],"preset":[1],"emptyText":[1,"empty-text"],"compact":[4],"features":[1],"html":[32]},null,{"value":[{"watchInputs":0}],"format":[{"watchInputs":0}],"preset":[{"watchInputs":0}],"features":[{"watchInputs":0}]}]]],["p-a18c01eb",[[257,"co-row",{"position":[1],"size":[1]}]]],["p-4e81e580",[[257,"co-segmented-bar",{"thickness":[2],"radius":[1],"trackColor":[1,"track-color"],"total":[2],"segments":[1]}]]],["p-cea21e08",[[1,"co-separator",{"vertical":[516],"spaced":[520],"inset":[520],"color":[1],"size":[1],"dark":[516]}]]],["p-d1595580",[[257,"co-sidebar",{"mode":[1537]}]]],["p-3e532a11",[[1,"co-swatch-grid",{"colors":[16],"value":[1],"columns":[2],"swatchSize":[2,"swatch-size"],"gap":[2],"radius":[2],"label":[1],"locale":[1]}]]],["p-94b871fb",[[257,"co-tab-group",{"value":[1537],"variant":[1],"size":[1],"fullWidth":[516,"full-width"]},[[0,"coTabSelect","onTabSelect"]],{"value":[{"watchValue":0}],"variant":[{"watchVariant":0}],"size":[{"watchSize":0}],"fullWidth":[{"watchFullWidth":0}]}]]],["p-4ae6fe0e",[[257,"co-toggle-button-group",{"value":[1025],"multiple":[4],"size":[1],"disabled":[4],"direction":[1],"fullWidth":[516,"full-width"],"variant":[513]},[[0,"coToggle","handleToggle"]],{"value":[{"syncChildren":0}],"variant":[{"syncVariant":0}]}]]],["p-59a71695",[[1,"co-icon",{"name":[1],"weight":[1],"size":[2],"svgContent":[32]},null,{"name":[{"onPropsChange":0}],"weight":[{"onPropsChange":0}]}]]],["p-0f3a3232",[[1,"co-date-range-picker",{"value":[1025],"min":[1],"max":[1],"locale":[1],"displayFormat":[1,"display-format"],"firstDayOfWeek":[2,"first-day-of-week"],"presets":[4],"presetIds":[1,"preset-ids"],"allowSameDay":[4,"allow-same-day"],"minRangeDays":[2,"min-range-days"],"maxRangeDays":[2,"max-range-days"],"clearable":[4],"applyOnSelect":[4,"apply-on-select"],"disabled":[4],"readonly":[4],"invalid":[4],"errorMessage":[1,"error-message"],"helperText":[1,"helper-text"],"label":[1],"required":[4],"placeholder":[1],"layout":[513],"size":[513],"variant":[513],"placement":[1],"open":[1540],"applyLabel":[1,"apply-label"],"cancelLabel":[1,"cancel-label"],"clearLabel":[1,"clear-label"],"fromLabel":[1,"from-label"],"toLabel":[1,"to-label"],"mobileBreakpoint":[2,"mobile-breakpoint"],"draftFrom":[32],"draftTo":[32],"isMobile":[32]},null,{"value":[{"onValueChange":0}]}]]],["p-cf675968",[[1,"co-lightbox",{"images":[1],"startIndex":[2,"start-index"],"open":[1540],"locale":[1],"index":[32],"scale":[32],"tx":[32],"ty":[32],"dragging":[32]},null,{"open":[{"onOpenChange":0}],"startIndex":[{"onStartIndexChange":0}],"images":[{"onImagesChange":0}]}]]],["p-dabcbba7",[[257,"co-breadcrumb-item",{"label":[1],"value":[1],"icon":[1],"current":[4],"separator":[1]}]]],["p-74804c79",[[257,"co-button",{"variant":[1],"shape":[513],"size":[1],"fullWidth":[516,"full-width"],"elevated":[4],"surface":[1],"disabled":[516],"loading":[516],"label":[1],"ariaLabelText":[1,"aria-label-text"],"iconLeft":[1,"icon-left"],"iconRight":[1,"icon-right"],"iconWeight":[1,"icon-weight"],"type":[1],"color":[1],"textColor":[1,"text-color"],"iconSize":[2,"icon-size"]}]]],["p-d26dc681",[[1,"co-file-type-tile",{"ext":[1],"size":[2],"radius":[2],"colorTags":[4,"color-tags"]}]]],["p-fb731600",[[1,"co-switch",{"checked":[1540],"disabled":[4],"label":[1],"required":[4],"secondaryLabel":[1,"secondary-label"],"helperText":[1,"helper-text"],"status":[1]}]]],["p-fb6671e0",[[1,"co-time-field",{"value":[2],"hour12":[4,"hour-1-2"],"locale":[1],"disabled":[4],"pageStep":[2,"page-step"],"fieldLabel":[1,"field-label"],"hour24":[32],"minute":[32],"focused":[32],"focusInput":[64]},null,{"value":[{"syncFromValue":0}]}]]],["p-bee52042",[[1,"co-calendar-month",{"events":[16],"year":[2],"month":[2],"locale":[1],"firstDayOfWeek":[2,"first-day-of-week"],"timeZone":[1,"time-zone"],"minDate":[1,"min-date"],"maxDate":[1,"max-date"],"editable":[4],"selectable":[4],"maxLanes":[2,"max-lanes"],"loading":[4],"focused":[32],"dragOverDate":[32],"dragId":[32],"nowMs":[32],"selectedDate":[32],"clearSelection":[64]},null,{"events":[{"onEventsChange":0}]}],[1,"co-calendar-timegrid",{"events":[16],"dates":[16],"locale":[1],"timeZone":[1,"time-zone"],"editable":[4],"selectable":[4],"minDate":[1,"min-date"],"maxDate":[1,"max-date"],"slotMinutes":[2,"slot-minutes"],"snapMinutes":[2,"snap-minutes"],"defaultDurationMinutes":[2,"default-duration-minutes"],"scrollTime":[1,"scroll-time"],"nowIndicator":[4,"now-indicator"],"loading":[4],"allDaySlot":[4,"all-day-slot"],"minTime":[1,"min-time"],"maxTime":[1,"max-time"],"nowMinutes":[32],"nowDay":[32],"focusDate":[32],"focusMin":[32],"selDate":[32],"selStartMin":[32],"selEndMin":[32],"dragId":[32],"clearSelection":[64]},null,{"events":[{"onEventsChange":0}]}]]],["p-01b54d81",[[257,"co-icon-button",{"variant":[1],"surface":[1],"shape":[513],"size":[1],"boxSize":[2,"box-size"],"iconSize":[2,"icon-size"],"disabled":[516],"label":[1],"icon":[1],"toggleIcon":[1,"toggle-icon"],"toggled":[4],"iconWeight":[1,"icon-weight"],"selected":[516],"fluid":[516],"caret":[4]}]]],["p-3890d22f",[[257,"co-list-footer",{"primaryLabel":[1,"primary-label"],"primaryIcon":[1,"primary-icon"],"secondaryLabel":[1,"secondary-label"],"secondaryIcon":[1,"secondary-icon"]}]]],["p-7737354e",[[1,"co-rich-text-toolbar",{"editor":[16],"variant":[1],"position":[513],"disabled":[4],"locale":[1],"imageUpload":[16],"attachmentsEnabled":[4,"attachments-enabled"],"attachmentAccept":[1,"attachment-accept"],"documentHeaderEnabled":[4,"document-header-enabled"],"extraItems":[1,"extra-items"],"items":[32],"tick":[32],"openPopover":[32],"popoverInput":[32],"gridHoverRows":[32],"gridHoverCols":[32],"gridLockedRows":[32],"gridLockedCols":[32],"tableTab":[32],"tableManualRows":[32],"tableManualCols":[32],"tableWithHeader":[32],"tableContextItems":[32],"imagePopoverMode":[32],"colorHexInput":[32]},null,{"variant":[{"onVariantChange":0}],"attachmentsEnabled":[{"onAttachmentsEnabledChange":0}],"documentHeaderEnabled":[{"onDocumentHeaderEnabledChange":0}],"editor":[{"onEditorChange":0}],"openPopover":[{"onOpenPopoverChange":0}]}]]],["p-5e14f676",[[1,"co-video",{"src":[1],"poster":[1],"type":[1],"preload":[1],"autoplay":[4],"loop":[4],"muted":[1028],"volume":[1026],"currentTime":[1026,"current-time"],"playbackRate":[1026,"playback-rate"],"playbackRates":[1,"playback-rates"],"controls":[4],"showPlay":[4,"show-play"],"showVolume":[4,"show-volume"],"showProgress":[4,"show-progress"],"showTime":[4,"show-time"],"showFullscreen":[4,"show-fullscreen"],"showSpeed":[4,"show-speed"],"showPip":[4,"show-pip"],"showDownload":[4,"show-download"],"allowDownload":[4,"allow-download"],"aspectRatio":[1,"aspect-ratio"],"rounded":[1],"controlsAutoHide":[4,"controls-auto-hide"],"controlsAutoHideDelay":[2,"controls-auto-hide-delay"],"disabled":[4],"watchThreshold":[2,"watch-threshold"],"locale":[1],"isPlaying":[32],"internalCurrentTime":[32],"duration":[32],"buffered":[32],"volumeLevel":[32],"isMuted":[32],"isFullscreen":[32],"internalPlaybackRate":[32],"isLoading":[32],"showControlBar":[32],"hasError":[32],"errorMessage":[32],"showSpeedMenu":[32],"isPip":[32],"thresholdFired":[32],"hasStarted":[32],"isSeeking":[32],"showVolumeSlider":[32],"play":[64],"pause":[64],"togglePlay":[64],"seek":[64],"setVolume":[64],"toggleMute":[64],"toggleFullscreen":[64],"togglePip":[64]},null,{"src":[{"onSrcChange":0}],"muted":[{"onMutedChange":0}],"volume":[{"onVolumeChange":0}],"currentTime":[{"onCurrentTimeChange":0}],"playbackRate":[{"onPlaybackRateChange":0}],"playbackRates":[{"onPlaybackRatesChange":0}]}]]],["p-6eca1c7c",[[1,"co-checkbox",{"checked":[1540],"indeterminate":[1540],"size":[1],"labelSize":[1,"label-size"],"disabled":[4],"label":[1],"ariaLabelText":[1,"aria-label-text"],"value":[1],"checkedColor":[1,"checked-color"],"appearance":[1]}]]],["p-353ff9ed",[[1,"co-avatar",{"type":[1],"size":[1],"text":[1],"src":[1],"alt":[1],"icon":[1],"iconWeight":[1,"icon-weight"],"shape":[1],"color":[1],"ringColor":[513,"ring-color"],"name":[1],"imgFailed":[32]}]]],["p-76ea3f34",[[1,"co-provider-logo",{"provider":[513],"size":[2],"plated":[516]}],[1,"co-skeleton",{"variant":[513],"width":[1],"height":[1],"revealed":[516]},null,{"revealed":[{"onRevealedChange":0}]}]]],["p-60ea3d33",[[257,"co-overlay",{"open":[1540],"trapFocus":[516,"trap-focus"],"closeOnEscape":[516,"close-on-escape"],"bringToFront":[64]},[[4,"keydown","handleKeydown"]],{"open":[{"onOpenChange":0}],"trapFocus":[{"onTrapFocusChange":0}]}]]],["p-5a32b9a2",[[1,"co-loader",{"visible":[516],"overlay":[516],"size":[513],"text":[1],"background":[1]}]]],["p-b2c49664",[[257,"co-tooltip",{"content":[1],"placement":[1],"offset":[2],"showDelay":[2,"show-delay"],"hideDelay":[2,"hide-delay"],"disabled":[4],"arrow":[4],"flip":[4],"maxWidth":[1,"max-width"],"block":[516],"variant":[1],"tone":[1],"shortcut":[1],"visible":[32],"actualPlacement":[32],"closing":[32]},null,{"visible":[{"onVisibleChange":0}],"disabled":[{"onDisabledChange":0}]}],[1,"co-kbd",{"keys":[1],"platform":[1],"surface":[1],"size":[1],"locale":[1],"chord":[4]}]]],["p-947b8e35",[[257,"co-option-list",{"items":[1],"value":[1],"selectedItems":[1,"selected-items"],"multiple":[4],"selectedFirst":[4,"selected-first"],"selectedAffordance":[1,"selected-affordance"],"removableItems":[4,"removable-items"],"reorderable":[4],"pinnable":[4],"listReorderable":[4,"list-reorderable"],"searchable":[516],"searchPlaceholder":[1,"search-placeholder"],"searchDebounce":[2,"search-debounce"],"initialTerm":[1,"initial-term"],"loading":[4],"total":[2],"hasMore":[4,"has-more"],"emptyMessage":[1,"empty-message"],"clearOptionLabel":[1,"clear-option-label"],"virtual":[516],"highlightMatches":[4,"highlight-matches"],"highlightTerm":[1,"highlight-term"],"avatarShape":[1,"avatar-shape"],"suffixAlign":[513,"suffix-align"],"autoHighlight":[4,"auto-highlight"],"term":[32],"activeIndex":[32],"scrollTop":[32],"armedKey":[32],"dragKey":[32],"overKey":[32],"dropAfter":[32],"displaySnapshot":[32],"clearSearch":[64],"snapshotOrder":[64],"focusSearch":[64],"scrollToSelected":[64],"handleKey":[64]},null,{"items":[{"onItemsChange":0}],"value":[{"onValueChange":0}]}],[257,"co-chip",{"shape":[1],"size":[1],"iconMode":[1,"icon-mode"],"variant":[1],"color":[1],"label":[1],"iconLeft":[1,"icon-left"],"iconRight":[1,"icon-right"],"iconWeight":[1,"icon-weight"],"valueLabel":[1,"value-label"],"trailingIcon":[1,"trailing-icon"],"removable":[516],"dot":[516],"dotColor":[513,"dot-color"],"clickable":[4],"disabled":[4],"selected":[1540]}]]],["p-84256bde",[[257,"co-popover",{"open":[1540],"placement":[1],"matchWidth":[516,"match-width"],"offset":[2],"closeOnClickOutside":[4,"close-on-click-outside"],"closeOnEscape":[4,"close-on-escape"],"flip":[4],"bare":[516],"anchor":[1],"shift":[2],"closing":[32],"toggle":[64],"show":[64],"hide":[64]},null,{"open":[{"onOpenChange":0}]}]]],["p-8c22bf4b",[[1,"co-date-field",{"value":[1025],"size":[513],"min":[1],"max":[1],"disabledDates":[1,"disabled-dates"],"disabledDaysOfWeek":[1,"disabled-days-of-week"],"locale":[1],"displayFormat":[1,"display-format"],"label":[1],"placeholder":[1],"name":[1],"disabled":[4],"readonly":[4],"required":[4],"clearable":[4],"invalid":[4],"errorMessage":[1,"error-message"],"helperText":[1,"helper-text"],"layout":[513],"clearLabel":[1,"clear-label"],"draft":[32],"internalInvalid":[32],"hasFocus":[32],"focusInput":[64]},null,{"value":[{"onValueChange":0}]}],[257,"co-drawer",{"open":[1540],"position":[513],"size":[513],"heading":[1],"description":[1],"icon":[1],"closable":[4],"closeOnOverlay":[4,"close-on-overlay"],"closeOnEscape":[4,"close-on-escape"],"modeless":[516],"loading":[4],"hasFooter":[32],"hasTabs":[32],"hasHeaderSlot":[32]},[[4,"keydown","handleKey"]],{"open":[{"onOpenChange":0}]}],[1,"co-calendar",{"mode":[1],"value":[1],"rangeStart":[1,"range-start"],"rangeEnd":[1,"range-end"],"min":[1],"max":[1],"disabledDates":[1,"disabled-dates"],"markedDates":[1,"marked-dates"],"markedLabel":[1,"marked-label"],"month":[1],"disabledDaysOfWeek":[1,"disabled-days-of-week"],"locale":[1],"firstDayOfWeek":[2,"first-day-of-week"],"prevMonthLabel":[1,"prev-month-label"],"nextMonthLabel":[1,"next-month-label"],"viewYear":[32],"viewMonth":[32],"focused":[32],"hoverDay":[32],"view":[32],"focusGrid":[64]},null,{"month":[{"onMonthChange":0}],"value":[{"onValueChange":0}]}]]]]'),e))));
1
+ import{p as e,g as a,b as l}from"./p-DJkaRtbb.js";export{s as setNonce}from"./p-DJkaRtbb.js";(()=>{const a=import.meta.url,l={};return""!==a&&(l.resourcesUrl=new URL(".",a).href),e(l)})().then((async e=>(await a(),l(JSON.parse('[["p-ff218d09",[[1,"co-combobox",{"label":[1],"required":[4],"secondaryLabel":[1,"secondary-label"],"placeholder":[1],"disabled":[4],"iconLeft":[1,"icon-left"],"clearable":[4],"searchable":[4],"searchPlaceholder":[1,"search-placeholder"],"showFooter":[4,"show-footer"],"footerPrimaryLabel":[1,"footer-primary-label"],"footerSecondaryLabel":[1,"footer-secondary-label"],"options":[1],"emptyMessage":[1,"empty-message"],"value":[1025],"multiple":[4],"size":[513],"helperText":[1,"helper-text"],"status":[1],"layout":[513],"isOpen":[32],"searchQuery":[32],"overflowCount":[32]},null,{"isOpen":[{"onOpenChange":0}],"value":[{"onValueChange":0}]}]]],["p-f6f273f7",[[257,"co-command-search",{"open":[1540],"placeholder":[1],"items":[1],"emptyMessage":[1,"empty-message"],"async":[516],"loading":[516],"chips":[513],"tabs":[1],"activeTab":[1,"active-tab"],"hasMore":[4,"has-more"],"moreLabel":[1,"more-label"],"favorites":[1],"query":[32]},null,{"activeTab":[{"onActiveTabChange":0}],"open":[{"onOpenChange":0}]}]]],["p-3bff827a",[[1,"co-date-range",{"value":[1025],"label":[1],"placeholder":[1],"disabled":[4],"clearable":[4],"presets":[4],"helperText":[1,"helper-text"],"locale":[1],"applyLabel":[1,"apply-label"],"clearLabel":[1,"clear-label"]}]]],["p-a4264bde",[[1,"co-autocomplete",{"label":[1],"required":[4],"secondaryLabel":[1,"secondary-label"],"placeholder":[1],"disabled":[4],"iconLeft":[1,"icon-left"],"clearable":[4],"helperText":[1,"helper-text"],"layout":[513],"size":[513],"status":[1],"options":[1],"value":[1025],"multiple":[4],"loading":[4],"minChars":[2,"min-chars"],"searchDebounce":[2,"search-debounce"],"emptyMessage":[1,"empty-message"],"isOpen":[32],"query":[32],"focused":[32]},[[4,"click","handleDocumentClick"]],{"options":[{"onOptionsChange":0}],"value":[{"onValueChange":0}]}]]],["p-9af26af0",[[1,"co-date-picker",{"value":[1025],"min":[1],"max":[1],"disabledDates":[1,"disabled-dates"],"disabledDaysOfWeek":[1,"disabled-days-of-week"],"locale":[1],"displayFormat":[1,"display-format"],"firstDayOfWeek":[2,"first-day-of-week"],"label":[1],"placeholder":[1],"size":[513],"variant":[513],"name":[1],"disabled":[4],"readonly":[4],"required":[4],"clearable":[4],"invalid":[4],"errorMessage":[1,"error-message"],"helperText":[1,"helper-text"],"layout":[513],"placement":[1],"closeOnSelect":[4,"close-on-select"],"open":[1540],"mobileBreakpoint":[2,"mobile-breakpoint"],"isMobile":[32],"internalInvalid":[32]}]]],["p-4cdfcd9c",[[1,"co-date-time-picker",{"value":[1025],"timeZone":[1,"time-zone"],"stepMinutes":[2,"step-minutes"],"presetIds":[1,"preset-ids"],"hour12":[4,"hour-1-2"],"min":[1],"max":[1],"disabledDates":[1,"disabled-dates"],"disabledDaysOfWeek":[1,"disabled-days-of-week"],"locale":[1],"displayFormat":[1,"display-format"],"firstDayOfWeek":[2,"first-day-of-week"],"label":[1],"placeholder":[1],"size":[513],"variant":[513],"name":[1],"disabled":[4],"readonly":[4],"required":[4],"clearable":[4],"invalid":[4],"errorMessage":[1,"error-message"],"helperText":[1,"helper-text"],"layout":[513],"placement":[1],"open":[1540],"mobileBreakpoint":[2,"mobile-breakpoint"],"isMobile":[32],"draftMinutes":[32]},null,{"open":[{"onOpenChange":0}]}]]],["p-5e39cf70",[[257,"co-ref-field",{"label":[1],"required":[4],"secondaryLabel":[1,"secondary-label"],"labelIcon":[513,"label-icon"],"placeholder":[1],"disabled":[4],"clearable":[4],"editable":[4],"editLabel":[1,"edit-label"],"multiple":[4],"status":[1],"helperText":[1,"helper-text"],"iconLeft":[1,"icon-left"],"layout":[513],"size":[513],"variant":[513],"value":[1025],"options":[1],"selectedDisplay":[1,"selected-display"],"loading":[4],"total":[2],"searchable":[4],"searchPlaceholder":[1,"search-placeholder"],"searchDebounce":[2,"search-debounce"],"emptyMessage":[1,"empty-message"],"showFooter":[4,"show-footer"],"footerPrimaryLabel":[1,"footer-primary-label"],"footerSecondaryLabel":[1,"footer-secondary-label"],"maxChips":[2,"max-chips"],"panelTheme":[1,"panel-theme"],"colorMode":[1,"color-mode"],"triggerBadgeIcon":[1,"trigger-badge-icon"],"triggerBadgeLabel":[1,"trigger-badge-label"],"inheritedLabel":[1,"inherited-label"],"inheritedBadgeLabel":[1,"inherited-badge-label"],"panelWidth":[1,"panel-width"],"avatarShape":[1,"avatar-shape"],"pinnable":[4],"listReorderable":[4,"list-reorderable"],"inheritedTruncated":[32],"isOpen":[32],"overflowCount":[32],"selectOption":[64],"closePanel":[64],"openPanel":[64]},null,{"isOpen":[{"onOpenChange":0}],"inheritedLabel":[{"onInheritedLabelChange":0}]}]]],["p-c026968c",[[260,"co-document-editor",{"value":[1],"headerHtml":[1,"header-html"],"showPageNumber":[8,"show-page-number"],"pageSize":[1,"page-size"],"margins":[1],"headerHeight":[2,"header-height"],"pageStyles":[1,"page-styles"],"features":[1],"imageUpload":[16],"readonly":[4],"locale":[1],"extraItems":[1,"extra-items"],"label":[1],"ready":[32],"pageCount":[32],"zoomMode":[32],"scale":[32],"stageHeight":[32],"headerEditing":[32],"draftShowPageNumber":[32],"imageBar":[32],"signatureBar":[32],"getPrintHtml":[64],"getHeaderHtml":[64],"getJSON":[64],"flushChange":[64],"isEmpty":[64],"setContent":[64],"setFieldValues":[64],"insertField":[64],"insertSignatureSlot":[64],"focusEditor":[64],"getEditorInstance":[64]},null,{"value":[{"onValueChange":0}],"readonly":[{"onReadonlyChange":0}],"pageSize":[{"onPageGeometryChange":0}],"margins":[{"onPageGeometryChange":0}],"headerHeight":[{"onPageGeometryChange":0}],"headerHtml":[{"onHeaderPropsChange":0}],"showPageNumber":[{"onHeaderPropsChange":0}],"pageStyles":[{"onPageStylesChange":0}],"label":[{"onLabelChange":0}],"locale":[{"onLabelChange":0},{"onLocaleChange":0}]}]]],["p-600d0cab",[[260,"co-data-table",{"columns":[1],"rows":[1],"rowKey":[1,"row-key"],"loading":[4],"skeletonRows":[2,"skeleton-rows"],"emptyTitle":[1,"empty-title"],"emptyMessage":[1,"empty-message"],"emptyIcon":[1,"empty-icon"],"emptyActionLabel":[1,"empty-action-label"],"emptyActionVariant":[1,"empty-action-variant"],"emptyActionIcon":[1,"empty-action-icon"],"sortField":[1537,"sort-field"],"sortOrder":[1537,"sort-order"],"filteredFields":[513,"filtered-fields"],"indirectFilteredFields":[513,"indirect-filtered-fields"],"selectable":[4],"selectedKeys":[1025,"selected-keys"],"resizable":[4],"parsedColumns":[32],"parsedRows":[32],"parsedSelectedKeys":[32],"parsedFilteredFields":[32],"parsedIndirectFields":[32],"columnWidths":[32],"truncatedHeaders":[32],"resizingColumn":[32],"resizeStartX":[32],"resizeStartWidth":[32]},null,{"columns":[{"parseColumns":0}],"rows":[{"parseRows":0}],"selectedKeys":[{"parseSelectedKeys":0}],"filteredFields":[{"parseFilteredFields":0}],"indirectFilteredFields":[{"parseIndirectFields":0}]}]]],["p-a33a277a",[[1,"co-event-calendar",{"view":[1537],"date":[1025],"events":[1],"locale":[1],"timeZone":[1,"time-zone"],"editable":[4],"selectable":[4],"dayMaxEvents":[2,"day-max-events"],"minDate":[1,"min-date"],"maxDate":[1,"max-date"],"firstDayOfWeek":[2,"first-day-of-week"],"availableViews":[1,"available-views"],"statusColors":[1,"status-colors"],"defaultDurationMinutes":[2,"default-duration-minutes"],"allDaySlot":[4,"all-day-slot"],"minTime":[1,"min-time"],"maxTime":[1,"max-time"],"slotMinutes":[2,"slot-minutes"],"snapMinutes":[2,"snap-minutes"],"scrollTime":[1,"scroll-time"],"nowIndicator":[4,"now-indicator"],"loading":[4],"anchor":[32],"clearRangeSelection":[64]},null,{"date":[{"onDateChange":0}]}]]],["p-c31b9b51",[[257,"co-file-field",{"label":[1],"disabled":[4],"readonly":[4],"required":[4],"multiple":[4],"accept":[1],"maxFiles":[2,"max-files"],"maxBytes":[2,"max-bytes"],"status":[1],"helperText":[1,"helper-text"],"layout":[513],"locale":[1],"uploadButtonText":[1,"upload-button-text"],"dropText":[1,"drop-text"],"uploadedTitle":[1,"uploaded-title"],"reorderable":[4],"files":[1],"dragOver":[32],"localError":[32],"copiedKey":[32],"armedKey":[32],"dragKey":[32],"overKey":[32],"failedPreviews":[32]}]]],["p-c220362c",[[1,"co-avatar-group",{"items":[16],"max":[2],"size":[1],"shape":[1],"interactive":[4],"label":[1]}]]],["p-83691cfb",[[1,"co-column-picker",{"label":[1],"secondaryLabel":[1,"secondary-label"],"options":[1],"value":[1025],"multiple":[4],"disabled":[4],"showToolbar":[4,"show-toolbar"],"showSearch":[4,"show-search"],"clearable":[4],"placeholder":[1],"maxHeight":[2,"max-height"],"emptyText":[1,"empty-text"],"selectAllText":[1,"select-all-text"],"clearText":[1,"clear-text"],"expandText":[1,"expand-text"],"collapseText":[1,"collapse-text"],"selectedText":[1,"selected-text"],"sections":[1],"status":[1],"helperText":[1,"helper-text"],"isOpen":[32],"query":[32],"expandedKeys":[32],"focused":[32]},[[4,"click","handleDocumentClick"]],{"options":[{"onOptionsChange":0}]}]]],["p-b402665a",[[257,"co-list-item",{"label":[1],"description":[1],"icon":[1],"selected":[516],"disabled":[4],"dense":[516],"labelTruncated":[32],"descTruncated":[32]},null,{"label":[{"onTextChange":0}],"description":[{"onTextChange":0}]}]]],["p-454dd8ab",[[1,"co-select",{"label":[1],"ariaLabelText":[1,"aria-label-text"],"required":[4],"secondaryLabel":[1,"secondary-label"],"placeholder":[1],"disabled":[4],"iconLeft":[1,"icon-left"],"iconSize":[2,"icon-size"],"clearable":[4],"helperText":[1,"helper-text"],"layout":[513],"status":[1],"options":[1],"value":[1025],"multiple":[4],"size":[513],"variant":[513],"labelStyle":[513,"label-style"],"menuSurface":[513,"menu-surface"],"searchable":[516],"searchPlaceholder":[1,"search-placeholder"],"emptyText":[1,"empty-text"],"showFooter":[4,"show-footer"],"footerPrimaryLabel":[1,"footer-primary-label"],"isOpen":[32],"scrollTop":[32],"searchText":[32],"sortSnapshot":[32],"activeIndex":[32]},null,{"isOpen":[{"onOpenChange":0}]}]]],["p-99781b0b",[[1,"co-sidebar-nav",{"items":[1],"activeKey":[513,"active-key"],"mode":[513],"searchable":[4],"searchPlaceholder":[1,"search-placeholder"],"search":[1],"iconMap":[1,"icon-map"],"translations":[1],"searchText":[32],"expandedKeys":[32],"flyoutKey":[32],"flyoutPosition":[32]},null,{"iconMap":[{"onIconMapChange":0}],"translations":[{"onTranslationsChange":0}],"search":[{"onSearchChange":0}],"activeKey":[{"onActiveKeyChange":0}],"items":[{"onItemsChange":0}]}]]],["p-50ab6b9b",[[257,"co-action-bar",{"open":[516],"label":[1],"dismissible":[4],"position":[513],"ariaLabelText":[1,"aria-label-text"],"liveText":[32],"animated":[32]},null,{"label":[{"onLabelChange":0}]}]]],["p-efb3cbb0",[[257,"co-breadcrumb",{"separator":[1],"items":[1]},null,{"separator":[{"watchSeparator":0}]}]]],["p-cd43d372",[[1,"co-color-picker",{"inline":[516],"value":[1025],"label":[1],"placeholder":[1],"disabled":[4],"required":[4],"status":[1],"helperText":[1,"helper-text"],"layout":[513],"size":[513],"name":[1],"presets":[1],"locale":[1],"isOpen":[32],"copied":[32],"hsv":[32],"hexDraft":[32],"areaAxis":[32],"focusedIndex":[32]},null,{"value":[{"syncFromValue":0}]}]]],["p-33840969",[[257,"co-drive-card",{"variant":[1],"density":[1],"accent":[1],"name":[1],"meta":[1],"selected":[516],"starred":[516],"active":[516],"ext":[1]}]]],["p-84ad0227",[[257,"co-menu-item",{"icon":[1],"iconSize":[2,"icon-size"],"label":[1],"caption":[1],"dense":[4],"selected":[4],"trailingCheck":[4,"trailing-check"],"leadingCheck":[4,"leading-check"],"disabled":[4],"variant":[1],"hasSubmenu":[32],"submenuOpen":[32],"submenuPlacementValue":[32],"focusItem":[64],"closeSubmenu":[64]},null,{"submenuOpen":[{"onSubmenuOpenChange":0}]}]]],["p-7e72720a",[[257,"co-modal",{"open":[1540],"heading":[1],"description":[1],"closable":[4],"closeOnOverlay":[4,"close-on-overlay"],"closeOnEscape":[4,"close-on-escape"],"size":[513],"noDividers":[516,"no-dividers"],"headerDivider":[4,"header-divider"],"appearance":[513],"backdrop":[513],"inline":[516],"movable":[516],"trapFocus":[516,"trap-focus"],"hasFooter":[32],"dragging":[32],"bringToFront":[64]},[[4,"keydown","handleKeydown"]],{"open":[{"trackEscapeLayer":0},{"resetPositionOnOpen":0}]}]]],["p-a4154bcf",[[260,"co-rich-text-editor",{"value":[1025],"preset":[1],"placeholder":[1],"label":[1],"secondaryLabel":[1,"secondary-label"],"helperText":[1,"helper-text"],"status":[1],"variant":[513],"disabled":[4],"readonly":[4],"required":[4],"maxLength":[2,"max-length"],"showCharacterCount":[4,"show-character-count"],"autofocus":[4],"toolbar":[1],"toolbarPosition":[513,"toolbar-position"],"features":[1],"customExtensions":[16],"imageUpload":[16],"attachmentsEnabled":[4,"attachments-enabled"],"attachmentAccept":[1,"attachment-accept"],"fontFamilies":[1,"font-families"],"accountFonts":[1,"account-fonts"],"fontsLoading":[4,"fonts-loading"],"fontLoader":[16],"locale":[1],"ready":[32],"hasFocus":[32],"getJSON":[64],"getHtml":[64],"getText":[64],"clear":[64],"focusEditor":[64],"setContent":[64],"getEditorInstance":[64]},null,{"accountFonts":[{"onAccountFontsChange":0}],"value":[{"onValueChange":0}],"disabled":[{"onEditableChange":0}],"readonly":[{"onEditableChange":0}]}]]],["p-21b4a830",[[257,"co-accordion",{"open":[1540],"heading":[1],"subheading":[1],"disabled":[4],"hasSubheadingSlot":[32]}]]],["p-4a7fd0b4",[[1,"co-audio-player",{"src":[1],"compact":[4],"bars":[2],"barDensity":[2,"bar-density"],"preload":[1],"downloadFilename":[1,"download-filename"],"noDownload":[4,"no-download"],"isPlaying":[32],"isLoading":[32],"hasError":[32],"currentTime":[32],"duration":[32],"peaks":[32],"containerWidth":[32],"playbackRate":[32],"seek":[64],"play":[64]},null,{"src":[{"onSrcChange":0}]}]]],["p-a27013e6",[[257,"co-carousel",{"value":[1538],"autoplay":[4],"interval":[2],"loop":[4],"arrows":[4],"dots":[4],"pauseOnHover":[4,"pause-on-hover"],"swipe":[4],"aspectRatio":[1,"aspect-ratio"],"locale":[1],"itemCount":[32],"dragDx":[32],"dragging":[32],"rotating":[32],"next":[64],"prev":[64],"goTo":[64]},null,{"value":[{"watchValue":0}],"locale":[{"watchLocale":0}],"autoplay":[{"watchAutoplay":0}],"interval":[{"watchAutoplay":0}]}]]],["p-3e864e7d",[[1,"co-checkbox-group",{"label":[1],"secondaryLabel":[1,"secondary-label"],"helperText":[1,"helper-text"],"layout":[513],"status":[1],"value":[1025],"options":[1],"direction":[1],"size":[1],"disabled":[4]},null,{"value":[{"onValueChange":0}]}]]],["p-8e7ad2fe",[[1,"co-data-table-pagination",{"page":[1538],"pageSize":[1538,"page-size"],"totalCount":[2,"total-count"],"pageSizes":[1,"page-sizes"],"perPageLabel":[1,"per-page-label"],"recordsLabel":[1,"records-label"],"jumpToPageLabel":[1,"jump-to-page-label"],"previousLabel":[1,"previous-label"],"nextLabel":[1,"next-label"],"parsedPageSizes":[32],"jumpToValue":[32],"showPageSizeDropdown":[32]},null,{"pageSizes":[{"parsePageSizes":0}]}]]],["p-0bbaaf4f",[[257,"co-drop-zone",{"active":[1540],"accent":[1],"label":[1],"icon":[1]}]]],["p-c23630ab",[[1,"co-emoji-picker",{"locale":[1],"searchPlaceholder":[1,"search-placeholder"],"emptyMessage":[1,"empty-message"],"label":[1],"searchable":[516],"showCategories":[516,"show-categories"],"columns":[2],"skinTone":[1537,"skin-tone"],"recent":[16],"recentLimit":[2,"recent-limit"],"term":[32],"activeIndex":[32],"scrollTop":[32],"viewportHeight":[32],"localeNames":[32],"toneOpen":[32]},null,{"locale":[{"onLocaleChange":0}]}]]],["p-7e444408",[[257,"co-empty-state",{"icon":[1],"heading":[1],"description":[1],"variant":[1],"size":[1],"iconWeight":[1,"icon-weight"]}]]],["p-63f888a1",[[1,"co-fab",{"icon":[1],"label":[1],"variant":[1],"size":[1],"ariaLabelText":[1,"aria-label-text"],"disabled":[4],"position":[1],"expandOnHover":[4,"expand-on-hover"]}]]],["p-12fc5119",[[257,"co-helper-text",{"status":[1],"message":[1]}]]],["p-5d41b58b",[[257,"co-input",{"label":[1],"secondaryLabel":[1,"secondary-label"],"placeholder":[1],"value":[1025],"helperText":[1,"helper-text"],"disabled":[4],"readonly":[4],"clearable":[4],"iconLeft":[1,"icon-left"],"iconRight":[1,"icon-right"],"layout":[513],"type":[1],"name":[1],"required":[4],"autoFocus":[4,"auto-focus"],"autocomplete":[1],"status":[1],"size":[513],"variant":[513],"iconSize":[2,"icon-size"],"fill":[4],"actionLabel":[1,"action-label"],"actionIcon":[1,"action-icon"],"hasFocus":[32],"shaking":[32],"setFocus":[64]},null,{"value":[{"onValueChange":0}],"status":[{"onStatusChange":0}]}]]],["p-82bcd062",[[1,"co-json-field",{"value":[1025],"label":[1],"placeholder":[1],"name":[1],"required":[4],"disabled":[4],"readonly":[4],"rows":[2],"status":[1],"helperText":[1,"helper-text"],"invalidMessage":[1,"invalid-message"],"layout":[513],"size":[513],"draft":[32],"internalInvalid":[32],"hasFocus":[32]},null,{"value":[{"onValueChange":0}]}]]],["p-256ca457",[[257,"co-menu",{"placement":[1],"offset":[2],"autoClose":[4,"auto-close"],"open":[1540],"width":[1],"surface":[513],"anchor":[1],"shift":[2],"focusFirstItem":[64]},[[0,"coMenuSelect","handleMenuSelect"]],{"open":[{"onOpenChange":0}]}]]],["p-cb1013e6",[[257,"co-number-field",{"label":[1],"required":[4],"secondaryLabel":[1,"secondary-label"],"helperText":[1,"helper-text"],"layout":[513],"status":[1],"value":[1538],"min":[2],"max":[2],"step":[2],"disabled":[4],"placeholder":[1],"size":[513],"clearable":[4],"format":[513],"hideControls":[516,"hide-controls"],"suffix":[1],"focused":[32]},null,{"value":[{"onValueChange":0}]}]]],["p-37f9ec35",[[257,"co-page-header",{"heading":[1],"icon":[1]}]]],["p-d9b4594b",[[1,"co-phone-field",{"label":[1],"placeholder":[1],"value":[1025],"disabled":[4],"required":[4],"status":[1],"helperText":[1,"helper-text"],"layout":[513],"size":[513],"defaultCountry":[1,"default-country"],"locale":[1],"selectedIso2":[32],"numberPart":[32],"isOpen":[32],"searchQuery":[32]},null,{"value":[{"onValueChange":0}],"defaultCountry":[{"onDefaultCountryChange":0}]}]]],["p-d7775109",[[1,"co-radio-group",{"label":[1],"secondaryLabel":[1,"secondary-label"],"helperText":[1,"helper-text"],"layout":[513],"status":[1],"value":[1025],"options":[1],"direction":[1],"size":[1],"disabled":[4],"name":[1]},null,{"value":[{"onValueChange":0}]}]]],["p-3b7e90c8",[[1,"co-rating",{"label":[1],"value":[1538],"max":[2],"size":[1],"disabled":[4],"readOnly":[4,"read-only"],"icon":[1],"helperText":[1,"helper-text"],"status":[1],"hoverValue":[32]}]]],["p-89328cd8",[[1,"co-slider",{"label":[1],"ariaLabelText":[1,"aria-label-text"],"secondaryLabel":[1,"secondary-label"],"helperText":[1,"helper-text"],"status":[1],"value":[1026],"min":[2],"max":[2],"step":[2],"disabled":[4],"showValue":[4,"show-value"],"showMarks":[4,"show-marks"],"orientation":[1],"dragging":[32]}]]],["p-19f0f534",[[1,"co-tab",{"label":[1],"value":[1],"selected":[1540],"size":[1],"variant":[1],"badge":[1],"iconLeft":[1,"icon-left"],"iconRight":[1,"icon-right"],"disabled":[4],"fullWidth":[516,"full-width"]}]]],["p-f23f52ed",[[1,"co-tags-field",{"value":[1025],"label":[1],"placeholder":[1],"name":[1],"required":[4],"disabled":[4],"readonly":[4],"clearable":[4],"maxTags":[2,"max-tags"],"allowDuplicates":[4,"allow-duplicates"],"invalid":[4],"errorMessage":[1,"error-message"],"helperText":[1,"helper-text"],"layout":[513],"size":[513],"draft":[32],"editingIndex":[32],"editingDraft":[32],"hasFocus":[32]},null,{"editingIndex":[{"onEditingIndexChange":0}]}]]],["p-1c9253a2",[[1,"co-textarea",{"value":[1025],"label":[1],"secondaryLabel":[1,"secondary-label"],"placeholder":[1],"name":[1],"required":[4],"disabled":[4],"readonly":[4],"rows":[2],"maxLength":[2,"max-length"],"status":[1],"helperText":[1,"helper-text"],"layout":[513],"size":[513],"variant":[513],"clearable":[4],"resize":[1],"hasFocus":[32]}]]],["p-2ff8f591",[[257,"co-tile",{"label":[1],"icon":[1],"iconSize":[2,"icon-size"],"disabled":[516]}]]],["p-3878f174",[[257,"co-toast",{"message":[1],"description":[1],"icon":[1],"dismissible":[4],"actionsLayout":[1,"actions-layout"],"variant":[1],"progress":[2],"entered":[32]}]]],["p-f1da1df1",[[257,"co-toggle-button",{"selected":[1540],"value":[1],"label":[1],"iconLeft":[1,"icon-left"],"iconRight":[1,"icon-right"],"size":[513],"disabled":[4],"variant":[513],"selectedIconWeight":[1,"selected-icon-weight"]}]]],["p-d375c84e",[[1,"co-transfer-list",{"label":[1],"leftTitle":[1,"left-title"],"rightTitle":[1,"right-title"],"options":[1],"value":[1025],"disabled":[4],"helperText":[1,"helper-text"],"status":[1],"leftChecked":[32],"rightChecked":[32]}]]],["p-04e3e1f6",[[257,"co-tree-item",{"label":[1],"icon":[1],"depth":[2],"expandable":[516],"expanded":[516],"selection":[513],"size":[513],"disabled":[516],"locale":[1],"hasChildren":[32]}]]],["p-feec49a4",[[257,"co-app-shell",{"sidebarMode":[1537,"sidebar-mode"],"contentCard":[4,"content-card"]}]]],["p-53a251ca",[[1,"co-badge",{"size":[1],"color":[1],"animated":[4]}]]],["p-be520bd5",[[257,"co-bottom-sheet",{"open":[1540],"heading":[513],"maxHeight":[513,"max-height"],"dismissible":[4],"closeOnOverlay":[4,"close-on-overlay"],"closeOnEscape":[4,"close-on-escape"],"showHandle":[516,"show-handle"],"hasFooter":[32],"hasHeaderSlot":[32]},[[4,"keydown","handleKey"]],{"open":[{"onOpenChange":0}]}]]],["p-71ee36a8",[[257,"co-button-group",{"variant":[1],"size":[1],"direction":[1],"disabled":[4]}]]],["p-019eed8e",[[257,"co-card",{"variant":[1],"padding":[1],"clickable":[4],"stretch":[516],"hasHeader":[32],"hasFooter":[32]}]]],["p-d1e83525",[[257,"co-carousel-item"]]],["p-3b5024ce",[[1,"co-color-area",{"hue":[2],"saturation":[1026],"value":[1026],"disabled":[4],"label":[1],"dragging":[32]}]]],["p-7e678cbd",[[1,"co-color-slider",{"channel":[1],"value":[1026],"color":[1],"disabled":[4],"label":[1],"dragging":[32]}]]],["p-8a26f3cc",[[257,"co-event-popover",{"open":[1540],"anchorRect":[16],"placement":[1],"color":[1],"dot":[4],"closeOnEscape":[4,"close-on-escape"],"closeOnClickOutside":[4,"close-on-click-outside"],"popoverLabel":[1,"popover-label"]},null,{"open":[{"onOpenChange":0}],"anchorRect":[{"onAnchorChange":0}]}]]],["p-bbf3d859",[[1,"co-gradient-bar",{"stops":[16],"selected":[1026],"disabled":[516],"label":[1],"locale":[1],"dragIndex":[32],"dragPosition":[32]}]]],["p-a6c9a0c5",[[257,"co-media-thumb",{"src":[1],"video":[4],"height":[8],"radius":[2],"alt":[1]}]]],["p-e5350eeb",[[1,"co-menu-divider"]]],["p-c004fde5",[[257,"co-navbar",{"variant":[1],"size":[1],"rounded":[4]}]]],["p-9ce57385",[[1,"co-progress-bar",{"value":[2],"status":[1],"variant":[1],"thickness":[2],"indeterminate":[516]}]]],["p-c93be2d5",[[1,"co-progress-circle",{"value":[2],"status":[1],"size":[2],"strokeWidth":[2,"stroke-width"],"showLabel":[4,"show-label"]}]]],["p-e4646a0e",[[1,"co-radio",{"checked":[1540],"size":[1],"disabled":[4],"label":[1],"value":[1]}]]],["p-02133c95",[[1,"co-rich-text-viewer",{"value":[1],"format":[1],"preset":[1],"emptyText":[1,"empty-text"],"compact":[4],"features":[1],"html":[32]},null,{"value":[{"watchInputs":0}],"format":[{"watchInputs":0}],"preset":[{"watchInputs":0}],"features":[{"watchInputs":0}]}]]],["p-a18c01eb",[[257,"co-row",{"position":[1],"size":[1]}]]],["p-4e81e580",[[257,"co-segmented-bar",{"thickness":[2],"radius":[1],"trackColor":[1,"track-color"],"total":[2],"segments":[1]}]]],["p-cea21e08",[[1,"co-separator",{"vertical":[516],"spaced":[520],"inset":[520],"color":[1],"size":[1],"dark":[516]}]]],["p-d1595580",[[257,"co-sidebar",{"mode":[1537]}]]],["p-3e532a11",[[1,"co-swatch-grid",{"colors":[16],"value":[1],"columns":[2],"swatchSize":[2,"swatch-size"],"gap":[2],"radius":[2],"label":[1],"locale":[1]}]]],["p-94b871fb",[[257,"co-tab-group",{"value":[1537],"variant":[1],"size":[1],"fullWidth":[516,"full-width"]},[[0,"coTabSelect","onTabSelect"]],{"value":[{"watchValue":0}],"variant":[{"watchVariant":0}],"size":[{"watchSize":0}],"fullWidth":[{"watchFullWidth":0}]}]]],["p-4ae6fe0e",[[257,"co-toggle-button-group",{"value":[1025],"multiple":[4],"size":[1],"disabled":[4],"direction":[1],"fullWidth":[516,"full-width"],"variant":[513]},[[0,"coToggle","handleToggle"]],{"value":[{"syncChildren":0}],"variant":[{"syncVariant":0}]}]]],["p-59a71695",[[1,"co-icon",{"name":[1],"weight":[1],"size":[2],"svgContent":[32]},null,{"name":[{"onPropsChange":0}],"weight":[{"onPropsChange":0}]}]]],["p-0f3a3232",[[1,"co-date-range-picker",{"value":[1025],"min":[1],"max":[1],"locale":[1],"displayFormat":[1,"display-format"],"firstDayOfWeek":[2,"first-day-of-week"],"presets":[4],"presetIds":[1,"preset-ids"],"allowSameDay":[4,"allow-same-day"],"minRangeDays":[2,"min-range-days"],"maxRangeDays":[2,"max-range-days"],"clearable":[4],"applyOnSelect":[4,"apply-on-select"],"disabled":[4],"readonly":[4],"invalid":[4],"errorMessage":[1,"error-message"],"helperText":[1,"helper-text"],"label":[1],"required":[4],"placeholder":[1],"layout":[513],"size":[513],"variant":[513],"placement":[1],"open":[1540],"applyLabel":[1,"apply-label"],"cancelLabel":[1,"cancel-label"],"clearLabel":[1,"clear-label"],"fromLabel":[1,"from-label"],"toLabel":[1,"to-label"],"mobileBreakpoint":[2,"mobile-breakpoint"],"draftFrom":[32],"draftTo":[32],"isMobile":[32]},null,{"value":[{"onValueChange":0}]}]]],["p-299c2425",[[1,"co-lightbox",{"images":[1],"startIndex":[2,"start-index"],"open":[1540],"locale":[1],"index":[32],"scale":[32],"tx":[32],"ty":[32],"dragging":[32]},null,{"open":[{"onOpenChange":0}],"startIndex":[{"onStartIndexChange":0}],"images":[{"onImagesChange":0}]}]]],["p-dabcbba7",[[257,"co-breadcrumb-item",{"label":[1],"value":[1],"icon":[1],"current":[4],"separator":[1]}]]],["p-74804c79",[[257,"co-button",{"variant":[1],"shape":[513],"size":[1],"fullWidth":[516,"full-width"],"elevated":[4],"surface":[1],"disabled":[516],"loading":[516],"label":[1],"ariaLabelText":[1,"aria-label-text"],"iconLeft":[1,"icon-left"],"iconRight":[1,"icon-right"],"iconWeight":[1,"icon-weight"],"type":[1],"color":[1],"textColor":[1,"text-color"],"iconSize":[2,"icon-size"]}]]],["p-d26dc681",[[1,"co-file-type-tile",{"ext":[1],"size":[2],"radius":[2],"colorTags":[4,"color-tags"]}]]],["p-fb731600",[[1,"co-switch",{"checked":[1540],"disabled":[4],"label":[1],"required":[4],"secondaryLabel":[1,"secondary-label"],"helperText":[1,"helper-text"],"status":[1]}]]],["p-fb6671e0",[[1,"co-time-field",{"value":[2],"hour12":[4,"hour-1-2"],"locale":[1],"disabled":[4],"pageStep":[2,"page-step"],"fieldLabel":[1,"field-label"],"hour24":[32],"minute":[32],"focused":[32],"focusInput":[64]},null,{"value":[{"syncFromValue":0}]}]]],["p-bee52042",[[1,"co-calendar-month",{"events":[16],"year":[2],"month":[2],"locale":[1],"firstDayOfWeek":[2,"first-day-of-week"],"timeZone":[1,"time-zone"],"minDate":[1,"min-date"],"maxDate":[1,"max-date"],"editable":[4],"selectable":[4],"maxLanes":[2,"max-lanes"],"loading":[4],"focused":[32],"dragOverDate":[32],"dragId":[32],"nowMs":[32],"selectedDate":[32],"clearSelection":[64]},null,{"events":[{"onEventsChange":0}]}],[1,"co-calendar-timegrid",{"events":[16],"dates":[16],"locale":[1],"timeZone":[1,"time-zone"],"editable":[4],"selectable":[4],"minDate":[1,"min-date"],"maxDate":[1,"max-date"],"slotMinutes":[2,"slot-minutes"],"snapMinutes":[2,"snap-minutes"],"defaultDurationMinutes":[2,"default-duration-minutes"],"scrollTime":[1,"scroll-time"],"nowIndicator":[4,"now-indicator"],"loading":[4],"allDaySlot":[4,"all-day-slot"],"minTime":[1,"min-time"],"maxTime":[1,"max-time"],"nowMinutes":[32],"nowDay":[32],"focusDate":[32],"focusMin":[32],"selDate":[32],"selStartMin":[32],"selEndMin":[32],"dragId":[32],"clearSelection":[64]},null,{"events":[{"onEventsChange":0}]}]]],["p-01b54d81",[[257,"co-icon-button",{"variant":[1],"surface":[1],"shape":[513],"size":[1],"boxSize":[2,"box-size"],"iconSize":[2,"icon-size"],"disabled":[516],"label":[1],"icon":[1],"toggleIcon":[1,"toggle-icon"],"toggled":[4],"iconWeight":[1,"icon-weight"],"selected":[516],"fluid":[516],"caret":[4]}]]],["p-3890d22f",[[257,"co-list-footer",{"primaryLabel":[1,"primary-label"],"primaryIcon":[1,"primary-icon"],"secondaryLabel":[1,"secondary-label"],"secondaryIcon":[1,"secondary-icon"]}]]],["p-7737354e",[[1,"co-rich-text-toolbar",{"editor":[16],"variant":[1],"position":[513],"disabled":[4],"locale":[1],"imageUpload":[16],"attachmentsEnabled":[4,"attachments-enabled"],"attachmentAccept":[1,"attachment-accept"],"documentHeaderEnabled":[4,"document-header-enabled"],"extraItems":[1,"extra-items"],"items":[32],"tick":[32],"openPopover":[32],"popoverInput":[32],"gridHoverRows":[32],"gridHoverCols":[32],"gridLockedRows":[32],"gridLockedCols":[32],"tableTab":[32],"tableManualRows":[32],"tableManualCols":[32],"tableWithHeader":[32],"tableContextItems":[32],"imagePopoverMode":[32],"colorHexInput":[32]},null,{"variant":[{"onVariantChange":0}],"attachmentsEnabled":[{"onAttachmentsEnabledChange":0}],"documentHeaderEnabled":[{"onDocumentHeaderEnabledChange":0}],"editor":[{"onEditorChange":0}],"openPopover":[{"onOpenPopoverChange":0}]}]]],["p-5e14f676",[[1,"co-video",{"src":[1],"poster":[1],"type":[1],"preload":[1],"autoplay":[4],"loop":[4],"muted":[1028],"volume":[1026],"currentTime":[1026,"current-time"],"playbackRate":[1026,"playback-rate"],"playbackRates":[1,"playback-rates"],"controls":[4],"showPlay":[4,"show-play"],"showVolume":[4,"show-volume"],"showProgress":[4,"show-progress"],"showTime":[4,"show-time"],"showFullscreen":[4,"show-fullscreen"],"showSpeed":[4,"show-speed"],"showPip":[4,"show-pip"],"showDownload":[4,"show-download"],"allowDownload":[4,"allow-download"],"aspectRatio":[1,"aspect-ratio"],"rounded":[1],"controlsAutoHide":[4,"controls-auto-hide"],"controlsAutoHideDelay":[2,"controls-auto-hide-delay"],"disabled":[4],"watchThreshold":[2,"watch-threshold"],"locale":[1],"isPlaying":[32],"internalCurrentTime":[32],"duration":[32],"buffered":[32],"volumeLevel":[32],"isMuted":[32],"isFullscreen":[32],"internalPlaybackRate":[32],"isLoading":[32],"showControlBar":[32],"hasError":[32],"errorMessage":[32],"showSpeedMenu":[32],"isPip":[32],"thresholdFired":[32],"hasStarted":[32],"isSeeking":[32],"showVolumeSlider":[32],"play":[64],"pause":[64],"togglePlay":[64],"seek":[64],"setVolume":[64],"toggleMute":[64],"toggleFullscreen":[64],"togglePip":[64]},null,{"src":[{"onSrcChange":0}],"muted":[{"onMutedChange":0}],"volume":[{"onVolumeChange":0}],"currentTime":[{"onCurrentTimeChange":0}],"playbackRate":[{"onPlaybackRateChange":0}],"playbackRates":[{"onPlaybackRatesChange":0}]}]]],["p-6eca1c7c",[[1,"co-checkbox",{"checked":[1540],"indeterminate":[1540],"size":[1],"labelSize":[1,"label-size"],"disabled":[4],"label":[1],"ariaLabelText":[1,"aria-label-text"],"value":[1],"checkedColor":[1,"checked-color"],"appearance":[1]}]]],["p-353ff9ed",[[1,"co-avatar",{"type":[1],"size":[1],"text":[1],"src":[1],"alt":[1],"icon":[1],"iconWeight":[1,"icon-weight"],"shape":[1],"color":[1],"ringColor":[513,"ring-color"],"name":[1],"imgFailed":[32]}]]],["p-76ea3f34",[[1,"co-provider-logo",{"provider":[513],"size":[2],"plated":[516]}],[1,"co-skeleton",{"variant":[513],"width":[1],"height":[1],"revealed":[516]},null,{"revealed":[{"onRevealedChange":0}]}]]],["p-b723aa47",[[257,"co-overlay",{"open":[1540],"trapFocus":[516,"trap-focus"],"closeOnEscape":[516,"close-on-escape"],"bringToFront":[64]},[[4,"keydown","handleKeydown"]],{"open":[{"onOpenChange":0}],"trapFocus":[{"onTrapFocusChange":0}]}]]],["p-5a32b9a2",[[1,"co-loader",{"visible":[516],"overlay":[516],"size":[513],"text":[1],"background":[1]}]]],["p-eab59be5",[[257,"co-tooltip",{"content":[1],"placement":[1],"offset":[2],"showDelay":[2,"show-delay"],"hideDelay":[2,"hide-delay"],"disabled":[4],"arrow":[4],"flip":[4],"maxWidth":[1,"max-width"],"block":[516],"variant":[1],"tone":[1],"shortcut":[1],"visible":[32],"actualPlacement":[32],"closing":[32]},null,{"visible":[{"onVisibleChange":0}],"disabled":[{"onDisabledChange":0}]}],[1,"co-kbd",{"keys":[1],"platform":[1],"surface":[1],"size":[1],"locale":[1],"chord":[4]}]]],["p-947b8e35",[[257,"co-option-list",{"items":[1],"value":[1],"selectedItems":[1,"selected-items"],"multiple":[4],"selectedFirst":[4,"selected-first"],"selectedAffordance":[1,"selected-affordance"],"removableItems":[4,"removable-items"],"reorderable":[4],"pinnable":[4],"listReorderable":[4,"list-reorderable"],"searchable":[516],"searchPlaceholder":[1,"search-placeholder"],"searchDebounce":[2,"search-debounce"],"initialTerm":[1,"initial-term"],"loading":[4],"total":[2],"hasMore":[4,"has-more"],"emptyMessage":[1,"empty-message"],"clearOptionLabel":[1,"clear-option-label"],"virtual":[516],"highlightMatches":[4,"highlight-matches"],"highlightTerm":[1,"highlight-term"],"avatarShape":[1,"avatar-shape"],"suffixAlign":[513,"suffix-align"],"autoHighlight":[4,"auto-highlight"],"term":[32],"activeIndex":[32],"scrollTop":[32],"armedKey":[32],"dragKey":[32],"overKey":[32],"dropAfter":[32],"displaySnapshot":[32],"clearSearch":[64],"snapshotOrder":[64],"focusSearch":[64],"scrollToSelected":[64],"handleKey":[64]},null,{"items":[{"onItemsChange":0}],"value":[{"onValueChange":0}]}],[257,"co-chip",{"shape":[1],"size":[1],"iconMode":[1,"icon-mode"],"variant":[1],"color":[1],"label":[1],"iconLeft":[1,"icon-left"],"iconRight":[1,"icon-right"],"iconWeight":[1,"icon-weight"],"valueLabel":[1,"value-label"],"trailingIcon":[1,"trailing-icon"],"removable":[516],"dot":[516],"dotColor":[513,"dot-color"],"clickable":[4],"disabled":[4],"selected":[1540]}]]],["p-2832ab99",[[257,"co-popover",{"open":[1540],"placement":[1],"matchWidth":[516,"match-width"],"offset":[2],"closeOnClickOutside":[4,"close-on-click-outside"],"closeOnEscape":[4,"close-on-escape"],"flip":[4],"bare":[516],"anchor":[1],"shift":[2],"closing":[32],"toggle":[64],"show":[64],"hide":[64]},null,{"open":[{"onOpenChange":0}]}]]],["p-f562bd96",[[1,"co-date-field",{"value":[1025],"size":[513],"min":[1],"max":[1],"disabledDates":[1,"disabled-dates"],"disabledDaysOfWeek":[1,"disabled-days-of-week"],"locale":[1],"displayFormat":[1,"display-format"],"label":[1],"placeholder":[1],"name":[1],"disabled":[4],"readonly":[4],"required":[4],"clearable":[4],"invalid":[4],"errorMessage":[1,"error-message"],"helperText":[1,"helper-text"],"layout":[513],"clearLabel":[1,"clear-label"],"draft":[32],"internalInvalid":[32],"hasFocus":[32],"focusInput":[64]},null,{"value":[{"onValueChange":0}]}],[257,"co-drawer",{"open":[1540],"position":[513],"size":[513],"heading":[1],"description":[1],"icon":[1],"closable":[4],"closeOnOverlay":[4,"close-on-overlay"],"closeOnEscape":[4,"close-on-escape"],"modeless":[516],"loading":[4],"hasFooter":[32],"hasTabs":[32],"hasHeaderSlot":[32]},[[4,"keydown","handleKey"]],{"open":[{"onOpenChange":0}]}],[1,"co-calendar",{"mode":[1],"value":[1],"rangeStart":[1,"range-start"],"rangeEnd":[1,"range-end"],"min":[1],"max":[1],"disabledDates":[1,"disabled-dates"],"markedDates":[1,"marked-dates"],"markedLabel":[1,"marked-label"],"month":[1],"disabledDaysOfWeek":[1,"disabled-days-of-week"],"locale":[1],"firstDayOfWeek":[2,"first-day-of-week"],"prevMonthLabel":[1,"prev-month-label"],"nextMonthLabel":[1,"next-month-label"],"viewYear":[32],"viewMonth":[32],"focused":[32],"hoverDay":[32],"view":[32],"focusGrid":[64]},null,{"month":[{"onMonthChange":0}],"value":[{"onValueChange":0}]}]]]]'),e))));
@@ -0,0 +1 @@
1
+ import{r as t,c as i,h as s,a as o}from"./p-DJkaRtbb.js";import{i as e,c as h,g as n,f as r}from"./p-BtliEQAT.js";import{i as a}from"./p-Dp1JT0dm.js";const c=[];function p(t){const i=c.indexOf(t);-1!==i&&c.splice(i,1)}function l(t){return c.length>0&&c[c.length-1]===t}const d=["top","bottom","left","right"].map((t=>`co-popover__panel--${t}`)),m=class{constructor(s){t(this,s),this.coOpen=i(this,"coOpen",3),this.coClose=i(this,"coClose",3),this.coPlacement=i(this,"coPlacement",3),this.open=!1,this.placement="bottom-start",this.matchWidth=!1,this.offset=4,this.closeOnClickOutside=!0,this.closeOnEscape=!0,this.flip=!0,this.bare=!1,this.shift=0,this.closing=!1,this.anchorSeenVisible=!1,this.keepSide=!1,this.scrollParents=[],this.cachedOffsetAncestor=null,this.offsetAncestorComputed=!1,this.docListenersBound=!1,this.finishClose=()=>{clearTimeout(this.closeFallbackTimer),this.open||(this.closing=!1,this.panelEl=void 0)},this.handlePanelTransitionEnd=t=>{!this.open&&this.closing&&t.target===this.panelEl&&"transform"===t.propertyName&&this.finishClose()},this.pressStartedInside=!1,this.handleDocumentPointerDownManual=t=>{this.pressStartedInside=t.composedPath().includes(this.el)},this.handleDocumentClickManual=t=>{const i=this.pressStartedInside;this.pressStartedInside=!1,this.open&&this.closeOnClickOutside&&(i||l(this.el)&&(t.composedPath().includes(this.el)||(this.open=!1)))},this.handleDocumentKeydownManual=t=>{this.open&&this.closeOnEscape&&l(this.el)&&"Escape"===t.key&&(t.stopPropagation(),this.open=!1)},this.updatePosition=()=>{if(!this.open||!this.triggerEl||!this.panelEl)return;const t=this.triggerEl.getBoundingClientRect(),i=this.scrollParents.map((t=>t.getBoundingClientRect()));if(e(t,i))this.anchorSeenVisible=!0;else if(this.anchorSeenVisible&&this.closeOnClickOutside)return void(this.open=!1);const s=DOMRect.fromRect({width:this.panelEl.offsetWidth,height:this.panelEl.offsetHeight}),o=this.resolveAnchor(),r=null==o?void 0:o.getBoundingClientRect(),c=this.keepSide&&this.lastPlacement?this.lastPlacement:this.placement;this.keepSide=!1,this.observePanel();const{top:p,left:l,actualPlacement:m}=h(t,s,{placement:c,offset:this.offset,flip:this.flip,anchorRect:r,shift:this.shift});this.lastPlacement=m;let f=p,v=l;if(!a(this.panelEl)&&(this.offsetAncestorComputed||(this.cachedOffsetAncestor=n(this.panelEl),this.offsetAncestorComputed=!0),this.cachedOffsetAncestor)){const t=this.cachedOffsetAncestor.getBoundingClientRect();f-=t.top,v-=t.left}const u={top:`${f}px`,left:`${v}px`};if(this.matchWidth&&(u.width=`${(null!=r?r:t).width}px`),this.panelEl){Object.assign(this.panelEl.style,u);const t=`co-popover__panel--${m.split("-")[0]}`;this.panelEl.classList.contains(t)||(this.panelEl.classList.remove(...d),this.panelEl.classList.add(t),this.coPlacement.emit({placement:m})),this.panelEl.classList.add("co-popover__panel--positioned")}},this.handlePanelResize=()=>{this.open&&(this.keepSide=!0,this.scheduleUpdate())},this.scheduleUpdate=()=>{this.rafId&&cancelAnimationFrame(this.rafId),this.rafId=requestAnimationFrame(this.updatePosition)},this.handleTriggerClick=()=>{this.open=!this.open}}componentDidLoad(){this.open&&this.onOpenChange(!0)}disconnectedCallback(){p(this.el),this.unbindDocListeners(),this.cleanupListeners(),clearTimeout(this.closeFallbackTimer),this.closing=!1}onOpenChange(t){var i;this.anchorSeenVisible=!1,t?(this.closing=!1,clearTimeout(this.closeFallbackTimer),p(i=this.el),c.push(i),this.coOpen.emit(),this.bindDocListeners(),this.scheduleUpdate(),requestAnimationFrame((()=>{requestAnimationFrame((()=>{this.updatePosition()}))})),this.addScrollListeners()):(p(this.el),this.coClose.emit(),this.cleanupListeners(),this.unbindDocListeners(),this.cachedOffsetAncestor=null,this.offsetAncestorComputed=!1,this.closing=!0,clearTimeout(this.closeFallbackTimer),this.closeFallbackTimer=setTimeout((()=>this.finishClose()),400))}bindDocListeners(){this.docListenersBound||(document.addEventListener("pointerdown",this.handleDocumentPointerDownManual,!0),document.addEventListener("click",this.handleDocumentClickManual,!0),document.addEventListener("keydown",this.handleDocumentKeydownManual,!0),this.docListenersBound=!0)}unbindDocListeners(){this.docListenersBound&&(document.removeEventListener("pointerdown",this.handleDocumentPointerDownManual,!0),document.removeEventListener("click",this.handleDocumentClickManual,!0),document.removeEventListener("keydown",this.handleDocumentKeydownManual,!0),this.docListenersBound=!1,this.pressStartedInside=!1)}async toggle(){this.open=!this.open}async show(){this.open=!0}async hide(){this.open=!1}resolveAnchor(){return this.anchor?"string"==typeof this.anchor?document.querySelector(this.anchor):this.anchor:null}promotePanel(){const t=this.panelEl;if(t&&"function"==typeof t.showPopover)try{a(t)||t.showPopover()}catch(t){}}observePanel(){var t;"undefined"!=typeof ResizeObserver&&this.panelEl&&this.observedPanel!==this.panelEl&&(null!==(t=this.resizeObserver)&&void 0!==t||(this.resizeObserver=new ResizeObserver(this.handlePanelResize)),this.observedPanel&&this.resizeObserver.unobserve(this.observedPanel),this.observedPanel=this.panelEl,this.resizeObserver.observe(this.panelEl))}addScrollListeners(){window.addEventListener("resize",this.scheduleUpdate,{passive:!0}),window.addEventListener("scroll",this.scheduleUpdate,{passive:!0,capture:!0}),this.scrollParents=r(this.el);for(const t of this.scrollParents)t.addEventListener("scroll",this.scheduleUpdate,{passive:!0})}cleanupListeners(){var t;null===(t=this.resizeObserver)||void 0===t||t.disconnect(),this.observedPanel=void 0,this.lastPlacement=void 0,this.keepSide=!1,this.rafId&&(cancelAnimationFrame(this.rafId),this.rafId=void 0),window.removeEventListener("resize",this.scheduleUpdate),window.removeEventListener("scroll",this.scheduleUpdate,{capture:!0});for(const t of this.scrollParents)t.removeEventListener("scroll",this.scheduleUpdate);this.scrollParents=[]}render(){return s("div",{key:"36563fc43d535139e1dcacf5c10f7d94ac7c3c56",class:"co-popover"},s("div",{key:"b89ff545f53702c42e95058449644af4336c7b8e",class:"co-popover__trigger",ref:t=>this.triggerEl=t,onClick:this.handleTriggerClick},s("slot",{key:"aacbf2fbf099af3402d2a09d2f003893ed01b6da",name:"trigger"})),(this.open||this.closing)&&s("div",{key:"571d316922717803b4645e66302068f8081e8d36",class:{"co-popover__panel":!0,"co-popover__panel--closing":this.closing},part:"panel",popover:"manual",onTransitionEnd:this.handlePanelTransitionEnd,ref:t=>{t&&t!==this.panelEl&&(this.panelEl=t,this.promotePanel(),this.scheduleUpdate())}},s("slot",{key:"cd42d52c6bbdf2522ce692b75ba556da35c8a5b9"})))}get el(){return o(this)}static get watchers(){return{open:[{onOpenChange:0}]}}};m.style=":host{display:inline-block;position:relative}:host([match-width]){display:block;width:100%}.co-popover{display:block;width:100%}.co-popover__trigger{display:block;width:100%;cursor:pointer}.co-popover__panel{position:fixed;inset:auto;top:0;left:0;margin:0;padding:0;width:auto;height:auto;max-width:none;max-height:none;z-index:10000;visibility:hidden;opacity:0;transform:scale(0.97);background:var(--co-semantic-surface-page, #fff);color:var(--co-semantic-text-default);border:1px solid var(--co-popover-border-color, var(--co-semantic-border-subtle));border-radius:var(--co-border-radius-sm, 12px);box-shadow:var(--co-popover-shadow, 0 4px 16px rgba(31, 28, 27, 0.08));overflow:visible}:host([bare]) .co-popover__panel{background:transparent;border:0;box-shadow:none}.co-popover__panel--positioned{visibility:visible;opacity:1;transform:scale(1);transition:opacity var(--co-motion-duration-base) var(--co-motion-ease-out), transform var(--co-motion-duration-base) var(--co-motion-ease-out)}.co-popover__panel--closing{visibility:visible;opacity:0;transform:scale(0.99);pointer-events:none;transition:opacity var(--co-motion-duration-fast) var(--co-motion-ease-in), transform var(--co-motion-duration-fast) var(--co-motion-ease-in)}.co-popover__panel--bottom{transform-origin:top center}.co-popover__panel--top{transform-origin:bottom center}.co-popover__panel--right{transform-origin:center left}.co-popover__panel--left{transform-origin:center right}";export{m as co_popover}
@@ -0,0 +1 @@
1
+ import{r as t,c as i,h as o,a as e}from"./p-DJkaRtbb.js";import{l as a}from"./p-jYd9gu_c.js";import{i as s}from"./p-Dp1JT0dm.js";const n={es:{close:"Cerrar visor",prevImage:"Imagen anterior",nextImage:"Imagen siguiente",zoomIn:"Acercar",zoomOut:"Alejar",zoomReset:"Restablecer zoom",openOriginal:"Abrir original",counter:"{i} de {n}"},en:{close:"Close viewer",prevImage:"Previous image",nextImage:"Next image",zoomIn:"Zoom in",zoomOut:"Zoom out",zoomReset:"Reset zoom",openOriginal:"Open original",counter:"{i} of {n}"},pt:{close:"Fechar visualizador",prevImage:"Imagem anterior",nextImage:"Próxima imagem",zoomIn:"Aproximar",zoomOut:"Afastar",zoomReset:"Redefinir zoom",openOriginal:"Abrir original",counter:"{i} de {n}"}};function r(t,i=c){const o=(null==t?void 0:t.original)||(null==t?void 0:t.src);if(!t||!o)return!1;const e=i("","_blank");if(!e)return!1;try{e.opener=null}catch(t){}return function(t,i,o){var e;if(t.title=i.alt||"",!t.body)return;t.body.style.cssText="margin:0;min-height:100vh;display:grid;place-items:center;color-scheme:dark;background:Canvas;color:CanvasText";const a="video"===i.kind,s=t.createElement(a?"video":"img");s.style.cssText="max-width:100vw;max-height:100vh;object-fit:contain",s.setAttribute("src",o),a?(s.setAttribute("controls",""),i.poster&&s.setAttribute("poster",i.poster)):(s.setAttribute("alt",i.alt||""),i.src&&i.src!==o&&(null===(e=s.addEventListener)||void 0===e||e.call(s,"error",(()=>s.setAttribute("src",i.src)),{once:!0}))),t.body.appendChild(s)}(e.document,t,o),!0}function c(t,i){return window.open(t,i)}const h=1.15,l=class{constructor(o){t(this,o),this.coClose=i(this,"coClose",3),this.coChange=i(this,"coChange",3),this.images="[]",this.startIndex=0,this.open=!1,this.index=0,this.scale=1,this.tx=0,this.ty=0,this.dragging=!1,this.lastImagesStr="",this.lastParsed=[],this.dragStart={x:0,y:0,tx:0,ty:0},this.pendingFocus=!1,this.syncTopLayer=t=>{t&&(this.rootEl=t);const i=this.rootEl;if(i&&"function"==typeof i.showPopover)if(this.open){clearTimeout(this.demoteTimer);try{s(i)||i.showPopover()}catch(t){}}else s(i)&&(clearTimeout(this.demoteTimer),this.demoteTimer=setTimeout((()=>{try{i.hidePopover()}catch(t){}}),220))},this.handleKey=t=>{if(this.open){if("Escape"===t.key)return this.escapeBelongsToPlayer()||(this.requestClose(),t.preventDefault()),void t.stopPropagation();if("Tab"!==t.key){if(!this.isFocusInPlayer()){switch(t.key){case"ArrowLeft":this.goTo(-1);break;case"ArrowRight":this.goTo(1);break;case"+":case"=":if(this.isVideoSlide)return;this.zoomAt(this.scale*h,0,0);break;case"-":if(this.isVideoSlide)return;this.zoomAt(this.scale/h,0,0);break;case"0":if(this.isVideoSlide)return;this.resetView();break;default:return}t.preventDefault(),t.stopPropagation()}}else this.trapTab(t)}},this.requestClose=()=>{this.coClose.emit()},this.mountPlayer=t=>{t&&t!==this.playerEl&&(this.playerEl=t,this.tryAutoplay())},this.handlePlayerReady=t=>{var i;const{width:o,height:e}=t.detail||{};o&&e&&(null===(i=this.playerEl)||void 0===i||i.style.setProperty("--co-lb-ar",String(o/e)))},this.handleWheel=t=>{t.preventDefault();const[i,o]=this.stagePoint(t);this.zoomAt(this.scale*(t.deltaY<0?h:1/h),i,o)},this.handleDblClick=t=>{const[i,o]=this.stagePoint(t);this.zoomAt(this.scale>1?1:2.5,i,o)},this.handlePointerDown=t=>{var i;this.scale<=1||(t.preventDefault(),this.dragging=!0,this.dragStart={x:t.clientX,y:t.clientY,tx:this.tx,ty:this.ty},null===(i=this.imgEl)||void 0===i||i.setPointerCapture(t.pointerId))},this.handlePointerMove=t=>{if(!this.dragging)return;const i=this.dragStart.tx+(t.clientX-this.dragStart.x),o=this.dragStart.ty+(t.clientY-this.dragStart.y);[this.tx,this.ty]=this.clampPan(i,o,this.scale)},this.handlePointerUp=t=>{var i;this.dragging&&(this.dragging=!1,null===(i=this.imgEl)||void 0===i||i.releasePointerCapture(t.pointerId))},this.openOriginal=()=>{r(this.parsedImages[this.index])},this.stop=t=>t.stopPropagation()}get activeItem(){return this.parsedImages[this.index]}get isVideoSlide(){var t;return"video"===(null===(t=this.activeItem)||void 0===t?void 0:t.kind)}get parsedImages(){const t=this.images;if("string"!=typeof t||!t.trim())return[];if(t===this.lastImagesStr)return this.lastParsed;let i=[];try{const o=JSON.parse(t);Array.isArray(o)&&(i=o.filter((t=>t&&t.src)))}catch(t){}return this.lastImagesStr=t,this.lastParsed=i,i}componentWillLoad(){this.index=this.clampIndex(this.startIndex),this.pendingAutoplay=this.open}connectedCallback(){this.open&&this.attachKeyListener()}disconnectedCallback(){this.detachKeyListener(),this.pauseVideo(),clearTimeout(this.demoteTimer)}componentDidRender(){var t;this.pendingFocus&&(this.pendingFocus=!1,null===(t=this.closeBtnEl)||void 0===t||t.focus())}onOpenChange(t){var i,o,e;this.syncTopLayer(),t?(this.index=this.clampIndex(this.startIndex),this.resetView(),this.preloadNeighbors(),this.attachKeyListener(),this.pendingAutoplay=!0,this.tryAutoplay(),this.previouslyFocused=null!==(i=document.activeElement)&&void 0!==i?i:void 0,this.pendingFocus=!0):(this.detachKeyListener(),this.pauseVideo(),this.pendingAutoplay=!1,null===(e=null===(o=this.previouslyFocused)||void 0===o?void 0:o.focus)||void 0===e||e.call(o),this.previouslyFocused=void 0)}onStartIndexChange(t){this.open&&(this.index=this.clampIndex(t),this.resetView())}onImagesChange(){this.index=this.clampIndex(this.index)}attachKeyListener(){window.addEventListener("keydown",this.handleKey,{capture:!0})}detachKeyListener(){window.removeEventListener("keydown",this.handleKey,{capture:!0})}focusables(){var t,i;return Array.from(null!==(i=null===(t=this.el.shadowRoot)||void 0===t?void 0:t.querySelectorAll("button, co-video"))&&void 0!==i?i:[]).flatMap((t=>{var i,o;return"CO-VIDEO"===t.tagName?Array.from(null!==(o=null===(i=t.shadowRoot)||void 0===i?void 0:i.querySelectorAll('button:not([tabindex="-1"]), [tabindex="0"]'))&&void 0!==o?o:[]):[t]}))}deepActive(){var t,i,o;let e=null!==(i=null===(t=this.el.shadowRoot)||void 0===t?void 0:t.activeElement)&&void 0!==i?i:null;for(;null===(o=null==e?void 0:e.shadowRoot)||void 0===o?void 0:o.activeElement;)e=e.shadowRoot.activeElement;return e}escapeBelongsToPlayer(){var t,i;const o=document;return!(!o.fullscreenElement&&!o.webkitFullscreenElement&&!(null===(i=null===(t=this.playerEl)||void 0===t?void 0:t.shadowRoot)||void 0===i?void 0:i.querySelector(".co-video__speed-menu")))}isFocusInPlayer(){var t;const i=this.playerEl;return!!i&&(null===(t=this.el.shadowRoot)||void 0===t?void 0:t.activeElement)===i}trapTab(t){const i=this.focusables();if(0===i.length)return;t.preventDefault(),t.stopPropagation();const o=t.shiftKey?-1:1,e=i.indexOf(this.deepActive());(e<0?i[o>0?0:i.length-1]:i[(e+o+i.length)%i.length]).focus()}clampIndex(t){const i=this.parsedImages.length;return 0===i?0:Math.min(Math.max(0,t),i-1)}resetView(){this.scale=1,this.tx=0,this.ty=0,this.dragging=!1}goTo(t){const i=this.parsedImages.length;i<2||(this.pauseVideo(),this.pendingAutoplay=!1,this.index=(this.index+t+i)%i,this.resetView(),this.coChange.emit(this.index),this.preloadNeighbors())}preloadNeighbors(){const t=this.parsedImages;if(!(t.length<2))for(const i of[1,-1]){const o=t[(this.index+i+t.length)%t.length];if(!o)continue;const e="video"===o.kind?o.poster:o.src;e&&((new Image).src=e)}}tryAutoplay(){var t;if(!this.pendingAutoplay||!this.open)return;if(!this.isVideoSlide)return void(this.pendingAutoplay=!1);const i=this.playerEl;i&&(this.pendingAutoplay=!1,Promise.resolve(null===(t=i.componentOnReady)||void 0===t?void 0:t.call(i)).then((()=>{var t;if(this.open&&this.playerEl===i&&this.isVideoSlide)return null===(t=i.play)||void 0===t?void 0:t.call(i)})).catch((()=>{})))}pauseVideo(){var t,i;try{const o=null===(i=null===(t=this.playerEl)||void 0===t?void 0:t.pause)||void 0===i?void 0:i.call(t);o&&"function"==typeof o.catch&&o.catch((()=>{}))}catch(t){}}clampPan(t,i,o){const e=this.stageEl,a=this.imgEl;if(!e||!a)return[t,i];const s=Math.max(0,(a.offsetWidth*o-e.clientWidth)/2),n=Math.max(0,(a.offsetHeight*o-e.clientHeight)/2);return[Math.min(Math.max(t,-s),s),Math.min(Math.max(i,-n),n)]}zoomAt(t,i,o){const e=this.scale,a=Math.min(Math.max(t,1),8);if(a===e)return;const s=a/e;let n=i-(i-this.tx)*s,r=o-(o-this.ty)*s;1===a?(n=0,r=0):[n,r]=this.clampPan(n,r,a),this.scale=a,this.tx=n,this.ty=r}stagePoint(t){var i;const o=null===(i=this.stageEl)||void 0===i?void 0:i.getBoundingClientRect();return o?[t.clientX-o.left-o.width/2,t.clientY-o.top-o.height/2]:[0,0]}render(){const t=n[a(this.locale)],i=this.parsedImages,e=i[this.index],s=i.length>1,r="video"===(null==e?void 0:e.kind),c=t.counter.replace("{i}",String(this.index+1)).replace("{n}",String(i.length));return o("div",{key:"0e6491fbe0eb9515df66d167abb555ee00d68a07",class:{"co-lightbox":!0,"co-lightbox--open":this.open},part:"overlay",role:"dialog","aria-modal":"true","aria-label":null==e?void 0:e.alt,popover:"manual",ref:this.syncTopLayer,onClick:this.requestClose},e&&o("div",{key:"799faaab6bb3504d723732d47618d2489ff9eae4",class:"co-lightbox__toolbar",part:"toolbar",onClick:this.stop},o("span",{key:"a9fe7f715cb0b76c4c411514ab872f45022be9ed",class:"co-lightbox__caption",title:e.alt},e.alt),!r&&o("div",{key:"9e0df923dd41bfaa5ed3ba28538e170529a19823",class:"co-lightbox__zoom"},o("button",{key:"c56a015724fe92be890e6d2681e552c303c02b0a",class:"co-lightbox__btn",type:"button","aria-label":t.zoomOut,title:t.zoomOut,onClick:()=>this.zoomAt(this.scale/h,0,0)},o("co-icon",{key:"6b84a1dac161507d4084fba067aa1d2b4bfea5ea",name:"minus",size:16})),o("button",{key:"0e4747500888c3bb7a35dbe490d936de053f1a0c",class:"co-lightbox__btn co-lightbox__zoom-value",type:"button","aria-label":t.zoomReset,title:t.zoomReset,onClick:()=>this.resetView()},Math.round(100*this.scale),"%"),o("button",{key:"52d89aa312e2eacf96072dd1f4b14f04a5966e81",class:"co-lightbox__btn",type:"button","aria-label":t.zoomIn,title:t.zoomIn,onClick:()=>this.zoomAt(this.scale*h,0,0)},o("co-icon",{key:"a32b55340d8027b57595c097d992de88b5cd8799",name:"plus",size:16}))),o("button",{key:"f138d46223ac0db43b3ce037f323bb5f226260a9",class:"co-lightbox__btn",type:"button","aria-label":t.openOriginal,title:t.openOriginal,onClick:this.openOriginal},o("co-icon",{key:"e39089e43b1178eb20bce0647c7b3f19e0c58110",name:"arrow-square-out",size:16})),o("button",{key:"c52ebe7347d11c0c1416978002cc2b67ffc94a25",class:"co-lightbox__btn",part:"close",type:"button","aria-label":t.close,title:t.close,ref:t=>this.closeBtnEl=t,onClick:this.requestClose},o("co-icon",{key:"bb3e0aac0dfa10c8b5de5cb54bd7601a8ae66dec",name:"x",size:16}))),e&&o("div",{key:"3597bd31e1b65efbb2c02cb55dbacf0ec43d7639",class:"co-lightbox__stage",ref:t=>this.stageEl=t,onWheel:r?void 0:this.handleWheel},r?o("co-video",{class:"co-lightbox__video",part:"video",key:`video-${this.index}`,ref:this.mountPlayer,src:e.src,poster:e.poster||"",aspectRatio:"auto",rounded:"none",controlsAutoHide:!1,showSpeed:!0,showPip:!0,locale:a(this.locale),onCoReady:this.handlePlayerReady,onClick:this.stop}):o("img",{class:{"co-lightbox__img":!0,"co-lightbox__img--zoomed":this.scale>1,"co-lightbox__img--dragging":this.dragging},part:"image",ref:t=>this.imgEl=t,src:e.src,alt:e.alt||"",draggable:!1,style:{transform:`translate(${this.tx}px, ${this.ty}px) scale(${this.scale})`},onClick:this.stop,onDblClick:this.handleDblClick,onPointerDown:this.handlePointerDown,onPointerMove:this.handlePointerMove,onPointerUp:this.handlePointerUp,onPointerCancel:this.handlePointerUp})),e&&s&&o("button",{key:"5185685a016df10825bd2ddd4479c074ab88b9e4",class:"co-lightbox__nav co-lightbox__nav--prev",part:"prev",type:"button","aria-label":t.prevImage,title:t.prevImage,onClick:t=>{t.stopPropagation(),this.goTo(-1)}},o("co-icon",{key:"ff3d9a5e57dc9e74ef29c9ee8696040f46a295f2",name:"caret-left",size:24})),e&&s&&o("button",{key:"33eaec6709a4f22490ff56c93a32de332c6adc65",class:"co-lightbox__nav co-lightbox__nav--next",part:"next",type:"button","aria-label":t.nextImage,title:t.nextImage,onClick:t=>{t.stopPropagation(),this.goTo(1)}},o("co-icon",{key:"1631e46b4d05c2f1495842adb2a6e524dc67b47d",name:"caret-right",size:24})),e&&s&&o("div",{key:"cf751691f9dffb1325c9a5183b1cca2c01bd28c4",class:"co-lightbox__counter",part:"counter",onClick:this.stop},c))}get el(){return e(this)}static get watchers(){return{open:[{onOpenChange:0}],startIndex:[{onStartIndexChange:0}],images:[{onImagesChange:0}]}}};l.style=":host{display:contents;font-family:var(--co-font-family-primary)}.co-lightbox{position:fixed;inset:0;margin:0;border:0;padding:0;width:auto;height:auto;overflow:visible;color:inherit;z-index:1100;display:flex;align-items:center;justify-content:center;background:var(--co-color-opacity-negro-80);opacity:0;pointer-events:none;transition:opacity var(--co-motion-duration-base) var(--co-motion-ease-out)}.co-lightbox--open{opacity:1;pointer-events:auto}.co-lightbox__toolbar{position:absolute;top:0;left:0;right:0;z-index:2;display:flex;align-items:center;gap:var(--co-spacing-sm2);padding:var(--co-spacing-md) var(--co-spacing-lg);background:linear-gradient(var(--co-color-opacity-negro-50), transparent)}.co-lightbox__caption{flex:1;min-width:0;color:var(--co-color-base-blanco);font-size:var(--co-font-size-14);line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.co-lightbox__zoom{display:flex;align-items:center;gap:var(--co-spacing-xxs);padding:0 var(--co-spacing-xs);border-radius:var(--co-border-radius-full);background:var(--co-color-opacity-blanco-8)}.co-lightbox__btn{display:flex;align-items:center;justify-content:center;min-width:32px;height:32px;padding:0 var(--co-spacing-xs);border:none;border-radius:var(--co-border-radius-full);background:transparent;color:var(--co-color-base-blanco);font-family:inherit;font-size:var(--co-font-size-13, 13px);cursor:pointer;transition:background var(--co-motion-duration-fast) var(--co-motion-ease-out)}.co-lightbox__btn:hover{background:var(--co-color-opacity-blanco-16)}.co-lightbox__zoom-value{min-width:48px;font-variant-numeric:tabular-nums}.co-lightbox__stage{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;overflow:hidden;touch-action:none}.co-lightbox__img{max-width:calc(100vw - var(--co-spacing-5xl) * 2);max-height:calc(100vh - var(--co-spacing-5xl) * 2);border-radius:var(--co-border-radius-xs);user-select:none;transition:transform var(--co-motion-duration-base) var(--co-motion-ease-out)}.co-lightbox__video{--co-lb-ar:1.7778;flex:0 0 auto;width:auto;aspect-ratio:var(--co-lb-ar);height:min( calc(100vh - var(--co-spacing-5xl) * 2), calc((100vw - var(--co-spacing-5xl) * 2) / var(--co-lb-ar)), calc(1200px / var(--co-lb-ar)) );border-radius:var(--co-border-radius-xs);overflow:hidden}.co-lightbox__img--zoomed{cursor:grab}.co-lightbox__img--dragging{cursor:grabbing;transition:none}.co-lightbox__nav{position:absolute;top:50%;transform:translateY(-50%);z-index:2;display:flex;align-items:center;justify-content:center;width:44px;height:44px;border:none;border-radius:var(--co-border-radius-full);background:var(--co-color-opacity-blanco-8);color:var(--co-color-base-blanco);cursor:pointer;transition:background var(--co-motion-duration-fast) var(--co-motion-ease-out)}.co-lightbox__nav:hover{background:var(--co-color-opacity-blanco-25)}.co-lightbox__nav--prev{left:var(--co-spacing-lg)}.co-lightbox__nav--next{right:var(--co-spacing-lg)}.co-lightbox__counter{position:absolute;bottom:var(--co-spacing-lg);left:50%;transform:translateX(-50%);z-index:2;padding:var(--co-spacing-xs) var(--co-spacing-md);border-radius:var(--co-border-radius-full);background:var(--co-color-opacity-blanco-8);color:var(--co-color-base-blanco);font-size:var(--co-font-size-13, 13px);font-variant-numeric:tabular-nums}";export{l as co_lightbox}
@@ -0,0 +1 @@
1
+ function n(n){if(!function(n){return!!n&&"function"==typeof n.showPopover}(n))return!1;try{return n.matches(":popover-open")}catch(n){return!1}}export{n as i}
@@ -0,0 +1 @@
1
+ import{r as t,c as i,h as n,a as o}from"./p-DJkaRtbb.js";import{a as e}from"./p-Ch1jfwZ2.js";import{i as r}from"./p-Dp1JT0dm.js";const s=["a[href]","area[href]","button:not([disabled])",'input:not([disabled]):not([type="hidden"])',"select:not([disabled])","textarea:not([disabled])","iframe","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])','[tabindex]:not([tabindex="-1"])'].join(",");function a(t){if(t.shadowRoot)return Array.from(t.shadowRoot.children);if("SLOT"===t.tagName){const i=t.assignedElements({flatten:!0});return i.length?i:Array.from(t.children)}return Array.from(t.children)}function c(t){var i,n;if(!(null===(i=t.matches)||void 0===i?void 0:i.call(t,s))||t.hasAttribute("disabled"))return!1;const o=t.getAttribute("tabindex");return!(null!==o&&Number(o)<0||null===t.offsetParent&&0===t.getClientRects().length||!1===(null===(n=t.checkVisibility)||void 0===n?void 0:n.call(t,{visibilityProperty:!0})))}function h(t,i){const n=t=>{return"true"!==(o=t).getAttribute("aria-hidden")&&!o.hasAttribute("inert")&&(!!i(t)||a(t).some(n));var o};a(t).some(n)}function l(t,i){let n=null;return h(t,(t=>!!i(t)&&(n=t,!0))),n}function u(t){const i=[];return h(t,(t=>(c(t)&&i.push(t),!1))),i}function d(t,i){return t.length>0&&t[t.length-1]===i}let f=0,p="";const v=[];let y=0;const b="co-overlay--refront";function m(t){"function"==typeof requestAnimationFrame?requestAnimationFrame(t):t()}const g=class{constructor(n){t(this,n),this.coClose=i(this,"coClose",7),this.coAfterClose=i(this,"coAfterClose",3),this.coAfterOpen=i(this,"coAfterOpen",3),this.open=!1,this.trapFocus=!1,this.closeOnEscape=!1,this.hasLock=!1,this.trapId="co-overlay-trap-"+ ++y,this.trapping=!1,this.pressDownTarget=null,this.pressUpTarget=null,this.handlePointerDown=t=>{var i;this.pressDownTarget=null!==(i=t.composedPath()[0])&&void 0!==i?i:null,this.pressUpTarget=null},this.handlePointerUp=t=>{var i;this.pressUpTarget=null!==(i=t.composedPath()[0])&&void 0!==i?i:null},this.handleClick=t=>{var i;const n=null!==(i=t.composedPath()[0])&&void 0!==i?i:null,o=n===this.overlayEl&&function(t,i,n){return null!==t&&t===i&&i===n}(this.pressDownTarget,this.pressUpTarget,n);this.pressDownTarget=null,this.pressUpTarget=null,o&&this.coClose.emit()},this.handleTransitionEnd=t=>{if(t.target!==this.overlayEl)return;const i=e(t.propertyName,this.open,"opacity");"after-open"===i?this.coAfterOpen.emit():"after-close"===i&&this.coAfterClose.emit()}}onOpenChange(t){t?this.acquireLock():this.releaseLock(),this.syncPopover(),this.syncTrap()}onTrapFocusChange(){this.syncTrap()}componentDidLoad(){this.open&&this.acquireLock(),this.syncPopover(),this.syncTrap()}disconnectedCallback(){this.releaseLock(),this.releaseTrap()}async bringToFront(){const t=this.overlayEl;if(!this.open||!t||"function"!=typeof t.showPopover)return;if(!r(t))return;const i=this.deepActiveElement();t.classList.add(b);try{t.hidePopover(),t.showPopover()}catch(t){}i&&i.isConnected&&this.deepActiveElement()!==i&&i.focus({preventScroll:!0}),m((()=>t.classList.remove(b)))}acquireLock(){this.hasLock||(this.hasLock=!0,"undefined"!=typeof document&&(0===f&&(p=document.body.style.overflow,document.body.style.overflow="hidden"),f++))}releaseLock(){this.hasLock&&(this.hasLock=!1,"undefined"!=typeof document&&0!==f&&(f--,0===f&&(document.body.style.overflow=p)))}syncPopover(){const t=this.overlayEl;if(t&&"function"==typeof t.showPopover)try{const i=r(t);this.open&&!i?t.showPopover():!this.open&&i&&t.hidePopover()}catch(t){}}syncTrap(){this.open&&this.trapFocus?this.engageTrap():this.releaseTrap()}engageTrap(){this.trapping||(this.trapping=!0,v.push(this.trapId),this.captureAndFocus())}releaseTrap(){if(!this.trapping)return;this.trapping=!1;const t=v.indexOf(this.trapId);t>=0&&v.splice(t,1),this.restoreFocus()}captureAndFocus(){this.returnFocusEl=this.deepActiveElement(),m((()=>{var t;if(!this.open||!this.trapping||!d(v,this.trapId))return;const i=function(t){const i=l(t,(t=>t.hasAttribute("autofocus")));if(i){if(c(i))return i;const t=i.shadowRoot?u(i)[0]:void 0;if(t)return t}return l(t,c)}(this.el);i?i.focus():null===(t=this.overlayEl)||void 0===t||t.focus()}))}restoreFocus(){const t=this.returnFocusEl;this.returnFocusEl=null,t&&t.isConnected&&"function"==typeof t.focus&&t.focus({preventScroll:!0})}deepActiveElement(){if("undefined"==typeof document)return null;let t=document.activeElement;for(;t&&t.shadowRoot&&t.shadowRoot.activeElement;)t=t.shadowRoot.activeElement;return t}handleKeydown(t){this.open&&(this.closeOnEscape&&"Escape"===t.key?this.coClose.emit():this.trapping&&"Tab"===t.key&&d(v,this.trapId)&&this.trapTab(t))}trapTab(t){var i;if(t.defaultPrevented)return;const n=u(this.el);if(0===n.length)return t.preventDefault(),void(null===(i=this.overlayEl)||void 0===i||i.focus());const o=n.indexOf(this.deepActiveElement()),e=function(t,i,n){return t<=0?-1:n?i<=0?t-1:i-1:-1===i||i>=t-1?0:i+1}(n.length,o,t.shiftKey);e<0||(t.preventDefault(),n[e].focus())}render(){return n("div",{key:"419d44027ef0e270aa9bddccc83bf3e93e1e78db",class:{"co-overlay":!0,"co-overlay--open":this.open},part:"overlay",popover:"manual",tabindex:this.trapFocus?-1:void 0,ref:t=>this.overlayEl=t,onPointerDown:this.handlePointerDown,onPointerUp:this.handlePointerUp,onClick:this.handleClick,onTransitionEnd:this.handleTransitionEnd},n("slot",{key:"34ffc7586b41bced7d7f56b6189f654c1c5e1a7f"}))}get el(){return o(this)}static get watchers(){return{open:[{onOpenChange:0}],trapFocus:[{onTrapFocusChange:0}]}}};g.style=":host{display:contents}.co-overlay{position:fixed;inset:0;z-index:1000;margin:0;border:0;padding:0;width:auto;height:auto;max-width:none;max-height:none;overflow:visible;color:inherit;display:flex;align-items:center;justify-content:center;background:var(--co-overlay-bg, rgba(0, 0, 0, 0.4));-webkit-backdrop-filter:blur(var(--co-overlay-blur, 2px));backdrop-filter:blur(var(--co-overlay-blur, 2px));opacity:0;pointer-events:none;transition:opacity var(--co-motion-duration-fast) var(--co-motion-ease-in)}.co-overlay--open{opacity:1;pointer-events:auto;transition:opacity var(--co-motion-duration-base) var(--co-motion-ease-out)}.co-overlay--refront{transition:none !important}";export{g as co_overlay}