nuclo 0.1.90 → 0.1.91

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.
package/dist/nuclo.umd.js CHANGED
@@ -1,2 +1,2 @@
1
- !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).Nuclo={})}(this,function(e){"use strict";function t(e){return null===e||"object"!=typeof e&&"function"!=typeof e}function r(e){return e instanceof Node}function n(e){return"object"==typeof e&&null!==e}function o(e){return n(e)&&"tagName"in e}function i(e){return"function"==typeof e}function s(e){return i(e)&&0===e.length}function a(e,t){void 0!==console&&console.error("nuclo: "+e,t)}const c="undefined"!=typeof window&&"undefined"!=typeof document,l=new WeakMap;function d(e,t,r){return function(n){if(!n||"function"!=typeof n.addEventListener)return;const o=n,i=new AbortController,s=function(r){try{t.call(o,r)}catch(t){a(`Error in '${e}' listener`,t)}},c="boolean"==typeof r?{capture:r,signal:i.signal}:{...r||{},signal:i.signal};o.addEventListener(e,s,c),function(e,t,r,n,o,i){let s=l.get(e);s||(s=new Map,l.set(e,s));let a=s.get(t);a||(a=new Set,s.set(t,a)),a.add({original:r,wrapped:n,options:o,controller:i})}(o,e,t,s,r,i)}}const u=new Set;function m(e,t){e._conditionalInfo=t,u.add(new WeakRef(e))}function p(e){for(const t of u)if(t.deref()===e){u.delete(t);break}}function f(e){return globalThis.document?document.createElement(e):null}function y(e,t){return globalThis.document?document.createElementNS(e,t):null}function g(e){return globalThis.document?document.createTextNode(e):null}function h(){return globalThis.document?document.createDocumentFragment():null}function b(e){if(e.nodeType===Node.ELEMENT_NODE){const t=e;!function(e){const t=l.get(e);if(t){for(const[r,n]of t)for(const t of n)t.controller?t.controller.abort():e.removeEventListener(r,t.wrapped,t.options);l.delete(e)}}(t),function(e){for(const[t,r]of B)if(t.deref()===e){B.delete(t);break}}(t),p(t)}else e.nodeType===Node.TEXT_NODE?function(e){for(const[t]of T)if(t.deref()===e){T.delete(t);break}}(e):e.nodeType===Node.COMMENT_NODE&&p(e);if(e.childNodes&&e.childNodes.length>0)for(let t=0;e.childNodes.length>t;t++)b(e.childNodes[t])}function P(e){if(!e?.parentNode)return!1;try{return b(e),e.parentNode.removeChild(e),!0}catch(e){return a("Failed to remove child node",e),!1}}function S(e){if(!c)return null;try{return document.createComment(e)}catch(e){return a("Failed to create comment node",e),null}}function k(e){return S(e)}function w(e,t="hidden"){try{return document.createComment(`conditional-${e}-${t}`)}catch(e){return a("Failed to create conditional comment",e),null}}function v(e){if(!c)throw Error("Cannot create comment in non-browser environment");const t=S(`${e}-${Math.random().toString(36).slice(2)}`);if(!t)throw Error("Failed to create comment");return t}function x(e){const t=S(e+"-end");if(!t)throw Error("Failed to create end comment");return{start:v(e+"-start"),end:t}}function C(e){return!!e&&("boolean"==typeof e.isConnected?e.isConnected:!(!c||"undefined"==typeof document)&&document.contains(e))}function R(e,t){if(!e?.parentNode)return!1;try{return e.parentNode.replaceChild(t,e),!0}catch(e){return a("Error replacing conditional node",e),!1}}const T=new Map,B=new Map,E={};let I=!1;function N(e){const t=e.target;if(!(t&&"undefined"!=typeof Node&&t instanceof Node))return;let r=t;for(;r;){if(r instanceof Element){let e=null,t=null;for(const[n,o]of B){const i=n.deref();if(void 0!==i){if(i===r){e=n,t=o;break}}else B.delete(n)}t&&e&&(C(r)?A(t):B.delete(e))}r=r.parentNode}}function W(e,t){let r;try{r=t.resolver()}catch(t){return void a("Failed to resolve reactive attribute: "+e,t)}const n=null===(o=r)||"object"!=typeof o;var o;if(!n||!Object.is(r,t.lastValue))try{t.applyValue(r),t.lastValue=n?r:E}catch(t){a("Failed to apply reactive attribute: "+e,t)}}function A(e){for(const[t,r]of e.attributeResolvers)W(t,r)}function M(e,t,r,n){if(!(e instanceof Element&&t&&"function"==typeof r))return void a("Invalid parameters for registerAttributeResolver");I||"undefined"!=typeof document&&"function"==typeof document.addEventListener&&(document.addEventListener("update",N,!0),I=!0);const o=function(e){for(const[t,r]of B){const n=t.deref();if(void 0!==n){if(n===e)return r}else B.delete(t)}const t={attributeResolvers:new Map};return B.set(new WeakRef(e),t),t}(e),i={resolver:r,applyValue:n,lastValue:E};o.attributeResolvers.set(t,i),W(t,i)}function L(e,t,r){try{return null==r||""===r?(e.style[t]="",!0):(e.style[t]=r+"",!0)}catch{return!1}}function F(e,t){if(e?.style&&t)for(const[r,n]of Object.entries(t))L(e,r,n)||a(`Failed to set style property '${r}'`)}const j="__nuclo_reactive_className__",D="__nuclo_static_className__";function O(e,t,r,n=!1){if(null==r)return;if("style"===t)return s=r,void((o=e)&&(i(s)?M(o,"style",s,function(e){F(o,e)}):F(o,s)));var o,s;const a=(r,n=!1)=>{if(null!=r)if("className"===t&&e instanceof HTMLElement&&n)!function(e,t){if(!t)return;const r=e.className;if(r&&r!==t){const n=new Set(r.split(" ").filter(function(e){return e}));t.split(" ").filter(function(e){return e}).forEach(function(e){n.add(e)}),e.className=Array.from(n).join(" ")}else e.className=t}(e,r+"");else if(e instanceof Element&&"http://www.w3.org/2000/svg"===e.namespaceURI)e.setAttribute(t+"",r+"");else if(t in e)try{e[t]=r}catch{e instanceof Element&&e.setAttribute(t+"",r+"")}else e instanceof Element&&e.setAttribute(t+"",r+"")};if(i(r)&&0===r.length){const n=r;"className"===t&&e instanceof HTMLElement?(function(e){e[D]||(e[D]=new Set(e.className.split(" ").filter(function(e){return e}))),e[j]=!0}(e),M(e,t+"",n,function(t){!function(e,t){const r=function(e){return e[D]}(e);if(r&&r.size>0&&t){const n=new Set(r);t.split(" ").filter(function(e){return e}).forEach(function(e){n.add(e)}),e.className=Array.from(n).join(" ")}else e.className=t||(r&&r.size>0?Array.from(r).join(" "):"")}(e,(t||"")+"")})):M(e,t+"",n,function(e){a(e,!1)})}else{if("className"===t&&e instanceof HTMLElement&&function(e){return!!e[j]}(e)){const t=(r||"")+"";if(t){!function(e,t){t&&(e[D]||(e[D]=new Set),t.split(" ").filter(function(e){return e}).forEach(function(t){e[D].add(t)}))}(e,t);const r=new Set(e.className.split(" ").filter(function(e){return e}));t.split(" ").filter(function(e){return e}).forEach(function(e){r.add(e)}),e.className=Array.from(r).join(" ")}return}a(r,n)}}function z(e,t,r=!0){if(t)for(const n of Object.keys(t))O(e,n,t[n],r&&"className"===n)}const V=new WeakMap;function _(e,o,c){if(null==o)return null;if(i(o)){if(s(o))try{let i=V.get(o);if(i||(i={value:o(),error:!1},V.set(o,i)),i.error)return $(c,function(){return""});const s=i.value;if(n(s)&&!r(s)&&"className"in s&&"string"==typeof s.className&&1===Object.keys(s).length){const t=o;return z(e,{className:function(){const e=t();return n(e)&&"className"in e&&"string"==typeof e.className?e.className:""}}),null}return t(s)&&null!=s?$(c,o,s):null}catch(e){return V.set(o,{value:void 0,error:!0}),a("Error evaluating reactive text function:",e),$(c,function(){return""})}const i=o(e,c);return null==i?null:t(i)?G(c,i):r(i)?i:(n(i)&&z(e,i),null)}const l=o;return t(l)?G(c,l):r(l)?l:(z(e,l),null)}function $(e,t,r){const n=h();if(!n)throw Error("Failed to create document fragment: document not available");const o=k(` text-${e} `);o&&n.appendChild(o);const i=function(e,t){if("function"!=typeof e){a("Invalid resolver provided to createReactiveTextNode");const e=g("");if(!e)throw Error("Failed to create text node: document not available");return e}let r;if(arguments.length>1)r=t;else try{r=e()}catch(e){a("Failed to evaluate reactive text resolver",e),r=""}const n=void 0===r?"":r+"",o=g(n);if(!o)throw Error("Failed to create text node: document not available");return T.set(new WeakRef(o),{resolver:e,lastValue:n}),o}(t,r);return n.appendChild(i),n}function G(e,t){const r=h();if(!r)throw Error("Failed to create document fragment: document not available");const n=k(` text-${e} `);n&&r.appendChild(n);const o=g(t+"");return o&&r.appendChild(o),r}function q(e,t,r=0){if(!t||0===t.length)return{element:e,nextIndex:r,appended:0};let n=r,o=0;const i=e;for(let r=0;t.length>r;r+=1){const s=t[r];if(null==s)continue;const a=_(e,s,n);a&&(a.parentNode!==i&&i.appendChild(a),n+=1,o+=1)}return{element:e,nextIndex:n,appended:o}}function H(e,t){const r=f(e);return q(r,t,0),r}function X(e,t){const r=y("http://www.w3.org/2000/svg",e);if(!r)throw Error("Failed to create SVG element: "+e);return q(r,t,0),r}function U(e){return(...t)=>function(e,...t){return function(r,n){const o=f(e);return q(o,t,n),o}}(e,...t)}function Y(e){return(...t)=>function(e,...t){return function(r,n){const o=y("http://www.w3.org/2000/svg",e);if(!o)throw Error("Failed to create SVG element: "+e);return q(o,t,n),o}}(e,...t)}const J=["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"],Q=["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"];function K(e=globalThis){const t="__nuclo_tags_registered";e[t]||(Q.forEach(t=>function(e,t){const r=t+"Svg";r in e||(e[r]=Y(t))}(e,t)),J.forEach(t=>function(e,t){t in e&&"function"!=typeof e[t]||(e[t]=U(t))}(e,t)),e[t]=!0)}const Z=new Map;function ee(e,t,r){return function(e,t,r){if(i(e)){const n=e(t,r);return n&&o(n)?n:null}return e&&o(e)?e:null}(e.renderItem(t,r),e.host,r)}function te(e){P(e.element),e.element=null,e.item=null}function re(e){const{host:t,startMarker:r,endMarker:n}=e,o=r.parentNode??t,i=e.itemsProvider();if(function(e,t){if(e===t)return!0;if(e.length!==t.length)return!1;for(let r=0;e.length>r;r++)if((r in e?e[r]:void 0)!==(r in t?t[r]:void 0))return!1;return!0}(e.lastSyncedItems,i))return;const s=new Map,a=new Map;e.records.forEach(function(e){const t=a.get(e.item);t?t.push(e):a.set(e.item,[e])}),i.forEach(function(t,r){if(e.lastSyncedItems.length>r&&e.lastSyncedItems[r]===t){const n=e.records[r];if(n&&n.item===t){s.set(r,n);const e=a.get(t);e.splice(e.indexOf(n),1),0===e.length&&a.delete(t)}}});const c=[],l=new Set(e.records);let d=n;for(let t=i.length-1;t>=0;t--){const r=i[t];let n=s.get(t);if(!n){const e=a.get(r);e&&e.length>0&&(n=e.shift(),0===e.length&&a.delete(r))}if(n)l.delete(n);else{const o=ee(e,r,t);if(!o)continue;n={item:r,element:o}}c.unshift(n);const u=n.element;u.nextSibling!==d&&o.insertBefore(u,d),d=u}l.forEach(te),e.records=c,e.lastSyncedItems=[...i],0===c.length&&(e.records=[],e.lastSyncedItems=[])}function ne(e,t){return function(r){const n=function(e,t,r){const{start:n,end:o}=x("list"),i={itemsProvider:e,renderItem:t,startMarker:n,endMarker:o,records:[],host:r,lastSyncedItems:[]},s=r;s.appendChild(n),s.appendChild(o);const a={runtime:i};return Z.set(new WeakRef(n),a),re(i),i}(e,t,r);return n.startMarker}}function oe(e,t){try{return e()}catch(e){if(t)return t(e),!1;throw e}}function ie(e,t){return"function"==typeof e?oe(e,t):!!e}function se(e,t,r,n){return i(e)?s(e)?(V.delete(e),_(t,e,r)):function(e,t,r){const n=e,o=n.appendChild.bind(n),i=n.insertBefore.bind(n);n.appendChild=function(e){return i(e,t)};try{return r()}finally{n.appendChild=o}}(t,n,()=>{const n=_(t,e,r);return n&&!n.parentNode?n:null}):_(t,e,r)}const ae=new Map;function ce(e){const{groups:t,elseContent:r,host:n,index:o,endMarker:i}=e,s=function(e,t){for(let t=0;e.length>t;t++)if(ie(e[t].condition))return t;return t.length>0?-1:null}(t,r);if(s===e.activeIndex)return;if(function(e,t){let r=e.nextSibling;for(;r&&r!==t;){const e=r.nextSibling;P(r),r=e}}(e.startMarker,e.endMarker),e.activeIndex=s,null===s)return;const c=function(e,t,r,n){const o=[];for(const i of e){const e=se(i,t,r,n);e&&o.push(e)}return o}(0>s?r:t[s].content,n,o,i);!function(e,t){const r=t.parentNode;r&&e.forEach(function(e){!function(e,t,r){try{return e.insertBefore(t,r),!0}catch(e){return a("Failed to insert node before reference",e),!1}}(r,e,t)})}(c,i)}class le{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(!c)return k("when-ssr")||null;const{start:r,end:n}=x("when"),o={startMarker:r,endMarker:n,host:e,index:t,groups:[...this.groups],elseContent:[...this.elseContent],activeIndex:null,update:function(){ce(o)}};!function(e){const t={runtime:e};ae.set(new WeakRef(e.startMarker),t)}(o);const i=e;return i.appendChild(r),i.appendChild(n),ce(o),r}}function de(e){return Object.assign(function(t,r){return e.render(t,r)},{when:function(t,...r){return e.when(t,...r),de(e)},else:function(...t){return e.else(...t),de(e)}})}function ue(e,...t){return de(new le(e,...t))}function me(e){const t=function(e){return e._conditionalInfo??null}(e);if(!t)return;const r=oe(t.condition,e=>{a("Error evaluating conditional condition",e)}),n=e.nodeType===Node.ELEMENT_NODE;if(r&&!n){const r=function(e){try{return e.isSvg?X(e.tagName,e.modifiers):H(e.tagName,e.modifiers)}catch(t){if(a(`Error applying modifiers in conditional element "${e.tagName}"`,t),e.isSvg){const t=y("http://www.w3.org/2000/svg",e.tagName);if(!t)throw Error("Failed to create SVG element: "+e.tagName);return t}const r=f(e.tagName);if(!r)throw Error("Failed to create element: "+e.tagName);return r}}(t);m(r,t),R(e,r)}else if(!r&&n){const r=w(t.tagName);r&&(m(r,t),R(e,r))}}const pe=new Map;function fe(e){const t=[],r=new Set;for(const n of e){if("string"!=typeof n)continue;const e=n.trim();e&&(r.has(e)||(r.add(e),t.push(e)))}return t}function ye(e,t){let r=pe.get(e);r||(r=new Set,pe.set(e,r)),r.add(new WeakRef(t))}function ge(...e){const t=fe(e);return function(e){if(e instanceof Element)for(const r of t)ye(r,e)}}const he=[function(e){const t=[];for(const[r,n]of Z){const o=r.deref();void 0!==o&&C(o)&&C(n.runtime.endMarker)?e&&!e.contains(o)||re(n.runtime):(n.runtime.records&&(n.runtime.records.forEach(e=>{e.element=null,e.item=null}),n.runtime.records=[]),t.push(r))}for(const e of t)Z.delete(e)},function(e){const t=[];for(const[r,n]of ae){const o=r.deref();if(void 0!==o)if(C(o)&&C(n.runtime.endMarker)){if(!e||e.contains(o))try{n.runtime.update()}catch{t.push(r)}}else t.push(r);else t.push(r)}for(const e of t)ae.delete(e)},function(e){if(c)try{const t=function(){const e=[],t=[];for(const r of u){const n=r.deref();void 0===n?t.push(r):e.push(n)}for(const e of t)u.delete(e);return e}();for(const r of t)r.isConnected?e&&!e.contains(r)||me(r):p(r)}catch(e){a("Error during conditional elements update",e)}},function(e){const t=[];for(const[r,n]of B){const o=r.deref();void 0!==o&&C(o)?e&&!e.contains(o)||A(n):t.push(r)}for(const e of t)B.delete(e);t.length>0&&function(){const e=[];for(const[t]of B)void 0===t.deref()&&e.push(t);for(const t of e)B.delete(t)}()},function(e){const t=[];for(const[r,n]of T){const o=r.deref();if(void 0===o){t.push(r);continue}if(!C(o)){t.push(r);continue}if(e&&!e.contains(o))continue;let i;try{i=n.resolver()}catch(e){a("Failed to update reactive text node",e),i=void 0}const s=void 0===i?"":i+"";s!==n.lastValue&&(o.textContent=s,n.lastValue=s)}for(const e of t)T.delete(e);t.length>0&&function(){const e=[];for(const[t]of T)void 0===t.deref()&&e.push(t);for(const t of e)T.delete(t)}()},function(){if("undefined"==typeof document)return;const e=document.body?[document.body,document]:[document];for(const t of e)try{t.dispatchEvent(new Event("update",{bubbles:!0}))}catch(e){a("Error dispatching global update event",e)}}];function be(...e){let t;if(e.length>0){const r=function(e){const t=fe(e);if(0===t.length)return[];const r=new Set;for(const e of t){const t=pe.get(e);if(!t)continue;const n=[];for(const e of t){const t=e.deref();void 0!==t&&C(t)?r.add(t):n.push(e)}for(const e of n)t.delete(e);0===t.size&&pe.delete(e)}return Array.from(r)}(e);if(1===r.length){const e=r[0];t={roots:r,contains:function(t){return e.contains(t)}}}else t={roots:r,contains:function(e){for(const t of r)if(t.contains(e))return!0;return!1}}}for(const e of he)e(t)}function Pe(e,t,r=0){const n=e(t||document.body,r);return(t||document.body).appendChild(n),n}const Se=[{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"}],ke=["bold","center","flex"],we=new Map;function ve(e){let t=0;for(let r=0;e.length>r;r++)t=(t<<5)-t+e.charCodeAt(r),t&=t;return Math.abs(t).toString(16).padStart(8,"0").substring(0,8)}function xe(e){return Object.entries(e).sort(([e],[t])=>e.localeCompare(t)).map(([e,t])=>`${e}:${t}`).join("|")}function Ce(e,t,r,n="media",o){let i=document.querySelector("#nuclo-styles");i||(i=f("style"),i.id="nuclo-styles",document.head.appendChild(i));const s=Object.entries(t).map(function([e,t]){return`${e}: ${t}`}).join("; ");if(o){const r=`.${e}${o}`,n=i.sheet;if(!n)return;const a=n.cssRules,c=a.length;let l=null,d=c;for(let e=0;c>e;e++){const t=a[e];if(t instanceof CSSStyleRule){if(t.selectorText===r){l=t,d=e;break}t.selectorText.includes(":")||(d=e+1)}}if(l){const e=l.style;e.cssText="";for(const[r,n]of Object.entries(t))e.setProperty(r,n)}else n.insertRule(`${r} { ${s} }`,d);return}if(r){const o=i.sheet;if(!o)return;const a=o.cssRules,c=a.length;let l=null;const d=e=>"media"===n&&e instanceof CSSMediaRule?e.media.mediaText===r:("container"===n&&e instanceof CSSContainerRule||"supports"===n&&e instanceof CSSSupportsRule)&&e.conditionText===r,u=e=>e instanceof CSSMediaRule||e instanceof CSSContainerRule||e instanceof CSSSupportsRule;for(let e=0;c>e;e++){const t=a[e];if(d(t)){l=t;break}}if(!l){let e=c;for(let t=c-1;t>=0;t--){const r=a[t];if(u(r)){e=t+1;break}if(r instanceof CSSStyleRule){e=t+1;break}}o.insertRule(`${"media"===n?"@media":"container"===n?"@container":"supports"===n?"@supports":"@media"} ${r} {}`,e),l=o.cssRules[e]}let m=null;for(const t of Array.from(l.cssRules))if(t instanceof CSSStyleRule&&t.selectorText==="."+e){m=t;break}if(m){const e=m.style;e.cssText="";for(const[r,n]of Object.entries(t))e.setProperty(r,n)}else l.insertRule(`.${e} { ${s} }`,l.cssRules.length)}else{const r=i.sheet;if(!r)return;let n=null,o=0;const a=e=>e instanceof CSSMediaRule||e instanceof CSSContainerRule||e instanceof CSSSupportsRule,c=r.cssRules,l=c.length;for(let t=0;l>t;t++){const r=c[t];if(r instanceof CSSStyleRule&&r.selectorText==="."+e){n=r,o=t;break}a(r)||(o=t+1)}if(n){const e=n.style;e.cssText="";for(const[r,n]of Object.entries(t))e.setProperty(r,n)}else r.insertRule(`.${e} { ${s} }`,o)}}function Re(e,t){Ce(e,t)}class Te{styles={};getStyles(){return{...this.styles}}getClassName(e="",t){return function(e,t="",r){const n=xe(e),o=t?`${t}:${n}`:n,i=function(e){return we.get(e)}(o);if(i){const t=i;return function(e,t,r="media"){const n=document.querySelector("#nuclo-styles");if(!n||!n.sheet)return!1;if(t){const o=Array.from(n.sheet.cssRules||[]).find(function(e){return"media"===r&&e instanceof CSSMediaRule?e.media.mediaText===t:("container"===r&&e instanceof CSSContainerRule||"supports"===r&&e instanceof CSSSupportsRule)&&e.conditionText===t});return!!o&&Array.from(o.cssRules).some(function(t){return t instanceof CSSStyleRule&&t.selectorText==="."+e})}return Array.from(n.sheet.cssRules||[]).some(function(t){return t instanceof CSSStyleRule&&t.selectorText==="."+e})}(t,r)||Ce(t,e,r),t}const s=ve(n),a=t?`n${t}-${s}`:"n"+s;return function(e,t){we.set(e,t)}(o,a),Ce(a,e,r),a}(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 void 0!==e?this.styles.flex=e:this.styles.display="flex",this}}function Be(e){return e.isShorthand?()=>(new Te).add(e.cssProperty,e.defaultValue||""):t=>(new Te).add(e.cssProperty,t||"")}!function(){const e=Te.prototype;for(const t of Se)t.name in e||(e[t.name]=t.isShorthand?function(){return this.add(t.cssProperty,t.defaultValue||""),this}:function(e){return this.add(t.cssProperty,e),this})}();const Ee={};for(const e of Se)Ee[e.name]=Be(e);for(const e of ke)"bold"===e||"center"===e?Ee[e]=()=>(new Te)[e]():"flex"===e&&(Ee[e]=e=>(new Te).flex(e));const{display:Ie,flex:Ne,grid:We,bg:Ae,color:Me,accentColor:Le,fontSize:Fe,fontWeight:je,fontFamily:De,lineHeight:Oe,letterSpacing:ze,textAlign:Ve,textDecoration:_e,bold:$e,fontStyle:Ge,fontVariant:qe,fontStretch:He,textTransform:Xe,textIndent:Ue,textOverflow:Ye,textShadow:Je,whiteSpace:Qe,wordSpacing:Ke,wordWrap:Ze,overflowWrap:et,textAlignLast:tt,textJustify:rt,textDecorationLine:nt,textDecorationColor:ot,textDecorationStyle:it,textDecorationThickness:st,textUnderlineOffset:at,verticalAlign:ct,position:lt,padding:dt,paddingTop:ut,paddingRight:mt,paddingBottom:pt,paddingLeft:ft,margin:yt,marginTop:gt,marginRight:ht,marginBottom:bt,marginLeft:Pt,width:St,height:kt,minWidth:wt,maxWidth:vt,minHeight:xt,maxHeight:Ct,boxSizing:Rt,top:Tt,right:Bt,bottom:Et,left:It,zIndex:Nt,flexDirection:Wt,alignItems:At,justifyContent:Mt,center:Lt,gap:Ft,flexWrap:jt,flexGrow:Dt,flexShrink:Ot,flexBasis:zt,alignSelf:Vt,alignContent:_t,justifySelf:$t,justifyItems:Gt,gridTemplateColumns:qt,gridTemplateRows:Ht,gridTemplateAreas:Xt,gridColumn:Ut,gridRow:Yt,gridColumnStart:Jt,gridColumnEnd:Qt,gridRowStart:Kt,gridRowEnd:Zt,gridArea:er,gridAutoColumns:tr,gridAutoRows:rr,gridAutoFlow:nr,border:or,borderTop:ir,borderRight:sr,borderBottom:ar,borderLeft:cr,borderWidth:lr,borderStyle:dr,borderColor:ur,borderTopWidth:mr,borderRightWidth:pr,borderBottomWidth:fr,borderLeftWidth:yr,borderTopStyle:gr,borderRightStyle:hr,borderBottomStyle:br,borderLeftStyle:Pr,borderTopColor:Sr,borderRightColor:kr,borderBottomColor:wr,borderLeftColor:vr,borderRadius:xr,borderTopLeftRadius:Cr,borderTopRightRadius:Rr,borderBottomLeftRadius:Tr,borderBottomRightRadius:Br,outline:Er,outlineWidth:Ir,outlineStyle:Nr,outlineColor:Wr,outlineOffset:Ar,backgroundColor:Mr,backgroundImage:Lr,backgroundRepeat:Fr,backgroundPosition:jr,backgroundSize:Dr,backgroundAttachment:Or,backgroundClip:zr,backgroundOrigin:Vr,boxShadow:_r,opacity:$r,transition:Gr,transitionProperty:qr,transitionDuration:Hr,transitionTimingFunction:Xr,transitionDelay:Ur,transform:Yr,transformOrigin:Jr,transformStyle:Qr,perspective:Kr,perspectiveOrigin:Zr,backfaceVisibility:en,animation:tn,animationName:rn,animationDuration:nn,animationTimingFunction:on,animationDelay:sn,animationIterationCount:an,animationDirection:cn,animationFillMode:ln,animationPlayState:dn,filter:un,backdropFilter:mn,overflow:pn,overflowX:fn,overflowY:yn,visibility:gn,objectFit:hn,objectPosition:bn,listStyle:Pn,listStyleType:Sn,listStylePosition:kn,listStyleImage:wn,borderCollapse:vn,borderSpacing:xn,captionSide:Cn,emptyCells:Rn,tableLayout:Tn,content:Bn,quotes:En,counterReset:In,counterIncrement:Nn,appearance:Wn,userSelect:An,pointerEvents:Mn,resize:Ln,scrollBehavior:Fn,clip:jn,clipPath:Dn,isolation:On,mixBlendMode:zn,willChange:Vn,contain:_n,pageBreakBefore:$n,pageBreakAfter:Gn,pageBreakInside:qn,breakBefore:Hn,breakAfter:Xn,breakInside:Un,orphans:Yn,widows:Jn,columnCount:Qn,columnFill:Kn,columnGap:Zn,columnRule:eo,columnRuleColor:to,columnRuleStyle:ro,columnRuleWidth:no,columnSpan:oo,columnWidth:io,columns:so,cursor:ao}=Ee,co={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 lo(e){const 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 uo(e){return e in co}function mo(e){return co[e]}const po=new Map;function fo(e){const t=Array.isArray(e)?e:Object.entries(e),r=new Map;for(const[e,n]of t){let t=po.get(n);t||(t=lo(n),po.set(n,t)),r.set(e,t)}return function(e,n){let o,i;void 0!==n?(o=e,i=n):e instanceof Te?(o=e,i=void 0):(o=void 0,i=e);const s=null!=i&&Object.keys(i).length>0;if(!o&&!s)return{className:""};if(s){const e=[],n=new Set;for(const[o]of t){const t=i?.[o];t&&(n.add(o),e.push({queryName:o,query:r.get(o),styles:t.getStyles()}))}for(const[t,r]of Object.entries(i??{}))!n.has(t)&&uo(t)&&r instanceof Te&&e.push({queryName:t,query:{type:"pseudo",pseudoClass:mo(t)},styles:r.getStyles()});if(0===e.length&&!o)return{className:""};const s=[];s.length=e.length+(o?1:0);let a=0;if(o){const e=o.getStyles();s[a++]="default:"+xe(e)}for(const{queryName:t,styles:r}of e){const e=xe(r);s[a++]=`${t}:${e}`}const c="n"+ve(s.sort().join("||"));let l={};o&&(l={...o.getStyles()},Ce(c,l));const d=[],u=[];for(const t of e)"pseudo"===t.query.type?u.push(t):d.push(t);for(const{query:e,styles:t}of d)l={...l,...t},Ce(c,l,e.condition,e.type);for(const{query:e,styles:t}of u)Ce(c,t,void 0,"pseudo",e.pseudoClass);return{className:c}}return{className:o.getClassName()}}}const yo=fo;var go=Object.freeze({__proto__:null,StyleBuilder:Te,accentColor:Le,alignContent:_t,alignItems:At,alignSelf:Vt,animation:tn,animationDelay:sn,animationDirection:cn,animationDuration:nn,animationFillMode:ln,animationIterationCount:an,animationName:rn,animationPlayState:dn,animationTimingFunction:on,appearance:Wn,backdropFilter:mn,backfaceVisibility:en,backgroundAttachment:Or,backgroundClip:zr,backgroundColor:Mr,backgroundImage:Lr,backgroundOrigin:Vr,backgroundPosition:jr,backgroundRepeat:Fr,backgroundSize:Dr,bg:Ae,bold:$e,border:or,borderBottom:ar,borderBottomColor:wr,borderBottomLeftRadius:Tr,borderBottomRightRadius:Br,borderBottomStyle:br,borderBottomWidth:fr,borderCollapse:vn,borderColor:ur,borderLeft:cr,borderLeftColor:vr,borderLeftStyle:Pr,borderLeftWidth:yr,borderRadius:xr,borderRight:sr,borderRightColor:kr,borderRightStyle:hr,borderRightWidth:pr,borderSpacing:xn,borderStyle:dr,borderTop:ir,borderTopColor:Sr,borderTopLeftRadius:Cr,borderTopRightRadius:Rr,borderTopStyle:gr,borderTopWidth:mr,borderWidth:lr,bottom:Et,boxShadow:_r,boxSizing:Rt,breakAfter:Xn,breakBefore:Hn,breakInside:Un,captionSide:Cn,center:Lt,clip:jn,clipPath:Dn,color:Me,columnCount:Qn,columnFill:Kn,columnGap:Zn,columnRule:eo,columnRuleColor:to,columnRuleStyle:ro,columnRuleWidth:no,columnSpan:oo,columnWidth:io,columns:so,contain:_n,content:Bn,counterIncrement:Nn,counterReset:In,createBreakpoints:yo,createCSSClass:Re,createStyleQueries:fo,cursor:ao,display:Ie,emptyCells:Rn,filter:un,flex:Ne,flexBasis:zt,flexDirection:Wt,flexGrow:Dt,flexShrink:Ot,flexWrap:jt,fontFamily:De,fontSize:Fe,fontStretch:He,fontStyle:Ge,fontVariant:qe,fontWeight:je,gap:Ft,grid:We,gridArea:er,gridAutoColumns:tr,gridAutoFlow:nr,gridAutoRows:rr,gridColumn:Ut,gridColumnEnd:Qt,gridColumnStart:Jt,gridRow:Yt,gridRowEnd:Zt,gridRowStart:Kt,gridTemplateAreas:Xt,gridTemplateColumns:qt,gridTemplateRows:Ht,height:kt,isolation:On,justifyContent:Mt,justifyItems:Gt,justifySelf:$t,left:It,letterSpacing:ze,lineHeight:Oe,listStyle:Pn,listStyleImage:wn,listStylePosition:kn,listStyleType:Sn,margin:yt,marginBottom:bt,marginLeft:Pt,marginRight:ht,marginTop:gt,maxHeight:Ct,maxWidth:vt,minHeight:xt,minWidth:wt,mixBlendMode:zn,objectFit:hn,objectPosition:bn,opacity:$r,orphans:Yn,outline:Er,outlineColor:Wr,outlineOffset:Ar,outlineStyle:Nr,outlineWidth:Ir,overflow:pn,overflowWrap:et,overflowX:fn,overflowY:yn,padding:dt,paddingBottom:pt,paddingLeft:ft,paddingRight:mt,paddingTop:ut,pageBreakAfter:Gn,pageBreakBefore:$n,pageBreakInside:qn,perspective:Kr,perspectiveOrigin:Zr,pointerEvents:Mn,position:lt,quotes:En,resize:Ln,right:Bt,scrollBehavior:Fn,tableLayout:Tn,textAlign:Ve,textAlignLast:tt,textDecoration:_e,textDecorationColor:ot,textDecorationLine:nt,textDecorationStyle:it,textDecorationThickness:st,textIndent:Ue,textJustify:rt,textOverflow:Ye,textShadow:Je,textTransform:Xe,textUnderlineOffset:at,top:Tt,transform:Yr,transformOrigin:Jr,transformStyle:Qr,transition:Gr,transitionDelay:Ur,transitionDuration:Hr,transitionProperty:qr,transitionTimingFunction:Xr,userSelect:An,verticalAlign:ct,visibility:gn,whiteSpace:Qe,widows:Jn,width:St,willChange:Vn,wordSpacing:Ke,wordWrap:Ze,zIndex:Nt});function ho(){K();const e=globalThis;e.list=ne,e.update=be,e.when=ue,e.on=d,e.scope=ge,e.render=Pe;for(const[t,r]of Object.entries(go))try{e[t]=r}catch{}}ho(),e.HTML_TAGS=J,e.SELF_CLOSING_TAGS=["area","base","br","col","embed","hr","img","input","link","meta","source","track","wbr"],e.SVG_TAGS=Q,e.StyleBuilder=Te,e.accentColor=Le,e.alignContent=_t,e.alignItems=At,e.alignSelf=Vt,e.animation=tn,e.animationDelay=sn,e.animationDirection=cn,e.animationDuration=nn,e.animationFillMode=ln,e.animationIterationCount=an,e.animationName=rn,e.animationPlayState=dn,e.animationTimingFunction=on,e.appearance=Wn,e.appendChildren=function(e,...t){return e?(t.forEach(function(t){if(null!=t){let r;if("string"==typeof t){const e=function(e){if(!c)return null;try{return g(e+"")}catch(e){return a("Failed to create text node",e),null}}(t);if(!e)return;r=e}else r=t;!function(e,t){try{return e.appendChild(t),!0}catch(e){return a("Failed to append child node",e),!1}}(e,r)}}),e):e},e.applyAttributes=z,e.applyNodeModifier=_,e.backdropFilter=mn,e.backfaceVisibility=en,e.backgroundAttachment=Or,e.backgroundClip=zr,e.backgroundColor=Mr,e.backgroundImage=Lr,e.backgroundOrigin=Vr,e.backgroundPosition=jr,e.backgroundRepeat=Fr,e.backgroundSize=Dr,e.bg=Ae,e.bold=$e,e.border=or,e.borderBottom=ar,e.borderBottomColor=wr,e.borderBottomLeftRadius=Tr,e.borderBottomRightRadius=Br,e.borderBottomStyle=br,e.borderBottomWidth=fr,e.borderCollapse=vn,e.borderColor=ur,e.borderLeft=cr,e.borderLeftColor=vr,e.borderLeftStyle=Pr,e.borderLeftWidth=yr,e.borderRadius=xr,e.borderRight=sr,e.borderRightColor=kr,e.borderRightStyle=hr,e.borderRightWidth=pr,e.borderSpacing=xn,e.borderStyle=dr,e.borderTop=ir,e.borderTopColor=Sr,e.borderTopLeftRadius=Cr,e.borderTopRightRadius=Rr,e.borderTopStyle=gr,e.borderTopWidth=mr,e.borderWidth=lr,e.bottom=Et,e.boxShadow=_r,e.boxSizing=Rt,e.breakAfter=Xn,e.breakBefore=Hn,e.breakInside=Un,e.captionSide=Cn,e.center=Lt,e.clip=jn,e.clipPath=Dn,e.color=Me,e.columnCount=Qn,e.columnFill=Kn,e.columnGap=Zn,e.columnRule=eo,e.columnRuleColor=to,e.columnRuleStyle=ro,e.columnRuleWidth=no,e.columnSpan=oo,e.columnWidth=io,e.columns=so,e.contain=_n,e.content=Bn,e.counterIncrement=Nn,e.counterReset=In,e.createBreakpoints=yo,e.createCSSClass=Re,e.createComment=k,e.createConditionalComment=w,e.createHtmlElementWithModifiers=H,e.createHtmlTagBuilder=U,e.createStyleQueries=fo,e.createSvgElementWithModifiers=X,e.createSvgTagBuilder=Y,e.cursor=ao,e.display=Ie,e.emptyCells=Rn,e.filter=un,e.flex=Ne,e.flexBasis=zt,e.flexDirection=Wt,e.flexGrow=Dt,e.flexShrink=Ot,e.flexWrap=jt,e.fontFamily=De,e.fontSize=Fe,e.fontStretch=He,e.fontStyle=Ge,e.fontVariant=qe,e.fontWeight=je,e.gap=Ft,e.grid=We,e.gridArea=er,e.gridAutoColumns=tr,e.gridAutoFlow=nr,e.gridAutoRows=rr,e.gridColumn=Ut,e.gridColumnEnd=Qt,e.gridColumnStart=Jt,e.gridRow=Yt,e.gridRowEnd=Zt,e.gridRowStart=Kt,e.gridTemplateAreas=Xt,e.gridTemplateColumns=qt,e.gridTemplateRows=Ht,e.height=kt,e.initializeRuntime=ho,e.isBoolean=function(e){return"boolean"==typeof e},e.isBrowser=c,e.isFunction=i,e.isNode=r,e.isObject=n,e.isPrimitive=t,e.isTagLike=o,e.isZeroArityFunction=s,e.isolation=On,e.justifyContent=Mt,e.justifyItems=Gt,e.justifySelf=$t,e.left=It,e.letterSpacing=ze,e.lineHeight=Oe,e.list=ne,e.listStyle=Pn,e.listStyleImage=wn,e.listStylePosition=kn,e.listStyleType=Sn,e.margin=yt,e.marginBottom=bt,e.marginLeft=Pt,e.marginRight=ht,e.marginTop=gt,e.maxHeight=Ct,e.maxWidth=vt,e.minHeight=xt,e.minWidth=wt,e.mixBlendMode=zn,e.objectFit=hn,e.objectPosition=bn,e.on=d,e.opacity=$r,e.orphans=Yn,e.outline=Er,e.outlineColor=Wr,e.outlineOffset=Ar,e.outlineStyle=Nr,e.outlineWidth=Ir,e.overflow=pn,e.overflowWrap=et,e.overflowX=fn,e.overflowY=yn,e.padding=dt,e.paddingBottom=pt,e.paddingLeft=ft,e.paddingRight=mt,e.paddingTop=ut,e.pageBreakAfter=Gn,e.pageBreakBefore=$n,e.pageBreakInside=qn,e.perspective=Kr,e.perspectiveOrigin=Zr,e.pointerEvents=Mn,e.position=lt,e.quotes=En,e.registerGlobalTagBuilders=K,e.render=Pe,e.replaceNodeSafely=R,e.resize=Ln,e.right=Bt,e.scope=ge,e.scrollBehavior=Fn,e.tableLayout=Tn,e.textAlign=Ve,e.textAlignLast=tt,e.textDecoration=_e,e.textDecorationColor=ot,e.textDecorationLine=nt,e.textDecorationStyle=it,e.textDecorationThickness=st,e.textIndent=Ue,e.textJustify=rt,e.textOverflow=Ye,e.textShadow=Je,e.textTransform=Xe,e.textUnderlineOffset=at,e.top=Tt,e.transform=Yr,e.transformOrigin=Jr,e.transformStyle=Qr,e.transition=Gr,e.transitionDelay=Ur,e.transitionDuration=Hr,e.transitionProperty=qr,e.transitionTimingFunction=Xr,e.update=be,e.userSelect=An,e.verticalAlign=ct,e.visibility=gn,e.when=ue,e.whiteSpace=Qe,e.widows=Jn,e.width=St,e.willChange=Vn,e.wordSpacing=Ke,e.wordWrap=Ze,e.zIndex=Nt});
1
+ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).Nuclo={})}(this,function(e){"use strict";function t(e){return null===e||"object"!=typeof e&&"function"!=typeof e}function r(e){return e instanceof Node}function n(e){return"object"==typeof e&&null!==e}function o(e){return n(e)&&"tagName"in e}function i(e){return"function"==typeof e}function s(e){return i(e)&&0===e.length}function a(e,t){void 0!==console&&console.error("nuclo: "+e,t)}const c="undefined"!=typeof window&&"undefined"!=typeof document,l=new WeakMap;function d(e,t,r){return function(n){if(!n||"function"!=typeof n.addEventListener)return;const o=n,i=new AbortController,s=function(r){try{t.call(o,r)}catch(t){a(`Error in '${e}' listener`,t)}},c="boolean"==typeof r?{capture:r,signal:i.signal}:{...r||{},signal:i.signal};o.addEventListener(e,s,c),function(e,t,r,n,o,i){let s=l.get(e);s||(s=new Map,l.set(e,s));let a=s.get(t);a||(a=new Set,s.set(t,a)),a.add({original:r,wrapped:n,options:o,controller:i})}(o,e,t,s,r,i)}}const u=new Set;function m(e,t){e._conditionalInfo=t,u.add(new WeakRef(e))}function p(e){for(const t of u)if(t.deref()===e){u.delete(t);break}}function f(e){return globalThis.document?document.createElement(e):null}function y(e,t){return globalThis.document?document.createElementNS(e,t):null}function g(e){return globalThis.document?document.createTextNode(e):null}function h(){return globalThis.document?document.createDocumentFragment():null}function b(e,t){try{return e.appendChild(t),!0}catch(e){return a("Failed to append child node",e),!1}}function P(e){if(e.nodeType===Node.ELEMENT_NODE){const t=e;!function(e){const t=l.get(e);if(t){for(const[r,n]of t)for(const t of n)t.controller?t.controller.abort():e.removeEventListener(r,t.wrapped,t.options);l.delete(e)}}(t),function(e){for(const[t,r]of E)if(t.deref()===e){E.delete(t);break}}(t),p(t)}else e.nodeType===Node.TEXT_NODE?function(e){for(const[t]of N)if(t.deref()===e){N.delete(t);break}}(e):e.nodeType===Node.COMMENT_NODE&&p(e);if(e.childNodes&&e.childNodes.length>0)for(let t=0;e.childNodes.length>t;t++)P(e.childNodes[t])}function S(e){if(!e?.parentNode)return!1;try{return P(e),e.parentNode.removeChild(e),!0}catch(e){return a("Failed to remove child node",e),!1}}function k(e,t,r){try{return e.insertBefore(t,r),!0}catch(e){return a("Failed to insert node before reference",e),!1}}function w(e){if(!c)return null;try{return g(e+"")}catch(e){return a("Failed to create text node",e),null}}function v(e){if(!c)return null;try{return document.createComment(e)}catch(e){return a("Failed to create comment node",e),null}}function x(e){return v(e)}function C(e,t="hidden"){try{return document.createComment(`conditional-${e}-${t}`)}catch(e){return a("Failed to create conditional comment",e),null}}function R(e){if(!c)throw Error("Cannot create comment in non-browser environment");const t=v(`${e}-${Math.random().toString(36).slice(2)}`);if(!t)throw Error("Failed to create comment");return t}function T(e){const t=v(e+"-end");if(!t)throw Error("Failed to create end comment");return{start:R(e+"-start"),end:t}}function B(e){return!!e&&("boolean"==typeof e.isConnected?e.isConnected:!(!c||"undefined"==typeof document)&&document.contains(e))}function I(e,t){if(!e?.parentNode)return!1;try{return e.parentNode.replaceChild(t,e),!0}catch(e){return a("Error replacing conditional node",e),!1}}const N=new Map,E=new Map,W={};let A=!1;function M(e){const t=e.target;if(!(t&&"undefined"!=typeof Node&&t instanceof Node))return;let r=t;for(;r;){if(r instanceof Element){let e=null,t=null;for(const[n,o]of E){const i=n.deref();if(void 0!==i){if(i===r){e=n,t=o;break}}else E.delete(n)}t&&e&&(B(r)?F(t):E.delete(e))}r=r.parentNode}}function L(e,t){let r;try{r=t.resolver()}catch(t){return void a("Failed to resolve reactive attribute: "+e,t)}const n=null===(o=r)||"object"!=typeof o;var o;if(!n||!Object.is(r,t.lastValue))try{t.applyValue(r),t.lastValue=n?r:W}catch(t){a("Failed to apply reactive attribute: "+e,t)}}function F(e){for(const[t,r]of e.attributeResolvers)L(t,r)}function j(e,t,r,n){if(!(e instanceof Element&&t&&"function"==typeof r))return void a("Invalid parameters for registerAttributeResolver");A||"undefined"!=typeof document&&"function"==typeof document.addEventListener&&(document.addEventListener("update",M,!0),A=!0);const o=function(e){for(const[t,r]of E){const n=t.deref();if(void 0!==n){if(n===e)return r}else E.delete(t)}const t={attributeResolvers:new Map};return E.set(new WeakRef(e),t),t}(e),i={resolver:r,applyValue:n,lastValue:W};o.attributeResolvers.set(t,i),L(t,i)}function D(e,t,r){try{return null==r||""===r?(e.style[t]="",!0):(e.style[t]=r+"",!0)}catch{return!1}}function O(e,t){if(e?.style&&t)for(const[r,n]of Object.entries(t))D(e,r,n)||a(`Failed to set style property '${r}'`)}const z="__nuclo_reactive_className__",V="__nuclo_static_className__";function _(e,t,r,n=!1){if(null==r)return;if("style"===t)return s=r,void((o=e)&&(i(s)?j(o,"style",s,function(e){O(o,e)}):O(o,s)));var o,s;const a=(r,n=!1)=>{if(null!=r)if("className"===t&&e instanceof HTMLElement&&n)!function(e,t){if(!t)return;const r=e.className;if(r&&r!==t){const n=new Set(r.split(" ").filter(function(e){return e})),o=t.split(" ").filter(function(e){return e});for(let e=0;o.length>e;e++)n.add(o[e]);e.className=Array.from(n).join(" ")}else e.className=t}(e,r+"");else if(e instanceof Element&&"http://www.w3.org/2000/svg"===e.namespaceURI)e.setAttribute(t+"",r+"");else if(t in e)try{e[t]=r}catch{e instanceof Element&&e.setAttribute(t+"",r+"")}else e instanceof Element&&e.setAttribute(t+"",r+"")};if(i(r)&&0===r.length){const n=r;"className"===t&&e instanceof HTMLElement?(function(e){if(!e[V]){const t=e.className.split(" ").filter(function(e){return e}),r=new Set;for(let e=0;t.length>e;e++)r.add(t[e]);e[V]=r}e[z]=!0}(e),j(e,t+"",n,function(t){!function(e,t){const r=function(e){return e[V]}(e);if(r&&r.size>0&&t){const n=new Set(r),o=t.split(" ").filter(function(e){return e});for(let e=0;o.length>e;e++)n.add(o[e]);e.className=Array.from(n).join(" ")}else e.className=t||(r&&r.size>0?Array.from(r).join(" "):"")}(e,(t||"")+"")})):j(e,t+"",n,function(e){a(e,!1)})}else{if("className"===t&&e instanceof HTMLElement&&function(e){return!!e[z]}(e)){const t=(r||"")+"";if(t){!function(e,t){if(!t)return;e[V]||(e[V]=new Set);const r=t.split(" ").filter(function(e){return e}),n=e[V];for(let e=0;r.length>e;e++)n.add(r[e])}(e,t);const r=new Set(e.className.split(" ").filter(function(e){return e})),n=t.split(" ").filter(function(e){return e});for(let e=0;n.length>e;e++)r.add(n[e]);e.className=Array.from(r).join(" ")}return}a(r,n)}}function $(e,t,r=!0){if(t)for(const n of Object.keys(t))_(e,n,t[n],r&&"className"===n)}const G=new WeakMap;function q(e,o,c){if(null==o)return null;if(i(o)){if(s(o))try{let i=G.get(o);if(i||(i={value:o(),error:!1},G.set(o,i)),i.error)return H(c,function(){return""});const s=i.value;if(n(s)&&!r(s)&&"className"in s&&"string"==typeof s.className&&1===Object.keys(s).length){const t=o;return $(e,{className:function(){const e=t();return n(e)&&"className"in e&&"string"==typeof e.className?e.className:""}}),null}return t(s)&&null!=s?H(c,o,s):null}catch(e){return G.set(o,{value:void 0,error:!0}),a("Error evaluating reactive text function:",e),H(c,function(){return""})}const i=o(e,c);return null==i?null:t(i)?X(c,i):r(i)?i:(n(i)&&$(e,i),null)}const l=o;return t(l)?X(c,l):r(l)?l:($(e,l),null)}function H(e,t,r){const n=h();if(!n)throw Error("Failed to create document fragment: document not available");const o=x(` text-${e} `);o&&n.appendChild(o);const i=function(e,t){if("function"!=typeof e){a("Invalid resolver provided to createReactiveTextNode");const e=g("");if(!e)throw Error("Failed to create text node: document not available");return e}let r;if(arguments.length>1)r=t;else try{r=e()}catch(e){a("Failed to evaluate reactive text resolver",e),r=""}const n=void 0===r?"":r+"",o=g(n);if(!o)throw Error("Failed to create text node: document not available");return N.set(new WeakRef(o),{resolver:e,lastValue:n}),o}(t,r);return n.appendChild(i),n}function X(e,t){const r=h();if(!r)throw Error("Failed to create document fragment: document not available");const n=x(` text-${e} `);n&&r.appendChild(n);const o=g(t+"");return o&&r.appendChild(o),r}function U(e,t,r=0){if(!t||0===t.length)return{element:e,nextIndex:r,appended:0};let n=r,o=0;const i=e;for(let r=0;t.length>r;r+=1){const s=t[r];if(null==s)continue;const a=q(e,s,n);a&&(a.parentNode!==i&&i.appendChild(a),n+=1,o+=1)}return{element:e,nextIndex:n,appended:o}}function Y(e,t){const r=f(e);return U(r,t,0),r}function J(e,t){const r=y("http://www.w3.org/2000/svg",e);if(!r)throw Error("Failed to create SVG element: "+e);return U(r,t,0),r}function Q(e){return(...t)=>function(e,...t){return function(r,n){const o=f(e);return U(o,t,n),o}}(e,...t)}function K(e){return(...t)=>function(e,...t){return function(r,n){const o=y("http://www.w3.org/2000/svg",e);if(!o)throw Error("Failed to create SVG element: "+e);return U(o,t,n),o}}(e,...t)}const Z=["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"],ee=["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"];function te(e,t){t in e&&"function"!=typeof e[t]||(e[t]=Q(t))}function re(e,t){const r=t+"Svg";r in e||(e[r]=K(t))}function ne(e=globalThis){const t="__nuclo_tags_registered";if(!e[t]){for(let t=0;ee.length>t;t++)re(e,ee[t]);for(let t=0;Z.length>t;t++)te(e,Z[t]);e[t]=!0}}const oe=new Map;function ie(e,t,r){return function(e,t,r){if(i(e)){const n=e(t,r);return n&&o(n)?n:null}return e&&o(e)?e:null}(e.renderItem(t,r),e.host,r)}function se(e){S(e.element),e.element=null,e.item=null}function ae(e){const{host:t,startMarker:r,endMarker:n}=e,o=r.parentNode??t,i=e.itemsProvider();if(function(e,t){if(e===t)return!0;if(e.length!==t.length)return!1;for(let r=0;e.length>r;r++)if((r in e?e[r]:void 0)!==(r in t?t[r]:void 0))return!1;return!0}(e.lastSyncedItems,i))return;const s=new Map,a=new Map;for(let t=0;e.records.length>t;t++){const r=e.records[t],n=a.get(r.item);n?n.push(r):a.set(r.item,[r])}for(let t=0;i.length>t;t++){const r=i[t];if(e.lastSyncedItems.length>t&&e.lastSyncedItems[t]===r){const n=e.records[t];if(n&&n.item===r){s.set(t,n);const e=a.get(r);e.splice(e.indexOf(n),1),0===e.length&&a.delete(r)}}}const c=[],l=new Set(e.records);let d=n;for(let t=i.length-1;t>=0;t--){const r=i[t];let n=s.get(t);if(!n){const e=a.get(r);e&&e.length>0&&(n=e.shift(),0===e.length&&a.delete(r))}if(n)l.delete(n);else{const o=ie(e,r,t);if(!o)continue;n={item:r,element:o}}c.unshift(n);const u=n.element;u.nextSibling!==d&&o.insertBefore(u,d),d=u}for(const e of l)se(e);e.records=c,e.lastSyncedItems=[...i],0===c.length&&(e.records=[],e.lastSyncedItems=[])}function ce(e,t){return function(r){const n=function(e,t,r){const{start:n,end:o}=T("list"),i={itemsProvider:e,renderItem:t,startMarker:n,endMarker:o,records:[],host:r,lastSyncedItems:[]},s=r;s.appendChild(n),s.appendChild(o);const a={runtime:i};return oe.set(new WeakRef(n),a),ae(i),i}(e,t,r);return n.startMarker}}function le(e,t){try{return e()}catch(e){if(t)return t(e),!1;throw e}}function de(e,t){return"function"==typeof e?le(e,t):!!e}function ue(e,t,r,n){return i(e)?s(e)?(G.delete(e),q(t,e,r)):function(e,t,r){const n=e,o=n.appendChild.bind(n),i=n.insertBefore.bind(n);n.appendChild=function(e){return i(e,t)};try{return r()}finally{n.appendChild=o}}(t,n,()=>{const n=q(t,e,r);return n&&!n.parentNode?n:null}):q(t,e,r)}const me=new Map;function pe(e){const{groups:t,elseContent:r,host:n,index:o,endMarker:i}=e,s=function(e,t){for(let t=0;e.length>t;t++)if(de(e[t].condition))return t;return t.length>0?-1:null}(t,r);if(s===e.activeIndex)return;if(function(e,t){let r=e.nextSibling;for(;r&&r!==t;){const e=r.nextSibling;S(r),r=e}}(e.startMarker,e.endMarker),e.activeIndex=s,null===s)return;const a=function(e,t,r,n){const o=[];for(const i of e){const e=ue(i,t,r,n);e&&o.push(e)}return o}(0>s?r:t[s].content,n,o,i);!function(e,t){const r=t.parentNode;if(r)for(let n=0;e.length>n;n++)k(r,e[n],t)}(a,i)}class fe{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(!c)return x("when-ssr")||null;const{start:r,end:n}=T("when"),o={startMarker:r,endMarker:n,host:e,index:t,groups:[...this.groups],elseContent:[...this.elseContent],activeIndex:null,update:function(){pe(o)}};!function(e){const t={runtime:e};me.set(new WeakRef(e.startMarker),t)}(o);const i=e;return i.appendChild(r),i.appendChild(n),pe(o),r}}function ye(e){return Object.assign(function(t,r){return e.render(t,r)},{when:function(t,...r){return e.when(t,...r),ye(e)},else:function(...t){return e.else(...t),ye(e)}})}function ge(e,...t){return ye(new fe(e,...t))}function he(e){const t=function(e){return e._conditionalInfo??null}(e);if(!t)return;const r=le(t.condition,e=>{a("Error evaluating conditional condition",e)}),n=e.nodeType===Node.ELEMENT_NODE;if(r&&!n){const r=function(e){try{return e.isSvg?J(e.tagName,e.modifiers):Y(e.tagName,e.modifiers)}catch(t){if(a(`Error applying modifiers in conditional element "${e.tagName}"`,t),e.isSvg){const t=y("http://www.w3.org/2000/svg",e.tagName);if(!t)throw Error("Failed to create SVG element: "+e.tagName);return t}const r=f(e.tagName);if(!r)throw Error("Failed to create element: "+e.tagName);return r}}(t);m(r,t),I(e,r)}else if(!r&&n){const r=C(t.tagName);r&&(m(r,t),I(e,r))}}const be=new Map;function Pe(e){const t=[],r=new Set;for(const n of e){if("string"!=typeof n)continue;const e=n.trim();e&&(r.has(e)||(r.add(e),t.push(e)))}return t}function Se(e,t){let r=be.get(e);r||(r=new Set,be.set(e,r)),r.add(new WeakRef(t))}function ke(...e){const t=Pe(e);return function(e){if(e instanceof Element)for(const r of t)Se(r,e)}}const we=[function(e){const t=[];for(const[r,n]of oe){const o=r.deref();if(void 0!==o)if(B(o)&&B(n.runtime.endMarker))e&&!e.contains(o)||ae(n.runtime);else{if(n.runtime.records){for(let e=0;n.runtime.records.length>e;e++){const t=n.runtime.records[e];t.element=null,t.item=null}n.runtime.records=[]}t.push(r)}else{if(n.runtime.records){for(let e=0;n.runtime.records.length>e;e++){const t=n.runtime.records[e];t.element=null,t.item=null}n.runtime.records=[]}t.push(r)}}for(const e of t)oe.delete(e)},function(e){const t=[];for(const[r,n]of me){const o=r.deref();if(void 0!==o)if(B(o)&&B(n.runtime.endMarker)){if(!e||e.contains(o))try{n.runtime.update()}catch{t.push(r)}}else t.push(r);else t.push(r)}for(const e of t)me.delete(e)},function(e){if(c)try{const t=function(){const e=[],t=[];for(const r of u){const n=r.deref();void 0===n?t.push(r):e.push(n)}for(const e of t)u.delete(e);return e}();for(const r of t)r.isConnected?e&&!e.contains(r)||he(r):p(r)}catch(e){a("Error during conditional elements update",e)}},function(e){const t=[];for(const[r,n]of E){const o=r.deref();void 0!==o&&B(o)?e&&!e.contains(o)||F(n):t.push(r)}for(const e of t)E.delete(e);t.length>0&&function(){const e=[];for(const[t]of E)void 0===t.deref()&&e.push(t);for(const t of e)E.delete(t)}()},function(e){const t=[];for(const[r,n]of N){const o=r.deref();if(void 0===o){t.push(r);continue}if(!B(o)){t.push(r);continue}if(e&&!e.contains(o))continue;let i;try{i=n.resolver()}catch(e){a("Failed to update reactive text node",e),i=void 0}const s=void 0===i?"":i+"";s!==n.lastValue&&(o.textContent=s,n.lastValue=s)}for(const e of t)N.delete(e);t.length>0&&function(){const e=[];for(const[t]of N)void 0===t.deref()&&e.push(t);for(const t of e)N.delete(t)}()},function(){if("undefined"==typeof document)return;const e=document.body?[document.body,document]:[document];for(const t of e)try{t.dispatchEvent(new Event("update",{bubbles:!0}))}catch(e){a("Error dispatching global update event",e)}}];function ve(...e){let t;if(e.length>0){const r=function(e){const t=Pe(e);if(0===t.length)return[];const r=new Set;for(const e of t){const t=be.get(e);if(!t)continue;const n=[];for(const e of t){const t=e.deref();void 0!==t&&B(t)?r.add(t):n.push(e)}for(const e of n)t.delete(e);0===t.size&&be.delete(e)}return Array.from(r)}(e);if(1===r.length){const e=r[0];t={roots:r,contains:function(t){return e.contains(t)}}}else t={roots:r,contains:function(e){for(const t of r)if(t.contains(e))return!0;return!1}}}for(const e of we)e(t)}function xe(e,t,r=0){const n=e(t||document.body,r);return(t||document.body).appendChild(n),n}const Ce=[{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"}],Re=["bold","center","flex"],Te=new Map;function Be(e){let t=0;for(let r=0;e.length>r;r++)t=(t<<5)-t+e.charCodeAt(r),t&=t;return Math.abs(t).toString(16).padStart(8,"0").substring(0,8)}function Ie(e){return Object.entries(e).sort(([e],[t])=>e.localeCompare(t)).map(([e,t])=>`${e}:${t}`).join("|")}function Ne(e,t,r,n="media",o){let i=document.querySelector("#nuclo-styles");i||(i=f("style"),i.id="nuclo-styles",document.head.appendChild(i));const s=Object.entries(t).map(function([e,t]){return`${e}: ${t}`}).join("; ");if(o){const r=`.${e}${o}`,n=i.sheet;if(!n)return;const a=n.cssRules,c=a.length;let l=null,d=c;for(let e=0;c>e;e++){const t=a[e];if(t instanceof CSSStyleRule){if(t.selectorText===r){l=t,d=e;break}t.selectorText.includes(":")||(d=e+1)}}if(l){const e=l.style;e.cssText="";for(const[r,n]of Object.entries(t))e.setProperty(r,n)}else n.insertRule(`${r} { ${s} }`,d);return}if(r){const o=i.sheet;if(!o)return;const a=o.cssRules,c=a.length;let l=null;const d=e=>"media"===n&&e instanceof CSSMediaRule?e.media.mediaText===r:("container"===n&&e instanceof CSSContainerRule||"supports"===n&&e instanceof CSSSupportsRule)&&e.conditionText===r,u=e=>e instanceof CSSMediaRule||e instanceof CSSContainerRule||e instanceof CSSSupportsRule;for(let e=0;c>e;e++){const t=a[e];if(d(t)){l=t;break}}if(!l){let e=c;for(let t=c-1;t>=0;t--){const r=a[t];if(u(r)){e=t+1;break}if(r instanceof CSSStyleRule){e=t+1;break}}o.insertRule(`${"media"===n?"@media":"container"===n?"@container":"supports"===n?"@supports":"@media"} ${r} {}`,e),l=o.cssRules[e]}let m=null;for(const t of Array.from(l.cssRules))if(t instanceof CSSStyleRule&&t.selectorText==="."+e){m=t;break}if(m){const e=m.style;e.cssText="";for(const[r,n]of Object.entries(t))e.setProperty(r,n)}else l.insertRule(`.${e} { ${s} }`,l.cssRules.length)}else{const r=i.sheet;if(!r)return;let n=null,o=0;const a=e=>e instanceof CSSMediaRule||e instanceof CSSContainerRule||e instanceof CSSSupportsRule,c=r.cssRules,l=c.length;for(let t=0;l>t;t++){const r=c[t];if(r instanceof CSSStyleRule&&r.selectorText==="."+e){n=r,o=t;break}a(r)||(o=t+1)}if(n){const e=n.style;e.cssText="";for(const[r,n]of Object.entries(t))e.setProperty(r,n)}else r.insertRule(`.${e} { ${s} }`,o)}}function Ee(e,t){Ne(e,t)}class We{styles={};getStyles(){return{...this.styles}}getClassName(e="",t){return function(e,t="",r){const n=Ie(e),o=t?`${t}:${n}`:n,i=function(e){return Te.get(e)}(o);if(i){const t=i;return function(e,t,r="media"){const n=document.querySelector("#nuclo-styles");if(!n||!n.sheet)return!1;if(t){const o=Array.from(n.sheet.cssRules||[]).find(function(e){return"media"===r&&e instanceof CSSMediaRule?e.media.mediaText===t:("container"===r&&e instanceof CSSContainerRule||"supports"===r&&e instanceof CSSSupportsRule)&&e.conditionText===t});return!!o&&Array.from(o.cssRules).some(function(t){return t instanceof CSSStyleRule&&t.selectorText==="."+e})}return Array.from(n.sheet.cssRules||[]).some(function(t){return t instanceof CSSStyleRule&&t.selectorText==="."+e})}(t,r)||Ne(t,e,r),t}const s=Be(n),a=t?`n${t}-${s}`:"n"+s;return function(e,t){Te.set(e,t)}(o,a),Ne(a,e,r),a}(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 void 0!==e?this.styles.flex=e:this.styles.display="flex",this}}function Ae(e){return e.isShorthand?()=>(new We).add(e.cssProperty,e.defaultValue||""):t=>(new We).add(e.cssProperty,t||"")}!function(){const e=We.prototype;for(const t of Ce)t.name in e||(e[t.name]=t.isShorthand?function(){return this.add(t.cssProperty,t.defaultValue||""),this}:function(e){return this.add(t.cssProperty,e),this})}();const Me={};for(const e of Ce)Me[e.name]=Ae(e);for(const e of Re)"bold"===e||"center"===e?Me[e]=()=>(new We)[e]():"flex"===e&&(Me[e]=e=>(new We).flex(e));const{display:Le,flex:Fe,grid:je,bg:De,color:Oe,accentColor:ze,fontSize:Ve,fontWeight:_e,fontFamily:$e,lineHeight:Ge,letterSpacing:qe,textAlign:He,textDecoration:Xe,bold:Ue,fontStyle:Ye,fontVariant:Je,fontStretch:Qe,textTransform:Ke,textIndent:Ze,textOverflow:et,textShadow:tt,whiteSpace:rt,wordSpacing:nt,wordWrap:ot,overflowWrap:it,textAlignLast:st,textJustify:at,textDecorationLine:ct,textDecorationColor:lt,textDecorationStyle:dt,textDecorationThickness:ut,textUnderlineOffset:mt,verticalAlign:pt,position:ft,padding:yt,paddingTop:gt,paddingRight:ht,paddingBottom:bt,paddingLeft:Pt,margin:St,marginTop:kt,marginRight:wt,marginBottom:vt,marginLeft:xt,width:Ct,height:Rt,minWidth:Tt,maxWidth:Bt,minHeight:It,maxHeight:Nt,boxSizing:Et,top:Wt,right:At,bottom:Mt,left:Lt,zIndex:Ft,flexDirection:jt,alignItems:Dt,justifyContent:Ot,center:zt,gap:Vt,flexWrap:_t,flexGrow:$t,flexShrink:Gt,flexBasis:qt,alignSelf:Ht,alignContent:Xt,justifySelf:Ut,justifyItems:Yt,gridTemplateColumns:Jt,gridTemplateRows:Qt,gridTemplateAreas:Kt,gridColumn:Zt,gridRow:er,gridColumnStart:tr,gridColumnEnd:rr,gridRowStart:nr,gridRowEnd:or,gridArea:ir,gridAutoColumns:sr,gridAutoRows:ar,gridAutoFlow:cr,border:lr,borderTop:dr,borderRight:ur,borderBottom:mr,borderLeft:pr,borderWidth:fr,borderStyle:yr,borderColor:gr,borderTopWidth:hr,borderRightWidth:br,borderBottomWidth:Pr,borderLeftWidth:Sr,borderTopStyle:kr,borderRightStyle:wr,borderBottomStyle:vr,borderLeftStyle:xr,borderTopColor:Cr,borderRightColor:Rr,borderBottomColor:Tr,borderLeftColor:Br,borderRadius:Ir,borderTopLeftRadius:Nr,borderTopRightRadius:Er,borderBottomLeftRadius:Wr,borderBottomRightRadius:Ar,outline:Mr,outlineWidth:Lr,outlineStyle:Fr,outlineColor:jr,outlineOffset:Dr,backgroundColor:Or,backgroundImage:zr,backgroundRepeat:Vr,backgroundPosition:_r,backgroundSize:$r,backgroundAttachment:Gr,backgroundClip:qr,backgroundOrigin:Hr,boxShadow:Xr,opacity:Ur,transition:Yr,transitionProperty:Jr,transitionDuration:Qr,transitionTimingFunction:Kr,transitionDelay:Zr,transform:en,transformOrigin:tn,transformStyle:rn,perspective:nn,perspectiveOrigin:on,backfaceVisibility:sn,animation:an,animationName:cn,animationDuration:ln,animationTimingFunction:dn,animationDelay:un,animationIterationCount:mn,animationDirection:pn,animationFillMode:fn,animationPlayState:yn,filter:gn,backdropFilter:hn,overflow:bn,overflowX:Pn,overflowY:Sn,visibility:kn,objectFit:wn,objectPosition:vn,listStyle:xn,listStyleType:Cn,listStylePosition:Rn,listStyleImage:Tn,borderCollapse:Bn,borderSpacing:In,captionSide:Nn,emptyCells:En,tableLayout:Wn,content:An,quotes:Mn,counterReset:Ln,counterIncrement:Fn,appearance:jn,userSelect:Dn,pointerEvents:On,resize:zn,scrollBehavior:Vn,clip:_n,clipPath:$n,isolation:Gn,mixBlendMode:qn,willChange:Hn,contain:Xn,pageBreakBefore:Un,pageBreakAfter:Yn,pageBreakInside:Jn,breakBefore:Qn,breakAfter:Kn,breakInside:Zn,orphans:eo,widows:to,columnCount:ro,columnFill:no,columnGap:oo,columnRule:io,columnRuleColor:so,columnRuleStyle:ao,columnRuleWidth:co,columnSpan:lo,columnWidth:uo,columns:mo,cursor:po}=Me,fo={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 yo(e){const 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 go(e){return e in fo}function ho(e){return fo[e]}const bo=new Map;function Po(e){const t=Array.isArray(e)?e:Object.entries(e),r=new Map;for(const[e,n]of t){let t=bo.get(n);t||(t=yo(n),bo.set(n,t)),r.set(e,t)}return function(e,n){let o,i;void 0!==n?(o=e,i=n):e instanceof We?(o=e,i=void 0):(o=void 0,i=e);const s=null!=i&&Object.keys(i).length>0;if(!o&&!s)return{className:""};if(s){const e=[],n=new Set;for(const[o]of t){const t=i?.[o];t&&(n.add(o),e.push({queryName:o,query:r.get(o),styles:t.getStyles()}))}for(const[t,r]of Object.entries(i??{}))!n.has(t)&&go(t)&&r instanceof We&&e.push({queryName:t,query:{type:"pseudo",pseudoClass:ho(t)},styles:r.getStyles()});if(0===e.length&&!o)return{className:""};const s=[];s.length=e.length+(o?1:0);let a=0;if(o){const e=o.getStyles();s[a++]="default:"+Ie(e)}for(const{queryName:t,styles:r}of e){const e=Ie(r);s[a++]=`${t}:${e}`}const c="n"+Be(s.sort().join("||"));let l={};o&&(l={...o.getStyles()},Ne(c,l));const d=[],u=[];for(const t of e)"pseudo"===t.query.type?u.push(t):d.push(t);for(const{query:e,styles:t}of d)l={...l,...t},Ne(c,l,e.condition,e.type);for(const{query:e,styles:t}of u)Ne(c,t,void 0,"pseudo",e.pseudoClass);return{className:c}}return{className:o.getClassName()}}}const So=Po;var ko=Object.freeze({__proto__:null,StyleBuilder:We,accentColor:ze,alignContent:Xt,alignItems:Dt,alignSelf:Ht,animation:an,animationDelay:un,animationDirection:pn,animationDuration:ln,animationFillMode:fn,animationIterationCount:mn,animationName:cn,animationPlayState:yn,animationTimingFunction:dn,appearance:jn,backdropFilter:hn,backfaceVisibility:sn,backgroundAttachment:Gr,backgroundClip:qr,backgroundColor:Or,backgroundImage:zr,backgroundOrigin:Hr,backgroundPosition:_r,backgroundRepeat:Vr,backgroundSize:$r,bg:De,bold:Ue,border:lr,borderBottom:mr,borderBottomColor:Tr,borderBottomLeftRadius:Wr,borderBottomRightRadius:Ar,borderBottomStyle:vr,borderBottomWidth:Pr,borderCollapse:Bn,borderColor:gr,borderLeft:pr,borderLeftColor:Br,borderLeftStyle:xr,borderLeftWidth:Sr,borderRadius:Ir,borderRight:ur,borderRightColor:Rr,borderRightStyle:wr,borderRightWidth:br,borderSpacing:In,borderStyle:yr,borderTop:dr,borderTopColor:Cr,borderTopLeftRadius:Nr,borderTopRightRadius:Er,borderTopStyle:kr,borderTopWidth:hr,borderWidth:fr,bottom:Mt,boxShadow:Xr,boxSizing:Et,breakAfter:Kn,breakBefore:Qn,breakInside:Zn,captionSide:Nn,center:zt,clip:_n,clipPath:$n,color:Oe,columnCount:ro,columnFill:no,columnGap:oo,columnRule:io,columnRuleColor:so,columnRuleStyle:ao,columnRuleWidth:co,columnSpan:lo,columnWidth:uo,columns:mo,contain:Xn,content:An,counterIncrement:Fn,counterReset:Ln,createBreakpoints:So,createCSSClass:Ee,createStyleQueries:Po,cursor:po,display:Le,emptyCells:En,filter:gn,flex:Fe,flexBasis:qt,flexDirection:jt,flexGrow:$t,flexShrink:Gt,flexWrap:_t,fontFamily:$e,fontSize:Ve,fontStretch:Qe,fontStyle:Ye,fontVariant:Je,fontWeight:_e,gap:Vt,grid:je,gridArea:ir,gridAutoColumns:sr,gridAutoFlow:cr,gridAutoRows:ar,gridColumn:Zt,gridColumnEnd:rr,gridColumnStart:tr,gridRow:er,gridRowEnd:or,gridRowStart:nr,gridTemplateAreas:Kt,gridTemplateColumns:Jt,gridTemplateRows:Qt,height:Rt,isolation:Gn,justifyContent:Ot,justifyItems:Yt,justifySelf:Ut,left:Lt,letterSpacing:qe,lineHeight:Ge,listStyle:xn,listStyleImage:Tn,listStylePosition:Rn,listStyleType:Cn,margin:St,marginBottom:vt,marginLeft:xt,marginRight:wt,marginTop:kt,maxHeight:Nt,maxWidth:Bt,minHeight:It,minWidth:Tt,mixBlendMode:qn,objectFit:wn,objectPosition:vn,opacity:Ur,orphans:eo,outline:Mr,outlineColor:jr,outlineOffset:Dr,outlineStyle:Fr,outlineWidth:Lr,overflow:bn,overflowWrap:it,overflowX:Pn,overflowY:Sn,padding:yt,paddingBottom:bt,paddingLeft:Pt,paddingRight:ht,paddingTop:gt,pageBreakAfter:Yn,pageBreakBefore:Un,pageBreakInside:Jn,perspective:nn,perspectiveOrigin:on,pointerEvents:On,position:ft,quotes:Mn,resize:zn,right:At,scrollBehavior:Vn,tableLayout:Wn,textAlign:He,textAlignLast:st,textDecoration:Xe,textDecorationColor:lt,textDecorationLine:ct,textDecorationStyle:dt,textDecorationThickness:ut,textIndent:Ze,textJustify:at,textOverflow:et,textShadow:tt,textTransform:Ke,textUnderlineOffset:mt,top:Wt,transform:en,transformOrigin:tn,transformStyle:rn,transition:Yr,transitionDelay:Zr,transitionDuration:Qr,transitionProperty:Jr,transitionTimingFunction:Kr,userSelect:Dn,verticalAlign:pt,visibility:kn,whiteSpace:rt,widows:to,width:Ct,willChange:Hn,wordSpacing:nt,wordWrap:ot,zIndex:Ft});function wo(){ne();const e=globalThis;e.list=ce,e.update=ve,e.when=ge,e.on=d,e.scope=ke,e.render=xe;for(const[t,r]of Object.entries(ko))try{e[t]=r}catch{}}wo(),e.HTML_TAGS=Z,e.SELF_CLOSING_TAGS=["area","base","br","col","embed","hr","img","input","link","meta","source","track","wbr"],e.SVG_TAGS=ee,e.StyleBuilder=We,e.accentColor=ze,e.alignContent=Xt,e.alignItems=Dt,e.alignSelf=Ht,e.animation=an,e.animationDelay=un,e.animationDirection=pn,e.animationDuration=ln,e.animationFillMode=fn,e.animationIterationCount=mn,e.animationName=cn,e.animationPlayState=yn,e.animationTimingFunction=dn,e.appearance=jn,e.appendChildren=function(e,...t){if(!e)return e;for(let r=0;t.length>r;r++){const n=t[r];if(null!=n){let t;if("string"==typeof n){const e=w(n);if(!e)continue;t=e}else t=n;b(e,t)}}return e},e.applyAttributes=$,e.applyNodeModifier=q,e.backdropFilter=hn,e.backfaceVisibility=sn,e.backgroundAttachment=Gr,e.backgroundClip=qr,e.backgroundColor=Or,e.backgroundImage=zr,e.backgroundOrigin=Hr,e.backgroundPosition=_r,e.backgroundRepeat=Vr,e.backgroundSize=$r,e.bg=De,e.bold=Ue,e.border=lr,e.borderBottom=mr,e.borderBottomColor=Tr,e.borderBottomLeftRadius=Wr,e.borderBottomRightRadius=Ar,e.borderBottomStyle=vr,e.borderBottomWidth=Pr,e.borderCollapse=Bn,e.borderColor=gr,e.borderLeft=pr,e.borderLeftColor=Br,e.borderLeftStyle=xr,e.borderLeftWidth=Sr,e.borderRadius=Ir,e.borderRight=ur,e.borderRightColor=Rr,e.borderRightStyle=wr,e.borderRightWidth=br,e.borderSpacing=In,e.borderStyle=yr,e.borderTop=dr,e.borderTopColor=Cr,e.borderTopLeftRadius=Nr,e.borderTopRightRadius=Er,e.borderTopStyle=kr,e.borderTopWidth=hr,e.borderWidth=fr,e.bottom=Mt,e.boxShadow=Xr,e.boxSizing=Et,e.breakAfter=Kn,e.breakBefore=Qn,e.breakInside=Zn,e.captionSide=Nn,e.center=zt,e.clip=_n,e.clipPath=$n,e.color=Oe,e.columnCount=ro,e.columnFill=no,e.columnGap=oo,e.columnRule=io,e.columnRuleColor=so,e.columnRuleStyle=ao,e.columnRuleWidth=co,e.columnSpan=lo,e.columnWidth=uo,e.columns=mo,e.contain=Xn,e.content=An,e.counterIncrement=Fn,e.counterReset=Ln,e.createBreakpoints=So,e.createCSSClass=Ee,e.createComment=x,e.createConditionalComment=C,e.createHtmlElementWithModifiers=Y,e.createHtmlTagBuilder=Q,e.createStyleQueries=Po,e.createSvgElementWithModifiers=J,e.createSvgTagBuilder=K,e.cursor=po,e.display=Le,e.emptyCells=En,e.filter=gn,e.flex=Fe,e.flexBasis=qt,e.flexDirection=jt,e.flexGrow=$t,e.flexShrink=Gt,e.flexWrap=_t,e.fontFamily=$e,e.fontSize=Ve,e.fontStretch=Qe,e.fontStyle=Ye,e.fontVariant=Je,e.fontWeight=_e,e.gap=Vt,e.grid=je,e.gridArea=ir,e.gridAutoColumns=sr,e.gridAutoFlow=cr,e.gridAutoRows=ar,e.gridColumn=Zt,e.gridColumnEnd=rr,e.gridColumnStart=tr,e.gridRow=er,e.gridRowEnd=or,e.gridRowStart=nr,e.gridTemplateAreas=Kt,e.gridTemplateColumns=Jt,e.gridTemplateRows=Qt,e.height=Rt,e.initializeRuntime=wo,e.isBoolean=function(e){return"boolean"==typeof e},e.isBrowser=c,e.isFunction=i,e.isNode=r,e.isObject=n,e.isPrimitive=t,e.isTagLike=o,e.isZeroArityFunction=s,e.isolation=Gn,e.justifyContent=Ot,e.justifyItems=Yt,e.justifySelf=Ut,e.left=Lt,e.letterSpacing=qe,e.lineHeight=Ge,e.list=ce,e.listStyle=xn,e.listStyleImage=Tn,e.listStylePosition=Rn,e.listStyleType=Cn,e.margin=St,e.marginBottom=vt,e.marginLeft=xt,e.marginRight=wt,e.marginTop=kt,e.maxHeight=Nt,e.maxWidth=Bt,e.minHeight=It,e.minWidth=Tt,e.mixBlendMode=qn,e.objectFit=wn,e.objectPosition=vn,e.on=d,e.opacity=Ur,e.orphans=eo,e.outline=Mr,e.outlineColor=jr,e.outlineOffset=Dr,e.outlineStyle=Fr,e.outlineWidth=Lr,e.overflow=bn,e.overflowWrap=it,e.overflowX=Pn,e.overflowY=Sn,e.padding=yt,e.paddingBottom=bt,e.paddingLeft=Pt,e.paddingRight=ht,e.paddingTop=gt,e.pageBreakAfter=Yn,e.pageBreakBefore=Un,e.pageBreakInside=Jn,e.perspective=nn,e.perspectiveOrigin=on,e.pointerEvents=On,e.position=ft,e.quotes=Mn,e.registerGlobalTagBuilders=ne,e.render=xe,e.replaceNodeSafely=I,e.resize=zn,e.right=At,e.scope=ke,e.scrollBehavior=Vn,e.tableLayout=Wn,e.textAlign=He,e.textAlignLast=st,e.textDecoration=Xe,e.textDecorationColor=lt,e.textDecorationLine=ct,e.textDecorationStyle=dt,e.textDecorationThickness=ut,e.textIndent=Ze,e.textJustify=at,e.textOverflow=et,e.textShadow=tt,e.textTransform=Ke,e.textUnderlineOffset=mt,e.top=Wt,e.transform=en,e.transformOrigin=tn,e.transformStyle=rn,e.transition=Yr,e.transitionDelay=Zr,e.transitionDuration=Qr,e.transitionProperty=Jr,e.transitionTimingFunction=Kr,e.update=ve,e.userSelect=Dn,e.verticalAlign=pt,e.visibility=kn,e.when=ge,e.whiteSpace=rt,e.widows=to,e.width=Ct,e.willChange=Hn,e.wordSpacing=nt,e.wordWrap=ot,e.zIndex=Ft});
2
2
  //# sourceMappingURL=nuclo.umd.js.map