nuclo 0.1.106 → 0.1.107

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 (121) hide show
  1. package/dist/nuclo.cjs +1 -1
  2. package/dist/nuclo.cjs.map +1 -1
  3. package/dist/nuclo.mjs +1 -1
  4. package/dist/nuclo.mjs.map +1 -1
  5. package/dist/nuclo.umd.js +1 -1
  6. package/dist/nuclo.umd.js.map +1 -1
  7. package/dist/ssr/nuclo.ssr.cjs +1 -1
  8. package/dist/ssr/nuclo.ssr.cjs.map +1 -1
  9. package/dist/ssr/nuclo.ssr.mjs +1 -1
  10. package/dist/ssr/nuclo.ssr.mjs.map +1 -1
  11. package/package.json +9 -9
  12. package/dist/core/attributeManager.d.ts +0 -3
  13. package/dist/core/attributeManager.d.ts.map +0 -1
  14. package/dist/core/classNameMerger.d.ts +0 -6
  15. package/dist/core/classNameMerger.d.ts.map +0 -1
  16. package/dist/core/conditionalUpdater.d.ts +0 -3
  17. package/dist/core/conditionalUpdater.d.ts.map +0 -1
  18. package/dist/core/elementFactory.d.ts +0 -9
  19. package/dist/core/elementFactory.d.ts.map +0 -1
  20. package/dist/core/modifierProcessor.d.ts +0 -3
  21. package/dist/core/modifierProcessor.d.ts.map +0 -1
  22. package/dist/core/reactive.d.ts +0 -4
  23. package/dist/core/reactive.d.ts.map +0 -1
  24. package/dist/core/reactiveAttributes.d.ts +0 -46
  25. package/dist/core/reactiveAttributes.d.ts.map +0 -1
  26. package/dist/core/reactiveCleanup.d.ts +0 -68
  27. package/dist/core/reactiveCleanup.d.ts.map +0 -1
  28. package/dist/core/reactiveText.d.ts +0 -39
  29. package/dist/core/reactiveText.d.ts.map +0 -1
  30. package/dist/core/runtimeBootstrap.d.ts +0 -5
  31. package/dist/core/runtimeBootstrap.d.ts.map +0 -1
  32. package/dist/core/styleManager.d.ts +0 -9
  33. package/dist/core/styleManager.d.ts.map +0 -1
  34. package/dist/core/tagConstants.d.ts +0 -4
  35. package/dist/core/tagConstants.d.ts.map +0 -1
  36. package/dist/core/tagRegistry.d.ts +0 -4
  37. package/dist/core/tagRegistry.d.ts.map +0 -1
  38. package/dist/core/updateController.d.ts +0 -2
  39. package/dist/core/updateController.d.ts.map +0 -1
  40. package/dist/core/updateScope.d.ts +0 -5
  41. package/dist/core/updateScope.d.ts.map +0 -1
  42. package/dist/index.d.ts +0 -18
  43. package/dist/index.d.ts.map +0 -1
  44. package/dist/internal/applyModifiers.d.ts +0 -31
  45. package/dist/internal/applyModifiers.d.ts.map +0 -1
  46. package/dist/list/index.d.ts +0 -2
  47. package/dist/list/index.d.ts.map +0 -1
  48. package/dist/list/renderer.d.ts +0 -7
  49. package/dist/list/renderer.d.ts.map +0 -1
  50. package/dist/list/runtime.d.ts +0 -6
  51. package/dist/list/runtime.d.ts.map +0 -1
  52. package/dist/list/types.d.ts +0 -18
  53. package/dist/list/types.d.ts.map +0 -1
  54. package/dist/polyfill/Document.d.ts +0 -19
  55. package/dist/polyfill/Document.d.ts.map +0 -1
  56. package/dist/polyfill/Element.d.ts +0 -42
  57. package/dist/polyfill/Element.d.ts.map +0 -1
  58. package/dist/polyfill/Event.d.ts +0 -43
  59. package/dist/polyfill/Event.d.ts.map +0 -1
  60. package/dist/polyfill/Node.d.ts +0 -13
  61. package/dist/polyfill/Node.d.ts.map +0 -1
  62. package/dist/polyfill/Text.d.ts +0 -11
  63. package/dist/polyfill/Text.d.ts.map +0 -1
  64. package/dist/polyfill/index.d.ts +0 -24
  65. package/dist/polyfill/index.d.ts.map +0 -1
  66. package/dist/ssr/index.d.ts +0 -18
  67. package/dist/ssr/index.d.ts.map +0 -1
  68. package/dist/ssr/renderToString.d.ts +0 -41
  69. package/dist/ssr/renderToString.d.ts.map +0 -1
  70. package/dist/style/cssGenerator.d.ts +0 -6
  71. package/dist/style/cssGenerator.d.ts.map +0 -1
  72. package/dist/style/cssPropertyTypes.d.ts +0 -98
  73. package/dist/style/cssPropertyTypes.d.ts.map +0 -1
  74. package/dist/style/index.d.ts +0 -5
  75. package/dist/style/index.d.ts.map +0 -1
  76. package/dist/style/styleBuilder.d.ts +0 -337
  77. package/dist/style/styleBuilder.d.ts.map +0 -1
  78. package/dist/style/styleCache.d.ts +0 -6
  79. package/dist/style/styleCache.d.ts.map +0 -1
  80. package/dist/style/styleProperties.d.ts +0 -13
  81. package/dist/style/styleProperties.d.ts.map +0 -1
  82. package/dist/style/styleQueries.d.ts +0 -25
  83. package/dist/style/styleQueries.d.ts.map +0 -1
  84. package/dist/utility/arrayUtils.d.ts +0 -2
  85. package/dist/utility/arrayUtils.d.ts.map +0 -1
  86. package/dist/utility/conditionalInfo.d.ts +0 -22
  87. package/dist/utility/conditionalInfo.d.ts.map +0 -1
  88. package/dist/utility/conditions.d.ts +0 -4
  89. package/dist/utility/conditions.d.ts.map +0 -1
  90. package/dist/utility/dom.d.ts +0 -47
  91. package/dist/utility/dom.d.ts.map +0 -1
  92. package/dist/utility/domTypeHelpers.d.ts +0 -43
  93. package/dist/utility/domTypeHelpers.d.ts.map +0 -1
  94. package/dist/utility/environment.d.ts +0 -5
  95. package/dist/utility/environment.d.ts.map +0 -1
  96. package/dist/utility/errorHandler.d.ts +0 -7
  97. package/dist/utility/errorHandler.d.ts.map +0 -1
  98. package/dist/utility/events.d.ts +0 -2
  99. package/dist/utility/events.d.ts.map +0 -1
  100. package/dist/utility/modifierPredicates.d.ts +0 -7
  101. package/dist/utility/modifierPredicates.d.ts.map +0 -1
  102. package/dist/utility/on.d.ts +0 -42
  103. package/dist/utility/on.d.ts.map +0 -1
  104. package/dist/utility/render.d.ts +0 -10
  105. package/dist/utility/render.d.ts.map +0 -1
  106. package/dist/utility/renderables.d.ts +0 -4
  107. package/dist/utility/renderables.d.ts.map +0 -1
  108. package/dist/utility/scope.d.ts +0 -3
  109. package/dist/utility/scope.d.ts.map +0 -1
  110. package/dist/utility/stringUtils.d.ts +0 -14
  111. package/dist/utility/stringUtils.d.ts.map +0 -1
  112. package/dist/utility/typeGuards.d.ts +0 -10
  113. package/dist/utility/typeGuards.d.ts.map +0 -1
  114. package/dist/when/builder.d.ts +0 -12
  115. package/dist/when/builder.d.ts.map +0 -1
  116. package/dist/when/index.d.ts +0 -44
  117. package/dist/when/index.d.ts.map +0 -1
  118. package/dist/when/renderer.d.ts +0 -6
  119. package/dist/when/renderer.d.ts.map +0 -1
  120. package/dist/when/runtime.d.ts +0 -57
  121. package/dist/when/runtime.d.ts.map +0 -1
package/dist/nuclo.cjs CHANGED
@@ -1,2 +1,2 @@
1
- Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});var e=Object.defineProperty,t=(t,n)=>{let r={};for(var i in t)e(r,i,{get:t[i],enumerable:!0});return n||e(r,Symbol.toStringTag,{value:`Module`}),r};function n(e){return e===null||typeof e!=`object`&&typeof e!=`function`}function r(e){return e instanceof Node}function i(e){return typeof e==`object`&&!!e}function a(e){return i(e)&&`tagName`in e}function o(e){return typeof e==`boolean`}function s(e){return typeof e==`function`}function c(e){return s(e)&&e.length===0}function l(e,t){typeof console<`u`&&console.error(`nuclo: ${e}`,t)}const u=typeof window<`u`&&typeof document<`u`,d=new WeakMap;function f(e,t,n,r,i,a){let o=d.get(e);o||(o=new Map,d.set(e,o));let s=o.get(t);s||(s=new Set,o.set(t,s)),s.add({original:n,wrapped:r,options:i,controller:a})}function p(e,t){let n=d.get(e);if(n)if(t){let r=n.get(t);if(r){for(let n of r)n.controller?n.controller.abort():e.removeEventListener(t,n.wrapped,n.options);n.delete(t)}}else{for(let[t,r]of n)for(let n of r)n.controller?n.controller.abort():e.removeEventListener(t,n.wrapped,n.options);d.delete(e)}}function ee(e,t,n){return function(r){if(!r||typeof r.addEventListener!=`function`)return;let i=r,a=new AbortController,o=function(n){try{t.call(i,n)}catch(t){l(`Error in '${e}' listener`,t)}},s=typeof n==`boolean`?{capture:n,signal:a.signal}:{...n||{},signal:a.signal};i.addEventListener(e,o,s),f(i,e,t,o,n,a)}}const m=new Map,h=new WeakMap,g=new Map,_=new WeakMap;function te(e,t){let n=new WeakRef(e);m.set(n,t),h.set(e,{ref:n,info:t})}function ne(e,t){let n=new WeakRef(e);g.set(n,t),_.set(e,{ref:n,info:t})}function re(e){m.delete(e)}function ie(e){g.delete(e)}function ae(e){let t=h.get(e);t&&(m.delete(t.ref),h.delete(e))}function oe(e){let t=_.get(e);t&&(g.delete(t.ref),_.delete(e))}const v=new Set;function se(e,t){e._conditionalInfo=t,v.add(new WeakRef(e))}function y(e){for(let t of v)if(t.deref()===e){v.delete(t);break}}function ce(){let e=[],t=[];for(let n of v){let r=n.deref();r===void 0?t.push(n):e.push(r)}for(let e of t)v.delete(e);return e}function le(e){return e._conditionalInfo??null}function b(e){return globalThis.document?document.createElement(e):null}function x(e,t){return globalThis.document?document.createElementNS(e,t):null}function S(e){return globalThis.document?document.createTextNode(e):null}function ue(){return globalThis.document?document.createDocumentFragment():null}function de(e,t){try{return e.appendChild(t),!0}catch(e){return l(`Failed to append child node`,e),!1}}function fe(e){if(e.nodeType===Node.ELEMENT_NODE){let t=e;p(t),oe(t),y(t)}else e.nodeType===Node.TEXT_NODE?ae(e):e.nodeType===Node.COMMENT_NODE&&y(e);if(e.childNodes&&e.childNodes.length>0)for(let t=0;t<e.childNodes.length;t++)fe(e.childNodes[t])}function pe(e){if(!e?.parentNode)return!1;try{return fe(e),e.parentNode.removeChild(e),!0}catch(e){return l(`Failed to remove child node`,e),!1}}function me(e,t,n){try{return e.insertBefore(t,n),!0}catch(e){return l(`Failed to insert node before reference`,e),!1}}function he(e){if(!u)return null;try{return S(String(e))}catch(e){return l(`Failed to create text node`,e),null}}function C(e){if(!u)return null;try{return document.createComment(e)}catch(e){return l(`Failed to create comment node`,e),null}}function w(e){return C(e)}function ge(e,t=`hidden`){try{return document.createComment(`conditional-${e}-${t}`)}catch(e){return l(`Failed to create conditional comment`,e),null}}function _e(e){if(!u)throw Error(`Cannot create comment in non-browser environment`);let t=C(`${e}-${Math.random().toString(36).slice(2)}`);if(!t)throw Error(`Failed to create comment`);return t}function ve(e){let t=C(`${e}-end`);if(!t)throw Error(`Failed to create end comment`);return{start:_e(`${e}-start`),end:t}}function ye(e,t){let n=e.nextSibling;for(;n&&n!==t;){let e=n.nextSibling;pe(n),n=e}}function be(e,t){let n=t.parentNode;if(n)for(let r=0;r<e.length;r++)me(n,e[r],t)}function xe(e,...t){if(!e)return e;for(let n=0;n<t.length;n++){let r=t[n];if(r!=null){let t;if(typeof r==`string`){let e=he(r);if(e)t=e;else continue}else t=r;de(e,t)}}return e}function T(e){return e?typeof e.isConnected==`boolean`?e.isConnected:u&&typeof document<`u`?document.contains(e):!1:!1}function E(e,t){if(!e?.parentNode)return!1;try{return e.parentNode.replaceChild(t,e),!0}catch(e){return l(`Error replacing conditional node`,e),!1}}function Se(e,t){if(typeof e!=`function`){l(`Invalid resolver provided to createReactiveTextNode`);let e=S(``);if(!e)throw Error(`Failed to create text node: document not available`);return e}let n;if(arguments.length>1)n=t;else try{n=e()}catch(e){l(`Failed to evaluate reactive text resolver`,e),n=``}let r=n===void 0?``:String(n),i=S(r);if(!i)throw Error(`Failed to create text node: document not available`);return te(i,{resolver:e,lastValue:r}),i}function Ce(e){let t=[];for(let[n,r]of m){let i=n.deref();if(i===void 0){t.push(n);continue}if(!T(i)){h.delete(i),t.push(n);continue}if(e&&!e.contains(i))continue;let a;try{a=r.resolver()}catch(e){l(`Failed to update reactive text node`,e),a=void 0}let o=a===void 0?``:String(a);o!==r.lastValue&&(i.textContent=o,r.lastValue=o)}for(let e of t)re(e)}const D={};let we=!1;function Te(e){let t=e.target;if(!t||typeof Node>`u`||!(t instanceof Node))return;let n=t;for(;n;){if(n instanceof Element){let e=_.get(n);e&&(T(n)?Ae(e.info):(ie(e.ref),_.delete(n)))}n=n.parentNode}}function Ee(){we||typeof document>`u`||typeof document.addEventListener!=`function`||(document.addEventListener(`update`,Te,!0),we=!0)}function De(e){let t=_.get(e);if(t)return t.info;let n={attributeResolvers:new Map};return ne(e,n),n}function Oe(e){return typeof e!=`object`||!e}function ke(e,t){let n;try{n=t.resolver()}catch(t){l(`Failed to resolve reactive attribute: ${e}`,t);return}let r=Oe(n);if(!(r&&Object.is(n,t.lastValue)))try{t.applyValue(n),t.lastValue=r?n:D}catch(t){l(`Failed to apply reactive attribute: ${e}`,t)}}function Ae(e){for(let[t,n]of e.attributeResolvers)ke(t,n)}function O(e,t,n,r){if(!(e instanceof Element)||!t||typeof n!=`function`){l(`Invalid parameters for registerAttributeResolver`);return}Ee();let i=De(e),a={resolver:n,applyValue:r,lastValue:D};i.attributeResolvers.set(t,a),ke(t,a)}function je(e){let t=[];for(let[n,r]of g){let i=n.deref();if(i===void 0){t.push(n);continue}if(!T(i)){_.delete(i),t.push(n);continue}e&&!e.contains(i)||Ae(r)}for(let e of t)ie(e)}function Me(e){return e}function Ne(e,t,n){let r=Me(e),i=r.appendChild.bind(r),a=r.insertBefore.bind(r);r.appendChild=function(e){return a(e,t)};try{return n()}finally{r.appendChild=i}}function Pe(e,t,n){try{if(n==null||n===``)return e.style[t]=``,!0;let r=String(n);return e.style[t]=r,!0}catch{return!1}}function Fe(e,t){if(!(!e?.style||!t))for(let[n,r]of Object.entries(t))Pe(e,n,r)||l(`Failed to set style property '${n}'`)}function Ie(e,t){e&&(s(t)?O(e,`style`,t,function(t){Fe(e,t)}):Fe(e,t))}const Le=`__nuclo_reactive_className__`,k=`__nuclo_static_className__`;function A(e,t){let n=0,r=t.length;for(let i=0;i<=r;i++)(i===r||t.charCodeAt(i)===32)&&(i>n&&e.add(t.substring(n,i)),n=i+1)}function j(e){let t=``;for(let n of e)t&&(t+=` `),t+=n;return t}function Re(e){if(!e[k]){let t=new Set;e.className&&A(t,e.className),e[k]=t}e[Le]=!0}function ze(e){return!!e[Le]}function Be(e){return e[k]}function Ve(e,t){t&&(e[k]||(e[k]=new Set),A(e[k],t))}function He(e,t){let n=Be(e);if(n&&n.size>0&&t){let r=new Set(n);A(r,t),e.className=j(r)}else t?e.className=t:n&&n.size>0?e.className=j(n):e.className=``}function Ue(e,t){if(!t)return;let n=e.className;if(n&&n!==t){let r=new Set;A(r,n),A(r,t),e.className=j(r)}else e.className=t}function We(e,t,n,r=!1){if(n==null)return;if(t===`style`){Ie(e,n);return}let i=(n,r=!1)=>{if(n!=null){if(t===`className`&&e instanceof HTMLElement&&r){Ue(e,String(n));return}if(e instanceof Element&&e.namespaceURI===`http://www.w3.org/2000/svg`)e.setAttribute(String(t),String(n));else if(t in e)try{e[t]=n}catch{e instanceof Element&&e.setAttribute(String(t),String(n))}else e instanceof Element&&e.setAttribute(String(t),String(n))}};if(s(n)&&n.length===0){let r=n;t===`className`&&e instanceof HTMLElement?(Re(e),O(e,String(t),r,function(t){He(e,String(t||``))})):O(e,String(t),r,function(e){i(e,!1)})}else{if(t===`className`&&e instanceof HTMLElement&&ze(e)){let t=String(n||``);if(t){Ve(e,t);let n=new Set(e.className.split(` `).filter(function(e){return e})),r=t.split(` `).filter(function(e){return e});for(let e=0;e<r.length;e++)n.add(r[e]);e.className=Array.from(n).join(` `)}return}i(n,r)}}function M(e,t,n=!0){if(t)for(let r of Object.keys(t)){let i=t[r];We(e,r,i,n&&r===`className`)}}const N=new WeakMap;function P(e,t,a){if(t==null)return null;if(s(t)){if(c(t))try{let o=N.get(t);if(o||(o={value:t(),error:!1},N.set(t,o)),o.error)return F(a,function(){return``});let s=o.value;if(i(s)&&!r(s)&&`className`in s&&typeof s.className==`string`&&Object.keys(s).length===1){let n=t;return M(e,{className:function(){let e=n();return i(e)&&`className`in e&&typeof e.className==`string`?e.className:``}}),null}return n(s)&&s!=null?F(a,t,s):null}catch(e){return N.set(t,{value:void 0,error:!0}),l(`Error evaluating reactive text function:`,e),F(a,function(){return``})}let o=t(e,a);return o==null?null:n(o)?I(a,o):r(o)?o:(i(o)&&M(e,o),null)}let o=t;return n(o)?I(a,o):r(o)?o:(M(e,o),null)}function F(e,t,n){let r=ue();if(!r)throw Error(`Failed to create document fragment: document not available`);let i=w(` text-${e} `);i&&r.appendChild(i);let a=Se(t,n);return r.appendChild(a),r}function I(e,t){let n=ue();if(!n)throw Error(`Failed to create document fragment: document not available`);let r=w(` text-${e} `);r&&n.appendChild(r);let i=S(String(t));return i&&n.appendChild(i),n}function L(e,t,n=0){if(!t||t.length===0)return{element:e,nextIndex:n,appended:0};let r=n,i=0,a=e;for(let n=0;n<t.length;n+=1){let o=t[n];if(o==null)continue;let s=P(e,o,r);s&&(s.parentNode!==a&&a.appendChild(s),r+=1,i+=1)}return{element:e,nextIndex:r,appended:i}}function R(e,t){let n=b(e);return L(n,t,0),n}function z(e,t){let n=x(`http://www.w3.org/2000/svg`,e);if(!n)throw Error(`Failed to create SVG element: ${e}`);return L(n,t,0),n}function Ge(e,...t){return function(n,r=0){let i=b(e);return L(i,t,r),i}}function Ke(e,...t){return function(n,r=0){let i=x(`http://www.w3.org/2000/svg`,e);if(!i)throw Error(`Failed to create SVG element: ${e}`);return L(i,t,r),i}}function B(e){return(...t)=>Ge(e,...t)}function qe(e){return(...t)=>Ke(e,...t)}const V=`a.abbr.address.area.article.aside.audio.b.base.bdi.bdo.blockquote.body.br.button.canvas.caption.cite.code.col.colgroup.data.datalist.dd.del.details.dfn.dialog.div.dl.dt.em.embed.fieldset.figcaption.figure.footer.form.h1.h2.h3.h4.h5.h6.head.header.hgroup.hr.html.i.iframe.img.input.ins.kbd.label.legend.li.link.main.map.mark.menu.meta.meter.nav.noscript.object.ol.optgroup.option.output.p.picture.pre.progress.q.rp.rt.ruby.s.samp.script.search.section.select.slot.small.source.span.strong.style.sub.summary.sup.table.tbody.td.template.textarea.tfoot.th.thead.time.title.tr.track.u.ul.var.video.wbr`.split(`.`),H=`a.animate.animateMotion.animateTransform.circle.clipPath.defs.desc.ellipse.feBlend.feColorMatrix.feComponentTransfer.feComposite.feConvolveMatrix.feDiffuseLighting.feDisplacementMap.feDistantLight.feDropShadow.feFlood.feFuncA.feFuncB.feFuncG.feFuncR.feGaussianBlur.feImage.feMerge.feMergeNode.feMorphology.feOffset.fePointLight.feSpecularLighting.feSpotLight.feTile.feTurbulence.filter.foreignObject.g.image.line.linearGradient.marker.mask.metadata.mpath.path.pattern.polygon.polyline.radialGradient.rect.script.set.stop.style.svg.switch.symbol.text.textPath.title.tspan.use.view`.split(`.`),Je=[`area`,`base`,`br`,`col`,`embed`,`hr`,`img`,`input`,`link`,`meta`,`source`,`track`,`wbr`];function Ye(e,t){t in e&&typeof e[t]!=`function`||(e[t]=B(t))}function Xe(e,t){let n=`${t}Svg`;n in e||(e[n]=qe(t))}function Ze(e=globalThis){let t=`__nuclo_tags_registered`;if(!e[t]){for(let t=0;t<H.length;t++)Xe(e,H[t]);for(let t=0;t<V.length;t++)Ye(e,V[t]);e[t]=!0}}function Qe(e,t){if(e===t)return!0;if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}function $e(e,t,n){if(s(e)){let r=e(t,n);return r&&a(r)?r:null}return e&&a(e)?e:null}const U=new Map;function et(e){return Array.isArray(e)?e:Array.from(e)}function tt(e,t,n){return $e(e.renderItem(t,n),e.host,n)}function nt(e){pe(e.element);let t=e;t.element=null,t.item=null}function rt(e){let{host:t,startMarker:n,endMarker:r}=e,i=n.parentNode??t,a=et(e.itemsProvider());if(Qe(e.lastSyncedItems,a))return;let o=new Map,s=new Map;for(let t=0;t<e.records.length;t++){let n=e.records[t],r=s.get(n.item);r?r.push(n):s.set(n.item,[n])}for(let t=0;t<a.length;t++){let n=a[t];if(t<e.lastSyncedItems.length&&e.lastSyncedItems[t]===n){let r=e.records[t];if(r&&r.item===n){o.set(t,r);let e=s.get(n);e.splice(e.indexOf(r),1),e.length===0&&s.delete(n)}}}let c=Array(a.length),l=new Set(e.records),u=r;for(let t=a.length-1;t>=0;t--){let n=a[t],r=o.get(t);if(!r){let e=s.get(n);e&&e.length>0&&(r=e.shift(),e.length===0&&s.delete(n))}if(r)l.delete(r);else{let i=tt(e,n,t);if(!i){c[t]=null;continue}r={item:n,element:i}}c[t]=r;let d=r.element;d.nextSibling!==u&&i.insertBefore(d,u),u=d}for(let e of l)nt(e);e.records=c.filter(Boolean),e.lastSyncedItems=a.slice(),c.length===0&&(e.records=[],e.lastSyncedItems=[])}function it(e,t,n){let{start:r,end:i}=ve(`list`),a={itemsProvider:e,renderItem:t,startMarker:r,endMarker:i,records:[],host:n,lastSyncedItems:[]},o=n;o.appendChild(r),o.appendChild(i);let s={runtime:a};return U.set(new WeakRef(r),s),rt(a),a}function at(e){let t=[];for(let[n,r]of U){let i=n.deref();if(i===void 0){if(r.runtime.records){for(let e=0;e<r.runtime.records.length;e++){let t=r.runtime.records[e];t.element=null,t.item=null}r.runtime.records=[]}t.push(n);continue}if(!T(i)||!T(r.runtime.endMarker)){if(r.runtime.records){for(let e=0;e<r.runtime.records.length;e++){let t=r.runtime.records[e];t.element=null,t.item=null}r.runtime.records=[]}t.push(n);continue}e&&!e.contains(i)||rt(r.runtime)}for(let e of t)U.delete(e)}function ot(e,t){return function(n,r){return it(e,t,n).startMarker}}function st(e,t){try{return e()}catch(e){if(t)return t(e),!1;throw e}}function ct(e,t){return typeof e==`function`?st(e,t):!!e}function lt(e,t,n,r){return s(e)?c(e)?(N.delete(e),P(t,e,n)):Ne(t,r,()=>{let r=P(t,e,n);return r&&!r.parentNode?r:null}):P(t,e,n)}function ut(e,t,n,r){let i=[];for(let a of e){let e=lt(a,t,n,r);e&&i.push(e)}return i}const W=new Map;function dt(e,t){for(let t=0;t<e.length;t++)if(ct(e[t].condition))return t;return t.length>0?-1:null}function ft(e){let{groups:t,elseContent:n,host:r,index:i,endMarker:a}=e,o=dt(t,n);o!==e.activeIndex&&(ye(e.startMarker,e.endMarker),e.activeIndex=o,o!==null&&be(ut(o>=0?t[o].content:n,r,i,a),a))}function pt(e){let t={runtime:e};W.set(new WeakRef(e.startMarker),t)}function mt(e){let t=[];for(let[n,r]of W){let i=n.deref();if(i===void 0){t.push(n);continue}if(!T(i)||!T(r.runtime.endMarker)){t.push(n);continue}if(!(e&&!e.contains(i)))try{r.runtime.update()}catch{t.push(n)}}for(let e of t)W.delete(e)}var ht=class{groups=[];elseContent=[];constructor(e,...t){this.groups.push({condition:e,content:t})}when(e,...t){return this.groups.push({condition:e,content:t}),this}else(...e){return this.elseContent=e,this}render(e,t){if(!u)return w(`when-ssr`)||null;let{start:n,end:r}=ve(`when`),i={startMarker:n,endMarker:r,host:e,index:t,groups:[...this.groups],elseContent:[...this.elseContent],activeIndex:null,update:function(){ft(i)}};pt(i);let a=Me(e);return a.appendChild(n),a.appendChild(r),ft(i),n}};function G(e){return Object.assign(function(t,n){return e.render(t,n)},{when:function(t,...n){return e.when(t,...n),G(e)},else:function(...t){return e.else(...t),G(e)}})}function gt(e,...t){return G(new ht(e,...t))}function _t(e){try{return e.isSvg?z(e.tagName,e.modifiers):R(e.tagName,e.modifiers)}catch(t){if(l(`Error applying modifiers in conditional element "${e.tagName}"`,t),e.isSvg){let t=x(`http://www.w3.org/2000/svg`,e.tagName);if(!t)throw Error(`Failed to create SVG element: ${e.tagName}`);return t}let n=b(e.tagName);if(!n)throw Error(`Failed to create element: ${e.tagName}`);return n}}function vt(e){let t=le(e);if(!t)return;let n=st(t.condition,e=>{l(`Error evaluating conditional condition`,e)}),r=e.nodeType===Node.ELEMENT_NODE;if(n&&!r){let n=_t(t);se(n,t),E(e,n)}else if(!n&&r){let n=ge(t.tagName);n&&(se(n,t),E(e,n))}}function yt(e){if(u)try{let t=ce();for(let n of t){if(!n.isConnected){y(n);continue}e&&!e.contains(n)||vt(n)}}catch(e){l(`Error during conditional elements update`,e)}}function bt(){if(typeof document>`u`)return;let e=document.body?[document.body,document]:[document];for(let t of e)try{t.dispatchEvent(new Event(`update`,{bubbles:!0}))}catch(e){l(`Error dispatching global update event`,e)}}const K=new Map;function xt(e){let t=[],n=new Set;for(let r of e){if(typeof r!=`string`)continue;let e=r.trim();e&&(n.has(e)||(n.add(e),t.push(e)))}return t}function St(e,t){let n=K.get(e);n||(n=new Set,K.set(e,n)),n.add(new WeakRef(t))}function Ct(e){let t=xt(e);if(t.length===0)return[];let n=new Set;for(let e of t){let t=K.get(e);if(!t)continue;let r=[];for(let e of t){let t=e.deref();if(t===void 0){r.push(e);continue}if(!T(t)){r.push(e);continue}n.add(t)}for(let e of r)t.delete(e);t.size===0&&K.delete(e)}return Array.from(n)}function wt(...e){let t=xt(e);return function(e){if(e instanceof Element)for(let n of t)St(n,e)}}const Tt=[at,mt,yt,je,Ce,bt];function Et(...e){let t;if(e.length>0){let n=Ct(e);if(n.length===1){let e=n[0];t={roots:n,contains:function(t){return e.contains(t)}}}else t={roots:n,contains:function(e){for(let t of n)if(t.contains(e))return!0;return!1}}}for(let e of Tt)e(t)}function Dt(e,t,n=0){let r=e(t||document.body,n);return(t||document.body).appendChild(r),r}const Ot=[{name:`display`,cssProperty:`display`},{name:`grid`,cssProperty:`display`,defaultValue:`grid`,isShorthand:!0},{name:`bg`,cssProperty:`background-color`},{name:`color`,cssProperty:`color`},{name:`accentColor`,cssProperty:`accent-color`},{name:`fontSize`,cssProperty:`font-size`},{name:`fontWeight`,cssProperty:`font-weight`},{name:`fontFamily`,cssProperty:`font-family`},{name:`lineHeight`,cssProperty:`line-height`},{name:`letterSpacing`,cssProperty:`letter-spacing`},{name:`textAlign`,cssProperty:`text-align`},{name:`textDecoration`,cssProperty:`text-decoration`},{name:`fontStyle`,cssProperty:`font-style`},{name:`fontVariant`,cssProperty:`font-variant`},{name:`fontStretch`,cssProperty:`font-stretch`},{name:`textTransform`,cssProperty:`text-transform`},{name:`textIndent`,cssProperty:`text-indent`},{name:`textOverflow`,cssProperty:`text-overflow`},{name:`textShadow`,cssProperty:`text-shadow`},{name:`whiteSpace`,cssProperty:`white-space`},{name:`wordSpacing`,cssProperty:`word-spacing`},{name:`wordWrap`,cssProperty:`word-wrap`},{name:`overflowWrap`,cssProperty:`overflow-wrap`},{name:`textAlignLast`,cssProperty:`text-align-last`},{name:`textJustify`,cssProperty:`text-justify`},{name:`textDecorationLine`,cssProperty:`text-decoration-line`},{name:`textDecorationColor`,cssProperty:`text-decoration-color`},{name:`textDecorationStyle`,cssProperty:`text-decoration-style`},{name:`textDecorationThickness`,cssProperty:`text-decoration-thickness`},{name:`textUnderlineOffset`,cssProperty:`text-underline-offset`},{name:`verticalAlign`,cssProperty:`vertical-align`},{name:`position`,cssProperty:`position`},{name:`padding`,cssProperty:`padding`},{name:`paddingTop`,cssProperty:`padding-top`},{name:`paddingRight`,cssProperty:`padding-right`},{name:`paddingBottom`,cssProperty:`padding-bottom`},{name:`paddingLeft`,cssProperty:`padding-left`},{name:`margin`,cssProperty:`margin`},{name:`marginTop`,cssProperty:`margin-top`},{name:`marginRight`,cssProperty:`margin-right`},{name:`marginBottom`,cssProperty:`margin-bottom`},{name:`marginLeft`,cssProperty:`margin-left`},{name:`width`,cssProperty:`width`},{name:`height`,cssProperty:`height`},{name:`minWidth`,cssProperty:`min-width`},{name:`maxWidth`,cssProperty:`max-width`},{name:`minHeight`,cssProperty:`min-height`},{name:`maxHeight`,cssProperty:`max-height`},{name:`boxSizing`,cssProperty:`box-sizing`},{name:`top`,cssProperty:`top`},{name:`right`,cssProperty:`right`},{name:`bottom`,cssProperty:`bottom`},{name:`left`,cssProperty:`left`},{name:`zIndex`,cssProperty:`z-index`},{name:`flexDirection`,cssProperty:`flex-direction`},{name:`alignItems`,cssProperty:`align-items`},{name:`justifyContent`,cssProperty:`justify-content`},{name:`gap`,cssProperty:`gap`},{name:`flexWrap`,cssProperty:`flex-wrap`},{name:`flexGrow`,cssProperty:`flex-grow`},{name:`flexShrink`,cssProperty:`flex-shrink`},{name:`flexBasis`,cssProperty:`flex-basis`},{name:`alignSelf`,cssProperty:`align-self`},{name:`alignContent`,cssProperty:`align-content`},{name:`justifySelf`,cssProperty:`justify-self`},{name:`justifyItems`,cssProperty:`justify-items`},{name:`gridTemplateColumns`,cssProperty:`grid-template-columns`},{name:`gridTemplateRows`,cssProperty:`grid-template-rows`},{name:`gridTemplateAreas`,cssProperty:`grid-template-areas`},{name:`gridColumn`,cssProperty:`grid-column`},{name:`gridRow`,cssProperty:`grid-row`},{name:`gridColumnStart`,cssProperty:`grid-column-start`},{name:`gridColumnEnd`,cssProperty:`grid-column-end`},{name:`gridRowStart`,cssProperty:`grid-row-start`},{name:`gridRowEnd`,cssProperty:`grid-row-end`},{name:`gridArea`,cssProperty:`grid-area`},{name:`gridAutoColumns`,cssProperty:`grid-auto-columns`},{name:`gridAutoRows`,cssProperty:`grid-auto-rows`},{name:`gridAutoFlow`,cssProperty:`grid-auto-flow`},{name:`border`,cssProperty:`border`},{name:`borderTop`,cssProperty:`border-top`},{name:`borderRight`,cssProperty:`border-right`},{name:`borderBottom`,cssProperty:`border-bottom`},{name:`borderLeft`,cssProperty:`border-left`},{name:`borderWidth`,cssProperty:`border-width`},{name:`borderStyle`,cssProperty:`border-style`},{name:`borderColor`,cssProperty:`border-color`},{name:`borderTopWidth`,cssProperty:`border-top-width`},{name:`borderRightWidth`,cssProperty:`border-right-width`},{name:`borderBottomWidth`,cssProperty:`border-bottom-width`},{name:`borderLeftWidth`,cssProperty:`border-left-width`},{name:`borderTopStyle`,cssProperty:`border-top-style`},{name:`borderRightStyle`,cssProperty:`border-right-style`},{name:`borderBottomStyle`,cssProperty:`border-bottom-style`},{name:`borderLeftStyle`,cssProperty:`border-left-style`},{name:`borderTopColor`,cssProperty:`border-top-color`},{name:`borderRightColor`,cssProperty:`border-right-color`},{name:`borderBottomColor`,cssProperty:`border-bottom-color`},{name:`borderLeftColor`,cssProperty:`border-left-color`},{name:`borderRadius`,cssProperty:`border-radius`},{name:`borderTopLeftRadius`,cssProperty:`border-top-left-radius`},{name:`borderTopRightRadius`,cssProperty:`border-top-right-radius`},{name:`borderBottomLeftRadius`,cssProperty:`border-bottom-left-radius`},{name:`borderBottomRightRadius`,cssProperty:`border-bottom-right-radius`},{name:`outline`,cssProperty:`outline`},{name:`outlineWidth`,cssProperty:`outline-width`},{name:`outlineStyle`,cssProperty:`outline-style`},{name:`outlineColor`,cssProperty:`outline-color`},{name:`outlineOffset`,cssProperty:`outline-offset`},{name:`backgroundColor`,cssProperty:`background-color`},{name:`backgroundImage`,cssProperty:`background-image`},{name:`backgroundRepeat`,cssProperty:`background-repeat`},{name:`backgroundPosition`,cssProperty:`background-position`},{name:`backgroundSize`,cssProperty:`background-size`},{name:`backgroundAttachment`,cssProperty:`background-attachment`},{name:`backgroundClip`,cssProperty:`background-clip`},{name:`backgroundOrigin`,cssProperty:`background-origin`},{name:`boxShadow`,cssProperty:`box-shadow`},{name:`opacity`,cssProperty:`opacity`},{name:`transition`,cssProperty:`transition`},{name:`transitionProperty`,cssProperty:`transition-property`},{name:`transitionDuration`,cssProperty:`transition-duration`},{name:`transitionTimingFunction`,cssProperty:`transition-timing-function`},{name:`transitionDelay`,cssProperty:`transition-delay`},{name:`transform`,cssProperty:`transform`},{name:`transformOrigin`,cssProperty:`transform-origin`},{name:`transformStyle`,cssProperty:`transform-style`},{name:`perspective`,cssProperty:`perspective`},{name:`perspectiveOrigin`,cssProperty:`perspective-origin`},{name:`backfaceVisibility`,cssProperty:`backface-visibility`},{name:`animation`,cssProperty:`animation`},{name:`animationName`,cssProperty:`animation-name`},{name:`animationDuration`,cssProperty:`animation-duration`},{name:`animationTimingFunction`,cssProperty:`animation-timing-function`},{name:`animationDelay`,cssProperty:`animation-delay`},{name:`animationIterationCount`,cssProperty:`animation-iteration-count`},{name:`animationDirection`,cssProperty:`animation-direction`},{name:`animationFillMode`,cssProperty:`animation-fill-mode`},{name:`animationPlayState`,cssProperty:`animation-play-state`},{name:`filter`,cssProperty:`filter`},{name:`backdropFilter`,cssProperty:`backdrop-filter`},{name:`overflow`,cssProperty:`overflow`},{name:`overflowX`,cssProperty:`overflow-x`},{name:`overflowY`,cssProperty:`overflow-y`},{name:`visibility`,cssProperty:`visibility`},{name:`objectFit`,cssProperty:`object-fit`},{name:`objectPosition`,cssProperty:`object-position`},{name:`listStyle`,cssProperty:`list-style`},{name:`listStyleType`,cssProperty:`list-style-type`},{name:`listStylePosition`,cssProperty:`list-style-position`},{name:`listStyleImage`,cssProperty:`list-style-image`},{name:`borderCollapse`,cssProperty:`border-collapse`},{name:`borderSpacing`,cssProperty:`border-spacing`},{name:`captionSide`,cssProperty:`caption-side`},{name:`emptyCells`,cssProperty:`empty-cells`},{name:`tableLayout`,cssProperty:`table-layout`},{name:`content`,cssProperty:`content`},{name:`quotes`,cssProperty:`quotes`},{name:`counterReset`,cssProperty:`counter-reset`},{name:`counterIncrement`,cssProperty:`counter-increment`},{name:`appearance`,cssProperty:`appearance`},{name:`userSelect`,cssProperty:`user-select`},{name:`pointerEvents`,cssProperty:`pointer-events`},{name:`resize`,cssProperty:`resize`},{name:`scrollBehavior`,cssProperty:`scroll-behavior`},{name:`clip`,cssProperty:`clip`},{name:`clipPath`,cssProperty:`clip-path`},{name:`isolation`,cssProperty:`isolation`},{name:`mixBlendMode`,cssProperty:`mix-blend-mode`},{name:`willChange`,cssProperty:`will-change`},{name:`contain`,cssProperty:`contain`},{name:`pageBreakBefore`,cssProperty:`page-break-before`},{name:`pageBreakAfter`,cssProperty:`page-break-after`},{name:`pageBreakInside`,cssProperty:`page-break-inside`},{name:`breakBefore`,cssProperty:`break-before`},{name:`breakAfter`,cssProperty:`break-after`},{name:`breakInside`,cssProperty:`break-inside`},{name:`orphans`,cssProperty:`orphans`},{name:`widows`,cssProperty:`widows`},{name:`columnCount`,cssProperty:`column-count`},{name:`columnFill`,cssProperty:`column-fill`},{name:`columnGap`,cssProperty:`column-gap`},{name:`columnRule`,cssProperty:`column-rule`},{name:`columnRuleColor`,cssProperty:`column-rule-color`},{name:`columnRuleStyle`,cssProperty:`column-rule-style`},{name:`columnRuleWidth`,cssProperty:`column-rule-width`},{name:`columnSpan`,cssProperty:`column-span`},{name:`columnWidth`,cssProperty:`column-width`},{name:`columns`,cssProperty:`columns`},{name:`cursor`,cssProperty:`cursor`},{name:`aspectRatio`,cssProperty:`aspect-ratio`},{name:`clear`,cssProperty:`clear`},{name:`float`,cssProperty:`float`},{name:`order`,cssProperty:`order`},{name:`placeContent`,cssProperty:`place-content`},{name:`placeItems`,cssProperty:`place-items`},{name:`placeSelf`,cssProperty:`place-self`},{name:`hyphens`,cssProperty:`hyphens`},{name:`lineBreak`,cssProperty:`line-break`},{name:`wordBreak`,cssProperty:`word-break`},{name:`textOrientation`,cssProperty:`text-orientation`},{name:`writingMode`,cssProperty:`writing-mode`},{name:`direction`,cssProperty:`direction`},{name:`unicodeBidi`,cssProperty:`unicode-bidi`},{name:`backgroundBlendMode`,cssProperty:`background-blend-mode`},{name:`backgroundPositionX`,cssProperty:`background-position-x`},{name:`backgroundPositionY`,cssProperty:`background-position-y`},{name:`borderImage`,cssProperty:`border-image`},{name:`borderImageSource`,cssProperty:`border-image-source`},{name:`borderImageSlice`,cssProperty:`border-image-slice`},{name:`borderImageWidth`,cssProperty:`border-image-width`},{name:`borderImageOutset`,cssProperty:`border-image-outset`},{name:`borderImageRepeat`,cssProperty:`border-image-repeat`},{name:`inset`,cssProperty:`inset`},{name:`insetBlock`,cssProperty:`inset-block`},{name:`insetBlockStart`,cssProperty:`inset-block-start`},{name:`insetBlockEnd`,cssProperty:`inset-block-end`},{name:`insetInline`,cssProperty:`inset-inline`},{name:`insetInlineStart`,cssProperty:`inset-inline-start`},{name:`insetInlineEnd`,cssProperty:`inset-inline-end`},{name:`marginBlock`,cssProperty:`margin-block`},{name:`marginBlockStart`,cssProperty:`margin-block-start`},{name:`marginBlockEnd`,cssProperty:`margin-block-end`},{name:`marginInline`,cssProperty:`margin-inline`},{name:`marginInlineStart`,cssProperty:`margin-inline-start`},{name:`marginInlineEnd`,cssProperty:`margin-inline-end`},{name:`paddingBlock`,cssProperty:`padding-block`},{name:`paddingBlockStart`,cssProperty:`padding-block-start`},{name:`paddingBlockEnd`,cssProperty:`padding-block-end`},{name:`paddingInline`,cssProperty:`padding-inline`},{name:`paddingInlineStart`,cssProperty:`padding-inline-start`},{name:`paddingInlineEnd`,cssProperty:`padding-inline-end`},{name:`inlineSize`,cssProperty:`inline-size`},{name:`blockSize`,cssProperty:`block-size`},{name:`minInlineSize`,cssProperty:`min-inline-size`},{name:`minBlockSize`,cssProperty:`min-block-size`},{name:`maxInlineSize`,cssProperty:`max-inline-size`},{name:`maxBlockSize`,cssProperty:`max-block-size`},{name:`borderBlock`,cssProperty:`border-block`},{name:`borderBlockStart`,cssProperty:`border-block-start`},{name:`borderBlockEnd`,cssProperty:`border-block-end`},{name:`borderInline`,cssProperty:`border-inline`},{name:`borderInlineStart`,cssProperty:`border-inline-start`},{name:`borderInlineEnd`,cssProperty:`border-inline-end`},{name:`borderBlockWidth`,cssProperty:`border-block-width`},{name:`borderBlockStartWidth`,cssProperty:`border-block-start-width`},{name:`borderBlockEndWidth`,cssProperty:`border-block-end-width`},{name:`borderInlineWidth`,cssProperty:`border-inline-width`},{name:`borderInlineStartWidth`,cssProperty:`border-inline-start-width`},{name:`borderInlineEndWidth`,cssProperty:`border-inline-end-width`},{name:`borderBlockStyle`,cssProperty:`border-block-style`},{name:`borderBlockStartStyle`,cssProperty:`border-block-start-style`},{name:`borderBlockEndStyle`,cssProperty:`border-block-end-style`},{name:`borderInlineStyle`,cssProperty:`border-inline-style`},{name:`borderInlineStartStyle`,cssProperty:`border-inline-start-style`},{name:`borderInlineEndStyle`,cssProperty:`border-inline-end-style`},{name:`borderBlockColor`,cssProperty:`border-block-color`},{name:`borderBlockStartColor`,cssProperty:`border-block-start-color`},{name:`borderBlockEndColor`,cssProperty:`border-block-end-color`},{name:`borderInlineColor`,cssProperty:`border-inline-color`},{name:`borderInlineStartColor`,cssProperty:`border-inline-start-color`},{name:`borderInlineEndColor`,cssProperty:`border-inline-end-color`},{name:`borderStartStartRadius`,cssProperty:`border-start-start-radius`},{name:`borderStartEndRadius`,cssProperty:`border-start-end-radius`},{name:`borderEndStartRadius`,cssProperty:`border-end-start-radius`},{name:`borderEndEndRadius`,cssProperty:`border-end-end-radius`},{name:`scrollMargin`,cssProperty:`scroll-margin`},{name:`scrollMarginTop`,cssProperty:`scroll-margin-top`},{name:`scrollMarginRight`,cssProperty:`scroll-margin-right`},{name:`scrollMarginBottom`,cssProperty:`scroll-margin-bottom`},{name:`scrollMarginLeft`,cssProperty:`scroll-margin-left`},{name:`scrollPadding`,cssProperty:`scroll-padding`},{name:`scrollPaddingTop`,cssProperty:`scroll-padding-top`},{name:`scrollPaddingRight`,cssProperty:`scroll-padding-right`},{name:`scrollPaddingBottom`,cssProperty:`scroll-padding-bottom`},{name:`scrollPaddingLeft`,cssProperty:`scroll-padding-left`},{name:`overscrollBehavior`,cssProperty:`overscroll-behavior`},{name:`overscrollBehaviorX`,cssProperty:`overscroll-behavior-x`},{name:`overscrollBehaviorY`,cssProperty:`overscroll-behavior-y`},{name:`caretColor`,cssProperty:`caret-color`},{name:`caretShape`,cssProperty:`caret-shape`},{name:`caretAnimation`,cssProperty:`caret-animation`},{name:`imageRendering`,cssProperty:`image-rendering`},{name:`colorScheme`,cssProperty:`color-scheme`},{name:`contentVisibility`,cssProperty:`content-visibility`},{name:`touchAction`,cssProperty:`touch-action`},{name:`containerType`,cssProperty:`container-type`},{name:`containerName`,cssProperty:`container-name`},{name:`container`,cssProperty:`container`},{name:`fontFeatureSettings`,cssProperty:`font-feature-settings`},{name:`fontKerning`,cssProperty:`font-kerning`},{name:`fontSynthesis`,cssProperty:`font-synthesis`},{name:`fontOpticalSizing`,cssProperty:`font-optical-sizing`},{name:`fontDisplay`,cssProperty:`font-display`},{name:`fontVariantCaps`,cssProperty:`font-variant-caps`},{name:`fontVariantNumeric`,cssProperty:`font-variant-numeric`},{name:`fontVariantLigatures`,cssProperty:`font-variant-ligatures`},{name:`fontVariantEastAsian`,cssProperty:`font-variant-east-asian`},{name:`fontVariantAlternates`,cssProperty:`font-variant-alternates`},{name:`fontVariantPosition`,cssProperty:`font-variant-position`},{name:`textRendering`,cssProperty:`text-rendering`},{name:`textCombineUpright`,cssProperty:`text-combine-upright`},{name:`textSizeAdjust`,cssProperty:`text-size-adjust`},{name:`mask`,cssProperty:`mask`},{name:`maskImage`,cssProperty:`mask-image`},{name:`maskMode`,cssProperty:`mask-mode`},{name:`maskRepeat`,cssProperty:`mask-repeat`},{name:`maskPosition`,cssProperty:`mask-position`},{name:`maskSize`,cssProperty:`mask-size`},{name:`maskOrigin`,cssProperty:`mask-origin`},{name:`maskClip`,cssProperty:`mask-clip`},{name:`maskComposite`,cssProperty:`mask-composite`},{name:`clipRule`,cssProperty:`clip-rule`},{name:`gridColumnGap`,cssProperty:`grid-column-gap`},{name:`gridRowGap`,cssProperty:`grid-row-gap`},{name:`gridGap`,cssProperty:`grid-gap`}],kt=[`bold`,`center`,`flex`],At=new Map;function q(e){let t=0;for(let n=0;n<e.length;n++){let r=e.charCodeAt(n);t=(t<<5)-t+r,t&=t}return Math.abs(t).toString(16).padStart(8,`0`).substring(0,8)}function J(e){return Object.entries(e).sort(([e],[t])=>e.localeCompare(t)).map(([e,t])=>`${e}:${t}`).join(`|`)}function jt(e){return At.get(e)}function Mt(e,t){At.set(e,t)}function Nt(e,t,n=`media`,r){let i=document.querySelector(`#nuclo-styles`);if(!i||!i.sheet)return!1;if(r){let t=`.${e}${r}`;return Array.from(i.sheet.cssRules||[]).some(function(e){return e instanceof CSSStyleRule?e.selectorText===t:!1})}if(t){let r=Array.from(i.sheet.cssRules||[]).find(function(e){return n===`media`&&e instanceof CSSMediaRule?e.media.mediaText===t:n===`container`&&e instanceof CSSContainerRule||n===`supports`&&e instanceof CSSSupportsRule?e.conditionText===t:!1});return r?Array.from(r.cssRules).some(function(t){return t instanceof CSSStyleRule?t.selectorText===`.${e}`:!1}):!1}else return Array.from(i.sheet.cssRules||[]).some(function(t){return t instanceof CSSStyleRule?t.selectorText===`.${e}`:!1})}function Y(e,t,n,r=`media`,i){let a=document.querySelector(`#nuclo-styles`);a||(a=b(`style`),a.id=`nuclo-styles`,document.head.appendChild(a));let o=Object.entries(t).map(function([e,t]){return`${e}: ${t}`}).join(`; `);if(i){let n=`.${e}${i}`,r=a.sheet;if(!r)return;let s=r.cssRules,c=s.length,l=null,u=c;for(let e=0;e<c;e++){let t=s[e];if(t instanceof CSSStyleRule){if(t.selectorText===n){l=t,u=e;break}t.selectorText.includes(`:`)||(u=e+1)}}if(l){let e=l.style;e.cssText=``;for(let[n,r]of Object.entries(t))e.setProperty(n,r)}else r.insertRule(`${n} { ${o} }`,u);return}if(n){let i=a.sheet;if(!i)return;let s=i.cssRules,c=s.length,l=null,u=e=>r===`media`&&e instanceof CSSMediaRule?e.media.mediaText===n:r===`container`&&e instanceof CSSContainerRule||r===`supports`&&e instanceof CSSSupportsRule?e.conditionText===n:!1,d=e=>e instanceof CSSMediaRule||e instanceof CSSContainerRule||e instanceof CSSSupportsRule;for(let e=0;e<c;e++){let t=s[e];if(u(t)){l=t;break}}if(!l){let e=c;for(let t=c-1;t>=0;t--){let n=s[t];if(d(n)){e=t+1;break}else if(n instanceof CSSStyleRule){e=t+1;break}}let t=r===`media`?`@media`:r===`container`?`@container`:r===`supports`?`@supports`:`@media`;i.insertRule(`${t} ${n} {}`,e),l=i.cssRules[e]}let f=null;for(let t of Array.from(l.cssRules))if(t instanceof CSSStyleRule&&t.selectorText===`.${e}`){f=t;break}if(f){let e=f.style;e.cssText=``;for(let[n,r]of Object.entries(t))e.setProperty(n,r)}else l.insertRule(`.${e} { ${o} }`,l.cssRules.length)}else{let n=a.sheet;if(!n)return;let r=null,i=0,s=e=>e instanceof CSSMediaRule||e instanceof CSSContainerRule||e instanceof CSSSupportsRule,c=n.cssRules,l=c.length;for(let t=0;t<l;t++){let n=c[t];if(n instanceof CSSStyleRule&&n.selectorText===`.${e}`){r=n,i=t;break}s(n)||(i=t+1)}if(r){let e=r.style;e.cssText=``;for(let[n,r]of Object.entries(t))e.setProperty(n,r)}else n.insertRule(`.${e} { ${o} }`,i)}}function Pt(e,t){Y(e,t)}function Ft(e,t=``,n){let r=J(e),i=t?`${t}:${r}`:r,a=jt(i);if(a){let t=a;return Nt(t,n)||Y(t,e,n),t}let o=q(r),s=t?`n${t}-${o}`:`n${o}`;return Mt(i,s),Y(s,e,n),s}var X=class{styles={};getStyles(){return{...this.styles}}getClassName(e=``,t){return Ft(this.styles,e,t)}getClassNames(){return[this.getClassName()]}getClassDefinitions(){return Object.entries(this.styles).map(([e,t])=>({className:this.getClassName(),property:e,value:t}))}toString(){return this.getClassName()}add(e,t){return this.styles[e]=t,this}bold(){return this.styles[`font-weight`]=`bold`,this}center(){return this.styles[`justify-content`]=`center`,this.styles[`align-items`]=`center`,this}flex(e){return e===void 0?this.styles.display=`flex`:this.styles.flex=e,this}};function It(){let e=X.prototype;for(let t of Ot)t.name in e||(t.isShorthand?e[t.name]=function(){return this.add(t.cssProperty,t.defaultValue||``),this}:e[t.name]=function(e){return this.add(t.cssProperty,e),this})}It();function Lt(e){return e.isShorthand?()=>new X().add(e.cssProperty,e.defaultValue||``):t=>new X().add(e.cssProperty,t||``)}const Z={};for(let e of Ot)Z[e.name]=Lt(e);for(let e of kt)e===`bold`||e===`center`?Z[e]=()=>new X()[e]():e===`flex`&&(Z[e]=e=>new X().flex(e));const{display:Rt,flex:zt,grid:Bt,bg:Vt,color:Ht,accentColor:Ut,fontSize:Wt,fontWeight:Gt,fontFamily:Kt,lineHeight:qt,letterSpacing:Jt,textAlign:Yt,textDecoration:Xt,bold:Zt,fontStyle:Qt,fontVariant:$t,fontStretch:en,textTransform:tn,textIndent:nn,textOverflow:rn,textShadow:an,whiteSpace:on,wordSpacing:sn,wordWrap:cn,overflowWrap:ln,textAlignLast:un,textJustify:dn,textDecorationLine:fn,textDecorationColor:pn,textDecorationStyle:mn,textDecorationThickness:hn,textUnderlineOffset:gn,verticalAlign:_n,position:vn,padding:yn,paddingTop:bn,paddingRight:xn,paddingBottom:Sn,paddingLeft:Cn,margin:wn,marginTop:Tn,marginRight:En,marginBottom:Dn,marginLeft:On,width:kn,height:An,minWidth:jn,maxWidth:Mn,minHeight:Nn,maxHeight:Pn,boxSizing:Fn,top:In,right:Ln,bottom:Rn,left:zn,zIndex:Bn,flexDirection:Vn,alignItems:Hn,justifyContent:Un,center:Wn,gap:Gn,flexWrap:Kn,flexGrow:qn,flexShrink:Jn,flexBasis:Yn,alignSelf:Xn,alignContent:Zn,justifySelf:Qn,justifyItems:$n,gridTemplateColumns:er,gridTemplateRows:tr,gridTemplateAreas:nr,gridColumn:rr,gridRow:ir,gridColumnStart:ar,gridColumnEnd:or,gridRowStart:sr,gridRowEnd:cr,gridArea:lr,gridAutoColumns:ur,gridAutoRows:dr,gridAutoFlow:fr,border:pr,borderTop:mr,borderRight:hr,borderBottom:gr,borderLeft:_r,borderWidth:vr,borderStyle:yr,borderColor:br,borderTopWidth:xr,borderRightWidth:Sr,borderBottomWidth:Cr,borderLeftWidth:wr,borderTopStyle:Tr,borderRightStyle:Er,borderBottomStyle:Dr,borderLeftStyle:Or,borderTopColor:kr,borderRightColor:Ar,borderBottomColor:jr,borderLeftColor:Mr,borderRadius:Nr,borderTopLeftRadius:Pr,borderTopRightRadius:Fr,borderBottomLeftRadius:Ir,borderBottomRightRadius:Lr,outline:Rr,outlineWidth:zr,outlineStyle:Br,outlineColor:Vr,outlineOffset:Hr,backgroundColor:Ur,backgroundImage:Wr,backgroundRepeat:Gr,backgroundPosition:Kr,backgroundSize:qr,backgroundAttachment:Jr,backgroundClip:Yr,backgroundOrigin:Xr,boxShadow:Zr,opacity:Qr,transition:$r,transitionProperty:ei,transitionDuration:ti,transitionTimingFunction:ni,transitionDelay:ri,transform:ii,transformOrigin:ai,transformStyle:oi,perspective:si,perspectiveOrigin:ci,backfaceVisibility:li,animation:ui,animationName:di,animationDuration:fi,animationTimingFunction:pi,animationDelay:mi,animationIterationCount:hi,animationDirection:gi,animationFillMode:_i,animationPlayState:vi,filter:yi,backdropFilter:bi,overflow:xi,overflowX:Si,overflowY:Ci,visibility:wi,objectFit:Ti,objectPosition:Ei,listStyle:Di,listStyleType:Oi,listStylePosition:ki,listStyleImage:Ai,borderCollapse:ji,borderSpacing:Mi,captionSide:Ni,emptyCells:Pi,tableLayout:Fi,content:Ii,quotes:Li,counterReset:Ri,counterIncrement:zi,appearance:Bi,userSelect:Vi,pointerEvents:Hi,resize:Ui,scrollBehavior:Wi,clip:Gi,clipPath:Ki,isolation:qi,mixBlendMode:Ji,willChange:Yi,contain:Xi,pageBreakBefore:Q,pageBreakAfter:Zi,pageBreakInside:Qi,breakBefore:$i,breakAfter:ea,breakInside:ta,orphans:na,widows:ra,columnCount:ia,columnFill:aa,columnGap:oa,columnRule:sa,columnRuleColor:ca,columnRuleStyle:la,columnRuleWidth:ua,columnSpan:da,columnWidth:fa,columns:pa,cursor:ma,aspectRatio:ha,clear:ga,float:_a,order:va,placeContent:ya,placeItems:ba,placeSelf:xa,hyphens:Sa,lineBreak:Ca,wordBreak:wa,textOrientation:Ta,writingMode:Ea,direction:Da,unicodeBidi:Oa,backgroundBlendMode:ka,backgroundPositionX:Aa,backgroundPositionY:ja,borderImage:Ma,borderImageSource:Na,borderImageSlice:Pa,borderImageWidth:Fa,borderImageOutset:Ia,borderImageRepeat:La,inset:Ra,insetBlock:za,insetBlockStart:Ba,insetBlockEnd:Va,insetInline:Ha,insetInlineStart:Ua,insetInlineEnd:Wa,marginBlock:Ga,marginBlockStart:Ka,marginBlockEnd:qa,marginInline:Ja,marginInlineStart:Ya,marginInlineEnd:Xa,paddingBlock:Za,paddingBlockStart:Qa,paddingBlockEnd:$a,paddingInline:eo,paddingInlineStart:to,paddingInlineEnd:no,inlineSize:ro,blockSize:io,minInlineSize:ao,minBlockSize:oo,maxInlineSize:so,maxBlockSize:co,borderBlock:lo,borderBlockStart:uo,borderBlockEnd:fo,borderInline:po,borderInlineStart:mo,borderInlineEnd:ho,borderBlockWidth:go,borderBlockStartWidth:_o,borderBlockEndWidth:vo,borderInlineWidth:yo,borderInlineStartWidth:bo,borderInlineEndWidth:xo,borderBlockStyle:So,borderBlockStartStyle:Co,borderBlockEndStyle:wo,borderInlineStyle:To,borderInlineStartStyle:Eo,borderInlineEndStyle:Do,borderBlockColor:Oo,borderBlockStartColor:ko,borderBlockEndColor:Ao,borderInlineColor:jo,borderInlineStartColor:Mo,borderInlineEndColor:No,borderStartStartRadius:Po,borderStartEndRadius:Fo,borderEndStartRadius:Io,borderEndEndRadius:Lo,scrollMargin:Ro,scrollMarginTop:zo,scrollMarginRight:Bo,scrollMarginBottom:Vo,scrollMarginLeft:Ho,scrollPadding:Uo,scrollPaddingTop:Wo,scrollPaddingRight:Go,scrollPaddingBottom:Ko,scrollPaddingLeft:qo,overscrollBehavior:Jo,overscrollBehaviorX:Yo,overscrollBehaviorY:Xo,caretColor:Zo,caretShape:Qo,caretAnimation:$o,imageRendering:es,colorScheme:ts,contentVisibility:ns,touchAction:rs,containerType:is,containerName:as,container:os,fontFeatureSettings:ss,fontKerning:cs,fontSynthesis:ls,fontOpticalSizing:us,fontDisplay:ds,fontVariantCaps:fs,fontVariantNumeric:ps,fontVariantLigatures:ms,fontVariantEastAsian:hs,fontVariantAlternates:gs,fontVariantPosition:_s,textRendering:vs,textCombineUpright:ys,textSizeAdjust:bs,mask:xs,maskImage:Ss,maskMode:Cs,maskRepeat:ws,maskPosition:Ts,maskSize:Es,maskOrigin:Ds,maskClip:Os,maskComposite:ks,clipRule:As,gridColumnGap:js,gridRowGap:Ms,gridGap:Ns}=Z,Ps={hover:`:hover`,active:`:active`,focus:`:focus`,"focus-visible":`:focus-visible`,"focus-within":`:focus-within`,visited:`:visited`,link:`:link`,target:`:target`,root:`:root`,empty:`:empty`,enabled:`:enabled`,disabled:`:disabled`,checked:`:checked`,indeterminate:`:indeterminate`,default:`:default`,required:`:required`,optional:`:optional`,valid:`:valid`,invalid:`:invalid`,"in-range":`:in-range`,"out-of-range":`:out-of-range`,"placeholder-shown":`:placeholder-shown`,autofill:`:autofill`,"read-only":`:read-only`,"read-write":`:read-write`,"first-child":`:first-child`,"last-child":`:last-child`,"only-child":`:only-child`,"first-of-type":`:first-of-type`,"last-of-type":`:last-of-type`,"only-of-type":`:only-of-type`,"nth-child":`:nth-child`,"nth-last-child":`:nth-last-child`,"nth-of-type":`:nth-of-type`,"nth-last-of-type":`:nth-last-of-type`,lang:`:lang`,dir:`:dir`,not:`:not`,is:`:is`,where:`:where`,has:`:has`,"any-link":`:any-link`,"local-link":`:local-link`,scope:`:scope`,current:`:current`,past:`:past`,future:`:future`,playing:`:playing`,paused:`:paused`,seeking:`:seeking`,muted:`:muted`,"volume-locked":`:volume-locked`,buffering:`:buffering`,stalled:`:stalled`,"picture-in-picture":`:picture-in-picture`,fullscreen:`:fullscreen`,modal:`:modal`,"popover-open":`:popover-open`,"user-invalid":`:user-invalid`,"user-valid":`:user-valid`};function Fs(e){let t=e.trim();return t.startsWith(`&:`)||t.startsWith(`:`)?{type:`pseudo`,pseudoClass:(t.startsWith(`&:`)?t.slice(1):t).trim()}:t.startsWith(`@media `)?{type:`media`,condition:t.slice(7).trim()}:t.startsWith(`@container `)?{type:`container`,condition:t.slice(11).trim()}:t.startsWith(`@supports `)?{type:`supports`,condition:t.slice(10).trim()}:t.startsWith(`@style `)?{type:`style`,condition:t.slice(7).trim()}:{type:`media`,condition:t}}function Is(e){return e in Ps}function Ls(e){return Ps[e]}function Rs(e,t){return`${e}_${q(t)}`}const zs=new Map;function $(e){let t=Array.isArray(e)?[...e]:Object.entries(e),n=new Map;for(let[e,r]of t){let t=zs.get(r);t||(t=Fs(r),zs.set(r,t)),n.set(e,t)}return function(e,r,i){let a,o,s;typeof e==`string`?(a=e.trim()||void 0,r instanceof X?(o=r,s=i):s=r):r===void 0?e instanceof X?o=e:s=e:(o=e,s=r);let c=s!=null&&Object.keys(s).length>0;if(!o&&!c)return{className:a??``};if(c){let e=[],r=new Set;for(let[i]of t){let t=s?.[i];t&&(r.add(i),e.push({queryName:i,query:n.get(i),styles:t.getStyles()}))}for(let[t,n]of Object.entries(s??{}))!r.has(t)&&Is(t)&&n instanceof X&&e.push({queryName:t,query:{type:`pseudo`,pseudoClass:Ls(t)},styles:n.getStyles()});if(e.length===0&&!o)return{className:a??``};let i=[];i.length=e.length+(o?1:0);let c=0;if(o){let e=o.getStyles();i[c++]=`default:${J(e)}`}for(let{queryName:t,styles:n}of e){let e=J(n);i[c++]=`${t}:${e}`}let l=i.sort().join(`||`),u=a?Rs(a,l):`n${q(l)}`,d={};o&&(d={...o.getStyles()},Y(u,d));let f=[],p=[];for(let t of e)t.query.type===`pseudo`?p.push(t):f.push(t);for(let{query:e,styles:t}of f)d={...d,...t},Y(u,d,e.condition,e.type);for(let{query:e,styles:t}of p)Y(u,t,void 0,`pseudo`,e.pseudoClass);return{className:u}}if(a){let e=J(o.getStyles()),t=Rs(a,e);return Y(t,o.getStyles()),{className:t}}return{className:o.getClassName()}}}const Bs=$;var Vs=t({StyleBuilder:()=>X,accentColor:()=>Ut,alignContent:()=>Zn,alignItems:()=>Hn,alignSelf:()=>Xn,animation:()=>ui,animationDelay:()=>mi,animationDirection:()=>gi,animationDuration:()=>fi,animationFillMode:()=>_i,animationIterationCount:()=>hi,animationName:()=>di,animationPlayState:()=>vi,animationTimingFunction:()=>pi,appearance:()=>Bi,backdropFilter:()=>bi,backfaceVisibility:()=>li,backgroundAttachment:()=>Jr,backgroundClip:()=>Yr,backgroundColor:()=>Ur,backgroundImage:()=>Wr,backgroundOrigin:()=>Xr,backgroundPosition:()=>Kr,backgroundRepeat:()=>Gr,backgroundSize:()=>qr,bg:()=>Vt,bold:()=>Zt,border:()=>pr,borderBottom:()=>gr,borderBottomColor:()=>jr,borderBottomLeftRadius:()=>Ir,borderBottomRightRadius:()=>Lr,borderBottomStyle:()=>Dr,borderBottomWidth:()=>Cr,borderCollapse:()=>ji,borderColor:()=>br,borderLeft:()=>_r,borderLeftColor:()=>Mr,borderLeftStyle:()=>Or,borderLeftWidth:()=>wr,borderRadius:()=>Nr,borderRight:()=>hr,borderRightColor:()=>Ar,borderRightStyle:()=>Er,borderRightWidth:()=>Sr,borderSpacing:()=>Mi,borderStyle:()=>yr,borderTop:()=>mr,borderTopColor:()=>kr,borderTopLeftRadius:()=>Pr,borderTopRightRadius:()=>Fr,borderTopStyle:()=>Tr,borderTopWidth:()=>xr,borderWidth:()=>vr,bottom:()=>Rn,boxShadow:()=>Zr,boxSizing:()=>Fn,breakAfter:()=>ea,breakBefore:()=>$i,breakInside:()=>ta,captionSide:()=>Ni,center:()=>Wn,clip:()=>Gi,clipPath:()=>Ki,color:()=>Ht,columnCount:()=>ia,columnFill:()=>aa,columnGap:()=>oa,columnRule:()=>sa,columnRuleColor:()=>ca,columnRuleStyle:()=>la,columnRuleWidth:()=>ua,columnSpan:()=>da,columnWidth:()=>fa,columns:()=>pa,contain:()=>Xi,content:()=>Ii,counterIncrement:()=>zi,counterReset:()=>Ri,createBreakpoints:()=>Bs,createCSSClass:()=>Pt,createStyleQueries:()=>$,cursor:()=>ma,display:()=>Rt,emptyCells:()=>Pi,filter:()=>yi,flex:()=>zt,flexBasis:()=>Yn,flexDirection:()=>Vn,flexGrow:()=>qn,flexShrink:()=>Jn,flexWrap:()=>Kn,fontFamily:()=>Kt,fontSize:()=>Wt,fontStretch:()=>en,fontStyle:()=>Qt,fontVariant:()=>$t,fontWeight:()=>Gt,gap:()=>Gn,grid:()=>Bt,gridArea:()=>lr,gridAutoColumns:()=>ur,gridAutoFlow:()=>fr,gridAutoRows:()=>dr,gridColumn:()=>rr,gridColumnEnd:()=>or,gridColumnStart:()=>ar,gridRow:()=>ir,gridRowEnd:()=>cr,gridRowStart:()=>sr,gridTemplateAreas:()=>nr,gridTemplateColumns:()=>er,gridTemplateRows:()=>tr,height:()=>An,isolation:()=>qi,justifyContent:()=>Un,justifyItems:()=>$n,justifySelf:()=>Qn,left:()=>zn,letterSpacing:()=>Jt,lineHeight:()=>qt,listStyle:()=>Di,listStyleImage:()=>Ai,listStylePosition:()=>ki,listStyleType:()=>Oi,margin:()=>wn,marginBottom:()=>Dn,marginLeft:()=>On,marginRight:()=>En,marginTop:()=>Tn,maxHeight:()=>Pn,maxWidth:()=>Mn,minHeight:()=>Nn,minWidth:()=>jn,mixBlendMode:()=>Ji,objectFit:()=>Ti,objectPosition:()=>Ei,opacity:()=>Qr,orphans:()=>na,outline:()=>Rr,outlineColor:()=>Vr,outlineOffset:()=>Hr,outlineStyle:()=>Br,outlineWidth:()=>zr,overflow:()=>xi,overflowWrap:()=>ln,overflowX:()=>Si,overflowY:()=>Ci,padding:()=>yn,paddingBottom:()=>Sn,paddingLeft:()=>Cn,paddingRight:()=>xn,paddingTop:()=>bn,pageBreakAfter:()=>Zi,pageBreakBefore:()=>Q,pageBreakInside:()=>Qi,perspective:()=>si,perspectiveOrigin:()=>ci,pointerEvents:()=>Hi,position:()=>vn,quotes:()=>Li,resize:()=>Ui,right:()=>Ln,scrollBehavior:()=>Wi,tableLayout:()=>Fi,textAlign:()=>Yt,textAlignLast:()=>un,textDecoration:()=>Xt,textDecorationColor:()=>pn,textDecorationLine:()=>fn,textDecorationStyle:()=>mn,textDecorationThickness:()=>hn,textIndent:()=>nn,textJustify:()=>dn,textOverflow:()=>rn,textShadow:()=>an,textTransform:()=>tn,textUnderlineOffset:()=>gn,top:()=>In,transform:()=>ii,transformOrigin:()=>ai,transformStyle:()=>oi,transition:()=>$r,transitionDelay:()=>ri,transitionDuration:()=>ti,transitionProperty:()=>ei,transitionTimingFunction:()=>ni,userSelect:()=>Vi,verticalAlign:()=>_n,visibility:()=>wi,whiteSpace:()=>on,widows:()=>ra,width:()=>kn,willChange:()=>Yi,wordSpacing:()=>sn,wordWrap:()=>cn,zIndex:()=>Bn});function Hs(){Ze();let e=globalThis;e.list=ot,e.update=Et,e.when=gt,e.on=ee,e.scope=wt,e.render=Dt;for(let[t,n]of Object.entries(Vs))try{e[t]=n}catch{}}Hs(),exports.HTML_TAGS=V,exports.SELF_CLOSING_TAGS=Je,exports.SVG_TAGS=H,exports.StyleBuilder=X,exports.accentColor=Ut,exports.alignContent=Zn,exports.alignItems=Hn,exports.alignSelf=Xn,exports.animation=ui,exports.animationDelay=mi,exports.animationDirection=gi,exports.animationDuration=fi,exports.animationFillMode=_i,exports.animationIterationCount=hi,exports.animationName=di,exports.animationPlayState=vi,exports.animationTimingFunction=pi,exports.appearance=Bi,exports.appendChildren=xe,exports.applyAttributes=M,exports.applyNodeModifier=P,exports.backdropFilter=bi,exports.backfaceVisibility=li,exports.backgroundAttachment=Jr,exports.backgroundClip=Yr,exports.backgroundColor=Ur,exports.backgroundImage=Wr,exports.backgroundOrigin=Xr,exports.backgroundPosition=Kr,exports.backgroundRepeat=Gr,exports.backgroundSize=qr,exports.bg=Vt,exports.bold=Zt,exports.border=pr,exports.borderBottom=gr,exports.borderBottomColor=jr,exports.borderBottomLeftRadius=Ir,exports.borderBottomRightRadius=Lr,exports.borderBottomStyle=Dr,exports.borderBottomWidth=Cr,exports.borderCollapse=ji,exports.borderColor=br,exports.borderLeft=_r,exports.borderLeftColor=Mr,exports.borderLeftStyle=Or,exports.borderLeftWidth=wr,exports.borderRadius=Nr,exports.borderRight=hr,exports.borderRightColor=Ar,exports.borderRightStyle=Er,exports.borderRightWidth=Sr,exports.borderSpacing=Mi,exports.borderStyle=yr,exports.borderTop=mr,exports.borderTopColor=kr,exports.borderTopLeftRadius=Pr,exports.borderTopRightRadius=Fr,exports.borderTopStyle=Tr,exports.borderTopWidth=xr,exports.borderWidth=vr,exports.bottom=Rn,exports.boxShadow=Zr,exports.boxSizing=Fn,exports.breakAfter=ea,exports.breakBefore=$i,exports.breakInside=ta,exports.captionSide=Ni,exports.center=Wn,exports.clip=Gi,exports.clipPath=Ki,exports.color=Ht,exports.columnCount=ia,exports.columnFill=aa,exports.columnGap=oa,exports.columnRule=sa,exports.columnRuleColor=ca,exports.columnRuleStyle=la,exports.columnRuleWidth=ua,exports.columnSpan=da,exports.columnWidth=fa,exports.columns=pa,exports.contain=Xi,exports.content=Ii,exports.counterIncrement=zi,exports.counterReset=Ri,exports.createBreakpoints=Bs,exports.createCSSClass=Pt,exports.createComment=w,exports.createConditionalComment=ge,exports.createHtmlElementWithModifiers=R,exports.createHtmlTagBuilder=B,exports.createStyleQueries=$,exports.createSvgElementWithModifiers=z,exports.createSvgTagBuilder=qe,exports.cursor=ma,exports.display=Rt,exports.emptyCells=Pi,exports.filter=yi,exports.flex=zt,exports.flexBasis=Yn,exports.flexDirection=Vn,exports.flexGrow=qn,exports.flexShrink=Jn,exports.flexWrap=Kn,exports.fontFamily=Kt,exports.fontSize=Wt,exports.fontStretch=en,exports.fontStyle=Qt,exports.fontVariant=$t,exports.fontWeight=Gt,exports.gap=Gn,exports.grid=Bt,exports.gridArea=lr,exports.gridAutoColumns=ur,exports.gridAutoFlow=fr,exports.gridAutoRows=dr,exports.gridColumn=rr,exports.gridColumnEnd=or,exports.gridColumnStart=ar,exports.gridRow=ir,exports.gridRowEnd=cr,exports.gridRowStart=sr,exports.gridTemplateAreas=nr,exports.gridTemplateColumns=er,exports.gridTemplateRows=tr,exports.height=An,exports.initializeRuntime=Hs,exports.isBoolean=o,exports.isBrowser=u,exports.isFunction=s,exports.isNode=r,exports.isObject=i,exports.isPrimitive=n,exports.isTagLike=a,exports.isZeroArityFunction=c,exports.isolation=qi,exports.justifyContent=Un,exports.justifyItems=$n,exports.justifySelf=Qn,exports.left=zn,exports.letterSpacing=Jt,exports.lineHeight=qt,exports.list=ot,exports.listStyle=Di,exports.listStyleImage=Ai,exports.listStylePosition=ki,exports.listStyleType=Oi,exports.margin=wn,exports.marginBottom=Dn,exports.marginLeft=On,exports.marginRight=En,exports.marginTop=Tn,exports.maxHeight=Pn,exports.maxWidth=Mn,exports.minHeight=Nn,exports.minWidth=jn,exports.mixBlendMode=Ji,exports.objectFit=Ti,exports.objectPosition=Ei,exports.on=ee,exports.opacity=Qr,exports.orphans=na,exports.outline=Rr,exports.outlineColor=Vr,exports.outlineOffset=Hr,exports.outlineStyle=Br,exports.outlineWidth=zr,exports.overflow=xi,exports.overflowWrap=ln,exports.overflowX=Si,exports.overflowY=Ci,exports.padding=yn,exports.paddingBottom=Sn,exports.paddingLeft=Cn,exports.paddingRight=xn,exports.paddingTop=bn,exports.pageBreakAfter=Zi,exports.pageBreakBefore=Q,exports.pageBreakInside=Qi,exports.perspective=si,exports.perspectiveOrigin=ci,exports.pointerEvents=Hi,exports.position=vn,exports.quotes=Li,exports.registerGlobalTagBuilders=Ze,exports.render=Dt,exports.replaceNodeSafely=E,exports.resize=Ui,exports.right=Ln,exports.scope=wt,exports.scrollBehavior=Wi,exports.tableLayout=Fi,exports.textAlign=Yt,exports.textAlignLast=un,exports.textDecoration=Xt,exports.textDecorationColor=pn,exports.textDecorationLine=fn,exports.textDecorationStyle=mn,exports.textDecorationThickness=hn,exports.textIndent=nn,exports.textJustify=dn,exports.textOverflow=rn,exports.textShadow=an,exports.textTransform=tn,exports.textUnderlineOffset=gn,exports.top=In,exports.transform=ii,exports.transformOrigin=ai,exports.transformStyle=oi,exports.transition=$r,exports.transitionDelay=ri,exports.transitionDuration=ti,exports.transitionProperty=ei,exports.transitionTimingFunction=ni,exports.update=Et,exports.userSelect=Vi,exports.verticalAlign=_n,exports.visibility=wi,exports.when=gt,exports.whiteSpace=on,exports.widows=ra,exports.width=kn,exports.willChange=Yi,exports.wordSpacing=sn,exports.wordWrap=cn,exports.zIndex=Bn;
1
+ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});var e=Object.defineProperty,t=(t,n)=>{let r={};for(var i in t)e(r,i,{get:t[i],enumerable:!0});return n||e(r,Symbol.toStringTag,{value:`Module`}),r};function n(e){return e===null||typeof e!=`object`&&typeof e!=`function`}function r(e){return e instanceof Node?!0:typeof e!=`object`||!e?!1:typeof e.nodeType==`number`}function i(e){return typeof e==`object`&&!!e}function a(e){return i(e)&&`tagName`in e}function o(e){return typeof e==`boolean`}function s(e){return typeof e==`function`}function c(e){return s(e)&&e.length===0}function l(e,t){typeof console<`u`&&console.error(`nuclo: ${e}`,t)}const u=typeof window<`u`&&typeof document<`u`,d=new WeakMap;function f(e,t,n,r,i,a){let o=d.get(e);o||(o=new Map,d.set(e,o));let s=o.get(t);s||(s=new Set,o.set(t,s)),s.add({original:n,wrapped:r,options:i,controller:a})}function p(e,t){let n=d.get(e);if(n)if(t){let r=n.get(t);if(r){for(let n of r)n.controller?n.controller.abort():e.removeEventListener(t,n.wrapped,n.options);n.delete(t)}}else{for(let[t,r]of n)for(let n of r)n.controller?n.controller.abort():e.removeEventListener(t,n.wrapped,n.options);d.delete(e)}}function ee(e,t,n){return function(r){if(!r||typeof r.addEventListener!=`function`)return;let i=r,a=new AbortController,o=function(n){try{t.call(i,n)}catch(t){l(`Error in '${e}' listener`,t)}},s=typeof n==`boolean`?{capture:n,signal:a.signal}:{...n||{},signal:a.signal};i.addEventListener(e,o,s),f(i,e,t,o,n,a)}}const m=new Map,h=new WeakMap,g=new Map,_=new WeakMap;function te(e,t){let n=new WeakRef(e);m.set(n,t),h.set(e,{ref:n,info:t})}function ne(e,t){let n=new WeakRef(e);g.set(n,t),_.set(e,{ref:n,info:t})}function re(e){m.delete(e)}function ie(e){g.delete(e)}function ae(e){let t=h.get(e);t&&(m.delete(t.ref),h.delete(e))}function oe(e){let t=_.get(e);t&&(g.delete(t.ref),_.delete(e))}const v=new WeakMap,y=new Set;function se(e,t){v.set(e,t),y.add(new WeakRef(e))}function b(e){v.delete(e);for(let t of y)if(t.deref()===e){y.delete(t);break}}function ce(){let e=[],t=[];for(let n of y){let r=n.deref();r===void 0?t.push(n):e.push(r)}for(let e of t)y.delete(e);return e}function le(e){return v.get(e)??null}function x(e){return globalThis.document?document.createElement(e):null}function S(e,t){return globalThis.document?document.createElementNS(e,t):null}function C(e){return globalThis.document?document.createTextNode(e):null}function ue(){return globalThis.document?document.createDocumentFragment():null}function de(e,t){try{return e.appendChild(t),!0}catch(e){return l(`Failed to append child node`,e),!1}}function fe(e){if(e.nodeType===Node.ELEMENT_NODE){let t=e;p(t),oe(t),b(t)}else e.nodeType===Node.TEXT_NODE?ae(e):e.nodeType===Node.COMMENT_NODE&&b(e);if(e.childNodes&&e.childNodes.length>0)for(let t=0;t<e.childNodes.length;t++)fe(e.childNodes[t])}function pe(e){if(!e?.parentNode)return!1;try{return fe(e),e.parentNode.removeChild(e),!0}catch(e){return l(`Failed to remove child node`,e),!1}}function me(e,t,n){try{return e.insertBefore(t,n),!0}catch(e){return l(`Failed to insert node before reference`,e),!1}}function he(e){if(!globalThis.document)return null;try{return C(String(e))}catch(e){return l(`Failed to create text node`,e),null}}function w(e){if(!globalThis.document)return null;try{return globalThis.document.createComment(e)}catch(e){return l(`Failed to create comment node`,e),null}}function T(e){return w(e)}function ge(e,t=`hidden`){try{return globalThis.document?.createComment(`conditional-${e}-${t}`)??null}catch(e){return l(`Failed to create conditional comment`,e),null}}function _e(e){let t=w(`${e}-${Math.random().toString(36).slice(2)}`);if(!t)throw Error(`Failed to create comment: document not available`);return t}function ve(e){let t=w(`${e}-end`);if(!t)throw Error(`Failed to create comment: document not available`);return{start:_e(`${e}-start`),end:t}}function ye(e,t){let n=e.nextSibling;for(;n&&n!==t;){let e=n.nextSibling;pe(n),n=e}}function be(e,t){let n=t.parentNode;if(n)for(let r=0;r<e.length;r++)me(n,e[r],t)}function xe(e,...t){if(!e)return e;for(let n=0;n<t.length;n++){let r=t[n];if(r!=null){let t;if(typeof r==`string`){let e=he(r);if(e)t=e;else continue}else t=r;de(e,t)}}return e}function E(e){return e?typeof e.isConnected==`boolean`?e.isConnected:u&&typeof document<`u`?document.contains(e):!1:!1}function D(e,t){if(!e?.parentNode)return!1;try{return e.parentNode.replaceChild(t,e),!0}catch(e){return l(`Error replacing conditional node`,e),!1}}function Se(e,t){if(typeof e!=`function`){l(`Invalid resolver provided to createReactiveTextNode`);let e=C(``);if(!e)throw Error(`Failed to create text node: document not available`);return e}let n;if(arguments.length>1)n=t;else try{n=e()}catch(e){l(`Failed to evaluate reactive text resolver`,e),n=``}let r=n===void 0?``:String(n),i=C(r);if(!i)throw Error(`Failed to create text node: document not available`);return te(i,{resolver:e,lastValue:r}),i}function Ce(e){let t=[];for(let[n,r]of m){let i=n.deref();if(i===void 0){t.push(n);continue}if(!E(i)){h.delete(i),t.push(n);continue}if(e&&!e.contains(i))continue;let a;try{a=r.resolver()}catch(e){l(`Failed to update reactive text node`,e),a=void 0}let o=a===void 0?``:String(a);o!==r.lastValue&&(i.textContent=o,r.lastValue=o)}for(let e of t)re(e)}const O={};let k=!1;function we(e){let t=e.target;if(!t||typeof Node>`u`||!(t instanceof Node))return;let n=t;for(;n;){if(n instanceof Element){let e=_.get(n);e&&(E(n)?j(e.info):(ie(e.ref),_.delete(n)))}n=n.parentNode}}function Te(){k||typeof document>`u`||typeof document.addEventListener!=`function`||(document.addEventListener(`update`,we,!0),k=!0)}function Ee(e){let t=_.get(e);if(t)return t.info;let n={attributeResolvers:new Map};return ne(e,n),n}function De(e){return typeof e!=`object`||!e}function A(e,t){let n;try{n=t.resolver()}catch(t){l(`Failed to resolve reactive attribute: ${e}`,t);return}let r=De(n);if(!(r&&Object.is(n,t.lastValue)))try{t.applyValue(n),t.lastValue=r?n:O}catch(t){l(`Failed to apply reactive attribute: ${e}`,t)}}function j(e){for(let[t,n]of e.attributeResolvers)A(t,n)}function M(e,t,n,r){if(!(e instanceof Element)||!t||typeof n!=`function`){l(`Invalid parameters for registerAttributeResolver`);return}Te();let i=Ee(e),a={resolver:n,applyValue:r,lastValue:O};i.attributeResolvers.set(t,a),A(t,a)}function Oe(e){let t=[];for(let[n,r]of g){let i=n.deref();if(i===void 0){t.push(n);continue}if(!E(i)){_.delete(i),t.push(n);continue}e&&!e.contains(i)||j(r)}for(let e of t)ie(e)}function ke(e){return e}function Ae(e,t,n){let r=ke(e),i=r.appendChild.bind(r),a=r.insertBefore.bind(r);r.appendChild=function(e){return a(e,t)};try{return n()}finally{r.appendChild=i}}function je(e,t,n){try{if(n==null||n===``)return e.style[t]=``,!0;let r=String(n);return e.style[t]=r,!0}catch{return!1}}function Me(e,t){if(!(!e?.style||!t))for(let[n,r]of Object.entries(t))je(e,n,r)||l(`Failed to set style property '${n}'`)}function Ne(e,t){e&&(s(t)?M(e,`style`,t,function(t){Me(e,t)}):Me(e,t))}const N=new WeakMap,Pe=new WeakSet;function P(e,t){let n=t.length,r=0;for(let i=0;i<=n;i++)(i===n||t.charCodeAt(i)===32)&&(i>r&&e.add(t.substring(r,i)),r=i+1)}function F(e){let t=``;for(let n of e)t&&(t+=` `),t+=n;return t}function Fe(e){if(!N.has(e)){let t=new Set;e.className&&P(t,e.className),N.set(e,t)}Pe.add(e)}function Ie(e){return Pe.has(e)}function Le(e,t){if(!t)return;let n=N.get(e);n||(n=new Set,N.set(e,n)),P(n,t)}function Re(e,t){let n=N.get(e);if(n&&n.size>0&&t){let r=new Set(n);P(r,t),e.className=F(r)}else t?e.className=t:n&&n.size>0?e.className=F(n):e.className=``}function ze(e,t){if(!t)return;let n=e.className;if(n&&n!==t){let r=new Set;P(r,n),P(r,t),e.className=F(r)}else e.className=t}function Be(e,t,n,r=!1){if(n==null)return;if(t===`style`){Ne(e,n);return}let i=(n,r=!1)=>{if(n!=null){if(t===`className`&&e instanceof HTMLElement&&r){ze(e,String(n));return}if(e instanceof Element&&e.namespaceURI===`http://www.w3.org/2000/svg`)e.setAttribute(String(t),String(n));else if(t in e)try{e[t]=n}catch{e instanceof Element&&e.setAttribute(String(t),String(n))}else e instanceof Element&&e.setAttribute(String(t),String(n))}};if(s(n)&&n.length===0){let r=n;t===`className`&&e instanceof HTMLElement?(Fe(e),M(e,String(t),r,function(t){Re(e,String(t||``))})):M(e,String(t),r,function(e){i(e,!1)})}else{if(t===`className`&&e instanceof HTMLElement&&Ie(e)){let t=String(n||``);t&&(Le(e,t),ze(e,t));return}i(n,r)}}function I(e,t,n=!0){if(t)for(let r of Object.keys(t)){let i=t[r];Be(e,r,i,n&&r===`className`)}}const L=new WeakMap;function Ve(e){return i(e)&&!r(e)&&`className`in e&&typeof e.className==`string`&&Object.keys(e).length===1}function R(e,t,a){if(t==null)return null;if(s(t)){if(c(t))try{let r=L.get(t);if(r||(r={value:t(),error:!1},L.set(t,r)),r.error)return z(a,()=>``);let i=r.value;return Ve(i)?(I(e,{className:()=>{let e=t();return Ve(e)?e.className:``}}),null):n(i)&&i!=null?z(a,t,i):null}catch(e){return L.set(t,{value:void 0,error:!0}),l(`Error evaluating reactive text function:`,e),z(a,()=>``)}let o=t(e,a);return o==null?null:n(o)?He(a,o):r(o)?o:(i(o)&&I(e,o),null)}let o=t;return n(o)?He(a,o):r(o)?o:(I(e,o),null)}function z(e,t,n){let r=ue();if(!r)throw Error(`Failed to create document fragment: document not available`);let i=T(` text-${e} `);i&&r.appendChild(i);let a=Se(t,n);return r.appendChild(a),r}function He(e,t){let n=ue();if(!n)throw Error(`Failed to create document fragment: document not available`);let r=T(` text-${e} `);r&&n.appendChild(r);let i=C(String(t));return i&&n.appendChild(i),n}function B(e,t,n=0){if(!t||t.length===0)return{element:e,nextIndex:n,appended:0};let r=n,i=0,a=e;for(let n=0;n<t.length;n+=1){let o=t[n];if(o==null)continue;let s=R(e,o,r);s&&(s.parentNode!==a&&a.appendChild(s),r+=1,i+=1)}return{element:e,nextIndex:r,appended:i}}function Ue(e,t){let n=x(e);return B(n,t,0),n}function We(e,t){let n=S(`http://www.w3.org/2000/svg`,e);if(!n)throw Error(`Failed to create SVG element: ${e}`);return B(n,t,0),n}function Ge(e,...t){return function(n,r=0){let i=x(e);return B(i,t,r),i}}function Ke(e,...t){return function(n,r=0){let i=S(`http://www.w3.org/2000/svg`,e);if(!i)throw Error(`Failed to create SVG element: ${e}`);return B(i,t,r),i}}function qe(e){return(...t)=>Ge(e,...t)}function Je(e){return(...t)=>Ke(e,...t)}const V=`a.abbr.address.area.article.aside.audio.b.base.bdi.bdo.blockquote.body.br.button.canvas.caption.cite.code.col.colgroup.data.datalist.dd.del.details.dfn.dialog.div.dl.dt.em.embed.fieldset.figcaption.figure.footer.form.h1.h2.h3.h4.h5.h6.head.header.hgroup.hr.html.i.iframe.img.input.ins.kbd.label.legend.li.link.main.map.mark.menu.meta.meter.nav.noscript.object.ol.optgroup.option.output.p.picture.pre.progress.q.rp.rt.ruby.s.samp.script.search.section.select.slot.small.source.span.strong.style.sub.summary.sup.table.tbody.td.template.textarea.tfoot.th.thead.time.title.tr.track.u.ul.var.video.wbr`.split(`.`),H=`a.animate.animateMotion.animateTransform.circle.clipPath.defs.desc.ellipse.feBlend.feColorMatrix.feComponentTransfer.feComposite.feConvolveMatrix.feDiffuseLighting.feDisplacementMap.feDistantLight.feDropShadow.feFlood.feFuncA.feFuncB.feFuncG.feFuncR.feGaussianBlur.feImage.feMerge.feMergeNode.feMorphology.feOffset.fePointLight.feSpecularLighting.feSpotLight.feTile.feTurbulence.filter.foreignObject.g.image.line.linearGradient.marker.mask.metadata.mpath.path.pattern.polygon.polyline.radialGradient.rect.script.set.stop.style.svg.switch.symbol.text.textPath.title.tspan.use.view`.split(`.`),Ye=[`area`,`base`,`br`,`col`,`embed`,`hr`,`img`,`input`,`link`,`meta`,`source`,`track`,`wbr`];function Xe(e,t){t in e&&typeof e[t]!=`function`||(e[t]=qe(t))}function Ze(e,t){let n=`${t}Svg`;n in e||(e[n]=Je(t))}function Qe(e=globalThis){let t=`__nuclo_tags_registered`;if(!e[t]){for(let t=0;t<H.length;t++)Ze(e,H[t]);for(let t=0;t<V.length;t++)Xe(e,V[t]);e[t]=!0}}function $e(e,t){if(e===t)return!0;if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}function et(e,t,n){if(s(e)){let r=e(t,n);return r&&a(r)?r:null}return e&&a(e)?e:null}const U=new Map;function tt(e){return Array.isArray(e)?e:Array.from(e)}function nt(e,t,n){return et(e.renderItem(t,n),e.host,n)}function rt(e){pe(e.element);let t=e;t.element=null,t.item=null}function it(e){let{host:t,startMarker:n,endMarker:r}=e,i=n.parentNode??t,a=tt(e.itemsProvider());if($e(e.lastSyncedItems,a))return;let o=new Map,s=new Map;for(let t=0;t<e.records.length;t++){let n=e.records[t],r=s.get(n.item);r?r.push(n):s.set(n.item,[n])}for(let t=0;t<a.length;t++){let n=a[t];if(t<e.lastSyncedItems.length&&e.lastSyncedItems[t]===n){let r=e.records[t];if(r&&r.item===n){o.set(t,r);let e=s.get(n);e.splice(e.indexOf(r),1),e.length===0&&s.delete(n)}}}let c=Array(a.length),l=new Set(e.records),u=r;for(let t=a.length-1;t>=0;t--){let n=a[t],r=o.get(t);if(!r){let e=s.get(n);e&&e.length>0&&(r=e.shift(),e.length===0&&s.delete(n))}if(r)l.delete(r);else{let i=nt(e,n,t);if(!i){c[t]=null;continue}r={item:n,element:i}}c[t]=r;let d=r.element;d.nextSibling!==u&&i.insertBefore(d,u),u=d}for(let e of l)rt(e);e.records=c.filter(e=>e!==null),e.lastSyncedItems=a.slice(),c.length===0&&(e.records=[],e.lastSyncedItems=[])}function at(e,t,n){let{start:r,end:i}=ve(`list`),a={itemsProvider:e,renderItem:t,startMarker:r,endMarker:i,records:[],host:n,lastSyncedItems:[]},o=n;o.appendChild(r),o.appendChild(i);let s={runtime:a};return U.set(new WeakRef(r),s),it(a),a}function ot(e){let t=[];for(let[n,r]of U){let i=n.deref();if(i===void 0){if(r.runtime.records){for(let e=0;e<r.runtime.records.length;e++){let t=r.runtime.records[e];t.element=null,t.item=null}r.runtime.records=[]}t.push(n);continue}if(!E(i)||!E(r.runtime.endMarker)){if(r.runtime.records){for(let e=0;e<r.runtime.records.length;e++){let t=r.runtime.records[e];t.element=null,t.item=null}r.runtime.records=[]}t.push(n);continue}e&&!e.contains(i)||it(r.runtime)}for(let e of t)U.delete(e)}function st(e,t){return function(n,r){return at(e,t,n).startMarker}}function ct(e,t){try{return e()}catch(e){if(t)return t(e),!1;throw e}}function lt(e,t){return typeof e==`function`?ct(e,t):!!e}function ut(e,t,n,r){return s(e)?c(e)?(L.delete(e),R(t,e,n)):Ae(t,r,()=>{let r=R(t,e,n);return r&&!r.parentNode?r:null}):R(t,e,n)}function dt(e,t,n,r){let i=[];for(let a of e){let e=ut(a,t,n,r);e&&i.push(e)}return i}const W=new Map;function ft(e,t){for(let t=0;t<e.length;t++)if(lt(e[t].condition))return t;return t.length>0?-1:null}function pt(e){let{groups:t,elseContent:n,host:r,index:i,endMarker:a}=e,o=ft(t,n);o!==e.activeIndex&&(ye(e.startMarker,e.endMarker),e.activeIndex=o,o!==null&&be(dt(o>=0?t[o].content:n,r,i,a),a))}function mt(e){let t={runtime:e};W.set(new WeakRef(e.startMarker),t)}function ht(e){let t=[];for(let[n,r]of W){let i=n.deref();if(i===void 0){t.push(n);continue}if(!E(i)||!E(r.runtime.endMarker)){t.push(n);continue}if(!(e&&!e.contains(i)))try{r.runtime.update()}catch{t.push(n)}}for(let e of t)W.delete(e)}var gt=class{groups=[];elseContent=[];constructor(e,...t){this.groups.push({condition:e,content:t})}when(e,...t){return this.groups.push({condition:e,content:t}),this}else(...e){return this.elseContent=e,this}render(e,t){if(!globalThis.document)return null;let{start:n,end:r}=ve(`when`),i={startMarker:n,endMarker:r,host:e,index:t,groups:[...this.groups],elseContent:[...this.elseContent],activeIndex:null,update:function(){pt(i)}};mt(i);let a=ke(e);return a.appendChild(n),a.appendChild(r),pt(i),n}};function G(e){return Object.assign(function(t,n){return e.render(t,n)},{when:function(t,...n){return e.when(t,...n),G(e)},else:function(...t){return e.else(...t),G(e)}})}function _t(e,...t){return G(new gt(e,...t))}function vt(e){try{return e.isSvg?We(e.tagName,e.modifiers):Ue(e.tagName,e.modifiers)}catch(t){if(l(`Error applying modifiers in conditional element "${e.tagName}"`,t),e.isSvg){let n=S(`http://www.w3.org/2000/svg`,e.tagName);if(!n)throw Error(`Failed to create SVG element: ${e.tagName}`,{cause:t});return n}let n=x(e.tagName);if(!n)throw Error(`Failed to create element: ${e.tagName}`,{cause:t});return n}}function yt(e){let t=le(e);if(!t)return;let n=ct(t.condition,e=>{l(`Error evaluating conditional condition`,e)}),r=e.nodeType===Node.ELEMENT_NODE;if(n&&!r){let n=vt(t);se(n,t),D(e,n)}else if(!n&&r){let n=ge(t.tagName);n&&(se(n,t),D(e,n))}}function bt(e){if(u)try{let t=ce();for(let n of t){if(!n.isConnected){b(n);continue}e&&!e.contains(n)||yt(n)}}catch(e){l(`Error during conditional elements update`,e)}}function xt(){if(typeof document>`u`)return;let e=document.body?[document.body,document]:[document];for(let t of e)try{t.dispatchEvent(new Event(`update`,{bubbles:!0}))}catch(e){l(`Error dispatching global update event`,e)}}const K=new Map;function St(e){let t=[],n=new Set;for(let r of e){if(typeof r!=`string`)continue;let e=r.trim();e&&(n.has(e)||(n.add(e),t.push(e)))}return t}function Ct(e,t){let n=K.get(e);n||(n=new Set,K.set(e,n)),n.add(new WeakRef(t))}function wt(e){let t=St(e);if(t.length===0)return[];let n=new Set;for(let e of t){let t=K.get(e);if(!t)continue;let r=[];for(let e of t){let t=e.deref();if(t===void 0){r.push(e);continue}if(!E(t)){r.push(e);continue}n.add(t)}for(let e of r)t.delete(e);t.size===0&&K.delete(e)}return Array.from(n)}function Tt(...e){let t=St(e);return function(e){if(e instanceof Element)for(let n of t)Ct(n,e)}}const Et=[ot,ht,bt,Oe,Ce,xt];function Dt(...e){let t;if(e.length>0){let n=wt(e);if(n.length===1){let e=n[0];t={roots:n,contains:t=>e.contains(t)}}else t={roots:n,contains:e=>{for(let t of n)if(t.contains(e))return!0;return!1}}}for(let e of Et)e(t)}function Ot(e,t,n=0){let r=e(t||document.body,n);return(t||document.body).appendChild(r),r}const kt=[{name:`display`,cssProperty:`display`},{name:`grid`,cssProperty:`display`,defaultValue:`grid`,isShorthand:!0},{name:`bg`,cssProperty:`background-color`},{name:`color`,cssProperty:`color`},{name:`accentColor`,cssProperty:`accent-color`},{name:`fontSize`,cssProperty:`font-size`},{name:`fontWeight`,cssProperty:`font-weight`},{name:`fontFamily`,cssProperty:`font-family`},{name:`lineHeight`,cssProperty:`line-height`},{name:`letterSpacing`,cssProperty:`letter-spacing`},{name:`textAlign`,cssProperty:`text-align`},{name:`textDecoration`,cssProperty:`text-decoration`},{name:`fontStyle`,cssProperty:`font-style`},{name:`fontVariant`,cssProperty:`font-variant`},{name:`fontStretch`,cssProperty:`font-stretch`},{name:`textTransform`,cssProperty:`text-transform`},{name:`textIndent`,cssProperty:`text-indent`},{name:`textOverflow`,cssProperty:`text-overflow`},{name:`textShadow`,cssProperty:`text-shadow`},{name:`whiteSpace`,cssProperty:`white-space`},{name:`wordSpacing`,cssProperty:`word-spacing`},{name:`wordWrap`,cssProperty:`word-wrap`},{name:`overflowWrap`,cssProperty:`overflow-wrap`},{name:`textAlignLast`,cssProperty:`text-align-last`},{name:`textJustify`,cssProperty:`text-justify`},{name:`textDecorationLine`,cssProperty:`text-decoration-line`},{name:`textDecorationColor`,cssProperty:`text-decoration-color`},{name:`textDecorationStyle`,cssProperty:`text-decoration-style`},{name:`textDecorationThickness`,cssProperty:`text-decoration-thickness`},{name:`textUnderlineOffset`,cssProperty:`text-underline-offset`},{name:`verticalAlign`,cssProperty:`vertical-align`},{name:`position`,cssProperty:`position`},{name:`padding`,cssProperty:`padding`},{name:`paddingTop`,cssProperty:`padding-top`},{name:`paddingRight`,cssProperty:`padding-right`},{name:`paddingBottom`,cssProperty:`padding-bottom`},{name:`paddingLeft`,cssProperty:`padding-left`},{name:`margin`,cssProperty:`margin`},{name:`marginTop`,cssProperty:`margin-top`},{name:`marginRight`,cssProperty:`margin-right`},{name:`marginBottom`,cssProperty:`margin-bottom`},{name:`marginLeft`,cssProperty:`margin-left`},{name:`width`,cssProperty:`width`},{name:`height`,cssProperty:`height`},{name:`minWidth`,cssProperty:`min-width`},{name:`maxWidth`,cssProperty:`max-width`},{name:`minHeight`,cssProperty:`min-height`},{name:`maxHeight`,cssProperty:`max-height`},{name:`boxSizing`,cssProperty:`box-sizing`},{name:`top`,cssProperty:`top`},{name:`right`,cssProperty:`right`},{name:`bottom`,cssProperty:`bottom`},{name:`left`,cssProperty:`left`},{name:`zIndex`,cssProperty:`z-index`},{name:`flexDirection`,cssProperty:`flex-direction`},{name:`alignItems`,cssProperty:`align-items`},{name:`justifyContent`,cssProperty:`justify-content`},{name:`gap`,cssProperty:`gap`},{name:`flexWrap`,cssProperty:`flex-wrap`},{name:`flexGrow`,cssProperty:`flex-grow`},{name:`flexShrink`,cssProperty:`flex-shrink`},{name:`flexBasis`,cssProperty:`flex-basis`},{name:`alignSelf`,cssProperty:`align-self`},{name:`alignContent`,cssProperty:`align-content`},{name:`justifySelf`,cssProperty:`justify-self`},{name:`justifyItems`,cssProperty:`justify-items`},{name:`gridTemplateColumns`,cssProperty:`grid-template-columns`},{name:`gridTemplateRows`,cssProperty:`grid-template-rows`},{name:`gridTemplateAreas`,cssProperty:`grid-template-areas`},{name:`gridColumn`,cssProperty:`grid-column`},{name:`gridRow`,cssProperty:`grid-row`},{name:`gridColumnStart`,cssProperty:`grid-column-start`},{name:`gridColumnEnd`,cssProperty:`grid-column-end`},{name:`gridRowStart`,cssProperty:`grid-row-start`},{name:`gridRowEnd`,cssProperty:`grid-row-end`},{name:`gridArea`,cssProperty:`grid-area`},{name:`gridAutoColumns`,cssProperty:`grid-auto-columns`},{name:`gridAutoRows`,cssProperty:`grid-auto-rows`},{name:`gridAutoFlow`,cssProperty:`grid-auto-flow`},{name:`border`,cssProperty:`border`},{name:`borderTop`,cssProperty:`border-top`},{name:`borderRight`,cssProperty:`border-right`},{name:`borderBottom`,cssProperty:`border-bottom`},{name:`borderLeft`,cssProperty:`border-left`},{name:`borderWidth`,cssProperty:`border-width`},{name:`borderStyle`,cssProperty:`border-style`},{name:`borderColor`,cssProperty:`border-color`},{name:`borderTopWidth`,cssProperty:`border-top-width`},{name:`borderRightWidth`,cssProperty:`border-right-width`},{name:`borderBottomWidth`,cssProperty:`border-bottom-width`},{name:`borderLeftWidth`,cssProperty:`border-left-width`},{name:`borderTopStyle`,cssProperty:`border-top-style`},{name:`borderRightStyle`,cssProperty:`border-right-style`},{name:`borderBottomStyle`,cssProperty:`border-bottom-style`},{name:`borderLeftStyle`,cssProperty:`border-left-style`},{name:`borderTopColor`,cssProperty:`border-top-color`},{name:`borderRightColor`,cssProperty:`border-right-color`},{name:`borderBottomColor`,cssProperty:`border-bottom-color`},{name:`borderLeftColor`,cssProperty:`border-left-color`},{name:`borderRadius`,cssProperty:`border-radius`},{name:`borderTopLeftRadius`,cssProperty:`border-top-left-radius`},{name:`borderTopRightRadius`,cssProperty:`border-top-right-radius`},{name:`borderBottomLeftRadius`,cssProperty:`border-bottom-left-radius`},{name:`borderBottomRightRadius`,cssProperty:`border-bottom-right-radius`},{name:`outline`,cssProperty:`outline`},{name:`outlineWidth`,cssProperty:`outline-width`},{name:`outlineStyle`,cssProperty:`outline-style`},{name:`outlineColor`,cssProperty:`outline-color`},{name:`outlineOffset`,cssProperty:`outline-offset`},{name:`backgroundColor`,cssProperty:`background-color`},{name:`backgroundImage`,cssProperty:`background-image`},{name:`backgroundRepeat`,cssProperty:`background-repeat`},{name:`backgroundPosition`,cssProperty:`background-position`},{name:`backgroundSize`,cssProperty:`background-size`},{name:`backgroundAttachment`,cssProperty:`background-attachment`},{name:`backgroundClip`,cssProperty:`background-clip`},{name:`backgroundOrigin`,cssProperty:`background-origin`},{name:`boxShadow`,cssProperty:`box-shadow`},{name:`opacity`,cssProperty:`opacity`},{name:`transition`,cssProperty:`transition`},{name:`transitionProperty`,cssProperty:`transition-property`},{name:`transitionDuration`,cssProperty:`transition-duration`},{name:`transitionTimingFunction`,cssProperty:`transition-timing-function`},{name:`transitionDelay`,cssProperty:`transition-delay`},{name:`transform`,cssProperty:`transform`},{name:`transformOrigin`,cssProperty:`transform-origin`},{name:`transformStyle`,cssProperty:`transform-style`},{name:`perspective`,cssProperty:`perspective`},{name:`perspectiveOrigin`,cssProperty:`perspective-origin`},{name:`backfaceVisibility`,cssProperty:`backface-visibility`},{name:`animation`,cssProperty:`animation`},{name:`animationName`,cssProperty:`animation-name`},{name:`animationDuration`,cssProperty:`animation-duration`},{name:`animationTimingFunction`,cssProperty:`animation-timing-function`},{name:`animationDelay`,cssProperty:`animation-delay`},{name:`animationIterationCount`,cssProperty:`animation-iteration-count`},{name:`animationDirection`,cssProperty:`animation-direction`},{name:`animationFillMode`,cssProperty:`animation-fill-mode`},{name:`animationPlayState`,cssProperty:`animation-play-state`},{name:`filter`,cssProperty:`filter`},{name:`backdropFilter`,cssProperty:`backdrop-filter`},{name:`overflow`,cssProperty:`overflow`},{name:`overflowX`,cssProperty:`overflow-x`},{name:`overflowY`,cssProperty:`overflow-y`},{name:`visibility`,cssProperty:`visibility`},{name:`objectFit`,cssProperty:`object-fit`},{name:`objectPosition`,cssProperty:`object-position`},{name:`listStyle`,cssProperty:`list-style`},{name:`listStyleType`,cssProperty:`list-style-type`},{name:`listStylePosition`,cssProperty:`list-style-position`},{name:`listStyleImage`,cssProperty:`list-style-image`},{name:`borderCollapse`,cssProperty:`border-collapse`},{name:`borderSpacing`,cssProperty:`border-spacing`},{name:`captionSide`,cssProperty:`caption-side`},{name:`emptyCells`,cssProperty:`empty-cells`},{name:`tableLayout`,cssProperty:`table-layout`},{name:`content`,cssProperty:`content`},{name:`quotes`,cssProperty:`quotes`},{name:`counterReset`,cssProperty:`counter-reset`},{name:`counterIncrement`,cssProperty:`counter-increment`},{name:`appearance`,cssProperty:`appearance`},{name:`userSelect`,cssProperty:`user-select`},{name:`pointerEvents`,cssProperty:`pointer-events`},{name:`resize`,cssProperty:`resize`},{name:`scrollBehavior`,cssProperty:`scroll-behavior`},{name:`clip`,cssProperty:`clip`},{name:`clipPath`,cssProperty:`clip-path`},{name:`isolation`,cssProperty:`isolation`},{name:`mixBlendMode`,cssProperty:`mix-blend-mode`},{name:`willChange`,cssProperty:`will-change`},{name:`contain`,cssProperty:`contain`},{name:`pageBreakBefore`,cssProperty:`page-break-before`},{name:`pageBreakAfter`,cssProperty:`page-break-after`},{name:`pageBreakInside`,cssProperty:`page-break-inside`},{name:`breakBefore`,cssProperty:`break-before`},{name:`breakAfter`,cssProperty:`break-after`},{name:`breakInside`,cssProperty:`break-inside`},{name:`orphans`,cssProperty:`orphans`},{name:`widows`,cssProperty:`widows`},{name:`columnCount`,cssProperty:`column-count`},{name:`columnFill`,cssProperty:`column-fill`},{name:`columnGap`,cssProperty:`column-gap`},{name:`columnRule`,cssProperty:`column-rule`},{name:`columnRuleColor`,cssProperty:`column-rule-color`},{name:`columnRuleStyle`,cssProperty:`column-rule-style`},{name:`columnRuleWidth`,cssProperty:`column-rule-width`},{name:`columnSpan`,cssProperty:`column-span`},{name:`columnWidth`,cssProperty:`column-width`},{name:`columns`,cssProperty:`columns`},{name:`cursor`,cssProperty:`cursor`},{name:`aspectRatio`,cssProperty:`aspect-ratio`},{name:`clear`,cssProperty:`clear`},{name:`float`,cssProperty:`float`},{name:`order`,cssProperty:`order`},{name:`placeContent`,cssProperty:`place-content`},{name:`placeItems`,cssProperty:`place-items`},{name:`placeSelf`,cssProperty:`place-self`},{name:`hyphens`,cssProperty:`hyphens`},{name:`lineBreak`,cssProperty:`line-break`},{name:`wordBreak`,cssProperty:`word-break`},{name:`textOrientation`,cssProperty:`text-orientation`},{name:`writingMode`,cssProperty:`writing-mode`},{name:`direction`,cssProperty:`direction`},{name:`unicodeBidi`,cssProperty:`unicode-bidi`},{name:`backgroundBlendMode`,cssProperty:`background-blend-mode`},{name:`backgroundPositionX`,cssProperty:`background-position-x`},{name:`backgroundPositionY`,cssProperty:`background-position-y`},{name:`borderImage`,cssProperty:`border-image`},{name:`borderImageSource`,cssProperty:`border-image-source`},{name:`borderImageSlice`,cssProperty:`border-image-slice`},{name:`borderImageWidth`,cssProperty:`border-image-width`},{name:`borderImageOutset`,cssProperty:`border-image-outset`},{name:`borderImageRepeat`,cssProperty:`border-image-repeat`},{name:`inset`,cssProperty:`inset`},{name:`insetBlock`,cssProperty:`inset-block`},{name:`insetBlockStart`,cssProperty:`inset-block-start`},{name:`insetBlockEnd`,cssProperty:`inset-block-end`},{name:`insetInline`,cssProperty:`inset-inline`},{name:`insetInlineStart`,cssProperty:`inset-inline-start`},{name:`insetInlineEnd`,cssProperty:`inset-inline-end`},{name:`marginBlock`,cssProperty:`margin-block`},{name:`marginBlockStart`,cssProperty:`margin-block-start`},{name:`marginBlockEnd`,cssProperty:`margin-block-end`},{name:`marginInline`,cssProperty:`margin-inline`},{name:`marginInlineStart`,cssProperty:`margin-inline-start`},{name:`marginInlineEnd`,cssProperty:`margin-inline-end`},{name:`paddingBlock`,cssProperty:`padding-block`},{name:`paddingBlockStart`,cssProperty:`padding-block-start`},{name:`paddingBlockEnd`,cssProperty:`padding-block-end`},{name:`paddingInline`,cssProperty:`padding-inline`},{name:`paddingInlineStart`,cssProperty:`padding-inline-start`},{name:`paddingInlineEnd`,cssProperty:`padding-inline-end`},{name:`inlineSize`,cssProperty:`inline-size`},{name:`blockSize`,cssProperty:`block-size`},{name:`minInlineSize`,cssProperty:`min-inline-size`},{name:`minBlockSize`,cssProperty:`min-block-size`},{name:`maxInlineSize`,cssProperty:`max-inline-size`},{name:`maxBlockSize`,cssProperty:`max-block-size`},{name:`borderBlock`,cssProperty:`border-block`},{name:`borderBlockStart`,cssProperty:`border-block-start`},{name:`borderBlockEnd`,cssProperty:`border-block-end`},{name:`borderInline`,cssProperty:`border-inline`},{name:`borderInlineStart`,cssProperty:`border-inline-start`},{name:`borderInlineEnd`,cssProperty:`border-inline-end`},{name:`borderBlockWidth`,cssProperty:`border-block-width`},{name:`borderBlockStartWidth`,cssProperty:`border-block-start-width`},{name:`borderBlockEndWidth`,cssProperty:`border-block-end-width`},{name:`borderInlineWidth`,cssProperty:`border-inline-width`},{name:`borderInlineStartWidth`,cssProperty:`border-inline-start-width`},{name:`borderInlineEndWidth`,cssProperty:`border-inline-end-width`},{name:`borderBlockStyle`,cssProperty:`border-block-style`},{name:`borderBlockStartStyle`,cssProperty:`border-block-start-style`},{name:`borderBlockEndStyle`,cssProperty:`border-block-end-style`},{name:`borderInlineStyle`,cssProperty:`border-inline-style`},{name:`borderInlineStartStyle`,cssProperty:`border-inline-start-style`},{name:`borderInlineEndStyle`,cssProperty:`border-inline-end-style`},{name:`borderBlockColor`,cssProperty:`border-block-color`},{name:`borderBlockStartColor`,cssProperty:`border-block-start-color`},{name:`borderBlockEndColor`,cssProperty:`border-block-end-color`},{name:`borderInlineColor`,cssProperty:`border-inline-color`},{name:`borderInlineStartColor`,cssProperty:`border-inline-start-color`},{name:`borderInlineEndColor`,cssProperty:`border-inline-end-color`},{name:`borderStartStartRadius`,cssProperty:`border-start-start-radius`},{name:`borderStartEndRadius`,cssProperty:`border-start-end-radius`},{name:`borderEndStartRadius`,cssProperty:`border-end-start-radius`},{name:`borderEndEndRadius`,cssProperty:`border-end-end-radius`},{name:`scrollMargin`,cssProperty:`scroll-margin`},{name:`scrollMarginTop`,cssProperty:`scroll-margin-top`},{name:`scrollMarginRight`,cssProperty:`scroll-margin-right`},{name:`scrollMarginBottom`,cssProperty:`scroll-margin-bottom`},{name:`scrollMarginLeft`,cssProperty:`scroll-margin-left`},{name:`scrollPadding`,cssProperty:`scroll-padding`},{name:`scrollPaddingTop`,cssProperty:`scroll-padding-top`},{name:`scrollPaddingRight`,cssProperty:`scroll-padding-right`},{name:`scrollPaddingBottom`,cssProperty:`scroll-padding-bottom`},{name:`scrollPaddingLeft`,cssProperty:`scroll-padding-left`},{name:`overscrollBehavior`,cssProperty:`overscroll-behavior`},{name:`overscrollBehaviorX`,cssProperty:`overscroll-behavior-x`},{name:`overscrollBehaviorY`,cssProperty:`overscroll-behavior-y`},{name:`caretColor`,cssProperty:`caret-color`},{name:`caretShape`,cssProperty:`caret-shape`},{name:`caretAnimation`,cssProperty:`caret-animation`},{name:`imageRendering`,cssProperty:`image-rendering`},{name:`colorScheme`,cssProperty:`color-scheme`},{name:`contentVisibility`,cssProperty:`content-visibility`},{name:`touchAction`,cssProperty:`touch-action`},{name:`containerType`,cssProperty:`container-type`},{name:`containerName`,cssProperty:`container-name`},{name:`container`,cssProperty:`container`},{name:`fontFeatureSettings`,cssProperty:`font-feature-settings`},{name:`fontKerning`,cssProperty:`font-kerning`},{name:`fontSynthesis`,cssProperty:`font-synthesis`},{name:`fontOpticalSizing`,cssProperty:`font-optical-sizing`},{name:`fontDisplay`,cssProperty:`font-display`},{name:`fontVariantCaps`,cssProperty:`font-variant-caps`},{name:`fontVariantNumeric`,cssProperty:`font-variant-numeric`},{name:`fontVariantLigatures`,cssProperty:`font-variant-ligatures`},{name:`fontVariantEastAsian`,cssProperty:`font-variant-east-asian`},{name:`fontVariantAlternates`,cssProperty:`font-variant-alternates`},{name:`fontVariantPosition`,cssProperty:`font-variant-position`},{name:`textRendering`,cssProperty:`text-rendering`},{name:`textCombineUpright`,cssProperty:`text-combine-upright`},{name:`textSizeAdjust`,cssProperty:`text-size-adjust`},{name:`mask`,cssProperty:`mask`},{name:`maskImage`,cssProperty:`mask-image`},{name:`maskMode`,cssProperty:`mask-mode`},{name:`maskRepeat`,cssProperty:`mask-repeat`},{name:`maskPosition`,cssProperty:`mask-position`},{name:`maskSize`,cssProperty:`mask-size`},{name:`maskOrigin`,cssProperty:`mask-origin`},{name:`maskClip`,cssProperty:`mask-clip`},{name:`maskComposite`,cssProperty:`mask-composite`},{name:`clipRule`,cssProperty:`clip-rule`},{name:`gridColumnGap`,cssProperty:`grid-column-gap`},{name:`gridRowGap`,cssProperty:`grid-row-gap`},{name:`gridGap`,cssProperty:`grid-gap`}],At=[`bold`,`center`,`flex`],jt=new Map;function q(e){let t=0;for(let n=0;n<e.length;n++){let r=e.charCodeAt(n);t=(t<<5)-t+r,t&=t}return Math.abs(t).toString(16).padStart(8,`0`).substring(0,8)}function J(e){return Object.entries(e).sort(([e],[t])=>e.localeCompare(t)).map(([e,t])=>`${e}:${t}`).join(`|`)}function Mt(e){return jt.get(e)}function Nt(e,t){jt.set(e,t)}function Pt(e,t,n=`media`,r){let i=document.querySelector(`#nuclo-styles`);if(!i||!i.sheet)return!1;if(r){let t=`.${e}${r}`;return Array.from(i.sheet.cssRules||[]).some(function(e){return e instanceof CSSStyleRule?e.selectorText===t:!1})}if(t){let r=Array.from(i.sheet.cssRules||[]).find(function(e){return n===`media`&&e instanceof CSSMediaRule?e.media.mediaText===t:n===`container`&&e instanceof CSSContainerRule||n===`supports`&&e instanceof CSSSupportsRule?e.conditionText===t:!1});return r?Array.from(r.cssRules).some(function(t){return t instanceof CSSStyleRule?t.selectorText===`.${e}`:!1}):!1}else return Array.from(i.sheet.cssRules||[]).some(function(t){return t instanceof CSSStyleRule?t.selectorText===`.${e}`:!1})}function Y(e,t,n,r=`media`,i){let a=document.querySelector(`#nuclo-styles`);a||(a=x(`style`),a.id=`nuclo-styles`,document.head.appendChild(a));let o=Object.entries(t).map(function([e,t]){return`${e}: ${t}`}).join(`; `);if(i){let n=`.${e}${i}`,r=a.sheet;if(!r)return;let s=r.cssRules,c=s.length,l=null,u=c;for(let e=0;e<c;e++){let t=s[e];if(t instanceof CSSStyleRule){if(t.selectorText===n){l=t,u=e;break}t.selectorText.includes(`:`)||(u=e+1)}}if(l){let e=l.style;e.cssText=``;for(let[n,r]of Object.entries(t))e.setProperty(n,r)}else r.insertRule(`${n} { ${o} }`,u);return}if(n){let i=a.sheet;if(!i)return;let s=i.cssRules,c=s.length,l=null,u=e=>r===`media`&&e instanceof CSSMediaRule?e.media.mediaText===n:r===`container`&&e instanceof CSSContainerRule||r===`supports`&&e instanceof CSSSupportsRule?e.conditionText===n:!1,d=e=>e instanceof CSSMediaRule||e instanceof CSSContainerRule||e instanceof CSSSupportsRule;for(let e=0;e<c;e++){let t=s[e];if(u(t)){l=t;break}}if(!l){let e=c;for(let t=c-1;t>=0;t--){let n=s[t];if(d(n)){e=t+1;break}else if(n instanceof CSSStyleRule){e=t+1;break}}let t=r===`media`?`@media`:r===`container`?`@container`:r===`supports`?`@supports`:`@media`;i.insertRule(`${t} ${n} {}`,e),l=i.cssRules[e]}let f=null;for(let t of Array.from(l.cssRules))if(t instanceof CSSStyleRule&&t.selectorText===`.${e}`){f=t;break}if(f){let e=f.style;e.cssText=``;for(let[n,r]of Object.entries(t))e.setProperty(n,r)}else l.insertRule(`.${e} { ${o} }`,l.cssRules.length)}else{let n=a.sheet;if(!n)return;let r=null,i=0,s=e=>e instanceof CSSMediaRule||e instanceof CSSContainerRule||e instanceof CSSSupportsRule,c=n.cssRules,l=c.length;for(let t=0;t<l;t++){let n=c[t];if(n instanceof CSSStyleRule&&n.selectorText===`.${e}`){r=n,i=t;break}s(n)||(i=t+1)}if(r){let e=r.style;e.cssText=``;for(let[n,r]of Object.entries(t))e.setProperty(n,r)}else n.insertRule(`.${e} { ${o} }`,i)}}function Ft(e,t){Y(e,t)}function It(e,t=``,n){let r=J(e),i=t?`${t}:${r}`:r,a=Mt(i);if(a){let t=a;return Pt(t,n)||Y(t,e,n),t}let o=q(r),s=t?`n${t}-${o}`:`n${o}`;return Nt(i,s),Y(s,e,n),s}var X=class{styles={};getStyles(){return{...this.styles}}getClassName(e=``,t){return It(this.styles,e,t)}getClassNames(){return[this.getClassName()]}getClassDefinitions(){return Object.entries(this.styles).map(([e,t])=>({className:this.getClassName(),property:e,value:t}))}toString(){return this.getClassName()}add(e,t){return this.styles[e]=t,this}bold(){return this.styles[`font-weight`]=`bold`,this}center(){return this.styles[`justify-content`]=`center`,this.styles[`align-items`]=`center`,this}flex(e){return e===void 0?this.styles.display=`flex`:this.styles.flex=e,this}};function Lt(){let e=X.prototype;for(let t of kt)t.name in e||(t.isShorthand?e[t.name]=function(){return this.add(t.cssProperty,t.defaultValue||``),this}:e[t.name]=function(e){return this.add(t.cssProperty,e),this})}Lt();function Rt(e){return e.isShorthand?()=>new X().add(e.cssProperty,e.defaultValue||``):t=>new X().add(e.cssProperty,t||``)}const Z={};for(let e of kt)Z[e.name]=Rt(e);for(let e of At)e===`bold`||e===`center`?Z[e]=()=>new X()[e]():e===`flex`&&(Z[e]=e=>new X().flex(e));const{display:zt,flex:Bt,grid:Vt,bg:Ht,color:Ut,accentColor:Wt,fontSize:Gt,fontWeight:Kt,fontFamily:qt,lineHeight:Jt,letterSpacing:Yt,textAlign:Xt,textDecoration:Zt,bold:Qt,fontStyle:$t,fontVariant:en,fontStretch:tn,textTransform:nn,textIndent:rn,textOverflow:an,textShadow:on,whiteSpace:sn,wordSpacing:cn,wordWrap:ln,overflowWrap:un,textAlignLast:dn,textJustify:fn,textDecorationLine:pn,textDecorationColor:mn,textDecorationStyle:hn,textDecorationThickness:gn,textUnderlineOffset:_n,verticalAlign:vn,position:yn,padding:bn,paddingTop:xn,paddingRight:Sn,paddingBottom:Cn,paddingLeft:wn,margin:Tn,marginTop:En,marginRight:Dn,marginBottom:On,marginLeft:kn,width:An,height:jn,minWidth:Mn,maxWidth:Nn,minHeight:Pn,maxHeight:Fn,boxSizing:In,top:Ln,right:Rn,bottom:zn,left:Bn,zIndex:Vn,flexDirection:Hn,alignItems:Un,justifyContent:Wn,center:Gn,gap:Kn,flexWrap:qn,flexGrow:Jn,flexShrink:Yn,flexBasis:Xn,alignSelf:Zn,alignContent:Qn,justifySelf:$n,justifyItems:er,gridTemplateColumns:tr,gridTemplateRows:nr,gridTemplateAreas:rr,gridColumn:ir,gridRow:ar,gridColumnStart:or,gridColumnEnd:sr,gridRowStart:cr,gridRowEnd:lr,gridArea:ur,gridAutoColumns:dr,gridAutoRows:fr,gridAutoFlow:pr,border:mr,borderTop:hr,borderRight:gr,borderBottom:_r,borderLeft:vr,borderWidth:yr,borderStyle:br,borderColor:xr,borderTopWidth:Sr,borderRightWidth:Cr,borderBottomWidth:wr,borderLeftWidth:Tr,borderTopStyle:Er,borderRightStyle:Dr,borderBottomStyle:Or,borderLeftStyle:kr,borderTopColor:Ar,borderRightColor:jr,borderBottomColor:Mr,borderLeftColor:Nr,borderRadius:Pr,borderTopLeftRadius:Fr,borderTopRightRadius:Ir,borderBottomLeftRadius:Lr,borderBottomRightRadius:Rr,outline:zr,outlineWidth:Br,outlineStyle:Vr,outlineColor:Hr,outlineOffset:Ur,backgroundColor:Wr,backgroundImage:Gr,backgroundRepeat:Kr,backgroundPosition:qr,backgroundSize:Jr,backgroundAttachment:Yr,backgroundClip:Xr,backgroundOrigin:Q,boxShadow:Zr,opacity:Qr,transition:$r,transitionProperty:ei,transitionDuration:ti,transitionTimingFunction:ni,transitionDelay:ri,transform:ii,transformOrigin:ai,transformStyle:oi,perspective:si,perspectiveOrigin:ci,backfaceVisibility:li,animation:ui,animationName:di,animationDuration:fi,animationTimingFunction:pi,animationDelay:mi,animationIterationCount:hi,animationDirection:gi,animationFillMode:_i,animationPlayState:vi,filter:yi,backdropFilter:bi,overflow:xi,overflowX:Si,overflowY:Ci,visibility:wi,objectFit:Ti,objectPosition:Ei,listStyle:Di,listStyleType:Oi,listStylePosition:ki,listStyleImage:Ai,borderCollapse:ji,borderSpacing:Mi,captionSide:Ni,emptyCells:Pi,tableLayout:Fi,content:Ii,quotes:Li,counterReset:Ri,counterIncrement:zi,appearance:Bi,userSelect:Vi,pointerEvents:Hi,resize:Ui,scrollBehavior:Wi,clip:Gi,clipPath:Ki,isolation:qi,mixBlendMode:Ji,willChange:Yi,contain:Xi,pageBreakBefore:Zi,pageBreakAfter:Qi,pageBreakInside:$i,breakBefore:ea,breakAfter:ta,breakInside:na,orphans:ra,widows:ia,columnCount:aa,columnFill:oa,columnGap:sa,columnRule:ca,columnRuleColor:la,columnRuleStyle:ua,columnRuleWidth:da,columnSpan:fa,columnWidth:pa,columns:ma,cursor:ha,aspectRatio:ga,clear:_a,float:va,order:ya,placeContent:ba,placeItems:xa,placeSelf:Sa,hyphens:Ca,lineBreak:wa,wordBreak:Ta,textOrientation:Ea,writingMode:Da,direction:Oa,unicodeBidi:ka,backgroundBlendMode:Aa,backgroundPositionX:ja,backgroundPositionY:Ma,borderImage:Na,borderImageSource:Pa,borderImageSlice:Fa,borderImageWidth:Ia,borderImageOutset:La,borderImageRepeat:Ra,inset:za,insetBlock:Ba,insetBlockStart:Va,insetBlockEnd:Ha,insetInline:Ua,insetInlineStart:Wa,insetInlineEnd:Ga,marginBlock:Ka,marginBlockStart:qa,marginBlockEnd:Ja,marginInline:Ya,marginInlineStart:Xa,marginInlineEnd:Za,paddingBlock:Qa,paddingBlockStart:$a,paddingBlockEnd:eo,paddingInline:to,paddingInlineStart:no,paddingInlineEnd:ro,inlineSize:io,blockSize:ao,minInlineSize:oo,minBlockSize:so,maxInlineSize:co,maxBlockSize:lo,borderBlock:uo,borderBlockStart:fo,borderBlockEnd:po,borderInline:mo,borderInlineStart:ho,borderInlineEnd:go,borderBlockWidth:_o,borderBlockStartWidth:vo,borderBlockEndWidth:yo,borderInlineWidth:bo,borderInlineStartWidth:xo,borderInlineEndWidth:So,borderBlockStyle:Co,borderBlockStartStyle:wo,borderBlockEndStyle:To,borderInlineStyle:Eo,borderInlineStartStyle:Do,borderInlineEndStyle:Oo,borderBlockColor:ko,borderBlockStartColor:Ao,borderBlockEndColor:jo,borderInlineColor:Mo,borderInlineStartColor:No,borderInlineEndColor:Po,borderStartStartRadius:Fo,borderStartEndRadius:Io,borderEndStartRadius:Lo,borderEndEndRadius:Ro,scrollMargin:zo,scrollMarginTop:Bo,scrollMarginRight:Vo,scrollMarginBottom:Ho,scrollMarginLeft:Uo,scrollPadding:Wo,scrollPaddingTop:Go,scrollPaddingRight:Ko,scrollPaddingBottom:qo,scrollPaddingLeft:Jo,overscrollBehavior:Yo,overscrollBehaviorX:Xo,overscrollBehaviorY:Zo,caretColor:Qo,caretShape:$o,caretAnimation:es,imageRendering:ts,colorScheme:ns,contentVisibility:rs,touchAction:is,containerType:as,containerName:os,container:ss,fontFeatureSettings:cs,fontKerning:ls,fontSynthesis:us,fontOpticalSizing:ds,fontDisplay:fs,fontVariantCaps:ps,fontVariantNumeric:ms,fontVariantLigatures:hs,fontVariantEastAsian:gs,fontVariantAlternates:_s,fontVariantPosition:vs,textRendering:ys,textCombineUpright:bs,textSizeAdjust:xs,mask:Ss,maskImage:Cs,maskMode:ws,maskRepeat:Ts,maskPosition:Es,maskSize:Ds,maskOrigin:Os,maskClip:ks,maskComposite:As,clipRule:js,gridColumnGap:Ms,gridRowGap:Ns,gridGap:Ps}=Z,Fs={hover:`:hover`,active:`:active`,focus:`:focus`,"focus-visible":`:focus-visible`,"focus-within":`:focus-within`,visited:`:visited`,link:`:link`,target:`:target`,root:`:root`,empty:`:empty`,enabled:`:enabled`,disabled:`:disabled`,checked:`:checked`,indeterminate:`:indeterminate`,default:`:default`,required:`:required`,optional:`:optional`,valid:`:valid`,invalid:`:invalid`,"in-range":`:in-range`,"out-of-range":`:out-of-range`,"placeholder-shown":`:placeholder-shown`,autofill:`:autofill`,"read-only":`:read-only`,"read-write":`:read-write`,"first-child":`:first-child`,"last-child":`:last-child`,"only-child":`:only-child`,"first-of-type":`:first-of-type`,"last-of-type":`:last-of-type`,"only-of-type":`:only-of-type`,"nth-child":`:nth-child`,"nth-last-child":`:nth-last-child`,"nth-of-type":`:nth-of-type`,"nth-last-of-type":`:nth-last-of-type`,lang:`:lang`,dir:`:dir`,not:`:not`,is:`:is`,where:`:where`,has:`:has`,"any-link":`:any-link`,"local-link":`:local-link`,scope:`:scope`,current:`:current`,past:`:past`,future:`:future`,playing:`:playing`,paused:`:paused`,seeking:`:seeking`,muted:`:muted`,"volume-locked":`:volume-locked`,buffering:`:buffering`,stalled:`:stalled`,"picture-in-picture":`:picture-in-picture`,fullscreen:`:fullscreen`,modal:`:modal`,"popover-open":`:popover-open`,"user-invalid":`:user-invalid`,"user-valid":`:user-valid`};function Is(e){let t=e.trim();return t.startsWith(`&:`)||t.startsWith(`:`)?{type:`pseudo`,pseudoClass:(t.startsWith(`&:`)?t.slice(1):t).trim()}:t.startsWith(`@media `)?{type:`media`,condition:t.slice(7).trim()}:t.startsWith(`@container `)?{type:`container`,condition:t.slice(11).trim()}:t.startsWith(`@supports `)?{type:`supports`,condition:t.slice(10).trim()}:t.startsWith(`@style `)?{type:`style`,condition:t.slice(7).trim()}:{type:`media`,condition:t}}function Ls(e){return e in Fs}function Rs(e){return Fs[e]}function zs(e,t){return`${e}_${q(t)}`}const Bs=new Map;function $(e){let t=Array.isArray(e)?[...e]:Object.entries(e),n=new Map;for(let[e,r]of t){let t=Bs.get(r);t||(t=Is(r),Bs.set(r,t)),n.set(e,t)}return function(e,r,i){let a,o,s;typeof e==`string`?(a=e.trim()||void 0,r instanceof X?(o=r,s=i):s=r):r===void 0?e instanceof X?o=e:s=e:(o=e,s=r);let c=s!=null&&Object.keys(s).length>0;if(!o&&!c)return{className:a??``};if(c){let e=[],r=new Set;for(let[i]of t){let t=s?.[i];t&&(r.add(i),e.push({queryName:i,query:n.get(i),styles:t.getStyles()}))}for(let[t,n]of Object.entries(s??{}))!r.has(t)&&Ls(t)&&n instanceof X&&e.push({queryName:t,query:{type:`pseudo`,pseudoClass:Rs(t)},styles:n.getStyles()});if(e.length===0&&!o)return{className:a??``};let i=[];i.length=e.length+(o?1:0);let c=0;if(o){let e=o.getStyles();i[c++]=`default:${J(e)}`}for(let{queryName:t,styles:n}of e){let e=J(n);i[c++]=`${t}:${e}`}let l=i.sort().join(`||`),u=a?zs(a,l):`n${q(l)}`,d={};o&&(d={...o.getStyles()},Y(u,d));let f=[],p=[];for(let t of e)t.query.type===`pseudo`?p.push(t):f.push(t);for(let{query:e,styles:t}of f)d={...d,...t},Y(u,d,e.condition,e.type);for(let{query:e,styles:t}of p)Y(u,t,void 0,`pseudo`,e.pseudoClass);return{className:u}}if(a){let e=J(o.getStyles()),t=zs(a,e);return Y(t,o.getStyles()),{className:t}}return{className:o.getClassName()}}}const Vs=$;var Hs=t({StyleBuilder:()=>X,accentColor:()=>Wt,alignContent:()=>Qn,alignItems:()=>Un,alignSelf:()=>Zn,animation:()=>ui,animationDelay:()=>mi,animationDirection:()=>gi,animationDuration:()=>fi,animationFillMode:()=>_i,animationIterationCount:()=>hi,animationName:()=>di,animationPlayState:()=>vi,animationTimingFunction:()=>pi,appearance:()=>Bi,backdropFilter:()=>bi,backfaceVisibility:()=>li,backgroundAttachment:()=>Yr,backgroundClip:()=>Xr,backgroundColor:()=>Wr,backgroundImage:()=>Gr,backgroundOrigin:()=>Q,backgroundPosition:()=>qr,backgroundRepeat:()=>Kr,backgroundSize:()=>Jr,bg:()=>Ht,bold:()=>Qt,border:()=>mr,borderBottom:()=>_r,borderBottomColor:()=>Mr,borderBottomLeftRadius:()=>Lr,borderBottomRightRadius:()=>Rr,borderBottomStyle:()=>Or,borderBottomWidth:()=>wr,borderCollapse:()=>ji,borderColor:()=>xr,borderLeft:()=>vr,borderLeftColor:()=>Nr,borderLeftStyle:()=>kr,borderLeftWidth:()=>Tr,borderRadius:()=>Pr,borderRight:()=>gr,borderRightColor:()=>jr,borderRightStyle:()=>Dr,borderRightWidth:()=>Cr,borderSpacing:()=>Mi,borderStyle:()=>br,borderTop:()=>hr,borderTopColor:()=>Ar,borderTopLeftRadius:()=>Fr,borderTopRightRadius:()=>Ir,borderTopStyle:()=>Er,borderTopWidth:()=>Sr,borderWidth:()=>yr,bottom:()=>zn,boxShadow:()=>Zr,boxSizing:()=>In,breakAfter:()=>ta,breakBefore:()=>ea,breakInside:()=>na,captionSide:()=>Ni,center:()=>Gn,clip:()=>Gi,clipPath:()=>Ki,color:()=>Ut,columnCount:()=>aa,columnFill:()=>oa,columnGap:()=>sa,columnRule:()=>ca,columnRuleColor:()=>la,columnRuleStyle:()=>ua,columnRuleWidth:()=>da,columnSpan:()=>fa,columnWidth:()=>pa,columns:()=>ma,contain:()=>Xi,content:()=>Ii,counterIncrement:()=>zi,counterReset:()=>Ri,createBreakpoints:()=>Vs,createCSSClass:()=>Ft,createStyleQueries:()=>$,cursor:()=>ha,display:()=>zt,emptyCells:()=>Pi,filter:()=>yi,flex:()=>Bt,flexBasis:()=>Xn,flexDirection:()=>Hn,flexGrow:()=>Jn,flexShrink:()=>Yn,flexWrap:()=>qn,fontFamily:()=>qt,fontSize:()=>Gt,fontStretch:()=>tn,fontStyle:()=>$t,fontVariant:()=>en,fontWeight:()=>Kt,gap:()=>Kn,grid:()=>Vt,gridArea:()=>ur,gridAutoColumns:()=>dr,gridAutoFlow:()=>pr,gridAutoRows:()=>fr,gridColumn:()=>ir,gridColumnEnd:()=>sr,gridColumnStart:()=>or,gridRow:()=>ar,gridRowEnd:()=>lr,gridRowStart:()=>cr,gridTemplateAreas:()=>rr,gridTemplateColumns:()=>tr,gridTemplateRows:()=>nr,height:()=>jn,isolation:()=>qi,justifyContent:()=>Wn,justifyItems:()=>er,justifySelf:()=>$n,left:()=>Bn,letterSpacing:()=>Yt,lineHeight:()=>Jt,listStyle:()=>Di,listStyleImage:()=>Ai,listStylePosition:()=>ki,listStyleType:()=>Oi,margin:()=>Tn,marginBottom:()=>On,marginLeft:()=>kn,marginRight:()=>Dn,marginTop:()=>En,maxHeight:()=>Fn,maxWidth:()=>Nn,minHeight:()=>Pn,minWidth:()=>Mn,mixBlendMode:()=>Ji,objectFit:()=>Ti,objectPosition:()=>Ei,opacity:()=>Qr,orphans:()=>ra,outline:()=>zr,outlineColor:()=>Hr,outlineOffset:()=>Ur,outlineStyle:()=>Vr,outlineWidth:()=>Br,overflow:()=>xi,overflowWrap:()=>un,overflowX:()=>Si,overflowY:()=>Ci,padding:()=>bn,paddingBottom:()=>Cn,paddingLeft:()=>wn,paddingRight:()=>Sn,paddingTop:()=>xn,pageBreakAfter:()=>Qi,pageBreakBefore:()=>Zi,pageBreakInside:()=>$i,perspective:()=>si,perspectiveOrigin:()=>ci,pointerEvents:()=>Hi,position:()=>yn,quotes:()=>Li,resize:()=>Ui,right:()=>Rn,scrollBehavior:()=>Wi,tableLayout:()=>Fi,textAlign:()=>Xt,textAlignLast:()=>dn,textDecoration:()=>Zt,textDecorationColor:()=>mn,textDecorationLine:()=>pn,textDecorationStyle:()=>hn,textDecorationThickness:()=>gn,textIndent:()=>rn,textJustify:()=>fn,textOverflow:()=>an,textShadow:()=>on,textTransform:()=>nn,textUnderlineOffset:()=>_n,top:()=>Ln,transform:()=>ii,transformOrigin:()=>ai,transformStyle:()=>oi,transition:()=>$r,transitionDelay:()=>ri,transitionDuration:()=>ti,transitionProperty:()=>ei,transitionTimingFunction:()=>ni,userSelect:()=>Vi,verticalAlign:()=>vn,visibility:()=>wi,whiteSpace:()=>sn,widows:()=>ia,width:()=>An,willChange:()=>Yi,wordSpacing:()=>cn,wordWrap:()=>ln,zIndex:()=>Vn});function Us(){Qe();let e=globalThis;e.list=st,e.update=Dt,e.when=_t,e.on=ee,e.scope=Tt,e.render=Ot;for(let[t,n]of Object.entries(Hs))try{e[t]=n}catch{}}Us(),exports.HTML_TAGS=V,exports.SELF_CLOSING_TAGS=Ye,exports.SVG_TAGS=H,exports.StyleBuilder=X,exports.accentColor=Wt,exports.alignContent=Qn,exports.alignItems=Un,exports.alignSelf=Zn,exports.animation=ui,exports.animationDelay=mi,exports.animationDirection=gi,exports.animationDuration=fi,exports.animationFillMode=_i,exports.animationIterationCount=hi,exports.animationName=di,exports.animationPlayState=vi,exports.animationTimingFunction=pi,exports.appearance=Bi,exports.appendChildren=xe,exports.applyAttributes=I,exports.applyNodeModifier=R,exports.backdropFilter=bi,exports.backfaceVisibility=li,exports.backgroundAttachment=Yr,exports.backgroundClip=Xr,exports.backgroundColor=Wr,exports.backgroundImage=Gr,exports.backgroundOrigin=Q,exports.backgroundPosition=qr,exports.backgroundRepeat=Kr,exports.backgroundSize=Jr,exports.bg=Ht,exports.bold=Qt,exports.border=mr,exports.borderBottom=_r,exports.borderBottomColor=Mr,exports.borderBottomLeftRadius=Lr,exports.borderBottomRightRadius=Rr,exports.borderBottomStyle=Or,exports.borderBottomWidth=wr,exports.borderCollapse=ji,exports.borderColor=xr,exports.borderLeft=vr,exports.borderLeftColor=Nr,exports.borderLeftStyle=kr,exports.borderLeftWidth=Tr,exports.borderRadius=Pr,exports.borderRight=gr,exports.borderRightColor=jr,exports.borderRightStyle=Dr,exports.borderRightWidth=Cr,exports.borderSpacing=Mi,exports.borderStyle=br,exports.borderTop=hr,exports.borderTopColor=Ar,exports.borderTopLeftRadius=Fr,exports.borderTopRightRadius=Ir,exports.borderTopStyle=Er,exports.borderTopWidth=Sr,exports.borderWidth=yr,exports.bottom=zn,exports.boxShadow=Zr,exports.boxSizing=In,exports.breakAfter=ta,exports.breakBefore=ea,exports.breakInside=na,exports.captionSide=Ni,exports.center=Gn,exports.clip=Gi,exports.clipPath=Ki,exports.color=Ut,exports.columnCount=aa,exports.columnFill=oa,exports.columnGap=sa,exports.columnRule=ca,exports.columnRuleColor=la,exports.columnRuleStyle=ua,exports.columnRuleWidth=da,exports.columnSpan=fa,exports.columnWidth=pa,exports.columns=ma,exports.contain=Xi,exports.content=Ii,exports.counterIncrement=zi,exports.counterReset=Ri,exports.createBreakpoints=Vs,exports.createCSSClass=Ft,exports.createComment=T,exports.createConditionalComment=ge,exports.createHtmlElementWithModifiers=Ue,exports.createHtmlTagBuilder=qe,exports.createStyleQueries=$,exports.createSvgElementWithModifiers=We,exports.createSvgTagBuilder=Je,exports.cursor=ha,exports.display=zt,exports.emptyCells=Pi,exports.filter=yi,exports.flex=Bt,exports.flexBasis=Xn,exports.flexDirection=Hn,exports.flexGrow=Jn,exports.flexShrink=Yn,exports.flexWrap=qn,exports.fontFamily=qt,exports.fontSize=Gt,exports.fontStretch=tn,exports.fontStyle=$t,exports.fontVariant=en,exports.fontWeight=Kt,exports.gap=Kn,exports.grid=Vt,exports.gridArea=ur,exports.gridAutoColumns=dr,exports.gridAutoFlow=pr,exports.gridAutoRows=fr,exports.gridColumn=ir,exports.gridColumnEnd=sr,exports.gridColumnStart=or,exports.gridRow=ar,exports.gridRowEnd=lr,exports.gridRowStart=cr,exports.gridTemplateAreas=rr,exports.gridTemplateColumns=tr,exports.gridTemplateRows=nr,exports.height=jn,exports.initializeRuntime=Us,exports.isBoolean=o,exports.isBrowser=u,exports.isFunction=s,exports.isNode=r,exports.isObject=i,exports.isPrimitive=n,exports.isTagLike=a,exports.isZeroArityFunction=c,exports.isolation=qi,exports.justifyContent=Wn,exports.justifyItems=er,exports.justifySelf=$n,exports.left=Bn,exports.letterSpacing=Yt,exports.lineHeight=Jt,exports.list=st,exports.listStyle=Di,exports.listStyleImage=Ai,exports.listStylePosition=ki,exports.listStyleType=Oi,exports.margin=Tn,exports.marginBottom=On,exports.marginLeft=kn,exports.marginRight=Dn,exports.marginTop=En,exports.maxHeight=Fn,exports.maxWidth=Nn,exports.minHeight=Pn,exports.minWidth=Mn,exports.mixBlendMode=Ji,exports.objectFit=Ti,exports.objectPosition=Ei,exports.on=ee,exports.opacity=Qr,exports.orphans=ra,exports.outline=zr,exports.outlineColor=Hr,exports.outlineOffset=Ur,exports.outlineStyle=Vr,exports.outlineWidth=Br,exports.overflow=xi,exports.overflowWrap=un,exports.overflowX=Si,exports.overflowY=Ci,exports.padding=bn,exports.paddingBottom=Cn,exports.paddingLeft=wn,exports.paddingRight=Sn,exports.paddingTop=xn,exports.pageBreakAfter=Qi,exports.pageBreakBefore=Zi,exports.pageBreakInside=$i,exports.perspective=si,exports.perspectiveOrigin=ci,exports.pointerEvents=Hi,exports.position=yn,exports.quotes=Li,exports.registerGlobalTagBuilders=Qe,exports.render=Ot,exports.replaceNodeSafely=D,exports.resize=Ui,exports.right=Rn,exports.scope=Tt,exports.scrollBehavior=Wi,exports.tableLayout=Fi,exports.textAlign=Xt,exports.textAlignLast=dn,exports.textDecoration=Zt,exports.textDecorationColor=mn,exports.textDecorationLine=pn,exports.textDecorationStyle=hn,exports.textDecorationThickness=gn,exports.textIndent=rn,exports.textJustify=fn,exports.textOverflow=an,exports.textShadow=on,exports.textTransform=nn,exports.textUnderlineOffset=_n,exports.top=Ln,exports.transform=ii,exports.transformOrigin=ai,exports.transformStyle=oi,exports.transition=$r,exports.transitionDelay=ri,exports.transitionDuration=ti,exports.transitionProperty=ei,exports.transitionTimingFunction=ni,exports.update=Dt,exports.userSelect=Vi,exports.verticalAlign=vn,exports.visibility=wi,exports.when=_t,exports.whiteSpace=sn,exports.widows=ia,exports.width=An,exports.willChange=Yi,exports.wordSpacing=cn,exports.wordWrap=ln,exports.zIndex=Vn;
2
2
  //# sourceMappingURL=nuclo.cjs.map