nuclo 0.1.54 → 0.1.55
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 +6 -0
- package/dist/core/classNameMerger.d.ts.map +1 -0
- package/dist/core/reactive.d.ts +2 -79
- package/dist/core/reactive.d.ts.map +1 -1
- package/dist/core/reactiveAttributes.d.ts +44 -0
- package/dist/core/reactiveAttributes.d.ts.map +1 -0
- package/dist/core/reactiveText.d.ts +38 -0
- package/dist/core/reactiveText.d.ts.map +1 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.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/style/breakpoints.d.ts +7 -0
- package/dist/style/breakpoints.d.ts.map +1 -0
- package/dist/style/cssGenerator.d.ts +4 -0
- package/dist/style/cssGenerator.d.ts.map +1 -0
- package/dist/style/index.d.ts +4 -215
- package/dist/style/index.d.ts.map +1 -1
- package/dist/style/styleBuilder.d.ts +210 -0
- package/dist/style/styleBuilder.d.ts.map +1 -0
- package/dist/style/styleCache.d.ts +6 -0
- package/dist/style/styleCache.d.ts.map +1 -0
- package/dist/when/builder.d.ts +12 -0
- package/dist/when/builder.d.ts.map +1 -0
- package/dist/when/index.d.ts +2 -25
- package/dist/when/index.d.ts.map +1 -1
- package/dist/when/renderer.d.ts +6 -0
- package/dist/when/renderer.d.ts.map +1 -0
- package/dist/when/runtime.d.ts +54 -0
- package/dist/when/runtime.d.ts.map +1 -0
- package/package.json +5 -5
package/dist/nuclo.umd.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).Nuclo={})}(this,function(e){"use strict";function t(e){return null===e||"object"!=typeof e&&"function"!=typeof e}function r(e){return e instanceof Node}function n(e){return"object"==typeof e&&null!==e}function o(e){return n(e)&&"tagName"in e}function i(e){return"function"==typeof e}function a(e){return i(e)&&0===e.length}function s(e,t){"undefined"!=typeof console&&console.error(`nuclo: ${e}`,t)}function l(e,t){try{return e()}catch(e){return s("Operation failed",e),t}}const c="undefined"!=typeof window&&"undefined"!=typeof document;function d(e){if(!e?.parentNode)return!1;try{return e.parentNode.removeChild(e),!0}catch(e){return s("Failed to remove child node",e),!1}}function u(e){if(!c)return null;try{return document.createComment(e)}catch(e){return s("Failed to create comment node",e),null}}function m(e){return u(e)}function p(e,t="hidden"){try{return document.createComment(`conditional-${e}-${t}`)}catch(e){return s("Failed to create conditional comment",e),null}}function f(e){if(!c)throw new Error("Cannot create comment in non-browser environment");const t=u(`${e}-${Math.random().toString(36).slice(2)}`);if(!t)throw new Error("Failed to create comment");return t}function y(e){const t=u(`${e}-end`);if(!t)throw new Error("Failed to create end comment");return{start:f(`${e}-start`),end:t}}function g(e,t){const r=t.parentNode;r&&e.forEach(e=>function(e,t,r){if(!e||!t)return!1;try{return e.insertBefore(t,r),!0}catch(e){return s("Failed to insert node before reference",e),!1}}(r,e,t))}function h(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 s("Error replacing conditional node",e),!1}}const P=new Map,S=new Map;function w(e,t){t.attributeResolvers.forEach(({resolver:e,applyValue:t},r)=>{try{t(l(e))}catch(e){s(`Failed to update reactive attribute: ${r}`,e)}})}function x(e,t,r,n){if(!(e instanceof Element&&t&&"function"==typeof r))return void s("Invalid parameters for registerAttributeResolver");const o=function(e){let t=S.get(e);return t||(t={attributeResolvers:new Map},S.set(e,t)),t}(e);o.attributeResolvers.set(t,{resolver:r,applyValue:n});try{n(l(r))}catch(e){s("Failed to apply initial attribute value",e)}if(!o.updateListener){const t=()=>w(0,o);e.addEventListener("update",t),o.updateListener=t}}function C(e,t,r){try{if(null==r||""===r)return e.style[t]="",!0;const n=String(r);return e.style[t]=n,!0}catch{return!1}}function v(e,t){if(e?.style&&t)for(const[r,n]of Object.entries(t)){C(e,r,n)||s(`Failed to set style property '${r}'`)}}function k(e,t,r,n=!1){if(null==r)return;if("style"===t)return a=r,void((o=e)&&(i(a)?x(o,"style",()=>{try{return a()}catch(e){return s("Error in style resolver function",e),null}},e=>{v(o,e)}):v(o,a)));var o,a;const l=(r,n=!1)=>{if(null==r)return;if("className"===t&&e instanceof HTMLElement&&n){const t=String(r),n=e.className;if(n&&n!==t){const r=new Set(n.split(" ").filter(e=>e));t.split(" ").filter(e=>e).forEach(e=>r.add(e)),e.className=Array.from(r).join(" ")}else t&&(e.className=t);return}if(e instanceof Element&&"http://www.w3.org/2000/svg"===e.namespaceURI)e.setAttribute(String(t),String(r));else if(t in e)try{e[t]=r}catch{e instanceof Element&&e.setAttribute(String(t),String(r))}else e instanceof Element&&e.setAttribute(String(t),String(r))};if(i(r)&&0===r.length){const n=r;if("className"===t&&e instanceof HTMLElement){const r="__nuclo_reactive_className__",o="__nuclo_static_className__";e[o]||(e[o]=new Set(e.className.split(" ").filter(e=>e))),e[r]=!0,x(e,String(t),n,t=>{const r=String(t||""),n=e[o];if(n&&n.size>0&&r){const t=new Set(n);r.split(" ").filter(e=>e).forEach(e=>t.add(e)),e.className=Array.from(t).join(" ")}else r?e.className=r:n&&n.size>0?e.className=Array.from(n).join(" "):e.className=""})}else x(e,String(t),n,e=>{l(e,!1)})}else{if("className"===t&&e instanceof HTMLElement){const t="__nuclo_static_className__";if(e["__nuclo_reactive_className__"]){const n=String(r||"");if(n){e[t]||(e[t]=new Set),n.split(" ").filter(e=>e).forEach(r=>{e[t].add(r)});const r=new Set(e.className.split(" ").filter(e=>e));n.split(" ").filter(e=>e).forEach(e=>r.add(e)),e.className=Array.from(r).join(" ")}return}}l(r,n)}}function R(e,t,r=!0){if(t)for(const n of Object.keys(t)){k(e,n,t[n],r&&"className"===n)}}const T=new WeakMap;function B(e){const{value:t,error:r}=function(e){const t=T.get(e);if(t)return t;try{const t={value:e(),error:!1};return T.set(e,t),t}catch{const t={value:void 0,error:!0};return T.set(e,t),t}}(e);return!r&&"boolean"==typeof t}function E(e,t,o){if(!i(e)||0!==e.length)return!1;if(!B(e))return!1;const a=t.filter((e,t)=>t!==o);if(0===a.length)return!1;return a.some(e=>!(!n(e)&&!r(e))||!!(i(e)&&e.length>0))}function N(e,o,l){if(null==o)return null;if(i(o)){if(a(o))try{let i=T.get(o);if(!i){i={value:o(),error:!1},T.set(o,i)}if(i.error)return A(l,()=>"");const a=i.value;if(n(a)&&!r(a)&&"className"in a&&"string"==typeof a.className&&1===Object.keys(a).length){const t=o;return R(e,{className:()=>t().className}),null}return t(a)&&null!=a?A(l,o,a):null}catch(e){return T.set(o,{value:void 0,error:!0}),s("Error evaluating reactive text function:",e),A(l,()=>"")}const i=o(e,l);return null==i?null:t(i)?L(l,i):r(i)?i:(n(i)&&R(e,i),null)}const c=o;return null==c?null:t(c)?L(l,c):r(c)?c:(n(c)&&R(e,c),null)}function A(e,t,r){const n=document.createDocumentFragment(),o=m(` text-${e} `);o&&n.appendChild(o);const i=function(e,t){if("function"!=typeof e)return s("Invalid resolver provided to createReactiveTextNode"),document.createTextNode("");const r=arguments.length>1?t:l(e,""),n=void 0===r?"":String(r),o=document.createTextNode(n);return P.set(o,{resolver:e,lastValue:n}),o}(t,r);return n.appendChild(i),n}function L(e,t){const r=document.createDocumentFragment(),n=m(` text-${e} `);n&&r.appendChild(n);const o=document.createTextNode(String(t));return r.appendChild(o),r}const I=new Set;function W(e,t){e._conditionalInfo=t,I.add(e)}function F(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;r<t.length;r+=1){const a=t[r];if(null==a)continue;const s=N(e,a,n);s&&(s.parentNode!==i&&i.appendChild(s),n+=1,o+=1)}return{element:e,nextIndex:n,appended:o}}function j(e,t){const r=document.createElement(e);return F(r,t,0),r}function D(e){const t=function(e){for(let t=0;t<e.length;t+=1)if(E(e[t],e,t))return t;return-1}(e);return-1===t?{condition:null,otherModifiers:e}:{condition:e[t],otherModifiers:e.filter((e,r)=>r!==t)}}function M(e){return function(e){return z.includes(e)}(e)?document.createElementNS("http://www.w3.org/2000/svg",e):document.createElement(e)}function O(e,...t){return(r,n)=>{const{condition:o,otherModifiers:i}=D(t);if(o)return function(e,t,r){const n=t();if(!c)return n?j(e,r):p(e,"ssr");const o={condition:t,tagName:e,modifiers:r};if(n){const t=j(e,r);return W(t,o),t}const i=p(e);if(!i)throw new Error(`Failed to create conditional comment for ${e}`);return W(i,o),i}(e,o,i);const a=M(e);return F(a,i,n),a}}function _(e){return(...t)=>O(e,...t)}const $=["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"],z=["a","animate","animateMotion","animateTransform","circle","clipPath","defs","desc","ellipse","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","filter","foreignObject","g","image","line","linearGradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialGradient","rect","script","set","stop","style","svg","switch","symbol","text","textPath","title","tspan","use","view"];function G(e=globalThis){const t="__nuclo_tags_registered";e[t]||(z.forEach(t=>function(e,t){let r=t;["a","script","style","title","text"].includes(t)?r=`${t}_svg`:["stop"].includes(t)&&(r=`${t}_`),r in e||(e[r]=_(t))}(e,t)),$.forEach(t=>function(e,t){t in e&&"function"!=typeof e[t]||(e[t]=_(t))}(e,t)),e[t]=!0)}const V=new Set;function H(e,t,r){return function(e,t,r){if(i(e)){const n=e(t,r);return n&&o(n)?n:null}return e&&o(e)?e:null}(e.renderItem(t,r),e.host,r)}function q(e){d(e.element)}function U(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;r<e.length;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 a=new Map,s=new Map;e.records.forEach(e=>{const t=s.get(e.item);t?t.push(e):s.set(e.item,[e])}),i.forEach((t,r)=>{if(r<e.lastSyncedItems.length&&e.lastSyncedItems[r]===t){const n=e.records[r];if(n&&n.item===t){a.set(r,n);const e=s.get(t);if(e){const r=e.indexOf(n);r>=0&&(e.splice(r,1),0===e.length&&s.delete(t))}}}});const l=[],c=new Set(e.records);let d=n;for(let t=i.length-1;t>=0;t--){const r=i[t];let n=a.get(t);if(!n){const e=s.get(r);e&&e.length>0&&(n=e.shift(),0===e.length&&s.delete(r))}if(n)c.delete(n);else{const o=H(e,r,t);if(!o)continue;n={item:r,element:o}}l.unshift(n);const u=n.element;u.nextSibling!==d&&o.insertBefore(u,d),d=u}c.forEach(q),e.records=l,e.lastSyncedItems=[...i]}function J(e,t){return(r,n)=>{const o=function(e,t,r){const{start:n,end:o}=y("list"),i={itemsProvider:e,renderItem:t,startMarker:n,endMarker:o,records:[],host:r,lastSyncedItems:[]},a=r;return a.appendChild(n),a.appendChild(o),V.add(i),U(i),i}(e,t,r);return o.startMarker}}function X(e,t){try{return e()}catch(e){if(t)return t(e),!1;throw e}}function Y(e,t){return"function"==typeof e?X(e,t):Boolean(e)}const Q=new Set;function Z(e,t,r,n){return i(e)?a(e)?(T.delete(e),N(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=N(t,e,r);return n&&!n.parentNode?n:null}):N(t,e,r)}function K(e){const{groups:t,elseContent:r,host:n,index:o,endMarker:i}=e,a=function(e,t){for(let t=0;t<e.length;t++)if(Y(e[t].condition))return t;return t.length>0?-1:null}(t,r);if(a===e.activeIndex)return;if(function(e,t){let r=e.nextSibling;for(;r&&r!==t;){const e=r.nextSibling;d(r),r=e}}(e.startMarker,e.endMarker),e.activeIndex=a,null===a)return;const s=function(e,t,r,n){const o=[];for(const i of e){const e=Z(i,t,r,n);e&&o.push(e)}return o}(a>=0?t[a].content:r,n,o,i);g(s,i)}class ee{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 m("when-ssr")||null}const{start:r,end:n}=y("when"),o={startMarker:r,endMarker:n,host:e,index:t,groups:[...this.groups],elseContent:[...this.elseContent],activeIndex:null,update:()=>K(o)};Q.add(o);const i=e;return i.appendChild(r),i.appendChild(n),K(o),r}}function te(e){return Object.assign((t,r)=>e.render(t,r),{when:(t,...r)=>(e.when(t,...r),te(e)),else:(...t)=>(e.else(...t),te(e))})}function re(e,...t){return te(new ee(e,...t))}function ne(e){const t=function(e){return e._conditionalInfo??null}(e);if(!t)return;const r=X(t.condition,e=>{s("Error evaluating conditional condition",e)}),n=e.nodeType===Node.ELEMENT_NODE;if(r&&!n){const r=function(e){try{return j(e.tagName,e.modifiers)}catch(t){return s(`Error applying modifiers in conditional element "${e.tagName}"`,t),document.createElement(e.tagName)}}(t);W(r,t),b(e,r)}else if(!r&&n){const r=p(t.tagName);r&&(W(r,t),b(e,r))}}const oe=[function(){V.forEach(e=>{e.startMarker.isConnected&&e.endMarker.isConnected?U(e):V.delete(e)})},function(){Q.forEach(e=>{try{e.update()}catch(t){Q.delete(e)}})},function(){if(c)try{I.forEach(e=>{e.isConnected?ne(e):function(e){I.delete(e)}(e)})}catch(e){s("Error during conditional elements update",e)}},function(){S.forEach((e,t)=>{if(!h(t))return e.updateListener&&t.removeEventListener("update",e.updateListener),void S.delete(t);w(0,e)})},function(){P.forEach((e,t)=>{if(h(t))try{const r=l(e.resolver),n=void 0===r?"":String(r);n!==e.lastValue&&(t.textContent=n,e.lastValue=n)}catch(e){s("Failed to update reactive text node",e)}else P.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){s("Error dispatching global update event",e)}}];function ie(){for(const e of oe)e()}function ae(e,t,r){return n=>{if(!n||"function"!=typeof n.addEventListener)return;const o=n;o.addEventListener(e,r=>{try{t.call(o,r)}catch(t){s(`Error in '${e}' listener`,t)}},r)}}function se(e,t,r=0){const n=e(t||document.body,r);return(t||document.body).appendChild(n),n}const le=[{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"}],ce=["bold","center","flex"],de=new Map;function ue(e){let t=0;for(let r=0;r<e.length;r++){t=(t<<5)-t+e.charCodeAt(r),t&=t}return Math.abs(t).toString(16).padStart(8,"0").substring(0,8)}function me(e){return Object.entries(e).sort(([e],[t])=>e.localeCompare(t)).map(([e,t])=>`${e}:${t}`).join("|")}function pe(e,t="",r){const n=me(e),o=t?`${t}:${n}`:n;if(de.has(o)){const t=de.get(o);return function(e,t){const r=document.querySelector("#nuclo-styles");if(!r||!r.sheet)return!1;if(t){const n=Array.from(r.sheet.cssRules||[]).find(e=>e instanceof CSSMediaRule&&e.media.mediaText===t);return!!n&&Array.from(n.cssRules).some(t=>t instanceof CSSStyleRule&&t.selectorText===`.${e}`)}return Array.from(r.sheet.cssRules||[]).some(t=>t instanceof CSSStyleRule&&t.selectorText===`.${e}`)}(t,r)||fe(t,e,r),t}const i=ue(n),a=t?`n${t}-${i}`:`n${i}`;return de.set(o,a),fe(a,e,r),a}function fe(e,t,r){let n=document.querySelector("#nuclo-styles");n||(n=document.createElement("style"),n.id="nuclo-styles",document.head.appendChild(n));const o=Object.entries(t).map(([e,t])=>`${e}: ${t}`).join("; ");if(r){const i=Array.from(n.sheet?.cssRules||[]);let a=null;for(const e of i)if(e instanceof CSSMediaRule&&e.media.mediaText===r){a=e;break}if(!a){let e=i.length;for(let t=i.length-1;t>=0;t--){if(i[t]instanceof CSSMediaRule){e=t+1;break}if(i[t]instanceof CSSStyleRule){e=t+1;break}}n.sheet?.insertRule(`@media ${r} {}`,e),a=n.sheet?.cssRules[e]}let s=null;for(const t of Array.from(a.cssRules))if(t instanceof CSSStyleRule&&t.selectorText===`.${e}`){s=t;break}if(s){for(;s.style.length>0;)s.style.removeProperty(s.style[0]);Object.entries(t).forEach(([e,t])=>{s.style.setProperty(e,t)})}else a.insertRule(`.${e} { ${o} }`,a.cssRules.length)}else{let r=null,i=0;const a=Array.from(n.sheet?.cssRules||[]);for(let t=0;t<a.length;t++){const n=a[t];if(n instanceof CSSStyleRule&&n.selectorText===`.${e}`){r=n,i=t;break}n instanceof CSSMediaRule||(i=t+1)}if(r){for(;r.style.length>0;)r.style.removeProperty(r.style[0]);Object.entries(t).forEach(([e,t])=>{r.style.setProperty(e,t)})}else n.sheet?.insertRule(`.${e} { ${o} }`,i)}}class ye{styles={};getStyles(){return{...this.styles}}getClassName(e="",t){return pe(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 ge(e){const t=Array.isArray(e)?e:Object.entries(e);return function(e,r){let n,o;if(void 0!==r?(n=e,o=r):e instanceof ye?(n=e,o=void 0):(n=void 0,o=e),!(n||o&&0!==Object.keys(o).length))return"";if(o&&Object.keys(o).length>0){const e=[];for(const[r,n]of t){const t=o[r];t&&e.push({breakpointName:r,mediaQuery:n,styles:t.getStyles()})}const r=[];if(n){const e=n.getStyles();r.push(`default:${me(e)}`)}r.push(...e.map(({breakpointName:e,styles:t})=>`${e}:${me(t)}`));const i=`n${ue(r.sort().join("||"))}`;let a={};n&&(a={...n.getStyles()},fe(i,a));for(const{breakpointName:t,mediaQuery:r,styles:n}of e)a={...a,...n},fe(i,a,r);return{className:i}}if(n){return{className:n.getClassName()}}return""}}function he(e,t){fe(e,t)}function be(e){return e.isShorthand?()=>(new ye).add(e.cssProperty,e.defaultValue||""):t=>(new ye).add(e.cssProperty,t||"")}!function(){const e=ye.prototype;for(const t of le)t.name in e||(t.isShorthand?e[t.name]=function(){return this.add(t.cssProperty,t.defaultValue||""),this}:e[t.name]=function(e){return this.add(t.cssProperty,e),this})}();const Pe={};for(const e of le)Pe[e.name]=be(e);for(const e of ce)"bold"===e||"center"===e?Pe[e]=()=>(new ye)[e]():"flex"===e&&(Pe[e]=e=>(new ye).flex(e));const{display:Se,flex:we,grid:xe,bg:Ce,color:ve,accentColor:ke,fontSize:Re,fontWeight:Te,fontFamily:Be,lineHeight:Ee,letterSpacing:Ne,textAlign:Ae,textDecoration:Le,bold:Ie,fontStyle:We,fontVariant:Fe,fontStretch:je,textTransform:De,textIndent:Me,textOverflow:Oe,textShadow:_e,whiteSpace:$e,wordSpacing:ze,wordWrap:Ge,overflowWrap:Ve,textAlignLast:He,textJustify:qe,textDecorationLine:Ue,textDecorationColor:Je,textDecorationStyle:Xe,textDecorationThickness:Ye,textUnderlineOffset:Qe,verticalAlign:Ze,position:Ke,padding:et,paddingTop:tt,paddingRight:rt,paddingBottom:nt,paddingLeft:ot,margin:it,marginTop:at,marginRight:st,marginBottom:lt,marginLeft:ct,width:dt,height:ut,minWidth:mt,maxWidth:pt,minHeight:ft,maxHeight:yt,boxSizing:gt,top:ht,right:bt,bottom:Pt,left:St,zIndex:wt,flexDirection:xt,alignItems:Ct,justifyContent:vt,center:kt,gap:Rt,flexWrap:Tt,flexGrow:Bt,flexShrink:Et,flexBasis:Nt,alignSelf:At,alignContent:Lt,justifySelf:It,justifyItems:Wt,gridTemplateColumns:Ft,gridTemplateRows:jt,gridTemplateAreas:Dt,gridColumn:Mt,gridRow:Ot,gridColumnStart:_t,gridColumnEnd:$t,gridRowStart:zt,gridRowEnd:Gt,gridArea:Vt,gridAutoColumns:Ht,gridAutoRows:qt,gridAutoFlow:Ut,border:Jt,borderTop:Xt,borderRight:Yt,borderBottom:Qt,borderLeft:Zt,borderWidth:Kt,borderStyle:er,borderColor:tr,borderTopWidth:rr,borderRightWidth:nr,borderBottomWidth:or,borderLeftWidth:ir,borderTopStyle:ar,borderRightStyle:sr,borderBottomStyle:lr,borderLeftStyle:cr,borderTopColor:dr,borderRightColor:ur,borderBottomColor:mr,borderLeftColor:pr,borderRadius:fr,borderTopLeftRadius:yr,borderTopRightRadius:gr,borderBottomLeftRadius:hr,borderBottomRightRadius:br,outline:Pr,outlineWidth:Sr,outlineStyle:wr,outlineColor:xr,outlineOffset:Cr,backgroundColor:vr,backgroundImage:kr,backgroundRepeat:Rr,backgroundPosition:Tr,backgroundSize:Br,backgroundAttachment:Er,backgroundClip:Nr,backgroundOrigin:Ar,boxShadow:Lr,opacity:Ir,transition:Wr,transitionProperty:Fr,transitionDuration:jr,transitionTimingFunction:Dr,transitionDelay:Mr,transform:Or,transformOrigin:_r,transformStyle:$r,perspective:zr,perspectiveOrigin:Gr,backfaceVisibility:Vr,animation:Hr,animationName:qr,animationDuration:Ur,animationTimingFunction:Jr,animationDelay:Xr,animationIterationCount:Yr,animationDirection:Qr,animationFillMode:Zr,animationPlayState:Kr,filter:en,backdropFilter:tn,overflow:rn,overflowX:nn,overflowY:on,visibility:an,objectFit:sn,objectPosition:ln,listStyle:cn,listStyleType:dn,listStylePosition:un,listStyleImage:mn,borderCollapse:pn,borderSpacing:fn,captionSide:yn,emptyCells:gn,tableLayout:hn,content:bn,quotes:Pn,counterReset:Sn,counterIncrement:wn,appearance:xn,userSelect:Cn,pointerEvents:vn,resize:kn,scrollBehavior:Rn,clip:Tn,clipPath:Bn,isolation:En,mixBlendMode:Nn,willChange:An,contain:Ln,pageBreakBefore:In,pageBreakAfter:Wn,pageBreakInside:Fn,breakBefore:jn,breakAfter:Dn,breakInside:Mn,orphans:On,widows:_n,columnCount:$n,columnFill:zn,columnGap:Gn,columnRule:Vn,columnRuleColor:Hn,columnRuleStyle:qn,columnRuleWidth:Un,columnSpan:Jn,columnWidth:Xn,columns:Yn,cursor:Qn}=Pe;var Zn=Object.freeze({__proto__:null,StyleBuilder:ye,accentColor:ke,alignContent:Lt,alignItems:Ct,alignSelf:At,animation:Hr,animationDelay:Xr,animationDirection:Qr,animationDuration:Ur,animationFillMode:Zr,animationIterationCount:Yr,animationName:qr,animationPlayState:Kr,animationTimingFunction:Jr,appearance:xn,backdropFilter:tn,backfaceVisibility:Vr,backgroundAttachment:Er,backgroundClip:Nr,backgroundColor:vr,backgroundImage:kr,backgroundOrigin:Ar,backgroundPosition:Tr,backgroundRepeat:Rr,backgroundSize:Br,bg:Ce,bold:Ie,border:Jt,borderBottom:Qt,borderBottomColor:mr,borderBottomLeftRadius:hr,borderBottomRightRadius:br,borderBottomStyle:lr,borderBottomWidth:or,borderCollapse:pn,borderColor:tr,borderLeft:Zt,borderLeftColor:pr,borderLeftStyle:cr,borderLeftWidth:ir,borderRadius:fr,borderRight:Yt,borderRightColor:ur,borderRightStyle:sr,borderRightWidth:nr,borderSpacing:fn,borderStyle:er,borderTop:Xt,borderTopColor:dr,borderTopLeftRadius:yr,borderTopRightRadius:gr,borderTopStyle:ar,borderTopWidth:rr,borderWidth:Kt,bottom:Pt,boxShadow:Lr,boxSizing:gt,breakAfter:Dn,breakBefore:jn,breakInside:Mn,captionSide:yn,center:kt,clip:Tn,clipPath:Bn,color:ve,columnCount:$n,columnFill:zn,columnGap:Gn,columnRule:Vn,columnRuleColor:Hn,columnRuleStyle:qn,columnRuleWidth:Un,columnSpan:Jn,columnWidth:Xn,columns:Yn,contain:Ln,content:bn,counterIncrement:wn,counterReset:Sn,createBreakpoints:ge,createCSSClass:he,cursor:Qn,display:Se,emptyCells:gn,filter:en,flex:we,flexBasis:Nt,flexDirection:xt,flexGrow:Bt,flexShrink:Et,flexWrap:Tt,fontFamily:Be,fontSize:Re,fontStretch:je,fontStyle:We,fontVariant:Fe,fontWeight:Te,gap:Rt,grid:xe,gridArea:Vt,gridAutoColumns:Ht,gridAutoFlow:Ut,gridAutoRows:qt,gridColumn:Mt,gridColumnEnd:$t,gridColumnStart:_t,gridRow:Ot,gridRowEnd:Gt,gridRowStart:zt,gridTemplateAreas:Dt,gridTemplateColumns:Ft,gridTemplateRows:jt,height:ut,isolation:En,justifyContent:vt,justifyItems:Wt,justifySelf:It,left:St,letterSpacing:Ne,lineHeight:Ee,listStyle:cn,listStyleImage:mn,listStylePosition:un,listStyleType:dn,margin:it,marginBottom:lt,marginLeft:ct,marginRight:st,marginTop:at,maxHeight:yt,maxWidth:pt,minHeight:ft,minWidth:mt,mixBlendMode:Nn,objectFit:sn,objectPosition:ln,opacity:Ir,orphans:On,outline:Pr,outlineColor:xr,outlineOffset:Cr,outlineStyle:wr,outlineWidth:Sr,overflow:rn,overflowWrap:Ve,overflowX:nn,overflowY:on,padding:et,paddingBottom:nt,paddingLeft:ot,paddingRight:rt,paddingTop:tt,pageBreakAfter:Wn,pageBreakBefore:In,pageBreakInside:Fn,perspective:zr,perspectiveOrigin:Gr,pointerEvents:vn,position:Ke,quotes:Pn,resize:kn,right:bt,scrollBehavior:Rn,tableLayout:hn,textAlign:Ae,textAlignLast:He,textDecoration:Le,textDecorationColor:Je,textDecorationLine:Ue,textDecorationStyle:Xe,textDecorationThickness:Ye,textIndent:Me,textJustify:qe,textOverflow:Oe,textShadow:_e,textTransform:De,textUnderlineOffset:Qe,top:ht,transform:Or,transformOrigin:_r,transformStyle:$r,transition:Wr,transitionDelay:Mr,transitionDuration:jr,transitionProperty:Fr,transitionTimingFunction:Dr,userSelect:Cn,verticalAlign:Ze,visibility:an,whiteSpace:$e,widows:_n,width:dt,willChange:An,wordSpacing:ze,wordWrap:Ge,zIndex:wt});function Kn(){if(G(),"undefined"!=typeof globalThis){const e=globalThis;e.list=J,e.update=ie,e.when=re,e.on=ae,e.render=se;for(const[t,r]of Object.entries(Zn))try{e[t]=r}catch(e){}}}"undefined"!=typeof globalThis&&Kn(),e.HTML_TAGS=$,e.SELF_CLOSING_TAGS=["area","base","br","col","embed","hr","img","input","link","meta","source","track","wbr"],e.SVG_TAGS=z,e.StyleBuilder=ye,e.accentColor=ke,e.alignContent=Lt,e.alignItems=Ct,e.alignSelf=At,e.animation=Hr,e.animationDelay=Xr,e.animationDirection=Qr,e.animationDuration=Ur,e.animationFillMode=Zr,e.animationIterationCount=Yr,e.animationName=qr,e.animationPlayState=Kr,e.animationTimingFunction=Jr,e.appearance=xn,e.appendChildren=function(e,...t){return e?(t.forEach(t=>{if(null!=t){let r;if("string"==typeof t){const e=function(e){if(!c)return null;try{return document.createTextNode(String(e))}catch(e){return s("Failed to create text node",e),null}}(t);if(!e)return;r=e}else r=t;!function(e,t){if(!e||!t)return!1;try{return e.appendChild(t),!0}catch(e){return s("Failed to append child node",e),!1}}(e,r)}}),e):e},e.applyAttributes=R,e.applyNodeModifier=N,e.backdropFilter=tn,e.backfaceVisibility=Vr,e.backgroundAttachment=Er,e.backgroundClip=Nr,e.backgroundColor=vr,e.backgroundImage=kr,e.backgroundOrigin=Ar,e.backgroundPosition=Tr,e.backgroundRepeat=Rr,e.backgroundSize=Br,e.bg=Ce,e.bold=Ie,e.border=Jt,e.borderBottom=Qt,e.borderBottomColor=mr,e.borderBottomLeftRadius=hr,e.borderBottomRightRadius=br,e.borderBottomStyle=lr,e.borderBottomWidth=or,e.borderCollapse=pn,e.borderColor=tr,e.borderLeft=Zt,e.borderLeftColor=pr,e.borderLeftStyle=cr,e.borderLeftWidth=ir,e.borderRadius=fr,e.borderRight=Yt,e.borderRightColor=ur,e.borderRightStyle=sr,e.borderRightWidth=nr,e.borderSpacing=fn,e.borderStyle=er,e.borderTop=Xt,e.borderTopColor=dr,e.borderTopLeftRadius=yr,e.borderTopRightRadius=gr,e.borderTopStyle=ar,e.borderTopWidth=rr,e.borderWidth=Kt,e.bottom=Pt,e.boxShadow=Lr,e.boxSizing=gt,e.breakAfter=Dn,e.breakBefore=jn,e.breakInside=Mn,e.captionSide=yn,e.center=kt,e.clip=Tn,e.clipPath=Bn,e.color=ve,e.columnCount=$n,e.columnFill=zn,e.columnGap=Gn,e.columnRule=Vn,e.columnRuleColor=Hn,e.columnRuleStyle=qn,e.columnRuleWidth=Un,e.columnSpan=Jn,e.columnWidth=Xn,e.columns=Yn,e.contain=Ln,e.content=bn,e.counterIncrement=wn,e.counterReset=Sn,e.createBreakpoints=ge,e.createCSSClass=he,e.createComment=m,e.createConditionalComment=p,e.createElementFactory=O,e.createElementWithModifiers=j,e.createTagBuilder=_,e.cursor=Qn,e.display=Se,e.emptyCells=gn,e.filter=en,e.flex=we,e.flexBasis=Nt,e.flexDirection=xt,e.flexGrow=Bt,e.flexShrink=Et,e.flexWrap=Tt,e.fontFamily=Be,e.fontSize=Re,e.fontStretch=je,e.fontStyle=We,e.fontVariant=Fe,e.fontWeight=Te,e.gap=Rt,e.grid=xe,e.gridArea=Vt,e.gridAutoColumns=Ht,e.gridAutoFlow=Ut,e.gridAutoRows=qt,e.gridColumn=Mt,e.gridColumnEnd=$t,e.gridColumnStart=_t,e.gridRow=Ot,e.gridRowEnd=Gt,e.gridRowStart=zt,e.gridTemplateAreas=Dt,e.gridTemplateColumns=Ft,e.gridTemplateRows=jt,e.height=ut,e.initializeRuntime=Kn,e.isBoolean=function(e){return"boolean"==typeof e},e.isBrowser=c,e.isFunction=i,e.isNode=r,e.isObject=n,e.isPrimitive=t,e.isTagLike=o,e.isZeroArityFunction=a,e.isolation=En,e.justifyContent=vt,e.justifyItems=Wt,e.justifySelf=It,e.left=St,e.letterSpacing=Ne,e.lineHeight=Ee,e.list=J,e.listStyle=cn,e.listStyleImage=mn,e.listStylePosition=un,e.listStyleType=dn,e.margin=it,e.marginBottom=lt,e.marginLeft=ct,e.marginRight=st,e.marginTop=at,e.maxHeight=yt,e.maxWidth=pt,e.minHeight=ft,e.minWidth=mt,e.mixBlendMode=Nn,e.objectFit=sn,e.objectPosition=ln,e.on=ae,e.opacity=Ir,e.orphans=On,e.outline=Pr,e.outlineColor=xr,e.outlineOffset=Cr,e.outlineStyle=wr,e.outlineWidth=Sr,e.overflow=rn,e.overflowWrap=Ve,e.overflowX=nn,e.overflowY=on,e.padding=et,e.paddingBottom=nt,e.paddingLeft=ot,e.paddingRight=rt,e.paddingTop=tt,e.pageBreakAfter=Wn,e.pageBreakBefore=In,e.pageBreakInside=Fn,e.perspective=zr,e.perspectiveOrigin=Gr,e.pointerEvents=vn,e.position=Ke,e.quotes=Pn,e.registerGlobalTagBuilders=G,e.render=se,e.replaceNodeSafely=b,e.resize=kn,e.right=bt,e.scrollBehavior=Rn,e.tableLayout=hn,e.textAlign=Ae,e.textAlignLast=He,e.textDecoration=Le,e.textDecorationColor=Je,e.textDecorationLine=Ue,e.textDecorationStyle=Xe,e.textDecorationThickness=Ye,e.textIndent=Me,e.textJustify=qe,e.textOverflow=Oe,e.textShadow=_e,e.textTransform=De,e.textUnderlineOffset=Qe,e.top=ht,e.transform=Or,e.transformOrigin=_r,e.transformStyle=$r,e.transition=Wr,e.transitionDelay=Mr,e.transitionDuration=jr,e.transitionProperty=Fr,e.transitionTimingFunction=Dr,e.update=ie,e.userSelect=Cn,e.verticalAlign=Ze,e.visibility=an,e.when=re,e.whiteSpace=$e,e.widows=_n,e.width=dt,e.willChange=An,e.wordSpacing=ze,e.wordWrap=Ge,e.zIndex=wt});
|
|
1
|
+
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).Nuclo={})}(this,function(e){"use strict";function t(e){return null===e||"object"!=typeof e&&"function"!=typeof e}function r(e){return e instanceof Node}function n(e){return"object"==typeof e&&null!==e}function o(e){return n(e)&&"tagName"in e}function i(e){return"function"==typeof e}function a(e){return i(e)&&0===e.length}function s(e,t){"undefined"!=typeof console&&console.error(`nuclo: ${e}`,t)}function l(e,t){try{return e()}catch(e){return s("Operation failed",e),t}}const c="undefined"!=typeof window&&"undefined"!=typeof document;function d(e){if(!e?.parentNode)return!1;try{return e.parentNode.removeChild(e),!0}catch(e){return s("Failed to remove child node",e),!1}}function u(e){if(!c)return null;try{return document.createComment(e)}catch(e){return s("Failed to create comment node",e),null}}function m(e){return u(e)}function p(e,t="hidden"){try{return document.createComment(`conditional-${e}-${t}`)}catch(e){return s("Failed to create conditional comment",e),null}}function f(e){if(!c)throw new Error("Cannot create comment in non-browser environment");const t=u(`${e}-${Math.random().toString(36).slice(2)}`);if(!t)throw new Error("Failed to create comment");return t}function y(e){const t=u(`${e}-end`);if(!t)throw new Error("Failed to create end comment");return{start:f(`${e}-start`),end:t}}function g(e,t){const r=t.parentNode;r&&e.forEach(e=>function(e,t,r){if(!e||!t)return!1;try{return e.insertBefore(t,r),!0}catch(e){return s("Failed to insert node before reference",e),!1}}(r,e,t))}function h(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 s("Error replacing conditional node",e),!1}}const P=new Map;const S=new Map;function w(e,t){t.attributeResolvers.forEach(({resolver:e,applyValue:t},r)=>{try{t(l(e))}catch(e){s(`Failed to update reactive attribute: ${r}`,e)}})}function x(e,t,r,n){if(!(e instanceof Element&&t&&"function"==typeof r))return void s("Invalid parameters for registerAttributeResolver");const o=function(e){let t=S.get(e);return t||(t={attributeResolvers:new Map},S.set(e,t)),t}(e);o.attributeResolvers.set(t,{resolver:r,applyValue:n});try{n(l(r))}catch(e){s("Failed to apply initial attribute value",e)}if(!o.updateListener){const t=()=>w(0,o);e.addEventListener("update",t),o.updateListener=t}}function C(e,t,r){try{if(null==r||""===r)return e.style[t]="",!0;const n=String(r);return e.style[t]=n,!0}catch{return!1}}function v(e,t){if(e?.style&&t)for(const[r,n]of Object.entries(t)){C(e,r,n)||s(`Failed to set style property '${r}'`)}}const k="__nuclo_reactive_className__",R="__nuclo_static_className__";function T(e,t){const r=function(e){return e[R]}(e);if(r&&r.size>0&&t){const n=new Set(r);t.split(" ").filter(e=>e).forEach(e=>n.add(e)),e.className=Array.from(n).join(" ")}else t?e.className=t:r&&r.size>0?e.className=Array.from(r).join(" "):e.className=""}function B(e,t,r,n=!1){if(null==r)return;if("style"===t)return a=r,void((o=e)&&(i(a)?x(o,"style",()=>{try{return a()}catch(e){return s("Error in style resolver function",e),null}},e=>{v(o,e)}):v(o,a)));var o,a;const l=(r,n=!1)=>{if(null==r)return;if("className"===t&&e instanceof HTMLElement&&n)return void function(e,t){if(!t)return;const r=e.className;if(r&&r!==t){const n=new Set(r.split(" ").filter(e=>e));t.split(" ").filter(e=>e).forEach(e=>n.add(e)),e.className=Array.from(n).join(" ")}else e.className=t}(e,String(r));if(e instanceof Element&&"http://www.w3.org/2000/svg"===e.namespaceURI)e.setAttribute(String(t),String(r));else if(t in e)try{e[t]=r}catch{e instanceof Element&&e.setAttribute(String(t),String(r))}else e instanceof Element&&e.setAttribute(String(t),String(r))};if(i(r)&&0===r.length){const n=r;"className"===t&&e instanceof HTMLElement?(!function(e){e[R]||(e[R]=new Set(e.className.split(" ").filter(e=>e))),e[k]=!0}(e),x(e,String(t),n,t=>{T(e,String(t||""))})):x(e,String(t),n,e=>{l(e,!1)})}else{if("className"===t&&e instanceof HTMLElement&&function(e){return!!e[k]}(e)){const t=String(r||"");if(t){!function(e,t){t&&(e[R]||(e[R]=new Set),t.split(" ").filter(e=>e).forEach(t=>{e[R].add(t)}))}(e,t);const r=new Set(e.className.split(" ").filter(e=>e));t.split(" ").filter(e=>e).forEach(e=>r.add(e)),e.className=Array.from(r).join(" ")}return}l(r,n)}}function E(e,t,r=!0){if(t)for(const n of Object.keys(t)){B(e,n,t[n],r&&"className"===n)}}const A=new WeakMap;function N(e){const{value:t,error:r}=function(e){const t=A.get(e);if(t)return t;try{const t={value:e(),error:!1};return A.set(e,t),t}catch{const t={value:void 0,error:!0};return A.set(e,t),t}}(e);return!r&&"boolean"==typeof t}function L(e,t,o){if(!i(e)||0!==e.length)return!1;if(!N(e))return!1;const a=t.filter((e,t)=>t!==o);if(0===a.length)return!1;return a.some(e=>!(!n(e)&&!r(e))||!!(i(e)&&e.length>0))}function I(e,o,l){if(null==o)return null;if(i(o)){if(a(o))try{let i=A.get(o);if(!i){i={value:o(),error:!1},A.set(o,i)}if(i.error)return W(l,()=>"");const a=i.value;if(n(a)&&!r(a)&&"className"in a&&"string"==typeof a.className&&1===Object.keys(a).length){const t=o;return E(e,{className:()=>t().className}),null}return t(a)&&null!=a?W(l,o,a):null}catch(e){return A.set(o,{value:void 0,error:!0}),s("Error evaluating reactive text function:",e),W(l,()=>"")}const i=o(e,l);return null==i?null:t(i)?F(l,i):r(i)?i:(n(i)&&E(e,i),null)}const c=o;return null==c?null:t(c)?F(l,c):r(c)?c:(n(c)&&E(e,c),null)}function W(e,t,r){const n=document.createDocumentFragment(),o=m(` text-${e} `);o&&n.appendChild(o);const i=function(e,t){if("function"!=typeof e)return s("Invalid resolver provided to createReactiveTextNode"),document.createTextNode("");const r=arguments.length>1?t:l(e,""),n=void 0===r?"":String(r),o=document.createTextNode(n);return P.set(o,{resolver:e,lastValue:n}),o}(t,r);return n.appendChild(i),n}function F(e,t){const r=document.createDocumentFragment(),n=m(` text-${e} `);n&&r.appendChild(n);const o=document.createTextNode(String(t));return r.appendChild(o),r}const j=new Set;function D(e,t){e._conditionalInfo=t,j.add(e)}function M(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;r<t.length;r+=1){const a=t[r];if(null==a)continue;const s=I(e,a,n);s&&(s.parentNode!==i&&i.appendChild(s),n+=1,o+=1)}return{element:e,nextIndex:n,appended:o}}function O(e,t){const r=document.createElement(e);return M(r,t,0),r}function $(e){const t=function(e){for(let t=0;t<e.length;t+=1)if(L(e[t],e,t))return t;return-1}(e);return-1===t?{condition:null,otherModifiers:e}:{condition:e[t],otherModifiers:e.filter((e,r)=>r!==t)}}function z(e){return function(e){return H.includes(e)}(e)?document.createElementNS("http://www.w3.org/2000/svg",e):document.createElement(e)}function _(e,...t){return(r,n)=>{const{condition:o,otherModifiers:i}=$(t);if(o)return function(e,t,r){const n=t();if(!c)return n?O(e,r):p(e,"ssr");const o={condition:t,tagName:e,modifiers:r};if(n){const t=O(e,r);return D(t,o),t}const i=p(e);if(!i)throw new Error(`Failed to create conditional comment for ${e}`);return D(i,o),i}(e,o,i);const a=z(e);return M(a,i,n),a}}function G(e){return(...t)=>_(e,...t)}const V=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","label","legend","li","link","main","map","mark","menu","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","script","search","section","select","slot","small","source","span","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr"],H=["a","animate","animateMotion","animateTransform","circle","clipPath","defs","desc","ellipse","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","filter","foreignObject","g","image","line","linearGradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialGradient","rect","script","set","stop","style","svg","switch","symbol","text","textPath","title","tspan","use","view"];function q(e=globalThis){const t="__nuclo_tags_registered";e[t]||(H.forEach(t=>function(e,t){let r=t;["a","script","style","title","text"].includes(t)?r=`${t}_svg`:["stop"].includes(t)&&(r=`${t}_`),r in e||(e[r]=G(t))}(e,t)),V.forEach(t=>function(e,t){t in e&&"function"!=typeof e[t]||(e[t]=G(t))}(e,t)),e[t]=!0)}const U=new Set;function J(e,t,r){return function(e,t,r){if(i(e)){const n=e(t,r);return n&&o(n)?n:null}return e&&o(e)?e:null}(e.renderItem(t,r),e.host,r)}function X(e){d(e.element)}function Y(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;r<e.length;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 a=new Map,s=new Map;e.records.forEach(e=>{const t=s.get(e.item);t?t.push(e):s.set(e.item,[e])}),i.forEach((t,r)=>{if(r<e.lastSyncedItems.length&&e.lastSyncedItems[r]===t){const n=e.records[r];if(n&&n.item===t){a.set(r,n);const e=s.get(t);if(e){const r=e.indexOf(n);r>=0&&(e.splice(r,1),0===e.length&&s.delete(t))}}}});const l=[],c=new Set(e.records);let d=n;for(let t=i.length-1;t>=0;t--){const r=i[t];let n=a.get(t);if(!n){const e=s.get(r);e&&e.length>0&&(n=e.shift(),0===e.length&&s.delete(r))}if(n)c.delete(n);else{const o=J(e,r,t);if(!o)continue;n={item:r,element:o}}l.unshift(n);const u=n.element;u.nextSibling!==d&&o.insertBefore(u,d),d=u}c.forEach(X),e.records=l,e.lastSyncedItems=[...i]}function Q(e,t){return(r,n)=>{const o=function(e,t,r){const{start:n,end:o}=y("list"),i={itemsProvider:e,renderItem:t,startMarker:n,endMarker:o,records:[],host:r,lastSyncedItems:[]},a=r;return a.appendChild(n),a.appendChild(o),U.add(i),Y(i),i}(e,t,r);return o.startMarker}}function Z(e,t){try{return e()}catch(e){if(t)return t(e),!1;throw e}}function K(e,t){return"function"==typeof e?Z(e,t):Boolean(e)}function ee(e,t,r,n){return i(e)?a(e)?(A.delete(e),I(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=I(t,e,r);return n&&!n.parentNode?n:null}):I(t,e,r)}const te=new Set;function re(e){const{groups:t,elseContent:r,host:n,index:o,endMarker:i}=e,a=function(e,t){for(let t=0;t<e.length;t++)if(K(e[t].condition))return t;return t.length>0?-1:null}(t,r);if(a===e.activeIndex)return;if(function(e,t){let r=e.nextSibling;for(;r&&r!==t;){const e=r.nextSibling;d(r),r=e}}(e.startMarker,e.endMarker),e.activeIndex=a,null===a)return;const s=function(e,t,r,n){const o=[];for(const i of e){const e=ee(i,t,r,n);e&&o.push(e)}return o}(a>=0?t[a].content:r,n,o,i);g(s,i)}class ne{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 m("when-ssr")||null}const{start:r,end:n}=y("when"),o={startMarker:r,endMarker:n,host:e,index:t,groups:[...this.groups],elseContent:[...this.elseContent],activeIndex:null,update:()=>re(o)};!function(e){te.add(e)}(o);const i=e;return i.appendChild(r),i.appendChild(n),re(o),r}}function oe(e){return Object.assign((t,r)=>e.render(t,r),{when:(t,...r)=>(e.when(t,...r),oe(e)),else:(...t)=>(e.else(...t),oe(e))})}function ie(e,...t){return oe(new ne(e,...t))}function ae(e){const t=function(e){return e._conditionalInfo??null}(e);if(!t)return;const r=Z(t.condition,e=>{s("Error evaluating conditional condition",e)}),n=e.nodeType===Node.ELEMENT_NODE;if(r&&!n){const r=function(e){try{return O(e.tagName,e.modifiers)}catch(t){return s(`Error applying modifiers in conditional element "${e.tagName}"`,t),document.createElement(e.tagName)}}(t);D(r,t),b(e,r)}else if(!r&&n){const r=p(t.tagName);r&&(D(r,t),b(e,r))}}const se=[function(){U.forEach(e=>{e.startMarker.isConnected&&e.endMarker.isConnected?Y(e):U.delete(e)})},function(){te.forEach(e=>{try{e.update()}catch(t){te.delete(e)}})},function(){if(c)try{j.forEach(e=>{e.isConnected?ae(e):function(e){j.delete(e)}(e)})}catch(e){s("Error during conditional elements update",e)}},function(){S.forEach((e,t)=>{if(!h(t))return e.updateListener&&t.removeEventListener("update",e.updateListener),void S.delete(t);w(0,e)})},function(){P.forEach((e,t)=>{if(h(t))try{const r=l(e.resolver),n=void 0===r?"":String(r);n!==e.lastValue&&(t.textContent=n,e.lastValue=n)}catch(e){s("Failed to update reactive text node",e)}else P.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){s("Error dispatching global update event",e)}}];function le(){for(const e of se)e()}function ce(e,t,r){return n=>{if(!n||"function"!=typeof n.addEventListener)return;const o=n;o.addEventListener(e,r=>{try{t.call(o,r)}catch(t){s(`Error in '${e}' listener`,t)}},r)}}function de(e,t,r=0){const n=e(t||document.body,r);return(t||document.body).appendChild(n),n}const ue=[{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"}],me=["bold","center","flex"],pe=new Map;function fe(e){let t=0;for(let r=0;r<e.length;r++){t=(t<<5)-t+e.charCodeAt(r),t&=t}return Math.abs(t).toString(16).padStart(8,"0").substring(0,8)}function ye(e){return Object.entries(e).sort(([e],[t])=>e.localeCompare(t)).map(([e,t])=>`${e}:${t}`).join("|")}function ge(e,t,r){let n=document.querySelector("#nuclo-styles");n||(n=document.createElement("style"),n.id="nuclo-styles",document.head.appendChild(n));const o=Object.entries(t).map(([e,t])=>`${e}: ${t}`).join("; ");if(r){const i=Array.from(n.sheet?.cssRules||[]);let a=null;for(const e of i)if(e instanceof CSSMediaRule&&e.media.mediaText===r){a=e;break}if(!a){let e=i.length;for(let t=i.length-1;t>=0;t--){if(i[t]instanceof CSSMediaRule){e=t+1;break}if(i[t]instanceof CSSStyleRule){e=t+1;break}}n.sheet?.insertRule(`@media ${r} {}`,e),a=n.sheet?.cssRules[e]}let s=null;for(const t of Array.from(a.cssRules))if(t instanceof CSSStyleRule&&t.selectorText===`.${e}`){s=t;break}if(s){for(;s.style.length>0;)s.style.removeProperty(s.style[0]);Object.entries(t).forEach(([e,t])=>{s.style.setProperty(e,t)})}else a.insertRule(`.${e} { ${o} }`,a.cssRules.length)}else{let r=null,i=0;const a=Array.from(n.sheet?.cssRules||[]);for(let t=0;t<a.length;t++){const n=a[t];if(n instanceof CSSStyleRule&&n.selectorText===`.${e}`){r=n,i=t;break}n instanceof CSSMediaRule||(i=t+1)}if(r){for(;r.style.length>0;)r.style.removeProperty(r.style[0]);Object.entries(t).forEach(([e,t])=>{r.style.setProperty(e,t)})}else n.sheet?.insertRule(`.${e} { ${o} }`,i)}}function he(e,t){ge(e,t)}function be(e,t="",r){const n=ye(e),o=t?`${t}:${n}`:n,i=function(e){return pe.get(e)}(o);if(i){const t=i;return function(e,t){const r=document.querySelector("#nuclo-styles");if(!r||!r.sheet)return!1;if(t){const n=Array.from(r.sheet.cssRules||[]).find(e=>e instanceof CSSMediaRule&&e.media.mediaText===t);return!!n&&Array.from(n.cssRules).some(t=>t instanceof CSSStyleRule&&t.selectorText===`.${e}`)}return Array.from(r.sheet.cssRules||[]).some(t=>t instanceof CSSStyleRule&&t.selectorText===`.${e}`)}(t,r)||ge(t,e,r),t}const a=fe(n),s=t?`n${t}-${a}`:`n${a}`;return function(e,t){pe.set(e,t)}(o,s),ge(s,e,r),s}class Pe{styles={};getStyles(){return{...this.styles}}getClassName(e="",t){return be(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 Se(e){return e.isShorthand?()=>(new Pe).add(e.cssProperty,e.defaultValue||""):t=>(new Pe).add(e.cssProperty,t||"")}!function(){const e=Pe.prototype;for(const t of ue)t.name in e||(t.isShorthand?e[t.name]=function(){return this.add(t.cssProperty,t.defaultValue||""),this}:e[t.name]=function(e){return this.add(t.cssProperty,e),this})}();const we={};for(const e of ue)we[e.name]=Se(e);for(const e of me)"bold"===e||"center"===e?we[e]=()=>(new Pe)[e]():"flex"===e&&(we[e]=e=>(new Pe).flex(e));const{display:xe,flex:Ce,grid:ve,bg:ke,color:Re,accentColor:Te,fontSize:Be,fontWeight:Ee,fontFamily:Ae,lineHeight:Ne,letterSpacing:Le,textAlign:Ie,textDecoration:We,bold:Fe,fontStyle:je,fontVariant:De,fontStretch:Me,textTransform:Oe,textIndent:$e,textOverflow:ze,textShadow:_e,whiteSpace:Ge,wordSpacing:Ve,wordWrap:He,overflowWrap:qe,textAlignLast:Ue,textJustify:Je,textDecorationLine:Xe,textDecorationColor:Ye,textDecorationStyle:Qe,textDecorationThickness:Ze,textUnderlineOffset:Ke,verticalAlign:et,position:tt,padding:rt,paddingTop:nt,paddingRight:ot,paddingBottom:it,paddingLeft:at,margin:st,marginTop:lt,marginRight:ct,marginBottom:dt,marginLeft:ut,width:mt,height:pt,minWidth:ft,maxWidth:yt,minHeight:gt,maxHeight:ht,boxSizing:bt,top:Pt,right:St,bottom:wt,left:xt,zIndex:Ct,flexDirection:vt,alignItems:kt,justifyContent:Rt,center:Tt,gap:Bt,flexWrap:Et,flexGrow:At,flexShrink:Nt,flexBasis:Lt,alignSelf:It,alignContent:Wt,justifySelf:Ft,justifyItems:jt,gridTemplateColumns:Dt,gridTemplateRows:Mt,gridTemplateAreas:Ot,gridColumn:$t,gridRow:zt,gridColumnStart:_t,gridColumnEnd:Gt,gridRowStart:Vt,gridRowEnd:Ht,gridArea:qt,gridAutoColumns:Ut,gridAutoRows:Jt,gridAutoFlow:Xt,border:Yt,borderTop:Qt,borderRight:Zt,borderBottom:Kt,borderLeft:er,borderWidth:tr,borderStyle:rr,borderColor:nr,borderTopWidth:or,borderRightWidth:ir,borderBottomWidth:ar,borderLeftWidth:sr,borderTopStyle:lr,borderRightStyle:cr,borderBottomStyle:dr,borderLeftStyle:ur,borderTopColor:mr,borderRightColor:pr,borderBottomColor:fr,borderLeftColor:yr,borderRadius:gr,borderTopLeftRadius:hr,borderTopRightRadius:br,borderBottomLeftRadius:Pr,borderBottomRightRadius:Sr,outline:wr,outlineWidth:xr,outlineStyle:Cr,outlineColor:vr,outlineOffset:kr,backgroundColor:Rr,backgroundImage:Tr,backgroundRepeat:Br,backgroundPosition:Er,backgroundSize:Ar,backgroundAttachment:Nr,backgroundClip:Lr,backgroundOrigin:Ir,boxShadow:Wr,opacity:Fr,transition:jr,transitionProperty:Dr,transitionDuration:Mr,transitionTimingFunction:Or,transitionDelay:$r,transform:zr,transformOrigin:_r,transformStyle:Gr,perspective:Vr,perspectiveOrigin:Hr,backfaceVisibility:qr,animation:Ur,animationName:Jr,animationDuration:Xr,animationTimingFunction:Yr,animationDelay:Qr,animationIterationCount:Zr,animationDirection:Kr,animationFillMode:en,animationPlayState:tn,filter:rn,backdropFilter:nn,overflow:on,overflowX:an,overflowY:sn,visibility:ln,objectFit:cn,objectPosition:dn,listStyle:un,listStyleType:mn,listStylePosition:pn,listStyleImage:fn,borderCollapse:yn,borderSpacing:gn,captionSide:hn,emptyCells:bn,tableLayout:Pn,content:Sn,quotes:wn,counterReset:xn,counterIncrement:Cn,appearance:vn,userSelect:kn,pointerEvents:Rn,resize:Tn,scrollBehavior:Bn,clip:En,clipPath:An,isolation:Nn,mixBlendMode:Ln,willChange:In,contain:Wn,pageBreakBefore:Fn,pageBreakAfter:jn,pageBreakInside:Dn,breakBefore:Mn,breakAfter:On,breakInside:$n,orphans:zn,widows:_n,columnCount:Gn,columnFill:Vn,columnGap:Hn,columnRule:qn,columnRuleColor:Un,columnRuleStyle:Jn,columnRuleWidth:Xn,columnSpan:Yn,columnWidth:Qn,columns:Zn,cursor:Kn}=we;function eo(e){const t=Array.isArray(e)?e:Object.entries(e);return function(e,r){let n,o;if(void 0!==r?(n=e,o=r):e instanceof Pe?(n=e,o=void 0):(n=void 0,o=e),!(n||o&&0!==Object.keys(o).length))return"";if(o&&Object.keys(o).length>0){const e=[];for(const[r,n]of t){const t=o[r];t&&e.push({breakpointName:r,mediaQuery:n,styles:t.getStyles()})}const r=[];if(n){const e=n.getStyles();r.push(`default:${ye(e)}`)}r.push(...e.map(({breakpointName:e,styles:t})=>`${e}:${ye(t)}`));const i=`n${fe(r.sort().join("||"))}`;let a={};n&&(a={...n.getStyles()},ge(i,a));for(const{breakpointName:t,mediaQuery:r,styles:n}of e)a={...a,...n},ge(i,a,r);return{className:i}}if(n){return{className:n.getClassName()}}return""}}var to=Object.freeze({__proto__:null,StyleBuilder:Pe,accentColor:Te,alignContent:Wt,alignItems:kt,alignSelf:It,animation:Ur,animationDelay:Qr,animationDirection:Kr,animationDuration:Xr,animationFillMode:en,animationIterationCount:Zr,animationName:Jr,animationPlayState:tn,animationTimingFunction:Yr,appearance:vn,backdropFilter:nn,backfaceVisibility:qr,backgroundAttachment:Nr,backgroundClip:Lr,backgroundColor:Rr,backgroundImage:Tr,backgroundOrigin:Ir,backgroundPosition:Er,backgroundRepeat:Br,backgroundSize:Ar,bg:ke,bold:Fe,border:Yt,borderBottom:Kt,borderBottomColor:fr,borderBottomLeftRadius:Pr,borderBottomRightRadius:Sr,borderBottomStyle:dr,borderBottomWidth:ar,borderCollapse:yn,borderColor:nr,borderLeft:er,borderLeftColor:yr,borderLeftStyle:ur,borderLeftWidth:sr,borderRadius:gr,borderRight:Zt,borderRightColor:pr,borderRightStyle:cr,borderRightWidth:ir,borderSpacing:gn,borderStyle:rr,borderTop:Qt,borderTopColor:mr,borderTopLeftRadius:hr,borderTopRightRadius:br,borderTopStyle:lr,borderTopWidth:or,borderWidth:tr,bottom:wt,boxShadow:Wr,boxSizing:bt,breakAfter:On,breakBefore:Mn,breakInside:$n,captionSide:hn,center:Tt,clip:En,clipPath:An,color:Re,columnCount:Gn,columnFill:Vn,columnGap:Hn,columnRule:qn,columnRuleColor:Un,columnRuleStyle:Jn,columnRuleWidth:Xn,columnSpan:Yn,columnWidth:Qn,columns:Zn,contain:Wn,content:Sn,counterIncrement:Cn,counterReset:xn,createBreakpoints:eo,createCSSClass:he,cursor:Kn,display:xe,emptyCells:bn,filter:rn,flex:Ce,flexBasis:Lt,flexDirection:vt,flexGrow:At,flexShrink:Nt,flexWrap:Et,fontFamily:Ae,fontSize:Be,fontStretch:Me,fontStyle:je,fontVariant:De,fontWeight:Ee,gap:Bt,grid:ve,gridArea:qt,gridAutoColumns:Ut,gridAutoFlow:Xt,gridAutoRows:Jt,gridColumn:$t,gridColumnEnd:Gt,gridColumnStart:_t,gridRow:zt,gridRowEnd:Ht,gridRowStart:Vt,gridTemplateAreas:Ot,gridTemplateColumns:Dt,gridTemplateRows:Mt,height:pt,isolation:Nn,justifyContent:Rt,justifyItems:jt,justifySelf:Ft,left:xt,letterSpacing:Le,lineHeight:Ne,listStyle:un,listStyleImage:fn,listStylePosition:pn,listStyleType:mn,margin:st,marginBottom:dt,marginLeft:ut,marginRight:ct,marginTop:lt,maxHeight:ht,maxWidth:yt,minHeight:gt,minWidth:ft,mixBlendMode:Ln,objectFit:cn,objectPosition:dn,opacity:Fr,orphans:zn,outline:wr,outlineColor:vr,outlineOffset:kr,outlineStyle:Cr,outlineWidth:xr,overflow:on,overflowWrap:qe,overflowX:an,overflowY:sn,padding:rt,paddingBottom:it,paddingLeft:at,paddingRight:ot,paddingTop:nt,pageBreakAfter:jn,pageBreakBefore:Fn,pageBreakInside:Dn,perspective:Vr,perspectiveOrigin:Hr,pointerEvents:Rn,position:tt,quotes:wn,resize:Tn,right:St,scrollBehavior:Bn,tableLayout:Pn,textAlign:Ie,textAlignLast:Ue,textDecoration:We,textDecorationColor:Ye,textDecorationLine:Xe,textDecorationStyle:Qe,textDecorationThickness:Ze,textIndent:$e,textJustify:Je,textOverflow:ze,textShadow:_e,textTransform:Oe,textUnderlineOffset:Ke,top:Pt,transform:zr,transformOrigin:_r,transformStyle:Gr,transition:jr,transitionDelay:$r,transitionDuration:Mr,transitionProperty:Dr,transitionTimingFunction:Or,userSelect:kn,verticalAlign:et,visibility:ln,whiteSpace:Ge,widows:_n,width:mt,willChange:In,wordSpacing:Ve,wordWrap:He,zIndex:Ct});function ro(){if(q(),"undefined"!=typeof globalThis){const e=globalThis;e.list=Q,e.update=le,e.when=ie,e.on=ce,e.render=de;for(const[t,r]of Object.entries(to))try{e[t]=r}catch(e){}}}"undefined"!=typeof globalThis&&ro(),e.HTML_TAGS=V,e.SELF_CLOSING_TAGS=["area","base","br","col","embed","hr","img","input","link","meta","source","track","wbr"],e.SVG_TAGS=H,e.StyleBuilder=Pe,e.accentColor=Te,e.alignContent=Wt,e.alignItems=kt,e.alignSelf=It,e.animation=Ur,e.animationDelay=Qr,e.animationDirection=Kr,e.animationDuration=Xr,e.animationFillMode=en,e.animationIterationCount=Zr,e.animationName=Jr,e.animationPlayState=tn,e.animationTimingFunction=Yr,e.appearance=vn,e.appendChildren=function(e,...t){return e?(t.forEach(t=>{if(null!=t){let r;if("string"==typeof t){const e=function(e){if(!c)return null;try{return document.createTextNode(String(e))}catch(e){return s("Failed to create text node",e),null}}(t);if(!e)return;r=e}else r=t;!function(e,t){if(!e||!t)return!1;try{return e.appendChild(t),!0}catch(e){return s("Failed to append child node",e),!1}}(e,r)}}),e):e},e.applyAttributes=E,e.applyNodeModifier=I,e.backdropFilter=nn,e.backfaceVisibility=qr,e.backgroundAttachment=Nr,e.backgroundClip=Lr,e.backgroundColor=Rr,e.backgroundImage=Tr,e.backgroundOrigin=Ir,e.backgroundPosition=Er,e.backgroundRepeat=Br,e.backgroundSize=Ar,e.bg=ke,e.bold=Fe,e.border=Yt,e.borderBottom=Kt,e.borderBottomColor=fr,e.borderBottomLeftRadius=Pr,e.borderBottomRightRadius=Sr,e.borderBottomStyle=dr,e.borderBottomWidth=ar,e.borderCollapse=yn,e.borderColor=nr,e.borderLeft=er,e.borderLeftColor=yr,e.borderLeftStyle=ur,e.borderLeftWidth=sr,e.borderRadius=gr,e.borderRight=Zt,e.borderRightColor=pr,e.borderRightStyle=cr,e.borderRightWidth=ir,e.borderSpacing=gn,e.borderStyle=rr,e.borderTop=Qt,e.borderTopColor=mr,e.borderTopLeftRadius=hr,e.borderTopRightRadius=br,e.borderTopStyle=lr,e.borderTopWidth=or,e.borderWidth=tr,e.bottom=wt,e.boxShadow=Wr,e.boxSizing=bt,e.breakAfter=On,e.breakBefore=Mn,e.breakInside=$n,e.captionSide=hn,e.center=Tt,e.clip=En,e.clipPath=An,e.color=Re,e.columnCount=Gn,e.columnFill=Vn,e.columnGap=Hn,e.columnRule=qn,e.columnRuleColor=Un,e.columnRuleStyle=Jn,e.columnRuleWidth=Xn,e.columnSpan=Yn,e.columnWidth=Qn,e.columns=Zn,e.contain=Wn,e.content=Sn,e.counterIncrement=Cn,e.counterReset=xn,e.createBreakpoints=eo,e.createCSSClass=he,e.createComment=m,e.createConditionalComment=p,e.createElementFactory=_,e.createElementWithModifiers=O,e.createTagBuilder=G,e.cursor=Kn,e.display=xe,e.emptyCells=bn,e.filter=rn,e.flex=Ce,e.flexBasis=Lt,e.flexDirection=vt,e.flexGrow=At,e.flexShrink=Nt,e.flexWrap=Et,e.fontFamily=Ae,e.fontSize=Be,e.fontStretch=Me,e.fontStyle=je,e.fontVariant=De,e.fontWeight=Ee,e.gap=Bt,e.grid=ve,e.gridArea=qt,e.gridAutoColumns=Ut,e.gridAutoFlow=Xt,e.gridAutoRows=Jt,e.gridColumn=$t,e.gridColumnEnd=Gt,e.gridColumnStart=_t,e.gridRow=zt,e.gridRowEnd=Ht,e.gridRowStart=Vt,e.gridTemplateAreas=Ot,e.gridTemplateColumns=Dt,e.gridTemplateRows=Mt,e.height=pt,e.initializeRuntime=ro,e.isBoolean=function(e){return"boolean"==typeof e},e.isBrowser=c,e.isFunction=i,e.isNode=r,e.isObject=n,e.isPrimitive=t,e.isTagLike=o,e.isZeroArityFunction=a,e.isolation=Nn,e.justifyContent=Rt,e.justifyItems=jt,e.justifySelf=Ft,e.left=xt,e.letterSpacing=Le,e.lineHeight=Ne,e.list=Q,e.listStyle=un,e.listStyleImage=fn,e.listStylePosition=pn,e.listStyleType=mn,e.margin=st,e.marginBottom=dt,e.marginLeft=ut,e.marginRight=ct,e.marginTop=lt,e.maxHeight=ht,e.maxWidth=yt,e.minHeight=gt,e.minWidth=ft,e.mixBlendMode=Ln,e.objectFit=cn,e.objectPosition=dn,e.on=ce,e.opacity=Fr,e.orphans=zn,e.outline=wr,e.outlineColor=vr,e.outlineOffset=kr,e.outlineStyle=Cr,e.outlineWidth=xr,e.overflow=on,e.overflowWrap=qe,e.overflowX=an,e.overflowY=sn,e.padding=rt,e.paddingBottom=it,e.paddingLeft=at,e.paddingRight=ot,e.paddingTop=nt,e.pageBreakAfter=jn,e.pageBreakBefore=Fn,e.pageBreakInside=Dn,e.perspective=Vr,e.perspectiveOrigin=Hr,e.pointerEvents=Rn,e.position=tt,e.quotes=wn,e.registerGlobalTagBuilders=q,e.render=de,e.replaceNodeSafely=b,e.resize=Tn,e.right=St,e.scrollBehavior=Bn,e.tableLayout=Pn,e.textAlign=Ie,e.textAlignLast=Ue,e.textDecoration=We,e.textDecorationColor=Ye,e.textDecorationLine=Xe,e.textDecorationStyle=Qe,e.textDecorationThickness=Ze,e.textIndent=$e,e.textJustify=Je,e.textOverflow=ze,e.textShadow=_e,e.textTransform=Oe,e.textUnderlineOffset=Ke,e.top=Pt,e.transform=zr,e.transformOrigin=_r,e.transformStyle=Gr,e.transition=jr,e.transitionDelay=$r,e.transitionDuration=Mr,e.transitionProperty=Dr,e.transitionTimingFunction=Or,e.update=le,e.userSelect=kn,e.verticalAlign=et,e.visibility=ln,e.when=ie,e.whiteSpace=Ge,e.widows=_n,e.width=mt,e.willChange=In,e.wordSpacing=Ve,e.wordWrap=He,e.zIndex=Ct});
|
|
2
2
|
//# sourceMappingURL=nuclo.umd.js.map
|