nfx-ui 0.6.2 → 0.6.3

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 (98) hide show
  1. package/dist/animations.cjs +2 -2
  2. package/dist/animations.d.ts +0 -29
  3. package/dist/animations.mjs +9 -11
  4. package/dist/apis.cjs +2 -2
  5. package/dist/apis.cjs.map +1 -1
  6. package/dist/apis.mjs +8 -9
  7. package/dist/apis.mjs.map +1 -1
  8. package/dist/{chunk-BounceLoading-B54QEw0n.mjs → chunk-BounceLoading-C5XE8DKc.mjs} +62 -65
  9. package/dist/{chunk-BounceLoading-B54QEw0n.mjs.map → chunk-BounceLoading-C5XE8DKc.mjs.map} +1 -1
  10. package/dist/chunk-BounceLoading-CwvDT5HF.cjs +11 -0
  11. package/dist/{chunk-BounceLoading-C6n4BZVJ.cjs.map → chunk-BounceLoading-CwvDT5HF.cjs.map} +1 -1
  12. package/dist/chunk-animations-CEZ01ALd.mjs +740 -0
  13. package/dist/chunk-animations-CEZ01ALd.mjs.map +1 -0
  14. package/dist/chunk-animations-CO7zKbti.cjs +3 -0
  15. package/dist/chunk-animations-CO7zKbti.cjs.map +1 -0
  16. package/dist/chunk-i18n-BCDF-skF.cjs +3 -0
  17. package/dist/{chunk-i18n-daHSL0Nm.cjs.map → chunk-i18n-BCDF-skF.cjs.map} +1 -1
  18. package/dist/{chunk-i18n-BBPhh6MT.mjs → chunk-i18n-BsyWvA9c.mjs} +44 -69
  19. package/dist/{chunk-i18n-BBPhh6MT.mjs.map → chunk-i18n-BsyWvA9c.mjs.map} +1 -1
  20. package/dist/{chunk-types-SD4MzUGp.mjs → chunk-language-B8sfGadQ.mjs} +2 -2
  21. package/dist/chunk-language-B8sfGadQ.mjs.map +1 -0
  22. package/dist/{chunk-types-BE3JCLff.cjs → chunk-language-Bqmpuf2W.cjs} +1 -1
  23. package/dist/chunk-language-Bqmpuf2W.cjs.map +1 -0
  24. package/dist/{chunk-types-DNPBKfmx.mjs → chunk-layout-C2uqDEMJ.mjs} +2 -2
  25. package/dist/chunk-layout-C2uqDEMJ.mjs.map +1 -0
  26. package/dist/{chunk-types-C_opkZGr.cjs → chunk-layout-D728gccQ.cjs} +1 -1
  27. package/dist/chunk-layout-D728gccQ.cjs.map +1 -0
  28. package/dist/{chunk-lucide-BhgnmTNo.mjs → chunk-lucide-C54WenI6.mjs} +2 -2
  29. package/dist/{chunk-lucide-BhgnmTNo.mjs.map → chunk-lucide-C54WenI6.mjs.map} +1 -1
  30. package/dist/chunk-preference-BWEpbZgC.mjs +50 -0
  31. package/dist/{chunk-preference-By58ZcJ_.mjs.map → chunk-preference-BWEpbZgC.mjs.map} +1 -1
  32. package/dist/chunk-preference-Dbugm0iQ.cjs +3 -0
  33. package/dist/{chunk-preference-C144GkCD.cjs.map → chunk-preference-Dbugm0iQ.cjs.map} +1 -1
  34. package/dist/chunk-theme-9dcwRKw8.mjs +17 -0
  35. package/dist/{chunk-types-BudGuDCK.mjs.map → chunk-theme-9dcwRKw8.mjs.map} +1 -1
  36. package/dist/chunk-theme-BFvDRCYS.cjs +3 -0
  37. package/dist/{chunk-types-BNUlgEkq.cjs.map → chunk-theme-BFvDRCYS.cjs.map} +1 -1
  38. package/dist/components.cjs +3 -3
  39. package/dist/components.cjs.map +1 -1
  40. package/dist/components.mjs +628 -642
  41. package/dist/components.mjs.map +1 -1
  42. package/dist/constants.cjs +1 -1
  43. package/dist/constants.mjs +1 -1
  44. package/dist/events.cjs +1 -1
  45. package/dist/events.mjs +1 -1
  46. package/dist/hooks.cjs +1 -1
  47. package/dist/hooks.mjs +1 -1
  48. package/dist/icons.cjs +2 -2
  49. package/dist/icons.mjs +2 -2
  50. package/dist/languages.cjs +2 -2
  51. package/dist/languages.cjs.map +1 -1
  52. package/dist/languages.mjs +4 -4
  53. package/dist/languages.mjs.map +1 -1
  54. package/dist/layouts.cjs +2 -2
  55. package/dist/layouts.cjs.map +1 -1
  56. package/dist/layouts.mjs +201 -210
  57. package/dist/layouts.mjs.map +1 -1
  58. package/dist/navigations.cjs +1 -1
  59. package/dist/navigations.mjs +1 -1
  60. package/dist/pixel-blast.cjs +192 -0
  61. package/dist/pixel-blast.cjs.map +1 -0
  62. package/dist/pixel-blast.d.ts +33 -0
  63. package/dist/pixel-blast.mjs +506 -0
  64. package/dist/pixel-blast.mjs.map +1 -0
  65. package/dist/preference.cjs +2 -2
  66. package/dist/preference.mjs +8 -11
  67. package/dist/services.cjs +2 -2
  68. package/dist/services.cjs.map +1 -1
  69. package/dist/services.mjs +9 -10
  70. package/dist/services.mjs.map +1 -1
  71. package/dist/stores.cjs +1 -1
  72. package/dist/stores.mjs +1 -1
  73. package/dist/themes.cjs +2 -2
  74. package/dist/themes.cjs.map +1 -1
  75. package/dist/themes.mjs +13 -17
  76. package/dist/themes.mjs.map +1 -1
  77. package/dist/types.cjs +1 -1
  78. package/dist/types.mjs +1 -1
  79. package/dist/utils.cjs +2 -2
  80. package/dist/utils.cjs.map +1 -1
  81. package/dist/utils.d.ts +0 -16
  82. package/dist/utils.mjs +143 -156
  83. package/dist/utils.mjs.map +1 -1
  84. package/package.json +20 -8
  85. package/dist/chunk-BounceLoading-C6n4BZVJ.cjs +0 -11
  86. package/dist/chunk-animations-Brp-bsaE.mjs +0 -1243
  87. package/dist/chunk-animations-Brp-bsaE.mjs.map +0 -1
  88. package/dist/chunk-animations-e2F3zuP9.cjs +0 -190
  89. package/dist/chunk-animations-e2F3zuP9.cjs.map +0 -1
  90. package/dist/chunk-i18n-daHSL0Nm.cjs +0 -3
  91. package/dist/chunk-preference-By58ZcJ_.mjs +0 -51
  92. package/dist/chunk-preference-C144GkCD.cjs +0 -3
  93. package/dist/chunk-types-BE3JCLff.cjs.map +0 -1
  94. package/dist/chunk-types-BNUlgEkq.cjs +0 -3
  95. package/dist/chunk-types-BudGuDCK.mjs +0 -20
  96. package/dist/chunk-types-C_opkZGr.cjs.map +0 -1
  97. package/dist/chunk-types-DNPBKfmx.mjs.map +0 -1
  98. package/dist/chunk-types-SD4MzUGp.mjs.map +0 -1
@@ -0,0 +1,33 @@
1
+ import { default as default_2 } from 'react';
2
+
3
+ declare const PixelBlastBackground: default_2.FC<Omit<PixelBlastProps, "color">>;
4
+ export default PixelBlastBackground;
5
+
6
+ declare type PixelBlastProps = {
7
+ variant?: PixelBlastVariant;
8
+ pixelSize?: number;
9
+ color?: string;
10
+ className?: string;
11
+ style?: default_2.CSSProperties;
12
+ antialias?: boolean;
13
+ patternScale?: number;
14
+ patternDensity?: number;
15
+ liquid?: boolean;
16
+ liquidStrength?: number;
17
+ liquidRadius?: number;
18
+ pixelSizeJitter?: number;
19
+ enableRipples?: boolean;
20
+ rippleIntensityScale?: number;
21
+ rippleThickness?: number;
22
+ rippleSpeed?: number;
23
+ liquidWobbleSpeed?: number;
24
+ autoPauseOffscreen?: boolean;
25
+ speed?: number;
26
+ transparent?: boolean;
27
+ edgeFade?: number;
28
+ noiseAmount?: number;
29
+ };
30
+
31
+ declare type PixelBlastVariant = "square" | "circle" | "triangle" | "diamond";
32
+
33
+ export { }
@@ -0,0 +1,506 @@
1
+ (function(){try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode(`.styles-module__loading___bgEAk{justify-content:center;align-items:center;display:inline-flex}.styles-module__loading___bgEAk svg polyline{fill:none;stroke-width:3px;stroke-linecap:round;stroke-linejoin:round}.styles-module__loading___bgEAk svg polyline.styles-module__back___XLPvD{fill:none;stroke:var(--color-primary-alpha,#ff4d5033)}.styles-module__loading___bgEAk svg polyline.styles-module__front___hSxig{fill:none;stroke:var(--color-primary,#ff4d4f);stroke-dasharray:48 144;stroke-dashoffset:192px;animation:1.4s linear infinite styles-module__dash_682___AQzo6}@keyframes styles-module__dash_682___AQzo6{72.5%{opacity:0}to{stroke-dashoffset:0}}.styles-module__loader___E7OIM{justify-content:center;align-items:center;width:fit-content;height:fit-content;display:flex}.styles-module__truckWrapper___Sk4zX{flex-direction:column;justify-content:flex-end;align-items:center;width:100%;height:100%;display:flex;position:relative;overflow-x:hidden}.styles-module__truckBody___j7w2C{width:65%;height:fit-content;margin-bottom:6px;animation:1s linear infinite styles-module__motion___IiNlW}@keyframes styles-module__motion___IiNlW{0%{transform:translateY(0)}50%{transform:translateY(3px)}to{transform:translateY(0)}}.styles-module__truckTires___4ncTl{justify-content:space-between;align-items:center;width:65%;height:fit-content;padding:0 10px 0 15px;display:flex;position:absolute;bottom:0}.styles-module__tiresvg___IBQcN{width:24px}.styles-module__road___sxx-E{background-color:var(--color-fg-heading);border-radius:3px;align-self:flex-end;width:100%;height:1.5px;position:relative;bottom:0}.styles-module__road___sxx-E:before{content:"";background-color:var(--color-fg-heading);border-left:10px solid var(--color-bg);border-radius:3px;width:20px;height:100%;animation:1.4s linear infinite styles-module__roadAnimation___yvrHP;position:absolute;right:-50%}.styles-module__road___sxx-E:after{content:"";background-color:var(--color-fg-heading);border-left:4px solid var(--color-bg);border-radius:3px;width:10px;height:100%;animation:1.4s linear infinite styles-module__roadAnimation___yvrHP;position:absolute;right:-65%}.styles-module__lampPost___okcN5{height:45%;animation:1.4s linear infinite styles-module__roadAnimation___yvrHP;position:absolute;bottom:0;right:-90%}@keyframes styles-module__roadAnimation___yvrHP{0%{transform:translate(0)}to{transform:translate(-350px)}}.styles-module__loader___pFUzL{justify-content:center;align-items:center;display:inline-flex;position:relative}.styles-module__loader___pFUzL:before{content:"";background:var(--color-primary);opacity:.3;border-radius:50%;width:100%;height:5px;animation:.5s linear infinite styles-module__shadow324___sutUe;position:absolute;top:calc(100% + 12px);left:0}.styles-module__loader___pFUzL:after{content:"";background:var(--color-primary);width:100%;height:100%;position:absolute;top:0;left:0}.styles-module__square___GKjhm:after{border-radius:4px;animation:.5s linear infinite styles-module__jump7456Square___Z-D9b}.styles-module__circle___bUpSN:after{border-radius:50%;animation:.5s linear infinite styles-module__jump7456Circle___2AfF7}@keyframes styles-module__jump7456Square___Z-D9b{15%{border-bottom-right-radius:3px}25%{transform:translateY(9px)rotate(22.5deg)}50%{border-bottom-right-radius:40px;transform:translateY(18px)scaleY(.9)rotate(45deg)}75%{transform:translateY(9px)rotate(67.5deg)}to{transform:translateY(0)rotate(90deg)}}@keyframes styles-module__jump7456Circle___2AfF7{15%{border-bottom-right-radius:50%}25%{transform:translateY(9px)rotate(22.5deg)}50%{border-bottom-right-radius:40px;transform:translateY(18px)scaleY(.9)rotate(45deg)}75%{transform:translateY(9px)rotate(67.5deg)}to{transform:translateY(0)rotate(90deg)}}@keyframes styles-module__shadow324___sutUe{0%,to{transform:scale(1)}50%{transform:scaleX(1.2)}}.style-module__waves___oR3u7{width:100%;height:100%;margin:0;padding:0;position:absolute;top:0;left:0;overflow:hidden}.style-module__waves___oR3u7:before{content:"";width:.5rem;height:.5rem;transform:translate3d(calc(var(--x) - 50%), calc(var(--y) - 50%), 0);will-change:transform;background:#160000;border-radius:50%;position:absolute;top:0;left:0}.style-module__wavesCanvas___zkhTC{width:100%;height:100%;display:block}.style-module__squaresCanvas___22kMc{border:none;width:100%;height:100%;display:block}.style-module__container___HkxIe{background-color:#000;width:100%;height:100%;position:relative;overflow:hidden}.style-module__canvas___MR9JX{width:100%;height:100%;display:block}.style-module__outerVignette___i75nw{pointer-events:none;background:radial-gradient(circle,#0000 60%,#000 100%);width:100%;height:100%;position:absolute;top:0;left:0}.style-module__centerVignette___n9uVG{pointer-events:none;background:radial-gradient(circle,#000c 0%,#0000 60%);width:100%;height:100%;position:absolute;top:0;left:0}.styles-module__button___RbliA{cursor:pointer;border:1px solid #0000;border-radius:.5rem;outline:none;justify-content:center;align-items:center;gap:.5rem;font-family:inherit;font-weight:500;transition:all .2s;display:inline-flex;position:relative}.styles-module__button___RbliA:focus-visible{outline:2px solid var(--color-primary);outline-offset:2px}.styles-module__button___RbliA:disabled{cursor:not-allowed;opacity:.6}.styles-module__button___RbliA.styles-module__small___yK0Yp{min-height:2rem;padding:.5rem 1rem;font-size:.8125rem}.styles-module__button___RbliA.styles-module__medium___eBTch{min-height:2.5rem;padding:.75rem 1.5rem;font-size:.875rem}.styles-module__button___RbliA.styles-module__large___pIZkl{min-height:3rem;padding:1rem 2rem;font-size:1rem}.styles-module__button___RbliA.styles-module__primary___qsZpA{background:var(--color-primary);border-color:var(--color-primary);color:var(--color-primary-fg,#fff)}.styles-module__button___RbliA.styles-module__primary___qsZpA:hover:not(:disabled){background:var(--color-primary-light);border-color:var(--color-primary-light);transform:translateY(-1px)}.styles-module__button___RbliA.styles-module__primary___qsZpA:active:not(:disabled){transform:translateY(0)}.styles-module__button___RbliA.styles-module__secondary___SCpPv{background:var(--color-bg-2);border-color:var(--color-border-4);color:var(--color-fg-text)}.styles-module__button___RbliA.styles-module__secondary___SCpPv:hover:not(:disabled){background:var(--color-bg-3);border-color:var(--color-primary)}.styles-module__button___RbliA.styles-module__outline___rrlk9{border-color:var(--color-border-4);color:var(--color-fg-text);background:0 0}.styles-module__button___RbliA.styles-module__outline___rrlk9:hover:not(:disabled){background:var(--color-bg-2);border-color:var(--color-primary)}.styles-module__button___RbliA.styles-module__ghost___QMoiH{color:var(--color-fg-text);background:0 0;border-color:#0000}.styles-module__button___RbliA.styles-module__ghost___QMoiH:hover:not(:disabled){background:var(--color-bg-2)}.styles-module__button___RbliA.styles-module__danger___MW-pg{background:var(--color-danger);border-color:var(--color-danger);color:#fff}.styles-module__button___RbliA.styles-module__danger___MW-pg:hover:not(:disabled){background:var(--color-danger-light);border-color:var(--color-danger-light);transform:translateY(-1px)}.styles-module__button___RbliA.styles-module__danger___MW-pg:active:not(:disabled){transform:translateY(0)}.styles-module__button___RbliA.styles-module__fullWidth___-dXBR{width:100%}.styles-module__button___RbliA.styles-module__loading___UWw6V{pointer-events:none}.styles-module__spinner___KpJ-L{border:2px solid;border-top-color:#0000;border-radius:50%;flex-shrink:0;width:1rem;height:1rem;animation:.6s linear infinite styles-module__spin___ntZKM}@keyframes styles-module__spin___ntZKM{to{transform:rotate(360deg)}}.styles-module__button___RbliA.styles-module__small___yK0Yp .styles-module__spinner___KpJ-L{border-width:1.5px;width:.875rem;height:.875rem}.styles-module__button___RbliA.styles-module__large___pIZkl .styles-module__spinner___KpJ-L{border-width:2.5px;width:1.25rem;height:1.25rem}.styles-module__content___oyZRO{align-items:center;display:flex}.styles-module__leftIcon___cDktv,.styles-module__rightIcon___1mpk0{flex-shrink:0;align-items:center;display:flex}.styles-module__leftIcon___cDktv{margin-right:-.25rem}.styles-module__rightIcon___1mpk0{margin-left:-.25rem}.styles-module__button___RbliA.styles-module__iconOnly___iOv-U{aspect-ratio:1;min-width:2.5rem;min-height:2.5rem;padding:0}.styles-module__button___RbliA.styles-module__iconOnly___iOv-U.styles-module__small___yK0Yp{min-width:2rem;min-height:2rem}.styles-module__button___RbliA.styles-module__iconOnly___iOv-U.styles-module__large___pIZkl{min-width:3rem;min-height:3rem}.styles-module__iconContainer___bwvE3{justify-content:center;align-items:center;width:100%;height:100%;display:flex}.styles-module__layout___WaGy9{flex-direction:column;justify-content:center;align-items:center;gap:.25rem;width:100%;display:flex}.styles-module__horizontal___lKpGq{justify-content:center;align-items:center;gap:.5rem;width:100%;display:flex}.styles-module__topIcon___bzw6s,.styles-module__bottomIcon___suPfa{flex-shrink:0;justify-content:center;align-items:center;display:flex}.styles-module__iconOnly___iOv-U .styles-module__iconContainer___bwvE3 .styles-module__leftIcon___cDktv,.styles-module__iconOnly___iOv-U .styles-module__iconContainer___bwvE3 .styles-module__rightIcon___1mpk0{margin:0}.Dropdown-module__dropdown___c9wIp{width:100%;display:inline-block;position:relative}.Dropdown-module__dropdownButton___suNh-{border:1px solid var(--color-separator);cursor:pointer;text-align:left;background:var(--color-bg-2);width:100%;color:var(--color-fg-text);border-radius:8px;outline:none;justify-content:space-between;align-items:center;padding:.75rem 2.5rem .75rem 1rem;font-family:inherit;font-size:1rem;font-weight:400;line-height:1.5rem;transition:all .2s ease-in-out;display:flex;position:relative}.Dropdown-module__dropdownButton___suNh-:hover:not(:disabled){border-color:var(--color-primary);background:var(--color-bg-1)}.Dropdown-module__dropdownButton___suNh-:focus{border-color:var(--color-primary);background:var(--color-bg-1);box-shadow:0 0 0 2px var(--color-primary-transparent)}.Dropdown-module__dropdownButton___suNh-.Dropdown-module__disabled___Rz0pX{cursor:not-allowed;opacity:.6;background:var(--color-bg-3)}.Dropdown-module__dropdownButton___suNh-.Dropdown-module__error___F7dDu{border-color:#ef4444}.Dropdown-module__buttonText___D2zxn{text-overflow:ellipsis;white-space:nowrap;flex:1;overflow:hidden}.Dropdown-module__chevronIcon___uyawp{color:var(--color-fg-highlight);flex-shrink:0;transition:transform .15s;position:absolute;right:1rem}.Dropdown-module__chevronIcon___uyawp.Dropdown-module__open___APoXd{transform:rotate(180deg)}.Dropdown-module__dropdownMenu___WJ-QO{background:var(--color-bg);border:1px solid var(--color-border-4);z-index:1000;border-radius:8px;min-width:100%;animation:.15s ease-out Dropdown-module__slideDown___sRCmO;position:absolute;top:calc(100% + .5rem);left:0;right:0;overflow:hidden;box-shadow:0 .5rem 1rem #0000002d}@keyframes Dropdown-module__slideDown___sRCmO{0%{opacity:0;transform:translateY(-.5rem)}to{opacity:1;transform:translateY(0)}}.Dropdown-module__optionsList___Be6RN{margin:0;padding:.5rem 0;list-style:none}.Dropdown-module__option___q-NgT{cursor:pointer;color:var(--color-fg-text);align-items:center;padding:.75rem 1rem;font-size:.875rem;transition:all .15s;display:flex}.Dropdown-module__option___q-NgT:hover{background-color:var(--color-bg-2)}.Dropdown-module__option___q-NgT.Dropdown-module__selected___-OTW-{background-color:var(--color-bg-3);color:var(--color-fg-highlight);font-weight:600}@media (width<=768px){.Dropdown-module__dropdownButton___suNh-{padding:.625rem 2.25rem .625rem .875rem;font-size:.875rem}.Dropdown-module__chevronIcon___uyawp{right:.875rem}.Dropdown-module__option___q-NgT{padding:.625rem .875rem;font-size:.8125rem}}.styles-module__wrapper___COeGm{flex-direction:column;gap:.5rem;display:flex}.styles-module__wrapper___COeGm.styles-module__fullWidth___lVU49{width:100%}.styles-module__label___gfOA7{color:var(--color-fg-heading);align-items:center;gap:.25rem;font-size:.875rem;font-weight:500;display:flex}.styles-module__required___-zOy5{color:var(--color-danger)}.styles-module__inputContainer___wXY53{align-items:center;width:100%;display:flex;position:relative}.styles-module__input___IZDc3{border:1px solid var(--color-border-4);background:var(--color-bg);width:100%;color:var(--color-fg-text);border-radius:.5rem;outline:none;font-family:inherit;font-size:.875rem;transition:all .2s}.styles-module__input___IZDc3[type=password]::-webkit-credentials-auto-fill-button{visibility:hidden!important;opacity:0!important;pointer-events:none!important;appearance:none!important;display:none!important;position:absolute!important;left:-9999px!important}.styles-module__input___IZDc3[type=password]::-webkit-strong-password-toggle-button{visibility:hidden!important;opacity:0!important;pointer-events:none!important;appearance:none!important;width:0!important;height:0!important;margin:0!important;padding:0!important;display:none!important;position:absolute!important;left:-9999px!important}.styles-module__input___IZDc3[type=password]::-ms-reveal{visibility:hidden!important;opacity:0!important;pointer-events:none!important;width:0!important;height:0!important;display:none!important;position:absolute!important;left:-9999px!important}.styles-module__input___IZDc3[type=password]::-ms-clear{visibility:hidden!important;opacity:0!important;pointer-events:none!important;width:0!important;height:0!important;display:none!important;position:absolute!important;left:-9999px!important}.styles-module__input___IZDc3:focus{border-color:var(--color-primary);box-shadow:0 0 0 3px rgba(var(--color-primary-rgb,102, 126, 234), .1)}.styles-module__input___IZDc3::placeholder{color:var(--color-fg-muted,var(--color-fg-text));opacity:.5}.styles-module__input___IZDc3.styles-module__small___cuGyE{padding:.5rem .75rem;font-size:.8125rem}.styles-module__input___IZDc3.styles-module__medium___JdDPu{padding:.75rem;font-size:.875rem}.styles-module__input___IZDc3.styles-module__large___fMmiG{padding:1rem;font-size:1rem}.styles-module__input___IZDc3.styles-module__default___-eZTG{background:var(--color-bg);border-color:var(--color-border-4)}.styles-module__input___IZDc3.styles-module__filled___EQ5PQ{background:var(--color-bg-2);border-color:var(--color-border-3)}.styles-module__inputContainer___wXY53.styles-module__withLeftIcon___NFn6- .styles-module__input___IZDc3{padding-left:2.5rem}.styles-module__inputContainer___wXY53.styles-module__withRightIcon___mz-hn .styles-module__input___IZDc3{padding-right:2.5rem}.styles-module__inputContainer___wXY53.styles-module__withLeftIcon___NFn6- .styles-module__input___IZDc3.styles-module__small___cuGyE{padding-left:2rem}.styles-module__inputContainer___wXY53.styles-module__withRightIcon___mz-hn .styles-module__input___IZDc3.styles-module__small___cuGyE{padding-right:2rem}.styles-module__inputContainer___wXY53.styles-module__withLeftIcon___NFn6- .styles-module__input___IZDc3.styles-module__large___fMmiG{padding-left:3rem}.styles-module__inputContainer___wXY53.styles-module__withRightIcon___mz-hn .styles-module__input___IZDc3.styles-module__large___fMmiG{padding-right:3rem}.styles-module__leftIcon___jEW5H,.styles-module__rightIcon___bA3Eo{color:var(--color-fg-muted,var(--color-fg-text));pointer-events:none;z-index:1;justify-content:center;align-items:center;display:flex;position:absolute}.styles-module__leftIcon___jEW5H{left:.75rem}.styles-module__rightIcon___bA3Eo{right:.75rem}.styles-module__rightIcon___bA3Eo.styles-module__rightIconInteractive___ccypw{pointer-events:auto}.styles-module__inputContainer___wXY53.styles-module__containerSmall___20ICq .styles-module__leftIcon___jEW5H{left:.5rem}.styles-module__inputContainer___wXY53.styles-module__containerSmall___20ICq .styles-module__rightIcon___bA3Eo{right:.5rem}.styles-module__inputContainer___wXY53.styles-module__containerLarge___IztuN .styles-module__leftIcon___jEW5H{left:1rem}.styles-module__inputContainer___wXY53.styles-module__containerLarge___IztuN .styles-module__rightIcon___bA3Eo{right:1rem}.styles-module__input___IZDc3.styles-module__error___946qV{border-color:var(--color-danger)}.styles-module__input___IZDc3.styles-module__error___946qV:focus{border-color:var(--color-danger);box-shadow:0 0 0 3px rgba(var(--color-danger-rgb,244, 67, 54), .1)}.styles-module__input___IZDc3.styles-module__disabled___sJvLd{background:var(--color-bg-3);border-color:var(--color-border-5);color:var(--color-fg-muted);cursor:not-allowed;opacity:.6}.styles-module__errorMessage___5Mn22{color:var(--color-danger);margin:0;font-size:.75rem}.styles-module__helperText___T2eui{color:var(--color-fg-muted);margin:0;font-size:.75rem}.styles-module__container___xeg8O{flex-direction:column;gap:1rem;display:flex}.styles-module__label___qhbKe{color:var(--color-fg-text);font-size:.875rem;font-weight:500}.styles-module__error___O-7AY{color:var(--color-error);font-size:.875rem}.styles-module__pairs___owGV3{flex-direction:column;gap:.75rem;display:flex}.styles-module__pair___G4WFY{grid-template-columns:1fr 2fr auto;align-items:start;gap:.75rem;display:grid}.styles-module__keyInput___wl1M1,.styles-module__valueInput___HiwJ5{flex:1}.styles-module__removeButton___4-X0b{min-width:auto;color:var(--color-error);padding:.5rem}.styles-module__removeButton___4-X0b:hover{background-color:var(--color-error);color:#fff}.styles-module__addButton___QFljt{align-self:flex-start}@media (width<=768px){.styles-module__pair___G4WFY{grid-template-columns:1fr}.styles-module__removeButton___4-X0b{align-self:flex-end}}.styles-module__searchContainer___86TGN{width:100%;max-width:400px;position:relative}.styles-module__searchIcon___ZInry{color:var(--color-fg-muted);pointer-events:none;position:absolute;top:50%;left:1rem;transform:translateY(-50%)}.styles-module__searchInput___SqZXQ{border:1px solid var(--color-border);width:100%;color:var(--color-fg-text);background:var(--color-bg-2);border-radius:.5rem;padding:.75rem 3rem;font-size:1rem;transition:all .2s}.styles-module__searchInput___SqZXQ:focus{border-color:var(--color-primary);box-shadow:0 0 0 3px var(--color-primary-bg);outline:none}.styles-module__searchInput___SqZXQ::placeholder{color:var(--color-fg-muted)}.styles-module__clearBtn___7jExr{width:1.5rem;height:1.5rem;color:var(--color-fg-muted);cursor:pointer;background:0 0;border:none;justify-content:center;align-items:center;padding:0;transition:all .2s;display:flex;position:absolute;top:50%;right:.75rem;transform:translateY(-50%)}.styles-module__clearBtn___7jExr:hover{color:var(--color-fg-text)}@media (width<=768px){.styles-module__searchContainer___86TGN{max-width:100%}}.styles-module__container___nGxdM{flex-direction:column;gap:.75rem;display:flex}.styles-module__toggleContainer___VrsKI{align-items:center;display:flex}.styles-module__toggleButton___IzD6Z{border:1px solid var(--color-border-4);background:var(--color-bg);color:var(--color-fg-muted);cursor:pointer;border-radius:.5rem;align-items:center;gap:.5rem;padding:.5rem 1rem;font-size:.875rem;transition:all .2s;display:flex}.styles-module__toggleButton___IzD6Z:hover{background:var(--color-bg-2);border-color:var(--color-border-3)}.styles-module__toggleButton___IzD6Z.styles-module__enabled___cao0G{background:var(--color-primary);color:#fff;border-color:var(--color-primary)}.styles-module__toggleButton___IzD6Z.styles-module__enabled___cao0G:hover{background:var(--color-primary-hover);border-color:var(--color-primary-hover)}.styles-module__optionsContainer___LOzlO{background:var(--color-bg-2);border:1px solid var(--color-border-4);border-radius:.5rem;gap:.5rem;padding:.5rem;display:flex}.styles-module__option___abhnC{border:1px solid var(--color-border-4);background:var(--color-bg);color:var(--color-fg);cursor:pointer;border-radius:.375rem;flex:1;justify-content:center;align-items:center;gap:.375rem;padding:.5rem .875rem;font-size:.875rem;font-weight:500;transition:all .2s;display:flex}.styles-module__option___abhnC:hover{background:var(--color-bg-3);border-color:var(--color-border-3)}.styles-module__option___abhnC.styles-module__active___pqmSi{background:var(--color-primary);color:#fff;border-color:var(--color-primary)}.styles-module__option___abhnC.styles-module__active___pqmSi:hover{background:var(--color-primary-hover);border-color:var(--color-primary-hover)}.styles-module__nbSelect___KjxSc{font-family:inherit;font-size:.9375rem;font-weight:600;line-height:1.5rem;display:inline-block;position:relative}.styles-module__selectButton___AKZe4{cursor:pointer;text-align:left;width:100%;min-width:8rem;font-family:inherit;font-size:inherit;font-weight:inherit;line-height:inherit;appearance:none;border:1px solid;border-radius:.25rem;outline:none;justify-content:space-between;align-items:center;padding:.4375rem 2.2rem .4375rem 1.125rem;transition:all .15s ease-in-out;display:flex;position:relative}.styles-module__selectButton___AKZe4.styles-module__primary___HU36a{background-color:var(--color-primary);border-color:var(--color-primary);color:var(--color-primary-fg)}.styles-module__selectButton___AKZe4.styles-module__primary___HU36a:hover:not(:disabled){background-color:var(--color-primary-light);border-color:var(--color-primary-light)}.styles-module__selectButton___AKZe4.styles-module__primary___HU36a:focus,.styles-module__selectButton___AKZe4.styles-module__primary___HU36a.styles-module__open___9AKMb{background-color:var(--color-primary-light);border-color:var(--color-primary-light);box-shadow:0 0 0 .125rem #8f9bb340}.styles-module__selectButton___AKZe4.styles-module__default___LedYP{background-color:var(--color-bg);border-color:var(--color-border-4);color:var(--color-fg-text)}.styles-module__selectButton___AKZe4.styles-module__default___LedYP:hover:not(:disabled){background-color:var(--color-bg-2);border-color:var(--color-primary)}.styles-module__selectButton___AKZe4.styles-module__default___LedYP:focus,.styles-module__selectButton___AKZe4.styles-module__default___LedYP.styles-module__open___9AKMb{background-color:var(--color-bg-2);border-color:var(--color-primary);box-shadow:0 0 0 .125rem #8f9bb340}.styles-module__selectButton___AKZe4:disabled{cursor:not-allowed;opacity:.6}.styles-module__buttonText___QSLO1{text-overflow:ellipsis;white-space:nowrap;flex:1;overflow:hidden}.styles-module__chevronIcon___qAHaD{flex-shrink:0;width:1.5rem;height:1.5rem;transition:transform .15s;position:absolute;right:.41rem}.styles-module__selectButton___AKZe4.styles-module__primary___HU36a .styles-module__chevronIcon___qAHaD{color:var(--color-primary-fg)}.styles-module__selectButton___AKZe4.styles-module__default___LedYP .styles-module__chevronIcon___qAHaD{color:var(--color-fg)}.styles-module__chevronIcon___qAHaD.styles-module__open___9AKMb{transform:rotate(180deg)}.styles-module__optionsPanel___NWAp3{background-color:var(--color-bg);border:1px solid var(--color-border-4);z-index:1000;transform-origin:top;visibility:hidden;pointer-events:none;border-radius:.25rem;min-width:100%;position:absolute;top:calc(100% + .5rem);left:0;right:0;overflow:hidden;box-shadow:0 .5rem 1rem #00000026}.styles-module__optionsPanel___NWAp3.styles-module__open___9AKMb{visibility:visible;pointer-events:auto;animation:.25s ease-out styles-module__expandDown___eD4lh}.styles-module__optionsPanel___NWAp3.styles-module__closed___bez-q{visibility:hidden;pointer-events:none;animation:.25s ease-out styles-module__collapseUp___dt1E7}@keyframes styles-module__expandDown___eD4lh{0%{opacity:0;transform:scaleY(0)}to{opacity:1;transform:scaleY(1)}}@keyframes styles-module__collapseUp___dt1E7{0%{opacity:1;transform:scaleY(1)}to{opacity:0;transform:scaleY(0)}}.styles-module__optionsPanel___NWAp3.styles-module__primary___HU36a{border-color:var(--color-primary)}.styles-module__optionsPanel___NWAp3.styles-module__default___LedYP{border-color:var(--color-border-4)}.styles-module__optionsList___AxhVp{margin:0;padding:.5rem 0;list-style:none}.styles-module__option___t1SSw{cursor:pointer;color:var(--color-fg-text);justify-content:space-between;align-items:center;padding:.75rem 1.125rem;transition:all .15s;display:flex}.styles-module__option___t1SSw:hover{background-color:var(--color-bg-2)}.styles-module__option___t1SSw.styles-module__selected___azD4A{background-color:var(--color-primary);color:var(--color-primary-fg);font-weight:700}@media (prefers-color-scheme:dark){.styles-module__optionsPanel___NWAp3{box-shadow:0 .5rem 1rem #0000004d}}.styles-module__sliderContainer___lgpaD{flex-direction:column;gap:.5rem;display:flex}.styles-module__sliderContainer___lgpaD.styles-module__fullWidth___ZS8W5{width:100%}.styles-module__labelRow___dkVVM{justify-content:space-between;align-items:center;min-height:1.5rem;margin-bottom:.5rem;display:flex}.styles-module__label___bXGZs{color:var(--color-fg-text);font-size:.875rem;font-weight:500}.styles-module__required___FuyfE{color:var(--color-danger);margin-left:.25rem}.styles-module__sliderWrapper___1Wdti{touch-action:none;-webkit-user-select:none;user-select:none;justify-content:center;align-items:center;gap:.75rem;width:100%;display:flex}.styles-module__sliderRoot___yzOjR{cursor:grab;touch-action:none;-webkit-user-select:none;user-select:none;flex-grow:1;align-items:center;width:100%;padding:.75rem 0;display:flex;position:relative}.styles-module__sliderRoot___yzOjR:active{cursor:grabbing}.styles-module__sliderTrackWrapper___N72WQ{flex-grow:1;display:flex;position:relative}.styles-module__sliderTrack___AltcD{background-color:var(--color-bg-3);border-radius:9999px;width:100%;height:.375rem;position:relative;overflow:hidden}.styles-module__sliderRange___U3g0-{background-color:var(--color-primary);border-radius:9999px;height:100%;position:absolute}.styles-module__valueIndicator___aLf0I{color:var(--color-primary);text-align:center;flex-shrink:0;min-width:2rem;font-size:.875rem;font-weight:600;line-height:1}.styles-module__iconWrapper___wL-b8{flex-shrink:0;justify-content:center;align-items:center;display:flex}.styles-module__icon___vHsID{width:20px;height:20px;color:var(--color-fg-muted)}.styles-module__errorMessage___qFgGe{color:var(--color-danger);margin:0;font-size:.75rem}.styles-module__helperText___tgBGl{color:var(--color-fg-muted);margin:0;font-size:.75rem}.styles-module__loadingContainer___OMgwS{flex-direction:column;justify-content:center;align-items:center;gap:1.5rem;min-height:60vh;display:flex}.styles-module__loadingText___KRZqR{color:var(--color-fg-muted);font-size:1rem}.styles-module__errorContainer___qhAg2{text-align:center;min-height:60vh;color:var(--color-fg-text);flex-direction:column;justify-content:center;align-items:center;gap:2rem;padding:3rem 2rem;display:flex}.styles-module__errorIconWrapper___IHZrN{background:linear-gradient(135deg, rgba(var(--color-error-rgb,239, 68, 68), .1), rgba(var(--color-error-rgb,239, 68, 68), .05));border:2px solid rgba(var(--color-error-rgb,239, 68, 68), .2);border-radius:50%;justify-content:center;align-items:center;width:120px;height:120px;animation:2s ease-in-out infinite styles-module__pulse___Lju-z;display:flex}@keyframes styles-module__pulse___Lju-z{0%,to{opacity:1;transform:scale(1)}50%{opacity:.9;transform:scale(1.05)}}.styles-module__errorIcon___oGDIP{color:var(--color-error,#ef4444);stroke-width:1.5px}.styles-module__errorContent___F55rQ{flex-direction:column;align-items:center;gap:1rem;width:100%;max-width:600px;display:flex}.styles-module__errorTitle___hC8D-{color:var(--color-fg-heading);letter-spacing:-.02em;margin:0;font-size:1.75rem;font-weight:700;line-height:1.2}.styles-module__errorDescription___hZtuP{color:var(--color-fg-muted);max-width:480px;margin:0;font-size:1rem;line-height:1.6}.styles-module__errorDetailsWrapper___-sp8b{width:100%;max-width:600px;margin-top:.5rem}.styles-module__errorDetailsContainer___eywMo{text-align:left;border:1px solid var(--color-border,#0000001a);background:var(--color-bg-2,#00000005);border-radius:.75rem;width:100%;transition:all .2s;overflow:hidden}.styles-module__errorDetailsContainer___eywMo:hover{border-color:var(--color-border-hover,#00000026);background:var(--color-bg-3,#00000008)}.styles-module__errorDetailsSummary___hGEoD{cursor:pointer;color:var(--color-fg-muted);-webkit-user-select:none;user-select:none;padding:.875rem 1.25rem;font-size:.875rem;font-weight:500;list-style:none;transition:color .2s}.styles-module__errorDetailsSummary___hGEoD:hover{color:var(--color-fg-text)}.styles-module__errorDetailsSummary___hGEoD::-webkit-details-marker{display:none}.styles-module__errorDetailsSummary___hGEoD:before{content:"▶";margin-right:.5rem;font-size:.75rem;transition:transform .2s;display:inline-block}.styles-module__errorDetailsContainer___eywMo[open] .styles-module__errorDetailsSummary___hGEoD:before{transform:rotate(90deg)}.styles-module__errorDetails___tzCT-{background:var(--color-bg-3,#00000008);border-top:1px solid var(--color-border,#0000001a);max-width:100%;color:var(--color-fg-muted);white-space:pre-wrap;word-break:break-word;margin:0;padding:1rem 1.25rem;font-family:Monaco,Menlo,Ubuntu Mono,Consolas,source-code-pro,monospace;font-size:.8125rem;line-height:1.6;overflow-x:auto}.styles-module__errorActions___gtqYw{flex-wrap:wrap;justify-content:center;align-items:center;gap:.75rem;margin-top:1rem;display:flex}.styles-module__retryButton___TA4jm{background:var(--color-primary);color:var(--color-primary-fg);cursor:pointer;border:none;border-radius:.5rem;justify-content:center;align-items:center;gap:.5rem;padding:.75rem 2rem;font-size:.9375rem;font-weight:500;transition:all .2s;display:inline-flex;box-shadow:0 2px 8px #00000014}.styles-module__retryButton___TA4jm:hover{background:var(--color-primary-hover,var(--color-primary));transform:translateY(-2px);box-shadow:0 4px 16px #0000001f}.styles-module__retryButton___TA4jm:active{transform:translateY(0);box-shadow:0 2px 8px #00000014}.styles-module__retryButtonIcon___vzfp-{font-size:1.125rem;line-height:1;transition:transform .3s;display:inline-block}.styles-module__retryButton___TA4jm:hover .styles-module__retryButtonIcon___vzfp-{transform:rotate(180deg)}.styles-module__clearLocalDataButton___T3B-K{color:var(--color-fg-muted);border:1px solid var(--color-border-4);cursor:pointer;background:0 0;border-radius:.5rem;justify-content:center;align-items:center;padding:.75rem 1.5rem;font-size:.9375rem;font-weight:500;transition:all .2s;display:inline-flex}.styles-module__clearLocalDataButton___T3B-K:hover{color:var(--color-fg-text);border-color:var(--color-border-3);background:var(--color-bg-secondary)}.styles-module__wrapper___jXPV3{flex-direction:column;gap:.5rem;display:flex}.styles-module__wrapper___jXPV3.styles-module__fullWidth___eKyGB{width:100%}.styles-module__label___MyTeo{color:var(--color-fg-heading);align-items:center;gap:.25rem;font-size:.875rem;font-weight:500;display:flex}.styles-module__required___TV-m8{color:var(--color-danger)}.styles-module__inputContainer___VvGBl{align-items:flex-start;width:100%;display:flex;position:relative}.styles-module__textarea___AjX9N{border:1px solid var(--color-border-4);background:var(--color-bg);width:100%;color:var(--color-fg-text);resize:vertical;border-radius:.5rem;outline:none;min-height:4rem;font-family:inherit;font-size:.875rem;transition:all .2s}.styles-module__textarea___AjX9N:focus{border-color:var(--color-primary);box-shadow:0 0 0 3px rgba(var(--color-primary-rgb,102, 126, 234), .1)}.styles-module__textarea___AjX9N::placeholder{color:var(--color-fg-muted,var(--color-fg-text));opacity:.5}.styles-module__textarea___AjX9N.styles-module__small___zMx0G{min-height:3rem;padding:.5rem .75rem;font-size:.8125rem}.styles-module__textarea___AjX9N.styles-module__medium___tO2Lb{min-height:4rem;padding:.75rem;font-size:.875rem}.styles-module__textarea___AjX9N.styles-module__large___3eU2g{min-height:5rem;padding:1rem;font-size:1rem}.styles-module__textarea___AjX9N.styles-module__default___vsSxX{background:var(--color-bg);border-color:var(--color-border-4)}.styles-module__textarea___AjX9N.styles-module__filled___TPQgI{background:var(--color-bg-2);border-color:var(--color-border-3)}.styles-module__inputContainer___VvGBl .styles-module__leftIcon___FHp2R{color:var(--color-fg-muted,var(--color-fg-text));pointer-events:none;z-index:1;justify-content:center;align-items:center;display:flex;position:absolute;top:.75rem;left:.75rem}.styles-module__inputContainer___VvGBl .styles-module__rightIcon___dkyvP{color:var(--color-fg-muted,var(--color-fg-text));pointer-events:none;z-index:1;justify-content:center;align-items:center;display:flex;position:absolute;top:.75rem;right:.75rem}.styles-module__inputContainer___VvGBl .styles-module__textarea___AjX9N.styles-module__small___zMx0G+.styles-module__leftIcon___FHp2R,.styles-module__inputContainer___VvGBl .styles-module__textarea___AjX9N.styles-module__small___zMx0G+.styles-module__rightIcon___dkyvP{top:.5rem}.styles-module__inputContainer___VvGBl .styles-module__textarea___AjX9N.styles-module__large___3eU2g+.styles-module__leftIcon___FHp2R,.styles-module__inputContainer___VvGBl .styles-module__textarea___AjX9N.styles-module__large___3eU2g+.styles-module__rightIcon___dkyvP{top:1rem}.styles-module__textarea___AjX9N.styles-module__error___d8gLK{border-color:var(--color-danger)}.styles-module__textarea___AjX9N.styles-module__error___d8gLK:focus{border-color:var(--color-danger);box-shadow:0 0 0 3px rgba(var(--color-danger-rgb,244, 67, 54), .1)}.styles-module__textarea___AjX9N.styles-module__disabled___IzbfE{background:var(--color-bg-3);border-color:var(--color-border-5);color:var(--color-fg-muted);cursor:not-allowed;opacity:.6}.styles-module__errorText___Nom7x{color:var(--color-danger);margin:0;font-size:.75rem}.styles-module__helperText___97Def{color:var(--color-fg-muted);margin:0;font-size:.75rem}.styles-module__virtualList___pM6rN{contain:strict;width:100%;padding-bottom:300px;position:relative;overflow:auto}.styles-module__emptyContainer___rm938{height:100%;color:var(--color-fg-muted);justify-content:center;align-items:center;display:flex}.styles-module__virtualListInner___HxRzc{width:100%;position:relative}.styles-module__virtualListItems___p19-a{width:100%;position:absolute;top:0;left:0}.styles-module__loadingMore___zAdLM{color:var(--color-fg-muted);justify-content:center;align-items:center;gap:.75rem;padding:2rem 0;font-size:.875rem;display:flex}.styles-module__endOfList___5cYFh{color:var(--color-fg-muted);border-top:1px solid var(--color-border-3);justify-content:center;margin-top:1rem;padding:2rem 0;font-size:.875rem;display:flex}.styles-module__endOfList___5cYFh span{background-color:var(--color-bg-2);border-radius:.25rem;padding:.5rem 1rem}.styles-module__virtualList___xmj2v{width:100%;padding-bottom:300px;position:relative;overflow:visible}.styles-module__virtualListInner___quD74{width:100%;position:relative}.styles-module__virtualListItems___-Muml{width:100%;position:absolute;top:0;left:0}.styles-module__virtualListRow___h3pzX{width:100%}.styles-module__emptyContainer___LIy8r{color:var(--color-fg-muted);justify-content:center;align-items:center;padding:2rem 0;display:flex}.styles-module__loadingMore___Mzf-p{color:var(--color-fg-muted);justify-content:center;align-items:center;padding:1.5rem 0;display:flex}.styles-module__endOfList___g5G--{color:var(--color-fg-muted);border-top:1px solid var(--color-border-3);justify-content:center;padding:1.5rem 0;display:flex}.styles-module__sidebar___BMt0j{flex-direction:column;height:100%;min-height:0;display:flex;overflow:hidden}.styles-module__sidebarContent___iAwiw{flex-direction:column;height:100%;min-height:0;padding-top:1rem;display:flex;overflow:hidden}.styles-module__menuWrapper___DKuEv{flex:1;min-height:0;overflow:hidden auto}.styles-module__sidebarContent___iAwiw::-webkit-scrollbar{width:0}.styles-module__sidebarContent___iAwiw::-webkit-scrollbar-track{background:0 0}.styles-module__sidebarContent___iAwiw::-webkit-scrollbar-thumb{background:0 0}.styles-module__sidebarContent___iAwiw::-webkit-scrollbar-thumb:hover{background:0 0}.styles-module__sidebar___BMt0j a{margin-left:0}.styles-module__sidebar___BMt0j .ps-sidebar-root{background-color:var(--color-bg-2)!important;border-right:1px solid var(--color-separator)!important;flex-direction:column!important;height:100%!important;min-height:0!important;display:flex!important;overflow:hidden!important}.styles-module__sidebar___BMt0j .ps-sidebar-container{background-color:var(--color-bg-2)!important;height:100%!important;min-height:0!important;color:var(--color-fg-text)!important;flex-direction:column!important;flex:1!important;display:flex!important;overflow:hidden!important}.styles-module__sidebar___BMt0j .ps-menu-button{color:var(--color-fg-text)!important;border-radius:.375rem!important;margin:.125rem .5rem!important;padding:.5rem .75rem!important;font-size:.875rem!important;transition:all .2s!important}.styles-module__sidebar___BMt0j .ps-menu-button:hover{background-color:var(--color-bg-3)!important;color:var(--color-fg-text)!important}.styles-module__sidebar___BMt0j .ps-menu-button.ps-active{background-color:var(--color-primary)!important;color:#fff!important}.styles-module__sidebar___BMt0j .ps-menu-button.ps-active *,.styles-module__sidebar___BMt0j .ps-menu-button.ps-active .ps-menu-icon,.styles-module__sidebar___BMt0j .ps-menu-button.ps-active .ps-menu-label{color:#fff!important}.styles-module__sidebar___BMt0j .ps-menu-icon{width:1.25rem!important;height:1.25rem!important;color:var(--color-fg-text)!important;margin-right:.5rem!important}.styles-module__sidebar___BMt0j .ps-submenu-content{background-color:var(--color-bg-3)!important;padding-left:.5rem!important;overflow:hidden!important}.styles-module__sidebar___BMt0j .ps-submenu-content .ps-menu-button{margin:.125rem .25rem!important;padding:.375rem .5rem!important;font-size:.8125rem!important;transition:all .2s!important}.styles-module__sidebar___BMt0j .ps-menu-label{color:var(--color-fg-text)!important;font-weight:500!important}.styles-module__sidebar___BMt0j .ps-menu-button.ps-active,.styles-module__sidebar___BMt0j .ps-menu-button.ps-active span,.styles-module__sidebar___BMt0j .ps-menu-button.ps-active div,.styles-module__sidebar___BMt0j .ps-menu-button.ps-active .ps-menu-icon,.styles-module__sidebar___BMt0j .ps-menu-button.ps-active .ps-menu-label{color:#fff!important}.styles-module__logoutContainer___7NwBL{border-top:1px solid var(--color-separator);writing-mode:horizontal-tb;text-orientation:mixed;flex-shrink:0;margin-top:auto;padding:.5rem}.styles-module__logoutButton___rfD6u{width:100%;color:var(--color-fg-text);cursor:pointer;white-space:nowrap;writing-mode:horizontal-tb;text-orientation:mixed;direction:ltr;background:0 0;border:none;border-radius:.375rem;justify-content:flex-start;align-items:center;gap:.5rem;padding:.5rem .75rem;font-size:.875rem;transition:background-color .2s,color .2s;display:flex;overflow:hidden}.styles-module__logoutButton___rfD6u span{opacity:1;max-width:200px;transition:opacity .3s,max-width .3s;display:inline-block;writing-mode:horizontal-tb!important;text-orientation:mixed!important;direction:ltr!important;transform:none!important}.styles-module__logoutButton___rfD6u .styles-module__hiddenText___z183T{opacity:0;width:0;max-width:0;overflow:hidden}.styles-module__logoutButton___rfD6u .styles-module__visibleText___lfsv-{opacity:1;width:auto;max-width:200px}.styles-module__logoutButton___rfD6u:hover{background-color:var(--color-bg-3)}.styles-module__logoutButton___rfD6u:active{transform:scale(.98)}.styles-module__logoutButton___rfD6u svg{color:inherit;flex-shrink:0}.styles-module__footer___g-hY7{background:var(--color-bg-2);width:100%;padding:0 2rem}.styles-module__footerContent___Oen5n{justify-content:space-between;align-items:center;max-width:100%;margin:0 auto;display:flex}.styles-module__copyright___1R2o3{color:var(--color-fg-text);font-size:.875rem}.styles-module__links___dQyvB{gap:1.5rem;display:flex}.styles-module__link___UWfyK{color:var(--color-fg-text);font-size:.875rem;text-decoration:none;transition:color .3s}.styles-module__link___UWfyK:hover{color:var(--color-primary)}@media (width<=768px){.styles-module__footerContent___Oen5n{flex-direction:column;gap:1rem}.styles-module__links___dQyvB{gap:1rem}}.styles-module__header___4Uc8h{width:100%;padding:.5rem 2rem;display:flex}.styles-module__header___4Uc8h>:first-child{flex:1;justify-content:flex-start;align-items:center;display:flex}.styles-module__header___4Uc8h>:last-child{flex:1;justify-content:flex-end;align-items:center;display:flex}.styles-module__layout___ZQKU7{background:var(--color-bg);flex-direction:column;width:100%;height:100vh;display:flex;position:relative}.styles-module__header___XIaFb{z-index:100;background:var(--color-bg);width:100%;position:fixed;top:0;box-shadow:0 .125rem .25rem #2c33491a}.styles-module__footer___r8ASO{z-index:100;width:100%;position:fixed;bottom:0}.styles-module__mainWrapper___i4tEI{flex:1;display:flex;position:relative}.styles-module__sidebar___ij-8-{position:fixed;top:0}.styles-module__content___mTgUr{background:var(--color-bg);flex:1;min-height:calc(100vh - 10rem);margin:0;padding-top:0;padding-bottom:0;overflow:hidden auto}@media (width<=768px){.styles-module__content___mTgUr{width:100%}.styles-module__sidebar___ij-8-{z-index:999;height:100vh;position:fixed;top:0;left:0}}.styles-module__mainWrapper___AiTAw{flex-direction:row;flex:1;display:flex;position:relative}.styles-module__sidebarContainer___X4yj8{z-index:99;flex-direction:column;display:flex;position:fixed;left:0;overflow:hidden}.styles-module__sidebar___VQTlH{flex-shrink:0;top:0;left:0}.styles-module__content___htJlH{background:var(--color-bg);flex:1;margin:0;padding-top:0;padding-bottom:0;overflow:hidden auto}@media (width<=1024px){.styles-module__content___htJlH{padding:1.5rem}}@media (width<=768px){.styles-module__content___htJlH{width:100%}.styles-module__sidebar___VQTlH{z-index:999;height:100vh;position:fixed;top:0;left:0}}.styles-module__wavesWrapper___TK7DI{pointer-events:none;z-index:0;width:100vw;height:100vh;position:fixed;inset:0;overflow:hidden}.styles-module__wavesWrapper___TK7DI>*{pointer-events:auto}.styles-module__squaresWrapper___P25uF{pointer-events:none;z-index:0;width:100vw;height:100vh;position:fixed;inset:0;overflow:hidden}.styles-module__squaresWrapper___P25uF>*{pointer-events:auto}.styles-module__letterGlitchWrapper___KWtWU{pointer-events:none;z-index:0;width:100vw;height:100vh;position:fixed;inset:0;overflow:hidden}.styles-module__letterGlitchWrapper___KWtWU>*{pointer-events:auto}.styles-module__pixelBlastWrapper___YptHh{pointer-events:none;z-index:0;width:100vw;height:100vh;position:fixed;inset:0;overflow:hidden}.styles-module__pixelBlastWrapper___YptHh>*{pointer-events:auto}.style-module__container___Hh3-c{width:100%;height:100%;position:relative;overflow:hidden}
2
+ /*$vite$:1*/`)),document.head.appendChild(e)}}catch(o){console.error("vite-plugin-css-injected-by-js",o)}})();
3
+ import { n as he } from "./chunk-useTheme-oHcq3d0o.mjs";
4
+ import { memo as se, useEffect as xe, useMemo as ge, useRef as _ } from "react";
5
+ import { jsx as ue } from "react/jsx-runtime";
6
+ import { Effect as ce, EffectComposer as oe, EffectPass as re, RenderPass as ae } from "postprocessing";
7
+ import { Clock as ye, Color as we, GLSL3 as Se, LinearFilter as ie, Mesh as Ee, OrthographicCamera as Ce, PlaneGeometry as Re, Scene as Te, ShaderMaterial as Pe, Texture as Ae, Uniform as b, Vector2 as ne, WebGLRenderer as be } from "three";
8
+ var Me = "style-module__container___Hh3-c", ze = { container: Me }, Fe = () => {
9
+ const r = document.createElement("canvas");
10
+ r.width = 64, r.height = 64;
11
+ const a = r.getContext("2d");
12
+ if (!a) throw new Error("2D context not available");
13
+ a.fillStyle = "black", a.fillRect(0, 0, r.width, r.height);
14
+ const C = new Ae(r);
15
+ C.minFilter = ie, C.magFilter = ie, C.generateMipmaps = !1;
16
+ const c = [];
17
+ let f = null;
18
+ const v = 64;
19
+ let R = 0.1 * 64;
20
+ const M = 1 / v, z = () => {
21
+ a.fillStyle = "black", a.fillRect(0, 0, r.width, r.height);
22
+ }, F = (o) => {
23
+ const n = {
24
+ x: o.x * 64,
25
+ y: (1 - o.y) * 64
26
+ };
27
+ let s = 1;
28
+ const T = (h) => Math.sin(h * Math.PI / 2), y = (h) => -h * (h - 2);
29
+ o.age < v * 0.3 ? s = T(o.age / (v * 0.3)) : s = y(1 - (o.age - v * 0.3) / (v * 0.7)) || 0, s *= o.force;
30
+ const x = `${(o.vx + 1) / 2 * 255}, ${(o.vy + 1) / 2 * 255}, ${s * 255}`, p = 320;
31
+ a.shadowOffsetX = p, a.shadowOffsetY = p, a.shadowBlur = R, a.shadowColor = `rgba(${x},${0.22 * s})`, a.beginPath(), a.fillStyle = "rgba(255,0,0,1)", a.arc(n.x - p, n.y - p, R, 0, Math.PI * 2), a.fill();
32
+ };
33
+ return {
34
+ canvas: r,
35
+ texture: C,
36
+ addTouch: (o) => {
37
+ let n = 0, s = 0, T = 0;
38
+ if (f) {
39
+ const y = o.x - f.x, x = o.y - f.y;
40
+ if (y === 0 && x === 0) return;
41
+ const p = y * y + x * x, h = Math.sqrt(p);
42
+ s = y / (h || 1), T = x / (h || 1), n = Math.min(p * 1e4, 1);
43
+ }
44
+ f = {
45
+ x: o.x,
46
+ y: o.y
47
+ }, c.push({
48
+ x: o.x,
49
+ y: o.y,
50
+ age: 0,
51
+ force: n,
52
+ vx: s,
53
+ vy: T
54
+ });
55
+ },
56
+ update: () => {
57
+ z();
58
+ for (let o = c.length - 1; o >= 0; o--) {
59
+ const n = c[o], s = n.force * M * (1 - n.age / v);
60
+ n.x += n.vx * s, n.y += n.vy * s, n.age++, n.age > v && c.splice(o, 1);
61
+ }
62
+ for (let o = 0; o < c.length; o++) F(c[o]);
63
+ C.needsUpdate = !0;
64
+ },
65
+ set radiusScale(o) {
66
+ R = 0.1 * 64 * o;
67
+ },
68
+ get radiusScale() {
69
+ return R / (0.1 * 64);
70
+ },
71
+ size: 64
72
+ };
73
+ }, Ie = (E, r) => new ce("LiquidEffect", `
74
+ uniform sampler2D uTexture;
75
+ uniform float uStrength;
76
+ uniform float uTime;
77
+ uniform float uFreq;
78
+
79
+ void mainUv(inout vec2 uv) {
80
+ vec4 tex = texture2D(uTexture, uv);
81
+ float vx = tex.r * 2.0 - 1.0;
82
+ float vy = tex.g * 2.0 - 1.0;
83
+ float intensity = tex.b;
84
+
85
+ float wave = 0.5 + 0.5 * sin(uTime * uFreq + intensity * 6.2831853);
86
+
87
+ float amt = uStrength * intensity * wave;
88
+
89
+ uv += vec2(vx, vy) * amt;
90
+ }
91
+ `, { uniforms: /* @__PURE__ */ new Map([
92
+ ["uTexture", new b(E)],
93
+ ["uStrength", new b(r?.strength ?? 0.025)],
94
+ ["uTime", new b(0)],
95
+ ["uFreq", new b(r?.freq ?? 4.5)]
96
+ ]) }), le = {
97
+ square: 0,
98
+ circle: 1,
99
+ triangle: 2,
100
+ diamond: 3
101
+ }, ke = `
102
+ void main() {
103
+ gl_Position = vec4(position, 1.0);
104
+ }
105
+ `, _e = `
106
+ precision highp float;
107
+
108
+ uniform vec3 uColor;
109
+ uniform vec2 uResolution;
110
+ uniform float uTime;
111
+ uniform float uPixelSize;
112
+ uniform float uScale;
113
+ uniform float uDensity;
114
+ uniform float uPixelJitter;
115
+ uniform int uEnableRipples;
116
+ uniform float uRippleSpeed;
117
+ uniform float uRippleThickness;
118
+ uniform float uRippleIntensity;
119
+ uniform float uEdgeFade;
120
+
121
+ uniform int uShapeType;
122
+ const int SHAPE_SQUARE = 0;
123
+ const int SHAPE_CIRCLE = 1;
124
+ const int SHAPE_TRIANGLE = 2;
125
+ const int SHAPE_DIAMOND = 3;
126
+
127
+ const int MAX_CLICKS = 10;
128
+
129
+ uniform vec2 uClickPos [MAX_CLICKS];
130
+ uniform float uClickTimes[MAX_CLICKS];
131
+
132
+ out vec4 fragColor;
133
+
134
+ float Bayer2(vec2 a) {
135
+ a = floor(a);
136
+ return fract(a.x / 2. + a.y * a.y * .75);
137
+ }
138
+ #define Bayer4(a) (Bayer2(.5*(a))*0.25 + Bayer2(a))
139
+ #define Bayer8(a) (Bayer4(.5*(a))*0.25 + Bayer2(a))
140
+
141
+ #define FBM_OCTAVES 5
142
+ #define FBM_LACUNARITY 1.25
143
+ #define FBM_GAIN 1.0
144
+
145
+ float hash11(float n){ return fract(sin(n)*43758.5453); }
146
+
147
+ float vnoise(vec3 p){
148
+ vec3 ip = floor(p);
149
+ vec3 fp = fract(p);
150
+ float n000 = hash11(dot(ip + vec3(0.0,0.0,0.0), vec3(1.0,57.0,113.0)));
151
+ float n100 = hash11(dot(ip + vec3(1.0,0.0,0.0), vec3(1.0,57.0,113.0)));
152
+ float n010 = hash11(dot(ip + vec3(0.0,1.0,0.0), vec3(1.0,57.0,113.0)));
153
+ float n110 = hash11(dot(ip + vec3(1.0,1.0,0.0), vec3(1.0,57.0,113.0)));
154
+ float n001 = hash11(dot(ip + vec3(0.0,0.0,1.0), vec3(1.0,57.0,113.0)));
155
+ float n101 = hash11(dot(ip + vec3(1.0,0.0,1.0), vec3(1.0,57.0,113.0)));
156
+ float n011 = hash11(dot(ip + vec3(0.0,1.0,1.0), vec3(1.0,57.0,113.0)));
157
+ float n111 = hash11(dot(ip + vec3(1.0,1.0,1.0), vec3(1.0,57.0,113.0)));
158
+ vec3 w = fp*fp*fp*(fp*(fp*6.0-15.0)+10.0);
159
+ float x00 = mix(n000, n100, w.x);
160
+ float x10 = mix(n010, n110, w.x);
161
+ float x01 = mix(n001, n101, w.x);
162
+ float x11 = mix(n011, n111, w.x);
163
+ float y0 = mix(x00, x10, w.y);
164
+ float y1 = mix(x01, x11, w.y);
165
+ return mix(y0, y1, w.z) * 2.0 - 1.0;
166
+ }
167
+
168
+ float fbm2(vec2 uv, float t){
169
+ vec3 p = vec3(uv * uScale, t);
170
+ float amp = 1.0;
171
+ float freq = 1.0;
172
+ float sum = 1.0;
173
+ for (int i = 0; i < FBM_OCTAVES; ++i){
174
+ sum += amp * vnoise(p * freq);
175
+ freq *= FBM_LACUNARITY;
176
+ amp *= FBM_GAIN;
177
+ }
178
+ return sum * 0.5 + 0.5;
179
+ }
180
+
181
+ float maskCircle(vec2 p, float cov){
182
+ float r = sqrt(cov) * .25;
183
+ float d = length(p - 0.5) - r;
184
+ float aa = 0.5 * fwidth(d);
185
+ return cov * (1.0 - smoothstep(-aa, aa, d * 2.0));
186
+ }
187
+
188
+ float maskTriangle(vec2 p, vec2 id, float cov){
189
+ bool flip = mod(id.x + id.y, 2.0) > 0.5;
190
+ if (flip) p.x = 1.0 - p.x;
191
+ float r = sqrt(cov);
192
+ float d = p.y - r*(1.0 - p.x);
193
+ float aa = fwidth(d);
194
+ return cov * clamp(0.5 - d/aa, 0.0, 1.0);
195
+ }
196
+
197
+ float maskDiamond(vec2 p, float cov){
198
+ float r = sqrt(cov) * 0.564;
199
+ return step(abs(p.x - 0.49) + abs(p.y - 0.49), r);
200
+ }
201
+
202
+ void main(){
203
+ float pixelSize = uPixelSize;
204
+ vec2 fragCoord = gl_FragCoord.xy - uResolution * .5;
205
+ float aspectRatio = uResolution.x / uResolution.y;
206
+
207
+ vec2 pixelId = floor(fragCoord / pixelSize);
208
+ vec2 pixelUV = fract(fragCoord / pixelSize);
209
+
210
+ float cellPixelSize = 8.0 * pixelSize;
211
+ vec2 cellId = floor(fragCoord / cellPixelSize);
212
+ vec2 cellCoord = cellId * cellPixelSize;
213
+ vec2 uv = cellCoord / uResolution * vec2(aspectRatio, 1.0);
214
+
215
+ float base = fbm2(uv, uTime * 0.05);
216
+ base = base * 0.5 - 0.65;
217
+
218
+ float feed = base + (uDensity - 0.5) * 0.3;
219
+
220
+ float speed = uRippleSpeed;
221
+ float thickness = uRippleThickness;
222
+ const float dampT = 1.0;
223
+ const float dampR = 10.0;
224
+
225
+ if (uEnableRipples == 1) {
226
+ for (int i = 0; i < MAX_CLICKS; ++i){
227
+ vec2 pos = uClickPos[i];
228
+ if (pos.x < 0.0) continue;
229
+ float cellPixelSize = 8.0 * pixelSize;
230
+ vec2 cuv = (((pos - uResolution * .5 - cellPixelSize * .5) / (uResolution))) * vec2(aspectRatio, 1.0);
231
+ float t = max(uTime - uClickTimes[i], 0.0);
232
+ float r = distance(uv, cuv);
233
+ float waveR = speed * t;
234
+ float ring = exp(-pow((r - waveR) / thickness, 2.0));
235
+ float atten = exp(-dampT * t) * exp(-dampR * r);
236
+ feed = max(feed, ring * atten * uRippleIntensity);
237
+ }
238
+ }
239
+
240
+ float bayer = Bayer8(fragCoord / uPixelSize) - 0.5;
241
+ float bw = step(0.5, feed + bayer);
242
+
243
+ float h = fract(sin(dot(floor(fragCoord / uPixelSize), vec2(127.1, 311.7))) * 43758.5453);
244
+ float jitterScale = 1.0 + (h - 0.5) * uPixelJitter;
245
+ float coverage = bw * jitterScale;
246
+ float M;
247
+ if (uShapeType == SHAPE_CIRCLE) M = maskCircle (pixelUV, coverage);
248
+ else if (uShapeType == SHAPE_TRIANGLE) M = maskTriangle(pixelUV, pixelId, coverage);
249
+ else if (uShapeType == SHAPE_DIAMOND) M = maskDiamond(pixelUV, coverage);
250
+ else M = coverage;
251
+
252
+ if (uEdgeFade > 0.0) {
253
+ vec2 norm = gl_FragCoord.xy / uResolution;
254
+ float edge = min(min(norm.x, norm.y), min(1.0 - norm.x, 1.0 - norm.y));
255
+ float fade = smoothstep(0.0, uEdgeFade, edge);
256
+ M *= fade;
257
+ }
258
+
259
+ vec3 color = uColor;
260
+
261
+ // sRGB gamma correction - convert linear to sRGB for accurate color output
262
+ vec3 srgbColor = mix(
263
+ color * 12.92,
264
+ 1.055 * pow(color, vec3(1.0 / 2.4)) - 0.055,
265
+ step(0.0031308, color)
266
+ );
267
+
268
+ fragColor = vec4(srgbColor, M);
269
+ }
270
+ `, V = 10, fe = se(({ variant: E = "square", pixelSize: r = 3, color: a = "#B19EEF", className: C, style: c, antialias: f = !0, patternScale: v = 2, patternDensity: R = 1, liquid: M = !1, liquidStrength: z = 0.1, liquidRadius: F = 1, pixelSizeJitter: q = 0, enableRipples: B = !0, rippleIntensityScale: o = 1, rippleThickness: n = 0.1, rippleSpeed: s = 0.3, liquidWobbleSpeed: T = 4.5, autoPauseOffscreen: y = !0, speed: x = 0.5, transparent: p = !0, edgeFade: h = 0.5, noiseAmount: L = 0 }) => {
271
+ const G = _(null), me = _({ visible: !0 }), $ = _(x), u = _(null), N = _(null);
272
+ return xe(() => {
273
+ const w = G.current;
274
+ if (!w) return;
275
+ $.current = x;
276
+ const de = [
277
+ "antialias",
278
+ "liquid",
279
+ "noiseAmount"
280
+ ], X = {
281
+ antialias: f,
282
+ liquid: M,
283
+ noiseAmount: L
284
+ };
285
+ let U = !1;
286
+ if (!u.current) U = !0;
287
+ else if (N.current) {
288
+ for (const e of de) if (N.current[e] !== X[e]) {
289
+ U = !0;
290
+ break;
291
+ }
292
+ }
293
+ if (U) {
294
+ if (u.current) {
295
+ const t = u.current;
296
+ t.resizeObserver?.disconnect(), cancelAnimationFrame(t.raf), t.quad?.geometry.dispose(), t.material.dispose(), t.composer?.dispose(), t.renderer.dispose(), t.renderer.domElement.parentElement === w && w.removeChild(t.renderer.domElement), u.current = null;
297
+ }
298
+ const e = new be({
299
+ canvas: document.createElement("canvas"),
300
+ antialias: f,
301
+ alpha: !0,
302
+ powerPreference: "high-performance"
303
+ });
304
+ e.domElement.style.width = "100%", e.domElement.style.height = "100%", e.setPixelRatio(Math.min(window.devicePixelRatio || 1, 1.5)), w.appendChild(e.domElement), p ? e.setClearAlpha(0) : e.setClearColor(0, 1);
305
+ const m = {
306
+ uResolution: { value: new ne(0, 0) },
307
+ uTime: { value: 0 },
308
+ uColor: { value: new we(a) },
309
+ uClickPos: { value: Array.from({ length: V }, () => new ne(-1, -1)) },
310
+ uClickTimes: { value: new Float32Array(V) },
311
+ uShapeType: { value: le[E] ?? 0 },
312
+ uPixelSize: { value: r * e.getPixelRatio() },
313
+ uScale: { value: v },
314
+ uDensity: { value: R },
315
+ uPixelJitter: { value: q },
316
+ uEnableRipples: { value: B ? 1 : 0 },
317
+ uRippleSpeed: { value: s },
318
+ uRippleThickness: { value: n },
319
+ uRippleIntensity: { value: o },
320
+ uEdgeFade: { value: h }
321
+ }, P = new Te(), S = new Ce(-1, 1, 1, -1, 0, 1), K = new Pe({
322
+ vertexShader: ke,
323
+ fragmentShader: _e,
324
+ uniforms: m,
325
+ transparent: !0,
326
+ depthTest: !1,
327
+ depthWrite: !1,
328
+ glslVersion: Se
329
+ }), Y = new Ee(new Re(2, 2), K);
330
+ P.add(Y);
331
+ const j = new ye(), J = () => {
332
+ const t = w.clientWidth || 1, i = w.clientHeight || 1;
333
+ e.setSize(t, i, !1), m.uResolution.value.set(e.domElement.width, e.domElement.height), u.current?.composer && u.current.composer.setSize(e.domElement.width, e.domElement.height), m.uPixelSize.value = r * e.getPixelRatio();
334
+ };
335
+ J();
336
+ const W = new ResizeObserver(J);
337
+ W.observe(w);
338
+ const Q = (() => {
339
+ if (typeof window < "u" && window.crypto?.getRandomValues) {
340
+ const t = new Uint32Array(1);
341
+ return window.crypto.getRandomValues(t), t[0] / 4294967295;
342
+ }
343
+ return Math.random();
344
+ })() * 1e3;
345
+ let l, A, I;
346
+ if (M) {
347
+ A = Fe(), A.radiusScale = F, l = new oe(e);
348
+ const t = new ae(P, S);
349
+ I = Ie(A.texture, {
350
+ strength: z,
351
+ freq: T
352
+ });
353
+ const i = new re(S, I);
354
+ i.renderToScreen = !0, l.addPass(t), l.addPass(i);
355
+ }
356
+ if (L > 0) {
357
+ l || (l = new oe(e), l.addPass(new ae(P, S)));
358
+ const t = new re(S, new ce("NoiseEffect", "uniform float uTime; uniform float uAmount; float hash(vec2 p){ return fract(sin(dot(p, vec2(127.1,311.7))) * 43758.5453);} void mainUv(inout vec2 uv){} void mainImage(const in vec4 inputColor,const in vec2 uv,out vec4 outputColor){ float n=hash(floor(uv*vec2(1920.0,1080.0))+floor(uTime*60.0)); float g=(n-0.5)*uAmount; outputColor=inputColor+vec4(vec3(g),0.0);} ", { uniforms: /* @__PURE__ */ new Map([["uTime", new b(0)], ["uAmount", new b(L)]]) }));
359
+ t.renderToScreen = !0, l && l.passes.length > 0 && l.passes.forEach((i) => {
360
+ const d = i;
361
+ d.renderToScreen = !1;
362
+ }), l.addPass(t);
363
+ }
364
+ l && l.setSize(e.domElement.width, e.domElement.height);
365
+ const Z = (t) => {
366
+ const i = e.domElement.getBoundingClientRect(), d = e.domElement.width / i.width, g = e.domElement.height / i.height;
367
+ return {
368
+ fx: (t.clientX - i.left) * d,
369
+ fy: (i.height - (t.clientY - i.top)) * g,
370
+ w: e.domElement.width,
371
+ h: e.domElement.height
372
+ };
373
+ }, ve = (t) => {
374
+ const { fx: i, fy: d } = Z(t), g = u.current?.clickIx ?? 0;
375
+ m.uClickPos.value[g].set(i, d), m.uClickTimes.value[g] = m.uTime.value, u.current && (u.current.clickIx = (g + 1) % V);
376
+ }, pe = (t) => {
377
+ if (!A) return;
378
+ const { fx: i, fy: d, w: g, h: H } = Z(t);
379
+ A.addTouch({
380
+ x: i / g,
381
+ y: d / H
382
+ });
383
+ };
384
+ e.domElement.addEventListener("pointerdown", ve, { passive: !0 }), e.domElement.addEventListener("pointermove", pe, { passive: !0 });
385
+ let k = 0, O = 0;
386
+ const ee = 1e3 / 30, D = (t) => {
387
+ if (y && !me.current.visible) {
388
+ k = requestAnimationFrame(D);
389
+ return;
390
+ }
391
+ const i = t - O;
392
+ if (i < ee) {
393
+ k = requestAnimationFrame(D);
394
+ return;
395
+ }
396
+ if (O = t - i % ee, m.uTime.value = Q + j.getElapsedTime() * $.current, I) {
397
+ const d = I.uniforms.get("uTime");
398
+ d && (d.value = m.uTime.value);
399
+ }
400
+ l ? (A && A.update(), l.passes.forEach((d) => {
401
+ const g = d;
402
+ g.effects && g.effects.forEach((H) => {
403
+ const te = H.uniforms?.get("uTime");
404
+ te && (te.value = m.uTime.value);
405
+ });
406
+ }), l.render()) : e.render(P, S), k = requestAnimationFrame(D);
407
+ };
408
+ k = requestAnimationFrame((t) => {
409
+ O = t, D(t);
410
+ }), u.current = {
411
+ renderer: e,
412
+ scene: P,
413
+ camera: S,
414
+ material: K,
415
+ clock: j,
416
+ clickIx: 0,
417
+ uniforms: m,
418
+ resizeObserver: W,
419
+ raf: k,
420
+ quad: Y,
421
+ timeOffset: Q,
422
+ composer: l,
423
+ touch: A,
424
+ liquidEffect: I
425
+ };
426
+ } else {
427
+ const e = u.current;
428
+ if (e.uniforms.uShapeType.value = le[E] ?? 0, e.uniforms.uPixelSize.value = r * e.renderer.getPixelRatio(), e.uniforms.uColor.value.set(a), e.uniforms.uScale.value = v, e.uniforms.uDensity.value = R, e.uniforms.uPixelJitter.value = q, e.uniforms.uEnableRipples.value = B ? 1 : 0, e.uniforms.uRippleIntensity.value = o, e.uniforms.uRippleThickness.value = n, e.uniforms.uRippleSpeed.value = s, e.uniforms.uEdgeFade.value = h, p ? e.renderer.setClearAlpha(0) : e.renderer.setClearColor(0, 1), e.liquidEffect) {
429
+ const m = e.liquidEffect, P = m.uniforms.get("uStrength");
430
+ P && (P.value = z);
431
+ const S = m.uniforms.get("uFreq");
432
+ S && (S.value = T);
433
+ }
434
+ e.touch && (e.touch.radiusScale = F);
435
+ }
436
+ return N.current = X, () => {
437
+ if (u.current && U || !u.current) return;
438
+ const e = u.current;
439
+ e.resizeObserver?.disconnect(), cancelAnimationFrame(e.raf), e.quad?.geometry.dispose(), e.material.dispose(), e.composer?.dispose(), e.renderer.dispose(), e.renderer.domElement.parentElement === w && w.removeChild(e.renderer.domElement), u.current = null;
440
+ };
441
+ }, [
442
+ f,
443
+ M,
444
+ L,
445
+ r,
446
+ v,
447
+ R,
448
+ B,
449
+ o,
450
+ n,
451
+ s,
452
+ q,
453
+ h,
454
+ p,
455
+ z,
456
+ F,
457
+ T,
458
+ y,
459
+ E,
460
+ a,
461
+ x
462
+ ]), /* @__PURE__ */ ue("div", {
463
+ ref: G,
464
+ className: `${ze.container} ${C ?? ""}`,
465
+ style: c,
466
+ "aria-label": "PixelBlast interactive background"
467
+ });
468
+ });
469
+ fe.displayName = "PixelBlast";
470
+ var qe = se((E) => {
471
+ const { currentTheme: r } = he();
472
+ return /* @__PURE__ */ ue(fe, {
473
+ color: ge(() => {
474
+ const a = r.colors.variables.primary || "#B19EEF";
475
+ return ((c) => {
476
+ if (c.startsWith("#")) return c;
477
+ const f = c.match(/rgb\((\d+),\s*(\d+),\s*(\d+)\)/);
478
+ return f ? `#${parseInt(f[1], 10).toString(16).padStart(2, "0")}${parseInt(f[2], 10).toString(16).padStart(2, "0")}${parseInt(f[3], 10).toString(16).padStart(2, "0")}` : c;
479
+ })(a);
480
+ }, [r]),
481
+ variant: "square",
482
+ pixelSize: 6,
483
+ patternScale: 2,
484
+ patternDensity: 1,
485
+ pixelSizeJitter: 0,
486
+ enableRipples: !0,
487
+ rippleSpeed: 0.3,
488
+ rippleThickness: 0.12,
489
+ rippleIntensityScale: 1.2,
490
+ liquid: !1,
491
+ liquidStrength: 0.12,
492
+ liquidRadius: 1.2,
493
+ liquidWobbleSpeed: 5,
494
+ speed: 0.3,
495
+ edgeFade: 0.25,
496
+ transparent: !0,
497
+ antialias: !1,
498
+ ...E
499
+ });
500
+ });
501
+ qe.displayName = "PixelBlastBackground";
502
+ export {
503
+ qe as default
504
+ };
505
+
506
+ //# sourceMappingURL=pixel-blast.mjs.map