@duplicati/ngclient 0.0.22 → 0.0.24

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 (92) hide show
  1. package/assets/backgrounds/base-bg.svg +9 -0
  2. package/assets/duplicati/duplicati-dark.svg +40 -0
  3. package/assets/duplicati/duplicati.svg +40 -0
  4. package/assets/duplicati/pattern.svg +45 -0
  5. package/assets/noise/auth-noise.svg +57 -0
  6. package/chunk-2653SOTQ.js +1 -0
  7. package/chunk-2EGLLTER.js +1 -0
  8. package/chunk-2MDIWOW5.js +1 -0
  9. package/chunk-3UHRO33D.js +1 -0
  10. package/{chunk-4EODC7AQ.js → chunk-3XQGPHYU.js} +1 -1
  11. package/chunk-4C6SJEAP.js +1 -0
  12. package/chunk-4HGECFGT.js +1 -0
  13. package/chunk-4JYRDCTW.js +1 -0
  14. package/chunk-4NLCRQLQ.js +1 -0
  15. package/chunk-637GTPYL.js +1 -0
  16. package/chunk-67JGZ4NF.js +7 -0
  17. package/chunk-AEQ7QJXE.js +1 -0
  18. package/chunk-BTF6XTSM.js +1 -0
  19. package/chunk-C3SI6ECZ.js +1 -0
  20. package/chunk-CESPRUJX.js +1 -0
  21. package/{chunk-N6REZCKW.js → chunk-CUYURNCB.js} +1 -1
  22. package/{chunk-EEZT434V.js → chunk-EOYIT7GV.js} +1 -1
  23. package/chunk-GO7CLBZY.js +1 -0
  24. package/chunk-GTGXQQJJ.js +1 -0
  25. package/chunk-HJUBM7Q5.js +1 -0
  26. package/chunk-JE2I63Y6.js +2 -0
  27. package/chunk-JRKR54DW.js +1 -0
  28. package/chunk-KJQLPHGM.js +1 -0
  29. package/chunk-KV674FA2.js +1 -0
  30. package/{chunk-6GOAPINI.js → chunk-MJCUB3L3.js} +1 -1
  31. package/chunk-NAPR7ILQ.js +1 -0
  32. package/chunk-NAZLO3UY.js +1 -0
  33. package/chunk-NILUA3YB.js +1 -0
  34. package/chunk-NVZUM7FG.js +1 -0
  35. package/chunk-NYFN2CT6.js +6 -0
  36. package/chunk-OSB5J6SK.js +1 -0
  37. package/chunk-P6347OTT.js +1 -0
  38. package/chunk-RHGRQONA.js +1 -0
  39. package/chunk-RNJMBZB7.js +1 -0
  40. package/chunk-SGZGAY7X.js +1 -0
  41. package/chunk-SRW3NRX3.js +1 -0
  42. package/{chunk-SFRGISK2.js → chunk-SRX3KYGO.js} +1 -1
  43. package/chunk-T2ZGAXWS.js +1 -0
  44. package/chunk-TNE7LVPH.js +1 -0
  45. package/chunk-VA5L4XPW.js +1 -0
  46. package/chunk-VJDUCP4Z.js +1 -0
  47. package/chunk-VXKI3RQB.js +1 -0
  48. package/chunk-X2IPCPJN.js +1 -0
  49. package/chunk-YBWO6L26.js +1 -0
  50. package/{chunk-PFVXGEM7.js → chunk-Z3RCJ5NZ.js} +1 -1
  51. package/chunk-ZLOKN5SO.js +1 -0
  52. package/index.html +1 -1
  53. package/main-WZ7WTPZS.js +1 -0
  54. package/package.json +1 -1
  55. package/chunk-22ZYSOTR.js +0 -1
  56. package/chunk-37USSSCL.js +0 -1
  57. package/chunk-3ZEBM2Q6.js +0 -1
  58. package/chunk-4SQTVC5T.js +0 -1
  59. package/chunk-5AC7O5ME.js +0 -1
  60. package/chunk-73UOOUBD.js +0 -1
  61. package/chunk-7JBXSDSO.js +0 -1
  62. package/chunk-AIWAOXTQ.js +0 -1
  63. package/chunk-BHQV6I5A.js +0 -1
  64. package/chunk-C6XNKGG2.js +0 -1
  65. package/chunk-CLHK3WG3.js +0 -1
  66. package/chunk-CLPPNSLN.js +0 -1
  67. package/chunk-DFRSFFFH.js +0 -1
  68. package/chunk-GON5H26V.js +0 -1
  69. package/chunk-ICNC6KVB.js +0 -1
  70. package/chunk-IEVRQDB6.js +0 -1
  71. package/chunk-IXLTPP72.js +0 -1
  72. package/chunk-JNQHJPEL.js +0 -1
  73. package/chunk-KOPAOYHK.js +0 -1
  74. package/chunk-LZSE733H.js +0 -1
  75. package/chunk-OLIXIFDJ.js +0 -6
  76. package/chunk-ORCLDJSO.js +0 -1
  77. package/chunk-OVWWCW76.js +0 -1
  78. package/chunk-Q76L4VLC.js +0 -1
  79. package/chunk-QHJTF3V4.js +0 -8
  80. package/chunk-QR4CYW4K.js +0 -1
  81. package/chunk-TKY4PPEK.js +0 -1
  82. package/chunk-VC4GI7EV.js +0 -1
  83. package/chunk-VOS5UL4W.js +0 -1
  84. package/chunk-VUEDXCG5.js +0 -1
  85. package/chunk-WSTPDNCJ.js +0 -1
  86. package/chunk-XDYHN4IQ.js +0 -2
  87. package/chunk-XGBLG5PU.js +0 -1
  88. package/chunk-Z7GRCDAT.js +0 -1
  89. package/chunk-ZACWBV3N.js +0 -1
  90. package/chunk-ZPJ6YV7Y.js +0 -1
  91. package/chunk-ZSOWH34L.js +0 -1
  92. package/main-AXRS6RU7.js +0 -1
@@ -0,0 +1,40 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <!-- Generator: Adobe Illustrator 19.2.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
3
+ <svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
4
+ viewBox="0 0 32 32" style="enable-background:new 0 0 32 32;" xml:space="preserve">
5
+ <style type="text/css">
6
+ .st0{display:none;}
7
+ .st1{fill:#D0CDC6;}
8
+ .st2{fill:#FFFFFF;}
9
+ .st3{fill:#1D4775;}
10
+ .st4{fill:#8194A9;}
11
+ .st5{fill:#EBF1F5;}
12
+ .st6{fill:#65B1DD;}
13
+ .st7{fill:#336697;}
14
+ </style>
15
+ <g id="backgrounds" class="st0">
16
+ <rect id="black" x="-16" y="-16" width="64" height="64"/>
17
+ <rect id="win2k" x="-16" y="-16" class="st1" width="64" height="64"/>
18
+ <rect id="white" x="-16" y="-16" class="st2" width="64" height="64"/>
19
+ <rect id="win7_aero" x="-16" y="-16" class="st3" width="64" height="64"/>
20
+ <rect id="win7_1_" x="-16" y="-16" class="st4" width="64" height="64"/>
21
+ <rect id="macosx" x="-16" y="-16" class="st5" width="64" height="64"/>
22
+ </g>
23
+ <g id="icon">
24
+ <g id="small_8_">
25
+ <path class="st6" d="M15,28c-1.7,0-3-1.3-3-3v-5c0-1.7,1.3-3,3-3h8c1.7,0,3,1.3,3,3v5c0,1.7-1.3,3-3,3H15z"/>
26
+ <path class="st2" d="M23,18c1.1,0,2,0.9,2,2v5c0,1.1-0.9,2-2,2h-8c-1.1,0-2-0.9-2-2v-5c0-1.1,0.9-2,2-2H23 M23,16h-8
27
+ c-2.2,0-4,1.8-4,4v5c0,2.2,1.8,4,4,4h8c2.2,0,4-1.8,4-4v-5C27,17.8,25.2,16,23,16L23,16z"/>
28
+ </g>
29
+ <g id="middle_8_">
30
+ <path class="st7" d="M4,30c-1.7,0-3-1.3-3-3v-7c0-1.7,1.3-3,3-3h10c1.7,0,3,1.3,3,3v7c0,1.7-1.3,3-3,3H4z"/>
31
+ <path class="st2" d="M14,18c1.1,0,2,0.9,2,2v7c0,1.1-0.9,2-2,2H4c-1.1,0-2-0.9-2-2v-7c0-1.1,0.9-2,2-2H14 M14,16H4
32
+ c-2.2,0-4,1.8-4,4v7c0,2.2,1.8,4,4,4h10c2.2,0,4-1.8,4-4v-7C18,17.8,16.2,16,14,16L14,16z"/>
33
+ </g>
34
+ <g id="big_10_">
35
+ <path class="st3" d="M12,21c-1.7,0-3-1.3-3-3V6c0-1.7,1.3-3,3-3h16c1.7,0,3,1.3,3,3v12c0,1.7-1.3,3-3,3H12z"/>
36
+ <path class="st2" d="M28,4c1.1,0,2,0.9,2,2v12c0,1.1-0.9,2-2,2H12c-1.1,0-2-0.9-2-2V6c0-1.1,0.9-2,2-2H28 M28,2H12
37
+ C9.8,2,8,3.8,8,6v12c0,2.2,1.8,4,4,4h16c2.2,0,4-1.8,4-4V6C32,3.8,30.2,2,28,2L28,2z"/>
38
+ </g>
39
+ </g>
40
+ </svg>
@@ -0,0 +1,40 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <!-- Generator: Adobe Illustrator 19.2.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
3
+ <svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
4
+ viewBox="0 0 32 32" style="enable-background:new 0 0 32 32;" xml:space="preserve">
5
+ <style type="text/css">
6
+ .st0{display:none;}
7
+ .st1{fill:#D0CDC6;}
8
+ .st2{fill:#FFFFFF;}
9
+ .st3{fill:#1D4775;}
10
+ .st4{fill:#8194A9;}
11
+ .st5{fill:#EBF1F5;}
12
+ .st6{fill:#65B1DD;}
13
+ .st7{fill:#336697;}
14
+ </style>
15
+ <g id="backgrounds" class="st0">
16
+ <rect id="black" x="-16" y="-16" width="64" height="64"/>
17
+ <rect id="win2k" x="-16" y="-16" class="st1" width="64" height="64"/>
18
+ <rect id="white" x="-16" y="-16" class="st2" width="64" height="64"/>
19
+ <rect id="win7_aero" x="-16" y="-16" class="st3" width="64" height="64"/>
20
+ <rect id="win7_1_" x="-16" y="-16" class="st4" width="64" height="64"/>
21
+ <rect id="macosx" x="-16" y="-16" class="st5" width="64" height="64"/>
22
+ </g>
23
+ <g id="icon">
24
+ <g id="small_8_">
25
+ <path class="st6" d="M15,28c-1.7,0-3-1.3-3-3v-5c0-1.7,1.3-3,3-3h8c1.7,0,3,1.3,3,3v5c0,1.7-1.3,3-3,3H15z"/>
26
+ <path class="st2" d="M23,18c1.1,0,2,0.9,2,2v5c0,1.1-0.9,2-2,2h-8c-1.1,0-2-0.9-2-2v-5c0-1.1,0.9-2,2-2H23 M23,16h-8
27
+ c-2.2,0-4,1.8-4,4v5c0,2.2,1.8,4,4,4h8c2.2,0,4-1.8,4-4v-5C27,17.8,25.2,16,23,16L23,16z"/>
28
+ </g>
29
+ <g id="middle_8_">
30
+ <path class="st7" d="M4,30c-1.7,0-3-1.3-3-3v-7c0-1.7,1.3-3,3-3h10c1.7,0,3,1.3,3,3v7c0,1.7-1.3,3-3,3H4z"/>
31
+ <path class="st2" d="M14,18c1.1,0,2,0.9,2,2v7c0,1.1-0.9,2-2,2H4c-1.1,0-2-0.9-2-2v-7c0-1.1,0.9-2,2-2H14 M14,16H4
32
+ c-2.2,0-4,1.8-4,4v7c0,2.2,1.8,4,4,4h10c2.2,0,4-1.8,4-4v-7C18,17.8,16.2,16,14,16L14,16z"/>
33
+ </g>
34
+ <g id="big_10_">
35
+ <path class="st3" d="M12,21c-1.7,0-3-1.3-3-3V6c0-1.7,1.3-3,3-3h16c1.7,0,3,1.3,3,3v12c0,1.7-1.3,3-3,3H12z"/>
36
+ <path class="st2" d="M28,4c1.1,0,2,0.9,2,2v12c0,1.1-0.9,2-2,2H12c-1.1,0-2-0.9-2-2V6c0-1.1,0.9-2,2-2H28 M28,2H12
37
+ C9.8,2,8,3.8,8,6v12c0,2.2,1.8,4,4,4h16c2.2,0,4-1.8,4-4V6C32,3.8,30.2,2,28,2L28,2z"/>
38
+ </g>
39
+ </g>
40
+ </svg>
@@ -0,0 +1,45 @@
1
+ <svg width="1097" height="800" viewBox="0 0 1097 800" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <mask id="mask0_110_1635" style="mask-type:luminance" maskUnits="userSpaceOnUse" x="-411" y="-140" width="1920" height="1080">
3
+ <path d="M1509 -140H-411V940H1509V-140Z" fill="white"/>
4
+ </mask>
5
+ <g mask="url(#mask0_110_1635)">
6
+ <path d="M-411 342.16C-396.35 307.35 -385.92 274.28 -337.06 225.42C-249.01 137.36 -212.24 174.13 -124.18 86.08C-36.13 -1.97 -72.9 -38.74 15.16 -126.8C19.91 -131.55 24.51 -135.93 28.97 -140" stroke="#474747" stroke-width="2" stroke-miterlimit="10"/>
7
+ <path d="M-411 427.62C-357.99 360.48 -376.43 322.7 -299.44 245.7C-211.39 157.65 -174.62 194.42 -86.56 106.37C1.49001 18.31 -35.28 -18.46 52.78 -106.51C66.75 -120.49 79.44 -131.32 91.24 -140" stroke="#474747" stroke-width="2" stroke-miterlimit="10"/>
8
+ <path d="M-411 488.4C-407.79 485.39 -404.51 482.22 -401.16 478.87C-313.1 390.82 -349.87 354.05 -261.82 265.99C-173.76 177.94 -136.99 214.71 -48.94 126.65C39.11 38.6 2.34 1.83 90.4 -86.23C118.06 -113.9 140.66 -129.24 161.38 -140" stroke="#474747" stroke-width="2" stroke-miterlimit="10"/>
9
+ <path d="M-411 538.97C-396.68 529.36 -381.13 516.75 -363.54 499.16C-275.48 411.1 -312.25 374.33 -224.2 286.28C-136.14 198.22 -99.37 234.99 -11.32 146.94C76.73 58.89 39.96 22.12 128.02 -65.94C177.01 -114.93 210.13 -125.28 245.04 -140" stroke="#474747" stroke-width="2" stroke-miterlimit="10"/>
10
+ <path d="M-411 580.03C-386.35 568.88 -359.97 553.5 -325.92 519.44C-237.86 431.39 -274.63 394.62 -186.58 306.56C-98.52 218.51 -61.75 255.28 26.3 167.23C114.35 79.17 77.58 42.4 165.64 -45.65C232.76 -112.77 270.08 -107.37 323.03 -140" stroke="#474747" stroke-width="2" stroke-miterlimit="10"/>
11
+ <path d="M-411 616.22C-373.94 600.08 -339.94 591.37 -288.3 539.73C-200.24 451.67 -237.01 414.9 -148.96 326.85C-60.9 238.8 -24.13 275.57 63.92 187.51C151.97 99.46 115.21 62.69 203.26 -25.37C281.7 -103.8 319.45 -83.19 389 -140" stroke="#474747" stroke-width="2" stroke-miterlimit="10"/>
12
+ <path d="M-411 656.21C-356.48 621.51 -319.03 628.37 -250.68 560.02C-162.62 471.96 -199.39 435.19 -111.34 347.14C-23.28 259.08 13.49 295.85 101.54 207.8C189.6 119.74 152.83 82.97 240.88 -5.08C327.43 -91.63 364.43 -57.59 449.28 -140" stroke="#474747" stroke-width="2" stroke-miterlimit="10"/>
13
+ <path d="M-411 705.43C-333.4 635.46 -295.96 663.21 -213.06 580.3C-125 492.25 -161.77 455.48 -73.72 367.42C14.34 279.37 51.11 316.14 139.16 228.09C227.22 140.03 190.45 103.26 278.5 15.21C366.56 -72.85 403.33 -36.08 491.38 -124.14C496.86 -129.62 501.85 -134.9 506.43 -140" stroke="#474747" stroke-width="2" stroke-miterlimit="10"/>
14
+ <path d="M-411 764.64C-404.5 756.84 -397.02 748.64 -388.31 739.93C-300.26 651.87 -263.49 688.64 -175.43 600.59C-87.38 512.53 -124.15 475.76 -36.09 387.71C51.96 299.66 88.73 336.43 176.78 248.37C264.84 160.32 228.07 123.55 316.12 35.49C404.18 -52.56 440.95 -15.79 529 -103.85C542.07 -116.92 552.39 -128.85 560.77 -140" stroke="#474747" stroke-width="2" stroke-miterlimit="10"/>
15
+ <path d="M-411 844.68C-399.87 820.21 -384.46 793.98 -350.69 760.22C-262.64 672.16 -225.87 708.93 -137.81 620.87C-49.76 532.82 -86.53 496.05 1.53 408C89.58 319.94 126.35 356.71 214.4 268.66C302.46 180.6 265.69 143.83 353.74 55.78C441.8 -32.28 478.57 4.49 566.62 -83.56C587.96 -104.9 601.97 -123.23 612.2 -140" stroke="#474747" stroke-width="2" stroke-miterlimit="10"/>
16
+ <path d="M-408.73 940C-374.63 885.93 -381.08 848.51 -313.07 780.5C-225.02 692.45 -188.25 729.22 -100.19 641.16C-12.1405 553.11 -48.9105 516.34 39.1495 428.28C127.2 340.23 163.97 377 252.02 288.94C340.08 200.89 303.309 164.12 391.359 76.07C479.419 -11.99 516.189 24.78 604.24 -63.28C634.48 -93.51 650 -117.7 660.91 -140" stroke="#474747" stroke-width="2" stroke-miterlimit="10"/>
17
+ <path d="M-359.65 940C-337.43 896 -334.65 859.98 -275.45 800.79C-187.4 712.73 -150.63 749.5 -62.5704 661.45C25.4796 573.39 -11.2904 536.62 76.7696 448.57C164.82 360.51 201.59 397.28 289.64 309.23C377.7 221.18 340.93 184.41 428.98 96.35C517.04 8.3 553.81 45.07 641.86 -42.99C681.46 -82.59 695.82 -111.82 707.64 -140" stroke="#474747" stroke-width="2" stroke-miterlimit="10"/>
18
+ <path d="M-312.7 940C-297.54 904.39 -287.72 870.96 -237.83 821.07C-149.78 733.02 -113.01 769.79 -24.9502 681.73C63.0998 593.68 26.3298 556.91 114.39 468.86C202.44 380.8 239.21 417.57 327.26 329.52C415.32 241.46 378.55 204.69 466.6 116.64C554.66 28.58 591.43 65.35 679.49 -22.7C728.61 -71.83 738.88 -104.99 753.66 -140" stroke="#474747" stroke-width="2" stroke-miterlimit="10"/>
19
+ <path d="M-266.66 940C-254.71 911.32 -240.58 881.73 -200.21 841.36C-112.16 753.31 -75.3901 790.08 12.6699 702.02C100.72 613.97 63.9499 577.2 152.01 489.14C240.06 401.09 276.83 437.86 364.88 349.8C452.94 261.75 416.17 224.98 504.22 136.92C592.28 48.87 629.05 85.64 717.11 -2.42C775.57 -60.88 779.01 -96.73 800.49 -140" stroke="#474747" stroke-width="2" stroke-miterlimit="10"/>
20
+ <path d="M-220.05 940C-209.1 917.25 -193.57 892.63 -162.59 861.65C-74.5398 773.59 -37.7698 810.36 50.2902 722.31C138.34 634.25 101.57 597.48 189.63 509.43C277.68 421.37 314.45 458.14 402.51 370.09C490.56 282.04 453.79 245.27 541.84 157.21C629.9 69.16 666.67 105.92 754.73 17.87C822.05 -49.45 816.41 -86.8 849.37 -140" stroke="#474747" stroke-width="2" stroke-miterlimit="10"/>
21
+ <path d="M-171.53 940C-161.22 922.78 -147 903.96 -124.97 881.93C-36.9203 793.88 -0.150269 830.65 87.9097 742.59C175.96 654.54 139.19 617.77 227.25 529.71C315.3 441.66 352.07 478.43 440.13 390.38C528.18 302.32 491.41 265.55 579.47 177.5C667.52 89.44 704.29 126.21 792.35 38.16C867.89 -37.39 851.56 -75.19 901 -140" stroke="#474747" stroke-width="2" stroke-miterlimit="10"/>
22
+ <path d="M-120.34 940C-111.74 928.39 -101.06 915.93 -87.3499 902.22C0.70015 814.17 37.4702 850.93 125.53 762.88C213.58 674.82 176.81 638.06 264.87 550C352.92 461.95 389.69 498.72 477.75 410.66C565.8 322.61 529.03 285.84 617.09 197.78C705.14 109.73 741.91 146.5 829.97 58.44C913.05 -24.64 885 -62.06 955.55 -140" stroke="#474747" stroke-width="2" stroke-miterlimit="10"/>
23
+ <path d="M-66.2197 940C-61.2597 934.39 -55.7897 928.57 -49.7297 922.51C38.3303 834.45 75.0903 871.22 163.15 783.17C251.2 695.11 214.44 658.34 302.49 570.29C390.54 482.23 427.31 519 515.37 430.95C603.42 342.89 566.65 306.13 654.71 218.07C742.76 130.01 779.53 166.78 867.59 78.73C955.64 -9.33 918.87 -46.1 1006.93 -134.15C1008.94 -136.16 1010.93 -138.11 1012.89 -140" stroke="#474747" stroke-width="2" stroke-miterlimit="10"/>
24
+ <path d="M-9.29004 940C76.75 855.52 113.67 890.56 200.77 803.45C288.83 715.4 252.06 678.63 340.11 590.57C428.16 502.52 464.93 539.29 552.99 451.24C641.04 363.18 604.27 326.41 692.33 238.36C780.38 150.3 817.15 187.07 905.21 99.01C993.26 10.96 956.49 -25.81 1044.55 -113.87C1054.83 -124.15 1064.41 -132.73 1073.45 -140" stroke="#474747" stroke-width="2" stroke-miterlimit="10"/>
25
+ <path d="M50.6797 940C121.5 881.16 159.22 902.91 238.39 823.74C326.45 735.68 289.68 698.91 377.73 610.86C465.78 522.81 502.55 559.58 590.61 471.52C678.66 383.47 641.89 346.7 729.95 258.64C818 170.59 854.77 207.36 942.83 119.3C1030.88 31.25 994.11 -5.52 1082.17 -93.58C1104.1 -115.51 1122.85 -129.7 1140 -140" stroke="#474747" stroke-width="2" stroke-miterlimit="10"/>
26
+ <path d="M116.03 940C170.37 905.54 207.8 912.24 276.01 844.03C364.07 755.97 327.3 719.2 415.35 631.15C503.41 543.09 540.17 579.86 628.23 491.81C716.28 403.75 679.51 366.98 767.57 278.93C855.62 190.87 892.39 227.64 980.45 139.59C1068.5 51.53 1031.73 14.76 1119.79 -73.29C1160.45 -113.95 1190.17 -127.99 1219.06 -140" stroke="#474747" stroke-width="2" stroke-miterlimit="10"/>
27
+ <path d="M192.78 940C229.12 924.36 262.85 915.1 313.63 864.31C401.69 776.26 364.92 739.49 452.97 651.43C541.03 563.38 577.8 600.15 665.85 512.09C753.9 424.04 717.13 387.27 805.19 299.22C893.24 211.16 930.01 247.93 1018.07 159.87C1106.13 71.82 1069.36 35.05 1157.41 -53.01C1219 -114.59 1255.5 -115.12 1302.01 -140" stroke="#474747" stroke-width="2" stroke-miterlimit="10"/>
28
+ <path d="M277.05 940C298.65 929.16 322.15 913.69 351.25 884.6C439.31 796.54 402.54 759.77 490.59 671.72C578.65 583.67 615.42 620.43 703.47 532.38C791.52 444.33 754.75 407.56 842.81 319.5C930.87 231.45 967.63 268.22 1055.69 180.16C1143.75 92.11 1106.98 55.34 1195.03 -32.72C1269.87 -107.56 1307.66 -92.24 1371.37 -140" stroke="#474747" stroke-width="2" stroke-miterlimit="10"/>
29
+ <path d="M348.17 940C360.6 931.05 374.01 919.74 388.87 904.88C476.93 816.83 440.16 780.06 528.21 692.01C616.27 603.95 653.04 640.72 741.09 552.67C829.14 464.61 792.38 427.84 880.43 339.79C968.49 251.73 1005.26 288.5 1093.31 200.45C1181.37 112.39 1144.6 75.62 1232.65 -12.43C1316.51 -96.29 1353.85 -66.95 1433.27 -140" stroke="#474747" stroke-width="2" stroke-miterlimit="10"/>
30
+ <path d="M410.87 940C415.9 935.48 421.1 930.56 426.49 925.17C514.55 837.12 477.78 800.35 565.83 712.29C653.89 624.24 690.66 661.01 778.71 572.95C866.77 484.9 830 448.13 918.05 360.08C1006.11 272.02 1042.88 308.79 1130.93 220.73C1218.99 132.68 1182.22 95.91 1270.27 7.85001C1358.33 -80.21 1395.1 -43.44 1483.16 -131.5C1486.05 -134.39 1488.8 -137.22 1491.43 -140" stroke="#474747" stroke-width="2" stroke-miterlimit="10"/>
31
+ <path d="M469.47 939.999C550.69 855.839 517.24 818.789 603.45 732.579C691.51 644.519 728.28 681.289 816.33 593.239C904.39 505.189 867.62 468.419 955.67 380.359C1043.73 292.309 1080.5 329.079 1168.55 241.019C1256.61 152.959 1219.84 116.189 1307.89 28.1391C1391.92 -55.8909 1429.25 -26.2509 1509 -99.8809" stroke="#474747" stroke-width="2" stroke-miterlimit="10"/>
32
+ <path d="M525.28 939.999C583.53 869.549 562.11 831.829 641.07 752.859C729.13 664.809 765.9 701.579 853.95 613.529C942.01 525.469 905.24 488.699 993.29 400.649C1081.35 312.589 1118.12 349.359 1206.17 261.309C1294.23 173.249 1257.46 136.479 1345.51 48.4292C1415.18 -21.2408 1452.74 -12.7708 1509 -49.8008" stroke="#474747" stroke-width="2" stroke-miterlimit="10"/>
33
+ <path d="M578.21 940C617.86 881.86 607.65 844.2 678.7 773.15C766.75 685.1 803.52 721.87 891.57 633.81C979.63 545.76 942.86 508.99 1030.91 420.93C1118.97 332.88 1155.74 369.65 1243.79 281.59C1331.85 193.54 1295.08 156.77 1383.13 68.7101C1436.24 15.6001 1470.7 7.90008 1509 -9.16992" stroke="#474747" stroke-width="2" stroke-miterlimit="10"/>
34
+ <path d="M628.25 940C654.2 892.55 653.86 855.89 716.32 793.44C804.37 705.38 841.14 742.15 929.19 654.1C1017.25 566.04 980.48 529.28 1068.53 441.22C1156.59 353.16 1193.36 389.93 1281.41 301.88C1369.47 213.82 1332.7 177.05 1420.75 89.0002C1456.27 53.4802 1483.44 38.2802 1509 26.9902" stroke="#474747" stroke-width="2" stroke-miterlimit="10"/>
35
+ <path d="M675.88 940.001C693.07 901.531 700.64 867.021 753.94 813.721C841.99 725.671 878.76 762.441 966.81 674.391C1054.87 586.331 1018.1 549.561 1106.15 461.511C1194.21 373.451 1230.98 410.221 1319.03 322.161C1407.09 234.111 1370.32 197.341 1458.37 109.291C1477.27 90.3908 1493.81 77.2409 1509 67.3809" stroke="#474747" stroke-width="2" stroke-miterlimit="10"/>
36
+ <path d="M722.07 939.999C734.83 908.939 747.74 877.829 791.56 834.009C879.61 745.959 916.38 782.729 1004.43 694.669C1092.49 606.619 1055.72 569.849 1143.77 481.789C1231.83 393.739 1268.6 430.509 1356.65 342.449C1444.71 254.399 1407.94 217.629 1496 129.569C1500.46 125.109 1504.79 120.959 1509 117.109" stroke="#474747" stroke-width="2" stroke-miterlimit="10"/>
37
+ <path d="M768.3 940.001C779.48 915.181 794.84 888.641 829.18 854.301C917.23 766.241 954 803.011 1042.05 714.961C1130.11 626.901 1093.34 590.131 1181.39 502.081C1269.45 414.021 1306.22 450.791 1394.28 362.741C1472.76 284.261 1452.08 246.511 1509 176.891" stroke="#474747" stroke-width="2" stroke-miterlimit="10"/>
38
+ <path d="M816.01 940C826.62 920.79 841.59 899.79 866.8 874.58C954.85 786.53 991.62 823.3 1079.68 735.25C1167.73 647.19 1130.96 610.42 1219.01 522.37C1307.07 434.31 1343.84 471.08 1431.9 383.02C1484.19 330.73 1492.46 296.53 1509 258.92" stroke="#474747" stroke-width="2" stroke-miterlimit="10"/>
39
+ <path d="M866.18 940C875.59 926.33 887.77 911.52 904.42 894.87C992.47 806.82 1029.24 843.59 1117.3 755.53C1205.35 667.48 1168.58 630.71 1256.64 542.65C1344.69 454.6 1381.46 491.37 1469.52 403.31C1486.91 385.91 1499.43 370.52 1509 356.34" stroke="#474747" stroke-width="2" stroke-miterlimit="10"/>
40
+ <path d="M919.24 940C925.76 932.16 933.29 923.911 942.04 915.161C1030.09 827.101 1066.86 863.87 1154.92 775.82C1242.97 687.76 1206.2 650.99 1294.26 562.94C1382.31 474.88 1419.08 511.65 1507.14 423.6C1507.77 422.97 1508.39 422.35 1509 421.73" stroke="#474747" stroke-width="2" stroke-miterlimit="10"/>
41
+ <path d="M975.17 939.999C976.63 938.499 978.12 936.979 979.66 935.439C1067.71 847.389 1104.48 884.159 1192.54 796.099C1280.59 708.049 1243.82 671.279 1331.88 583.229C1407.02 508.089 1444.81 523.839 1509 475.359" stroke="#474747" stroke-width="2" stroke-miterlimit="10"/>
42
+ <path d="M1033.91 940C1110.35 871.94 1147.85 898.69 1230.16 816.39C1318.21 728.34 1281.44 691.57 1369.5 603.51C1428.82 544.19 1464.86 541.52 1509 519.17" stroke="#474747" stroke-width="2" stroke-miterlimit="10"/>
43
+ <path d="M1096.83 940C1157.34 896.99 1195.08 909.37 1267.78 836.68C1355.83 748.62 1319.06 711.85 1407.12 623.8C1449 581.91 1479.28 568.27 1509 556.01" stroke="#474747" stroke-width="2" stroke-miterlimit="10"/>
44
+ </g>
45
+ </svg>
@@ -0,0 +1,57 @@
1
+
2
+ <svg
3
+ xmlns="http://www.w3.org/2000/svg"
4
+ version="1.1"
5
+ xmlns:xlink="http://www.w3.org/1999/xlink"
6
+ xmlns:svgjs="http://svgjs.dev/svgjs"
7
+ viewBox="0 0 700 700"
8
+ width="700"
9
+ height="700">
10
+ <defs>
11
+ <filter
12
+ id="nnnoise-filter"
13
+ x="-20%"
14
+ y="-20%"
15
+ width="140%"
16
+ height="140%"
17
+ filterUnits="objectBoundingBox"
18
+ primitiveUnits="userSpaceOnUse"
19
+ color-interpolation-filters="linearRGB">
20
+ <feTurbulence
21
+ type="fractalNoise"
22
+ baseFrequency="0.115"
23
+ numOctaves="4"
24
+ seed="15"
25
+ stitchTiles="stitch"
26
+ x="0%"
27
+ y="0%"
28
+ width="100%"
29
+ height="100%"
30
+ result="turbulence"></feTurbulence>
31
+ <feSpecularLighting
32
+ surfaceScale="15"
33
+ specularConstant="0.8"
34
+ specularExponent="25"
35
+ lighting-color="#f00"
36
+ x="0%"
37
+ y="0%"
38
+ width="100%"
39
+ height="100%"
40
+ in="turbulence"
41
+ result="specularLighting">
42
+ <feDistantLight azimuth="3" elevation="139"></feDistantLight>
43
+ </feSpecularLighting>
44
+ <feColorMatrix
45
+ type="saturate"
46
+ values="0"
47
+ x="0%"
48
+ y="0%"
49
+ width="100%"
50
+ height="100%"
51
+ in="specularLighting"
52
+ result="colormatrix"></feColorMatrix>
53
+ </filter>
54
+ </defs>
55
+ <rect width="700" height="700" fill="transparent"></rect>
56
+ <rect width="700" height="700" fill="#f00" filter="url(#nnnoise-filter)"></rect>
57
+ </svg>
@@ -0,0 +1 @@
1
+ import{e as S}from"./chunk-HJUBM7Q5.js";import"./chunk-3XQGPHYU.js";import"./chunk-VJDUCP4Z.js";import"./chunk-CUYURNCB.js";import"./chunk-VXKI3RQB.js";import"./chunk-NAZLO3UY.js";import{o as C,s as v}from"./chunk-3UHRO33D.js";import{H as f,K as k,X as w,Y as g}from"./chunk-X2IPCPJN.js";import"./chunk-2MDIWOW5.js";import"./chunk-JE2I63Y6.js";import{$ as u,Pb as p,Ra as s,X as r,Xb as d,Zb as l,jb as a,sb as o,tb as n,ub as i}from"./chunk-67JGZ4NF.js";import"./chunk-7CGTOI24.js";var F=e=>["/restore-flow",e,"select-files"],R=e=>["/restore-flow",e,"options"],c=class e{#t=r(f);#e=r(S);backupId=this.#e.backupId;ngOnInit(){this.#e.init(this.#t.snapshot.params.id)}static \u0275fac=function(t){return new(t||e)};static \u0275cmp=u({type:e,selectors:[["app-restore-flow"]],standalone:!0,features:[d],decls:9,vars:6,consts:[["step","","routerLinkActive","active",3,"routerLink"]],template:function(t,m){t&1&&(o(0,"spk-stepper")(1,"div",0),i(2,"spk-radio"),p(3," Select files "),n(),o(4,"div",0),i(5,"spk-radio"),p(6," Options "),n()(),o(7,"section"),i(8,"router-outlet"),n()),t&2&&(s(),a("routerLink",l(2,F,m.backupId())),s(3),a("routerLink",l(4,R,m.backupId())))},dependencies:[v,C,k,w,g],styles:["[_nghost-%COMP%]{display:block}spk-stepper[_ngcontent-%COMP%]{max-width:31.25rem;margin:2.5rem auto}section[_ngcontent-%COMP%]{max-width:31.25rem;margin:0 auto 2.5rem}"],changeDetection:0})};export{c as default};
@@ -0,0 +1 @@
1
+ import{a as o}from"./chunk-NAZLO3UY.js";import{B as a,D as u,F as i,O as r,R as n,X as l,Ya as s}from"./chunk-67JGZ4NF.js";var k=class p{#s=l(o);#p=null;#t=s([]);#e=s([]);#a=s(!1);#i=s(!1);#r=s(null);backups=this.#e.asReadonly();backupsLoading=this.#a.asReadonly();startingBackup=this.#i.asReadonly();deletingBackup=this.#r.asReadonly();draftBackups=this.#t.asReadonly();addDraftBackup(t){let e=crypto.randomUUID();return this.#t.set([...this.#t(),{id:e,data:t}]),e}removeDraftBackupById(t){this.#t.set(this.#t().filter(e=>e.id!==t))}getBackupById(t){return this.#e().find(e=>e.Backup?.ID===t)??null}getBackups(t=!1){let e=this.#p,c=Date.now(),d=e&&c-e<15*60*1e3;!1||!t&&d&&this.#e().length||(this.#p=c,this.#a.set(!0),this.#s.getApiV1Backups().pipe(a(1),u(1e3),r(B=>this.#e.set(B)),i(()=>this.#a.set(!1))).subscribe())}startBackup(t){this.#i.set(!0),this.#s.postApiV1BackupByIdStart({id:t}).pipe(a(1),r(()=>this.getBackups()),i(()=>this.#i.set(!1))).subscribe()}deleteBackup(t){this.#r.set(t),this.#s.deleteApiV1BackupById({id:t}).pipe(a(1),r(()=>this.getBackups()),i(()=>this.#r.set(null))).subscribe()}static \u0275fac=function(e){return new(e||p)};static \u0275prov=n({token:p,factory:p.\u0275fac,providedIn:"root"})};export{k as a};
@@ -0,0 +1 @@
1
+ import{a as L,b as te,c as ne,d as f,j as re,n as oe,p as P,r as se}from"./chunk-JE2I63Y6.js";import{Aa as z,Ba as w,Ca as _,Da as g,Ea as v,Fa as G,Ga as Y,Ha as K,Ia as q,Ja as W,Ka as X,La as J,Ma as m,P as y,Qa as M,R as l,U as O,Ua as Q,W as a,_ as E,ea as $,oc as ee,sa as S,ta as I,ya as Z,za as N}from"./chunk-67JGZ4NF.js";import{a as b,b as V}from"./chunk-7CGTOI24.js";var j=class extends ne{constructor(){super(...arguments),this.supportsDOMEvents=!0}},x=class r extends j{static makeCurrent(){te(new r)}onAndCancel(n,e,t){return n.addEventListener(e,t),()=>{n.removeEventListener(e,t)}}dispatchEvent(n,e){n.dispatchEvent(e)}remove(n){n.remove()}createElement(n,e){return e=e||this.getDefaultDocument(),e.createElement(n)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(n){return n.nodeType===Node.ELEMENT_NODE}isShadowRoot(n){return n instanceof DocumentFragment}getGlobalEventTarget(n,e){return e==="window"?window:e==="document"?n:e==="body"?n.body:null}getBaseHref(n){let e=pe();return e==null?null:me(e)}resetBaseElement(){T=null}getUserAgent(){return window.navigator.userAgent}getCookie(n){return re(document.cookie,n)}},T=null;function pe(){return T=T||document.querySelector("base"),T?T.getAttribute("href"):null}function me(r){return new URL(r,document.baseURI).pathname}var ye=(()=>{class r{build(){return new XMLHttpRequest}static{this.\u0275fac=function(t){return new(t||r)}}static{this.\u0275prov=l({token:r,factory:r.\u0275fac})}}return r})(),U=new O(""),ue=(()=>{class r{constructor(e,t){this._zone=t,this._eventNameToPlugin=new Map,e.forEach(o=>{o.manager=this}),this._plugins=e.slice().reverse()}addEventListener(e,t,o){return this._findPluginFor(t).addEventListener(e,t,o)}getZone(){return this._zone}_findPluginFor(e){let t=this._eventNameToPlugin.get(e);if(t)return t;if(t=this._plugins.find(s=>s.supports(e)),!t)throw new y(5101,!1);return this._eventNameToPlugin.set(e,t),t}static{this.\u0275fac=function(t){return new(t||r)(a(U),a(S))}}static{this.\u0275prov=l({token:r,factory:r.\u0275fac})}}return r})(),C=class{constructor(n){this._doc=n}},H="ng-app-id",de=(()=>{class r{constructor(e,t,o,s={}){this.doc=e,this.appId=t,this.nonce=o,this.platformId=s,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=P(s),this.resetHostNodes()}addStyles(e){for(let t of e)this.changeUsageCount(t,1)===1&&this.onStyleAdded(t)}removeStyles(e){for(let t of e)this.changeUsageCount(t,-1)<=0&&this.onStyleRemoved(t)}ngOnDestroy(){let e=this.styleNodesInDOM;e&&(e.forEach(t=>t.remove()),e.clear());for(let t of this.getAllStyles())this.onStyleRemoved(t);this.resetHostNodes()}addHost(e){this.hostNodes.add(e);for(let t of this.getAllStyles())this.addStyleToHost(e,t)}removeHost(e){this.hostNodes.delete(e)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(e){for(let t of this.hostNodes)this.addStyleToHost(t,e)}onStyleRemoved(e){let t=this.styleRef;t.get(e)?.elements?.forEach(o=>o.remove()),t.delete(e)}collectServerRenderedStyles(){let e=this.doc.head?.querySelectorAll(`style[${H}="${this.appId}"]`);if(e?.length){let t=new Map;return e.forEach(o=>{o.textContent!=null&&t.set(o.textContent,o)}),t}return null}changeUsageCount(e,t){let o=this.styleRef;if(o.has(e)){let s=o.get(e);return s.usage+=t,s.usage}return o.set(e,{usage:t,elements:[]}),t}getStyleElement(e,t){let o=this.styleNodesInDOM,s=o?.get(t);if(s?.parentNode===e)return o.delete(t),s.removeAttribute(H),s;{let i=this.doc.createElement("style");return this.nonce&&i.setAttribute("nonce",this.nonce),i.textContent=t,this.platformIsServer&&i.setAttribute(H,this.appId),e.appendChild(i),i}}addStyleToHost(e,t){let o=this.getStyleElement(e,t),s=this.styleRef,i=s.get(t)?.elements;i?i.push(o):s.set(t,{elements:[o],usage:1})}resetHostNodes(){let e=this.hostNodes;e.clear(),e.add(this.doc.head)}static{this.\u0275fac=function(t){return new(t||r)(a(f),a(N),a(_,8),a(w))}}static{this.\u0275prov=l({token:r,factory:r.\u0275fac})}}return r})(),k={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/Math/MathML"},B=/%COMP%/g,le="%COMP%",ge=`_nghost-${le}`,ve=`_ngcontent-${le}`,Ee=!0,Se=new O("",{providedIn:"root",factory:()=>Ee});function we(r){return ve.replace(B,r)}function Me(r){return ge.replace(B,r)}function fe(r,n){return n.map(e=>e.replace(B,r))}var ie=(()=>{class r{constructor(e,t,o,s,i,c,u,d=null){this.eventManager=e,this.sharedStylesHost=t,this.appId=o,this.removeStylesOnCompDestroy=s,this.doc=i,this.platformId=c,this.ngZone=u,this.nonce=d,this.rendererByCompId=new Map,this.platformIsServer=P(c),this.defaultRenderer=new D(e,i,u,this.platformIsServer)}createRenderer(e,t){if(!e||!t)return this.defaultRenderer;this.platformIsServer&&t.encapsulation===E.ShadowDom&&(t=V(b({},t),{encapsulation:E.Emulated}));let o=this.getOrCreateRenderer(e,t);return o instanceof A?o.applyToHost(e):o instanceof R&&o.applyStyles(),o}getOrCreateRenderer(e,t){let o=this.rendererByCompId,s=o.get(t.id);if(!s){let i=this.doc,c=this.ngZone,u=this.eventManager,d=this.sharedStylesHost,h=this.removeStylesOnCompDestroy,p=this.platformIsServer;switch(t.encapsulation){case E.Emulated:s=new A(u,d,t,this.appId,h,i,c,p);break;case E.ShadowDom:return new F(u,d,e,t,i,c,this.nonce,p);default:s=new R(u,d,t,h,i,c,p);break}o.set(t.id,s)}return s}ngOnDestroy(){this.rendererByCompId.clear()}static{this.\u0275fac=function(t){return new(t||r)(a(ue),a(de),a(N),a(Se),a(f),a(w),a(S),a(_))}}static{this.\u0275prov=l({token:r,factory:r.\u0275fac})}}return r})(),D=class{constructor(n,e,t,o){this.eventManager=n,this.doc=e,this.ngZone=t,this.platformIsServer=o,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(n,e){return e?this.doc.createElementNS(k[e]||e,n):this.doc.createElement(n)}createComment(n){return this.doc.createComment(n)}createText(n){return this.doc.createTextNode(n)}appendChild(n,e){(ae(n)?n.content:n).appendChild(e)}insertBefore(n,e,t){n&&(ae(n)?n.content:n).insertBefore(e,t)}removeChild(n,e){e.remove()}selectRootElement(n,e){let t=typeof n=="string"?this.doc.querySelector(n):n;if(!t)throw new y(-5104,!1);return e||(t.textContent=""),t}parentNode(n){return n.parentNode}nextSibling(n){return n.nextSibling}setAttribute(n,e,t,o){if(o){e=o+":"+e;let s=k[o];s?n.setAttributeNS(s,e,t):n.setAttribute(e,t)}else n.setAttribute(e,t)}removeAttribute(n,e,t){if(t){let o=k[t];o?n.removeAttributeNS(o,e):n.removeAttribute(`${t}:${e}`)}else n.removeAttribute(e)}addClass(n,e){n.classList.add(e)}removeClass(n,e){n.classList.remove(e)}setStyle(n,e,t,o){o&(M.DashCase|M.Important)?n.style.setProperty(e,t,o&M.Important?"important":""):n.style[e]=t}removeStyle(n,e,t){t&M.DashCase?n.style.removeProperty(e):n.style[e]=""}setProperty(n,e,t){n!=null&&(n[e]=t)}setValue(n,e){n.nodeValue=e}listen(n,e,t){if(typeof n=="string"&&(n=L().getGlobalEventTarget(this.doc,n),!n))throw new Error(`Unsupported event target ${n} for event ${e}`);return this.eventManager.addEventListener(n,e,this.decoratePreventDefault(t))}decoratePreventDefault(n){return e=>{if(e==="__ngUnwrap__")return n;(this.platformIsServer?this.ngZone.runGuarded(()=>n(e)):n(e))===!1&&e.preventDefault()}}};function ae(r){return r.tagName==="TEMPLATE"&&r.content!==void 0}var F=class extends D{constructor(n,e,t,o,s,i,c,u){super(n,s,i,u),this.sharedStylesHost=e,this.hostEl=t,this.shadowRoot=t.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let d=fe(o.id,o.styles);for(let h of d){let p=document.createElement("style");c&&p.setAttribute("nonce",c),p.textContent=h,this.shadowRoot.appendChild(p)}}nodeOrShadowRoot(n){return n===this.hostEl?this.shadowRoot:n}appendChild(n,e){return super.appendChild(this.nodeOrShadowRoot(n),e)}insertBefore(n,e,t){return super.insertBefore(this.nodeOrShadowRoot(n),e,t)}removeChild(n,e){return super.removeChild(null,e)}parentNode(n){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(n)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},R=class extends D{constructor(n,e,t,o,s,i,c,u){super(n,s,i,c),this.sharedStylesHost=e,this.removeStylesOnCompDestroy=o,this.styles=u?fe(u,t.styles):t.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}},A=class extends R{constructor(n,e,t,o,s,i,c,u){let d=o+"-"+t.id;super(n,e,t,s,i,c,u,d),this.contentAttr=we(d),this.hostAttr=Me(d)}applyToHost(n){this.applyStyles(),this.setAttribute(n,this.hostAttr,"")}createElement(n,e){let t=super.createElement(n,e);return super.setAttribute(t,this.contentAttr,""),t}},Te=(()=>{class r extends C{constructor(e){super(e)}supports(e){return!0}addEventListener(e,t,o){return e.addEventListener(t,o,!1),()=>this.removeEventListener(e,t,o)}removeEventListener(e,t,o){return e.removeEventListener(t,o)}static{this.\u0275fac=function(t){return new(t||r)(a(f))}}static{this.\u0275prov=l({token:r,factory:r.\u0275fac})}}return r})(),ce=["alt","control","meta","shift"],De={"\b":"Backspace"," ":"Tab","\x7F":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},Re={alt:r=>r.altKey,control:r=>r.ctrlKey,meta:r=>r.metaKey,shift:r=>r.shiftKey},Ce=(()=>{class r extends C{constructor(e){super(e)}supports(e){return r.parseEventName(e)!=null}addEventListener(e,t,o){let s=r.parseEventName(t),i=r.eventCallback(s.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>L().onAndCancel(e,s.domEventName,i))}static parseEventName(e){let t=e.toLowerCase().split("."),o=t.shift();if(t.length===0||!(o==="keydown"||o==="keyup"))return null;let s=r._normalizeKey(t.pop()),i="",c=t.indexOf("code");if(c>-1&&(t.splice(c,1),i="code."),ce.forEach(d=>{let h=t.indexOf(d);h>-1&&(t.splice(h,1),i+=d+".")}),i+=s,t.length!=0||s.length===0)return null;let u={};return u.domEventName=o,u.fullKey=i,u}static matchEventFullKeyCode(e,t){let o=De[e.key]||e.key,s="";return t.indexOf("code.")>-1&&(o=e.code,s="code."),o==null||!o?!1:(o=o.toLowerCase(),o===" "?o="space":o==="."&&(o="dot"),ce.forEach(i=>{if(i!==o){let c=Re[i];c(e)&&(s+=i+".")}}),s+=o,s===t)}static eventCallback(e,t,o){return s=>{r.matchEventFullKeyCode(s,e)&&o.runGuarded(()=>t(s))}}static _normalizeKey(e){return e==="esc"?"escape":e}static{this.\u0275fac=function(t){return new(t||r)(a(f))}}static{this.\u0275prov=l({token:r,factory:r.\u0275fac})}}return r})();function ft(r,n){return ee(b({rootComponent:r},Ae(n)))}function Ae(r){return{appProviders:[..._e,...r?.providers??[]],platformProviders:Ne}}function be(){x.makeCurrent()}function Oe(){return new I}function Ie(){return Z(document),document}var Ne=[{provide:w,useValue:oe},{provide:z,useValue:be,multi:!0},{provide:f,useFactory:Ie,deps:[]}];var _e=[{provide:$,useValue:"root"},{provide:I,useFactory:Oe,deps:[]},{provide:U,useClass:Te,multi:!0,deps:[f,S,w]},{provide:U,useClass:Ce,multi:!0,deps:[f]},ie,de,ue,{provide:Q,useExisting:ie},{provide:se,useClass:ye,deps:[]},[]];var ht=(()=>{class r{constructor(e){this._doc=e}getTitle(){return this._doc.title}setTitle(e){this._doc.title=e||""}static{this.\u0275fac=function(t){return new(t||r)(a(f))}}static{this.\u0275prov=l({token:r,factory:r.\u0275fac,providedIn:"root"})}}return r})();var Le=(()=>{class r{static{this.\u0275fac=function(t){return new(t||r)}}static{this.\u0275prov=l({token:r,factory:function(t){let o=null;return t?o=new(t||r):o=a(Pe),o},providedIn:"root"})}}return r})(),Pe=(()=>{class r extends Le{constructor(e){super(),this._doc=e}sanitize(e,t){if(t==null)return null;switch(e){case m.NONE:return t;case m.HTML:return v(t,"HTML")?g(t):J(this._doc,String(t)).toString();case m.STYLE:return v(t,"Style")?g(t):t;case m.SCRIPT:if(v(t,"Script"))return g(t);throw new y(5200,!1);case m.URL:return v(t,"URL")?g(t):X(String(t));case m.RESOURCE_URL:if(v(t,"ResourceURL"))return g(t);throw new y(5201,!1);default:throw new y(5202,!1)}}bypassSecurityTrustHtml(e){return G(e)}bypassSecurityTrustStyle(e){return Y(e)}bypassSecurityTrustScript(e){return K(e)}bypassSecurityTrustUrl(e){return q(e)}bypassSecurityTrustResourceUrl(e){return W(e)}static{this.\u0275fac=function(t){return new(t||r)(a(f))}}static{this.\u0275prov=l({token:r,factory:r.\u0275fac,providedIn:"root"})}}return r})();export{ft as a,ht as b,Le as c};
@@ -0,0 +1 @@
1
+ import{$ as f,$a as P,Bb as v,Cb as m,Db as S,Eb as l,Lb as pe,Mb as F,Nb as B,Ob as de,Pb as _,Qb as ue,R as Q,Ra as D,Rb as z,Tb as G,Ub as K,Va as se,Vb as J,X as R,Xa as $,Xb as g,Ya as h,Yb as Z,Za as x,_a as re,ba as oe,eb as V,ja as d,jb as Y,jc as he,ka as u,kb as A,lb as W,mb as X,nb as U,ob as M,pb as ae,qb as le,qc as b,rb as ce,sb as r,sc as E,tb as a,tc as ee,ua as N,ub as H,va as j,wa as p,xa as L,yb as O}from"./chunk-67JGZ4NF.js";import{a as I,b as q,c as ne}from"./chunk-7CGTOI24.js";var w=["*"],Ce=[[["","icon",""]],[["","title",""]],"*",[["","content",""]]],_e=["[icon]","[title]","*","[content]"];function ye(n,C){n&1&&(r(0,"spk-icon",3),_(1,"info"),a())}function ke(n,C){n&1&&(r(0,"spk-icon",3),_(1,"info"),a())}function De(n,C){n&1&&(r(0,"spk-icon",3),_(1,"check-circle"),a())}function be(n,C){n&1&&(r(0,"spk-icon",3),_(1,"warning-octagon"),a())}function we(n,C){n&1&&(r(0,"spk-icon",3),_(1,"warning"),a())}function Oe(n,C){n&1&&(r(0,"spk-icon",3),_(1,"question"),a())}function Ee(n,C){if(n&1){let e=O();r(0,"spk-icon",7),v("click",function(){d(e);let i=m();return u(i.removeAlert())}),_(1,"plus"),a()}}var Te=["dialogRef"];function xe(n,C){if(n&1){let e=O();r(0,"div",4),v("click",function(){d(e);let i=m();return u(i.isOpen.set(!1))}),a()}}var Me=["spk-button",""];var Fe=["inputWrap"];var Ie=[[["label"]],[["","prefix",""]],[["","textPrefix",""]],[["input"]],[["textarea"]],[["","textSuffix",""]],[["","suffix",""]],[["","error",""]],[["","hint",""]]],Ve=["label","[prefix]","[textPrefix]","input","textarea","[textSuffix]","[suffix]","[error]","[hint]"],fe=["triggerRef"],Ae=["popoverRef"],Re=[[["","trigger",""]],"*"],Pe=["[trigger]","*"],He=["option"],Be=["*",[["","menu",""]]],je=["*","[menu]"],Le=()=>({closeOnButton:!1,closeOnEsc:!0});var We=["optionsRef"],qe=["formFieldWrapper"],Ue=[[["label"]],[["input"]],"*",[["","deselect-indicator",""]],[["","search-indicator",""]],[["","open-indicator",""]]],Qe=["label","input","*","[deselect-indicator]","[search-indicator]","[open-indicator]"],Ne=()=>({closeOnButton:!1,closeOnEsc:!1});function $e(n,C){if(n&1){let e=O();r(0,"spk-chip",12),v("click",function(i){let o=d(e).$implicit,s=m(3);return u(s.toggleOption(o,i))}),_(1),r(2,"spk-icon"),_(3,"x-circle"),a()()}if(n&2){let e,t=C.$implicit,i=m(3);U(i.chipClass()),D(),z(" ",(e=(e=i.displayFn())==null?null:e(t))!==null&&e!==void 0?e:t," ")}}function Ye(n,C){if(n&1&&le(0,$e,4,3,"spk-chip",11,ae),n&2){let e=m(2);ce(e.inputValue().split(","))}}function Xe(n,C){if(n&1&&(r(0,"div",6),V(1,Ye,2,0),a()),n&2){let e=m();D(),M(e.inputValue().length>0?1:-1)}}function ze(n,C){if(n&1&&(r(0,"div",6),_(1),a()),n&2){let e=m();D(),ue(e._displayValue())}}function Ge(n,C){if(n&1){let e=O();r(0,"div",13),v("click",function(i){d(e);let o=m();return u(o.deselect(i))}),l(1,3),r(2,"spk-icon",14),_(3,"x-circle"),a()()}}function Ke(n,C){n&1&&(r(0,"div",8),l(1,4),r(2,"spk-icon",14),_(3,"magnifying-glass"),a()())}function Je(n,C){if(n&1&&(r(0,"div",15),l(1,5),r(2,"spk-icon",14),_(3,"caret-down"),a()()),n&2){let e=m();W("open",e.isOpen())}}var Ze=["dragImageElement"],et=[[["","sidenav",""]],[["","sidenav-closed-topbar",""]],"*"],tt=["[sidenav]","[sidenav-closed-topbar]","*"];function it(n,C){n&1&&H(0,"div",1,0)}function nt(n,C){if(n&1){let e=O();r(0,"div",7),v("drop",function(i){d(e);let o=m();return u(o.drop(i))})("dragover",function(i){d(e);let o=m();return u(o.dragOver(i))})("dragenter",function(){d(e);let i=m();return u(i.dragEnter())})("dragleave",function(){d(e);let i=m();return u(i.dragLeave())}),a()}}function ot(n,C){if(n&1){let e=O();r(0,"div",8),v("dragstart",function(i){d(e);let o=m();return u(o.dragStart(i))})("dragend",function(i){d(e);let o=m();return u(o.dragEnd(i))})("drag",function(i){d(e);let o=m();return u(o.drag(i))})("touchstart",function(i){d(e);let o=m();return u(o.touchStart(i))})("touchmove",function(i){d(e);let o=m();return u(o.touchMove(i))})("touchend",function(i){d(e);let o=m();return u(o.touchEnd(i))})("touchcancel",function(i){d(e);let o=m();return u(o.touchCancel(i))}),a()}}var st=["tooltipRef"],te=(()=>{class n{static{this.\u0275fac=function(t){return new(t||n)}}static{this.\u0275cmp=f({type:n,selectors:[["spk-icon"]],standalone:!0,features:[g],ngContentSelectors:w,decls:1,vars:0,template:function(t,i){t&1&&(S(),l(0))},encapsulation:2,changeDetection:0})}}return n})(),Tt=(()=>{class n{constructor(){this._el=R(L),this.alertService=p(null),this.type=p("error"),this.id=p(null)}removeAlert(){this.id()&&this.alertService()&&this.alertService()?.removeAlert(this.id())}static{this.\u0275fac=function(t){return new(t||n)}}static{this.\u0275cmp=f({type:n,selectors:[["spk-alert"]],hostVars:2,hostBindings:function(t,i){t&2&&U(i.type())},inputs:{alertService:[1,"alertService"],type:[1,"type"],id:[1,"id"]},standalone:!0,features:[g],ngContentSelectors:_e,decls:17,vars:4,consts:[["ref",""],[1,"alert"],[1,"icon"],[1,"state-icon"],[1,"title"],[1,"close-icon"],[1,"content"],[1,"close-icon",3,"click"]],template:function(t,i){if(t&1&&(S(Ce),r(0,"div",1)(1,"div",2,0),l(3),a(),r(4,"div",2),V(5,ye,2,0,"spk-icon",3)(6,ke,2,0,"spk-icon",3)(7,De,2,0,"spk-icon",3)(8,be,2,0,"spk-icon",3)(9,we,2,0,"spk-icon",3)(10,Oe,2,0,"spk-icon",3),a(),r(11,"div",4),l(12,1),l(13,2),a(),V(14,Ee,2,0,"spk-icon",5),r(15,"div",6),l(16,3),a()()),t&2){let o,s=de(2);D(),A("display",s.children.length?"block":"none"),D(4),M((o=i.type())==="primary"?5:o==="accent"?6:o==="success"?7:o==="error"?8:o==="warning"?9:10),D(9),M(i.id()?14:-1)}},dependencies:[te],encapsulation:2,changeDetection:0})}}return n})();var xt=(()=>{class n{constructor(){this.alertHistory=h([]),this.alertHistoryIsOpen=h(!1),this.alertHistoryIsHidden=h(!0)}error(e){this.addAlert({type:"error",title:e??"An error occured"})}success(e){this.addAlert({type:"success",title:e})}question(e){this.addAlert({type:"question",title:e})}warning(e){this.addAlert({type:"warning",title:e})}info(e){this.addAlert({type:"primary",title:e})}addAlert(e){let t=crypto.randomUUID();this.alertHistory.update(i=>[q(I({},e),{isOpen:!0,animateIn:!0,animateOut:!1,id:t}),...i]),setTimeout(()=>{this.alertHistory.update(i=>i.map(o=>q(I({},o),{animateIn:o.id===t?!1:o.animateIn})))},40),setTimeout(()=>{this.hideAlert(t)},2500)}removeAlert(e){this.alertHistory.update(t=>t.map(i=>q(I({},i),{animateOut:i.id===e?!1:i.animateOut}))),setTimeout(()=>{this.alertHistory.update(t=>t.filter(i=>i.id!==e))},300)}hideAlert(e){this.alertHistory.update(t=>t.map(i=>q(I({},i),{isOpen:i.id===e?!1:i.isOpen})))}setHidden(e){this.alertHistoryIsHidden.set(e)}static{this.\u0275fac=function(t){return new(t||n)}}static{this.\u0275prov=Q({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})(),rt={width:void 0,maxWidth:void 0,height:void 0,maxHeight:void 0,closeOnButton:!0,closeOnEsc:!0,closeOnOutsideClick:!0},at=(()=>{class n{constructor(){this.dialogRef=x("dialogRef"),this.isOpen=P(!1),this.options=p(),this.closed=j(),this.defaultOptionMerge=b(()=>I(I({},rt),this.options())),this.abortController=null,this.isOpenEffect=E(()=>{let e=this.dialogRef()?.nativeElement;this.abortController&&this.abortController.abort(),this.abortController=new AbortController,this.isOpen()?(e?.showModal(),e?.addEventListener("close",()=>{this.isOpen.set(!1),this.closed.emit()},{signal:this.abortController?.signal}),document.addEventListener("keydown",t=>{t.key==="Escape"&&!this.defaultOptionMerge().closeOnEsc&&t.preventDefault(),t.key==="Escape"&&this.defaultOptionMerge().closeOnEsc&&this.isOpen.set(!1)},{signal:this.abortController?.signal})):(this.closed.emit(),e?.close())},{allowSignalWrites:!0})}ngOnDestroy(){this.abortController?.abort()}static{this.\u0275fac=function(t){return new(t||n)}}static{this.\u0275cmp=f({type:n,selectors:[["spk-dialog"]],viewQuery:function(t,i){t&1&&F(i.dialogRef,Te,5),t&2&&B()},inputs:{isOpen:[1,"isOpen"],options:[1,"options"]},outputs:{isOpen:"isOpenChange",closed:"closed"},standalone:!0,features:[g],ngContentSelectors:w,decls:5,vars:9,consts:[["dialogRef",""],["spkDialog",""],[1,"content"],[1,"closeable-overlay"],[1,"closeable-overlay",3,"click"]],template:function(t,i){if(t&1&&(S(),r(0,"dialog",1,0)(2,"div",2),l(3),a(),V(4,xe,1,0,"div",3),a()),t&2){let o,s,c,y;A("width",(o=i.defaultOptionMerge().width)!==null&&o!==void 0?o:"")("max-width",(s=i.defaultOptionMerge().maxWidth)!==null&&s!==void 0?s:"")("max-height",(c=i.defaultOptionMerge().maxHeight)!==null&&c!==void 0?c:"")("height",(y=i.defaultOptionMerge().height)!==null&&y!==void 0?y:""),D(4),M(i.defaultOptionMerge().closeOnOutsideClick?4:-1)}},encapsulation:2,changeDetection:0})}}return n})(),Mt=(()=>{class n{constructor(){this.#e=document.querySelector("body"),this.#n=R(he),this.compRef=null,this.insertedCompRef=null,this.closedFieldSub=null,this.compClosedSub=null}#e;#n;open(e,t){let i=this.#n.injector,o=this.#c(),ie=t||{},{data:s,closed:c}=ie,y=ne(ie,["data","closed"]);this.compRef&&this.#r(),this.insertedCompRef=ee(e,{environmentInjector:i}),this.compRef=ee(at,{hostElement:o,environmentInjector:i,projectableNodes:[[this.insertedCompRef.location.nativeElement]]});let T=this.insertedCompRef.instance?.data,k=this.insertedCompRef.instance?.closed;if(s){if($(T))this.insertedCompRef.setInput("data",s);else if(!$(T))throw new Error("data is not an input signal on the passed component")}k instanceof N&&(this.closedFieldSub=k.subscribe((...Se)=>{c?.(...Se),this.#r()})),this.#n.attachView(this.insertedCompRef.hostView),this.#n.attachView(this.compRef.hostView),this.insertedCompRef.changeDetectorRef.detectChanges(),this.compRef.changeDetectorRef.detectChanges(),this.compRef.instance.isOpen.set(!0),this.compRef.setInput("options",y),this.compRef.instance.closed.subscribe(()=>ve());let ge=this;function ve(){k&&k instanceof N?k.emit(!1):c?.(void 0),ge.#r()}return this.insertedCompRef.instance}#c(){let e=document.createElement("spk-dialog-ref");return e.id="spk-dialog-ref",document.getElementById("spk-dialog-ref")||this.#e.append(e),document.getElementById("spk-dialog-ref")}#r(){this.insertedCompRef&&(this.#n.detachView(this.insertedCompRef.hostView),this.closedFieldSub?.unsubscribe(),this.insertedCompRef.destroy()),this.compRef&&(this.#n.detachView(this.compRef.hostView),this.compClosedSub?.unsubscribe(),this.compRef.destroy())}ngOnDestroy(){this.#r()}static{this.\u0275fac=function(t){return new(t||n)}}static{this.\u0275prov=Q({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})(),Ft=(()=>{class n{static{this.\u0275fac=function(t){return new(t||n)}}static{this.\u0275cmp=f({type:n,selectors:[["spk-button-group"]],standalone:!0,features:[g],ngContentSelectors:w,decls:1,vars:0,template:function(t,i){t&1&&(S(),l(0))},encapsulation:2,changeDetection:0})}}return n})(),lt=(()=>{class n{static{this.\u0275fac=function(t){return new(t||n)}}static{this.\u0275cmp=f({type:n,selectors:[["","spk-button",""]],standalone:!0,features:[g],attrs:Me,ngContentSelectors:w,decls:1,vars:0,template:function(t,i){t&1&&(S(),l(0))},encapsulation:2,changeDetection:0})}}return n})(),It=(()=>{class n{static{this.\u0275fac=function(t){return new(t||n)}}static{this.\u0275cmp=f({type:n,selectors:[["spk-card"]],standalone:!0,features:[g],ngContentSelectors:w,decls:1,vars:0,template:function(t,i){t&1&&(S(),l(0))},encapsulation:2,changeDetection:0})}}return n})(),Vt=(()=>{class n{#e=R(L);onClick(){this.#e.nativeElement.querySelector("input")&&this.#e.nativeElement.querySelector("input").focus()}static{this.\u0275fac=function(t){return new(t||n)}}static{this.\u0275cmp=f({type:n,selectors:[["spk-checkbox"]],hostBindings:function(t,i){t&1&&v("click",function(){return i.onClick()})},standalone:!0,features:[g],ngContentSelectors:w,decls:6,vars:0,consts:[[1,"box"],[1,"inherit","default-indicator"],[1,"inherit","indeterminate-indicator"]],template:function(t,i){t&1&&(S(),r(0,"div",0)(1,"spk-icon",1),_(2,"check"),a(),r(3,"spk-icon",2),_(4,"minus"),a()(),l(5))},dependencies:[te],encapsulation:2,changeDetection:0})}}return n})(),ct=(()=>{class n{static{this.\u0275fac=function(t){return new(t||n)}}static{this.\u0275cmp=f({type:n,selectors:[["spk-chip"]],standalone:!0,features:[g],ngContentSelectors:w,decls:1,vars:0,template:function(t,i){t&1&&(S(),l(0))},encapsulation:2,changeDetection:0})}}return n})();var pt=(()=>{class n{#e=R(L);onClick(){this.#e.nativeElement.querySelector("input")&&this.#e.nativeElement.querySelector("input").focus(),this.#e.nativeElement.querySelector("textarea")&&this.#e.nativeElement.querySelector("textarea").focus()}ngOnInit(){let e=CSS.supports("field-sizing","content"),t=this.#e.nativeElement.querySelector("textarea");if(!e&&t!==null){let c=function(){s.style.height="auto",s.style.height=s.scrollHeight+"px"},y=function(){window.setTimeout(c,0)};var i=c,o=y;let s=this.#e.nativeElement.querySelector("textarea");s.addEventListener("change",c),s.addEventListener("cut",y),s.addEventListener("paste",y),s.addEventListener("drop",y),s.addEventListener("keydown",y),s.focus(),s.select(),c()}}static{this.\u0275fac=function(t){return new(t||n)}}static{this.\u0275cmp=f({type:n,selectors:[["spk-form-field"]],hostBindings:function(t,i){t&1&&v("click",function(){return i.onClick()})},standalone:!0,features:[g],ngContentSelectors:Ve,decls:16,vars:0,consts:[[1,"input-wrap"],[1,"prefix"],[1,"prefix-space"],[1,"suffix-space"],[1,"helpers"],[1,"error"],[1,"hint"]],template:function(t,i){t&1&&(S(Ie),l(0),r(1,"div",0)(2,"div",1),l(3,1),l(4,2),a(),H(5,"div",2),l(6,3),l(7,4),l(8,5),H(9,"div",3),l(10,6),a(),r(11,"div",4)(12,"div",5),l(13,7),a(),r(14,"div",6),l(15,8),a()())},encapsulation:2,changeDetection:0})}}return n})(),At=(()=>{class n{static{this.\u0275fac=function(t){return new(t||n)}}static{this.\u0275cmp=f({type:n,selectors:[["spk-list"]],standalone:!0,features:[g],ngContentSelectors:w,decls:1,vars:0,template:function(t,i){t&1&&(S(),l(0))},encapsulation:2,changeDetection:0})}}return n})(),dt={width:void 0,height:void 0,closeOnButton:!0,closeOnEsc:!0},me=(()=>{class n{constructor(){this.#e=4,this.SUPPORTS_ANCHOR=CSS.supports("position-anchor","--abc")&&CSS.supports("anchor-name","--abc"),this.above=p(!1),this.right=p(!1),this._above=h(this.above()),this._right=h(this.right()),this.disableOpenByClick=p(!1),this.isOpen=P(!1),this.options=p(),this.closed=j(),this.defaultOptionMerge=b(()=>I(I({},dt),this.options())),this.triggerRef=x.required("triggerRef"),this.popoverRef=x.required("popoverRef"),this.id=h("--"+crypto.randomUUID()),this.menuStyle=h(null),this.openAbort=null,this.isCalculatingPosition=b(()=>{let e=this.popoverRef()?.nativeElement;return this.isOpen()?(this.openAbort&&this.openAbort.abort(),this.openAbort=new AbortController,e?.showPopover(),document.addEventListener("keydown",i=>{i.key==="Escape"&&!this.defaultOptionMerge().closeOnEsc&&i.preventDefault(),i.key==="Escape"&&this.defaultOptionMerge().closeOnEsc&&this.isOpen.set(!1)},{capture:!0,signal:this.abortController?.signal}),!0):(e.hidePopover(),this.abortController?.abort(),this.openAbort?.abort(),this.closed.emit(),!1)}),this.abortController=null,this.calcPositionEffect=E(()=>{if(!this.isCalculatingPosition())return;this.abortController&&this.abortController.abort(),this.abortController=new AbortController;let t=this.abortController.signal;this.calculateMenuPosition(),this.#n(this.popoverRef()?.nativeElement).addEventListener("scroll",()=>this.calculateMenuPosition(),{signal:t}),document.addEventListener("resize",()=>this.calculateMenuPosition(),{signal:t})},{allowSignalWrites:!0}),this.scrollableStyles=["scroll","auto"]}#e;toggleIsOpen(e){e.preventDefault(),e.stopPropagation(),this.disableOpenByClick()||this.isOpen.set(!this.isOpen())}#n(e){let t=e.parentElement;for(;t;){if(this.scrollableStyles.indexOf(window.getComputedStyle(t).overflowY)>-1&&t.scrollHeight>t.clientHeight)return t;t=t.parentElement}return document.documentElement}eventClose(e){e.stopPropagation(),e.preventDefault(),this.isOpen.set(!1)}ngOnDestroy(){this.abortController&&this.abortController.abort()}calculateMenuPosition(){let e=this.triggerRef()?.nativeElement.getBoundingClientRect(),t=this.popoverRef()?.nativeElement.getBoundingClientRect(),i=e.left,o=e.bottom,s=i,c=o+this.#e,y=s+t.width>window.innerWidth,T=c+t.height>window.innerHeight;if(this.SUPPORTS_ANCHOR)this._above.set(T),this._right.set(y);else{if(this.above()){let k=e.top-t.height-this.#e;k>=0&&(c=k)}else T&&(c=e.top-t.height-this.#e);if(this.right()){let k=e.right-t.width;k>=0&&(s=k)}else y&&(c=T?e.top+e.height-t.height:e.top,s=e.left-t.width-this.#e);this.menuStyle.set({left:s+"px",top:c+"px"})}}static{this.\u0275fac=function(t){return new(t||n)}}static{this.\u0275cmp=f({type:n,selectors:[["spk-popover"]],viewQuery:function(t,i){t&1&&(F(i.triggerRef,fe,5),F(i.popoverRef,Ae,5)),t&2&&B(2)},hostVars:4,hostBindings:function(t,i){t&2&&W("above",i._above())("right",i._right())},inputs:{above:[1,"above"],right:[1,"right"],disableOpenByClick:[1,"disableOpenByClick"],isOpen:[1,"isOpen"],options:[1,"options"]},outputs:{isOpen:"isOpenChange",closed:"closed"},standalone:!0,features:[g],ngContentSelectors:Pe,decls:10,vars:6,consts:[["triggerRef",""],["popoverRef",""],[1,"trigger",3,"click"],[1,"trigger-wrapper"],["spk-button","",1,"outlined"],["popover","",1,"popover"],[1,"overlay",3,"click"]],template:function(t,i){if(t&1){let o=O();S(Re),r(0,"div",2,0),v("click",function(c){return d(o),u(i.toggleIsOpen(c))}),r(2,"div",3),l(3),a(),r(4,"button",4),_(5,"Open popover"),a()(),r(6,"div",5,1)(8,"div",6),v("click",function(c){return d(o),u(i.isOpen()&&i.eventClose(c))}),a(),l(9,1),a()}t&2&&(A("anchor-name",i.id()),D(6),X(i.menuStyle()),A("position-anchor",i.id()))},dependencies:[lt],encapsulation:2,changeDetection:0})}}return n})(),Rt=(()=>{class n{constructor(){this.above=p(!1),this.right=p(!1),this.keepClickedOptionActive=p(!1),this.isOpen=P(!1),this.closed=j(),this.activeOptionIndex=h(-1),this.options=re("option"),this.optionsEl=b(()=>Array.from(this.options()).map(e=>e.nativeElement).filter(e=>e.disabled!==!0)),this.optionsEffect=E(()=>{if(!this.isOpen())return;let e=this.activeOptionIndex(),t=this.optionsEl();if(e>-1)for(let i=0;i<t.length;i++){if(i===e){t[i].scrollIntoView({block:"center"}),t[i].classList.add("active");continue}t[i].classList.remove("active")}})}onKeyDown(e){if(!this.isOpen())return;e.preventDefault();let t=this.optionsEl(),i=this.activeOptionIndex();e.key==="ArrowDown"?i===-1||i===t.length-1?this.activeOptionIndex.set(0):this.activeOptionIndex.set(i+1):e.key==="ArrowUp"?i===-1||i===0?this.activeOptionIndex.set(t.length-1):this.activeOptionIndex.set(i-1):e.key==="Enter"?i>-1&&(t[i].click(),setTimeout(()=>this.close("active"))):e.key==="Tab"?this.close("closed"):this.activeOptionIndex.set(-1)}close(e="closed",t){(!this.keepClickedOptionActive()||e==="closed")&&this.#e(),this.isOpen.set(!1),this.closed.emit(e==="active")}#e(){this.activeOptionIndex.set(-1);let e=this.optionsEl();for(let t=0;t<e.length;t++)e[t].classList.remove("active")}static{this.\u0275fac=function(t){return new(t||n)}}static{this.\u0275cmp=f({type:n,selectors:[["spk-menu"]],contentQueries:function(t,i,o){t&1&&pe(o,i.options,He,4),t&2&&B()},hostBindings:function(t,i){t&1&&v("keydown",function(s){return i.onKeyDown(s)})},inputs:{above:[1,"above"],right:[1,"right"],keepClickedOptionActive:[1,"keepClickedOptionActive"],isOpen:[1,"isOpen"]},outputs:{isOpen:"isOpenChange",closed:"closed"},standalone:!0,features:[g],ngContentSelectors:je,decls:6,vars:6,consts:[["formFieldWrapper",""],[3,"isOpenChange","closed","isOpen","disableOpenByClick","above","right","options"],["trigger","",3,"click"],[1,"options",3,"click"]],template:function(t,i){if(t&1){let o=O();S(Be),r(0,"spk-popover",1,0),J("isOpenChange",function(c){return d(o),K(i.isOpen,c)||(i.isOpen=c),u(c)}),v("closed",function(){return d(o),u(i.close("fromPopover"))}),r(2,"div",2),v("click",function(){return d(o),u(i.isOpen.set(!0))}),l(3),a(),r(4,"div",3),v("click",function(){return d(o),u(i.close("active"))}),l(5,1),a()()}t&2&&(G("isOpen",i.isOpen),Y("disableOpenByClick",!0)("above",i.above())("right",i.right())("options",Z(5,Le)))},dependencies:[me],encapsulation:2,changeDetection:0})}}return n})(),Pt=(()=>{class n{constructor(){this.value=p(void 0)}static{this.\u0275fac=function(t){return new(t||n)}}static{this.\u0275cmp=f({type:n,selectors:[["spk-progress-bar"]],inputs:{value:[1,"value"]},standalone:!0,features:[g],decls:1,vars:2,consts:[[1,"progress-bar"]],template:function(t,i){t&1&&H(0,"div",0),t&2&&A("width",i.value(),"%")},encapsulation:2,changeDetection:0})}}return n})(),Ht=(()=>{class n{#e=R(L);onClick(){this.#e.nativeElement.querySelector("input")&&this.#e.nativeElement.querySelector("input").focus()}static{this.\u0275fac=function(t){return new(t||n)}}static{this.\u0275cmp=f({type:n,selectors:[["spk-radio"]],hostBindings:function(t,i){t&1&&v("click",function(){return i.onClick()})},standalone:!0,features:[g],ngContentSelectors:w,decls:2,vars:0,consts:[[1,"radio"]],template:function(t,i){t&1&&(S(),H(0,"div",0),l(1))},encapsulation:2,changeDetection:0})}}return n})();var Bt=(()=>{class n{constructor(){this.value=p(null)}static{this.\u0275fac=function(t){return new(t||n)}}static{this.\u0275cmp=f({type:n,selectors:[["spk-option"]],inputs:{value:[1,"value"]},standalone:!0,features:[g],ngContentSelectors:w,decls:1,vars:0,template:function(t,i){t&1&&(S(),l(0))},encapsulation:2,changeDetection:0})}}return n})(),ut=["primary","accent","tertiary","warn","success"],jt=(()=>{class n{constructor(){this.#e=R(se),this.#n=R(L),this.#c=new MutationObserver(e=>{for(let t of e)if(t.type==="childList"&&t.target instanceof HTMLElement){let i=[...Array.from(t.addedNodes),...Array.from(t.removedNodes)];for(let o=0;o<i.length;o++){let s=i[o];(s.nodeName==="OPTION"||s.nodeName==="SPK-OPTION")&&this.#s.set(!this.#s())}}}),this.optionsRef=x("optionsRef"),this.formFieldWrapperRef=x.required("formFieldWrapper"),this.inputWrapRef=x.required("inputWrap"),this.inputValue=P(""),this.readonly=p(!1),this.isFreeText=p(!1),this.selectMultiple=p(!1),this.hideClearButton=p(!1),this.displayValue=p(""),this.displayFn=p(e=>`${e}`),this.above=p(!1),this.right=p(!1),this.#r=h(!1),this.#s=h(!1),this.#t=h(null),this.#a=h(null),this.#l=h(!1),this.#i=h(-1),this.isOpen=h(!1),this._isOpen=h(!1),this.#h=E(()=>{this._isOpen.set(this.isOpen()&&this.#o().length>0)},{allowSignalWrites:!0}),this.isSearchInput=b(()=>this.#t()?.type==="search"),this.optionsEl=b(()=>this.optionsRef()?.nativeElement),this.#o=b(()=>{this.#s();let e=this.optionsRef()?.nativeElement.querySelectorAll("option"),t=this.optionsRef()?.nativeElement.querySelectorAll("spk-option");return e?.length?Array.from(e):t?.length?Array.from(t):[]}),this.chipClass=b(()=>Array.from(this.#n.nativeElement.classList).filter(e=>ut.includes(e)).join(" ")),this._displayValue=b(()=>this.displayFn()?this.displayFn()(this.inputValue()):this.displayValue()??this.inputValue()),this.selectedOption=b(()=>this.#a()?this.#o().find(e=>(e.getAttribute("value")||e.getAttribute("ng-reflect-value"))===this.#a()):null),this.optionsOpenController=null,this.inputController=null,this.clickController=null,this.inputAbortController=null,this.#f=E(()=>{this.#r();let e=this.#n.nativeElement.querySelector("input");e&&(this.#y(e),e.addEventListener("inputValueChanged",t=>{this.inputValue.set(t.detail.value),this.selectMultiple()&&this.#d()}),this.#t.set(e),e.autocomplete="off",typeof e.value=="string"&&this.inputValue.set(e.value))},{allowSignalWrites:!0}),this.#m=E(()=>{this.inputController&&this.inputController.abort(),this.inputController=new AbortController;let e=this.#t();e&&e.addEventListener("keydown",t=>{(this.selectMultiple()||!this.isSearchInput()&&!this.isFreeText())&&t.preventDefault(),t.key==="Escape"?this.close():t.key==="ArrowDown"?this.#i()===null||this.#i()<0||this.#i()===this.#o().length-1?this.#i.set(this.#u()):this.#i.set(this.#i()+1):t.key==="ArrowUp"?this.#i()===null||this.#i()<0||this.#i()===0?this.#i.set(this.#o().length-1):this.#i.set(this.#i()-1):t.key==="Enter"?(this.isFreeText()&&this.close(!0),this.#i()>-1&&this.selected(this.getOptionElement(this.#i()))):t.key==="Tab"?this.close(!0):(this.#i.set(-1),this.isFreeText()&&this.calculateSelectedOptions())},{signal:this.inputController?.signal})}),this.#g=E(()=>{this.isOpen()&&this.#_()}),this.#v=E(()=>{let e=this.inputValue();this.#t()&&(this.#t().value=e??"",this.#t().dispatchEvent(new Event("input")))},{allowSignalWrites:!0}),this.#p=new MutationObserver(e=>{for(var t of e)t.type=="childList"&&t.target.classList.contains("input")&&this.#r.set(!this.#r())})}#e;#n;#c;#r;#s;#t;#a;#l;#i;#h;#o;#f;#m;#g;#v;ngOnInit(){this.#p.observe(this.inputWrapRef().nativeElement,{attributes:!0,childList:!0,subtree:!0})}getOptionElement(e){return this.#o()[e]}deselect(e,t=!1){e?.stopPropagation(),this.#t()&&(this.#t().value="",this.#t().dispatchEvent(new Event("input"))),this.#i.set(this.#u()),this.#l.set(!1),(t||!this.selectMultiple())&&(this.isOpen.set(!1),this.#t()?.blur())}selected(e){if(!e)return;let t=(e.getAttribute("value")||e.getAttribute("ng-reflect-value"))??"",i=this.#o().indexOf(e);if(e.hasAttribute("deselect"))return this.deselect(null,!0);if(this.#i.set(i),e&&!this.selectMultiple()){this.inputValue.set(t);for(let o=0;o<this.#o().length;o++){let s=this.#o()[o];(s.getAttribute("value")||s.getAttribute("ng-reflect-value"))===t?this.#e.setAttribute(s,"selected","selected"):this.#e.removeAttribute(s,"selected")}}else e&&this.selectMultiple()&&(this.inputValue().includes(t)?(this.#e.removeAttribute(e,"selected"),this.toggleOption(t)):(this.#e.setAttribute(e,"selected","selected"),this.inputValue.set(this.inputValue().length?`${this.inputValue()},${t}`:t)));this.#l.set(!1),this.#a.set(null),this.selectMultiple()?this.#t()?.focus():(this.isOpen.set(!1),this.#t()?.blur())}calculateSelectedOptions(){setTimeout(()=>{let e=this.#o(),i=this.#t()?.value;for(let o=0;o<e.length;o++){let s=e[o];(s.getAttribute("value")||s.getAttribute("ng-reflect-value"))===i?this.#e.setAttribute(s,"selected","selected"):this.#e.removeAttribute(s,"selected")}})}toggleOption(e,t){t&&(t.preventDefault(),t.stopPropagation()),this.inputValue.set(this.inputValue().startsWith(e+",")?this.inputValue().replace(e+",",""):this.inputValue().includes(","+e)?this.inputValue().replace(","+e,""):this.inputValue().replace(e,""))}close(e=!1){this.#s.set(!this.#s());let t=this.#a();this.isSearchInput()&&!this.isFreeText()&&t&&setTimeout(()=>this.inputValue.set(t)),this.isOpen.set(!1),this.#l.set(!1),e||this.#t()?.blur(),this.#c.disconnect(),this.#C()}open(e){e.preventDefault(),!this.isOpen()&&(this.#c.observe(this.optionsEl(),{childList:!0,subtree:!0}),this.isSearchInput()&&!this.#l()&&!this.isFreeText()?(this.#a.set(this.inputValue()),this.inputValue.set(""),this.#t().focus(),this.#t().value="",this.#t().dispatchEvent(new Event("input")),this.#i.set(-1)):(this.isSearchInput()||this.selectMultiple())&&this.#t().focus(),this.#s.set(!this.#s()),this.isOpen.set(!0),this.#l.set(!0),this.#S(),this.#d())}#S(){this.clickController&&this.clickController.abort(),this.clickController=new AbortController,this.optionsEl()?.addEventListener("click",e=>{if(!e.target)return;this.#s.set(!this.#s());let t=e.target.closest("option"),i=e.target.closest("spk-option"),o=t||i;this.#o().indexOf(o)>-1&&this.selected(o)},{signal:this.clickController?.signal})}#C(){this.clickController&&this.clickController.abort()}#_(){for(let e=0;e<this.#o().length;e++){let t=this.#o()[e];this.#e.removeClass(t,"focused"),this.#i()===e&&(this.#e.addClass(t,"focused"),t.scrollIntoView({block:"center"}))}}#d(){let e=this.#t();if(!e)return;this.inputValue.set(e.value);let t=e.value.split(",");setTimeout(()=>{let i=this.#o();for(let o=0;o<i.length;o++){let s=i[o].getAttribute("ng-reflect-value");s&&t.includes(s)?this.#e.setAttribute(i[o],"selected","selected"):this.#e.removeAttribute(i[o],"selected")}})}#u(){let e=this.#o();for(let t=0;t<e.length;t++)if(!e[t].hasAttribute("deselect"))return t;return-1}#p;#y(e){return Object.defineProperty(e,"value",{configurable:!0,get(){return Object.getOwnPropertyDescriptor(HTMLInputElement.prototype,"value").get.call(this)},set(t){Object.getOwnPropertyDescriptor(HTMLInputElement.prototype,"value").set.call(this,t);let o=new CustomEvent("inputValueChanged",{bubbles:!0,cancelable:!0,detail:{value:t}});return this.dispatchEvent(o),t}}),e}ngOnDestroy(){this.clickController&&this.clickController.abort(),this.inputController&&this.inputController.abort(),this.optionsOpenController&&this.optionsOpenController.abort(),this.#p.disconnect()}static{this.\u0275fac=function(t){return new(t||n)}}static{this.\u0275cmp=f({type:n,selectors:[["spk-select"]],viewQuery:function(t,i){t&1&&(F(i.optionsRef,We,5),F(i.formFieldWrapperRef,qe,5),F(i.inputWrapRef,Fe,5)),t&2&&B(3)},inputs:{inputValue:[1,"inputValue"],readonly:[1,"readonly"],isFreeText:[1,"isFreeText"],selectMultiple:[1,"selectMultiple"],hideClearButton:[1,"hideClearButton"],displayValue:[1,"displayValue"],displayFn:[1,"displayFn"],above:[1,"above"],right:[1,"right"]},outputs:{inputValue:"inputValueChange"},standalone:!0,features:[g],ngContentSelectors:Qe,decls:15,vars:8,consts:[["formFieldWrapper",""],["inputWrap",""],["optionsRef",""],[3,"isOpenChange","closed","isOpen","disableOpenByClick","options"],["trigger","",3,"click"],["ngProjectAs","input",5,["input"],1,"input"],[1,"display-value"],["suffix","",1,"deselect-indicator"],["suffix","",1,"search-indicator"],["suffix","",1,"select-open-indicator",3,"open"],[1,"sparkle-options"],[1,"small","simple",3,"class"],[1,"small","simple",3,"click"],["suffix","",1,"deselect-indicator",3,"click"],[1,"default-indicator"],["suffix","",1,"select-open-indicator"]],template:function(t,i){if(t&1){let o=O();S(Ue),r(0,"spk-popover",3,0),J("isOpenChange",function(c){return d(o),K(i.isOpen,c)||(i.isOpen=c),u(c)}),v("closed",function(){return d(o),u(i.close())}),r(2,"spk-form-field",4),v("click",function(c){return d(o),u(i.open(c))}),l(3,0,["ngProjectAs","label",5,["label"]]),r(4,"div",5,1),V(6,Xe,2,1,"div",6)(7,ze,2,1,"div",6),l(8,1),a(),V(9,Ge,4,0,"div",7)(10,Ke,4,0,"div",8)(11,Je,4,2,"div",9),a(),r(12,"div",10,2),l(14,2),a()()}t&2&&(G("isOpen",i.isOpen),Y("disableOpenByClick",!0)("options",Z(7,Ne)),D(2),U(i.readonly()?"readonly":""),D(4),M(i.selectMultiple()?6:i._displayValue()&&i.isSearchInput()&&!i.isOpen()||i._displayValue()&&!i.isSearchInput()?7:-1),D(3),M((i.inputValue()&&!i.isOpen()&&i.inputValue().length>0||i.selectedOption())&&!i.hideClearButton()?9:i.isSearchInput()&&!i.selectedOption()?10:11))},dependencies:[pt,te,ct,me],encapsulation:2,changeDetection:0})}}return n})(),Lt=(()=>{class n{constructor(){this.openWidth=280,this.openWidthTreshold=this.openWidth*.9,this.disableDrag=p(!1),this.isOpen=P(!1),this.type=p(""),this.dragImageElement=x.required("dragImageElement"),this.dragIsEnding=h(!1),this.dragIsOnScreen=h(!0),this.isDragging=h(!1),this.dragPositionX=h(0),this.dragActualPositionX=b(()=>{let e=this.dragPositionX(),t=.32;return e>this.openWidthTreshold?this.openWidthTreshold+(e-this.openWidthTreshold)*t:e}),this.draggingStyle=b(()=>this.type()!=="overlay"?null:this.isDragging()?`translateX(${this.dragActualPositionX()}px)`:this.isOpen()?`translateX(${this.openWidth}px)`:"translateX(0px)"),this.draggingEffect=E(()=>{this.isDragging()&&document.body.classList.add("dragging")})}drop(e){e.stopPropagation(),this.#e(e.clientX)}#e(e){this.isDragging.set(!1),e<=0?this.isOpen.set(!1):e>this.openWidthTreshold?this.isOpen.set(!0):e<this.openWidthTreshold&&(!this.isOpen()&&e<this.openWidthTreshold*.6?this.isOpen.set(!0):this.isOpen.set(!1))}dragEnd(e){(e.clientX<0||!this.dragIsOnScreen())&&this.#e(0)}dragEnter(){this.dragIsOnScreen.set(!0)}dragLeave(){this.dragIsOnScreen.set(!1)}dragOver(e){e.preventDefault(),this.#n(e)}dragStart(e){e.stopPropagation(),this.isDragging.set(!0),this.#n(e)}#n(e){e.dataTransfer?.setDragImage(this.dragImageElement().nativeElement,0,0)}drag(e){e.stopPropagation(),setTimeout(()=>{this.isDragging()&&this.dragIsOnScreen()&&this.dragPositionX.set(e.clientX)}),this.#n(e)}touchStart(e){e.stopPropagation(),this.isDragging.set(!0)}touchMove(e){e.stopPropagation(),setTimeout(()=>{this.isDragging()&&this.dragIsOnScreen()&&this.dragPositionX.set(e.touches[0].clientX)})}touchEnd(e){e.stopPropagation(),this.#e(e.changedTouches[0].clientX)}touchCancel(e){e.stopPropagation(),this.isDragging.set(!1)}static{this.\u0275fac=function(t){return new(t||n)}}static{this.\u0275cmp=f({type:n,selectors:[["spk-sidenav"]],viewQuery:function(t,i){t&1&&F(i.dragImageElement,Ze,5),t&2&&B()},hostVars:10,hostBindings:function(t,i){t&2&&W("open",i.isOpen())("closed",!i.isOpen())("overlay",i.type()==="overlay")("simple",i.type()==="simple")("is-dragging",i.isDragging())},inputs:{disableDrag:[1,"disableDrag"],isOpen:[1,"isOpen"],type:[1,"type"]},outputs:{isOpen:"isOpenChange"},standalone:!0,features:[g],ngContentSelectors:tt,decls:10,vars:5,consts:[["dragImageElement",""],[1,"drag-image"],[1,"dropping-surface"],[1,"sidenav"],[1,"main-wrap"],["draggable","true",1,"dragable"],[1,"closed-topbar"],[1,"dropping-surface",3,"drop","dragover","dragenter","dragleave"],["draggable","true",1,"dragable",3,"dragstart","dragend","drag","touchstart","touchmove","touchend","touchcancel"]],template:function(t,i){t&1&&(S(et),V(0,it,2,0,"div",1)(1,nt,1,0,"div",2),r(2,"div",3),l(3),a(),r(4,"div",4),V(5,ot,1,0,"div",5),r(6,"div",6),l(7,1),a(),r(8,"main"),l(9,2),a()()),t&2&&(M(i.type()==="overlay"?0:-1),D(),M(i.type()==="overlay"&&i.isDragging()?1:-1),D(3),A("transform",i.draggingStyle()),D(),M(i.type()==="overlay"&&!i.disableDrag()?5:-1))},encapsulation:2,changeDetection:0})}}return n})();var Wt=(()=>{class n{static{this.\u0275fac=function(t){return new(t||n)}}static{this.\u0275cmp=f({type:n,selectors:[["spk-stepper"]],standalone:!0,features:[g],ngContentSelectors:w,decls:1,vars:0,template:function(t,i){t&1&&(S(),l(0))},encapsulation:2,changeDetection:0})}}return n})();var qt=(()=>{class n{static{this.\u0275fac=function(t){return new(t||n)}}static{this.\u0275cmp=f({type:n,selectors:[["spk-toggle"]],standalone:!0,features:[g],ngContentSelectors:w,decls:3,vars:0,consts:[[1,"box"],[1,"knob"]],template:function(t,i){t&1&&(S(),r(0,"div",0),H(1,"div",1),a(),l(2))},encapsulation:2,changeDetection:0})}}return n})(),Ut=(()=>{class n{constructor(){this.#e=4,this.SUPPORTS_ANCHOR=CSS.supports("position-anchor","--abc")&&CSS.supports("anchor-name","--abc"),this.disabled=p(!1),this.above=p(!1),this.right=p(!1),this._above=h(this.above()),this._right=h(this.right()),this.message=p.required(),this.isOpen=P(!1),this.closed=j(),this.triggerRef=x.required("triggerRef"),this.tooltipRef=x.required("tooltipRef"),this.id=h("--"+crypto.randomUUID()),this.menuStyle=h(null),this.isCalculatingPosition=b(()=>{let e=this.tooltipRef()?.nativeElement;return this.isOpen()?(e?.showPopover(),!0):(e.hidePopover(),this.abortController?.abort(),this.closed.emit(),!1)}),this.abortController=null,this.calcPositionEffect=E(()=>{if(!this.isCalculatingPosition())return;this.abortController&&this.abortController.abort(),this.abortController=new AbortController;let t=this.abortController.signal;this.calculateMenuPosition(),this.#n(this.tooltipRef()?.nativeElement).addEventListener("scroll",()=>this.calculateMenuPosition(),{signal:t}),document.addEventListener("resize",()=>this.calculateMenuPosition(),{signal:t})},{allowSignalWrites:!0}),this.scrollableStyles=["scroll","auto"]}#e;#n(e){let t=e.parentElement;for(;t;){if(this.scrollableStyles.indexOf(window.getComputedStyle(t).overflowY)>-1&&t.scrollHeight>t.clientHeight)return t;t=t.parentElement}return document.documentElement}eventClose(e){e.stopPropagation(),e.preventDefault(),this.isOpen.set(!1)}ngOnDestroy(){this.abortController&&this.abortController.abort()}calculateMenuPosition(){let e=this.triggerRef()?.nativeElement.getBoundingClientRect(),t=this.tooltipRef()?.nativeElement.getBoundingClientRect(),i=e.left,o=e.bottom,s=i,c=o+this.#e,y=s+t.width>window.innerWidth,T=c+t.height>window.innerHeight;if(this.SUPPORTS_ANCHOR)this._above.set(T),this._right.set(y);else{if(this.above()){let k=e.top-t.height-this.#e;k>=0&&(c=k)}else T&&(c=e.top-t.height-this.#e);if(this.right()){let k=e.right-t.width;k>=0&&(s=k)}else y&&(c=T?e.top+e.height-t.height:e.top,s=e.left-t.width-this.#e);this.menuStyle.set({left:s+"px",top:c+"px"})}}static{this.\u0275fac=function(t){return new(t||n)}}static{this.\u0275cmp=f({type:n,selectors:[["spk-tooltip"]],viewQuery:function(t,i){t&1&&(F(i.triggerRef,fe,5),F(i.tooltipRef,st,5)),t&2&&B(2)},hostVars:6,hostBindings:function(t,i){t&2&&W("above",i._above())("right",i._right())("disabled",i.disabled())},inputs:{disabled:[1,"disabled"],above:[1,"above"],right:[1,"right"],message:[1,"message"],isOpen:[1,"isOpen"]},outputs:{isOpen:"isOpenChange",closed:"closed"},standalone:!0,features:[g],ngContentSelectors:w,decls:6,vars:7,consts:[["triggerRef",""],["tooltipRef",""],[1,"trigger",3,"mouseover","mouseout"],["popover","",1,"tooltip"]],template:function(t,i){if(t&1){let o=O();S(),r(0,"div",2,0),v("mouseover",function(){return d(o),u(i.isOpen.set(!0))})("mouseout",function(){return d(o),u(i.isOpen.set(!1))}),l(2),a(),r(3,"div",3,1),_(5),a()}t&2&&(A("anchor-name",i.id()),D(3),X(i.menuStyle()),A("position-anchor",i.id()),D(2),z(" ",i.message()," "))},encapsulation:2,changeDetection:0})}}return n})(),Qt=(()=>{class n{constructor(){this.filesOver=h(!1),this.filesDropped=j()}onDragOver(e){e.preventDefault(),e.stopPropagation(),this.filesOver.set(!0)}onDragLeave(e){e.preventDefault(),e.stopPropagation(),this.filesOver.set(!1)}ondrop(e){e.preventDefault(),e.stopPropagation(),this.filesOver.set(!1);let t=e.dataTransfer?.files;t&&t.length>0&&this.filesDropped.emit(t)}static{this.\u0275fac=function(t){return new(t||n)}}static{this.\u0275dir=oe({type:n,selectors:[["","spkDragDrop",""]],hostVars:2,hostBindings:function(t,i){t&1&&v("dragover",function(s){return i.onDragOver(s)})("dragleave",function(s){return i.onDragLeave(s)})("drop",function(s){return i.ondrop(s)}),t&2&&W("filesover",i.filesOver())},outputs:{filesDropped:"filesDropped"},standalone:!0})}}return n})();export{te as a,Tt as b,xt as c,at as d,Mt as e,Ft as f,lt as g,It as h,Vt as i,ct as j,pt as k,At as l,Rt as m,Pt as n,Ht as o,Bt as p,jt as q,Lt as r,Wt as s,qt as t,Ut as u,Qt as v};
@@ -1 +1 @@
1
- import{a as m,b as u}from"./chunk-N6REZCKW.js";import{D as l,K as f,Ta as v,W as b,b as d,da as I,ea as y,ec as V,fc as w,k as j,la as S,n as h,q as c}from"./chunk-QHJTF3V4.js";function z(e,n,o){!n&&y(e);let i=n??b(S);return o?I(i,o):i}function C(...e){let{normalizedSources:n,hasInitValue:o,operator:i,options:r}=E(e),s=z(C,r?.injector);return o?u(c(n).pipe(i),{initialValue:r.initialValue,injector:s}):u(c(n).pipe(i),{injector:s,requireSync:!0})}function E(e){if(!e||!e.length||typeof e[0]!="object")throw new TypeError("derivedFrom needs sources");let n=typeof e[1]=="function";if(e.length==3&&!n)throw new TypeError("derivedFrom needs pipeable operator as a second argument");n||e.splice(1,0,d);let[o,i,r]=e,s=r?.initialValue!==void 0;return{normalizedSources:Object.entries(o).reduce((p,[a,t])=>{if(v(t))p[a]=m(t,{injector:r?.injector}).pipe(f(w(t)));else if(h(t))p[a]=t.pipe(l());else if(typeof t=="function"){let A=V(t);p[a]=m(A,{injector:r?.injector}).pipe(f(t()))}else p[a]=j(t).pipe(l());return p},Array.isArray(o)?[]:{}),operator:i,hasInitValue:s,options:r}}export{C as a};
1
+ import{a as m,b as u}from"./chunk-CUYURNCB.js";import{E as l,L as f,X as b,Xa as v,b as d,ga as I,ha as y,k as j,n as h,oa as S,q as c,qc as V,rc as w}from"./chunk-67JGZ4NF.js";function z(e,n,o){!n&&y(e);let i=n??b(S);return o?I(i,o):i}function C(...e){let{normalizedSources:n,hasInitValue:o,operator:i,options:r}=E(e),s=z(C,r?.injector);return o?u(c(n).pipe(i),{initialValue:r.initialValue,injector:s}):u(c(n).pipe(i),{injector:s,requireSync:!0})}function E(e){if(!e||!e.length||typeof e[0]!="object")throw new TypeError("derivedFrom needs sources");let n=typeof e[1]=="function";if(e.length==3&&!n)throw new TypeError("derivedFrom needs pipeable operator as a second argument");n||e.splice(1,0,d);let[o,i,r]=e,s=r?.initialValue!==void 0;return{normalizedSources:Object.entries(o).reduce((p,[a,t])=>{if(v(t))p[a]=m(t,{injector:r?.injector}).pipe(f(w(t)));else if(h(t))p[a]=t.pipe(l());else if(typeof t=="function"){let A=V(t);p[a]=m(A,{injector:r?.injector}).pipe(f(t()))}else p[a]=j(t).pipe(l());return p},Array.isArray(o)?[]:{}),operator:i,hasInitValue:s,options:r}}export{C as a};
@@ -0,0 +1 @@
1
+ import{b as S}from"./chunk-CUYURNCB.js";import{a as h}from"./chunk-NAZLO3UY.js";import{m as v}from"./chunk-JE2I63Y6.js";import{$ as l,Pb as p,Qb as d,Ra as n,X as s,Xb as f,ac as u,bc as C,pb as c,qb as m,rb as g,sb as i,tb as a}from"./chunk-67JGZ4NF.js";import"./chunk-7CGTOI24.js";function L(t,o){if(t&1&&(i(0,"pre",0),p(1),u(2,"json"),a()),t&2){let e=o.$implicit;n(),d(C(2,1,e))}}var r=class t{#e=s(h);logs=S(this.#e.getApiV1LogdataLog());static \u0275fac=function(e){return new(e||t)};static \u0275cmp=l({type:t,selectors:[["app-logs"]],standalone:!0,features:[f],decls:4,vars:0,consts:[[2,"white-space","wrap"]],template:function(e,y){e&1&&(i(0,"h3"),p(1,"Logs"),a(),m(2,L,3,3,"pre",0,c)),e&2&&(n(2),g(y.logs()))},dependencies:[v],styles:["[_nghost-%COMP%]{display:block}h3[_ngcontent-%COMP%]{font:var(--title-30)}"],changeDetection:0})};export{r as default};
@@ -0,0 +1 @@
1
+ import{g as a,h as b,i as c}from"./chunk-NYFN2CT6.js";import"./chunk-VJDUCP4Z.js";import"./chunk-DNHLTHLR.js";import"./chunk-CUYURNCB.js";import"./chunk-SRX3KYGO.js";import"./chunk-VXKI3RQB.js";import"./chunk-NAZLO3UY.js";import"./chunk-3UHRO33D.js";import"./chunk-X2IPCPJN.js";import"./chunk-2MDIWOW5.js";import"./chunk-JE2I63Y6.js";import"./chunk-67JGZ4NF.js";import"./chunk-7CGTOI24.js";export{b as createAdvancedOption,a as createOptionsForm,c as default};
@@ -0,0 +1 @@
1
+ import{a as o}from"./chunk-MJCUB3L3.js";import{X as s,ca as i}from"./chunk-67JGZ4NF.js";import"./chunk-7CGTOI24.js";var a=class r{#t=s(o);transform(t,...e){if(!t)return"";let n=t.split(".")[0],p=parseInt(n.split(":")[0])??0,u=parseInt(n.split(":")[1])??0,m=parseInt(n.split(":")[2])??0;return this.#t.duration({hours:p,minutes:u,seconds:m}).humanize()}static \u0275fac=function(e){return new(e||r)};static \u0275pipe=i({name:"durationFormat",type:r,pure:!0,standalone:!0})};export{a as DurationFormatPipe};
@@ -0,0 +1 @@
1
+ import{a,b}from"./chunk-HJUBM7Q5.js";import"./chunk-3XQGPHYU.js";import"./chunk-VJDUCP4Z.js";import"./chunk-CUYURNCB.js";import"./chunk-VXKI3RQB.js";import"./chunk-NAZLO3UY.js";import"./chunk-3UHRO33D.js";import"./chunk-X2IPCPJN.js";import"./chunk-2MDIWOW5.js";import"./chunk-JE2I63Y6.js";import"./chunk-67JGZ4NF.js";import"./chunk-7CGTOI24.js";export{a as createRestoreOptionsForm,b as default};
@@ -0,0 +1 @@
1
+ import{a as d}from"./chunk-SRX3KYGO.js";import"./chunk-NAZLO3UY.js";import{m as y}from"./chunk-JE2I63Y6.js";import{$ as m,Pb as o,Qb as f,Ra as p,X as a,Xb as r,ac as c,bc as l,sb as t,tb as n}from"./chunk-67JGZ4NF.js";import"./chunk-7CGTOI24.js";var s=class i{#e=a(d);systemInfo=this.#e.systemInfo;static \u0275fac=function(e){return new(e||i)};static \u0275cmp=m({type:i,selectors:[["app-system-info"]],standalone:!0,features:[r],decls:5,vars:3,template:function(e,S){e&1&&(t(0,"h3"),o(1,"System info"),n(),t(2,"pre"),o(3),c(4,"json"),n()),e&2&&(p(3),f(l(4,1,S.systemInfo())))},dependencies:[y],styles:["[_nghost-%COMP%]{display:block}h3[_ngcontent-%COMP%]{font:var(--title-30)}"],changeDetection:0})};export{s as default};