@vanelsas/baredom 2.9.0 → 3.1.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 (128) hide show
  1. package/CHANGELOG.md +35 -0
  2. package/README.md +1 -1
  3. package/custom-elements.json +3393 -2954
  4. package/dist/baredom.d.ts +106 -86
  5. package/dist/base.js +550 -455
  6. package/dist/integrity.json +103 -102
  7. package/dist/x-alert.js +16 -17
  8. package/dist/x-avatar-group.js +9 -9
  9. package/dist/x-avatar.js +14 -15
  10. package/dist/x-badge.js +9 -9
  11. package/dist/x-bento-grid.js +5 -5
  12. package/dist/x-bento-item.js +4 -4
  13. package/dist/x-breadcrumbs.js +14 -13
  14. package/dist/x-button.js +1 -17
  15. package/dist/x-cancel-dialogue.js +14 -13
  16. package/dist/x-card.d.ts +1 -1
  17. package/dist/x-card.js +7 -7
  18. package/dist/x-carousel.d.ts +3 -0
  19. package/dist/x-carousel.js +35 -33
  20. package/dist/x-chart.js +47 -47
  21. package/dist/x-checkbox.js +1 -11
  22. package/dist/x-chip.js +1 -1
  23. package/dist/x-collapse.d.ts +1 -0
  24. package/dist/x-collapse.js +11 -10
  25. package/dist/x-color-picker.js +46 -45
  26. package/dist/x-combobox.d.ts +2 -0
  27. package/dist/x-combobox.js +30 -26
  28. package/dist/x-command-palette.d.ts +3 -0
  29. package/dist/x-command-palette.js +28 -26
  30. package/dist/x-confetti.js +24 -22
  31. package/dist/x-container.js +5 -5
  32. package/dist/x-context-menu.d.ts +4 -0
  33. package/dist/x-context-menu.js +21 -20
  34. package/dist/x-copy.js +20 -20
  35. package/dist/x-currency-field.d.ts +2 -0
  36. package/dist/x-currency-field.js +24 -23
  37. package/dist/x-date-picker.d.ts +3 -0
  38. package/dist/x-date-picker.js +42 -42
  39. package/dist/x-divider.js +10 -9
  40. package/dist/x-drawer.js +11 -10
  41. package/dist/x-dropdown.d.ts +3 -0
  42. package/dist/x-dropdown.js +12 -11
  43. package/dist/x-fieldset.js +6 -5
  44. package/dist/x-file-download.js +7 -7
  45. package/dist/x-file-upload.d.ts +2 -0
  46. package/dist/x-file-upload.js +23 -22
  47. package/dist/x-form-field.js +15 -15
  48. package/dist/x-form.d.ts +4 -0
  49. package/dist/x-form.js +10 -9
  50. package/dist/x-gaussian-blur.js +13 -12
  51. package/dist/x-grid.js +6 -6
  52. package/dist/x-i18n-provider.js +7 -7
  53. package/dist/x-i18n.js +4 -4
  54. package/dist/x-icon.js +7 -7
  55. package/dist/x-image.js +17 -18
  56. package/dist/x-kbd.js +16 -16
  57. package/dist/x-kinetic-canvas.js +26 -25
  58. package/dist/x-kinetic-font.js +27 -27
  59. package/dist/x-kinetic-typography.js +35 -33
  60. package/dist/x-liquid-dock.js +34 -38
  61. package/dist/x-liquid-fill.js +42 -45
  62. package/dist/x-liquid-glass.js +41 -47
  63. package/dist/x-menu-item.js +8 -8
  64. package/dist/x-menu.js +10 -10
  65. package/dist/x-metaball-cursor.js +23 -26
  66. package/dist/x-modal.js +12 -11
  67. package/dist/x-morph-stack.d.ts +4 -0
  68. package/dist/x-morph-stack.js +37 -38
  69. package/dist/x-multi-combobox.js +36 -36
  70. package/dist/x-navbar.js +15 -12
  71. package/dist/x-neural-glow.js +30 -33
  72. package/dist/x-notification-center.d.ts +2 -0
  73. package/dist/x-notification-center.js +9 -9
  74. package/dist/x-organic-divider.js +18 -17
  75. package/dist/x-organic-progress.js +35 -37
  76. package/dist/x-organic-shape.js +14 -13
  77. package/dist/x-otp-input.js +22 -22
  78. package/dist/x-pagination.js +14 -15
  79. package/dist/x-particle-button.js +51 -51
  80. package/dist/x-popover.d.ts +3 -0
  81. package/dist/x-popover.js +27 -26
  82. package/dist/x-progress-circle.d.ts +3 -0
  83. package/dist/x-progress-circle.js +9 -9
  84. package/dist/x-progress.js +8 -10
  85. package/dist/x-proximity-list.js +20 -19
  86. package/dist/x-radio.js +11 -11
  87. package/dist/x-ripple-effect.js +10 -11
  88. package/dist/x-scroll-parallax.js +17 -18
  89. package/dist/x-scroll-stack.js +16 -17
  90. package/dist/x-scroll-story.js +33 -34
  91. package/dist/x-scroll-timeline.js +46 -45
  92. package/dist/x-scroll.d.ts +3 -0
  93. package/dist/x-scroll.js +38 -40
  94. package/dist/x-search-field.d.ts +2 -0
  95. package/dist/x-search-field.js +1 -15
  96. package/dist/x-select.js +1 -11
  97. package/dist/x-sidebar.js +18 -17
  98. package/dist/x-skeleton-group.js +12 -12
  99. package/dist/x-skeleton.js +1 -1
  100. package/dist/x-slider.js +16 -15
  101. package/dist/x-soft-body.js +20 -22
  102. package/dist/x-spacer.js +4 -4
  103. package/dist/x-spinner.js +4 -4
  104. package/dist/x-splash.js +12 -13
  105. package/dist/x-spotlight-card.js +12 -12
  106. package/dist/x-stat.js +10 -10
  107. package/dist/x-stepper.js +13 -14
  108. package/dist/x-switch.js +11 -10
  109. package/dist/x-tab.js +6 -6
  110. package/dist/x-table-cell.js +21 -20
  111. package/dist/x-table-row.js +8 -8
  112. package/dist/x-table.d.ts +32 -32
  113. package/dist/x-table.js +13 -12
  114. package/dist/x-tabs.js +11 -11
  115. package/dist/x-text-area.js +19 -19
  116. package/dist/x-theme.js +25 -25
  117. package/dist/x-timeline-item.js +20 -21
  118. package/dist/x-timeline.js +8 -8
  119. package/dist/x-toast.d.ts +1 -0
  120. package/dist/x-toast.js +22 -23
  121. package/dist/x-toaster.js +7 -8
  122. package/dist/x-tooltip.d.ts +2 -0
  123. package/dist/x-tooltip.js +12 -12
  124. package/dist/x-trace-history.d.ts +242 -0
  125. package/dist/x-trace-history.js +121 -0
  126. package/dist/x-typography.js +9 -9
  127. package/dist/x-welcome-tour.js +63 -60
  128. package/package.json +9 -2
@@ -12,6 +12,8 @@ export interface XNotificationCenter extends HTMLElement {
12
12
  position: string;
13
13
  max: number;
14
14
  readonly count: number;
15
+ push(opts: Record<string, any>): string;
16
+ clear(): void;
15
17
 
16
18
  addEventListener<K extends keyof XNotificationCenterEventMap>(
17
19
  type: K,
@@ -1,10 +1,10 @@
1
1
  import { $APP, shadow$provide } from "./base.js";
2
- var fq=function(a){return typeof a==="string"&&$APP.Vc(eq,a.toLowerCase())?a.toLowerCase():"top-right"},gq=function(a){if(a==null)return 5;a=parseInt(""+$APP.R.i(a),10);return typeof a==="number"&&$APP.p(isNaN(a))&&a>0?a:5},hq=function(a){var b=$APP.k(a,"__xNcRefs");if($APP.n(b))return b;b=a.attachShadow({mode:"open"});var c=document.createElement("style"),d=document.createElement("div");c.textContent=":host{display:block;position:fixed;z-index:var(--x-notification-center-z-index,9999);--x-notification-center-width:360px;--x-notification-center-gap:8px;--x-notification-center-offset-x:16px;--x-notification-center-offset-y:16px;--x-notification-center-z-index:9999;pointer-events:none;}:host([data-position\x3d'top-right']){top:var(--x-notification-center-offset-y);right:var(--x-notification-center-offset-x);}:host([data-position\x3d'top-left']){top:var(--x-notification-center-offset-y);left:var(--x-notification-center-offset-x);}:host([data-position\x3d'bottom-right']){bottom:var(--x-notification-center-offset-y);right:var(--x-notification-center-offset-x);}:host([data-position\x3d'bottom-left']){bottom:var(--x-notification-center-offset-y);left:var(--x-notification-center-offset-x);}:host([data-position\x3d'top-center']){top:var(--x-notification-center-offset-y);left:50%;transform:translateX(-50%);}:host([data-position\x3d'bottom-center']){bottom:var(--x-notification-center-offset-y);left:50%;transform:translateX(-50%);}[part\x3dcontainer]{display:flex;flex-direction:column;gap:var(--x-notification-center-gap);width:var(--x-notification-center-width);pointer-events:auto;}:host([data-position\x3d'bottom-right']) [part\x3dcontainer],:host([data-position\x3d'bottom-left']) [part\x3dcontainer],:host([data-position\x3d'bottom-center']) [part\x3dcontainer]{flex-direction:column-reverse;}";
3
- d.setAttribute("part","container");d.setAttribute("role","log");d.setAttribute("aria-live","polite");b.appendChild(c);b.appendChild(d);a.__xNcRefs={root:b,container:d};return $APP.k(a,"__xNcRefs")},iq=function(a){var b=a.getAttribute("position");b=fq(b);a.setAttribute("data-position",b)},jq=function(a){function b(d){var e=hq(a),f=$APP.k(e,"container"),h=d.target;e=h.getAttribute("data-notification-id");f=f.querySelectorAll("x-alert").length-1;h=h.getAttribute("type");var l=d.detail.reason;d=d.detail.text;
4
- $APP.ah(a,"x-notification-center-dismiss",{id:e,type:$APP.n(h)?h:"info",reason:$APP.n(l)?l:"",text:$APP.n(d)?d:"",count:f});f===0&&$APP.ah(a,"x-notification-center-empty",{});return null}var c=hq(a);$APP.k(c,"root").addEventListener("x-alert-dismiss",b,{capture:!1});$APP.fa(a,"__xNcHandlers",{dismiss:b})},kq=function(a){var b=$APP.k(a,"__xNcHandlers"),c=$APP.k(a,"__xNcRefs");$APP.n($APP.n(b)?c:b)&&(c=$APP.k(c,"root"),b=$APP.k(b,"dismiss"),$APP.n(b)&&c.removeEventListener("x-alert-dismiss",b,{capture:!1}));
5
- a.__xNcHandlers=null},mq=function(a,b){var c=hq(a);c=$APP.k(c,"container");if(c.querySelectorAll("x-alert").length<function(){var r=$APP.k(a,"__xNcMax");return $APP.n(r)?r:5}()){var d=document.createElement("x-alert"),e=function(){var r=$APP.k(b,"id");$APP.n(r)||(r=lq.v,lq.v=r+1,r="xnc-"+$APP.R.i(r));return r}(),f=$APP.k(b,"type"),h=$APP.k(b,"text"),l=$APP.k(b,"icon"),m=$APP.k(b,"timeoutMs"),q=$APP.k(b,"dismissible");d.setAttribute("data-notification-id",e);$APP.n(f)&&d.setAttribute("type",f);$APP.n(h)&&
6
- d.setAttribute("text",h);$APP.n(l)&&d.setAttribute("icon",l);$APP.n(m)&&d.setAttribute("timeout-ms",""+$APP.R.i(m|0));q===!1&&d.setAttribute("dismissible","false");c.appendChild(d);$APP.ah(a,"x-notification-center-push",{id:e,count:c.querySelectorAll("x-alert").length});return e}return null},nq=function(a){Object.defineProperty(a,"position",{get:function(){return fq(this.getAttribute("position"))},set:function(b){return $APP.n(b)?this.setAttribute("position",""+$APP.R.i(b)):this.removeAttribute("position")},
7
- enumerable:!0,configurable:!0});Object.defineProperty(a,"max",{get:function(){return gq(this.getAttribute("max"))},set:function(b){return $APP.n(b)?this.setAttribute("max",""+$APP.R.i(b|0)):this.removeAttribute("max")},enumerable:!0,configurable:!0});Object.defineProperty(a,"count",{get:function(){var b=$APP.k(this,"__xNcRefs");return $APP.n(b)?$APP.k(b,"container").querySelectorAll("x-alert").length:0},enumerable:!0,configurable:!0})},oq=function(a){hq(a);kq(a);jq(a);iq(a);return null},pq=function(a){kq(a);
8
- return null},qq=function(a,b){$APP.B.j(b,"position")?iq(a):$APP.B.j(b,"max")&&(b=gq(a.getAttribute("max")),a.__xNcMax=b);return null},rq=function(a){a.push=function(b){return mq(this,b)};return a.clear=function(){var b=hq(this);b=$APP.t($APP.xc($APP.k(b,"container").querySelectorAll("x-alert")));for(var c=null,d=0,e=0;;)if(e<d)c.G(null,e).remove(),e+=1;else if(b=$APP.t(b))c=b,$APP.Rc(c)?(b=$APP.yb(c),e=$APP.zb(c),c=b,d=$APP.z(b),b=e):($APP.u(c).remove(),b=$APP.x(c),c=null,d=0),e=0;else break;return null}},
9
- tq=function(){return $APP.Wg("x-notification-center",new $APP.P(null,5,[$APP.Mg,sq,$APP.Ng,oq,$APP.Og,pq,$APP.Qg,qq,$APP.Ug,function(a){nq(a);return rq(a)}],null))},uq=function(){return tq()};var sq=["position","max"],eq=new $APP.Q(null,new $APP.P(null,6,["top-center",null,"bottom-center",null,"top-right",null,"bottom-right",null,"top-left",null,"bottom-left",null],null),null);
10
- $APP.Ud(["x-notification-center-push",new $APP.P(null,2,[$APP.Z,new $APP.P(null,2,[$APP.Ym,$APP.V,$APP.hj,$APP.W],null),$APP.Un,!1],null),"x-notification-center-dismiss",new $APP.P(null,2,[$APP.Z,new $APP.P(null,5,[$APP.Ym,$APP.V,$APP.S,$APP.V,$APP.bk,$APP.V,$APP.an,$APP.V,$APP.hj,$APP.W],null),$APP.Un,!1],null),"x-notification-center-empty",new $APP.P(null,2,[$APP.Z,$APP.Vd,$APP.Un,!1],null)]);var lq={v:0};$APP.da("baredom.exports.x_notification_center.init",uq);export const init=uq;
2
+ var ju=function(a){return typeof a==="string"&&$APP.$c(iu,a.toLowerCase())?a.toLowerCase():"top-right"},ku=function(a){if(a==null)return 5;a=parseInt(""+$APP.P.i(a),10);return typeof a==="number"&&$APP.p(isNaN(a))&&a>0?a:5},lu=function(a){var b=$APP.l(a,"__xNcRefs");if($APP.n(b))return b;b=a.attachShadow({mode:"open"});var c=document.createElement("style"),d=document.createElement("div");c.textContent=":host{display:block;position:fixed;z-index:var(--x-notification-center-z-index,9999);--x-notification-center-width:360px;--x-notification-center-gap:8px;--x-notification-center-offset-x:16px;--x-notification-center-offset-y:16px;--x-notification-center-z-index:9999;pointer-events:none;}:host([data-position\x3d'top-right']){top:var(--x-notification-center-offset-y);right:var(--x-notification-center-offset-x);}:host([data-position\x3d'top-left']){top:var(--x-notification-center-offset-y);left:var(--x-notification-center-offset-x);}:host([data-position\x3d'bottom-right']){bottom:var(--x-notification-center-offset-y);right:var(--x-notification-center-offset-x);}:host([data-position\x3d'bottom-left']){bottom:var(--x-notification-center-offset-y);left:var(--x-notification-center-offset-x);}:host([data-position\x3d'top-center']){top:var(--x-notification-center-offset-y);left:50%;transform:translateX(-50%);}:host([data-position\x3d'bottom-center']){bottom:var(--x-notification-center-offset-y);left:50%;transform:translateX(-50%);}[part\x3dcontainer]{display:flex;flex-direction:column;gap:var(--x-notification-center-gap);width:var(--x-notification-center-width);pointer-events:auto;}:host([data-position\x3d'bottom-right']) [part\x3dcontainer],:host([data-position\x3d'bottom-left']) [part\x3dcontainer],:host([data-position\x3d'bottom-center']) [part\x3dcontainer]{flex-direction:column-reverse;}";
3
+ $APP.T(d,"part","container");$APP.T(d,"role","log");$APP.T(d,"aria-live","polite");b.appendChild(c);b.appendChild(d);$APP.R(a,"__xNcRefs",{root:b,container:d});return $APP.l(a,"__xNcRefs")},mu=function(a){var b=a.getAttribute("position");b=ju(b);return $APP.T(a,"data-position",b)},nu=function(a){function b(d){var e=lu(a),f=$APP.l(e,"container"),h=d.target;e=h.getAttribute("data-notification-id");f=f.querySelectorAll("x-alert").length-1;h=h.getAttribute("type");var k=d.detail.reason;d=d.detail.text;
4
+ $APP.pi(a,"x-notification-center-dismiss",{id:e,type:$APP.n(h)?h:"info",reason:$APP.n(k)?k:"",text:$APP.n(d)?d:"",count:f});return f===0?$APP.pi(a,"x-notification-center-empty",{}):null}var c=lu(a);$APP.l(c,"root").addEventListener("x-alert-dismiss",b,{capture:!1});$APP.R(a,"__xNcHandlers",{dismiss:b})},ou=function(a){var b=$APP.l(a,"__xNcHandlers"),c=$APP.l(a,"__xNcRefs");$APP.n($APP.n(b)?c:b)&&(c=$APP.l(c,"root"),b=$APP.l(b,"dismiss"),$APP.n(b)&&c.removeEventListener("x-alert-dismiss",b,{capture:!1}));
5
+ return $APP.R(a,"__xNcHandlers",null)},qu=function(a,b){var c=lu(a);c=$APP.l(c,"container");if(c.querySelectorAll("x-alert").length<function(){var u=$APP.l(a,"__xNcMax");return $APP.n(u)?u:5}()){var d=document.createElement("x-alert"),e=function(){var u=$APP.l(b,"id");$APP.n(u)||(u=pu.v,pu.v=u+1,u="xnc-"+$APP.P.i(u));return u}(),f=$APP.l(b,"type"),h=$APP.l(b,"text"),k=$APP.l(b,"icon"),m=$APP.l(b,"timeoutMs"),q=$APP.l(b,"dismissible");$APP.T(d,"data-notification-id",e);$APP.n(f)&&$APP.T(d,"type",f);
6
+ $APP.n(h)&&$APP.T(d,"text",h);$APP.n(k)&&$APP.T(d,"icon",k);$APP.n(m)&&$APP.T(d,"timeout-ms",""+$APP.P.i(m|0));q===!1&&$APP.T(d,"dismissible","false");c.appendChild(d);$APP.pi(a,"x-notification-center-push",{id:e,count:c.querySelectorAll("x-alert").length});return e}return null},ru=function(a){Object.defineProperty(a,"position",{get:function(){return ju(this.getAttribute("position"))},set:function(b){return $APP.n(b)?$APP.T(this,"position",""+$APP.P.i(b)):$APP.U(this,"position")},enumerable:!0,configurable:!0});
7
+ Object.defineProperty(a,"max",{get:function(){return ku(this.getAttribute("max"))},set:function(b){return $APP.n(b)?$APP.T(this,"max",""+$APP.P.i(b|0)):$APP.U(this,"max")},enumerable:!0,configurable:!0});Object.defineProperty(a,"count",{get:function(){var b=$APP.l(this,"__xNcRefs");return $APP.n(b)?$APP.l(b,"container").querySelectorAll("x-alert").length:0},enumerable:!0,configurable:!0})},su=function(a){lu(a);ou(a);nu(a);return mu(a)},tu=function(a){return ou(a)},uu=function(a,b){return $APP.y.j(b,
8
+ "position")?mu(a):$APP.y.j(b,"max")?$APP.R(a,"__xNcMax",ku(a.getAttribute("max"))):null},vu=function(a){Object.defineProperty(a,"push",{value:function(b){return qu(this,b)},writable:!0,configurable:!0});return Object.defineProperty(a,"clear",{value:function(){a:{var b=lu(this);b=$APP.r($APP.Ac($APP.l(b,"container").querySelectorAll("x-alert")));for(var c=null,d=0,e=0;;)if(e<d){var f=c.F(null,e);f.remove();e+=1}else if(b=$APP.r(b))c=b,$APP.Wc(c)?(b=$APP.Cb(c),d=$APP.Db(c),c=b,f=$APP.w(b),b=d,d=f):
9
+ (f=$APP.t(c),f.remove(),b=$APP.v(c),c=null,d=0),e=0;else{b=null;break a}b=void 0}return b},writable:!0,configurable:!0})},xu=function(){return $APP.Kh("x-notification-center",new $APP.N(null,5,[$APP.Bh,wu,$APP.zh,su,$APP.qh,tu,$APP.ph,uu,$APP.Ah,function(a){ru(a);return vu(a)}],null))},yu=function(){return xu()};var wu=["position","max"],iu=new $APP.rg(null,new $APP.N(null,6,["top-center",null,"bottom-center",null,"top-right",null,"bottom-right",null,"top-left",null,"bottom-left",null],null),null);
10
+ $APP.be(["x-notification-center-push",new $APP.N(null,2,[$APP.V,new $APP.N(null,2,[$APP.ar,$APP.Y,$APP.gn,$APP.Z],null),$APP.Mr,!1],null),"x-notification-center-dismiss",new $APP.N(null,2,[$APP.V,new $APP.N(null,5,[$APP.ar,$APP.Y,$APP.O,$APP.Y,$APP.$n,$APP.Y,$APP.cr,$APP.Y,$APP.gn,$APP.Z],null),$APP.Mr,!1],null),"x-notification-center-empty",new $APP.N(null,2,[$APP.V,$APP.ce,$APP.Mr,!1],null)]);var pu={v:0};$APP.fa("baredom.exports.x_notification_center.init",yu);export const init=yu;
@@ -1,18 +1,19 @@
1
1
  import { $APP, shadow$provide } from "./base.js";
2
- var p_=function(a){return typeof a==="string"&&$APP.Vc(o_,a)?a:"wave"},s_=function(a){return $APP.ne(function(b){return new $APP.P(null,2,[q_,b*20,r_,b*8],null)},$APP.mg(0,a))},B_=function(a){var b=new $APP.P(null,7,[$APP.zl,a.getAttribute("shape"),$APP.rk,a.getAttribute("layers"),$APP.ki,a.getAttribute("height"),t_,a.getAttribute("flip"),u_,a.getAttribute("mirror"),$APP.ii,a.getAttribute("animation"),$APP.um,a.getAttribute("path")],null);var c=$APP.H(b),d=$APP.C(c,$APP.zl),e=$APP.C(c,$APP.rk);b=
3
- $APP.C(c,$APP.ki);var f=$APP.C(c,t_),h=$APP.C(c,u_),l=$APP.C(c,$APP.ii);c=$APP.C(c,$APP.um);c=$APP.uh(c);d=p_(d);e=typeof e==="string"?parseInt(e,10):null;var m=e==null;m||(m=isNaN(e),m=$APP.n(m)?m:e<1);e=$APP.n(m)?1:e>5?5:e;var q=typeof l==="string"&&$APP.Vc(v_,l)?l:"none";l=c!=null?c:$APP.pe(w_,new $APP.N(null,2,5,$APP.O,[p_(d),$APP.um],null));m=c==null?$APP.pe(w_,new $APP.N(null,2,5,$APP.O,[p_(d),x_],null)):null;var r=c!=null?c:$APP.C(y_,p_(d));q=$APP.B.j(q,"morph")&&m==null?"none":q;f=f!=null;
4
- var v=s_(e);h=h!=null;b=typeof b==="string"&&$APP.M("",b.trim())?b.trim():"120px";b=$APP.Hf([$APP.um,$APP.jl,$APP.ii,t_,z_,x_,$APP.zl,$APP.rk,u_,$APP.ki,A_],[c,l,q,f,v,m,d,e,h,b,r]);l=$APP.H(b);b=$APP.C(l,u_);h=$APP.C(l,$APP.ki);v=$APP.C(l,A_);var w=$APP.C(l,$APP.jl);c=$APP.C(l,$APP.ii);d=$APP.C(l,t_);f=$APP.C(l,z_);e=$APP.C(l,x_);l=$APP.C(l,$APP.rk);m=$APP.k(a,"__xOrganicDividerBase");var y=$APP.k(a,"__xOrganicDividerSvg");r=$APP.k(a,"__xOrganicDividerPaths");var A=$APP.B.j(c,"drift");q=$APP.B.j(c,
5
- "morph");v=A?v:w;y.setAttribute("viewBox",A?"0 0 1800 120":"0 0 1200 120");a:if(w=r.length,w<l)for(w=l-w,A=0;;)if(A<w){var D=document.createElementNS("http://www.w3.org/2000/svg","path");y.appendChild(D);r.push(D);A+=1}else break a;else if(w>l)for(w-=l,A=0;;)if(A<w)D=r.pop(),y.removeChild(D),A+=1;else break a;for(y=0;;)if(y<l){w=r[y];A=$APP.sc(f,y);D=$APP.H(A);A=$APP.C(D,q_);D=$APP.C(D,r_);var G=y+1;w.setAttribute("d",v);w.setAttribute("fill","var(--x-organic-divider-color-"+$APP.R.i(G)+")");w.setAttribute("opacity",
6
- ""+$APP.R.i(l<=1?1:.3+y/(l-1)*.7));A>0||D>0?w.setAttribute("transform","translate("+$APP.R.i(A)+","+$APP.R.i(D)+")"):w.removeAttribute("transform");q&&(w.style.setProperty("--x-organic-divider-d",'path("'+$APP.R.i(v)+'")'),$APP.n(e)&&w.style.setProperty("--x-organic-divider-d-alt",'path("'+$APP.R.i(e)+'")'));q||(w.style.removeProperty("--x-organic-divider-d"),w.style.removeProperty("--x-organic-divider-d-alt"));y+=1}else break;m.style.setProperty("height",h);$APP.n(d)?a.setAttribute("data-flip",""):
7
- a.removeAttribute("data-flip");$APP.n(b)?a.setAttribute("data-mirror",""):a.removeAttribute("data-mirror");$APP.M(c,"none")?a.setAttribute("data-animation",c):a.removeAttribute("data-animation")},C_=function(a){if(!$APP.n($APP.k(a,"__xOrganicDividerInit"))){var b=a.attachShadow({mode:"open"}),c=document.createElement("style"),d=document.createElement("div"),e=document.createElementNS("http://www.w3.org/2000/svg","svg");c.textContent=":host{display:block;box-sizing:border-box;color-scheme:light dark;line-height:0;font-size:0;overflow:hidden;--x-organic-divider-color:var(--x-color-primary,#6366f1);--x-organic-divider-color-1:color-mix(in srgb,var(--x-organic-divider-color) 15%,transparent);--x-organic-divider-color-2:color-mix(in srgb,var(--x-organic-divider-color) 25%,transparent);--x-organic-divider-color-3:color-mix(in srgb,var(--x-organic-divider-color) 40%,transparent);--x-organic-divider-color-4:color-mix(in srgb,var(--x-organic-divider-color) 60%,transparent);--x-organic-divider-color-5:color-mix(in srgb,var(--x-organic-divider-color) 85%,transparent);--x-organic-divider-height:120px;--x-organic-divider-animate-duration:6s;--x-organic-divider-animate-timing:ease-in-out;}@media (prefers-color-scheme:dark){:host{--x-organic-divider-color:var(--x-color-primary,#818cf8);}}[part\x3dbase]{width:100%;position:relative;overflow:hidden;}[part\x3dbase] svg{display:block;width:100%;height:100%;}:host([data-flip]) [part\x3dbase]{transform:scaleY(-1);}:host([data-mirror]) [part\x3dbase]{transform:scaleX(-1);}:host([data-flip][data-mirror]) [part\x3dbase]{transform:scaleX(-1) scaleY(-1);}@keyframes x-organic-divider-drift{0%{transform:translateX(0);}100%{transform:translateX(-33.333%);}}:host([data-animation\x3ddrift]) [part\x3dbase] svg{width:150%;animation:x-organic-divider-drift var(--x-organic-divider-animate-duration) linear infinite;}@keyframes x-organic-divider-morph{0%,100%{d:var(--x-organic-divider-d);}50%{d:var(--x-organic-divider-d-alt);}}:host([data-animation\x3dmorph]) [part\x3dbase] path{animation:x-organic-divider-morph var(--x-organic-divider-animate-duration) var(--x-organic-divider-animate-timing) infinite;}@media (prefers-reduced-motion:reduce){:host([data-animation]) [part\x3dbase] svg,:host([data-animation]) [part\x3dbase] path{animation:none;}}";
8
- d.setAttribute("part","base");e.setAttribute("xmlns","http://www.w3.org/2000/svg");e.setAttribute("preserveAspectRatio","none");e.setAttribute("aria-hidden","true");d.appendChild(e);b.appendChild(c);b.appendChild(d);a.setAttribute("role","presentation");a.setAttribute("aria-hidden","true");a.__xOrganicDividerBase=d;a.__xOrganicDividerSvg=e;a.__xOrganicDividerPaths=[];a.__xOrganicDividerInit=!0}B_(a);return null},D_=function(a,b,c,d){$APP.M(c,d)&&$APP.n($APP.k(a,"__xOrganicDividerInit"))&&B_(a);return null},
9
- E_=function(a){Object.defineProperty(a,"shape",{get:function(){var b=this.getAttribute("shape");return $APP.n(b)?b:"wave"},set:function(b){return typeof b==="string"&&$APP.M("",b)?this.setAttribute("shape",b):this.removeAttribute("shape")},enumerable:!0,configurable:!0});Object.defineProperty(a,"layers",{get:function(){var b=this.getAttribute("layers");return $APP.n(b)?b:"1"},set:function(b){return typeof b==="string"&&$APP.M("",b)?this.setAttribute("layers",b):this.removeAttribute("layers")},enumerable:!0,
10
- configurable:!0});Object.defineProperty(a,"height",{get:function(){var b=this.getAttribute("height");return $APP.n(b)?b:"120px"},set:function(b){return typeof b==="string"&&$APP.M("",b)?this.setAttribute("height",b):this.removeAttribute("height")},enumerable:!0,configurable:!0});$APP.ch(a,"flip","flip");$APP.ch(a,"mirror","mirror");Object.defineProperty(a,"animation",{get:function(){var b=this.getAttribute("animation");return $APP.n(b)?b:"none"},set:function(b){return typeof b==="string"&&$APP.M("",
11
- b)?this.setAttribute("animation",b):this.removeAttribute("animation")},enumerable:!0,configurable:!0});return Object.defineProperty(a,"path",{get:function(){return this.getAttribute("path")},set:function(b){return typeof b==="string"&&$APP.M("",b)?this.setAttribute("path",b):this.removeAttribute("path")},enumerable:!0,configurable:!0})},G_=function(){return $APP.Wg("x-organic-divider",new $APP.P(null,4,[$APP.Mg,F_,$APP.Ng,C_,$APP.Qg,D_,$APP.Ug,E_],null))},t_=new $APP.F(null,"flip","flip",2033871302),
12
- z_=new $APP.F(null,"transforms","transforms",793344554),q_=new $APP.F(null,"x-offset","x-offset",-1499732449),x_=new $APP.F(null,"path-alt","path-alt",1724994068),r_=new $APP.F(null,"y-offset","y-offset",-1716542),A_=new $APP.F(null,"drift-d","drift-d",-1241526977),u_=new $APP.F(null,"mirror","mirror",1914600218);var F_="shape layers height flip mirror animation path".split(" "),v_=new $APP.Q(null,new $APP.P(null,3,["none",null,"drift",null,"morph",null],null),null),o_=new $APP.Q(null,new $APP.P(null,8,["drip",null,"cloud",null,"scallop",null,"waves",null,"mountain",null,"slant",null,"blob-edge",null,"wave",null],null),null),w_=new $APP.P(null,8,["wave",new $APP.P(null,2,[$APP.um,"M0,60 C200,20 400,100 600,60 C800,20 1000,100 1200,60 L1200,120 L0,120 Z",x_,"M0,45 C200,85 400,15 600,55 C800,90 1000,10 1200,50 L1200,120 L0,120 Z"],
13
- null),"waves",new $APP.P(null,2,[$APP.um,"M0,40 C150,80 300,0 450,40 C600,80 750,10 900,50 C1050,90 1150,30 1200,50 L1200,120 L0,120 Z",x_,"M0,55 C150,15 300,85 450,50 C600,10 750,80 900,35 C1050,5 1150,75 1200,40 L1200,120 L0,120 Z"],null),"blob-edge",new $APP.P(null,2,[$APP.um,"M0,50 C80,30 160,70 240,45 C320,20 400,80 500,55 C600,30 680,75 780,40 C880,5 960,65 1060,50 C1120,40 1180,60 1200,45 L1200,120 L0,120 Z",x_,"M0,40 C80,65 160,25 240,60 C320,80 400,20 500,45 C600,70 680,15 780,55 C880,75 960,10 1060,35 C1120,55 1180,30 1200,55 L1200,120 L0,120 Z"],
14
- null),"mountain",new $APP.P(null,2,[$APP.um,"M0,90 C100,90 200,30 350,30 C500,30 450,85 600,85 C750,85 700,15 850,15 C1000,15 950,80 1100,80 C1150,80 1200,60 1200,60 L1200,120 L0,120 Z",x_,"M0,80 C100,80 200,45 350,45 C500,45 450,75 600,75 C750,75 700,30 850,30 C1000,30 950,70 1100,70 C1150,70 1200,50 1200,50 L1200,120 L0,120 Z"],null),"drip",new $APP.P(null,2,[$APP.um,"M0,20 C50,20 100,20 150,20 C175,20 185,60 200,80 C215,100 225,100 240,80 C255,60 265,20 290,20 L450,20 C475,20 485,50 500,70 C515,90 525,90 540,70 C555,50 565,20 590,20 L800,20 C825,20 835,70 850,90 C865,110 875,110 890,90 C905,70 915,20 940,20 L1200,20 L1200,120 L0,120 Z",
15
- x_,"M0,20 C50,20 100,20 170,20 C195,20 205,55 220,72 C235,90 245,90 260,72 C275,55 285,20 310,20 L470,20 C495,20 505,45 520,62 C535,80 545,80 560,62 C575,45 585,20 610,20 L820,20 C845,20 855,65 870,85 C885,105 895,105 910,85 C925,65 935,20 960,20 L1200,20 L1200,120 L0,120 Z"],null),"slant",new $APP.P(null,2,[$APP.um,"M0,100 C300,90 600,30 900,10 C1000,5 1100,2 1200,0 L1200,120 L0,120 Z",x_,"M0,80 C300,70 600,50 900,30 C1000,20 1100,10 1200,20 L1200,120 L0,120 Z"],null),"scallop",new $APP.P(null,2,
16
- [$APP.um,"M0,60 Q75,0 150,60 Q225,120 300,60 Q375,0 450,60 Q525,120 600,60 Q675,0 750,60 Q825,120 900,60 Q975,0 1050,60 Q1125,120 1200,60 L1200,120 L0,120 Z",x_,"M0,50 Q75,110 150,50 Q225,-10 300,50 Q375,110 450,50 Q525,-10 600,50 Q675,110 750,50 Q825,-10 900,50 Q975,110 1050,50 Q1125,-10 1200,50 L1200,120 L0,120 Z"],null),"cloud",new $APP.P(null,2,[$APP.um,"M0,80 C50,80 80,40 140,40 C180,40 200,60 220,60 C240,60 260,20 320,20 C380,20 400,50 440,50 C480,50 500,10 560,10 C620,10 640,40 700,40 C760,40 780,25 840,25 C900,25 920,55 960,55 C1000,55 1040,30 1100,30 C1140,30 1180,60 1200,60 L1200,120 L0,120 Z",
17
- x_,"M0,70 C50,70 80,50 140,50 C180,50 200,70 220,70 C240,70 260,30 320,30 C380,30 400,60 440,60 C480,60 500,20 560,20 C620,20 640,50 700,50 C760,50 780,35 840,35 C900,35 920,65 960,65 C1000,65 1040,40 1100,40 C1140,40 1180,70 1200,70 L1200,120 L0,120 Z"],null)],null),y_=new $APP.P(null,8,"wave;M0,60 C200,20 400,100 600,60 C800,20 1000,100 1200,60 C1400,20 1600,100 1800,60 L1800,120 L0,120 Z;waves;M0,40 C150,80 300,0 450,40 C600,80 750,10 900,50 C1050,90 1150,30 1200,50 C1350,80 1500,0 1650,40 C1800,80 1800,50 1800,50 L1800,120 L0,120 Z;blob-edge;M0,50 C80,30 160,70 240,45 C320,20 400,80 500,55 C600,30 680,75 780,40 C880,5 960,65 1060,50 C1120,40 1180,60 1200,45 C1280,30 1360,70 1440,45 C1520,20 1600,80 1700,55 C1800,30 1800,50 1800,50 L1800,120 L0,120 Z;mountain;M0,90 C100,90 200,30 350,30 C500,30 450,85 600,85 C750,85 700,15 850,15 C1000,15 950,80 1100,80 C1150,80 1200,60 1300,60 C1400,60 1400,30 1500,30 C1600,30 1550,80 1700,80 C1750,80 1800,60 1800,60 L1800,120 L0,120 Z;drip;M0,20 C50,20 100,20 150,20 C175,20 185,60 200,80 C215,100 225,100 240,80 C255,60 265,20 290,20 L450,20 C475,20 485,50 500,70 C515,90 525,90 540,70 C555,50 565,20 590,20 L800,20 C825,20 835,70 850,90 C865,110 875,110 890,90 C905,70 915,20 940,20 L1200,20 C1225,20 1235,60 1250,80 C1265,100 1275,100 1290,80 C1305,60 1315,20 1340,20 L1500,20 C1525,20 1535,50 1550,70 C1565,90 1575,90 1590,70 C1605,50 1615,20 1640,20 L1800,20 L1800,120 L0,120 Z;slant;M0,100 C300,90 600,30 900,10 C1000,5 1100,2 1200,0 C1300,2 1500,90 1800,100 L1800,120 L0,120 Z;scallop;M0,60 Q75,0 150,60 Q225,120 300,60 Q375,0 450,60 Q525,120 600,60 Q675,0 750,60 Q825,120 900,60 Q975,0 1050,60 Q1125,120 1200,60 Q1275,0 1350,60 Q1425,120 1500,60 Q1575,0 1650,60 Q1725,120 1800,60 L1800,120 L0,120 Z;cloud;M0,80 C50,80 80,40 140,40 C180,40 200,60 220,60 C240,60 260,20 320,20 C380,20 400,50 440,50 C480,50 500,10 560,10 C620,10 640,40 700,40 C760,40 780,25 840,25 C900,25 920,55 960,55 C1000,55 1040,30 1100,30 C1140,30 1180,60 1200,60 C1240,60 1260,20 1320,20 C1380,20 1400,50 1440,50 C1480,50 1500,10 1560,10 C1620,10 1640,40 1700,40 C1760,40 1780,60 1800,60 L1800,120 L0,120 Z".split(";"),
18
- null);$APP.da("baredom.exports.x_organic_divider.init",G_);export const init=G_;
2
+ var e0=function(a){return typeof a==="string"&&$APP.$c(Dha,a)?a:"wave"},Eha=function(a){return $APP.xe(function(b){return new $APP.N(null,2,[f0,b*20,g0,b*8],null)},$APP.Jg(0,a))},n0=function(a){var b=new $APP.N(null,7,[$APP.Ep,a.getAttribute("shape"),$APP.qo,a.getAttribute("layers"),$APP.Wl,a.getAttribute("height"),h0,a.getAttribute("flip"),i0,a.getAttribute("mirror"),$APP.Ul,a.getAttribute("animation"),$APP.xq,a.getAttribute("path")],null);var c=$APP.H(b),d=$APP.C(c,$APP.Ep),e=$APP.C(c,$APP.qo),
3
+ f=$APP.C(c,$APP.Wl);b=$APP.C(c,h0);var h=$APP.C(c,i0),k=$APP.C(c,$APP.Ul);c=$APP.C(c,$APP.xq);c=$APP.Yh(c);d=e0(d);e=typeof e==="string"?parseInt(e,10):null;var m=e==null;m||(m=isNaN(e),m=$APP.n(m)?m:e<1);e=$APP.n(m)?1:e>5?5:e;var q=typeof k==="string"&&$APP.$c(Fha,k)?k:"none";k=c!=null?c:$APP.ze(j0,new $APP.K(null,2,5,$APP.M,[e0(d),$APP.xq],null));m=c==null?$APP.ze(j0,new $APP.K(null,2,5,$APP.M,[e0(d),k0],null)):null;var u=c!=null?c:$APP.C(Gha,e0(d));q=$APP.y.j(q,"morph")&&m==null?"none":q;var x=
4
+ Eha(e);f=typeof f==="string"&&$APP.I("",f.trim())?f.trim():"120px";b=$APP.Yf([$APP.xq,$APP.pp,$APP.Ul,h0,l0,k0,$APP.Ep,$APP.qo,i0,$APP.Wl,m0],[c,k,q,b!=null,x,m,d,e,h!=null,f,u]);if($APP.I(b,$APP.l(a,"__xOrganicDividerModel"))){b=$APP.H(b);u=$APP.C(b,$APP.pp);h=$APP.C(b,k0);var z=$APP.C(b,m0);f=$APP.C(b,$APP.qo);c=$APP.C(b,l0);d=$APP.C(b,$APP.Wl);m=$APP.C(b,$APP.Ul);k=$APP.l(a,"__xOrganicDividerBase");q=$APP.l(a,"__xOrganicDividerSvg");e=$APP.l(a,"__xOrganicDividerPaths");x=$APP.y.j(m,"drift");m=
5
+ $APP.y.j(m,"morph");u=x?z:u;$APP.T(q,"viewBox",x?"0 0 1800 120":"0 0 1200 120");x=e.length;if(x<f)for(x=f-x,z=0;;)if(z<x){var A=document.createElementNS("http://www.w3.org/2000/svg","path");q.appendChild(A);e.push(A);z+=1}else break;else if(x>f)for(x-=f,z=0;;)if(z<x)A=e.pop(),q.removeChild(A),z+=1;else break;for(q=0;;)if(q<f){x=e[q];z=$APP.vc(c,q);A=$APP.H(z);z=$APP.C(A,f0);A=$APP.C(A,g0);var D=q+1;$APP.T(x,"d",u);$APP.T(x,"fill","var(--x-organic-divider-color-"+$APP.P.i(D)+")");$APP.T(x,"opacity",
6
+ ""+$APP.P.i(f<=1?1:.3+q/(f-1)*.7));z>0||A>0?$APP.T(x,"transform","translate("+$APP.P.i(z)+","+$APP.P.i(A)+")"):$APP.U(x,"transform");$APP.n(m)?(x.style.setProperty("--x-organic-divider-d",'path("'+$APP.P.i(u)+'")'),$APP.n(h)&&x.style.setProperty("--x-organic-divider-d-alt",'path("'+$APP.P.i(h)+'")')):(x.style.removeProperty("--x-organic-divider-d"),x.style.removeProperty("--x-organic-divider-d-alt"));q+=1}else break;k.style.setProperty("height",d);c=$APP.H(b);h=$APP.C(c,h0);f=$APP.C(c,i0);c=$APP.C(c,
7
+ $APP.Ul);$APP.n(h)?$APP.T(a,"data-flip",""):$APP.U(a,"data-flip");$APP.n(f)?$APP.T(a,"data-mirror",""):$APP.U(a,"data-mirror");$APP.I(c,"none")?$APP.T(a,"data-animation",c):$APP.U(a,"data-animation");a=$APP.R(a,"__xOrganicDividerModel",b)}else a=null;return a},Hha=function(a){if(!$APP.n($APP.l(a,"__xOrganicDividerInit"))){var b=a.attachShadow({mode:"open"}),c=document.createElement("style"),d=document.createElement("div"),e=document.createElementNS("http://www.w3.org/2000/svg","svg");c.textContent=
8
+ ":host{display:block;box-sizing:border-box;color-scheme:light dark;line-height:0;font-size:0;overflow:hidden;--x-organic-divider-color:var(--x-color-primary,#6366f1);--x-organic-divider-color-1:color-mix(in srgb,var(--x-organic-divider-color) 15%,transparent);--x-organic-divider-color-2:color-mix(in srgb,var(--x-organic-divider-color) 25%,transparent);--x-organic-divider-color-3:color-mix(in srgb,var(--x-organic-divider-color) 40%,transparent);--x-organic-divider-color-4:color-mix(in srgb,var(--x-organic-divider-color) 60%,transparent);--x-organic-divider-color-5:color-mix(in srgb,var(--x-organic-divider-color) 85%,transparent);--x-organic-divider-height:120px;--x-organic-divider-animate-duration:6s;--x-organic-divider-animate-timing:ease-in-out;}@media (prefers-color-scheme:dark){:host{--x-organic-divider-color:var(--x-color-primary,#818cf8);}}[part\x3dbase]{width:100%;position:relative;overflow:hidden;}[part\x3dbase] svg{display:block;width:100%;height:100%;}:host([data-flip]) [part\x3dbase]{transform:scaleY(-1);}:host([data-mirror]) [part\x3dbase]{transform:scaleX(-1);}:host([data-flip][data-mirror]) [part\x3dbase]{transform:scaleX(-1) scaleY(-1);}@keyframes x-organic-divider-drift{0%{transform:translateX(0);}100%{transform:translateX(-33.333%);}}:host([data-animation\x3ddrift]) [part\x3dbase] svg{width:150%;animation:x-organic-divider-drift var(--x-organic-divider-animate-duration) linear infinite;}@keyframes x-organic-divider-morph{0%,100%{d:var(--x-organic-divider-d);}50%{d:var(--x-organic-divider-d-alt);}}:host([data-animation\x3dmorph]) [part\x3dbase] path{animation:x-organic-divider-morph var(--x-organic-divider-animate-duration) var(--x-organic-divider-animate-timing) infinite;}@media (prefers-reduced-motion:reduce){:host([data-animation]) [part\x3dbase] svg,:host([data-animation]) [part\x3dbase] path{animation:none;}}";
9
+ $APP.T(d,"part","base");$APP.T(e,"xmlns","http://www.w3.org/2000/svg");$APP.T(e,"preserveAspectRatio","none");$APP.T(e,"aria-hidden","true");d.appendChild(e);b.appendChild(c);b.appendChild(d);$APP.T(a,"role","presentation");$APP.T(a,"aria-hidden","true");$APP.R(a,"__xOrganicDividerBase",d);$APP.R(a,"__xOrganicDividerSvg",e);$APP.R(a,"__xOrganicDividerPaths",[]);$APP.R(a,"__xOrganicDividerInit",!0)}return n0(a)},Iha=function(a,b,c,d){return $APP.I(c,d)?$APP.n($APP.l(a,"__xOrganicDividerInit"))?n0(a):
10
+ null:null},Jha=function(a){Object.defineProperty(a,"shape",{get:function(){var b=this.getAttribute("shape");return $APP.n(b)?b:"wave"},set:function(b){return typeof b==="string"&&$APP.I("",b)?$APP.T(this,"shape",b):$APP.U(this,"shape")},enumerable:!0,configurable:!0});Object.defineProperty(a,"layers",{get:function(){var b=this.getAttribute("layers");return $APP.n(b)?b:"1"},set:function(b){return typeof b==="string"&&$APP.I("",b)?$APP.T(this,"layers",b):$APP.U(this,"layers")},enumerable:!0,configurable:!0});
11
+ Object.defineProperty(a,"height",{get:function(){var b=this.getAttribute("height");return $APP.n(b)?b:"120px"},set:function(b){return typeof b==="string"&&$APP.I("",b)?$APP.T(this,"height",b):$APP.U(this,"height")},enumerable:!0,configurable:!0});$APP.ui(a,"flip","flip");$APP.ui(a,"mirror","mirror");Object.defineProperty(a,"animation",{get:function(){var b=this.getAttribute("animation");return $APP.n(b)?b:"none"},set:function(b){return typeof b==="string"&&$APP.I("",b)?$APP.T(this,"animation",b):
12
+ $APP.U(this,"animation")},enumerable:!0,configurable:!0});return Object.defineProperty(a,"path",{get:function(){return this.getAttribute("path")},set:function(b){return typeof b==="string"&&$APP.I("",b)?$APP.T(this,"path",b):$APP.U(this,"path")},enumerable:!0,configurable:!0})},o0=function(){return $APP.Kh("x-organic-divider",new $APP.N(null,4,[$APP.Bh,Kha,$APP.zh,Hha,$APP.ph,Iha,$APP.Ah,Jha],null))},h0=new $APP.F(null,"flip","flip",2033871302),l0=new $APP.F(null,"transforms","transforms",793344554),
13
+ f0=new $APP.F(null,"x-offset","x-offset",-1499732449),k0=new $APP.F(null,"path-alt","path-alt",1724994068),g0=new $APP.F(null,"y-offset","y-offset",-1716542),m0=new $APP.F(null,"drift-d","drift-d",-1241526977),i0=new $APP.F(null,"mirror","mirror",1914600218);var Kha="shape layers height flip mirror animation path".split(" "),Fha=new $APP.rg(null,new $APP.N(null,3,["none",null,"drift",null,"morph",null],null),null),Dha=new $APP.rg(null,new $APP.N(null,8,["drip",null,"cloud",null,"scallop",null,"waves",null,"mountain",null,"slant",null,"blob-edge",null,"wave",null],null),null),j0=new $APP.N(null,8,["wave",new $APP.N(null,2,[$APP.xq,"M0,60 C200,20 400,100 600,60 C800,20 1000,100 1200,60 L1200,120 L0,120 Z",k0,"M0,45 C200,85 400,15 600,55 C800,90 1000,10 1200,50 L1200,120 L0,120 Z"],
14
+ null),"waves",new $APP.N(null,2,[$APP.xq,"M0,40 C150,80 300,0 450,40 C600,80 750,10 900,50 C1050,90 1150,30 1200,50 L1200,120 L0,120 Z",k0,"M0,55 C150,15 300,85 450,50 C600,10 750,80 900,35 C1050,5 1150,75 1200,40 L1200,120 L0,120 Z"],null),"blob-edge",new $APP.N(null,2,[$APP.xq,"M0,50 C80,30 160,70 240,45 C320,20 400,80 500,55 C600,30 680,75 780,40 C880,5 960,65 1060,50 C1120,40 1180,60 1200,45 L1200,120 L0,120 Z",k0,"M0,40 C80,65 160,25 240,60 C320,80 400,20 500,45 C600,70 680,15 780,55 C880,75 960,10 1060,35 C1120,55 1180,30 1200,55 L1200,120 L0,120 Z"],
15
+ null),"mountain",new $APP.N(null,2,[$APP.xq,"M0,90 C100,90 200,30 350,30 C500,30 450,85 600,85 C750,85 700,15 850,15 C1000,15 950,80 1100,80 C1150,80 1200,60 1200,60 L1200,120 L0,120 Z",k0,"M0,80 C100,80 200,45 350,45 C500,45 450,75 600,75 C750,75 700,30 850,30 C1000,30 950,70 1100,70 C1150,70 1200,50 1200,50 L1200,120 L0,120 Z"],null),"drip",new $APP.N(null,2,[$APP.xq,"M0,20 C50,20 100,20 150,20 C175,20 185,60 200,80 C215,100 225,100 240,80 C255,60 265,20 290,20 L450,20 C475,20 485,50 500,70 C515,90 525,90 540,70 C555,50 565,20 590,20 L800,20 C825,20 835,70 850,90 C865,110 875,110 890,90 C905,70 915,20 940,20 L1200,20 L1200,120 L0,120 Z",
16
+ k0,"M0,20 C50,20 100,20 170,20 C195,20 205,55 220,72 C235,90 245,90 260,72 C275,55 285,20 310,20 L470,20 C495,20 505,45 520,62 C535,80 545,80 560,62 C575,45 585,20 610,20 L820,20 C845,20 855,65 870,85 C885,105 895,105 910,85 C925,65 935,20 960,20 L1200,20 L1200,120 L0,120 Z"],null),"slant",new $APP.N(null,2,[$APP.xq,"M0,100 C300,90 600,30 900,10 C1000,5 1100,2 1200,0 L1200,120 L0,120 Z",k0,"M0,80 C300,70 600,50 900,30 C1000,20 1100,10 1200,20 L1200,120 L0,120 Z"],null),"scallop",new $APP.N(null,2,
17
+ [$APP.xq,"M0,60 Q75,0 150,60 Q225,120 300,60 Q375,0 450,60 Q525,120 600,60 Q675,0 750,60 Q825,120 900,60 Q975,0 1050,60 Q1125,120 1200,60 L1200,120 L0,120 Z",k0,"M0,50 Q75,110 150,50 Q225,-10 300,50 Q375,110 450,50 Q525,-10 600,50 Q675,110 750,50 Q825,-10 900,50 Q975,110 1050,50 Q1125,-10 1200,50 L1200,120 L0,120 Z"],null),"cloud",new $APP.N(null,2,[$APP.xq,"M0,80 C50,80 80,40 140,40 C180,40 200,60 220,60 C240,60 260,20 320,20 C380,20 400,50 440,50 C480,50 500,10 560,10 C620,10 640,40 700,40 C760,40 780,25 840,25 C900,25 920,55 960,55 C1000,55 1040,30 1100,30 C1140,30 1180,60 1200,60 L1200,120 L0,120 Z",
18
+ k0,"M0,70 C50,70 80,50 140,50 C180,50 200,70 220,70 C240,70 260,30 320,30 C380,30 400,60 440,60 C480,60 500,20 560,20 C620,20 640,50 700,50 C760,50 780,35 840,35 C900,35 920,65 960,65 C1000,65 1040,40 1100,40 C1140,40 1180,70 1200,70 L1200,120 L0,120 Z"],null)],null),Gha=new $APP.N(null,8,"wave;M0,60 C200,20 400,100 600,60 C800,20 1000,100 1200,60 C1400,20 1600,100 1800,60 L1800,120 L0,120 Z;waves;M0,40 C150,80 300,0 450,40 C600,80 750,10 900,50 C1050,90 1150,30 1200,50 C1350,80 1500,0 1650,40 C1800,80 1800,50 1800,50 L1800,120 L0,120 Z;blob-edge;M0,50 C80,30 160,70 240,45 C320,20 400,80 500,55 C600,30 680,75 780,40 C880,5 960,65 1060,50 C1120,40 1180,60 1200,45 C1280,30 1360,70 1440,45 C1520,20 1600,80 1700,55 C1800,30 1800,50 1800,50 L1800,120 L0,120 Z;mountain;M0,90 C100,90 200,30 350,30 C500,30 450,85 600,85 C750,85 700,15 850,15 C1000,15 950,80 1100,80 C1150,80 1200,60 1300,60 C1400,60 1400,30 1500,30 C1600,30 1550,80 1700,80 C1750,80 1800,60 1800,60 L1800,120 L0,120 Z;drip;M0,20 C50,20 100,20 150,20 C175,20 185,60 200,80 C215,100 225,100 240,80 C255,60 265,20 290,20 L450,20 C475,20 485,50 500,70 C515,90 525,90 540,70 C555,50 565,20 590,20 L800,20 C825,20 835,70 850,90 C865,110 875,110 890,90 C905,70 915,20 940,20 L1200,20 C1225,20 1235,60 1250,80 C1265,100 1275,100 1290,80 C1305,60 1315,20 1340,20 L1500,20 C1525,20 1535,50 1550,70 C1565,90 1575,90 1590,70 C1605,50 1615,20 1640,20 L1800,20 L1800,120 L0,120 Z;slant;M0,100 C300,90 600,30 900,10 C1000,5 1100,2 1200,0 C1300,2 1500,90 1800,100 L1800,120 L0,120 Z;scallop;M0,60 Q75,0 150,60 Q225,120 300,60 Q375,0 450,60 Q525,120 600,60 Q675,0 750,60 Q825,120 900,60 Q975,0 1050,60 Q1125,120 1200,60 Q1275,0 1350,60 Q1425,120 1500,60 Q1575,0 1650,60 Q1725,120 1800,60 L1800,120 L0,120 Z;cloud;M0,80 C50,80 80,40 140,40 C180,40 200,60 220,60 C240,60 260,20 320,20 C380,20 400,50 440,50 C480,50 500,10 560,10 C620,10 640,40 700,40 C760,40 780,25 840,25 C900,25 920,55 960,55 C1000,55 1040,30 1100,30 C1140,30 1180,60 1200,60 C1240,60 1260,20 1320,20 C1380,20 1400,50 1440,50 C1480,50 1500,10 1560,10 C1620,10 1640,40 1700,40 C1760,40 1780,60 1800,60 L1800,120 L0,120 Z".split(";"),
19
+ null);$APP.fa("baredom.exports.x_organic_divider.init",o0);export const init=o0;
@@ -1,39 +1,37 @@
1
1
  import { $APP, shadow$provide } from "./base.js";
2
- var a8=function(a){return typeof a==="string"&&(a=a.trim(),$APP.M(a,""))?(a=parseFloat(a),$APP.n(isNaN(a))?null:Math.min(100,Math.max(0,a))):null},b8=function(a){a=typeof a==="string"?a.trim().toLowerCase():null;return $APP.Vc(Sea,a)?a:"vine"},c8=function(a){return a==null?!0:$APP.M((""+$APP.R.i(a)).trim().toLowerCase(),"false")},d8=function(a){a=typeof a==="string"?a.trim().toLowerCase():null;return $APP.Vc(Tea,a)?a:"normal"},e8=function(a){return typeof a==="string"?(a=parseInt(a.trim(),10),typeof a===
3
- "number"&&$APP.p(isNaN(a))&&a>0?a:42):42},f8=function(a){return typeof a==="string"?(a=a.trim(),$APP.M(a,"")?a:null):null},g8=function(a){return typeof a==="string"?(a=a.trim(),$APP.M(a,"")?a:null):null},h8=function(a){a=(typeof a==="number"&&$APP.p(isNaN(a))&&a>0?Math.floor(a):42)|0;return[a===0?1:a]},i8=function(a){var b=a[0];b^=b<<13;b^=b>>>17;b=b^b<<5|0;a[0]=b;return Math.abs(b)/2147483647},Vea=function(a,b){var c=(a+b)*Uea,d=Math.floor(a+c);c=Math.floor(b+c);var e=(d+c)*j8,f=a-(d-e),h=b-(c-e),
4
- l=f>h?1:0,m=f>h?0:1,q=f+-l-j8,r=h+-m-j8,v=f+-1-2*j8,w=h+-1-2*j8,y=d&255,A=c&255,D=.5-f*f-h*h,G=.5-q*q-r*r,I=.5-v*v-w*w;return 70*((D<0?0:function(){var J=D*D,K=k8[l8[y+l8[A&255]&255]&11];return J*J*(K[0]*f+K[1]*h)}())+(G<0?0:function(){var J=G*G,K=k8[l8[y+l+l8[A+m&255]&255]&11];return J*J*(K[0]*q+K[1]*r)}())+(I<0?0:function(){var J=I*I,K=k8[l8[y+1+l8[A+1&255]&255]&11];return J*J*(K[0]*v+K[1]*w)}()))},Wea=function(a){var b=a*17.31,c=a*31.17;return function(d,e){return Vea(d+b,e+c)}},Xea=function(a,
5
- b,c){var d=[],e=[];c=h8(c);for(var f=[0],h=[20,100,0,0],l=a.length,m=0;;)if(m<l){switch(a.charAt(m)){case "F":var q=h[0],r=h[1],v=h[2],w=h[3],y=f[0],A=38*Math.pow(.7,w)*(.8+.4*i8(c)),D=function(){var I=y*.3;var J=w*.5;I=b.j?b.j(I,J):b.call(null,I,J);return v+.15*I}(),G=q+A*Math.cos(D);A=r+A*Math.sin(D);d.push({x1:q,y1:r,x2:G,y2:A,depth:w,index:y});h[0]=G;h[1]=A;f[0]=y+1;break;case "+":q=function(){var I=f[0]*.2;return b.j?b.j(I,100):b.call(null,I,100)}();h[2]-=.436+.1*q;break;case "-":q=function(){var I=
6
- f[0]*.2;return b.j?b.j(I,200):b.call(null,I,200)}();h[2]+=.436+.1*q;break;case "[":e.push([h[0],h[1],h[2],h[3]]);h[3]+=1;break;case "]":e.length>0&&(q=e.pop(),h[0]=q[0],h[1]=q[1],h[2]=q[2],h[3]=q[3])}m+=1}else break;d.sort(function(I,J){var K=$APP.k(I,"x2")-20;I=$APP.k(I,"y2")-100;var ba=$APP.k(J,"x2")-20;J=$APP.k(J,"y2")-100;return K*K+I*I-(ba*ba+J*J)});return[d,d.length]},Yea=function(a,b,c,d){a=""+$APP.R.i(a.toFixed(1))+","+$APP.R.i(b.toFixed(1));c=""+$APP.R.i(c.toFixed(1))+","+$APP.R.i(d.toFixed(1));
7
- return $APP.Wc(a,c)<0?""+$APP.R.i(a)+"-"+$APP.R.i(c):""+$APP.R.i(c)+"-"+$APP.R.i(a)},$ea=function(a,b){b=$APP.Ec(Zea,b,25);var c=h8(a),d=1.5*b,e=Math.sqrt(3)*b,f=Math.ceil(800/d)+4,h=Math.ceil(200/e)+4;a=[];for(var l=Math.sqrt(17E4),m=-2;;)if(m<f){for(var q=m*d,r=$APP.Zd(m)?0:e/2,v=-2;;)if(v<h){var w=v*e+r;if(q>0-b&&q<800+b&&w>0-b&&w<200+b){var y=q-400,A=w-100;y=Math.sqrt(y*y+A*A);A=y*.7+i8(c)*.3*l;a.push({cx:q,cy:w,dist:y,key:A})}v+=1}else break;m+=1}else break;a.sort(function(I,J){return $APP.k(I,
8
- "key")-$APP.k(J,"key")});c={};d=[];e=[0];f=a.length;for(h=0;;)if(h<f){r=a[h];m=$APP.k(r,"cx");q=$APP.k(r,"cy");r=Math.min(2,Math.floor($APP.k(r,"dist")*3/(l+.001)));for(v=0;;)if(v<6){y=Math.PI/3*v;var D=Math.PI/3*(v+1);w=m+b*Math.cos(y);y=q+b*Math.sin(y);A=m+b*Math.cos(D);D=q+b*Math.sin(D);var G=Yea(w,y,A,D);$APP.n($APP.k(c,G))||(c[G]=!0,G=e[0],d.push({x1:w,y1:y,x2:A,y2:D,depth:r,index:G}),e[0]=G+1);v+=1}else break;h+=1}else break;return[d,d.length]},afa=function(a,b,c,d){b=c+(120*(b-a)-12*c)*d;return[a+
9
- b*d,b]},m8=function(){return $APP.E(window.matchMedia("(prefers-reduced-motion:reduce)").matches)},r8=function(a){a=new $APP.P(null,7,[$APP.tl,a.getAttribute("progress"),$APP.Tm,a.getAttribute("variant"),$APP.Mo,a.getAttribute("color"),n8,a.getAttribute("bloom"),$APP.Dk,a.getAttribute("density"),o8,a.getAttribute("seed"),$APP.Bh,a.getAttribute("label")],null);var b=$APP.H(a),c=$APP.C(b,$APP.tl);a=$APP.C(b,$APP.Tm);var d=$APP.C(b,$APP.Mo),e=$APP.C(b,n8),f=$APP.C(b,$APP.Dk),h=$APP.C(b,o8);b=$APP.C(b,
10
- $APP.Bh);c=a8(c);var l=c==null,m=$APP.n(c)?c:0,q=!l&&m>=100;return $APP.Hf([$APP.Hn,$APP.el,$APP.hi,p8,q8,$APP.Eo,$APP.X,$APP.mn,$APP.Km,$APP.Kn,$APP.Qm],[l,g8(d),b8(a),c8(e),e8(h),l?"Loading...":""+$APP.R.i(Math.round(m))+"%",f8(b),m,q,c,d8(f)])},bfa=function(a,b){a=window.getComputedStyle(a).getPropertyValue("--x-organic-progress-branch-width").trim();return $APP.M(a,"")?(a=parseFloat(a),$APP.n(isNaN(a))?b:a):b},cfa=function(a,b,c){var d=$APP.H($APP.k(a,"__xOrganicProgressRefs")),e=$APP.C(d,s8);
11
- d=function(){var y=$APP.k(a,"__xOrganicProgressLines");return $APP.n(y)?y:[]}();for(var f=d.length,h=[],l=0;;)if(l<b){var m=l<f?d[l]:function(){var y=document.createElementNS("http://www.w3.org/2000/svg","line");y.setAttribute("stroke-linecap","round");e.appendChild(y);return y}(),q=c[l],r=$APP.k(q,"y1"),v=$APP.k(q,"x2"),w=$APP.k(q,"y2");m.setAttribute("x1",""+$APP.R.i($APP.k(q,"x1")));m.setAttribute("y1",""+$APP.R.i(r));m.setAttribute("x2",""+$APP.R.i(v));m.setAttribute("y2",""+$APP.R.i(w));m.setAttribute("opacity",
12
- "0");h.push(m);l+=1}else break;for(;;)if(b<f)e.removeChild(d[b]),b+=1;else break;a.__xOrganicProgressLines=h;a.__xOrganicProgressPV=-1},t8=function(a){var b=$APP.k(a,"__xOrganicProgressLines"),c=$APP.k(a,"__xOrganicProgressSegs"),d=$APP.k(a,"__xOrganicProgressSegN"),e=$APP.k(a,"__xOrganicProgressModel"),f=$APP.B.j($APP.hi.i(e),"honeycomb");e=$APP.el.i(e);var h=$APP.n(e)?e:"var("+$APP.R.i("--x-organic-progress-color-primary")+","+$APP.R.i(f?"#818cf8":"#22c55e")+")",l="var("+$APP.R.i("--x-organic-progress-color-secondary")+
13
- ","+$APP.R.i(f?"#a5b4fc":"#16a34a")+")";a=bfa(a,f?1.5:3);if(f)for(f=0;;)if(f<d){e=b[f];var m=$APP.k(c[f],"depth");e.setAttribute("stroke-width",""+$APP.R.i(a));e.style.stroke=function(){switch(m){case 0:return h;case 1:return l;default:return l}}();e.setAttribute("stroke-linecap","round");e.setAttribute("stroke-opacity",function(){switch(m){case 0:return"0.9";case 1:return"0.7";default:return"0.5"}}());f+=1}else break;else for(f=0;;)if(f<d){e=b[f];var q=$APP.k(c[f],"depth"),r=q===0?h:l;e.setAttribute("stroke-width",
14
- ""+$APP.R.i(Math.max(.5,a-q*.6)));e.style.stroke=r;e.setAttribute("stroke-linecap","round");e.setAttribute("stroke-opacity","1");f+=1}else break},dfa=function(a){var b=$APP.k(a,"__xOrganicProgressSPos"),c=$APP.k(a,"__xOrganicProgressSegN"),d=Math.floor(b/100*c),e=$APP.k(a,"__xOrganicProgressPV"),f=$APP.k(a,"__xOrganicProgressLines");if($APP.M(d,e)){c=Math.max(d,e<0?c:e);for(e=Math.min(d,e<0?0:e);;)if(e<c){var h=f[e];$APP.n(h)&&h.setAttribute("opacity",e<d?"1":"0");e+=1}else break;f=$APP.k(a,"__xOrganicProgressNodes");
15
- c=$APP.k(a,"__xOrganicProgressNN");c=$APP.n(c)?c:0;if($APP.n($APP.n(f)?c>0:f))for(b=Math.floor(b/100*c),e=0;;)if(e<c)h=f[e],$APP.n(h)&&h.setAttribute("opacity",e<b?"1":"0"),e+=1;else break;a.__xOrganicProgressPV=d}},efa=function(a){var b=$APP.k(a,"__xOrganicProgressSegs"),c=$APP.k(a,"__xOrganicProgressSegN"),d=$APP.H($APP.k(a,"__xOrganicProgressRefs"));d=$APP.C(d,u8);var e=$APP.k(a,"__xOrganicProgressModel"),f="var("+$APP.R.i("--x-organic-progress-bloom-color")+",#f472b6)";e=h8(q8.i(e)+7);for(var h=
16
- [],l=0;;)if(l<c){var m=b[l];if($APP.k(m,"depth")>=2){var q=document.createElementNS("http://www.w3.org/2000/svg","circle"),r=$APP.k(m,"x2");m=$APP.k(m,"y2");var v=2*i8(e)-1,w=2*i8(e)-1;q.setAttribute("cx",""+$APP.R.i(r));q.setAttribute("cy",""+$APP.R.i(m));q.setAttribute("r","0");q.style.fill=f;q.setAttribute("opacity","0");q.setAttribute("class","bloom-petal");q.__xOrganicProgressBDx=v;q.__xOrganicProgressBDy=w;d.appendChild(q);h.push(q)}l+=1}else break;a.__xOrganicProgressBEls=h;a.__xOrganicProgressBloom=
17
- !0;a.__xOrganicProgressBT=0},ffa=function(a,b){b=$APP.k(a,"__xOrganicProgressBT")+b;var c=b/1.5;a.__xOrganicProgressBT=b;if(c>1){b=$APP.H($APP.k(a,"__xOrganicProgressRefs"));b=$APP.C(b,u8);c=$APP.k(a,"__xOrganicProgressBEls");if($APP.n(c))for(var d=c.length,e=0;;)if(e<d){var f=c[e];$APP.n(f.parentNode)&&b.removeChild(f);e+=1}else break;a.__xOrganicProgressBEls=null;a.__xOrganicProgressBloom=!1;$APP.ah(a,"x-organic-progress-bloom-end",{progress:100})}else for(a=$APP.k(a,"__xOrganicProgressBEls"),b=
18
- 1-Math.min(c,1),b=4*(1-b*b*b),c=Math.max(0,1-c*c),d=a.length,e=0;;)if(e<d){f=a[e];var h=$APP.k(f,"__xOrganicProgressBDx")*b*8,l=$APP.k(f,"__xOrganicProgressBDy")*b*8;f.setAttribute("r",""+$APP.R.i(b*2.5));f.setAttribute("opacity",""+$APP.R.i(c));f.setAttribute("transform","translate("+$APP.R.i(h)+","+$APP.R.i(l)+")");e+=1}else break},gfa=function(a){a.__xOrganicProgressTime=0;a.__xOrganicProgressSPos=0;a.__xOrganicProgressSVel=0;$APP.fa(a,"__xOrganicProgressLF",performance.now());a.__xOrganicProgressDone=
19
- !1;a.__xOrganicProgressBloom=!1;a.__xOrganicProgressPV=-1;$APP.fa(a,"__xOrganicProgressRaf",requestAnimationFrame(function(){return v8(a)}))},w8=function(a){for(var b=$APP.k(a,"__xOrganicProgressModel"),c=$APP.k(a,"__xOrganicProgressSegN"),d=$APP.n($APP.Hn.i(b))?50:$APP.mn.i(b),e=Math.floor(d/100*c),f=$APP.k(a,"__xOrganicProgressLines"),h=0;;)if(h<c){var l=f[h];$APP.n(l)&&l.setAttribute("opacity",h<e?"1":"0");h+=1}else break;c=$APP.k(a,"__xOrganicProgressNodes");f=function(){var m=$APP.k(a,"__xOrganicProgressNN");
20
- return $APP.n(m)?m:0}();if($APP.n($APP.n(c)?f>0:c))for(d=Math.floor(d/100*f),h=0;;)if(h<f)l=c[h],$APP.n(l)&&l.setAttribute("opacity",h<d?"1":"0"),h+=1;else break;a.__xOrganicProgressPV=e;$APP.n(function(){var m=$APP.Km.i(b);return $APP.n(m)?$APP.p($APP.k(a,"__xOrganicProgressDone")):m}())&&(a.__xOrganicProgressDone=!0,$APP.ah(a,"x-organic-progress-complete",{progress:100}))},z8=function(a,b){var c=r8(a);a.__xOrganicProgressModel=c;a.setAttribute("role","progressbar");a.setAttribute("aria-valuemin",
21
- "0");a.setAttribute("aria-valuemax","100");$APP.n($APP.Hn.i(c))?(a.removeAttribute("aria-valuenow"),a.setAttribute("aria-busy","true"),a.setAttribute("aria-valuetext","Loading...")):($APP.Zg(a,"aria-valuenow",""+$APP.R.i(Math.round($APP.mn.i(c)))),a.removeAttribute("aria-busy"),$APP.Zg(a,"aria-valuetext",$APP.Eo.i(c)));var d=$APP.X.i(c);$APP.n(d)?a.setAttribute("aria-label",d):a.removeAttribute("aria-label");if(b==null||$APP.Vc(x8,b)){b=$APP.B.j($APP.hi.i(c),"honeycomb");d=$APP.Ec(hfa,$APP.Qm.i(c),
22
- 3);if(b)c=$ea(q8.i(c),$APP.Qm.i(c));else{a:{for(var e=new $APP.P(null,1,["F","F[+F]F[-F]F"],null),f="F",h=0;;){if(h>=d){d=f;break a}for(var l=[],m=f.length,q=0;;)if(q<m){var r=f.charAt(q),v=$APP.C(e,r);$APP.n(v)?l.push(v):l.push(r);q+=1}else break;h+=1;f=l.join("")}d=void 0}e=Wea(q8.i(c));c=Xea(d,e,q8.i(c))}d=c;c=d[0];d=d[1];a.__xOrganicProgressSegs=c;a.__xOrganicProgressSegN=d;cfa(a,d,c);d=$APP.H($APP.k(a,"__xOrganicProgressRefs"));c=$APP.C(d,s8);d=$APP.C(d,$APP.Ak);$APP.n(c)&&($APP.n(b)?c.removeAttribute("filter"):
23
- c.setAttribute("filter","url(#x-organic-progress-gooey)"));$APP.n($APP.n(d)?$APP.p(b):d)&&d.setAttribute("stdDeviation","2");b=$APP.H($APP.k(a,"__xOrganicProgressRefs"));b=$APP.C(b,y8);c=$APP.k(a,"__xOrganicProgressNodes");if($APP.n($APP.n(b)?c:b))for(d=c.length,e=0;;)if(e<d)f=c[e],$APP.n(f.parentNode)&&b.removeChild(f),e+=1;else break;a.__xOrganicProgressNodes=null;a.__xOrganicProgressND=null;a.__xOrganicProgressNN=0;t8(a);a.__xOrganicProgressPV=-1;m8()&&w8(a)}},ifa=function(a){Object.defineProperty(a,
24
- "progress",{get:function(){return a8(this.getAttribute("progress"))},set:function(b){return b==null?this.removeAttribute("progress"):this.setAttribute("progress",""+$APP.R.i(b))},enumerable:!0,configurable:!0});Object.defineProperty(a,"variant",{get:function(){return b8(this.getAttribute("variant"))},set:function(b){return b==null?this.removeAttribute("variant"):this.setAttribute("variant",""+$APP.R.i(b))},enumerable:!0,configurable:!0});Object.defineProperty(a,"color",{get:function(){return g8(this.getAttribute("color"))},
25
- set:function(b){return b==null?this.removeAttribute("color"):this.setAttribute("color",""+$APP.R.i(b))},enumerable:!0,configurable:!0});Object.defineProperty(a,"bloom",{get:function(){return c8(this.getAttribute("bloom"))},set:function(b){return $APP.n(b)?this.removeAttribute("bloom"):this.setAttribute("bloom","false")},enumerable:!0,configurable:!0});Object.defineProperty(a,"density",{get:function(){return d8(this.getAttribute("density"))},set:function(b){return b==null?this.removeAttribute("density"):
26
- this.setAttribute("density",""+$APP.R.i(b))},enumerable:!0,configurable:!0});Object.defineProperty(a,"seed",{get:function(){return e8(this.getAttribute("seed"))},set:function(b){return b==null?this.removeAttribute("seed"):this.setAttribute("seed",""+$APP.R.i(b|0))},enumerable:!0,configurable:!0});return Object.defineProperty(a,"label",{get:function(){return f8(this.getAttribute("label"))},set:function(b){return b==null?this.removeAttribute("label"):this.setAttribute("label",""+$APP.R.i(b))},enumerable:!0,
27
- configurable:!0})},kfa=function(a){var b=r8(a);a.__xOrganicProgressModel=b;if(!$APP.n($APP.k(a,"__xOrganicProgressRefs"))){b=a.attachShadow({mode:"open"});var c=document.createElement("style"),d=document.createElementNS("http://www.w3.org/2000/svg","svg"),e=document.createElementNS("http://www.w3.org/2000/svg","defs"),f=document.createElementNS("http://www.w3.org/2000/svg","g"),h=document.createElementNS("http://www.w3.org/2000/svg","g"),l=document.createElementNS("http://www.w3.org/2000/svg","g");
28
- c.textContent=jfa;d.setAttribute("part","svg");d.setAttribute("viewBox","0 0 800 200");d.setAttribute("preserveAspectRatio","xMidYMid slice");d.setAttribute("aria-hidden","true");f.setAttribute("part","branches");f.setAttribute("filter","url(#"+$APP.R.i("x-organic-progress-gooey")+")");h.setAttribute("part","nodes");l.setAttribute("part","blooms");var m=document.createElementNS("http://www.w3.org/2000/svg","filter");var q=document.createElementNS("http://www.w3.org/2000/svg","feGaussianBlur"),r=document.createElementNS("http://www.w3.org/2000/svg",
29
- "feColorMatrix");m.setAttribute("id","x-organic-progress-gooey");m.setAttribute("x","-10%");m.setAttribute("y","-10%");m.setAttribute("width","120%");m.setAttribute("height","120%");q.setAttribute("in","SourceGraphic");q.setAttribute("stdDeviation",""+$APP.R.i(2));q.setAttribute("result","blur");r.setAttribute("in","blur");r.setAttribute("type","matrix");r.setAttribute("values","1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 18 -7");m.appendChild(q);m.appendChild(r);e.appendChild(m);m=new $APP.P(null,3,[$APP.Jm,
30
- m,$APP.Ak,q,$APP.Ao,r],null);d.appendChild(e);d.appendChild(f);d.appendChild(h);d.appendChild(l);b.appendChild(c);b.appendChild(d);b=$APP.$f($APP.xc([m,new $APP.P(null,5,[$APP.Qh,b,$APP.Cl,d,s8,f,y8,h,u8,l],null)]));a.__xOrganicProgressRefs=b}z8(a,null);t8(a);m8()?w8(a):gfa(a);return null},lfa=function(a){var b=$APP.k(a,"__xOrganicProgressRaf");$APP.n(b)&&(cancelAnimationFrame(b),a.__xOrganicProgressRaf=null);if($APP.n($APP.k(a,"__xOrganicProgressBloom"))){b=$APP.H($APP.k(a,"__xOrganicProgressRefs"));
31
- b=$APP.C(b,u8);var c=$APP.k(a,"__xOrganicProgressBEls");if($APP.n(c))for(var d=c.length,e=0;;)if(e<d){var f=c[e];$APP.n(f.parentNode)&&b.removeChild(f);e+=1}else break;a.__xOrganicProgressBEls=null;a.__xOrganicProgressBloom=!1}return null},mfa=function(a,b,c,d){$APP.M(c,d)&&$APP.n($APP.k(a,"__xOrganicProgressRefs"))&&(z8(a,b),$APP.Vc(x8,b)||t8(a));return null},A8=function(){return $APP.Wg("x-organic-progress",new $APP.P(null,5,[$APP.Mg,nfa,$APP.Ng,kfa,$APP.Og,lfa,$APP.Qg,mfa,$APP.Ug,ifa],null))},
32
- y8=new $APP.F(null,"nodes-g","nodes-g",89420858),s8=new $APP.F(null,"branches-g","branches-g",548989635),p8=new $APP.F(null,"bloom?","bloom?",-326837587),n8=new $APP.F(null,"bloom-attr","bloom-attr",-1778398039),q8=new $APP.F(null,"seed","seed",68613327),o8=new $APP.F(null,"seed-raw","seed-raw",2146438207),u8=new $APP.F(null,"blooms-g","blooms-g",-1476393864);var nfa="progress variant color bloom density seed label".split(" ");$APP.Ud(["x-organic-progress-complete",new $APP.P(null,2,[$APP.Z,new $APP.P(null,1,[$APP.Kn,$APP.W],null),$APP.Un,!1],null),"x-organic-progress-bloom-end",new $APP.P(null,2,[$APP.Z,new $APP.P(null,1,[$APP.Kn,$APP.W],null),$APP.Un,!1],null)]);
33
- var Sea=new $APP.Q(null,new $APP.P(null,2,["honeycomb",null,"vine",null],null),null),Tea=new $APP.Q(null,new $APP.P(null,3,["dense",null,"normal",null,"sparse",null],null),null),hfa=new $APP.P(null,3,["sparse",2,"normal",3,"dense",4],null),l8=[151,160,137,91,90,15,131,13,201,95,96,53,194,233,7,225,140,36,103,30,69,142,8,99,37,240,21,10,23,190,6,148,247,120,234,75,0,26,197,62,94,252,219,203,117,35,11,32,57,177,33,88,237,149,56,87,174,20,125,136,171,168,68,175,74,165,71,134,139,48,27,166,77,146,158,
2
+ var $7=function(a){return typeof a==="string"&&(a=a.trim(),$APP.I(a,""))?(a=parseFloat(a),$APP.n(isNaN(a))?null:Math.min(100,Math.max(0,a))):null},a8=function(a){a=typeof a==="string"?a.trim().toLowerCase():null;return $APP.$c(Wma,a)?a:"vine"},b8=function(a){return a==null?!0:$APP.I((""+$APP.P.i(a)).trim().toLowerCase(),"false")},c8=function(a){a=typeof a==="string"?a.trim().toLowerCase():null;return $APP.$c(Xma,a)?a:"normal"},d8=function(a){return typeof a==="string"?(a=parseInt(a.trim(),10),typeof a===
3
+ "number"&&$APP.p(isNaN(a))&&a>0?a:42):42},e8=function(a){return typeof a==="string"?(a=a.trim(),$APP.I(a,"")?a:null):null},f8=function(a){return typeof a==="string"?(a=a.trim(),$APP.I(a,"")?a:null):null},g8=function(a){a=(typeof a==="number"&&$APP.p(isNaN(a))&&a>0?Math.floor(a):42)|0;return[a===0?1:a]},h8=function(a){var b=a[0];b^=b<<13;b^=b>>>17;b=b^b<<5|0;a[0]=b;return Math.abs(b)/2147483647},Zma=function(a,b){var c=(a+b)*Yma,d=Math.floor(a+c);c=Math.floor(b+c);var e=(d+c)*i8,f=a-(d-e),h=b-(c-e),
4
+ k=f>h?1:0,m=f>h?0:1,q=f+-k-i8,u=h+-m-i8,x=f+-1-2*i8,z=h+-1-2*i8,A=d&255,D=c&255,G=.5-f*f-h*h,J=.5-q*q-u*u,S=.5-x*x-z*z;return 70*((G<0?0:function(){var Q=G*G,X=j8[k8[A+k8[D&255]&255]&11];return Q*Q*(X[0]*f+X[1]*h)}())+(J<0?0:function(){var Q=J*J,X=j8[k8[A+k+k8[D+m&255]&255]&11];return Q*Q*(X[0]*q+X[1]*u)}())+(S<0?0:function(){var Q=S*S,X=j8[k8[A+1+k8[D+1&255]&255]&11];return Q*Q*(X[0]*x+X[1]*z)}()))},$ma=function(a){var b=a*17.31,c=a*31.17;return function(d,e){return Zma(d+b,e+c)}},ana=function(a,
5
+ b,c){var d=[],e=[];c=g8(c);for(var f=[0],h=[20,100,0,0],k=a.length,m=0;;)if(m<k){switch(a.charAt(m)){case "F":var q=h[0],u=h[1],x=h[2],z=h[3],A=f[0],D=38*Math.pow(.7,z)*(.8+.4*h8(c)),G=function(){var S=A*.3;var Q=z*.5;S=b.j?b.j(S,Q):b.call(null,S,Q);return x+.15*S}(),J=q+D*Math.cos(G);D=u+D*Math.sin(G);d.push({x1:q,y1:u,x2:J,y2:D,depth:z,index:A});h[0]=J;h[1]=D;f[0]=A+1;break;case "+":q=function(){var S=f[0]*.2;return b.j?b.j(S,100):b.call(null,S,100)}();h[2]-=.436+.1*q;break;case "-":q=function(){var S=
6
+ f[0]*.2;return b.j?b.j(S,200):b.call(null,S,200)}();h[2]+=.436+.1*q;break;case "[":e.push([h[0],h[1],h[2],h[3]]);h[3]+=1;break;case "]":e.length>0&&(q=e.pop(),h[0]=q[0],h[1]=q[1],h[2]=q[2],h[3]=q[3])}m+=1}else break;d.sort(function(S,Q){var X=$APP.l(S,"x2")-20;S=$APP.l(S,"y2")-100;var ja=$APP.l(Q,"x2")-20;Q=$APP.l(Q,"y2")-100;return X*X+S*S-(ja*ja+Q*Q)});return[d,d.length]},bna=function(a,b,c,d){a=""+$APP.P.i(a.toFixed(1))+","+$APP.P.i(b.toFixed(1));c=""+$APP.P.i(c.toFixed(1))+","+$APP.P.i(d.toFixed(1));
7
+ return $APP.ad(a,c)<0?""+$APP.P.i(a)+"-"+$APP.P.i(c):""+$APP.P.i(c)+"-"+$APP.P.i(a)},dna=function(a,b){b=$APP.Hc(cna,b,25);var c=g8(a),d=1.5*b,e=Math.sqrt(3)*b,f=Math.ceil(800/d)+4,h=Math.ceil(200/e)+4;a=[];for(var k=Math.sqrt(17E4),m=-2;;)if(m<f){for(var q=m*d,u=$APP.ge(m)?0:e/2,x=-2;;)if(x<h){var z=x*e+u;if(q>0-b&&q<800+b&&z>0-b&&z<200+b){var A=q-400,D=z-100;A=Math.sqrt(A*A+D*D);D=A*.7+h8(c)*.3*k;a.push({cx:q,cy:z,dist:A,key:D})}x+=1}else break;m+=1}else break;a.sort(function(S,Q){return $APP.l(S,
8
+ "key")-$APP.l(Q,"key")});c={};d=[];e=[0];f=a.length;for(h=0;;)if(h<f){u=a[h];m=$APP.l(u,"cx");q=$APP.l(u,"cy");u=Math.min(2,Math.floor($APP.l(u,"dist")*3/(k+.001)));for(x=0;;)if(x<6){A=Math.PI/3*x;var G=Math.PI/3*(x+1);z=m+b*Math.cos(A);A=q+b*Math.sin(A);D=m+b*Math.cos(G);G=q+b*Math.sin(G);var J=bna(z,A,D,G);$APP.n($APP.l(c,J))||(c[J]=!0,J=e[0],d.push({x1:z,y1:A,x2:D,y2:G,depth:u,index:J}),e[0]=J+1);x+=1}else break;h+=1}else break;return[d,d.length]},ena=function(a,b,c,d){b=c+(120*(b-a)-12*c)*d;return[a+
9
+ b*d,b]},l8=function(){return $APP.E(window.matchMedia("(prefers-reduced-motion:reduce)").matches)},fna=function(a,b){a=window.getComputedStyle(a).getPropertyValue("--x-organic-progress-branch-width").trim();return $APP.I(a,"")?(a=parseFloat(a),$APP.n(isNaN(a))?b:a):b},gna=function(a,b,c){var d=$APP.H($APP.l(a,"__xOrganicProgressRefs")),e=$APP.C(d,m8);d=function(){var A=$APP.l(a,"__xOrganicProgressLines");return $APP.n(A)?A:[]}();for(var f=d.length,h=[],k=0;;)if(k<b){var m=k<f?d[k]:function(){var A=
10
+ document.createElementNS("http://www.w3.org/2000/svg","line");$APP.T(A,"stroke-linecap","round");e.appendChild(A);return A}(),q=c[k],u=$APP.l(q,"y1"),x=$APP.l(q,"x2"),z=$APP.l(q,"y2");$APP.T(m,"x1",""+$APP.P.i($APP.l(q,"x1")));$APP.T(m,"y1",""+$APP.P.i(u));$APP.T(m,"x2",""+$APP.P.i(x));$APP.T(m,"y2",""+$APP.P.i(z));$APP.T(m,"opacity","0");h.push(m);k+=1}else break;for(;;)if(b<f)e.removeChild(d[b]),b+=1;else break;$APP.R(a,"__xOrganicProgressLines",h);$APP.R(a,"__xOrganicProgressPV",-1)},hna=function(a){var b=
11
+ $APP.l(a,"__xOrganicProgressLines"),c=$APP.l(a,"__xOrganicProgressSegs"),d=$APP.l(a,"__xOrganicProgressSegN"),e=$APP.l(a,"__xOrganicProgressModel"),f=$APP.y.j($APP.Nk.i(e),"honeycomb");e=$APP.Xo.i(e);var h=$APP.n(e)?e:"var("+$APP.P.i("--x-organic-progress-color-primary")+","+$APP.P.i(f?"#818cf8":"#22c55e")+")",k="var("+$APP.P.i("--x-organic-progress-color-secondary")+","+$APP.P.i(f?"#a5b4fc":"#16a34a")+")";a=fna(a,f?1.5:3);if(f)for(f=0;;)if(f<d){e=b[f];var m=$APP.l(c[f],"depth");$APP.T(e,"stroke-width",
12
+ ""+$APP.P.i(a));e.style.stroke=function(){switch(m){case 0:return h;case 1:return k;default:return k}}();$APP.T(e,"stroke-linecap","round");$APP.T(e,"stroke-opacity",function(){switch(m){case 0:return"0.9";case 1:return"0.7";default:return"0.5"}}());f+=1}else break;else for(f=0;;)if(f<d){e=b[f];var q=$APP.l(c[f],"depth"),u=q===0?h:k;$APP.T(e,"stroke-width",""+$APP.P.i(Math.max(.5,a-q*.6)));e.style.stroke=u;$APP.T(e,"stroke-linecap","round");$APP.T(e,"stroke-opacity","1");f+=1}else break},ina=function(a){var b=
13
+ $APP.l(a,"__xOrganicProgressSPos"),c=$APP.l(a,"__xOrganicProgressSegN"),d=Math.floor(b/100*c),e=$APP.l(a,"__xOrganicProgressPV"),f=$APP.l(a,"__xOrganicProgressLines");if($APP.I(d,e)){c=Math.max(d,e<0?c:e);for(e=Math.min(d,e<0?0:e);;)if(e<c){var h=f[e];$APP.n(h)&&h.setAttribute("opacity",e<d?"1":"0");e+=1}else break;f=$APP.l(a,"__xOrganicProgressNodes");c=$APP.l(a,"__xOrganicProgressNN");c=$APP.n(c)?c:0;if($APP.n($APP.n(f)?c>0:f))for(b=Math.floor(b/100*c),e=0;;)if(e<c)h=f[e],$APP.n(h)&&h.setAttribute("opacity",
14
+ e<b?"1":"0"),e+=1;else break;$APP.R(a,"__xOrganicProgressPV",d)}},jna=function(a){var b=$APP.l(a,"__xOrganicProgressSegs"),c=$APP.l(a,"__xOrganicProgressSegN"),d=$APP.H($APP.l(a,"__xOrganicProgressRefs"));d=$APP.C(d,n8);var e=$APP.l(a,"__xOrganicProgressModel"),f="var("+$APP.P.i("--x-organic-progress-bloom-color")+",#f472b6)";e=g8(o8.i(e)+7);for(var h=[],k=0;;)if(k<c){var m=b[k];if($APP.l(m,"depth")>=2){var q=document.createElementNS("http://www.w3.org/2000/svg","circle"),u=$APP.l(m,"x2");m=$APP.l(m,
15
+ "y2");var x=2*h8(e)-1,z=2*h8(e)-1;$APP.T(q,"cx",""+$APP.P.i(u));$APP.T(q,"cy",""+$APP.P.i(m));$APP.T(q,"r","0");q.style.fill=f;$APP.T(q,"opacity","0");$APP.T(q,"class","bloom-petal");q.__xOrganicProgressBDx=x;q.__xOrganicProgressBDy=z;d.appendChild(q);h.push(q)}k+=1}else break;$APP.R(a,"__xOrganicProgressBEls",h);$APP.R(a,"__xOrganicProgressBloom",!0);$APP.R(a,"__xOrganicProgressBT",0)},kna=function(a,b){b=$APP.l(a,"__xOrganicProgressBT")+b;var c=b/1.5;$APP.R(a,"__xOrganicProgressBT",b);if(c>1){b=
16
+ $APP.H($APP.l(a,"__xOrganicProgressRefs"));b=$APP.C(b,n8);c=$APP.l(a,"__xOrganicProgressBEls");if($APP.n(c))for(var d=c.length,e=0;;)if(e<d){var f=c[e];$APP.n(f.parentNode)&&b.removeChild(f);e+=1}else break;$APP.R(a,"__xOrganicProgressBEls",null);$APP.R(a,"__xOrganicProgressBloom",!1);$APP.pi(a,"x-organic-progress-bloom-end",{progress:100})}else for(a=$APP.l(a,"__xOrganicProgressBEls"),b=1-Math.min(c,1),b=4*(1-b*b*b),c=Math.max(0,1-c*c),d=a.length,e=0;;)if(e<d){var h=a[e];f=$APP.l(h,"__xOrganicProgressBDx")*
17
+ b*8;var k=$APP.l(h,"__xOrganicProgressBDy")*b*8,m=h,q=""+$APP.P.i(b*2.5);m.setAttribute("r",q);m=h;q=""+$APP.P.i(c);m.setAttribute("opacity",q);f="translate("+$APP.P.i(f)+","+$APP.P.i(k)+")";h.setAttribute("transform",f);e+=1}else break},lna=function(a){$APP.ji(a,"__xOrganicProgressTime",0);$APP.R(a,"__xOrganicProgressSPos",0);$APP.R(a,"__xOrganicProgressSVel",0);$APP.ji(a,"__xOrganicProgressLF",performance.now());$APP.R(a,"__xOrganicProgressDone",!1);$APP.R(a,"__xOrganicProgressBloom",!1);$APP.R(a,
18
+ "__xOrganicProgressPV",-1);return $APP.ji(a,"__xOrganicProgressRaf",requestAnimationFrame(function(){return p8(a)}))},q8=function(a){for(var b=$APP.l(a,"__xOrganicProgressModel"),c=$APP.l(a,"__xOrganicProgressSegN"),d=$APP.n($APP.kk.i(b))?50:$APP.or.i(b),e=Math.floor(d/100*c),f=$APP.l(a,"__xOrganicProgressLines"),h=0;;)if(h<c){var k=f[h];$APP.n(k)&&$APP.T(k,"opacity",h<e?"1":"0");h+=1}else break;c=$APP.l(a,"__xOrganicProgressNodes");f=function(){var m=$APP.l(a,"__xOrganicProgressNN");return $APP.n(m)?
19
+ m:0}();if($APP.n($APP.n(c)?f>0:c))for(d=Math.floor(d/100*f),h=0;;)if(h<f)k=c[h],$APP.n(k)&&$APP.T(k,"opacity",h<d?"1":"0"),h+=1;else break;$APP.R(a,"__xOrganicProgressPV",e);return $APP.n(function(){var m=$APP.Oq.i(b);return $APP.n(m)?$APP.p($APP.l(a,"__xOrganicProgressDone")):m}())?($APP.R(a,"__xOrganicProgressDone",!0),$APP.pi(a,"x-organic-progress-complete",{progress:100})):null},v8=function(a){var b=new $APP.N(null,7,[$APP.xp,a.getAttribute("progress"),$APP.Xq,a.getAttribute("variant"),$APP.Es,
20
+ a.getAttribute("color"),r8,a.getAttribute("bloom"),$APP.Co,a.getAttribute("density"),s8,a.getAttribute("seed"),$APP.Vi,a.getAttribute("label")],null);var c=$APP.H(b),d=$APP.C(c,$APP.xp);b=$APP.C(c,$APP.Xq);var e=$APP.C(c,$APP.Es),f=$APP.C(c,r8),h=$APP.C(c,$APP.Co),k=$APP.C(c,s8);c=$APP.C(c,$APP.Vi);d=$7(d);var m=d==null,q=$APP.n(d)?d:0,u=!m&&q>=100;b=$APP.Yf([$APP.kk,$APP.Xo,$APP.Nk,t8,o8,$APP.xs,$APP.bj,$APP.or,$APP.Oq,$APP.Cr,$APP.Uq],[m,f8(e),a8(b),b8(f),d8(k),m?"Loading...":""+$APP.P.i(Math.round(q))+
21
+ "%",e8(c),q,u,d,c8(h)]);e=$APP.l(a,"__xOrganicProgressModel");if($APP.I(b,e)){$APP.T(a,"role","progressbar");$APP.T(a,"aria-valuemin","0");$APP.T(a,"aria-valuemax","100");$APP.n($APP.kk.i(b))?($APP.U(a,"aria-valuenow"),$APP.T(a,"aria-busy","true"),$APP.T(a,"aria-valuetext","Loading...")):($APP.T(a,"aria-valuenow",""+$APP.P.i(Math.round($APP.or.i(b)))),$APP.U(a,"aria-busy"),$APP.T(a,"aria-valuetext",$APP.xs.i(b)));f=$APP.bj.i(b);$APP.n(f)?$APP.T(a,"aria-label",f):$APP.U(a,"aria-label");if(e==null||
22
+ $APP.I($APP.Nk.i(b),$APP.Nk.i(e))||$APP.I($APP.Uq.i(b),$APP.Uq.i(e))||$APP.I(o8.i(b),o8.i(e))){e=$APP.y.j($APP.Nk.i(b),"honeycomb");f=$APP.Hc(mna,$APP.Uq.i(b),3);if(e)f=dna(o8.i(b),$APP.Uq.i(b));else{a:{h=new $APP.N(null,1,["F","F[+F]F[-F]F"],null);k="F";for(d=0;;){if(d>=f){f=k;break a}c=[];m=k.length;for(q=0;;)if(q<m){u=k.charAt(q);var x=$APP.C(h,u);$APP.n(x)?c.push(x):c.push(u);q+=1}else break;d+=1;k=c.join("")}f=void 0}h=$ma(o8.i(b));f=ana(f,h,o8.i(b))}h=f;f=h[0];h=h[1];$APP.R(a,"__xOrganicProgressSegs",
23
+ f);$APP.R(a,"__xOrganicProgressSegN",h);gna(a,h,f);h=$APP.H($APP.l(a,"__xOrganicProgressRefs"));f=$APP.C(h,m8);h=$APP.C(h,$APP.zo);$APP.n(f)&&($APP.n(e)?$APP.U(f,"filter"):$APP.T(f,"filter","url(#x-organic-progress-gooey)"));$APP.n($APP.n(h)?$APP.p(e):h)&&$APP.T(h,"stdDeviation","2");e=$APP.H($APP.l(a,"__xOrganicProgressRefs"));e=$APP.C(e,u8);f=$APP.l(a,"__xOrganicProgressNodes");if($APP.n($APP.n(e)?f:e))for(h=f.length,k=0;;)if(k<h)c=f[k],$APP.n(c.parentNode)&&e.removeChild(c),k+=1;else break;$APP.R(a,
24
+ "__xOrganicProgressNodes",null);$APP.R(a,"__xOrganicProgressND",null);$APP.R(a,"__xOrganicProgressNN",0);$APP.R(a,"__xOrganicProgressPV",-1);l8()&&q8(a)}hna(a);a=$APP.R(a,"__xOrganicProgressModel",b)}else a=null;return a},nna=function(a){$APP.Ai(a,"progress","progress",$7);$APP.Ai(a,"variant","variant",a8);$APP.Ai(a,"color","color",f8);$APP.Ai(a,"density","density",c8);$APP.Ai(a,"seed","seed",d8);$APP.Ai(a,"label","label",e8);return Object.defineProperty(a,"bloom",{get:function(){return b8(this.getAttribute("bloom"))},
25
+ set:function(b){return $APP.n(b)?$APP.U(this,"bloom"):$APP.T(this,"bloom","false")},enumerable:!0,configurable:!0})},pna=function(a){if(!$APP.n($APP.l(a,"__xOrganicProgressRefs"))){var b=a.attachShadow({mode:"open"}),c=document.createElement("style"),d=document.createElementNS("http://www.w3.org/2000/svg","svg"),e=document.createElementNS("http://www.w3.org/2000/svg","defs"),f=document.createElementNS("http://www.w3.org/2000/svg","g"),h=document.createElementNS("http://www.w3.org/2000/svg","g"),k=
26
+ document.createElementNS("http://www.w3.org/2000/svg","g");c.textContent=ona;$APP.T(d,"part","svg");$APP.T(d,"viewBox","0 0 800 200");$APP.T(d,"preserveAspectRatio","xMidYMid slice");$APP.T(d,"aria-hidden","true");$APP.T(f,"part","branches");$APP.T(f,"filter","url(#"+$APP.P.i("x-organic-progress-gooey")+")");$APP.T(h,"part","nodes");$APP.T(k,"part","blooms");var m=document.createElementNS("http://www.w3.org/2000/svg","filter");var q=document.createElementNS("http://www.w3.org/2000/svg","feGaussianBlur"),
27
+ u=document.createElementNS("http://www.w3.org/2000/svg","feColorMatrix");$APP.T(m,"id","x-organic-progress-gooey");$APP.T(m,"x","-10%");$APP.T(m,"y","-10%");$APP.T(m,"width","120%");$APP.T(m,"height","120%");$APP.T(q,"in","SourceGraphic");$APP.T(q,"stdDeviation",""+$APP.P.i(2));$APP.T(q,"result","blur");$APP.T(u,"in","blur");$APP.T(u,"type","matrix");$APP.T(u,"values","1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 18 -7");m.appendChild(q);m.appendChild(u);e.appendChild(m);m=new $APP.N(null,3,[$APP.Nq,m,
28
+ $APP.zo,q,$APP.ts,u],null);d.appendChild(e);d.appendChild(f);d.appendChild(h);d.appendChild(k);b.appendChild(c);b.appendChild(d);$APP.R(a,"__xOrganicProgressRefs",$APP.pg($APP.Ac([m,new $APP.N(null,5,[$APP.Kj,b,$APP.Hp,d,m8,f,u8,h,n8,k],null)])))}v8(a);return l8()?q8(a):lna(a)},qna=function(a){var b=$APP.l(a,"__xOrganicProgressRaf");$APP.n(b)&&(cancelAnimationFrame(b),$APP.ji(a,"__xOrganicProgressRaf",null));if($APP.n($APP.l(a,"__xOrganicProgressBloom"))){b=$APP.H($APP.l(a,"__xOrganicProgressRefs"));
29
+ b=$APP.C(b,n8);var c=$APP.l(a,"__xOrganicProgressBEls");if($APP.n(c))for(var d=c.length,e=0;;)if(e<d){var f=c[e];$APP.n(f.parentNode)&&b.removeChild(f);e+=1}else break;$APP.R(a,"__xOrganicProgressBEls",null);return $APP.R(a,"__xOrganicProgressBloom",!1)}return null},rna=function(a,b,c,d){return $APP.I(c,d)?$APP.n($APP.l(a,"__xOrganicProgressRefs"))?v8(a):null:null},w8=function(){return $APP.Kh("x-organic-progress",new $APP.N(null,5,[$APP.Bh,sna,$APP.zh,pna,$APP.qh,qna,$APP.ph,rna,$APP.Ah,nna],null))},
30
+ u8=new $APP.F(null,"nodes-g","nodes-g",89420858),m8=new $APP.F(null,"branches-g","branches-g",548989635),t8=new $APP.F(null,"bloom?","bloom?",-326837587),r8=new $APP.F(null,"bloom-attr","bloom-attr",-1778398039),o8=new $APP.F(null,"seed","seed",68613327),s8=new $APP.F(null,"seed-raw","seed-raw",2146438207),n8=new $APP.F(null,"blooms-g","blooms-g",-1476393864);var sna="progress variant color bloom density seed label".split(" ");$APP.be(["x-organic-progress-complete",new $APP.N(null,2,[$APP.V,new $APP.N(null,1,[$APP.Cr,$APP.Z],null),$APP.Mr,!1],null),"x-organic-progress-bloom-end",new $APP.N(null,2,[$APP.V,new $APP.N(null,1,[$APP.Cr,$APP.Z],null),$APP.Mr,!1],null)]);
31
+ var Wma=new $APP.rg(null,new $APP.N(null,2,["honeycomb",null,"vine",null],null),null),Xma=new $APP.rg(null,new $APP.N(null,3,["dense",null,"normal",null,"sparse",null],null),null),mna=new $APP.N(null,3,["sparse",2,"normal",3,"dense",4],null),k8=[151,160,137,91,90,15,131,13,201,95,96,53,194,233,7,225,140,36,103,30,69,142,8,99,37,240,21,10,23,190,6,148,247,120,234,75,0,26,197,62,94,252,219,203,117,35,11,32,57,177,33,88,237,149,56,87,174,20,125,136,171,168,68,175,74,165,71,134,139,48,27,166,77,146,158,
34
32
  231,83,111,229,122,60,211,133,230,220,105,92,41,55,46,245,40,244,102,143,54,65,25,63,161,1,216,80,73,209,76,132,187,208,89,18,169,200,196,135,130,116,188,159,86,164,100,109,198,173,186,3,64,52,217,226,250,124,123,5,202,38,147,118,126,255,82,85,212,207,206,59,227,47,16,58,17,182,189,28,42,223,183,170,213,119,248,152,2,44,154,163,70,221,153,101,155,167,43,172,9,129,22,39,253,19,98,108,110,79,113,224,232,178,185,112,104,218,246,97,228,251,34,242,193,238,210,144,12,191,179,162,241,81,51,145,235,249,14,
35
- 239,107,49,192,214,31,181,199,106,157,184,84,204,176,115,121,50,45,127,4,150,254,138,236,205,93,222,114,67,29,24,72,243,141,128,195,78,66,215,61,156,180],k8=[[1,1],[-1,1],[1,-1],[-1,-1],[1,0],[-1,0],[0,1],[0,-1],[1,1],[-1,1],[1,-1],[-1,-1]],Uea=(Math.sqrt(3)-1)/2,j8=(3-Math.sqrt(3))/6,Zea=new $APP.P(null,3,["sparse",40,"normal",25,"dense",16],null);var jfa=":host{display:block;position:relative;min-height:60px;width:100%;overflow:hidden;"+$APP.R.i("--x-organic-progress-color-primary")+":var(--x-color-success,#22c55e);"+$APP.R.i("--x-organic-progress-color-secondary")+":var(--x-color-success,#16a34a);"+$APP.R.i("--x-organic-progress-bloom-color")+":var(--x-color-danger,#f472b6);"+$APP.R.i("--x-organic-progress-bg")+":transparent;"+$APP.R.i("--x-organic-progress-branch-width")+":3;"+$APP.R.i("--x-organic-progress-glow")+":2;"+$APP.R.i("--x-organic-progress-opacity")+
36
- ":1;background:var("+$APP.R.i("--x-organic-progress-bg")+",transparent);opacity:var("+$APP.R.i("--x-organic-progress-opacity")+",1);}[part\x3dsvg]{display:block;width:100%;height:100%;}[part\x3dnodes] circle{fill:var("+$APP.R.i("--x-organic-progress-color-primary")+",#22c55e);}@media(prefers-color-scheme:dark){:host{--x-organic-progress-color-primary:var(--x-color-success,#4ade80);--x-organic-progress-color-secondary:var(--x-color-success,#22c55e);--x-organic-progress-bloom-color:var(--x-color-danger,#f9a8d4);}}@media(prefers-reduced-motion:reduce){[part\x3dsvg]{transition:none!important;}.bloom-petal{transition:none!important;animation:none!important;}}",
37
- v8=function v8(a){if($APP.n(a.isConnected)){var c=$APP.k(a,"__xOrganicProgressModel"),d=performance.now(),e=Math.min(d-$APP.k(a,"__xOrganicProgressLF"),100)/1E3;a.__xOrganicProgressLF=d;a.__xOrganicProgressTime=$APP.k(a,"__xOrganicProgressTime")+e;d=$APP.n($APP.Hn.i(c))?50+20*Math.sin($APP.k(a,"__xOrganicProgressTime")*1.5):$APP.mn.i(c);d=afa($APP.k(a,"__xOrganicProgressSPos"),d,$APP.k(a,"__xOrganicProgressSVel"),e);a.__xOrganicProgressSPos=d[0];a.__xOrganicProgressSVel=d[1];dfa(a);$APP.n(function(){var f=
38
- $APP.Km.i(c);return $APP.n(f)?$APP.p($APP.k(a,"__xOrganicProgressDone")):f}())&&(a.__xOrganicProgressDone=!0,$APP.ah(a,"x-organic-progress-complete",{progress:100}),$APP.n(p8.i(c))&&efa(a));$APP.n(function(){var f=$APP.p($APP.Km.i(c));return f?(f=$APP.k(a,"__xOrganicProgressDone"),$APP.n(f)?$APP.p($APP.k(a,"__xOrganicProgressBloom")):f):f}())&&(a.__xOrganicProgressDone=!1);$APP.n($APP.k(a,"__xOrganicProgressBloom"))&&ffa(a,e);$APP.fa(a,"__xOrganicProgressRaf",requestAnimationFrame(function(){return v8.i?
39
- v8.i(a):v8.call(null,a)}))}return null},x8=$APP.cg(["variant","density","seed"]);$APP.da("baredom.exports.x_organic_progress.init",A8);export const init=A8;
33
+ 239,107,49,192,214,31,181,199,106,157,184,84,204,176,115,121,50,45,127,4,150,254,138,236,205,93,222,114,67,29,24,72,243,141,128,195,78,66,215,61,156,180],j8=[[1,1],[-1,1],[1,-1],[-1,-1],[1,0],[-1,0],[0,1],[0,-1],[1,1],[-1,1],[1,-1],[-1,-1]],Yma=(Math.sqrt(3)-1)/2,i8=(3-Math.sqrt(3))/6,cna=new $APP.N(null,3,["sparse",40,"normal",25,"dense",16],null);var ona=":host{display:block;position:relative;min-height:60px;width:100%;overflow:hidden;"+$APP.P.i("--x-organic-progress-color-primary")+":var(--x-color-success,#22c55e);"+$APP.P.i("--x-organic-progress-color-secondary")+":var(--x-color-success,#16a34a);"+$APP.P.i("--x-organic-progress-bloom-color")+":var(--x-color-danger,#f472b6);"+$APP.P.i("--x-organic-progress-bg")+":transparent;"+$APP.P.i("--x-organic-progress-branch-width")+":3;"+$APP.P.i("--x-organic-progress-glow")+":2;"+$APP.P.i("--x-organic-progress-opacity")+
34
+ ":1;background:var("+$APP.P.i("--x-organic-progress-bg")+",transparent);opacity:var("+$APP.P.i("--x-organic-progress-opacity")+",1);}[part\x3dsvg]{display:block;width:100%;height:100%;}[part\x3dnodes] circle{fill:var("+$APP.P.i("--x-organic-progress-color-primary")+",#22c55e);}@media(prefers-color-scheme:dark){:host{--x-organic-progress-color-primary:var(--x-color-success,#4ade80);--x-organic-progress-color-secondary:var(--x-color-success,#22c55e);--x-organic-progress-bloom-color:var(--x-color-danger,#f9a8d4);}}@media(prefers-reduced-motion:reduce){[part\x3dsvg]{transition:none!important;}.bloom-petal{transition:none!important;animation:none!important;}}",
35
+ p8=function p8(a){if($APP.n(a.isConnected)){var c=$APP.l(a,"__xOrganicProgressModel"),d=performance.now(),e=Math.min(d-$APP.l(a,"__xOrganicProgressLF"),100)/1E3;$APP.ji(a,"__xOrganicProgressLF",d);$APP.ji(a,"__xOrganicProgressTime",$APP.l(a,"__xOrganicProgressTime")+e);d=$APP.n($APP.kk.i(c))?50+20*Math.sin($APP.l(a,"__xOrganicProgressTime")*1.5):$APP.or.i(c);d=ena($APP.l(a,"__xOrganicProgressSPos"),d,$APP.l(a,"__xOrganicProgressSVel"),e);$APP.R(a,"__xOrganicProgressSPos",d[0]);$APP.R(a,"__xOrganicProgressSVel",
36
+ d[1]);ina(a);$APP.n(function(){var f=$APP.Oq.i(c);return $APP.n(f)?$APP.p($APP.l(a,"__xOrganicProgressDone")):f}())&&($APP.R(a,"__xOrganicProgressDone",!0),$APP.pi(a,"x-organic-progress-complete",{progress:100}),$APP.n(t8.i(c))&&jna(a));$APP.n(function(){var f=$APP.p($APP.Oq.i(c));return f?(f=$APP.l(a,"__xOrganicProgressDone"),$APP.n(f)?$APP.p($APP.l(a,"__xOrganicProgressBloom")):f):f}())&&$APP.R(a,"__xOrganicProgressDone",!1);$APP.n($APP.l(a,"__xOrganicProgressBloom"))&&kna(a,e);return $APP.ji(a,
37
+ "__xOrganicProgressRaf",requestAnimationFrame(function(){return p8.i?p8.i(a):p8.call(null,a)}))}return null};$APP.fa("baredom.exports.x_organic_progress.init",w8);export const init=w8;
@@ -1,14 +1,15 @@
1
1
  import { $APP, shadow$provide } from "./base.js";
2
- var tR=function(a){return typeof a==="string"&&$APP.Vc(sR,a)?a:"blob-1"},uR=function(a){return typeof a==="string"&&$APP.M("",a)?a:null},vR=function(a){var b=a.attachShadow({mode:"open"}),c=document.createElement("style"),d=document.createElement("div"),e=document.createElement("slot");c.textContent=":host{display:block;box-sizing:border-box;color-scheme:light dark;--x-organic-shape-fill:rgba(99,102,241,0.12);--x-organic-shape-stroke:transparent;--x-organic-shape-stroke-width:0;--x-organic-shape-opacity:1;--x-organic-shape-shadow:none;--x-organic-shape-animate-duration:8s;--x-organic-shape-animate-timing:ease-in-out;--x-organic-shape-animate-direction:normal;--x-organic-shape-animate-delay:0s;}@media (prefers-color-scheme:dark){:host{--x-organic-shape-fill:rgba(129,140,248,0.18);}}[part\x3dshape]{width:100%;height:100%;position:relative;overflow:hidden;background:var(--x-organic-shape-fill);outline:var(--x-organic-shape-stroke-width) solid var(--x-organic-shape-stroke);outline-offset:calc(-1 * var(--x-organic-shape-stroke-width));opacity:var(--x-organic-shape-opacity);filter:var(--x-organic-shape-shadow);display:flex;align-items:center;justify-content:center;transition:clip-path 0.3s ease,opacity 0.3s ease;}@keyframes x-organic-shape-morph{0%,100%{clip-path:var(--x-organic-shape-clip);}50%{clip-path:var(--x-organic-shape-clip-alt);}}@keyframes x-organic-shape-pulse{0%,100%{transform:scale(1);}50%{transform:scale(1.06);}}@keyframes x-organic-shape-float{0%,100%{transform:translateY(0);}50%{transform:translateY(-6%);}}@keyframes x-organic-shape-spin{0%{transform:rotate(0deg);}100%{transform:rotate(360deg);}}:host([data-animation\x3dmorph]) [part\x3dshape]{animation:x-organic-shape-morph var(--x-organic-shape-animate-duration) var(--x-organic-shape-animate-timing) var(--x-organic-shape-animate-delay) infinite var(--x-organic-shape-animate-direction);}:host([data-animation\x3dpulse]) [part\x3dshape]{animation:x-organic-shape-pulse var(--x-organic-shape-animate-duration) var(--x-organic-shape-animate-timing) var(--x-organic-shape-animate-delay) infinite var(--x-organic-shape-animate-direction);}:host([data-animation\x3dfloat]) [part\x3dshape]{animation:x-organic-shape-float var(--x-organic-shape-animate-duration) var(--x-organic-shape-animate-timing) var(--x-organic-shape-animate-delay) infinite var(--x-organic-shape-animate-direction);}:host([data-animation\x3dspin]) [part\x3dshape]{animation:x-organic-shape-spin var(--x-organic-shape-animate-duration) linear var(--x-organic-shape-animate-delay) infinite var(--x-organic-shape-animate-direction);}@media (prefers-reduced-motion:reduce){:host([data-animation]) [part\x3dshape]{animation:none;}}";
3
- d.setAttribute("part","shape");d.appendChild(e);b.appendChild(c);b.appendChild(d);a.__xOrganicShapeBase=d;a.__xOrganicShapeSlot=e;a.__xOrganicShapeInit=!0},wR=function(a,b){if($APP.n($APP.n(b)?b.assignedNodes().length>0:null))return a.removeAttribute("role"),a.removeAttribute("aria-hidden");a.setAttribute("role","presentation");return a.setAttribute("aria-hidden","true")},BR=function(a){var b=new $APP.P(null,6,[$APP.zl,a.getAttribute("shape"),$APP.um,a.getAttribute("path"),$APP.ii,a.getAttribute("animation"),
4
- $APP.Lk,a.getAttribute("ratio"),$APP.ji,a.getAttribute("width"),$APP.ki,a.getAttribute("height")],null);var c=$APP.H(b),d=$APP.C(c,$APP.zl),e=$APP.C(c,$APP.um),f=$APP.C(c,$APP.ii),h=$APP.C(c,$APP.Lk);b=$APP.C(c,$APP.ji);c=$APP.C(c,$APP.ki);e=typeof e==="string"&&$APP.M("",e.trim())?e.trim():null;d=tR(d);var l=typeof f==="string"&&$APP.Vc(xR,f)?f:"none";f=e!=null?e:$APP.pe(yR,new $APP.N(null,2,5,$APP.O,[tR(d),zR],null));var m=e==null?$APP.pe(yR,new $APP.N(null,2,5,$APP.O,[tR(d),AR],null)):null;l=$APP.B.j(l,
5
- "morph")&&m==null?"none":l;h=typeof h==="string"&&$APP.M("",h.trim())?h.trim():"1/1";b=new $APP.P(null,8,[$APP.zl,d,$APP.um,e,zR,f,AR,m,$APP.ii,l,$APP.Lk,h,$APP.ji,uR(b),$APP.ki,uR(c)],null);f=$APP.H(b);b=$APP.C(f,zR);h=$APP.C(f,AR);c=$APP.C(f,$APP.ii);e=$APP.C(f,$APP.Lk);d=$APP.C(f,$APP.ji);f=$APP.C(f,$APP.ki);m=$APP.k(a,"__xOrganicShapeBase");l=$APP.k(a,"__xOrganicShapeSlot");m.style.setProperty("--x-organic-shape-clip",b);$APP.n(h)?m.style.setProperty("--x-organic-shape-clip-alt",h):m.style.removeProperty("--x-organic-shape-clip-alt");
6
- m.style.setProperty("clip-path",b);m.style.setProperty("aspect-ratio",e);$APP.n(d)?m.style.setProperty("width",d):m.style.removeProperty("width");$APP.n(f)?m.style.setProperty("height",f):m.style.removeProperty("height");$APP.M(c,"none")?a.setAttribute("data-animation",c):a.removeAttribute("data-animation");wR(a,l)},CR=function(a){function b(){return wR(a,c)}$APP.n($APP.k(a,"__xOrganicShapeInit"))||vR(a);var c=$APP.k(a,"__xOrganicShapeSlot");a.__xOrganicShapeSlotHandler=b;c.addEventListener("slotchange",
7
- b);BR(a);return null},DR=function(a,b,c,d){$APP.M(c,d)&&$APP.n($APP.k(a,"__xOrganicShapeInit"))&&BR(a);return null},ER=function(a){Object.defineProperty(a,"shape",{get:function(){var b=this.getAttribute("shape");return $APP.n(b)?b:"blob-1"},set:function(b){return typeof b==="string"&&$APP.M("",b)?this.setAttribute("shape",b):this.removeAttribute("shape")},enumerable:!0,configurable:!0});Object.defineProperty(a,"path",{get:function(){return this.getAttribute("path")},set:function(b){return typeof b===
8
- "string"&&$APP.M("",b)?this.setAttribute("path",b):this.removeAttribute("path")},enumerable:!0,configurable:!0});Object.defineProperty(a,"animation",{get:function(){var b=this.getAttribute("animation");return $APP.n(b)?b:"none"},set:function(b){return typeof b==="string"&&$APP.M("",b)?this.setAttribute("animation",b):this.removeAttribute("animation")},enumerable:!0,configurable:!0});Object.defineProperty(a,"ratio",{get:function(){var b=this.getAttribute("ratio");return $APP.n(b)?b:"1/1"},set:function(b){return typeof b===
9
- "string"&&$APP.M("",b)?this.setAttribute("ratio",b):this.removeAttribute("ratio")},enumerable:!0,configurable:!0});Object.defineProperty(a,"width",{get:function(){var b=this.getAttribute("width");return $APP.n(b)?b:""},set:function(b){return typeof b==="string"&&$APP.M("",b)?this.setAttribute("width",b):this.removeAttribute("width")},enumerable:!0,configurable:!0});return Object.defineProperty(a,"height",{get:function(){var b=this.getAttribute("height");return $APP.n(b)?b:""},set:function(b){return typeof b===
10
- "string"&&$APP.M("",b)?this.setAttribute("height",b):this.removeAttribute("height")},enumerable:!0,configurable:!0})},GR=function(){return $APP.Wg("x-organic-shape",new $APP.P(null,4,[$APP.Mg,FR,$APP.Ng,CR,$APP.Qg,DR,$APP.Ug,ER],null))},zR=new $APP.F(null,"clip","clip",830998499),AR=new $APP.F(null,"clip-alt","clip-alt",-684562835);var FR="shape path animation ratio width height".split(" "),xR=new $APP.Q(null,new $APP.P(null,5,["float",null,"none",null,"pulse",null,"spin",null,"morph",null],null),null),sR=new $APP.Q(null,new $APP.P(null,8,["cloud",null,"blob-3",null,"leaf",null,"pebble",null,"blob-1",null,"blob-2",null,"wave",null,"droplet",null],null),null),yR=new $APP.P(null,8,["blob-1",new $APP.P(null,2,[zR,"polygon(30% 0%, 70% 0%, 100% 30%, 95% 70%, 70% 100%, 30% 95%, 0% 70%, 5% 30%)",AR,"polygon(25% 5%, 75% 0%, 95% 25%, 100% 65%, 75% 95%, 25% 100%, 0% 65%, 5% 25%)"],
11
- null),"blob-2",new $APP.P(null,2,[zR,"polygon(50% 0%, 80% 10%, 100% 40%, 95% 75%, 70% 100%, 30% 100%, 5% 75%, 0% 40%, 20% 10%)",AR,"polygon(50% 5%, 85% 15%, 100% 45%, 90% 80%, 65% 95%, 35% 95%, 10% 80%, 0% 45%, 15% 15%)"],null),"blob-3",new $APP.P(null,2,[zR,"polygon(20% 0%, 80% 0%, 100% 20%, 100% 50%, 90% 80%, 70% 100%, 30% 100%, 10% 80%, 0% 50%, 0% 20%)",AR,"polygon(25% 5%, 75% 5%, 95% 25%, 100% 55%, 85% 85%, 65% 95%, 35% 95%, 15% 85%, 0% 55%, 5% 25%)"],null),"pebble",new $APP.P(null,2,[zR,"polygon(50% 2%, 78% 8%, 96% 30%, 98% 60%, 85% 88%, 55% 98%, 25% 92%, 4% 65%, 2% 35%, 22% 8%)",
12
- AR,"polygon(50% 5%, 75% 12%, 93% 32%, 96% 58%, 82% 85%, 52% 96%, 28% 90%, 8% 62%, 5% 38%, 25% 12%)"],null),"leaf",new $APP.P(null,2,[zR,"polygon(50% 0%, 80% 15%, 98% 45%, 90% 75%, 65% 98%, 50% 100%, 35% 98%, 10% 75%, 2% 45%, 20% 15%)",AR,"polygon(50% 3%, 78% 18%, 95% 42%, 88% 72%, 62% 95%, 50% 97%, 38% 95%, 12% 72%, 5% 42%, 22% 18%)"],null),"droplet",new $APP.P(null,2,[zR,"polygon(50% 0%, 72% 20%, 90% 50%, 95% 72%, 80% 92%, 50% 100%, 20% 92%, 5% 72%, 10% 50%, 28% 20%)",AR,"polygon(50% 5%, 70% 22%, 88% 48%, 92% 70%, 78% 90%, 50% 97%, 22% 90%, 8% 70%, 12% 48%, 30% 22%)"],
13
- null),"cloud",new $APP.P(null,2,[zR,"polygon(10% 60%, 0% 45%, 5% 30%, 18% 20%, 32% 15%, 45% 8%, 58% 12%, 72% 8%, 85% 18%, 95% 32%, 100% 50%, 95% 65%, 80% 75%, 55% 80%, 30% 78%, 15% 72%)",AR,"polygon(12% 58%, 2% 43%, 8% 28%, 20% 18%, 35% 12%, 48% 10%, 60% 14%, 75% 10%, 88% 20%, 97% 35%, 98% 52%, 92% 68%, 78% 78%, 52% 82%, 28% 80%, 13% 70%)"],null),"wave",new $APP.P(null,2,[zR,"polygon(0% 35%, 15% 20%, 30% 30%, 50% 15%, 70% 28%, 85% 18%, 100% 30%, 100% 75%, 85% 85%, 70% 72%, 50% 85%, 30% 75%, 15% 82%, 0% 70%)",
14
- AR,"polygon(0% 30%, 15% 25%, 30% 35%, 50% 20%, 70% 32%, 85% 22%, 100% 35%, 100% 70%, 85% 80%, 70% 68%, 50% 80%, 30% 70%, 15% 78%, 0% 65%)"],null)],null);$APP.da("baredom.exports.x_organic_shape.init",GR);export const init=GR;
2
+ var FW=function(a){return typeof a==="string"&&$APP.$c(Lda,a)?a:"blob-1"},GW=function(a){return typeof a==="string"&&$APP.I("",a)?a:null},Mda=function(a){var b=a.attachShadow({mode:"open"}),c=document.createElement("style"),d=document.createElement("div"),e=document.createElement("slot");c.textContent=":host{display:block;box-sizing:border-box;color-scheme:light dark;--x-organic-shape-fill:rgba(99,102,241,0.12);--x-organic-shape-stroke:transparent;--x-organic-shape-stroke-width:0;--x-organic-shape-opacity:1;--x-organic-shape-shadow:none;--x-organic-shape-animate-duration:8s;--x-organic-shape-animate-timing:ease-in-out;--x-organic-shape-animate-direction:normal;--x-organic-shape-animate-delay:0s;}@media (prefers-color-scheme:dark){:host{--x-organic-shape-fill:rgba(129,140,248,0.18);}}[part\x3dshape]{width:100%;height:100%;position:relative;overflow:hidden;background:var(--x-organic-shape-fill);outline:var(--x-organic-shape-stroke-width) solid var(--x-organic-shape-stroke);outline-offset:calc(-1 * var(--x-organic-shape-stroke-width));opacity:var(--x-organic-shape-opacity);filter:var(--x-organic-shape-shadow);display:flex;align-items:center;justify-content:center;transition:clip-path 0.3s ease,opacity 0.3s ease;}@keyframes x-organic-shape-morph{0%,100%{clip-path:var(--x-organic-shape-clip);}50%{clip-path:var(--x-organic-shape-clip-alt);}}@keyframes x-organic-shape-pulse{0%,100%{transform:scale(1);}50%{transform:scale(1.06);}}@keyframes x-organic-shape-float{0%,100%{transform:translateY(0);}50%{transform:translateY(-6%);}}@keyframes x-organic-shape-spin{0%{transform:rotate(0deg);}100%{transform:rotate(360deg);}}:host([data-animation\x3dmorph]) [part\x3dshape]{animation:x-organic-shape-morph var(--x-organic-shape-animate-duration) var(--x-organic-shape-animate-timing) var(--x-organic-shape-animate-delay) infinite var(--x-organic-shape-animate-direction);}:host([data-animation\x3dpulse]) [part\x3dshape]{animation:x-organic-shape-pulse var(--x-organic-shape-animate-duration) var(--x-organic-shape-animate-timing) var(--x-organic-shape-animate-delay) infinite var(--x-organic-shape-animate-direction);}:host([data-animation\x3dfloat]) [part\x3dshape]{animation:x-organic-shape-float var(--x-organic-shape-animate-duration) var(--x-organic-shape-animate-timing) var(--x-organic-shape-animate-delay) infinite var(--x-organic-shape-animate-direction);}:host([data-animation\x3dspin]) [part\x3dshape]{animation:x-organic-shape-spin var(--x-organic-shape-animate-duration) linear var(--x-organic-shape-animate-delay) infinite var(--x-organic-shape-animate-direction);}@media (prefers-reduced-motion:reduce){:host([data-animation]) [part\x3dshape]{animation:none;}}";
3
+ $APP.T(d,"part","shape");d.appendChild(e);b.appendChild(c);b.appendChild(d);$APP.R(a,"__xOrganicShapeBase",d);$APP.R(a,"__xOrganicShapeSlot",e);$APP.R(a,"__xOrganicShapeInit",!0)},HW=function(a,b){if($APP.n($APP.n(b)?b.assignedNodes().length>0:null))return $APP.U(a,"role"),$APP.U(a,"aria-hidden");$APP.T(a,"role","presentation");return $APP.T(a,"aria-hidden","true")},LW=function(a){var b=new $APP.N(null,6,[$APP.Ep,a.getAttribute("shape"),$APP.xq,a.getAttribute("path"),$APP.Ul,a.getAttribute("animation"),
4
+ $APP.Ko,a.getAttribute("ratio"),$APP.Vl,a.getAttribute("width"),$APP.Wl,a.getAttribute("height")],null);var c=$APP.H(b),d=$APP.C(c,$APP.Ep),e=$APP.C(c,$APP.xq),f=$APP.C(c,$APP.Ul),h=$APP.C(c,$APP.Ko);b=$APP.C(c,$APP.Vl);c=$APP.C(c,$APP.Wl);e=typeof e==="string"&&$APP.I("",e.trim())?e.trim():null;d=FW(d);var k=typeof f==="string"&&$APP.$c(Nda,f)?f:"none";f=e!=null?e:$APP.ze(IW,new $APP.K(null,2,5,$APP.M,[FW(d),JW],null));var m=e==null?$APP.ze(IW,new $APP.K(null,2,5,$APP.M,[FW(d),KW],null)):null;k=
5
+ $APP.y.j(k,"morph")&&m==null?"none":k;h=typeof h==="string"&&$APP.I("",h.trim())?h.trim():"1/1";b=new $APP.N(null,8,[$APP.Ep,d,$APP.xq,e,JW,f,KW,m,$APP.Ul,k,$APP.Ko,h,$APP.Vl,GW(b),$APP.Wl,GW(c)],null);f=$APP.H(b);b=$APP.C(f,JW);h=$APP.C(f,KW);c=$APP.C(f,$APP.Ul);e=$APP.C(f,$APP.Ko);d=$APP.C(f,$APP.Vl);f=$APP.C(f,$APP.Wl);m=$APP.l(a,"__xOrganicShapeBase");k=$APP.l(a,"__xOrganicShapeSlot");m.style.setProperty("--x-organic-shape-clip",b);$APP.n(h)?m.style.setProperty("--x-organic-shape-clip-alt",h):
6
+ m.style.removeProperty("--x-organic-shape-clip-alt");m.style.setProperty("clip-path",b);m.style.setProperty("aspect-ratio",e);$APP.n(d)?m.style.setProperty("width",d):m.style.removeProperty("width");$APP.n(f)?m.style.setProperty("height",f):m.style.removeProperty("height");$APP.I(c,"none")?$APP.T(a,"data-animation",c):$APP.U(a,"data-animation");return HW(a,k)},MW=function(a){var b=$APP.l(a,"__xOrganicShapeSlot"),c=$APP.l(a,"__xOrganicShapeSlotHandler");return $APP.n($APP.n(b)?c:b)?(b.removeEventListener("slotchange",
7
+ c),$APP.R(a,"__xOrganicShapeSlotHandler",null)):null},Oda=function(a){function b(){return HW(a,c)}$APP.n($APP.l(a,"__xOrganicShapeInit"))||Mda(a);MW(a);var c=$APP.l(a,"__xOrganicShapeSlot");$APP.R(a,"__xOrganicShapeSlotHandler",b);c.addEventListener("slotchange",b);return LW(a)},Pda=function(a){return MW(a)},Qda=function(a,b,c,d){return $APP.I(c,d)?$APP.n($APP.l(a,"__xOrganicShapeInit"))?LW(a):null:null},Rda=function(a){Object.defineProperty(a,"shape",{get:function(){var b=this.getAttribute("shape");
8
+ return $APP.n(b)?b:"blob-1"},set:function(b){return typeof b==="string"&&$APP.I("",b)?$APP.T(this,"shape",b):$APP.U(this,"shape")},enumerable:!0,configurable:!0});Object.defineProperty(a,"path",{get:function(){return this.getAttribute("path")},set:function(b){return typeof b==="string"&&$APP.I("",b)?$APP.T(this,"path",b):$APP.U(this,"path")},enumerable:!0,configurable:!0});Object.defineProperty(a,"animation",{get:function(){var b=this.getAttribute("animation");return $APP.n(b)?b:"none"},set:function(b){return typeof b===
9
+ "string"&&$APP.I("",b)?$APP.T(this,"animation",b):$APP.U(this,"animation")},enumerable:!0,configurable:!0});Object.defineProperty(a,"ratio",{get:function(){var b=this.getAttribute("ratio");return $APP.n(b)?b:"1/1"},set:function(b){return typeof b==="string"&&$APP.I("",b)?$APP.T(this,"ratio",b):$APP.U(this,"ratio")},enumerable:!0,configurable:!0});Object.defineProperty(a,"width",{get:function(){var b=this.getAttribute("width");return $APP.n(b)?b:""},set:function(b){return typeof b==="string"&&$APP.I("",
10
+ b)?$APP.T(this,"width",b):$APP.U(this,"width")},enumerable:!0,configurable:!0});return Object.defineProperty(a,"height",{get:function(){var b=this.getAttribute("height");return $APP.n(b)?b:""},set:function(b){return typeof b==="string"&&$APP.I("",b)?$APP.T(this,"height",b):$APP.U(this,"height")},enumerable:!0,configurable:!0})},NW=function(){return $APP.Kh("x-organic-shape",new $APP.N(null,5,[$APP.Bh,Sda,$APP.zh,Oda,$APP.qh,Pda,$APP.ph,Qda,$APP.Ah,Rda],null))},JW=new $APP.F(null,"clip","clip",830998499),
11
+ KW=new $APP.F(null,"clip-alt","clip-alt",-684562835);var Sda="shape path animation ratio width height".split(" "),Nda=new $APP.rg(null,new $APP.N(null,5,["float",null,"none",null,"pulse",null,"spin",null,"morph",null],null),null),Lda=new $APP.rg(null,new $APP.N(null,8,["cloud",null,"blob-3",null,"leaf",null,"pebble",null,"blob-1",null,"blob-2",null,"wave",null,"droplet",null],null),null),IW=new $APP.N(null,8,["blob-1",new $APP.N(null,2,[JW,"polygon(30% 0%, 70% 0%, 100% 30%, 95% 70%, 70% 100%, 30% 95%, 0% 70%, 5% 30%)",KW,"polygon(25% 5%, 75% 0%, 95% 25%, 100% 65%, 75% 95%, 25% 100%, 0% 65%, 5% 25%)"],
12
+ null),"blob-2",new $APP.N(null,2,[JW,"polygon(50% 0%, 80% 10%, 100% 40%, 95% 75%, 70% 100%, 30% 100%, 5% 75%, 0% 40%, 20% 10%)",KW,"polygon(50% 5%, 85% 15%, 100% 45%, 90% 80%, 65% 95%, 35% 95%, 10% 80%, 0% 45%, 15% 15%)"],null),"blob-3",new $APP.N(null,2,[JW,"polygon(20% 0%, 80% 0%, 100% 20%, 100% 50%, 90% 80%, 70% 100%, 30% 100%, 10% 80%, 0% 50%, 0% 20%)",KW,"polygon(25% 5%, 75% 5%, 95% 25%, 100% 55%, 85% 85%, 65% 95%, 35% 95%, 15% 85%, 0% 55%, 5% 25%)"],null),"pebble",new $APP.N(null,2,[JW,"polygon(50% 2%, 78% 8%, 96% 30%, 98% 60%, 85% 88%, 55% 98%, 25% 92%, 4% 65%, 2% 35%, 22% 8%)",
13
+ KW,"polygon(50% 5%, 75% 12%, 93% 32%, 96% 58%, 82% 85%, 52% 96%, 28% 90%, 8% 62%, 5% 38%, 25% 12%)"],null),"leaf",new $APP.N(null,2,[JW,"polygon(50% 0%, 80% 15%, 98% 45%, 90% 75%, 65% 98%, 50% 100%, 35% 98%, 10% 75%, 2% 45%, 20% 15%)",KW,"polygon(50% 3%, 78% 18%, 95% 42%, 88% 72%, 62% 95%, 50% 97%, 38% 95%, 12% 72%, 5% 42%, 22% 18%)"],null),"droplet",new $APP.N(null,2,[JW,"polygon(50% 0%, 72% 20%, 90% 50%, 95% 72%, 80% 92%, 50% 100%, 20% 92%, 5% 72%, 10% 50%, 28% 20%)",KW,"polygon(50% 5%, 70% 22%, 88% 48%, 92% 70%, 78% 90%, 50% 97%, 22% 90%, 8% 70%, 12% 48%, 30% 22%)"],
14
+ null),"cloud",new $APP.N(null,2,[JW,"polygon(10% 60%, 0% 45%, 5% 30%, 18% 20%, 32% 15%, 45% 8%, 58% 12%, 72% 8%, 85% 18%, 95% 32%, 100% 50%, 95% 65%, 80% 75%, 55% 80%, 30% 78%, 15% 72%)",KW,"polygon(12% 58%, 2% 43%, 8% 28%, 20% 18%, 35% 12%, 48% 10%, 60% 14%, 75% 10%, 88% 20%, 97% 35%, 98% 52%, 92% 68%, 78% 78%, 52% 82%, 28% 80%, 13% 70%)"],null),"wave",new $APP.N(null,2,[JW,"polygon(0% 35%, 15% 20%, 30% 30%, 50% 15%, 70% 28%, 85% 18%, 100% 30%, 100% 75%, 85% 85%, 70% 72%, 50% 85%, 30% 75%, 15% 82%, 0% 70%)",
15
+ KW,"polygon(0% 30%, 15% 25%, 30% 35%, 50% 20%, 70% 32%, 85% 22%, 100% 35%, 100% 70%, 85% 80%, 70% 68%, 50% 80%, 30% 70%, 15% 78%, 0% 65%)"],null)],null);$APP.fa("baredom.exports.x_organic_shape.init",NW);export const init=NW;