@vanelsas/baredom 1.4.0 → 2.0.1

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 (84) hide show
  1. package/CHANGELOG.md +28 -1
  2. package/README.md +57 -5
  3. package/dist/base.js +212 -212
  4. package/dist/x-alert.js +16 -16
  5. package/dist/x-avatar-group.js +11 -11
  6. package/dist/x-avatar.js +16 -16
  7. package/dist/x-badge.js +11 -11
  8. package/dist/x-bento-grid.js +5 -5
  9. package/dist/x-bento-item.js +4 -4
  10. package/dist/x-breadcrumbs.js +14 -14
  11. package/dist/x-button.js +15 -15
  12. package/dist/x-cancel-dialogue.js +16 -16
  13. package/dist/x-card.js +7 -7
  14. package/dist/x-chart.js +46 -46
  15. package/dist/x-checkbox.js +11 -11
  16. package/dist/x-chip.js +9 -9
  17. package/dist/x-collapse.js +11 -11
  18. package/dist/x-command-palette.js +29 -29
  19. package/dist/x-container.js +6 -6
  20. package/dist/x-context-menu.js +20 -19
  21. package/dist/x-copy.js +23 -23
  22. package/dist/x-currency-field.js +21 -21
  23. package/dist/x-date-picker.js +36 -36
  24. package/dist/x-divider.js +12 -12
  25. package/dist/x-drawer.js +11 -11
  26. package/dist/x-dropdown.js +10 -10
  27. package/dist/x-fieldset.js +6 -6
  28. package/dist/x-file-download.js +7 -7
  29. package/dist/x-form-field.js +16 -16
  30. package/dist/x-form.js +9 -9
  31. package/dist/x-gaussian-blur.js +18 -18
  32. package/dist/x-grid.js +6 -6
  33. package/dist/x-kinetic-font.js +27 -27
  34. package/dist/x-kinetic-typography.js +37 -37
  35. package/dist/x-liquid-dock.js +37 -37
  36. package/dist/x-liquid-fill.js +42 -42
  37. package/dist/x-liquid-glass.js +38 -38
  38. package/dist/x-menu-item.js +10 -10
  39. package/dist/x-menu.js +11 -11
  40. package/dist/x-metaball-cursor.js +28 -28
  41. package/dist/x-modal.js +11 -11
  42. package/dist/x-morph-stack.js +39 -39
  43. package/dist/x-navbar.js +13 -13
  44. package/dist/x-neural-glow.js +31 -31
  45. package/dist/x-notification-center.js +9 -9
  46. package/dist/x-organic-divider.js +17 -17
  47. package/dist/x-organic-progress.js +38 -38
  48. package/dist/x-organic-shape.js +12 -12
  49. package/dist/x-pagination.js +16 -16
  50. package/dist/x-popover.js +14 -14
  51. package/dist/x-progress-circle.js +9 -9
  52. package/dist/x-progress.js +9 -9
  53. package/dist/x-radio.js +12 -12
  54. package/dist/x-ripple-effect.js +11 -11
  55. package/dist/x-scroll-parallax.js +17 -17
  56. package/dist/x-scroll-stack.js +18 -18
  57. package/dist/x-scroll-story.js +34 -35
  58. package/dist/x-scroll-timeline.js +46 -49
  59. package/dist/x-scroll.js +39 -39
  60. package/dist/x-search-field.js +15 -15
  61. package/dist/x-select.js +10 -10
  62. package/dist/x-sidebar.js +17 -17
  63. package/dist/x-skeleton.js +5 -5
  64. package/dist/x-slider.js +16 -16
  65. package/dist/x-soft-body.js +21 -20
  66. package/dist/x-spacer.js +5 -5
  67. package/dist/x-spinner.js +6 -6
  68. package/dist/x-splash.js +14 -14
  69. package/dist/x-stat.js +11 -11
  70. package/dist/x-stepper.js +16 -16
  71. package/dist/x-switch.js +11 -11
  72. package/dist/x-tab.js +8 -8
  73. package/dist/x-table-cell.js +21 -21
  74. package/dist/x-table-row.js +10 -10
  75. package/dist/x-table.js +13 -13
  76. package/dist/x-tabs.js +11 -11
  77. package/dist/x-text-area.js +18 -18
  78. package/dist/x-theme.js +25 -0
  79. package/dist/x-timeline-item.js +21 -21
  80. package/dist/x-timeline.js +9 -9
  81. package/dist/x-toast.js +23 -23
  82. package/dist/x-toaster.js +8 -8
  83. package/dist/x-typography.js +11 -10
  84. package/package.json +6 -2
@@ -1,45 +1,45 @@
1
1
  import { $APP, shadow$provide } from "./base.js";
2
- var $Z=function(a){function b(d,e){d.push(e);return d}var c=[];return $APP.Zc?$APP.Zc(b,c,a):$APP.$c.call(null,b,c,a)},b_=function(a){a=typeof a==="string"?a.trim().toLowerCase():null;return $APP.J(a_,a)?a:"vertical"},d_=function(a){a=typeof a==="string"?a.trim().toLowerCase():null;return $APP.J(c_,a)?a:"fill"},f_=function(a){a=typeof a==="string"?a.trim().toLowerCase():null;return $APP.J(e_,a)?a:"gold"},g_=function(a,b){if(typeof a==="string"){a=a.trim();if($APP.D.i(a,""))return b;a=parseFloat(a);
3
- return $APP.r(isNaN(a))?b:Math.min(1,Math.max(0,a))}return b},h_=function(a){if(typeof a==="string"){a=a.trim();if($APP.D.i(a,""))return 3;a=parseInt(a,10);return $APP.r(isNaN(a))?3:Math.min(5,Math.max(2,a))}return 3},l_=function(a,b){b=b>1?a/(b-1):1;return new $APP.P(null,6,[i_,a*2.39996,j_,.7+.6*b,k_,.6+.8*b,$APP.Vk,200-a*30,$APP.Vj,10+a*3,$APP.Ph,1],null)},m_=function(a,b,c){b-=c;return b<=0?0:Math.min(1,Math.max(0,a/b))},n_=function(a,b,c){return c<=.001?0:Math.min(1,Math.abs(a-b)/c/2E3)},o_=
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))},p_=function(a,b,c,d,e,g){b=c+(e*(b-a)-g*c)*d;return[a+b*d,b]},q_=function(a,b,c){return a+(b-a)*c},r_=function(){return $APP.I(window.matchMedia("(prefers-reduced-motion:reduce)").matches)},s_=function(a,b){if(typeof b==="string"&&$APP.O(b.trim(),""))a=document.querySelector(b);else a:{for(a=a.parentElement;;)if($APP.r(a)){var c=window.getComputedStyle(a);
5
- b=c.getPropertyValue("overflow-y");c=c.getPropertyValue("overflow-x");if($APP.D.i(b,"auto")||$APP.D.i(b,"scroll")||$APP.D.i(c,"auto")||$APP.D.i(c,"scroll"))break a;a=a.parentElement}else{a=null;break a}a=void 0}return a},t_=function(a,b){return a==null?$APP.D.i(b,"horizontal")?[window.scrollX,document.documentElement.scrollWidth,window.innerWidth]:[window.scrollY,document.documentElement.scrollHeight,window.innerHeight]:$APP.D.i(b,"horizontal")?[a.scrollLeft,a.scrollWidth,a.clientWidth]:[a.scrollTop,
6
- a.scrollHeight,a.clientHeight]},B_=function(a){var b=u_.Tb(null,u_.wb(null)+1),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"),k=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","stop"),
7
- q=document.createElementNS("http://www.w3.org/2000/svg","stop"),w=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"),H=$Z(function(){return function Na(Ga){return new $APP.ud(null,
8
- function(){for(;;){var Xa=$APP.u(Ga);if(Xa){if($APP.Pc(Xa)){var Ya=$APP.yb(Xa),ib=$APP.B(Ya),Lb=$APP.xd(ib);a:{for(var ab=0;;)if(ab<ib){$APP.Ac(Ya,ab);var gc=Lb,Tb=document.createElementNS("http://www.w3.org/2000/svg","path");gc.add(Tb);ab+=1}else{Ya=!0;break a}Ya=void 0}return Ya?$APP.Ad(Lb.fa(),Na($APP.zb(Xa))):$APP.Ad(Lb.fa(),null)}$APP.v(Xa);return $APP.rd(document.createElementNS("http://www.w3.org/2000/svg","path"),Na($APP.Zb(Xa)))}return null}},null)}($APP.kg(0,5))}()),F=document.createElement("div"),
9
- K=document.createElement("slot"),X=""+$APP.S.g("xlf-grad-")+$APP.S.g(b),da=""+$APP.S.g("xlf-spec-")+$APP.S.g(b);d.textContent=v_;e.setAttribute("part","container");g.setAttribute("part","svg");g.setAttribute("viewBox","0 0 300 200");g.setAttribute("preserveAspectRatio","none");g.setAttribute("aria-hidden","true");k.setAttribute("id",X);k.setAttribute("gradientUnits","userSpaceOnUse");k.setAttribute("cx","150");k.setAttribute("cy","200");k.setAttribute("r","200");k.setAttribute("fx","150");k.setAttribute("fy",
10
- "200");m.setAttribute("offset","0%");m.setAttribute("stop-color","var("+$APP.S.g("--x-liquid-fill-color-1")+",#B8860B)");p.setAttribute("offset","50%");p.setAttribute("stop-color","var("+$APP.S.g("--x-liquid-fill-color-2")+",#D4AF37)");q.setAttribute("offset","100%");q.setAttribute("stop-color","var("+$APP.S.g("--x-liquid-fill-color-3")+",#F9F295)");k.appendChild(m);k.appendChild(p);k.appendChild(q);w.setAttribute("id",da);w.setAttribute("x","-10%");w.setAttribute("y","-10%");w.setAttribute("width",
2
+ var D_=function(a){function b(d,e){d.push(e);return d}var c=[];return $APP.Zc?$APP.Zc(b,c,a):$APP.$c.call(null,b,c,a)},F_=function(a){a=typeof a==="string"?a.trim().toLowerCase():null;return $APP.J(E_,a)?a:"vertical"},H_=function(a){a=typeof a==="string"?a.trim().toLowerCase():null;return $APP.J(G_,a)?a:"fill"},J_=function(a){a=typeof a==="string"?a.trim().toLowerCase():null;return $APP.J(I_,a)?a:"gold"},K_=function(a,b){if(typeof a==="string"){a=a.trim();if($APP.D.i(a,""))return b;a=parseFloat(a);
3
+ return $APP.r(isNaN(a))?b:Math.min(1,Math.max(0,a))}return b},L_=function(a){if(typeof a==="string"){a=a.trim();if($APP.D.i(a,""))return 3;a=parseInt(a,10);return $APP.r(isNaN(a))?3:Math.min(5,Math.max(2,a))}return 3},P_=function(a,b){b=b>1?a/(b-1):1;return new $APP.P(null,6,[M_,a*2.39996,N_,.7+.6*b,O_,.6+.8*b,$APP.Wk,200-a*30,$APP.Wj,10+a*3,$APP.Ph,1],null)},Q_=function(a,b,c){b-=c;return b<=0?0:Math.min(1,Math.max(0,a/b))},R_=function(a,b,c){return c<=.001?0:Math.min(1,Math.abs(a-b)/c/2E3)},S_=
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))},T_=function(a,b,c,d,e,g){b=c+(e*(b-a)-g*c)*d;return[a+b*d,b]},U_=function(a,b,c){return a+(b-a)*c},V_=function(){return $APP.I(window.matchMedia("(prefers-reduced-motion:reduce)").matches)},W_=function(a,b){if(typeof b==="string"&&$APP.O(b.trim(),""))a=document.querySelector(b);else a:{for(a=a.parentElement;;)if($APP.r(a)){var c=window.getComputedStyle(a);
5
+ b=c.getPropertyValue("overflow-y");c=c.getPropertyValue("overflow-x");if($APP.D.i(b,"auto")||$APP.D.i(b,"scroll")||$APP.D.i(c,"auto")||$APP.D.i(c,"scroll"))break a;a=a.parentElement}else{a=null;break a}a=void 0}return a},X_=function(a,b){return a==null?$APP.D.i(b,"horizontal")?[window.scrollX,document.documentElement.scrollWidth,window.innerWidth]:[window.scrollY,document.documentElement.scrollHeight,window.innerHeight]:$APP.D.i(b,"horizontal")?[a.scrollLeft,a.scrollWidth,a.clientWidth]:[a.scrollTop,
6
+ a.scrollHeight,a.clientHeight]},e0=function(a){var b=Y_.Tb(null,Y_.wb(null)+1),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"),k=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","stop"),
7
+ q=document.createElementNS("http://www.w3.org/2000/svg","stop"),w=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"),B=document.createElementNS("http://www.w3.org/2000/svg","feComposite"),E=document.createElementNS("http://www.w3.org/2000/svg","feComposite"),H=D_(function(){return function Na(Ha){return new $APP.ud(null,
8
+ function(){for(;;){var Ya=$APP.u(Ha);if(Ya){if($APP.Pc(Ya)){var Za=$APP.yb(Ya),ib=$APP.C(Za),Kb=$APP.xd(ib);a:{for(var cb=0;;)if(cb<ib){$APP.Ac(Za,cb);var gc=Kb,Tb=document.createElementNS("http://www.w3.org/2000/svg","path");gc.add(Tb);cb+=1}else{Za=!0;break a}Za=void 0}return Za?$APP.Ad(Kb.ba(),Na($APP.zb(Ya))):$APP.Ad(Kb.ba(),null)}$APP.v(Ya);return $APP.rd(document.createElementNS("http://www.w3.org/2000/svg","path"),Na($APP.Zb(Ya)))}return null}},null)}($APP.kg(0,5))}()),F=document.createElement("div"),
9
+ M=document.createElement("slot"),Y=""+$APP.S.g("xlf-grad-")+$APP.S.g(b),ea=""+$APP.S.g("xlf-spec-")+$APP.S.g(b);d.textContent=Z_;e.setAttribute("part","container");g.setAttribute("part","svg");g.setAttribute("viewBox","0 0 300 200");g.setAttribute("preserveAspectRatio","none");g.setAttribute("aria-hidden","true");k.setAttribute("id",Y);k.setAttribute("gradientUnits","userSpaceOnUse");k.setAttribute("cx","150");k.setAttribute("cy","200");k.setAttribute("r","200");k.setAttribute("fx","150");k.setAttribute("fy",
10
+ "200");m.setAttribute("offset","0%");m.setAttribute("stop-color","var("+$APP.S.g("--x-liquid-fill-color-1")+",#B8860B)");p.setAttribute("offset","50%");p.setAttribute("stop-color","var("+$APP.S.g("--x-liquid-fill-color-2")+",#D4AF37)");q.setAttribute("offset","100%");q.setAttribute("stop-color","var("+$APP.S.g("--x-liquid-fill-color-3")+",#F9F295)");k.appendChild(m);k.appendChild(p);k.appendChild(q);w.setAttribute("id",ea);w.setAttribute("x","-10%");w.setAttribute("y","-10%");w.setAttribute("width",
11
11
  "120%");w.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.S.g("--x-liquid-fill-specular-color")+",rgba(255,255,240,0.6))");y.setAttribute("result","specular");y.appendChild(A);A.setAttribute("x","90");A.setAttribute("y","-50");A.setAttribute("z",
12
- "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");w.appendChild(x);w.appendChild(y);w.appendChild(C);w.appendChild(E);h.appendChild(k);h.appendChild(w);g.appendChild(h);for(h=0;;)if(h<5)m=H[h],m.setAttribute("class",
13
- "wave-layer"),m.setAttribute("data-layer",""+$APP.S.g(h)),m.setAttribute("fill","url(#"+$APP.S.g(X)+")"),m.style.display="none",g.appendChild(m),h+=1;else break;F.setAttribute("part","content");F.appendChild(K);e.appendChild(g);e.appendChild(F);c.appendChild(d);c.appendChild(e);a.__xLiquidFillUid=b;$APP.n(a,"__xLiquidFillRefs",new $APP.P(null,8,[$APP.bi,c,$APP.xj,g,w_,H,$APP.Vh,F,x_,A,y_,k,z_,da,A_,X],null))},L_=function(a){a=new $APP.P(null,8,[C_,a.getAttribute("target"),$APP.Zk,a.getAttribute("orientation"),
14
- $APP.Bk,a.getAttribute("mode"),D_,a.getAttribute("theme"),E_,a.getAttribute("wave-intensity"),F_,a.getAttribute("splash-intensity"),G_,a.getAttribute("layers"),$APP.Ai,a.getAttribute("disabled")],null);var b=$APP.N(a);a=$APP.G(b,C_);var c=$APP.G(b,$APP.Zk),d=$APP.G(b,$APP.Bk),e=$APP.G(b,D_),g=$APP.G(b,E_),h=$APP.G(b,F_),k=$APP.G(b,G_);b=$APP.G(b,$APP.Ai);return new $APP.P(null,8,[H_,typeof a==="string"&&$APP.O(a.trim(),"")?a.trim():null,$APP.xk,b_(c),$APP.Ri,d_(d),I_,f_(e),J_,g_(g,.5),K_,g_(h,.7),
15
- $APP.Bi,h_(k),$APP.W,b!=null],null)},M_=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},N_=function(a,b){var c=$APP.N($APP.l(a,"__xLiquidFillRefs"));a=$APP.G(c,w_);c=$APP.G(c,z_);for(var d=0;;)if(d<5){var e=a[d];if(d<b){var g=l_(d,b),h=$APP.D.i(d,b-1);e.style.display="";e.setAttribute("opacity",""+$APP.S.g($APP.Ph.g(g)));h?e.setAttribute("filter","url(#"+$APP.S.g(c)+")"):e.removeAttribute("filter")}else e.style.display=
16
- "none";d+=1}else break},O_=function(a){return $APP.D.i("vertical",$APP.xk.g(a))&&$APP.O("bar",$APP.Ri.g(a))},P_=function(a){var b=$APP.l(a,"__xLiquidFillModel"),c=$APP.l(a,"__xLiquidFillW"),d=$APP.l(a,"__xLiquidFillH"),e=$APP.l(a,"__xLiquidFillTime"),g=$APP.l(a,"__xLiquidFillProg"),h=$APP.Bi.g(b);b=O_(b);var k=$APP.l(a,"__xLiquidFillWA"),m=$APP.l(a,"__xLiquidFillWP");a=$APP.N($APP.l(a,"__xLiquidFillRefs"));a=$APP.G(a,w_);if($APP.r($APP.r(c)?$APP.r(d)?c>0&&d>0:d:c))for(var p=0;;)if(p<h){var q=a[p],
17
- w=k[p],x=m[p];if(b){var y=d*(1-g),A=c,C=d,E=e,H=[];H.push("M0,"+$APP.S.g((y+o_(0,E,w,x)).toFixed(2)));for(var F=0;;)if(F<10){var K=(F+.5)/10,X=(F+1)/10,da=y+o_(K,E,w,x),sa=X*A;X=y+o_(X,E,w,x);H.push("Q"+$APP.S.g((K*A).toFixed(2))+","+$APP.S.g(da.toFixed(2))+" "+$APP.S.g(sa.toFixed(2))+","+$APP.S.g(X.toFixed(2)));F+=1}else break;H.push("L"+$APP.S.g(A.toFixed(2))+","+$APP.S.g(C.toFixed(2)));H.push("L0,"+$APP.S.g(C.toFixed(2)));H.push("Z");q.setAttribute("d",H.join(""))}else{y=c*g;A=d;C=e;E=w;w=x;x=
18
- [];x.push("M"+$APP.S.g((y+o_(0,C,E,w)).toFixed(2))+",0");for(H=0;;)if(H<10)F=(H+.5)/10,sa=(H+1)/10,K=F*A,da=sa*A,sa=y+o_(sa,C,E,w),x.push("Q"+$APP.S.g((y+o_(F,C,E,w)).toFixed(2))+","+$APP.S.g(K.toFixed(2))+" "+$APP.S.g(sa.toFixed(2))+","+$APP.S.g(da.toFixed(2))),H+=1;else break;x.push("L0,"+$APP.S.g(A.toFixed(2)));x.push("L0,0");x.push("Z");q.setAttribute("d",x.join(""))}p+=1}else break},Q_=function(a){var b=$APP.l(a,"__xLiquidFillModel"),c=$APP.l(a,"__xLiquidFillW"),d=$APP.l(a,"__xLiquidFillH");
19
- var e=$APP.l(a,"__xLiquidFillProg");e=$APP.r(e)?e:0;var g=$APP.Bi.g(b);b=O_(b);a=$APP.N($APP.l(a,"__xLiquidFillRefs"));a=$APP.G(a,w_);if($APP.r($APP.r(c)?$APP.r(d)?c>0&&d>0:d:c))for(var h=0;;)if(h<g){var k=a[h];if(b){var m=d*(1-e);k.setAttribute("d","M0,"+$APP.S.g(m.toFixed(2))+"L"+$APP.S.g(c.toFixed(2))+","+$APP.S.g(m.toFixed(2))+"L"+$APP.S.g(c.toFixed(2))+","+$APP.S.g(d.toFixed(2))+"L0,"+$APP.S.g(d.toFixed(2))+"Z")}else m=c*e,k.setAttribute("d","M"+$APP.S.g(m.toFixed(2))+",0L"+$APP.S.g(m.toFixed(2))+
20
- ","+$APP.S.g(d.toFixed(2))+"L0,"+$APP.S.g(d.toFixed(2))+"L0,0Z");h+=1}else break},S_=function(a,b,c){b=new CustomEvent("x-liquid-fill-progress",{detail:$APP.nh(new $APP.P(null,2,[$APP.dl,b,R_,c],null)),bubbles:!0,composed:!0,cancelable:!1});a.dispatchEvent(b)},U_=function(a){$APP.r($APP.l(a,"__xLiquidFillRaf"))||($APP.n(a,"__xLiquidFillLF",performance.now()),$APP.n(a,"__xLiquidFillRaf",requestAnimationFrame(function(){return T_(a)})))},V_=function(a){var b=$APP.l(a,"__xLiquidFillRaf");$APP.r(b)&&
21
- (cancelAnimationFrame(b),a.__xLiquidFillRaf=null)},Y_=function(a){if($APP.r(function(){var h=a.isConnected;return $APP.r(h)?$APP.l(a,"__xLiquidFillVis"):h}())){var b=$APP.l(a,"__xLiquidFillModel");$APP.l(a,"__xLiquidFillST")==null&&H_.g(b)!=null&&(b=s_(a,H_.g(b)),$APP.r(b)&&(W_.g?W_.g(a):W_.call(null,a),a.__xLiquidFillST=b,X_.g?X_.g(a):X_.call(null,a)));var c=$APP.l(a,"__xLiquidFillModel");b=$APP.l(a,"__xLiquidFillST");var d=$APP.xk.g(c);d=t_(b,d);var e=d[0];b=d[1];d=d[2];var g=performance.now();
22
- b=m_(e,b,d);d=n_(e,function(){var h=$APP.l(a,"__xLiquidFillLS");return $APP.r(h)?h:e}(),(g-function(){var h=$APP.l(a,"__xLiquidFillLST");return $APP.r(h)?h:g}())/1E3);a.__xLiquidFillTP=b;$APP.n(a,"__xLiquidFillSV",Math.max(function(){var h=$APP.l(a,"__xLiquidFillSV");return $APP.r(h)?h:0}(),d));a.__xLiquidFillLS=e;a.__xLiquidFillLST=g;$APP.r(function(){var h=$APP.W.g(c);return $APP.r(h)?h:r_()}())||U_(a);$APP.r(function(){var h=$APP.W.g(c);return $APP.r(h)?h:r_()}())&&(a.__xLiquidFillProg=b,Q_(a),
23
- S_(a,b,d))}return null},X_=function(a){var b=$APP.l(a,"__xLiquidFillHdl");if($APP.r($APP.r(b)?$APP.t($APP.l(b,"scrollAttached")):b)){var c=$APP.l(b,"scroll");a=$APP.l(a,"__xLiquidFillST");$APP.r(a)?a.addEventListener("scroll",c,{passive:!0}):window.addEventListener("scroll",c,{passive:!0});b.scrollAttached=!0}else return null},W_=function(a){var b=$APP.l(a,"__xLiquidFillHdl");if($APP.r($APP.r(b)?$APP.l(b,"scrollAttached"):b)){var c=$APP.l(b,"scroll");a=$APP.l(a,"__xLiquidFillST");$APP.r(a)?a.removeEventListener("scroll",
24
- c):window.removeEventListener("scroll",c);b.scrollAttached=!1}else return null},Z_=function(a){var b=H_.g($APP.l(a,"__xLiquidFillModel")),c=s_(a,b);a.__xLiquidFillST=c;X_(a);Y_(a);b!=null&&c==null&&requestAnimationFrame(function(){if($APP.r(a.isConnected)){var d=H_.g($APP.l(a,"__xLiquidFillModel"));d!=null&&$APP.l(a,"__xLiquidFillST")==null&&(d=s_(a,d),$APP.r(d)&&(W_(a),a.__xLiquidFillST=d,X_(a),Y_(a)))}return null})},$_=function(a){$APP.n(a,"__xLiquidFillHdl",{scroll:function(){return Y_(a)},scrollAttached:!1})},
25
- a0=function(a){W_(a);a.__xLiquidFillHdl=null},b0=function(a){var b=new IntersectionObserver(function(c){c=c[0].isIntersecting;a.__xLiquidFillVis=c;$APP.r(c)?(c=$APP.W.g($APP.l(a,"__xLiquidFillModel")),c=$APP.r(c)?c:r_(),$APP.r(c)||U_(a)):V_(a);return null},{threshold:[0]});b.observe(a);a.__xLiquidFillIO=b;b=new ResizeObserver(function(c){if(c.length>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.N($APP.l(a,"__xLiquidFillRefs")),g=$APP.G(e,
26
- $APP.xj),h=$APP.G(e,x_);e=$APP.G(e,y_);var k=Math.max(c,d);g.setAttribute("viewBox","0 0 "+$APP.S.g(c)+" "+$APP.S.g(d));h.setAttribute("x",""+$APP.S.g(c*.3));e.setAttribute("cx",""+$APP.S.g(c*.5));e.setAttribute("cy",""+$APP.S.g(d));e.setAttribute("r",""+$APP.S.g(k));e.setAttribute("fx",""+$APP.S.g(c*.5));e.setAttribute("fy",""+$APP.S.g(d));c=$APP.W.g($APP.l(a,"__xLiquidFillModel"));c=$APP.r(c)?c:r_();$APP.r(c)?Q_(a):(P_(a),U_(a))}}return null});b.observe(a);a.__xLiquidFillRO=b},e0=function(a,b){b=
27
- $APP.G(c0,b);$APP.r(b)?(a=a.style,a.setProperty("--x-liquid-fill-color-1",$APP.ok.g(b)),a.setProperty("--x-liquid-fill-color-2",$APP.pk.g(b)),a.setProperty("--x-liquid-fill-color-3",d0.g(b)),a.setProperty("--x-liquid-fill-specular-color",$APP.wk.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"),a.removeProperty("--x-liquid-fill-specular-color"))},f0=function(a){Object.defineProperty(a,"target",{get:function(){return this.getAttribute("target")},
28
- set:function(b){return $APP.r(b)?this.setAttribute("target",""+$APP.S.g(b)):this.removeAttribute("target")},enumerable:!0,configurable:!0});Object.defineProperty(a,"orientation",{get:function(){return b_(this.getAttribute("orientation"))},set:function(b){return $APP.r(b)?this.setAttribute("orientation",""+$APP.S.g(b)):this.removeAttribute("orientation")},enumerable:!0,configurable:!0});Object.defineProperty(a,"mode",{get:function(){return d_(this.getAttribute("mode"))},set:function(b){return $APP.r(b)?
29
- this.setAttribute("mode",""+$APP.S.g(b)):this.removeAttribute("mode")},enumerable:!0,configurable:!0});Object.defineProperty(a,"theme",{get:function(){return f_(this.getAttribute("theme"))},set:function(b){return $APP.r(b)?this.setAttribute("theme",""+$APP.S.g(b)):this.removeAttribute("theme")},enumerable:!0,configurable:!0});Object.defineProperty(a,"waveIntensity",{get:function(){var b=this.getAttribute("wave-intensity");return g_(b,.5)},set:function(b){return b==null?this.removeAttribute("wave-intensity"):
30
- this.setAttribute("wave-intensity",""+$APP.S.g(b))},enumerable:!0,configurable:!0});Object.defineProperty(a,"splashIntensity",{get:function(){var b=this.getAttribute("splash-intensity");return g_(b,.7)},set:function(b){return b==null?this.removeAttribute("splash-intensity"):this.setAttribute("splash-intensity",""+$APP.S.g(b))},enumerable:!0,configurable:!0});Object.defineProperty(a,"layers",{get:function(){return h_(this.getAttribute("layers"))},set:function(b){return b==null?this.removeAttribute("layers"):
31
- this.setAttribute("layers",""+$APP.S.g(b))},enumerable:!0,configurable:!0});Object.defineProperty(a,"disabled",{get:function(){return this.hasAttribute("disabled")},set:function(b){return $APP.r(b)?this.setAttribute("disabled",""):this.removeAttribute("disabled")},enumerable:!0,configurable:!0});Object.defineProperty(a,"progress",{get:function(){var b=$APP.l(this,"__xLiquidFillProg");return $APP.r(b)?b:0},enumerable:!0,configurable:!0})},h0=function(){var a=class extends HTMLElement{};a.observedAttributes=
32
- g0;a.prototype.connectedCallback=function(){var b=L_(this);this.__xLiquidFillModel=b;this.__xLiquidFillTime=this.__xLiquidFillSV=this.__xLiquidFillTP=this.__xLiquidFillProg=0;this.__xLiquidFillLD=-1;this.__xLiquidFillVis=!0;$APP.r($APP.l(this,"__xLiquidFillRefs"))||B_(this);e0(this,I_.g(b));M_(this,$APP.Bi.g(b));N_(this,$APP.Bi.g(b));a0(this);$_(this);b0(this);Z_(this);return null};a.prototype.disconnectedCallback=function(){V_(this);a0(this);var b=$APP.l(this,"__xLiquidFillIO");$APP.r(b)&&(b.disconnect(),
33
- this.__xLiquidFillIO=null);b=$APP.l(this,"__xLiquidFillRO");$APP.r(b)&&(b.disconnect(),this.__xLiquidFillRO=null);this.__xLiquidFillVis=!1;return null};a.prototype.attributeChangedCallback=function(b,c,d){if($APP.O(c,d)&&$APP.r($APP.l(this,"__xLiquidFillRefs"))){b=L_(this);c=$APP.l(this,"__xLiquidFillModel");this.__xLiquidFillModel=b;if(c==null||$APP.O($APP.Bi.g(b),$APP.Bi.g(c)))M_(this,$APP.Bi.g(b)),N_(this,$APP.Bi.g(b));(c==null||$APP.O(I_.g(b),I_.g(c)))&&e0(this,I_.g(b));if(c==null||$APP.O(H_.g(b),
34
- H_.g(c)))W_(this),Z_(this);c=$APP.l(this,"__xLiquidFillW");d=$APP.l(this,"__xLiquidFillH");$APP.r($APP.r(c)?$APP.r(d)?c>0&&d>0:d:c)&&(b=$APP.W.g(b),b=$APP.r(b)?b:r_(),$APP.r(b)?(V_(this),Q_(this)):(P_(this),U_(this)))}return null};f0(a.prototype);return a},i0=function(){$APP.r(customElements.get("x-liquid-fill"))||customElements.define("x-liquid-fill",h0());return null},k_=new $APP.M(null,"amp-mult","amp-mult",698045242),x_=new $APP.M(null,"feLight","feLight",-1941454484),j_=new $APP.M(null,"speed-mult",
35
- "speed-mult",-353631814),G_=new $APP.M(null,"layers-raw","layers-raw",-233899391),i_=new $APP.M(null,"phase-offset","phase-offset",-1013192067),w_=new $APP.M(null,"paths","paths",-1807389588),D_=new $APP.M(null,"theme-raw","theme-raw",1068228849),z_=new $APP.M(null,"filt-id","filt-id",-672558408),J_=new $APP.M(null,"wave-intensity","wave-intensity",-915557489),y_=new $APP.M(null,"grad","grad",1125187229),I_=new $APP.M(null,"theme","theme",-1247880880),d0=new $APP.M(null,"color-3","color-3",265727868),
36
- E_=new $APP.M(null,"wave-intensity-raw","wave-intensity-raw",1563162777),A_=new $APP.M(null,"grad-id","grad-id",1430109665),C_=new $APP.M(null,"target-raw","target-raw",-72152629),K_=new $APP.M(null,"splash-intensity","splash-intensity",-619909243),R_=new $APP.M(null,"velocity","velocity",-581524355),F_=new $APP.M(null,"splash-intensity-raw","splash-intensity-raw",1573376927),H_=new $APP.M(null,"target","target",253001721);var g0="target orientation mode theme wave-intensity splash-intensity layers disabled".split(" ");
37
- $APP.Q([new $APP.M(null,"waveIntensity","waveIntensity",695633410),$APP.gj,new $APP.M(null,"splashIntensity","splashIntensity",1275664841),$APP.Ri,$APP.xk,I_,$APP.Bi,H_,$APP.dl],[new $APP.P(null,1,[$APP.Z,$APP.V],null),new $APP.P(null,1,[$APP.Z,$APP.qj],null),new $APP.P(null,1,[$APP.Z,$APP.V],null),new $APP.P(null,1,[$APP.Z,$APP.Y],null),new $APP.P(null,1,[$APP.Z,$APP.Y],null),new $APP.P(null,1,[$APP.Z,$APP.Y],null),new $APP.P(null,1,[$APP.Z,$APP.V],null),new $APP.P(null,1,[$APP.Z,$APP.Y],null),new $APP.P(null,
38
- 2,[$APP.Z,$APP.V,$APP.Fj,!0],null)]);$APP.Sd(["x-liquid-fill-progress",new $APP.P(null,2,[$APP.U,new $APP.P(null,2,[$APP.dl,$APP.V,R_,$APP.V],null),$APP.kl,!1],null)]);
39
- var a_=new $APP.R(null,new $APP.P(null,2,["vertical",null,"horizontal",null],null),null),c_=new $APP.R(null,new $APP.P(null,2,["bar",null,"fill",null],null),null),e_=new $APP.R(null,new $APP.P(null,4,["custom",null,"gold",null,"lava",null,"water",null],null),null),c0=new $APP.P(null,3,["gold",new $APP.P(null,4,[$APP.ok,"#B8860B",$APP.pk,"#D4AF37",d0,"#F9F295",$APP.wk,"rgba(255,255,240,0.6)"],null),"water",new $APP.P(null,4,[$APP.ok,"#0077B6",$APP.pk,"#00B4D8",d0,"#90E0EF",$APP.wk,"rgba(255,255,255,0.5)"],
40
- null),"lava",new $APP.P(null,4,[$APP.ok,"#8B0000",$APP.pk,"#FF4500",d0,"#FF8C00",$APP.wk,"rgba(255,255,200,0.7)"],null)],null);var u_=new $APP.ae(0),v_=":host{display:block;position:relative;overflow:hidden;"+$APP.S.g("--x-liquid-fill-bg")+":transparent;"+$APP.S.g("--x-liquid-fill-border")+":none;"+$APP.S.g("--x-liquid-fill-radius")+":0;"+$APP.S.g("--x-liquid-fill-opacity")+":1;"+$APP.S.g("--x-liquid-fill-wave-speed")+":1;"+$APP.S.g("--x-liquid-fill-color-1")+":#B8860B;"+$APP.S.g("--x-liquid-fill-color-2")+":#D4AF37;"+$APP.S.g("--x-liquid-fill-color-3")+":#F9F295;"+$APP.S.g("--x-liquid-fill-specular-color")+":rgba(255,255,240,0.6);}:host{background:var("+
12
+ "200");B.setAttribute("in","specular");B.setAttribute("in2","SourceAlpha");B.setAttribute("operator","in");B.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");w.appendChild(x);w.appendChild(y);w.appendChild(B);w.appendChild(E);h.appendChild(k);h.appendChild(w);g.appendChild(h);for(h=0;;)if(h<5)m=H[h],m.setAttribute("class",
13
+ "wave-layer"),m.setAttribute("data-layer",""+$APP.S.g(h)),m.setAttribute("fill","url(#"+$APP.S.g(Y)+")"),m.style.display="none",g.appendChild(m),h+=1;else break;F.setAttribute("part","content");F.appendChild(M);e.appendChild(g);e.appendChild(F);c.appendChild(d);c.appendChild(e);a.__xLiquidFillUid=b;$APP.n(a,"__xLiquidFillRefs",new $APP.P(null,8,[$APP.bi,c,$APP.xj,g,$_,H,$APP.Vh,F,a0,A,b0,k,c0,ea,d0,Y],null))},o0=function(a){a=new $APP.P(null,8,[f0,a.getAttribute("target"),$APP.$k,a.getAttribute("orientation"),
14
+ $APP.Ck,a.getAttribute("mode"),g0,a.getAttribute("theme"),h0,a.getAttribute("wave-intensity"),i0,a.getAttribute("splash-intensity"),j0,a.getAttribute("layers"),$APP.Ai,a.getAttribute("disabled")],null);var b=$APP.N(a);a=$APP.G(b,f0);var c=$APP.G(b,$APP.$k),d=$APP.G(b,$APP.Ck),e=$APP.G(b,g0),g=$APP.G(b,h0),h=$APP.G(b,i0),k=$APP.G(b,j0);b=$APP.G(b,$APP.Ai);return new $APP.P(null,8,[k0,typeof a==="string"&&$APP.O(a.trim(),"")?a.trim():null,$APP.yk,F_(c),$APP.Ri,H_(d),l0,J_(e),m0,K_(g,.5),n0,K_(h,.7),
15
+ $APP.Bi,L_(k),$APP.W,b!=null],null)},p0=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},q0=function(a,b){var c=$APP.N($APP.l(a,"__xLiquidFillRefs"));a=$APP.G(c,$_);c=$APP.G(c,c0);for(var d=0;;)if(d<5){var e=a[d];if(d<b){var g=P_(d,b),h=$APP.D.i(d,b-1);e.style.display="";e.setAttribute("opacity",""+$APP.S.g($APP.Ph.g(g)));h?e.setAttribute("filter","url(#"+$APP.S.g(c)+")"):e.removeAttribute("filter")}else e.style.display=
16
+ "none";d+=1}else break},r0=function(a){return $APP.D.i("vertical",$APP.yk.g(a))&&$APP.O("bar",$APP.Ri.g(a))},s0=function(a){var b=$APP.l(a,"__xLiquidFillModel"),c=$APP.l(a,"__xLiquidFillW"),d=$APP.l(a,"__xLiquidFillH"),e=$APP.l(a,"__xLiquidFillTime"),g=$APP.l(a,"__xLiquidFillProg"),h=$APP.Bi.g(b);b=r0(b);var k=$APP.l(a,"__xLiquidFillWA"),m=$APP.l(a,"__xLiquidFillWP");a=$APP.N($APP.l(a,"__xLiquidFillRefs"));a=$APP.G(a,$_);if($APP.r($APP.r(c)?$APP.r(d)?c>0&&d>0:d:c))for(var p=0;;)if(p<h){var q=a[p],
17
+ w=k[p],x=m[p];if(b){var y=d*(1-g),A=c,B=d,E=e,H=[];H.push("M0,"+$APP.S.g((y+S_(0,E,w,x)).toFixed(2)));for(var F=0;;)if(F<10){var M=(F+.5)/10,Y=(F+1)/10,ea=y+S_(M,E,w,x),ta=Y*A;Y=y+S_(Y,E,w,x);H.push("Q"+$APP.S.g((M*A).toFixed(2))+","+$APP.S.g(ea.toFixed(2))+" "+$APP.S.g(ta.toFixed(2))+","+$APP.S.g(Y.toFixed(2)));F+=1}else break;H.push("L"+$APP.S.g(A.toFixed(2))+","+$APP.S.g(B.toFixed(2)));H.push("L0,"+$APP.S.g(B.toFixed(2)));H.push("Z");q.setAttribute("d",H.join(""))}else{y=c*g;A=d;B=e;E=w;w=x;x=
18
+ [];x.push("M"+$APP.S.g((y+S_(0,B,E,w)).toFixed(2))+",0");for(H=0;;)if(H<10)F=(H+.5)/10,ta=(H+1)/10,M=F*A,ea=ta*A,ta=y+S_(ta,B,E,w),x.push("Q"+$APP.S.g((y+S_(F,B,E,w)).toFixed(2))+","+$APP.S.g(M.toFixed(2))+" "+$APP.S.g(ta.toFixed(2))+","+$APP.S.g(ea.toFixed(2))),H+=1;else break;x.push("L0,"+$APP.S.g(A.toFixed(2)));x.push("L0,0");x.push("Z");q.setAttribute("d",x.join(""))}p+=1}else break},t0=function(a){var b=$APP.l(a,"__xLiquidFillModel"),c=$APP.l(a,"__xLiquidFillW"),d=$APP.l(a,"__xLiquidFillH");
19
+ var e=$APP.l(a,"__xLiquidFillProg");e=$APP.r(e)?e:0;var g=$APP.Bi.g(b);b=r0(b);a=$APP.N($APP.l(a,"__xLiquidFillRefs"));a=$APP.G(a,$_);if($APP.r($APP.r(c)?$APP.r(d)?c>0&&d>0:d:c))for(var h=0;;)if(h<g){var k=a[h];if(b){var m=d*(1-e);k.setAttribute("d","M0,"+$APP.S.g(m.toFixed(2))+"L"+$APP.S.g(c.toFixed(2))+","+$APP.S.g(m.toFixed(2))+"L"+$APP.S.g(c.toFixed(2))+","+$APP.S.g(d.toFixed(2))+"L0,"+$APP.S.g(d.toFixed(2))+"Z")}else m=c*e,k.setAttribute("d","M"+$APP.S.g(m.toFixed(2))+",0L"+$APP.S.g(m.toFixed(2))+
20
+ ","+$APP.S.g(d.toFixed(2))+"L0,"+$APP.S.g(d.toFixed(2))+"L0,0Z");h+=1}else break},v0=function(a,b,c){b=new CustomEvent("x-liquid-fill-progress",{detail:$APP.nh(new $APP.P(null,2,[$APP.el,b,u0,c],null)),bubbles:!0,composed:!0,cancelable:!1});a.dispatchEvent(b)},x0=function(a){$APP.r($APP.l(a,"__xLiquidFillRaf"))||($APP.n(a,"__xLiquidFillLF",performance.now()),$APP.n(a,"__xLiquidFillRaf",requestAnimationFrame(function(){return w0(a)})))},y0=function(a){var b=$APP.l(a,"__xLiquidFillRaf");$APP.r(b)&&
21
+ (cancelAnimationFrame(b),a.__xLiquidFillRaf=null)},B0=function(a){if($APP.r(function(){var h=a.isConnected;return $APP.r(h)?$APP.l(a,"__xLiquidFillVis"):h}())){var b=$APP.l(a,"__xLiquidFillModel");$APP.l(a,"__xLiquidFillST")==null&&k0.g(b)!=null&&(b=W_(a,k0.g(b)),$APP.r(b)&&(z0.g?z0.g(a):z0.call(null,a),a.__xLiquidFillST=b,A0.g?A0.g(a):A0.call(null,a)));var c=$APP.l(a,"__xLiquidFillModel");b=$APP.l(a,"__xLiquidFillST");var d=$APP.yk.g(c);d=X_(b,d);var e=d[0];b=d[1];d=d[2];var g=performance.now();
22
+ b=Q_(e,b,d);d=R_(e,function(){var h=$APP.l(a,"__xLiquidFillLS");return $APP.r(h)?h:e}(),(g-function(){var h=$APP.l(a,"__xLiquidFillLST");return $APP.r(h)?h:g}())/1E3);a.__xLiquidFillTP=b;$APP.n(a,"__xLiquidFillSV",Math.max(function(){var h=$APP.l(a,"__xLiquidFillSV");return $APP.r(h)?h:0}(),d));a.__xLiquidFillLS=e;a.__xLiquidFillLST=g;$APP.r(function(){var h=$APP.W.g(c);return $APP.r(h)?h:V_()}())||x0(a);$APP.r(function(){var h=$APP.W.g(c);return $APP.r(h)?h:V_()}())&&(a.__xLiquidFillProg=b,t0(a),
23
+ v0(a,b,d))}return null},A0=function(a){var b=$APP.l(a,"__xLiquidFillHdl");if($APP.r($APP.r(b)?$APP.t($APP.l(b,"scrollAttached")):b)){var c=$APP.l(b,"scroll");a=$APP.l(a,"__xLiquidFillST");$APP.r(a)?a.addEventListener("scroll",c,{passive:!0}):window.addEventListener("scroll",c,{passive:!0});b.scrollAttached=!0}else return null},z0=function(a){var b=$APP.l(a,"__xLiquidFillHdl");if($APP.r($APP.r(b)?$APP.l(b,"scrollAttached"):b)){var c=$APP.l(b,"scroll");a=$APP.l(a,"__xLiquidFillST");$APP.r(a)?a.removeEventListener("scroll",
24
+ c):window.removeEventListener("scroll",c);b.scrollAttached=!1}else return null},C0=function(a){var b=k0.g($APP.l(a,"__xLiquidFillModel")),c=W_(a,b);a.__xLiquidFillST=c;A0(a);B0(a);b!=null&&c==null&&requestAnimationFrame(function(){if($APP.r(a.isConnected)){var d=k0.g($APP.l(a,"__xLiquidFillModel"));d!=null&&$APP.l(a,"__xLiquidFillST")==null&&(d=W_(a,d),$APP.r(d)&&(z0(a),a.__xLiquidFillST=d,A0(a),B0(a)))}return null})},D0=function(a){$APP.n(a,"__xLiquidFillHdl",{scroll:function(){return B0(a)},scrollAttached:!1})},
25
+ E0=function(a){z0(a);a.__xLiquidFillHdl=null},F0=function(a){var b=new IntersectionObserver(function(c){c=c[0].isIntersecting;a.__xLiquidFillVis=c;$APP.r(c)?(c=$APP.W.g($APP.l(a,"__xLiquidFillModel")),c=$APP.r(c)?c:V_(),$APP.r(c)||x0(a)):y0(a);return null},{threshold:[0]});b.observe(a);a.__xLiquidFillIO=b;b=new ResizeObserver(function(c){if(c.length>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.N($APP.l(a,"__xLiquidFillRefs")),g=$APP.G(e,
26
+ $APP.xj),h=$APP.G(e,a0);e=$APP.G(e,b0);var k=Math.max(c,d);g.setAttribute("viewBox","0 0 "+$APP.S.g(c)+" "+$APP.S.g(d));h.setAttribute("x",""+$APP.S.g(c*.3));e.setAttribute("cx",""+$APP.S.g(c*.5));e.setAttribute("cy",""+$APP.S.g(d));e.setAttribute("r",""+$APP.S.g(k));e.setAttribute("fx",""+$APP.S.g(c*.5));e.setAttribute("fy",""+$APP.S.g(d));c=$APP.W.g($APP.l(a,"__xLiquidFillModel"));c=$APP.r(c)?c:V_();$APP.r(c)?t0(a):(s0(a),x0(a))}}return null});b.observe(a);a.__xLiquidFillRO=b},I0=function(a,b){b=
27
+ $APP.G(G0,b);$APP.r(b)?(a=a.style,a.setProperty("--x-liquid-fill-color-1",$APP.ik.g(b)),a.setProperty("--x-liquid-fill-color-2",$APP.jk.g(b)),a.setProperty("--x-liquid-fill-color-3",H0.g(b)),a.setProperty("--x-liquid-fill-specular-color",$APP.xk.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"),a.removeProperty("--x-liquid-fill-specular-color"))},J0=function(a){Object.defineProperty(a,"target",{get:function(){return this.getAttribute("target")},
28
+ set:function(b){return $APP.r(b)?this.setAttribute("target",""+$APP.S.g(b)):this.removeAttribute("target")},enumerable:!0,configurable:!0});Object.defineProperty(a,"orientation",{get:function(){return F_(this.getAttribute("orientation"))},set:function(b){return $APP.r(b)?this.setAttribute("orientation",""+$APP.S.g(b)):this.removeAttribute("orientation")},enumerable:!0,configurable:!0});Object.defineProperty(a,"mode",{get:function(){return H_(this.getAttribute("mode"))},set:function(b){return $APP.r(b)?
29
+ this.setAttribute("mode",""+$APP.S.g(b)):this.removeAttribute("mode")},enumerable:!0,configurable:!0});Object.defineProperty(a,"theme",{get:function(){return J_(this.getAttribute("theme"))},set:function(b){return $APP.r(b)?this.setAttribute("theme",""+$APP.S.g(b)):this.removeAttribute("theme")},enumerable:!0,configurable:!0});Object.defineProperty(a,"waveIntensity",{get:function(){var b=this.getAttribute("wave-intensity");return K_(b,.5)},set:function(b){return b==null?this.removeAttribute("wave-intensity"):
30
+ this.setAttribute("wave-intensity",""+$APP.S.g(b))},enumerable:!0,configurable:!0});Object.defineProperty(a,"splashIntensity",{get:function(){var b=this.getAttribute("splash-intensity");return K_(b,.7)},set:function(b){return b==null?this.removeAttribute("splash-intensity"):this.setAttribute("splash-intensity",""+$APP.S.g(b))},enumerable:!0,configurable:!0});Object.defineProperty(a,"layers",{get:function(){return L_(this.getAttribute("layers"))},set:function(b){return b==null?this.removeAttribute("layers"):
31
+ this.setAttribute("layers",""+$APP.S.g(b))},enumerable:!0,configurable:!0});Object.defineProperty(a,"disabled",{get:function(){return this.hasAttribute("disabled")},set:function(b){return $APP.r(b)?this.setAttribute("disabled",""):this.removeAttribute("disabled")},enumerable:!0,configurable:!0});Object.defineProperty(a,"progress",{get:function(){var b=$APP.l(this,"__xLiquidFillProg");return $APP.r(b)?b:0},enumerable:!0,configurable:!0})},L0=function(){var a=class extends HTMLElement{};a.observedAttributes=
32
+ K0;a.prototype.connectedCallback=function(){var b=o0(this);this.__xLiquidFillModel=b;this.__xLiquidFillTime=this.__xLiquidFillSV=this.__xLiquidFillTP=this.__xLiquidFillProg=0;this.__xLiquidFillLD=-1;this.__xLiquidFillVis=!0;$APP.r($APP.l(this,"__xLiquidFillRefs"))||e0(this);I0(this,l0.g(b));p0(this,$APP.Bi.g(b));q0(this,$APP.Bi.g(b));E0(this);D0(this);F0(this);C0(this);return null};a.prototype.disconnectedCallback=function(){y0(this);E0(this);var b=$APP.l(this,"__xLiquidFillIO");$APP.r(b)&&(b.disconnect(),
33
+ this.__xLiquidFillIO=null);b=$APP.l(this,"__xLiquidFillRO");$APP.r(b)&&(b.disconnect(),this.__xLiquidFillRO=null);this.__xLiquidFillVis=!1;return null};a.prototype.attributeChangedCallback=function(b,c,d){if($APP.O(c,d)&&$APP.r($APP.l(this,"__xLiquidFillRefs"))){b=o0(this);c=$APP.l(this,"__xLiquidFillModel");this.__xLiquidFillModel=b;if(c==null||$APP.O($APP.Bi.g(b),$APP.Bi.g(c)))p0(this,$APP.Bi.g(b)),q0(this,$APP.Bi.g(b));(c==null||$APP.O(l0.g(b),l0.g(c)))&&I0(this,l0.g(b));if(c==null||$APP.O(k0.g(b),
34
+ k0.g(c)))z0(this),C0(this);c=$APP.l(this,"__xLiquidFillW");d=$APP.l(this,"__xLiquidFillH");$APP.r($APP.r(c)?$APP.r(d)?c>0&&d>0:d:c)&&(b=$APP.W.g(b),b=$APP.r(b)?b:V_(),$APP.r(b)?(y0(this),t0(this)):(s0(this),x0(this)))}return null};J0(a.prototype);return a},M0=function(){$APP.r(customElements.get("x-liquid-fill"))||customElements.define("x-liquid-fill",L0());return null},O_=new $APP.K(null,"amp-mult","amp-mult",698045242),a0=new $APP.K(null,"feLight","feLight",-1941454484),N_=new $APP.K(null,"speed-mult",
35
+ "speed-mult",-353631814),j0=new $APP.K(null,"layers-raw","layers-raw",-233899391),M_=new $APP.K(null,"phase-offset","phase-offset",-1013192067),$_=new $APP.K(null,"paths","paths",-1807389588),g0=new $APP.K(null,"theme-raw","theme-raw",1068228849),c0=new $APP.K(null,"filt-id","filt-id",-672558408),m0=new $APP.K(null,"wave-intensity","wave-intensity",-915557489),b0=new $APP.K(null,"grad","grad",1125187229),l0=new $APP.K(null,"theme","theme",-1247880880),H0=new $APP.K(null,"color-3","color-3",265727868),
36
+ h0=new $APP.K(null,"wave-intensity-raw","wave-intensity-raw",1563162777),d0=new $APP.K(null,"grad-id","grad-id",1430109665),f0=new $APP.K(null,"target-raw","target-raw",-72152629),n0=new $APP.K(null,"splash-intensity","splash-intensity",-619909243),u0=new $APP.K(null,"velocity","velocity",-581524355),i0=new $APP.K(null,"splash-intensity-raw","splash-intensity-raw",1573376927),k0=new $APP.K(null,"target","target",253001721);var K0="target orientation mode theme wave-intensity splash-intensity layers disabled".split(" ");
37
+ $APP.Q([new $APP.K(null,"waveIntensity","waveIntensity",695633410),$APP.gj,new $APP.K(null,"splashIntensity","splashIntensity",1275664841),$APP.Ri,$APP.yk,l0,$APP.Bi,k0,$APP.el],[new $APP.P(null,1,[$APP.Z,$APP.V],null),new $APP.P(null,1,[$APP.Z,$APP.qj],null),new $APP.P(null,1,[$APP.Z,$APP.V],null),new $APP.P(null,1,[$APP.Z,$APP.X],null),new $APP.P(null,1,[$APP.Z,$APP.X],null),new $APP.P(null,1,[$APP.Z,$APP.X],null),new $APP.P(null,1,[$APP.Z,$APP.V],null),new $APP.P(null,1,[$APP.Z,$APP.X],null),new $APP.P(null,
38
+ 2,[$APP.Z,$APP.V,$APP.Fj,!0],null)]);$APP.Sd(["x-liquid-fill-progress",new $APP.P(null,2,[$APP.U,new $APP.P(null,2,[$APP.el,$APP.V,u0,$APP.V],null),$APP.ll,!1],null)]);
39
+ var E_=new $APP.R(null,new $APP.P(null,2,["vertical",null,"horizontal",null],null),null),G_=new $APP.R(null,new $APP.P(null,2,["bar",null,"fill",null],null),null),I_=new $APP.R(null,new $APP.P(null,4,["custom",null,"gold",null,"lava",null,"water",null],null),null),G0=new $APP.P(null,3,["gold",new $APP.P(null,4,[$APP.ik,"#B8860B",$APP.jk,"#D4AF37",H0,"#F9F295",$APP.xk,"rgba(255,255,240,0.6)"],null),"water",new $APP.P(null,4,[$APP.ik,"#0077B6",$APP.jk,"#00B4D8",H0,"#90E0EF",$APP.xk,"rgba(255,255,255,0.5)"],
40
+ null),"lava",new $APP.P(null,4,[$APP.ik,"#8B0000",$APP.jk,"#FF4500",H0,"#FF8C00",$APP.xk,"rgba(255,255,200,0.7)"],null)],null);var Y_=new $APP.ae(0),Z_=":host{display:block;position:relative;overflow:hidden;"+$APP.S.g("--x-liquid-fill-bg")+":transparent;"+$APP.S.g("--x-liquid-fill-border")+":none;"+$APP.S.g("--x-liquid-fill-radius")+":0;"+$APP.S.g("--x-liquid-fill-opacity")+":1;"+$APP.S.g("--x-liquid-fill-wave-speed")+":1;"+$APP.S.g("--x-liquid-fill-color-1")+":#B8860B;"+$APP.S.g("--x-liquid-fill-color-2")+":#D4AF37;"+$APP.S.g("--x-liquid-fill-color-3")+":#F9F295;"+$APP.S.g("--x-liquid-fill-specular-color")+":rgba(255,255,240,0.6);}:host{background:var("+
41
41
  $APP.S.g("--x-liquid-fill-bg")+",transparent);border:var("+$APP.S.g("--x-liquid-fill-border")+",none);border-radius:var("+$APP.S.g("--x-liquid-fill-radius")+",0);}:host([mode\x3dbar]){"+$APP.S.g("--x-liquid-fill-bar-height")+":14px;height:var("+$APP.S.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
- $APP.S.g("--x-liquid-fill-opacity")+",1);}[part\x3dcontent]{position:relative;z-index:1;}."+$APP.S.g("wave-layer")+"{transition:none;}@media(prefers-color-scheme:dark){:host{"+$APP.S.g("--x-liquid-fill-bg")+":transparent;"+$APP.S.g("--x-liquid-fill-specular-color")+":rgba(255,255,200,0.4);}}@media(prefers-reduced-motion:reduce){."+$APP.S.g("wave-layer")+"{transition:none!important;}}",T_=function T_(a){if($APP.r(a.isConnected)){var c=$APP.l(a,"__xLiquidFillModel"),d=performance.now(),e=Math.min(d-
43
- $APP.l(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.r(H)?H:E<=0);return $APP.r(H)?1:E}(),h=$APP.Bi.g(c),k=J_.g(c);c=K_.g(c);var m=function(){var E=$APP.l(a,"__xLiquidFillSV");return $APP.r(E)?E:0}(),p=$APP.l(a,"__xLiquidFillWA"),q=$APP.l(a,"__xLiquidFillWV"),w=$APP.l(a,"__xLiquidFillWP");a.__xLiquidFillLF=d;$APP.n(a,"__xLiquidFillTime",function(){var E=
44
- $APP.l(a,"__xLiquidFillTime");return $APP.r(E)?E:0}()+e*g);$APP.n(a,"__xLiquidFillProg",q_(function(){var E=$APP.l(a,"__xLiquidFillProg");return $APP.r(E)?E:0}(),function(){var E=$APP.l(a,"__xLiquidFillTP");return $APP.r(E)?E:0}(),5*e));var x=new $APP.ae(!1);for(d=0;;)if(d<h){var y=l_(d,h),A=m*k*c*k_.g(y)*30+2*k*k_.g(y);A=p_(p[d],A,q[d],e,$APP.Vk.g(y),$APP.Vj.g(y));p[d]=A[0];q[d]=A[1];w[d]+=e*g*j_.g(y);Math.abs(q[d])>.05&&$APP.Ab(x,!0);d+=1}else break;a.__xLiquidFillSV=m*Math.max(0,1-3*e);P_(a);e=
45
- $APP.l(a,"__xLiquidFillProg");Math.abs(e-function(){var E=$APP.l(a,"__xLiquidFillLD");return $APP.r(E)?E:-1}())>.005&&(a.__xLiquidFillLD=e,S_(a,e,m));var C=Math.abs(function(){var E=$APP.l(a,"__xLiquidFillProg");return $APP.r(E)?E:0}()-function(){var E=$APP.l(a,"__xLiquidFillTP");return $APP.r(E)?E:0}());$APP.r(function(){var E=$APP.Ua(x);return $APP.r(E)?E:m>.01||C>.001}())?$APP.n(a,"__xLiquidFillRaf",requestAnimationFrame(function(){return T_.g?T_.g(a):T_.call(null,a)})):a.__xLiquidFillRaf=null}return null};$APP.ka("baredom.exports.x_liquid_fill.init",i0);export const init=i0;
42
+ $APP.S.g("--x-liquid-fill-opacity")+",1);}[part\x3dcontent]{position:relative;z-index:1;}."+$APP.S.g("wave-layer")+"{transition:none;}@media(prefers-color-scheme:dark){:host{"+$APP.S.g("--x-liquid-fill-bg")+":transparent;"+$APP.S.g("--x-liquid-fill-specular-color")+":rgba(255,255,200,0.4);}}@media(prefers-reduced-motion:reduce){."+$APP.S.g("wave-layer")+"{transition:none!important;}}",w0=function w0(a){if($APP.r(a.isConnected)){var c=$APP.l(a,"__xLiquidFillModel"),d=performance.now(),e=Math.min(d-
43
+ $APP.l(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.r(H)?H:E<=0);return $APP.r(H)?1:E}(),h=$APP.Bi.g(c),k=m0.g(c);c=n0.g(c);var m=function(){var E=$APP.l(a,"__xLiquidFillSV");return $APP.r(E)?E:0}(),p=$APP.l(a,"__xLiquidFillWA"),q=$APP.l(a,"__xLiquidFillWV"),w=$APP.l(a,"__xLiquidFillWP");a.__xLiquidFillLF=d;$APP.n(a,"__xLiquidFillTime",function(){var E=
44
+ $APP.l(a,"__xLiquidFillTime");return $APP.r(E)?E:0}()+e*g);$APP.n(a,"__xLiquidFillProg",U_(function(){var E=$APP.l(a,"__xLiquidFillProg");return $APP.r(E)?E:0}(),function(){var E=$APP.l(a,"__xLiquidFillTP");return $APP.r(E)?E:0}(),5*e));var x=new $APP.ae(!1);for(d=0;;)if(d<h){var y=P_(d,h),A=m*k*c*O_.g(y)*30+2*k*O_.g(y);A=T_(p[d],A,q[d],e,$APP.Wk.g(y),$APP.Wj.g(y));p[d]=A[0];q[d]=A[1];w[d]+=e*g*N_.g(y);Math.abs(q[d])>.05&&$APP.Ab(x,!0);d+=1}else break;a.__xLiquidFillSV=m*Math.max(0,1-3*e);s0(a);e=
45
+ $APP.l(a,"__xLiquidFillProg");Math.abs(e-function(){var E=$APP.l(a,"__xLiquidFillLD");return $APP.r(E)?E:-1}())>.005&&(a.__xLiquidFillLD=e,v0(a,e,m));var B=Math.abs(function(){var E=$APP.l(a,"__xLiquidFillProg");return $APP.r(E)?E:0}()-function(){var E=$APP.l(a,"__xLiquidFillTP");return $APP.r(E)?E:0}());$APP.r(function(){var E=$APP.Ua(x);return $APP.r(E)?E:m>.01||B>.001}())?$APP.n(a,"__xLiquidFillRaf",requestAnimationFrame(function(){return w0.g?w0.g(a):w0.call(null,a)})):a.__xLiquidFillRaf=null}return null};$APP.ka("baredom.exports.x_liquid_fill.init",M0);export const init=M0;
@@ -1,9 +1,9 @@
1
1
  import { $APP, shadow$provide } from "./base.js";
2
- var RP=function(a,b,c,d){if(typeof a==="string"){a=a.trim();if($APP.D.i(a,""))return b;a=parseFloat(a);return $APP.r(isNaN(a))?b:Math.min(d,Math.max(c,a))}return b},SP=function(a){if(typeof a==="string"){a=a.trim();if($APP.D.i(a,""))return 5;a=parseInt(a,10);return $APP.r(isNaN(a))?5:Math.min(8,Math.max(3,a))}return 5},TP=function(a){return typeof a==="string"?(a=a.trim(),$APP.O(a,"")?a:null):null},UP=function(a){return typeof a==="string"?(a=a.trim(),$APP.O(a,"")?a:null):null},XP=function(a){a=$APP.G(VP,
3
- typeof a==="string"?a.trim().toLowerCase():null);return $APP.r(a)?a:WP},pQ=function(a){var b=$APP.N(a);a=$APP.G(b,$APP.Ai);var c=$APP.G(b,YP),d=$APP.G(b,ZP),e=$APP.G(b,$APP.pl),g=$APP.G(b,$P),h=$APP.G(b,aQ),k=$APP.G(b,$APP.Bk),m=$APP.G(b,bQ),p=$APP.G(b,cQ),q=$APP.G(b,dQ),w=$APP.G(b,eQ),x=$APP.G(b,fQ),y=$APP.G(b,gQ);b=$APP.G(b,hQ);return $APP.Q([iQ,jQ,kQ,$APP.Yi,$APP.Ri,lQ,mQ,nQ,$APP.pk,$APP.Jh,$APP.ok,$APP.Fl,oQ,$APP.W],[RP(q,.5,0,1),RP(y,10,4,20),RP(h,.15,.05,.4),RP(p,.3,.05,2),XP(k),TP(d),RP(c,
4
- .4,.1,1),b!=null,function(){var A=UP(w);return $APP.r(A)?A:"rgba(244,114,182,0.35)"}(),RP(e,12,0,40),function(){var A=UP(x);return $APP.r(A)?A:"rgba(99,102,241,0.4)"}(),SP(g),RP(m,.3,0,1),a!=null])},qQ=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},sQ=function(){var a=$APP.l(rQ,"v");rQ.v=a+1;return a},tQ=function(){return $APP.I(window.matchMedia("(prefers-reduced-motion:reduce)").matches)},
5
- BQ=function(a){var b=sQ(),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"),k=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
- "ellipse"),w=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.S.g(b);a.__xLiquidGlassUID=b;d.textContent=":host{display:block;position:relative;isolation:isolate;min-width:120px;min-height:80px;"+$APP.S.g("--x-liquid-glass-padding")+":1.5rem;"+$APP.S.g("--x-liquid-glass-specular-color")+":rgba(255,255,255,0.6);"+$APP.S.g("--x-liquid-glass-spring")+
2
+ var vQ=function(a,b,c,d){if(typeof a==="string"){a=a.trim();if($APP.D.i(a,""))return b;a=parseFloat(a);return $APP.r(isNaN(a))?b:Math.min(d,Math.max(c,a))}return b},wQ=function(a){if(typeof a==="string"){a=a.trim();if($APP.D.i(a,""))return 5;a=parseInt(a,10);return $APP.r(isNaN(a))?5:Math.min(8,Math.max(3,a))}return 5},xQ=function(a){return typeof a==="string"?(a=a.trim(),$APP.O(a,"")?a:null):null},yQ=function(a){return typeof a==="string"?(a=a.trim(),$APP.O(a,"")?a:null):null},BQ=function(a){a=$APP.G(zQ,
3
+ typeof a==="string"?a.trim().toLowerCase():null);return $APP.r(a)?a:AQ},UQ=function(a){var b=$APP.N(a);a=$APP.G(b,$APP.Ai);var c=$APP.G(b,CQ),d=$APP.G(b,DQ),e=$APP.G(b,$APP.ql),g=$APP.G(b,EQ),h=$APP.G(b,FQ),k=$APP.G(b,$APP.Ck),m=$APP.G(b,GQ),p=$APP.G(b,HQ),q=$APP.G(b,IQ),w=$APP.G(b,JQ),x=$APP.G(b,KQ),y=$APP.G(b,LQ);b=$APP.G(b,MQ);return $APP.Q([NQ,OQ,PQ,$APP.Yi,$APP.Ri,QQ,RQ,SQ,$APP.jk,$APP.Jh,$APP.ik,$APP.Gl,TQ,$APP.W],[vQ(q,.5,0,1),vQ(y,10,4,20),vQ(h,.15,.05,.4),vQ(p,.3,.05,2),BQ(k),xQ(d),vQ(c,
4
+ .4,.1,1),b!=null,function(){var A=yQ(w);return $APP.r(A)?A:"rgba(244,114,182,0.35)"}(),vQ(e,12,0,40),function(){var A=yQ(x);return $APP.r(A)?A:"rgba(99,102,241,0.4)"}(),wQ(g),vQ(m,.3,0,1),a!=null])},VQ=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},XQ=function(){var a=$APP.l(WQ,"v");WQ.v=a+1;return a},YQ=function(){return $APP.I(window.matchMedia("(prefers-reduced-motion:reduce)").matches)},
5
+ fR=function(a){var b=XQ(),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"),k=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
+ "ellipse"),w=document.createElement("div"),x=document.createElement("div"),y=document.createElement("div"),A=document.createElement("div"),B=document.createElement("div"),E=document.createElement("slot"),H="lg-goo-"+$APP.S.g(b);a.__xLiquidGlassUID=b;d.textContent=":host{display:block;position:relative;isolation:isolate;min-width:120px;min-height:80px;"+$APP.S.g("--x-liquid-glass-padding")+":1.5rem;"+$APP.S.g("--x-liquid-glass-specular-color")+":rgba(255,255,255,0.6);"+$APP.S.g("--x-liquid-glass-spring")+
7
7
  ":"+$APP.S.g("linear(0, 0.006, 0.025, 0.058, 0.104, 0.163, 0.234, 0.315, 0.403, 0.496, 0.591, 0.685, 0.774, 0.856, 0.926, 0.983, 1.025, 1.052, 1.065, 1.063, 1.049, 1.025, 0.995, 0.961, 0.927, 0.896, 0.870, 0.850, 0.837, 0.831, 0.832, 0.839, 0.851, 0.867, 0.885, 0.903, 0.921, 0.937, 0.951, 0.962, 0.970, 0.976, 0.979, 0.981, 0.981, 0.980, 0.979, 0.977, 0.976, 0.975, 0.975, 0.976, 0.977, 0.979, 0.981, 0.983, 0.986, 0.989, 0.992, 0.995, 0.998, 1)")+";"+$APP.S.g("--x-liquid-glass-spring-duration")+":"+
8
8
  $APP.S.g("600ms")+";}[part\x3dsvg]{display:block;width:100%;height:100%;position:absolute;inset:0;overflow:visible;pointer-events:none;z-index:1;}[part\x3dglass]{position:absolute;inset:0;backdrop-filter:blur(var("+$APP.S.g("--x-liquid-glass-blur")+",12px)) saturate(180%);-webkit-backdrop-filter:blur(var("+$APP.S.g("--x-liquid-glass-blur")+",12px)) saturate(180%);z-index:0;}[part\x3dgrain]{position:absolute;inset:0;z-index:2;opacity:0.4;pointer-events:none;}[part\x3dgradient]{position:absolute;inset:0;z-index:1;pointer-events:none;}[part\x3dspecular]{position:absolute;inset:0;z-index:1;opacity:0;pointer-events:none;transition:background var("+
9
9
  $APP.S.g("--x-liquid-glass-spring-duration")+","+$APP.S.g("600ms")+") var("+$APP.S.g("--x-liquid-glass-spring")+","+$APP.S.g("linear(0, 0.006, 0.025, 0.058, 0.104, 0.163, 0.234, 0.315, 0.403, 0.496, 0.591, 0.685, 0.774, 0.856, 0.926, 0.983, 1.025, 1.052, 1.065, 1.063, 1.049, 1.025, 0.995, 0.961, 0.927, 0.896, 0.870, 0.850, 0.837, 0.831, 0.832, 0.839, 0.851, 0.867, 0.885, 0.903, 0.921, 0.937, 0.951, 0.962, 0.970, 0.976, 0.979, 0.981, 0.981, 0.980, 0.979, 0.977, 0.976, 0.975, 0.975, 0.976, 0.977, 0.979, 0.981, 0.983, 0.986, 0.989, 0.992, 0.995, 0.998, 1)")+
@@ -11,38 +11,38 @@ $APP.S.g("--x-liquid-glass-spring-duration")+","+$APP.S.g("600ms")+") var("+$APP
11
11
  ");}[part\x3dcontent]{position:relative;padding:var("+$APP.S.g("--x-liquid-glass-padding")+",1.5rem);z-index:3;}@keyframes lg-enter{from{opacity:0;transform:scale(0.92);}to{opacity:1;transform:scale(1);}}:host([data-entering]) [part\x3dglass],:host([data-entering]) [part\x3dsvg]{animation:lg-enter var("+$APP.S.g("--x-liquid-glass-spring-duration")+","+$APP.S.g("600ms")+") var("+$APP.S.g("--x-liquid-glass-spring")+","+$APP.S.g("linear(0, 0.006, 0.025, 0.058, 0.104, 0.163, 0.234, 0.315, 0.403, 0.496, 0.591, 0.685, 0.774, 0.856, 0.926, 0.983, 1.025, 1.052, 1.065, 1.063, 1.049, 1.025, 0.995, 0.961, 0.927, 0.896, 0.870, 0.850, 0.837, 0.831, 0.832, 0.839, 0.851, 0.867, 0.885, 0.903, 0.921, 0.937, 0.951, 0.962, 0.970, 0.976, 0.979, 0.981, 0.981, 0.980, 0.979, 0.977, 0.976, 0.975, 0.975, 0.976, 0.977, 0.979, 0.981, 0.983, 0.986, 0.989, 0.992, 0.995, 0.998, 1)")+
12
12
  ") both;}@media(prefers-color-scheme:dark){:host{"+$APP.S.g("--x-liquid-glass-specular-color")+":rgba(255,255,255,0.3);}}@media(prefers-reduced-motion:reduce){:host([data-entering]) [part\x3dglass],:host([data-entering]) [part\x3dsvg]{animation:none;}[part\x3dspecular]{transition:none!important;}}";e.setAttribute("part","svg");e.setAttribute("viewBox","0 0 300 200");e.setAttribute("preserveAspectRatio","none");e.setAttribute("aria-hidden","true");h.setAttribute("id",H);k.setAttribute("in","SourceGraphic");
13
13
  k.setAttribute("stdDeviation","10");k.setAttribute("result","blur");m.setAttribute("in","blur");m.setAttribute("mode","matrix");m.setAttribute("values","1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 19 -9");h.appendChild(k);h.appendChild(m);g.appendChild(h);e.appendChild(g);p.setAttribute("filter","url(#"+$APP.S.g(H)+")");p.setAttribute("opacity","0.35");q.setAttribute("class","blob-core");p.appendChild(q);e.appendChild(p);m=document.createElementNS("http://www.w3.org/2000/svg","linearGradient");var F="lg-edge-"+
14
- $APP.S.g(b),K=document.createElementNS("http://www.w3.org/2000/svg","stop"),X=document.createElementNS("http://www.w3.org/2000/svg","stop"),da=document.createElementNS("http://www.w3.org/2000/svg","stop");m.setAttribute("id",F);m.setAttribute("x1","0");m.setAttribute("y1","0");m.setAttribute("x2","1");m.setAttribute("y2","1");K.setAttribute("offset","0%");K.setAttribute("stop-color","white");K.setAttribute("stop-opacity","0.9");X.setAttribute("offset","50%");X.setAttribute("stop-color","white");X.setAttribute("stop-opacity",
15
- "0.15");da.setAttribute("offset","100%");da.setAttribute("stop-color","white");da.setAttribute("stop-opacity","0.5");m.appendChild(K);m.appendChild(X);m.appendChild(da);g.appendChild(m);a.__xLiquidGlassEdgeId=F;m=document.createElementNS("http://www.w3.org/2000/svg","g");F=document.createElementNS("http://www.w3.org/2000/svg","ellipse");K=$APP.l(a,"__xLiquidGlassEdgeId");m.setAttribute("filter","url(#"+$APP.S.g(H)+")");m.setAttribute("opacity","0.7");F.setAttribute("class","blob-border");F.setAttribute("fill",
16
- "none");F.setAttribute("stroke","url(#"+$APP.S.g(K)+")");F.setAttribute("stroke-width","2.5");m.appendChild(F);e.appendChild(m);a.__xLiquidGlassBorderG=m;a.__xLiquidGlassBorderCore=F;m=document.createElementNS("http://www.w3.org/2000/svg","filter");F="lg-grain-"+$APP.S.g(b);K=document.createElementNS("http://www.w3.org/2000/svg","feTurbulence");X=document.createElementNS("http://www.w3.org/2000/svg","feColorMatrix");m.setAttribute("id",F);K.setAttribute("type","fractalNoise");K.setAttribute("baseFrequency",
17
- "0.6");K.setAttribute("numOctaves","3");K.setAttribute("stitchTiles","stitch");X.setAttribute("type","matrix");X.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(K);m.appendChild(X);g.appendChild(m);a.__xLiquidGlassGrainId=F;m=document.createElementNS("http://www.w3.org/2000/svg","mask");b="lg-mask-"+$APP.S.g(b);F=document.createElementNS("http://www.w3.org/2000/svg","g");K=document.createElementNS("http://www.w3.org/2000/svg","ellipse");m.setAttribute("id",b);
18
- m.setAttribute("maskUnits","userSpaceOnUse");m.setAttribute("maskContentUnits","userSpaceOnUse");F.setAttribute("filter","url(#"+$APP.S.g(H)+")");K.setAttribute("fill","white");F.appendChild(K);m.appendChild(F);g.appendChild(m);a.__xLiquidGlassMaskG=F;a.__xLiquidGlassMaskCore=K;$APP.n(a,"__xLiquidGlassMaskSats",[]);a.__xLiquidGlassMaskId=b;w.setAttribute("part","glass");g="url(#"+$APP.S.g($APP.l(a,"__xLiquidGlassMaskId"))+")";w.style.mask=g;w.style.webkitMask=g;x.setAttribute("part","grain");x.style.filter=
19
- "url(#"+$APP.S.g($APP.l(a,"__xLiquidGlassGrainId"))+")";g="url(#"+$APP.S.g($APP.l(a,"__xLiquidGlassMaskId"))+")";x.style.mask=g;x.style.webkitMask=g;y.setAttribute("part","gradient");g="url(#"+$APP.S.g($APP.l(a,"__xLiquidGlassMaskId"))+")";y.style.mask=g;y.style.webkitMask=g;A.setAttribute("part","specular");g="url(#"+$APP.S.g($APP.l(a,"__xLiquidGlassMaskId"))+")";A.style.mask=g;A.style.webkitMask=g;C.setAttribute("part","content");C.appendChild(E);c.appendChild(d);c.appendChild(w);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.n(a,"__xLiquidGlassRefs",$APP.Q([$APP.Vh,$APP.wk,uQ,vQ,wQ,xQ,$APP.Jh,$APP.bi,yQ,$APP.xj,zQ,AQ],[C,A,w,p,h,[],k,c,y,e,q,x]))},CQ=function(a,b,c){var d=$APP.Fl.g($APP.l(a,"__xLiquidGlassModel")),e=b/2,g=c/2,h=b*.32,k=c*.32,m=h*.55,p=k*.55;var q=h*.9;for(var w=k*.9,x=new Float64Array(d),y=new Float64Array(d),A=0;;)if(A<d){var C=
21
- 2*Math.PI*(A/d);x[A]=e+q*Math.cos(C);y[A]=g+w*Math.sin(C);A+=1}else break;q=[x,y];w=$APP.N($APP.l(a,"__xLiquidGlassRefs"));w=$APP.G(w,zQ);w.setAttribute("cx",""+$APP.S.g(e));w.setAttribute("cy",""+$APP.S.g(g));w.setAttribute("rx",""+$APP.S.g(h));w.setAttribute("ry",""+$APP.S.g(k));w=$APP.l(a,"__xLiquidGlassMaskCore");$APP.r(w)&&(w.setAttribute("cx",""+$APP.S.g(e)),w.setAttribute("cy",""+$APP.S.g(g)),w.setAttribute("rx",""+$APP.S.g(h)),w.setAttribute("ry",""+$APP.S.g(k)));b*=.44;c*=.44;h=$APP.l(a,
22
- "__xLiquidGlassBorderCore");$APP.r(h)&&(h.setAttribute("cx",""+$APP.S.g(e)),h.setAttribute("cy",""+$APP.S.g(g)),h.setAttribute("rx",""+$APP.S.g(b)),h.setAttribute("ry",""+$APP.S.g(c)));g=$APP.l(a,"__xLiquidGlassRefs");e=vQ.g(g);g=xQ.g(g);c=$APP.l(a,"__xLiquidGlassMaskG");b=$APP.l(a,"__xLiquidGlassMaskSats");for(h=g.length-1;;)if(h>=d)e.removeChild(g[h]),$APP.r(c)&&c.removeChild(b[h]),--h;else break;g.length>d&&(g.length=d,$APP.r(b)&&(b.length=d));for(h=g.length;;)if(h<d)k=document.createElementNS("http://www.w3.org/2000/svg",
23
- "ellipse"),k.setAttribute("class","blob-sat-"+$APP.S.g(h)),k.setAttribute("fill","#ffffff"),e.appendChild(k),g.push(k),$APP.r(c)&&(k=document.createElementNS("http://www.w3.org/2000/svg","ellipse"),k.setAttribute("fill","white"),c.appendChild(k),b.push(k)),h+=1;else break;e=$APP.N($APP.l(a,"__xLiquidGlassRefs"));e=$APP.G(e,xQ);g=$APP.l(a,"__xLiquidGlassMaskSats");for(c=0;;)if(c<d)b=e[c],b.setAttribute("rx",""+$APP.S.g(m)),b.setAttribute("ry",""+$APP.S.g(p)),$APP.r($APP.r(g)?c<g.length:g)&&(b=g[c],
24
- b.setAttribute("rx",""+$APP.S.g(m)),b.setAttribute("ry",""+$APP.S.g(p))),c+=1;else break;a.__xLiquidGlassRX=q[0];a.__xLiquidGlassRY=q[1]},EQ=function(a){var b=$APP.l(a,"__xLiquidGlassModel"),c=$APP.l(a,"__xLiquidGlassRefs"),d=$APP.Jh.g(c),e=uQ.g(c),g=$APP.wk.g(c),h=zQ.g(c),k=vQ.g(c);d.setAttribute("stdDeviation",""+$APP.S.g(jQ.g(b)));e.style.setProperty("--x-liquid-glass-blur",""+$APP.S.g($APP.Jh.g(b))+"px");h.setAttribute("fill","#ffffff");d=xQ.g(c);e=d.length;for(h=0;;)if(h<e)d[h].setAttribute("fill",
25
- "#ffffff"),h+=1;else break;h=$APP.D.i(DQ,$APP.Ri.g(b));d=$APP.Vh.g(c);c=AQ.g(c);e="url(#"+$APP.S.g($APP.l(a,"__xLiquidGlassMaskId"))+")";if(h){d.style.position="relative";d.style.zIndex="0";h=iQ.g(b);var m=1-h*.5,p=h*.35,q=h*.2;d.style.filter="blur("+$APP.S.g((h*2).toFixed(1))+"px)";d.style.opacity=""+$APP.S.g(m.toFixed(2));d.style.mask=e;d.style.webkitMask=e;k.setAttribute("opacity",p.toFixed(2));$APP.r(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="",k.setAttribute("opacity","0.35"),$APP.r(c)&&(c.style.opacity="0.4"),a.style.contain="";$APP.r(nQ.g(b))||(g.style.opacity="0")},FQ=function(a,b){var c=$APP.l(a,"__xLiquidGlassModel"),d=$APP.Fl.g(c),e=$APP.Yi.g(c);c=kQ.g(c)*(Math.min($APP.l(a,"__xLiquidGlassW"),$APP.l(a,"__xLiquidGlassH"))*.32)*.6;var g=$APP.l(a,"__xLiquidGlassRX"),h=$APP.l(a,"__xLiquidGlassRY"),k=$APP.N($APP.l(a,"__xLiquidGlassRefs"));k=$APP.G(k,
27
- xQ);a=$APP.l(a,"__xLiquidGlassMaskSats");for(var m=0;;)if(m<d){var p=m*2.39996;var q=[g[m]+c*qQ(p,0,b*e),h[m]+c*qQ(0,p,b*e)];p=q[0].toFixed(2);q=q[1].toFixed(2);var w=k[m];w.setAttribute("cx",p);w.setAttribute("cy",q);$APP.r($APP.r(a)?m<a.length:a)&&(w=a[m],w.setAttribute("cx",p),w.setAttribute("cy",q));m+=1}else break},GQ=function(a){var b=$APP.l(a,"__xLiquidGlassModel"),c=$APP.wk.g($APP.l(a,"__xLiquidGlassRefs"));if($APP.r(nQ.g(b))){var d=$APP.l(a,"__xLiquidGlassPA"),e=$APP.l(a,"__xLiquidGlassPX"),
28
- g=$APP.l(a,"__xLiquidGlassPY"),h=$APP.l(a,"__xLiquidGlassW");a=$APP.l(a,"__xLiquidGlassH");h=mQ.g(b)*Math.min(h,a);a="var("+$APP.S.g("--x-liquid-glass-specular-color")+",rgba(255,255,255,0.6))";$APP.r(d)?(c.style.opacity=""+$APP.S.g(oQ.g(b)),c.style.background="radial-gradient(ellipse "+$APP.S.g(h)+"px "+$APP.S.g(h)+"px at "+$APP.S.g(e.toFixed(1))+"px "+$APP.S.g(g.toFixed(1))+"px,"+$APP.S.g(a)+" 0%,transparent 100%)"):c.style.opacity="0"}},HQ=function(a,b){var c=$APP.l(a,"__xLiquidGlassModel");a=
29
- yQ.g($APP.l(a,"__xLiquidGlassRefs"));var d=$APP.ok.g(c);c=$APP.pk.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.S.g((30+10*Math.sin(b*.07)).toFixed(1))+"% "+$APP.S.g(e.toFixed(1))+"%,"+$APP.S.g(d)+" 0%,transparent 70%),radial-gradient(ellipse at "+$APP.S.g(g.toFixed(1))+"% "+$APP.S.g(h.toFixed(1))+"%,"+$APP.S.g(c)+" 0%,transparent 70%)"},JQ=function(a){$APP.r($APP.l(a,"__xLiquidGlassRaf"))||($APP.n(a,"__xLiquidGlassLF",
30
- performance.now()),$APP.n(a,"__xLiquidGlassRaf",requestAnimationFrame(function(){return IQ(a)})))},KQ=function(a){var b=$APP.l(a,"__xLiquidGlassRaf");$APP.r(b)&&(cancelAnimationFrame(b),a.__xLiquidGlassRaf=null)},LQ=function(a){var b=$APP.Fl.g($APP.l(a,"__xLiquidGlassModel")),c=$APP.l(a,"__xLiquidGlassRX"),d=$APP.l(a,"__xLiquidGlassRY"),e=$APP.N($APP.l(a,"__xLiquidGlassRefs"));e=$APP.G(e,xQ);a=$APP.l(a,"__xLiquidGlassMaskSats");for(var g=0;;)if(g<b){var h=c[g].toFixed(2),k=d[g].toFixed(2);if(g<e.length){var m=
31
- e[g];m.setAttribute("cx",h);m.setAttribute("cy",k)}$APP.r($APP.r(a)?g<a.length:a)&&(m=a[g],m.setAttribute("cx",h),m.setAttribute("cy",k));g+=1}else break},MQ=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.N($APP.l(a,"__xLiquidGlassRefs"));d=$APP.G(d,$APP.xj);d.setAttribute("viewBox","0 0 "+$APP.S.g(b)+" "+$APP.S.g(c));d=d.querySelector("#"+$APP.S.g($APP.l(a,"__xLiquidGlassMaskId")));$APP.r(d)&&(d.setAttribute("x",
32
- "0"),d.setAttribute("y","0"),d.setAttribute("width",""+$APP.S.g(b)),d.setAttribute("height",""+$APP.S.g(c)));CQ(a,b,c);EQ(a);var e=$APP.l(a,"__xLiquidGlassModel");$APP.r(function(){var g=$APP.W.g(e);return $APP.r(g)?g:tQ()}())?LQ(a):(FQ(a,function(){var g=$APP.l(a,"__xLiquidGlassTime");return $APP.r(g)?g:0}()),JQ(a))}}return null},NQ=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
- e.clientX-g.left;a.__xLiquidGlassPY=e.clientY-g.top;return null}$APP.n(a,"__xLiquidGlassHdl",{move:d,enter:c,leave:b});a.addEventListener("pointermove",d,{passive:!0});a.addEventListener("pointerenter",c);a.addEventListener("pointerleave",b)},OQ=function(a){var b=$APP.l(a,"__xLiquidGlassHdl");$APP.r(b)&&(a.removeEventListener("pointermove",$APP.l(b,"move")),a.removeEventListener("pointerenter",$APP.l(b,"enter")),a.removeEventListener("pointerleave",$APP.l(b,"leave")),a.__xLiquidGlassHdl=null)},PQ=
34
- function(a){return pQ($APP.Q([$APP.pl,$P,aQ,$APP.Bk,bQ,cQ,dQ,eQ,fQ,gQ,hQ,$APP.Ai,YP,ZP],[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")]))},QQ=function(a){var b=PQ(a);a.__xLiquidGlassModel=
35
- b;var c=$APP.l(a,"__xLiquidGlassW"),d=$APP.l(a,"__xLiquidGlassH");$APP.r($APP.r(c)?$APP.r(d)?c>0&&d>0:d:c)&&(CQ(a,c,d),EQ(a),$APP.r(function(){var e=$APP.W.g(b);return $APP.r(e)?e:tQ()}())?(KQ(a),LQ(a)):(FQ(a,function(){var e=$APP.l(a,"__xLiquidGlassTime");return $APP.r(e)?e:0}()),JQ(a)))},RQ=function(a){Object.defineProperty(a,"blobs",{get:function(){var b=this.getAttribute("blobs");return SP(b)},set:function(b){return b==null?this.removeAttribute("blobs"):this.setAttribute("blobs",""+$APP.S.g(b))},
36
- enumerable:!0,configurable:!0});Object.defineProperty(a,"speed",{get:function(){var b=this.getAttribute("speed");return RP(b,.3,.05,2)},set:function(b){return b==null?this.removeAttribute("speed"):this.setAttribute("speed",""+$APP.S.g(b))},enumerable:!0,configurable:!0});Object.defineProperty(a,"amplitude",{get:function(){var b=this.getAttribute("amplitude");return RP(b,.15,.05,.4)},set:function(b){return b==null?this.removeAttribute("amplitude"):this.setAttribute("amplitude",""+$APP.S.g(b))},enumerable:!0,
37
- configurable:!0});Object.defineProperty(a,"blur",{get:function(){var b=this.getAttribute("blur");return RP(b,12,0,40)},set:function(b){return b==null?this.removeAttribute("blur"):this.setAttribute("blur",""+$APP.S.g(b))},enumerable:!0,configurable:!0});Object.defineProperty(a,"goo",{get:function(){var b=this.getAttribute("goo");return RP(b,10,4,20)},set:function(b){return b==null?this.removeAttribute("goo"):this.setAttribute("goo",""+$APP.S.g(b))},enumerable:!0,configurable:!0});Object.defineProperty(a,
14
+ $APP.S.g(b),M=document.createElementNS("http://www.w3.org/2000/svg","stop"),Y=document.createElementNS("http://www.w3.org/2000/svg","stop"),ea=document.createElementNS("http://www.w3.org/2000/svg","stop");m.setAttribute("id",F);m.setAttribute("x1","0");m.setAttribute("y1","0");m.setAttribute("x2","1");m.setAttribute("y2","1");M.setAttribute("offset","0%");M.setAttribute("stop-color","white");M.setAttribute("stop-opacity","0.9");Y.setAttribute("offset","50%");Y.setAttribute("stop-color","white");Y.setAttribute("stop-opacity",
15
+ "0.15");ea.setAttribute("offset","100%");ea.setAttribute("stop-color","white");ea.setAttribute("stop-opacity","0.5");m.appendChild(M);m.appendChild(Y);m.appendChild(ea);g.appendChild(m);a.__xLiquidGlassEdgeId=F;m=document.createElementNS("http://www.w3.org/2000/svg","g");F=document.createElementNS("http://www.w3.org/2000/svg","ellipse");M=$APP.l(a,"__xLiquidGlassEdgeId");m.setAttribute("filter","url(#"+$APP.S.g(H)+")");m.setAttribute("opacity","0.7");F.setAttribute("class","blob-border");F.setAttribute("fill",
16
+ "none");F.setAttribute("stroke","url(#"+$APP.S.g(M)+")");F.setAttribute("stroke-width","2.5");m.appendChild(F);e.appendChild(m);a.__xLiquidGlassBorderG=m;a.__xLiquidGlassBorderCore=F;m=document.createElementNS("http://www.w3.org/2000/svg","filter");F="lg-grain-"+$APP.S.g(b);M=document.createElementNS("http://www.w3.org/2000/svg","feTurbulence");Y=document.createElementNS("http://www.w3.org/2000/svg","feColorMatrix");m.setAttribute("id",F);M.setAttribute("type","fractalNoise");M.setAttribute("baseFrequency",
17
+ "0.6");M.setAttribute("numOctaves","3");M.setAttribute("stitchTiles","stitch");Y.setAttribute("type","matrix");Y.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(M);m.appendChild(Y);g.appendChild(m);a.__xLiquidGlassGrainId=F;m=document.createElementNS("http://www.w3.org/2000/svg","mask");b="lg-mask-"+$APP.S.g(b);F=document.createElementNS("http://www.w3.org/2000/svg","g");M=document.createElementNS("http://www.w3.org/2000/svg","ellipse");m.setAttribute("id",b);
18
+ m.setAttribute("maskUnits","userSpaceOnUse");m.setAttribute("maskContentUnits","userSpaceOnUse");F.setAttribute("filter","url(#"+$APP.S.g(H)+")");M.setAttribute("fill","white");F.appendChild(M);m.appendChild(F);g.appendChild(m);a.__xLiquidGlassMaskG=F;a.__xLiquidGlassMaskCore=M;$APP.n(a,"__xLiquidGlassMaskSats",[]);a.__xLiquidGlassMaskId=b;w.setAttribute("part","glass");g="url(#"+$APP.S.g($APP.l(a,"__xLiquidGlassMaskId"))+")";w.style.mask=g;w.style.webkitMask=g;x.setAttribute("part","grain");x.style.filter=
19
+ "url(#"+$APP.S.g($APP.l(a,"__xLiquidGlassGrainId"))+")";g="url(#"+$APP.S.g($APP.l(a,"__xLiquidGlassMaskId"))+")";x.style.mask=g;x.style.webkitMask=g;y.setAttribute("part","gradient");g="url(#"+$APP.S.g($APP.l(a,"__xLiquidGlassMaskId"))+")";y.style.mask=g;y.style.webkitMask=g;A.setAttribute("part","specular");g="url(#"+$APP.S.g($APP.l(a,"__xLiquidGlassMaskId"))+")";A.style.mask=g;A.style.webkitMask=g;B.setAttribute("part","content");B.appendChild(E);c.appendChild(d);c.appendChild(w);c.appendChild(e);
20
+ c.appendChild(x);c.appendChild(y);c.appendChild(A);c.appendChild(B);a.setAttribute("data-entering","");setTimeout(function(){return a.removeAttribute("data-entering")},700);$APP.n(a,"__xLiquidGlassRefs",$APP.Q([$APP.Vh,$APP.xk,ZQ,$Q,aR,bR,$APP.Jh,$APP.bi,cR,$APP.xj,dR,eR],[B,A,w,p,h,[],k,c,y,e,q,x]))},gR=function(a,b,c){var d=$APP.Gl.g($APP.l(a,"__xLiquidGlassModel")),e=b/2,g=c/2,h=b*.32,k=c*.32,m=h*.55,p=k*.55;var q=h*.9;for(var w=k*.9,x=new Float64Array(d),y=new Float64Array(d),A=0;;)if(A<d){var B=
21
+ 2*Math.PI*(A/d);x[A]=e+q*Math.cos(B);y[A]=g+w*Math.sin(B);A+=1}else break;q=[x,y];w=$APP.N($APP.l(a,"__xLiquidGlassRefs"));w=$APP.G(w,dR);w.setAttribute("cx",""+$APP.S.g(e));w.setAttribute("cy",""+$APP.S.g(g));w.setAttribute("rx",""+$APP.S.g(h));w.setAttribute("ry",""+$APP.S.g(k));w=$APP.l(a,"__xLiquidGlassMaskCore");$APP.r(w)&&(w.setAttribute("cx",""+$APP.S.g(e)),w.setAttribute("cy",""+$APP.S.g(g)),w.setAttribute("rx",""+$APP.S.g(h)),w.setAttribute("ry",""+$APP.S.g(k)));b*=.44;c*=.44;h=$APP.l(a,
22
+ "__xLiquidGlassBorderCore");$APP.r(h)&&(h.setAttribute("cx",""+$APP.S.g(e)),h.setAttribute("cy",""+$APP.S.g(g)),h.setAttribute("rx",""+$APP.S.g(b)),h.setAttribute("ry",""+$APP.S.g(c)));g=$APP.l(a,"__xLiquidGlassRefs");e=$Q.g(g);g=bR.g(g);c=$APP.l(a,"__xLiquidGlassMaskG");b=$APP.l(a,"__xLiquidGlassMaskSats");for(h=g.length-1;;)if(h>=d)e.removeChild(g[h]),$APP.r(c)&&c.removeChild(b[h]),--h;else break;g.length>d&&(g.length=d,$APP.r(b)&&(b.length=d));for(h=g.length;;)if(h<d)k=document.createElementNS("http://www.w3.org/2000/svg",
23
+ "ellipse"),k.setAttribute("class","blob-sat-"+$APP.S.g(h)),k.setAttribute("fill","#ffffff"),e.appendChild(k),g.push(k),$APP.r(c)&&(k=document.createElementNS("http://www.w3.org/2000/svg","ellipse"),k.setAttribute("fill","white"),c.appendChild(k),b.push(k)),h+=1;else break;e=$APP.N($APP.l(a,"__xLiquidGlassRefs"));e=$APP.G(e,bR);g=$APP.l(a,"__xLiquidGlassMaskSats");for(c=0;;)if(c<d)b=e[c],b.setAttribute("rx",""+$APP.S.g(m)),b.setAttribute("ry",""+$APP.S.g(p)),$APP.r($APP.r(g)?c<g.length:g)&&(b=g[c],
24
+ b.setAttribute("rx",""+$APP.S.g(m)),b.setAttribute("ry",""+$APP.S.g(p))),c+=1;else break;a.__xLiquidGlassRX=q[0];a.__xLiquidGlassRY=q[1]},iR=function(a){var b=$APP.l(a,"__xLiquidGlassModel"),c=$APP.l(a,"__xLiquidGlassRefs"),d=$APP.Jh.g(c),e=ZQ.g(c),g=$APP.xk.g(c),h=dR.g(c),k=$Q.g(c);d.setAttribute("stdDeviation",""+$APP.S.g(OQ.g(b)));e.style.setProperty("--x-liquid-glass-blur",""+$APP.S.g($APP.Jh.g(b))+"px");h.setAttribute("fill","#ffffff");d=bR.g(c);e=d.length;for(h=0;;)if(h<e)d[h].setAttribute("fill",
25
+ "#ffffff"),h+=1;else break;h=$APP.D.i(hR,$APP.Ri.g(b));d=$APP.Vh.g(c);c=eR.g(c);e="url(#"+$APP.S.g($APP.l(a,"__xLiquidGlassMaskId"))+")";if(h){d.style.position="relative";d.style.zIndex="0";h=NQ.g(b);var m=1-h*.5,p=h*.35,q=h*.2;d.style.filter="blur("+$APP.S.g((h*2).toFixed(1))+"px)";d.style.opacity=""+$APP.S.g(m.toFixed(2));d.style.mask=e;d.style.webkitMask=e;k.setAttribute("opacity",p.toFixed(2));$APP.r(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="",k.setAttribute("opacity","0.35"),$APP.r(c)&&(c.style.opacity="0.4"),a.style.contain="";$APP.r(SQ.g(b))||(g.style.opacity="0")},jR=function(a,b){var c=$APP.l(a,"__xLiquidGlassModel"),d=$APP.Gl.g(c),e=$APP.Yi.g(c);c=PQ.g(c)*(Math.min($APP.l(a,"__xLiquidGlassW"),$APP.l(a,"__xLiquidGlassH"))*.32)*.6;var g=$APP.l(a,"__xLiquidGlassRX"),h=$APP.l(a,"__xLiquidGlassRY"),k=$APP.N($APP.l(a,"__xLiquidGlassRefs"));k=$APP.G(k,
27
+ bR);a=$APP.l(a,"__xLiquidGlassMaskSats");for(var m=0;;)if(m<d){var p=m*2.39996;var q=[g[m]+c*VQ(p,0,b*e),h[m]+c*VQ(0,p,b*e)];p=q[0].toFixed(2);q=q[1].toFixed(2);var w=k[m];w.setAttribute("cx",p);w.setAttribute("cy",q);$APP.r($APP.r(a)?m<a.length:a)&&(w=a[m],w.setAttribute("cx",p),w.setAttribute("cy",q));m+=1}else break},kR=function(a){var b=$APP.l(a,"__xLiquidGlassModel"),c=$APP.xk.g($APP.l(a,"__xLiquidGlassRefs"));if($APP.r(SQ.g(b))){var d=$APP.l(a,"__xLiquidGlassPA"),e=$APP.l(a,"__xLiquidGlassPX"),
28
+ g=$APP.l(a,"__xLiquidGlassPY"),h=$APP.l(a,"__xLiquidGlassW");a=$APP.l(a,"__xLiquidGlassH");h=RQ.g(b)*Math.min(h,a);a="var("+$APP.S.g("--x-liquid-glass-specular-color")+",rgba(255,255,255,0.6))";$APP.r(d)?(c.style.opacity=""+$APP.S.g(TQ.g(b)),c.style.background="radial-gradient(ellipse "+$APP.S.g(h)+"px "+$APP.S.g(h)+"px at "+$APP.S.g(e.toFixed(1))+"px "+$APP.S.g(g.toFixed(1))+"px,"+$APP.S.g(a)+" 0%,transparent 100%)"):c.style.opacity="0"}},lR=function(a,b){var c=$APP.l(a,"__xLiquidGlassModel");a=
29
+ cR.g($APP.l(a,"__xLiquidGlassRefs"));var d=$APP.ik.g(c);c=$APP.jk.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.S.g((30+10*Math.sin(b*.07)).toFixed(1))+"% "+$APP.S.g(e.toFixed(1))+"%,"+$APP.S.g(d)+" 0%,transparent 70%),radial-gradient(ellipse at "+$APP.S.g(g.toFixed(1))+"% "+$APP.S.g(h.toFixed(1))+"%,"+$APP.S.g(c)+" 0%,transparent 70%)"},nR=function(a){$APP.r($APP.l(a,"__xLiquidGlassRaf"))||($APP.n(a,"__xLiquidGlassLF",
30
+ performance.now()),$APP.n(a,"__xLiquidGlassRaf",requestAnimationFrame(function(){return mR(a)})))},oR=function(a){var b=$APP.l(a,"__xLiquidGlassRaf");$APP.r(b)&&(cancelAnimationFrame(b),a.__xLiquidGlassRaf=null)},pR=function(a){var b=$APP.Gl.g($APP.l(a,"__xLiquidGlassModel")),c=$APP.l(a,"__xLiquidGlassRX"),d=$APP.l(a,"__xLiquidGlassRY"),e=$APP.N($APP.l(a,"__xLiquidGlassRefs"));e=$APP.G(e,bR);a=$APP.l(a,"__xLiquidGlassMaskSats");for(var g=0;;)if(g<b){var h=c[g].toFixed(2),k=d[g].toFixed(2);if(g<e.length){var m=
31
+ e[g];m.setAttribute("cx",h);m.setAttribute("cy",k)}$APP.r($APP.r(a)?g<a.length:a)&&(m=a[g],m.setAttribute("cx",h),m.setAttribute("cy",k));g+=1}else break},qR=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.N($APP.l(a,"__xLiquidGlassRefs"));d=$APP.G(d,$APP.xj);d.setAttribute("viewBox","0 0 "+$APP.S.g(b)+" "+$APP.S.g(c));d=d.querySelector("#"+$APP.S.g($APP.l(a,"__xLiquidGlassMaskId")));$APP.r(d)&&(d.setAttribute("x",
32
+ "0"),d.setAttribute("y","0"),d.setAttribute("width",""+$APP.S.g(b)),d.setAttribute("height",""+$APP.S.g(c)));gR(a,b,c);iR(a);var e=$APP.l(a,"__xLiquidGlassModel");$APP.r(function(){var g=$APP.W.g(e);return $APP.r(g)?g:YQ()}())?pR(a):(jR(a,function(){var g=$APP.l(a,"__xLiquidGlassTime");return $APP.r(g)?g:0}()),nR(a))}}return null},rR=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
+ e.clientX-g.left;a.__xLiquidGlassPY=e.clientY-g.top;return null}$APP.n(a,"__xLiquidGlassHdl",{move:d,enter:c,leave:b});a.addEventListener("pointermove",d,{passive:!0});a.addEventListener("pointerenter",c);a.addEventListener("pointerleave",b)},sR=function(a){var b=$APP.l(a,"__xLiquidGlassHdl");$APP.r(b)&&(a.removeEventListener("pointermove",$APP.l(b,"move")),a.removeEventListener("pointerenter",$APP.l(b,"enter")),a.removeEventListener("pointerleave",$APP.l(b,"leave")),a.__xLiquidGlassHdl=null)},tR=
34
+ function(a){return UQ($APP.Q([$APP.ql,EQ,FQ,$APP.Ck,GQ,HQ,IQ,JQ,KQ,LQ,MQ,$APP.Ai,CQ,DQ],[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")]))},uR=function(a){var b=tR(a);a.__xLiquidGlassModel=
35
+ b;var c=$APP.l(a,"__xLiquidGlassW"),d=$APP.l(a,"__xLiquidGlassH");$APP.r($APP.r(c)?$APP.r(d)?c>0&&d>0:d:c)&&(gR(a,c,d),iR(a),$APP.r(function(){var e=$APP.W.g(b);return $APP.r(e)?e:YQ()}())?(oR(a),pR(a)):(jR(a,function(){var e=$APP.l(a,"__xLiquidGlassTime");return $APP.r(e)?e:0}()),nR(a)))},vR=function(a){Object.defineProperty(a,"blobs",{get:function(){var b=this.getAttribute("blobs");return wQ(b)},set:function(b){return b==null?this.removeAttribute("blobs"):this.setAttribute("blobs",""+$APP.S.g(b))},
36
+ enumerable:!0,configurable:!0});Object.defineProperty(a,"speed",{get:function(){var b=this.getAttribute("speed");return vQ(b,.3,.05,2)},set:function(b){return b==null?this.removeAttribute("speed"):this.setAttribute("speed",""+$APP.S.g(b))},enumerable:!0,configurable:!0});Object.defineProperty(a,"amplitude",{get:function(){var b=this.getAttribute("amplitude");return vQ(b,.15,.05,.4)},set:function(b){return b==null?this.removeAttribute("amplitude"):this.setAttribute("amplitude",""+$APP.S.g(b))},enumerable:!0,
37
+ configurable:!0});Object.defineProperty(a,"blur",{get:function(){var b=this.getAttribute("blur");return vQ(b,12,0,40)},set:function(b){return b==null?this.removeAttribute("blur"):this.setAttribute("blur",""+$APP.S.g(b))},enumerable:!0,configurable:!0});Object.defineProperty(a,"goo",{get:function(){var b=this.getAttribute("goo");return vQ(b,10,4,20)},set:function(b){return b==null?this.removeAttribute("goo"):this.setAttribute("goo",""+$APP.S.g(b))},enumerable:!0,configurable:!0});Object.defineProperty(a,
38
38
  "tint",{get:function(){return this.getAttribute("tint")},set:function(b){return b==null?this.removeAttribute("tint"):this.setAttribute("tint",""+$APP.S.g(b))},enumerable:!0,configurable:!0});Object.defineProperty(a,"specular",{get:function(){return this.hasAttribute("specular")},set:function(b){return $APP.r(b)?this.setAttribute("specular",""):this.removeAttribute("specular")},enumerable:!0,configurable:!0});Object.defineProperty(a,"specularSize",{get:function(){var b=this.getAttribute("specular-size");
39
- return RP(b,.4,.1,1)},set:function(b){return b==null?this.removeAttribute("specular-size"):this.setAttribute("specular-size",""+$APP.S.g(b))},enumerable:!0,configurable:!0});Object.defineProperty(a,"specularIntensity",{get:function(){var b=this.getAttribute("specular-intensity");return RP(b,.3,0,1)},set:function(b){return b==null?this.removeAttribute("specular-intensity"):this.setAttribute("specular-intensity",""+$APP.S.g(b))},enumerable:!0,configurable:!0});Object.defineProperty(a,"disabled",{get:function(){return this.hasAttribute("disabled")},
40
- set:function(b){return $APP.r(b)?this.setAttribute("disabled",""):this.removeAttribute("disabled")},enumerable:!0,configurable:!0});Object.defineProperty(a,"mode",{get:function(){var b=this.getAttribute("mode");return $APP.D.i(b,"submerged")?"submerged":"surface"},set:function(b){return b==null?this.removeAttribute("mode"):this.setAttribute("mode",""+$APP.S.g(b))},enumerable:!0,configurable:!0});Object.defineProperty(a,"frost",{get:function(){var b=this.getAttribute("frost");return RP(b,.5,0,1)},
39
+ return vQ(b,.4,.1,1)},set:function(b){return b==null?this.removeAttribute("specular-size"):this.setAttribute("specular-size",""+$APP.S.g(b))},enumerable:!0,configurable:!0});Object.defineProperty(a,"specularIntensity",{get:function(){var b=this.getAttribute("specular-intensity");return vQ(b,.3,0,1)},set:function(b){return b==null?this.removeAttribute("specular-intensity"):this.setAttribute("specular-intensity",""+$APP.S.g(b))},enumerable:!0,configurable:!0});Object.defineProperty(a,"disabled",{get:function(){return this.hasAttribute("disabled")},
40
+ set:function(b){return $APP.r(b)?this.setAttribute("disabled",""):this.removeAttribute("disabled")},enumerable:!0,configurable:!0});Object.defineProperty(a,"mode",{get:function(){var b=this.getAttribute("mode");return $APP.D.i(b,"submerged")?"submerged":"surface"},set:function(b){return b==null?this.removeAttribute("mode"):this.setAttribute("mode",""+$APP.S.g(b))},enumerable:!0,configurable:!0});Object.defineProperty(a,"frost",{get:function(){var b=this.getAttribute("frost");return vQ(b,.5,0,1)},
41
41
  set:function(b){return b==null?this.removeAttribute("frost"):this.setAttribute("frost",""+$APP.S.g(b))},enumerable:!0,configurable:!0});Object.defineProperty(a,"color1",{get:function(){return this.getAttribute("color-1")},set:function(b){return b==null?this.removeAttribute("color-1"):this.setAttribute("color-1",""+$APP.S.g(b))},enumerable:!0,configurable:!0});Object.defineProperty(a,"color2",{get:function(){return this.getAttribute("color-2")},set:function(b){return b==null?this.removeAttribute("color-2"):
42
- this.setAttribute("color-2",""+$APP.S.g(b))},enumerable:!0,configurable:!0})},TQ=function(){var a=class extends HTMLElement{};a.observedAttributes=SQ;a.prototype.connectedCallback=function(){var b=this,c=PQ(b);b.__xLiquidGlassModel=c;b.__xLiquidGlassTime=0;b.__xLiquidGlassPA=!1;b.__xLiquidGlassPX=0;b.__xLiquidGlassPY=0;b.__xLiquidGlassGT=0;$APP.r($APP.l(b,"__xLiquidGlassRefs"))||BQ(b);EQ(b);c=new ResizeObserver(function(d){return MQ(b,d)});b.__xLiquidGlassRO=c;c.observe(b);OQ(b);NQ(b);return null};
43
- a.prototype.disconnectedCallback=function(){KQ(this);OQ(this);var b=$APP.l(this,"__xLiquidGlassRO");$APP.r(b)&&(b.disconnect(),this.__xLiquidGlassRO=null);return null};a.prototype.attributeChangedCallback=function(b,c,d){$APP.O(c,d)&&$APP.r($APP.l(this,"__xLiquidGlassRefs"))&&QQ(this);return null};RQ(a.prototype);return a},UQ=function(){$APP.r(customElements.get("x-liquid-glass"))||customElements.define("x-liquid-glass",TQ());return null},WP=new $APP.M(null,"surface","surface",699915646),zQ=new $APP.M(null,
44
- "core","core",-86019209),oQ=new $APP.M(null,"specular-intensity","specular-intensity",437849876),aQ=new $APP.M(null,"amplitude-raw","amplitude-raw",-673525115),jQ=new $APP.M(null,"goo","goo",-1253057564),uQ=new $APP.M(null,"glass","glass",1652756718),wQ=new $APP.M(null,"filter","filter",-948537934),iQ=new $APP.M(null,"frost","frost",-3478780),mQ=new $APP.M(null,"specular-size","specular-size",757318993),DQ=new $APP.M(null,"submerged","submerged",1636004473),lQ=new $APP.M(null,"tint","tint",-1286736913),
45
- AQ=new $APP.M(null,"grain","grain",2007662171),ZP=new $APP.M(null,"tint-raw","tint-raw",-653441954),eQ=new $APP.M(null,"color-2-raw","color-2-raw",-1440423537),hQ=new $APP.M(null,"specular-attr","specular-attr",-716021610),bQ=new $APP.M(null,"specular-intensity-raw","specular-intensity-raw",109079177),cQ=new $APP.M(null,"speed-raw","speed-raw",1756460778),gQ=new $APP.M(null,"goo-raw","goo-raw",59658675),YP=new $APP.M(null,"specular-size-raw","specular-size-raw",592980345),fQ=new $APP.M(null,"color-1-raw",
46
- "color-1-raw",-1322552111),vQ=new $APP.M(null,"g","g",1738089905),kQ=new $APP.M(null,"amplitude","amplitude",-1387734203),yQ=new $APP.M(null,"gradient","gradient",-1983908971),dQ=new $APP.M(null,"frost-raw","frost-raw",1383732749),nQ=new $APP.M(null,"specular?","specular?",964138290),$P=new $APP.M(null,"blobs-raw","blobs-raw",1729393761),xQ=new $APP.M(null,"satellites","satellites",644765266);var SQ="blobs speed amplitude blur goo tint specular specular-size specular-intensity disabled mode frost color-1 color-2".split(" ");
47
- $APP.Q([iQ,jQ,kQ,new $APP.M(null,"specularSize","specularSize",-1757715579),$APP.gj,$APP.Yi,$APP.Ri,$APP.wk,lQ,new $APP.M(null,"color2","color2",1248091856),$APP.Jh,$APP.Fl,new $APP.M(null,"color1","color1",306558619),new $APP.M(null,"specularIntensity","specularIntensity",138075)],[new $APP.P(null,1,[$APP.Z,$APP.V],null),new $APP.P(null,1,[$APP.Z,$APP.V],null),new $APP.P(null,1,[$APP.Z,$APP.V],null),new $APP.P(null,1,[$APP.Z,$APP.V],null),new $APP.P(null,1,[$APP.Z,$APP.qj],null),new $APP.P(null,
48
- 1,[$APP.Z,$APP.V],null),new $APP.P(null,1,[$APP.Z,$APP.Y],null),new $APP.P(null,1,[$APP.Z,$APP.qj],null),new $APP.P(null,1,[$APP.Z,$APP.Y],null),new $APP.P(null,1,[$APP.Z,$APP.Y],null),new $APP.P(null,1,[$APP.Z,$APP.V],null),new $APP.P(null,1,[$APP.Z,$APP.V],null),new $APP.P(null,1,[$APP.Z,$APP.Y],null),new $APP.P(null,1,[$APP.Z,$APP.V],null)]);var VP=new $APP.P(null,2,["surface",WP,"submerged",DQ],null);var rQ={v:0},IQ=function IQ(a){if($APP.r(a.isConnected)){var c=performance.now(),d=$APP.l(a,"__xLiquidGlassTime")+Math.min(c-$APP.l(a,"__xLiquidGlassLF"),100)/1E3;a.__xLiquidGlassLF=c;a.__xLiquidGlassTime=d;FQ(a,d);GQ(a);HQ(a,d);$APP.n(a,"__xLiquidGlassRaf",requestAnimationFrame(function(){return IQ.g?IQ.g(a):IQ.call(null,a)}))}return null};$APP.ka("baredom.exports.x_liquid_glass.init",UQ);export const init=UQ;
42
+ this.setAttribute("color-2",""+$APP.S.g(b))},enumerable:!0,configurable:!0})},xR=function(){var a=class extends HTMLElement{};a.observedAttributes=wR;a.prototype.connectedCallback=function(){var b=this,c=tR(b);b.__xLiquidGlassModel=c;b.__xLiquidGlassTime=0;b.__xLiquidGlassPA=!1;b.__xLiquidGlassPX=0;b.__xLiquidGlassPY=0;b.__xLiquidGlassGT=0;$APP.r($APP.l(b,"__xLiquidGlassRefs"))||fR(b);iR(b);c=new ResizeObserver(function(d){return qR(b,d)});b.__xLiquidGlassRO=c;c.observe(b);sR(b);rR(b);return null};
43
+ a.prototype.disconnectedCallback=function(){oR(this);sR(this);var b=$APP.l(this,"__xLiquidGlassRO");$APP.r(b)&&(b.disconnect(),this.__xLiquidGlassRO=null);return null};a.prototype.attributeChangedCallback=function(b,c,d){$APP.O(c,d)&&$APP.r($APP.l(this,"__xLiquidGlassRefs"))&&uR(this);return null};vR(a.prototype);return a},yR=function(){$APP.r(customElements.get("x-liquid-glass"))||customElements.define("x-liquid-glass",xR());return null},AQ=new $APP.K(null,"surface","surface",699915646),dR=new $APP.K(null,
44
+ "core","core",-86019209),TQ=new $APP.K(null,"specular-intensity","specular-intensity",437849876),FQ=new $APP.K(null,"amplitude-raw","amplitude-raw",-673525115),OQ=new $APP.K(null,"goo","goo",-1253057564),ZQ=new $APP.K(null,"glass","glass",1652756718),aR=new $APP.K(null,"filter","filter",-948537934),NQ=new $APP.K(null,"frost","frost",-3478780),RQ=new $APP.K(null,"specular-size","specular-size",757318993),hR=new $APP.K(null,"submerged","submerged",1636004473),QQ=new $APP.K(null,"tint","tint",-1286736913),
45
+ eR=new $APP.K(null,"grain","grain",2007662171),DQ=new $APP.K(null,"tint-raw","tint-raw",-653441954),JQ=new $APP.K(null,"color-2-raw","color-2-raw",-1440423537),MQ=new $APP.K(null,"specular-attr","specular-attr",-716021610),GQ=new $APP.K(null,"specular-intensity-raw","specular-intensity-raw",109079177),HQ=new $APP.K(null,"speed-raw","speed-raw",1756460778),LQ=new $APP.K(null,"goo-raw","goo-raw",59658675),CQ=new $APP.K(null,"specular-size-raw","specular-size-raw",592980345),KQ=new $APP.K(null,"color-1-raw",
46
+ "color-1-raw",-1322552111),$Q=new $APP.K(null,"g","g",1738089905),PQ=new $APP.K(null,"amplitude","amplitude",-1387734203),cR=new $APP.K(null,"gradient","gradient",-1983908971),IQ=new $APP.K(null,"frost-raw","frost-raw",1383732749),SQ=new $APP.K(null,"specular?","specular?",964138290),EQ=new $APP.K(null,"blobs-raw","blobs-raw",1729393761),bR=new $APP.K(null,"satellites","satellites",644765266);var wR="blobs speed amplitude blur goo tint specular specular-size specular-intensity disabled mode frost color-1 color-2".split(" ");
47
+ $APP.Q([NQ,OQ,PQ,new $APP.K(null,"specularSize","specularSize",-1757715579),$APP.gj,$APP.Yi,$APP.Ri,$APP.xk,QQ,new $APP.K(null,"color2","color2",1248091856),$APP.Jh,$APP.Gl,new $APP.K(null,"color1","color1",306558619),new $APP.K(null,"specularIntensity","specularIntensity",138075)],[new $APP.P(null,1,[$APP.Z,$APP.V],null),new $APP.P(null,1,[$APP.Z,$APP.V],null),new $APP.P(null,1,[$APP.Z,$APP.V],null),new $APP.P(null,1,[$APP.Z,$APP.V],null),new $APP.P(null,1,[$APP.Z,$APP.qj],null),new $APP.P(null,
48
+ 1,[$APP.Z,$APP.V],null),new $APP.P(null,1,[$APP.Z,$APP.X],null),new $APP.P(null,1,[$APP.Z,$APP.qj],null),new $APP.P(null,1,[$APP.Z,$APP.X],null),new $APP.P(null,1,[$APP.Z,$APP.X],null),new $APP.P(null,1,[$APP.Z,$APP.V],null),new $APP.P(null,1,[$APP.Z,$APP.V],null),new $APP.P(null,1,[$APP.Z,$APP.X],null),new $APP.P(null,1,[$APP.Z,$APP.V],null)]);var zQ=new $APP.P(null,2,["surface",AQ,"submerged",hR],null);var WQ={v:0},mR=function mR(a){if($APP.r(a.isConnected)){var c=performance.now(),d=$APP.l(a,"__xLiquidGlassTime")+Math.min(c-$APP.l(a,"__xLiquidGlassLF"),100)/1E3;a.__xLiquidGlassLF=c;a.__xLiquidGlassTime=d;jR(a,d);kR(a);lR(a,d);$APP.n(a,"__xLiquidGlassRaf",requestAnimationFrame(function(){return mR.g?mR.g(a):mR.call(null,a)}))}return null};$APP.ka("baredom.exports.x_liquid_glass.init",yR);export const init=yR;
@@ -1,11 +1,11 @@
1
1
  import { $APP, shadow$provide } from "./base.js";
2
- var eP=function(a){var b=$APP.N(a);a=$APP.G(b,$APP.ui);var c=$APP.G(b,$APP.gj),d=$APP.G(b,$APP.Fh);b=$APP.G(b,$APP.Z);a=$APP.r(a)?a:"";c=$APP.I(c);d=$APP.r(d)?d:"";d=$APP.J(cP,d)?d:"";b=$APP.r(b)?b:"";b=$APP.J(dP,b)?b:"";return new $APP.P(null,4,[$APP.ui,a,$APP.gj,c,$APP.Fh,d,$APP.Z,b],null)},fP=function(a){return $APP.l(a,"__xMenuItemInit")===!0},gP=function(a){return new $APP.P(null,4,[$APP.ui,a.getAttribute("value"),$APP.gj,a.hasAttribute("disabled"),$APP.Fh,a.getAttribute("variant"),$APP.Z,a.getAttribute("type")],
3
- null)},hP=function(a){var b=a.getAttribute("value");return a.dispatchEvent(new CustomEvent("x-menu-item-select",{detail:{value:$APP.r(b)?b:""},bubbles:!0,composed:!0}))},iP=function(a){var b=$APP.l(a,"__xMenuItemRefs");b=$APP.r(b)?$APP.l(b,"base"):null;var c=eP(gP(a));if($APP.r(b)){if($APP.D.i($APP.Z.g(c),"divider"))return a.setAttribute("role","separator"),a.removeAttribute("tabindex"),a.removeAttribute("aria-disabled"),b.setAttribute("data-type","divider"),b.setAttribute("data-variant",""),b.setAttribute("data-disabled",
4
- "false");a.setAttribute("role","menuitem");a.setAttribute("tabindex","-1");b.setAttribute("data-type","");b.setAttribute("data-variant",$APP.Fh.g(c));b.setAttribute("data-disabled",$APP.r($APP.gj.g(c))?"true":"false");return $APP.r($APP.gj.g(c))?a.setAttribute("aria-disabled","true"):a.removeAttribute("aria-disabled")}return null},jP=function(a){function b(){return e.assignedNodes().length>0?a.setAttribute("has-icon",""):a.removeAttribute("has-icon")}function c(h){var k=h.key,m=eP(gP(a));($APP.D.i(k,
5
- "Enter")||$APP.D.i(k," "))&&$APP.t($APP.gj.g(m))&&$APP.O($APP.Z.g(m),"divider")?(h.preventDefault(),h=hP(a)):h=null;return h}function d(h){var k=eP(gP(a));var m=$APP.gj.g(k);m=$APP.r(m)?m:$APP.D.i($APP.Z.g(k),"divider");$APP.r(m)&&h.preventDefault();return $APP.t($APP.gj.g(k))&&$APP.O($APP.Z.g(k),"divider")?hP(a):null}var e=$APP.l($APP.l(a,"__xMenuItemRefs"),"icon-slot"),g={};a.addEventListener("click",d);a.addEventListener("keydown",c);e.addEventListener("slotchange",b);g.click=d;g.keydown=c;g["icon-slotchange"]=
6
- b;a.__xMenuItemHandlers=g},kP=function(a){Object.defineProperty(a.prototype,"value",{get:function(){return this.getAttribute("value")},set:function(b){return $APP.r(b)?this.setAttribute("value",b):this.removeAttribute("value")},configurable:!0,enumerable:!0});Object.defineProperty(a.prototype,"disabled",{get:function(){return this.hasAttribute("disabled")},set:function(b){return $APP.r(b)?this.setAttribute("disabled",""):this.removeAttribute("disabled")},configurable:!0,enumerable:!0});Object.defineProperty(a.prototype,
7
- "variant",{get:function(){return this.getAttribute("variant")},set:function(b){return $APP.r(b)?this.setAttribute("variant",b):this.removeAttribute("variant")},configurable:!0,enumerable:!0});Object.defineProperty(a.prototype,"type",{get:function(){return this.getAttribute("type")},set:function(b){return $APP.r(b)?this.setAttribute("type",b):this.removeAttribute("type")},configurable:!0,enumerable:!0})},mP=function(){var a=class extends HTMLElement{};a.observedAttributes=lP;a.prototype.connectedCallback=
8
- function(){if(fP(this)){jP(this);var b=iP(this)}else{if(!fP(this)){var c=this.attachShadow({mode:"open"}),d=document.createElement("style");b=document.createElement("div");var e=document.createElement("span"),g=document.createElement("slot"),h=document.createElement("span"),k=document.createElement("slot"),m=document.createElement("hr");d.textContent=":host{display:block;outline:none;color-scheme:light dark;--x-menu-item-color:#111827;--x-menu-item-hover-bg:#f3f4f6;--x-menu-item-focus-bg:#eff6ff;--x-menu-item-focus-color:#1d4ed8;--x-menu-item-disabled-opacity:0.45;--x-menu-item-danger-color:#dc2626;--x-menu-item-danger-hover-bg:#fef2f2;--x-menu-item-padding:8px 12px;--x-menu-item-border-radius:4px;--x-menu-item-font-size:0.9375rem;--x-menu-item-icon-gap:8px;--x-menu-item-divider-color:#e5e7eb;}:host([disabled]){pointer-events:none;}@media (prefers-color-scheme:dark){:host{--x-menu-item-color:#f9fafb;--x-menu-item-hover-bg:#1f2937;--x-menu-item-focus-bg:#1e3a5f;--x-menu-item-focus-color:#60a5fa;--x-menu-item-danger-color:#f87171;--x-menu-item-danger-hover-bg:#2d1515;--x-menu-item-divider-color:#374151;}}.base{display:flex;align-items:center;gap:var(--x-menu-item-icon-gap);padding:var(--x-menu-item-padding);border-radius:var(--x-menu-item-border-radius);font-size:var(--x-menu-item-font-size);color:var(--x-menu-item-color);cursor:pointer;user-select:none;transition:background 100ms ease,color 100ms ease;}.base:hover{background:var(--x-menu-item-hover-bg);}:host(:focus) .base{background:var(--x-menu-item-focus-bg);color:var(--x-menu-item-focus-color);}.base[data-variant\x3d'danger']{color:var(--x-menu-item-danger-color);}.base[data-variant\x3d'danger']:hover{background:var(--x-menu-item-danger-hover-bg);}:host(:focus) .base[data-variant\x3d'danger']{background:var(--x-menu-item-danger-hover-bg);}.base[data-disabled\x3d'true']{opacity:var(--x-menu-item-disabled-opacity);cursor:default;pointer-events:none;}.base[data-type\x3d'divider']{padding:0;cursor:default;pointer-events:none;}.icon-span{display:none;flex-shrink:0;align-items:center;}:host([has-icon]) .icon-span{display:flex;}.divider-hr{display:none;}.base[data-type\x3d'divider'] .icon-span,.base[data-type\x3d'divider'] .label-span{display:none;}.base[data-type\x3d'divider'] .divider-hr{display:block;width:100%;border:none;border-top:1px solid var(--x-menu-item-divider-color);margin:4px 0;}@media (prefers-reduced-motion:reduce){.base{transition:none;}}";
9
- b.setAttribute("part","base");b.className="base";e.setAttribute("part","icon");e.className="icon-span";g.setAttribute("name","icon");e.appendChild(g);h.className="label-span";h.appendChild(k);m.className="divider-hr";b.appendChild(e);b.appendChild(h);b.appendChild(m);c.appendChild(d);c.appendChild(b);c={};c.base=b;c["icon-span"]=e;c["icon-slot"]=g;this.__xMenuItemRefs=c;jP(this);this.__xMenuItemInit=!0}iP(this);b=this}return b};a.prototype.disconnectedCallback=function(){var b=$APP.l(this,"__xMenuItemHandlers");
10
- var c=$APP.l(this,"__xMenuItemRefs");if($APP.r(b)){var d=$APP.l(b,"keydown"),e=$APP.l(b,"icon-slotchange");c=$APP.r(c)?$APP.l(c,"icon-slot"):null;this.removeEventListener("click",$APP.l(b,"click"));this.removeEventListener("keydown",d);b=$APP.r(c)?c.removeEventListener("slotchange",e):null}else b=null;return b};a.prototype.attributeChangedCallback=function(){return fP(this)?iP(this):null};kP(a);return a},nP=function(){return $APP.r(customElements.get("x-menu-item"))?null:customElements.define("x-menu-item",
11
- mP())};var lP=["value","disabled","variant","type"],cP=new $APP.R(null,new $APP.P(null,2,["",null,"danger",null],null),null),dP=new $APP.R(null,new $APP.P(null,2,["",null,"divider",null],null),null);$APP.Sd(["x-menu-item-select",new $APP.P(null,1,[$APP.U,new $APP.P(null,1,[$APP.ui,$APP.Y],null)],null)]);$APP.ka("baredom.exports.x_menu_item.init",nP);export const init=nP;
2
+ var JP=function(a){var b=$APP.N(a);a=$APP.G(b,$APP.ri);var c=$APP.G(b,$APP.gj),d=$APP.G(b,$APP.Fh);b=$APP.G(b,$APP.Z);a=$APP.r(a)?a:"";c=$APP.I(c);d=$APP.r(d)?d:"";d=$APP.J(HP,d)?d:"";b=$APP.r(b)?b:"";b=$APP.J(IP,b)?b:"";return new $APP.P(null,4,[$APP.ri,a,$APP.gj,c,$APP.Fh,d,$APP.Z,b],null)},KP=function(a){return $APP.l(a,"__xMenuItemInit")===!0},LP=function(a){return new $APP.P(null,4,[$APP.ri,a.getAttribute("value"),$APP.gj,a.hasAttribute("disabled"),$APP.Fh,a.getAttribute("variant"),$APP.Z,a.getAttribute("type")],
3
+ null)},MP=function(a){var b=a.getAttribute("value");return a.dispatchEvent(new CustomEvent("x-menu-item-select",{detail:{value:$APP.r(b)?b:""},bubbles:!0,composed:!0}))},NP=function(a){var b=$APP.l(a,"__xMenuItemRefs");b=$APP.r(b)?$APP.l(b,"base"):null;var c=JP(LP(a));if($APP.r(b)){if($APP.D.i($APP.Z.g(c),"divider"))return a.setAttribute("role","separator"),a.removeAttribute("tabindex"),a.removeAttribute("aria-disabled"),b.setAttribute("data-type","divider"),b.setAttribute("data-variant",""),b.setAttribute("data-disabled",
4
+ "false");a.setAttribute("role","menuitem");a.setAttribute("tabindex","-1");b.setAttribute("data-type","");b.setAttribute("data-variant",$APP.Fh.g(c));b.setAttribute("data-disabled",$APP.r($APP.gj.g(c))?"true":"false");return $APP.r($APP.gj.g(c))?a.setAttribute("aria-disabled","true"):a.removeAttribute("aria-disabled")}return null},OP=function(a){function b(){return e.assignedNodes().length>0?a.setAttribute("has-icon",""):a.removeAttribute("has-icon")}function c(h){var k=h.key,m=JP(LP(a));($APP.D.i(k,
5
+ "Enter")||$APP.D.i(k," "))&&$APP.t($APP.gj.g(m))&&$APP.O($APP.Z.g(m),"divider")?(h.preventDefault(),h=MP(a)):h=null;return h}function d(h){var k=JP(LP(a));var m=$APP.gj.g(k);m=$APP.r(m)?m:$APP.D.i($APP.Z.g(k),"divider");$APP.r(m)&&h.preventDefault();return $APP.t($APP.gj.g(k))&&$APP.O($APP.Z.g(k),"divider")?MP(a):null}var e=$APP.l($APP.l(a,"__xMenuItemRefs"),"icon-slot"),g={};a.addEventListener("click",d);a.addEventListener("keydown",c);e.addEventListener("slotchange",b);g.click=d;g.keydown=c;g["icon-slotchange"]=
6
+ b;a.__xMenuItemHandlers=g},PP=function(a){Object.defineProperty(a.prototype,"value",{get:function(){return this.getAttribute("value")},set:function(b){return $APP.r(b)?this.setAttribute("value",b):this.removeAttribute("value")},configurable:!0,enumerable:!0});Object.defineProperty(a.prototype,"disabled",{get:function(){return this.hasAttribute("disabled")},set:function(b){return $APP.r(b)?this.setAttribute("disabled",""):this.removeAttribute("disabled")},configurable:!0,enumerable:!0});Object.defineProperty(a.prototype,
7
+ "variant",{get:function(){return this.getAttribute("variant")},set:function(b){return $APP.r(b)?this.setAttribute("variant",b):this.removeAttribute("variant")},configurable:!0,enumerable:!0});Object.defineProperty(a.prototype,"type",{get:function(){return this.getAttribute("type")},set:function(b){return $APP.r(b)?this.setAttribute("type",b):this.removeAttribute("type")},configurable:!0,enumerable:!0})},RP=function(){var a=class extends HTMLElement{};a.observedAttributes=QP;a.prototype.connectedCallback=
8
+ function(){if(KP(this)){OP(this);var b=NP(this)}else{if(!KP(this)){var c=this.attachShadow({mode:"open"}),d=document.createElement("style");b=document.createElement("div");var e=document.createElement("span"),g=document.createElement("slot"),h=document.createElement("span"),k=document.createElement("slot"),m=document.createElement("hr");d.textContent=":host{display:block;outline:none;color-scheme:light dark;--x-menu-item-color:var(--x-color-text,#111827);--x-menu-item-hover-bg:var(--x-color-surface-hover,#f3f4f6);--x-menu-item-focus-bg:var(--x-color-surface-hover,#eff6ff);--x-menu-item-focus-color:var(--x-color-primary-hover,#1d4ed8);--x-menu-item-disabled-opacity:0.45;--x-menu-item-danger-color:var(--x-color-danger,#dc2626);--x-menu-item-danger-hover-bg:#fef2f2;--x-menu-item-padding:8px 12px;--x-menu-item-border-radius:var(--x-radius-sm,4px);--x-menu-item-font-size:0.9375rem;--x-menu-item-icon-gap:8px;--x-menu-item-divider-color:var(--x-color-border,#e5e7eb);}:host([disabled]){pointer-events:none;}@media (prefers-color-scheme:dark){:host{--x-menu-item-color:var(--x-color-text,#f9fafb);--x-menu-item-hover-bg:var(--x-color-surface-hover,#1f2937);--x-menu-item-focus-bg:var(--x-color-surface-hover,#1e3a5f);--x-menu-item-focus-color:var(--x-color-focus-ring,#60a5fa);--x-menu-item-danger-color:var(--x-color-danger,#f87171);--x-menu-item-danger-hover-bg:#2d1515;--x-menu-item-divider-color:var(--x-color-border,#374151);}}.base{display:flex;align-items:center;gap:var(--x-menu-item-icon-gap);padding:var(--x-menu-item-padding);border-radius:var(--x-menu-item-border-radius);font-size:var(--x-menu-item-font-size);color:var(--x-menu-item-color);cursor:pointer;user-select:none;transition:background 100ms ease,color 100ms ease;}.base:hover{background:var(--x-menu-item-hover-bg);}:host(:focus) .base{background:var(--x-menu-item-focus-bg);color:var(--x-menu-item-focus-color);}.base[data-variant\x3d'danger']{color:var(--x-menu-item-danger-color);}.base[data-variant\x3d'danger']:hover{background:var(--x-menu-item-danger-hover-bg);}:host(:focus) .base[data-variant\x3d'danger']{background:var(--x-menu-item-danger-hover-bg);}.base[data-disabled\x3d'true']{opacity:var(--x-menu-item-disabled-opacity);cursor:default;pointer-events:none;}.base[data-type\x3d'divider']{padding:0;cursor:default;pointer-events:none;}.icon-span{display:none;flex-shrink:0;align-items:center;}:host([has-icon]) .icon-span{display:flex;}.divider-hr{display:none;}.base[data-type\x3d'divider'] .icon-span,.base[data-type\x3d'divider'] .label-span{display:none;}.base[data-type\x3d'divider'] .divider-hr{display:block;width:100%;border:none;border-top:1px solid var(--x-menu-item-divider-color);margin:4px 0;}@media (prefers-reduced-motion:reduce){.base{transition:none;}}";
9
+ b.setAttribute("part","base");b.className="base";e.setAttribute("part","icon");e.className="icon-span";g.setAttribute("name","icon");e.appendChild(g);h.className="label-span";h.appendChild(k);m.className="divider-hr";b.appendChild(e);b.appendChild(h);b.appendChild(m);c.appendChild(d);c.appendChild(b);c={};c.base=b;c["icon-span"]=e;c["icon-slot"]=g;this.__xMenuItemRefs=c;OP(this);this.__xMenuItemInit=!0}NP(this);b=this}return b};a.prototype.disconnectedCallback=function(){var b=$APP.l(this,"__xMenuItemHandlers");
10
+ var c=$APP.l(this,"__xMenuItemRefs");if($APP.r(b)){var d=$APP.l(b,"keydown"),e=$APP.l(b,"icon-slotchange");c=$APP.r(c)?$APP.l(c,"icon-slot"):null;this.removeEventListener("click",$APP.l(b,"click"));this.removeEventListener("keydown",d);b=$APP.r(c)?c.removeEventListener("slotchange",e):null}else b=null;return b};a.prototype.attributeChangedCallback=function(){return KP(this)?NP(this):null};PP(a);return a},SP=function(){return $APP.r(customElements.get("x-menu-item"))?null:customElements.define("x-menu-item",
11
+ RP())};var QP=["value","disabled","variant","type"],HP=new $APP.R(null,new $APP.P(null,2,["",null,"danger",null],null),null),IP=new $APP.R(null,new $APP.P(null,2,["",null,"divider",null],null),null);$APP.Sd(["x-menu-item-select",new $APP.P(null,1,[$APP.U,new $APP.P(null,1,[$APP.ri,$APP.X],null)],null)]);$APP.ka("baredom.exports.x_menu_item.init",SP);export const init=SP;
package/dist/x-menu.js CHANGED
@@ -1,13 +1,13 @@
1
1
  import { $APP, shadow$provide } from "./base.js";
2
- var nG=function(a){return $APP.l(a,"__xMenuInit")===!0},oG=function(a){a=a.querySelectorAll("x-menu-item");for(var b=[],c=a.length,d=0;;)if(d<c){var e=a[d];$APP.t(e.hasAttribute("disabled"))&&$APP.O(e.getAttribute("type"),"divider")&&b.push(e);d+=1}else break;return b},pG=function(a,b,c){return a.dispatchEvent(new CustomEvent(b,{detail:c,bubbles:!0,composed:!0}))},sG=function(a){$APP.r(a.hasAttribute("open"))||(a.setAttribute("open",""),pG(a,"x-menu-open",{}));if($APP.r(null)){a=oG(a);var b=a.length;
3
- return b>0?$APP.D.i(null,qG)?a[0].focus():$APP.D.i(null,rG)?a[b-1].focus():null:null}return null},tG=function(a,b){$APP.r(a.hasAttribute("open"))&&(a.removeAttribute("open"),pG(a,"x-menu-close",{}));return $APP.r(b)?(a=$APP.l(a,"__xMenuRefs"),a=$APP.r(a)?$APP.l(a,"trigger-slot"):null,a=$APP.r(a)?a.assignedElements():null,a=$APP.r($APP.r(a)?a.length>0:a)?a[0]:null,$APP.r(a)?a.focus():null):null},uG=function(a,b){var c=b.composedPath();a=$APP.xc(a.assignedElements());return $APP.I($APP.Wd(function(d){return c.indexOf(d)>
4
- -1},a))},vG=function(a,b){var c=b.key,d=a.hasAttribute("open");if($APP.D.i(c,"Escape"))return $APP.r(d)?(b.preventDefault(),tG(a,!0)):null;if($APP.D.i(c,"Tab"))return $APP.r(d)?tG(a,!1):null;if($APP.D.i(c,"ArrowDown")||$APP.D.i(c,"ArrowUp")){var e=oG(a),g=e.length;if(g>0){b.preventDefault();if($APP.r(d))return a=e.indexOf(document.activeElement),c=$APP.D.i(c,"ArrowDown")?a>=g-1?0:a<0?0:a+1:a<=0?g-1:a-1,e[c].focus();sG(a);return e[$APP.D.i(c,"ArrowDown")?0:g-1].focus()}}else if($APP.D.i(c,"Home")){if($APP.r(d)&&
5
- (e=oG(a),e.length>0))return b.preventDefault(),e[0].focus()}else if($APP.D.i(c,"End")&&$APP.r(d)&&(e=oG(a),e.length>0))return b.preventDefault(),e[e.length-1].focus();return null},xG=function(a){var b=$APP.l(a,"__xMenuRefs");b=$APP.r(b)?$APP.l(b,"popup"):null;a=new $APP.P(null,3,[$APP.hl,a.hasAttribute("open"),$APP.hj,a.getAttribute("placement"),$APP.T,a.getAttribute("label")],null);a=$APP.N(a);var c=$APP.G(a,$APP.hl),d=$APP.G(a,$APP.hj);a=$APP.G(a,$APP.T);c=$APP.I(c);d=$APP.r(d)?d:"";d=$APP.J(wG,
6
- d)?d:"bottom-start";a=new $APP.P(null,3,[$APP.hl,c,$APP.hj,d,$APP.T,$APP.r(a)?a:""],null);return $APP.r(b)?(b.setAttribute("data-placement",$APP.hj.g(a)),a=$APP.T.g(a),$APP.r($APP.r(a)?$APP.O(a,""):a)?b.setAttribute("aria-label",a):b.removeAttribute("aria-label")):null},yG=function(a){function b(h){h.stopPropagation();h=h.detail.value;tG(a,!1);return pG(a,"x-menu-select",{value:$APP.r(h)?h:""})}function c(h){return vG(a,h)}function d(h){$APP.r(a.hasAttribute("open"))?(h=h.composedPath(),h=$APP.D.i(-1,
7
- h.indexOf(a))?tG(a,!1):null):h=null;return h}function e(h){var k=$APP.l(a,"__xMenuRefs");k=$APP.r(k)?$APP.l(k,"trigger-slot"):null;return $APP.r($APP.r(k)?uG(k,h):k)?$APP.r(a.hasAttribute("open"))?tG(a,!0):sG(a):null}var g={};a.addEventListener("click",e);document.addEventListener("click",d,!0);a.addEventListener("keydown",c);a.addEventListener("x-menu-item-select",b);g.click=e;g["doc-click"]=d;g.keydown=c;g["item-select"]=b;a.__xMenuHandlers=g},zG=function(a){Object.defineProperty(a.prototype,"open",
2
+ var SG=function(a){return $APP.l(a,"__xMenuInit")===!0},TG=function(a){a=a.querySelectorAll("x-menu-item");for(var b=[],c=a.length,d=0;;)if(d<c){var e=a[d];$APP.t(e.hasAttribute("disabled"))&&$APP.O(e.getAttribute("type"),"divider")&&b.push(e);d+=1}else break;return b},UG=function(a,b,c){return a.dispatchEvent(new CustomEvent(b,{detail:c,bubbles:!0,composed:!0}))},XG=function(a){$APP.r(a.hasAttribute("open"))||(a.setAttribute("open",""),UG(a,"x-menu-open",{}));if($APP.r(null)){a=TG(a);var b=a.length;
3
+ return b>0?$APP.D.i(null,VG)?a[0].focus():$APP.D.i(null,WG)?a[b-1].focus():null:null}return null},YG=function(a,b){$APP.r(a.hasAttribute("open"))&&(a.removeAttribute("open"),UG(a,"x-menu-close",{}));return $APP.r(b)?(a=$APP.l(a,"__xMenuRefs"),a=$APP.r(a)?$APP.l(a,"trigger-slot"):null,a=$APP.r(a)?a.assignedElements():null,a=$APP.r($APP.r(a)?a.length>0:a)?a[0]:null,$APP.r(a)?a.focus():null):null},ZG=function(a,b){var c=b.composedPath();a=$APP.xc(a.assignedElements());return $APP.I($APP.Wd(function(d){return c.indexOf(d)>
4
+ -1},a))},$G=function(a,b){var c=b.key,d=a.hasAttribute("open");if($APP.D.i(c,"Escape"))return $APP.r(d)?(b.preventDefault(),YG(a,!0)):null;if($APP.D.i(c,"Tab"))return $APP.r(d)?YG(a,!1):null;if($APP.D.i(c,"ArrowDown")||$APP.D.i(c,"ArrowUp")){var e=TG(a),g=e.length;if(g>0){b.preventDefault();if($APP.r(d))return a=e.indexOf(document.activeElement),c=$APP.D.i(c,"ArrowDown")?a>=g-1?0:a<0?0:a+1:a<=0?g-1:a-1,e[c].focus();XG(a);return e[$APP.D.i(c,"ArrowDown")?0:g-1].focus()}}else if($APP.D.i(c,"Home")){if($APP.r(d)&&
5
+ (e=TG(a),e.length>0))return b.preventDefault(),e[0].focus()}else if($APP.D.i(c,"End")&&$APP.r(d)&&(e=TG(a),e.length>0))return b.preventDefault(),e[e.length-1].focus();return null},bH=function(a){var b=$APP.l(a,"__xMenuRefs");b=$APP.r(b)?$APP.l(b,"popup"):null;a=new $APP.P(null,3,[$APP.il,a.hasAttribute("open"),$APP.hj,a.getAttribute("placement"),$APP.T,a.getAttribute("label")],null);a=$APP.N(a);var c=$APP.G(a,$APP.il),d=$APP.G(a,$APP.hj);a=$APP.G(a,$APP.T);c=$APP.I(c);d=$APP.r(d)?d:"";d=$APP.J(aH,
6
+ d)?d:"bottom-start";a=new $APP.P(null,3,[$APP.il,c,$APP.hj,d,$APP.T,$APP.r(a)?a:""],null);return $APP.r(b)?(b.setAttribute("data-placement",$APP.hj.g(a)),a=$APP.T.g(a),$APP.r($APP.r(a)?$APP.O(a,""):a)?b.setAttribute("aria-label",a):b.removeAttribute("aria-label")):null},cH=function(a){function b(h){h.stopPropagation();h=h.detail.value;YG(a,!1);return UG(a,"x-menu-select",{value:$APP.r(h)?h:""})}function c(h){return $G(a,h)}function d(h){$APP.r(a.hasAttribute("open"))?(h=h.composedPath(),h=$APP.D.i(-1,
7
+ h.indexOf(a))?YG(a,!1):null):h=null;return h}function e(h){var k=$APP.l(a,"__xMenuRefs");k=$APP.r(k)?$APP.l(k,"trigger-slot"):null;return $APP.r($APP.r(k)?ZG(k,h):k)?$APP.r(a.hasAttribute("open"))?YG(a,!0):XG(a):null}var g={};a.addEventListener("click",e);document.addEventListener("click",d,!0);a.addEventListener("keydown",c);a.addEventListener("x-menu-item-select",b);g.click=e;g["doc-click"]=d;g.keydown=c;g["item-select"]=b;a.__xMenuHandlers=g},dH=function(a){Object.defineProperty(a.prototype,"open",
8
8
  {get:function(){return this.hasAttribute("open")},set:function(b){return $APP.r(b)?this.setAttribute("open",""):this.removeAttribute("open")},configurable:!0,enumerable:!0});Object.defineProperty(a.prototype,"placement",{get:function(){return this.getAttribute("placement")},set:function(b){return $APP.r(b)?this.setAttribute("placement",b):this.removeAttribute("placement")},configurable:!0,enumerable:!0});Object.defineProperty(a.prototype,"label",{get:function(){return this.getAttribute("label")},
9
- set:function(b){return $APP.r(b)?this.setAttribute("label",b):this.removeAttribute("label")},configurable:!0,enumerable:!0})},BG=function(){var a=class extends HTMLElement{};a.observedAttributes=AG;a.prototype.connectedCallback=function(){if(nG(this)){yG(this);var b=xG(this)}else{if(!nG(this)){var c=this.attachShadow({mode:"open"}),d=document.createElement("style");b=document.createElement("div");var e=document.createElement("slot"),g=document.createElement("div"),h=document.createElement("slot");
10
- d.textContent=":host{display:inline-block;position:relative;color-scheme:light dark;--x-menu-bg:#ffffff;--x-menu-border:1px solid #e5e7eb;--x-menu-border-radius:8px;--x-menu-shadow:0 4px 16px rgba(0,0,0,0.12);--x-menu-min-width:160px;--x-menu-padding:4px;--x-menu-z-index:1000;}@media (prefers-color-scheme:dark){:host{--x-menu-bg:#1f2937;--x-menu-border:1px solid #374151;--x-menu-shadow:0 4px 16px rgba(0,0,0,0.4);}}.base{position:relative;display:inline-block;}.popup{display:none;position:absolute;background:var(--x-menu-bg);border:var(--x-menu-border);border-radius:var(--x-menu-border-radius);box-shadow:var(--x-menu-shadow);min-width:var(--x-menu-min-width);padding:var(--x-menu-padding);z-index:var(--x-menu-z-index);box-sizing:border-box;}:host([open]) .popup{display:block;}.popup[data-placement\x3d'bottom-start']{top:100%;left:0;margin-top:4px;}.popup[data-placement\x3d'bottom-end']{top:100%;right:0;margin-top:4px;}.popup[data-placement\x3d'top-start']{bottom:100%;left:0;margin-bottom:4px;}.popup[data-placement\x3d'top-end']{bottom:100%;right:0;margin-bottom:4px;}";
11
- b.setAttribute("part","base");b.className="base";e.setAttribute("name","trigger");g.setAttribute("part","popup");g.className="popup";g.setAttribute("role","menu");g.appendChild(h);b.appendChild(e);b.appendChild(g);c.appendChild(d);c.appendChild(b);c={};c.base=b;c.popup=g;c["trigger-slot"]=e;c["item-slot"]=h;this.__xMenuRefs=c;yG(this);this.__xMenuInit=!0}xG(this);b=this}return b};a.prototype.disconnectedCallback=function(){var b=$APP.l(this,"__xMenuHandlers");if($APP.r(b)){var c=$APP.l(b,"doc-click"),
12
- d=$APP.l(b,"keydown"),e=$APP.l(b,"item-select");this.removeEventListener("click",$APP.l(b,"click"));document.removeEventListener("click",c,!0);this.removeEventListener("keydown",d);b=this.removeEventListener("x-menu-item-select",e)}else b=null;return b};a.prototype.attributeChangedCallback=function(){return nG(this)?xG(this):null};zG(a);return a},CG=function(){return $APP.r(customElements.get("x-menu"))?null:customElements.define("x-menu",BG())},rG=new $APP.M(null,"last","last",1105735132),qG=new $APP.M(null,
13
- "first","first",-644103046);var AG=["open","placement","label"],wG=new $APP.R(null,new $APP.P(null,4,["bottom-start",null,"bottom-end",null,"top-end",null,"top-start",null],null),null);$APP.Sd(["x-menu-open",new $APP.P(null,1,[$APP.U,$APP.Td],null),"x-menu-close",new $APP.P(null,1,[$APP.U,$APP.Td],null),"x-menu-select",new $APP.P(null,1,[$APP.U,new $APP.P(null,1,[$APP.ui,$APP.Y],null)],null)]);$APP.ka("baredom.exports.x_menu.init",CG);export const init=CG;
9
+ set:function(b){return $APP.r(b)?this.setAttribute("label",b):this.removeAttribute("label")},configurable:!0,enumerable:!0})},fH=function(){var a=class extends HTMLElement{};a.observedAttributes=eH;a.prototype.connectedCallback=function(){if(SG(this)){cH(this);var b=bH(this)}else{if(!SG(this)){var c=this.attachShadow({mode:"open"}),d=document.createElement("style");b=document.createElement("div");var e=document.createElement("slot"),g=document.createElement("div"),h=document.createElement("slot");
10
+ d.textContent=":host{display:inline-block;position:relative;color-scheme:light dark;--x-menu-bg:var(--x-color-bg,#ffffff);--x-menu-border:1px solid var(--x-color-border,#e5e7eb);--x-menu-border-radius:var(--x-radius-md,8px);--x-menu-shadow:var(--x-shadow-md,0 4px 16px rgba(0,0,0,0.12));--x-menu-min-width:160px;--x-menu-padding:4px;--x-menu-z-index:1000;}@media (prefers-color-scheme:dark){:host{--x-menu-bg:var(--x-color-bg,#1f2937);--x-menu-border:1px solid var(--x-color-border,#374151);--x-menu-shadow:var(--x-shadow-md,0 4px 16px rgba(0,0,0,0.4));}}.base{position:relative;display:inline-block;}.popup{display:none;position:absolute;background:var(--x-menu-bg);border:var(--x-menu-border);border-radius:var(--x-menu-border-radius);box-shadow:var(--x-menu-shadow);min-width:var(--x-menu-min-width);max-width:calc(100vw - 1rem);padding:var(--x-menu-padding);z-index:var(--x-menu-z-index);box-sizing:border-box;}:host([open]) .popup{display:block;}.popup[data-placement\x3d'bottom-start']{top:100%;left:0;margin-top:4px;}.popup[data-placement\x3d'bottom-end']{top:100%;right:0;margin-top:4px;}.popup[data-placement\x3d'top-start']{bottom:100%;left:0;margin-bottom:4px;}.popup[data-placement\x3d'top-end']{bottom:100%;right:0;margin-bottom:4px;}";
11
+ b.setAttribute("part","base");b.className="base";e.setAttribute("name","trigger");g.setAttribute("part","popup");g.className="popup";g.setAttribute("role","menu");g.appendChild(h);b.appendChild(e);b.appendChild(g);c.appendChild(d);c.appendChild(b);c={};c.base=b;c.popup=g;c["trigger-slot"]=e;c["item-slot"]=h;this.__xMenuRefs=c;cH(this);this.__xMenuInit=!0}bH(this);b=this}return b};a.prototype.disconnectedCallback=function(){var b=$APP.l(this,"__xMenuHandlers");if($APP.r(b)){var c=$APP.l(b,"doc-click"),
12
+ d=$APP.l(b,"keydown"),e=$APP.l(b,"item-select");this.removeEventListener("click",$APP.l(b,"click"));document.removeEventListener("click",c,!0);this.removeEventListener("keydown",d);b=this.removeEventListener("x-menu-item-select",e)}else b=null;return b};a.prototype.attributeChangedCallback=function(){return SG(this)?bH(this):null};dH(a);return a},gH=function(){return $APP.r(customElements.get("x-menu"))?null:customElements.define("x-menu",fH())},WG=new $APP.K(null,"last","last",1105735132),VG=new $APP.K(null,
13
+ "first","first",-644103046);var eH=["open","placement","label"],aH=new $APP.R(null,new $APP.P(null,4,["bottom-start",null,"bottom-end",null,"top-end",null,"top-start",null],null),null);$APP.Sd(["x-menu-open",new $APP.P(null,1,[$APP.U,$APP.Td],null),"x-menu-close",new $APP.P(null,1,[$APP.U,$APP.Td],null),"x-menu-select",new $APP.P(null,1,[$APP.U,new $APP.P(null,1,[$APP.ri,$APP.X],null)],null)]);$APP.ka("baredom.exports.x_menu.init",gH);export const init=gH;