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