@swisspost/design-system-components 9.7.0 → 9.8.0

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 (126) hide show
  1. package/dist/cjs/index.cjs.js +17 -17
  2. package/dist/cjs/{package-26a892e5.js → package-e5e22d49.js} +1 -1
  3. package/dist/cjs/{post-accordion-46b80c60.js → post-accordion-672d0903.js} +1 -1
  4. package/dist/cjs/{post-accordion-item-08ffb65c.js → post-accordion-item-527fbcac.js} +1 -1
  5. package/dist/cjs/post-accordion-item.cjs.entry.js +2 -2
  6. package/dist/cjs/post-accordion.cjs.entry.js +2 -2
  7. package/dist/cjs/{post-alert-3adf3885.js → post-alert-c0389749.js} +1 -1
  8. package/dist/cjs/post-alert.cjs.entry.js +2 -2
  9. package/dist/cjs/{post-card-control-6fb3516c.js → post-card-control-5f7fe98b.js} +1 -1
  10. package/dist/cjs/post-card-control.cjs.entry.js +2 -2
  11. package/dist/cjs/{post-collapsible-trigger-f37d046f.js → post-collapsible-trigger-d75cbec5.js} +1 -1
  12. package/dist/cjs/post-collapsible_2.cjs.entry.js +2 -2
  13. package/dist/cjs/{post-icon-bd504813.js → post-icon-65890739.js} +1 -1
  14. package/dist/cjs/post-icon.cjs.entry.js +2 -2
  15. package/dist/cjs/{post-logo-b8b7fd01.js → post-logo-e47cf820.js} +1 -1
  16. package/dist/cjs/post-logo.cjs.entry.js +2 -2
  17. package/dist/cjs/{post-popover-f08515db.js → post-popover-15cbe065.js} +1 -1
  18. package/dist/cjs/post-popover.cjs.entry.js +2 -2
  19. package/dist/cjs/{post-popovercontainer-c5732a75.js → post-popovercontainer-dbbee929.js} +76 -82
  20. package/dist/cjs/post-popovercontainer.cjs.entry.js +2 -2
  21. package/dist/cjs/{post-rating-24d10119.js → post-rating-6714fda1.js} +1 -1
  22. package/dist/cjs/post-rating.cjs.entry.js +2 -2
  23. package/dist/cjs/{post-tab-header-913f42f0.js → post-tab-header-56ebe32a.js} +1 -1
  24. package/dist/cjs/post-tab-header.cjs.entry.js +2 -2
  25. package/dist/cjs/{post-tab-panel-913c162b.js → post-tab-panel-ce647e04.js} +1 -1
  26. package/dist/cjs/post-tab-panel.cjs.entry.js +2 -2
  27. package/dist/cjs/{post-tabs-3d82488f.js → post-tabs-fcc10697.js} +1 -1
  28. package/dist/cjs/post-tabs.cjs.entry.js +2 -2
  29. package/dist/cjs/{post-tag-55c6b672.js → post-tag-6775c8df.js} +1 -1
  30. package/dist/cjs/post-tag.cjs.entry.js +2 -2
  31. package/dist/cjs/{post-tooltip-ec8bd47b.js → post-tooltip-7e4aea1f.js} +1 -1
  32. package/dist/cjs/{post-tooltip-trigger-3b873948.js → post-tooltip-trigger-f2d3026b.js} +1 -1
  33. package/dist/cjs/post-tooltip-trigger.cjs.entry.js +2 -2
  34. package/dist/cjs/post-tooltip.cjs.entry.js +2 -2
  35. package/dist/components/package.js +1 -1
  36. package/dist/components/post-popovercontainer2.js +75 -81
  37. package/dist/docs.json +1 -1
  38. package/dist/esm/index.js +17 -17
  39. package/dist/esm/{package-dbf80bab.js → package-c3467e8f.js} +1 -1
  40. package/dist/esm/{post-accordion-0bdbaff6.js → post-accordion-1e7e6499.js} +1 -1
  41. package/dist/esm/{post-accordion-item-f7afd91f.js → post-accordion-item-24a57390.js} +1 -1
  42. package/dist/esm/post-accordion-item.entry.js +2 -2
  43. package/dist/esm/post-accordion.entry.js +2 -2
  44. package/dist/esm/{post-alert-6e9f0768.js → post-alert-21fcb2af.js} +1 -1
  45. package/dist/esm/post-alert.entry.js +2 -2
  46. package/dist/esm/{post-card-control-d5c34dbe.js → post-card-control-13a409ce.js} +1 -1
  47. package/dist/esm/post-card-control.entry.js +2 -2
  48. package/dist/esm/{post-collapsible-trigger-6b1fb1a0.js → post-collapsible-trigger-0b312244.js} +1 -1
  49. package/dist/esm/post-collapsible_2.entry.js +2 -2
  50. package/dist/esm/{post-icon-93698099.js → post-icon-874140c1.js} +1 -1
  51. package/dist/esm/post-icon.entry.js +2 -2
  52. package/dist/esm/{post-logo-68a3c4ba.js → post-logo-634005c3.js} +1 -1
  53. package/dist/esm/post-logo.entry.js +2 -2
  54. package/dist/esm/{post-popover-0ad97d22.js → post-popover-c9721acf.js} +1 -1
  55. package/dist/esm/post-popover.entry.js +2 -2
  56. package/dist/esm/{post-popovercontainer-6efe2962.js → post-popovercontainer-e52ab386.js} +76 -82
  57. package/dist/esm/post-popovercontainer.entry.js +2 -2
  58. package/dist/esm/{post-rating-fe288205.js → post-rating-e7cb870c.js} +1 -1
  59. package/dist/esm/post-rating.entry.js +2 -2
  60. package/dist/esm/{post-tab-header-318939c1.js → post-tab-header-e7c06382.js} +1 -1
  61. package/dist/esm/post-tab-header.entry.js +2 -2
  62. package/dist/esm/{post-tab-panel-fc0cfc9d.js → post-tab-panel-5d8731d4.js} +1 -1
  63. package/dist/esm/post-tab-panel.entry.js +2 -2
  64. package/dist/esm/{post-tabs-afbdda4d.js → post-tabs-17574a2a.js} +1 -1
  65. package/dist/esm/post-tabs.entry.js +2 -2
  66. package/dist/esm/{post-tag-e0c280f2.js → post-tag-10047f14.js} +1 -1
  67. package/dist/esm/post-tag.entry.js +2 -2
  68. package/dist/esm/{post-tooltip-9c93ef15.js → post-tooltip-a06fc88e.js} +1 -1
  69. package/dist/esm/{post-tooltip-trigger-5414331f.js → post-tooltip-trigger-7df7964d.js} +1 -1
  70. package/dist/esm/post-tooltip-trigger.entry.js +2 -2
  71. package/dist/esm/post-tooltip.entry.js +2 -2
  72. package/dist/post-components/index.esm.js +1 -1
  73. package/dist/post-components/{p-c53f61ec.js → p-0f8371ac.js} +1 -1
  74. package/dist/post-components/p-1013696b.entry.js +1 -0
  75. package/dist/post-components/{p-ef810606.js → p-187531a7.js} +1 -1
  76. package/dist/post-components/p-1e8f6af4.entry.js +1 -0
  77. package/dist/post-components/p-2044156a.entry.js +1 -0
  78. package/dist/post-components/p-230be77d.js +1 -0
  79. package/dist/post-components/{p-78069a1d.js → p-2c30405e.js} +1 -1
  80. package/dist/post-components/p-2e7dde32.entry.js +1 -0
  81. package/dist/post-components/p-31cfcd85.js +1 -0
  82. package/dist/post-components/{p-5b66bd53.js → p-38c6943f.js} +1 -1
  83. package/dist/post-components/p-40c6234e.entry.js +1 -0
  84. package/dist/post-components/{p-5341d287.js → p-415df61c.js} +1 -1
  85. package/dist/post-components/{p-7a1be73d.js → p-44f09a92.js} +1 -1
  86. package/dist/post-components/p-4dac41e3.entry.js +1 -0
  87. package/dist/post-components/{p-660883f2.js → p-64922524.js} +1 -1
  88. package/dist/post-components/{p-ca8b4ea9.entry.js → p-65b478ab.entry.js} +1 -1
  89. package/dist/post-components/{p-f7322027.js → p-70c1f3bc.js} +1 -1
  90. package/dist/post-components/p-797bcc3e.entry.js +1 -0
  91. package/dist/post-components/p-921d80ee.entry.js +1 -0
  92. package/dist/post-components/{p-456ef15d.js → p-9b4154e7.js} +1 -1
  93. package/dist/post-components/{p-d081c65a.js → p-9db80568.js} +1 -1
  94. package/dist/post-components/p-a3f8039f.entry.js +1 -0
  95. package/dist/post-components/p-a7c53fad.entry.js +1 -0
  96. package/dist/post-components/{p-182173f7.js → p-a8fe2666.js} +1 -1
  97. package/dist/post-components/p-b8df0dee.entry.js +1 -0
  98. package/dist/post-components/p-c1fa20b4.entry.js +1 -0
  99. package/dist/post-components/p-c3cf5ef5.entry.js +1 -0
  100. package/dist/post-components/{p-72bf1982.js → p-d1868378.js} +1 -1
  101. package/dist/post-components/{p-01cdf262.js → p-d3454c99.js} +1 -1
  102. package/dist/post-components/p-d34cfd70.entry.js +1 -0
  103. package/dist/post-components/{p-c01526d6.js → p-db719d11.js} +1 -1
  104. package/dist/post-components/{p-884e71b8.js → p-df9e314d.js} +1 -1
  105. package/dist/post-components/p-f293539d.entry.js +1 -0
  106. package/dist/post-components/post-components.esm.js +1 -1
  107. package/loaders/package.js +1 -1
  108. package/loaders/post-popovercontainer2.js +75 -81
  109. package/package.json +2 -2
  110. package/dist/post-components/p-3383e435.entry.js +0 -1
  111. package/dist/post-components/p-4439f436.entry.js +0 -1
  112. package/dist/post-components/p-49432ffe.entry.js +0 -1
  113. package/dist/post-components/p-5ee16d7b.entry.js +0 -1
  114. package/dist/post-components/p-5ee7322e.entry.js +0 -1
  115. package/dist/post-components/p-5fcf92d5.entry.js +0 -1
  116. package/dist/post-components/p-744ed5cd.entry.js +0 -1
  117. package/dist/post-components/p-807178ef.entry.js +0 -1
  118. package/dist/post-components/p-8c902f0d.js +0 -1
  119. package/dist/post-components/p-92ae9b68.entry.js +0 -1
  120. package/dist/post-components/p-ae159d9b.entry.js +0 -1
  121. package/dist/post-components/p-af952d8a.entry.js +0 -1
  122. package/dist/post-components/p-d0aef125.entry.js +0 -1
  123. package/dist/post-components/p-d13774fe.js +0 -1
  124. package/dist/post-components/p-d5e93b3b.entry.js +0 -1
  125. package/dist/post-components/p-ecbf1eec.entry.js +0 -1
  126. package/dist/post-components/p-f36d705d.entry.js +0 -1
@@ -195,71 +195,6 @@ function computeCoordsFromPlacement(_ref, placement, rtl) {
195
195
  return coords;
196
196
  }
197
197
 
198
- /**
199
- * Resolves with an object of overflow side offsets that determine how much the
200
- * element is overflowing a given clipping boundary on each side.
201
- * - positive = overflowing the boundary by that number of pixels
202
- * - negative = how many pixels left before it will overflow
203
- * - 0 = lies flush with the boundary
204
- * @see https://floating-ui.com/docs/detectOverflow
205
- */
206
- async function detectOverflow(state, options) {
207
- var _await$platform$isEle;
208
- if (options === void 0) {
209
- options = {};
210
- }
211
- const {
212
- x,
213
- y,
214
- platform,
215
- rects,
216
- elements,
217
- strategy
218
- } = state;
219
- const {
220
- boundary = 'clippingAncestors',
221
- rootBoundary = 'viewport',
222
- elementContext = 'floating',
223
- altBoundary = false,
224
- padding = 0
225
- } = evaluate(options, state);
226
- const paddingObject = getPaddingObject(padding);
227
- const altContext = elementContext === 'floating' ? 'reference' : 'floating';
228
- const element = elements[altBoundary ? altContext : elementContext];
229
- const clippingClientRect = rectToClientRect(await platform.getClippingRect({
230
- element: ((_await$platform$isEle = await (platform.isElement == null ? void 0 : platform.isElement(element))) != null ? _await$platform$isEle : true) ? element : element.contextElement || (await (platform.getDocumentElement == null ? void 0 : platform.getDocumentElement(elements.floating))),
231
- boundary,
232
- rootBoundary,
233
- strategy
234
- }));
235
- const rect = elementContext === 'floating' ? {
236
- x,
237
- y,
238
- width: rects.floating.width,
239
- height: rects.floating.height
240
- } : rects.reference;
241
- const offsetParent = await (platform.getOffsetParent == null ? void 0 : platform.getOffsetParent(elements.floating));
242
- const offsetScale = (await (platform.isElement == null ? void 0 : platform.isElement(offsetParent))) ? (await (platform.getScale == null ? void 0 : platform.getScale(offsetParent))) || {
243
- x: 1,
244
- y: 1
245
- } : {
246
- x: 1,
247
- y: 1
248
- };
249
- const elementClientRect = rectToClientRect(platform.convertOffsetParentRelativeRectToViewportRelativeRect ? await platform.convertOffsetParentRelativeRectToViewportRelativeRect({
250
- elements,
251
- rect,
252
- offsetParent,
253
- strategy
254
- }) : rect);
255
- return {
256
- top: (clippingClientRect.top - elementClientRect.top + paddingObject.top) / offsetScale.y,
257
- bottom: (elementClientRect.bottom - clippingClientRect.bottom + paddingObject.bottom) / offsetScale.y,
258
- left: (clippingClientRect.left - elementClientRect.left + paddingObject.left) / offsetScale.x,
259
- right: (elementClientRect.right - clippingClientRect.right + paddingObject.right) / offsetScale.x
260
- };
261
- }
262
-
263
198
  /**
264
199
  * Computes the `x` and `y` coordinates that will place the floating element
265
200
  * next to a given reference element.
@@ -289,7 +224,6 @@ const computePosition$1 = async (reference, floating, config) => {
289
224
  let middlewareData = {};
290
225
  let resetCount = 0;
291
226
  for (let i = 0; i < validMiddleware.length; i++) {
292
- var _platform$detectOverf;
293
227
  const {
294
228
  name,
295
229
  fn
@@ -307,10 +241,7 @@ const computePosition$1 = async (reference, floating, config) => {
307
241
  strategy,
308
242
  middlewareData,
309
243
  rects,
310
- platform: {
311
- ...platform,
312
- detectOverflow: (_platform$detectOverf = platform.detectOverflow) != null ? _platform$detectOverf : detectOverflow
313
- },
244
+ platform,
314
245
  elements: {
315
246
  reference,
316
247
  floating
@@ -355,6 +286,71 @@ const computePosition$1 = async (reference, floating, config) => {
355
286
  };
356
287
  };
357
288
 
289
+ /**
290
+ * Resolves with an object of overflow side offsets that determine how much the
291
+ * element is overflowing a given clipping boundary on each side.
292
+ * - positive = overflowing the boundary by that number of pixels
293
+ * - negative = how many pixels left before it will overflow
294
+ * - 0 = lies flush with the boundary
295
+ * @see https://floating-ui.com/docs/detectOverflow
296
+ */
297
+ async function detectOverflow(state, options) {
298
+ var _await$platform$isEle;
299
+ if (options === void 0) {
300
+ options = {};
301
+ }
302
+ const {
303
+ x,
304
+ y,
305
+ platform,
306
+ rects,
307
+ elements,
308
+ strategy
309
+ } = state;
310
+ const {
311
+ boundary = 'clippingAncestors',
312
+ rootBoundary = 'viewport',
313
+ elementContext = 'floating',
314
+ altBoundary = false,
315
+ padding = 0
316
+ } = evaluate(options, state);
317
+ const paddingObject = getPaddingObject(padding);
318
+ const altContext = elementContext === 'floating' ? 'reference' : 'floating';
319
+ const element = elements[altBoundary ? altContext : elementContext];
320
+ const clippingClientRect = rectToClientRect(await platform.getClippingRect({
321
+ element: ((_await$platform$isEle = await (platform.isElement == null ? void 0 : platform.isElement(element))) != null ? _await$platform$isEle : true) ? element : element.contextElement || (await (platform.getDocumentElement == null ? void 0 : platform.getDocumentElement(elements.floating))),
322
+ boundary,
323
+ rootBoundary,
324
+ strategy
325
+ }));
326
+ const rect = elementContext === 'floating' ? {
327
+ x,
328
+ y,
329
+ width: rects.floating.width,
330
+ height: rects.floating.height
331
+ } : rects.reference;
332
+ const offsetParent = await (platform.getOffsetParent == null ? void 0 : platform.getOffsetParent(elements.floating));
333
+ const offsetScale = (await (platform.isElement == null ? void 0 : platform.isElement(offsetParent))) ? (await (platform.getScale == null ? void 0 : platform.getScale(offsetParent))) || {
334
+ x: 1,
335
+ y: 1
336
+ } : {
337
+ x: 1,
338
+ y: 1
339
+ };
340
+ const elementClientRect = rectToClientRect(platform.convertOffsetParentRelativeRectToViewportRelativeRect ? await platform.convertOffsetParentRelativeRectToViewportRelativeRect({
341
+ elements,
342
+ rect,
343
+ offsetParent,
344
+ strategy
345
+ }) : rect);
346
+ return {
347
+ top: (clippingClientRect.top - elementClientRect.top + paddingObject.top) / offsetScale.y,
348
+ bottom: (elementClientRect.bottom - clippingClientRect.bottom + paddingObject.bottom) / offsetScale.y,
349
+ left: (clippingClientRect.left - elementClientRect.left + paddingObject.left) / offsetScale.x,
350
+ right: (elementClientRect.right - clippingClientRect.right + paddingObject.right) / offsetScale.x
351
+ };
352
+ }
353
+
358
354
  /**
359
355
  * Provides data to position an inner element of the floating element so that it
360
356
  * appears centered to the reference element.
@@ -476,7 +472,7 @@ const autoPlacement = function (options) {
476
472
  ...detectOverflowOptions
477
473
  } = evaluate(options, state);
478
474
  const placements$1 = alignment !== undefined || allowedPlacements === placements ? getPlacementList(alignment || null, autoAlignment, allowedPlacements) : allowedPlacements;
479
- const overflow = await platform.detectOverflow(state, detectOverflowOptions);
475
+ const overflow = await detectOverflow(state, detectOverflowOptions);
480
476
  const currentIndex = ((_middlewareData$autoP = middlewareData.autoPlacement) == null ? void 0 : _middlewareData$autoP.index) || 0;
481
477
  const currentPlacement = placements$1[currentIndex];
482
478
  if (currentPlacement == null) {
@@ -590,7 +586,7 @@ const flip$1 = function (options) {
590
586
  fallbackPlacements.push(...getOppositeAxisPlacements(initialPlacement, flipAlignment, fallbackAxisSideDirection, rtl));
591
587
  }
592
588
  const placements = [initialPlacement, ...fallbackPlacements];
593
- const overflow = await platform.detectOverflow(state, detectOverflowOptions);
589
+ const overflow = await detectOverflow(state, detectOverflowOptions);
594
590
  const overflows = [];
595
591
  let overflowsData = ((_middlewareData$flip = middlewareData.flip) == null ? void 0 : _middlewareData$flip.overflows) || [];
596
592
  if (checkMainAxis) {
@@ -615,7 +611,7 @@ const flip$1 = function (options) {
615
611
  if (!ignoreCrossAxisOverflow ||
616
612
  // We leave the current main axis only if every placement on that axis
617
613
  // overflows the main axis.
618
- overflowsData.every(d => getSideAxis(d.placement) === initialSideAxis ? d.overflows[0] > 0 : true)) {
614
+ overflowsData.every(d => d.overflows[0] > 0 && getSideAxis(d.placement) === initialSideAxis)) {
619
615
  // Try next placement and re-run the lifecycle.
620
616
  return {
621
617
  data: {
@@ -697,8 +693,7 @@ const hide = function (options) {
697
693
  options,
698
694
  async fn(state) {
699
695
  const {
700
- rects,
701
- platform
696
+ rects
702
697
  } = state;
703
698
  const {
704
699
  strategy = 'referenceHidden',
@@ -707,7 +702,7 @@ const hide = function (options) {
707
702
  switch (strategy) {
708
703
  case 'referenceHidden':
709
704
  {
710
- const overflow = await platform.detectOverflow(state, {
705
+ const overflow = await detectOverflow(state, {
711
706
  ...detectOverflowOptions,
712
707
  elementContext: 'reference'
713
708
  });
@@ -721,7 +716,7 @@ const hide = function (options) {
721
716
  }
722
717
  case 'escaped':
723
718
  {
724
- const overflow = await platform.detectOverflow(state, {
719
+ const overflow = await detectOverflow(state, {
725
720
  ...detectOverflowOptions,
726
721
  altBoundary: true
727
722
  });
@@ -975,8 +970,7 @@ const shift$1 = function (options) {
975
970
  const {
976
971
  x,
977
972
  y,
978
- placement,
979
- platform
973
+ placement
980
974
  } = state;
981
975
  const {
982
976
  mainAxis: checkMainAxis = true,
@@ -999,7 +993,7 @@ const shift$1 = function (options) {
999
993
  x,
1000
994
  y
1001
995
  };
1002
- const overflow = await platform.detectOverflow(state, detectOverflowOptions);
996
+ const overflow = await detectOverflow(state, detectOverflowOptions);
1003
997
  const crossAxis = getSideAxis(getSide(placement));
1004
998
  const mainAxis = getOppositeAxis(crossAxis);
1005
999
  let mainAxisCoord = coords[mainAxis];
@@ -1131,7 +1125,7 @@ const size$1 = function (options) {
1131
1125
  apply = () => {},
1132
1126
  ...detectOverflowOptions
1133
1127
  } = evaluate(options, state);
1134
- const overflow = await platform.detectOverflow(state, detectOverflowOptions);
1128
+ const overflow = await detectOverflow(state, detectOverflowOptions);
1135
1129
  const side = getSide(placement);
1136
1130
  const alignment = getAlignment(placement);
1137
1131
  const isYAxis = getSideAxis(placement) === 'y';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@swisspost/design-system-components",
3
- "version": "9.7.0",
3
+ "version": "9.8.0",
4
4
  "description": "A collection of web components built with Stencil JS for the Swiss Post Design System.",
5
5
  "license": "Apache-2.0",
6
6
  "main": "dist/index.cjs.js",
@@ -27,7 +27,7 @@
27
27
  "@floating-ui/dom": "1.6.8",
28
28
  "@oddbird/popover-polyfill": "0.3.7",
29
29
  "@stencil/core": "4.19.2",
30
- "@swisspost/design-system-styles": "9.7.0",
30
+ "@swisspost/design-system-styles": "9.8.0",
31
31
  "ally.js": "1.4.1",
32
32
  "long-press-event": "2.5.0"
33
33
  },
@@ -1 +0,0 @@
1
- export{P as post_card_control}from"./p-5341d287.js";import"./p-3eab790d.js";import"./p-611b3c41.js";import"./p-b095519d.js";import"./p-440193f4.js";import"./p-8c902f0d.js";
@@ -1 +0,0 @@
1
- export{P as post_accordion_item}from"./p-182173f7.js";import"./p-3eab790d.js";import"./p-8c902f0d.js";import"./p-247a1668.js";import"./p-788e64fb.js";import"./p-440193f4.js";import"./p-611b3c41.js";import"./p-4a3f67ab.js";
@@ -1 +0,0 @@
1
- export{P as post_accordion}from"./p-72bf1982.js";import"./p-3eab790d.js";import"./p-8c902f0d.js";import"./p-247a1668.js";import"./p-611b3c41.js";
@@ -1 +0,0 @@
1
- export{P as post_tab_panel}from"./p-660883f2.js";import"./p-3eab790d.js";import"./p-8c902f0d.js";
@@ -1 +0,0 @@
1
- export{P as post_tag}from"./p-01cdf262.js";import"./p-3eab790d.js";import"./p-8c902f0d.js";
@@ -1 +0,0 @@
1
- export{P as post_icon}from"./p-78069a1d.js";import"./p-3eab790d.js";import"./p-788e64fb.js";import"./p-440193f4.js";import"./p-611b3c41.js";import"./p-4a3f67ab.js";import"./p-8c902f0d.js";import"./p-b095519d.js";
@@ -1 +0,0 @@
1
- export{P as post_tab_header}from"./p-456ef15d.js";import"./p-3eab790d.js";import"./p-8c902f0d.js";import"./p-b095519d.js";import"./p-440193f4.js";
@@ -1 +0,0 @@
1
- export{P as post_popovercontainer}from"./p-d13774fe.js";import"./p-3eab790d.js";import"./p-8c902f0d.js";
@@ -1 +0,0 @@
1
- const o="9.7.0";export{o as v}
@@ -1 +0,0 @@
1
- export{P as post_tooltip_trigger}from"./p-884e71b8.js";import"./p-3eab790d.js";import"./p-4a3f67ab.js";import"./p-8c902f0d.js";
@@ -1 +0,0 @@
1
- export{P as post_tabs}from"./p-5b66bd53.js";import"./p-3eab790d.js";import"./p-8c902f0d.js";import"./p-2737eaf5.js";
@@ -1 +0,0 @@
1
- export{P as post_rating}from"./p-c53f61ec.js";import"./p-3eab790d.js";import"./p-8c902f0d.js";
@@ -1 +0,0 @@
1
- export{P as post_alert}from"./p-f7322027.js";import"./p-3eab790d.js";import"./p-8c902f0d.js";import"./p-2737eaf5.js";import"./p-788e64fb.js";import"./p-440193f4.js";import"./p-611b3c41.js";import"./p-4a3f67ab.js";import"./p-b095519d.js";
@@ -1 +0,0 @@
1
- import{r as t,c as e,h as n,H as o,g as r}from"./p-3eab790d.js";import{v as i}from"./p-8c902f0d.js";const a=Math.min,s=Math.max,l=Math.round,p=Math.floor,c=t=>({x:t,y:t}),f={left:"right",right:"left",bottom:"top",top:"bottom"},u={start:"end",end:"start"};function h(t,e,n){return s(t,a(e,n))}function d(t,e){return"function"==typeof t?t(e):t}function g(t){return t.split("-")[0]}function m(t){return t.split("-")[1]}function v(t){return"x"===t?"y":"x"}function w(t){return"y"===t?"height":"width"}const x=new Set(["top","bottom"]);function y(t){return x.has(g(t))?"y":"x"}function b(t){return v(y(t))}function T(t){return t.replace(/start|end/g,(t=>u[t]))}const E=["left","right"],S=["right","left"],A=["top","bottom"],O=["bottom","top"];function I(t){return t.replace(/left|right|bottom|top/g,(t=>f[t]))}function M(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}function R(t){const{x:e,y:n,width:o,height:r}=t;return{width:o,height:r,top:n,left:e,right:e+o,bottom:n+r,x:e,y:n}}function L(t,e,n){let{reference:o,floating:r}=t;const i=y(e),a=b(e),s=w(a),l=g(e),p="y"===i,c=o.x+o.width/2-r.width/2,f=o.y+o.height/2-r.height/2,u=o[s]/2-r[s]/2;let h;switch(l){case"top":h={x:c,y:o.y-r.height};break;case"bottom":h={x:c,y:o.y+o.height};break;case"right":h={x:o.x+o.width,y:f};break;case"left":h={x:o.x-r.width,y:f};break;default:h={x:o.x,y:o.y}}switch(m(e)){case"start":h[a]-=u*(n&&p?-1:1);break;case"end":h[a]+=u*(n&&p?-1:1)}return h}async function H(t,e){var n;void 0===e&&(e={});const{x:o,y:r,platform:i,rects:a,elements:s,strategy:l}=t,{boundary:p="clippingAncestors",rootBoundary:c="viewport",elementContext:f="floating",altBoundary:u=!1,padding:h=0}=d(e,t),g=M(h),m=s[u?"floating"===f?"reference":"floating":f],v=R(await i.getClippingRect({element:null==(n=await(null==i.isElement?void 0:i.isElement(m)))||n?m:m.contextElement||await(null==i.getDocumentElement?void 0:i.getDocumentElement(s.floating)),boundary:p,rootBoundary:c,strategy:l})),w="floating"===f?{x:o,y:r,width:a.floating.width,height:a.floating.height}:a.reference,x=await(null==i.getOffsetParent?void 0:i.getOffsetParent(s.floating)),y=await(null==i.isElement?void 0:i.isElement(x))&&await(null==i.getScale?void 0:i.getScale(x))||{x:1,y:1},b=R(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:s,rect:w,offsetParent:x,strategy:l}):w);return{top:(v.top-b.top+g.top)/y.y,bottom:(b.bottom-v.bottom+g.bottom)/y.y,left:(v.left-b.left+g.left)/y.x,right:(b.right-v.right+g.right)/y.x}}function k(t){const e=a(...t.map((t=>t.left))),n=a(...t.map((t=>t.top)));return{x:e,y:n,width:s(...t.map((t=>t.right)))-e,height:s(...t.map((t=>t.bottom)))-n}}const N=new Set(["left","top"]);function D(){return"undefined"!=typeof window}function F(t){return W(t)?(t.nodeName||"").toLowerCase():"#document"}function C(t){var e;return(null==t||null==(e=t.ownerDocument)?void 0:e.defaultView)||window}function P(t){var e;return null==(e=(W(t)?t.ownerDocument:t.document)||window.document)?void 0:e.documentElement}function W(t){return!!D()&&(t instanceof Node||t instanceof C(t).Node)}function $(t){return!!D()&&(t instanceof Element||t instanceof C(t).Element)}function B(t){return!!D()&&(t instanceof HTMLElement||t instanceof C(t).HTMLElement)}function z(t){return!(!D()||"undefined"==typeof ShadowRoot)&&(t instanceof ShadowRoot||t instanceof C(t).ShadowRoot)}const j=new Set(["inline","contents"]);function U(t){const{overflow:e,overflowX:n,overflowY:o,display:r}=et(t);return/auto|scroll|overlay|hidden|clip/.test(e+o+n)&&!j.has(r)}const q=new Set(["table","td","th"]);function G(t){return q.has(F(t))}const Y=[":popover-open",":modal"];function V(t){return Y.some((e=>{try{return t.matches(e)}catch(t){return!1}}))}const X=["transform","translate","scale","rotate","perspective"],K=["transform","translate","scale","rotate","perspective","filter"],_=["paint","layout","strict","content"];function J(t){const e=Q(),n=$(t)?et(t):t;return X.some((t=>!!n[t]&&"none"!==n[t]))||!!n.containerType&&"normal"!==n.containerType||!e&&!!n.backdropFilter&&"none"!==n.backdropFilter||!e&&!!n.filter&&"none"!==n.filter||K.some((t=>(n.willChange||"").includes(t)))||_.some((t=>(n.contain||"").includes(t)))}function Q(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}const Z=new Set(["html","body","#document"]);function tt(t){return Z.has(F(t))}function et(t){return C(t).getComputedStyle(t)}function nt(t){return $(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function ot(t){if("html"===F(t))return t;const e=t.assignedSlot||t.parentNode||z(t)&&t.host||P(t);return z(e)?e.host:e}function rt(t){const e=ot(t);return tt(e)?t.ownerDocument?t.ownerDocument.body:t.body:B(e)&&U(e)?e:rt(e)}function it(t,e,n){var o;void 0===e&&(e=[]),void 0===n&&(n=!0);const r=rt(t),i=r===(null==(o=t.ownerDocument)?void 0:o.body),a=C(r);if(i){const t=function(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}(a);return e.concat(a,a.visualViewport||[],U(r)?r:[],t&&n?it(t):[])}return e.concat(r,it(r,[],n))}function at(t){const e=et(t);let n=parseFloat(e.width)||0,o=parseFloat(e.height)||0;const r=B(t),i=r?t.offsetWidth:n,a=r?t.offsetHeight:o,s=l(n)!==i||l(o)!==a;return s&&(n=i,o=a),{width:n,height:o,$:s}}function st(t){return $(t)?t:t.contextElement}function lt(t){const e=st(t);if(!B(e))return c(1);const n=e.getBoundingClientRect(),{width:o,height:r,$:i}=at(e);let a=(i?l(n.width):n.width)/o,s=(i?l(n.height):n.height)/r;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}const pt=c(0);function ct(t){const e=C(t);return Q()&&e.visualViewport?{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}:pt}function ft(t,e,n,o){void 0===e&&(e=!1),void 0===n&&(n=!1);const r=t.getBoundingClientRect(),i=st(t);let a=c(1);e&&(o?$(o)&&(a=lt(o)):a=lt(t));const s=function(t,e,n){return void 0===e&&(e=!1),!(!n||e&&n!==C(t))&&e}(i,n,o)?ct(i):c(0);let l=(r.left+s.x)/a.x,p=(r.top+s.y)/a.y,f=r.width/a.x,u=r.height/a.y;if(i){const t=C(i),e=o&&$(o)?C(o):o;let n=t,r=n.frameElement;for(;r&&o&&e!==n;){const t=lt(r),e=r.getBoundingClientRect(),o=et(r),i=e.left+(r.clientLeft+parseFloat(o.paddingLeft))*t.x,a=e.top+(r.clientTop+parseFloat(o.paddingTop))*t.y;l*=t.x,p*=t.y,f*=t.x,u*=t.y,l+=i,p+=a,n=C(r),r=n.frameElement}}return R({width:f,height:u,x:l,y:p})}function ut(t){return ft(P(t)).left+nt(t).scrollLeft}function ht(t,e,n){let o;if("viewport"===e)o=function(t,e){const n=C(t),o=P(t),r=n.visualViewport;let i=o.clientWidth,a=o.clientHeight,s=0,l=0;if(r){i=r.width,a=r.height;const t=Q();(!t||t&&"fixed"===e)&&(s=r.offsetLeft,l=r.offsetTop)}return{width:i,height:a,x:s,y:l}}(t,n);else if("document"===e)o=function(t){const e=P(t),n=nt(t),o=t.ownerDocument.body,r=s(e.scrollWidth,e.clientWidth,o.scrollWidth,o.clientWidth),i=s(e.scrollHeight,e.clientHeight,o.scrollHeight,o.clientHeight);let a=-n.scrollLeft+ut(t);const l=-n.scrollTop;return"rtl"===et(o).direction&&(a+=s(e.clientWidth,o.clientWidth)-r),{width:r,height:i,x:a,y:l}}(P(t));else if($(e))o=function(t,e){const n=ft(t,!0,"fixed"===e),o=n.top+t.clientTop,r=n.left+t.clientLeft,i=B(t)?lt(t):c(1);return{width:t.clientWidth*i.x,height:t.clientHeight*i.y,x:r*i.x,y:o*i.y}}(e,n);else{const n=ct(t);o={...e,x:e.x-n.x,y:e.y-n.y}}return R(o)}function dt(t,e){const n=ot(t);return!(n===e||!$(n)||tt(n))&&("fixed"===et(n).position||dt(n,e))}function gt(t,e,n){const o=B(e),r=P(e),i="fixed"===n,a=ft(t,!0,i,e);let s={scrollLeft:0,scrollTop:0};const l=c(0);if(o||!o&&!i)if(("body"!==F(e)||U(r))&&(s=nt(e)),o){const t=ft(e,!0,i,e);l.x=t.x+e.clientLeft,l.y=t.y+e.clientTop}else r&&(l.x=ut(r));return{x:a.left+s.scrollLeft-l.x,y:a.top+s.scrollTop-l.y,width:a.width,height:a.height}}function mt(t){return"static"===et(t).position}function vt(t,e){return B(t)&&"fixed"!==et(t).position?e?e(t):t.offsetParent:null}function wt(t,e){const n=C(t);if(V(t))return n;if(!B(t)){let e=ot(t);for(;e&&!tt(e);){if($(e)&&!mt(e))return e;e=ot(e)}return n}let o=vt(t,e);for(;o&&G(o)&&mt(o);)o=vt(o,e);return o&&tt(o)&&mt(o)&&!J(o)?n:o||function(t){let e=ot(t);for(;B(e)&&!tt(e);){if(J(e))return e;if(V(e))return null;e=ot(e)}return null}(t)||n}const xt={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{elements:e,rect:n,offsetParent:o,strategy:r}=t;const i="fixed"===r,a=P(o),s=!!e&&V(e.floating);if(o===a||s&&i)return n;let l={scrollLeft:0,scrollTop:0},p=c(1);const f=c(0),u=B(o);if((u||!u&&!i)&&(("body"!==F(o)||U(a))&&(l=nt(o)),B(o))){const t=ft(o);p=lt(o),f.x=t.x+o.clientLeft,f.y=t.y+o.clientTop}return{width:n.width*p.x,height:n.height*p.y,x:n.x*p.x-l.scrollLeft*p.x+f.x,y:n.y*p.y-l.scrollTop*p.y+f.y}},getDocumentElement:P,getClippingRect:function(t){let{element:e,boundary:n,rootBoundary:o,strategy:r}=t;const i=[..."clippingAncestors"===n?V(e)?[]:function(t,e){const n=e.get(t);if(n)return n;let o=it(t,[],!1).filter((t=>$(t)&&"body"!==F(t))),r=null;const i="fixed"===et(t).position;let a=i?ot(t):t;for(;$(a)&&!tt(a);){const e=et(a),n=J(a);n||"fixed"!==e.position||(r=null),(i?!n&&!r:!n&&"static"===e.position&&r&&["absolute","fixed"].includes(r.position)||U(a)&&!n&&dt(t,a))?o=o.filter((t=>t!==a)):r=e,a=ot(a)}return e.set(t,o),o}(e,this._c):[].concat(n),o],l=i.reduce(((t,n)=>{const o=ht(e,n,r);return t.top=s(o.top,t.top),t.right=a(o.right,t.right),t.bottom=a(o.bottom,t.bottom),t.left=s(o.left,t.left),t}),ht(e,i[0],r));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},getOffsetParent:wt,getElementRects:async function(t){const e=this.getOffsetParent||wt,n=this.getDimensions,o=await n(t.floating);return{reference:gt(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){const{width:e,height:n}=at(t);return{width:e,height:n}},getScale:lt,isElement:$,isRTL:function(t){return"rtl"===et(t).direction}};const yt=function(t){return void 0===t&&(t=0),{name:"offset",options:t,async fn(e){var n,o;const{x:r,y:i,placement:a,middlewareData:s}=e,l=await async function(t,e){const{placement:n,platform:o,elements:r}=t,i=await(null==o.isRTL?void 0:o.isRTL(r.floating)),a=g(n),s=m(n),l="y"===y(n),p=N.has(a)?-1:1,c=i&&l?-1:1,f=d(e,t);let{mainAxis:u,crossAxis:h,alignmentAxis:v}="number"==typeof f?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return s&&"number"==typeof v&&(h="end"===s?-1*v:v),l?{x:h*c,y:u*p}:{x:u*p,y:h*c}}(e,t);return a===(null==(n=s.offset)?void 0:n.placement)&&null!=(o=s.arrow)&&o.alignmentOffset?{}:{x:r+l.x,y:i+l.y,data:{...l,placement:a}}}}},bt=function(t){return void 0===t&&(t={}),{name:"shift",options:t,async fn(e){const{x:n,y:o,placement:r,platform:i}=e,{mainAxis:a=!0,crossAxis:s=!1,limiter:l={fn:t=>{let{x:e,y:n}=t;return{x:e,y:n}}},...p}=d(t,e),c={x:n,y:o},f=await i.detectOverflow(e,p),u=y(g(r)),m=v(u);let w=c[m],x=c[u];a&&(w=h(w+f["y"===m?"top":"left"],w,w-f["y"===m?"bottom":"right"])),s&&(x=h(x+f["y"===u?"top":"left"],x,x-f["y"===u?"bottom":"right"]));const b=l.fn({...e,[m]:w,[u]:x});return{...b,data:{x:b.x-n,y:b.y-o,enabled:{[m]:a,[u]:s}}}}}},Tt=function(t){return void 0===t&&(t={}),{name:"flip",options:t,async fn(e){var n,o;const{placement:r,middlewareData:i,rects:a,initialPlacement:s,platform:l,elements:p}=e,{mainAxis:c=!0,crossAxis:f=!0,fallbackPlacements:u,fallbackStrategy:h="bestFit",fallbackAxisSideDirection:v="none",flipAlignment:x=!0,...M}=d(t,e);if(null!=(n=i.arrow)&&n.alignmentOffset)return{};const R=g(r),L=y(s),H=g(s)===s,k=await(null==l.isRTL?void 0:l.isRTL(p.floating)),N=u||(H||!x?[I(s)]:function(t){const e=I(t);return[T(t),e,T(e)]}(s)),D="none"!==v;!u&&D&&N.push(...function(t,e,n,o){const r=m(t);let i=function(t,e,n){switch(t){case"top":case"bottom":return n?e?S:E:e?E:S;case"left":case"right":return e?A:O;default:return[]}}(g(t),"start"===n,o);return r&&(i=i.map((t=>t+"-"+r)),e&&(i=i.concat(i.map(T)))),i}(s,x,v,k));const F=[s,...N],C=await l.detectOverflow(e,M),P=[];let W=(null==(o=i.flip)?void 0:o.overflows)||[];if(c&&P.push(C[R]),f){const t=function(t,e,n){void 0===n&&(n=!1);const o=m(t),r=b(t),i=w(r);let a="x"===r?o===(n?"end":"start")?"right":"left":"start"===o?"bottom":"top";return e.reference[i]>e.floating[i]&&(a=I(a)),[a,I(a)]}(r,a,k);P.push(C[t[0]],C[t[1]])}if(W=[...W,{placement:r,overflows:P}],!P.every((t=>t<=0))){var $,B;const t=((null==($=i.flip)?void 0:$.index)||0)+1,e=F[t];if(e&&("alignment"!==f||L===y(e)||W.every((t=>y(t.placement)!==L||t.overflows[0]>0))))return{data:{index:t,overflows:W},reset:{placement:e}};let n=null==(B=W.filter((t=>t.overflows[0]<=0)).sort(((t,e)=>t.overflows[1]-e.overflows[1]))[0])?void 0:B.placement;if(!n)switch(h){case"bestFit":{var z;const t=null==(z=W.filter((t=>{if(D){const e=y(t.placement);return e===L||"y"===e}return!0})).map((t=>[t.placement,t.overflows.filter((t=>t>0)).reduce(((t,e)=>t+e),0)])).sort(((t,e)=>t[1]-e[1]))[0])?void 0:z[0];t&&(n=t);break}case"initialPlacement":n=s}if(r!==n)return{reset:{placement:n}}}return{}}}},Et=function(t){return void 0===t&&(t={}),{name:"size",options:t,async fn(e){var n,o;const{placement:r,rects:i,platform:l,elements:p}=e,{apply:c=(()=>{}),...f}=d(t,e),u=await l.detectOverflow(e,f),h=g(r),v=m(r),w="y"===y(r),{width:x,height:b}=i.floating;let T,E;"top"===h||"bottom"===h?(T=h,E=v===(await(null==l.isRTL?void 0:l.isRTL(p.floating))?"start":"end")?"left":"right"):(E=h,T="end"===v?"top":"bottom");const S=b-u.top-u.bottom,A=x-u.left-u.right;let O=a(b-u[T],S),I=a(x-u[E],A);if(null!=(n=e.middlewareData.shift)&&n.enabled.x&&(I=A),null!=(o=e.middlewareData.shift)&&o.enabled.y&&(O=S),!e.middlewareData.shift&&!v){const t=s(u.left,0),e=s(u.right,0),n=s(u.top,0),o=s(u.bottom,0);w?I=x-2*(0!==t||0!==e?t+e:s(u.left,u.right)):O=b-2*(0!==n||0!==o?n+o:s(u.top,u.bottom))}await c({...e,availableWidth:I,availableHeight:O});const M=await l.getDimensions(p.floating);return x!==M.width||b!==M.height?{reset:{rects:!0}}:{}}}},St=function(t){return void 0===t&&(t={}),{options:t,fn(e){const{x:n,y:o,placement:r,rects:i,middlewareData:a}=e,{offset:s=0,mainAxis:l=!0,crossAxis:p=!0}=d(t,e),c={x:n,y:o},f=y(r),u=v(f);let h=c[u],m=c[f];const w=d(s,e),x="number"==typeof w?{mainAxis:w,crossAxis:0}:{mainAxis:0,crossAxis:0,...w};if(l){const t="y"===u?"height":"width",e=i.reference[u]-i.floating[t]+x.mainAxis,n=i.reference[u]+i.reference[t]-x.mainAxis;h<e?h=e:h>n&&(h=n)}if(p){var b,T;const t="y"===u?"width":"height",e=N.has(g(r)),n=i.reference[f]-i.floating[t]+(e&&(null==(b=a.offset)?void 0:b[f])||0)+(e?0:x.crossAxis),o=i.reference[f]+i.reference[t]+(e?0:(null==(T=a.offset)?void 0:T[f])||0)-(e?x.crossAxis:0);m<n?m=n:m>o&&(m=o)}return{[u]:h,[f]:m}}}};(()=>{var t=class extends Event{oldState;newState;constructor(t,{oldState:e="",newState:n="",...o}={}){super(t,o),this.oldState=String(e||""),this.newState=String(n||"")}},e=new WeakMap;function n(n,o,r){e.set(n,setTimeout((()=>{e.has(n)&&n.dispatchEvent(new t("toggle",{cancelable:!1,oldState:o,newState:r}))}),0))}var o=globalThis.ShadowRoot||function(){},r=globalThis.HTMLDialogElement||function(){},i=new WeakMap,a=new WeakMap,s=new WeakMap;function l(t){return s.get(t)||"hidden"}var p=new WeakMap;function c(t,e){return!("auto"!==t.popover&&"manual"!==t.popover||!t.isConnected||e&&"showing"!==l(t)||!e&&"hidden"!==l(t)||t instanceof r&&t.hasAttribute("open")||document.fullscreenElement===t)}function f(t){return t?Array.from(a.get(t.ownerDocument)||[]).indexOf(t)+1:0}function u(t){let e=a.get(t);for(let t of e||[]){if(t.isConnected)return t;e.delete(t)}return null}function h(t){return"function"==typeof t.getRootNode?t.getRootNode():t.parentNode?h(t.parentNode):t}function d(t){for(;t;){if(t instanceof HTMLElement&&"auto"===t.popover&&"showing"===s.get(t))return t;if((t=t.parentElement||h(t))instanceof o&&(t=t.host),t instanceof Document)return}}function g(t){return!(t.hidden||t instanceof o||(t instanceof HTMLButtonElement||t instanceof HTMLInputElement||t instanceof HTMLSelectElement||t instanceof HTMLTextAreaElement||t instanceof HTMLOptGroupElement||t instanceof HTMLOptionElement||t instanceof HTMLFieldSetElement)&&t.disabled||t instanceof HTMLInputElement&&"hidden"===t.type||t instanceof HTMLAnchorElement&&""===t.href)&&"number"==typeof t.tabIndex&&-1!==t.tabIndex}var m=new WeakMap;function v(e){if(!c(e,!1))return;let o=e.ownerDocument;if(!e.dispatchEvent(new t("beforetoggle",{cancelable:!0,oldState:"closed",newState:"open"}))||!c(e,!1))return;let r=!1;if("auto"===e.popover){let t=e.getAttribute("popover"),n=function(t){let e=new Map,n=0,o=t.ownerDocument;for(let t of a.get(o)||[])e.set(t,n),n+=1;e.set(t,n),n+=1;let r=null;return function(t){let n=d(t);if(null===n)return null;let o=e.get(n);(null===r||e.get(r)<o)&&(r=n)}(t?.parentElement),r}(e)||o;if(y(n,!1,!0),t!==e.getAttribute("popover")||!c(e,!1))return}u(o)||(r=!0),m.delete(e);let l=o.activeElement;e.classList.add(":popover-open"),s.set(e,"showing"),i.has(o)||i.set(o,new Set),i.get(o).add(e),function(t){(function(t){if(t.shadowRoot&&!0!==t.shadowRoot.delegatesFocus)return null;let e=t;e.shadowRoot&&(e=e.shadowRoot);let n=e.querySelector("[autofocus]");if(n)return n;{let t=e.querySelectorAll("slot");for(let e of t){let t=e.assignedElements({flatten:!0});for(let e of t){if(e.hasAttribute("autofocus"))return e;if(n=e.querySelector("[autofocus]"),n)return n}}}let o=t.ownerDocument.createTreeWalker(e,NodeFilter.SHOW_ELEMENT),r=o.currentNode;for(;r;){if(g(r))return r;r=o.nextNode()}})(t)?.focus()}(e),"auto"===e.popover&&(a.has(o)||a.set(o,new Set),a.get(o).add(e),S(p.get(e),!0)),r&&l&&"auto"===e.popover&&m.set(e,l),n(e,"closed","open")}function w(e,o=!1,r=!1){if(!c(e,!0))return;let l=e.ownerDocument;if("auto"===e.popover&&(y(e,o,r),!c(e,!0))||(S(p.get(e),!1),p.delete(e),r&&(e.dispatchEvent(new t("beforetoggle",{oldState:"open",newState:"closed"})),!c(e,!0))))return;i.get(l)?.delete(e),a.get(l)?.delete(e),e.classList.remove(":popover-open"),s.set(e,"hidden"),r&&n(e,"open","closed");let f=m.get(e);f&&(m.delete(e),o&&f.focus())}function x(t,e=!1,n=!1){let o=u(t);for(;o;)w(o,e,n),o=u(t)}function y(t,e,n){let o=t.ownerDocument||t;if(t instanceof Document)return x(o,e,n);let r=null,i=!1;for(let e of a.get(o)||[])if(e===t)i=!0;else if(i){r=e;break}if(!i)return x(o,e,n);for(;r&&"showing"===l(r)&&a.get(o)?.size;)w(r,e,n)}var b=new WeakMap;function T(t){if(!t.isTrusted)return;let e=t.composedPath()[0];if(!e)return;let n=e.ownerDocument;if(!u(n))return;let r=function(t){let e=d(t),n=function(t){for(;t;){let e=t.popoverTargetElement;if(e instanceof HTMLElement)return e;if((t=t.parentElement||h(t))instanceof o&&(t=t.host),t instanceof Document)return}}(t);return f(e)>f(n)?e:n}(e);if(r&&"pointerdown"===t.type)b.set(n,r);else if("pointerup"===t.type){let t=b.get(n)===r;b.delete(n),t&&y(r||n,!1,!0)}}var E=new WeakMap;function S(t,e=!1){if(!t)return;E.has(t)||E.set(t,t.getAttribute("aria-expanded"));let n=t.popoverTargetElement;if(n instanceof HTMLElement&&"auto"===n.popover)t.setAttribute("aria-expanded",String(e));else{let e=E.get(t);e?t.setAttribute("aria-expanded",e):t.removeAttribute("aria-expanded")}}var A=globalThis.ShadowRoot||function(){};function O(t,e,n){let o=t[e];Object.defineProperty(t,e,{value(t){return o.call(this,n(t))}})}var I=/(^|[^\\]):popover-open\b/g,M="\n :where([popover]) {\n position: fixed;\n z-index: 2147483647;\n inset: 0;\n padding: 0.25em;\n width: fit-content;\n height: fit-content;\n border-width: initial;\n border-color: initial;\n border-image: initial;\n border-style: solid;\n background-color: canvas;\n color: canvastext;\n overflow: auto;\n margin: auto;\n }\n\n :where(dialog[popover][open]) {\n display: revert;\n }\n\n :where([anchor].\\:popover-open) {\n inset: auto;\n }\n\n :where([anchor]:popover-open) {\n inset: auto;\n }\n\n @supports not (background-color: canvas) {\n :where([popover]) {\n background-color: white;\n color: black;\n }\n }\n\n @supports (width: -moz-fit-content) {\n :where([popover]) {\n width: -moz-fit-content;\n height: -moz-fit-content;\n }\n }\n\n @supports not (inset: 0) {\n :where([popover]) {\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n }\n }\n\n :where([popover]:not(.\\:popover-open)) {\n display: none;\n }\n",R=null;function L(t){if(null===R)try{(R=new CSSStyleSheet).replaceSync(M)}catch{R=!1}if(!1===R){let e=document.createElement("style");e.textContent=M,t instanceof Document?t.head.prepend(e):t.prepend(e)}else t.adoptedStyleSheets=[R,...t.adoptedStyleSheets]}typeof HTMLElement<"u"&&"object"==typeof HTMLElement.prototype&&"popover"in HTMLElement.prototype||function(){function e(t){return t?.includes(":popover-open")&&(t=t.replace(I,"$1.\\:popover-open")),t}window.ToggleEvent=window.ToggleEvent||t,O(Document.prototype,"querySelector",e),O(Document.prototype,"querySelectorAll",e),O(Element.prototype,"querySelector",e),O(Element.prototype,"querySelectorAll",e),O(Element.prototype,"matches",e),O(Element.prototype,"closest",e),O(DocumentFragment.prototype,"querySelectorAll",e),O(DocumentFragment.prototype,"querySelectorAll",e),Object.defineProperties(HTMLElement.prototype,{popover:{enumerable:!0,configurable:!0,get(){if(!this.hasAttribute("popover"))return null;let t=(this.getAttribute("popover")||"").toLowerCase();return""===t||"auto"==t?"auto":"manual"},set(t){this.setAttribute("popover",t)}},showPopover:{enumerable:!0,configurable:!0,value(){v(this)}},hidePopover:{enumerable:!0,configurable:!0,value(){w(this,!0,!0)}},togglePopover:{enumerable:!0,configurable:!0,value(t){"showing"===s.get(this)&&void 0===t||!1===t?w(this,!0,!0):(void 0===t||!0===t)&&v(this)}}});let n=Element.prototype.attachShadow;n&&Object.defineProperties(Element.prototype,{attachShadow:{enumerable:!0,configurable:!0,writable:!0,value(t){let e=n.call(this,t);return L(e),e}}});let o=HTMLElement.prototype.attachInternals;o&&Object.defineProperties(HTMLElement.prototype,{attachInternals:{enumerable:!0,configurable:!0,writable:!0,value(){let t=o.call(this);return t.shadowRoot&&L(t.shadowRoot),t}}});let r=new WeakMap;function i(t){Object.defineProperties(t.prototype,{popoverTargetElement:{enumerable:!0,configurable:!0,set(t){if(null===t)this.removeAttribute("popovertarget"),r.delete(this);else{if(!(t instanceof Element))throw new TypeError("popoverTargetElement must be an element or null");this.setAttribute("popovertarget",""),r.set(this,t)}},get(){if("button"!==this.localName&&"input"!==this.localName||"input"===this.localName&&"reset"!==this.type&&"image"!==this.type&&"button"!==this.type||this.disabled||this.form&&"submit"===this.type)return null;let t=r.get(this);if(t&&t.isConnected)return t;if(t&&!t.isConnected)return r.delete(this),null;let e=h(this),n=this.getAttribute("popovertarget");return(e instanceof Document||e instanceof A)&&n&&e.getElementById(n)||null}},popoverTargetAction:{enumerable:!0,configurable:!0,get(){let t=(this.getAttribute("popovertargetaction")||"").toLowerCase();return"show"===t||"hide"===t?t:"toggle"},set(t){this.setAttribute("popovertargetaction",t)}}})}i(HTMLButtonElement),i(HTMLInputElement);var a;(a=document).addEventListener("click",(t=>{if(!t.isTrusted)return;let e=t.composedPath()[0];if(!(e instanceof Element)||e?.shadowRoot)return;let n=h(e);if(!(n instanceof A||n instanceof Document))return;let o=e.closest("[popovertargetaction],[popovertarget]");return o?(function(t){let e=t.popoverTargetElement;if(!(e instanceof HTMLElement))return;let n=l(e);"show"===t.popoverTargetAction&&"showing"===n||"hide"===t.popoverTargetAction&&"hidden"===n||("showing"===n?w(e,!0,!0):c(e,!1)&&(p.set(e,t),v(e)))}(o),void t.preventDefault()):void 0})),a.addEventListener("keydown",(t=>{let e=t.key,n=t.target;!t.defaultPrevented&&n&&("Escape"===e||"Esc"===e)&&y(n.ownerDocument,!0,!0)})),a.addEventListener("pointerdown",T),a.addEventListener("pointerup",T),L(document)}()})();const At=class{constructor(n){t(this,n),this.postToggle=e(this,"postToggle",7),this.placement="top",this.edgeGap=8,this.animation=null,this.arrow=!1,this.safeSpace=void 0}mouseTrackingHandler(t){this.host.style.setProperty("--post-safe-space-cursor-x",`${t.clientX}px`),this.host.style.setProperty("--post-safe-space-cursor-y",`${t.clientY}px`)}componentDidLoad(){this.host.setAttribute("popover",""),this.host.addEventListener("beforetoggle",this.handleToggle.bind(this))}disconnectedCallback(){"function"==typeof this.clearAutoUpdate&&this.clearAutoUpdate()}async show(t){this.toggleTimeoutId||(this.eventTarget=t,this.calculatePosition(),this.host.showPopover())}async hide(){this.toggleTimeoutId||(this.eventTarget=null,this.host.hidePopover())}async toggle(t,e){return this.toggleTimeoutId||(this.eventTarget=t,this.calculatePosition(),this.host.togglePopover(e),this.toggleTimeoutId=null),this.host.matches(":where(:popover-open, .popover-open)")}handleToggle(t){this.toggleTimeoutId=window.setTimeout((()=>this.toggleTimeoutId=null),10);const e="open"===t.newState;e?(this.startAutoupdates(),this.safeSpace&&window.addEventListener("mousemove",this.mouseTrackingHandler.bind(this))):("function"==typeof this.clearAutoUpdate&&this.clearAutoUpdate(),this.safeSpace&&window.removeEventListener("mousemove",this.mouseTrackingHandler.bind(this))),this.postToggle.emit(e)}startAutoupdates(){this.clearAutoUpdate=function(t,e,n,o){void 0===o&&(o={});const{ancestorScroll:r=!0,ancestorResize:i=!0,elementResize:l="function"==typeof ResizeObserver,layoutShift:c="function"==typeof IntersectionObserver,animationFrame:f=!1}=o,u=st(t),h=r||i?[...u?it(u):[],...it(e)]:[];h.forEach((t=>{r&&t.addEventListener("scroll",n,{passive:!0}),i&&t.addEventListener("resize",n)}));const d=u&&c?function(t,e){let n,o=null;const r=P(t);function i(){var t;clearTimeout(n),null==(t=o)||t.disconnect(),o=null}return function l(c,f){void 0===c&&(c=!1),void 0===f&&(f=1),i();const{left:u,top:h,width:d,height:g}=t.getBoundingClientRect();if(c||e(),!d||!g)return;const m={rootMargin:-p(h)+"px "+-p(r.clientWidth-(u+d))+"px "+-p(r.clientHeight-(h+g))+"px "+-p(u)+"px",threshold:s(0,a(1,f))||1};let v=!0;function w(t){const e=t[0].intersectionRatio;if(e!==f){if(!v)return l();e?l(!1,e):n=setTimeout((()=>{l(!1,1e-7)}),1e3)}v=!1}try{o=new IntersectionObserver(w,{...m,root:r.ownerDocument})}catch(t){o=new IntersectionObserver(w,m)}o.observe(t)}(!0),i}(u,n):null;let g,m=-1,v=null;l&&(v=new ResizeObserver((t=>{let[o]=t;o&&o.target===u&&v&&(v.unobserve(e),cancelAnimationFrame(m),m=requestAnimationFrame((()=>{var t;null==(t=v)||t.observe(e)}))),n()})),u&&!f&&v.observe(u),v.observe(e));let w=f?ft(t):null;return f&&function e(){const o=ft(t);!w||o.x===w.x&&o.y===w.y&&o.width===w.width&&o.height===w.height||n(),w=o,g=requestAnimationFrame(e)}(),n(),()=>{var t;h.forEach((t=>{r&&t.removeEventListener("scroll",n),i&&t.removeEventListener("resize",n)})),null==d||d(),null==(t=v)||t.disconnect(),v=null,f&&cancelAnimationFrame(g)}}(this.eventTarget,this.host,this.calculatePosition.bind(this))}async calculatePosition(){const{x:t,y:e,middlewareData:n,placement:o}=await this.computeMainPosition(),r=o.split("-")[0];if(this.host.style.left=`${t}px`,this.host.style.top=`${e}px`,this.arrow&&n.arrow){const{x:t,y:e}=n.arrow,o=At.STATIC_SIDES[r];o&&Object.assign(this.arrowRef.style,{left:t?`${t}px`:"",top:e?`${e}px`:"",[o]:"-7px"})}this.safeSpace&&this.eventTarget&&await this.updateSafeSpaceBoundaries(r)}async computeMainPosition(){const t=this.edgeGap,e=[Tt(),(void 0===n&&(n={}),{name:"inline",options:n,async fn(t){const{placement:e,elements:o,rects:r,platform:i,strategy:l}=t,{padding:p=2,x:c,y:f}=d(n,t),u=Array.from(await(null==i.getClientRects?void 0:i.getClientRects(o.reference))||[]),h=function(t){const e=t.slice().sort(((t,e)=>t.y-e.y)),n=[];let o=null;for(let t=0;t<e.length;t++){const r=e[t];!o||r.y-o.y>o.height/2?n.push([r]):n[n.length-1].push(r),o=r}return n.map((t=>R(k(t))))}(u),m=R(k(u)),v=M(p),w=await i.getElementRects({reference:{getBoundingClientRect:function(){if(2===h.length&&h[0].left>h[1].right&&null!=c&&null!=f)return h.find((t=>c>t.left-v.left&&c<t.right+v.right&&f>t.top-v.top&&f<t.bottom+v.bottom))||m;if(h.length>=2){if("y"===y(e)){const t=h[0],n=h[h.length-1],o="top"===g(e),r=t.top,i=n.bottom,a=o?t.left:n.left,s=o?t.right:n.right;return{top:r,bottom:i,left:a,right:s,width:s-a,height:i-r,x:a,y:r}}const t="left"===g(e),n=s(...h.map((t=>t.right))),o=a(...h.map((t=>t.left))),r=h.filter((e=>t?e.left===o:e.right===n)),i=r[0].top,l=r[r.length-1].bottom;return{top:i,bottom:l,left:o,right:n,width:n-o,height:l-i,x:o,y:i}}return m}},floating:o.floating,strategy:l});return r.reference.x!==w.reference.x||r.reference.y!==w.reference.y||r.reference.width!==w.reference.width||r.reference.height!==w.reference.height?{reset:{rects:w}}:{}}}),bt({padding:t,limiter:St({offset:32})}),Et({apply({availableWidth:e,elements:n}){Object.assign(n.floating.style,{maxWidth:e-2*t+"px"})}}),yt(this.arrow?t+4:t)];var n;return this.arrow&&e.push((t=>({name:"arrow",options:t,async fn(e){const{x:n,y:o,placement:r,rects:i,platform:s,elements:l,middlewareData:p}=e,{element:c,padding:f=0}=d(t,e)||{};if(null==c)return{};const u=M(f),g={x:n,y:o},v=b(r),x=w(v),y=await s.getDimensions(c),T="y"===v,E=T?"top":"left",S=T?"bottom":"right",A=T?"clientHeight":"clientWidth",O=i.reference[x]+i.reference[v]-g[v]-i.floating[x],I=g[v]-i.reference[v],R=await(null==s.getOffsetParent?void 0:s.getOffsetParent(c));let L=R?R[A]:0;L&&await(null==s.isElement?void 0:s.isElement(R))||(L=l.floating[A]||i.floating[x]);const H=O/2-I/2,k=L/2-y[x]/2-1,N=a(u[E],k),D=a(u[S],k),F=N,C=L-y[x]-D,P=L/2-y[x]/2+H,W=h(F,P,C),$=!p.arrow&&null!=m(r)&&P!==W&&i.reference[x]/2-(P<F?N:D)-y[x]/2<0,B=$?P<F?P-F:P-C:0;return{[v]:g[v]+B,data:{[v]:W,centerOffset:P-W-B,...$&&{alignmentOffset:B}},reset:$}}}))({element:this.arrowRef,padding:t})),((t,e,n)=>{const o=new Map,r={platform:xt,...n},i={...r.platform,_c:o};return(async(t,e,n)=>{const{placement:o="bottom",strategy:r="absolute",middleware:i=[],platform:a}=n,s=i.filter(Boolean),l=await(null==a.isRTL?void 0:a.isRTL(e));let p=await a.getElementRects({reference:t,floating:e,strategy:r}),{x:c,y:f}=L(p,o,l),u=o,h={},d=0;for(let n=0;n<s.length;n++){var g;const{name:i,fn:m}=s[n],{x:v,y:w,data:x,reset:y}=await m({x:c,y:f,initialPlacement:o,placement:u,strategy:r,middlewareData:h,rects:p,platform:{...a,detectOverflow:null!=(g=a.detectOverflow)?g:H},elements:{reference:t,floating:e}});c=null!=v?v:c,f=null!=w?w:f,h={...h,[i]:{...h[i],...x}},y&&d<=50&&(d++,"object"==typeof y&&(y.placement&&(u=y.placement),y.rects&&(p=!0===y.rects?await a.getElementRects({reference:t,floating:e,strategy:r}):y.rects),({x:c,y:f}=L(p,u,l))),n=-1)}return{x:c,y:f,placement:u,strategy:r,middlewareData:h}})(t,e,{...r,platform:i})})(this.eventTarget,this.host,{placement:this.placement||"top",strategy:"fixed",middleware:e})}async updateSafeSpaceBoundaries(t){const e=this.eventTarget.getBoundingClientRect(),n="top"===t||"bottom"===t,o=((t,e,n)=>"top"===t||"bottom"===t?{popover:{y:"top"===t?e.bottom:e.top,xStart:e.left,xEnd:e.right},trigger:{y:"top"===t?n.top:n.bottom,xStart:n.left,xEnd:n.right}}:{popover:{x:"left"===t?e.right:e.left,yStart:e.top,yEnd:e.bottom},trigger:{x:"left"===t?n.left:n.right,yStart:n.top,yEnd:n.bottom}})(t,this.host.getBoundingClientRect(),e);At.PROPERTIES_TO_CLEAR.forEach((t=>{this.host.style.removeProperty(t)})),n?(this.host.style.setProperty("--post-safe-space-popover-y",`${o.popover.y}px`),this.host.style.setProperty("--post-safe-space-popover-x-start",`${o.popover.xStart}px`),this.host.style.setProperty("--post-safe-space-popover-x-end",`${o.popover.xEnd}px`),this.host.style.setProperty("--post-safe-space-trigger-y",`${o.trigger.y}px`),this.host.style.setProperty("--post-safe-space-trigger-x-start",`${o.trigger.xStart}px`),this.host.style.setProperty("--post-safe-space-trigger-x-end",`${o.trigger.xEnd}px`)):(this.host.style.setProperty("--post-safe-space-popover-x",`${o.popover.x}px`),this.host.style.setProperty("--post-safe-space-popover-y-start",`${o.popover.yStart}px`),this.host.style.setProperty("--post-safe-space-popover-y-end",`${o.popover.yEnd}px`),this.host.style.setProperty("--post-safe-space-trigger-x",`${o.trigger.x}px`),this.host.style.setProperty("--post-safe-space-trigger-y-start",`${o.trigger.yStart}px`),this.host.style.setProperty("--post-safe-space-trigger-y-end",`${o.trigger.yEnd}px`))}render(){return n(o,{key:"98ea26b46803e8aa98cc2cec53798d994c0ff856","data-version":i},n("div",{key:"230fa7df2963b36e67a4559f07010f7213240e3c",class:this.animation?`animate-${this.animation}`:""},this.arrow&&n("span",{key:"58647eb14ef84ff04b04b7dec0bbb38b9bcd4b69",class:"arrow",ref:t=>{this.arrowRef=t}}),n("slot",{key:"de0afc53f013ac7d4cdd06e0e2d7746a8e0971dc"})))}get host(){return r(this)}};At.STATIC_SIDES={top:"bottom",right:"left",bottom:"top",left:"right"},At.PROPERTIES_TO_CLEAR=["--post-safe-space-popover-x","--post-safe-space-popover-y","--post-safe-space-popover-x-start","--post-safe-space-popover-x-end","--post-safe-space-popover-y-start","--post-safe-space-popover-y-end","--post-safe-space-trigger-x","--post-safe-space-trigger-y","--post-safe-space-trigger-x-start","--post-safe-space-trigger-x-end","--post-safe-space-trigger-y-start","--post-safe-space-trigger-y-end"],At.style='@keyframes popIn{from{transform:scale(0.9);opacity:0;transition-property:transform,opacity,overlay,display;transition-behavior:allow-discrete;transition-duration:var(--post-transition-duration, 0.35s);transition-timing-function:linear(0, 0.007, 0.029 2.2%, 0.118 4.7%, 0.625 14.4%, 0.826 19%, 0.902, 0.962, 1.008 26.1%, 1.041 28.7%, 1.064 32.1%, 1.07 36%, 1.061 40.5%, 1.015 53.4%, 0.999 61.6%, 0.995 71.2%, 1)}to{opacity:1;transform:scale(1)}}/*!\n * Bootstrap Utilities v5.1.3 (https://getbootstrap.com/)\n * Copyright 2011-2021 The Bootstrap Authors\n * Copyright 2011-2021 Twitter, Inc.\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\n\n * The MIT License (MIT)\n\n * Copyright (c) 2011-2020 Twitter, Inc.\n * Copyright (c) 2011-2020 The Bootstrap Authors\n\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the "Software"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n\n * The above copyright notice and this permission notice shall be included in\n * all copies or substantial portions of the Software.\n\n * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n * THE SOFTWARE.\n *//*!\n * Copyright 2021 by Swiss Post, Information Technology\n */@layer polyfill{@supports not selector(:popover-open){[popover]:not(.\\:popover-open){display:none}}}:where(post-popovercontainer){background-color:rgba(0,0,0,0);border:rgba(0,0,0,0);position:fixed;margin:0;padding:0;overflow:visible}:where(post-popovercontainer)>div{box-shadow:.5px 3px 4px rgba(0,0,0,.1),2px 4px 10px 4px rgba(0,0,0,.12);width:max-content;display:flex;align-items:center;max-width:100%;color:var(--post-contrast-color);background-color:rgb(var(--post-bg-rgb));border:2px solid rgba(0,0,0,0);border-radius:4px}:where(post-popovercontainer)>div.animate-pop-in{animation:popIn .25s ease-out forwards}:where(post-popovercontainer)[tooltip]{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);border:0}:where(post-popovercontainer)[safe-space]::after{content:"";position:fixed;inset:0;z-index:-1;pointer-events:auto}:where(post-popovercontainer)[safe-space=triangle]::after{clip-path:polygon(var(--post-safe-space-cursor-x, 0) var(--post-safe-space-cursor-y, 0), var(--post-safe-space-popover-x-start, var(--post-safe-space-popover-x, 0)) var(--post-safe-space-popover-y, var(--post-safe-space-popover-y-start, 0)), var(--post-safe-space-popover-x-end, var(--post-safe-space-popover-x, 0)) var(--post-safe-space-popover-y, var(--post-safe-space-popover-y-end, 0)))}:where(post-popovercontainer)[safe-space=trapezoid]::after{clip-path:polygon(var(--post-safe-space-trigger-x-start, var(--post-safe-space-trigger-x, 0)) var(--post-safe-space-trigger-y, var(--post-safe-space-trigger-y-start, 0)), var(--post-safe-space-trigger-x-end, var(--post-safe-space-trigger-x, 0)) var(--post-safe-space-trigger-y, var(--post-safe-space-trigger-y-end, 0)), var(--post-safe-space-popover-x-end, var(--post-safe-space-popover-x, 0)) var(--post-safe-space-popover-y, var(--post-safe-space-popover-y-end, 0)), var(--post-safe-space-popover-x-start, var(--post-safe-space-popover-x, 0)) var(--post-safe-space-popover-y, var(--post-safe-space-popover-y-start, 0)))}:where(post-popovercontainer):has(.arrow)>div{filter:drop-shadow(1px 2px 3px hsla(216, 9%, 11%, 0.15)) drop-shadow(2px 4px 6px hsla(225, 17%, 9%, 0.15)) drop-shadow(4px 8px 12px hsla(225, 7%, 11%, 0.15))}:where(post-popovercontainer):has(.arrow.top)>div{filter:drop-shadow(0px -2px 3px hsla(216, 9%, 11%, 0.15)) drop-shadow(0px -4px 6px hsla(225, 17%, 9%, 0.15)) drop-shadow(0px -8px 12px hsla(225, 7%, 11%, 0.15))}:where(post-popovercontainer):has(.arrow.left)>div{filter:drop-shadow(-2px 0px 3px hsla(216, 9%, 11%, 0.15)) drop-shadow(-4px 0px 6px hsla(225, 17%, 9%, 0.15)) drop-shadow(-8px 0px 12px hsla(225, 7%, 11%, 0.15))}:where(post-popovercontainer):has(.arrow.right)>div{filter:drop-shadow(2px 0px 3px hsla(216, 9%, 11%, 0.15)) drop-shadow(4px 0px 6px hsla(225, 17%, 9%, 0.15)) drop-shadow(8px 0px 12px hsla(225, 7%, 11%, 0.15))}:where(post-popovercontainer) .arrow{position:absolute;width:.5825rem;height:.5825rem;background-color:inherit;rotate:45deg;pointer-events:none;z-index:-1}:where(post-popovercontainer) .arrow.top{border-block-start:2px solid rgba(0,0,0,0);border-inline-start:2px solid rgba(0,0,0,0)}:where(post-popovercontainer) .arrow.right{border-block-start:2px solid rgba(0,0,0,0);border-inline-end:2px solid rgba(0,0,0,0)}:where(post-popovercontainer) .arrow.left{border-block-end:2px solid rgba(0,0,0,0);border-inline-start:2px solid rgba(0,0,0,0)}:where(post-popovercontainer) .arrow.bottom{border-block-end:2px solid rgba(0,0,0,0);border-inline-end:2px solid rgba(0,0,0,0)}';export{At as P}
@@ -1 +0,0 @@
1
- export{P as post_popover}from"./p-d081c65a.js";import"./p-3eab790d.js";import"./p-8c902f0d.js";
@@ -1 +0,0 @@
1
- export{P as post_tooltip}from"./p-ef810606.js";import"./p-3eab790d.js";import"./p-8c902f0d.js";import"./p-4a3f67ab.js";
@@ -1 +0,0 @@
1
- export{P as post_logo}from"./p-7a1be73d.js";import"./p-3eab790d.js";import"./p-8c902f0d.js";import"./p-788e64fb.js";import"./p-440193f4.js";import"./p-611b3c41.js";import"./p-4a3f67ab.js";