@oliasoft-open-source/react-ui-library 4.2.4 → 4.2.5

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 (136) hide show
  1. package/dist/index.d.ts +2 -1
  2. package/dist/index.js +2 -0
  3. package/dist/index.js.map +1 -1
  4. package/dist/storybook/assets/Color-6VNJS4EI-344c490f.js +1 -0
  5. package/dist/storybook/assets/DocsRenderer-NNNQARDV-e3d267ad.js +1 -0
  6. package/dist/storybook/assets/WithTooltip-4HIR6TLV-351e5b49.js +1 -0
  7. package/dist/storybook/assets/{accordion-168fa7c5.js → accordion-1b587708.js} +1 -1
  8. package/dist/storybook/assets/{accordion.stories-0f8af16e.js → accordion.stories-41aed20e.js} +2 -2
  9. package/dist/storybook/assets/{actions-2d4e1c8e.js → actions-83a2a04e.js} +1 -1
  10. package/dist/storybook/assets/{actions.stories-81a7cb7a.js → actions.stories-a38cd26e.js} +1 -1
  11. package/dist/storybook/assets/{afe.stories-afb9be07.js → afe.stories-a4fbd6ce.js} +2 -2
  12. package/dist/storybook/assets/{badge.stories-5ce7957f.js → badge.stories-1cbf35f9.js} +1 -1
  13. package/dist/storybook/assets/{blowout.stories-ee7f932b.js → blowout.stories-3d16e5ec.js} +1 -1
  14. package/dist/storybook/assets/{button-74c97e4a.js → button-050c998a.js} +1 -1
  15. package/dist/storybook/assets/{button-group-fa895d0c.js → button-group-0176fca3.js} +1 -1
  16. package/dist/storybook/assets/{button-group.stories-22f072b7.js → button-group.stories-7659a587.js} +1 -1
  17. package/dist/storybook/assets/{button.stories-9b954335.js → button.stories-5f73ddef.js} +1 -1
  18. package/dist/storybook/assets/buttons-and-links-0ab68402.js +14 -0
  19. package/dist/storybook/assets/{card.stories-537a1772.js → card.stories-0437a4e2.js} +1 -1
  20. package/dist/storybook/assets/{casing-loads.stories-cfbab702.js → casing-loads.stories-d5882170.js} +2 -2
  21. package/dist/storybook/assets/{cell.stories-524a7418.js → cell.stories-0ae4bf08.js} +2 -2
  22. package/dist/storybook/assets/{check-box-e21258d5.js → check-box-b38490e5.js} +1 -1
  23. package/dist/storybook/assets/{check-box.stories-5f7d06e0.js → check-box.stories-9bf1c260.js} +1 -1
  24. package/dist/storybook/assets/{chunk-HLWAVYOI-e8fc2b58.js → chunk-HLWAVYOI-d2ee52b0.js} +1 -1
  25. package/dist/storybook/assets/color-992af239.js +25 -0
  26. package/dist/storybook/assets/{column.stories-ae7588c5.js → column.stories-d5ca2c42.js} +1 -1
  27. package/dist/storybook/assets/{dialog-cd58dd09.js → dialog-c036ff34.js} +1 -1
  28. package/dist/storybook/assets/{drawer-7f450988.js → drawer-308b0a03.js} +1 -1
  29. package/dist/storybook/assets/{drawer.stories-39625e91.js → drawer.stories-d76c0577.js} +2 -2
  30. package/dist/storybook/assets/{empty.stories-e0e3ac78.js → empty.stories-30fdd793.js} +1 -1
  31. package/dist/storybook/assets/extends-98964cd2.js +1 -0
  32. package/dist/storybook/assets/{field-a094cd72.js → field-248df38c.js} +1 -1
  33. package/dist/storybook/assets/{field.stories-f1318053.js → field.stories-60d1a82f.js} +1 -1
  34. package/dist/storybook/assets/file-input.stories-ec8a6eba.js +66 -0
  35. package/dist/storybook/assets/{flex.stories-09e9c602.js → flex.stories-6a278b40.js} +1 -1
  36. package/dist/storybook/assets/footer.stories-50a2e3db.js +3 -0
  37. package/dist/storybook/assets/form.stories-fb337772.js +49 -0
  38. package/dist/storybook/assets/formation.stories-3c9cd637.js +74 -0
  39. package/dist/storybook/assets/{formatter-SWP5E3XI-72c21db3.js → formatter-SWP5E3XI-edf2ae3d.js} +2 -2
  40. package/dist/storybook/assets/{heading-d29eb744.js → heading-39e599c8.js} +1 -1
  41. package/dist/storybook/assets/{heading.stories-9689bddc.js → heading.stories-6ff7f5ed.js} +1 -1
  42. package/dist/storybook/assets/{help-icon-d4189b1b.js → help-icon-c0abd380.js} +1 -1
  43. package/dist/storybook/assets/{help-icon.stories-15d1620d.js → help-icon.stories-a30b7058.js} +1 -1
  44. package/dist/storybook/assets/icon-8acf9925.js +8 -0
  45. package/dist/storybook/assets/{icon.stories-8dae69e1.js → icon.stories-466d158f.js} +1 -1
  46. package/dist/storybook/assets/iframe-40056b2b.js +1 -0
  47. package/dist/storybook/assets/{index-e7458aee.js → index-6f0f8cb1.js} +4 -4
  48. package/dist/storybook/assets/{index.es-85cc7dfc.js → index.es-37e2ce0d.js} +4 -4
  49. package/dist/storybook/assets/inheritsLoose-c82a83d4.js +1 -0
  50. package/dist/storybook/assets/{input-d68625a5.js → input-05f21b51.js} +1 -1
  51. package/dist/storybook/assets/{input-group.stories-a2a3400e.js → input-group.stories-602e1e93.js} +2 -2
  52. package/dist/storybook/assets/{input-validation-3c2e0c83.js → input-validation-93c703d7.js} +2 -2
  53. package/dist/storybook/assets/{input.stories-164d93ab.js → input.stories-bf58ba7c.js} +1 -1
  54. package/dist/storybook/assets/{inputs-2ac34317.js → inputs-a519380b.js} +2 -2
  55. package/dist/storybook/assets/{label-13d490a3.js → label-e6d15b59.js} +1 -1
  56. package/dist/storybook/assets/{label.stories-427ba162.js → label.stories-1c98204a.js} +1 -1
  57. package/dist/storybook/assets/layout-forms-b03e5d2b.js +16 -0
  58. package/dist/storybook/assets/{layout-general-4a70e2af.js → layout-general-f4cc4d7a.js} +2 -2
  59. package/dist/storybook/assets/{list-0dc3df85.js → list-bc0d9ad9.js} +1 -1
  60. package/dist/storybook/assets/{list-heading-88cc8a9b.js → list-heading-2215213f.js} +1 -1
  61. package/dist/storybook/assets/{list.stories-5715452e.js → list.stories-c8b4f325.js} +2 -2
  62. package/dist/storybook/assets/{list.stories-data-94f7c623.js → list.stories-data-ba40864f.js} +1 -1
  63. package/dist/storybook/assets/{loader.stories-6107832a.js → loader.stories-4e8e8df7.js} +1 -1
  64. package/dist/storybook/assets/{menu.stories-927adf3d.js → menu.stories-8d724757.js} +1 -1
  65. package/dist/storybook/assets/{message-7e627e60.js → message-0b5ae3c5.js} +1 -1
  66. package/dist/storybook/assets/{message.stories-f41a0c22.js → message.stories-9b9c40c4.js} +1 -1
  67. package/dist/storybook/assets/{modal.stories-0e068cc1.js → modal.stories-1b13be75.js} +2 -2
  68. package/dist/storybook/assets/{number-input-7d49b0b3.js → number-input-cfbd9eb7.js} +1 -1
  69. package/dist/storybook/assets/{number-input.stories-02528124.js → number-input.stories-8137782e.js} +2 -2
  70. package/dist/storybook/assets/{option-dropdown.stories-5030bdb8.js → option-dropdown.stories-4c391727.js} +1 -1
  71. package/dist/storybook/assets/{padding-and-spacing-fd0bb136.js → padding-and-spacing-4b7060cb.js} +2 -2
  72. package/dist/storybook/assets/{page.stories-7cb68fed.js → page.stories-8d0476d7.js} +1 -1
  73. package/dist/storybook/assets/{pagination-8aade846.js → pagination-443065a8.js} +1 -1
  74. package/dist/storybook/assets/{pagination.stories-423b4938.js → pagination.stories-985230f7.js} +2 -2
  75. package/dist/storybook/assets/{pop-confirm.stories-81b30901.js → pop-confirm.stories-3016f322.js} +1 -1
  76. package/dist/storybook/assets/{popover-06e375a5.js → popover-c1234faa.js} +1 -1
  77. package/dist/storybook/assets/popover.stories-7542a367.js +1 -0
  78. package/dist/storybook/assets/preview-3b9b4290.js +1 -0
  79. package/dist/storybook/assets/{preview-7e324763.js → preview-871d714f.js} +3 -3
  80. package/dist/storybook/assets/projects.stories-47d63f05.js +47 -0
  81. package/dist/storybook/assets/{radio-button-135a9615.js → radio-button-d69b72e4.js} +1 -1
  82. package/dist/storybook/assets/{radio-button.stories-0e8377ea.js → radio-button.stories-6ff0dc9b.js} +1 -1
  83. package/dist/storybook/assets/{reservoirs.stories-6b14a37f.js → reservoirs.stories-537002ca.js} +2 -2
  84. package/dist/storybook/assets/{rich-text-input.stories-661f34f1.js → rich-text-input.stories-383819b4.js} +3 -3
  85. package/dist/storybook/assets/{row.stories-d5b6b4a6.js → row.stories-c12a3e52.js} +2 -2
  86. package/dist/storybook/assets/select-d4593fc0.js +1 -0
  87. package/dist/storybook/assets/{select.stories-60f055e6.js → select.stories-6651d3f2.js} +2 -2
  88. package/dist/storybook/assets/{side-bar-88e8cf41.js → side-bar-10cceacd.js} +1 -1
  89. package/dist/storybook/assets/{side-bar.stories-2c06f8a6.js → side-bar.stories-02211e0d.js} +1 -1
  90. package/dist/storybook/assets/{site.stories-dee8ce1c.js → site.stories-9486039d.js} +2 -2
  91. package/dist/storybook/assets/slider-5d5442fe.js +7 -0
  92. package/dist/storybook/assets/{slider.stories-79ab0e97.js → slider.stories-a55df653.js} +2 -2
  93. package/dist/storybook/assets/{spacer.stories-38071af8.js → spacer.stories-a2798d47.js} +1 -1
  94. package/dist/storybook/assets/syntaxhighlighter-NMPM6SWI-5b24c77f.js +1 -0
  95. package/dist/storybook/assets/{table-da6f6045.js → table-134da40b.js} +1 -1
  96. package/dist/storybook/assets/{table.stories-67a3023a.js → table.stories-8dd2a568.js} +2 -2
  97. package/dist/storybook/assets/{table.stories-data-8a836b92.js → table.stories-data-ddbcf8c3.js} +1 -1
  98. package/dist/storybook/assets/{textarea-d48efea2.js → textarea-5ebdd171.js} +1 -1
  99. package/dist/storybook/assets/{textarea.stories-89c8afd7.js → textarea.stories-02879684.js} +1 -1
  100. package/dist/storybook/assets/{title.stories-5b4a226c.js → title.stories-2ba6aa87.js} +2 -2
  101. package/dist/storybook/assets/{toaster-541ce85b.js → toaster-f096ba56.js} +1 -1
  102. package/dist/storybook/assets/{toaster.stories-5e4d95b1.js → toaster.stories-66162195.js} +1 -1
  103. package/dist/storybook/assets/{toggle-bb34b2a2.js → toggle-6f4d5797.js} +1 -1
  104. package/dist/storybook/assets/{toggle.stories-b771ed81.js → toggle.stories-a289f544.js} +1 -1
  105. package/dist/storybook/assets/{tooltip-23e84186.js → tooltip-856042a7.js} +1 -1
  106. package/dist/storybook/assets/{tooltip.stories-e8ba5fff.js → tooltip.stories-666868d0.js} +1 -1
  107. package/dist/storybook/assets/{tooltip.test-case.stories-9817078b.js → tooltip.test-case.stories-4c1ea273.js} +1 -1
  108. package/dist/storybook/assets/{top-bar-a84b9365.js → top-bar-2c70083e.js} +1 -1
  109. package/dist/storybook/assets/{top-bar.stories-e93330f0.js → top-bar.stories-bbfb7220.js} +1 -1
  110. package/dist/storybook/assets/{top-bar.testcase.stories-3a824a14.js → top-bar.testcase.stories-1d4c6e3a.js} +1 -1
  111. package/dist/storybook/assets/{tree.stories-590bdd69.js → tree.stories-729aebd7.js} +1 -1
  112. package/dist/storybook/assets/{unit-input.stories-65984064.js → unit-input.stories-b1e6685e.js} +1 -1
  113. package/dist/storybook/iframe.html +1 -1
  114. package/dist/storybook/index.json +1 -1
  115. package/dist/storybook/project.json +1 -1
  116. package/dist/storybook/stories.json +1 -1
  117. package/package.json +1 -1
  118. package/dist/storybook/assets/Color-6VNJS4EI-163220a2.js +0 -1
  119. package/dist/storybook/assets/DocsRenderer-NNNQARDV-05aa1dec.js +0 -1
  120. package/dist/storybook/assets/WithTooltip-4HIR6TLV-324450a3.js +0 -1
  121. package/dist/storybook/assets/buttons-and-links-9bbcee77.js +0 -14
  122. package/dist/storybook/assets/color-abfd0eb6.js +0 -25
  123. package/dist/storybook/assets/file-input.stories-1c6ce0ea.js +0 -55
  124. package/dist/storybook/assets/footer.stories-57f07ea2.js +0 -3
  125. package/dist/storybook/assets/form.stories-45c0cd59.js +0 -49
  126. package/dist/storybook/assets/formation.stories-5eeaa826.js +0 -74
  127. package/dist/storybook/assets/icon-e9cbb4d7.js +0 -8
  128. package/dist/storybook/assets/iframe-eb834e80.js +0 -1
  129. package/dist/storybook/assets/inheritsLoose-d4851ab8.js +0 -1
  130. package/dist/storybook/assets/layout-forms-25900038.js +0 -16
  131. package/dist/storybook/assets/popover.stories-f651a81c.js +0 -1
  132. package/dist/storybook/assets/preview-fdf00da6.js +0 -1
  133. package/dist/storybook/assets/projects.stories-3884a80c.js +0 -47
  134. package/dist/storybook/assets/select-205cd538.js +0 -1
  135. package/dist/storybook/assets/slider-160e2152.js +0 -7
  136. package/dist/storybook/assets/syntaxhighlighter-NMPM6SWI-cda70340.js +0 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oliasoft-open-source/react-ui-library",
3
- "version": "4.2.4",
3
+ "version": "4.2.5",
4
4
  "description": "Reusable UI components for React projects",
5
5
  "homepage": "https://oliasoft-open-source.gitlab.io/react-ui-library",
6
6
  "bugs": {
@@ -1 +0,0 @@
1
- import{n as M,e as ue,T as Me,F as Ce,I as $e,g as Ne}from"./index-e7458aee.js";import{R as h,r as b,g as fe}from"./index-f80c8c95.js";import{b as Oe,c as J,d as Ie}from"./index-cf68f115.js";import"./iframe-eb834e80.js";import"../sb-preview/runtime.js";import"./index-3d476d02.js";import"./inheritsLoose-d4851ab8.js";import"./assertThisInitialized-081f9914.js";function $(){return($=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function Q(e,t){if(e==null)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)t.indexOf(n=a[r])>=0||(o[n]=e[n]);return o}function K(e){var t=b.useRef(e),n=b.useRef(function(r){t.current&&t.current(r)});return t.current=e,n.current}var S=function(e,t,n){return t===void 0&&(t=0),n===void 0&&(n=1),e>n?n:e<t?t:e},j=function(e){return"touches"in e},V=function(e){return e&&e.ownerDocument.defaultView||self},ne=function(e,t,n){var r=e.getBoundingClientRect(),o=j(t)?function(a,s){for(var l=0;l<a.length;l++)if(a[l].identifier===s)return a[l];return a[0]}(t.touches,n):t;return{left:S((o.pageX-(r.left+V(e).pageXOffset))/r.width),top:S((o.pageY-(r.top+V(e).pageYOffset))/r.height)}},re=function(e){!j(e)&&e.preventDefault()},Z=h.memo(function(e){var t=e.onMove,n=e.onKey,r=Q(e,["onMove","onKey"]),o=b.useRef(null),a=K(t),s=K(n),l=b.useRef(null),i=b.useRef(!1),c=b.useMemo(function(){var k=function(p){re(p),(j(p)?p.touches.length>0:p.buttons>0)&&o.current?a(ne(o.current,p,l.current)):_(!1)},N=function(){return _(!1)};function _(p){var m=i.current,x=V(o.current),C=p?x.addEventListener:x.removeEventListener;C(m?"touchmove":"mousemove",k),C(m?"touchend":"mouseup",N)}return[function(p){var m=p.nativeEvent,x=o.current;if(x&&(re(m),!function(X,R){return R&&!j(X)}(m,i.current)&&x)){if(j(m)){i.current=!0;var C=m.changedTouches||[];C.length&&(l.current=C[0].identifier)}x.focus(),a(ne(x,m,l.current)),_(!0)}},function(p){var m=p.which||p.keyCode;m<37||m>40||(p.preventDefault(),s({left:m===39?.05:m===37?-.05:0,top:m===40?.05:m===38?-.05:0}))},_]},[s,a]),d=c[0],f=c[1],g=c[2];return b.useEffect(function(){return g},[g]),h.createElement("div",$({},r,{onTouchStart:d,onMouseDown:d,className:"react-colorful__interactive",ref:o,onKeyDown:f,tabIndex:0,role:"slider"}))}),z=function(e){return e.filter(Boolean).join(" ")},ee=function(e){var t=e.color,n=e.left,r=e.top,o=r===void 0?.5:r,a=z(["react-colorful__pointer",e.className]);return h.createElement("div",{className:a,style:{top:100*o+"%",left:100*n+"%"}},h.createElement("div",{className:"react-colorful__pointer-fill",style:{backgroundColor:t}}))},y=function(e,t,n){return t===void 0&&(t=0),n===void 0&&(n=Math.pow(10,t)),Math.round(n*e)/n},Se={grad:.9,turn:360,rad:360/(2*Math.PI)},Re=function(e){return ge(A(e))},A=function(e){return e[0]==="#"&&(e=e.substring(1)),e.length<6?{r:parseInt(e[0]+e[0],16),g:parseInt(e[1]+e[1],16),b:parseInt(e[2]+e[2],16),a:e.length===4?y(parseInt(e[3]+e[3],16)/255,2):1}:{r:parseInt(e.substring(0,2),16),g:parseInt(e.substring(2,4),16),b:parseInt(e.substring(4,6),16),a:e.length===8?y(parseInt(e.substring(6,8),16)/255,2):1}},Te=function(e,t){return t===void 0&&(t="deg"),Number(e)*(Se[t]||1)},je=function(e){var t=/hsla?\(?\s*(-?\d*\.?\d+)(deg|rad|grad|turn)?[,\s]+(-?\d*\.?\d+)%?[,\s]+(-?\d*\.?\d+)%?,?\s*[/\s]*(-?\d*\.?\d+)?(%)?\s*\)?/i.exec(e);return t?Fe({h:Te(t[1],t[2]),s:Number(t[3]),l:Number(t[4]),a:t[5]===void 0?1:Number(t[5])/(t[6]?100:1)}):{h:0,s:0,v:0,a:1}},Fe=function(e){var t=e.s,n=e.l;return{h:e.h,s:(t*=(n<50?n:100-n)/100)>0?2*t/(n+t)*100:0,v:n+t,a:e.a}},ze=function(e){return Pe(de(e))},he=function(e){var t=e.s,n=e.v,r=e.a,o=(200-t)*n/100;return{h:y(e.h),s:y(o>0&&o<200?t*n/100/(o<=100?o:200-o)*100:0),l:y(o/2),a:y(r,2)}},G=function(e){var t=he(e);return"hsl("+t.h+", "+t.s+"%, "+t.l+"%)"},q=function(e){var t=he(e);return"hsla("+t.h+", "+t.s+"%, "+t.l+"%, "+t.a+")"},de=function(e){var t=e.h,n=e.s,r=e.v,o=e.a;t=t/360*6,n/=100,r/=100;var a=Math.floor(t),s=r*(1-n),l=r*(1-(t-a)*n),i=r*(1-(1-t+a)*n),c=a%6;return{r:y(255*[r,l,s,s,i,r][c]),g:y(255*[i,r,r,l,s,s][c]),b:y(255*[s,s,i,r,r,l][c]),a:y(o,2)}},He=function(e){var t=/rgba?\(?\s*(-?\d*\.?\d+)(%)?[,\s]+(-?\d*\.?\d+)(%)?[,\s]+(-?\d*\.?\d+)(%)?,?\s*[/\s]*(-?\d*\.?\d+)?(%)?\s*\)?/i.exec(e);return t?ge({r:Number(t[1])/(t[2]?100/255:1),g:Number(t[3])/(t[4]?100/255:1),b:Number(t[5])/(t[6]?100/255:1),a:t[7]===void 0?1:Number(t[7])/(t[8]?100:1)}):{h:0,s:0,v:0,a:1}},H=function(e){var t=e.toString(16);return t.length<2?"0"+t:t},Pe=function(e){var t=e.r,n=e.g,r=e.b,o=e.a,a=o<1?H(y(255*o)):"";return"#"+H(t)+H(n)+H(r)+a},ge=function(e){var t=e.r,n=e.g,r=e.b,o=e.a,a=Math.max(t,n,r),s=a-Math.min(t,n,r),l=s?a===t?(n-r)/s:a===n?2+(r-t)/s:4+(t-n)/s:0;return{h:y(60*(l<0?l+6:l)),s:y(a?s/a*100:0),v:y(a/255*100),a:o}},me=h.memo(function(e){var t=e.hue,n=e.onChange,r=z(["react-colorful__hue",e.className]);return h.createElement("div",{className:r},h.createElement(Z,{onMove:function(o){n({h:360*o.left})},onKey:function(o){n({h:S(t+360*o.left,0,360)})},"aria-label":"Hue","aria-valuenow":y(t),"aria-valuemax":"360","aria-valuemin":"0"},h.createElement(ee,{className:"react-colorful__hue-pointer",left:t/360,color:G({h:t,s:100,v:100,a:1})})))}),be=h.memo(function(e){var t=e.hsva,n=e.onChange,r={backgroundColor:G({h:t.h,s:100,v:100,a:1})};return h.createElement("div",{className:"react-colorful__saturation",style:r},h.createElement(Z,{onMove:function(o){n({s:100*o.left,v:100-100*o.top})},onKey:function(o){n({s:S(t.s+100*o.left,0,100),v:S(t.v-100*o.top,0,100)})},"aria-label":"Color","aria-valuetext":"Saturation "+y(t.s)+"%, Brightness "+y(t.v)+"%"},h.createElement(ee,{className:"react-colorful__saturation-pointer",top:1-t.v/100,left:t.s/100,color:G(t)})))}),ve=function(e,t){if(e===t)return!0;for(var n in e)if(e[n]!==t[n])return!1;return!0},pe=function(e,t){return e.replace(/\s/g,"")===t.replace(/\s/g,"")},Le=function(e,t){return e.toLowerCase()===t.toLowerCase()||ve(A(e),A(t))};function ye(e,t,n){var r=K(n),o=b.useState(function(){return e.toHsva(t)}),a=o[0],s=o[1],l=b.useRef({color:t,hsva:a});b.useEffect(function(){if(!e.equal(t,l.current.color)){var c=e.toHsva(t);l.current={hsva:c,color:t},s(c)}},[t,e]),b.useEffect(function(){var c;ve(a,l.current.hsva)||e.equal(c=e.fromHsva(a),l.current.color)||(l.current={hsva:a,color:c},r(c))},[a,e,r]);var i=b.useCallback(function(c){s(function(d){return Object.assign({},d,c)})},[]);return[a,i]}var qe=typeof window<"u"?b.useLayoutEffect:b.useEffect,Be=function(){return typeof __webpack_nonce__<"u"?__webpack_nonce__:void 0},oe=new Map,xe=function(e){qe(function(){var t=e.current?e.current.ownerDocument:document;if(t!==void 0&&!oe.has(t)){var n=t.createElement("style");n.innerHTML=`.react-colorful{position:relative;display:flex;flex-direction:column;width:200px;height:200px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.react-colorful__saturation{position:relative;flex-grow:1;border-color:transparent;border-bottom:12px solid #000;border-radius:8px 8px 0 0;background-image:linear-gradient(0deg,#000,transparent),linear-gradient(90deg,#fff,hsla(0,0%,100%,0))}.react-colorful__alpha-gradient,.react-colorful__pointer-fill{content:"";position:absolute;left:0;top:0;right:0;bottom:0;pointer-events:none;border-radius:inherit}.react-colorful__alpha-gradient,.react-colorful__saturation{box-shadow:inset 0 0 0 1px rgba(0,0,0,.05)}.react-colorful__alpha,.react-colorful__hue{position:relative;height:24px}.react-colorful__hue{background:linear-gradient(90deg,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red)}.react-colorful__last-control{border-radius:0 0 8px 8px}.react-colorful__interactive{position:absolute;left:0;top:0;right:0;bottom:0;border-radius:inherit;outline:none;touch-action:none}.react-colorful__pointer{position:absolute;z-index:1;box-sizing:border-box;width:28px;height:28px;transform:translate(-50%,-50%);background-color:#fff;border:2px solid #fff;border-radius:50%;box-shadow:0 2px 4px rgba(0,0,0,.2)}.react-colorful__interactive:focus .react-colorful__pointer{transform:translate(-50%,-50%) scale(1.1)}.react-colorful__alpha,.react-colorful__alpha-pointer{background-color:#fff;background-image:url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill-opacity=".05"><path d="M8 0h8v8H8zM0 8h8v8H0z"/></svg>')}.react-colorful__saturation-pointer{z-index:3}.react-colorful__hue-pointer{z-index:2}`,oe.set(t,n);var r=Be();r&&n.setAttribute("nonce",r),t.head.appendChild(n)}},[])},We=function(e){var t=e.className,n=e.colorModel,r=e.color,o=r===void 0?n.defaultColor:r,a=e.onChange,s=Q(e,["className","colorModel","color","onChange"]),l=b.useRef(null);xe(l);var i=ye(n,o,a),c=i[0],d=i[1],f=z(["react-colorful",t]);return h.createElement("div",$({},s,{ref:l,className:f}),h.createElement(be,{hsva:c,onChange:d}),h.createElement(me,{hue:c.h,onChange:d,className:"react-colorful__last-control"}))},Xe={defaultColor:"000",toHsva:Re,fromHsva:function(e){return ze({h:e.h,s:e.s,v:e.v,a:1})},equal:Le},De=function(e){return h.createElement(We,$({},e,{colorModel:Xe}))},Ke=function(e){var t=e.className,n=e.hsva,r=e.onChange,o={backgroundImage:"linear-gradient(90deg, "+q(Object.assign({},n,{a:0}))+", "+q(Object.assign({},n,{a:1}))+")"},a=z(["react-colorful__alpha",t]),s=y(100*n.a);return h.createElement("div",{className:a},h.createElement("div",{className:"react-colorful__alpha-gradient",style:o}),h.createElement(Z,{onMove:function(l){r({a:l.left})},onKey:function(l){r({a:S(n.a+l.left)})},"aria-label":"Alpha","aria-valuetext":s+"%","aria-valuenow":s,"aria-valuemin":"0","aria-valuemax":"100"},h.createElement(ee,{className:"react-colorful__alpha-pointer",left:n.a,color:q(n)})))},we=function(e){var t=e.className,n=e.colorModel,r=e.color,o=r===void 0?n.defaultColor:r,a=e.onChange,s=Q(e,["className","colorModel","color","onChange"]),l=b.useRef(null);xe(l);var i=ye(n,o,a),c=i[0],d=i[1],f=z(["react-colorful",t]);return h.createElement("div",$({},s,{ref:l,className:f}),h.createElement(be,{hsva:c,onChange:d}),h.createElement(me,{hue:c.h,onChange:d}),h.createElement(Ke,{hsva:c,onChange:d,className:"react-colorful__last-control"}))},Ve={defaultColor:"hsla(0, 0%, 0%, 1)",toHsva:je,fromHsva:q,equal:pe},Ae=function(e){return h.createElement(we,$({},e,{colorModel:Ve}))},Ge={defaultColor:"rgba(0, 0, 0, 1)",toHsva:He,fromHsva:function(e){var t=de(e);return"rgba("+t.r+", "+t.g+", "+t.b+", "+t.a+")"},equal:pe},Ue=function(e){return h.createElement(we,$({},e,{colorModel:Ge}))},Ye={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]};const F=Ye,ke={};for(const e of Object.keys(F))ke[F[e]]=e;const u={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};var _e=u;for(const e of Object.keys(u)){if(!("channels"in u[e]))throw new Error("missing channels property: "+e);if(!("labels"in u[e]))throw new Error("missing channel labels property: "+e);if(u[e].labels.length!==u[e].channels)throw new Error("channel and label counts mismatch: "+e);const{channels:t,labels:n}=u[e];delete u[e].channels,delete u[e].labels,Object.defineProperty(u[e],"channels",{value:t}),Object.defineProperty(u[e],"labels",{value:n})}u.rgb.hsl=function(e){const t=e[0]/255,n=e[1]/255,r=e[2]/255,o=Math.min(t,n,r),a=Math.max(t,n,r),s=a-o;let l,i;a===o?l=0:t===a?l=(n-r)/s:n===a?l=2+(r-t)/s:r===a&&(l=4+(t-n)/s),l=Math.min(l*60,360),l<0&&(l+=360);const c=(o+a)/2;return a===o?i=0:c<=.5?i=s/(a+o):i=s/(2-a-o),[l,i*100,c*100]};u.rgb.hsv=function(e){let t,n,r,o,a;const s=e[0]/255,l=e[1]/255,i=e[2]/255,c=Math.max(s,l,i),d=c-Math.min(s,l,i),f=function(g){return(c-g)/6/d+1/2};return d===0?(o=0,a=0):(a=d/c,t=f(s),n=f(l),r=f(i),s===c?o=r-n:l===c?o=1/3+t-r:i===c&&(o=2/3+n-t),o<0?o+=1:o>1&&(o-=1)),[o*360,a*100,c*100]};u.rgb.hwb=function(e){const t=e[0],n=e[1];let r=e[2];const o=u.rgb.hsl(e)[0],a=1/255*Math.min(t,Math.min(n,r));return r=1-1/255*Math.max(t,Math.max(n,r)),[o,a*100,r*100]};u.rgb.cmyk=function(e){const t=e[0]/255,n=e[1]/255,r=e[2]/255,o=Math.min(1-t,1-n,1-r),a=(1-t-o)/(1-o)||0,s=(1-n-o)/(1-o)||0,l=(1-r-o)/(1-o)||0;return[a*100,s*100,l*100,o*100]};function Je(e,t){return(e[0]-t[0])**2+(e[1]-t[1])**2+(e[2]-t[2])**2}u.rgb.keyword=function(e){const t=ke[e];if(t)return t;let n=1/0,r;for(const o of Object.keys(F)){const a=F[o],s=Je(e,a);s<n&&(n=s,r=o)}return r};u.keyword.rgb=function(e){return F[e]};u.rgb.xyz=function(e){let t=e[0]/255,n=e[1]/255,r=e[2]/255;t=t>.04045?((t+.055)/1.055)**2.4:t/12.92,n=n>.04045?((n+.055)/1.055)**2.4:n/12.92,r=r>.04045?((r+.055)/1.055)**2.4:r/12.92;const o=t*.4124+n*.3576+r*.1805,a=t*.2126+n*.7152+r*.0722,s=t*.0193+n*.1192+r*.9505;return[o*100,a*100,s*100]};u.rgb.lab=function(e){const t=u.rgb.xyz(e);let n=t[0],r=t[1],o=t[2];n/=95.047,r/=100,o/=108.883,n=n>.008856?n**(1/3):7.787*n+16/116,r=r>.008856?r**(1/3):7.787*r+16/116,o=o>.008856?o**(1/3):7.787*o+16/116;const a=116*r-16,s=500*(n-r),l=200*(r-o);return[a,s,l]};u.hsl.rgb=function(e){const t=e[0]/360,n=e[1]/100,r=e[2]/100;let o,a,s;if(n===0)return s=r*255,[s,s,s];r<.5?o=r*(1+n):o=r+n-r*n;const l=2*r-o,i=[0,0,0];for(let c=0;c<3;c++)a=t+1/3*-(c-1),a<0&&a++,a>1&&a--,6*a<1?s=l+(o-l)*6*a:2*a<1?s=o:3*a<2?s=l+(o-l)*(2/3-a)*6:s=l,i[c]=s*255;return i};u.hsl.hsv=function(e){const t=e[0];let n=e[1]/100,r=e[2]/100,o=n;const a=Math.max(r,.01);r*=2,n*=r<=1?r:2-r,o*=a<=1?a:2-a;const s=(r+n)/2,l=r===0?2*o/(a+o):2*n/(r+n);return[t,l*100,s*100]};u.hsv.rgb=function(e){const t=e[0]/60,n=e[1]/100;let r=e[2]/100;const o=Math.floor(t)%6,a=t-Math.floor(t),s=255*r*(1-n),l=255*r*(1-n*a),i=255*r*(1-n*(1-a));switch(r*=255,o){case 0:return[r,i,s];case 1:return[l,r,s];case 2:return[s,r,i];case 3:return[s,l,r];case 4:return[i,s,r];case 5:return[r,s,l]}};u.hsv.hsl=function(e){const t=e[0],n=e[1]/100,r=e[2]/100,o=Math.max(r,.01);let a,s;s=(2-n)*r;const l=(2-n)*o;return a=n*o,a/=l<=1?l:2-l,a=a||0,s/=2,[t,a*100,s*100]};u.hwb.rgb=function(e){const t=e[0]/360;let n=e[1]/100,r=e[2]/100;const o=n+r;let a;o>1&&(n/=o,r/=o);const s=Math.floor(6*t),l=1-r;a=6*t-s,s&1&&(a=1-a);const i=n+a*(l-n);let c,d,f;switch(s){default:case 6:case 0:c=l,d=i,f=n;break;case 1:c=i,d=l,f=n;break;case 2:c=n,d=l,f=i;break;case 3:c=n,d=i,f=l;break;case 4:c=i,d=n,f=l;break;case 5:c=l,d=n,f=i;break}return[c*255,d*255,f*255]};u.cmyk.rgb=function(e){const t=e[0]/100,n=e[1]/100,r=e[2]/100,o=e[3]/100,a=1-Math.min(1,t*(1-o)+o),s=1-Math.min(1,n*(1-o)+o),l=1-Math.min(1,r*(1-o)+o);return[a*255,s*255,l*255]};u.xyz.rgb=function(e){const t=e[0]/100,n=e[1]/100,r=e[2]/100;let o,a,s;return o=t*3.2406+n*-1.5372+r*-.4986,a=t*-.9689+n*1.8758+r*.0415,s=t*.0557+n*-.204+r*1.057,o=o>.0031308?1.055*o**(1/2.4)-.055:o*12.92,a=a>.0031308?1.055*a**(1/2.4)-.055:a*12.92,s=s>.0031308?1.055*s**(1/2.4)-.055:s*12.92,o=Math.min(Math.max(0,o),1),a=Math.min(Math.max(0,a),1),s=Math.min(Math.max(0,s),1),[o*255,a*255,s*255]};u.xyz.lab=function(e){let t=e[0],n=e[1],r=e[2];t/=95.047,n/=100,r/=108.883,t=t>.008856?t**(1/3):7.787*t+16/116,n=n>.008856?n**(1/3):7.787*n+16/116,r=r>.008856?r**(1/3):7.787*r+16/116;const o=116*n-16,a=500*(t-n),s=200*(n-r);return[o,a,s]};u.lab.xyz=function(e){const t=e[0],n=e[1],r=e[2];let o,a,s;a=(t+16)/116,o=n/500+a,s=a-r/200;const l=a**3,i=o**3,c=s**3;return a=l>.008856?l:(a-16/116)/7.787,o=i>.008856?i:(o-16/116)/7.787,s=c>.008856?c:(s-16/116)/7.787,o*=95.047,a*=100,s*=108.883,[o,a,s]};u.lab.lch=function(e){const t=e[0],n=e[1],r=e[2];let o;o=Math.atan2(r,n)*360/2/Math.PI,o<0&&(o+=360);const s=Math.sqrt(n*n+r*r);return[t,s,o]};u.lch.lab=function(e){const t=e[0],n=e[1],o=e[2]/360*2*Math.PI,a=n*Math.cos(o),s=n*Math.sin(o);return[t,a,s]};u.rgb.ansi16=function(e,t=null){const[n,r,o]=e;let a=t===null?u.rgb.hsv(e)[2]:t;if(a=Math.round(a/50),a===0)return 30;let s=30+(Math.round(o/255)<<2|Math.round(r/255)<<1|Math.round(n/255));return a===2&&(s+=60),s};u.hsv.ansi16=function(e){return u.rgb.ansi16(u.hsv.rgb(e),e[2])};u.rgb.ansi256=function(e){const t=e[0],n=e[1],r=e[2];return t===n&&n===r?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(n/255*5)+Math.round(r/255*5)};u.ansi16.rgb=function(e){let t=e%10;if(t===0||t===7)return e>50&&(t+=3.5),t=t/10.5*255,[t,t,t];const n=(~~(e>50)+1)*.5,r=(t&1)*n*255,o=(t>>1&1)*n*255,a=(t>>2&1)*n*255;return[r,o,a]};u.ansi256.rgb=function(e){if(e>=232){const a=(e-232)*10+8;return[a,a,a]}e-=16;let t;const n=Math.floor(e/36)/5*255,r=Math.floor((t=e%36)/6)/5*255,o=t%6/5*255;return[n,r,o]};u.rgb.hex=function(e){const n=(((Math.round(e[0])&255)<<16)+((Math.round(e[1])&255)<<8)+(Math.round(e[2])&255)).toString(16).toUpperCase();return"000000".substring(n.length)+n};u.hex.rgb=function(e){const t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];let n=t[0];t[0].length===3&&(n=n.split("").map(l=>l+l).join(""));const r=parseInt(n,16),o=r>>16&255,a=r>>8&255,s=r&255;return[o,a,s]};u.rgb.hcg=function(e){const t=e[0]/255,n=e[1]/255,r=e[2]/255,o=Math.max(Math.max(t,n),r),a=Math.min(Math.min(t,n),r),s=o-a;let l,i;return s<1?l=a/(1-s):l=0,s<=0?i=0:o===t?i=(n-r)/s%6:o===n?i=2+(r-t)/s:i=4+(t-n)/s,i/=6,i%=1,[i*360,s*100,l*100]};u.hsl.hcg=function(e){const t=e[1]/100,n=e[2]/100,r=n<.5?2*t*n:2*t*(1-n);let o=0;return r<1&&(o=(n-.5*r)/(1-r)),[e[0],r*100,o*100]};u.hsv.hcg=function(e){const t=e[1]/100,n=e[2]/100,r=t*n;let o=0;return r<1&&(o=(n-r)/(1-r)),[e[0],r*100,o*100]};u.hcg.rgb=function(e){const t=e[0]/360,n=e[1]/100,r=e[2]/100;if(n===0)return[r*255,r*255,r*255];const o=[0,0,0],a=t%1*6,s=a%1,l=1-s;let i=0;switch(Math.floor(a)){case 0:o[0]=1,o[1]=s,o[2]=0;break;case 1:o[0]=l,o[1]=1,o[2]=0;break;case 2:o[0]=0,o[1]=1,o[2]=s;break;case 3:o[0]=0,o[1]=l,o[2]=1;break;case 4:o[0]=s,o[1]=0,o[2]=1;break;default:o[0]=1,o[1]=0,o[2]=l}return i=(1-n)*r,[(n*o[0]+i)*255,(n*o[1]+i)*255,(n*o[2]+i)*255]};u.hcg.hsv=function(e){const t=e[1]/100,n=e[2]/100,r=t+n*(1-t);let o=0;return r>0&&(o=t/r),[e[0],o*100,r*100]};u.hcg.hsl=function(e){const t=e[1]/100,r=e[2]/100*(1-t)+.5*t;let o=0;return r>0&&r<.5?o=t/(2*r):r>=.5&&r<1&&(o=t/(2*(1-r))),[e[0],o*100,r*100]};u.hcg.hwb=function(e){const t=e[1]/100,n=e[2]/100,r=t+n*(1-t);return[e[0],(r-t)*100,(1-r)*100]};u.hwb.hcg=function(e){const t=e[1]/100,r=1-e[2]/100,o=r-t;let a=0;return o<1&&(a=(r-o)/(1-o)),[e[0],o*100,a*100]};u.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]};u.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]};u.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]};u.gray.hsl=function(e){return[0,0,e[0]]};u.gray.hsv=u.gray.hsl;u.gray.hwb=function(e){return[0,100,e[0]]};u.gray.cmyk=function(e){return[0,0,0,e[0]]};u.gray.lab=function(e){return[e[0],0,0]};u.gray.hex=function(e){const t=Math.round(e[0]/100*255)&255,r=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(r.length)+r};u.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]};const B=_e;function Qe(){const e={},t=Object.keys(B);for(let n=t.length,r=0;r<n;r++)e[t[r]]={distance:-1,parent:null};return e}function Ze(e){const t=Qe(),n=[e];for(t[e].distance=0;n.length;){const r=n.pop(),o=Object.keys(B[r]);for(let a=o.length,s=0;s<a;s++){const l=o[s],i=t[l];i.distance===-1&&(i.distance=t[r].distance+1,i.parent=r,n.unshift(l))}}return t}function et(e,t){return function(n){return t(e(n))}}function tt(e,t){const n=[t[e].parent,e];let r=B[t[e].parent][e],o=t[e].parent;for(;t[o].parent;)n.unshift(t[o].parent),r=et(B[t[o].parent][o],r),o=t[o].parent;return r.conversion=n,r}var nt=function(e){const t=Ze(e),n={},r=Object.keys(t);for(let o=r.length,a=0;a<o;a++){const s=r[a];t[s].parent!==null&&(n[s]=tt(s,t))}return n};const U=_e,rt=nt,O={},ot=Object.keys(U);function at(e){const t=function(...n){const r=n[0];return r==null?r:(r.length>1&&(n=r),e(n))};return"conversion"in e&&(t.conversion=e.conversion),t}function st(e){const t=function(...n){const r=n[0];if(r==null)return r;r.length>1&&(n=r);const o=e(n);if(typeof o=="object")for(let a=o.length,s=0;s<a;s++)o[s]=Math.round(o[s]);return o};return"conversion"in e&&(t.conversion=e.conversion),t}ot.forEach(e=>{O[e]={},Object.defineProperty(O[e],"channels",{value:U[e].channels}),Object.defineProperty(O[e],"labels",{value:U[e].labels});const t=rt(e);Object.keys(t).forEach(r=>{const o=t[r];O[e][r]=st(o),O[e][r].raw=at(o)})});var lt=O;const w=fe(lt);var it=Oe,ct=function(){return it.Date.now()},ut=ct,ft=/\s/;function ht(e){for(var t=e.length;t--&&ft.test(e.charAt(t)););return t}var dt=ht,gt=dt,mt=/^\s+/;function bt(e){return e&&e.slice(0,gt(e)+1).replace(mt,"")}var vt=bt,pt=vt,ae=J,yt=Ie,se=0/0,xt=/^[-+]0x[0-9a-f]+$/i,wt=/^0b[01]+$/i,kt=/^0o[0-7]+$/i,_t=parseInt;function Et(e){if(typeof e=="number")return e;if(yt(e))return se;if(ae(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=ae(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=pt(e);var n=wt.test(e);return n||kt.test(e)?_t(e.slice(2),n?2:8):xt.test(e)?se:+e}var Mt=Et,Ct=J,D=ut,le=Mt,$t="Expected a function",Nt=Math.max,Ot=Math.min;function It(e,t,n){var r,o,a,s,l,i,c=0,d=!1,f=!1,g=!0;if(typeof e!="function")throw new TypeError($t);t=le(t)||0,Ct(n)&&(d=!!n.leading,f="maxWait"in n,a=f?Nt(le(n.maxWait)||0,t):a,g="trailing"in n?!!n.trailing:g);function k(v){var E=r,T=o;return r=o=void 0,c=v,s=e.apply(T,E),s}function N(v){return c=v,l=setTimeout(m,t),d?k(v):s}function _(v){var E=v-i,T=v-c,te=t-E;return f?Ot(te,a-T):te}function p(v){var E=v-i,T=v-c;return i===void 0||E>=t||E<0||f&&T>=a}function m(){var v=D();if(p(v))return x(v);l=setTimeout(m,_(v))}function x(v){return l=void 0,g&&r?k(v):(r=o=void 0,s)}function C(){l!==void 0&&clearTimeout(l),c=0,r=i=o=l=void 0}function X(){return l===void 0?s:x(D())}function R(){var v=D(),E=p(v);if(r=arguments,o=this,i=v,E){if(l===void 0)return N(i);if(f)return clearTimeout(l),l=setTimeout(m,t),k(i)}return l===void 0&&(l=setTimeout(m,t)),s}return R.cancel=C,R.flush=X,R}var St=It,Rt=St,Tt=J,jt="Expected a function";function Ft(e,t,n){var r=!0,o=!0;if(typeof e!="function")throw new TypeError(jt);return Tt(n)&&(r="leading"in n?!!n.leading:r,o="trailing"in n?!!n.trailing:o),Rt(e,t,{leading:r,maxWait:t,trailing:o})}var zt=Ft;const Ht=fe(zt);var Pt=M.div({position:"relative",maxWidth:250}),Lt=M(ue)({position:"absolute",zIndex:1,top:4,left:4}),qt=M.div({width:200,margin:5,".react-colorful__saturation":{borderRadius:"4px 4px 0 0"},".react-colorful__hue":{boxShadow:"inset 0 0 0 1px rgb(0 0 0 / 5%)"},".react-colorful__last-control":{borderRadius:"0 0 4px 4px"}}),Bt=M(Me)(({theme:e})=>({fontFamily:e.typography.fonts.base})),Wt=M.div({display:"grid",gridTemplateColumns:"repeat(9, 16px)",gap:6,padding:3,marginTop:5,width:200}),Xt=M.div(({theme:e,active:t})=>({width:16,height:16,boxShadow:t?`${e.appBorderColor} 0 0 0 1px inset, ${e.textMutedColor}50 0 0 0 4px`:`${e.appBorderColor} 0 0 0 1px inset`,borderRadius:e.appBorderRadius})),Dt=`url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill-opacity=".05"><path d="M8 0h8v8H8zM0 8h8v8H0z"/></svg>')`,ie=({value:e,active:t,onClick:n,style:r,...o})=>{let a=`linear-gradient(${e}, ${e}), ${Dt}, linear-gradient(#fff, #fff)`;return h.createElement(Xt,{...o,active:t,onClick:n,style:{...r,backgroundImage:a}})},Kt=M(Ce.Input)(({theme:e})=>({width:"100%",paddingLeft:30,paddingRight:30,boxSizing:"border-box",fontFamily:e.typography.fonts.base})),Vt=M($e)(({theme:e})=>({position:"absolute",zIndex:1,top:6,right:7,width:20,height:20,padding:4,boxSizing:"border-box",cursor:"pointer",color:e.input.color})),Ee=(e=>(e.RGB="rgb",e.HSL="hsl",e.HEX="hex",e))(Ee||{}),P=Object.values(Ee),At=/\(([0-9]+),\s*([0-9]+)%?,\s*([0-9]+)%?,?\s*([0-9.]+)?\)/,Gt=/^\s*rgba?\(([0-9]+),\s*([0-9]+),\s*([0-9]+),?\s*([0-9.]+)?\)\s*$/i,Ut=/^\s*hsla?\(([0-9]+),\s*([0-9]+)%,\s*([0-9]+)%,?\s*([0-9.]+)?\)\s*$/i,Y=/^\s*#?([0-9a-f]{3}|[0-9a-f]{6})\s*$/i,Yt=/^\s*#?([0-9a-f]{3})\s*$/i,Jt={hex:De,rgb:Ue,hsl:Ae},L={hex:"transparent",rgb:"rgba(0, 0, 0, 0)",hsl:"hsla(0, 0%, 0%, 0)"},ce=e=>{let t=e==null?void 0:e.match(At);if(!t)return[0,0,0,1];let[,n,r,o,a=1]=t;return[n,r,o,a].map(Number)},I=e=>{if(!e)return;let t=!0;if(Gt.test(e)){let[s,l,i,c]=ce(e),[d,f,g]=w.rgb.hsl([s,l,i])||[0,0,0];return{valid:t,value:e,keyword:w.rgb.keyword([s,l,i]),colorSpace:"rgb",rgb:e,hsl:`hsla(${d}, ${f}%, ${g}%, ${c})`,hex:`#${w.rgb.hex([s,l,i]).toLowerCase()}`}}if(Ut.test(e)){let[s,l,i,c]=ce(e),[d,f,g]=w.hsl.rgb([s,l,i])||[0,0,0];return{valid:t,value:e,keyword:w.hsl.keyword([s,l,i]),colorSpace:"hsl",rgb:`rgba(${d}, ${f}, ${g}, ${c})`,hsl:e,hex:`#${w.hsl.hex([s,l,i]).toLowerCase()}`}}let n=e.replace("#",""),r=w.keyword.rgb(n)||w.hex.rgb(n),o=w.rgb.hsl(r),a=e;if(/[^#a-f0-9]/i.test(e)?a=n:Y.test(e)&&(a=`#${n}`),a.startsWith("#"))t=Y.test(a);else try{w.keyword.hex(a)}catch{t=!1}return{valid:t,value:a,keyword:w.rgb.keyword(r),colorSpace:"hex",rgb:`rgba(${r[0]}, ${r[1]}, ${r[2]}, 1)`,hsl:`hsla(${o[0]}, ${o[1]}%, ${o[2]}%, 1)`,hex:a}},Qt=(e,t,n)=>{if(!e||!(t!=null&&t.valid))return L[n];if(n!=="hex")return(t==null?void 0:t[n])||L[n];if(!t.hex.startsWith("#"))try{return`#${w.keyword.hex(t.hex)}`}catch{return L.hex}let r=t.hex.match(Yt);if(!r)return Y.test(t.hex)?t.hex:L.hex;let[o,a,s]=r[1].split("");return`#${o}${o}${a}${a}${s}${s}`},Zt=(e,t)=>{let[n,r]=b.useState(e||""),[o,a]=b.useState(()=>I(n)),[s,l]=b.useState((o==null?void 0:o.colorSpace)||"hex");b.useEffect(()=>{let f=e||"",g=I(f);r(f),a(g),l((g==null?void 0:g.colorSpace)||"hex")},[e]);let i=b.useMemo(()=>Qt(n,o,s).toLowerCase(),[n,o,s]),c=b.useCallback(f=>{let g=I(f),k=(g==null?void 0:g.value)||f||"";r(k),k===""&&(a(void 0),t(void 0)),g&&(a(g),l(g.colorSpace),t(g.value))},[t]),d=b.useCallback(()=>{let f=P.indexOf(s)+1;f>=P.length&&(f=0),l(P[f]);let g=(o==null?void 0:o[P[f]])||"";r(g),t(g)},[o,s,t]);return{value:n,realValue:i,updateValue:c,color:o,colorSpace:s,cycleColorSpace:d}},W=e=>e.replace(/\s*/,"").toLowerCase(),en=(e,t,n)=>{let[r,o]=b.useState(t!=null&&t.valid?[t]:[]);b.useEffect(()=>{t===void 0&&o([])},[t]);let a=b.useMemo(()=>(e||[]).map(l=>typeof l=="string"?I(l):l.title?{...I(l.color),keyword:l.title}:I(l.color)).concat(r).filter(Boolean).slice(-27),[e,r]),s=b.useCallback(l=>{l!=null&&l.valid&&(a.some(i=>W(i[n])===W(l[n]))||o(i=>i.concat(l)))},[n,a]);return{presets:a,addPreset:s}},tn=({name:e,value:t,onChange:n,onFocus:r,onBlur:o,presetColors:a,startOpen:s=!1})=>{let l=b.useCallback(Ht(n,200),[n]),{value:i,realValue:c,updateValue:d,color:f,colorSpace:g,cycleColorSpace:k}=Zt(t,l),{presets:N,addPreset:_}=en(a,f,g),p=Jt[g];return h.createElement(Pt,null,h.createElement(Lt,{startOpen:s,closeOnOutsideClick:!0,onVisibleChange:()=>_(f),tooltip:h.createElement(qt,null,h.createElement(p,{color:c==="transparent"?"#000000":c,onChange:d,onFocus:r,onBlur:o}),N.length>0&&h.createElement(Wt,null,N.map((m,x)=>h.createElement(ue,{key:`${m.value}-${x}`,hasChrome:!1,tooltip:h.createElement(Bt,{note:m.keyword||m.value})},h.createElement(ie,{value:m[g],active:f&&W(m[g])===W(f[g]),onClick:()=>d(m.value)})))))},h.createElement(ie,{value:c,style:{margin:4}})),h.createElement(Kt,{id:Ne(e),value:i,onChange:m=>d(m.target.value),onFocus:m=>m.target.select(),placeholder:"Choose color..."}),i?h.createElement(Vt,{icon:"markup",onClick:k}):null)},fn=tn;export{tn as ColorControl,fn as default};
@@ -1 +0,0 @@
1
- import{D as f,d as D}from"./chunk-HLWAVYOI-e8fc2b58.js";import"./iframe-eb834e80.js";import"../sb-preview/runtime.js";import"./index-f80c8c95.js";import"./react-16-147b12fd.js";import"./index-3d476d02.js";import"./index-e7458aee.js";import"./inheritsLoose-d4851ab8.js";import"./assertThisInitialized-081f9914.js";import"./index-cf68f115.js";export{f as DocsRenderer,D as defaultComponents};
@@ -1 +0,0 @@
1
- import{W as e,W as h,a as l}from"./index-e7458aee.js";import"./iframe-eb834e80.js";import"../sb-preview/runtime.js";import"./index-f80c8c95.js";import"./index-3d476d02.js";import"./inheritsLoose-d4851ab8.js";import"./assertThisInitialized-081f9914.js";import"./index-cf68f115.js";export{e as WithToolTipState,h as WithTooltip,l as WithTooltipPure};
@@ -1,14 +0,0 @@
1
- import{j as t}from"./jsx-runtime-f961835c.js";import{M as s,C as e}from"./index-e7458aee.js";import{Default as a,Basic as c}from"./button.stories-9b954335.js";import{Default as d}from"./text-link.stories-c1227c6f.js";import{u as r}from"./index-5cdc9468.js";import"./index-f80c8c95.js";import"./iframe-eb834e80.js";import"../sb-preview/runtime.js";import"./index-3d476d02.js";import"./inheritsLoose-d4851ab8.js";import"./assertThisInitialized-081f9914.js";import"./index-cf68f115.js";import"./flex-1d14d86c.js";import"./button-74c97e4a.js";import"./index-a80ed1cf.js";import"./common-types-2c81813f.js";import"./disabled-context-d654f6ff.js";import"./spinner-a81ebe38.js";import"./icon-e9cbb4d7.js";import"./tslib.es6-dfef685f.js";import"./index-c89a1915.js";import"./tooltip-23e84186.js";import"./text-ad1f5f1d.js";function i(o){const n=Object.assign({h1:"h1",h2:"h2",p:"p",code:"code"},r(),o.components);return t.jsxs(t.Fragment,{children:[t.jsx(s,{title:"Buttons & Links"}),`
2
- `,t.jsx(n.h1,{id:"buttons--links",children:"Buttons & Links"}),`
3
- `,t.jsx(e,{of:a}),`
4
- `,t.jsx(n.h2,{id:"a-single-primary-button",children:"A single primary button"}),`
5
- `,t.jsxs(n.p,{children:["Primary (",t.jsx(n.code,{children:"colored"}),") buttons help highlight the most important action, but not if there are too many of them. Try not to use more than one per view or section."]}),`
6
- `,t.jsx(n.h2,{id:"error--success-buttons",children:"Error & success buttons"}),`
7
- `,t.jsxs(n.p,{children:["Like primary buttons, these should be used sparingly for particularly risky actions (",t.jsx(n.code,{children:'colored="red"'}),") or particularly rewarding ones (",t.jsx(n.code,{children:'colored="green"'}),")."]}),`
8
- `,t.jsx(n.h2,{id:"basic-buttons",children:"Basic buttons"}),`
9
- `,t.jsx(e,{of:c}),`
10
- `,t.jsx(n.p,{children:"Same height as other buttons, but without a background. Use when a default button is too heavy, but you want to line up with other buttons or form elements."}),`
11
- `,t.jsxs(n.p,{children:["If you need a very unobtrusive button, combine ",t.jsx(n.code,{children:"basic"})," with ",t.jsx(n.code,{children:'colored="muted"'}),"."]}),`
12
- `,t.jsxs(n.h2,{id:"links-textlink",children:["Links (",t.jsx(n.code,{children:"TextLink"}),")"]}),`
13
- `,t.jsxs(n.p,{children:["Inline links without extra padding. Use when space is limited and/or extra padding would cause problems (e.g. for a link in a ",t.jsx(n.code,{children:"Table"})," or an inline link)."]}),`
14
- `,t.jsx(e,{of:d})]})}function I(o={}){const{wrapper:n}=Object.assign({},r(),o.components);return n?t.jsx(n,Object.assign({},o,{children:t.jsx(i,o)})):i(o)}export{I as default};
@@ -1,25 +0,0 @@
1
- import{j as o}from"./jsx-runtime-f961835c.js";import"./chunk-HLWAVYOI-e8fc2b58.js";import{M as d}from"./index-e7458aee.js";import{r as p}from"./index-f80c8c95.js";import{t as m,T as x}from"./toaster-541ce85b.js";import{u as i}from"./index-5cdc9468.js";import"./iframe-eb834e80.js";import"../sb-preview/runtime.js";import"./react-16-147b12fd.js";import"./index-3d476d02.js";import"./inheritsLoose-d4851ab8.js";import"./assertThisInitialized-081f9914.js";import"./index-cf68f115.js";import"./message-7e627e60.js";import"./index-a80ed1cf.js";import"./common-types-2c81813f.js";import"./icon-e9cbb4d7.js";import"./tslib.es6-dfef685f.js";import"./index-c89a1915.js";import"./disabled-context-d654f6ff.js";const h=["--color-text","--color-text-muted","--color-text-faint","--color-text-error","--color-text-warning","--color-text-success","--color-text-info","--color-text-primary","--color-text-primary-hover","--color-text-primary-active"],u=["--color-background","--color-background-raised","--color-background-primary","--color-background-info","--color-background-warning","--color-background-success","--color-background-error"],g=["--color-border","--color-border-error","--color-border-warning","--color-border-focus"],s=[50,100,150,200,250,300,350,400,450,500,550,600,650,700,750,800,850,900,950],j=s.map(r=>`--color-neutral-${r}`),b=s.map(r=>`--color-primary-${r}`),f=s.map(r=>`--color-error-${r}`),y=s.map(r=>`--color-warning-${r}`),C=s.map(r=>`--color-success-${r}`),k=s.map(r=>`--color-info-${r}`),c=({colors:r})=>o.jsx("div",{style:{display:"grid",gridTemplateColumns:"auto 1fr auto 1fr",gap:20,alignItems:"center"},children:r.map((n,a)=>{const e=`var(${n})`,t=()=>{navigator.clipboard.writeText(e),m({message:{type:"Success",content:"Copied to clipboard"}})};return o.jsxs(p.Fragment,{children:[o.jsx("div",{style:{padding:"var(--padding)",backgroundColor:e,border:"1px solid rgba(0,0,0,0.1)"},onClick:t}),o.jsx("code",{onClick:t,children:e})]},a)})});try{c.displayName="ColorPalette",c.__docgenInfo={description:"",displayName:"ColorPalette",props:{colors:{defaultValue:null,description:"",name:"colors",required:!0,type:{name:"string[]"}}}}}catch{}function l(r){const n=Object.assign({h1:"h1",p:"p",strong:"strong",h2:"h2",h3:"h3"},i(),r.components);return o.jsxs(o.Fragment,{children:[o.jsx(d,{title:"Colors"}),`
2
- `,o.jsx(n.h1,{id:"colors",children:"Colors"}),`
3
- `,o.jsx(n.p,{children:"When setting colors (either by component props or in custom styling), prefer named CSS variables to literal color values."}),`
4
- `,o.jsx(n.p,{children:o.jsx(n.strong,{children:"Click on a color below to copy the variable name to the clipboard."})}),`
5
- `,o.jsx(n.h2,{id:"named-colors",children:"Named colors"}),`
6
- `,o.jsx(n.h3,{id:"text",children:"Text"}),`
7
- `,o.jsx(c,{colors:h}),`
8
- `,o.jsx(n.h3,{id:"backgrounds",children:"Backgrounds"}),`
9
- `,o.jsx(c,{colors:u}),`
10
- `,o.jsx(n.h3,{id:"borders",children:"Borders"}),`
11
- `,o.jsx(c,{colors:g}),`
12
- `,o.jsx(n.h2,{id:"base-colors",children:"Base colors"}),`
13
- `,o.jsx(n.h3,{id:"neutral",children:"Neutral"}),`
14
- `,o.jsx(c,{colors:j}),`
15
- `,o.jsx(n.h3,{id:"primary",children:"Primary"}),`
16
- `,o.jsx(c,{colors:b}),`
17
- `,o.jsx(n.h3,{id:"error",children:"Error"}),`
18
- `,o.jsx(c,{colors:f}),`
19
- `,o.jsx(n.h3,{id:"warning",children:"Warning"}),`
20
- `,o.jsx(c,{colors:y}),`
21
- `,o.jsx(n.h3,{id:"success",children:"Success"}),`
22
- `,o.jsx(c,{colors:C}),`
23
- `,o.jsx(n.h3,{id:"info",children:"Info"}),`
24
- `,o.jsx(c,{colors:k}),`
25
- `,o.jsx(x,{})]})}function R(r={}){const{wrapper:n}=Object.assign({},i(),r.components);return n?o.jsx(n,Object.assign({},r,{children:o.jsx(l,r)})):l(r)}export{R as default};
@@ -1,55 +0,0 @@
1
- import{j as t}from"./jsx-runtime-f961835c.js";import{r as p}from"./index-f80c8c95.js";import{D as k}from"./disabled-context-d654f6ff.js";import{I as P}from"./input-group-20c3add3.js";import{I as W}from"./input-d68625a5.js";import{B as Y}from"./button-74c97e4a.js";import{S as w}from"./spacer-54db0620.js";import{a as D,M as U}from"./message-7e627e60.js";import{T as G}from"./textarea-d48efea2.js";import"./index-a80ed1cf.js";import"./common-types-2c81813f.js";import"./types-332ceaf3.js";import"./lodash-75c70a11.js";import"./tooltip-23e84186.js";import"./index-3d476d02.js";import"./spinner-a81ebe38.js";import"./icon-e9cbb4d7.js";import"./inheritsLoose-d4851ab8.js";import"./tslib.es6-dfef685f.js";import"./index-c89a1915.js";const X="_fileInput_1elar_1",z={fileInput:X};var q=(e=>(e.READ_AS_TEXT="readAsText",e.READ_AS_ARRAY_BUFFER="readAsArrayBuffer",e.READ_AS_DATA_URL="readAsDataURL",e.READ_AS_BINARY_STRING="readAsBinaryString",e))(q||{});const K=(e=new Blob,n=q.READ_AS_TEXT)=>{const a=new FileReader;return new Promise((l,r)=>{if(n in a)a[n](e);else{r(new Error("Invalid FileReader method"));return}a.onload=()=>{a.result!==null?l(a.result):r(new Error("File reading resulted in null"))},a.onerror=i=>r(i)})},u=({label:e="Select",loading:n=!1,placeholder:a="No file selected",disabled:l=!1,file:r,accept:i,multi:c,name:f,width:V,onChange:L=()=>{},testId:B})=>{const y=p.useContext(k),x=p.useRef(null),M=(r==null?void 0:r.name)||null,H=()=>{var s;l||y||(s=x.current)==null||s.click()};return t.jsxs("div",{onClick:H,style:{width:V},children:[t.jsxs(P,{children:[t.jsx(W,{value:M||"",placeholder:a,disabled:!0}),t.jsx(Y,{label:e,loading:n,disabled:n||l||y,groupOrder:"last"})]}),t.jsx("input",{name:f,ref:x,className:z.fileInput,type:"file",accept:i,onChange:s=>{var h,S,_;L({...s,target:{...s.target,value:c?(h=s==null?void 0:s.target)==null?void 0:h.files:(_=(S=s==null?void 0:s.target)==null?void 0:S.files)==null?void 0:_[0]}})},"data-testid":B})]})};try{u.displayName="FileInput",u.__docgenInfo={description:"",displayName:"FileInput",props:{label:{defaultValue:{value:"Select"},description:"",name:"label",required:!1,type:{name:"string | null"}},loading:{defaultValue:{value:"false"},description:"",name:"loading",required:!1,type:{name:"boolean"}},placeholder:{defaultValue:{value:"No file selected"},description:"",name:"placeholder",required:!1,type:{name:"string"}},disabled:{defaultValue:{value:"false"},description:"",name:"disabled",required:!1,type:{name:"boolean"}},file:{defaultValue:null,description:"",name:"file",required:!1,type:{name:"File"}},accept:{defaultValue:null,description:"",name:"accept",required:!1,type:{name:"string"}},multi:{defaultValue:null,description:"",name:"multi",required:!1,type:{name:"boolean"}},name:{defaultValue:null,description:"",name:"name",required:!1,type:{name:"string"}},width:{defaultValue:null,description:"",name:"width",required:!1,type:{name:"TStringOrNumber"}},onChange:{defaultValue:{value:"() => {}"},description:"",name:"onChange",required:!1,type:{name:"((evt: any) => void)"}},testId:{defaultValue:null,description:"",name:"testId",required:!1,type:{name:"string"}}}}}catch{}const{useArgs:Q}=__STORYBOOK_MODULE_ADDONS__,he={title:"Forms/FileInput",component:u,args:{file:null}},J=e=>{const[n,a]=Q(),l=r=>{a({file:r.target.value})};return t.jsx(u,{...e,onChange:l})},d=J.bind({}),o=J.bind({});o.args={accept:".json"};o.parameters={docs:{description:{story:"See [accept attribute](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/accept) to restrict file type"}}};const m=()=>{const[e,n]=p.useState(),[a,l]=p.useState({});return t.jsxs(t.Fragment,{children:[t.jsx(u,{file:e,onChange:async r=>{const i=r.target.value;try{const c=await K(i),f=JSON.parse(c);l(f)}catch(c){console.log(c)}n(i)},accept:".json"}),t.jsx(w,{}),e?t.jsx(G,{monospace:!0,value:JSON.stringify(a,null,2),rows:20}):t.jsx(D,{message:{visible:!0,content:"Upload a JSON file to see preview",type:U.INFO}})]})},g=()=>{const[e,n]=p.useState();return t.jsxs(t.Fragment,{children:[t.jsx(u,{file:e,onChange:a=>{n(a.target.value)},accept:"image/*"}),t.jsx(w,{}),e?t.jsx("img",{src:e?URL.createObjectURL(e):"",alt:"Preview",style:{maxHeight:"400px",maxWidth:"400px"}}):t.jsx(D,{message:{visible:!0,content:"Upload an image file to see preview",type:U.INFO}})]})};var F,A,v;d.parameters={...d.parameters,docs:{...(F=d.parameters)==null?void 0:F.docs,source:{originalSource:`args => {
2
- const [_, updateArgs] = useArgs();
3
- const handleChange = (evt: ChangeEvent<HTMLInputElement>) => {
4
- updateArgs({
5
- file: evt.target.value
6
- });
7
- };
8
- return <FileInput {...args} onChange={handleChange} />;
9
- }`,...(v=(A=d.parameters)==null?void 0:A.docs)==null?void 0:v.source}}};var I,j,b;o.parameters={...o.parameters,docs:{...(I=o.parameters)==null?void 0:I.docs,source:{originalSource:`args => {
10
- const [_, updateArgs] = useArgs();
11
- const handleChange = (evt: ChangeEvent<HTMLInputElement>) => {
12
- updateArgs({
13
- file: evt.target.value
14
- });
15
- };
16
- return <FileInput {...args} onChange={handleChange} />;
17
- }`,...(b=(j=o.parameters)==null?void 0:j.docs)==null?void 0:b.source}}};var R,C,N;m.parameters={...m.parameters,docs:{...(R=m.parameters)==null?void 0:R.docs,source:{originalSource:`() => {
18
- const [file, setFile] = useState();
19
- const [json, setJson] = useState({});
20
- return <>
21
- <FileInput file={file} onChange={async evt => {
22
- const file = evt.target.value;
23
- try {
24
- const text = await readFile(file);
25
- const json = JSON.parse((text as string));
26
- setJson(json);
27
- } catch (error) {
28
- console.log(error);
29
- }
30
- setFile(file);
31
- }} accept=".json" />
32
- <Spacer />
33
- {file ? <TextArea monospace value={JSON.stringify(json, null, 2)} rows={20} /> : <Message message={{
34
- visible: true,
35
- content: 'Upload a JSON file to see preview',
36
- type: MessageType.INFO
37
- }} />}
38
- </>;
39
- }`,...(N=(C=m.parameters)==null?void 0:C.docs)==null?void 0:N.source}}};var O,T,E;g.parameters={...g.parameters,docs:{...(O=g.parameters)==null?void 0:O.docs,source:{originalSource:`() => {
40
- const [file, setFile] = useState();
41
- return <>
42
- <FileInput file={file} onChange={evt => {
43
- setFile(evt.target.value);
44
- }} accept="image/*" />
45
- <Spacer />
46
- {file ? <img src={file ? URL.createObjectURL(file) : ''} alt="Preview" style={{
47
- maxHeight: '400px',
48
- maxWidth: '400px'
49
- }} /> : <Message message={{
50
- visible: true,
51
- content: 'Upload an image file to see preview',
52
- type: MessageType.INFO
53
- }} />}
54
- </>;
55
- }`,...(E=(T=g.parameters)==null?void 0:T.docs)==null?void 0:E.source}}};const Se=["Default","RestrictFiletype","ReadJSONFile","Image"];export{d as Default,g as Image,m as ReadJSONFile,o as RestrictFiletype,Se as __namedExportsOrder,he as default};
@@ -1,3 +0,0 @@
1
- import{j as e}from"./jsx-runtime-f961835c.js";import{T as p}from"./table-da6f6045.js";import{t as a,r as s}from"./table.stories-data-8a836b92.js";import"./index-f80c8c95.js";import"./index-a80ed1cf.js";import"./index.es-85cc7dfc.js";import"./inheritsLoose-d4851ab8.js";import"./redux-10ee6be7.js";import"./objectSpread2-fdee9b6d.js";import"./index-3d476d02.js";import"./memoize-one.esm-52518564.js";import"./icon-e9cbb4d7.js";import"./tslib.es6-dfef685f.js";import"./index-c89a1915.js";import"./disabled-context-d654f6ff.js";import"./lodash-75c70a11.js";import"./actions-2d4e1c8e.js";import"./common-types-2c81813f.js";import"./button-74c97e4a.js";import"./spinner-a81ebe38.js";import"./tooltip-23e84186.js";import"./types-cc224262.js";import"./types-332ceaf3.js";import"./badge-20e7ee0b.js";import"./heading-d29eb744.js";import"./help-icon-d4189b1b.js";import"./pagination-8aade846.js";import"./select-205cd538.js";import"./assertThisInitialized-081f9914.js";import"./text-ad1f5f1d.js";import"./select.input-88b6ebab.js";import"./input-d68625a5.js";import"./input-group-20c3add3.js";import"./input-group-addon-f8f6683a.js";import"./number-input-7d49b0b3.js";import"./index-57d7693e.js";import"./index-54f0d271.js";import"./check-box-e21258d5.js";import"./slider-160e2152.js";import"./index-c7f280f6.js";import"./popover-06e375a5.js";import"./flex-1d14d86c.js";const Z={title:"Basic/Table/Footer",component:p,args:{table:{...a}}},n=i=>e.jsx(p,{...i}),r=n.bind({});r.args={table:s};var o,t,m;r.parameters={...r.parameters,docs:{...(o=r.parameters)==null?void 0:o.docs,source:{originalSource:`args => {
2
- return <Table {...args} />;
3
- }`,...(m=(t=r.parameters)==null?void 0:t.docs)==null?void 0:m.source}}};const $=["Footer"];export{r as Footer,$ as __namedExportsOrder,Z as default};
@@ -1,49 +0,0 @@
1
- import{j as e}from"./jsx-runtime-f961835c.js";import{T as W}from"./common-types-2c81813f.js";import{D as A}from"./disabled-context-d654f6ff.js";import{F as s}from"./field-a094cd72.js";import{I as b}from"./input-d68625a5.js";import{S as c}from"./select-205cd538.js";import{C as G}from"./check-box-e21258d5.js";import{B as N}from"./button-group-fa895d0c.js";import{B as _}from"./button-74c97e4a.js";import{T as E}from"./toggle-bb34b2a2.js";import{I as V}from"./input-group-20c3add3.js";import{I as x}from"./input-group-addon-f8f6683a.js";import{S as U}from"./slider-160e2152.js";import{T as $}from"./textarea-d48efea2.js";import{R as q}from"./radio-button-135a9615.js";import{M as z}from"./actions-2d4e1c8e.js";import{F as H}from"./form-row-19dd7f6e.js";import{M as g}from"./types-cc224262.js";import"./index-f80c8c95.js";import"./index-a80ed1cf.js";import"./label-13d490a3.js";import"./help-icon-d4189b1b.js";import"./tooltip-23e84186.js";import"./index-3d476d02.js";import"./icon-e9cbb4d7.js";import"./inheritsLoose-d4851ab8.js";import"./tslib.es6-dfef685f.js";import"./index-c89a1915.js";import"./types-332ceaf3.js";import"./lodash-75c70a11.js";import"./assertThisInitialized-081f9914.js";import"./memoize-one.esm-52518564.js";import"./text-ad1f5f1d.js";import"./select.input-88b6ebab.js";import"./spinner-a81ebe38.js";import"./objectSpread2-fdee9b6d.js";import"./index-c7f280f6.js";import"./badge-20e7ee0b.js";const Be={title:"Forms/Layout",argTypes:{labelWidth:"text"},args:{small:!1,row:!1,labelLeft:!1,labelWidth:void 0,disabled:!1}},v=t=>{const{small:o,labelLeft:r,labelWidth:a}=t;return e.jsxs(e.Fragment,{children:[e.jsx(s,{label:"Input",helpText:"Some help text",labelLeft:r,labelWidth:a,children:e.jsx(b,{value:"Value",small:o})}),e.jsx(s,{label:"TextArea",helpText:"Some very long help text that needs to have its width constrained so it doesn't look silly",helpTextMaxWidth:200,labelLeft:r,labelWidth:a,children:e.jsx($,{value:"Value"})}),e.jsx(s,{label:"Select (native)",labelLeft:r,labelWidth:a,children:e.jsx(c,{options:[{label:"Option 1",value:"1"},{label:"Option 2",value:"2"}],value:{label:"Option 2",value:"2"},native:!0,small:o,width:"auto"})}),e.jsx(s,{label:"Select (custom)",labelLeft:r,labelWidth:a,children:e.jsx(c,{options:[{label:"Option 1",value:"1"},{label:"Option 2",value:"2"}],value:{label:"Option 2",value:"2"},small:o,width:"auto"})}),e.jsx(s,{label:"Select (multi)",labelLeft:r,labelWidth:a,children:e.jsx(c,{options:[{label:"Option 1",value:"1"},{label:"Option 2",value:"2"}],value:[{label:"Option 1",value:"1"},{label:"Option 2",value:"2"}],small:o})}),e.jsx(s,{label:"Slider",labelLeft:r,labelWidth:a,children:e.jsx(U,{width:"300px",name:"example",label:"Number of aardvarks",value:35,min:0,max:100,step:1,onChange:()=>{},showArrows:!0,showTooltip:!0,small:o})}),e.jsx(s,{label:"ButtonGroup",labelLeft:r,labelWidth:a,children:e.jsx(N,{items:[{key:"0",label:"Option 1",value:"1"},{key:"1",label:"Option 2",value:"2"}],value:0,small:o})}),e.jsx(s,{label:"InputGroup",labelLeft:r,labelWidth:a,children:e.jsxs(V,{small:o,children:[e.jsx(x,{children:"$"}),e.jsx(b,{name:"example",value:"123",onChange:()=>{}}),e.jsx(x,{children:"each"})]})}),e.jsx(s,{label:"Menu",labelLeft:r,labelWidth:a,children:e.jsx(z,{menu:{label:"Menu",trigger:W.DROP_DOWN_BUTTON,sections:[{type:g.OPTION,label:"Lorem"},{type:g.OPTION,label:"Ipsum"}],small:o}})}),e.jsx(s,{label:"CheckBox",labelLeft:r,labelWidth:a,children:e.jsx(G,{label:"CheckBox",checked:!0,small:o,onChange:()=>{}})}),e.jsx(s,{label:"RadioButton",labelLeft:r,labelWidth:a,children:e.jsx(q,{options:[{label:"Aardvarks",value:"termites"},{label:"Monkeys",value:"bananas"}],value:{label:"Monkeys",value:"bananas"},inline:!0,small:o})}),e.jsx(s,{label:"Toggle",labelLeft:r,labelWidth:a,children:e.jsx(E,{label:"Toggle",checked:!0,onChange:()=>{},small:o})}),e.jsx(s,{labelLeft:r,labelWidth:a,children:e.jsx(_,{colored:!0,label:"Button",onClick:()=>{},small:o})})]})},l=t=>{const{row:o,disabled:r}=t;return e.jsx(A.Provider,{value:r,children:o?e.jsx(H,{children:v(t)}):v(t)})},u=l.bind({}),n=l.bind({});n.args={small:!0};const i=l.bind({});i.args={labelLeft:!0,labelWidth:100};const d=l.bind({});d.args={row:!0};const m=l.bind({});m.args={row:!0,small:!0};const p=l.bind({});p.args={disabled:!0};var h,w,j;u.parameters={...u.parameters,docs:{...(h=u.parameters)==null?void 0:h.docs,source:{originalSource:`args => {
2
- const {
3
- row,
4
- disabled
5
- } = args;
6
- return <DisabledContext.Provider value={disabled}>
7
- {row ? <FormRow>{renderFields(args)}</FormRow> : renderFields(args)}
8
- </DisabledContext.Provider>;
9
- }`,...(j=(w=u.parameters)==null?void 0:w.docs)==null?void 0:j.source}}};var f,F,C;n.parameters={...n.parameters,docs:{...(f=n.parameters)==null?void 0:f.docs,source:{originalSource:`args => {
10
- const {
11
- row,
12
- disabled
13
- } = args;
14
- return <DisabledContext.Provider value={disabled}>
15
- {row ? <FormRow>{renderFields(args)}</FormRow> : renderFields(args)}
16
- </DisabledContext.Provider>;
17
- }`,...(C=(F=n.parameters)==null?void 0:F.docs)==null?void 0:C.source}}};var O,R,T;i.parameters={...i.parameters,docs:{...(O=i.parameters)==null?void 0:O.docs,source:{originalSource:`args => {
18
- const {
19
- row,
20
- disabled
21
- } = args;
22
- return <DisabledContext.Provider value={disabled}>
23
- {row ? <FormRow>{renderFields(args)}</FormRow> : renderFields(args)}
24
- </DisabledContext.Provider>;
25
- }`,...(T=(R=i.parameters)==null?void 0:R.docs)==null?void 0:T.source}}};var D,S,P;d.parameters={...d.parameters,docs:{...(D=d.parameters)==null?void 0:D.docs,source:{originalSource:`args => {
26
- const {
27
- row,
28
- disabled
29
- } = args;
30
- return <DisabledContext.Provider value={disabled}>
31
- {row ? <FormRow>{renderFields(args)}</FormRow> : renderFields(args)}
32
- </DisabledContext.Provider>;
33
- }`,...(P=(S=d.parameters)==null?void 0:S.docs)==null?void 0:P.source}}};var k,y,B;m.parameters={...m.parameters,docs:{...(k=m.parameters)==null?void 0:k.docs,source:{originalSource:`args => {
34
- const {
35
- row,
36
- disabled
37
- } = args;
38
- return <DisabledContext.Provider value={disabled}>
39
- {row ? <FormRow>{renderFields(args)}</FormRow> : renderFields(args)}
40
- </DisabledContext.Provider>;
41
- }`,...(B=(y=m.parameters)==null?void 0:y.docs)==null?void 0:B.source}}};var I,L,M;p.parameters={...p.parameters,docs:{...(I=p.parameters)==null?void 0:I.docs,source:{originalSource:`args => {
42
- const {
43
- row,
44
- disabled
45
- } = args;
46
- return <DisabledContext.Provider value={disabled}>
47
- {row ? <FormRow>{renderFields(args)}</FormRow> : renderFields(args)}
48
- </DisabledContext.Provider>;
49
- }`,...(M=(L=p.parameters)==null?void 0:L.docs)==null?void 0:M.source}}};const Ie=["Default","Small","LabelsOnLeft","Row","SmallRow","DisabledWithContext"];export{u as Default,p as DisabledWithContext,i as LabelsOnLeft,d as Row,n as Small,m as SmallRow,Ie as __namedExportsOrder,Be as default};
@@ -1,74 +0,0 @@
1
- import{j as e}from"./jsx-runtime-f961835c.js";import{r as c}from"./index-f80c8c95.js";import{T as d}from"./top-bar-a84b9365.js";import{S as g}from"./side-bar-88e8cf41.js";import{H as v}from"./heading-d29eb744.js";import{P as b}from"./page-6d07f774.js";import{R as h,C as o}from"./row-2299f0e7.js";import{S as x}from"./spacer-54db0620.js";import{T as f}from"./tabs-cf5ccede.js";import{T as j}from"./table-da6f6045.js";import"./index-a80ed1cf.js";import"./icon-e9cbb4d7.js";import"./inheritsLoose-d4851ab8.js";import"./tslib.es6-dfef685f.js";import"./index-c89a1915.js";import"./disabled-context-d654f6ff.js";import"./common-types-2c81813f.js";import"./button-74c97e4a.js";import"./spinner-a81ebe38.js";import"./tooltip-23e84186.js";import"./index-3d476d02.js";import"./actions-2d4e1c8e.js";import"./lodash-75c70a11.js";import"./types-cc224262.js";import"./types-332ceaf3.js";import"./badge-20e7ee0b.js";import"./index-c7f280f6.js";import"./drawer-7f450988.js";import"./help-icon-d4189b1b.js";import"./styled-components.browser.esm-416d73e5.js";import"./select.input-88b6ebab.js";import"./index.es-85cc7dfc.js";import"./redux-10ee6be7.js";import"./objectSpread2-fdee9b6d.js";import"./memoize-one.esm-52518564.js";import"./pagination-8aade846.js";import"./select-205cd538.js";import"./assertThisInitialized-081f9914.js";import"./text-ad1f5f1d.js";import"./input-d68625a5.js";import"./input-group-20c3add3.js";import"./input-group-addon-f8f6683a.js";import"./number-input-7d49b0b3.js";import"./index-57d7693e.js";import"./index-54f0d271.js";import"./check-box-e21258d5.js";import"./slider-160e2152.js";import"./popover-06e375a5.js";const T=()=>e.jsxs("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",background:"rgba(0,0,0,0.05)",height:"100%",minHeight:400,textAlign:"center"},children:["CHART ",e.jsx("br",{}),"(fills height, minHeight 400px)"]}),be={title:"Layout/Layout Examples",parameters:{layout:"fullscreen",docs:{story:{inline:!1,iframeHeight:400}}}},a=()=>{const t=[{label:"Monkeys",value:"monkeys"},{label:"Bananas",value:"bananas"},{label:"Squirrels",value:"squirrels"},{label:"Pomegranates",value:"pomegranates"}],[i,n]=c.useState(t[0]);return e.jsxs(e.Fragment,{children:[e.jsx(d,{}),e.jsx(g,{options:{title:"",sections:[]}}),e.jsxs(b,{padding:"var(--padding)",scroll:!0,children:[e.jsx(v,{top:!0,marginBottom:0,children:"Formation Inputs"}),e.jsx(f,{margin:!1,options:t,value:i,onChange:m=>{const{value:p,label:u}=m.target;n({value:p,label:u})}}),e.jsx(x,{}),e.jsxs(h,{flex:!0,children:[e.jsx(o,{width:400,children:e.jsx(j,{table:{headers:[{cells:[{value:"Name"},{value:"Origin"}]}],rows:[{cells:[{value:"Brown rice"},{value:"Vietnam"}]},{cells:[{value:"Buckwheat"},{value:"Poland"}]},{cells:[{value:"Couscous"},{value:"France"}]}]}})}),e.jsx(o,{children:e.jsx(T,{})})]})]})]})};var r,s,l;a.parameters={...a.parameters,docs:{...(r=a.parameters)==null?void 0:r.docs,source:{originalSource:`() => {
2
- const options = [{
3
- label: 'Monkeys',
4
- value: 'monkeys'
5
- }, {
6
- label: 'Bananas',
7
- value: 'bananas'
8
- }, {
9
- label: 'Squirrels',
10
- value: 'squirrels'
11
- }, {
12
- label: 'Pomegranates',
13
- value: 'pomegranates'
14
- }];
15
- const [selectedTab, setSelectedTab] = useState(options[0]);
16
- return <>
17
- <TopBar />
18
- <SideBar options={{
19
- title: '',
20
- sections: []
21
- }} />
22
- <Page padding="var(--padding)" scroll>
23
- <Heading top marginBottom={0}>
24
- Formation Inputs
25
- </Heading>
26
- <Tabs margin={false} options={options} value={selectedTab} onChange={evt => {
27
- const {
28
- value,
29
- label
30
- } = evt.target;
31
- setSelectedTab({
32
- value,
33
- label
34
- });
35
- }} />
36
- <Spacer />
37
- <Row flex>
38
- <Column width={400}>
39
- <Table table={{
40
- headers: [{
41
- cells: [{
42
- value: 'Name'
43
- }, {
44
- value: 'Origin'
45
- }]
46
- }],
47
- rows: [{
48
- cells: [{
49
- value: 'Brown rice'
50
- }, {
51
- value: 'Vietnam'
52
- }]
53
- }, {
54
- cells: [{
55
- value: 'Buckwheat'
56
- }, {
57
- value: 'Poland'
58
- }]
59
- }, {
60
- cells: [{
61
- value: 'Couscous'
62
- }, {
63
- value: 'France'
64
- }]
65
- }]
66
- }} />
67
- </Column>
68
- <Column>
69
- <ChartPlaceholder />
70
- </Column>
71
- </Row>
72
- </Page>
73
- </>;
74
- }`,...(l=(s=a.parameters)==null?void 0:s.docs)==null?void 0:l.source}}};a.__docgenInfo={description:"",methods:[],displayName:"Formation"};const he=["Formation"];export{a as Formation,he as __namedExportsOrder,be as default};
@@ -1,8 +0,0 @@
1
- import{j as r}from"./jsx-runtime-f961835c.js";import{r as V,R as E}from"./index-f80c8c95.js";import{c as Ct}from"./index-a80ed1cf.js";import{_ as zt,a as nt}from"./inheritsLoose-d4851ab8.js";import{_ as Y}from"./tslib.es6-dfef685f.js";import{p}from"./index-c89a1915.js";import{D as yt}from"./disabled-context-d654f6ff.js";function Tt(t,a){if(t==null)return{};var i={},o=Object.keys(t),n,l;for(l=0;l<o.length;l++)n=o[l],!(a.indexOf(n)>=0)&&(i[n]=t[n]);return i}/*!
2
- * content-type
3
- * Copyright(c) 2015 Douglas Christopher Wilson
4
- * MIT Licensed
5
- */var ot=/; *([!#$%&'*+.^_`|~0-9A-Za-z-]+) *= *("(?:[\u000b\u0020\u0021\u0023-\u005b\u005d-\u007e\u0080-\u00ff]|\\[\u000b\u0020-\u00ff])*"|[!#$%&'*+.^_`|~0-9A-Za-z-]+) */g,Ht=/\\([\u000b\u0020-\u00ff])/g,Wt=/^[!#$%&'*+.^_`|~0-9A-Za-z-]+\/[!#$%&'*+.^_`|~0-9A-Za-z-]+$/,Bt=St;function St(t){if(!t)throw new TypeError("argument string is required");var a=typeof t=="object"?Et(t):t;if(typeof a!="string")throw new TypeError("argument string is required to be a string");var i=a.indexOf(";"),o=i!==-1?a.slice(0,i).trim():a.trim();if(!Wt.test(o))throw new TypeError("invalid media type");var n=new At(o.toLowerCase());if(i!==-1){var l,s,d;for(ot.lastIndex=i;s=ot.exec(a);){if(s.index!==i)throw new TypeError("invalid parameter format");i+=s[0].length,l=s[1].toLowerCase(),d=s[2],d.charCodeAt(0)===34&&(d=d.slice(1,-1),d.indexOf("\\")!==-1&&(d=d.replace(Ht,"$1"))),n.parameters[l]=d}if(i!==a.length)throw new TypeError("invalid parameter format")}return n}function Et(t){var a;if(typeof t.getHeader=="function"?a=t.getHeader("content-type"):typeof t.headers=="object"&&(a=t.headers&&t.headers["content-type"]),typeof a!="string")throw new TypeError("content-type header is missing from object");return a}function At(t){this.parameters=Object.create(null),this.type=t}var q=new Map,pt=function(a){return a.cloneNode(!0)},it=function(){return window.location.protocol==="file:"},gt=function(a,i,o){var n=new XMLHttpRequest;n.onreadystatechange=function(){try{if(!/\.svg/i.test(a)&&n.readyState===2){var l=n.getResponseHeader("Content-Type");if(!l)throw new Error("Content type not found");var s=Bt(l).type;if(!(s==="image/svg+xml"||s==="text/plain"))throw new Error("Invalid content type: ".concat(s))}if(n.readyState===4){if(n.status===404||n.responseXML===null)throw new Error(it()?"Note: SVG injection ajax calls do not work locally without adjusting security settings in your browser. Or consider using a local webserver.":"Unable to load SVG file: "+a);if(n.status===200||it()&&n.status===0)o(null,n);else throw new Error("There was a problem injecting the SVG: "+n.status+" "+n.statusText)}}catch(d){if(n.abort(),d instanceof Error)o(d,n);else throw d}},n.open("GET",a),n.withCredentials=i,n.overrideMimeType&&n.overrideMimeType("text/xml"),n.send()},z={},lt=function(a,i){z[a]=z[a]||[],z[a].push(i)},Rt=function(a){for(var i=function(s,d){setTimeout(function(){if(Array.isArray(z[a])){var h=q.get(a),f=z[a][s];h instanceof SVGSVGElement&&f(null,pt(h)),h instanceof Error&&f(h),s===z[a].length-1&&delete z[a]}},0)},o=0,n=z[a].length;o<n;o++)i(o)},_t=function(a,i,o){if(q.has(a)){var n=q.get(a);if(n===void 0){lt(a,o);return}if(n instanceof SVGSVGElement){o(null,pt(n));return}}q.set(a,void 0),lt(a,o),gt(a,i,function(l,s){var d;l?q.set(a,l):((d=s.responseXML)===null||d===void 0?void 0:d.documentElement)instanceof SVGSVGElement&&q.set(a,s.responseXML.documentElement),Rt(a)})},It=function(a,i,o){gt(a,i,function(n,l){var s;n?o(n):((s=l.responseXML)===null||s===void 0?void 0:s.documentElement)instanceof SVGSVGElement&&o(null,l.responseXML.documentElement)})},qt=0,Vt=function(){return++qt},w=[],st={},Nt="http://www.w3.org/2000/svg",J="http://www.w3.org/1999/xlink",dt=function(a,i,o,n,l,s,d){var h=a.getAttribute("data-src")||a.getAttribute("src");if(!h){d(new Error("Invalid data-src or src attribute"));return}if(w.indexOf(a)!==-1){w.splice(w.indexOf(a),1),a=null;return}w.push(a),a.setAttribute("src","");var f=n?_t:It;f(h,l,function(A,c){if(!c){w.splice(w.indexOf(a),1),a=null,d(A);return}var T=a.getAttribute("id");T&&c.setAttribute("id",T);var C=a.getAttribute("title");C&&c.setAttribute("title",C);var H=a.getAttribute("width");H&&c.setAttribute("width",H);var W=a.getAttribute("height");W&&c.setAttribute("height",W);var M=Array.from(new Set(Y(Y(Y([],(c.getAttribute("class")||"").split(" "),!0),["injected-svg"],!1),(a.getAttribute("class")||"").split(" "),!0))).join(" ").trim();c.setAttribute("class",M);var g=a.getAttribute("style");g&&c.setAttribute("style",g),c.setAttribute("data-src",h);var m=[].filter.call(a.attributes,function(k){return/^data-\w[\w-]*$/.test(k.name)});if(Array.prototype.forEach.call(m,function(k){k.name&&k.value&&c.setAttribute(k.name,k.value)}),o){var x={clipPath:["clip-path"],"color-profile":["color-profile"],cursor:["cursor"],filter:["filter"],linearGradient:["fill","stroke"],marker:["marker","marker-start","marker-mid","marker-end"],mask:["mask"],path:[],pattern:["fill","stroke"],radialGradient:["fill","stroke"]},R,v,L,u,b;Object.keys(x).forEach(function(k){R=k,L=x[k],v=c.querySelectorAll(R+"[id]");for(var xt=function(X,Ye){u=v[X].id,b=u+"-"+Vt();var N;Array.prototype.forEach.call(L,function(K){N=c.querySelectorAll("["+K+'*="'+u+'"]');for(var O=0,bt=N.length;O<bt;O++){var at=N[O].getAttribute(K);at&&!at.match(new RegExp('url\\("?#'+u+'"?\\)'))||N[O].setAttribute(K,"url(#"+b+")")}});for(var Q=c.querySelectorAll("[*|href]"),Z=[],G=0,wt=Q.length;G<wt;G++){var et=Q[G].getAttributeNS(J,"href");et&&et.toString()==="#"+v[X].id&&Z.push(Q[G])}for(var $=0,Lt=Z.length;$<Lt;$++)Z[$].setAttributeNS(J,"href","#"+b);v[X].id=b},F=0,jt=v.length;F<jt;F++)xt(F)})}c.removeAttribute("xmlns:a");for(var j=c.querySelectorAll("script"),B=[],_,S,I=0,kt=j.length;I<kt;I++)S=j[I].getAttribute("type"),(!S||S==="application/ecmascript"||S==="application/javascript"||S==="text/javascript")&&(_=j[I].innerText||j[I].textContent,_&&B.push(_),c.removeChild(j[I]));if(B.length>0&&(i==="always"||i==="once"&&!st[h])){for(var U=0,Mt=B.length;U<Mt;U++)new Function(B[U])(window);st[h]=!0}var mt=c.querySelectorAll("style");if(Array.prototype.forEach.call(mt,function(k){k.textContent+=""}),c.setAttribute("xmlns",Nt),c.setAttribute("xmlns:xlink",J),s(c),!a.parentNode){w.splice(w.indexOf(a),1),a=null,d(new Error("Parent node is null"));return}a.parentNode.replaceChild(c,a),w.splice(w.indexOf(a),1),a=null,d(null,c)})},Gt=function(a,i){var o=i===void 0?{}:i,n=o.afterAll,l=n===void 0?function(){}:n,s=o.afterEach,d=s===void 0?function(){}:s,h=o.beforeEach,f=h===void 0?function(){}:h,A=o.cacheRequests,c=A===void 0?!0:A,T=o.evalScripts,C=T===void 0?"never":T,H=o.httpRequestWithCredentials,W=H===void 0?!1:H,M=o.renumerateIRIElements,g=M===void 0?!0:M;if(a&&"length"in a)for(var m=0,x=0,R=a.length;x<R;x++)dt(a[x],C,g,c,W,f,function(v,L){d(v,L),a&&"length"in a&&a.length===++m&&l(m)});else a?dt(a,C,g,c,W,f,function(v,L){d(v,L),l(1),a=null}):l(0)},Ot=function(a){var i=(a==null?void 0:a.ownerDocument)||document;return i.defaultView||window},Pt=function(a,i){for(var o in a)if(!(o in i))return!0;for(var n in i)if(a[n]!==i[n])return!0;return!1},Dt=["afterInjection","beforeInjection","desc","evalScripts","fallback","httpRequestWithCredentials","loading","renumerateIRIElements","src","title","useRequestCache","wrapper"],P="http://www.w3.org/2000/svg",ht="http://www.w3.org/1999/xlink",rt=function(t){zt(a,t);function a(){for(var o,n=arguments.length,l=new Array(n),s=0;s<n;s++)l[s]=arguments[s];return o=t.call.apply(t,[this].concat(l))||this,o.initialState={hasError:!1,isLoading:!0},o.state=o.initialState,o._isMounted=!1,o.reactWrapper=void 0,o.nonReactWrapper=void 0,o.refCallback=function(d){o.reactWrapper=d},o}var i=a.prototype;return i.renderSVG=function(){var n=this;if(this.reactWrapper instanceof Ot(this.reactWrapper).Node){var l=this.props,s=l.desc,d=l.evalScripts,h=l.httpRequestWithCredentials,f=l.renumerateIRIElements,A=l.src,c=l.title,T=l.useRequestCache,C=this.props.onError,H=this.props.beforeInjection,W=this.props.afterInjection,M=this.props.wrapper,g,m;M==="svg"?(g=document.createElementNS(P,M),g.setAttribute("xmlns",P),g.setAttribute("xmlns:xlink",ht),m=document.createElementNS(P,M)):(g=document.createElement(M),m=document.createElement(M)),g.appendChild(m),m.dataset.src=A,this.nonReactWrapper=this.reactWrapper.appendChild(g);var x=function(u){if(n.removeSVG(),!n._isMounted){C(u);return}n.setState(function(){return{hasError:!0,isLoading:!1}},function(){C(u)})},R=function(u,b){if(u){x(u);return}n._isMounted&&n.setState(function(){return{isLoading:!1}},function(){try{W(b)}catch(j){x(j)}})},v=function(u){if(u.setAttribute("role","img"),s){var b=u.querySelector(":scope > desc");b&&u.removeChild(b);var j=document.createElement("desc");j.innerHTML=s,u.prepend(j)}if(c){var B=u.querySelector(":scope > title");B&&u.removeChild(B);var _=document.createElement("title");_.innerHTML=c,u.prepend(_)}try{H(u)}catch(S){x(S)}};Gt(m,{afterEach:R,beforeEach:v,cacheRequests:T,evalScripts:d,httpRequestWithCredentials:h,renumerateIRIElements:f})}},i.removeSVG=function(){var n;(n=this.nonReactWrapper)!=null&&n.parentNode&&(this.nonReactWrapper.parentNode.removeChild(this.nonReactWrapper),this.nonReactWrapper=null)},i.componentDidMount=function(){this._isMounted=!0,this.renderSVG()},i.componentDidUpdate=function(n){var l=this;Pt(nt({},n),this.props)&&this.setState(function(){return l.initialState},function(){l.removeSVG(),l.renderSVG()})},i.componentWillUnmount=function(){this._isMounted=!1,this.removeSVG()},i.render=function(){var n=this.props;n.afterInjection,n.beforeInjection,n.desc,n.evalScripts;var l=n.fallback;n.httpRequestWithCredentials;var s=n.loading;n.renumerateIRIElements,n.src,n.title,n.useRequestCache;var d=n.wrapper,h=Tt(n,Dt),f=d;return V.createElement(f,nt({},h,{ref:this.refCallback},d==="svg"?{xmlns:P,xmlnsXlink:ht}:{}),this.state.isLoading&&s&&V.createElement(s,null),this.state.hasError&&l&&V.createElement(l,null))},a}(V.Component);rt.defaultProps={afterInjection:function(){},beforeInjection:function(){},desc:"",evalScripts:"never",fallback:null,httpRequestWithCredentials:!1,loading:null,onError:function(){},renumerateIRIElements:!0,title:"",useRequestCache:!0,wrapper:"div"};rt.propTypes={afterInjection:p.func,beforeInjection:p.func,desc:p.string,evalScripts:p.oneOf(["always","once","never"]),fallback:p.oneOfType([p.func,p.object,p.string]),httpRequestWithCredentials:p.bool,loading:p.oneOfType([p.func,p.object,p.string]),onError:p.func,renumerateIRIElements:p.bool,src:p.string.isRequired,title:p.string,useRequestCache:p.bool,wrapper:p.oneOf(["div","span","svg"])};const Ut="_wrapper_18jt2_1",Ft="_customSvg_18jt2_8",Xt="_customPng_18jt2_11",Qt="_clickable_18jt2_16",D={wrapper:Ut,customSvg:Ft,customPng:Xt,clickable:Qt};var ft={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},ct=E.createContext&&E.createContext(ft),y=globalThis&&globalThis.__assign||function(){return y=Object.assign||function(t){for(var a,i=1,o=arguments.length;i<o;i++){a=arguments[i];for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&(t[n]=a[n])}return t},y.apply(this,arguments)},Zt=globalThis&&globalThis.__rest||function(t,a){var i={};for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&a.indexOf(o)<0&&(i[o]=t[o]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var n=0,o=Object.getOwnPropertySymbols(t);n<o.length;n++)a.indexOf(o[n])<0&&Object.prototype.propertyIsEnumerable.call(t,o[n])&&(i[o[n]]=t[o[n]]);return i};function vt(t){return t&&t.map(function(a,i){return E.createElement(a.tag,y({key:i},a.attr),vt(a.child))})}function e(t){return function(a){return E.createElement($t,y({attr:y({},t.attr)},a),vt(t.child))}}function $t(t){var a=function(i){var o=t.attr,n=t.size,l=t.title,s=Zt(t,["attr","size","title"]),d=n||i.size||"1em",h;return i.className&&(h=i.className),t.className&&(h=(h?h+" ":"")+t.className),E.createElement("svg",y({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},i.attr,o,s,{className:h,style:y(y({color:t.color||i.color},i.style),t.style),height:d,width:d,xmlns:"http://www.w3.org/2000/svg"}),l&&E.createElement("title",null,l),t.children)};return ct!==void 0?E.createElement(ct.Consumer,null,function(i){return a(i)}):a(ft)}function Kt(t){return e({tag:"svg",attr:{viewBox:"0 0 24 24",strokeWidth:"2",stroke:"currentColor",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}},{tag:"path",attr:{d:"M12 9v4"}},{tag:"path",attr:{d:"M10.363 3.591l-8.106 13.534a1.914 1.914 0 0 0 1.636 2.871h16.214a1.914 1.914 0 0 0 1.636 -2.87l-8.106 -13.536a1.914 1.914 0 0 0 -3.274 0z"}},{tag:"path",attr:{d:"M12 16h.01"}}]})(t)}function Yt(t){return e({tag:"svg",attr:{viewBox:"0 0 24 24",strokeWidth:"2",stroke:"currentColor",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}},{tag:"path",attr:{d:"M12 5l0 14"}},{tag:"path",attr:{d:"M18 13l-6 6"}},{tag:"path",attr:{d:"M6 13l6 6"}}]})(t)}function Jt(t){return e({tag:"svg",attr:{viewBox:"0 0 24 24",strokeWidth:"2",stroke:"currentColor",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}},{tag:"path",attr:{d:"M5 12l14 0"}},{tag:"path",attr:{d:"M5 12l6 6"}},{tag:"path",attr:{d:"M5 12l6 -6"}}]})(t)}function tr(t){return e({tag:"svg",attr:{viewBox:"0 0 24 24",strokeWidth:"2",stroke:"currentColor",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}},{tag:"path",attr:{d:"M5 12l14 0"}},{tag:"path",attr:{d:"M13 18l6 -6"}},{tag:"path",attr:{d:"M13 6l6 6"}}]})(t)}function rr(t){return e({tag:"svg",attr:{viewBox:"0 0 24 24",strokeWidth:"2",stroke:"currentColor",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}},{tag:"path",attr:{d:"M12 5l0 14"}},{tag:"path",attr:{d:"M18 11l-6 -6"}},{tag:"path",attr:{d:"M6 11l6 -6"}}]})(t)}function er(t){return e({tag:"svg",attr:{viewBox:"0 0 24 24",strokeWidth:"2",stroke:"currentColor",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}},{tag:"path",attr:{d:"M16 4l4 0l0 4"}},{tag:"path",attr:{d:"M14 10l6 -6"}},{tag:"path",attr:{d:"M8 20l-4 0l0 -4"}},{tag:"path",attr:{d:"M4 20l6 -6"}}]})(t)}function ar(t){return e({tag:"svg",attr:{viewBox:"0 0 24 24",strokeWidth:"2",stroke:"currentColor",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}},{tag:"path",attr:{d:"M16 4l4 0l0 4"}},{tag:"path",attr:{d:"M14 10l6 -6"}},{tag:"path",attr:{d:"M8 20l-4 0l0 -4"}},{tag:"path",attr:{d:"M4 20l6 -6"}},{tag:"path",attr:{d:"M16 20l4 0l0 -4"}},{tag:"path",attr:{d:"M14 14l6 6"}},{tag:"path",attr:{d:"M8 4l-4 0l0 4"}},{tag:"path",attr:{d:"M4 4l6 6"}}]})(t)}function nr(t){return e({tag:"svg",attr:{viewBox:"0 0 24 24",strokeWidth:"2",stroke:"currentColor",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}},{tag:"path",attr:{d:"M5 9l4 0l0 -4"}},{tag:"path",attr:{d:"M3 3l6 6"}},{tag:"path",attr:{d:"M5 15l4 0l0 4"}},{tag:"path",attr:{d:"M3 21l6 -6"}},{tag:"path",attr:{d:"M19 9l-4 0l0 -4"}},{tag:"path",attr:{d:"M15 9l6 -6"}},{tag:"path",attr:{d:"M19 15l-4 0l0 4"}},{tag:"path",attr:{d:"M15 15l6 6"}}]})(t)}function or(t){return e({tag:"svg",attr:{viewBox:"0 0 24 24",strokeWidth:"2",stroke:"currentColor",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}},{tag:"path",attr:{d:"M18 9l3 3l-3 3"}},{tag:"path",attr:{d:"M15 12h6"}},{tag:"path",attr:{d:"M6 9l-3 3l3 3"}},{tag:"path",attr:{d:"M3 12h6"}},{tag:"path",attr:{d:"M9 18l3 3l3 -3"}},{tag:"path",attr:{d:"M12 15v6"}},{tag:"path",attr:{d:"M15 6l-3 -3l-3 3"}},{tag:"path",attr:{d:"M12 3v6"}}]})(t)}function ir(t){return e({tag:"svg",attr:{viewBox:"0 0 24 24",strokeWidth:"2",stroke:"currentColor",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}},{tag:"path",attr:{d:"M21 17h-8l-3.5 -5h-6.5"}},{tag:"path",attr:{d:"M21 7h-8l-3.495 5"}},{tag:"path",attr:{d:"M18 10l3 -3l-3 -3"}},{tag:"path",attr:{d:"M18 20l3 -3l-3 -3"}}]})(t)}function lr(t){return e({tag:"svg",attr:{viewBox:"0 0 24 24",strokeWidth:"2",stroke:"currentColor",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}},{tag:"path",attr:{d:"M10 5a2 2 0 1 1 4 0a7 7 0 0 1 4 6v3a4 4 0 0 0 2 3h-16a4 4 0 0 0 2 -3v-3a7 7 0 0 1 4 -6"}},{tag:"path",attr:{d:"M9 17v1a3 3 0 0 0 6 0v-1"}}]})(t)}function sr(t){return e({tag:"svg",attr:{viewBox:"0 0 24 24",strokeWidth:"2",stroke:"currentColor",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}},{tag:"path",attr:{d:"M7 5h6a3.5 3.5 0 0 1 0 7h-6z"}},{tag:"path",attr:{d:"M13 12h1a3.5 3.5 0 0 1 0 7h-7v-7"}}]})(t)}function dr(t){return e({tag:"svg",attr:{viewBox:"0 0 24 24",strokeWidth:"2",stroke:"currentColor",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}},{tag:"path",attr:{d:"M13 3l0 7l6 0l-8 11l0 -7l-6 0l8 -11"}}]})(t)}function hr(t){return e({tag:"svg",attr:{viewBox:"0 0 24 24",strokeWidth:"2",stroke:"currentColor",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}},{tag:"path",attr:{d:"M19 4v16h-12a2 2 0 0 1 -2 -2v-12a2 2 0 0 1 2 -2h12z"}},{tag:"path",attr:{d:"M19 16h-12a2 2 0 0 0 -2 2"}},{tag:"path",attr:{d:"M9 8h6"}}]})(t)}function cr(t){return e({tag:"svg",attr:{viewBox:"0 0 24 24",strokeWidth:"2",stroke:"currentColor",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}},{tag:"path",attr:{d:"M3 21l18 0"}},{tag:"path",attr:{d:"M9 8l1 0"}},{tag:"path",attr:{d:"M9 12l1 0"}},{tag:"path",attr:{d:"M9 16l1 0"}},{tag:"path",attr:{d:"M14 8l1 0"}},{tag:"path",attr:{d:"M14 12l1 0"}},{tag:"path",attr:{d:"M14 16l1 0"}},{tag:"path",attr:{d:"M5 21v-16a2 2 0 0 1 2 -2h10a2 2 0 0 1 2 2v16"}}]})(t)}function ur(t){return e({tag:"svg",attr:{viewBox:"0 0 24 24",strokeWidth:"2",stroke:"currentColor",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}},{tag:"path",attr:{d:"M5 7h1a2 2 0 0 0 2 -2a1 1 0 0 1 1 -1h6a1 1 0 0 1 1 1a2 2 0 0 0 2 2h1a2 2 0 0 1 2 2v9a2 2 0 0 1 -2 2h-14a2 2 0 0 1 -2 -2v-9a2 2 0 0 1 2 -2"}},{tag:"path",attr:{d:"M9 13a3 3 0 1 0 6 0a3 3 0 0 0 -6 0"}}]})(t)}function pr(t){return e({tag:"svg",attr:{viewBox:"0 0 24 24",strokeWidth:"2",stroke:"currentColor",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}},{tag:"path",attr:{d:"M3 12m0 1a1 1 0 0 1 1 -1h4a1 1 0 0 1 1 1v6a1 1 0 0 1 -1 1h-4a1 1 0 0 1 -1 -1z"}},{tag:"path",attr:{d:"M9 8m0 1a1 1 0 0 1 1 -1h4a1 1 0 0 1 1 1v10a1 1 0 0 1 -1 1h-4a1 1 0 0 1 -1 -1z"}},{tag:"path",attr:{d:"M15 4m0 1a1 1 0 0 1 1 -1h4a1 1 0 0 1 1 1v14a1 1 0 0 1 -1 1h-4a1 1 0 0 1 -1 -1z"}},{tag:"path",attr:{d:"M4 20l14 0"}}]})(t)}function gr(t){return e({tag:"svg",attr:{viewBox:"0 0 24 24",strokeWidth:"2",stroke:"currentColor",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}},{tag:"path",attr:{d:"M4 19l16 0"}},{tag:"path",attr:{d:"M4 15l4 -6l4 2l4 -5l4 4"}}]})(t)}function fr(t){return e({tag:"svg",attr:{viewBox:"0 0 24 24",strokeWidth:"2",stroke:"currentColor",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}},{tag:"path",attr:{d:"M12 3v9h9"}},{tag:"path",attr:{d:"M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0"}}]})(t)}function vr(t){return e({tag:"svg",attr:{viewBox:"0 0 24 24",strokeWidth:"2",stroke:"currentColor",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}},{tag:"path",attr:{d:"M5 12l5 5l10 -10"}}]})(t)}function kr(t){return e({tag:"svg",attr:{viewBox:"0 0 24 24",strokeWidth:"2",stroke:"currentColor",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}},{tag:"path",attr:{d:"M6 9l6 6l6 -6"}}]})(t)}function Mr(t){return e({tag:"svg",attr:{viewBox:"0 0 24 24",strokeWidth:"2",stroke:"currentColor",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}},{tag:"path",attr:{d:"M15 6l-6 6l6 6"}}]})(t)}function mr(t){return e({tag:"svg",attr:{viewBox:"0 0 24 24",strokeWidth:"2",stroke:"currentColor",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}},{tag:"path",attr:{d:"M9 6l6 6l-6 6"}}]})(t)}function xr(t){return e({tag:"svg",attr:{viewBox:"0 0 24 24",strokeWidth:"2",stroke:"currentColor",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}},{tag:"path",attr:{d:"M6 15l6 -6l6 6"}}]})(t)}function jr(t){return e({tag:"svg",attr:{viewBox:"0 0 24 24",strokeWidth:"2",stroke:"currentColor",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}},{tag:"path",attr:{d:"M11 7l-5 5l5 5"}},{tag:"path",attr:{d:"M17 7l-5 5l5 5"}}]})(t)}function wr(t){return e({tag:"svg",attr:{viewBox:"0 0 24 24",strokeWidth:"2",stroke:"currentColor",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}},{tag:"path",attr:{d:"M7 7l5 5l-5 5"}},{tag:"path",attr:{d:"M13 7l5 5l-5 5"}}]})(t)}function Lr(t){return e({tag:"svg",attr:{viewBox:"0 0 24 24",strokeWidth:"2",stroke:"currentColor",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}},{tag:"path",attr:{d:"M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0"}},{tag:"path",attr:{d:"M9 12l2 2l4 -4"}}]})(t)}function br(t){return e({tag:"svg",attr:{viewBox:"0 0 24 24",strokeWidth:"2",stroke:"currentColor",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}},{tag:"path",attr:{d:"M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0"}},{tag:"path",attr:{d:"M10 10l4 4m0 -4l-4 4"}}]})(t)}function Cr(t){return e({tag:"svg",attr:{viewBox:"0 0 24 24",strokeWidth:"2",stroke:"currentColor",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}},{tag:"path",attr:{d:"M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0"}}]})(t)}function zr(t){return e({tag:"svg",attr:{viewBox:"0 0 24 24",strokeWidth:"2",stroke:"currentColor",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}},{tag:"path",attr:{d:"M9 5h-2a2 2 0 0 0 -2 2v12a2 2 0 0 0 2 2h10a2 2 0 0 0 2 -2v-12a2 2 0 0 0 -2 -2h-2"}},{tag:"path",attr:{d:"M9 3m0 2a2 2 0 0 1 2 -2h2a2 2 0 0 1 2 2v0a2 2 0 0 1 -2 2h-2a2 2 0 0 1 -2 -2z"}}]})(t)}function yr(t){return e({tag:"svg",attr:{viewBox:"0 0 24 24",strokeWidth:"2",stroke:"currentColor",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}},{tag:"path",attr:{d:"M3 12a9 9 0 1 0 18 0a9 9 0 0 0 -18 0"}},{tag:"path",attr:{d:"M12 7v5l3 3"}}]})(t)}function Tr(t){return e({tag:"svg",attr:{viewBox:"0 0 24 24",strokeWidth:"2",stroke:"currentColor",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}},{tag:"path",attr:{d:"M7 8l-4 4l4 4"}},{tag:"path",attr:{d:"M17 8l4 4l-4 4"}},{tag:"path",attr:{d:"M14 4l-4 16"}}]})(t)}function Hr(t){return e({tag:"svg",attr:{viewBox:"0 0 24 24",strokeWidth:"2",stroke:"currentColor",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}},{tag:"path",attr:{d:"M8 8m0 2a2 2 0 0 1 2 -2h8a2 2 0 0 1 2 2v8a2 2 0 0 1 -2 2h-8a2 2 0 0 1 -2 -2z"}},{tag:"path",attr:{d:"M16 8v-2a2 2 0 0 0 -2 -2h-8a2 2 0 0 0 -2 2v8a2 2 0 0 0 2 2h2"}}]})(t)}function Wr(t){return e({tag:"svg",attr:{viewBox:"0 0 24 24",strokeWidth:"2",stroke:"currentColor",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}},{tag:"path",attr:{d:"M6 6v6a3 3 0 0 0 3 3h10l-4 -4m0 8l4 -4"}}]})(t)}function Br(t){return e({tag:"svg",attr:{viewBox:"0 0 24 24",strokeWidth:"2",stroke:"currentColor",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}},{tag:"path",attr:{d:"M6 4h10l4 4v10a2 2 0 0 1 -2 2h-12a2 2 0 0 1 -2 -2v-12a2 2 0 0 1 2 -2"}},{tag:"path",attr:{d:"M12 14m-2 0a2 2 0 1 0 4 0a2 2 0 1 0 -4 0"}},{tag:"path",attr:{d:"M14 4l0 4l-6 0l0 -4"}}]})(t)}function Sr(t){return e({tag:"svg",attr:{viewBox:"0 0 24 24",strokeWidth:"2",stroke:"currentColor",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}},{tag:"path",attr:{d:"M3 19l18 0"}},{tag:"path",attr:{d:"M5 6m0 1a1 1 0 0 1 1 -1h12a1 1 0 0 1 1 1v8a1 1 0 0 1 -1 1h-12a1 1 0 0 1 -1 -1z"}}]})(t)}function Er(t){return e({tag:"svg",attr:{viewBox:"0 0 24 24",strokeWidth:"2",stroke:"currentColor",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}},{tag:"path",attr:{d:"M12 12m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"}},{tag:"path",attr:{d:"M12 19m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"}},{tag:"path",attr:{d:"M12 5m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"}}]})(t)}function Ar(t){return e({tag:"svg",attr:{viewBox:"0 0 24 24",strokeWidth:"2",stroke:"currentColor",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}},{tag:"path",attr:{d:"M4 17v2a2 2 0 0 0 2 2h12a2 2 0 0 0 2 -2v-2"}},{tag:"path",attr:{d:"M7 11l5 5l5 -5"}},{tag:"path",attr:{d:"M12 4l0 12"}}]})(t)}function Rr(t){return e({tag:"svg",attr:{viewBox:"0 0 24 24",strokeWidth:"2",stroke:"currentColor",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}},{tag:"path",attr:{d:"M7.502 19.423c2.602 2.105 6.395 2.105 8.996 0c2.602 -2.105 3.262 -5.708 1.566 -8.546l-4.89 -7.26c-.42 -.625 -1.287 -.803 -1.936 -.397a1.376 1.376 0 0 0 -.41 .397l-4.893 7.26c-1.695 2.838 -1.035 6.441 1.567 8.546z"}}]})(t)}function _r(t){return e({tag:"svg",attr:{viewBox:"0 0 24 24",strokeWidth:"2",stroke:"currentColor",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}},{tag:"path",attr:{d:"M12 19v.01"}},{tag:"path",attr:{d:"M12 15v-10"}}]})(t)}function Ir(t){return e({tag:"svg",attr:{viewBox:"0 0 24 24",strokeWidth:"2",stroke:"currentColor",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}},{tag:"path",attr:{d:"M12 6h-6a2 2 0 0 0 -2 2v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2 -2v-6"}},{tag:"path",attr:{d:"M11 13l9 -9"}},{tag:"path",attr:{d:"M15 4h5v5"}}]})(t)}function qr(t){return e({tag:"svg",attr:{viewBox:"0 0 24 24",strokeWidth:"2",stroke:"currentColor",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}},{tag:"path",attr:{d:"M10.585 10.587a2 2 0 0 0 2.829 2.828"}},{tag:"path",attr:{d:"M16.681 16.673a8.717 8.717 0 0 1 -4.681 1.327c-3.6 0 -6.6 -2 -9 -6c1.272 -2.12 2.712 -3.678 4.32 -4.674m2.86 -1.146a9.055 9.055 0 0 1 1.82 -.18c3.6 0 6.6 2 9 6c-.666 1.11 -1.379 2.067 -2.138 2.87"}},{tag:"path",attr:{d:"M3 3l18 18"}}]})(t)}function Vr(t){return e({tag:"svg",attr:{viewBox:"0 0 24 24",strokeWidth:"2",stroke:"currentColor",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}},{tag:"path",attr:{d:"M10 12a2 2 0 1 0 4 0a2 2 0 0 0 -4 0"}},{tag:"path",attr:{d:"M21 12c-2.4 4 -5.4 6 -9 6c-3.6 0 -6.6 -2 -9 -6c2.4 -4 5.4 -6 9 -6c3.6 0 6.6 2 9 6"}}]})(t)}function Nr(t){return e({tag:"svg",attr:{viewBox:"0 0 24 24",strokeWidth:"2",stroke:"currentColor",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}},{tag:"path",attr:{d:"M14 3v4a1 1 0 0 0 1 1h4"}},{tag:"path",attr:{d:"M17 21h-10a2 2 0 0 1 -2 -2v-14a2 2 0 0 1 2 -2h7l5 5v11a2 2 0 0 1 -2 2z"}}]})(t)}function Gr(t){return e({tag:"svg",attr:{viewBox:"0 0 24 24",strokeWidth:"2",stroke:"currentColor",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}},{tag:"path",attr:{d:"M8 4h12v2.172a2 2 0 0 1 -.586 1.414l-3.914 3.914m-.5 3.5v4l-6 2v-8.5l-4.48 -4.928a2 2 0 0 1 -.52 -1.345v-2.227"}},{tag:"path",attr:{d:"M3 3l18 18"}}]})(t)}function Or(t){return e({tag:"svg",attr:{viewBox:"0 0 24 24",strokeWidth:"2",stroke:"currentColor",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}},{tag:"path",attr:{d:"M4 4h16v2.172a2 2 0 0 1 -.586 1.414l-4.414 4.414v7l-6 2v-8.5l-4.48 -4.928a2 2 0 0 1 -.52 -1.345v-2.227z"}}]})(t)}function Pr(t){return e({tag:"svg",attr:{viewBox:"0 0 24 24",strokeWidth:"2",stroke:"currentColor",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}},{tag:"path",attr:{d:"M12 12m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"}},{tag:"path",attr:{d:"M4 8v-2a2 2 0 0 1 2 -2h2"}},{tag:"path",attr:{d:"M4 16v2a2 2 0 0 0 2 2h2"}},{tag:"path",attr:{d:"M16 4h2a2 2 0 0 1 2 2v2"}},{tag:"path",attr:{d:"M16 20h2a2 2 0 0 0 2 -2v-2"}}]})(t)}function ia(t){return e({tag:"svg",attr:{viewBox:"0 0 24 24",strokeWidth:"2",stroke:"currentColor",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}},{tag:"path",attr:{d:"M5 19l2.757 -7.351a1 1 0 0 1 .936 -.649h12.307a1 1 0 0 1 .986 1.164l-.996 5.211a2 2 0 0 1 -1.964 1.625h-14.026a2 2 0 0 1 -2 -2v-11a2 2 0 0 1 2 -2h4l3 3h7a2 2 0 0 1 2 2v2"}}]})(t)}function Dr(t){return e({tag:"svg",attr:{viewBox:"0 0 24 24",strokeWidth:"2",stroke:"currentColor",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}},{tag:"path",attr:{d:"M11 19h-6a2 2 0 0 1 -2 -2v-11a2 2 0 0 1 2 -2h4l3 3h7a2 2 0 0 1 2 2v2.5"}},{tag:"path",attr:{d:"M18 18m-3 0a3 3 0 1 0 6 0a3 3 0 1 0 -6 0"}},{tag:"path",attr:{d:"M20.2 20.2l1.8 1.8"}}]})(t)}function Ur(t){return e({tag:"svg",attr:{viewBox:"0 0 24 24",strokeWidth:"2",stroke:"currentColor",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}},{tag:"path",attr:{d:"M5 4h4l3 3h7a2 2 0 0 1 2 2v8a2 2 0 0 1 -2 2h-14a2 2 0 0 1 -2 -2v-11a2 2 0 0 1 2 -2"}}]})(t)}function Fr(t){return e({tag:"svg",attr:{viewBox:"0 0 24 24",strokeWidth:"2",stroke:"currentColor",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}},{tag:"path",attr:{d:"M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0"}},{tag:"path",attr:{d:"M12 12m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"}},{tag:"path",attr:{d:"M13.41 10.59l2.59 -2.59"}},{tag:"path",attr:{d:"M7 12a5 5 0 0 1 5 -5"}}]})(t)}function Xr(t){return e({tag:"svg",attr:{viewBox:"0 0 24 24",strokeWidth:"2",stroke:"currentColor",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}},{tag:"path",attr:{d:"M12 18m-2 0a2 2 0 1 0 4 0a2 2 0 1 0 -4 0"}},{tag:"path",attr:{d:"M7 6m-2 0a2 2 0 1 0 4 0a2 2 0 1 0 -4 0"}},{tag:"path",attr:{d:"M17 6m-2 0a2 2 0 1 0 4 0a2 2 0 1 0 -4 0"}},{tag:"path",attr:{d:"M7 8v2a2 2 0 0 0 2 2h6a2 2 0 0 0 2 -2v-2"}},{tag:"path",attr:{d:"M12 12l0 4"}}]})(t)}function Qr(t){return e({tag:"svg",attr:{viewBox:"0 0 24 24",strokeWidth:"2",stroke:"currentColor",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}},{tag:"path",attr:{d:"M9 5m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"}},{tag:"path",attr:{d:"M9 12m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"}},{tag:"path",attr:{d:"M9 19m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"}},{tag:"path",attr:{d:"M15 5m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"}},{tag:"path",attr:{d:"M15 12m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"}},{tag:"path",attr:{d:"M15 19m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"}}]})(t)}function Zr(t){return e({tag:"svg",attr:{viewBox:"0 0 24 24",strokeWidth:"2",stroke:"currentColor",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}},{tag:"path",attr:{d:"M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0"}},{tag:"path",attr:{d:"M12 17l0 .01"}},{tag:"path",attr:{d:"M12 13.5a1.5 1.5 0 0 1 1 -1.5a2.6 2.6 0 1 0 -3 -4"}}]})(t)}function $r(t){return e({tag:"svg",attr:{viewBox:"0 0 24 24",strokeWidth:"2",stroke:"currentColor",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}},{tag:"path",attr:{d:"M3 12a9 9 0 1 0 18 0a9 9 0 0 0 -18 0"}},{tag:"path",attr:{d:"M12 9h.01"}},{tag:"path",attr:{d:"M11 12h1v4h1"}}]})(t)}function Kr(t){return e({tag:"svg",attr:{viewBox:"0 0 24 24",strokeWidth:"2",stroke:"currentColor",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}},{tag:"path",attr:{d:"M11 5l6 0"}},{tag:"path",attr:{d:"M7 19l6 0"}},{tag:"path",attr:{d:"M14 5l-4 14"}}]})(t)}function Yr(t){return e({tag:"svg",attr:{viewBox:"0 0 24 24",strokeWidth:"2",stroke:"currentColor",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}},{tag:"path",attr:{d:"M16.555 3.843l3.602 3.602a2.877 2.877 0 0 1 0 4.069l-2.643 2.643a2.877 2.877 0 0 1 -4.069 0l-.301 -.301l-6.558 6.558a2 2 0 0 1 -1.239 .578l-.175 .008h-1.172a1 1 0 0 1 -.993 -.883l-.007 -.117v-1.172a2 2 0 0 1 .467 -1.284l.119 -.13l.414 -.414h2v-2h2v-2l2.144 -2.144l-.301 -.301a2.877 2.877 0 0 1 0 -4.069l2.643 -2.643a2.877 2.877 0 0 1 4.069 0z"}},{tag:"path",attr:{d:"M15 9h.01"}}]})(t)}function Jr(t){return e({tag:"svg",attr:{viewBox:"0 0 24 24",strokeWidth:"2",stroke:"currentColor",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}},{tag:"path",attr:{d:"M4 4m0 2a2 2 0 0 1 2 -2h12a2 2 0 0 1 2 2v12a2 2 0 0 1 -2 2h-12a2 2 0 0 1 -2 -2z"}},{tag:"path",attr:{d:"M12 4l0 16"}}]})(t)}function te(t){return e({tag:"svg",attr:{viewBox:"0 0 24 24",strokeWidth:"2",stroke:"currentColor",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}},{tag:"path",attr:{d:"M4 4m0 1a1 1 0 0 1 1 -1h4a1 1 0 0 1 1 1v4a1 1 0 0 1 -1 1h-4a1 1 0 0 1 -1 -1z"}},{tag:"path",attr:{d:"M14 4m0 1a1 1 0 0 1 1 -1h4a1 1 0 0 1 1 1v4a1 1 0 0 1 -1 1h-4a1 1 0 0 1 -1 -1z"}},{tag:"path",attr:{d:"M4 14m0 1a1 1 0 0 1 1 -1h4a1 1 0 0 1 1 1v4a1 1 0 0 1 -1 1h-4a1 1 0 0 1 -1 -1z"}},{tag:"path",attr:{d:"M14 14m0 1a1 1 0 0 1 1 -1h4a1 1 0 0 1 1 1v4a1 1 0 0 1 -1 1h-4a1 1 0 0 1 -1 -1z"}}]})(t)}function re(t){return e({tag:"svg",attr:{viewBox:"0 0 24 24",strokeWidth:"2",stroke:"currentColor",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}},{tag:"path",attr:{d:"M4 4m0 2a2 2 0 0 1 2 -2h12a2 2 0 0 1 2 2v12a2 2 0 0 1 -2 2h-12a2 2 0 0 1 -2 -2z"}},{tag:"path",attr:{d:"M4 12l16 0"}}]})(t)}function ee(t){return e({tag:"svg",attr:{viewBox:"0 0 24 24",strokeWidth:"2",stroke:"currentColor",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}},{tag:"path",attr:{d:"M9 15l3 -3m2 -2l1 -1"}},{tag:"path",attr:{d:"M11 6l.463 -.536a5 5 0 0 1 7.071 7.072l-.534 .464"}},{tag:"path",attr:{d:"M3 3l18 18"}},{tag:"path",attr:{d:"M13 18l-.397 .534a5.068 5.068 0 0 1 -7.127 0a4.972 4.972 0 0 1 0 -7.071l.524 -.463"}}]})(t)}function ae(t){return e({tag:"svg",attr:{viewBox:"0 0 24 24",strokeWidth:"2",stroke:"currentColor",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}},{tag:"path",attr:{d:"M9 15l6 -6"}},{tag:"path",attr:{d:"M11 6l.463 -.536a5 5 0 0 1 7.071 7.072l-.534 .464"}},{tag:"path",attr:{d:"M13 18l-.397 .534a5.068 5.068 0 0 1 -7.127 0a4.972 4.972 0 0 1 0 -7.071l.524 -.463"}}]})(t)}function ne(t){return e({tag:"svg",attr:{viewBox:"0 0 24 24",strokeWidth:"2",stroke:"currentColor",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}},{tag:"path",attr:{d:"M11 6h9"}},{tag:"path",attr:{d:"M11 12h9"}},{tag:"path",attr:{d:"M12 18h8"}},{tag:"path",attr:{d:"M4 16a2 2 0 1 1 4 0c0 .591 -.5 1 -1 1.5l-3 2.5h4"}},{tag:"path",attr:{d:"M6 10v-6l-2 2"}}]})(t)}function oe(t){return e({tag:"svg",attr:{viewBox:"0 0 24 24",strokeWidth:"2",stroke:"currentColor",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}},{tag:"path",attr:{d:"M9 6l11 0"}},{tag:"path",attr:{d:"M9 12l11 0"}},{tag:"path",attr:{d:"M9 18l11 0"}},{tag:"path",attr:{d:"M5 6l0 .01"}},{tag:"path",attr:{d:"M5 12l0 .01"}},{tag:"path",attr:{d:"M5 18l0 .01"}}]})(t)}function ie(t){return e({tag:"svg",attr:{viewBox:"0 0 24 24",strokeWidth:"2",stroke:"currentColor",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}},{tag:"path",attr:{d:"M12 3a9 9 0 1 0 9 9"}}]})(t)}function le(t){return e({tag:"svg",attr:{viewBox:"0 0 24 24",strokeWidth:"2",stroke:"currentColor",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}},{tag:"path",attr:{d:"M5 11m0 2a2 2 0 0 1 2 -2h10a2 2 0 0 1 2 2v6a2 2 0 0 1 -2 2h-10a2 2 0 0 1 -2 -2z"}},{tag:"path",attr:{d:"M12 16m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"}},{tag:"path",attr:{d:"M8 11v-5a4 4 0 0 1 8 0"}}]})(t)}function se(t){return e({tag:"svg",attr:{viewBox:"0 0 24 24",strokeWidth:"2",stroke:"currentColor",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}},{tag:"path",attr:{d:"M5 13a2 2 0 0 1 2 -2h10a2 2 0 0 1 2 2v6a2 2 0 0 1 -2 2h-10a2 2 0 0 1 -2 -2v-6z"}},{tag:"path",attr:{d:"M11 16a1 1 0 1 0 2 0a1 1 0 0 0 -2 0"}},{tag:"path",attr:{d:"M8 11v-4a4 4 0 1 1 8 0v4"}}]})(t)}function de(t){return e({tag:"svg",attr:{viewBox:"0 0 24 24",strokeWidth:"2",stroke:"currentColor",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}},{tag:"path",attr:{d:"M9 11a3 3 0 1 0 6 0a3 3 0 0 0 -6 0"}},{tag:"path",attr:{d:"M17.657 16.657l-4.243 4.243a2 2 0 0 1 -2.827 0l-4.244 -4.243a8 8 0 1 1 11.314 0z"}}]})(t)}function he(t){return e({tag:"svg",attr:{viewBox:"0 0 24 24",strokeWidth:"2",stroke:"currentColor",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}},{tag:"path",attr:{d:"M3 20l1.3 -3.9c-2.324 -3.437 -1.426 -7.872 2.1 -10.374c3.526 -2.501 8.59 -2.296 11.845 .48c3.255 2.777 3.695 7.266 1.029 10.501c-2.666 3.235 -7.615 4.215 -11.574 2.293l-4.7 1"}}]})(t)}function ce(t){return e({tag:"svg",attr:{viewBox:"0 0 24 24",strokeWidth:"2",stroke:"currentColor",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}},{tag:"path",attr:{d:"M5 12l14 0"}}]})(t)}function ue(t){return e({tag:"svg",attr:{viewBox:"0 0 24 24",strokeWidth:"2",stroke:"currentColor",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}},{tag:"path",attr:{d:"M12 3c.132 0 .263 0 .393 0a7.5 7.5 0 0 0 7.92 12.446a9 9 0 1 1 -8.313 -12.454z"}}]})(t)}function pe(t){return e({tag:"svg",attr:{viewBox:"0 0 24 24",strokeWidth:"2",stroke:"currentColor",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}},{tag:"path",attr:{d:"M4 4m0 2a2 2 0 0 1 2 -2h12a2 2 0 0 1 2 2v12a2 2 0 0 1 -2 2h-12a2 2 0 0 1 -2 -2z"}},{tag:"path",attr:{d:"M8 4l0 16"}},{tag:"path",attr:{d:"M16 4l0 16"}},{tag:"path",attr:{d:"M4 8l4 0"}},{tag:"path",attr:{d:"M4 16l4 0"}},{tag:"path",attr:{d:"M4 12l16 0"}},{tag:"path",attr:{d:"M16 8l4 0"}},{tag:"path",attr:{d:"M16 16l4 0"}}]})(t)}function ge(t){return e({tag:"svg",attr:{viewBox:"0 0 24 24",strokeWidth:"2",stroke:"currentColor",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}},{tag:"path",attr:{d:"M13 20l7 -7"}},{tag:"path",attr:{d:"M13 20v-6a1 1 0 0 1 1 -1h6v-7a2 2 0 0 0 -2 -2h-12a2 2 0 0 0 -2 2v12a2 2 0 0 0 2 2h7"}}]})(t)}function fe(t){return e({tag:"svg",attr:{viewBox:"0 0 24 24",strokeWidth:"2",stroke:"currentColor",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}},{tag:"path",attr:{d:"M4 20h4l10.5 -10.5a2.828 2.828 0 1 0 -4 -4l-10.5 10.5v4"}},{tag:"path",attr:{d:"M13.5 6.5l4 4"}}]})(t)}function ve(t){return e({tag:"svg",attr:{viewBox:"0 0 24 24",strokeWidth:"2",stroke:"currentColor",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}},{tag:"path",attr:{d:"M6 5m0 1a1 1 0 0 1 1 -1h2a1 1 0 0 1 1 1v12a1 1 0 0 1 -1 1h-2a1 1 0 0 1 -1 -1z"}},{tag:"path",attr:{d:"M14 5m0 1a1 1 0 0 1 1 -1h2a1 1 0 0 1 1 1v12a1 1 0 0 1 -1 1h-2a1 1 0 0 1 -1 -1z"}}]})(t)}function ke(t){return e({tag:"svg",attr:{viewBox:"0 0 24 24",strokeWidth:"2",stroke:"currentColor",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}},{tag:"path",attr:{d:"M7 4v16l13 -8z"}}]})(t)}function Me(t){return e({tag:"svg",attr:{viewBox:"0 0 24 24",strokeWidth:"2",stroke:"currentColor",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}},{tag:"path",attr:{d:"M20 5v14l-12 -7z"}},{tag:"path",attr:{d:"M4 5l0 14"}}]})(t)}function me(t){return e({tag:"svg",attr:{viewBox:"0 0 24 24",strokeWidth:"2",stroke:"currentColor",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}},{tag:"path",attr:{d:"M4 5v14l12 -7z"}},{tag:"path",attr:{d:"M20 5l0 14"}}]})(t)}function xe(t){return e({tag:"svg",attr:{viewBox:"0 0 24 24",strokeWidth:"2",stroke:"currentColor",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}},{tag:"path",attr:{d:"M5 5m0 2a2 2 0 0 1 2 -2h10a2 2 0 0 1 2 2v10a2 2 0 0 1 -2 2h-10a2 2 0 0 1 -2 -2z"}}]})(t)}function je(t){return e({tag:"svg",attr:{viewBox:"0 0 24 24",strokeWidth:"2",stroke:"currentColor",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}},{tag:"path",attr:{d:"M3 5v14l8 -7z"}},{tag:"path",attr:{d:"M14 5v14l8 -7z"}}]})(t)}function we(t){return e({tag:"svg",attr:{viewBox:"0 0 24 24",strokeWidth:"2",stroke:"currentColor",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}},{tag:"path",attr:{d:"M21 5v14l-8 -7z"}},{tag:"path",attr:{d:"M10 5v14l-8 -7z"}}]})(t)}function Le(t){return e({tag:"svg",attr:{viewBox:"0 0 24 24",strokeWidth:"2",stroke:"currentColor",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}},{tag:"path",attr:{d:"M12 5l0 14"}},{tag:"path",attr:{d:"M5 12l14 0"}}]})(t)}function be(t){return e({tag:"svg",attr:{viewBox:"0 0 24 24",strokeWidth:"2",stroke:"currentColor",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}},{tag:"path",attr:{d:"M8 8a3.5 3 0 0 1 3.5 -3h1a3.5 3 0 0 1 3.5 3a3 3 0 0 1 -2 3a3 4 0 0 0 -2 4"}},{tag:"path",attr:{d:"M12 19l0 .01"}}]})(t)}function Ce(t){return e({tag:"svg",attr:{viewBox:"0 0 24 24",strokeWidth:"2",stroke:"currentColor",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}},{tag:"path",attr:{d:"M20 11a8.1 8.1 0 0 0 -15.5 -2m-.5 -4v4h4"}},{tag:"path",attr:{d:"M4 13a8.1 8.1 0 0 0 15.5 2m.5 4v-4h-4"}}]})(t)}function ze(t){return e({tag:"svg",attr:{viewBox:"0 0 24 24",strokeWidth:"2",stroke:"currentColor",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}},{tag:"path",attr:{d:"M19.933 13.041a8 8 0 1 1 -9.925 -8.788c3.899 -1 7.935 1.007 9.425 4.747"}},{tag:"path",attr:{d:"M20 4v5h-5"}}]})(t)}function ye(t){return e({tag:"svg",attr:{viewBox:"0 0 24 24",strokeWidth:"2",stroke:"currentColor",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}},{tag:"path",attr:{d:"M19.95 11a8 8 0 1 0 -.5 4m.5 5v-5h-5"}}]})(t)}function Te(t){return e({tag:"svg",attr:{viewBox:"0 0 24 24",strokeWidth:"2",stroke:"currentColor",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}},{tag:"path",attr:{d:"M20 6v4a1 1 0 0 1 -1 1h-14a1 1 0 0 1 -1 -1v-4a1 1 0 0 1 1 -1h14a1 1 0 0 1 1 1z"}},{tag:"path",attr:{d:"M12 15l0 4"}},{tag:"path",attr:{d:"M14 17l-4 0"}}]})(t)}function He(t){return e({tag:"svg",attr:{viewBox:"0 0 24 24",strokeWidth:"2",stroke:"currentColor",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}},{tag:"path",attr:{d:"M4 18v-4a1 1 0 0 1 1 -1h14a1 1 0 0 1 1 1v4a1 1 0 0 1 -1 1h-14a1 1 0 0 1 -1 -1z"}},{tag:"path",attr:{d:"M12 9v-4"}},{tag:"path",attr:{d:"M10 7l4 0"}}]})(t)}function We(t){return e({tag:"svg",attr:{viewBox:"0 0 24 24",strokeWidth:"2",stroke:"currentColor",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}},{tag:"path",attr:{d:"M19.875 8c.621 0 1.125 .512 1.125 1.143v5.714c0 .631 -.504 1.143 -1.125 1.143h-15.875a1 1 0 0 1 -1 -1v-5.857c0 -.631 .504 -1.143 1.125 -1.143h15.75z"}},{tag:"path",attr:{d:"M9 8v2"}},{tag:"path",attr:{d:"M6 8v3"}},{tag:"path",attr:{d:"M12 8v3"}},{tag:"path",attr:{d:"M18 8v3"}},{tag:"path",attr:{d:"M15 8v2"}}]})(t)}function Be(t){return e({tag:"svg",attr:{viewBox:"0 0 24 24",strokeWidth:"2",stroke:"currentColor",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}},{tag:"path",attr:{d:"M7 20l10 0"}},{tag:"path",attr:{d:"M6 6l6 -1l6 1"}},{tag:"path",attr:{d:"M12 3l0 17"}},{tag:"path",attr:{d:"M9 12l-3 -6l-3 6a3 3 0 0 0 6 0"}},{tag:"path",attr:{d:"M21 12l-3 -6l-3 6a3 3 0 0 0 6 0"}}]})(t)}function Se(t){return e({tag:"svg",attr:{viewBox:"0 0 24 24",strokeWidth:"2",stroke:"currentColor",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}},{tag:"path",attr:{d:"M10 10m-7 0a7 7 0 1 0 14 0a7 7 0 1 0 -14 0"}},{tag:"path",attr:{d:"M21 21l-6 -6"}}]})(t)}function Ee(t){return e({tag:"svg",attr:{viewBox:"0 0 24 24",strokeWidth:"2",stroke:"currentColor",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}},{tag:"path",attr:{d:"M3 4m0 3a3 3 0 0 1 3 -3h12a3 3 0 0 1 3 3v2a3 3 0 0 1 -3 3h-12a3 3 0 0 1 -3 -3z"}},{tag:"path",attr:{d:"M3 12m0 3a3 3 0 0 1 3 -3h12a3 3 0 0 1 3 3v2a3 3 0 0 1 -3 3h-12a3 3 0 0 1 -3 -3z"}},{tag:"path",attr:{d:"M7 8l0 .01"}},{tag:"path",attr:{d:"M7 16l0 .01"}}]})(t)}function Ae(t){return e({tag:"svg",attr:{viewBox:"0 0 24 24",strokeWidth:"2",stroke:"currentColor",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}},{tag:"path",attr:{d:"M10.325 4.317c.426 -1.756 2.924 -1.756 3.35 0a1.724 1.724 0 0 0 2.573 1.066c1.543 -.94 3.31 .826 2.37 2.37a1.724 1.724 0 0 0 1.065 2.572c1.756 .426 1.756 2.924 0 3.35a1.724 1.724 0 0 0 -1.066 2.573c.94 1.543 -.826 3.31 -2.37 2.37a1.724 1.724 0 0 0 -2.572 1.065c-.426 1.756 -2.924 1.756 -3.35 0a1.724 1.724 0 0 0 -2.573 -1.066c-1.543 .94 -3.31 -.826 -2.37 -2.37a1.724 1.724 0 0 0 -1.065 -2.572c-1.756 -.426 -1.756 -2.924 0 -3.35a1.724 1.724 0 0 0 1.066 -2.573c-.94 -1.543 .826 -3.31 2.37 -2.37c1 .608 2.296 .07 2.572 -1.065z"}},{tag:"path",attr:{d:"M9 12a3 3 0 1 0 6 0a3 3 0 0 0 -6 0"}}]})(t)}function Re(t){return e({tag:"svg",attr:{viewBox:"0 0 24 24",strokeWidth:"2",stroke:"currentColor",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}},{tag:"path",attr:{d:"M4 6l7 0"}},{tag:"path",attr:{d:"M4 12l7 0"}},{tag:"path",attr:{d:"M4 18l9 0"}},{tag:"path",attr:{d:"M15 9l3 -3l3 3"}},{tag:"path",attr:{d:"M18 6l0 12"}}]})(t)}function _e(t){return e({tag:"svg",attr:{viewBox:"0 0 24 24",strokeWidth:"2",stroke:"currentColor",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}},{tag:"path",attr:{d:"M4 6l9 0"}},{tag:"path",attr:{d:"M4 12l7 0"}},{tag:"path",attr:{d:"M4 18l7 0"}},{tag:"path",attr:{d:"M15 15l3 3l3 -3"}},{tag:"path",attr:{d:"M18 6l0 12"}}]})(t)}function Ie(t){return e({tag:"svg",attr:{viewBox:"0 0 24 24",strokeWidth:"2",stroke:"currentColor",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}},{tag:"path",attr:{d:"M3 3m0 2a2 2 0 0 1 2 -2h14a2 2 0 0 1 2 2v14a2 2 0 0 1 -2 2h-14a2 2 0 0 1 -2 -2z"}}]})(t)}function qe(t){return e({tag:"svg",attr:{viewBox:"0 0 24 24",strokeWidth:"2",stroke:"currentColor",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}},{tag:"path",attr:{d:"M12 17.75l-6.172 3.245l1.179 -6.873l-5 -4.867l6.9 -1l3.086 -6.253l3.086 6.253l6.9 1l-5 4.867l1.179 6.873z"}}]})(t)}function Ve(t){return e({tag:"svg",attr:{viewBox:"0 0 24 24",strokeWidth:"2",stroke:"currentColor",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}},{tag:"path",attr:{d:"M12 12m-4 0a4 4 0 1 0 8 0a4 4 0 1 0 -8 0"}},{tag:"path",attr:{d:"M3 12h1m8 -9v1m8 8h1m-9 8v1m-6.4 -15.4l.7 .7m12.1 -.7l-.7 .7m0 11.4l.7 .7m-12.1 -.7l-.7 .7"}}]})(t)}function Ne(t){return e({tag:"svg",attr:{viewBox:"0 0 24 24",strokeWidth:"2",stroke:"currentColor",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}},{tag:"path",attr:{d:"M3 5a2 2 0 0 1 2 -2h14a2 2 0 0 1 2 2v14a2 2 0 0 1 -2 2h-14a2 2 0 0 1 -2 -2v-14z"}},{tag:"path",attr:{d:"M3 10h18"}},{tag:"path",attr:{d:"M10 3v18"}}]})(t)}function Ge(t){return e({tag:"svg",attr:{viewBox:"0 0 24 24",strokeWidth:"2",stroke:"currentColor",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}},{tag:"path",attr:{d:"M12 12m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"}},{tag:"path",attr:{d:"M12 12m-5 0a5 5 0 1 0 10 0a5 5 0 1 0 -10 0"}},{tag:"path",attr:{d:"M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0"}}]})(t)}function Oe(t){return e({tag:"svg",attr:{viewBox:"0 0 24 24",strokeWidth:"2",stroke:"currentColor",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}},{tag:"path",attr:{d:"M4 7l16 0"}},{tag:"path",attr:{d:"M10 11l0 6"}},{tag:"path",attr:{d:"M14 11l0 6"}},{tag:"path",attr:{d:"M5 7l1 12a2 2 0 0 0 2 2h8a2 2 0 0 0 2 -2l1 -12"}},{tag:"path",attr:{d:"M9 7v-3a1 1 0 0 1 1 -1h4a1 1 0 0 1 1 1v3"}}]})(t)}function Pe(t){return e({tag:"svg",attr:{viewBox:"0 0 24 24",strokeWidth:"2",stroke:"currentColor",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}},{tag:"path",attr:{d:"M4 17v2a2 2 0 0 0 2 2h12a2 2 0 0 0 2 -2v-2"}},{tag:"path",attr:{d:"M7 9l5 -5l5 5"}},{tag:"path",attr:{d:"M12 4l0 12"}}]})(t)}function De(t){return e({tag:"svg",attr:{viewBox:"0 0 24 24",strokeWidth:"2",stroke:"currentColor",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}},{tag:"path",attr:{d:"M8 7a4 4 0 1 0 8 0a4 4 0 0 0 -8 0"}},{tag:"path",attr:{d:"M6 21v-2a4 4 0 0 1 4 -4h4a4 4 0 0 1 4 4v2"}}]})(t)}function Ue(t){return e({tag:"svg",attr:{viewBox:"0 0 24 24",strokeWidth:"2",stroke:"currentColor",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}},{tag:"path",attr:{d:"M9 7m-4 0a4 4 0 1 0 8 0a4 4 0 1 0 -8 0"}},{tag:"path",attr:{d:"M3 21v-2a4 4 0 0 1 4 -4h4a4 4 0 0 1 4 4v2"}},{tag:"path",attr:{d:"M16 3.13a4 4 0 0 1 0 7.75"}},{tag:"path",attr:{d:"M21 21v-2a4 4 0 0 0 -3 -3.85"}}]})(t)}function Fe(t){return e({tag:"svg",attr:{viewBox:"0 0 24 24",strokeWidth:"2",stroke:"currentColor",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}},{tag:"path",attr:{d:"M18 6l-12 12"}},{tag:"path",attr:{d:"M6 6l12 12"}}]})(t)}function Xe(t){return e({tag:"svg",attr:{viewBox:"0 0 16 16",fill:"currentColor"},child:[{tag:"path",attr:{d:"M9 9H4v1h5V9z"}},{tag:"path",attr:{fillRule:"evenodd",clipRule:"evenodd",d:"M5 3l1-1h7l1 1v7l-1 1h-2v2l-1 1H3l-1-1V6l1-1h2V3zm1 2h4l1 1v4h2V3H6v2zm4 1H3v7h7V6z"}}]})(t)}function Qe(t){return e({tag:"svg",attr:{viewBox:"0 0 16 16",fill:"currentColor"},child:[{tag:"path",attr:{d:"M9 9H4v1h5V9z"}},{tag:"path",attr:{d:"M7 12V7H6v5h1z"}},{tag:"path",attr:{fillRule:"evenodd",clipRule:"evenodd",d:"M5 3l1-1h7l1 1v7l-1 1h-2v2l-1 1H3l-1-1V6l1-1h2V3zm1 2h4l1 1v4h2V3H6v2zm4 1H3v7h7V6z"}}]})(t)}function Ze(t){return e({tag:"svg",attr:{viewBox:"0 0 1024 1024"},child:[{tag:"path",attr:{d:"M328 544h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attr:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]})(t)}function $e(t){return e({tag:"svg",attr:{viewBox:"0 0 1024 1024"},child:[{tag:"path",attr:{d:"M328 544h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attr:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]})(t)}const la=["add","plus","add above","add below","arrow down","down","arrow left","left","arrow right","right","arrow up","up","bold","book","library","camera","clear","close","times","chart","chart line","chart bar","chart pie","chat","check","checkmark","chevron up","chevron down","chevron left","chevron right","chevron double left","chevron double right","clock","clone","duplicate","code","collapse","collapse all","company","compare","copy","delete","trash","depth","download","export","drag","edit","pencil","rename","electricity","error","exclamation","expand","expand all","external","fast forward","fast backward","file","filter","focus","folder","folder search","fork","gauge","help","hide","indent","info","italic","key","laptop","layout columns","columns","layout grid","grid","layout rows","rows","layout single","square","link","list","legend","ul","list numbers","ol","location","lock","maximize","menu","minimize","minus","moon","move","note","notification","bell","paste","pause","play","question","redo","rotate","rotate right","refresh","sync","save","scale","search","server","settings","show","eye","sort","sort descending","sort down","sort amount down","sort ascending","sort up","sort amount up","spinner","split","star","step backward","step forward","stop","success","sun","table","target","undo","rotate left","unfilter","unlink","unlock","upload","import","user","users","group","video","warning","alert","water","droplet"],tt=({icon:t})=>{switch(t){case"add":case"plus":return r.jsx(Le,{});case"add above":return r.jsx(He,{});case"add below":return r.jsx(Te,{});case"arrow down":case"down":return r.jsx(Yt,{});case"arrow left":case"left":return r.jsx(Jt,{});case"arrow right":case"right":return r.jsx(tr,{});case"arrow up":case"up":return r.jsx(rr,{});case"bold":return r.jsx(sr,{});case"book":case"library":return r.jsx(hr,{});case"camera":return r.jsx(ur,{});case"close":case"clear":case"times":return r.jsx(Fe,{});case"chart":case"chart line":return r.jsx(gr,{});case"chart bar":return r.jsx(pr,{});case"chart pie":return r.jsx(fr,{});case"chat":return r.jsx(he,{});case"check":case"checkmark":return r.jsx(vr,{});case"chevron up":return r.jsx(xr,{});case"chevron down":return r.jsx(kr,{});case"chevron left":return r.jsx(Mr,{});case"chevron right":return r.jsx(mr,{});case"chevron double left":return r.jsx(jr,{});case"chevron double right":return r.jsx(wr,{});case"clock":return r.jsx(yr,{});case"clone":case"copy":case"duplicate":return r.jsx(Hr,{});case"code":return r.jsx(Tr,{});case"collapse":return r.jsx(Ze,{});case"collapse all":return r.jsx(Xe,{});case"company":return r.jsx(cr,{});case"compare":return r.jsx(Be,{});case"delete":case"trash":return r.jsx(Oe,{});case"depth":return r.jsx(We,{style:{transform:"rotate(-90deg)"}});case"download":case"export":return r.jsx(Ar,{});case"drag":return r.jsx(Qr,{});case"edit":case"pencil":case"rename":return r.jsx(fe,{});case"electricity":return r.jsx(dr,{});case"error":return r.jsx(br,{});case"exclamation":return r.jsx(_r,{});case"expand":return r.jsx($e,{});case"expand all":return r.jsx(Qe,{});case"external":return r.jsx(Ir,{});case"fast forward":return r.jsx(je,{});case"fast backward":return r.jsx(we,{});case"file":return r.jsx(Nr,{});case"filter":return r.jsx(Or,{});case"focus":return r.jsx(Pr,{});case"folder":return r.jsx(Ur,{});case"folder search":return r.jsx(Dr,{});case"fork":return r.jsx(Xr,{});case"gauge":return r.jsx(Fr,{});case"help":return r.jsx(Zr,{});case"hide":return r.jsx(qr,{});case"indent":return r.jsx(Wr,{});case"info":return r.jsx($r,{});case"italic":return r.jsx(Kr,{});case"key":return r.jsx(Yr,{});case"laptop":return r.jsx(Sr,{});case"layout columns":case"columns":return r.jsx(Jr,{});case"layout grid":case"grid":return r.jsx(te,{});case"layout rows":case"rows":return r.jsx(re,{});case"layout single":case"square":return r.jsx(Ie,{});case"link":return r.jsx(ae,{});case"list":case"legend":case"ul":return r.jsx(oe,{});case"list numbers":case"ol":return r.jsx(ne,{});case"location":return r.jsx(de,{});case"lock":return r.jsx(se,{});case"maximize":return r.jsx(ar,{});case"menu":return r.jsx(Er,{});case"minimize":return r.jsx(nr,{});case"minus":return r.jsx(ce,{});case"moon":return r.jsx(ue,{});case"move":return r.jsx(or,{});case"note":return r.jsx(ge,{});case"notification":case"bell":return r.jsx(lr,{});case"paste":return r.jsx(zr,{});case"pause":return r.jsx(ve,{});case"play":return r.jsx(ke,{});case"question":return r.jsx(be,{});case"redo":case"rotate":case"rotate right":return r.jsx(ze,{});case"refresh":case"sync":return r.jsx(Ce,{});case"save":return r.jsx(Br,{});case"scale":return r.jsx(er,{});case"search":return r.jsx(Se,{});case"server":return r.jsx(Ee,{});case"settings":return r.jsx(Ae,{});case"show":case"eye":return r.jsx(Vr,{});case"sort":case"sort descending":case"sort down":case"sort amount down":return r.jsx(_e,{});case"sort ascending":case"sort up":case"sort amount up":return r.jsx(Re,{});case"spinner":return r.jsx(ie,{});case"split":return r.jsx(ir,{});case"star":return r.jsx(qe,{});case"step backward":return r.jsx(Me,{});case"step forward":return r.jsx(me,{});case"stop":return r.jsx(xe,{});case"success":return r.jsx(Lr,{});case"sun":return r.jsx(Ve,{});case"table":return r.jsx(Ne,{});case"target":return r.jsx(Ge,{});case"undo":case"rotate left":return r.jsx(ye,{});case"unfilter":return r.jsx(Gr,{});case"unlink":return r.jsx(ee,{});case"unlock":return r.jsx(le,{});case"upload":case"import":return r.jsx(Pe,{});case"user":return r.jsx(De,{});case"users":case"group":return r.jsx(Ue,{});case"video":return r.jsx(pe,{});case"warning":case"alert":return r.jsx(Kt,{});case"water":case"droplet":return r.jsx(Rr,{});case"":return null;default:return r.jsx(Cr,{})}};try{tt.displayName="NamedIcon",tt.__docgenInfo={description:"",displayName:"NamedIcon",props:{icon:{defaultValue:null,description:"",name:"icon",required:!0,type:{name:"string"}}}}}catch{}const ut=({icon:t,onClick:a,clickable:i=!1,color:o,size:n,testId:l})=>{const s=V.useContext(yt),d={color:o,fill:o,fontSize:n||"inherit",width:n||"auto",height:n||"auto"};return r.jsx("div",{className:Ct(D.wrapper,(i||a)&&!s?D.clickable:""),style:d,onClick:h=>a&&!s?a(h):void 0,"data-testid":l,children:V.isValidElement(t)?t:typeof t=="string"&&(t.includes(".svg")||t.includes("image/svg"))?r.jsx(rt,{className:D.customSvg,beforeInjection:h=>{n&&(h.setAttribute("width",String(n)),h.setAttribute("height",String(n)))},src:t}):typeof t=="string"&&(t.includes(".png")||t.includes("image/png"))?r.jsx("img",{alt:"icon",className:D.customPng,src:t}):typeof t=="string"?r.jsx(tt,{icon:t}):null})};try{ut.displayName="Icon",ut.__docgenInfo={description:`Icon wrapper component to support different icon formats:
6
- - string names (default recommendation)
7
- - react-icons
8
- - SVG (for special cases)`,displayName:"Icon",props:{icon:{defaultValue:null,description:"",name:"icon",required:!0,type:{name:"ReactNode"}},onClick:{defaultValue:null,description:"",name:"onClick",required:!1,type:{name:"MouseEventHandler<HTMLDivElement>"}},clickable:{defaultValue:{value:"false"},description:"",name:"clickable",required:!1,type:{name:"boolean"}},color:{defaultValue:null,description:"",name:"color",required:!1,type:{name:"string"}},size:{defaultValue:null,description:"",name:"size",required:!1,type:{name:"TStringOrNumber"}},testId:{defaultValue:null,description:"",name:"testId",required:!1,type:{name:"string"}}}}}catch{}export{e as G,ut as I,Ur as T,Tt as _,ia as a,la as i};