bitwrench 2.1.0 → 2.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (71) hide show
  1. package/README.md +1 -0
  2. package/dist/bitwrench-bccl.cjs.js +1 -1
  3. package/dist/bitwrench-bccl.cjs.min.js +1 -1
  4. package/dist/bitwrench-bccl.cjs.min.js.gz +0 -0
  5. package/dist/bitwrench-bccl.esm.js +1 -1
  6. package/dist/bitwrench-bccl.esm.min.js +1 -1
  7. package/dist/bitwrench-bccl.esm.min.js.gz +0 -0
  8. package/dist/bitwrench-bccl.umd.js +1 -1
  9. package/dist/bitwrench-bccl.umd.min.js +1 -1
  10. package/dist/bitwrench-bccl.umd.min.js.gz +0 -0
  11. package/dist/bitwrench-code-edit.cjs.js +1 -1
  12. package/dist/bitwrench-code-edit.cjs.min.js +1 -1
  13. package/dist/bitwrench-code-edit.es5.js +1 -1
  14. package/dist/bitwrench-code-edit.es5.min.js +1 -1
  15. package/dist/bitwrench-code-edit.esm.js +1 -1
  16. package/dist/bitwrench-code-edit.esm.min.js +1 -1
  17. package/dist/bitwrench-code-edit.umd.js +1 -1
  18. package/dist/bitwrench-code-edit.umd.min.js +1 -1
  19. package/dist/bitwrench-code-edit.umd.min.js.gz +0 -0
  20. package/dist/bitwrench-debug.js +1 -1
  21. package/dist/bitwrench-debug.min.js +1 -1
  22. package/dist/bitwrench-lean.cjs.js +3 -3
  23. package/dist/bitwrench-lean.cjs.min.js +2 -2
  24. package/dist/bitwrench-lean.cjs.min.js.gz +0 -0
  25. package/dist/bitwrench-lean.es5.js +3 -3
  26. package/dist/bitwrench-lean.es5.min.js +2 -2
  27. package/dist/bitwrench-lean.es5.min.js.gz +0 -0
  28. package/dist/bitwrench-lean.esm.js +3 -3
  29. package/dist/bitwrench-lean.esm.min.js +2 -2
  30. package/dist/bitwrench-lean.esm.min.js.gz +0 -0
  31. package/dist/bitwrench-lean.umd.js +3 -3
  32. package/dist/bitwrench-lean.umd.min.js +2 -2
  33. package/dist/bitwrench-lean.umd.min.js.gz +0 -0
  34. package/dist/bitwrench-util-color.cjs.js +1 -1
  35. package/dist/bitwrench-util-color.cjs.min.js +1 -1
  36. package/dist/bitwrench-util-color.es5.js +1 -1
  37. package/dist/bitwrench-util-color.es5.min.js +1 -1
  38. package/dist/bitwrench-util-color.esm.js +1 -1
  39. package/dist/bitwrench-util-color.esm.min.js +1 -1
  40. package/dist/bitwrench-util-color.umd.js +1 -1
  41. package/dist/bitwrench-util-color.umd.min.js +1 -1
  42. package/dist/bitwrench-util-css.cjs.js +1 -1
  43. package/dist/bitwrench-util-css.cjs.min.js +1 -1
  44. package/dist/bitwrench-util-css.es5.js +1 -1
  45. package/dist/bitwrench-util-css.es5.min.js +1 -1
  46. package/dist/bitwrench-util-css.esm.js +1 -1
  47. package/dist/bitwrench-util-css.esm.min.js +1 -1
  48. package/dist/bitwrench-util-css.umd.js +1 -1
  49. package/dist/bitwrench-util-css.umd.min.js +1 -1
  50. package/dist/bitwrench-util-css.umd.min.js.gz +0 -0
  51. package/dist/bitwrench.cjs.js +3 -3
  52. package/dist/bitwrench.cjs.min.js +2 -2
  53. package/dist/bitwrench.cjs.min.js.gz +0 -0
  54. package/dist/bitwrench.css +1 -1
  55. package/dist/bitwrench.es5.js +3 -3
  56. package/dist/bitwrench.es5.min.js +2 -2
  57. package/dist/bitwrench.es5.min.js.gz +0 -0
  58. package/dist/bitwrench.esm.js +3 -3
  59. package/dist/bitwrench.esm.min.js +2 -2
  60. package/dist/bitwrench.esm.min.js.gz +0 -0
  61. package/dist/bitwrench.umd.js +3 -3
  62. package/dist/bitwrench.umd.min.js +2 -2
  63. package/dist/bitwrench.umd.min.js.gz +0 -0
  64. package/dist/builds.json +58 -58
  65. package/dist/bwserve.cjs.js +2 -2
  66. package/dist/bwserve.esm.js +2 -2
  67. package/dist/sri.json +52 -52
  68. package/docs/bitwrench_api.md +1 -1
  69. package/package.json +1 -1
  70. package/readme.html +2 -3
  71. package/src/version.js +3 -3
@@ -1,3 +1,3 @@
1
- /*! bitwrench-lean v2.1.0 | BSD-2-Clause | https://deftio.github.io/bitwrench/pages */
2
- !function(e,r){"object"==typeof exports&&"undefined"!=typeof module?module.exports=r():"function"==typeof define&&define.amd?define(r):(e="undefined"!=typeof globalThis?globalThis:e||self).bw=r()}(this,function(){"use strict";var e="undefined"!=typeof document?document.currentScript:null;function r(e,r){(null==r||r>e.length)&&(r=e.length);for(var t=0,n=Array(r);t<r;t++)n[t]=e[t];return n}function t(e,r,t){return(r=function(e){var r=function(e,r){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,r);if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===r?String:Number)(e)}(e,"string");return"symbol"==typeof r?r:r+""}(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function n(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),t.push.apply(t,n)}return t}function o(e){for(var r=1;r<arguments.length;r++){var o=null!=arguments[r]?arguments[r]:{};r%2?n(Object(o),!0).forEach(function(r){t(e,r,o[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):n(Object(o)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(o,r))})}return e}function a(e,r){if(null==e)return{};var t,n,o=function(e,r){if(null==e)return{};var t={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==r.indexOf(n))continue;t[n]=e[n]}return t}(e,r);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)t=a[n],-1===r.indexOf(t)&&{}.propertyIsEnumerable.call(e,t)&&(o[t]=e[t])}return o}function i(e,r){return function(e){if(Array.isArray(e))return e}(e)||function(e,r){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var n,o,a,i,l=[],c=!0,s=!1;try{if(a=(t=t.call(e)).next,0===r);else for(;!(c=(n=a.call(t)).done)&&(l.push(n.value),l.length!==r);c=!0);}catch(e){s=!0,o=e}finally{try{if(!c&&null!=t.return&&(i=t.return(),Object(i)!==i))return}finally{if(s)throw o}}return l}}(e,r)||s(e,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function l(e){return function(e){if(Array.isArray(e))return r(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||s(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function c(e){return c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},c(e)}function s(e,t){if(e){if("string"==typeof e)return r(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(e,t):void 0}}var b={version:"2.1.0",name:"bitwrench",license:"BSD-2-Clause",buildDate:"2026-07-15T05:51:07.722Z"};function d(e){return("0"+e.toString(16)).slice(-2)}function u(e,r,t){return Math.max(r,Math.min(t,e))}function _(e){var r="#"===e.charAt(0)?e.slice(1):e;return 3===r.length&&(r=r[0]+r[0]+r[1]+r[1]+r[2]+r[2]),[parseInt(r.slice(0,2),16),parseInt(r.slice(2,4),16),parseInt(r.slice(4,6),16)]}function p(e,r,t){e/=255,r/=255,t/=255;var n,o,a=Math.max(e,r,t),i=Math.min(e,r,t),l=(a+i)/2;if(a===i)n=o=0;else{var c=a-i;switch(o=l>.5?c/(2-a-i):c/(a+i),a){case e:n=((r-t)/c+(r<t?6:0))/6;break;case r:n=((t-e)/c+2)/6;break;case t:n=((e-r)/c+4)/6}}return[360*n,100*o,100*l]}function f(e,r,t){var n,o,a,i=e/360,l=r/100,c=t/100;if(0===l)n=o=a=255*c;else{var s=function(e,r,t){return t<0&&(t+=1),t>1&&(t-=1),t<1/6?e+6*(r-e)*t:t<.5?r:t<2/3?e+(r-e)*(2/3-t)*6:e},b=c<.5?c*(1+l):c+l-c*l,d=2*c-b;n=255*s(d,b,i+1/3),o=255*s(d,b,i),a=255*s(d,b,i-1/3)}return[Math.round(n),Math.round(o),Math.round(a)]}function m(e,r,t,n,o,a){var i=(e-r)/(t-r);a&&a.expScale&&1!==a.expScale&&(i=Math.pow(i,a.expScale));var l=i*(o-n)+n;return a&&a.clip&&(l=u(l,Math.min(n,o),Math.max(n,o))),l}function w(e,r,t,n,o){void 0===n&&(n=255),void 0===o&&(o=!0),Array.isArray(e)&&(r=e[1],t=e[2],n=void 0!==e[3]?e[3]:255,e=e[0]);var a=f(e,r,t);return o&&(n=Math.round(n)),[a[0],a[1],a[2],n,"rgb"]}function g(e,r){void 0===r&&(r=255);var t=[0,0,0,r,"rgb"];if(Array.isArray(e)){for(var n=[0,0,0,255,"rgb"],o=0;o<e.length&&o<n.length;o++)n[o]=e[o];return n}if("#"===(e=String(e).replace(/\s/g,""))[0]){var a=e.slice(1);if(3===a.length||4===a.length)for(var i=0;i<a.length;i++)t[i]=parseInt(a[i]+a[i],16);else if(6===a.length||8===a.length)for(var l=0;l<a.length;l+=2)t[l/2]=parseInt(a.substring(l,l+2),16)}else{var c=e.match(/^(rgb|hsl)a?\(([^)]+)\)$/i);if(c){var s=c[1].toLowerCase(),b=c[2].split(",").map(function(e){return parseFloat(e)});if("rgb"===s)t[0]=b[0]||0,t[1]=b[1]||0,t[2]=b[2]||0,t[3]=void 0!==b[3]?255*b[3]:r;else if("hsl"===s)return w(b[0]||0,b[1]||0,b[2]||0,void 0!==b[3]?255*b[3]:r)}}return t}function h(e){var r=_(e);return p(r[0],r[1],r[2])}function v(e){var r=f(e[0],e[1],e[2]);return"#"+d(r[0])+d(r[1])+d(r[2])}function y(e,r){var t=h(e);return t[2]=u(t[2]+r,0,100),v(t)}function x(e,r,t){var n=_(e),o=_(r),a=Math.round(n[0]+(o[0]-n[0])*t),i=Math.round(n[1]+(o[1]-n[1])*t),l=Math.round(n[2]+(o[2]-n[2])*t);return"#"+d(a)+d(i)+d(l)}function k(e){var r=_(e),t=[r[0]/255,r[1]/255,r[2]/255].map(function(e){return e<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4)});return.2126*t[0]+.7152*t[1]+.0722*t[2]}function C(e){return k(e)>.179?"#000":"#fff"}function S(e,r,t){if(void 0===t&&(t=.2),0===t)return e;var n=h(e),o=h(r)[0]-n[0];return o>180&&(o-=360),o<-180&&(o+=360),v([(n[0]+o*t+360)%360,n[1],n[2]])}function j(e){var r=_(e),t=h(e)[2]>75?y(e,-18):x(e,"#ffffff",.6);return{base:e,hover:y(e,-10),active:y(e,-15),light:x(e,"#ffffff",.85),darkText:y(e,-40),border:t,focus:"rgba("+r[0]+","+r[1]+","+r[2]+",0.25)",textOn:C(e)}}function O(e){var r,t,n=h(e),o=n[0],a=n[1],i=n[2];return i>50?(r=u(100-i-10,8,40),t=u(.85*a,0,100)):(r=u(100-i+10,60,92),t=u(1.1*a,0,100)),v([o,t,r])}function A(e){var r=k(e.primary);return e.secondary&&(r=(r+k(e.secondary))/2),e.tertiary&&(r=(2*r+k(e.tertiary))/3),r>.179}function M(e){var r={};r.primary=O(e.primary),r.secondary=O(e.secondary||e.primary),r.tertiary=e.tertiary?O(e.tertiary):r.primary;var t=h(e.primary),n=t[0];k(e.surface||v([n,8,96]))>.179?(r.light=v([n,Math.min(t[1],15),15]),r.dark=v([n,5,88]),r.surface=v([n,12,18]),r.background=v([n,10,14])):(r.light=v([n,Math.min(t[1],10),96]),r.dark=v([n,10,18]),r.surface=v([n,8,96]),r.background=v([n,6,98]));for(var o=void 0!==e.harmonize?e.harmonize:.2,a={success:"#198754",danger:"#dc3545",warning:"#f0ad4e",info:"#17a2b8"},i=["success","danger","warning","info"],l=0;l<i.length;l++){var c=i[l],s=S(e[c]||a[c],e.primary,o);r[c]=O(s)}return r.harmonize=0,r}function z(e){var r=void 0!==e.harmonize?e.harmonize:.2,t=e.primary,n=e.secondary||t,o=e.tertiary||t,a=h(t)[0],i=S(e.success||"#198754",t,r),l=S(e.danger||"#dc3545",t,r),c=S(e.warning||"#f0ad4e",t,r),s=S(e.info||"#17a2b8",t,r),b=e.light||v([a,8,97]),d=e.dark||v([a,10,13]),u=e.background||v([a,22,96]),_=e.surface||v([a,25,94]),p=h(_),f=p[2]<=50?v([p[0],p[1],Math.min(p[2]+8,100)]):v([p[0],p[1],Math.max(p[2]-3,0)]);return{primary:j(t),secondary:j(n),tertiary:j(o),success:j(i),danger:j(l),warning:j(c),info:j(s),light:j(b),dark:j(d),background:u,surface:_,surfaceAlt:f}}var E={1:"0.25rem",2:"0.5rem",3:"0.75rem",4:"1rem",5:"1.5rem",6:"2rem"},L={compact:{btn:E[1]+" "+E[3],card:E[3]+" "+E[4],alert:E[2]+" "+E[4],cell:E[2]+" "+E[3],input:E[1]+" "+E[3]},normal:{btn:E[2]+" "+E[4],card:E[5]+" "+E[5],alert:E[3]+" "+E[5],cell:E[3]+" "+E[4],input:E[2]+" "+E[3]},spacious:{btn:E[3]+" "+E[5],card:E[6]+" "+E[6],alert:E[4]+" "+E[5],cell:E[4]+" "+E[5],input:E[3]+" "+E[4]}},T={none:{btn:"0",card:"0",badge:"0",alert:"0",input:"0"},sm:{btn:"4px",card:"4px",badge:".25rem",alert:"4px",input:"4px"},md:{btn:"6px",card:"8px",badge:".375rem",alert:"8px",input:"6px"},lg:{btn:"10px",card:"12px",badge:".5rem",alert:"12px",input:"10px"},pill:{btn:"50rem",card:"1rem",badge:"50rem",alert:"1rem",input:"50rem"}},U={tight:1.125,normal:1.2,relaxed:1.25,dramatic:1.333};function I(e,r){return e||(e=16),r||(r=1.2),{xs:Math.round(e/(r*r)),sm:Math.round(e/r),base:e,lg:Math.round(e*r),xl:Math.round(e*r*r),"2xl":Math.round(e*Math.pow(r,3)),"3xl":Math.round(e*Math.pow(r,4)),"4xl":Math.round(e*Math.pow(r,5))}}var N={flat:{sm:"none",md:"none",lg:"none",xl:"none"},sm:{sm:"0 1px 2px rgba(0,0,0,0.05)",md:"0 1px 3px rgba(0,0,0,0.08)",lg:"0 2px 6px rgba(0,0,0,0.10)",xl:"0 4px 12px rgba(0,0,0,0.12)"},md:{sm:"0 1px 3px rgba(0,0,0,0.10), 0 1px 2px rgba(0,0,0,0.06)",md:"0 4px 6px rgba(0,0,0,0.10), 0 2px 4px rgba(0,0,0,0.06)",lg:"0 10px 15px rgba(0,0,0,0.12), 0 4px 6px rgba(0,0,0,0.08)",xl:"0 20px 25px rgba(0,0,0,0.15), 0 8px 10px rgba(0,0,0,0.10)"},lg:{sm:"0 2px 4px rgba(0,0,0,0.10)",md:"0 4px 12px rgba(0,0,0,0.16)",lg:"0 8px 24px rgba(0,0,0,0.22)",xl:"0 16px 48px rgba(0,0,0,0.28)"}},R={reduced:{fast:"0ms",normal:"0ms",slow:"0ms",easing:"linear"},standard:{fast:"100ms",normal:"200ms",slow:"300ms",easing:"ease-out"},expressive:{fast:"150ms",normal:"300ms",slow:"500ms",easing:"cubic-bezier(0.34, 1.56, 0.64, 1)"}},D={primary:"#006666",secondary:"#6c757d",tertiary:"#006666",success:"#198754",danger:"#dc3545",warning:"#b38600",info:"#0891b2",light:"#f8f9fa",dark:"#212529"},P=Object.fromEntries([["teal","#006666","#6c757d","#006666"],["ocean","#0077b6","#90e0ef","#00b4d8"],["sunset","#e76f51","#264653","#e9c46a"],["forest","#2d6a4f","#95d5b2","#52b788"],["slate","#343a40","#adb5bd","#6c757d"],["rose","#e11d48","#fda4af","#fb7185"],["indigo","#4f46e5","#a5b4fc","#818cf8"],["amber","#d97706","#fbbf24","#f59e0b"],["emerald","#059669","#6ee7b7","#34d399"],["nord","#5e81ac","#88c0d0","#81a1c1"],["coral","#ef6461","#4a7c7e","#e8a87c"],["midnight","#1e3a5f","#7c8db5","#3d5a80"]].map(function(e){return[e[0],{primary:e[1],secondary:e[2],tertiary:e[3]}]}));var B=function(e,r){return e?r.includes(",")?r.split(",").map(function(r){return"."+e+" "+r.trim()}).join(", "):"."+e+" "+r:r};function F(e,r,t){var n=r[t||"fast"];return e.split(",").map(function(e){return e.trim()+" "+n+" "+r.easing}).join(", ")}function q(e,r){return"0 0 0 "+(r||"0.25rem")+" "+e}function Y(e){return e.surface||"#fff"}function H(e,r,t){return Object.assign({},function(e,r){var t={},n=r.background||"#f5f5f5",o={color:r.dark.base,"background-color":n};return t[B(e,"body")]=o,t}(e,r),function(e,r,t){var n=t.motion,o={};return o[B(e,"a")]={color:r.primary.base,"text-decoration":"none",transition:F("color",n)},o[B(e,"a:hover")]={color:r.tertiary.hover,"text-decoration":"underline"},o}(e,r,t),function(e,r,t){var n={},o=t.spacing,a=t.radius;return n[B(e,".bw_bccl_btn")]={padding:o.btn,"border-radius":a.btn},n[B(e,".bw_bccl_btn:focus-visible")]={outline:"2px solid currentColor","outline-offset":"2px","box-shadow":q(r.primary.focus,"3px")},n[B(e,".bw_bccl_btn_lg")]={padding:"0.625rem 1.5rem","font-size":"1rem","border-radius":"50rem"===a.btn?"50rem":parseInt(a.btn)+2+"px"},n[B(e,".bw_bccl_btn_sm")]={padding:"0.25rem 0.75rem","font-size":"0.8125rem","border-radius":"50rem"===a.btn?"50rem":Math.max(parseInt(a.btn)-1,0)+"px"},n}(e,r,t),function(e,r,t){var n={},o=t.spacing,a=t.radius;return n[B(e,".bw_bccl_alert")]={padding:o.alert,"border-radius":a.alert},n}(e,0,t),function(e,r,t){var n={},o=t.spacing,a=t.radius,i=t.elevation,l=t.motion;return n[B(e,".bw_bccl_card")]={"background-color":Y(r),border:"1px solid "+r.light.border,"border-radius":a.card,"box-shadow":i.sm,transition:F("box-shadow,transform",l,"normal")},n[B(e,".bw_bccl_card:hover")]={"box-shadow":i.md},n[B(e,".bw_bccl_card_hoverable")]={transition:F("box-shadow,transform",l,"slow")},n[B(e,".bw_bccl_card_hoverable:hover")]={"box-shadow":i.lg},n[B(e,".bw_bccl_card_body")]={padding:o.card},n[B(e,".bw_bccl_card_header")]={padding:o.card.split(" ").map(function(e){return(.7*parseFloat(e)).toFixed(3).replace(/\.?0+$/,"")+"rem"}).join(" "),"background-color":r.surfaceAlt,"border-bottom":"1px solid "+r.light.border},n[B(e,".bw_bccl_card_footer")]={"background-color":r.surfaceAlt,"border-top":"1px solid "+r.light.border,color:r.secondary.base},n[B(e,".bw_bccl_card_title")]={color:r.dark.base},n[B(e,".bw_bccl_card_subtitle")]={color:r.secondary.base},n}(e,r,t),function(e,r,t){var n={},o=t.spacing,a=t.radius;return n[B(e,".bw_bccl_form_control")]={padding:o.input,"border-radius":a.input,color:r.dark.base,"background-color":Y(r),"border-color":r.light.border},n[B(e,".bw_bccl_form_control:focus")]={"border-color":r.primary.border,outline:"2px solid "+r.primary.base,"outline-offset":"-1px","box-shadow":q(r.primary.focus)},n[B(e,".bw_bccl_form_control::placeholder")]={color:r.secondary.base},n[B(e,".bw_bccl_form_label")]={color:r.dark.base},n[B(e,".bw_bccl_form_text")]={color:r.secondary.base},n[B(e,".bw_bccl_form_check_input:checked")]={"background-color":r.primary.base,"border-color":r.primary.base},n[B(e,".bw_bccl_form_check_input:focus")]={"box-shadow":q(r.primary.focus)},n[B(e,".bw_bccl_form_control.bw_is_valid")]={"border-color":r.success.base},n[B(e,".bw_bccl_form_control.bw_is_valid:focus")]={"border-color":r.success.base,"box-shadow":q(r.success.focus,"0.2rem")},n[B(e,".bw_bccl_form_control.bw_is_invalid")]={"border-color":r.danger.base},n[B(e,".bw_bccl_form_control.bw_is_invalid:focus")]={"border-color":r.danger.base,"box-shadow":q(r.danger.focus,"0.2rem")},n[B(e,".bw_bccl_form_select")]={padding:o.input,"border-radius":a.input,color:r.dark.base,"background-color":Y(r),"border-color":r.light.border},n[B(e,".bw_bccl_form_select:focus")]={"border-color":r.primary.border,"box-shadow":q(r.primary.focus)},n}(e,r,t),function(e,r,t){var n={};return n[B(e,".bw_bccl_navbar")]={"background-color":r.surfaceAlt,"border-bottom-color":r.light.border},n[B(e,".bw_bccl_navbar_brand")]={color:r.dark.base},n[B(e,".bw_bccl_navbar_nav .bw_nav_link")]={color:r.secondary.base,"border-radius":t.radius.btn,transition:F("color,background-color",t.motion)},n[B(e,".bw_bccl_navbar_nav .bw_nav_link:hover")]={color:r.tertiary.base,"background-color":r.surfaceAlt},n[B(e,".bw_bccl_navbar_nav .bw_nav_link.active")]={color:r.primary.base,"background-color":r.primary.focus,"font-weight":"600"},n[B(e,".bw_bccl_navbar_dark")]={"background-color":r.dark.base,"border-bottom-color":r.dark.hover},n[B(e,".bw_bccl_navbar_dark .bw_bccl_navbar_brand")]={color:r.light.base},n[B(e,".bw_bccl_navbar_dark .bw_nav_link")]={color:r.light.border},n[B(e,".bw_bccl_navbar_dark .bw_nav_link:hover")]={color:r.light.base},n[B(e,".bw_bccl_navbar_dark .bw_nav_link.active")]={color:r.light.base,"font-weight":"600"},n[B(e,".bw_nav_pills .bw_nav_link.active")]={color:r.primary.textOn,"background-color":r.primary.base},n}(e,r,t),function(e,r,t){var n={},o=t.spacing;return n[B(e,".bw_bccl_table")]={color:r.dark.base,"border-color":r.light.border},n[B(e,".bw_bccl_table > :not(caption) > * > *")]={padding:o.cell,"border-bottom-color":r.light.border},n[B(e,".bw_bccl_table > thead > tr > *")]={color:r.secondary.base,"border-bottom-color":r.light.border,"background-color":r.surfaceAlt},n[B(e,".bw_bccl_table_striped > tbody > tr:nth-of-type(odd) > *")]={"background-color":r.surfaceAlt},n[B(e,".bw_bccl_table_hover > tbody > tr:hover > *")]={"background-color":r.primary.focus},n[B(e,".bw_bccl_table_selectable > tbody > tr")]={cursor:"pointer"},n[B(e,".bw_bccl_table > tbody > tr.bw_bccl_table_row_selected > *")]={"background-color":r.primary.light},n[B(e,".bw_bccl_table_bordered")]={"border-color":r.light.border},n[B(e,".bw_bccl_table caption")]={color:r.secondary.base},n}(e,r,t),function(e,r,t){var n={},o=t.motion;return n[B(e,".bw_nav_tabs")]={"border-bottom-color":r.light.border},n[B(e,".bw_nav_link")]={color:r.secondary.base,transition:F("color,border-color,background-color",o)},n[B(e,".bw_nav_tabs .bw_nav_link:hover")]={color:r.tertiary.base,"background-color":r.surfaceAlt,"border-bottom-color":r.light.border},n[B(e,".bw_nav_tabs .bw_nav_link.active")]={color:r.primary.base,"background-color":r.primary.focus,"border-bottom":"2px solid "+r.primary.base},n}(e,r,t),function(e,r,t){var n={},o=t.spacing,a=t.motion;return n[B(e,".bw_list_group_item")]={padding:o.cell,color:r.dark.base,"background-color":Y(r),"border-color":r.light.border,transition:F("color,background-color",a)},n[B(e,"a.bw_list_group_item:hover")]={"background-color":r.surfaceAlt,color:r.tertiary.base},n[B(e,".bw_list_group_item.active")]={color:r.primary.textOn,"background-color":r.primary.base,"border-color":r.primary.base},n[B(e,".bw_list_group_item.disabled")]={color:r.secondary.base,"background-color":Y(r)},n}(e,r,t),function(e,r,t){var n={},o=t.motion,a=t.radius;return n[B(e,".bw_page_item:first-child .bw_page_link")]={"border-top-left-radius":a.btn,"border-bottom-left-radius":a.btn},n[B(e,".bw_page_item:last-child .bw_page_link")]={"border-top-right-radius":a.btn,"border-bottom-right-radius":a.btn},n[B(e,".bw_page_link")]={color:r.primary.base,"background-color":Y(r),"border-color":r.light.border,transition:F("color,background-color",o)},n[B(e,".bw_page_link:hover")]={color:r.primary.hover,"background-color":r.surfaceAlt,"border-color":r.light.border},n[B(e,".bw_page_link:focus")]={outline:"2px solid "+r.primary.base,"outline-offset":"-2px"},n[B(e,".bw_page_item.bw_active .bw_page_link")]={color:r.primary.textOn,"background-color":r.primary.base,"border-color":r.primary.base},n[B(e,".bw_page_item.bw_disabled .bw_page_link")]={color:r.secondary.base,"background-color":Y(r),"border-color":r.light.border},n}(e,r,t),function(e,r,t){var n={},o=t.radius;return n[B(e,".bw_bccl_progress")]={"background-color":r.surfaceAlt,"border-radius":o.badge,"box-shadow":"inset 0 1px 2px rgba(0,0,0,.1)"},n[B(e,".bw_bccl_progress_bar")]={color:r.primary.textOn,"background-color":r.primary.base,"border-radius":"inherit","box-shadow":"inset 0 -1px 0 rgba(0,0,0,.15)"},n}(e,r,t),function(e,r,t){var n={},o=t.motion;return n[B(e,".bw_bccl_breadcrumb")]={"background-color":r.surfaceAlt,padding:"0.625rem 1rem","border-radius":t.radius.btn},n[B(e,".bw_bccl_breadcrumb_item + .bw_bccl_breadcrumb_item::before")]={color:r.secondary.base},n[B(e,".bw_bccl_breadcrumb_item a")]={color:r.tertiary.base,transition:F("color",o)},n[B(e,".bw_bccl_breadcrumb_item a:hover")]={color:r.tertiary.hover,"text-decoration":"underline"},n[B(e,".bw_bccl_breadcrumb_item.active")]={color:r.dark.base},n}(e,r,t),function(e,r){var t={};return t[B(e,".bw_close")]={color:r.dark.base,opacity:"0.5"},t[B(e,".bw_close:focus")]={"box-shadow":q(r.primary.focus)},t}(e,r),function(e,r){var t={};return t[B(e,".bw_section_subtitle")]={color:r.secondary.base},t[B(e,".bw_feature_description")]={color:r.secondary.base},t[B(e,".bw_cta_description")]={color:r.secondary.base},t}(e,r),function(e,r,t){var n={},o=t.radius;return n[B(e,".bw_bccl_accordion_item")]={"background-color":Y(r),"border-color":r.light.border},n[B(e,".bw_bccl_accordion_item:first-child")]={"border-top-left-radius":o.card,"border-top-right-radius":o.card},n[B(e,".bw_bccl_accordion_item:last-child")]={"border-bottom-left-radius":o.card,"border-bottom-right-radius":o.card},n[B(e,".bw_bccl_accordion_button")]={color:r.dark.base},n[B(e,".bw_bccl_accordion_button:not(.bw_collapsed)")]={color:r.primary.darkText,"background-color":r.primary.light,"border-left":"3px solid "+r.primary.base},n[B(e,".bw_bccl_accordion_button:hover")]={"background-color":r.surfaceAlt},n[B(e,".bw_bccl_accordion_button:not(.bw_collapsed):hover")]={"background-color":r.primary.base,color:r.primary.textOn},n[B(e,".bw_bccl_accordion_button:focus-visible")]={"box-shadow":q(r.primary.focus,"0.2rem")},n[B(e,".bw_bccl_accordion_body")]={"border-top":"1px solid "+r.light.border,"background-color":r.surfaceAlt},n}(e,r,t),function(e,r){var t={};return t[B(e,".bw_bccl_carousel")]={"background-color":r.surfaceAlt},t[B(e,".bw_bccl_carousel_indicator.active")]={"background-color":r.primary.base},t[B(e,".bw_bccl_carousel_control")]={"background-color":r.dark.base,color:r.dark.textOn,transition:"background-color 0.15s ease-out"},t[B(e,".bw_bccl_carousel_control:hover")]={"background-color":r.dark.hover},t[B(e,".bw_bccl_carousel_caption")]={background:"linear-gradient(transparent, "+r.dark.base+")",color:r.dark.textOn},t}(e,r),function(e,r,t){var n={},o=t.radius;return n[B(e,".bw_bccl_modal_content")]={"background-color":Y(r),"border-color":r.light.border,"border-radius":o.card,"box-shadow":t.elevation.lg},n[B(e,".bw_bccl_modal_header")]={"border-bottom-color":r.light.border},n[B(e,".bw_bccl_modal_footer")]={"border-top-color":r.light.border},n[B(e,".bw_bccl_modal_title")]={color:r.dark.base},n}(e,r,t),function(e,r,t){var n={},o=t.radius;return n[B(e,".bw_bccl_toast")]={"background-color":Y(r),"border-color":r.light.border,"border-radius":o.card,"box-shadow":t.elevation.lg},n[B(e,".bw_bccl_toast_header")]={"border-bottom-color":r.light.border},n}(e,r,t),function(e,r,t){var n={},o=t.radius;return n[B(e,".bw_bccl_dropdown_menu")]={"background-color":Y(r),"border-color":r.light.border,"border-radius":o.card,"box-shadow":t.elevation.md},n[B(e,".bw_bccl_dropdown_item")]={color:r.dark.base,transition:F("background-color",t.motion)},n[B(e,".bw_bccl_dropdown_item:hover")]={color:r.dark.hover,"background-color":r.surfaceAlt},n[B(e,".bw_bccl_dropdown_item.disabled")]={color:r.secondary.base},n[B(e,".bw_bccl_dropdown_divider")]={"border-top-color":r.light.border},n}(e,r,t),function(e,r){var t={};return t[B(e,".bw_bccl_form_switch .bw_switch_input")]={"background-color":r.secondary.base,"border-color":r.secondary.base},t[B(e,".bw_bccl_form_switch .bw_switch_input:checked")]={"background-color":r.primary.base,"border-color":r.primary.base},t[B(e,".bw_bccl_form_switch .bw_switch_input:focus")]={"box-shadow":q(r.primary.focus)},t[B(e,".bw_bccl_form_switch .bw_switch_input:focus-visible")]={"box-shadow":q(r.primary.focus),outline:"none"},t}(e,r),function(e,r){var t={};return t[B(e,".bw_skeleton")]={background:"linear-gradient(90deg, "+r.light.border+" 25%, "+r.surfaceAlt+" 37%, "+r.light.border+" 63%)"},t}(e,r),function(e,r,t){var n={},o=t.motion,a=t.elevation,i=t.radius;return n[B(e,".bw_stat_card")]={"background-color":Y(r),color:r.dark.base,border:"1px solid "+r.light.border,"border-radius":i.card,"box-shadow":a.sm,transition:F("box-shadow,transform",o)},n[B(e,".bw_stat_card:hover")]={"box-shadow":a.md},n[B(e,".bw_stat_change_up")]={color:r.success.base},n[B(e,".bw_stat_change_down")]={color:r.danger.base},n}(e,r,t),function(e,r){var t={};return t[B(e,".bw_bccl_timeline::before")]={"background-color":r.light.border},t[B(e,".bw_bccl_timeline_date")]={color:r.secondary.base},t}(e,r),function(e,r){var t={};return t[B(e,".bw_step_indicator")]={"background-color":r.surfaceAlt,border:"2px solid "+r.light.border,color:r.secondary.base},t[B(e,".bw_step + .bw_step::before")]={"background-color":r.light.border},t[B(e,".bw_step_active .bw_step_indicator")]={"background-color":r.primary.base,color:r.primary.textOn},t[B(e,".bw_step_active .bw_step_label")]={color:r.dark.base,"font-weight":"600"},t[B(e,".bw_step_completed .bw_step_indicator")]={"background-color":r.tertiary.base,color:r.tertiary.textOn},t[B(e,".bw_step_completed .bw_step_label")]={color:r.tertiary.base},t[B(e,".bw_step_completed + .bw_step::before")]={"background-color":r.tertiary.base},t}(e,r),function(e,r,t){var n={},o=t.radius;return n[B(e,".bw_chip_input")]={"border-color":r.light.border,"background-color":Y(r),color:r.dark.base,"border-radius":o.input},n[B(e,".bw_chip_input:focus-within")]={"border-color":r.primary.base,"box-shadow":q(r.primary.focus,"0.2rem")},n[B(e,".bw_chip")]={"background-color":r.surfaceAlt,color:r.dark.base},n[B(e,".bw_chip_remove:hover")]={color:r.danger.base,"background-color":r.danger.light},n}(e,r,t),function(e,r,t){var n={},o=t.motion;return n[B(e,".bw_file_upload")]={"border-color":r.light.border,"background-color":r.surfaceAlt,transition:F("border-color,background-color",o)},n[B(e,".bw_file_upload:hover")]={"border-color":r.primary.base,"background-color":r.primary.light},n[B(e,".bw_file_upload:focus")]={outline:"2px solid "+r.primary.base,"outline-offset":"2px"},n[B(e,".bw_file_upload.bw_file_upload_active")]={"border-color":r.primary.base,"background-color":r.primary.light,"border-style":"solid"},n}(e,r,t),function(e,r){var t={};return t[B(e,".bw_range")]={"background-color":r.light.border},t[B(e,".bw_range::-webkit-slider-thumb")]={"background-color":r.primary.base,"border-color":Y(r),"box-shadow":"0 1px 3px rgba(0,0,0,0.2)",transition:"background-color 0.15s ease-out, transform 0.15s ease-out"},t[B(e,".bw_range::-moz-range-thumb")]={"background-color":r.primary.base,"border-color":Y(r),"box-shadow":"0 1px 3px rgba(0,0,0,0.2)"},t}(e,r),function(e,r,t){var n={},o=t.motion;return n[B(e,".bw_search_input")]={"background-color":Y(r),color:r.dark.base},n[B(e,".bw_search_clear")]={transition:F("color,background-color",o)},n[B(e,".bw_search_clear:hover")]={color:r.dark.base},n}(e,r,t),function(e,r,t){var n={},o=t.spacing,a=t.radius,i=t.elevation,l=t.motion;return n[B(e,".bw_bccl_tooltip")]={"background-color":r.dark.base,color:r.dark.textOn,padding:o.input,"border-radius":a.badge,"box-shadow":i.md,transition:F("opacity,transform",l)},n}(e,r,t),function(e,r,t){var n={},o=t.spacing,a=t.radius,i=t.elevation,l=t.motion;return n[B(e,".bw_popover")]={"background-color":Y(r),color:r.dark.base,border:"1px solid "+r.light.border,"border-radius":a.card,"box-shadow":i.lg,transition:F("opacity,transform",l)},n[B(e,".bw_popover_header")]={"background-color":r.surfaceAlt,"border-bottom":"1px solid "+r.light.border,padding:o.input},n[B(e,".bw_popover_body")]={padding:o.card},n}(e,r,t),function(e,r,t){var n={},o=t.radius;return n[B(e,".bw_code_demo")]={"background-color":Y(r),color:r.dark.base,"border-radius":o.card},n[B(e,".bw_code_copy_btn_copied")]={background:r.success.base,color:r.success.textOn,"border-color":r.success.base},n[B(e,".bw_copy_btn:hover")]={background:"rgba(255,255,255,0.2)",color:"#fff"},n}(e,r,t),function(e,r,t){var n={},o=t.radius;return n[B(e,".bw_nav_pills .bw_nav_link")]={"border-radius":o.btn},n}(e,0,t),function(e,r){var t={};return Object.keys(r).forEach(function(n){if("object"===c(r[n])){var o=r[n];t[B(e,".bw_"+n)]={"background-color":o.base,color:o.textOn,"border-color":o.base},t[B(e,".bw_"+n+":hover")]={"background-color":o.hover,"border-color":o.active},t[B(e,".bw_"+n+":active")]={"background-color":o.active},t[B(e,".bw_"+n+":focus-visible")]={"box-shadow":"0 0 0 3px "+o.focus,outline:"none"},t[B(e,".bw_bccl_alert.bw_"+n)]={"background-color":o.light,color:o.darkText,"border-color":o.border},t[B(e,".bw_bccl_toast.bw_"+n)]={"background-color":"inherit",color:"inherit","border-left":"4px solid "+o.base},t[B(e,".bw_stat_card.bw_"+n)]={"background-color":"inherit",color:"inherit","border-left-color":o.base},t[B(e,".bw_bccl_card.bw_"+n)]={"background-color":"inherit",color:"inherit","border-left":"4px solid "+o.base},t[B(e,".bw_bccl_timeline_marker.bw_"+n)]={"box-shadow":"0 0 0 2px "+o.base},t[B(e,".bw_spinner_border.bw_"+n)]={"background-color":"transparent",color:o.base,"border-color":o.base,"border-right-color":"transparent"},t[B(e,".bw_spinner_border.bw_"+n+":hover")]={"background-color":"transparent","border-color":o.base,"border-right-color":"transparent"},t[B(e,".bw_spinner_grow.bw_"+n)]={"background-color":o.base,color:o.base},t[B(e,".bw_bccl_btn_outline.bw_"+n)]={"background-color":"transparent",color:o.base,"border-color":o.base},t[B(e,".bw_bccl_btn_outline.bw_"+n+":hover")]={"background-color":o.base,color:o.textOn},t[B(e,".bw_bccl_hero.bw_"+n)]={background:"linear-gradient(135deg, "+o.base+" 0%, "+o.hover+" 100%)",color:o.textOn},t[B(e,".bw_bccl_progress_bar.bw_"+n)]={color:o.textOn},t[B(e,".bw_bg_"+n)]={"background-color":o.base,color:o.textOn},t[B(e,".bw_text_"+n)]={color:o.base}}}),t[B(e,".bw_text_muted")]={color:r.secondary.base},t[B(e,".bw_bg_dark")]={"background-color":r.dark.base,color:r.dark.textOn},t[B(e,".bw_bg_light")]={"background-color":r.light.base,color:r.light.textOn},t[B(e,".bw_text_light")]={color:r.light.base},t[B(e,".bw_text_dark")]={color:r.dark.base},t}(e,r))}function J(e){for(var r={},t=1;t<=12;t++){var n=+(100*t/12).toFixed(6)+"%";r["."+e+"_"+t]={flex:"0 0 "+n,"max-width":n}}return r}var X={base:{"*":{"box-sizing":"border-box",margin:"0",padding:"0"},html:{"font-size":"16px","line-height":"1.5","-webkit-text-size-adjust":"100%","-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale"},body:{"font-family":'system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif',"font-size":"1rem","font-weight":"400","line-height":"1.6",margin:"0",padding:"0","-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale"},".bw_page":{"min-height":"100vh",display:"flex","flex-direction":"column"},".bw_page_content":{flex:"1",padding:"2rem 0"},main:{display:"block"},hr:{"box-sizing":"content-box",height:"0",overflow:"visible",margin:"1rem 0",border:"0"},"hr:not([size])":{height:"1px"}},typography:{"h1, h2, h3, h4, h5, h6":{"margin-top":"0","margin-bottom":".5rem","font-weight":"600","line-height":"1.25","letter-spacing":"-0.01em"},h1:{"font-size":"calc(1.375rem + 1.5vw)"},h2:{"font-size":"calc(1.325rem + .9vw)"},h3:{"font-size":"calc(1.3rem + .6vw)"},h4:{"font-size":"calc(1.275rem + .3vw)"},h5:{"font-size":"1.25rem"},h6:{"font-size":"1rem"},p:{"margin-top":"0","margin-bottom":"1rem"},small:{"font-size":"0.875rem"},a:{"text-decoration":"none"},".bw_display_4":{"font-size":"calc(1.475rem + 2.7vw)","font-weight":"300","line-height":"1.2"},".bw_lead":{"font-size":"1.25rem","font-weight":"300"},".bw_h5":{"font-size":"1.25rem"},".bw_h6":{"font-size":"1rem"}},grid:o({".bw_bccl_container":{width:"100%","padding-right":"0.75rem","padding-left":"0.75rem","margin-right":"auto","margin-left":"auto"},"@media (min-width: 576px)":{".bw_bccl_container":{"max-width":"540px"}},"@media (min-width: 768px)":{".bw_bccl_container":{"max-width":"720px"}},"@media (min-width: 992px)":{".bw_bccl_container":{"max-width":"960px"}},"@media (min-width: 1200px)":{".bw_bccl_container":{"max-width":"1140px"}},".bw_bccl_container_fluid":{width:"100%","padding-right":"0.75rem","padding-left":"0.75rem","margin-right":"auto","margin-left":"auto"},".bw_row":{display:"flex","flex-wrap":"wrap","margin-right":"calc(var(--bw_gutter_x, 0.75rem) * -0.5)","margin-left":"calc(var(--bw_gutter_x, 0.75rem) * -0.5)"},'.col, [class*="col-"]':{position:"relative",width:"100%","padding-right":"calc(var(--bw_gutter_x, 0.75rem) * 0.5)","padding-left":"calc(var(--bw_gutter_x, 0.75rem) * 0.5)"},".bw_col":{"flex-basis":"0","flex-grow":"1","max-width":"100%"}},J("bw_col")),buttons:{".bw_bccl_btn":{display:"inline-flex","align-items":"center","justify-content":"center","font-weight":"500","line-height":"1.5","text-align":"center","text-decoration":"none","vertical-align":"middle",cursor:"pointer","user-select":"none",border:"1px solid transparent","font-size":"0.875rem","font-family":"inherit",gap:"0.5rem"},".bw_bccl_btn:hover":{"text-decoration":"none",transform:"translateY(-1px)"},".bw_bccl_btn:active":{transform:"translateY(0)"},".bw_bccl_btn:focus-visible":{outline:"2px solid currentColor","outline-offset":"2px"},".bw_bccl_btn:disabled":{opacity:"0.5",cursor:"not-allowed","pointer-events":"none"},".bw_bccl_btn_block":{display:"block",width:"100%"}},cards:{".bw_bccl_card":{position:"relative",display:"flex","flex-direction":"column","min-width":"0",height:"100%","word-wrap":"break-word","background-clip":"border-box","margin-bottom":"1.5rem",overflow:"hidden"},".bw_bccl_card_body":{flex:"1 1 auto"},".bw_bccl_card_body > *:last-child":{"margin-bottom":"0"},".bw_bccl_card_title":{"margin-bottom":"0.5rem","font-size":"1.125rem","font-weight":"600","line-height":"1.3"},".bw_bccl_card_text":{"margin-bottom":"0","font-size":"0.9375rem","line-height":"1.6"},".bw_bccl_card_header":{"margin-bottom":"0","font-weight":"600","font-size":"0.875rem"},".bw_bccl_card_footer":{"font-size":"0.875rem"},".bw_bccl_card_hoverable":{},".bw_bccl_card_hoverable:hover":{transform:"translateY(-4px)"},".bw_bccl_card_img_top":{width:"100%"},".bw_bccl_card_img_bottom":{width:"100%"},".bw_bccl_card_img_left":{width:"40%","object-fit":"cover"},".bw_bccl_card_img_right":{width:"40%","object-fit":"cover"},".bw_bccl_card_subtitle, .card-subtitle":{"margin-top":"-0.25rem","margin-bottom":"0.5rem","font-size":"0.875rem"}},forms:{".bw_bccl_form_control":{display:"block",width:"100%","font-size":"0.9375rem","font-weight":"400","line-height":"1.5","background-clip":"padding-box",appearance:"none",border:"1px solid transparent","font-family":"inherit",transition:"border-color 0.15s ease-out, box-shadow 0.15s ease-out"},".bw_bccl_form_control:focus":{outline:"2px solid currentColor","outline-offset":"-1px"},".bw_bccl_form_control::placeholder":{opacity:"1"},".bw_bccl_form_label":{display:"block","margin-bottom":"0.375rem","font-size":"0.875rem","font-weight":"600"},".bw_bccl_form_group":{"margin-bottom":"1.25rem"},".bw_bccl_form_text":{"margin-top":"0.25rem","font-size":"0.8125rem"},"select.bw_bccl_form_control":{"padding-right":"2.25rem","background-image":"url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23666' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e\")","background-repeat":"no-repeat","background-position":"right 0.75rem center","background-size":"16px 12px"},"textarea.bw_bccl_form_control":{"min-height":"5rem",resize:"vertical"},".bw_valid_feedback":{display:"block","font-size":"0.875rem","margin-top":"0.25rem"},".bw_invalid_feedback":{display:"block","font-size":"0.875rem","margin-top":"0.25rem"}},formChecks:{".bw_bccl_form_check":{display:"flex","align-items":"center",gap:"0.5rem","min-height":"1.5rem","margin-bottom":"0.25rem"},".bw_bccl_form_check_input":{width:"1rem",height:"1rem",margin:"0",cursor:"pointer","flex-shrink":"0","border-radius":"0.25rem",appearance:"auto"},".bw_bccl_form_check_input:disabled":{opacity:"0.5",cursor:"not-allowed"},".bw_bccl_form_check_label":{cursor:"pointer","user-select":"none","font-size":"0.9375rem"}},navigation:{".bw_bccl_navbar":{position:"relative",display:"flex","flex-wrap":"wrap","align-items":"center","justify-content":"space-between",padding:"0.5rem 1.5rem"},".bw_bccl_navbar > .bw_bccl_container, .bw_bccl_navbar > .container":{display:"flex","flex-wrap":"wrap","align-items":"center","justify-content":"space-between"},".bw_bccl_navbar_brand":{display:"inline-flex","align-items":"center",gap:"0.5rem","padding-top":"0.25rem","padding-bottom":"0.25rem","margin-right":"1.5rem","font-size":"1.125rem","font-weight":"600","line-height":"inherit","white-space":"nowrap","text-decoration":"none"},".bw_bccl_navbar_nav":{display:"flex","flex-direction":"row","padding-left":"0","margin-bottom":"0","list-style":"none",gap:"0.25rem"},".bw_bccl_navbar_nav .bw_nav_link":{display:"block","text-decoration":"none","font-size":"0.875rem","font-weight":"500"}},tables:{".bw_bccl_table":{width:"100%","margin-bottom":"1.5rem","vertical-align":"top","border-collapse":"collapse","font-size":"0.9375rem","line-height":"1.5"},".bw_bccl_table > :not(caption) > * > *":{"background-color":"transparent","border-bottom-width":"1px","border-bottom-style":"solid"},".bw_bccl_table > tbody":{"vertical-align":"inherit"},".bw_bccl_table > thead":{"vertical-align":"bottom"},".bw_bccl_table > thead > tr > *":{"font-size":"0.8125rem","font-weight":"600","text-transform":"uppercase","letter-spacing":"0.04em","border-bottom-width":"2px"},".bw_bccl_table caption":{"font-size":"0.875rem","caption-side":"bottom"},".bw_bccl_table_bordered > :not(caption) > * > *":{"border-width":"1px","border-style":"solid"},".bw_bccl_table_selectable > tbody > tr":{cursor:"pointer"},".bw_bccl_table > tbody > tr.bw_bccl_table_row_selected > *":{"background-color":"rgba(0, 102, 102, 0.1)"},".bw_bccl_table_responsive":{"overflow-x":"auto","-webkit-overflow-scrolling":"touch"}},alerts:{".bw_bccl_alert":{position:"relative","margin-bottom":"1rem",border:"1px solid transparent","font-size":"0.9375rem","line-height":"1.6"},".bw_bccl_alert_heading, .alert-heading":{color:"inherit"},".bw_bccl_alert_link, .alert-link":{"font-weight":"700"},".bw_bccl_alert_dismissible":{"padding-right":"3rem"},".bw_bccl_alert_dismissible .btn-close":{position:"absolute",top:"0",right:"0","z-index":"2",padding:"1.25rem 1rem"}},badges:{".bw_bccl_badge":{display:"inline-block","font-size":"0.875rem","font-weight":"600","line-height":"1.3","text-align":"center","white-space":"nowrap","vertical-align":"baseline",padding:"0.35rem 0.65rem","border-radius":"0.25rem"},".bw_bccl_badge:empty":{display:"none"},".bw_bccl_badge_sm":{"font-size":"0.75rem",padding:"0.25rem 0.5rem"},".bw_bccl_badge_lg":{"font-size":"1rem",padding:"0.5rem 0.875rem"},".bw_bccl_badge_pill":{"border-radius":"50rem"},".btn .badge":{position:"relative",top:"-1px"}},progress:{".bw_bccl_progress":{display:"flex",height:"1.25rem",overflow:"hidden","font-size":".875rem"},".bw_bccl_progress_bar":{display:"flex","flex-direction":"column","justify-content":"center",overflow:"hidden","text-align":"center","white-space":"nowrap","font-weight":"600"},".bw_bccl_progress_bar_striped":{"background-image":"linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent)","background-size":"1rem 1rem"},".bw_bccl_progress_bar_animated":{animation:"progress-bar-stripes 1s linear infinite"},"@keyframes progress-bar-stripes":{"0%":{"background-position-x":"1rem"}}},tabs:{".bw_nav":{display:"flex","flex-wrap":"wrap","padding-left":"0","margin-bottom":"0","list-style":"none",gap:"0"},".bw_nav_item":{display:"block"},".bw_nav_tabs .bw_nav_item":{"margin-bottom":"-2px"},".bw_nav_link":{display:"block","font-size":"0.875rem","font-weight":"500",padding:"0.625rem 1rem","text-decoration":"none",cursor:"pointer",border:"none",background:"transparent","font-family":"inherit"},".bw_nav_link:focus-visible":{outline:"2px solid currentColor","outline-offset":"-2px"},".bw_nav_tabs .bw_nav_link":{border:"none","border-bottom":"2px solid transparent","border-radius":"0","background-color":"transparent"},".bw_nav_vertical":{"flex-direction":"column"},".bw_bccl_tab_content":{padding:"1.25rem 0"},".bw_bccl_tab_pane":{display:"none"},".bw_bccl_tab_pane.active":{display:"block"},".bw_nav_scrollable":{"flex-wrap":"nowrap","overflow-x":"auto","-webkit-overflow-scrolling":"touch","scrollbar-width":"none"},".bw_nav_scrollable::-webkit-scrollbar":{display:"none"},".bw_nav_scrollable .bw_nav_link":{"white-space":"nowrap"}},listGroups:{".bw_list_group":{display:"flex","flex-direction":"column","padding-left":"0","margin-bottom":"0"},".bw_list_group_item":{position:"relative",display:"block","text-decoration":"none","font-size":"0.9375rem"},".bw_list_group_item:first-child":{"border-top-left-radius":"inherit","border-top-right-radius":"inherit"},".bw_list_group_item:last-child":{"border-bottom-right-radius":"inherit","border-bottom-left-radius":"inherit"},".bw_list_group_item + .bw_list_group_item":{"border-top-width":"0"},".bw_list_group_item.disabled":{"pointer-events":"none"},"a.bw_list_group_item":{cursor:"pointer"},"a.bw_list_group_item:focus-visible, .bw_list_group_item:focus-visible":{"z-index":"2",outline:"2px solid currentColor","outline-offset":"-2px"},".bw_list_group_flush":{"border-radius":"0"},".bw_list_group_flush > .bw_list_group_item":{"border-width":"0 0 1px","border-radius":"0"},".bw_list_group_flush > .bw_list_group_item:last-child":{"border-bottom-width":"0"}},pagination:{".bw_bccl_pagination":{display:"flex","padding-left":"0","list-style":"none","margin-bottom":"0"},".bw_page_item":{display:"list-item","list-style":"none"},".bw_page_link":{position:"relative",display:"block",padding:"0.375rem 0.75rem","margin-left":"-1px","line-height":"1.25","text-decoration":"none",border:"1px solid transparent",cursor:"pointer","font-family":"inherit","font-size":"inherit",background:"none"},".bw_page_item:first-child .bw_page_link":{"margin-left":"0"},".bw_page_link:focus-visible":{"z-index":"3",outline:"2px solid currentColor","outline-offset":"-2px"}},breadcrumb:{".bw_bccl_breadcrumb":{display:"flex","flex-wrap":"wrap",padding:"0 0","margin-bottom":"1rem","list-style":"none"},".bw_bccl_breadcrumb_item":{display:"flex"},".bw_bccl_breadcrumb_item + .bw_bccl_breadcrumb_item":{"padding-left":"0.5rem"},".bw_bccl_breadcrumb_item + .bw_bccl_breadcrumb_item::before":{float:"left","padding-right":"0.5rem",content:'"/"'},".bw_bccl_breadcrumb_item a":{"text-decoration":"none"},".bw_bccl_breadcrumb_item.active":{"font-weight":"500"}},hero:{".bw_bccl_hero":{position:"relative",overflow:"hidden"},".bw_bccl_hero_overlay":{position:"absolute",top:"0",left:"0",right:"0",bottom:"0","z-index":"1"},".bw_bccl_hero_content":{position:"relative","z-index":"2"},".bw_bccl_hero_title":{"font-weight":"300","letter-spacing":"-0.05rem",color:"inherit"},".bw_bccl_hero_subtitle":{color:"inherit"},".bw_bccl_hero_actions":{display:"flex",gap:"1rem","justify-content":"center","flex-wrap":"wrap"}},features:{".bw_feature":{padding:"1rem"},".bw_feature_icon":{display:"inline-block","margin-bottom":"1rem"},".bw_feature_title":{"margin-bottom":"0.5rem"},".bw_feature_grid":{width:"100%"},".bw_g_4":{"--bw_gutter_x":"1.5rem","--bw_gutter_y":"1.5rem"}},sections:{".bw_section":{position:"relative"},".bw_section_header":{"margin-bottom":"3rem"},".bw_section_title":{"margin-bottom":"1rem","font-weight":"300","font-size":"calc(1.325rem + .9vw)"}},cta:{".bw_cta":{position:"relative"},".bw_cta_content":{"max-width":"48rem",margin:"0 auto"},".bw_cta_title":{"font-weight":"300"},".bw_cta_actions":{display:"flex",gap:"1rem","justify-content":"center","flex-wrap":"wrap"}},spinner:{".bw_spinner_border":{display:"inline-block",width:"2rem",height:"2rem","vertical-align":"-0.125em",border:"0.25em solid currentcolor","border-right-color":"transparent","border-radius":"50%",animation:"bw_spinner_border 0.75s linear infinite"},".bw_spinner_border_sm":{width:"1rem",height:"1rem","border-width":"0.2em"},".bw_spinner_border_lg":{width:"3rem",height:"3rem","border-width":"0.3em"},".bw_spinner_border_md":{},".bw_spinner_grow":{display:"inline-block",width:"2rem",height:"2rem","vertical-align":"-0.125em","border-radius":"50%",opacity:"0",animation:"bw_spinner_grow 0.75s linear infinite"},".bw_spinner_grow_sm":{width:"1rem",height:"1rem"},".bw_spinner_grow_lg":{width:"3rem",height:"3rem"},".bw_spinner_grow_md":{},"@keyframes bw_spinner_border":{"100%":{transform:"rotate(360deg)"}},"@keyframes bw_spinner_grow":{"0%":{transform:"scale(0)"},"50%":{opacity:"1",transform:"none"}},".bw_visually_hidden":{position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",clip:"rect(0, 0, 0, 0)","white-space":"nowrap",border:"0"}},closeButton:{".bw_close":{display:"inline-flex","align-items":"center","justify-content":"center",width:"1.5rem",height:"1.5rem",padding:"0","font-size":"1.25rem","font-weight":"700","line-height":"1",background:"transparent",border:"0","border-radius":"0.25rem",cursor:"pointer",transition:"opacity 0.15s ease-out"},".bw_close:hover":{opacity:"0.75"},".bw_close:focus-visible":{outline:"2px solid currentColor","outline-offset":"2px"}},stacks:{".bw_vstack":{display:"flex","flex-direction":"column"},".bw_hstack":{display:"flex","flex-direction":"row","align-items":"center"},".bw_gap_0":{gap:"0"},".bw_gap_1":{gap:"0.25rem"},".bw_gap_2":{gap:"0.5rem"},".bw_gap_3":{gap:"1rem"},".bw_gap_4":{gap:"1.5rem"},".bw_gap_5":{gap:"3rem"}},offsets:{".bw_offset_1":{"margin-left":"8.333333%"},".bw_offset_2":{"margin-left":"16.666667%"},".bw_offset_3":{"margin-left":"25%"},".bw_offset_4":{"margin-left":"33.333333%"},".bw_offset_5":{"margin-left":"41.666667%"},".bw_offset_6":{"margin-left":"50%"},".bw_offset_7":{"margin-left":"58.333333%"},".bw_offset_8":{"margin-left":"66.666667%"},".bw_offset_9":{"margin-left":"75%"},".bw_offset_10":{"margin-left":"83.333333%"},".bw_offset_11":{"margin-left":"91.666667%"}},codeDemo:{".bw_code_demo":{"margin-bottom":"2rem"},".bw_code_pre":{margin:"0",border:"none","overflow-x":"auto","max-width":"100%"},".bw_code_block":{display:"block",padding:"1.25rem","font-family":'"SF Mono", Monaco, "Cascadia Code", "Roboto Mono", Consolas, "Courier New", monospace',"font-size":"0.8125rem","line-height":"1.6"},".bw_code_copy_btn":{position:"absolute",top:"0.5rem",right:"0.5rem",padding:"0.25rem 0.625rem","font-size":"0.6875rem",cursor:"pointer","font-family":"inherit"},".bw_copy_btn":{position:"absolute",top:"0.5rem",right:"0.5rem",padding:"0.25rem 0.625rem","font-size":"0.6875rem",cursor:"pointer","font-family":"inherit"}},buttonGroup:{".bw_bccl_btn_group, .bw_bccl_btn_group_vertical":{position:"relative",display:"inline-flex","vertical-align":"middle"},".bw_bccl_btn_group > .bw_bccl_btn, .bw_bccl_btn_group_vertical > .bw_bccl_btn":{position:"relative",flex:"1 1 auto","border-radius":"0","margin-left":"-1px"},".bw_bccl_btn_group > .bw_bccl_btn:first-child":{"margin-left":"0"},".bw_bccl_btn_group > .bw_bccl_btn:last-child":{},".bw_bccl_btn_group_lg > .bw_bccl_btn":{padding:"0.625rem 1.5rem","font-size":"1rem"},".bw_bccl_btn_group_sm > .bw_bccl_btn":{padding:"0.25rem 0.75rem","font-size":"0.8125rem"},".bw_bccl_btn_group_vertical":{"flex-direction":"column","align-items":"flex-start","justify-content":"center"},".bw_bccl_btn_group_vertical > .bw_bccl_btn":{width:"100%","margin-left":"0","margin-top":"-1px"},".bw_bccl_btn_group_vertical > .bw_bccl_btn:first-child":{"margin-top":"0"},".bw_bccl_btn_group_vertical > .bw_bccl_btn:last-child":{}},accordion:{".bw_bccl_accordion":{overflow:"hidden"},".bw_bccl_accordion_item":{border:"1px solid transparent"},".bw_bccl_accordion_item + .bw_bccl_accordion_item":{"border-top":"0"},".bw_bccl_accordion_header":{margin:"0"},".bw_bccl_accordion_button":{position:"relative",display:"flex","align-items":"center",width:"100%",padding:"0.875rem 1.25rem","font-size":"1rem","font-weight":"500","text-align":"left","background-color":"transparent",border:"0","overflow-anchor":"none",cursor:"pointer","font-family":"inherit"},".bw_bccl_accordion_button::after":{"flex-shrink":"0",width:"1.25rem",height:"1.25rem","margin-left":"auto",content:'""',"background-image":"url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23212529'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e\")","background-repeat":"no-repeat","background-size":"1.25rem",transition:"transform 0.2s ease-out"},".bw_bccl_accordion_button:not(.bw_collapsed)::after":{transform:"rotate(-180deg)"},".bw_bccl_accordion_body":{padding:"1rem 1.25rem"},".bw_bccl_accordion_collapse":{"max-height":"0",overflow:"hidden",transition:"max-height 0.3s ease"},".bw_bccl_accordion_collapse.bw_collapse_show":{"max-height":"none"}},carousel:{".bw_bccl_carousel":{position:"relative",overflow:"hidden"},".bw_bccl_carousel_track":{display:"flex",height:"100%"},".bw_bccl_carousel_slide":{"min-width":"100%","flex-shrink":"0",overflow:"hidden",position:"relative",display:"flex","align-items":"center","justify-content":"center"},".bw_bccl_carousel_slide img":{width:"100%",height:"100%","object-fit":"cover"},".bw_bccl_carousel_caption":{position:"absolute",bottom:"0",left:"0",right:"0",padding:"0.75rem 1rem","font-size":"0.875rem"},".bw_bccl_carousel_control":{position:"absolute",top:"50%",transform:"translateY(-50%)",width:"40px",height:"40px",border:"none","border-radius":"50%",cursor:"pointer",display:"flex","align-items":"center","justify-content":"center","z-index":"2",padding:"0"},".bw_bccl_carousel_control img":{width:"20px",height:"20px","pointer-events":"none"},".bw_bccl_carousel_control:focus-visible":{outline:"2px solid currentColor","outline-offset":"2px"},".bw_bccl_carousel_control_prev":{left:"10px"},".bw_bccl_carousel_control_next":{right:"10px"},".bw_bccl_carousel_indicators":{position:"absolute",bottom:"12px",left:"50%",transform:"translateX(-50%)",display:"flex",gap:"6px","z-index":"2"},".bw_bccl_carousel_indicator":{width:"10px",height:"10px","border-radius":"50%",border:"2px solid transparent",padding:"0",cursor:"pointer"},".bw_bccl_carousel_indicator:hover":{opacity:"0.8"}},modal:{".bw_bccl_modal":{display:"flex","align-items":"center","justify-content":"center",position:"fixed",top:"0",left:"0",width:"100%",height:"100%","z-index":"1050","overflow-x":"hidden","overflow-y":"auto",opacity:"0",visibility:"hidden","pointer-events":"none",transition:"opacity 0.2s ease-out, visibility 0.2s ease-out"},".bw_bccl_modal.bw_bccl_modal_show":{opacity:"1",visibility:"visible","pointer-events":"auto"},".bw_bccl_modal_dialog":{position:"relative",width:"calc(100% - 1rem)","max-width":"500px",margin:"1.75rem auto","pointer-events":"none",transform:"translateY(-16px)",transition:"transform 0.2s ease-out"},".bw_bccl_modal.bw_bccl_modal_show .bw_bccl_modal_dialog":{transform:"translateY(0)"},".bw_bccl_modal_sm":{"max-width":"300px"},".bw_bccl_modal_lg":{"max-width":"800px"},".bw_bccl_modal_xl":{"max-width":"1140px"},".bw_bccl_modal_content":{position:"relative",display:"flex","flex-direction":"column","pointer-events":"auto","background-clip":"padding-box",border:"1px solid transparent",outline:"0"},".bw_bccl_modal_header":{display:"flex","align-items":"center","justify-content":"space-between",padding:"1rem 1.25rem","border-bottom":"1px solid transparent"},".bw_bccl_modal_title":{margin:"0","font-size":"1.25rem","font-weight":"600","line-height":"1.3"},".bw_bccl_modal_body":{position:"relative",flex:"1 1 auto",padding:"1rem 1.25rem"},".bw_bccl_modal_footer":{display:"flex","flex-wrap":"wrap","align-items":"center","justify-content":"flex-end",gap:"0.5rem",padding:"0.75rem 1.25rem","border-top":"1px solid transparent"}},toast:{".bw_bccl_toast_container":{position:"fixed","z-index":"1080","pointer-events":"none",display:"flex","flex-direction":"column",gap:"0.5rem",padding:"1rem"},".bw_bccl_toast_container.bw_bccl_toast_top_right":{top:"0",right:"0"},".bw_bccl_toast_container.bw_bccl_toast_top_left":{top:"0",left:"0"},".bw_bccl_toast_container.bw_bccl_toast_bottom_right":{bottom:"0",right:"0"},".bw_bccl_toast_container.bw_bccl_toast_bottom_left":{bottom:"0",left:"0"},".bw_bccl_toast_container.bw_bccl_toast_top_center":{top:"0",left:"50%",transform:"translateX(-50%)"},".bw_bccl_toast_container.bw_bccl_toast_bottom_center":{bottom:"0",left:"50%",transform:"translateX(-50%)"},".bw_bccl_toast":{"pointer-events":"auto",width:"350px","max-width":"calc(100vw - 2rem)","background-clip":"padding-box",opacity:"0",transform:"translateY(-8px)",transition:"opacity 0.2s ease-out, transform 0.2s ease-out"},".bw_bccl_toast.bw_bccl_toast_show":{opacity:"1",transform:"translateY(0)"},".bw_bccl_toast.bw_bccl_toast_hiding":{opacity:"0",transform:"translateY(-8px)"},".bw_bccl_toast_header":{display:"flex","align-items":"center","justify-content":"space-between",padding:"0.5rem 0.75rem","font-size":"0.875rem","border-bottom":"1px solid transparent"},".bw_bccl_toast_body":{padding:"0.5rem 0.75rem","font-size":"0.9375rem"}},dropdown:{".bw_bccl_dropdown":{position:"relative",display:"inline-block"},".bw_bccl_dropdown_toggle::after":{display:"inline-block","margin-left":"0.255em","vertical-align":"0.255em",content:'""',"border-top":"0.3em solid","border-right":"0.3em solid transparent","border-bottom":"0","border-left":"0.3em solid transparent"},".bw_bccl_dropdown_menu":{position:"absolute",top:"100%",left:"0","z-index":"1000",display:"block","min-width":"10rem",padding:"0.5rem 0",margin:"0.125rem 0 0","background-clip":"padding-box",border:"1px solid transparent",opacity:"0",visibility:"hidden","pointer-events":"none",transform:"translateY(-4px)",transition:"opacity 0.15s ease-out, transform 0.15s ease-out, visibility 0.15s ease-out"},".bw_bccl_dropdown_menu.bw_bccl_dropdown_show":{opacity:"1",visibility:"visible","pointer-events":"auto",transform:"translateY(0)"},".bw_bccl_dropdown_menu_end":{left:"auto",right:"0"},".bw_bccl_dropdown_item":{display:"block",width:"100%",padding:"0.4rem 1rem",clear:"both","font-weight":"400","text-align":"inherit","text-decoration":"none","white-space":"nowrap","background-color":"transparent",border:"0","font-size":"0.9375rem",cursor:"pointer"},".bw_bccl_dropdown_item:focus-visible":{outline:"2px solid currentColor","outline-offset":"-2px"},".bw_bccl_dropdown_divider":{height:"0",margin:"0.5rem 0",overflow:"hidden",opacity:"1"}},formSwitch:{".bw_bccl_form_switch":{"padding-left":"2.5em"},".bw_bccl_form_switch .bw_switch_input":{width:"2em",height:"1.125em","margin-left":"-2.5em","border-radius":"2em",appearance:"none","background-image":"url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='rgba(255,255,255,1)'/%3e%3c/svg%3e\")","background-position":"left center","background-repeat":"no-repeat","background-size":"contain",cursor:"pointer",transition:"background-color 0.15s ease-out, background-position 0.15s ease-out, border-color 0.15s ease-out"},".bw_bccl_form_switch .bw_switch_input:checked":{"background-position":"right center"},".bw_bccl_form_switch .bw_switch_input:disabled":{opacity:"0.5",cursor:"not-allowed"}},skeleton:{".bw_skeleton":{"background-size":"400% 100%",animation:"bw_skeleton_shimmer 1.4s ease infinite"},".bw_skeleton_text":{height:"1em","margin-bottom":"0.5rem"},".bw_skeleton_circle":{"border-radius":"50%"},".bw_skeleton_rect":{},".bw_skeleton_group":{display:"flex","flex-direction":"column"},"@keyframes bw_skeleton_shimmer":{"0%":{"background-position":"100% 50%"},"100%":{"background-position":"0 50%"}}},avatar:{".bw_avatar":{display:"inline-flex","align-items":"center","justify-content":"center","border-radius":"50%",overflow:"hidden","font-weight":"600","text-transform":"uppercase","vertical-align":"middle","object-fit":"cover"},".bw_avatar_sm":{width:"2rem",height:"2rem","font-size":"0.75rem"},".bw_avatar_md":{width:"3rem",height:"3rem","font-size":"1rem"},".bw_avatar_lg":{width:"4rem",height:"4rem","font-size":"1.25rem"},".bw_avatar_xl":{width:"5rem",height:"5rem","font-size":"1.5rem"}},statCard:{".bw_stat_card":{padding:"1.25rem","border-left":"4px solid transparent","background-color":"inherit"},".bw_stat_card:hover":{transform:"translateY(-1px)"},".bw_stat_icon":{"font-size":"1.5rem","margin-bottom":"0.5rem"},".bw_stat_value":{"font-size":"2rem","font-weight":"700","line-height":"1.2"},".bw_stat_label":{"font-size":"0.875rem","margin-top":"0.25rem"},".bw_stat_change":{"font-size":"0.875rem","font-weight":"500","margin-top":"0.5rem"}},tooltip:{".bw_bccl_tooltip_wrapper":{position:"relative",display:"inline-block"},".bw_bccl_tooltip":{position:"absolute","z-index":"999","font-size":"0.875rem","white-space":"nowrap","max-width":"min(300px, calc(100vw - 1rem))","pointer-events":"none",opacity:"0",visibility:"hidden"},".bw_bccl_tooltip.bw_bccl_tooltip_show":{opacity:"1",visibility:"visible"},".bw_bccl_tooltip_top":{bottom:"100%",left:"50%",transform:"translateX(-50%) translateY(-4px)","margin-bottom":"4px"},".bw_bccl_tooltip_top.bw_bccl_tooltip_show":{transform:"translateX(-50%) translateY(0)"},".bw_bccl_tooltip_bottom":{top:"100%",left:"50%",transform:"translateX(-50%) translateY(4px)","margin-top":"4px"},".bw_bccl_tooltip_bottom.bw_bccl_tooltip_show":{transform:"translateX(-50%) translateY(0)"},".bw_bccl_tooltip_left":{right:"100%",top:"50%",transform:"translateY(-50%) translateX(-4px)","margin-right":"4px"},".bw_bccl_tooltip_left.bw_bccl_tooltip_show":{transform:"translateY(-50%) translateX(0)"},".bw_bccl_tooltip_right":{left:"100%",top:"50%",transform:"translateY(-50%) translateX(4px)","margin-left":"4px"},".bw_bccl_tooltip_right.bw_bccl_tooltip_show":{transform:"translateY(-50%) translateX(0)"}},popover:{".bw_popover_wrapper":{position:"relative",display:"inline-block"},".bw_popover_trigger":{cursor:"pointer"},".bw_popover":{position:"absolute","z-index":"1000","min-width":"200px","max-width":"min(320px, calc(100vw - 2rem))","pointer-events":"none",opacity:"0",visibility:"hidden"},".bw_popover.bw_popover_show":{opacity:"1",visibility:"visible","pointer-events":"auto"},".bw_popover_header":{"font-weight":"600","font-size":"0.9375rem"},".bw_popover_body":{"font-size":"0.875rem","line-height":"1.5"},".bw_popover_top":{bottom:"100%",left:"50%",transform:"translateX(-50%) translateY(-8px)","margin-bottom":"8px"},".bw_popover_top.bw_popover_show":{transform:"translateX(-50%) translateY(0)"},".bw_popover_bottom":{top:"100%",left:"50%",transform:"translateX(-50%) translateY(8px)","margin-top":"8px"},".bw_popover_bottom.bw_popover_show":{transform:"translateX(-50%) translateY(0)"},".bw_popover_left":{right:"100%",top:"50%",transform:"translateY(-50%) translateX(-8px)","margin-right":"8px"},".bw_popover_left.bw_popover_show":{transform:"translateY(-50%) translateX(0)"},".bw_popover_right":{left:"100%",top:"50%",transform:"translateY(-50%) translateX(8px)","margin-left":"8px"},".bw_popover_right.bw_popover_show":{transform:"translateY(-50%) translateX(0)"}},searchInput:{".bw_search_input":{position:"relative",display:"flex","align-items":"center"},".bw_search_input .bw_search_field":{"padding-right":"2.5rem"},".bw_search_clear":{position:"absolute",right:"0.5rem",display:"flex","align-items":"center","justify-content":"center",width:"1.5rem",height:"1.5rem",border:"none",background:"none","font-size":"1.25rem",cursor:"pointer",padding:"0","border-radius":"50%"},".bw_search_clear:focus-visible":{outline:"2px solid currentColor","outline-offset":"2px"}},range:{".bw_range_wrapper":{"margin-bottom":"1rem"},".bw_range_label":{display:"flex","justify-content":"space-between","align-items":"center","margin-bottom":"0.5rem","font-size":"0.875rem","font-weight":"500"},".bw_range_value":{"font-weight":"600"},".bw_range":{width:"100%",height:"0.5rem",padding:"0",appearance:"none",border:"none","border-radius":"0.25rem",cursor:"pointer",outline:"none"},".bw_range:focus":{outline:"none"},".bw_range::-webkit-slider-thumb":{appearance:"none",width:"1.25rem",height:"1.25rem","border-radius":"50%","border-width":"2px","border-style":"solid",cursor:"pointer"},".bw_range::-moz-range-thumb":{width:"1.25rem",height:"1.25rem","border-radius":"50%","border-width":"2px","border-style":"solid",cursor:"pointer"},".bw_range::-webkit-slider-thumb:hover":{transform:"scale(1.15)"},".bw_range:disabled":{opacity:"0.5",cursor:"not-allowed"}},mediaObject:{".bw_media":{display:"flex","align-items":"flex-start",gap:"1rem"},".bw_media_reverse":{"flex-direction":"row-reverse"},".bw_media_img":{"border-radius":"50%","object-fit":"cover","flex-shrink":"0"},".bw_media_body":{flex:"1","min-width":"0"},".bw_media_title":{margin:"0 0 0.25rem 0","font-size":"1rem","font-weight":"600","line-height":"1.3"}},fileUpload:{".bw_file_upload":{display:"flex","flex-direction":"column","align-items":"center","justify-content":"center",border:"2px dashed transparent",cursor:"pointer","text-align":"center",position:"relative"},".bw_file_upload_icon":{"font-size":"2rem","margin-bottom":"0.5rem"},".bw_file_upload_text":{"font-size":"0.875rem"},".bw_file_upload_input":{position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",clip:"rect(0,0,0,0)",border:"0"}},timeline:{".bw_bccl_timeline":{position:"relative","padding-left":"2rem"},".bw_bccl_timeline::before":{content:'""',position:"absolute",left:"0.5rem",top:"0",bottom:"0",width:"2px"},".bw_bccl_timeline_item":{position:"relative","padding-bottom":"1.5rem"},".bw_bccl_timeline_item:last-child":{"padding-bottom":"0"},".bw_bccl_timeline_marker":{position:"absolute",left:"-1.75rem",top:"0.25rem",width:"0.75rem",height:"0.75rem","border-radius":"50%"},".bw_bccl_timeline_content":{"padding-left":"0.5rem"},".bw_bccl_timeline_date":{"font-size":"0.75rem","margin-bottom":"0.25rem","font-weight":"500"},".bw_bccl_timeline_title":{"font-size":"1rem","font-weight":"600",margin:"0 0 0.25rem 0","line-height":"1.3"},".bw_bccl_timeline_text":{"font-size":"0.875rem",margin:"0","line-height":"1.5"}},stepper:{".bw_stepper":{display:"flex",gap:"0","counter-reset":"step"},".bw_step":{flex:"1",display:"flex","flex-direction":"column","align-items":"center","text-align":"center",position:"relative"},".bw_step + .bw_step::before":{content:'""',position:"absolute",top:"1rem",left:"-50%",right:"50%",height:"2px"},".bw_step_indicator":{width:"2rem",height:"2rem","border-radius":"50%",display:"flex","align-items":"center","justify-content":"center","font-size":"0.875rem","font-weight":"600",position:"relative","z-index":"1"},".bw_step_body":{"margin-top":"0.5rem"},".bw_step_label":{"font-size":"0.875rem","font-weight":"500"},".bw_step_description":{"font-size":"0.75rem","margin-top":"0.125rem"}},chipInput:{".bw_chip_input":{display:"flex","flex-wrap":"wrap","align-items":"center",gap:"0.375rem",padding:"0.375rem 0.5rem","min-height":"2.5rem",cursor:"text"},".bw_chip":{display:"inline-flex","align-items":"center",gap:"0.25rem",padding:"0.125rem 0.5rem","border-radius":"1rem","font-size":"0.8125rem","line-height":"1.5","white-space":"nowrap"},".bw_chip_remove":{display:"inline-flex","align-items":"center","justify-content":"center",width:"1rem",height:"1rem",border:"none",background:"none","font-size":"0.875rem",cursor:"pointer",padding:"0","border-radius":"50%"},".bw_chip_remove:focus-visible":{outline:"2px solid currentColor","outline-offset":"1px"},".bw_chip_field":{flex:"1","min-width":"80px",border:"none",outline:"none","font-size":"0.875rem",padding:"0.125rem 0",background:"transparent"}},barChart:{".bw_bar_chart_container":{padding:"1rem",border:"1px solid transparent"},".bw_bar_chart":{display:"flex","align-items":"flex-end",gap:"6px",padding:"0 0.5rem"},".bw_bar_group":{flex:"1",display:"flex","flex-direction":"column","align-items":"center",height:"100%","justify-content":"flex-end"},".bw_bar":{width:"100%","border-radius":"3px 3px 0 0","min-height":"4px"},".bw_bar:hover":{opacity:"0.85"},".bw_bar_value":{"font-size":"0.65rem","font-weight":"600","margin-bottom":"2px","text-align":"center"},".bw_bar_label":{"font-size":"0.7rem","margin-top":"4px","text-align":"center"},".bw_bar_chart_title":{"font-size":"1.1rem","font-weight":"600",margin:"0 0 0.75rem 0"}},responsive:{"@media (min-width: 576px)":J("bw_col_sm"),"@media (min-width: 768px)":J("bw_col_md"),"@media (min-width: 992px)":J("bw_col_lg"),"@media (max-width: 575px)":{".bw_bccl_card_img_left, .bw_bccl_card-img-left":{width:"100%"},".bw_bccl_card_img_right, .bw_bccl_card-img-right":{width:"100%"},".bw_bccl_hero, .bw_bccl_hero":{padding:"2rem 1rem"},".bw_cta_actions, .bw_cta-actions":{"flex-direction":"column"},".bw_hstack, .bw_hstack":{"flex-direction":"column"},".bw_feature_grid, .bw_feature-grid":{"grid-template-columns":"1fr"},".bw_bccl_modal_dialog":{margin:"0.5rem auto"},".bw_bccl_modal_lg":{"max-width":"calc(100% - 1rem)"},".bw_bccl_modal_xl":{"max-width":"calc(100% - 1rem)"},".bw_bccl_navbar":{padding:"0.5rem 0.75rem"},".bw_bccl_navbar_brand":{"margin-right":"0.5rem","font-size":"1rem"},".bw_bccl_navbar_nav":{"flex-wrap":"wrap"},".bw_bccl_tooltip":{"white-space":"normal"},".bw_bccl_table":{display:"block","overflow-x":"auto","-webkit-overflow-scrolling":"touch"},".bw_col, .bw_col_1, .bw_col_2, .bw_col_3, .bw_col_4, .bw_col_5, .bw_col_6, .bw_col_7, .bw_col_8, .bw_col_9, .bw_col_10, .bw_col_11, .bw_col_12":{flex:"0 0 100%","max-width":"100%"},".bw_bccl_container":{"padding-right":"0.5rem","padding-left":"0.5rem"},".bw_bccl_container_fluid":{"padding-right":"0.5rem","padding-left":"0.5rem"}}}};function $(){var e={},r={0:"0",1:".25rem",2:".5rem",3:"1rem",4:"1.5rem",5:"3rem"};for(var t in r){var n=r[t];e[".bw_m_"+t]={margin:n+" !important"},e[".bw_mt_"+t]={"margin-top":n+" !important"},e[".bw_mb_"+t]={"margin-bottom":n+" !important"},e[".bw_ms_"+t]={"margin-left":n+" !important"},e[".bw_me_"+t]={"margin-right":n+" !important"},e[".bw_p_"+t]={padding:n+" !important"},e[".bw_pt_"+t]={"padding-top":n+" !important"},e[".bw_pb_"+t]={"padding-bottom":n+" !important"},e[".bw_ps_"+t]={"padding-left":n+" !important"},e[".bw_pe_"+t]={"padding-right":n+" !important"}}e[".bw_m_auto"]={margin:"auto !important"},e[".bw_py_3"]={"padding-top":"1rem !important","padding-bottom":"1rem !important"},e[".bw_py_4"]={"padding-top":"1.5rem !important","padding-bottom":"1.5rem !important"},e[".bw_py_5"]={"padding-top":"3rem !important","padding-bottom":"3rem !important"},e[".bw_py_6"]={"padding-top":"4rem !important","padding-bottom":"4rem !important"},e[".bw_d_none"]={display:"none"},e[".bw_d_block"]={display:"block"},e[".bw_d_inline"]={display:"inline"},e[".bw_d_inline_block"]={display:"inline-block"},e[".bw_d_flex"]={display:"flex"},e[".bw_text_left"]={"text-align":"left"},e[".bw_text_right"]={"text-align":"right"},e[".bw_text_center"]={"text-align":"center"},e[".bw_text_justify"]={"text-align":"justify"},e[".bw_fw_bold"]={"font-weight":"700"},e[".bw_fw_semibold"]={"font-weight":"600"},e[".bw_fw_normal"]={"font-weight":"400"},e[".bw_fw_light"]={"font-weight":"300"},e[".bw_fst_italic"]={"font-style":"italic"},e[".bw_fst_normal"]={"font-style":"normal"},e[".bw_text_underline"]={"text-decoration":"underline"},e[".bw_text_line_through"]={"text-decoration":"line-through"},e[".bw_text_decoration_none"]={"text-decoration":"none"},e[".bw_text_uppercase"]={"text-transform":"uppercase"},e[".bw_text_lowercase"]={"text-transform":"lowercase"},e[".bw_text_capitalize"]={"text-transform":"capitalize"},e[".bw_text_wrap"]={"white-space":"normal"},e[".bw_text_nowrap"]={"white-space":"nowrap"},e[".bw_fs_sm"]={"font-size":"0.875rem"},e[".bw_fs_base"]={"font-size":"1rem"},e[".bw_fs_lg"]={"font-size":"1.25rem"},e[".bw_fs_xl"]={"font-size":"1.5rem"};var o={start:"flex-start",end:"flex-end",center:"center",between:"space-between",around:"space-around"};for(var a in o)e[".bw_justify_content_"+a]={"justify-content":o[a]};var i={start:"flex-start",end:"flex-end",center:"center"};for(var l in i)e[".bw_align_items_"+l]={"align-items":i[l]};e[".bw_border"]={border:"1px solid transparent !important"},e[".bw_border_0"]={border:"0 !important"},e[".bw_border_top_0"]={"border-top":"0 !important"},e[".bw_border_end_0"]={"border-right":"0 !important"},e[".bw_border_bottom_0"]={"border-bottom":"0 !important"},e[".bw_border_start_0"]={"border-left":"0 !important"},e[".bw_rounded"]={"border-radius":".375rem !important"},e[".bw_rounded_0"]={"border-radius":"0 !important"},e[".bw_rounded_1"]={"border-radius":".25rem !important"},e[".bw_rounded_2"]={"border-radius":".375rem !important"},e[".bw_rounded_3"]={"border-radius":".5rem !important"},e[".bw_rounded_circle"]={"border-radius":"50% !important"},e[".bw_rounded_pill"]={"border-radius":"50rem !important"},e[".bw_shadow"]={"box-shadow":"0 .5rem 1rem rgba(0,0,0,.15) !important"},e[".bw_shadow_sm"]={"box-shadow":"0 .125rem .25rem rgba(0,0,0,.075) !important"},e[".bw_shadow_lg"]={"box-shadow":"0 1rem 3rem rgba(0,0,0,.175) !important"},e[".bw_shadow_none"]={"box-shadow":"none !important"},["25","50","75","100"].forEach(function(r){e[".bw_w_"+r]={width:r+"% !important"},e[".bw_h_"+r]={height:r+"% !important"}}),e[".bw_w_auto"]={width:"auto !important"},e[".bw_h_auto"]={height:"auto !important"},e[".bw_mw_100"]={"max-width":"100% !important"},e[".bw_mh_100"]={"max-height":"100% !important"},["static","relative","absolute","fixed","sticky"].forEach(function(r){e[".bw_position_"+r]={position:r+" !important"}}),e[".bw_top_0"]={top:"0 !important"},e[".bw_top_50"]={top:"50% !important"},e[".bw_top_100"]={top:"100% !important"},e[".bw_bottom_0"]={bottom:"0 !important"},e[".bw_bottom_50"]={bottom:"50% !important"},e[".bw_bottom_100"]={bottom:"100% !important"},e[".bw_start_0"]={left:"0 !important"},e[".bw_start_50"]={left:"50% !important"},e[".bw_start_100"]={left:"100% !important"},e[".bw_end_0"]={right:"0 !important"},e[".bw_end_50"]={right:"50% !important"},e[".bw_end_100"]={right:"100% !important"},e[".bw_translate_middle"]={transform:"translate(-50%, -50%) !important"},["auto","hidden","visible","scroll"].forEach(function(r){e[".bw_overflow_"+r]={overflow:r+" !important"}});var c=function(e,r){var t={};return t[e]=r+" !important",t};for(var s in[["fs",{xs:"0.75rem",sm:"0.875rem",base:"1rem",lg:"1.125rem",xl:"1.25rem","2xl":"1.5rem"},"font-size"],["fw",{light:"300",normal:"400",medium:"500",semibold:"600",bold:"700"},"font-weight"],["lh",{tight:"1.25",normal:"1.5",relaxed:"1.75"},"line-height"]].forEach(function(r){for(var t in r[1])e[".bw_"+r[0]+"_"+t]=c(r[2],r[1][t])}),e[".bw_list_unstyled"]={"padding-left":"0","list-style":"none"},e[".bw_list_inline"]={"padding-left":"0","list-style":"none"},e[".bw_list_inline_item"]={display:"inline-block"},e[".bw_list_inline_item:not(:last-child)"]={"margin-right":".5rem"},e[".bw_flex"]={display:"flex"},e[".bw_flex_column"]={"flex-direction":"column"},e[".bw_flex_wrap"]={"flex-wrap":"wrap"},e[".bw_flex_center"]={display:"flex","align-items":"center","justify-content":"center"},r)e[".bw_gap_"+s]={gap:r[s]+" !important"};return e[".bw_visible"]={visibility:"visible !important"},e[".bw_invisible"]={visibility:"hidden !important"},["all","auto","none"].forEach(function(r){e[".bw_user_select_"+r]={"user-select":r+" !important"}}),e[".bw_pe_none"]={"pointer-events":"none !important"},e[".bw_pe_auto"]={"pointer-events":"auto !important"},e[".bw_opacity_0"]={opacity:"0 !important"},e[".bw_opacity_25"]={opacity:".25 !important"},e[".bw_opacity_50"]={opacity:".5 !important"},e[".bw_opacity_75"]={opacity:".75 !important"},e[".bw_opacity_100"]={opacity:"1 !important"},e}function G(){return function(){for(var e={},r=Object.keys(X),t=0;t<r.length;t++)Object.assign(e,X[r[t]]);return Object.assign(e,$()),e["@media (prefers-reduced-motion: reduce)"]={"*, *::before, *::after":{"animation-duration":"0.01ms !important","animation-iteration-count":"1 !important","transition-duration":"0.01ms !important","scroll-behavior":"auto !important"}},e}()}function W(e,r,t){var n={};for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o))if("@"===o.charAt(0)){var a=e[o];if(/^@keyframes\s/.test(o))n[o]=a;else{var i={};for(var l in a)Object.prototype.hasOwnProperty.call(a,l)&&(i[K(l,r)]=a[l]);n[o]=i}}else n[K(o,r)]=e[o];return n}function K(e,r){for(var t=e.split(","),n=[],o=0;o<t.length;o++)n.push(r+" "+t[o].trim());return n.join(", ")}function V(e,r){if(null===e)return"null";var t=c(e);if("object"!==t)return t;if(r)return t;var n=Object.prototype.toString.call(e),o={"[object Array]":"array","[object Date]":"Date","[object RegExp]":"RegExp","[object Error]":"Error","[object Promise]":"Promise","[object Map]":"Map","[object Set]":"Set","[object WeakMap]":"WeakMap","[object WeakSet]":"WeakSet","[object ArrayBuffer]":"ArrayBuffer","[object DataView]":"DataView","[object Int8Array]":"Int8Array","[object Uint8Array]":"Uint8Array","[object Uint8ClampedArray]":"Uint8ClampedArray","[object Int16Array]":"Int16Array","[object Uint16Array]":"Uint16Array","[object Int32Array]":"Int32Array","[object Uint32Array]":"Uint32Array","[object Float32Array]":"Float32Array","[object Float64Array]":"Float64Array"};return o[n]?o[n]:e._bw_type?e._bw_type:e.constructor&&e.constructor.name?e.constructor.name:t}function Z(e){return"array"!==V(e)?[]:e.filter(function(e,r,t){return t.indexOf(e)===r})}function Q(e){var r=e.indexOf("?");return r>=0&&(e=e.substring(0,r)),(e=e.replace(/\/\/+/g,"/")).length>1&&"/"===e.charAt(e.length-1)&&(e=e.substring(0,e.length-1)),e||"/"}function ee(e){var r=e.indexOf("?");if(r<0)return{};for(var t={},n=e.substring(r+1).split("&"),o=0;o<n.length;o++){var a=n[o].split("=");a[0]&&(t[decodeURIComponent(a[0])]=a.length>1?decodeURIComponent(a[1]):"")}return t}function re(e,r){for(var t=ee(r),n=Q(r),o="/"===n?[""]:n.split("/"),a=null,i=0;i<e.length;i++){var l=e[i],c=l.pattern;if("*"!==c)if(c.length>1&&"/*"===c.substring(c.length-2)){var s=c.substring(0,c.length-2),b=""===s?[""]:s.split("/");if(o.length<b.length)continue;for(var d={},u=!0,_=0;_<b.length;_++)if(":"===b[_].charAt(0))d[b[_].substring(1)]=o[_];else if(b[_]!==o[_]){u=!1;break}if(u)return d._rest=o.slice(b.length).join("/"),d._query=t,{handler:l.handler,params:d}}else{var p="/"===c?[""]:c.split("/");if(p.length===o.length){for(var f={},m=!0,w=0;w<p.length;w++)if(":"===p[w].charAt(0))f[p[w].substring(1)]=o[w];else if(p[w]!==o[w]){m=!1;break}if(m)return f._query=t,{handler:l.handler,params:f}}}else a=l}return a?{handler:a.handler,params:{_query:t}}:null}Object.assign({},X,{root:{":root":{"--bw_font_sans_serif":'system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif',"--bw_font_monospace":'"SF Mono", Monaco, "Cascadia Code", "Roboto Mono", Consolas, "Liberation Mono", "Courier New", monospace',"--bw_body_font_family":"var(--bw_font_sans_serif)","--bw_body_font_size":"1rem","--bw_body_font_weight":"400","--bw_body_line_height":"1.5"}},reset:X.base,enhancedCards:X.cards,tableResponsive:{".bw_bccl_table_responsive":{"overflow-x":"auto","-webkit-overflow-scrolling":"touch"}},utilities:$()});function te(){return""}var ne={};function oe(){throw new Error("bw.make() requires the full bitwrench build (not lean)")}var ae=Object.freeze({__proto__:null,BCCL:ne,componentHandles:{},make:oe,variantClass:te}),ie=["data","headerRow","columns"],le=["title","data","columns","className","striped","hover","responsive"],ce={version:b.version,versionInfo:b,getVersion:function(){return o({},b)},_idCounter:0,_topics:{},_subIdCounter:0,_detached:{},_mounted:{},_nodeMap:{},__monkey_patch_is_nodejs__:{_value:"ignore",set:function(e){this._value=_e(e,"boolean")?e:"ignore"},get:function(){return this._value}},isNodeJS:function(){return"ignore"!==ce.__monkey_patch_is_nodejs__.get()?ce.__monkey_patch_is_nodejs__.get():"undefined"!=typeof process&&null!=process.versions&&null!=process.versions.node}};ce._isNode=ce.isNodeJS(),Object.defineProperty(ce,"_isBrowser",{get:function(){return"undefined"!=typeof document&&"undefined"!=typeof window},configurable:!0});var se=Object.prototype.hasOwnProperty,be=Array.isArray,de=Object.keys,ue=V,_e=function(e,r){var t=ue(e);return t===r||t.toLowerCase()===r},pe=function(){console.warn.apply(console,arguments)};function fe(e,r){_e(r,"function")?r(e):be(r)?(e.innerHTML="",r.forEach(function(r){null!=r&&(_e(r,"object")&&r.t?e.appendChild(ce.create(r)):e.appendChild(document.createTextNode(String(r))))})):_e(r,"object")&&null!==r&&r.t?(e.innerHTML="",e.appendChild(ce.create(r))):e.textContent=String(r)}ce.debug=!1,ce._fsCache=void 0,ce._getFs=function(){if(void 0!==ce._fsCache)return Promise.resolve(ce._fsCache);if(!ce.isNodeJS())return ce._fsCache=null,Promise.resolve(null);if("function"==typeof require)try{return ce._fsCache=require("fs"),Promise.resolve(ce._fsCache)}catch(e){}try{return new Function("m","return import(m)")("fs").then(function(e){return ce._fsCache=e.default||e,ce._fsCache}).catch(function(){return ce._fsCache=null,null})}catch(e){return ce._fsCache=null,Promise.resolve(null)}},ce.typeOf=V,ce.to=ce.typeOf,ce.uuid=function(e){var r=e?"bw_"+e+"_":"bw_";if(ce._isBrowser&&crypto&&crypto.randomUUID)return r+crypto.randomUUID().replace(/-/g,"");var t=Date.now().toString(36),n=(++ce._idCounter).toString(36),o=Math.random().toString(36).substring(2,11);return"".concat(r).concat(t,"_").concat(n,"_").concat(o)},ce.el=function(e,r){var t;if(_e(e,"string"))if(e&&ce._isBrowser){var n=ce._nodeMap[e];if(n){var o=ce.getUUID(n);null!==n.parentNode||o&&ce._detached[o]?(t=n,o&&ce._detached[o]&&null!==n.parentNode&&delete ce._detached[o]):delete ce._nodeMap[e]}t||(0===e.indexOf("bw_uuid_")?t=null:((t=document.getElementById(e))||"#"!==e.charAt(0)&&"."!==e.charAt(0)||(t=document.querySelector(e)),t&&(ce._nodeMap[e]=t)))}else t=null;else t=e||null;return t&&void 0!==r&&fe(t,r),t},ce._registerNode=function(e,r){if(e){r&&(ce._nodeMap[r]=e);var t=e.getAttribute?e.getAttribute("id"):null;t&&(ce._nodeMap[t]=e)}},ce._deregisterNode=function(e,r){r&&delete ce._nodeMap[r];var t=e&&e.getAttribute?e.getAttribute("id"):null;t&&delete ce._nodeMap[t]};var me="bw_lc",we=/\bbw_uuid_[a-z0-9_]+\b/;function ge(e,r){if(null==e)return document.createTextNode("");if(e&&e.__bw_raw){var t=document.createDocumentFragment(),n=document.createElement("span");for(n.innerHTML=e.v;n.firstChild;)t.appendChild(n.firstChild);return t}if(!_e(e,"object")||!e.t)return document.createTextNode(String(e));for(var o=e.t,a=e.a||{},i=e.c,l=e.o||{},c=r._svgCtx||"svg"===o,s=c?document.createElementNS("http://www.w3.org/2000/svg",o):document.createElement(o),b=de(a),d=0;d<b.length;d++){var u=b[d],_=a[u];if(null!=_&&!1!==_)if("style"===u&&_e(_,"object"))Object.assign(s.style,_);else if("class"===u){var p=be(_)?_.filter(Boolean).join(" "):String(_);p&&(c?s.setAttribute("class",p):s.className=p)}else if(0===u.indexOf("on")&&u.length>2&&_e(_,"function")){var f=u.slice(2).toLowerCase();s.addEventListener(f,_)}else"value"===u&&"input"===o?s.value=_:!0===_?s.setAttribute(u,""):s.setAttribute(u,String(_))}var m=r,w=c&&"foreignObject"!==o;if(w!==(r._svgCtx||!1)&&(m=Object.assign({},r,{_svgCtx:w||void 0})),null!=i)if(be(i))for(var g=0;g<i.length;g++){var h=i[g];if(null!=h){var v=ge(h,m);s.appendChild(v);var y=h&&h.a?h.a.id||ce.getUUID(h):null;if(y&&(s._bw_refs||(s._bw_refs={}),s._bw_refs[y]=v),v._bw_refs)for(var x in s._bw_refs||(s._bw_refs={}),v._bw_refs)se.call(v._bw_refs,x)&&(s._bw_refs[x]=v._bw_refs[x])}}else if(_e(i,"object")&&i.__bw_raw)s.innerHTML=i.v;else if(_e(i,"object")&&i.t){var k=ge(i,m);s.appendChild(k);var C=i.a?i.a.id||ce.getUUID(i):null;if(C&&(s._bw_refs||(s._bw_refs={}),s._bw_refs[C]=k),k._bw_refs)for(var S in s._bw_refs||(s._bw_refs={}),k._bw_refs)se.call(k._bw_refs,S)&&(s._bw_refs[S]=k._bw_refs[S])}else s.textContent=String(i);return he(s,l),s}function he(e,r){if(r&&"object"===c(r)&&((r.mounted||r.unmount||r.render||r.state||r.handle||r.slots||r.type)&&!e.bw)){r.type&&(e._bw_type=r.type);var t=ce.getUUID(e)||ce.uuid("uuid");if(e.classList.contains(t)||e.classList.add(t),e.classList.add(me),e.classList.add("bw_is_component"),r.type&&e.classList.add("bw_is_component_"+r.type),r.state&&(e._bw_state=r.state),r.render&&(e._bw_render=r.render),r.mounted?e._bw_mounted_fn=r.mounted:r.render&&!r.mounted&&(e._bw_mounted_fn=function(e,t){r.render(e,t)}),r.unmount&&(e._bw_unmount_fn=r.unmount),e.bw||(e.bw={}),e.bw.getState=function(){return Object.assign({},e._bw_state||{})},r.handle)for(var n in r.handle)se.call(r.handle,n)&&(e.bw[n]=r.handle[n].bind(null,e));if(r.slots)for(var o in e._bw_slots=r.slots,e._bw_slot_cache=null,r.slots)se.call(r.slots,o)&&function(r,t){var n=r.charAt(0).toUpperCase()+r.slice(1);e.bw["set"+n]=function(n){e._bw_slot_cache||(e._bw_slot_cache={}),e._bw_slot_cache[r]||(e._bw_slot_cache[r]=e.querySelector(t));var o=e._bw_slot_cache[r];if(o)if(ce.unmountChildren(o),null!=n&&"object"===c(n)&&n.t){o.innerHTML="";var a=ce.create(n);o.appendChild(a),e.isConnected&&ce.mountTree(a)}else o.textContent=null!=n?String(n):""},e.bw["get"+n]=function(){e._bw_slot_cache||(e._bw_slot_cache={}),e._bw_slot_cache[r]||(e._bw_slot_cache[r]=e.querySelector(t));var n=e._bw_slot_cache[r];return n?n.textContent:""}}(o,r.slots[o])}}function ve(e){if(e&&1===e.nodeType){var r=ce.getUUID(e);if(r){if(ce._nodeMap[r]!==e||!ce._mounted[r]){if(ce._nodeMap[r]&&ce._nodeMap[r]!==e){var t=r,n=ce.uuid("uuid");e.classList.remove(t),e.classList.add(n),r=n,e.parentNode&&e.parentNode._bw_refs&&e.parentNode._bw_refs[t]===e&&(delete e.parentNode._bw_refs[t],e.parentNode._bw_refs[n]=e),ce.pub("bw:diag",{code:"uuid_collision",uuid:t,ref:n,msg:"UUID collision detected; reminted to "+n})}if(ce._nodeMap[r]=e,(o=e.getAttribute?e.getAttribute("id"):null)&&(ce._nodeMap[o]=e),ce._detached[r]&&delete ce._detached[r],e.classList.contains(me)&&!ce._mounted[r]){if(ce._mounted[r]=!0,e._bw_mounted_fn)try{e._bw_mounted_fn(e,e._bw_state||{})}catch(e){pe("o.mounted error: "+e.message),ce.pub("bw:diag",{code:"mounted_hook_error",uuid:r,msg:e.message})}try{e.dispatchEvent(new CustomEvent("bw:mount",{bubbles:!0,detail:{uuid:r,type:e._bw_type||null}}))}catch(e){}ce.pub("bw:lifecycle",{event:"mount",uuid:r,type:e._bw_type||null})}}}else{var o=e.getAttribute?e.getAttribute("id"):null;o&&(ce._nodeMap[o]=e)}}}function ye(e){if(e&&1===e.nodeType){var r=ce.getUUID(e),t=e.getAttribute?e.getAttribute("id"):null;if(r||t||e.classList.contains(me)){if(r&&e.classList.contains(me))try{e.dispatchEvent(new CustomEvent("bw:unmount",{bubbles:!0,detail:{uuid:r,type:e._bw_type||null}}))}catch(e){}if(e._bw_unmount_fn)try{e._bw_unmount_fn(e,e._bw_state||{})}catch(e){pe("o.unmount error: "+e.message),ce.pub("bw:diag",{code:"unmount_hook_error",uuid:r,msg:e.message})}if(e._bw_subs){for(var n=0;n<e._bw_subs.length;n++)try{e._bw_subs[n]()}catch(e){}delete e._bw_subs}for(var o in ce._nodeMap)se.call(ce._nodeMap,o)&&ce._nodeMap[o]===e&&delete ce._nodeMap[o];if(r&&(delete ce._mounted[r],delete ce._detached[r]),delete e.bw,delete e._bw_state,delete e._bw_render,delete e._bw_refs,delete e._bw_type,delete e._bw_unmount_fn,delete e._bw_mounted_fn,delete e._bw_slots,delete e._bw_slot_cache,e.classList){e.classList.remove(me),e.classList.remove("bw_is_component");var a=e.className;if("string"==typeof a)for(var i=a.split(/\s+/),l=0;l<i.length;l++)0!==i[l].indexOf("bw_is_component_")&&0!==i[l].indexOf("bw_uuid_")||e.classList.remove(i[l])}}}}function xe(e){if(!e||"object"!==c(e))return e;if(e.a){for(var r={},t=de(e.a),n=0;n<t.length;n++)"on"===t[n].substring(0,2).toLowerCase()&&"string"==typeof e.a[t[n]]||(r[t[n]]=e.a[t[n]]);e=Object.assign({},e,{a:r})}return be(e.c)?e=Object.assign({},e,{c:e.c.map(xe)}):e.c&&"object"===c(e.c)&&e.c.t&&(e=Object.assign({},e,{c:xe(e.c)})),e}function ke(e){if(!e||""===e||"global"===e)return"bw_style_global";if("reset"===e)return"bw_style_reset";if("structural"===e)return"bw_style_structural";var r=e;return"#"===r.charAt(0)?r="id_"+r.substring(1):"."===r.charAt(0)&&(r="cls_"+r.substring(1)),"bw_style_"+(r=r.replace(/-/g,"_"))}function Ce(e){return!e||(-1!==e.indexOf(",")?(ce.pub("bw:diag",{code:"scope_rejected",ref:e,msg:"comma selectors not allowed"}),!1):!/\s/.test(e.trim())||(ce.pub("bw:diag",{code:"scope_rejected",ref:e,msg:"complex selectors not allowed"}),!1))}return ce.assignUUID=function(e,r){if(!e||!_e(e,"object"))return null;e.a||(e.a={}),_e(e.a.class,"string")||(e.a.class=e.a.class?String(e.a.class):"");var t=e.a.class.match(we);if(t&&!r)return t[0];t&&(e.a.class=e.a.class.replace(we,"").replace(/\s+/g," ").trim());var n=ce.uuid("uuid");return e.a.class=(e.a.class?e.a.class+" ":"")+n,n},ce.getUUID=function(e){if(!e)return null;var r;if(void 0!==e.className&&e.tagName?r="string"==typeof e.className?e.className:e.getAttribute("class")||"":e.a&&_e(e.a.class,"string")&&(r=e.a.class),!r)return null;var t=r.match(we);return t?t[0]:null},ce.escapeHTML=function(e){if(!_e(e,"string"))return"";var r={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;"};return e.replace(/[&<>"'/]/g,function(e){return r[e]})},ce.raw=function(e){return{__bw_raw:!0,v:String(e)}},ce.h=function(e,r,t,n){var o={t:String(e)};return null!=r&&(o.a=r),void 0!==t&&(o.c=t),void 0!==n&&(o.o=n),o},ce.html=function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(null==e)return"";if(be(e))return e.map(function(e){return ce.html(e,r)}).join("");if(e&&e.__bw_raw)return e.v;if(!_e(e,"object")||!e.t){var t=r.raw?String(e):ce.escapeHTML(String(e));return r.state&&_e(t,"string")&&t.indexOf("${")>=0&&(t=ce._resolveTemplate(t,r.state,!!r.compile)),t}for(var n=e.t,o=e.a,a=void 0===o?{}:o,l=e.c,c=e.o,s=void 0===c?{}:c,b=["area","base","br","col","embed","hr","img","input","link","meta","param","source","track","wbr"].includes(n.toLowerCase()),d="",u=[],_=r.fns||null,p=0,f=Object.entries(a);p<f.length;p++){var m=i(f[p],2),w=m[0],g=m[1];if(null!=g&&!1!==g)if(w.startsWith("on")){if(_e(g,"function")){if(_){var h="";try{h=g.toString()}catch(e){}if(-1!==h.indexOf("[native code]")){r._fnUnserializableWarned||(ce.pub("bw:diag",{code:"fn_unserializable",msg:"bound/native function cannot be serialized"}),r._fnUnserializableWarned=!0);continue}for(var v=w.substring(2),y=null,x=de(_),k=0;k<x.length;k++)if(_[x[k]].fn===g&&_[x[k]].event===v){y=x[k];break}y||(y="bw_fn_"+(r._fnCounter||0),r._fnCounter=(r._fnCounter||0)+1,_[y]={fn:g,event:v}),u.push(y)}else r._fnSkipWarned||(ce.pub("bw:diag",{code:"fn_skipped",msg:"function attrs skipped without {fns} option"}),r._fnSkipWarned=!0);continue}_e(g,"string")&&(d+=" "+w+'="'+ce.escapeHTML(g)+'"')}else if("style"===w&&_e(g,"object")){var C=Object.entries(g).filter(function(e){return null!=i(e,2)[1]}).map(function(e){var r=i(e,2),t=r[0],n=r[1];return"".concat(t,":").concat(n)}).join(";");C&&(d+=' style="'.concat(ce.escapeHTML(C),'"'))}else{if("class"===w)continue;if(!0===g)d+=" ".concat(w);else{var S=String(g);r.state&&S.indexOf("${")>=0&&(S=ce._resolveTemplate(S,r.state,!!r.compile)),d+=" ".concat(w,'="').concat(ce.escapeHTML(S),'"')}}}var j=[],O=a.class||"";if(be(O)&&(O=O.filter(Boolean).join(" ")),O&&j.push(String(O)),s&&(s.type||s.state||s.mounted||s.unmount||s.handle||s.render||s.slots)&&!we.test(O)){var A=ce.uuid("uuid");j.push(A),j.push(me),j.push("bw_is_component"),s.type&&j.push("bw_is_component_"+s.type)}for(var M=0;M<u.length;M++)j.push(u[M]);if(j.length>0&&(d+=' class="'+ce.escapeHTML(j.join(" "))+'"'),b)return"<".concat(n).concat(d," />");var z=null!=l?ce.html(l,r):"";return r.state&&_e(z,"string")&&z.indexOf("${")>=0&&(z=ce._resolveTemplate(z,r.state,!!r.compile)),"<".concat(n).concat(d,">").concat(z,"</").concat(n,">")},ce.htmlPage=function(r){var t,n=(r=r||{}).title||"bitwrench",o=r.body||"",a=r.state||void 0,i=r.runtime||"shim",l=r.css||"",c=r.theme||null,s=r.head||[],b=r.favicon||"",d=r.lang||"en",u=!1!==r.handlers?{}:null;if(_e(o,"string"))t=o;else{var _={_fnCounter:0};a&&(_.state=a),u&&(_.fns=u),t=ce.html(o,_)}var p="";if(u)for(var f=de(u),m=0;m<f.length;m++){var w=u[f[m]];p+="r['"+f[m]+"']={fn:"+w.fn.toString()+",event:'"+w.event+"'};\n"}var g="";if("inline"===i){var h=null;if(ce._isNode)try{var v="function"==typeof require?require("fs"):null,y="function"==typeof require?require("path"):null;if(v&&y){var x="";try{x=y.dirname("undefined"!=typeof __filename?__filename:"")}catch(e){}if(!x&&void 0!=={url:"undefined"==typeof document&&"undefined"==typeof location?require("url").pathToFileURL(__filename).href:"undefined"==typeof document?location.href:e&&"SCRIPT"===e.tagName.toUpperCase()&&e.src||new URL("bitwrench-lean.es5.min.js",document.baseURI).href}&&("undefined"==typeof document&&"undefined"==typeof location?require("url").pathToFileURL(__filename).href:"undefined"==typeof document?location.href:e&&"SCRIPT"===e.tagName.toUpperCase()&&e.src||new URL("bitwrench-lean.es5.min.js",document.baseURI).href)){var k="function"==typeof require?require("url"):null;k&&k.fileURLToPath&&(x=y.dirname(k.fileURLToPath("undefined"==typeof document&&"undefined"==typeof location?require("url").pathToFileURL(__filename).href:"undefined"==typeof document?location.href:e&&"SCRIPT"===e.tagName.toUpperCase()&&e.src||new URL("bitwrench-lean.es5.min.js",document.baseURI).href)))}if(x){var C=y.resolve(x,"../dist/bitwrench.umd.min.js");h=v.readFileSync(C,"utf8")}}}catch(e){}g=h?"<script>"+h+"<\/script>":"<script>"+ce._FUNC_REGISTRY_SHIM+"<\/script>"}else"cdn"===i?g='<script src="https://cdn.jsdelivr.net/npm/bitwrench@2/dist/bitwrench.umd.min.js"><\/script>':"shim"===i&&(g="<script>"+ce._FUNC_REGISTRY_SHIM+"<\/script>");var S="";if(c){var j=_e(c,"string")?P[c.toLowerCase()]||null:c;if(j)S=ce.makeStyles(j).css}var O="";be(s)&&s.length>0&&(O=s.map(function(e){return ce.html(e)}).join("\n"));var A="";b&&(A='<link rel="icon" href="'+b.replace(/[&<>"']/g,function(e){return{"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"}[e]})+'">');var M=ce.escapeHTML(n),z=(S?S+"\n":"")+l,E=ce.config&&ce.config.cspNonce?ce.config.cspNonce:null,L=E?' nonce="'+ce.escapeHTML(E)+'"':"",T="",U=[];p&&(U.push("(function(){var r={};"),U.push(p),U.push("for(var k in r){if(r.hasOwnProperty(k)){"),U.push('var els=document.querySelectorAll("."+k);'),U.push("for(var i=0;i<els.length;i++){"),U.push("(function(el,entry){el.addEventListener(entry.event,function(event){"),U.push("try{entry.fn.call(el,event);}catch(e){"),U.push('console.error("bw_act handler error — if this is a ReferenceError from a closure, use bw_act_* class tokens instead:",e);}'),U.push("});})(els[i],r[k]);}}}})();")),"inline"!==i&&"cdn"!==i||U.push('if(typeof bw!=="undefined"){bw.loadStyles();}'),U.length>0&&(T="<script"+L+">\n"+U.join("\n")+"\n<\/script>");var I=["<!DOCTYPE html>",'<html lang="'+d+'">',"<head>",'<meta charset="UTF-8">','<meta name="viewport" content="width=device-width, initial-scale=1">'];return I.push("<title>"+M+"</title>"),A&&I.push(A),g&&(E&&(g=g.replace(/<script(?![^>]*\bnonce\b)/g,"<script"+L)),I.push(g)),O&&I.push(O),z&&I.push("<style"+L+">"+z+"</style>"),I.push("</head>"),I.push("<body>"),I.push(t),T&&I.push(T),I.push("</body>"),I.push("</html>"),I.join("\n")},ce.create=function(e,r){if(!ce._isBrowser)throw new Error("bw.create requires a DOM environment (document/window). Use bw.html() instead.");return ge(e,r||{})},ce.hydrate=function(e,r){e&&r&&he(e,r.o||{})},ce.mountTree=function(e){if(e&&1===e.nodeType){ce.janitor&&ce.janitor._ensureObserver&&ce.janitor._ensureObserver(),ce.actions&&ce.actions._ensureInstalled&&ce.actions._ensureInstalled(),ve(e);for(var r=e.querySelectorAll("*"),t=0;t<r.length;t++)ve(r[t])}},ce.unmount=function(e){if(e&&1===e.nodeType){for(var r=[e],t=e.querySelectorAll('.bw_lc, [class*="bw_uuid_"], [id]'),n=0;n<t.length;n++)r.push(t[n]);for(var o=0;o<r.length;o++)ye(r[o])}},ce.unmountChildren=function(e){if(e&&1===e.nodeType)for(var r=e.querySelectorAll('.bw_lc, [class*="bw_uuid_"]'),t=0;t<r.length;t++)ye(r[t])},ce.remove=function(e){var r=ce.el(e);r&&(ce.unmount(r),r.parentNode&&r.parentNode.removeChild(r))},ce.detach=function(e){if(e){var r=ce.getUUID(e);r&&(ce._detached[r]=!0),e.parentNode&&e.parentNode.removeChild(e)}},ce.janitor=function(){var e=[],r=!0,t=[],n=null,o=!1;function a(){o=!1,l()}function i(){if(ce._isBrowser&&"undefined"!=typeof MutationObserver&&!n)try{(n=new MutationObserver(function(t){if(r){for(var n=[],i=[],l=0;l<t.length;l++){for(var c=t[l],s=0;s<c.removedNodes.length;s++){var b=c.removedNodes[s];1===b.nodeType&&n.push(b)}for(var d=0;d<c.addedNodes.length;d++){var u=c.addedNodes[d];1===u.nodeType&&i.push(u)}}for(var _=!1,p=0;p<n.length;p++){var f=n[p];if(-1===i.indexOf(f)){var m=ce.getUUID(f);if(m&&ce._nodeMap[m]&&(-1===e.indexOf(f)&&e.push(f),_=!0),f.querySelectorAll)for(var w=f.querySelectorAll('.bw_lc, [class*="bw_uuid_"]'),g=0;g<w.length;g++)-1===i.indexOf(w[g])&&-1===e.indexOf(w[g])&&(e.push(w[g]),_=!0)}}_&&(o||(o=!0,Promise.resolve().then(a)))}})).observe(document.body,{childList:!0,subtree:!0})}catch(e){}}function l(){var r=e.splice(0),n=r.length;for(var o in ce._nodeMap)if(se.call(ce._nodeMap,o)){var a=ce._nodeMap[o];a&&1===a.nodeType&&!a.isConnected&&-1===r.indexOf(a)&&r.push(a)}for(var i in ce._detached)if(se.call(ce._detached,i)){var l=ce._nodeMap[i];l&&l.isConnected&&delete ce._detached[i]}for(var c=[],s=0;s<t.length;s++){var b=t[s];b.isConnected?ce.pub("bw:diag",{code:"reaped_reinserted",msg:"a reaped element was reinserted — use bw.detach() for keep-alive"}):c.push(b)}t=c;for(var d=0;d<r.length;d++){var u=r[d];if(r.indexOf(u)<n||!u.isConnected){var _=ce.getUUID(u);if(!_||!ce._detached[_]){var p=u.classList&&u.classList.contains(me),f=_&&ce._nodeMap[_]===u;if(p){var m=u._bw_type||null;ce.unmount(u),t.push(u),ce.pub("bw:lifecycle",{event:"unmount",uuid:_,type:m}),ce.pub("bw:diag",{code:"janitor_reap",uuid:_})}else f&&(ye(u),t.push(u),ce.pub("bw:diag",{code:"janitor_reap",uuid:_}));if(u.querySelectorAll)for(var w=u.querySelectorAll('.bw_lc, [class*="bw_uuid_"]'),g=0;g<w.length;g++){var h=w[g],v=ce.getUUID(h);v&&ce._nodeMap[v]===h&&(h.classList.contains(me)?(ce.unmount(h),t&&t.push(h),ce.pub("bw:diag",{code:"janitor_reap",uuid:v})):(ye(h),ce.pub("bw:diag",{code:"janitor_reap",uuid:v})))}}}}}return ce._isBrowser&&"undefined"!=typeof document&&document.body&&i(),{flush:function(){o=!1,!n&&ce._isBrowser&&"undefined"!=typeof document&&document.body&&i(),l()},enable:function(){r=!0},disable:function(){r=!1},_addPending:function(r){-1===e.indexOf(r)&&e.push(r)},_ensureObserver:function(){!n&&ce._isBrowser&&"undefined"!=typeof document&&document.body&&i()},_reset:function(){e.length=0,t.length=0,o=!1,r=!0,n&&(n.disconnect(),n=null)},_getPendingCount:function(){var r=e.length;for(var t in ce._nodeMap)if(se.call(ce._nodeMap,t)){var n=ce._nodeMap[t];if(n&&1===n.nodeType&&!n.isConnected){var o=ce.getUUID(n);o&&ce._detached[o]||r++}}return r}}}(),ce._debug=function(){var e=0;for(var r in ce._nodeMap)se.call(ce._nodeMap,r)&&e++;var t=0;for(var n in ce._detached)se.call(ce._detached,n)&&t++;return{registered:e,detached:t,janitorPending:ce.janitor._getPendingCount(),topics:de(ce._topics).length}},ce._resetForTest=function(){for(var e in ce._nodeMap)se.call(ce._nodeMap,e)&&delete ce._nodeMap[e];for(var r in ce._topics)se.call(ce._topics,r)&&delete ce._topics[r];for(var t in ce._detached)se.call(ce._detached,t)&&delete ce._detached[t];for(var n in ce._mounted)se.call(ce._mounted,n)&&delete ce._mounted[n];for(var o in ce._subIdCounter=0,ce._idCounter=0,ce.janitor&&"function"==typeof ce.janitor._reset&&ce.janitor._reset(),ce.actions&&("function"==typeof ce.actions._reset&&ce.actions._reset(),ce.actions.enable()),ce.remote=null,ce._wireListeners)if(se.call(ce._wireListeners,o)){try{ce._wireListeners[o]()}catch(e){}delete ce._wireListeners[o]}for(var a in ce._clientRemotes)se.call(ce._clientRemotes,a)&&delete ce._clientRemotes[a]},ce.mount=function(e,r,t){var n=_e(e,"string")?ce.$(e)[0]:e;if(!n)return pe("bw.mount: target not found"),null;if(ce.unmountChildren(n),n.innerHTML="",null==r)return null;var o=null,a=[];if(be(r)){for(var i=0;i<r.length;i++)if(null!=r[i]){var l=ce.create(r[i],t||{});n.appendChild(l),a.push(l),o||(o=l)}}else o=ce.create(r,t||{}),n.appendChild(o),a.push(o);for(var c=0;c<a.length;c++)ce.mountTree(a[c]);return o},ce.DOM=ce.mount,ce.append=function(e,r,t){var n=_e(e,"string")?ce.$(e)[0]:e;if(!n)return null;var o=ce.create(r);if(t&&void 0!==t.before){var a=t.before;"number"==typeof a&&(a=n.children[a]||null),n.insertBefore(o,a)}else n.appendChild(o);return ce.mountTree(o),o},ce.replace=function(e,r){if(!e)return null;var t=e.parentNode,n=e.nextSibling;if(ce.unmount(e),e.parentNode&&e.parentNode.removeChild(e),null==r)return null;var o=ce.create(r);return t&&(n?t.insertBefore(o,n):t.appendChild(o)),ce.mountTree(o),o},ce.refresh=function(e){var r=ce.el(e);if(!r)return null;ce.unmountChildren(r),r.innerHTML="",r._bw_slot_cache&&(r._bw_slot_cache=null),r._bw_render&&(r._bw_render(r,r._bw_state||{}),ce.mountTree(r));try{r.dispatchEvent(new CustomEvent("bw:refresh",{bubbles:!0,detail:{uuid:ce.getUUID(r),type:r._bw_type||null}}))}catch(e){}return r},ce.update=function(e,r){var t=ce.el(e);return t?t.bw&&"function"==typeof t.bw.update?(t.bw.update(r),ce.pub("bw:lifecycle",{event:"statechange",uuid:ce.getUUID(t),data:r}),ce.emit(t,"statechange",t._bw_state),t):(t._bw_render?ce.pub("bw:diag",{code:"update_use_refresh",uuid:ce.getUUID(t),msg:"component has o.render but no update handle — use bw.refresh() instead"}):ce.pub("bw:diag",{code:"update_no_handle",uuid:ce.getUUID(t),msg:"component has no update handle and no render — nothing to do"}),t):null},ce.updateSlot=function(e,r,t){var n=ce.el(e);if(!n||!n.bw)return!1;var o="set"+r.charAt(0).toUpperCase()+r.slice(1);return"function"==typeof n.bw[o]&&(n.bw[o](t),!0)},ce.patch=function(e,r,t){var n=ce.el(e);if(!n)return null;if(t)n.setAttribute(t,String(r));else if(_e(r,"string")||_e(r,"number"))n.textContent=String(r);else if(be(r)){ce.unmountChildren(n),n.innerHTML="";for(var o=0;o<r.length;o++){var a=r[o];null!=a&&(_e(a,"object")&&a.t?n.appendChild(ce.create(a)):n.appendChild(document.createTextNode(String(a))))}ce.mountTree(n)}else if(_e(r,"object")&&null!==r&&r.t)ce.unmountChildren(n),n.innerHTML="",n.appendChild(ce.create(r)),ce.mountTree(n);else if(_e(r,"object")&&null!==r)for(var i=de(r),l=0;l<i.length;l++)n.setAttribute(i[l],String(r[i[l]]));else n.textContent=String(r);return n},ce.patchAll=function(e){var r={};for(var t in e)se.call(e,t)&&(r[t]=ce.patch(t,e[t]));return r},ce.syncChildren=function(e,r,t){if(e&&r&&t){var n=t.key,o=t.create,a=t.update,i="undefined"!=typeof document?document.activeElement:null;i&&!e.contains(i)&&(i=null);for(var l={},c=e.firstElementChild;c;)null!=c._bw_key&&(l[c._bw_key]=c),c=c.nextElementSibling;for(var s={},b=0;b<r.length;b++)s[n(r[b])]=!0;var d=[];for(var u in l)se.call(l,u)&&!s[u]&&d.push(l[u]);for(var _=0;_<d.length;_++)ce.unmount(d[_]),d[_].parentNode&&d[_].parentNode.removeChild(d[_]),delete l[d[_]._bw_key];for(var p=null,f=0;f<r.length;f++){var m=n(r[f]),w=l[m];if(w){a&&a(w,r[f]);var g=p?p.nextSibling:e.firstChild;w!==g&&e.insertBefore(w,g),p=w}else{var h=o(r[f]),v=ce.create(h);v._bw_key=m;var y=p?p.nextSibling:e.firstChild;e.insertBefore(v,y),ce.mountTree(v),l[m]=v,p=v}}if(i&&i.isConnected&&document.activeElement!==i)try{i.focus()}catch(e){}}},ce.emit=function(e,r,t){var n=ce.el(e);n&&n.dispatchEvent(new CustomEvent("bw:"+r,{bubbles:!0,detail:t||{}}))},ce.on=function(e,r,t){var n=ce.el(e);if(!n)return function(){};var o=function(e){t(e.detail,e)};return n.addEventListener("bw:"+r,o),function(){n.removeEventListener("bw:"+r,o)}},ce.pub=function(e,r){var t=0;function n(n,o){if(n&&0!==n.length){for(var a=n.slice(),i=!1,l=[],c=0;c<a.length;c++){var s=a[c];if(s.tiedEl&&"bw:diag"!==e&&"bw:lifecycle"!==e){var b=ce.getUUID(s.tiedEl);if(!(s.tiedEl.isConnected||b&&ce._detached[b])){var d=n.indexOf(s);-1!==d&&n.splice(d,1),i=!0,l.push({code:"ghost_prune",uuid:b,topic:o});continue}}try{s.handler(r,e),t++}catch(e){pe('bw.pub: subscriber error on topic "'+o+'":',e)}}i&&0===n.length&&delete ce._topics[o];for(var u=0;u<l.length;u++)ce.pub("bw:diag",l[u])}}n(ce._topics[e],e);for(var o=Object.keys(ce._topics),a=0;a<o.length;a++){var i=o[a];if("*"===i.charAt(i.length-1)){var l=i.slice(0,-1);e.length>=l.length&&e.substring(0,l.length)===l&&e!==i&&n(ce._topics[i],i)}}return t},ce.sub=function(e,r,t){var n=++ce._subIdCounter;ce._topics[e]||(ce._topics[e]=[]);var o={handler:r,id:n};t&&(o.tiedEl=t),ce._topics[e].push(o);var a=function(){var r=ce._topics[e];r&&(ce._topics[e]=r.filter(function(e){return e.id!==n}),0===ce._topics[e].length&&delete ce._topics[e])};return t&&(t._bw_subs||(t._bw_subs=[]),t._bw_subs.push(a),ce.getUUID(t)||t.classList.add(ce.uuid("uuid")),t.classList.contains(me)||t.classList.add(me)),a},ce.unsub=function(e,r){var t=ce._topics[e];if(!t)return 0;var n=t.length;ce._topics[e]=t.filter(function(e){return e.handler!==r});var o=n-ce._topics[e].length;return 0===ce._topics[e].length&&delete ce._topics[e],o},ce.once=function(e,r,t){var n=ce.sub(e,function(e){n(),r(e)},t);return n},ce.derive=function(e,r,t,n){n=n||{};var o=new Array(e.length),a=new Array(e.length),i=!1,l=[];if(n.seed){if(n.seed.length!==e.length)throw new TypeError("bw.derive: seed length ("+n.seed.length+") must match inputs length ("+e.length+")");for(var c=0;c<n.seed.length;c++)o[c]=n.seed[c],a[c]=!0}function s(){for(var e=0;e<a.length;e++)if(!a[e])return!1;return!0}function b(){if(!i)try{var e=r.apply(null,o);ce.pub(t,e)}catch(e){ce.pub("bw:diag",{code:"derive_error",outTopic:t,msg:e.message})}}-1!==e.indexOf(t)&&ce.pub("bw:diag",{code:"derive_cycle",inputs:e,outTopic:t});for(var d=0;d<e.length;d++)(function(r){var t=ce.sub(e[r],function(e){o[r]=e,a[r]=!0,s()&&b()});l.push(t)})(d);function u(){if(!i){i=!0;for(var e=0;e<l.length;e++)try{l[e]()}catch(e){}}}return n.immediate&&s()&&b(),n.el&&(n.el._bw_subs||(n.el._bw_subs=[]),n.el._bw_subs.push(u)),u},ce._fnRegistry={},ce._fnIDCounter=0,ce.funcRegister=function(e,r){if(!_e(e,"function"))return"";var t=_e(r,"string")&&r.length>0?r:"bw_fn_"+ce._fnIDCounter++;return ce._fnRegistry[t]=e,t},ce.funcGetById=function(e,r){return(e=String(e))in ce._fnRegistry?ce._fnRegistry[e]:_e(r,"function")?r:function(){pe('bw.funcGetById: unregistered fn "'+e+'"')}},ce.funcGetDispatchStr=function(e,r){return"bw.funcGetById('"+e+"')("+(r=null!=r?String(r):"")+")"},ce.funcUnregister=function(e){return e in ce._fnRegistry&&(delete ce._fnRegistry[e],!0)},ce.funcGetRegistry=function(){var e={};for(var r in ce._fnRegistry)se.call(ce._fnRegistry,r)&&(e[r]=ce._fnRegistry[r]);return e},ce._FUNC_REGISTRY_SHIM='(function(){var bw=window.bw||(window.bw={});if(!bw._fnRegistry)bw._fnRegistry={};bw.funcGetById=function(n){return bw._fnRegistry[n]||function(){console.warn("bw: unregistered fn "+n)};};bw.funcRegister=function(fn,name){var id=name||("bw_fn_"+(bw._fnIDCounter=(bw._fnIDCounter||0)+1));bw._fnRegistry[id]=fn;return id;};window.bw=bw;})();',ce._parseBindings=function(e){for(var r,t=[],n=/\$\{([^}]+)\}/g;null!==(r=n.exec(e));)t.push({start:r.index,end:r.index+r[0].length,expr:r[1].trim()});return t},ce._evaluatePath=function(e,r){for(var t=r.split("."),n=e,o=0;o<t.length;o++){if(null==n)return ce.debug&&pe('bw.debug: _evaluatePath — null at key "'+t[o]+'" in path "'+r+'"'),"";n=n[t[o]]}return null==n?"":n},ce._compiledExprs={},ce._resolveTemplate=function(e,r,t){if(!_e(e,"string")||e.indexOf("${")<0)return e;var n=ce._parseBindings(e);if(0===n.length)return e;for(var o="",a=0,i=0;i<n.length;i++){var l,c=n[i];if(o+=e.slice(a,c.start),t){if(!ce._compiledExprs[c.expr])try{ce._compiledExprs[c.expr]=new Function("state","with(state){return ("+c.expr+");}")}catch(e){ce._compiledExprs[c.expr]=function(){return""}}try{l=ce._compiledExprs[c.expr](r)}catch(e){ce.debug&&pe('bw.debug: _resolveTemplate — Tier 2 eval failed for "${'+c.expr+'}":',e.message),l=""}}else l=ce._evaluatePath(r,c.expr);o+=null==l?"":String(l),a=c.end}return o+=e.slice(a)},ce.message=function(e,r,t){var n=ce.el(e);if(!n&&_e(e,"string")&&0!==e.indexOf("#")&&0!==e.indexOf("."))try{n=ce.$("."+e)[0]}catch(e){}return n&&n.bw&&"function"==typeof n.bw[r]?(n.bw[r](t),!0):(pe('bw.message: no handle method "'+r+'" on '+e),!1)},ce.formData=function(e){var r=ce.el(e);if(!r)return{};for(var t={},n=r.querySelectorAll("input, select, textarea"),o=0;o<n.length;o++){var a=n[o],i=a.name||a.id;if(i)if("checkbox"===a.type)t[i]=a.checked;else if("radio"===a.type)a.checked&&(t[i]=a.value);else if("SELECT"===a.tagName&&a.multiple){t[i]=[];for(var l=0;l<a.options.length;l++)a.options[l].selected&&t[i].push(a.options[l].value)}else t[i]=a.value}return t},ce.jsonPatch=function(e,r){if(!be(r))return e;function t(e){if(""===e)return[];if("/"!==e.charAt(0))throw new Error("Invalid JSON Pointer: "+e);return e.slice(1).split("/").map(function(e){return e.replace(/~1/g,"/").replace(/~0/g,"~")})}function n(e,r){for(var t=e,n=0;n<r.length-1;n++){var o=be(t)?parseInt(r[n],10):r[n];if(void 0===t[o])throw new Error("Path not found: /"+r.slice(0,n+1).join("/"));t=t[o]}return{parent:t,key:be(t)?parseInt(r[r.length-1],10):r[r.length-1]}}function o(e,r){for(var t=e,n=0;n<r.length;n++){var o=be(t)?parseInt(r[n],10):r[n];if(void 0===t[o])throw new Error("Path not found: /"+r.slice(0,n+1).join("/"));t=t[o]}return t}for(var a=0;a<r.length;a++){var i=r[a];if(!i.op||!_e(i.path,"string"))throw new Error("Invalid patch operation at index "+a);var l,c,s,b,d,u,_=t(i.path);switch(i.op){case"add":if(0===_.length)throw new Error("Cannot add to root");l=n(e,_),be(l.parent)&&l.key<=l.parent.length?l.parent.splice(l.key,0,i.value):l.parent[l.key]=i.value;break;case"remove":if(0===_.length)throw new Error("Cannot remove root");if(l=n(e,_),be(l.parent)){if(l.key>=l.parent.length)throw new Error("Index out of bounds: "+l.key);l.parent.splice(l.key,1)}else{if(!(l.key in l.parent))throw new Error("Path not found: "+i.path);delete l.parent[l.key]}break;case"replace":if(0===_.length)throw new Error("Cannot replace root");if(l=n(e,_),be(l.parent)){if(l.key>=l.parent.length)throw new Error("Index out of bounds: "+l.key)}else if(!(l.key in l.parent))throw new Error("Path not found: "+i.path);l.parent[l.key]=i.value;break;case"move":if(!_e(i.from,"string"))throw new Error('move requires "from"');c=o(e,s=t(i.from)),b=n(e,s),be(b.parent)?b.parent.splice(b.key,1):delete b.parent[b.key],d=n(e,_),be(d.parent)&&d.key<=d.parent.length?d.parent.splice(d.key,0,c):d.parent[d.key]=c;break;case"copy":if(!_e(i.from,"string"))throw new Error('copy requires "from"');c=o(e,t(i.from)),u=n(e,_),be(u.parent)&&u.key<=u.parent.length?u.parent.splice(u.key,0,c):u.parent[u.key]=c;break;case"test":var p=o(e,_);if(JSON.stringify(p)!==JSON.stringify(i.value))throw new Error("Test failed: "+i.path+" expected "+JSON.stringify(i.value)+" got "+JSON.stringify(p));break;default:throw new Error("Unknown op: "+i.op)}}return e},ce._clientFunctions={},ce.parseJSONFlex=function(e){if("r"!==(e=(e||"").trim()).charAt(0))return JSON.parse(e);for(var r=[],t=0,n=(e=e.slice(1)).length;t<n;){var o=e[t];if("'"===o){for(r.push('"'),t++;t<n;){var a=e[t];if("\\"===a&&t+1<n){var i=e[t+1];"'"===i?r.push("'"):(r.push("\\"),r.push(i)),t+=2}else if('"'===a)r.push('\\"'),t++;else{if("'"===a)break;r.push(a),t++}}r.push('"'),t++}else if('"'===o)for(r.push(o),t++;t<n;){var l=e[t];if("\\"===l&&t+1<n)r.push(l),r.push(e[t+1]),t+=2;else if(r.push(l),t++,'"'===l)break}else if(","===o){for(var c=t+1;c<n&&(" "===e[c]||"\t"===e[c]||"\n"===e[c]||"\r"===e[c]);)c++;c<n&&("}"===e[c]||"]"===e[c])||r.push(o),t++}else r.push(o),t++}return JSON.parse(r.join(""))},ce.actions=function(){var e=!1;function r(e){if(!e||!e.classList)return null;for(var r=e.classList,t=[],n=0;n<r.length;n++)0===r[n].indexOf("bw_act_")&&t.push(r[n].substring(7));return t}function t(e){for(var r=e;r;){if(r._bw_type)return{uuid:ce.getUUID(r),type:r._bw_type};r=r.parentElement}return null}function n(n){if(e)for(var o=n.target;o&&o!==document;){var a=r(o);if(a&&a.length>0){var i=a[0];a.length>1&&ce.pub("bw:diag",{code:"act_multiple",tokens:a});var l=o.tagName?o.tagName.toLowerCase():"";"a"!==l&&"form"!==l||n.preventDefault();var c=null,s=null,b=null;if("input"!==l&&"textarea"!==l&&"select"!==l||(c=o.value,s=o.getAttribute("name")),"form"===l){b={};try{new FormData(o).forEach(function(e,r){b[r]=e})}catch(e){}}var d=ce.getUUID(o)||o.getAttribute("id")||null,u=t(o.parentElement),_={action:i,value:c,name:s,ref:d,owner:u};return b&&(_.form=b),ce.pub("act:"+i,_),void(ce.remote&&"function"==typeof ce.remote.send&&ce.remote.send({v:1,type:"event",action:i,value:c,name:s,ref:d,owner:u}))}o=o.parentElement}}var o=null;function a(){"undefined"!=typeof document&&o!==document&&(o=document,document.addEventListener("click",n,!0),document.addEventListener("change",n,!0),document.addEventListener("input",n,!0),document.addEventListener("submit",n,!0))}return{enable:function(){e=!0,a()},disable:function(){e=!1},_ensureInstalled:function(){e&&a()},_reset:function(){e=!1,o=null}}}(),ce.remote=null,ce._clientRemotes={},ce._wireListeners={},ce.registerRemote=function(e,r){ce._clientRemotes[e]=r},ce.connect=function(e){ce.pub("bw:diag",{code:"remote_status",status:"connecting",url:e});var r=new EventSource(e),t={send:function(r){try{var t=new XMLHttpRequest;t.open("POST",e.replace("/events/","/apply/"),!0),t.setRequestHeader("Content-Type","application/json"),t.send(JSON.stringify(r))}catch(e){}},close:function(){r.close()}};return r.onopen=function(){ce.pub("bw:diag",{code:"remote_status",status:"connected"})},r.onmessage=function(e){try{ce.apply(JSON.parse(e.data))}catch(e){}},r.onerror=function(){ce.pub("bw:diag",{code:"remote_status",status:"disconnected"})},ce.remote=t,t},ce.apply=function(e){if(!e||!e.type)return!1;if("hello"===e.type)return!0;if("batch"!==e.type&&1!==e.v)return ce.pub("bw:diag",{code:"wire_rejected",msg:"missing or unknown version",v:e.v}),!1;var r=e.type,t=e.ref;if(void 0!==e.target||void 0!==e.node)return ce.pub("bw:diag",{code:"wire_rejected",msg:"v:1 uses ref/taco, not target/node"}),!1;if("mount"===r){var n=ce.el(t);return!!n&&(ce.mount(n,xe(e.taco)),!0)}if("patch"===r){var o=ce.el(t);return!!o&&(void 0!==e.text?ce.patch(o,e.text):e.attrs?ce.patch(o,e.attrs):e.content&&ce.patch(o,xe(e.content)),!0)}if("append"===r){var a=ce.el(t);return!!a&&(ce.append(a,xe(e.taco)),!0)}if("replace"===r){var i=ce.el(t);return!!i&&(ce.replace(i,xe(e.taco)),!0)}if("remove"===r){var l=ce.el(t);return!!l&&(ce.remove(l),!0)}if("refresh"===r){var c=ce.el(t);return!!c&&(c._bw_render?(ce.refresh(c),!0):(ce.pub("bw:diag",{code:"refresh_no_render",ref:t}),!1))}if("update"===r){var s=ce.el(t);return!!s&&(ce.update(s,e.data),!0)}if("message"===r)return!1!==ce.message(t,e.action,e.data);if("batch"===r){if(!be(e.ops))return!1;for(var b=!0,d=0;d<e.ops.length;d++)try{ce.apply(e.ops[d])||(b=!1)}catch(e){b=!1}return b}if("listen"===r)return!!e.topic&&(ce._wireListeners[e.topic]||(ce._wireListeners[e.topic]=ce.sub(e.topic,function(r){ce.remote&&"function"==typeof ce.remote.send&&ce.remote.send({v:1,type:"topic",topic:e.topic,data:r})})),!0);if("unlisten"===r)return!(!e.topic||!ce._wireListeners[e.topic])&&(ce._wireListeners[e.topic](),delete ce._wireListeners[e.topic],!0);if("call"===r){if(!e.name)return!1;var u=ce._clientRemotes[e.name]||ce._clientFunctions[e.name];if(!_e(u,"function"))return!1;try{var _=be(e.args)?e.args:[];return u.apply(null,_),!0}catch(e){return!1}}else if("exec"===r||"register"===r)return ce.pub("bw:diag",{code:"wire_rejected",msg:r+" is not a valid v:1 verb"}),!1;return ce.pub("bw:diag",{code:"wire_rejected",msg:"unknown type: "+r}),!1},ce.inspect=function(e,r){var t=ce.el(e);if(!t&&_e(e,"string")&&(t=ce.$(e)[0]),!t)return null;return null==r&&(r=3),function e(t,n){if(!t)return null;if(1!==t.nodeType)return null;var o={tag:t.tagName?t.tagName.toLowerCase():"#text"};t.id&&(o.id=t.id);var a=ce.getUUID(t);if(a&&(o.uuid=a),t._bw_type&&(o.type=t._bw_type),t.className&&"string"==typeof t.className&&(o.classes=t.className.split(" ").slice(0,5).join(" ")),t.bw){var i=de(t.bw);i.length>0&&(o.handles=i)}if(t._bw_state&&(o.state=t._bw_state),t._bw_render&&(o.hasRender=!0),t._bw_subs&&t._bw_subs.length>0&&(o.hasSubs=!0),t._bw_refs&&(o.refs=de(t._bw_refs)),n<r&&t.children&&t.children.length>0){o.children=[];for(var l=Math.min(t.children.length,50),c=0;c<l;c++){var s=e(t.children[c],n+1);s&&o.children.push(s)}t.children.length>50&&o.children.push({tag:"...",count:t.children.length-50})}return o}(t,0)},ce.compile=function(){throw new Error("bw.compile() removed in v2.0.19. Use o.handle/o.slots on TACO options instead.")},ce.css=function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=r.minify,n=void 0!==t&&t,o=r.pretty,a=void 0===o?!n:o;if(_e(e,"string"))return e;var l="",c=a?" ":"",s=a?"\n":"",b=a?" ":"";return be(e)?l=e.map(function(e){return ce.css(e,r)}).join(s):_e(e,"object")&&Object.entries(e).forEach(function(e){var t=i(e,2),n=t[0],o=t[1];if(_e(o,"object")){if("@"===n.charAt(0)){var a=ce.css(o,r);return void(a&&(l+="".concat(n).concat(b,"{").concat(s).concat(a).concat(s,"}").concat(s)))}var d=Object.entries(o).filter(function(e){return null!=i(e,2)[1]}).map(function(e){var r=i(e,2),t=r[0],n=r[1],o=t.replace(/[A-Z]/g,function(e){return"-"+e.toLowerCase()});return"".concat(c).concat(o,":").concat(b).concat(n,";")}).join(s);d&&(l+="".concat(n).concat(b,"{").concat(s).concat(d).concat(s,"}").concat(s))}}),l.trim()},ce.injectCSS=function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!ce._isBrowser)return pe("bw.injectCSS requires a DOM environment"),null;var t=r.id,n=void 0===t?"bw_styles":t,o=r.append,a=void 0===o||o;n&&/^bw_style_/.test(n)&&!r._internal&&ce.pub("bw:diag",{code:"css_reserved_id",ref:n,msg:'id "'+n+'" is in the reserved bw_style_* namespace'});var i=document.getElementById(n);if(!i)if((i=document.createElement("style")).id=n,i.type="text/css",/^bw_style_/.test(n)){var l=["bw_style_reset","bw_style_structural","bw_style_global"],c=l.indexOf(n);-1===c&&(c=l.length);for(var s=!1,b=document.head.querySelectorAll('style[id^="bw_style_"]'),d=0;d<b.length;d++){var u=l.indexOf(b[d].id);if(-1===u&&(u=l.length),u>c){document.head.insertBefore(i,b[d]),s=!0;break}}s||document.head.appendChild(i)}else document.head.appendChild(i);ce.config&&ce.config.cspNonce&&i.setAttribute("nonce",ce.config.cspNonce);var _=_e(e,"string")?e:ce.css(e,r);return a&&i.textContent?i.textContent+="\n"+_:i.textContent=_,i},ce.s=function(){for(var e={},r=0;r<arguments.length;r++){var t=arguments[r];_e(t,"object")&&Object.assign(e,t)}return e},ce.responsive=function(e,r){var t={sm:"576px",md:"768px",lg:"992px",xl:"1200px"},n=[];return de(r).forEach(function(o){var a={};"base"===o?(a[e]=r[o],n.push(ce.css(a))):t[o]&&(a[e]=r[o],n.push("@media (min-width: "+t[o]+") {\n"+ce.css(a)+"\n}"))}),n.join("\n")},ce.mapScale=function(e,r,t,n,o){var a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},i=a.clip,l=void 0!==i&&i,c=a.expScale,s=void 0===c?1:c,b=(e-r)/(t-r);1!==s&&(b=Math.pow(b,s));var d=b*(o-n)+n;if(l){var u=Math.min(n,o),_=Math.max(n,o);d=Math.max(u,Math.min(_,d))}return d},ce.clip=function(e,r,t){return Math.max(r,Math.min(t,e))},ce.$=function(e,r){if(!ce._isBrowser)return[];var t;if(t=e?be(e)?e:e.nodeType?[e]:void 0===e.length||_e(e,"string")?_e(e,"string")?Array.from(document.querySelectorAll(e)):[]:Array.from(e):[],void 0!==r)for(var n=0;n<t.length;n++)fe(t[n],r);return t},ce.$.one=function(e){return ce.$(e)[0]||null},ce.makeStyles=function(e){var r=Object.assign({},D,e||{});if(e&&!e.tertiary&&(r.tertiary=r.primary),r.primary&&r.secondary){var t=k(r.primary),n=k(r.secondary),o=(Math.max(t,n)+.05)/(Math.min(t,n)+.05);o<1.5&&ce.pub("bw:diag",{code:"contrast_aa",msg:"primary/secondary seeds have near-identical luminance (ratio "+o.toFixed(2)+")"})}var a=z(r),i=function(e){var r=e&&e.spacing||"normal",t=e&&e.radius||"md",n=e&&e.fontSize||1,o=e&&e.typeRatio||"normal",a="string"==typeof o?U[o]||U.normal:o,i=e&&e.elevation||"md",l=e&&e.motion||"standard";return{spacing:"string"==typeof r?L[r]||L.normal:r,radius:"string"==typeof t?T[t]||T.md:t,fontSize:n,typeScale:I(16,a),elevation:"string"==typeof i?N[i]||N.md:i,motion:"string"==typeof l?R[l]||R.standard:l}}(r),l=H("",a,i),c=ce.css(l),s=z(M(r)),b=H("",s,i);return b.body={color:s.dark.base,"background-color":s.surface||s.light.base},{css:c,alternateCss:ce.css(b),rules:l,alternateRules:b,palette:a,alternatePalette:s,isLightPrimary:A(r)}},ce.applyStyles=function(e,r){if(!ce._isBrowser)return null;if(!e||!e.rules)return pe("bw.applyStyles: invalid styles object"),null;if(r&&!Ce(r))return null;var t=ke(r),n=e.rules;r&&(n=W(n,r));var o=e.alternateRules;if(o){var a=null;if(r&&o.body){a=o.body;var i={};for(var l in o)Object.prototype.hasOwnProperty.call(o,l)&&"body"!==l&&(i[l]=o[l]);o=i}r?(o=W(o,r+".bw_theme_alt"),a&&(o[r+".bw_theme_alt"]=a)):o=W(o,".bw_theme_alt")}var c=ce.css(n);return o&&(c+="\n"+ce.css(o)),ce.injectCSS(c,{id:t,append:!1,_internal:!0})},ce.loadStyles=function(e,r){ce.loadStructural();var t=ce.makeStyles(e);return ce.applyStyles(t,r),t},ce.loadStructural=function(){if(!ce._isBrowser)return null;var e=document.getElementById("bw_style_structural");if(e)return e;var r=ce.css(G());return ce.injectCSS(r,{id:"bw_style_structural",append:!1,_internal:!0})},ce.scopeRulesUnder=W,ce.loadReset=function(){if(!ce._isBrowser)return null;var e,r=document.getElementById("bw_style_reset");return r||ce.injectCSS(ce.css((e={},Object.assign(e,X.base),e["@media (prefers-reduced-motion: reduce)"]={"*, *::before, *::after":{"animation-duration":"0.01ms !important","animation-iteration-count":"1 !important","transition-duration":"0.01ms !important","scroll-behavior":"auto !important"}},e)),{id:"bw_style_reset",append:!1,_internal:!0})},ce.setThemeMode=function(e,r){if(!ce._isBrowser)return{mode:"primary",count:0};if(!Ce(r))return{mode:e,count:0};var t;t=r?ce.$(r):[document.documentElement];for(var n=0;n<t.length;n++)"alternate"===e?t[n].classList.add("bw_theme_alt"):t[n].classList.remove("bw_theme_alt");var o={mode:e,count:t.length};return ce.pub("bw:thememode",{mode:e,scope:r||"html",count:t.length}),o},ce.toggleThemeMode=function(e){if(!ce._isBrowser)return"primary";if(!Ce(e))return"primary";var r;if(!(r=e?ce.$(e):[document.documentElement]).length)return"primary";for(var t=r[0].classList.contains("bw_theme_alt")?"primary":"alternate",n=0;n<r.length;n++)"alternate"===t?r[n].classList.add("bw_theme_alt"):r[n].classList.remove("bw_theme_alt");return t},ce.clearStyles=function(e){if(ce._isBrowser){var r=ke(e),t=document.getElementById(r);if(t&&t.remove(),e&&"reset"!==e&&"structural"!==e&&"global"!==e)for(var n=ce.$(e),o=0;o<n.length;o++)n[o].classList.remove("bw_theme_alt");else e&&"global"!==e||document.documentElement.classList.remove("bw_theme_alt")}},ce.hexToHsl=h,ce.hslToHex=v,ce.adjustLightness=y,ce.mixColor=x,ce.relativeLuminance=k,ce.textOnColor=C,ce.deriveShades=j,ce.derivePalette=z,ce.harmonize=S,ce.deriveAlternateSeed=O,ce.deriveAlternateConfig=M,ce.isLightPalette=A,ce.colorParse=g,ce.colorRgbToHsl=function(e,r,t,n,o){void 0===n&&(n=255),void 0===o&&(o=!0),Array.isArray(e)&&(r=e[1],t=e[2],n=void 0!==e[3]?e[3]:255,e=e[0]);var a=p(e,r,t);return o&&(a[0]=Math.round(a[0]),a[1]=Math.round(a[1]),a[2]=Math.round(a[2]),n=Math.round(n)),[a[0],a[1],a[2],n,"hsl"]},ce.colorHslToRgb=w,ce.colorInterp=function(e,r,t,n,o){var a=Array.isArray(n)?n:["#000","#fff"];if(1===(a=0===a.length?["#000","#fff"]:a).length)return a[0];var i=m(e,r,t,0,(a=a.map(function(e){return g(e)})).length-1,{clip:!0,expScale:o}),l=u(Math.floor(i),0,a.length-2),c=i-l,s=function(e){return m(c,0,1,a[l][e],a[l+1][e],{clip:!0})};return[s(0),s(1),s(2),s(3),"rgb"]},ce.SPACING_PRESETS=L,ce.RADIUS_PRESETS=T,ce.TYPE_RATIO_PRESETS=U,ce.ELEVATION_PRESETS=N,ce.MOTION_PRESETS=R,ce.generateTypeScale=I,ce.DEFAULT_PALETTE_CONFIG=D,ce.THEME_PRESETS=P,ce.choice=function(e,r,t){var n=e in r?r[e]:t;return"function"===V(n)?n(e):n},ce.arrayUniq=Z,ce.arrayBinA=function(e,r){return"array"!==V(e)||"array"!==V(r)?[]:Z(e.filter(function(e){return-1!==r.indexOf(e)}))},ce.arrayBNotInA=function(e,r){return"array"!==V(e)||"array"!==V(r)?[]:Z(r.filter(function(r){return e.indexOf(r)<0}))},ce.setCookie=function(e,r,t){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};if(ce._isBrowser){var o=new Date;o.setTime(o.getTime()+24*t*60*60*1e3);var a="".concat(e,"=").concat(r,"; expires=").concat(o.toUTCString());n.path&&(a+="; path=".concat(n.path)),n.domain&&(a+="; domain=".concat(n.domain)),n.secure&&(a+="; secure"),n.sameSite&&(a+="; samesite=".concat(n.sameSite)),document.cookie=a}},ce.getCookie=function(e,r){if(!ce._isBrowser)return r;for(var t=e+"=",n=document.cookie.split(";"),o=0;o<n.length;o++){for(var a=n[o];" "===a.charAt(0);)a=a.substring(1);if(0===a.indexOf(t))return a.substring(t.length,a.length)}return r},ce.getURLParam=function(e,r){if(!ce._isBrowser||"object"!==("undefined"==typeof window?"undefined":c(window)))return r;try{var t=new URLSearchParams(window.location.search);if(!e){var n,o={},a=function(e,r){var t="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!t){if(Array.isArray(e)||(t=s(e))||r){t&&(e=t);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,i=!0,l=!1;return{s:function(){t=t.call(e)},n:function(){var e=t.next();return i=e.done,e},e:function(e){l=!0,a=e},f:function(){try{i||null==t.return||t.return()}finally{if(l)throw a}}}}(t);try{for(a.s();!(n=a.n()).done;){var l=i(n.value,2),b=l[0],d=l[1];o[b]=d||!0}}catch(e){a.e(e)}finally{a.f()}return o}return t.has(e)?t.get(e)||!0:r}catch(e){return r}},ce.loremIpsum=function(e,r){var t=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],n="Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. ";"number"!=typeof e&&(e=Math.floor(125*Math.random())+25),void 0===r&&(r=Math.floor(446*Math.random())),r%=446;for(var o=0;" "===n[r]||/[.,:;!?]/.test(n[r]);)if(r=(r+1)%446,++o>=446){r=0,o=0;break}for(var a=n.substring(r)+n.substring(0,r),i="",l=e+o;l>0;)i+=l<a.length?a.substring(0,l):a,l-=a.length;if(i.length>e&&(i=i.substring(0,e))," "===i[i.length-1]&&(i=i.substring(0,i.length-1)+"."),t){var c=i[0].toUpperCase();i=(c=/[A-Z]/.test(c)?c:"L")+i.substring(1)}return i},ce.multiArray=function(e,r){r="number"==typeof r?[r]:r;var t=function(n){if(n>=r.length)return"function"===V(e)?e():e;for(var o=[],a=0;a<r[n];a++)o[a]=t(n+1);return o};return t(0)},ce.naturalCompare=function(e,r){if(isFinite(e)&&isFinite(r))return Math.sign(e-r);var t=String(e).toLowerCase(),n=String(r).toLowerCase();if(t===n)return e>r?1:0;if(!/\d/.test(t)||!/\d/.test(n))return t>n?1:-1;for(var o=t.match(/(\d+|\D+)/g)||[],a=n.match(/(\d+|\D+)/g)||[],i=Math.min(o.length,a.length),l=0;l<i;l++){var c=o[l],s=a[l];if(c!==s){if(/^\d+$/.test(c)&&/^\d+$/.test(s)){var b=c,d=s;return"0"===c[0]&&(b="0."+c),"0"===s[0]&&(d="0."+s),parseFloat(b)-parseFloat(d)}return c>s?1:-1}}return o.length-a.length},ce.setIntervalX=function(e,r,t){var n=0,o=setInterval(function(){e(n),++n>=t&&clearInterval(o)},r);return o},ce.repeatUntil=function(e,r,t){var n=arguments.length>4&&void 0!==arguments[4]?arguments[4]:10,o=arguments.length>5?arguments[5]:void 0;if("function"!=typeof e)return"err";var a=0,i=setInterval(function(){var l=e();a++,l?(clearInterval(i),r&&r(l),o&&o(!0,a)):a>=n?(clearInterval(i),t&&t(),o&&o(!1,a)):t&&t()},arguments.length>3&&void 0!==arguments[3]?arguments[3]:250);return i},function(e){e.saveClientFile=function(r,t){if(e.isNodeJS())e._getFs().then(function(e){e?e.writeFile(r,t,function(e){e&&console.error("Error saving file:",e)}):console.error("bw.saveClientFile: fs module not available")});else{var n=new Blob([t],{type:"application/octet-stream"}),o=window.URL.createObjectURL(n),a=e.create({t:"a",a:{href:o,download:r,style:"display: none"}});document.body.appendChild(a),a.click(),window.URL.revokeObjectURL(o),document.body.removeChild(a)}},e.saveClientJSON=function(r,t){e.saveClientFile(r,JSON.stringify(t,null,2))},e.loadClientFile=function(r,t,n){var o={parser:"raw"};n&&n.parser&&(o.parser=n.parser);var a="JSON"===o.parser?JSON.parse:function(e){return e};if(e.isNodeJS())e._getFs().then(function(e){e?e.readFile(r,"utf8",function(e,r){if(e)t(null,e);else try{t(a(r),null)}catch(e){t(null,e)}}):t(null,new Error("fs module not available"))});else{var i=new XMLHttpRequest;i.open("GET",r,!0),i.onreadystatechange=function(){if(4===i.readyState)if(i.status>=200&&i.status<300)try{t(a(i.responseText),null)}catch(e){t(null,e)}else t(null,new Error("HTTP "+i.status+": "+r))},i.send(null)}return"BW_OK"},e.loadClientJSON=function(r,t){return e.loadClientFile(r,t,{parser:"JSON"})},e.loadLocalFile=function(r,t){var n={parser:"raw",accept:""};t&&(t.parser&&(n.parser=t.parser),t.accept&&(n.accept=t.accept));var o="JSON"===n.parser?JSON.parse:function(e){return e};if(e.isNodeJS())r(null,"",new Error("bw.loadLocalFile is browser-only. Use bw.loadClientFile() in Node."));else{var a=e.create({t:"input",a:{type:"file",accept:n.accept,style:"display: none"}});a.addEventListener("change",function(){var e=a.files[0];if(e){var t=new FileReader;t.onload=function(t){try{r(o(t.target.result),e.name,null)}catch(t){r(null,e.name,t)}},t.onerror=function(){r(null,e.name,t.error)},t.readAsText(e),a.remove()}else r(null,"",new Error("No file selected"))}),document.body.appendChild(a),a.click()}},e.loadLocalJSON=function(r){e.loadLocalFile(r,{parser:"JSON",accept:".json"})}}(ce),ce.copyToClipboard=function(e){return navigator.clipboard&&navigator.clipboard.writeText?navigator.clipboard.writeText(e):new Promise(function(r,t){var n=ce.create({t:"textarea",a:{value:e,style:{position:"fixed",top:"-999px",left:"-999px",width:"2em",height:"2em",padding:0,border:"none",outline:"none",boxShadow:"none",background:"transparent"}}});document.body.appendChild(n),n.focus(),n.select();try{var o=document.execCommand("copy");document.body.removeChild(n),o?r():t(new Error("Copy command failed"))}catch(e){document.body.removeChild(n),t(e)}})},ce.makeTable=function(e){var r=e.data,t=void 0===r?[]:r,n=e.columns,o=e.className,a=void 0===o?"":o,i=e.striped,c=void 0!==i&&i,s=e.hover,b=void 0!==s&&s,d=e.sortable,u=void 0===d||d,_=e.onSort,p=e.sortColumn,f=e.sortDirection,m=void 0===f?"asc":f,w=e.selectable,g=void 0!==w&&w,h=e.onRowClick,v=e.rowKey,y=e.pageSize,x=e.currentPage,k=void 0===x?1:x,C=e.onPageChange,S="bw_bccl_table";c&&(S+=" bw_bccl_table_striped"),(b||g)&&(S+=" bw_bccl_table_hover"),g&&(S+=" bw_bccl_table_selectable"),a&&(S+=" "+a),S=S.trim();var j=n||(t.length>0?de(t[0]).map(function(e){return{key:e,label:e}}):[]),O=p||null,A=m,M=l(t);O&&M.sort(function(e,r){var t=e[O],n=r[O];if(_e(t,"number")&&_e(n,"number"))return"asc"===A?t-n:n-t;var o=String(t||"").toLowerCase(),a=String(n||"").toLowerCase();return"asc"===A?o.localeCompare(a):a.localeCompare(o)});var z=M.length,E=y?Math.max(1,Math.ceil(z/y)):1,L=Math.max(1,Math.min(k,E));if(y){var T=(L-1)*y;M=M.slice(T,T+y)}function U(e,r,t,n){var o=e.querySelector("tbody");if(o)if(n){for(var a={},i=o.querySelectorAll("tr"),l=0;l<i.length;l++){var c=i[l].getAttribute("data-row-key");null!==c&&(a[c]=i[l])}for(var s=e.ownerDocument.createDocumentFragment(),b=0;b<r.length;b++){var d=r[b],u=String(d[n]);if(a[u]){for(var _=a[u],p=_.querySelectorAll("td"),f=0;f<t.length;f++)if(p[f]){var m=t[f].render?t[f].render(d[t[f].key],d):String(d[t[f].key]||"");p[f].textContent!==m&&(p[f].textContent=m)}s.appendChild(_)}else{var w=e.ownerDocument.createElement("tr");w.setAttribute("data-row-key",u);for(var g=0;g<t.length;g++){var h=e.ownerDocument.createElement("td");h.textContent=t[g].render?t[g].render(d[t[g].key],d):String(d[t[g].key]||""),w.appendChild(h)}s.appendChild(w)}}for(;o.firstChild;)o.removeChild(o.firstChild);o.appendChild(s)}else{for(;o.firstChild;)o.removeChild(o.firstChild);for(var v=0;v<r.length;v++){for(var y=e.ownerDocument.createElement("tr"),x=0;x<t.length;x++){var k=e.ownerDocument.createElement("td");k.textContent=t[x].render?t[x].render(r[v][t[x].key],r[v]):String(r[v][t[x].key]||""),y.appendChild(k)}o.appendChild(y)}}}var I={t:"table",a:{class:S},c:[{t:"thead",c:{t:"tr",c:j.map(function(e){var r={scope:"col","data-col-key":e.key};return u&&(r.style={cursor:"pointer",userSelect:"none"}),O===e.key&&(r["aria-sort"]="asc"===A?"ascending":"descending"),{t:"th",a:r,c:[e.label,u&&O===e.key&&{t:"span",a:{style:{marginLeft:"5px"}},c:"asc"===A?"▲":"▼"}].filter(Boolean)}})}},{t:"tbody",c:M.map(function(e,r){var t=y?(L-1)*y+r:r,n={};return v&&void 0!==e[v]&&(n["data-row-key"]=String(e[v])),(g||h)&&(n.style="cursor:pointer;",n.onclick=function(r){g&&r.currentTarget.classList.toggle("bw_bccl_table_row_selected");h&&h(e,t,r)}),{t:"tr",a:n,c:j.map(function(r){return{t:"td",c:r.render?r.render(e[r.key],e):String(e[r.key]||"")}})}})}],o:{type:"table",state:{data:t,columns:j,sortColumn:O,sortDirection:A,rowKey:v},handle:{sort:function(e,r,t){var n=e._bw_state||{};t||(t=n.sortColumn===r&&"asc"===n.sortDirection?"desc":"asc"),n.sortColumn=r,n.sortDirection=t,function(e,r,t){for(var n=e.querySelectorAll("th[data-col-key]"),o=0;o<n.length;o++)n[o].removeAttribute("aria-sort");for(var a=0;a<n.length;a++)if(n[a].getAttribute("data-col-key")===r){n[a].setAttribute("aria-sort","asc"===t?"ascending":"descending");break}}(e,r,t);var o=n.data?l(n.data):[];o.sort(function(e,n){var o=e[r],a=n[r];if("number"==typeof o&&"number"==typeof a)return"asc"===t?o-a:a-o;var i=String(o||"").toLowerCase(),l=String(a||"").toLowerCase();return"asc"===t?i.localeCompare(l):l.localeCompare(i)}),U(e,o,n.columns||j,n.rowKey),_&&_(r,t)},update:function(e,r){if(r){var t=e._bw_state||{};r.data&&(t.data=r.data,U(e,r.data,t.columns||j,t.rowKey))}},setData:function(e,r){var t=e._bw_state||{};t.data=r,U(e,r,t.columns||j,t.rowKey)},getData:function(e){return e._bw_state&&e._bw_state.data||[]}}}};if(!y)return I;var N=[];return N.push({t:"button",a:{class:"bw_bccl_btn bw_bccl_btn_sm",disabled:L<=1?"disabled":void 0,onclick:L>1&&C?function(){C(L-1)}:void 0},c:"Prev"}),N.push({t:"span",a:{style:"margin:0 0.5rem;font-size:0.875rem;"},c:"Page "+L+" of "+E}),N.push({t:"button",a:{class:"bw_bccl_btn bw_bccl_btn_sm",disabled:L>=E?"disabled":void 0,onclick:L<E&&C?function(){C(L+1)}:void 0},c:"Next"}),{t:"div",a:{class:"bw_bccl_table_paginated"},c:[I,{t:"div",a:{class:"bw_bccl_table_pagination",style:"display:flex;align-items:center;justify-content:flex-end;padding:0.5rem 0;gap:0.25rem;"},c:N}]}},ce.makeTableFromArray=function(e){var r,t,n=e.data,i=void 0===n?[]:n,l=e.headerRow,c=void 0===l||l,s=e.columns,b=a(e,ie);if(!be(i)||0===i.length)return ce.makeTable(o({data:[],columns:s||[]},b));if(c&&i.length>0)r=i[0].map(function(e){return String(e)}),t=i.slice(1);else{var d=i[0].length;r=[];for(var u=0;u<d;u++)r.push("col"+u);t=i}var _=t.map(function(e){var t={};return r.forEach(function(r,n){t[r]=void 0!==e[n]?e[n]:""}),t}),p=s||r.map(function(e){return{key:e,label:e}});return ce.makeTable(o({data:_,columns:p},b))},ce.makeBarChart=function(e){var r=e.data,t=void 0===r?[]:r,n=e.labelKey,o=void 0===n?"label":n,a=e.valueKey,i=void 0===a?"value":a,l=e.title,c=e.color,s=void 0===c?"#006666":c,b=e.height,d=void 0===b?"200px":b,u=e.formatValue,_=e.showValues,p=void 0===_||_,f=e.showLabels,m=void 0===f||f,w=e.className,g=void 0===w?"":w;if(!be(t)||0===t.length)return{t:"div",a:{class:("bw_bar_chart_container "+g).trim()},c:""};var h=t.map(function(e){return Number(e[i])||0}),v=Math.max.apply(null,h),y=t.map(function(e,r){var t=h[r],n=v>0?t/v*100:0,a=u?u(t):String(t),i=[];return p&&i.push({t:"div",a:{class:"bw_bar_value"},c:a}),i.push({t:"div",a:{class:"bw_bar",style:"height:"+n+"%;background:"+s+";"}}),m&&i.push({t:"div",a:{class:"bw_bar_label"},c:String(e[o]||"")}),{t:"div",a:{class:"bw_bar_group"},c:i}}),x=[];return l&&x.push({t:"h3",a:{class:"bw_bar_chart_title"},c:l}),x.push({t:"div",a:{class:"bw_bar_chart",style:"height:"+d+";"},c:y}),{t:"div",a:{class:("bw_bar_chart_container "+g).trim()},c:x}},ce.makeDataTable=function(e){var r=e.title,t=e.data,n=e.columns,i=e.className,l=void 0===i?"":i,c=e.striped,s=void 0===c||c,b=e.hover,d=void 0===b||b,u=e.responsive,_=void 0===u||u,p=a(e,le),f=ce.makeTable(o({data:t,columns:n,className:l,striped:s,hover:d},p)),m=[];return r&&m.push({t:"h5",a:{class:"mb-3"},c:r}),_?m.push({t:"div",a:{class:"table-responsive"},c:f}):m.push(f),{t:"div",a:{class:"bw_bccl_dataTable table-container"},c:m}},ce.render=function(e,r,t){try{var n,o=_e(e,"string")?ce.$(e)[0]:e;if(!o)return{el:null,ok:!1,error:"target not found"};switch(r){case"append":n=ce.append(o,t);break;case"prepend":n=ce.append(o,t,{before:0});break;case"replace":n=ce.replace(o,t);break;case"before":if(!o.parentNode)return{el:null,ok:!1,error:"no parent for before"};n=ce.append(o.parentNode,t,{before:o});break;case"after":if(!o.parentNode)return{el:null,ok:!1,error:"no parent for after"};n=ce.append(o.parentNode,t,{before:o.nextSibling});break;default:return{el:null,ok:!1,error:"invalid position: "+r}}return{el:n,ok:!0,error:null}}catch(e){return{el:null,ok:!1,error:e.message}}},function(e){var r=null;e.router=function(t){if(!t||!t.routes)throw new Error("bw.router: config.routes is required");if(!e._isBrowser)throw new Error("bw.router: requires a browser environment");var n=t.mode||"hash",o=t.base||"/";o.length>1&&"/"===o.charAt(o.length-1)&&(o=o.substring(0,o.length-1));for(var a=t.target||null,i=[],l=Object.keys(t.routes),c=0;c<l.length;c++)i.push({pattern:l[c],handler:t.routes[l[c]]});var s="/",b=!1;function d(){if("hash"===n)return window.location.hash.replace(/^#/,"")||"/";var e=window.location.pathname;return"/"!==o&&0===e.indexOf(o)&&(e=e.substring(o.length)||"/"),e+(window.location.search||"")}function u(r,n){if(!b){var o=s,l=Q(r);if(t.before){var c=t.before(l,o);if(!1===c)return;"string"==typeof c&&(l=Q(c),r=c)}s=l;var d=re(i,r);if(d){var u=d.handler(d.params);null!=u&&a&&e.DOM(a,u)}var _=ee(r);e.pub("bw:route",{path:l,params:d?d.params:{},query:_,from:o}),t.after&&t.after(l,o)}}function _(){b||u(d())}function p(){b||u(d())}"hash"===n?window.addEventListener("hashchange",_):window.addEventListener("popstate",p),u(d());var f={navigate:function(e,r){if(!b)if(r=r||{},"hash"===n){if(r.replace){var t=window.location;t.replace(t.pathname+t.search+"#"+e)}else window.location.hash=e;Q(window.location.hash.replace(/^#/,"")||"/")===Q(e)&&u(e)}else{var a=("/"===o?"":o)+e;r.replace?window.history.replaceState(null,"",a):window.history.pushState(null,"",a),u(e)}},current:function(){var e=d(),r=re(i,e);return{path:s,params:r?r.params:{},query:ee(e)}},destroy:function(){b=!0,"hash"===n?window.removeEventListener("hashchange",_):window.removeEventListener("popstate",p),r===f&&(r=null)}};return r=f,f},e.navigate=function(e,t){r?r.navigate(e,t):"undefined"!=typeof console&&console.warn&&console.warn("bw.navigate: no active router")},e.link=function(t,n,o){var a={};if(o)for(var i=Object.keys(o),l=0;l<i.length;l++)a[i[l]]=o[i[l]];return a.href=r?"#"+t:t,a.onclick=function(r){r.preventDefault(),e.navigate(t)},{t:"a",a:a,c:n}},e._router={matchRoute:re,normalizePath:Q,parseQuery:ee,getActiveRouter:function(){return r},resetActiveRouter:function(){r=null}}}(ce),Object.entries(ae).forEach(function(e){var r=i(e,2),t=r[0],n=r[1];t.startsWith("make")&&(ce[t]=n)}),ce.make=oe,ce.BCCL=ne,ce.BCCL.table={make:ce.makeTable},ce.BCCL.tableFromArray={make:ce.makeTableFromArray},ce.BCCL.dataTable={make:ce.makeDataTable},ce.BCCL.barChart={make:ce.makeBarChart},ce.variantClass=te,ce.catalog=function(e){if(e){var r=ce.BCCL[e];return r?{type:e,factory:r.make.name||"make"+e.charAt(0).toUpperCase()+e.slice(1)}:null}return Object.keys(ce.BCCL).map(function(e){return{type:e,factory:ce.BCCL[e].make.name||"make"+e.charAt(0).toUpperCase()+e.slice(1)}})},ce._isBrowser&&"undefined"!=typeof window&&(window.__bitwrench&&console.warn("bitwrench: already loaded (v"+window.__bitwrench+"); loading v"+ce.version+" over it."),window.__bitwrench=ce.version,window.bw=ce),ce});
1
+ /*! bitwrench-lean v2.1.1 | BSD-2-Clause | https://deftio.github.io/bitwrench/pages */
2
+ !function(e,r){"object"==typeof exports&&"undefined"!=typeof module?module.exports=r():"function"==typeof define&&define.amd?define(r):(e="undefined"!=typeof globalThis?globalThis:e||self).bw=r()}(this,function(){"use strict";var e="undefined"!=typeof document?document.currentScript:null;function r(e,r){(null==r||r>e.length)&&(r=e.length);for(var t=0,n=Array(r);t<r;t++)n[t]=e[t];return n}function t(e,r,t){return(r=function(e){var r=function(e,r){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,r);if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===r?String:Number)(e)}(e,"string");return"symbol"==typeof r?r:r+""}(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function n(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),t.push.apply(t,n)}return t}function o(e){for(var r=1;r<arguments.length;r++){var o=null!=arguments[r]?arguments[r]:{};r%2?n(Object(o),!0).forEach(function(r){t(e,r,o[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):n(Object(o)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(o,r))})}return e}function a(e,r){if(null==e)return{};var t,n,o=function(e,r){if(null==e)return{};var t={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==r.indexOf(n))continue;t[n]=e[n]}return t}(e,r);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)t=a[n],-1===r.indexOf(t)&&{}.propertyIsEnumerable.call(e,t)&&(o[t]=e[t])}return o}function i(e,r){return function(e){if(Array.isArray(e))return e}(e)||function(e,r){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var n,o,a,i,l=[],c=!0,s=!1;try{if(a=(t=t.call(e)).next,0===r);else for(;!(c=(n=a.call(t)).done)&&(l.push(n.value),l.length!==r);c=!0);}catch(e){s=!0,o=e}finally{try{if(!c&&null!=t.return&&(i=t.return(),Object(i)!==i))return}finally{if(s)throw o}}return l}}(e,r)||s(e,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function l(e){return function(e){if(Array.isArray(e))return r(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||s(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function c(e){return c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},c(e)}function s(e,t){if(e){if("string"==typeof e)return r(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(e,t):void 0}}var b={version:"2.1.1",name:"bitwrench",license:"BSD-2-Clause",buildDate:"2026-07-15T12:53:25.643Z"};function d(e){return("0"+e.toString(16)).slice(-2)}function u(e,r,t){return Math.max(r,Math.min(t,e))}function _(e){var r="#"===e.charAt(0)?e.slice(1):e;return 3===r.length&&(r=r[0]+r[0]+r[1]+r[1]+r[2]+r[2]),[parseInt(r.slice(0,2),16),parseInt(r.slice(2,4),16),parseInt(r.slice(4,6),16)]}function p(e,r,t){e/=255,r/=255,t/=255;var n,o,a=Math.max(e,r,t),i=Math.min(e,r,t),l=(a+i)/2;if(a===i)n=o=0;else{var c=a-i;switch(o=l>.5?c/(2-a-i):c/(a+i),a){case e:n=((r-t)/c+(r<t?6:0))/6;break;case r:n=((t-e)/c+2)/6;break;case t:n=((e-r)/c+4)/6}}return[360*n,100*o,100*l]}function f(e,r,t){var n,o,a,i=e/360,l=r/100,c=t/100;if(0===l)n=o=a=255*c;else{var s=function(e,r,t){return t<0&&(t+=1),t>1&&(t-=1),t<1/6?e+6*(r-e)*t:t<.5?r:t<2/3?e+(r-e)*(2/3-t)*6:e},b=c<.5?c*(1+l):c+l-c*l,d=2*c-b;n=255*s(d,b,i+1/3),o=255*s(d,b,i),a=255*s(d,b,i-1/3)}return[Math.round(n),Math.round(o),Math.round(a)]}function m(e,r,t,n,o,a){var i=(e-r)/(t-r);a&&a.expScale&&1!==a.expScale&&(i=Math.pow(i,a.expScale));var l=i*(o-n)+n;return a&&a.clip&&(l=u(l,Math.min(n,o),Math.max(n,o))),l}function w(e,r,t,n,o){void 0===n&&(n=255),void 0===o&&(o=!0),Array.isArray(e)&&(r=e[1],t=e[2],n=void 0!==e[3]?e[3]:255,e=e[0]);var a=f(e,r,t);return o&&(n=Math.round(n)),[a[0],a[1],a[2],n,"rgb"]}function g(e,r){void 0===r&&(r=255);var t=[0,0,0,r,"rgb"];if(Array.isArray(e)){for(var n=[0,0,0,255,"rgb"],o=0;o<e.length&&o<n.length;o++)n[o]=e[o];return n}if("#"===(e=String(e).replace(/\s/g,""))[0]){var a=e.slice(1);if(3===a.length||4===a.length)for(var i=0;i<a.length;i++)t[i]=parseInt(a[i]+a[i],16);else if(6===a.length||8===a.length)for(var l=0;l<a.length;l+=2)t[l/2]=parseInt(a.substring(l,l+2),16)}else{var c=e.match(/^(rgb|hsl)a?\(([^)]+)\)$/i);if(c){var s=c[1].toLowerCase(),b=c[2].split(",").map(function(e){return parseFloat(e)});if("rgb"===s)t[0]=b[0]||0,t[1]=b[1]||0,t[2]=b[2]||0,t[3]=void 0!==b[3]?255*b[3]:r;else if("hsl"===s)return w(b[0]||0,b[1]||0,b[2]||0,void 0!==b[3]?255*b[3]:r)}}return t}function h(e){var r=_(e);return p(r[0],r[1],r[2])}function v(e){var r=f(e[0],e[1],e[2]);return"#"+d(r[0])+d(r[1])+d(r[2])}function y(e,r){var t=h(e);return t[2]=u(t[2]+r,0,100),v(t)}function x(e,r,t){var n=_(e),o=_(r),a=Math.round(n[0]+(o[0]-n[0])*t),i=Math.round(n[1]+(o[1]-n[1])*t),l=Math.round(n[2]+(o[2]-n[2])*t);return"#"+d(a)+d(i)+d(l)}function k(e){var r=_(e),t=[r[0]/255,r[1]/255,r[2]/255].map(function(e){return e<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4)});return.2126*t[0]+.7152*t[1]+.0722*t[2]}function C(e){return k(e)>.179?"#000":"#fff"}function S(e,r,t){if(void 0===t&&(t=.2),0===t)return e;var n=h(e),o=h(r)[0]-n[0];return o>180&&(o-=360),o<-180&&(o+=360),v([(n[0]+o*t+360)%360,n[1],n[2]])}function j(e){var r=_(e),t=h(e)[2]>75?y(e,-18):x(e,"#ffffff",.6);return{base:e,hover:y(e,-10),active:y(e,-15),light:x(e,"#ffffff",.85),darkText:y(e,-40),border:t,focus:"rgba("+r[0]+","+r[1]+","+r[2]+",0.25)",textOn:C(e)}}function O(e){var r,t,n=h(e),o=n[0],a=n[1],i=n[2];return i>50?(r=u(100-i-10,8,40),t=u(.85*a,0,100)):(r=u(100-i+10,60,92),t=u(1.1*a,0,100)),v([o,t,r])}function A(e){var r=k(e.primary);return e.secondary&&(r=(r+k(e.secondary))/2),e.tertiary&&(r=(2*r+k(e.tertiary))/3),r>.179}function M(e){var r={};r.primary=O(e.primary),r.secondary=O(e.secondary||e.primary),r.tertiary=e.tertiary?O(e.tertiary):r.primary;var t=h(e.primary),n=t[0];k(e.surface||v([n,8,96]))>.179?(r.light=v([n,Math.min(t[1],15),15]),r.dark=v([n,5,88]),r.surface=v([n,12,18]),r.background=v([n,10,14])):(r.light=v([n,Math.min(t[1],10),96]),r.dark=v([n,10,18]),r.surface=v([n,8,96]),r.background=v([n,6,98]));for(var o=void 0!==e.harmonize?e.harmonize:.2,a={success:"#198754",danger:"#dc3545",warning:"#f0ad4e",info:"#17a2b8"},i=["success","danger","warning","info"],l=0;l<i.length;l++){var c=i[l],s=S(e[c]||a[c],e.primary,o);r[c]=O(s)}return r.harmonize=0,r}function z(e){var r=void 0!==e.harmonize?e.harmonize:.2,t=e.primary,n=e.secondary||t,o=e.tertiary||t,a=h(t)[0],i=S(e.success||"#198754",t,r),l=S(e.danger||"#dc3545",t,r),c=S(e.warning||"#f0ad4e",t,r),s=S(e.info||"#17a2b8",t,r),b=e.light||v([a,8,97]),d=e.dark||v([a,10,13]),u=e.background||v([a,22,96]),_=e.surface||v([a,25,94]),p=h(_),f=p[2]<=50?v([p[0],p[1],Math.min(p[2]+8,100)]):v([p[0],p[1],Math.max(p[2]-3,0)]);return{primary:j(t),secondary:j(n),tertiary:j(o),success:j(i),danger:j(l),warning:j(c),info:j(s),light:j(b),dark:j(d),background:u,surface:_,surfaceAlt:f}}var E={1:"0.25rem",2:"0.5rem",3:"0.75rem",4:"1rem",5:"1.5rem",6:"2rem"},L={compact:{btn:E[1]+" "+E[3],card:E[3]+" "+E[4],alert:E[2]+" "+E[4],cell:E[2]+" "+E[3],input:E[1]+" "+E[3]},normal:{btn:E[2]+" "+E[4],card:E[5]+" "+E[5],alert:E[3]+" "+E[5],cell:E[3]+" "+E[4],input:E[2]+" "+E[3]},spacious:{btn:E[3]+" "+E[5],card:E[6]+" "+E[6],alert:E[4]+" "+E[5],cell:E[4]+" "+E[5],input:E[3]+" "+E[4]}},T={none:{btn:"0",card:"0",badge:"0",alert:"0",input:"0"},sm:{btn:"4px",card:"4px",badge:".25rem",alert:"4px",input:"4px"},md:{btn:"6px",card:"8px",badge:".375rem",alert:"8px",input:"6px"},lg:{btn:"10px",card:"12px",badge:".5rem",alert:"12px",input:"10px"},pill:{btn:"50rem",card:"1rem",badge:"50rem",alert:"1rem",input:"50rem"}},U={tight:1.125,normal:1.2,relaxed:1.25,dramatic:1.333};function I(e,r){return e||(e=16),r||(r=1.2),{xs:Math.round(e/(r*r)),sm:Math.round(e/r),base:e,lg:Math.round(e*r),xl:Math.round(e*r*r),"2xl":Math.round(e*Math.pow(r,3)),"3xl":Math.round(e*Math.pow(r,4)),"4xl":Math.round(e*Math.pow(r,5))}}var N={flat:{sm:"none",md:"none",lg:"none",xl:"none"},sm:{sm:"0 1px 2px rgba(0,0,0,0.05)",md:"0 1px 3px rgba(0,0,0,0.08)",lg:"0 2px 6px rgba(0,0,0,0.10)",xl:"0 4px 12px rgba(0,0,0,0.12)"},md:{sm:"0 1px 3px rgba(0,0,0,0.10), 0 1px 2px rgba(0,0,0,0.06)",md:"0 4px 6px rgba(0,0,0,0.10), 0 2px 4px rgba(0,0,0,0.06)",lg:"0 10px 15px rgba(0,0,0,0.12), 0 4px 6px rgba(0,0,0,0.08)",xl:"0 20px 25px rgba(0,0,0,0.15), 0 8px 10px rgba(0,0,0,0.10)"},lg:{sm:"0 2px 4px rgba(0,0,0,0.10)",md:"0 4px 12px rgba(0,0,0,0.16)",lg:"0 8px 24px rgba(0,0,0,0.22)",xl:"0 16px 48px rgba(0,0,0,0.28)"}},R={reduced:{fast:"0ms",normal:"0ms",slow:"0ms",easing:"linear"},standard:{fast:"100ms",normal:"200ms",slow:"300ms",easing:"ease-out"},expressive:{fast:"150ms",normal:"300ms",slow:"500ms",easing:"cubic-bezier(0.34, 1.56, 0.64, 1)"}},D={primary:"#006666",secondary:"#6c757d",tertiary:"#006666",success:"#198754",danger:"#dc3545",warning:"#b38600",info:"#0891b2",light:"#f8f9fa",dark:"#212529"},P=Object.fromEntries([["teal","#006666","#6c757d","#006666"],["ocean","#0077b6","#90e0ef","#00b4d8"],["sunset","#e76f51","#264653","#e9c46a"],["forest","#2d6a4f","#95d5b2","#52b788"],["slate","#343a40","#adb5bd","#6c757d"],["rose","#e11d48","#fda4af","#fb7185"],["indigo","#4f46e5","#a5b4fc","#818cf8"],["amber","#d97706","#fbbf24","#f59e0b"],["emerald","#059669","#6ee7b7","#34d399"],["nord","#5e81ac","#88c0d0","#81a1c1"],["coral","#ef6461","#4a7c7e","#e8a87c"],["midnight","#1e3a5f","#7c8db5","#3d5a80"]].map(function(e){return[e[0],{primary:e[1],secondary:e[2],tertiary:e[3]}]}));var B=function(e,r){return e?r.includes(",")?r.split(",").map(function(r){return"."+e+" "+r.trim()}).join(", "):"."+e+" "+r:r};function F(e,r,t){var n=r[t||"fast"];return e.split(",").map(function(e){return e.trim()+" "+n+" "+r.easing}).join(", ")}function q(e,r){return"0 0 0 "+(r||"0.25rem")+" "+e}function Y(e){return e.surface||"#fff"}function H(e,r,t){return Object.assign({},function(e,r){var t={},n=r.background||"#f5f5f5",o={color:r.dark.base,"background-color":n};return t[B(e,"body")]=o,t}(e,r),function(e,r,t){var n=t.motion,o={};return o[B(e,"a")]={color:r.primary.base,"text-decoration":"none",transition:F("color",n)},o[B(e,"a:hover")]={color:r.tertiary.hover,"text-decoration":"underline"},o}(e,r,t),function(e,r,t){var n={},o=t.spacing,a=t.radius;return n[B(e,".bw_bccl_btn")]={padding:o.btn,"border-radius":a.btn},n[B(e,".bw_bccl_btn:focus-visible")]={outline:"2px solid currentColor","outline-offset":"2px","box-shadow":q(r.primary.focus,"3px")},n[B(e,".bw_bccl_btn_lg")]={padding:"0.625rem 1.5rem","font-size":"1rem","border-radius":"50rem"===a.btn?"50rem":parseInt(a.btn)+2+"px"},n[B(e,".bw_bccl_btn_sm")]={padding:"0.25rem 0.75rem","font-size":"0.8125rem","border-radius":"50rem"===a.btn?"50rem":Math.max(parseInt(a.btn)-1,0)+"px"},n}(e,r,t),function(e,r,t){var n={},o=t.spacing,a=t.radius;return n[B(e,".bw_bccl_alert")]={padding:o.alert,"border-radius":a.alert},n}(e,0,t),function(e,r,t){var n={},o=t.spacing,a=t.radius,i=t.elevation,l=t.motion;return n[B(e,".bw_bccl_card")]={"background-color":Y(r),border:"1px solid "+r.light.border,"border-radius":a.card,"box-shadow":i.sm,transition:F("box-shadow,transform",l,"normal")},n[B(e,".bw_bccl_card:hover")]={"box-shadow":i.md},n[B(e,".bw_bccl_card_hoverable")]={transition:F("box-shadow,transform",l,"slow")},n[B(e,".bw_bccl_card_hoverable:hover")]={"box-shadow":i.lg},n[B(e,".bw_bccl_card_body")]={padding:o.card},n[B(e,".bw_bccl_card_header")]={padding:o.card.split(" ").map(function(e){return(.7*parseFloat(e)).toFixed(3).replace(/\.?0+$/,"")+"rem"}).join(" "),"background-color":r.surfaceAlt,"border-bottom":"1px solid "+r.light.border},n[B(e,".bw_bccl_card_footer")]={"background-color":r.surfaceAlt,"border-top":"1px solid "+r.light.border,color:r.secondary.base},n[B(e,".bw_bccl_card_title")]={color:r.dark.base},n[B(e,".bw_bccl_card_subtitle")]={color:r.secondary.base},n}(e,r,t),function(e,r,t){var n={},o=t.spacing,a=t.radius;return n[B(e,".bw_bccl_form_control")]={padding:o.input,"border-radius":a.input,color:r.dark.base,"background-color":Y(r),"border-color":r.light.border},n[B(e,".bw_bccl_form_control:focus")]={"border-color":r.primary.border,outline:"2px solid "+r.primary.base,"outline-offset":"-1px","box-shadow":q(r.primary.focus)},n[B(e,".bw_bccl_form_control::placeholder")]={color:r.secondary.base},n[B(e,".bw_bccl_form_label")]={color:r.dark.base},n[B(e,".bw_bccl_form_text")]={color:r.secondary.base},n[B(e,".bw_bccl_form_check_input:checked")]={"background-color":r.primary.base,"border-color":r.primary.base},n[B(e,".bw_bccl_form_check_input:focus")]={"box-shadow":q(r.primary.focus)},n[B(e,".bw_bccl_form_control.bw_is_valid")]={"border-color":r.success.base},n[B(e,".bw_bccl_form_control.bw_is_valid:focus")]={"border-color":r.success.base,"box-shadow":q(r.success.focus,"0.2rem")},n[B(e,".bw_bccl_form_control.bw_is_invalid")]={"border-color":r.danger.base},n[B(e,".bw_bccl_form_control.bw_is_invalid:focus")]={"border-color":r.danger.base,"box-shadow":q(r.danger.focus,"0.2rem")},n[B(e,".bw_bccl_form_select")]={padding:o.input,"border-radius":a.input,color:r.dark.base,"background-color":Y(r),"border-color":r.light.border},n[B(e,".bw_bccl_form_select:focus")]={"border-color":r.primary.border,"box-shadow":q(r.primary.focus)},n}(e,r,t),function(e,r,t){var n={};return n[B(e,".bw_bccl_navbar")]={"background-color":r.surfaceAlt,"border-bottom-color":r.light.border},n[B(e,".bw_bccl_navbar_brand")]={color:r.dark.base},n[B(e,".bw_bccl_navbar_nav .bw_nav_link")]={color:r.secondary.base,"border-radius":t.radius.btn,transition:F("color,background-color",t.motion)},n[B(e,".bw_bccl_navbar_nav .bw_nav_link:hover")]={color:r.tertiary.base,"background-color":r.surfaceAlt},n[B(e,".bw_bccl_navbar_nav .bw_nav_link.active")]={color:r.primary.base,"background-color":r.primary.focus,"font-weight":"600"},n[B(e,".bw_bccl_navbar_dark")]={"background-color":r.dark.base,"border-bottom-color":r.dark.hover},n[B(e,".bw_bccl_navbar_dark .bw_bccl_navbar_brand")]={color:r.light.base},n[B(e,".bw_bccl_navbar_dark .bw_nav_link")]={color:r.light.border},n[B(e,".bw_bccl_navbar_dark .bw_nav_link:hover")]={color:r.light.base},n[B(e,".bw_bccl_navbar_dark .bw_nav_link.active")]={color:r.light.base,"font-weight":"600"},n[B(e,".bw_nav_pills .bw_nav_link.active")]={color:r.primary.textOn,"background-color":r.primary.base},n}(e,r,t),function(e,r,t){var n={},o=t.spacing;return n[B(e,".bw_bccl_table")]={color:r.dark.base,"border-color":r.light.border},n[B(e,".bw_bccl_table > :not(caption) > * > *")]={padding:o.cell,"border-bottom-color":r.light.border},n[B(e,".bw_bccl_table > thead > tr > *")]={color:r.secondary.base,"border-bottom-color":r.light.border,"background-color":r.surfaceAlt},n[B(e,".bw_bccl_table_striped > tbody > tr:nth-of-type(odd) > *")]={"background-color":r.surfaceAlt},n[B(e,".bw_bccl_table_hover > tbody > tr:hover > *")]={"background-color":r.primary.focus},n[B(e,".bw_bccl_table_selectable > tbody > tr")]={cursor:"pointer"},n[B(e,".bw_bccl_table > tbody > tr.bw_bccl_table_row_selected > *")]={"background-color":r.primary.light},n[B(e,".bw_bccl_table_bordered")]={"border-color":r.light.border},n[B(e,".bw_bccl_table caption")]={color:r.secondary.base},n}(e,r,t),function(e,r,t){var n={},o=t.motion;return n[B(e,".bw_nav_tabs")]={"border-bottom-color":r.light.border},n[B(e,".bw_nav_link")]={color:r.secondary.base,transition:F("color,border-color,background-color",o)},n[B(e,".bw_nav_tabs .bw_nav_link:hover")]={color:r.tertiary.base,"background-color":r.surfaceAlt,"border-bottom-color":r.light.border},n[B(e,".bw_nav_tabs .bw_nav_link.active")]={color:r.primary.base,"background-color":r.primary.focus,"border-bottom":"2px solid "+r.primary.base},n}(e,r,t),function(e,r,t){var n={},o=t.spacing,a=t.motion;return n[B(e,".bw_list_group_item")]={padding:o.cell,color:r.dark.base,"background-color":Y(r),"border-color":r.light.border,transition:F("color,background-color",a)},n[B(e,"a.bw_list_group_item:hover")]={"background-color":r.surfaceAlt,color:r.tertiary.base},n[B(e,".bw_list_group_item.active")]={color:r.primary.textOn,"background-color":r.primary.base,"border-color":r.primary.base},n[B(e,".bw_list_group_item.disabled")]={color:r.secondary.base,"background-color":Y(r)},n}(e,r,t),function(e,r,t){var n={},o=t.motion,a=t.radius;return n[B(e,".bw_page_item:first-child .bw_page_link")]={"border-top-left-radius":a.btn,"border-bottom-left-radius":a.btn},n[B(e,".bw_page_item:last-child .bw_page_link")]={"border-top-right-radius":a.btn,"border-bottom-right-radius":a.btn},n[B(e,".bw_page_link")]={color:r.primary.base,"background-color":Y(r),"border-color":r.light.border,transition:F("color,background-color",o)},n[B(e,".bw_page_link:hover")]={color:r.primary.hover,"background-color":r.surfaceAlt,"border-color":r.light.border},n[B(e,".bw_page_link:focus")]={outline:"2px solid "+r.primary.base,"outline-offset":"-2px"},n[B(e,".bw_page_item.bw_active .bw_page_link")]={color:r.primary.textOn,"background-color":r.primary.base,"border-color":r.primary.base},n[B(e,".bw_page_item.bw_disabled .bw_page_link")]={color:r.secondary.base,"background-color":Y(r),"border-color":r.light.border},n}(e,r,t),function(e,r,t){var n={},o=t.radius;return n[B(e,".bw_bccl_progress")]={"background-color":r.surfaceAlt,"border-radius":o.badge,"box-shadow":"inset 0 1px 2px rgba(0,0,0,.1)"},n[B(e,".bw_bccl_progress_bar")]={color:r.primary.textOn,"background-color":r.primary.base,"border-radius":"inherit","box-shadow":"inset 0 -1px 0 rgba(0,0,0,.15)"},n}(e,r,t),function(e,r,t){var n={},o=t.motion;return n[B(e,".bw_bccl_breadcrumb")]={"background-color":r.surfaceAlt,padding:"0.625rem 1rem","border-radius":t.radius.btn},n[B(e,".bw_bccl_breadcrumb_item + .bw_bccl_breadcrumb_item::before")]={color:r.secondary.base},n[B(e,".bw_bccl_breadcrumb_item a")]={color:r.tertiary.base,transition:F("color",o)},n[B(e,".bw_bccl_breadcrumb_item a:hover")]={color:r.tertiary.hover,"text-decoration":"underline"},n[B(e,".bw_bccl_breadcrumb_item.active")]={color:r.dark.base},n}(e,r,t),function(e,r){var t={};return t[B(e,".bw_close")]={color:r.dark.base,opacity:"0.5"},t[B(e,".bw_close:focus")]={"box-shadow":q(r.primary.focus)},t}(e,r),function(e,r){var t={};return t[B(e,".bw_section_subtitle")]={color:r.secondary.base},t[B(e,".bw_feature_description")]={color:r.secondary.base},t[B(e,".bw_cta_description")]={color:r.secondary.base},t}(e,r),function(e,r,t){var n={},o=t.radius;return n[B(e,".bw_bccl_accordion_item")]={"background-color":Y(r),"border-color":r.light.border},n[B(e,".bw_bccl_accordion_item:first-child")]={"border-top-left-radius":o.card,"border-top-right-radius":o.card},n[B(e,".bw_bccl_accordion_item:last-child")]={"border-bottom-left-radius":o.card,"border-bottom-right-radius":o.card},n[B(e,".bw_bccl_accordion_button")]={color:r.dark.base},n[B(e,".bw_bccl_accordion_button:not(.bw_collapsed)")]={color:r.primary.darkText,"background-color":r.primary.light,"border-left":"3px solid "+r.primary.base},n[B(e,".bw_bccl_accordion_button:hover")]={"background-color":r.surfaceAlt},n[B(e,".bw_bccl_accordion_button:not(.bw_collapsed):hover")]={"background-color":r.primary.base,color:r.primary.textOn},n[B(e,".bw_bccl_accordion_button:focus-visible")]={"box-shadow":q(r.primary.focus,"0.2rem")},n[B(e,".bw_bccl_accordion_body")]={"border-top":"1px solid "+r.light.border,"background-color":r.surfaceAlt},n}(e,r,t),function(e,r){var t={};return t[B(e,".bw_bccl_carousel")]={"background-color":r.surfaceAlt},t[B(e,".bw_bccl_carousel_indicator.active")]={"background-color":r.primary.base},t[B(e,".bw_bccl_carousel_control")]={"background-color":r.dark.base,color:r.dark.textOn,transition:"background-color 0.15s ease-out"},t[B(e,".bw_bccl_carousel_control:hover")]={"background-color":r.dark.hover},t[B(e,".bw_bccl_carousel_caption")]={background:"linear-gradient(transparent, "+r.dark.base+")",color:r.dark.textOn},t}(e,r),function(e,r,t){var n={},o=t.radius;return n[B(e,".bw_bccl_modal_content")]={"background-color":Y(r),"border-color":r.light.border,"border-radius":o.card,"box-shadow":t.elevation.lg},n[B(e,".bw_bccl_modal_header")]={"border-bottom-color":r.light.border},n[B(e,".bw_bccl_modal_footer")]={"border-top-color":r.light.border},n[B(e,".bw_bccl_modal_title")]={color:r.dark.base},n}(e,r,t),function(e,r,t){var n={},o=t.radius;return n[B(e,".bw_bccl_toast")]={"background-color":Y(r),"border-color":r.light.border,"border-radius":o.card,"box-shadow":t.elevation.lg},n[B(e,".bw_bccl_toast_header")]={"border-bottom-color":r.light.border},n}(e,r,t),function(e,r,t){var n={},o=t.radius;return n[B(e,".bw_bccl_dropdown_menu")]={"background-color":Y(r),"border-color":r.light.border,"border-radius":o.card,"box-shadow":t.elevation.md},n[B(e,".bw_bccl_dropdown_item")]={color:r.dark.base,transition:F("background-color",t.motion)},n[B(e,".bw_bccl_dropdown_item:hover")]={color:r.dark.hover,"background-color":r.surfaceAlt},n[B(e,".bw_bccl_dropdown_item.disabled")]={color:r.secondary.base},n[B(e,".bw_bccl_dropdown_divider")]={"border-top-color":r.light.border},n}(e,r,t),function(e,r){var t={};return t[B(e,".bw_bccl_form_switch .bw_switch_input")]={"background-color":r.secondary.base,"border-color":r.secondary.base},t[B(e,".bw_bccl_form_switch .bw_switch_input:checked")]={"background-color":r.primary.base,"border-color":r.primary.base},t[B(e,".bw_bccl_form_switch .bw_switch_input:focus")]={"box-shadow":q(r.primary.focus)},t[B(e,".bw_bccl_form_switch .bw_switch_input:focus-visible")]={"box-shadow":q(r.primary.focus),outline:"none"},t}(e,r),function(e,r){var t={};return t[B(e,".bw_skeleton")]={background:"linear-gradient(90deg, "+r.light.border+" 25%, "+r.surfaceAlt+" 37%, "+r.light.border+" 63%)"},t}(e,r),function(e,r,t){var n={},o=t.motion,a=t.elevation,i=t.radius;return n[B(e,".bw_stat_card")]={"background-color":Y(r),color:r.dark.base,border:"1px solid "+r.light.border,"border-radius":i.card,"box-shadow":a.sm,transition:F("box-shadow,transform",o)},n[B(e,".bw_stat_card:hover")]={"box-shadow":a.md},n[B(e,".bw_stat_change_up")]={color:r.success.base},n[B(e,".bw_stat_change_down")]={color:r.danger.base},n}(e,r,t),function(e,r){var t={};return t[B(e,".bw_bccl_timeline::before")]={"background-color":r.light.border},t[B(e,".bw_bccl_timeline_date")]={color:r.secondary.base},t}(e,r),function(e,r){var t={};return t[B(e,".bw_step_indicator")]={"background-color":r.surfaceAlt,border:"2px solid "+r.light.border,color:r.secondary.base},t[B(e,".bw_step + .bw_step::before")]={"background-color":r.light.border},t[B(e,".bw_step_active .bw_step_indicator")]={"background-color":r.primary.base,color:r.primary.textOn},t[B(e,".bw_step_active .bw_step_label")]={color:r.dark.base,"font-weight":"600"},t[B(e,".bw_step_completed .bw_step_indicator")]={"background-color":r.tertiary.base,color:r.tertiary.textOn},t[B(e,".bw_step_completed .bw_step_label")]={color:r.tertiary.base},t[B(e,".bw_step_completed + .bw_step::before")]={"background-color":r.tertiary.base},t}(e,r),function(e,r,t){var n={},o=t.radius;return n[B(e,".bw_chip_input")]={"border-color":r.light.border,"background-color":Y(r),color:r.dark.base,"border-radius":o.input},n[B(e,".bw_chip_input:focus-within")]={"border-color":r.primary.base,"box-shadow":q(r.primary.focus,"0.2rem")},n[B(e,".bw_chip")]={"background-color":r.surfaceAlt,color:r.dark.base},n[B(e,".bw_chip_remove:hover")]={color:r.danger.base,"background-color":r.danger.light},n}(e,r,t),function(e,r,t){var n={},o=t.motion;return n[B(e,".bw_file_upload")]={"border-color":r.light.border,"background-color":r.surfaceAlt,transition:F("border-color,background-color",o)},n[B(e,".bw_file_upload:hover")]={"border-color":r.primary.base,"background-color":r.primary.light},n[B(e,".bw_file_upload:focus")]={outline:"2px solid "+r.primary.base,"outline-offset":"2px"},n[B(e,".bw_file_upload.bw_file_upload_active")]={"border-color":r.primary.base,"background-color":r.primary.light,"border-style":"solid"},n}(e,r,t),function(e,r){var t={};return t[B(e,".bw_range")]={"background-color":r.light.border},t[B(e,".bw_range::-webkit-slider-thumb")]={"background-color":r.primary.base,"border-color":Y(r),"box-shadow":"0 1px 3px rgba(0,0,0,0.2)",transition:"background-color 0.15s ease-out, transform 0.15s ease-out"},t[B(e,".bw_range::-moz-range-thumb")]={"background-color":r.primary.base,"border-color":Y(r),"box-shadow":"0 1px 3px rgba(0,0,0,0.2)"},t}(e,r),function(e,r,t){var n={},o=t.motion;return n[B(e,".bw_search_input")]={"background-color":Y(r),color:r.dark.base},n[B(e,".bw_search_clear")]={transition:F("color,background-color",o)},n[B(e,".bw_search_clear:hover")]={color:r.dark.base},n}(e,r,t),function(e,r,t){var n={},o=t.spacing,a=t.radius,i=t.elevation,l=t.motion;return n[B(e,".bw_bccl_tooltip")]={"background-color":r.dark.base,color:r.dark.textOn,padding:o.input,"border-radius":a.badge,"box-shadow":i.md,transition:F("opacity,transform",l)},n}(e,r,t),function(e,r,t){var n={},o=t.spacing,a=t.radius,i=t.elevation,l=t.motion;return n[B(e,".bw_popover")]={"background-color":Y(r),color:r.dark.base,border:"1px solid "+r.light.border,"border-radius":a.card,"box-shadow":i.lg,transition:F("opacity,transform",l)},n[B(e,".bw_popover_header")]={"background-color":r.surfaceAlt,"border-bottom":"1px solid "+r.light.border,padding:o.input},n[B(e,".bw_popover_body")]={padding:o.card},n}(e,r,t),function(e,r,t){var n={},o=t.radius;return n[B(e,".bw_code_demo")]={"background-color":Y(r),color:r.dark.base,"border-radius":o.card},n[B(e,".bw_code_copy_btn_copied")]={background:r.success.base,color:r.success.textOn,"border-color":r.success.base},n[B(e,".bw_copy_btn:hover")]={background:"rgba(255,255,255,0.2)",color:"#fff"},n}(e,r,t),function(e,r,t){var n={},o=t.radius;return n[B(e,".bw_nav_pills .bw_nav_link")]={"border-radius":o.btn},n}(e,0,t),function(e,r){var t={};return Object.keys(r).forEach(function(n){if("object"===c(r[n])){var o=r[n];t[B(e,".bw_"+n)]={"background-color":o.base,color:o.textOn,"border-color":o.base},t[B(e,".bw_"+n+":hover")]={"background-color":o.hover,"border-color":o.active},t[B(e,".bw_"+n+":active")]={"background-color":o.active},t[B(e,".bw_"+n+":focus-visible")]={"box-shadow":"0 0 0 3px "+o.focus,outline:"none"},t[B(e,".bw_bccl_alert.bw_"+n)]={"background-color":o.light,color:o.darkText,"border-color":o.border},t[B(e,".bw_bccl_toast.bw_"+n)]={"background-color":"inherit",color:"inherit","border-left":"4px solid "+o.base},t[B(e,".bw_stat_card.bw_"+n)]={"background-color":"inherit",color:"inherit","border-left-color":o.base},t[B(e,".bw_bccl_card.bw_"+n)]={"background-color":"inherit",color:"inherit","border-left":"4px solid "+o.base},t[B(e,".bw_bccl_timeline_marker.bw_"+n)]={"box-shadow":"0 0 0 2px "+o.base},t[B(e,".bw_spinner_border.bw_"+n)]={"background-color":"transparent",color:o.base,"border-color":o.base,"border-right-color":"transparent"},t[B(e,".bw_spinner_border.bw_"+n+":hover")]={"background-color":"transparent","border-color":o.base,"border-right-color":"transparent"},t[B(e,".bw_spinner_grow.bw_"+n)]={"background-color":o.base,color:o.base},t[B(e,".bw_bccl_btn_outline.bw_"+n)]={"background-color":"transparent",color:o.base,"border-color":o.base},t[B(e,".bw_bccl_btn_outline.bw_"+n+":hover")]={"background-color":o.base,color:o.textOn},t[B(e,".bw_bccl_hero.bw_"+n)]={background:"linear-gradient(135deg, "+o.base+" 0%, "+o.hover+" 100%)",color:o.textOn},t[B(e,".bw_bccl_progress_bar.bw_"+n)]={color:o.textOn},t[B(e,".bw_bg_"+n)]={"background-color":o.base,color:o.textOn},t[B(e,".bw_text_"+n)]={color:o.base}}}),t[B(e,".bw_text_muted")]={color:r.secondary.base},t[B(e,".bw_bg_dark")]={"background-color":r.dark.base,color:r.dark.textOn},t[B(e,".bw_bg_light")]={"background-color":r.light.base,color:r.light.textOn},t[B(e,".bw_text_light")]={color:r.light.base},t[B(e,".bw_text_dark")]={color:r.dark.base},t}(e,r))}function J(e){for(var r={},t=1;t<=12;t++){var n=+(100*t/12).toFixed(6)+"%";r["."+e+"_"+t]={flex:"0 0 "+n,"max-width":n}}return r}var X={base:{"*":{"box-sizing":"border-box",margin:"0",padding:"0"},html:{"font-size":"16px","line-height":"1.5","-webkit-text-size-adjust":"100%","-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale"},body:{"font-family":'system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif',"font-size":"1rem","font-weight":"400","line-height":"1.6",margin:"0",padding:"0","-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale"},".bw_page":{"min-height":"100vh",display:"flex","flex-direction":"column"},".bw_page_content":{flex:"1",padding:"2rem 0"},main:{display:"block"},hr:{"box-sizing":"content-box",height:"0",overflow:"visible",margin:"1rem 0",border:"0"},"hr:not([size])":{height:"1px"}},typography:{"h1, h2, h3, h4, h5, h6":{"margin-top":"0","margin-bottom":".5rem","font-weight":"600","line-height":"1.25","letter-spacing":"-0.01em"},h1:{"font-size":"calc(1.375rem + 1.5vw)"},h2:{"font-size":"calc(1.325rem + .9vw)"},h3:{"font-size":"calc(1.3rem + .6vw)"},h4:{"font-size":"calc(1.275rem + .3vw)"},h5:{"font-size":"1.25rem"},h6:{"font-size":"1rem"},p:{"margin-top":"0","margin-bottom":"1rem"},small:{"font-size":"0.875rem"},a:{"text-decoration":"none"},".bw_display_4":{"font-size":"calc(1.475rem + 2.7vw)","font-weight":"300","line-height":"1.2"},".bw_lead":{"font-size":"1.25rem","font-weight":"300"},".bw_h5":{"font-size":"1.25rem"},".bw_h6":{"font-size":"1rem"}},grid:o({".bw_bccl_container":{width:"100%","padding-right":"0.75rem","padding-left":"0.75rem","margin-right":"auto","margin-left":"auto"},"@media (min-width: 576px)":{".bw_bccl_container":{"max-width":"540px"}},"@media (min-width: 768px)":{".bw_bccl_container":{"max-width":"720px"}},"@media (min-width: 992px)":{".bw_bccl_container":{"max-width":"960px"}},"@media (min-width: 1200px)":{".bw_bccl_container":{"max-width":"1140px"}},".bw_bccl_container_fluid":{width:"100%","padding-right":"0.75rem","padding-left":"0.75rem","margin-right":"auto","margin-left":"auto"},".bw_row":{display:"flex","flex-wrap":"wrap","margin-right":"calc(var(--bw_gutter_x, 0.75rem) * -0.5)","margin-left":"calc(var(--bw_gutter_x, 0.75rem) * -0.5)"},'.col, [class*="col-"]':{position:"relative",width:"100%","padding-right":"calc(var(--bw_gutter_x, 0.75rem) * 0.5)","padding-left":"calc(var(--bw_gutter_x, 0.75rem) * 0.5)"},".bw_col":{"flex-basis":"0","flex-grow":"1","max-width":"100%"}},J("bw_col")),buttons:{".bw_bccl_btn":{display:"inline-flex","align-items":"center","justify-content":"center","font-weight":"500","line-height":"1.5","text-align":"center","text-decoration":"none","vertical-align":"middle",cursor:"pointer","user-select":"none",border:"1px solid transparent","font-size":"0.875rem","font-family":"inherit",gap:"0.5rem"},".bw_bccl_btn:hover":{"text-decoration":"none",transform:"translateY(-1px)"},".bw_bccl_btn:active":{transform:"translateY(0)"},".bw_bccl_btn:focus-visible":{outline:"2px solid currentColor","outline-offset":"2px"},".bw_bccl_btn:disabled":{opacity:"0.5",cursor:"not-allowed","pointer-events":"none"},".bw_bccl_btn_block":{display:"block",width:"100%"}},cards:{".bw_bccl_card":{position:"relative",display:"flex","flex-direction":"column","min-width":"0",height:"100%","word-wrap":"break-word","background-clip":"border-box","margin-bottom":"1.5rem",overflow:"hidden"},".bw_bccl_card_body":{flex:"1 1 auto"},".bw_bccl_card_body > *:last-child":{"margin-bottom":"0"},".bw_bccl_card_title":{"margin-bottom":"0.5rem","font-size":"1.125rem","font-weight":"600","line-height":"1.3"},".bw_bccl_card_text":{"margin-bottom":"0","font-size":"0.9375rem","line-height":"1.6"},".bw_bccl_card_header":{"margin-bottom":"0","font-weight":"600","font-size":"0.875rem"},".bw_bccl_card_footer":{"font-size":"0.875rem"},".bw_bccl_card_hoverable":{},".bw_bccl_card_hoverable:hover":{transform:"translateY(-4px)"},".bw_bccl_card_img_top":{width:"100%"},".bw_bccl_card_img_bottom":{width:"100%"},".bw_bccl_card_img_left":{width:"40%","object-fit":"cover"},".bw_bccl_card_img_right":{width:"40%","object-fit":"cover"},".bw_bccl_card_subtitle, .card-subtitle":{"margin-top":"-0.25rem","margin-bottom":"0.5rem","font-size":"0.875rem"}},forms:{".bw_bccl_form_control":{display:"block",width:"100%","font-size":"0.9375rem","font-weight":"400","line-height":"1.5","background-clip":"padding-box",appearance:"none",border:"1px solid transparent","font-family":"inherit",transition:"border-color 0.15s ease-out, box-shadow 0.15s ease-out"},".bw_bccl_form_control:focus":{outline:"2px solid currentColor","outline-offset":"-1px"},".bw_bccl_form_control::placeholder":{opacity:"1"},".bw_bccl_form_label":{display:"block","margin-bottom":"0.375rem","font-size":"0.875rem","font-weight":"600"},".bw_bccl_form_group":{"margin-bottom":"1.25rem"},".bw_bccl_form_text":{"margin-top":"0.25rem","font-size":"0.8125rem"},"select.bw_bccl_form_control":{"padding-right":"2.25rem","background-image":"url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23666' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e\")","background-repeat":"no-repeat","background-position":"right 0.75rem center","background-size":"16px 12px"},"textarea.bw_bccl_form_control":{"min-height":"5rem",resize:"vertical"},".bw_valid_feedback":{display:"block","font-size":"0.875rem","margin-top":"0.25rem"},".bw_invalid_feedback":{display:"block","font-size":"0.875rem","margin-top":"0.25rem"}},formChecks:{".bw_bccl_form_check":{display:"flex","align-items":"center",gap:"0.5rem","min-height":"1.5rem","margin-bottom":"0.25rem"},".bw_bccl_form_check_input":{width:"1rem",height:"1rem",margin:"0",cursor:"pointer","flex-shrink":"0","border-radius":"0.25rem",appearance:"auto"},".bw_bccl_form_check_input:disabled":{opacity:"0.5",cursor:"not-allowed"},".bw_bccl_form_check_label":{cursor:"pointer","user-select":"none","font-size":"0.9375rem"}},navigation:{".bw_bccl_navbar":{position:"relative",display:"flex","flex-wrap":"wrap","align-items":"center","justify-content":"space-between",padding:"0.5rem 1.5rem"},".bw_bccl_navbar > .bw_bccl_container, .bw_bccl_navbar > .container":{display:"flex","flex-wrap":"wrap","align-items":"center","justify-content":"space-between"},".bw_bccl_navbar_brand":{display:"inline-flex","align-items":"center",gap:"0.5rem","padding-top":"0.25rem","padding-bottom":"0.25rem","margin-right":"1.5rem","font-size":"1.125rem","font-weight":"600","line-height":"inherit","white-space":"nowrap","text-decoration":"none"},".bw_bccl_navbar_nav":{display:"flex","flex-direction":"row","padding-left":"0","margin-bottom":"0","list-style":"none",gap:"0.25rem"},".bw_bccl_navbar_nav .bw_nav_link":{display:"block","text-decoration":"none","font-size":"0.875rem","font-weight":"500"}},tables:{".bw_bccl_table":{width:"100%","margin-bottom":"1.5rem","vertical-align":"top","border-collapse":"collapse","font-size":"0.9375rem","line-height":"1.5"},".bw_bccl_table > :not(caption) > * > *":{"background-color":"transparent","border-bottom-width":"1px","border-bottom-style":"solid"},".bw_bccl_table > tbody":{"vertical-align":"inherit"},".bw_bccl_table > thead":{"vertical-align":"bottom"},".bw_bccl_table > thead > tr > *":{"font-size":"0.8125rem","font-weight":"600","text-transform":"uppercase","letter-spacing":"0.04em","border-bottom-width":"2px"},".bw_bccl_table caption":{"font-size":"0.875rem","caption-side":"bottom"},".bw_bccl_table_bordered > :not(caption) > * > *":{"border-width":"1px","border-style":"solid"},".bw_bccl_table_selectable > tbody > tr":{cursor:"pointer"},".bw_bccl_table > tbody > tr.bw_bccl_table_row_selected > *":{"background-color":"rgba(0, 102, 102, 0.1)"},".bw_bccl_table_responsive":{"overflow-x":"auto","-webkit-overflow-scrolling":"touch"}},alerts:{".bw_bccl_alert":{position:"relative","margin-bottom":"1rem",border:"1px solid transparent","font-size":"0.9375rem","line-height":"1.6"},".bw_bccl_alert_heading, .alert-heading":{color:"inherit"},".bw_bccl_alert_link, .alert-link":{"font-weight":"700"},".bw_bccl_alert_dismissible":{"padding-right":"3rem"},".bw_bccl_alert_dismissible .btn-close":{position:"absolute",top:"0",right:"0","z-index":"2",padding:"1.25rem 1rem"}},badges:{".bw_bccl_badge":{display:"inline-block","font-size":"0.875rem","font-weight":"600","line-height":"1.3","text-align":"center","white-space":"nowrap","vertical-align":"baseline",padding:"0.35rem 0.65rem","border-radius":"0.25rem"},".bw_bccl_badge:empty":{display:"none"},".bw_bccl_badge_sm":{"font-size":"0.75rem",padding:"0.25rem 0.5rem"},".bw_bccl_badge_lg":{"font-size":"1rem",padding:"0.5rem 0.875rem"},".bw_bccl_badge_pill":{"border-radius":"50rem"},".btn .badge":{position:"relative",top:"-1px"}},progress:{".bw_bccl_progress":{display:"flex",height:"1.25rem",overflow:"hidden","font-size":".875rem"},".bw_bccl_progress_bar":{display:"flex","flex-direction":"column","justify-content":"center",overflow:"hidden","text-align":"center","white-space":"nowrap","font-weight":"600"},".bw_bccl_progress_bar_striped":{"background-image":"linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent)","background-size":"1rem 1rem"},".bw_bccl_progress_bar_animated":{animation:"progress-bar-stripes 1s linear infinite"},"@keyframes progress-bar-stripes":{"0%":{"background-position-x":"1rem"}}},tabs:{".bw_nav":{display:"flex","flex-wrap":"wrap","padding-left":"0","margin-bottom":"0","list-style":"none",gap:"0"},".bw_nav_item":{display:"block"},".bw_nav_tabs .bw_nav_item":{"margin-bottom":"-2px"},".bw_nav_link":{display:"block","font-size":"0.875rem","font-weight":"500",padding:"0.625rem 1rem","text-decoration":"none",cursor:"pointer",border:"none",background:"transparent","font-family":"inherit"},".bw_nav_link:focus-visible":{outline:"2px solid currentColor","outline-offset":"-2px"},".bw_nav_tabs .bw_nav_link":{border:"none","border-bottom":"2px solid transparent","border-radius":"0","background-color":"transparent"},".bw_nav_vertical":{"flex-direction":"column"},".bw_bccl_tab_content":{padding:"1.25rem 0"},".bw_bccl_tab_pane":{display:"none"},".bw_bccl_tab_pane.active":{display:"block"},".bw_nav_scrollable":{"flex-wrap":"nowrap","overflow-x":"auto","-webkit-overflow-scrolling":"touch","scrollbar-width":"none"},".bw_nav_scrollable::-webkit-scrollbar":{display:"none"},".bw_nav_scrollable .bw_nav_link":{"white-space":"nowrap"}},listGroups:{".bw_list_group":{display:"flex","flex-direction":"column","padding-left":"0","margin-bottom":"0"},".bw_list_group_item":{position:"relative",display:"block","text-decoration":"none","font-size":"0.9375rem"},".bw_list_group_item:first-child":{"border-top-left-radius":"inherit","border-top-right-radius":"inherit"},".bw_list_group_item:last-child":{"border-bottom-right-radius":"inherit","border-bottom-left-radius":"inherit"},".bw_list_group_item + .bw_list_group_item":{"border-top-width":"0"},".bw_list_group_item.disabled":{"pointer-events":"none"},"a.bw_list_group_item":{cursor:"pointer"},"a.bw_list_group_item:focus-visible, .bw_list_group_item:focus-visible":{"z-index":"2",outline:"2px solid currentColor","outline-offset":"-2px"},".bw_list_group_flush":{"border-radius":"0"},".bw_list_group_flush > .bw_list_group_item":{"border-width":"0 0 1px","border-radius":"0"},".bw_list_group_flush > .bw_list_group_item:last-child":{"border-bottom-width":"0"}},pagination:{".bw_bccl_pagination":{display:"flex","padding-left":"0","list-style":"none","margin-bottom":"0"},".bw_page_item":{display:"list-item","list-style":"none"},".bw_page_link":{position:"relative",display:"block",padding:"0.375rem 0.75rem","margin-left":"-1px","line-height":"1.25","text-decoration":"none",border:"1px solid transparent",cursor:"pointer","font-family":"inherit","font-size":"inherit",background:"none"},".bw_page_item:first-child .bw_page_link":{"margin-left":"0"},".bw_page_link:focus-visible":{"z-index":"3",outline:"2px solid currentColor","outline-offset":"-2px"}},breadcrumb:{".bw_bccl_breadcrumb":{display:"flex","flex-wrap":"wrap",padding:"0 0","margin-bottom":"1rem","list-style":"none"},".bw_bccl_breadcrumb_item":{display:"flex"},".bw_bccl_breadcrumb_item + .bw_bccl_breadcrumb_item":{"padding-left":"0.5rem"},".bw_bccl_breadcrumb_item + .bw_bccl_breadcrumb_item::before":{float:"left","padding-right":"0.5rem",content:'"/"'},".bw_bccl_breadcrumb_item a":{"text-decoration":"none"},".bw_bccl_breadcrumb_item.active":{"font-weight":"500"}},hero:{".bw_bccl_hero":{position:"relative",overflow:"hidden"},".bw_bccl_hero_overlay":{position:"absolute",top:"0",left:"0",right:"0",bottom:"0","z-index":"1"},".bw_bccl_hero_content":{position:"relative","z-index":"2"},".bw_bccl_hero_title":{"font-weight":"300","letter-spacing":"-0.05rem",color:"inherit"},".bw_bccl_hero_subtitle":{color:"inherit"},".bw_bccl_hero_actions":{display:"flex",gap:"1rem","justify-content":"center","flex-wrap":"wrap"}},features:{".bw_feature":{padding:"1rem"},".bw_feature_icon":{display:"inline-block","margin-bottom":"1rem"},".bw_feature_title":{"margin-bottom":"0.5rem"},".bw_feature_grid":{width:"100%"},".bw_g_4":{"--bw_gutter_x":"1.5rem","--bw_gutter_y":"1.5rem"}},sections:{".bw_section":{position:"relative"},".bw_section_header":{"margin-bottom":"3rem"},".bw_section_title":{"margin-bottom":"1rem","font-weight":"300","font-size":"calc(1.325rem + .9vw)"}},cta:{".bw_cta":{position:"relative"},".bw_cta_content":{"max-width":"48rem",margin:"0 auto"},".bw_cta_title":{"font-weight":"300"},".bw_cta_actions":{display:"flex",gap:"1rem","justify-content":"center","flex-wrap":"wrap"}},spinner:{".bw_spinner_border":{display:"inline-block",width:"2rem",height:"2rem","vertical-align":"-0.125em",border:"0.25em solid currentcolor","border-right-color":"transparent","border-radius":"50%",animation:"bw_spinner_border 0.75s linear infinite"},".bw_spinner_border_sm":{width:"1rem",height:"1rem","border-width":"0.2em"},".bw_spinner_border_lg":{width:"3rem",height:"3rem","border-width":"0.3em"},".bw_spinner_border_md":{},".bw_spinner_grow":{display:"inline-block",width:"2rem",height:"2rem","vertical-align":"-0.125em","border-radius":"50%",opacity:"0",animation:"bw_spinner_grow 0.75s linear infinite"},".bw_spinner_grow_sm":{width:"1rem",height:"1rem"},".bw_spinner_grow_lg":{width:"3rem",height:"3rem"},".bw_spinner_grow_md":{},"@keyframes bw_spinner_border":{"100%":{transform:"rotate(360deg)"}},"@keyframes bw_spinner_grow":{"0%":{transform:"scale(0)"},"50%":{opacity:"1",transform:"none"}},".bw_visually_hidden":{position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",clip:"rect(0, 0, 0, 0)","white-space":"nowrap",border:"0"}},closeButton:{".bw_close":{display:"inline-flex","align-items":"center","justify-content":"center",width:"1.5rem",height:"1.5rem",padding:"0","font-size":"1.25rem","font-weight":"700","line-height":"1",background:"transparent",border:"0","border-radius":"0.25rem",cursor:"pointer",transition:"opacity 0.15s ease-out"},".bw_close:hover":{opacity:"0.75"},".bw_close:focus-visible":{outline:"2px solid currentColor","outline-offset":"2px"}},stacks:{".bw_vstack":{display:"flex","flex-direction":"column"},".bw_hstack":{display:"flex","flex-direction":"row","align-items":"center"},".bw_gap_0":{gap:"0"},".bw_gap_1":{gap:"0.25rem"},".bw_gap_2":{gap:"0.5rem"},".bw_gap_3":{gap:"1rem"},".bw_gap_4":{gap:"1.5rem"},".bw_gap_5":{gap:"3rem"}},offsets:{".bw_offset_1":{"margin-left":"8.333333%"},".bw_offset_2":{"margin-left":"16.666667%"},".bw_offset_3":{"margin-left":"25%"},".bw_offset_4":{"margin-left":"33.333333%"},".bw_offset_5":{"margin-left":"41.666667%"},".bw_offset_6":{"margin-left":"50%"},".bw_offset_7":{"margin-left":"58.333333%"},".bw_offset_8":{"margin-left":"66.666667%"},".bw_offset_9":{"margin-left":"75%"},".bw_offset_10":{"margin-left":"83.333333%"},".bw_offset_11":{"margin-left":"91.666667%"}},codeDemo:{".bw_code_demo":{"margin-bottom":"2rem"},".bw_code_pre":{margin:"0",border:"none","overflow-x":"auto","max-width":"100%"},".bw_code_block":{display:"block",padding:"1.25rem","font-family":'"SF Mono", Monaco, "Cascadia Code", "Roboto Mono", Consolas, "Courier New", monospace',"font-size":"0.8125rem","line-height":"1.6"},".bw_code_copy_btn":{position:"absolute",top:"0.5rem",right:"0.5rem",padding:"0.25rem 0.625rem","font-size":"0.6875rem",cursor:"pointer","font-family":"inherit"},".bw_copy_btn":{position:"absolute",top:"0.5rem",right:"0.5rem",padding:"0.25rem 0.625rem","font-size":"0.6875rem",cursor:"pointer","font-family":"inherit"}},buttonGroup:{".bw_bccl_btn_group, .bw_bccl_btn_group_vertical":{position:"relative",display:"inline-flex","vertical-align":"middle"},".bw_bccl_btn_group > .bw_bccl_btn, .bw_bccl_btn_group_vertical > .bw_bccl_btn":{position:"relative",flex:"1 1 auto","border-radius":"0","margin-left":"-1px"},".bw_bccl_btn_group > .bw_bccl_btn:first-child":{"margin-left":"0"},".bw_bccl_btn_group > .bw_bccl_btn:last-child":{},".bw_bccl_btn_group_lg > .bw_bccl_btn":{padding:"0.625rem 1.5rem","font-size":"1rem"},".bw_bccl_btn_group_sm > .bw_bccl_btn":{padding:"0.25rem 0.75rem","font-size":"0.8125rem"},".bw_bccl_btn_group_vertical":{"flex-direction":"column","align-items":"flex-start","justify-content":"center"},".bw_bccl_btn_group_vertical > .bw_bccl_btn":{width:"100%","margin-left":"0","margin-top":"-1px"},".bw_bccl_btn_group_vertical > .bw_bccl_btn:first-child":{"margin-top":"0"},".bw_bccl_btn_group_vertical > .bw_bccl_btn:last-child":{}},accordion:{".bw_bccl_accordion":{overflow:"hidden"},".bw_bccl_accordion_item":{border:"1px solid transparent"},".bw_bccl_accordion_item + .bw_bccl_accordion_item":{"border-top":"0"},".bw_bccl_accordion_header":{margin:"0"},".bw_bccl_accordion_button":{position:"relative",display:"flex","align-items":"center",width:"100%",padding:"0.875rem 1.25rem","font-size":"1rem","font-weight":"500","text-align":"left","background-color":"transparent",border:"0","overflow-anchor":"none",cursor:"pointer","font-family":"inherit"},".bw_bccl_accordion_button::after":{"flex-shrink":"0",width:"1.25rem",height:"1.25rem","margin-left":"auto",content:'""',"background-image":"url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23212529'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e\")","background-repeat":"no-repeat","background-size":"1.25rem",transition:"transform 0.2s ease-out"},".bw_bccl_accordion_button:not(.bw_collapsed)::after":{transform:"rotate(-180deg)"},".bw_bccl_accordion_body":{padding:"1rem 1.25rem"},".bw_bccl_accordion_collapse":{"max-height":"0",overflow:"hidden",transition:"max-height 0.3s ease"},".bw_bccl_accordion_collapse.bw_collapse_show":{"max-height":"none"}},carousel:{".bw_bccl_carousel":{position:"relative",overflow:"hidden"},".bw_bccl_carousel_track":{display:"flex",height:"100%"},".bw_bccl_carousel_slide":{"min-width":"100%","flex-shrink":"0",overflow:"hidden",position:"relative",display:"flex","align-items":"center","justify-content":"center"},".bw_bccl_carousel_slide img":{width:"100%",height:"100%","object-fit":"cover"},".bw_bccl_carousel_caption":{position:"absolute",bottom:"0",left:"0",right:"0",padding:"0.75rem 1rem","font-size":"0.875rem"},".bw_bccl_carousel_control":{position:"absolute",top:"50%",transform:"translateY(-50%)",width:"40px",height:"40px",border:"none","border-radius":"50%",cursor:"pointer",display:"flex","align-items":"center","justify-content":"center","z-index":"2",padding:"0"},".bw_bccl_carousel_control img":{width:"20px",height:"20px","pointer-events":"none"},".bw_bccl_carousel_control:focus-visible":{outline:"2px solid currentColor","outline-offset":"2px"},".bw_bccl_carousel_control_prev":{left:"10px"},".bw_bccl_carousel_control_next":{right:"10px"},".bw_bccl_carousel_indicators":{position:"absolute",bottom:"12px",left:"50%",transform:"translateX(-50%)",display:"flex",gap:"6px","z-index":"2"},".bw_bccl_carousel_indicator":{width:"10px",height:"10px","border-radius":"50%",border:"2px solid transparent",padding:"0",cursor:"pointer"},".bw_bccl_carousel_indicator:hover":{opacity:"0.8"}},modal:{".bw_bccl_modal":{display:"flex","align-items":"center","justify-content":"center",position:"fixed",top:"0",left:"0",width:"100%",height:"100%","z-index":"1050","overflow-x":"hidden","overflow-y":"auto",opacity:"0",visibility:"hidden","pointer-events":"none",transition:"opacity 0.2s ease-out, visibility 0.2s ease-out"},".bw_bccl_modal.bw_bccl_modal_show":{opacity:"1",visibility:"visible","pointer-events":"auto"},".bw_bccl_modal_dialog":{position:"relative",width:"calc(100% - 1rem)","max-width":"500px",margin:"1.75rem auto","pointer-events":"none",transform:"translateY(-16px)",transition:"transform 0.2s ease-out"},".bw_bccl_modal.bw_bccl_modal_show .bw_bccl_modal_dialog":{transform:"translateY(0)"},".bw_bccl_modal_sm":{"max-width":"300px"},".bw_bccl_modal_lg":{"max-width":"800px"},".bw_bccl_modal_xl":{"max-width":"1140px"},".bw_bccl_modal_content":{position:"relative",display:"flex","flex-direction":"column","pointer-events":"auto","background-clip":"padding-box",border:"1px solid transparent",outline:"0"},".bw_bccl_modal_header":{display:"flex","align-items":"center","justify-content":"space-between",padding:"1rem 1.25rem","border-bottom":"1px solid transparent"},".bw_bccl_modal_title":{margin:"0","font-size":"1.25rem","font-weight":"600","line-height":"1.3"},".bw_bccl_modal_body":{position:"relative",flex:"1 1 auto",padding:"1rem 1.25rem"},".bw_bccl_modal_footer":{display:"flex","flex-wrap":"wrap","align-items":"center","justify-content":"flex-end",gap:"0.5rem",padding:"0.75rem 1.25rem","border-top":"1px solid transparent"}},toast:{".bw_bccl_toast_container":{position:"fixed","z-index":"1080","pointer-events":"none",display:"flex","flex-direction":"column",gap:"0.5rem",padding:"1rem"},".bw_bccl_toast_container.bw_bccl_toast_top_right":{top:"0",right:"0"},".bw_bccl_toast_container.bw_bccl_toast_top_left":{top:"0",left:"0"},".bw_bccl_toast_container.bw_bccl_toast_bottom_right":{bottom:"0",right:"0"},".bw_bccl_toast_container.bw_bccl_toast_bottom_left":{bottom:"0",left:"0"},".bw_bccl_toast_container.bw_bccl_toast_top_center":{top:"0",left:"50%",transform:"translateX(-50%)"},".bw_bccl_toast_container.bw_bccl_toast_bottom_center":{bottom:"0",left:"50%",transform:"translateX(-50%)"},".bw_bccl_toast":{"pointer-events":"auto",width:"350px","max-width":"calc(100vw - 2rem)","background-clip":"padding-box",opacity:"0",transform:"translateY(-8px)",transition:"opacity 0.2s ease-out, transform 0.2s ease-out"},".bw_bccl_toast.bw_bccl_toast_show":{opacity:"1",transform:"translateY(0)"},".bw_bccl_toast.bw_bccl_toast_hiding":{opacity:"0",transform:"translateY(-8px)"},".bw_bccl_toast_header":{display:"flex","align-items":"center","justify-content":"space-between",padding:"0.5rem 0.75rem","font-size":"0.875rem","border-bottom":"1px solid transparent"},".bw_bccl_toast_body":{padding:"0.5rem 0.75rem","font-size":"0.9375rem"}},dropdown:{".bw_bccl_dropdown":{position:"relative",display:"inline-block"},".bw_bccl_dropdown_toggle::after":{display:"inline-block","margin-left":"0.255em","vertical-align":"0.255em",content:'""',"border-top":"0.3em solid","border-right":"0.3em solid transparent","border-bottom":"0","border-left":"0.3em solid transparent"},".bw_bccl_dropdown_menu":{position:"absolute",top:"100%",left:"0","z-index":"1000",display:"block","min-width":"10rem",padding:"0.5rem 0",margin:"0.125rem 0 0","background-clip":"padding-box",border:"1px solid transparent",opacity:"0",visibility:"hidden","pointer-events":"none",transform:"translateY(-4px)",transition:"opacity 0.15s ease-out, transform 0.15s ease-out, visibility 0.15s ease-out"},".bw_bccl_dropdown_menu.bw_bccl_dropdown_show":{opacity:"1",visibility:"visible","pointer-events":"auto",transform:"translateY(0)"},".bw_bccl_dropdown_menu_end":{left:"auto",right:"0"},".bw_bccl_dropdown_item":{display:"block",width:"100%",padding:"0.4rem 1rem",clear:"both","font-weight":"400","text-align":"inherit","text-decoration":"none","white-space":"nowrap","background-color":"transparent",border:"0","font-size":"0.9375rem",cursor:"pointer"},".bw_bccl_dropdown_item:focus-visible":{outline:"2px solid currentColor","outline-offset":"-2px"},".bw_bccl_dropdown_divider":{height:"0",margin:"0.5rem 0",overflow:"hidden",opacity:"1"}},formSwitch:{".bw_bccl_form_switch":{"padding-left":"2.5em"},".bw_bccl_form_switch .bw_switch_input":{width:"2em",height:"1.125em","margin-left":"-2.5em","border-radius":"2em",appearance:"none","background-image":"url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='rgba(255,255,255,1)'/%3e%3c/svg%3e\")","background-position":"left center","background-repeat":"no-repeat","background-size":"contain",cursor:"pointer",transition:"background-color 0.15s ease-out, background-position 0.15s ease-out, border-color 0.15s ease-out"},".bw_bccl_form_switch .bw_switch_input:checked":{"background-position":"right center"},".bw_bccl_form_switch .bw_switch_input:disabled":{opacity:"0.5",cursor:"not-allowed"}},skeleton:{".bw_skeleton":{"background-size":"400% 100%",animation:"bw_skeleton_shimmer 1.4s ease infinite"},".bw_skeleton_text":{height:"1em","margin-bottom":"0.5rem"},".bw_skeleton_circle":{"border-radius":"50%"},".bw_skeleton_rect":{},".bw_skeleton_group":{display:"flex","flex-direction":"column"},"@keyframes bw_skeleton_shimmer":{"0%":{"background-position":"100% 50%"},"100%":{"background-position":"0 50%"}}},avatar:{".bw_avatar":{display:"inline-flex","align-items":"center","justify-content":"center","border-radius":"50%",overflow:"hidden","font-weight":"600","text-transform":"uppercase","vertical-align":"middle","object-fit":"cover"},".bw_avatar_sm":{width:"2rem",height:"2rem","font-size":"0.75rem"},".bw_avatar_md":{width:"3rem",height:"3rem","font-size":"1rem"},".bw_avatar_lg":{width:"4rem",height:"4rem","font-size":"1.25rem"},".bw_avatar_xl":{width:"5rem",height:"5rem","font-size":"1.5rem"}},statCard:{".bw_stat_card":{padding:"1.25rem","border-left":"4px solid transparent","background-color":"inherit"},".bw_stat_card:hover":{transform:"translateY(-1px)"},".bw_stat_icon":{"font-size":"1.5rem","margin-bottom":"0.5rem"},".bw_stat_value":{"font-size":"2rem","font-weight":"700","line-height":"1.2"},".bw_stat_label":{"font-size":"0.875rem","margin-top":"0.25rem"},".bw_stat_change":{"font-size":"0.875rem","font-weight":"500","margin-top":"0.5rem"}},tooltip:{".bw_bccl_tooltip_wrapper":{position:"relative",display:"inline-block"},".bw_bccl_tooltip":{position:"absolute","z-index":"999","font-size":"0.875rem","white-space":"nowrap","max-width":"min(300px, calc(100vw - 1rem))","pointer-events":"none",opacity:"0",visibility:"hidden"},".bw_bccl_tooltip.bw_bccl_tooltip_show":{opacity:"1",visibility:"visible"},".bw_bccl_tooltip_top":{bottom:"100%",left:"50%",transform:"translateX(-50%) translateY(-4px)","margin-bottom":"4px"},".bw_bccl_tooltip_top.bw_bccl_tooltip_show":{transform:"translateX(-50%) translateY(0)"},".bw_bccl_tooltip_bottom":{top:"100%",left:"50%",transform:"translateX(-50%) translateY(4px)","margin-top":"4px"},".bw_bccl_tooltip_bottom.bw_bccl_tooltip_show":{transform:"translateX(-50%) translateY(0)"},".bw_bccl_tooltip_left":{right:"100%",top:"50%",transform:"translateY(-50%) translateX(-4px)","margin-right":"4px"},".bw_bccl_tooltip_left.bw_bccl_tooltip_show":{transform:"translateY(-50%) translateX(0)"},".bw_bccl_tooltip_right":{left:"100%",top:"50%",transform:"translateY(-50%) translateX(4px)","margin-left":"4px"},".bw_bccl_tooltip_right.bw_bccl_tooltip_show":{transform:"translateY(-50%) translateX(0)"}},popover:{".bw_popover_wrapper":{position:"relative",display:"inline-block"},".bw_popover_trigger":{cursor:"pointer"},".bw_popover":{position:"absolute","z-index":"1000","min-width":"200px","max-width":"min(320px, calc(100vw - 2rem))","pointer-events":"none",opacity:"0",visibility:"hidden"},".bw_popover.bw_popover_show":{opacity:"1",visibility:"visible","pointer-events":"auto"},".bw_popover_header":{"font-weight":"600","font-size":"0.9375rem"},".bw_popover_body":{"font-size":"0.875rem","line-height":"1.5"},".bw_popover_top":{bottom:"100%",left:"50%",transform:"translateX(-50%) translateY(-8px)","margin-bottom":"8px"},".bw_popover_top.bw_popover_show":{transform:"translateX(-50%) translateY(0)"},".bw_popover_bottom":{top:"100%",left:"50%",transform:"translateX(-50%) translateY(8px)","margin-top":"8px"},".bw_popover_bottom.bw_popover_show":{transform:"translateX(-50%) translateY(0)"},".bw_popover_left":{right:"100%",top:"50%",transform:"translateY(-50%) translateX(-8px)","margin-right":"8px"},".bw_popover_left.bw_popover_show":{transform:"translateY(-50%) translateX(0)"},".bw_popover_right":{left:"100%",top:"50%",transform:"translateY(-50%) translateX(8px)","margin-left":"8px"},".bw_popover_right.bw_popover_show":{transform:"translateY(-50%) translateX(0)"}},searchInput:{".bw_search_input":{position:"relative",display:"flex","align-items":"center"},".bw_search_input .bw_search_field":{"padding-right":"2.5rem"},".bw_search_clear":{position:"absolute",right:"0.5rem",display:"flex","align-items":"center","justify-content":"center",width:"1.5rem",height:"1.5rem",border:"none",background:"none","font-size":"1.25rem",cursor:"pointer",padding:"0","border-radius":"50%"},".bw_search_clear:focus-visible":{outline:"2px solid currentColor","outline-offset":"2px"}},range:{".bw_range_wrapper":{"margin-bottom":"1rem"},".bw_range_label":{display:"flex","justify-content":"space-between","align-items":"center","margin-bottom":"0.5rem","font-size":"0.875rem","font-weight":"500"},".bw_range_value":{"font-weight":"600"},".bw_range":{width:"100%",height:"0.5rem",padding:"0",appearance:"none",border:"none","border-radius":"0.25rem",cursor:"pointer",outline:"none"},".bw_range:focus":{outline:"none"},".bw_range::-webkit-slider-thumb":{appearance:"none",width:"1.25rem",height:"1.25rem","border-radius":"50%","border-width":"2px","border-style":"solid",cursor:"pointer"},".bw_range::-moz-range-thumb":{width:"1.25rem",height:"1.25rem","border-radius":"50%","border-width":"2px","border-style":"solid",cursor:"pointer"},".bw_range::-webkit-slider-thumb:hover":{transform:"scale(1.15)"},".bw_range:disabled":{opacity:"0.5",cursor:"not-allowed"}},mediaObject:{".bw_media":{display:"flex","align-items":"flex-start",gap:"1rem"},".bw_media_reverse":{"flex-direction":"row-reverse"},".bw_media_img":{"border-radius":"50%","object-fit":"cover","flex-shrink":"0"},".bw_media_body":{flex:"1","min-width":"0"},".bw_media_title":{margin:"0 0 0.25rem 0","font-size":"1rem","font-weight":"600","line-height":"1.3"}},fileUpload:{".bw_file_upload":{display:"flex","flex-direction":"column","align-items":"center","justify-content":"center",border:"2px dashed transparent",cursor:"pointer","text-align":"center",position:"relative"},".bw_file_upload_icon":{"font-size":"2rem","margin-bottom":"0.5rem"},".bw_file_upload_text":{"font-size":"0.875rem"},".bw_file_upload_input":{position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",clip:"rect(0,0,0,0)",border:"0"}},timeline:{".bw_bccl_timeline":{position:"relative","padding-left":"2rem"},".bw_bccl_timeline::before":{content:'""',position:"absolute",left:"0.5rem",top:"0",bottom:"0",width:"2px"},".bw_bccl_timeline_item":{position:"relative","padding-bottom":"1.5rem"},".bw_bccl_timeline_item:last-child":{"padding-bottom":"0"},".bw_bccl_timeline_marker":{position:"absolute",left:"-1.75rem",top:"0.25rem",width:"0.75rem",height:"0.75rem","border-radius":"50%"},".bw_bccl_timeline_content":{"padding-left":"0.5rem"},".bw_bccl_timeline_date":{"font-size":"0.75rem","margin-bottom":"0.25rem","font-weight":"500"},".bw_bccl_timeline_title":{"font-size":"1rem","font-weight":"600",margin:"0 0 0.25rem 0","line-height":"1.3"},".bw_bccl_timeline_text":{"font-size":"0.875rem",margin:"0","line-height":"1.5"}},stepper:{".bw_stepper":{display:"flex",gap:"0","counter-reset":"step"},".bw_step":{flex:"1",display:"flex","flex-direction":"column","align-items":"center","text-align":"center",position:"relative"},".bw_step + .bw_step::before":{content:'""',position:"absolute",top:"1rem",left:"-50%",right:"50%",height:"2px"},".bw_step_indicator":{width:"2rem",height:"2rem","border-radius":"50%",display:"flex","align-items":"center","justify-content":"center","font-size":"0.875rem","font-weight":"600",position:"relative","z-index":"1"},".bw_step_body":{"margin-top":"0.5rem"},".bw_step_label":{"font-size":"0.875rem","font-weight":"500"},".bw_step_description":{"font-size":"0.75rem","margin-top":"0.125rem"}},chipInput:{".bw_chip_input":{display:"flex","flex-wrap":"wrap","align-items":"center",gap:"0.375rem",padding:"0.375rem 0.5rem","min-height":"2.5rem",cursor:"text"},".bw_chip":{display:"inline-flex","align-items":"center",gap:"0.25rem",padding:"0.125rem 0.5rem","border-radius":"1rem","font-size":"0.8125rem","line-height":"1.5","white-space":"nowrap"},".bw_chip_remove":{display:"inline-flex","align-items":"center","justify-content":"center",width:"1rem",height:"1rem",border:"none",background:"none","font-size":"0.875rem",cursor:"pointer",padding:"0","border-radius":"50%"},".bw_chip_remove:focus-visible":{outline:"2px solid currentColor","outline-offset":"1px"},".bw_chip_field":{flex:"1","min-width":"80px",border:"none",outline:"none","font-size":"0.875rem",padding:"0.125rem 0",background:"transparent"}},barChart:{".bw_bar_chart_container":{padding:"1rem",border:"1px solid transparent"},".bw_bar_chart":{display:"flex","align-items":"flex-end",gap:"6px",padding:"0 0.5rem"},".bw_bar_group":{flex:"1",display:"flex","flex-direction":"column","align-items":"center",height:"100%","justify-content":"flex-end"},".bw_bar":{width:"100%","border-radius":"3px 3px 0 0","min-height":"4px"},".bw_bar:hover":{opacity:"0.85"},".bw_bar_value":{"font-size":"0.65rem","font-weight":"600","margin-bottom":"2px","text-align":"center"},".bw_bar_label":{"font-size":"0.7rem","margin-top":"4px","text-align":"center"},".bw_bar_chart_title":{"font-size":"1.1rem","font-weight":"600",margin:"0 0 0.75rem 0"}},responsive:{"@media (min-width: 576px)":J("bw_col_sm"),"@media (min-width: 768px)":J("bw_col_md"),"@media (min-width: 992px)":J("bw_col_lg"),"@media (max-width: 575px)":{".bw_bccl_card_img_left, .bw_bccl_card-img-left":{width:"100%"},".bw_bccl_card_img_right, .bw_bccl_card-img-right":{width:"100%"},".bw_bccl_hero, .bw_bccl_hero":{padding:"2rem 1rem"},".bw_cta_actions, .bw_cta-actions":{"flex-direction":"column"},".bw_hstack, .bw_hstack":{"flex-direction":"column"},".bw_feature_grid, .bw_feature-grid":{"grid-template-columns":"1fr"},".bw_bccl_modal_dialog":{margin:"0.5rem auto"},".bw_bccl_modal_lg":{"max-width":"calc(100% - 1rem)"},".bw_bccl_modal_xl":{"max-width":"calc(100% - 1rem)"},".bw_bccl_navbar":{padding:"0.5rem 0.75rem"},".bw_bccl_navbar_brand":{"margin-right":"0.5rem","font-size":"1rem"},".bw_bccl_navbar_nav":{"flex-wrap":"wrap"},".bw_bccl_tooltip":{"white-space":"normal"},".bw_bccl_table":{display:"block","overflow-x":"auto","-webkit-overflow-scrolling":"touch"},".bw_col, .bw_col_1, .bw_col_2, .bw_col_3, .bw_col_4, .bw_col_5, .bw_col_6, .bw_col_7, .bw_col_8, .bw_col_9, .bw_col_10, .bw_col_11, .bw_col_12":{flex:"0 0 100%","max-width":"100%"},".bw_bccl_container":{"padding-right":"0.5rem","padding-left":"0.5rem"},".bw_bccl_container_fluid":{"padding-right":"0.5rem","padding-left":"0.5rem"}}}};function $(){var e={},r={0:"0",1:".25rem",2:".5rem",3:"1rem",4:"1.5rem",5:"3rem"};for(var t in r){var n=r[t];e[".bw_m_"+t]={margin:n+" !important"},e[".bw_mt_"+t]={"margin-top":n+" !important"},e[".bw_mb_"+t]={"margin-bottom":n+" !important"},e[".bw_ms_"+t]={"margin-left":n+" !important"},e[".bw_me_"+t]={"margin-right":n+" !important"},e[".bw_p_"+t]={padding:n+" !important"},e[".bw_pt_"+t]={"padding-top":n+" !important"},e[".bw_pb_"+t]={"padding-bottom":n+" !important"},e[".bw_ps_"+t]={"padding-left":n+" !important"},e[".bw_pe_"+t]={"padding-right":n+" !important"}}e[".bw_m_auto"]={margin:"auto !important"},e[".bw_py_3"]={"padding-top":"1rem !important","padding-bottom":"1rem !important"},e[".bw_py_4"]={"padding-top":"1.5rem !important","padding-bottom":"1.5rem !important"},e[".bw_py_5"]={"padding-top":"3rem !important","padding-bottom":"3rem !important"},e[".bw_py_6"]={"padding-top":"4rem !important","padding-bottom":"4rem !important"},e[".bw_d_none"]={display:"none"},e[".bw_d_block"]={display:"block"},e[".bw_d_inline"]={display:"inline"},e[".bw_d_inline_block"]={display:"inline-block"},e[".bw_d_flex"]={display:"flex"},e[".bw_text_left"]={"text-align":"left"},e[".bw_text_right"]={"text-align":"right"},e[".bw_text_center"]={"text-align":"center"},e[".bw_text_justify"]={"text-align":"justify"},e[".bw_fw_bold"]={"font-weight":"700"},e[".bw_fw_semibold"]={"font-weight":"600"},e[".bw_fw_normal"]={"font-weight":"400"},e[".bw_fw_light"]={"font-weight":"300"},e[".bw_fst_italic"]={"font-style":"italic"},e[".bw_fst_normal"]={"font-style":"normal"},e[".bw_text_underline"]={"text-decoration":"underline"},e[".bw_text_line_through"]={"text-decoration":"line-through"},e[".bw_text_decoration_none"]={"text-decoration":"none"},e[".bw_text_uppercase"]={"text-transform":"uppercase"},e[".bw_text_lowercase"]={"text-transform":"lowercase"},e[".bw_text_capitalize"]={"text-transform":"capitalize"},e[".bw_text_wrap"]={"white-space":"normal"},e[".bw_text_nowrap"]={"white-space":"nowrap"},e[".bw_fs_sm"]={"font-size":"0.875rem"},e[".bw_fs_base"]={"font-size":"1rem"},e[".bw_fs_lg"]={"font-size":"1.25rem"},e[".bw_fs_xl"]={"font-size":"1.5rem"};var o={start:"flex-start",end:"flex-end",center:"center",between:"space-between",around:"space-around"};for(var a in o)e[".bw_justify_content_"+a]={"justify-content":o[a]};var i={start:"flex-start",end:"flex-end",center:"center"};for(var l in i)e[".bw_align_items_"+l]={"align-items":i[l]};e[".bw_border"]={border:"1px solid transparent !important"},e[".bw_border_0"]={border:"0 !important"},e[".bw_border_top_0"]={"border-top":"0 !important"},e[".bw_border_end_0"]={"border-right":"0 !important"},e[".bw_border_bottom_0"]={"border-bottom":"0 !important"},e[".bw_border_start_0"]={"border-left":"0 !important"},e[".bw_rounded"]={"border-radius":".375rem !important"},e[".bw_rounded_0"]={"border-radius":"0 !important"},e[".bw_rounded_1"]={"border-radius":".25rem !important"},e[".bw_rounded_2"]={"border-radius":".375rem !important"},e[".bw_rounded_3"]={"border-radius":".5rem !important"},e[".bw_rounded_circle"]={"border-radius":"50% !important"},e[".bw_rounded_pill"]={"border-radius":"50rem !important"},e[".bw_shadow"]={"box-shadow":"0 .5rem 1rem rgba(0,0,0,.15) !important"},e[".bw_shadow_sm"]={"box-shadow":"0 .125rem .25rem rgba(0,0,0,.075) !important"},e[".bw_shadow_lg"]={"box-shadow":"0 1rem 3rem rgba(0,0,0,.175) !important"},e[".bw_shadow_none"]={"box-shadow":"none !important"},["25","50","75","100"].forEach(function(r){e[".bw_w_"+r]={width:r+"% !important"},e[".bw_h_"+r]={height:r+"% !important"}}),e[".bw_w_auto"]={width:"auto !important"},e[".bw_h_auto"]={height:"auto !important"},e[".bw_mw_100"]={"max-width":"100% !important"},e[".bw_mh_100"]={"max-height":"100% !important"},["static","relative","absolute","fixed","sticky"].forEach(function(r){e[".bw_position_"+r]={position:r+" !important"}}),e[".bw_top_0"]={top:"0 !important"},e[".bw_top_50"]={top:"50% !important"},e[".bw_top_100"]={top:"100% !important"},e[".bw_bottom_0"]={bottom:"0 !important"},e[".bw_bottom_50"]={bottom:"50% !important"},e[".bw_bottom_100"]={bottom:"100% !important"},e[".bw_start_0"]={left:"0 !important"},e[".bw_start_50"]={left:"50% !important"},e[".bw_start_100"]={left:"100% !important"},e[".bw_end_0"]={right:"0 !important"},e[".bw_end_50"]={right:"50% !important"},e[".bw_end_100"]={right:"100% !important"},e[".bw_translate_middle"]={transform:"translate(-50%, -50%) !important"},["auto","hidden","visible","scroll"].forEach(function(r){e[".bw_overflow_"+r]={overflow:r+" !important"}});var c=function(e,r){var t={};return t[e]=r+" !important",t};for(var s in[["fs",{xs:"0.75rem",sm:"0.875rem",base:"1rem",lg:"1.125rem",xl:"1.25rem","2xl":"1.5rem"},"font-size"],["fw",{light:"300",normal:"400",medium:"500",semibold:"600",bold:"700"},"font-weight"],["lh",{tight:"1.25",normal:"1.5",relaxed:"1.75"},"line-height"]].forEach(function(r){for(var t in r[1])e[".bw_"+r[0]+"_"+t]=c(r[2],r[1][t])}),e[".bw_list_unstyled"]={"padding-left":"0","list-style":"none"},e[".bw_list_inline"]={"padding-left":"0","list-style":"none"},e[".bw_list_inline_item"]={display:"inline-block"},e[".bw_list_inline_item:not(:last-child)"]={"margin-right":".5rem"},e[".bw_flex"]={display:"flex"},e[".bw_flex_column"]={"flex-direction":"column"},e[".bw_flex_wrap"]={"flex-wrap":"wrap"},e[".bw_flex_center"]={display:"flex","align-items":"center","justify-content":"center"},r)e[".bw_gap_"+s]={gap:r[s]+" !important"};return e[".bw_visible"]={visibility:"visible !important"},e[".bw_invisible"]={visibility:"hidden !important"},["all","auto","none"].forEach(function(r){e[".bw_user_select_"+r]={"user-select":r+" !important"}}),e[".bw_pe_none"]={"pointer-events":"none !important"},e[".bw_pe_auto"]={"pointer-events":"auto !important"},e[".bw_opacity_0"]={opacity:"0 !important"},e[".bw_opacity_25"]={opacity:".25 !important"},e[".bw_opacity_50"]={opacity:".5 !important"},e[".bw_opacity_75"]={opacity:".75 !important"},e[".bw_opacity_100"]={opacity:"1 !important"},e}function G(){return function(){for(var e={},r=Object.keys(X),t=0;t<r.length;t++)Object.assign(e,X[r[t]]);return Object.assign(e,$()),e["@media (prefers-reduced-motion: reduce)"]={"*, *::before, *::after":{"animation-duration":"0.01ms !important","animation-iteration-count":"1 !important","transition-duration":"0.01ms !important","scroll-behavior":"auto !important"}},e}()}function W(e,r,t){var n={};for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o))if("@"===o.charAt(0)){var a=e[o];if(/^@keyframes\s/.test(o))n[o]=a;else{var i={};for(var l in a)Object.prototype.hasOwnProperty.call(a,l)&&(i[K(l,r)]=a[l]);n[o]=i}}else n[K(o,r)]=e[o];return n}function K(e,r){for(var t=e.split(","),n=[],o=0;o<t.length;o++)n.push(r+" "+t[o].trim());return n.join(", ")}function V(e,r){if(null===e)return"null";var t=c(e);if("object"!==t)return t;if(r)return t;var n=Object.prototype.toString.call(e),o={"[object Array]":"array","[object Date]":"Date","[object RegExp]":"RegExp","[object Error]":"Error","[object Promise]":"Promise","[object Map]":"Map","[object Set]":"Set","[object WeakMap]":"WeakMap","[object WeakSet]":"WeakSet","[object ArrayBuffer]":"ArrayBuffer","[object DataView]":"DataView","[object Int8Array]":"Int8Array","[object Uint8Array]":"Uint8Array","[object Uint8ClampedArray]":"Uint8ClampedArray","[object Int16Array]":"Int16Array","[object Uint16Array]":"Uint16Array","[object Int32Array]":"Int32Array","[object Uint32Array]":"Uint32Array","[object Float32Array]":"Float32Array","[object Float64Array]":"Float64Array"};return o[n]?o[n]:e._bw_type?e._bw_type:e.constructor&&e.constructor.name?e.constructor.name:t}function Z(e){return"array"!==V(e)?[]:e.filter(function(e,r,t){return t.indexOf(e)===r})}function Q(e){var r=e.indexOf("?");return r>=0&&(e=e.substring(0,r)),(e=e.replace(/\/\/+/g,"/")).length>1&&"/"===e.charAt(e.length-1)&&(e=e.substring(0,e.length-1)),e||"/"}function ee(e){var r=e.indexOf("?");if(r<0)return{};for(var t={},n=e.substring(r+1).split("&"),o=0;o<n.length;o++){var a=n[o].split("=");a[0]&&(t[decodeURIComponent(a[0])]=a.length>1?decodeURIComponent(a[1]):"")}return t}function re(e,r){for(var t=ee(r),n=Q(r),o="/"===n?[""]:n.split("/"),a=null,i=0;i<e.length;i++){var l=e[i],c=l.pattern;if("*"!==c)if(c.length>1&&"/*"===c.substring(c.length-2)){var s=c.substring(0,c.length-2),b=""===s?[""]:s.split("/");if(o.length<b.length)continue;for(var d={},u=!0,_=0;_<b.length;_++)if(":"===b[_].charAt(0))d[b[_].substring(1)]=o[_];else if(b[_]!==o[_]){u=!1;break}if(u)return d._rest=o.slice(b.length).join("/"),d._query=t,{handler:l.handler,params:d}}else{var p="/"===c?[""]:c.split("/");if(p.length===o.length){for(var f={},m=!0,w=0;w<p.length;w++)if(":"===p[w].charAt(0))f[p[w].substring(1)]=o[w];else if(p[w]!==o[w]){m=!1;break}if(m)return f._query=t,{handler:l.handler,params:f}}}else a=l}return a?{handler:a.handler,params:{_query:t}}:null}Object.assign({},X,{root:{":root":{"--bw_font_sans_serif":'system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif',"--bw_font_monospace":'"SF Mono", Monaco, "Cascadia Code", "Roboto Mono", Consolas, "Liberation Mono", "Courier New", monospace',"--bw_body_font_family":"var(--bw_font_sans_serif)","--bw_body_font_size":"1rem","--bw_body_font_weight":"400","--bw_body_line_height":"1.5"}},reset:X.base,enhancedCards:X.cards,tableResponsive:{".bw_bccl_table_responsive":{"overflow-x":"auto","-webkit-overflow-scrolling":"touch"}},utilities:$()});function te(){return""}var ne={};function oe(){throw new Error("bw.make() requires the full bitwrench build (not lean)")}var ae=Object.freeze({__proto__:null,BCCL:ne,componentHandles:{},make:oe,variantClass:te}),ie=["data","headerRow","columns"],le=["title","data","columns","className","striped","hover","responsive"],ce={version:b.version,versionInfo:b,getVersion:function(){return o({},b)},_idCounter:0,_topics:{},_subIdCounter:0,_detached:{},_mounted:{},_nodeMap:{},__monkey_patch_is_nodejs__:{_value:"ignore",set:function(e){this._value=_e(e,"boolean")?e:"ignore"},get:function(){return this._value}},isNodeJS:function(){return"ignore"!==ce.__monkey_patch_is_nodejs__.get()?ce.__monkey_patch_is_nodejs__.get():"undefined"!=typeof process&&null!=process.versions&&null!=process.versions.node}};ce._isNode=ce.isNodeJS(),Object.defineProperty(ce,"_isBrowser",{get:function(){return"undefined"!=typeof document&&"undefined"!=typeof window},configurable:!0});var se=Object.prototype.hasOwnProperty,be=Array.isArray,de=Object.keys,ue=V,_e=function(e,r){var t=ue(e);return t===r||t.toLowerCase()===r},pe=function(){console.warn.apply(console,arguments)};function fe(e,r){_e(r,"function")?r(e):be(r)?(e.innerHTML="",r.forEach(function(r){null!=r&&(_e(r,"object")&&r.t?e.appendChild(ce.create(r)):e.appendChild(document.createTextNode(String(r))))})):_e(r,"object")&&null!==r&&r.t?(e.innerHTML="",e.appendChild(ce.create(r))):e.textContent=String(r)}ce.debug=!1,ce._fsCache=void 0,ce._getFs=function(){if(void 0!==ce._fsCache)return Promise.resolve(ce._fsCache);if(!ce.isNodeJS())return ce._fsCache=null,Promise.resolve(null);if("function"==typeof require)try{return ce._fsCache=require("fs"),Promise.resolve(ce._fsCache)}catch(e){}try{return new Function("m","return import(m)")("fs").then(function(e){return ce._fsCache=e.default||e,ce._fsCache}).catch(function(){return ce._fsCache=null,null})}catch(e){return ce._fsCache=null,Promise.resolve(null)}},ce.typeOf=V,ce.to=ce.typeOf,ce.uuid=function(e){var r=e?"bw_"+e+"_":"bw_";if(ce._isBrowser&&crypto&&crypto.randomUUID)return r+crypto.randomUUID().replace(/-/g,"");var t=Date.now().toString(36),n=(++ce._idCounter).toString(36),o=Math.random().toString(36).substring(2,11);return"".concat(r).concat(t,"_").concat(n,"_").concat(o)},ce.el=function(e,r){var t;if(_e(e,"string"))if(e&&ce._isBrowser){var n=ce._nodeMap[e];if(n){var o=ce.getUUID(n);null!==n.parentNode||o&&ce._detached[o]?(t=n,o&&ce._detached[o]&&null!==n.parentNode&&delete ce._detached[o]):delete ce._nodeMap[e]}t||(0===e.indexOf("bw_uuid_")?t=null:((t=document.getElementById(e))||"#"!==e.charAt(0)&&"."!==e.charAt(0)||(t=document.querySelector(e)),t&&(ce._nodeMap[e]=t)))}else t=null;else t=e||null;return t&&void 0!==r&&fe(t,r),t},ce._registerNode=function(e,r){if(e){r&&(ce._nodeMap[r]=e);var t=e.getAttribute?e.getAttribute("id"):null;t&&(ce._nodeMap[t]=e)}},ce._deregisterNode=function(e,r){r&&delete ce._nodeMap[r];var t=e&&e.getAttribute?e.getAttribute("id"):null;t&&delete ce._nodeMap[t]};var me="bw_lc",we=/\bbw_uuid_[a-z0-9_]+\b/;function ge(e,r){if(null==e)return document.createTextNode("");if(e&&e.__bw_raw){var t=document.createDocumentFragment(),n=document.createElement("span");for(n.innerHTML=e.v;n.firstChild;)t.appendChild(n.firstChild);return t}if(!_e(e,"object")||!e.t)return document.createTextNode(String(e));for(var o=e.t,a=e.a||{},i=e.c,l=e.o||{},c=r._svgCtx||"svg"===o,s=c?document.createElementNS("http://www.w3.org/2000/svg",o):document.createElement(o),b=de(a),d=0;d<b.length;d++){var u=b[d],_=a[u];if(null!=_&&!1!==_)if("style"===u&&_e(_,"object"))Object.assign(s.style,_);else if("class"===u){var p=be(_)?_.filter(Boolean).join(" "):String(_);p&&(c?s.setAttribute("class",p):s.className=p)}else if(0===u.indexOf("on")&&u.length>2&&_e(_,"function")){var f=u.slice(2).toLowerCase();s.addEventListener(f,_)}else"value"===u&&"input"===o?s.value=_:!0===_?s.setAttribute(u,""):s.setAttribute(u,String(_))}var m=r,w=c&&"foreignObject"!==o;if(w!==(r._svgCtx||!1)&&(m=Object.assign({},r,{_svgCtx:w||void 0})),null!=i)if(be(i))for(var g=0;g<i.length;g++){var h=i[g];if(null!=h){var v=ge(h,m);s.appendChild(v);var y=h&&h.a?h.a.id||ce.getUUID(h):null;if(y&&(s._bw_refs||(s._bw_refs={}),s._bw_refs[y]=v),v._bw_refs)for(var x in s._bw_refs||(s._bw_refs={}),v._bw_refs)se.call(v._bw_refs,x)&&(s._bw_refs[x]=v._bw_refs[x])}}else if(_e(i,"object")&&i.__bw_raw)s.innerHTML=i.v;else if(_e(i,"object")&&i.t){var k=ge(i,m);s.appendChild(k);var C=i.a?i.a.id||ce.getUUID(i):null;if(C&&(s._bw_refs||(s._bw_refs={}),s._bw_refs[C]=k),k._bw_refs)for(var S in s._bw_refs||(s._bw_refs={}),k._bw_refs)se.call(k._bw_refs,S)&&(s._bw_refs[S]=k._bw_refs[S])}else s.textContent=String(i);return he(s,l),s}function he(e,r){if(r&&"object"===c(r)&&((r.mounted||r.unmount||r.render||r.state||r.handle||r.slots||r.type)&&!e.bw)){r.type&&(e._bw_type=r.type);var t=ce.getUUID(e)||ce.uuid("uuid");if(e.classList.contains(t)||e.classList.add(t),e.classList.add(me),e.classList.add("bw_is_component"),r.type&&e.classList.add("bw_is_component_"+r.type),r.state&&(e._bw_state=r.state),r.render&&(e._bw_render=r.render),r.mounted?e._bw_mounted_fn=r.mounted:r.render&&!r.mounted&&(e._bw_mounted_fn=function(e,t){r.render(e,t)}),r.unmount&&(e._bw_unmount_fn=r.unmount),e.bw||(e.bw={}),e.bw.getState=function(){return Object.assign({},e._bw_state||{})},r.handle)for(var n in r.handle)se.call(r.handle,n)&&(e.bw[n]=r.handle[n].bind(null,e));if(r.slots)for(var o in e._bw_slots=r.slots,e._bw_slot_cache=null,r.slots)se.call(r.slots,o)&&function(r,t){var n=r.charAt(0).toUpperCase()+r.slice(1);e.bw["set"+n]=function(n){e._bw_slot_cache||(e._bw_slot_cache={}),e._bw_slot_cache[r]||(e._bw_slot_cache[r]=e.querySelector(t));var o=e._bw_slot_cache[r];if(o)if(ce.unmountChildren(o),null!=n&&"object"===c(n)&&n.t){o.innerHTML="";var a=ce.create(n);o.appendChild(a),e.isConnected&&ce.mountTree(a)}else o.textContent=null!=n?String(n):""},e.bw["get"+n]=function(){e._bw_slot_cache||(e._bw_slot_cache={}),e._bw_slot_cache[r]||(e._bw_slot_cache[r]=e.querySelector(t));var n=e._bw_slot_cache[r];return n?n.textContent:""}}(o,r.slots[o])}}function ve(e){if(e&&1===e.nodeType){var r=ce.getUUID(e);if(r){if(ce._nodeMap[r]!==e||!ce._mounted[r]){if(ce._nodeMap[r]&&ce._nodeMap[r]!==e){var t=r,n=ce.uuid("uuid");e.classList.remove(t),e.classList.add(n),r=n,e.parentNode&&e.parentNode._bw_refs&&e.parentNode._bw_refs[t]===e&&(delete e.parentNode._bw_refs[t],e.parentNode._bw_refs[n]=e),ce.pub("bw:diag",{code:"uuid_collision",uuid:t,ref:n,msg:"UUID collision detected; reminted to "+n})}if(ce._nodeMap[r]=e,(o=e.getAttribute?e.getAttribute("id"):null)&&(ce._nodeMap[o]=e),ce._detached[r]&&delete ce._detached[r],e.classList.contains(me)&&!ce._mounted[r]){if(ce._mounted[r]=!0,e._bw_mounted_fn)try{e._bw_mounted_fn(e,e._bw_state||{})}catch(e){pe("o.mounted error: "+e.message),ce.pub("bw:diag",{code:"mounted_hook_error",uuid:r,msg:e.message})}try{e.dispatchEvent(new CustomEvent("bw:mount",{bubbles:!0,detail:{uuid:r,type:e._bw_type||null}}))}catch(e){}ce.pub("bw:lifecycle",{event:"mount",uuid:r,type:e._bw_type||null})}}}else{var o=e.getAttribute?e.getAttribute("id"):null;o&&(ce._nodeMap[o]=e)}}}function ye(e){if(e&&1===e.nodeType){var r=ce.getUUID(e),t=e.getAttribute?e.getAttribute("id"):null;if(r||t||e.classList.contains(me)){if(r&&e.classList.contains(me))try{e.dispatchEvent(new CustomEvent("bw:unmount",{bubbles:!0,detail:{uuid:r,type:e._bw_type||null}}))}catch(e){}if(e._bw_unmount_fn)try{e._bw_unmount_fn(e,e._bw_state||{})}catch(e){pe("o.unmount error: "+e.message),ce.pub("bw:diag",{code:"unmount_hook_error",uuid:r,msg:e.message})}if(e._bw_subs){for(var n=0;n<e._bw_subs.length;n++)try{e._bw_subs[n]()}catch(e){}delete e._bw_subs}for(var o in ce._nodeMap)se.call(ce._nodeMap,o)&&ce._nodeMap[o]===e&&delete ce._nodeMap[o];if(r&&(delete ce._mounted[r],delete ce._detached[r]),delete e.bw,delete e._bw_state,delete e._bw_render,delete e._bw_refs,delete e._bw_type,delete e._bw_unmount_fn,delete e._bw_mounted_fn,delete e._bw_slots,delete e._bw_slot_cache,e.classList){e.classList.remove(me),e.classList.remove("bw_is_component");var a=e.className;if("string"==typeof a)for(var i=a.split(/\s+/),l=0;l<i.length;l++)0!==i[l].indexOf("bw_is_component_")&&0!==i[l].indexOf("bw_uuid_")||e.classList.remove(i[l])}}}}function xe(e){if(!e||"object"!==c(e))return e;if(e.a){for(var r={},t=de(e.a),n=0;n<t.length;n++)"on"===t[n].substring(0,2).toLowerCase()&&"string"==typeof e.a[t[n]]||(r[t[n]]=e.a[t[n]]);e=Object.assign({},e,{a:r})}return be(e.c)?e=Object.assign({},e,{c:e.c.map(xe)}):e.c&&"object"===c(e.c)&&e.c.t&&(e=Object.assign({},e,{c:xe(e.c)})),e}function ke(e){if(!e||""===e||"global"===e)return"bw_style_global";if("reset"===e)return"bw_style_reset";if("structural"===e)return"bw_style_structural";var r=e;return"#"===r.charAt(0)?r="id_"+r.substring(1):"."===r.charAt(0)&&(r="cls_"+r.substring(1)),"bw_style_"+(r=r.replace(/-/g,"_"))}function Ce(e){return!e||(-1!==e.indexOf(",")?(ce.pub("bw:diag",{code:"scope_rejected",ref:e,msg:"comma selectors not allowed"}),!1):!/\s/.test(e.trim())||(ce.pub("bw:diag",{code:"scope_rejected",ref:e,msg:"complex selectors not allowed"}),!1))}return ce.assignUUID=function(e,r){if(!e||!_e(e,"object"))return null;e.a||(e.a={}),_e(e.a.class,"string")||(e.a.class=e.a.class?String(e.a.class):"");var t=e.a.class.match(we);if(t&&!r)return t[0];t&&(e.a.class=e.a.class.replace(we,"").replace(/\s+/g," ").trim());var n=ce.uuid("uuid");return e.a.class=(e.a.class?e.a.class+" ":"")+n,n},ce.getUUID=function(e){if(!e)return null;var r;if(void 0!==e.className&&e.tagName?r="string"==typeof e.className?e.className:e.getAttribute("class")||"":e.a&&_e(e.a.class,"string")&&(r=e.a.class),!r)return null;var t=r.match(we);return t?t[0]:null},ce.escapeHTML=function(e){if(!_e(e,"string"))return"";var r={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;"};return e.replace(/[&<>"'/]/g,function(e){return r[e]})},ce.raw=function(e){return{__bw_raw:!0,v:String(e)}},ce.h=function(e,r,t,n){var o={t:String(e)};return null!=r&&(o.a=r),void 0!==t&&(o.c=t),void 0!==n&&(o.o=n),o},ce.html=function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(null==e)return"";if(be(e))return e.map(function(e){return ce.html(e,r)}).join("");if(e&&e.__bw_raw)return e.v;if(!_e(e,"object")||!e.t){var t=r.raw?String(e):ce.escapeHTML(String(e));return r.state&&_e(t,"string")&&t.indexOf("${")>=0&&(t=ce._resolveTemplate(t,r.state,!!r.compile)),t}for(var n=e.t,o=e.a,a=void 0===o?{}:o,l=e.c,c=e.o,s=void 0===c?{}:c,b=["area","base","br","col","embed","hr","img","input","link","meta","param","source","track","wbr"].includes(n.toLowerCase()),d="",u=[],_=r.fns||null,p=0,f=Object.entries(a);p<f.length;p++){var m=i(f[p],2),w=m[0],g=m[1];if(null!=g&&!1!==g)if(w.startsWith("on")){if(_e(g,"function")){if(_){var h="";try{h=g.toString()}catch(e){}if(-1!==h.indexOf("[native code]")){r._fnUnserializableWarned||(ce.pub("bw:diag",{code:"fn_unserializable",msg:"bound/native function cannot be serialized"}),r._fnUnserializableWarned=!0);continue}for(var v=w.substring(2),y=null,x=de(_),k=0;k<x.length;k++)if(_[x[k]].fn===g&&_[x[k]].event===v){y=x[k];break}y||(y="bw_fn_"+(r._fnCounter||0),r._fnCounter=(r._fnCounter||0)+1,_[y]={fn:g,event:v}),u.push(y)}else r._fnSkipWarned||(ce.pub("bw:diag",{code:"fn_skipped",msg:"function attrs skipped without {fns} option"}),r._fnSkipWarned=!0);continue}_e(g,"string")&&(d+=" "+w+'="'+ce.escapeHTML(g)+'"')}else if("style"===w&&_e(g,"object")){var C=Object.entries(g).filter(function(e){return null!=i(e,2)[1]}).map(function(e){var r=i(e,2),t=r[0],n=r[1];return"".concat(t,":").concat(n)}).join(";");C&&(d+=' style="'.concat(ce.escapeHTML(C),'"'))}else{if("class"===w)continue;if(!0===g)d+=" ".concat(w);else{var S=String(g);r.state&&S.indexOf("${")>=0&&(S=ce._resolveTemplate(S,r.state,!!r.compile)),d+=" ".concat(w,'="').concat(ce.escapeHTML(S),'"')}}}var j=[],O=a.class||"";if(be(O)&&(O=O.filter(Boolean).join(" ")),O&&j.push(String(O)),s&&(s.type||s.state||s.mounted||s.unmount||s.handle||s.render||s.slots)&&!we.test(O)){var A=ce.uuid("uuid");j.push(A),j.push(me),j.push("bw_is_component"),s.type&&j.push("bw_is_component_"+s.type)}for(var M=0;M<u.length;M++)j.push(u[M]);if(j.length>0&&(d+=' class="'+ce.escapeHTML(j.join(" "))+'"'),b)return"<".concat(n).concat(d," />");var z=null!=l?ce.html(l,r):"";return r.state&&_e(z,"string")&&z.indexOf("${")>=0&&(z=ce._resolveTemplate(z,r.state,!!r.compile)),"<".concat(n).concat(d,">").concat(z,"</").concat(n,">")},ce.htmlPage=function(r){var t,n=(r=r||{}).title||"bitwrench",o=r.body||"",a=r.state||void 0,i=r.runtime||"shim",l=r.css||"",c=r.theme||null,s=r.head||[],b=r.favicon||"",d=r.lang||"en",u=!1!==r.handlers?{}:null;if(_e(o,"string"))t=o;else{var _={_fnCounter:0};a&&(_.state=a),u&&(_.fns=u),t=ce.html(o,_)}var p="";if(u)for(var f=de(u),m=0;m<f.length;m++){var w=u[f[m]];p+="r['"+f[m]+"']={fn:"+w.fn.toString()+",event:'"+w.event+"'};\n"}var g="";if("inline"===i){var h=null;if(ce._isNode)try{var v="function"==typeof require?require("fs"):null,y="function"==typeof require?require("path"):null;if(v&&y){var x="";try{x=y.dirname("undefined"!=typeof __filename?__filename:"")}catch(e){}if(!x&&void 0!=={url:"undefined"==typeof document&&"undefined"==typeof location?require("url").pathToFileURL(__filename).href:"undefined"==typeof document?location.href:e&&"SCRIPT"===e.tagName.toUpperCase()&&e.src||new URL("bitwrench-lean.es5.min.js",document.baseURI).href}&&("undefined"==typeof document&&"undefined"==typeof location?require("url").pathToFileURL(__filename).href:"undefined"==typeof document?location.href:e&&"SCRIPT"===e.tagName.toUpperCase()&&e.src||new URL("bitwrench-lean.es5.min.js",document.baseURI).href)){var k="function"==typeof require?require("url"):null;k&&k.fileURLToPath&&(x=y.dirname(k.fileURLToPath("undefined"==typeof document&&"undefined"==typeof location?require("url").pathToFileURL(__filename).href:"undefined"==typeof document?location.href:e&&"SCRIPT"===e.tagName.toUpperCase()&&e.src||new URL("bitwrench-lean.es5.min.js",document.baseURI).href)))}if(x){var C=y.resolve(x,"../dist/bitwrench.umd.min.js");h=v.readFileSync(C,"utf8")}}}catch(e){}g=h?"<script>"+h+"<\/script>":"<script>"+ce._FUNC_REGISTRY_SHIM+"<\/script>"}else"cdn"===i?g='<script src="https://cdn.jsdelivr.net/npm/bitwrench@2/dist/bitwrench.umd.min.js"><\/script>':"shim"===i&&(g="<script>"+ce._FUNC_REGISTRY_SHIM+"<\/script>");var S="";if(c){var j=_e(c,"string")?P[c.toLowerCase()]||null:c;if(j)S=ce.makeStyles(j).css}var O="";be(s)&&s.length>0&&(O=s.map(function(e){return ce.html(e)}).join("\n"));var A="";b&&(A='<link rel="icon" href="'+b.replace(/[&<>"']/g,function(e){return{"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"}[e]})+'">');var M=ce.escapeHTML(n),z=(S?S+"\n":"")+l,E=ce.config&&ce.config.cspNonce?ce.config.cspNonce:null,L=E?' nonce="'+ce.escapeHTML(E)+'"':"",T="",U=[];p&&(U.push("(function(){var r={};"),U.push(p),U.push("for(var k in r){if(r.hasOwnProperty(k)){"),U.push('var els=document.querySelectorAll("."+k);'),U.push("for(var i=0;i<els.length;i++){"),U.push("(function(el,entry){el.addEventListener(entry.event,function(event){"),U.push("try{entry.fn.call(el,event);}catch(e){"),U.push('console.error("bw_act handler error — if this is a ReferenceError from a closure, use bw_act_* class tokens instead:",e);}'),U.push("});})(els[i],r[k]);}}}})();")),"inline"!==i&&"cdn"!==i||U.push('if(typeof bw!=="undefined"){bw.loadStyles();}'),U.length>0&&(T="<script"+L+">\n"+U.join("\n")+"\n<\/script>");var I=["<!DOCTYPE html>",'<html lang="'+d+'">',"<head>",'<meta charset="UTF-8">','<meta name="viewport" content="width=device-width, initial-scale=1">'];return I.push("<title>"+M+"</title>"),A&&I.push(A),g&&(E&&(g=g.replace(/<script(?![^>]*\bnonce\b)/g,"<script"+L)),I.push(g)),O&&I.push(O),z&&I.push("<style"+L+">"+z+"</style>"),I.push("</head>"),I.push("<body>"),I.push(t),T&&I.push(T),I.push("</body>"),I.push("</html>"),I.join("\n")},ce.create=function(e,r){if(!ce._isBrowser)throw new Error("bw.create requires a DOM environment (document/window). Use bw.html() instead.");return ge(e,r||{})},ce.hydrate=function(e,r){e&&r&&he(e,r.o||{})},ce.mountTree=function(e){if(e&&1===e.nodeType){ce.janitor&&ce.janitor._ensureObserver&&ce.janitor._ensureObserver(),ce.actions&&ce.actions._ensureInstalled&&ce.actions._ensureInstalled(),ve(e);for(var r=e.querySelectorAll("*"),t=0;t<r.length;t++)ve(r[t])}},ce.unmount=function(e){if(e&&1===e.nodeType){for(var r=[e],t=e.querySelectorAll('.bw_lc, [class*="bw_uuid_"], [id]'),n=0;n<t.length;n++)r.push(t[n]);for(var o=0;o<r.length;o++)ye(r[o])}},ce.unmountChildren=function(e){if(e&&1===e.nodeType)for(var r=e.querySelectorAll('.bw_lc, [class*="bw_uuid_"]'),t=0;t<r.length;t++)ye(r[t])},ce.remove=function(e){var r=ce.el(e);r&&(ce.unmount(r),r.parentNode&&r.parentNode.removeChild(r))},ce.detach=function(e){if(e){var r=ce.getUUID(e);r&&(ce._detached[r]=!0),e.parentNode&&e.parentNode.removeChild(e)}},ce.janitor=function(){var e=[],r=!0,t=[],n=null,o=!1;function a(){o=!1,l()}function i(){if(ce._isBrowser&&"undefined"!=typeof MutationObserver&&!n)try{(n=new MutationObserver(function(t){if(r){for(var n=[],i=[],l=0;l<t.length;l++){for(var c=t[l],s=0;s<c.removedNodes.length;s++){var b=c.removedNodes[s];1===b.nodeType&&n.push(b)}for(var d=0;d<c.addedNodes.length;d++){var u=c.addedNodes[d];1===u.nodeType&&i.push(u)}}for(var _=!1,p=0;p<n.length;p++){var f=n[p];if(-1===i.indexOf(f)){var m=ce.getUUID(f);if(m&&ce._nodeMap[m]&&(-1===e.indexOf(f)&&e.push(f),_=!0),f.querySelectorAll)for(var w=f.querySelectorAll('.bw_lc, [class*="bw_uuid_"]'),g=0;g<w.length;g++)-1===i.indexOf(w[g])&&-1===e.indexOf(w[g])&&(e.push(w[g]),_=!0)}}_&&(o||(o=!0,Promise.resolve().then(a)))}})).observe(document.body,{childList:!0,subtree:!0})}catch(e){}}function l(){var r=e.splice(0),n=r.length;for(var o in ce._nodeMap)if(se.call(ce._nodeMap,o)){var a=ce._nodeMap[o];a&&1===a.nodeType&&!a.isConnected&&-1===r.indexOf(a)&&r.push(a)}for(var i in ce._detached)if(se.call(ce._detached,i)){var l=ce._nodeMap[i];l&&l.isConnected&&delete ce._detached[i]}for(var c=[],s=0;s<t.length;s++){var b=t[s];b.isConnected?ce.pub("bw:diag",{code:"reaped_reinserted",msg:"a reaped element was reinserted — use bw.detach() for keep-alive"}):c.push(b)}t=c;for(var d=0;d<r.length;d++){var u=r[d];if(r.indexOf(u)<n||!u.isConnected){var _=ce.getUUID(u);if(!_||!ce._detached[_]){var p=u.classList&&u.classList.contains(me),f=_&&ce._nodeMap[_]===u;if(p){var m=u._bw_type||null;ce.unmount(u),t.push(u),ce.pub("bw:lifecycle",{event:"unmount",uuid:_,type:m}),ce.pub("bw:diag",{code:"janitor_reap",uuid:_})}else f&&(ye(u),t.push(u),ce.pub("bw:diag",{code:"janitor_reap",uuid:_}));if(u.querySelectorAll)for(var w=u.querySelectorAll('.bw_lc, [class*="bw_uuid_"]'),g=0;g<w.length;g++){var h=w[g],v=ce.getUUID(h);v&&ce._nodeMap[v]===h&&(h.classList.contains(me)?(ce.unmount(h),t&&t.push(h),ce.pub("bw:diag",{code:"janitor_reap",uuid:v})):(ye(h),ce.pub("bw:diag",{code:"janitor_reap",uuid:v})))}}}}}return ce._isBrowser&&"undefined"!=typeof document&&document.body&&i(),{flush:function(){o=!1,!n&&ce._isBrowser&&"undefined"!=typeof document&&document.body&&i(),l()},enable:function(){r=!0},disable:function(){r=!1},_addPending:function(r){-1===e.indexOf(r)&&e.push(r)},_ensureObserver:function(){!n&&ce._isBrowser&&"undefined"!=typeof document&&document.body&&i()},_reset:function(){e.length=0,t.length=0,o=!1,r=!0,n&&(n.disconnect(),n=null)},_getPendingCount:function(){var r=e.length;for(var t in ce._nodeMap)if(se.call(ce._nodeMap,t)){var n=ce._nodeMap[t];if(n&&1===n.nodeType&&!n.isConnected){var o=ce.getUUID(n);o&&ce._detached[o]||r++}}return r}}}(),ce._debug=function(){var e=0;for(var r in ce._nodeMap)se.call(ce._nodeMap,r)&&e++;var t=0;for(var n in ce._detached)se.call(ce._detached,n)&&t++;return{registered:e,detached:t,janitorPending:ce.janitor._getPendingCount(),topics:de(ce._topics).length}},ce._resetForTest=function(){for(var e in ce._nodeMap)se.call(ce._nodeMap,e)&&delete ce._nodeMap[e];for(var r in ce._topics)se.call(ce._topics,r)&&delete ce._topics[r];for(var t in ce._detached)se.call(ce._detached,t)&&delete ce._detached[t];for(var n in ce._mounted)se.call(ce._mounted,n)&&delete ce._mounted[n];for(var o in ce._subIdCounter=0,ce._idCounter=0,ce.janitor&&"function"==typeof ce.janitor._reset&&ce.janitor._reset(),ce.actions&&("function"==typeof ce.actions._reset&&ce.actions._reset(),ce.actions.enable()),ce.remote=null,ce._wireListeners)if(se.call(ce._wireListeners,o)){try{ce._wireListeners[o]()}catch(e){}delete ce._wireListeners[o]}for(var a in ce._clientRemotes)se.call(ce._clientRemotes,a)&&delete ce._clientRemotes[a]},ce.mount=function(e,r,t){var n=_e(e,"string")?ce.$(e)[0]:e;if(!n)return pe("bw.mount: target not found"),null;if(ce.unmountChildren(n),n.innerHTML="",null==r)return null;var o=null,a=[];if(be(r)){for(var i=0;i<r.length;i++)if(null!=r[i]){var l=ce.create(r[i],t||{});n.appendChild(l),a.push(l),o||(o=l)}}else o=ce.create(r,t||{}),n.appendChild(o),a.push(o);for(var c=0;c<a.length;c++)ce.mountTree(a[c]);return o},ce.DOM=ce.mount,ce.append=function(e,r,t){var n=_e(e,"string")?ce.$(e)[0]:e;if(!n)return null;var o=ce.create(r);if(t&&void 0!==t.before){var a=t.before;"number"==typeof a&&(a=n.children[a]||null),n.insertBefore(o,a)}else n.appendChild(o);return ce.mountTree(o),o},ce.replace=function(e,r){if(!e)return null;var t=e.parentNode,n=e.nextSibling;if(ce.unmount(e),e.parentNode&&e.parentNode.removeChild(e),null==r)return null;var o=ce.create(r);return t&&(n?t.insertBefore(o,n):t.appendChild(o)),ce.mountTree(o),o},ce.refresh=function(e){var r=ce.el(e);if(!r)return null;ce.unmountChildren(r),r.innerHTML="",r._bw_slot_cache&&(r._bw_slot_cache=null),r._bw_render&&(r._bw_render(r,r._bw_state||{}),ce.mountTree(r));try{r.dispatchEvent(new CustomEvent("bw:refresh",{bubbles:!0,detail:{uuid:ce.getUUID(r),type:r._bw_type||null}}))}catch(e){}return r},ce.update=function(e,r){var t=ce.el(e);return t?t.bw&&"function"==typeof t.bw.update?(t.bw.update(r),ce.pub("bw:lifecycle",{event:"statechange",uuid:ce.getUUID(t),data:r}),ce.emit(t,"statechange",t._bw_state),t):(t._bw_render?ce.pub("bw:diag",{code:"update_use_refresh",uuid:ce.getUUID(t),msg:"component has o.render but no update handle — use bw.refresh() instead"}):ce.pub("bw:diag",{code:"update_no_handle",uuid:ce.getUUID(t),msg:"component has no update handle and no render — nothing to do"}),t):null},ce.updateSlot=function(e,r,t){var n=ce.el(e);if(!n||!n.bw)return!1;var o="set"+r.charAt(0).toUpperCase()+r.slice(1);return"function"==typeof n.bw[o]&&(n.bw[o](t),!0)},ce.patch=function(e,r,t){var n=ce.el(e);if(!n)return null;if(t)n.setAttribute(t,String(r));else if(_e(r,"string")||_e(r,"number"))n.textContent=String(r);else if(be(r)){ce.unmountChildren(n),n.innerHTML="";for(var o=0;o<r.length;o++){var a=r[o];null!=a&&(_e(a,"object")&&a.t?n.appendChild(ce.create(a)):n.appendChild(document.createTextNode(String(a))))}ce.mountTree(n)}else if(_e(r,"object")&&null!==r&&r.t)ce.unmountChildren(n),n.innerHTML="",n.appendChild(ce.create(r)),ce.mountTree(n);else if(_e(r,"object")&&null!==r)for(var i=de(r),l=0;l<i.length;l++)n.setAttribute(i[l],String(r[i[l]]));else n.textContent=String(r);return n},ce.patchAll=function(e){var r={};for(var t in e)se.call(e,t)&&(r[t]=ce.patch(t,e[t]));return r},ce.syncChildren=function(e,r,t){if(e&&r&&t){var n=t.key,o=t.create,a=t.update,i="undefined"!=typeof document?document.activeElement:null;i&&!e.contains(i)&&(i=null);for(var l={},c=e.firstElementChild;c;)null!=c._bw_key&&(l[c._bw_key]=c),c=c.nextElementSibling;for(var s={},b=0;b<r.length;b++)s[n(r[b])]=!0;var d=[];for(var u in l)se.call(l,u)&&!s[u]&&d.push(l[u]);for(var _=0;_<d.length;_++)ce.unmount(d[_]),d[_].parentNode&&d[_].parentNode.removeChild(d[_]),delete l[d[_]._bw_key];for(var p=null,f=0;f<r.length;f++){var m=n(r[f]),w=l[m];if(w){a&&a(w,r[f]);var g=p?p.nextSibling:e.firstChild;w!==g&&e.insertBefore(w,g),p=w}else{var h=o(r[f]),v=ce.create(h);v._bw_key=m;var y=p?p.nextSibling:e.firstChild;e.insertBefore(v,y),ce.mountTree(v),l[m]=v,p=v}}if(i&&i.isConnected&&document.activeElement!==i)try{i.focus()}catch(e){}}},ce.emit=function(e,r,t){var n=ce.el(e);n&&n.dispatchEvent(new CustomEvent("bw:"+r,{bubbles:!0,detail:t||{}}))},ce.on=function(e,r,t){var n=ce.el(e);if(!n)return function(){};var o=function(e){t(e.detail,e)};return n.addEventListener("bw:"+r,o),function(){n.removeEventListener("bw:"+r,o)}},ce.pub=function(e,r){var t=0;function n(n,o){if(n&&0!==n.length){for(var a=n.slice(),i=!1,l=[],c=0;c<a.length;c++){var s=a[c];if(s.tiedEl&&"bw:diag"!==e&&"bw:lifecycle"!==e){var b=ce.getUUID(s.tiedEl);if(!(s.tiedEl.isConnected||b&&ce._detached[b])){var d=n.indexOf(s);-1!==d&&n.splice(d,1),i=!0,l.push({code:"ghost_prune",uuid:b,topic:o});continue}}try{s.handler(r,e),t++}catch(e){pe('bw.pub: subscriber error on topic "'+o+'":',e)}}i&&0===n.length&&delete ce._topics[o];for(var u=0;u<l.length;u++)ce.pub("bw:diag",l[u])}}n(ce._topics[e],e);for(var o=Object.keys(ce._topics),a=0;a<o.length;a++){var i=o[a];if("*"===i.charAt(i.length-1)){var l=i.slice(0,-1);e.length>=l.length&&e.substring(0,l.length)===l&&e!==i&&n(ce._topics[i],i)}}return t},ce.sub=function(e,r,t){var n=++ce._subIdCounter;ce._topics[e]||(ce._topics[e]=[]);var o={handler:r,id:n};t&&(o.tiedEl=t),ce._topics[e].push(o);var a=function(){var r=ce._topics[e];r&&(ce._topics[e]=r.filter(function(e){return e.id!==n}),0===ce._topics[e].length&&delete ce._topics[e])};return t&&(t._bw_subs||(t._bw_subs=[]),t._bw_subs.push(a),ce.getUUID(t)||t.classList.add(ce.uuid("uuid")),t.classList.contains(me)||t.classList.add(me)),a},ce.unsub=function(e,r){var t=ce._topics[e];if(!t)return 0;var n=t.length;ce._topics[e]=t.filter(function(e){return e.handler!==r});var o=n-ce._topics[e].length;return 0===ce._topics[e].length&&delete ce._topics[e],o},ce.once=function(e,r,t){var n=ce.sub(e,function(e){n(),r(e)},t);return n},ce.derive=function(e,r,t,n){n=n||{};var o=new Array(e.length),a=new Array(e.length),i=!1,l=[];if(n.seed){if(n.seed.length!==e.length)throw new TypeError("bw.derive: seed length ("+n.seed.length+") must match inputs length ("+e.length+")");for(var c=0;c<n.seed.length;c++)o[c]=n.seed[c],a[c]=!0}function s(){for(var e=0;e<a.length;e++)if(!a[e])return!1;return!0}function b(){if(!i)try{var e=r.apply(null,o);ce.pub(t,e)}catch(e){ce.pub("bw:diag",{code:"derive_error",outTopic:t,msg:e.message})}}-1!==e.indexOf(t)&&ce.pub("bw:diag",{code:"derive_cycle",inputs:e,outTopic:t});for(var d=0;d<e.length;d++)(function(r){var t=ce.sub(e[r],function(e){o[r]=e,a[r]=!0,s()&&b()});l.push(t)})(d);function u(){if(!i){i=!0;for(var e=0;e<l.length;e++)try{l[e]()}catch(e){}}}return n.immediate&&s()&&b(),n.el&&(n.el._bw_subs||(n.el._bw_subs=[]),n.el._bw_subs.push(u)),u},ce._fnRegistry={},ce._fnIDCounter=0,ce.funcRegister=function(e,r){if(!_e(e,"function"))return"";var t=_e(r,"string")&&r.length>0?r:"bw_fn_"+ce._fnIDCounter++;return ce._fnRegistry[t]=e,t},ce.funcGetById=function(e,r){return(e=String(e))in ce._fnRegistry?ce._fnRegistry[e]:_e(r,"function")?r:function(){pe('bw.funcGetById: unregistered fn "'+e+'"')}},ce.funcGetDispatchStr=function(e,r){return"bw.funcGetById('"+e+"')("+(r=null!=r?String(r):"")+")"},ce.funcUnregister=function(e){return e in ce._fnRegistry&&(delete ce._fnRegistry[e],!0)},ce.funcGetRegistry=function(){var e={};for(var r in ce._fnRegistry)se.call(ce._fnRegistry,r)&&(e[r]=ce._fnRegistry[r]);return e},ce._FUNC_REGISTRY_SHIM='(function(){var bw=window.bw||(window.bw={});if(!bw._fnRegistry)bw._fnRegistry={};bw.funcGetById=function(n){return bw._fnRegistry[n]||function(){console.warn("bw: unregistered fn "+n)};};bw.funcRegister=function(fn,name){var id=name||("bw_fn_"+(bw._fnIDCounter=(bw._fnIDCounter||0)+1));bw._fnRegistry[id]=fn;return id;};window.bw=bw;})();',ce._parseBindings=function(e){for(var r,t=[],n=/\$\{([^}]+)\}/g;null!==(r=n.exec(e));)t.push({start:r.index,end:r.index+r[0].length,expr:r[1].trim()});return t},ce._evaluatePath=function(e,r){for(var t=r.split("."),n=e,o=0;o<t.length;o++){if(null==n)return ce.debug&&pe('bw.debug: _evaluatePath — null at key "'+t[o]+'" in path "'+r+'"'),"";n=n[t[o]]}return null==n?"":n},ce._compiledExprs={},ce._resolveTemplate=function(e,r,t){if(!_e(e,"string")||e.indexOf("${")<0)return e;var n=ce._parseBindings(e);if(0===n.length)return e;for(var o="",a=0,i=0;i<n.length;i++){var l,c=n[i];if(o+=e.slice(a,c.start),t){if(!ce._compiledExprs[c.expr])try{ce._compiledExprs[c.expr]=new Function("state","with(state){return ("+c.expr+");}")}catch(e){ce._compiledExprs[c.expr]=function(){return""}}try{l=ce._compiledExprs[c.expr](r)}catch(e){ce.debug&&pe('bw.debug: _resolveTemplate — Tier 2 eval failed for "${'+c.expr+'}":',e.message),l=""}}else l=ce._evaluatePath(r,c.expr);o+=null==l?"":String(l),a=c.end}return o+=e.slice(a)},ce.message=function(e,r,t){var n=ce.el(e);if(!n&&_e(e,"string")&&0!==e.indexOf("#")&&0!==e.indexOf("."))try{n=ce.$("."+e)[0]}catch(e){}return n&&n.bw&&"function"==typeof n.bw[r]?(n.bw[r](t),!0):(pe('bw.message: no handle method "'+r+'" on '+e),!1)},ce.formData=function(e){var r=ce.el(e);if(!r)return{};for(var t={},n=r.querySelectorAll("input, select, textarea"),o=0;o<n.length;o++){var a=n[o],i=a.name||a.id;if(i)if("checkbox"===a.type)t[i]=a.checked;else if("radio"===a.type)a.checked&&(t[i]=a.value);else if("SELECT"===a.tagName&&a.multiple){t[i]=[];for(var l=0;l<a.options.length;l++)a.options[l].selected&&t[i].push(a.options[l].value)}else t[i]=a.value}return t},ce.jsonPatch=function(e,r){if(!be(r))return e;function t(e){if(""===e)return[];if("/"!==e.charAt(0))throw new Error("Invalid JSON Pointer: "+e);return e.slice(1).split("/").map(function(e){return e.replace(/~1/g,"/").replace(/~0/g,"~")})}function n(e,r){for(var t=e,n=0;n<r.length-1;n++){var o=be(t)?parseInt(r[n],10):r[n];if(void 0===t[o])throw new Error("Path not found: /"+r.slice(0,n+1).join("/"));t=t[o]}return{parent:t,key:be(t)?parseInt(r[r.length-1],10):r[r.length-1]}}function o(e,r){for(var t=e,n=0;n<r.length;n++){var o=be(t)?parseInt(r[n],10):r[n];if(void 0===t[o])throw new Error("Path not found: /"+r.slice(0,n+1).join("/"));t=t[o]}return t}for(var a=0;a<r.length;a++){var i=r[a];if(!i.op||!_e(i.path,"string"))throw new Error("Invalid patch operation at index "+a);var l,c,s,b,d,u,_=t(i.path);switch(i.op){case"add":if(0===_.length)throw new Error("Cannot add to root");l=n(e,_),be(l.parent)&&l.key<=l.parent.length?l.parent.splice(l.key,0,i.value):l.parent[l.key]=i.value;break;case"remove":if(0===_.length)throw new Error("Cannot remove root");if(l=n(e,_),be(l.parent)){if(l.key>=l.parent.length)throw new Error("Index out of bounds: "+l.key);l.parent.splice(l.key,1)}else{if(!(l.key in l.parent))throw new Error("Path not found: "+i.path);delete l.parent[l.key]}break;case"replace":if(0===_.length)throw new Error("Cannot replace root");if(l=n(e,_),be(l.parent)){if(l.key>=l.parent.length)throw new Error("Index out of bounds: "+l.key)}else if(!(l.key in l.parent))throw new Error("Path not found: "+i.path);l.parent[l.key]=i.value;break;case"move":if(!_e(i.from,"string"))throw new Error('move requires "from"');c=o(e,s=t(i.from)),b=n(e,s),be(b.parent)?b.parent.splice(b.key,1):delete b.parent[b.key],d=n(e,_),be(d.parent)&&d.key<=d.parent.length?d.parent.splice(d.key,0,c):d.parent[d.key]=c;break;case"copy":if(!_e(i.from,"string"))throw new Error('copy requires "from"');c=o(e,t(i.from)),u=n(e,_),be(u.parent)&&u.key<=u.parent.length?u.parent.splice(u.key,0,c):u.parent[u.key]=c;break;case"test":var p=o(e,_);if(JSON.stringify(p)!==JSON.stringify(i.value))throw new Error("Test failed: "+i.path+" expected "+JSON.stringify(i.value)+" got "+JSON.stringify(p));break;default:throw new Error("Unknown op: "+i.op)}}return e},ce._clientFunctions={},ce.parseJSONFlex=function(e){if("r"!==(e=(e||"").trim()).charAt(0))return JSON.parse(e);for(var r=[],t=0,n=(e=e.slice(1)).length;t<n;){var o=e[t];if("'"===o){for(r.push('"'),t++;t<n;){var a=e[t];if("\\"===a&&t+1<n){var i=e[t+1];"'"===i?r.push("'"):(r.push("\\"),r.push(i)),t+=2}else if('"'===a)r.push('\\"'),t++;else{if("'"===a)break;r.push(a),t++}}r.push('"'),t++}else if('"'===o)for(r.push(o),t++;t<n;){var l=e[t];if("\\"===l&&t+1<n)r.push(l),r.push(e[t+1]),t+=2;else if(r.push(l),t++,'"'===l)break}else if(","===o){for(var c=t+1;c<n&&(" "===e[c]||"\t"===e[c]||"\n"===e[c]||"\r"===e[c]);)c++;c<n&&("}"===e[c]||"]"===e[c])||r.push(o),t++}else r.push(o),t++}return JSON.parse(r.join(""))},ce.actions=function(){var e=!1;function r(e){if(!e||!e.classList)return null;for(var r=e.classList,t=[],n=0;n<r.length;n++)0===r[n].indexOf("bw_act_")&&t.push(r[n].substring(7));return t}function t(e){for(var r=e;r;){if(r._bw_type)return{uuid:ce.getUUID(r),type:r._bw_type};r=r.parentElement}return null}function n(n){if(e)for(var o=n.target;o&&o!==document;){var a=r(o);if(a&&a.length>0){var i=a[0];a.length>1&&ce.pub("bw:diag",{code:"act_multiple",tokens:a});var l=o.tagName?o.tagName.toLowerCase():"";"a"!==l&&"form"!==l||n.preventDefault();var c=null,s=null,b=null;if("input"!==l&&"textarea"!==l&&"select"!==l||(c=o.value,s=o.getAttribute("name")),"form"===l){b={};try{new FormData(o).forEach(function(e,r){b[r]=e})}catch(e){}}var d=ce.getUUID(o)||o.getAttribute("id")||null,u=t(o.parentElement),_={action:i,value:c,name:s,ref:d,owner:u};return b&&(_.form=b),ce.pub("act:"+i,_),void(ce.remote&&"function"==typeof ce.remote.send&&ce.remote.send({v:1,type:"event",action:i,value:c,name:s,ref:d,owner:u}))}o=o.parentElement}}var o=null;function a(){"undefined"!=typeof document&&o!==document&&(o=document,document.addEventListener("click",n,!0),document.addEventListener("change",n,!0),document.addEventListener("input",n,!0),document.addEventListener("submit",n,!0))}return{enable:function(){e=!0,a()},disable:function(){e=!1},_ensureInstalled:function(){e&&a()},_reset:function(){e=!1,o=null}}}(),ce.remote=null,ce._clientRemotes={},ce._wireListeners={},ce.registerRemote=function(e,r){ce._clientRemotes[e]=r},ce.connect=function(e){ce.pub("bw:diag",{code:"remote_status",status:"connecting",url:e});var r=new EventSource(e),t={send:function(r){try{var t=new XMLHttpRequest;t.open("POST",e.replace("/events/","/apply/"),!0),t.setRequestHeader("Content-Type","application/json"),t.send(JSON.stringify(r))}catch(e){}},close:function(){r.close()}};return r.onopen=function(){ce.pub("bw:diag",{code:"remote_status",status:"connected"})},r.onmessage=function(e){try{ce.apply(JSON.parse(e.data))}catch(e){}},r.onerror=function(){ce.pub("bw:diag",{code:"remote_status",status:"disconnected"})},ce.remote=t,t},ce.apply=function(e){if(!e||!e.type)return!1;if("hello"===e.type)return!0;if("batch"!==e.type&&1!==e.v)return ce.pub("bw:diag",{code:"wire_rejected",msg:"missing or unknown version",v:e.v}),!1;var r=e.type,t=e.ref;if(void 0!==e.target||void 0!==e.node)return ce.pub("bw:diag",{code:"wire_rejected",msg:"v:1 uses ref/taco, not target/node"}),!1;if("mount"===r){var n=ce.el(t);return!!n&&(ce.mount(n,xe(e.taco)),!0)}if("patch"===r){var o=ce.el(t);return!!o&&(void 0!==e.text?ce.patch(o,e.text):e.attrs?ce.patch(o,e.attrs):e.content&&ce.patch(o,xe(e.content)),!0)}if("append"===r){var a=ce.el(t);return!!a&&(ce.append(a,xe(e.taco)),!0)}if("replace"===r){var i=ce.el(t);return!!i&&(ce.replace(i,xe(e.taco)),!0)}if("remove"===r){var l=ce.el(t);return!!l&&(ce.remove(l),!0)}if("refresh"===r){var c=ce.el(t);return!!c&&(c._bw_render?(ce.refresh(c),!0):(ce.pub("bw:diag",{code:"refresh_no_render",ref:t}),!1))}if("update"===r){var s=ce.el(t);return!!s&&(ce.update(s,e.data),!0)}if("message"===r)return!1!==ce.message(t,e.action,e.data);if("batch"===r){if(!be(e.ops))return!1;for(var b=!0,d=0;d<e.ops.length;d++)try{ce.apply(e.ops[d])||(b=!1)}catch(e){b=!1}return b}if("listen"===r)return!!e.topic&&(ce._wireListeners[e.topic]||(ce._wireListeners[e.topic]=ce.sub(e.topic,function(r){ce.remote&&"function"==typeof ce.remote.send&&ce.remote.send({v:1,type:"topic",topic:e.topic,data:r})})),!0);if("unlisten"===r)return!(!e.topic||!ce._wireListeners[e.topic])&&(ce._wireListeners[e.topic](),delete ce._wireListeners[e.topic],!0);if("call"===r){if(!e.name)return!1;var u=ce._clientRemotes[e.name]||ce._clientFunctions[e.name];if(!_e(u,"function"))return!1;try{var _=be(e.args)?e.args:[];return u.apply(null,_),!0}catch(e){return!1}}else if("exec"===r||"register"===r)return ce.pub("bw:diag",{code:"wire_rejected",msg:r+" is not a valid v:1 verb"}),!1;return ce.pub("bw:diag",{code:"wire_rejected",msg:"unknown type: "+r}),!1},ce.inspect=function(e,r){var t=ce.el(e);if(!t&&_e(e,"string")&&(t=ce.$(e)[0]),!t)return null;return null==r&&(r=3),function e(t,n){if(!t)return null;if(1!==t.nodeType)return null;var o={tag:t.tagName?t.tagName.toLowerCase():"#text"};t.id&&(o.id=t.id);var a=ce.getUUID(t);if(a&&(o.uuid=a),t._bw_type&&(o.type=t._bw_type),t.className&&"string"==typeof t.className&&(o.classes=t.className.split(" ").slice(0,5).join(" ")),t.bw){var i=de(t.bw);i.length>0&&(o.handles=i)}if(t._bw_state&&(o.state=t._bw_state),t._bw_render&&(o.hasRender=!0),t._bw_subs&&t._bw_subs.length>0&&(o.hasSubs=!0),t._bw_refs&&(o.refs=de(t._bw_refs)),n<r&&t.children&&t.children.length>0){o.children=[];for(var l=Math.min(t.children.length,50),c=0;c<l;c++){var s=e(t.children[c],n+1);s&&o.children.push(s)}t.children.length>50&&o.children.push({tag:"...",count:t.children.length-50})}return o}(t,0)},ce.compile=function(){throw new Error("bw.compile() removed in v2.0.19. Use o.handle/o.slots on TACO options instead.")},ce.css=function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=r.minify,n=void 0!==t&&t,o=r.pretty,a=void 0===o?!n:o;if(_e(e,"string"))return e;var l="",c=a?" ":"",s=a?"\n":"",b=a?" ":"";return be(e)?l=e.map(function(e){return ce.css(e,r)}).join(s):_e(e,"object")&&Object.entries(e).forEach(function(e){var t=i(e,2),n=t[0],o=t[1];if(_e(o,"object")){if("@"===n.charAt(0)){var a=ce.css(o,r);return void(a&&(l+="".concat(n).concat(b,"{").concat(s).concat(a).concat(s,"}").concat(s)))}var d=Object.entries(o).filter(function(e){return null!=i(e,2)[1]}).map(function(e){var r=i(e,2),t=r[0],n=r[1],o=t.replace(/[A-Z]/g,function(e){return"-"+e.toLowerCase()});return"".concat(c).concat(o,":").concat(b).concat(n,";")}).join(s);d&&(l+="".concat(n).concat(b,"{").concat(s).concat(d).concat(s,"}").concat(s))}}),l.trim()},ce.injectCSS=function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!ce._isBrowser)return pe("bw.injectCSS requires a DOM environment"),null;var t=r.id,n=void 0===t?"bw_styles":t,o=r.append,a=void 0===o||o;n&&/^bw_style_/.test(n)&&!r._internal&&ce.pub("bw:diag",{code:"css_reserved_id",ref:n,msg:'id "'+n+'" is in the reserved bw_style_* namespace'});var i=document.getElementById(n);if(!i)if((i=document.createElement("style")).id=n,i.type="text/css",/^bw_style_/.test(n)){var l=["bw_style_reset","bw_style_structural","bw_style_global"],c=l.indexOf(n);-1===c&&(c=l.length);for(var s=!1,b=document.head.querySelectorAll('style[id^="bw_style_"]'),d=0;d<b.length;d++){var u=l.indexOf(b[d].id);if(-1===u&&(u=l.length),u>c){document.head.insertBefore(i,b[d]),s=!0;break}}s||document.head.appendChild(i)}else document.head.appendChild(i);ce.config&&ce.config.cspNonce&&i.setAttribute("nonce",ce.config.cspNonce);var _=_e(e,"string")?e:ce.css(e,r);return a&&i.textContent?i.textContent+="\n"+_:i.textContent=_,i},ce.s=function(){for(var e={},r=0;r<arguments.length;r++){var t=arguments[r];_e(t,"object")&&Object.assign(e,t)}return e},ce.responsive=function(e,r){var t={sm:"576px",md:"768px",lg:"992px",xl:"1200px"},n=[];return de(r).forEach(function(o){var a={};"base"===o?(a[e]=r[o],n.push(ce.css(a))):t[o]&&(a[e]=r[o],n.push("@media (min-width: "+t[o]+") {\n"+ce.css(a)+"\n}"))}),n.join("\n")},ce.mapScale=function(e,r,t,n,o){var a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},i=a.clip,l=void 0!==i&&i,c=a.expScale,s=void 0===c?1:c,b=(e-r)/(t-r);1!==s&&(b=Math.pow(b,s));var d=b*(o-n)+n;if(l){var u=Math.min(n,o),_=Math.max(n,o);d=Math.max(u,Math.min(_,d))}return d},ce.clip=function(e,r,t){return Math.max(r,Math.min(t,e))},ce.$=function(e,r){if(!ce._isBrowser)return[];var t;if(t=e?be(e)?e:e.nodeType?[e]:void 0===e.length||_e(e,"string")?_e(e,"string")?Array.from(document.querySelectorAll(e)):[]:Array.from(e):[],void 0!==r)for(var n=0;n<t.length;n++)fe(t[n],r);return t},ce.$.one=function(e){return ce.$(e)[0]||null},ce.makeStyles=function(e){var r=Object.assign({},D,e||{});if(e&&!e.tertiary&&(r.tertiary=r.primary),r.primary&&r.secondary){var t=k(r.primary),n=k(r.secondary),o=(Math.max(t,n)+.05)/(Math.min(t,n)+.05);o<1.5&&ce.pub("bw:diag",{code:"contrast_aa",msg:"primary/secondary seeds have near-identical luminance (ratio "+o.toFixed(2)+")"})}var a=z(r),i=function(e){var r=e&&e.spacing||"normal",t=e&&e.radius||"md",n=e&&e.fontSize||1,o=e&&e.typeRatio||"normal",a="string"==typeof o?U[o]||U.normal:o,i=e&&e.elevation||"md",l=e&&e.motion||"standard";return{spacing:"string"==typeof r?L[r]||L.normal:r,radius:"string"==typeof t?T[t]||T.md:t,fontSize:n,typeScale:I(16,a),elevation:"string"==typeof i?N[i]||N.md:i,motion:"string"==typeof l?R[l]||R.standard:l}}(r),l=H("",a,i),c=ce.css(l),s=z(M(r)),b=H("",s,i);return b.body={color:s.dark.base,"background-color":s.surface||s.light.base},{css:c,alternateCss:ce.css(b),rules:l,alternateRules:b,palette:a,alternatePalette:s,isLightPrimary:A(r)}},ce.applyStyles=function(e,r){if(!ce._isBrowser)return null;if(!e||!e.rules)return pe("bw.applyStyles: invalid styles object"),null;if(r&&!Ce(r))return null;var t=ke(r),n=e.rules;r&&(n=W(n,r));var o=e.alternateRules;if(o){var a=null;if(r&&o.body){a=o.body;var i={};for(var l in o)Object.prototype.hasOwnProperty.call(o,l)&&"body"!==l&&(i[l]=o[l]);o=i}r?(o=W(o,r+".bw_theme_alt"),a&&(o[r+".bw_theme_alt"]=a)):o=W(o,".bw_theme_alt")}var c=ce.css(n);return o&&(c+="\n"+ce.css(o)),ce.injectCSS(c,{id:t,append:!1,_internal:!0})},ce.loadStyles=function(e,r){ce.loadStructural();var t=ce.makeStyles(e);return ce.applyStyles(t,r),t},ce.loadStructural=function(){if(!ce._isBrowser)return null;var e=document.getElementById("bw_style_structural");if(e)return e;var r=ce.css(G());return ce.injectCSS(r,{id:"bw_style_structural",append:!1,_internal:!0})},ce.scopeRulesUnder=W,ce.loadReset=function(){if(!ce._isBrowser)return null;var e,r=document.getElementById("bw_style_reset");return r||ce.injectCSS(ce.css((e={},Object.assign(e,X.base),e["@media (prefers-reduced-motion: reduce)"]={"*, *::before, *::after":{"animation-duration":"0.01ms !important","animation-iteration-count":"1 !important","transition-duration":"0.01ms !important","scroll-behavior":"auto !important"}},e)),{id:"bw_style_reset",append:!1,_internal:!0})},ce.setThemeMode=function(e,r){if(!ce._isBrowser)return{mode:"primary",count:0};if(!Ce(r))return{mode:e,count:0};var t;t=r?ce.$(r):[document.documentElement];for(var n=0;n<t.length;n++)"alternate"===e?t[n].classList.add("bw_theme_alt"):t[n].classList.remove("bw_theme_alt");var o={mode:e,count:t.length};return ce.pub("bw:thememode",{mode:e,scope:r||"html",count:t.length}),o},ce.toggleThemeMode=function(e){if(!ce._isBrowser)return"primary";if(!Ce(e))return"primary";var r;if(!(r=e?ce.$(e):[document.documentElement]).length)return"primary";for(var t=r[0].classList.contains("bw_theme_alt")?"primary":"alternate",n=0;n<r.length;n++)"alternate"===t?r[n].classList.add("bw_theme_alt"):r[n].classList.remove("bw_theme_alt");return t},ce.clearStyles=function(e){if(ce._isBrowser){var r=ke(e),t=document.getElementById(r);if(t&&t.remove(),e&&"reset"!==e&&"structural"!==e&&"global"!==e)for(var n=ce.$(e),o=0;o<n.length;o++)n[o].classList.remove("bw_theme_alt");else e&&"global"!==e||document.documentElement.classList.remove("bw_theme_alt")}},ce.hexToHsl=h,ce.hslToHex=v,ce.adjustLightness=y,ce.mixColor=x,ce.relativeLuminance=k,ce.textOnColor=C,ce.deriveShades=j,ce.derivePalette=z,ce.harmonize=S,ce.deriveAlternateSeed=O,ce.deriveAlternateConfig=M,ce.isLightPalette=A,ce.colorParse=g,ce.colorRgbToHsl=function(e,r,t,n,o){void 0===n&&(n=255),void 0===o&&(o=!0),Array.isArray(e)&&(r=e[1],t=e[2],n=void 0!==e[3]?e[3]:255,e=e[0]);var a=p(e,r,t);return o&&(a[0]=Math.round(a[0]),a[1]=Math.round(a[1]),a[2]=Math.round(a[2]),n=Math.round(n)),[a[0],a[1],a[2],n,"hsl"]},ce.colorHslToRgb=w,ce.colorInterp=function(e,r,t,n,o){var a=Array.isArray(n)?n:["#000","#fff"];if(1===(a=0===a.length?["#000","#fff"]:a).length)return a[0];var i=m(e,r,t,0,(a=a.map(function(e){return g(e)})).length-1,{clip:!0,expScale:o}),l=u(Math.floor(i),0,a.length-2),c=i-l,s=function(e){return m(c,0,1,a[l][e],a[l+1][e],{clip:!0})};return[s(0),s(1),s(2),s(3),"rgb"]},ce.SPACING_PRESETS=L,ce.RADIUS_PRESETS=T,ce.TYPE_RATIO_PRESETS=U,ce.ELEVATION_PRESETS=N,ce.MOTION_PRESETS=R,ce.generateTypeScale=I,ce.DEFAULT_PALETTE_CONFIG=D,ce.THEME_PRESETS=P,ce.choice=function(e,r,t){var n=e in r?r[e]:t;return"function"===V(n)?n(e):n},ce.arrayUniq=Z,ce.arrayBinA=function(e,r){return"array"!==V(e)||"array"!==V(r)?[]:Z(e.filter(function(e){return-1!==r.indexOf(e)}))},ce.arrayBNotInA=function(e,r){return"array"!==V(e)||"array"!==V(r)?[]:Z(r.filter(function(r){return e.indexOf(r)<0}))},ce.setCookie=function(e,r,t){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};if(ce._isBrowser){var o=new Date;o.setTime(o.getTime()+24*t*60*60*1e3);var a="".concat(e,"=").concat(r,"; expires=").concat(o.toUTCString());n.path&&(a+="; path=".concat(n.path)),n.domain&&(a+="; domain=".concat(n.domain)),n.secure&&(a+="; secure"),n.sameSite&&(a+="; samesite=".concat(n.sameSite)),document.cookie=a}},ce.getCookie=function(e,r){if(!ce._isBrowser)return r;for(var t=e+"=",n=document.cookie.split(";"),o=0;o<n.length;o++){for(var a=n[o];" "===a.charAt(0);)a=a.substring(1);if(0===a.indexOf(t))return a.substring(t.length,a.length)}return r},ce.getURLParam=function(e,r){if(!ce._isBrowser||"object"!==("undefined"==typeof window?"undefined":c(window)))return r;try{var t=new URLSearchParams(window.location.search);if(!e){var n,o={},a=function(e,r){var t="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!t){if(Array.isArray(e)||(t=s(e))||r){t&&(e=t);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,i=!0,l=!1;return{s:function(){t=t.call(e)},n:function(){var e=t.next();return i=e.done,e},e:function(e){l=!0,a=e},f:function(){try{i||null==t.return||t.return()}finally{if(l)throw a}}}}(t);try{for(a.s();!(n=a.n()).done;){var l=i(n.value,2),b=l[0],d=l[1];o[b]=d||!0}}catch(e){a.e(e)}finally{a.f()}return o}return t.has(e)?t.get(e)||!0:r}catch(e){return r}},ce.loremIpsum=function(e,r){var t=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],n="Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. ";"number"!=typeof e&&(e=Math.floor(125*Math.random())+25),void 0===r&&(r=Math.floor(446*Math.random())),r%=446;for(var o=0;" "===n[r]||/[.,:;!?]/.test(n[r]);)if(r=(r+1)%446,++o>=446){r=0,o=0;break}for(var a=n.substring(r)+n.substring(0,r),i="",l=e+o;l>0;)i+=l<a.length?a.substring(0,l):a,l-=a.length;if(i.length>e&&(i=i.substring(0,e))," "===i[i.length-1]&&(i=i.substring(0,i.length-1)+"."),t){var c=i[0].toUpperCase();i=(c=/[A-Z]/.test(c)?c:"L")+i.substring(1)}return i},ce.multiArray=function(e,r){r="number"==typeof r?[r]:r;var t=function(n){if(n>=r.length)return"function"===V(e)?e():e;for(var o=[],a=0;a<r[n];a++)o[a]=t(n+1);return o};return t(0)},ce.naturalCompare=function(e,r){if(isFinite(e)&&isFinite(r))return Math.sign(e-r);var t=String(e).toLowerCase(),n=String(r).toLowerCase();if(t===n)return e>r?1:0;if(!/\d/.test(t)||!/\d/.test(n))return t>n?1:-1;for(var o=t.match(/(\d+|\D+)/g)||[],a=n.match(/(\d+|\D+)/g)||[],i=Math.min(o.length,a.length),l=0;l<i;l++){var c=o[l],s=a[l];if(c!==s){if(/^\d+$/.test(c)&&/^\d+$/.test(s)){var b=c,d=s;return"0"===c[0]&&(b="0."+c),"0"===s[0]&&(d="0."+s),parseFloat(b)-parseFloat(d)}return c>s?1:-1}}return o.length-a.length},ce.setIntervalX=function(e,r,t){var n=0,o=setInterval(function(){e(n),++n>=t&&clearInterval(o)},r);return o},ce.repeatUntil=function(e,r,t){var n=arguments.length>4&&void 0!==arguments[4]?arguments[4]:10,o=arguments.length>5?arguments[5]:void 0;if("function"!=typeof e)return"err";var a=0,i=setInterval(function(){var l=e();a++,l?(clearInterval(i),r&&r(l),o&&o(!0,a)):a>=n?(clearInterval(i),t&&t(),o&&o(!1,a)):t&&t()},arguments.length>3&&void 0!==arguments[3]?arguments[3]:250);return i},function(e){e.saveClientFile=function(r,t){if(e.isNodeJS())e._getFs().then(function(e){e?e.writeFile(r,t,function(e){e&&console.error("Error saving file:",e)}):console.error("bw.saveClientFile: fs module not available")});else{var n=new Blob([t],{type:"application/octet-stream"}),o=window.URL.createObjectURL(n),a=e.create({t:"a",a:{href:o,download:r,style:"display: none"}});document.body.appendChild(a),a.click(),window.URL.revokeObjectURL(o),document.body.removeChild(a)}},e.saveClientJSON=function(r,t){e.saveClientFile(r,JSON.stringify(t,null,2))},e.loadClientFile=function(r,t,n){var o={parser:"raw"};n&&n.parser&&(o.parser=n.parser);var a="JSON"===o.parser?JSON.parse:function(e){return e};if(e.isNodeJS())e._getFs().then(function(e){e?e.readFile(r,"utf8",function(e,r){if(e)t(null,e);else try{t(a(r),null)}catch(e){t(null,e)}}):t(null,new Error("fs module not available"))});else{var i=new XMLHttpRequest;i.open("GET",r,!0),i.onreadystatechange=function(){if(4===i.readyState)if(i.status>=200&&i.status<300)try{t(a(i.responseText),null)}catch(e){t(null,e)}else t(null,new Error("HTTP "+i.status+": "+r))},i.send(null)}return"BW_OK"},e.loadClientJSON=function(r,t){return e.loadClientFile(r,t,{parser:"JSON"})},e.loadLocalFile=function(r,t){var n={parser:"raw",accept:""};t&&(t.parser&&(n.parser=t.parser),t.accept&&(n.accept=t.accept));var o="JSON"===n.parser?JSON.parse:function(e){return e};if(e.isNodeJS())r(null,"",new Error("bw.loadLocalFile is browser-only. Use bw.loadClientFile() in Node."));else{var a=e.create({t:"input",a:{type:"file",accept:n.accept,style:"display: none"}});a.addEventListener("change",function(){var e=a.files[0];if(e){var t=new FileReader;t.onload=function(t){try{r(o(t.target.result),e.name,null)}catch(t){r(null,e.name,t)}},t.onerror=function(){r(null,e.name,t.error)},t.readAsText(e),a.remove()}else r(null,"",new Error("No file selected"))}),document.body.appendChild(a),a.click()}},e.loadLocalJSON=function(r){e.loadLocalFile(r,{parser:"JSON",accept:".json"})}}(ce),ce.copyToClipboard=function(e){return navigator.clipboard&&navigator.clipboard.writeText?navigator.clipboard.writeText(e):new Promise(function(r,t){var n=ce.create({t:"textarea",a:{value:e,style:{position:"fixed",top:"-999px",left:"-999px",width:"2em",height:"2em",padding:0,border:"none",outline:"none",boxShadow:"none",background:"transparent"}}});document.body.appendChild(n),n.focus(),n.select();try{var o=document.execCommand("copy");document.body.removeChild(n),o?r():t(new Error("Copy command failed"))}catch(e){document.body.removeChild(n),t(e)}})},ce.makeTable=function(e){var r=e.data,t=void 0===r?[]:r,n=e.columns,o=e.className,a=void 0===o?"":o,i=e.striped,c=void 0!==i&&i,s=e.hover,b=void 0!==s&&s,d=e.sortable,u=void 0===d||d,_=e.onSort,p=e.sortColumn,f=e.sortDirection,m=void 0===f?"asc":f,w=e.selectable,g=void 0!==w&&w,h=e.onRowClick,v=e.rowKey,y=e.pageSize,x=e.currentPage,k=void 0===x?1:x,C=e.onPageChange,S="bw_bccl_table";c&&(S+=" bw_bccl_table_striped"),(b||g)&&(S+=" bw_bccl_table_hover"),g&&(S+=" bw_bccl_table_selectable"),a&&(S+=" "+a),S=S.trim();var j=n||(t.length>0?de(t[0]).map(function(e){return{key:e,label:e}}):[]),O=p||null,A=m,M=l(t);O&&M.sort(function(e,r){var t=e[O],n=r[O];if(_e(t,"number")&&_e(n,"number"))return"asc"===A?t-n:n-t;var o=String(t||"").toLowerCase(),a=String(n||"").toLowerCase();return"asc"===A?o.localeCompare(a):a.localeCompare(o)});var z=M.length,E=y?Math.max(1,Math.ceil(z/y)):1,L=Math.max(1,Math.min(k,E));if(y){var T=(L-1)*y;M=M.slice(T,T+y)}function U(e,r,t,n){var o=e.querySelector("tbody");if(o)if(n){for(var a={},i=o.querySelectorAll("tr"),l=0;l<i.length;l++){var c=i[l].getAttribute("data-row-key");null!==c&&(a[c]=i[l])}for(var s=e.ownerDocument.createDocumentFragment(),b=0;b<r.length;b++){var d=r[b],u=String(d[n]);if(a[u]){for(var _=a[u],p=_.querySelectorAll("td"),f=0;f<t.length;f++)if(p[f]){var m=t[f].render?t[f].render(d[t[f].key],d):String(d[t[f].key]||"");p[f].textContent!==m&&(p[f].textContent=m)}s.appendChild(_)}else{var w=e.ownerDocument.createElement("tr");w.setAttribute("data-row-key",u);for(var g=0;g<t.length;g++){var h=e.ownerDocument.createElement("td");h.textContent=t[g].render?t[g].render(d[t[g].key],d):String(d[t[g].key]||""),w.appendChild(h)}s.appendChild(w)}}for(;o.firstChild;)o.removeChild(o.firstChild);o.appendChild(s)}else{for(;o.firstChild;)o.removeChild(o.firstChild);for(var v=0;v<r.length;v++){for(var y=e.ownerDocument.createElement("tr"),x=0;x<t.length;x++){var k=e.ownerDocument.createElement("td");k.textContent=t[x].render?t[x].render(r[v][t[x].key],r[v]):String(r[v][t[x].key]||""),y.appendChild(k)}o.appendChild(y)}}}var I={t:"table",a:{class:S},c:[{t:"thead",c:{t:"tr",c:j.map(function(e){var r={scope:"col","data-col-key":e.key};return u&&(r.style={cursor:"pointer",userSelect:"none"}),O===e.key&&(r["aria-sort"]="asc"===A?"ascending":"descending"),{t:"th",a:r,c:[e.label,u&&O===e.key&&{t:"span",a:{style:{marginLeft:"5px"}},c:"asc"===A?"▲":"▼"}].filter(Boolean)}})}},{t:"tbody",c:M.map(function(e,r){var t=y?(L-1)*y+r:r,n={};return v&&void 0!==e[v]&&(n["data-row-key"]=String(e[v])),(g||h)&&(n.style="cursor:pointer;",n.onclick=function(r){g&&r.currentTarget.classList.toggle("bw_bccl_table_row_selected");h&&h(e,t,r)}),{t:"tr",a:n,c:j.map(function(r){return{t:"td",c:r.render?r.render(e[r.key],e):String(e[r.key]||"")}})}})}],o:{type:"table",state:{data:t,columns:j,sortColumn:O,sortDirection:A,rowKey:v},handle:{sort:function(e,r,t){var n=e._bw_state||{};t||(t=n.sortColumn===r&&"asc"===n.sortDirection?"desc":"asc"),n.sortColumn=r,n.sortDirection=t,function(e,r,t){for(var n=e.querySelectorAll("th[data-col-key]"),o=0;o<n.length;o++)n[o].removeAttribute("aria-sort");for(var a=0;a<n.length;a++)if(n[a].getAttribute("data-col-key")===r){n[a].setAttribute("aria-sort","asc"===t?"ascending":"descending");break}}(e,r,t);var o=n.data?l(n.data):[];o.sort(function(e,n){var o=e[r],a=n[r];if("number"==typeof o&&"number"==typeof a)return"asc"===t?o-a:a-o;var i=String(o||"").toLowerCase(),l=String(a||"").toLowerCase();return"asc"===t?i.localeCompare(l):l.localeCompare(i)}),U(e,o,n.columns||j,n.rowKey),_&&_(r,t)},update:function(e,r){if(r){var t=e._bw_state||{};r.data&&(t.data=r.data,U(e,r.data,t.columns||j,t.rowKey))}},setData:function(e,r){var t=e._bw_state||{};t.data=r,U(e,r,t.columns||j,t.rowKey)},getData:function(e){return e._bw_state&&e._bw_state.data||[]}}}};if(!y)return I;var N=[];return N.push({t:"button",a:{class:"bw_bccl_btn bw_bccl_btn_sm",disabled:L<=1?"disabled":void 0,onclick:L>1&&C?function(){C(L-1)}:void 0},c:"Prev"}),N.push({t:"span",a:{style:"margin:0 0.5rem;font-size:0.875rem;"},c:"Page "+L+" of "+E}),N.push({t:"button",a:{class:"bw_bccl_btn bw_bccl_btn_sm",disabled:L>=E?"disabled":void 0,onclick:L<E&&C?function(){C(L+1)}:void 0},c:"Next"}),{t:"div",a:{class:"bw_bccl_table_paginated"},c:[I,{t:"div",a:{class:"bw_bccl_table_pagination",style:"display:flex;align-items:center;justify-content:flex-end;padding:0.5rem 0;gap:0.25rem;"},c:N}]}},ce.makeTableFromArray=function(e){var r,t,n=e.data,i=void 0===n?[]:n,l=e.headerRow,c=void 0===l||l,s=e.columns,b=a(e,ie);if(!be(i)||0===i.length)return ce.makeTable(o({data:[],columns:s||[]},b));if(c&&i.length>0)r=i[0].map(function(e){return String(e)}),t=i.slice(1);else{var d=i[0].length;r=[];for(var u=0;u<d;u++)r.push("col"+u);t=i}var _=t.map(function(e){var t={};return r.forEach(function(r,n){t[r]=void 0!==e[n]?e[n]:""}),t}),p=s||r.map(function(e){return{key:e,label:e}});return ce.makeTable(o({data:_,columns:p},b))},ce.makeBarChart=function(e){var r=e.data,t=void 0===r?[]:r,n=e.labelKey,o=void 0===n?"label":n,a=e.valueKey,i=void 0===a?"value":a,l=e.title,c=e.color,s=void 0===c?"#006666":c,b=e.height,d=void 0===b?"200px":b,u=e.formatValue,_=e.showValues,p=void 0===_||_,f=e.showLabels,m=void 0===f||f,w=e.className,g=void 0===w?"":w;if(!be(t)||0===t.length)return{t:"div",a:{class:("bw_bar_chart_container "+g).trim()},c:""};var h=t.map(function(e){return Number(e[i])||0}),v=Math.max.apply(null,h),y=t.map(function(e,r){var t=h[r],n=v>0?t/v*100:0,a=u?u(t):String(t),i=[];return p&&i.push({t:"div",a:{class:"bw_bar_value"},c:a}),i.push({t:"div",a:{class:"bw_bar",style:"height:"+n+"%;background:"+s+";"}}),m&&i.push({t:"div",a:{class:"bw_bar_label"},c:String(e[o]||"")}),{t:"div",a:{class:"bw_bar_group"},c:i}}),x=[];return l&&x.push({t:"h3",a:{class:"bw_bar_chart_title"},c:l}),x.push({t:"div",a:{class:"bw_bar_chart",style:"height:"+d+";"},c:y}),{t:"div",a:{class:("bw_bar_chart_container "+g).trim()},c:x}},ce.makeDataTable=function(e){var r=e.title,t=e.data,n=e.columns,i=e.className,l=void 0===i?"":i,c=e.striped,s=void 0===c||c,b=e.hover,d=void 0===b||b,u=e.responsive,_=void 0===u||u,p=a(e,le),f=ce.makeTable(o({data:t,columns:n,className:l,striped:s,hover:d},p)),m=[];return r&&m.push({t:"h5",a:{class:"mb-3"},c:r}),_?m.push({t:"div",a:{class:"table-responsive"},c:f}):m.push(f),{t:"div",a:{class:"bw_bccl_dataTable table-container"},c:m}},ce.render=function(e,r,t){try{var n,o=_e(e,"string")?ce.$(e)[0]:e;if(!o)return{el:null,ok:!1,error:"target not found"};switch(r){case"append":n=ce.append(o,t);break;case"prepend":n=ce.append(o,t,{before:0});break;case"replace":n=ce.replace(o,t);break;case"before":if(!o.parentNode)return{el:null,ok:!1,error:"no parent for before"};n=ce.append(o.parentNode,t,{before:o});break;case"after":if(!o.parentNode)return{el:null,ok:!1,error:"no parent for after"};n=ce.append(o.parentNode,t,{before:o.nextSibling});break;default:return{el:null,ok:!1,error:"invalid position: "+r}}return{el:n,ok:!0,error:null}}catch(e){return{el:null,ok:!1,error:e.message}}},function(e){var r=null;e.router=function(t){if(!t||!t.routes)throw new Error("bw.router: config.routes is required");if(!e._isBrowser)throw new Error("bw.router: requires a browser environment");var n=t.mode||"hash",o=t.base||"/";o.length>1&&"/"===o.charAt(o.length-1)&&(o=o.substring(0,o.length-1));for(var a=t.target||null,i=[],l=Object.keys(t.routes),c=0;c<l.length;c++)i.push({pattern:l[c],handler:t.routes[l[c]]});var s="/",b=!1;function d(){if("hash"===n)return window.location.hash.replace(/^#/,"")||"/";var e=window.location.pathname;return"/"!==o&&0===e.indexOf(o)&&(e=e.substring(o.length)||"/"),e+(window.location.search||"")}function u(r,n){if(!b){var o=s,l=Q(r);if(t.before){var c=t.before(l,o);if(!1===c)return;"string"==typeof c&&(l=Q(c),r=c)}s=l;var d=re(i,r);if(d){var u=d.handler(d.params);null!=u&&a&&e.DOM(a,u)}var _=ee(r);e.pub("bw:route",{path:l,params:d?d.params:{},query:_,from:o}),t.after&&t.after(l,o)}}function _(){b||u(d())}function p(){b||u(d())}"hash"===n?window.addEventListener("hashchange",_):window.addEventListener("popstate",p),u(d());var f={navigate:function(e,r){if(!b)if(r=r||{},"hash"===n){if(r.replace){var t=window.location;t.replace(t.pathname+t.search+"#"+e)}else window.location.hash=e;Q(window.location.hash.replace(/^#/,"")||"/")===Q(e)&&u(e)}else{var a=("/"===o?"":o)+e;r.replace?window.history.replaceState(null,"",a):window.history.pushState(null,"",a),u(e)}},current:function(){var e=d(),r=re(i,e);return{path:s,params:r?r.params:{},query:ee(e)}},destroy:function(){b=!0,"hash"===n?window.removeEventListener("hashchange",_):window.removeEventListener("popstate",p),r===f&&(r=null)}};return r=f,f},e.navigate=function(e,t){r?r.navigate(e,t):"undefined"!=typeof console&&console.warn&&console.warn("bw.navigate: no active router")},e.link=function(t,n,o){var a={};if(o)for(var i=Object.keys(o),l=0;l<i.length;l++)a[i[l]]=o[i[l]];return a.href=r?"#"+t:t,a.onclick=function(r){r.preventDefault(),e.navigate(t)},{t:"a",a:a,c:n}},e._router={matchRoute:re,normalizePath:Q,parseQuery:ee,getActiveRouter:function(){return r},resetActiveRouter:function(){r=null}}}(ce),Object.entries(ae).forEach(function(e){var r=i(e,2),t=r[0],n=r[1];t.startsWith("make")&&(ce[t]=n)}),ce.make=oe,ce.BCCL=ne,ce.BCCL.table={make:ce.makeTable},ce.BCCL.tableFromArray={make:ce.makeTableFromArray},ce.BCCL.dataTable={make:ce.makeDataTable},ce.BCCL.barChart={make:ce.makeBarChart},ce.variantClass=te,ce.catalog=function(e){if(e){var r=ce.BCCL[e];return r?{type:e,factory:r.make.name||"make"+e.charAt(0).toUpperCase()+e.slice(1)}:null}return Object.keys(ce.BCCL).map(function(e){return{type:e,factory:ce.BCCL[e].make.name||"make"+e.charAt(0).toUpperCase()+e.slice(1)}})},ce._isBrowser&&"undefined"!=typeof window&&(window.__bitwrench&&console.warn("bitwrench: already loaded (v"+window.__bitwrench+"); loading v"+ce.version+" over it."),window.__bitwrench=ce.version,window.bw=ce),ce});
3
3
  //# sourceMappingURL=bitwrench-lean.es5.min.js.map