@florid-kit/components 2.6.9 → 2.6.11

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 (63) hide show
  1. package/assets/icons/icons.d.ts +66 -7
  2. package/components/button.d.ts +0 -3
  3. package/components/dropdown-variant.d.ts +0 -1
  4. package/components/dropdown.d.ts +0 -1
  5. package/components/icon-button.d.ts +0 -5
  6. package/components/wishlist-button.d.ts +0 -2
  7. package/index.js +5742 -0
  8. package/index.mjs +9629 -68
  9. package/package.json +2 -19
  10. package/assets/icons/icons-occ.d.ts +0 -315
  11. package/components/accordion-group.mjs +0 -61
  12. package/components/accordion.mjs +0 -185
  13. package/components/arch-image.mjs +0 -135
  14. package/components/badge.mjs +0 -75
  15. package/components/breadcrumb.mjs +0 -83
  16. package/components/breadcrumbs.mjs +0 -35
  17. package/components/button.mjs +0 -10
  18. package/components/checkbox.mjs +0 -188
  19. package/components/chip.mjs +0 -158
  20. package/components/chipset.mjs +0 -44
  21. package/components/dots.mjs +0 -60
  22. package/components/dropdown-variant.mjs +0 -445
  23. package/components/dropdown.mjs +0 -302
  24. package/components/feedback-message.mjs +0 -136
  25. package/components/filter-chip.mjs +0 -214
  26. package/components/footer-simplify.mjs +0 -178
  27. package/components/header-simplify.mjs +0 -234
  28. package/components/icon-button.mjs +0 -345
  29. package/components/input.mjs +0 -294
  30. package/components/link.mjs +0 -172
  31. package/components/mediumtile.mjs +0 -307
  32. package/components/minitile.mjs +0 -231
  33. package/components/option-tile.mjs +0 -413
  34. package/components/popin.mjs +0 -412
  35. package/components/radio.mjs +0 -165
  36. package/components/rating.mjs +0 -84
  37. package/components/reassurance.mjs +0 -163
  38. package/components/search-input-dropdown.mjs +0 -314
  39. package/components/search-input.mjs +0 -107
  40. package/components/side-panel.mjs +0 -1197
  41. package/components/tab.mjs +0 -140
  42. package/components/tablist.mjs +0 -44
  43. package/components/tag.mjs +0 -86
  44. package/components/textarea.mjs +0 -269
  45. package/components/thumbnail-navigation.mjs +0 -232
  46. package/components/toast.mjs +0 -190
  47. package/components/tooltip.mjs +0 -125
  48. package/components/wishlist-button.mjs +0 -137
  49. package/css-r3TDS8Ma.mjs +0 -37
  50. package/directive-helpers-CjGdYF2i.mjs +0 -11
  51. package/directive-oAbCiebi.mjs +0 -27
  52. package/element-internals-Dw7LndlH.mjs +0 -19
  53. package/icons-occ-DW--7nRr.mjs +0 -834
  54. package/if-defined-BaFqfNKT.mjs +0 -10
  55. package/live-BPnRJXAq.mjs +0 -30
  56. package/loader.d.ts +0 -3
  57. package/loader.mjs +0 -81
  58. package/logo-CEgaTL93.mjs +0 -4
  59. package/performance-mixin-vBVz5Iib.mjs +0 -774
  60. package/property-8EkRXcYy.mjs +0 -36
  61. package/query-NJDNu0-P.mjs +0 -25
  62. package/state-BvkYxy1c.mjs +0 -12
  63. package/unsafe-svg-CRYN20gz.mjs +0 -210
@@ -1,412 +0,0 @@
1
- import { m as u, a as g, x as s, i as f } from "../performance-mixin-vBVz5Iib.mjs";
2
- import { n } from "../property-8EkRXcYy.mjs";
3
- import { r as h } from "../state-BvkYxy1c.mjs";
4
- import { a as m } from "../unsafe-svg-CRYN20gz.mjs";
5
- import "./icon-button.mjs";
6
- const b = `<?xml version="1.0" encoding="UTF-8" standalone="no"?>
7
- <svg
8
- xmlns:dc="http://purl.org/dc/elements/1.1/"
9
- xmlns:cc="http://creativecommons.org/ns#"
10
- xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
11
- xmlns:svg="http://www.w3.org/2000/svg"
12
- xmlns="http://www.w3.org/2000/svg"
13
- viewBox="0 0 761.18665 179.29333"
14
- height="179.29333"
15
- width="761.18665"
16
- xml:space="preserve"
17
- id="svg2"
18
- version="1.1"><metadata
19
- id="metadata8"><rdf:RDF><cc:Work
20
- rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
21
- rdf:resource="http://purl.org/dc/dcmitype/StillImage" /></cc:Work></rdf:RDF></metadata><defs
22
- id="defs6" /><g
23
- transform="matrix(1.3333333,0,0,-1.3333333,0,179.29333)"
24
- id="g10"><g
25
- transform="scale(0.1)"
26
- id="g12"><path
27
- id="path14"
28
- style="fill:#3F2B2E;fill-opacity:1;fill-rule:nonzero;stroke:none"
29
- d="m 468.051,699.309 c -42.594,-95.364 -57.399,-99.996 -160.164,-99.996 -74.063,0 -88.914,7.402 -99.992,20.394 -13.895,15.707 -15.758,49.039 -15.758,95.363 v 325 c 0,96.27 8.304,99.04 51.855,105.54 l 20.348,3.73 c 7.453,4.63 6.496,23.11 -1.817,26.83 -40.781,-1.86 -82.421,-2.77 -123.156,-2.77 -42.5936,0 -84.2342,0.91 -130.5545,2.77 -8.304687,-3.72 -8.304687,-22.2 -1.86328,-26.83 l 25.92968,-3.73 c 43.5508,-6.5 51.8633,-9.27 51.8633,-105.54 V 695.633 c 0,-96.32 -8.3125,-99.086 -51.8633,-104.625 L 5.08594,586.371 c -8.3086,-4.629 -5.539065,-23.156 1.86328,-26.887 38.92188,1.864 85.19138,2.821 132.41778,2.821 h 96.27 c 103.722,0 183.375,-0.957 222.246,-2.821 11.125,25.028 31.515,95.418 38.867,134.289 -4.582,7.399 -19.434,10.168 -28.699,5.536" /><path
30
- id="path16"
31
- style="fill:#3F2B2E;fill-opacity:1;fill-rule:nonzero;stroke:none"
32
- d="m 491.34,1210.42 c -41.641,0 -52.766,-27.74 -52.766,-43.5 0,-20.39 14.797,-31.52 28.696,-33.33 22.257,-2.77 50,-17.63 50,-48.13 0,-40.79 -35.196,-67.63 -74.969,-84.29 -2.821,-7.404 -0.906,-18.529 6.492,-24.065 63.844,15.754 126.832,67.565 126.832,137.955 0,50.9 -38.871,95.36 -84.285,95.36" /><path
33
- id="path18"
34
- style="fill:#3F2B2E;fill-opacity:1;fill-rule:nonzero;stroke:none"
35
- d="m 1108.72,579.656 c -227.99,0 -311.365,222.196 -311.365,393.535 0,253.459 156.286,335.629 276.675,335.629 221.03,0 305.52,-206.03 305.52,-397.007 0,-227.985 -131.92,-332.157 -270.83,-332.157 z m -15.06,765.014 c -238.406,0 -412.008,-177.08 -412.008,-408.533 0,-208.348 155.075,-392.375 412.008,-392.375 223.4,0 401.64,170.179 401.64,403.953 0,203.665 -134.28,396.955 -401.64,396.955" /><path
36
- id="path20"
37
- style="fill:#3F2B2E;fill-opacity:1;fill-rule:nonzero;stroke:none"
38
- d="m 2152.56,722.48 c -25.88,-60.222 -76.83,-137.96 -193.49,-137.96 -119.43,0 -242.59,96.269 -242.59,293.492 0,189.818 118.48,273.148 236.09,273.148 122.25,0 163.89,-76.84 179.6,-135.2 6.49,-6.49 23.16,-5.53 29.66,1.87 -9.27,68.53 -11.08,123.15 -12.94,144.45 -8.36,1.86 -14.81,2.77 -25.93,5.54 -43.56,11.13 -107.4,20.39 -160.22,20.39 -93.5,0 -187,-26.83 -255.52,-78.69 -68.53,-52.77 -116.66,-137.055 -116.66,-245.356 0,-121.344 56.49,-205.578 131.46,-254.668 66.67,-43.508 145.36,-62.031 237.05,-62.031 60.17,0 124.06,15.758 144.45,22.254 10.17,2.769 21.25,6.496 32.37,8.304 13,17.625 37.97,78.7 44.46,140.731 -4.63,8.355 -19.43,12.035 -27.79,3.726" /><path
39
- id="path22"
40
- style="fill:#3F2B2E;fill-opacity:1;fill-rule:nonzero;stroke:none"
41
- d="m 2372.16,609.496 c 66.66,-43.504 145.36,-62.031 237.04,-62.031 60.17,0 124.06,15.758 144.4,22.254 10.23,2.769 21.3,6.496 32.43,8.304 12.99,17.625 37.97,78.7 44.46,140.731 -4.63,8.359 -19.44,12.035 -27.8,3.723 -25.88,-60.219 -76.83,-137.954 -193.49,-137.954 -119.43,0 -242.59,96.266 -242.59,293.489 0,189.818 118.48,273.148 236.1,273.148 122.25,0 163.89,-76.84 179.64,-135.2 6.45,-6.49 23.17,-5.53 29.61,1.87 -9.27,68.53 -11.07,123.15 -12.94,144.45 -8.36,1.86 -14.8,2.77 -25.93,5.54 -43.55,11.13 -107.4,20.39 -160.16,20.39 -93.55,0 -187.05,-26.83 -255.58,-78.69 -68.52,-52.77 -116.66,-137.055 -116.66,-245.356 0,-121.344 56.49,-205.578 131.47,-254.668" /><path
42
- id="path24"
43
- style="fill:#3F2B2E;fill-opacity:1;fill-rule:nonzero;stroke:none"
44
- d="m 3164.23,559.523 c 7.41,3.672 8.31,20.34 1.87,26.832 l -20.4,2.774 c -43.5,5.539 -51.86,8.359 -51.86,106.488 v 344.443 c 0,98.13 8.36,100.9 51.86,106.49 l 20.4,2.77 c 6.44,6.5 5.54,23.11 -1.87,26.84 -40.78,-1.82 -82.42,-2.77 -123.15,-2.77 -42.6,0 -84.24,0.95 -125.02,2.77 -7.41,-3.73 -8.31,-20.34 -1.81,-26.84 l 20.34,-2.77 c 43.55,-5.59 51.86,-8.36 51.86,-106.49 V 695.617 c 0,-98.129 -8.31,-100.949 -51.86,-106.488 l -20.34,-2.774 c -6.5,-6.492 -5.6,-23.16 1.81,-26.832 40.78,1.809 84.28,2.766 125.02,2.766 40.73,0 82.37,-0.957 123.15,-2.766" /><path
45
- id="path26"
46
- style="fill:#3F2B2E;fill-opacity:1;fill-rule:nonzero;stroke:none"
47
- d="m 3482.63,1136.35 c 24.12,0 25.02,-1.87 25.02,-40.74 V 695.637 c 0,-98.184 -8.3,-100.949 -51.86,-104.625 l -38.92,-4.684 c -6.44,-4.582 -5.53,-23.109 1.92,-26.84 59.25,1.867 102.76,2.774 143.49,2.774 40.73,0 82.37,-0.907 136.1,-2.774 7.45,3.731 8.35,20.395 1.86,26.84 l -33.33,3.727 c -43.55,4.633 -51.86,7.398 -51.86,105.582 v 399.973 c 0,38.87 0.91,40.74 25.02,40.74 h 52.77 c 99.04,0 116.66,-17.58 128.69,-89.83 8.31,-6.44 24.07,-4.63 28.7,2.82 -2.77,29.61 4.63,109.26 13.9,147.23 -1.87,2.77 -6.5,4.58 -12.04,4.58 -3.72,0 -7.4,-1.81 -11.12,-3.68 -11.13,-21.29 -25.03,-24.06 -70.39,-24.06 h -377.77 c -62.94,0 -75.88,0.9 -80.56,24.06 -1.82,2.77 -5.54,3.68 -9.22,3.68 -4.63,0 -8.36,-0.91 -10.17,-3.68 -6.5,-32.42 -20.39,-89.82 -36.15,-139.82 3.72,-9.26 23.16,-12.03 29.65,-6.49 34.24,75.02 59.27,85.19 144.41,85.19 h 51.86" /><path
48
- id="path28"
49
- style="fill:#3F2B2E;fill-opacity:1;fill-rule:nonzero;stroke:none"
50
- d="m 4139.13,830.781 h -96.31 c -22.21,0 -24.98,0 -14.81,26.887 l 38.87,108.301 c 16.67,43.501 24.12,66.671 27.79,73.161 h 1.87 c 4.63,-6.49 10.17,-24.07 25.93,-73.161 l 38.87,-111.121 c 7.4,-22.203 3.72,-24.067 -22.21,-24.067 z m 284.23,-244.449 -13.9,2.82 c -47.18,8.305 -51.81,14.805 -73.11,76.836 l -133.32,387.942 c -14.8,41.69 -26.89,85.19 -41.69,126.88 -3.73,4.64 -8.31,7.4 -15.71,7.4 -1.87,0 -32.43,-37.96 -64.85,-44.45 2.77,-15.76 -5.54,-37.97 -17.58,-67.62 L 3936.37,746.547 c -19.48,-50 -34.28,-88.867 -45.41,-112.934 -13.85,-30.613 -24.07,-38.922 -50.9,-42.648 l -27.8,-4.633 c -6.49,-8.305 -5.54,-22.203 0.96,-26.836 32.37,1.863 61.07,2.77 91.64,2.77 37.96,-0.907 68.52,-0.907 98.18,-2.77 7.4,3.727 8.31,20.395 1.81,26.836 l -26.84,4.633 c -34.23,4.683 -37.96,7.449 -19.43,62.031 l 37.96,111.121 c 8.31,25.028 7.4,25.028 31.47,25.028 h 123.16 c 25.93,0 28.7,0 37.96,-25.028 l 43.5,-125.922 c 12.03,-39.781 9.27,-45.367 -24.07,-49.043 l -20.33,-2.82 c -5.6,-5.484 -4.69,-22.203 2.77,-26.836 32.37,0.961 73.1,2.77 112.93,2.77 48.18,0 82.42,-0.907 120.38,-2.77 6.45,4.633 6.45,20.395 -0.95,26.836" /><path
51
- id="path30"
52
- style="fill:#3F2B2E;fill-opacity:1;fill-rule:nonzero;stroke:none"
53
- d="m 5133.99,1176.16 c -33.34,-1.81 -57.4,-2.77 -97.23,-2.77 -36.1,0 -70.34,0.96 -106.44,2.77 -9.26,-2.77 -10.22,-20.34 -1.86,-26.84 l 21.3,-2.77 c 23.16,-3.72 37.96,-9.26 46.27,-23.16 16.66,-27.79 17.57,-112.93 17.57,-182.413 V 760.422 c 0,-14.805 0,-19.434 -2.77,-22.203 -9.27,5.539 -95.36,103.672 -134.23,146.265 l -92.59,100.043 c -32.43,35.143 -133.33,151.803 -149.09,191.633 -22.21,-1.81 -44.46,-2.77 -63.89,-2.77 -23.16,0 -74.07,-0.96 -109.26,2.77 -9.27,-2.77 -10.17,-21.3 -3.68,-26.84 l 13.9,-2.77 c 12.94,-2.76 38.87,-10.22 49.04,-18.52 31.52,-26.84 30.56,-41.7 30.56,-113.9 V 794.707 c 0,-73.203 0,-153.715 -12.03,-182.41 -6.5,-14.805 -23.16,-18.531 -40.74,-21.305 l -20.39,-4.629 c -7.4,-6.496 -5.53,-22.258 1.87,-26.836 32.37,1.813 57.39,2.77 96.32,2.77 35.14,0 71.29,-0.957 105.53,-2.77 9.26,2.77 10.17,20.34 1.86,26.836 l -20.39,2.774 c -23.11,3.672 -38.87,9.261 -47.23,23.16 -15.71,27.789 -16.66,112.93 -16.66,182.41 v 180.559 c 0,49.044 0,59.264 2.82,59.264 15.7,-13.9 45.36,-49.092 105.53,-116.717 l 216.65,-247.211 c 66.67,-75.93 93.55,-107.403 108.36,-126.836 11.07,-0.907 24.06,2.773 31.47,12.941 -2.78,21.297 -2.78,135.191 -2.78,162.984 v 221.286 c 0,73.153 0,153.723 12.95,182.413 6.49,14.81 22.2,18.48 39.82,21.3 l 21.3,4.63 c 7.4,6.5 5.54,22.21 -1.86,26.84" /><path
54
- id="path32"
55
- style="fill:#3F2B2E;fill-opacity:1;fill-rule:nonzero;stroke:none"
56
- d="m 5679.33,699.297 c -32.43,-74.969 -52.82,-101.805 -170.38,-99.992 -77.79,0 -93.56,7.449 -104.63,20.39 -13.9,15.758 -15.76,49.039 -15.76,96.317 v 117.566 c 0,23.16 0.91,25.024 22.2,25.024 h 44.46 c 80.56,0 96.32,-1.864 102.77,-40.778 l 6.49,-37.008 c 7.4,-5.593 25.02,-5.593 29.66,0.907 -0.96,29.652 -2.77,62.031 -2.77,97.222 0,34.239 1.81,67.621 2.77,92.594 -4.64,7.399 -22.26,7.399 -29.66,0.906 l -6.49,-31.465 c -6.45,-39.832 -22.21,-40.734 -102.77,-40.734 h -44.46 c -21.29,0 -22.2,0.902 -22.2,24.973 V 1081.7 c 0,52.77 0,54.64 39.83,54.64 h 62.03 c 25.02,0 52.76,-1.87 74.06,-8.32 29.66,-7.39 43.55,-30.56 58.36,-84.28 7.4,-5.54 25.93,-3.68 29.6,3.72 -5.54,39.83 -11.13,112.99 -14.8,128.7 -12.04,-1.82 -65.76,-2.77 -125.02,-2.77 h -176.83 c -40.73,0 -84.23,0.95 -119.43,2.77 -7.45,-3.73 -8.36,-20.34 -1.86,-26.84 l 14.8,-1.86 c 43.56,-6.5 51.86,-9.26 51.86,-107.4 V 695.625 c 0,-98.133 -8.3,-100.953 -51.86,-105.586 l -34.23,-3.676 c -6.5,-6.496 -5.54,-23.164 1.81,-26.836 41.69,1.813 98.18,2.77 138.91,2.77 h 105.59 c 108.3,0 187.95,-0.957 228.64,-2.77 12.98,24.973 33.38,95.364 38.91,134.235 -5.53,9.261 -21.29,12.031 -29.6,5.535" /><path
57
- id="path34"
58
- style="fill:#3F2B2E;fill-opacity:1;fill-rule:nonzero;stroke:none"
59
- d="m 2364.18,188.25 c -6.49,-4.219 -32.24,-8.328 -46.69,-8.328 -1.85,-0.043 -4.49,-0.024 -7.13,0.058 v 0.168 c 0,48.543 0.13,107.602 0.45,114.172 0.02,0.621 0.07,1.129 0.12,1.559 2.17,0.68 5.92,1.5 9.38,1.5 23.2,0 38.94,-5.008 51.05,-16.231 10.87,-10.07 16.65,-26.289 16.65,-46.898 0,-21.352 -12.48,-37.871 -23.83,-46 z M 2494.63,30.5391 c -3.3,0 -15.22,1.1992 -30.49,16.4726 -9.66,9.6485 -19.19,21.1602 -32.92,39.7188 -12.53,16.9685 -42.27,63.5785 -51.13,80.8205 7.72,3.238 17.78,8.187 24.59,14.179 9.59,7.559 29.6,23.282 29.6,59.461 0,24.918 -11.75,47.668 -32.21,62.438 -17.2,12.48 -36.95,17.801 -66.08,17.801 -7.6,0 -15.64,-0.551 -23.9,-1.121 -18,-1.258 -38.11,-0.969 -49.47,0 -6.34,0.562 -13.63,1.613 -19.69,-0.848 -2.7,-1.09 -5.12,-3.012 -6.46,-5.59 -2.2,-4.25 -0.68,-9.652 2.98,-12.543 3.13,-2.476 7.16,-3.457 10.98,-4.308 13.27,-2.211 13.34,-3.442 14.11,-15.219 l 0.19,-3 c 0.99,-15.051 2.62,-40.223 2.62,-100.5 0,-73.68 -1.16,-105.8791 -2.3,-127.5002 -1.15,-16.082 -3.84,-16.6016 -14.2,-18.6211 -7.08,-1.6289 -15.91,-3.6602 -15.91,-12.5078 0,-2.7735 1.19,-11.80081 16.45,-11.80081 3.87,0 8.61,0.41016 14.11,0.91016 7.08,0.64063 15.54,1.41015 25.21,1.41015 8.38,0 14.72,-0.70312 20.27,-1.32031 4.93,-0.54296 9.33,-1 13.91,-1 16.97,0 17.83,9.82811 17.83,11.80081 0,9.5898 -10.16,11.4375 -14.1,12.1484 -13.35,2.2383 -14.26,4.9688 -15.03,7.2891 -0.86,2.6015 -2.76,17.289 -3.23,39.539 -0.44,16.9727 -0.05,65.0626 0.45,77.3126 10.01,0.117 14.6,-0.832 17.58,-1.711 2.96,-0.73 5.92,-3.512 9.8,-7.781 2.07,-2.52 9.54,-14.078 17.46,-26.309 15.26,-23.6287 36.18,-55.9881 51.35,-75.3319 15.81,-19.6367 36.55,-39.71872 70.51,-39.71872 9.42,0 16.35,0.80078 20.55,2.3789 2.76,1.04297 11.14,4.17192 11.14,11.73052 0,5.621 -5,11.3203 -14.57,11.3203" /><path
60
- id="path36"
61
- style="fill:#3F2B2E;fill-opacity:1;fill-rule:nonzero;stroke:none"
62
- d="m 2786.45,42.7617 c -13.89,-10.2109 -28.17,-14.9804 -44.89,-14.9804 -33.39,0 -62.35,16.1093 -86.05,47.8593 -19.51,26.3084 -32.11,62.6214 -32.11,92.4684 0,41.75 11.88,79.469 32.58,103.52 13.61,15.609 42.07,31.75 66.15,31.75 30.41,0 55.1,-11.16 75.47,-34.09 25.48,-28.91 41.31,-70.519 41.31,-108.57 0,-58.11 -27.13,-99.0471 -52.46,-117.9573 z M 2731.4,327.441 c -33.07,0 -70.19,-12.332 -94.46,-31.332 -42.99,-32.711 -63.02,-73.23 -63.02,-127.531 0,-90.3671 72.96,-166.70691 159.3,-166.70691 20.08,0 41.93,5.05079 63.15,14.59771 34.01,15.0117 91.57,62.3828 91.57,144.7112 0,90.129 -71.67,166.261 -156.54,166.261" /><path
63
- id="path38"
64
- style="fill:#3F2B2E;fill-opacity:1;fill-rule:nonzero;stroke:none"
65
- d="m 3241.2,320.16 c -5.4,-0.5 -11.47,-1.051 -17.12,-1.051 -4.68,0 -11.71,0.582 -18.72,1.129 -7.55,0.602 -15.07,1.192 -20.1,1.192 -15.1,0 -17.34,-7.11 -17.34,-11.328 0,-6.411 4.96,-10.641 14.26,-12.454 16,-4.128 16.72,-5.777 16.72,-8.828 0,-5.89 -3.43,-19.082 -8.78,-33.679 -6.78,-19.192 -48.42,-126.231 -66.03,-170.1527 -18.89,46.4997 -64.57,165.9727 -71.97,188.1597 -2.88,8.692 -4.46,13.481 -4.46,17.993 0,1.179 2.19,4.058 8.93,4.937 4.19,0.652 16.97,2.613 16.97,13.563 0,2.648 -1.26,11.32 -17.34,11.32 -3.43,0 -8.81,-0.32 -15.05,-0.723 -8.08,-0.508 -17.71,-1.129 -26.09,-1.129 -2.72,0 -8.73,0.411 -15.14,0.821 -7.82,0.5 -16.18,1.031 -20.48,1.031 -16.07,0 -17.34,-8.672 -17.34,-11.32 0,-3.891 2.08,-10.762 16.18,-13.129 9.38,-1.293 15.25,-6.25 19.61,-16.582 19.93,-46.91 87.31,-220.8284 101.94,-264.1995 l 0.84,-2.9024 c 1.4,-4.79685 3.7,-12.8085687 12.4,-12.8085687 5.87,0 10.48,5.0117187 11.57,12.0312687 1.21,4.8594 7.27,21.9883 18.11,49.2187 20.76,50.4805 37.7,92.1795 50.73,124.2305 14.48,35.68 24.07,59.34 28.68,69.781 16.33,36.758 20.87,38.039 32.68,41.41 4.17,1.047 15.27,3.821 15.27,13.86 0,8.98 -7.99,11.437 -28.93,9.609" /><path
66
- id="path40"
67
- style="fill:#3F2B2E;fill-opacity:1;fill-rule:nonzero;stroke:none"
68
- d="m 3981.76,320.5 c -2.07,0 -4.93,-0.199 -8.48,-0.469 -8.68,-0.64 -23.51,-1.062 -37.42,-0.172 -20.39,1.282 -32.01,-0.589 -32.01,-10.687 0,-8.66 8.46,-10.781 15.19,-12.461 11.42,-2.949 17.17,-4.422 17.17,-27.402 l 0.93,-77.731 c 0.5,-38.668 1.04,-80.199 1.27,-103.4296 -51.33,57.4726 -160.86,181.7736 -188.52,217.5116 -6.78,8.68 -10.53,13.449 -17.38,13.449 -9.27,0 -20.13,0.743 -29.55,1.379 -7.55,0.5 -14.21,0.934 -18.55,0.934 -12.43,0 -18.72,-3.953 -18.72,-11.781 0,-10.34 10.91,-11.911 15.94,-12.621 10.36,-1.731 14.33,-3.668 18.82,-7.11 2.09,-1.629 5,-3.879 5,-26.988 0,-29.461 -3.75,-186.1837 -5.05,-201.8126 -2.12,-24.4688 -4.59,-25.168 -18.72,-29.1485 -6.17,-1.6718 -14.61,-3.9609 -14.61,-12.7421 0,-5.1797 2.84,-11.34771 16.41,-11.34771 1.21,0 3.75,0.23829 7.15,0.61719 11.37,1.22266 33.32,1.64062 46.81,0.3125 25.85,-2.53125 30.46,3.93752 30.46,10.41802 0,9.3593 -9.17,11.8515 -14.52,13.3203 -8.74,2.4922 -15.62,6.5195 -17.27,10.1992 -3.06,6.5234 -4.32,16.8515 -4.32,35.6719 0,10.1093 0.37,54.9488 0.74,98.9808 0.25,28.839 0.47,57.359 0.6,75.558 25.28,-29.508 56.38,-65.5 86.71,-100.609 49.5,-57.2697 96.27,-111.3712 113.23,-132.09 l 1.93,-2.3516 c 3.93,-4.8203 7.75,-9.97652 12.34,-14.19918 3.36,-3.089845 8.48,-4.83985 12.86,-2.871095 3.52,1.570315 5.52,5.300785 6.27,8.941405 0.87,4.26177 0.44,8.69927 0.27,13.01177 -0.59,15.3281 -0.42,31.5898 -0.24,52.0703 0.12,12.1172 0.24,25.7184 0.24,41.4684 0,49.141 1.04,147.141 2.99,161.66 1.57,10.52 2.24,14.879 14.3,18.891 l 2.1,0.75 c 4.07,1.41 11.59,4.027 11.59,12.02 0,4.949 -2.76,10.859 -15.96,10.859" /><path
69
- id="path42"
70
- style="fill:#3F2B2E;fill-opacity:1;fill-rule:nonzero;stroke:none"
71
- d="m 4359.11,95.75 c -8.78,0 -11.45,-9.4687 -12.75,-14.1797 -6.2,-18.5703 -17.07,-32.5586 -32.39,-41.6211 -12.67,-7.6797 -29.05,-11.2578 -51.55,-11.2578 -22.15,0 -53.67,8.2891 -75.54,31.5 -19.24,20.7383 -41.68,61.1996 -41.68,107.0076 0,43.063 16.08,82.93 31.87,99.992 14.79,15.539 39.18,36.188 79.83,36.188 26.29,0 52.28,-8.508 66.69,-22.109 6.76,-5.532 15.64,-18.758 18.94,-32.75 2.94,-10.079 8.34,-12.18 12.39,-12.18 6.78,0 11.31,6.41 11.31,15.961 0,1.609 -0.19,4.461 -0.44,7.98 -0.54,7.418 -1.38,18.61 -0.45,26.688 0,5.633 -3.15,11.332 -8.03,14.551 l -0.35,0.21 c -16.75,9.942 -57.73,25.711 -96.36,25.711 -40.65,0 -82.92,-15.371 -110.27,-40.14 -37.05,-33.551 -55.05,-74.512 -55.05,-125.192 0,-40.937 20.74,-86.6988 40.84,-107.2887 24.27,-24.6601 60.35,-52.94921 124.48,-52.94921 41.63,0 70.47,13.43751 96.29,28.55081 3.4,2.5664 5.82,6.0273 6.98,10.5469 0.22,1.4804 0.81,4.3515 1.53,7.9101 2.76,13.582 5.02,25.3203 5.02,31.3828 0,10.7071 -5.67,15.4883 -11.31,15.4883" /><path
72
- id="path44"
73
- style="fill:#3F2B2E;fill-opacity:1;fill-rule:nonzero;stroke:none"
74
- d="m 3567.87,72.3984 c -3.61,1.5625 -7.64,0.6211 -10.76,-1.5898 -3.48,-2.4688 -6.01,-6.207 -8.42,-9.6484 l -2.62,-3.7305 c -3.57,-5.1094 -9.54,-13.6992 -12.28,-16.1094 -5.75,-5.1289 -9.35,-6.6094 -53,-6.6094 -33.15,0 -37.81,0.9883 -43.8,4.1602 -5.53,2.7891 -7.78,10.7773 -7.78,13.6484 0,3.3594 -0.19,14.711 -0.44,28.7422 -0.39,22.6093 -0.94,52.2383 -0.94,66.5083 v 2.082 c 61.54,-0.032 57.16,-0.524 65,-2.762 2.15,-0.75 4.32,-3.918 6.05,-9.07 0,0 1.62,-4.02 1.62,-4.032 1.33,-3.277 2.66,-6.867 5.45,-9.207 3.11,-2.609 8.34,-2.961 11.82,-0.832 2.54,1.551 4.42,4.86 5.35,7.641 1.18,3.469 1.06,7.031 0.47,10.601 -0.42,2.528 -1.65,14.649 -0.89,22.661 0.37,3.359 0.91,7.339 1.4,11.039 0.82,5.937 1.46,11.25 1.46,13.039 0,10.769 -6.83,13.64 -10.88,13.64 -7.44,0 -10.97,-7.148 -12.28,-9.8 -5.18,-10.34 -7.99,-12.258 -8.92,-12.77 -1.76,-1.09 -4.82,-1.93 -26.45,-1.93 h -39.2 v 107.52 c 0,4.422 0.18,7.101 0.35,8.738 15.96,0.774 76.93,0.524 87.7,-1.476 3.63,-0.602 9.08,-1.5 17.69,-21.911 1.35,-3.211 3.02,-6.711 5.7,-9.043 3,-2.609 7.89,-3.558 11.48,-1.648 3.15,1.672 4.76,5.262 5.41,8.621 0.49,2.52 0.58,5.379 0.02,7.899 -1.67,7.71 -2.31,17.339 -2.73,23.718 l -0.42,5.41 c -1.6,9.993 -5.85,15.063 -12.61,15.063 -1.94,0 -3.96,-0.121 -6.58,-0.27 -4.29,-0.261 -10.36,-0.652 -21.13,-0.652 -9.01,0 -29.45,-0.219 -50.52,-0.437 -22.25,-0.231 -45.18,-0.493 -55.89,-0.493 -7.79,0 -14.28,0.411 -20.22,0.77 -5.38,0.32 -10.34,0.621 -15.39,0.621 -8.86,0 -15.02,-4.461 -15.02,-10.859 0,-3.692 1.73,-10.231 13.17,-12.532 11.25,-2.488 15.04,-3.339 15.04,-28.168 0,-97.863 -0.47,-142.242 -2.32,-215.7808 -0.34,-15.5196 -5.2,-19.0821 -18.86,-21.3594 -4.98,-0.9024 -15.37,-2.8008 -15.37,-12.1289 0,-1.9727 0.82,-11.80081 16.9,-11.80081 1.94,0 6.58,0.3086 12.45,0.71875 9.5,0.67969 22.45,1.60156 31.94,1.60156 17.71,0 38.65,-0.41015 60.92,-0.83984 25.46,-0.49218 52.61,-1.01172 78.73,-1.01172 3.99,0 9.62,1.69926 13.66,9.76956 2.27,4.4687 4.54,12.8906 7.15,22.6094 1.19,4.4218 2.4,8.9531 3.56,12.8203 0.89,2.9804 1.73,5.9726 1.57,9.1211 -0.2,3.9804 -2.49,7.9804 -6.34,9.7382" /><path
75
- id="path46"
76
- style="fill:#3F2B2E;fill-opacity:1;fill-rule:nonzero;stroke:none"
77
- d="m 4685.96,72.3984 c -3.61,1.5625 -7.64,0.6211 -10.76,-1.5898 -3.47,-2.4688 -6.01,-6.207 -8.42,-9.6484 l -2.61,-3.7305 c -3.58,-5.1094 -9.55,-13.6992 -12.29,-16.1094 -5.74,-5.1289 -9.35,-6.6094 -53,-6.6094 -33.15,0 -37.81,0.9883 -43.8,4.1602 -5.53,2.7891 -7.77,10.7773 -7.77,13.6484 0,3.3594 -0.2,14.711 -0.44,28.7422 -0.4,22.6093 -0.94,52.2383 -0.94,66.5083 v 2.082 c 61.53,-0.032 57.15,-0.524 65,-2.762 2.14,-0.75 4.31,-3.918 6.04,-9.07 0,0 1.62,-4.02 1.63,-4.032 1.32,-3.277 2.66,-6.867 5.45,-9.207 3.1,-2.609 8.34,-2.961 11.81,-0.832 2.54,1.551 4.42,4.86 5.35,7.641 1.19,3.469 1.06,7.031 0.47,10.601 -0.42,2.528 -1.65,14.649 -0.88,22.661 0.36,3.359 0.91,7.339 1.4,11.039 0.81,5.937 1.45,11.25 1.45,13.039 0,10.769 -6.83,13.64 -10.87,13.64 -7.45,0 -10.98,-7.148 -12.28,-9.8 -5.19,-10.34 -8,-12.258 -8.93,-12.77 -1.75,-1.09 -4.81,-1.93 -26.44,-1.93 h -39.2 v 107.52 c 0,4.422 0.17,7.101 0.34,8.738 15.96,0.774 76.93,0.524 87.71,-1.476 3.62,-0.602 9.08,-1.5 17.68,-21.911 1.36,-3.211 3.02,-6.711 5.7,-9.043 3.01,-2.609 7.89,-3.558 11.48,-1.648 3.15,1.672 4.77,5.262 5.42,8.621 0.48,2.52 0.57,5.379 0.02,7.899 -1.68,7.71 -2.32,17.339 -2.74,23.718 l -0.42,5.41 c -1.6,9.993 -5.84,15.063 -12.6,15.063 -1.95,0 -3.97,-0.121 -6.59,-0.27 -4.29,-0.261 -10.35,-0.652 -21.13,-0.652 -9,0 -29.45,-0.219 -50.51,-0.437 -22.25,-0.231 -45.19,-0.493 -55.89,-0.493 -7.8,0 -14.28,0.411 -20.23,0.77 -5.38,0.32 -10.33,0.621 -15.39,0.621 -8.85,0 -15.02,-4.461 -15.02,-10.859 0,-3.692 1.73,-10.231 13.17,-12.532 11.25,-2.488 15.05,-3.339 15.05,-28.168 0,-97.863 -0.47,-142.242 -2.32,-215.7808 -0.35,-15.5196 -5.21,-19.0821 -18.87,-21.3594 -4.98,-0.9024 -15.36,-2.8008 -15.36,-12.1289 0,-1.9727 0.81,-11.80081 16.89,-11.80081 1.95,0 6.58,0.3086 12.45,0.71875 9.5,0.67969 22.45,1.60156 31.94,1.60156 17.71,0 38.65,-0.41015 60.92,-0.83984 25.46,-0.49218 52.61,-1.01172 78.73,-1.01172 4,0 9.62,1.69926 13.66,9.76956 2.28,4.4687 4.54,12.8906 7.16,22.6094 1.18,4.4218 2.39,8.9531 3.55,12.8203 0.89,2.9804 1.73,5.9726 1.57,9.1211 -0.2,3.9804 -2.49,7.9804 -6.34,9.7382" /><path
78
- id="path48"
79
- style="fill:#3F2B2E;fill-opacity:1;fill-rule:nonzero;stroke:none"
80
- d="m 2053.69,162.371 c -11.68,-7.941 -31.81,-14.121 -61.83,-3.051 -0.05,35.121 -0.25,82.821 -0.38,112.352 l 0.49,27.719 c 3.95,0.937 11.86,2.14 18.63,2.14 19.48,0 34.06,-6.672 48.96,-22.472 19.6,-19.61 20.61,-49.629 20.61,-55.45 0,-34.648 -13.21,-52.211 -26.48,-61.238 z m 46.95,130.348 c -19.21,21.211 -50.04,32.41 -89.11,32.41 -4.46,0 -14.7,-0.84 -24.84,-1.707 -7.89,-0.66 -15.71,-1.332 -20.37,-1.524 -12.35,-0.468 -25.64,-0.937 -32.48,-0.937 -9.1,0 -15.96,-5.07 -15.96,-11.789 0,-6.453 4.89,-10.531 15.05,-12.211 11,-1.18 11.17,-4.652 11.34,-7.621 0.84,-8.399 3.21,-69.551 3.21,-107.809 0,-71.222 -0.47,-125.1208 -0.94,-135.8826 -0.61,-10.1289 -1.58,-11.1289 -13.09,-13.4375 -4.02,-0.8593 -14.68,-3.1093 -14.68,-12.5312 0,-4.2305 2.2,-11.33986 16.9,-11.33986 2.22,0 5.57,0.30079 9.59,0.67969 5.3,0.51953 11.96,1.17187 18.62,1.17187 11.77,0 19.63,-0.70312 26.62,-1.32031 5.96,-0.53125 11.34,-1 17.78,-1 15.19,0 15.95,9.82811 15.95,11.80861 0,10.4492 -12.13,12.0391 -16.44,12.6016 -10.07,1.6289 -13,2.75 -14.12,17.1484 -0.83,11.6484 -1.73,41.1601 -1.78,88.9683 7.72,-5.058 50.78,-21.668 92.38,5.481 28.88,18.859 42.62,46.152 42.62,82.512 0,24.629 -9.89,49.5 -26.25,66.328" /><path
81
- id="path50"
82
- style="fill:#3F2B2E;fill-opacity:1;fill-rule:nonzero;stroke:none"
83
- d="m 1237.15,72.3984 c -3.61,1.5625 -7.64,0.6211 -10.76,-1.5898 -3.47,-2.4688 -6.01,-6.207 -8.42,-9.6484 l -2.61,-3.7305 c -3.58,-5.1094 -9.55,-13.6992 -12.29,-16.1094 -5.74,-5.1289 -9.34,-6.6094 -53,-6.6094 -33.15,0 -37.81,0.9883 -43.8,4.1602 -5.52,2.7891 -7.77,10.7773 -7.77,13.6484 0,3.3594 -0.2,14.711 -0.45,28.7422 -0.39,22.6093 -0.93,52.2383 -0.93,66.5083 v 2.082 c 61.53,-0.032 57.15,-0.524 65,-2.762 2.14,-0.75 4.31,-3.918 6.04,-9.07 0,0 1.62,-4.02 1.63,-4.032 1.32,-3.277 2.66,-6.867 5.45,-9.207 3.1,-2.609 8.34,-2.961 11.82,-0.832 2.53,1.551 4.41,4.86 5.34,7.641 1.18,3.469 1.06,7.031 0.47,10.601 -0.42,2.528 -1.65,14.649 -0.88,22.661 0.36,3.359 0.91,7.339 1.4,11.039 0.81,5.937 1.45,11.25 1.45,13.039 0,10.769 -6.83,13.64 -10.87,13.64 -7.45,0 -10.98,-7.148 -12.29,-9.8 -5.17,-10.34 -7.99,-12.258 -8.92,-12.77 -1.75,-1.09 -4.81,-1.93 -26.44,-1.93 h -39.2 v 107.52 c 0,4.422 0.17,7.101 0.34,8.738 15.96,0.774 76.93,0.524 87.71,-1.476 3.62,-0.602 9.08,-1.5 17.68,-21.911 1.36,-3.211 3.03,-6.711 5.7,-9.043 3,-2.609 7.9,-3.558 11.48,-1.648 3.15,1.672 4.77,5.262 5.42,8.621 0.48,2.52 0.57,5.379 0.02,7.899 -1.68,7.71 -2.32,17.339 -2.74,23.718 l -0.42,5.41 c -1.6,9.993 -5.84,15.063 -12.6,15.063 -1.95,0 -3.97,-0.121 -6.59,-0.27 -4.29,-0.261 -10.36,-0.652 -21.14,-0.652 -8.99,0 -29.44,-0.219 -50.5,-0.437 -22.25,-0.231 -45.19,-0.493 -55.89,-0.493 -7.8,0 -14.28,0.411 -20.23,0.77 -5.38,0.32 -10.33,0.621 -15.39,0.621 -8.85,0 -15.02,-4.461 -15.02,-10.859 0,-3.692 1.73,-10.231 13.17,-12.532 11.25,-2.488 15.05,-3.339 15.05,-28.168 0,-97.863 -0.47,-142.242 -2.32,-215.7808 -0.34,-15.5196 -5.21,-19.0821 -18.87,-21.3594 C 1027,30.8984 1016.62,29 1016.62,19.6719 c 0,-1.9727 0.81,-11.80081 16.89,-11.80081 1.95,0 6.58,0.3086 12.45,0.71875 9.5,0.67969 22.45,1.60156 31.94,1.60156 17.71,0 38.65,-0.41015 60.92,-0.83984 25.46,-0.49218 52.62,-1.01172 78.73,-1.01172 4,0 9.62,1.69926 13.67,9.76956 2.26,4.4687 4.54,12.8906 7.15,22.6094 1.18,4.4218 2.39,8.9531 3.55,12.8203 0.89,2.9804 1.73,5.9726 1.57,9.1211 -0.2,3.9804 -2.49,7.9804 -6.34,9.7382" /><path
84
- id="path52"
85
- style="fill:#3F2B2E;fill-opacity:1;fill-rule:nonzero;stroke:none"
86
- d="m 1647.15,320.5 c -2.07,0 -4.94,-0.199 -8.49,-0.469 -8.68,-0.64 -23.5,-1.062 -37.41,-0.172 -20.4,1.282 -32.01,-0.589 -32.01,-10.687 0,-8.66 8.46,-10.781 15.19,-12.461 11.42,-2.949 17.17,-4.422 17.17,-27.402 l 0.93,-77.731 c 0.5,-38.668 1.03,-80.199 1.26,-103.4296 -51.33,57.4726 -160.86,181.7736 -188.51,217.5116 -6.78,8.68 -10.53,13.449 -17.38,13.449 -9.28,0 -20.13,0.743 -29.55,1.379 -7.55,0.5 -14.21,0.934 -18.55,0.934 -12.43,0 -18.72,-3.953 -18.72,-11.781 0,-10.34 10.9,-11.911 15.93,-12.621 10.36,-1.731 14.33,-3.668 18.82,-7.11 2.1,-1.629 5.01,-3.879 5.01,-26.988 0,-29.461 -3.75,-186.1837 -5.06,-201.8126 -2.12,-24.4688 -4.58,-25.168 -18.72,-29.1485 -6.17,-1.6718 -14.6,-3.9609 -14.6,-12.7421 0,-5.1797 2.84,-11.34771 16.4,-11.34771 1.21,0 3.75,0.23829 7.15,0.61719 11.38,1.22266 33.32,1.64062 46.82,0.3125 25.84,-2.53125 30.46,3.93752 30.46,10.41802 0,9.3593 -9.18,11.8515 -14.53,13.3203 -8.73,2.4922 -15.61,6.5195 -17.27,10.1992 -3.05,6.5234 -4.31,16.8515 -4.31,35.6719 0,10.1093 0.37,54.9488 0.74,98.9808 0.25,28.839 0.47,57.359 0.59,75.558 25.28,-29.508 56.38,-65.5 86.72,-100.609 49.5,-57.2697 96.26,-111.3712 113.23,-132.09 l 1.93,-2.3516 c 3.93,-4.8203 7.75,-9.97652 12.34,-14.19918 3.35,-3.089845 8.47,-4.83985 12.86,-2.871095 3.52,1.570315 5.52,5.300785 6.26,8.941405 0.88,4.26177 0.44,8.69927 0.28,13.01177 -0.59,15.3281 -0.42,31.5898 -0.25,52.0703 0.12,12.1172 0.25,25.7184 0.25,41.4684 0,49.141 1.03,147.141 2.98,161.66 1.58,10.52 2.25,14.879 14.31,18.891 l 2.09,0.75 c 4.07,1.41 11.6,4.027 11.6,12.02 0,4.949 -2.76,10.859 -15.96,10.859" /></g></g></svg>`;
87
- var y = Object.defineProperty, v = Object.getOwnPropertyDescriptor, i = (p, e, t, r) => {
88
- for (var l = r > 1 ? void 0 : r ? v(e, t) : e, a = p.length - 1, c; a >= 0; a--)
89
- (c = p[a]) && (l = (r ? c(e, t, l) : c(l)) || l);
90
- return r && l && y(e, t, l), l;
91
- };
92
- const d = class d extends u(g) {
93
- constructor() {
94
- super(...arguments), this.ispagedesigner = !1, this._classPopin = "", this.open = !1, this.background = "", this.backgroundUrl = "", this.closeOnEsc = !0, this.closeOnBackdrop = !0, this.lockScroll = !0, this.variant = "fullscreen", this.maxWidth = "640px", this.showBackButton = !1, this.contrast = !1, this.iconSize = "large", this.hideHeaderOnScroll = !1, this._labelId = `title-${Math.random().toString(36).slice(2)}`, this._headerHidden = !1, this._onBackdropClick = (e) => {
95
- var r;
96
- if (!this.open || !this.closeOnBackdrop) return;
97
- const t = e.composedPath()[0];
98
- (r = t == null ? void 0 : t.classList) != null && r.contains("backdrop") && this._requestClose("backdrop");
99
- }, this._onScroll = (e) => {
100
- if (!this.hideHeaderOnScroll || !this.open) return;
101
- const l = e.target.scrollTop > 50;
102
- l !== this._headerHidden && (this._headerHidden = l, this.requestUpdate());
103
- };
104
- }
105
- get classPopin() {
106
- return this.ispagedesigner ? "pagedesigner-popin " + this._classPopin : this._classPopin;
107
- }
108
- set classPopin(e) {
109
- this._classPopin = e;
110
- }
111
- connectedCallback() {
112
- super.connectedCallback(), this._onKeydown = this._onKeydown.bind(this), this._onScroll = this._onScroll.bind(this), document.addEventListener("keydown", this._onKeydown);
113
- }
114
- disconnectedCallback() {
115
- document.removeEventListener("keydown", this._onKeydown), this._removeScrollListener(), super.disconnectedCallback();
116
- }
117
- updated(e) {
118
- if (e.has("background") || e.has("backgroundUrl")) {
119
- let t = "";
120
- this.background && this.background.trim() ? t = this.background.trim() : this.backgroundUrl && this.backgroundUrl.trim() && (t = `url('${this.backgroundUrl.trim()}') center/cover no-repeat`), this.style.setProperty("--_bg", t);
121
- }
122
- if (e.has("open")) {
123
- if (this.lockScroll) {
124
- const t = document == null ? void 0 : document.body;
125
- t && (t.style.overflow = this.open && !this.ispagedesigner ? "hidden" : "");
126
- }
127
- this.open ? this.updateComplete.then(() => {
128
- var r;
129
- (r = this.renderRoot.querySelector("[data-close-btn]") ?? this.renderRoot.querySelector('[role="dialog"]')) == null || r.focus(), this._setupScrollListener(), this.dispatchEvent(new CustomEvent("open", { bubbles: !0, composed: !0 }));
130
- }) : (this._removeScrollListener(), this._headerHidden = !1, this.dispatchEvent(new CustomEvent("close", { bubbles: !0, composed: !0 })));
131
- }
132
- (e.has("hideHeaderOnScroll") || e.has("open")) && (this.open ? this._setupScrollListener() : this._removeScrollListener());
133
- }
134
- _onKeydown(e) {
135
- this.open && this.closeOnEsc && e.key === "Escape" && (e.preventDefault(), this._requestClose("esc"));
136
- }
137
- _setupScrollListener() {
138
- this.hideHeaderOnScroll && (this._removeScrollListener(), this.updateComplete.then(() => {
139
- const e = this.renderRoot.querySelector('main[part="body"]');
140
- e && e.addEventListener("scroll", this._onScroll, { passive: !0 });
141
- }));
142
- }
143
- _removeScrollListener() {
144
- const e = this.renderRoot.querySelector('main[part="body"]');
145
- e && e.removeEventListener("scroll", this._onScroll);
146
- }
147
- _onBackClick() {
148
- this.dispatchEvent(new CustomEvent("back", { bubbles: !0, composed: !0 }));
149
- }
150
- _resolvedIconSize() {
151
- return ["xsmall", "small", "medium", "large"].includes(this.iconSize) ? this.iconSize : "large";
152
- }
153
- _requestClose(e) {
154
- const t = new CustomEvent("request-close", {
155
- bubbles: !0,
156
- composed: !0,
157
- detail: { reason: e }
158
- });
159
- this.dispatchEvent(t), t.defaultPrevented || (this.open = !1);
160
- }
161
- _renderCloseButton() {
162
- return customElements.get("o-icon-button") ? s`
163
- <o-icon-button
164
- data-close-btn
165
- icon="occ-close-outlined"
166
- size="${this._resolvedIconSize()}"
167
- bgstyle="none-${this.contrast ? "contrast" : "light"}"
168
- status="empty"
169
- type="button"
170
- aria-label="Close"
171
- @click=${() => this._requestClose("button")}
172
- ></o-icon-button>
173
- ` : s`
174
- <button class="close" data-close-btn aria-label="Close" @click=${() => this._requestClose("button")}>×</button>
175
- `;
176
- }
177
- _renderBackButton() {
178
- return s`
179
- <div part="back">
180
- <o-icon-button
181
- icon="arrowLeft"
182
- size="${this._resolvedIconSize()}"
183
- status="empty"
184
- class="return-btn"
185
- bgstyle="none-${this.contrast ? "contrast" : "light"}"
186
- data-role="back"
187
- @click=${() => this._onBackClick()}
188
- @keydown=${() => this._onBackClick()}
189
- srlabel="Go back"
190
- ?showsrlabel=${!0}
191
- tabindex="-1"
192
- ></o-icon-button>
193
- </div>
194
- `;
195
- }
196
- render() {
197
- const e = `dialog${this._headerHidden ? " header-hidden" : ""}`, t = this._headerHidden ? "hidden" : "";
198
- return s`
199
- ${this.open ? s`<div class="backdrop" part="backdrop" @click=${this._onBackdropClick}></div>` : null}
200
- <div class="dialog-wrapper ${this.ispagedesigner ? "intro-pagedesigner" : ""}" @click=${this._onBackdropClick} aria-hidden=${this.open ? "false" : "true"}>
201
- <section
202
- class="${e}"
203
- part="dialog"
204
- role="dialog"
205
- aria-modal="true"
206
- tabindex="-1"
207
- aria-labelledby=${this._labelId}
208
- >
209
- <header part="header" class="${t}">
210
- ${this.showBackButton ? this._renderBackButton() : null}
211
- <div class="brand">
212
- <span slot="logo${this.contrast ? "-contrast" : ""}">${m(b)}</span>
213
- </div>
214
- <div part="close${this.contrast ? "-contrast" : ""}">${this._renderCloseButton()}</div>
215
- </header>
216
- <main part="body">
217
- <slot></slot>
218
- </main>
219
- </section>
220
- </div>
221
- `;
222
- }
223
- };
224
- d.styles = f`
225
- :host {
226
- position: fixed;
227
- inset: 0;
228
- display: none;
229
- z-index: var(--popin-z-index, 2147483000);
230
- --_radius: var(--radius-m, 12px);
231
- --_spacing: var(--spacing-m, 16px);
232
- --_shadow: var(--shadow-l, 0 20px 40px rgba(0,0,0,.2));
233
- --_bg-blur: var(--popin-backdrop-blur, 2px);
234
- --_header-height: 64px;
235
- --_max-width: var(--popin-max-width, 640px);
236
- --_logo-width: 176px;
237
- }
238
- :host([ispagedesigner]) {
239
- position: relative;
240
- display: block;
241
- }
242
- :host([open]) { display: block; }
243
-
244
- .backdrop {
245
- position: absolute;
246
- inset: 0;
247
- background: var(--popin-backdrop, rgba(0,0,0,.5));
248
- backdrop-filter: blur(var(--_bg-blur));
249
- }
250
-
251
- .dialog-wrapper {
252
- position: absolute;
253
- inset: 0;
254
- display: grid;
255
- place-items: center;
256
- padding: 0;
257
- }
258
- .dialog-wrapper.intro-pagedesigner {
259
- height: 100vh;
260
- max-height: 900px;
261
- position: relative;
262
- }
263
-
264
- /* FULLSCREEN */
265
- .dialog {
266
- position: relative;
267
- width: 100%;
268
- height: 100%;
269
- max-height: 100vh;
270
- border-radius: 0;
271
- overflow: clip;
272
- box-shadow: none;
273
- outline: none;
274
- display: grid;
275
- grid-template-rows: var(--_header-height) 1fr;
276
- background: var(--color-container-bg-white, #fff);
277
- }
278
-
279
- .dialog::before {
280
- content: '';
281
- position: absolute;
282
- inset: 0;
283
- background: var(--_bg, none);
284
- background-size: cover;
285
- background-position: center;
286
- opacity: 1;
287
- pointer-events: none;
288
- z-index: 0;
289
- transition: opacity .2s ease;
290
- }
291
-
292
- header[part="header"] {
293
- position: relative;
294
- display: flex;
295
- align-items: start;
296
- justify-content: center;
297
- padding: var(--spacing-xl) 0 0 0;
298
- height: 147px;
299
- width: 100%;
300
- background: linear-gradient(
301
- to bottom,
302
- var(--popin-top-gradient-color, rgba(0, 0, 0, 1)) -168px,
303
- rgba(0, 0, 0, 0)
304
- );
305
- z-index: 2;
306
- transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
307
- overflow: hidden;
308
- }
309
-
310
- /* Header hidden on scroll - use more specific selectors and important to override */
311
- :host([hide-header-on-scroll]) header[part="header"].hidden {
312
- transform: translateY(-100%) !important;
313
- opacity: 0 !important;
314
- pointer-events: none !important;
315
- visibility: hidden !important;
316
- height: 0 !important;
317
- min-height: 0 !important;
318
- padding: 0 !important;
319
- margin: 0 !important;
320
- overflow: hidden !important;
321
- }
322
-
323
- /* When header is hidden, adjust the grid to give more space to content */
324
- :host([hide-header-on-scroll]) .dialog.header-hidden {
325
- grid-template-rows: 0px 1fr !important;
326
- }
327
-
328
- /* Ensure the header takes no space when hidden in dialog variant */
329
- :host([variant="dialog"][hide-header-on-scroll]) .dialog.header-hidden {
330
- grid-template-rows: 0px 1fr !important;
331
- }
332
-
333
- .brand { display: inline-flex; align-items: center; gap: var(--spacing-s, 8px); }
334
- ::slotted([slot="logo"]) { display: inline-flex; height: 28px; line-height: 0; }
335
- [slot="logo"] svg, [slot="logo-contrast"] svg { width: var(--_logo-width, 176px); height: auto; }
336
- [slot="logo"] svg path { fill: #fff !important; }
337
-
338
- [part="close"] { position: absolute; top: 16px; right: 36px; }
339
- [part="close-contrast"] { position: absolute; top: 16px; right: var(--spacing-l); }
340
- [part="back"] { position: absolute; top: 16px; left: var(--spacing-l); }
341
- @media (max-width: 767px) { [part="close"] { right: 8px; top: 22px; } }
342
-
343
- .close { font: inherit; border: 0; background: transparent; cursor: pointer;
344
- width: 36px; height: 36px; border-radius: 999px; display: grid; place-items: center; }
345
-
346
- main[part="body"] { position: relative; z-index: 1; padding: 0; overflow: auto; height: 100%; }
347
-
348
- /* Variant: dialog */
349
- :host([variant="dialog"]) .dialog { width: min(var(--_max-width), calc(100vw - 2 * var(--spacing-l, 24px))); max-height: min(86vh, 100%); border-radius: var(--_radius); box-shadow: var(--_shadow); }
350
- :host([variant="dialog"]) .dialog-wrapper { place-items: center; }
351
- :host([variant="dialog"]) main[part="body"] { height: auto; }
352
-
353
- /* Open animation */
354
- :host([open]) .dialog { animation: popin-in .18s ease; }
355
- @keyframes popin-in {
356
- from { transform: translateY(10px) scale(.98); opacity: 0; }
357
- to { transform: translateY(0) scale(1); opacity: 1; }
358
- }
359
- `;
360
- let o = d;
361
- i([
362
- n({ type: Boolean, reflect: !0 })
363
- ], o.prototype, "ispagedesigner", 2);
364
- i([
365
- n({ type: String, reflect: !0 })
366
- ], o.prototype, "classPopin", 1);
367
- i([
368
- n({ type: Boolean, reflect: !0 })
369
- ], o.prototype, "open", 2);
370
- i([
371
- n({ type: String, reflect: !0 })
372
- ], o.prototype, "background", 2);
373
- i([
374
- n({ type: String, attribute: "background-url", reflect: !0 })
375
- ], o.prototype, "backgroundUrl", 2);
376
- i([
377
- n({ type: Boolean, attribute: "close-on-esc" })
378
- ], o.prototype, "closeOnEsc", 2);
379
- i([
380
- n({ type: Boolean, attribute: "close-on-backdrop" })
381
- ], o.prototype, "closeOnBackdrop", 2);
382
- i([
383
- n({ type: Boolean, attribute: "lock-scroll" })
384
- ], o.prototype, "lockScroll", 2);
385
- i([
386
- n({ type: String, reflect: !0 })
387
- ], o.prototype, "variant", 2);
388
- i([
389
- n({ type: String, attribute: "max-width" })
390
- ], o.prototype, "maxWidth", 2);
391
- i([
392
- n({ type: Boolean, reflect: !0 })
393
- ], o.prototype, "showBackButton", 2);
394
- i([
395
- n({ type: Boolean, reflect: !0 })
396
- ], o.prototype, "contrast", 2);
397
- i([
398
- n({ type: String, reflect: !0 })
399
- ], o.prototype, "iconSize", 2);
400
- i([
401
- n({ type: Boolean, attribute: "hide-header-on-scroll" })
402
- ], o.prototype, "hideHeaderOnScroll", 2);
403
- i([
404
- h()
405
- ], o.prototype, "_labelId", 2);
406
- i([
407
- h()
408
- ], o.prototype, "_headerHidden", 2);
409
- customElements.define("o-popin", o);
410
- export {
411
- o as OPopin
412
- };
@@ -1,165 +0,0 @@
1
- import { i as c, m as p, a as b, x as d, t as u } from "../performance-mixin-vBVz5Iib.mjs";
2
- import { n as o } from "../property-8EkRXcYy.mjs";
3
- import { e as f } from "../query-NJDNu0-P.mjs";
4
- var y = Object.defineProperty, x = Object.getOwnPropertyDescriptor, t = (i, s, a, r) => {
5
- for (var n = r > 1 ? void 0 : r ? x(s, a) : s, l = i.length - 1, h; l >= 0; l--)
6
- (h = i[l]) && (n = (r ? h(s, a, n) : h(n)) || n);
7
- return r && n && y(s, a, n), n;
8
- };
9
- let g = 0, e = class extends p(b) {
10
- constructor() {
11
- super(), this.checked = !1, this.disabled = !1, this.size = "S", this.showLabel = !0, this.label = "Radio button", this.name = "", this.value = "on", this.inputId = "", this.inputId || (this.inputId = `o-radio-${++g}`);
12
- }
13
- handleClick() {
14
- this.disabled || this.checked || (this.checked = !0, this.syncInput(), this.dispatchEvent(new Event("change", { bubbles: !0, composed: !0 })));
15
- }
16
- syncInput() {
17
- this.inputEl && (this.inputEl.checked = this.checked);
18
- }
19
- updated(i) {
20
- if (i.has("checked") && this.checked) {
21
- const s = this.parentElement;
22
- s && Array.from(s.querySelectorAll(`o-radio[name="${this.name}"]`)).forEach((r) => {
23
- r !== this && (r.checked = !1);
24
- });
25
- }
26
- this.syncInput();
27
- }
28
- handleKeyDown(i) {
29
- this.disabled || (i.key === " " || i.key === "Enter") && (i.preventDefault(), this.handleClick());
30
- }
31
- render() {
32
- return d`
33
- <input type="radio" id=${this.inputId} ?checked=${this.checked} ?disabled=${this.disabled} name=${this.name} value=${this.value} />
34
-
35
- <div class="box" role="radio" tabindex=${this.disabled ? -1 : 0} aria-checked=${String(this.checked)} aria-disabled=${String(this.disabled)} @click=${this.handleClick} @keydown=${this.handleKeyDown}>
36
- <span class="dot"></span>
37
- </div>
38
-
39
- ${this.showLabel ? d`<label class="label" for=${this.inputId}>${this.label}</label>` : ""}
40
- `;
41
- }
42
- };
43
- e.styles = c`
44
- :host {
45
- display: inline-flex;
46
- align-items: center;
47
- gap: var(--spacing-s);
48
- cursor: pointer;
49
- user-select: none;
50
- outline: none;
51
- }
52
-
53
- :host([disabled]) {
54
- opacity: 0.5;
55
- cursor: not-allowed;
56
- }
57
-
58
- .box {
59
- position: relative;
60
- display: inline-flex;
61
- align-items: center;
62
- justify-content: center;
63
- border: 1px solid #7e7173; /* contour du cercle */
64
- background: #fbf9f6; /* fond clair */
65
- border-radius: 50%;
66
- box-sizing: border-box;
67
- transition: box-shadow 0.2s;
68
- }
69
-
70
- :host([size="S"]) .box {
71
- width: 16px;
72
- height: 16px;
73
- }
74
- :host([size="L"]) {
75
- .box {
76
- width: 24px;
77
- height: 24px;
78
- border: 2px solid #7e7173;
79
- }
80
-
81
- .label {
82
- line-height: var(--line-height-200);
83
- font-size: var(--font-size-200);
84
- }
85
- }
86
-
87
- :host(:focus-visible) .box {
88
- box-shadow: 0 0 0 3px var(--color-border-primary);
89
- }
90
-
91
- .box:hover:not([aria-disabled="true"]) {
92
- box-shadow: 0 0 0 4px #e8dfe3;
93
- }
94
- .box:active:not([aria-disabled="true"]) {
95
- box-shadow: 0 0 0 4px #d6c6cc;
96
- }
97
-
98
- .label {
99
- color: var(--color-content-action-secondary);
100
- font-family: var(--font-family-loccitane-sans);
101
- font-size: var(--font-size-100);
102
- font-weight: var(--font-weight-400);
103
- line-height: var(--line-height-160);
104
- letter-spacing: var(--letter-spacing-400);
105
- }
106
-
107
- .dot {
108
- opacity: 0;
109
- width: 8px;
110
- height: 8px;
111
- background-color: #3f2b2e; /* cercle plein foncé */
112
- border-radius: 50%;
113
- transition: opacity 0.2s;
114
- }
115
-
116
- :host([size="L"]) .dot {
117
- width: 12px;
118
- height: 12px;
119
- }
120
-
121
- :host([checked]) .dot {
122
- opacity: 1;
123
- }
124
-
125
- input {
126
- position: absolute;
127
- opacity: 0;
128
- pointer-events: none;
129
- width: 0;
130
- height: 0;
131
- }
132
- `;
133
- t([
134
- o({ type: Boolean, reflect: !0 })
135
- ], e.prototype, "checked", 2);
136
- t([
137
- o({ type: Boolean, reflect: !0 })
138
- ], e.prototype, "disabled", 2);
139
- t([
140
- o({ type: String, reflect: !0 })
141
- ], e.prototype, "size", 2);
142
- t([
143
- o({ type: Boolean })
144
- ], e.prototype, "showLabel", 2);
145
- t([
146
- o({ type: String })
147
- ], e.prototype, "label", 2);
148
- t([
149
- o({ type: String })
150
- ], e.prototype, "name", 2);
151
- t([
152
- o({ type: String })
153
- ], e.prototype, "value", 2);
154
- t([
155
- o({ type: String, reflect: !0 })
156
- ], e.prototype, "inputId", 2);
157
- t([
158
- f("input")
159
- ], e.prototype, "inputEl", 2);
160
- e = t([
161
- u("o-radio")
162
- ], e);
163
- export {
164
- e as OccitaneRadio
165
- };