@vanelsas/baredom 2.4.1 → 2.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (181) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/README.md +83 -5
  3. package/custom-elements.json +7338 -0
  4. package/dist/baredom.d.ts +97 -0
  5. package/dist/base.js +53 -53
  6. package/dist/integrity.json +87 -87
  7. package/dist/x-alert.d.ts +43 -0
  8. package/dist/x-alert.js +16 -16
  9. package/dist/x-avatar-group.d.ts +18 -0
  10. package/dist/x-avatar-group.js +10 -10
  11. package/dist/x-avatar.d.ts +21 -0
  12. package/dist/x-avatar.js +2 -2
  13. package/dist/x-badge.d.ts +19 -0
  14. package/dist/x-badge.js +7 -7
  15. package/dist/x-bento-grid.d.ts +12 -0
  16. package/dist/x-bento-grid.js +2 -2
  17. package/dist/x-bento-item.d.ts +12 -0
  18. package/dist/x-bento-item.js +4 -4
  19. package/dist/x-breadcrumbs.d.ts +20 -0
  20. package/dist/x-breadcrumbs.js +14 -14
  21. package/dist/x-button.d.ts +45 -0
  22. package/dist/x-button.js +4 -4
  23. package/dist/x-cancel-dialogue.d.ts +50 -0
  24. package/dist/x-cancel-dialogue.js +12 -12
  25. package/dist/x-card.d.ts +39 -0
  26. package/dist/x-card.js +3 -3
  27. package/dist/x-carousel.d.ts +48 -0
  28. package/dist/x-carousel.js +28 -28
  29. package/dist/x-chart.d.ts +23 -0
  30. package/dist/x-chart.js +28 -28
  31. package/dist/x-checkbox.d.ts +45 -0
  32. package/dist/x-checkbox.js +6 -6
  33. package/dist/x-chip.d.ts +41 -0
  34. package/dist/x-chip.js +8 -8
  35. package/dist/x-collapse.d.ts +42 -0
  36. package/dist/x-collapse.js +1 -1
  37. package/dist/x-color-picker.d.ts +47 -0
  38. package/dist/x-color-picker.js +40 -40
  39. package/dist/x-combobox.d.ts +46 -0
  40. package/dist/x-combobox.js +24 -24
  41. package/dist/x-command-palette.d.ts +46 -0
  42. package/dist/x-command-palette.js +24 -24
  43. package/dist/x-container.d.ts +14 -0
  44. package/dist/x-container.js +2 -2
  45. package/dist/x-context-menu.d.ts +17 -0
  46. package/dist/x-context-menu.js +9 -9
  47. package/dist/x-copy.d.ts +51 -0
  48. package/dist/x-copy.js +6 -6
  49. package/dist/x-currency-field.d.ts +51 -0
  50. package/dist/x-currency-field.js +9 -8
  51. package/dist/x-date-picker.d.ts +20 -0
  52. package/dist/x-date-picker.js +8 -8
  53. package/dist/x-divider.d.ts +20 -0
  54. package/dist/x-divider.js +3 -3
  55. package/dist/x-drawer.d.ts +44 -0
  56. package/dist/x-drawer.js +3 -3
  57. package/dist/x-dropdown.d.ts +42 -0
  58. package/dist/x-dropdown.js +9 -9
  59. package/dist/x-fieldset.d.ts +14 -0
  60. package/dist/x-fieldset.js +2 -2
  61. package/dist/x-file-download.d.ts +40 -0
  62. package/dist/x-file-download.js +7 -7
  63. package/dist/x-file-upload.d.ts +46 -0
  64. package/dist/x-file-upload.js +22 -22
  65. package/dist/x-form-field.d.ts +47 -0
  66. package/dist/x-form-field.js +6 -6
  67. package/dist/x-form.d.ts +41 -0
  68. package/dist/x-form.js +3 -3
  69. package/dist/x-gaussian-blur.d.ts +20 -0
  70. package/dist/x-gaussian-blur.js +6 -6
  71. package/dist/x-grid.d.ts +12 -0
  72. package/dist/x-grid.js +3 -3
  73. package/dist/x-icon.d.ts +15 -0
  74. package/dist/x-icon.js +2 -2
  75. package/dist/x-image.d.ts +48 -0
  76. package/dist/x-image.js +6 -6
  77. package/dist/x-kinetic-font.d.ts +48 -0
  78. package/dist/x-kinetic-font.js +11 -11
  79. package/dist/x-kinetic-typography.d.ts +27 -0
  80. package/dist/x-kinetic-typography.js +20 -20
  81. package/dist/x-liquid-dock.d.ts +47 -0
  82. package/dist/x-liquid-dock.js +35 -35
  83. package/dist/x-liquid-fill.d.ts +46 -0
  84. package/dist/x-liquid-fill.js +18 -18
  85. package/dist/x-liquid-glass.d.ts +25 -0
  86. package/dist/x-liquid-glass.js +10 -10
  87. package/dist/x-menu-item.d.ts +41 -0
  88. package/dist/x-menu.d.ts +42 -0
  89. package/dist/x-menu.js +1 -1
  90. package/dist/x-metaball-cursor.d.ts +21 -0
  91. package/dist/x-metaball-cursor.js +9 -9
  92. package/dist/x-modal.d.ts +44 -0
  93. package/dist/x-modal.js +2 -2
  94. package/dist/x-morph-stack.d.ts +46 -0
  95. package/dist/x-morph-stack.js +39 -39
  96. package/dist/x-navbar.d.ts +46 -0
  97. package/dist/x-navbar.js +3 -3
  98. package/dist/x-neural-glow.d.ts +22 -0
  99. package/dist/x-neural-glow.js +2 -2
  100. package/dist/x-notification-center.d.ts +42 -0
  101. package/dist/x-notification-center.js +10 -10
  102. package/dist/x-organic-divider.d.ts +19 -0
  103. package/dist/x-organic-progress.d.ts +45 -0
  104. package/dist/x-organic-progress.js +9 -9
  105. package/dist/x-organic-shape.d.ts +18 -0
  106. package/dist/x-pagination.d.ts +44 -0
  107. package/dist/x-pagination.js +1 -1
  108. package/dist/x-particle-button.d.ts +47 -0
  109. package/dist/x-particle-button.js +7 -7
  110. package/dist/x-popover.d.ts +45 -0
  111. package/dist/x-popover.js +23 -23
  112. package/dist/x-progress-circle.d.ts +41 -0
  113. package/dist/x-progress-circle.js +3 -3
  114. package/dist/x-progress.d.ts +44 -0
  115. package/dist/x-progress.js +3 -3
  116. package/dist/x-radio.d.ts +44 -0
  117. package/dist/x-radio.js +11 -11
  118. package/dist/x-ripple-effect.d.ts +42 -0
  119. package/dist/x-ripple-effect.js +5 -5
  120. package/dist/x-scroll-parallax.d.ts +45 -0
  121. package/dist/x-scroll-parallax.js +3 -3
  122. package/dist/x-scroll-stack.d.ts +46 -0
  123. package/dist/x-scroll-stack.js +6 -6
  124. package/dist/x-scroll-story.d.ts +56 -0
  125. package/dist/x-scroll-story.js +14 -14
  126. package/dist/x-scroll-timeline.d.ts +58 -0
  127. package/dist/x-scroll-timeline.js +43 -43
  128. package/dist/x-scroll.d.ts +51 -0
  129. package/dist/x-scroll.js +14 -14
  130. package/dist/x-search-field.d.ts +47 -0
  131. package/dist/x-search-field.js +15 -14
  132. package/dist/x-select.d.ts +40 -0
  133. package/dist/x-select.js +3 -3
  134. package/dist/x-sidebar.d.ts +40 -0
  135. package/dist/x-sidebar.js +8 -8
  136. package/dist/x-skeleton-group.d.ts +15 -0
  137. package/dist/x-skeleton-group.js +5 -5
  138. package/dist/x-skeleton.d.ts +16 -0
  139. package/dist/x-slider.d.ts +48 -0
  140. package/dist/x-slider.js +5 -5
  141. package/dist/x-soft-body.d.ts +44 -0
  142. package/dist/x-soft-body.js +5 -5
  143. package/dist/x-spacer.d.ts +15 -0
  144. package/dist/x-spacer.js +1 -1
  145. package/dist/x-spinner.d.ts +15 -0
  146. package/dist/x-splash.d.ts +42 -0
  147. package/dist/x-splash.js +3 -3
  148. package/dist/x-stat.d.ts +21 -0
  149. package/dist/x-stat.js +6 -6
  150. package/dist/x-stepper.d.ts +42 -0
  151. package/dist/x-stepper.js +14 -14
  152. package/dist/x-switch.d.ts +44 -0
  153. package/dist/x-switch.js +5 -5
  154. package/dist/x-tab.d.ts +40 -0
  155. package/dist/x-tab.js +7 -7
  156. package/dist/x-table-cell.d.ts +50 -0
  157. package/dist/x-table-cell.js +5 -5
  158. package/dist/x-table-row.d.ts +43 -0
  159. package/dist/x-table-row.js +10 -10
  160. package/dist/x-table.d.ts +124 -0
  161. package/dist/x-table.js +3 -3
  162. package/dist/x-tabs.d.ts +70 -0
  163. package/dist/x-tabs.js +2 -2
  164. package/dist/x-text-area.d.ts +47 -0
  165. package/dist/x-text-area.js +7 -7
  166. package/dist/x-theme.d.ts +15 -0
  167. package/dist/x-timeline-item.d.ts +46 -0
  168. package/dist/x-timeline-item.js +19 -19
  169. package/dist/x-timeline.d.ts +78 -0
  170. package/dist/x-timeline.js +3 -3
  171. package/dist/x-toast.d.ts +45 -0
  172. package/dist/x-toast.js +21 -21
  173. package/dist/x-toaster.d.ts +41 -0
  174. package/dist/x-toaster.js +8 -8
  175. package/dist/x-tooltip.d.ts +43 -0
  176. package/dist/x-tooltip.js +12 -12
  177. package/dist/x-typography.d.ts +16 -0
  178. package/dist/x-typography.js +1 -1
  179. package/dist/x-welcome-tour.d.ts +92 -0
  180. package/dist/x-welcome-tour.js +56 -56
  181. package/package.json +502 -392
@@ -0,0 +1,47 @@
1
+ // x-liquid-dock.d.ts — auto-generated by generate_types.bb, do not edit
2
+
3
+ export function init(): void;
4
+
5
+ export interface XLiquidDockEventMap {
6
+ "x-liquid-dock-select": CustomEvent<{ index: number; item: any; source: string }>;
7
+ }
8
+
9
+ export interface XLiquidDock extends HTMLElement {
10
+ rippleScale: number;
11
+ color: string;
12
+ magnetStrength: number;
13
+ disabled: boolean;
14
+ threshold: string;
15
+ magnetRadius: number;
16
+ bobIntensity: number;
17
+ rippleSpeed: number;
18
+ gap: number;
19
+ position: string;
20
+
21
+ addEventListener<K extends keyof XLiquidDockEventMap>(
22
+ type: K,
23
+ listener: (this: XLiquidDock, ev: XLiquidDockEventMap[K]) => any,
24
+ options?: boolean | AddEventListenerOptions
25
+ ): void;
26
+ addEventListener(
27
+ type: string,
28
+ listener: EventListenerOrEventListenerObject,
29
+ options?: boolean | AddEventListenerOptions
30
+ ): void;
31
+ removeEventListener<K extends keyof XLiquidDockEventMap>(
32
+ type: K,
33
+ listener: (this: XLiquidDock, ev: XLiquidDockEventMap[K]) => any,
34
+ options?: boolean | EventListenerOptions
35
+ ): void;
36
+ removeEventListener(
37
+ type: string,
38
+ listener: EventListenerOrEventListenerObject,
39
+ options?: boolean | EventListenerOptions
40
+ ): void;
41
+ }
42
+
43
+ declare global {
44
+ interface HTMLElementTagNameMap {
45
+ "x-liquid-dock": XLiquidDock;
46
+ }
47
+ }
@@ -1,40 +1,40 @@
1
1
  import { $APP, shadow$provide } from "./base.js";
2
- var cq=function(a){return typeof a==="string"?(a=a.trim().toLowerCase(),$APP.I(bq,a)?a:"bottom"):"bottom"},dq=function(a,b,c,d){return typeof a==="string"?(a=parseFloat(a.trim()),$APP.n(isNaN(a))?b:Math.min(d,Math.max(c,a))):b},eq=function(a){return typeof a==="string"&&a.trim().length>0?a.trim():"1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 18 -7"},fq=function(a){return typeof a==="string"&&a.trim().length>0?a.trim():null},gq=function(a,b){return a+(b-a)*.1},kq=function(a,b,c,d,e,g,h){a=c-a;b=d-b;d=Math.sqrt(a*
3
- a+b*b);e=Math.max(0,1-d/e);c=e*e;g=c*g*20;d=d>.001?1/d:0;return new $APP.R(null,4,[hq,e,$APP.aj,1+c*(h-1),iq,a*d*g*.3,jq,b*d*g*.3],null)},nq=function(a,b){var c=a*a;a=c*28;c=.6+c*.9;switch(b){case "bottom":return new $APP.R(null,3,[lq,0,mq,-a,$APP.aj,c],null);case "top":return new $APP.R(null,3,[lq,0,mq,a,$APP.aj,c],null);case "left":return new $APP.R(null,3,[lq,a,mq,0,$APP.aj,c],null);case "right":return new $APP.R(null,3,[lq,-a,mq,0,$APP.aj,c],null);default:return new $APP.R(null,3,[lq,0,mq,-a,
4
- $APP.aj,c],null)}},pq=function(a,b,c,d){a*=a;var e=12*d*a;return new $APP.R(null,3,[oq,function(){switch(c){case "bottom":return-e;case "top":return e;case "left":return e;case "right":return-e;default:return-e}}(),$APP.$l,5*d*a*b,$APP.aj,1+.12*d*a],null)},vq=function(a){var b=$APP.k(a,"__xLiquidDockModel"),c=qq[0];qq[0]=c+1;var d="goo-"+$APP.T.g(c),e=a.attachShadow({mode:"open"}),g=document.createElement("style"),h=document.createElement("nav"),l=document.createElementNS("http://www.w3.org/2000/svg",
5
- "svg"),m=document.createElement("div"),p=document.createElement("div"),q=document.createElement("slot");a.__xLiquidDockUid=c;g.textContent=rq;h.setAttribute("part","dock");h.setAttribute("role","navigation");h.setAttribute("aria-label","Navigation dock");l.setAttribute("part","filter-svg");l.setAttribute("aria-hidden","true");l.setAttribute("role","presentation");m.setAttribute("part","liquid-layer");m.style.filter="url(#"+$APP.T.g(d)+")";p.setAttribute("part","items");p.appendChild(q);var v=$APP.M(b);
6
- b=$APP.D(v,$APP.ki);c=$APP.D(v,$APP.Sl);v=$APP.D(v,sq);var x=document.createElementNS("http://www.w3.org/2000/svg","defs"),y=document.createElementNS("http://www.w3.org/2000/svg","filter"),A=document.createElementNS("http://www.w3.org/2000/svg","feGaussianBlur"),C=document.createElementNS("http://www.w3.org/2000/svg","feColorMatrix"),E=document.createElementNS("http://www.w3.org/2000/svg","feTurbulence"),H=document.createElementNS("http://www.w3.org/2000/svg","feDisplacementMap");y.setAttribute("id",
2
+ var dq=function(a){return typeof a==="string"?(a=a.trim().toLowerCase(),$APP.I(cq,a)?a:"bottom"):"bottom"},eq=function(a,b,c,d){return typeof a==="string"?(a=parseFloat(a.trim()),$APP.n(isNaN(a))?b:Math.min(d,Math.max(c,a))):b},fq=function(a){return typeof a==="string"&&a.trim().length>0?a.trim():"1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 18 -7"},gq=function(a){return typeof a==="string"&&a.trim().length>0?a.trim():null},hq=function(a,b){return a+(b-a)*.1},lq=function(a,b,c,d,e,g,h){a=c-a;b=d-b;d=Math.sqrt(a*
3
+ a+b*b);e=Math.max(0,1-d/e);c=e*e;g=c*g*20;d=d>.001?1/d:0;return new $APP.R(null,4,[iq,e,$APP.aj,1+c*(h-1),jq,a*d*g*.3,kq,b*d*g*.3],null)},oq=function(a,b){var c=a*a;a=c*28;c=.6+c*.9;switch(b){case "bottom":return new $APP.R(null,3,[mq,0,nq,-a,$APP.aj,c],null);case "top":return new $APP.R(null,3,[mq,0,nq,a,$APP.aj,c],null);case "left":return new $APP.R(null,3,[mq,a,nq,0,$APP.aj,c],null);case "right":return new $APP.R(null,3,[mq,-a,nq,0,$APP.aj,c],null);default:return new $APP.R(null,3,[mq,0,nq,-a,
4
+ $APP.aj,c],null)}},qq=function(a,b,c,d){a*=a;var e=12*d*a;return new $APP.R(null,3,[pq,function(){switch(c){case "bottom":return-e;case "top":return e;case "left":return e;case "right":return-e;default:return-e}}(),$APP.am,5*d*a*b,$APP.aj,1+.12*d*a],null)},wq=function(a){var b=$APP.k(a,"__xLiquidDockModel"),c=rq[0];rq[0]=c+1;var d="goo-"+$APP.T.g(c),e=a.attachShadow({mode:"open"}),g=document.createElement("style"),h=document.createElement("nav"),l=document.createElementNS("http://www.w3.org/2000/svg",
5
+ "svg"),m=document.createElement("div"),p=document.createElement("div"),q=document.createElement("slot");a.__xLiquidDockUid=c;g.textContent=sq;h.setAttribute("part","dock");h.setAttribute("role","navigation");h.setAttribute("aria-label","Navigation dock");l.setAttribute("part","filter-svg");l.setAttribute("aria-hidden","true");l.setAttribute("role","presentation");m.setAttribute("part","liquid-layer");m.style.filter="url(#"+$APP.T.g(d)+")";p.setAttribute("part","items");p.appendChild(q);var v=$APP.M(b);
6
+ b=$APP.D(v,$APP.ki);c=$APP.D(v,$APP.Tl);v=$APP.D(v,tq);var x=document.createElementNS("http://www.w3.org/2000/svg","defs"),y=document.createElementNS("http://www.w3.org/2000/svg","filter"),A=document.createElementNS("http://www.w3.org/2000/svg","feGaussianBlur"),C=document.createElementNS("http://www.w3.org/2000/svg","feColorMatrix"),E=document.createElementNS("http://www.w3.org/2000/svg","feTurbulence"),H=document.createElementNS("http://www.w3.org/2000/svg","feDisplacementMap");y.setAttribute("id",
7
7
  d);y.setAttribute("x","-20%");y.setAttribute("y","-20%");y.setAttribute("width","140%");y.setAttribute("height","140%");A.setAttribute("in","SourceGraphic");A.setAttribute("stdDeviation",""+$APP.T.g(b));A.setAttribute("result","blur");C.setAttribute("in","blur");C.setAttribute("type","matrix");C.setAttribute("values",c);C.setAttribute("result","goo");E.setAttribute("type","fractalNoise");E.setAttribute("baseFrequency","0.015");E.setAttribute("numOctaves","2");E.setAttribute("seed","0");E.setAttribute("result",
8
- "noise");H.setAttribute("in","goo");H.setAttribute("in2","noise");H.setAttribute("scale",""+$APP.T.g(v));H.setAttribute("xChannelSelector","R");H.setAttribute("yChannelSelector","G");y.appendChild(A);y.appendChild(C);y.appendChild(E);y.appendChild(H);x.appendChild(y);l.appendChild(x);d=new $APP.R(null,5,[$APP.il,y,$APP.nj,A,$APP.Tm,C,$APP.Nl,E,$APP.Mj,H],null);h.appendChild(l);h.appendChild(m);h.appendChild(p);e.appendChild(g);e.appendChild(h);e=$APP.Rf($APP.uc([d,new $APP.R(null,6,[$APP.Hi,e,$APP.Bi,
9
- h,$APP.mk,l,tq,m,uq,p,$APP.kj,q],null)]));a.__xLiquidDockRefs=e},Oq=function(a){a=$APP.zf([$APP.Xj,$APP.om,wq,xq,$APP.Wh,$APP.en,yq,$APP.Wi,zq,$APP.ej,Aq],[a.getAttribute("position"),a.getAttribute("blur"),a.getAttribute("magnet-strength"),a.getAttribute("ripple-speed"),a.getAttribute("threshold"),a.getAttribute("color"),a.getAttribute("ripple-scale"),a.getAttribute("gap"),a.getAttribute("bob-intensity"),a.getAttribute("disabled"),a.getAttribute("magnet-radius")]);var b=$APP.M(a);a=$APP.D(b,$APP.ej);
10
- var c=$APP.D(b,Aq),d=$APP.D(b,$APP.Xj),e=$APP.D(b,$APP.om),g=$APP.D(b,wq),h=$APP.D(b,xq),l=$APP.D(b,$APP.Wh),m=$APP.D(b,$APP.en),p=$APP.D(b,yq),q=$APP.D(b,$APP.Wi);b=$APP.D(b,zq);d=cq(d);return $APP.zf([$APP.Oj,Jq,Kq,$APP.Sl,sq,$APP.ki,Lq,$APP.Yj,Mq,$APP.an,Nq,$APP.X],[fq(m),dq(h,.03,.005,.15),dq(b,1,0,2),eq(l),dq(p,8,0,40),dq(e,10,2,30),$APP.B.i(d,"left")||$APP.B.i(d,"right"),dq(q,8,0,40),dq(c,150,40,400),d,dq(g,.6,0,2),a!=null])},Pq=function(a){a=$APP.kj.g($APP.k(a,"__xLiquidDockRefs"));return $APP.n(a)?
11
- a.assignedElements():null},Qq=function(a){var b=$APP.M($APP.k(a,"__xLiquidDockRefs")),c=$APP.D(b,tq);b=function(){var q=Pq(a);return $APP.n(q)?q:[]}().length*2;for(var d=function(){var q=$APP.k(a,"__xLiquidDockBlobs");return $APP.n(q)?q:[]}(),e=function(){var q=$APP.k(a,"__xLiquidDockBlobSt");return $APP.n(q)?q:[]}(),g=d.length,h=g;;)if(h<b){var l=document.createElement("div"),m=$APP.Ud(h);l.className=m?"blob blob-rest":"blob blob-phantom";var p=m?52:44;l.style.width=""+$APP.T.g(p)+"px";l.style.height=
12
- ""+$APP.T.g(p)+"px";c.appendChild(l);d.push(l);e.push(m?{type:"rest"}:{type:"phantom",cpDx:0,cpDy:0,cpScale:.6,cLift:0,cRot:0,cScale:1});h+=1}else break;for(c=g;;)if(c>b)g=d.pop(),e.pop(),$APP.n(g.parentNode)&&g.parentNode.removeChild(g),--c;else break;a.__xLiquidDockBlobs=d;a.__xLiquidDockBlobSt=e},Rq=function(a){var b=$APP.M($APP.k(a,"__xLiquidDockRefs")),c=$APP.D(b,$APP.Bi);b=Pq(a);b=$APP.n(b)?b:[];var d=b.length,e=[];if($APP.n($APP.n(c)?d>0:c)){c=c.getBoundingClientRect();for(var g=0;;)if(g<d){var h=
13
- b[g].getBoundingClientRect();e.push({cx:h.left+h.width/2-c.left,cy:h.top+h.height/2-c.top});g+=1}else break}a.__xLiquidDockItemsR=e;return null},Sq=function(a,b){var c=$APP.M(b);b=$APP.D(c,$APP.Oj);c=$APP.D(c,$APP.Yj);$APP.n(b)?a.style.setProperty("--x-liquid-dock-color",b):a.style.removeProperty("--x-liquid-dock-color");a.style.setProperty("--x-liquid-dock-gap",""+$APP.T.g(c)+"px")},Uq=function(a){$APP.F(window.matchMedia("(prefers-reduced-motion:reduce)").matches)||$APP.n($APP.X.g($APP.k(a,"__xLiquidDockModel")))||
14
- (a.__xLiquidDockSeed=0,$APP.ja(a,"__xLiquidDockRaf",requestAnimationFrame(function(){return Tq(a)})));return null},Vq=function(a){var b=$APP.k(a,"__xLiquidDockRaf");$APP.n(b)&&(cancelAnimationFrame(b),a.__xLiquidDockRaf=null)},Wq=function(a){a=Pq(a);if($APP.n(a))for(var b=a.length,c=0;;)if(c<b)a[c].style.transform="",c+=1;else break},Xq=function(a,b,c,d){var e=Date.now();a.__xLiquidDockBurst=e;b=new CustomEvent("x-liquid-dock-select",{bubbles:!0,composed:!0,cancelable:!0,detail:$APP.Hh(new $APP.R(null,
15
- 3,["index",b,"item",c,"source",d],null))});a.dispatchEvent(b)},Yq=function(a){Qq(a);var b=Pq(a);if($APP.n(b))for(var c=b.length,d=0;;)if(d<c){var e=b[d];e.getAttribute("tabindex")==null&&e.setAttribute("tabindex","0");d+=1}else break;requestAnimationFrame(function(){return Rq(a)});return null},ar=function(a){function b(){return Yq(a)}function c(l){var m=$APP.k(a,"__xLiquidDockModel");if(!$APP.n($APP.X.g(m))){var p=Pq(a),q=$APP.n(p)?p.length:null,v=l.key,x=Lq.g(m);m=$APP.n(x)?"ArrowUp":"ArrowLeft";
16
- x=$APP.n(x)?"ArrowDown":"ArrowRight";var y=$APP.k(a,"__xLiquidDockFocus");y=$APP.n(y)?y:-1;$APP.n($APP.n(q)?q>0:q)&&($APP.B.i(v,m)?(l.preventDefault(),l=y<1?q-1:y-1,a.__xLiquidDockFocus=l,p[l].focus()):$APP.B.i(v,x)?(l.preventDefault(),l=y>=q-1?0:y+1,a.__xLiquidDockFocus=l,p[l].focus()):($APP.B.i(v,"Enter")||$APP.B.i(v," "))&&y>=0&&(l.preventDefault(),Xq(a,y,p[y],"keyboard")))}return null}function d(l){if(!$APP.n($APP.X.g($APP.k(a,"__xLiquidDockModel")))){var m=Pq(a);if($APP.n(m)){a:{l=l.target;for(var p=
17
- m.length,q=0;;)if(q<p){if($APP.B.i(l,m[q])){l=q;break a}q+=1}else{l=null;break a}l=void 0}$APP.n(l)&&Xq(a,l,m[l],"pointer")}}return null}function e(){$APP.k(a,"__xLiquidDockMouse").active=!1;return null}function g(l){var m=$APP.M($APP.k(a,"__xLiquidDockRefs"));m=$APP.D(m,$APP.Bi);if($APP.n(m)){m=m.getBoundingClientRect();var p=$APP.k(a,"__xLiquidDockMouse");p.x=l.clientX-m.left;p.y=l.clientY-m.top;p.active=!0}return null}var h=$APP.M($APP.k(a,"__xLiquidDockRefs"));h=$APP.D(h,$APP.kj);a.addEventListener("pointermove",
18
- g);a.addEventListener("pointerleave",e);a.addEventListener("click",d);a.addEventListener("keydown",c);$APP.n(h)&&h.addEventListener("slotchange",b);$APP.ja(a,"__xLiquidDockHdl",new $APP.R(null,5,[Zq,g,$q,e,$APP.Jk,d,$APP.lk,c,$APP.kj,b],null))},br=function(a){var b=$APP.k(a,"__xLiquidDockHdl");if($APP.n(b)){a.removeEventListener("pointermove",Zq.g(b));a.removeEventListener("pointerleave",$q.g(b));a.removeEventListener("click",$APP.Jk.g(b));a.removeEventListener("keydown",$APP.lk.g(b));var c=$APP.k(a,
19
- "__xLiquidDockRefs");$APP.n(c)&&(c=$APP.M(c),c=$APP.D(c,$APP.kj),$APP.n(c)&&c.removeEventListener("slotchange",$APP.kj.g(b)));a.__xLiquidDockHdl=null}},cr=function(a){Object.defineProperty(a,"position",{get:function(){return cq(this.getAttribute("position"))},set:function(b){return b==null?this.removeAttribute("position"):this.setAttribute("position",""+$APP.T.g(b))},enumerable:!0,configurable:!0});Object.defineProperty(a,"gap",{get:function(){var b=this.getAttribute("gap");return dq(b,8,0,40)},set:function(b){return b==
20
- null?this.removeAttribute("gap"):this.setAttribute("gap",""+$APP.T.g(b))},enumerable:!0,configurable:!0});Object.defineProperty(a,"blur",{get:function(){var b=this.getAttribute("blur");return dq(b,10,2,30)},set:function(b){return b==null?this.removeAttribute("blur"):this.setAttribute("blur",""+$APP.T.g(b))},enumerable:!0,configurable:!0});Object.defineProperty(a,"threshold",{get:function(){return eq(this.getAttribute("threshold"))},set:function(b){return b==null?this.removeAttribute("threshold"):
21
- this.setAttribute("threshold",""+$APP.T.g(b))},enumerable:!0,configurable:!0});Object.defineProperty(a,"rippleScale",{get:function(){var b=this.getAttribute("ripple-scale");return dq(b,8,0,40)},set:function(b){return b==null?this.removeAttribute("ripple-scale"):this.setAttribute("ripple-scale",""+$APP.T.g(b))},enumerable:!0,configurable:!0});Object.defineProperty(a,"rippleSpeed",{get:function(){var b=this.getAttribute("ripple-speed");return dq(b,.03,.005,.15)},set:function(b){return b==null?this.removeAttribute("ripple-speed"):
22
- this.setAttribute("ripple-speed",""+$APP.T.g(b))},enumerable:!0,configurable:!0});Object.defineProperty(a,"color",{get:function(){return fq(this.getAttribute("color"))},set:function(b){return b==null?this.removeAttribute("color"):this.setAttribute("color",""+$APP.T.g(b))},enumerable:!0,configurable:!0});Object.defineProperty(a,"magnetRadius",{get:function(){var b=this.getAttribute("magnet-radius");return dq(b,150,40,400)},set:function(b){return b==null?this.removeAttribute("magnet-radius"):this.setAttribute("magnet-radius",
23
- ""+$APP.T.g(b))},enumerable:!0,configurable:!0});Object.defineProperty(a,"magnetStrength",{get:function(){var b=this.getAttribute("magnet-strength");return dq(b,.6,0,2)},set:function(b){return b==null?this.removeAttribute("magnet-strength"):this.setAttribute("magnet-strength",""+$APP.T.g(b))},enumerable:!0,configurable:!0});Object.defineProperty(a,"bobIntensity",{get:function(){var b=this.getAttribute("bob-intensity");return dq(b,1,0,2)},set:function(b){return b==null?this.removeAttribute("bob-intensity"):
24
- this.setAttribute("bob-intensity",""+$APP.T.g(b))},enumerable:!0,configurable:!0});Object.defineProperty(a,"disabled",{get:function(){return this.hasAttribute("disabled")},set:function(b){return $APP.n(b)?this.setAttribute("disabled",""):this.removeAttribute("disabled")},enumerable:!0,configurable:!0})},er=function(){var a=class extends HTMLElement{};a.observedAttributes=dr;a.prototype.connectedCallback=function(){var b=this,c=Oq(b);b.__xLiquidDockModel=c;$APP.ja(b,"__xLiquidDockMouse",{x:0,y:0,active:!1});
25
- $APP.ja(b,"__xLiquidDockBlobs",[]);$APP.ja(b,"__xLiquidDockBlobSt",[]);$APP.ja(b,"__xLiquidDockItemsR",[]);b.__xLiquidDockFocus=-1;b.__xLiquidDockBurst=0;$APP.n($APP.k(b,"__xLiquidDockRefs"))||vq(b);Sq(b,c);$APP.n(b.hasAttribute("role"))||b.setAttribute("role","navigation");br(b);ar(b);c=$APP.k(b,"__xLiquidDockRO");$APP.n(c)&&c.disconnect();c=new ResizeObserver(function(){Rq(b);return null});b.__xLiquidDockRO=c;c.observe(b);requestAnimationFrame(function(){Qq(b);Rq(b);return Uq(b)});return null};
26
- a.prototype.disconnectedCallback=function(){Vq(this);br(this);Wq(this);var b=$APP.k(this,"__xLiquidDockRO");$APP.n(b)&&(b.disconnect(),this.__xLiquidDockRO=null);return null};a.prototype.attributeChangedCallback=function(b,c,d){if($APP.N(c,d)&&(this.__xLiquidDockModel=b=Oq(this),$APP.n($APP.k(this,"__xLiquidDockRefs")))){d=$APP.M(b);var e=$APP.D(d,$APP.ki);c=$APP.D(d,$APP.Sl);d=$APP.D(d,sq);var g=$APP.k(this,"__xLiquidDockRefs"),h=$APP.nj.g(g);$APP.n(h)&&h.setAttribute("stdDeviation",""+$APP.T.g(e));
27
- e=$APP.Tm.g(g);$APP.n(e)&&e.setAttribute("values",c);c=$APP.Mj.g(g);$APP.n(c)&&c.setAttribute("scale",""+$APP.T.g(d));Sq(this,b);Rq(this);$APP.n($APP.X.g(b))?(Vq(this),Wq(this)):$APP.n($APP.k(this,"__xLiquidDockRaf"))||Uq(this)}return null};cr(a.prototype);return a},fr=function(){$APP.n(customElements.get("x-liquid-dock"))||customElements.define("x-liquid-dock",er());return null},Jq=new $APP.K(null,"ripple-speed","ripple-speed",229709223),sq=new $APP.K(null,"ripple-scale","ripple-scale",-1874116111),
28
- Aq=new $APP.K(null,"magnet-radius-raw","magnet-radius-raw",1386161852),gr=new $APP.K(null,"bobIntensity","bobIntensity",-531647277),uq=new $APP.K(null,"items-div","items-div",-555506089),hr=new $APP.K(null,"magnetStrength","magnetStrength",331224709),ir=new $APP.K(null,"rippleScale","rippleScale",-1633180735),Mq=new $APP.K(null,"magnet-radius","magnet-radius",1447549494),tq=new $APP.K(null,"liquid","liquid",1322031275),$q=new $APP.K(null,"leave","leave",1022579443),hq=new $APP.K(null,"influence",
29
- "influence",1453493017),Lq=new $APP.K(null,"vertical?","vertical?",-1522630444),zq=new $APP.K(null,"bob-intensity-raw","bob-intensity-raw",-669810474),Zq=new $APP.K(null,"move","move",-2110884309),mq=new $APP.K(null,"dy","dy",1719547243),lq=new $APP.K(null,"dx","dx",-381796732),wq=new $APP.K(null,"magnet-strength-raw","magnet-strength-raw",535053898),xq=new $APP.K(null,"ripple-speed-raw","ripple-speed-raw",-1426902422),jr=new $APP.K(null,"rippleSpeed","rippleSpeed",-1816718091),jq=new $APP.K(null,
30
- "ty","ty",158290825),iq=new $APP.K(null,"tx","tx",466630418),Kq=new $APP.K(null,"bob-intensity","bob-intensity",-981181657),oq=new $APP.K(null,"lift","lift",903632035),kr=new $APP.K(null,"magnetRadius","magnetRadius",1616130031),Nq=new $APP.K(null,"magnet-strength","magnet-strength",-1089389895),yq=new $APP.K(null,"ripple-scale-raw","ripple-scale-raw",1254964336);var dr="position gap blur threshold ripple-scale ripple-speed color magnet-radius magnet-strength disabled bob-intensity".split(" ");$APP.Pd(["x-liquid-dock-select",new $APP.R(null,4,[$APP.V,new $APP.R(null,3,[$APP.ai,$APP.W,$APP.tk,new $APP.Sb(null,"Element","Element",1498489072,null),$APP.ql,$APP.Y],null),$APP.Em,!0,$APP.Sm,!0,$APP.jm,!0],null)]);
31
- $APP.zf([ir,$APP.Oj,hr,$APP.Pj,$APP.Sl,kr,gr,$APP.ki,jr,$APP.Yj,$APP.an],[new $APP.R(null,1,[$APP.Z,$APP.W],null),new $APP.R(null,1,[$APP.Z,$APP.Y],null),new $APP.R(null,1,[$APP.Z,$APP.W],null),new $APP.R(null,1,[$APP.Z,$APP.Zj],null),new $APP.R(null,1,[$APP.Z,$APP.Y],null),new $APP.R(null,1,[$APP.Z,$APP.W],null),new $APP.R(null,1,[$APP.Z,$APP.W],null),new $APP.R(null,1,[$APP.Z,$APP.W],null),new $APP.R(null,1,[$APP.Z,$APP.W],null),new $APP.R(null,1,[$APP.Z,$APP.W],null),new $APP.R(null,1,[$APP.Z,
32
- $APP.Y],null)]);var bq=new $APP.S(null,new $APP.R(null,4,["right",null,"top",null,"bottom",null,"left",null],null),null);var qq=[0],rq=":host{display:block;position:fixed;z-index:var("+$APP.T.g("--x-liquid-dock-z-index")+",50);pointer-events:auto;"+$APP.T.g("--x-liquid-dock-color")+':var(--x-color-primary,#6366f1);}:host(:not([position])),:host([position\x3d"bottom"]){bottom:12px;left:50%;transform:translateX(-50%);}:host([position\x3d"top"]){top:12px;left:50%;transform:translateX(-50%);}:host([position\x3d"left"]){left:12px;top:50%;transform:translateY(-50%);}:host([position\x3d"right"]){right:12px;top:50%;transform:translateY(-50%);}[part\x3ddock]{display:flex;align-items:center;gap:var('+
8
+ "noise");H.setAttribute("in","goo");H.setAttribute("in2","noise");H.setAttribute("scale",""+$APP.T.g(v));H.setAttribute("xChannelSelector","R");H.setAttribute("yChannelSelector","G");y.appendChild(A);y.appendChild(C);y.appendChild(E);y.appendChild(H);x.appendChild(y);l.appendChild(x);d=new $APP.R(null,5,[$APP.jl,y,$APP.nj,A,$APP.Um,C,$APP.Ol,E,$APP.Mj,H],null);h.appendChild(l);h.appendChild(m);h.appendChild(p);e.appendChild(g);e.appendChild(h);e=$APP.Rf($APP.uc([d,new $APP.R(null,6,[$APP.Hi,e,$APP.Bi,
9
+ h,$APP.mk,l,uq,m,vq,p,$APP.kj,q],null)]));a.__xLiquidDockRefs=e},Pq=function(a){a=$APP.zf([$APP.Xj,$APP.pm,xq,yq,$APP.Wh,$APP.fn,zq,$APP.Wi,Aq,$APP.ej,Bq],[a.getAttribute("position"),a.getAttribute("blur"),a.getAttribute("magnet-strength"),a.getAttribute("ripple-speed"),a.getAttribute("threshold"),a.getAttribute("color"),a.getAttribute("ripple-scale"),a.getAttribute("gap"),a.getAttribute("bob-intensity"),a.getAttribute("disabled"),a.getAttribute("magnet-radius")]);var b=$APP.M(a);a=$APP.D(b,$APP.ej);
10
+ var c=$APP.D(b,Bq),d=$APP.D(b,$APP.Xj),e=$APP.D(b,$APP.pm),g=$APP.D(b,xq),h=$APP.D(b,yq),l=$APP.D(b,$APP.Wh),m=$APP.D(b,$APP.fn),p=$APP.D(b,zq),q=$APP.D(b,$APP.Wi);b=$APP.D(b,Aq);d=dq(d);return $APP.zf([$APP.Oj,Cq,Lq,$APP.Tl,tq,$APP.ki,Mq,$APP.Yj,Nq,$APP.bn,Oq,$APP.X],[gq(m),eq(h,.03,.005,.15),eq(b,1,0,2),fq(l),eq(p,8,0,40),eq(e,10,2,30),$APP.B.i(d,"left")||$APP.B.i(d,"right"),eq(q,8,0,40),eq(c,150,40,400),d,eq(g,.6,0,2),a!=null])},Qq=function(a){a=$APP.kj.g($APP.k(a,"__xLiquidDockRefs"));return $APP.n(a)?
11
+ a.assignedElements():null},Rq=function(a){var b=$APP.M($APP.k(a,"__xLiquidDockRefs")),c=$APP.D(b,uq);b=function(){var q=Qq(a);return $APP.n(q)?q:[]}().length*2;for(var d=function(){var q=$APP.k(a,"__xLiquidDockBlobs");return $APP.n(q)?q:[]}(),e=function(){var q=$APP.k(a,"__xLiquidDockBlobSt");return $APP.n(q)?q:[]}(),g=d.length,h=g;;)if(h<b){var l=document.createElement("div"),m=$APP.Ud(h);l.className=m?"blob blob-rest":"blob blob-phantom";var p=m?52:44;l.style.width=""+$APP.T.g(p)+"px";l.style.height=
12
+ ""+$APP.T.g(p)+"px";c.appendChild(l);d.push(l);e.push(m?{type:"rest"}:{type:"phantom",cpDx:0,cpDy:0,cpScale:.6,cLift:0,cRot:0,cScale:1});h+=1}else break;for(c=g;;)if(c>b)g=d.pop(),e.pop(),$APP.n(g.parentNode)&&g.parentNode.removeChild(g),--c;else break;a.__xLiquidDockBlobs=d;a.__xLiquidDockBlobSt=e},Sq=function(a){var b=$APP.M($APP.k(a,"__xLiquidDockRefs")),c=$APP.D(b,$APP.Bi);b=Qq(a);b=$APP.n(b)?b:[];var d=b.length,e=[];if($APP.n($APP.n(c)?d>0:c)){c=c.getBoundingClientRect();for(var g=0;;)if(g<d){var h=
13
+ b[g].getBoundingClientRect();e.push({cx:h.left+h.width/2-c.left,cy:h.top+h.height/2-c.top});g+=1}else break}a.__xLiquidDockItemsR=e;return null},Tq=function(a,b){var c=$APP.M(b);b=$APP.D(c,$APP.Oj);c=$APP.D(c,$APP.Yj);$APP.n(b)?a.style.setProperty("--x-liquid-dock-color",b):a.style.removeProperty("--x-liquid-dock-color");a.style.setProperty("--x-liquid-dock-gap",""+$APP.T.g(c)+"px")},Vq=function(a){$APP.F(window.matchMedia("(prefers-reduced-motion:reduce)").matches)||$APP.n($APP.X.g($APP.k(a,"__xLiquidDockModel")))||
14
+ (a.__xLiquidDockSeed=0,$APP.ja(a,"__xLiquidDockRaf",requestAnimationFrame(function(){return Uq(a)})));return null},Wq=function(a){var b=$APP.k(a,"__xLiquidDockRaf");$APP.n(b)&&(cancelAnimationFrame(b),a.__xLiquidDockRaf=null)},Xq=function(a){a=Qq(a);if($APP.n(a))for(var b=a.length,c=0;;)if(c<b)a[c].style.transform="",c+=1;else break},Yq=function(a,b,c,d){var e=Date.now();a.__xLiquidDockBurst=e;b=new CustomEvent("x-liquid-dock-select",{bubbles:!0,composed:!0,cancelable:!0,detail:$APP.Hh(new $APP.R(null,
15
+ 3,["index",b,"item",c,"source",d],null))});a.dispatchEvent(b)},Zq=function(a){Rq(a);var b=Qq(a);if($APP.n(b))for(var c=b.length,d=0;;)if(d<c){var e=b[d];e.getAttribute("tabindex")==null&&e.setAttribute("tabindex","0");d+=1}else break;requestAnimationFrame(function(){return Sq(a)});return null},br=function(a){function b(){return Zq(a)}function c(l){var m=$APP.k(a,"__xLiquidDockModel");if(!$APP.n($APP.X.g(m))){var p=Qq(a),q=$APP.n(p)?p.length:null,v=l.key,x=Mq.g(m);m=$APP.n(x)?"ArrowUp":"ArrowLeft";
16
+ x=$APP.n(x)?"ArrowDown":"ArrowRight";var y=$APP.k(a,"__xLiquidDockFocus");y=$APP.n(y)?y:-1;$APP.n($APP.n(q)?q>0:q)&&($APP.B.i(v,m)?(l.preventDefault(),l=y<1?q-1:y-1,a.__xLiquidDockFocus=l,p[l].focus()):$APP.B.i(v,x)?(l.preventDefault(),l=y>=q-1?0:y+1,a.__xLiquidDockFocus=l,p[l].focus()):($APP.B.i(v,"Enter")||$APP.B.i(v," "))&&y>=0&&(l.preventDefault(),Yq(a,y,p[y],"keyboard")))}return null}function d(l){if(!$APP.n($APP.X.g($APP.k(a,"__xLiquidDockModel")))){var m=Qq(a);if($APP.n(m)){a:{l=l.target;for(var p=
17
+ m.length,q=0;;)if(q<p){if($APP.B.i(l,m[q])){l=q;break a}q+=1}else{l=null;break a}l=void 0}$APP.n(l)&&Yq(a,l,m[l],"pointer")}}return null}function e(){$APP.k(a,"__xLiquidDockMouse").active=!1;return null}function g(l){var m=$APP.M($APP.k(a,"__xLiquidDockRefs"));m=$APP.D(m,$APP.Bi);if($APP.n(m)){m=m.getBoundingClientRect();var p=$APP.k(a,"__xLiquidDockMouse");p.x=l.clientX-m.left;p.y=l.clientY-m.top;p.active=!0}return null}var h=$APP.M($APP.k(a,"__xLiquidDockRefs"));h=$APP.D(h,$APP.kj);a.addEventListener("pointermove",
18
+ g);a.addEventListener("pointerleave",e);a.addEventListener("click",d);a.addEventListener("keydown",c);$APP.n(h)&&h.addEventListener("slotchange",b);$APP.ja(a,"__xLiquidDockHdl",new $APP.R(null,5,[$q,g,ar,e,$APP.Jk,d,$APP.lk,c,$APP.kj,b],null))},cr=function(a){var b=$APP.k(a,"__xLiquidDockHdl");if($APP.n(b)){a.removeEventListener("pointermove",$q.g(b));a.removeEventListener("pointerleave",ar.g(b));a.removeEventListener("click",$APP.Jk.g(b));a.removeEventListener("keydown",$APP.lk.g(b));var c=$APP.k(a,
19
+ "__xLiquidDockRefs");$APP.n(c)&&(c=$APP.M(c),c=$APP.D(c,$APP.kj),$APP.n(c)&&c.removeEventListener("slotchange",$APP.kj.g(b)));a.__xLiquidDockHdl=null}},dr=function(a){Object.defineProperty(a,"position",{get:function(){return dq(this.getAttribute("position"))},set:function(b){return b==null?this.removeAttribute("position"):this.setAttribute("position",""+$APP.T.g(b))},enumerable:!0,configurable:!0});Object.defineProperty(a,"gap",{get:function(){var b=this.getAttribute("gap");return eq(b,8,0,40)},set:function(b){return b==
20
+ null?this.removeAttribute("gap"):this.setAttribute("gap",""+$APP.T.g(b))},enumerable:!0,configurable:!0});Object.defineProperty(a,"blur",{get:function(){var b=this.getAttribute("blur");return eq(b,10,2,30)},set:function(b){return b==null?this.removeAttribute("blur"):this.setAttribute("blur",""+$APP.T.g(b))},enumerable:!0,configurable:!0});Object.defineProperty(a,"threshold",{get:function(){return fq(this.getAttribute("threshold"))},set:function(b){return b==null?this.removeAttribute("threshold"):
21
+ this.setAttribute("threshold",""+$APP.T.g(b))},enumerable:!0,configurable:!0});Object.defineProperty(a,"rippleScale",{get:function(){var b=this.getAttribute("ripple-scale");return eq(b,8,0,40)},set:function(b){return b==null?this.removeAttribute("ripple-scale"):this.setAttribute("ripple-scale",""+$APP.T.g(b))},enumerable:!0,configurable:!0});Object.defineProperty(a,"rippleSpeed",{get:function(){var b=this.getAttribute("ripple-speed");return eq(b,.03,.005,.15)},set:function(b){return b==null?this.removeAttribute("ripple-speed"):
22
+ this.setAttribute("ripple-speed",""+$APP.T.g(b))},enumerable:!0,configurable:!0});Object.defineProperty(a,"color",{get:function(){return gq(this.getAttribute("color"))},set:function(b){return b==null?this.removeAttribute("color"):this.setAttribute("color",""+$APP.T.g(b))},enumerable:!0,configurable:!0});Object.defineProperty(a,"magnetRadius",{get:function(){var b=this.getAttribute("magnet-radius");return eq(b,150,40,400)},set:function(b){return b==null?this.removeAttribute("magnet-radius"):this.setAttribute("magnet-radius",
23
+ ""+$APP.T.g(b))},enumerable:!0,configurable:!0});Object.defineProperty(a,"magnetStrength",{get:function(){var b=this.getAttribute("magnet-strength");return eq(b,.6,0,2)},set:function(b){return b==null?this.removeAttribute("magnet-strength"):this.setAttribute("magnet-strength",""+$APP.T.g(b))},enumerable:!0,configurable:!0});Object.defineProperty(a,"bobIntensity",{get:function(){var b=this.getAttribute("bob-intensity");return eq(b,1,0,2)},set:function(b){return b==null?this.removeAttribute("bob-intensity"):
24
+ this.setAttribute("bob-intensity",""+$APP.T.g(b))},enumerable:!0,configurable:!0});Object.defineProperty(a,"disabled",{get:function(){return this.hasAttribute("disabled")},set:function(b){return $APP.n(b)?this.setAttribute("disabled",""):this.removeAttribute("disabled")},enumerable:!0,configurable:!0})},fr=function(){var a=class extends HTMLElement{};a.observedAttributes=er;a.prototype.connectedCallback=function(){var b=this,c=Pq(b);b.__xLiquidDockModel=c;$APP.ja(b,"__xLiquidDockMouse",{x:0,y:0,active:!1});
25
+ $APP.ja(b,"__xLiquidDockBlobs",[]);$APP.ja(b,"__xLiquidDockBlobSt",[]);$APP.ja(b,"__xLiquidDockItemsR",[]);b.__xLiquidDockFocus=-1;b.__xLiquidDockBurst=0;$APP.n($APP.k(b,"__xLiquidDockRefs"))||wq(b);Tq(b,c);$APP.n(b.hasAttribute("role"))||b.setAttribute("role","navigation");cr(b);br(b);c=$APP.k(b,"__xLiquidDockRO");$APP.n(c)&&c.disconnect();c=new ResizeObserver(function(){Sq(b);return null});b.__xLiquidDockRO=c;c.observe(b);requestAnimationFrame(function(){Rq(b);Sq(b);return Vq(b)});return null};
26
+ a.prototype.disconnectedCallback=function(){Wq(this);cr(this);Xq(this);var b=$APP.k(this,"__xLiquidDockRO");$APP.n(b)&&(b.disconnect(),this.__xLiquidDockRO=null);return null};a.prototype.attributeChangedCallback=function(b,c,d){if($APP.N(c,d)&&(this.__xLiquidDockModel=b=Pq(this),$APP.n($APP.k(this,"__xLiquidDockRefs")))){d=$APP.M(b);var e=$APP.D(d,$APP.ki);c=$APP.D(d,$APP.Tl);d=$APP.D(d,tq);var g=$APP.k(this,"__xLiquidDockRefs"),h=$APP.nj.g(g);$APP.n(h)&&h.setAttribute("stdDeviation",""+$APP.T.g(e));
27
+ e=$APP.Um.g(g);$APP.n(e)&&e.setAttribute("values",c);c=$APP.Mj.g(g);$APP.n(c)&&c.setAttribute("scale",""+$APP.T.g(d));Tq(this,b);Sq(this);$APP.n($APP.X.g(b))?(Wq(this),Xq(this)):$APP.n($APP.k(this,"__xLiquidDockRaf"))||Vq(this)}return null};dr(a.prototype);return a},gr=function(){$APP.n(customElements.get("x-liquid-dock"))||customElements.define("x-liquid-dock",fr());return null},Cq=new $APP.K(null,"ripple-speed","ripple-speed",229709223),tq=new $APP.K(null,"ripple-scale","ripple-scale",-1874116111),
28
+ Bq=new $APP.K(null,"magnet-radius-raw","magnet-radius-raw",1386161852),hr=new $APP.K(null,"bobIntensity","bobIntensity",-531647277),vq=new $APP.K(null,"items-div","items-div",-555506089),ir=new $APP.K(null,"magnetStrength","magnetStrength",331224709),jr=new $APP.K(null,"rippleScale","rippleScale",-1633180735),Nq=new $APP.K(null,"magnet-radius","magnet-radius",1447549494),uq=new $APP.K(null,"liquid","liquid",1322031275),ar=new $APP.K(null,"leave","leave",1022579443),iq=new $APP.K(null,"influence",
29
+ "influence",1453493017),Mq=new $APP.K(null,"vertical?","vertical?",-1522630444),Aq=new $APP.K(null,"bob-intensity-raw","bob-intensity-raw",-669810474),$q=new $APP.K(null,"move","move",-2110884309),nq=new $APP.K(null,"dy","dy",1719547243),mq=new $APP.K(null,"dx","dx",-381796732),xq=new $APP.K(null,"magnet-strength-raw","magnet-strength-raw",535053898),yq=new $APP.K(null,"ripple-speed-raw","ripple-speed-raw",-1426902422),kr=new $APP.K(null,"rippleSpeed","rippleSpeed",-1816718091),kq=new $APP.K(null,
30
+ "ty","ty",158290825),jq=new $APP.K(null,"tx","tx",466630418),Lq=new $APP.K(null,"bob-intensity","bob-intensity",-981181657),pq=new $APP.K(null,"lift","lift",903632035),lr=new $APP.K(null,"magnetRadius","magnetRadius",1616130031),Oq=new $APP.K(null,"magnet-strength","magnet-strength",-1089389895),zq=new $APP.K(null,"ripple-scale-raw","ripple-scale-raw",1254964336);var er="position gap blur threshold ripple-scale ripple-speed color magnet-radius magnet-strength disabled bob-intensity".split(" ");$APP.Pd(["x-liquid-dock-select",new $APP.R(null,4,[$APP.V,new $APP.R(null,3,[$APP.ai,$APP.W,$APP.tk,new $APP.Sb(null,"Element","Element",1498489072,null),$APP.rl,$APP.Y],null),$APP.Fm,!0,$APP.Tm,!0,$APP.km,!0],null)]);
31
+ $APP.zf([jr,$APP.Oj,ir,$APP.Pj,$APP.Tl,lr,hr,$APP.ki,kr,$APP.Yj,$APP.bn],[new $APP.R(null,1,[$APP.Z,$APP.W],null),new $APP.R(null,1,[$APP.Z,$APP.Y],null),new $APP.R(null,1,[$APP.Z,$APP.W],null),new $APP.R(null,1,[$APP.Z,$APP.Zj],null),new $APP.R(null,1,[$APP.Z,$APP.Y],null),new $APP.R(null,1,[$APP.Z,$APP.W],null),new $APP.R(null,1,[$APP.Z,$APP.W],null),new $APP.R(null,1,[$APP.Z,$APP.W],null),new $APP.R(null,1,[$APP.Z,$APP.W],null),new $APP.R(null,1,[$APP.Z,$APP.W],null),new $APP.R(null,1,[$APP.Z,
32
+ $APP.Y],null)]);var cq=new $APP.S(null,new $APP.R(null,4,["right",null,"top",null,"bottom",null,"left",null],null),null);var rq=[0],sq=":host{display:block;position:fixed;z-index:var("+$APP.T.g("--x-liquid-dock-z-index")+",50);pointer-events:auto;"+$APP.T.g("--x-liquid-dock-color")+':var(--x-color-primary,#6366f1);}:host(:not([position])),:host([position\x3d"bottom"]){bottom:12px;left:50%;transform:translateX(-50%);}:host([position\x3d"top"]){top:12px;left:50%;transform:translateX(-50%);}:host([position\x3d"left"]){left:12px;top:50%;transform:translateY(-50%);}:host([position\x3d"right"]){right:12px;top:50%;transform:translateY(-50%);}[part\x3ddock]{display:flex;align-items:center;gap:var('+
33
33
  $APP.T.g("--x-liquid-dock-gap")+",8px);padding:var("+$APP.T.g("--x-liquid-dock-padding")+",8px);border-radius:var("+$APP.T.g("--x-liquid-dock-radius")+",20px);background:var("+$APP.T.g("--x-liquid-dock-bg")+",rgba(255,255,255,0.88));border:1px solid var("+$APP.T.g("--x-liquid-dock-border")+",rgba(148,163,184,0.22));box-shadow:var("+$APP.T.g("--x-liquid-dock-shadow")+',0 8px 24px rgba(15,23,42,0.12));backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);position:relative;outline:none;}:host([position\x3d"left"]) [part\x3ddock],:host([position\x3d"right"]) [part\x3ddock]{flex-direction:column;}[part\x3dfilter-svg]{position:absolute;width:0;height:0;overflow:hidden;pointer-events:none;}[part\x3dliquid-layer]{position:absolute;inset:0;border-radius:inherit;overflow:hidden;pointer-events:none;}.blob{position:absolute;border-radius:50%;will-change:transform;pointer-events:none;background:var('+
34
34
  $APP.T.g("--x-liquid-dock-color")+',#6366f1);top:0;left:0;}.blob-rest{opacity:0.65;}.blob-phantom{opacity:0.5;}[part\x3ditems]{display:flex;align-items:center;gap:inherit;position:relative;z-index:1;}:host([position\x3d"left"]) [part\x3ditems],:host([position\x3d"right"]) [part\x3ditems]{flex-direction:column;}::slotted(*){width:var('+$APP.T.g("--x-liquid-dock-item-size")+",48px);height:var("+$APP.T.g("--x-liquid-dock-item-size")+",48px);display:flex;align-items:center;justify-content:center;cursor:pointer;will-change:transform;position:relative;z-index:1;border:none;background:transparent;color:inherit;font-size:1.4em;transition:none;border-radius:50%;}::slotted(:hover){background:color-mix(in srgb,var("+
35
35
  $APP.T.g("--x-liquid-dock-color")+",#6366f1) 12%,transparent);}::slotted(:focus-visible){outline:2px solid var("+$APP.T.g("--x-liquid-dock-color")+",#6366f1);outline-offset:2px;}@media(prefers-color-scheme:dark){:host{--x-liquid-dock-bg:rgba(15,23,42,0.84);--x-liquid-dock-border:rgba(51,65,85,0.9);--x-liquid-dock-shadow:var(--x-shadow-lg,0 14px 36px rgba(0,0,0,0.35));--x-liquid-dock-color:var(--x-color-primary,#818cf8);}}@media(prefers-reduced-motion:reduce){.blob{transition:none!important;}::slotted(*){transition:none!important;}}",
36
- Tq=function Tq(a){if($APP.n(a.isConnected)){var c=$APP.k(a,"__xLiquidDockModel"),d=$APP.k(a,"__xLiquidDockMouse"),e=$APP.k(a,"__xLiquidDockBlobs"),g=$APP.k(a,"__xLiquidDockBlobSt"),h=$APP.k(a,"__xLiquidDockItemsR"),l=function(){var fb=Pq(a);return $APP.n(fb)?fb:[]}(),m=$APP.sh.i(h.length,l.length),p=$APP.k(d,"x"),q=$APP.k(d,"y"),v=$APP.k(d,"active"),x=Mq.g(c),y=Nq.g(c),A=Kq.g(c),C=$APP.an.g(c),E=1+y*.8,H=function(){var fb=$APP.k(a,"__xLiquidDockSeed");return $APP.n(fb)?fb:0}(),G=Date.now();d=function(){var fb=
37
- $APP.k(a,"__xLiquidDockBurst");return $APP.n(fb)?fb:0}();var J=G-d<300;if(J){G=(1-(G-d)/300)*20;var Q=sq.g(c),aa=$APP.Mj.g($APP.k(a,"__xLiquidDockRefs"));$APP.n(aa)&&aa.setAttribute("scale",""+$APP.T.g(Q+G))}for(G=0;;)if(G<m){Q=h[G];var ka=$APP.k(Q,"cx"),Ca=$APP.k(Q,"cy");aa=G*2;var Pa=aa+1;if(Pa<e.length){Q=hq.g($APP.n(v)?kq(ka,Ca,p,q,x,y,E):new $APP.R(null,4,[hq,0,$APP.aj,1,iq,0,jq,0],null));aa=e[aa];var cb="translate("+$APP.T.g(ka-26)+"px,"+$APP.T.g(Ca-26)+"px)";aa.style.transform=cb;var db=nq(Q,
38
- C);aa=g[Pa];cb=lq.g(db);var ob=mq.g(db);db=$APP.aj.g(db);cb=gq($APP.k(aa,"cpDx"),cb);ob=gq($APP.k(aa,"cpDy"),ob);db=gq($APP.k(aa,"cpScale"),db);aa.cpDx=cb;aa.cpDy=ob;aa.cpScale=db;Pa=e[Pa];Ca="translate("+$APP.T.g(ka-22+cb)+"px,"+$APP.T.g(Ca-22+ob)+"px) scale("+$APP.T.g(db)+")";Pa.style.transform=Ca;Pa=pq(Q,$APP.n(v)?function(){var fb=p-ka;return fb>1?1:fb<-1?-1:0}():0,C,A);cb=gq($APP.k(aa,"cLift"),oq.g(Pa));Ca=gq($APP.k(aa,"cRot"),$APP.$l.g(Pa));Pa=gq($APP.k(aa,"cScale"),$APP.aj.g(Pa));aa.cLift=
39
- cb;aa.cRot=Ca;aa.cScale=Pa;ob=H+G*2.39996;db=1-Q*.7;Q=Math.sin(ob)*1.8*db*A;aa=Math.cos(ob*.7)*.8*db*A;var Nb=Math.sin(ob*1.3)*1.2*db*A;ob=l[G];db=Lq.g(c);cb+=$APP.n(db)?aa:Q;Ca+=Nb;Q=$APP.n(db)?"translate("+$APP.T.g(cb)+"px,"+$APP.T.g(Q)+"px) rotate("+$APP.T.g(Ca)+"deg) scale("+$APP.T.g(Pa)+")":"translate("+$APP.T.g(aa)+"px,"+$APP.T.g(cb)+"px) rotate("+$APP.T.g(Ca)+"deg) scale("+$APP.T.g(Pa)+")";ob.style.transform=Q}G+=1}else break;g=$APP.k(a,"__xLiquidDockSeed")+Jq.g(c);h=$APP.k(a,"__xLiquidDockRefs");
40
- e=.012+.006*Math.sin(g);a.__xLiquidDockSeed=g;g=$APP.Nl.g(h);$APP.n(g)&&g.setAttribute("baseFrequency",""+$APP.T.g(e));!J&&d>0&&(d=$APP.Mj.g($APP.k(a,"__xLiquidDockRefs")),$APP.n(d)&&d.setAttribute("scale",""+$APP.T.g(sq.g(c))),a.__xLiquidDockBurst=0);$APP.ja(a,"__xLiquidDockRaf",requestAnimationFrame(function(){return Tq.g?Tq.g(a):Tq.call(null,a)}))}return null};$APP.ha("baredom.exports.x_liquid_dock.init",fr);export const init=fr;
36
+ Uq=function Uq(a){if($APP.n(a.isConnected)){var c=$APP.k(a,"__xLiquidDockModel"),d=$APP.k(a,"__xLiquidDockMouse"),e=$APP.k(a,"__xLiquidDockBlobs"),g=$APP.k(a,"__xLiquidDockBlobSt"),h=$APP.k(a,"__xLiquidDockItemsR"),l=function(){var gb=Qq(a);return $APP.n(gb)?gb:[]}(),m=$APP.sh.i(h.length,l.length),p=$APP.k(d,"x"),q=$APP.k(d,"y"),v=$APP.k(d,"active"),x=Nq.g(c),y=Oq.g(c),A=Lq.g(c),C=$APP.bn.g(c),E=1+y*.8,H=function(){var gb=$APP.k(a,"__xLiquidDockSeed");return $APP.n(gb)?gb:0}(),G=Date.now();d=function(){var gb=
37
+ $APP.k(a,"__xLiquidDockBurst");return $APP.n(gb)?gb:0}();var J=G-d<300;if(J){G=(1-(G-d)/300)*20;var Q=tq.g(c),aa=$APP.Mj.g($APP.k(a,"__xLiquidDockRefs"));$APP.n(aa)&&aa.setAttribute("scale",""+$APP.T.g(Q+G))}for(G=0;;)if(G<m){Q=h[G];var la=$APP.k(Q,"cx"),Ca=$APP.k(Q,"cy");aa=G*2;var Pa=aa+1;if(Pa<e.length){Q=iq.g($APP.n(v)?lq(la,Ca,p,q,x,y,E):new $APP.R(null,4,[iq,0,$APP.aj,1,jq,0,kq,0],null));aa=e[aa];var db="translate("+$APP.T.g(la-26)+"px,"+$APP.T.g(Ca-26)+"px)";aa.style.transform=db;var eb=oq(Q,
38
+ C);aa=g[Pa];db=mq.g(eb);var pb=nq.g(eb);eb=$APP.aj.g(eb);db=hq($APP.k(aa,"cpDx"),db);pb=hq($APP.k(aa,"cpDy"),pb);eb=hq($APP.k(aa,"cpScale"),eb);aa.cpDx=db;aa.cpDy=pb;aa.cpScale=eb;Pa=e[Pa];Ca="translate("+$APP.T.g(la-22+db)+"px,"+$APP.T.g(Ca-22+pb)+"px) scale("+$APP.T.g(eb)+")";Pa.style.transform=Ca;Pa=qq(Q,$APP.n(v)?function(){var gb=p-la;return gb>1?1:gb<-1?-1:0}():0,C,A);db=hq($APP.k(aa,"cLift"),pq.g(Pa));Ca=hq($APP.k(aa,"cRot"),$APP.am.g(Pa));Pa=hq($APP.k(aa,"cScale"),$APP.aj.g(Pa));aa.cLift=
39
+ db;aa.cRot=Ca;aa.cScale=Pa;pb=H+G*2.39996;eb=1-Q*.7;Q=Math.sin(pb)*1.8*eb*A;aa=Math.cos(pb*.7)*.8*eb*A;var Nb=Math.sin(pb*1.3)*1.2*eb*A;pb=l[G];eb=Mq.g(c);db+=$APP.n(eb)?aa:Q;Ca+=Nb;Q=$APP.n(eb)?"translate("+$APP.T.g(db)+"px,"+$APP.T.g(Q)+"px) rotate("+$APP.T.g(Ca)+"deg) scale("+$APP.T.g(Pa)+")":"translate("+$APP.T.g(aa)+"px,"+$APP.T.g(db)+"px) rotate("+$APP.T.g(Ca)+"deg) scale("+$APP.T.g(Pa)+")";pb.style.transform=Q}G+=1}else break;g=$APP.k(a,"__xLiquidDockSeed")+Cq.g(c);h=$APP.k(a,"__xLiquidDockRefs");
40
+ e=.012+.006*Math.sin(g);a.__xLiquidDockSeed=g;g=$APP.Ol.g(h);$APP.n(g)&&g.setAttribute("baseFrequency",""+$APP.T.g(e));!J&&d>0&&(d=$APP.Mj.g($APP.k(a,"__xLiquidDockRefs")),$APP.n(d)&&d.setAttribute("scale",""+$APP.T.g(tq.g(c))),a.__xLiquidDockBurst=0);$APP.ja(a,"__xLiquidDockRaf",requestAnimationFrame(function(){return Uq.g?Uq.g(a):Uq.call(null,a)}))}return null};$APP.ha("baredom.exports.x_liquid_dock.init",gr);export const init=gr;
@@ -0,0 +1,46 @@
1
+ // x-liquid-fill.d.ts — auto-generated by generate_types.bb, do not edit
2
+
3
+ export function init(): void;
4
+
5
+ export interface XLiquidFillEventMap {
6
+ "x-liquid-fill-progress": CustomEvent<{ progress: number; velocity: number }>;
7
+ }
8
+
9
+ export interface XLiquidFill extends HTMLElement {
10
+ waveIntensity: number;
11
+ disabled: boolean;
12
+ splashIntensity: number;
13
+ mode: string;
14
+ orientation: string;
15
+ theme: string;
16
+ layers: number;
17
+ target: string;
18
+ readonly progress: number;
19
+
20
+ addEventListener<K extends keyof XLiquidFillEventMap>(
21
+ type: K,
22
+ listener: (this: XLiquidFill, ev: XLiquidFillEventMap[K]) => any,
23
+ options?: boolean | AddEventListenerOptions
24
+ ): void;
25
+ addEventListener(
26
+ type: string,
27
+ listener: EventListenerOrEventListenerObject,
28
+ options?: boolean | AddEventListenerOptions
29
+ ): void;
30
+ removeEventListener<K extends keyof XLiquidFillEventMap>(
31
+ type: K,
32
+ listener: (this: XLiquidFill, ev: XLiquidFillEventMap[K]) => any,
33
+ options?: boolean | EventListenerOptions
34
+ ): void;
35
+ removeEventListener(
36
+ type: string,
37
+ listener: EventListenerOrEventListenerObject,
38
+ options?: boolean | EventListenerOptions
39
+ ): void;
40
+ }
41
+
42
+ declare global {
43
+ interface HTMLElementTagNameMap {
44
+ "x-liquid-fill": XLiquidFill;
45
+ }
46
+ }
@@ -1,46 +1,46 @@
1
1
  import { $APP, shadow$provide } from "./base.js";
2
2
  var f8=function(a){function b(d,e){d.push(e);return d}var c=[];return $APP.Xc?$APP.Xc(b,c,a):$APP.Yc.call(null,b,c,a)},h8=function(a){a=typeof a==="string"?a.trim().toLowerCase():null;return $APP.I(g8,a)?a:"vertical"},j8=function(a){a=typeof a==="string"?a.trim().toLowerCase():null;return $APP.I(i8,a)?a:"fill"},l8=function(a){a=typeof a==="string"?a.trim().toLowerCase():null;return $APP.I(k8,a)?a:"gold"},m8=function(a,b){if(typeof a==="string"){a=a.trim();if($APP.B.i(a,""))return b;a=parseFloat(a);
3
- return $APP.n(isNaN(a))?b:Math.min(1,Math.max(0,a))}return b},n8=function(a){if(typeof a==="string"){a=a.trim();if($APP.B.i(a,""))return 3;a=parseInt(a,10);return $APP.n(isNaN(a))?3:Math.min(5,Math.max(2,a))}return 3},r8=function(a,b){b=b>1?a/(b-1):1;return new $APP.R(null,6,[o8,a*2.39996,p8,.7+.6*b,q8,.6+.8*b,$APP.Rl,200-a*30,$APP.Pk,10+a*3,$APP.qi,1],null)},s8=function(a,b,c){b-=c;return b<=0?0:Math.min(1,Math.max(0,a/b))},t8=function(a,b,c){return c<=.001?0:Math.min(1,Math.abs(a-b)/c/2E3)},u8=
3
+ return $APP.n(isNaN(a))?b:Math.min(1,Math.max(0,a))}return b},n8=function(a){if(typeof a==="string"){a=a.trim();if($APP.B.i(a,""))return 3;a=parseInt(a,10);return $APP.n(isNaN(a))?3:Math.min(5,Math.max(2,a))}return 3},r8=function(a,b){b=b>1?a/(b-1):1;return new $APP.R(null,6,[o8,a*2.39996,p8,.7+.6*b,q8,.6+.8*b,$APP.Sl,200-a*30,$APP.Pk,10+a*3,$APP.qi,1],null)},s8=function(a,b,c){b-=c;return b<=0?0:Math.min(1,Math.max(0,a/b))},t8=function(a,b,c){return c<=.001?0:Math.min(1,Math.abs(a-b)/c/2E3)},u8=
4
4
  function(a,b,c,d){return c*(.5*Math.sin(a*6.283185307179586*3+b+d)+.3*Math.sin(a*6.283185307179586*5+b*1.3+d*1.7)+.2*Math.sin(a*6.283185307179586*7+b*.7+d*2.3))},v8=function(a,b,c,d,e,g){b=c+(e*(b-a)-g*c)*d;return[a+b*d,b]},w8=function(a,b,c){return a+(b-a)*c},y8=function(){var a=x8+1;return x8=a},z8=function(){return $APP.F(window.matchMedia("(prefers-reduced-motion:reduce)").matches)},A8=function(a,b){if(typeof b==="string"&&$APP.N(b.trim(),""))a=document.querySelector(b);else a:{for(a=a.parentElement;;)if($APP.n(a)){var c=
5
5
  window.getComputedStyle(a);b=c.getPropertyValue("overflow-y");c=c.getPropertyValue("overflow-x");if($APP.B.i(b,"auto")||$APP.B.i(b,"scroll")||$APP.B.i(c,"auto")||$APP.B.i(c,"scroll"))break a;a=a.parentElement}else{a=null;break a}a=void 0}return a},B8=function(a,b){return a==null?$APP.B.i(b,"horizontal")?[window.scrollX,document.documentElement.scrollWidth,window.innerWidth]:[window.scrollY,document.documentElement.scrollHeight,window.innerHeight]:$APP.B.i(b,"horizontal")?[a.scrollLeft,a.scrollWidth,
6
6
  a.clientWidth]:[a.scrollTop,a.scrollHeight,a.clientHeight]},I8=function(a){var b=y8(),c=a.attachShadow({mode:"open"}),d=document.createElement("style"),e=document.createElement("div"),g=document.createElementNS("http://www.w3.org/2000/svg","svg"),h=document.createElementNS("http://www.w3.org/2000/svg","defs"),l=document.createElementNS("http://www.w3.org/2000/svg","radialGradient"),m=document.createElementNS("http://www.w3.org/2000/svg","stop"),p=document.createElementNS("http://www.w3.org/2000/svg",
7
7
  "stop"),q=document.createElementNS("http://www.w3.org/2000/svg","stop"),v=document.createElementNS("http://www.w3.org/2000/svg","filter"),x=document.createElementNS("http://www.w3.org/2000/svg","feGaussianBlur"),y=document.createElementNS("http://www.w3.org/2000/svg","feSpecularLighting"),A=document.createElementNS("http://www.w3.org/2000/svg","fePointLight"),C=document.createElementNS("http://www.w3.org/2000/svg","feComposite"),E=document.createElementNS("http://www.w3.org/2000/svg","feComposite"),
8
- H=f8(function(){return function Pa(Ca){return new $APP.rd(null,function(){for(;;){var cb=$APP.t(Ca);if(cb){if($APP.Nc(cb)){var db=$APP.yb(cb),ob=$APP.z(db),Nb=$APP.ud(ob);a:{for(var fb=0;;)if(fb<ob){$APP.yc(db,fb);var da=Nb,ta=document.createElementNS("http://www.w3.org/2000/svg","path");da.add(ta);fb+=1}else{db=!0;break a}db=void 0}return db?$APP.xd(Nb.aa(),Pa($APP.zb(cb))):$APP.xd(Nb.aa(),null)}$APP.u(cb);return $APP.od(document.createElementNS("http://www.w3.org/2000/svg","path"),Pa($APP.Yb(cb)))}return null}},
8
+ H=f8(function(){return function Pa(Ca){return new $APP.rd(null,function(){for(;;){var db=$APP.t(Ca);if(db){if($APP.Nc(db)){var eb=$APP.yb(db),pb=$APP.z(eb),Nb=$APP.ud(pb);a:{for(var gb=0;;)if(gb<pb){$APP.yc(eb,gb);var ea=Nb,ta=document.createElementNS("http://www.w3.org/2000/svg","path");ea.add(ta);gb+=1}else{eb=!0;break a}eb=void 0}return eb?$APP.xd(Nb.aa(),Pa($APP.zb(db))):$APP.xd(Nb.aa(),null)}$APP.u(db);return $APP.od(document.createElementNS("http://www.w3.org/2000/svg","path"),Pa($APP.Yb(db)))}return null}},
9
9
  null)}($APP.dg(0,5))}()),G=document.createElement("div"),J=document.createElement("slot"),Q=""+$APP.T.g("xlf-grad-")+$APP.T.g(b),aa=""+$APP.T.g("xlf-spec-")+$APP.T.g(b);d.textContent=C8;e.setAttribute("part","container");g.setAttribute("part","svg");g.setAttribute("viewBox","0 0 300 200");g.setAttribute("preserveAspectRatio","none");g.setAttribute("aria-hidden","true");l.setAttribute("id",Q);l.setAttribute("gradientUnits","userSpaceOnUse");l.setAttribute("cx","150");l.setAttribute("cy","200");l.setAttribute("r",
10
10
  "200");l.setAttribute("fx","150");l.setAttribute("fy","200");m.setAttribute("offset","0%");m.setAttribute("stop-color","var("+$APP.T.g("--x-liquid-fill-color-1")+",#B8860B)");p.setAttribute("offset","50%");p.setAttribute("stop-color","var("+$APP.T.g("--x-liquid-fill-color-2")+",#D4AF37)");q.setAttribute("offset","100%");q.setAttribute("stop-color","var("+$APP.T.g("--x-liquid-fill-color-3")+",#F9F295)");l.appendChild(m);l.appendChild(p);l.appendChild(q);v.setAttribute("id",aa);v.setAttribute("x","-10%");
11
11
  v.setAttribute("y","-10%");v.setAttribute("width","120%");v.setAttribute("height","120%");x.setAttribute("in","SourceAlpha");x.setAttribute("stdDeviation","3");x.setAttribute("result","blur");y.setAttribute("in","blur");y.setAttribute("surfaceScale","5");y.setAttribute("specularConstant","0.75");y.setAttribute("specularExponent","20");y.setAttribute("lighting-color","var("+$APP.T.g("--x-liquid-fill-specular-color")+",rgba(255,255,240,0.6))");y.setAttribute("result","specular");y.appendChild(A);A.setAttribute("x",
12
12
  "90");A.setAttribute("y","-50");A.setAttribute("z","200");C.setAttribute("in","specular");C.setAttribute("in2","SourceAlpha");C.setAttribute("operator","in");C.setAttribute("result","specClip");E.setAttribute("in","SourceGraphic");E.setAttribute("in2","specClip");E.setAttribute("operator","arithmetic");E.setAttribute("k1","0");E.setAttribute("k2","1");E.setAttribute("k3","1");E.setAttribute("k4","0");v.appendChild(x);v.appendChild(y);v.appendChild(C);v.appendChild(E);h.appendChild(l);h.appendChild(v);
13
13
  g.appendChild(h);for(h=0;;)if(h<5)m=H[h],m.setAttribute("class","wave-layer"),m.setAttribute("data-layer",""+$APP.T.g(h)),m.setAttribute("fill","url(#"+$APP.T.g(Q)+")"),m.style.display="none",g.appendChild(m),h+=1;else break;G.setAttribute("part","content");G.appendChild(J);e.appendChild(g);e.appendChild(G);c.appendChild(d);c.appendChild(e);a.__xLiquidFillUid=b;$APP.ja(a,"__xLiquidFillRefs",new $APP.R(null,8,[$APP.Hi,c,$APP.mk,g,D8,H,$APP.zi,G,E8,A,F8,l,G8,aa,H8,Q],null))},Q8=function(a){a=new $APP.R(null,
14
- 8,[$APP.tl,a.getAttribute("target"),$APP.Wl,a.getAttribute("orientation"),$APP.vl,a.getAttribute("mode"),J8,a.getAttribute("theme"),K8,a.getAttribute("wave-intensity"),L8,a.getAttribute("splash-intensity"),M8,a.getAttribute("layers"),$APP.ej,a.getAttribute("disabled")],null);var b=$APP.M(a);a=$APP.D(b,$APP.tl);var c=$APP.D(b,$APP.Wl),d=$APP.D(b,$APP.vl),e=$APP.D(b,J8),g=$APP.D(b,K8),h=$APP.D(b,L8),l=$APP.D(b,M8);b=$APP.D(b,$APP.ej);return new $APP.R(null,8,[$APP.fn,typeof a==="string"&&$APP.N(a.trim(),
15
- "")?a.trim():null,$APP.pl,h8(c),$APP.wj,j8(d),N8,l8(e),O8,m8(g,.5),P8,m8(h,.7),$APP.fj,n8(l),$APP.X,b!=null],null)},R8=function(a,b){var c=new Float64Array(b);a.__xLiquidFillWA=c;c=new Float64Array(b);a.__xLiquidFillWV=c;b=new Float64Array(b);a.__xLiquidFillWP=b},S8=function(a,b){var c=$APP.M($APP.k(a,"__xLiquidFillRefs"));a=$APP.D(c,D8);c=$APP.D(c,G8);for(var d=0;;)if(d<5){var e=a[d];if(d<b){var g=r8(d,b),h=$APP.B.i(d,b-1);e.style.display="";e.setAttribute("opacity",""+$APP.T.g($APP.qi.g(g)));h?
16
- e.setAttribute("filter","url(#"+$APP.T.g(c)+")"):e.removeAttribute("filter")}else e.style.display="none";d+=1}else break},T8=function(a){return $APP.B.i("vertical",$APP.pl.g(a))&&$APP.N("bar",$APP.wj.g(a))},U8=function(a){var b=$APP.k(a,"__xLiquidFillModel"),c=$APP.k(a,"__xLiquidFillW"),d=$APP.k(a,"__xLiquidFillH"),e=$APP.k(a,"__xLiquidFillTime"),g=$APP.k(a,"__xLiquidFillProg"),h=$APP.fj.g(b);b=T8(b);var l=$APP.k(a,"__xLiquidFillWA"),m=$APP.k(a,"__xLiquidFillWP");a=$APP.M($APP.k(a,"__xLiquidFillRefs"));
17
- a=$APP.D(a,D8);if($APP.n($APP.n(c)?$APP.n(d)?c>0&&d>0:d:c))for(var p=0;;)if(p<h){var q=a[p],v=l[p],x=m[p];if(b){var y=d*(1-g),A=c,C=d,E=e,H=[];H.push("M0,"+$APP.T.g((y+u8(0,E,v,x)).toFixed(2)));for(var G=0;;)if(G<10){var J=(G+.5)/10,Q=(G+1)/10,aa=y+u8(J,E,v,x),ka=Q*A;Q=y+u8(Q,E,v,x);H.push("Q"+$APP.T.g((J*A).toFixed(2))+","+$APP.T.g(aa.toFixed(2))+" "+$APP.T.g(ka.toFixed(2))+","+$APP.T.g(Q.toFixed(2)));G+=1}else break;H.push("L"+$APP.T.g(A.toFixed(2))+","+$APP.T.g(C.toFixed(2)));H.push("L0,"+$APP.T.g(C.toFixed(2)));
18
- H.push("Z");q.setAttribute("d",H.join(""))}else{y=c*g;A=d;C=e;E=v;v=x;x=[];x.push("M"+$APP.T.g((y+u8(0,C,E,v)).toFixed(2))+",0");for(H=0;;)if(H<10)G=(H+.5)/10,ka=(H+1)/10,J=G*A,aa=ka*A,ka=y+u8(ka,C,E,v),x.push("Q"+$APP.T.g((y+u8(G,C,E,v)).toFixed(2))+","+$APP.T.g(J.toFixed(2))+" "+$APP.T.g(ka.toFixed(2))+","+$APP.T.g(aa.toFixed(2))),H+=1;else break;x.push("L0,"+$APP.T.g(A.toFixed(2)));x.push("L0,0");x.push("Z");q.setAttribute("d",x.join(""))}p+=1}else break},V8=function(a){var b=$APP.k(a,"__xLiquidFillModel"),
14
+ 8,[$APP.ul,a.getAttribute("target"),$APP.Xl,a.getAttribute("orientation"),$APP.wl,a.getAttribute("mode"),J8,a.getAttribute("theme"),K8,a.getAttribute("wave-intensity"),L8,a.getAttribute("splash-intensity"),M8,a.getAttribute("layers"),$APP.ej,a.getAttribute("disabled")],null);var b=$APP.M(a);a=$APP.D(b,$APP.ul);var c=$APP.D(b,$APP.Xl),d=$APP.D(b,$APP.wl),e=$APP.D(b,J8),g=$APP.D(b,K8),h=$APP.D(b,L8),l=$APP.D(b,M8);b=$APP.D(b,$APP.ej);return new $APP.R(null,8,[$APP.gn,typeof a==="string"&&$APP.N(a.trim(),
15
+ "")?a.trim():null,$APP.ql,h8(c),$APP.wj,j8(d),N8,l8(e),O8,m8(g,.5),P8,m8(h,.7),$APP.fj,n8(l),$APP.X,b!=null],null)},R8=function(a,b){var c=new Float64Array(b);a.__xLiquidFillWA=c;c=new Float64Array(b);a.__xLiquidFillWV=c;b=new Float64Array(b);a.__xLiquidFillWP=b},S8=function(a,b){var c=$APP.M($APP.k(a,"__xLiquidFillRefs"));a=$APP.D(c,D8);c=$APP.D(c,G8);for(var d=0;;)if(d<5){var e=a[d];if(d<b){var g=r8(d,b),h=$APP.B.i(d,b-1);e.style.display="";e.setAttribute("opacity",""+$APP.T.g($APP.qi.g(g)));h?
16
+ e.setAttribute("filter","url(#"+$APP.T.g(c)+")"):e.removeAttribute("filter")}else e.style.display="none";d+=1}else break},T8=function(a){return $APP.B.i("vertical",$APP.ql.g(a))&&$APP.N("bar",$APP.wj.g(a))},U8=function(a){var b=$APP.k(a,"__xLiquidFillModel"),c=$APP.k(a,"__xLiquidFillW"),d=$APP.k(a,"__xLiquidFillH"),e=$APP.k(a,"__xLiquidFillTime"),g=$APP.k(a,"__xLiquidFillProg"),h=$APP.fj.g(b);b=T8(b);var l=$APP.k(a,"__xLiquidFillWA"),m=$APP.k(a,"__xLiquidFillWP");a=$APP.M($APP.k(a,"__xLiquidFillRefs"));
17
+ a=$APP.D(a,D8);if($APP.n($APP.n(c)?$APP.n(d)?c>0&&d>0:d:c))for(var p=0;;)if(p<h){var q=a[p],v=l[p],x=m[p];if(b){var y=d*(1-g),A=c,C=d,E=e,H=[];H.push("M0,"+$APP.T.g((y+u8(0,E,v,x)).toFixed(2)));for(var G=0;;)if(G<10){var J=(G+.5)/10,Q=(G+1)/10,aa=y+u8(J,E,v,x),la=Q*A;Q=y+u8(Q,E,v,x);H.push("Q"+$APP.T.g((J*A).toFixed(2))+","+$APP.T.g(aa.toFixed(2))+" "+$APP.T.g(la.toFixed(2))+","+$APP.T.g(Q.toFixed(2)));G+=1}else break;H.push("L"+$APP.T.g(A.toFixed(2))+","+$APP.T.g(C.toFixed(2)));H.push("L0,"+$APP.T.g(C.toFixed(2)));
18
+ H.push("Z");q.setAttribute("d",H.join(""))}else{y=c*g;A=d;C=e;E=v;v=x;x=[];x.push("M"+$APP.T.g((y+u8(0,C,E,v)).toFixed(2))+",0");for(H=0;;)if(H<10)G=(H+.5)/10,la=(H+1)/10,J=G*A,aa=la*A,la=y+u8(la,C,E,v),x.push("Q"+$APP.T.g((y+u8(G,C,E,v)).toFixed(2))+","+$APP.T.g(J.toFixed(2))+" "+$APP.T.g(la.toFixed(2))+","+$APP.T.g(aa.toFixed(2))),H+=1;else break;x.push("L0,"+$APP.T.g(A.toFixed(2)));x.push("L0,0");x.push("Z");q.setAttribute("d",x.join(""))}p+=1}else break},V8=function(a){var b=$APP.k(a,"__xLiquidFillModel"),
19
19
  c=$APP.k(a,"__xLiquidFillW"),d=$APP.k(a,"__xLiquidFillH");var e=$APP.k(a,"__xLiquidFillProg");e=$APP.n(e)?e:0;var g=$APP.fj.g(b);b=T8(b);a=$APP.M($APP.k(a,"__xLiquidFillRefs"));a=$APP.D(a,D8);if($APP.n($APP.n(c)?$APP.n(d)?c>0&&d>0:d:c))for(var h=0;;)if(h<g){var l=a[h];if(b){var m=d*(1-e);l.setAttribute("d","M0,"+$APP.T.g(m.toFixed(2))+"L"+$APP.T.g(c.toFixed(2))+","+$APP.T.g(m.toFixed(2))+"L"+$APP.T.g(c.toFixed(2))+","+$APP.T.g(d.toFixed(2))+"L0,"+$APP.T.g(d.toFixed(2))+"Z")}else m=c*e,l.setAttribute("d",
20
- "M"+$APP.T.g(m.toFixed(2))+",0L"+$APP.T.g(m.toFixed(2))+","+$APP.T.g(d.toFixed(2))+"L0,"+$APP.T.g(d.toFixed(2))+"L0,0Z");h+=1}else break},X8=function(a,b,c){b=new CustomEvent("x-liquid-fill-progress",{detail:$APP.Hh(new $APP.R(null,2,[$APP.am,b,W8,c],null)),bubbles:!0,composed:!0,cancelable:!1});a.dispatchEvent(b)},Z8=function(a){$APP.n($APP.k(a,"__xLiquidFillRaf"))||($APP.ja(a,"__xLiquidFillLF",performance.now()),$APP.ja(a,"__xLiquidFillRaf",requestAnimationFrame(function(){return Y8(a)})))},$8=
21
- function(a){var b=$APP.k(a,"__xLiquidFillRaf");$APP.n(b)&&(cancelAnimationFrame(b),a.__xLiquidFillRaf=null)},c9=function(a){if($APP.n(function(){var h=a.isConnected;return $APP.n(h)?(h=$APP.k(a,"__xLiquidFillVis"),$APP.n(h)?$APP.r($APP.X.g($APP.k(a,"__xLiquidFillModel"))):h):h}())){var b=$APP.k(a,"__xLiquidFillModel");$APP.k(a,"__xLiquidFillST")==null&&$APP.fn.g(b)!=null&&(b=A8(a,$APP.fn.g(b)),$APP.n(b)&&(a9.g?a9.g(a):a9.call(null,a),a.__xLiquidFillST=b,b9.g?b9.g(a):b9.call(null,a)));var c=$APP.k(a,
22
- "__xLiquidFillModel");b=$APP.k(a,"__xLiquidFillST");var d=$APP.pl.g(c);d=B8(b,d);var e=d[0];b=d[1];d=d[2];var g=performance.now();b=s8(e,b,d);d=t8(e,function(){var h=$APP.k(a,"__xLiquidFillLS");return $APP.n(h)?h:e}(),(g-function(){var h=$APP.k(a,"__xLiquidFillLST");return $APP.n(h)?h:g}())/1E3);a.__xLiquidFillTP=b;$APP.ja(a,"__xLiquidFillSV",Math.max(function(){var h=$APP.k(a,"__xLiquidFillSV");return $APP.n(h)?h:0}(),d));a.__xLiquidFillLS=e;a.__xLiquidFillLST=g;$APP.n(function(){var h=$APP.X.g(c);
20
+ "M"+$APP.T.g(m.toFixed(2))+",0L"+$APP.T.g(m.toFixed(2))+","+$APP.T.g(d.toFixed(2))+"L0,"+$APP.T.g(d.toFixed(2))+"L0,0Z");h+=1}else break},X8=function(a,b,c){b=new CustomEvent("x-liquid-fill-progress",{detail:$APP.Hh(new $APP.R(null,2,[$APP.bm,b,W8,c],null)),bubbles:!0,composed:!0,cancelable:!1});a.dispatchEvent(b)},Z8=function(a){$APP.n($APP.k(a,"__xLiquidFillRaf"))||($APP.ja(a,"__xLiquidFillLF",performance.now()),$APP.ja(a,"__xLiquidFillRaf",requestAnimationFrame(function(){return Y8(a)})))},$8=
21
+ function(a){var b=$APP.k(a,"__xLiquidFillRaf");$APP.n(b)&&(cancelAnimationFrame(b),a.__xLiquidFillRaf=null)},c9=function(a){if($APP.n(function(){var h=a.isConnected;return $APP.n(h)?(h=$APP.k(a,"__xLiquidFillVis"),$APP.n(h)?$APP.r($APP.X.g($APP.k(a,"__xLiquidFillModel"))):h):h}())){var b=$APP.k(a,"__xLiquidFillModel");$APP.k(a,"__xLiquidFillST")==null&&$APP.gn.g(b)!=null&&(b=A8(a,$APP.gn.g(b)),$APP.n(b)&&(a9.g?a9.g(a):a9.call(null,a),a.__xLiquidFillST=b,b9.g?b9.g(a):b9.call(null,a)));var c=$APP.k(a,
22
+ "__xLiquidFillModel");b=$APP.k(a,"__xLiquidFillST");var d=$APP.ql.g(c);d=B8(b,d);var e=d[0];b=d[1];d=d[2];var g=performance.now();b=s8(e,b,d);d=t8(e,function(){var h=$APP.k(a,"__xLiquidFillLS");return $APP.n(h)?h:e}(),(g-function(){var h=$APP.k(a,"__xLiquidFillLST");return $APP.n(h)?h:g}())/1E3);a.__xLiquidFillTP=b;$APP.ja(a,"__xLiquidFillSV",Math.max(function(){var h=$APP.k(a,"__xLiquidFillSV");return $APP.n(h)?h:0}(),d));a.__xLiquidFillLS=e;a.__xLiquidFillLST=g;$APP.n(function(){var h=$APP.X.g(c);
23
23
  return $APP.n(h)?h:z8()}())||Z8(a);$APP.n(function(){var h=$APP.X.g(c);return $APP.n(h)?h:z8()}())&&(a.__xLiquidFillProg=b,V8(a),X8(a,b,d))}return null},b9=function(a){var b=$APP.k(a,"__xLiquidFillHdl");if($APP.n($APP.n(b)?$APP.r($APP.k(b,"scrollAttached")):b)){var c=$APP.k(b,"scroll");a=$APP.k(a,"__xLiquidFillST");$APP.n(a)?a.addEventListener("scroll",c,{passive:!0}):window.addEventListener("scroll",c,{passive:!0});b.scrollAttached=!0}else return null},a9=function(a){var b=$APP.k(a,"__xLiquidFillHdl");
24
- if($APP.n($APP.n(b)?$APP.k(b,"scrollAttached"):b)){var c=$APP.k(b,"scroll");a=$APP.k(a,"__xLiquidFillST");$APP.n(a)?a.removeEventListener("scroll",c):window.removeEventListener("scroll",c);b.scrollAttached=!1}else return null},d9=function(a){var b=$APP.fn.g($APP.k(a,"__xLiquidFillModel")),c=A8(a,b);a.__xLiquidFillST=c;b9(a);c9(a);b!=null&&c==null&&requestAnimationFrame(function(){if($APP.n(a.isConnected)){var d=$APP.fn.g($APP.k(a,"__xLiquidFillModel"));d!=null&&$APP.k(a,"__xLiquidFillST")==null&&
24
+ if($APP.n($APP.n(b)?$APP.k(b,"scrollAttached"):b)){var c=$APP.k(b,"scroll");a=$APP.k(a,"__xLiquidFillST");$APP.n(a)?a.removeEventListener("scroll",c):window.removeEventListener("scroll",c);b.scrollAttached=!1}else return null},d9=function(a){var b=$APP.gn.g($APP.k(a,"__xLiquidFillModel")),c=A8(a,b);a.__xLiquidFillST=c;b9(a);c9(a);b!=null&&c==null&&requestAnimationFrame(function(){if($APP.n(a.isConnected)){var d=$APP.gn.g($APP.k(a,"__xLiquidFillModel"));d!=null&&$APP.k(a,"__xLiquidFillST")==null&&
25
25
  (d=A8(a,d),$APP.n(d)&&(a9(a),a.__xLiquidFillST=d,b9(a),c9(a)))}return null})},e9=function(a){$APP.ja(a,"__xLiquidFillHdl",{scroll:function(){return c9(a)},scrollAttached:!1})},f9=function(a){a9(a);a.__xLiquidFillHdl=null},g9=function(a){var b=new IntersectionObserver(function(c){c=c[0].isIntersecting;a.__xLiquidFillVis=c;$APP.n(c)?(c=$APP.X.g($APP.k(a,"__xLiquidFillModel")),c=$APP.n(c)?c:z8(),$APP.n(c)||Z8(a)):$8(a);return null},{threshold:[0]});b.observe(a);a.__xLiquidFillIO=b;b=new ResizeObserver(function(c){if(c.length>
26
26
  0){var d=c[0].contentRect;c=d.width;d=d.height;if(c>0&&d>0){a.__xLiquidFillW=c;a.__xLiquidFillH=d;var e=$APP.M($APP.k(a,"__xLiquidFillRefs")),g=$APP.D(e,$APP.mk),h=$APP.D(e,E8);e=$APP.D(e,F8);var l=Math.max(c,d);g.setAttribute("viewBox","0 0 "+$APP.T.g(c)+" "+$APP.T.g(d));h.setAttribute("x",""+$APP.T.g(c*.3));e.setAttribute("cx",""+$APP.T.g(c*.5));e.setAttribute("cy",""+$APP.T.g(d));e.setAttribute("r",""+$APP.T.g(l));e.setAttribute("fx",""+$APP.T.g(c*.5));e.setAttribute("fy",""+$APP.T.g(d));c=$APP.X.g($APP.k(a,
27
- "__xLiquidFillModel"));c=$APP.n(c)?c:z8();$APP.n(c)?V8(a):(U8(a),Z8(a))}}return null});b.observe(a);a.__xLiquidFillRO=b},j9=function(a,b){b=$APP.D(h9,b);$APP.n(b)?(a=a.style,a.setProperty("--x-liquid-fill-color-1",$APP.el.g(b)),a.setProperty("--x-liquid-fill-color-2",$APP.fl.g(b)),a.setProperty("--x-liquid-fill-color-3",i9.g(b)),a.setProperty("--x-liquid-fill-specular-color",$APP.ol.g(b))):(a=a.style,a.removeProperty("--x-liquid-fill-color-1"),a.removeProperty("--x-liquid-fill-color-2"),a.removeProperty("--x-liquid-fill-color-3"),
27
+ "__xLiquidFillModel"));c=$APP.n(c)?c:z8();$APP.n(c)?V8(a):(U8(a),Z8(a))}}return null});b.observe(a);a.__xLiquidFillRO=b},j9=function(a,b){b=$APP.D(h9,b);$APP.n(b)?(a=a.style,a.setProperty("--x-liquid-fill-color-1",$APP.fl.g(b)),a.setProperty("--x-liquid-fill-color-2",$APP.gl.g(b)),a.setProperty("--x-liquid-fill-color-3",i9.g(b)),a.setProperty("--x-liquid-fill-specular-color",$APP.pl.g(b))):(a=a.style,a.removeProperty("--x-liquid-fill-color-1"),a.removeProperty("--x-liquid-fill-color-2"),a.removeProperty("--x-liquid-fill-color-3"),
28
28
  a.removeProperty("--x-liquid-fill-specular-color"))},k9=function(a){Object.defineProperty(a,"target",{get:function(){return this.getAttribute("target")},set:function(b){return $APP.n(b)?this.setAttribute("target",""+$APP.T.g(b)):this.removeAttribute("target")},enumerable:!0,configurable:!0});Object.defineProperty(a,"orientation",{get:function(){return h8(this.getAttribute("orientation"))},set:function(b){return $APP.n(b)?this.setAttribute("orientation",""+$APP.T.g(b)):this.removeAttribute("orientation")},
29
29
  enumerable:!0,configurable:!0});Object.defineProperty(a,"mode",{get:function(){return j8(this.getAttribute("mode"))},set:function(b){return $APP.n(b)?this.setAttribute("mode",""+$APP.T.g(b)):this.removeAttribute("mode")},enumerable:!0,configurable:!0});Object.defineProperty(a,"theme",{get:function(){return l8(this.getAttribute("theme"))},set:function(b){return $APP.n(b)?this.setAttribute("theme",""+$APP.T.g(b)):this.removeAttribute("theme")},enumerable:!0,configurable:!0});Object.defineProperty(a,
30
30
  "waveIntensity",{get:function(){var b=this.getAttribute("wave-intensity");return m8(b,.5)},set:function(b){return b==null?this.removeAttribute("wave-intensity"):this.setAttribute("wave-intensity",""+$APP.T.g(b))},enumerable:!0,configurable:!0});Object.defineProperty(a,"splashIntensity",{get:function(){var b=this.getAttribute("splash-intensity");return m8(b,.7)},set:function(b){return b==null?this.removeAttribute("splash-intensity"):this.setAttribute("splash-intensity",""+$APP.T.g(b))},enumerable:!0,
31
31
  configurable:!0});Object.defineProperty(a,"layers",{get:function(){return n8(this.getAttribute("layers"))},set:function(b){return b==null?this.removeAttribute("layers"):this.setAttribute("layers",""+$APP.T.g(b))},enumerable:!0,configurable:!0});Object.defineProperty(a,"disabled",{get:function(){return this.hasAttribute("disabled")},set:function(b){return $APP.n(b)?this.setAttribute("disabled",""):this.removeAttribute("disabled")},enumerable:!0,configurable:!0});Object.defineProperty(a,"progress",
32
32
  {get:function(){var b=$APP.k(this,"__xLiquidFillProg");return $APP.n(b)?b:0},enumerable:!0,configurable:!0})},m9=function(){var a=class extends HTMLElement{};a.observedAttributes=l9;a.prototype.connectedCallback=function(){var b=Q8(this);this.__xLiquidFillModel=b;this.__xLiquidFillTime=this.__xLiquidFillSV=this.__xLiquidFillTP=this.__xLiquidFillProg=0;this.__xLiquidFillLD=-1;this.__xLiquidFillVis=!0;$APP.n($APP.k(this,"__xLiquidFillRefs"))||I8(this);j9(this,N8.g(b));R8(this,$APP.fj.g(b));S8(this,
33
33
  $APP.fj.g(b));f9(this);e9(this);g9(this);d9(this);return null};a.prototype.disconnectedCallback=function(){$8(this);f9(this);var b=$APP.k(this,"__xLiquidFillIO");$APP.n(b)&&(b.disconnect(),this.__xLiquidFillIO=null);b=$APP.k(this,"__xLiquidFillRO");$APP.n(b)&&(b.disconnect(),this.__xLiquidFillRO=null);this.__xLiquidFillVis=!1;return null};a.prototype.attributeChangedCallback=function(b,c,d){if($APP.N(c,d)&&$APP.n($APP.k(this,"__xLiquidFillRefs"))){b=Q8(this);c=$APP.k(this,"__xLiquidFillModel");this.__xLiquidFillModel=
34
- b;if(c==null||$APP.N($APP.fj.g(b),$APP.fj.g(c)))R8(this,$APP.fj.g(b)),S8(this,$APP.fj.g(b));(c==null||$APP.N(N8.g(b),N8.g(c)))&&j9(this,N8.g(b));if(c==null||$APP.N($APP.fn.g(b),$APP.fn.g(c)))a9(this),d9(this);c=$APP.k(this,"__xLiquidFillW");d=$APP.k(this,"__xLiquidFillH");$APP.n($APP.n(c)?$APP.n(d)?c>0&&d>0:d:c)&&(b=$APP.X.g(b),b=$APP.n(b)?b:z8(),$APP.n(b)?($8(this),V8(this)):(U8(this),Z8(this)))}return null};k9(a.prototype);return a},n9=function(){$APP.n(customElements.get("x-liquid-fill"))||customElements.define("x-liquid-fill",
34
+ b;if(c==null||$APP.N($APP.fj.g(b),$APP.fj.g(c)))R8(this,$APP.fj.g(b)),S8(this,$APP.fj.g(b));(c==null||$APP.N(N8.g(b),N8.g(c)))&&j9(this,N8.g(b));if(c==null||$APP.N($APP.gn.g(b),$APP.gn.g(c)))a9(this),d9(this);c=$APP.k(this,"__xLiquidFillW");d=$APP.k(this,"__xLiquidFillH");$APP.n($APP.n(c)?$APP.n(d)?c>0&&d>0:d:c)&&(b=$APP.X.g(b),b=$APP.n(b)?b:z8(),$APP.n(b)?($8(this),V8(this)):(U8(this),Z8(this)))}return null};k9(a.prototype);return a},n9=function(){$APP.n(customElements.get("x-liquid-fill"))||customElements.define("x-liquid-fill",
35
35
  m9());return null},q8=new $APP.K(null,"amp-mult","amp-mult",698045242),E8=new $APP.K(null,"feLight","feLight",-1941454484),p8=new $APP.K(null,"speed-mult","speed-mult",-353631814),M8=new $APP.K(null,"layers-raw","layers-raw",-233899391),o8=new $APP.K(null,"phase-offset","phase-offset",-1013192067),D8=new $APP.K(null,"paths","paths",-1807389588),J8=new $APP.K(null,"theme-raw","theme-raw",1068228849),G8=new $APP.K(null,"filt-id","filt-id",-672558408),O8=new $APP.K(null,"wave-intensity","wave-intensity",
36
36
  -915557489),F8=new $APP.K(null,"grad","grad",1125187229),N8=new $APP.K(null,"theme","theme",-1247880880),i9=new $APP.K(null,"color-3","color-3",265727868),K8=new $APP.K(null,"wave-intensity-raw","wave-intensity-raw",1563162777),H8=new $APP.K(null,"grad-id","grad-id",1430109665),P8=new $APP.K(null,"splash-intensity","splash-intensity",-619909243),W8=new $APP.K(null,"velocity","velocity",-581524355),L8=new $APP.K(null,"splash-intensity-raw","splash-intensity-raw",1573376927);var l9="target orientation mode theme wave-intensity splash-intensity layers disabled".split(" ");
37
- $APP.zf([new $APP.K(null,"waveIntensity","waveIntensity",695633410),$APP.Pj,new $APP.K(null,"splashIntensity","splashIntensity",1275664841),$APP.wj,$APP.pl,N8,$APP.fj,$APP.fn,$APP.am],[new $APP.R(null,1,[$APP.Z,$APP.W],null),new $APP.R(null,1,[$APP.Z,$APP.Zj],null),new $APP.R(null,1,[$APP.Z,$APP.W],null),new $APP.R(null,1,[$APP.Z,$APP.Y],null),new $APP.R(null,1,[$APP.Z,$APP.Y],null),new $APP.R(null,1,[$APP.Z,$APP.Y],null),new $APP.R(null,1,[$APP.Z,$APP.W],null),new $APP.R(null,1,[$APP.Z,$APP.Y],null),
38
- new $APP.R(null,2,[$APP.Z,$APP.W,$APP.wk,!0],null)]);$APP.Pd(["x-liquid-fill-progress",new $APP.R(null,2,[$APP.V,new $APP.R(null,2,[$APP.am,$APP.W,W8,$APP.W],null),$APP.jm,!1],null)]);
39
- var g8=new $APP.S(null,new $APP.R(null,2,["vertical",null,"horizontal",null],null),null),i8=new $APP.S(null,new $APP.R(null,2,["bar",null,"fill",null],null),null),k8=new $APP.S(null,new $APP.R(null,4,["custom",null,"gold",null,"lava",null,"water",null],null),null),h9=new $APP.R(null,3,["gold",new $APP.R(null,4,[$APP.el,"#B8860B",$APP.fl,"#D4AF37",i9,"#F9F295",$APP.ol,"rgba(255,255,240,0.6)"],null),"water",new $APP.R(null,4,[$APP.el,"#0077B6",$APP.fl,"#00B4D8",i9,"#90E0EF",$APP.ol,"rgba(255,255,255,0.5)"],
40
- null),"lava",new $APP.R(null,4,[$APP.el,"#8B0000",$APP.fl,"#FF4500",i9,"#FF8C00",$APP.ol,"rgba(255,255,200,0.7)"],null)],null);var x8=0,C8=":host{display:block;position:relative;overflow:hidden;"+$APP.T.g("--x-liquid-fill-bg")+":transparent;"+$APP.T.g("--x-liquid-fill-border")+":none;"+$APP.T.g("--x-liquid-fill-radius")+":0;"+$APP.T.g("--x-liquid-fill-opacity")+":1;"+$APP.T.g("--x-liquid-fill-wave-speed")+":1;"+$APP.T.g("--x-liquid-fill-color-1")+":#B8860B;"+$APP.T.g("--x-liquid-fill-color-2")+":#D4AF37;"+$APP.T.g("--x-liquid-fill-color-3")+":#F9F295;"+$APP.T.g("--x-liquid-fill-specular-color")+":rgba(255,255,240,0.6);}:host{background:var("+
37
+ $APP.zf([new $APP.K(null,"waveIntensity","waveIntensity",695633410),$APP.Pj,new $APP.K(null,"splashIntensity","splashIntensity",1275664841),$APP.wj,$APP.ql,N8,$APP.fj,$APP.gn,$APP.bm],[new $APP.R(null,1,[$APP.Z,$APP.W],null),new $APP.R(null,1,[$APP.Z,$APP.Zj],null),new $APP.R(null,1,[$APP.Z,$APP.W],null),new $APP.R(null,1,[$APP.Z,$APP.Y],null),new $APP.R(null,1,[$APP.Z,$APP.Y],null),new $APP.R(null,1,[$APP.Z,$APP.Y],null),new $APP.R(null,1,[$APP.Z,$APP.W],null),new $APP.R(null,1,[$APP.Z,$APP.Y],null),
38
+ new $APP.R(null,2,[$APP.Z,$APP.W,$APP.wk,!0],null)]);$APP.Pd(["x-liquid-fill-progress",new $APP.R(null,2,[$APP.V,new $APP.R(null,2,[$APP.bm,$APP.W,W8,$APP.W],null),$APP.km,!1],null)]);
39
+ var g8=new $APP.S(null,new $APP.R(null,2,["vertical",null,"horizontal",null],null),null),i8=new $APP.S(null,new $APP.R(null,2,["bar",null,"fill",null],null),null),k8=new $APP.S(null,new $APP.R(null,4,["custom",null,"gold",null,"lava",null,"water",null],null),null),h9=new $APP.R(null,3,["gold",new $APP.R(null,4,[$APP.fl,"#B8860B",$APP.gl,"#D4AF37",i9,"#F9F295",$APP.pl,"rgba(255,255,240,0.6)"],null),"water",new $APP.R(null,4,[$APP.fl,"#0077B6",$APP.gl,"#00B4D8",i9,"#90E0EF",$APP.pl,"rgba(255,255,255,0.5)"],
40
+ null),"lava",new $APP.R(null,4,[$APP.fl,"#8B0000",$APP.gl,"#FF4500",i9,"#FF8C00",$APP.pl,"rgba(255,255,200,0.7)"],null)],null);var x8=0,C8=":host{display:block;position:relative;overflow:hidden;"+$APP.T.g("--x-liquid-fill-bg")+":transparent;"+$APP.T.g("--x-liquid-fill-border")+":none;"+$APP.T.g("--x-liquid-fill-radius")+":0;"+$APP.T.g("--x-liquid-fill-opacity")+":1;"+$APP.T.g("--x-liquid-fill-wave-speed")+":1;"+$APP.T.g("--x-liquid-fill-color-1")+":#B8860B;"+$APP.T.g("--x-liquid-fill-color-2")+":#D4AF37;"+$APP.T.g("--x-liquid-fill-color-3")+":#F9F295;"+$APP.T.g("--x-liquid-fill-specular-color")+":rgba(255,255,240,0.6);}:host{background:var("+
41
41
  $APP.T.g("--x-liquid-fill-bg")+",transparent);border:var("+$APP.T.g("--x-liquid-fill-border")+",none);border-radius:var("+$APP.T.g("--x-liquid-fill-radius")+",0);}:host([mode\x3dbar]){"+$APP.T.g("--x-liquid-fill-bar-height")+":14px;height:var("+$APP.T.g("--x-liquid-fill-bar-height")+",14px);}[part\x3dcontainer]{position:relative;width:100%;height:100%;overflow:hidden;border-radius:inherit;}[part\x3dsvg]{display:block;width:100%;height:100%;position:absolute;inset:0;pointer-events:none;opacity:var("+
42
42
  $APP.T.g("--x-liquid-fill-opacity")+",1);}[part\x3dcontent]{position:relative;z-index:1;}."+$APP.T.g("wave-layer")+"{transition:none;}@media(prefers-color-scheme:dark){:host{"+$APP.T.g("--x-liquid-fill-bg")+":transparent;"+$APP.T.g("--x-liquid-fill-specular-color")+":rgba(255,255,200,0.4);}}@media(prefers-reduced-motion:reduce){."+$APP.T.g("wave-layer")+"{transition:none!important;}}",Y8=function Y8(a){if(!$APP.r(a.isConnected))if($APP.n(function(){var E=$APP.X.g($APP.k(a,"__xLiquidFillModel"));return $APP.n(E)?
43
43
  E:z8()}()))a.__xLiquidFillRaf=null;else{var c=$APP.k(a,"__xLiquidFillModel"),d=performance.now(),e=Math.min(d-$APP.k(a,"__xLiquidFillLF"),100)/1E3,g=function(){var E=window.getComputedStyle(a).getPropertyValue("--x-liquid-fill-wave-speed");E=typeof E==="string"?parseFloat(E.trim()):null;var H=E==null;H||(H=isNaN(E),H=$APP.n(H)?H:E<=0);return $APP.n(H)?1:E}(),h=$APP.fj.g(c),l=O8.g(c);c=P8.g(c);var m=function(){var E=$APP.k(a,"__xLiquidFillSV");return $APP.n(E)?E:0}(),p=$APP.k(a,"__xLiquidFillWA"),
44
- q=$APP.k(a,"__xLiquidFillWV"),v=$APP.k(a,"__xLiquidFillWP");a.__xLiquidFillLF=d;$APP.ja(a,"__xLiquidFillTime",function(){var E=$APP.k(a,"__xLiquidFillTime");return $APP.n(E)?E:0}()+e*g);$APP.ja(a,"__xLiquidFillProg",w8(function(){var E=$APP.k(a,"__xLiquidFillProg");return $APP.n(E)?E:0}(),function(){var E=$APP.k(a,"__xLiquidFillTP");return $APP.n(E)?E:0}(),5*e));var x=[!1];for(d=0;;)if(d<h){var y=r8(d,h),A=m*l*c*q8.g(y)*30+2*l*q8.g(y);A=v8(p[d],A,q[d],e,$APP.Rl.g(y),$APP.Pk.g(y));p[d]=A[0];q[d]=A[1];
44
+ q=$APP.k(a,"__xLiquidFillWV"),v=$APP.k(a,"__xLiquidFillWP");a.__xLiquidFillLF=d;$APP.ja(a,"__xLiquidFillTime",function(){var E=$APP.k(a,"__xLiquidFillTime");return $APP.n(E)?E:0}()+e*g);$APP.ja(a,"__xLiquidFillProg",w8(function(){var E=$APP.k(a,"__xLiquidFillProg");return $APP.n(E)?E:0}(),function(){var E=$APP.k(a,"__xLiquidFillTP");return $APP.n(E)?E:0}(),5*e));var x=[!1];for(d=0;;)if(d<h){var y=r8(d,h),A=m*l*c*q8.g(y)*30+2*l*q8.g(y);A=v8(p[d],A,q[d],e,$APP.Sl.g(y),$APP.Pk.g(y));p[d]=A[0];q[d]=A[1];
45
45
  v[d]+=e*g*p8.g(y);Math.abs(q[d])>.05&&(x[0]=!0);d+=1}else break;a.__xLiquidFillSV=m*Math.max(0,1-3*e);U8(a);e=$APP.k(a,"__xLiquidFillProg");Math.abs(e-function(){var E=$APP.k(a,"__xLiquidFillLD");return $APP.n(E)?E:-1}())>.005&&(a.__xLiquidFillLD=e,X8(a,e,m));var C=Math.abs(function(){var E=$APP.k(a,"__xLiquidFillProg");return $APP.n(E)?E:0}()-function(){var E=$APP.k(a,"__xLiquidFillTP");return $APP.n(E)?E:0}());$APP.n(function(){var E=x[0];return $APP.n(E)?E:m>.01||C>.001}())?$APP.ja(a,"__xLiquidFillRaf",
46
46
  requestAnimationFrame(function(){return Y8.g?Y8.g(a):Y8.call(null,a)})):a.__xLiquidFillRaf=null}return null};$APP.ha("baredom.exports.x_liquid_fill.init",n9);export const init=n9;
@@ -0,0 +1,25 @@
1
+ // x-liquid-glass.d.ts — auto-generated by generate_types.bb, do not edit
2
+
3
+ export function init(): void;
4
+
5
+ export interface XLiquidGlass extends HTMLElement {
6
+ frost: number;
7
+ goo: number;
8
+ amplitude: number;
9
+ specularSize: number;
10
+ disabled: boolean;
11
+ speed: number;
12
+ mode: string;
13
+ specular: boolean;
14
+ tint: string;
15
+ color2: string;
16
+ blobs: number;
17
+ color1: string;
18
+ specularIntensity: number;
19
+ }
20
+
21
+ declare global {
22
+ interface HTMLElementTagNameMap {
23
+ "x-liquid-glass": XLiquidGlass;
24
+ }
25
+ }
@@ -1,6 +1,6 @@
1
1
  import { $APP, shadow$provide } from "./base.js";
2
2
  var LX=function(a,b,c,d){if(typeof a==="string"){a=a.trim();if($APP.B.i(a,""))return b;a=parseFloat(a);return $APP.n(isNaN(a))?b:Math.min(d,Math.max(c,a))}return b},MX=function(a){if(typeof a==="string"){a=a.trim();if($APP.B.i(a,""))return 5;a=parseInt(a,10);return $APP.n(isNaN(a))?5:Math.min(8,Math.max(3,a))}return 5},NX=function(a){return typeof a==="string"?(a=a.trim(),$APP.N(a,"")?a:null):null},OX=function(a){return typeof a==="string"?(a=a.trim(),$APP.N(a,"")?a:null):null},RX=function(a){a=$APP.D(PX,
3
- typeof a==="string"?a.trim().toLowerCase():null);return $APP.n(a)?a:QX},jY=function(a){var b=$APP.M(a);a=$APP.D(b,$APP.ej);var c=$APP.D(b,SX),d=$APP.D(b,TX),e=$APP.D(b,$APP.om),g=$APP.D(b,UX),h=$APP.D(b,VX),l=$APP.D(b,$APP.vl),m=$APP.D(b,WX),p=$APP.D(b,XX),q=$APP.D(b,YX),v=$APP.D(b,ZX),x=$APP.D(b,$X),y=$APP.D(b,aY);b=$APP.D(b,bY);return $APP.zf([cY,dY,eY,$APP.Gj,$APP.wj,fY,gY,hY,$APP.fl,$APP.ki,$APP.el,$APP.Om,iY,$APP.X],[LX(q,.5,0,1),LX(y,10,4,20),LX(h,.15,.05,.4),LX(p,.3,.05,2),RX(l),NX(d),LX(c,
3
+ typeof a==="string"?a.trim().toLowerCase():null);return $APP.n(a)?a:QX},jY=function(a){var b=$APP.M(a);a=$APP.D(b,$APP.ej);var c=$APP.D(b,SX),d=$APP.D(b,TX),e=$APP.D(b,$APP.pm),g=$APP.D(b,UX),h=$APP.D(b,VX),l=$APP.D(b,$APP.wl),m=$APP.D(b,WX),p=$APP.D(b,XX),q=$APP.D(b,YX),v=$APP.D(b,ZX),x=$APP.D(b,$X),y=$APP.D(b,aY);b=$APP.D(b,bY);return $APP.zf([cY,dY,eY,$APP.Gj,$APP.wj,fY,gY,hY,$APP.gl,$APP.ki,$APP.fl,$APP.Pm,iY,$APP.X],[LX(q,.5,0,1),LX(y,10,4,20),LX(h,.15,.05,.4),LX(p,.3,.05,2),RX(l),NX(d),LX(c,
4
4
  .4,.1,1),b!=null,function(){var A=OX(v);return $APP.n(A)?A:"rgba(244,114,182,0.35)"}(),LX(e,12,0,40),function(){var A=OX(x);return $APP.n(A)?A:"rgba(99,102,241,0.4)"}(),MX(g),LX(m,.3,0,1),a!=null])},kY=function(a,b,c){return Math.sin(a*1.7+c*.3)*Math.cos(b*2.3+c*.5)*.5+Math.sin(a*3.1-c*.7)*Math.cos(b*1.3+c*.2)*.25+Math.sin(a*5.3+c*.4)*Math.cos(b*4.7-c*.6)*.125},mY=function(){var a=$APP.k(lY,"v");lY.v=a+1;return a},nY=function(){return $APP.F(window.matchMedia("(prefers-reduced-motion:reduce)").matches)},
5
5
  uY=function(a){var b=mY(),c=a.attachShadow({mode:"open"}),d=document.createElement("style"),e=document.createElementNS("http://www.w3.org/2000/svg","svg"),g=document.createElementNS("http://www.w3.org/2000/svg","defs"),h=document.createElementNS("http://www.w3.org/2000/svg","filter"),l=document.createElementNS("http://www.w3.org/2000/svg","feGaussianBlur"),m=document.createElementNS("http://www.w3.org/2000/svg","feColorMatrix"),p=document.createElementNS("http://www.w3.org/2000/svg","g"),q=document.createElementNS("http://www.w3.org/2000/svg",
6
6
  "ellipse"),v=document.createElement("div"),x=document.createElement("div"),y=document.createElement("div"),A=document.createElement("div"),C=document.createElement("div"),E=document.createElement("slot"),H="lg-goo-"+$APP.T.g(b);a.__xLiquidGlassUID=b;d.textContent=":host{display:block;position:relative;isolation:isolate;min-width:120px;min-height:80px;"+$APP.T.g("--x-liquid-glass-padding")+":1.5rem;"+$APP.T.g("--x-liquid-glass-specular-color")+":rgba(255,255,255,0.6);"+$APP.T.g("--x-liquid-glass-spring")+
@@ -17,21 +17,21 @@ $APP.T.g(b),J=document.createElementNS("http://www.w3.org/2000/svg","stop"),Q=do
17
17
  "0.6");J.setAttribute("numOctaves","3");J.setAttribute("stitchTiles","stitch");Q.setAttribute("type","matrix");Q.setAttribute("values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.05 0");m.appendChild(J);m.appendChild(Q);g.appendChild(m);a.__xLiquidGlassGrainId=G;m=document.createElementNS("http://www.w3.org/2000/svg","mask");b="lg-mask-"+$APP.T.g(b);G=document.createElementNS("http://www.w3.org/2000/svg","g");J=document.createElementNS("http://www.w3.org/2000/svg","ellipse");m.setAttribute("id",b);
18
18
  m.setAttribute("maskUnits","userSpaceOnUse");m.setAttribute("maskContentUnits","userSpaceOnUse");G.setAttribute("filter","url(#"+$APP.T.g(H)+")");J.setAttribute("fill","white");G.appendChild(J);m.appendChild(G);g.appendChild(m);a.__xLiquidGlassMaskG=G;a.__xLiquidGlassMaskCore=J;$APP.ja(a,"__xLiquidGlassMaskSats",[]);a.__xLiquidGlassMaskId=b;v.setAttribute("part","glass");g="url(#"+$APP.T.g($APP.k(a,"__xLiquidGlassMaskId"))+")";v.style.mask=g;v.style.webkitMask=g;x.setAttribute("part","grain");x.style.filter=
19
19
  "url(#"+$APP.T.g($APP.k(a,"__xLiquidGlassGrainId"))+")";g="url(#"+$APP.T.g($APP.k(a,"__xLiquidGlassMaskId"))+")";x.style.mask=g;x.style.webkitMask=g;y.setAttribute("part","gradient");g="url(#"+$APP.T.g($APP.k(a,"__xLiquidGlassMaskId"))+")";y.style.mask=g;y.style.webkitMask=g;A.setAttribute("part","specular");g="url(#"+$APP.T.g($APP.k(a,"__xLiquidGlassMaskId"))+")";A.style.mask=g;A.style.webkitMask=g;C.setAttribute("part","content");C.appendChild(E);c.appendChild(d);c.appendChild(v);c.appendChild(e);
20
- c.appendChild(x);c.appendChild(y);c.appendChild(A);c.appendChild(C);a.setAttribute("data-entering","");setTimeout(function(){return a.removeAttribute("data-entering")},700);$APP.ja(a,"__xLiquidGlassRefs",$APP.zf([$APP.zi,$APP.ol,oY,$APP.Pl,pY,qY,$APP.ki,$APP.Hi,rY,$APP.mk,sY,tY],[C,A,v,p,h,[],l,c,y,e,q,x]))},vY=function(a,b,c){var d=$APP.Om.g($APP.k(a,"__xLiquidGlassModel")),e=b/2,g=c/2,h=b*.32,l=c*.32,m=h*.55,p=l*.55;var q=h*.9;for(var v=l*.9,x=new Float64Array(d),y=new Float64Array(d),A=0;;)if(A<
20
+ c.appendChild(x);c.appendChild(y);c.appendChild(A);c.appendChild(C);a.setAttribute("data-entering","");setTimeout(function(){return a.removeAttribute("data-entering")},700);$APP.ja(a,"__xLiquidGlassRefs",$APP.zf([$APP.zi,$APP.pl,oY,$APP.Ql,pY,qY,$APP.ki,$APP.Hi,rY,$APP.mk,sY,tY],[C,A,v,p,h,[],l,c,y,e,q,x]))},vY=function(a,b,c){var d=$APP.Pm.g($APP.k(a,"__xLiquidGlassModel")),e=b/2,g=c/2,h=b*.32,l=c*.32,m=h*.55,p=l*.55;var q=h*.9;for(var v=l*.9,x=new Float64Array(d),y=new Float64Array(d),A=0;;)if(A<
21
21
  d){var C=2*Math.PI*(A/d);x[A]=e+q*Math.cos(C);y[A]=g+v*Math.sin(C);A+=1}else break;q=[x,y];v=$APP.M($APP.k(a,"__xLiquidGlassRefs"));v=$APP.D(v,sY);v.setAttribute("cx",""+$APP.T.g(e));v.setAttribute("cy",""+$APP.T.g(g));v.setAttribute("rx",""+$APP.T.g(h));v.setAttribute("ry",""+$APP.T.g(l));v=$APP.k(a,"__xLiquidGlassMaskCore");$APP.n(v)&&(v.setAttribute("cx",""+$APP.T.g(e)),v.setAttribute("cy",""+$APP.T.g(g)),v.setAttribute("rx",""+$APP.T.g(h)),v.setAttribute("ry",""+$APP.T.g(l)));b*=.44;c*=.44;h=
22
- $APP.k(a,"__xLiquidGlassBorderCore");$APP.n(h)&&(h.setAttribute("cx",""+$APP.T.g(e)),h.setAttribute("cy",""+$APP.T.g(g)),h.setAttribute("rx",""+$APP.T.g(b)),h.setAttribute("ry",""+$APP.T.g(c)));g=$APP.k(a,"__xLiquidGlassRefs");e=$APP.Pl.g(g);g=qY.g(g);c=$APP.k(a,"__xLiquidGlassMaskG");b=$APP.k(a,"__xLiquidGlassMaskSats");for(h=g.length-1;;)if(h>=d)e.removeChild(g[h]),$APP.n(c)&&c.removeChild(b[h]),--h;else break;g.length>d&&(g.length=d,$APP.n(b)&&(b.length=d));for(h=g.length;;)if(h<d)l=document.createElementNS("http://www.w3.org/2000/svg",
22
+ $APP.k(a,"__xLiquidGlassBorderCore");$APP.n(h)&&(h.setAttribute("cx",""+$APP.T.g(e)),h.setAttribute("cy",""+$APP.T.g(g)),h.setAttribute("rx",""+$APP.T.g(b)),h.setAttribute("ry",""+$APP.T.g(c)));g=$APP.k(a,"__xLiquidGlassRefs");e=$APP.Ql.g(g);g=qY.g(g);c=$APP.k(a,"__xLiquidGlassMaskG");b=$APP.k(a,"__xLiquidGlassMaskSats");for(h=g.length-1;;)if(h>=d)e.removeChild(g[h]),$APP.n(c)&&c.removeChild(b[h]),--h;else break;g.length>d&&(g.length=d,$APP.n(b)&&(b.length=d));for(h=g.length;;)if(h<d)l=document.createElementNS("http://www.w3.org/2000/svg",
23
23
  "ellipse"),l.setAttribute("class","blob-sat-"+$APP.T.g(h)),l.setAttribute("fill","#ffffff"),e.appendChild(l),g.push(l),$APP.n(c)&&(l=document.createElementNS("http://www.w3.org/2000/svg","ellipse"),l.setAttribute("fill","white"),c.appendChild(l),b.push(l)),h+=1;else break;e=$APP.M($APP.k(a,"__xLiquidGlassRefs"));e=$APP.D(e,qY);g=$APP.k(a,"__xLiquidGlassMaskSats");for(c=0;;)if(c<d)b=e[c],b.setAttribute("rx",""+$APP.T.g(m)),b.setAttribute("ry",""+$APP.T.g(p)),$APP.n($APP.n(g)?c<g.length:g)&&(b=g[c],
24
- b.setAttribute("rx",""+$APP.T.g(m)),b.setAttribute("ry",""+$APP.T.g(p))),c+=1;else break;a.__xLiquidGlassRX=q[0];a.__xLiquidGlassRY=q[1]},xY=function(a){var b=$APP.k(a,"__xLiquidGlassModel"),c=$APP.k(a,"__xLiquidGlassRefs"),d=$APP.ki.g(c),e=oY.g(c),g=$APP.ol.g(c),h=sY.g(c),l=$APP.Pl.g(c);d.setAttribute("stdDeviation",""+$APP.T.g(dY.g(b)));e.style.setProperty("--x-liquid-glass-blur",""+$APP.T.g($APP.ki.g(b))+"px");h.setAttribute("fill","#ffffff");d=qY.g(c);e=d.length;for(h=0;;)if(h<e)d[h].setAttribute("fill",
24
+ b.setAttribute("rx",""+$APP.T.g(m)),b.setAttribute("ry",""+$APP.T.g(p))),c+=1;else break;a.__xLiquidGlassRX=q[0];a.__xLiquidGlassRY=q[1]},xY=function(a){var b=$APP.k(a,"__xLiquidGlassModel"),c=$APP.k(a,"__xLiquidGlassRefs"),d=$APP.ki.g(c),e=oY.g(c),g=$APP.pl.g(c),h=sY.g(c),l=$APP.Ql.g(c);d.setAttribute("stdDeviation",""+$APP.T.g(dY.g(b)));e.style.setProperty("--x-liquid-glass-blur",""+$APP.T.g($APP.ki.g(b))+"px");h.setAttribute("fill","#ffffff");d=qY.g(c);e=d.length;for(h=0;;)if(h<e)d[h].setAttribute("fill",
25
25
  "#ffffff"),h+=1;else break;h=$APP.B.i(wY,$APP.wj.g(b));d=$APP.zi.g(c);c=tY.g(c);e="url(#"+$APP.T.g($APP.k(a,"__xLiquidGlassMaskId"))+")";if(h){d.style.position="relative";d.style.zIndex="0";h=cY.g(b);var m=1-h*.5,p=h*.35,q=h*.2;d.style.filter="blur("+$APP.T.g((h*2).toFixed(1))+"px)";d.style.opacity=""+$APP.T.g(m.toFixed(2));d.style.mask=e;d.style.webkitMask=e;l.setAttribute("opacity",p.toFixed(2));$APP.n(c)&&(c.style.opacity=q.toFixed(2));a.style.contain="layout style"}else d.style.position="relative",
26
- d.style.zIndex="3",d.style.filter="",d.style.opacity="",d.style.mask="",d.style.webkitMask="",l.setAttribute("opacity","0.35"),$APP.n(c)&&(c.style.opacity="0.4"),a.style.contain="";$APP.n(hY.g(b))||(g.style.opacity="0")},yY=function(a,b){var c=$APP.k(a,"__xLiquidGlassModel"),d=$APP.Om.g(c),e=$APP.Gj.g(c);c=eY.g(c)*(Math.min($APP.k(a,"__xLiquidGlassW"),$APP.k(a,"__xLiquidGlassH"))*.32)*.6;var g=$APP.k(a,"__xLiquidGlassRX"),h=$APP.k(a,"__xLiquidGlassRY"),l=$APP.M($APP.k(a,"__xLiquidGlassRefs"));l=$APP.D(l,
27
- qY);a=$APP.k(a,"__xLiquidGlassMaskSats");for(var m=0;;)if(m<d){var p=m*2.39996;var q=[g[m]+c*kY(p,0,b*e),h[m]+c*kY(0,p,b*e)];p=q[0].toFixed(2);q=q[1].toFixed(2);var v=l[m];v.setAttribute("cx",p);v.setAttribute("cy",q);$APP.n($APP.n(a)?m<a.length:a)&&(v=a[m],v.setAttribute("cx",p),v.setAttribute("cy",q));m+=1}else break},zY=function(a){var b=$APP.k(a,"__xLiquidGlassModel"),c=$APP.ol.g($APP.k(a,"__xLiquidGlassRefs"));if($APP.n(hY.g(b))){var d=$APP.k(a,"__xLiquidGlassPA"),e=$APP.k(a,"__xLiquidGlassPX"),
26
+ d.style.zIndex="3",d.style.filter="",d.style.opacity="",d.style.mask="",d.style.webkitMask="",l.setAttribute("opacity","0.35"),$APP.n(c)&&(c.style.opacity="0.4"),a.style.contain="";$APP.n(hY.g(b))||(g.style.opacity="0")},yY=function(a,b){var c=$APP.k(a,"__xLiquidGlassModel"),d=$APP.Pm.g(c),e=$APP.Gj.g(c);c=eY.g(c)*(Math.min($APP.k(a,"__xLiquidGlassW"),$APP.k(a,"__xLiquidGlassH"))*.32)*.6;var g=$APP.k(a,"__xLiquidGlassRX"),h=$APP.k(a,"__xLiquidGlassRY"),l=$APP.M($APP.k(a,"__xLiquidGlassRefs"));l=$APP.D(l,
27
+ qY);a=$APP.k(a,"__xLiquidGlassMaskSats");for(var m=0;;)if(m<d){var p=m*2.39996;var q=[g[m]+c*kY(p,0,b*e),h[m]+c*kY(0,p,b*e)];p=q[0].toFixed(2);q=q[1].toFixed(2);var v=l[m];v.setAttribute("cx",p);v.setAttribute("cy",q);$APP.n($APP.n(a)?m<a.length:a)&&(v=a[m],v.setAttribute("cx",p),v.setAttribute("cy",q));m+=1}else break},zY=function(a){var b=$APP.k(a,"__xLiquidGlassModel"),c=$APP.pl.g($APP.k(a,"__xLiquidGlassRefs"));if($APP.n(hY.g(b))){var d=$APP.k(a,"__xLiquidGlassPA"),e=$APP.k(a,"__xLiquidGlassPX"),
28
28
  g=$APP.k(a,"__xLiquidGlassPY"),h=$APP.k(a,"__xLiquidGlassW");a=$APP.k(a,"__xLiquidGlassH");h=gY.g(b)*Math.min(h,a);a="var("+$APP.T.g("--x-liquid-glass-specular-color")+",rgba(255,255,255,0.6))";$APP.n(d)?(c.style.opacity=""+$APP.T.g(iY.g(b)),c.style.background="radial-gradient(ellipse "+$APP.T.g(h)+"px "+$APP.T.g(h)+"px at "+$APP.T.g(e.toFixed(1))+"px "+$APP.T.g(g.toFixed(1))+"px,"+$APP.T.g(a)+" 0%,transparent 100%)"):c.style.opacity="0"}},AY=function(a,b){var c=$APP.k(a,"__xLiquidGlassModel");a=
29
- rY.g($APP.k(a,"__xLiquidGlassRefs"));var d=$APP.el.g(c);c=$APP.fl.g(c);var e=20+8*Math.cos(b*.09),g=70+12*Math.cos(b*.05),h=80+10*Math.sin(b*.06);a.style.background="radial-gradient(ellipse at "+$APP.T.g((30+10*Math.sin(b*.07)).toFixed(1))+"% "+$APP.T.g(e.toFixed(1))+"%,"+$APP.T.g(d)+" 0%,transparent 70%),radial-gradient(ellipse at "+$APP.T.g(g.toFixed(1))+"% "+$APP.T.g(h.toFixed(1))+"%,"+$APP.T.g(c)+" 0%,transparent 70%)"},CY=function(a){$APP.n($APP.k(a,"__xLiquidGlassRaf"))||($APP.ja(a,"__xLiquidGlassLF",
30
- performance.now()),$APP.ja(a,"__xLiquidGlassRaf",requestAnimationFrame(function(){return BY(a)})))},DY=function(a){var b=$APP.k(a,"__xLiquidGlassRaf");$APP.n(b)&&(cancelAnimationFrame(b),a.__xLiquidGlassRaf=null)},EY=function(a){var b=$APP.Om.g($APP.k(a,"__xLiquidGlassModel")),c=$APP.k(a,"__xLiquidGlassRX"),d=$APP.k(a,"__xLiquidGlassRY"),e=$APP.M($APP.k(a,"__xLiquidGlassRefs"));e=$APP.D(e,qY);a=$APP.k(a,"__xLiquidGlassMaskSats");for(var g=0;;)if(g<b){var h=c[g].toFixed(2),l=d[g].toFixed(2);if(g<e.length){var m=
29
+ rY.g($APP.k(a,"__xLiquidGlassRefs"));var d=$APP.fl.g(c);c=$APP.gl.g(c);var e=20+8*Math.cos(b*.09),g=70+12*Math.cos(b*.05),h=80+10*Math.sin(b*.06);a.style.background="radial-gradient(ellipse at "+$APP.T.g((30+10*Math.sin(b*.07)).toFixed(1))+"% "+$APP.T.g(e.toFixed(1))+"%,"+$APP.T.g(d)+" 0%,transparent 70%),radial-gradient(ellipse at "+$APP.T.g(g.toFixed(1))+"% "+$APP.T.g(h.toFixed(1))+"%,"+$APP.T.g(c)+" 0%,transparent 70%)"},CY=function(a){$APP.n($APP.k(a,"__xLiquidGlassRaf"))||($APP.ja(a,"__xLiquidGlassLF",
30
+ performance.now()),$APP.ja(a,"__xLiquidGlassRaf",requestAnimationFrame(function(){return BY(a)})))},DY=function(a){var b=$APP.k(a,"__xLiquidGlassRaf");$APP.n(b)&&(cancelAnimationFrame(b),a.__xLiquidGlassRaf=null)},EY=function(a){var b=$APP.Pm.g($APP.k(a,"__xLiquidGlassModel")),c=$APP.k(a,"__xLiquidGlassRX"),d=$APP.k(a,"__xLiquidGlassRY"),e=$APP.M($APP.k(a,"__xLiquidGlassRefs"));e=$APP.D(e,qY);a=$APP.k(a,"__xLiquidGlassMaskSats");for(var g=0;;)if(g<b){var h=c[g].toFixed(2),l=d[g].toFixed(2);if(g<e.length){var m=
31
31
  e[g];m.setAttribute("cx",h);m.setAttribute("cy",l)}$APP.n($APP.n(a)?g<a.length:a)&&(m=a[g],m.setAttribute("cx",h),m.setAttribute("cy",l));g+=1}else break},FY=function(a,b){if(b.length>0){var c=b[0].contentRect;b=c.width;c=c.height;if(b>0&&c>0){a.__xLiquidGlassW=b;a.__xLiquidGlassH=c;var d=$APP.M($APP.k(a,"__xLiquidGlassRefs"));d=$APP.D(d,$APP.mk);d.setAttribute("viewBox","0 0 "+$APP.T.g(b)+" "+$APP.T.g(c));d=d.querySelector("#"+$APP.T.g($APP.k(a,"__xLiquidGlassMaskId")));$APP.n(d)&&(d.setAttribute("x",
32
32
  "0"),d.setAttribute("y","0"),d.setAttribute("width",""+$APP.T.g(b)),d.setAttribute("height",""+$APP.T.g(c)));vY(a,b,c);xY(a);var e=$APP.k(a,"__xLiquidGlassModel");$APP.n(function(){var g=$APP.X.g(e);return $APP.n(g)?g:nY()}())?EY(a):(yY(a,function(){var g=$APP.k(a,"__xLiquidGlassTime");return $APP.n(g)?g:0}()),CY(a))}}return null},GY=function(a){function b(){a.__xLiquidGlassPA=!1;return null}function c(){a.__xLiquidGlassPA=!0;return null}function d(e){var g=a.getBoundingClientRect();a.__xLiquidGlassPX=
33
33
  e.clientX-g.left;a.__xLiquidGlassPY=e.clientY-g.top;return null}$APP.ja(a,"__xLiquidGlassHdl",{move:d,enter:c,leave:b});a.addEventListener("pointermove",d,{passive:!0});a.addEventListener("pointerenter",c);a.addEventListener("pointerleave",b)},HY=function(a){var b=$APP.k(a,"__xLiquidGlassHdl");$APP.n(b)&&(a.removeEventListener("pointermove",$APP.k(b,"move")),a.removeEventListener("pointerenter",$APP.k(b,"enter")),a.removeEventListener("pointerleave",$APP.k(b,"leave")),a.__xLiquidGlassHdl=null)},IY=
34
- function(a){return jY($APP.zf([$APP.om,UX,VX,$APP.vl,WX,XX,YX,ZX,$X,aY,bY,$APP.ej,SX,TX],[a.getAttribute("blur"),a.getAttribute("blobs"),a.getAttribute("amplitude"),a.getAttribute("mode"),a.getAttribute("specular-intensity"),a.getAttribute("speed"),a.getAttribute("frost"),a.getAttribute("color-2"),a.getAttribute("color-1"),a.getAttribute("goo"),a.getAttribute("specular"),a.getAttribute("disabled"),a.getAttribute("specular-size"),a.getAttribute("tint")]))},JY=function(a){var b=IY(a);a.__xLiquidGlassModel=
34
+ function(a){return jY($APP.zf([$APP.pm,UX,VX,$APP.wl,WX,XX,YX,ZX,$X,aY,bY,$APP.ej,SX,TX],[a.getAttribute("blur"),a.getAttribute("blobs"),a.getAttribute("amplitude"),a.getAttribute("mode"),a.getAttribute("specular-intensity"),a.getAttribute("speed"),a.getAttribute("frost"),a.getAttribute("color-2"),a.getAttribute("color-1"),a.getAttribute("goo"),a.getAttribute("specular"),a.getAttribute("disabled"),a.getAttribute("specular-size"),a.getAttribute("tint")]))},JY=function(a){var b=IY(a);a.__xLiquidGlassModel=
35
35
  b;var c=$APP.k(a,"__xLiquidGlassW"),d=$APP.k(a,"__xLiquidGlassH");$APP.n($APP.n(c)?$APP.n(d)?c>0&&d>0:d:c)&&(vY(a,c,d),xY(a),$APP.n(function(){var e=$APP.X.g(b);return $APP.n(e)?e:nY()}())?(DY(a),EY(a)):(yY(a,function(){var e=$APP.k(a,"__xLiquidGlassTime");return $APP.n(e)?e:0}()),CY(a)))},KY=function(a){Object.defineProperty(a,"blobs",{get:function(){var b=this.getAttribute("blobs");return MX(b)},set:function(b){return b==null?this.removeAttribute("blobs"):this.setAttribute("blobs",""+$APP.T.g(b))},
36
36
  enumerable:!0,configurable:!0});Object.defineProperty(a,"speed",{get:function(){var b=this.getAttribute("speed");return LX(b,.3,.05,2)},set:function(b){return b==null?this.removeAttribute("speed"):this.setAttribute("speed",""+$APP.T.g(b))},enumerable:!0,configurable:!0});Object.defineProperty(a,"amplitude",{get:function(){var b=this.getAttribute("amplitude");return LX(b,.15,.05,.4)},set:function(b){return b==null?this.removeAttribute("amplitude"):this.setAttribute("amplitude",""+$APP.T.g(b))},enumerable:!0,
37
37
  configurable:!0});Object.defineProperty(a,"blur",{get:function(){var b=this.getAttribute("blur");return LX(b,12,0,40)},set:function(b){return b==null?this.removeAttribute("blur"):this.setAttribute("blur",""+$APP.T.g(b))},enumerable:!0,configurable:!0});Object.defineProperty(a,"goo",{get:function(){var b=this.getAttribute("goo");return LX(b,10,4,20)},set:function(b){return b==null?this.removeAttribute("goo"):this.setAttribute("goo",""+$APP.T.g(b))},enumerable:!0,configurable:!0});Object.defineProperty(a,
@@ -44,5 +44,5 @@ a.prototype.disconnectedCallback=function(){DY(this);HY(this);var b=$APP.k(this,
44
44
  "core","core",-86019209),iY=new $APP.K(null,"specular-intensity","specular-intensity",437849876),VX=new $APP.K(null,"amplitude-raw","amplitude-raw",-673525115),dY=new $APP.K(null,"goo","goo",-1253057564),oY=new $APP.K(null,"glass","glass",1652756718),pY=new $APP.K(null,"filter","filter",-948537934),cY=new $APP.K(null,"frost","frost",-3478780),gY=new $APP.K(null,"specular-size","specular-size",757318993),wY=new $APP.K(null,"submerged","submerged",1636004473),fY=new $APP.K(null,"tint","tint",-1286736913),
45
45
  tY=new $APP.K(null,"grain","grain",2007662171),TX=new $APP.K(null,"tint-raw","tint-raw",-653441954),ZX=new $APP.K(null,"color-2-raw","color-2-raw",-1440423537),bY=new $APP.K(null,"specular-attr","specular-attr",-716021610),WX=new $APP.K(null,"specular-intensity-raw","specular-intensity-raw",109079177),XX=new $APP.K(null,"speed-raw","speed-raw",1756460778),aY=new $APP.K(null,"goo-raw","goo-raw",59658675),SX=new $APP.K(null,"specular-size-raw","specular-size-raw",592980345),$X=new $APP.K(null,"color-1-raw",
46
46
  "color-1-raw",-1322552111),eY=new $APP.K(null,"amplitude","amplitude",-1387734203),rY=new $APP.K(null,"gradient","gradient",-1983908971),YX=new $APP.K(null,"frost-raw","frost-raw",1383732749),hY=new $APP.K(null,"specular?","specular?",964138290),UX=new $APP.K(null,"blobs-raw","blobs-raw",1729393761),qY=new $APP.K(null,"satellites","satellites",644765266);var LY="blobs speed amplitude blur goo tint specular specular-size specular-intensity disabled mode frost color-1 color-2".split(" ");
47
- $APP.zf([cY,dY,eY,new $APP.K(null,"specularSize","specularSize",-1757715579),$APP.Pj,$APP.Gj,$APP.wj,$APP.ol,fY,new $APP.K(null,"color2","color2",1248091856),$APP.ki,$APP.Om,new $APP.K(null,"color1","color1",306558619),new $APP.K(null,"specularIntensity","specularIntensity",138075)],[new $APP.R(null,1,[$APP.Z,$APP.W],null),new $APP.R(null,1,[$APP.Z,$APP.W],null),new $APP.R(null,1,[$APP.Z,$APP.W],null),new $APP.R(null,1,[$APP.Z,$APP.W],null),new $APP.R(null,1,[$APP.Z,$APP.Zj],null),new $APP.R(null,
47
+ $APP.zf([cY,dY,eY,new $APP.K(null,"specularSize","specularSize",-1757715579),$APP.Pj,$APP.Gj,$APP.wj,$APP.pl,fY,new $APP.K(null,"color2","color2",1248091856),$APP.ki,$APP.Pm,new $APP.K(null,"color1","color1",306558619),new $APP.K(null,"specularIntensity","specularIntensity",138075)],[new $APP.R(null,1,[$APP.Z,$APP.W],null),new $APP.R(null,1,[$APP.Z,$APP.W],null),new $APP.R(null,1,[$APP.Z,$APP.W],null),new $APP.R(null,1,[$APP.Z,$APP.W],null),new $APP.R(null,1,[$APP.Z,$APP.Zj],null),new $APP.R(null,
48
48
  1,[$APP.Z,$APP.W],null),new $APP.R(null,1,[$APP.Z,$APP.Y],null),new $APP.R(null,1,[$APP.Z,$APP.Zj],null),new $APP.R(null,1,[$APP.Z,$APP.Y],null),new $APP.R(null,1,[$APP.Z,$APP.Y],null),new $APP.R(null,1,[$APP.Z,$APP.W],null),new $APP.R(null,1,[$APP.Z,$APP.W],null),new $APP.R(null,1,[$APP.Z,$APP.Y],null),new $APP.R(null,1,[$APP.Z,$APP.W],null)]);var PX=new $APP.R(null,2,["surface",QX,"submerged",wY],null);var lY={v:0},BY=function BY(a){if($APP.n(a.isConnected)){var c=performance.now(),d=$APP.k(a,"__xLiquidGlassTime")+Math.min(c-$APP.k(a,"__xLiquidGlassLF"),100)/1E3;a.__xLiquidGlassLF=c;a.__xLiquidGlassTime=d;yY(a,d);zY(a);AY(a,d);$APP.ja(a,"__xLiquidGlassRaf",requestAnimationFrame(function(){return BY.g?BY.g(a):BY.call(null,a)}))}return null};$APP.ha("baredom.exports.x_liquid_glass.init",NY);export const init=NY;
@@ -0,0 +1,41 @@
1
+ // x-menu-item.d.ts — auto-generated by generate_types.bb, do not edit
2
+
3
+ export function init(): void;
4
+
5
+ export interface XMenuItemEventMap {
6
+ "x-menu-item-select": CustomEvent<{ value: string }>;
7
+ }
8
+
9
+ export interface XMenuItem extends HTMLElement {
10
+ value: string;
11
+ disabled: boolean;
12
+ variant: string;
13
+ type: string;
14
+
15
+ addEventListener<K extends keyof XMenuItemEventMap>(
16
+ type: K,
17
+ listener: (this: XMenuItem, ev: XMenuItemEventMap[K]) => any,
18
+ options?: boolean | AddEventListenerOptions
19
+ ): void;
20
+ addEventListener(
21
+ type: string,
22
+ listener: EventListenerOrEventListenerObject,
23
+ options?: boolean | AddEventListenerOptions
24
+ ): void;
25
+ removeEventListener<K extends keyof XMenuItemEventMap>(
26
+ type: K,
27
+ listener: (this: XMenuItem, ev: XMenuItemEventMap[K]) => any,
28
+ options?: boolean | EventListenerOptions
29
+ ): void;
30
+ removeEventListener(
31
+ type: string,
32
+ listener: EventListenerOrEventListenerObject,
33
+ options?: boolean | EventListenerOptions
34
+ ): void;
35
+ }
36
+
37
+ declare global {
38
+ interface HTMLElementTagNameMap {
39
+ "x-menu-item": XMenuItem;
40
+ }
41
+ }