@vanelsas/baredom 2.5.0 → 2.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (104) hide show
  1. package/CHANGELOG.md +26 -0
  2. package/README.md +23 -337
  3. package/custom-elements.json +36 -1
  4. package/dist/base.js +358 -352
  5. package/dist/integrity.json +93 -93
  6. package/dist/x-alert.js +18 -19
  7. package/dist/x-avatar-group.js +10 -11
  8. package/dist/x-avatar.js +14 -14
  9. package/dist/x-badge.js +10 -11
  10. package/dist/x-bento-grid.js +5 -5
  11. package/dist/x-bento-item.js +4 -4
  12. package/dist/x-breadcrumbs.js +14 -14
  13. package/dist/x-button.js +18 -16
  14. package/dist/x-cancel-dialogue.js +17 -17
  15. package/dist/x-card.js +7 -7
  16. package/dist/x-carousel.js +34 -34
  17. package/dist/x-chart.js +46 -48
  18. package/dist/x-checkbox.js +10 -11
  19. package/dist/x-chip.js +9 -9
  20. package/dist/x-collapse.js +10 -12
  21. package/dist/x-color-picker.js +44 -45
  22. package/dist/x-combobox.d.ts +1 -0
  23. package/dist/x-combobox.js +26 -27
  24. package/dist/x-command-palette.js +26 -27
  25. package/dist/x-container.js +5 -6
  26. package/dist/x-context-menu.js +18 -18
  27. package/dist/x-copy.js +22 -22
  28. package/dist/x-currency-field.d.ts +1 -0
  29. package/dist/x-currency-field.js +22 -23
  30. package/dist/x-date-picker.js +41 -42
  31. package/dist/x-divider.js +8 -9
  32. package/dist/x-drawer.js +11 -12
  33. package/dist/x-dropdown.js +10 -11
  34. package/dist/x-fieldset.js +6 -6
  35. package/dist/x-file-download.js +7 -8
  36. package/dist/x-file-upload.js +22 -25
  37. package/dist/x-form-field.js +15 -17
  38. package/dist/x-form.js +8 -10
  39. package/dist/x-gaussian-blur.js +18 -18
  40. package/dist/x-grid.js +6 -6
  41. package/dist/x-icon.js +7 -7
  42. package/dist/x-image.js +19 -19
  43. package/dist/x-kinetic-font.js +28 -29
  44. package/dist/x-kinetic-typography.js +39 -39
  45. package/dist/x-liquid-dock.js +39 -39
  46. package/dist/x-liquid-fill.js +44 -44
  47. package/dist/x-liquid-glass.js +47 -47
  48. package/dist/x-menu-item.js +9 -10
  49. package/dist/x-menu.js +11 -11
  50. package/dist/x-metaball-cursor.js +27 -27
  51. package/dist/x-modal.js +12 -13
  52. package/dist/x-morph-stack.js +38 -39
  53. package/dist/x-navbar.js +12 -13
  54. package/dist/x-neural-glow.js +32 -33
  55. package/dist/x-notification-center.js +9 -10
  56. package/dist/x-organic-divider.js +18 -19
  57. package/dist/x-organic-progress.js +37 -38
  58. package/dist/x-organic-shape.js +13 -14
  59. package/dist/x-pagination.d.ts +2 -1
  60. package/dist/x-pagination.js +16 -16
  61. package/dist/x-particle-button.js +48 -49
  62. package/dist/x-popover.js +24 -25
  63. package/dist/x-progress-circle.js +8 -9
  64. package/dist/x-progress.js +11 -11
  65. package/dist/x-radio.js +10 -12
  66. package/dist/x-ripple-effect.js +11 -11
  67. package/dist/x-scroll-parallax.js +19 -19
  68. package/dist/x-scroll-stack.js +18 -18
  69. package/dist/x-scroll-story.js +36 -36
  70. package/dist/x-scroll-timeline.js +46 -47
  71. package/dist/x-scroll.js +40 -41
  72. package/dist/x-search-field.js +15 -17
  73. package/dist/x-select.d.ts +1 -0
  74. package/dist/x-select.js +10 -11
  75. package/dist/x-sidebar.js +16 -16
  76. package/dist/x-skeleton-group.js +12 -14
  77. package/dist/x-skeleton.js +1 -1
  78. package/dist/x-slider.d.ts +1 -0
  79. package/dist/x-slider.js +16 -16
  80. package/dist/x-soft-body.js +21 -21
  81. package/dist/x-spacer.js +5 -5
  82. package/dist/x-spinner.js +5 -6
  83. package/dist/x-splash.js +13 -13
  84. package/dist/x-stat.js +11 -11
  85. package/dist/x-stepper.js +15 -15
  86. package/dist/x-switch.js +9 -11
  87. package/dist/x-tab.js +7 -7
  88. package/dist/x-table-cell.js +22 -22
  89. package/dist/x-table-row.js +9 -10
  90. package/dist/x-table.js +14 -15
  91. package/dist/x-tabs.d.ts +1 -0
  92. package/dist/x-tabs.js +11 -11
  93. package/dist/x-text-area.d.ts +1 -0
  94. package/dist/x-text-area.js +19 -19
  95. package/dist/x-theme.d.ts +1 -1
  96. package/dist/x-theme.js +25 -25
  97. package/dist/x-timeline-item.js +23 -23
  98. package/dist/x-timeline.js +9 -9
  99. package/dist/x-toast.js +24 -24
  100. package/dist/x-toaster.js +8 -8
  101. package/dist/x-tooltip.js +11 -13
  102. package/dist/x-typography.js +11 -11
  103. package/dist/x-welcome-tour.js +64 -65
  104. package/package.json +186 -182
@@ -1,40 +1,40 @@
1
1
  import { $APP, shadow$provide } from "./base.js";
2
- var dq=function(a){return typeof a==="string"?(a=a.trim().toLowerCase(),$APP.I(cq,a)?a:"bottom"):"bottom"},eq=function(a,b,c,d){return typeof a==="string"?(a=parseFloat(a.trim()),$APP.n(isNaN(a))?b:Math.min(d,Math.max(c,a))):b},fq=function(a){return typeof a==="string"&&a.trim().length>0?a.trim():"1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 18 -7"},gq=function(a){return typeof a==="string"&&a.trim().length>0?a.trim():null},hq=function(a,b){return a+(b-a)*.1},lq=function(a,b,c,d,e,g,h){a=c-a;b=d-b;d=Math.sqrt(a*
3
- a+b*b);e=Math.max(0,1-d/e);c=e*e;g=c*g*20;d=d>.001?1/d:0;return new $APP.R(null,4,[iq,e,$APP.aj,1+c*(h-1),jq,a*d*g*.3,kq,b*d*g*.3],null)},oq=function(a,b){var c=a*a;a=c*28;c=.6+c*.9;switch(b){case "bottom":return new $APP.R(null,3,[mq,0,nq,-a,$APP.aj,c],null);case "top":return new $APP.R(null,3,[mq,0,nq,a,$APP.aj,c],null);case "left":return new $APP.R(null,3,[mq,a,nq,0,$APP.aj,c],null);case "right":return new $APP.R(null,3,[mq,-a,nq,0,$APP.aj,c],null);default:return new $APP.R(null,3,[mq,0,nq,-a,
4
- $APP.aj,c],null)}},qq=function(a,b,c,d){a*=a;var e=12*d*a;return new $APP.R(null,3,[pq,function(){switch(c){case "bottom":return-e;case "top":return e;case "left":return e;case "right":return-e;default:return-e}}(),$APP.am,5*d*a*b,$APP.aj,1+.12*d*a],null)},wq=function(a){var b=$APP.k(a,"__xLiquidDockModel"),c=rq[0];rq[0]=c+1;var d="goo-"+$APP.T.g(c),e=a.attachShadow({mode:"open"}),g=document.createElement("style"),h=document.createElement("nav"),l=document.createElementNS("http://www.w3.org/2000/svg",
5
- "svg"),m=document.createElement("div"),p=document.createElement("div"),q=document.createElement("slot");a.__xLiquidDockUid=c;g.textContent=sq;h.setAttribute("part","dock");h.setAttribute("role","navigation");h.setAttribute("aria-label","Navigation dock");l.setAttribute("part","filter-svg");l.setAttribute("aria-hidden","true");l.setAttribute("role","presentation");m.setAttribute("part","liquid-layer");m.style.filter="url(#"+$APP.T.g(d)+")";p.setAttribute("part","items");p.appendChild(q);var v=$APP.M(b);
6
- b=$APP.D(v,$APP.ki);c=$APP.D(v,$APP.Tl);v=$APP.D(v,tq);var x=document.createElementNS("http://www.w3.org/2000/svg","defs"),y=document.createElementNS("http://www.w3.org/2000/svg","filter"),A=document.createElementNS("http://www.w3.org/2000/svg","feGaussianBlur"),C=document.createElementNS("http://www.w3.org/2000/svg","feColorMatrix"),E=document.createElementNS("http://www.w3.org/2000/svg","feTurbulence"),H=document.createElementNS("http://www.w3.org/2000/svg","feDisplacementMap");y.setAttribute("id",
7
- d);y.setAttribute("x","-20%");y.setAttribute("y","-20%");y.setAttribute("width","140%");y.setAttribute("height","140%");A.setAttribute("in","SourceGraphic");A.setAttribute("stdDeviation",""+$APP.T.g(b));A.setAttribute("result","blur");C.setAttribute("in","blur");C.setAttribute("type","matrix");C.setAttribute("values",c);C.setAttribute("result","goo");E.setAttribute("type","fractalNoise");E.setAttribute("baseFrequency","0.015");E.setAttribute("numOctaves","2");E.setAttribute("seed","0");E.setAttribute("result",
8
- "noise");H.setAttribute("in","goo");H.setAttribute("in2","noise");H.setAttribute("scale",""+$APP.T.g(v));H.setAttribute("xChannelSelector","R");H.setAttribute("yChannelSelector","G");y.appendChild(A);y.appendChild(C);y.appendChild(E);y.appendChild(H);x.appendChild(y);l.appendChild(x);d=new $APP.R(null,5,[$APP.jl,y,$APP.nj,A,$APP.Um,C,$APP.Ol,E,$APP.Mj,H],null);h.appendChild(l);h.appendChild(m);h.appendChild(p);e.appendChild(g);e.appendChild(h);e=$APP.Rf($APP.uc([d,new $APP.R(null,6,[$APP.Hi,e,$APP.Bi,
9
- h,$APP.mk,l,uq,m,vq,p,$APP.kj,q],null)]));a.__xLiquidDockRefs=e},Pq=function(a){a=$APP.zf([$APP.Xj,$APP.pm,xq,yq,$APP.Wh,$APP.fn,zq,$APP.Wi,Aq,$APP.ej,Bq],[a.getAttribute("position"),a.getAttribute("blur"),a.getAttribute("magnet-strength"),a.getAttribute("ripple-speed"),a.getAttribute("threshold"),a.getAttribute("color"),a.getAttribute("ripple-scale"),a.getAttribute("gap"),a.getAttribute("bob-intensity"),a.getAttribute("disabled"),a.getAttribute("magnet-radius")]);var b=$APP.M(a);a=$APP.D(b,$APP.ej);
10
- var c=$APP.D(b,Bq),d=$APP.D(b,$APP.Xj),e=$APP.D(b,$APP.pm),g=$APP.D(b,xq),h=$APP.D(b,yq),l=$APP.D(b,$APP.Wh),m=$APP.D(b,$APP.fn),p=$APP.D(b,zq),q=$APP.D(b,$APP.Wi);b=$APP.D(b,Aq);d=dq(d);return $APP.zf([$APP.Oj,Cq,Lq,$APP.Tl,tq,$APP.ki,Mq,$APP.Yj,Nq,$APP.bn,Oq,$APP.X],[gq(m),eq(h,.03,.005,.15),eq(b,1,0,2),fq(l),eq(p,8,0,40),eq(e,10,2,30),$APP.B.i(d,"left")||$APP.B.i(d,"right"),eq(q,8,0,40),eq(c,150,40,400),d,eq(g,.6,0,2),a!=null])},Qq=function(a){a=$APP.kj.g($APP.k(a,"__xLiquidDockRefs"));return $APP.n(a)?
11
- a.assignedElements():null},Rq=function(a){var b=$APP.M($APP.k(a,"__xLiquidDockRefs")),c=$APP.D(b,uq);b=function(){var q=Qq(a);return $APP.n(q)?q:[]}().length*2;for(var d=function(){var q=$APP.k(a,"__xLiquidDockBlobs");return $APP.n(q)?q:[]}(),e=function(){var q=$APP.k(a,"__xLiquidDockBlobSt");return $APP.n(q)?q:[]}(),g=d.length,h=g;;)if(h<b){var l=document.createElement("div"),m=$APP.Ud(h);l.className=m?"blob blob-rest":"blob blob-phantom";var p=m?52:44;l.style.width=""+$APP.T.g(p)+"px";l.style.height=
12
- ""+$APP.T.g(p)+"px";c.appendChild(l);d.push(l);e.push(m?{type:"rest"}:{type:"phantom",cpDx:0,cpDy:0,cpScale:.6,cLift:0,cRot:0,cScale:1});h+=1}else break;for(c=g;;)if(c>b)g=d.pop(),e.pop(),$APP.n(g.parentNode)&&g.parentNode.removeChild(g),--c;else break;a.__xLiquidDockBlobs=d;a.__xLiquidDockBlobSt=e},Sq=function(a){var b=$APP.M($APP.k(a,"__xLiquidDockRefs")),c=$APP.D(b,$APP.Bi);b=Qq(a);b=$APP.n(b)?b:[];var d=b.length,e=[];if($APP.n($APP.n(c)?d>0:c)){c=c.getBoundingClientRect();for(var g=0;;)if(g<d){var h=
13
- b[g].getBoundingClientRect();e.push({cx:h.left+h.width/2-c.left,cy:h.top+h.height/2-c.top});g+=1}else break}a.__xLiquidDockItemsR=e;return null},Tq=function(a,b){var c=$APP.M(b);b=$APP.D(c,$APP.Oj);c=$APP.D(c,$APP.Yj);$APP.n(b)?a.style.setProperty("--x-liquid-dock-color",b):a.style.removeProperty("--x-liquid-dock-color");a.style.setProperty("--x-liquid-dock-gap",""+$APP.T.g(c)+"px")},Vq=function(a){$APP.F(window.matchMedia("(prefers-reduced-motion:reduce)").matches)||$APP.n($APP.X.g($APP.k(a,"__xLiquidDockModel")))||
14
- (a.__xLiquidDockSeed=0,$APP.ja(a,"__xLiquidDockRaf",requestAnimationFrame(function(){return Uq(a)})));return null},Wq=function(a){var b=$APP.k(a,"__xLiquidDockRaf");$APP.n(b)&&(cancelAnimationFrame(b),a.__xLiquidDockRaf=null)},Xq=function(a){a=Qq(a);if($APP.n(a))for(var b=a.length,c=0;;)if(c<b)a[c].style.transform="",c+=1;else break},Yq=function(a,b,c,d){var e=Date.now();a.__xLiquidDockBurst=e;b=new CustomEvent("x-liquid-dock-select",{bubbles:!0,composed:!0,cancelable:!0,detail:$APP.Hh(new $APP.R(null,
15
- 3,["index",b,"item",c,"source",d],null))});a.dispatchEvent(b)},Zq=function(a){Rq(a);var b=Qq(a);if($APP.n(b))for(var c=b.length,d=0;;)if(d<c){var e=b[d];e.getAttribute("tabindex")==null&&e.setAttribute("tabindex","0");d+=1}else break;requestAnimationFrame(function(){return Sq(a)});return null},br=function(a){function b(){return Zq(a)}function c(l){var m=$APP.k(a,"__xLiquidDockModel");if(!$APP.n($APP.X.g(m))){var p=Qq(a),q=$APP.n(p)?p.length:null,v=l.key,x=Mq.g(m);m=$APP.n(x)?"ArrowUp":"ArrowLeft";
16
- x=$APP.n(x)?"ArrowDown":"ArrowRight";var y=$APP.k(a,"__xLiquidDockFocus");y=$APP.n(y)?y:-1;$APP.n($APP.n(q)?q>0:q)&&($APP.B.i(v,m)?(l.preventDefault(),l=y<1?q-1:y-1,a.__xLiquidDockFocus=l,p[l].focus()):$APP.B.i(v,x)?(l.preventDefault(),l=y>=q-1?0:y+1,a.__xLiquidDockFocus=l,p[l].focus()):($APP.B.i(v,"Enter")||$APP.B.i(v," "))&&y>=0&&(l.preventDefault(),Yq(a,y,p[y],"keyboard")))}return null}function d(l){if(!$APP.n($APP.X.g($APP.k(a,"__xLiquidDockModel")))){var m=Qq(a);if($APP.n(m)){a:{l=l.target;for(var p=
17
- m.length,q=0;;)if(q<p){if($APP.B.i(l,m[q])){l=q;break a}q+=1}else{l=null;break a}l=void 0}$APP.n(l)&&Yq(a,l,m[l],"pointer")}}return null}function e(){$APP.k(a,"__xLiquidDockMouse").active=!1;return null}function g(l){var m=$APP.M($APP.k(a,"__xLiquidDockRefs"));m=$APP.D(m,$APP.Bi);if($APP.n(m)){m=m.getBoundingClientRect();var p=$APP.k(a,"__xLiquidDockMouse");p.x=l.clientX-m.left;p.y=l.clientY-m.top;p.active=!0}return null}var h=$APP.M($APP.k(a,"__xLiquidDockRefs"));h=$APP.D(h,$APP.kj);a.addEventListener("pointermove",
18
- g);a.addEventListener("pointerleave",e);a.addEventListener("click",d);a.addEventListener("keydown",c);$APP.n(h)&&h.addEventListener("slotchange",b);$APP.ja(a,"__xLiquidDockHdl",new $APP.R(null,5,[$q,g,ar,e,$APP.Jk,d,$APP.lk,c,$APP.kj,b],null))},cr=function(a){var b=$APP.k(a,"__xLiquidDockHdl");if($APP.n(b)){a.removeEventListener("pointermove",$q.g(b));a.removeEventListener("pointerleave",ar.g(b));a.removeEventListener("click",$APP.Jk.g(b));a.removeEventListener("keydown",$APP.lk.g(b));var c=$APP.k(a,
19
- "__xLiquidDockRefs");$APP.n(c)&&(c=$APP.M(c),c=$APP.D(c,$APP.kj),$APP.n(c)&&c.removeEventListener("slotchange",$APP.kj.g(b)));a.__xLiquidDockHdl=null}},dr=function(a){Object.defineProperty(a,"position",{get:function(){return dq(this.getAttribute("position"))},set:function(b){return b==null?this.removeAttribute("position"):this.setAttribute("position",""+$APP.T.g(b))},enumerable:!0,configurable:!0});Object.defineProperty(a,"gap",{get:function(){var b=this.getAttribute("gap");return eq(b,8,0,40)},set:function(b){return b==
20
- null?this.removeAttribute("gap"):this.setAttribute("gap",""+$APP.T.g(b))},enumerable:!0,configurable:!0});Object.defineProperty(a,"blur",{get:function(){var b=this.getAttribute("blur");return eq(b,10,2,30)},set:function(b){return b==null?this.removeAttribute("blur"):this.setAttribute("blur",""+$APP.T.g(b))},enumerable:!0,configurable:!0});Object.defineProperty(a,"threshold",{get:function(){return fq(this.getAttribute("threshold"))},set:function(b){return b==null?this.removeAttribute("threshold"):
21
- this.setAttribute("threshold",""+$APP.T.g(b))},enumerable:!0,configurable:!0});Object.defineProperty(a,"rippleScale",{get:function(){var b=this.getAttribute("ripple-scale");return eq(b,8,0,40)},set:function(b){return b==null?this.removeAttribute("ripple-scale"):this.setAttribute("ripple-scale",""+$APP.T.g(b))},enumerable:!0,configurable:!0});Object.defineProperty(a,"rippleSpeed",{get:function(){var b=this.getAttribute("ripple-speed");return eq(b,.03,.005,.15)},set:function(b){return b==null?this.removeAttribute("ripple-speed"):
22
- this.setAttribute("ripple-speed",""+$APP.T.g(b))},enumerable:!0,configurable:!0});Object.defineProperty(a,"color",{get:function(){return gq(this.getAttribute("color"))},set:function(b){return b==null?this.removeAttribute("color"):this.setAttribute("color",""+$APP.T.g(b))},enumerable:!0,configurable:!0});Object.defineProperty(a,"magnetRadius",{get:function(){var b=this.getAttribute("magnet-radius");return eq(b,150,40,400)},set:function(b){return b==null?this.removeAttribute("magnet-radius"):this.setAttribute("magnet-radius",
23
- ""+$APP.T.g(b))},enumerable:!0,configurable:!0});Object.defineProperty(a,"magnetStrength",{get:function(){var b=this.getAttribute("magnet-strength");return eq(b,.6,0,2)},set:function(b){return b==null?this.removeAttribute("magnet-strength"):this.setAttribute("magnet-strength",""+$APP.T.g(b))},enumerable:!0,configurable:!0});Object.defineProperty(a,"bobIntensity",{get:function(){var b=this.getAttribute("bob-intensity");return eq(b,1,0,2)},set:function(b){return b==null?this.removeAttribute("bob-intensity"):
24
- this.setAttribute("bob-intensity",""+$APP.T.g(b))},enumerable:!0,configurable:!0});Object.defineProperty(a,"disabled",{get:function(){return this.hasAttribute("disabled")},set:function(b){return $APP.n(b)?this.setAttribute("disabled",""):this.removeAttribute("disabled")},enumerable:!0,configurable:!0})},fr=function(){var a=class extends HTMLElement{};a.observedAttributes=er;a.prototype.connectedCallback=function(){var b=this,c=Pq(b);b.__xLiquidDockModel=c;$APP.ja(b,"__xLiquidDockMouse",{x:0,y:0,active:!1});
25
- $APP.ja(b,"__xLiquidDockBlobs",[]);$APP.ja(b,"__xLiquidDockBlobSt",[]);$APP.ja(b,"__xLiquidDockItemsR",[]);b.__xLiquidDockFocus=-1;b.__xLiquidDockBurst=0;$APP.n($APP.k(b,"__xLiquidDockRefs"))||wq(b);Tq(b,c);$APP.n(b.hasAttribute("role"))||b.setAttribute("role","navigation");cr(b);br(b);c=$APP.k(b,"__xLiquidDockRO");$APP.n(c)&&c.disconnect();c=new ResizeObserver(function(){Sq(b);return null});b.__xLiquidDockRO=c;c.observe(b);requestAnimationFrame(function(){Rq(b);Sq(b);return Vq(b)});return null};
26
- a.prototype.disconnectedCallback=function(){Wq(this);cr(this);Xq(this);var b=$APP.k(this,"__xLiquidDockRO");$APP.n(b)&&(b.disconnect(),this.__xLiquidDockRO=null);return null};a.prototype.attributeChangedCallback=function(b,c,d){if($APP.N(c,d)&&(this.__xLiquidDockModel=b=Pq(this),$APP.n($APP.k(this,"__xLiquidDockRefs")))){d=$APP.M(b);var e=$APP.D(d,$APP.ki);c=$APP.D(d,$APP.Tl);d=$APP.D(d,tq);var g=$APP.k(this,"__xLiquidDockRefs"),h=$APP.nj.g(g);$APP.n(h)&&h.setAttribute("stdDeviation",""+$APP.T.g(e));
27
- e=$APP.Um.g(g);$APP.n(e)&&e.setAttribute("values",c);c=$APP.Mj.g(g);$APP.n(c)&&c.setAttribute("scale",""+$APP.T.g(d));Tq(this,b);Sq(this);$APP.n($APP.X.g(b))?(Wq(this),Xq(this)):$APP.n($APP.k(this,"__xLiquidDockRaf"))||Vq(this)}return null};dr(a.prototype);return a},gr=function(){$APP.n(customElements.get("x-liquid-dock"))||customElements.define("x-liquid-dock",fr());return null},Cq=new $APP.K(null,"ripple-speed","ripple-speed",229709223),tq=new $APP.K(null,"ripple-scale","ripple-scale",-1874116111),
28
- Bq=new $APP.K(null,"magnet-radius-raw","magnet-radius-raw",1386161852),hr=new $APP.K(null,"bobIntensity","bobIntensity",-531647277),vq=new $APP.K(null,"items-div","items-div",-555506089),ir=new $APP.K(null,"magnetStrength","magnetStrength",331224709),jr=new $APP.K(null,"rippleScale","rippleScale",-1633180735),Nq=new $APP.K(null,"magnet-radius","magnet-radius",1447549494),uq=new $APP.K(null,"liquid","liquid",1322031275),ar=new $APP.K(null,"leave","leave",1022579443),iq=new $APP.K(null,"influence",
29
- "influence",1453493017),Mq=new $APP.K(null,"vertical?","vertical?",-1522630444),Aq=new $APP.K(null,"bob-intensity-raw","bob-intensity-raw",-669810474),$q=new $APP.K(null,"move","move",-2110884309),nq=new $APP.K(null,"dy","dy",1719547243),mq=new $APP.K(null,"dx","dx",-381796732),xq=new $APP.K(null,"magnet-strength-raw","magnet-strength-raw",535053898),yq=new $APP.K(null,"ripple-speed-raw","ripple-speed-raw",-1426902422),kr=new $APP.K(null,"rippleSpeed","rippleSpeed",-1816718091),kq=new $APP.K(null,
30
- "ty","ty",158290825),jq=new $APP.K(null,"tx","tx",466630418),Lq=new $APP.K(null,"bob-intensity","bob-intensity",-981181657),pq=new $APP.K(null,"lift","lift",903632035),lr=new $APP.K(null,"magnetRadius","magnetRadius",1616130031),Oq=new $APP.K(null,"magnet-strength","magnet-strength",-1089389895),zq=new $APP.K(null,"ripple-scale-raw","ripple-scale-raw",1254964336);var er="position gap blur threshold ripple-scale ripple-speed color magnet-radius magnet-strength disabled bob-intensity".split(" ");$APP.Pd(["x-liquid-dock-select",new $APP.R(null,4,[$APP.V,new $APP.R(null,3,[$APP.ai,$APP.W,$APP.tk,new $APP.Sb(null,"Element","Element",1498489072,null),$APP.rl,$APP.Y],null),$APP.Fm,!0,$APP.Tm,!0,$APP.km,!0],null)]);
31
- $APP.zf([jr,$APP.Oj,ir,$APP.Pj,$APP.Tl,lr,hr,$APP.ki,kr,$APP.Yj,$APP.bn],[new $APP.R(null,1,[$APP.Z,$APP.W],null),new $APP.R(null,1,[$APP.Z,$APP.Y],null),new $APP.R(null,1,[$APP.Z,$APP.W],null),new $APP.R(null,1,[$APP.Z,$APP.Zj],null),new $APP.R(null,1,[$APP.Z,$APP.Y],null),new $APP.R(null,1,[$APP.Z,$APP.W],null),new $APP.R(null,1,[$APP.Z,$APP.W],null),new $APP.R(null,1,[$APP.Z,$APP.W],null),new $APP.R(null,1,[$APP.Z,$APP.W],null),new $APP.R(null,1,[$APP.Z,$APP.W],null),new $APP.R(null,1,[$APP.Z,
32
- $APP.Y],null)]);var cq=new $APP.S(null,new $APP.R(null,4,["right",null,"top",null,"bottom",null,"left",null],null),null);var rq=[0],sq=":host{display:block;position:fixed;z-index:var("+$APP.T.g("--x-liquid-dock-z-index")+",50);pointer-events:auto;"+$APP.T.g("--x-liquid-dock-color")+':var(--x-color-primary,#6366f1);}:host(:not([position])),:host([position\x3d"bottom"]){bottom:12px;left:50%;transform:translateX(-50%);}:host([position\x3d"top"]){top:12px;left:50%;transform:translateX(-50%);}:host([position\x3d"left"]){left:12px;top:50%;transform:translateY(-50%);}:host([position\x3d"right"]){right:12px;top:50%;transform:translateY(-50%);}[part\x3ddock]{display:flex;align-items:center;gap:var('+
33
- $APP.T.g("--x-liquid-dock-gap")+",8px);padding:var("+$APP.T.g("--x-liquid-dock-padding")+",8px);border-radius:var("+$APP.T.g("--x-liquid-dock-radius")+",20px);background:var("+$APP.T.g("--x-liquid-dock-bg")+",rgba(255,255,255,0.88));border:1px solid var("+$APP.T.g("--x-liquid-dock-border")+",rgba(148,163,184,0.22));box-shadow:var("+$APP.T.g("--x-liquid-dock-shadow")+',0 8px 24px rgba(15,23,42,0.12));backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);position:relative;outline:none;}:host([position\x3d"left"]) [part\x3ddock],:host([position\x3d"right"]) [part\x3ddock]{flex-direction:column;}[part\x3dfilter-svg]{position:absolute;width:0;height:0;overflow:hidden;pointer-events:none;}[part\x3dliquid-layer]{position:absolute;inset:0;border-radius:inherit;overflow:hidden;pointer-events:none;}.blob{position:absolute;border-radius:50%;will-change:transform;pointer-events:none;background:var('+
34
- $APP.T.g("--x-liquid-dock-color")+',#6366f1);top:0;left:0;}.blob-rest{opacity:0.65;}.blob-phantom{opacity:0.5;}[part\x3ditems]{display:flex;align-items:center;gap:inherit;position:relative;z-index:1;}:host([position\x3d"left"]) [part\x3ditems],:host([position\x3d"right"]) [part\x3ditems]{flex-direction:column;}::slotted(*){width:var('+$APP.T.g("--x-liquid-dock-item-size")+",48px);height:var("+$APP.T.g("--x-liquid-dock-item-size")+",48px);display:flex;align-items:center;justify-content:center;cursor:pointer;will-change:transform;position:relative;z-index:1;border:none;background:transparent;color:inherit;font-size:1.4em;transition:none;border-radius:50%;}::slotted(:hover){background:color-mix(in srgb,var("+
35
- $APP.T.g("--x-liquid-dock-color")+",#6366f1) 12%,transparent);}::slotted(:focus-visible){outline:2px solid var("+$APP.T.g("--x-liquid-dock-color")+",#6366f1);outline-offset:2px;}@media(prefers-color-scheme:dark){:host{--x-liquid-dock-bg:rgba(15,23,42,0.84);--x-liquid-dock-border:rgba(51,65,85,0.9);--x-liquid-dock-shadow:var(--x-shadow-lg,0 14px 36px rgba(0,0,0,0.35));--x-liquid-dock-color:var(--x-color-primary,#818cf8);}}@media(prefers-reduced-motion:reduce){.blob{transition:none!important;}::slotted(*){transition:none!important;}}",
36
- Uq=function Uq(a){if($APP.n(a.isConnected)){var c=$APP.k(a,"__xLiquidDockModel"),d=$APP.k(a,"__xLiquidDockMouse"),e=$APP.k(a,"__xLiquidDockBlobs"),g=$APP.k(a,"__xLiquidDockBlobSt"),h=$APP.k(a,"__xLiquidDockItemsR"),l=function(){var gb=Qq(a);return $APP.n(gb)?gb:[]}(),m=$APP.sh.i(h.length,l.length),p=$APP.k(d,"x"),q=$APP.k(d,"y"),v=$APP.k(d,"active"),x=Nq.g(c),y=Oq.g(c),A=Lq.g(c),C=$APP.bn.g(c),E=1+y*.8,H=function(){var gb=$APP.k(a,"__xLiquidDockSeed");return $APP.n(gb)?gb:0}(),G=Date.now();d=function(){var gb=
37
- $APP.k(a,"__xLiquidDockBurst");return $APP.n(gb)?gb:0}();var J=G-d<300;if(J){G=(1-(G-d)/300)*20;var Q=tq.g(c),aa=$APP.Mj.g($APP.k(a,"__xLiquidDockRefs"));$APP.n(aa)&&aa.setAttribute("scale",""+$APP.T.g(Q+G))}for(G=0;;)if(G<m){Q=h[G];var la=$APP.k(Q,"cx"),Ca=$APP.k(Q,"cy");aa=G*2;var Pa=aa+1;if(Pa<e.length){Q=iq.g($APP.n(v)?lq(la,Ca,p,q,x,y,E):new $APP.R(null,4,[iq,0,$APP.aj,1,jq,0,kq,0],null));aa=e[aa];var db="translate("+$APP.T.g(la-26)+"px,"+$APP.T.g(Ca-26)+"px)";aa.style.transform=db;var eb=oq(Q,
38
- C);aa=g[Pa];db=mq.g(eb);var pb=nq.g(eb);eb=$APP.aj.g(eb);db=hq($APP.k(aa,"cpDx"),db);pb=hq($APP.k(aa,"cpDy"),pb);eb=hq($APP.k(aa,"cpScale"),eb);aa.cpDx=db;aa.cpDy=pb;aa.cpScale=eb;Pa=e[Pa];Ca="translate("+$APP.T.g(la-22+db)+"px,"+$APP.T.g(Ca-22+pb)+"px) scale("+$APP.T.g(eb)+")";Pa.style.transform=Ca;Pa=qq(Q,$APP.n(v)?function(){var gb=p-la;return gb>1?1:gb<-1?-1:0}():0,C,A);db=hq($APP.k(aa,"cLift"),pq.g(Pa));Ca=hq($APP.k(aa,"cRot"),$APP.am.g(Pa));Pa=hq($APP.k(aa,"cScale"),$APP.aj.g(Pa));aa.cLift=
39
- db;aa.cRot=Ca;aa.cScale=Pa;pb=H+G*2.39996;eb=1-Q*.7;Q=Math.sin(pb)*1.8*eb*A;aa=Math.cos(pb*.7)*.8*eb*A;var Nb=Math.sin(pb*1.3)*1.2*eb*A;pb=l[G];eb=Mq.g(c);db+=$APP.n(eb)?aa:Q;Ca+=Nb;Q=$APP.n(eb)?"translate("+$APP.T.g(db)+"px,"+$APP.T.g(Q)+"px) rotate("+$APP.T.g(Ca)+"deg) scale("+$APP.T.g(Pa)+")":"translate("+$APP.T.g(aa)+"px,"+$APP.T.g(db)+"px) rotate("+$APP.T.g(Ca)+"deg) scale("+$APP.T.g(Pa)+")";pb.style.transform=Q}G+=1}else break;g=$APP.k(a,"__xLiquidDockSeed")+Cq.g(c);h=$APP.k(a,"__xLiquidDockRefs");
40
- e=.012+.006*Math.sin(g);a.__xLiquidDockSeed=g;g=$APP.Ol.g(h);$APP.n(g)&&g.setAttribute("baseFrequency",""+$APP.T.g(e));!J&&d>0&&(d=$APP.Mj.g($APP.k(a,"__xLiquidDockRefs")),$APP.n(d)&&d.setAttribute("scale",""+$APP.T.g(tq.g(c))),a.__xLiquidDockBurst=0);$APP.ja(a,"__xLiquidDockRaf",requestAnimationFrame(function(){return Uq.g?Uq.g(a):Uq.call(null,a)}))}return null};$APP.ha("baredom.exports.x_liquid_dock.init",gr);export const init=gr;
2
+ var Lq=function(a){return typeof a==="string"?(a=a.trim().toLowerCase(),$APP.I(Kq,a)?a:"bottom"):"bottom"},Mq=function(a,b,c,d){return typeof a==="string"?(a=parseFloat(a.trim()),$APP.n(isNaN(a))?b:Math.min(d,Math.max(c,a))):b},Nq=function(a){return typeof a==="string"&&a.trim().length>0?a.trim():"1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 18 -7"},Oq=function(a){return typeof a==="string"&&a.trim().length>0?a.trim():null},Pq=function(a,b){return a+(b-a)*.1},Tq=function(a,b,c,d,e,g,h){a=c-a;b=d-b;d=Math.sqrt(a*
3
+ a+b*b);e=Math.max(0,1-d/e);c=e*e;g=c*g*20;d=d>.001?1/d:0;return new $APP.Q(null,4,[Qq,e,$APP.sj,1+c*(h-1),Rq,a*d*g*.3,Sq,b*d*g*.3],null)},Wq=function(a,b){var c=a*a;a=c*28;c=.6+c*.9;switch(b){case "bottom":return new $APP.Q(null,3,[Uq,0,Vq,-a,$APP.sj,c],null);case "top":return new $APP.Q(null,3,[Uq,0,Vq,a,$APP.sj,c],null);case "left":return new $APP.Q(null,3,[Uq,a,Vq,0,$APP.sj,c],null);case "right":return new $APP.Q(null,3,[Uq,-a,Vq,0,$APP.sj,c],null);default:return new $APP.Q(null,3,[Uq,0,Vq,-a,
4
+ $APP.sj,c],null)}},Yq=function(a,b,c,d){a*=a;var e=12*d*a;return new $APP.Q(null,3,[Xq,function(){switch(c){case "bottom":return-e;case "top":return e;case "left":return e;case "right":return-e;default:return-e}}(),$APP.tm,5*d*a*b,$APP.sj,1+.12*d*a],null)},dr=function(a){var b=$APP.k(a,"__xLiquidDockModel"),c=Zq[0];Zq[0]=c+1;var d="goo-"+$APP.S.g(c),e=a.attachShadow({mode:"open"}),g=document.createElement("style"),h=document.createElement("nav"),l=document.createElementNS("http://www.w3.org/2000/svg",
5
+ "svg"),m=document.createElement("div"),p=document.createElement("div"),r=document.createElement("slot");a.__xLiquidDockUid=c;g.textContent=$q;h.setAttribute("part","dock");h.setAttribute("role","navigation");h.setAttribute("aria-label","Navigation dock");l.setAttribute("part","filter-svg");l.setAttribute("aria-hidden","true");l.setAttribute("role","presentation");m.setAttribute("part","liquid-layer");m.style.filter="url(#"+$APP.S.g(d)+")";p.setAttribute("part","items");p.appendChild(r);var v=$APP.M(b);
6
+ b=$APP.D(v,$APP.Ci);c=$APP.D(v,$APP.lm);v=$APP.D(v,ar);var x=document.createElementNS("http://www.w3.org/2000/svg","defs"),y=document.createElementNS("http://www.w3.org/2000/svg","filter"),A=document.createElementNS("http://www.w3.org/2000/svg","feGaussianBlur"),C=document.createElementNS("http://www.w3.org/2000/svg","feColorMatrix"),E=document.createElementNS("http://www.w3.org/2000/svg","feTurbulence"),H=document.createElementNS("http://www.w3.org/2000/svg","feDisplacementMap");y.setAttribute("id",
7
+ d);y.setAttribute("x","-20%");y.setAttribute("y","-20%");y.setAttribute("width","140%");y.setAttribute("height","140%");A.setAttribute("in","SourceGraphic");A.setAttribute("stdDeviation",""+$APP.S.g(b));A.setAttribute("result","blur");C.setAttribute("in","blur");C.setAttribute("type","matrix");C.setAttribute("values",c);C.setAttribute("result","goo");E.setAttribute("type","fractalNoise");E.setAttribute("baseFrequency","0.015");E.setAttribute("numOctaves","2");E.setAttribute("seed","0");E.setAttribute("result",
8
+ "noise");H.setAttribute("in","goo");H.setAttribute("in2","noise");H.setAttribute("scale",""+$APP.S.g(v));H.setAttribute("xChannelSelector","R");H.setAttribute("yChannelSelector","G");y.appendChild(A);y.appendChild(C);y.appendChild(E);y.appendChild(H);x.appendChild(y);l.appendChild(x);d=new $APP.Q(null,5,[$APP.Cl,y,$APP.Fj,A,$APP.nn,C,$APP.gm,E,$APP.ek,H],null);h.appendChild(l);h.appendChild(m);h.appendChild(p);e.appendChild(g);e.appendChild(h);e=$APP.Rf($APP.uc([d,new $APP.Q(null,6,[$APP.Zi,e,$APP.Ti,
9
+ h,$APP.Ek,l,br,m,cr,p,$APP.Cj,r],null)]));a.__xLiquidDockRefs=e},or=function(a){a=$APP.zf([$APP.sk,$APP.Pm,er,fr,$APP.ri,$APP.zn,gr,$APP.nj,hr,$APP.wj,ir],[a.getAttribute("position"),a.getAttribute("blur"),a.getAttribute("magnet-strength"),a.getAttribute("ripple-speed"),a.getAttribute("threshold"),a.getAttribute("color"),a.getAttribute("ripple-scale"),a.getAttribute("gap"),a.getAttribute("bob-intensity"),a.getAttribute("disabled"),a.getAttribute("magnet-radius")]);var b=$APP.M(a);a=$APP.D(b,$APP.wj);
10
+ var c=$APP.D(b,ir),d=$APP.D(b,$APP.sk),e=$APP.D(b,$APP.Pm),g=$APP.D(b,er),h=$APP.D(b,fr),l=$APP.D(b,$APP.ri),m=$APP.D(b,$APP.zn),p=$APP.D(b,gr),r=$APP.D(b,$APP.nj);b=$APP.D(b,hr);d=Lq(d);return $APP.zf([$APP.jk,jr,kr,$APP.lm,ar,$APP.Ci,lr,$APP.tk,mr,$APP.vn,nr,$APP.X],[Oq(m),Mq(h,.03,.005,.15),Mq(b,1,0,2),Nq(l),Mq(p,8,0,40),Mq(e,10,2,30),$APP.B.i(d,"left")||$APP.B.i(d,"right"),Mq(r,8,0,40),Mq(c,150,40,400),d,Mq(g,.6,0,2),a!=null])},pr=function(a){a=$APP.Cj.g($APP.k(a,"__xLiquidDockRefs"));return $APP.n(a)?
11
+ a.assignedElements():null},qr=function(a){var b=$APP.M($APP.k(a,"__xLiquidDockRefs")),c=$APP.D(b,br);b=function(){var r=pr(a);return $APP.n(r)?r:[]}().length*2;for(var d=function(){var r=$APP.k(a,"__xLiquidDockBlobs");return $APP.n(r)?r:[]}(),e=function(){var r=$APP.k(a,"__xLiquidDockBlobSt");return $APP.n(r)?r:[]}(),g=d.length,h=g;;)if(h<b){var l=document.createElement("div"),m=$APP.Ud(h);l.className=m?"blob blob-rest":"blob blob-phantom";var p=m?52:44;l.style.width=""+$APP.S.g(p)+"px";l.style.height=
12
+ ""+$APP.S.g(p)+"px";c.appendChild(l);d.push(l);e.push(m?{type:"rest"}:{type:"phantom",cpDx:0,cpDy:0,cpScale:.6,cLift:0,cRot:0,cScale:1});h+=1}else break;for(c=g;;)if(c>b)g=d.pop(),e.pop(),$APP.n(g.parentNode)&&g.parentNode.removeChild(g),--c;else break;a.__xLiquidDockBlobs=d;a.__xLiquidDockBlobSt=e},rr=function(a){var b=$APP.M($APP.k(a,"__xLiquidDockRefs")),c=$APP.D(b,$APP.Ti);b=pr(a);b=$APP.n(b)?b:[];var d=b.length,e=[];if($APP.n($APP.n(c)?d>0:c)){c=c.getBoundingClientRect();for(var g=0;;)if(g<d){var h=
13
+ b[g].getBoundingClientRect();e.push({cx:h.left+h.width/2-c.left,cy:h.top+h.height/2-c.top});g+=1}else break}a.__xLiquidDockItemsR=e;return null},sr=function(a,b){var c=$APP.M(b);b=$APP.D(c,$APP.jk);c=$APP.D(c,$APP.tk);$APP.n(b)?a.style.setProperty("--x-liquid-dock-color",b):a.style.removeProperty("--x-liquid-dock-color");a.style.setProperty("--x-liquid-dock-gap",""+$APP.S.g(c)+"px")},ur=function(a){$APP.F(window.matchMedia("(prefers-reduced-motion:reduce)").matches)||$APP.n($APP.X.g($APP.k(a,"__xLiquidDockModel")))||
14
+ (a.__xLiquidDockSeed=0,$APP.ja(a,"__xLiquidDockRaf",requestAnimationFrame(function(){return tr(a)})));return null},vr=function(a){var b=$APP.k(a,"__xLiquidDockRaf");$APP.n(b)&&(cancelAnimationFrame(b),a.__xLiquidDockRaf=null)},wr=function(a){a=pr(a);if($APP.n(a))for(var b=a.length,c=0;;)if(c<b)a[c].style.transform="",c+=1;else break},xr=function(a,b,c,d){var e=Date.now();a.__xLiquidDockBurst=e;b=new CustomEvent("x-liquid-dock-select",{bubbles:!0,composed:!0,cancelable:!0,detail:$APP.Zh(new $APP.Q(null,
15
+ 3,["index",b,"item",c,"source",d],null))});a.dispatchEvent(b)},yr=function(a){qr(a);var b=pr(a);if($APP.n(b))for(var c=b.length,d=0;;)if(d<c){var e=b[d];e.getAttribute("tabindex")==null&&e.setAttribute("tabindex","0");d+=1}else break;requestAnimationFrame(function(){return rr(a)});return null},Br=function(a){function b(){return yr(a)}function c(l){var m=$APP.k(a,"__xLiquidDockModel");if(!$APP.n($APP.X.g(m))){var p=pr(a),r=$APP.n(p)?p.length:null,v=l.key,x=lr.g(m);m=$APP.n(x)?"ArrowUp":"ArrowLeft";
16
+ x=$APP.n(x)?"ArrowDown":"ArrowRight";var y=$APP.k(a,"__xLiquidDockFocus");y=$APP.n(y)?y:-1;$APP.n($APP.n(r)?r>0:r)&&($APP.B.i(v,m)?(l.preventDefault(),l=y<1?r-1:y-1,a.__xLiquidDockFocus=l,p[l].focus()):$APP.B.i(v,x)?(l.preventDefault(),l=y>=r-1?0:y+1,a.__xLiquidDockFocus=l,p[l].focus()):($APP.B.i(v,"Enter")||$APP.B.i(v," "))&&y>=0&&(l.preventDefault(),xr(a,y,p[y],"keyboard")))}return null}function d(l){if(!$APP.n($APP.X.g($APP.k(a,"__xLiquidDockModel")))){var m=pr(a);if($APP.n(m)){a:{l=l.target;for(var p=
17
+ m.length,r=0;;)if(r<p){if($APP.B.i(l,m[r])){l=r;break a}r+=1}else{l=null;break a}l=void 0}$APP.n(l)&&xr(a,l,m[l],"pointer")}}return null}function e(){$APP.k(a,"__xLiquidDockMouse").active=!1;return null}function g(l){var m=$APP.M($APP.k(a,"__xLiquidDockRefs"));m=$APP.D(m,$APP.Ti);if($APP.n(m)){m=m.getBoundingClientRect();var p=$APP.k(a,"__xLiquidDockMouse");p.x=l.clientX-m.left;p.y=l.clientY-m.top;p.active=!0}return null}var h=$APP.M($APP.k(a,"__xLiquidDockRefs"));h=$APP.D(h,$APP.Cj);a.addEventListener("pointermove",
18
+ g);a.addEventListener("pointerleave",e);a.addEventListener("click",d);a.addEventListener("keydown",c);$APP.n(h)&&h.addEventListener("slotchange",b);$APP.ja(a,"__xLiquidDockHdl",new $APP.Q(null,5,[zr,g,Ar,e,$APP.al,d,$APP.Dk,c,$APP.Cj,b],null))},Cr=function(a){var b=$APP.k(a,"__xLiquidDockHdl");if($APP.n(b)){a.removeEventListener("pointermove",zr.g(b));a.removeEventListener("pointerleave",Ar.g(b));a.removeEventListener("click",$APP.al.g(b));a.removeEventListener("keydown",$APP.Dk.g(b));var c=$APP.k(a,
19
+ "__xLiquidDockRefs");$APP.n(c)&&(c=$APP.M(c),c=$APP.D(c,$APP.Cj),$APP.n(c)&&c.removeEventListener("slotchange",$APP.Cj.g(b)));a.__xLiquidDockHdl=null}},Dr=function(a){Object.defineProperty(a,"position",{get:function(){return Lq(this.getAttribute("position"))},set:function(b){return b==null?this.removeAttribute("position"):this.setAttribute("position",""+$APP.S.g(b))},enumerable:!0,configurable:!0});Object.defineProperty(a,"gap",{get:function(){var b=this.getAttribute("gap");return Mq(b,8,0,40)},set:function(b){return b==
20
+ null?this.removeAttribute("gap"):this.setAttribute("gap",""+$APP.S.g(b))},enumerable:!0,configurable:!0});Object.defineProperty(a,"blur",{get:function(){var b=this.getAttribute("blur");return Mq(b,10,2,30)},set:function(b){return b==null?this.removeAttribute("blur"):this.setAttribute("blur",""+$APP.S.g(b))},enumerable:!0,configurable:!0});Object.defineProperty(a,"threshold",{get:function(){return Nq(this.getAttribute("threshold"))},set:function(b){return b==null?this.removeAttribute("threshold"):
21
+ this.setAttribute("threshold",""+$APP.S.g(b))},enumerable:!0,configurable:!0});Object.defineProperty(a,"rippleScale",{get:function(){var b=this.getAttribute("ripple-scale");return Mq(b,8,0,40)},set:function(b){return b==null?this.removeAttribute("ripple-scale"):this.setAttribute("ripple-scale",""+$APP.S.g(b))},enumerable:!0,configurable:!0});Object.defineProperty(a,"rippleSpeed",{get:function(){var b=this.getAttribute("ripple-speed");return Mq(b,.03,.005,.15)},set:function(b){return b==null?this.removeAttribute("ripple-speed"):
22
+ this.setAttribute("ripple-speed",""+$APP.S.g(b))},enumerable:!0,configurable:!0});Object.defineProperty(a,"color",{get:function(){return Oq(this.getAttribute("color"))},set:function(b){return b==null?this.removeAttribute("color"):this.setAttribute("color",""+$APP.S.g(b))},enumerable:!0,configurable:!0});Object.defineProperty(a,"magnetRadius",{get:function(){var b=this.getAttribute("magnet-radius");return Mq(b,150,40,400)},set:function(b){return b==null?this.removeAttribute("magnet-radius"):this.setAttribute("magnet-radius",
23
+ ""+$APP.S.g(b))},enumerable:!0,configurable:!0});Object.defineProperty(a,"magnetStrength",{get:function(){var b=this.getAttribute("magnet-strength");return Mq(b,.6,0,2)},set:function(b){return b==null?this.removeAttribute("magnet-strength"):this.setAttribute("magnet-strength",""+$APP.S.g(b))},enumerable:!0,configurable:!0});Object.defineProperty(a,"bobIntensity",{get:function(){var b=this.getAttribute("bob-intensity");return Mq(b,1,0,2)},set:function(b){return b==null?this.removeAttribute("bob-intensity"):
24
+ this.setAttribute("bob-intensity",""+$APP.S.g(b))},enumerable:!0,configurable:!0});return Object.defineProperty(a,"disabled",{get:function(){return this.hasAttribute("disabled")},set:function(b){return $APP.n(b)?this.setAttribute("disabled",""):this.removeAttribute("disabled")},enumerable:!0,configurable:!0})},Er=function(a){var b=or(a);a.__xLiquidDockModel=b;$APP.ja(a,"__xLiquidDockMouse",{x:0,y:0,active:!1});$APP.ja(a,"__xLiquidDockBlobs",[]);$APP.ja(a,"__xLiquidDockBlobSt",[]);$APP.ja(a,"__xLiquidDockItemsR",
25
+ []);a.__xLiquidDockFocus=-1;a.__xLiquidDockBurst=0;$APP.n($APP.k(a,"__xLiquidDockRefs"))||dr(a);sr(a,b);$APP.n(a.hasAttribute("role"))||a.setAttribute("role","navigation");Cr(a);Br(a);b=$APP.k(a,"__xLiquidDockRO");$APP.n(b)&&b.disconnect();b=new ResizeObserver(function(){rr(a);return null});a.__xLiquidDockRO=b;b.observe(a);requestAnimationFrame(function(){qr(a);rr(a);return ur(a)});return null},Fr=function(a){vr(a);Cr(a);wr(a);var b=$APP.k(a,"__xLiquidDockRO");$APP.n(b)&&(b.disconnect(),a.__xLiquidDockRO=
26
+ null);return null},Gr=function(a,b,c,d){if($APP.N(c,d)&&(b=or(a),a.__xLiquidDockModel=b,$APP.n($APP.k(a,"__xLiquidDockRefs")))){d=$APP.M(b);var e=$APP.D(d,$APP.Ci);c=$APP.D(d,$APP.lm);d=$APP.D(d,ar);var g=$APP.k(a,"__xLiquidDockRefs"),h=$APP.Fj.g(g);$APP.n(h)&&h.setAttribute("stdDeviation",""+$APP.S.g(e));e=$APP.nn.g(g);$APP.n(e)&&e.setAttribute("values",c);c=$APP.ek.g(g);$APP.n(c)&&c.setAttribute("scale",""+$APP.S.g(d));sr(a,b);rr(a);$APP.n($APP.X.g(b))?(vr(a),wr(a)):$APP.n($APP.k(a,"__xLiquidDockRaf"))||
27
+ ur(a)}return null},Ir=function(){return $APP.Lg("x-liquid-dock",new $APP.Q(null,5,[$APP.Cg,Hr,$APP.Dg,Er,$APP.Eg,Fr,$APP.Fg,Gr,$APP.Jg,Dr],null))},jr=new $APP.K(null,"ripple-speed","ripple-speed",229709223),ar=new $APP.K(null,"ripple-scale","ripple-scale",-1874116111),ir=new $APP.K(null,"magnet-radius-raw","magnet-radius-raw",1386161852),Jr=new $APP.K(null,"bobIntensity","bobIntensity",-531647277),cr=new $APP.K(null,"items-div","items-div",-555506089),Kr=new $APP.K(null,"magnetStrength","magnetStrength",
28
+ 331224709),Lr=new $APP.K(null,"rippleScale","rippleScale",-1633180735),mr=new $APP.K(null,"magnet-radius","magnet-radius",1447549494),br=new $APP.K(null,"liquid","liquid",1322031275),Ar=new $APP.K(null,"leave","leave",1022579443),Qq=new $APP.K(null,"influence","influence",1453493017),lr=new $APP.K(null,"vertical?","vertical?",-1522630444),hr=new $APP.K(null,"bob-intensity-raw","bob-intensity-raw",-669810474),zr=new $APP.K(null,"move","move",-2110884309),Vq=new $APP.K(null,"dy","dy",1719547243),Uq=
29
+ new $APP.K(null,"dx","dx",-381796732),er=new $APP.K(null,"magnet-strength-raw","magnet-strength-raw",535053898),fr=new $APP.K(null,"ripple-speed-raw","ripple-speed-raw",-1426902422),Mr=new $APP.K(null,"rippleSpeed","rippleSpeed",-1816718091),Sq=new $APP.K(null,"ty","ty",158290825),Rq=new $APP.K(null,"tx","tx",466630418),kr=new $APP.K(null,"bob-intensity","bob-intensity",-981181657),Xq=new $APP.K(null,"lift","lift",903632035),Nr=new $APP.K(null,"magnetRadius","magnetRadius",1616130031),nr=new $APP.K(null,
30
+ "magnet-strength","magnet-strength",-1089389895),gr=new $APP.K(null,"ripple-scale-raw","ripple-scale-raw",1254964336);var Hr="position gap blur threshold ripple-scale ripple-speed color magnet-radius magnet-strength disabled bob-intensity".split(" ");$APP.Pd(["x-liquid-dock-select",new $APP.Q(null,4,[$APP.V,new $APP.Q(null,3,[$APP.wi,$APP.W,$APP.Lk,new $APP.Qb(null,"Element","Element",1498489072,null),$APP.Kl,$APP.Y],null),$APP.Ym,!0,$APP.mn,!0,$APP.Km,!0],null)]);
31
+ $APP.zf([Lr,$APP.jk,Kr,$APP.kk,$APP.lm,Nr,Jr,$APP.Ci,Mr,$APP.tk,$APP.vn],[new $APP.Q(null,1,[$APP.Z,$APP.W],null),new $APP.Q(null,1,[$APP.Z,$APP.Y],null),new $APP.Q(null,1,[$APP.Z,$APP.W],null),new $APP.Q(null,1,[$APP.Z,$APP.uk],null),new $APP.Q(null,1,[$APP.Z,$APP.Y],null),new $APP.Q(null,1,[$APP.Z,$APP.W],null),new $APP.Q(null,1,[$APP.Z,$APP.W],null),new $APP.Q(null,1,[$APP.Z,$APP.W],null),new $APP.Q(null,1,[$APP.Z,$APP.W],null),new $APP.Q(null,1,[$APP.Z,$APP.W],null),new $APP.Q(null,1,[$APP.Z,
32
+ $APP.Y],null)]);var Kq=new $APP.R(null,new $APP.Q(null,4,["right",null,"top",null,"bottom",null,"left",null],null),null);var Zq=[0],$q=":host{display:block;position:fixed;z-index:var("+$APP.S.g("--x-liquid-dock-z-index")+",50);pointer-events:auto;"+$APP.S.g("--x-liquid-dock-color")+':var(--x-color-primary,#6366f1);}:host(:not([position])),:host([position\x3d"bottom"]){bottom:12px;left:50%;transform:translateX(-50%);}:host([position\x3d"top"]){top:12px;left:50%;transform:translateX(-50%);}:host([position\x3d"left"]){left:12px;top:50%;transform:translateY(-50%);}:host([position\x3d"right"]){right:12px;top:50%;transform:translateY(-50%);}[part\x3ddock]{display:flex;align-items:center;gap:var('+
33
+ $APP.S.g("--x-liquid-dock-gap")+",8px);padding:var("+$APP.S.g("--x-liquid-dock-padding")+",8px);border-radius:var("+$APP.S.g("--x-liquid-dock-radius")+",20px);background:var("+$APP.S.g("--x-liquid-dock-bg")+",rgba(255,255,255,0.88));border:1px solid var("+$APP.S.g("--x-liquid-dock-border")+",rgba(148,163,184,0.22));box-shadow:var("+$APP.S.g("--x-liquid-dock-shadow")+',0 8px 24px rgba(15,23,42,0.12));backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);position:relative;outline:none;}:host([position\x3d"left"]) [part\x3ddock],:host([position\x3d"right"]) [part\x3ddock]{flex-direction:column;}[part\x3dfilter-svg]{position:absolute;width:0;height:0;overflow:hidden;pointer-events:none;}[part\x3dliquid-layer]{position:absolute;inset:0;border-radius:inherit;overflow:hidden;pointer-events:none;}.blob{position:absolute;border-radius:50%;will-change:transform;pointer-events:none;background:var('+
34
+ $APP.S.g("--x-liquid-dock-color")+',#6366f1);top:0;left:0;}.blob-rest{opacity:0.65;}.blob-phantom{opacity:0.5;}[part\x3ditems]{display:flex;align-items:center;gap:inherit;position:relative;z-index:1;}:host([position\x3d"left"]) [part\x3ditems],:host([position\x3d"right"]) [part\x3ditems]{flex-direction:column;}::slotted(*){width:var('+$APP.S.g("--x-liquid-dock-item-size")+",48px);height:var("+$APP.S.g("--x-liquid-dock-item-size")+",48px);display:flex;align-items:center;justify-content:center;cursor:pointer;will-change:transform;position:relative;z-index:1;border:none;background:transparent;color:inherit;font-size:1.4em;transition:none;border-radius:50%;}::slotted(:hover){background:color-mix(in srgb,var("+
35
+ $APP.S.g("--x-liquid-dock-color")+",#6366f1) 12%,transparent);}::slotted(:focus-visible){outline:2px solid var("+$APP.S.g("--x-liquid-dock-color")+",#6366f1);outline-offset:2px;}@media(prefers-color-scheme:dark){:host{--x-liquid-dock-bg:rgba(15,23,42,0.84);--x-liquid-dock-border:rgba(51,65,85,0.9);--x-liquid-dock-shadow:var(--x-shadow-lg,0 14px 36px rgba(0,0,0,0.35));--x-liquid-dock-color:var(--x-color-primary,#818cf8);}}@media(prefers-reduced-motion:reduce){.blob{transition:none!important;}::slotted(*){transition:none!important;}}",
36
+ tr=function tr(a){if($APP.n(a.isConnected)){var c=$APP.k(a,"__xLiquidDockModel"),d=$APP.k(a,"__xLiquidDockMouse"),e=$APP.k(a,"__xLiquidDockBlobs"),g=$APP.k(a,"__xLiquidDockBlobSt"),h=$APP.k(a,"__xLiquidDockItemsR"),l=function(){var rb=pr(a);return $APP.n(rb)?rb:[]}(),m=$APP.Kh.i(h.length,l.length),p=$APP.k(d,"x"),r=$APP.k(d,"y"),v=$APP.k(d,"active"),x=mr.g(c),y=nr.g(c),A=kr.g(c),C=$APP.vn.g(c),E=1+y*.8,H=function(){var rb=$APP.k(a,"__xLiquidDockSeed");return $APP.n(rb)?rb:0}(),G=Date.now();d=function(){var rb=
37
+ $APP.k(a,"__xLiquidDockBurst");return $APP.n(rb)?rb:0}();var J=G-d<300;if(J){G=(1-(G-d)/300)*20;var U=ar.g(c),aa=$APP.ek.g($APP.k(a,"__xLiquidDockRefs"));$APP.n(aa)&&aa.setAttribute("scale",""+$APP.S.g(U+G))}for(G=0;;)if(G<m){U=h[G];var ta=$APP.k(U,"cx"),Ma=$APP.k(U,"cy");aa=G*2;var Za=aa+1;if(Za<e.length){U=Qq.g($APP.n(v)?Tq(ta,Ma,p,r,x,y,E):new $APP.Q(null,4,[Qq,0,$APP.sj,1,Rq,0,Sq,0],null));aa=e[aa];var ob="translate("+$APP.S.g(ta-26)+"px,"+$APP.S.g(Ma-26)+"px)";aa.style.transform=ob;var pb=Wq(U,
38
+ C);aa=g[Za];ob=Uq.g(pb);var Bb=Vq.g(pb);pb=$APP.sj.g(pb);ob=Pq($APP.k(aa,"cpDx"),ob);Bb=Pq($APP.k(aa,"cpDy"),Bb);pb=Pq($APP.k(aa,"cpScale"),pb);aa.cpDx=ob;aa.cpDy=Bb;aa.cpScale=pb;Za=e[Za];Ma="translate("+$APP.S.g(ta-22+ob)+"px,"+$APP.S.g(Ma-22+Bb)+"px) scale("+$APP.S.g(pb)+")";Za.style.transform=Ma;Za=Yq(U,$APP.n(v)?function(){var rb=p-ta;return rb>1?1:rb<-1?-1:0}():0,C,A);ob=Pq($APP.k(aa,"cLift"),Xq.g(Za));Ma=Pq($APP.k(aa,"cRot"),$APP.tm.g(Za));Za=Pq($APP.k(aa,"cScale"),$APP.sj.g(Za));aa.cLift=
39
+ ob;aa.cRot=Ma;aa.cScale=Za;Bb=H+G*2.39996;pb=1-U*.7;U=Math.sin(Bb)*1.8*pb*A;aa=Math.cos(Bb*.7)*.8*pb*A;var bc=Math.sin(Bb*1.3)*1.2*pb*A;Bb=l[G];pb=lr.g(c);ob+=$APP.n(pb)?aa:U;Ma+=bc;U=$APP.n(pb)?"translate("+$APP.S.g(ob)+"px,"+$APP.S.g(U)+"px) rotate("+$APP.S.g(Ma)+"deg) scale("+$APP.S.g(Za)+")":"translate("+$APP.S.g(aa)+"px,"+$APP.S.g(ob)+"px) rotate("+$APP.S.g(Ma)+"deg) scale("+$APP.S.g(Za)+")";Bb.style.transform=U}G+=1}else break;g=$APP.k(a,"__xLiquidDockSeed")+jr.g(c);h=$APP.k(a,"__xLiquidDockRefs");
40
+ e=.012+.006*Math.sin(g);a.__xLiquidDockSeed=g;g=$APP.gm.g(h);$APP.n(g)&&g.setAttribute("baseFrequency",""+$APP.S.g(e));!J&&d>0&&(d=$APP.ek.g($APP.k(a,"__xLiquidDockRefs")),$APP.n(d)&&d.setAttribute("scale",""+$APP.S.g(ar.g(c))),a.__xLiquidDockBurst=0);$APP.ja(a,"__xLiquidDockRaf",requestAnimationFrame(function(){return tr.g?tr.g(a):tr.call(null,a)}))}return null};$APP.ha("baredom.exports.x_liquid_dock.init",Ir);export const init=Ir;
@@ -1,46 +1,46 @@
1
1
  import { $APP, shadow$provide } from "./base.js";
2
- var f8=function(a){function b(d,e){d.push(e);return d}var c=[];return $APP.Xc?$APP.Xc(b,c,a):$APP.Yc.call(null,b,c,a)},h8=function(a){a=typeof a==="string"?a.trim().toLowerCase():null;return $APP.I(g8,a)?a:"vertical"},j8=function(a){a=typeof a==="string"?a.trim().toLowerCase():null;return $APP.I(i8,a)?a:"fill"},l8=function(a){a=typeof a==="string"?a.trim().toLowerCase():null;return $APP.I(k8,a)?a:"gold"},m8=function(a,b){if(typeof a==="string"){a=a.trim();if($APP.B.i(a,""))return b;a=parseFloat(a);
3
- return $APP.n(isNaN(a))?b:Math.min(1,Math.max(0,a))}return b},n8=function(a){if(typeof a==="string"){a=a.trim();if($APP.B.i(a,""))return 3;a=parseInt(a,10);return $APP.n(isNaN(a))?3:Math.min(5,Math.max(2,a))}return 3},r8=function(a,b){b=b>1?a/(b-1):1;return new $APP.R(null,6,[o8,a*2.39996,p8,.7+.6*b,q8,.6+.8*b,$APP.Sl,200-a*30,$APP.Pk,10+a*3,$APP.qi,1],null)},s8=function(a,b,c){b-=c;return b<=0?0:Math.min(1,Math.max(0,a/b))},t8=function(a,b,c){return c<=.001?0:Math.min(1,Math.abs(a-b)/c/2E3)},u8=
4
- function(a,b,c,d){return c*(.5*Math.sin(a*6.283185307179586*3+b+d)+.3*Math.sin(a*6.283185307179586*5+b*1.3+d*1.7)+.2*Math.sin(a*6.283185307179586*7+b*.7+d*2.3))},v8=function(a,b,c,d,e,g){b=c+(e*(b-a)-g*c)*d;return[a+b*d,b]},w8=function(a,b,c){return a+(b-a)*c},y8=function(){var a=x8+1;return x8=a},z8=function(){return $APP.F(window.matchMedia("(prefers-reduced-motion:reduce)").matches)},A8=function(a,b){if(typeof b==="string"&&$APP.N(b.trim(),""))a=document.querySelector(b);else a:{for(a=a.parentElement;;)if($APP.n(a)){var c=
5
- window.getComputedStyle(a);b=c.getPropertyValue("overflow-y");c=c.getPropertyValue("overflow-x");if($APP.B.i(b,"auto")||$APP.B.i(b,"scroll")||$APP.B.i(c,"auto")||$APP.B.i(c,"scroll"))break a;a=a.parentElement}else{a=null;break a}a=void 0}return a},B8=function(a,b){return a==null?$APP.B.i(b,"horizontal")?[window.scrollX,document.documentElement.scrollWidth,window.innerWidth]:[window.scrollY,document.documentElement.scrollHeight,window.innerHeight]:$APP.B.i(b,"horizontal")?[a.scrollLeft,a.scrollWidth,
6
- a.clientWidth]:[a.scrollTop,a.scrollHeight,a.clientHeight]},I8=function(a){var b=y8(),c=a.attachShadow({mode:"open"}),d=document.createElement("style"),e=document.createElement("div"),g=document.createElementNS("http://www.w3.org/2000/svg","svg"),h=document.createElementNS("http://www.w3.org/2000/svg","defs"),l=document.createElementNS("http://www.w3.org/2000/svg","radialGradient"),m=document.createElementNS("http://www.w3.org/2000/svg","stop"),p=document.createElementNS("http://www.w3.org/2000/svg",
7
- "stop"),q=document.createElementNS("http://www.w3.org/2000/svg","stop"),v=document.createElementNS("http://www.w3.org/2000/svg","filter"),x=document.createElementNS("http://www.w3.org/2000/svg","feGaussianBlur"),y=document.createElementNS("http://www.w3.org/2000/svg","feSpecularLighting"),A=document.createElementNS("http://www.w3.org/2000/svg","fePointLight"),C=document.createElementNS("http://www.w3.org/2000/svg","feComposite"),E=document.createElementNS("http://www.w3.org/2000/svg","feComposite"),
8
- H=f8(function(){return function Pa(Ca){return new $APP.rd(null,function(){for(;;){var db=$APP.t(Ca);if(db){if($APP.Nc(db)){var eb=$APP.yb(db),pb=$APP.z(eb),Nb=$APP.ud(pb);a:{for(var gb=0;;)if(gb<pb){$APP.yc(eb,gb);var ea=Nb,ta=document.createElementNS("http://www.w3.org/2000/svg","path");ea.add(ta);gb+=1}else{eb=!0;break a}eb=void 0}return eb?$APP.xd(Nb.aa(),Pa($APP.zb(db))):$APP.xd(Nb.aa(),null)}$APP.u(db);return $APP.od(document.createElementNS("http://www.w3.org/2000/svg","path"),Pa($APP.Yb(db)))}return null}},
9
- null)}($APP.dg(0,5))}()),G=document.createElement("div"),J=document.createElement("slot"),Q=""+$APP.T.g("xlf-grad-")+$APP.T.g(b),aa=""+$APP.T.g("xlf-spec-")+$APP.T.g(b);d.textContent=C8;e.setAttribute("part","container");g.setAttribute("part","svg");g.setAttribute("viewBox","0 0 300 200");g.setAttribute("preserveAspectRatio","none");g.setAttribute("aria-hidden","true");l.setAttribute("id",Q);l.setAttribute("gradientUnits","userSpaceOnUse");l.setAttribute("cx","150");l.setAttribute("cy","200");l.setAttribute("r",
10
- "200");l.setAttribute("fx","150");l.setAttribute("fy","200");m.setAttribute("offset","0%");m.setAttribute("stop-color","var("+$APP.T.g("--x-liquid-fill-color-1")+",#B8860B)");p.setAttribute("offset","50%");p.setAttribute("stop-color","var("+$APP.T.g("--x-liquid-fill-color-2")+",#D4AF37)");q.setAttribute("offset","100%");q.setAttribute("stop-color","var("+$APP.T.g("--x-liquid-fill-color-3")+",#F9F295)");l.appendChild(m);l.appendChild(p);l.appendChild(q);v.setAttribute("id",aa);v.setAttribute("x","-10%");
11
- v.setAttribute("y","-10%");v.setAttribute("width","120%");v.setAttribute("height","120%");x.setAttribute("in","SourceAlpha");x.setAttribute("stdDeviation","3");x.setAttribute("result","blur");y.setAttribute("in","blur");y.setAttribute("surfaceScale","5");y.setAttribute("specularConstant","0.75");y.setAttribute("specularExponent","20");y.setAttribute("lighting-color","var("+$APP.T.g("--x-liquid-fill-specular-color")+",rgba(255,255,240,0.6))");y.setAttribute("result","specular");y.appendChild(A);A.setAttribute("x",
2
+ var oaa=function(a){function b(d,e){d.push(e);return d}var c=[];return $APP.Wc?$APP.Wc(b,c,a):$APP.Xc.call(null,b,c,a)},l$=function(a){a=typeof a==="string"?a.trim().toLowerCase():null;return $APP.I(paa,a)?a:"vertical"},m$=function(a){a=typeof a==="string"?a.trim().toLowerCase():null;return $APP.I(qaa,a)?a:"fill"},n$=function(a){a=typeof a==="string"?a.trim().toLowerCase():null;return $APP.I(raa,a)?a:"gold"},o$=function(a,b){if(typeof a==="string"){a=a.trim();if($APP.B.i(a,""))return b;a=parseFloat(a);
3
+ return $APP.n(isNaN(a))?b:Math.min(1,Math.max(0,a))}return b},p$=function(a){if(typeof a==="string"){a=a.trim();if($APP.B.i(a,""))return 3;a=parseInt(a,10);return $APP.n(isNaN(a))?3:Math.min(5,Math.max(2,a))}return 3},s$=function(a,b){b=b>1?a/(b-1):1;return new $APP.Q(null,6,[saa,a*2.39996,q$,.7+.6*b,r$,.6+.8*b,$APP.km,200-a*30,$APP.gl,10+a*3,$APP.Ii,1],null)},taa=function(a,b,c){b-=c;return b<=0?0:Math.min(1,Math.max(0,a/b))},uaa=function(a,b,c){return c<=.001?0:Math.min(1,Math.abs(a-b)/c/2E3)},
4
+ t$=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))},vaa=function(a,b,c,d,e,g){b=c+(e*(b-a)-g*c)*d;return[a+b*d,b]},waa=function(a,b,c){return a+(b-a)*c},xaa=function(){var a=u$+1;return u$=a},v$=function(){return $APP.F(window.matchMedia("(prefers-reduced-motion:reduce)").matches)},w$=function(a,b){if(typeof b==="string"&&$APP.N(b.trim(),""))a=document.querySelector(b);else a:{for(a=a.parentElement;;)if($APP.n(a)){var c=
5
+ window.getComputedStyle(a);b=c.getPropertyValue("overflow-y");c=c.getPropertyValue("overflow-x");if($APP.B.i(b,"auto")||$APP.B.i(b,"scroll")||$APP.B.i(c,"auto")||$APP.B.i(c,"scroll"))break a;a=a.parentElement}else{a=null;break a}a=void 0}return a},yaa=function(a,b){return a==null?$APP.B.i(b,"horizontal")?[window.scrollX,document.documentElement.scrollWidth,window.innerWidth]:[window.scrollY,document.documentElement.scrollHeight,window.innerHeight]:$APP.B.i(b,"horizontal")?[a.scrollLeft,a.scrollWidth,
6
+ a.clientWidth]:[a.scrollTop,a.scrollHeight,a.clientHeight]},Baa=function(a){var b=xaa(),c=a.attachShadow({mode:"open"}),d=document.createElement("style"),e=document.createElement("div"),g=document.createElementNS("http://www.w3.org/2000/svg","svg"),h=document.createElementNS("http://www.w3.org/2000/svg","defs"),l=document.createElementNS("http://www.w3.org/2000/svg","radialGradient"),m=document.createElementNS("http://www.w3.org/2000/svg","stop"),p=document.createElementNS("http://www.w3.org/2000/svg",
7
+ "stop"),r=document.createElementNS("http://www.w3.org/2000/svg","stop"),v=document.createElementNS("http://www.w3.org/2000/svg","filter"),x=document.createElementNS("http://www.w3.org/2000/svg","feGaussianBlur"),y=document.createElementNS("http://www.w3.org/2000/svg","feSpecularLighting"),A=document.createElementNS("http://www.w3.org/2000/svg","fePointLight"),C=document.createElementNS("http://www.w3.org/2000/svg","feComposite"),E=document.createElementNS("http://www.w3.org/2000/svg","feComposite"),
8
+ H=oaa(function(){return function Za(Ma){return new $APP.rd(null,function(){for(;;){var ob=$APP.t(Ma);if(ob){if($APP.Nc(ob)){var pb=$APP.xb(ob),Bb=$APP.z(pb),bc=$APP.ud(Bb);a:{for(var rb=0;;)if(rb<Bb){$APP.yc(pb,rb);var ea=bc,Aa=document.createElementNS("http://www.w3.org/2000/svg","path");ea.add(Aa);rb+=1}else{pb=!0;break a}pb=void 0}return pb?$APP.xd(bc.aa(),Za($APP.yb(ob))):$APP.xd(bc.aa(),null)}$APP.u(ob);return $APP.od(document.createElementNS("http://www.w3.org/2000/svg","path"),Za($APP.Xb(ob)))}return null}},
9
+ null)}($APP.dg(0,5))}()),G=document.createElement("div"),J=document.createElement("slot"),U=""+$APP.S.g("xlf-grad-")+$APP.S.g(b),aa=""+$APP.S.g("xlf-spec-")+$APP.S.g(b);d.textContent=zaa;e.setAttribute("part","container");g.setAttribute("part","svg");g.setAttribute("viewBox","0 0 300 200");g.setAttribute("preserveAspectRatio","none");g.setAttribute("aria-hidden","true");l.setAttribute("id",U);l.setAttribute("gradientUnits","userSpaceOnUse");l.setAttribute("cx","150");l.setAttribute("cy","200");l.setAttribute("r",
10
+ "200");l.setAttribute("fx","150");l.setAttribute("fy","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)");r.setAttribute("offset","100%");r.setAttribute("stop-color","var("+$APP.S.g("--x-liquid-fill-color-3")+",#F9F295)");l.appendChild(m);l.appendChild(p);l.appendChild(r);v.setAttribute("id",aa);v.setAttribute("x","-10%");
11
+ v.setAttribute("y","-10%");v.setAttribute("width","120%");v.setAttribute("height","120%");x.setAttribute("in","SourceAlpha");x.setAttribute("stdDeviation","3");x.setAttribute("result","blur");y.setAttribute("in","blur");y.setAttribute("surfaceScale","5");y.setAttribute("specularConstant","0.75");y.setAttribute("specularExponent","20");y.setAttribute("lighting-color","var("+$APP.S.g("--x-liquid-fill-specular-color")+",rgba(255,255,240,0.6))");y.setAttribute("result","specular");y.appendChild(A);A.setAttribute("x",
12
12
  "90");A.setAttribute("y","-50");A.setAttribute("z","200");C.setAttribute("in","specular");C.setAttribute("in2","SourceAlpha");C.setAttribute("operator","in");C.setAttribute("result","specClip");E.setAttribute("in","SourceGraphic");E.setAttribute("in2","specClip");E.setAttribute("operator","arithmetic");E.setAttribute("k1","0");E.setAttribute("k2","1");E.setAttribute("k3","1");E.setAttribute("k4","0");v.appendChild(x);v.appendChild(y);v.appendChild(C);v.appendChild(E);h.appendChild(l);h.appendChild(v);
13
- g.appendChild(h);for(h=0;;)if(h<5)m=H[h],m.setAttribute("class","wave-layer"),m.setAttribute("data-layer",""+$APP.T.g(h)),m.setAttribute("fill","url(#"+$APP.T.g(Q)+")"),m.style.display="none",g.appendChild(m),h+=1;else break;G.setAttribute("part","content");G.appendChild(J);e.appendChild(g);e.appendChild(G);c.appendChild(d);c.appendChild(e);a.__xLiquidFillUid=b;$APP.ja(a,"__xLiquidFillRefs",new $APP.R(null,8,[$APP.Hi,c,$APP.mk,g,D8,H,$APP.zi,G,E8,A,F8,l,G8,aa,H8,Q],null))},Q8=function(a){a=new $APP.R(null,
14
- 8,[$APP.ul,a.getAttribute("target"),$APP.Xl,a.getAttribute("orientation"),$APP.wl,a.getAttribute("mode"),J8,a.getAttribute("theme"),K8,a.getAttribute("wave-intensity"),L8,a.getAttribute("splash-intensity"),M8,a.getAttribute("layers"),$APP.ej,a.getAttribute("disabled")],null);var b=$APP.M(a);a=$APP.D(b,$APP.ul);var c=$APP.D(b,$APP.Xl),d=$APP.D(b,$APP.wl),e=$APP.D(b,J8),g=$APP.D(b,K8),h=$APP.D(b,L8),l=$APP.D(b,M8);b=$APP.D(b,$APP.ej);return new $APP.R(null,8,[$APP.gn,typeof a==="string"&&$APP.N(a.trim(),
15
- "")?a.trim():null,$APP.ql,h8(c),$APP.wj,j8(d),N8,l8(e),O8,m8(g,.5),P8,m8(h,.7),$APP.fj,n8(l),$APP.X,b!=null],null)},R8=function(a,b){var c=new Float64Array(b);a.__xLiquidFillWA=c;c=new Float64Array(b);a.__xLiquidFillWV=c;b=new Float64Array(b);a.__xLiquidFillWP=b},S8=function(a,b){var c=$APP.M($APP.k(a,"__xLiquidFillRefs"));a=$APP.D(c,D8);c=$APP.D(c,G8);for(var d=0;;)if(d<5){var e=a[d];if(d<b){var g=r8(d,b),h=$APP.B.i(d,b-1);e.style.display="";e.setAttribute("opacity",""+$APP.T.g($APP.qi.g(g)));h?
16
- e.setAttribute("filter","url(#"+$APP.T.g(c)+")"):e.removeAttribute("filter")}else e.style.display="none";d+=1}else break},T8=function(a){return $APP.B.i("vertical",$APP.ql.g(a))&&$APP.N("bar",$APP.wj.g(a))},U8=function(a){var b=$APP.k(a,"__xLiquidFillModel"),c=$APP.k(a,"__xLiquidFillW"),d=$APP.k(a,"__xLiquidFillH"),e=$APP.k(a,"__xLiquidFillTime"),g=$APP.k(a,"__xLiquidFillProg"),h=$APP.fj.g(b);b=T8(b);var l=$APP.k(a,"__xLiquidFillWA"),m=$APP.k(a,"__xLiquidFillWP");a=$APP.M($APP.k(a,"__xLiquidFillRefs"));
17
- a=$APP.D(a,D8);if($APP.n($APP.n(c)?$APP.n(d)?c>0&&d>0:d:c))for(var p=0;;)if(p<h){var q=a[p],v=l[p],x=m[p];if(b){var y=d*(1-g),A=c,C=d,E=e,H=[];H.push("M0,"+$APP.T.g((y+u8(0,E,v,x)).toFixed(2)));for(var G=0;;)if(G<10){var J=(G+.5)/10,Q=(G+1)/10,aa=y+u8(J,E,v,x),la=Q*A;Q=y+u8(Q,E,v,x);H.push("Q"+$APP.T.g((J*A).toFixed(2))+","+$APP.T.g(aa.toFixed(2))+" "+$APP.T.g(la.toFixed(2))+","+$APP.T.g(Q.toFixed(2)));G+=1}else break;H.push("L"+$APP.T.g(A.toFixed(2))+","+$APP.T.g(C.toFixed(2)));H.push("L0,"+$APP.T.g(C.toFixed(2)));
18
- H.push("Z");q.setAttribute("d",H.join(""))}else{y=c*g;A=d;C=e;E=v;v=x;x=[];x.push("M"+$APP.T.g((y+u8(0,C,E,v)).toFixed(2))+",0");for(H=0;;)if(H<10)G=(H+.5)/10,la=(H+1)/10,J=G*A,aa=la*A,la=y+u8(la,C,E,v),x.push("Q"+$APP.T.g((y+u8(G,C,E,v)).toFixed(2))+","+$APP.T.g(J.toFixed(2))+" "+$APP.T.g(la.toFixed(2))+","+$APP.T.g(aa.toFixed(2))),H+=1;else break;x.push("L0,"+$APP.T.g(A.toFixed(2)));x.push("L0,0");x.push("Z");q.setAttribute("d",x.join(""))}p+=1}else break},V8=function(a){var b=$APP.k(a,"__xLiquidFillModel"),
19
- c=$APP.k(a,"__xLiquidFillW"),d=$APP.k(a,"__xLiquidFillH");var e=$APP.k(a,"__xLiquidFillProg");e=$APP.n(e)?e:0;var g=$APP.fj.g(b);b=T8(b);a=$APP.M($APP.k(a,"__xLiquidFillRefs"));a=$APP.D(a,D8);if($APP.n($APP.n(c)?$APP.n(d)?c>0&&d>0:d:c))for(var h=0;;)if(h<g){var l=a[h];if(b){var m=d*(1-e);l.setAttribute("d","M0,"+$APP.T.g(m.toFixed(2))+"L"+$APP.T.g(c.toFixed(2))+","+$APP.T.g(m.toFixed(2))+"L"+$APP.T.g(c.toFixed(2))+","+$APP.T.g(d.toFixed(2))+"L0,"+$APP.T.g(d.toFixed(2))+"Z")}else m=c*e,l.setAttribute("d",
20
- "M"+$APP.T.g(m.toFixed(2))+",0L"+$APP.T.g(m.toFixed(2))+","+$APP.T.g(d.toFixed(2))+"L0,"+$APP.T.g(d.toFixed(2))+"L0,0Z");h+=1}else break},X8=function(a,b,c){b=new CustomEvent("x-liquid-fill-progress",{detail:$APP.Hh(new $APP.R(null,2,[$APP.bm,b,W8,c],null)),bubbles:!0,composed:!0,cancelable:!1});a.dispatchEvent(b)},Z8=function(a){$APP.n($APP.k(a,"__xLiquidFillRaf"))||($APP.ja(a,"__xLiquidFillLF",performance.now()),$APP.ja(a,"__xLiquidFillRaf",requestAnimationFrame(function(){return Y8(a)})))},$8=
21
- function(a){var b=$APP.k(a,"__xLiquidFillRaf");$APP.n(b)&&(cancelAnimationFrame(b),a.__xLiquidFillRaf=null)},c9=function(a){if($APP.n(function(){var h=a.isConnected;return $APP.n(h)?(h=$APP.k(a,"__xLiquidFillVis"),$APP.n(h)?$APP.r($APP.X.g($APP.k(a,"__xLiquidFillModel"))):h):h}())){var b=$APP.k(a,"__xLiquidFillModel");$APP.k(a,"__xLiquidFillST")==null&&$APP.gn.g(b)!=null&&(b=A8(a,$APP.gn.g(b)),$APP.n(b)&&(a9.g?a9.g(a):a9.call(null,a),a.__xLiquidFillST=b,b9.g?b9.g(a):b9.call(null,a)));var c=$APP.k(a,
22
- "__xLiquidFillModel");b=$APP.k(a,"__xLiquidFillST");var d=$APP.ql.g(c);d=B8(b,d);var e=d[0];b=d[1];d=d[2];var g=performance.now();b=s8(e,b,d);d=t8(e,function(){var h=$APP.k(a,"__xLiquidFillLS");return $APP.n(h)?h:e}(),(g-function(){var h=$APP.k(a,"__xLiquidFillLST");return $APP.n(h)?h:g}())/1E3);a.__xLiquidFillTP=b;$APP.ja(a,"__xLiquidFillSV",Math.max(function(){var h=$APP.k(a,"__xLiquidFillSV");return $APP.n(h)?h:0}(),d));a.__xLiquidFillLS=e;a.__xLiquidFillLST=g;$APP.n(function(){var h=$APP.X.g(c);
23
- return $APP.n(h)?h:z8()}())||Z8(a);$APP.n(function(){var h=$APP.X.g(c);return $APP.n(h)?h:z8()}())&&(a.__xLiquidFillProg=b,V8(a),X8(a,b,d))}return null},b9=function(a){var b=$APP.k(a,"__xLiquidFillHdl");if($APP.n($APP.n(b)?$APP.r($APP.k(b,"scrollAttached")):b)){var c=$APP.k(b,"scroll");a=$APP.k(a,"__xLiquidFillST");$APP.n(a)?a.addEventListener("scroll",c,{passive:!0}):window.addEventListener("scroll",c,{passive:!0});b.scrollAttached=!0}else return null},a9=function(a){var b=$APP.k(a,"__xLiquidFillHdl");
24
- if($APP.n($APP.n(b)?$APP.k(b,"scrollAttached"):b)){var c=$APP.k(b,"scroll");a=$APP.k(a,"__xLiquidFillST");$APP.n(a)?a.removeEventListener("scroll",c):window.removeEventListener("scroll",c);b.scrollAttached=!1}else return null},d9=function(a){var b=$APP.gn.g($APP.k(a,"__xLiquidFillModel")),c=A8(a,b);a.__xLiquidFillST=c;b9(a);c9(a);b!=null&&c==null&&requestAnimationFrame(function(){if($APP.n(a.isConnected)){var d=$APP.gn.g($APP.k(a,"__xLiquidFillModel"));d!=null&&$APP.k(a,"__xLiquidFillST")==null&&
25
- (d=A8(a,d),$APP.n(d)&&(a9(a),a.__xLiquidFillST=d,b9(a),c9(a)))}return null})},e9=function(a){$APP.ja(a,"__xLiquidFillHdl",{scroll:function(){return c9(a)},scrollAttached:!1})},f9=function(a){a9(a);a.__xLiquidFillHdl=null},g9=function(a){var b=new IntersectionObserver(function(c){c=c[0].isIntersecting;a.__xLiquidFillVis=c;$APP.n(c)?(c=$APP.X.g($APP.k(a,"__xLiquidFillModel")),c=$APP.n(c)?c:z8(),$APP.n(c)||Z8(a)):$8(a);return null},{threshold:[0]});b.observe(a);a.__xLiquidFillIO=b;b=new ResizeObserver(function(c){if(c.length>
26
- 0){var d=c[0].contentRect;c=d.width;d=d.height;if(c>0&&d>0){a.__xLiquidFillW=c;a.__xLiquidFillH=d;var e=$APP.M($APP.k(a,"__xLiquidFillRefs")),g=$APP.D(e,$APP.mk),h=$APP.D(e,E8);e=$APP.D(e,F8);var l=Math.max(c,d);g.setAttribute("viewBox","0 0 "+$APP.T.g(c)+" "+$APP.T.g(d));h.setAttribute("x",""+$APP.T.g(c*.3));e.setAttribute("cx",""+$APP.T.g(c*.5));e.setAttribute("cy",""+$APP.T.g(d));e.setAttribute("r",""+$APP.T.g(l));e.setAttribute("fx",""+$APP.T.g(c*.5));e.setAttribute("fy",""+$APP.T.g(d));c=$APP.X.g($APP.k(a,
27
- "__xLiquidFillModel"));c=$APP.n(c)?c:z8();$APP.n(c)?V8(a):(U8(a),Z8(a))}}return null});b.observe(a);a.__xLiquidFillRO=b},j9=function(a,b){b=$APP.D(h9,b);$APP.n(b)?(a=a.style,a.setProperty("--x-liquid-fill-color-1",$APP.fl.g(b)),a.setProperty("--x-liquid-fill-color-2",$APP.gl.g(b)),a.setProperty("--x-liquid-fill-color-3",i9.g(b)),a.setProperty("--x-liquid-fill-specular-color",$APP.pl.g(b))):(a=a.style,a.removeProperty("--x-liquid-fill-color-1"),a.removeProperty("--x-liquid-fill-color-2"),a.removeProperty("--x-liquid-fill-color-3"),
28
- a.removeProperty("--x-liquid-fill-specular-color"))},k9=function(a){Object.defineProperty(a,"target",{get:function(){return this.getAttribute("target")},set:function(b){return $APP.n(b)?this.setAttribute("target",""+$APP.T.g(b)):this.removeAttribute("target")},enumerable:!0,configurable:!0});Object.defineProperty(a,"orientation",{get:function(){return h8(this.getAttribute("orientation"))},set:function(b){return $APP.n(b)?this.setAttribute("orientation",""+$APP.T.g(b)):this.removeAttribute("orientation")},
29
- enumerable:!0,configurable:!0});Object.defineProperty(a,"mode",{get:function(){return j8(this.getAttribute("mode"))},set:function(b){return $APP.n(b)?this.setAttribute("mode",""+$APP.T.g(b)):this.removeAttribute("mode")},enumerable:!0,configurable:!0});Object.defineProperty(a,"theme",{get:function(){return l8(this.getAttribute("theme"))},set:function(b){return $APP.n(b)?this.setAttribute("theme",""+$APP.T.g(b)):this.removeAttribute("theme")},enumerable:!0,configurable:!0});Object.defineProperty(a,
30
- "waveIntensity",{get:function(){var b=this.getAttribute("wave-intensity");return m8(b,.5)},set:function(b){return b==null?this.removeAttribute("wave-intensity"):this.setAttribute("wave-intensity",""+$APP.T.g(b))},enumerable:!0,configurable:!0});Object.defineProperty(a,"splashIntensity",{get:function(){var b=this.getAttribute("splash-intensity");return m8(b,.7)},set:function(b){return b==null?this.removeAttribute("splash-intensity"):this.setAttribute("splash-intensity",""+$APP.T.g(b))},enumerable:!0,
31
- configurable:!0});Object.defineProperty(a,"layers",{get:function(){return n8(this.getAttribute("layers"))},set:function(b){return b==null?this.removeAttribute("layers"):this.setAttribute("layers",""+$APP.T.g(b))},enumerable:!0,configurable:!0});Object.defineProperty(a,"disabled",{get:function(){return this.hasAttribute("disabled")},set:function(b){return $APP.n(b)?this.setAttribute("disabled",""):this.removeAttribute("disabled")},enumerable:!0,configurable:!0});Object.defineProperty(a,"progress",
32
- {get:function(){var b=$APP.k(this,"__xLiquidFillProg");return $APP.n(b)?b:0},enumerable:!0,configurable:!0})},m9=function(){var a=class extends HTMLElement{};a.observedAttributes=l9;a.prototype.connectedCallback=function(){var b=Q8(this);this.__xLiquidFillModel=b;this.__xLiquidFillTime=this.__xLiquidFillSV=this.__xLiquidFillTP=this.__xLiquidFillProg=0;this.__xLiquidFillLD=-1;this.__xLiquidFillVis=!0;$APP.n($APP.k(this,"__xLiquidFillRefs"))||I8(this);j9(this,N8.g(b));R8(this,$APP.fj.g(b));S8(this,
33
- $APP.fj.g(b));f9(this);e9(this);g9(this);d9(this);return null};a.prototype.disconnectedCallback=function(){$8(this);f9(this);var b=$APP.k(this,"__xLiquidFillIO");$APP.n(b)&&(b.disconnect(),this.__xLiquidFillIO=null);b=$APP.k(this,"__xLiquidFillRO");$APP.n(b)&&(b.disconnect(),this.__xLiquidFillRO=null);this.__xLiquidFillVis=!1;return null};a.prototype.attributeChangedCallback=function(b,c,d){if($APP.N(c,d)&&$APP.n($APP.k(this,"__xLiquidFillRefs"))){b=Q8(this);c=$APP.k(this,"__xLiquidFillModel");this.__xLiquidFillModel=
34
- b;if(c==null||$APP.N($APP.fj.g(b),$APP.fj.g(c)))R8(this,$APP.fj.g(b)),S8(this,$APP.fj.g(b));(c==null||$APP.N(N8.g(b),N8.g(c)))&&j9(this,N8.g(b));if(c==null||$APP.N($APP.gn.g(b),$APP.gn.g(c)))a9(this),d9(this);c=$APP.k(this,"__xLiquidFillW");d=$APP.k(this,"__xLiquidFillH");$APP.n($APP.n(c)?$APP.n(d)?c>0&&d>0:d:c)&&(b=$APP.X.g(b),b=$APP.n(b)?b:z8(),$APP.n(b)?($8(this),V8(this)):(U8(this),Z8(this)))}return null};k9(a.prototype);return a},n9=function(){$APP.n(customElements.get("x-liquid-fill"))||customElements.define("x-liquid-fill",
35
- m9());return null},q8=new $APP.K(null,"amp-mult","amp-mult",698045242),E8=new $APP.K(null,"feLight","feLight",-1941454484),p8=new $APP.K(null,"speed-mult","speed-mult",-353631814),M8=new $APP.K(null,"layers-raw","layers-raw",-233899391),o8=new $APP.K(null,"phase-offset","phase-offset",-1013192067),D8=new $APP.K(null,"paths","paths",-1807389588),J8=new $APP.K(null,"theme-raw","theme-raw",1068228849),G8=new $APP.K(null,"filt-id","filt-id",-672558408),O8=new $APP.K(null,"wave-intensity","wave-intensity",
36
- -915557489),F8=new $APP.K(null,"grad","grad",1125187229),N8=new $APP.K(null,"theme","theme",-1247880880),i9=new $APP.K(null,"color-3","color-3",265727868),K8=new $APP.K(null,"wave-intensity-raw","wave-intensity-raw",1563162777),H8=new $APP.K(null,"grad-id","grad-id",1430109665),P8=new $APP.K(null,"splash-intensity","splash-intensity",-619909243),W8=new $APP.K(null,"velocity","velocity",-581524355),L8=new $APP.K(null,"splash-intensity-raw","splash-intensity-raw",1573376927);var l9="target orientation mode theme wave-intensity splash-intensity layers disabled".split(" ");
37
- $APP.zf([new $APP.K(null,"waveIntensity","waveIntensity",695633410),$APP.Pj,new $APP.K(null,"splashIntensity","splashIntensity",1275664841),$APP.wj,$APP.ql,N8,$APP.fj,$APP.gn,$APP.bm],[new $APP.R(null,1,[$APP.Z,$APP.W],null),new $APP.R(null,1,[$APP.Z,$APP.Zj],null),new $APP.R(null,1,[$APP.Z,$APP.W],null),new $APP.R(null,1,[$APP.Z,$APP.Y],null),new $APP.R(null,1,[$APP.Z,$APP.Y],null),new $APP.R(null,1,[$APP.Z,$APP.Y],null),new $APP.R(null,1,[$APP.Z,$APP.W],null),new $APP.R(null,1,[$APP.Z,$APP.Y],null),
38
- new $APP.R(null,2,[$APP.Z,$APP.W,$APP.wk,!0],null)]);$APP.Pd(["x-liquid-fill-progress",new $APP.R(null,2,[$APP.V,new $APP.R(null,2,[$APP.bm,$APP.W,W8,$APP.W],null),$APP.km,!1],null)]);
39
- var g8=new $APP.S(null,new $APP.R(null,2,["vertical",null,"horizontal",null],null),null),i8=new $APP.S(null,new $APP.R(null,2,["bar",null,"fill",null],null),null),k8=new $APP.S(null,new $APP.R(null,4,["custom",null,"gold",null,"lava",null,"water",null],null),null),h9=new $APP.R(null,3,["gold",new $APP.R(null,4,[$APP.fl,"#B8860B",$APP.gl,"#D4AF37",i9,"#F9F295",$APP.pl,"rgba(255,255,240,0.6)"],null),"water",new $APP.R(null,4,[$APP.fl,"#0077B6",$APP.gl,"#00B4D8",i9,"#90E0EF",$APP.pl,"rgba(255,255,255,0.5)"],
40
- null),"lava",new $APP.R(null,4,[$APP.fl,"#8B0000",$APP.gl,"#FF4500",i9,"#FF8C00",$APP.pl,"rgba(255,255,200,0.7)"],null)],null);var x8=0,C8=":host{display:block;position:relative;overflow:hidden;"+$APP.T.g("--x-liquid-fill-bg")+":transparent;"+$APP.T.g("--x-liquid-fill-border")+":none;"+$APP.T.g("--x-liquid-fill-radius")+":0;"+$APP.T.g("--x-liquid-fill-opacity")+":1;"+$APP.T.g("--x-liquid-fill-wave-speed")+":1;"+$APP.T.g("--x-liquid-fill-color-1")+":#B8860B;"+$APP.T.g("--x-liquid-fill-color-2")+":#D4AF37;"+$APP.T.g("--x-liquid-fill-color-3")+":#F9F295;"+$APP.T.g("--x-liquid-fill-specular-color")+":rgba(255,255,240,0.6);}:host{background:var("+
41
- $APP.T.g("--x-liquid-fill-bg")+",transparent);border:var("+$APP.T.g("--x-liquid-fill-border")+",none);border-radius:var("+$APP.T.g("--x-liquid-fill-radius")+",0);}:host([mode\x3dbar]){"+$APP.T.g("--x-liquid-fill-bar-height")+":14px;height:var("+$APP.T.g("--x-liquid-fill-bar-height")+",14px);}[part\x3dcontainer]{position:relative;width:100%;height:100%;overflow:hidden;border-radius:inherit;}[part\x3dsvg]{display:block;width:100%;height:100%;position:absolute;inset:0;pointer-events:none;opacity:var("+
42
- $APP.T.g("--x-liquid-fill-opacity")+",1);}[part\x3dcontent]{position:relative;z-index:1;}."+$APP.T.g("wave-layer")+"{transition:none;}@media(prefers-color-scheme:dark){:host{"+$APP.T.g("--x-liquid-fill-bg")+":transparent;"+$APP.T.g("--x-liquid-fill-specular-color")+":rgba(255,255,200,0.4);}}@media(prefers-reduced-motion:reduce){."+$APP.T.g("wave-layer")+"{transition:none!important;}}",Y8=function Y8(a){if(!$APP.r(a.isConnected))if($APP.n(function(){var E=$APP.X.g($APP.k(a,"__xLiquidFillModel"));return $APP.n(E)?
43
- E:z8()}()))a.__xLiquidFillRaf=null;else{var c=$APP.k(a,"__xLiquidFillModel"),d=performance.now(),e=Math.min(d-$APP.k(a,"__xLiquidFillLF"),100)/1E3,g=function(){var E=window.getComputedStyle(a).getPropertyValue("--x-liquid-fill-wave-speed");E=typeof E==="string"?parseFloat(E.trim()):null;var H=E==null;H||(H=isNaN(E),H=$APP.n(H)?H:E<=0);return $APP.n(H)?1:E}(),h=$APP.fj.g(c),l=O8.g(c);c=P8.g(c);var m=function(){var E=$APP.k(a,"__xLiquidFillSV");return $APP.n(E)?E:0}(),p=$APP.k(a,"__xLiquidFillWA"),
44
- q=$APP.k(a,"__xLiquidFillWV"),v=$APP.k(a,"__xLiquidFillWP");a.__xLiquidFillLF=d;$APP.ja(a,"__xLiquidFillTime",function(){var E=$APP.k(a,"__xLiquidFillTime");return $APP.n(E)?E:0}()+e*g);$APP.ja(a,"__xLiquidFillProg",w8(function(){var E=$APP.k(a,"__xLiquidFillProg");return $APP.n(E)?E:0}(),function(){var E=$APP.k(a,"__xLiquidFillTP");return $APP.n(E)?E:0}(),5*e));var x=[!1];for(d=0;;)if(d<h){var y=r8(d,h),A=m*l*c*q8.g(y)*30+2*l*q8.g(y);A=v8(p[d],A,q[d],e,$APP.Sl.g(y),$APP.Pk.g(y));p[d]=A[0];q[d]=A[1];
45
- v[d]+=e*g*p8.g(y);Math.abs(q[d])>.05&&(x[0]=!0);d+=1}else break;a.__xLiquidFillSV=m*Math.max(0,1-3*e);U8(a);e=$APP.k(a,"__xLiquidFillProg");Math.abs(e-function(){var E=$APP.k(a,"__xLiquidFillLD");return $APP.n(E)?E:-1}())>.005&&(a.__xLiquidFillLD=e,X8(a,e,m));var C=Math.abs(function(){var E=$APP.k(a,"__xLiquidFillProg");return $APP.n(E)?E:0}()-function(){var E=$APP.k(a,"__xLiquidFillTP");return $APP.n(E)?E:0}());$APP.n(function(){var E=x[0];return $APP.n(E)?E:m>.01||C>.001}())?$APP.ja(a,"__xLiquidFillRaf",
46
- requestAnimationFrame(function(){return Y8.g?Y8.g(a):Y8.call(null,a)})):a.__xLiquidFillRaf=null}return null};$APP.ha("baredom.exports.x_liquid_fill.init",n9);export const init=n9;
13
+ g.appendChild(h);for(h=0;;)if(h<5)m=H[h],m.setAttribute("class","wave-layer"),m.setAttribute("data-layer",""+$APP.S.g(h)),m.setAttribute("fill","url(#"+$APP.S.g(U)+")"),m.style.display="none",g.appendChild(m),h+=1;else break;G.setAttribute("part","content");G.appendChild(J);e.appendChild(g);e.appendChild(G);c.appendChild(d);c.appendChild(e);a.__xLiquidFillUid=b;$APP.ja(a,"__xLiquidFillRefs",new $APP.Q(null,8,[$APP.Zi,c,$APP.Ek,g,x$,H,$APP.Ri,G,y$,A,z$,l,A$,aa,Aaa,U],null))},I$=function(a){a=new $APP.Q(null,
14
+ 8,[$APP.Nl,a.getAttribute("target"),$APP.pm,a.getAttribute("orientation"),$APP.Pl,a.getAttribute("mode"),B$,a.getAttribute("theme"),C$,a.getAttribute("wave-intensity"),D$,a.getAttribute("splash-intensity"),E$,a.getAttribute("layers"),$APP.wj,a.getAttribute("disabled")],null);var b=$APP.M(a);a=$APP.D(b,$APP.Nl);var c=$APP.D(b,$APP.pm),d=$APP.D(b,$APP.Pl),e=$APP.D(b,B$),g=$APP.D(b,C$),h=$APP.D(b,D$),l=$APP.D(b,E$);b=$APP.D(b,$APP.wj);return new $APP.Q(null,8,[$APP.An,typeof a==="string"&&$APP.N(a.trim(),
15
+ "")?a.trim():null,$APP.Jl,l$(c),$APP.Oj,m$(d),F$,n$(e),G$,o$(g,.5),H$,o$(h,.7),$APP.xj,p$(l),$APP.X,b!=null],null)},J$=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},K$=function(a,b){var c=$APP.M($APP.k(a,"__xLiquidFillRefs"));a=$APP.D(c,x$);c=$APP.D(c,A$);for(var d=0;;)if(d<5){var e=a[d];if(d<b){var g=s$(d,b),h=$APP.B.i(d,b-1);e.style.display="";e.setAttribute("opacity",""+$APP.S.g($APP.Ii.g(g)));h?
16
+ e.setAttribute("filter","url(#"+$APP.S.g(c)+")"):e.removeAttribute("filter")}else e.style.display="none";d+=1}else break},L$=function(a){return $APP.B.i("vertical",$APP.Jl.g(a))&&$APP.N("bar",$APP.Oj.g(a))},M$=function(a){var b=$APP.k(a,"__xLiquidFillModel"),c=$APP.k(a,"__xLiquidFillW"),d=$APP.k(a,"__xLiquidFillH"),e=$APP.k(a,"__xLiquidFillTime"),g=$APP.k(a,"__xLiquidFillProg"),h=$APP.xj.g(b);b=L$(b);var l=$APP.k(a,"__xLiquidFillWA"),m=$APP.k(a,"__xLiquidFillWP");a=$APP.M($APP.k(a,"__xLiquidFillRefs"));
17
+ a=$APP.D(a,x$);if($APP.n($APP.n(c)?$APP.n(d)?c>0&&d>0:d:c))for(var p=0;;)if(p<h){var r=a[p],v=l[p],x=m[p];if(b){var y=d*(1-g),A=c,C=d,E=e,H=[];H.push("M0,"+$APP.S.g((y+t$(0,E,v,x)).toFixed(2)));for(var G=0;;)if(G<10){var J=(G+.5)/10,U=(G+1)/10,aa=y+t$(J,E,v,x),ta=U*A;U=y+t$(U,E,v,x);H.push("Q"+$APP.S.g((J*A).toFixed(2))+","+$APP.S.g(aa.toFixed(2))+" "+$APP.S.g(ta.toFixed(2))+","+$APP.S.g(U.toFixed(2)));G+=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)));
18
+ H.push("Z");r.setAttribute("d",H.join(""))}else{y=c*g;A=d;C=e;E=v;v=x;x=[];x.push("M"+$APP.S.g((y+t$(0,C,E,v)).toFixed(2))+",0");for(H=0;;)if(H<10)G=(H+.5)/10,ta=(H+1)/10,J=G*A,aa=ta*A,ta=y+t$(ta,C,E,v),x.push("Q"+$APP.S.g((y+t$(G,C,E,v)).toFixed(2))+","+$APP.S.g(J.toFixed(2))+" "+$APP.S.g(ta.toFixed(2))+","+$APP.S.g(aa.toFixed(2))),H+=1;else break;x.push("L0,"+$APP.S.g(A.toFixed(2)));x.push("L0,0");x.push("Z");r.setAttribute("d",x.join(""))}p+=1}else break},N$=function(a){var b=$APP.k(a,"__xLiquidFillModel"),
19
+ c=$APP.k(a,"__xLiquidFillW"),d=$APP.k(a,"__xLiquidFillH");var e=$APP.k(a,"__xLiquidFillProg");e=$APP.n(e)?e:0;var g=$APP.xj.g(b);b=L$(b);a=$APP.M($APP.k(a,"__xLiquidFillRefs"));a=$APP.D(a,x$);if($APP.n($APP.n(c)?$APP.n(d)?c>0&&d>0:d:c))for(var h=0;;)if(h<g){var l=a[h];if(b){var m=d*(1-e);l.setAttribute("d","M0,"+$APP.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,l.setAttribute("d",
20
+ "M"+$APP.S.g(m.toFixed(2))+",0L"+$APP.S.g(m.toFixed(2))+","+$APP.S.g(d.toFixed(2))+"L0,"+$APP.S.g(d.toFixed(2))+"L0,0Z");h+=1}else break},P$=function(a,b,c){b=new CustomEvent("x-liquid-fill-progress",{detail:$APP.Zh(new $APP.Q(null,2,[$APP.um,b,O$,c],null)),bubbles:!0,composed:!0,cancelable:!1});a.dispatchEvent(b)},R$=function(a){$APP.n($APP.k(a,"__xLiquidFillRaf"))||($APP.ja(a,"__xLiquidFillLF",performance.now()),$APP.ja(a,"__xLiquidFillRaf",requestAnimationFrame(function(){return Q$(a)})))},S$=
21
+ function(a){var b=$APP.k(a,"__xLiquidFillRaf");$APP.n(b)&&(cancelAnimationFrame(b),a.__xLiquidFillRaf=null)},V$=function(a){if($APP.n(function(){var h=a.isConnected;return $APP.n(h)?(h=$APP.k(a,"__xLiquidFillVis"),$APP.n(h)?$APP.q($APP.X.g($APP.k(a,"__xLiquidFillModel"))):h):h}())){var b=$APP.k(a,"__xLiquidFillModel");$APP.k(a,"__xLiquidFillST")==null&&$APP.An.g(b)!=null&&(b=w$(a,$APP.An.g(b)),$APP.n(b)&&(T$.g?T$.g(a):T$.call(null,a),a.__xLiquidFillST=b,U$.g?U$.g(a):U$.call(null,a)));var c=$APP.k(a,
22
+ "__xLiquidFillModel");b=$APP.k(a,"__xLiquidFillST");var d=$APP.Jl.g(c);d=yaa(b,d);var e=d[0];b=d[1];d=d[2];var g=performance.now();b=taa(e,b,d);d=uaa(e,function(){var h=$APP.k(a,"__xLiquidFillLS");return $APP.n(h)?h:e}(),(g-function(){var h=$APP.k(a,"__xLiquidFillLST");return $APP.n(h)?h:g}())/1E3);a.__xLiquidFillTP=b;$APP.ja(a,"__xLiquidFillSV",Math.max(function(){var h=$APP.k(a,"__xLiquidFillSV");return $APP.n(h)?h:0}(),d));a.__xLiquidFillLS=e;a.__xLiquidFillLST=g;$APP.n(function(){var h=$APP.X.g(c);
23
+ return $APP.n(h)?h:v$()}())||R$(a);$APP.n(function(){var h=$APP.X.g(c);return $APP.n(h)?h:v$()}())&&(a.__xLiquidFillProg=b,N$(a),P$(a,b,d))}return null},U$=function(a){var b=$APP.k(a,"__xLiquidFillHdl");if($APP.n($APP.n(b)?$APP.q($APP.k(b,"scrollAttached")):b)){var c=$APP.k(b,"scroll");a=$APP.k(a,"__xLiquidFillST");$APP.n(a)?a.addEventListener("scroll",c,{passive:!0}):window.addEventListener("scroll",c,{passive:!0});b.scrollAttached=!0}else return null},T$=function(a){var b=$APP.k(a,"__xLiquidFillHdl");
24
+ if($APP.n($APP.n(b)?$APP.k(b,"scrollAttached"):b)){var c=$APP.k(b,"scroll");a=$APP.k(a,"__xLiquidFillST");$APP.n(a)?a.removeEventListener("scroll",c):window.removeEventListener("scroll",c);b.scrollAttached=!1}else return null},W$=function(a){var b=$APP.An.g($APP.k(a,"__xLiquidFillModel")),c=w$(a,b);a.__xLiquidFillST=c;U$(a);V$(a);b!=null&&c==null&&requestAnimationFrame(function(){if($APP.n(a.isConnected)){var d=$APP.An.g($APP.k(a,"__xLiquidFillModel"));d!=null&&$APP.k(a,"__xLiquidFillST")==null&&
25
+ (d=w$(a,d),$APP.n(d)&&(T$(a),a.__xLiquidFillST=d,U$(a),V$(a)))}return null})},Caa=function(a){$APP.ja(a,"__xLiquidFillHdl",{scroll:function(){return V$(a)},scrollAttached:!1})},X$=function(a){T$(a);a.__xLiquidFillHdl=null},Daa=function(a){var b=new IntersectionObserver(function(c){c=c[0].isIntersecting;a.__xLiquidFillVis=c;$APP.n(c)?(c=$APP.X.g($APP.k(a,"__xLiquidFillModel")),c=$APP.n(c)?c:v$(),$APP.n(c)||R$(a)):S$(a);return null},{threshold:[0]});b.observe(a);a.__xLiquidFillIO=b;b=new ResizeObserver(function(c){if(c.length>
26
+ 0){var d=c[0].contentRect;c=d.width;d=d.height;if(c>0&&d>0){a.__xLiquidFillW=c;a.__xLiquidFillH=d;var e=$APP.M($APP.k(a,"__xLiquidFillRefs")),g=$APP.D(e,$APP.Ek),h=$APP.D(e,y$);e=$APP.D(e,z$);var l=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(l));e.setAttribute("fx",""+$APP.S.g(c*.5));e.setAttribute("fy",""+$APP.S.g(d));c=$APP.X.g($APP.k(a,
27
+ "__xLiquidFillModel"));c=$APP.n(c)?c:v$();$APP.n(c)?N$(a):(M$(a),R$(a))}}return null});b.observe(a);a.__xLiquidFillRO=b},Z$=function(a,b){b=$APP.D(Eaa,b);$APP.n(b)?(a=a.style,a.setProperty("--x-liquid-fill-color-1",$APP.yl.g(b)),a.setProperty("--x-liquid-fill-color-2",$APP.zl.g(b)),a.setProperty("--x-liquid-fill-color-3",Y$.g(b)),a.setProperty("--x-liquid-fill-specular-color",$APP.Il.g(b))):(a=a.style,a.removeProperty("--x-liquid-fill-color-1"),a.removeProperty("--x-liquid-fill-color-2"),a.removeProperty("--x-liquid-fill-color-3"),
28
+ a.removeProperty("--x-liquid-fill-specular-color"))},Faa=function(a){Object.defineProperty(a,"target",{get:function(){return this.getAttribute("target")},set:function(b){return $APP.n(b)?this.setAttribute("target",""+$APP.S.g(b)):this.removeAttribute("target")},enumerable:!0,configurable:!0});Object.defineProperty(a,"orientation",{get:function(){return l$(this.getAttribute("orientation"))},set:function(b){return $APP.n(b)?this.setAttribute("orientation",""+$APP.S.g(b)):this.removeAttribute("orientation")},
29
+ enumerable:!0,configurable:!0});Object.defineProperty(a,"mode",{get:function(){return m$(this.getAttribute("mode"))},set:function(b){return $APP.n(b)?this.setAttribute("mode",""+$APP.S.g(b)):this.removeAttribute("mode")},enumerable:!0,configurable:!0});Object.defineProperty(a,"theme",{get:function(){return n$(this.getAttribute("theme"))},set:function(b){return $APP.n(b)?this.setAttribute("theme",""+$APP.S.g(b)):this.removeAttribute("theme")},enumerable:!0,configurable:!0});Object.defineProperty(a,
30
+ "waveIntensity",{get:function(){var b=this.getAttribute("wave-intensity");return o$(b,.5)},set:function(b){return b==null?this.removeAttribute("wave-intensity"):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 o$(b,.7)},set:function(b){return b==null?this.removeAttribute("splash-intensity"):this.setAttribute("splash-intensity",""+$APP.S.g(b))},enumerable:!0,
31
+ configurable:!0});Object.defineProperty(a,"layers",{get:function(){return p$(this.getAttribute("layers"))},set:function(b){return b==null?this.removeAttribute("layers"):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.n(b)?this.setAttribute("disabled",""):this.removeAttribute("disabled")},enumerable:!0,configurable:!0});return Object.defineProperty(a,"progress",
32
+ {get:function(){var b=$APP.k(this,"__xLiquidFillProg");return $APP.n(b)?b:0},enumerable:!0,configurable:!0})},Gaa=function(a){var b=I$(a);a.__xLiquidFillModel=b;a.__xLiquidFillProg=0;a.__xLiquidFillTP=0;a.__xLiquidFillSV=0;a.__xLiquidFillTime=0;a.__xLiquidFillLD=-1;a.__xLiquidFillVis=!0;$APP.n($APP.k(a,"__xLiquidFillRefs"))||Baa(a);Z$(a,F$.g(b));J$(a,$APP.xj.g(b));K$(a,$APP.xj.g(b));X$(a);Caa(a);Daa(a);W$(a);return null},Haa=function(a){S$(a);X$(a);var b=$APP.k(a,"__xLiquidFillIO");$APP.n(b)&&(b.disconnect(),
33
+ a.__xLiquidFillIO=null);b=$APP.k(a,"__xLiquidFillRO");$APP.n(b)&&(b.disconnect(),a.__xLiquidFillRO=null);a.__xLiquidFillVis=!1;return null},Iaa=function(a,b,c,d){if($APP.N(c,d)&&$APP.n($APP.k(a,"__xLiquidFillRefs"))){b=I$(a);c=$APP.k(a,"__xLiquidFillModel");a.__xLiquidFillModel=b;if(c==null||$APP.N($APP.xj.g(b),$APP.xj.g(c)))J$(a,$APP.xj.g(b)),K$(a,$APP.xj.g(b));(c==null||$APP.N(F$.g(b),F$.g(c)))&&Z$(a,F$.g(b));if(c==null||$APP.N($APP.An.g(b),$APP.An.g(c)))T$(a),W$(a);c=$APP.k(a,"__xLiquidFillW");
34
+ d=$APP.k(a,"__xLiquidFillH");$APP.n($APP.n(c)?$APP.n(d)?c>0&&d>0:d:c)&&(b=$APP.X.g(b),b=$APP.n(b)?b:v$(),$APP.n(b)?(S$(a),N$(a)):(M$(a),R$(a)))}return null},$$=function(){return $APP.Lg("x-liquid-fill",new $APP.Q(null,5,[$APP.Cg,Jaa,$APP.Dg,Gaa,$APP.Eg,Haa,$APP.Fg,Iaa,$APP.Jg,Faa],null))},r$=new $APP.K(null,"amp-mult","amp-mult",698045242),y$=new $APP.K(null,"feLight","feLight",-1941454484),q$=new $APP.K(null,"speed-mult","speed-mult",-353631814),E$=new $APP.K(null,"layers-raw","layers-raw",-233899391),
35
+ saa=new $APP.K(null,"phase-offset","phase-offset",-1013192067),x$=new $APP.K(null,"paths","paths",-1807389588),B$=new $APP.K(null,"theme-raw","theme-raw",1068228849),A$=new $APP.K(null,"filt-id","filt-id",-672558408),G$=new $APP.K(null,"wave-intensity","wave-intensity",-915557489),z$=new $APP.K(null,"grad","grad",1125187229),F$=new $APP.K(null,"theme","theme",-1247880880),Y$=new $APP.K(null,"color-3","color-3",265727868),C$=new $APP.K(null,"wave-intensity-raw","wave-intensity-raw",1563162777),Aaa=
36
+ new $APP.K(null,"grad-id","grad-id",1430109665),H$=new $APP.K(null,"splash-intensity","splash-intensity",-619909243),O$=new $APP.K(null,"velocity","velocity",-581524355),D$=new $APP.K(null,"splash-intensity-raw","splash-intensity-raw",1573376927);var Jaa="target orientation mode theme wave-intensity splash-intensity layers disabled".split(" ");
37
+ $APP.zf([new $APP.K(null,"waveIntensity","waveIntensity",695633410),$APP.kk,new $APP.K(null,"splashIntensity","splashIntensity",1275664841),$APP.Oj,$APP.Jl,F$,$APP.xj,$APP.An,$APP.um],[new $APP.Q(null,1,[$APP.Z,$APP.W],null),new $APP.Q(null,1,[$APP.Z,$APP.uk],null),new $APP.Q(null,1,[$APP.Z,$APP.W],null),new $APP.Q(null,1,[$APP.Z,$APP.Y],null),new $APP.Q(null,1,[$APP.Z,$APP.Y],null),new $APP.Q(null,1,[$APP.Z,$APP.Y],null),new $APP.Q(null,1,[$APP.Z,$APP.W],null),new $APP.Q(null,1,[$APP.Z,$APP.Y],null),
38
+ new $APP.Q(null,2,[$APP.Z,$APP.W,$APP.Ok,!0],null)]);$APP.Pd(["x-liquid-fill-progress",new $APP.Q(null,2,[$APP.V,new $APP.Q(null,2,[$APP.um,$APP.W,O$,$APP.W],null),$APP.Km,!1],null)]);
39
+ var paa=new $APP.R(null,new $APP.Q(null,2,["vertical",null,"horizontal",null],null),null),qaa=new $APP.R(null,new $APP.Q(null,2,["bar",null,"fill",null],null),null),raa=new $APP.R(null,new $APP.Q(null,4,["custom",null,"gold",null,"lava",null,"water",null],null),null),Eaa=new $APP.Q(null,3,["gold",new $APP.Q(null,4,[$APP.yl,"#B8860B",$APP.zl,"#D4AF37",Y$,"#F9F295",$APP.Il,"rgba(255,255,240,0.6)"],null),"water",new $APP.Q(null,4,[$APP.yl,"#0077B6",$APP.zl,"#00B4D8",Y$,"#90E0EF",$APP.Il,"rgba(255,255,255,0.5)"],
40
+ null),"lava",new $APP.Q(null,4,[$APP.yl,"#8B0000",$APP.zl,"#FF4500",Y$,"#FF8C00",$APP.Il,"rgba(255,255,200,0.7)"],null)],null);var u$=0,zaa=":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
+ $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;}}",Q$=function Q$(a){if(!$APP.q(a.isConnected))if($APP.n(function(){var E=$APP.X.g($APP.k(a,"__xLiquidFillModel"));return $APP.n(E)?
43
+ E:v$()}()))a.__xLiquidFillRaf=null;else{var c=$APP.k(a,"__xLiquidFillModel"),d=performance.now(),e=Math.min(d-$APP.k(a,"__xLiquidFillLF"),100)/1E3,g=function(){var E=window.getComputedStyle(a).getPropertyValue("--x-liquid-fill-wave-speed");E=typeof E==="string"?parseFloat(E.trim()):null;var H=E==null;H||(H=isNaN(E),H=$APP.n(H)?H:E<=0);return $APP.n(H)?1:E}(),h=$APP.xj.g(c),l=G$.g(c);c=H$.g(c);var m=function(){var E=$APP.k(a,"__xLiquidFillSV");return $APP.n(E)?E:0}(),p=$APP.k(a,"__xLiquidFillWA"),
44
+ r=$APP.k(a,"__xLiquidFillWV"),v=$APP.k(a,"__xLiquidFillWP");a.__xLiquidFillLF=d;$APP.ja(a,"__xLiquidFillTime",function(){var E=$APP.k(a,"__xLiquidFillTime");return $APP.n(E)?E:0}()+e*g);$APP.ja(a,"__xLiquidFillProg",waa(function(){var E=$APP.k(a,"__xLiquidFillProg");return $APP.n(E)?E:0}(),function(){var E=$APP.k(a,"__xLiquidFillTP");return $APP.n(E)?E:0}(),5*e));var x=[!1];for(d=0;;)if(d<h){var y=s$(d,h),A=m*l*c*r$.g(y)*30+2*l*r$.g(y);A=vaa(p[d],A,r[d],e,$APP.km.g(y),$APP.gl.g(y));p[d]=A[0];r[d]=
45
+ A[1];v[d]+=e*g*q$.g(y);Math.abs(r[d])>.05&&(x[0]=!0);d+=1}else break;a.__xLiquidFillSV=m*Math.max(0,1-3*e);M$(a);e=$APP.k(a,"__xLiquidFillProg");Math.abs(e-function(){var E=$APP.k(a,"__xLiquidFillLD");return $APP.n(E)?E:-1}())>.005&&(a.__xLiquidFillLD=e,P$(a,e,m));var C=Math.abs(function(){var E=$APP.k(a,"__xLiquidFillProg");return $APP.n(E)?E:0}()-function(){var E=$APP.k(a,"__xLiquidFillTP");return $APP.n(E)?E:0}());$APP.n(function(){var E=x[0];return $APP.n(E)?E:m>.01||C>.001}())?$APP.ja(a,"__xLiquidFillRaf",
46
+ requestAnimationFrame(function(){return Q$.g?Q$.g(a):Q$.call(null,a)})):a.__xLiquidFillRaf=null}return null};$APP.ha("baredom.exports.x_liquid_fill.init",$$);export const init=$$;