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ZGl1bTtcbn1cblxuLmJ1dHRvbiB7XG4gIGZvbnQtc2l6ZTogYmFzZVVuaXQoMS43NSk7XG4gIGxpbmUtaGVpZ2h0OiBiYXNlVW5pdCgyKTtcbiAgZm9udC13ZWlnaHQ6ICRmb250LXdlaWdodC1tZWRpdW07XG59XG4iLCJAaW1wb3J0ICcuLi8uLi8uLi9zdHlsZXNoZWV0cy9iYXNlL3R5cG9ncmFwaHknO1xuQGltcG9ydCAnLi4vLi4vLi4vc3R5bGVzaGVldHMvYmFzZS9jb2xvcnMnO1xuXG46aG9zdCB7XG4gIGNvbG9yOiB2YXIoLS1jb2xvciwgI3skcHJpbWFyeS1jb2xvcn0pO1xuICBmb250LWZhbWlseTogJ05vdG8gU2FucycsIHNhbnMtc2VyaWY7XG4gIGZvbnQtb3B0aWNhbC1zaXppbmc6IGF1dG87XG4gIGZvbnQtc3R5bGU6IG5vcm1hbDtcbiAgZm9udC12YXJpYXRpb24tc2V0dGluZ3M6ICd3ZHRoJyAxMDA7XG4gICYgPiAqIHtcbiAgICBtYXJnaW46IDA7XG4gIH1cbn1cbiJdfQ== */`;var V,f,K,pt,x,E,$,dt,N={},q=[],ht=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function C(t,e){for(var n in e)t[n]=e[n];return t}function tt(t){var e=t.parentNode;e&&e.removeChild(t)}function v(t,e,n){var l,i,o,a={};for(o in e)o=="key"?l=e[o]:o=="ref"?i=e[o]:a[o]=e[o];if(arguments.length>2&&(a.children=arguments.length>3?V.call(arguments,2):n),typeof t=="function"&&t.defaultProps!=null)for(o in t.defaultProps)a[o]===void 0&&(a[o]=t.defaultProps[o]);return X(t,a,l,i,null)}function X(t,e,n,l,i){var o={type:t,props:e,key:n,ref:l,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:i??++K};return i==null&&f.vnode!=null&&f.vnode(o),o}function Q(t){return t.children}function L(t,e){this.props=t,this.context=e}function W(t,e){if(e==null)return t.__?W(t.__,t.__.__k.indexOf(t)+1):null;for(var n;e<t.__k.length;e++)if((n=t.__k[e])!=null&&n.__e!=null)return n.__e;return typeof t.type=="function"?W(t):null}function et(t){var e,n;if((t=t.__)!=null&&t.__c!=null){for(t.__e=t.__c.base=null,e=0;e<t.__k.length;e++)if((n=t.__k[e])!=null&&n.__e!=null){t.__e=t.__c.base=n.__e;break}return et(t)}}function S(t){(!t.__d&&(t.__d=!0)&&x.push(t)&&!O.__r++||E!==f.debounceRendering)&&((E=f.debounceRendering)||$)(O)}function O(){var t,e,n,l,i,o,a,s;for(x.sort(function(u,d){return u.__v.__b-d.__v.__b});t=x.shift();)t.__d&&(e=x.length,l=void 0,i=void 0,a=(o=(n=t).__v).__e,(s=n.__P)&&(l=[],(i=C({},o)).__v=o.__v+1,H(s,o,i,n.__n,s.ownerSVGElement!==void 0,o.__h!=null?[a]:null,l,a??W(o),o.__h),it(l,o),o.__e!=a&&et(o)),x.length>e&&x.sort(function(u,d){return u.__v.__b-d.__v.__b}));O.__r=0}function nt(t,e,n,l,i,o,a,s,u,d){var r,h,c,_,p,G,b,m=l&&l.__k||q,y=m.length;for(n.__k=[],r=0;r<e.length;r++)if((_=n.__k[r]=(_=e[r])==null||typeof _=="boolean"?null:typeof _=="string"||typeof _=="number"||typeof _=="bigint"?X(null,_,null,null,_):Array.isArray(_)?X(Q,{children:_},null,null,null):_.__b>0?X(_.type,_.props,_.key,_.ref?_.ref:null,_.__v):_)!=null){if(_.__=n,_.__b=n.__b+1,(c=m[r])===null||c&&_.key==c.key&&_.type===c.type)m[r]=void 0;else for(h=0;h<y;h++){if((c=m[h])&&_.key==c.key&&_.type===c.type){m[h]=void 0;break}c=null}H(t,_,c=c||N,i,o,a,s,u,d),p=_.__e,(h=_.ref)&&c.ref!=h&&(b||(b=[]),c.ref&&b.push(c.ref,null,_),b.push(h,_.__c||p,_)),p!=null?(G==null&&(G=p),typeof _.type=="function"&&_.__k===c.__k?_.__d=u=ot(_,u,t):u=rt(t,_,c,m,p,u),typeof n.type=="function"&&(n.__d=u)):u&&c.__e==u&&u.parentNode!=t&&(u=W(c))}for(n.__e=G,r=y;r--;)m[r]!=null&&(typeof n.type=="function"&&m[r].__e!=null&&m[r].__e==n.__d&&(n.__d=lt(l).nextSibling),_t(m[r],m[r]));if(b)for(r=0;r<b.length;r++)at(b[r],b[++r],b[++r])}function ot(t,e,n){for(var l,i=t.__k,o=0;i&&o<i.length;o++)(l=i[o])&&(l.__=t,e=typeof l.type=="function"?ot(l,e,n):rt(n,l,l,i,l.__e,e));return e}function rt(t,e,n,l,i,o){var a,s,u;if(e.__d!==void 0)a=e.__d,e.__d=void 0;else if(n==null||i!=o||i.parentNode==null)t:if(o==null||o.parentNode!==t)t.appendChild(i),a=null;else{for(s=o,u=0;(s=s.nextSibling)&&u<l.length;u+=1)if(s==i)break t;t.insertBefore(i,o),a=o}return a!==void 0?a:i.nextSibling}function lt(t){var e,n,l;if(t.type==null||typeof t.type=="string")return t.__e;if(t.__k){for(e=t.__k.length-1;e>=0;e--)if((n=t.__k[e])&&(l=lt(n)))return l}return null}function ft(t,e,n,l,i){var o;for(o in n)o==="children"||o==="key"||o in e||R(t,o,null,n[o],l);for(o in e)i&&typeof e[o]!="function"||o==="children"||o==="key"||o==="value"||o==="checked"||n[o]===e[o]||R(t,o,e[o],n[o],l)}function M(t,e,n){e[0]==="-"?t.setProperty(e,n??""):t[e]=n==null?"":typeof n!="number"||ht.test(e)?n:n+"px"}function R(t,e,n,l,i){var o;t:if(e==="style")if(typeof n=="string")t.style.cssText=n;else{if(typeof l=="string"&&(t.style.cssText=l=""),l)for(e in l)n&&e in n||M(t.style,e,"");if(n)for(e in n)l&&n[e]===l[e]||M(t.style,e,n[e])}else if(e[0]==="o"&&e[1]==="n")o=e!==(e=e.replace(/Capture$/,"")),e=e.toLowerCase()in t?e.toLowerCase().slice(2):e.slice(2),t.l||(t.l={}),t.l[e+o]=n,n?l||t.addEventListener(e,o?P:j,o):t.removeEventListener(e,o?P:j,o);else if(e!=="dangerouslySetInnerHTML"){if(i)e=e.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if(e!=="width"&&e!=="height"&&e!=="href"&&e!=="list"&&e!=="form"&&e!=="tabIndex"&&e!=="download"&&e in t)try{t[e]=n??"";break t}catch{}typeof n=="function"||(n==null||n===!1&&e.indexOf("-")==-1?t.removeAttribute(e):t.setAttribute(e,n))}}function j(t){return this.l[t.type+!1](f.event?f.event(t):t)}function P(t){return this.l[t.type+!0](f.event?f.event(t):t)}function H(t,e,n,l,i,o,a,s,u){var d,r,h,c,_,p,G,b,m,y,I,Z,z,B,U,g=e.type;if(e.constructor!==void 0)return null;n.__h!=null&&(u=n.__h,s=e.__e=n.__e,e.__h=null,o=[s]),(d=f.__b)&&d(e);try{t:if(typeof g=="function"){if(b=e.props,m=(d=g.contextType)&&l[d.__c],y=d?m?m.props.value:d.__:l,n.__c?G=(r=e.__c=n.__c).__=r.__E:("prototype"in g&&g.prototype.render?e.__c=r=new g(b,y):(e.__c=r=new L(b,y),r.constructor=g,r.render=mt),m&&m.sub(r),r.props=b,r.state||(r.state={}),r.context=y,r.__n=l,h=r.__d=!0,r.__h=[],r._sb=[]),r.__s==null&&(r.__s=r.state),g.getDerivedStateFromProps!=null&&(r.__s==r.state&&(r.__s=C({},r.__s)),C(r.__s,g.getDerivedStateFromProps(b,r.__s))),c=r.props,_=r.state,r.__v=e,h)g.getDerivedStateFromProps==null&&r.componentWillMount!=null&&r.componentWillMount(),r.componentDidMount!=null&&r.__h.push(r.componentDidMount);else{if(g.getDerivedStateFromProps==null&&b!==c&&r.componentWillReceiveProps!=null&&r.componentWillReceiveProps(b,y),!r.__e&&r.shouldComponentUpdate!=null&&r.shouldComponentUpdate(b,r.__s,y)===!1||e.__v===n.__v){for(e.__v!==n.__v&&(r.props=b,r.state=r.__s,r.__d=!1),r.__e=!1,e.__e=n.__e,e.__k=n.__k,e.__k.forEach(function(k){k&&(k.__=e)}),I=0;I<r._sb.length;I++)r.__h.push(r._sb[I]);r._sb=[],r.__h.length&&a.push(r);break t}r.componentWillUpdate!=null&&r.componentWillUpdate(b,r.__s,y),r.componentDidUpdate!=null&&r.__h.push(function(){r.componentDidUpdate(c,_,p)})}if(r.context=y,r.props=b,r.__P=t,Z=f.__r,z=0,"prototype"in g&&g.prototype.render){for(r.state=r.__s,r.__d=!1,Z&&Z(e),d=r.render(r.props,r.state,r.context),B=0;B<r._sb.length;B++)r.__h.push(r._sb[B]);r._sb=[]}else do r.__d=!1,Z&&Z(e),d=r.render(r.props,r.state,r.context),r.state=r.__s;while(r.__d&&++z<25);r.state=r.__s,r.getChildContext!=null&&(l=C(C({},l),r.getChildContext())),h||r.getSnapshotBeforeUpdate==null||(p=r.getSnapshotBeforeUpdate(c,_)),U=d!=null&&d.type===Q&&d.key==null?d.props.children:d,nt(t,Array.isArray(U)?U:[U],e,n,l,i,o,a,s,u),r.base=e.__e,e.__h=null,r.__h.length&&a.push(r),G&&(r.__E=r.__=null),r.__e=!1}else o==null&&e.__v===n.__v?(e.__k=n.__k,e.__e=n.__e):e.__e=bt(n.__e,e,n,l,i,o,a,u);(d=f.diffed)&&d(e)}catch(k){e.__v=null,(u||o!=null)&&(e.__e=s,e.__h=!!u,o[o.indexOf(s)]=null),f.__e(k,e,n)}}function it(t,e){f.__c&&f.__c(e,t),t.some(function(n){try{t=n.__h,n.__h=[],t.some(function(l){l.call(n)})}catch(l){f.__e(l,n.__v)}})}function bt(t,e,n,l,i,o,a,s){var u,d,r,h=n.props,c=e.props,_=e.type,p=0;if(_==="svg"&&(i=!0),o!=null){for(;p<o.length;p++)if((u=o[p])&&"setAttribute"in u==!!_&&(_?u.localName===_:u.nodeType===3)){t=u,o[p]=null;break}}if(t==null){if(_===null)return document.createTextNode(c);t=i?document.createElementNS("http://www.w3.org/2000/svg",_):document.createElement(_,c.is&&c),o=null,s=!1}if(_===null)h===c||s&&t.data===c||(t.data=c);else{if(o=o&&V.call(t.childNodes),d=(h=n.props||N).dangerouslySetInnerHTML,r=c.dangerouslySetInnerHTML,!s){if(o!=null)for(h={},p=0;p<t.attributes.length;p++)h[t.attributes[p].name]=t.attributes[p].value;(r||d)&&(r&&(d&&r.__html==d.__html||r.__html===t.innerHTML)||(t.innerHTML=r&&r.__html||""))}if(ft(t,c,h,i,s),r)e.__k=[];else if(p=e.props.children,nt(t,Array.isArray(p)?p:[p],e,n,l,i&&_!=="foreignObject",o,a,o?o[0]:n.__k&&W(n,0),s),o!=null)for(p=o.length;p--;)o[p]!=null&&tt(o[p]);s||("value"in c&&(p=c.value)!==void 0&&(p!==t.value||_==="progress"&&!p||_==="option"&&p!==h.value)&&R(t,"value",p,h.value,!1),"checked"in c&&(p=c.checked)!==void 0&&p!==t.checked&&R(t,"checked",p,h.checked,!1))}return t}function at(t,e,n){try{typeof t=="function"?t(e):t.current=e}catch(l){f.__e(l,n)}}function _t(t,e,n){var l,i;if(f.unmount&&f.unmount(t),(l=t.ref)&&(l.current&&l.current!==t.__e||at(l,null,e)),(l=t.__c)!=null){if(l.componentWillUnmount)try{l.componentWillUnmount()}catch(o){f.__e(o,e)}l.base=l.__P=null,t.__c=void 0}if(l=t.__k)for(i=0;i<l.length;i++)l[i]&&_t(l[i],e,n||typeof t.type!="function");n||t.__e==null||tt(t.__e),t.__=t.__e=t.__d=void 0}function mt(t,e,n){return this.constructor(t,n)}function F(t,e,n){var l,i,o;f.__&&f.__(t,e),i=(l=typeof n=="function")?null:n&&n.__k||e.__k,o=[],H(e,t=(!l&&n||e).__k=v(Q,null,[t]),i||N,N,e.ownerSVGElement!==void 0,!l&&n?[n]:i?null:e.firstChild?V.call(e.childNodes):null,o,!l&&n?n:i?i.__e:e.firstChild,l),it(o,t)}function w(t,e){F(t,e,w)}function D(t,e,n){var l,i,o,a=C({},t.props);for(o in e)o=="key"?l=e[o]:o=="ref"?i=e[o]:a[o]=e[o];return arguments.length>2&&(a.children=arguments.length>3?V.call(arguments,2):n),X(t.type,a,l||t.key,i||t.ref,null)}V=q.slice,f={__e:function(t,e,n,l){for(var i,o,a;e=e.__;)if((i=e.__c)&&!i.__)try{if((o=i.constructor)&&o.getDerivedStateFromError!=null&&(i.setState(o.getDerivedStateFromError(t)),a=i.__d),i.componentDidCatch!=null&&(i.componentDidCatch(t,l||{}),a=i.__d),a)return i.__E=i}catch(s){t=s}throw t}},K=0,pt=function(t){return t!=null&&t.constructor===void 0},L.prototype.setState=function(t,e){var n;n=this.__s!=null&&this.__s!==this.state?this.__s:this.__s=C({},this.state),typeof t=="function"&&(t=t(C({},n),this.props)),t&&C(n,t),t!=null&&this.__v&&(e&&this._sb.push(e),S(this))},L.prototype.forceUpdate=function(t){this.__v&&(this.__e=!0,t&&this.__h.push(t),S(this))},L.prototype.render=Q,x=[],$=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,O.__r=0,dt=0;function A(){return(A=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var l in n)Object.prototype.hasOwnProperty.call(n,l)&&(t[l]=n[l])}return t}).apply(this,arguments)}function gt(t){this.getChildContext=function(){return t.context};var e=t.children,n=function(l,i){if(l==null)return{};var o,a,s={},u=Object.keys(l);for(a=0;a<u.length;a++)i.indexOf(o=u[a])>=0||(s[o]=l[o]);return s}(t,["context","children"]);return D(e,n)}function vt(){var t=new CustomEvent("_preact",{detail:{},bubbles:!0,cancelable:!0});this.dispatchEvent(t),this._vdom=v(gt,A({},this._props,{context:t.detail.context}),function e(n,l){if(n.nodeType===3)return n.data;if(n.nodeType!==1)return null;var i=[],o={},a=0,s=n.attributes,u=n.childNodes;for(a=s.length;a--;)s[a].name!=="slot"&&(o[s[a].name]=s[a].value,o[st(s[a].name)]=s[a].value);for(a=u.length;a--;){var d=e(u[a],null),r=u[a].slot;r?o[r]=v(ct,{name:r},d):i[a]=d}var h=l?v(ct,null,i):i;return v(l||n.nodeName.toLowerCase(),o,h)}(this,this._vdomComponent)),(this.hasAttribute("hydrate")?w:F)(this._vdom,this._root)}function st(t){return t.replace(/-(\w)/g,function(e,n){return n?n.toUpperCase():""})}function yt(t,e,n){if(this._vdom){var l={};l[t]=n=n??void 0,l[st(t)]=n,this._vdom=D(this._vdom,l),F(this._vdom,this._root)}}function Ct(){F(this._vdom=null,this._root)}function ct(t,e){var n=this;return v("slot",A({},t,{ref:function(l){l?(n.ref=l,n._listener||(n._listener=function(i){i.stopPropagation(),i.detail.context=e},l.addEventListener("_preact",n._listener))):n.ref.removeEventListener("_preact",n._listener)}}))}function ut(t,e,n,l){function i(){var o=Reflect.construct(HTMLElement,[],i);return o._vdomComponent=t,o._root=l&&l.shadow?o.attachShadow({mode:"open"}):o,o}return(i.prototype=Object.create(HTMLElement.prototype)).constructor=i,i.prototype.connectedCallback=vt,i.prototype.attributeChangedCallback=yt,i.prototype.disconnectedCallback=Ct,n=n||t.observedAttributes||Object.keys(t.propTypes||{}),i.observedAttributes=n,n.forEach(function(o){Object.defineProperty(i.prototype,o,{get:function(){return this._vdom.props[o]},set:function(a){this._vdom?this.attributeChangedCallback(o,null,a):(this._props||(this._props={}),this._props[o]=a,this.connectedCallback());var s=typeof a;a!=null&&s!=="string"&&s!=="boolean"&&s!=="number"||this.setAttribute(o,a)}})}),customElements.define(e||t.tagName||t.displayName||t.name,i)}var Y=(c=>(c.h1="h1",c.h2="h2",c.h3="h3",c.h4="h4",c.h5="h5",c.h6="h6",c.h7="h7",c.sp="sp",c.p="p",c.lp="lp",c.legal="legal",c.button="button",c))(Y||{});var J=({size:t,tag:e})=>{let n=e||"span";return v(Q,null,(()=>v(n,{class:t&&Y[t]||"p"},v("slot",null)))()," ",v("style",{type:"text/css"},T))};J.observedAttributes=["tag","size"];var xt=t=>customElements.get(t)!==void 0;xt("nge-typography")||ut(J,"nge-typography",J?.observedAttributes||[],{shadow:!0}); | ||
/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VSb290IjoiL2hvbWUvcnVubmVyL3d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Jhc2UvdHlwb2dyYXBoeSc7XG5AaW1wb3J0ICcuLi8uLi8uLi9zdHlsZXNoZWV0cy9iYXNlL2NvbG9ycyc7XG5cbjpob3N0IHtcbiAgY29sb3I6IHZhcigtLWNvbG9yLCAjeyRwcmltYXJ5LWNvbG9yfSk7XG4gIGZvbnQtZmFtaWx5OiAnTm90byBTYW5zJywgc2Fucy1zZXJpZjtcbiAgZm9udC1vcHRpY2FsLXNpemluZzogYXV0bztcbiAgZm9udC1zdHlsZTogbm9ybWFsO1xuICBmb250LXZhcmlhdGlvbi1zZXR0aW5nczogJ3dkdGgnIDEwMDtcbiAgJiA+ICoge1xuICAgIG1hcmdpbjogMDtcbiAgfVxufVxuIl19 */`;var I,f,K,pt,C,J,$,dt,O={},q=[],ht=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function x(t,e){for(var n in e)t[n]=e[n];return t}function tt(t){var e=t.parentNode;e&&e.removeChild(t)}function v(t,e,n){var l,i,o,_={};for(o in e)o=="key"?l=e[o]:o=="ref"?i=e[o]:_[o]=e[o];if(arguments.length>2&&(_.children=arguments.length>3?I.call(arguments,2):n),typeof t=="function"&&t.defaultProps!=null)for(o in t.defaultProps)_[o]===void 0&&(_[o]=t.defaultProps[o]);return X(t,_,l,i,null)}function X(t,e,n,l,i){var o={type:t,props:e,key:n,ref:l,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:i??++K};return i==null&&f.vnode!=null&&f.vnode(o),o}function Z(t){return t.children}function U(t,e){this.props=t,this.context=e}function G(t,e){if(e==null)return t.__?G(t.__,t.__.__k.indexOf(t)+1):null;for(var n;e<t.__k.length;e++)if((n=t.__k[e])!=null&&n.__e!=null)return n.__e;return typeof t.type=="function"?G(t):null}function et(t){var e,n;if((t=t.__)!=null&&t.__c!=null){for(t.__e=t.__c.base=null,e=0;e<t.__k.length;e++)if((n=t.__k[e])!=null&&n.__e!=null){t.__e=t.__c.base=n.__e;break}return et(t)}}function S(t){(!t.__d&&(t.__d=!0)&&C.push(t)&&!N.__r++||J!==f.debounceRendering)&&((J=f.debounceRendering)||$)(N)}function N(){var t,e,n,l,i,o,_,s;for(C.sort(function(u,d){return u.__v.__b-d.__v.__b});t=C.shift();)t.__d&&(e=C.length,l=void 0,i=void 0,_=(o=(n=t).__v).__e,(s=n.__P)&&(l=[],(i=x({},o)).__v=o.__v+1,D(s,o,i,n.__n,s.ownerSVGElement!==void 0,o.__h!=null?[_]:null,l,_??G(o),o.__h),it(l,o),o.__e!=_&&et(o)),C.length>e&&C.sort(function(u,d){return u.__v.__b-d.__v.__b}));N.__r=0}function nt(t,e,n,l,i,o,_,s,u,d){var r,h,c,a,p,V,b,m=l&&l.__k||q,y=m.length;for(n.__k=[],r=0;r<e.length;r++)if((a=n.__k[r]=(a=e[r])==null||typeof a=="boolean"?null:typeof a=="string"||typeof a=="number"||typeof a=="bigint"?X(null,a,null,null,a):Array.isArray(a)?X(Z,{children:a},null,null,null):a.__b>0?X(a.type,a.props,a.key,a.ref?a.ref:null,a.__v):a)!=null){if(a.__=n,a.__b=n.__b+1,(c=m[r])===null||c&&a.key==c.key&&a.type===c.type)m[r]=void 0;else for(h=0;h<y;h++){if((c=m[h])&&a.key==c.key&&a.type===c.type){m[h]=void 0;break}c=null}D(t,a,c=c||O,i,o,_,s,u,d),p=a.__e,(h=a.ref)&&c.ref!=h&&(b||(b=[]),c.ref&&b.push(c.ref,null,a),b.push(h,a.__c||p,a)),p!=null?(V==null&&(V=p),typeof a.type=="function"&&a.__k===c.__k?a.__d=u=ot(a,u,t):u=rt(t,a,c,m,p,u),typeof n.type=="function"&&(n.__d=u)):u&&c.__e==u&&u.parentNode!=t&&(u=G(c))}for(n.__e=V,r=y;r--;)m[r]!=null&&(typeof n.type=="function"&&m[r].__e!=null&&m[r].__e==n.__d&&(n.__d=lt(l).nextSibling),at(m[r],m[r]));if(b)for(r=0;r<b.length;r++)_t(b[r],b[++r],b[++r])}function ot(t,e,n){for(var l,i=t.__k,o=0;i&&o<i.length;o++)(l=i[o])&&(l.__=t,e=typeof l.type=="function"?ot(l,e,n):rt(n,l,l,i,l.__e,e));return e}function rt(t,e,n,l,i,o){var _,s,u;if(e.__d!==void 0)_=e.__d,e.__d=void 0;else if(n==null||i!=o||i.parentNode==null)t:if(o==null||o.parentNode!==t)t.appendChild(i),_=null;else{for(s=o,u=0;(s=s.nextSibling)&&u<l.length;u+=1)if(s==i)break t;t.insertBefore(i,o),_=o}return _!==void 0?_:i.nextSibling}function lt(t){var e,n,l;if(t.type==null||typeof t.type=="string")return t.__e;if(t.__k){for(e=t.__k.length-1;e>=0;e--)if((n=t.__k[e])&&(l=lt(n)))return l}return null}function ft(t,e,n,l,i){var o;for(o in n)o==="children"||o==="key"||o in e||w(t,o,null,n[o],l);for(o in e)i&&typeof e[o]!="function"||o==="children"||o==="key"||o==="value"||o==="checked"||n[o]===e[o]||w(t,o,e[o],n[o],l)}function M(t,e,n){e[0]==="-"?t.setProperty(e,n??""):t[e]=n==null?"":typeof n!="number"||ht.test(e)?n:n+"px"}function w(t,e,n,l,i){var o;t:if(e==="style")if(typeof n=="string")t.style.cssText=n;else{if(typeof l=="string"&&(t.style.cssText=l=""),l)for(e in l)n&&e in n||M(t.style,e,"");if(n)for(e in n)l&&n[e]===l[e]||M(t.style,e,n[e])}else if(e[0]==="o"&&e[1]==="n")o=e!==(e=e.replace(/Capture$/,"")),e=e.toLowerCase()in t?e.toLowerCase().slice(2):e.slice(2),t.l||(t.l={}),t.l[e+o]=n,n?l||t.addEventListener(e,o?P:j,o):t.removeEventListener(e,o?P:j,o);else if(e!=="dangerouslySetInnerHTML"){if(i)e=e.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if(e!=="width"&&e!=="height"&&e!=="href"&&e!=="list"&&e!=="form"&&e!=="tabIndex"&&e!=="download"&&e in t)try{t[e]=n??"";break t}catch{}typeof n=="function"||(n==null||n===!1&&e.indexOf("-")==-1?t.removeAttribute(e):t.setAttribute(e,n))}}function j(t){return this.l[t.type+!1](f.event?f.event(t):t)}function P(t){return this.l[t.type+!0](f.event?f.event(t):t)}function D(t,e,n,l,i,o,_,s,u){var d,r,h,c,a,p,V,b,m,y,B,Q,Y,W,k,g=e.type;if(e.constructor!==void 0)return null;n.__h!=null&&(u=n.__h,s=e.__e=n.__e,e.__h=null,o=[s]),(d=f.__b)&&d(e);try{t:if(typeof g=="function"){if(b=e.props,m=(d=g.contextType)&&l[d.__c],y=d?m?m.props.value:d.__:l,n.__c?V=(r=e.__c=n.__c).__=r.__E:("prototype"in g&&g.prototype.render?e.__c=r=new g(b,y):(e.__c=r=new U(b,y),r.constructor=g,r.render=mt),m&&m.sub(r),r.props=b,r.state||(r.state={}),r.context=y,r.__n=l,h=r.__d=!0,r.__h=[],r._sb=[]),r.__s==null&&(r.__s=r.state),g.getDerivedStateFromProps!=null&&(r.__s==r.state&&(r.__s=x({},r.__s)),x(r.__s,g.getDerivedStateFromProps(b,r.__s))),c=r.props,a=r.state,r.__v=e,h)g.getDerivedStateFromProps==null&&r.componentWillMount!=null&&r.componentWillMount(),r.componentDidMount!=null&&r.__h.push(r.componentDidMount);else{if(g.getDerivedStateFromProps==null&&b!==c&&r.componentWillReceiveProps!=null&&r.componentWillReceiveProps(b,y),!r.__e&&r.shouldComponentUpdate!=null&&r.shouldComponentUpdate(b,r.__s,y)===!1||e.__v===n.__v){for(e.__v!==n.__v&&(r.props=b,r.state=r.__s,r.__d=!1),r.__e=!1,e.__e=n.__e,e.__k=n.__k,e.__k.forEach(function(F){F&&(F.__=e)}),B=0;B<r._sb.length;B++)r.__h.push(r._sb[B]);r._sb=[],r.__h.length&&_.push(r);break t}r.componentWillUpdate!=null&&r.componentWillUpdate(b,r.__s,y),r.componentDidUpdate!=null&&r.__h.push(function(){r.componentDidUpdate(c,a,p)})}if(r.context=y,r.props=b,r.__P=t,Q=f.__r,Y=0,"prototype"in g&&g.prototype.render){for(r.state=r.__s,r.__d=!1,Q&&Q(e),d=r.render(r.props,r.state,r.context),W=0;W<r._sb.length;W++)r.__h.push(r._sb[W]);r._sb=[]}else do r.__d=!1,Q&&Q(e),d=r.render(r.props,r.state,r.context),r.state=r.__s;while(r.__d&&++Y<25);r.state=r.__s,r.getChildContext!=null&&(l=x(x({},l),r.getChildContext())),h||r.getSnapshotBeforeUpdate==null||(p=r.getSnapshotBeforeUpdate(c,a)),k=d!=null&&d.type===Z&&d.key==null?d.props.children:d,nt(t,Array.isArray(k)?k:[k],e,n,l,i,o,_,s,u),r.base=e.__e,e.__h=null,r.__h.length&&_.push(r),V&&(r.__E=r.__=null),r.__e=!1}else o==null&&e.__v===n.__v?(e.__k=n.__k,e.__e=n.__e):e.__e=bt(n.__e,e,n,l,i,o,_,u);(d=f.diffed)&&d(e)}catch(F){e.__v=null,(u||o!=null)&&(e.__e=s,e.__h=!!u,o[o.indexOf(s)]=null),f.__e(F,e,n)}}function it(t,e){f.__c&&f.__c(e,t),t.some(function(n){try{t=n.__h,n.__h=[],t.some(function(l){l.call(n)})}catch(l){f.__e(l,n.__v)}})}function bt(t,e,n,l,i,o,_,s){var u,d,r,h=n.props,c=e.props,a=e.type,p=0;if(a==="svg"&&(i=!0),o!=null){for(;p<o.length;p++)if((u=o[p])&&"setAttribute"in u==!!a&&(a?u.localName===a:u.nodeType===3)){t=u,o[p]=null;break}}if(t==null){if(a===null)return document.createTextNode(c);t=i?document.createElementNS("http://www.w3.org/2000/svg",a):document.createElement(a,c.is&&c),o=null,s=!1}if(a===null)h===c||s&&t.data===c||(t.data=c);else{if(o=o&&I.call(t.childNodes),d=(h=n.props||O).dangerouslySetInnerHTML,r=c.dangerouslySetInnerHTML,!s){if(o!=null)for(h={},p=0;p<t.attributes.length;p++)h[t.attributes[p].name]=t.attributes[p].value;(r||d)&&(r&&(d&&r.__html==d.__html||r.__html===t.innerHTML)||(t.innerHTML=r&&r.__html||""))}if(ft(t,c,h,i,s),r)e.__k=[];else if(p=e.props.children,nt(t,Array.isArray(p)?p:[p],e,n,l,i&&a!=="foreignObject",o,_,o?o[0]:n.__k&&G(n,0),s),o!=null)for(p=o.length;p--;)o[p]!=null&&tt(o[p]);s||("value"in c&&(p=c.value)!==void 0&&(p!==t.value||a==="progress"&&!p||a==="option"&&p!==h.value)&&w(t,"value",p,h.value,!1),"checked"in c&&(p=c.checked)!==void 0&&p!==t.checked&&w(t,"checked",p,h.checked,!1))}return t}function _t(t,e,n){try{typeof t=="function"?t(e):t.current=e}catch(l){f.__e(l,n)}}function at(t,e,n){var l,i;if(f.unmount&&f.unmount(t),(l=t.ref)&&(l.current&&l.current!==t.__e||_t(l,null,e)),(l=t.__c)!=null){if(l.componentWillUnmount)try{l.componentWillUnmount()}catch(o){f.__e(o,e)}l.base=l.__P=null,t.__c=void 0}if(l=t.__k)for(i=0;i<l.length;i++)l[i]&&at(l[i],e,n||typeof t.type!="function");n||t.__e==null||tt(t.__e),t.__=t.__e=t.__d=void 0}function mt(t,e,n){return this.constructor(t,n)}function L(t,e,n){var l,i,o;f.__&&f.__(t,e),i=(l=typeof n=="function")?null:n&&n.__k||e.__k,o=[],D(e,t=(!l&&n||e).__k=v(Z,null,[t]),i||O,O,e.ownerSVGElement!==void 0,!l&&n?[n]:i?null:e.firstChild?I.call(e.childNodes):null,o,!l&&n?n:i?i.__e:e.firstChild,l),it(o,t)}function R(t,e){L(t,e,R)}function A(t,e,n){var l,i,o,_=x({},t.props);for(o in e)o=="key"?l=e[o]:o=="ref"?i=e[o]:_[o]=e[o];return arguments.length>2&&(_.children=arguments.length>3?I.call(arguments,2):n),X(t.type,_,l||t.key,i||t.ref,null)}I=q.slice,f={__e:function(t,e,n,l){for(var i,o,_;e=e.__;)if((i=e.__c)&&!i.__)try{if((o=i.constructor)&&o.getDerivedStateFromError!=null&&(i.setState(o.getDerivedStateFromError(t)),_=i.__d),i.componentDidCatch!=null&&(i.componentDidCatch(t,l||{}),_=i.__d),_)return i.__E=i}catch(s){t=s}throw t}},K=0,pt=function(t){return t!=null&&t.constructor===void 0},U.prototype.setState=function(t,e){var n;n=this.__s!=null&&this.__s!==this.state?this.__s:this.__s=x({},this.state),typeof t=="function"&&(t=t(x({},n),this.props)),t&&x(n,t),t!=null&&this.__v&&(e&&this._sb.push(e),S(this))},U.prototype.forceUpdate=function(t){this.__v&&(this.__e=!0,t&&this.__h.push(t),S(this))},U.prototype.render=Z,C=[],$=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,N.__r=0,dt=0;function H(){return(H=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var l in n)Object.prototype.hasOwnProperty.call(n,l)&&(t[l]=n[l])}return t}).apply(this,arguments)}function gt(t){this.getChildContext=function(){return t.context};var e=t.children,n=function(l,i){if(l==null)return{};var o,_,s={},u=Object.keys(l);for(_=0;_<u.length;_++)i.indexOf(o=u[_])>=0||(s[o]=l[o]);return s}(t,["context","children"]);return A(e,n)}function vt(){var t=new CustomEvent("_preact",{detail:{},bubbles:!0,cancelable:!0});this.dispatchEvent(t),this._vdom=v(gt,H({},this._props,{context:t.detail.context}),function e(n,l){if(n.nodeType===3)return n.data;if(n.nodeType!==1)return null;var i=[],o={},_=0,s=n.attributes,u=n.childNodes;for(_=s.length;_--;)s[_].name!=="slot"&&(o[s[_].name]=s[_].value,o[st(s[_].name)]=s[_].value);for(_=u.length;_--;){var d=e(u[_],null),r=u[_].slot;r?o[r]=v(ct,{name:r},d):i[_]=d}var h=l?v(ct,null,i):i;return v(l||n.nodeName.toLowerCase(),o,h)}(this,this._vdomComponent)),(this.hasAttribute("hydrate")?R:L)(this._vdom,this._root)}function st(t){return t.replace(/-(\w)/g,function(e,n){return n?n.toUpperCase():""})}function yt(t,e,n){if(this._vdom){var l={};l[t]=n=n??void 0,l[st(t)]=n,this._vdom=A(this._vdom,l),L(this._vdom,this._root)}}function xt(){L(this._vdom=null,this._root)}function ct(t,e){var n=this;return v("slot",H({},t,{ref:function(l){l?(n.ref=l,n._listener||(n._listener=function(i){i.stopPropagation(),i.detail.context=e},l.addEventListener("_preact",n._listener))):n.ref.removeEventListener("_preact",n._listener)}}))}function ut(t,e,n,l){function i(){var o=Reflect.construct(HTMLElement,[],i);return o._vdomComponent=t,o._root=l&&l.shadow?o.attachShadow({mode:"open"}):o,o}return(i.prototype=Object.create(HTMLElement.prototype)).constructor=i,i.prototype.connectedCallback=vt,i.prototype.attributeChangedCallback=yt,i.prototype.disconnectedCallback=xt,n=n||t.observedAttributes||Object.keys(t.propTypes||{}),i.observedAttributes=n,n.forEach(function(o){Object.defineProperty(i.prototype,o,{get:function(){return this._vdom.props[o]},set:function(_){this._vdom?this.attributeChangedCallback(o,null,_):(this._props||(this._props={}),this._props[o]=_,this.connectedCallback());var s=typeof _;_!=null&&s!=="string"&&s!=="boolean"&&s!=="number"||this.setAttribute(o,_)}})}),customElements.define(e||t.tagName||t.displayName||t.name,i)}var z=(c=>(c.h1="h1",c.h2="h2",c.h3="h3",c.h4="h4",c.h5="h5",c.h6="h6",c.h7="h7",c.sp="sp",c.p="p",c.lp="lp",c.legal="legal",c.button="button",c))(z||{});var E=({size:t,tag:e})=>{let n=e||"span";return v(Z,null,(()=>v(n,{class:t&&z[t]||"p"},v("slot",null)))()," ",v("style",{type:"text/css"},T))};E.observedAttributes=["tag","size"];var Ct=t=>customElements.get(t)!==void 0;Ct("nge-typography")||ut(E,"nge-typography",E?.observedAttributes||[],{shadow:!0}); | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "@no-gravity-elements/typography", | ||
"version": "1.0.5", | ||
"version": "1.0.6", | ||
"description": "No Gravity Element", | ||
@@ -25,3 +25,3 @@ "author": "No Gravity Team", | ||
}, | ||
"gitHead": "25304f16bed50b261ff2f8f883da72ed0bfeab82" | ||
"gitHead": "1322f8c20f5cb14f19e7bed0013dbd37a4d1a67c" | ||
} |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
119827
257