nudge-canvas 0.0.1 → 0.4.0
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/LICENSE.md +51 -0
- package/README.md +51 -3
- package/THIRD_PARTY_NOTICES.md +2373 -0
- package/data/icon-catalog.json +1 -0
- package/data/licenses/Apache-2.0.txt +73 -0
- package/data/licenses/CC-BY-3.0.txt +319 -0
- package/data/licenses/CC-BY-4.0.txt +156 -0
- package/data/licenses/CC0-1.0.txt +121 -0
- package/data/licenses/ISC.txt +7 -0
- package/data/licenses/MIT.txt +18 -0
- package/data/licenses/OFL-1.1.txt +43 -0
- package/dist/chunk-D6z-TZJJ.js +1 -0
- package/dist/chunk-D_nbgLii.js +14 -0
- package/dist/chunk-DuSDpWhn.js +550 -0
- package/dist/chunk-Sq5RPyiX.js +1 -0
- package/dist/init.js +2 -0
- package/dist/mcp.js +151 -0
- package/editor/apple-touch-icon-180.png +0 -0
- package/editor/assets/main-Cmp_J2OR.js +45 -0
- package/editor/assets/main-D0fYiDhO.css +1 -0
- package/editor/assets/proto-q6SnqtFF.js +1 -0
- package/editor/assets/rolldown-runtime-XKyaHtl9.js +1 -0
- package/editor/assets/src-C4_CxgrI.js +415 -0
- package/editor/favicon-16.png +0 -0
- package/editor/favicon-32.png +0 -0
- package/editor/favicon.svg +1 -0
- package/editor/fonts/pretendard/LICENSE.txt +94 -0
- package/editor/fonts/pretendard/PretendardVariable.woff2 +0 -0
- package/editor/fonts/pretendard.css +8 -0
- package/editor/index.html +20 -0
- package/editor/proto.html +15 -0
- package/icons/cib.LICENSE.txt +124 -0
- package/icons/cib.json.gz +0 -0
- package/icons/logos.LICENSE.txt +124 -0
- package/icons/logos.json.gz +0 -0
- package/icons/lucide.LICENSE.txt +46 -0
- package/icons/lucide.json.gz +0 -0
- package/icons/simple-icons.LICENSE.txt +86 -0
- package/icons/simple-icons.json.gz +0 -0
- package/package.json +55 -5
- package/not-yet.js +0 -3
|
@@ -0,0 +1,415 @@
|
|
|
1
|
+
import{r as e,t}from"./rolldown-runtime-XKyaHtl9.js";(function(){let e=document.createElement(`link`).relList;if(e&&e.supports&&e.supports(`modulepreload`))return;for(let e of document.querySelectorAll(`link[rel="modulepreload"]`))n(e);new MutationObserver(e=>{for(let t of e)if(t.type===`childList`)for(let e of t.addedNodes)e.tagName===`LINK`&&e.rel===`modulepreload`&&n(e)}).observe(document,{childList:!0,subtree:!0});function t(e){let t={};return e.integrity&&(t.integrity=e.integrity),e.referrerPolicy&&(t.referrerPolicy=e.referrerPolicy),t.credentials=e.crossOrigin===`use-credentials`?`include`:e.crossOrigin===`anonymous`?`omit`:`same-origin`,t}function n(e){if(e.ep)return;e.ep=!0;let n=t(e);fetch(e.href,n)}})();var n=t((e=>{function t(e,t){var n=e.length;e.push(t);a:for(;0<n;){var r=n-1>>>1,a=e[r];if(0<i(a,t))e[r]=t,e[n]=a,n=r;else break a}}function n(e){return e.length===0?null:e[0]}function r(e){if(e.length===0)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;a:for(var r=0,a=e.length,o=a>>>1;r<o;){var s=2*(r+1)-1,c=e[s],l=s+1,u=e[l];if(0>i(c,n))l<a&&0>i(u,c)?(e[r]=u,e[l]=n,r=l):(e[r]=c,e[s]=n,r=s);else if(l<a&&0>i(u,n))e[r]=u,e[l]=n,r=l;else break a}}return t}function i(e,t){var n=e.sortIndex-t.sortIndex;return n===0?e.id-t.id:n}if(e.unstable_now=void 0,typeof performance==`object`&&typeof performance.now==`function`){var a=performance;e.unstable_now=function(){return a.now()}}else{var o=Date,s=o.now();e.unstable_now=function(){return o.now()-s}}var c=[],l=[],u=1,d=null,f=3,p=!1,m=!1,h=!1,g=!1,_=typeof setTimeout==`function`?setTimeout:null,v=typeof clearTimeout==`function`?clearTimeout:null,y=typeof setImmediate<`u`?setImmediate:null;function b(e){for(var i=n(l);i!==null;){if(i.callback===null)r(l);else if(i.startTime<=e)r(l),i.sortIndex=i.expirationTime,t(c,i);else break;i=n(l)}}function x(e){if(h=!1,b(e),!m){if(n(c)!==null)m=!0,S||(S=!0,O());else{var t=n(l);t!==null&&j(x,t.startTime-e)}}}var S=!1,C=-1,w=5,T=-1;function E(){return g?!0:!(e.unstable_now()-T<w)}function D(){if(g=!1,S){var t=e.unstable_now();T=t;var i=!0;try{a:{m=!1,h&&(h=!1,v(C),C=-1),p=!0;var a=f;try{b:{for(b(t),d=n(c);d!==null&&!(d.expirationTime>t&&E());){var o=d.callback;if(typeof o==`function`){d.callback=null,f=d.priorityLevel;var s=o(d.expirationTime<=t);if(t=e.unstable_now(),typeof s==`function`){d.callback=s,b(t),i=!0;break b}d===n(c)&&r(c),b(t)}else r(c);d=n(c)}if(d!==null)i=!0;else{var u=n(l);u!==null&&j(x,u.startTime-t),i=!1}}break a}finally{d=null,f=a,p=!1}i=void 0}}finally{i?O():S=!1}}}var O;if(typeof y==`function`)O=function(){y(D)};else if(typeof MessageChannel<`u`){var k=new MessageChannel,A=k.port2;k.port1.onmessage=D,O=function(){A.postMessage(null)}}else O=function(){_(D,0)};function j(t,n){C=_(function(){t(e.unstable_now())},n)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(e){e.callback=null},e.unstable_forceFrameRate=function(e){0>e||125<e?console.error(`forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported`):w=0<e?Math.floor(1e3/e):5},e.unstable_getCurrentPriorityLevel=function(){return f},e.unstable_next=function(e){switch(f){case 1:case 2:case 3:var t=3;break;default:t=f}var n=f;f=t;try{return e()}finally{f=n}},e.unstable_requestPaint=function(){g=!0},e.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=f;f=e;try{return t()}finally{f=n}},e.unstable_scheduleCallback=function(r,i,a){var o=e.unstable_now();switch(typeof a==`object`&&a?(a=a.delay,a=typeof a==`number`&&0<a?o+a:o):a=o,r){case 1:var s=-1;break;case 2:s=250;break;case 5:s=1073741823;break;case 4:s=1e4;break;default:s=5e3}return s=a+s,r={id:u++,callback:i,priorityLevel:r,startTime:a,expirationTime:s,sortIndex:-1},a>o?(r.sortIndex=a,t(l,r),n(c)===null&&r===n(l)&&(h?(v(C),C=-1):h=!0,j(x,a-o))):(r.sortIndex=s,t(c,r),m||p||(m=!0,S||(S=!0,O()))),r},e.unstable_shouldYield=E,e.unstable_wrapCallback=function(e){var t=f;return function(){var n=f;f=t;try{return e.apply(this,arguments)}finally{f=n}}}})),r=t(((e,t)=>{t.exports=n()})),i=t((e=>{var t=Symbol.for(`react.transitional.element`),n=Symbol.for(`react.portal`),r=Symbol.for(`react.fragment`),i=Symbol.for(`react.strict_mode`),a=Symbol.for(`react.profiler`),o=Symbol.for(`react.consumer`),s=Symbol.for(`react.context`),c=Symbol.for(`react.forward_ref`),l=Symbol.for(`react.suspense`),u=Symbol.for(`react.memo`),d=Symbol.for(`react.lazy`),f=Symbol.for(`react.activity`),p=Symbol.for(`react.view_transition`),m=Symbol.iterator;function h(e){return typeof e!=`object`||!e?null:(e=m&&e[m]||e[`@@iterator`],typeof e==`function`?e:null)}var g={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},_=Object.assign,v={};function y(e,t,n){this.props=e,this.context=t,this.refs=v,this.updater=n||g}y.prototype.isReactComponent={},y.prototype.setState=function(e,t){if(typeof e!=`object`&&typeof e!=`function`&&e!=null)throw Error(`takes an object of state variables to update or a function which returns an object of state variables.`);this.updater.enqueueSetState(this,e,t,`setState`)},y.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,`forceUpdate`)};function b(){}b.prototype=y.prototype;function x(e,t,n){this.props=e,this.context=t,this.refs=v,this.updater=n||g}var S=x.prototype=new b;S.constructor=x,_(S,y.prototype),S.isPureReactComponent=!0;var C=Array.isArray;function w(){}var T={H:null,A:null,T:null,S:null},E=Object.prototype.hasOwnProperty;function D(e,n,r){var i=r.ref;return{$$typeof:t,type:e,key:n,ref:i===void 0?null:i,props:r}}function O(e,t){return D(e.type,t,e.props)}function k(e){return typeof e==`object`&&!!e&&e.$$typeof===t}function A(e){var t={"=":`=0`,":":`=2`};return`$`+e.replace(/[=:]/g,function(e){return t[e]})}var j=/\/+/g;function M(e,t){return typeof e==`object`&&e&&e.key!=null?A(``+e.key):t.toString(36)}function ee(e){switch(e.status){case`fulfilled`:return e.value;case`rejected`:throw e.reason;default:switch(typeof e.status==`string`?e.then(w,w):(e.status=`pending`,e.then(function(t){e.status===`pending`&&(e.status=`fulfilled`,e.value=t)},function(t){e.status===`pending`&&(e.status=`rejected`,e.reason=t)})),e.status){case`fulfilled`:return e.value;case`rejected`:throw e.reason}}throw e}function te(e,r,i,a,o){var s=typeof e;(s===`undefined`||s===`boolean`)&&(e=null);var c=!1;if(e===null)c=!0;else switch(s){case`bigint`:case`string`:case`number`:c=!0;break;case`object`:switch(e.$$typeof){case t:case n:c=!0;break;case d:return c=e._init,te(c(e._payload),r,i,a,o)}}if(c)return o=o(e),c=a===``?`.`+M(e,0):a,C(o)?(i=``,c!=null&&(i=c.replace(j,`$&/`)+`/`),te(o,r,i,``,function(e){return e})):o!=null&&(k(o)&&(o=O(o,i+(o.key==null||e&&e.key===o.key?``:(``+o.key).replace(j,`$&/`)+`/`)+c)),r.push(o)),1;c=0;var l=a===``?`.`:a+`:`;if(C(e))for(var u=0;u<e.length;u++)a=e[u],s=l+M(a,u),c+=te(a,r,i,s,o);else if(u=h(e),typeof u==`function`)for(e=u.call(e),u=0;!(a=e.next()).done;)a=a.value,s=l+M(a,u++),c+=te(a,r,i,s,o);else if(s===`object`){if(typeof e.then==`function`)return te(ee(e),r,i,a,o);throw r=String(e),Error(`Objects are not valid as a React child (found: `+(r===`[object Object]`?`object with keys {`+Object.keys(e).join(`, `)+`}`:r)+`). If you meant to render a collection of children, use an array instead.`)}return c}function N(e,t,n){if(e==null)return e;var r=[],i=0;return te(e,r,``,``,function(e){return t.call(n,e,i++)}),r}function ne(e){if(e._status===-1){var t=e._result,n=t();n.then(function(t){(e._status===0||e._status===-1)&&(e._status=1,e._result=t,n.status===void 0&&(n.status=`fulfilled`,n.value=t))},function(t){(e._status===0||e._status===-1)&&(e._status=2,e._result=t,n.status===void 0&&(n.status=`rejected`,n.reason=t))}),e._status===-1&&(e._status=0,e._result=n)}if(e._status===1)return e._result.default;throw e._result}var re=typeof reportError==`function`?reportError:function(e){if(typeof window==`object`&&typeof window.ErrorEvent==`function`){var t=new window.ErrorEvent(`error`,{bubbles:!0,cancelable:!0,message:typeof e==`object`&&e&&typeof e.message==`string`?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process==`object`&&typeof process.emit==`function`){process.emit(`uncaughtException`,e);return}console.error(e)};function ie(e){var t=T.T,n={};n.types=t===null?null:t.types,T.T=n;try{var r=e(),i=T.S;i!==null&&i(n,r),typeof r==`object`&&r&&typeof r.then==`function`&&r.then(w,re)}catch(e){re(e)}finally{t!==null&&n.types!==null&&(t.types=n.types),T.T=t}}function ae(e){var t=T.T;if(t!==null){var n=t.types;n===null?t.types=[e]:n.indexOf(e)===-1&&n.push(e)}else ie(ae.bind(null,e))}var oe={map:N,forEach:function(e,t,n){N(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return N(e,function(){t++}),t},toArray:function(e){return N(e,function(e){return e})||[]},only:function(e){if(!k(e))throw Error(`React.Children.only expected to receive a single React element child.`);return e}};e.Activity=f,e.Children=oe,e.Component=y,e.Fragment=r,e.Profiler=a,e.PureComponent=x,e.StrictMode=i,e.Suspense=l,e.ViewTransition=p,e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=T,e.__COMPILER_RUNTIME={__proto__:null,c:function(e){return T.H.useMemoCache(e)}},e.addTransitionType=ae,e.cache=function(e){return function(){return e.apply(null,arguments)}},e.cacheSignal=function(){return null},e.cloneElement=function(e,t,n){if(e==null)throw Error(`The argument must be a React element, but you passed `+e+`.`);var r=_({},e.props),i=e.key;if(t!=null)for(a in t.key!==void 0&&(i=``+t.key),t)!E.call(t,a)||a===`key`||a===`__self`||a===`__source`||a===`ref`&&t.ref===void 0||(r[a]=t[a]);var a=arguments.length-2;if(a===1)r.children=n;else if(1<a){for(var o=Array(a),s=0;s<a;s++)o[s]=arguments[s+2];r.children=o}return D(e.type,i,r)},e.createContext=function(e){return e={$$typeof:s,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null},e.Provider=e,e.Consumer={$$typeof:o,_context:e},e},e.createElement=function(e,t,n){var r,i={},a=null;if(t!=null)for(r in t.key!==void 0&&(a=``+t.key),t)E.call(t,r)&&r!==`key`&&r!==`__self`&&r!==`__source`&&(i[r]=t[r]);var o=arguments.length-2;if(o===1)i.children=n;else if(1<o){for(var s=Array(o),c=0;c<o;c++)s[c]=arguments[c+2];i.children=s}if(e&&e.defaultProps)for(r in o=e.defaultProps,o)i[r]===void 0&&(i[r]=o[r]);return D(e,a,i)},e.createRef=function(){return{current:null}},e.forwardRef=function(e){return{$$typeof:c,render:e}},e.isValidElement=k,e.lazy=function(e){return{$$typeof:d,_payload:{_status:-1,_result:e},_init:ne}},e.memo=function(e,t){return{$$typeof:u,type:e,compare:t===void 0?null:t}},e.startTransition=ie,e.unstable_useCacheRefresh=function(){return T.H.useCacheRefresh()},e.use=function(e){return T.H.use(e)},e.useActionState=function(e,t,n){return T.H.useActionState(e,t,n)},e.useCallback=function(e,t){return T.H.useCallback(e,t)},e.useContext=function(e){return T.H.useContext(e)},e.useDebugValue=function(){},e.useDeferredValue=function(e,t){return T.H.useDeferredValue(e,t)},e.useEffect=function(e,t){return T.H.useEffect(e,t)},e.useEffectEvent=function(e){return T.H.useEffectEvent(e)},e.useId=function(){return T.H.useId()},e.useImperativeHandle=function(e,t,n){return T.H.useImperativeHandle(e,t,n)},e.useInsertionEffect=function(e,t){return T.H.useInsertionEffect(e,t)},e.useLayoutEffect=function(e,t){return T.H.useLayoutEffect(e,t)},e.useMemo=function(e,t){return T.H.useMemo(e,t)},e.useOptimistic=function(e,t){return T.H.useOptimistic(e,t)},e.useReducer=function(e,t,n){return T.H.useReducer(e,t,n)},e.useRef=function(e){return T.H.useRef(e)},e.useState=function(e){return T.H.useState(e)},e.useSyncExternalStore=function(e,t,n){return T.H.useSyncExternalStore(e,t,n)},e.useTransition=function(){return T.H.useTransition()},e.version=`19.3.0`})),a=t(((e,t)=>{t.exports=i()})),o=t((e=>{var t=a();function n(e){var t=`https://react.dev/errors/`+e;if(1<arguments.length){t+=`?args[]=`+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)t+=`&args[]=`+encodeURIComponent(arguments[n])}return`Minified React error #`+e+`; visit `+t+` for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`}function r(){}var i={d:{f:r,r:function(){throw Error(n(522))},D:r,C:r,L:r,m:r,X:r,S:r,M:r},p:0,findDOMNode:null},o=Symbol.for(`react.portal`),s=Symbol.for(`react.recoverable`),c=Symbol.for(`react.optimistic_key`);function l(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:o,key:r==null?null:r===c?c:``+r,children:e,containerInfo:t,implementation:n}}var u=t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function d(e,t){if(e===`font`)return``;if(typeof t==`string`)return t===`use-credentials`?t:``}e.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=i,e.browser=function(e){return{$$typeof:s,_reason:e}},e.createPortal=function(e,t){var r=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)throw Error(n(299));return l(e,t,null,r)},e.flushSync=function(e){var t=u.T,n=i.p;try{if(u.T=null,i.p=2,e)return e()}finally{u.T=t,i.p=n,i.d.f()}},e.preconnect=function(e,t){typeof e==`string`&&(t?(t=t.crossOrigin,t=typeof t==`string`?t===`use-credentials`?t:``:void 0):t=null,i.d.C(e,t))},e.prefetchDNS=function(e){typeof e==`string`&&i.d.D(e)},e.preinit=function(e,t){if(typeof e==`string`&&t&&typeof t.as==`string`){var n=t.as,r=d(n,t.crossOrigin),a=typeof t.integrity==`string`?t.integrity:void 0,o=typeof t.fetchPriority==`string`?t.fetchPriority:void 0;n===`style`?i.d.S(e,typeof t.precedence==`string`?t.precedence:void 0,{crossOrigin:r,integrity:a,fetchPriority:o}):n===`script`&&i.d.X(e,{crossOrigin:r,integrity:a,fetchPriority:o,nonce:typeof t.nonce==`string`?t.nonce:void 0})}},e.preinitModule=function(e,t){if(typeof e==`string`){if(typeof t==`object`&&t){if(t.as==null||t.as===`script`){var n=d(t.as,t.crossOrigin);i.d.M(e,{crossOrigin:n,integrity:typeof t.integrity==`string`?t.integrity:void 0,nonce:typeof t.nonce==`string`?t.nonce:void 0,fetchPriority:typeof t.fetchPriority==`string`?t.fetchPriority:void 0})}}else t??i.d.M(e)}},e.preload=function(e,t){if(typeof e==`string`&&typeof t==`object`&&t&&typeof t.as==`string`){var n=t.as,r=d(n,t.crossOrigin);i.d.L(e,n,{crossOrigin:r,integrity:typeof t.integrity==`string`?t.integrity:void 0,nonce:typeof t.nonce==`string`?t.nonce:void 0,type:typeof t.type==`string`?t.type:void 0,fetchPriority:typeof t.fetchPriority==`string`?t.fetchPriority:void 0,referrerPolicy:typeof t.referrerPolicy==`string`?t.referrerPolicy:void 0,imageSrcSet:typeof t.imageSrcSet==`string`?t.imageSrcSet:void 0,imageSizes:typeof t.imageSizes==`string`?t.imageSizes:void 0,media:typeof t.media==`string`?t.media:void 0})}},e.preloadModule=function(e,t){if(typeof e==`string`){if(t){var n=d(t.as,t.crossOrigin);i.d.m(e,{as:typeof t.as==`string`&&t.as!==`script`?t.as:void 0,crossOrigin:n,integrity:typeof t.integrity==`string`?t.integrity:void 0,nonce:typeof t.nonce==`string`?t.nonce:void 0,fetchPriority:typeof t.fetchPriority==`string`?t.fetchPriority:void 0})}else i.d.m(e)}},e.requestFormReset=function(e){i.d.r(e)},e.unstable_batchedUpdates=function(e,t){return e(t)},e.useFormState=function(e,t,n){return u.H.useFormState(e,t,n)},e.useFormStatus=function(){return u.H.useHostTransitionStatus()},e.version=`19.3.0`})),s=t(((e,t)=>{function n(){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<`u`&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE==`function`)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n)}catch(e){console.error(e)}}n(),t.exports=o()})),c=t((e=>{var t=r(),n=a(),i=s();function o(e){var t=`https://react.dev/errors/`+e;if(1<arguments.length){t+=`?args[]=`+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)t+=`&args[]=`+encodeURIComponent(arguments[n])}return`Minified React error #`+e+`; visit `+t+` for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`}function c(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function l(e){for(var t=e,n=t;n&&!n.alternate;)t=n,t.flags&4098&&(e=t.return),n=t.return;for(;t.return;)t=t.return;return t.tag===3?e:null}function u(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function d(e){if(e.tag===31){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function f(e){if(l(e)!==e)throw Error(o(188))}function p(e){var t=e.alternate;if(!t){if(t=l(e),t===null)throw Error(o(188));return t===e?e:null}for(var n=e,r=t;;){var i=n.return;if(i===null)break;var a=i.alternate;if(a===null){if(r=i.return,r!==null){n=r;continue}break}if(i.child===a.child){for(a=i.child;a;){if(a===n)return f(i),e;if(a===r)return f(i),t;a=a.sibling}throw Error(o(188))}if(n.return!==r.return)n=i,r=a;else{for(var s=!1,c=i.child;c;){if(c===n){s=!0,n=i,r=a;break}if(c===r){s=!0,r=i,n=a;break}c=c.sibling}if(!s){for(c=a.child;c;){if(c===n){s=!0,n=a,r=i;break}if(c===r){s=!0,r=a,n=i;break}c=c.sibling}if(!s)throw Error(o(189))}}if(n.alternate!==r)throw Error(o(190))}if(n.tag!==3)throw Error(o(188));return n.stateNode.current===n?e:t}function m(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=m(e),t!==null)return t;e=e.sibling}return null}function h(e,t,n,r,i,a){for(;e!==null;){if((e.tag===5||e.tag===27||e.tag===6)&&n(e,r,i,a)||(e.tag!==22||e.memoizedState===null)&&(t||e.tag!==5&&e.tag!==27)&&h(e.child,t,n,r,i,a))return!0;e=e.sibling}return!1}function g(e){for(e=e.return;e!==null;){if(e.tag===3||e.tag===5||e.tag===27)return e;e=e.return}return null}function _(e){var t=!1;for(e=e.return;e!==null&&(e.tag===4&&(t=!0),e.tag!==3&&e.tag!==5&&e.tag!==27);)e=e.return;return t}function v(e){var t=[null,null],n=g(e);return n===null||y(t,e,n.child,{foundSelf:!1}),t}function y(e,t,n,r){for(;n!==null;){if(n===t)r.foundSelf=!0;else if(n.tag===5||n.tag===27||n.tag===6){if(r.foundSelf)return e[1]=n,!0;e[0]=n}else if((n.tag!==22||n.memoizedState===null)&&y(e,t,n.child,r))return!0;n=n.sibling}return!1}function b(e){switch(e.tag){case 5:case 27:case 6:return e.stateNode;case 3:return e.stateNode.containerInfo;default:throw Error(o(559))}}var x=null,S=null;function C(e,t,n){return e===n||e===t&&(x=e,!0)}function w(e,t,n){return e===n?(S=e,!1):e===t&&(S!==null&&(x=e),!0)}function T(e){if(e===null)return null;do e=e===null?null:e.return;while(e&&e.tag!==5&&e.tag!==27&&e.tag!==3);return e||null}function E(e,t,n){for(var r=0,i=e;i;i=n(i))r++;i=0;for(var a=t;a;a=n(a))i++;for(;0<r-i;)e=n(e),r--;for(;0<i-r;)t=n(t),i--;for(;r--;){if(e===t||t!==null&&e===t.alternate)return e;e=n(e),t=n(t)}return null}var D=Object.assign,O=Symbol.for(`react.element`),k=Symbol.for(`react.transitional.element`),A=Symbol.for(`react.portal`),j=Symbol.for(`react.fragment`),M=Symbol.for(`react.strict_mode`),ee=Symbol.for(`react.profiler`),te=Symbol.for(`react.consumer`),N=Symbol.for(`react.context`),ne=Symbol.for(`react.forward_ref`),re=Symbol.for(`react.suspense`),ie=Symbol.for(`react.suspense_list`),ae=Symbol.for(`react.memo`),oe=Symbol.for(`react.lazy`),se=Symbol.for(`react.activity`),ce=Symbol.for(`react.legacy_hidden`),le=Symbol.for(`react.memo_cache_sentinel`),ue=Symbol.for(`react.view_transition`),de=Symbol.for(`react.recoverable`),fe=Symbol.iterator;function pe(e){return typeof e!=`object`||!e?null:(e=fe&&e[fe]||e[`@@iterator`],typeof e==`function`?e:null)}var me=Symbol.for(`react.client.reference`);function he(e){if(e==null)return null;if(typeof e==`function`)return e.$$typeof===me?null:e.displayName||e.name||null;if(typeof e==`string`)return e;switch(e){case j:return`Fragment`;case ee:return`Profiler`;case M:return`StrictMode`;case re:return`Suspense`;case ie:return`SuspenseList`;case se:return`Activity`;case ue:return`ViewTransition`}if(typeof e==`object`)switch(e.$$typeof){case A:return`Portal`;case N:return e.displayName||`Context`;case te:return(e._context.displayName||`Context`)+`.Consumer`;case ne:var t=e.render;return e=e.displayName,e||=(e=t.displayName||t.name||``,e===``?`ForwardRef`:`ForwardRef(`+e+`)`),e;case ae:return t=e.displayName||null,t===null?he(e.type)||`Memo`:t;case oe:t=e._payload,e=e._init;try{return he(e(t))}catch{}}return null}var ge=Array.isArray,P=n.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,_e=i.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ve={pending:!1,data:null,method:null,action:null},ye=[],be=-1;function xe(e){return{current:e}}function Se(e){0>be||(e.current=ye[be],ye[be]=null,be--)}function F(e,t){be++,ye[be]=e.current,e.current=t}var Ce=xe(null),I=xe(null),we=xe(null),Te=xe(null);function Ee(e,t){switch(F(we,t),F(I,e),F(Ce,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?fp(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)t=fp(t),e=pp(t,e);else switch(e){case`svg`:e=1;break;case`math`:e=2;break;default:e=0}}Se(Ce),F(Ce,e)}function De(){Se(Ce),Se(I),Se(we)}function Oe(e){var t=e.memoizedState;t!==null&&(ch._currentValue=t.memoizedState,F(Te,e)),t=Ce.current;var n=pp(t,e.type);t!==n&&(F(I,e),F(Ce,n))}function ke(e){I.current===e&&(Se(Ce),Se(I)),Te.current===e&&(Se(Te),ch._currentValue=ve)}var Ae,je;function Me(e){if(Ae===void 0)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);Ae=t&&t[1]||``,je=-1<e.stack.indexOf(`
|
|
2
|
+
at`)?` (<anonymous>)`:-1<e.stack.indexOf(`@`)?`@unknown:0:0`:``}return`
|
|
3
|
+
`+Ae+e+je}var Ne=!1;function Pe(e,t){if(!e||Ne)return``;Ne=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var r={DetermineComponentFrameRoot:function(){try{if(t){var n=function(){throw Error()};if(Object.defineProperty(n.prototype,"props",{set:function(){throw Error()}}),typeof Reflect==`object`&&Reflect.construct){try{Reflect.construct(n,[])}catch(e){var r=e}Reflect.construct(e,[],n)}else{try{n.call()}catch(e){r=e}n=!1;try{var i=Object.getOwnPropertyDescriptor(e.prototype,`props`);Object.defineProperty(e.prototype,"props",{configurable:!0,set:function(){throw Error()}}),n=!0,new e}finally{n&&(i===void 0?delete e.prototype.props:Object.defineProperty(e.prototype,"props",i))}}}else{try{throw Error()}catch(e){r=e}(n=e())&&typeof n.catch==`function`&&n.catch(function(){})}}catch(e){if(e&&r&&typeof e.stack==`string`)return[e.stack,r.stack]}return[null,null]}};r.DetermineComponentFrameRoot.displayName=`DetermineComponentFrameRoot`;var i=Object.getOwnPropertyDescriptor(r.DetermineComponentFrameRoot,`name`);i&&i.configurable&&Object.defineProperty(r.DetermineComponentFrameRoot,"name",{value:`DetermineComponentFrameRoot`});var a=r.DetermineComponentFrameRoot(),o=a[0],s=a[1];if(o&&s){var c=o.split(`
|
|
4
|
+
`),l=s.split(`
|
|
5
|
+
`);for(i=r=0;r<c.length&&!c[r].includes(`DetermineComponentFrameRoot`);)r++;for(;i<l.length&&!l[i].includes(`DetermineComponentFrameRoot`);)i++;if(r===c.length||i===l.length)for(r=c.length-1,i=l.length-1;1<=r&&0<=i&&c[r]!==l[i];)i--;for(;1<=r&&0<=i;r--,i--)if(c[r]!==l[i]){if(r!==1||i!==1)do if(r--,i--,0>i||c[r]!==l[i]){var u=`
|
|
6
|
+
`+c[r].replace(` at new `,` at `);return e.displayName&&u.includes(`<anonymous>`)&&(u=u.replace(`<anonymous>`,e.displayName)),u}while(1<=r&&0<=i);break}}}finally{Ne=!1,Error.prepareStackTrace=n}return(n=e?e.displayName||e.name:``)?Me(n):``}function Fe(e,t){switch(e.tag){case 26:case 27:case 5:return Me(e.type);case 16:return Me(`Lazy`);case 13:return e.child!==t&&t!==null?Me(`Suspense Fallback`):Me(`Suspense`);case 19:return Me(`SuspenseList`);case 0:case 15:return Pe(e.type,!1);case 11:return Pe(e.type.render,!1);case 1:return Pe(e.type,!0);case 31:return Me(`Activity`);case 30:return Me(`ViewTransition`);default:return``}}function Ie(e){try{var t=``,n=null;do t+=Fe(e,n),n=e,e=e.return;while(e);return t}catch(e){return`
|
|
7
|
+
Error generating stack: `+e.message+`
|
|
8
|
+
`+e.stack}}var Le=Object.prototype.hasOwnProperty,Re=t.unstable_scheduleCallback,ze=t.unstable_cancelCallback,Be=t.unstable_shouldYield,Ve=t.unstable_requestPaint,He=t.unstable_now,Ue=t.unstable_getCurrentPriorityLevel,We=t.unstable_ImmediatePriority,Ge=t.unstable_UserBlockingPriority,Ke=t.unstable_NormalPriority,qe=t.unstable_LowPriority,Je=t.unstable_IdlePriority,Ye=t.log,Xe=t.unstable_setDisableYieldValue,Ze=null,Qe=null;function $e(e){if(typeof Ye==`function`&&Xe(e),Qe&&typeof Qe.setStrictMode==`function`)try{Qe.setStrictMode(Ze,e)}catch{}}var et=Math.clz32?Math.clz32:rt,tt=Math.log,nt=Math.LN2;function rt(e){return e>>>=0,e===0?32:31-(tt(e)/nt|0)|0}var it=256,at=262144,ot=4194304;function st(e){var t=e&42;if(t!==0)return t;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return e&-e;case 262144:case 524288:case 1048576:case 2097152:return e&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function ct(e,t,n){var r=e.pendingLanes;if(r===0)return 0;var i=0,a=e.suspendedLanes,o=e.pingedLanes;e=e.warmLanes;var s=r&134217727;return s===0?(s=r&~a,s===0?o===0?n||(n=r&~e,n!==0&&(i=st(n))):i=st(o):i=st(s)):(r=s&~a,r===0?(o&=s,o===0?n||(n=s&~e,n!==0&&(i=st(n))):i=st(o)):i=st(r)),i===0?0:t!==0&&t!==i&&(t&a)===0&&(a=i&-i,n=t&-t,a>=n||a===32&&n&4194048)?t:i}function lt(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function ut(e,t){t&8&&(t|=t&32);var n=e.entangledLanes;if(n!==0)for(e=e.entanglements,n&=t;0<n;){var r=31-et(n),i=1<<r;t|=e[r],n&=~i}return t}function dt(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function ft(){var e=ot;return ot<<=1,!(ot&62914560)&&(ot=4194304),e}function pt(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function mt(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function ht(e,t,n,r,i,a){var o=e.pendingLanes;e.pendingLanes=n,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=n,e.entangledLanes&=n,e.errorRecoveryDisabledLanes&=n,e.shellSuspendCounter=0;var s=e.entanglements,c=e.expirationTimes,l=e.hiddenUpdates;for(n=o&~n;0<n;){var u=31-et(n),d=1<<u;s[u]=0,c[u]=-1;var f=l[u];if(f!==null)for(l[u]=null,u=0;u<f.length;u++){var p=f[u];p!==null&&(p.lane&=-536870913)}n&=~d}r!==0&>(e,r,0),a!==0&&i===0&&e.tag!==0&&(e.suspendedLanes|=a&~(o&~t))}function gt(e,t,n){e.pendingLanes|=t,e.suspendedLanes&=~t;var r=31-et(t);e.entangledLanes|=t,e.entanglements[r]=e.entanglements[r]|1073741824|n&261930}function _t(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-et(n),i=1<<r;i&t|e[r]&t&&(e[r]|=t),n&=~i}}function vt(e,t){var n=t&-t;return n=n&42?1:yt(n),(n&(e.suspendedLanes|t))===0?n:0}function yt(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:e=128;break;case 268435456:e=134217728;break;default:e=0}return e}function bt(e){return e&=-e,2<e?8<e?e&134217727?32:268435456:8:2}function xt(){var e=_e.p;return e===0?(e=window.event,e===void 0?32:wh(e.type)):e}function St(e,t){var n=_e.p;try{return _e.p=e,t()}finally{_e.p=n}}var Ct=Math.random().toString(36).slice(2),wt=`__reactFiber$`+Ct,Tt=`__reactProps$`+Ct,Et=`__reactContainer$`+Ct,Dt=`__reactEvents$`+Ct,Ot=`__reactListeners$`+Ct,kt=`__reactHandles$`+Ct,At=`__reactResources$`+Ct,jt=`__reactMarker$`+Ct,Mt=`__reactLoad$`+Ct;function Nt(e){delete e[wt],delete e[Tt],delete e[Ot],delete e[kt]}function Pt(e){var t;if(t=e[wt])return t;for(var n=e.parentNode;n;){if(t=n[Et]||n[wt]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=mm(e);e!==null;){if(n=e[wt])return n;e=mm(e)}return t}e=n,n=e.parentNode}return null}function Ft(e){if(e=e[wt]||e[Et]){var t=e.tag;if(t===5||t===6||t===13||t===31||t===26||t===27||t===3)return e}return null}function It(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error(o(33))}function Lt(e){var t=e[At];return t||=e[At]={hoistableStyles:new Map,hoistableScripts:new Map},t}function Rt(e){e[jt]=!0}function zt(e){e[Mt]=void 0}var Bt=new Set,Vt={};function Ht(e,t){Ut(e,t),Ut(e+`Capture`,t)}function Ut(e,t){for(Vt[e]=t,e=0;e<t.length;e++)Bt.add(t[e])}var Wt=RegExp(`^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$`),Gt={},Kt={};function qt(e){return Le.call(Kt,e)?!0:Le.call(Gt,e)?!1:Wt.test(e)?Kt[e]=!0:(Gt[e]=!0,!1)}var Jt=!1;function Yt(){var e=Jt;return Jt=!1,e}function Xt(e,t,n){if(qt(t)){if(n===null)e.removeAttribute(t);else{switch(typeof n){case`undefined`:case`function`:case`symbol`:e.removeAttribute(t);return;case`boolean`:var r=t.toLowerCase().slice(0,5);if(r!==`data-`&&r!==`aria-`){e.removeAttribute(t);return}}e.setAttribute(t,n)}}}function Zt(e,t,n){if(n===null)e.removeAttribute(t);else{switch(typeof n){case`undefined`:case`function`:case`symbol`:case`boolean`:e.removeAttribute(t);return}e.setAttribute(t,n)}}function Qt(e,t,n,r){if(r===null)e.removeAttribute(n);else{switch(typeof r){case`undefined`:case`function`:case`symbol`:case`boolean`:e.removeAttribute(n);return}e.setAttributeNS(t,n,r)}}function $t(e){switch(typeof e){case`bigint`:case`boolean`:case`number`:case`string`:case`undefined`:return e;case`object`:return e;default:return``}}function en(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()===`input`&&(t===`checkbox`||t===`radio`)}function tn(e,t,n){var r=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);if(!e.hasOwnProperty(t)&&r!==void 0&&typeof r.get==`function`&&typeof r.set==`function`){var i=r.get,a=r.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(e){n=``+e,a.call(this,e)}}),Object.defineProperty(e,t,{enumerable:r.enumerable}),{getValue:function(){return n},setValue:function(e){n=``+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function nn(e){if(!e._valueTracker){var t=en(e)?`checked`:`value`;e._valueTracker=tn(e,t,``+e[t])}}function rn(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r=``;return e&&(r=en(e)?e.checked?`true`:`false`:e.value),e=r,e!==n&&(t.setValue(e),!0)}var L=/[\n"\\]/g;function an(e){return e.replace(L,function(e){return`\\`+e.charCodeAt(0).toString(16)+` `})}function on(e,t,n,r,i,a,o,s){e.name=``,o!=null&&typeof o!=`function`&&typeof o!=`symbol`&&typeof o!=`boolean`?e.type=o:e.removeAttribute(`type`),t==null?o!==`submit`&&o!==`reset`||e.removeAttribute(`value`):o===`number`?(t===0&&e.value===``||e.value!=t)&&(e.value=``+$t(t)):e.value!==``+$t(t)&&(e.value=``+$t(t)),t==null?n==null?r!=null&&e.removeAttribute(`value`):cn(e,$t(n)):o===`number`&&e.value==t?cn(e,$t(e.value)):cn(e,$t(t)),i==null&&a!=null&&(e.defaultChecked=!!a),i!=null&&(e.checked=i&&typeof i!=`function`&&typeof i!=`symbol`),s!=null&&typeof s!=`function`&&typeof s!=`symbol`&&typeof s!=`boolean`?e.name=``+$t(s):e.removeAttribute(`name`)}function sn(e,t,n,r,i,a,o,s){if(a!=null&&typeof a!=`function`&&typeof a!=`symbol`&&typeof a!=`boolean`&&(e.type=a),t!=null||n!=null){if(!(a!==`submit`&&a!==`reset`||t!=null)){nn(e);return}n=n==null?``:``+$t(n),t=t==null?n:``+$t(t),s||t===e.value||(e.value=t),e.defaultValue=t}r??=i,r=typeof r!=`function`&&typeof r!=`symbol`&&!!r,e.checked=s?e.checked:!!r,e.defaultChecked=!!r,o!=null&&typeof o!=`function`&&typeof o!=`symbol`&&typeof o!=`boolean`&&(e.name=o),nn(e)}function cn(e,t){e.defaultValue!==``+t&&(e.defaultValue=``+t)}function ln(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i<n.length;i++)t[`$`+n[i]]=!0;for(n=0;n<e.length;n++)i=t.hasOwnProperty(`$`+e[n].value),e[n].selected!==i&&(e[n].selected=i),i&&r&&(e[n].defaultSelected=!0)}else{for(n=``+$t(n),t=null,i=0;i<e.length;i++){if(e[i].value===n){e[i].selected=!0,r&&(e[i].defaultSelected=!0);return}t!==null||e[i].disabled||(t=e[i])}t!==null&&(t.selected=!0)}}function un(e,t,n){t!=null&&(t=``+$t(t),t!==e.value&&(e.value=t),n==null)?e.defaultValue!==t&&(e.defaultValue=t):e.defaultValue=n==null?``:``+$t(n)}function dn(e,t,n,r){if(t==null){if(r!=null){if(n!=null)throw Error(o(92));if(ge(r)){if(1<r.length)throw Error(o(93));r=r[0]}n=r}n??=``,t=n}n=$t(t),e.defaultValue=n,r=e.textContent,r===n&&r!==``&&r!==null&&(e.value=r),nn(e)}function fn(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var pn=new Set(`animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp`.split(` `));function mn(e,t,n){var r=t.indexOf(`--`)===0;n==null||typeof n==`boolean`||n===``?r?e.setProperty(t,``):t===`float`?e.cssFloat=``:e[t]=``:r?e.setProperty(t,n):typeof n!=`number`||n===0||pn.has(t)?t===`float`?e.cssFloat=n:e[t]=(``+n).trim():e[t]=n+`px`}function hn(e,t,n){if(t!=null&&typeof t!=`object`)throw Error(o(62));if(e=e.style,n!=null){for(var r in n)!n.hasOwnProperty(r)||t!=null&&t.hasOwnProperty(r)||(r.indexOf(`--`)===0?e.setProperty(r,``):r===`float`?e.cssFloat=``:e[r]=``,Jt=!0);for(var i in t)r=t[i],t.hasOwnProperty(i)&&n[i]!==r&&(mn(e,i,r),Jt=!0)}else for(var a in t)t.hasOwnProperty(a)&&mn(e,a,t[a])}function gn(e){if(e.indexOf(`-`)===-1)return!1;switch(e){case`annotation-xml`:case`color-profile`:case`font-face`:case`font-face-src`:case`font-face-uri`:case`font-face-format`:case`font-face-name`:case`missing-glyph`:return!1;default:return!0}}var _n=new Map([[`acceptCharset`,`accept-charset`],[`htmlFor`,`for`],[`httpEquiv`,`http-equiv`],[`crossOrigin`,`crossorigin`],[`accentHeight`,`accent-height`],[`alignmentBaseline`,`alignment-baseline`],[`arabicForm`,`arabic-form`],[`baselineShift`,`baseline-shift`],[`capHeight`,`cap-height`],[`clipPath`,`clip-path`],[`clipRule`,`clip-rule`],[`colorInterpolation`,`color-interpolation`],[`colorInterpolationFilters`,`color-interpolation-filters`],[`colorProfile`,`color-profile`],[`colorRendering`,`color-rendering`],[`dominantBaseline`,`dominant-baseline`],[`enableBackground`,`enable-background`],[`fillOpacity`,`fill-opacity`],[`fillRule`,`fill-rule`],[`floodColor`,`flood-color`],[`floodOpacity`,`flood-opacity`],[`fontFamily`,`font-family`],[`fontSize`,`font-size`],[`fontSizeAdjust`,`font-size-adjust`],[`fontStretch`,`font-stretch`],[`fontStyle`,`font-style`],[`fontVariant`,`font-variant`],[`fontWeight`,`font-weight`],[`glyphName`,`glyph-name`],[`glyphOrientationHorizontal`,`glyph-orientation-horizontal`],[`glyphOrientationVertical`,`glyph-orientation-vertical`],[`horizAdvX`,`horiz-adv-x`],[`horizOriginX`,`horiz-origin-x`],[`imageRendering`,`image-rendering`],[`letterSpacing`,`letter-spacing`],[`lightingColor`,`lighting-color`],[`markerEnd`,`marker-end`],[`markerMid`,`marker-mid`],[`markerStart`,`marker-start`],[`maskType`,`mask-type`],[`overlinePosition`,`overline-position`],[`overlineThickness`,`overline-thickness`],[`paintOrder`,`paint-order`],[`panose-1`,`panose-1`],[`pointerEvents`,`pointer-events`],[`renderingIntent`,`rendering-intent`],[`shapeRendering`,`shape-rendering`],[`stopColor`,`stop-color`],[`stopOpacity`,`stop-opacity`],[`strikethroughPosition`,`strikethrough-position`],[`strikethroughThickness`,`strikethrough-thickness`],[`strokeDasharray`,`stroke-dasharray`],[`strokeDashoffset`,`stroke-dashoffset`],[`strokeLinecap`,`stroke-linecap`],[`strokeLinejoin`,`stroke-linejoin`],[`strokeMiterlimit`,`stroke-miterlimit`],[`strokeOpacity`,`stroke-opacity`],[`strokeWidth`,`stroke-width`],[`textAnchor`,`text-anchor`],[`textDecoration`,`text-decoration`],[`textRendering`,`text-rendering`],[`transformOrigin`,`transform-origin`],[`underlinePosition`,`underline-position`],[`underlineThickness`,`underline-thickness`],[`unicodeBidi`,`unicode-bidi`],[`unicodeRange`,`unicode-range`],[`unitsPerEm`,`units-per-em`],[`vAlphabetic`,`v-alphabetic`],[`vHanging`,`v-hanging`],[`vIdeographic`,`v-ideographic`],[`vMathematical`,`v-mathematical`],[`vectorEffect`,`vector-effect`],[`vertAdvY`,`vert-adv-y`],[`vertOriginX`,`vert-origin-x`],[`vertOriginY`,`vert-origin-y`],[`wordSpacing`,`word-spacing`],[`writingMode`,`writing-mode`],[`xmlnsXlink`,`xmlns:xlink`],[`xHeight`,`x-height`]]),vn=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function yn(e){return vn.test(``+e)?`javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')`:e}function bn(){}var xn=null;function Sn(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Cn=null,wn=null;function Tn(e){var t=Ft(e);if(t&&(e=t.stateNode)){var n=e[Tt]||null;a:switch(e=t.stateNode,t.type){case`input`:if(on(e,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name),t=n.name,n.type===`radio`&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll(`input[name="`+an(``+t)+`"][type="radio"]`),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var i=r[Tt]||null;if(!i)throw Error(o(90));on(r,i.value,i.defaultValue,i.defaultValue,i.checked,i.defaultChecked,i.type,i.name)}}for(t=0;t<n.length;t++)r=n[t],r.form===e.form&&rn(r)}break a;case`textarea`:un(e,n.value,n.defaultValue);break a;case`select`:t=n.value,t!=null&&ln(e,!!n.multiple,t,!1)}}}var En=!1;function Dn(e,t,n){if(En)return e(t,n);En=!0;try{return e(t)}finally{if(En=!1,(Cn!==null||wn!==null)&&(Bd(),Cn&&(t=Cn,e=wn,wn=Cn=null,Tn(t),e)))for(t=0;t<e.length;t++)Tn(e[t])}}function On(e,t){var n=e.stateNode;if(n===null)return null;var r=n[Tt]||null;if(r===null)return null;n=r[t];a:switch(t){case`onClick`:case`onClickCapture`:case`onDoubleClick`:case`onDoubleClickCapture`:case`onMouseDown`:case`onMouseDownCapture`:case`onMouseMove`:case`onMouseMoveCapture`:case`onMouseUp`:case`onMouseUpCapture`:case`onMouseEnter`:(r=!r.disabled)||(e=e.type,r=e!==`button`&&e!==`input`&&e!==`select`&&e!==`textarea`),e=!r;break a;default:e=!1}if(e)return null;if(n&&typeof n!=`function`)throw Error(o(231,t,typeof n));return n}var kn=typeof window<`u`&&window.document!==void 0&&window.document.createElement!==void 0,An=!1;if(kn)try{var jn={};Object.defineProperty(jn,"passive",{get:function(){An=!0}}),window.addEventListener(`test`,jn,jn),window.removeEventListener(`test`,jn,jn)}catch{An=!1}var Mn=null,Nn=null,Pn=null;function Fn(){if(Pn)return Pn;var e,t=Nn,n=t.length,r,i=`value`in Mn?Mn.value:Mn.textContent,a=i.length;for(e=0;e<n&&t[e]===i[e];e++);var o=n-e;for(r=1;r<=o&&t[n-r]===i[a-r];r++);return Pn=i.slice(e,1<r?1-r:void 0)}function In(e){var t=e.keyCode;return`charCode`in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function Ln(){return!0}function Rn(){return!1}function R(e){function t(t,n,r,i,a){for(var o in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=i,this.target=a,this.currentTarget=null,e)e.hasOwnProperty(o)&&(t=e[o],this[o]=t?t(i):i[o]);return this.isDefaultPrevented=(i.defaultPrevented==null?!1===i.returnValue:i.defaultPrevented)?Ln:Rn,this.isPropagationStopped=Rn,this}return D(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():typeof e.returnValue!=`unknown`&&(e.returnValue=!1),this.isDefaultPrevented=Ln)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():typeof e.cancelBubble!=`unknown`&&(e.cancelBubble=!0),this.isPropagationStopped=Ln)},persist:function(){},isPersistent:Ln}),t}var zn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Bn=R(zn),Vn=D({},zn,{view:0,detail:0}),Hn=R(Vn),Un,Wn,Gn,z=D({},Vn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:nr,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return`movementX`in e?e.movementX:(e!==Gn&&(Gn&&e.type===`mousemove`?(Un=e.screenX-Gn.screenX,Wn=e.screenY-Gn.screenY):Wn=Un=0,Gn=e),Un)},movementY:function(e){return`movementY`in e?e.movementY:Wn}}),Kn=R(z),qn=R(D({},z,{dataTransfer:0})),Jn=R(D({},Vn,{relatedTarget:0})),Yn=R(D({},zn,{animationName:0,elapsedTime:0,pseudoElement:0})),Xn=R(D({},zn,{clipboardData:function(e){return`clipboardData`in e?e.clipboardData:window.clipboardData}})),Zn=R(D({},zn,{data:0})),Qn={Esc:`Escape`,Spacebar:` `,Left:`ArrowLeft`,Up:`ArrowUp`,Right:`ArrowRight`,Down:`ArrowDown`,Del:`Delete`,Win:`OS`,Menu:`ContextMenu`,Apps:`ContextMenu`,Scroll:`ScrollLock`,MozPrintableKey:`Unidentified`},$n={8:`Backspace`,9:`Tab`,12:`Clear`,13:`Enter`,16:`Shift`,17:`Control`,18:`Alt`,19:`Pause`,20:`CapsLock`,27:`Escape`,32:` `,33:`PageUp`,34:`PageDown`,35:`End`,36:`Home`,37:`ArrowLeft`,38:`ArrowUp`,39:`ArrowRight`,40:`ArrowDown`,45:`Insert`,46:`Delete`,112:`F1`,113:`F2`,114:`F3`,115:`F4`,116:`F5`,117:`F6`,118:`F7`,119:`F8`,120:`F9`,121:`F10`,122:`F11`,123:`F12`,144:`NumLock`,145:`ScrollLock`,224:`Meta`},er={Alt:`altKey`,Control:`ctrlKey`,Meta:`metaKey`,Shift:`shiftKey`};function tr(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=er[e])?!!t[e]:!1}function nr(){return tr}var rr=R(D({},Vn,{key:function(e){if(e.key){var t=Qn[e.key]||e.key;if(t!==`Unidentified`)return t}return e.type===`keypress`?(e=In(e),e===13?`Enter`:String.fromCharCode(e)):e.type===`keydown`||e.type===`keyup`?$n[e.keyCode]||`Unidentified`:``},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:nr,charCode:function(e){return e.type===`keypress`?In(e):0},keyCode:function(e){return e.type===`keydown`||e.type===`keyup`?e.keyCode:0},which:function(e){return e.type===`keypress`?In(e):e.type===`keydown`||e.type===`keyup`?e.keyCode:0}})),ir=R(D({},z,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),ar=R(D({},zn,{submitter:0})),or=R(D({},Vn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:nr})),sr=R(D({},zn,{propertyName:0,elapsedTime:0,pseudoElement:0})),cr=R(D({},z,{deltaX:function(e){return`deltaX`in e?e.deltaX:`wheelDeltaX`in e?-e.wheelDeltaX:0},deltaY:function(e){return`deltaY`in e?e.deltaY:`wheelDeltaY`in e?-e.wheelDeltaY:`wheelDelta`in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0})),lr=R(D({},zn,{newState:0,oldState:0,source:0})),ur=[9,13,27,32],dr=kn&&`CompositionEvent`in window,fr=null;kn&&`documentMode`in document&&(fr=document.documentMode);var pr=kn&&`TextEvent`in window&&!fr,mr=kn&&(!dr||fr&&8<fr&&11>=fr),hr=` `,gr=!1;function _r(e,t){switch(e){case`keyup`:return ur.indexOf(t.keyCode)!==-1;case`keydown`:return t.keyCode!==229;case`keypress`:case`mousedown`:case`focusout`:return!0;default:return!1}}function vr(e){return e=e.detail,typeof e==`object`&&`data`in e?e.data:null}var yr=!1;function br(e,t){switch(e){case`compositionend`:return vr(t);case`keypress`:return t.which===32?(gr=!0,hr):null;case`textInput`:return e=t.data,e===hr&&gr?null:e;default:return null}}function xr(e,t){if(yr)return e===`compositionend`||!dr&&_r(e,t)?(e=Fn(),Pn=Nn=Mn=null,yr=!1,e):null;switch(e){case`paste`:return null;case`keypress`:if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case`compositionend`:return mr&&t.locale!==`ko`?null:t.data;default:return null}}var Sr={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Cr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t===`input`?!!Sr[e.type]:t===`textarea`}function wr(e,t,n,r){Cn?wn?wn.push(r):wn=[r]:Cn=r,t=Yf(t,`onChange`),0<t.length&&(n=new Bn(`onChange`,`change`,null,n,r),e.push({event:n,listeners:t}))}var Tr=null,Er=null;function Dr(e){X(e,0)}function Or(e){if(rn(It(e)))return e}function kr(e,t){if(e===`change`)return t}var Ar=!1;if(kn){var jr;if(kn){var Mr=`oninput`in document;if(!Mr){var Nr=document.createElement(`div`);Nr.setAttribute(`oninput`,`return;`),Mr=typeof Nr.oninput==`function`}jr=Mr}else jr=!1;Ar=jr&&(!document.documentMode||9<document.documentMode)}function Pr(){Tr&&(Tr.detachEvent(`onpropertychange`,Fr),Er=Tr=null)}function Fr(e){if(e.propertyName===`value`&&Or(Er)){var t=[];wr(t,Er,e,Sn(e)),Dn(Dr,t)}}function Ir(e,t,n){e===`focusin`?(Pr(),Tr=t,Er=n,Tr.attachEvent(`onpropertychange`,Fr)):e===`focusout`&&Pr()}function Lr(e){if(e===`selectionchange`||e===`keyup`||e===`keydown`)return Or(Er)}function Rr(e,t){if(e===`click`)return Or(t)}function zr(e,t){if(e===`input`||e===`change`)return Or(t)}function Br(e,t){return e===t&&(e!==0||1/e==1/t)||e!==e&&t!==t}var Vr=typeof Object.is==`function`?Object.is:Br;function Hr(e,t){if(Vr(e,t))return!0;if(typeof e!=`object`||!e||typeof t!=`object`||!t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var i=n[r];if(!Le.call(t,i)||!Vr(e[i],t[i]))return!1}return!0}function Ur(e){if(e||=typeof document<`u`?document:void 0,e===void 0)return null;try{return e.activeElement||e.body}catch{return e.body}}function Wr(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Gr(e,t){var n=Wr(e);e=0;for(var r;n;){if(n.nodeType===3){if(r=e+n.textContent.length,e<=t&&r>=t)return{node:n,offset:t-e};e=r}a:{for(;n;){if(n.nextSibling){n=n.nextSibling;break a}n=n.parentNode}n=void 0}n=Wr(n)}}function Kr(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Kr(e,t.parentNode):`contains`in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function qr(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=Ur(e.document);t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href==`string`}catch{n=!1}if(n)e=t.contentWindow;else break;t=Ur(e.document)}return t}function Jr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t===`input`&&(e.type===`text`||e.type===`search`||e.type===`tel`||e.type===`url`||e.type===`password`)||t===`textarea`||e.contentEditable===`true`)}var Yr=kn&&`documentMode`in document&&11>=document.documentMode,Xr=null,Zr=null,Qr=null,$r=!1;function ei(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;$r||Xr==null||Xr!==Ur(r)||(r=Xr,`selectionStart`in r&&Jr(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),Qr&&Hr(Qr,r)||(Qr=r,r=Yf(Zr,`onSelect`),0<r.length&&(t=new Bn(`onSelect`,`select`,null,t,n),e.push({event:t,listeners:r}),t.target=Xr)))}function ti(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n[`Webkit`+e]=`webkit`+t,n[`Moz`+e]=`moz`+t,n}var ni={animationend:ti(`Animation`,`AnimationEnd`),animationiteration:ti(`Animation`,`AnimationIteration`),animationstart:ti(`Animation`,`AnimationStart`),transitionrun:ti(`Transition`,`TransitionRun`),transitionstart:ti(`Transition`,`TransitionStart`),transitioncancel:ti(`Transition`,`TransitionCancel`),transitionend:ti(`Transition`,`TransitionEnd`)},ri={},ii={};kn&&(ii=document.createElement(`div`).style,`AnimationEvent`in window||(delete ni.animationend.animation,delete ni.animationiteration.animation,delete ni.animationstart.animation),`TransitionEvent`in window||delete ni.transitionend.transition);function ai(e){if(ri[e])return ri[e];if(!ni[e])return e;var t=ni[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in ii)return ri[e]=t[n];return e}var oi=ai(`animationend`),si=ai(`animationiteration`),ci=ai(`animationstart`),li=ai(`transitionrun`),ui=ai(`transitionstart`),di=ai(`transitioncancel`),fi=ai(`transitionend`),pi=new Map,mi=`abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error fullscreenChange fullscreenError gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel`.split(` `);mi.push(`scrollEnd`);function hi(e,t){pi.set(e,t),Ht(t,[e])}var gi=0;function _i(e,t){if(e.name!=null&&e.name!==`auto`)return e.name;if(t.autoName!==null)return t.autoName;e=xd.identifierPrefix;var n=gi++;return e=`_`+e+`t_`+n.toString(32)+`_`,t.autoName=e}function vi(e){if(e==null||typeof e==`string`)return e;var t=null,n=kd;if(n!==null)for(var r=0;r<n.length;r++){var i=e[n[r]];if(i!=null){if(i===`none`)return`none`;t=t==null?i:t+(` `+i)}}return t??e.default}function yi(e,t){return e=vi(e),t=vi(t),t==null?e===`auto`?null:e:t===`auto`?null:t}var bi=typeof reportError==`function`?reportError:function(e){if(typeof window==`object`&&typeof window.ErrorEvent==`function`){var t=new window.ErrorEvent(`error`,{bubbles:!0,cancelable:!0,message:typeof e==`object`&&e&&typeof e.message==`string`?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process==`object`&&typeof process.emit==`function`){process.emit(`uncaughtException`,e);return}console.error(e)},xi=[],Si=0,Ci=0;function wi(){for(var e=Si,t=Ci=Si=0;t<e;){var n=xi[t];xi[t++]=null;var r=xi[t];xi[t++]=null;var i=xi[t];xi[t++]=null;var a=xi[t];if(xi[t++]=null,r!==null&&i!==null){var o=r.pending;o===null?i.next=i:(i.next=o.next,o.next=i),r.pending=i}a!==0&&Oi(n,i,a)}}function Ti(e,t,n,r){xi[Si++]=e,xi[Si++]=t,xi[Si++]=n,xi[Si++]=r,Ci|=r,e.lanes|=r,e=e.alternate,e!==null&&(e.lanes|=r)}function Ei(e,t,n,r){return Ti(e,t,n,r),ki(e)}function Di(e,t){return Ti(e,null,null,t),ki(e)}function Oi(e,t,n){e.lanes|=n;var r=e.alternate;r!==null&&(r.lanes|=n);for(var i=!1,a=e.return;a!==null;)a.childLanes|=n,r=a.alternate,r!==null&&(r.childLanes|=n),a.tag===22&&(e=a.stateNode,e===null||e._visibility&1||(i=!0)),e=a,a=a.return;return e.tag===3?(a=e.stateNode,i&&t!==null&&(i=31-et(n),e=a.hiddenUpdates,r=e[i],r===null?e[i]=[t]:r.push(t),t.lane=n|536870912),a):null}function ki(e){if(50<Ad)throw Ad=0,jd=null,Error(o(185));for(var t=e.return;t!==null;)e=t,t=e.return;return e.tag===3?e.stateNode:null}var Ai={};function ji(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Mi(e,t,n,r){return new ji(e,t,n,r)}function Ni(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Pi(e,t){var n=e.alternate;return n===null?(n=Mi(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&1206910976,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n.refCleanup=e.refCleanup,n}function Fi(e,t){e.flags&=1206910978;var n=e.alternate;return n===null?(e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null):(e.childLanes=n.childLanes,e.lanes=n.lanes,e.child=n.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=n.memoizedProps,e.memoizedState=n.memoizedState,e.updateQueue=n.updateQueue,e.type=n.type,t=n.dependencies,e.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext}),e}function Ii(e,t,n,r,i,a){var s=0;if(r=e,typeof r==`function`)Ni(r)&&(s=1);else if(typeof r==`string`)s=Jm(e,n,Ce.current)?26:e===`html`||e===`head`||e===`body`?27:5;else a:switch(r){case se:return e=Mi(31,n,t,i),e.elementType=se,e.lanes=a,e;case j:return Li(n.children,i,a,t);case M:s=8,i|=24;break;case ee:return e=Mi(12,n,t,i|2),e.elementType=ee,e.lanes=a,e;case re:return e=Mi(13,n,t,i),e.elementType=re,e.lanes=a,e;case ie:return e=Mi(19,n,t,i),e.elementType=ie,e.lanes=a,e;case ce:case ue:return e=i|32,e=Mi(30,n,t,e),e.elementType=ue,e.lanes=a,e.stateNode={autoName:null,paired:null,clones:null,ref:null},e;default:if(typeof r==`object`&&r)switch(r.$$typeof){case N:s=10;break a;case te:s=9;break a;case ne:s=11;break a;case ae:s=14;break a;case oe:s=16,r=null;break a}s=29,n=Error(o(130,e===null?`null`:typeof e,``)),r=null}return t=Mi(s,n,t,i),t.elementType=e,t.type=r,t.lanes=a,t}function Li(e,t,n,r){return e=Mi(7,e,r,t),e.lanes=n,e}function Ri(e,t,n){return e=Mi(6,e,null,t),e.lanes=n,e}function zi(e){var t=Mi(18,null,null,0);return t.stateNode=e,t}function Bi(e,t,n){return t=Mi(4,e.children===null?[]:e.children,e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}var Vi=new WeakMap;function Hi(e,t){if(typeof e==`object`&&e){var n=Vi.get(e);return n===void 0?(t={value:e,source:t,stack:Ie(t)},Vi.set(e,t),t):n}return{value:e,source:t,stack:Ie(t)}}var Ui=[],Wi=0,Gi=null,Ki=0,qi=[],Ji=0,Yi=null,Xi=1,Zi=``;function Qi(e,t){Ui[Wi++]=Ki,Ui[Wi++]=Gi,Gi=e,Ki=t}function $i(e,t,n){qi[Ji++]=Xi,qi[Ji++]=Zi,qi[Ji++]=Yi,Yi=e;var r=Xi;e=Zi;var i=32-et(r)-1;r&=~(1<<i),n+=1;var a=32-et(t)+i;if(30<a){var o=i-i%5;a=(r&(1<<o)-1).toString(32),r>>=o,i-=o,Xi=1<<32-et(t)+i|n<<i|r,Zi=a+e}else Xi=1<<a|n<<i|r,Zi=e}function ea(e){e.return!==null&&(Qi(e,1),$i(e,1,0))}function ta(e){for(;e===Gi;)Gi=Ui[--Wi],Ui[Wi]=null,Ki=Ui[--Wi],Ui[Wi]=null;for(;e===Yi;)Yi=qi[--Ji],qi[Ji]=null,Zi=qi[--Ji],qi[Ji]=null,Xi=qi[--Ji],qi[Ji]=null}function na(e,t){qi[Ji++]=Xi,qi[Ji++]=Zi,qi[Ji++]=Yi,Xi=t.id,Zi=t.overflow,Yi=e}var ra=null,ia=null,B=!1,aa=null,oa=!1,sa=Error(o(519));function ca(e){throw ma(Hi(Error(o(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?`text`:`HTML`,``)),e)),sa}function la(e){var t=e.stateNode,n=e.type,r=e.memoizedProps;switch(t[wt]=e,t[Tt]=r,n){case`dialog`:Z(`cancel`,t),Z(`close`,t);break;case`iframe`:case`object`:case`embed`:Z(`load`,t);break;case`video`:case`audio`:for(n=0;n<Vf.length;n++)Z(Vf[n],t);break;case`source`:Z(`error`,t);break;case`img`:case`image`:case`link`:Z(`error`,t),Z(`load`,t);break;case`details`:Z(`toggle`,t);break;case`input`:Z(`invalid`,t),sn(t,r.value,r.defaultValue,r.checked,r.defaultChecked,r.type,r.name,!0);break;case`select`:Z(`invalid`,t);break;case`textarea`:Z(`invalid`,t),dn(t,r.value,r.defaultValue,r.children)}n=r.children,typeof n!=`string`&&typeof n!=`number`&&typeof n!=`bigint`||t.textContent===``+n||!0===r.suppressHydrationWarning||tp(t.textContent,n)?(r.popover!=null&&(Z(`beforetoggle`,t),Z(`toggle`,t)),r.onScroll!=null&&Z(`scroll`,t),r.onScrollEnd!=null&&Z(`scrollend`,t),r.onClick!=null&&(t.onclick=bn),t=!0):t=!1,t||ca(e,!0)}function ua(e){for(ra=e.return;ra;)switch(ra.tag){case 5:case 31:case 13:oa=!1;return;case 27:case 3:oa=!0;return;default:ra=ra.return}}function da(e){if(e!==ra)return!1;if(!B)return ua(e),B=!0,!1;var t=e.tag,n;if((n=t!==3&&t!==27)&&((n=t===5)&&(n=e.type,n=n===`form`||n===`button`||hp(e.type,e.memoizedProps)),n=!n),n&&ia&&ca(e),ua(e),t===13){if(e=e.memoizedState,e=e===null?null:e.dehydrated,!e)throw Error(o(317));ia=pm(e)}else if(t===31){if(e=e.memoizedState,e=e===null?null:e.dehydrated,!e)throw Error(o(317));ia=pm(e)}else t===27?(t=ia,wp(e.type)?(e=fm,fm=null,ia=e):ia=t):ia=ra?dm(e.stateNode.nextSibling):null;return!0}function fa(){ia=ra=null,B=!1}function pa(){var e=aa;return e!==null&&(pd===null?pd=e:pd.push.apply(pd,e),aa=null),e}function ma(e){aa===null?aa=[e]:aa.push(e)}var ha=xe(null),ga=null,_a=null;function va(e,t,n){F(ha,t._currentValue),t._currentValue=n}function ya(e){e._currentValue=ha.current,Se(ha)}function ba(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)===t?r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t):(e.childLanes|=t,r!==null&&(r.childLanes|=t)),e===n)break;e=e.return}}function xa(e,t,n,r){var i=e.child;for(i!==null&&(i.return=e);i!==null;){var a=i.dependencies;if(a!==null){var s=i.child;a=a.firstContext;a:for(;a!==null;){var c=a;a=i;for(var l=0;l<t.length;l++)if(c.context===t[l]){a.lanes|=n,c=a.alternate,c!==null&&(c.lanes|=n),ba(a.return,n,e),r||(s=null);break a}a=c.next}}else if(i.tag===18){if(s=i.return,s===null)throw Error(o(341));s.lanes|=n,a=s.alternate,a!==null&&(a.lanes|=n),ba(s,n,e),s=null}else i.tag===13&&i.memoizedState!==null&&i.memoizedState.dehydrated===null?(i.lanes|=n,s=i.alternate,s!==null&&(s.lanes|=n),ba(i.return,n,e),s=i.child,s=s===null?null:s.sibling):s=i.child;if(s!==null)s.return=i;else for(s=i;s!==null;){if(s===e){s=null;break}if(i=s.sibling,i!==null){i.return=s.return,s=i;break}s=s.return}i=s}}function Sa(e,t,n,r){e=null;for(var i=t,a=!1;i!==null;){if(!a){if(i.flags&524288)a=!0;else if(i.flags&262144)break}if(i.tag===10){var s=i.alternate;if(s===null)throw Error(o(387));if(s=s.memoizedProps,s!==null){var c=i.type;Vr(i.pendingProps.value,s.value)||(e===null?e=[c]:e.push(c))}}else if(i===Te.current){if(s=i.alternate,s===null)throw Error(o(387));s.memoizedState.memoizedState!==i.memoizedState.memoizedState&&(e===null?e=[ch]:e.push(ch))}i=i.return}return e!==null&&xa(t,e,n,r),t.flags|=262144,e!==null}function Ca(e){for(e=e.firstContext;e!==null;){if(!Vr(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function wa(e){ga=e,_a=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function Ta(e){return Da(ga,e)}function Ea(e,t){return ga===null&&wa(e),Da(e,t)}function Da(e,t){var n=t._currentValue;if(t={context:t,memoizedValue:n,next:null},_a===null){if(e===null)throw Error(o(308));_a=t,e.dependencies={lanes:0,firstContext:t},e.flags|=524288}else _a=_a.next=t;return n}var Oa=typeof AbortController<`u`?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(t,n){e.push(n)}};this.abort=function(){t.aborted=!0,e.forEach(function(e){return e()})}},ka=t.unstable_scheduleCallback,Aa=t.unstable_NormalPriority,ja={$$typeof:N,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Ma(){return{controller:new Oa,data:new Map,refCount:0}}function Na(e){e.refCount--,e.refCount===0&&ka(Aa,function(){e.controller.abort()})}function Pa(e,t){if(e.pendingLanes&4194048){var n=e.transitionTypes;for(n===null&&(n=e.transitionTypes=[]),e=0;e<t.length;e++){var r=t[e];n.indexOf(r)===-1&&n.push(r)}}}var Fa=null;function Ia(e){var t=e.transitionTypes;return e.transitionTypes=null,t}var La=null,Ra=0,za=0,Ba=null;function Va(e,t){if(La===null){var n=La=[];Ra=0,za=If(),Ba={status:`pending`,value:void 0,then:function(e){n.push(e)}}}return Ra++,t.then(Ha,Ha),t}function Ha(){if(--Ra===0&&(Fa=null,La!==null)){Ba!==null&&(Ba.status=`fulfilled`);var e=La;La=null,za=0,Ba=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function Ua(e,t){var n=[],r={status:`pending`,value:null,reason:null,then:function(e){n.push(e)}};return e.then(function(){r.status=`fulfilled`,r.value=t;for(var e=0;e<n.length;e++)(0,n[e])(t)},function(e){for(r.status=`rejected`,r.reason=e,e=0;e<n.length;e++)(0,n[e])(void 0)}),r}var Wa=P.S;P.S=function(e,t){if(gd=He(),typeof t==`object`&&t&&typeof t.then==`function`&&Va(e,t),Fa!==null)for(var n=Sf;n!==null;)Pa(n,Fa),n=n.next;if(n=e.types,n!==null){for(var r=Sf;r!==null;)Pa(r,n),r=r.next;if(za!==0){r=Fa,r===null&&(r=Fa=[]);for(var i=0;i<n.length;i++){var a=n[i];r.indexOf(a)===-1&&r.push(a)}}}Wa!==null&&Wa(e,t)};var Ga=xe(null);function Ka(){var e=Ga.current;return e===null?$u.pooledCache:e}function qa(e,t){t===null?F(Ga,Ga.current):F(Ga,t.pool)}function Ja(){var e=Ka();return e===null?null:{parent:ja._currentValue,pool:e}}var Ya=Error(o(460)),Xa=Error(o(474)),Za=Error(o(542)),Qa={then:function(){}};function $a(e){return e=e.status,e===`fulfilled`||e===`rejected`}function eo(e,t,n){switch(n=e[n],n===void 0?e.push(t):n!==t&&(t.then(bn,bn),t=n),t.status){case`fulfilled`:return t.value;case`rejected`:throw e=t.reason,io(e),e===void 0&&!(`reason`in t)?Error(o(600)):e;default:if(typeof t.status==`string`)t.then(bn,bn);else{if(e=$u,e!==null&&100<e.shellSuspendCounter)throw Error(o(482));e=t,e.status=`pending`,e.then(function(e){if(t.status===`pending`){var n=t;n.status=`fulfilled`,n.value=e}},function(e){if(t.status===`pending`){var n=t;n.status=`rejected`,n.reason=e}})}switch(t.status){case`fulfilled`:return t.value;case`rejected`:throw e=t.reason,io(e),e}throw no=t,Ya}}function to(e){try{var t=e._init;return t(e._payload)}catch(e){throw typeof e==`object`&&e&&typeof e.then==`function`?(no=e,Ya):e}}var no=null;function ro(){if(no===null)throw Error(o(459));var e=no;return no=null,e}function io(e){if(e===Ya||e===Za)throw Error(o(483))}var ao=null,oo=0;function so(e){var t=oo;return oo+=1,ao===null&&(ao=[]),eo(ao,e,t)}function co(e,t){t=t.props.ref,e.ref=t===void 0?null:t}function lo(e,t){throw t.$$typeof===O?Error(o(525)):(e=Object.prototype.toString.call(t),Error(o(31,e===`[object Object]`?`object with keys {`+Object.keys(t).join(`, `)+`}`:e)))}function uo(e){function t(t,n){if(e){var r=t.deletions;r===null?(t.deletions=[n],t.flags|=16):r.push(n)}}function n(n,r){if(!e)return null;for(;r!==null;)t(n,r),r=r.sibling;return null}function r(e){for(var t=new Map;e!==null;)e.key===null?t.set(e.index,e):t.set(e.key,e),e=e.sibling;return t}function i(e,t){return e=Pi(e,t),e.index=0,e.sibling=null,e}function a(t,n,r){return t.index=r,e?(r=t.alternate,r===null?(t.flags|=134217730,n):(r=r.index,r<n?(t.flags|=2,n):r)):(t.flags|=1048576,n)}function s(t){return e&&t.alternate===null&&(t.flags|=134217730),t}function c(e,t,n,r){return t===null||t.tag!==6?(t=Ri(n,e.mode,r),t.return=e,t):(t=i(t,n),t.return=e,t)}function l(e,t,n,r){var a=n.type;return a===j?(e=d(e,t,n.props.children,r,n.key),co(e,n),e):t!==null&&(t.elementType===a||typeof a==`object`&&a&&a.$$typeof===oe&&to(a)===t.type)?(t=i(t,n.props),co(t,n),t.return=e,t):(t=Ii(n.type,n.key,n.props,null,e.mode,r),co(t,n),t.return=e,t)}function u(e,t,n,r){return t===null||t.tag!==4||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?(t=Bi(n,e.mode,r),t.return=e,t):(t=i(t,n.children||[]),t.return=e,t)}function d(e,t,n,r,a){return t===null||t.tag!==7?(t=Li(n,e.mode,r,a),t.return=e,t):(t=i(t,n),t.return=e,t)}function f(e,t,n){if(typeof t==`string`&&t!==``||typeof t==`number`||typeof t==`bigint`)return t=Ri(``+t,e.mode,n),t.return=e,t;if(typeof t==`object`&&t){switch(t.$$typeof){case k:return n=Ii(t.type,t.key,t.props,null,e.mode,n),co(n,t),n.return=e,n;case A:return t=Bi(t,e.mode,n),t.return=e,t;case oe:return t=to(t),f(e,t,n)}if(ge(t)||pe(t))return t=Li(t,e.mode,n,null),t.return=e,t;if(typeof t.then==`function`)return f(e,so(t),n);if(t.$$typeof===N)return f(e,Ea(e,t),n);lo(e,t)}return null}function p(e,t,n,r){var i=t===null?null:t.key;if(typeof n==`string`&&n!==``||typeof n==`number`||typeof n==`bigint`)return i===null?c(e,t,``+n,r):null;if(typeof n==`object`&&n){switch(n.$$typeof){case k:return n.key===i?l(e,t,n,r):null;case A:return n.key===i?u(e,t,n,r):null;case oe:return n=to(n),p(e,t,n,r)}if(ge(n)||pe(n))return i===null?d(e,t,n,r,null):null;if(typeof n.then==`function`)return p(e,t,so(n),r);if(n.$$typeof===N)return p(e,t,Ea(e,n),r);lo(e,n)}return null}function m(e,t,n,r,i){if(typeof r==`string`&&r!==``||typeof r==`number`||typeof r==`bigint`)return e=e.get(n)||null,c(t,e,``+r,i);if(typeof r==`object`&&r){switch(r.$$typeof){case k:return e=e.get(r.key===null?n:r.key)||null,l(t,e,r,i);case A:return e=e.get(r.key===null?n:r.key)||null,u(t,e,r,i);case oe:return r=to(r),m(e,t,n,r,i)}if(ge(r)||pe(r))return e=e.get(n)||null,d(t,e,r,i,null);if(typeof r.then==`function`)return m(e,t,n,so(r),i);if(r.$$typeof===N)return m(e,t,n,Ea(t,r),i);lo(t,r)}return null}function h(i,o,s,c){for(var l=null,u=null,d=o,h=o=0,g=null;d!==null&&h<s.length;h++){d.index>h?(g=d,d=null):g=d.sibling;var _=p(i,d,s[h],c);if(_===null){d===null&&(d=g);break}e&&d&&_.alternate===null&&t(i,d),o=a(_,o,h),u===null?l=_:u.sibling=_,u=_,d=g}if(h===s.length)return n(i,d),B&&Qi(i,h),l;if(d===null){for(;h<s.length;h++)d=f(i,s[h],c),d!==null&&(o=a(d,o,h),u===null?l=d:u.sibling=d,u=d);return B&&Qi(i,h),l}for(d=r(d);h<s.length;h++)g=m(d,i,h,s[h],c),g!==null&&(e&&(_=g.alternate,_!==null&&d.delete(_.key===null?h:_.key)),o=a(g,o,h),u===null?l=g:u.sibling=g,u=g);return e&&d.forEach(function(e){return t(i,e)}),B&&Qi(i,h),l}function g(i,s,c,l){if(c==null)throw Error(o(151));for(var u=null,d=null,h=s,g=s=0,_=null,v=c.next();h!==null&&!v.done;g++,v=c.next()){h.index>g?(_=h,h=null):_=h.sibling;var y=p(i,h,v.value,l);if(y===null){h===null&&(h=_);break}e&&h&&y.alternate===null&&t(i,h),s=a(y,s,g),d===null?u=y:d.sibling=y,d=y,h=_}if(v.done)return n(i,h),B&&Qi(i,g),u;if(h===null){for(;!v.done;g++,v=c.next())v=f(i,v.value,l),v!==null&&(s=a(v,s,g),d===null?u=v:d.sibling=v,d=v);return B&&Qi(i,g),u}for(h=r(h);!v.done;g++,v=c.next())v=m(h,i,g,v.value,l),v!==null&&(e&&(_=v.alternate,_!==null&&h.delete(_.key===null?g:_.key)),s=a(v,s,g),d===null?u=v:d.sibling=v,d=v);return e&&h.forEach(function(e){return t(i,e)}),B&&Qi(i,g),u}function _(e,r,a,c){if(typeof a==`object`&&a&&a.type===j&&a.key===null&&a.props.ref===void 0&&(a=a.props.children),typeof a==`object`&&a){switch(a.$$typeof){case k:a:{for(var l=a.key;r!==null;){if(r.key===l){if(l=a.type,l===j){if(r.tag===7){n(e,r.sibling),c=i(r,a.props.children),co(c,a),c.return=e,e=c;break a}}else if(r.elementType===l||typeof l==`object`&&l&&l.$$typeof===oe&&to(l)===r.type){n(e,r.sibling),c=i(r,a.props),co(c,a),c.return=e,e=c;break a}n(e,r);break}t(e,r),r=r.sibling}a.type===j?(c=Li(a.props.children,e.mode,c,a.key),co(c,a),c.return=e,e=c):(c=Ii(a.type,a.key,a.props,null,e.mode,c),co(c,a),c.return=e,e=c)}return s(e);case A:a:{for(l=a.key;r!==null;){if(r.key===l){if(r.tag===4&&r.stateNode.containerInfo===a.containerInfo&&r.stateNode.implementation===a.implementation){n(e,r.sibling),c=i(r,a.children||[]),c.return=e,e=c;break a}n(e,r);break}t(e,r),r=r.sibling}c=Bi(a,e.mode,c),c.return=e,e=c}return s(e);case oe:return a=to(a),_(e,r,a,c)}if(ge(a))return h(e,r,a,c);if(pe(a)){if(l=pe(a),typeof l!=`function`)throw Error(o(150));return a=l.call(a),g(e,r,a,c)}if(typeof a.then==`function`)return _(e,r,so(a),c);if(a.$$typeof===N)return _(e,r,Ea(e,a),c);lo(e,a)}return typeof a==`string`&&a!==``||typeof a==`number`||typeof a==`bigint`?(a=``+a,r!==null&&r.tag===6?(n(e,r.sibling),c=i(r,a),c.return=e,e=c):(n(e,r),c=Ri(a,e.mode,c),c.return=e,e=c),s(e)):n(e,r)}return function(e,t,n,r){try{oo=0;var i=_(e,t,n,r);return ao=null,i}catch(t){if(t===Ya||t===Za)throw t;var a=Mi(29,t,null,e.mode);return a.lanes=r,a.return=e,a}}}var fo=uo(!0),po=uo(!1),mo=!1;function ho(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function go(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function _o(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function vo(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,Qu&2){var i=r.pending;return i===null?t.next=t:(t.next=i.next,i.next=t),r.pending=t,t=ki(e),Oi(e,null,n),t}return Ti(e,r,t,n),ki(e)}function yo(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,n&4194048)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,_t(e,n)}}function bo(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var i=null,a=null;if(n=n.firstBaseUpdate,n!==null){do{var o={lane:n.lane,tag:n.tag,payload:n.payload,callback:null,next:null};a===null?i=a=o:a=a.next=o,n=n.next}while(n!==null);a===null?i=a=t:a=a.next=t}else i=a=t;n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:a,shared:r.shared,callbacks:r.callbacks},e.updateQueue=n}else e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}var xo=!1;function So(){if(xo){var e=Ba;if(e!==null)throw e}}function Co(e,t,n,r){xo=!1;var i=e.updateQueue;mo=!1;var a=i.firstBaseUpdate,o=i.lastBaseUpdate,s=i.shared.pending;if(s!==null){i.shared.pending=null;var c=s,l=c.next;c.next=null,o===null?a=l:o.next=l,o=c;var u=e.alternate;u!==null&&(u=u.updateQueue,s=u.lastBaseUpdate,s!==o&&(s===null?u.firstBaseUpdate=l:s.next=l,u.lastBaseUpdate=c))}if(a!==null){var d=i.baseState;o=0,u=l=c=null,s=a;do{var f=s.lane&-536870913,p=f!==s.lane;if(p?(Y&f)===f:(r&f)===f){f!==0&&f===za&&(xo=!0),u!==null&&(u=u.next={lane:0,tag:s.tag,payload:s.payload,callback:null,next:null});a:{var m=e,h=s;f=t;var g=n;switch(h.tag){case 1:if(m=h.payload,typeof m==`function`){d=m.call(g,d,f);break a}d=m;break a;case 3:m.flags=m.flags&-65537|128;case 0:if(m=h.payload,f=typeof m==`function`?m.call(g,d,f):m,f==null)break a;d=D({},d,f);break a;case 2:mo=!0}}f=s.callback,f!==null&&(e.flags|=64,p&&(e.flags|=8192),p=i.callbacks,p===null?i.callbacks=[f]:p.push(f))}else p={lane:f,tag:s.tag,payload:s.payload,callback:s.callback,next:null},u===null?(l=u=p,c=d):u=u.next=p,o|=f;if(s=s.next,s===null){if(s=i.shared.pending,s===null)break;p=s,s=p.next,p.next=null,i.lastBaseUpdate=p,i.shared.pending=null}}while(1);u===null&&(c=d),i.baseState=c,i.firstBaseUpdate=l,i.lastBaseUpdate=u,a===null&&(i.shared.lanes=0),sd|=o,e.lanes=o,e.memoizedState=d}}function wo(e,t){if(typeof e!=`function`)throw Error(o(191,e));e.call(t)}function To(e,t){var n=e.callbacks;if(n!==null)for(e.callbacks=null,e=0;e<n.length;e++)wo(n[e],t)}var Eo=xe(null),Do=xe(0);function Oo(e,t){e=ad,F(Do,e),F(Eo,t),ad=e|t.baseLanes}function ko(){F(Do,ad),F(Eo,Eo.current)}function Ao(){ad=Do.current,Se(Eo),Se(Do)}var jo=xe(null),Mo=null;function No(e){var t=e.alternate;F(Ro,Ro.current&1),F(jo,e),Mo===null&&(t===null||Eo.current!==null||t.memoizedState!==null)&&(Mo=e)}function Po(e){F(Ro,Ro.current),F(jo,e),Mo===null&&(Mo=e)}function Fo(e){e.tag===22?(F(Ro,Ro.current),F(jo,e),Mo===null&&(Mo=e)):Io()}function Io(){F(Ro,Ro.current),F(jo,jo.current)}function Lo(e){Se(jo),Mo===e&&(Mo=null),Se(Ro)}var Ro=xe(0);function zo(e,t){F(jo,jo.current),F(Ro,t)}function Bo(e){Se(Ro),Se(jo),Mo===e&&(Mo=null)}function Vo(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||cm(n)||lm(n)))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==`independent`){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Ho=0,V=null,Uo=null,Wo=null,Go=!1,Ko=!1,qo=!1,Jo=0,Yo=0,Xo=null,Zo=0;function Qo(){throw Error(o(321))}function $o(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!Vr(e[n],t[n]))return!1;return!0}function es(e,t,n,r,i,a){return Ho=a,V=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,P.H=e===null||e.memoizedState===null?_c:vc,qo=!1,a=n(r,i),qo=!1,Ko&&(a=ns(t,n,r,i)),ts(e),a}function ts(e){P.H=gc;var t=Uo!==null&&Uo.next!==null;if(Ho=0,Wo=Uo=V=null,Go=!1,Yo=0,Xo=null,t)throw Error(o(300));e===null||Fc||(e=e.dependencies,e!==null&&Ca(e)&&(Fc=!0))}function ns(e,t,n,r){V=e;var i=0;do{if(Ko&&(Xo=null),Yo=0,Ko=!1,25<=i)throw Error(o(301));if(i+=1,Wo=Uo=null,e.updateQueue!=null){var a=e.updateQueue;a.lastEffect=null,a.events=null,a.stores=null,a.memoCache!=null&&(a.memoCache.index=0)}P.H=yc,a=t(n,r)}while(Ko);return a}function rs(){var e=P.H,t=e.useState()[0];return t=typeof t.then==`function`?us(t):t,e=e.useState()[0],(Uo===null?null:Uo.memoizedState)!==e&&(V.flags|=1024),t}function is(){var e=Jo!==0;return Jo=0,e}function as(e,t,n){t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~n}function os(e){if(Go){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}Go=!1}Ho=0,Wo=Uo=V=null,Ko=!1,Yo=Jo=0,Xo=null}function ss(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Wo===null?V.memoizedState=Wo=e:Wo=Wo.next=e,Wo}function cs(){if(Uo===null){var e=V.alternate;e=e===null?null:e.memoizedState}else e=Uo.next;var t=Wo===null?V.memoizedState:Wo.next;if(t!==null)Wo=t,Uo=e;else{if(e===null)throw V.alternate===null?Error(o(467)):Error(o(310));Uo=e,e={memoizedState:Uo.memoizedState,baseState:Uo.baseState,baseQueue:Uo.baseQueue,queue:Uo.queue,next:null},Wo===null?V.memoizedState=Wo=e:Wo=Wo.next=e}return Wo}function ls(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function us(e){var t=Yo;return Yo+=1,Xo===null&&(Xo=[]),e=eo(Xo,e,t),t=V,(Wo===null?t.memoizedState:Wo.next)===null&&(t=t.alternate,P.H=t===null||t.memoizedState===null?_c:vc),e}function ds(e){if(typeof e==`object`&&e){if(typeof e.then==`function`)return us(e);if(e.$$typeof===de)return;if(e.$$typeof===N)return Ta(e)}throw Error(o(438,String(e)))}function fs(e){var t=null,n=V.updateQueue;if(n!==null&&(t=n.memoCache),t==null){var r=V.alternate;r!==null&&(r=r.updateQueue,r!==null&&(r=r.memoCache,r!=null&&(t={data:r.data.map(function(e){return e.slice()}),index:0})))}if(t??={data:[],index:0},n===null&&(n=ls(),V.updateQueue=n),n.memoCache=t,n=t.data[t.index],n===void 0)for(n=t.data[t.index]=Array(e),r=0;r<e;r++)n[r]=le;return t.index++,n}function ps(e,t){return typeof t==`function`?t(e):t}function ms(e){return hs(cs(),Uo,e)}function hs(e,t,n){var r=e.queue;if(r===null)throw Error(o(311));r.lastRenderedReducer=n;var i=e.baseQueue,a=r.pending;if(a!==null){if(i!==null){var s=i.next;i.next=a.next,a.next=s}t.baseQueue=i=a,r.pending=null}if(a=e.baseState,i===null)e.memoizedState=a;else{t=i.next;var c=s=null,l=null,u=t,d=!1;do{var f=u.lane&-536870913;if(f===u.lane?(Ho&f)===f:(Y&f)===f){var p=u.revertLane;if(p===0)l!==null&&(l=l.next={lane:0,revertLane:0,gesture:null,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),f===za&&(d=!0);else if((Ho&p)===p){u=u.next,p===za&&(d=!0);continue}else f={lane:0,revertLane:u.revertLane,gesture:null,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null},l===null?(c=l=f,s=a):l=l.next=f,V.lanes|=p,sd|=p;f=u.action,qo&&n(a,f),a=u.hasEagerState?u.eagerState:n(a,f)}else p={lane:f,revertLane:u.revertLane,gesture:u.gesture,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null},l===null?(c=l=p,s=a):l=l.next=p,V.lanes|=f,sd|=f;u=u.next}while(u!==null&&u!==t);if(l===null?s=a:l.next=c,!Vr(a,e.memoizedState)&&(Fc=!0,d&&(n=Ba,n!==null)))throw n;e.memoizedState=a,e.baseState=s,e.baseQueue=l,r.lastRenderedState=a}return i===null&&(r.lanes=0),[e.memoizedState,r.dispatch]}function gs(e){var t=cs(),n=t.queue;if(n===null)throw Error(o(311));n.lastRenderedReducer=e;var r=n.dispatch,i=n.pending,a=t.memoizedState;if(i!==null){n.pending=null;var s=i=i.next;do a=e(a,s.action),s=s.next;while(s!==i);Vr(a,t.memoizedState)||(Fc=!0),t.memoizedState=a,t.baseQueue===null&&(t.baseState=a),n.lastRenderedState=a}return[a,r]}function _s(e,t,n){var r=V,i=cs(),a=B;if(a){if(n===void 0)throw Error(o(407));n=n()}else n=t();var s=!Vr((Uo||i).memoizedState,n);if(s&&(i.memoizedState=n,Fc=!0),i=i.queue,Hs(bs.bind(null,r,i,e),[e]),e=i.getSnapshot!==t||s||Wo!==null&&!!(Wo.memoizedState.tag&1),Ls(e?9:8,{destroy:void 0},ys.bind(null,r,i,n,t),null),e){if(r.flags|=2048,$u===null)throw Error(o(349));a||Ho&127||vs(r,t,n)}return n}function vs(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=V.updateQueue,t===null?(t=ls(),V.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function ys(e,t,n,r){t.value=n,t.getSnapshot=r,xs(t)&&Ss(e)}function bs(e,t,n){return n(function(){xs(t)&&Ss(e)})}function xs(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!Vr(e,n)}catch{return!0}}function Ss(e){var t=Di(e,2);t!==null&&Fd(t,e,2)}function Cs(e){var t=ss();if(typeof e==`function`){var n=e;if(e=n(),qo){$e(!0);try{n()}finally{$e(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:ps,lastRenderedState:e},t}function ws(e,t,n,r){return e.baseState=n,hs(e,Uo,typeof r==`function`?r:ps)}function Ts(e,t,n,r,i){if(pc(e))throw Error(o(485));if(e=t.action,e!==null){var a={payload:i,action:e,next:null,isTransition:!0,status:`pending`,value:null,reason:null,listeners:[],then:function(e){a.listeners.push(e)}};P.T===null?a.isTransition=!1:n(!0),r(a),n=t.pending,n===null?(a.next=t.pending=a,Es(t,a)):(a.next=n.next,t.pending=n.next=a)}}function Es(e,t){var n=t.action,r=t.payload,i=e.state;if(t.isTransition){var a=P.T,o={};o.types=a===null?null:a.types,P.T=o;try{var s=n(i,r),c=P.S;c!==null&&c(o,s),Ds(e,t,s)}catch(n){ks(e,t,n)}finally{a!==null&&o.types!==null&&(a.types=o.types),P.T=a}}else try{a=n(i,r),Ds(e,t,a)}catch(n){ks(e,t,n)}}function Ds(e,t,n){typeof n==`object`&&n&&typeof n.then==`function`?n.then(function(n){Os(e,t,n)},function(n){return ks(e,t,n)}):Os(e,t,n)}function Os(e,t,n){t.status=`fulfilled`,t.value=n,As(t),e.state=n,t=e.pending,t!==null&&(n=t.next,n===t?e.pending=null:(n=n.next,t.next=n,Es(e,n)))}function ks(e,t,n){var r=e.pending;if(e.pending=null,r!==null){r=r.next;do t.status=`rejected`,t.reason=n,As(t),t=t.next;while(t!==r)}e.action=null}function As(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function js(e,t){return t}function Ms(e,t){if(B){var n=$u.formState;if(n!==null){a:{var r=V;if(B){if(ia){b:{for(var i=ia,a=oa;i.nodeType!==8;)if(!a||(i=dm(i.nextSibling),i===null)){i=null;break b}a=i.data,i=a===`F!`||a===`F`?i:null}if(i){ia=dm(i.nextSibling),r=i.data===`F!`;break a}}ca(r)}r=!1}r&&(t=n[0])}}return n=ss(),n.memoizedState=n.baseState=t,r={pending:null,lanes:0,dispatch:null,lastRenderedReducer:js,lastRenderedState:t},n.queue=r,n=uc.bind(null,V,r),r.dispatch=n,r=Cs(!1),a=fc.bind(null,V,!1,r.queue),r=ss(),i={state:t,dispatch:null,action:e,pending:null},r.queue=i,n=Ts.bind(null,V,i,a,n),i.dispatch=n,r.memoizedState=e,[t,n,!1]}function Ns(e){return Ps(cs(),Uo,e)}function Ps(e,t,n){if(t=hs(e,t,js)[0],e=ms(ps)[0],typeof t==`object`&&t&&typeof t.then==`function`)try{var r=us(t)}catch(e){throw e===Ya?Za:e}else r=t;t=cs();var i=t.queue,a=i.dispatch;return n!==t.memoizedState&&(V.flags|=2048,Ls(9,{destroy:void 0},Fs.bind(null,i,n),null)),[r,a,e]}function Fs(e,t){e.action=t}function Is(e){var t=cs(),n=Uo;if(n!==null)return Ps(t,n,e);cs(),t=t.memoizedState,n=cs();var r=n.queue.dispatch;return n.memoizedState=e,[t,r,!1]}function Ls(e,t,n,r){return e={tag:e,create:n,deps:r,inst:t,next:null},t=V.updateQueue,t===null&&(t=ls(),V.updateQueue=t),n=t.lastEffect,n===null?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function Rs(){return cs().memoizedState}function zs(e,t,n,r){var i=ss();V.flags|=e,i.memoizedState=Ls(1|t,{destroy:void 0},n,r===void 0?null:r)}function Bs(e,t,n,r){var i=cs();r=r===void 0?null:r;var a=i.memoizedState.inst;Uo!==null&&r!==null&&$o(r,Uo.memoizedState.deps)?i.memoizedState=Ls(t,a,n,r):(V.flags|=e,i.memoizedState=Ls(1|t,a,n,r))}function Vs(e,t){zs(8390656,8,e,t)}function Hs(e,t){Bs(2048,8,e,t)}function Us(e){V.flags|=4;var t=V.updateQueue;if(t===null)t=ls(),V.updateQueue=t,t.events=[e];else{var n=t.events;n===null?t.events=[e]:n.push(e)}}function Ws(e){var t=cs().memoizedState;return Us({ref:t,nextImpl:e}),function(){if(Qu&2)throw Error(o(440));return t.impl.apply(void 0,arguments)}}function Gs(e,t){return Bs(4,2,e,t)}function Ks(e,t){return Bs(4,4,e,t)}function qs(e,t){if(typeof t==`function`){e=e();var n=t(e);return function(){typeof n==`function`?n():t(null)}}if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function Js(e,t,n){n=n==null?null:n.concat([e]),Bs(4,4,qs.bind(null,t,e),n)}function Ys(){}function Xs(e,t){var n=cs();t=t===void 0?null:t;var r=n.memoizedState;return t!==null&&$o(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Zs(e,t){var n=cs();t=t===void 0?null:t;var r=n.memoizedState;if(t!==null&&$o(t,r[1]))return r[0];if(r=e(),qo){$e(!0);try{e()}finally{$e(!1)}}return n.memoizedState=[r,t],r}function Qs(e,t,n){return n===void 0||Ho&1073741824&&!(Y&261930)?e.memoizedState=t:(e.memoizedState=n,e=Nd(),V.lanes|=e,sd|=e,n)}function $s(e,t,n,r){return Vr(n,t)?n:Eo.current===null?!(Ho&106)||Ho&1073741824&&!(Y&261930)?(Fc=!0,e.memoizedState=n):(e=Nd(),V.lanes|=e,sd|=e,t):(e=Qs(e,n,r),Vr(e,t)||(Fc=!0),e)}function ec(e,t,n,r,i){var a=_e.p;_e.p=a!==0&&8>a?a:8;var o=P.T,s={};s.types=o===null?null:o.types,P.T=s,fc(e,!1,t,n);try{var c=i(),l=P.S;l!==null&&l(s,c),typeof c==`object`&&c&&typeof c.then==`function`?dc(e,t,Ua(c,r),Md(e)):dc(e,t,r,Md(e))}catch(n){dc(e,t,{then:function(){},status:`rejected`,reason:n},Md())}finally{_e.p=a,o!==null&&s.types!==null&&(o.types=s.types),P.T=o}}function tc(){}function nc(e,t,n,r){if(e.tag!==5)throw Error(o(476));var i=rc(e).queue;ec(e,i,t,ve,n===null?tc:function(){return ic(e),n(r)})}function rc(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:ve,baseState:ve,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:ps,lastRenderedState:ve},next:null};var n={};return t.next={memoizedState:n,baseState:n,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:ps,lastRenderedState:n},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function ic(e){var t=rc(e);t.next===null&&(t=e.alternate.memoizedState),dc(e,t.next.queue,{},Md())}function ac(){return Ta(ch)}function oc(){return cs().memoizedState}function sc(){return cs().memoizedState}function cc(e){for(var t=e.return;t!==null;){switch(t.tag){case 24:case 3:var n=Md();e=_o(n);var r=vo(t,e,n);r!==null&&(Fd(r,t,n),yo(r,t,n)),t={cache:Ma()},e.payload=t;return}t=t.return}}function lc(e,t,n){var r=Md();n={lane:r,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null},pc(e)?mc(t,n):(n=Ei(e,t,n,r),n!==null&&(Fd(n,e,r),hc(n,t,r)))}function uc(e,t,n){dc(e,t,n,Md())}function dc(e,t,n,r){var i={lane:r,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null};if(pc(e))mc(t,i);else{var a=e.alternate;if(e.lanes===0&&(a===null||a.lanes===0)&&(a=t.lastRenderedReducer,a!==null))try{var o=t.lastRenderedState,s=a(o,n);if(i.hasEagerState=!0,i.eagerState=s,Vr(s,o))return Ti(e,t,i,0),$u===null&&wi(),!1}catch{}if(n=Ei(e,t,i,r),n!==null)return Fd(n,e,r),hc(n,t,r),!0}return!1}function fc(e,t,n,r){if(r={lane:2,revertLane:If(),gesture:null,action:r,hasEagerState:!1,eagerState:null,next:null},pc(e)){if(t)throw Error(o(479))}else t=Ei(e,n,r,2),t!==null&&Fd(t,e,2)}function pc(e){var t=e.alternate;return e===V||t!==null&&t===V}function mc(e,t){Ko=Go=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function hc(e,t,n){if(n&4194048){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,_t(e,n)}}var gc={readContext:Ta,use:ds,useCallback:Qo,useContext:Qo,useEffect:Qo,useImperativeHandle:Qo,useLayoutEffect:Qo,useInsertionEffect:Qo,useMemo:Qo,useReducer:Qo,useRef:Qo,useState:Qo,useDebugValue:Qo,useDeferredValue:Qo,useTransition:Qo,useSyncExternalStore:Qo,useId:Qo,useHostTransitionStatus:Qo,useFormState:Qo,useActionState:Qo,useOptimistic:Qo,useMemoCache:Qo,useCacheRefresh:Qo,useEffectEvent:Qo},_c={readContext:Ta,use:ds,useCallback:function(e,t){return ss().memoizedState=[e,t===void 0?null:t],e},useContext:Ta,useEffect:Vs,useImperativeHandle:function(e,t,n){n=n==null?null:n.concat([e]),zs(4194308,4,qs.bind(null,t,e),n)},useLayoutEffect:function(e,t){return zs(4194308,4,e,t)},useInsertionEffect:function(e,t){zs(4,2,e,t)},useMemo:function(e,t){var n=ss();t=t===void 0?null:t;var r=e();if(qo){$e(!0);try{e()}finally{$e(!1)}}return n.memoizedState=[r,t],r},useReducer:function(e,t,n){var r=ss();if(n!==void 0){var i=n(t);if(qo){$e(!0);try{n(t)}finally{$e(!1)}}}else i=t;return r.memoizedState=r.baseState=i,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:i},r.queue=e,e=e.dispatch=lc.bind(null,V,e),[r.memoizedState,e]},useRef:function(e){var t=ss();return e={current:e},t.memoizedState=e},useState:function(e){e=Cs(e);var t=e.queue,n=uc.bind(null,V,t);return t.dispatch=n,[e.memoizedState,n]},useDebugValue:Ys,useDeferredValue:function(e,t){return Qs(ss(),e,t)},useTransition:function(){var e=Cs(!1);return e=ec.bind(null,V,e.queue,!0,!1),ss().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,n){var r=V,i=ss();if(B){if(n===void 0)throw Error(o(407));n=n()}else{if(n=t(),$u===null)throw Error(o(349));Y&127||vs(r,t,n)}i.memoizedState=n;var a={value:n,getSnapshot:t};return i.queue=a,Vs(bs.bind(null,r,a,e),[e]),r.flags|=2048,Ls(9,{destroy:void 0},ys.bind(null,r,a,n,t),null),n},useId:function(){var e=ss(),t=$u.identifierPrefix;if(B){var n=Zi,r=Xi;n=(r&~(1<<32-et(r)-1)).toString(32)+n,t=`_`+t+`R_`+n,n=Jo++,0<n&&(t+=`H`+n.toString(32)),t+=`_`}else n=Zo++,t=`_`+t+`r_`+n.toString(32)+`_`;return e.memoizedState=t},useHostTransitionStatus:ac,useFormState:Ms,useActionState:Ms,useOptimistic:function(e){var t=ss();t.memoizedState=t.baseState=e;var n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=n,t=fc.bind(null,V,!0,n),n.dispatch=t,[e,t]},useMemoCache:fs,useCacheRefresh:function(){return ss().memoizedState=cc.bind(null,V)},useEffectEvent:function(e){var t=ss(),n={impl:e};return t.memoizedState=n,function(){if(Qu&2)throw Error(o(440));return n.impl.apply(void 0,arguments)}}},vc={readContext:Ta,use:ds,useCallback:Xs,useContext:Ta,useEffect:Hs,useImperativeHandle:Js,useInsertionEffect:Gs,useLayoutEffect:Ks,useMemo:Zs,useReducer:ms,useRef:Rs,useState:function(){return ms(ps)},useDebugValue:Ys,useDeferredValue:function(e,t){return $s(cs(),Uo.memoizedState,e,t)},useTransition:function(){var e=ms(ps)[0],t=cs().memoizedState;return[typeof e==`boolean`?e:us(e),t]},useSyncExternalStore:_s,useId:oc,useHostTransitionStatus:ac,useFormState:Ns,useActionState:Ns,useOptimistic:function(e,t){return ws(cs(),Uo,e,t)},useMemoCache:fs,useCacheRefresh:sc,useEffectEvent:Ws},yc={readContext:Ta,use:ds,useCallback:Xs,useContext:Ta,useEffect:Hs,useImperativeHandle:Js,useInsertionEffect:Gs,useLayoutEffect:Ks,useMemo:Zs,useReducer:gs,useRef:Rs,useState:function(){return gs(ps)},useDebugValue:Ys,useDeferredValue:function(e,t){var n=cs();return Uo===null?Qs(n,e,t):$s(n,Uo.memoizedState,e,t)},useTransition:function(){var e=gs(ps)[0],t=cs().memoizedState;return[typeof e==`boolean`?e:us(e),t]},useSyncExternalStore:_s,useId:oc,useHostTransitionStatus:ac,useFormState:Is,useActionState:Is,useOptimistic:function(e,t){var n=cs();return Uo===null?(n.baseState=e,[e,n.queue.dispatch]):ws(n,Uo,e,t)},useMemoCache:fs,useCacheRefresh:sc,useEffectEvent:Ws};function bc(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:D({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var xc={enqueueSetState:function(e,t,n){e=e._reactInternals;var r=Md(),i=_o(r);i.payload=t,n!=null&&(i.callback=n),t=vo(e,i,r),t!==null&&(Fd(t,e,r),yo(t,e,r))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=Md(),i=_o(r);i.tag=1,i.payload=t,n!=null&&(i.callback=n),t=vo(e,i,r),t!==null&&(Fd(t,e,r),yo(t,e,r))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=Md(),r=_o(n);r.tag=2,t!=null&&(r.callback=t),t=vo(e,r,n),t!==null&&(Fd(t,e,n),yo(t,e,n))}};function Sc(e,t,n,r,i,a,o){return e=e.stateNode,typeof e.shouldComponentUpdate==`function`?e.shouldComponentUpdate(r,a,o):t.prototype&&t.prototype.isPureReactComponent?!Hr(n,r)||!Hr(i,a):!0}function Cc(e,t,n,r){e=t.state,typeof t.componentWillReceiveProps==`function`&&t.componentWillReceiveProps(n,r),typeof t.UNSAFE_componentWillReceiveProps==`function`&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&xc.enqueueReplaceState(t,t.state,null)}function wc(e,t){var n=t;if(`ref`in t)for(var r in n={},t)r!==`ref`&&(n[r]=t[r]);if(e=e.defaultProps)for(var i in n===t&&(n=D({},n)),e)n[i]===void 0&&(n[i]=e[i]);return n}function Tc(e){bi(e)}function Ec(e){console.error(e)}function Dc(e){bi(e)}function Oc(e,t){try{var n=e.onUncaughtError;n(t.value,{componentStack:t.stack})}catch(e){setTimeout(function(){throw e})}}function kc(e,t,n){try{var r=e.onCaughtError;r(n.value,{componentStack:n.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(e){setTimeout(function(){throw e})}}function Ac(e,t,n){return n=_o(n),n.tag=3,n.payload={element:null},n.callback=function(){Oc(e,t)},n}function jc(e){return e=_o(e),e.tag=3,e}function Mc(e,t,n,r){var i=n.type.getDerivedStateFromError;if(typeof i==`function`){var a=r.value;e.payload=function(){return i(a)},e.callback=function(){kc(t,n,r)}}var o=n.stateNode;o!==null&&typeof o.componentDidCatch==`function`&&(e.callback=function(){kc(t,n,r),typeof i!=`function`&&(yd===null?yd=new Set([this]):yd.add(this));var e=r.stack;this.componentDidCatch(r.value,{componentStack:e===null?``:e})})}function Nc(e,t,n,r,i){if(n.flags|=32768,typeof r==`object`&&r&&typeof r.then==`function`){if(t=n.alternate,t!==null&&Sa(t,n,i,!0),n=jo.current,n!==null){switch(n.tag){case 31:case 13:case 19:return Mo===null?qd():n.alternate===null&&od===0&&(od=3),n.flags&=-257,n.flags|=65536,n.lanes=i,r===Qa?n.flags|=16384:(t=n.updateQueue,t===null?n.updateQueue=new Set([r]):t.add(r),gf(e,r,i)),!1;case 22:return n.flags|=65536,r===Qa?n.flags|=16384:(t=n.updateQueue,t===null?(t={transitions:null,markerInstances:null,retryQueue:new Set([r])},n.updateQueue=t):(n=t.retryQueue,n===null?t.retryQueue=new Set([r]):n.add(r)),gf(e,r,i)),!1}throw Error(o(435,n.tag))}return gf(e,r,i),qd(),!1}if(B)return t=jo.current,t===null?(r!==sa&&(t=Error(o(423),{cause:r}),ma(Hi(t,n))),e=e.current.alternate,e.flags|=65536,i&=-i,e.lanes|=i,r=Hi(r,n),i=Ac(e.stateNode,r,i),bo(e,i),od!==4&&(od=2)):(!(t.flags&65536)&&(t.flags|=256),t.flags|=65536,t.lanes=i,r!==sa&&(e=Error(o(422),{cause:r}),ma(Hi(e,n)))),!1;var a=Error(o(520),{cause:r});if(a=Hi(a,n),fd===null?fd=[a]:fd.push(a),od!==4&&(od=2),t===null)return!0;r=Hi(r,n),n=t;do{switch(n.tag){case 3:return n.flags|=65536,e=i&-i,n.lanes|=e,e=Ac(n.stateNode,r,e),bo(n,e),!1;case 1:if(t=n.type,a=n.stateNode,!(n.flags&128)&&(typeof t.getDerivedStateFromError==`function`||a!==null&&typeof a.componentDidCatch==`function`&&(yd===null||!yd.has(a))))return n.flags|=65536,i&=-i,n.lanes|=i,i=jc(i),Mc(i,e,n,r),bo(n,i),!1;break;case 22:if(n.memoizedState!==null)return n.flags|=65536,!1}n=n.return}while(n!==null);return!1}var Pc=Error(o(461)),Fc=!1;function Ic(e,t,n,r){t.child=e===null?po(t,null,n,r):fo(t,e.child,n,r)}function Lc(e,t,n,r,i){n=n.render;var a=t.ref;if(`ref`in r){var o={};for(var s in r)s!==`ref`&&(o[s]=r[s])}else o=r;return wa(t),r=es(e,t,n,o,a,i),s=is(),e!==null&&!Fc?(as(e,t,i),H(e,t,i)):(B&&s&&ea(t),t.flags|=1,Ic(e,t,r,i),t.child)}function Rc(e,t,n,r,i){if(e===null){var a=n.type;return typeof a==`function`&&!Ni(a)&&a.defaultProps===void 0&&n.compare===null?(t.tag=15,t.type=a,zc(e,t,a,r,i)):(e=Ii(n.type,null,r,t,t.mode,i),e.ref=t.ref,e.return=t,t.child=e)}if(a=e.child,!dl(e,i)){var o=a.memoizedProps;if(n=n.compare,n=n===null?Hr:n,n(o,r)&&e.ref===t.ref)return H(e,t,i)}return t.flags|=1,e=Pi(a,r),e.ref=t.ref,e.return=t,t.child=e}function zc(e,t,n,r,i){if(e!==null){var a=e.memoizedProps;if(Hr(a,r)&&e.ref===t.ref){if(Fc=!1,t.pendingProps=r=a,dl(e,i))e.flags&131072&&(Fc=!0);else return t.lanes=e.lanes,H(e,t,i)}}return qc(e,t,n,r,i)}function Bc(e,t,n,r){var i=r.children,a=e===null?null:e.memoizedState;if(e===null&&t.stateNode===null&&(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),r.mode===`hidden`){if(t.flags&128){if(a=a===null?n:a.baseLanes|n,e!==null){for(r=t.child=e.child,i=0;r!==null;)i=i|r.lanes|r.childLanes,r=r.sibling;r=i&~a}else r=0,t.child=null;return Hc(e,t,a,n,r)}if(n&536870912)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&qa(t,a===null?null:a.cachePool),a===null?ko():Oo(t,a),Fo(t);else return r=t.lanes=536870912,Hc(e,t,a===null?n:a.baseLanes|n,n,r)}else a===null?(e!==null&&qa(t,null),ko(),Io()):(qa(t,a.cachePool),Oo(t,a),Io(),t.memoizedState=null);return Ic(e,t,i,n),t.child}function Vc(e,t){return e!==null&&e.tag===22||t.stateNode!==null||(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function Hc(e,t,n,r,i){var a=Ka();return a=a===null?null:{parent:ja._currentValue,pool:a},t.memoizedState={baseLanes:n,cachePool:a},e!==null&&qa(t,null),ko(),Fo(t),e!==null&&Sa(e,t,r,!0),t.childLanes=i,null}function Uc(e,t){return t=nl({mode:t.mode,children:t.children},e.mode),t.ref=e.ref,e.child=t,t.return=e,t}function Wc(e,t,n){return fo(t,e.child,null,n),e=Uc(t,t.pendingProps),e.flags|=2,Lo(t),t.memoizedState=null,e}function Gc(e,t,n){var r=t.pendingProps,i=!!(t.flags&128);if(t.flags&=-129,e===null){if(B){if(r.mode===`hidden`)return e=Uc(t,r),t.lanes=536870912,e.memoizedState={baseLanes:0,cachePool:null},Vc(null,e);if(Po(t),(e=ia)?(e=sm(e,oa),e=e!==null&&e.data===`&`?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:Yi===null?null:{id:Xi,overflow:Zi},retryLane:536870912,hydrationErrors:null},n=zi(e),n.return=t,t.child=n,ra=t,ia=null)):e=null,e===null)throw ca(t);return t.lanes=536870912,null}return Uc(t,r)}var a=e.memoizedState;if(a!==null){var s=a.dehydrated;if(Po(t),i){if(t.flags&256)t.flags&=-257,t=Wc(e,t,n);else if(t.memoizedState!==null)t.child=e.child,t.flags|=128,t=null;else throw Error(o(558))}else if(Fc||Sa(e,t,n,!1),i=(n&e.childLanes)!==0,Fc||i){if(Eo.current===null){if(r=$u,r!==null&&(s=vt(r,n),s!==0&&s!==a.retryLane))throw a.retryLane=s,Di(e,s),Fd(r,e,s),Pc;qd()}t=Wc(e,t,n)}else e=a.treeContext,ia=dm(s.nextSibling),ra=t,B=!0,aa=null,oa=!1,e!==null&&na(t,e),t=Uc(t,r),t.flags|=134221824;return t}return e=Pi(e.child,{mode:r.mode,children:r.children}),e.ref=t.ref,t.child=e,e.return=t,e}function Kc(e,t){var n=t.ref;if(n===null)e!==null&&e.ref!==null&&(t.flags|=4194816);else{if(typeof n!=`function`&&typeof n!=`object`)throw Error(o(284));(e===null||e.ref!==n)&&(t.flags|=4194816)}}function qc(e,t,n,r,i){return wa(t),n=es(e,t,n,r,void 0,i),r=is(),e!==null&&!Fc?(as(e,t,i),H(e,t,i)):(B&&r&&ea(t),t.flags|=1,Ic(e,t,n,i),t.child)}function Jc(e,t,n,r,i,a){return wa(t),t.updateQueue=null,n=ns(t,r,n,i),ts(e),r=is(),e!==null&&!Fc?(as(e,t,a),H(e,t,a)):(B&&r&&ea(t),t.flags|=1,Ic(e,t,n,a),t.child)}function Yc(e,t,n,r,i){if(wa(t),t.stateNode===null){var a=Ai,o=n.contextType;typeof o==`object`&&o&&(a=Ta(o)),a=new n(r,a),t.memoizedState=a.state!==null&&a.state!==void 0?a.state:null,a.updater=xc,t.stateNode=a,a._reactInternals=t,a=t.stateNode,a.props=r,a.state=t.memoizedState,a.refs={},ho(t),o=n.contextType,a.context=typeof o==`object`&&o?Ta(o):Ai,a.state=t.memoizedState,o=n.getDerivedStateFromProps,typeof o==`function`&&(bc(t,n,o,r),a.state=t.memoizedState),typeof n.getDerivedStateFromProps==`function`||typeof a.getSnapshotBeforeUpdate==`function`||typeof a.UNSAFE_componentWillMount!=`function`&&typeof a.componentWillMount!=`function`||(o=a.state,typeof a.componentWillMount==`function`&&a.componentWillMount(),typeof a.UNSAFE_componentWillMount==`function`&&a.UNSAFE_componentWillMount(),o!==a.state&&xc.enqueueReplaceState(a,a.state,null),Co(t,r,a,i),So(),a.state=t.memoizedState),typeof a.componentDidMount==`function`&&(t.flags|=4194308),r=!0}else if(e===null){a=t.stateNode;var s=t.memoizedProps,c=wc(n,s);a.props=c;var l=a.context,u=n.contextType;o=Ai,typeof u==`object`&&u&&(o=Ta(u));var d=n.getDerivedStateFromProps;u=typeof d==`function`||typeof a.getSnapshotBeforeUpdate==`function`,s=t.pendingProps!==s,u||typeof a.UNSAFE_componentWillReceiveProps!=`function`&&typeof a.componentWillReceiveProps!=`function`||(s||l!==o)&&Cc(t,a,r,o),mo=!1;var f=t.memoizedState;a.state=f,Co(t,r,a,i),So(),l=t.memoizedState,s||f!==l||mo?(typeof d==`function`&&(bc(t,n,d,r),l=t.memoizedState),(c=mo||Sc(t,n,c,r,f,l,o))?(u||typeof a.UNSAFE_componentWillMount!=`function`&&typeof a.componentWillMount!=`function`||(typeof a.componentWillMount==`function`&&a.componentWillMount(),typeof a.UNSAFE_componentWillMount==`function`&&a.UNSAFE_componentWillMount()),typeof a.componentDidMount==`function`&&(t.flags|=4194308)):(typeof a.componentDidMount==`function`&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=l),a.props=r,a.state=l,a.context=o,r=c):(typeof a.componentDidMount==`function`&&(t.flags|=4194308),r=!1)}else{a=t.stateNode,go(e,t),o=t.memoizedProps,u=wc(n,o),a.props=u,d=t.pendingProps,f=a.context,l=n.contextType,c=Ai,typeof l==`object`&&l&&(c=Ta(l)),s=n.getDerivedStateFromProps,(l=typeof s==`function`||typeof a.getSnapshotBeforeUpdate==`function`)||typeof a.UNSAFE_componentWillReceiveProps!=`function`&&typeof a.componentWillReceiveProps!=`function`||(o!==d||f!==c)&&Cc(t,a,r,c),mo=!1,f=t.memoizedState,a.state=f,Co(t,r,a,i),So();var p=t.memoizedState;o!==d||f!==p||mo||e!==null&&e.dependencies!==null&&Ca(e.dependencies)?(typeof s==`function`&&(bc(t,n,s,r),p=t.memoizedState),(u=mo||Sc(t,n,u,r,f,p,c)||e!==null&&e.dependencies!==null&&Ca(e.dependencies))?(l||typeof a.UNSAFE_componentWillUpdate!=`function`&&typeof a.componentWillUpdate!=`function`||(typeof a.componentWillUpdate==`function`&&a.componentWillUpdate(r,p,c),typeof a.UNSAFE_componentWillUpdate==`function`&&a.UNSAFE_componentWillUpdate(r,p,c)),typeof a.componentDidUpdate==`function`&&(t.flags|=4),typeof a.getSnapshotBeforeUpdate==`function`&&(t.flags|=1024)):(typeof a.componentDidUpdate!=`function`||o===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof a.getSnapshotBeforeUpdate!=`function`||o===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=p),a.props=r,a.state=p,a.context=c,r=u):(typeof a.componentDidUpdate!=`function`||o===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof a.getSnapshotBeforeUpdate!=`function`||o===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),r=!1)}return a=r,Kc(e,t),r=!!(t.flags&128),a||r?(a=t.stateNode,n=r&&typeof n.getDerivedStateFromError!=`function`?null:a.render(),t.flags|=1,e!==null&&r?(t.child=fo(t,e.child,null,i),t.child=fo(t,null,n,i)):Ic(e,t,n,i),t.memoizedState=a.state,e=t.child):e=H(e,t,i),e}function Xc(e,t,n,r){return fa(),t.flags|=256,Ic(e,t,n,r),t.child}var Zc={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Qc(e){return{baseLanes:e,cachePool:Ja()}}function $c(e,t,n){return e=e===null?0:e.childLanes&~n,t&&(e|=ud),e}function el(e,t,n){var r=t.pendingProps,i=!1,a=!!(t.flags&128),o;if((o=a)||(o=e!==null&&e.memoizedState===null?!1:!!(Ro.current&2)),o&&(i=!0,t.flags&=-129),o=!!(t.flags&32),t.flags&=-33,e===null){if(B){if(i?No(t):Io(),(e=ia)?(e=sm(e,oa),e=e!==null&&e.data!==`&`?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:Yi===null?null:{id:Xi,overflow:Zi},retryLane:536870912,hydrationErrors:null},n=zi(e),n.return=t,t.child=n,ra=t,ia=null)):e=null,e===null)throw ca(t);return t.lanes=lm(e)?32:536870912,null}return a=r.children,r=r.fallback,i?(Io(),i=t.mode,a=nl({mode:`hidden`,children:a},i),r=Li(r,i,n,null),a.return=t,r.return=t,a.sibling=r,t.child=a,r=t.child,r.memoizedState=Qc(n),r.childLanes=$c(e,o,n),t.memoizedState=Zc,Vc(null,r)):(No(t),tl(t,a))}var s=e.memoizedState;if(s!==null){var c=s.dehydrated;if(c!==null)return il(e,t,a,o,r,c,s,n)}return i?(Io(),i=r.fallback,a=t.mode,s=e.child,c=s.sibling,r=Pi(s,{mode:`hidden`,children:r.children}),r.subtreeFlags=s.subtreeFlags&1206910976,c===null?(i=Li(i,a,n,null),i.flags|=2):i=Pi(c,i),i.return=t,r.return=t,r.sibling=i,t.child=r,Vc(null,r),r=t.child,i=e.child.memoizedState,i===null?i=Qc(n):(a=i.cachePool,a===null?a=Ja():(s=ja._currentValue,a=a.parent===s?a:{parent:s,pool:s}),i={baseLanes:i.baseLanes|n,cachePool:a}),r.memoizedState=i,r.childLanes=$c(e,o,n),t.memoizedState=Zc,Vc(e.child,r)):(No(t),n=e.child,e=n.sibling,n=Pi(n,{mode:`visible`,children:r.children}),n.return=t,n.sibling=null,e!==null&&(o=t.deletions,o===null?(t.deletions=[e],t.flags|=16):o.push(e)),t.child=n,t.memoizedState=null,n)}function tl(e,t){return t=nl({mode:`visible`,children:t},e.mode),t.return=e,e.child=t}function nl(e,t){return e=Mi(22,e,null,t),e.lanes=0,e}function rl(e,t,n){return fo(t,e.child,null,n),e=tl(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function il(e,t,n,r,i,a,s,c){if(n)return t.flags&256?(No(t),t.flags&=-257,rl(e,t,c)):t.memoizedState===null?(Io(),a=i.fallback,s=t.mode,i=nl({mode:`visible`,children:i.children},s),a=Li(a,s,c,null),a.flags|=2,i.return=t,a.return=t,i.sibling=a,t.child=i,fo(t,e.child,null,c),i=t.child,i.memoizedState=Qc(c),i.childLanes=$c(e,r,c),t.memoizedState=Zc,Vc(null,i)):(Io(),t.child=e.child,t.flags|=128,null);if(No(t),lm(a)){if(r=a.nextSibling&&a.nextSibling.dataset,r)var l=r.dgst;return r=l,r!==``&&(i=Error(o(419)),i.stack=``,i.digest=r,ma({value:i,source:null,stack:null})),rl(e,t,c)}if(Fc||Sa(e,t,c,!1),r=(c&e.childLanes)!==0,Fc||r){if(Eo.current!==null)return rl(e,t,c);if(r=$u,r!==null&&(i=vt(r,c),i!==0&&i!==s.retryLane))throw s.retryLane=i,Di(e,i),Fd(r,e,i),Pc;return cm(a)||qd(),rl(e,t,c)}return cm(a)?(t.flags|=192,t.child=e.child,null):(e=s.treeContext,ia=dm(a.nextSibling),ra=t,B=!0,aa=null,oa=!1,e!==null&&na(t,e),t=tl(t,i.children),t.flags|=134221824,t)}function al(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),ba(e.return,t,n)}function ol(e){for(var t=null;e!==null;){var n=e.alternate;n!==null&&Vo(n)===null&&(t=e),e=e.sibling}return t}function sl(e,t,n,r,i,a){var o=e.memoizedState;o===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i,treeForkCount:a}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=r,o.tail=n,o.tailMode=i,o.treeForkCount=a)}function cl(e){var t=e.child;for(e.child=null;t!==null;){var n=t.sibling;t.sibling=e.child,e.child=t,t=n}}function ll(e,t,n){var r=t.pendingProps,i=r.revealOrder,a=r.tail;r=r.children;var o=Ro.current;if(t.flags&128)return zo(t,o),null;var s=!!(o&2);if(s?(o=o&1|2,t.flags|=128):o&=1,zo(t,o),i===`backwards`&&e!==null?(cl(e),Ic(e,t,r,n),cl(e)):Ic(e,t,r,n),r=B?Ki:0,!s&&e!==null&&e.flags&128)a:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&al(e,n,t);else if(e.tag===19)al(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break a;for(;e.sibling===null;){if(e.return===null||e.return===t)break a;e=e.return}e.sibling.return=e.return,e=e.sibling}switch(i){case`backwards`:n=ol(t.child),n===null?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null,cl(t)),sl(t,!0,i,null,a,r);break;case`unstable_legacy-backwards`:for(n=null,i=t.child,t.child=null;i!==null;){if(e=i.alternate,e!==null&&Vo(e)===null){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}sl(t,!0,n,null,a,r);break;case`together`:sl(t,!1,null,null,void 0,r);break;case`independent`:t.memoizedState=null;break;default:n=ol(t.child),n===null?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),sl(t,!1,i,n,a,r)}return t.child}function ul(e,t,n){var r=t.pendingProps;return va(t,t.type,r.value),Ic(e,t,r.children,n),t.child}function H(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),sd|=t.lanes,(n&t.childLanes)===0){if(e!==null){if(Sa(e,t,n,!1),(n&t.childLanes)===0)return null}else return null}if(e!==null&&t.child!==e.child)throw Error(o(153));if(t.child!==null){for(e=t.child,n=Pi(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=Pi(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function dl(e,t){return(e.lanes&t)!==0||(e=e.dependencies,!!(e!==null&&Ca(e)))}function fl(e,t,n){switch(t.tag){case 3:Ee(t,t.stateNode.containerInfo),va(t,ja,e.memoizedState.cache),fa();break;case 27:case 5:Oe(t);break;case 4:Ee(t,t.stateNode.containerInfo);break;case 10:va(t,t.type,t.memoizedProps.value);break;case 31:if(t.memoizedState!==null)return t.flags|=128,Po(t),null;break;case 13:var r=t.memoizedState;if(r!==null){if(r.dehydrated!==null)return No(t),t.flags|=128,null;r=Sa(e,t,n,!1);var i=t.child.childLanes;return r||(n&i)!==0?el(e,t,n):(No(t),e=H(e,t,n),e===null?null:e.sibling)}No(t);break;case 19:if(t.flags&128)return ll(e,t,n);if(i=!!(e.flags&128),r=(n&t.childLanes)!==0,r||=(Sa(e,t,n,!1),(n&t.childLanes)!==0),i){if(r)return ll(e,t,n);t.flags|=128}if(i=t.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),zo(t,Ro.current),r)break;return null;case 22:return t.lanes=0,Bc(e,t,n,t.pendingProps);case 24:va(t,ja,e.memoizedState.cache)}return H(e,t,n)}function pl(e,t,n){if(e!==null){if(e.memoizedProps!==t.pendingProps)Fc=!0;else{if(!dl(e,n)&&!(t.flags&128))return Fc=!1,fl(e,t,n);Fc=!!(e.flags&131072)}}else Fc=!1,B&&t.flags&1048576&&$i(t,Ki,t.index);switch(t.lanes=0,t.tag){case 16:a:{var r=t.pendingProps;if(e=to(t.elementType),t.type=e,typeof e==`function`)Ni(e)?(r=wc(e,r),t.tag=1,t=Yc(null,t,e,r,n)):(t.tag=0,t=qc(null,t,e,r,n));else{if(e!=null){var i=e.$$typeof;if(i===ne){t.tag=11,t=Lc(null,t,e,r,n);break a}if(i===ae){t.tag=14,t=Rc(null,t,e,r,n);break a}if(i===N){t.tag=10,t.type=e,t=ul(null,t,n);break a}}throw t=he(e)||e,Error(o(306,t,``))}}return t;case 0:return qc(e,t,t.type,t.pendingProps,n);case 1:return r=t.type,i=wc(r,t.pendingProps),Yc(e,t,r,i,n);case 3:a:{if(Ee(t,t.stateNode.containerInfo),e===null)throw Error(o(387));r=t.pendingProps;var a=t.memoizedState;i=a.element,go(e,t),Co(t,r,null,n);var s=t.memoizedState;if(r=s.cache,va(t,ja,r),r!==a.cache&&xa(t,[ja],n,!0),So(),r=s.element,a.isDehydrated){if(a={element:r,isDehydrated:!1,cache:s.cache},t.updateQueue.baseState=a,t.memoizedState=a,t.flags&256){t=Xc(e,t,r,n);break a}if(r!==i){i=Hi(Error(o(424)),t),ma(i),t=Xc(e,t,r,n);break a}switch(e=t.stateNode.containerInfo,e.nodeType){case 9:e=e.body;break;default:e=e.nodeName===`HTML`?e.ownerDocument.body:e}for(ia=dm(e.firstChild),ra=t,B=!0,aa=null,oa=!0,n=po(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|134221824,n=n.sibling}else{if(fa(),r===i){t=H(e,t,n);break a}Ic(e,t,r,n)}t=t.child}return t;case 26:return Kc(e,t),e===null?(n=Fm(t.type,null,t.pendingProps,null))?t.memoizedState=n:B||(t.stateNode=mp(t.type,t.pendingProps,we.current,t)):t.memoizedState=Fm(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return Oe(t),e===null&&B&&(r=t.stateNode=_m(t.type,t.pendingProps,we.current),ra=t,oa=!0,i=ia,wp(t.type)?(fm=i,ia=dm(r.firstChild)):ia=i),Ic(e,t,t.pendingProps.children,n),Kc(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&B&&((i=r=ia)&&(r=am(r,t.type,t.pendingProps,oa),r===null?i=!1:(t.stateNode=r,ra=t,ia=dm(r.firstChild),oa=!1,i=!0)),i||ca(t)),Oe(t),i=t.type,a=t.pendingProps,s=e===null?null:e.memoizedProps,r=a.children,hp(i,a)?r=null:s!==null&&hp(i,s)&&(t.flags|=32),t.memoizedState!==null&&(i=es(e,t,rs,null,null,n),ch._currentValue=i),Kc(e,t),Ic(e,t,r,n),t.child;case 6:return e===null&&B&&((e=n=ia)&&(n=om(n,t.pendingProps,oa),n===null?e=!1:(t.stateNode=n,ra=t,ia=null,e=!0)),e||ca(t)),null;case 13:return el(e,t,n);case 4:return Ee(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=fo(t,null,r,n):Ic(e,t,r,n),t.child;case 11:return Lc(e,t,t.type,t.pendingProps,n);case 7:return r=t.pendingProps,Kc(e,t),Ic(e,t,r,n),t.child;case 8:return Ic(e,t,t.pendingProps.children,n),t.child;case 12:return Ic(e,t,t.pendingProps.children,n),t.child;case 10:return ul(e,t,n);case 9:return i=t.type._context,r=t.pendingProps.children,wa(t),i=Ta(i),r=r(i),t.flags|=1,Ic(e,t,r,n),t.child;case 14:return Rc(e,t,t.type,t.pendingProps,n);case 15:return zc(e,t,t.type,t.pendingProps,n);case 19:return ll(e,t,n);case 31:return Gc(e,t,n);case 22:return Bc(e,t,n,t.pendingProps);case 24:return wa(t),r=Ta(ja),e===null?(i=Ka(),i===null&&(i=$u,a=Ma(),i.pooledCache=a,a.refCount++,a!==null&&(i.pooledCacheLanes|=n),i=a),t.memoizedState={parent:r,cache:i},ho(t),va(t,ja,i)):((e.lanes&n)!==0&&(go(e,t),Co(t,null,null,n),So()),i=e.memoizedState,a=t.memoizedState,i.parent===r?(r=a.cache,va(t,ja,r),r!==i.cache&&xa(t,[ja],n,!0)):(i={parent:r,cache:r},t.memoizedState=i,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=i),va(t,ja,r))),Ic(e,t,t.pendingProps.children,n),t.child;case 30:return t.stateNode===null&&(t.stateNode={autoName:null,paired:null,clones:null,ref:null}),r=t.pendingProps,r.name!=null&&r.name!==`auto`?t.flags|=e===null?18882560:18874368:B&&ea(t),e!==null&&e.memoizedProps.name!==r.name?t.flags|=4194816:Kc(e,t),Ic(e,t,r.children,n),t.child;case 29:throw t.pendingProps}throw Error(o(156,t.tag))}function ml(e){e.flags|=4}function hl(e,t,n,r,i){var a;if((a=!!(e.mode&32))&&(a=n===null?Ym(t,r):Ym(t,r)&&(r.src!==n.src||r.srcSet!==n.srcSet)),a){if(e.flags|=16777216,(i&335544128)===i){if(e.stateNode.complete)e.flags|=8192;else if(Wd())e.flags|=8192;else throw no=Qa,Xa}}else e.flags&=-16777217}function gl(e,t){if(t.type!==`stylesheet`||t.state.loading&4)e.flags&=-16777217;else if(e.flags|=16777216,!Xm(t)){if(Wd())e.flags|=8192;else throw no=Qa,Xa}}function _l(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag===22?536870912:ft(),e.lanes|=t,dd|=t)}function vl(e,t){if(!B)switch(e.tailMode){case`visible`:break;case`collapsed`:for(var n=e.tail,r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null;break;default:for(t=e.tail,n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null}}function yl(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags&1206910976,r|=i.flags&1206910976,i.return=e,i=i.sibling;else for(i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags,r|=i.flags,i.return=e,i=i.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function bl(e,t,n){var r=t.pendingProps;switch(ta(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return yl(t),null;case 1:return yl(t),null;case 3:return n=t.stateNode,r=null,e!==null&&(r=e.memoizedState.cache),t.memoizedState.cache!==r&&(t.flags|=2048),ya(ja),De(),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),(e===null||e.child===null)&&(da(t)?ml(t):e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,pa())),yl(t),null;case 26:var i=t.type,a=t.memoizedState;return e===null?(ml(t),a===null?(yl(t),hl(t,i,null,r,n)):(yl(t),gl(t,a))):a?a===e.memoizedState?(yl(t),t.flags&=-16777217):(ml(t),yl(t),gl(t,a)):(e=e.memoizedProps,e!==r&&ml(t),yl(t),hl(t,i,e,r,n)),null;case 27:if(ke(t),n=we.current,i=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==r&&ml(t);else{if(!r){if(t.stateNode===null)throw Error(o(166));return yl(t),t.subtreeFlags&=-33554433,null}e=Ce.current,da(t)?la(t,e):(e=_m(i,r,n),t.stateNode=e,ml(t))}return yl(t),t.subtreeFlags&=-33554433,null;case 5:if(ke(t),i=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==r&&ml(t);else{if(!r){if(t.stateNode===null)throw Error(o(166));return yl(t),t.subtreeFlags&=-33554433,null}if(a=Ce.current,da(t))la(t,a);else{var s=dp(we.current);switch(a){case 1:a=s.createElementNS(`http://www.w3.org/2000/svg`,i);break;case 2:a=s.createElementNS(`http://www.w3.org/1998/Math/MathML`,i);break;default:switch(i){case`svg`:a=s.createElementNS(`http://www.w3.org/2000/svg`,i);break;case`math`:a=s.createElementNS(`http://www.w3.org/1998/Math/MathML`,i);break;case`script`:a=s.createElement(`div`),a.innerHTML=`<script><\/script>`,a=a.removeChild(a.firstChild);break;case`select`:a=typeof r.is==`string`?s.createElement(`select`,{is:r.is}):s.createElement(`select`),r.multiple?a.multiple=!0:r.size&&(a.size=r.size);break;default:a=typeof r.is==`string`?s.createElement(i,{is:r.is}):s.createElement(i)}}a[wt]=t,a[Tt]=r;a:for(s=t.child;s!==null;){if(s.tag===5||s.tag===6)a.appendChild(s.stateNode);else if(s.tag!==4&&s.tag!==27&&s.child!==null){s.child.return=s,s=s.child;continue}if(s===t)break a;for(;s.sibling===null;){if(s.return===null||s.return===t)break a;s=s.return}s.sibling.return=s.return,s=s.sibling}t.stateNode=a;a:switch(ip(a,i,r),i){case`button`:case`input`:case`select`:case`textarea`:r=!!r.autoFocus;break a;case`img`:r=!0;break a;default:r=!1}r&&ml(t)}}return yl(t),t.subtreeFlags&=-33554433,hl(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,n),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==r&&ml(t);else{if(typeof r!=`string`&&t.stateNode===null)throw Error(o(166));if(e=we.current,da(t)){if(e=t.stateNode,n=t.memoizedProps,r=null,i=ra,i!==null)switch(i.tag){case 27:case 5:r=i.memoizedProps}e[wt]=t,e=!!(e.nodeValue===n||r!==null&&!0===r.suppressHydrationWarning||tp(e.nodeValue,n)),e||ca(t,!0)}else e=dp(e).createTextNode(r),e[wt]=t,t.stateNode=e}return yl(t),null;case 31:if(n=t.memoizedState,e===null||e.memoizedState!==null){if(r=da(t),n!==null){if(e===null){if(!r)throw Error(o(318));if(e=t.memoizedState,e=e===null?null:e.dehydrated,!e)throw Error(o(557));e[wt]=t}else fa(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;yl(t),e=!1}else n=pa(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=n),e=!0;if(!e)return t.flags&256?(Lo(t),t):(Lo(t),null);if(t.flags&128)throw Error(o(558))}return yl(t),null;case 13:if(r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(i=da(t),r!==null&&r.dehydrated!==null){if(e===null){if(!i)throw Error(o(318));if(i=t.memoizedState,i=i===null?null:i.dehydrated,!i)throw Error(o(317));i[wt]=t}else fa(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;yl(t),i=!1}else i=pa(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=i),i=!0;if(!i)return t.flags&256?(Lo(t),t):(Lo(t),null)}return Lo(t),t.flags&128?(t.lanes=n,t):(n=r!==null,e=e!==null&&e.memoizedState!==null,n&&(r=t.child,i=null,r.alternate!==null&&r.alternate.memoizedState!==null&&r.alternate.memoizedState.cachePool!==null&&(i=r.alternate.memoizedState.cachePool.pool),a=null,r.memoizedState!==null&&r.memoizedState.cachePool!==null&&(a=r.memoizedState.cachePool.pool),a!==i&&(r.flags|=2048)),n!==e&&n&&(t.child.flags|=8192),_l(t,t.updateQueue),yl(t),null);case 4:return De(),e===null&&Gf(t.stateNode.containerInfo),t.flags|=67108864,yl(t),null;case 10:return ya(t.type),yl(t),null;case 19:if(Bo(t),r=t.memoizedState,r===null)return yl(t),null;if(i=!!(t.flags&128),a=r.rendering,a===null){if(i)vl(r,!1);else{if(od!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(a=Vo(e),a!==null){for(t.flags|=128,vl(r,!1),e=a.updateQueue,t.updateQueue=e,_l(t,e),t.subtreeFlags=0,e=n,n=t.child;n!==null;)Fi(n,e),n=n.sibling;return zo(t,Ro.current&1|2),B&&Qi(t,r.treeForkCount),t.child}e=e.sibling}r.tail!==null&&He()>_d&&(t.flags|=128,i=!0,vl(r,!1),t.lanes=4194304)}}else{if(!i){if(e=Vo(a),e!==null){if(t.flags|=128,i=!0,e=e.updateQueue,t.updateQueue=e,_l(t,e),vl(r,!0),r.tail===null&&r.tailMode!==`collapsed`&&r.tailMode!==`visible`&&!a.alternate&&!B)return yl(t),null}else 2*He()-r.renderingStartTime>_d&&n!==536870912&&(t.flags|=128,i=!0,vl(r,!1),t.lanes=4194304)}r.isBackwards?(a.sibling=t.child,t.child=a):(e=r.last,e===null?t.child=a:e.sibling=a,r.last=a)}if(r.tail!==null){e=r.tail;a:{for(n=e;n!==null;){if(n.alternate!==null){n=!1;break a}n=n.sibling}n=!0}return r.rendering=e,r.tail=e.sibling,r.renderingStartTime=He(),e.sibling=null,a=Ro.current,a=i?a&1|2:a&1,r.tailMode===`visible`||r.tailMode===`collapsed`||!n||B?zo(t,a):(n=a,F(jo,t),F(Ro,n),Mo===null&&(Mo=t)),B&&Qi(t,r.treeForkCount),e}return yl(t),null;case 22:case 23:return Lo(t),Ao(),r=t.memoizedState!==null,e===null?r&&(t.flags|=8192):e.memoizedState!==null!==r&&(t.flags|=8192),r?n&536870912&&!(t.flags&128)&&(yl(t),t.subtreeFlags&6&&(t.flags|=8192)):yl(t),n=t.updateQueue,n!==null&&_l(t,n.retryQueue),n=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),r=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(r=t.memoizedState.cachePool.pool),r!==n&&(t.flags|=2048),e!==null&&Se(Ga),null;case 24:return n=null,e!==null&&(n=e.memoizedState.cache),t.memoizedState.cache!==n&&(t.flags|=2048),ya(ja),yl(t),null;case 25:return null;case 30:return t.flags|=33554432,yl(t),null}throw Error(o(156,t.tag))}function xl(e,t){switch(ta(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return ya(ja),De(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return ke(t),null;case 31:if(t.memoizedState!==null){if(Lo(t),t.alternate===null)throw Error(o(340));fa()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 13:if(Lo(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(o(340));fa()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return Bo(t),e=t.flags,e&65536?(t.flags=e&-65537|128,e=t.memoizedState,e!==null&&(e.rendering=null,e.tail=null),t.flags|=4,t):null;case 4:return De(),null;case 10:return ya(t.type),null;case 22:case 23:return Lo(t),Ao(),e!==null&&Se(Ga),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 24:return ya(ja),null;case 25:return null;default:return null}}function Sl(e,t){switch(ta(t),t.tag){case 3:ya(ja),De();break;case 26:case 27:case 5:ke(t);break;case 4:De();break;case 31:t.memoizedState!==null&&Lo(t);break;case 13:Lo(t);break;case 19:Bo(t);break;case 10:ya(t.type);break;case 22:case 23:Lo(t),Ao(),e!==null&&Se(Ga);break;case 24:ya(ja)}}function Cl(e,t){try{var n=t.updateQueue,r=n===null?null:n.lastEffect;if(r!==null){var i=r.next;n=i;do{if((n.tag&e)===e){r=void 0;var a=n.create,o=n.inst;r=a(),o.destroy=r}n=n.next}while(n!==i)}}catch(e){hf(t,t.return,e)}}function wl(e,t,n){try{var r=t.updateQueue,i=r===null?null:r.lastEffect;if(i!==null){var a=i.next;r=a;do{if((r.tag&e)===e){var o=r.inst,s=o.destroy;if(s!==void 0){o.destroy=void 0,i=t;var c=n,l=s;try{l()}catch(e){hf(i,c,e)}}}r=r.next}while(r!==a)}}catch(e){hf(t,t.return,e)}}function Tl(e){var t=e.updateQueue;if(t!==null){var n=e.stateNode;try{To(t,n)}catch(t){hf(e,e.return,t)}}}function El(e,t,n){n.props=wc(e.type,e.memoizedProps),n.state=e.memoizedState;try{n.componentWillUnmount()}catch(n){hf(e,t,n)}}function Dl(e,t){try{var n=e.ref;if(n!==null){switch(e.tag){case 26:case 27:case 5:var r=e.stateNode;break;case 30:var i=e.stateNode,a=_i(e.memoizedProps,i);(i.ref===null||i.ref.name!==a)&&(i.ref=Ip(a)),r=i.ref;break;case 7:if(e.stateNode===null){var o=new Lp(e);h(e.child,!1,em,o,void 0,void 0),e.stateNode=o}r=e.stateNode;break;default:r=e.stateNode}typeof n==`function`?e.refCleanup=n(r):n.current=r}}catch(n){hf(e,t,n)}}function Ol(e,t){var n=e.ref,r=e.refCleanup;if(n!==null){if(typeof r==`function`)try{r()}catch(n){hf(e,t,n)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof n==`function`)try{n(null)}catch(n){hf(e,t,n)}else n.current=null}}function kl(e,t){if((e.tag===5||e.tag===27||e.tag===6)&&e.alternate===null&&t!==null)for(var n=0;n<t.length;n++)nm(e.stateNode,t[n])}function Al(e){for(var t=e.return;t!==null&&(Nl(t)&&nm(e.stateNode,t.stateNode),!Ml(t));)t=t.return}function jl(e){for(var t=e.return;t!==null&&(Nl(t)&&rm(e.stateNode,t.stateNode),!Ml(t));)t=t.return}function Ml(e){return e.tag===5||e.tag===3||e.tag===27}function Nl(e){return e&&e.tag===7&&e.stateNode!==null}function Pl(e){var t=e.type,n=e.memoizedProps,r=e.stateNode;try{a:switch(t){case`button`:case`input`:case`select`:case`textarea`:n.autoFocus&&r.focus();break a;case`img`:n.src?r.src=n.src:n.srcSet&&(r.srcset=n.srcSet)}}catch(t){hf(e,e.return,t)}}function Fl(e,t,n){try{var r=e.stateNode;op(r,e.type,n,t),r[Tt]=t}catch(t){hf(e,e.return,t)}}function U(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&wp(e.type)||e.tag===4}function Il(e){a:for(;;){for(;e.sibling===null;){if(e.return===null||U(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.tag===27&&wp(e.type)||e.flags&2||e.child===null||e.tag===4)continue a;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Ll(e,t,n,r){var i=e.tag;if(i===5||i===6)i=e.stateNode,t?(n.nodeType===9?n.body:n.nodeName===`HTML`?n.ownerDocument.body:n).insertBefore(i,t):(t=n.nodeType===9?n.body:n.nodeName===`HTML`?n.ownerDocument.body:n,t.appendChild(i),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=bn)),kl(e,r),Jt=!0;else if(i!==4&&(i===27&&(kl(e,r),r=null,wp(e.type)&&(n=e.stateNode,t=null)),e=e.child,e!==null))for(Ll(e,t,n,r),e=e.sibling;e!==null;)Ll(e,t,n,r),e=e.sibling}function Rl(e,t,n,r){var i=e.tag;if(i===5||i===6)i=e.stateNode,t?n.insertBefore(i,t):n.appendChild(i),kl(e,r),Jt=!0;else if(i!==4&&(i===27&&(kl(e,r),r=null,wp(e.type)&&(n=e.stateNode)),e=e.child,e!==null))for(Rl(e,t,n,r),e=e.sibling;e!==null;)Rl(e,t,n,r),e=e.sibling}function zl(e){var t=e.stateNode,n=e.memoizedProps;try{for(var r=e.type,i=t.attributes;i.length;)t.removeAttributeNode(i[0]);ip(t,r,n),t[wt]=e,t[Tt]=n}catch(t){hf(e,e.return,t)}}var Bl=!1,Vl=null;function Hl(e){(e.tag===30||e.subtreeFlags&33554432)&&(Bl=!0)}var Ul=null;function Wl(){var e=Ul;return Ul=null,e}var Gl=0;function Kl(e,t,n,r,i){return Gl=0,ql(e.child,t,n,r,i)}function ql(e,t,n,r,i){for(var a=!1;e!==null;){if(e.tag===5){var o=e.stateNode;if(r!==null){var s=Ap(o);r.push(s),s.view&&(a=!0)}else a||Ap(o).view&&(a=!0);Bl=!0,Dp(o,Gl===0?t:t+`_`+Gl,n),Gl++}else e.tag===22&&e.memoizedState!==null||e.tag===30&&i||ql(e.child,t,n,r,i)&&(a=!0);e=e.sibling}return a}function Jl(e,t){for(;e!==null;)e.tag===5?Op(e.stateNode,e.memoizedProps):e.tag===22&&e.memoizedState!==null||e.tag===30&&t||Jl(e.child,t),e=e.sibling}function Yl(e){if(e.subtreeFlags&18874368)for(e=e.child;e!==null;){if((e.tag!==22||e.memoizedState===null)&&(Yl(e),e.tag===30&&e.flags&18874368&&e.stateNode.paired)){var t=e.memoizedProps;if(t.name==null||t.name===`auto`)throw Error(o(544));var n=t.name;t=yi(t.default,t.share),t!==`none`&&(Kl(e,n,t,null,!1)||Jl(e.child,!1))}e=e.sibling}}function Xl(e,t){if(e.tag===30){var n=e.stateNode,r=e.memoizedProps,i=_i(r,n),a=yi(r.default,n.paired?r.share:r.enter);a===`none`?Yl(e):Kl(e,i,a,null,!1)?(Yl(e),n.paired||t||Pd(e,r.onEnter)):Jl(e.child,!1)}else if(e.subtreeFlags&33554432)for(e=e.child;e!==null;)Xl(e,t),e=e.sibling;else Yl(e)}function W(e){if(Vl!==null&&Vl.size!==0){var t=Vl;if(e.subtreeFlags&18874368)for(e=e.child;e!==null;){if(e.tag!==22||e.memoizedState===null){if(e.tag===30&&e.flags&18874368){var n=e.memoizedProps,r=n.name;if(r!=null&&r!==`auto`){var i=t.get(r);if(i!==void 0){var a=yi(n.default,n.share);if(a!==`none`&&(Kl(e,r,a,null,!1)?(a=e.stateNode,i.paired=a,a.paired=i,Pd(e,n.onShare)):Jl(e.child,!1)),t.delete(r),t.size===0)break}}}W(e)}e=e.sibling}}}function Zl(e){if(e.tag===30){var t=e.memoizedProps,n=_i(t,e.stateNode),r=Vl===null?void 0:Vl.get(n),i=yi(t.default,r===void 0?t.exit:t.share);i!==`none`&&(Kl(e,n,i,null,!1)?r===void 0?Pd(e,t.onExit):(i=e.stateNode,r.paired=i,i.paired=r,Vl.delete(n),Pd(e,t.onShare)):Jl(e.child,!1)),Vl!==null&&W(e)}else if(e.subtreeFlags&33554432)for(e=e.child;e!==null;)Zl(e),e=e.sibling;else Vl!==null&&W(e)}function Ql(e){for(e=e.child;e!==null;){if(e.tag===30){var t=e.memoizedProps,n=_i(t,e.stateNode);t=yi(t.default,t.update),e.flags&=-5,t!==`none`&&Kl(e,n,t,e.memoizedState=[],!1)}else e.subtreeFlags&33554432&&Ql(e);e=e.sibling}}function $l(e){if(e.subtreeFlags&18874368)for(e=e.child;e!==null;){if(e.tag!==22||e.memoizedState===null){if(e.tag===30&&e.flags&18874368){var t=e.stateNode;t.paired!==null&&(t.paired=null,Jl(e.child,!1))}$l(e)}e=e.sibling}}function eu(e){if(e.tag===30)e.stateNode.paired=null,Jl(e.child,!1),$l(e);else if(e.subtreeFlags&33554432)for(e=e.child;e!==null;)eu(e),e=e.sibling;else $l(e)}function tu(e){for(e=e.child;e!==null;)e.tag===30?Jl(e.child,!1):e.subtreeFlags&33554432&&tu(e),e=e.sibling}function nu(e,t,n,r,i,a,o){for(var s=!1;t!==null;){if(t.tag===5){var c=t.stateNode;if(a!==null&&Gl<a.length){var l=a[Gl],u=Ap(c);(l.view||u.view)&&(s=!0);var d;if(d=!(e.flags&4)){if(u.clip)d=!0;else{d=l.rect;var f=u.rect;d=d.y!==f.y||d.x!==f.x||d.height!==f.height||d.width!==f.width}}d&&(e.flags|=4),u.abs?u=!l.abs:(l=l.rect,u=u.rect,u=l.height!==u.height||l.width!==u.width),u&&(e.flags|=32)}else e.flags|=32;e.flags&4&&Dp(c,Gl===0?n:n+`_`+Gl,i),s&&e.flags&4||(Ul===null&&(Ul=[]),Ul.push(c,Gl===0?r:r+`_`+Gl,t.memoizedProps)),Gl++}else(t.tag!==22||t.memoizedState===null)&&(t.tag===30&&o?e.flags|=t.flags&32:nu(e,t.child,n,r,i,a,o)&&(s=!0));t=t.sibling}return s}function ru(e,t){for(e=e.child;e!==null;){if(e.tag===30){var n=e.memoizedProps,r=e.stateNode,i=_i(n,r),a=yi(n.default,n.update);if(t){r=r.clones;var o=r===null?null:r.map(jp)}else o=e.memoizedState,e.memoizedState=null;r=e;var s=e.child;Gl=0,i=nu(r,s,i,i,a,o,!1),e.flags&4&&i&&(t||Pd(e,n.onUpdate))}else e.subtreeFlags&33554432&&ru(e,t);e=e.sibling}}var iu=!1,au=!1,ou=!1,su=!1,G=typeof WeakSet==`function`?WeakSet:Set,cu=null,K=!1,lu=!1,uu=!1,du=!1;function fu(e,t,n){if(e=e.containerInfo,lp=_h,e=qr(e),Jr(e)){if(`selectionStart`in e)var r={start:e.selectionStart,end:e.selectionEnd};else a:{r=(r=e.ownerDocument)&&r.defaultView||window;var i=r.getSelection&&r.getSelection();if(i&&i.rangeCount!==0){r=i.anchorNode;var a=i.anchorOffset,o=i.focusNode;i=i.focusOffset;try{r.nodeType,o.nodeType}catch{r=null;break a}var s=0,c=-1,l=-1,u=0,d=0,f=e,p=null;b:for(;;){for(var m;f!==r||a!==0&&f.nodeType!==3||(c=s+a),f!==o||i!==0&&f.nodeType!==3||(l=s+i),f.nodeType===3&&(s+=f.nodeValue.length),(m=f.firstChild)!==null;)p=f,f=m;for(;;){if(f===e)break b;if(p===r&&++u===a&&(c=s),p===o&&++d===i&&(l=s),(m=f.nextSibling)!==null)break;f=p,p=f.parentNode}f=m}r=c===-1||l===-1?null:{start:c,end:l}}else r=null}r||={start:0,end:0}}else r=null;for(up={focusedElem:e,selectionRange:r},_h=!1,n=(n&335544064)===n,cu=t,t=n?9270:1024;cu!==null;){if(e=cu,n&&(r=e.deletions,r!==null))for(a=0;a<r.length;a++)n&&Zl(r[a]);if(e.alternate===null&&e.flags&2)n&&Hl(e),pu(n);else{if(e.tag===22){if(r=e.alternate,e.memoizedState!==null){r!==null&&r.memoizedState===null&&n&&Zl(r),pu(n);continue}if(r!==null&&r.memoizedState!==null){n&&Hl(e),pu(n);continue}}r=e.child,(e.subtreeFlags&t)!==0&&r!==null?(r.return=e,cu=r):(n&&Ql(e),pu(n))}}Vl=null}function pu(e){for(;cu!==null;){var t=cu,n=e,r=t.alternate,i=t.flags;switch(t.tag){case 0:case 11:case 15:break;case 1:if(i&1024&&r!==null){n=void 0,i=r.memoizedProps,r=r.memoizedState;var a=t.stateNode;try{var s=wc(t.type,i);n=a.getSnapshotBeforeUpdate(s,r),a.__reactInternalSnapshotBeforeUpdate=n}catch(e){hf(t,t.return,e)}}break;case 3:if(i&1024){if(r=t.stateNode.containerInfo,n=r.nodeType,n===9)im(r);else if(n===1)switch(r.nodeName){case`HEAD`:case`HTML`:case`BODY`:im(r);break;default:r.textContent=``}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;case 30:n&&r!==null&&(n=_i(r.memoizedProps,r.stateNode),i=t.memoizedProps,i=yi(i.default,i.update),i!==`none`&&Kl(r,n,i,r.memoizedState=[],!0));break;default:if(i&1024)throw Error(o(163))}if(r=t.sibling,r!==null){r.return=t.return,cu=r;break}cu=t.return}}function mu(e,t,n){var r=n.flags;switch(n.tag){case 0:case 11:case 15:Pu(e,n),r&4&&Cl(5,n);break;case 1:if(Pu(e,n),r&4){if(e=n.stateNode,t===null)try{e.componentDidMount()}catch(e){hf(n,n.return,e)}else{var i=wc(n.type,t.memoizedProps);t=t.memoizedState;try{e.componentDidUpdate(i,t,e.__reactInternalSnapshotBeforeUpdate)}catch(e){hf(n,n.return,e)}}}r&64&&Tl(n),r&512&&Dl(n,n.return);break;case 3:if(Pu(e,n),r&64&&(e=n.updateQueue,e!==null)){if(t=null,n.child!==null)switch(n.child.tag){case 27:case 5:t=n.child.stateNode;break;case 1:t=n.child.stateNode}try{To(e,t)}catch(e){hf(n,n.return,e)}}break;case 27:t===null&&r&4&&zl(n);case 26:case 5:Pu(e,n),t===null&&r&4&&Pl(n),r&512&&Dl(n,n.return);break;case 12:Pu(e,n);break;case 31:Pu(e,n),r&4&&Cu(e,n);break;case 13:Pu(e,n),r&4&&wu(e,n),r&64&&(e=n.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(n=yf.bind(null,n),um(e,n))));break;case 22:if(r=n.memoizedState!==null||iu,!r){var a=t!==null&&t.memoizedState!==null||au;t=iu,i=au,iu=r,(au=a)&&!i?(r=2,n.subtreeFlags&8772&&(r|=1),Iu(e,n,r)):Pu(e,n),iu=t,au=i}break;case 30:Pu(e,n),r&512&&Dl(n,n.return);break;case 7:r&512&&Dl(n,n.return);default:Pu(e,n)}}function hu(e,t){for(e=e.child;e!==null;)gu(e,t),e=e.sibling}function gu(e,t){switch(e.tag){case 5:case 26:try{var n=e.stateNode;if(t){var r=n.style;typeof r.setProperty==`function`?r.setProperty(`display`,`none`,`important`):r.display=`none`}else{var i=e.stateNode,a=e.memoizedProps.style,o=a!=null&&a.hasOwnProperty(`display`)?a.display:null;i.style.display=o==null||typeof o==`boolean`?``:(``+o).trim()}}catch(t){hf(e,e.return,t)}_u(e,t);break;case 6:try{e.stateNode.nodeValue=t?``:e.memoizedProps,Jt=!0}catch(t){hf(e,e.return,t)}break;case 18:try{var s=e.stateNode;t?Ep(s,!0):Ep(e.stateNode,!1)}catch(t){hf(e,e.return,t)}break;case 22:case 23:e.memoizedState===null&&hu(e,t);break;default:hu(e,t)}}function _u(e,t){if(e.subtreeFlags&67108864)for(e=e.child;e!==null;){a:{var n=e,r=t;switch(n.tag){case 4:gu(n,r);break a;case 22:n.memoizedState===null&&_u(n,r);break a;default:_u(n,r)}}e=e.sibling}}function vu(e){var t=e.alternate;t!==null&&(e.alternate=null,vu(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&Nt(t)),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}var yu=null,bu=!1;function xu(e,t,n){for(n=n.child;n!==null;)Su(e,t,n),n=n.sibling}function Su(e,t,n){if(Qe&&typeof Qe.onCommitFiberUnmount==`function`)try{Qe.onCommitFiberUnmount(Ze,n)}catch{}switch(n.tag){case 26:au||Ol(n,t),xu(e,t,n),n.memoizedState?n.memoizedState.count--:n.stateNode&&!au&&(n=n.stateNode,n.parentNode.removeChild(n));break;case 27:au||Ol(n,t),jl(n);var r=yu,i=bu;wp(n.type)&&(yu=n.stateNode,bu=!1),xu(e,t,n),vm(n.stateNode,n.type,n.memoizedProps),yu=r,bu=i;break;case 5:au||Ol(n,t),jl(n);case 6:if(n.tag===6&&jl(n),r=yu,i=bu,yu=null,xu(e,t,n),yu=r,bu=i,yu!==null){if(bu)try{(yu.nodeType===9?yu.body:yu.nodeName===`HTML`?yu.ownerDocument.body:yu).removeChild(n.stateNode),Jt=!0}catch(e){hf(n,t,e)}else try{yu.removeChild(n.stateNode),Jt=!0}catch(e){hf(n,t,e)}}break;case 18:yu!==null&&(bu?(e=yu,Tp(e.nodeType===9?e.body:e.nodeName===`HTML`?e.ownerDocument.body:e,n.stateNode),Uh(e)):Tp(yu,n.stateNode));break;case 4:r=yu,i=bu,yu=n.stateNode.containerInfo,bu=!0,xu(e,t,n),yu=r,bu=i;break;case 0:case 11:case 14:case 15:wl(2,n,t),au||wl(4,n,t),xu(e,t,n);break;case 1:au||(Ol(n,t),r=n.stateNode,typeof r.componentWillUnmount==`function`&&El(n,t,r)),xu(e,t,n);break;case 21:xu(e,t,n);break;case 22:au=(r=au)||n.memoizedState!==null,xu(e,t,n),au=r;break;case 30:Ol(n,t),xu(e,t,n);break;case 7:au||Ol(n,t),xu(e,t,n);break;default:xu(e,t,n)}}function Cu(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{Uh(e)}catch(e){hf(t,t.return,e)}}}function wu(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{Uh(e)}catch(e){hf(t,t.return,e)}}function Tu(e){switch(e.tag){case 31:case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new G),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new G),t;default:throw Error(o(435,e.tag))}}function Eu(e,t){var n=Tu(e);t.forEach(function(t){if(!n.has(t)){n.add(t);var r=bf.bind(null,e,t);t.then(r,r)}})}function Du(e,t,n){var r=t.deletions;if(r!==null)for(var i=0;i<r.length;i++){var a=r[i],s=e,c=t,l=c;a:for(;l!==null;){switch(l.tag){case 27:if(wp(l.type)){yu=l.stateNode,bu=!1;break a}break;case 5:yu=l.stateNode,bu=!1;break a;case 3:case 4:yu=l.stateNode.containerInfo,bu=!0;break a}l=l.return}if(yu===null)throw Error(o(160));Su(s,c,a),yu=null,bu=!1,s=a.alternate,s!==null&&(s.return=null),a.return=null}if(t.subtreeFlags&13886)for(t=t.child;t!==null;)ku(t,e,n),t=t.sibling}var Ou=null;function ku(e,t,n){var r=e.alternate,i=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(i&4&&(r=e.updateQueue,r=r===null?null:r.events,r!==null))for(var a=0;a<r.length;a++){var s=r[a];s.ref.impl=s.nextImpl}Du(t,e,n),Au(e),i&4&&(wl(3,e,e.return),Cl(3,e),wl(5,e,e.return));break;case 1:Du(t,e,n),Au(e),i&512&&(au||r===null||Ol(r,r.return)),i&64&&iu&&(e=e.updateQueue,e!==null&&(t=e.callbacks,t!==null&&(n=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=n===null?t:n.concat(t))));break;case 26:if(a=Ou,Du(t,e,n),Au(e),i&512&&(au||r===null||Ol(r,r.return)),i&4){if(i=r===null?null:r.memoizedState,n=e.memoizedState,r===null){if(n===null){if(e.stateNode===null){if(iu)e.stateNode=mp(e.type,e.memoizedProps,t.containerInfo,e);else{a:{t=e.type,n=e.memoizedProps,i=a.ownerDocument||a;b:switch(t){case`title`:r=i.getElementsByTagName(`title`)[0],(!r||r[jt]||r[wt]||r.namespaceURI===`http://www.w3.org/2000/svg`||r.hasAttribute(`itemprop`))&&(r=i.createElement(t),i.head.insertBefore(r,i.querySelector(`head > title`))),ip(r,t,n),r[wt]=e,Rt(r),t=r;break a;case`link`:if(a=Km(`link`,`href`,i).get(t+(n.href||``))){for(s=0;s<a.length;s++)if(r=a[s],r.getAttribute(`href`)===(n.href==null||n.href===``?null:n.href)&&r.getAttribute(`rel`)===(n.rel==null?null:n.rel)&&r.getAttribute(`title`)===(n.title==null?null:n.title)&&r.getAttribute(`crossorigin`)===(n.crossOrigin==null?null:n.crossOrigin)){a.splice(s,1);break b}}r=i.createElement(t),ip(r,t,n),i.head.appendChild(r);break;case`meta`:if(a=Km(`meta`,`content`,i).get(t+(n.content||``))){for(s=0;s<a.length;s++)if(r=a[s],r.getAttribute(`content`)===(n.content==null?null:``+n.content)&&r.getAttribute(`name`)===(n.name==null?null:n.name)&&r.getAttribute(`property`)===(n.property==null?null:n.property)&&r.getAttribute(`http-equiv`)===(n.httpEquiv==null?null:n.httpEquiv)&&r.getAttribute(`charset`)===(n.charSet==null?null:n.charSet)){a.splice(s,1);break b}}r=i.createElement(t),ip(r,t,n),i.head.appendChild(r);break;default:throw Error(o(468,t))}r[wt]=e,Rt(r),t=r}e.stateNode=t}}else iu||qm(a,e.type,e.stateNode)}else e.stateNode=Vm(a,n,e.memoizedProps)}else i===n?n===null&&e.stateNode!==null&&Fl(e,e.memoizedProps,r.memoizedProps):(i===null?(t=r.stateNode,t===null||au||t.parentNode.removeChild(t)):i.count--,n===null?iu||qm(a,e.type,e.stateNode):Vm(a,n,e.memoizedProps))}break;case 27:Du(t,e,n),Au(e),i&512&&(au||r===null||Ol(r,r.return)),r!==null&&i&4&&Fl(e,e.memoizedProps,r.memoizedProps);break;case 5:if(a=ou,ou=!1,Du(t,e,n),ou=a,Au(e),i&512&&(au||r===null||Ol(r,r.return)),e.flags&32){t=e.stateNode;try{fn(t,``),Jt=!0}catch(t){hf(e,e.return,t)}}i&4&&e.stateNode!=null&&(t=e.memoizedProps,Fl(e,t,r===null?t:r.memoizedProps)),i&1024&&(su=!0);break;case 6:if(Du(t,e,n),Au(e),i&4){if(e.stateNode===null)throw Error(o(162));t=e.memoizedProps,n=e.stateNode;try{n.nodeValue=t,Jt=!0}catch(t){hf(e,e.return,t)}}break;case 3:if(Jt=!1,Gm=null,a=Ou,Ou=Sm(t.containerInfo),Du(t,e,n),Ou=a,Au(e),i&4&&r!==null&&r.memoizedState.isDehydrated)try{Uh(t.containerInfo)}catch(t){hf(e,e.return,t)}su&&(su=!1,ju(e)),Jt=!1;break;case 4:i=ou,ou=iu,r=Yt(),a=Ou,Ou=Sm(e.stateNode.containerInfo),Du(t,e,n),Au(e),Ou=a,Jt&&lu&&(uu=!0),Jt=r,ou=i;break;case 12:Du(t,e,n),Au(e);break;case 31:Du(t,e,n),Au(e),i&4&&(t=e.updateQueue,t!==null&&(e.updateQueue=null,Eu(e,t)));break;case 13:Du(t,e,n),Au(e),e.child.flags&8192&&e.memoizedState!==null!=(r!==null&&r.memoizedState!==null)&&(hd=He()),i&4&&(t=e.updateQueue,t!==null&&(e.updateQueue=null,Eu(e,t)));break;case 22:a=e.memoizedState!==null,s=r!==null&&r.memoizedState!==null;var c=iu,l=au,u=ou;iu=c||a,ou=u||a,au=l||s,Du(t,e,n),au=l,ou=u,iu=c,Au(e),i&8192&&(t=e.stateNode,t._visibility=a?t._visibility&-2:t._visibility|1,!a||r===null||s||iu||au||(t=s||au,n=iu,r=au,iu=a||iu,au=t,Fu(e,2),iu=n,au=r),!a&&ou||hu(e,a)),i&4&&(t=e.updateQueue,t!==null&&(n=t.retryQueue,n!==null&&(t.retryQueue=null,Eu(e,n))));break;case 19:Du(t,e,n),Au(e),i&4&&(t=e.updateQueue,t!==null&&(e.updateQueue=null,Eu(e,t)));break;case 30:i&512&&(au||r===null||Ol(r,r.return)),i=Yt(),a=lu,s=(n&335544064)===n,c=e.memoizedProps,lu=s&&yi(c.default,c.update)!==`none`,Du(t,e,n),Au(e),s&&r!==null&&Jt&&(e.flags|=4),lu=a,Jt=i;break;case 21:break;case 7:i&512&&(au||r===null||Ol(r,r.return)),r&&r.stateNode!==null&&(r.stateNode._fragmentFiber=e);default:Du(t,e,n),Au(e)}}function Au(e){var t=e.flags;if(t&2){try{for(var n,r=e.return;r!==null;){if(U(r)){n=r;break}r=r.return}r=null;for(var i=e.return;i!==null;){if(Nl(i)){var a=i.stateNode;r===null?r=[a]:r.push(a)}if(Ml(i))break;i=i.return}var s=r;if(n==null)throw Error(o(160));switch(n.tag){case 27:var c=n.stateNode;Rl(e,Il(e),c,s);break;case 5:var l=n.stateNode;n.flags&32&&(fn(l,``),n.flags&=-33),Rl(e,Il(e),l,s);break;case 3:case 4:var u=n.stateNode.containerInfo;Ll(e,Il(e),u,s);break;default:throw Error(o(161))}}catch(t){hf(e,e.return,t)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function ju(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;ju(t),t.tag===5&&t.flags&1024&&(t=t.stateNode,_h=!0,t.reset(),_h=!1),e=e.sibling}}function Mu(e,t){if(t.subtreeFlags&9270)for(t=t.child;t!==null;)Nu(t,e),t=t.sibling;else ru(t,!1)}function Nu(e,t){var n=e.alternate;if(n===null)Xl(e,!1);else switch(e.tag){case 3:if(du=K=!1,Wl(),Mu(t,e),!K&&!uu){if(e=Ul,e!==null)for(var r=0;r<e.length;r+=3){n=e[r];var i=e[r+1];Op(n,e[r+2]),n=n.ownerDocument.documentElement,n!==null&&n.animate({opacity:[0,0],pointerEvents:[`none`,`none`]},{duration:0,fill:`forwards`,pseudoElement:`::view-transition-group(`+i+`)`})}e=t.containerInfo,e=e.nodeType===9?e.documentElement:e.ownerDocument.documentElement,e!==null&&e.style.viewTransitionName===``&&(e.style.viewTransitionName=`none`,e.animate({opacity:[0,0],pointerEvents:[`none`,`none`]},{duration:0,fill:`forwards`,pseudoElement:`::view-transition-group(root)`}),e.animate({width:[0,0],height:[0,0]},{duration:0,fill:`forwards`,pseudoElement:`::view-transition`})),du=!0}Ul=null;break;case 5:Mu(t,e);break;case 4:r=K,K=!1,Mu(t,e),K&&(uu=!0),K=r;break;case 22:e.memoizedState===null&&(n.memoizedState===null?Mu(t,e):Xl(e,!1));break;case 30:r=K,i=Wl(),K=!1,Mu(t,e),K&&(e.flags|=4);var a=e.memoizedProps,o=e.stateNode;t=_i(a,o),o=_i(n.memoizedProps,o);var s=yi(a.default,a.update);s===`none`?t=!1:(a=n.memoizedState,n.memoizedState=null,n=e.child,Gl=0,t=nu(e,n,t,o,s,a,!0),Gl!==(a===null?0:a.length)&&(e.flags|=32)),e.flags&4&&t?(Pd(e,e.memoizedProps.onUpdate),Ul=i):i!==null&&(i.push.apply(i,Ul),Ul=i),K=e.flags&32?!0:r;break;default:Mu(t,e)}}function Pu(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)mu(e,t.alternate,t),t=t.sibling}function Fu(e,t){for(e=e.child;e!==null;){var n=e,r=t;switch(n.tag){case 0:case 11:case 14:case 15:wl(4,n,n.return),Fu(n,r);break;case 1:Ol(n,n.return);var i=n.stateNode;typeof i.componentWillUnmount==`function`&&El(n,n.return,i),Fu(n,r);break;case 27:r&2&&vm(n.stateNode,n.type,n.memoizedProps);case 5:Ol(n,n.return),n.tag!==5&&n.tag!==27||jl(n),Fu(n,r);break;case 6:jl(n);break;case 26:Ol(n,n.return),i=n.stateNode,n.memoizedState!==null||i===null||au||i.parentNode.removeChild(i),Fu(n,r);break;case 22:n.memoizedState===null&&Fu(n,r);break;case 30:Ol(n,n.return),Fu(n,r);break;case 7:Ol(n,n.return);default:Fu(n,r)}e=e.sibling}}function Iu(e,t,n){for(n=t.subtreeFlags&8772?n:n&-2,t=t.child;t!==null;){var r=t.alternate,i=e,a=t,o=a.flags,s=!!(n&1);switch(a.tag){case 0:case 11:case 15:Iu(i,a,n),Cl(4,a);break;case 1:if(Iu(i,a,n),r=a,i=r.stateNode,typeof i.componentDidMount==`function`)try{i.componentDidMount()}catch(e){hf(r,r.return,e)}if(r=a,i=r.updateQueue,i!==null){var c=r.stateNode;try{var l=i.shared.hiddenCallbacks;if(l!==null)for(i.shared.hiddenCallbacks=null,i=0;i<l.length;i++)wo(l[i],c)}catch(e){hf(r,r.return,e)}}s&&o&64&&Tl(a),Dl(a,a.return);break;case 27:n&2&&zl(a);case 5:a.tag!==5&&a.tag!==27||Al(a),Iu(i,a,n),s&&r===null&&o&4&&Pl(a),Dl(a,a.return);break;case 6:Al(a);break;case 26:c=a.stateNode,a.memoizedState!==null||c===null||iu||qm(Sm(c.ownerDocument),a.type,c),Iu(i,a,n),s&&r===null&&o&4&&Pl(a),Dl(a,a.return);break;case 12:Iu(i,a,n);break;case 31:Iu(i,a,n),s&&o&4&&Cu(i,a);break;case 13:Iu(i,a,n),s&&o&4&&wu(i,a);break;case 22:a.memoizedState===null&&Iu(i,a,n),Dl(a,a.return);break;case 30:Iu(i,a,n),Dl(a,a.return);break;case 7:Dl(a,a.return);default:Iu(i,a,n)}t=t.sibling}}function Lu(e,t){var n=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),e=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(e=t.memoizedState.cachePool.pool),e!==n&&(e!=null&&e.refCount++,n!=null&&Na(n))}function Ru(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&Na(e))}function zu(e,t,n,r){var i=(n&335544064)===n;if(t.subtreeFlags&(i?10262:10256))for(t=t.child;t!==null;)Bu(e,t,n,r),t=t.sibling;else i&&tu(t)}function Bu(e,t,n,r){var i=(n&335544064)===n;i&&t.alternate===null&&t.return!==null&&t.return.alternate!==null&&eu(t);var a=t.flags;switch(t.tag){case 0:case 11:case 15:zu(e,t,n,r),a&2048&&Cl(9,t);break;case 1:zu(e,t,n,r);break;case 3:zu(e,t,n,r),i&&du&&(e=e.containerInfo,e=e.nodeType===9?e.body:e.nodeName===`HTML`?e.ownerDocument.body:e,e.style.viewTransitionName===`root`&&(e.style.viewTransitionName=``),e=e.ownerDocument.documentElement,e!==null&&e.style.viewTransitionName===`none`&&(e.style.viewTransitionName=``)),a&2048&&(a=null,t.alternate!==null&&(a=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==a&&(t.refCount++,a!=null&&Na(a)));break;case 12:if(a&2048){zu(e,t,n,r),a=t.stateNode;try{var o=t.memoizedProps,s=o.id,c=o.onPostCommit;typeof c==`function`&&c(s,t.alternate===null?`mount`:`update`,a.passiveEffectDuration,-0)}catch(e){hf(t,t.return,e)}}else zu(e,t,n,r);break;case 31:zu(e,t,n,r);break;case 13:zu(e,t,n,r);break;case 23:break;case 22:o=t.stateNode,s=t.alternate,t.memoizedState===null?(i&&s!==null&&s.memoizedState!==null&&eu(t),o._visibility&2?zu(e,t,n,r):(o._visibility|=2,Vu(e,t,n,r,!!(t.subtreeFlags&10256)||!1))):(i&&s!==null&&s.memoizedState===null&&eu(s),o._visibility&2?zu(e,t,n,r):Hu(e,t)),a&2048&&Lu(s,t);break;case 24:zu(e,t,n,r),a&2048&&Ru(t.alternate,t);break;case 30:i&&(a=t.alternate,a!==null&&(Jl(a.child,!0),Jl(t.child,!0))),zu(e,t,n,r);break;default:zu(e,t,n,r)}}function Vu(e,t,n,r,i){for(i&&=!!(t.subtreeFlags&10256)||!1,t=t.child;t!==null;){var a=e,o=t,s=n,c=r,l=o.flags;switch(o.tag){case 0:case 11:case 15:Vu(a,o,s,c,i),Cl(8,o);break;case 23:break;case 22:var u=o.stateNode;o.memoizedState===null?(u._visibility|=2,Vu(a,o,s,c,i)):u._visibility&2?Vu(a,o,s,c,i):Hu(a,o),i&&l&2048&&Lu(o.alternate,o);break;case 24:Vu(a,o,s,c,i),i&&l&2048&&Ru(o.alternate,o);break;default:Vu(a,o,s,c,i)}t=t.sibling}}function Hu(e,t){if(t.subtreeFlags&10256)for(t=t.child;t!==null;){var n=e,r=t,i=r.flags;switch(r.tag){case 22:Hu(n,r),i&2048&&Lu(r.alternate,r);break;case 24:Hu(n,r),i&2048&&Ru(r.alternate,r);break;default:Hu(n,r)}t=t.sibling}}var Uu=8192;function Wu(e,t,n){if(e.subtreeFlags&Uu)for(e=e.child;e!==null;)q(e,t,n),e=e.sibling}function q(e,t,n){switch(e.tag){case 26:Wu(e,t,n),e.flags&Uu&&(e.memoizedState===null?(e=e.stateNode,(t&335544128)===t&&Qm(n,e)):$m(n,Ou,e.memoizedState,e.memoizedProps));break;case 5:Wu(e,t,n),e.flags&Uu&&(e=e.stateNode,(t&335544128)===t&&Qm(n,e));break;case 3:case 4:var r=Ou;Ou=Sm(e.stateNode.containerInfo),Wu(e,t,n),Ou=r;break;case 22:e.memoizedState===null&&(r=e.alternate,r!==null&&r.memoizedState!==null?(r=Uu,Uu=16777216,Wu(e,t,n),Uu=r):Wu(e,t,n));break;case 30:if((e.flags&Uu)!==0&&(r=e.memoizedProps.name,r!=null&&r!==`auto`)){var i=e.stateNode;i.paired=null,Vl===null&&(Vl=new Map),Vl.set(r,i)}Wu(e,t,n);break;default:Wu(e,t,n)}}function Gu(e){var t=e.alternate;if(t!==null&&(e=t.child,e!==null)){t.child=null;do t=e.sibling,e.sibling=null,e=t;while(e!==null)}}function Ku(e){var t=e.deletions;if(e.flags&16){if(t!==null)for(var n=0;n<t.length;n++){var r=t[n];cu=r,Yu(r,e)}Gu(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)qu(e),e=e.sibling}function qu(e){switch(e.tag){case 0:case 11:case 15:Ku(e),e.flags&2048&&wl(9,e,e.return);break;case 3:Ku(e);break;case 12:Ku(e);break;case 22:var t=e.stateNode;e.memoizedState!==null&&t._visibility&2&&(e.return===null||e.return.tag!==13)?(t._visibility&=-3,Ju(e)):Ku(e);break;default:Ku(e)}}function Ju(e){var t=e.deletions;if(e.flags&16){if(t!==null)for(var n=0;n<t.length;n++){var r=t[n];cu=r,Yu(r,e)}Gu(e)}for(e=e.child;e!==null;){switch(t=e,t.tag){case 0:case 11:case 15:wl(8,t,t.return),Ju(t);break;case 22:n=t.stateNode,n._visibility&2&&(n._visibility&=-3,Ju(t));break;default:Ju(t)}e=e.sibling}}function Yu(e,t){for(;cu!==null;){var n=cu;switch(n.tag){case 0:case 11:case 15:wl(8,n,t);break;case 23:case 22:if(n.memoizedState!==null&&n.memoizedState.cachePool!==null){var r=n.memoizedState.cachePool.pool;r!=null&&r.refCount++}break;case 24:Na(n.memoizedState.cache)}if(r=n.child,r!==null)r.return=n,cu=r;else a:for(n=e;cu!==null;){r=cu;var i=r.sibling,a=r.return;if(vu(r),r===n){cu=null;break a}if(i!==null){i.return=a,cu=i;break a}cu=a}}}var Xu={getCacheForType:function(e){var t=Ta(ja),n=t.data.get(e);return n===void 0&&(n=e(),t.data.set(e,n)),n},cacheSignal:function(){return Ta(ja).controller.signal}},Zu=typeof WeakMap==`function`?WeakMap:Map,Qu=0,$u=null,J=null,Y=0,ed=0,td=null,nd=!1,rd=!1,id=!1,ad=0,od=0,sd=0,cd=0,ld=0,ud=0,dd=0,fd=null,pd=null,md=!1,hd=0,gd=0,_d=1/0,vd=null,yd=null,bd=0,xd=null,Sd=null,Cd=0,wd=0,Td=null,Ed=null,Dd=null,Od=null,kd=null,Ad=0,jd=null;function Md(){return Qu&2&&Y!==0?Y&-Y:P.T===null?xt():If()}function Nd(){if(ud===0){if(!(Y&536870912)||B){var e=at;at<<=1,!(at&3932160)&&(at=262144),ud=e}else ud=536870912}return e=jo.current,e!==null&&(e.flags|=32),ud}function Pd(e,t){if(t!=null){var n=e.stateNode,r=n.ref;r===null&&(r=n.ref=Ip(_i(e.memoizedProps,n))),Od===null&&(Od=[]),Od.push(t.bind(null,r))}}function Fd(e,t,n){(e===$u&&(ed===2||ed===9)||e.cancelPendingCommit!==null)&&(Hd(e,0),zd(e,Y,ud,!1)),mt(e,n),Qu&2&&e===$u||(e===$u&&(!(Qu&2)&&(cd|=n),od===4&&zd(e,Y,ud,!1)),Of(e))}function Id(e,t,n){if(Qu&6)throw Error(o(327));var r=!n&&!(t&127)&&(t&e.expiredLanes)===0||lt(e,t),i=r?Xd(e,t):Jd(e,t,!0),a=r;do{if(i===0){rd&&!r&&zd(e,t,0,!1);break}if(n=e.current.alternate,a&&!Rd(n))i=Jd(e,t,!1),a=!1;else{if(i===2){if(a=t,e.errorRecoveryDisabledLanes&a)var s=0;else s=e.pendingLanes&-536870913,s=s===0?s&536870912?536870912:0:s;if(s!==0){t=s;a:{var c=e;i=fd;var l=c.current.memoizedState.isDehydrated;if(l&&(Hd(c,s).flags|=256),s=Jd(c,s,!1),s!==2&&s!==6){if(id&&!l){c.errorRecoveryDisabledLanes|=a,cd|=a,i=4;break a}a=pd,pd=i,a!==null&&(pd===null?pd=a:pd.push.apply(pd,a))}i=s}if(a=!1,i!==2)continue}}if(i===1){Hd(e,0),zd(e,t,0,!0);break}a:{switch(r=e,a=i,a){case 0:case 1:throw Error(o(345));case 4:if((t&4194048)!==t&&(t&62914560)!==t)break;case 6:zd(r,t,ud,!nd);break a;case 2:pd=null;break;case 3:case 5:break;default:throw Error(o(329))}if((t&62914560)===t&&(i=hd+300-He(),10<i)){if(zd(r,t,ud,!nd),ct(r,0,!0)!==0)break a;Cd=t,r.timeoutHandle=vp(Ld.bind(null,r,n,pd,vd,md,t,ud,cd,dd,nd,a,`Throttled`,-0,0),i);break a}Ld(r,n,pd,vd,md,t,ud,cd,dd,nd,a,null,-0,0)}break}}while(1);Of(e)}function Ld(e,t,n,r,i,a,o,s,c,l,u,d,f,p){e.timeoutHandle=-1;var m=t.subtreeFlags,h=(a&335544064)===a;d=null,(h||m&8192||(m&16785408)==16785408)&&(d={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:bn},Vl=null,q(t,a,d),h&&(m=d,h=e.containerInfo,h=(h.nodeType===9?h:h.ownerDocument).__reactViewTransition,h!=null&&(m.count++,m.waitingForViewTransition=!0,m=rh.bind(m),h.finished.then(m,m))),m=(a&62914560)===a?hd-He():(a&4194048)===a?gd-He():0,m=th(d,m),m!==null)?(Cd=a,e.cancelPendingCommit=m(rf.bind(null,e,t,a,n,r,i,o,s,c,l,u,d,null,f,p)),zd(e,a,o,!l)):rf(e,t,a,n,r,i,o,s,c,l,u,d)}function Rd(e){for(var t=e;;){var n=t.tag;if((n===0||n===11||n===15)&&t.flags&16384&&(n=t.updateQueue,n!==null&&(n=n.stores,n!==null)))for(var r=0;r<n.length;r++){var i=n[r],a=i.getSnapshot;i=i.value;try{if(!Vr(a(),i))return!1}catch{return!1}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function zd(e,t,n,r){t=ut(e,t),t&=~ld,t&=~cd,e.suspendedLanes|=t,e.pingedLanes&=~t,r&&(e.warmLanes|=t),r=e.expirationTimes;for(var i=t;0<i;){var a=31-et(i),o=1<<a;r[a]=-1,i&=~o}n!==0&>(e,n,t)}function Bd(){return Qu&6?!0:(kf(0,!1),!1)}function Vd(){if(J!==null){if(ed===0)var e=J.return;else e=J,_a=ga=null,os(e),ao=null,oo=0,e=J;for(;e!==null;)Sl(e.alternate,e),e=e.return;J=null}}function Hd(e,t){var n=e.timeoutHandle;return n!==-1&&(e.timeoutHandle=-1,yp(n)),n=e.cancelPendingCommit,n!==null&&(e.cancelPendingCommit=null,n()),Cd=0,Vd(),$u=e,J=n=Pi(e.current,null),Y=t,ed=0,td=null,nd=!1,rd=lt(e,t),id=!1,dd=ud=ld=cd=sd=od=0,pd=fd=null,md=!1,ad=ut(e,t),wi(),n}function Ud(e,t){V=null,P.H=gc,t===Ya||t===Za?(t=ro(),ed=3):t===Xa?(t=ro(),ed=4):ed=t===Pc?8:typeof t==`object`&&t&&typeof t.then==`function`?6:1,td=t,J===null&&(od=1,Oc(e,Hi(t,e.current)))}function Wd(){var e=jo.current;return e===null?!0:(Y&4194048)===Y?Mo===null:(Y&62914560)===Y||Y&536870912?e===Mo:!1}function Gd(){var e=P.H;return P.H=gc,e===null?gc:e}function Kd(){var e=P.A;return P.A=Xu,e}function qd(){od=4,nd||(Y&4194048)!==Y&&jo.current!==null||(rd=!0),!(sd&134217727)&&!(cd&134217727)||$u===null||zd($u,Y,ud,!1)}function Jd(e,t,n){var r=Qu;Qu|=2;var i=Gd(),a=Kd();($u!==e||Y!==t)&&(vd=null,Hd(e,t)),t=!1;var o=od;a:do try{if(ed!==0&&J!==null){var s=J,c=td;switch(ed){case 8:Vd(),o=6;break a;case 3:case 2:case 9:case 6:jo.current===null&&(t=!0);var l=ed;if(ed=0,td=null,ef(e,s,c,l),n&&rd){o=0;break a}break;default:l=ed,ed=0,td=null,ef(e,s,c,l)}}Yd(),o=od;break}catch(t){Ud(e,t)}while(1);return t&&e.shellSuspendCounter++,_a=ga=null,Qu=r,P.H=i,P.A=a,J===null&&($u=null,Y=0,wi()),o}function Yd(){for(;J!==null;)Qd(J)}function Xd(e,t){var n=Qu;Qu|=2;var r=Gd(),i=Kd();$u!==e||Y!==t?(vd=null,_d=He()+500,Hd(e,t)):rd=lt(e,t);a:do try{if(ed!==0&&J!==null){t=J;var a=td;b:switch(ed){case 1:ed=0,td=null,ef(e,t,a,1);break;case 2:case 9:if($a(a)){ed=0,td=null,$d(t);break}t=function(){ed!==2&&ed!==9||$u!==e||(ed=7),Of(e)},a.then(t,t);break a;case 3:ed=7;break a;case 4:ed=5;break a;case 7:$a(a)?(ed=0,td=null,$d(t)):(ed=0,td=null,ef(e,t,a,7));break;case 5:var s=null;switch(J.tag){case 26:s=J.memoizedState;case 5:case 27:var c=J;if(s?Xm(s):c.stateNode.complete){ed=0,td=null;var l=c.sibling;if(l!==null)J=l;else{var u=c.return;u===null?J=null:(J=u,tf(u))}break b}}ed=0,td=null,ef(e,t,a,5);break;case 6:ed=0,td=null,ef(e,t,a,6);break;case 8:Vd(),od=6;break a;default:throw Error(o(462))}}Zd();break}catch(t){Ud(e,t)}while(1);return _a=ga=null,P.H=r,P.A=i,Qu=n,J===null?($u=null,Y=0,wi(),od):0}function Zd(){for(;J!==null&&!Be();)Qd(J)}function Qd(e){var t=pl(e.alternate,e,ad);e.memoizedProps=e.pendingProps,t===null?tf(e):J=t}function $d(e){var t=e,n=t.alternate;switch(t.tag){case 15:case 0:t=Jc(n,t,t.pendingProps,t.type,void 0,Y);break;case 11:t=Jc(n,t,t.pendingProps,t.type.render,t.ref,Y);break;case 5:os(t);var r=t;r===ra&&(B?(ua(r),r.tag===5&&r.stateNode!=null&&(ia=r.stateNode)):(ua(r),B=!0));default:Sl(n,t),t=J=Fi(t,ad),t=pl(n,t,ad)}e.memoizedProps=e.pendingProps,t===null?tf(e):J=t}function ef(e,t,n,r){_a=ga=null,os(t),ao=null,oo=0;var i=t.return;try{if(Nc(e,i,t,n,Y)){od=1,Oc(e,Hi(n,e.current)),J=null;return}}catch(t){if(i!==null)throw J=i,t;od=1,Oc(e,Hi(n,e.current)),J=null;return}t.flags&32768?(B||r===1?e=!0:rd||Y&536870912?e=!1:(nd=e=!0,(r===2||r===9||r===3||r===6)&&(r=jo.current,r!==null&&r.tag===13&&(r.flags|=16384))),nf(t,e)):tf(t)}function tf(e){var t=e;do{if(t.flags&32768){nf(t,nd);return}e=t.return;var n=bl(t.alternate,t,ad);if(n!==null){J=n;return}if(t=t.sibling,t!==null){J=t;return}J=t=e}while(t!==null);od===0&&(od=5)}function nf(e,t){do{var n=xl(e.alternate,e);if(n!==null){n.flags&=32767,J=n;return}if(n=e.return,n!==null&&(n.flags|=32768,n.subtreeFlags=0,n.deletions=null),!t&&(e=e.sibling,e!==null)){J=e;return}J=e=n}while(e!==null);od=6,J=null}function rf(e,t,n,r,i,a,s,c,l,u,d,f){e.cancelPendingCommit=null;do ff();while(bd!==0);if(Qu&6)throw Error(o(327));if(t!==null){if(t===e.current)throw Error(o(177));e===$u&&(J=$u=null,Y=0),Sd=t,xd=e,Cd=n,Td=i,Ed=r,af(e,t,n,s,c,l,f)}}function af(e,t,n,r,i,a,o){var s=t.lanes|t.childLanes;if(wd=s,s|=Ci,ht(e,n,s,r,i,a),Od=null,(n&335544064)===n?(kd=Ia(e),r=10262):(kd=null,r=10256),(t.subtreeFlags&r)!==0||(t.flags&r)!==0?(e.callbackNode=null,e.callbackPriority=0,xf(Ke,function(){return pf(),null})):(e.callbackNode=null,e.callbackPriority=0),Bl=!1,r=!!(t.flags&13878),t.subtreeFlags&13878||r){r=P.T,P.T=null,i=_e.p,_e.p=2,a=Qu,Qu|=4;try{fu(e,t,n)}finally{Qu=a,_e.p=i,P.T=r}}bd=1,Bl?Dd=Pp(o,e.containerInfo,kd,cf,lf,sf,uf,pf,of,null,null):(cf(),lf(),uf())}function of(e){if(bd!==0){var t=xd.onRecoverableError;t(e,{componentStack:null})}}function sf(){bd===3&&(bd=0,Nu(Sd,xd),bd=4)}function cf(){if(bd===1){bd=0;var e=xd,t=Sd,n=Cd,r=!!(t.flags&13878);if(t.subtreeFlags&13878||r){r=P.T,P.T=null;var i=_e.p;_e.p=2;var a=Qu;Qu|=4;try{lu=uu=!1,ku(t,e,n),n=up;var o=qr(e.containerInfo),s=n.focusedElem,c=n.selectionRange;if(o!==s&&s&&s.ownerDocument&&Kr(s.ownerDocument.documentElement,s)){if(c!==null&&Jr(s)){var l=c.start,u=c.end;if(u===void 0&&(u=l),`selectionStart`in s)s.selectionStart=l,s.selectionEnd=Math.min(u,s.value.length);else{var d=s.ownerDocument||document,f=d&&d.defaultView||window;if(f.getSelection){var p=f.getSelection(),m=s.textContent.length,h=Math.min(c.start,m),g=c.end===void 0?h:Math.min(c.end,m);!p.extend&&h>g&&(o=g,g=h,h=o);var _=Gr(s,h),v=Gr(s,g);if(_&&v&&(p.rangeCount!==1||p.anchorNode!==_.node||p.anchorOffset!==_.offset||p.focusNode!==v.node||p.focusOffset!==v.offset)){var y=d.createRange();y.setStart(_.node,_.offset),p.removeAllRanges(),h>g?(p.addRange(y),p.extend(v.node,v.offset)):(y.setEnd(v.node,v.offset),p.addRange(y))}}}}for(d=[],p=s;p=p.parentNode;)p.nodeType===1&&d.push({element:p,left:p.scrollLeft,top:p.scrollTop});for(typeof s.focus==`function`&&s.focus(),s=0;s<d.length;s++){var b=d[s];b.element.scrollLeft=b.left,b.element.scrollTop=b.top}}_h=!!lp,up=lp=null}finally{Qu=a,_e.p=i,P.T=r}}e.current=t,bd=2}}function lf(){if(bd===2){bd=0;var e=xd,t=Sd,n=!!(t.flags&8772);if(t.subtreeFlags&8772||n){n=P.T,P.T=null;var r=_e.p;_e.p=2;var i=Qu;Qu|=4;try{mu(e,t.alternate,t)}finally{Qu=i,_e.p=r,P.T=n}}bd=3}}function uf(){if(bd===4||bd===3){bd=0;var e=Dd;Dd=null,Ve();var t=xd,n=Sd,r=Cd,i=Ed,a=(r&335544064)===r?10262:10256;if((n.subtreeFlags&a)!==0||(n.flags&a)!==0?bd=5:(bd=0,Sd=xd=null,df(t,t.pendingLanes)),a=t.pendingLanes,a===0&&(yd=null),bt(r),n=n.stateNode,Qe&&typeof Qe.onCommitFiberRoot==`function`)try{Qe.onCommitFiberRoot(Ze,n,void 0,(n.current.flags&128)==128)}catch{}if(i!==null){n=P.T,a=_e.p,_e.p=2,P.T=null;try{for(var o=t.onRecoverableError,s=0;s<i.length;s++){var c=i[s];o(c.value,{componentStack:c.stack})}}finally{P.T=n,_e.p=a}}if(i=Od,o=kd,kd=null,i!==null&&(Od=null,o===null&&(o=[]),e!==null))for(c=0;c<i.length;c++)n=(0,i[c])(o),n!==void 0&&e.finished.finally(n);Cd&3&&ff(),Of(t),a=t.pendingLanes,r&261930&&a&42?t===jd?Ad++:(Ad=0,jd=t):(Ad=0,jd=null),kf(0,!1)}}function df(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,Na(t)))}function ff(){return Dd!==null&&(Dd.skipTransition(),Dd=null),cf(),lf(),uf(),pf()}function pf(){if(bd!==5)return!1;var e=xd,t=wd;wd=0;var n=bt(Cd),r=P.T,i=_e.p;try{_e.p=32>n?32:n,P.T=null,n=Td,Td=null;var a=xd,s=Cd;if(bd=0,Sd=xd=null,Cd=0,Qu&6)throw Error(o(331));var c=Qu;if(Qu|=4,qu(a.current),Bu(a,a.current,s,n),Qu=c,kf(0,!1),Qe&&typeof Qe.onPostCommitFiberRoot==`function`)try{Qe.onPostCommitFiberRoot(Ze,a)}catch{}return!0}finally{_e.p=i,P.T=r,df(e,t)}}function mf(e,t,n){t=Hi(n,t),t=Ac(e.stateNode,t,2),e=vo(e,t,2),e!==null&&(mt(e,2),Of(e))}function hf(e,t,n){if(e.tag===3)mf(e,e,n);else for(;t!==null;){if(t.tag===3){mf(t,e,n);break}if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError==`function`||typeof r.componentDidCatch==`function`&&(yd===null||!yd.has(r))){e=Hi(n,e),n=jc(2),r=vo(t,n,2),r!==null&&(Mc(n,r,t,e),mt(r,2),Of(r));break}}t=t.return}}function gf(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new Zu;var i=new Set;r.set(t,i)}else i=r.get(t),i===void 0&&(i=new Set,r.set(t,i));i.has(n)||(id=!0,i.add(n),e=_f.bind(null,e,t,n),t.then(e,e))}function _f(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),e.pingedLanes|=e.suspendedLanes&n,e.warmLanes&=~n,$u===e&&(Y&n)===n&&(od===4||od===3&&(Y&62914560)===Y&&300>He()-hd?Qu&2?ld|=n:Hd(e,0):ld|=n,dd===Y&&(dd=0)),Of(e)}function vf(e,t){t===0&&(t=ft()),e=Di(e,t),e!==null&&(mt(e,t),Of(e))}function yf(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),vf(e,n)}function bf(e,t){var n=0;switch(e.tag){case 31:case 13:var r=e.stateNode,i=e.memoizedState;i!==null&&(n=i.retryLane);break;case 19:r=e.stateNode;break;case 22:r=e.stateNode._retryCache;break;default:throw Error(o(314))}r!==null&&r.delete(t),vf(e,n)}function xf(e,t){return Re(e,t)}var Sf=null,Cf=null,wf=!1,Tf=!1,Ef=!1,Df=0;function Of(e){e!==Cf&&e.next===null&&(Cf===null?Sf=Cf=e:Cf=Cf.next=e),Tf=!0,wf||(wf=!0,Ff())}function kf(e,t){if(!Ef&&Tf){Ef=!0;do for(var n=!1,r=Sf;r!==null;){if(!t){if(e!==0){var i=r.pendingLanes;if(i===0)var a=0;else{var o=r.suspendedLanes,s=r.pingedLanes;a=(1<<31-et(42|e)+1)-1,a&=i&~(o&~s),a=a&201326741?a&201326741|1:a?a|2:0}a!==0&&(n=!0,Pf(r,a))}else a=Y,a=ct(r,r===$u?a:0,r.cancelPendingCommit!==null||r.timeoutHandle!==-1),!(a&3)||lt(r,a)||(n=!0,Pf(r,a))}r=r.next}while(n);Ef=!1}}function Af(){jf()}function jf(){Tf=wf=!1;var e=0;Df!==0&&_p()&&(e=Df);for(var t=He(),n=null,r=Sf;r!==null;){var i=r.next,a=Mf(r,t);a===0?(r.next=null,n===null?Sf=i:n.next=i,i===null&&(Cf=n)):(n=r,(e!==0||a&3)&&(Tf=!0)),r=i}bd!==0&&bd!==5||kf(e,!1),Df!==0&&(Df=0)}function Mf(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,i=e.expirationTimes,a=e.pendingLanes&-62914561;0<a;){var o=31-et(a),s=1<<o,c=i[o];c===-1?((s&n)===0||(s&r)!==0)&&(i[o]=dt(s,t)):c<=t&&(e.expiredLanes|=s),a&=~s}if(t=$u,n=Y,n=ct(e,e===t?n:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),r=e.callbackNode,n===0||e===t&&(ed===2||ed===9)||e.cancelPendingCommit!==null)return r!==null&&r!==null&&ze(r),e.callbackNode=null,e.callbackPriority=0;if(!(n&3)||lt(e,n)){if(t=n&-n,t===e.callbackPriority)return t;switch(r!==null&&ze(r),bt(n)){case 2:case 8:n=Ge;break;case 32:n=Ke;break;case 268435456:n=Je;break;default:n=Ke}return r=Nf.bind(null,e),n=Re(n,r),e.callbackPriority=t,e.callbackNode=n,t}return r!==null&&r!==null&&ze(r),e.callbackPriority=2,e.callbackNode=null,2}function Nf(e,t){if(bd!==0&&bd!==5)return e.callbackNode=null,e.callbackPriority=0,null;var n=e.callbackNode;if(ff()&&e.callbackNode!==n)return null;var r=Y;return r=ct(e,e===$u?r:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),r===0?null:(Id(e,r,t),Mf(e,He()),e.callbackNode!=null&&e.callbackNode===n?Nf.bind(null,e):null)}function Pf(e,t){if(ff())return null;Id(e,t,!0)}function Ff(){Sp(function(){Qu&6?Re(We,Af):jf()})}function If(){if(Df===0){var e=za;e===0&&(e=it,it<<=1,!(it&261888)&&(it=256)),Df=e}return Df}function Lf(e){return e==null||typeof e==`symbol`||typeof e==`boolean`?null:typeof e==`function`?e:yn(e)}function Rf(e,t,n,r,i){if(t===`submit`&&n&&n.stateNode===i){var a=Lf((i[Tt]||null).action),o=r.submitter;o&&(t=(t=o[Tt]||null)?Lf(t.formAction):o.getAttribute(`formAction`),t!==null&&(a=t,o=null));var s=new Bn(`action`,`action`,null,r,i);e.push({event:s,listeners:[{instance:null,listener:function(){if(r.defaultPrevented){if(Df!==0){var e=new FormData(i,o);nc(n,{pending:!0,data:e,method:i.method,action:a},null,e)}}else typeof a==`function`&&(s.preventDefault(),e=new FormData(i,o),nc(n,{pending:!0,data:e,method:i.method,action:a},a,e))},currentTarget:i}]})}}for(var zf=0;zf<mi.length;zf++){var Bf=mi[zf];hi(Bf.toLowerCase(),`on`+(Bf[0].toUpperCase()+Bf.slice(1)))}hi(oi,`onAnimationEnd`),hi(si,`onAnimationIteration`),hi(ci,`onAnimationStart`),hi(`dblclick`,`onDoubleClick`),hi(`focusin`,`onFocus`),hi(`focusout`,`onBlur`),hi(li,`onTransitionRun`),hi(ui,`onTransitionStart`),hi(di,`onTransitionCancel`),hi(fi,`onTransitionEnd`),Ut(`onMouseEnter`,[`mouseout`,`mouseover`]),Ut(`onMouseLeave`,[`mouseout`,`mouseover`]),Ut(`onPointerEnter`,[`pointerout`,`pointerover`]),Ut(`onPointerLeave`,[`pointerout`,`pointerover`]),Ht(`onChange`,`change click focusin focusout input keydown keyup selectionchange`.split(` `)),Ht(`onSelect`,`focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange`.split(` `)),Ht(`onBeforeInput`,[`compositionend`,`keypress`,`textInput`,`paste`]),Ht(`onCompositionEnd`,`compositionend focusout keydown keypress keyup mousedown`.split(` `)),Ht(`onCompositionStart`,`compositionstart focusout keydown keypress keyup mousedown`.split(` `)),Ht(`onCompositionUpdate`,`compositionupdate focusout keydown keypress keyup mousedown`.split(` `));var Vf=`abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting`.split(` `),Hf=new Set(`beforetoggle cancel close invalid load scroll scrollend toggle`.split(` `).concat(Vf));function X(e,t){t=!!(t&4);for(var n=0;n<e.length;n++){var r=e[n],i=r.event;r=r.listeners;a:{var a=void 0;if(t)for(var o=r.length-1;0<=o;o--){var s=r[o],c=s.instance,l=s.currentTarget;if(s=s.listener,c!==a&&i.isPropagationStopped())break a;a=s,i.currentTarget=l;try{a(i)}catch(e){bi(e)}i.currentTarget=null,a=c}else for(o=0;o<r.length;o++){if(s=r[o],c=s.instance,l=s.currentTarget,s=s.listener,c!==a&&i.isPropagationStopped())break a;a=s,i.currentTarget=l;try{a(i)}catch(e){bi(e)}i.currentTarget=null,a=c}}}}function Z(e,t){var n=t[Dt];n===void 0&&(n=t[Dt]=new Set);var r=e+`__bubble`;n.has(r)||(Kf(t,e,2,!1),n.add(r))}function Uf(e,t,n){var r=0;t&&(r|=4),Kf(n,e,r,t)}var Wf=`_reactListening`+Math.random().toString(36).slice(2);function Gf(e){if(!e[Wf]){e[Wf]=!0,Bt.forEach(function(t){t!==`selectionchange`&&(Hf.has(t)||Uf(t,!1,e),Uf(t,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[Wf]||(t[Wf]=!0,Uf(`selectionchange`,!1,t))}}function Kf(e,t,n,r){switch(wh(t)){case 2:var i=vh;break;case 8:i=yh;break;default:i=bh}n=i.bind(null,t,n,e),i=void 0,!An||t!==`touchstart`&&t!==`touchmove`&&t!==`wheel`||(i=!0),r?i===void 0?e.addEventListener(t,n,!0):e.addEventListener(t,n,{capture:!0,passive:i}):i===void 0?e.addEventListener(t,n,!1):e.addEventListener(t,n,{passive:i})}function qf(e,t,n,r,i){var a=r;if(!(t&1)&&!(t&2)&&r!==null)a:for(;;){if(r===null)return;var o=r.tag;if(o===3||o===4){var s=r.stateNode.containerInfo;if(s===i)break;if(o===4)for(o=r.return;o!==null;){var c=o.tag;if((c===3||c===4)&&o.stateNode.containerInfo===i)return;o=o.return}for(;s!==null;){if(o=Pt(s),o===null)return;if(c=o.tag,c===5||c===6||c===26||c===27){r=a=o;continue a}s=s.parentNode}}r=r.return}Dn(function(){var r=a,i=Sn(n),o=[];a:{var s=pi.get(e);if(s!==void 0){var c=Bn,u=e;switch(e){case`keypress`:if(In(n)===0)break a;case`keydown`:case`keyup`:c=rr;break;case`focusin`:u=`focus`,c=Jn;break;case`focusout`:u=`blur`,c=Jn;break;case`beforeblur`:case`afterblur`:c=Jn;break;case`click`:if(n.button===2)break a;case`auxclick`:case`dblclick`:case`mousedown`:case`mousemove`:case`mouseup`:case`mouseout`:case`mouseover`:case`contextmenu`:c=Kn;break;case`drag`:case`dragend`:case`dragenter`:case`dragexit`:case`dragleave`:case`dragover`:case`dragstart`:case`drop`:c=qn;break;case`touchcancel`:case`touchend`:case`touchmove`:case`touchstart`:c=or;break;case oi:case si:case ci:c=Yn;break;case fi:c=sr;break;case`scroll`:case`scrollend`:c=Hn;break;case`wheel`:c=cr;break;case`copy`:case`cut`:case`paste`:c=Xn;break;case`gotpointercapture`:case`lostpointercapture`:case`pointercancel`:case`pointerdown`:case`pointermove`:case`pointerout`:case`pointerover`:case`pointerup`:c=ir;break;case`submit`:c=ar;break;case`toggle`:case`beforetoggle`:c=lr}var d=!!(t&4),f=!d&&(e===`scroll`||e===`scrollend`),p=d?s===null?null:s+`Capture`:s;d=[];for(var m=r,h;m!==null;){var g=m;if(h=g.stateNode,g=g.tag,g!==5&&g!==26&&g!==27||h===null||p===null||(g=On(m,p),g!=null&&d.push(Jf(m,g,h))),f)break;m=m.return}0<d.length&&(s=new c(s,u,null,n,i),o.push({event:s,listeners:d}))}}if(!(t&7)){a:{if(c=e===`mouseover`||e===`pointerover`,s=e===`mouseout`||e===`pointerout`,c&&n!==xn&&(u=n.relatedTarget||n.fromElement)&&(Pt(u)||u[Et]))break a;(s||c)&&(u=i.window===i?i:(c=i.ownerDocument)?c.defaultView||c.parentWindow:window,s?(c=n.relatedTarget||n.toElement,s=r,c=c?Pt(c):null,c!==null&&(f=l(c),d=c.tag,c!==f||d!==5&&d!==27&&d!==6)&&(c=null)):(s=null,c=r),s!==c&&(d=Kn,g=`onMouseLeave`,p=`onMouseEnter`,m=`mouse`,(e===`pointerout`||e===`pointerover`)&&(d=ir,g=`onPointerLeave`,p=`onPointerEnter`,m=`pointer`),f=s==null?u:It(s),h=c==null?u:It(c),u=new d(g,m+`leave`,s,n,i),u.target=f,u.relatedTarget=h,g=null,Pt(i)===r&&(d=new d(p,m+`enter`,c,n,i),d.target=h,d.relatedTarget=f,g=d),f=g,d=s&&c?E(s,c,Xf):null,s!==null&&Zf(o,u,s,d,!1),c!==null&&f!==null&&Zf(o,f,c,d,!0)))}a:{if(s=r?It(r):window,c=s.nodeName&&s.nodeName.toLowerCase(),c===`select`||c===`input`&&s.type===`file`)var _=kr;else if(Cr(s)){if(Ar)_=zr;else{_=Lr;var v=Ir}}else c=s.nodeName,!c||c.toLowerCase()!==`input`||s.type!==`checkbox`&&s.type!==`radio`?r&&gn(r.elementType)&&(_=kr):_=Rr;if(_&&=_(e,r)){wr(o,_,n,i);break a}v&&v(e,s,r)}switch(v=r?It(r):window,e){case`focusin`:(Cr(v)||v.contentEditable===`true`)&&(Xr=v,Zr=r,Qr=null);break;case`focusout`:Qr=Zr=Xr=null;break;case`mousedown`:$r=!0;break;case`contextmenu`:case`mouseup`:case`dragend`:$r=!1,ei(o,n,i);break;case`selectionchange`:if(Yr)break;case`keydown`:case`keyup`:ei(o,n,i)}var y;if(dr)b:{switch(e){case`compositionstart`:var b=`onCompositionStart`;break b;case`compositionend`:b=`onCompositionEnd`;break b;case`compositionupdate`:b=`onCompositionUpdate`;break b}b=void 0}else yr?_r(e,n)&&(b=`onCompositionEnd`):e===`keydown`&&n.keyCode===229&&(b=`onCompositionStart`);b&&(mr&&n.locale!==`ko`&&(yr||b!==`onCompositionStart`?b===`onCompositionEnd`&&yr&&(y=Fn()):(Mn=i,Nn=`value`in Mn?Mn.value:Mn.textContent,yr=!0)),v=Yf(r,b),0<v.length&&(b=new Zn(b,e,null,n,i),o.push({event:b,listeners:v}),y?b.data=y:(y=vr(n),y!==null&&(b.data=y)))),(y=pr?br(e,n):xr(e,n))&&(b=Yf(r,`onBeforeInput`),0<b.length&&(v=new Zn(`onBeforeInput`,`beforeinput`,null,n,i),o.push({event:v,listeners:b}),v.data=y)),Rf(o,e,r,n,i)}X(o,t)})}function Jf(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Yf(e,t){for(var n=t+`Capture`,r=[];e!==null;){var i=e,a=i.stateNode;if(i=i.tag,i!==5&&i!==26&&i!==27||a===null||(i=On(e,n),i!=null&&r.unshift(Jf(e,i,a)),i=On(e,t),i!=null&&r.push(Jf(e,i,a))),e.tag===3)return r;e=e.return}return[]}function Xf(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function Zf(e,t,n,r,i){for(var a=t._reactName,o=[];n!==null&&n!==r;){var s=n,c=s.alternate,l=s.stateNode;if(s=s.tag,c!==null&&c===r)break;s!==5&&s!==26&&s!==27||l===null||(c=l,i?(l=On(n,a),l!=null&&o.unshift(Jf(n,l,c))):i||(l=On(n,a),l!=null&&o.push(Jf(n,l,c)))),n=n.return}o.length!==0&&e.push({event:t,listeners:o})}var Qf=/\r\n?/g,$f=/\u0000|\uFFFD/g;function ep(e){return(typeof e==`string`?e:``+e).replace(Qf,`
|
|
9
|
+
`).replace($f,``)}function tp(e,t){return t=ep(t),ep(e)===t}function np(e,t,n,r,i,a){switch(n){case`children`:if(typeof r==`string`)t===`body`||t===`textarea`&&r===``||fn(e,r);else if(typeof r==`number`||typeof r==`bigint`)t!==`body`&&fn(e,``+r);else return;break;case`className`:Zt(e,`class`,r);break;case`tabIndex`:Zt(e,`tabindex`,r);break;case`dir`:case`role`:case`viewBox`:case`width`:case`height`:Zt(e,n,r);break;case`style`:hn(e,r,a);return;case`data`:if(t!==`object`){Zt(e,`data`,r);break}case`src`:case`href`:if(r===``&&(t!==`a`||n!==`href`)||r==null||typeof r==`function`||typeof r==`symbol`||typeof r==`boolean`){e.removeAttribute(n);break}r=yn(r),e.setAttribute(n,r);break;case`action`:case`formAction`:if(typeof r==`function`){e.setAttribute(n,`javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')`);break}if(typeof a==`function`&&(n===`formAction`?(t!==`input`&&np(e,t,`name`,i.name,i,null),np(e,t,`formEncType`,i.formEncType,i,null),np(e,t,`formMethod`,i.formMethod,i,null),np(e,t,`formTarget`,i.formTarget,i,null)):(np(e,t,`encType`,i.encType,i,null),np(e,t,`method`,i.method,i,null),np(e,t,`target`,i.target,i,null))),r==null||typeof r==`symbol`||typeof r==`boolean`){e.removeAttribute(n);break}r=yn(r),e.setAttribute(n,r);break;case`onClick`:r!=null&&(e.onclick=bn);return;case`onScroll`:r!=null&&Z(`scroll`,e);return;case`onScrollEnd`:r!=null&&Z(`scrollend`,e);return;case`dangerouslySetInnerHTML`:if(r!=null){if(typeof r!=`object`||!(`__html`in r))throw Error(o(61));if(n=r.__html,n!=null){if(i.children!=null)throw Error(o(60));a?.__html!==n&&(e.innerHTML=n)}}break;case`multiple`:e.multiple=r&&typeof r!=`function`&&typeof r!=`symbol`;break;case`muted`:e.muted=r&&typeof r!=`function`&&typeof r!=`symbol`;break;case`suppressContentEditableWarning`:case`suppressHydrationWarning`:case`defaultValue`:case`defaultChecked`:case`innerHTML`:case`ref`:break;case`autoFocus`:break;case`xlinkHref`:if(r==null||typeof r==`function`||typeof r==`boolean`||typeof r==`symbol`){e.removeAttribute(`xlink:href`);break}n=yn(r),e.setAttributeNS(`http://www.w3.org/1999/xlink`,`xlink:href`,n);break;case`contentEditable`:case`spellCheck`:case`draggable`:case`value`:case`autoReverse`:case`externalResourcesRequired`:case`focusable`:case`preserveAlpha`:r!=null&&typeof r!=`function`&&typeof r!=`symbol`?e.setAttribute(n,r):e.removeAttribute(n);break;case`inert`:case`allowFullScreen`:case`async`:case`autoPlay`:case`controls`:case`credentialless`:case`default`:case`defer`:case`disabled`:case`disablePictureInPicture`:case`disableRemotePlayback`:case`formNoValidate`:case`hidden`:case`loop`:case`noModule`:case`noValidate`:case`open`:case`playsInline`:case`readOnly`:case`required`:case`reversed`:case`scoped`:case`seamless`:case`itemScope`:r&&typeof r!=`function`&&typeof r!=`symbol`?e.setAttribute(n,``):e.removeAttribute(n);break;case`capture`:case`download`:!0===r?e.setAttribute(n,``):!1!==r&&r!=null&&typeof r!=`function`&&typeof r!=`symbol`?e.setAttribute(n,r):e.removeAttribute(n);break;case`cols`:case`rows`:case`size`:case`span`:r!=null&&typeof r!=`function`&&typeof r!=`symbol`&&!isNaN(r)&&1<=r?e.setAttribute(n,r):e.removeAttribute(n);break;case`rowSpan`:case`start`:r==null||typeof r==`function`||typeof r==`symbol`||isNaN(r)?e.removeAttribute(n):e.setAttribute(n,r);break;case`popover`:Z(`beforetoggle`,e),Z(`toggle`,e),Xt(e,`popover`,r);break;case`xlinkActuate`:Qt(e,`http://www.w3.org/1999/xlink`,`xlink:actuate`,r);break;case`xlinkArcrole`:Qt(e,`http://www.w3.org/1999/xlink`,`xlink:arcrole`,r);break;case`xlinkRole`:Qt(e,`http://www.w3.org/1999/xlink`,`xlink:role`,r);break;case`xlinkShow`:Qt(e,`http://www.w3.org/1999/xlink`,`xlink:show`,r);break;case`xlinkTitle`:Qt(e,`http://www.w3.org/1999/xlink`,`xlink:title`,r);break;case`xlinkType`:Qt(e,`http://www.w3.org/1999/xlink`,`xlink:type`,r);break;case`xmlBase`:Qt(e,`http://www.w3.org/XML/1998/namespace`,`xml:base`,r);break;case`xmlLang`:Qt(e,`http://www.w3.org/XML/1998/namespace`,`xml:lang`,r);break;case`xmlSpace`:Qt(e,`http://www.w3.org/XML/1998/namespace`,`xml:space`,r);break;case`is`:Xt(e,`is`,r);break;case`innerText`:case`textContent`:return;default:if(!(2<n.length)||n[0]!==`o`&&n[0]!==`O`||n[1]!==`n`&&n[1]!==`N`)n=_n.get(n)||n,Xt(e,n,r);else return}Jt=!0}function rp(e,t,n,r,i,a){switch(n){case`style`:hn(e,r,a);return;case`dangerouslySetInnerHTML`:if(r!=null){if(typeof r!=`object`||!(`__html`in r))throw Error(o(61));if(n=r.__html,n!=null){if(i.children!=null)throw Error(o(60));a?.__html!==n&&(e.innerHTML=n)}}break;case`children`:if(typeof r==`string`)fn(e,r);else if(typeof r==`number`||typeof r==`bigint`)fn(e,``+r);else return;break;case`onScroll`:r!=null&&Z(`scroll`,e);return;case`onScrollEnd`:r!=null&&Z(`scrollend`,e);return;case`onClick`:r!=null&&(e.onclick=bn);return;case`suppressContentEditableWarning`:case`suppressHydrationWarning`:case`innerHTML`:case`ref`:return;case`innerText`:case`textContent`:return;default:if(!Vt.hasOwnProperty(n))a:{if(n[0]===`o`&&n[1]===`n`&&(i=n.endsWith(`Capture`),a=n.slice(2,i?n.length-7:void 0),t=e[Tt]||null,t=t==null?null:t[n],typeof t==`function`&&e.removeEventListener(a,t,i),typeof r==`function`)){typeof t!=`function`&&t!==null&&(n in e?e[n]=null:e.hasAttribute(n)&&e.removeAttribute(n)),e.addEventListener(a,r,i);break a}Jt=!0,n in e?e[n]=r:!0===r?e.setAttribute(n,``):Xt(e,n,r)}return}Jt=!0}function ip(e,t,n){switch(t){case`div`:case`span`:case`svg`:case`path`:case`a`:case`g`:case`p`:case`li`:break;case`img`:Z(`error`,e),Z(`load`,e);var r=!1,i=!1,a;for(a in n)if(n.hasOwnProperty(a)){var s=n[a];if(s!=null)switch(a){case`src`:r=!0;break;case`srcSet`:i=!0;break;case`children`:case`dangerouslySetInnerHTML`:throw Error(o(137,t));default:np(e,t,a,s,n,null)}}i&&np(e,t,`srcSet`,n.srcSet,n,null),r&&np(e,t,`src`,n.src,n,null);return;case`input`:Z(`invalid`,e);var c=a=s=i=null,l=null,u=null;for(r in n)if(n.hasOwnProperty(r)){var d=n[r];if(d!=null)switch(r){case`name`:i=d;break;case`type`:s=d;break;case`checked`:l=d;break;case`defaultChecked`:u=d;break;case`value`:a=d;break;case`defaultValue`:c=d;break;case`children`:case`dangerouslySetInnerHTML`:if(d!=null)throw Error(o(137,t));break;default:np(e,t,r,d,n,null)}}sn(e,a,c,l,u,s,i,!1);return;case`select`:for(i in Z(`invalid`,e),r=s=a=null,n)if(n.hasOwnProperty(i)&&(c=n[i],c!=null))switch(i){case`value`:a=c;break;case`defaultValue`:s=c;break;case`multiple`:r=c;default:np(e,t,i,c,n,null)}t=a,n=s,e.multiple=!!r,t==null?n!=null&&ln(e,!!r,n,!0):ln(e,!!r,t,!1);return;case`textarea`:for(s in Z(`invalid`,e),a=i=r=null,n)if(n.hasOwnProperty(s)&&(c=n[s],c!=null))switch(s){case`value`:r=c;break;case`defaultValue`:i=c;break;case`children`:a=c;break;case`dangerouslySetInnerHTML`:if(c!=null)throw Error(o(91));break;default:np(e,t,s,c,n,null)}dn(e,r,i,a);return;case`option`:for(l in n)if(n.hasOwnProperty(l)&&(r=n[l],r!=null))switch(l){case`selected`:e.selected=r&&typeof r!=`function`&&typeof r!=`symbol`;break;default:np(e,t,l,r,n,null)}return;case`dialog`:Z(`beforetoggle`,e),Z(`toggle`,e),Z(`cancel`,e),Z(`close`,e);break;case`iframe`:case`object`:Z(`load`,e);break;case`video`:case`audio`:for(r=0;r<Vf.length;r++)Z(Vf[r],e);break;case`image`:Z(`error`,e),Z(`load`,e);break;case`details`:Z(`toggle`,e);break;case`embed`:case`source`:case`link`:Z(`error`,e),Z(`load`,e);case`area`:case`base`:case`br`:case`col`:case`hr`:case`keygen`:case`meta`:case`param`:case`track`:case`wbr`:case`menuitem`:for(u in n)if(n.hasOwnProperty(u)&&(r=n[u],r!=null))switch(u){case`children`:case`dangerouslySetInnerHTML`:throw Error(o(137,t));default:np(e,t,u,r,n,null)}return;default:if(gn(t)){for(d in n)n.hasOwnProperty(d)&&(r=n[d],r!==void 0&&rp(e,t,d,r,n,void 0));return}}for(c in n)n.hasOwnProperty(c)&&(r=n[c],r!=null&&np(e,t,c,r,n,null))}var ap={};function op(e,t,n,r){switch(t){case`div`:case`span`:case`svg`:case`path`:case`a`:case`g`:case`p`:case`li`:break;case`input`:var i=null,a=null,s=null,c=null,l=null,u=null,d=null;for(m in n){var f=n[m];if(n.hasOwnProperty(m)&&f!=null)switch(m){case`checked`:break;case`value`:break;case`defaultValue`:l=f;default:r.hasOwnProperty(m)||np(e,t,m,null,r,f)}}for(var p in r){var m=r[p];if(f=n[p],r.hasOwnProperty(p)&&(m!=null||f!=null))switch(p){case`type`:m!==f&&(Jt=!0),a=m;break;case`name`:m!==f&&(Jt=!0),i=m;break;case`checked`:m!==f&&(Jt=!0),u=m;break;case`defaultChecked`:m!==f&&(Jt=!0),d=m;break;case`value`:m!==f&&(Jt=!0),s=m;break;case`defaultValue`:m!==f&&(Jt=!0),c=m;break;case`children`:case`dangerouslySetInnerHTML`:if(m!=null)throw Error(o(137,t));break;default:m!==f&&np(e,t,p,m,r,f)}}on(e,s,c,l,u,d,a,i);return;case`select`:for(a in m=s=c=p=null,n)if(l=n[a],n.hasOwnProperty(a)&&l!=null)switch(a){case`value`:break;case`multiple`:m=l;default:r.hasOwnProperty(a)||np(e,t,a,null,r,l)}for(i in r)if(a=r[i],l=n[i],r.hasOwnProperty(i)&&(a!=null||l!=null))switch(i){case`value`:a!==l&&(Jt=!0),p=a;break;case`defaultValue`:a!==l&&(Jt=!0),c=a;break;case`multiple`:a!==l&&(Jt=!0),s=a;default:a!==l&&np(e,t,i,a,r,l)}t=c,n=s,r=m,p==null?!!r!=!!n&&(t==null?ln(e,!!n,n?[]:``,!1):ln(e,!!n,t,!0)):ln(e,!!n,p,!1);return;case`textarea`:for(c in m=p=null,n)if(i=n[c],n.hasOwnProperty(c)&&i!=null&&!r.hasOwnProperty(c))switch(c){case`value`:break;case`children`:break;default:np(e,t,c,null,r,i)}for(s in r)if(i=r[s],a=n[s],r.hasOwnProperty(s)&&(i!=null||a!=null))switch(s){case`value`:i!==a&&(Jt=!0),p=i;break;case`defaultValue`:i!==a&&(Jt=!0),m=i;break;case`children`:break;case`dangerouslySetInnerHTML`:if(i!=null)throw Error(o(91));break;default:i!==a&&np(e,t,s,i,r,a)}un(e,p,m);return;case`option`:for(var h in n)if(p=n[h],n.hasOwnProperty(h)&&p!=null&&!r.hasOwnProperty(h))switch(h){case`selected`:e.selected=!1;break;default:np(e,t,h,null,r,p)}for(l in r)if(p=r[l],m=n[l],r.hasOwnProperty(l)&&p!==m&&(p!=null||m!=null))switch(l){case`selected`:p!==m&&(Jt=!0),e.selected=p&&typeof p!=`function`&&typeof p!=`symbol`;break;default:np(e,t,l,p,r,m)}return;case`img`:case`link`:case`area`:case`base`:case`br`:case`col`:case`embed`:case`hr`:case`keygen`:case`meta`:case`param`:case`source`:case`track`:case`wbr`:case`menuitem`:for(var g in n)p=n[g],n.hasOwnProperty(g)&&p!=null&&!r.hasOwnProperty(g)&&np(e,t,g,null,r,p);for(u in r)if(p=r[u],m=n[u],r.hasOwnProperty(u)&&p!==m&&(p!=null||m!=null))switch(u){case`children`:case`dangerouslySetInnerHTML`:if(p!=null)throw Error(o(137,t));break;default:np(e,t,u,p,r,m)}return;default:if(gn(t)){for(var _ in n)p=n[_],n.hasOwnProperty(_)&&p!==void 0&&!r.hasOwnProperty(_)&&rp(e,t,_,void 0,r,p);for(d in r)p=r[d],m=n[d],!r.hasOwnProperty(d)||p===m||p===void 0&&m===void 0||rp(e,t,d,p,r,m);return}}for(var v in n)p=n[v],n.hasOwnProperty(v)&&p!=null&&!r.hasOwnProperty(v)&&np(e,t,v,null,r,p);for(f in r)p=r[f],m=n[f],!r.hasOwnProperty(f)||p===m||p==null&&m==null||np(e,t,f,p,r,m)}function sp(e){switch(e){case`css`:case`script`:case`font`:case`img`:case`image`:case`input`:case`link`:return!0;default:return!1}}function cp(){if(typeof performance.getEntriesByType==`function`){for(var e=0,t=0,n=performance.getEntriesByType(`resource`),r=0;r<n.length;r++){var i=n[r],a=i.transferSize,o=i.initiatorType,s=i.duration;if(a&&s&&sp(o)){for(o=0,s=i.responseEnd,r+=1;r<n.length;r++){var c=n[r],l=c.startTime;if(l>s)break;var u=c.transferSize,d=c.initiatorType;u&&sp(d)&&(c=c.responseEnd,o+=u*(c<s?1:(s-l)/(c-l)))}if(--r,t+=8*(a+o)/(i.duration/1e3),e++,10<e)break}}if(0<e)return t/e/1e6}return navigator.connection&&(e=navigator.connection.downlink,typeof e==`number`)?e:5}var lp=null,up=null;function dp(e){return e.nodeType===9?e:e.ownerDocument}function fp(e){switch(e){case`http://www.w3.org/2000/svg`:return 1;case`http://www.w3.org/1998/Math/MathML`:return 2;default:return 0}}function pp(e,t){if(e===0)switch(t){case`svg`:return 1;case`math`:return 2;default:return 0}return e===1&&t===`foreignObject`?0:e}function mp(e,t,n,r){return n=dp(n).createElement(e),n[wt]=r,n[Tt]=t,ip(n,e,t),Rt(n),n}function hp(e,t){return e===`textarea`||e===`noscript`||typeof t.children==`string`||typeof t.children==`number`||typeof t.children==`bigint`||typeof t.dangerouslySetInnerHTML==`object`&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var gp=null;function _p(){var e=window.event;return e&&e.type===`popstate`?e!==gp&&(gp=e,!0):(gp=null,!1)}var vp=typeof setTimeout==`function`?setTimeout:void 0,yp=typeof clearTimeout==`function`?clearTimeout:void 0,bp=typeof Promise==`function`?Promise:void 0,xp=typeof requestAnimationFrame==`function`?requestAnimationFrame:vp,Sp=typeof queueMicrotask==`function`?queueMicrotask:bp===void 0?vp:function(e){return bp.resolve(null).then(e).catch(Cp)};function Cp(e){setTimeout(function(){throw e})}function wp(e){return e===`head`}function Tp(e,t){var n=t,r=0;do{var i=n.nextSibling;if(e.removeChild(n),i&&i.nodeType===8){if(n=i.data,n===`/$`||n===`/&`){if(r===0){e.removeChild(i),Uh(t);return}r--}else if(n===`$`||n===`$?`||n===`$~`||n===`$!`||n===`&`)r++;else if(n===`html`)ym(e.ownerDocument.documentElement);else if(n===`head`){n=e.ownerDocument.head,ym(n);for(var a=n.firstChild;a;){var o=a.nextSibling,s=a.nodeName;a[jt]||s===`SCRIPT`||s===`STYLE`||s===`LINK`&&a.rel.toLowerCase()===`stylesheet`||n.removeChild(a),a=o}}else n===`body`&&ym(e.ownerDocument.body)}n=i}while(n);Uh(t)}function Ep(e,t){var n=e;e=0;do{var r=n.nextSibling;if(n.nodeType===1?t?(n._stashedDisplay=n.style.display,n.style.display=`none`):(n.style.display=n._stashedDisplay||``,n.getAttribute(`style`)===``&&n.removeAttribute(`style`)):n.nodeType===3&&(t?(n._stashedText=n.nodeValue,n.nodeValue=``):n.nodeValue=n._stashedText||``),r&&r.nodeType===8){if(n=r.data,n===`/$`){if(e===0)break;e--}else n!==`$`&&n!==`$?`&&n!==`$~`&&n!==`$!`||e++}n=r}while(n)}function Dp(e,t,n){if(t=CSS.escape(t)===t?t:`r-`+btoa(t).replace(/=/g,``),e.style.viewTransitionName=t,n!=null&&(e.style.viewTransitionClass=n),n=getComputedStyle(e),n.display===`inline`){if(t=e.getClientRects(),t.length===1)var r=1;else for(var i=r=0;i<t.length;i++){var a=t[i];0<a.width&&0<a.height&&r++}r===1&&(e=e.style,e.display=t.length===1?`inline-block`:`block`,e.marginTop=`-`+n.paddingTop,e.marginBottom=`-`+n.paddingBottom)}}function Op(e,t){e=e.style,t=t.style;var n=t==null?null:t.hasOwnProperty(`viewTransitionName`)?t.viewTransitionName:t.hasOwnProperty(`view-transition-name`)?t[`view-transition-name`]:null;e.viewTransitionName=n==null||typeof n==`boolean`?``:(``+n).trim(),n=t==null?null:t.hasOwnProperty(`viewTransitionClass`)?t.viewTransitionClass:t.hasOwnProperty(`view-transition-class`)?t[`view-transition-class`]:null,e.viewTransitionClass=n==null||typeof n==`boolean`?``:(``+n).trim(),e.display===`inline-block`&&(t==null?e.display=e.margin=``:(n=t.display,e.display=n==null||typeof n==`boolean`?``:n,n=t.margin,n==null?(n=t.hasOwnProperty(`marginTop`)?t.marginTop:t[`margin-top`],e.marginTop=n==null||typeof n==`boolean`?``:n,t=t.hasOwnProperty(`marginBottom`)?t.marginBottom:t[`margin-bottom`],e.marginBottom=t==null||typeof t==`boolean`?``:t):e.margin=n))}function kp(e,t,n){return n=n.ownerDocument.defaultView,{rect:e,abs:t.position===`absolute`||t.position===`fixed`,clip:t.clipPath!==`none`||t.overflow!==`visible`||t.filter!==`none`||t.mask!==`none`||t.mask!==`none`||t.borderRadius!==`0px`,view:0<=e.bottom&&0<=e.right&&e.top<=n.innerHeight&&e.left<=n.innerWidth}}function Ap(e){return kp(e.getBoundingClientRect(),getComputedStyle(e),e)}function jp(e){var t=e.getBoundingClientRect();t=new DOMRect(t.x+2e4,t.y+2e4,t.width,t.height);var n=getComputedStyle(e);return kp(t,n,e)}function Mp(e){return e.documentElement.clientHeight}function Np(e){this.addEventListener(`load`,e),this.addEventListener(`error`,e)}function Pp(e,t,n,r,i,a,o,s,c){var l=t.nodeType===9?t:t.ownerDocument;try{var u=l.startViewTransition({update:function(){var t=l.defaultView,n=t.navigation&&t.navigation.transition,o=l.fonts.status;r();var s=[];if(o===`loaded`&&(Mp(l),l.fonts.status===`loading`&&s.push(l.fonts.ready)),o=s.length,e!==null)for(var c=e.suspenseyImages,u=0,d=0;d<c.length;d++){var f=c[d];if(!f.complete){var p=f.getBoundingClientRect();if(0<p.bottom&&0<p.right&&p.top<t.innerHeight&&p.left<t.innerWidth){if(u+=Zm(f),u>eh){s.length=o;break}f=new Promise(Np.bind(f)),s.push(f)}}}if(0<s.length)return t=Promise.race([Promise.all(s),new Promise(function(e){return setTimeout(e,500)})]).then(i,i),(n?Promise.allSettled([n.finished,t]):t).then(a,a);if(i(),n)return n.finished.then(a,a);a()},types:n});l.__reactViewTransition=u;var d=[];return u.ready.then(function(){for(var e=l.documentElement.getAnimations({subtree:!0}),t=0;t<e.length;t++){var n=e[t],r=n.effect,i=r.pseudoElement;if(i!=null&&i.startsWith(`::view-transition`)){d.push(n),n=r.getKeyframes();for(var a=i=void 0,s=!0,c=0;c<n.length;c++){var u=n[c],f=u.width;if(i===void 0)i=f;else if(i!==f){s=!1;break}if(f=u.height,a===void 0)a=f;else if(a!==f){s=!1;break}delete u.width,delete u.height,u.transform===`none`&&delete u.transform}s&&i!==void 0&&a!==void 0&&(r.setKeyframes(n),s=getComputedStyle(r.target,r.pseudoElement),s.width!==i||s.height!==a)&&(s=n[0],s.width=i,s.height=a,s=n[n.length-1],s.width=i,s.height=a,r.setKeyframes(n))}}o()},function(e){l.__reactViewTransition===u&&(l.__reactViewTransition=null);try{if(typeof e==`object`&&e)switch(e.name){case`InvalidStateError`:(e.message===`View transition was skipped because document visibility state is hidden.`||e.message===`Skipping view transition because document visibility state has become hidden.`||e.message===`Skipping view transition because viewport size changed.`||e.message===`Transition was aborted because of invalid state`)&&(e=null)}e!==null&&c(e)}finally{r(),i(),o()}}),u.finished.finally(function(){for(var e=0;e<d.length;e++)d[e].cancel();l.__reactViewTransition===u&&(l.__reactViewTransition=null),s()}),u}catch{return r(),i(),o(),null}}function Fp(e,t){this._scope=document.documentElement,this._selector=`::view-transition-`+e+`(`+t+`)`}Fp.prototype.animate=function(e,t){return t=typeof t==`number`?{duration:t}:D({},t),t.pseudoElement=this._selector,this._scope.animate(e,t)},Fp.prototype.getAnimations=function(){for(var e=this._scope,t=this._selector,n=e.getAnimations({subtree:!0}),r=[],i=0;i<n.length;i++){var a=n[i].effect;a!==null&&a.target===e&&a.pseudoElement===t&&r.push(n[i])}return r},Fp.prototype.getComputedStyle=function(){return getComputedStyle(this._scope,this._selector)};function Ip(e){return{name:e,group:new Fp(`group`,e),imagePair:new Fp(`image-pair`,e),old:new Fp(`old`,e),new:new Fp(`new`,e)}}function Lp(e){this._fragmentFiber=e,this._observers=this._eventListeners=null}Lp.prototype.addEventListener=function(e,t,n){var r=null,i=null;if(!(n!=null&&typeof n!=`boolean`&&(r=n.signal||null,r!==null&&r.aborted))){this._eventListeners===null&&(this._eventListeners=[]);var a=this._eventListeners;if(Hp(a,e,t,n)===-1){var o=this,s=t;n!=null&&typeof n!=`boolean`&&!0===n.once&&(s=function(r){o.removeEventListener(e,t,n),typeof t==`function`?t.call(this,r):t.handleEvent(r)}),r!==null&&(i=o.removeEventListener.bind(o,e,t,n),r.addEventListener(`abort`,i,{once:!0}),i=r.removeEventListener.bind(r,`abort`,i)),r=Bp(n),a.push({type:e,listener:t,optionsOrUseCapture:n,attachedListener:s,cleanup:i}),h(this._fragmentFiber.child,!1,Rp,e,s,r)}this._eventListeners=a}};function Rp(e,t,n,r){return b(e).addEventListener(t,n,r),!1}Lp.prototype.removeEventListener=function(e,t,n){var r=this._eventListeners;if(r!==null&&(t=Hp(r,e,t,n),t!==-1)){var i=r[t];n=i.attachedListener;var a=i.cleanup;i=Bp(i.optionsOrUseCapture),h(this._fragmentFiber.child,!1,zp,e,n,i),r.splice(t,1),a!==null&&a()}};function zp(e,t,n,r){return b(e).removeEventListener(t,n,r),!1}function Bp(e){return e!=null&&typeof e!=`boolean`&&(!0===e.once||e.signal instanceof AbortSignal)?{capture:e.capture,passive:e.passive}:e}function Vp(e){return e==null?`c=0`:typeof e==`boolean`?`c=`+(e?`1`:`0`):`c=`+(e.capture?`1`:`0`)}function Hp(e,t,n,r){if(e.length===0)return-1;r=Vp(r);for(var i=0;i<e.length;i++){var a=e[i];if(a.type===t&&a.listener===n&&Vp(a.optionsOrUseCapture)===r)return i}return-1}Lp.prototype.dispatchEvent=function(e){var t=g(this._fragmentFiber);if(t===null)return!0;t=b(t);var n=this._eventListeners;if(n!==null&&0<n.length||!e.bubbles){var r=t.nodeType===9?t.createComment(``):document.createTextNode(``);if(n)for(var i=0;i<n.length;i++){var a=n[i];r.addEventListener(a.type,a.attachedListener,Bp(a.optionsOrUseCapture))}if(t.appendChild(r),e=r.dispatchEvent(e),n)for(i=0;i<n.length;i++)a=n[i],r.removeEventListener(a.type,a.attachedListener,Bp(a.optionsOrUseCapture));return t.removeChild(r),e}return t.dispatchEvent(e)},Lp.prototype.focus=function(e){h(this._fragmentFiber.child,!0,Up,e,void 0,void 0)};function Up(e,t){return e.tag!==6&&(e=b(e),hm(e,t))}Lp.prototype.focusLast=function(e){var t=[];h(this._fragmentFiber.child,!0,Wp,t,void 0,void 0);for(var n=t.length-1;0<=n&&!Up(t[n],e);n--);};function Wp(e,t){return t.push(e),!1}Lp.prototype.blur=function(){var e=g(this._fragmentFiber);e!==null&&(e=b(e),e=dp(e).activeElement,e!==null&&h(this._fragmentFiber.child,!1,Gp,e,void 0,void 0))};function Gp(e,t){return e.tag!==6&&(e=b(e),e===t||e.contains(t)?(t.blur(),!0):!1)}Lp.prototype.observeUsing=function(e){this._observers===null&&(this._observers=new Set),this._observers.add(e),h(this._fragmentFiber.child,!1,Kp,e,void 0,void 0)};function Kp(e,t){return e.tag===6||(e=b(e),t.observe(e)),!1}Lp.prototype.unobserveUsing=function(e){var t=this._observers;if(t!==null&&t.has(e)){t.delete(e),h(this._fragmentFiber.child,!1,qp,e,void 0,void 0);for(var n=t=0;n<Jp.length;n++){var r=Jp[n];r.fragmentInstance===this&&r.observer===e?e.unobserve(r.instance):Jp[t++]=r}Jp.length=t}};function qp(e,t){return e.tag===6||(e=b(e),t.unobserve(e)),!1}var Jp=[],Yp=!1;function Xp(e,t,n){Jp.push({fragmentInstance:e,observer:t,instance:n}),Yp||(Yp=!0,gm(function(){Yp=!1;var e=Jp;Jp=[];for(var t=0;t<e.length;t++){var n=e[t];n.observer.unobserve(n.instance)}}))}Lp.prototype.getClientRects=function(){var e=[];return h(this._fragmentFiber.child,!1,Zp,e,void 0,void 0),e};function Zp(e,t){if(e.tag===6){e=e.stateNode;var n=e.ownerDocument.createRange();n.selectNodeContents(e),t.push.apply(t,n.getClientRects())}else e=b(e),t.push.apply(t,e.getClientRects());return!1}Lp.prototype.getRootNode=function(e){var t=g(this._fragmentFiber);return t===null?this:b(t).getRootNode(e)},Lp.prototype.compareDocumentPosition=function(e){var t=g(this._fragmentFiber);if(t===null)return Node.DOCUMENT_POSITION_DISCONNECTED;var n=[];h(this._fragmentFiber.child,!1,Wp,n,void 0,void 0);var r=b(t);if(n.length===0){if(n=r,_(this._fragmentFiber)){a:{for(t=this._fragmentFiber.return;t!==null;){if(t.tag===4){t=t.stateNode.containerInfo;break a}if(t.tag===3||t.tag===5||t.tag===27)break;t=t.return}t=null}t!=null&&(n=t)}t=this._fragmentFiber;var i=r=n.compareDocumentPosition(e);return n===e?i=Node.DOCUMENT_POSITION_CONTAINS:r&Node.DOCUMENT_POSITION_CONTAINED_BY&&(n=v(t)[1],n===null?i=Node.DOCUMENT_POSITION_PRECEDING:(e=b(n).compareDocumentPosition(e),i=e===0||e&Node.DOCUMENT_POSITION_FOLLOWING?Node.DOCUMENT_POSITION_FOLLOWING:Node.DOCUMENT_POSITION_PRECEDING)),i|=Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC}t=b(n[0]),i=b(n[n.length-1]);var a=_(this._fragmentFiber)?t.parentElement:r;if(a==null)return Node.DOCUMENT_POSITION_DISCONNECTED;r=a.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY,a=a.compareDocumentPosition(i)&Node.DOCUMENT_POSITION_CONTAINED_BY;var o=t.compareDocumentPosition(e),s=i.compareDocumentPosition(e),c=o&Node.DOCUMENT_POSITION_CONTAINED_BY||s&Node.DOCUMENT_POSITION_CONTAINED_BY;return s=r&&a&&o&Node.DOCUMENT_POSITION_FOLLOWING&&s&Node.DOCUMENT_POSITION_PRECEDING,t=r&&t===e||a&&i===e||c||s?Node.DOCUMENT_POSITION_CONTAINED_BY:!r&&t===e||!a&&i===e?Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC:o,t&Node.DOCUMENT_POSITION_DISCONNECTED||t&Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC||Qp(t,this._fragmentFiber,n[0],n[n.length-1],e)?t:Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC};function Qp(e,t,n,r,i){var a=Pt(i);if(e&Node.DOCUMENT_POSITION_CONTAINED_BY){if(n=!!a)a:{for(;a!==null;){if(a.tag===7&&(a===t||a.alternate===t)){n=!0;break a}a=a.return}n=!1}return n}if(e&Node.DOCUMENT_POSITION_CONTAINS){if(a===null)return a=i.ownerDocument,i===a||i===a.documentElement||i===a.body;a:{for(a=t,t=g(t);a!==null;){if(!(a.tag!==5&&a.tag!==3&&a.tag!==27||a!==t&&a.alternate!==t)){a=!0;break a}a=a.return}a=!1}return a}return e&Node.DOCUMENT_POSITION_PRECEDING?((t=!!a)&&!(t=a===n)&&(t=E(n,a,T),t===null?t=!1:(h(t,!0,C,a,n),a=x,x=null,t=a!==null)),t):e&Node.DOCUMENT_POSITION_FOLLOWING?((t=!!a)&&!(t=a===r)&&(t=E(r,a,T),t===null?t=!1:(h(t,!0,w,a,r),a=x,S=x=null,t=a!==null)),t):!1}function $p(e,t){var n=e.ownerDocument.createRange();n.selectNodeContents(e),e=n.getBoundingClientRect(),window.scrollTo(window.scrollX+e.left,t?window.scrollY+e.top:window.scrollY+e.bottom-window.innerHeight)}Lp.prototype.scrollIntoView=function(e){if(typeof e==`object`)throw Error(o(566));var t=[];h(this._fragmentFiber.child,!1,Wp,t,void 0,void 0);var n=!1!==e;if(t.length===0){var r=v(this._fragmentFiber);if(r=n?r[1]||r[0]||g(this._fragmentFiber):r[0]||r[1],r===null)return;if(r.tag===6){e=b(r),$p(e,n);return}if(r=b(r),r.nodeType!==9){if(r.nodeType===11){n=`host`in r?r.host:null,n!==null&&n.scrollIntoView(e);return}r.scrollIntoView(e)}}for(r=n?t.length-1:0;r!==(n?-1:t.length);){var i=t[r];i.tag===6?(i=b(i),$p(i,n)):b(i).scrollIntoView(e),r+=n?-1:1}};function em(e,t){return e=b(e),tm(e,t),!1}function tm(e,t){e.reactFragments??=new Set,e.reactFragments.add(t)}function nm(e,t){var n=t._eventListeners;if(n!==null)for(var r=0;r<n.length;r++){var i=n[r];e.addEventListener(i.type,i.attachedListener,Bp(i.optionsOrUseCapture))}e.nodeType!==3&&(n=t._observers,n!==null&&n.forEach(function(n){for(var r=0,i=0;i<Jp.length;i++){var a=Jp[i];(a.fragmentInstance!==t||a.observer!==n||a.instance!==e)&&(Jp[r++]=a)}Jp.length=r,n.observe(e)}),tm(e,t))}function rm(e,t){var n=t._eventListeners;if(n!==null)for(var r=0;r<n.length;r++){var i=n[r];e.removeEventListener(i.type,i.attachedListener,Bp(i.optionsOrUseCapture))}e.nodeType!==3&&(n=t._observers,n!==null&&n.forEach(function(n){typeof n.rootMargin==`string`?Xp(t,n,e):n.unobserve(e)}),e.reactFragments!=null&&e.reactFragments.delete(t))}function im(e){var t=e.firstChild;for(t&&t.nodeType===10&&(t=t.nextSibling);t;){var n=t;switch(t=t.nextSibling,n.nodeName){case`HTML`:case`HEAD`:case`BODY`:im(n),Nt(n);continue;case`SCRIPT`:case`STYLE`:continue;case`LINK`:if(n.rel.toLowerCase()===`stylesheet`)continue}e.removeChild(n)}}function am(e,t,n,r){for(;e.nodeType===1;){var i=n;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!r&&(e.nodeName!==`INPUT`||e.type!==`hidden`))break}else if(!r){if(t===`input`&&e.type===`hidden`){var a=i.name==null?null:``+i.name;if(i.type===`hidden`&&e.getAttribute(`name`)===a)return e}else return e}else if(!e[jt])switch(t){case`meta`:if(!e.hasAttribute(`itemprop`))break;return e;case`link`:if(a=e.getAttribute(`rel`),a===`stylesheet`&&e.hasAttribute(`data-precedence`)||a!==i.rel||e.getAttribute(`href`)!==(i.href==null||i.href===``?null:i.href)||e.getAttribute(`crossorigin`)!==(i.crossOrigin==null?null:i.crossOrigin)||e.getAttribute(`title`)!==(i.title==null?null:i.title))break;return e;case`style`:if(e.hasAttribute(`data-precedence`))break;return e;case`script`:if(a=e.getAttribute(`src`),(a!==(i.src==null?null:i.src)||e.getAttribute(`type`)!==(i.type==null?null:i.type)||e.getAttribute(`crossorigin`)!==(i.crossOrigin==null?null:i.crossOrigin))&&a&&e.hasAttribute(`async`)&&!e.hasAttribute(`itemprop`))break;return e;default:return e}if(e=dm(e.nextSibling),e===null)break}return null}function om(e,t,n){if(t===``)return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!==`INPUT`||e.type!==`hidden`)&&!n||(e=dm(e.nextSibling),e===null))return null;return e}function sm(e,t){for(;e.nodeType!==8;)if((e.nodeType!==1||e.nodeName!==`INPUT`||e.type!==`hidden`)&&!t||(e=dm(e.nextSibling),e===null))return null;return e}function cm(e){return e.data===`$?`||e.data===`$~`}function lm(e){return e.data===`$!`||e.data===`$?`&&e.ownerDocument.readyState!==`loading`}function um(e,t){var n=e.ownerDocument;if(e.data===`$~`)e._reactRetry=t;else if(e.data!==`$?`||n.readyState!==`loading`)t();else{var r=function(){t(),n.removeEventListener(`DOMContentLoaded`,r)};n.addEventListener(`DOMContentLoaded`,r),e._reactRetry=r}}function dm(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t===`$`||t===`$!`||t===`$?`||t===`$~`||t===`&`||t===`F!`||t===`F`)break;if(t===`/$`||t===`/&`)return null}}return e}var fm=null;function pm(e){e=e.nextSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n===`/$`||n===`/&`){if(t===0)return dm(e.nextSibling);t--}else n!==`$`&&n!==`$!`&&n!==`$?`&&n!==`$~`&&n!==`&`||t++}e=e.nextSibling}return null}function mm(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n===`$`||n===`$!`||n===`$?`||n===`$~`||n===`&`){if(t===0)return e;t--}else n!==`/$`&&n!==`/&`||t++}e=e.previousSibling}return null}function hm(e,t){function n(){r=!0}if(e.ownerDocument.activeElement===e)return!0;var r=!1;try{e.ownerDocument.addEventListener(`focus`,n,!0),(e.focus||HTMLElement.prototype.focus).call(e,t)}finally{e.ownerDocument.removeEventListener(`focus`,n,!0)}return r}function gm(e){xp(function(){xp(function(t){return e(t)})})}function _m(e,t,n){switch(t=dp(n),e){case`html`:if(e=t.documentElement,!e)throw Error(o(452));return e;case`head`:if(e=t.head,!e)throw Error(o(453));return e;case`body`:if(e=t.body,!e)throw Error(o(454));return e;default:throw Error(o(451))}}function vm(e,t,n){for(var r in n){var i=n[r];n.hasOwnProperty(r)&&i!=null&&np(e,t,r,null,ap,i)}n.dangerouslySetInnerHTML!=null&&(e.textContent=``),e.onclick===bn&&(e.onclick=null),Nt(e)}function ym(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);Nt(e)}var bm=new Map,xm=new Set;function Sm(e){if(typeof e.getRootNode==`function`){var t=e.getRootNode();if(t.nodeType===9||t.nodeType===11)return t}return e.nodeType===9?e:e.ownerDocument}var Cm=_e.d;_e.d={f:wm,r:Tm,D:Om,C:km,L:Am,m:jm,X:Nm,S:Mm,M:Pm};function wm(){var e=Cm.f(),t=Bd();return e||t}function Tm(e){var t=Ft(e);t!==null&&t.tag===5&&t.type===`form`?ic(t):Cm.r(e)}var Em=typeof document>`u`?null:document;function Dm(e,t,n){var r=Em;if(r&&typeof t==`string`&&t){var i=an(t);i=`link[rel="`+e+`"][href="`+i+`"]`,typeof n==`string`&&(i+=`[crossorigin="`+n+`"]`),xm.has(i)||(xm.add(i),e={rel:e,crossOrigin:n,href:t},r.querySelector(i)===null&&(t=r.createElement(`link`),ip(t,`link`,e),Rt(t),r.head.appendChild(t)))}}function Om(e){Cm.D(e),Dm(`dns-prefetch`,e,null)}function km(e,t){Cm.C(e,t),Dm(`preconnect`,e,t)}function Am(e,t,n){Cm.L(e,t,n);var r=Em;if(r&&e&&t){var i=`link[rel="preload"][as="`+an(t)+`"]`;t===`image`&&n&&n.imageSrcSet?(i+=`[imagesrcset="`+an(n.imageSrcSet)+`"]`,typeof n.imageSizes==`string`&&(i+=`[imagesizes="`+an(n.imageSizes)+`"]`)):i+=`[href="`+an(e)+`"]`;var a=i;switch(t){case`style`:a=Im(e);break;case`script`:a=Q(e)}if(!(bm.has(a)||(e=D({rel:`preload`,href:t===`image`&&n&&n.imageSrcSet?void 0:e,as:t},n),bm.set(a,e),r.querySelector(i)!==null||t===`style`&&r.querySelector(Lm(a))||t===`script`&&r.querySelector(Bm(a))))){var o=r.createElement(`link`);ip(o,`link`,e),t===`style`&&(o[Mt]=!0,o.onload=o.onerror=function(){zt(o)}),Rt(o),r.head.appendChild(o)}}}function jm(e,t){Cm.m(e,t);var n=Em;if(n&&e){var r=t&&typeof t.as==`string`?t.as:`script`,i=`link[rel="modulepreload"][as="`+an(r)+`"][href="`+an(e)+`"]`,a=i;switch(r){case`audioworklet`:case`paintworklet`:case`serviceworker`:case`sharedworker`:case`worker`:case`script`:a=Q(e)}if(!bm.has(a)&&(e=D({rel:`modulepreload`,href:e},t),bm.set(a,e),n.querySelector(i)===null)){switch(r){case`audioworklet`:case`paintworklet`:case`serviceworker`:case`sharedworker`:case`worker`:case`script`:if(n.querySelector(Bm(a)))return}r=n.createElement(`link`),ip(r,`link`,e),Rt(r),n.head.appendChild(r)}}}function Mm(e,t,n){Cm.S(e,t,n);var r=Em;if(r&&e){var i=Lt(r).hoistableStyles,a=Im(e);t||=`default`;var o=i.get(a);if(!o){var s={loading:0,preload:null};if(o=r.querySelector(Lm(a)))s.loading=5;else{e=D({rel:`stylesheet`,href:e,"data-precedence":t},n),(n=bm.get(a))&&Um(e,n);var c=o=r.createElement(`link`);Rt(c),ip(c,`link`,e),c._p=new Promise(function(e,t){c.onload=e,c.onerror=t}),c.addEventListener(`load`,function(){s.loading|=1}),c.addEventListener(`error`,function(){s.loading|=2}),s.loading|=4,Hm(o,t,r)}o={type:`stylesheet`,instance:o,count:1,state:s},i.set(a,o)}}}function Nm(e,t){Cm.X(e,t);var n=Em;if(n&&e){var r=Lt(n).hoistableScripts,i=Q(e),a=r.get(i);a||(a=n.querySelector(Bm(i)),a||(e=D({src:e,async:!0},t),(t=bm.get(i))&&Wm(e,t),a=n.createElement(`script`),Rt(a),ip(a,`link`,e),n.head.appendChild(a)),a={type:`script`,instance:a,count:1,state:null},r.set(i,a))}}function Pm(e,t){Cm.M(e,t);var n=Em;if(n&&e){var r=Lt(n).hoistableScripts,i=Q(e),a=r.get(i);a||(a=n.querySelector(Bm(i)),a||(e=D({src:e,async:!0,type:`module`},t),(t=bm.get(i))&&Wm(e,t),a=n.createElement(`script`),Rt(a),ip(a,`link`,e),n.head.appendChild(a)),a={type:`script`,instance:a,count:1,state:null},r.set(i,a))}}function Fm(e,t,n,r){var i=(i=we.current)?Sm(i):null;if(!i)throw Error(o(446));switch(e){case`meta`:case`title`:return null;case`style`:return typeof n.precedence==`string`&&typeof n.href==`string`?(n=Im(n.href),t=Lt(i).hoistableStyles,r=t.get(n),r||(r={type:`style`,instance:null,count:0,state:null},t.set(n,r)),r):{type:`void`,instance:null,count:0,state:null};case`link`:if(n.rel===`stylesheet`&&typeof n.href==`string`&&typeof n.precedence==`string`){e=Im(n.href);var a=Lt(i).hoistableStyles,s=a.get(e);if(s||(i=i.ownerDocument||i,s={type:`stylesheet`,instance:null,count:0,state:{loading:0,preload:null}},a.set(e,s),(a=i.querySelector(Lm(e)))?a._p||(s.instance=a,s.state.loading=5):(a=bm.get(e),a||(a={rel:`preload`,as:`style`,href:n.href,crossOrigin:n.crossOrigin,integrity:n.integrity,media:n.media,hrefLang:n.hrefLang,referrerPolicy:n.referrerPolicy},bm.set(e,a)),zm(i,e,a,s.state))),t&&r===null)throw Error(o(528,``));return s}if(t&&r!==null)throw Error(o(529,``));return null;case`script`:return t=n.async,n=n.src,typeof n==`string`&&t&&typeof t!=`function`&&typeof t!=`symbol`?(n=Q(n),t=Lt(i).hoistableScripts,r=t.get(n),r||(r={type:`script`,instance:null,count:0,state:null},t.set(n,r)),r):{type:`void`,instance:null,count:0,state:null};default:throw Error(o(444,e))}}function Im(e){return`href="`+an(e)+`"`}function Lm(e){return`link[rel="stylesheet"][`+e+`]`}function Rm(e){return D({},e,{"data-precedence":e.precedence,precedence:null})}function zm(e,t,n,r){if(t=e.querySelector(`link[rel="preload"][as="style"][`+t+`]`)){if(!0!==t[Mt]){r.loading=1;return}}else t=e.createElement(`link`),t[Mt]=!0,t.onload=t.onerror=zt.bind(null,t),ip(t,`link`,n),Rt(t),e.head.appendChild(t);r.preload=t,t.addEventListener(`load`,function(){return r.loading|=1}),t.addEventListener(`error`,function(){return r.loading|=2})}function Q(e){return`[src="`+an(e)+`"]`}function Bm(e){return`script[async]`+e}function Vm(e,t,n){if(t.count++,t.instance===null)switch(t.type){case`style`:var r=e.querySelector(`style[data-href~="`+an(n.href)+`"]`);if(r)return t.instance=r,Rt(r),r;var i=D({},n,{"data-href":n.href,"data-precedence":n.precedence,href:null,precedence:null});return r=(e.ownerDocument||e).createElement(`style`),Rt(r),ip(r,`style`,i),Hm(r,n.precedence,e),t.instance=r;case`stylesheet`:i=Im(n.href);var a=e.querySelector(Lm(i));if(a)return t.state.loading|=4,t.instance=a,Rt(a),a;r=Rm(n),(i=bm.get(i))&&Um(r,i),a=(e.ownerDocument||e).createElement(`link`),Rt(a);var s=a;return s._p=new Promise(function(e,t){s.onload=e,s.onerror=t}),ip(a,`link`,r),t.state.loading|=4,Hm(a,n.precedence,e),t.instance=a;case`script`:return a=Q(n.src),(i=e.querySelector(Bm(a)))?(t.instance=i,Rt(i),i):(r=n,(i=bm.get(a))&&(r=D({},n),Wm(r,i)),e=e.ownerDocument||e,i=e.createElement(`script`),Rt(i),ip(i,`link`,r),e.head.appendChild(i),t.instance=i);case`void`:return null;default:throw Error(o(443,t.type))}else t.type===`stylesheet`&&!(t.state.loading&4)&&(r=t.instance,t.state.loading|=4,Hm(r,n.precedence,e));return t.instance}function Hm(e,t,n){for(var r=n.querySelectorAll(`link[rel="stylesheet"][data-precedence],style[data-precedence]`),i=r.length?r[r.length-1]:null,a=i,o=0;o<r.length;o++){var s=r[o];if(s.dataset.precedence===t)a=s;else if(a!==i)break}a?a.parentNode.insertBefore(e,a.nextSibling):(t=n.nodeType===9?n.head:n,t.insertBefore(e,t.firstChild))}function Um(e,t){e.crossOrigin??=t.crossOrigin,e.referrerPolicy??=t.referrerPolicy,e.title??=t.title}function Wm(e,t){e.crossOrigin??=t.crossOrigin,e.referrerPolicy??=t.referrerPolicy,e.integrity??=t.integrity}var Gm=null;function Km(e,t,n){if(Gm===null){var r=new Map,i=Gm=new Map;i.set(n,r)}else i=Gm,r=i.get(n),r||(r=new Map,i.set(n,r));if(r.has(e))return r;for(r.set(e,null),n=n.getElementsByTagName(e),i=0;i<n.length;i++){var a=n[i];if(!(a[jt]||a[wt]||e===`link`&&a.getAttribute(`rel`)===`stylesheet`)&&a.namespaceURI!==`http://www.w3.org/2000/svg`){var o=a.getAttribute(t)||``;o=e+o;var s=r.get(o);s?s.push(a):r.set(o,[a])}}return r}function qm(e,t,n){e=e.ownerDocument||e,e.head.insertBefore(n,t===`title`?e.querySelector(`head > title`):null)}function Jm(e,t,n){if(n===1||t.itemProp!=null)return!1;switch(e){case`meta`:case`title`:return!0;case`style`:if(typeof t.precedence!=`string`||typeof t.href!=`string`||t.href===``)break;return!0;case`link`:if(typeof t.rel!=`string`||typeof t.href!=`string`||t.href===``||t.onLoad||t.onError)break;switch(t.rel){case`stylesheet`:return e=t.disabled,typeof t.precedence==`string`&&e==null;default:return!0}case`script`:if(t.async&&typeof t.async!=`function`&&typeof t.async!=`symbol`&&!t.onLoad&&!t.onError&&t.src&&typeof t.src==`string`)return!0}return!1}function Ym(e,t){return e===`img`&&t.src!=null&&t.src!==``&&t.onLoad==null&&t.loading!==`lazy`}function Xm(e){return!(e.type===`stylesheet`&&!(e.state.loading&3))}function Zm(e){return(e.width||100)*(e.height||100)*(typeof devicePixelRatio==`number`?devicePixelRatio:1)*.25}function Qm(e,t){typeof t.decode==`function`&&(e.imgCount++,t.complete||(e.imgBytes+=Zm(t),e.suspenseyImages.push(t)),e=ih.bind(e),t.decode().then(e,e))}function $m(e,t,n,r){if(n.type===`stylesheet`&&(typeof r.media!=`string`||!1!==matchMedia(r.media).matches)&&!(n.state.loading&4)){if(n.instance===null){var i=Im(r.href),a=t.querySelector(Lm(i));if(a){t=a._p,typeof t==`object`&&t&&typeof t.then==`function`&&(e.count++,e=rh.bind(e),t.then(e,e)),n.state.loading|=4,n.instance=a,Rt(a);return}a=t.ownerDocument||t,r=Rm(r),(i=bm.get(i))&&Um(r,i),a=a.createElement(`link`),Rt(a);var o=a;o._p=new Promise(function(e,t){o.onload=e,o.onerror=t}),ip(a,`link`,r),n.instance=a}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(n,t),(t=n.state.preload)&&!(n.state.loading&3)&&(e.count++,n=rh.bind(e),t.addEventListener(`load`,n),t.addEventListener(`error`,n))}}var eh=0;function th(e,t){return e.stylesheets&&e.count===0&&oh(e,e.stylesheets),0<e.count||0<e.imgCount?function(n){var r=setTimeout(function(){if(e.stylesheets&&oh(e,e.stylesheets),e.unsuspend){var t=e.unsuspend;e.unsuspend=null,t()}},6e4+t);0<e.imgBytes&&eh===0&&(eh=62500*cp());var i=setTimeout(function(){if(e.waitingForImages=!1,e.count===0&&(e.stylesheets&&oh(e,e.stylesheets),e.unsuspend)){var t=e.unsuspend;e.unsuspend=null,t()}},(e.imgBytes>eh?50:800)+t);return e.unsuspend=n,function(){e.unsuspend=null,clearTimeout(r),clearTimeout(i)}}:null}function nh(e){if(e.count===0&&(e.imgCount===0||!e.waitingForImages)){if(e.stylesheets)oh(e,e.stylesheets);else if(e.unsuspend){var t=e.unsuspend;e.unsuspend=null,t()}}}function rh(){this.count--,nh(this)}function ih(){this.imgCount--,nh(this)}var ah=null;function oh(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,ah=new Map,t.forEach(sh,e),ah=null,rh.call(e))}function sh(e,t){if(!(t.state.loading&4)){var n=ah.get(e);if(n)var r=n.get(null);else{n=new Map,ah.set(e,n);for(var i=e.querySelectorAll(`link[data-precedence],style[data-precedence]`),a=0;a<i.length;a++){var o=i[a];(o.nodeName===`LINK`||o.getAttribute(`media`)!==`not all`)&&(n.set(o.dataset.precedence,o),r=o)}r&&n.set(null,r)}i=t.instance,o=i.getAttribute(`data-precedence`),a=n.get(o)||r,a===r&&n.set(null,i),n.set(o,i),this.count++,r=rh.bind(this),i.addEventListener(`load`,r),i.addEventListener(`error`,r),a?a.parentNode.insertBefore(i,a.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(i,e.firstChild)),t.state.loading|=4}}var ch={$$typeof:N,Provider:null,Consumer:null,_currentValue:ve,_currentValue2:ve,_threadCount:0};function lh(e,t,n,r,i,a,o,s,c){this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=pt(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=pt(0),this.hiddenUpdates=pt(null),this.identifierPrefix=r,this.onUncaughtError=i,this.onCaughtError=a,this.onRecoverableError=o,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=c,this.transitionTypes=null,this.incompleteTransitions=new Map}function uh(e,t,n,r,i,a,o,s,c,l,u,d){return e=new lh(e,t,n,o,c,l,u,d,s),t=1,!0===a&&(t|=24),a=Mi(3,null,null,t),e.current=a,a.stateNode=e,t=Ma(),t.refCount++,e.pooledCache=t,t.refCount++,a.memoizedState={element:r,isDehydrated:n,cache:t},ho(a),e}function dh(e){return e?(e=Ai,e):Ai}function fh(e,t,n,r,i,a){i=dh(i),r.context===null?r.context=i:r.pendingContext=i,r=_o(t),r.payload={element:n},a=a===void 0?null:a,a!==null&&(r.callback=a),n=vo(e,r,t),n!==null&&(Fd(n,e,t),yo(n,e,t))}function ph(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function mh(e,t){ph(e,t),(e=e.alternate)&&ph(e,t)}function hh(e){if(e.tag===13||e.tag===31){var t=Di(e,67108864);t!==null&&Fd(t,e,67108864),mh(e,67108864)}}function gh(e){if(e.tag===13||e.tag===31){var t=Md();t=yt(t);var n=Di(e,t);n!==null&&Fd(n,e,t),mh(e,t)}}var _h=!0;function vh(e,t,n,r){var i=P.T;P.T=null;var a=_e.p;try{_e.p=2,bh(e,t,n,r)}finally{_e.p=a,P.T=i}}function yh(e,t,n,r){var i=P.T;P.T=null;var a=_e.p;try{_e.p=8,bh(e,t,n,r)}finally{_e.p=a,P.T=i}}function bh(e,t,n,r){if(_h){var i=xh(r);if(i===null)qf(e,t,r,Sh,n),Nh(e,r);else if(Fh(i,e,t,n,r))r.stopPropagation();else if(Nh(e,r),t&4&&-1<Mh.indexOf(e)){for(;i!==null;){var a=Ft(i);if(a!==null)switch(a.tag){case 3:if(a=a.stateNode,a.current.memoizedState.isDehydrated){var o=st(a.pendingLanes);if(o!==0){var s=a;for(s.pendingLanes|=2,s.entangledLanes|=2;o;){var c=1<<31-et(o);s.entanglements[1]|=c,o&=~c}Of(a),!(Qu&6)&&(_d=He()+500,kf(0,!1))}}break;case 31:case 13:s=Di(a,2),s!==null&&Fd(s,a,2),Bd(),mh(a,2)}if(a=xh(r),a===null&&qf(e,t,r,Sh,n),a===i)break;i=a}i!==null&&r.stopPropagation()}else qf(e,t,r,null,n)}}function xh(e){return e=Sn(e),Ch(e)}var Sh=null;function Ch(e){if(Sh=null,e=Pt(e),e!==null){var t=l(e);if(t===null)e=null;else{var n=t.tag;if(n===13){if(e=u(t),e!==null)return e;e=null}else if(n===31){if(e=d(t),e!==null)return e;e=null}else if(n===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return Sh=e,null}function wh(e){switch(e){case`beforetoggle`:case`cancel`:case`click`:case`close`:case`contextmenu`:case`copy`:case`cut`:case`auxclick`:case`dblclick`:case`dragend`:case`dragstart`:case`drop`:case`focusin`:case`focusout`:case`input`:case`invalid`:case`keydown`:case`keypress`:case`keyup`:case`mousedown`:case`mouseup`:case`paste`:case`pause`:case`play`:case`pointercancel`:case`pointerdown`:case`pointerup`:case`ratechange`:case`reset`:case`seeked`:case`submit`:case`toggle`:case`touchcancel`:case`touchend`:case`touchstart`:case`volumechange`:case`change`:case`selectionchange`:case`textInput`:case`compositionstart`:case`compositionend`:case`compositionupdate`:case`beforeblur`:case`afterblur`:case`beforeinput`:case`blur`:case`fullscreenchange`:case`fullscreenerror`:case`focus`:case`hashchange`:case`popstate`:case`select`:case`selectstart`:return 2;case`drag`:case`dragenter`:case`dragexit`:case`dragleave`:case`dragover`:case`mousemove`:case`mouseout`:case`mouseover`:case`pointermove`:case`pointerout`:case`pointerover`:case`resize`:case`scroll`:case`touchmove`:case`wheel`:case`mouseenter`:case`mouseleave`:case`pointerenter`:case`pointerleave`:return 8;case`message`:switch(Ue()){case We:return 2;case Ge:return 8;case Ke:case qe:return 32;case Je:return 268435456;default:return 32}default:return 32}}var Th=!1,Eh=null,Dh=null,Oh=null,kh=new Map,Ah=new Map,jh=[],Mh=`mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset`.split(` `);function Nh(e,t){switch(e){case`focusin`:case`focusout`:Eh=null;break;case`dragenter`:case`dragleave`:Dh=null;break;case`mouseover`:case`mouseout`:Oh=null;break;case`pointerover`:case`pointerout`:kh.delete(t.pointerId);break;case`gotpointercapture`:case`lostpointercapture`:Ah.delete(t.pointerId)}}function Ph(e,t,n,r,i,a){return e===null||e.nativeEvent!==a?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:a,targetContainers:[i]},t!==null&&(t=Ft(t),t!==null&&hh(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,i!==null&&t.indexOf(i)===-1&&t.push(i),e)}function Fh(e,t,n,r,i){switch(t){case`focusin`:return Eh=Ph(Eh,e,t,n,r,i),!0;case`dragenter`:return Dh=Ph(Dh,e,t,n,r,i),!0;case`mouseover`:return Oh=Ph(Oh,e,t,n,r,i),!0;case`pointerover`:var a=i.pointerId;return kh.set(a,Ph(kh.get(a)||null,e,t,n,r,i)),!0;case`gotpointercapture`:return a=i.pointerId,Ah.set(a,Ph(Ah.get(a)||null,e,t,n,r,i)),!0}return!1}function Ih(e){var t=Pt(e.target);if(t!==null){var n=l(t);if(n!==null){if(t=n.tag,t===13){if(t=u(n),t!==null){e.blockedOn=t,St(e.priority,function(){gh(n)});return}}else if(t===31){if(t=d(n),t!==null){e.blockedOn=t,St(e.priority,function(){gh(n)});return}}else if(t===3&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function Lh(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=xh(e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);xn=r,n.target.dispatchEvent(r),xn=null}else return t=Ft(n),t!==null&&hh(t),e.blockedOn=n,!1;t.shift()}return!0}function Rh(e,t,n){Lh(e)&&n.delete(t)}function zh(){Th=!1,Eh!==null&&Lh(Eh)&&(Eh=null),Dh!==null&&Lh(Dh)&&(Dh=null),Oh!==null&&Lh(Oh)&&(Oh=null),kh.forEach(Rh),Ah.forEach(Rh)}function Bh(e,n){e.blockedOn===n&&(e.blockedOn=null,Th||(Th=!0,t.unstable_scheduleCallback(t.unstable_NormalPriority,zh)))}var Vh=null;function Hh(e){Vh!==e&&(Vh=e,t.unstable_scheduleCallback(t.unstable_NormalPriority,function(){Vh===e&&(Vh=null);for(var t=0;t<e.length;t+=3){var n=e[t],r=e[t+1],i=e[t+2];if(typeof r!=`function`){if(Ch(r||n)===null)continue;break}var a=Ft(n);a!==null&&(e.splice(t,3),t-=3,nc(a,{pending:!0,data:i,method:n.method,action:r},r,i))}}))}function Uh(e){function t(t){return Bh(t,e)}Eh!==null&&Bh(Eh,e),Dh!==null&&Bh(Dh,e),Oh!==null&&Bh(Oh,e),kh.forEach(t),Ah.forEach(t);for(var n=0;n<jh.length;n++){var r=jh[n];r.blockedOn===e&&(r.blockedOn=null)}for(;0<jh.length&&(n=jh[0],n.blockedOn===null);)Ih(n),n.blockedOn===null&&jh.shift();if(n=(e.ownerDocument||e).$$reactFormReplay,n!=null)for(r=0;r<n.length;r+=3){var i=n[r],a=n[r+1],o=i[Tt]||null;if(typeof a==`function`)o||Hh(n);else if(o){var s=null;if(a&&a.hasAttribute(`formAction`)){if(i=a,o=a[Tt]||null)s=o.formAction;else if(Ch(i)!==null)continue}else s=o.action;typeof s==`function`?n[r+1]=s:(n.splice(r,3),r-=3),Hh(n)}}}function Wh(){function e(e){e.canIntercept&&e.info===`react-transition`&&e.intercept({handler:function(){return new Promise(function(e){return i=e})},focusReset:`manual`,scroll:`manual`})}function t(){i!==null&&(i(),i=null),r||setTimeout(n,20)}function n(){if(!r&&!navigation.transition){var e=navigation.currentEntry;e&&e.url!=null&&navigation.navigate(e.url,{state:e.getState(),info:`react-transition`,history:`replace`})}}if(typeof navigation==`object`){var r=!1,i=null;return navigation.addEventListener(`navigate`,e),navigation.addEventListener(`navigatesuccess`,t),navigation.addEventListener(`navigateerror`,t),setTimeout(n,100),function(){r=!0,navigation.removeEventListener(`navigate`,e),navigation.removeEventListener(`navigatesuccess`,t),navigation.removeEventListener(`navigateerror`,t),i!==null&&(i(),i=null)}}}function Gh(e){this._internalRoot=e}Kh.prototype.render=Gh.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(o(409));var n=t.current;fh(n,Md(),e,t,null,null)},Kh.prototype.unmount=Gh.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;fh(e.current,2,null,e,null,null),Bd(),t[Et]=null}};function Kh(e){this._internalRoot=e}Kh.prototype.unstable_scheduleHydration=function(e){if(e){var t=xt();e={blockedOn:null,target:e,priority:t};for(var n=0;n<jh.length&&t!==0&&t<jh[n].priority;n++);jh.splice(n,0,e),n===0&&Ih(e)}};var qh=n.version;if(qh!==`19.3.0`)throw Error(o(527,qh,`19.3.0`));_e.findDOMNode=function(e){var t=e._reactInternals;if(t===void 0)throw typeof e.render==`function`?Error(o(188)):(e=Object.keys(e).join(`,`),Error(o(268,e)));return e=p(t),e=e===null?null:m(e),e=e===null?null:e.stateNode,e};var Jh={bundleType:0,version:`19.3.0`,rendererPackageName:`react-dom`,currentDispatcherRef:P,reconcilerVersion:`19.3.0`};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<`u`){var Yh=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Yh.isDisabled&&Yh.supportsFiber)try{Ze=Yh.inject(Jh),Qe=Yh}catch{}}e.createRoot=function(e,t){if(!c(e))throw Error(o(299));var n=!1,r=``,i=Tc,a=Ec,s=Dc;return t!=null&&(!0===t.unstable_strictMode&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onUncaughtError!==void 0&&(i=t.onUncaughtError),t.onCaughtError!==void 0&&(a=t.onCaughtError),t.onRecoverableError!==void 0&&(s=t.onRecoverableError)),t=uh(e,1,!1,null,null,n,r,null,i,a,s,Wh),e[Et]=t.current,Gf(e),new Gh(t)}})),l=t(((e,t)=>{function n(){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<`u`&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE==`function`)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n)}catch(e){console.error(e)}}n(),t.exports=c()})),u=e=>e<=.04045?e/12.92:((e+.055)/1.055)**2.4,d=e=>e<=.0031308?12.92*e:1.055*e**(1/2.4)-.055;function f(e){let t=e.replace(`#`,``);return(t.length===3||t.length===4)&&(t=t.slice(0,3).split(``).map(e=>e+e).join(``)),[0,2,4].map(e=>parseInt(t.slice(e,e+2),16)/255)}function p([e,t,n]){let r=e=>Math.round(Math.min(1,Math.max(0,e))*255).toString(16).padStart(2,`0`);return`#${r(e)}${r(t)}${r(n)}`}function m([e,t,n]){let[r,i,a]=[u(e),u(t),u(n)],o=Math.cbrt(.4122214708*r+.5363325363*i+.0514459929*a),s=Math.cbrt(.2119034982*r+.6806995451*i+.1073969566*a),c=Math.cbrt(.0883024619*r+.2817188376*i+.6299787005*a);return[.2104542553*o+.793617785*s-.0040720468*c,1.9779984951*o-2.428592205*s+.4505937099*c,.0259040371*o+.7827717662*s-.808675766*c]}function h([e,t,n]){let r=(e+.3963377774*t+.2158037573*n)**3,i=(e-.1055613458*t-.0638541728*n)**3,a=(e-.0894841775*t-1.291485548*n)**3;return[d(4.0767416621*r-3.3077115913*i+.2309699292*a),d(-1.2684380046*r+2.6097574011*i-.3413193965*a),d(-.0041960863*r-.7034186147*i+1.707614701*a)]}function g(e){let[t,n,r]=m(f(e));return{l:t,c:Math.hypot(n,r),h:(Math.atan2(r,n)*180/Math.PI+360)%360}}function _({l:e,c:t,h:n}){for(let r=t;r>=0;r-=.002){let t=h([e,r*Math.cos(n*Math.PI/180),r*Math.sin(n*Math.PI/180)]);if(t.every(e=>e>=-5e-4&&e<=1.0005))return p(t)}return p(h([e,0,0]))}function v(e,t,n){let r=m(f(e)),i=m(f(t));return p(h([0,1,2].map(e=>r[e]+(i[e]-r[e])*n)))}function y(e){let[t,n,r]=f(e).map(u);return .2126*t+.7152*n+.0722*r}function b(e,t){let[n,r]=[y(e),y(t)].sort((e,t)=>t-e);return(n+.05)/(r+.05)}var x=()=>({mode:`free`,gap:0,pad:[0,0,0,0],alignMain:`start`,alignCross:`start`});function S(e,t,n){switch(e){case`frame`:return{id:t,parent:n,name:`Frame`,x:0,y:0,w:100,h:100,sizeX:`fixed`,sizeY:`fixed`};case`text`:return{id:t,parent:n,name:`Text`,x:0,y:0,w:0,h:0,sizeX:`hug`,sizeY:`hug`};case`vector`:return{id:t,parent:n,name:`Vector`,x:0,y:0,w:24,h:24,sizeX:`fixed`,sizeY:`fixed`};case`shape`:return{id:t,parent:n,name:`Shape`,x:0,y:0,w:100,h:100,sizeX:`fixed`,sizeY:`fixed`}}}function C(e){return{rect:`Rectangle`,ellipse:`Ellipse`,line:`Line`,polygon:`Polygon`,path:`Path`}[e]}function w(){return{children:[],layout:x(),clip:!1}}function T(){return{content:``}}function E(){return{}}var D=`#ffffff`,O=`#d9d9d9`,k=`#00000033`,A=`#000000`,j=`#000000`,M=`#000000`,ee=`#000000`,te=`#00000040`,N=`#ff00001a`;function ne(e,t){let n=e.fontSize;if(typeof n!=`number`||n===t.fontSize||!t.fontSize)return e;let r=n/t.fontSize,i={...e};return!(`lineHeight`in i)&&t.lineHeight&&(i.lineHeight=Math.round(t.lineHeight*r*100)/100),!(`letterSpacing`in i)&&t.letterSpacing&&(i.letterSpacing=Math.round(t.letterSpacing*r*100)/100),i}var re=e=>e===`upper`?`uppercase`:e===`lower`?`lowercase`:e===`title`?`capitalize`:`none`,ie=[`fontFamily`,`fontSize`,`fontWeight`,`fontStyle`,`lineHeight`,`letterSpacing`,`color`,`textDecoration`,`textCase`],ae=e=>Object.fromEntries(ie.filter(t=>e[t]!==void 0).map(t=>[t,e[t]])),oe=(e,t)=>ie.every(n=>e[n]===t[n]);function se(e,t){let n=[];for(let r of[...e??[]].sort((e,t)=>e.start-t.start)){let e=Math.min(t,Math.max(0,r.start,n.length?n[n.length-1].end:0)),i=Math.max(e,Math.min(t,r.end)),a=ae(r);if(i<=e||!Object.keys(a).length)continue;let o=n[n.length-1];o&&o.end===e&&oe(o,a)?o.end=i:n.push({start:e,end:i,...a})}return n}function ce(e,t,n,r,i){let a=new Set([0,t,n,r]);for(let t of e??[])a.add(t.start),a.add(t.end);let o=[...a].filter(e=>e>=0&&e<=t).sort((e,t)=>e-t),s=[];for(let t=0;t<o.length-1;t++){let a=o[t],c=o[t+1];if(c<=a)continue;let l=(e??[]).find(e=>e.start<=a&&e.end>=c),u=l?ae(l):{};if(a>=n&&c<=r){u={...u};for(let[e,t]of Object.entries(i))t==null?delete u[e]:u[e]=t}s.push({start:a,end:c,...u})}return se(s,t)}function le(e,t,n){if(!n?.length)return[];let r=0;for(;r<e.length&&r<t.length&&e[r]===t[r];)r++;let i=0;for(;i<e.length-r&&i<t.length-r&&e[e.length-1-i]===t[t.length-1-i];)i++;let a=t.length-e.length,o=e.length-i,s=(e,n)=>e<r||e===r&&!n?e:e>=o?e+a:n?t.length-i:r;return se(n.map(e=>({...e,start:s(e.start,!1),end:s(e.end,!0)})),t.length)}function ue(e,t){let n=se(t,e.length);if(!n.length)return[{text:e,style:null}];let r=[],i=0;return n.forEach((t,n)=>{t.start>i&&r.push({text:e.slice(i,t.start),style:null}),r.push({text:e.slice(t.start,t.end),style:ae(t),span:n}),i=t.end}),i<e.length&&r.push({text:e.slice(i),style:null}),r}var de={shadcn:{id:`shadcn`,name:`shadcn/ui`,by:`shadcn`,version:`4.23.0`,license:`MIT`,url:`https://ui.shadcn.com`,prefix:``,cssPrefix:`--`,fonts:{display:`Geist`,body:`Geist`,mono:`Geist Mono`},colors:{background:{light:`#ffffff`,dark:`#0a0a0a`},foreground:{light:`#0a0a0a`,dark:`#fafafa`},card:{light:`#ffffff`,dark:`#171717`},"card-foreground":{light:`#0a0a0a`,dark:`#fafafa`},popover:{light:`#ffffff`,dark:`#171717`},"popover-foreground":{light:`#0a0a0a`,dark:`#fafafa`},primary:{light:`#171717`,dark:`#e5e5e5`},"primary-foreground":{light:`#fafafa`,dark:`#171717`},secondary:{light:`#f5f5f5`,dark:`#262626`},"secondary-foreground":{light:`#171717`,dark:`#fafafa`},muted:{light:`#f5f5f5`,dark:`#262626`},"muted-foreground":{light:`#737373`,dark:`#a1a1a1`},accent:{light:`#f5f5f5`,dark:`#262626`},"accent-foreground":{light:`#171717`,dark:`#fafafa`},destructive:{light:`#e7000b`,dark:`#ff6467`},border:{light:`#e5e5e5`,dark:`#ffffff1a`},input:{light:`#e5e5e5`,dark:`#ffffff26`},ring:{light:`#a1a1a1`,dark:`#737373`},"chart-1":{light:`#d4d4d4`,dark:`#d4d4d4`},"chart-2":{light:`#737373`,dark:`#737373`},"chart-3":{light:`#525252`,dark:`#525252`},"chart-4":{light:`#404040`,dark:`#404040`},"chart-5":{light:`#262626`,dark:`#262626`},sidebar:{light:`#fafafa`,dark:`#171717`},"sidebar-foreground":{light:`#0a0a0a`,dark:`#fafafa`},"sidebar-primary":{light:`#171717`,dark:`#1447e6`},"sidebar-primary-foreground":{light:`#fafafa`,dark:`#fafafa`},"sidebar-accent":{light:`#f5f5f5`,dark:`#262626`},"sidebar-accent-foreground":{light:`#171717`,dark:`#fafafa`},"sidebar-border":{light:`#e5e5e5`,dark:`#ffffff1a`},"sidebar-ring":{light:`#a1a1a1`,dark:`#737373`}},text:{"text-xs":{fontFamily:`Geist`,fontSize:12,lineHeight:16,fontWeight:400},"text-sm":{fontFamily:`Geist`,fontSize:14,lineHeight:20,fontWeight:400},"text-base":{fontFamily:`Geist`,fontSize:16,lineHeight:24,fontWeight:400},"text-lg":{fontFamily:`Geist`,fontSize:18,lineHeight:28,fontWeight:400},"text-xl":{fontFamily:`Geist`,fontSize:20,lineHeight:28,fontWeight:400},"text-2xl":{fontFamily:`Geist`,fontSize:24,lineHeight:32,fontWeight:400},"text-3xl":{fontFamily:`Geist`,fontSize:30,lineHeight:36,fontWeight:400},"text-4xl":{fontFamily:`Geist`,fontSize:36,lineHeight:40,fontWeight:400},"text-5xl":{fontFamily:`Geist`,fontSize:48,lineHeight:48,fontWeight:400},"text-6xl":{fontFamily:`Geist`,fontSize:60,lineHeight:60,fontWeight:400},"text-7xl":{fontFamily:`Geist`,fontSize:72,lineHeight:72,fontWeight:400},"text-8xl":{fontFamily:`Geist`,fontSize:96,lineHeight:96,fontWeight:400},"text-9xl":{fontFamily:`Geist`,fontSize:128,lineHeight:128,fontWeight:400}},space:{"spacing-px":1,"spacing-0.5":2,"spacing-1":4,"spacing-1.5":6,"spacing-2":8,"spacing-2.5":10,"spacing-3":12,"spacing-3.5":14,"spacing-4":16,"spacing-5":20,"spacing-6":24,"spacing-7":28,"spacing-8":32,"spacing-9":36,"spacing-10":40,"spacing-11":44,"spacing-12":48,"spacing-14":56,"spacing-16":64,"spacing-20":80,"spacing-24":96,"spacing-28":112,"spacing-32":128,"spacing-36":144,"spacing-40":160,"spacing-44":176,"spacing-48":192,"spacing-52":208,"spacing-56":224,"spacing-60":240,"spacing-64":256,"spacing-72":288,"spacing-80":320,"spacing-96":384},radius:{"radius-sm":6,"radius-md":8,"radius-lg":10,"radius-xl":14,"radius-2xl":18,"radius-3xl":22,"radius-4xl":26,"radius-full":9999},defaults:{background:`background`,text:`foreground`,textStyle:`text-sm`},kit:`shadcn`,sources:[`shadcn-ui/ui@shadcn@4.23.0/apps/v4/public/r/colors/neutral.json (cssVarsV4)`,`shadcn-ui/ui@shadcn@4.23.0/packages/registry/src/updaters/update-css-vars.ts`,`shadcn-ui/ui@shadcn@4.23.0/templates/next-app/app/layout.tsx`,`tailwindcss@4.3.3/theme.css`]},material3:{id:`material3`,name:`Material 3`,by:`Google`,version:`@material/web@2.5.0`,license:`Apache-2.0`,url:`https://m3.material.io`,prefix:`material3`,cssPrefix:`--md-sys-color-`,fonts:{display:`Roboto`,body:`Roboto`},colors:{primary:{light:`#6750a4`,dark:`#d0bcff`},"on-primary":{light:`#ffffff`,dark:`#381e72`},"primary-container":{light:`#eaddff`,dark:`#4f378b`},"on-primary-container":{light:`#21005d`,dark:`#eaddff`},secondary:{light:`#625b71`,dark:`#ccc2dc`},"on-secondary":{light:`#ffffff`,dark:`#332d41`},"secondary-container":{light:`#e8def8`,dark:`#4a4458`},"on-secondary-container":{light:`#1d192b`,dark:`#e8def8`},tertiary:{light:`#7d5260`,dark:`#efb8c8`},"on-tertiary":{light:`#ffffff`,dark:`#492532`},"tertiary-container":{light:`#ffd8e4`,dark:`#633b48`},"on-tertiary-container":{light:`#31111d`,dark:`#ffd8e4`},error:{light:`#b3261e`,dark:`#f2b8b5`},"on-error":{light:`#ffffff`,dark:`#601410`},"error-container":{light:`#f9dedc`,dark:`#8c1d18`},"on-error-container":{light:`#410e0b`,dark:`#f9dedc`},background:{light:`#fef7ff`,dark:`#141218`},"on-background":{light:`#1d1b20`,dark:`#e6e0e9`},surface:{light:`#fef7ff`,dark:`#141218`},"on-surface":{light:`#1d1b20`,dark:`#e6e0e9`},"surface-variant":{light:`#e7e0ec`,dark:`#49454f`},"on-surface-variant":{light:`#49454f`,dark:`#cac4d0`},outline:{light:`#79747e`,dark:`#938f99`},"outline-variant":{light:`#cac4d0`,dark:`#49454f`},shadow:{light:`#000000`,dark:`#000000`},scrim:{light:`#000000`,dark:`#000000`},"inverse-surface":{light:`#322f35`,dark:`#e6e0e9`},"inverse-on-surface":{light:`#f5eff7`,dark:`#322f35`},"inverse-primary":{light:`#d0bcff`,dark:`#6750a4`},"primary-fixed":{light:`#eaddff`,dark:`#eaddff`},"primary-fixed-dim":{light:`#d0bcff`,dark:`#d0bcff`},"on-primary-fixed":{light:`#21005d`,dark:`#21005d`},"on-primary-fixed-variant":{light:`#4f378b`,dark:`#4f378b`},"secondary-fixed":{light:`#e8def8`,dark:`#e8def8`},"secondary-fixed-dim":{light:`#ccc2dc`,dark:`#ccc2dc`},"on-secondary-fixed":{light:`#1d192b`,dark:`#1d192b`},"on-secondary-fixed-variant":{light:`#4a4458`,dark:`#4a4458`},"tertiary-fixed":{light:`#ffd8e4`,dark:`#ffd8e4`},"tertiary-fixed-dim":{light:`#efb8c8`,dark:`#efb8c8`},"on-tertiary-fixed":{light:`#31111d`,dark:`#31111d`},"on-tertiary-fixed-variant":{light:`#633b48`,dark:`#633b48`},"surface-dim":{light:`#ded8e1`,dark:`#141218`},"surface-bright":{light:`#fef7ff`,dark:`#3b383e`},"surface-container-lowest":{light:`#ffffff`,dark:`#0f0d13`},"surface-container-low":{light:`#f7f2fa`,dark:`#1d1b20`},"surface-container":{light:`#f3edf7`,dark:`#211f26`},"surface-container-high":{light:`#ece6f0`,dark:`#2b2930`},"surface-container-highest":{light:`#e6e0e9`,dark:`#36343b`},"surface-tint":{light:`#6750a4`,dark:`#d0bcff`}},text:{"display-large":{fontFamily:`Roboto`,fontSize:57,lineHeight:64,fontWeight:400,letterSpacing:-.25},"display-medium":{fontFamily:`Roboto`,fontSize:45,lineHeight:52,fontWeight:400,letterSpacing:0},"display-small":{fontFamily:`Roboto`,fontSize:36,lineHeight:44,fontWeight:400,letterSpacing:0},"headline-large":{fontFamily:`Roboto`,fontSize:32,lineHeight:40,fontWeight:400,letterSpacing:0},"headline-medium":{fontFamily:`Roboto`,fontSize:28,lineHeight:36,fontWeight:400,letterSpacing:0},"headline-small":{fontFamily:`Roboto`,fontSize:24,lineHeight:32,fontWeight:400,letterSpacing:0},"title-large":{fontFamily:`Roboto`,fontSize:22,lineHeight:28,fontWeight:400,letterSpacing:0},"title-medium":{fontFamily:`Roboto`,fontSize:16,lineHeight:24,fontWeight:500,letterSpacing:.15},"title-small":{fontFamily:`Roboto`,fontSize:14,lineHeight:20,fontWeight:500,letterSpacing:.1},"body-large":{fontFamily:`Roboto`,fontSize:16,lineHeight:24,fontWeight:400,letterSpacing:.5},"body-medium":{fontFamily:`Roboto`,fontSize:14,lineHeight:20,fontWeight:400,letterSpacing:.25},"body-small":{fontFamily:`Roboto`,fontSize:12,lineHeight:16,fontWeight:400,letterSpacing:.4},"label-large":{fontFamily:`Roboto`,fontSize:14,lineHeight:20,fontWeight:500,letterSpacing:.1},"label-medium":{fontFamily:`Roboto`,fontSize:12,lineHeight:16,fontWeight:500,letterSpacing:.5},"label-small":{fontFamily:`Roboto`,fontSize:11,lineHeight:16,fontWeight:500,letterSpacing:.5}},space:null,radius:{"corner-none":0,"corner-extra-small":4,"corner-small":8,"corner-medium":12,"corner-large":16,"corner-extra-large":28,"corner-full":9999},defaults:{background:`surface`,text:`on-surface`,textStyle:`body-large`},kit:`material3`,sources:[`@material/web@2.5.0/tokens/versions/v0_192/_md-sys-color.scss`,`@material/web@2.5.0/tokens/versions/v0_192/_md-ref-palette.scss`,`@material/web@2.5.0/tokens/versions/v0_192/_md-sys-typescale.scss`,`@material/web@2.5.0/tokens/versions/v0_192/_md-ref-typeface.scss`,`@material/web@2.5.0/tokens/versions/v0_192/_md-sys-shape.scss`]},carbon:{id:`carbon`,name:`Carbon`,by:`IBM`,version:`11.84.0`,license:`Apache-2.0`,url:`https://carbondesignsystem.com`,prefix:`carbon`,cssPrefix:`--cds-`,fonts:{display:`IBM Plex Sans`,body:`IBM Plex Sans`,mono:`IBM Plex Mono`},colors:{background:{light:`#ffffff`,dark:`#161616`},"background-active":{light:`#8d8d8d80`,dark:`#8d8d8d66`},"background-selected":{light:`#8d8d8d33`,dark:`#8d8d8d3d`},"background-selected-hover":{light:`#8d8d8d52`,dark:`#8d8d8d52`},"background-hover":{light:`#8d8d8d1f`,dark:`#8d8d8d29`},"background-brand":{light:`#0f62fe`,dark:`#0f62fe`},"background-inverse":{light:`#393939`,dark:`#f4f4f4`},"background-inverse-hover":{light:`#474747`,dark:`#e8e8e8`},"layer-01":{light:`#f4f4f4`,dark:`#262626`},"layer-active-01":{light:`#c6c6c6`,dark:`#525252`},"layer-background-01":{light:`#ffffff`,dark:`#161616`},"layer-hover-01":{light:`#e8e8e8`,dark:`#333333`},"layer-selected-01":{light:`#e0e0e0`,dark:`#393939`},"layer-selected-hover-01":{light:`#d1d1d1`,dark:`#474747`},"layer-02":{light:`#ffffff`,dark:`#393939`},"layer-active-02":{light:`#c6c6c6`,dark:`#6f6f6f`},"layer-background-02":{light:`#f4f4f4`,dark:`#262626`},"layer-hover-02":{light:`#e8e8e8`,dark:`#474747`},"layer-selected-02":{light:`#e0e0e0`,dark:`#525252`},"layer-selected-hover-02":{light:`#d1d1d1`,dark:`#636363`},"layer-03":{light:`#f4f4f4`,dark:`#525252`},"layer-active-03":{light:`#c6c6c6`,dark:`#8d8d8d`},"layer-background-03":{light:`#ffffff`,dark:`#393939`},"layer-hover-03":{light:`#e8e8e8`,dark:`#636363`},"layer-selected-03":{light:`#e0e0e0`,dark:`#6f6f6f`},"layer-selected-hover-03":{light:`#d1d1d1`,dark:`#5e5e5e`},"layer-selected-inverse":{light:`#161616`,dark:`#f4f4f4`},"layer-selected-disabled":{light:`#8d8d8d`,dark:`#a8a8a8`},"layer-accent-01":{light:`#e0e0e0`,dark:`#393939`},"layer-accent-active-01":{light:`#a8a8a8`,dark:`#6f6f6f`},"layer-accent-hover-01":{light:`#d1d1d1`,dark:`#474747`},"layer-accent-02":{light:`#e0e0e0`,dark:`#525252`},"layer-accent-active-02":{light:`#a8a8a8`,dark:`#8d8d8d`},"layer-accent-hover-02":{light:`#d1d1d1`,dark:`#636363`},"layer-accent-03":{light:`#e0e0e0`,dark:`#6f6f6f`},"layer-accent-active-03":{light:`#a8a8a8`,dark:`#393939`},"layer-accent-hover-03":{light:`#d1d1d1`,dark:`#5e5e5e`},"field-01":{light:`#f4f4f4`,dark:`#262626`},"field-hover-01":{light:`#e8e8e8`,dark:`#333333`},"field-02":{light:`#ffffff`,dark:`#393939`},"field-hover-02":{light:`#e8e8e8`,dark:`#474747`},"field-03":{light:`#f4f4f4`,dark:`#525252`},"field-hover-03":{light:`#e8e8e8`,dark:`#636363`},interactive:{light:`#0f62fe`,dark:`#4589ff`},"border-subtle-00":{light:`#e0e0e0`,dark:`#393939`},"border-subtle-01":{light:`#c6c6c6`,dark:`#525252`},"border-subtle-selected-01":{light:`#c6c6c6`,dark:`#6f6f6f`},"border-subtle-02":{light:`#e0e0e0`,dark:`#6f6f6f`},"border-subtle-selected-02":{light:`#c6c6c6`,dark:`#8d8d8d`},"border-subtle-03":{light:`#c6c6c6`,dark:`#6f6f6f`},"border-subtle-selected-03":{light:`#c6c6c6`,dark:`#8d8d8d`},"border-strong-01":{light:`#8d8d8d`,dark:`#6f6f6f`},"border-strong-02":{light:`#8d8d8d`,dark:`#8d8d8d`},"border-strong-03":{light:`#8d8d8d`,dark:`#a8a8a8`},"border-tile-01":{light:`#c6c6c6`,dark:`#525252`},"border-tile-02":{light:`#a8a8a8`,dark:`#6f6f6f`},"border-tile-03":{light:`#c6c6c6`,dark:`#8d8d8d`},"border-inverse":{light:`#161616`,dark:`#f4f4f4`},"border-interactive":{light:`#0f62fe`,dark:`#4589ff`},"border-disabled":{light:`#c6c6c6`,dark:`#8d8d8d80`},"text-primary":{light:`#161616`,dark:`#f4f4f4`},"text-secondary":{light:`#525252`,dark:`#c6c6c6`},"text-placeholder":{light:`#16161666`,dark:`#f4f4f466`},"text-helper":{light:`#6f6f6f`,dark:`#a8a8a8`},"text-error":{light:`#da1e28`,dark:`#ff8389`},"text-inverse":{light:`#ffffff`,dark:`#161616`},"text-on-color":{light:`#ffffff`,dark:`#ffffff`},"text-on-color-disabled":{light:`#8d8d8d`,dark:`#ffffff40`},"text-disabled":{light:`#16161640`,dark:`#f4f4f440`},"link-primary":{light:`#0f62fe`,dark:`#78a9ff`},"link-primary-hover":{light:`#0043ce`,dark:`#a6c8ff`},"link-secondary":{light:`#0043ce`,dark:`#a6c8ff`},"link-inverse-visited":{light:`#be95ff`,dark:`#8a3ffc`},"link-visited":{light:`#8a3ffc`,dark:`#be95ff`},"link-inverse":{light:`#78a9ff`,dark:`#0f62fe`},"link-inverse-active":{light:`#f4f4f4`,dark:`#161616`},"link-inverse-hover":{light:`#a6c8ff`,dark:`#0043ce`},"icon-primary":{light:`#161616`,dark:`#f4f4f4`},"icon-secondary":{light:`#525252`,dark:`#c6c6c6`},"icon-inverse":{light:`#ffffff`,dark:`#161616`},"icon-on-color":{light:`#ffffff`,dark:`#ffffff`},"icon-on-color-disabled":{light:`#8d8d8d`,dark:`#ffffff40`},"icon-disabled":{light:`#16161640`,dark:`#f4f4f440`},"icon-interactive":{light:`#0f62fe`,dark:`#ffffff`},"support-error":{light:`#da1e28`,dark:`#fa4d56`},"support-success":{light:`#24a148`,dark:`#42be65`},"support-warning":{light:`#f1c21b`,dark:`#f1c21b`},"support-info":{light:`#0043ce`,dark:`#4589ff`},"support-error-inverse":{light:`#fa4d56`,dark:`#da1e28`},"support-success-inverse":{light:`#42be65`,dark:`#24a148`},"support-warning-inverse":{light:`#f1c21b`,dark:`#f1c21b`},"support-info-inverse":{light:`#4589ff`,dark:`#0043ce`},"support-caution-major":{light:`#ff832b`,dark:`#ff832b`},"support-caution-minor":{light:`#f1c21b`,dark:`#f1c21b`},"support-caution-undefined":{light:`#8a3ffc`,dark:`#a56eff`},"syntax-comment":{light:`#198038`,dark:`#42be65`},"syntax-line-comment":{light:`#198038`,dark:`#42be65`},"syntax-block-comment":{light:`#198038`,dark:`#42be65`},"syntax-doc-comment":{light:`#198038`,dark:`#42be65`},"syntax-doc-string":{light:`#161616`,dark:`#f4f4f4`},"syntax-keyword":{light:`#0f62fe`,dark:`#4589ff`},"syntax-operator-keyword":{light:`#0f62fe`,dark:`#4589ff`},"syntax-control-keyword":{light:`#6929c4`,dark:`#be95ff`},"syntax-definition-keyword":{light:`#00539a`,dark:`#33b1ff`},"syntax-module-keyword":{light:`#6929c4`,dark:`#be95ff`},"syntax-variable":{light:`#0f62fe`,dark:`#a6c8ff`},"syntax-name":{light:`#0f62fe`,dark:`#a6c8ff`},"syntax-variable-name":{light:`#0f62fe`,dark:`#a6c8ff`},"syntax-label-name":{light:`#0f62fe`,dark:`#a6c8ff`},"syntax-attribute":{light:`#00539a`,dark:`#33b1ff`},"syntax-attribute-name":{light:`#00539a`,dark:`#33b1ff`},"syntax-property-name":{light:`#00539a`,dark:`#33b1ff`},"syntax-tag":{light:`#007d79`,dark:`#3ddbd9`},"syntax-tag-name":{light:`#007d79`,dark:`#3ddbd9`},"syntax-type":{light:`#007d79`,dark:`#3ddbd9`},"syntax-type-name":{light:`#007d79`,dark:`#3ddbd9`},"syntax-class-name":{light:`#007d79`,dark:`#3ddbd9`},"syntax-namespace":{light:`#007d79`,dark:`#3ddbd9`},"syntax-macro-name":{light:`#161616`,dark:`#f4f4f4`},"syntax-atom":{light:`#161616`,dark:`#f4f4f4`},"syntax-literal":{light:`#161616`,dark:`#f4f4f4`},"syntax-bool":{light:`#161616`,dark:`#f4f4f4`},"syntax-null":{light:`#161616`,dark:`#f4f4f4`},"syntax-self":{light:`#007d79`,dark:`#3ddbd9`},"syntax-number":{light:`#198038`,dark:`#6fdc8c`},"syntax-integer":{light:`#198038`,dark:`#6fdc8c`},"syntax-float":{light:`#198038`,dark:`#6fdc8c`},"syntax-unit":{light:`#198038`,dark:`#6fdc8c`},"syntax-string":{light:`#161616`,dark:`#f4f4f4`},"syntax-character":{light:`#161616`,dark:`#f4f4f4`},"syntax-attribute-value":{light:`#161616`,dark:`#f4f4f4`},"syntax-special-string":{light:`#8a3ffc`,dark:`#be95ff`},"syntax-regexp":{light:`#6929c4`,dark:`#be95ff`},"syntax-escape":{light:`#343a3f`,dark:`#e0e0e0`},"syntax-url":{light:`#343a3f`,dark:`#e0e0e0`},"syntax-color":{light:`#161616`,dark:`#f4f4f4`},"syntax-operator":{light:`#343a3f`,dark:`#e0e0e0`},"syntax-deref-operator":{light:`#343a3f`,dark:`#e0e0e0`},"syntax-arithmetic-operator":{light:`#343a3f`,dark:`#e0e0e0`},"syntax-logic-operator":{light:`#343a3f`,dark:`#e0e0e0`},"syntax-bitwise-operator":{light:`#343a3f`,dark:`#e0e0e0`},"syntax-compare-operator":{light:`#343a3f`,dark:`#e0e0e0`},"syntax-update-operator":{light:`#343a3f`,dark:`#e0e0e0`},"syntax-definition-operator":{light:`#00539a`,dark:`#33b1ff`},"syntax-type-operator":{light:`#007d79`,dark:`#3ddbd9`},"syntax-control-operator":{light:`#6929c4`,dark:`#be95ff`},"syntax-modifier":{light:`#0f62fe`,dark:`#4589ff`},"syntax-punctuation":{light:`#343a3f`,dark:`#e0e0e0`},"syntax-separator":{light:`#343a3f`,dark:`#e0e0e0`},"syntax-bracket":{light:`#343a3f`,dark:`#e0e0e0`},"syntax-angle-bracket":{light:`#697077`,dark:`#8d8d8d`},"syntax-square-bracket":{light:`#343a3f`,dark:`#e0e0e0`},"syntax-paren":{light:`#343a3f`,dark:`#e0e0e0`},"syntax-brace":{light:`#343a3f`,dark:`#e0e0e0`},"syntax-content":{light:`#161616`,dark:`#f4f4f4`},"syntax-heading":{light:`#00539a`,dark:`#33b1ff`},"syntax-heading-1":{light:`#00539a`,dark:`#33b1ff`},"syntax-heading-2":{light:`#00539a`,dark:`#33b1ff`},"syntax-heading-3":{light:`#00539a`,dark:`#33b1ff`},"syntax-heading-4":{light:`#00539a`,dark:`#33b1ff`},"syntax-heading-5":{light:`#00539a`,dark:`#33b1ff`},"syntax-heading-6":{light:`#00539a`,dark:`#33b1ff`},"syntax-content-separator":{light:`#343a3f`,dark:`#e0e0e0`},"syntax-list":{light:`#161616`,dark:`#f4f4f4`},"syntax-quote":{light:`#198038`,dark:`#42be65`},"syntax-emphasis":{light:`#161616`,dark:`#f4f4f4`},"syntax-strong":{light:`#161616`,dark:`#f4f4f4`},"syntax-monospace":{light:`#161616`,dark:`#f4f4f4`},"syntax-link":{light:`#0f62fe`,dark:`#4589ff`},"syntax-strikethrough":{light:`#161616`,dark:`#f4f4f4`},"syntax-invalid":{light:`#da1e28`,dark:`#fa4d56`},"syntax-meta":{light:`#198038`,dark:`#42be65`},"syntax-document-meta":{light:`#198038`,dark:`#42be65`},"syntax-annotation":{light:`#007d79`,dark:`#08bdba`},"syntax-processing-instruction":{light:`#161616`,dark:`#f4f4f4`},"syntax-definition":{light:`#00539a`,dark:`#33b1ff`},"syntax-constant":{light:`#0f62fe`,dark:`#4589ff`},"syntax-function":{light:`#8e6a00`,dark:`#f1c21b`},"syntax-standard":{light:`#0f62fe`,dark:`#4589ff`},"syntax-local":{light:`#0f62fe`,dark:`#a6c8ff`},"syntax-special":{light:`#0f62fe`,dark:`#4589ff`},"syntax-inserted":{light:`#a7f0ba`,dark:`#198038`},"syntax-deleted":{light:`#ffd7d9`,dark:`#a2191f`},"ai-popover-background":{light:`#ffffff`,dark:`#161616`},"ai-popover-shadow-outer-01":{light:`#0043ce0f`,dark:`#0000001f`},"ai-popover-shadow-outer-02":{light:`#0000000a`,dark:`#00000014`},"ai-inner-shadow":{light:`#4589ff1a`,dark:`#4589ff29`},"ai-aura-start-sm":{light:`#4589ff29`,dark:`#4589ff29`},"ai-aura-start":{light:`#4589ff1a`,dark:`#4589ff1a`},"ai-aura-end":{light:`#ffffff00`,dark:`#00000000`},"ai-aura-hover-background":{light:`#edf5ff`,dark:`#333333`},"ai-aura-hover-start":{light:`#4589ff52`,dark:`#4589ff66`},"ai-aura-hover-end":{light:`#ffffff00`,dark:`#00000000`},"ai-border-strong":{light:`#4589ff`,dark:`#78a9ff`},"ai-border-start":{light:`#a6c8ffa3`,dark:`#a6c8ff5c`},"ai-border-end":{light:`#78a9ff`,dark:`#4589ff`},"ai-drop-shadow":{light:`#0f62fe1a`,dark:`#00000047`},"ai-skeleton-background":{light:`#d0e2ff`,dark:`#78a9ff80`},"ai-skeleton-element-background":{light:`#4589ff`,dark:`#78a9ff4d`},"ai-overlay":{light:`#00114180`,dark:`#00000080`},"ai-popover-caret-center":{light:`#a0c3ff`,dark:`#4870b5`},"ai-popover-caret-bottom":{light:`#78a9ff`,dark:`#4589ff`},"ai-popover-caret-bottom-background":{light:`#eaf1ff`,dark:`#202d45`},"ai-popover-caret-bottom-background-actions":{light:`#e9effa`,dark:`#1e283a`},"chat-prompt-background":{light:`#ffffff`,dark:`#161616`},"chat-prompt-border-start":{light:`#f4f4f4`,dark:`#262626`},"chat-prompt-border-end":{light:`#f4f4f400`,dark:`#26262600`},"chat-prompt-text":{light:`#161616`,dark:`#f4f4f4`},"chat-bubble-user":{light:`#e0e0e0`,dark:`#393939`},"chat-bubble-user-text":{light:`#161616`,dark:`#f4f4f4`},"chat-bubble-agent":{light:`#ffffff`,dark:`#262626`},"chat-bubble-agent-text":{light:`#161616`,dark:`#f4f4f4`},"chat-bubble-border":{light:`#e0e0e0`,dark:`#525252`},"chat-avatar-bot":{light:`#6f6f6f`,dark:`#8d8d8d`},"chat-avatar-agent":{light:`#393939`,dark:`#c6c6c6`},"chat-avatar-user":{light:`#0f62fe`,dark:`#4589ff`},"chat-shell-background":{light:`#ffffff`,dark:`#262626`},"chat-header-background":{light:`#ffffff`,dark:`#262626`},"chat-header-text":{light:`#161616`,dark:`#f4f4f4`},"chat-button":{light:`#0f62fe`,dark:`#78a9ff`},"chat-button-hover":{light:`#8d8d8d1f`,dark:`#8d8d8d29`},"chat-button-text-hover":{light:`#0043ce`,dark:`#a6c8ff`},"chat-button-active":{light:`#8d8d8d80`,dark:`#8d8d8d66`},"chat-button-selected":{light:`#8d8d8d33`,dark:`#8d8d8d3d`},"chat-button-text-selected":{light:`#525252`,dark:`#c6c6c6`},highlight:{light:`#d0e2ff`,dark:`#001d6c`},overlay:{light:`#00000099`,dark:`#00000099`},"toggle-off":{light:`#8d8d8d`,dark:`#6f6f6f`},shadow:{light:`#0000004d`,dark:`#000000cc`},focus:{light:`#0f62fe`,dark:`#ffffff`},"focus-inset":{light:`#ffffff`,dark:`#161616`},"focus-inverse":{light:`#ffffff`,dark:`#0f62fe`},"skeleton-background":{light:`#e8e8e8`,dark:`#292929`},"skeleton-element":{light:`#c6c6c6`,dark:`#393939`},"button-separator":{light:`#e0e0e0`,dark:`#161616`},"button-primary":{light:`#0f62fe`,dark:`#0f62fe`},"button-secondary":{light:`#393939`,dark:`#6f6f6f`},"button-tertiary":{light:`#0f62fe`,dark:`#ffffff`},"button-danger-primary":{light:`#da1e28`,dark:`#da1e28`},"button-danger-secondary":{light:`#da1e28`,dark:`#fa4d56`},"button-danger-active":{light:`#750e13`,dark:`#750e13`},"button-primary-active":{light:`#002d9c`,dark:`#002d9c`},"button-secondary-active":{light:`#6f6f6f`,dark:`#393939`},"button-tertiary-active":{light:`#002d9c`,dark:`#c6c6c6`},"button-danger-hover":{light:`#b81921`,dark:`#b81921`},"button-primary-hover":{light:`#0050e6`,dark:`#0050e6`},"button-secondary-hover":{light:`#474747`,dark:`#5e5e5e`},"button-tertiary-hover":{light:`#0050e6`,dark:`#f4f4f4`},"button-disabled":{light:`#c6c6c6`,dark:`#8d8d8d4d`},"content-switcher-selected":{light:`#ffffff`,dark:`#8d8d8d3d`},"content-switcher-background":{light:`#e0e0e0`,dark:`#00000000`},"content-switcher-background-hover":{light:`#d1d1d1`,dark:`#8d8d8d1f`},"notification-background-error":{light:`#fff1f1`,dark:`#262626`},"notification-background-success":{light:`#defbe6`,dark:`#262626`},"notification-background-info":{light:`#edf5ff`,dark:`#262626`},"notification-background-warning":{light:`#fcf4d6`,dark:`#262626`},"notification-action-tertiary-inverse":{light:`#ffffff`,dark:`#0f62fe`},"notification-action-tertiary-inverse-active":{light:`#c6c6c6`,dark:`#002d9c`},"notification-action-tertiary-inverse-hover":{light:`#f4f4f4`,dark:`#0050e6`},"notification-action-tertiary-inverse-text":{light:`#161616`,dark:`#ffffff`},"notification-action-tertiary-inverse-text-on-color-disabled":{light:`#ffffff40`,dark:`#8d8d8d`},"status-red":{light:`#da1e28`,dark:`#fa4d56`},"status-orange":{light:`#ff832b`,dark:`#ff832b`},"status-yellow":{light:`#f1c21b`,dark:`#f1c21b`},"status-purple":{light:`#8a3ffc`,dark:`#a56eff`},"status-green":{light:`#24a148`,dark:`#42be65`},"status-blue":{light:`#0043ce`,dark:`#4589ff`},"status-gray":{light:`#6f6f6f`,dark:`#8d8d8d`},"tag-background-red":{light:`#ffd7d9`,dark:`#a2191f`},"tag-color-red":{light:`#a2191f`,dark:`#ffd7d9`},"tag-hover-red":{light:`#ffc2c5`,dark:`#c21e25`},"tag-background-magenta":{light:`#ffd6e8`,dark:`#9f1853`},"tag-color-magenta":{light:`#9f1853`,dark:`#ffd6e8`},"tag-hover-magenta":{light:`#ffbdda`,dark:`#bf1d63`},"tag-background-purple":{light:`#e8daff`,dark:`#6929c4`},"tag-color-purple":{light:`#6929c4`,dark:`#e8daff`},"tag-hover-purple":{light:`#dcc7ff`,dark:`#7c3dd6`},"tag-background-blue":{light:`#d0e2ff`,dark:`#0043ce`},"tag-color-blue":{light:`#0043ce`,dark:`#d0e2ff`},"tag-hover-blue":{light:`#b8d3ff`,dark:`#0053ff`},"tag-background-cyan":{light:`#bae6ff`,dark:`#00539a`},"tag-color-cyan":{light:`#00539a`,dark:`#bae6ff`},"tag-hover-cyan":{light:`#99daff`,dark:`#0066bd`},"tag-background-teal":{light:`#9ef0f0`,dark:`#005d5d`},"tag-color-teal":{light:`#005d5d`,dark:`#9ef0f0`},"tag-hover-teal":{light:`#57e5e5`,dark:`#007070`},"tag-background-green":{light:`#a7f0ba`,dark:`#0e6027`},"tag-color-green":{light:`#0e6027`,dark:`#a7f0ba`},"tag-hover-green":{light:`#74e792`,dark:`#11742f`},"tag-background-gray":{light:`#e0e0e0`,dark:`#525252`},"tag-color-gray":{light:`#161616`,dark:`#f4f4f4`},"tag-hover-gray":{light:`#d1d1d1`,dark:`#636363`},"tag-border-red":{light:`#ff8389`,dark:`#fa4d56`},"tag-border-blue":{light:`#78a9ff`,dark:`#4589ff`},"tag-border-cyan":{light:`#33b1ff`,dark:`#1192e8`},"tag-border-teal":{light:`#08bdba`,dark:`#009d9a`},"tag-border-green":{light:`#42be65`,dark:`#24a148`},"tag-border-magenta":{light:`#ff7eb6`,dark:`#ee5396`},"tag-border-purple":{light:`#be95ff`,dark:`#a56eff`},"tag-border-gray":{light:`#a8a8a8`,dark:`#8d8d8d`},"tag-border-cool-gray":{light:`#a2a9b0`,dark:`#878d96`},"tag-border-warm-gray":{light:`#ada8a8`,dark:`#8f8b8b`},"tag-background-cool-gray":{light:`#dde1e6`,dark:`#4d5358`},"tag-color-cool-gray":{light:`#121619`,dark:`#f2f4f8`},"tag-hover-cool-gray":{light:`#cdd3da`,dark:`#5d646a`},"tag-background-warm-gray":{light:`#e5e0df`,dark:`#565151`},"tag-color-warm-gray":{light:`#171414`,dark:`#f7f3f2`},"tag-hover-warm-gray":{light:`#d8d0cf`,dark:`#696363`},"status-accessibility-background":{light:`#ffffff`,dark:`#161616`}},text:{"caption-01":{fontFamily:`IBM Plex Sans`,fontSize:12,lineHeight:16,fontWeight:400,letterSpacing:.32},"caption-02":{fontFamily:`IBM Plex Sans`,fontSize:14,lineHeight:18,fontWeight:400,letterSpacing:.32},"label-01":{fontFamily:`IBM Plex Sans`,fontSize:12,lineHeight:16,fontWeight:400,letterSpacing:.32},"label-02":{fontFamily:`IBM Plex Sans`,fontSize:14,lineHeight:18,fontWeight:400,letterSpacing:.16},"helper-text-01":{fontFamily:`IBM Plex Sans`,fontSize:12,lineHeight:16,fontWeight:400,letterSpacing:.32},"helper-text-02":{fontFamily:`IBM Plex Sans`,fontSize:14,lineHeight:18,fontWeight:400,letterSpacing:.16},"body-short-01":{fontFamily:`IBM Plex Sans`,fontSize:14,lineHeight:18,fontWeight:400,letterSpacing:.16},"body-long-01":{fontFamily:`IBM Plex Sans`,fontSize:14,lineHeight:20,fontWeight:400,letterSpacing:.16},"body-short-02":{fontFamily:`IBM Plex Sans`,fontSize:16,lineHeight:22,fontWeight:400,letterSpacing:0},"body-long-02":{fontFamily:`IBM Plex Sans`,fontSize:16,lineHeight:24,fontWeight:400,letterSpacing:0},"code-01":{fontFamily:`IBM Plex Mono`,fontSize:12,lineHeight:16,fontWeight:400,letterSpacing:.32},"code-02":{fontFamily:`IBM Plex Mono`,fontSize:14,lineHeight:20,fontWeight:400,letterSpacing:.32},"heading-01":{fontFamily:`IBM Plex Sans`,fontSize:14,lineHeight:20,fontWeight:600,letterSpacing:.16},"productive-heading-01":{fontFamily:`IBM Plex Sans`,fontSize:14,lineHeight:18,fontWeight:600,letterSpacing:.16},"heading-02":{fontFamily:`IBM Plex Sans`,fontSize:16,lineHeight:24,fontWeight:600,letterSpacing:0},"productive-heading-02":{fontFamily:`IBM Plex Sans`,fontSize:16,lineHeight:22,fontWeight:600,letterSpacing:0},"productive-heading-03":{fontFamily:`IBM Plex Sans`,fontSize:20,lineHeight:28,fontWeight:400,letterSpacing:0},"productive-heading-04":{fontFamily:`IBM Plex Sans`,fontSize:28,lineHeight:36,fontWeight:400,letterSpacing:0},"productive-heading-05":{fontFamily:`IBM Plex Sans`,fontSize:32,lineHeight:40,fontWeight:400,letterSpacing:0},"productive-heading-06":{fontFamily:`IBM Plex Sans`,fontSize:42,lineHeight:50.36,fontWeight:300,letterSpacing:0},"productive-heading-07":{fontFamily:`IBM Plex Sans`,fontSize:54,lineHeight:64.75,fontWeight:300,letterSpacing:0},"expressive-heading-01":{fontFamily:`IBM Plex Sans`,fontSize:14,lineHeight:17.5,fontWeight:600,letterSpacing:.16},"expressive-heading-02":{fontFamily:`IBM Plex Sans`,fontSize:16,lineHeight:24,fontWeight:600,letterSpacing:0},"expressive-heading-03":{fontFamily:`IBM Plex Sans`,fontSize:20,lineHeight:28,fontWeight:400,letterSpacing:0},"expressive-heading-04":{fontFamily:`IBM Plex Sans`,fontSize:28,lineHeight:36,fontWeight:400,letterSpacing:0},"expressive-heading-05":{fontFamily:`IBM Plex Sans`,fontSize:32,lineHeight:40,fontWeight:400,letterSpacing:0},"expressive-heading-06":{fontFamily:`IBM Plex Sans`,fontSize:32,lineHeight:40,fontWeight:600,letterSpacing:0},"expressive-paragraph-01":{fontFamily:`IBM Plex Sans`,fontSize:24,lineHeight:32.02,fontWeight:300,letterSpacing:0},"quotation-01":{fontFamily:`IBM Plex Serif`,fontSize:20,lineHeight:26,fontWeight:400,letterSpacing:0},"quotation-02":{fontFamily:`IBM Plex Serif`,fontSize:32,lineHeight:40,fontWeight:300,letterSpacing:0},"display-01":{fontFamily:`IBM Plex Sans`,fontSize:42,lineHeight:49.98,fontWeight:300,letterSpacing:0},"display-02":{fontFamily:`IBM Plex Sans`,fontSize:42,lineHeight:49.98,fontWeight:600,letterSpacing:0},"display-03":{fontFamily:`IBM Plex Sans`,fontSize:42,lineHeight:49.98,fontWeight:300,letterSpacing:0},"display-04":{fontFamily:`IBM Plex Sans`,fontSize:42,lineHeight:49.98,fontWeight:300,letterSpacing:0},"body-01":{fontFamily:`IBM Plex Sans`,fontSize:14,lineHeight:20,fontWeight:400,letterSpacing:.16},"body-02":{fontFamily:`IBM Plex Sans`,fontSize:16,lineHeight:24,fontWeight:400,letterSpacing:0},"body-compact-01":{fontFamily:`IBM Plex Sans`,fontSize:14,lineHeight:18,fontWeight:400,letterSpacing:.16},"body-compact-02":{fontFamily:`IBM Plex Sans`,fontSize:16,lineHeight:22,fontWeight:400,letterSpacing:0},"heading-03":{fontFamily:`IBM Plex Sans`,fontSize:20,lineHeight:28,fontWeight:400,letterSpacing:0},"heading-04":{fontFamily:`IBM Plex Sans`,fontSize:28,lineHeight:36,fontWeight:400,letterSpacing:0},"heading-05":{fontFamily:`IBM Plex Sans`,fontSize:32,lineHeight:40,fontWeight:400,letterSpacing:0},"heading-06":{fontFamily:`IBM Plex Sans`,fontSize:42,lineHeight:50.36,fontWeight:300,letterSpacing:0},"heading-07":{fontFamily:`IBM Plex Sans`,fontSize:54,lineHeight:64.75,fontWeight:300,letterSpacing:0},"heading-compact-01":{fontFamily:`IBM Plex Sans`,fontSize:14,lineHeight:18,fontWeight:600,letterSpacing:.16},"heading-compact-02":{fontFamily:`IBM Plex Sans`,fontSize:16,lineHeight:22,fontWeight:600,letterSpacing:0},"legal-01":{fontFamily:`IBM Plex Sans`,fontSize:12,lineHeight:16,fontWeight:400,letterSpacing:.32},"legal-02":{fontFamily:`IBM Plex Sans`,fontSize:14,lineHeight:18,fontWeight:400,letterSpacing:.16}},space:{"spacing-01":2,"spacing-02":4,"spacing-03":8,"spacing-04":12,"spacing-05":16,"spacing-06":24,"spacing-07":32,"spacing-08":40,"spacing-09":48,"spacing-10":64,"spacing-11":80,"spacing-12":96,"spacing-13":160},radius:{"border-radius-00":0,"border-radius-02":2,"border-radius-04":4,"border-radius-08":8,"border-radius-16":16,"border-radius-24":24,"border-radius-max":9999},defaults:{background:`background`,text:`text-primary`,textStyle:`body-01`},kit:`carbon`,sources:[`@carbon/themes@11.84.0/lib/index.js`,`@carbon/type@11.70.0/lib/index.js`,`@carbon/layout@11.62.0/lib/index.js`]},primer:{id:`primer`,name:`Primer`,by:`GitHub`,version:`11.10.0`,license:`MIT`,url:`https://primer.style`,prefix:`primer`,cssPrefix:`--`,fonts:{display:`"Mona Sans VF", -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans Backtick Fix", "Noto Sans", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"`,body:`"Mona Sans VF", -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans Backtick Fix", "Noto Sans", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"`,mono:`ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace`},colors:{"ansi-cyan":{light:`#1b7c83`,dark:`#39c5cf`},"ansi-cyanBright":{light:`#3192aa`,dark:`#56d4dd`},"bgColor-success-emphasis":{light:`#1f883d`,dark:`#238636`},"button-outline-bgColor-active":{light:`#0757ba`,dark:`#0d419d`},"button-primary-bgColor-active":{light:`#197935`,dark:`#2e9a40`},"button-primary-bgColor-disabled":{light:`#95d8a6`,dark:`#105823`},"button-primary-bgColor-hover":{light:`#1c8139`,dark:`#29903b`},"buttonCounter-danger-fgColor-rest":{light:`#c21c2c`,dark:`#f85149`},"control-checked-bgColor-active":{light:`#0757ba`,dark:`#3685f3`},"control-checked-bgColor-hover":{light:`#0860ca`,dark:`#2a7aef`},"fgColor-danger":{light:`#d1242f`,dark:`#f85149`},"reactionButton-selected-bgColor-hover":{light:`#caecff`,dark:`#3a8cfd5c`},"ansi-blackBright":{light:`#393f46`,dark:`#656c76`},"ansi-blue":{light:`#0969da`,dark:`#58a6ff`},"ansi-blueBright":{light:`#218bff`,dark:`#79c0ff`},"ansi-gray":{light:`#59636e`,dark:`#656c76`},"ansi-green":{light:`#116329`,dark:`#3fb950`},"ansi-greenBright":{light:`#1a7f37`,dark:`#56d364`},"ansi-magenta":{light:`#8250df`,dark:`#be8fff`},"ansi-magentaBright":{light:`#a475f9`,dark:`#d2a8ff`},"ansi-red":{light:`#cf222e`,dark:`#ff7b72`},"ansi-redBright":{light:`#a40e26`,dark:`#ffa198`},"ansi-white":{light:`#59636e`,dark:`#f0f6fc`},"ansi-whiteBright":{light:`#818b98`,dark:`#ffffff`},"ansi-yellow":{light:`#4d2d00`,dark:`#d29922`},"ansi-yellowBright":{light:`#633c01`,dark:`#e3b341`},"avatarStack-fade-bgColor-default":{light:`#c8d1da`,dark:`#3d444d`},"avatarStack-fade-bgColor-muted":{light:`#dae0e7`,dark:`#2a313c`},"bgColor-accent-emphasis":{light:`#0969da`,dark:`#1f6feb`},"bgColor-accent-muted":{light:`#ddf4ff`,dark:`#388bfd1a`},"bgColor-attention-emphasis":{light:`#9a6700`,dark:`#9e6a03`},"bgColor-attention-muted":{light:`#fff8c5`,dark:`#bb800926`},"bgColor-danger-emphasis":{light:`#cf222e`,dark:`#da3633`},"bgColor-danger-muted":{light:`#ffebe9`,dark:`#f851491a`},"bgColor-disabled":{light:`#eff2f5`,dark:`#212830`},"bgColor-done-emphasis":{light:`#8250df`,dark:`#8957e5`},"bgColor-done-muted":{light:`#fbefff`,dark:`#ab7df826`},"bgColor-emphasis":{light:`#25292e`,dark:`#3d444d`},"bgColor-inverse":{light:`#25292e`,dark:`#ffffff`},"bgColor-muted":{light:`#f6f8fa`,dark:`#151b23`},"bgColor-neutral-emphasis":{light:`#59636e`,dark:`#656c76`},"bgColor-neutral-muted":{light:`#818b981f`,dark:`#656c7633`},"bgColor-open-emphasis":{light:`#1f883d`,dark:`#238636`},"bgColor-severe-emphasis":{light:`#bc4c00`,dark:`#bd561d`},"bgColor-severe-muted":{light:`#fff1e5`,dark:`#db6d281a`},"bgColor-sponsors-emphasis":{light:`#bf3989`,dark:`#bf4b8a`},"bgColor-sponsors-muted":{light:`#ffeff7`,dark:`#db61a21a`},"bgColor-success-muted":{light:`#dafbe1`,dark:`#2ea04326`},"bgColor-transparent":{light:`#ffffff00`,dark:`#00000000`},"borderColor-accent-emphasis":{light:`#0969da`,dark:`#1f6feb`},"borderColor-accent-muted":{light:`#54aeff66`,dark:`#388bfd66`},"borderColor-attention-emphasis":{light:`#9a6700`,dark:`#9e6a03`},"borderColor-attention-muted":{light:`#d4a72c66`,dark:`#bb800966`},"borderColor-danger-emphasis":{light:`#cf222e`,dark:`#da3633`},"borderColor-danger-muted":{light:`#ff818266`,dark:`#f8514966`},"borderColor-default":{light:`#d1d9e0`,dark:`#3d444d`},"borderColor-disabled":{light:`#818b981a`,dark:`#656c761a`},"borderColor-done-emphasis":{light:`#8250df`,dark:`#8957e5`},"borderColor-done-muted":{light:`#c297ff66`,dark:`#ab7df866`},"borderColor-emphasis":{light:`#818b98`,dark:`#656c76`},"borderColor-neutral-emphasis":{light:`#59636e`,dark:`#656c76`},"borderColor-severe-emphasis":{light:`#bc4c00`,dark:`#bd561d`},"borderColor-severe-muted":{light:`#fb8f4466`,dark:`#db6d2866`},"borderColor-sponsors-emphasis":{light:`#bf3989`,dark:`#bf4b8a`},"borderColor-sponsors-muted":{light:`#ff80c866`,dark:`#db61a266`},"borderColor-success-emphasis":{light:`#1a7f37`,dark:`#238636`},"borderColor-success-muted":{light:`#4ac26b66`,dark:`#2ea04366`},"borderColor-transparent":{light:`#ffffff00`,dark:`#00000000`},"button-danger-bgColor-active":{light:`#a40e26`,dark:`#da3633`},"button-danger-fgColor-disabled":{light:`#d1242f80`,dark:`#f8514980`},"button-danger-fgColor-rest":{light:`#d1242f`,dark:`#fa5e55`},"button-inactive-bgColor":{light:`#e6eaef`,dark:`#262c36`},"button-inactive-fgColor":{light:`#59636e`,dark:`#9198a1`},"button-invisible-bgColor-disabled":{light:`#ffffff00`,dark:`#00000000`},"button-invisible-borderColor-disabled":{light:`#ffffff00`,dark:`#00000000`},"button-primary-bgColor-rest":{light:`#1f883d`,dark:`#238636`},"button-primary-borderColor-disabled":{light:`#95d8a6`,dark:`#105823`},"button-star-iconColor":{light:`#eac54f`,dark:`#e3b341`},"buttonCounter-danger-fgColor-disabled":{light:`#d1242f80`,dark:`#f8514980`},"buttonCounter-outline-fgColor-rest":{light:`#0550ae`,dark:`#388bfd`},"buttonCounter-primary-bgColor-rest":{light:`#002d1133`,dark:`#04260f33`},"buttonKeybindingHint-danger-bgColor-active":{light:`#1f232866`,dark:`#01040966`},"buttonKeybindingHint-danger-bgColor-hover":{light:`#1f232833`,dark:`#01040933`},"buttonKeybindingHint-default-bgColor-rest":{light:`#eff2f5`,dark:`#2a313c`},"buttonKeybindingHint-inactive-bgColor":{light:`#eff2f5`,dark:`#2a313c`},"buttonKeybindingHint-invisible-borderColor-rest":{light:`#ffffff00`,dark:`#00000000`},"codeMirror-syntax-fgColor-constant":{light:`#0550ae`,dark:`#79c0ff`},"codeMirror-syntax-fgColor-entity":{light:`#8250df`,dark:`#d2a8ff`},"codeMirror-syntax-fgColor-keyword":{light:`#cf222e`,dark:`#ff7b72`},"codeMirror-syntax-fgColor-storage":{light:`#cf222e`,dark:`#ff7b72`},"codeMirror-syntax-fgColor-string":{light:`#0a3069`,dark:`#a5d6ff`},"codeMirror-syntax-fgColor-support":{light:`#0550ae`,dark:`#79c0ff`},"codeMirror-syntax-fgColor-variable":{light:`#953800`,dark:`#ffa657`},"contribution-default-bgColor-0":{light:`#eff2f5`,dark:`#151b23`},"contribution-default-bgColor-1":{light:`#aceebb`,dark:`#033a16`},"contribution-default-bgColor-2":{light:`#4ac26b`,dark:`#196c2e`},"contribution-default-bgColor-3":{light:`#2da44e`,dark:`#2ea043`},"contribution-default-bgColor-4":{light:`#116329`,dark:`#56d364`},"contribution-default-borderColor-0":{light:`#1f23280d`,dark:`#0104090d`},"contribution-halloween-bgColor-1":{light:`#f0db3d`,dark:`#fac68f`},"contribution-halloween-bgColor-2":{light:`#ffd642`,dark:`#c46212`},"contribution-halloween-bgColor-3":{light:`#f68c41`,dark:`#984b10`},"contribution-halloween-bgColor-4":{light:`#1f2328`,dark:`#e3d04f`},"contribution-winter-bgColor-1":{light:`#b6e3ff`,dark:`#0c2d6b`},"contribution-winter-bgColor-2":{light:`#54aeff`,dark:`#1158c7`},"contribution-winter-bgColor-3":{light:`#0969da`,dark:`#58a6ff`},"contribution-winter-bgColor-4":{light:`#0a3069`,dark:`#cae8ff`},"control-bgColor-active":{light:`#e6eaef`,dark:`#2a313c`},"control-bgColor-hover":{light:`#eff2f5`,dark:`#262c36`},"control-bgColor-rest":{light:`#f6f8fa`,dark:`#212830`},"control-checked-borderColor-active":{light:`#0757ba`,dark:`#3685f3`},"control-checked-borderColor-hover":{light:`#0860ca`,dark:`#2a7aef`},"control-danger-fgColor-hover":{light:`#d1242f`,dark:`#ff7b72`},"control-danger-fgColor-rest":{light:`#d1242f`,dark:`#f85149`},"control-fgColor-rest":{light:`#25292e`,dark:`#f0f6fc`},"control-transparent-bgColor-active":{light:`#818b9826`,dark:`#656c7640`},"control-transparent-bgColor-hover":{light:`#818b981a`,dark:`#656c7633`},"control-transparent-bgColor-rest":{light:`#ffffff00`,dark:`#00000000`},"control-transparent-bgColor-selected":{light:`#818b9826`,dark:`#656c7633`},"control-transparent-borderColor-active":{light:`#ffffff00`,dark:`#00000000`},"control-transparent-borderColor-hover":{light:`#ffffff00`,dark:`#00000000`},"control-transparent-borderColor-rest":{light:`#ffffff00`,dark:`#00000000`},"controlTrack-bgColor-active":{light:`#dae0e7`,dark:`#2f3742`},"controlTrack-bgColor-hover":{light:`#e0e6eb`,dark:`#2a313c`},"controlTrack-bgColor-rest":{light:`#e6eaef`,dark:`#010409`},"controlTrack-fgColor-rest":{light:`#59636e`,dark:`#9198a1`},"counter-borderColor":{light:`#ffffff00`,dark:`#00000000`},"data-auburn-color-emphasis":{light:`#9d615c`,dark:`#a86f6b`},"data-auburn-color-muted":{light:`#f2e9e9`,dark:`#271817`},"data-blue-color-emphasis":{light:`#006edb`,dark:`#0576ff`},"data-blue-color-muted":{light:`#d1f0ff`,dark:`#001a47`},"data-brown-color-emphasis":{light:`#856d4c`,dark:`#94774c`},"data-brown-color-muted":{light:`#eeeae2`,dark:`#241c14`},"data-coral-color-emphasis":{light:`#d43511`,dark:`#e1430e`},"data-coral-color-muted":{light:`#ffe5db`,dark:`#351008`},"data-gray-color-emphasis":{light:`#808fa3`,dark:`#576270`},"data-gray-color-muted":{light:`#e8ecf2`,dark:`#1c1c1c`},"data-green-color-emphasis":{light:`#30a147`,dark:`#2f6f37`},"data-green-color-muted":{light:`#caf7ca`,dark:`#122117`},"data-lemon-color-emphasis":{light:`#866e04`,dark:`#977b0c`},"data-lemon-color-muted":{light:`#f7eea1`,dark:`#291d00`},"data-lime-color-emphasis":{light:`#527a29`,dark:`#5f892f`},"data-lime-color-muted":{light:`#e3f2b5`,dark:`#141f0f`},"data-olive-color-emphasis":{light:`#64762d`,dark:`#7a8321`},"data-olive-color-muted":{light:`#f0f0ad`,dark:`#171e0b`},"data-orange-color-emphasis":{light:`#eb670f`,dark:`#984b10`},"data-orange-color-muted":{light:`#ffe7d1`,dark:`#311708`},"data-pine-color-emphasis":{light:`#167e53`,dark:`#18915e`},"data-pine-color-muted":{light:`#bff8db`,dark:`#082119`},"data-pink-color-emphasis":{light:`#ce2c85`,dark:`#d34591`},"data-pink-color-muted":{light:`#ffe5f1`,dark:`#2d1524`},"data-plum-color-emphasis":{light:`#a830e8`,dark:`#b643ef`},"data-plum-color-muted":{light:`#f8e5ff`,dark:`#2a0e3f`},"data-purple-color-emphasis":{light:`#894ceb`,dark:`#975bf1`},"data-purple-color-muted":{light:`#f1e5ff`,dark:`#211047`},"data-red-color-emphasis":{light:`#df0c24`,dark:`#eb3342`},"data-red-color-muted":{light:`#ffe2e0`,dark:`#3c0614`},"data-teal-color-emphasis":{light:`#179b9b`,dark:`#106c70`},"data-teal-color-muted":{light:`#c7f5ef`,dark:`#041f25`},"data-yellow-color-emphasis":{light:`#b88700`,dark:`#895906`},"data-yellow-color-muted":{light:`#ffec9e`,dark:`#2e1a00`},"diffBlob-additionNum-bgColor":{light:`#aceebb`,dark:`#3fb9504d`},"diffBlob-additionWord-bgColor":{light:`#aceebb`,dark:`#2ea04366`},"diffBlob-deletionNum-bgColor":{light:`#ffcecb`,dark:`#f851494d`},"diffBlob-deletionWord-bgColor":{light:`#ffcecb`,dark:`#f8514966`},"diffBlob-hunkNum-bgColor-rest":{light:`#b6e3ff`,dark:`#0c2d6b`},"display-auburn-bgColor-emphasis":{light:`#9d615c`,dark:`#87534f`},"display-auburn-bgColor-muted":{light:`#f2e9e9`,dark:`#271817`},"display-auburn-borderColor-emphasis":{light:`#9d615c`,dark:`#a86f6b`},"display-auburn-borderColor-muted":{light:`#e6d6d5`,dark:`#3a2422`},"display-auburn-fgColor":{light:`#8a5551`,dark:`#bf9592`},"display-auburn-scale-0":{light:`#f2e9e9`,dark:`#271817`},"display-auburn-scale-1":{light:`#e6d6d5`,dark:`#3a2422`},"display-auburn-scale-2":{light:`#d4b7b5`,dark:`#543331`},"display-auburn-scale-3":{light:`#c59e9b`,dark:`#6d4340`},"display-auburn-scale-4":{light:`#b4827e`,dark:`#87534f`},"display-auburn-scale-5":{light:`#9d615c`,dark:`#a86f6b`},"display-auburn-scale-6":{light:`#8a5551`,dark:`#bf9592`},"display-auburn-scale-7":{light:`#744744`,dark:`#c6a19f`},"display-auburn-scale-8":{light:`#5d3937`,dark:`#d4b7b5`},"display-auburn-scale-9":{light:`#432928`,dark:`#dfcac8`},"display-blue-bgColor-emphasis":{light:`#006edb`,dark:`#005bd1`},"display-blue-bgColor-muted":{light:`#d1f0ff`,dark:`#001a47`},"display-blue-borderColor-emphasis":{light:`#006edb`,dark:`#0576ff`},"display-blue-borderColor-muted":{light:`#ade1ff`,dark:`#002766`},"display-blue-fgColor":{light:`#005fcc`,dark:`#4da0ff`},"display-blue-scale-0":{light:`#d1f0ff`,dark:`#001a47`},"display-blue-scale-1":{light:`#ade1ff`,dark:`#002766`},"display-blue-scale-2":{light:`#75c8ff`,dark:`#00378a`},"display-blue-scale-3":{light:`#47afff`,dark:`#0046a8`},"display-blue-scale-4":{light:`#0f8fff`,dark:`#005bd1`},"display-blue-scale-5":{light:`#006edb`,dark:`#0576ff`},"display-blue-scale-6":{light:`#005fcc`,dark:`#4da0ff`},"display-blue-scale-7":{light:`#004db3`,dark:`#61adff`},"display-blue-scale-8":{light:`#003d99`,dark:`#85c2ff`},"display-blue-scale-9":{light:`#002b75`,dark:`#a3d3ff`},"display-brown-bgColor-emphasis":{light:`#856d4c`,dark:`#755e3e`},"display-brown-bgColor-muted":{light:`#eeeae2`,dark:`#241c14`},"display-brown-borderColor-emphasis":{light:`#856d4c`,dark:`#94774c`},"display-brown-borderColor-muted":{light:`#dfd7c8`,dark:`#342a1d`},"display-brown-fgColor":{light:`#755f43`,dark:`#b69a6d`},"display-brown-scale-0":{light:`#eeeae2`,dark:`#241c14`},"display-brown-scale-1":{light:`#dfd7c8`,dark:`#342a1d`},"display-brown-scale-2":{light:`#cbbda4`,dark:`#483a28`},"display-brown-scale-3":{light:`#b8a484`,dark:`#5d4a32`},"display-brown-scale-4":{light:`#a68b64`,dark:`#755e3e`},"display-brown-scale-5":{light:`#856d4c`,dark:`#94774c`},"display-brown-scale-6":{light:`#755f43`,dark:`#b69a6d`},"display-brown-scale-7":{light:`#64513a`,dark:`#bfa77d`},"display-brown-scale-8":{light:`#51412f`,dark:`#cdbb98`},"display-brown-scale-9":{light:`#3a2e22`,dark:`#dbceb3`},"display-coral-bgColor-emphasis":{light:`#d43511`,dark:`#c31328`},"display-coral-bgColor-muted":{light:`#ffe5db`,dark:`#3c0614`},"display-coral-borderColor-emphasis":{light:`#d43511`,dark:`#eb3342`},"display-coral-borderColor-muted":{light:`#fecebe`,dark:`#58091a`},"display-coral-fgColor":{light:`#ba2e12`,dark:`#f27d83`},"display-coral-scale-0":{light:`#ffe5db`,dark:`#351008`},"display-coral-scale-1":{light:`#fecebe`,dark:`#51180b`},"display-coral-scale-2":{light:`#fcab92`,dark:`#72220d`},"display-coral-scale-3":{light:`#f88768`,dark:`#902a0e`},"display-coral-scale-4":{light:`#f25f3a`,dark:`#b3350f`},"display-coral-scale-5":{light:`#d43511`,dark:`#e1430e`},"display-coral-scale-6":{light:`#ba2e12`,dark:`#f7794b`},"display-coral-scale-7":{light:`#9b2712`,dark:`#fa8c61`},"display-coral-scale-8":{light:`#7e2011`,dark:`#fdaa86`},"display-coral-scale-9":{light:`#5d180e`,dark:`#ffc0a3`},"display-cyan-bgColor-emphasis":{light:`#007b94`,dark:`#036a8c`},"display-cyan-bgColor-muted":{light:`#bdf4ff`,dark:`#001f29`},"display-cyan-borderColor-emphasis":{light:`#007b94`,dark:`#0587b3`},"display-cyan-borderColor-muted":{light:`#7ae9ff`,dark:`#002e3d`},"display-cyan-fgColor":{light:`#006a80`,dark:`#07ace4`},"display-cyan-scale-0":{light:`#bdf4ff`,dark:`#001f29`},"display-cyan-scale-1":{light:`#7ae9ff`,dark:`#002e3d`},"display-cyan-scale-2":{light:`#00d0fa`,dark:`#014156`},"display-cyan-scale-3":{light:`#00b7db`,dark:`#02536f`},"display-cyan-scale-4":{light:`#0099b8`,dark:`#036a8c`},"display-cyan-scale-5":{light:`#007b94`,dark:`#0587b3`},"display-cyan-scale-6":{light:`#006a80`,dark:`#07ace4`},"display-cyan-scale-7":{light:`#00596b`,dark:`#09b7f1`},"display-cyan-scale-8":{light:`#004857`,dark:`#45cbf7`},"display-cyan-scale-9":{light:`#003742`,dark:`#80dbf9`},"display-gray-bgColor-emphasis":{light:`#647182`,dark:`#576270`},"display-gray-bgColor-muted":{light:`#e8ecf2`,dark:`#1c1c1c`},"display-gray-borderColor-emphasis":{light:`#647182`,dark:`#6e7f96`},"display-gray-borderColor-muted":{light:`#d2dae4`,dark:`#2a2b2d`},"display-gray-fgColor":{light:`#5c6570`,dark:`#92a1b5`},"display-gray-scale-0":{light:`#e8ecf2`,dark:`#1c1c1c`},"display-gray-scale-1":{light:`#d2dae4`,dark:`#2a2b2d`},"display-gray-scale-2":{light:`#b4c0cf`,dark:`#393d41`},"display-gray-scale-3":{light:`#9ba9bb`,dark:`#474e57`},"display-gray-scale-4":{light:`#808fa3`,dark:`#576270`},"display-gray-scale-5":{light:`#647182`,dark:`#6e7f96`},"display-gray-scale-6":{light:`#5c6570`,dark:`#92a1b5`},"display-gray-scale-7":{light:`#4e535a`,dark:`#9babbf`},"display-gray-scale-8":{light:`#424448`,dark:`#b3c0d1`},"display-gray-scale-9":{light:`#303031`,dark:`#c4cfde`},"display-green-bgColor-emphasis":{light:`#2c8141`,dark:`#2f6f37`},"display-green-bgColor-muted":{light:`#caf7ca`,dark:`#122117`},"display-green-borderColor-emphasis":{light:`#2c8141`,dark:`#388f3f`},"display-green-borderColor-muted":{light:`#9ceda0`,dark:`#182f1f`},"display-green-fgColor":{light:`#2b6e3f`,dark:`#41b445`},"display-green-scale-0":{light:`#caf7ca`,dark:`#122117`},"display-green-scale-1":{light:`#9ceda0`,dark:`#182f1f`},"display-green-scale-2":{light:`#54d961`,dark:`#214529`},"display-green-scale-3":{light:`#31bf46`,dark:`#285830`},"display-green-scale-4":{light:`#30a147`,dark:`#2f6f37`},"display-green-scale-5":{light:`#2c8141`,dark:`#388f3f`},"display-green-scale-6":{light:`#2b6e3f`,dark:`#41b445`},"display-green-scale-7":{light:`#285c3b`,dark:`#46c144`},"display-green-scale-8":{light:`#254b34`,dark:`#75d36f`},"display-green-scale-9":{light:`#1d3528`,dark:`#99e090`},"display-indigo-bgColor-emphasis":{light:`#5a61e7`,dark:`#514ed4`},"display-indigo-bgColor-muted":{light:`#e5e9ff`,dark:`#1b183f`},"display-indigo-borderColor-emphasis":{light:`#5a61e7`,dark:`#7070e1`},"display-indigo-borderColor-muted":{light:`#d2d7fe`,dark:`#25215f`},"display-indigo-fgColor":{light:`#494edf`,dark:`#9899ec`},"display-indigo-scale-0":{light:`#e5e9ff`,dark:`#1b183f`},"display-indigo-scale-1":{light:`#d2d7fe`,dark:`#25215f`},"display-indigo-scale-2":{light:`#b1b9fb`,dark:`#312c90`},"display-indigo-scale-3":{light:`#979ff7`,dark:`#3935c0`},"display-indigo-scale-4":{light:`#7a82f0`,dark:`#514ed4`},"display-indigo-scale-5":{light:`#5a61e7`,dark:`#7070e1`},"display-indigo-scale-6":{light:`#494edf`,dark:`#9899ec`},"display-indigo-scale-7":{light:`#393cd5`,dark:`#a2a5f1`},"display-indigo-scale-8":{light:`#2d2db4`,dark:`#b7baf6`},"display-indigo-scale-9":{light:`#25247b`,dark:`#c8cbf9`},"display-lemon-bgColor-emphasis":{light:`#866e04`,dark:`#786008`},"display-lemon-bgColor-muted":{light:`#f7eea1`,dark:`#291d00`},"display-lemon-borderColor-emphasis":{light:`#866e04`,dark:`#977b0c`},"display-lemon-borderColor-muted":{light:`#f0db3d`,dark:`#372901`},"display-lemon-fgColor":{light:`#786002`,dark:`#ba9b12`},"display-lemon-scale-0":{light:`#f7eea1`,dark:`#291d00`},"display-lemon-scale-1":{light:`#f0db3d`,dark:`#372901`},"display-lemon-scale-2":{light:`#d8bd0e`,dark:`#4f3c02`},"display-lemon-scale-3":{light:`#c2a60a`,dark:`#614c05`},"display-lemon-scale-4":{light:`#a68c07`,dark:`#786008`},"display-lemon-scale-5":{light:`#866e04`,dark:`#977b0c`},"display-lemon-scale-6":{light:`#786002`,dark:`#ba9b12`},"display-lemon-scale-7":{light:`#654f01`,dark:`#c4a717`},"display-lemon-scale-8":{light:`#523f00`,dark:`#d7bc1d`},"display-lemon-scale-9":{light:`#3d2e00`,dark:`#e3d04f`},"display-lime-bgColor-emphasis":{light:`#527a29`,dark:`#496c28`},"display-lime-bgColor-muted":{light:`#e3f2b5`,dark:`#141f0f`},"display-lime-borderColor-emphasis":{light:`#527a29`,dark:`#5f892f`},"display-lime-borderColor-muted":{light:`#c7e580`,dark:`#1f3116`},"display-lime-fgColor":{light:`#476c28`,dark:`#7dae37`},"display-lime-scale-0":{light:`#e3f2b5`,dark:`#141f0f`},"display-lime-scale-1":{light:`#c7e580`,dark:`#1f3116`},"display-lime-scale-2":{light:`#9bd039`,dark:`#2c441d`},"display-lime-scale-3":{light:`#80b530`,dark:`#375421`},"display-lime-scale-4":{light:`#6c9d2f`,dark:`#496c28`},"display-lime-scale-5":{light:`#527a29`,dark:`#5f892f`},"display-lime-scale-6":{light:`#476c28`,dark:`#7dae37`},"display-lime-scale-7":{light:`#3a5b25`,dark:`#89ba36`},"display-lime-scale-8":{light:`#2f4a21`,dark:`#9fcc3e`},"display-lime-scale-9":{light:`#213319`,dark:`#bcda67`},"display-olive-bgColor-emphasis":{light:`#64762d`,dark:`#5e681d`},"display-olive-bgColor-muted":{light:`#f0f0ad`,dark:`#171e0b`},"display-olive-borderColor-emphasis":{light:`#64762d`,dark:`#7a8321`},"display-olive-borderColor-muted":{light:`#dbe170`,dark:`#252d10`},"display-olive-fgColor":{light:`#56682c`,dark:`#a2a626`},"display-olive-scale-0":{light:`#f0f0ad`,dark:`#171e0b`},"display-olive-scale-1":{light:`#dbe170`,dark:`#252d10`},"display-olive-scale-2":{light:`#b9c832`,dark:`#374115`},"display-olive-scale-3":{light:`#9bae32`,dark:`#485219`},"display-olive-scale-4":{light:`#819532`,dark:`#5e681d`},"display-olive-scale-5":{light:`#64762d`,dark:`#7a8321`},"display-olive-scale-6":{light:`#56682c`,dark:`#a2a626`},"display-olive-scale-7":{light:`#495a2b`,dark:`#b2af24`},"display-olive-scale-8":{light:`#3b4927`,dark:`#cbc025`},"display-olive-scale-9":{light:`#2a331f`,dark:`#e2d04b`},"display-orange-bgColor-emphasis":{light:`#b8500f`,dark:`#984b10`},"display-orange-bgColor-muted":{light:`#ffe7d1`,dark:`#311708`},"display-orange-borderColor-emphasis":{light:`#b8500f`,dark:`#c46212`},"display-orange-borderColor-muted":{light:`#fecfaa`,dark:`#43200a`},"display-orange-fgColor":{light:`#a24610`,dark:`#ed8326`},"display-orange-scale-0":{light:`#ffe7d1`,dark:`#311708`},"display-orange-scale-1":{light:`#fecfaa`,dark:`#43200a`},"display-orange-scale-2":{light:`#fbaf74`,dark:`#632f0d`},"display-orange-scale-3":{light:`#f68c41`,dark:`#7b3c0e`},"display-orange-scale-4":{light:`#eb670f`,dark:`#984b10`},"display-orange-scale-5":{light:`#b8500f`,dark:`#c46212`},"display-orange-scale-6":{light:`#a24610`,dark:`#ed8326`},"display-orange-scale-7":{light:`#8d3c11`,dark:`#f1933b`},"display-orange-scale-8":{light:`#70300f`,dark:`#f6b06a`},"display-orange-scale-9":{light:`#54230d`,dark:`#fac68f`},"display-pine-bgColor-emphasis":{light:`#167e53`,dark:`#14714c`},"display-pine-bgColor-muted":{light:`#bff8db`,dark:`#082119`},"display-pine-borderColor-emphasis":{light:`#167e53`,dark:`#18915e`},"display-pine-borderColor-muted":{light:`#80efb9`,dark:`#0b3224`},"display-pine-fgColor":{light:`#156f4b`,dark:`#1bb673`},"display-pine-scale-0":{light:`#bff8db`,dark:`#082119`},"display-pine-scale-1":{light:`#80efb9`,dark:`#0b3224`},"display-pine-scale-2":{light:`#1dd781`,dark:`#0e4430`},"display-pine-scale-3":{light:`#1dbf76`,dark:`#115a3e`},"display-pine-scale-4":{light:`#1aa267`,dark:`#14714c`},"display-pine-scale-5":{light:`#167e53`,dark:`#18915e`},"display-pine-scale-6":{light:`#156f4b`,dark:`#1bb673`},"display-pine-scale-7":{light:`#135d41`,dark:`#1ac176`},"display-pine-scale-8":{light:`#114b36`,dark:`#1bda81`},"display-pine-scale-9":{light:`#0d3627`,dark:`#3eea97`},"display-pink-bgColor-emphasis":{light:`#ce2c85`,dark:`#ac2f74`},"display-pink-bgColor-muted":{light:`#ffe5f1`,dark:`#2d1524`},"display-pink-borderColor-emphasis":{light:`#ce2c85`,dark:`#d34591`},"display-pink-borderColor-muted":{light:`#fdc9e2`,dark:`#451c35`},"display-pink-fgColor":{light:`#b12f79`,dark:`#e57bb2`},"display-pink-scale-0":{light:`#ffe5f1`,dark:`#2d1524`},"display-pink-scale-1":{light:`#fdc9e2`,dark:`#451c35`},"display-pink-scale-2":{light:`#f8a5cf`,dark:`#65244a`},"display-pink-scale-3":{light:`#f184bc`,dark:`#842a5d`},"display-pink-scale-4":{light:`#e55da5`,dark:`#ac2f74`},"display-pink-scale-5":{light:`#ce2c85`,dark:`#d34591`},"display-pink-scale-6":{light:`#b12f79`,dark:`#e57bb2`},"display-pink-scale-7":{light:`#8e2e66`,dark:`#ec8dbd`},"display-pink-scale-8":{light:`#6e2b53`,dark:`#f4a9cd`},"display-pink-scale-9":{light:`#4d233d`,dark:`#f9bed9`},"display-plum-bgColor-emphasis":{light:`#a830e8`,dark:`#9518d8`},"display-plum-bgColor-muted":{light:`#f8e5ff`,dark:`#2a0e3f`},"display-plum-borderColor-emphasis":{light:`#a830e8`,dark:`#b643ef`},"display-plum-borderColor-muted":{light:`#f0cdfe`,dark:`#40125e`},"display-plum-fgColor":{light:`#961edc`,dark:`#d07ef7`},"display-plum-scale-0":{light:`#f8e5ff`,dark:`#2a0e3f`},"display-plum-scale-1":{light:`#f0cdfe`,dark:`#40125e`},"display-plum-scale-2":{light:`#e2a7fb`,dark:`#5c1688`},"display-plum-scale-3":{light:`#d487f7`,dark:`#7517ab`},"display-plum-scale-4":{light:`#c264f2`,dark:`#9518d8`},"display-plum-scale-5":{light:`#a830e8`,dark:`#b643ef`},"display-plum-scale-6":{light:`#961edc`,dark:`#d07ef7`},"display-plum-scale-7":{light:`#7d1eb8`,dark:`#d889fa`},"display-plum-scale-8":{light:`#651d96`,dark:`#e4a5fd`},"display-plum-scale-9":{light:`#471769`,dark:`#edbdff`},"display-purple-bgColor-emphasis":{light:`#894ceb`,dark:`#7730e8`},"display-purple-bgColor-muted":{light:`#f1e5ff`,dark:`#211047`},"display-purple-borderColor-emphasis":{light:`#894ceb`,dark:`#975bf1`},"display-purple-borderColor-muted":{light:`#e6d2fe`,dark:`#31146b`},"display-purple-fgColor":{light:`#783ae4`,dark:`#b687f7`},"display-purple-scale-0":{light:`#f1e5ff`,dark:`#211047`},"display-purple-scale-1":{light:`#e6d2fe`,dark:`#31146b`},"display-purple-scale-2":{light:`#d1b1fc`,dark:`#481a9e`},"display-purple-scale-3":{light:`#bc91f8`,dark:`#5b1cca`},"display-purple-scale-4":{light:`#a672f3`,dark:`#7730e8`},"display-purple-scale-5":{light:`#894ceb`,dark:`#975bf1`},"display-purple-scale-6":{light:`#783ae4`,dark:`#b687f7`},"display-purple-scale-7":{light:`#6223d7`,dark:`#c398fb`},"display-purple-scale-8":{light:`#4f21ab`,dark:`#d2affd`},"display-purple-scale-9":{light:`#391b79`,dark:`#e1c7ff`},"display-red-bgColor-emphasis":{light:`#df0c24`,dark:`#c31328`},"display-red-bgColor-muted":{light:`#ffe2e0`,dark:`#3c0614`},"display-red-borderColor-emphasis":{light:`#df0c24`,dark:`#eb3342`},"display-red-borderColor-muted":{light:`#fecdcd`,dark:`#58091a`},"display-red-fgColor":{light:`#c50d28`,dark:`#f27d83`},"display-red-scale-0":{light:`#ffe2e0`,dark:`#3c0614`},"display-red-scale-1":{light:`#fecdcd`,dark:`#58091a`},"display-red-scale-2":{light:`#fda5a7`,dark:`#790c20`},"display-red-scale-3":{light:`#fb8389`,dark:`#990f24`},"display-red-scale-4":{light:`#f85461`,dark:`#c31328`},"display-red-scale-5":{light:`#df0c24`,dark:`#eb3342`},"display-red-scale-6":{light:`#c50d28`,dark:`#f27d83`},"display-red-scale-7":{light:`#a60c29`,dark:`#f48b8d`},"display-red-scale-8":{light:`#880c27`,dark:`#f7adab`},"display-red-scale-9":{light:`#610a20`,dark:`#f9c1be`},"display-teal-bgColor-emphasis":{light:`#127e81`,dark:`#106c70`},"display-teal-bgColor-muted":{light:`#c7f5ef`,dark:`#041f25`},"display-teal-borderColor-emphasis":{light:`#127e81`,dark:`#158a8a`},"display-teal-borderColor-muted":{light:`#89ebe1`,dark:`#073036`},"display-teal-fgColor":{light:`#106e75`,dark:`#1cb0ab`},"display-teal-scale-0":{light:`#c7f5ef`,dark:`#041f25`},"display-teal-scale-1":{light:`#89ebe1`,dark:`#073036`},"display-teal-scale-2":{light:`#22d3c7`,dark:`#0a464d`},"display-teal-scale-3":{light:`#1db9b4`,dark:`#0c555a`},"display-teal-scale-4":{light:`#179b9b`,dark:`#106c70`},"display-teal-scale-5":{light:`#127e81`,dark:`#158a8a`},"display-teal-scale-6":{light:`#106e75`,dark:`#1cb0ab`},"display-teal-scale-7":{light:`#0d5b63`,dark:`#1fbdb2`},"display-teal-scale-8":{light:`#0a4852`,dark:`#24d6c4`},"display-teal-scale-9":{light:`#073740`,dark:`#5fe3d1`},"display-yellow-bgColor-emphasis":{light:`#946a00`,dark:`#895906`},"display-yellow-bgColor-muted":{light:`#ffec9e`,dark:`#2e1a00`},"display-yellow-borderColor-emphasis":{light:`#946a00`,dark:`#aa7109`},"display-yellow-borderColor-muted":{light:`#ffd642`,dark:`#3d2401`},"display-yellow-fgColor":{light:`#805900`,dark:`#d3910d`},"display-yellow-scale-0":{light:`#ffec9e`,dark:`#2e1a00`},"display-yellow-scale-1":{light:`#ffd642`,dark:`#3d2401`},"display-yellow-scale-2":{light:`#ebb400`,dark:`#5a3702`},"display-yellow-scale-3":{light:`#d19d00`,dark:`#6d4403`},"display-yellow-scale-4":{light:`#b88700`,dark:`#895906`},"display-yellow-scale-5":{light:`#946a00`,dark:`#aa7109`},"display-yellow-scale-6":{light:`#805900`,dark:`#d3910d`},"display-yellow-scale-7":{light:`#704d00`,dark:`#df9e11`},"display-yellow-scale-8":{light:`#5c3d00`,dark:`#edb431`},"display-yellow-scale-9":{light:`#422b00`,dark:`#f0ca6a`},"fgColor-accent":{light:`#0969da`,dark:`#4493f8`},"fgColor-attention":{light:`#9a6700`,dark:`#d29922`},"fgColor-closed":{light:`#d1242f`,dark:`#f85149`},"fgColor-disabled":{light:`#818b98`,dark:`#656c76`},"fgColor-done":{light:`#8250df`,dark:`#ab7df8`},"fgColor-muted":{light:`#59636e`,dark:`#9198a1`},"fgColor-neutral":{light:`#59636e`,dark:`#9198a1`},"fgColor-severe":{light:`#bc4c00`,dark:`#db6d28`},"fgColor-sponsors":{light:`#bf3989`,dark:`#db61a2`},"fgColor-success":{light:`#1a7f37`,dark:`#3fb950`},"header-bgColor":{light:`#25292e`,dark:`#151b23f2`},"header-borderColor-divider":{light:`#818b98`,dark:`#656c76`},"headerSearch-bgColor":{light:`#25292e`,dark:`#0d1117`},"headerSearch-borderColor":{light:`#818b98`,dark:`#2a313c`},"highlight-neutral-bgColor":{light:`#fff8c5`,dark:`#d2992266`},"label-auburn-bgColor-active":{light:`#d4b7b5`,dark:`#543331`},"label-auburn-bgColor-hover":{light:`#e6d6d5`,dark:`#3a2422`},"label-auburn-bgColor-rest":{light:`#f2e9e9`,dark:`#271817`},"label-auburn-borderColor":{light:`#ffffff00`,dark:`#00000000`},"label-auburn-fgColor-active":{light:`#5d3937`,dark:`#d4b7b5`},"label-auburn-fgColor-hover":{light:`#744744`,dark:`#c6a19f`},"label-auburn-fgColor-rest":{light:`#8a5551`,dark:`#bf9592`},"label-blue-bgColor-active":{light:`#75c8ff`,dark:`#00378a`},"label-blue-bgColor-hover":{light:`#ade1ff`,dark:`#002766`},"label-blue-bgColor-rest":{light:`#d1f0ff`,dark:`#001a47`},"label-blue-borderColor":{light:`#ffffff00`,dark:`#00000000`},"label-blue-fgColor-active":{light:`#003d99`,dark:`#85c2ff`},"label-blue-fgColor-hover":{light:`#004db3`,dark:`#61adff`},"label-blue-fgColor-rest":{light:`#005fcc`,dark:`#4da0ff`},"label-brown-bgColor-active":{light:`#cbbda4`,dark:`#483a28`},"label-brown-bgColor-hover":{light:`#dfd7c8`,dark:`#342a1d`},"label-brown-bgColor-rest":{light:`#eeeae2`,dark:`#241c14`},"label-brown-borderColor":{light:`#ffffff00`,dark:`#00000000`},"label-brown-fgColor-active":{light:`#51412f`,dark:`#cdbb98`},"label-brown-fgColor-hover":{light:`#64513a`,dark:`#bfa77d`},"label-brown-fgColor-rest":{light:`#755f43`,dark:`#b69a6d`},"label-coral-bgColor-active":{light:`#fcab92`,dark:`#72220d`},"label-coral-bgColor-hover":{light:`#fecebe`,dark:`#51180b`},"label-coral-bgColor-rest":{light:`#ffe5db`,dark:`#351008`},"label-coral-borderColor":{light:`#ffffff00`,dark:`#00000000`},"label-coral-fgColor-active":{light:`#7e2011`,dark:`#fdaa86`},"label-coral-fgColor-hover":{light:`#9b2712`,dark:`#fa8c61`},"label-coral-fgColor-rest":{light:`#ba2e12`,dark:`#f7794b`},"label-cyan-bgColor-active":{light:`#00d0fa`,dark:`#014156`},"label-cyan-bgColor-hover":{light:`#7ae9ff`,dark:`#002e3d`},"label-cyan-bgColor-rest":{light:`#bdf4ff`,dark:`#001f29`},"label-cyan-borderColor":{light:`#ffffff00`,dark:`#00000000`},"label-cyan-fgColor-active":{light:`#004857`,dark:`#45cbf7`},"label-cyan-fgColor-hover":{light:`#00596b`,dark:`#09b7f1`},"label-cyan-fgColor-rest":{light:`#006a80`,dark:`#07ace4`},"label-gray-bgColor-active":{light:`#b4c0cf`,dark:`#393d41`},"label-gray-bgColor-hover":{light:`#d2dae4`,dark:`#2a2b2d`},"label-gray-bgColor-rest":{light:`#e8ecf2`,dark:`#1c1c1c`},"label-gray-borderColor":{light:`#ffffff00`,dark:`#00000000`},"label-gray-fgColor-active":{light:`#424448`,dark:`#b3c0d1`},"label-gray-fgColor-hover":{light:`#4e535a`,dark:`#9babbf`},"label-gray-fgColor-rest":{light:`#5c6570`,dark:`#92a1b5`},"label-green-bgColor-active":{light:`#54d961`,dark:`#214529`},"label-green-bgColor-hover":{light:`#9ceda0`,dark:`#182f1f`},"label-green-bgColor-rest":{light:`#caf7ca`,dark:`#122117`},"label-green-borderColor":{light:`#ffffff00`,dark:`#00000000`},"label-green-fgColor-active":{light:`#254b34`,dark:`#75d36f`},"label-green-fgColor-hover":{light:`#285c3b`,dark:`#46c144`},"label-green-fgColor-rest":{light:`#2b6e3f`,dark:`#41b445`},"label-indigo-bgColor-active":{light:`#b1b9fb`,dark:`#312c90`},"label-indigo-bgColor-hover":{light:`#d2d7fe`,dark:`#25215f`},"label-indigo-bgColor-rest":{light:`#e5e9ff`,dark:`#1b183f`},"label-indigo-borderColor":{light:`#ffffff00`,dark:`#00000000`},"label-indigo-fgColor-active":{light:`#2d2db4`,dark:`#b7baf6`},"label-indigo-fgColor-hover":{light:`#393cd5`,dark:`#a2a5f1`},"label-indigo-fgColor-rest":{light:`#494edf`,dark:`#9899ec`},"label-lemon-bgColor-active":{light:`#d8bd0e`,dark:`#4f3c02`},"label-lemon-bgColor-hover":{light:`#f0db3d`,dark:`#372901`},"label-lemon-bgColor-rest":{light:`#f7eea1`,dark:`#291d00`},"label-lemon-borderColor":{light:`#ffffff00`,dark:`#00000000`},"label-lemon-fgColor-active":{light:`#523f00`,dark:`#d7bc1d`},"label-lemon-fgColor-hover":{light:`#654f01`,dark:`#c4a717`},"label-lemon-fgColor-rest":{light:`#786002`,dark:`#ba9b12`},"label-lime-bgColor-active":{light:`#9bd039`,dark:`#2c441d`},"label-lime-bgColor-hover":{light:`#c7e580`,dark:`#1f3116`},"label-lime-bgColor-rest":{light:`#e3f2b5`,dark:`#141f0f`},"label-lime-borderColor":{light:`#ffffff00`,dark:`#00000000`},"label-lime-fgColor-active":{light:`#2f4a21`,dark:`#9fcc3e`},"label-lime-fgColor-hover":{light:`#3a5b25`,dark:`#89ba36`},"label-lime-fgColor-rest":{light:`#476c28`,dark:`#7dae37`},"label-olive-bgColor-active":{light:`#b9c832`,dark:`#374115`},"label-olive-bgColor-hover":{light:`#dbe170`,dark:`#252d10`},"label-olive-bgColor-rest":{light:`#f0f0ad`,dark:`#171e0b`},"label-olive-borderColor":{light:`#ffffff00`,dark:`#00000000`},"label-olive-fgColor-active":{light:`#3b4927`,dark:`#cbc025`},"label-olive-fgColor-hover":{light:`#495a2b`,dark:`#b2af24`},"label-olive-fgColor-rest":{light:`#56682c`,dark:`#a2a626`},"label-orange-bgColor-active":{light:`#fbaf74`,dark:`#632f0d`},"label-orange-bgColor-hover":{light:`#fecfaa`,dark:`#43200a`},"label-orange-bgColor-rest":{light:`#ffe7d1`,dark:`#311708`},"label-orange-borderColor":{light:`#ffffff00`,dark:`#00000000`},"label-orange-fgColor-active":{light:`#70300f`,dark:`#f6b06a`},"label-orange-fgColor-hover":{light:`#8d3c11`,dark:`#f1933b`},"label-orange-fgColor-rest":{light:`#a24610`,dark:`#ed8326`},"label-pine-bgColor-active":{light:`#1dd781`,dark:`#0e4430`},"label-pine-bgColor-hover":{light:`#80efb9`,dark:`#0b3224`},"label-pine-bgColor-rest":{light:`#bff8db`,dark:`#082119`},"label-pine-borderColor":{light:`#ffffff00`,dark:`#00000000`},"label-pine-fgColor-active":{light:`#114b36`,dark:`#1bda81`},"label-pine-fgColor-hover":{light:`#135d41`,dark:`#1ac176`},"label-pine-fgColor-rest":{light:`#156f4b`,dark:`#1bb673`},"label-pink-bgColor-active":{light:`#f8a5cf`,dark:`#65244a`},"label-pink-bgColor-hover":{light:`#fdc9e2`,dark:`#451c35`},"label-pink-bgColor-rest":{light:`#ffe5f1`,dark:`#2d1524`},"label-pink-borderColor":{light:`#ffffff00`,dark:`#00000000`},"label-pink-fgColor-active":{light:`#6e2b53`,dark:`#f4a9cd`},"label-pink-fgColor-hover":{light:`#8e2e66`,dark:`#ec8dbd`},"label-pink-fgColor-rest":{light:`#b12f79`,dark:`#e57bb2`},"label-plum-bgColor-active":{light:`#e2a7fb`,dark:`#5c1688`},"label-plum-bgColor-hover":{light:`#f0cdfe`,dark:`#40125e`},"label-plum-bgColor-rest":{light:`#f8e5ff`,dark:`#2a0e3f`},"label-plum-borderColor":{light:`#ffffff00`,dark:`#00000000`},"label-plum-fgColor-active":{light:`#651d96`,dark:`#e4a5fd`},"label-plum-fgColor-hover":{light:`#7d1eb8`,dark:`#d889fa`},"label-plum-fgColor-rest":{light:`#961edc`,dark:`#d07ef7`},"label-purple-bgColor-active":{light:`#d1b1fc`,dark:`#481a9e`},"label-purple-bgColor-hover":{light:`#e6d2fe`,dark:`#31146b`},"label-purple-bgColor-rest":{light:`#f1e5ff`,dark:`#211047`},"label-purple-borderColor":{light:`#ffffff00`,dark:`#00000000`},"label-purple-fgColor-active":{light:`#4f21ab`,dark:`#d2affd`},"label-purple-fgColor-hover":{light:`#6223d7`,dark:`#c398fb`},"label-purple-fgColor-rest":{light:`#783ae4`,dark:`#b687f7`},"label-red-bgColor-active":{light:`#fda5a7`,dark:`#790c20`},"label-red-bgColor-hover":{light:`#fecdcd`,dark:`#58091a`},"label-red-bgColor-rest":{light:`#ffe2e0`,dark:`#3c0614`},"label-red-borderColor":{light:`#ffffff00`,dark:`#00000000`},"label-red-fgColor-active":{light:`#880c27`,dark:`#f7adab`},"label-red-fgColor-hover":{light:`#a60c29`,dark:`#f48b8d`},"label-red-fgColor-rest":{light:`#c50d28`,dark:`#f27d83`},"label-teal-bgColor-active":{light:`#22d3c7`,dark:`#0a464d`},"label-teal-bgColor-hover":{light:`#89ebe1`,dark:`#073036`},"label-teal-bgColor-rest":{light:`#c7f5ef`,dark:`#041f25`},"label-teal-borderColor":{light:`#ffffff00`,dark:`#00000000`},"label-teal-fgColor-active":{light:`#0a4852`,dark:`#24d6c4`},"label-teal-fgColor-hover":{light:`#0d5b63`,dark:`#1fbdb2`},"label-teal-fgColor-rest":{light:`#106e75`,dark:`#1cb0ab`},"label-yellow-bgColor-active":{light:`#ebb400`,dark:`#5a3702`},"label-yellow-bgColor-hover":{light:`#ffd642`,dark:`#3d2401`},"label-yellow-bgColor-rest":{light:`#ffec9e`,dark:`#2e1a00`},"label-yellow-borderColor":{light:`#ffffff00`,dark:`#00000000`},"label-yellow-fgColor-active":{light:`#5c3d00`,dark:`#edb431`},"label-yellow-fgColor-hover":{light:`#704d00`,dark:`#df9e11`},"label-yellow-fgColor-rest":{light:`#805900`,dark:`#d3910d`},"menu-bgColor-active":{light:`#ffffff00`,dark:`#151b23`},"overlay-backdrop-bgColor":{light:`#c8d1da66`,dark:`#21283066`},"prettylights-syntax-bracketHighlighterAngle":{light:`#59636e`,dark:`#9198a1`},"prettylights-syntax-bracketHighlighterUnmatched":{light:`#82071e`,dark:`#f85149`},"prettylights-syntax-carriageReturn-bg":{light:`#cf222e`,dark:`#b62324`},"prettylights-syntax-carriageReturn-text":{light:`#f6f8fa`,dark:`#f0f6fc`},"prettylights-syntax-comment":{light:`#59636e`,dark:`#9198a1`},"prettylights-syntax-constant":{light:`#0550ae`,dark:`#79c0ff`},"prettylights-syntax-constantOtherReferenceLink":{light:`#0a3069`,dark:`#a5d6ff`},"prettylights-syntax-entity":{light:`#6639ba`,dark:`#d2a8ff`},"prettylights-syntax-entityTag":{light:`#0550ae`,dark:`#7ee787`},"prettylights-syntax-invalidIllegal-text":{light:`#d1242f`,dark:`#f85149`},"prettylights-syntax-keyword":{light:`#cf222e`,dark:`#ff7b72`},"prettylights-syntax-markup-changed-bg":{light:`#ffd8b5`,dark:`#5a1e02`},"prettylights-syntax-markup-changed-text":{light:`#953800`,dark:`#ffdfb6`},"prettylights-syntax-markup-deleted-bg":{light:`#ffebe9`,dark:`#67060c`},"prettylights-syntax-markup-deleted-text":{light:`#82071e`,dark:`#ffdcd7`},"prettylights-syntax-markup-heading":{light:`#0550ae`,dark:`#1f6feb`},"prettylights-syntax-markup-ignored-bg":{light:`#0550ae`,dark:`#1158c7`},"prettylights-syntax-markup-ignored-text":{light:`#d1d9e0`,dark:`#f0f6fc`},"prettylights-syntax-markup-inserted-bg":{light:`#dafbe1`,dark:`#033a16`},"prettylights-syntax-markup-inserted-text":{light:`#116329`,dark:`#aff5b4`},"prettylights-syntax-markup-list":{light:`#3b2300`,dark:`#f2cc60`},"prettylights-syntax-metaDiffRange":{light:`#8250df`,dark:`#d2a8ff`},"prettylights-syntax-string":{light:`#0a3069`,dark:`#a5d6ff`},"prettylights-syntax-stringRegexp":{light:`#116329`,dark:`#7ee787`},"prettylights-syntax-sublimeLinterGutterMark":{light:`#818b98`,dark:`#3d444d`},"prettylights-syntax-variable":{light:`#953800`,dark:`#ffa657`},"progressBar-bgColor-success":{light:`#1f883d`,dark:`#238636`},"progressBar-track-borderColor":{light:`#ffffff00`,dark:`#00000000`},"reactionButton-selected-bgColor-rest":{light:`#ddf4ff`,dark:`#388bfd33`},"reactionButton-selected-fgColor-hover":{light:`#0550ae`,dark:`#79c0ff`},"selectMenu-bgColor-active":{light:`#b6e3ff`,dark:`#0c2d6b`},"selectMenu-borderColor":{light:`#ffffff00`,dark:`#3d444d`},"skeletonLoader-bgColor":{light:`#818b981a`,dark:`#656c7633`},"topicTag-borderColor":{light:`#ffffff00`,dark:`#00000000`},"treeViewItem-leadingVisual-iconColor-rest":{light:`#54aeff`,dark:`#9198a1`},"underlineNav-borderColor-active":{light:`#fd8c73`,dark:`#f78166`},"ansi-black":{light:`#1f2328`,dark:`#2f3742`},"avatar-bgColor":{light:`#ffffff`,dark:`#ffffff1a`},"bgColor-black":{light:`#1f2328`,dark:`#010409`},"bgColor-closed-emphasis":{light:`#cf222e`,dark:`#da3633`},"bgColor-closed-muted":{light:`#ffebe9`,dark:`#f851491a`},"bgColor-default":{light:`#ffffff`,dark:`#0d1117`},"bgColor-draft-emphasis":{light:`#59636e`,dark:`#656c76`},"bgColor-draft-muted":{light:`#818b981f`,dark:`#656c7633`},"bgColor-inset":{light:`#f6f8fa`,dark:`#010409`},"bgColor-open-muted":{light:`#dafbe1`,dark:`#2ea04326`},"bgColor-upsell-emphasis":{light:`#8250df`,dark:`#8957e5`},"bgColor-upsell-muted":{light:`#fbefff`,dark:`#ab7df826`},"bgColor-white":{light:`#ffffff`,dark:`#ffffff`},"borderColor-closed-emphasis":{light:`#cf222e`,dark:`#da3633`},"borderColor-closed-muted":{light:`#ff818266`,dark:`#f8514966`},"borderColor-draft-emphasis":{light:`#59636e`,dark:`#656c76`},"borderColor-muted":{light:`#d1d9e0b3`,dark:`#3d444db3`},"borderColor-open-emphasis":{light:`#1a7f37`,dark:`#238636`},"borderColor-open-muted":{light:`#4ac26b66`,dark:`#2ea04366`},"borderColor-translucent":{light:`#1f232826`,dark:`#ffffff26`},"borderColor-upsell-emphasis":{light:`#8250df`,dark:`#8957e5`},"borderColor-upsell-muted":{light:`#c297ff66`,dark:`#ab7df866`},"button-danger-bgColor-hover":{light:`#cf222e`,dark:`#b62324`},"button-danger-bgColor-rest":{light:`#f6f8fa`,dark:`#212830`},"button-danger-fgColor-active":{light:`#ffffff`,dark:`#ffffff`},"button-danger-fgColor-hover":{light:`#ffffff`,dark:`#ffffff`},"button-danger-iconColor-disabled":{light:`#d1242f80`,dark:`#f8514980`},"button-danger-iconColor-hover":{light:`#ffffff`,dark:`#ffffff`},"button-danger-iconColor-rest":{light:`#d1242f`,dark:`#fa5e55`},"button-default-bgColor-active":{light:`#e6eaef`,dark:`#2a313c`},"button-default-bgColor-hover":{light:`#eff2f5`,dark:`#262c36`},"button-default-bgColor-rest":{light:`#f6f8fa`,dark:`#212830`},"button-default-bgColor-selected":{light:`#e6eaef`,dark:`#2a313c`},"button-default-fgColor-rest":{light:`#25292e`,dark:`#f0f6fc`},"button-invisible-bgColor-active":{light:`#818b9826`,dark:`#656c7640`},"button-invisible-bgColor-hover":{light:`#818b981a`,dark:`#656c7633`},"button-invisible-bgColor-rest":{light:`#ffffff00`,dark:`#00000000`},"button-invisible-borderColor-hover":{light:`#ffffff00`,dark:`#00000000`},"button-invisible-borderColor-rest":{light:`#ffffff00`,dark:`#00000000`},"button-invisible-fgColor-active":{light:`#25292e`,dark:`#f0f6fc`},"button-invisible-fgColor-hover":{light:`#25292e`,dark:`#f0f6fc`},"button-invisible-fgColor-rest":{light:`#25292e`,dark:`#f0f6fc`},"button-invisible-iconColor-hover":{light:`#59636e`,dark:`#9198a1`},"button-invisible-iconColor-rest":{light:`#59636e`,dark:`#9198a1`},"button-outline-bgColor-hover":{light:`#0969da`,dark:`#262c36`},"button-outline-bgColor-rest":{light:`#f6f8fa`,dark:`#f0f6fc`},"button-outline-fgColor-active":{light:`#ffffff`,dark:`#ffffff`},"button-outline-fgColor-disabled":{light:`#0969da80`,dark:`#4493f880`},"button-outline-fgColor-hover":{light:`#ffffff`,dark:`#58a6ff`},"button-outline-fgColor-rest":{light:`#0969da`,dark:`#388bfd`},"button-primary-fgColor-disabled":{light:`#ffffffcc`,dark:`#ffffff66`},"buttonCounter-danger-bgColor-disabled":{light:`#cf222e0d`,dark:`#da36330d`},"buttonCounter-danger-bgColor-hover":{light:`#ffffff33`,dark:`#ffffff33`},"buttonCounter-danger-bgColor-rest":{light:`#cf222e1a`,dark:`#49020233`},"buttonCounter-danger-fgColor-hover":{light:`#ffffff`,dark:`#ffffff`},"buttonCounter-default-bgColor-rest":{light:`#818b981f`,dark:`#2f3742`},"buttonCounter-invisible-bgColor-rest":{light:`#818b981f`,dark:`#656c7633`},"buttonCounter-outline-bgColor-disabled":{light:`#0969da0d`,dark:`#1f6feb0d`},"buttonCounter-outline-bgColor-hover":{light:`#ffffff33`,dark:`#051d4d33`},"buttonCounter-outline-bgColor-rest":{light:`#0969da1a`,dark:`#051d4d33`},"buttonCounter-outline-fgColor-disabled":{light:`#0969da80`,dark:`#4493f880`},"buttonCounter-outline-fgColor-hover":{light:`#ffffff`,dark:`#58a6ff`},"buttonKeybindingHint-danger-bgColor-rest":{light:`#eff2f5`,dark:`#2a313c`},"buttonKeybindingHint-default-bgColor-disabled":{light:`#eff2f5`,dark:`#2a313c`},"buttonKeybindingHint-default-fgColor-rest":{light:`#59636e`,dark:`#9198a1`},"buttonKeybindingHint-inactive-fgColor":{light:`#59636e`,dark:`#9198a1`},"buttonKeybindingHint-invisible-bgColor-active":{light:`#818b9826`,dark:`#656c7640`},"buttonKeybindingHint-invisible-bgColor-disabled":{light:`#ffffff00`,dark:`#00000000`},"buttonKeybindingHint-invisible-bgColor-hover":{light:`#818b981a`,dark:`#656c7633`},"buttonKeybindingHint-invisible-bgColor-rest":{light:`#eff2f5`,dark:`#2a313c`},"buttonKeybindingHint-invisible-fgColor-rest":{light:`#59636e`,dark:`#9198a1`},"buttonKeybindingHint-primary-bgColor-disabled":{light:`#002d111a`,dark:`#04260f1a`},"buttonKeybindingHint-primary-bgColor-rest":{light:`#002d1133`,dark:`#04260f33`},"codeMirror-activeline-bgColor":{light:`#818b981f`,dark:`#656c7633`},"codeMirror-gutterMarker-fgColor-muted":{light:`#59636e`,dark:`#9198a1`},"codeMirror-lineNumber-fgColor":{light:`#59636e`,dark:`#9198a1`},"codeMirror-selection-bgColor":{light:`#54aeff66`,dark:`#388bfd66`},"codeMirror-syntax-fgColor-comment":{light:`#1f2328`,dark:`#656c76`},"contribution-default-borderColor-1":{light:`#1f23280d`,dark:`#0104090d`},"contribution-default-borderColor-2":{light:`#1f23280d`,dark:`#0104090d`},"contribution-default-borderColor-3":{light:`#1f23280d`,dark:`#0104090d`},"contribution-default-borderColor-4":{light:`#1f23280d`,dark:`#0104090d`},"control-bgColor-disabled":{light:`#eff2f5`,dark:`#212830`},"control-bgColor-selected":{light:`#f6f8fa`,dark:`#212830`},"control-borderColor-danger":{light:`#cf222e`,dark:`#da3633`},"control-borderColor-disabled":{light:`#818b981a`,dark:`#656c761a`},"control-borderColor-emphasis":{light:`#818b98`,dark:`#656c76`},"control-borderColor-rest":{light:`#d1d9e0`,dark:`#3d444d`},"control-borderColor-success":{light:`#1a7f37`,dark:`#238636`},"control-borderColor-warning":{light:`#9a6700`,dark:`#9e6a03`},"control-checked-bgColor-disabled":{light:`#818b98`,dark:`#656c76`},"control-checked-bgColor-rest":{light:`#0969da`,dark:`#1f6feb`},"control-danger-bgColor-active":{light:`#ffebe966`,dark:`#f8514966`},"control-danger-bgColor-hover":{light:`#ffebe9`,dark:`#f851491a`},"control-fgColor-disabled":{light:`#818b98`,dark:`#656c76`},"control-fgColor-placeholder":{light:`#59636e`,dark:`#9198a1`},"control-iconColor-rest":{light:`#59636e`,dark:`#9198a1`},"control-transparent-bgColor-disabled":{light:`#eff2f5`,dark:`#212830`},"controlKnob-bgColor-checked":{light:`#ffffff`,dark:`#ffffff`},"controlKnob-bgColor-rest":{light:`#ffffff`,dark:`#262c36`},"controlTrack-bgColor-disabled":{light:`#818b98`,dark:`#656c76`},"controlTrack-borderColor-disabled":{light:`#818b98`,dark:`#656c76`},"controlTrack-borderColor-rest":{light:`#d1d9e0`,dark:`#3d444d`},"counter-bgColor-emphasis":{light:`#59636e`,dark:`#656c76`},"counter-bgColor-muted":{light:`#818b981f`,dark:`#656c7633`},"diffBlob-additionLine-bgColor":{light:`#dafbe1`,dark:`#2ea04326`},"diffBlob-deletionLine-bgColor":{light:`#ffebe9`,dark:`#f851491a`},"diffBlob-emptyLine-bgColor":{light:`#f6f8fa`,dark:`#151b23`},"diffBlob-emptyNum-bgColor":{light:`#f6f8fa`,dark:`#151b23`},"diffBlob-expander-iconColor":{light:`#59636e`,dark:`#9198a1`},"diffBlob-hunkLine-bgColor":{light:`#ddf4ff`,dark:`#388bfd1a`},"diffBlob-hunkLine-fgColor":{light:`#59636e`,dark:`#9198a1`},"diffBlob-hunkNum-bgColor-hover":{light:`#0969da`,dark:`#1f6feb`},"fgColor-black":{light:`#1f2328`,dark:`#010409`},"fgColor-default":{light:`#1f2328`,dark:`#f0f6fc`},"fgColor-draft":{light:`#59636e`,dark:`#9198a1`},"fgColor-link":{light:`#0969da`,dark:`#4493f8`},"fgColor-onEmphasis":{light:`#ffffff`,dark:`#ffffff`},"fgColor-onInverse":{light:`#ffffff`,dark:`#010409`},"fgColor-open":{light:`#1a7f37`,dark:`#3fb950`},"fgColor-upsell":{light:`#8250df`,dark:`#ab7df8`},"fgColor-white":{light:`#ffffff`,dark:`#ffffff`},"focus-outline-color":{light:`#0969da`,dark:`#1f6feb`},"header-fgColor-default":{light:`#ffffffb3`,dark:`#ffffffb3`},"header-fgColor-logo":{light:`#ffffff`,dark:`#f0f6fc`},"overlay-bgColor":{light:`#ffffff`,dark:`#010409`},"page-header-bgColor":{light:`#f6f8fa`,dark:`#0d1117`},"prettylights-syntax-invalidIllegal-bg":{light:`#ffebe9`,dark:`#f851491a`},"prettylights-syntax-markup-bold":{light:`#1f2328`,dark:`#f0f6fc`},"prettylights-syntax-markup-italic":{light:`#1f2328`,dark:`#f0f6fc`},"prettylights-syntax-storageModifierImport":{light:`#1f2328`,dark:`#f0f6fc`},"progressBar-bgColor-accent":{light:`#0969da`,dark:`#1f6feb`},"progressBar-bgColor-attention":{light:`#9a6700`,dark:`#9e6a03`},"progressBar-bgColor-danger":{light:`#cf222e`,dark:`#da3633`},"progressBar-bgColor-done":{light:`#8250df`,dark:`#8957e5`},"progressBar-bgColor-neutral":{light:`#59636e`,dark:`#656c76`},"progressBar-bgColor-severe":{light:`#bc4c00`,dark:`#bd561d`},"progressBar-bgColor-sponsors":{light:`#bf3989`,dark:`#bf4b8a`},"progressBar-track-bgColor":{light:`#d1d9e0`,dark:`#3d444d`},"selection-bgColor":{light:`#0969da33`,dark:`#1f6febb3`},"sideNav-bgColor-selected":{light:`#ffffff`,dark:`#212830`},"timelineBadge-bgColor":{light:`#f6f8fa`,dark:`#212830`},"tooltip-bgColor":{light:`#25292e`,dark:`#3d444d`},"underlineNav-iconColor-rest":{light:`#59636e`,dark:`#9198a1`},"avatar-borderColor":{light:`#1f232826`,dark:`#ffffff26`},"borderColor-neutral-muted":{light:`#d1d9e0b3`,dark:`#3d444db3`},"button-danger-bgColor-disabled":{light:`#eff2f5`,dark:`#212830`},"button-danger-borderColor-rest":{light:`#d1d9e0`,dark:`#3d444d`},"button-default-bgColor-disabled":{light:`#eff2f5`,dark:`#212830`},"button-default-borderColor-active":{light:`#d1d9e0`,dark:`#3d444d`},"button-default-borderColor-disabled":{light:`#818b981a`,dark:`#656c761a`},"button-default-borderColor-rest":{light:`#d1d9e0`,dark:`#3d444d`},"button-default-fgColor-disabled":{light:`#818b98`,dark:`#656c76`},"button-invisible-fgColor-disabled":{light:`#818b98`,dark:`#656c76`},"button-invisible-iconColor-disabled":{light:`#818b98`,dark:`#656c76`},"button-outline-bgColor-disabled":{light:`#eff2f5`,dark:`#212830`},"button-primary-borderColor-rest":{light:`#1f232826`,dark:`#ffffff26`},"button-primary-fgColor-rest":{light:`#ffffff`,dark:`#ffffff`},"button-primary-iconColor-disabled":{light:`#ffffffcc`,dark:`#ffffff66`},"button-primary-iconColor-rest":{light:`#ffffffcc`,dark:`#ffffff`},"buttonKeybindingHint-danger-bgColor-disabled":{light:`#eff2f5`,dark:`#2a313c`},"buttonKeybindingHint-danger-borderColor-hover":{light:`#1f232826`,dark:`#0104091a`},"buttonKeybindingHint-danger-fgColor-active":{light:`#ffffff`,dark:`#ffffff`},"buttonKeybindingHint-danger-fgColor-hover":{light:`#ffffff`,dark:`#ffffff`},"buttonKeybindingHint-danger-fgColor-rest":{light:`#59636e`,dark:`#9198a1`},"buttonKeybindingHint-default-borderColor-disabled":{light:`#818b981a`,dark:`#656c761a`},"buttonKeybindingHint-default-borderColor-rest":{light:`#d1d9e0b3`,dark:`#3d444db3`},"buttonKeybindingHint-default-fgColor-disabled":{light:`#818b98`,dark:`#656c76`},"buttonKeybindingHint-inactive-borderColor":{light:`#d1d9e0b3`,dark:`#3d444db3`},"buttonKeybindingHint-invisible-borderColor-disabled":{light:`#818b981a`,dark:`#656c761a`},"buttonKeybindingHint-invisible-fgColor-disabled":{light:`#818b98`,dark:`#656c76`},"buttonKeybindingHint-primary-borderColor-disabled":{light:`#818b981a`,dark:`#656c761a`},"buttonKeybindingHint-primary-borderColor-rest":{light:`#1f232826`,dark:`#04260f1a`},"buttonKeybindingHint-primary-fgColor-disabled":{light:`#ffffffcc`,dark:`#ffffff66`},"buttonKeybindingHint-primary-fgColor-rest":{light:`#ffffff`,dark:`#ffffff`},"card-bgColor":{light:`#ffffff`,dark:`#151b23`},"codeMirror-bgColor":{light:`#ffffff`,dark:`#0d1117`},"codeMirror-cursor-fgColor":{light:`#1f2328`,dark:`#f0f6fc`},"codeMirror-fgColor":{light:`#1f2328`,dark:`#f0f6fc`},"codeMirror-gutterMarker-fgColor-default":{light:`#ffffff`,dark:`#0d1117`},"codeMirror-gutters-bgColor":{light:`#ffffff`,dark:`#0d1117`},"codeMirror-lines-bgColor":{light:`#ffffff`,dark:`#0d1117`},"codeMirror-matchingBracket-fgColor":{light:`#1f2328`,dark:`#f0f6fc`},"control-borderColor-selected":{light:`#f6f8fa`,dark:`#f0f6fc`},"control-checked-borderColor-disabled":{light:`#818b98`,dark:`#656c76`},"control-checked-borderColor-rest":{light:`#0969da`,dark:`#1f6feb`},"control-checked-fgColor-disabled":{light:`#ffffff`,dark:`#010409`},"control-checked-fgColor-rest":{light:`#ffffff`,dark:`#ffffff`},"controlKnob-bgColor-disabled":{light:`#eff2f5`,dark:`#212830`},"controlKnob-borderColor-checked":{light:`#0969da`,dark:`#1f6feb`},"controlKnob-borderColor-disabled":{light:`#eff2f5`,dark:`#212830`},"controlKnob-borderColor-rest":{light:`#d1d9e0`,dark:`#3d444d`},"controlTrack-fgColor-disabled":{light:`#ffffff`,dark:`#ffffff`},"dashboard-bgColor":{light:`#ffffff`,dark:`#010409`},"diffBlob-additionLine-fgColor":{light:`#1f2328`,dark:`#f0f6fc`},"diffBlob-additionNum-fgColor":{light:`#1f2328`,dark:`#f0f6fc`},"diffBlob-additionWord-fgColor":{light:`#1f2328`,dark:`#f0f6fc`},"diffBlob-deletionLine-fgColor":{light:`#1f2328`,dark:`#f0f6fc`},"diffBlob-deletionNum-fgColor":{light:`#1f2328`,dark:`#f0f6fc`},"diffBlob-deletionWord-fgColor":{light:`#1f2328`,dark:`#f0f6fc`},"diffBlob-hunkNum-fgColor-hover":{light:`#ffffff`,dark:`#ffffff`},"diffBlob-hunkNum-fgColor-rest":{light:`#1f2328`,dark:`#f0f6fc`},"overlay-borderColor":{light:`#d1d9e080`,dark:`#3d444db3`},"reactionButton-selected-fgColor-rest":{light:`#0969da`,dark:`#4493f8`},"tooltip-fgColor":{light:`#ffffff`,dark:`#ffffff`},"underlineNav-borderColor-hover":{light:`#d1d9e0b3`,dark:`#3d444db3`},"borderColor-draft-muted":{light:`#d1d9e0b3`,dark:`#3d444db3`},"button-danger-borderColor-hover":{light:`#1f232826`,dark:`#ffffff26`},"button-default-borderColor-hover":{light:`#d1d9e0`,dark:`#3d444d`},"button-primary-borderColor-active":{light:`#1f232826`,dark:`#ffffff26`},"button-primary-borderColor-hover":{light:`#1f232826`,dark:`#ffffff26`},"buttonKeybindingHint-danger-borderColor-active":{light:`#1f232826`,dark:`#0104091a`},"buttonKeybindingHint-danger-borderColor-disabled":{light:`#818b981a`,dark:`#656c761a`},"buttonKeybindingHint-danger-borderColor-rest":{light:`#d1d9e0b3`,dark:`#3d444db3`},"buttonKeybindingHint-danger-fgColor-disabled":{light:`#818b98`,dark:`#656c76`},"button-danger-borderColor-active":{light:`#1f232826`,dark:`#ffffff26`},"button-outline-borderColor-hover":{light:`#1f232826`,dark:`#3d444d`},"button-outline-borderColor-active":{light:`#1f232826`,dark:`#3d444d`}},text:{"text-display":{fontFamily:`"Mona Sans VF", -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans Backtick Fix", "Noto Sans", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"`,fontSize:40,lineHeight:55,fontWeight:500},"text-title-large":{fontFamily:`"Mona Sans VF", -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans Backtick Fix", "Noto Sans", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"`,fontSize:32,lineHeight:48,fontWeight:600},"text-title-medium":{fontFamily:`"Mona Sans VF", -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans Backtick Fix", "Noto Sans", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"`,fontSize:20,lineHeight:32.5,fontWeight:600},"text-title-small":{fontFamily:`"Mona Sans VF", -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans Backtick Fix", "Noto Sans", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"`,fontSize:16,lineHeight:24,fontWeight:600},"text-subtitle":{fontFamily:`"Mona Sans VF", -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans Backtick Fix", "Noto Sans", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"`,fontSize:20,lineHeight:32.5,fontWeight:400},"text-body-large":{fontFamily:`"Mona Sans VF", -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans Backtick Fix", "Noto Sans", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"`,fontSize:16,lineHeight:24,fontWeight:400},"text-body-medium":{fontFamily:`"Mona Sans VF", -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans Backtick Fix", "Noto Sans", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"`,fontSize:14,lineHeight:21,fontWeight:400},"text-body-small":{fontFamily:`"Mona Sans VF", -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans Backtick Fix", "Noto Sans", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"`,fontSize:12,lineHeight:19.5,fontWeight:400},"text-caption":{fontFamily:`"Mona Sans VF", -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans Backtick Fix", "Noto Sans", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"`,fontSize:12,lineHeight:15,fontWeight:400},"text-codeBlock":{fontFamily:`ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace`,fontSize:13,lineHeight:19.5,fontWeight:400}},space:{"base-size-112":112,"base-size-12":12,"base-size-128":128,"base-size-16":16,"base-size-2":2,"base-size-20":20,"base-size-24":24,"base-size-28":28,"base-size-32":32,"base-size-36":36,"base-size-4":4,"base-size-40":40,"base-size-44":44,"base-size-48":48,"base-size-6":6,"base-size-64":64,"base-size-8":8,"base-size-80":80,"base-size-96":96},radius:{"borderRadius-full":9999,"borderRadius-large":12,"borderRadius-medium":6,"borderRadius-small":3,"borderRadius-default":6},defaults:{background:`bgColor-default`,text:`fgColor-default`,textStyle:`text-body-medium`},kit:`primer`,sources:[`@primer/primitives@11.10.0/dist/css/functional/themes/light.css`,`@primer/primitives@11.10.0/dist/css/functional/themes/dark.css`,`@primer/primitives@11.10.0/dist/css/functional/typography/typography.css`,`@primer/primitives@11.10.0/dist/css/base/typography/typography.css`,`@primer/primitives@11.10.0/dist/css/base/size/size.css`,`@primer/primitives@11.10.0/dist/css/functional/size/radius.css`]},antd:{id:`antd`,name:`Ant Design`,by:`Ant Group`,version:`5.29.3`,license:`MIT`,url:`https://ant.design`,prefix:`antd`,cssPrefix:`--ant-`,cssKebab:!0,fonts:{display:`-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji'`,body:`-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji'`,mono:`'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace`},colors:{blue:{light:`#1677ff`,dark:`#1677ff`},purple:{light:`#722ed1`,dark:`#722ed1`},cyan:{light:`#13c2c2`,dark:`#13c2c2`},green:{light:`#52c41a`,dark:`#52c41a`},magenta:{light:`#eb2f96`,dark:`#eb2f96`},pink:{light:`#eb2f96`,dark:`#eb2f96`},red:{light:`#f5222d`,dark:`#f5222d`},orange:{light:`#fa8c16`,dark:`#fa8c16`},yellow:{light:`#fadb14`,dark:`#fadb14`},volcano:{light:`#fa541c`,dark:`#fa541c`},geekblue:{light:`#2f54eb`,dark:`#2f54eb`},gold:{light:`#faad14`,dark:`#faad14`},lime:{light:`#a0d911`,dark:`#a0d911`},colorPrimary:{light:`#1677ff`,dark:`#1668dc`},colorSuccess:{light:`#52c41a`,dark:`#49aa19`},colorWarning:{light:`#faad14`,dark:`#d89614`},colorError:{light:`#ff4d4f`,dark:`#dc4446`},colorInfo:{light:`#1677ff`,dark:`#1668dc`},colorLink:{light:`#1677ff`,dark:`#1668dc`},colorTextBase:{light:`#000000`,dark:`#ffffff`},colorBgBase:{light:`#ffffff`,dark:`#000000`},"blue-1":{light:`#e6f4ff`,dark:`#111a2c`},blue1:{light:`#e6f4ff`,dark:`#111a2c`},"blue-2":{light:`#bae0ff`,dark:`#112545`},blue2:{light:`#bae0ff`,dark:`#112545`},"blue-3":{light:`#91caff`,dark:`#15325b`},blue3:{light:`#91caff`,dark:`#15325b`},"blue-4":{light:`#69b1ff`,dark:`#15417e`},blue4:{light:`#69b1ff`,dark:`#15417e`},"blue-5":{light:`#4096ff`,dark:`#1554ad`},blue5:{light:`#4096ff`,dark:`#1554ad`},"blue-6":{light:`#1677ff`,dark:`#1668dc`},blue6:{light:`#1677ff`,dark:`#1668dc`},"blue-7":{light:`#0958d9`,dark:`#3c89e8`},blue7:{light:`#0958d9`,dark:`#3c89e8`},"blue-8":{light:`#003eb3`,dark:`#65a9f3`},blue8:{light:`#003eb3`,dark:`#65a9f3`},"blue-9":{light:`#002c8c`,dark:`#8dc5f8`},blue9:{light:`#002c8c`,dark:`#8dc5f8`},"blue-10":{light:`#001d66`,dark:`#b7dcfa`},blue10:{light:`#001d66`,dark:`#b7dcfa`},"purple-1":{light:`#f9f0ff`,dark:`#1a1325`},purple1:{light:`#f9f0ff`,dark:`#1a1325`},"purple-2":{light:`#efdbff`,dark:`#24163a`},purple2:{light:`#efdbff`,dark:`#24163a`},"purple-3":{light:`#d3adf7`,dark:`#301c4d`},purple3:{light:`#d3adf7`,dark:`#301c4d`},"purple-4":{light:`#b37feb`,dark:`#3e2069`},purple4:{light:`#b37feb`,dark:`#3e2069`},"purple-5":{light:`#9254de`,dark:`#51258f`},purple5:{light:`#9254de`,dark:`#51258f`},"purple-6":{light:`#722ed1`,dark:`#642ab5`},purple6:{light:`#722ed1`,dark:`#642ab5`},"purple-7":{light:`#531dab`,dark:`#854eca`},purple7:{light:`#531dab`,dark:`#854eca`},"purple-8":{light:`#391085`,dark:`#ab7ae0`},purple8:{light:`#391085`,dark:`#ab7ae0`},"purple-9":{light:`#22075e`,dark:`#cda8f0`},purple9:{light:`#22075e`,dark:`#cda8f0`},"purple-10":{light:`#120338`,dark:`#ebd7fa`},purple10:{light:`#120338`,dark:`#ebd7fa`},"cyan-1":{light:`#e6fffb`,dark:`#112123`},cyan1:{light:`#e6fffb`,dark:`#112123`},"cyan-2":{light:`#b5f5ec`,dark:`#113536`},cyan2:{light:`#b5f5ec`,dark:`#113536`},"cyan-3":{light:`#87e8de`,dark:`#144848`},cyan3:{light:`#87e8de`,dark:`#144848`},"cyan-4":{light:`#5cdbd3`,dark:`#146262`},cyan4:{light:`#5cdbd3`,dark:`#146262`},"cyan-5":{light:`#36cfc9`,dark:`#138585`},cyan5:{light:`#36cfc9`,dark:`#138585`},"cyan-6":{light:`#13c2c2`,dark:`#13a8a8`},cyan6:{light:`#13c2c2`,dark:`#13a8a8`},"cyan-7":{light:`#08979c`,dark:`#33bcb7`},cyan7:{light:`#08979c`,dark:`#33bcb7`},"cyan-8":{light:`#006d75`,dark:`#58d1c9`},cyan8:{light:`#006d75`,dark:`#58d1c9`},"cyan-9":{light:`#00474f`,dark:`#84e2d8`},cyan9:{light:`#00474f`,dark:`#84e2d8`},"cyan-10":{light:`#002329`,dark:`#b2f1e8`},cyan10:{light:`#002329`,dark:`#b2f1e8`},"green-1":{light:`#f6ffed`,dark:`#162312`},green1:{light:`#f6ffed`,dark:`#162312`},"green-2":{light:`#d9f7be`,dark:`#1d3712`},green2:{light:`#d9f7be`,dark:`#1d3712`},"green-3":{light:`#b7eb8f`,dark:`#274916`},green3:{light:`#b7eb8f`,dark:`#274916`},"green-4":{light:`#95de64`,dark:`#306317`},green4:{light:`#95de64`,dark:`#306317`},"green-5":{light:`#73d13d`,dark:`#3c8618`},green5:{light:`#73d13d`,dark:`#3c8618`},"green-6":{light:`#52c41a`,dark:`#49aa19`},green6:{light:`#52c41a`,dark:`#49aa19`},"green-7":{light:`#389e0d`,dark:`#6abe39`},green7:{light:`#389e0d`,dark:`#6abe39`},"green-8":{light:`#237804`,dark:`#8fd460`},green8:{light:`#237804`,dark:`#8fd460`},"green-9":{light:`#135200`,dark:`#b2e58b`},green9:{light:`#135200`,dark:`#b2e58b`},"green-10":{light:`#092b00`,dark:`#d5f2bb`},green10:{light:`#092b00`,dark:`#d5f2bb`},"magenta-1":{light:`#fff0f6`,dark:`#291321`},magenta1:{light:`#fff0f6`,dark:`#291321`},"magenta-2":{light:`#ffd6e7`,dark:`#40162f`},magenta2:{light:`#ffd6e7`,dark:`#40162f`},"magenta-3":{light:`#ffadd2`,dark:`#551c3b`},magenta3:{light:`#ffadd2`,dark:`#551c3b`},"magenta-4":{light:`#ff85c0`,dark:`#75204f`},magenta4:{light:`#ff85c0`,dark:`#75204f`},"magenta-5":{light:`#f759ab`,dark:`#a02669`},magenta5:{light:`#f759ab`,dark:`#a02669`},"magenta-6":{light:`#eb2f96`,dark:`#cb2b83`},magenta6:{light:`#eb2f96`,dark:`#cb2b83`},"magenta-7":{light:`#c41d7f`,dark:`#e0529c`},magenta7:{light:`#c41d7f`,dark:`#e0529c`},"magenta-8":{light:`#9e1068`,dark:`#f37fb7`},magenta8:{light:`#9e1068`,dark:`#f37fb7`},"magenta-9":{light:`#780650`,dark:`#f8a8cc`},magenta9:{light:`#780650`,dark:`#f8a8cc`},"magenta-10":{light:`#520339`,dark:`#fad2e3`},magenta10:{light:`#520339`,dark:`#fad2e3`},"pink-1":{light:`#fff0f6`,dark:`#291321`},pink1:{light:`#fff0f6`,dark:`#291321`},"pink-2":{light:`#ffd6e7`,dark:`#40162f`},pink2:{light:`#ffd6e7`,dark:`#40162f`},"pink-3":{light:`#ffadd2`,dark:`#551c3b`},pink3:{light:`#ffadd2`,dark:`#551c3b`},"pink-4":{light:`#ff85c0`,dark:`#75204f`},pink4:{light:`#ff85c0`,dark:`#75204f`},"pink-5":{light:`#f759ab`,dark:`#a02669`},pink5:{light:`#f759ab`,dark:`#a02669`},"pink-6":{light:`#eb2f96`,dark:`#cb2b83`},pink6:{light:`#eb2f96`,dark:`#cb2b83`},"pink-7":{light:`#c41d7f`,dark:`#e0529c`},pink7:{light:`#c41d7f`,dark:`#e0529c`},"pink-8":{light:`#9e1068`,dark:`#f37fb7`},pink8:{light:`#9e1068`,dark:`#f37fb7`},"pink-9":{light:`#780650`,dark:`#f8a8cc`},pink9:{light:`#780650`,dark:`#f8a8cc`},"pink-10":{light:`#520339`,dark:`#fad2e3`},pink10:{light:`#520339`,dark:`#fad2e3`},"red-1":{light:`#fff1f0`,dark:`#2a1215`},red1:{light:`#fff1f0`,dark:`#2a1215`},"red-2":{light:`#ffccc7`,dark:`#431418`},red2:{light:`#ffccc7`,dark:`#431418`},"red-3":{light:`#ffa39e`,dark:`#58181c`},red3:{light:`#ffa39e`,dark:`#58181c`},"red-4":{light:`#ff7875`,dark:`#791a1f`},red4:{light:`#ff7875`,dark:`#791a1f`},"red-5":{light:`#ff4d4f`,dark:`#a61d24`},red5:{light:`#ff4d4f`,dark:`#a61d24`},"red-6":{light:`#f5222d`,dark:`#d32029`},red6:{light:`#f5222d`,dark:`#d32029`},"red-7":{light:`#cf1322`,dark:`#e84749`},red7:{light:`#cf1322`,dark:`#e84749`},"red-8":{light:`#a8071a`,dark:`#f37370`},red8:{light:`#a8071a`,dark:`#f37370`},"red-9":{light:`#820014`,dark:`#f89f9a`},red9:{light:`#820014`,dark:`#f89f9a`},"red-10":{light:`#5c0011`,dark:`#fac8c3`},red10:{light:`#5c0011`,dark:`#fac8c3`},"orange-1":{light:`#fff7e6`,dark:`#2b1d11`},orange1:{light:`#fff7e6`,dark:`#2b1d11`},"orange-2":{light:`#ffe7ba`,dark:`#442a11`},orange2:{light:`#ffe7ba`,dark:`#442a11`},"orange-3":{light:`#ffd591`,dark:`#593815`},orange3:{light:`#ffd591`,dark:`#593815`},"orange-4":{light:`#ffc069`,dark:`#7c4a15`},orange4:{light:`#ffc069`,dark:`#7c4a15`},"orange-5":{light:`#ffa940`,dark:`#aa6215`},orange5:{light:`#ffa940`,dark:`#aa6215`},"orange-6":{light:`#fa8c16`,dark:`#d87a16`},orange6:{light:`#fa8c16`,dark:`#d87a16`},"orange-7":{light:`#d46b08`,dark:`#e89a3c`},orange7:{light:`#d46b08`,dark:`#e89a3c`},"orange-8":{light:`#ad4e00`,dark:`#f3b765`},orange8:{light:`#ad4e00`,dark:`#f3b765`},"orange-9":{light:`#873800`,dark:`#f8cf8d`},orange9:{light:`#873800`,dark:`#f8cf8d`},"orange-10":{light:`#612500`,dark:`#fae3b7`},orange10:{light:`#612500`,dark:`#fae3b7`},"yellow-1":{light:`#feffe6`,dark:`#2b2611`},yellow1:{light:`#feffe6`,dark:`#2b2611`},"yellow-2":{light:`#ffffb8`,dark:`#443b11`},yellow2:{light:`#ffffb8`,dark:`#443b11`},"yellow-3":{light:`#fffb8f`,dark:`#595014`},yellow3:{light:`#fffb8f`,dark:`#595014`},"yellow-4":{light:`#fff566`,dark:`#7c6e14`},yellow4:{light:`#fff566`,dark:`#7c6e14`},"yellow-5":{light:`#ffec3d`,dark:`#aa9514`},yellow5:{light:`#ffec3d`,dark:`#aa9514`},"yellow-6":{light:`#fadb14`,dark:`#d8bd14`},yellow6:{light:`#fadb14`,dark:`#d8bd14`},"yellow-7":{light:`#d4b106`,dark:`#e8d639`},yellow7:{light:`#d4b106`,dark:`#e8d639`},"yellow-8":{light:`#ad8b00`,dark:`#f3ea62`},yellow8:{light:`#ad8b00`,dark:`#f3ea62`},"yellow-9":{light:`#876800`,dark:`#f8f48b`},yellow9:{light:`#876800`,dark:`#f8f48b`},"yellow-10":{light:`#614700`,dark:`#fafab5`},yellow10:{light:`#614700`,dark:`#fafab5`},"volcano-1":{light:`#fff2e8`,dark:`#2b1611`},volcano1:{light:`#fff2e8`,dark:`#2b1611`},"volcano-2":{light:`#ffd8bf`,dark:`#441d12`},volcano2:{light:`#ffd8bf`,dark:`#441d12`},"volcano-3":{light:`#ffbb96`,dark:`#592716`},volcano3:{light:`#ffbb96`,dark:`#592716`},"volcano-4":{light:`#ff9c6e`,dark:`#7c3118`},volcano4:{light:`#ff9c6e`,dark:`#7c3118`},"volcano-5":{light:`#ff7a45`,dark:`#aa3e19`},volcano5:{light:`#ff7a45`,dark:`#aa3e19`},"volcano-6":{light:`#fa541c`,dark:`#d84a1b`},volcano6:{light:`#fa541c`,dark:`#d84a1b`},"volcano-7":{light:`#d4380d`,dark:`#e87040`},volcano7:{light:`#d4380d`,dark:`#e87040`},"volcano-8":{light:`#ad2102`,dark:`#f3956a`},volcano8:{light:`#ad2102`,dark:`#f3956a`},"volcano-9":{light:`#871400`,dark:`#f8b692`},volcano9:{light:`#871400`,dark:`#f8b692`},"volcano-10":{light:`#610b00`,dark:`#fad4bc`},volcano10:{light:`#610b00`,dark:`#fad4bc`},"geekblue-1":{light:`#f0f5ff`,dark:`#131629`},geekblue1:{light:`#f0f5ff`,dark:`#131629`},"geekblue-2":{light:`#d6e4ff`,dark:`#161d40`},geekblue2:{light:`#d6e4ff`,dark:`#161d40`},"geekblue-3":{light:`#adc6ff`,dark:`#1c2755`},geekblue3:{light:`#adc6ff`,dark:`#1c2755`},"geekblue-4":{light:`#85a5ff`,dark:`#203175`},geekblue4:{light:`#85a5ff`,dark:`#203175`},"geekblue-5":{light:`#597ef7`,dark:`#263ea0`},geekblue5:{light:`#597ef7`,dark:`#263ea0`},"geekblue-6":{light:`#2f54eb`,dark:`#2b4acb`},geekblue6:{light:`#2f54eb`,dark:`#2b4acb`},"geekblue-7":{light:`#1d39c4`,dark:`#5273e0`},geekblue7:{light:`#1d39c4`,dark:`#5273e0`},"geekblue-8":{light:`#10239e`,dark:`#7f9ef3`},geekblue8:{light:`#10239e`,dark:`#7f9ef3`},"geekblue-9":{light:`#061178`,dark:`#a8c1f8`},geekblue9:{light:`#061178`,dark:`#a8c1f8`},"geekblue-10":{light:`#030852`,dark:`#d2e0fa`},geekblue10:{light:`#030852`,dark:`#d2e0fa`},"gold-1":{light:`#fffbe6`,dark:`#2b2111`},gold1:{light:`#fffbe6`,dark:`#2b2111`},"gold-2":{light:`#fff1b8`,dark:`#443111`},gold2:{light:`#fff1b8`,dark:`#443111`},"gold-3":{light:`#ffe58f`,dark:`#594214`},gold3:{light:`#ffe58f`,dark:`#594214`},"gold-4":{light:`#ffd666`,dark:`#7c5914`},gold4:{light:`#ffd666`,dark:`#7c5914`},"gold-5":{light:`#ffc53d`,dark:`#aa7714`},gold5:{light:`#ffc53d`,dark:`#aa7714`},"gold-6":{light:`#faad14`,dark:`#d89614`},gold6:{light:`#faad14`,dark:`#d89614`},"gold-7":{light:`#d48806`,dark:`#e8b339`},gold7:{light:`#d48806`,dark:`#e8b339`},"gold-8":{light:`#ad6800`,dark:`#f3cc62`},gold8:{light:`#ad6800`,dark:`#f3cc62`},"gold-9":{light:`#874d00`,dark:`#f8df8b`},gold9:{light:`#874d00`,dark:`#f8df8b`},"gold-10":{light:`#613400`,dark:`#faedb5`},gold10:{light:`#613400`,dark:`#faedb5`},"lime-1":{light:`#fcffe6`,dark:`#1f2611`},lime1:{light:`#fcffe6`,dark:`#1f2611`},"lime-2":{light:`#f4ffb8`,dark:`#2e3c10`},lime2:{light:`#f4ffb8`,dark:`#2e3c10`},"lime-3":{light:`#eaff8f`,dark:`#3e4f13`},lime3:{light:`#eaff8f`,dark:`#3e4f13`},"lime-4":{light:`#d3f261`,dark:`#536d13`},lime4:{light:`#d3f261`,dark:`#536d13`},"lime-5":{light:`#bae637`,dark:`#6f9412`},lime5:{light:`#bae637`,dark:`#6f9412`},"lime-6":{light:`#a0d911`,dark:`#8bbb11`},lime6:{light:`#a0d911`,dark:`#8bbb11`},"lime-7":{light:`#7cb305`,dark:`#a9d134`},lime7:{light:`#7cb305`,dark:`#a9d134`},"lime-8":{light:`#5b8c00`,dark:`#c9e75d`},lime8:{light:`#5b8c00`,dark:`#c9e75d`},"lime-9":{light:`#3f6600`,dark:`#e4f88b`},lime9:{light:`#3f6600`,dark:`#e4f88b`},"lime-10":{light:`#254000`,dark:`#f0fab5`},lime10:{light:`#254000`,dark:`#f0fab5`},colorText:{light:`#000000e0`,dark:`#ffffffd9`},colorTextSecondary:{light:`#000000a6`,dark:`#ffffffa6`},colorTextTertiary:{light:`#00000073`,dark:`#ffffff73`},colorTextQuaternary:{light:`#00000040`,dark:`#ffffff40`},colorFill:{light:`#00000026`,dark:`#ffffff2e`},colorFillSecondary:{light:`#0000000f`,dark:`#ffffff1f`},colorFillTertiary:{light:`#0000000a`,dark:`#ffffff14`},colorFillQuaternary:{light:`#00000005`,dark:`#ffffff0a`},colorBgSolid:{light:`#000000`,dark:`#fffffff2`},colorBgSolidHover:{light:`#000000bf`,dark:`#ffffff`},colorBgSolidActive:{light:`#000000f2`,dark:`#ffffffe6`},colorBgLayout:{light:`#f5f5f5`,dark:`#000000`},colorBgContainer:{light:`#ffffff`,dark:`#141414`},colorBgElevated:{light:`#ffffff`,dark:`#1f1f1f`},colorBgSpotlight:{light:`#000000d9`,dark:`#424242`},colorBorder:{light:`#d9d9d9`,dark:`#424242`},colorBorderSecondary:{light:`#f0f0f0`,dark:`#303030`},colorPrimaryBg:{light:`#e6f4ff`,dark:`#15325b`},colorPrimaryBgHover:{light:`#bae0ff`,dark:`#15417e`},colorPrimaryBorder:{light:`#91caff`,dark:`#15325b`},colorPrimaryBorderHover:{light:`#69b1ff`,dark:`#15417e`},colorPrimaryHover:{light:`#4096ff`,dark:`#3c89e8`},colorPrimaryActive:{light:`#0958d9`,dark:`#1554ad`},colorPrimaryTextHover:{light:`#4096ff`,dark:`#3c89e8`},colorPrimaryText:{light:`#1677ff`,dark:`#1668dc`},colorPrimaryTextActive:{light:`#0958d9`,dark:`#1554ad`},colorSuccessBg:{light:`#f6ffed`,dark:`#162312`},colorSuccessBgHover:{light:`#d9f7be`,dark:`#1d3712`},colorSuccessBorder:{light:`#b7eb8f`,dark:`#274916`},colorSuccessBorderHover:{light:`#95de64`,dark:`#306317`},colorSuccessHover:{light:`#95de64`,dark:`#306317`},colorSuccessActive:{light:`#389e0d`,dark:`#3c8618`},colorSuccessTextHover:{light:`#73d13d`,dark:`#6abe39`},colorSuccessText:{light:`#52c41a`,dark:`#49aa19`},colorSuccessTextActive:{light:`#389e0d`,dark:`#3c8618`},colorErrorBg:{light:`#fff2f0`,dark:`#2c1618`},colorErrorBgHover:{light:`#fff1f0`,dark:`#451d1f`},colorErrorBgFilledHover:{light:`#ffdfdc`,dark:`#441e1f`},colorErrorBgActive:{light:`#ffccc7`,dark:`#5b2526`},colorErrorBorder:{light:`#ffccc7`,dark:`#5b2526`},colorErrorBorderHover:{light:`#ffa39e`,dark:`#7e2e2f`},colorErrorHover:{light:`#ff7875`,dark:`#e86e6b`},colorErrorActive:{light:`#d9363e`,dark:`#ad393a`},colorErrorTextHover:{light:`#ff7875`,dark:`#e86e6b`},colorErrorText:{light:`#ff4d4f`,dark:`#dc4446`},colorErrorTextActive:{light:`#d9363e`,dark:`#ad393a`},colorWarningBg:{light:`#fffbe6`,dark:`#2b2111`},colorWarningBgHover:{light:`#fff1b8`,dark:`#443111`},colorWarningBorder:{light:`#ffe58f`,dark:`#594214`},colorWarningBorderHover:{light:`#ffd666`,dark:`#7c5914`},colorWarningHover:{light:`#ffd666`,dark:`#7c5914`},colorWarningActive:{light:`#d48806`,dark:`#aa7714`},colorWarningTextHover:{light:`#ffc53d`,dark:`#e8b339`},colorWarningText:{light:`#faad14`,dark:`#d89614`},colorWarningTextActive:{light:`#d48806`,dark:`#aa7714`},colorInfoBg:{light:`#e6f4ff`,dark:`#111a2c`},colorInfoBgHover:{light:`#bae0ff`,dark:`#112545`},colorInfoBorder:{light:`#91caff`,dark:`#15325b`},colorInfoBorderHover:{light:`#69b1ff`,dark:`#15417e`},colorInfoHover:{light:`#69b1ff`,dark:`#15417e`},colorInfoActive:{light:`#0958d9`,dark:`#1554ad`},colorInfoTextHover:{light:`#4096ff`,dark:`#3c89e8`},colorInfoText:{light:`#1677ff`,dark:`#1668dc`},colorInfoTextActive:{light:`#0958d9`,dark:`#1554ad`},colorLinkHover:{light:`#69b1ff`,dark:`#15417e`},colorLinkActive:{light:`#0958d9`,dark:`#1554ad`},colorBgMask:{light:`#00000073`,dark:`#00000073`},colorWhite:{light:`#ffffff`,dark:`#ffffff`},colorFillContent:{light:`#0000000f`,dark:`#ffffff1f`},colorFillContentHover:{light:`#00000026`,dark:`#ffffff2e`},colorFillAlter:{light:`#00000005`,dark:`#ffffff0a`},colorBgContainerDisabled:{light:`#0000000a`,dark:`#ffffff14`},colorBorderBg:{light:`#ffffff`,dark:`#141414`},colorSplit:{light:`#0505050f`,dark:`#fdfdfd1f`},colorTextPlaceholder:{light:`#00000040`,dark:`#ffffff40`},colorTextDisabled:{light:`#00000040`,dark:`#ffffff40`},colorTextHeading:{light:`#000000e0`,dark:`#ffffffd9`},colorTextLabel:{light:`#000000a6`,dark:`#ffffffa6`},colorTextDescription:{light:`#00000073`,dark:`#ffffff73`},colorTextLightSolid:{light:`#ffffff`,dark:`#ffffff`},colorHighlight:{light:`#ff4d4f`,dark:`#dc4446`},colorBgTextHover:{light:`#0000000f`,dark:`#ffffff1f`},colorBgTextActive:{light:`#00000026`,dark:`#ffffff2e`},colorIcon:{light:`#00000073`,dark:`#ffffff73`},colorIconHover:{light:`#000000e0`,dark:`#ffffffd9`},colorErrorOutline:{light:`#ff26050f`,dark:`#ee26381c`},colorWarningOutline:{light:`#ffd7051a`,dark:`#ad6b0026`},controlItemBgHover:{light:`#0000000a`,dark:`#ffffff14`},controlItemBgActive:{light:`#e6f4ff`,dark:`#15325b`},controlItemBgActiveHover:{light:`#bae0ff`,dark:`#15417e`},controlItemBgActiveDisabled:{light:`#00000026`,dark:`#ffffff2e`},controlTmpOutline:{light:`#00000005`,dark:`#ffffff0a`},controlOutline:{light:`#0591ff1a`,dark:`#1775f94f`}},text:{base:{fontFamily:`-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji'`,fontSize:14,lineHeight:22,fontWeight:400},sm:{fontFamily:`-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji'`,fontSize:12,lineHeight:20,fontWeight:400},lg:{fontFamily:`-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji'`,fontSize:16,lineHeight:24,fontWeight:400},xl:{fontFamily:`-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji'`,fontSize:20,lineHeight:31.4286,fontWeight:400},heading1:{fontFamily:`-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji'`,fontSize:38,lineHeight:46,fontWeight:600},heading2:{fontFamily:`-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji'`,fontSize:30,lineHeight:38,fontWeight:600},heading3:{fontFamily:`-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji'`,fontSize:24,lineHeight:32,fontWeight:600},heading4:{fontFamily:`-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji'`,fontSize:20,lineHeight:28,fontWeight:600},heading5:{fontFamily:`-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji'`,fontSize:16,lineHeight:24,fontWeight:600}},space:{sizeXXS:4,sizeXS:8,sizeSM:12,size:16,sizeMD:20,sizeLG:24,sizeXL:32,sizeXXL:48},radius:{borderRadiusXS:2,borderRadiusSM:4,borderRadius:6,borderRadiusLG:8,borderRadiusOuter:4},defaults:{background:`colorBgContainer`,text:`colorText`,textStyle:`base`},kit:`antd`,sources:[`antd@5.29.3 theme.getDesignToken (default, darkAlgorithm)`]}},fe=e=>JSON.parse(JSON.stringify(e)),pe=e=>!e||Object.values(e).every(e=>!e||typeof e==`object`&&!Object.keys(e).length);function me(e){return fe({slots:e.slots,...e.published?{published:e.published}:{},...e.tokens?{tokens:e.tokens}:{},...pe(e.overrides)?{}:{overrides:e.overrides}})}function he(e){let t={published:e.published??null};for(let[n,r]of Object.entries(e.slots??{}))t[`slots.${n}`]=r;if(e.tokens){for(let n of[`colors`,`text`,`radius`])for(let[r,i]of Object.entries(e.tokens[n]??{}))t[`tokens.${n}.${r}`]=i;t[`tokens.space`]=e.tokens.space,e.tokens.css&&(t[`tokens.css`]=e.tokens.css),e.tokens.defaults&&(t[`tokens.defaults`]=e.tokens.defaults)}for(let n of[`colors`,`text`,`radius`,`space`])for(let[r,i]of Object.entries(e.overrides?.[n]??{}))t[`overrides.${n}.${r}`]=i;return t}function ge(e){let t={},n={colors:{},text:{},radius:{},space:[]},r={},i=!1;for(let[a,o]of Object.entries(e)){if(o===void 0)continue;let[e,s,...c]=a.split(`.`),l=c.join(`.`);e===`slots`?t[s]=o:e===`tokens`?(i=!0,s===`space`||s===`css`||s===`defaults`?n[s]=o:(n[s]??={})[l]=o):e===`overrides`&&((r[s]??={})[l]=o)}let a=typeof e.published==`string`?e.published:void 0;return{slots:t,...a?{published:a}:{},...i?{tokens:n}:{},...Object.keys(r).length?{overrides:r}:{}}}var P=(e,t)=>JSON.stringify(e??null)===JSON.stringify(t??null);function _e(e){if(!e.saved)return[];let t=he(me(e)),n=he(e.saved.base);return[...new Set([...Object.keys(t),...Object.keys(n)])].filter(e=>!P(t[e],n[e]))}function ve(e,t){let n=fe(t);e.slots=n.slots,n.published?e.published=n.published:delete e.published,n.tokens?e.tokens=n.tokens:delete e.tokens,n.overrides&&!pe(n.overrides)?e.overrides=n.overrides:delete e.overrides}function ye(e,t){if(!e.saved)return fe(t);let n=he(me(e)),r=he(e.saved.base),i=he(t),a={};for(let e of new Set([...Object.keys(n),...Object.keys(r),...Object.keys(i)]))a[e]=P(n[e],r[e])?i[e]:n[e];return ge(a)}var be=[`light`,`dark`],xe=[{name:`background`,usage:`Page background.`},{name:`foreground`,usage:`Body text and headings on background.`},{name:`card`,usage:`Cards, panels and inputs: one step off the background.`},{name:`muted`,usage:`Quiet fills: chips, table stripes, disabled fields.`},{name:`muted-foreground`,usage:`Secondary text: captions, labels, hints. 4.5:1 on background.`},{name:`border`,usage:`Hairlines and dividers.`},{name:`input`,usage:`Input outlines.`},{name:`primary`,usage:`The accent: main actions, links, focus, brand moments.`},{name:`primary-foreground`,usage:`Text and icons on primary. 4.5:1.`},{name:`primary-subtle`,usage:`A light wash of primary: tonal buttons, selected items, containers that carry the accent quietly.`},{name:`primary-subtle-foreground`,usage:`Text and icons on primary-subtle. 4.5:1.`},{name:`ring`,usage:`Focus ring.`},{name:`destructive`,usage:`Errors and destructive actions only.`},{name:`success`,usage:`Success states only.`},{name:`warning`,usage:`Warnings only.`},{name:`info`,usage:`Neutral information and in-progress states (not the brand accent).`},{name:`destructive-subtle`,usage:`Background of error tags, alerts and banners.`},{name:`destructive-subtle-foreground`,usage:`Text and icons on destructive-subtle.`},{name:`success-subtle`,usage:`Background of success tags, alerts and banners.`},{name:`success-subtle-foreground`,usage:`Text and icons on success-subtle.`},{name:`warning-subtle`,usage:`Background of warning tags, alerts and banners.`},{name:`warning-subtle-foreground`,usage:`Text and icons on warning-subtle.`},{name:`info-subtle`,usage:`Background of info tags, alerts and banners.`},{name:`info-subtle-foreground`,usage:`Text and icons on info-subtle.`}],Se=[{name:`display`,usage:`Hero headline and big numbers. The one place a characterful font goes.`},{name:`heading-l`,usage:`Page and section titles.`},{name:`heading-m`,usage:`Sub-section titles.`},{name:`heading-s`,usage:`Card and group titles.`},{name:`body-l`,usage:`Marketing body copy.`},{name:`body-m`,usage:`Product UI text, dense information.`},{name:`label`,usage:`Buttons, chips, tabs, form labels.`},{name:`caption`,usage:`Meta, timestamps, footnotes.`}],F=[0,4,8,12,16,24,32,48,64,96,128,192],Ce={sharp:[0,0,0,0],precise:[4,6,8,12],friendly:[8,12,16,24]},I={fontDisplay:`Pretendard`,fontBody:`Pretendard`,bg:`#ffffff`,fg:`#111111`,accent:`#3a5bff`,radius:`friendly`},we=[{id:`neutral`,name:`Neutral`,by:`Nudge`,note:`Pretendard, near-black on white, one blue`,slots:{...I}},{id:`material3`,published:`material3`,name:`Material 3`,by:`Google`,kit:`material3`,note:`Roboto, the baseline purple, pill buttons`,slots:{fontDisplay:`Roboto`,fontBody:`Roboto`,bg:`#fef7ff`,fg:`#1d1b20`,accent:`#6750a4`,dark:{bg:`#141218`,fg:`#e6e0e9`,accent:`#d0bcff`},radius:`friendly`,radii:[8,12,16,28]}},{id:`shadcn`,published:`shadcn`,name:`shadcn/ui`,by:`shadcn`,kit:`shadcn`,note:`Geist, neutral grays, a near-black primary`,slots:{fontDisplay:`Geist`,fontBody:`Geist`,bg:`#ffffff`,fg:`#0a0a0a`,accent:`#171717`,dark:{bg:`#0a0a0a`,fg:`#fafafa`,accent:`#e5e5e5`},radius:`precise`,radii:[6,8,10,14]}},{id:`carbon`,published:`carbon`,name:`Carbon`,by:`IBM`,kit:`carbon`,note:`IBM Plex Sans, IBM blue, square corners`,slots:{fontDisplay:`IBM Plex Sans`,fontBody:`IBM Plex Sans`,bg:`#ffffff`,fg:`#161616`,accent:`#0f62fe`,dark:{bg:`#161616`,fg:`#f4f4f4`,accent:`#4589ff`},radius:`sharp`,radii:[0,0,0,0]}},{id:`primer`,published:`primer`,name:`Primer`,by:`GitHub`,kit:`primer`,note:`Mona Sans, a green primary, small corners`,slots:{fontDisplay:`Mona Sans`,fontBody:`Mona Sans`,bg:`#ffffff`,fg:`#1f2328`,accent:`#1f883d`,dark:{bg:`#0d1117`,fg:`#e6edf3`,accent:`#238636`},radius:`precise`,radii:[3,6,12,12]}},{id:`antd`,published:`antd`,name:`Ant Design`,by:`Ant Group`,kit:`antd`,note:`Roboto, the daybreak blue, 6px corners`,slots:{fontDisplay:`Roboto`,fontBody:`Roboto`,bg:`#ffffff`,fg:`#1f1f1f`,accent:`#1677ff`,dark:{bg:`#141414`,fg:`#dcdcdc`,accent:`#1668dc`},radius:`precise`,radii:[4,6,8,8]}}],Te=e=>({...e.slots,dark:e.slots.dark??null,radii:e.slots.radii??null,roles:e.slots.roles??null}),Ee=e=>e.published||e.tokens?void 0:we.find(t=>t.name===e.name&&!t.published);function De(e){if(e.published)return Ze(e)?void 0:we.find(t=>t.published===e.published);if(e.tokens)return;let t=we.find(t=>t.name===e.name&&!t.published);if(!t||Qe(e))return;let n=e=>JSON.stringify(Object.entries({...e,dark:e.dark&&Object.keys(e.dark).length?e.dark:void 0}).filter(([,e])=>e!==void 0).sort(([e],[t])=>e.localeCompare(t)));return n(e.slots)===n(t.slots)?t:void 0}var Oe=e=>e.published?{name:e.name,published:e.published}:{name:e.name,published:null,slots:Te(e)};function ke(e,t){let n=Ce[t],r=Object.entries(e).filter(([,e])=>e<9999).sort((e,t)=>e[1]-t[1]).map(([e])=>e);return{...e,...Object.fromEntries(r.map((e,t)=>[e,n[Math.min(t,n.length-1)]]))}}function Ae(e){return Object.keys(Ce).find(t=>JSON.stringify(ke(e,t))===JSON.stringify(e))}function je(e){let t=e=>!!e&&`density`in e&&delete e.density,n=t(e.slots),r=t(e.saved?.base.slots);return n||r}function Me(e){let t=Ge(e);return t?e.name||t.name:Ee(e)?e.name:e.name===Ne().name||we.some(t=>t.name===e.name)?`Custom`:e.name}function Ne(e=`Design system`,t={}){return{v:1,name:e,slots:{...I,...t},theme:`light`,owned:{colors:[],text:[]}}}var Pe={destructive:{light:`#dc2626`,dark:`#f87171`},success:{light:`#16a34a`,dark:`#4ade80`},warning:{light:`#b45309`,dark:`#fbbf24`},info:{light:`#2563eb`,dark:`#60a5fa`}},Fe=(e,t,n)=>v(e,t,n===`light`?.88:.78);function Ie(e,t,n){let r=0,i=e;for(;b(i,t)<4.5&&r<1;)r=Math.min(1,r+.05),i=v(e,n,r);return i}function Le(e){let t=g(e.bg),n=g(e.fg),r=e.dark?.bg??_({l:.18,c:Math.min(t.c,.02),h:t.h}),i=e.dark?.fg??_({l:.95,c:Math.min(n.c,.01),h:n.h}),a=e.dark?.accent??e.accent;if(!e.dark?.accent){let e=g(a);for(;b(a,r)<4.5&&e.l<.92;)e.l+=.03,a=_(e)}return{bg:r,fg:i,accent:a}}var Re=(e,t)=>{let n=g(e);return _({...n,l:n.l>.5?n.l-t:n.l+t*1.4})},ze=e=>b(`#ffffff`,e)>=4.5?`#ffffff`:b(`#111111`,e)>=b(`#ffffff`,e)?`#111111`:`#ffffff`;function Be(e,t){let{bg:n,fg:r,accent:i}=t===`light`?{bg:e.bg,fg:e.fg,accent:e.accent}:Le(e),a=.42,o=v(r,n,a);for(;b(o,n)<4.5&&a>0;)a-=.04,o=v(r,n,a);let s=Re(n,.03),c=n=>e.roles?.[n]?.[t],l=e=>c(e)??Pe[e][t],u={background:n,foreground:r,card:s,muted:s,"muted-foreground":o,border:v(r,n,.86),input:v(r,n,.8),primary:i,"primary-foreground":ze(i),ring:i,destructive:l(`destructive`),success:l(`success`),warning:l(`warning`),info:l(`info`)};for(let e of[`primary`,`destructive`,`success`,`warning`,`info`]){let i=c(`${e}-subtle`)??Fe(u[e],n,t);u[`${e}-subtle`]=i,u[`${e}-subtle-foreground`]=c(`${e}-subtle-foreground`)??Ie(u[e],i,r)}for(let[n,r]of Object.entries(e.roles??{}))r[t]&&(u[n]=r[t]);return u}var Ve={display:[56,1.1,-4,700],"heading-l":[40,1.2,-2.5,700],"heading-m":[28,1.3,-2,700],"heading-s":[20,1.4,-1,600],"body-l":[17,1.6,-2,400],"body-m":[14,1.55,-2,400],label:[13,1.4,0,500],caption:[12,1.4,0,400]},He=e=>Math.round(e*100)/100;function Ue(e){let t={};for(let{name:n}of Se){let[r,i,a,o]=Ve[n];t[n]={fontFamily:n===`display`?e.fontDisplay:e.fontBody,fontSize:r,fontWeight:o,lineHeight:He(r*i),...a?{letterSpacing:He(r*a/100)}:{},color:n===`caption`?`$muted-foreground`:`$foreground`}}return t}var We=e=>{let[t,n,r,i]=e.radii??Ce[e.radius];return{"radius-sm":t,"radius-md":n,"radius-lg":r,"radius-xl":i??Ce[e.radius][3],"radius-full":9999}},Ge=e=>e?.published?de[e.published]:void 0,Ke=(e,t)=>e.prefix?`${e.prefix}/${t}`:t;function qe(e,t){return Object.fromEntries(Object.entries(e.colors).map(([n,r])=>[Ke(e,n),r[t]]))}function Je(e){let t=`$${Ke(e,e.defaults.text)}`;return Object.fromEntries(Object.entries(e.text).map(([n,r])=>[Ke(e,n),{fontFamily:r.fontFamily,fontSize:r.fontSize,lineHeight:r.lineHeight,fontWeight:r.fontWeight,...r.letterSpacing?{letterSpacing:r.letterSpacing}:{},...r.textCase?{textCase:r.textCase}:{},color:t}]))}var Ye=e=>Object.fromEntries(Object.entries(e.radius).map(([t,n])=>[Ke(e,t),n])),Xe=e=>e.space?[...new Set(Object.values(e.space))].sort((e,t)=>e-t):null,Ze=e=>e.saved?_e(e).length>0:e.published||e.tokens?Qe(e):Ee(e)?!De(e):Qe(e);function Qe(e){let t=e.overrides;return!!t&&(Object.keys(t.colors??{}).length>0||Object.keys(t.text??{}).length>0||Object.keys(t.radius??{}).length>0||Object.keys(t.space??{}).length>0)}function $e(e,t=e.theme){let n=Ge(e),r=n?qe(n,t):e.tokens?Object.fromEntries(Object.entries(e.tokens.colors).map(([e,n])=>[e,n[t]??n.light??n.dark])):Be(e.slots,t);for(let[n,i]of Object.entries(e.overrides?.colors??{}))i[t]&&(r[n]=i[t]);return r}function et(e){let t=Ge(e),n=t?{...Ye(t)}:e.tokens?{...e.tokens.radius}:{...We(e.slots)};for(let[t,r]of Object.entries(e.overrides?.radius??{}))t in n&&(n[t]=r);return n}function tt(e){let t=e.overrides?.space??{};return rt(e).map(e=>t[String(e)]??e)}var nt=e=>{let t=rt(e),n=tt(e);return t.map((e,t)=>[`space-${e}`,n[t]]).filter(([,e],n)=>t[n]>0||e>0)};function rt(e){let t=Ge(e);return(t?Xe(t):e.tokens?.space)??[...F]}function it(e){let t=Ge(e),n=t?Je(t):e.tokens?JSON.parse(JSON.stringify(e.tokens.text)):Ue(e.slots);for(let[t,r]of Object.entries(e.overrides?.text??{}))if(n[t]){let e={...n[t],...ne(r,n[t])};e.textCase===`none`&&delete e.textCase,n[t]=e}return n}var at=[/^(foreground|fg|text|text-primary|on-background|on-surface|content|body|ink)$/,/(^|[-/])(foreground|text-primary|fg-default|fgcolor-default|on-surface)$/,/foreground|text/],ot=[/^(background|bg|surface|canvas|base|page|paper)$/,/(^|[-/])(background|bg-default|bgcolor-default|surface|background-primary)$/,/background|surface/],st=[/^(body|body-m|body-1|body-md|body-medium|paragraph|text-base|base|p)$/,/(^|[-/])(body|body-01|body-md|body-medium|body-compact-01|paragraph)$/,/body|paragraph/],ct=(e,t)=>{for(let n of t){let t=e.find(e=>n.test(e.toLowerCase()));if(t)return t}};function lt(e,t){let n={text:ct(e,at),background:ct(e,ot),textStyle:ct(t,st)};return Object.fromEntries(Object.entries(n).filter(([,e])=>e))}function ut(e){let t=Object.keys($e(e)),n=Object.keys(it(e)),r=Ge(e),i=r?{text:Ke(r,r.defaults.text),background:Ke(r,r.defaults.background),textStyle:Ke(r,r.defaults.textStyle)}:e.tokens?{...e.tokens.defaults}:{text:`foreground`,background:`background`,textStyle:`body-m`},a=(e,t)=>t&&e.includes(t)?t:void 0,o=lt(t,n),s={text:a(t,i.text)??o.text,background:a(t,i.background)??o.background,textStyle:a(n,i.textStyle)??o.textStyle};return Object.fromEntries(Object.entries(s).filter(([,e])=>e))}function dt(e){let t=e.system?ut(e.system):{text:`foreground`,textStyle:`body-m`};return{text:t.text&&e.styles.colors[t.text]?`$${t.text}`:j,...t.textStyle&&e.styles.text[t.textStyle]?{textStyle:`$${t.textStyle}`}:{}}}function ft(e,t){let n=$e(t),r=it(t),i=et(t);for(let r of t.owned.colors)r in n||delete e.colors[r];for(let n of t.owned.text)n in r||delete e.text[n];if(e.radius)for(let n of t.owned.radius??[])n in i||delete e.radius[n];return Object.assign(e.colors,n),Object.assign(e.text,r),e.radius={...e.radius,...i},e.space=tt(t),{colors:Object.keys(n),text:Object.keys(r),radius:Object.keys(i)}}function pt(e){let t=Object.keys(e.styles.text),n=Se.map(e=>e.name).filter(e=>t.includes(e));return[...n,...t.filter(e=>!n.includes(e))]}var mt=e=>`${e}px`,ht=e=>e.includes(`,`)?e:`"${e.replace(/^["']|["']$/g,``)}", system-ui, sans-serif`;function gt(e,t){let n=Ge(e),r=n?{group:n.prefix,prefix:n.cssPrefix,kebab:n.cssKebab}:e.tokens?.css;if(r&&(!r.group||t.startsWith(`${r.group}/`))){let e=r.group?t.slice(r.group.length+1):t;return`${r.prefix}${r.kebab?e.replace(/[A-Z]/g,e=>`-${e.toLowerCase()}`):e}`}return`--${t.replace(/\//g,`-`)}`}function _t(e){let t=Ge(e);return t?t.fonts:{display:e.slots.fontDisplay,body:e.slots.fontBody}}function vt(e){let t=$e(e,`light`),n=$e(e,`dark`),r=it(e),i=et(e),a=_t(e),o=!e.published&&!e.tokens,s=t=>gt(e,t),c=[`/* ${e.name} — generated by Nudge from the design system. Edit it in Nudge (or ask your agent there); this file is overwritten. */`,`:root {`];for(let[e,n]of Object.entries(t))c.push(` ${s(e)}: ${n};`);c.push(` --font-display: ${ht(a.display)};`,` --font-body: ${ht(a.body)};`),a.mono&&c.push(` --font-mono: ${ht(a.mono)};`),o&&i[`radius-md`]!==void 0&&c.push(` --radius: ${mt(i[`radius-md`])};`);for(let[e,t]of Object.entries(i))c.push(` --${e.replace(/\//g,`-`)}: ${mt(t)};`);nt(e).forEach(([e,t])=>c.push(` --${e}: ${mt(t)};`));for(let[e,t]of Object.entries(r)){let n=e.replace(/\//g,`-`);c.push(` --text-${n}: ${mt(t.fontSize)};`,` --text-${n}--line-height: ${mt(t.lineHeight??Math.round(t.fontSize*1.2))};`,` --text-${n}--font-weight: ${t.fontWeight};`),t.letterSpacing&&c.push(` --text-${n}--letter-spacing: ${mt(t.letterSpacing)};`),t.fontStyle===`italic`&&c.push(` --text-${n}--font-style: italic;`),t.textCase&&c.push(` --text-${n}--text-transform: ${re(t.textCase)};`)}c.push(`}`,``,`.dark, [data-theme="dark"] {`);for(let[e,t]of Object.entries(n))c.push(` ${s(e)}: ${t};`);return c.push(`}`,``),c.join(`
|
|
10
|
+
`)}function yt(e){let t=$e(e,`light`),n=$e(e,`dark`),r=it(e),i=(e,t)=>e.find(e=>e.name===t)?.usage;return{$description:`${e.name} — generated by Nudge. Themes: light (values) and dark ($extensions["nudge.themes"].dark).`,color:Object.fromEntries(Object.keys(t).map(e=>[e,{$type:`color`,$value:t[e],$description:i(xe,e),$extensions:{"nudge.themes":{dark:n[e]}}}])),typography:Object.fromEntries(Object.entries(r).map(([e,t])=>[e,{$type:`typography`,$description:i(Se,e),$value:{fontFamily:t.fontFamily,fontSize:mt(t.fontSize),fontWeight:t.fontWeight,lineHeight:mt(t.lineHeight??t.fontSize*1.2),letterSpacing:mt(t.letterSpacing??0)},...t.fontStyle===`italic`||t.textCase?{$extensions:{...t.fontStyle===`italic`?{"nudge.fontStyle":`italic`}:{},...t.textCase?{"nudge.textCase":t.textCase}:{}}}:{}}])),spacing:Object.fromEntries(nt(e).map(([e,t])=>[e,{$type:`dimension`,$value:mt(t)}])),radius:Object.fromEntries(Object.entries(et(e)).map(([e,t])=>[e,{$type:`dimension`,$value:mt(t)}]))}}var bt=new WeakMap,xt={};function St(e,t){let n=e.libraries?.kits??[];if(!n.length)return null;let r=e.system,i=`${n.join(`,`)}|${t}`,a=bt.get(r??xt)??new Map;if(bt.set(r??xt,a),a.has(i))return a.get(i);let o=r?$e(r,t):{},s=r?it(r):{},c=r?.published?Ge(r)?.prefix:r?.tokens?.css?.group,l={colors:{},text:{},radius:{}};for(let e of n){let n=de[e];if(!(!n||r?.published===e||c&&c===n.prefix)){for(let[e,r]of Object.entries(qe(n,t)))e in o||(l.colors[e]=r);for(let[e,t]of Object.entries(Je(n)))e in s||(l.text[e]=t);for(let[e,t]of Object.entries(Ye(n)))l.radius[e]??=t}}let u=Object.keys(l.colors).length||Object.keys(l.text).length||Object.keys(l.radius).length?l:null;return a.set(i,u),u}var Ct={shadcn:{colors:{background:`background`,foreground:`foreground`,card:`card`,muted:`muted`,"muted-foreground":`muted-foreground`,border:`border`,input:`input`,primary:`primary`,"primary-foreground":`primary-foreground`},radius:{sm:`radius-sm`,md:`radius-md`,lg:`radius-lg`,full:`radius-full`,button:`radius-md`}},material3:{colors:{background:`surface`,foreground:`on-surface`,card:`surface-container-low`,muted:`surface-container-highest`,"muted-foreground":`on-surface-variant`,border:`outline-variant`,input:`outline`,primary:`primary`,"primary-foreground":`on-primary`},radius:{sm:`corner-small`,md:`corner-medium`,lg:`corner-large`,full:`corner-full`,button:`corner-full`}},carbon:{colors:{background:`background`,foreground:`text-primary`,card:`layer-01`,muted:`field-01`,"muted-foreground":`text-secondary`,border:`border-subtle-01`,input:`border-strong-01`,primary:`button-primary`,"primary-foreground":`text-on-color`},radius:{sm:`border-radius-00`,md:`border-radius-00`,lg:`border-radius-00`,full:`border-radius-max`,button:`border-radius-00`}},primer:{colors:{background:`bgColor-default`,foreground:`fgColor-default`,card:`bgColor-muted`,muted:`bgColor-muted`,"muted-foreground":`fgColor-muted`,border:`borderColor-default`,input:`borderColor-default`,primary:`button-primary-bgColor-rest`,"primary-foreground":`button-primary-fgColor-rest`},radius:{sm:`borderRadius-small`,md:`borderRadius-medium`,lg:`borderRadius-large`,full:`borderRadius-full`,button:`borderRadius-medium`}},antd:{colors:{background:`colorBgContainer`,foreground:`colorText`,card:`colorFillAlter`,muted:`colorFillSecondary`,"muted-foreground":`colorTextSecondary`,border:`colorBorderSecondary`,input:`colorBorder`,primary:`colorPrimary`,"primary-foreground":`colorTextLightSolid`},radius:{sm:`borderRadiusSM`,md:`borderRadius`,lg:`borderRadiusLG`,full:9999,button:`borderRadius`}}};function wt(e){return Ge(e)??Object.values(de).find(t=>e.tokens?.css&&t.prefix===e.tokens.css.group&&t.cssPrefix===e.tokens.css.prefix)}function Tt(e,t=`light`){let n=$e(e,t),r=wt(e),i=r?Ct[r.id]:void 0;if(r&&i){let t=et(e),a=e=>typeof e==`number`?e:t[Ke(r,e)]??0;return{colors:Object.fromEntries(Object.entries(i.colors).map(([e,t])=>[e,n[Ke(r,t)]??`#000000`])),radius:{sm:a(i.radius.sm),md:a(i.radius.md),lg:a(i.radius.lg),full:a(i.radius.full),button:a(i.radius.button)},fonts:{display:r.fonts.display,body:r.fonts.body}}}let a=We(e.slots);return{colors:Object.fromEntries([`background`,`foreground`,`card`,`muted`,`muted-foreground`,`border`,`input`,`primary`,`primary-foreground`].map(e=>[e,n[e]??`#000000`])),radius:{sm:a[`radius-sm`],md:a[`radius-md`],lg:a[`radius-lg`],full:9999,button:a[`radius-md`]},fonts:{display:e.slots.fontDisplay,body:e.slots.fontBody}}}function Et(e){return{v:1,name:e.name,slots:e.slots,theme:`light`,owned:{colors:[],text:[]},...e.published?{published:e.published}:{}}}function Dt(e,t){if(!t)return e.styles;let n=e.libraries?St(e,t):null;return!e.system&&!n?e.styles:{...e.styles,colors:{...e.styles.colors,...n?.colors,...e.system?$e(e.system,t):{}}}}function Ot(e,t){return typeof t==`string`?e.styles.radius?.[t.slice(1)]??0:t}var kt=e=>e.libraries?.pack??e.system?.icons??`lucide`;function At(e){let t=Object.values(e).filter(e=>typeof e==`number`);return Object.entries(e).filter(([e,n])=>t.indexOf(+e)===-1).map(([e,t])=>t)}function jt(e,t=`|`){return e.map(e=>an(e)).join(t)}function Mt(e,t){return typeof t==`bigint`?t.toString():t}var Nt=class{constructor(e){this._getter=e,this._value=void 0}get value(){let e=this._getter;return e!==void 0&&(this._value=e(),this._getter=void 0),this._value}};function Pt(e){return new Nt(e)}function Ft(e){return e==null}function It(e){let t=+!!e.startsWith(`^`),n=e.endsWith(`$`)?e.length-1:e.length;return e.slice(t,n)}function Lt(e,t){let n=e/t,r=Math.round(n),i=4*2**-52*Math.max(Math.abs(n),1);return Math.abs(n-r)<i?0:n-r}var Rt=Symbol(`evaluating`);function zt(e,t,n){let r;Object.defineProperty(e,t,{get(){if(r!==Rt)return r===void 0&&(r=Rt,r=n()),r},set(n){Object.defineProperty(e,t,{value:n})},configurable:!0})}function Bt(e,t,n){Object.defineProperty(e,t,{value:n,writable:!0,enumerable:!0,configurable:!0})}function Vt(e){let t=Object.getOwnPropertyDescriptor(e,`shape`);return t?.get?t.get.raw:t?.value}function Ht(e){return Vt(e._zod.def)??e._zod.def.shape}function Ut(e,t,n){Object.defineProperty(e,t,{get(){let e=n();return Bt(this,t,e),e},enumerable:!0,configurable:!0})}function Wt(e,t,n){t in e?Bt(e,t,n):e[t]=n}function Gt(e,t,n,r){let i=Ht(t);for(let a of n){let n=Object.getOwnPropertyDescriptor(i,a);n.enumerable&&(n.get?Ut(e,a,()=>{let e=t._zod.def.shape[a];return r?r(e,a):e}):Wt(e,a,r?r(n.value,a):n.value))}}function Kt(e,t){for(let n of Reflect.ownKeys(t)){let r=Object.getOwnPropertyDescriptor(t,n);r.enumerable&&(r.get?Ut(e,n,()=>t[n]):Wt(e,n,r.value))}}function qt(...e){let t={};for(let n of e){let e=Object.getOwnPropertyDescriptors(n);Object.assign(t,e)}return Object.defineProperties({},t)}function Jt(e){return JSON.stringify(e)}function Yt(e){return e.toLowerCase().trim().replace(/[^\w\s-]/g,``).replace(/[\s_-]+/g,`-`).replace(/^-+|-+$/g,``)}var Xt=`captureStackTrace`in Error?Error.captureStackTrace:(...e)=>{};function Zt(e){return typeof e==`object`&&!!e&&!Array.isArray(e)}var Qt=Pt(()=>{if(Jn.jitless||typeof navigator<`u`&&navigator?.userAgent?.includes(`Cloudflare`))return!1;try{return Function(``),!0}catch{return!1}});function $t(e){if(Zt(e)===!1)return!1;let t=e.constructor;if(t===void 0||typeof t!=`function`)return!0;let n=t.prototype;return Zt(n)!==!1&&Object.prototype.hasOwnProperty.call(n,`isPrototypeOf`)!==!1}function en(e){return $t(e)?{...e}:Array.isArray(e)?[...e]:e instanceof Map?new Map(e):e instanceof Set?new Set(e):e}var tn=new Set([`string`,`number`,`symbol`]);function nn(e){return e.replace(/[.*+?^${}()|[\]\\]/g,`\\$&`)}function rn(e,t,n){let r=new e._zod.constr(t??e._zod.def);return(!t||n?.parent)&&(r._zod.parent=e),r}function L(e){let t=e;if(!t)return{};if(typeof t==`string`)return{error:()=>t};if(t?.message!==void 0){if(t?.error!==void 0)throw Error("Cannot specify both `message` and `error` params");t.error=t.message}return delete t.message,typeof t.error==`string`?{...t,error:()=>t.error}:t}function an(e){return typeof e==`bigint`?e.toString()+`n`:typeof e==`string`?`"${e}"`:`${e}`}function on(e){return Object.keys(e).filter(t=>e[t]._zod.optin!==void 0&&e[t]._zod.optout===`optional`)}var sn={safeint:[-(2**53-1),2**53-1],int32:[-2147483648,2147483647],uint32:[0,4294967295],float32:[-34028234663852886e22,34028234663852886e22],float64:[-Number.MAX_VALUE,Number.MAX_VALUE]},cn={int64:[BigInt(`-9223372036854775808`),BigInt(`9223372036854775807`)],uint64:[BigInt(0),BigInt(`18446744073709551615`)]};function ln(e,t){let n=e._zod.def,r=n.checks;if(r&&r.length>0)throw Error(`.pick() cannot be used on object schemas containing refinements`);let i={};return Gt(i,e,un(e,t)),rn(e,qt(n,{shape:i,checks:[]}))}function un(e,t){let n=Ht(e),r=[];for(let e of Reflect.ownKeys(t)){if(!Object.getOwnPropertyDescriptor(n,e)?.enumerable)throw Error(`Unrecognized key: "${String(e)}"`);t[e]&&r.push(e)}return r}function dn(e,t){let n=e._zod.def,r=n.checks;if(r&&r.length>0)throw Error(`.omit() cannot be used on object schemas containing refinements`);let i=new Set(un(e,t)),a={};return Gt(a,e,Reflect.ownKeys(Ht(e)).filter(e=>!i.has(e))),rn(e,qt(n,{shape:a,checks:[]}))}function fn(e,t){if(!$t(t))throw Error(`Invalid input to extend: expected a plain object`);let n=e._zod.def.checks;if(n&&n.length>0){let n=Ht(e);for(let e of Reflect.ownKeys(t))if(Object.getOwnPropertyDescriptor(n,e)!==void 0)throw Error("Cannot overwrite keys on object schemas containing refinements. Use `.safeExtend()` instead.")}return rn(e,qt(e._zod.def,{shape:pn(e,t)}))}function pn(e,t){let n={};return Gt(n,e,Reflect.ownKeys(Ht(e))),Kt(n,t),n}function mn(e,t){if(!$t(t))throw Error(`Invalid input to safeExtend: expected a plain object`);return rn(e,qt(e._zod.def,{shape:pn(e,t)}))}function hn(e,t){if(!t?._zod?.def)throw Error("Invalid input to merge: expected an object schema. To merge a plain shape, use `.extend()`.");if(e._zod.def.checks?.length)throw Error(`.merge() cannot be used on object schemas containing refinements. Use .safeExtend() instead.`);let n={};return Gt(n,e,Reflect.ownKeys(Ht(e))),Gt(n,t,Reflect.ownKeys(Ht(t))),rn(e,qt(e._zod.def,{shape:n,get catchall(){return t._zod.def.catchall},checks:t._zod.def.checks??[]}))}function gn(e,t,n,r=`partial`){let i=t._zod.def.checks;if(i&&i.length>0)throw Error(`.${r}() cannot be used on object schemas containing refinements`);let a=n?new Set(un(t,n)):void 0,o={};return Gt(o,t,Reflect.ownKeys(Ht(t)),e&&((t,n)=>a&&!a.has(n)?t:new e({type:`optional`,innerType:t}))),rn(t,qt(t._zod.def,{shape:o,checks:[]}))}function _n(e,t,n){let r=n?new Set(un(t,n)):void 0,i={};return Gt(i,t,Reflect.ownKeys(Ht(t)),(t,n)=>r&&!r.has(n)?t:new e({type:`nonoptional`,innerType:t})),rn(t,qt(t._zod.def,{shape:i}))}function vn(e,t=0){if(e.aborted===!0)return!0;for(let n=t;n<e.issues.length;n++)if(e.issues[n]?.continue!==!0)return!0;return!1}function yn(e,t=0){if(e.aborted===!0)return!0;for(let n=t;n<e.issues.length;n++)if(e.issues[n]?.continue===!1)return!0;return!1}function bn(e,t){return t.map(t=>{var n;return(n=t).path??(n.path=[]),t.path.unshift(e),t})}function xn(e){return typeof e==`string`?e:e?.message}function Sn(e){let t=[];for(let n of e??[]){let e=n._zod.def;if(!/_(length|size)$|_equals$/.test(e.check))break;let r=e.maximum??e.length??e.size;r>=0&&t.push([r,n])}return t}function Cn(e,t,n){var r;for(let i=t;i<e.length;i++)(r=e[i]).schema??(r.schema=n)}function wn(e,t,n){var r;let i=e.inst?._zod?.traits;i?.has(`$ZodType`)&&(i.has(`$ZodCheck`)?(r=e).schema??(r.schema=e.inst):e.schema=e.inst);let a=e.schema===e.inst?void 0:e.schema?._zod.def?.error,o=e.message?e.message:xn(e.inst?._zod.def?.error?.(e))??xn(a?.(e))??xn(t?.error?.(e))??xn(n.customError?.(e))??xn(n.localeError?.(e))??`Invalid input`,s={};for(let t of Object.keys(e))t!==`inst`&&t!==`schema`&&t!==`continue`&&t!==`input`&&t!==`__proto__`&&(s[t]=e[t]);return s.path??=[],s.message=o,t?.reportInput&&(s.input=e.input),s}var Tn=/[\uD800-\uDBFF]/;function En(e){let t=e.length;if(!Tn.test(e))return t;let n=t;for(let r=0;r<t-1;r++)(e.charCodeAt(r)&64512)==55296&&(e.charCodeAt(r+1)&64512)==56320&&(n--,r++);return n}function Dn(e){return Array.isArray(e)?`array`:typeof e==`string`?`string`:`unknown`}function On(e){let t=typeof e;switch(t){case`number`:return Number.isNaN(e)?`nan`:`number`;case`object`:{if(e===null)return`null`;if(Array.isArray(e))return`array`;let t=e;if(t&&Object.getPrototypeOf(t)!==Object.prototype&&`constructor`in t&&t.constructor)return t.constructor.name}}return t}function kn(...e){let[t,n,r]=e;return typeof t==`string`?{message:t,code:`custom`,input:n,inst:r}:{...t}}function An(e,t){for(let n in t){let r=Object.getOwnPropertyDescriptor(t,n);r.get?Object.defineProperty(e,n,{...r,enumerable:!1}):Pn(e,n,r.value)}}function jn(e,t,n,r=!0){return Object.defineProperty(e,t,{configurable:!0,writable:!0,enumerable:r,value:n}),n}function Mn(e,t,n){return jn(e,t,n,!1)}function Nn(e,t){for(let n in e){let r=e[n];Object.defineProperty(t,n,{configurable:!0,enumerable:!0,get(){return jn(this,n,r(this))},set(e){jn(this,n,e)}})}return t}function Pn(e,t,n){Object.defineProperty(e,t,{configurable:!0,get(){return this==null?n:jn(this,t,n.bind(this))},set(e){jn(this,t,e)}})}function Fn(e,t){let n=Object.getPrototypeOf(e);return t in n?void 0:n}var In,Ln=!1,Rn={configurable:!0,get(){Ln=!0}};function R(e,t,n){let r=Object.getPrototypeOf(e._zod);t in r&&In!==e._zod?In=void 0:(In=e._zod,Object.defineProperty(r,t,{configurable:!0,get(){Object.defineProperty(this,t,Rn);let e=Ln;Ln=!1;try{let r=n(this);return Ln?delete this[t]:Object.defineProperty(this,t,{configurable:!0,writable:!0,value:r}),Ln||=e,r}catch(n){throw delete this[t],Ln||=e,n}},set(e){Object.defineProperty(this,t,{configurable:!0,writable:!0,value:e})}}))}function zn(e,t,n,r){let i=Fn(e,t);i&&Object.defineProperty(i,t,{configurable:!0,get(){let e={configurable:!0,writable:!0,enumerable:r,value:void 0};return Object.defineProperty(this,t,e),e.value=n(this),Object.defineProperty(this,t,e),e.value},set(e){Object.defineProperty(this,t,{configurable:!0,writable:!0,enumerable:r,value:e})}})}var Bn=`~constantCatch`;function Vn(e){let t=()=>e;return t[Bn]=!0,t}var Hn,Un={value:void 0,enumerable:!1},Wn=`captureStackTrace`in Error?Error:null;function Gn(e){let t=Wn;if(t){let n=t.stackTraceLimit;if(typeof n==`number`){try{t.stackTraceLimit=0}catch{return Wn=null,new e}try{return new e}finally{t.stackTraceLimit=n}}}return new e}function z(e,t,n,r){let i={};function a(e){this.def=e,this.constr=d,this.traits=new Set}a.prototype=i;let o=n,s=o&&new WeakSet;function c(n,r){if(!n._zod){Un.value=new a(r);try{Object.defineProperty(n,"_zod",Un)}finally{Un.value=void 0}}else if(n._zod.traits.has(e))return;if(n._zod.traits.add(e),t(n,r),s){let e=Object.getPrototypeOf(n),t=n._zod.constr.prototype,r=e;for(;r&&r!==t;)r=Object.getPrototypeOf(r);let i=r??e;s.has(i)||(s.add(i),An(i,o))}let i=d.prototype;for(let e in i)Object.prototype.hasOwnProperty.call(i,e)&&(e in n||(n[e]=i[e].bind(n)))}let l=r?.Parent??Object;class u extends l{}Object.defineProperty(u,"name",{value:e});function d(e){let t=r?.Parent?Gn(u):this;c(t,e);let n=t._zod.deferred;if(n){for(let e of n)e();t._zod.deferred=void 0}let i=globalThis.__zod_globalConfig?.postProcessor;return i&&i(t),t}return Object.defineProperty(d,"init",{value:c}),Object.defineProperty(d,Symbol.hasInstance,{value:t=>r?.Parent&&t instanceof r.Parent?!0:t?._zod?.traits?.has(e)}),Object.defineProperty(d,"name",{value:e}),d}var Kn=class extends Error{constructor(){super(`Encountered Promise during synchronous parse. Use .parseAsync() instead.`)}},qn=class extends Error{constructor(e){super(`Encountered unidirectional transform during encode: ${e}`),this.name=`ZodEncodeError`}};(Hn=globalThis).__zod_globalConfig??(Hn.__zod_globalConfig={});var Jn=globalThis.__zod_globalConfig;function Yn(e){return e&&Object.assign(Jn,e),Jn}function Xn(){let e=this._zod;return e.message??=JSON.stringify(e.def,Mt,2),e.message}function Zn(e){this._zod.message=e}var Qn={get:Xn,set:Zn,enumerable:!0,configurable:!0},$n={value:void 0,enumerable:!1},er=new WeakSet([Object.prototype,Error.prototype]),tr=z(`$ZodError`,(e,t)=>{e.name=`$ZodError`,$n.value=t,Object.defineProperty(e,"issues",$n),$n.value=void 0,Object.defineProperty(e,"message",Qn);let n=Object.getPrototypeOf(e);er.has(n)||(er.add(n),Object.defineProperty(n,"toString",{configurable:!0,enumerable:!1,get(){let e=()=>this.message;return Object.defineProperty(this,"toString",{value:e,configurable:!0,writable:!0}),e},set(e){Object.defineProperty(this,"toString",{value:e,configurable:!0,writable:!0})}}))});function nr(e,t,n){return Object.prototype.hasOwnProperty.call(e,t)||(t===`__proto__`?Object.defineProperty(e,t,{value:n(),writable:!0,enumerable:!0,configurable:!0}):e[t]=n()),e[t]}function rr(e,t=e=>e.message){let n={},r=[];for(let i of e.issues)i.path.length>0?nr(n,i.path[0],()=>[]).push(t(i)):r.push(t(i));return{formErrors:r,fieldErrors:n}}function ir(e,t=e=>e.message){let n={_errors:[]},r=(e,i=[])=>{for(let a of e.issues)if(a.code===`invalid_union`&&a.errors.length)a.errors.map(e=>r({issues:e},[...i,...a.path]));else if(a.code===`invalid_key`)r({issues:a.issues},[...i,...a.path]);else if(a.code===`invalid_element`)r({issues:a.issues},[...i,...a.path]);else{let e=[...i,...a.path];if(e.length===0)n._errors.push(t(a));else{let r=n,i=0;for(;i<e.length;){let n=e[i],o=i===e.length-1;if(n===`_errors`){o&&r._errors.push(t(a)),i++;continue}Object.prototype.hasOwnProperty.call(r,n)||Object.defineProperty(r,n,{value:{_errors:[]},enumerable:!0,writable:!0,configurable:!0});let s=r[n];o&&s._errors.push(t(a)),r=s,i++}}}};return r(e),n}function ar(e,t){return{callee:t?.callee??e,Err:t?.Err}}var or=e=>{let t=(n,r,i,a)=>{let o=i?{...i,async:!1}:{async:!1},s=n._zod.run({value:r,issues:[]},o);if(s instanceof Promise)throw new Kn;if(s.issues.length){let n=new((a?.Err)??e)(s.issues.map(e=>wn(e,o,Yn())));throw Xt(n,a?.callee??t),n}return s.value};return t},sr=e=>{let t=async(n,r,i,a)=>{let o=i?{...i,async:!0}:{async:!0},s=n._zod.run({value:r,issues:[]},o);if(s instanceof Promise&&(s=await s),s.issues.length){let n=new((a?.Err)??e)(s.issues.map(e=>wn(e,o,Yn())));throw Xt(n,a?.callee??t),n}return s.value};return t},cr=e=>(t,n,r)=>{let i=r?{...r,async:!1}:{async:!1},a=t._zod.run({value:n,issues:[]},i);if(a instanceof Promise)throw new Kn;return a.issues.length?lr(e,a.issues,i):{success:!0,data:a.value}};function lr(e,t,n){let r;return{success:!1,get error(){return r||(r=new e(t.map(e=>wn(e,n,Yn()))),t=void 0,n=void 0),r},set error(e){r=e,t=void 0,n=void 0}}}var ur=e=>async(t,n,r)=>{let i=r?{...r,async:!0}:{async:!0},a=t._zod.run({value:n,issues:[]},i);return a instanceof Promise&&(a=await a),a.issues.length?lr(e,a.issues,i):{success:!0,data:a.value}},dr=Symbol.for(`zod.compile.invalid`),fr=Symbol.for(`zod.compile.fallback`),pr=((e,t,n)=>{let r=e._zod.bag.validator;if(r!==void 0){if(r(t)!==dr)return!0;if(r.definite===!0&&n===void 0)return!1}return mr(e,t,n)});function mr(e,t,n){let r=n?{...n,async:!1,abortEarly:!0}:{async:!1,abortEarly:!0},i=e._zod.bag.fallbackRun,a;if(i?(r[fr]=!0,a=i({value:t,issues:[]},r)):a=e._zod.run({value:t,issues:[]},r),a instanceof Promise)throw new Kn;return a.issues.length===0}var hr=async(e,t,n)=>{let r=n?{...n,async:!0,abortEarly:!0}:{async:!0,abortEarly:!0},i=e._zod.run({value:t,issues:[]},r);return i instanceof Promise&&(i=await i),i.issues.length===0},gr=e=>{let t=or(e),n=(e,r,i,a)=>{let o=i?{...i,direction:`backward`}:{direction:`backward`};return t(e,r,o,ar(n,a))};return n},_r=e=>{let t=or(e),n=(e,r,i,a)=>t(e,r,i,ar(n,a));return n},vr=e=>{let t=sr(e),n=async(e,r,i,a)=>{let o=i?{...i,direction:`backward`}:{direction:`backward`};return await t(e,r,o,ar(n,a))};return n},yr=e=>{let t=sr(e),n=async(e,r,i,a)=>await t(e,r,i,ar(n,a));return n},br=e=>(t,n,r)=>{let i=r?{...r,direction:`backward`}:{direction:`backward`};return cr(e)(t,n,i)},xr=e=>(t,n,r)=>cr(e)(t,n,r),Sr=e=>async(t,n,r)=>{let i=r?{...r,direction:`backward`}:{direction:`backward`};return ur(e)(t,n,i)},Cr=e=>async(t,n,r)=>ur(e)(t,n,r),wr=/^[cC][0-9a-z]{6,}$/,Tr=/^[0-9a-z]+$/,Er=/^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/,Dr=/^[0-9a-vA-V]{20}$/,Or=/^[A-Za-z0-9]{27}$/,kr=/^[a-zA-Z0-9_-]{21}$/;function Ar(e){return RegExp(`^[a-zA-Z0-9_-]{${e}}$`)}var jr=/^P(?:(\d+W)|(?!.*W)(?=\d|T\d)(\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+([.,]\d+)?S)?)?)$/,Mr=/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$/,Nr=e=>e?RegExp(`^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-${e}[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$`):/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/,Pr=/^(?:[A-Za-z0-9_'+\-]+\.)*[A-Za-z0-9_'+\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$/,Fr=`^(?=[\\s\\S]*[\\p{Extended_Pictographic}\\p{Regional_Indicator}\\u20E3])[\\p{Extended_Pictographic}\\p{Emoji_Component}]+$`;function Ir(){return new RegExp(Fr,`u`)}var Lr=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,Rr=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:))$/,zr=/^((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/([0-9]|[1-2][0-9]|3[0-2])$/,Br=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:))\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,Vr=/^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$/,Hr=/^(?:[A-Za-z0-9_-]{4})*(?:[A-Za-z0-9_-]{2,3})?$/,Ur=/^https?$/,Wr=/^\+[1-9]\d{6,14}$/,Gr=`(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))`;function Kr(e){return RegExp(`^${e}$`)}var qr=Kr(Gr);function Jr(e){let t=`(?:[01]\\d|2[0-3]):[0-5]\\d`;return typeof e.precision==`number`?e.precision===-1?`${t}`:e.precision===0?`${t}:[0-5]\\d`:`${t}:[0-5]\\d\\.\\d{${e.precision}}`:e.seconds?`${t}:[0-5]\\d(?:\\.\\d+)?`:`${t}(?::[0-5]\\d(?:\\.\\d+)?)?`}function Yr(e){return RegExp(`^${Jr(e)}$`)}function Xr(e){let t=[`Z`];e.offset&&t.push(`([+-](?:[01]\\d|2[0-3]):[0-5]\\d)`);let n=`${Jr({precision:e.precision,seconds:!0})}(?:${t.join(`|`)})`,r=e.local?`${n}|${Jr({precision:e.precision})}`:n;return RegExp(`^${Gr}T(?:${r})$`)}var Zr=/^[\s\S]{0,}$/,Qr=/^-?\d+$/,$r=/^-?\d+(?:\.\d+)?$/,ei=/^(?:true|false)$/i,ti=/^null$/i,ni=/^[^A-Z]*$/,ri=/^[^a-z]*$/,ii=z(`$ZodCheck`,(e,t)=>{var n;e._zod??={},e._zod.def=t,(n=e._zod).onattach??(n.onattach=[])}),ai=e=>{let t=e.value;return!Ft(t)&&t.length!==void 0},oi={number:`number`,bigint:`bigint`,object:`date`},si=z(`$ZodCheckLessThan`,(e,t)=>{ii.init(e,t);let n=oi[typeof t.value];e._zod.check=r=>{(t.inclusive?r.value<=t.value:r.value<t.value)||r.issues.push({origin:oi[typeof r.value]??n,code:`too_big`,maximum:typeof t.value==`object`?t.value.getTime():t.value,input:r.value,inclusive:t.inclusive,inst:e,continue:!t.abort})}}),ci=z(`$ZodCheckGreaterThan`,(e,t)=>{ii.init(e,t);let n=oi[typeof t.value];e._zod.check=r=>{(t.inclusive?r.value>=t.value:r.value>t.value)||r.issues.push({origin:oi[typeof r.value]??n,code:`too_small`,minimum:typeof t.value==`object`?t.value.getTime():t.value,input:r.value,inclusive:t.inclusive,inst:e,continue:!t.abort})}}),li=z(`$ZodCheckMultipleOf`,(e,t)=>{ii.init(e,t),e._zod.check=n=>{if(typeof n.value!=typeof t.value)throw Error(`Cannot mix number and bigint in multiple_of check.`);(typeof n.value==`bigint`?t.value!==BigInt(0)&&n.value%t.value===BigInt(0):Lt(n.value,t.value)===0)||n.issues.push({origin:typeof n.value,code:`not_multiple_of`,divisor:t.value,input:n.value,inst:e,continue:!t.abort})}}),ui=z(`$ZodCheckNumberFormat`,(e,t)=>{ii.init(e,t),t.format=t.format||`float64`;let n=t.format?.includes(`int`),r=n?`int`:`number`,[i,a]=sn[t.format];e._zod.check=o=>{let s=o.value;if(n){if(!Number.isInteger(s)){o.issues.push({expected:r,format:t.format,code:`invalid_type`,continue:!1,input:s,inst:e});return}if(!Number.isSafeInteger(s)){s>0?o.issues.push({input:s,code:`too_big`,maximum:2**53-1,note:`Integers must be within the safe integer range.`,inst:e,origin:r,inclusive:!0,continue:!t.abort}):o.issues.push({input:s,code:`too_small`,minimum:-(2**53-1),note:`Integers must be within the safe integer range.`,inst:e,origin:r,inclusive:!0,continue:!t.abort});return}}s<i&&o.issues.push({origin:`number`,input:s,code:`too_small`,minimum:i,inclusive:!0,inst:e,continue:!t.abort}),s>a&&o.issues.push({origin:`number`,input:s,code:`too_big`,maximum:a,inclusive:!0,inst:e,continue:!t.abort})}}),di=z(`$ZodCheckMaxLength`,(e,t)=>{var n;ii.init(e,t),(n=e._zod.def).when??(n.when=ai),e._zod.check=n=>{let r=n.value,i=r.length;if((typeof r==`string`&&i>t.maximum?En(r):i)<=t.maximum)return;let a=Dn(r);n.issues.push({origin:a,code:`too_big`,maximum:t.maximum,inclusive:!0,input:r,inst:e,continue:!t.abort})}}),fi=z(`$ZodCheckMinLength`,(e,t)=>{var n;ii.init(e,t),(n=e._zod.def).when??(n.when=ai),e._zod.check=n=>{let r=n.value,i=r.length;if((typeof r==`string`&&i>=t.minimum&&i<t.minimum*2?En(r):i)>=t.minimum)return;let a=Dn(r);n.issues.push({origin:a,code:`too_small`,minimum:t.minimum,inclusive:!0,input:r,inst:e,continue:!t.abort})}}),pi=z(`$ZodCheckLengthEquals`,(e,t)=>{var n;ii.init(e,t),(n=e._zod.def).when??(n.when=ai),e._zod.check=n=>{let r=n.value,i=r.length,a=typeof r==`string`&&i>=t.length&&i<=t.length*2?En(r):i;if(a===t.length)return;let o=Dn(r),s=a>t.length;n.issues.push({origin:o,...s?{code:`too_big`,maximum:t.length}:{code:`too_small`,minimum:t.length},inclusive:!0,exact:!0,input:n.value,inst:e,continue:!t.abort})}}),mi=z(`$ZodCheckStringFormat`,(e,t)=>{var n,r;ii.init(e,t),t.pattern?(n=e._zod).check??(n.check=n=>{t.pattern.lastIndex=0,t.pattern.test(n.value)||n.issues.push({origin:`string`,code:`invalid_format`,format:t.format,input:n.value,...t.pattern?{pattern:t.pattern.toString()}:{},inst:e,continue:!t.abort})}):(r=e._zod).check??(r.check=()=>{})}),hi=z(`$ZodCheckRegex`,(e,t)=>{mi.init(e,t),e._zod.check=n=>{t.pattern.lastIndex=0,t.pattern.test(n.value)||n.issues.push({origin:`string`,code:`invalid_format`,format:`regex`,input:n.value,pattern:t.pattern.toString(),inst:e,continue:!t.abort})}}),gi=z(`$ZodCheckLowerCase`,(e,t)=>{t.pattern??=ni,mi.init(e,t)}),_i=z(`$ZodCheckUpperCase`,(e,t)=>{t.pattern??=ri,mi.init(e,t)}),vi=z(`$ZodCheckIncludes`,(e,t)=>{ii.init(e,t);let n=nn(t.includes);t.pattern=new RegExp(typeof t.position==`number`?`^.{${t.position},}${n}`:n),e._zod.check=n=>{n.value.includes(t.includes,t.position)||n.issues.push({origin:`string`,code:`invalid_format`,format:`includes`,includes:t.includes,input:n.value,inst:e,continue:!t.abort})}}),yi=z(`$ZodCheckStartsWith`,(e,t)=>{ii.init(e,t);let n=RegExp(`^${nn(t.prefix)}.*`);t.pattern??=n,e._zod.check=n=>{n.value.startsWith(t.prefix)||n.issues.push({origin:`string`,code:`invalid_format`,format:`starts_with`,prefix:t.prefix,input:n.value,inst:e,continue:!t.abort})}}),bi=z(`$ZodCheckEndsWith`,(e,t)=>{ii.init(e,t);let n=RegExp(`.*${nn(t.suffix)}$`);t.pattern??=n,e._zod.check=n=>{n.value.endsWith(t.suffix)||n.issues.push({origin:`string`,code:`invalid_format`,format:`ends_with`,suffix:t.suffix,input:n.value,inst:e,continue:!t.abort})}}),xi=z(`$ZodCheckOverwrite`,(e,t)=>{ii.init(e,t),e._zod.check=e=>{e.value=t.tx(e.value)}}),Si=class{constructor(e=[],t={}){this.content=[],this.indent=0,this.args=e,this.closed=t}indented(e){this.indent+=1;try{e(this)}finally{--this.indent}}write(e){if(typeof e==`function`){e(this,{execution:`sync`}),e(this,{execution:`async`});return}let t=e.split(`
|
|
11
|
+
`).filter(e=>e),n=Math.min(...t.map(e=>e.length-e.trimStart().length)),r=t.map(e=>e.slice(n)).map(e=>` `.repeat(this.indent*2)+e);for(let e of r)this.content.push(e)}compile(){let e=Function,t=this?.content??[``];return new e(...Object.keys(this.closed),`return function (${this.args.join(`, `)}) {\n${t.join(`
|
|
12
|
+
`)}\n};`)(...Object.values(this.closed))}},Ci={major:4,minor:6,patch:7},wi=z(`$ZodType`,(e,t)=>{var n;e??={},e._zod.def=t,e._zod.bag=e._zod.bag||{},e._zod.version=Ci;let r=e._zod.def.checks,i=e._zod.traits.has(`$ZodCheck`)?[e,...r??[]]:r?.length?[...r]:[];for(let t of i)for(let n of t._zod.onattach)n(e);if(i.length===0)(n=e._zod).deferred??(n.deferred=[]),e._zod.deferred?.push(()=>{e._zod.run=e._zod.parse});else{let t=(t,n,r)=>{if(t.memo)return t;let i=vn(t),a;for(let o of n){if(o._zod.def.when){if(yn(t)||!o._zod.def.when(t))continue}else if(i)continue;let n=t.issues.length,s=o._zod.check(t);if(s instanceof Promise&&r?.async===!1)throw new Kn;if(a||s instanceof Promise)a=(a??Promise.resolve()).then(async()=>{await s,t.issues.length!==n&&(Cn(t.issues,n,e),i||=vn(t,n))});else{if(t.issues.length===n)continue;Cn(t.issues,n,e),i||=vn(t,n)}}return a?a.then(()=>t):t},n=(n,r,a)=>{if(vn(n))return n.aborted=!0,n;let o=t(r,i,a);if(o instanceof Promise){if(a.async===!1)throw new Kn;return o.then(t=>e._zod.parse(t,a))}return e._zod.parse(o,a)};e._zod.run=(r,a)=>{if(a.skipChecks)return e._zod.parse(r,a);if(a.direction===`backward`){let t=e._zod.parse({value:r.value,issues:[]},{...a,skipChecks:!0});return t instanceof Promise?t.then(e=>n(e,r,a)):n(t,r,a)}let o=e._zod.parse(r,a);if(o instanceof Promise){if(a.async===!1)throw new Kn;return o.then(e=>t(e,i,a))}return t(o,i,a)}}},{get"~standard"(){return Mn(this,`~standard`,Di(this))},set"~standard"(e){jn(this,`~standard`,e)}}),Ti=(e,t)=>e.issues.length?{issues:e.issues.map(e=>wn(e,t,Yn()))}:{value:e.value};async function Ei(e,t){let n={async:!0};return Ti(await e._zod.run({value:t,issues:[]},n),n)}function Di(e){return{validate:t=>{let n={async:!1};try{let r=e._zod.run({value:t,issues:[]},n);if(!(r instanceof Promise))return Ti(r,n)}catch{}return Ei(e,t)},vendor:`zod`,version:1}}var Oi=z(`$ZodString`,(e,t)=>{wi.init(e,t),e._zod.pattern=t.pattern??Zr,e._zod.parse=(n,r)=>{if(t.coerce)try{n.value=String(n.value)}catch{}return typeof n.value==`string`||n.issues.push({expected:`string`,code:`invalid_type`,input:n.value,inst:e}),n}}),ki=z(`$ZodStringFormat`,(e,t)=>{mi.init(e,t),Oi.init(e,t)}),Ai=z(`$ZodGUID`,(e,t)=>{t.pattern??=Mr,ki.init(e,t)}),ji=z(`$ZodUUID`,(e,t)=>{if(t.version){let e={v1:1,v2:2,v3:3,v4:4,v5:5,v6:6,v7:7,v8:8}[t.version];if(e===void 0)throw Error(`Invalid UUID version: "${t.version}"`);t.pattern??=Nr(e)}else t.pattern??=Nr();ki.init(e,t)}),Mi=z(`$ZodEmail`,(e,t)=>{t.pattern??=Pr,ki.init(e,t)});function Ni(e){try{return typeof URL<`u`&&typeof URL.canParse==`function`?URL.canParse(e):(new URL(e),!0)}catch{return!1}}function Pi(e,t){return!(`normalize`in t)&&!(`hostname`in t)&&!(`protocol`in t)?Ni(e)||2:Fi(e,t)}function Fi(e,t){if(!t.normalize&&t.protocol?.source===Ur.source&&!/^https?:\/\//i.test(e))return 1;try{if(typeof URL<`u`){let t=URL;if(typeof t.parse==`function`)return t.parse(e)??2}return new URL(e)}catch{return 2}}var Ii=/[\t\n\r]/g;function Li(e){return e.replace(Ii,``)}function Ri(e,t){return t.lastIndex=0,t.test(e.hostname)}function zi(e,t){return t.lastIndex=0,t.test(e.protocol.endsWith(`:`)?e.protocol.slice(0,-1):e.protocol)}var Bi=z(`$ZodURL`,(e,t)=>{ki.init(e,t),e._zod.check=n=>{try{let r=n.value.trim(),i=Pi(r,t);if(i===1){n.issues.push({code:`invalid_format`,format:`url`,note:`Invalid URL format`,input:n.value,inst:e,continue:!t.abort});return}if(i===2){n.issues.push({code:`invalid_format`,format:`url`,input:n.value,inst:e,continue:!t.abort});return}if(i===!0){n.value=Li(r);return}t.hostname&&!Ri(i,t.hostname)&&n.issues.push({code:`invalid_format`,format:`url`,note:`Invalid hostname`,pattern:t.hostname.source,input:n.value,inst:e,continue:!t.abort}),t.protocol&&!zi(i,t.protocol)&&n.issues.push({code:`invalid_format`,format:`url`,note:`Invalid protocol`,pattern:t.protocol.source,input:n.value,inst:e,continue:!t.abort}),n.value=t.normalize?i.href:Li(r);return}catch{n.issues.push({code:`invalid_format`,format:`url`,input:n.value,inst:e,continue:!t.abort})}}}),Vi=z(`$ZodEmoji`,(e,t)=>{t.pattern??=Ir(),ki.init(e,t)}),Hi=z(`$ZodNanoID`,(e,t)=>{if(t.length!==void 0&&(!Number.isInteger(t.length)||t.length<1))throw Error(`Invalid nanoid length: ${t.length}`);t.pattern??=t.length===void 0?kr:Ar(t.length),ki.init(e,t)}),Ui=z(`$ZodCUID`,(e,t)=>{t.pattern??=wr,ki.init(e,t)}),Wi=z(`$ZodCUID2`,(e,t)=>{t.pattern??=Tr,ki.init(e,t)}),Gi=z(`$ZodULID`,(e,t)=>{t.pattern??=Er,ki.init(e,t)}),Ki=z(`$ZodXID`,(e,t)=>{t.pattern??=Dr,ki.init(e,t)}),qi=z(`$ZodKSUID`,(e,t)=>{t.pattern??=Or,ki.init(e,t)}),Ji=z(`$ZodISODateTime`,(e,t)=>{t.pattern??=Xr(t),ki.init(e,t)}),Yi=z(`$ZodISODate`,(e,t)=>{t.pattern??=qr,ki.init(e,t)}),Xi=z(`$ZodISOTime`,(e,t)=>{t.pattern??=Yr(t),ki.init(e,t)}),Zi=z(`$ZodISODuration`,(e,t)=>{t.pattern??=jr,ki.init(e,t)}),Qi=z(`$ZodIPv4`,(e,t)=>{t.pattern??=Lr,ki.init(e,t)}),$i=/^[0-9a-fA-F:.]+$/;function ea(e){return $i.test(e)?Ni(`http://[${e}]`):!1}var ta=z(`$ZodIPv6`,(e,t)=>{t.pattern??=Rr,ki.init(e,t),e._zod.check=n=>{ea(n.value)||n.issues.push({code:`invalid_format`,format:`ipv6`,input:n.value,inst:e,continue:!t.abort})}}),na=z(`$ZodCIDRv4`,(e,t)=>{t.pattern??=zr,ki.init(e,t)});function ra(e){let t=e.split(`/`);if(t.length!==2)return!1;let[n,r]=t;if(!r)return!1;let i=Number(r);return`${i}`!==r||i<0||i>128?!1:ea(n)}var ia=z(`$ZodCIDRv6`,(e,t)=>{t.pattern??=Br,ki.init(e,t),e._zod.check=n=>{ra(n.value)||n.issues.push({code:`invalid_format`,format:`cidrv6`,input:n.value,inst:e,continue:!t.abort})}});function B(e){if(e===``)return!0;if(/\s/.test(e)||e.length%4!=0)return!1;try{return atob(e),!0}catch{return!1}}var aa=/^[0-9a-zA-Z+/]*={0,2}$/,oa=z(`$ZodBase64`,(e,t)=>{t.pattern??=aa,ki.init(e,t),e._zod.check=n=>{B(n.value)||n.issues.push({code:`invalid_format`,format:`base64`,input:n.value,inst:e,continue:!t.abort})}}),sa=/^[A-Za-z0-9_-]*$/;function ca(e){if(!sa.test(e))return!1;let t=e.replace(/[-_]/g,e=>e===`-`?`+`:`/`);return B(t.padEnd(Math.ceil(t.length/4)*4,`=`))}var la=z(`$ZodBase64URL`,(e,t)=>{t.pattern??=sa,ki.init(e,t),e._zod.check=n=>{ca(n.value)||n.issues.push({code:`invalid_format`,format:`base64url`,input:n.value,inst:e,continue:!t.abort})}}),ua=z(`$ZodE164`,(e,t)=>{t.pattern??=Wr,ki.init(e,t)});function da(e,t=null){try{let n=e.split(`.`);if(n.length!==3)return!1;let[r]=n;if(!r)return!1;let i=JSON.parse(atob(r));return!(`typ`in i&&i?.typ!==`JWT`||!i.alg||t&&(!(`alg`in i)||i.alg!==t))}catch{return!1}}var fa=z(`$ZodJWT`,(e,t)=>{ki.init(e,t),e._zod.check=n=>{da(n.value,t.alg)||n.issues.push({code:`invalid_format`,format:`jwt`,input:n.value,inst:e,continue:!t.abort})}}),pa=z(`$ZodNumber`,(e,t)=>{wi.init(e,t),e._zod.pattern=$r,e._zod.parse=(n,r)=>{if(t.coerce)try{n.value=Number(n.value)}catch{}let i=n.value;if(typeof i==`number`&&!Number.isNaN(i)&&Number.isFinite(i))return n;let a=typeof i==`number`?Number.isNaN(i)?`NaN`:Number.isFinite(i)?void 0:String(i):void 0;return n.issues.push({expected:`number`,code:`invalid_type`,input:i,inst:e,...a?{received:a}:{}}),n}}),ma=z(`$ZodNumberFormat`,(e,t)=>{ui.init(e,t),pa.init(e,t)}),ha=z(`$ZodBoolean`,(e,t)=>{wi.init(e,t),e._zod.pattern=ei,e._zod.parse=(n,r)=>{if(t.coerce)try{n.value=!!n.value}catch{}let i=n.value;return typeof i==`boolean`||n.issues.push({expected:`boolean`,code:`invalid_type`,input:i,inst:e}),n}}),ga=z(`$ZodNull`,(e,t)=>{wi.init(e,t),e._zod.pattern=ti,e._zod.values=new Set([null]),e._zod.parse=(t,n)=>{let r=t.value;return r===null||t.issues.push({expected:`null`,code:`invalid_type`,input:r,inst:e}),t}}),_a=z(`$ZodAny`,(e,t)=>{wi.init(e,t),e._zod.parse=e=>e}),va=z(`$ZodUnknown`,(e,t)=>{wi.init(e,t),e._zod.parse=e=>e}),ya=z(`$ZodNever`,(e,t)=>{wi.init(e,t),e._zod.parse=(t,n)=>(t.issues.push({expected:`never`,code:`invalid_type`,input:t.value,inst:e}),t)});function ba(e,t){let n=Sn(e._zod.def.checks);if(!n.length)return;let r=Math.min(...n.map(e=>e[0])),i=e._zod.parse;e._zod.parse=(n,a)=>{let o=t(n.value);if(o>r&&!a?.skipChecks&&a?.direction!==`backward`){for(let[t,r]of Sn(e._zod.def.checks))if(o>t&&r._zod.def.when(n)){let t=n.issues.length;return r._zod.check(n),n.issues[t].continue=!1,Cn(n.issues,t,e),n}}return i(n,a)}}var xa=e=>Array.isArray(e)?e.length:-1;function Sa(e,t,n){e.issues.length&&t.issues.push(...bn(n,e.issues)),t.value[n]=e.value}var Ca=z(`$ZodArray`,(e,t)=>{wi.init(e,t);let n=Jn.memoizer;n?.attach(e),e._zod.parse=(r,i)=>{let a=r.value;if(!Array.isArray(a))return r.issues.push({expected:`array`,code:`invalid_type`,input:a,inst:e}),r;r.value=n?n.alloc(e,r,Array(a.length),i):Array(a.length);let o=[],s=i?.abortEarly;for(let e=0;e<a.length;e++){let n=a[e],c=t.element._zod.run({value:n,issues:[]},i);if(c instanceof Promise)o.push(c.then(t=>Sa(t,r,e)));else if(Sa(c,r,e),s&&c.issues.length!==0&&vn(c))break}return o.length?Promise.all(o).then(()=>r):r},ba(e,xa)});function wa(e,t,n,r,i,a){let o=n in r,s=a===`optional`;if(o||!s||i!==`optional`){if(e.issues.length){if(i!==void 0&&s&&!o)return;t.issues.push(...bn(n,e.issues))}!o&&i===void 0?e.issues.length||t.issues.push({code:`invalid_type`,expected:`nonoptional`,input:void 0,path:[n]}):e.value===void 0?(o||i===`defaulted`&&!s)&&(t.value[n]=void 0):t.value[n]=e.value}}var Ta=[];function Ea(e){let t=Object.keys(e.shape),n=Object.getOwnPropertySymbols(e.shape),r=n.length?n:Ta,i=r.length?[...t,...r]:t;for(let t of i)if(!e.shape?.[t]?._zod?.traits?.has(`$ZodType`))throw Error(`Invalid element at key "${String(t)}": expected a Zod schema`);let a=on(e.shape);return{...e,allKeys:i,symbolKeys:r,keySet:new Set(t),numKeys:t.length,optionalKeys:new Set(a)}}function Da(e,t,n,r,i,a,o){let s=[],c=i.keySet,l=i.catchall._zod,u=l.def.type,d=l.optin,f=l.optout,p=0;for(let i in t){if(o&&n.issues.length!==p){if(vn(n,p))break;p=n.issues.length}if(c.has(i))continue;if(i===`__proto__`){u===`never`&&s.push(i);continue}if(u===`never`){s.push(i);continue}let a=l.run({value:t[i],issues:[]},r);a instanceof Promise?e.push(a.then(e=>wa(e,n,i,t,d,f))):wa(a,n,i,t,d,f)}return s.length&&n.issues.push({code:`unrecognized_keys`,keys:s,input:t,inst:a,continue:!0}),e.length?Promise.all(e).then(()=>n):n}var Oa=z(`$ZodObject`,(e,t)=>{wi.init(e,t);let n=Object.getOwnPropertyDescriptor(t,`shape`),r=n?.get?n.get.raw:t.shape??{};if(r){let e=()=>{let n={...r};return Object.defineProperty(t,"shape",{value:n}),e.raw=n,n};e.raw=r,Object.defineProperty(t,"shape",{get:e})}let i=Pt(()=>Ea(t));R(e,`propValues`,e=>{let t=e.def.shape,n={};for(let e in t){let r=t[e]._zod;if(r.values){Object.prototype.hasOwnProperty.call(n,e)||Bt(n,e,new Set);for(let t of r.values)n[e].add(t);r.optin!==void 0&&n[e].add(void 0)}}return n});let a=Zt,o=t.catchall,s,c=Jn.memoizer;c?.attach(e),e._zod.parse=(t,n)=>{s??=i.value;let r=t.value;if(!a(r))return t.issues.push({expected:`object`,code:`invalid_type`,input:r,inst:e}),t;t.value=c?c.alloc(e,t,{},n):{};let l=[],u=s.shape,d=n?.abortEarly,f=t.issues.length;for(let e of s.allKeys){if(d&&t.issues.length!==f){if(vn(t,f))break;f=t.issues.length}if(e===`__proto__`)continue;let i=u[e],a=i._zod.optin,o=i._zod.optout,s=i._zod.run({value:r[e],issues:[]},n);s instanceof Promise?l.push(s.then(n=>wa(n,t,e,r,a,o))):wa(s,t,e,r,a,o)}return o?Da(l,r,t,n,i.value,e,d===!0):l.length?Promise.all(l).then(()=>t):t}}),ka=z(`$ZodObjectJIT`,(e,t)=>{Oa.init(e,t);let n=e._zod.parse,r=Pt(()=>Ea(t)),i=Jn.memoizer,a=t=>{let n=r.value,a=n.symbolKeys,o=new Si([`payload`,`ctx`],{shape:t,inst:e,memo:i,syms:a}),s=e=>`shape[${e}]._zod.run({ value: input[${e}], issues: [] }, ctx)`,c=(e,t)=>`
|
|
13
|
+
let ${e}_ab = false;
|
|
14
|
+
for (let i = 0; i < ${e}.issues.length; i++) {
|
|
15
|
+
const iss = ${e}.issues[i];
|
|
16
|
+
iss.path = iss.path ? [${t}, ...iss.path] : [${t}];
|
|
17
|
+
payload.issues.push(iss);
|
|
18
|
+
if (iss.continue !== true) ${e}_ab = true;
|
|
19
|
+
}
|
|
20
|
+
if (${e}_ab && ctx && ctx.abortEarly) {
|
|
21
|
+
payload.value = newResult;
|
|
22
|
+
return payload;
|
|
23
|
+
}`;o.write(`const input = payload.value;`);let l=Object.create(null),u=0;for(let e of n.allKeys)l[e]=`key_${u++}`;o.write(i?`const newResult = memo.alloc(inst, payload, {}, ctx);`:`const newResult = {};`);for(let e of n.allKeys){if(e===`__proto__`)continue;let n=l[e],r=typeof e==`symbol`?`syms[${a.indexOf(e)}]`:Jt(e),i=`${r} in input`,u=t[e],d=u?._zod?.optin,f=d!==void 0,p=u?._zod?.optout===`optional`;if(o.write(`const ${n} = ${s(r)};`),f&&p){let e=d===`optional`?`${n}_present`:`${n}.value !== undefined || ${n}_present`;o.write(`
|
|
24
|
+
const ${n}_present = ${i};
|
|
25
|
+
if (!${n}.issues.length || ${n}_present) {
|
|
26
|
+
if (${n}.issues.length) {${c(n,r)}
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
if (${e}) {
|
|
30
|
+
newResult[${r}] = ${n}.value;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
`)}else f?(o.write(`
|
|
35
|
+
if (${n}.issues.length) {${c(n,r)}
|
|
36
|
+
}
|
|
37
|
+
`),d===`defaulted`?o.write(`newResult[${r}] = ${n}.value;`):o.write(`
|
|
38
|
+
if (${n}.value !== undefined || ${i}) {
|
|
39
|
+
newResult[${r}] = ${n}.value;
|
|
40
|
+
}
|
|
41
|
+
`)):o.write(`
|
|
42
|
+
const ${n}_present = ${i};
|
|
43
|
+
if (${n}.issues.length) {${c(n,r)}
|
|
44
|
+
}
|
|
45
|
+
if (!${n}_present && !${n}.issues.length) {
|
|
46
|
+
payload.issues.push({
|
|
47
|
+
code: "invalid_type",
|
|
48
|
+
expected: "nonoptional",
|
|
49
|
+
input: undefined,
|
|
50
|
+
path: [${r}]
|
|
51
|
+
});
|
|
52
|
+
if (ctx && ctx.abortEarly) {
|
|
53
|
+
payload.value = newResult;
|
|
54
|
+
return payload;
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
if (${n}_present) {
|
|
59
|
+
newResult[${r}] = ${n}.value;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
`)}return o.write(`payload.value = newResult;`),o.write(`return payload;`),o.compile()},o,s=Zt,c=!Jn.jitless,l=c&&Qt.value,u=t.catchall,d;e._zod.parse=(i,f)=>{d??=r.value;let p=i.value;return s(p)?c&&l&&f?.async===!1&&f.jitless!==!0?(o||=a(t.shape),i=o(i,f),u?Da([],p,i,f,d,e,f?.abortEarly===!0):i):n(i,f):(i.issues.push({expected:`object`,code:`invalid_type`,input:p,inst:e}),i)}});function Aa(e,t,n,r){for(let n of e)if(n.issues.length===0)return t.value=n.value,t;let i=e.filter(e=>!vn(e));return i.length===1?(t.value=i[0].value,i[0]):(t.issues.push({code:`invalid_union`,input:t.value,inst:n,errors:e.map(e=>e.issues.map(e=>wn(e,r,Yn())))}),t)}var ja=z(`$ZodUnion`,(e,t)=>{wi.init(e,t),R(e,`optin`,e=>e.def.options.some(e=>e._zod.optin===`defaulted`)?`defaulted`:e.def.options.some(e=>e._zod.optin!==void 0)?`optional`:void 0),R(e,`optout`,e=>e.def.options.some(e=>e._zod.optout===`optional`)?`optional`:void 0),R(e,`values`,e=>{if(e.def.options.every(e=>e._zod.values))return new Set(e.def.options.flatMap(e=>Array.from(e._zod.values)))}),R(e,`pattern`,e=>{if(e.def.options.every(e=>e._zod.pattern)){let t=e.def.options.map(e=>e._zod.pattern);return RegExp(`^(${t.map(e=>It(e.source)).join(`|`)})$`)}});let n=t.options.length===1?t.options[0]._zod.run:null;e._zod.parse=(r,i)=>{if(n)return n(r,i);let a=!1,o=[];for(let e of t.options){let t=e._zod.run({value:r.value,issues:[]},i);if(t instanceof Promise)o.push(t),a=!0;else{if(t.issues.length===0)return t;o.push(t)}}return a?Promise.all(o).then(t=>Aa(t,r,e,i)):Aa(o,r,e,i)}});function Ma(e){let t=new Map;for(let n of e.options){let r=n._zod.propValues?.[e.discriminator];if(!r||r.size===0)throw Error(`Invalid discriminated union option at index "${e.options.indexOf(n)}"`);for(let e of r)if(t.has(e)){if(e!==void 0)throw Error(`Duplicate discriminator value "${String(e)}"`);t.set(e,null)}else t.set(e,n)}return t}var Na=z(`$ZodDiscriminatedUnion`,(e,t)=>{t.inclusive=!1,ja.init(e,t);let n=e._zod.parse;R(e,`propValues`,e=>{let t={},n=0;for(let r of e.def.options){let i=r._zod.propValues;if(!i||Object.keys(i).length===0)throw Error(`Invalid discriminated union option at index "${e.def.options.indexOf(r)}"`);i[e.def.discriminator]?.has(void 0)&&n++;for(let[e,n]of Object.entries(i)){Object.prototype.hasOwnProperty.call(t,e)||Bt(t,e,new Set);for(let r of n)t[e].add(r)}}return!e.def.unionFallback&&n>1&&t[e.def.discriminator]?.delete(void 0),t}),t.options.forEach((e,n)=>{let r=Vt(e._zod.def);if(r&&!Object.prototype.hasOwnProperty.call(r,t.discriminator))throw Error(`Invalid discriminated union option at index "${n}"`)});let r=Pt(()=>Ma(t));e._zod.parse=(i,a)=>{let o=i.value;if(!Zt(o))return i.issues.push({code:`invalid_type`,expected:`object`,input:o,inst:e}),i;let s=o?.[t.discriminator],c=r.value.get(s);return c&&(s!==void 0||a.direction!==`backward`)?c._zod.run(i,a):t.unionFallback||a.direction===`backward`?n(i,a):(i.issues.push({code:`invalid_union`,errors:[],note:`No matching discriminator`,discriminator:t.discriminator,options:Array.from(r.value.keys()).filter(e=>r.value.get(e)!==null),input:o,path:[t.discriminator],inst:e}),i)}}),Pa=z(`$ZodIntersection`,(e,t)=>{wi.init(e,t),e._zod.parse=(e,n)=>{let r=e.value,i=t.left._zod.run({value:r,issues:[]},n),a=t.right._zod.run({value:r,issues:[]},n);return i instanceof Promise||a instanceof Promise?Promise.all([i,a]).then(([t,n])=>Ia(e,t,n)):Ia(e,i,a)}});function Fa(e,t){if(e===t||e instanceof Date&&t instanceof Date&&+e==+t)return{valid:!0,data:e};if($t(e)&&$t(t)){let n=Object.keys(t),r=Object.keys(e).filter(e=>n.indexOf(e)!==-1),i={...e,...t};Object.prototype.hasOwnProperty.call(i,`__proto__`)&&delete i.__proto__;for(let n of r){if(n===`__proto__`)continue;let r=Fa(e[n],t[n]);if(!r.valid)return{valid:!1,mergeErrorPath:[n,...r.mergeErrorPath]};i[n]=r.data}return{valid:!0,data:i}}if(Array.isArray(e)&&Array.isArray(t)){if(e.length!==t.length)return{valid:!1,mergeErrorPath:[]};let n=[];for(let r=0;r<e.length;r++){let i=e[r],a=t[r],o=Fa(i,a);if(!o.valid)return{valid:!1,mergeErrorPath:[r,...o.mergeErrorPath]};n.push(o.data)}return{valid:!0,data:n}}return{valid:!1,mergeErrorPath:[]}}function Ia(e,t,n){let r=new Map,i,a=new Map,o=(e,t)=>{let n;if(e.code===`unrecognized_keys`&&!e.path?.length)i??=e,n=e.keys;else if(e.code===`invalid_key`&&e.origin===`record`&&e.path?.length===1){let t=String(e.path[0]);a.has(t)||a.set(t,e),n=[t]}else return!1;for(let e of n)r.has(e)||r.set(e,{}),r.get(e)[t]=!0;return!0};for(let n of t.issues)o(n,`l`)||e.issues.push(n);for(let t of n.issues)o(t,`r`)||e.issues.push(t);let s=[...r].filter(([,e])=>e.l&&e.r).map(([e])=>e);if(s.length){let t=i?s.filter(e=>i.keys.includes(e)):[];t.length&&e.issues.push({...i,keys:t});for(let n of s)!t.includes(n)&&a.has(n)&&e.issues.push(a.get(n))}let c=Fa(t.value,n.value);if(!c.valid){if(vn(e))return e;throw Error(`Unmergable intersection. Error path: ${JSON.stringify(c.mergeErrorPath)}`)}return e.value=c.data,e}var La=z(`$ZodTuple`,(e,t)=>{wi.init(e,t);let n=t.items,r=Jn.memoizer;r?.attach(e),e._zod.parse=(i,a)=>{let o=i.value;if(!Array.isArray(o))return i.issues.push({input:o,inst:e,expected:`tuple`,code:`invalid_type`}),i;i.value=r?r.alloc(e,i,[],a):[];let s=[],c=Ra(n,`optin`),l=Ra(n,`optout`);if(!t.rest){if(o.length<c)return i.issues.push({code:`too_small`,minimum:c,inclusive:!0,input:o,inst:e,origin:`array`}),i;o.length>n.length&&i.issues.push({code:`too_big`,maximum:n.length,inclusive:!0,input:o,inst:e,origin:`array`})}let u=Array(n.length),d=t.rest?a?.abortEarly:void 0,f=!1;for(let e=0;e<n.length;e++){let t=n[e]._zod.run({value:o[e],issues:[]},a);t instanceof Promise?s.push(t.then(t=>{u[e]=t})):(u[e]=t,d&&!f&&t.issues.length&&(f=vn(t)))}if(t.rest&&!f){let e=n.length-1,r=o.slice(n.length),c=i.issues.length;for(let n of r){if(d&&i.issues.length!==c){if(vn(i,c))break;c=i.issues.length}e++;let r=t.rest._zod.run({value:n,issues:[]},a);r instanceof Promise?s.push(r.then(t=>za(t,i,e))):za(r,i,e)}}return s.length?Promise.all(s).then(()=>Ba(u,i,n,o,l)):Ba(u,i,n,o,l)}});function Ra(e,t){for(let n=e.length-1;n>=0;n--)if(!(t===`optin`?e[n]._zod.optin!==void 0:e[n]._zod.optout===`optional`))return n+1;return 0}function za(e,t,n){e.issues.length&&t.issues.push(...bn(n,e.issues)),t.value[n]=e.value}function Ba(e,t,n,r,i){for(let a=0;a<n.length;a++){let o=e[a],s=a<r.length;if(!s&&a>=i&&n[a]._zod.optin===`optional`){t.value.length=a;break}if(o.issues.length){if(!s&&a>=i){t.value.length=a;break}t.issues.push(...bn(a,o.issues))}t.value[a]=o.value}for(let e=t.value.length-1;e>=r.length&&n[e]._zod.optout===`optional`&&t.value[e]===void 0;e--)t.value.length=e;return t}var Va=z(`$ZodRecord`,(e,t)=>{wi.init(e,t);let n=Jn.memoizer;n?.attach(e),e._zod.parse=(r,i)=>{let a=r.value;if(!$t(a))return r.issues.push({expected:`record`,code:`invalid_type`,input:a,inst:e}),r;let o=[],s=t.keyType._zod.values;if(s&&!t.partial){r.value=n?n.alloc(e,r,{},i):{};let c=new Set;for(let n of s)if(typeof n==`string`||typeof n==`number`||typeof n==`symbol`){if(c.add(typeof n==`number`?n.toString():n),n===`__proto__`)continue;let s=t.keyType._zod.run({value:n,issues:[]},i);if(s instanceof Promise)throw Error(`Async schemas not supported in object keys currently`);if(s.issues.length){r.issues.push({code:`invalid_key`,origin:`record`,issues:s.issues.map(e=>wn(e,i,Yn())),input:n,path:[n],inst:e});continue}let l=s.value;if(l===`__proto__`)continue;let u=t.valueType._zod.run({value:a[n],issues:[]},i);u instanceof Promise?o.push(u.then(e=>{e.issues.length&&r.issues.push(...bn(n,e.issues)),r.value[l]=e.value})):(u.issues.length&&r.issues.push(...bn(n,u.issues)),r.value[l]=u.value)}let l;for(let e in a)if(!c.has(e)){if(t.mode===`loose`){if(e===`__proto__`)continue;r.value[e]=a[e]}else l??=[],l.push(e)}l&&l.length>0&&r.issues.push({code:`unrecognized_keys`,input:a,inst:e,keys:l,continue:!0})}else{r.value=n?n.alloc(e,r,{},i):{};let c;for(let n of Reflect.ownKeys(a)){if(n===`__proto__`||!Object.prototype.propertyIsEnumerable.call(a,n))continue;let l=t.keyType._zod.run({value:n,issues:[]},i);if(l instanceof Promise)throw Error(`Async schemas not supported in object keys currently`);if(typeof n==`string`&&$r.test(n)&&l.issues.length){let e=t.keyType._zod.run({value:Number(n),issues:[]},i);if(e instanceof Promise)throw Error(`Async schemas not supported in object keys currently`);e.issues.length===0&&(l=e)}if(l.issues.length){t.mode===`loose`?r.value[n]=a[n]:s?(c??=[],c.push(n)):r.issues.push({code:`invalid_key`,origin:`record`,issues:l.issues.map(e=>wn(e,i,Yn())),input:n,path:[n],inst:e});continue}let u=l.value;if(u===`__proto__`)continue;let d=t.valueType._zod.run({value:a[n],issues:[]},i);d instanceof Promise?o.push(d.then(e=>{e.issues.length&&r.issues.push(...bn(n,e.issues)),r.value[u]=e.value})):(d.issues.length&&r.issues.push(...bn(n,d.issues)),r.value[u]=d.value)}c&&c.length>0&&r.issues.push({code:`unrecognized_keys`,input:a,inst:e,keys:c,continue:!0})}return o.length?Promise.all(o).then(()=>r):r}}),Ha=z(`$ZodEnum`,(e,t)=>{wi.init(e,t);let n=At(t.entries),r=new Set(n);e._zod.values=r,R(e,`pattern`,e=>{let t=At(e.def.entries).filter(e=>tn.has(typeof e));return RegExp(t.length?`^(${t.map(e=>nn(e.toString())).join(`|`)})$`:`^[^\\s\\S]$`)}),e._zod.parse=(t,i)=>{let a=t.value;return r.has(a)||t.issues.push({code:`invalid_value`,values:n,input:a,inst:e}),t}}),Ua=z(`$ZodLiteral`,(e,t)=>{wi.init(e,t);let n=new Set(t.values);e._zod.values=n,R(e,`pattern`,e=>{let t=e.def.values;return RegExp(t.length?`^(${t.map(e=>typeof e==`string`?nn(e):e?nn(e.toString()):String(e)).join(`|`)})$`:`^[^\\s\\S]$`)}),e._zod.parse=(r,i)=>{let a=r.value;return n.has(a)||r.issues.push({code:`invalid_value`,values:t.values,input:a,inst:e}),r}}),Wa=z(`$ZodTransform`,(e,t)=>{wi.init(e,t),e._zod.optin=`optional`,Jn.memoizer?.guard(e),e._zod.parse=(n,r)=>{if(r.direction===`backward`)throw new qn(e.constructor.name);let i=t.transform(n.value,n);if(r.async)return(i instanceof Promise?i:Promise.resolve(i)).then(e=>(n.value=e,n));if(i instanceof Promise)throw new Kn;return n.value=i,n}});function Ga(e,t){return e.value=t.issues.length?void 0:t.value,e}var Ka=z(`$ZodOptional`,(e,t)=>{wi.init(e,t),R(e,`optin`,e=>e.def.innerType._zod.optin===`defaulted`?`defaulted`:`optional`),e._zod.optout=`optional`,R(e,`values`,e=>{let t=e.def.innerType._zod.values;return t?new Set([...t,void 0]):void 0}),R(e,`pattern`,e=>{let t=e.def.innerType._zod.pattern;return t?RegExp(`^(${It(t.source)})?$`):void 0}),e._zod.parse=(e,n)=>{if(e.value===void 0){if(t.innerType._zod.optin!==`defaulted`)return e;let r=t.innerType._zod.run({value:e.value,issues:[]},n);return r instanceof Promise?r.then(t=>Ga(e,t)):Ga(e,r)}return t.innerType._zod.run(e,n)}}),qa=z(`$ZodExactOptional`,(e,t)=>{Ka.init(e,t),R(e,`values`,e=>e.def.innerType._zod.values),R(e,`pattern`,e=>e.def.innerType._zod.pattern),e._zod.parse=(e,n)=>t.innerType._zod.run(e,n)}),Ja=z(`$ZodNullable`,(e,t)=>{wi.init(e,t),R(e,`optin`,e=>e.def.innerType._zod.optin),R(e,`optout`,e=>e.def.innerType._zod.optout),R(e,`pattern`,e=>{let t=e.def.innerType._zod.pattern;return t?RegExp(`^(${It(t.source)}|null)$`):void 0}),R(e,`values`,e=>e.def.innerType._zod.values?new Set([...e.def.innerType._zod.values,null]):void 0),e._zod.parse=(e,n)=>e.value===null?e:t.innerType._zod.run(e,n)}),Ya=z(`$ZodDefault`,(e,t)=>{wi.init(e,t),e._zod.optin=`defaulted`,R(e,`values`,e=>e.def.innerType._zod.values),e._zod.parse=(e,n)=>{if(n.direction===`backward`)return t.innerType._zod.run(e,n);if(e.value===void 0)return e.value=t.defaultValue,e;let r=t.innerType._zod.run(e,n);return r instanceof Promise?r.then(e=>Xa(e,t)):Xa(r,t)}});function Xa(e,t){return e.value===void 0&&(e.value=t.defaultValue),e}var Za=z(`$ZodPrefault`,(e,t)=>{wi.init(e,t),e._zod.optin=`defaulted`,R(e,`values`,e=>e.def.innerType._zod.values),e._zod.parse=(e,n)=>(n.direction===`backward`||e.value===void 0&&(e.value=t.defaultValue),t.innerType._zod.run(e,n))}),Qa=z(`$ZodNonOptional`,(e,t)=>{wi.init(e,t),R(e,`values`,e=>{let t=e.def.innerType._zod.values;return t?new Set([...t].filter(e=>e!==void 0)):void 0}),e._zod.parse=(n,r)=>{let i=t.innerType._zod.run(n,r);return i instanceof Promise?i.then(t=>$a(t,e)):$a(i,e)}});function $a(e,t){return!e.issues.length&&e.value===void 0&&e.issues.push({code:`invalid_type`,expected:`nonoptional`,input:e.value,inst:t}),e}function eo(e,t,n,r){return t.issues.length?(e.value=n.catchValue({...t,value:e.value,error:{issues:t.issues.map(e=>wn(e,r,Yn()))},input:e.value}),e):(e.value=t.value,t.memo&&(e.memo=!0),e)}var to=z(`$ZodCatch`,(e,t)=>{wi.init(e,t),R(e,`optin`,e=>e.def.innerType._zod.optin===`defaulted`?`defaulted`:`optional`),R(e,`optout`,e=>e.def.innerType._zod.optout),R(e,`values`,e=>e.def.innerType._zod.values),e._zod.parse=(e,n)=>{if(n.direction===`backward`)return t.innerType._zod.run(e,n);let r=t.innerType._zod.run({value:e.value,issues:[]},n);return r instanceof Promise?r.then(r=>eo(e,r,t,n)):eo(e,r,t,n)}}),no=z(`$ZodPipe`,(e,t)=>{wi.init(e,t),R(e,`values`,e=>e.def.in._zod.values),R(e,`optin`,e=>e.def.in._zod.optin),R(e,`optout`,e=>e.def.out._zod.optout),R(e,`propValues`,e=>e.def.in._zod.propValues),e._zod.parse=(e,n)=>{if(n.direction===`backward`){let r=t.out._zod.run(e,n);return r instanceof Promise?r.then(e=>ro(e,t.in,n)):ro(r,t.in,n)}let r=t.in._zod.run(e,n);return r instanceof Promise?r.then(e=>ro(e,t.out,n)):ro(r,t.out,n)}});function ro(e,t,n){return e.issues.some(e=>e.code!==`unrecognized_keys`)?(e.aborted=!0,e):t._zod.run({value:e.value,issues:e.issues},n)}var io=z(`$ZodPreprocess`,(e,t)=>{no.init(e,t)}),ao=z(`$ZodReadonly`,(e,t)=>{wi.init(e,t),R(e,`propValues`,e=>e.def.innerType._zod.propValues),R(e,`values`,e=>e.def.innerType._zod.values),R(e,`optin`,e=>e.def.innerType?._zod?.optin),R(e,`optout`,e=>e.def.innerType?._zod?.optout),e._zod.parse=(e,n)=>{if(n.direction===`backward`)return t.innerType._zod.run(e,n);let r=t.innerType._zod.run(e,n);return r instanceof Promise?r.then(oo):oo(r)}});function oo(e){return e.memo||(e.value=Object.freeze(e.value)),e}var so=z(`$ZodLazy`,(e,t)=>{wi.init(e,t),zt(e._zod,`innerType`,()=>{let e=t;return e._cachedInner||=t.getter(),e._cachedInner}),R(e,`pattern`,e=>e.innerType?._zod?.pattern),R(e,`propValues`,e=>e.innerType?._zod?.propValues),R(e,`optin`,e=>e.innerType?._zod?.optin??void 0),R(e,`optout`,e=>e.innerType?._zod?.optout??void 0),e._zod.parse=(t,n)=>e._zod.innerType._zod.run(t,n)}),co=z(`$ZodCustom`,(e,t)=>{ii.init(e,t),wi.init(e,t),e._zod.parse=(e,t)=>e,e._zod.check=n=>{let r=n.value,i=t.fn(r);if(i instanceof Promise)return i.then(t=>lo(t,n,r,e));lo(i,n,r,e)}});function lo(e,t,n,r){if(!e){let e={code:`custom`,input:n,inst:r,path:[...r._zod.def.path??[]],continue:!r._zod.def.abort};r._zod.def.params&&(e.params=r._zod.def.params),t.issues.push(kn(e))}}var uo=class extends Error{constructor(){super(`Cannot parse a reference cycle that closes through a transform`),this.name=`ZodCyclicError`}},fo=`~memo`,po=[];function mo(e){return typeof e==`object`&&!!e}function ho(e){return e.map(e=>e.path?{...e,path:e.path.slice()}:{...e})}var go=new WeakMap,_o=0,vo=1,yo=2;function bo(e,t,n){let r=go.get(e);if(r!==void 0)return r?yo:_o;if(t.has(e))return yo;t.add(e);let i=_o,a=e=>{if(i!==yo&&e?._zod){let r=bo(e,t,n);r>i&&(i=r)}},o=(e,r)=>{let i=_o;for(let a of Reflect.ownKeys(e)){let o=Object.getOwnPropertyDescriptor(e,a);if(r&&!o.enumerable)continue;let s=o.get?vo:o.value?._zod?bo(o.value,t,n):_o;s>i&&(i=s)}return i},s=e=>{e>i&&(i=e)},c=e._zod.def;switch(c.type){case`object`:{let e=Vt(c);s(e?o(e,!0):vo),a(c.catchall);break}case`array`:a(c.element);break;case`tuple`:for(let e of c.items)a(e);a(c.rest);break;case`record`:case`map`:a(c.keyType),a(c.valueType);break;case`set`:a(c.valueType);break;case`union`:for(let e of c.options)a(e);break;case`intersection`:a(c.left),a(c.right);break;case`optional`:case`nullable`:case`default`:case`prefault`:case`catch`:case`readonly`:case`nonoptional`:case`promise`:case`success`:a(c.innerType);break;case`pipe`:a(c.in),a(c.out);break;case`function`:a(c.input),a(c.output);break;case`lazy`:{let r=c._cachedInner??(n?e._zod.innerType:void 0);s(r?bo(r,t,!1):vo);break}case`template_literal`:case`string`:case`number`:case`int`:case`boolean`:case`bigint`:case`symbol`:case`undefined`:case`null`:case`void`:case`never`:case`any`:case`unknown`:case`date`:case`nan`:case`enum`:case`literal`:case`file`:case`transform`:case`custom`:break;default:for(let e in c){let t=Object.getOwnPropertyDescriptor(c,e);if(!t||t.get)continue;let n=t.value;if(n&&typeof n==`object`){if(n._zod)a(n);else if(Array.isArray(n))for(let e of n)a(e)}}}return t.delete(e),xo(e,i)}function xo(e,t){return t!==vo&&go.set(e,t===yo),t}function So(e,t){let n=e.buckets.get(t);return n||(n=new WeakMap,e.buckets.set(t,n)),n}var Co,wo=[],To={alloc(e,t,n){let r=Co;if(!r)return n;Co=void 0;let i={value:n,issues:null};return r.set(t.value,i),wo.push(i),n},guard(e){var t;(t=e._zod).deferred??(t.deferred=[]),e._zod.deferred.push(()=>{let t=e._zod.parse,n=(e,n)=>{if(n.direction!==`backward`&&Do(n,e.value))throw new uo;return t(e,n)};e._zod.parse=n,e._zod.run===t&&(e._zod.run=n)})},attach(e){var t;let n,r=!1,i,a;(t=e._zod).deferred??(t.deferred=[]),e._zod.deferred.push(()=>{let t=e._zod.parse,o=(s,c)=>{if(n===void 0){let i=bo(e,new Set,!1);if(i===_o)return e._zod.parse=t,e._zod.run===o&&(e._zod.run=t),t(s,c);i===yo||r?n=!0:r=!0}let l=s.value;if(!mo(l))return t(s,c);let u=c[fo];u||(u={buckets:new WeakMap,backEdges:void 0},c[fo]=u);let d;i===c?d=a:(d=So(u,e),i=c,a=d);let f=d.get(l);if(f)return s.value=f.value,f.issues?f.issues.length&&s.issues.push(...ho(f.issues)):(s.memo=!0,u.backEdges??(u.backEdges=new WeakSet),u.backEdges.add(f.value)),s;Co=d;let p=wo.length,m=t(s,c);Co=void 0;let h=wo.length>p?wo.pop():void 0;return m instanceof Promise?m.then(e=>(h&&(h.issues=e.issues.length?ho(e.issues):po),e)):(h&&(h.issues=m.issues.length?ho(m.issues):po),m)};e._zod.parse=o,e._zod.run===t&&(e._zod.run=o)})}};function Eo(){return To}function Do(e,t){let n=e[fo]?.backEdges;return n!==void 0&&mo(t)&&n.has(t)}var Oo=()=>{let e={string:{unit:`characters`,verb:`to have`},file:{unit:`bytes`,verb:`to have`},array:{unit:`items`,verb:`to have`},set:{unit:`items`,verb:`to have`},map:{unit:`entries`,verb:`to have`}};function t(t){return e[t]??null}let n={regex:`input`,email:`email address`,url:`URL`,emoji:`emoji`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`ISO datetime`,date:`ISO date`,time:`ISO time`,duration:`ISO duration`,ipv4:`IPv4 address`,ipv6:`IPv6 address`,mac:`MAC address`,cidrv4:`IPv4 range`,cidrv6:`IPv6 range`,base64:`base64-encoded string`,base64url:`base64url-encoded string`,json_string:`JSON string`,e164:`E.164 number`,currency_code:`currency code`,credit_card:`credit card number`,iban:`IBAN`,jwt:`JWT`,template_literal:`input`},r={nan:`NaN`};function i(e,t){return e===`number`&&typeof t==`number`&&!Number.isFinite(t)?String(t):r[e]??e}return e=>{switch(e.code){case`invalid_type`:return`Invalid input: expected ${i(e.expected)}, received ${i(On(e.input),e.input)}`;case`invalid_value`:return e.values.length===1?`Invalid input: expected ${an(e.values[0])}`:`Invalid option: expected one of ${jt(e.values,`|`)}`;case`too_big`:{let n=e.exact?`exactly `:e.inclusive?`<=`:`<`,r=t(e.origin);return r?`Too big: expected ${e.origin??`value`} to have ${n}${e.maximum.toString()} ${r.unit??`elements`}`:`Too big: expected ${e.origin??`value`} to be ${n}${e.maximum.toString()}`}case`too_small`:{let n=e.exact?`exactly `:e.inclusive?`>=`:`>`,r=t(e.origin);return r?`Too small: expected ${e.origin} to have ${n}${e.minimum.toString()} ${r.unit}`:`Too small: expected ${e.origin} to be ${n}${e.minimum.toString()}`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`Invalid string: must start with "${t.prefix}"`:t.format===`ends_with`?`Invalid string: must end with "${t.suffix}"`:t.format===`includes`?`Invalid string: must include "${t.includes}"`:t.format===`regex`?`Invalid string: must match pattern ${t.pattern}`:`Invalid ${n[t.format]??e.format}`}case`not_multiple_of`:return`Invalid number: must be a multiple of ${e.divisor}`;case`unrecognized_keys`:return`Unrecognized key${e.keys.length>1?`s`:``}: ${jt(e.keys,`, `)}`;case`invalid_key`:return`Invalid key in ${e.origin}`;case`invalid_union`:return e.options&&Array.isArray(e.options)&&e.options.length>0?`Invalid discriminator value. Expected ${e.options.map(e=>`'${e}'`).join(` | `)}`:e.inclusive===!1?`Invalid input: more than one option matched`:`Invalid input`;case`invalid_element`:return`Invalid value in ${e.origin}`;default:return`Invalid input`}}};function ko(){return{localeError:Oo()}}var Ao,jo=class{constructor(){this._map=new WeakMap,this._idmap=new Map}add(e,...t){let n=t[0];return this._map.set(e,n),n&&typeof n==`object`&&`id`in n&&this._idmap.set(n.id,e),this}clear(){return this._map=new WeakMap,this._idmap=new Map,this}remove(e){let t=this._map.get(e);return t&&typeof t==`object`&&`id`in t&&this._idmap.delete(t.id),this._map.delete(e),this}get(e){let t=e._zod.parent;if(t){let n={...this.get(t)??{}};delete n.id;let r={...n,...this._map.get(e)};return Object.keys(r).length?r:void 0}return this._map.get(e)}has(e){return this._map.has(e)}};function Mo(){return new jo}(Ao=globalThis).__zod_globalRegistry??(Ao.__zod_globalRegistry=Mo());var No=globalThis.__zod_globalRegistry;function Po(e){return e.checks&&=[...e.checks],e}function Fo(e,t){return new e(Po({type:`string`,...L(t)}))}function Io(e,t){return new e({type:`string`,format:`email`,check:`string_format`,abort:!1,...L(t)})}function Lo(e,t){return new e({type:`string`,format:`guid`,check:`string_format`,abort:!1,...L(t)})}function Ro(e,t){return new e({type:`string`,format:`uuid`,check:`string_format`,abort:!1,...L(t)})}function zo(e,t){return new e({type:`string`,format:`uuid`,check:`string_format`,abort:!1,version:`v4`,...L(t)})}function Bo(e,t){return new e({type:`string`,format:`uuid`,check:`string_format`,abort:!1,version:`v6`,...L(t)})}function Vo(e,t){return new e({type:`string`,format:`uuid`,check:`string_format`,abort:!1,version:`v7`,...L(t)})}function Ho(e,t){return new e({type:`string`,format:`url`,check:`string_format`,abort:!1,...L(t)})}function V(e,t){return new e({type:`string`,format:`emoji`,check:`string_format`,abort:!1,...L(t)})}function Uo(e,t){return new e({type:`string`,format:`nanoid`,check:`string_format`,abort:!1,...L(t)})}function Wo(e,t){return new e({type:`string`,format:`cuid`,check:`string_format`,abort:!1,...L(t)})}function Go(e,t){return new e({type:`string`,format:`cuid2`,check:`string_format`,abort:!1,...L(t)})}function Ko(e,t){return new e({type:`string`,format:`ulid`,check:`string_format`,abort:!1,...L(t)})}function qo(e,t){return new e({type:`string`,format:`xid`,check:`string_format`,abort:!1,...L(t)})}function Jo(e,t){return new e({type:`string`,format:`ksuid`,check:`string_format`,abort:!1,...L(t)})}function Yo(e,t){return new e({type:`string`,format:`ipv4`,check:`string_format`,abort:!1,...L(t)})}function Xo(e,t){return new e({type:`string`,format:`ipv6`,check:`string_format`,abort:!1,...L(t)})}function Zo(e,t){return new e({type:`string`,format:`cidrv4`,check:`string_format`,abort:!1,...L(t)})}function Qo(e,t){return new e({type:`string`,format:`cidrv6`,check:`string_format`,abort:!1,...L(t)})}function $o(e,t){return new e({type:`string`,format:`base64`,check:`string_format`,abort:!1,...L(t)})}function es(e,t){return new e({type:`string`,format:`base64url`,check:`string_format`,abort:!1,...L(t)})}function ts(e,t){return new e({type:`string`,format:`e164`,check:`string_format`,abort:!1,...L(t)})}function ns(e,t){return new e({type:`string`,format:`jwt`,check:`string_format`,abort:!1,...L(t)})}function rs(e,t){return new e({type:`string`,format:`datetime`,check:`string_format`,offset:!1,local:!1,precision:null,...L(t)})}function is(e,t){return new e({type:`string`,format:`date`,check:`string_format`,...L(t)})}function as(e,t){return new e({type:`string`,format:`time`,check:`string_format`,precision:null,...L(t)})}function os(e,t){return new e({type:`string`,format:`duration`,check:`string_format`,...L(t)})}function ss(e,t){return new e(Po({type:`number`,checks:[],...L(t)}))}function cs(e,t){return new e({type:`number`,check:`number_format`,abort:!1,format:`safeint`,...L(t)})}function ls(e,t){return new e({type:`boolean`,...L(t)})}function us(e,t){return new e({type:`null`,...L(t)})}function ds(e){return new e({type:`any`})}function fs(e){return new e({type:`unknown`})}function ps(e,t){return new e({type:`never`,...L(t)})}function ms(e,t){return new si({check:`less_than`,...L(t),value:e,inclusive:!1})}function hs(e,t){return new si({check:`less_than`,...L(t),value:e,inclusive:!0})}function gs(e,t){return new ci({check:`greater_than`,...L(t),value:e,inclusive:!1})}function _s(e,t){return new ci({check:`greater_than`,...L(t),value:e,inclusive:!0})}function vs(e,t){return new li({check:`multiple_of`,...L(t),value:e})}function ys(e,t){return new di({check:`max_length`,...L(t),maximum:e})}function bs(e,t){return new fi({check:`min_length`,...L(t),minimum:e})}function xs(e,t){return new pi({check:`length_equals`,...L(t),length:e})}function Ss(e,t){return new hi({check:`string_format`,format:`regex`,...L(t),pattern:e})}function Cs(e){return new gi({check:`string_format`,format:`lowercase`,...L(e)})}function ws(e){return new _i({check:`string_format`,format:`uppercase`,...L(e)})}function Ts(e,t){return new vi({check:`string_format`,format:`includes`,...L(t),includes:e})}function Es(e,t){return new yi({check:`string_format`,format:`starts_with`,...L(t),prefix:e})}function Ds(e,t){return new bi({check:`string_format`,format:`ends_with`,...L(t),suffix:e})}function Os(e){return new xi({check:`overwrite`,tx:e})}function ks(e){return Os(t=>t.normalize(e))}function As(){return Os(e=>e.trim())}function js(){return Os(e=>e.toLowerCase())}function Ms(){return Os(e=>e.toUpperCase())}function Ns(){return Os(e=>Yt(e))}function Ps(e,t,n){return new e({type:`array`,element:t,...L(n)})}function Fs(e,t,n){return new e({type:`custom`,check:`custom`,fn:t,...L(n)})}function Is(e,t){let n=Ls(t=>(t.addIssue=e=>{if(typeof e==`string`)t.issues.push(kn(e,t.value,n._zod.def));else{let r=e;r.fatal&&(r.continue=!1),r.code??=`custom`,`input`in r||(r.input=t.value),r.inst??=n,r.continue??=!n._zod.def.abort,t.issues.push(kn(r))}},e(t.value,t)),t);return n}function Ls(e,t){let n=new ii({check:`custom`,...L(t)});return n._zod.check=e,n}function Rs(e,...t){for(let n of t)for(let t of Reflect.ownKeys(n))Object.prototype.propertyIsEnumerable.call(n,t)&&Bt(e,t,n[t]);return e}function zs(e){let t=e?.target??`draft-2020-12`;return t===`draft-4`&&(t=`draft-04`),t===`draft-7`&&(t=`draft-07`),{processors:e.processors??{},metadataRegistry:e?.metadata??No,target:t,unrepresentable:e?.unrepresentable??`throw`,override:e?.override??(()=>{}),io:e?.io??`output`,counter:0,seen:new Map,sharedDefsExtractedFor:void 0,sharedEmitDoneFor:void 0,cycles:e?.cycles??`ref`,reused:e?.reused??`inline`,intersections:[],deferred:[],external:e?.external??void 0}}function Bs(e,t,n,r,i){let a=typeof t.unrepresentable==`function`?t.unrepresentable({zodSchema:e,path:r.path,message:i}):t.unrepresentable;if(a===`any`)return!1;if(a===void 0||a===`throw`)throw Error(i);return Object.assign(n,a),!0}function Vs(e,t,n={path:[],schemaPath:[]}){var r;let i=e._zod.def,a=t.seen.get(e);if(a)return a.count++,n.schemaPath.includes(e)&&(a.cycle=n.path),a.schema;let o={schema:{},count:1,cycle:void 0,path:n.path};t.seen.set(e,o),t.sharedDefsExtractedFor=void 0,t.sharedEmitDoneFor=void 0;let s=e._zod.toJSONSchema?.();if(s)o.schema=s;else{let r={...n,schemaPath:[...n.schemaPath,e],path:n.path};if(e._zod.processJSONSchema)e._zod.processJSONSchema(t,o.schema,r);else{let n=o.schema,a=t.processors[i.type];if(!a)throw Error(`[toJSONSchema]: Non-representable type encountered: ${i.type}`);a(e,t,n,r)}let a=e._zod.parent;a&&(o.ref||=a,Vs(a,t,r),t.seen.get(a).isParent=!0)}let c=t.metadataRegistry.get(e);return c&&Rs(o.schema,c),t.io===`input`&&Zs(e)&&(delete o.schema.examples,delete o.schema.default),t.io===`input`&&`_prefault`in o.schema&&((r=o.schema).default??(r.default=o.schema._prefault)),delete o.schema._prefault,t.seen.get(e).schema}function Hs(e){return e.replace(/~/g,`~0`).replace(/\//g,`~1`)}function Us(e,t){let n=e.seen.get(t);if(!n)throw Error(`Unprocessed schema. This is a bug in Zod.`);if(e.external&&e.sharedDefsExtractedFor===e.external)return;let r=new Map;for(let t of e.seen.entries()){let n=e.metadataRegistry.get(t[0])?.id;if(n){let e=r.get(n);if(e&&e!==t[0])throw Error(`Duplicate schema id "${n}" detected during JSON Schema conversion. Two different schemas cannot share the same id when converted together.`);r.set(n,t[0])}}let i=t=>{let r=e.target===`draft-2020-12`?`$defs`:`definitions`;if(e.external){let n=e.external.registry.get(t[0])?.id,i=e.external.uri??(e=>e);if(n)return{ref:i(n)};let a=t[1].defId??t[1].schema.id??`schema${e.counter++}`;return t[1].defId=a,{defId:a,ref:`${i(`__shared`)}#/${r}/${Hs(a)}`}}let i=`#/${r}/`;if(t[1]===n&&!t[1].schema.id)return{ref:`#`};let a=t[1].schema.id??`__schema${e.counter++}`;return{defId:a,ref:i+Hs(a)}},a=e=>{if(e[1].schema.$ref)return;let t=e[1],{ref:n,defId:r}=i(e);t.def={...t.schema},r&&(t.defId=r);let a=t.schema;for(let e in a)delete a[e];a.$ref=n};if(e.cycles===`throw`)for(let t of e.seen.entries()){let e=t[1];if(e.cycle)throw Error(`Cycle detected: #/${e.cycle?.join(`/`)}/<root>
|
|
63
|
+
|
|
64
|
+
Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.`)}for(let n of e.seen.entries()){let r=n[1];if(t===n[0])a(n);else{if(e.external){let r=e.external.registry.get(n[0])?.id;if(t!==n[0]&&r){a(n);continue}}(e.metadataRegistry.get(n[0])?.id||r.cycle||r.count>1&&e.reused===`ref`)&&a(n)}}e.external&&(e.sharedDefsExtractedFor=e.external)}function Ws(e){let t=e.anyOf;if(!Array.isArray(t)||t.length===0||e.type!==void 0)return;let n=[];for(let e of t){if(!e||typeof e!=`object`)return;Ws(e);let t=Object.keys(e);if(t.length!==1||t[0]!==`type`)return;let r=e.type;for(let e of Array.isArray(r)?r:[r]){if(typeof e!=`string`)return;n.includes(e)||n.push(e)}}delete e.anyOf,e.type=n.length===1?n[0]:n}var Gs=new Set([`type`,`properties`,`required`,`additionalProperties`]),Ks=[`oneOf`,`anyOf`];function qs(e){let t=e.additionalProperties;return t===void 0||t===!1||typeof t!=`object`||!t?null:Object.keys(t).length?t:null}function Js(e){let t=[];for(let n of e){if(typeof n!=`object`||n.type!==`object`)return null;for(let e in n)if(!Gs.has(e))return null;t.push(n)}let n={},r=new Set;for(let e of t){for(let r in e.properties){if(Object.prototype.hasOwnProperty.call(n,r))continue;let e=[];for(let n of t){let t=n.properties?.[r]??qs(n);t!=null&&(e.some(e=>JSON.stringify(e)===JSON.stringify(t))||e.push(t))}Bt(n,r,e.length===1?e[0]:Js(e)??{allOf:e})}for(let t of e.required??[])r.add(t)}let i={type:`object`,properties:n};if(r.size&&(i.required=[...r]),t.every(e=>e.additionalProperties===!1))i.additionalProperties=!1;else{let e=[];for(let n of t){let t=qs(n);t&&!e.some(e=>JSON.stringify(e)===JSON.stringify(t))&&e.push(t)}e.length===1?i.additionalProperties=e[0]:e.length>1&&(i.additionalProperties={allOf:e})}return i}function Ys(e){let t=e.allOf;if(!Array.isArray(t)||t.length<2)return;for(let t of Gs)if(t in e)return;let n=t.filter(e=>Ks.some(t=>Array.isArray(e[t]))),r=null;if(!n.length)r=Js(t);else{let e=n[0],i=Ks.find(t=>Array.isArray(e[t]));if(Object.keys(e).length!==1)return;let a=t.filter(t=>t!==e),o=e[i].map(e=>Js([...a,e]));if(o.some(e=>!e))return;r={[i]:o}}r&&(delete e.allOf,Rs(e,r))}function Xs(e,t){let n=e.seen.get(t);if(!n)throw Error(`Unprocessed schema. This is a bug in Zod.`);let r=t=>{let n=e.seen.get(t);if(n.ref===null)return;let i=n.def??n.schema,a={...i},o=n.ref;if(n.ref=null,o){r(o);let n=e.seen.get(o),s=n.schema;if(s.$ref&&(e.target===`draft-07`||e.target===`draft-04`||e.target===`openapi-3.0`)?(i.allOf=i.allOf??[],i.allOf.push(s)):Rs(i,s),Rs(i,a),t._zod.parent===o)for(let e in i)e!==`$ref`&&e!==`allOf`&&(e in a||delete i[e]);if(s.$ref&&n.def)for(let e in i)e!==`$ref`&&e!==`allOf`&&e in n.def&&JSON.stringify(i[e])===JSON.stringify(n.def[e])&&delete i[e]}let s=t._zod.parent;if(s&&s!==o){r(s);let t=e.seen.get(s);if(t?.schema.$ref&&(i.$ref=t.schema.$ref,t.def))for(let e in i)e!==`$ref`&&e!==`allOf`&&e in t.def&&JSON.stringify(i[e])===JSON.stringify(t.def[e])&&delete i[e]}e.override({zodSchema:t,jsonSchema:i,path:n.path??[]})};if(!e.external||e.sharedEmitDoneFor!==e.external){for(let t of[...e.seen.entries()].reverse())r(t[0]);if(e.target!==`openapi-3.0`)for(let t of e.seen.entries())Ws(t[1].def??t[1].schema);for(let t of e.deferred)t();if(e.intersections.length){let t=new Map;for(let n of e.seen.values())for(let e of[n.schema,n.def]){let n=e?.allOf;if(!Array.isArray(n))continue;let r=t.get(n);r?r.push(e):t.set(n,[e])}for(let n of e.intersections)for(let e of t.get(n)??[])Ys(e)}}let i={};if(e.target===`draft-2020-12`?i.$schema=`https://json-schema.org/draft/2020-12/schema`:e.target===`draft-07`?i.$schema=`http://json-schema.org/draft-07/schema#`:e.target===`draft-04`?i.$schema=`http://json-schema.org/draft-04/schema#`:e.target,e.external?.uri){let n=e.external.registry.get(t)?.id;if(!n)throw Error("Schema is missing an `id` property");i.$id=e.external.uri(n)}Rs(i,n.defId?n.schema:n.def??n.schema);let a=e.metadataRegistry.get(t)?.id;a!==void 0&&i.id===a&&delete i.id;let o=e.external?.defs??{};if(!e.external||e.sharedEmitDoneFor!==e.external)for(let t of e.seen.entries()){let e=t[1];e.def&&e.defId&&(e.def.id===e.defId&&delete e.def.id,Bt(o,e.defId,e.def))}e.external&&(e.sharedEmitDoneFor=e.external),e.external||Object.keys(o).length>0&&(e.target===`draft-2020-12`?i.$defs=o:i.definitions=o);try{let n=JSON.parse(JSON.stringify(i));return Object.defineProperty(n,"~standard",{value:{...t[`~standard`],jsonSchema:{input:$s(t,`input`,e.processors),output:$s(t,`output`,e.processors)}},enumerable:!1,writable:!1}),n}catch{throw Error(`Error converting schema to JSON.`)}}function Zs(e,t){let n=t??{seen:new Set};if(n.seen.has(e))return!1;n.seen.add(e);let r=e._zod.def;if(r.type===`transform`)return!0;if(r.type===`array`)return Zs(r.element,n);if(r.type===`set`)return Zs(r.valueType,n);if(r.type===`lazy`)return Zs(r.getter(),n);if(r.type===`promise`||r.type===`optional`||r.type===`nonoptional`||r.type===`nullable`||r.type===`readonly`||r.type==="default"||r.type===`prefault`||r.type===`catch`)return Zs(r.innerType,n);if(r.type===`intersection`)return Zs(r.left,n)||Zs(r.right,n);if(r.type===`record`||r.type===`map`)return Zs(r.keyType,n)||Zs(r.valueType,n);if(r.type===`pipe`)return e._zod.traits.has(`$ZodCodec`)?!0:Zs(r.in,n)||Zs(r.out,n);if(r.type===`object`){for(let e in r.shape)if(Zs(r.shape[e],n))return!0;return!1}if(r.type===`union`){for(let e of r.options)if(Zs(e,n))return!0;return!1}if(r.type===`tuple`){for(let e of r.items)if(Zs(e,n))return!0;return!!(r.rest&&Zs(r.rest,n))}return!1}var Qs=(e,t={})=>n=>{let r=zs({...n,processors:t});return Vs(e,r),Us(r,e),Xs(r,e)},$s=(e,t,n={})=>r=>{let{libraryOptions:i,target:a}=r??{},o=zs({...i??{},target:a,io:t,processors:n});return Vs(e,o),Us(o,e),Xs(o,e)},ec=(e,t,n)=>{(e[t]===void 0||n>e[t])&&(e[t]=n)},tc=(e,t,n)=>{(e[t]===void 0||n<e[t])&&(e[t]=n)},nc=(e,t)=>{ec(e,`minimum`,t),tc(e,`maximum`,t)},rc=(e,t)=>{e.multipleOf??=[],e.multipleOf.includes(t)||e.multipleOf.push(t)},ic=(e,t)=>{e.patterns??=new Set,e.patterns.add(t)},ac=(e,t)=>{e.mime=e.mime?e.mime.filter(e=>t.includes(e)):[...t]},oc=(e,t)=>{e.format=t,t.includes(`int`)&&(e.isInt=!0)},sc=(e,t)=>ec(e,`minimum`,t.minimum),cc=(e,t)=>tc(e,`maximum`,t.maximum),lc=e=>(t,n)=>{oc(t,n.format);let[r,i]=e[n.format];ec(t,`minimum`,r),tc(t,`maximum`,i)},uc={greater_than:(e,t)=>ec(e,t.inclusive?`minimum`:`exclusiveMinimum`,t.value),less_than:(e,t)=>tc(e,t.inclusive?`maximum`:`exclusiveMaximum`,t.value),multiple_of:(e,t)=>rc(e,t.value),number_format:lc(sn),bigint_format:lc(cn),min_length:sc,max_length:cc,length_equals:(e,t)=>nc(e,t.length),min_size:sc,max_size:cc,size_equals:(e,t)=>nc(e,t.size),string_format:(e,t)=>{oc(e,t.format),t.pattern&&ic(e,t.pattern),(t.format===`base64`||t.format===`base64url`)&&(e.contentEncoding=t.format),(t.local||t.precision===-1)&&(e.laxFormat=!0)},mime_type:(e,t)=>ac(e,t.mime)};function dc(e){let t={},n=e._zod.def,r=e._zod.traits.has(`$ZodCheck`)?[e,...n.checks??[]]:n.checks??[];for(let e of r)uc[e._zod.def.check]?.(t,e._zod.def);let i=e._zod.bag;i.minimum!==void 0&&ec(t,`minimum`,i.minimum),i.exclusiveMinimum!==void 0&&ec(t,`exclusiveMinimum`,i.exclusiveMinimum),i.maximum!==void 0&&tc(t,`maximum`,i.maximum),i.exclusiveMaximum!==void 0&&tc(t,`exclusiveMaximum`,i.exclusiveMaximum),i.multipleOf!==void 0&&rc(t,i.multipleOf),i.format!==void 0&&(t.format??=i.format,i.format.includes(`int`)&&(t.isInt=!0)),i.mime&&ac(t,i.mime);for(let e of i.patterns??[])ic(t,e);return t}var fc={guid:`uuid`,url:`uri`,datetime:`date-time`,json_string:`json-string`,regex:``},pc=new Map([[aa,Vr],[sa,Hr]]),mc=e=>pc.get(e)??e,hc=(e,t,n,r)=>{let i=n;i.type=`string`;let{minimum:a,maximum:o,format:s,patterns:c,contentEncoding:l,laxFormat:u}=dc(e);if(typeof a==`number`&&(i.minLength=a),typeof o==`number`&&(i.maxLength=o),s&&(i.format=fc[s]??s,i.format===``&&delete i.format,(s===`time`||u)&&delete i.format),l&&(i.contentEncoding=l),c&&c.size>0){let e=[...c].map(mc);e.length===1?i.pattern=e[0].source:e.length>1&&(i.allOf=[...e.map(e=>({...t.target===`draft-07`||t.target===`draft-04`||t.target===`openapi-3.0`?{type:`string`}:{},pattern:e.source}))])}},gc=(e,t,n,r)=>{let i=n,{minimum:a,maximum:o,multipleOf:s,exclusiveMaximum:c,exclusiveMinimum:l,isInt:u}=dc(e);i.type=u?`integer`:`number`;let d=typeof l==`number`&&l>=(a??-1/0),f=typeof c==`number`&&c<=(o??1/0),p=t.target===`draft-04`||t.target===`openapi-3.0`;if(d?p?(i.minimum=l,i.exclusiveMinimum=!0):i.exclusiveMinimum=l:typeof a==`number`&&(i.minimum=a),f?p?(i.maximum=c,i.exclusiveMaximum=!0):i.exclusiveMaximum=c:typeof o==`number`&&(i.maximum=o),s){let n=new Set;for(let a of s)Number.isFinite(a)&&a!==0?n.add(Math.abs(a)):Bs(e,t,i,r,`A multipleOf divisor of ${a} cannot be represented in JSON Schema`);let[a,...o]=n;a!==void 0&&(i.multipleOf=a),o.length&&(i.allOf=[...i.allOf??[],...o.map(e=>({multipleOf:e}))])}},_c=(e,t,n,r)=>{n.type=`boolean`},vc=(e,t,n,r)=>{t.target===`openapi-3.0`?(n.type=`string`,n.nullable=!0,n.enum=[null]):n.type=`null`},yc=(e,t,n,r)=>{n.not={}},bc=(e,t,n,r)=>{let i=e._zod.def,a=At(i.entries);a.length===0?n.not={}:(a.every(e=>typeof e==`number`)&&(n.type=`number`),a.every(e=>typeof e==`string`)&&(n.type=`string`),n.enum=a)},xc=(e,t,n,r)=>{let i=e._zod.def;if(i.values.length===0){n.not={};return}let a=[];for(let o of i.values)if(o===void 0){if(Bs(e,t,n,r,"Literal `undefined` cannot be represented in JSON Schema"))return}else if(typeof o==`bigint`){if(Bs(e,t,n,r,`BigInt literals cannot be represented in JSON Schema`))return;a.push(Number(o))}else a.push(o);if(a.length!==0){if(a.length===1){let e=a[0];n.type=e===null?`null`:typeof e,t.target===`draft-04`||t.target===`openapi-3.0`?n.enum=[e]:n.const=e}else a.every(e=>typeof e==`number`)&&(n.type=`number`),a.every(e=>typeof e==`string`)&&(n.type=`string`),a.every(e=>typeof e==`boolean`)&&(n.type=`boolean`),a.every(e=>e===null)&&(n.type=`null`),n.enum=a}},Sc=(e,t,n,r)=>{Bs(e,t,n,r,`Custom types cannot be represented in JSON Schema`)},Cc=(e,t,n,r)=>{Bs(e,t,n,r,`Transforms cannot be represented in JSON Schema`)},wc=(e,t,n,r)=>{let i=n,a=e._zod.def,{minimum:o,maximum:s}=dc(e);typeof o==`number`&&(i.minItems=o),typeof s==`number`&&(i.maxItems=s),i.type=`array`,i.items=Vs(a.element,t,{...r,path:[...r.path,`items`]})};function Tc(e){let t=e._zod.def;return t.type===`pipe`&&t.in._zod.traits.has(`$ZodTransform`)?Tc(t.out):t.type===`catch`?Tc(t.innerType):e._zod.optin}var Ec=(e,t,n,r)=>{let i=n,a=e._zod.def,o=a.shape;if(Object.getOwnPropertySymbols(o).length&&Bs(e,t,i,r,`Symbol keys cannot be represented in JSON Schema`))return;i.type=`object`,i.properties={};for(let e in o)Bt(i.properties,e,Vs(o[e],t,{...r,path:[...r.path,`properties`,e]}));let s=[];for(let e of Object.keys(o)){let n=a.shape[e];(t.io===`input`?Tc(n)===void 0:n._zod.optout===void 0)&&s.push(e)}s.length>0&&(i.required=s),a.catchall?._zod.def.type===`never`?i.additionalProperties=!1:a.catchall?a.catchall&&(i.additionalProperties=Vs(a.catchall,t,{...r,path:[...r.path,`additionalProperties`]})):t.io===`output`&&(i.additionalProperties=!1)},Dc=(e,t,n,r)=>{let i=e._zod.def,a=i.inclusive===!1,o=i.options.map((e,n)=>Vs(e,t,{...r,path:[...r.path,a?`oneOf`:`anyOf`,n]}));a?n.oneOf=o:n.anyOf=o},Oc=(e,t,n,r)=>{let i=e._zod.def,a=Vs(i.left,t,{...r,path:[...r.path,`allOf`,0]}),o=Vs(i.right,t,{...r,path:[...r.path,`allOf`,1]}),s=e=>`allOf`in e&&Object.keys(e).length===1,c=[...s(a)?a.allOf:[a],...s(o)?o.allOf:[o]];n.allOf=c,t.intersections.push(c)},kc=(e,t,n,r)=>{let i=n,a=e._zod.def;i.type=`array`;let o=t.target===`draft-2020-12`?`prefixItems`:`items`,s=t.target===`draft-2020-12`||t.target===`openapi-3.0`?`items`:`additionalItems`,c=a.items.map((e,n)=>Vs(e,t,{...r,path:[...r.path,o,n]})),l=a.rest?Vs(a.rest,t,{...r,path:[...r.path,s,...t.target===`openapi-3.0`?[a.items.length]:[]]}):null,u=a.items.length;for(;u>0;){let e=a.items[u-1];if(!(t.io===`input`?Tc(e)!==void 0:e._zod.optout===`optional`))break;u--}let d=a.items.length,f=!a.rest;t.target===`draft-2020-12`?(i.prefixItems=c,f?i.items=!1:l&&(i.items=l),u>0&&(i.minItems=u),f&&(i.maxItems=d)):t.target===`openapi-3.0`?(i.items={anyOf:c},l&&i.items.anyOf.push(l),u>0&&(i.minItems=u),f&&(i.maxItems=d)):(i.items=c,f?i.additionalItems=!1:l&&(i.additionalItems=l),u>0&&(i.minItems=u),f&&(i.maxItems=d));let{minimum:p,maximum:m}=dc(e);typeof p==`number`&&(i.minItems=p),typeof m==`number`&&(i.maxItems=m)};function Ac(e,t,n){if(t.$ref){if(n.has(t))return t;n.add(t);let r=e.get(t)?.def;if(!r)return t;let i=Ac(e,r,n);return i===r?t:i}for(let r of[`anyOf`,`oneOf`]){let i=t[r];if(!Array.isArray(i))continue;let a=i.map(t=>Ac(e,t,n));a.some((e,t)=>e!==i[t])&&(t={...t,[r]:a})}let r=Array.isArray(t.type)?t.type:[t.type],i=!r.includes(`string`)&&r.some(e=>e===`number`||e===`integer`),a=t.enum??(t.const===void 0?void 0:[t.const]);if(!i&&!a?.some(e=>typeof e==`number`))return t;let{minimum:o,maximum:s,exclusiveMinimum:c,exclusiveMaximum:l,multipleOf:u,format:d,id:f,...p}=t;return p.enum?p.enum=p.enum.map(e=>typeof e==`number`?String(e):e):typeof p.const==`number`&&(p.const=String(p.const)),i&&(p.type=`string`,a||(p.pattern=(r.includes(`number`)?$r:Qr).source)),p}var jc=new WeakMap;function Mc(e){let t=new Map;for(let n of e.seen.values())n.def&&!t.has(n.schema)&&t.set(n.schema,n);let n=new Map;for(let r of jc.get(e)??[]){let i=e.seen.get(r),a=(i?.def??i?.schema)?.propertyNames;if(!a||a===!0||n.has(a))continue;let o=Ac(t,a,new Set);o!==a&&n.set(a,o)}if(n.size)for(let t of e.seen.values())for(let e of[t.schema,t.def]){let t=e&&n.get(e.propertyNames);t&&(e.propertyNames=t)}}var Nc=(e,t,n,r)=>{let i=n,a=e._zod.def;i.type=`object`;let o=a.keyType,s=dc(o).patterns;if(a.mode===`loose`&&s&&s.size>0){let e=Vs(a.valueType,t,{...r,path:[...r.path,`patternProperties`,`*`]});i.patternProperties={};for(let t of s)Bt(i.patternProperties,mc(t).source,e)}else{if(t.target===`draft-07`||t.target===`draft-2020-12`){i.propertyNames=Vs(a.keyType,t,{...r,path:[...r.path,`propertyNames`]});let n=jc.get(t);n||(n=[],jc.set(t,n),t.deferred.push(()=>Mc(t))),n.push(e)}i.additionalProperties=Vs(a.valueType,t,{...r,path:[...r.path,`additionalProperties`]})}let c=o._zod.values,l=t.io===`input`&&Tc(a.valueType)!==void 0;if(c&&!a.partial&&!l){let e=[...c].filter(e=>typeof e==`string`||typeof e==`number`);e.length>0&&(i.required=e.map(String))}},Pc=(e,t,n,r)=>{let i=e._zod.def,a=Vs(i.innerType,t,r),o=t.seen.get(e);t.target===`openapi-3.0`?(o.ref=i.innerType,n.nullable=!0):n.anyOf=[a,{type:`null`}]},Fc=(e,t,n,r)=>{let i=e._zod.def;Vs(i.innerType,t,r);let a=t.seen.get(e);a.ref=i.innerType},Ic=Symbol();function Lc(e,t,n,r,i){let a=!1,o=JSON.stringify(e,(e,t)=>typeof t==`bigint`?(a=!0,null):t);return a?(Bs(t,n,r,i,`BigInt defaults cannot be represented in JSON Schema`),Ic):JSON.parse(o)}var Rc=(e,t,n,r)=>{let i=e._zod.def;Vs(i.innerType,t,r);let a=t.seen.get(e);a.ref=i.innerType;let o=Lc(i.defaultValue,e,t,n,r);o!==Ic&&(n.default=o)},zc=(e,t,n,r)=>{let i=e._zod.def;Vs(i.innerType,t,r);let a=t.seen.get(e);if(a.ref=i.innerType,t.io!==`input`)return;let o=Lc(i.defaultValue,e,t,n,r);o!==Ic&&(n._prefault=o)},Bc=(e,t,n,r)=>{let i=e._zod.def;Vs(i.innerType,t,r);let a=t.seen.get(e);a.ref=i.innerType;let o;try{o=i.catchValue(void 0)}catch{Bs(e,t,n,r,`Dynamic catch values are not supported in JSON Schema`);return}n.default=o},Vc=(e,t,n,r)=>{let i=e._zod.def,a=i.in._zod.traits.has(`$ZodTransform`),o=t.io===`input`?a?i.out:i.in:i.out;Vs(o,t,r);let s=t.seen.get(e);s.ref=o},Hc=(e,t,n,r)=>{let i=e._zod.def;Vs(i.innerType,t,r);let a=t.seen.get(e);a.ref=i.innerType,n.readOnly=!0},Uc=(e,t,n,r)=>{let i=e._zod.def;Vs(i.innerType,t,r);let a=t.seen.get(e);a.ref=i.innerType},Wc=(e,t,n,r)=>{let i=e._zod.innerType;Vs(i,t,r);let a=t.seen.get(e);a.ref=i},Gc=new WeakSet([Object.prototype,Error.prototype]);function Kc(e,t,n){Object.defineProperty(e,t,{configurable:!0,enumerable:!1,get(){let e=n(this);return Object.defineProperty(this,t,{value:e,configurable:!0,writable:!0}),e},set(e){Object.defineProperty(this,t,{value:e,configurable:!0,writable:!0})}})}var qc=z(`ZodError`,(e,t)=>{tr.init(e,t),e.name=`ZodError`;let n=Object.getPrototypeOf(e);Gc.has(n)||(Gc.add(n),Kc(n,`format`,e=>t=>ir(e,t)),Kc(n,`flatten`,e=>t=>rr(e,t)),Kc(n,`addIssue`,e=>t=>{e.issues.push(t),e.message=JSON.stringify(e.issues,Mt,2)}),Kc(n,`addIssues`,e=>t=>{e.issues.push(...t),e.message=JSON.stringify(e.issues,Mt,2)}),Object.defineProperty(n,"isEmpty",{configurable:!0,enumerable:!1,get(){return this.issues.length===0}}))},void 0,{Parent:Error}),Jc=or(qc),Yc=sr(qc),Xc=cr(qc),Zc=ur(qc),Qc=gr(qc),$c=_r(qc),el=vr(qc),tl=yr(qc),nl=br(qc),rl=xr(qc),il=Sr(qc),al=Cr(qc);function ol(){Jn.localeError||Yn(ko())}function sl(){Jn.memoizer||Yn({memoizer:Eo()})}var cl=z(`ZodType`,(e,t)=>(ol(),wi.init(e,t),e.def=t,e.type=t.type,e),{check(...e){let t=this.def;return this.clone(qt(t,{checks:[...t.checks??[],...e.map(e=>typeof e==`function`?{_zod:{check:e,def:{check:`custom`},onattach:[]}}:e)]}),{parent:!0})},with(...e){return this.check(...e)},clone(e,t){return rn(this,e,t)},brand(){return this},register(e,t){return e.add(this,t),this},refine(e,t){return this.check(Nu(e,t))},superRefine(e,t){return this.check(Pu(e,t))},overwrite(e){return this.check(Os(e))},optional(){return fu(this)},exactOptional(){return mu(this)},nullable(){return gu(this)},nullish(){return fu(gu(this))},nonoptional(e){return Su(this,e)},array(){return Yl(this)},or(e){return Ql([this,e])},and(e){return nu(this,e)},transform(e){return Eu(this,uu(e))},default(e){return vu(this,e)},prefault(e){return bu(this,e)},catch(e){return wu(this,e)},pipe(e){return Eu(this,e)},readonly(){return ku(this)},describe(e){let t=this.clone();return No.add(t,{description:e}),t},meta(...e){if(e.length===0)return No.get(this);let t=this.clone();return No.add(t,e[0]),t},isOptional(){return this.safeParse(void 0).success},isNullable(){return this.safeParse(null).success},apply(e,...t){return t.length===0?e(this):e(this,...t)},get"~standard"(){return Mn(this,`~standard`,{...Di(this),jsonSchema:{input:$s(this,`input`),output:$s(this,`output`)}})},set"~standard"(e){jn(this,`~standard`,e)},parse:function e(t,n){return Jc(this,t,n,{callee:e})},parseAsync:async function e(t,n){return await Yc(this,t,n,{callee:e})},safeParse(e,t){return Xc(this,e,t)},async safeParseAsync(e,t){return Zc(this,e,t)},get spa(){return this?.safeParseAsync},set spa(e){jn(this,`spa`,e)},validate(e,t){return pr(this,e,t)},validateAsync(e,t){return hr(this,e,t)},encode:function e(t,n){return Qc(this,t,n,{callee:e})},decode:function e(t,n){return $c(this,t,n,{callee:e})},encodeAsync:async function e(t,n){return await el(this,t,n,{callee:e})},decodeAsync:async function e(t,n){return await tl(this,t,n,{callee:e})},safeEncode(e,t){return nl(this,e,t)},safeDecode(e,t){return rl(this,e,t)},async safeEncodeAsync(e,t){return il(this,e,t)},async safeDecodeAsync(e,t){return al(this,e,t)},toJSONSchema(e){return Qs(this,{})(e)},get description(){return No.get(this)?.description},get _def(){return this._zod.def}}),ll=z(`_ZodString`,(e,t)=>{Oi.init(e,t),cl.init(e,t),e._zod.processJSONSchema=(t,n,r)=>hc(e,t,n,r)},Nn({format:e=>dc(e).format??null,minLength:e=>dc(e).minimum??null,maxLength:e=>dc(e).maximum??null},{regex(...e){return this.check(Ss(...e))},includes(...e){return this.check(Ts(...e))},startsWith(...e){return this.check(Es(...e))},endsWith(...e){return this.check(Ds(...e))},min(...e){return this.check(bs(...e))},max(...e){return this.check(ys(...e))},length(...e){return this.check(xs(...e))},nonempty(...e){return this.check(bs(1,...e))},lowercase(e){return this.check(Cs(e))},uppercase(e){return this.check(ws(e))},trim(){return this.check(As())},normalize(...e){return this.check(ks(...e))},toLowerCase(){return this.check(js())},toUpperCase(){return this.check(Ms())},slugify(){return this.check(Ns())}})),ul=z(`ZodString`,(e,t)=>{Oi.init(e,t),ll.init(e,t)},{email(e){return this.check(Io(gl,e))},url(e){return this.check(Ho(yl,e))},jwt(e){return this.check(ns(Pl,e))},emoji(e){return this.check(V(bl,e))},guid(e){return this.check(Lo(_l,e))},uuid(e){return this.check(Ro(vl,e))},uuidv4(e){return this.check(zo(vl,e))},uuidv6(e){return this.check(Bo(vl,e))},uuidv7(e){return this.check(Vo(vl,e))},nanoid(e){return this.check(Uo(xl,e))},cuid(e){return this.check(Wo(Sl,e))},cuid2(e){return this.check(Go(Cl,e))},ulid(e){return this.check(Ko(wl,e))},base64(e){return this.check($o(jl,e))},base64url(e){return this.check(es(Ml,e))},xid(e){return this.check(qo(Tl,e))},ksuid(e){return this.check(Jo(El,e))},ipv4(e){return this.check(Yo(Dl,e))},ipv6(e){return this.check(Xo(Ol,e))},cidrv4(e){return this.check(Zo(kl,e))},cidrv6(e){return this.check(Qo(Al,e))},e164(e){return this.check(ts(Nl,e))},datetime(e){return this.check(rs(fl,e))},date(e){return this.check(is(pl,e))},time(e){return this.check(as(ml,e))},duration(e){return this.check(os(hl,e))}});function H(e){return Fo(ul,e)}var dl=z(`ZodStringFormat`,(e,t)=>{ki.init(e,t),ll.init(e,t)}),fl=z(`ZodISODateTime`,(e,t)=>{Ji.init(e,t),dl.init(e,t)}),pl=z(`ZodISODate`,(e,t)=>{Yi.init(e,t),dl.init(e,t)}),ml=z(`ZodISOTime`,(e,t)=>{Xi.init(e,t),dl.init(e,t)}),hl=z(`ZodISODuration`,(e,t)=>{Zi.init(e,t),dl.init(e,t)}),gl=z(`ZodEmail`,(e,t)=>{Mi.init(e,t),dl.init(e,t)}),_l=z(`ZodGUID`,(e,t)=>{Ai.init(e,t),dl.init(e,t)}),vl=z(`ZodUUID`,(e,t)=>{ji.init(e,t),dl.init(e,t)}),yl=z(`ZodURL`,(e,t)=>{Bi.init(e,t),dl.init(e,t)}),bl=z(`ZodEmoji`,(e,t)=>{Vi.init(e,t),dl.init(e,t)}),xl=z(`ZodNanoID`,(e,t)=>{Hi.init(e,t),dl.init(e,t)}),Sl=z(`ZodCUID`,(e,t)=>{Ui.init(e,t),dl.init(e,t)}),Cl=z(`ZodCUID2`,(e,t)=>{Wi.init(e,t),dl.init(e,t)}),wl=z(`ZodULID`,(e,t)=>{Gi.init(e,t),dl.init(e,t)}),Tl=z(`ZodXID`,(e,t)=>{Ki.init(e,t),dl.init(e,t)}),El=z(`ZodKSUID`,(e,t)=>{qi.init(e,t),dl.init(e,t)}),Dl=z(`ZodIPv4`,(e,t)=>{Qi.init(e,t),dl.init(e,t)}),Ol=z(`ZodIPv6`,(e,t)=>{ta.init(e,t),dl.init(e,t)}),kl=z(`ZodCIDRv4`,(e,t)=>{na.init(e,t),dl.init(e,t)}),Al=z(`ZodCIDRv6`,(e,t)=>{ia.init(e,t),dl.init(e,t)}),jl=z(`ZodBase64`,(e,t)=>{oa.init(e,t),dl.init(e,t)}),Ml=z(`ZodBase64URL`,(e,t)=>{la.init(e,t),dl.init(e,t)}),Nl=z(`ZodE164`,(e,t)=>{ua.init(e,t),dl.init(e,t)}),Pl=z(`ZodJWT`,(e,t)=>{fa.init(e,t),dl.init(e,t)}),Fl=z(`ZodNumber`,(e,t)=>{pa.init(e,t),cl.init(e,t),e._zod.processJSONSchema=(t,n,r)=>gc(e,t,n,r),e.isFinite=!0},Nn({minValue:e=>{let{minimum:t,exclusiveMinimum:n}=dc(e);return Math.max(t??-1/0,n??-1/0)},maxValue:e=>{let{maximum:t,exclusiveMaximum:n}=dc(e);return Math.min(t??1/0,n??1/0)},isInt:e=>{let{isInt:t,multipleOf:n}=dc(e);return!!t||!!n?.some(Number.isSafeInteger)},format:e=>dc(e).format??null},{gt(e,t){return this.check(gs(e,t))},gte(e,t){return this.check(_s(e,t))},min(e,t){return this.check(_s(e,t))},lt(e,t){return this.check(ms(e,t))},lte(e,t){return this.check(hs(e,t))},max(e,t){return this.check(hs(e,t))},int(e){return this.check(Ll(e))},safe(e){return this.check(Ll(e))},positive(e){return this.check(gs(0,e))},nonnegative(e){return this.check(_s(0,e))},negative(e){return this.check(ms(0,e))},nonpositive(e){return this.check(hs(0,e))},multipleOf(e,t){return this.check(vs(e,t))},step(e,t){return this.check(vs(e,t))},finite(){return this}}));function U(e){return ss(Fl,e)}var Il=z(`ZodNumberFormat`,(e,t)=>{ma.init(e,t),Fl.init(e,t)});function Ll(e){return cs(Il,e)}var Rl=z(`ZodBoolean`,(e,t)=>{ha.init(e,t),cl.init(e,t),e._zod.processJSONSchema=(t,n,r)=>_c(e,t,n,r)});function zl(e){return ls(Rl,e)}var Bl=z(`ZodNull`,(e,t)=>{ga.init(e,t),cl.init(e,t),e._zod.processJSONSchema=(t,n,r)=>vc(e,t,n,r)});function Vl(e){return us(Bl,e)}var Hl=z(`ZodAny`,(e,t)=>{_a.init(e,t),cl.init(e,t),e._zod.processJSONSchema=(e,t,n)=>void 0});function Ul(){return ds(Hl)}var Wl=z(`ZodUnknown`,(e,t)=>{va.init(e,t),cl.init(e,t),e._zod.processJSONSchema=(e,t,n)=>void 0});function Gl(){return fs(Wl)}var Kl=z(`ZodNever`,(e,t)=>{ya.init(e,t),cl.init(e,t),e._zod.processJSONSchema=(t,n,r)=>yc(e,t,n,r)});function ql(e){return ps(Kl,e)}var Jl=z(`ZodArray`,(e,t)=>{sl(),Ca.init(e,t),cl.init(e,t),e._zod.processJSONSchema=(t,n,r)=>wc(e,t,n,r),e.element=t.element},{min(e,t){return this.check(bs(e,t))},nonempty(e){return this.check(bs(1,e))},max(e,t){return this.check(ys(e,t))},length(e,t){return this.check(xs(e,t))},unwrap(){return this.element}});function Yl(e,t){return Ps(Jl,e,t)}var Xl=z(`ZodObject`,(e,t)=>{sl(),ka.init(e,t),cl.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Ec(e,t,n,r),zn(e,`shape`,e=>e._zod.def.shape,!1)},{keyof(){return G(Object.keys(this._zod.def.shape))},catchall(e){return this.clone(qt(this._zod.def,{catchall:e}))},passthrough(){return this.clone(qt(this._zod.def,{catchall:Gl()}))},loose(){return this.clone(qt(this._zod.def,{catchall:Gl()}))},strict(){return this.clone(qt(this._zod.def,{catchall:ql()}))},strip(){return this.clone(qt(this._zod.def,{catchall:void 0}))},extend(e){return fn(this,e)},safeExtend(e){return mn(this,e)},merge(e){return hn(this,e)},pick(e){return ln(this,e)},omit(e){return dn(this,e)},partial(...e){return gn(du,this,e[0])},exactPartial(...e){return gn(pu,this,e[0],`exactPartial`)},required(...e){return _n(xu,this,e[0])}});function W(e,t){return new Xl({type:`object`,shape:e??{},...L(t)})}var Zl=z(`ZodUnion`,(e,t)=>{ja.init(e,t),cl.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Dc(e,t,n,r),e.options=t.options});function Ql(e,t){return new Zl({type:`union`,options:e,...L(t)})}var $l=z(`ZodDiscriminatedUnion`,(e,t)=>{Zl.init(e,t),Na.init(e,t)});function eu(e,t,n){return new $l({type:`union`,options:t,discriminator:e,...L(n)})}var tu=z(`ZodIntersection`,(e,t)=>{Pa.init(e,t),cl.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Oc(e,t,n,r)});function nu(e,t){return new tu({type:`intersection`,left:e,right:t})}var ru=z(`ZodTuple`,(e,t)=>{sl(),La.init(e,t),cl.init(e,t),e._zod.processJSONSchema=(t,n,r)=>kc(e,t,n,r)},{rest(e){return this.clone({...this._zod.def,rest:e})},partial(){let e=this._zod.def;if(e.checks?.length)throw Error(`.partial() cannot be used on tuple schemas containing refinements`);return this.clone({...e,items:e.items.map(e=>new du({type:`optional`,innerType:e}))})}});function iu(e,t,n){let r=t instanceof wi;return new ru({type:`tuple`,items:e,rest:r?t:null,...L(r?n:t)})}var au=z(`ZodRecord`,(e,t)=>{sl(),Va.init(e,t),cl.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Nc(e,t,n,r),e.keyType=t.keyType,e.valueType=t.valueType});function ou(e,t,n){return!t||!t._zod?new au({type:`record`,keyType:H(),valueType:e,...L(t)}):new au({type:`record`,keyType:e,valueType:t,...L(n)})}var su=z(`ZodEnum`,(e,t)=>{Ha.init(e,t),cl.init(e,t),e._zod.processJSONSchema=(t,n,r)=>bc(e,t,n,r),e.enum=t.entries,e.options=[...e._zod.values];let n=new Set(Object.keys(t.entries));e.extract=(e,r)=>{let i={};for(let r of e)if(n.has(r))i[r]=t.entries[r];else throw Error(`Key ${r} not found in enum`);return new su({...t,checks:[],...L(r),entries:i})},e.exclude=(e,r)=>{let i={...t.entries};for(let t of e)if(n.has(t))delete i[t];else throw Error(`Key ${t} not found in enum`);return new su({...t,checks:[],...L(r),entries:i})}});function G(e,t){return new su({type:`enum`,entries:Array.isArray(e)?Object.fromEntries(e.map(e=>[e,e])):e,...L(t)})}var cu=z(`ZodLiteral`,(e,t)=>{Ua.init(e,t),cl.init(e,t),e._zod.processJSONSchema=(t,n,r)=>xc(e,t,n,r),e.values=new Set(t.values),Object.defineProperty(e,"value",{get(){if(t.values.length>1)throw Error("This schema contains multiple valid literal values. Use `.values` instead.");return t.values[0]}})});function K(e,t){return new cu({type:`literal`,values:Array.isArray(e)?e:[e],...L(t)})}var lu=z(`ZodTransform`,(e,t)=>{sl(),Wa.init(e,t),cl.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Cc(e,t,n,r),e._zod.parse=(n,r)=>{if(r.direction===`backward`)throw new qn(e.constructor.name);n.addIssue=r=>{if(typeof r==`string`)n.issues.push(kn(r,n.value,t));else{let t=r;t.fatal&&(t.continue=!1),t.code??=`custom`,`input`in t||(t.input=n.value),t.inst??=e,n.issues.push(kn(t))}};let i=t.transform(n.value,n);return i instanceof Promise?i.then(e=>(n.value=e,n)):(n.value=i,n)}});function uu(e){return new lu({type:`transform`,transform:e})}var du=z(`ZodOptional`,(e,t)=>{Ka.init(e,t),cl.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Uc(e,t,n,r),e.unwrap=()=>e._zod.def.innerType});function fu(e){return new du({type:`optional`,innerType:e})}var pu=z(`ZodExactOptional`,(e,t)=>{qa.init(e,t),cl.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Uc(e,t,n,r),e.unwrap=()=>e._zod.def.innerType});function mu(e){return new pu({type:`optional`,innerType:e})}var hu=z(`ZodNullable`,(e,t)=>{Ja.init(e,t),cl.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Pc(e,t,n,r),e.unwrap=()=>e._zod.def.innerType});function gu(e){return new hu({type:`nullable`,innerType:e})}var _u=z(`ZodDefault`,(e,t)=>{Ya.init(e,t),cl.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Rc(e,t,n,r),e.unwrap=()=>e._zod.def.innerType,e.removeDefault=e.unwrap});function vu(e,t){return new _u({type:`default`,innerType:e,get defaultValue(){return typeof t==`function`?t():en(t)}})}var yu=z(`ZodPrefault`,(e,t)=>{Za.init(e,t),cl.init(e,t),e._zod.processJSONSchema=(t,n,r)=>zc(e,t,n,r),e.unwrap=()=>e._zod.def.innerType});function bu(e,t){return new yu({type:`prefault`,innerType:e,get defaultValue(){return typeof t==`function`?t():en(t)}})}var xu=z(`ZodNonOptional`,(e,t)=>{Qa.init(e,t),cl.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Fc(e,t,n,r),e.unwrap=()=>e._zod.def.innerType});function Su(e,t){return new xu({type:`nonoptional`,innerType:e,...L(t)})}var Cu=z(`ZodCatch`,(e,t)=>{to.init(e,t),cl.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Bc(e,t,n,r),e.unwrap=()=>e._zod.def.innerType,e.removeCatch=e.unwrap});function wu(e,t){return new Cu({type:`catch`,innerType:e,catchValue:typeof t==`function`?t:Vn(t)})}var Tu=z(`ZodPipe`,(e,t)=>{no.init(e,t),cl.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Vc(e,t,n,r),e.in=t.in,e.out=t.out});function Eu(e,t){return new Tu({type:`pipe`,in:e,out:t})}var Du=z(`ZodPreprocess`,(e,t)=>{Tu.init(e,t),io.init(e,t)}),Ou=z(`ZodReadonly`,(e,t)=>{ao.init(e,t),cl.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Hc(e,t,n,r),e.unwrap=()=>e._zod.def.innerType});function ku(e){return new Ou({type:`readonly`,innerType:e})}var Au=z(`ZodLazy`,(e,t)=>{so.init(e,t),cl.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Wc(e,t,n,r),e.unwrap=()=>e._zod.def.getter()});function ju(e){return new Au({type:`lazy`,getter:e})}var Mu=z(`ZodCustom`,(e,t)=>{co.init(e,t),cl.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Sc(e,t,n,r)});function Nu(e,t={}){return Fs(Mu,e,t)}function Pu(e,t){return Is(e,t)}function Fu(e,t){return new Du({type:`pipe`,in:uu(e),out:t})}var Iu=G([`fixed`,`hug`,`fill`]),Lu=G([`start`,`center`,`end`]),Ru=H().regex(/^(#[0-9a-fA-F]{3,8}|\$[\w/.-]+|transparent)$/,`color must be #hex or $style`),zu=W({pack:H().min(1),name:H().min(1),multicolor:zl().optional()}).strict(),Bu=Ql([H().regex(/^n_[\w-]+$/),W({icon:zu,asset:H().min(1)}).strict()]),Vu=H().trim().min(1).max(60),Hu=ou(Vu,H().trim().min(1).max(60));ou(Vu,Ql([H(),zl(),Bu]));var Uu=eu(`type`,[W({type:K(`boolean`)}).strict(),W({type:K(`text`)}).strict(),W({type:K(`swap`),preferred:Yl(Bu).optional()}).strict()]),Wu=W({content:Vu.optional(),visible:Vu.optional(),swap:Vu.optional()}).strict(),q=U().finite(),Gu=H().regex(/^sys_[\w-]{4,40}$/),Ku=W({slots:ou(H(),Ul()),published:H().optional(),tokens:Ul().optional(),overrides:Ul().optional()}).strict(),qu=[`normal`,`darken`,`multiply`,`color-burn`,`lighten`,`screen`,`color-dodge`,`overlay`,`soft-light`,`hard-light`,`difference`,`exclusion`,`hue`,`saturation`,`color`,`luminosity`],Ju=G(qu),Yu=G([...qu,`plus-lighter`]);function Xu(e){if(!e||typeof e!=`object`||Array.isArray(e)||e.gap!==`between`)return e;let{gap:t,...n}=e;return{...n,alignMain:n.alignMain??`between`}}var Zu=Fu(Xu,W({mode:G([`free`,`row`,`column`]),gap:q.min(0),pad:Ql([q.min(0),iu([q,q]),iu([q,q,q,q])]),alignMain:G([`start`,`center`,`end`,`between`]),alignCross:Lu,wrap:zl(),gapCross:q.min(0).nullable()}).partial().strict()),Qu=W({name:H().min(1).max(80),code:H().min(1).max(2e4),input:K(`image`).optional(),params:Yl(Ql([W({id:H().regex(/^u_[A-Za-z]\w{0,30}$/,`a uniform name: u_ and letters`),label:H().min(1).max(40),kind:K(`number`),value:U().finite(),min:U().finite(),max:U().finite(),step:U().positive().optional()}).strict(),W({id:H().regex(/^u_[A-Za-z]\w{0,30}$/,`a uniform name: u_ and letters`),label:H().min(1).max(40),kind:K(`color`),value:H().regex(/^#[0-9a-fA-F]{6}$/)}).strict()])).max(16).optional()}).strict(),$u=eu(`type`,[W({type:K(`solid`),color:Ru,visible:zl().optional(),blend:Ju.optional()}),W({type:K(`linear`),angle:q,stops:Yl(W({color:Ru,at:U().min(0).max(1)})).min(2),visible:zl().optional(),blend:Ju.optional()}),W({type:K(`radial`),center:iu([U().finite(),U().finite()]).optional(),radius:iu([U().finite().positive(),U().finite().positive()]).optional(),rotation:U().finite().optional(),stops:Yl(W({color:Ru,at:U().min(0).max(1)})).min(2),visible:zl().optional(),blend:Ju.optional()}),W({type:K(`image`),asset:H(),fit:G([`cover`,`contain`,`fill`,`crop`]),pos:iu([U(),U()]).optional(),crop:iu([U().min(0).max(1),U().min(0).max(1),U().gt(0).max(1),U().gt(0).max(1)]).optional(),visible:zl().optional(),blend:Ju.optional()}),W({type:K(`shader`),shader:Qu,visible:zl().optional(),blend:Ju.optional()}).strict(),W({type:K(`video`),asset:H(),fit:G([`cover`,`contain`,`fill`,`crop`]),crop:iu([U().min(0).max(1),U().min(0).max(1),U().gt(0).max(1),U().gt(0).max(1)]).optional(),autoplay:zl().optional(),loop:zl().optional(),muted:zl().optional(),visible:zl().optional(),blend:Ju.optional()})]),J=W({file:H().min(1).max(400).refine(e=>!/^([\\/]|[a-zA-Z]:|~)/.test(e),`file: a path relative to the project (src/components/Card.tsx), not an absolute one`).refine(e=>!e.split(/[\\/]/).includes(`..`),`file: stay inside the project (no ..)`),symbol:H().regex(/^[A-Za-z_$][\w$.]*$/,`symbol: a component or function name (Card, Hero.Title)`).optional(),selector:H().min(1).max(400).optional()}).strict(),Y=U().finite(),ed=iu([Y,Y]),td=W({x:Y,y:Y,in:ed.optional(),out:ed.optional(),r:Y.min(0).optional(),mirror:G([`none`]).optional()}).strict(),nd=eu(`kind`,[W({kind:K(`rect`)}).strict(),W({kind:K(`ellipse`),start:Y.optional(),sweep:U().min(0).max(1).optional(),ratio:U().min(0).max(1).optional()}).strict(),W({kind:K(`line`),flip:zl().optional()}).strict(),W({kind:K(`polygon`),count:U().int().min(3).max(60)}).strict(),W({kind:K(`path`),points:Yl(td).min(2).optional(),closed:zl().optional(),view:iu([Y.min(0),Y.min(0)]).optional(),subpaths:Yl(W({points:Yl(td).min(2),closed:zl()}).strict()).optional()}).strict()]),rd=eu(`type`,[W({type:K(`shader`),shader:Qu,visible:zl().optional()}).strict(),W({type:K(`shadow`),x:q,y:q,blur:q.min(0),spread:q,color:Ru,inset:zl().optional(),visible:zl().optional()}),W({type:K(`layerBlur`),radius:q.min(0),visible:zl().optional()}),W({type:K(`backdropBlur`),radius:q.min(0),visible:zl().optional()})]),id=eu(`type`,[W({type:K(`grid`),size:q.positive(),color:Ru,visible:zl().optional()}).strict(),W({type:G([`columns`,`rows`]),count:U().int().min(1).max(200),gutter:q.min(0),margin:q.min(0),align:G([`stretch`,`start`,`center`,`end`]),size:q.positive().optional(),color:Ru,visible:zl().optional()}).strict()]),ad=W({format:G([`png`,`jpg`,`svg`,`pdf`]),scale:H().regex(/^(\d+(\.\d+)?x|\d+(\.\d+)?[wh])$/,`scale: 2x, 0.5x, 512w or 512h`).optional(),suffix:H().max(80).optional()}).strict(),od=W({name:H(),x:q,y:q,w:q.min(0),h:q.min(0),sizeX:Iu,sizeY:Iu,absolute:zl(),constraints:W({x:G([`left`,`right`,`leftRight`,`center`]),y:G([`top`,`bottom`,`topBottom`,`center`]),ref:iu([q.min(0),q.min(0)])}).strict().nullable(),opacity:U().min(0).max(1).nullable(),blend:Yu.nullable(),flipX:zl().nullable(),flipY:zl().nullable(),hidden:zl(),locked:zl(),lockRatio:K(!0).nullable(),note:H().nullable(),source:J.nullable(),pageSelector:H().min(1).max(1e3).nullable(),exports:Yl(ad).nullable(),layout:Zu,clip:zl(),fills:Yl($u).nullable(),fill:Ru.nullable(),stroke:W({color:Ru,width:q.min(0),align:G([`inside`,`center`,`outside`]).optional(),visible:zl().optional(),sides:iu([q.min(0),q.min(0),q.min(0),q.min(0)]).optional(),cap:G([`none`,`round`,`square`]).optional(),dash:iu([q.min(1),q.min(0)]).optional()}).nullable(),radius:Ql([q.min(0),iu([q,q,q,q]),H().regex(/^\$[\w/.-]+$/,`radius must be px or a radius token $name`)]).nullable(),effects:Yl(rd).nullable(),grids:Yl(id).nullable(),variantOf:H().regex(/^n_[\w-]+$/).nullable(),component:H().regex(/^c_[\w-]+$/).nullable(),theme:G([`light`,`dark`]).nullable(),boolean:G([`union`,`subtract`,`intersect`,`exclude`]).nullable(),shape:nd,rotation:Y.nullable(),build:W({url:H().regex(/^https?:\/\/\S+$/,`http(s) URL`),selector:H().min(1).optional(),branch:H().min(1).optional(),beside:W({x:U().finite(),y:U().finite()}).strict().optional()}).strict().nullable(),content:H(),style:H().regex(/^\$[\w/.-]+$/).nullable(),fontFamily:H().nullable(),fontSize:q.positive().nullable(),fontWeight:q.min(100).max(900).nullable(),fontStyle:G([`normal`,`italic`]).nullable(),lineHeight:U().positive().nullable(),letterSpacing:U().nullable(),textAlign:G([`left`,`center`,`right`]).nullable(),textAlignV:G([`top`,`center`,`bottom`]).nullable(),textDecoration:G([`underline`,`line-through`]).nullable(),textCase:G([`upper`,`lower`,`title`]).nullable(),color:Ru.nullable(),spans:Yl(W({start:q.min(0),end:q.min(1),fontFamily:H().optional(),fontSize:q.positive().optional(),fontWeight:q.min(100).max(900).optional(),fontStyle:G([`normal`,`italic`]).optional(),lineHeight:U().positive().optional(),letterSpacing:U().optional(),color:Ru.optional(),textDecoration:G([`underline`,`line-through`,`none`]).optional(),textCase:G([`upper`,`lower`,`title`,`none`]).optional()}).strict().refine(e=>e.end>e.start,`a span ends after it starts`)).max(1e4).nullable(),asset:H(),icon:zu.nullable(),variant:Hu.nullable(),values:ou(Vu,Ql([H(),zl(),Bu,Vl()])).nullable()}).partial().strict(),sd=ju(()=>od.extend({type:G([`frame`,`text`,`vector`,`shape`]),id:H().regex(/^n_[\w-]{4,32}$/).optional(),key:H().optional(),children:Yl(sd).optional(),main:zl().optional(),instanceOf:H().regex(/^n_[\w-]+$/).optional(),overrides:ou(H(),ou(H(),Gl())).optional(),componentSet:zl().optional(),from:H().regex(/^[a-z0-9-]+$/).optional(),props:ou(Vu,Uu).optional(),bind:Wu.optional()}).strict()),cd=eu(`op`,[W({op:K(`create`),parent:H().nullable(),index:U().int().min(0).optional(),tree:sd}),W({op:K(`update`),id:H(),set:od}),W({op:K(`delete`),ids:Yl(H()).min(1)}),W({op:K(`doc`),name:H().max(120).nullable().optional(),guides:Yl(W({axis:G([`x`,`y`]),at:q}).strict()).nullable().optional(),canvas:Ru.nullable().optional(),libraries:W({icons:Yl(H().regex(/^folder:[^\\]+$/)).optional(),kits:Yl(H().regex(/^[a-z][\w-]*$/)).optional(),pack:H().regex(/^([a-z0-9-]+|folder:[^\\]+)$/).nullable().optional()}).strict().nullable().optional()}),W({op:K(`styles`),colors:ou(H(),H().regex(/^#[0-9a-fA-F]{3,8}$/).nullable()).optional(),text:ou(H(),W({fontFamily:H(),fontSize:q.positive(),fontWeight:q.min(100).max(900),fontStyle:G([`normal`,`italic`]).optional(),lineHeight:U().positive().optional(),letterSpacing:U().optional(),textAlign:G([`left`,`center`,`right`]).optional(),textCase:G([`upper`,`lower`,`title`]).optional(),color:Ru}).strict().nullable()).optional(),space:Yl(q.min(0)).optional(),radius:ou(H().regex(/^[\w/.-]+$/),q.min(0).nullable()).optional(),rename:W({colors:ou(H(),H().min(1)).optional(),text:ou(H(),H().min(1)).optional(),radius:ou(H(),H().regex(/^[\w/.-]+$/)).optional()}).strict().optional()}),W({op:K(`system`),set:W({name:H().min(1).max(80).optional(),theme:G([`light`,`dark`]).optional(),icons:H().regex(/^([a-z0-9-]+|folder:[^\\]+)$/).nullable().optional(),published:H().regex(/^[a-z0-9-]+$/).nullable().optional(),own:K(!0).optional(),corners:G([`sharp`,`precise`,`friendly`]).optional(),tokens:W({css:W({group:H(),prefix:H(),kebab:zl().optional()}).strict().optional(),colors:ou(H().regex(/^[\w/.-]+$/),W({light:H().regex(/^#[0-9a-fA-F]{6}([0-9a-fA-F]{2})?$/),dark:H().regex(/^#[0-9a-fA-F]{6}([0-9a-fA-F]{2})?$/)}).partial().strict()),text:ou(H(),W({fontFamily:H(),fontSize:U().positive(),fontWeight:q.min(100).max(900),fontStyle:G([`normal`,`italic`]).optional(),lineHeight:U().positive().optional(),letterSpacing:U().optional(),textAlign:G([`left`,`center`,`right`]).optional(),textCase:G([`upper`,`lower`,`title`]).optional(),color:H()}).strict()),radius:ou(H().regex(/^[\w/.-]+$/),U().min(0)),space:Yl(U().min(0)),defaults:W({text:H(),background:H(),textStyle:H()}).partial().strict().optional()}).strict().optional(),slots:W({fontDisplay:H().min(1),fontBody:H().min(1),bg:H().regex(/^#[0-9a-fA-F]{6}$/),fg:H().regex(/^#[0-9a-fA-F]{6}$/),accent:H().regex(/^#[0-9a-fA-F]{6}$/),dark:W({bg:H().regex(/^#[0-9a-fA-F]{6}$/).nullable(),fg:H().regex(/^#[0-9a-fA-F]{6}$/).nullable(),accent:H().regex(/^#[0-9a-fA-F]{6}$/).nullable()}).partial().strict().nullable(),radius:Fu(e=>e===`editorial`||e===`round`?`friendly`:e,G([`sharp`,`precise`,`friendly`])),radii:Ql([iu([q.min(0),q.min(0),q.min(0),q.min(0)]),iu([q.min(0),q.min(0),q.min(0)])]).nullable(),roles:ou(H().regex(/^[a-z][a-z-]*$/),W({light:H().regex(/^#[0-9a-fA-F]{6}$/),dark:H().regex(/^#[0-9a-fA-F]{6}$/)}).partial().strict()).nullable()}).partial().strict().optional(),overrides:W({colors:ou(H(),W({light:H().regex(/^#[0-9a-fA-F]{6,8}$/).nullable(),dark:H().regex(/^#[0-9a-fA-F]{6,8}$/).nullable()}).partial().strict().nullable()).optional(),text:ou(H(),W({fontFamily:H(),fontSize:q.positive(),fontWeight:q.min(100).max(900),fontStyle:G([`normal`,`italic`]),lineHeight:U().positive(),letterSpacing:U(),textCase:G([`upper`,`lower`,`title`,`none`])}).partial().strict().nullable()).optional(),radius:ou(H(),U().min(0).nullable()).optional(),space:ou(H().regex(/^\d+$/),q.min(0).nullable()).optional()}).strict().optional(),saved:W({id:Gu,version:q.min(1),base:Ku}).strict().nullable().optional(),useSaved:W({id:Gu,version:q.min(1),name:H().min(1).max(80),base:Ku}).strict().optional(),followSaved:W({version:q.min(1),base:Ku}).strict().optional(),revert:K(!0).optional()}).strict().optional(),remove:K(!0).optional()}),W({op:K(`asset`),add:Yl(W({id:H().regex(/^a_[\w-]{4,40}$/),kind:G([`image`,`svg`,`font`,`video`]),file:H().regex(/^assets\/[\w.-]+$/),mime:H(),w:q.min(0).optional(),h:q.min(0).optional(),name:H().optional(),family:H().optional(),weight:H().optional(),style:H().optional(),range:H().optional()}).strict()).min(1)}),W({op:K(`flatten`),ids:Yl(H()).min(1),at:ou(H(),W({x:Y,y:Y,w:Y.min(0).optional(),h:Y.min(0).optional()}).strict()).optional(),outlines:ou(H(),Ql([H().max(4e6),Yl(W({d:H().max(4e6),span:q.min(0).optional()}).strict()).max(1e4)])).optional(),key:H().optional()}),W({op:K(`outlineStroke`),ids:Yl(H()).min(1),key:H().optional()}),W({op:K(`component`),ids:Yl(H()).min(1)}),W({op:K(`instance`),main:H(),parent:H().nullable(),index:U().int().min(0).optional(),x:Y.optional(),y:Y.optional(),key:H().optional()}),W({op:K(`reset`),id:H(),keys:Yl(H()).min(1).optional()}),W({op:K(`detach`),ids:Yl(H()).min(1)}),W({op:K(`push`),id:H()}),W({op:K(`combine`),ids:Yl(H()).min(1),name:H().trim().min(1).optional(),key:H().optional()}),W({op:K(`addVariant`),id:H(),key:H().optional()}),W({op:K(`adopt`),id:H(),x:Y.optional(),y:Y.optional(),key:H().optional()}),W({op:K(`restore`),id:H(),x:Y.optional(),y:Y.optional()}),W({op:K(`prop`),id:H(),name:Vu,type:G([`variant`,`boolean`,`text`,`swap`]).optional(),preferred:Yl(Bu).optional(),rename:Vu.optional(),remove:K(!0).optional()}),W({op:K(`bind`),id:H(),content:Vu.nullable().optional(),visible:Vu.nullable().optional(),swap:Vu.nullable().optional()}),W({op:K(`move`),ids:Yl(H()).min(1),parent:H().nullable(),index:U().int().min(0).optional(),sizes:ou(H(),W({w:U().nonnegative(),h:U().nonnegative()})).optional()})]),ld=Symbol.for(`immer-nothing`),ud=Symbol.for(`immer-draftable`),dd=Symbol.for(`immer-state`);function fd(e,...t){throw Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`)}var pd=Object,md=pd.getPrototypeOf,hd=`constructor`,gd=`prototype`,_d=`configurable`,vd=`enumerable`,yd=`writable`,bd=`value`,xd=e=>!!e&&!!e[dd];function Sd(e){return e?Td(e)||Md(e)||!!e[ud]||!!e[hd]?.[ud]||Nd(e)||Pd(e):!1}var Cd=pd[gd][hd].toString(),wd=new WeakMap;function Td(e){if(!e||!Fd(e))return!1;let t=md(e);if(t===null||t===pd[gd])return!0;let n=pd.hasOwnProperty.call(t,hd)&&t[hd];if(n===Object)return!0;if(!Id(n))return!1;let r=wd.get(n);return r===void 0&&(r=Function.toString.call(n),wd.set(n,r)),r===Cd}function Ed(e,t,n=!0){Dd(e)===0?(n?Reflect.ownKeys(e):pd.keys(e)).forEach(n=>{t(n,e[n],e)}):e.forEach((n,r)=>t(r,n,e))}function Dd(e){let t=e[dd];return t?t.type_:Md(e)?1:Nd(e)?2:Pd(e)?3:0}var Od=(e,t,n=Dd(e))=>n===2?e.has(t):pd[gd].hasOwnProperty.call(e,t),kd=(e,t,n=Dd(e))=>n===2?e.get(t):e[t],Ad=(e,t,n,r=Dd(e))=>{r===2?e.set(t,n):r===3?e.add(n):e[t]=n};function jd(e,t){return e===t?e!==0||1/e==1/t:e!==e&&t!==t}var Md=Array.isArray,Nd=e=>e instanceof Map,Pd=e=>e instanceof Set,Fd=e=>typeof e==`object`,Id=e=>typeof e==`function`,Ld=e=>typeof e==`boolean`;function Rd(e){let t=+e;return Number.isInteger(t)&&String(t)===e}var zd=e=>Fd(e)?e?.[dd]:null,Bd=e=>e.copy_||e.base_,Vd=e=>e.modified_?e.copy_:e.base_;function Hd(e,t){if(Nd(e))return new Map(e);if(Pd(e))return new Set(e);if(Md(e))return Array[gd].slice.call(e);let n=Td(e);if(t===!0||t===`class_only`&&!n){let t=pd.getOwnPropertyDescriptors(e);delete t[dd];let n=Reflect.ownKeys(t);for(let r=0;r<n.length;r++){let i=n[r],a=t[i];a[yd]===!1&&(a[yd]=!0,a[_d]=!0),(a.get||a.set)&&(t[i]={[_d]:!0,[yd]:!0,[vd]:a[vd],[bd]:e[i]})}return pd.create(md(e),t)}{let t=md(e);if(t!==null&&n)return{...e};let r=pd.create(t);return pd.assign(r,e)}}function Ud(e,t=!1){return Kd(e)||xd(e)||!Sd(e)||(Dd(e)>1&&pd.defineProperties(e,{set:Gd,add:Gd,clear:Gd,delete:Gd}),pd.freeze(e),t&&Ed(e,(e,t)=>{Ud(t,!0)},!1)),e}function Wd(){fd(2)}var Gd={[bd]:Wd};function Kd(e){return e===null||!Fd(e)||pd.isFrozen(e)}var qd=`MapSet`,Jd=`Patches`,Yd=`ArrayMethods`,Xd={};function Zd(e){let t=Xd[e];return t||fd(0,e),t}var Qd=e=>!!Xd[e];function $d(e,t){Xd[e]||(Xd[e]=t)}var ef,tf=()=>ef,nf=(e,t)=>({drafts_:[],parent_:e,immer_:t,canAutoFreeze_:!0,unfinalizedDrafts_:0,handledSet_:new Set,processedForPatches_:new Set,mapSetPlugin_:Qd(qd)?Zd(qd):void 0,arrayMethodsPlugin_:Qd(Yd)?Zd(Yd):void 0});function rf(e,t){t&&(e.patchPlugin_=Zd(Jd),e.patches_=[],e.inversePatches_=[],e.patchListener_=t)}function af(e){of(e),e.drafts_.forEach(cf),e.drafts_=null}function of(e){e===ef&&(ef=e.parent_)}var sf=e=>ef=nf(ef,e);function cf(e){let t=e[dd];t.type_===0||t.type_===1?t.revoke_():t.revoked_=!0}function lf(e,t){t.unfinalizedDrafts_=t.drafts_.length;let n=t.drafts_[0];if(e!==void 0&&e!==n){n[dd].modified_&&(af(t),fd(4)),Sd(e)&&(e=uf(t,e));let{patchPlugin_:r}=t;r&&r.generateReplacementPatches_(n[dd].base_,e,t)}else e=uf(t,n);return df(t,e,!0),af(t),t.patches_&&t.patchListener_(t.patches_,t.inversePatches_),e===ld?void 0:e}function uf(e,t){if(Kd(t))return t;let n=t[dd];if(!n)return yf(t,e.handledSet_,e);if(!pf(n,e))return t;if(!n.modified_)return n.base_;if(!n.finalized_){let{callbacks_:t}=n;if(t)for(;t.length>0;)t.pop()(e);_f(n,e)}return n.copy_}function df(e,t,n=!1){!e.parent_&&e.immer_.autoFreeze_&&e.canAutoFreeze_&&Ud(t,n)}function ff(e){e.finalized_=!0,e.scope_.unfinalizedDrafts_--}var pf=(e,t)=>e.scope_===t,mf=[];function hf(e,t,n,r){let i=Bd(e),a=e.type_;if(r!==void 0&&kd(i,r,a)===t){Ad(i,r,n,a);return}if(!e.draftLocations_){let t=e.draftLocations_=new Map;Ed(i,(e,n)=>{if(xd(n)){let r=t.get(n)||[];r.push(e),t.set(n,r)}})}let o=e.draftLocations_.get(t)??mf;for(let e of o)Ad(i,e,n,a)}function gf(e,t,n){e.callbacks_.push(function(r){let i=t;if(!i||!pf(i,r))return;r.mapSetPlugin_?.fixSetContents(i);let a=Vd(i);hf(e,i.draft_??i,a,n),_f(i,r)})}function _f(e,t){if(e.modified_&&!e.finalized_&&(e.type_===3||e.type_===1&&e.allIndicesReassigned_||(e.assigned_?.size??0)>0)){let{patchPlugin_:n}=t;if(n){let r=n.getPath(e);r&&n.generatePatches_(e,r,t)}ff(e)}}function vf(e,t,n){let{scope_:r}=e;if(xd(n)){let i=n[dd];pf(i,r)&&i.callbacks_.push(function(){Of(e),hf(e,n,Vd(i),t)})}else Sd(n)&&e.callbacks_.push(function(){let i=Bd(e);e.type_===3?i.has(n)&&yf(n,r.handledSet_,r):kd(i,t,e.type_)===n&&r.drafts_.length>1&&(e.assigned_.get(t)??!1)===!0&&e.copy_&&yf(kd(e.copy_,t,e.type_),r.handledSet_,r)})}function yf(e,t,n){return!n.immer_.autoFreeze_&&n.unfinalizedDrafts_<1||xd(e)||t.has(e)||!Sd(e)||Kd(e)||(t.add(e),Ed(e,(r,i)=>{if(xd(i)){let t=i[dd];pf(t,n)&&(Ad(e,r,Vd(t),e.type_),ff(t))}else Sd(i)&&yf(i,t,n)})),e}function bf(e,t){let n=Md(e),r={type_:+!!n,scope_:t?t.scope_:tf(),modified_:!1,finalized_:!1,assigned_:void 0,parent_:t,base_:e,draft_:null,copy_:null,revoke_:null,isManual_:!1,callbacks_:void 0},i=r,a=xf;n&&(i=[r],a=Sf);let{revoke:o,proxy:s}=Proxy.revocable(i,a);return r.draft_=s,r.revoke_=o,[s,r]}var xf={get(e,t){if(t===dd)return e;let n=e.scope_.arrayMethodsPlugin_,r=e.type_===1&&typeof t==`string`;if(r&&n?.isArrayOperationMethod(t))return n.createMethodInterceptor(e,t);let i=Bd(e);if(!Od(i,t,e.type_))return Tf(e,i,t);let a=i[t];if(e.finalized_||!Sd(a)||r&&e.operationMethod&&n?.isMutatingArrayMethod(e.operationMethod)&&Rd(t))return a;if(a===Cf(e.base_,t)||wf(e,t,a)){Of(e);let n=e.type_===1?+t:t,r=Af(e.scope_,a,e,n);return e.copy_[n]=r}return a},has(e,t){return t in Bd(e)},ownKeys(e){return Reflect.ownKeys(Bd(e))},set(e,t,n){let r=Ef(Bd(e),t);if(r?.set)return r.set.call(e.draft_,n),!0;if(!e.modified_){let r=Cf(Bd(e),t),i=r?.[dd];if(i&&i.base_===n)return e.copy_[t]=n,e.assigned_.set(t,!1),!0;if(jd(n,r)&&(n!==void 0||Od(e.base_,t,e.type_)))return!0;Of(e),Df(e)}return e.copy_[t]===n&&(n!==void 0||Od(e.copy_,t,e.type_))||Number.isNaN(n)&&Number.isNaN(e.copy_[t])||(e.copy_[t]=n,e.assigned_.set(t,!0),vf(e,t,n)),!0},deleteProperty(e,t){return Of(e),Cf(e.base_,t)!==void 0||t in e.base_?(e.assigned_.set(t,!1),Df(e)):e.assigned_.delete(t),e.copy_&&delete e.copy_[t],!0},getOwnPropertyDescriptor(e,t){let n=Bd(e),r=Reflect.getOwnPropertyDescriptor(n,t);return r&&{[yd]:!0,[_d]:e.type_!==1||t!==`length`,[vd]:r[vd],[bd]:n[t]}},defineProperty(){fd(11)},getPrototypeOf(e){return md(e.base_)},setPrototypeOf(){fd(12)}},Sf={};for(let e in xf){let t=xf[e];Sf[e]=function(){let e=arguments;return e[0]=e[0][0],t.apply(this,e)}}Sf.deleteProperty=function(e,t){return Sf.set.call(this,e,t,void 0)},Sf.set=function(e,t,n){return xf.set.call(this,e[0],t,n,e[0])};function Cf(e,t){let n=e[dd];return(n?Bd(n):e)[t]}function wf(e,t,n){return e.type_!==1||!e.allIndicesReassigned_||e.assigned_?.get(t)||!Sd(n)||n[dd]?!1:e.baseRefs_.has(n)}function Tf(e,t,n){let r=Ef(t,n);return r?bd in r?r[bd]:r.get?.call(e.draft_):void 0}function Ef(e,t){if(!(t in e))return;let n=md(e);for(;n;){let e=Object.getOwnPropertyDescriptor(n,t);if(e)return e;n=md(n)}}function Df(e){e.modified_||(e.modified_=!0,e.parent_&&Df(e.parent_))}function Of(e){e.copy_||=(e.assigned_=new Map,Hd(e.base_,e.scope_.immer_.useStrictShallowCopy_))}var kf=class{constructor(e){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.useStrictIteration_=!1,this.produce=(e,t,n)=>{if(Id(e)&&!Id(t)){let n=t;t=e;let r=this;return function(e=n,...i){return r.produce(e,e=>t.call(this,e,...i))}}Id(t)||fd(6),n!==void 0&&!Id(n)&&fd(7);let r;if(Sd(e)){let i=sf(this),a=Af(i,e,void 0),o=!0;try{r=t(a),o=!1}finally{o?af(i):of(i)}return rf(i,n),lf(r,i)}if(!e||!Fd(e)){if(r=t(e),r===void 0&&(r=e),r===ld&&(r=void 0),this.autoFreeze_&&Ud(r,!0),n){let t=[],i=[];Zd(Jd).generateReplacementPatches_(e,r,{patches_:t,inversePatches_:i}),n(t,i)}return r}fd(1,e)},this.produceWithPatches=(e,t)=>{if(Id(e))return(t,...n)=>this.produceWithPatches(t,t=>e(t,...n));let n,r;return[this.produce(e,t,(e,t)=>{n=e,r=t}),n,r]},Ld(e?.autoFreeze)&&this.setAutoFreeze(e.autoFreeze),Ld(e?.useStrictShallowCopy)&&this.setUseStrictShallowCopy(e.useStrictShallowCopy),Ld(e?.useStrictIteration)&&this.setUseStrictIteration(e.useStrictIteration)}createDraft(e){Sd(e)||fd(8),xd(e)&&(e=jf(e));let t=sf(this),n=Af(t,e,void 0);return n[dd].isManual_=!0,of(t),n}finishDraft(e,t){let n=e&&e[dd];n&&n.isManual_||fd(9);let{scope_:r}=n;return rf(r,t),lf(void 0,r)}setAutoFreeze(e){this.autoFreeze_=e}setUseStrictShallowCopy(e){this.useStrictShallowCopy_=e}setUseStrictIteration(e){this.useStrictIteration_=e}shouldUseStrictIteration(){return this.useStrictIteration_}applyPatches(e,t){let n;for(n=t.length-1;n>=0;n--){let r=t[n];if(r.path.length===0&&r.op===`replace`){e=r.value;break}}n>-1&&(t=t.slice(n+1));let r=Zd(Jd).applyPatches_;return xd(e)?r(e,t):this.produce(e,e=>r(e,t))}};function Af(e,t,n,r){let[i,a]=Nd(t)?Zd(qd).proxyMap_(t,n):Pd(t)?Zd(qd).proxySet_(t,n):bf(t,n);return(n?.scope_??tf()).drafts_.push(i),a.callbacks_=n?.callbacks_??[],a.key_=r,n&&r!==void 0?gf(n,a,r):a.callbacks_.push(function(e){e.mapSetPlugin_?.fixSetContents(a);let{patchPlugin_:t}=e;a.modified_&&t&&t.generatePatches_(a,[],e)}),i}function jf(e){return xd(e)||fd(10,e),Mf(e)}function Mf(e){if(!Sd(e)||Kd(e))return e;let t=e[dd],n,r=!0;if(t){if(!t.modified_)return t.base_;t.finalized_=!0,n=Hd(e,t.scope_.immer_.useStrictShallowCopy_),r=t.scope_.immer_.shouldUseStrictIteration()}else n=Hd(e,!0);return Ed(n,(e,t)=>{Ad(n,e,Mf(t))},r),t&&(t.finalized_=!1),n}function Nf(){function e(n,r=[]){if(n.key_!==void 0){let e=n.parent_.copy_??n.parent_.base_,t=zd(kd(e,n.key_)),i=kd(e,n.key_);if(i===void 0||i!==n.draft_&&i!==n.base_&&i!==n.copy_||t!=null&&t.base_!==n.base_)return null;let a=n.parent_.type_===3,o;if(a){let e=n.parent_;o=Array.from(e.drafts_.keys()).indexOf(n.key_)}else o=n.key_;if(!(a&&e.size>o||Od(e,o)))return null;r.push(o)}if(n.parent_)return e(n.parent_,r);r.reverse();try{t(n.copy_,r)}catch{return null}return r}function t(e,t){let n=e;for(let e=0;e<t.length-1;e++){let r=t[e];if(n=kd(n,r),!Fd(n)||n===null)throw Error(`Cannot resolve path at '${t.join(`/`)}'`)}return n}let n=`replace`,r=`remove`;function i(e,t,n){if(e.scope_.processedForPatches_.has(e))return;e.scope_.processedForPatches_.add(e);let{patches_:r,inversePatches_:i}=n;switch(e.type_){case 0:case 2:return o(e,t,r,i);case 1:return a(e,t,r,i);case 3:return s(e,t,r,i)}}function a(e,t,i,a){let{base_:o,assigned_:s}=e,c=e.copy_;c.length<o.length&&([o,c]=[c,o],[i,a]=[a,i]);let l=e.allIndicesReassigned_===!0;for(let e=0;e<o.length;e++){let r=c[e],u=o[e];if((l||s?.get(e.toString()))&&r!==u){let o=r?.[dd];if(o&&o.modified_)continue;let s=t.concat([e]);i.push({op:n,path:s,value:d(r)}),a.push({op:n,path:s,value:d(u)})}}for(let e=o.length;e<c.length;e++){let n=t.concat([e]);i.push({op:`add`,path:n,value:d(c[e])})}for(let e=c.length-1;o.length<=e;--e){let n=t.concat([e]);a.push({op:r,path:n})}}function o(e,t,i,a){let{base_:o,copy_:s,type_:c}=e;Ed(e.assigned_,(e,l)=>{let u=kd(o,e,c),f=kd(s,e,c),p=l?Od(o,e)?n:`add`:r;if(u===f&&p===n)return;let m=t.concat(e);i.push(p===r?{op:p,path:m}:{op:p,path:m,value:d(f)}),a.push(p===`add`?{op:r,path:m}:p===r?{op:`add`,path:m,value:d(u)}:{op:n,path:m,value:d(u)})})}function s(e,t,n,i){let{base_:a,copy_:o}=e,s=0;a.forEach(e=>{if(!o.has(e)){let a=t.concat([s]);n.push({op:r,path:a,value:e}),i.unshift({op:`add`,path:a,value:e})}s++}),s=0,o.forEach(e=>{if(!a.has(e)){let a=t.concat([s]);n.push({op:`add`,path:a,value:e}),i.unshift({op:r,path:a,value:e})}s++})}function c(e,t,r){let{patches_:i,inversePatches_:a}=r;i.push({op:n,path:[],value:t===ld?void 0:t}),a.push({op:n,path:[],value:e})}function l(e,t){return t.forEach(t=>{let{path:i,op:a}=t,o=e;for(let e=0;e<i.length-1;e++){let t=Dd(o),n=i[e];typeof n!=`string`&&typeof n!=`number`&&(n=``+n),t!==0&&t!==1||n!==`__proto__`&&n!==hd||fd(19),Id(o)&&n===gd&&fd(19),o=kd(o,n),o!==null&&Fd(o)||fd(18,i.join(`/`))}let s=Dd(o),c=u(t.value),l=i[i.length-1];switch(a){case n:switch(s){case 2:return o.set(l,c);case 3:fd(16);default:return o[l]=c}case`add`:switch(s){case 1:return l===`-`?o.push(c):o.splice(l,0,c);case 2:return o.set(l,c);case 3:return o.add(c);default:return o[l]=c}case r:switch(s){case 1:return o.splice(l,1);case 2:return o.delete(l);case 3:return o.delete(t.value);default:return delete o[l]}default:fd(17,a)}}),e}function u(e){if(!Sd(e))return e;if(Md(e))return e.map(u);if(Nd(e))return new Map(Array.from(e.entries()).map(([e,t])=>[e,u(t)]));if(Pd(e))return new Set(Array.from(e).map(u));let t=Object.create(md(e));for(let n in e)t[n]=u(e[n]);return Od(e,ud)&&(t[ud]=e[ud]),t}function d(e){return xd(e)?u(e):e}$d(Jd,{applyPatches_:l,generatePatches_:i,generateReplacementPatches_:c,getPath:e})}globalThis.Iterator?.from;var Pf=new kf;Pf.produce;var Ff=Pf.produceWithPatches.bind(Pf),If=`useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict`,Lf=(e=21)=>{let t=``,n=crypto.getRandomValues(new Uint8Array(e|=0));for(;e--;)t+=If[n[e]&63];return t};function Rf(e,t,n){if(e.fit===`crop`&&e.crop)return e.crop;let r=n?.w,i=n?.h;if(e.fit===`fill`||!r||!i||!t.w||!t.h)return[0,0,1,1];let a=Math.max(t.w/r,t.h/i),o=Math.min(1,t.w/(r*a)),s=Math.min(1,t.h/(i*a)),[c,l]=(e.type===`image`?e.pos:void 0)??[.5,.5];return[(1-o)*c,(1-s)*l,o,s]}function zf(e,t){let n=e.w/t[2],r=e.h/t[3];return{x:e.x-t[0]*n,y:e.y-t[1]*r,w:n,h:r}}function Bf(e,t){let n=e=>Math.round(e*1e5)/1e5,r=Math.min(1,e.w/t.w),i=Math.min(1,e.h/t.h),a=Math.min(1-r,Math.max(0,(e.x-t.x)/t.w)),o=Math.min(1-i,Math.max(0,(e.y-t.y)/t.h));return[n(a),n(o),n(r),n(i)]}var Vf=t(((e,t)=>{t.exports={}})),Hf=e(t(((e,t,n)=>{(function(e,n){e||=Vf();var r=e.window,i=e.document,a=new function(){var e=/^(statics|enumerable|beans|preserve)$/,t=[],r=t.slice,i=Object.create,a=Object.getOwnPropertyDescriptor,o=Object.defineProperty,s=t.forEach||function(e,t){for(var n=0,r=this.length;n<r;n++)e.call(t,this[n],n,this)},c=function(e,t){for(var n in this)this.hasOwnProperty(n)&&e.call(t,this[n],n,this)},l=Object.assign||function(e){for(var t=1,n=arguments.length;t<n;t++){var r=arguments[t];for(var i in r)r.hasOwnProperty(i)&&(e[i]=r[i])}return e},u=function(e,t,n){if(e){var r=a(e,`length`);(r&&typeof r.value==`number`?s:c).call(e,t,n||=e)}return n};function d(t,n,r,i,s){var c={};function l(e,l){l||=(l=a(n,e))&&(l.get?l:l.value),typeof l==`string`&&l[0]===`#`&&(l=t[l.substring(1)]||l);var u=typeof l==`function`,d=l,p=s||u&&!l.base?l&&l.get?e in t:t[e]:null,m;s&&p||(u&&p&&(l.base=p),u&&i!==!1&&(m=e.match(/^([gs]et|is)(([A-Z])(.*))$/))&&(c[m[3].toLowerCase()+m[4]]=m[2]),d&&!u&&d.get&&typeof d.get==`function`&&f.isPlainObject(d)||(d={value:d,writable:!0}),(a(t,e)||{configurable:!0}).configurable&&(d.configurable=!0,d.enumerable=r??!m),o(t,e,d))}if(n){for(var u in n)n.hasOwnProperty(u)&&!e.test(u)&&l(u);for(var u in c){var d=c[u],p=t[`set`+d],m=t[`get`+d]||p&&t[`is`+d];m&&(i===!0||m.length===0)&&l(u,{get:m,set:p})}}return t}function f(){for(var e=0,t=arguments.length;e<t;e++){var n=arguments[e];n&&l(this,n)}return this}return d(f,{inject:function(e){if(e){var t=e.statics===!0?e:e.statics,n=e.beans,r=e.preserve;t!==e&&d(this.prototype,e,e.enumerable,n,r),d(this,t,null,n,r)}for(var i=1,a=arguments.length;i<a;i++)this.inject(arguments[i]);return this},extend:function(){for(var e=this,t,n,r=0,a,s=arguments.length;r<s&&!(t&&n);r++)a=arguments[r],t||=a.initialize,n||=a.prototype;return t||=function(){e.apply(this,arguments)},n=t.prototype=n||i(this.prototype),o(n,`constructor`,{value:t,writable:!0,configurable:!0}),d(t,this),arguments.length&&this.inject.apply(t,arguments),t.base=e,t}}).inject({enumerable:!1,initialize:f,set:f,inject:function(){for(var e=0,t=arguments.length;e<t;e++){var n=arguments[e];n&&d(this,n,n.enumerable,n.beans,n.preserve)}return this},extend:function(){var e=i(this);return e.inject.apply(e,arguments)},each:function(e,t){return u(this,e,t)},clone:function(){return new this.constructor(this)},statics:{set:l,each:u,create:i,define:o,describe:a,clone:function(e){return l(new e.constructor,e)},isPlainObject:function(e){var t=e!=null&&e.constructor;return t&&(t===Object||t===f||t.name===`Object`)},pick:function(e,t){return e===n?t:e},slice:function(e,t,n){return r.call(e,t,n)}}})};t!==void 0&&(t.exports=a),a.inject({enumerable:!1,toString:function(){return this._id==null?`{ `+a.each(this,function(e,t){if(!/^_/.test(t)){var n=typeof e;this.push(t+`: `+(n===`number`?u.instance.number(e):n===`string`?`'`+e+`'`:e))}},[]).join(`, `)+` }`:(this._class||`Object`)+(this._name?` '`+this._name+`'`:` @`+this._id)},getClassName:function(){return this._class||``},importJSON:function(e){return a.importJSON(e,this)},exportJSON:function(e){return a.exportJSON(this,e)},toJSON:function(){return a.serialize(this)},set:function(e,t){return e&&a.filter(this,e,t,this._prioritize),this}},{beans:!1,statics:{exports:{},extend:function e(){var t=e.base.apply(this,arguments),n=t.prototype._class;return n&&!a.exports[n]&&(a.exports[n]=t),t},equals:function(e,t){if(e===t)return!0;if(e&&e.equals)return e.equals(t);if(t&&t.equals)return t.equals(e);if(e&&t&&typeof e==`object`&&typeof t==`object`){if(Array.isArray(e)&&Array.isArray(t)){var n=e.length;if(n!==t.length)return!1;for(;n--;)if(!a.equals(e[n],t[n]))return!1}else{var r=Object.keys(e),n=r.length;if(n!==Object.keys(t).length)return!1;for(;n--;){var i=r[n];if(!(t.hasOwnProperty(i)&&a.equals(e[i],t[i])))return!1}}return!0}return!1},read:function(e,t,r,i){if(this===a){var o=this.peek(e,t);return e.__index++,o}var s=this.prototype,c=s._readIndex,l=t||c&&e.__index||0,u=e.length,d=e[l];if(i||=u-l,d instanceof this||r&&r.readNull&&d==null&&i<=1)return c&&(e.__index=l+1),d&&r&&r.clone?d.clone():d;if(d=a.create(s),c&&(d.__read=!0),d=d.initialize.apply(d,l>0||l+i<u?a.slice(e,l,l+i):e)||d,c){e.__index=l+d.__read;var f=d.__filtered;f&&(e.__filtered=f,d.__filtered=n),d.__read=n}return d},peek:function(e,t){return e[e.__index=t||e.__index||0]},remain:function(e){return e.length-(e.__index||0)},readList:function(e,t,n,r){for(var i=[],a,o=t||0,s=r?o+r:e.length,c=o;c<s;c++)i.push(Array.isArray(a=e[c])?this.read(a,0,n):this.read(e,c,n,1));return i},readNamed:function(e,t,r,i,o){var s=this.getNamed(e,t),c=s!==n;if(c){var l=e.__filtered;if(!l){var u=this.getSource(e);l=e.__filtered=a.create(u),l.__unfiltered=u}l[t]=n}return this.read(c?[s]:e,r,i,o)},readSupported:function(e,t){var r=this.getSource(e),i=this,a=!1;return r&&Object.keys(r).forEach(function(r){if(r in t){var o=i.readNamed(e,r);o!==n&&(t[r]=o),a=!0}}),a},getSource:function(e){var t=e.__source;if(t===n){var r=e.length===1&&e[0];t=e.__source=r&&a.isPlainObject(r)?r:null}return t},getNamed:function(e,t){var n=this.getSource(e);if(n)return t?n[t]:e.__filtered||n},hasNamed:function(e,t){return!!this.getNamed(e,t)},filter:function(e,t,r,i){var a;function o(i){if(!(r&&i in r)&&!(a&&i in a)){var o=t[i];o!==n&&(e[i]=o)}}if(i){for(var s={},c=0,l,u=i.length;c<u;c++)(l=i[c])in t&&(o(l),s[l]=!0);a=s}return Object.keys(t.__unfiltered||t).forEach(o),e},isPlainValue:function(e,t){return a.isPlainObject(e)||Array.isArray(e)||t&&typeof e==`string`},serialize:function(e,t,n,r){t||={};var i=!r,o;if(i&&(t.formatter=new u(t.precision),r={length:0,definitions:{},references:{},add:function(e,t){var n=`#`+e._id,r=this.references[n];if(!r){this.length++;var i=t.call(e),a=e._class;a&&i[0]!==a&&i.unshift(a),this.definitions[n]=i,r=this.references[n]=[n]}return r}}),e&&e._serialize){o=e._serialize(t,r);var s=e._class;s&&!e._compactSerialize&&(i||!n)&&o[0]!==s&&o.unshift(s)}else if(Array.isArray(e)){o=[];for(var c=0,l=e.length;c<l;c++)o[c]=a.serialize(e[c],t,n,r)}else if(a.isPlainObject(e)){o={};for(var d=Object.keys(e),c=0,l=d.length;c<l;c++){var f=d[c];o[f]=a.serialize(e[f],t,n,r)}}else o=typeof e==`number`?t.formatter.number(e,t.precision):e;return i&&r.length>0?[[`dictionary`,r.definitions],o]:o},deserialize:function(e,t,n,r,i){var o=e,s=!n,c=s&&e&&e.length&&e[0][0]===`dictionary`;if(n||={},Array.isArray(e)){var l=e[0],u=l===`dictionary`;if(e.length==1&&/^#/.test(l))return n.dictionary[l];l=a.exports[l],o=[];for(var d=+!!l,f=e.length;d<f;d++)o.push(a.deserialize(e[d],t,n,u,c));if(l){var p=o;o=t?t(l,p,s||i):new l(p)}}else if(a.isPlainObject(e))for(var m in o={},r&&(n.dictionary=o),e)o[m]=a.deserialize(e[m],t,n);return c?o[1]:o},exportJSON:function(e,t){var n=a.serialize(e,t);return t&&t.asString==0?n:JSON.stringify(n)},importJSON:function(e,t){return a.deserialize(typeof e==`string`?JSON.parse(e):e,function(e,n,r){var i=r&&t&&t.constructor===e,o=i?t:a.create(e.prototype);if(n.length===1&&o instanceof S&&(i||!(o instanceof w))){var s=n[0];a.isPlainObject(s)&&(s.insert=!1,i&&(n=n.concat([S.INSERT])))}return(i?o.set:e).apply(o,n),i&&(t=null),o})},push:function(e,t){var n=t.length;if(n<4096)e.push.apply(e,t);else{var r=e.length;e.length+=n;for(var i=0;i<n;i++)e[r+i]=t[i]}return e},splice:function(e,t,r,i){var o=t&&t.length,s=r===n;r=s?e.length:r,r>e.length&&(r=e.length);for(var c=0;c<o;c++)t[c]._index=r+c;if(s)return a.push(e,t),[];var l=[r,i];t&&a.push(l,t);for(var u=e.splice.apply(e,l),c=0,d=u.length;c<d;c++)u[c]._index=n;for(var c=r+o,d=e.length;c<d;c++)e[c]._index=c;return u},capitalize:function(e){return e.replace(/\b[a-z]/g,function(e){return e.toUpperCase()})},camelize:function(e){return e.replace(/-(.)/g,function(e,t){return t.toUpperCase()})},hyphenate:function(e){return e.replace(/([a-z])([A-Z])/g,`$1-$2`).toLowerCase()}}});var o={on:function(e,t){if(typeof e!=`string`)a.each(e,function(e,t){this.on(t,e)},this);else{var n=this._eventTypes,r=n&&n[e],i=this._callbacks=this._callbacks||{};i=i[e]=i[e]||[],i.indexOf(t)===-1&&(i.push(t),r&&r.install&&i.length===1&&r.install.call(this,e))}return this},off:function(e,t){if(typeof e!=`string`)a.each(e,function(e,t){this.off(t,e)},this);else{var n=this._eventTypes,r=n&&n[e],i=this._callbacks&&this._callbacks[e],o;return i&&(!t||(o=i.indexOf(t))!==-1&&i.length===1?(r&&r.uninstall&&r.uninstall.call(this,e),delete this._callbacks[e]):o!==-1&&i.splice(o,1)),this}},once:function(e,t){return this.on(e,function n(){t.apply(this,arguments),this.off(e,n)})},emit:function(e,t){var n=this._callbacks&&this._callbacks[e];if(!n)return!1;var r=a.slice(arguments,1),i=t&&t.target&&!t.currentTarget;n=n.slice(),i&&(t.currentTarget=this);for(var o=0,s=n.length;o<s;o++)if(n[o].apply(this,r)==0){t&&t.stop&&t.stop();break}return i&&delete t.currentTarget,!0},responds:function(e){return!!(this._callbacks&&this._callbacks[e])},attach:`#on`,detach:`#off`,fire:`#emit`,_installEvents:function(e){var t=this._eventTypes,n=this._callbacks,r=e?`install`:`uninstall`;if(t){for(var i in n)if(n[i].length>0){var a=t[i],o=a&&a[r];o&&o.call(this,i)}}},statics:{inject:function e(t){var n=t._events;if(n){var r={};a.each(n,function(e,n){var i=typeof e==`string`,o=i?e:n,s=a.capitalize(o),c=o.substring(2).toLowerCase();r[c]=i?{}:e,o=`_`+o,t[`get`+s]=function(){return this[o]},t[`set`+s]=function(e){var t=this[o];t&&this.off(c,t),e&&this.on(c,e),this[o]=e}}),t._eventTypes=r}return e.base.apply(this,arguments)}}},s=a.extend({_class:`PaperScope`,initialize:function t(){I=this,this.settings=new a({applyMatrix:!0,insertItems:!0,handleSize:4,hitTolerance:0}),this.project=null,this.projects=[],this.tools=[],this._id=t._id++,t._scopes[this._id]=this;var n=t.prototype;if(!this.support){var r=xe.getContext(1,1)||{};n.support={nativeDash:`setLineDash`in r||`mozDash`in r,nativeBlendModes:Se.nativeModes},xe.release(r)}if(!this.agent){var i=e.navigator.userAgent.toLowerCase(),o=(/(darwin|win|mac|linux|freebsd|sunos)/.exec(i)||[])[0],s=o===`darwin`?`mac`:o,c=n.agent=n.browser={platform:s};s&&(c[s]=!0),i.replace(/(opera|chrome|safari|webkit|firefox|msie|trident|atom|node|jsdom)\/?\s*([.\d]+)(?:.*version\/([.\d]+))?(?:.*rv\:v?([.\d]+))?/g,function(e,t,n,r,i){if(!c.chrome){var a=t===`opera`?r:/^(node|trident)$/.test(t)?i:n;c.version=a,c.versionNumber=parseFloat(a),t={trident:`msie`,jsdom:`node`}[t]||t,c.name=t,c[t]=!0}}),c.chrome&&delete c.webkit,c.atom&&delete c.chrome}},version:`0.12.18`,getView:function(){var e=this.project;return e&&e._view},getPaper:function(){return this},execute:function(e,t){},install:function(e){var t=this;for(var n in a.each([`project`,`view`,`tool`],function(n){a.define(e,n,{configurable:!0,get:function(){return t[n]}})}),this)!/^_/.test(n)&&this[n]&&(e[n]=this[n])},setup:function(e){return I=this,this.project=new x(e),this},createCanvas:function(e,t){return xe.getCanvas(e,t)},activate:function(){I=this},clear:function(){for(var e=this.projects,t=this.tools,n=e.length-1;n>=0;n--)e[n].remove();for(var n=t.length-1;n>=0;n--)t[n].remove()},remove:function(){this.clear(),delete s._scopes[this._id]},statics:new function(){function e(e){return e+=`Attribute`,function(t,n){return t[e](n)||t[e](`data-paper-`+n)}}return{_scopes:{},_id:0,get:function(e){return this._scopes[e]||null},getAttribute:e(`get`),hasAttribute:e(`has`)}}}),c=a.extend(o,{initialize:function(e){this._scope=I,this._index=this._scope[this._list].push(this)-1,(e||!this._scope[this._reference])&&this.activate()},activate:function(){if(!this._scope)return!1;var e=this._scope[this._reference];return e&&e!==this&&e.emit(`deactivate`),this._scope[this._reference]=this,this.emit(`activate`,e),!0},isActive:function(){return this._scope[this._reference]===this},remove:function(){return this._index!=null&&(a.splice(this._scope[this._list],null,this._index,1),this._scope[this._reference]==this&&(this._scope[this._reference]=null),this._scope=null,!0)},getView:function(){return this._scope.getView()}}),l={findItemBoundsCollisions:function(e,t,n){function r(e){for(var t=Array(e.length),n=0;n<e.length;n++){var r=e[n].getBounds();t[n]=[r.left,r.top,r.right,r.bottom]}return t}var i=r(e),a=!t||t===e?i:r(t);return this.findBoundsCollisions(i,a,n||0)},findCurveBoundsCollisions:function(e,t,n,r){function i(e){for(var t=Math.min,n=Math.max,r=Array(e.length),i=0;i<e.length;i++){var a=e[i];r[i]=[t(a[0],a[2],a[4],a[6]),t(a[1],a[3],a[5],a[7]),n(a[0],a[2],a[4],a[6]),n(a[1],a[3],a[5],a[7])]}return r}var a=i(e),o=!t||t===e?a:i(t);if(r){for(var s=this.findBoundsCollisions(a,o,n||0,!1,!0),c=this.findBoundsCollisions(a,o,n||0,!0,!0),l=[],u=0,d=s.length;u<d;u++)l[u]={hor:s[u],ver:c[u]};return l}return this.findBoundsCollisions(a,o,n||0)},findBoundsCollisions:function(e,t,n,r,i){var a=!t||e===t,o=a?e:e.concat(t),s=e.length,c=o.length;function l(e,t,n){for(var r=0,i=e.length;r<i;){var a=i+r>>>1;o[e[a]][t]<n?r=a+1:i=a}return r-1}for(var u=+!!r,d=u+2,f=+!r,p=f+2,m=Array(c),h=0;h<c;h++)m[h]=h;m.sort(function(e,t){return o[e][u]-o[t][u]});for(var g=[],_=Array(s),h=0;h<c;h++){var v=m[h],y=o[v],b=a?v:v-s,x=v<s,S=a||!x,C=x?[]:null;if(g.length){var w=l(g,d,y[u]-n)+1;if(g.splice(0,w),a&&i){C=C.concat(g);for(var T=0;T<g.length;T++){var E=g[T];_[E].push(b)}}else for(var D=y[p],O=y[f],T=0;T<g.length;T++){var E=g[T],k=o[E],A=E<s,j=a||E>=s;(i||(x&&j||S&&A)&&D>=k[f]-n&&O<=k[p]+n)&&(x&&j&&C.push(a?E:E-s),S&&A&&_[E].push(b))}}if(x&&(e===t&&C.push(v),_[v]=C),g.length){var M=y[d],ee=l(g,d,M);g.splice(ee+1,0,v)}else g.push(v)}for(var h=0;h<_.length;h++){var te=_[h];te&&te.sort(function(e,t){return e-t})}return _}},u=a.extend({initialize:function(e){this.precision=a.pick(e,5),this.multiplier=10**this.precision},number:function(e){return this.precision<16?Math.round(e*this.multiplier)/this.multiplier:e},pair:function(e,t,n){return this.number(e)+(n||`,`)+this.number(t)},point:function(e,t){return this.number(e.x)+(t||`,`)+this.number(e.y)},size:function(e,t){return this.number(e.width)+(t||`,`)+this.number(e.height)},rectangle:function(e,t){return this.point(e,t)+(t||`,`)+this.size(e,t)}});u.instance=new u;var d=new function(){var e=[[.5773502691896257],[0,.7745966692414834],[.33998104358485626,.8611363115940526],[0,.5384693101056831,.906179845938664],[.2386191860831969,.6612093864662645,.932469514203152],[0,.4058451513773972,.7415311855993945,.9491079123427585],[.1834346424956498,.525532409916329,.7966664774136267,.9602898564975363],[0,.3242534234038089,.6133714327005904,.8360311073266358,.9681602395076261],[.14887433898163122,.4333953941292472,.6794095682990244,.8650633666889845,.9739065285171717],[0,.26954315595234496,.5190961292068118,.7301520055740494,.8870625997680953,.978228658146057],[.1252334085114689,.3678314989981802,.5873179542866175,.7699026741943047,.9041172563704749,.9815606342467192],[0,.2304583159551348,.44849275103644687,.6423493394403402,.8015780907333099,.9175983992229779,.9841830547185881],[.10805494870734367,.31911236892788974,.5152486363581541,.6872929048116855,.827201315069765,.9284348836635735,.9862838086968123],[0,.20119409399743451,.3941513470775634,.5709721726085388,.7244177313601701,.8482065834104272,.937273392400706,.9879925180204854],[.09501250983763744,.2816035507792589,.45801677765722737,.6178762444026438,.755404408355003,.8656312023878318,.9445750230732326,.9894009349916499]],t=[[1],[.8888888888888888,.5555555555555556],[.6521451548625461,.34785484513745385],[.5688888888888889,.47862867049936647,.23692688505618908],[.46791393457269104,.3607615730481386,.17132449237917036],[.4179591836734694,.3818300505051189,.27970539148927664,.1294849661688697],[.362683783378362,.31370664587788727,.22238103445337448,.10122853629037626],[.3302393550012598,.31234707704000286,.26061069640293544,.1806481606948574,.08127438836157441],[.29552422471475287,.26926671930999635,.21908636251598204,.1494513491505806,.06667134430868814],[.2729250867779006,.26280454451024665,.23319376459199048,.18629021092773426,.1255803694649046,.05566856711617366],[.24914704581340277,.2334925365383548,.20316742672306592,.16007832854334622,.10693932599531843,.04717533638651183],[.2325515532308739,.22628318026289723,.2078160475368885,.17814598076194574,.13887351021978725,.09212149983772845,.04048400476531588],[.2152638534631578,.2051984637212956,.18553839747793782,.15720316715819355,.12151857068790319,.08015808715976021,.03511946033175186],[.2025782419255613,.19843148532711158,.1861610000155622,.16626920581699392,.13957067792615432,.10715922046717194,.07036604748810812,.03075324199611727],[.1894506104550685,.18260341504492358,.16915651939500254,.14959598881657674,.12462897125553388,.09515851168249279,.062253523938647894,.027152459411754096]],n=Math.abs,r=Math.sqrt,i=Math.pow,a=Math.log2||function(e){return Math.log(e)*Math.LOG2E},o=1e-12,s=112e-18;function c(e,t,n){return e<t?t:e>n?n:e}function l(e,t,r){function i(e){var t=e*134217729,n=e-t+t;return[n,e-n]}var a=t*t-e*r,o=t*t+e*r;if(n(a)*3<o){var s=i(e),c=i(t),l=i(r),u=t*t,d=c[0]*c[0]-u+2*c[0]*c[1]+c[1]*c[1],f=e*r,p=s[0]*l[0]-f+s[0]*l[1]+s[1]*l[0]+s[1]*l[1];a=u-f+(d-p)}return a}function u(){var e=Math.max.apply(Math,arguments);return e&&(e<1e-8||e>1e8)?i(2,-Math.round(a(e))):0}return{EPSILON:o,MACHINE_EPSILON:s,CURVETIME_EPSILON:1e-8,GEOMETRIC_EPSILON:1e-7,TRIGONOMETRIC_EPSILON:1e-8,ANGULAR_EPSILON:1e-5,KAPPA:4*(r(2)-1)/3,isZero:function(e){return e>=-o&&e<=o},isMachineZero:function(e){return e>=-s&&e<=s},clamp:c,integrate:function(n,r,i,a){for(var o=e[a-2],s=t[a-2],c=(i-r)*.5,l=c+r,u=0,d=a+1>>1,f=a&1?s[u++]*n(l):0;u<d;){var p=c*o[u];f+=s[u++]*(n(l+p)+n(l-p))}return c*f},findRoot:function(e,t,r,i,a,o,s){for(var l=0;l<o;l++){var u=e(r),d=u/t(r),f=r-d;if(n(d)<s){r=f;break}u>0?(a=r,r=f<=i?(i+a)*.5:f):(i=r,r=f>=a?(i+a)*.5:f)}return c(r,i,a)},solveQuadratic:function(e,t,i,a,d,f){var p,m=1/0;if(n(e)<o){if(n(t)<o)return n(i)<o?-1:0;p=-i/t}else{t*=-.5;var h=l(e,t,i);if(h&&n(h)<s){var g=u(n(e),n(t),n(i));g&&(e*=g,t*=g,i*=g,h=l(e,t,i))}if(h>=-s){var _=h<0?0:r(h),v=t+(t<0?-_:_);v===0?(p=i/e,m=-p):(p=v/e,m=i/v)}}var y=0,b=d==null,x=d-o,S=f+o;return isFinite(p)&&(b||p>x&&p<S)&&(a[y++]=b?p:c(p,d,f)),m!==p&&isFinite(m)&&(b||m>x&&m<S)&&(a[y++]=b?m:c(m,d,f)),y},solveCubic:function(e,t,a,l,f,p,m){var h=u(n(e),n(t),n(a),n(l)),g,_,v,y,b;h&&(e*=h,t*=h,a*=h,l*=h);function x(n){g=n;var r=e*g;_=r+t,v=_*g+a,y=(r+_)*g+v,b=v*g+l}if(n(e)<o)e=t,_=a,v=l,g=1/0;else if(n(l)<o)_=t,v=a,g=0;else{x(-(t/e)/3);var S=b/e,C=i(n(S),1/3),w=S<0?-1:1,T=-y/e,E=T>0?1.324717957244746*Math.max(C,r(T)):C,D=g-w*E;if(D!==g){do x(D),D=y===0?g:g-b/y/(1+s);while(w*D>w*g);n(e)*g*g>n(l/g)&&(v=-l/g,_=(v-a)/g)}}var O=d.solveQuadratic(e,_,v,f,p,m),k=p==null;return isFinite(g)&&(O===0||O>0&&g!==f[0]&&g!==f[1])&&(k||g>p-o&&g<m+o)&&(f[O++]=k?g:c(g,p,m)),O}}},f={_id:1,_pools:{},get:function(e){if(e){var t=this._pools[e];return t||=this._pools[e]={_id:1},t._id++}return this._id++}},p=a.extend({_class:`Point`,_readIndex:!0,initialize:function(e,t){var n=typeof e,r=this.__read,i=0;if(n===`number`){var a=typeof t==`number`;this._set(e,a?t:e),r&&(i=a?2:1)}else if(n===`undefined`||e===null)this._set(0,0),r&&(i=+(e===null));else{var o=n===`string`?e.split(/[\s,]+/)||[]:e;i=1,Array.isArray(o)?this._set(+o[0],+(o.length>1?o[1]:o[0])):`x`in o?this._set(o.x||0,o.y||0):`width`in o?this._set(o.width||0,o.height||0):`angle`in o?(this._set(o.length||0,0),this.setAngle(o.angle||0)):(this._set(0,0),i=0)}return r&&(this.__read=i),this},set:`#initialize`,_set:function(e,t){return this.x=e,this.y=t,this},equals:function(e){return this===e||e&&(this.x===e.x&&this.y===e.y||Array.isArray(e)&&this.x===e[0]&&this.y===e[1])||!1},clone:function(){return new p(this.x,this.y)},toString:function(){var e=u.instance;return`{ x: `+e.number(this.x)+`, y: `+e.number(this.y)+` }`},_serialize:function(e){var t=e.formatter;return[t.number(this.x),t.number(this.y)]},getLength:function(){return Math.sqrt(this.x*this.x+this.y*this.y)},setLength:function(e){if(this.isZero()){var t=this._angle||0;this._set(Math.cos(t)*e,Math.sin(t)*e)}else{var n=e/this.getLength();d.isZero(n)&&this.getAngle(),this._set(this.x*n,this.y*n)}},getAngle:function(){return this.getAngleInRadians.apply(this,arguments)*180/Math.PI},setAngle:function(e){this.setAngleInRadians.call(this,e*Math.PI/180)},getAngleInDegrees:`#getAngle`,setAngleInDegrees:`#setAngle`,getAngleInRadians:function(){if(arguments.length){var e=p.read(arguments),t=this.getLength()*e.getLength();if(d.isZero(t))return NaN;var n=this.dot(e)/t;return Math.acos(n<-1?-1:n>1?1:n)}return this.isZero()?this._angle||0:this._angle=Math.atan2(this.y,this.x)},setAngleInRadians:function(e){if(this._angle=e,!this.isZero()){var t=this.getLength();this._set(Math.cos(e)*t,Math.sin(e)*t)}},getQuadrant:function(){return this.x>=0?this.y>=0?1:4:this.y>=0?2:3}},{beans:!1,getDirectedAngle:function(){var e=p.read(arguments);return Math.atan2(this.cross(e),this.dot(e))*180/Math.PI},getDistance:function(){var e=arguments,t=p.read(e),n=t.x-this.x,r=t.y-this.y,i=n*n+r*r;return a.read(e)?i:Math.sqrt(i)},normalize:function(e){e===n&&(e=1);var t=this.getLength(),r=t===0?0:e/t,i=new p(this.x*r,this.y*r);return r>=0&&(i._angle=this._angle),i},rotate:function(e,t){if(e===0)return this.clone();e=e*Math.PI/180;var n=t?this.subtract(t):this,r=Math.sin(e),i=Math.cos(e);return n=new p(n.x*i-n.y*r,n.x*r+n.y*i),t?n.add(t):n},transform:function(e){return e?e._transformPoint(this):this},add:function(){var e=p.read(arguments);return new p(this.x+e.x,this.y+e.y)},subtract:function(){var e=p.read(arguments);return new p(this.x-e.x,this.y-e.y)},multiply:function(){var e=p.read(arguments);return new p(this.x*e.x,this.y*e.y)},divide:function(){var e=p.read(arguments);return new p(this.x/e.x,this.y/e.y)},modulo:function(){var e=p.read(arguments);return new p(this.x%e.x,this.y%e.y)},negate:function(){return new p(-this.x,-this.y)},isInside:function(){return _.read(arguments).contains(this)},isClose:function(){var e=arguments,t=p.read(e),n=a.read(e);return this.getDistance(t)<=n},isCollinear:function(){var e=p.read(arguments);return p.isCollinear(this.x,this.y,e.x,e.y)},isColinear:`#isCollinear`,isOrthogonal:function(){var e=p.read(arguments);return p.isOrthogonal(this.x,this.y,e.x,e.y)},isZero:function(){var e=d.isZero;return e(this.x)&&e(this.y)},isNaN:function(){return isNaN(this.x)||isNaN(this.y)},isInQuadrant:function(e){return this.x*(e>1&&e<4?-1:1)>=0&&this.y*(e>2?-1:1)>=0},dot:function(){var e=p.read(arguments);return this.x*e.x+this.y*e.y},cross:function(){var e=p.read(arguments);return this.x*e.y-this.y*e.x},project:function(){var e=p.read(arguments),t=e.isZero()?0:this.dot(e)/e.dot(e);return new p(e.x*t,e.y*t)},statics:{min:function(){var e=arguments,t=p.read(e),n=p.read(e);return new p(Math.min(t.x,n.x),Math.min(t.y,n.y))},max:function(){var e=arguments,t=p.read(e),n=p.read(e);return new p(Math.max(t.x,n.x),Math.max(t.y,n.y))},random:function(){return new p(Math.random(),Math.random())},isCollinear:function(e,t,n,r){return Math.abs(e*r-t*n)<=Math.sqrt((e*e+t*t)*(n*n+r*r))*1e-8},isOrthogonal:function(e,t,n,r){return Math.abs(e*n+t*r)<=Math.sqrt((e*e+t*t)*(n*n+r*r))*1e-8}}},a.each([`round`,`ceil`,`floor`,`abs`],function(e){var t=Math[e];this[e]=function(){return new p(t(this.x),t(this.y))}},{})),m=p.extend({initialize:function(e,t,n,r){this._x=e,this._y=t,this._owner=n,this._setter=r},_set:function(e,t,n){return this._x=e,this._y=t,n||this._owner[this._setter](this),this},getX:function(){return this._x},setX:function(e){this._x=e,this._owner[this._setter](this)},getY:function(){return this._y},setY:function(e){this._y=e,this._owner[this._setter](this)},isSelected:function(){return!!(this._owner._selection&this._getSelection())},setSelected:function(e){this._owner._changeSelection(this._getSelection(),e)},_getSelection:function(){return this._setter===`setPosition`?4:0}}),h=a.extend({_class:`Size`,_readIndex:!0,initialize:function(e,t){var n=typeof e,r=this.__read,i=0;if(n===`number`){var a=typeof t==`number`;this._set(e,a?t:e),r&&(i=a?2:1)}else if(n===`undefined`||e===null)this._set(0,0),r&&(i=+(e===null));else{var o=n===`string`?e.split(/[\s,]+/)||[]:e;i=1,Array.isArray(o)?this._set(+o[0],+(o.length>1?o[1]:o[0])):`width`in o?this._set(o.width||0,o.height||0):`x`in o?this._set(o.x||0,o.y||0):(this._set(0,0),i=0)}return r&&(this.__read=i),this},set:`#initialize`,_set:function(e,t){return this.width=e,this.height=t,this},equals:function(e){return e===this||e&&(this.width===e.width&&this.height===e.height||Array.isArray(e)&&this.width===e[0]&&this.height===e[1])||!1},clone:function(){return new h(this.width,this.height)},toString:function(){var e=u.instance;return`{ width: `+e.number(this.width)+`, height: `+e.number(this.height)+` }`},_serialize:function(e){var t=e.formatter;return[t.number(this.width),t.number(this.height)]},add:function(){var e=h.read(arguments);return new h(this.width+e.width,this.height+e.height)},subtract:function(){var e=h.read(arguments);return new h(this.width-e.width,this.height-e.height)},multiply:function(){var e=h.read(arguments);return new h(this.width*e.width,this.height*e.height)},divide:function(){var e=h.read(arguments);return new h(this.width/e.width,this.height/e.height)},modulo:function(){var e=h.read(arguments);return new h(this.width%e.width,this.height%e.height)},negate:function(){return new h(-this.width,-this.height)},isZero:function(){var e=d.isZero;return e(this.width)&&e(this.height)},isNaN:function(){return isNaN(this.width)||isNaN(this.height)},statics:{min:function(e,t){return new h(Math.min(e.width,t.width),Math.min(e.height,t.height))},max:function(e,t){return new h(Math.max(e.width,t.width),Math.max(e.height,t.height))},random:function(){return new h(Math.random(),Math.random())}}},a.each([`round`,`ceil`,`floor`,`abs`],function(e){var t=Math[e];this[e]=function(){return new h(t(this.width),t(this.height))}},{})),g=h.extend({initialize:function(e,t,n,r){this._width=e,this._height=t,this._owner=n,this._setter=r},_set:function(e,t,n){return this._width=e,this._height=t,n||this._owner[this._setter](this),this},getWidth:function(){return this._width},setWidth:function(e){this._width=e,this._owner[this._setter](this)},getHeight:function(){return this._height},setHeight:function(e){this._height=e,this._owner[this._setter](this)}}),_=a.extend({_class:`Rectangle`,_readIndex:!0,beans:!0,initialize:function(e,t,r,i){var o=arguments,s=typeof e,c;if(s===`number`?(this._set(e,t,r,i),c=4):s===`undefined`||e===null?(this._set(0,0,0,0),c=+(e===null)):o.length===1&&(Array.isArray(e)?(this._set.apply(this,e),c=1):e.x!==n||e.width!==n?(this._set(e.x||0,e.y||0,e.width||0,e.height||0),c=1):e.from===n&&e.to===n&&(this._set(0,0,0,0),a.readSupported(o,this)&&(c=1))),c===n){var l=p.readNamed(o,`from`),u=a.peek(o),d=l.x,f=l.y,m,g;if(u&&u.x!==n||a.hasNamed(o,`to`)){var _=p.readNamed(o,`to`);m=_.x-d,g=_.y-f,m<0&&(d=_.x,m=-m),g<0&&(f=_.y,g=-g)}else{var v=h.read(o);m=v.width,g=v.height}this._set(d,f,m,g),c=o.__index}var y=o.__filtered;return y&&(this.__filtered=y),this.__read&&=c,this},set:`#initialize`,_set:function(e,t,n,r){return this.x=e,this.y=t,this.width=n,this.height=r,this},clone:function(){return new _(this.x,this.y,this.width,this.height)},equals:function(e){var t=a.isPlainValue(e)?_.read(arguments):e;return t===this||t&&this.x===t.x&&this.y===t.y&&this.width===t.width&&this.height===t.height||!1},toString:function(){var e=u.instance;return`{ x: `+e.number(this.x)+`, y: `+e.number(this.y)+`, width: `+e.number(this.width)+`, height: `+e.number(this.height)+` }`},_serialize:function(e){var t=e.formatter;return[t.number(this.x),t.number(this.y),t.number(this.width),t.number(this.height)]},getPoint:function(e){return new(e?p:m)(this.x,this.y,this,`setPoint`)},setPoint:function(){var e=p.read(arguments);this.x=e.x,this.y=e.y},getSize:function(e){return new(e?h:g)(this.width,this.height,this,`setSize`)},_fw:1,_fh:1,setSize:function(){var e=h.read(arguments),t=this._sx,n=this._sy,r=e.width,i=e.height;t&&(this.x+=(this.width-r)*t),n&&(this.y+=(this.height-i)*n),this.width=r,this.height=i,this._fw=this._fh=1},getLeft:function(){return this.x},setLeft:function(e){if(!this._fw){var t=e-this.x;this.width-=this._sx===.5?t*2:t}this.x=e,this._sx=this._fw=0},getTop:function(){return this.y},setTop:function(e){if(!this._fh){var t=e-this.y;this.height-=this._sy===.5?t*2:t}this.y=e,this._sy=this._fh=0},getRight:function(){return this.x+this.width},setRight:function(e){if(!this._fw){var t=e-this.x;this.width=this._sx===.5?t*2:t}this.x=e-this.width,this._sx=1,this._fw=0},getBottom:function(){return this.y+this.height},setBottom:function(e){if(!this._fh){var t=e-this.y;this.height=this._sy===.5?t*2:t}this.y=e-this.height,this._sy=1,this._fh=0},getCenterX:function(){return this.x+this.width/2},setCenterX:function(e){this._fw||this._sx===.5?this.x=e-this.width/2:(this._sx&&(this.x+=(e-this.x)*2*this._sx),this.width=(e-this.x)*2),this._sx=.5,this._fw=0},getCenterY:function(){return this.y+this.height/2},setCenterY:function(e){this._fh||this._sy===.5?this.y=e-this.height/2:(this._sy&&(this.y+=(e-this.y)*2*this._sy),this.height=(e-this.y)*2),this._sy=.5,this._fh=0},getCenter:function(e){return new(e?p:m)(this.getCenterX(),this.getCenterY(),this,`setCenter`)},setCenter:function(){var e=p.read(arguments);return this.setCenterX(e.x),this.setCenterY(e.y),this},getArea:function(){return this.width*this.height},isEmpty:function(){return this.width===0||this.height===0},contains:function(e){return e&&e.width!==n||(Array.isArray(e)?e:arguments).length===4?this._containsRectangle(_.read(arguments)):this._containsPoint(p.read(arguments))},_containsPoint:function(e){var t=e.x,n=e.y;return t>=this.x&&n>=this.y&&t<=this.x+this.width&&n<=this.y+this.height},_containsRectangle:function(e){var t=e.x,n=e.y;return t>=this.x&&n>=this.y&&t+e.width<=this.x+this.width&&n+e.height<=this.y+this.height},intersects:function(){var e=_.read(arguments),t=a.read(arguments)||0;return e.x+e.width>this.x-t&&e.y+e.height>this.y-t&&e.x<this.x+this.width+t&&e.y<this.y+this.height+t},intersect:function(){var e=_.read(arguments),t=Math.max(this.x,e.x),n=Math.max(this.y,e.y),r=Math.min(this.x+this.width,e.x+e.width),i=Math.min(this.y+this.height,e.y+e.height);return new _(t,n,r-t,i-n)},unite:function(){var e=_.read(arguments),t=Math.min(this.x,e.x),n=Math.min(this.y,e.y),r=Math.max(this.x+this.width,e.x+e.width),i=Math.max(this.y+this.height,e.y+e.height);return new _(t,n,r-t,i-n)},include:function(){var e=p.read(arguments),t=Math.min(this.x,e.x),n=Math.min(this.y,e.y),r=Math.max(this.x+this.width,e.x),i=Math.max(this.y+this.height,e.y);return new _(t,n,r-t,i-n)},expand:function(){var e=h.read(arguments),t=e.width,n=e.height;return new _(this.x-t/2,this.y-n/2,this.width+t,this.height+n)},scale:function(e,t){return this.expand(this.width*e-this.width,this.height*(t===n?e:t)-this.height)}},a.each([[`Top`,`Left`],[`Top`,`Right`],[`Bottom`,`Left`],[`Bottom`,`Right`],[`Left`,`Center`],[`Top`,`Center`],[`Right`,`Center`],[`Bottom`,`Center`]],function(e,t){var n=e.join(``),r=/^[RL]/.test(n);t>=4&&(e[1]+=r?`Y`:`X`);var i=e[+!r],a=e[+!!r],o=`get`+i,s=`get`+a,c=`set`+i,l=`set`+a,u=`get`+n,d=`set`+n;this[u]=function(e){return new(e?p:m)(this[o](),this[s](),this,d)},this[d]=function(){var e=p.read(arguments);this[c](e.x),this[l](e.y)}},{beans:!0})),v=_.extend({initialize:function(e,t,n,r,i,a){this._set(e,t,n,r,!0),this._owner=i,this._setter=a},_set:function(e,t,n,r,i){return this._x=e,this._y=t,this._width=n,this._height=r,i||this._owner[this._setter](this),this}},new function(){var e=_.prototype;return a.each([`x`,`y`,`width`,`height`],function(e){var t=a.capitalize(e),n=`_`+e;this[`get`+t]=function(){return this[n]},this[`set`+t]=function(e){this[n]=e,this._dontNotify||this._owner[this._setter](this)}},a.each([`Point`,`Size`,`Center`,`Left`,`Top`,`Right`,`Bottom`,`CenterX`,`CenterY`,`TopLeft`,`TopRight`,`BottomLeft`,`BottomRight`,`LeftCenter`,`TopCenter`,`RightCenter`,`BottomCenter`],function(t){var n=`set`+t;this[n]=function(){this._dontNotify=!0,e[n].apply(this,arguments),this._dontNotify=!1,this._owner[this._setter](this)}},{isSelected:function(){return!!(this._owner._selection&2)},setSelected:function(e){var t=this._owner;t._changeSelection&&t._changeSelection(2,e)}}))}),y=a.extend({_class:`Matrix`,initialize:function e(t,n){var r=arguments,i=r.length,a=!0;if(i>=6?this._set.apply(this,r):i===1||i===2?t instanceof e?this._set(t._a,t._b,t._c,t._d,t._tx,t._ty,n):Array.isArray(t)?this._set.apply(this,n?t.concat([n]):t):a=!1:i?a=!1:this.reset(),!a)throw Error(`Unsupported matrix parameters`);return this},set:`#initialize`,_set:function(e,t,n,r,i,a,o){return this._a=e,this._b=t,this._c=n,this._d=r,this._tx=i,this._ty=a,o||this._changed(),this},_serialize:function(e,t){return a.serialize(this.getValues(),e,!0,t)},_changed:function(){var e=this._owner;e&&(e._applyMatrix?e.transform(null,!0):e._changed(25))},clone:function(){return new y(this._a,this._b,this._c,this._d,this._tx,this._ty)},equals:function(e){return e===this||e&&this._a===e._a&&this._b===e._b&&this._c===e._c&&this._d===e._d&&this._tx===e._tx&&this._ty===e._ty},toString:function(){var e=u.instance;return`[[`+[e.number(this._a),e.number(this._c),e.number(this._tx)].join(`, `)+`], [`+[e.number(this._b),e.number(this._d),e.number(this._ty)].join(`, `)+`]]`},reset:function(e){return this._a=this._d=1,this._b=this._c=this._tx=this._ty=0,e||this._changed(),this},apply:function(e,t){var n=this._owner;return n?(n.transform(null,a.pick(e,!0),t),this.isIdentity()):!1},translate:function(){var e=p.read(arguments),t=e.x,n=e.y;return this._tx+=t*this._a+n*this._c,this._ty+=t*this._b+n*this._d,this._changed(),this},scale:function(){var e=arguments,t=p.read(e),n=p.read(e,0,{readNull:!0});return n&&this.translate(n),this._a*=t.x,this._b*=t.x,this._c*=t.y,this._d*=t.y,n&&this.translate(n.negate()),this._changed(),this},rotate:function(e){e*=Math.PI/180;var t=p.read(arguments,1),n=t.x,r=t.y,i=Math.cos(e),a=Math.sin(e),o=n-n*i+r*a,s=r-n*a-r*i,c=this._a,l=this._b,u=this._c,d=this._d;return this._a=i*c+a*u,this._b=i*l+a*d,this._c=-a*c+i*u,this._d=-a*l+i*d,this._tx+=o*c+s*u,this._ty+=o*l+s*d,this._changed(),this},shear:function(){var e=arguments,t=p.read(e),n=p.read(e,0,{readNull:!0});n&&this.translate(n);var r=this._a,i=this._b;return this._a+=t.y*this._c,this._b+=t.y*this._d,this._c+=t.x*r,this._d+=t.x*i,n&&this.translate(n.negate()),this._changed(),this},skew:function(){var e=arguments,t=p.read(e),n=p.read(e,0,{readNull:!0}),r=Math.PI/180,i=new p(Math.tan(t.x*r),Math.tan(t.y*r));return this.shear(i,n)},append:function(e,t){if(e){var n=this._a,r=this._b,i=this._c,a=this._d,o=e._a,s=e._c,c=e._b,l=e._d,u=e._tx,d=e._ty;this._a=o*n+c*i,this._c=s*n+l*i,this._b=o*r+c*a,this._d=s*r+l*a,this._tx+=u*n+d*i,this._ty+=u*r+d*a,t||this._changed()}return this},prepend:function(e,t){if(e){var n=this._a,r=this._b,i=this._c,a=this._d,o=this._tx,s=this._ty,c=e._a,l=e._c,u=e._b,d=e._d,f=e._tx,p=e._ty;this._a=c*n+l*r,this._c=c*i+l*a,this._b=u*n+d*r,this._d=u*i+d*a,this._tx=c*o+l*s+f,this._ty=u*o+d*s+p,t||this._changed()}return this},appended:function(e){return this.clone().append(e)},prepended:function(e){return this.clone().prepend(e)},invert:function(){var e=this._a,t=this._b,n=this._c,r=this._d,i=this._tx,a=this._ty,o=e*r-t*n,s=null;return o&&!isNaN(o)&&isFinite(i)&&isFinite(a)&&(this._a=r/o,this._b=-t/o,this._c=-n/o,this._d=e/o,this._tx=(n*a-r*i)/o,this._ty=(t*i-e*a)/o,s=this),s},inverted:function(){return this.clone().invert()},concatenate:`#append`,preConcatenate:`#prepend`,chain:`#appended`,_shiftless:function(){return new y(this._a,this._b,this._c,this._d,0,0)},_orNullIfIdentity:function(){return this.isIdentity()?null:this},isIdentity:function(){return this._a===1&&this._b===0&&this._c===0&&this._d===1&&this._tx===0&&this._ty===0},isInvertible:function(){var e=this._a*this._d-this._c*this._b;return e&&!isNaN(e)&&isFinite(this._tx)&&isFinite(this._ty)},isSingular:function(){return!this.isInvertible()},transform:function(e,t,n){return arguments.length<3?this._transformPoint(p.read(arguments)):this._transformCoordinates(e,t,n)},_transformPoint:function(e,t,n){var r=e.x,i=e.y;return t||=new p,t._set(r*this._a+i*this._c+this._tx,r*this._b+i*this._d+this._ty,n)},_transformCoordinates:function(e,t,n){for(var r=0,i=2*n;r<i;r+=2){var a=e[r],o=e[r+1];t[r]=a*this._a+o*this._c+this._tx,t[r+1]=a*this._b+o*this._d+this._ty}return t},_transformCorners:function(e){var t=e.x,n=e.y,r=t+e.width,i=n+e.height,a=[t,n,r,n,r,i,t,i];return this._transformCoordinates(a,a,4)},_transformBounds:function(e,t,n){for(var r=this._transformCorners(e),i=r.slice(0,2),a=i.slice(),o=2;o<8;o++){var s=r[o],c=o&1;s<i[c]?i[c]=s:s>a[c]&&(a[c]=s)}return t||=new _,t._set(i[0],i[1],a[0]-i[0],a[1]-i[1],n)},inverseTransform:function(){return this._inverseTransform(p.read(arguments))},_inverseTransform:function(e,t,n){var r=this._a,i=this._b,a=this._c,o=this._d,s=this._tx,c=this._ty,l=r*o-i*a,u=null;if(l&&!isNaN(l)&&isFinite(s)&&isFinite(c)){var d=e.x-this._tx,f=e.y-this._ty;t||=new p,u=t._set((d*o-f*a)/l,(f*r-d*i)/l,n)}return u},decompose:function(){var e=this._a,t=this._b,n=this._c,r=this._d,i=e*r-t*n,a=Math.sqrt,o=Math.atan2,s=180/Math.PI,c,l,u;if(e!==0||t!==0){var d=a(e*e+t*t);c=Math.acos(e/d)*(t>0?1:-1),l=[d,i/d],u=[o(e*n+t*r,d*d),0]}else if(n!==0||r!==0){var f=a(n*n+r*r);c=Math.asin(n/f)*(r>0?1:-1),l=[i/f,f],u=[0,o(e*n+t*r,f*f)]}else c=0,u=l=[0,0];return{translation:this.getTranslation(),rotation:c*s,scaling:new p(l),skewing:new p(u[0]*s,u[1]*s)}},getValues:function(){return[this._a,this._b,this._c,this._d,this._tx,this._ty]},getTranslation:function(){return new p(this._tx,this._ty)},getScaling:function(){return this.decompose().scaling},getRotation:function(){return this.decompose().rotation},applyToContext:function(e){this.isIdentity()||e.transform(this._a,this._b,this._c,this._d,this._tx,this._ty)}},a.each([`a`,`b`,`c`,`d`,`tx`,`ty`],function(e){var t=a.capitalize(e),n=`_`+e;this[`get`+t]=function(){return this[n]},this[`set`+t]=function(e){this[n]=e,this._changed()}},{})),b=a.extend({_class:`Line`,initialize:function(e,t,n,r,i){var a=!1;arguments.length>=4?(this._px=e,this._py=t,this._vx=n,this._vy=r,a=i):(this._px=e.x,this._py=e.y,this._vx=t.x,this._vy=t.y,a=n),a||(this._vx-=this._px,this._vy-=this._py)},getPoint:function(){return new p(this._px,this._py)},getVector:function(){return new p(this._vx,this._vy)},getLength:function(){return this.getVector().getLength()},intersect:function(e,t){return b.intersect(this._px,this._py,this._vx,this._vy,e._px,e._py,e._vx,e._vy,!0,t)},getSide:function(e,t){return b.getSide(this._px,this._py,this._vx,this._vy,e.x,e.y,!0,t)},getDistance:function(e){return Math.abs(this.getSignedDistance(e))},getSignedDistance:function(e){return b.getSignedDistance(this._px,this._py,this._vx,this._vy,e.x,e.y,!0)},isCollinear:function(e){return p.isCollinear(this._vx,this._vy,e._vx,e._vy)},isOrthogonal:function(e){return p.isOrthogonal(this._vx,this._vy,e._vx,e._vy)},statics:{intersect:function(e,t,n,r,i,a,o,s,c,l){c||(n-=e,r-=t,o-=i,s-=a);var u=n*s-r*o;if(!d.isMachineZero(u)){var f=e-i,m=t-a,h=(o*m-s*f)/u,g=(n*m-r*f)/u,_=1e-12,v=-_,y=1+_;if(l||v<h&&h<y&&v<g&&g<y)return l||(h=h<=0?0:h>=1?1:h),new p(e+h*n,t+h*r)}},getSide:function(e,t,n,r,i,a,o,s){o||(n-=e,r-=t);var c=i-e,l=a-t,u=c*r-l*n;return!s&&d.isMachineZero(u)&&(u=(c*n+c*n)/(n*n+r*r),u>=0&&u<=1&&(u=0)),u<0?-1:+(u>0)},getSignedDistance:function(e,t,n,r,i,a,o){return o||(n-=e,r-=t),n===0?r>0?i-e:e-i:r===0?n<0?a-t:t-a:((i-e)*r-(a-t)*n)/(r>n?r*Math.sqrt(1+n*n/(r*r)):n*Math.sqrt(1+r*r/(n*n)))},getDistance:function(e,t,n,r,i,a,o){return Math.abs(b.getSignedDistance(e,t,n,r,i,a,o))}}}),x=c.extend({_class:`Project`,_list:`projects`,_reference:`project`,_compactSerialize:!0,initialize:function(e){c.call(this,!0),this._children=[],this._namedChildren={},this._activeLayer=null,this._currentStyle=new ue(null,null,this),this._view=pe.create(this,e||xe.getCanvas(1,1)),this._selectionItems={},this._selectionCount=0,this._updateVersion=0},_serialize:function(e,t){return a.serialize(this._children,e,!0,t)},_changed:function(e,t){if(e&1){var n=this._view;n&&(n._needsUpdate=!0,!n._requested&&n._autoUpdate&&n.requestUpdate())}var r=this._changes;if(r&&t){var i=this._changesById,a=t._id,o=i[a];o?o.flags|=e:r.push(i[a]={item:t,flags:e})}},clear:function(){for(var e=this._children,t=e.length-1;t>=0;t--)e[t].remove()},isEmpty:function(){return!this._children.length},remove:function e(){return e.base.call(this)?(this._view&&this._view.remove(),!0):!1},getView:function(){return this._view},getCurrentStyle:function(){return this._currentStyle},setCurrentStyle:function(e){this._currentStyle.set(e)},getIndex:function(){return this._index},getOptions:function(){return this._scope.settings},getLayers:function(){return this._children},getActiveLayer:function(){return this._activeLayer||new w({project:this,insert:!0})},getSymbolDefinitions:function(){var e=[],t={};return this.getItems({class:D,match:function(n){var r=n._definition,i=r._id;return t[i]||(t[i]=!0,e.push(r)),!1}}),e},getSymbols:`getSymbolDefinitions`,getSelectedItems:function(){var e=this._selectionItems,t=[];for(var n in e){var r=e[n],i=r._selection;i&1&&r.isInserted()?t.push(r):i||this._updateSelection(r)}return t},_updateSelection:function(e){var t=e._id,n=this._selectionItems;e._selection?n[t]!==e&&(this._selectionCount++,n[t]=e):n[t]===e&&(this._selectionCount--,delete n[t])},selectAll:function(){for(var e=this._children,t=0,n=e.length;t<n;t++)e[t].setFullySelected(!0)},deselectAll:function(){var e=this._selectionItems;for(var t in e)e[t].setFullySelected(!1)},addLayer:function(e){return this.insertLayer(n,e)},insertLayer:function(e,t){if(t instanceof w){t._remove(!1,!0),a.splice(this._children,[t],e,0),t._setProject(this,!0);var n=t._name;n&&t.setName(n),this._changes&&t._changed(5),this._activeLayer||=t}else t=null;return t},_insertItem:function(e,t,r){return t=this.insertLayer(e,t)||(this._activeLayer||this._insertItem(n,new w(S.NO_INSERT),!0)).insertChild(e,t),r&&t.activate&&t.activate(),t},getItems:function(e){return S._getItems(this,e)},getItem:function(e){return S._getItems(this,e,null,null,!0)[0]||null},importJSON:function(e){this.activate();var t=this._activeLayer;return a.importJSON(e,t&&t.isEmpty()&&t)},removeOn:function(e){var t=this._removeSets;if(t){e===`mouseup`&&(t.mousedrag=null);var n=t[e];if(n){for(var r in n){var i=n[r];for(var a in t){var o=t[a];o&&o!=n&&delete o[i._id]}i.remove()}t[e]=null}}},draw:function(e,t,n){this._updateVersion++,e.save(),t.applyToContext(e);for(var r=this._children,i=new a({offset:new p(0,0),pixelRatio:n,viewMatrix:t.isIdentity()?null:t,matrices:[new y],updateMatrix:!0}),o=0,s=r.length;o<s;o++)r[o].draw(e,i);if(e.restore(),this._selectionCount>0){e.save(),e.strokeWidth=1;var c=this._selectionItems,l=this._scope.settings.handleSize,u=this._updateVersion;for(var d in c)c[d]._drawSelection(e,t,l,c,u);e.restore()}}}),S=a.extend(o,{statics:{extend:function e(t){return t._serializeFields&&=a.set({},this.prototype._serializeFields,t._serializeFields),e.base.apply(this,arguments)},INSERT:{insert:!0},NO_INSERT:{insert:!1}},_class:`Item`,_name:null,_applyMatrix:!0,_canApplyMatrix:!0,_canScaleStroke:!1,_pivot:null,_visible:!0,_blendMode:`normal`,_opacity:1,_locked:!1,_guide:!1,_clipMask:!1,_selection:0,_selectBounds:!0,_selectChildren:!1,_serializeFields:{name:null,applyMatrix:null,matrix:new y,pivot:null,visible:!0,blendMode:`normal`,opacity:1,locked:!1,guide:!1,clipMask:!1,selected:!1,data:{}},_prioritize:[`applyMatrix`]},new function(){var e=[`onMouseDown`,`onMouseUp`,`onMouseDrag`,`onClick`,`onDoubleClick`,`onMouseMove`,`onMouseEnter`,`onMouseLeave`];return a.each(e,function(e){this._events[e]={install:function(e){this.getView()._countItemEvent(e,1)},uninstall:function(e){this.getView()._countItemEvent(e,-1)}}},{_events:{onFrame:{install:function(){this.getView()._animateItem(this,!0)},uninstall:function(){this.getView()._animateItem(this,!1)}},onLoad:{},onError:{}},statics:{_itemHandlers:e}})},{initialize:function(){},_initialize:function(e,t){var r=e&&a.isPlainObject(e),i=r&&e.internal===!0,o=this._matrix=new y,s=r&&e.project||I.project,c=I.settings;return this._id=i?null:f.get(),this._parent=this._index=null,this._applyMatrix=this._canApplyMatrix&&c.applyMatrix,t&&o.translate(t),o._owner=this,this._style=new ue(s._currentStyle,this,s),i||r&&e.insert==0||!c.insertItems&&!(r&&e.insert==1)?this._setProject(s):(r&&e.parent||s)._insertItem(n,this,!0),r&&e!==S.NO_INSERT&&e!==S.INSERT&&this.set(e,{internal:!0,insert:!0,project:!0,parent:!0}),r},_serialize:function(e,t){var n={},r=this;function i(i){for(var o in i){var s=r[o];a.equals(s,o===`leading`?i.fontSize*1.2:i[o])||(n[o]=a.serialize(s,e,o!==`data`,t))}}return i(this._serializeFields),this instanceof C||i(this._style._defaults),[this._class,n]},_changed:function(e){var t=this._symbol,r=this._parent||t,i=this._project;e&8&&(this._bounds=this._position=this._decomposed=n),e&16&&(this._globalMatrix=n),r&&e&72&&S._clearBoundsCache(r),e&2&&S._clearBoundsCache(this),i&&i._changed(e,this),t&&t._changed(e)},getId:function(){return this._id},getName:function(){return this._name},setName:function(e){if(this._name&&this._removeNamed(),e===+e+``)throw Error(`Names consisting only of numbers are not supported.`);var t=this._getOwner();if(e&&t){var r=t._children,i=t._namedChildren;(i[e]=i[e]||[]).push(this),e in r||(r[e]=this)}this._name=e||n,this._changed(256)},getStyle:function(){return this._style},setStyle:function(e){this.getStyle().set(e)}},a.each([`locked`,`visible`,`blendMode`,`opacity`,`guide`],function(e){var t=a.capitalize(e),n=`_`+e,r={locked:256,visible:265};this[`get`+t]=function(){return this[n]},this[`set`+t]=function(t){t!=this[n]&&(this[n]=t,this._changed(r[e]||257))}},{}),{beans:!0,getSelection:function(){return this._selection},setSelection:function(e){if(e!==this._selection){this._selection=e;var t=this._project;t&&(t._updateSelection(this),this._changed(257))}},_changeSelection:function(e,t){var n=this._selection;this.setSelection(t?n|e:n&~e)},isSelected:function(){if(this._selectChildren){for(var e=this._children,t=0,n=e.length;t<n;t++)if(e[t].isSelected())return!0}return!!(this._selection&1)},setSelected:function(e){if(this._selectChildren)for(var t=this._children,n=0,r=t.length;n<r;n++)t[n].setSelected(e);this._changeSelection(1,e)},isFullySelected:function(){var e=this._children,t=!!(this._selection&1);if(e&&t){for(var n=0,r=e.length;n<r;n++)if(!e[n].isFullySelected())return!1;return!0}return t},setFullySelected:function(e){var t=this._children;if(t)for(var n=0,r=t.length;n<r;n++)t[n].setFullySelected(e);this._changeSelection(1,e)},isClipMask:function(){return this._clipMask},setClipMask:function(e){this._clipMask!=(e=!!e)&&(this._clipMask=e,e&&(this.setFillColor(null),this.setStrokeColor(null)),this._changed(257),this._parent&&this._parent._changed(2048))},getData:function(){return this._data||={},this._data},setData:function(e){this._data=e},getPosition:function(e){var t=e?p:m,n=this._position||=this._getPositionFromBounds();return new t(n.x,n.y,this,`setPosition`)},setPosition:function(){this.translate(p.read(arguments).subtract(this.getPosition(!0)))},_getPositionFromBounds:function(e){return this._pivot?this._matrix._transformPoint(this._pivot):(e||this.getBounds()).getCenter(!0)},getPivot:function(){var e=this._pivot;return e?new m(e.x,e.y,this,`setPivot`):null},setPivot:function(){this._pivot=p.read(arguments,0,{clone:!0,readNull:!0}),this._position=n}},a.each({getStrokeBounds:{stroke:!0},getHandleBounds:{handle:!0},getInternalBounds:{internal:!0}},function(e,t){this[t]=function(t){return this.getBounds(t,e)}},{beans:!0,getBounds:function(e,t){var n=t||e instanceof y,r=a.set({},n?t:e,this._boundsOptions);(!r.stroke||this.getStrokeScaling())&&(r.cacheItem=this);var i=this._getCachedBounds(n&&e,r).rect;return arguments.length?i:new v(i.x,i.y,i.width,i.height,this,`setBounds`)},setBounds:function(){var e=_.read(arguments),t=this.getBounds(),n=this._matrix,r=new y,i=e.getCenter();r.translate(i),(e.width!=t.width||e.height!=t.height)&&(n.isInvertible()||(n.set(n._backup||new y().translate(n.getTranslation())),t=this.getBounds()),r.scale(t.width===0?0:e.width/t.width,t.height===0?0:e.height/t.height)),i=t.getCenter(),r.translate(-i.x,-i.y),this.transform(r)},_getBounds:function(e,t){var n=this._children;return!n||!n.length?new _:(S._updateBoundsCache(this,t.cacheItem),S._getBounds(n,e,t))},_getBoundsCacheKey:function(e,t){return[+!!e.stroke,+!!e.handle,+!!t].join(``)},_getCachedBounds:function(e,t,n){e&&=e._orNullIfIdentity();var r=t.internal&&!n,i=t.cacheItem,a=r?null:this._matrix._orNullIfIdentity(),o=i&&(!e||e.equals(a))&&this._getBoundsCacheKey(t,r),s=this._bounds;if(S._updateBoundsCache(this._parent||this._symbol,i),o&&s&&o in s){var c=s[o];return{rect:c.rect.clone(),nonscaling:c.nonscaling}}var l=this._getBounds(e||a,t),u=l.rect||l,d=this._style,f=l.nonscaling||d.hasStroke()&&!d.getStrokeScaling();if(o){s||(this._bounds=s={});var c=s[o]={rect:u.clone(),nonscaling:f,internal:r}}return{rect:u,nonscaling:f}},_getStrokeMatrix:function(e,t){var n=this.getStrokeScaling()?null:t&&t.internal?this:this._parent||this._symbol&&this._symbol._item,r=n?n.getViewMatrix().invert():e;return r&&r._shiftless()},statics:{_updateBoundsCache:function(e,t){if(e&&t){var n=t._id,r=e._boundsCache=e._boundsCache||{ids:{},list:[]};r.ids[n]||(r.list.push(t),r.ids[n]=t)}},_clearBoundsCache:function(e){var t=e._boundsCache;if(t){e._bounds=e._position=e._boundsCache=n;for(var r=0,i=t.list,a=i.length;r<a;r++){var o=i[r];o!==e&&(o._bounds=o._position=n,o._boundsCache&&S._clearBoundsCache(o))}}},_getBounds:function(e,t,n){var r=1/0,i=-r,a=r,o=i,s=!1;n||={};for(var c=0,l=e.length;c<l;c++){var u=e[c];if(u._visible&&!u.isEmpty(!0)){var d=u._getCachedBounds(t&&t.appended(u._matrix),n,!0),f=d.rect;r=Math.min(f.x,r),a=Math.min(f.y,a),i=Math.max(f.x+f.width,i),o=Math.max(f.y+f.height,o),d.nonscaling&&(s=!0)}}return{rect:isFinite(r)?new _(r,a,i-r,o-a):new _,nonscaling:s}}}}),{beans:!0,_decompose:function(){return this._applyMatrix?null:this._decomposed||=this._matrix.decompose()},getRotation:function(){var e=this._decompose();return e?e.rotation:0},setRotation:function(e){var t=this.getRotation();if(t!=null&&e!=null){var n=this._decomposed;this.rotate(e-t),n&&(n.rotation=e,this._decomposed=n)}},getScaling:function(){var e=this._decompose(),t=e&&e.scaling;return new m(t?t.x:1,t?t.y:1,this,`setScaling`)},setScaling:function(){var e=this.getScaling(),t=p.read(arguments,0,{clone:!0,readNull:!0});if(e&&t&&!e.equals(t)){var n=this.getRotation(),r=this._decomposed,i=new y,a=d.isZero;if(a(e.x)||a(e.y))i.translate(r.translation),n&&i.rotate(n),i.scale(t.x,t.y),this._matrix.set(i);else{var o=this.getPosition(!0);i.translate(o),n&&i.rotate(n),i.scale(t.x/e.x,t.y/e.y),n&&i.rotate(-n),i.translate(o.negate()),this.transform(i)}r&&(r.scaling=t,this._decomposed=r)}},getMatrix:function(){return this._matrix},setMatrix:function(){var e=this._matrix;e.set.apply(e,arguments)},getGlobalMatrix:function(e){var t=this._globalMatrix;if(t)for(var n=this._parent,r=[];n;){if(!n._globalMatrix){t=null;for(var i=0,a=r.length;i<a;i++)r[i]._globalMatrix=null;break}r.push(n),n=n._parent}if(!t){t=this._globalMatrix=this._matrix.clone();var n=this._parent;n&&t.prepend(n.getGlobalMatrix(!0))}return e?t:t.clone()},getViewMatrix:function(){return this.getGlobalMatrix().prepend(this.getView()._matrix)},getApplyMatrix:function(){return this._applyMatrix},setApplyMatrix:function(e){(this._applyMatrix=this._canApplyMatrix&&!!e)&&this.transform(null,!0)},getTransformContent:`#getApplyMatrix`,setTransformContent:`#setApplyMatrix`},{getProject:function(){return this._project},_setProject:function(e,t){if(this._project!==e){this._project&&this._installEvents(!1),this._project=e;for(var n=this._children,r=0,i=n&&n.length;r<i;r++)n[r]._setProject(e);t=!0}t&&this._installEvents(!0)},getView:function(){return this._project._view},_installEvents:function e(t){e.base.call(this,t);for(var n=this._children,r=0,i=n&&n.length;r<i;r++)n[r]._installEvents(t)},getLayer:function(){for(var e=this;e=e._parent;)if(e instanceof w)return e;return null},getParent:function(){return this._parent},setParent:function(e){return e.addChild(this)},_getOwner:`#getParent`,getChildren:function(){return this._children},setChildren:function(e){this.removeChildren(),this.addChildren(e)},getFirstChild:function(){return this._children&&this._children[0]||null},getLastChild:function(){return this._children&&this._children[this._children.length-1]||null},getNextSibling:function(){var e=this._getOwner();return e&&e._children[this._index+1]||null},getPreviousSibling:function(){var e=this._getOwner();return e&&e._children[this._index-1]||null},getIndex:function(){return this._index},setIndex:function(e){var t=this._parent,r=t&&t._children;r&&t.insertChildren(e in r?e:n,[this])},equals:function(e){return e===this||e&&this._class===e._class&&this._style.equals(e._style)&&this._matrix.equals(e._matrix)&&this._locked===e._locked&&this._visible===e._visible&&this._blendMode===e._blendMode&&this._opacity===e._opacity&&this._clipMask===e._clipMask&&this._guide===e._guide&&this._equals(e)||!1},_equals:function(e){return a.equals(this._children,e._children)},clone:function(e){var t=new this.constructor(S.NO_INSERT),r=this._children,i=a.pick(e?e.insert:n,e===n||e===!0),o=a.pick(e?e.deep:n,!0);r&&t.copyAttributes(this),(!r||o)&&t.copyContent(this),r||t.copyAttributes(this),i&&t.insertAbove(this);var s=this._name,c=this._parent;if(s&&c){for(var r=c._children,l=s,u=1;r[s];)s=l+` `+u++;s!==l&&t.setName(s)}return t},copyContent:function(e){for(var t=e._children,n=0,r=t&&t.length;n<r;n++)this.addChild(t[n].clone(!1),!0)},copyAttributes:function(e,t){this.setStyle(e._style);for(var n=[`_locked`,`_visible`,`_blendMode`,`_opacity`,`_clipMask`,`_guide`],r=0,i=n.length;r<i;r++){var o=n[r];e.hasOwnProperty(o)&&(this[o]=e[o])}t||this._matrix.set(e._matrix,!0),this.setApplyMatrix(e._applyMatrix),this.setPivot(e._pivot),this.setSelection(e._selection);var s=e._data,c=e._name;this._data=s?a.clone(s):null,c&&this.setName(c)},rasterize:function(e,t){var r,i,o;a.isPlainObject(e)?(r=e.resolution,i=e.insert,o=e.raster):(r=e,i=t),o||=new E(S.NO_INSERT);var s=this.getStrokeBounds(),c=(r||this.getView().getResolution())/72,l=s.getTopLeft().floor(),u=new h(s.getBottomRight().ceil().subtract(l)),d=u.multiply(c);if(o.setSize(d,!0),!d.isZero()){var f=o.getContext(!0),p=new y().scale(c).translate(l.negate());f.save(),p.applyToContext(f),this.draw(f,new a({matrices:[p]})),f.restore()}return o._matrix.set(new y().translate(l.add(u.divide(2))).scale(1/c)),(i===n||i)&&o.insertAbove(this),o},contains:function(){var e=this._matrix;return e.isInvertible()&&!!this._contains(e._inverseTransform(p.read(arguments)))},_contains:function(e){var t=this._children;if(t){for(var n=t.length-1;n>=0;n--)if(t[n].contains(e))return!0;return!1}return e.isInside(this.getInternalBounds())},isInside:function(){return _.read(arguments).contains(this.getBounds())},_asPathItem:function(){return new N.Rectangle({rectangle:this.getInternalBounds(),matrix:this._matrix,insert:!1})},intersects:function(e,t){return e instanceof S&&this._asPathItem().getIntersections(e._asPathItem(),null,t,!0).length>0}},new function(){function e(){var e=arguments;return this._hitTest(p.read(e),k.getOptions(e))}function t(){var e=arguments,t=p.read(e),n=k.getOptions(e),r=[];return this._hitTest(t,new a({all:r},n)),r}function n(e,t,n,r){var i=this._children;if(i)for(var a=i.length-1;a>=0;a--){var o=i[a],s=o!==r&&o._hitTest(e,t,n);if(s&&!t.all)return s}return null}return x.inject({hitTest:e,hitTestAll:t,_hitTest:n}),{hitTest:e,hitTestAll:t,_hitTestChildren:n}},{_hitTest:function(e,t,n){if(this._locked||!this._visible||this._guide&&!t.guides||this.isEmpty())return null;var r=this._matrix,i=n?n.appended(r):this.getGlobalMatrix().prepend(this.getView()._matrix),o=Math.max(t.tolerance,1e-12),s=t._tolerancePadding=new h(N._getStrokePadding(o,r._shiftless().invert()));if(e=r._inverseTransform(e),!e||!this._children&&!this.getBounds({internal:!0,stroke:!0,handle:!0}).expand(s.multiply(2))._containsPoint(e))return null;var c=!(t.guides&&!this._guide||t.selected&&!this.isSelected()||t.type&&t.type!==a.hyphenate(this._class)||t.class&&!(this instanceof t.class)),l=t.match,u=this,d,f;function p(e){return e&&l&&!l(e)&&(e=null),e&&t.all&&t.all.push(e),e}function m(t,n){var r=n?d[`get`+n]():u.getPosition();if(e.subtract(r).divide(s).length<=1)return new k(t,u,{name:n?a.hyphenate(n):t,point:r})}var g=t.position,_=t.center,v=t.bounds;if(c&&this._parent&&(g||_||v)){if((_||v)&&(d=this.getInternalBounds()),f=g&&m(`position`)||_&&m(`center`,`Center`),!f&&v)for(var y=[`TopLeft`,`TopRight`,`BottomLeft`,`BottomRight`,`LeftCenter`,`TopCenter`,`RightCenter`,`BottomCenter`],b=0;b<8&&!f;b++)f=m(`bounds`,y[b]);f=p(f)}return f||=this._hitTestChildren(e,t,i)||c&&p(this._hitTestSelf(e,t,i,this.getStrokeScaling()?null:i._shiftless().invert()))||null,f&&f.point&&(f.point=r.transform(f.point)),f},_hitTestSelf:function(e,t){if(t.fill&&this.hasFill()&&this._contains(e))return new k(`fill`,this)},matches:function(e,t){function n(e,t){for(var r in e)if(e.hasOwnProperty(r)){var i=e[r],o=t[r];if(a.isPlainObject(i)&&a.isPlainObject(o)){if(!n(i,o))return!1}else if(!a.equals(i,o))return!1}return!0}var r=typeof e;if(r===`object`){for(var i in e)if(e.hasOwnProperty(i)&&!this.matches(i,e[i]))return!1;return!0}if(r===`function`)return e(this);if(e===`match`)return t(this);var o=/^(empty|editable)$/.test(e)?this[`is`+a.capitalize(e)]():e===`type`?a.hyphenate(this._class):this[e];if(e===`class`){if(typeof t==`function`)return this instanceof t;o=this._class}if(typeof t==`function`)return!!t(o);if(t){if(t.test)return t.test(o);if(a.isPlainObject(t))return n(t,o)}return a.equals(o,t)},getItems:function(e){return S._getItems(this,e,this._matrix)},getItem:function(e){return S._getItems(this,e,this._matrix,null,!0)[0]||null},statics:{_getItems:function e(t,n,r,i,o){if(!i){var s=typeof n==`object`&&n,c=s&&s.overlapping,l=s&&s.inside,u=c||l,d=u&&_.read([u]);i={items:[],recursive:s&&s.recursive!==!1,inside:!!l,overlapping:!!c,rect:d,path:c&&new N.Rectangle({rectangle:d,insert:!1})},s&&(n=a.filter({},n,{recursive:!0,inside:!0,overlapping:!0}))}var f=t._children,p=i.items,d=i.rect;r=d&&(r||new y);for(var m=0,h=f&&f.length;m<h;m++){var g=f[m],v=r&&r.appended(g._matrix),b=!0;if(d){var u=g.getBounds(v);if(!d.intersects(u))continue;d.contains(u)||i.overlapping&&(u.contains(d)||i.path.intersects(g,v))||(b=!1)}if(b&&g.matches(n)&&(p.push(g),o)||(i.recursive!==!1&&e(g,n,v,i,o),o&&p.length>0))break}return p}}},{importJSON:function(e){var t=a.importJSON(e,this);return t===this?t:this.addChild(t)},addChild:function(e){return this.insertChild(n,e)},insertChild:function(e,t){var n=t?this.insertChildren(e,[t]):null;return n&&n[0]},addChildren:function(e){return this.insertChildren(this._children.length,e)},insertChildren:function(e,t){var n=this._children;if(n&&t&&t.length>0){t=a.slice(t);for(var r={},i=t.length-1;i>=0;i--){var o=t[i],s=o&&o._id;!o||r[s]?t.splice(i,1):(o._remove(!1,!0),r[s]=!0)}a.splice(n,t,e,0);for(var c=this._project,l=c._changes,i=0,u=t.length;i<u;i++){var o=t[i],d=o._name;o._parent=this,o._setProject(c,!0),d&&o.setName(d),l&&o._changed(5)}this._changed(11)}else t=null;return t},_insertItem:`#insertChild`,_insertAt:function(e,t){var n=e&&e._getOwner(),r=e!==this&&n?this:null;return r&&(r._remove(!1,!0),n._insertItem(e._index+t,r)),r},insertAbove:function(e){return this._insertAt(e,1)},insertBelow:function(e){return this._insertAt(e,0)},sendToBack:function(){var e=this._getOwner();return e?e._insertItem(0,this):null},bringToFront:function(){var e=this._getOwner();return e?e._insertItem(n,this):null},appendTop:`#addChild`,appendBottom:function(e){return this.insertChild(0,e)},moveAbove:`#insertAbove`,moveBelow:`#insertBelow`,addTo:function(e){return e._insertItem(n,this)},copyTo:function(e){return this.clone(!1).addTo(e)},reduce:function(e){var t=this._children;if(t&&t.length===1){var n=t[0].reduce(e);return this._parent?(n.insertAbove(this),this.remove()):n.remove(),n}return this},_removeNamed:function(){var e=this._getOwner();if(e){var t=e._children,n=e._namedChildren,r=this._name,i=n[r],a=i?i.indexOf(this):-1;a!==-1&&(t[r]==this&&delete t[r],i.splice(a,1),i.length?t[r]=i[0]:delete n[r])}},_remove:function(e,t){var n=this._getOwner(),r=this._project,i=this._index;return this._style&&this._style._dispose(),n?(this._name&&this._removeNamed(),i!=null&&(r._activeLayer===this&&(r._activeLayer=this.getNextSibling()||this.getPreviousSibling()),a.splice(n._children,null,i,1)),this._installEvents(!1),e&&r._changes&&this._changed(5),t&&n._changed(11,this),this._parent=null,!0):!1},remove:function(){return this._remove(!0,!0)},replaceWith:function(e){var t=e&&e.insertBelow(this);return t&&this.remove(),t},removeChildren:function(e,t){if(!this._children)return null;e||=0,t=a.pick(t,this._children.length);for(var n=a.splice(this._children,null,e,t-e),r=n.length-1;r>=0;r--)n[r]._remove(!0,!1);return n.length>0&&this._changed(11),n},clear:`#removeChildren`,reverseChildren:function(){if(this._children){this._children.reverse();for(var e=0,t=this._children.length;e<t;e++)this._children[e]._index=e;this._changed(11)}},isEmpty:function(e){var t=this._children,n=t?t.length:0;if(e){for(var r=0;r<n;r++)if(!t[r].isEmpty(e))return!1;return!0}return!n},isEditable:function(){for(var e=this;e;){if(!e._visible||e._locked)return!1;e=e._parent}return!0},hasFill:function(){return this.getStyle().hasFill()},hasStroke:function(){return this.getStyle().hasStroke()},hasShadow:function(){return this.getStyle().hasShadow()},_getOrder:function(e){function t(e){var t=[];do t.unshift(e);while(e=e._parent);return t}for(var n=t(this),r=t(e),i=0,a=Math.min(n.length,r.length);i<a;i++)if(n[i]!=r[i])return n[i]._index<r[i]._index?1:-1;return 0},hasChildren:function(){return this._children&&this._children.length>0},isInserted:function(){return this._parent?this._parent.isInserted():!1},isAbove:function(e){return this._getOrder(e)===-1},isBelow:function(e){return this._getOrder(e)===1},isParent:function(e){return this._parent===e},isChild:function(e){return e&&e._parent===this},isDescendant:function(e){for(var t=this;t=t._parent;)if(t===e)return!0;return!1},isAncestor:function(e){return e?e.isDescendant(this):!1},isSibling:function(e){return this._parent===e._parent},isGroupedWith:function(e){for(var t=this._parent;t;){if(t._parent&&/^(Group|Layer|CompoundPath)$/.test(t._class)&&e.isDescendant(t))return!0;t=t._parent}return!1}},a.each([`rotate`,`scale`,`shear`,`skew`],function(e){var t=e===`rotate`;this[e]=function(){var n=arguments,r=(t?a:p).read(n),i=p.read(n,0,{readNull:!0});return this.transform(new y()[e](r,i||this.getPosition(!0)))}},{translate:function(){var e=new y;return this.transform(e.translate.apply(e,arguments))},transform:function(e,t,n){var r=this._matrix,i=e&&!e.isIdentity(),a=n&&this._canApplyMatrix||this._applyMatrix&&(i||!r.isIdentity()||t&&this._children);if(!i&&!a)return this;if(i){!e.isInvertible()&&r.isInvertible()&&(r._backup=r.getValues()),r.prepend(e,!0);var o=this._style,s=o.getFillColor(!0),c=o.getStrokeColor(!0);s&&s.transform(e),c&&c.transform(e)}if(a&&=this._transformContent(r,t,n)){var l=this._pivot;l&&r._transformPoint(l,l,!0),r.reset(!0),n&&this._canApplyMatrix&&(this._applyMatrix=!0)}var u=this._bounds,d=this._position;(i||a)&&this._changed(25);var f=i&&u&&e.decompose();if(f&&f.skewing.isZero()&&f.rotation%90==0){for(var p in u){var m=u[p];if(m.nonscaling)delete u[p];else if(a||!m.internal){var h=m.rect;e._transformBounds(h,h)}}this._bounds=u;var g=u[this._getBoundsCacheKey(this._boundsOptions||{})];g&&(this._position=this._getPositionFromBounds(g.rect))}else i&&d&&this._pivot&&(this._position=e._transformPoint(d,d));return this},_transformContent:function(e,t,n){var r=this._children;if(r){for(var i=0,a=r.length;i<a;i++)r[i].transform(e,t,n);return!0}},globalToLocal:function(){return this.getGlobalMatrix(!0)._inverseTransform(p.read(arguments))},localToGlobal:function(){return this.getGlobalMatrix(!0)._transformPoint(p.read(arguments))},parentToLocal:function(){return this._matrix._inverseTransform(p.read(arguments))},localToParent:function(){return this._matrix._transformPoint(p.read(arguments))},fitBounds:function(e,t){e=_.read(arguments);var n=this.getBounds(),r=n.height/n.width,i=e.height/e.width,a=(t?r>i:r<i)?e.width/n.width:e.height/n.height,o=new _(new p,new h(n.width*a,n.height*a));o.setCenter(e.getCenter()),this.setBounds(o)}}),{_setStyles:function(e,t,n){var r=this._style,i=this._matrix;if(r.hasFill()&&(e.fillStyle=r.getFillColor().toCanvasStyle(e,i)),r.hasStroke()){e.strokeStyle=r.getStrokeColor().toCanvasStyle(e,i),e.lineWidth=r.getStrokeWidth();var a=r.getStrokeJoin(),o=r.getStrokeCap(),s=r.getMiterLimit();if(a&&(e.lineJoin=a),o&&(e.lineCap=o),s&&(e.miterLimit=s),I.support.nativeDash){var c=r.getDashArray(),l=r.getDashOffset();c&&c.length&&(`setLineDash`in e?(e.setLineDash(c),e.lineDashOffset=l):(e.mozDash=c,e.mozDashOffset=l))}}if(r.hasShadow()){var u=t.pixelRatio||1,d=n._shiftless().prepend(new y().scale(u,u)),f=d.transform(new p(r.getShadowBlur(),0)),m=d.transform(this.getShadowOffset());e.shadowColor=r.getShadowColor().toCanvasStyle(e),e.shadowBlur=f.getLength(),e.shadowOffsetX=m.x,e.shadowOffsetY=m.y}},draw:function(e,t,n){if(this._updateVersion=this._project._updateVersion,this._visible&&this._opacity!==0){var r=t.matrices,i=t.viewMatrix,a=this._matrix,o=r[r.length-1].appended(a);if(o.isInvertible()){i=i?i.appended(o):o,r.push(o),t.updateMatrix&&(this._globalMatrix=o);var s=this._blendMode,c=d.clamp(this._opacity,0,1),l=s===`normal`,u=Se.nativeModes[s],f=l&&c===1||t.dontStart||t.clip||(u||l&&c<1)&&this._canComposite(),p=t.pixelRatio||1,m,h,g;if(!f){var _=this.getStrokeBounds(i);if(!_.width||!_.height){r.pop();return}g=t.offset,h=t.offset=_.getTopLeft().floor(),m=e,e=xe.getContext(_.getSize().ceil().add(1).multiply(p)),p!==1&&e.scale(p,p)}e.save();var v=n?n.appended(a):this._canScaleStroke&&!this.getStrokeScaling(!0)&&i,y=!f&&t.clipItem,b=!v||y;if(f?(e.globalAlpha=c,u&&(e.globalCompositeOperation=s)):b&&e.translate(-h.x,-h.y),b&&(f?a:i).applyToContext(e),y&&t.clipItem.draw(e,t.extend({clip:!0})),v){e.setTransform(p,0,0,p,0,0);var x=t.offset;x&&e.translate(-x.x,-x.y)}this._draw(e,t,i,v),e.restore(),r.pop(),t.clip&&!t.dontFinish&&e.clip(this.getFillRule()),f||(Se.process(s,e,m,c,h.subtract(g).multiply(p)),xe.release(e),t.offset=g)}}},_isUpdated:function(e){var t=this._parent;if(t instanceof ne)return t._isUpdated(e);var n=this._updateVersion===e;return!n&&t&&t._visible&&t._isUpdated(e)&&(this._updateVersion=e,n=!0),n},_drawSelection:function(e,t,n,r,i){var a=this._selection,o=a&1,s=a&2||o&&this._selectBounds,c=a&4;if(this._drawSelected||(o=!1),(o||s||c)&&this._isUpdated(i)){var l,u=this.getSelectedColor(!0)||(l=this.getLayer())&&l.getSelectedColor(!0),d=t.appended(this.getGlobalMatrix(!0)),f=n/2;if(e.strokeStyle=e.fillStyle=u?u.toCanvasStyle(e):`#009dec`,o&&this._drawSelected(e,d,r),c){var p=this.getPosition(!0),m=this._parent,h=m?m.localToGlobal(p):p,g=h.x,_=h.y;e.beginPath(),e.arc(g,_,f,0,Math.PI*2,!0),e.stroke();for(var v=[[0,-1],[1,0],[0,1],[-1,0]],y=f,b=n+1,x=0;x<4;x++){var S=v[x],C=S[0],w=S[1];e.moveTo(g+C*y,_+w*y),e.lineTo(g+C*b,_+w*b),e.stroke()}}if(s){var T=d._transformCorners(this.getInternalBounds());e.beginPath();for(var x=0;x<8;x++)e[x?`lineTo`:`moveTo`](T[x],T[++x]);e.closePath(),e.stroke();for(var x=0;x<8;x++)e.fillRect(T[x]-f,T[++x]-f,n,n)}}},_canComposite:function(){return!1}},a.each([`down`,`drag`,`up`,`move`],function(e){this[`removeOn`+a.capitalize(e)]=function(){var t={};return t[e]=!0,this.removeOn(t)}},{removeOn:function(e){for(var t in e)if(e[t]){var n=`mouse`+t,r=this._project,i=r._removeSets=r._removeSets||{};i[n]=i[n]||{},i[n][this._id]=this}return this}}),{tween:function(e,t,n){n||(n=t,t=e,e=null,n||(n=t,t=null));var r=n&&n.easing,i=n&&n.start,a=n!=null&&(typeof n==`number`?n:n.duration),o=new ye(this,e,t,a,r,i);function s(e){o._handleFrame(e.time*1e3),o.running||this.off(`frame`,s)}return a&&this.on(`frame`,s),o},tweenTo:function(e,t){return this.tween(null,e,t)},tweenFrom:function(e,t){return this.tween(e,null,t)}}),C=S.extend({_class:`Group`,_selectBounds:!1,_selectChildren:!0,_serializeFields:{children:[]},initialize:function(e){this._children=[],this._namedChildren={},this._initialize(e)||this.addChildren(Array.isArray(e)?e:arguments)},_changed:function e(t){e.base.call(this,t),t&2050&&(this._clipItem=n)},_getClipItem:function(){var e=this._clipItem;if(e===n){e=null;for(var t=this._children,r=0,i=t.length;r<i;r++)if(t[r]._clipMask){e=t[r];break}this._clipItem=e}return e},isClipped:function(){return!!this._getClipItem()},setClipped:function(e){var t=this.getFirstChild();t&&t.setClipMask(e)},_getBounds:function e(t,n){var r=this._getClipItem();return r?r._getCachedBounds(r._matrix.prepended(t),a.set({},n,{stroke:!1})):e.base.call(this,t,n)},_hitTestChildren:function e(t,n,r){var i=this._getClipItem();return(!i||i.contains(t))&&e.base.call(this,t,n,r,i)},_draw:function(e,t){var n=t.clip,r=!n&&this._getClipItem();t=t.extend({clipItem:r,clip:!1}),n?(e.beginPath(),t.dontStart=t.dontFinish=!0):r&&r.draw(e,t.extend({clip:!0}));for(var i=this._children,a=0,o=i.length;a<o;a++){var s=i[a];s!==r&&s.draw(e,t)}}}),w=C.extend({_class:`Layer`,initialize:function(){C.apply(this,arguments)},_getOwner:function(){return this._parent||this._index!=null&&this._project},isInserted:function e(){return this._parent?e.base.call(this):this._index!=null},activate:function(){this._project._activeLayer=this},_hitTestSelf:function(){}}),T=S.extend({_class:`Shape`,_applyMatrix:!1,_canApplyMatrix:!1,_canScaleStroke:!0,_serializeFields:{type:null,size:null,radius:null},initialize:function(e,t){this._initialize(e,t)},_equals:function(e){return this._type===e._type&&this._size.equals(e._size)&&a.equals(this._radius,e._radius)},copyContent:function(e){this.setType(e._type),this.setSize(e._size),this.setRadius(e._radius)},getType:function(){return this._type},setType:function(e){this._type=e},getShape:`#getType`,setShape:`#setType`,getSize:function(){var e=this._size;return new g(e.width,e.height,this,`setSize`)},setSize:function(){var e=h.read(arguments);if(!this._size)this._size=e.clone();else if(!this._size.equals(e)){var t=this._type,n=e.width,r=e.height;t===`rectangle`?this._radius.set(h.min(this._radius,e.divide(2).abs())):t===`circle`?(n=r=(n+r)/2,this._radius=n/2):t===`ellipse`&&this._radius._set(n/2,r/2),this._size._set(n,r),this._changed(9)}},getRadius:function(){var e=this._radius;return this._type===`circle`?e:new g(e.width,e.height,this,`setRadius`)},setRadius:function(e){var t=this._type;if(t===`circle`){if(e===this._radius)return;var n=e*2;this._radius=e,this._size._set(n,n)}else if(e=h.read(arguments),!this._radius)this._radius=e.clone();else{if(this._radius.equals(e))return;if(this._radius.set(e),t===`rectangle`){var n=h.max(this._size,e.multiply(2));this._size.set(n)}else t===`ellipse`&&this._size._set(e.width*2,e.height*2)}this._changed(9)},isEmpty:function(){return!1},toPath:function(e){var t=new N[a.capitalize(this._type)]({center:new p,size:this._size,radius:this._radius,insert:!1});return t.copyAttributes(this),I.settings.applyMatrix&&t.setApplyMatrix(!0),(e===n||e)&&t.insertAbove(this),t},toShape:`#clone`,_asPathItem:function(){return this.toPath(!1)},_draw:function(e,t,n,r){var i=this._style,a=i.hasFill(),o=i.hasStroke(),s=t.dontFinish||t.clip,c=!r;if(a||o||s){var l=this._type,u=this._radius,d=l===`circle`;if(t.dontStart||e.beginPath(),c&&d)e.arc(0,0,u,0,Math.PI*2,!0);else{var f=d?u:u.width,p=d?u:u.height,m=this._size,h=m.width,g=m.height;if(c&&l===`rectangle`&&f===0&&p===0)e.rect(-h/2,-g/2,h,g);else{var _=h/2,v=g/2,y=.44771525016920644,b=f*y,x=p*y,S=[-_,-v+p,-_,-v+x,-_+b,-v,-_+f,-v,_-f,-v,_-b,-v,_,-v+x,_,-v+p,_,v-p,_,v-x,_-b,v,_-f,v,-_+f,v,-_+b,v,-_,v-x,-_,v-p];r&&r.transform(S,S,32),e.moveTo(S[0],S[1]),e.bezierCurveTo(S[2],S[3],S[4],S[5],S[6],S[7]),_!==f&&e.lineTo(S[8],S[9]),e.bezierCurveTo(S[10],S[11],S[12],S[13],S[14],S[15]),v!==p&&e.lineTo(S[16],S[17]),e.bezierCurveTo(S[18],S[19],S[20],S[21],S[22],S[23]),_!==f&&e.lineTo(S[24],S[25]),e.bezierCurveTo(S[26],S[27],S[28],S[29],S[30],S[31])}}e.closePath()}!s&&(a||o)&&(this._setStyles(e,t,n),a&&(e.fill(i.getFillRule()),e.shadowColor=`rgba(0,0,0,0)`),o&&e.stroke())},_canComposite:function(){return!(this.hasFill()&&this.hasStroke())},_getBounds:function(e,t){var n=new _(this._size).setCenter(0,0),r=this._style,i=t.stroke&&r.hasStroke()&&r.getStrokeWidth();return e&&(n=e._transformBounds(n)),i?n.expand(N._getStrokePadding(i,this._getStrokeMatrix(e,t))):n}},new function(){function e(e,t,n){var r=e._radius;if(!r.isZero())for(var i=e._size.divide(2),a=1;a<=4;a++){var o=new p(a>1&&a<4?-1:1,a>2?-1:1),s=o.multiply(i),c=s.subtract(o.multiply(r));if(new _(n?s.add(o.multiply(n)):s,c).contains(t))return{point:c,quadrant:a}}}function t(e,t,n,r){var i=e.divide(t);return(!r||i.isInQuadrant(r))&&i.subtract(i.normalize()).multiply(t).divide(n).length<=1}return{_contains:function t(n){if(this._type===`rectangle`){var r=e(this,n);return r?n.subtract(r.point).divide(this._radius).getLength()<=1:t.base.call(this,n)}return n.divide(this.size).getLength()<=.5},_hitTestSelf:function n(r,i,a,o){var s=!1,c=this._style,l=i.stroke&&c.hasStroke(),u=i.fill&&c.hasFill();if(l||u){var d=this._type,f=this._radius,p=l?c.getStrokeWidth()/2:0,m=i._tolerancePadding.add(N._getStrokePadding(p,!c.getStrokeScaling()&&o));if(d===`rectangle`){var h=m.multiply(2),g=e(this,r,h);if(g)s=t(r.subtract(g.point),f,m,g.quadrant);else{var v=new _(this._size).setCenter(0,0),y=v.expand(h),b=v.expand(h.negate());s=y._containsPoint(r)&&!b._containsPoint(r)}}else s=t(r,f,m)}return s?new k(l?`stroke`:`fill`,this):n.base.apply(this,arguments)}}},{statics:new function(){function e(e,t,n,r,i){var o=a.create(T.prototype);return o._type=e,o._size=n,o._radius=r,o._initialize(a.getNamed(i),t),o}return{Circle:function(){var t=arguments,n=p.readNamed(t,`center`),r=a.readNamed(t,`radius`);return e(`circle`,n,new h(r*2),r,t)},Rectangle:function(){var t=arguments,n=_.readNamed(t,`rectangle`),r=h.min(h.readNamed(t,`radius`),n.getSize(!0).divide(2));return e(`rectangle`,n.getCenter(!0),n.getSize(!0),r,t)},Ellipse:function(){var t=arguments,n=T._readEllipse(t),r=n.radius;return e(`ellipse`,n.center,r.multiply(2),r,t)},_readEllipse:function(e){var t,n;if(a.hasNamed(e,`radius`))t=p.readNamed(e,`center`),n=h.readNamed(e,`radius`);else{var r=_.readNamed(e,`rectangle`);t=r.getCenter(!0),n=r.getSize(!0).divide(2)}return{center:t,radius:n}}}}}),E=S.extend({_class:`Raster`,_applyMatrix:!1,_canApplyMatrix:!1,_boundsOptions:{stroke:!1,handle:!1},_serializeFields:{crossOrigin:null,source:null},_prioritize:[`crossOrigin`],_smoothing:`low`,beans:!0,initialize:function(e,t){if(!this._initialize(e,t!==n&&p.read(arguments))){var r,a=typeof e,o=a===`string`?i.getElementById(e):a===`object`?e:null;if(o&&o!==S.NO_INSERT){if(o.getContext||o.naturalHeight!=null)r=o;else if(o){var s=h.read(arguments);s.isZero()||(r=xe.getCanvas(s))}}r?this.setImage(r):this.setSource(e)}this._size||(this._size=new h,this._loaded=!1)},_equals:function(e){return this.getSource()===e.getSource()},copyContent:function(e){var t=e._image,n=e._canvas;if(t)this._setImage(t);else if(n){var r=xe.getCanvas(e._size);r.getContext(`2d`).drawImage(n,0,0),this._setImage(r)}this._crossOrigin=e._crossOrigin},getSize:function(){var e=this._size;return new g(e?e.width:0,e?e.height:0,this,`setSize`)},setSize:function(e,t){var n=h.read(arguments);if(n.equals(this._size))t&&this.clear();else if(n.width>0&&n.height>0){var r=!t&&this.getElement();this._setImage(xe.getCanvas(n)),r&&this.getContext(!0).drawImage(r,0,0,n.width,n.height)}else this._canvas&&xe.release(this._canvas),this._size=n.clone()},getWidth:function(){return this._size?this._size.width:0},setWidth:function(e){this.setSize(e,this.getHeight())},getHeight:function(){return this._size?this._size.height:0},setHeight:function(e){this.setSize(this.getWidth(),e)},getLoaded:function(){return this._loaded},isEmpty:function(){var e=this._size;return!e||e.width===0&&e.height===0},getResolution:function(){var e=this._matrix,t=new p(0,0).transform(e),n=new p(1,0).transform(e).subtract(t),r=new p(0,1).transform(e).subtract(t);return new h(72/n.getLength(),72/r.getLength())},getPpi:`#getResolution`,getImage:function(){return this._image},setImage:function(e){var t=this;function n(e){var n=t.getView(),r=e&&e.type||`load`;n&&t.responds(r)&&(I=n._scope,t.emit(r,new he(e)))}this._setImage(e),this._loaded?setTimeout(n,0):e&&fe.add(e,{load:function(r){t._setImage(e),n(r)},error:n})},_setImage:function(e){this._canvas&&xe.release(this._canvas),e&&e.getContext?(this._image=null,this._canvas=e,this._loaded=!0):(this._image=e,this._canvas=null,this._loaded=!!(e&&e.src&&e.complete)),this._size=new h(e?e.naturalWidth||e.width:0,e?e.naturalHeight||e.height:0),this._context=null,this._changed(1033)},getCanvas:function(){if(!this._canvas){var e=xe.getContext(this._size);try{this._image&&e.drawImage(this._image,0,0),this._canvas=e.canvas}catch{xe.release(e)}}return this._canvas},setCanvas:`#setImage`,getContext:function(e){return this._context||=this.getCanvas().getContext(`2d`),e&&(this._image=null,this._changed(1025)),this._context},setContext:function(e){this._context=e},getSource:function(){var e=this._image;return e&&e.src||this.toDataURL()},setSource:function(t){var n=new e.Image,r=this._crossOrigin;r&&(n.crossOrigin=r),t&&(n.src=t),this.setImage(n)},getCrossOrigin:function(){var e=this._image;return e&&e.crossOrigin||this._crossOrigin||``},setCrossOrigin:function(e){this._crossOrigin=e;var t=this._image;t&&(t.crossOrigin=e)},getSmoothing:function(){return this._smoothing},setSmoothing:function(e){this._smoothing=typeof e==`string`?e:e?`low`:`off`,this._changed(257)},getElement:function(){return this._canvas||this._loaded&&this._image}},{beans:!1,getSubCanvas:function(){var e=_.read(arguments),t=xe.getContext(e.getSize());return t.drawImage(this.getCanvas(),e.x,e.y,e.width,e.height,0,0,e.width,e.height),t.canvas},getSubRaster:function(){var e=_.read(arguments),t=new E(S.NO_INSERT);return t._setImage(this.getSubCanvas(e)),t.translate(e.getCenter().subtract(this.getSize().divide(2))),t._matrix.prepend(this._matrix),t.insertAbove(this),t},toDataURL:function(){var e=this._image,t=e&&e.src;if(/^data:/.test(t))return t;var n=this.getCanvas();return n?n.toDataURL.apply(n,arguments):null},drawImage:function(e){var t=p.read(arguments,1);this.getContext(!0).drawImage(e,t.x,t.y)},getAverageColor:function(e){var t,n;if(e?e instanceof te?(n=e,t=e.getBounds()):typeof e==`object`&&(`width`in e?t=new _(e):`x`in e&&(t=new _(e.x-.5,e.y-.5,1,1))):t=this.getBounds(),!t)return null;var r=32,i=Math.min(t.width,r),o=Math.min(t.height,r),s=E._sampleContext;s?s.clearRect(0,0,r+1,r+1):s=E._sampleContext=xe.getContext(new h(r)),s.save();var c=new y().scale(i/t.width,o/t.height).translate(-t.x,-t.y);c.applyToContext(s),n&&n.draw(s,new a({clip:!0,matrices:[c]})),this._matrix.applyToContext(s);var l=this.getElement(),u=this._size;l&&s.drawImage(l,-u.width/2,-u.height/2),s.restore();for(var d=s.getImageData(.5,.5,Math.ceil(i),Math.ceil(o)).data,f=[0,0,0],p=0,m=0,g=d.length;m<g;m+=4){var v=d[m+3];p+=v,v/=255,f[0]+=d[m]*v,f[1]+=d[m+1]*v,f[2]+=d[m+2]*v}for(var m=0;m<3;m++)f[m]/=p;return p?se.read(f):null},getPixel:function(){var e=p.read(arguments),t=this.getContext().getImageData(e.x,e.y,1,1).data;return new se(`rgb`,[t[0]/255,t[1]/255,t[2]/255],t[3]/255)},setPixel:function(){var e=arguments,t=p.read(e),n=se.read(e),r=n._convert(`rgb`),i=n._alpha,a=this.getContext(!0),o=a.createImageData(1,1),s=o.data;s[0]=r[0]*255,s[1]=r[1]*255,s[2]=r[2]*255,s[3]=i==null?255:i*255,a.putImageData(o,t.x,t.y)},clear:function(){var e=this._size;this.getContext(!0).clearRect(0,0,e.width+1,e.height+1)},createImageData:function(){var e=h.read(arguments);return this.getContext().createImageData(e.width,e.height)},getImageData:function(){var e=_.read(arguments);return e.isEmpty()&&(e=new _(this._size)),this.getContext().getImageData(e.x,e.y,e.width,e.height)},putImageData:function(e){var t=p.read(arguments,1);this.getContext(!0).putImageData(e,t.x,t.y)},setImageData:function(e){this.setSize(e),this.getContext(!0).putImageData(e,0,0)},_getBounds:function(e,t){var n=new _(this._size).setCenter(0,0);return e?e._transformBounds(n):n},_hitTestSelf:function(e){if(this._contains(e)){var t=this;return new k(`pixel`,t,{offset:e.add(t._size.divide(2)).round(),color:{get:function(){return t.getPixel(this.offset)}}})}},_draw:function(e,t,n){var r=this.getElement();if(r&&r.width>0&&r.height>0){e.globalAlpha=d.clamp(this._opacity,0,1),this._setStyles(e,t,n);var i=this._smoothing,a=i===`off`;de.setPrefixed(e,a?`imageSmoothingEnabled`:`imageSmoothingQuality`,!a&&i),e.drawImage(r,-this._size.width/2,-this._size.height/2)}},_canComposite:function(){return!0}}),D=S.extend({_class:`SymbolItem`,_applyMatrix:!1,_canApplyMatrix:!1,_boundsOptions:{stroke:!0},_serializeFields:{symbol:null},initialize:function(e,t){this._initialize(e,t!==n&&p.read(arguments,1))||this.setDefinition(e instanceof O?e:new O(e))},_equals:function(e){return this._definition===e._definition},copyContent:function(e){this.setDefinition(e._definition)},getDefinition:function(){return this._definition},setDefinition:function(e){this._definition=e,this._changed(9)},getSymbol:`#getDefinition`,setSymbol:`#setDefinition`,isEmpty:function(){return this._definition._item.isEmpty()},_getBounds:function(e,t){var n=this._definition._item;return n._getCachedBounds(n._matrix.prepended(e),t)},_hitTestSelf:function(e,t,n){var r=t.extend({all:!1}),i=this._definition._item._hitTest(e,r,n);return i&&(i.item=this),i},_draw:function(e,t){this._definition._item.draw(e,t)}}),O=a.extend({_class:`SymbolDefinition`,initialize:function(e,t){this._id=f.get(),this.project=I.project,e&&this.setItem(e,t)},_serialize:function(e,t){return t.add(this,function(){return a.serialize([this._class,this._item],e,!1,t)})},_changed:function(e){e&8&&S._clearBoundsCache(this),e&1&&this.project._changed(e)},getItem:function(){return this._item},setItem:function(e,t){e._symbol&&(e=e.clone()),this._item&&(this._item._symbol=null),this._item=e,e.remove(),e.setSelected(!1),t||e.setPosition(new p),e._symbol=this,this._changed(9)},getDefinition:`#getItem`,setDefinition:`#setItem`,place:function(e){return new D(this,e)},clone:function(){return new O(this._item.clone(!1))},equals:function(e){return e===this||e&&this._item.equals(e._item)||!1}}),k=a.extend({_class:`HitResult`,initialize:function(e,t,n){this.type=e,this.item=t,n&&this.inject(n)},statics:{getOptions:function(e){var t=e&&a.read(e);return new a({type:null,tolerance:I.settings.hitTolerance,fill:!t,stroke:!t,segments:!t,handles:!1,ends:!1,position:!1,center:!1,bounds:!1,guides:!1,selected:!1},t)}}}),A=a.extend({_class:`Segment`,beans:!0,_selection:0,initialize:function(e,t,r,i,a,o){var s=arguments.length,c,l,u,d;s>0&&(e==null||typeof e==`object`?s===1&&e&&`point`in e?(c=e.point,l=e.handleIn,u=e.handleOut,d=e.selection):(c=e,l=t,u=r,d=i):(c=[e,t],l=r===n?null:[r,i],u=a===n?null:[a,o])),new j(c,this,`_point`),new j(l,this,`_handleIn`),new j(u,this,`_handleOut`),d&&this.setSelection(d)},_serialize:function(e,t){var n=this._point,r=this._selection,i=r||this.hasHandles()?[n,this._handleIn,this._handleOut]:n;return r&&i.push(r),a.serialize(i,e,!0,t)},_changed:function(e){var t=this._path;if(t){var n=t._curves,r=this._index,i;n&&((!e||e===this._point||e===this._handleIn)&&(i=r>0?n[r-1]:t._closed?n[n.length-1]:null)&&i._changed(),(!e||e===this._point||e===this._handleOut)&&(i=n[r])&&i._changed()),t._changed(41)}},getPoint:function(){return this._point},setPoint:function(){this._point.set(p.read(arguments))},getHandleIn:function(){return this._handleIn},setHandleIn:function(){this._handleIn.set(p.read(arguments))},getHandleOut:function(){return this._handleOut},setHandleOut:function(){this._handleOut.set(p.read(arguments))},hasHandles:function(){return!this._handleIn.isZero()||!this._handleOut.isZero()},isSmooth:function(){var e=this._handleIn,t=this._handleOut;return!e.isZero()&&!t.isZero()&&e.isCollinear(t)},clearHandles:function(){this._handleIn._set(0,0),this._handleOut._set(0,0)},getSelection:function(){return this._selection},setSelection:function(e){var t=this._selection,n=this._path;this._selection=e||=0,n&&e!==t&&(n._updateSelection(this,t,e),n._changed(257))},_changeSelection:function(e,t){var n=this._selection;this.setSelection(t?n|e:n&~e)},isSelected:function(){return!!(this._selection&7)},setSelected:function(e){this._changeSelection(7,e)},getIndex:function(){return this._index===n?null:this._index},getPath:function(){return this._path||null},getCurve:function(){var e=this._path,t=this._index;return e?(t>0&&!e._closed&&t===e._segments.length-1&&t--,e.getCurves()[t]||null):null},getLocation:function(){var e=this.getCurve();return e?new ee(e,this===e._segment1?0:1):null},getNext:function(){var e=this._path&&this._path._segments;return e&&(e[this._index+1]||this._path._closed&&e[0])||null},smooth:function(e,t,r){var i=e||{},a=i.type,o=i.factor,s=this.getPrevious(),c=this.getNext(),l=(s||this)._point,u=this._point,d=(c||this)._point,f=l.getDistance(u),m=u.getDistance(d);if(!a||a===`catmull-rom`){var h=o===n?.5:o,g=f**+h,_=g*g,v=m**+h,y=v*v;if(!t&&s){var b=2*y+3*v*g+_,x=3*v*(v+g);this.setHandleIn(x===0?new p:new p((y*l._x+b*u._x-_*d._x)/x-u._x,(y*l._y+b*u._y-_*d._y)/x-u._y))}if(!r&&c){var b=2*_+3*g*v+y,x=3*g*(g+v);this.setHandleOut(x===0?new p:new p((_*d._x+b*u._x-y*l._x)/x-u._x,(_*d._y+b*u._y-y*l._y)/x-u._y))}}else if(a===`geometric`){if(s&&c){var S=l.subtract(d),C=o===n?.4:o,w=C*f/(f+m);t||this.setHandleIn(S.multiply(w)),r||this.setHandleOut(S.multiply(w-C))}}else throw Error(`Smoothing method '`+a+`' not supported.`)},getPrevious:function(){var e=this._path&&this._path._segments;return e&&(e[this._index-1]||this._path._closed&&e[e.length-1])||null},isFirst:function(){return!this._index},isLast:function(){var e=this._path;return e&&this._index===e._segments.length-1||!1},reverse:function(){var e=this._handleIn,t=this._handleOut,n=e.clone();e.set(t),t.set(n)},reversed:function(){return new A(this._point,this._handleOut,this._handleIn)},remove:function(){return this._path?!!this._path.removeSegment(this._index):!1},clone:function(){return new A(this._point,this._handleIn,this._handleOut)},equals:function(e){return e===this||e&&this._class===e._class&&this._point.equals(e._point)&&this._handleIn.equals(e._handleIn)&&this._handleOut.equals(e._handleOut)||!1},toString:function(){var e=[`point: `+this._point];return this._handleIn.isZero()||e.push(`handleIn: `+this._handleIn),this._handleOut.isZero()||e.push(`handleOut: `+this._handleOut),`{ `+e.join(`, `)+` }`},transform:function(e){this._transformCoordinates(e,[,,,,,,],!0),this._changed()},interpolate:function(e,t,n){var r=1-n,i=n,a=e._point,o=t._point,s=e._handleIn,c=t._handleIn,l=t._handleOut,u=e._handleOut;this._point._set(r*a._x+i*o._x,r*a._y+i*o._y,!0),this._handleIn._set(r*s._x+i*c._x,r*s._y+i*c._y,!0),this._handleOut._set(r*u._x+i*l._x,r*u._y+i*l._y,!0),this._changed()},_transformCoordinates:function(e,t,n){var r=this._point,i=!n||!this._handleIn.isZero()?this._handleIn:null,a=!n||!this._handleOut.isZero()?this._handleOut:null,o=r._x,s=r._y,c=2;return t[0]=o,t[1]=s,i&&(t[c++]=i._x+o,t[c++]=i._y+s),a&&(t[c++]=a._x+o,t[c++]=a._y+s),e&&(e._transformCoordinates(t,t,c/2),o=t[0],s=t[1],n?(r._x=o,r._y=s,c=2,i&&(i._x=t[c++]-o,i._y=t[c++]-s),a&&(a._x=t[c++]-o,a._y=t[c++]-s)):(i||(t[c++]=o,t[c++]=s),a||(t[c++]=o,t[c++]=s))),t}}),j=p.extend({initialize:function(e,t,r){var i,a,o;if(!e)i=a=0;else if((i=e[0])!==n)a=e[1];else{var s=e;(i=s.x)===n&&(s=p.read(arguments),i=s.x),a=s.y,o=s.selected}this._x=i,this._y=a,this._owner=t,t[r]=this,o&&this.setSelected(!0)},_set:function(e,t){return this._x=e,this._y=t,this._owner._changed(this),this},getX:function(){return this._x},setX:function(e){this._x=e,this._owner._changed(this)},getY:function(){return this._y},setY:function(e){this._y=e,this._owner._changed(this)},isZero:function(){var e=d.isZero;return e(this._x)&&e(this._y)},isSelected:function(){return!!(this._owner._selection&this._getSelection())},setSelected:function(e){this._owner._changeSelection(this._getSelection(),e)},_getSelection:function(){var e=this._owner;return this===e._point?1:this===e._handleIn?2:this===e._handleOut?4:0}}),M=a.extend({_class:`Curve`,beans:!0,initialize:function(e,t,n,r,i,a,o,s){var c=arguments.length,l,u,d,f,p,m;c===3?(this._path=e,l=t,u=n):c?c===1?`segment1`in e?(l=new A(e.segment1),u=new A(e.segment2)):`point1`in e?(d=e.point1,p=e.handle1,m=e.handle2,f=e.point2):Array.isArray(e)&&(d=[e[0],e[1]],f=[e[6],e[7]],p=[e[2]-e[0],e[3]-e[1]],m=[e[4]-e[6],e[5]-e[7]]):c===2?(l=new A(e),u=new A(t)):c===4?(d=e,p=t,m=n,f=r):c===8&&(d=[e,t],f=[o,s],p=[n-e,r-t],m=[i-o,a-s]):(l=new A,u=new A),this._segment1=l||new A(d,null,p),this._segment2=u||new A(f,m,null)},_serialize:function(e,t){return a.serialize(this.hasHandles()?[this.getPoint1(),this.getHandle1(),this.getHandle2(),this.getPoint2()]:[this.getPoint1(),this.getPoint2()],e,!0,t)},_changed:function(){this._length=this._bounds=n},clone:function(){return new M(this._segment1,this._segment2)},toString:function(){var e=[`point1: `+this._segment1._point];return this._segment1._handleOut.isZero()||e.push(`handle1: `+this._segment1._handleOut),this._segment2._handleIn.isZero()||e.push(`handle2: `+this._segment2._handleIn),e.push(`point2: `+this._segment2._point),`{ `+e.join(`, `)+` }`},classify:function(){return M.classify(this.getValues())},remove:function(){var e=!1;if(this._path){var t=this._segment2,n=t._handleOut;e=t.remove(),e&&this._segment1._handleOut.set(n)}return e},getPoint1:function(){return this._segment1._point},setPoint1:function(){this._segment1._point.set(p.read(arguments))},getPoint2:function(){return this._segment2._point},setPoint2:function(){this._segment2._point.set(p.read(arguments))},getHandle1:function(){return this._segment1._handleOut},setHandle1:function(){this._segment1._handleOut.set(p.read(arguments))},getHandle2:function(){return this._segment2._handleIn},setHandle2:function(){this._segment2._handleIn.set(p.read(arguments))},getSegment1:function(){return this._segment1},getSegment2:function(){return this._segment2},getPath:function(){return this._path},getIndex:function(){return this._segment1._index},getNext:function(){var e=this._path&&this._path._curves;return e&&(e[this._segment1._index+1]||this._path._closed&&e[0])||null},getPrevious:function(){var e=this._path&&this._path._curves;return e&&(e[this._segment1._index-1]||this._path._closed&&e[e.length-1])||null},isFirst:function(){return!this._segment1._index},isLast:function(){var e=this._path;return e&&this._segment1._index===e._curves.length-1||!1},isSelected:function(){return this.getPoint1().isSelected()&&this.getHandle1().isSelected()&&this.getHandle2().isSelected()&&this.getPoint2().isSelected()},setSelected:function(e){this.getPoint1().setSelected(e),this.getHandle1().setSelected(e),this.getHandle2().setSelected(e),this.getPoint2().setSelected(e)},getValues:function(e){return M.getValues(this._segment1,this._segment2,e)},getPoints:function(){for(var e=this.getValues(),t=[],n=0;n<8;n+=2)t.push(new p(e[n],e[n+1]));return t}},{getLength:function(){return this._length??=M.getLength(this.getValues(),0,1),this._length},getArea:function(){return M.getArea(this.getValues())},getLine:function(){return new b(this._segment1._point,this._segment2._point)},getPart:function(e,t){return new M(M.getPart(this.getValues(),e,t))},getPartLength:function(e,t){return M.getLength(this.getValues(),e,t)},divideAt:function(e){return this.divideAtTime(e&&e.curve===this?e.time:this.getTimeAt(e))},divideAtTime:function(e,t){var n=1e-8,r=1-n,i=null;if(e>=n&&e<=r){var a=M.subdivide(this.getValues(),e),o=a[0],s=a[1],c=t||this.hasHandles(),l=this._segment1,u=this._segment2,d=this._path;c&&(l._handleOut._set(o[2]-o[0],o[3]-o[1]),u._handleIn._set(s[4]-s[6],s[5]-s[7]));var f=o[6],m=o[7],h=new A(new p(f,m),c&&new p(o[4]-f,o[5]-m),c&&new p(s[2]-f,s[3]-m));d?(d.insert(l._index+1,h),i=this.getNext()):(this._segment2=h,this._changed(),i=new M(h,u))}return i},splitAt:function(e){var t=this._path;return t?t.splitAt(e):null},splitAtTime:function(e){return this.splitAt(this.getLocationAtTime(e))},divide:function(e,t){return this.divideAtTime(e===n?.5:t?e:this.getTimeAt(e))},split:function(e,t){return this.splitAtTime(e===n?.5:t?e:this.getTimeAt(e))},reversed:function(){return new M(this._segment2.reversed(),this._segment1.reversed())},clearHandles:function(){this._segment1._handleOut._set(0,0),this._segment2._handleIn._set(0,0)},statics:{getValues:function(e,t,n,r){var i=e._point,a=e._handleOut,o=t._handleIn,s=t._point,c=i.x,l=i.y,u=s.x,d=s.y,f=r?[c,l,c,l,u,d,u,d]:[c,l,c+a._x,l+a._y,u+o._x,d+o._y,u,d];return n&&n._transformCoordinates(f,f,4),f},subdivide:function(e,t){var r=e[0],i=e[1],a=e[2],o=e[3],s=e[4],c=e[5],l=e[6],u=e[7];t===n&&(t=.5);var d=1-t,f=d*r+t*a,p=d*i+t*o,m=d*a+t*s,h=d*o+t*c,g=d*s+t*l,_=d*c+t*u,v=d*f+t*m,y=d*p+t*h,b=d*m+t*g,x=d*h+t*_,S=d*v+t*b,C=d*y+t*x;return[[r,i,f,p,v,y,S,C],[S,C,b,x,g,_,l,u]]},getMonoCurves:function(e,t){var n=[],r=+!t,i=e[r+0],a=e[r+2],o=e[r+4],s=e[r+6];if(i>=a==a>=o&&a>=o==o>=s||M.isStraight(e))n.push(e);else{var c=3*(a-o)-i+s,l=2*(i+o)-4*a,u=a-i,f=1e-8,p=1-f,m=[],h=d.solveQuadratic(c,l,u,m,f,p);if(!h)n.push(e);else{m.sort();var g=m[0],_=M.subdivide(e,g);n.push(_[0]),h>1&&(g=(m[1]-g)/(1-g),_=M.subdivide(_[1],g),n.push(_[0])),n.push(_[1])}}return n},solveCubic:function(e,t,n,r,i,a){var o=e[t],s=e[t+2],c=e[t+4],l=e[t+6],u=0;if(!(o<n&&l<n&&s<n&&c<n||o>n&&l>n&&s>n&&c>n)){var f=3*(s-o),p=3*(c-s)-f,m=l-o-f-p;u=d.solveCubic(m,p,f,o-n,r,i,a)}return u},getTimeOf:function(e,t){var n=new p(e[0],e[1]),r=new p(e[6],e[7]),i=1e-12,a=1e-7;if((t.isClose(n,i)?0:t.isClose(r,i)?1:null)===null)for(var o=[t.x,t.y],s=[],c=0;c<2;c++)for(var l=M.solveCubic(e,c,o[c],s,0,1),u=0;u<l;u++){var d=s[u];if(t.isClose(M.getPoint(e,d),a))return d}return t.isClose(n,a)?0:t.isClose(r,a)?1:null},getNearestTime:function(e,t){if(M.isStraight(e)){var n=e[0],r=e[1],i=e[6],a=e[7],o=i-n,s=a-r,c=o*o+s*s;if(c===0)return 0;var l=((t.x-n)*o+(t.y-r)*s)/c;return l<1e-12?0:l>.999999999999?1:M.getTimeOf(e,new p(n+l*o,r+l*s))}var u=100,d=1/0,f=0;function m(n){if(n>=0&&n<=1){var r=t.getDistance(M.getPoint(e,n),!0);if(r<d)return d=r,f=n,!0}}for(var h=0;h<=u;h++)m(h/u);for(var g=1/(u*2);g>1e-8;)!m(f-g)&&!m(f+g)&&(g/=2);return f},getPart:function(e,t,n){var r=t>n;if(r){var i=t;t=n,n=i}return t>0&&(e=M.subdivide(e,t)[1]),n<1&&(e=M.subdivide(e,(n-t)/(1-t))[0]),r?[e[6],e[7],e[4],e[5],e[2],e[3],e[0],e[1]]:e},isFlatEnough:function(e,t){var n=e[0],r=e[1],i=e[2],a=e[3],o=e[4],s=e[5],c=e[6],l=e[7],u=3*i-2*n-c,d=3*a-2*r-l,f=3*o-2*c-n,p=3*s-2*l-r;return Math.max(u*u,f*f)+Math.max(d*d,p*p)<=16*t*t},getArea:function(e){var t=e[0],n=e[1],r=e[2],i=e[3],a=e[4],o=e[5],s=e[6],c=e[7];return 3*((c-n)*(r+a)-(s-t)*(i+o)+i*(t-a)-r*(n-o)+c*(a+t/3)-s*(o+n/3))/20},getBounds:function(e){for(var t=e.slice(0,2),n=t.slice(),r=[0,0],i=0;i<2;i++)M._addBounds(e[i],e[i+2],e[i+4],e[i+6],i,0,t,n,r);return new _(t[0],t[1],n[0]-t[0],n[1]-t[1])},_addBounds:function(e,t,n,r,i,a,o,s,c){function l(e,t){var n=e-t,r=e+t;n<o[i]&&(o[i]=n),r>s[i]&&(s[i]=r)}a/=2;var u=o[i]+a,f=s[i]-a;if(e<u||t<u||n<u||r<u||e>f||t>f||n>f||r>f){if(t<e!=t<r&&n<e!=n<r)l(e,0),l(r,0);else{var p=3*(t-n)-e+r,m=2*(e+n)-4*t,h=t-e,g=d.solveQuadratic(p,m,h,c),_=1e-8,v=1-_;l(r,0);for(var y=0;y<g;y++){var b=c[y],x=1-b;_<=b&&b<=v&&l(x*x*x*e+3*x*x*b*t+3*x*b*b*n+b*b*b*r,a)}}}}}},a.each([`getBounds`,`getStrokeBounds`,`getHandleBounds`],function(e){this[e]=function(){this._bounds||={};var t=this._bounds[e];return t||=this._bounds[e]=N[e]([this._segment1,this._segment2],!1,this._path),t.clone()}},{}),a.each({isStraight:function(e,t,n,r){if(t.isZero()&&n.isZero())return!0;var i=r.subtract(e);if(i.isZero())return!1;if(i.isCollinear(t)&&i.isCollinear(n)){var a=new b(e,r),o=1e-7;if(a.getDistance(e.add(t))<o&&a.getDistance(r.add(n))<o){var s=i.dot(i),c=i.dot(t)/s,l=i.dot(n)/s;return c>=0&&c<=1&&l<=0&&l>=-1}}return!1},isLinear:function(e,t,n,r){var i=r.subtract(e).divide(3);return t.equals(i)&&n.negate().equals(i)}},function(e,t){this[t]=function(t){var n=this._segment1,r=this._segment2;return e(n._point,n._handleOut,r._handleIn,r._point,t)},this.statics[t]=function(t,n){var r=t[0],i=t[1],a=t[6],o=t[7];return e(new p(r,i),new p(t[2]-r,t[3]-i),new p(t[4]-a,t[5]-o),new p(a,o),n)}},{statics:{},hasHandles:function(){return!this._segment1._handleOut.isZero()||!this._segment2._handleIn.isZero()},hasLength:function(e){return(!this.getPoint1().equals(this.getPoint2())||this.hasHandles())&&this.getLength()>(e||0)},isCollinear:function(e){return e&&this.isStraight()&&e.isStraight()&&this.getLine().isCollinear(e.getLine())},isHorizontal:function(){return this.isStraight()&&Math.abs(this.getTangentAtTime(.5).y)<1e-8},isVertical:function(){return this.isStraight()&&Math.abs(this.getTangentAtTime(.5).x)<1e-8}}),{beans:!1,getLocationAt:function(e,t){return this.getLocationAtTime(t?e:this.getTimeAt(e))},getLocationAtTime:function(e){return e!=null&&e>=0&&e<=1?new ee(this,e):null},getTimeAt:function(e,t){return M.getTimeAt(this.getValues(),e,t)},getParameterAt:`#getTimeAt`,getTimesWithTangent:function(){var e=p.read(arguments);return e.isZero()?[]:M.getTimesWithTangent(this.getValues(),e)},getOffsetAtTime:function(e){return this.getPartLength(0,e)},getLocationOf:function(){return this.getLocationAtTime(this.getTimeOf(p.read(arguments)))},getOffsetOf:function(){var e=this.getLocationOf.apply(this,arguments);return e?e.getOffset():null},getTimeOf:function(){return M.getTimeOf(this.getValues(),p.read(arguments))},getParameterOf:`#getTimeOf`,getNearestLocation:function(){var e=p.read(arguments),t=this.getValues(),n=M.getNearestTime(t,e),r=M.getPoint(t,n);return new ee(this,n,r,null,e.getDistance(r))},getNearestPoint:function(){var e=this.getNearestLocation.apply(this,arguments);return e&&e.getPoint()}},new function(){var e=[`getPoint`,`getTangent`,`getNormal`,`getWeightedTangent`,`getWeightedNormal`,`getCurvature`];return a.each(e,function(e){this[e+`At`]=function(t,n){var r=this.getValues();return M[e](r,n?t:M.getTimeAt(r,t))},this[e+`AtTime`]=function(t){return M[e](this.getValues(),t)}},{statics:{_evaluateMethods:e}})},new function(){function e(e){var t=e[0],n=e[1],r=e[2],i=e[3],a=e[4],o=e[5],s=e[6],c=e[7],l=9*(r-a)+3*(s-t),u=6*(t+a)-12*r,d=3*(r-t),f=9*(i-o)+3*(c-n),p=6*(n+o)-12*i,m=3*(i-n);return function(e){var t=(l*e+u)*e+d,n=(f*e+p)*e+m;return Math.sqrt(t*t+n*n)}}function t(e,t){return Math.max(2,Math.min(16,Math.ceil(Math.abs(t-e)*32)))}function r(e,t,n,r){if(t==null||t<0||t>1)return null;var i=e[0],a=e[1],o=e[2],s=e[3],c=e[4],l=e[5],u=e[6],f=e[7],m=d.isZero;m(o-i)&&m(s-a)&&(o=i,s=a),m(c-u)&&m(l-f)&&(c=u,l=f);var h=3*(o-i),g=3*(c-o)-h,_=u-i-h-g,v=3*(s-a),y=3*(l-s)-v,b=f-a-v-y,x,S;if(n===0)x=t===0?i:t===1?u:((_*t+g)*t+h)*t+i,S=t===0?a:t===1?f:((b*t+y)*t+v)*t+a;else{var C=1e-8,w=1-C;if(t<C?(x=h,S=v):t>w?(x=3*(u-c),S=3*(f-l)):(x=(3*_*t+2*g)*t+h,S=(3*b*t+2*y)*t+v),r){x===0&&S===0&&(t<C||t>w)&&(x=c-o,S=l-s);var T=Math.sqrt(x*x+S*S);T&&(x/=T,S/=T)}if(n===3){var c=6*_*t+2*g,l=6*b*t+2*y,E=(x*x+S*S)**(3/2);x=E===0?0:(x*l-S*c)/E,S=0}}return n===2?new p(S,-x):new p(x,S)}return{statics:{classify:function(e){var t=e[0],r=e[1],i=e[2],a=e[3],o=e[4],s=e[5],c=e[6],l=e[7],u=t*(l-s)+r*(o-c)+c*s-l*o,f=i*(r-l)+a*(c-t)+t*l-r*c,p=3*(o*(a-r)+s*(t-i)+i*r-a*t),m=p-f,h=m-f+u,g=Math.sqrt(h*h+m*m+p*p),_=g===0?0:1/g,v=d.isZero,y=`serpentine`;h*=_,m*=_,p*=_;function b(e,t,r){var i=t!==n,a=i&&t>0&&t<1,o=i&&r>0&&r<1;return i&&(!(a||o)||e===`loop`&&!(a&&o))&&(e=`arch`,a=o=!1),{type:e,roots:a||o?a&&o?t<r?[t,r]:[r,t]:[a?t:r]:null}}if(v(h))return v(m)?b(v(p)?`line`:`quadratic`):b(y,p/(3*m));var x=3*m*m-4*h*p;if(v(x))return b(`cusp`,m/(2*h));var S=Math.sqrt(x>0?x/3:-x),C=2*h;return b(x>0?y:`loop`,(m+S)/C,(m-S)/C)},getLength:function(r,i,a,o){if(i===n&&(i=0),a===n&&(a=1),M.isStraight(r)){var s=r;a<1&&(s=M.subdivide(s,a)[0],i/=a),i>0&&(s=M.subdivide(s,i)[1]);var c=s[6]-s[0],l=s[7]-s[1];return Math.sqrt(c*c+l*l)}return d.integrate(o||e(r),i,a,t(i,a))},getTimeAt:function(r,i,a){if(a===n&&(a=+(i<0)),i===0)return a;var o=Math.abs,s=1e-12,c=i>0,l=c?a:0,u=c?1:a,f=e(r),p=M.getLength(r,l,u,f),m=o(i)-p;if(o(m)<s)return c?u:l;if(m>s)return null;var h=i/p,g=0;function _(e){return g+=d.integrate(f,a,e,t(a,e)),a=e,g-i}return d.findRoot(_,f,a+h,l,u,32,1e-12)},getPoint:function(e,t){return r(e,t,0,!1)},getTangent:function(e,t){return r(e,t,1,!0)},getWeightedTangent:function(e,t){return r(e,t,1,!1)},getNormal:function(e,t){return r(e,t,2,!0)},getWeightedNormal:function(e,t){return r(e,t,2,!1)},getCurvature:function(e,t){return r(e,t,3,!1).x},getPeaks:function(e){var t=e[0],n=e[1],r=e[2],i=e[3],a=e[4],o=e[5],s=e[6],c=e[7],l=-t+3*r-3*a+s,u=3*t-6*r+3*a,f=-3*t+3*r,p=-n+3*i-3*o+c,m=3*n-6*i+3*o,h=-3*n+3*i,g=1e-8,_=1-g,v=[];return d.solveCubic(9*(l*l+p*p),9*(l*u+m*p),2*(u*u+m*m)+3*(f*l+h*p),f*u+m*h,v,g,_),v.sort()}}}},new function(){function e(e,t,n,r,i,a,o){var s=!o&&n.getPrevious()===i,c=!o&&n!==i&&n.getNext()===i,l=1e-8,u=1-l;if(r!==null&&r>=(s?l:0)&&r<=(c?u:1)&&a!==null&&a>=(c?l:0)&&a<=(s?u:1)){var d=new ee(n,r,null,o),f=new ee(i,a,null,o);d._intersection=f,f._intersection=d,(!t||t(d))&&ee.insert(e,d,!0)}}function t(i,a,o,s,c,l,u,d,f,p,m,h,g){if(++f>=4096||++d>=40)return f;var _=1e-9,v=a[0],y=a[1],x=a[6],S=a[7],C=b.getSignedDistance,w=C(v,y,x,S,a[2],a[3]),T=C(v,y,x,S,a[4],a[5]),E=w*T>0?3/4:4/9,D=E*Math.min(0,w,T),O=E*Math.max(0,w,T),k=C(v,y,x,S,i[0],i[1]),A=C(v,y,x,S,i[2],i[3]),j=C(v,y,x,S,i[4],i[5]),ee=C(v,y,x,S,i[6],i[7]),te=n(k,A,j,ee),N=te[0],ne=te[1],re,ie;if(w===0&&T===0&&k===0&&A===0&&j===0&&ee===0||(re=r(N,ne,D,O))==null||(ie=r(N.reverse(),ne.reverse(),D,O))==null)return f;var ae=p+(m-p)*re,oe=p+(m-p)*ie;if(Math.max(g-h,oe-ae)<_){var se=(ae+oe)/2,ce=(h+g)/2;e(c,l,u?s:o,u?ce:se,u?o:s,u?se:ce)}else{i=M.getPart(i,re,ie);var le=g-h;if(ie-re>.8){if(oe-ae>le){var ue=M.subdivide(i,.5),se=(ae+oe)/2;f=t(a,ue[0],s,o,c,l,!u,d,f,h,g,ae,se),f=t(a,ue[1],s,o,c,l,!u,d,f,h,g,se,oe)}else{var ue=M.subdivide(a,.5),ce=(h+g)/2;f=t(ue[0],i,s,o,c,l,!u,d,f,h,ce,ae,oe),f=t(ue[1],i,s,o,c,l,!u,d,f,ce,g,ae,oe)}}else f=le===0||le>=_?t(a,i,s,o,c,l,!u,d,f,h,g,ae,oe):t(i,a,o,s,c,l,u,d,f,ae,oe,h,g)}return f}function n(e,t,n,r){var i=[0,e],a=[1/3,t],o=[2/3,n],s=[1,r],c=t-(2*e+r)/3,l=n-(e+2*r)/3,u;if(c*l<0)u=[[i,a,s],[i,o,s]];else{var d=c/l;u=[d>=2?[i,a,s]:d<=.5?[i,o,s]:[i,a,o,s],[i,s]]}return(c||l)<0?u.reverse():u}function r(e,t,n,r){return e[0][1]<n?i(e,!0,n):t[0][1]>r?i(t,!1,r):e[0][0]}function i(e,t,n){for(var r=e[0][0],i=e[0][1],a=1,o=e.length;a<o;a++){var s=e[a][0],c=e[a][1];if(t?c>=n:c<=n)return c===n?s:r+(n-i)*(s-r)/(c-i);r=s,i=c}return null}function a(e,t,n,r,i){var a=d.isZero;if(a(r)&&a(i)){var o=M.getTimeOf(e,new p(t,n));return o===null?[]:[o]}for(var s=Math.atan2(-i,r),c=Math.sin(s),l=Math.cos(s),u=[],f=[],m=0;m<8;m+=2){var h=e[m]-t,g=e[m+1]-n;u.push(h*l-g*c,h*c+g*l)}return M.solveCubic(u,1,0,f,0,1),f}function o(t,n,r,i,o,s,c){for(var l=n[0],u=n[1],d=n[6],f=n[7],p=a(t,l,u,d-l,f-u),m=0,h=p.length;m<h;m++){var g=p[m],_=M.getPoint(t,g),v=M.getTimeOf(n,_);v!==null&&e(o,s,c?i:r,c?v:g,c?r:i,c?g:v)}}function s(t,n,r,i,a,o){var s=b.intersect(t[0],t[1],t[6],t[7],n[0],n[1],n[6],n[7]);s&&e(a,o,r,M.getTimeOf(t,s),i,M.getTimeOf(n,s))}function c(n,r,i,a,c,l){var u=1e-12,d=Math.min,f=Math.max;if(f(n[0],n[2],n[4],n[6])+u>d(r[0],r[2],r[4],r[6])&&d(n[0],n[2],n[4],n[6])-u<f(r[0],r[2],r[4],r[6])&&f(n[1],n[3],n[5],n[7])+u>d(r[1],r[3],r[5],r[7])&&d(n[1],n[3],n[5],n[7])-u<f(r[1],r[3],r[5],r[7])){var h=m(n,r);if(h)for(var g=0;g<2;g++){var _=h[g];e(c,l,i,_[0],a,_[1],!0)}else{var v=M.isStraight(n),y=M.isStraight(r),b=v&&y,x=v&&!y,S=c.length;if((b?s:v||y?o:t)(x?r:n,x?n:r,x?a:i,x?i:a,c,l,x,0,0,0,1,0,1),!b||c.length===S)for(var g=0;g<4;g++){var C=g>>1,w=g&1,T=C*6,E=w*6,D=new p(n[T],n[T+1]),O=new p(r[E],r[E+1]);D.isClose(O,u)&&e(c,l,i,C,a,w)}}}return c}function u(t,n,r,i){var a=M.classify(t);if(a.type===`loop`){var o=a.roots;e(r,i,n,o[0],n,o[1])}return r}function f(e,t,n,r,i,a){var o=1e-7,s=!t;s&&(t=e);for(var d=e.length,f=t.length,p=Array(d),m=s?p:Array(f),h=[],g=0;g<d;g++)p[g]=e[g].getValues(r);if(!s)for(var g=0;g<f;g++)m[g]=t[g].getValues(i);for(var _=l.findCurveBoundsCollisions(p,m,o),v=0;v<d;v++){var y=e[v],b=p[v];s&&u(b,y,h,n);var x=_[v];if(x)for(var S=0;S<x.length;S++){if(a&&h.length)return h;var C=x[S];if(!s||C>v){var w=t[C],T=m[C];c(b,T,y,w,h,n)}}}return h}function m(e,t){function n(e){var t=e[6]-e[0],n=e[7]-e[1];return t*t+n*n}var r=Math.abs,i=b.getDistance,a=1e-8,o=1e-7,s=M.isStraight(e),c=M.isStraight(t),l=s&&c,u=n(e)<n(t),d=u?t:e,f=u?e:t,m=d[0],h=d[1],g=d[6]-m,_=d[7]-h;if(i(m,h,g,_,f[0],f[1],!0)<o&&i(m,h,g,_,f[6],f[7],!0)<o)!l&&i(m,h,g,_,d[2],d[3],!0)<o&&i(m,h,g,_,d[4],d[5],!0)<o&&i(m,h,g,_,f[2],f[3],!0)<o&&i(m,h,g,_,f[4],f[5],!0)<o&&(s=c=l=!0);else if(l)return null;if(s^c)return null;for(var v=[e,t],y=[],x=0;x<4&&y.length<2;x++){var S=x&1,C=S^1,w=x>>1,T=M.getTimeOf(v[S],new p(v[C][w?6:0],v[C][w?7:1]));if(T!=null){var E=S?[w,T]:[T,w];(!y.length||r(E[0]-y[0][0])>a&&r(E[1]-y[0][1])>a)&&y.push(E)}if(x>2&&!y.length)break}if(y.length!==2)y=null;else if(!l){var D=M.getPart(e,y[0][0],y[1][0]),O=M.getPart(t,y[0][1],y[1][1]);(r(O[2]-D[2])>o||r(O[3]-D[3])>o||r(O[4]-D[4])>o||r(O[5]-D[5])>o)&&(y=null)}return y}function h(e,t){var n=e[0],r=e[1],i=e[2],a=e[3],o=e[4],s=e[5],c=e[6],l=e[7],u=t.normalize(),f=u.x,p=u.y,m=3*c-9*o+9*i-3*n,h=3*l-9*s+9*a-3*r,g=6*o-12*i+6*n,_=6*s-12*a+6*r,v=3*i-3*n,y=3*a-3*r,b=2*m*p-2*h*f,x=[];if(Math.abs(b)<d.CURVETIME_EPSILON){var S=m*y-h*v,b=m*_-h*g;if(b!=0){var C=-S/b;C>=0&&C<=1&&x.push(C)}}else{var w=(g*g-4*m*v)*p*p+(-2*g*_+4*h*v+4*m*y)*f*p+(_*_-4*h*y)*f*f,T=g*p-_*f;if(w>=0&&b!=0){var E=Math.sqrt(w),D=-(T+E)/b,O=(-T+E)/b;D>=0&&D<=1&&x.push(D),O>=0&&O<=1&&x.push(O)}}return x}return{getIntersections:function(e){var t=this.getValues(),n=e&&e!==this&&e.getValues();return n?c(t,n,this,e,[]):u(t,this,[])},statics:{getOverlaps:m,getIntersections:f,getCurveLineIntersections:a,getTimesWithTangent:h}}}),ee=a.extend({_class:`CurveLocation`,initialize:function(e,t,n,r,i){if(t>=.99999999){var a=e.getNext();a&&(t=0,e=a)}this._setCurve(e),this._time=t,this._point=n||e.getPointAtTime(t),this._overlap=r,this._distance=i,this._intersection=this._next=this._previous=null},_setPath:function(e){this._path=e,this._version=e?e._version:0},_setCurve:function(e){this._setPath(e._path),this._curve=e,this._segment=null,this._segment1=e._segment1,this._segment2=e._segment2},_setSegment:function(e){var t=e.getCurve();t?this._setCurve(t):(this._setPath(e._path),this._segment1=e,this._segment2=null),this._segment=e,this._time=e===this._segment1?0:1,this._point=e._point.clone()},getSegment:function(){var e=this._segment;if(!e){var t=this.getCurve(),n=this.getTime();n===0?e=t._segment1:n===1?e=t._segment2:n!=null&&(e=t.getPartLength(0,n)<t.getPartLength(n,1)?t._segment1:t._segment2),this._segment=e}return e},getCurve:function(){var e=this._path,t=this;e&&e._version!==this._version&&(this._time=this._offset=this._curveOffset=this._curve=null);function n(e){var n=e&&e.getCurve();if(n&&(t._time=n.getTimeOf(t._point))!=null)return t._setCurve(n),n}return this._curve||n(this._segment)||n(this._segment1)||n(this._segment2.getPrevious())},getPath:function(){var e=this.getCurve();return e&&e._path},getIndex:function(){var e=this.getCurve();return e&&e.getIndex()},getTime:function(){var e=this.getCurve(),t=this._time;return e&&t==null?this._time=e.getTimeOf(this._point):t},getParameter:`#getTime`,getPoint:function(){return this._point},getOffset:function(){var e=this._offset;if(e==null){e=0;var t=this.getPath(),n=this.getIndex();if(t&&n!=null)for(var r=t.getCurves(),i=0;i<n;i++)e+=r[i].getLength();this._offset=e+=this.getCurveOffset()}return e},getCurveOffset:function(){var e=this._curveOffset;if(e==null){var t=this.getCurve(),n=this.getTime();this._curveOffset=e=n!=null&&t&&t.getPartLength(0,n)}return e},getIntersection:function(){return this._intersection},getDistance:function(){return this._distance},divide:function(){var e=this.getCurve(),t=e&&e.divideAtTime(this.getTime());return t&&this._setSegment(t._segment1),t},split:function(){var e=this.getCurve(),t=e._path,n=e&&e.splitAtTime(this.getTime());return n&&this._setSegment(t.getLastSegment()),n},equals:function(e,t){var n=this===e;if(!n&&e instanceof ee){var r=this.getCurve(),i=e.getCurve(),a=r._path;if(a===i._path){var o=Math.abs,s=1e-7,c=o(this.getOffset()-e.getOffset()),l=!t&&this._intersection,u=!t&&e._intersection;n=(c<s||a&&o(a.getLength()-c)<s)&&(!l&&!u||l&&u&&l.equals(u,!0))}}return n},toString:function(){var e=[],t=this.getPoint(),n=u.instance;t&&e.push(`point: `+t);var r=this.getIndex();r!=null&&e.push(`index: `+r);var i=this.getTime();return i!=null&&e.push(`time: `+n.number(i)),this._distance!=null&&e.push(`distance: `+n.number(this._distance)),`{ `+e.join(`, `)+` }`},isTouching:function(){var e=this._intersection;if(e&&this.getTangent().isCollinear(e.getTangent())){var t=this.getCurve(),n=e.getCurve();return!(t.isStraight()&&n.isStraight()&&t.getLine().intersect(n.getLine()))}return!1},isCrossing:function(){var e=this._intersection;if(!e)return!1;var t=this.getTime(),n=e.getTime(),r=1e-8,i=1-r,a=t>=r&&t<=i,o=n>=r&&n<=i;if(a&&o)return!this.isTouching();var s=this.getCurve(),c=s&&t<r?s.getPrevious():s,l=e.getCurve(),u=l&&n<r?l.getPrevious():l;if(t>i&&(s=s.getNext()),n>i&&(l=l.getNext()),!c||!s||!u||!l)return!1;var d=[];function f(e,t){var n=e.getValues(),r=M.classify(n).roots||M.getPeaks(n),i=r.length,a=M.getLength(n,t&&i?r[i-1]:0,!t&&i?r[0]:1);d.push(i?a:a/32)}function p(e,t,n){return t<n?e>t&&e<n:e>t||e<n}a||(f(c,!0),f(s,!1)),o||(f(u,!0),f(l,!1));var m=this.getPoint(),h=Math.min.apply(Math,d),g=a?s.getTangentAtTime(t):s.getPointAt(h).subtract(m),_=a?g.negate():c.getPointAt(-h).subtract(m),v=o?l.getTangentAtTime(n):l.getPointAt(h).subtract(m),y=o?v.negate():u.getPointAt(-h).subtract(m),b=_.getAngle(),x=g.getAngle(),S=y.getAngle(),C=v.getAngle();return!!(a?p(b,S,C)^p(x,S,C)&&p(b,C,S)^p(x,C,S):p(S,b,x)^p(C,b,x)&&p(S,x,b)^p(C,x,b))},hasOverlap:function(){return!!this._overlap}},a.each(M._evaluateMethods,function(e){var t=e+`At`;this[e]=function(){var e=this.getCurve(),n=this.getTime();return n!=null&&e&&e[t](n,!0)}},{preserve:!0}),new function(){function e(e,t,n){var r=e.length,i=0,a=r-1;function o(n,i){for(var a=n+i;a>=-1&&a<=r;a+=i){var o=e[(a%r+r)%r];if(!t.getPoint().isClose(o.getPoint(),1e-7))break;if(t.equals(o))return o}return null}for(;i<=a;){var s=i+a>>>1,c=e[s],l;if(n&&(l=t.equals(c)?c:o(s,-1)||o(s,1)))return t._overlap&&(l._overlap=l._intersection._overlap=!0),l;var u=t.getPath(),d=c.getPath();(u===d?t.getIndex()+t.getTime()-(c.getIndex()+c.getTime()):u._id-d._id)<0?a=s-1:i=s+1}return e.splice(i,0,t),t}return{statics:{insert:e,expand:function(t){for(var n=t.slice(),r=t.length-1;r>=0;r--)e(n,t[r]._intersection,!1);return n}}}}),te=S.extend({_class:`PathItem`,_selectBounds:!1,_canScaleStroke:!0,beans:!0,initialize:function(){},statics:{create:function(e){var t,n,r;if(a.isPlainObject(e)?(n=e.segments,t=e.pathData):Array.isArray(e)?n=e:typeof e==`string`&&(t=e),n){var i=n[0];r=i&&Array.isArray(i[0])}else t&&(r=(t.match(/m/gi)||[]).length>1||/z\s*\S+/i.test(t));return new(r?ne:N)(e)}},_asPathItem:function(){return this},isClockwise:function(){return this.getArea()>=0},setClockwise:function(e){this.isClockwise()!=(e=!!e)&&this.reverse()},setPathData:function(e){var t=e&&e.match(/[mlhvcsqtaz][^mlhvcsqtaz]*/gi),n,r=!1,i,a,o=new p,s=new p;function c(e,t){var i=+n[e];return r&&(i+=o[t]),i}function l(e){return new p(c(e,`x`),c(e+1,`y`))}this.clear();for(var u=0,d=t&&t.length;u<d;u++){var f=t[u],m=f[0],g=m.toLowerCase();n=f.match(/[+-]?(?:\d*\.\d+|\d+\.?)(?:[eE][+-]?\d+)?/g);var _=n&&n.length;switch(r=m===g,i===`z`&&!/[mz]/.test(g)&&this.moveTo(o),g){case`m`:case`l`:for(var v=g===`m`,y=0;y<_;y+=2)this[v?`moveTo`:`lineTo`](o=l(y)),v&&=(s=o,!1);a=o;break;case`h`:case`v`:var b=g===`h`?`x`:`y`;o=o.clone();for(var y=0;y<_;y++)o[b]=c(y,b),this.lineTo(o);a=o;break;case`c`:for(var y=0;y<_;y+=6)this.cubicCurveTo(l(y),a=l(y+2),o=l(y+4));break;case`s`:for(var y=0;y<_;y+=4)this.cubicCurveTo(/[cs]/.test(i)?o.multiply(2).subtract(a):o,a=l(y),o=l(y+2)),i=g;break;case`q`:for(var y=0;y<_;y+=4)this.quadraticCurveTo(a=l(y),o=l(y+2));break;case`t`:for(var y=0;y<_;y+=2)this.quadraticCurveTo(a=/[qt]/.test(i)?o.multiply(2).subtract(a):o,o=l(y)),i=g;break;case`a`:for(var y=0;y<_;y+=7)this.arcTo(o=l(y+5),new h(+n[y],+n[y+1]),+n[y+2],+n[y+4],+n[y+3]);break;case`z`:this.closePath(1e-12),o=s}i=g}},_canComposite:function(){return!(this.hasFill()&&this.hasStroke())},_contains:function(e){var t=e.isInside(this.getBounds({internal:!0,handle:!0}))?this._getWinding(e):{};return t.onPath||!!(this.getFillRule()===`evenodd`?t.windingL&1||t.windingR&1:t.winding)},getIntersections:function(e,t,n,r){var i=this===e||!e,a=this._matrix._orNullIfIdentity(),o=i?a:(n||e._matrix)._orNullIfIdentity();return i||this.getBounds(a).intersects(e.getBounds(o),1e-12)?M.getIntersections(this.getCurves(),!i&&e.getCurves(),t,a,o,r):[]},getCrossings:function(e){return this.getIntersections(e,function(e){return e.isCrossing()})},getNearestLocation:function(){for(var e=p.read(arguments),t=this.getCurves(),n=1/0,r=null,i=0,a=t.length;i<a;i++){var o=t[i].getNearestLocation(e);o._distance<n&&(n=o._distance,r=o)}return r},getNearestPoint:function(){var e=this.getNearestLocation.apply(this,arguments);return e&&e.getPoint()},interpolate:function(e,t,n){var r=!this._children,i=r?`_segments`:`_children`,a=e[i],o=t[i],s=this[i];if(!a||!o||a.length!==o.length)throw Error(`Invalid operands in interpolate() call: `+e+`, `+t);var c=s.length,l=o.length;if(c<l)for(var u=r?A:N,d=c;d<l;d++)this.add(new u);else c>l&&this[r?`removeSegments`:`removeChildren`](l,c);for(var d=0;d<l;d++)s[d].interpolate(a[d],o[d],n);r&&(this.setClosed(e._closed),this._changed(9))},compare:function(e){var t=!1;if(e){var n=this._children||[this],r=e._children?e._children.slice():[e],i=n.length,a=r.length,o=[],s=0;t=!0;for(var c=l.findItemBoundsCollisions(n,r,d.GEOMETRIC_EPSILON),u=i-1;u>=0&&t;u--){var f=n[u];t=!1;var p=c[u];if(p)for(var m=p.length-1;m>=0&&!t;m--)f.compare(r[p[m]])&&(o[p[m]]||(o[p[m]]=!0,s++),t=!0)}t&&=s===a}return t}}),N=te.extend({_class:`Path`,_serializeFields:{segments:[],closed:!1},initialize:function(e){this._closed=!1,this._segments=[],this._version=0;var t=arguments,r=Array.isArray(e)?typeof e[0]==`object`?e:t:e&&e.size===n&&(e.x!==n||e.point!==n)?t:null;r&&r.length>0?this.setSegments(r):(this._curves=n,this._segmentSelection=0,!r&&typeof e==`string`&&(this.setPathData(e),e=null)),this._initialize(!r&&e)},_equals:function(e){return this._closed===e._closed&&a.equals(this._segments,e._segments)},copyContent:function(e){this.setSegments(e._segments),this._closed=e._closed},_changed:function e(t){if(e.base.call(this,t),t&8){if(this._length=this._area=n,t&32)this._version++;else if(this._curves)for(var r=0,i=this._curves.length;r<i;r++)this._curves[r]._changed()}else t&64&&(this._bounds=n)},getStyle:function(){var e=this._parent;return(e instanceof ne?e:this)._style},getSegments:function(){return this._segments},setSegments:function(e){var t=this.isFullySelected(),r=e&&e.length;if(this._segments.length=0,this._segmentSelection=0,this._curves=n,r){var i=e[r-1];typeof i==`boolean`&&(this.setClosed(i),r--),this._add(A.readList(e,0,{},r))}t&&this.setFullySelected(!0)},getFirstSegment:function(){return this._segments[0]},getLastSegment:function(){return this._segments[this._segments.length-1]},getCurves:function(){var e=this._curves,t=this._segments;if(!e){var n=this._countCurves();e=this._curves=Array(n);for(var r=0;r<n;r++)e[r]=new M(this,t[r],t[r+1]||t[0])}return e},getFirstCurve:function(){return this.getCurves()[0]},getLastCurve:function(){var e=this.getCurves();return e[e.length-1]},isClosed:function(){return this._closed},setClosed:function(e){if(this._closed!=(e=!!e)){if(this._closed=e,this._curves){var t=this._curves.length=this._countCurves();e&&(this._curves[t-1]=new M(this,this._segments[t-1],this._segments[0]))}this._changed(41)}}},{beans:!0,getPathData:function(e,t){var n=this._segments,r=n.length,i=new u(t),a=[,,,,,,],o=!0,s,c,l,d,f,p,m,h,g=[];function _(t,n){if(t._transformCoordinates(e,a),s=a[0],c=a[1],o)g.push(`M`+i.pair(s,c)),o=!1;else if(f=a[2],p=a[3],f===s&&p===c&&m===l&&h===d){if(!n){var r=s-l,u=c-d;g.push(r===0?`v`+i.number(u):u===0?`h`+i.number(r):`l`+i.pair(r,u))}}else g.push(`c`+i.pair(m-l,h-d)+` `+i.pair(f-l,p-d)+` `+i.pair(s-l,c-d));l=s,d=c,m=a[4],h=a[5]}if(!r)return``;for(var v=0;v<r;v++)_(n[v]);return this._closed&&r>0&&(_(n[0],!0),g.push(`z`)),g.join(``)},isEmpty:function(){return!this._segments.length},_transformContent:function(e){for(var t=this._segments,n=[,,,,,,],r=0,i=t.length;r<i;r++)t[r]._transformCoordinates(e,n,!0);return!0},_add:function(e,t){for(var n=this._segments,r=this._curves,i=e.length,o=t==null,t=o?n.length:t,s=0;s<i;s++){var c=e[s];c._path&&(c=e[s]=c.clone()),c._path=this,c._index=t+s,c._selection&&this._updateSelection(c,0,c._selection)}if(o)a.push(n,e);else{n.splice.apply(n,[t,0].concat(e));for(var s=t+i,l=n.length;s<l;s++)n[s]._index=s}if(r){var u=this._countCurves(),d=t>0&&t+i-1===u?t-1:t,f=d,p=Math.min(d+i,u);e._curves&&(r.splice.apply(r,[d,0].concat(e._curves)),f+=e._curves.length);for(var s=f;s<p;s++)r.splice(s,0,new M(this,null,null));this._adjustCurves(d,p)}return this._changed(41),e},_adjustCurves:function(e,t){for(var n=this._segments,r=this._curves,i,a=e;a<t;a++)i=r[a],i._path=this,i._segment1=n[a],i._segment2=n[a+1]||n[0],i._changed();(i=r[this._closed&&!e?n.length-1:e-1])&&(i._segment2=n[e]||n[0],i._changed()),(i=r[t])&&(i._segment1=n[t],i._changed())},_countCurves:function(){var e=this._segments.length;return!this._closed&&e>0?e-1:e},add:function(e){var t=arguments;return t.length>1&&typeof e!=`number`?this._add(A.readList(t)):this._add([A.read(t)])[0]},insert:function(e,t){var n=arguments;return n.length>2&&typeof t!=`number`?this._add(A.readList(n,1),e):this._add([A.read(n,1)],e)[0]},addSegment:function(){return this._add([A.read(arguments)])[0]},insertSegment:function(e){return this._add([A.read(arguments,1)],e)[0]},addSegments:function(e){return this._add(A.readList(e))},insertSegments:function(e,t){return this._add(A.readList(t),e)},removeSegment:function(e){return this.removeSegments(e,e+1)[0]||null},removeSegments:function(e,t,n){e||=0,t=a.pick(t,this._segments.length);var r=this._segments,i=this._curves,o=r.length,s=r.splice(e,t-e),c=s.length;if(!c)return s;for(var l=0;l<c;l++){var u=s[l];u._selection&&this._updateSelection(u,u._selection,0),u._index=u._path=null}for(var l=e,d=r.length;l<d;l++)r[l]._index=l;if(i){for(var f=e>0&&t===o+ +!!this._closed?e-1:e,i=i.splice(f,c),l=i.length-1;l>=0;l--)i[l]._path=null;n&&(s._curves=i.slice(1)),this._adjustCurves(f,f)}return this._changed(41),s},clear:`#removeSegments`,hasHandles:function(){for(var e=this._segments,t=0,n=e.length;t<n;t++)if(e[t].hasHandles())return!0;return!1},clearHandles:function(){for(var e=this._segments,t=0,n=e.length;t<n;t++)e[t].clearHandles()},getLength:function(){if(this._length==null){for(var e=this.getCurves(),t=0,n=0,r=e.length;n<r;n++)t+=e[n].getLength();this._length=t}return this._length},getArea:function(){var e=this._area;if(e==null){var t=this._segments,n=this._closed;e=0;for(var r=0,i=t.length;r<i;r++){var a=r+1===i;e+=M.getArea(M.getValues(t[r],t[a?0:r+1],null,a&&!n))}this._area=e}return e},isFullySelected:function(){var e=this._segments.length;return this.isSelected()&&e>0&&this._segmentSelection===e*7},setFullySelected:function(e){e&&this._selectSegments(!0),this.setSelected(e)},setSelection:function e(t){t&1||this._selectSegments(!1),e.base.call(this,t)},_selectSegments:function(e){var t=this._segments,n=t.length,r=e?7:0;this._segmentSelection=r*n;for(var i=0;i<n;i++)t[i]._selection=r},_updateSelection:function(e,t,n){e._selection=n,(this._segmentSelection+=n-t)>0&&this.setSelected(!0)},divideAt:function(e){var t=this.getLocationAt(e),n;return t&&(n=t.getCurve().divideAt(t.getCurveOffset()))?n._segment1:null},splitAt:function(e){var t=this.getLocationAt(e),n=t&&t.index,r=t&&t.time,i=1e-8,a=1-i;r>a&&(n++,r=0);var o=this.getCurves();if(n>=0&&n<o.length){r>=i&&o[n++].divideAtTime(r);var s=this.removeSegments(n,this._segments.length,!0),c;return this._closed?(this.setClosed(!1),c=this):(c=new N(S.NO_INSERT),c.insertAbove(this),c.copyAttributes(this)),c._add(s,0),this.addSegment(s[0]),c}return null},split:function(e,t){var r,i=t===n?e:(r=this.getCurves()[e])&&r.getLocationAtTime(t);return i==null?null:this.splitAt(i)},join:function(e,t){var n=t||0;if(e&&e!==this){var r=e._segments,i=this.getLastSegment(),a=e.getLastSegment();if(!a)return this;i&&i._point.isClose(a._point,n)&&e.reverse();var o=e.getFirstSegment();if(i&&i._point.isClose(o._point,n))i.setHandleOut(o._handleOut),this._add(r.slice(1));else{var s=this.getFirstSegment();s&&s._point.isClose(o._point,n)&&e.reverse(),a=e.getLastSegment(),s&&s._point.isClose(a._point,n)?(s.setHandleIn(a._handleIn),this._add(r.slice(0,r.length-1),0)):this._add(r.slice())}e._closed&&this._add([r[0]]),e.remove()}var c=this.getFirstSegment(),l=this.getLastSegment();return c!==l&&c._point.isClose(l._point,n)&&(c.setHandleIn(l._handleIn),l.remove(),this.setClosed(!0)),this},reduce:function(e){for(var t=this.getCurves(),n=e&&e.simplify,r=n?1e-7:0,i=t.length-1;i>=0;i--){var a=t[i];!a.hasHandles()&&(!a.hasLength(r)||n&&a.isCollinear(a.getNext()))&&a.remove()}return this},reverse:function(){this._segments.reverse();for(var e=0,t=this._segments.length;e<t;e++){var n=this._segments[e],r=n._handleIn;n._handleIn=n._handleOut,n._handleOut=r,n._index=e}this._curves=null,this._changed(9)},flatten:function(e){for(var t=new re(this,e||.25,256,!0).parts,n=t.length,r=[],i=0;i<n;i++)r.push(new A(t[i].curve.slice(0,2)));!this._closed&&n>0&&r.push(new A(t[n-1].curve.slice(6))),this.setSegments(r)},simplify:function(e){var t=new ie(this).fit(e||2.5);return t&&this.setSegments(t),!!t},smooth:function(e){var t=this,r=e||{},i=r.type||`asymmetric`,a=this._segments,o=a.length,s=this._closed;function c(e,n){var r=e&&e.index;if(r!=null){var i=e.path;if(i&&i!==t)throw Error(e._class+` `+r+` of `+i+` is not part of `+t);n&&e instanceof M&&r++}else r=typeof e==`number`?e:n;return Math.min(r<0&&s?r%o:r<0?r+o:r,o-1)}var l=s&&r.from===n&&r.to===n,u=c(r.from,0),d=c(r.to,o-1);if(u>d){if(s)u-=o;else{var f=u;u=d,d=f}}if(/^(?:asymmetric|continuous)$/.test(i)){var p=i===`asymmetric`,m=Math.min,h=d-u+1,g=h-1,_=l?m(h,4):1,v=_,y=_,b=[];if(s||(v=m(1,u),y=m(1,o-d-1)),g+=v+y,g<=1)return;for(var x=0,S=u-v;x<=g;x++,S++)b[x]=a[(S<0?S+o:S)%o]._point;for(var C=b[0]._x+2*b[1]._x,w=b[0]._y+2*b[1]._y,T=2,E=g-1,D=[C],O=[w],k=[T],A=[],j=[],x=1;x<g;x++){var ee=x<E,te=ee||p?1:2,N=ee?4:p?2:7,ne=ee?4:p?3:8,re=ee?2:+!p,ie=te/T;T=k[x]=N-ie,C=D[x]=ne*b[x]._x+re*b[x+1]._x-ie*C,w=O[x]=ne*b[x]._y+re*b[x+1]._y-ie*w}A[E]=D[E]/k[E],j[E]=O[E]/k[E];for(var x=g-2;x>=0;x--)A[x]=(D[x]-A[x+1])/k[x],j[x]=(O[x]-j[x+1])/k[x];A[g]=(3*b[g]._x-A[E])/2,j[g]=(3*b[g]._y-j[E])/2;for(var x=v,ae=g-y,S=u;x<=ae;x++,S++){var oe=a[S<0?S+o:S],se=oe._point,ce=A[x]-se._x,le=j[x]-se._y;(l||x<ae)&&oe.setHandleOut(ce,le),(l||x>v)&&oe.setHandleIn(-ce,-le)}}else for(var x=u;x<=d;x++)a[x<0?x+o:x].smooth(r,!l&&x===u,!l&&x===d)},toShape:function(e){if(!this._closed)return null;var t=this._segments,r,i,a,o;function s(e,n){var r=t[e],i=r.getNext(),a=t[n],o=a.getNext();return r._handleOut.isZero()&&i._handleIn.isZero()&&a._handleOut.isZero()&&o._handleIn.isZero()&&i._point.subtract(r._point).isCollinear(o._point.subtract(a._point))}function c(e){var n=t[e],r=n.getPrevious(),i=n.getNext();return r._handleOut.isZero()&&n._handleIn.isZero()&&n._handleOut.isZero()&&i._handleIn.isZero()&&n._point.subtract(r._point).isOrthogonal(i._point.subtract(n._point))}function l(e){var n=t[e],r=n.getNext(),i=n._handleOut,a=r._handleIn,o=.5522847498307936;if(i.isOrthogonal(a)){var s=n._point,c=r._point,l=new b(s,i,!0).intersect(new b(c,a,!0),!0);return l&&d.isZero(i.getLength()/l.subtract(s).getLength()-o)&&d.isZero(a.getLength()/l.subtract(c).getLength()-o)}return!1}function u(e,n){return t[e]._point.getDistance(t[n]._point)}if(!this.hasHandles()&&t.length===4&&s(0,2)&&s(1,3)&&c(1)?(r=T.Rectangle,i=new h(u(0,3),u(0,1)),o=t[1]._point.add(t[2]._point).divide(2)):t.length===8&&l(0)&&l(2)&&l(4)&&l(6)&&s(1,5)&&s(3,7)?(r=T.Rectangle,i=new h(u(1,6),u(0,3)),a=i.subtract(new h(u(0,7),u(1,2))).divide(2),o=t[3]._point.add(t[4]._point).divide(2)):t.length===4&&l(0)&&l(1)&&l(2)&&l(3)&&(d.isZero(u(0,2)-u(1,3))?(r=T.Circle,a=u(0,2)/2):(r=T.Ellipse,a=new h(u(2,0)/2,u(3,1)/2)),o=t[1]._point),r){var f=this.getPosition(!0),p=new r({center:f,size:i,radius:a,insert:!1});return p.copyAttributes(this,!0),p._matrix.prepend(this._matrix),p.rotate(o.subtract(f).getAngle()+90),(e===n||e)&&p.insertAbove(this),p}return null},toPath:`#clone`,compare:function e(t){if(!t||t instanceof ne)return e.base.call(this,t);var n=this.getCurves(),r=t.getCurves(),i=n.length,a=r.length;if(!i||!a)return i==a;for(var o=n[0].getValues(),s=[],c=0,l,u=0,d,f=0;f<a;f++){var p=r[f].getValues();s.push(p);var m=M.getOverlaps(o,p);if(m){l=!f&&m[0][0]>0?a-1:f,d=m[0][1];break}}for(var h=Math.abs,g=1e-8,p=s[l],_;o&&p;){var m=M.getOverlaps(o,p);if(m){var v=m[0][0];if(h(v-u)<g){u=m[1][0],u===1&&(o=++c<i?n[c].getValues():null,u=0);var y=m[0][1];if(h(y-d)<g){if(_||=[l,y],d=m[1][1],d===1&&(++l>=a&&(l=0),p=s[l]||r[l].getValues(),d=0),!o)return _[0]===l&&_[1]===d;continue}}}break}return!1},_hitTestSelf:function(e,t,n,r){var i=this,a=this.getStyle(),o=this._segments,s=o.length,c=this._closed,l=t._tolerancePadding,u=l,d,f,p,m,h,g,_=t.stroke&&a.hasStroke(),v=t.fill&&a.hasFill(),y=t.curves,b=_?a.getStrokeWidth()/2:v&&t.tolerance>0||y?0:null;b!==null&&(b>0?(d=a.getStrokeJoin(),f=a.getStrokeCap(),p=a.getMiterLimit(),u=u.add(N._getStrokePadding(b,r))):d=f=`round`);function x(t,n){return e.subtract(t).divide(n).length<=1}function S(e,n,r){if(!t.selected||n.isSelected()){var a=e._point;if(n!==a&&(n=n.add(a)),x(n,u))return new k(r,i,{segment:e,point:n})}}function C(e,n){return(n||t.segments)&&S(e,e._point,`segment`)||!n&&t.handles&&(S(e,e._handleIn,`handle-in`)||S(e,e._handleOut,`handle-out`))}function w(e){m.add(e)}function T(t){var n=c||t._index>0&&t._index<s-1;if((n?d:f)===`round`)return x(t._point,u);if(m=new N({internal:!0,closed:!0}),n?t.isSmooth()||N._addBevelJoin(t,d,b,p,null,r,w,!0):f===`square`&&N._addSquareCap(t,f,b,null,r,w,!0),!m.isEmpty()){var i;return m.contains(e)||(i=m.getNearestLocation(e))&&x(i.getPoint(),l)}}if(t.ends&&!t.segments&&!c){if(g=C(o[0],!0)||C(o[s-1],!0))return g}else if(t.segments||t.handles){for(var E=0;E<s;E++)if(g=C(o[E]))return g}if(b!==null){if(h=this.getNearestLocation(e),h){var D=h.getTime();D===0||D===1&&s>1?T(h.getSegment())||(h=null):x(h.getPoint(),u)||(h=null)}if(!h&&d===`miter`&&s>1)for(var E=0;E<s;E++){var O=o[E];if(e.getDistance(O._point)<=p*b&&T(O)){h=O.getLocation();break}}}return!h&&v&&this._contains(e)||h&&!_&&!y?new k(`fill`,this):h?new k(_?`stroke`:`curve`,this,{location:h,point:h.getPoint()}):null}},a.each(M._evaluateMethods,function(e){this[e+`At`]=function(t){var n=this.getLocationAt(t);return n&&n[e]()}},{beans:!1,getLocationOf:function(){for(var e=p.read(arguments),t=this.getCurves(),n=0,r=t.length;n<r;n++){var i=t[n].getLocationOf(e);if(i)return i}return null},getOffsetOf:function(){var e=this.getLocationOf.apply(this,arguments);return e?e.getOffset():null},getLocationAt:function(e){if(typeof e==`number`){for(var t=this.getCurves(),n=0,r=0,i=t.length;r<i;r++){var a=n,o=t[r];if(n+=o.getLength(),n>e)return o.getLocationAt(e-a)}if(t.length>0&&e<=this.getLength())return new ee(t[t.length-1],1)}else if(e&&e.getPath&&e.getPath()===this)return e;return null},getOffsetsWithTangent:function(){var e=p.read(arguments);if(e.isZero())return[];for(var t=[],n=0,r=this.getCurves(),i=0,a=r.length;i<a;i++){for(var o=r[i],s=o.getTimesWithTangent(e),c=0,l=s.length;c<l;c++){var u=n+o.getOffsetAtTime(s[c]);t.indexOf(u)<0&&t.push(u)}n+=o.length}return t}}),new function(){function e(e,t,n,r){if(r<=0)return;var i=r/2,a=r-2,o=i-1,s=[,,,,,,],c,l;function u(t){var n=s[t],r=s[t+1];(c!=n||l!=r)&&(e.beginPath(),e.moveTo(c,l),e.lineTo(n,r),e.stroke(),e.beginPath(),e.arc(n,r,i,0,Math.PI*2,!0),e.fill())}for(var d=0,f=t.length;d<f;d++){var p=t[d],m=p._selection;if(p._transformCoordinates(n,s),c=s[0],l=s[1],m&2&&u(2),m&4&&u(4),e.fillRect(c-i,l-i,r,r),a>0&&!(m&1)){var h=e.fillStyle;e.fillStyle=`#ffffff`,e.fillRect(c-o,l-o,a,a),e.fillStyle=h}}}function t(e,t,n){var r=t._segments,i=r.length,a=[,,,,,,],o=!0,s,c,l,u,d,f,p,m;function h(t){if(n)t._transformCoordinates(n,a),s=a[0],c=a[1];else{var r=t._point;s=r._x,c=r._y}if(o)e.moveTo(s,c),o=!1;else{if(n)d=a[2],f=a[3];else{var i=t._handleIn;d=s+i._x,f=c+i._y}d===s&&f===c&&p===l&&m===u?e.lineTo(s,c):e.bezierCurveTo(p,m,d,f,s,c)}if(l=s,u=c,n)p=a[4],m=a[5];else{var i=t._handleOut;p=l+i._x,m=u+i._y}}for(var g=0;g<i;g++)h(r[g]);t._closed&&i>0&&h(r[0])}return{_draw:function(e,n,r,i){var a=n.dontStart,o=n.dontFinish||n.clip,s=this.getStyle(),c=s.hasFill(),l=s.hasStroke(),u=s.getDashArray(),d=!I.support.nativeDash&&l&&u&&u.length;a||e.beginPath(),(c||l&&!d||o)&&(t(e,this,i),this._closed&&e.closePath());function f(e){return u[(e%d+d)%d]}if(!o&&(c||l)&&(this._setStyles(e,n,r),c&&(e.fill(s.getFillRule()),e.shadowColor=`rgba(0,0,0,0)`),l)){if(d){a||e.beginPath();for(var p=new re(this,.25,32,!1,i),m=p.length,h=-s.getDashOffset(),g,_=0;h>0;)h-=f(_--)+f(_--);for(;h<m;)g=h+f(_++),(h>0||g>0)&&p.drawPart(e,Math.max(h,0),Math.max(g,0)),h=g+f(_++)}e.stroke()}},_drawSelected:function(n,r){n.beginPath(),t(n,this,r),n.stroke(),e(n,this._segments,r,I.settings.handleSize)}}},new function(){function e(e){var t=e._segments;if(!t.length)throw Error(`Use a moveTo() command first`);return t[t.length-1]}return{moveTo:function(){var e=this._segments;e.length===1&&this.removeSegment(0),e.length||this._add([new A(p.read(arguments))])},moveBy:function(){throw Error(`moveBy() is unsupported on Path items.`)},lineTo:function(){this._add([new A(p.read(arguments))])},cubicCurveTo:function(){var t=arguments,n=p.read(t),r=p.read(t),i=p.read(t),a=e(this);a.setHandleOut(n.subtract(a._point)),this._add([new A(i,r.subtract(i))])},quadraticCurveTo:function(){var t=arguments,n=p.read(t),r=p.read(t),i=e(this)._point;this.cubicCurveTo(n.add(i.subtract(n).multiply(1/3)),n.add(r.subtract(n).multiply(1/3)),r)},curveTo:function(){var t=arguments,n=p.read(t),r=p.read(t),i=a.pick(a.read(t),.5),o=1-i,s=e(this)._point,c=n.subtract(s.multiply(o*o)).subtract(r.multiply(i*i)).divide(2*i*o);if(c.isNaN())throw Error(`Cannot put a curve through points with parameter = `+i);this.quadraticCurveTo(c,r)},arcTo:function(){var t=arguments,n=Math.abs,r=Math.sqrt,i=e(this),o=i._point,s=p.read(t),c,l=a.peek(t),u=a.pick(l,!0),f,m,g,_;if(typeof u==`boolean`)var v=o.add(s).divide(2),c=v.add(v.subtract(o).rotate(u?-90:90));else if(a.remain(t)<=2)c=s,s=p.read(t);else if(!o.equals(s)){var x=h.read(t),S=d.isZero;if(S(x.width)||S(x.height))return this.lineTo(s);var C=a.read(t),u=!!a.read(t),w=!!a.read(t),v=o.add(s).divide(2),T=o.subtract(v).rotate(-C),E=T.x,D=T.y,O=n(x.width),k=n(x.height),j=O*O,M=k*k,ee=E*E,te=D*D,N=r(ee/j+te/M);if(N>1&&(O*=N,k*=N,j=O*O,M=k*k),N=(j*M-j*te-M*ee)/(j*te+M*ee),n(N)<1e-12&&(N=0),N<0)throw Error(`Cannot create an arc with the given arguments`);f=new p(O*D/k,-k*E/O).multiply((w===u?-1:1)*r(N)).rotate(C).add(v),_=new y().translate(f).rotate(C).scale(O,k),g=_._inverseTransform(o),m=g.getDirectedAngle(_._inverseTransform(s)),!u&&m>0?m-=360:u&&m<0&&(m+=360)}if(c){var ne=new b(o.add(c).divide(2),c.subtract(o).rotate(90),!0),re=new b(c.add(s).divide(2),s.subtract(c).rotate(90),!0),ie=new b(o,s),ae=ie.getSide(c);if(f=ne.intersect(re,!0),!f){if(!ae)return this.lineTo(s);throw Error(`Cannot create an arc with the given arguments`)}g=o.subtract(f),m=g.getDirectedAngle(s.subtract(f));var oe=ie.getSide(f,!0);oe===0?m=ae*n(m):ae===oe&&(m+=m<0?360:-360)}if(m){for(var se=1e-5,ce=n(m),le=ce>=360?4:Math.ceil((ce-se)/90),ue=m/le,de=ue*Math.PI/360,fe=4/3*Math.sin(de)/(1+Math.cos(de)),pe=[],me=0;me<=le;me++){var T=s,he=null;if(me<le&&(he=g.rotate(90).multiply(fe),_?(T=_._transformPoint(g),he=_._transformPoint(g.add(he)).subtract(T)):T=f.add(g)),!me)i.setHandleOut(he);else{var ge=g.rotate(-90).multiply(fe);_&&(ge=_._transformPoint(g.add(ge)).subtract(T)),pe.push(new A(T,ge,he))}g=g.rotate(ue)}this._add(pe)}},lineBy:function(){var t=p.read(arguments),n=e(this)._point;this.lineTo(n.add(t))},curveBy:function(){var t=arguments,n=p.read(t),r=p.read(t),i=a.read(t),o=e(this)._point;this.curveTo(o.add(n),o.add(r),i)},cubicCurveBy:function(){var t=arguments,n=p.read(t),r=p.read(t),i=p.read(t),a=e(this)._point;this.cubicCurveTo(a.add(n),a.add(r),a.add(i))},quadraticCurveBy:function(){var t=arguments,n=p.read(t),r=p.read(t),i=e(this)._point;this.quadraticCurveTo(i.add(n),i.add(r))},arcBy:function(){var t=arguments,n=e(this)._point,r=n.add(p.read(t)),i=a.pick(a.peek(t),!0);typeof i==`boolean`?this.arcTo(r,i):this.arcTo(r,n.add(p.read(t)))},closePath:function(e){this.setClosed(!0),this.join(this,e)}}},{_getBounds:function(e,t){return N[t.handle?`getHandleBounds`:t.stroke?`getStrokeBounds`:`getBounds`](this._segments,this._closed,this,e,t)},statics:{getBounds:function(e,t,n,r,i,a){var o=e[0];if(!o)return new _;var s=[,,,,,,],c=o._transformCoordinates(r,[,,,,,,]),l=c.slice(0,2),u=l.slice(),d=[,,];function f(e){e._transformCoordinates(r,s);for(var t=0;t<2;t++)M._addBounds(c[t],c[t+4],s[t+2],s[t],t,a?a[t]:0,l,u,d);var n=c;c=s,s=n}for(var p=1,m=e.length;p<m;p++)f(e[p]);return t&&f(o),new _(l[0],l[1],u[0]-l[0],u[1]-l[1])},getStrokeBounds:function(e,t,n,r,i){var a=n.getStyle(),o=a.hasStroke(),s=a.getStrokeWidth(),c=o&&n._getStrokeMatrix(r,i),l=o&&N._getStrokePadding(s,c),u=N.getBounds(e,t,n,r,i,l);if(!o)return u;var d=s/2,f=a.getStrokeJoin(),p=a.getStrokeCap(),m=a.getMiterLimit(),g=new _(new h(l));function v(e){u=u.include(e)}function y(e){u=u.unite(g.setCenter(e._point.transform(r)))}function b(e,t){t===`round`||e.isSmooth()?y(e):N._addBevelJoin(e,t,d,m,r,c,v)}function x(e,t){t===`round`?y(e):N._addSquareCap(e,t,d,r,c,v)}var S=e.length-+!t;if(S>0){for(var C=1;C<S;C++)b(e[C],f);t?b(e[0],f):(x(e[0],p),x(e[e.length-1],p))}return u},_getStrokePadding:function(e,t){if(!t)return[e,e];var n=new p(e,0).transform(t),r=new p(0,e).transform(t),i=n.getAngleInRadians(),a=n.getLength(),o=r.getLength(),s=Math.sin(i),c=Math.cos(i),l=Math.tan(i),u=Math.atan2(o*l,a),d=Math.atan2(o,l*a);return[Math.abs(a*Math.cos(u)*c+o*Math.sin(u)*s),Math.abs(o*Math.sin(d)*c+a*Math.cos(d)*s)]},_addBevelJoin:function(e,t,n,r,i,a,o,s){var c=e.getCurve(),l=c.getPrevious(),u=c.getPoint1().transform(i),d=l.getNormalAtTime(1).multiply(n).transform(a),f=c.getNormalAtTime(0).multiply(n).transform(a),m=d.getDirectedAngle(f);if((m<0||m>=180)&&(d=d.negate(),f=f.negate()),s&&o(u),o(u.add(d)),t===`miter`){var h=new b(u.add(d),new p(-d.y,d.x),!0).intersect(new b(u.add(f),new p(-f.y,f.x),!0),!0);h&&u.getDistance(h)<=r*n&&o(h)}o(u.add(f))},_addSquareCap:function(e,t,n,r,i,a,o){var s=e._point.transform(r),c=e.getLocation(),l=c.getNormal().multiply(c.getTime()===0?n:-n).transform(i);t===`square`&&(o&&(a(s.subtract(l)),a(s.add(l))),s=s.add(l.rotate(-90))),a(s.add(l)),a(s.subtract(l))},getHandleBounds:function(e,t,n,r,i){var a=n.getStyle(),o=i.stroke&&a.hasStroke(),s,c;if(o){var l=n._getStrokeMatrix(r,i),u=a.getStrokeWidth()/2,d=u;a.getStrokeJoin()===`miter`&&(d=u*a.getMiterLimit()),a.getStrokeCap()===`square`&&(d=Math.max(d,u*Math.SQRT2)),s=N._getStrokePadding(u,l),c=N._getStrokePadding(d,l)}for(var f=[,,,,,,],p=1/0,m=-p,h=p,g=m,v=0,y=e.length;v<y;v++){e[v]._transformCoordinates(r,f);for(var b=0;b<6;b+=2){var x=b?s:c,S=x?x[0]:0,C=x?x[1]:0,w=f[b],T=f[b+1],E=w-S,D=w+S,O=T-C,k=T+C;E<p&&(p=E),D>m&&(m=D),O<h&&(h=O),k>g&&(g=k)}}return new _(p,h,m-p,g-h)}}});N.inject({statics:new function(){var e=.5522847498307936,t=[new A([-1,0],[0,e],[0,-e]),new A([0,-1],[-e,0],[e,0]),new A([1,0],[0,-e],[0,e]),new A([0,1],[e,0],[-e,0])];function n(e,t,n){var r=a.getNamed(n),i=new N(r&&(r.insert==1?S.INSERT:r.insert==0?S.NO_INSERT:null));return i._add(e),i._closed=t,i.set(r,S.INSERT)}function r(e,r,i){for(var a=[,,,,],o=0;o<4;o++){var s=t[o];a[o]=new A(s._point.multiply(r).add(e),s._handleIn.multiply(r),s._handleOut.multiply(r))}return n(a,!0,i)}return{Line:function(){var e=arguments;return n([new A(p.readNamed(e,`from`)),new A(p.readNamed(e,`to`))],!1,e)},Circle:function(){var e=arguments;return r(p.readNamed(e,`center`),new h(a.readNamed(e,`radius`)),e)},Rectangle:function(){var t=arguments,r=_.readNamed(t,`rectangle`),i=h.readNamed(t,`radius`,0,{readNull:!0}),a=r.getBottomLeft(!0),o=r.getTopLeft(!0),s=r.getTopRight(!0),c=r.getBottomRight(!0),l;if(!i||i.isZero())l=[new A(a),new A(o),new A(s),new A(c)];else{i=h.min(i,r.getSize(!0).divide(2));var u=i.width,d=i.height,f=u*e,p=d*e;l=[new A(a.add(u,0),null,[-f,0]),new A(a.subtract(0,d),[0,p]),new A(o.add(0,d),null,[0,-p]),new A(o.add(u,0),[-f,0],null),new A(s.subtract(u,0),null,[f,0]),new A(s.add(0,d),[0,-p],null),new A(c.subtract(0,d),null,[0,p]),new A(c.subtract(u,0),[f,0])]}return n(l,!0,t)},RoundRectangle:`#Rectangle`,Ellipse:function(){var e=arguments,t=T._readEllipse(e);return r(t.center,t.radius,e)},Oval:`#Ellipse`,Arc:function(){var e=arguments,t=p.readNamed(e,`from`),n=p.readNamed(e,`through`),r=p.readNamed(e,`to`),i=a.getNamed(e),o=new N(i&&i.insert==0&&S.NO_INSERT);return o.moveTo(t),o.arcTo(n,r),o.set(i)},RegularPolygon:function(){for(var e=arguments,t=p.readNamed(e,`center`),r=a.readNamed(e,`sides`),i=a.readNamed(e,`radius`),o=360/r,s=r%3==0,c=new p(0,s?-i:i),l=s?-1:.5,u=Array(r),d=0;d<r;d++)u[d]=new A(t.add(c.rotate((d+l)*o)));return n(u,!0,e)},Star:function(){for(var e=arguments,t=p.readNamed(e,`center`),r=a.readNamed(e,`points`)*2,i=a.readNamed(e,`radius1`),o=a.readNamed(e,`radius2`),s=360/r,c=new p(0,-1),l=Array(r),u=0;u<r;u++)l[u]=new A(t.add(c.rotate(s*u).multiply(u%2?o:i)));return n(l,!0,e)}}}});var ne=te.extend({_class:`CompoundPath`,_serializeFields:{children:[]},beans:!0,initialize:function(e){this._children=[],this._namedChildren={},this._initialize(e)||(typeof e==`string`?this.setPathData(e):this.addChildren(Array.isArray(e)?e:arguments))},insertChildren:function e(t,n){var r=n,i=r[0];i&&typeof i[0]==`number`&&(r=[r]);for(var o=n.length-1;o>=0;o--){var s=r[o];r===n&&!(s instanceof N)&&(r=a.slice(r)),Array.isArray(s)?r[o]=new N({segments:s,insert:!1}):s instanceof ne&&(r.splice.apply(r,[o,1].concat(s.removeChildren())),s.remove())}return e.base.call(this,t,r)},reduce:function e(t){for(var n=this._children,r=n.length-1;r>=0;r--){var i=n[r].reduce(t);i.isEmpty()&&i.remove()}if(!n.length){var i=new N(S.NO_INSERT);return i.copyAttributes(this),i.insertAbove(this),this.remove(),i}return e.base.call(this)},isClosed:function(){for(var e=this._children,t=0,n=e.length;t<n;t++)if(!e[t]._closed)return!1;return!0},setClosed:function(e){for(var t=this._children,n=0,r=t.length;n<r;n++)t[n].setClosed(e)},getFirstSegment:function(){var e=this.getFirstChild();return e&&e.getFirstSegment()},getLastSegment:function(){var e=this.getLastChild();return e&&e.getLastSegment()},getCurves:function(){for(var e=this._children,t=[],n=0,r=e.length;n<r;n++)a.push(t,e[n].getCurves());return t},getFirstCurve:function(){var e=this.getFirstChild();return e&&e.getFirstCurve()},getLastCurve:function(){var e=this.getLastChild();return e&&e.getLastCurve()},getArea:function(){for(var e=this._children,t=0,n=0,r=e.length;n<r;n++)t+=e[n].getArea();return t},getLength:function(){for(var e=this._children,t=0,n=0,r=e.length;n<r;n++)t+=e[n].getLength();return t},getPathData:function(e,t){for(var n=this._children,r=[],i=0,a=n.length;i<a;i++){var o=n[i],s=o._matrix;r.push(o.getPathData(e&&!s.isIdentity()?e.appended(s):e,t))}return r.join(``)},_hitTestChildren:function e(t,n,r){return e.base.call(this,t,n.class===N||n.type===`path`?n:a.set({},n,{fill:!1}),r)},_draw:function(e,t,n,r){var i=this._children;if(i.length){t=t.extend({dontStart:!0,dontFinish:!0}),e.beginPath();for(var a=0,o=i.length;a<o;a++)i[a].draw(e,t,r);if(!t.clip){this._setStyles(e,t,n);var s=this._style;s.hasFill()&&(e.fill(s.getFillRule()),e.shadowColor=`rgba(0,0,0,0)`),s.hasStroke()&&e.stroke()}}},_drawSelected:function(e,t,n){for(var r=this._children,i=0,a=r.length;i<a;i++){var o=r[i],s=o._matrix;n[o._id]||o._drawSelected(e,s.isIdentity()?t:t.appended(s))}}},new function(){function e(e,t){var n=e._children;if(t&&!n.length)throw Error(`Use a moveTo() command first`);return n[n.length-1]}return a.each([`lineTo`,`cubicCurveTo`,`quadraticCurveTo`,`curveTo`,`arcTo`,`lineBy`,`cubicCurveBy`,`quadraticCurveBy`,`curveBy`,`arcBy`],function(t){this[t]=function(){var n=e(this,!0);n[t].apply(n,arguments)}},{moveTo:function(){var t=e(this),n=t&&t.isEmpty()?t:new N(S.NO_INSERT);n!==t&&this.addChild(n),n.moveTo.apply(n,arguments)},moveBy:function(){var t=e(this,!0),n=t&&t.getLastSegment(),r=p.read(arguments);this.moveTo(n?r.add(n._point):r)},closePath:function(t){e(this,!0).closePath(t)}})},a.each([`reverse`,`flatten`,`simplify`,`smooth`],function(e){this[e]=function(t){for(var n=this._children,r,i=0,a=n.length;i<a;i++)r=n[i][e](t)||r;return r}},{}));te.inject(new function(){var e=Math.min,t=Math.max,r=Math.abs,i={unite:{1:!0,2:!0},intersect:{2:!0},subtract:{1:!0},exclude:{1:!0,"-1":!0}};function o(e){return e._children||[e]}function s(e,t){var n=e.clone(!1).reduce({simplify:!0}).transform(null,!0,!0);if(t){for(var r=o(n),i=0,a=r.length;i<a;i++){var e=r[i];!e._closed&&!e.isEmpty()&&(e.closePath(1e-12),e.getFirstSegment().setHandleIn(0,0),e.getLastSegment().setHandleOut(0,0))}n=n.resolveCrossings().reorient(n.getFillRule()===`nonzero`,!0)}return n}function c(e,t,n,r,i){var a=new ne(S.NO_INSERT);return a.addChildren(e,!0),a=a.reduce({simplify:t}),i&&i.insert==0||a.insertAbove(r&&n.isSibling(r)&&n.getIndex()<r.getIndex()?r:n),a.copyAttributes(n,!0),a}function u(e){return e.hasOverlap()||e.isCrossing()}function f(e,t,n,r){if(r&&(r.trace==0||r.stroke)&&/^(subtract|intersect)$/.test(n))return p(e,t,n);var d=s(e,!0),f=t&&e!==t&&s(t,!0),m=i[n];m[n]=!0,f&&(m.subtract||m.exclude)^(f.isClockwise()^d.isClockwise())&&f.reverse();var h=_(ee.expand(d.getIntersections(f,u))),v=o(d),x=f&&o(f),S=[],C=[],w;function T(e){for(var t=0,n=e.length;t<n;t++){var r=e[t];a.push(S,r._segments),a.push(C,r.getCurves()),r._overlapsOnly=!0}}function E(e){for(var t=[],n=0,r=e&&e.length;n<r;n++)t.push(C[e[n]]);return t}if(h.length){T(v),x&&T(x);for(var D=Array(C.length),O=0,k=C.length;O<k;O++)D[O]=C[O].getValues();for(var A=l.findCurveBoundsCollisions(D,D,0,!0),j={},O=0;O<C.length;O++){var M=C[O],te=M._path._id,N=j[te]=j[te]||{};N[M.getIndex()]={hor:E(A[O].hor),ver:E(A[O].ver)}}for(var O=0,k=h.length;O<k;O++)y(h[O]._segment,d,f,j,m);for(var O=0,k=S.length;O<k;O++){var ne=S[O],re=ne._intersection;ne._winding||y(ne,d,f,j,m),re&&re._overlap||(ne._path._overlapsOnly=!1)}w=b(S,m)}else w=g(x?v.concat(x):v.slice(),function(e){return!!m[e]});return c(w,!0,e,t,r)}function p(e,t,n){var r=s(e),i=s(t),a=r.getIntersections(i,u),o=n===`subtract`,l=n===`divide`,d={},f=[];function p(e){if(!d[e._id]&&(l||i.contains(e.getPointAt(e.getLength()/2))^o))return f.unshift(e),d[e._id]=!0}for(var m=a.length-1;m>=0;m--){var h=a[m].split();h&&(p(h)&&h.getFirstSegment().setHandleIn(0,0),r.getLastSegment().setHandleOut(0,0))}return p(r),c(f,!1,e,t)}function m(e,t){for(var n=e;n;){if(n===t)return;n=n._previous}for(;e._next&&e._next!==t;)e=e._next;if(!e._next){for(;t._previous;)t=t._previous;e._next=t,t._previous=e}}function h(e){for(var t=e.length-1;t>=0;t--)e[t].clearHandles()}function g(e,t,n){var i=e&&e.length;if(i){var o=a.each(e,function(e,t){this[e._id]={container:null,winding:e.isClockwise()?1:-1,index:t}},{}),s=e.slice().sort(function(e,t){return r(t.getArea())-r(e.getArea())}),c=s[0],u=l.findItemBoundsCollisions(s,null,d.GEOMETRIC_EPSILON);n??=c.isClockwise();for(var f=0;f<i;f++){var p=s[f],m=o[p._id],h=0,g=u[f];if(g){for(var _=null,v=g.length-1;v>=0;v--)if(g[v]<f){_||=p.getInteriorPoint();var y=s[g[v]];if(y.contains(_)){var b=o[y._id];h=b.winding,m.winding+=h,m.container=b.exclude?b.container:y;break}}}if(t(m.winding)===t(h))m.exclude=!0,e[m.index]=null;else{var x=m.container;p.setClockwise(x?!x.isClockwise():n)}}}return e}function _(e,t,n){var r=t&&[],i=1e-8,a=1-i,o=!1,s=n||[],c=n&&{},l,u,d;function f(e){return e._path._id+`.`+e._segment1._index}for(var p=(n&&n.length)-1;p>=0;p--){var g=n[p];g._path&&(c[f(g)]=!0)}for(var p=e.length-1;p>=0;p--){var _=e[p],v=_._time,y=v,b=t&&!t(_),g=_._curve,x;if(g&&(g===u?d>=i&&(v/=d):(o=!g.hasHandles()||c&&c[f(g)],l=[],d=null,u=g)),b)l&&l.push(_);else{if(t&&r.unshift(_),d=y,v<i)x=g._segment1;else if(v>a)x=g._segment2;else{var S=g.divideAtTime(v,!0);o&&s.push(g,S),x=S._segment1;for(var C=l.length-1;C>=0;C--){var w=l[C];w._time=(w._time-v)/(1-v)}}_._setSegment(x);var T=x._intersection,E=_._intersection;if(T){m(T,E);for(var D=T;D;)m(D._intersection,T),D=D._next}else x._intersection=E}}return n||h(s),r||e}function v(n,i,a,o,s){var c=Array.isArray(i)?i:i[a?`hor`:`ver`],l=+!!a,u=l^1,d=[n.x,n.y],f=d[l],p=d[u],m=1e-9,h=1e-6,g=f-m,_=f+m,y=0,b=0,x=0,S=0,C=!1,w=!1,T=1,E=[],D,O;function k(r){var c=r[u+0],d=r[u+6];if(!(p<e(c,d)||p>t(c,d))){var m=r[l+0],y=r[l+2],b=r[l+4],w=r[l+6];if(c===d)(m<_&&w>g||w<_&&m>g)&&(C=!0);else{var O=p===c?0:p===d||g>t(m,y,b,w)||_<e(m,y,b,w)?1:M.solveCubic(r,u,p,E,0,1)>0?E[0]:1,k=O===0?m:O===1?w:M.getPoint(r,O)[a?`y`:`x`],A=c>d?1:-1,j=D[u]>D[u+6]?1:-1,ee=D[l+6];return p===c?(A===j?m!=ee&&(ee<_&&k>_?(S+=A,C=!0):ee>g&&k<g&&(x+=A,C=!0)):m<g?x+=A:m>_&&(S+=A),T/=4):(k<g?x+=A:k>_?S+=A:C=!0,k>f-h&&k<f+h&&(T/=2)),D=r,!s&&k>g&&k<_&&M.getTangent(r,O)[a?`x`:`y`]===0&&v(n,i,!a,o,!0)}}}function A(n){var r=n[u+0],i=n[u+2],o=n[u+4],s=n[u+6];if(p<=t(r,i,o,s)&&p>=e(r,i,o,s)){for(var c=n[l+0],d=n[l+2],f=n[l+4],m=n[l+6],h=g>t(c,d,f,m)||_<e(c,d,f,m)?[n]:M.getMonoCurves(n,a),v,y=0,b=h.length;y<b;y++)if(v=k(h[y]))return v}}for(var j=0,ee=c.length;j<ee;j++){var te=c[j],N=te._path,ne=te.getValues(),re;if((!j||c[j-1]._path!==N)&&(D=null,N._closed||(O=M.getValues(N.getLastCurve().getSegment2(),te.getSegment1(),null,!o),O[u]!==O[u+6]&&(D=O)),!D)){D=ne;for(var ie=N.getLastCurve();ie&&ie!==te;){var ae=ie.getValues();if(ae[u]!==ae[u+6]){D=ae;break}ie=ie.getPrevious()}}if(re=A(ne))return re;if(j+1===ee||c[j+1]._path!==N){if(O&&(re=A(O)))return re;C&&!x&&!S&&(x=S=N.isClockwise(o)^a?1:-1),y+=x,b+=S,x=S=0,C&&=(w=!0,!1),O=null}}return y=r(y),b=r(b),{winding:t(y,b),windingL:y,windingR:b,quality:T,onPath:w}}function y(e,t,n,i,a){var o=[],s=e,c=0,l;do{var u=e.getCurve();if(u){var f=u.getLength();o.push({segment:e,curve:u,length:f}),c+=f}e=e.getNext()}while(e&&!e._intersection&&e!==s);for(var p=[.5,.25,.75],l={winding:0,quality:-1},m=.001,h=1-m,g=0;g<p.length&&l.quality<.5;g++)for(var f=c*p[g],_=0,y=o.length;_<y;_++){var b=o[_],x=b.length;if(f<=x){var u=b.curve,S=u._path,C=S._parent,w=C instanceof ne?C:S,T=d.clamp(u.getTimeAt(f),m,h),E=u.getPointAtTime(T),D=r(u.getTangentAtTime(T).y)<Math.SQRT1_2,O=null;if(a.subtract&&n){var k=(w===t?n:t)._getWinding(E,D,!0);if(w===t&&k.winding||w===n&&!k.winding){if(k.quality<1)continue;O={winding:0,quality:1}}}O||=v(E,i[S._id][u.getIndex()],D,!0),O.quality>l.quality&&(l=O);break}f-=x}for(var _=o.length-1;_>=0;_--)o[_].segment._winding=l}function b(e,t){var n=[],r;function i(e){var n;return!(!e||e._visited||t&&(!t[(n=e._winding||{}).winding]||t.unite&&n.winding===2&&n.windingL&&n.windingR))}function a(e){if(e){for(var t=0,n=r.length;t<n;t++)if(e===r[t])return!0}return!1}function o(e){for(var t=e._segments,n=0,r=t.length;n<r;n++)t[n]._visited=!0}function s(e,t){var n=e._intersection,o=n,s=[];t&&(r=[e]);function c(n,o){for(;n&&n!==o;){var c=n._segment,l=c&&c._path;if(l){var u=c.getNext()||l.getFirstSegment(),d=u._intersection;c!==e&&(a(c)||a(u)||u&&i(c)&&(i(u)||d&&i(d._segment)))&&s.push(c),t&&r.push(c)}n=n._next}}if(n){for(c(n);n&&n._previous;)n=n._previous;c(n,o)}return s}e.sort(function(e,t){var n=e._intersection,r=t._intersection,i=!!(n&&n._overlap),a=!!(r&&r._overlap),o=e._path,s=t._path;return i^a?i?1:-1:!n^!r?n?1:-1:o===s?e._index-t._index:o._id-s._id});for(var c=0,l=e.length;c<l;c++){var u=e[c],d=i(u),f=null,p=!1,m=!0,h=[],g,_,v;if(d&&u._path._overlapsOnly){var y=u._path,b=u._intersection._segment._path;y.compare(b)&&(y.getArea()&&n.push(y.clone(!1)),o(y),o(b),d=!1)}for(;d;){var x=!f,C=s(u,x),w=C.shift(),p=!x&&(a(u)||a(w)),T=!p&&w;if(x&&(f=new N(S.NO_INSERT),g=null),p){(u.isFirst()||u.isLast())&&(m=u._path._closed),u._visited=!0;break}if(T&&g&&(h.push(g),g=null),g||=(T&&C.push(u),{start:f._segments.length,crossings:C,visited:_=[],handleIn:v}),T&&(u=w),!i(u)){f.removeSegments(g.start);for(var E=0,D=_.length;E<D;E++)_[E]._visited=!1;_.length=0;do u=g&&g.crossings.shift(),u&&u._path||(u=null,g=h.pop(),g&&(_=g.visited,v=g.handleIn));while(g&&!i(u));if(!u)break}var O=u.getNext();f.add(new A(u._point,v,O&&u._handleOut)),u._visited=!0,_.push(u),u=O||u._path.getFirstSegment(),v=O&&O._handleIn}p&&(m&&(f.getFirstSegment().setHandleIn(v),f.setClosed(m)),f.getArea()!==0&&n.push(f))}return n}return{_getWinding:function(e,t,n){return v(e,this.getCurves(),t,n)},unite:function(e,t){return f(this,e,`unite`,t)},intersect:function(e,t){return f(this,e,`intersect`,t)},subtract:function(e,t){return f(this,e,`subtract`,t)},exclude:function(e,t){return f(this,e,`exclude`,t)},divide:function(e,t){return t&&(t.trace==0||t.stroke)?p(this,e,`divide`):c([this.subtract(e,t),this.intersect(e,t)],!0,this,e,t)},resolveCrossings:function(){var e=this._children,t=e||[this];function n(e,t){var n=e&&e._intersection;return n&&n._overlap&&n._path===t}var r=!1,i=!1,o=this.getIntersections(null,function(e){return e.hasOverlap()&&(r=!0)||e.isCrossing()&&(i=!0)}),s=r&&i&&[];if(o=ee.expand(o),r)for(var c=_(o,function(e){return e.hasOverlap()},s),l=c.length-1;l>=0;l--){var u=c[l],d=u._path,f=u._segment,p=f.getPrevious(),m=f.getNext();n(p,d)&&n(m,d)&&(f.remove(),p._handleOut._set(0,0),m._handleIn._set(0,0),p!==f&&!p.getCurve().hasLength()&&(m._handleIn.set(p._handleIn),p.remove()))}i&&(_(o,r&&function(e){var t=e.getCurve(),n=e.getSegment(),r=e._intersection,i=r._curve,a=r._segment;if(t&&i&&t._path&&i._path)return!0;n&&(n._intersection=null),a&&(a._intersection=null)},s),s&&h(s),t=b(a.each(t,function(e){a.push(this,e._segments)},[])));var g=t.length,v;return g>1&&e?(t!==e&&this.setChildren(t),v=this):g===1&&!e&&(t[0]!==this&&this.setSegments(t[0].removeSegments()),v=this),v||(v=new ne(S.NO_INSERT),v.addChildren(t),v=v.reduce(),v.copyAttributes(this),this.replaceWith(v)),v},reorient:function(e,t){var r=this._children;return r&&r.length?this.setChildren(g(this.removeChildren(),function(t){return!!(e?t:t&1)},t)):t!==n&&this.setClockwise(t),this},getInteriorPoint:function(){var n=this.getBounds().getCenter(!0);if(!this.contains(n)){for(var r=this.getCurves(),i=n.y,a=[],o=[],s=0,c=r.length;s<c;s++){var l=r[s].getValues(),u=l[1],d=l[3],f=l[5],p=l[7];if(i>=e(u,d,f,p)&&i<=t(u,d,f,p))for(var m=M.getMonoCurves(l),h=0,g=m.length;h<g;h++){var _=m[h],v=_[1],y=_[7];if(v!==y&&(i>=v&&i<=y||i>=y&&i<=v)){var b=i===v?_[0]:i===y?_[6]:M.solveCubic(_,1,i,o,0,1)===1?M.getPoint(_,o[0]).x:(_[0]+_[6])/2;a.push(b)}}}a.length>1&&(a.sort(function(e,t){return e-t}),n.x=(a[0]+a[1])/2)}return n}}});var re=a.extend({_class:`PathFlattener`,initialize:function(e,t,n,r,i){var a=[],o=[],s=0,c=1/(n||32),l=e._segments,u=l[0],d;function f(e,t){var n=M.getValues(e,t,i);a.push(n),p(n,e._index,0,1)}function p(e,n,i,a){if(a-i>c&&!(r&&M.isStraight(e))&&!M.isFlatEnough(e,t||.25)){var l=M.subdivide(e,.5),u=(i+a)/2;p(l[0],n,i,u),p(l[1],n,u,a)}else{var d=e[6]-e[0],f=e[7]-e[1],m=Math.sqrt(d*d+f*f);m>0&&(s+=m,o.push({offset:s,curve:e,index:n,time:a}))}}for(var m=1,h=l.length;m<h;m++)d=l[m],f(u,d),u=d;e._closed&&f(d||u,l[0]),this.curves=a,this.parts=o,this.length=s,this.index=0},_get:function(e){for(var t=this.parts,n=t.length,r,i=this.index;r=i,!(!i||t[--i].offset<e););for(;r<n;r++){var a=t[r];if(a.offset>=e){this.index=r;var o=t[r-1],s=o&&o.index===a.index?o.time:0,c=o?o.offset:0;return{index:a.index,time:s+(a.time-s)*(e-c)/(a.offset-c)}}}return{index:t[n-1].index,time:1}},drawPart:function(e,t,n){for(var r=this._get(t),i=this._get(n),a=r.index,o=i.index;a<=o;a++){var s=M.getPart(this.curves[a],a===r.index?r.time:0,a===i.index?i.time:1);a===r.index&&e.moveTo(s[0],s[1]),e.bezierCurveTo.apply(e,s.slice(2))}}},a.each(M._evaluateMethods,function(e){this[e+`At`]=function(t){var n=this._get(t);return M[e](this.curves[n.index],n.time)}},{})),ie=a.extend({initialize:function(e){for(var t=this.points=[],n=e._segments,r=e._closed,i=0,a,o=n.length;i<o;i++){var s=n[i].point;a&&a.equals(s)||t.push(a=s.clone())}r&&(t.unshift(t[t.length-1]),t.push(t[1])),this.closed=r},fit:function(e){var t=this.points,n=t.length,r=null;return n>0&&(r=[new A(t[0])],n>1&&(this.fitCubic(r,e,0,n-1,t[1].subtract(t[0]),t[n-2].subtract(t[n-1])),this.closed&&(r.shift(),r.pop()))),r},fitCubic:function(e,t,n,r,i,a){var o=this.points;if(r-n===1){var s=o[n],c=o[r],l=s.getDistance(c)/3;this.addCurve(e,[s,s.add(i.normalize(l)),c.add(a.normalize(l)),c])}else{for(var u=this.chordLengthParameterize(n,r),d=Math.max(t,t*t),f,p=!0,m=0;m<=4;m++){var h=this.generateBezier(n,r,u,i,a),g=this.findMaxError(n,r,h,u);if(g.error<t&&p){this.addCurve(e,h);return}if(f=g.index,g.error>=d)break;p=this.reparameterize(n,r,u,h),d=g.error}var _=o[f-1].subtract(o[f+1]);this.fitCubic(e,t,n,f,i,_),this.fitCubic(e,t,f,r,_.negate(),a)}},addCurve:function(e,t){e[e.length-1].setHandleOut(t[1].subtract(t[0])),e.push(new A(t[3],t[2].subtract(t[3])))},generateBezier:function(e,t,n,r,i){for(var a=1e-12,o=Math.abs,s=this.points,c=s[e],l=s[t],u=[[0,0],[0,0]],d=[0,0],f=0,p=t-e+1;f<p;f++){var m=n[f],h=1-m,g=3*m*h,_=h*h*h,v=g*h,y=g*m,b=m*m*m,x=r.normalize(v),S=i.normalize(y),C=s[e+f].subtract(c.multiply(_+v)).subtract(l.multiply(y+b));u[0][0]+=x.dot(x),u[0][1]+=x.dot(S),u[1][0]=u[0][1],u[1][1]+=S.dot(S),d[0]+=x.dot(C),d[1]+=S.dot(C)}var w=u[0][0]*u[1][1]-u[1][0]*u[0][1],T,E;if(o(w)>a){var D=u[0][0]*d[1]-u[1][0]*d[0];T=(d[0]*u[1][1]-d[1]*u[0][1])/w,E=D/w}else{var O=u[0][0]+u[0][1],k=u[1][0]+u[1][1];T=E=o(O)>a?d[0]/O:o(k)>a?d[1]/k:0}var A=l.getDistance(c),j=a*A,M,ee;if(T<j||E<j)T=E=A/3;else{var te=l.subtract(c);M=r.normalize(T),ee=i.normalize(E),M.dot(te)-ee.dot(te)>A*A&&(T=E=A/3,M=ee=null)}return[c,c.add(M||r.normalize(T)),l.add(ee||i.normalize(E)),l]},reparameterize:function(e,t,n,r){for(var i=e;i<=t;i++)n[i-e]=this.findRoot(r,this.points[i],n[i-e]);for(var i=1,a=n.length;i<a;i++)if(n[i]<=n[i-1])return!1;return!0},findRoot:function(e,t,n){for(var r=[],i=[],a=0;a<=2;a++)r[a]=e[a+1].subtract(e[a]).multiply(3);for(var a=0;a<=1;a++)i[a]=r[a+1].subtract(r[a]).multiply(2);var o=this.evaluate(3,e,n),s=this.evaluate(2,r,n),c=this.evaluate(1,i,n),l=o.subtract(t),u=s.dot(s)+l.dot(c);return d.isMachineZero(u)?n:n-l.dot(s)/u},evaluate:function(e,t,n){for(var r=t.slice(),i=1;i<=e;i++)for(var a=0;a<=e-i;a++)r[a]=r[a].multiply(1-n).add(r[a+1].multiply(n));return r[0]},chordLengthParameterize:function(e,t){for(var n=[0],r=e+1;r<=t;r++)n[r-e]=n[r-e-1]+this.points[r].getDistance(this.points[r-1]);for(var r=1,i=t-e;r<=i;r++)n[r]/=n[i];return n},findMaxError:function(e,t,n,r){for(var i=Math.floor((t-e+1)/2),a=0,o=e+1;o<t;o++){var s=this.evaluate(3,n,r[o-e]).subtract(this.points[o]),c=s.x*s.x+s.y*s.y;c>=a&&(a=c,i=o)}return{error:a,index:i}}}),ae=S.extend({_class:`TextItem`,_applyMatrix:!1,_canApplyMatrix:!1,_serializeFields:{content:null},_boundsOptions:{stroke:!1,handle:!1},initialize:function(e){this._content=``,this._lines=[];var t=e&&a.isPlainObject(e)&&e.x===n&&e.y===n;this._initialize(t&&e,!t&&p.read(arguments))},_equals:function(e){return this._content===e._content},copyContent:function(e){this.setContent(e._content)},getContent:function(){return this._content},setContent:function(e){this._content=``+e,this._lines=this._content.split(/\r\n|\n|\r/gm),this._changed(521)},isEmpty:function(){return!this._content},getCharacterStyle:`#getStyle`,setCharacterStyle:`#setStyle`,getParagraphStyle:`#getStyle`,setParagraphStyle:`#setStyle`}),oe=ae.extend({_class:`PointText`,initialize:function(){ae.apply(this,arguments)},getPoint:function(){var e=this._matrix.getTranslation();return new m(e.x,e.y,this,`setPoint`)},setPoint:function(){var e=p.read(arguments);this.translate(e.subtract(this._matrix.getTranslation()))},_draw:function(e,t,n){if(this._content){this._setStyles(e,t,n);var r=this._lines,i=this._style,a=i.hasFill(),o=i.hasStroke(),s=i.getLeading(),c=e.shadowColor;e.font=i.getFontStyle(),e.textAlign=i.getJustification();for(var l=0,u=r.length;l<u;l++){e.shadowColor=c;var d=r[l];a&&(e.fillText(d,0,0),e.shadowColor=`rgba(0,0,0,0)`),o&&e.strokeText(d,0,0),e.translate(0,s)}}},_getBounds:function(e,t){var n=this._style,r=this._lines,i=r.length,a=n.getJustification(),o=n.getLeading(),s=this.getView().getTextWidth(n.getFontStyle(),r),c=0;a!==`left`&&(c-=s/(a===`center`?2:1));var l=new _(c,i?-.75*o:0,s,i*o);return e?e._transformBounds(l,l):l}}),se=a.extend(new function(){var e={gray:[`gray`],rgb:[`red`,`green`,`blue`],hsb:[`hue`,`saturation`,`brightness`],hsl:[`hue`,`saturation`,`lightness`],gradient:[`gradient`,`origin`,`destination`,`highlight`]},t={},n={transparent:[0,0,0,0]},i;function o(e){var t=e.match(/^#([\da-f]{2})([\da-f]{2})([\da-f]{2})([\da-f]{2})?$/i)||e.match(/^#([\da-f])([\da-f])([\da-f])([\da-f])?$/i),a=`rgb`,o;if(t){var s=t[4]?4:3;o=Array(s);for(var c=0;c<s;c++){var l=t[c+1];o[c]=parseInt(l.length==1?l+l:l,16)/255}}else if(t=e.match(/^(rgb|hsl)a?\((.*)\)$/)){a=t[1],o=t[2].trim().split(/[,\s]+/g);for(var u=a===`hsl`,c=0,d=Math.min(o.length,4);c<d;c++){var f=o[c],l=parseFloat(f);if(u){if(c===0){var p=f.match(/([a-z]*)$/)[1];l*={turn:360,rad:180/Math.PI,grad:.9}[p]||1}else c<3&&(l/=100)}else c<3&&(l/=/%$/.test(f)?100:255);o[c]=l}}else{var m=n[e];if(!m){if(r){i||(i=xe.getContext(1,1,{willReadFrequently:!0}),i.globalCompositeOperation=`copy`),i.fillStyle=`rgba(0,0,0,0)`,i.fillStyle=e,i.fillRect(0,0,1,1);var h=i.getImageData(0,0,1,1).data;m=n[e]=[h[0]/255,h[1]/255,h[2]/255]}else m=[0,0,0]}o=m.slice()}return[a,o]}var s=[[0,3,1],[2,0,1],[1,0,3],[1,2,0],[3,1,0],[0,1,2]],c={"rgb-hsb":function(e,t,n){var r=Math.max(e,t,n),i=r-Math.min(e,t,n);return[i===0?0:(r==e?(t-n)/i+(t<n?6:0):r==t?(n-e)/i+2:(e-t)/i+4)*60,r===0?0:i/r,r]},"hsb-rgb":function(e,t,n){e=(e/60%6+6)%6;var r=Math.floor(e),i=e-r,r=s[r],a=[n,n*(1-t),n*(1-t*i),n*(1-t*(1-i))];return[a[r[0]],a[r[1]],a[r[2]]]},"rgb-hsl":function(e,t,n){var r=Math.max(e,t,n),i=Math.min(e,t,n),a=r-i,o=a===0,s=o?0:(r==e?(t-n)/a+(t<n?6:0):r==t?(n-e)/a+2:(e-t)/a+4)*60,c=(r+i)/2;return[s,o?0:c<.5?a/(r+i):a/(2-r-i),c]},"hsl-rgb":function(e,t,n){if(e=(e/360%1+1)%1,t===0)return[n,n,n];for(var r=[e+1/3,e,e-1/3],i=n<.5?n*(1+t):n+t-n*t,a=2*n-i,o=[],s=0;s<3;s++){var c=r[s];c<0&&(c+=1),c>1&&--c,o[s]=6*c<1?a+(i-a)*6*c:2*c<1?i:3*c<2?a+(i-a)*(2/3-c)*6:a}return o},"rgb-gray":function(e,t,n){return[e*.2989+t*.587+n*.114]},"gray-rgb":function(e){return[e,e,e]},"gray-hsb":function(e){return[0,0,e]},"gray-hsl":function(e){return[0,0,e]},"gradient-rgb":function(){return[]},"rgb-gradient":function(){return[]}};return a.each(e,function(n,r){t[r]=[],a.each(n,function(n,i){var o=a.capitalize(n),s=/^(hue|saturation)$/.test(n),c=t[r][i]=r===`gradient`?n===`gradient`?function(e){var t=this._components[0];return e=ce.read(Array.isArray(e)?e:arguments,0,{readNull:!0}),t!==e&&(t&&t._removeOwner(this),e&&e._addOwner(this)),e}:function(){return p.read(arguments,0,{readNull:n===`highlight`,clone:!0})}:function(e){return e==null||isNaN(e)?0:+e};this[`get`+o]=function(){return this._type===r||s&&/^hs[bl]$/.test(this._type)?this._components[i]:this._convert(r)[i]},this[`set`+o]=function(t){this._type!==r&&!(s&&/^hs[bl]$/.test(this._type))&&(this._components=this._convert(r),this._properties=e[r],this._type=r),this._components[i]=c.call(this,t),this._changed()}},this)},{_class:`Color`,_readIndex:!0,initialize:function n(r){var i=arguments,s=this.__read,c=0,l,u,d,f;Array.isArray(r)&&(i=r,r=i[0]);var p=r!=null&&typeof r;if(p===`string`&&r in e&&(l=r,r=i[1],Array.isArray(r)?(u=r,d=i[2]):(s&&(c=1),i=a.slice(i,1),p=typeof r)),!u){if(f=p===`number`?i:p===`object`&&r.length!=null?r:null,f){l||=f.length>=3?`rgb`:`gray`;var m=e[l].length;d=f[m],s&&(c+=f===arguments?m+(d==null?0:1):1),f.length>m&&(f=a.slice(f,0,m))}else if(p===`string`){var h=o(r);l=h[0],u=h[1],u.length===4&&(d=u[3],u.length--)}else if(p===`object`){if(r.constructor===n){if(l=r._type,u=r._components.slice(),d=r._alpha,l===`gradient`)for(var g=1,_=u.length;g<_;g++){var v=u[g];v&&(u[g]=v.clone())}}else if(r.constructor===ce)l=`gradient`,f=i;else{l=`hue`in r?`lightness`in r?`hsl`:`hsb`:`gradient`in r||`stops`in r||`radial`in r?`gradient`:`gray`in r?`gray`:`rgb`;var y=e[l],b=t[l];this._components=u=[];for(var g=0,_=y.length;g<_;g++){var x=r[y[g]];x==null&&!g&&l===`gradient`&&`stops`in r&&(x={stops:r.stops,radial:r.radial}),x=b[g].call(this,x),x!=null&&(u[g]=x)}d=r.alpha}}s&&l&&(c=1)}if(this._type=l||`rgb`,!u){this._components=u=[];for(var b=t[this._type],g=0,_=b.length;g<_;g++){var x=b[g].call(this,f&&f[g]);x!=null&&(u[g]=x)}}return this._components=u,this._properties=e[this._type],this._alpha=d,s&&(this.__read=c),this},set:`#initialize`,_serialize:function(e,t){var n=this.getComponents();return a.serialize(/^(gray|rgb)$/.test(this._type)?n:[this._type].concat(n),e,!0,t)},_changed:function(){this._canvasStyle=null,this._owner&&(this._setter?this._owner[this._setter](this):this._owner._changed(129))},_convert:function(e){var t;return this._type===e?this._components.slice():(t=c[this._type+`-`+e])?t.apply(this,this._components):c[`rgb-`+e].apply(this,c[this._type+`-rgb`].apply(this,this._components))},convert:function(e){return new se(e,this._convert(e),this._alpha)},getType:function(){return this._type},setType:function(t){this._components=this._convert(t),this._properties=e[t],this._type=t},getComponents:function(){var e=this._components.slice();return this._alpha!=null&&e.push(this._alpha),e},getAlpha:function(){return this._alpha==null?1:this._alpha},setAlpha:function(e){this._alpha=e==null?null:Math.min(Math.max(e,0),1),this._changed()},hasAlpha:function(){return this._alpha!=null},equals:function(e){var t=a.isPlainValue(e,!0)?se.read(arguments):e;return t===this||t&&this._class===t._class&&this._type===t._type&&this.getAlpha()===t.getAlpha()&&a.equals(this._components,t._components)||!1},toString:function(){for(var e=this._properties,t=[],n=this._type===`gradient`,r=u.instance,i=0,a=e.length;i<a;i++){var o=this._components[i];o!=null&&t.push(e[i]+`: `+(n?o:r.number(o)))}return this._alpha!=null&&t.push(`alpha: `+r.number(this._alpha)),`{ `+t.join(`, `)+` }`},toCSS:function(e){var t=this._convert(`rgb`),n=e||this._alpha==null?1:this._alpha;function r(e){return Math.round((e<0?0:e>1?1:e)*255)}return t=[r(t[0]),r(t[1]),r(t[2])],n<1&&t.push(n<0?0:n),e?`#`+((1<<24)+(t[0]<<16)+(t[1]<<8)+t[2]).toString(16).slice(1):(t.length==4?`rgba(`:`rgb(`)+t.join(`,`)+`)`},toCanvasStyle:function(e,t){if(this._canvasStyle)return this._canvasStyle;if(this._type!==`gradient`)return this._canvasStyle=this.toCSS();var n=this._components,r=n[0],i=r._stops,a=n[1],o=n[2],s=n[3],c=t&&t.inverted(),l;if(c&&(a=c._transformPoint(a),o=c._transformPoint(o),s&&=c._transformPoint(s)),r._radial){var u=o.getDistance(a);if(s){var d=s.subtract(a);d.getLength()>u&&(s=a.add(d.normalize(u-.1)))}var f=s||a;l=e.createRadialGradient(f.x,f.y,0,a.x,a.y,u)}else l=e.createLinearGradient(a.x,a.y,o.x,o.y);for(var p=0,m=i.length;p<m;p++){var h=i[p],g=h._offset;l.addColorStop(g??p/(m-1),h._color.toCanvasStyle())}return this._canvasStyle=l},transform:function(e){if(this._type===`gradient`){for(var t=this._components,n=1,r=t.length;n<r;n++){var i=t[n];e._transformPoint(i,i,!0)}this._changed()}},statics:{_types:e,random:function(){var e=Math.random;return new se(e(),e(),e())},_setOwner:function(e,t,n){return e&&(e._owner&&t&&e._owner!==t&&(e=e.clone()),!e._owner^!t&&(e._owner=t||null,e._setter=n||null)),e}}})},new function(){return a.each({add:function(e,t){return e+t},subtract:function(e,t){return e-t},multiply:function(e,t){return e*t},divide:function(e,t){return e/t}},function(e,t){this[t]=function(t){t=se.read(arguments);for(var n=this._type,r=this._components,i=t._convert(n),a=0,o=r.length;a<o;a++)i[a]=e(r[a],i[a]);return new se(n,i,this._alpha==null?null:e(this._alpha,t.getAlpha()))}},{})}),ce=a.extend({_class:`Gradient`,initialize:function(e,t){this._id=f.get(),e&&a.isPlainObject(e)&&(this.set(e),e=t=null),this._stops??this.setStops(e||[`white`,`black`]),this._radial??this.setRadial(typeof t==`string`&&t===`radial`||t||!1)},_serialize:function(e,t){return t.add(this,function(){return a.serialize([this._stops,this._radial],e,!0,t)})},_changed:function(){for(var e=0,t=this._owners&&this._owners.length;e<t;e++)this._owners[e]._changed()},_addOwner:function(e){this._owners||=[],this._owners.push(e)},_removeOwner:function(e){var t=this._owners?this._owners.indexOf(e):-1;t!=-1&&(this._owners.splice(t,1),this._owners.length||(this._owners=n))},clone:function(){for(var e=[],t=0,n=this._stops.length;t<n;t++)e[t]=this._stops[t].clone();return new ce(e,this._radial)},getStops:function(){return this._stops},setStops:function(e){if(e.length<2)throw Error(`Gradient stop list needs to contain at least two stops.`);var t=this._stops;if(t)for(var r=0,i=t.length;r<i;r++)t[r]._owner=n;t=this._stops=le.readList(e,0,{clone:!0});for(var r=0,i=t.length;r<i;r++)t[r]._owner=this;this._changed()},getRadial:function(){return this._radial},setRadial:function(e){this._radial=e,this._changed()},equals:function(e){if(e===this)return!0;if(e&&this._class===e._class){var t=this._stops,n=e._stops,r=t.length;if(r===n.length){for(var i=0;i<r;i++)if(!t[i].equals(n[i]))return!1;return!0}}return!1}}),le=a.extend({_class:`GradientStop`,initialize:function(e,t){var r=e,i=t;typeof e==`object`&&t===n&&(Array.isArray(e)&&typeof e[0]!=`number`?(r=e[0],i=e[1]):(`color`in e||`offset`in e||`rampPoint`in e)&&(r=e.color,i=e.offset||e.rampPoint||0)),this.setColor(r),this.setOffset(i)},clone:function(){return new le(this._color.clone(),this._offset)},_serialize:function(e,t){var n=this._color,r=this._offset;return a.serialize(r==null?[n]:[n,r],e,!0,t)},_changed:function(){this._owner&&this._owner._changed(129)},getOffset:function(){return this._offset},setOffset:function(e){this._offset=e,this._changed()},getRampPoint:`#getOffset`,setRampPoint:`#setOffset`,getColor:function(){return this._color},setColor:function(){se._setOwner(this._color,null),this._color=se._setOwner(se.read(arguments,0),this,`setColor`),this._changed()},equals:function(e){return e===this||e&&this._class===e._class&&this._color.equals(e._color)&&this._offset==e._offset||!1}}),ue=a.extend(new function(){var e={fillColor:null,fillRule:`nonzero`,strokeColor:null,strokeWidth:1,strokeCap:`butt`,strokeJoin:`miter`,strokeScaling:!0,miterLimit:10,dashOffset:0,dashArray:[],shadowColor:null,shadowBlur:0,shadowOffset:new p,selectedColor:null},t=a.set({},e,{fontFamily:`sans-serif`,fontWeight:`normal`,fontSize:12,leading:null,justification:`left`}),r=a.set({},t,{fillColor:new se}),i={strokeWidth:193,strokeCap:193,strokeJoin:193,strokeScaling:201,miterLimit:193,fontFamily:9,fontWeight:9,fontSize:9,font:9,leading:9,justification:9},o={beans:!0},s={_class:`Style`,beans:!0,initialize:function(n,i,a){this._values={},this._owner=i,this._project=i&&i._project||a||I.project,this._defaults=!i||i instanceof C?t:i instanceof ae?r:e,n&&this.set(n)}};return a.each(t,function(e,t){var r=/Color$/.test(t),c=t===`shadowOffset`,l=a.capitalize(t),u=i[t],d=`set`+l,f=`get`+l;s[d]=function(e){var n=this._owner,i=n&&n._children,a=i&&i.length>0&&!(n instanceof ne);if(a)for(var o=0,s=i.length;o<s;o++)i[o]._style[d](e);if((t===`selectedColor`||!a)&&t in this._defaults){var c=this._values[t];c!==e&&(r&&(c&&(se._setOwner(c,null),c._canvasStyle=null),e&&e.constructor===se&&(e=se._setOwner(e,n,a&&d))),this._values[t]=e,n&&n._changed(u||129))}},s[f]=function(e){var i=this._owner,o=i&&i._children,s=o&&o.length>0&&!(i instanceof ne),l;if(s&&!e)for(var u=0,m=o.length;u<m;u++){var h=o[u]._style[f]();if(!u)l=h;else if(!a.equals(l,h))return n}else if(t in this._defaults){var l=this._values[t];if(l===n)l=this._defaults[t],l&&l.clone&&(l=l.clone());else{var g=r?se:c?p:null;g&&!(l&&l.constructor===g)&&(this._values[t]=l=g.read([l],0,{readNull:!0,clone:!0}))}}return l&&r&&(l=se._setOwner(l,i,s&&d)),l},o[f]=function(e){return this._style[f](e)},o[d]=function(e){this._style[d](e)}}),a.each({Font:`FontFamily`,WindingRule:`FillRule`},function(e,t){var n=`get`+t,r=`set`+t;s[n]=o[n]=`#get`+e,s[r]=o[r]=`#set`+e}),S.inject(o),s},{set:function(e){var t=e instanceof ue,n=t?e._values:e;if(n){for(var r in n)if(r in this._defaults){var i=n[r];this[r]=i&&t&&i.clone?i.clone():i}}},equals:function(e){function t(e,t,r){var i=e._values,o=t._values,s=t._defaults;for(var c in i){var l=i[c],u=o[c];if(!(r&&c in o)&&!a.equals(l,u===n?s[c]:u))return!1}return!0}return e===this||e&&this._class===e._class&&t(this,e)&&t(e,this,!0)||!1},_dispose:function(){var e=this.getFillColor();e&&(e._canvasStyle=null),e=this.getStrokeColor(),e&&(e._canvasStyle=null),e=this.getShadowColor(),e&&(e._canvasStyle=null)},hasFill:function(){var e=this.getFillColor();return!!e&&e.alpha>0},hasStroke:function(){var e=this.getStrokeColor();return!!e&&e.alpha>0&&this.getStrokeWidth()>0},hasShadow:function(){var e=this.getShadowColor();return!!e&&e.alpha>0&&(this.getShadowBlur()>0||!this.getShadowOffset().isZero())},getView:function(){return this._project._view},getFontStyle:function(){var e=this.getFontSize();return this.getFontWeight()+` `+e+(/[a-z]/i.test(e+``)?` `:`px `)+this.getFontFamily()},getFont:`#getFontFamily`,setFont:`#setFontFamily`,getLeading:function e(){var t=e.base.call(this),n=this.getFontSize();return/pt|em|%|px/.test(n)&&(n=this.getView().getPixelSize(n)),t??n*1.2}}),de=new function(){function e(e,t,n,r){for(var i=[``,`webkit`,`moz`,`Moz`,`ms`,`o`],a=t[0].toUpperCase()+t.substring(1),o=0;o<6;o++){var s=i[o],c=s?s+a:t;if(c in e){if(n)e[c]=r;else return e[c];break}}}return{getStyles:function(e){var t=e&&e.nodeType!==9?e.ownerDocument:e,n=t&&t.defaultView;return n&&n.getComputedStyle(e,``)},getBounds:function(e,t){var n=e.ownerDocument,r=n.body,i=n.documentElement,a;try{a=e.getBoundingClientRect()}catch{a={left:0,top:0,width:0,height:0}}var o=a.left-(i.clientLeft||r.clientLeft||0),s=a.top-(i.clientTop||r.clientTop||0);if(!t){var c=n.defaultView;o+=c.pageXOffset||i.scrollLeft||r.scrollLeft,s+=c.pageYOffset||i.scrollTop||r.scrollTop}return new _(o,s,a.width,a.height)},getViewportBounds:function(e){var t=e.ownerDocument,n=t.defaultView,r=t.documentElement;return new _(0,0,n.innerWidth||r.clientWidth,n.innerHeight||r.clientHeight)},getOffset:function(e,t){return de.getBounds(e,t).getPoint()},getSize:function(e){return de.getBounds(e,!0).getSize()},isInvisible:function(e){return de.getSize(e).equals(new h(0,0))},isInView:function(e){return!de.isInvisible(e)&&de.getViewportBounds(e).intersects(de.getBounds(e,!0))},isInserted:function(e){return i.body.contains(e)},getPrefixed:function(t,n){return t&&e(t,n)},setPrefixed:function(t,n,r){if(typeof n==`object`)for(var i in n)e(t,i,!0,n[i]);else e(t,n,!0,r)}}},fe={add:function(e,t){if(e)for(var n in t)for(var r=t[n],a=n.split(/[\s,]+/g),o=0,s=a.length;o<s;o++){var c=a[o],l=e===i&&(c===`touchstart`||c===`touchmove`)&&{passive:!1};e.addEventListener(c,r,l)}},remove:function(e,t){if(e)for(var n in t)for(var r=t[n],i=n.split(/[\s,]+/g),a=0,o=i.length;a<o;a++)e.removeEventListener(i[a],r,!1)},getPoint:function(e){var t=e.targetTouches?e.targetTouches.length?e.targetTouches[0]:e.changedTouches[0]:e;return new p(t.pageX||t.clientX+i.documentElement.scrollLeft,t.pageY||t.clientY+i.documentElement.scrollTop)},getTarget:function(e){return e.target||e.srcElement},getRelatedTarget:function(e){return e.relatedTarget||e.toElement},getOffset:function(e,t){return fe.getPoint(e).subtract(de.getOffset(t||fe.getTarget(e)))}};fe.requestAnimationFrame=new function(){var e=de.getPrefixed(r,`requestAnimationFrame`),t=!1,n=[],i;function a(){var r=n;n=[];for(var i=0,o=r.length;i<o;i++)r[i]();t=e&&n.length,t&&e(a)}return function(r){n.push(r),e?t||=(e(a),!0):i||=setInterval(a,1e3/60)}};var pe=a.extend(o,{_class:`View`,initialize:function e(t,n){function a(e){return n[e]||parseInt(n.getAttribute(e),10)}function o(){var e=de.getSize(n);return e.isNaN()||e.isZero()?new h(a(`width`),a(`height`)):e}var c;if(r&&n){this._id=n.getAttribute(`id`),this._id??n.setAttribute(`id`,this._id=`paper-view-`+e._id++),fe.add(n,this._viewEvents);var l=`none`;if(de.setPrefixed(n.style,{userDrag:l,userSelect:l,touchCallout:l,contentZooming:l,tapHighlightColor:`rgba(0,0,0,0)`}),s.hasAttribute(n,`resize`)){var u=this;fe.add(r,this._windowEvents={resize:function(){u.setViewSize(o())}})}if(c=o(),s.hasAttribute(n,`stats`)&&typeof Stats<`u`){this._stats=new Stats;var d=this._stats.domElement,f=d.style,p=de.getOffset(n);f.position=`absolute`,f.left=p.x+`px`,f.top=p.y+`px`,i.body.appendChild(d)}}else c=new h(n),n=null;this._project=t,this._scope=t._scope,this._element=n,this._pixelRatio||=r&&r.devicePixelRatio||1,this._setElementSize(c.width,c.height),this._viewSize=c,e._views.push(this),e._viewsById[this._id]=this,(this._matrix=new y)._owner=this,e._focused||=this,this._frameItems={},this._frameItemCount=0,this._itemEvents={native:{},virtual:{}},this._autoUpdate=!I.agent.node,this._needsUpdate=!1},remove:function(){if(!this._project)return!1;pe._focused===this&&(pe._focused=null),pe._views.splice(pe._views.indexOf(this),1),delete pe._viewsById[this._id];var e=this._project;return e._view===this&&(e._view=null),fe.remove(this._element,this._viewEvents),fe.remove(r,this._windowEvents),this._element=this._project=null,this.off(`frame`),this._animate=!1,this._frameItems={},!0},_events:a.each(S._itemHandlers.concat([`onResize`,`onKeyDown`,`onKeyUp`]),function(e){this[e]={}},{onFrame:{install:function(){this.play()},uninstall:function(){this.pause()}}}),_animate:!1,_time:0,_count:0,getAutoUpdate:function(){return this._autoUpdate},setAutoUpdate:function(e){this._autoUpdate=e,e&&this.requestUpdate()},update:function(){},draw:function(){this.update()},requestUpdate:function(){if(!this._requested){var e=this;fe.requestAnimationFrame(function(){if(e._requested=!1,e._animate){e.requestUpdate();var t=e._element;(!de.getPrefixed(i,`hidden`)||s.getAttribute(t,`keepalive`)===`true`)&&de.isInView(t)&&e._handleFrame()}e._autoUpdate&&e.update()}),this._requested=!0}},play:function(){this._animate=!0,this.requestUpdate()},pause:function(){this._animate=!1},_handleFrame:function(){I=this._scope;var e=Date.now()/1e3,t=this._last?e-this._last:0;this._last=e,this.emit(`frame`,new a({delta:t,time:this._time+=t,count:this._count++})),this._stats&&this._stats.update()},_animateItem:function(e,t){var n=this._frameItems;t?(n[e._id]={item:e,time:0,count:0},++this._frameItemCount===1&&this.on(`frame`,this._handleFrameItems)):(delete n[e._id],--this._frameItemCount===0&&this.off(`frame`,this._handleFrameItems))},_handleFrameItems:function(e){for(var t in this._frameItems){var n=this._frameItems[t];n.item.emit(`frame`,new a(e,{time:n.time+=e.delta,count:n.count++}))}},_changed:function(){this._project._changed(4097),this._bounds=this._decomposed=n},getElement:function(){return this._element},getPixelRatio:function(){return this._pixelRatio},getResolution:function(){return this._pixelRatio*72},getViewSize:function(){var e=this._viewSize;return new g(e.width,e.height,this,`setViewSize`)},setViewSize:function(){var e=h.read(arguments),t=e.subtract(this._viewSize);t.isZero()||(this._setElementSize(e.width,e.height),this._viewSize.set(e),this._changed(),this.emit(`resize`,{size:e,delta:t}),this._autoUpdate&&this.update())},_setElementSize:function(e,t){var n=this._element;n&&(n.width!==e&&(n.width=e),n.height!==t&&(n.height=t))},getBounds:function(){return this._bounds||=this._matrix.inverted()._transformBounds(new _(new p,this._viewSize)),this._bounds},getSize:function(){return this.getBounds().getSize()},isVisible:function(){return de.isInView(this._element)},isInserted:function(){return de.isInserted(this._element)},getPixelSize:function(e){var t=this._element,n;if(t){var r=t.parentNode,a=i.createElement(`div`);a.style.fontSize=e,r.appendChild(a),n=parseFloat(de.getStyles(a).fontSize),r.removeChild(a)}else n=parseFloat(n);return n},getTextWidth:function(e,t){return 0}},a.each([`rotate`,`scale`,`shear`,`skew`],function(e){var t=e===`rotate`;this[e]=function(){var n=arguments,r=(t?a:p).read(n),i=p.read(n,0,{readNull:!0});return this.transform(new y()[e](r,i||this.getCenter(!0)))}},{_decompose:function(){return this._decomposed||=this._matrix.decompose()},translate:function(){var e=new y;return this.transform(e.translate.apply(e,arguments))},getCenter:function(){return this.getBounds().getCenter()},setCenter:function(){var e=p.read(arguments);this.translate(this.getCenter().subtract(e))},getZoom:function(){var e=this._decompose().scaling;return(e.x+e.y)/2},setZoom:function(e){this.transform(new y().scale(e/this.getZoom(),this.getCenter()))},getRotation:function(){return this._decompose().rotation},setRotation:function(e){var t=this.getRotation();t!=null&&e!=null&&this.rotate(e-t)},getScaling:function(){var e=this._decompose().scaling;return new m(e.x,e.y,this,`setScaling`)},setScaling:function(){var e=this.getScaling(),t=p.read(arguments,0,{clone:!0,readNull:!0});e&&t&&this.scale(t.x/e.x,t.y/e.y)},getMatrix:function(){return this._matrix},setMatrix:function(){var e=this._matrix;e.set.apply(e,arguments)},transform:function(e){this._matrix.append(e)},scrollBy:function(){this.translate(p.read(arguments).negate())}}),{projectToView:function(){return this._matrix._transformPoint(p.read(arguments))},viewToProject:function(){return this._matrix._inverseTransform(p.read(arguments))},getEventPoint:function(e){return this.viewToProject(fe.getOffset(e,this._element))}},{statics:{_views:[],_viewsById:{},_id:0,create:function(e,t){return i&&typeof t==`string`&&(t=i.getElementById(t)),new(r?me:pe)(e,t)}}},new function(){if(!r)return;var e,t,n=!1,a=!1;function o(e){var t=fe.getTarget(e);return t.getAttribute&&pe._viewsById[t.getAttribute(`id`)]}function s(){var e=pe._focused;if(!e||!e.isVisible()){for(var n=0,r=pe._views.length;n<r;n++)if((e=pe._views[n]).isVisible()){pe._focused=t=e;break}}}function c(e,t,n){e._handleMouseEvent(`mousemove`,t,n)}var l=r.navigator,u,d,f;l.pointerEnabled||l.msPointerEnabled?(u=`pointerdown MSPointerDown`,d=`pointermove MSPointerMove`,f=`pointerup pointercancel MSPointerUp MSPointerCancel`):(u=`touchstart`,d=`touchmove`,f=`touchend touchcancel`,`ontouchstart`in r&&l.userAgent.match(/mobile|tablet|ip(ad|hone|od)|android|silk/i)||(u+=` mousedown`,d+=` mousemove`,f+=` mouseup`));var p={},m={mouseout:function(e){var t=pe._focused,n=fe.getRelatedTarget(e);if(t&&(!n||n.nodeName===`HTML`)){var r=fe.getOffset(e,t._element),i=r.x,a=Math.abs,o=a(i),s=o-(1<<25);r.x=a(s)<o?s*(i<0?-1:1):i,c(t,e,t.viewToProject(r))}},scroll:s};p[u]=function(e){var t=pe._focused=o(e);n||(n=!0,t._handleMouseEvent(`mousedown`,e))},m[d]=function(n){var r=pe._focused;if(!a){var i=o(n);i?r!==i&&(r&&c(r,n),e||=r,r=pe._focused=t=i):t&&t===r&&(e&&!e.isInserted()&&(e=null),r=pe._focused=e,e=null,s())}r&&c(r,n)},m[u]=function(){a=!0},m[f]=function(e){var t=pe._focused;t&&n&&t._handleMouseEvent(`mouseup`,e),a=n=!1},fe.add(i,m),fe.add(r,{load:s});var h=!1,g=!1,_={doubleclick:`click`,mousedrag:`mousemove`},v=!1,y,b,x,S,C,w,T,E;function D(e,t,n,r,i,a,o){var s=!1,c;function l(e,n){if(e.responds(n)){if(c||=new _e(n,r,i,t||e,a?i.subtract(a):null),e.emit(n,c)&&(h=!0,c.prevented&&(g=!0),c.stopped))return s=!0}else{var o=_[n];if(o)return l(e,o)}}for(;e&&e!==o&&!l(e,n);)e=e._parent;return s}function O(e,t,n,r,i,a){return e._project.removeOn(n),g=h=!1,C&&D(C,null,n,r,i,a)||t&&t!==C&&!t.isDescendant(C)&&D(t,null,n===`mousedrag`?`mousemove`:n,r,i,a,C)||D(e,C||t||e,n,r,i,a)}var k={mousedown:{mousedown:1,mousedrag:1,click:1,doubleclick:1},mouseup:{mouseup:1,mousedrag:1,click:1,doubleclick:1},mousemove:{mousedrag:1,mousemove:1,mouseenter:1,mouseleave:1}};return{_viewEvents:p,_handleMouseEvent:function(e,t,r){var i=this._itemEvents,a=i.native[e],o=e===`mousemove`,s=this._scope.tool,c=this;function l(e){return i.virtual[e]||c.responds(e)||s&&s.responds(e)}o&&n&&l(`mousedrag`)&&(e=`mousedrag`),r||=this.getEventPoint(t);var u=this.getBounds().contains(r),d=a&&u&&c._project.hitTest(r,{tolerance:0,fill:!0,stroke:!0}),f=d&&d.item||null,p=!1,m={};if(m[e.substr(5)]=!0,a&&f!==S&&(S&&D(S,null,`mouseleave`,t,r),f&&D(f,null,`mouseenter`,t,r),S=f),v^u&&(D(this,null,u?`mouseenter`:`mouseleave`,t,r),p=!0),(u||m.drag)&&!r.equals(b)&&(O(this,f,o?e:`mousemove`,t,r,b),p=!0),v=u,m.down&&u||m.up&&y){if(O(this,f,e,t,r,y),m.down){if(E=f===w&&Date.now()-T<300,x=w=f,!g&&f){for(var _=f;_&&!_.responds(`mousedrag`);)_=_._parent;_&&(C=f)}y=r}else m.up&&(!g&&f===x&&(T=Date.now(),O(this,f,E?`doubleclick`:`click`,t,r,y),E=!1),x=C=null);v=!1,p=!0}b=r,p&&s&&(h=s._handleMouseEvent(e,t,r,m)||h),t.cancelable!==!1&&(h&&!m.move||m.down&&l(`mouseup`))&&t.preventDefault()},_handleKeyEvent:function(e,t,n,r){var i=this._scope,a=i.tool,o;function s(a){a.responds(e)&&(I=i,a.emit(e,o||=new ge(e,t,n,r)))}this.isVisible()&&(s(this),a&&a.responds(e)&&s(a))},_countItemEvent:function(e,t){var n=this._itemEvents,r=n.native,i=n.virtual;for(var a in k)r[a]=(r[a]||0)+(k[a][e]||0)*t;i[e]=(i[e]||0)+t},statics:{updateFocus:s,_resetState:function(){n=a=h=v=!1,e=t=y=b=x=S=C=w=T=E=null}}}}),me=pe.extend({_class:`CanvasView`,initialize:function(e,t){if(!(t instanceof r.HTMLCanvasElement)){var n=h.read(arguments,1);if(n.isZero())throw Error(`Cannot create CanvasView with the provided argument: `+a.slice(arguments,1));t=xe.getCanvas(n)}var i=this._context=t.getContext(`2d`);if(i.save(),this._pixelRatio=1,!/^off|false$/.test(s.getAttribute(t,`hidpi`))){var o=r.devicePixelRatio||1,c=de.getPrefixed(i,`backingStorePixelRatio`)||1;this._pixelRatio=o/c}pe.call(this,e,t),this._needsUpdate=!0},remove:function e(){return this._context.restore(),e.base.call(this)},_setElementSize:function e(t,n){var r=this._pixelRatio;if(e.base.call(this,t*r,n*r),r!==1){var i=this._element,a=this._context;if(!s.hasAttribute(i,`resize`)){var o=i.style;o.width=t+`px`,o.height=n+`px`}a.restore(),a.save(),a.scale(r,r)}},getContext:function(){return this._context},getPixelSize:function e(t){var n=I.agent,r;if(n&&n.firefox)r=e.base.call(this,t);else{var i=this._context,a=i.font;i.font=t+` serif`,r=parseFloat(i.font),i.font=a}return r},getTextWidth:function(e,t){var n=this._context,r=n.font,i=0;n.font=e;for(var a=0,o=t.length;a<o;a++)i=Math.max(i,n.measureText(t[a]).width);return n.font=r,i},update:function(){if(!this._needsUpdate)return!1;var e=this._project,t=this._context,n=this._viewSize;return t.clearRect(0,0,n.width+1,n.height+1),e&&e.draw(t,this._matrix,this._pixelRatio),this._needsUpdate=!1,!0}}),he=a.extend({_class:`Event`,initialize:function(e){this.event=e,this.type=e&&e.type},prevented:!1,stopped:!1,preventDefault:function(){this.prevented=!0,this.event.preventDefault()},stopPropagation:function(){this.stopped=!0,this.event.stopPropagation()},stop:function(){this.stopPropagation(),this.preventDefault()},getTimeStamp:function(){return this.event.timeStamp},getModifiers:function(){return P.modifiers}}),ge=he.extend({_class:`KeyEvent`,initialize:function(e,t,n,r){this.type=e,this.event=t,this.key=n,this.character=r},toString:function(){return`{ type: '`+this.type+`', key: '`+this.key+`', character: '`+this.character+`', modifiers: `+this.getModifiers()+` }`}}),P=new function(){var e={" ":`tab`," ":`space`,"\b":`backspace`,"":`delete`,Spacebar:`space`,Del:`delete`,Win:`meta`,Esc:`escape`},t={tab:` `,space:` `,enter:`\r`},o={},s={},c,l,u=new a({shift:!1,control:!1,alt:!1,meta:!1,capsLock:!1,space:!1}).inject({option:{get:function(){return this.alt}},command:{get:function(){var e=I&&I.agent;return e&&e.mac?this.meta:this.control}}});function d(t){var r=t.key||t.keyIdentifier;return r=/^U\+/.test(r)?String.fromCharCode(parseInt(r.substr(2),16)):/^Arrow[A-Z]/.test(r)?r.substr(5):r===`Unidentified`||r===n?String.fromCharCode(t.keyCode):r,e[r]||(r.length>1?a.hyphenate(r):r.toLowerCase())}function f(e,t,n,r){var i=pe._focused,l;if(o[t]=e,e?s[t]=n:delete s[t],t.length>1&&(l=a.camelize(t))in u){u[l]=e;var d=I&&I.agent;if(l===`meta`&&d&&d.mac){if(e)c={};else{for(var p in c)p in s&&f(!1,p,c[p],r);c=null}}}else e&&c&&(c[t]=n);i&&i._handleKeyEvent(e?`keydown`:`keyup`,r,t,n)}return fe.add(i,{keydown:function(e){var n=d(e),r=I&&I.agent;n.length>1||r&&r.chrome&&(e.altKey||r.mac&&e.metaKey||!r.mac&&e.ctrlKey)?f(!0,n,t[n]||(n.length>1?``:n),e):l=n},keypress:function(e){if(l){var t=d(e),n=e.charCode,r=n>=32?String.fromCharCode(n):t.length>1?``:t;t!==l&&(t=r.toLowerCase()),f(!0,t,r,e),l=null}},keyup:function(e){var t=d(e);t in s&&f(!1,t,s[t],e)}}),fe.add(r,{blur:function(e){for(var t in s)f(!1,t,s[t],e)}}),{modifiers:u,isDown:function(e){return!!o[e]}}},_e=he.extend({_class:`MouseEvent`,initialize:function(e,t,n,r,i){this.type=e,this.event=t,this.point=n,this.target=r,this.delta=i},toString:function(){return`{ type: '`+this.type+`', point: `+this.point+`, target: `+this.target+(this.delta?`, delta: `+this.delta:``)+`, modifiers: `+this.getModifiers()+` }`}}),ve=he.extend({_class:`ToolEvent`,_item:null,initialize:function(e,t,n){this.tool=e,this.type=t,this.event=n},_choosePoint:function(e,t){return e||(t?t.clone():null)},getPoint:function(){return this._choosePoint(this._point,this.tool._point)},setPoint:function(e){this._point=e},getLastPoint:function(){return this._choosePoint(this._lastPoint,this.tool._lastPoint)},setLastPoint:function(e){this._lastPoint=e},getDownPoint:function(){return this._choosePoint(this._downPoint,this.tool._downPoint)},setDownPoint:function(e){this._downPoint=e},getMiddlePoint:function(){return!this._middlePoint&&this.tool._lastPoint?this.tool._point.add(this.tool._lastPoint).divide(2):this._middlePoint},setMiddlePoint:function(e){this._middlePoint=e},getDelta:function(){return!this._delta&&this.tool._lastPoint?this.tool._point.subtract(this.tool._lastPoint):this._delta},setDelta:function(e){this._delta=e},getCount:function(){return this.tool[/^mouse(down|up)$/.test(this.type)?`_downCount`:`_moveCount`]},setCount:function(e){this.tool[/^mouse(down|up)$/.test(this.type)?`downCount`:`count`]=e},getItem:function(){if(!this._item){var e=this.tool._scope.project.hitTest(this.getPoint());if(e){for(var t=e.item,n=t._parent;/^(Group|CompoundPath)$/.test(n._class);)t=n,n=n._parent;this._item=t}}return this._item},setItem:function(e){this._item=e},toString:function(){return`{ type: `+this.type+`, point: `+this.getPoint()+`, count: `+this.getCount()+`, modifiers: `+this.getModifiers()+` }`}});c.extend({_class:`Tool`,_list:`tools`,_reference:`tool`,_events:[`onMouseDown`,`onMouseUp`,`onMouseDrag`,`onMouseMove`,`onActivate`,`onDeactivate`,`onEditOptions`,`onKeyDown`,`onKeyUp`],initialize:function(e){c.call(this),this._moveCount=-1,this._downCount=-1,this.set(e)},getMinDistance:function(){return this._minDistance},setMinDistance:function(e){this._minDistance=e,e!=null&&this._maxDistance!=null&&e>this._maxDistance&&(this._maxDistance=e)},getMaxDistance:function(){return this._maxDistance},setMaxDistance:function(e){this._maxDistance=e,this._minDistance!=null&&e!=null&&e<this._minDistance&&(this._minDistance=e)},getFixedDistance:function(){return this._minDistance==this._maxDistance?this._minDistance:null},setFixedDistance:function(e){this._minDistance=this._maxDistance=e},_handleMouseEvent:function(e,t,n,r){I=this._scope,r.drag&&!this.responds(e)&&(e=`mousemove`);var i=r.move||r.drag,a=this.responds(e),o=!1,s=this;function c(e,t){var a=n,o=i?s._point:s._downPoint||a;if(i){if(s._moveCount>=0&&a.equals(o))return!1;if(o&&(e!=null||t!=null)){var c=a.subtract(o),l=c.getLength();if(l<(e||0))return!1;t&&(a=o.add(c.normalize(Math.min(l,t))))}s._moveCount++}return s._point=a,s._lastPoint=o||a,r.down&&(s._moveCount=-1,s._downPoint=a,s._downCount++),!0}function l(){a&&(o=s.emit(e,new ve(s,e,t))||o)}if(r.down)c(),l();else if(r.up)c(null,this._maxDistance),l();else if(a)for(;c(this._minDistance,this._maxDistance);)l();return o}});var ye=a.extend(o,{_class:`Tween`,statics:{easings:new a({linear:function(e){return e},easeInQuad:function(e){return e*e},easeOutQuad:function(e){return e*(2-e)},easeInOutQuad:function(e){return e<.5?2*e*e:-1+2*(2-e)*e},easeInCubic:function(e){return e*e*e},easeOutCubic:function(e){return--e*e*e+1},easeInOutCubic:function(e){return e<.5?4*e*e*e:(e-1)*(2*e-2)*(2*e-2)+1},easeInQuart:function(e){return e*e*e*e},easeOutQuart:function(e){return 1- --e*e*e*e},easeInOutQuart:function(e){return e<.5?8*e*e*e*e:1-8*--e*e*e*e},easeInQuint:function(e){return e*e*e*e*e},easeOutQuint:function(e){return 1+--e*e*e*e*e},easeInOutQuint:function(e){return e<.5?16*e*e*e*e*e:1+16*--e*e*e*e*e}})},initialize:function e(t,n,r,i,a,o){this.object=t;var s=typeof a,c=s===`function`;this.type=c?s:s===`string`?a:`linear`,this.easing=c?a:e.easings[this.type],this.duration=i,this.running=!1,this._then=null,this._startTime=null;var l=n||r;this._keys=l?Object.keys(l):[],this._parsedKeys=this._parseKeys(this._keys),this._from=l&&this._getState(n),this._to=l&&this._getState(r),o!==!1&&this.start()},then:function(e){return this._then=e,this},start:function(){return this._startTime=null,this.running=!0,this},stop:function(){return this.running=!1,this},update:function(e){if(this.running){e>=1&&(e=1,this.running=!1);for(var t=this.easing(e),n=this._keys,r=function(n){return typeof n==`function`?n(t,e):n},i=0,o=n&&n.length;i<o;i++){var s=n[i],c=r(this._from[s]),l=r(this._to[s]),u=c&&l&&c.__add&&l.__add?l.__subtract(c).__multiply(t).__add(c):(l-c)*t+c;this._setProperty(this._parsedKeys[s],u)}this.responds(`update`)&&this.emit(`update`,new a({progress:e,factor:t})),!this.running&&this._then&&this._then(this.object)}return this},_events:{onUpdate:{}},_handleFrame:function(e){var t=this._startTime,n=t?(e-t)/this.duration:0;t||(this._startTime=e),this.update(n)},_getState:function(e){for(var t=this._keys,n={},r=0,i=t.length;r<i;r++){var a=t[r],o=this._parsedKeys[a],s=this._getProperty(o),c;if(e){var l=this._resolveValue(s,e[a]);this._setProperty(o,l),c=this._getProperty(o),c=c&&c.clone?c.clone():c,this._setProperty(o,s)}else c=s&&s.clone?s.clone():s;n[a]=c}return n},_resolveValue:function(e,t){if(t){if(Array.isArray(t)&&t.length===2){var n=t[0];return n&&n.match&&n.match(/^[+\-\*\/]=/)?this._calculate(e,n[0],t[1]):t}if(typeof t==`string`){var r=t.match(/^[+\-*/]=(.*)/);if(r){var i=JSON.parse(r[1].replace(/(['"])?([a-zA-Z0-9_]+)(['"])?:/g,`"$2": `));return this._calculate(e,t[0],i)}}}return t},_calculate:function(e,t,n){return I.PaperScript.calculateBinary(e,t,n)},_parseKeys:function(e){for(var t={},n=0,r=e.length;n<r;n++){var i=e[n];t[i]=i.replace(/\.([^.]*)/g,`/$1`).replace(/\[['"]?([^'"\]]*)['"]?\]/g,`/$1`).split(`/`)}return t},_getProperty:function(e,t){for(var n=this.object,r=0,i=e.length-(t||0);r<i&&n;r++)n=n[e[r]];return n},_setProperty:function(e,t){var n=this._getProperty(e,1);n&&(n[e[e.length-1]]=t)}}),be={request:function(t){var n=new e.XMLHttpRequest;return n.open((t.method||`get`).toUpperCase(),t.url,a.pick(t.async,!0)),t.mimeType&&n.overrideMimeType(t.mimeType),n.onload=function(){var e=n.status;e===0||e===200?t.onLoad&&t.onLoad.call(n,n.responseText):n.onerror()},n.onerror=function(){var e=n.status,r=`Could not load "`+t.url+`" (Status: `+e+`)`;if(t.onError)t.onError(r,e);else throw Error(r)},n.send(null)}},xe=a.exports.CanvasProvider={canvases:[],getCanvas:function(e,t,n){if(!r)return null;var a,o=!0;typeof e==`object`&&(t=e.height,e=e.width),this.canvases.length?a=this.canvases.pop():(a=i.createElement(`canvas`),o=!1);var s=a.getContext(`2d`,n||{});if(!s)throw Error(`Canvas `+a+` is unable to provide a 2D context.`);return a.width===e&&a.height===t?o&&s.clearRect(0,0,e+1,t+1):(a.width=e,a.height=t),s.save(),a},getContext:function(e,t,n){var r=this.getCanvas(e,t,n);return r?r.getContext(`2d`,n||{}):null},release:function(e){var t=e&&e.canvas?e.canvas:e;t&&t.getContext&&(t.getContext(`2d`).restore(),this.canvases.push(t))}},Se=new function(){var e=Math.min,t=Math.max,n=Math.abs,r,i,o,s,c,l,u,d,f,p,m;function h(e,t,n){return .2989*e+.587*t+.114*n}function g(n,r,i,a){var o=a-h(n,r,i);f=n+o,p=r+o,m=i+o;var a=h(f,p,m),s=e(f,p,m),c=t(f,p,m);if(s<0){var l=a-s;f=a+(f-a)*a/l,p=a+(p-a)*a/l,m=a+(m-a)*a/l}if(c>255){var u=255-a,d=c-a;f=a+(f-a)*u/d,p=a+(p-a)*u/d,m=a+(m-a)*u/d}}function _(n,r,i){return t(n,r,i)-e(n,r,i)}function v(n,r,i,a){var o=[n,r,i],s=t(n,r,i),c=e(n,r,i),l;c=c===n?0:c===r?1:2,s=s===n?0:s===r?1:2,l=e(c,s)===0?t(c,s)===1?2:1:0,o[s]>o[c]?(o[l]=(o[l]-o[c])*a/(o[s]-o[c]),o[s]=a):o[l]=o[s]=0,o[c]=0,f=o[0],p=o[1],m=o[2]}var y={multiply:function(){f=c*r/255,p=l*i/255,m=u*o/255},screen:function(){f=c+r-c*r/255,p=l+i-l*i/255,m=u+o-u*o/255},overlay:function(){f=c<128?2*c*r/255:255-2*(255-c)*(255-r)/255,p=l<128?2*l*i/255:255-2*(255-l)*(255-i)/255,m=u<128?2*u*o/255:255-2*(255-u)*(255-o)/255},"soft-light":function(){var e=r*c/255;f=e+c*(255-(255-c)*(255-r)/255-e)/255,e=i*l/255,p=e+l*(255-(255-l)*(255-i)/255-e)/255,e=o*u/255,m=e+u*(255-(255-u)*(255-o)/255-e)/255},"hard-light":function(){f=r<128?2*r*c/255:255-2*(255-r)*(255-c)/255,p=i<128?2*i*l/255:255-2*(255-i)*(255-l)/255,m=o<128?2*o*u/255:255-2*(255-o)*(255-u)/255},"color-dodge":function(){f=c===0?0:r===255?255:e(255,255*c/(255-r)),p=l===0?0:i===255?255:e(255,255*l/(255-i)),m=u===0?0:o===255?255:e(255,255*u/(255-o))},"color-burn":function(){f=c===255?255:r===0?0:t(0,255-(255-c)*255/r),p=l===255?255:i===0?0:t(0,255-(255-l)*255/i),m=u===255?255:o===0?0:t(0,255-(255-u)*255/o)},darken:function(){f=c<r?c:r,p=l<i?l:i,m=u<o?u:o},lighten:function(){f=c>r?c:r,p=l>i?l:i,m=u>o?u:o},difference:function(){f=c-r,f<0&&(f=-f),p=l-i,p<0&&(p=-p),m=u-o,m<0&&(m=-m)},exclusion:function(){f=c+r*(255-c-c)/255,p=l+i*(255-l-l)/255,m=u+o*(255-u-u)/255},hue:function(){v(r,i,o,_(c,l,u)),g(f,p,m,h(c,l,u))},saturation:function(){v(c,l,u,_(r,i,o)),g(f,p,m,h(c,l,u))},luminosity:function(){g(c,l,u,h(r,i,o))},color:function(){g(r,i,o,h(c,l,u))},add:function(){f=e(c+r,255),p=e(l+i,255),m=e(u+o,255)},subtract:function(){f=t(c-r,0),p=t(l-i,0),m=t(u-o,0)},average:function(){f=(c+r)/2,p=(l+i)/2,m=(u+o)/2},negation:function(){f=255-n(255-r-c),p=255-n(255-i-l),m=255-n(255-o-u)}},b=this.nativeModes=a.each([`source-over`,`source-in`,`source-out`,`source-atop`,`destination-over`,`destination-in`,`destination-out`,`destination-atop`,`lighter`,`darker`,`copy`,`xor`],function(e){this[e]=!0},{}),x=xe.getContext(1,1,{willReadFrequently:!0});x&&(a.each(y,function(e,t){var n=t===`darken`,r=!1;x.save();try{x.fillStyle=n?`#300`:`#a00`,x.fillRect(0,0,1,1),x.globalCompositeOperation=t,x.globalCompositeOperation===t&&(x.fillStyle=n?`#a00`:`#300`,x.fillRect(0,0,1,1),r=x.getImageData(0,0,1,1).data[0]===n?51:170)}catch{}x.restore(),b[t]=r}),xe.release(x)),this.process=function(e,t,n,a,h){var g=t.canvas,_=e===`normal`;if(_||b[e])n.save(),n.setTransform(1,0,0,1,0,0),n.globalAlpha=a,_||(n.globalCompositeOperation=e),n.drawImage(g,h.x,h.y),n.restore();else{var v=y[e];if(!v)return;for(var x=n.getImageData(h.x,h.y,g.width,g.height),S=x.data,C=t.getImageData(0,0,g.width,g.height).data,w=0,T=S.length;w<T;w+=4){r=C[w],c=S[w],i=C[w+1],l=S[w+1],o=C[w+2],u=S[w+2],s=C[w+3],d=S[w+3],v();var E=s*a/255,D=1-E;S[w]=E*f+D*c,S[w+1]=E*p+D*l,S[w+2]=E*m+D*u,S[w+3]=s*a+D*d}n.putImageData(x,h.x,h.y)}}},F=new function(){var e=`http://www.w3.org/2000/svg`,t=`http://www.w3.org/2000/xmlns`,n=`http://www.w3.org/1999/xlink`,r={href:n,xlink:t,xmlns:t+`/`,"xmlns:xlink":t+`/`};function a(t,n,r){return s(i.createElementNS(e,t),n,r)}function o(e,t){var n=r[t],i=n?e.getAttributeNS(n,t):e.getAttribute(t);return i===`null`?null:i}function s(e,t,n){for(var i in t){var a=t[i],o=r[i];typeof a==`number`&&n&&(a=n.number(a)),o?e.setAttributeNS(o,i,a):e.setAttribute(i,a)}return e}return{svg:e,xmlns:t,xlink:n,create:a,get:o,set:s}},Ce=a.each({fillColor:[`fill`,`color`],fillRule:[`fill-rule`,`string`],strokeColor:[`stroke`,`color`],strokeWidth:[`stroke-width`,`number`],strokeCap:[`stroke-linecap`,`string`],strokeJoin:[`stroke-linejoin`,`string`],strokeScaling:[`vector-effect`,`lookup`,{true:`none`,false:`non-scaling-stroke`},function(e,t){return!t&&(e instanceof te||e instanceof T||e instanceof ae)}],miterLimit:[`stroke-miterlimit`,`number`],dashArray:[`stroke-dasharray`,`array`],dashOffset:[`stroke-dashoffset`,`number`],fontFamily:[`font-family`,`string`],fontWeight:[`font-weight`,`string`],fontSize:[`font-size`,`number`],justification:[`text-anchor`,`lookup`,{left:`start`,center:`middle`,right:`end`}],opacity:[`opacity`,`number`],blendMode:[`mix-blend-mode`,`style`]},function(e,t){var n=a.capitalize(t),r=e[2];this[t]={type:e[1],property:t,attribute:e[0],toSVG:r,fromSVG:r&&a.each(r,function(e,t){this[e]=t},{}),exportFilter:e[3],get:`get`+n,set:`set`+n}},{});new function(){var t;function n(e,n,r){var i=new a,o=e.getTranslation();if(n){var s;e.isInvertible()?(e=e._shiftless(),s=e._inverseTransform(o),o=null):s=new p,i[r?`cx`:`x`]=s.x,i[r?`cy`:`y`]=s.y}if(!e.isIdentity()){var c=e.decompose();if(c){var l=[],u=c.rotation,f=c.scaling,m=c.skewing;o&&!o.isZero()&&l.push(`translate(`+t.point(o)+`)`),u&&l.push(`rotate(`+t.number(u)+`)`),d.isZero(f.x-1)&&d.isZero(f.y-1)||l.push(`scale(`+t.point(f)+`)`),m.x&&l.push(`skewX(`+t.number(m.x)+`)`),m.y&&l.push(`skewY(`+t.number(m.y)+`)`),i.transform=l.join(` `)}else i.transform=`matrix(`+e.getValues().join(`,`)+`)`}return i}function r(e,r){for(var i=n(e._matrix),a=e._children,o=F.create(`g`,i,t),s=0,c=a.length;s<c;s++){var l=a[s],u=E(l,r);if(u){if(l.isClipMask()){var d=F.create(`clipPath`);d.appendChild(u),w(l,d,`clip`),F.set(o,{"clip-path":`url(#`+d.id+`)`})}else o.appendChild(u)}}return o}function i(e,r){var i=n(e._matrix,!0),a=e.getSize(),o=e.getImage();return i.x-=a.width/2,i.y-=a.height/2,i.width=a.width,i.height=a.height,i.href=r.embedImages==0&&o&&o.src||e.toDataURL(),F.create(`image`,i,t)}function o(e,r){var i=r.matchShapes;if(i){var a=e.toShape(!1);if(a)return s(a,r)}var o=e._segments,c=o.length,l,u=n(e._matrix);if(i&&c>=2&&!e.hasHandles()){if(c>2){l=e._closed?`polygon`:`polyline`;for(var d=[],f=0;f<c;f++)d.push(t.point(o[f]._point));u.points=d.join(` `)}else{l=`line`;var p=o[0]._point,m=o[1]._point;u.set({x1:p.x,y1:p.y,x2:m.x,y2:m.y})}}else l=`path`,u.d=e.getPathData(null,r.precision);return F.create(l,u,t)}function s(e){var r=e._type,i=e._radius,a=n(e._matrix,!0,r!==`rectangle`);if(r===`rectangle`){r=`rect`;var o=e._size,s=o.width,c=o.height;a.x-=s/2,a.y-=c/2,a.width=s,a.height=c,i.isZero()&&(i=null)}return i&&(r===`circle`?a.r=i:(a.rx=i.width,a.ry=i.height)),F.create(r,a,t)}function c(e,r){var i=n(e._matrix),a=e.getPathData(null,r.precision);return a&&(i.d=a),F.create(`path`,i,t)}function l(e,r){var i=n(e._matrix,!0),a=e._definition,o=C(a,`symbol`),s=a._item,c=s.getStrokeBounds();return o||(o=F.create(`symbol`,{viewBox:t.rectangle(c)}),o.appendChild(E(s,r)),w(a,o,`symbol`)),i.href=`#`+o.id,i.x+=c.x,i.y+=c.y,i.width=c.width,i.height=c.height,i.overflow=`visible`,F.create(`use`,i,t)}function m(e){var n=C(e,`color`);if(!n){var r=e.getGradient(),i=r._radial,a=e.getOrigin(),o=e.getDestination(),s;if(i){s={cx:a.x,cy:a.y,r:a.getDistance(o)};var c=e.getHighlight();c&&(s.fx=c.x,s.fy=c.y)}else s={x1:a.x,y1:a.y,x2:o.x,y2:o.y};s.gradientUnits=`userSpaceOnUse`,n=F.create((i?`radial`:`linear`)+`Gradient`,s,t);for(var l=r._stops,u=0,d=l.length;u<d;u++){var f=l[u],p=f._color,m=p.getAlpha();s={offset:f._offset??u/(d-1)},p&&(s[`stop-color`]=p.toCSS(!0)),m<1&&(s[`stop-opacity`]=m),n.appendChild(F.create(`stop`,s,t))}w(e,n,`color`)}return`url(#`+n.id+`)`}function h(e){var r=F.create(`text`,n(e._matrix,!0),t);return r.textContent=e._content,r}var g={Group:r,Layer:r,Raster:i,Path:o,Shape:s,CompoundPath:c,SymbolItem:l,PointText:h};function v(e,n,r,i){var o={},s=!i&&e.getParent(),c=[];return e._name!=null&&(o.id=e._name),a.each(Ce,function(t){var n=t.get,i=t.type,l=e[n]();if(t.exportFilter?t.exportFilter(e,l):r.reduceAttributes==0||!s||!a.equals(s[n](),l)){if(i===`color`&&l!=null){var u=l.getAlpha();u<1&&(o[t.attribute+`-opacity`]=u)}i===`style`?c.push(t.attribute+`: `+l):o[t.attribute]=l==null?`none`:i===`color`?l.gradient?m(l,e):l.toCSS(!0):i===`array`?l.join(`,`):i===`lookup`?t.toSVG[l]:l}}),c.length&&(o.style=c.join(`;`)),o.opacity===1&&delete o.opacity,e._visible||(o.visibility=`hidden`),F.set(n,o,t)}var b;function C(e,t){return b||={ids:{},svgs:{}},e&&b.svgs[t+`-`+(e._id||e.__id||(e.__id=f.get(`svg`)))]}function w(e,t,n){b||C();var r=b.ids[n]=(b.ids[n]||0)+1;t.id=n+`-`+r,b.svgs[n+`-`+(e._id||e.__id)]=t}function T(t,n){var r=t,i=null;if(b){for(var a in r=t.nodeName.toLowerCase()===`svg`&&t,b.svgs)i||=(r||(r=F.create(`svg`),r.appendChild(t)),r.insertBefore(F.create(`defs`),r.firstChild)),i.appendChild(b.svgs[a]);b=null}return n.asString?new e.XMLSerializer().serializeToString(r):r}function E(e,t,n){var r=g[e._class],i=r&&r(e,t);if(i){var a=t.onExport;a&&(i=a(e,i,t)||i);var o=JSON.stringify(e._data);o&&o!==`{}`&&o!==`null`&&i.setAttribute(`data-paper-data`,o)}return i&&v(e,i,t,n)}function D(e){return e||={},t=new u(e.precision),e}S.inject({exportSVG:function(e){return e=D(e),T(E(this,e,!0),e)}}),x.inject({exportSVG:function(e){e=D(e);var r=this._children,i=this.getView(),o=a.pick(e.bounds,`view`),s=e.matrix||o===`view`&&i._matrix,c=s&&y.read([s]),l=o===`view`?new _([0,0],i.getViewSize()):o===`content`?S._getBounds(r,c,{stroke:!0}).rect:_.read([o],0,{readNull:!0}),u={version:`1.1`,xmlns:F.svg,"xmlns:xlink":F.xlink};l&&(u.width=l.width,u.height=l.height,(l.x||l.x===0||l.y||l.y===0)&&(u.viewBox=t.rectangle(l)));var d=F.create(`svg`,u,t),f=d;c&&!c.isIdentity()&&(f=d.appendChild(F.create(`g`,n(c),t)));for(var p=0,m=r.length;p<m;p++)f.appendChild(E(r[p],e,!0));return T(d,e)}})},new function(){var t={},o;function s(e,t,n,r,i,a){var s=F.get(e,t)||a,c=s==null?r?null:n?``:0:n?s:parseFloat(s);return/%\s*$/.test(s)?c/100*(i?1:o[/x|^width/.test(t)?`width`:`height`]):c}function c(e,t,n,r,i,a,o){return t=s(e,t||`x`,!1,r,i,a),n=s(e,n||`y`,!1,r,i,o),r&&(t==null||n==null)?null:new p(t,n)}function l(e,t,n,r,i){return t=s(e,t||`width`,!1,r,i),n=s(e,n||`height`,!1,r,i),r&&(t==null||n==null)?null:new h(t,n)}function u(e,t,n){return e===`none`?null:t===`number`?parseFloat(e):t===`array`?e?e.split(/[\s,]+/g).map(parseFloat):[]:t===`color`?j(e)||e:t===`lookup`?n[e]:e}function d(e,t,n,r){var i=e.childNodes,a=t===`clippath`,o=t===`defs`,s=new C,c=s._project,l=c._currentStyle,u=[];if(!a&&!o&&(s=A(s,e,r),c._currentStyle=s._style.clone()),r)for(var d=e.querySelectorAll(`defs`),f=0,p=d.length;f<p;f++)M(d[f],n,!1);for(var f=0,p=i.length;f<p;f++){var m=i[f],h;m.nodeType===1&&!/^defs$/i.test(m.nodeName)&&(h=M(m,n,!1))&&!(h instanceof O)&&u.push(h)}return s.addChildren(u),a&&(s=A(s.reduce(),e,r)),c._currentStyle=l,(a||o)&&(s.remove(),s=null),s}function f(e,t){for(var n=e.getAttribute(`points`).match(/[+-]?(?:\d*\.\d+|\d+\.?)(?:[eE][+-]?\d+)?/g),r=[],i=0,a=n.length;i<a;i+=2)r.push(new p(parseFloat(n[i]),parseFloat(n[i+1])));var o=new N(r);return t===`polygon`&&o.closePath(),o}function m(e){return te.create(e.getAttribute(`d`))}function g(e,n){var r=(s(e,`href`,!0)||``).substring(1),i=n===`radialgradient`,a;if(r)a=t[r].getGradient(),a._radial^i&&(a=a.clone(),a._radial=i);else{for(var o=e.childNodes,l=[],u=0,d=o.length;u<d;u++){var f=o[u];f.nodeType===1&&l.push(A(new le,f))}a=new ce(l,i)}var p,m,h,g=s(e,`gradientUnits`,!0)!==`userSpaceOnUse`;i?(p=c(e,`cx`,`cy`,!1,g,`50%`,`50%`),m=p.add(s(e,`r`,!1,!1,g,`50%`),0),h=c(e,`fx`,`fy`,!0,g)):(p=c(e,`x1`,`y1`,!1,g,`0%`,`0%`),m=c(e,`x2`,`y2`,!1,g,`100%`,`0%`));var _=A(new se(a,p,m,h),e);return _._scaleToBounds=g,null}var v={"#document":function(e,t,n,r){for(var i=e.childNodes,a=0,o=i.length;a<o;a++){var s=i[a];if(s.nodeType===1)return M(s,n,r)}},g:d,svg:d,clippath:d,polygon:f,polyline:f,path:m,lineargradient:g,radialgradient:g,image:function(e){var t=new E(s(e,`href`,!0));return t.on(`load`,function(){var t=l(e);this.setSize(t);var n=c(e).add(t.divide(2));this._matrix.append(new y().translate(n))}),t},symbol:function(e,t,n,r){return new O(d(e,t,n,r),!0)},defs:d,use:function(e){var n=(s(e,`href`,!0)||``).substring(1),r=t[n],i=c(e);return r?r instanceof O?r.place(i):r.clone().translate(i):null},circle:function(e){return new T.Circle(c(e,`cx`,`cy`),s(e,`r`))},ellipse:function(e){return new T.Ellipse({center:c(e,`cx`,`cy`),radius:l(e,`rx`,`ry`)})},rect:function(e){return new T.Rectangle(new _(c(e),l(e)),l(e,`rx`,`ry`))},line:function(e){return new N.Line(c(e,`x1`,`y1`),c(e,`x2`,`y2`))},text:function(e){var t=new oe(c(e).add(c(e,`dx`,`dy`)));return t.setContent(e.textContent.trim()||``),t},switch:d};function b(e,t,n,r){if(e.transform){for(var i=(r.getAttribute(n)||``).split(/\)\s*/g),a=new y,o=0,s=i.length;o<s;o++){var c=i[o];if(!c)break;for(var l=c.split(/\(\s*/),u=l[0].trim(),d=l[1].split(/[\s,]+/g),f=0,p=d.length;f<p;f++)d[f]=parseFloat(d[f]);switch(u){case`matrix`:a.append(new y(d[0],d[1],d[2],d[3],d[4],d[5]));break;case`rotate`:a.rotate(d[0],d[1]||0,d[2]||0);break;case`translate`:a.translate(d[0],d[1]||0);break;case`scale`:a.scale(d);break;case`skewX`:a.skew(d[0],0);break;case`skewY`:a.skew(0,d[0])}}e.transform(a)}}function w(e,t,n){var r=n===`fill-opacity`?`getFillColor`:`getStrokeColor`,i=e[r]&&e[r]();i&&i.setAlpha(parseFloat(t))}var D=a.set(a.each(Ce,function(e){this[e.attribute]=function(t,n){if(t[e.set]&&(t[e.set](u(n,e.type,e.fromSVG)),e.type===`color`)){var r=t[e.get]();if(r&&r._scaleToBounds){var i=t.getBounds();r.transform(new y().translate(i.getPoint()).scale(i.getSize()))}}}},{}),{id:function(e,n){t[n]=e,e.setName&&e.setName(n)},"clip-path":function(e,t){var n=j(t);if(n){if(n=n.clone(),n.setClipMask(!0),e instanceof C)e.insertChild(0,n);else return new C(n,e)}},gradientTransform:b,transform:b,"fill-opacity":w,"stroke-opacity":w,visibility:function(e,t){e.setVisible&&e.setVisible(t===`visible`)},display:function(e,t){e.setVisible&&e.setVisible(t!==null)},"stop-color":function(e,t){e.setColor&&e.setColor(t)},"stop-opacity":function(e,t){e._color&&e._color.setAlpha(parseFloat(t))},offset:function(e,t){if(e.setOffset){var n=t.match(/(.*)%$/);e.setOffset(n?n[1]/100:parseFloat(t))}},viewBox:function(e,t,n,r,i){var a=new _(u(t,`array`)),o=l(r,null,null,!0),s,c;if(e instanceof C){var d=o?o.divide(a.getSize()):1,c=new y().scale(d).translate(a.getPoint().negate());s=e}else e instanceof O&&(o&&a.setSize(o),s=e._item);if(s){if(k(r,`overflow`,i)!==`visible`){var f=new T.Rectangle(a);f.setClipMask(!0),s.addChild(f)}c&&s.transform(c)}}});function k(e,t,r){var i=e.attributes[t],o=i&&i.value;if(!o&&e.style){var s=a.camelize(t);o=e.style[s],!o&&r.node[s]!==r.parent[s]&&(o=r.node[s])}return o?o===`none`?null:o:n}function A(e,t,r){var i=t.parentNode,o={node:de.getStyles(t)||{},parent:!r&&!/^defs$/i.test(i.tagName)&&de.getStyles(i)||{}};return a.each(D,function(r,i){var a=k(t,i,o);e=a!==n&&r(e,a,i,t,o)||e}),e}function j(e){var n=e&&e.match(/\((?:["'#]*)([^"')]+)/),i=n&&n[1],a=i&&t[r?i.replace(r.location.href.split(`#`)[0]+`#`,``):i];return a&&a._scaleToBounds&&(a=a.clone(),a._scaleToBounds=!0),a}function M(e,n,r){var s=e.nodeName.toLowerCase(),c=s!==`#document`,u=i.body,d,f,p;r&&c&&(o=I.getView().getSize(),o=l(e,null,null,!0)||o,d=F.create(`svg`,{style:`stroke-width: 1px; stroke-miterlimit: 10`}),f=e.parentNode,p=e.nextSibling,d.appendChild(e),u.appendChild(d));var m=I.settings,h=m.applyMatrix,g=m.insertItems;m.applyMatrix=!1,m.insertItems=!1;var _=v[s],y=_&&_(e,s,n,r)||null;if(m.insertItems=g,m.applyMatrix=h,y){c&&!(y instanceof C)&&(y=A(y,e,r));var b=n.onImport,x=c&&e.getAttribute(`data-paper-data`);b&&(y=b(e,y,n)||y),n.expandShapes&&y instanceof T&&(y.remove(),y=y.toPath()),x&&(y._data=JSON.parse(x))}return d&&(u.removeChild(d),f&&(p?f.insertBefore(e,p):f.appendChild(e))),r&&(t={},y&&a.pick(n.applyMatrix,h)&&y.matrix.apply(!0,!0)),y}function ee(t,r,a){if(!t)return null;r=typeof r==`function`?{onLoad:r}:r||{};var o=I,s=null;function c(i){try{var c=typeof i==`object`?i:new e.DOMParser().parseFromString(i.trim(),`image/svg+xml`);if(!c.nodeName)throw c=null,Error(`Unsupported SVG source: `+t);I=o,s=M(c,r,!0),r&&r.insert===!1||a._insertItem(n,s);var u=r.onLoad;u&&u(s,i)}catch(e){l(e)}}function l(e,t){var n=r.onError;if(n)n(e,t);else throw Error(e)}if(typeof t==`string`&&!/^[\s\S]*</.test(t)){var u=i.getElementById(t);u?c(u):be.request({url:t,async:!0,onLoad:c,onError:l})}else if(typeof File<`u`&&t instanceof File){var d=new FileReader;return d.onload=function(){c(d.result)},d.onerror=function(){l(d.error)},d.readAsText(t)}else c(t);return s}S.inject({importSVG:function(e,t){return ee(e,t,this)}}),x.inject({importSVG:function(e,t){return this.activate(),ee(e,t,this)}})};var I=new(s.inject(a.exports,{Base:a,Numerical:d,Key:P,DomEvent:fe,DomElement:de,document:i,window:r,Symbol:O,PlacedSymbol:D}));return I.agent.node&&Vf()(I),typeof define==`function`&&define.amd?define(`paper`,I):typeof t==`object`&&t&&(t.exports=I),I}).call(n,typeof self==`object`?self:null)}))(),1),X=e=>String(Math.round(e*1e3)/1e3);function Z(e){return e.kind===`line`?!1:e.kind!==`path`||Uf(e).every(e=>e.closed)}function Uf(e){return[{points:e.points,closed:e.closed},...e.subpaths??[]]}function Wf(e,t){let[n,...r]=e;return{kind:`path`,points:n.points,closed:n.closed,view:t,...r.length?{subpaths:r}:{}}}function Gf(e,t,n){let r=e===void 0?[0,0,0,0]:Array.isArray(e)?[...e]:[e,e,e,e],i=Math.max(0,Math.min(t,n)/2);return r.map(e=>Math.max(0,Math.min(e,i)))}function Kf(e,t,n){let[r,i,a,o]=n;if(!r&&!i&&!a&&!o)return`M0 0H${X(e)}V${X(t)}H0Z`;let s=(e,t,n)=>e?`A${X(e)} ${X(e)} 0 0 1 ${X(t)} ${X(n)}`:``;return`M${X(r)} 0H${X(e-i)}${s(i,e,i)}V${X(t-a)}${s(a,e-a,t)}H${X(o)}${s(o,0,t-o)}V${X(r)}${s(r,r,0)}Z`}function qf(e,t,n,r=1){let i=n*Math.PI/180;return{x:e/2+e/2*r*Math.cos(i),y:t/2+t/2*r*Math.sin(i)}}function Jf(e,t,n=0,r=1,i=0){let a=e/2,o=t/2;if(r>=1||r<=0){if(r<=0)return``;let e=(e,t)=>`M${X(a+a*e)} ${X(o)}A${X(a*e)} ${X(o*e)} 0 1 ${t} ${X(a-a*e)} ${X(o)}A${X(a*e)} ${X(o*e)} 0 1 ${t} ${X(a+a*e)} ${X(o)}Z`;return i>0?e(1,1)+e(i,0):e(1,1)}let s=n+r*360,c=+(r>.5),l=qf(e,t,n),u=qf(e,t,s);if(i<=0)return`M${X(a)} ${X(o)}L${X(l.x)} ${X(l.y)}A${X(a)} ${X(o)} 0 ${c} 1 ${X(u.x)} ${X(u.y)}Z`;let d=qf(e,t,n,i),f=qf(e,t,s,i);return`M${X(l.x)} ${X(l.y)}A${X(a)} ${X(o)} 0 ${c} 1 ${X(u.x)} ${X(u.y)}L${X(f.x)} ${X(f.y)}A${X(a*i)} ${X(o*i)} 0 ${c} 0 ${X(d.x)} ${X(d.y)}Z`}function Yf(e,t,n){let r=Array.from({length:e},(t,n)=>{let r=(-90+n*360/e)*Math.PI/180;return{x:Math.cos(r),y:Math.sin(r)}}),i=Math.min(...r.map(e=>e.x)),a=Math.max(...r.map(e=>e.x)),o=Math.min(...r.map(e=>e.y)),s=Math.max(...r.map(e=>e.y));return r.map(e=>({x:(e.x-i)/(a-i||1)*t,y:(e.y-o)/(s-o||1)*n}))}function Xf(e,t,n,r=0){let i=Yf(e,t,n);if(!r)return`M${i.map(e=>`${X(e.x)} ${X(e.y)}`).join(`L`)}Z`;let a=``;return i.forEach((e,t)=>{let n=i[(t-1+i.length)%i.length],o=i[(t+1)%i.length],s=Math.hypot(n.x-e.x,n.y-e.y),c=Math.hypot(o.x-e.x,o.y-e.y);if(s<1e-6||c<1e-6){a+=`${t?`L`:`M`}${X(e.x)} ${X(e.y)}`;return}let l={x:(n.x-e.x)/s,y:(n.y-e.y)/s},u={x:(o.x-e.x)/c,y:(o.y-e.y)/c},d=Math.acos(Math.max(-1,Math.min(1,l.x*u.x+l.y*u.y))),f=Math.min(r/Math.tan(d/2),s/2,c/2),p=f*Math.tan(d/2);if(!Number.isFinite(f)||!Number.isFinite(p)||d<.001){a+=`${t?`L`:`M`}${X(e.x)} ${X(e.y)}`;return}let m={x:e.x+l.x*f,y:e.y+l.y*f},h={x:e.x+u.x*f,y:e.y+u.y*f};a+=`${t?`L`:`M`}${X(m.x)} ${X(m.y)}A${X(p)} ${X(p)} 0 0 1 ${X(h.x)} ${X(h.y)}`}),a+`Z`}function Zf(e,t,n,r){let i=t[0]?n/t[0]:1,a=t[1]?r/t[1]:1;return e.map(e=>({...e,x:e.x*i,y:e.y*a,...e.in?{in:[e.in[0]*i,e.in[1]*a]}:{},...e.out?{out:[e.out[0]*i,e.out[1]*a]}:{}}))}function Qf(e,t){let n=[];for(let t=0;t<e.length-1;t++)n.push([e[t],e[t+1]]);return t&&e.length>2&&n.push([e[e.length-1],e[0]]),n}function $f(e,t){if(!e.length)return``;let n=`M${X(e[0].x)} ${X(e[0].y)}`;for(let[r,i]of Qf(e,t))if(r.out||i.in){let e=r.out?{x:r.x+r.out[0],y:r.y+r.out[1]}:r,t=i.in?{x:i.x+i.in[0],y:i.y+i.in[1]}:i;n+=`C${X(e.x)} ${X(e.y)} ${X(t.x)} ${X(t.y)} ${X(i.x)} ${X(i.y)}`}else n+=`L${X(i.x)} ${X(i.y)}`;return t?n+`Z`:n}function ep(e,t,n=t.w,r=t.h){let i=t.shape;if(!Number.isFinite(n)||!Number.isFinite(r)||n<0||r<0)return``;switch(i.kind){case`rect`:return Kf(n,r,Gf(Ot(e,t.radius),n,r));case`ellipse`:return Jf(n,r,i.start??0,i.sweep??1,i.ratio??0);case`line`:return i.flip?`M0 ${X(r)}L${X(n)} 0`:`M0 0L${X(n)} ${X(r)}`;case`polygon`:{let a=Ot(e,t.radius);return Xf(i.count,n,r,Array.isArray(a)?a[0]:a??0)}case`path`:{let a=Ot(e,t.radius),o=(Array.isArray(a)?a[0]:a)??0;return Uf(i).map(e=>{let t=Zf(e.points,i.view,n,r);return $f(o||t.some(e=>e.r)?fp(t,e.closed,o):t,e.closed)}).join(``)}}}var tp=(e,t,n)=>({x:e.x+(t.x-e.x)*n,y:e.y+(t.y-e.y)*n});function np(e,t){return[{x:e.x,y:e.y},e.out?{x:e.x+e.out[0],y:e.y+e.out[1]}:{x:e.x,y:e.y},t.in?{x:t.x+t.in[0],y:t.y+t.in[1]}:{x:t.x,y:t.y},{x:t.x,y:t.y}]}function rp(e,t){let n=tp(e[0],e[1],t),r=tp(e[1],e[2],t),i=tp(e[2],e[3],t);return tp(tp(n,r,t),tp(r,i,t),t)}function ip(e,t,n){let r=!e.out&&!t.in,i=np(e,t);if(r){let r=tp(i[0],i[3],n);return[e,{x:r.x,y:r.y},t]}let a=tp(i[0],i[1],n),o=tp(i[1],i[2],n),s=tp(i[2],i[3],n),c=tp(a,o,n),l=tp(o,s,n),u=tp(c,l,n);return[{...e,out:[a.x-e.x,a.y-e.y]},{x:u.x,y:u.y,in:[c.x-u.x,c.y-u.y],out:[l.x-u.x,l.y-u.y]},{...t,in:[s.x-t.x,s.y-t.y]}]}function ap(e,t,n){let r=null;return Qf(e,t).forEach((e,t)=>{let i=np(e[0],e[1]);for(let e=0;e<=64;e++){let a=e/64,o=rp(i,a),s=Math.hypot(o.x-n.x,o.y-n.y);(!r||s<r.dist)&&(r={seg:t,t:a,dist:s})}}),r}function op(e,t){let n=1/0,r=1/0,i=-1/0,a=-1/0,o=e=>{n=Math.min(n,e.x),r=Math.min(r,e.y),i=Math.max(i,e.x),a=Math.max(a,e.y)};e.forEach(o);for(let[n,r]of Qf(e,t)){if(!n.out&&!r.in)continue;let e=np(n,r);for(let t=1;t<48;t++)o(rp(e,t/48))}return e.length?{x:n,y:r,w:i-n,h:a-r}:{x:0,y:0,w:0,h:0}}function sp(e,t){let n=op(e,t),r=e=>Math.round(e*100)/100,i=e.map(e=>({...e,x:r(e.x-n.x),y:r(e.y-n.y),...e.in?{in:[r(e.in[0]),r(e.in[1])]}:{},...e.out?{out:[r(e.out[0]),r(e.out[1])]}:{}}));return{x:n.x,y:n.y,w:n.w,h:n.h,points:i}}function cp(e){let t=1/0,n=1/0,r=-1/0,i=-1/0;for(let a of e){if(!a.points.length)continue;let e=op(a.points,a.closed);t=Math.min(t,e.x),n=Math.min(n,e.y),r=Math.max(r,e.x+e.w),i=Math.max(i,e.y+e.h)}if(!Number.isFinite(t))return{x:0,y:0,w:0,h:0,contours:e};let a=e=>Math.round(e*100)/100,o=e.map(e=>({closed:e.closed,points:e.points.map(e=>({...e,x:a(e.x-t),y:a(e.y-n),...e.in?{in:[a(e.in[0]),a(e.in[1])]}:{},...e.out?{out:[a(e.out[0]),a(e.out[1])]}:{}}))}));return{x:t,y:n,w:r-t,h:i-n,contours:o}}function lp(e,t=100){let n=e=>Math.round(e*t)/t,r=1/t,i=e=>{if(!e)return;let t=[n(e[0]),n(e[1])];return Math.hypot(t[0],t[1])<r?void 0:t},a=(e,t)=>Math.abs(e.x-t.x)<r&&Math.abs(e.y-t.y)<r,o=[];for(let t of e.points){let e={x:n(t.x),y:n(t.y)},r=i(t.in),s=i(t.out);r&&(e.in=r),s&&(e.out=s),t.r&&(e.r=t.r);let c=o[o.length-1];c&&a(c,e)?e.out?c.out=e.out:delete c.out:o.push(e)}if(e.closed&&o.length>2&&a(o[0],o[o.length-1])){let e=o.pop();e.in?o[0].in=e.in:delete o[0].in}let s=!0;for(;s&&o.length>(e.closed?3:2);){s=!1;let t=o.length;for(let n=0;n<t;n++){if(!e.closed&&(n===0||n===t-1))continue;let i=o[n],a=o[(n-1+t)%t],c=o[(n+1)%t];if(i.in||i.out||a.out||c.in||i.r)continue;let l=(i.x-a.x)*(c.y-a.y)-(i.y-a.y)*(c.x-a.x),u=Math.hypot(c.x-a.x,c.y-a.y),d=(i.x-a.x)*(c.x-a.x)+(i.y-a.y)*(c.y-a.y);if(u>0&&Math.abs(l)/u<r&&d>=0&&d<=u*u){o=o.filter((e,t)=>t!==n),s=!0;break}}}return{points:o,closed:e.closed}}function up(e){return e.shape.kind===`line`&&e.shape.flip?[{x:e.x,y:e.y+e.h},{x:e.x+e.w,y:e.y}]:[{x:e.x,y:e.y},{x:e.x+e.w,y:e.y+e.h}]}function dp(e,t){let n=e=>Math.round(e*100)/100,r=Math.min(e.x,t.x),i=Math.min(e.y,t.y),a=e.x<=t.x?e:t,o=a===e?t:e,s=a.y>o.y;return{x:n(r),y:n(i),w:n(Math.abs(t.x-e.x)),h:n(Math.abs(t.y-e.y)),shape:s?{kind:`line`,flip:!0}:{kind:`line`}}}function fp(e,t,n){if(!(n>0)&&!e.some(e=>e.r)||e.length<3)return e;let r=e.length,i=[];return e.forEach((a,o)=>{let s=a.r??n;if(!(s>0)){i.push(a);return}let c=e[(o-1+r)%r],l=e[(o+1)%r],u=!t&&(o===0||o===r-1),d=!a.in&&!a.out&&!c.out&&!l.in,f=Math.hypot(c.x-a.x,c.y-a.y),p=Math.hypot(l.x-a.x,l.y-a.y);if(u||!d||f<1e-6||p<1e-6){i.push(a);return}let m={x:(c.x-a.x)/f,y:(c.y-a.y)/f},h={x:(l.x-a.x)/p,y:(l.y-a.y)/p},g=Math.acos(Math.max(-1,Math.min(1,m.x*h.x+m.y*h.y)));if(g>Math.PI-.001||g<.001){i.push(a);return}let _=Math.tan(g/2),v=Math.min(s/_,f/2,p/2),y=v*_,b=Math.PI-g,x=4/3*Math.tan(b/4)*y;if(!Number.isFinite(v)||!Number.isFinite(x)){i.push(a);return}let S={x:a.x+m.x*v,y:a.y+m.y*v},C={x:a.x+h.x*v,y:a.y+h.y*v};i.push({x:S.x,y:S.y,out:[-m.x*x,-m.y*x]}),i.push({x:C.x,y:C.y,in:[-h.x*x,-h.y*x]})}),i}var pp=null;function mp(){return pp}var hp=null;function gp(){if(!hp){hp=new Hf.default.PaperScope;try{hp.setup(new hp.Size(1,1))}catch{new hp.Project(new hp.Size(1,1))}}return hp.activate(),hp}function _p(e){let t=e=>Math.abs(e.x)<1e-6&&Math.abs(e.y)<1e-6?void 0:[e.x,e.y];return e.segments.map(e=>{let n={x:e.point.x,y:e.point.y},r=t(e.handleIn),i=t(e.handleOut);return r&&(n.in=r),i&&(n.out=i),n})}function vp(e,t){let n=gp(),r=e.nodes[t];if(!r||r.hidden)return null;let i=null;if(r.type===`shape`){let t=new n.CompoundPath(ep(e,r));for(let e of t.children)e.closed=!0;r.rotation&&t.rotate(r.rotation,new n.Point(r.w/2,r.h/2)),i=t}else if(r.type===`frame`&&r.boolean){let t=bp(n,e,r).d;t&&(i=new n.CompoundPath(t))}return i?.translate(new n.Point(r.x,r.y)),i}function yp(e,t){let n=gp();try{return bp(n,e,t)}catch{return{d:``,bounds:null,failed:!0}}finally{n.project.clear()}}function bp(e,t,n){let r=n.children.map(e=>vp(t,e)).filter(e=>!!e),i={d:``,bounds:null};if(r.length){let a=r[0];for(let e of r.slice(1)){let t=n.boolean===`subtract`?a.subtract(e):n.boolean===`intersect`?a.intersect(e):n.boolean===`exclude`?a.exclude(e):a.unite(e);a.remove(),e.remove(),a=t}let o=Ot(t,n.radius),s=Array.isArray(o)?o[0]:o??0;if(s>0){let t=a instanceof e.CompoundPath?a.children:[a],n=1/0,r=1/0,o=-1/0,c=-1/0,l=t.map(e=>{let t=fp(_p(e),!0,s),i=op(t,!0);return n=Math.min(n,i.x),r=Math.min(r,i.y),o=Math.max(o,i.x+i.w),c=Math.max(c,i.y+i.h),$f(t,!0)}).join(``);i={d:l,bounds:l&&o>n&&c>r?{x:n,y:r,w:o-n,h:c-r}:null}}else{let e=a.bounds,t=a.pathData;i={d:t,bounds:t&&e.width>0&&e.height>0?{x:e.x,y:e.y,w:e.width,h:e.height}:null}}a.remove()}return i}var xp=new WeakMap;function Sp(e,t){let n=[t.boolean,e.styles.radius],r=t=>{let i=e.nodes[t];n.push(i),i?.type===`frame`&&i.children.forEach(r)};t.children.forEach(r);let i=xp.get(t);if(i&&i.key.length===n.length&&i.key.every((e,t)=>e===n[t]))return i.r;let a=yp(e,t);return xp.set(t,{key:n,r:a}),a}function Cp(e,t){let n=new Set;for(let r of t)for(let t=r;t;t=e.nodes[t]?.parent??null){let r=e.nodes[t];r?.type===`frame`&&r.boolean&&n.add(t)}let r=t=>{let n=0;for(let r=e.nodes[t]?.parent??null;r;r=e.nodes[r]?.parent??null)n++;return n},i=e=>Math.round(e*100)/100;for(let t of[...n].sort((e,t)=>r(t)-r(e))){let n=e.nodes[t];if(!n||!n.boolean||!n.children.length)continue;let r=yp(e,n).bounds;if(!r){let t=n.children.map(t=>e.nodes[t]).filter(e=>e&&!e.hidden);if(!t.length)continue;let i=Math.min(...t.map(e=>e.x)),a=Math.min(...t.map(e=>e.y));r={x:i,y:a,w:Math.max(...t.map(e=>e.x+e.w))-i,h:Math.max(...t.map(e=>e.y+e.h))-a}}let a=i(r.x),o=i(r.y),s=Math.max(0,i(r.w)),c=Math.max(0,i(r.h));if((a||o||s!==n.w||c!==n.h)&&(n.x=i(n.x+a),n.y=i(n.y+o),n.w=s,n.h=c,a||o))for(let t of n.children){let n=e.nodes[t];n.x=i(n.x-a),n.y=i(n.y-o)}}}function wp(e,t){let n=t.shape,r=t.w,i=t.h,a=[r||1,i||1];if(n.kind===`path`)return{points:n.points,closed:n.closed,view:n.view,...n.subpaths?.length?{subpaths:n.subpaths}:{},radius:typeof t.radius==`string`||typeof t.radius==`number`?t.radius:Array.isArray(t.radius)?t.radius[0]:null};if(n.kind===`line`)return{points:n.flip?[{x:0,y:i},{x:r,y:0}]:[{x:0,y:0},{x:r,y:i}],closed:!1,view:a,radius:null};if(n.kind===`rect`){let e=[{x:0,y:0},{x:r,y:0},{x:r,y:i},{x:0,y:i}],n=t.radius;return Array.isArray(n)?n.every(e=>e===n[0])?{points:e,closed:!0,view:a,radius:n[0]||null}:{points:e.map((e,t)=>n[t]?{...e,r:n[t]}:e),closed:!0,view:a,radius:null}:{points:e,closed:!0,view:a,radius:n??null}}if(n.kind===`polygon`){let e=t.radius;return{points:Yf(n.count,r,i),closed:!0,view:a,radius:Array.isArray(e)?e[0]||null:e??null}}if((n.sweep??1)<=0)return{error:`this arc has a 0% sweep: there's no outline to edit`};let o=gp();try{let n=new o.CompoundPath(ep(e,t)).children.map(e=>lp({points:_p(e),closed:e.closed},1e3)).filter(e=>e.points.length>=2);if(!n.length)return{error:`this shape has no outline to edit`};let[r,...i]=n;return{points:r.points,closed:r.closed,view:a,radius:null,...i.length?{subpaths:i}:{}}}finally{o.project.clear()}}function Tp(e,t,n){let r=[];for(let i of t){let t=n?.[i.id],a=t?.x??i.x,o=t?.y??i.y,s=``,c=i.w,l=i.h,u=!1,d=!1;if(i.type===`shape`)c=t?.w??i.w,l=t?.h??i.h,s=ep(e,i,c,l),d=i.shape.kind===`path`&&!!i.shape.subpaths?.length,u=i.shape.kind===`ellipse`;else if(i.type===`frame`&&i.boolean)s=yp(e,i).d,u=!0;else continue;if(!s)continue;let f=gp();try{let e=new f.CompoundPath(s),t=e.children;if(!d){if(u&&t.length>1)e.reorient(!1,!0);else for(let e of t)e.closed&&!e.clockwise&&e.reverse()}let n=i.type===`shape`?i.rotation??0:0;n&&e.rotate(n,new f.Point(c/2,l/2)),e.translate(new f.Point(a,o));for(let t of e.children){let e=lp({points:_p(t),closed:t.closed});e.points.length>=2&&r.push(e)}}finally{f.project.clear()}}return r}function Ep(e,t,n,r,i,a,o){n&&t.rotate(n,new e.Point(r/2,i/2)),t.translate(new e.Point(a,o));let s=[];for(let e of t.children){let t=lp({points:_p(e),closed:e.closed});t.points.length>=2&&s.push(t)}return s}function Dp(e,t){if(t.type!==`shape`&&!(t.type===`frame`&&t.boolean)||!t.stroke)return[];let n=t.stroke,r=mp();if(!r)throw Error(`Outline stroke isn't available here (its geometry engine isn't loaded)`);let i=t.type===`shape`?ep(e,t):yp(e,t).d;if(!i)return[];let a=t.type!==`shape`||Z(t.shape),o=gp();try{let e=new o.CompoundPath(i),s=e.pathData;e.remove();let c=r(s,{width:n.width,cap:n.cap??`none`,align:a?n.align??`inside`:`center`,evenodd:t.type!==`shape`||t.shape.kind===`ellipse`});if(!c)return[];let l=new o.CompoundPath(c);return l.reorient(!1,!0),Ep(o,l,t.type===`shape`?t.rotation??0:0,t.w,t.h,t.x,t.y)}finally{o.project.clear()}}var Op=[`fills`,`stroke`,`effects`,`blend`];function kp(e,t){return t.color??(t.style?e.styles.text[t.style.slice(1)]?.color:void 0)??`#000000`}function Ap(e){return!!e.fills?.some(e=>e.visible!==!1)||!!(e.stroke&&e.stroke.visible!==!1&&e.stroke.width>0)}function jp(e,t,n={},r={},i){let a=[],o=gp(),s=e=>{throw new Mp(e)},c=(e,t,r)=>{let i=n[e.id];return i?{x:i.x,y:i.y,w:i.w??e.w,h:i.h??e.h}:(r&&s(`${e.name} sits in an auto layout, where its place comes from the layout: pass its measured box`),t?{x:t.x+e.x,y:t.y+e.y,w:e.w,h:e.h}:{x:e.x,y:e.y,w:e.w,h:e.h})},l=(e,t,n,r,i,s,c=0)=>{if(t)try{let l=new o.CompoundPath(t),u=l;if(s===`nonzero`)u.reorient(!0,!0);else if(s===`evenodd`)u.children.length>1&&u.reorient(!1,!0);else if(s===`clockwise`)for(let e of u.children)e.closed&&!e.clockwise&&e.reverse();c&&l.rotate(c,new o.Point(n.w/2,n.h/2)),l.translate(new o.Point(n.x,n.y)),i&&(l=l.intersect(new o.CompoundPath(i),{insert:!1}));let d=(l instanceof o.CompoundPath?l.children:[l]).map(e=>lp({points:_p(e),closed:e.closed})).filter(e=>e.points.length>=2);d.length&&a.push({id:e.id,contours:d,look:r,box:n})}finally{o.project.clear()}},u=(e,t,n)=>{let r={...n};for(let t of Op)!(t in r)&&e[t]!==void 0&&(r[t]=JSON.parse(JSON.stringify(e[t])));return t<1&&(r.opacity=Math.round(t*1e3)/1e3),r},d=(t,n,a,f,p,m)=>{if(!m&&t.hidden)return;!m&&t.rotation&&s(`${t.name} is turned inside the selection; turned layers inside a frame can't be flattened yet`);let h=c(t,n,a),g=t.id===i?f:f*(t.opacity??1);if(t.type===`vector`)return s(`${t.name} is an image or SVG layer; icons and SVG layers can't be flattened yet`);if(t.type===`text`){let n=r[t.id];if(n===void 0)return s(`${t.name} is text: its outlines weren't measured`);let i=se(t.spans,t.content.length);for(let r of typeof n==`string`?[{d:n}]:n){let n=(r.span===void 0?void 0:i[r.span]?.color)??kp(e,t);l(t,r.d,h,u(t,g,{fills:[{type:`solid`,color:n}]}),p,`nonzero`,t.rotation??0)}return}if(t.type===`shape`){l(t,ep(e,t,h.w,h.h),h,u(t,g,{}),p,t.shape.kind===`ellipse`?`evenodd`:t.shape.kind===`path`&&t.shape.subpaths?.length?`keep`:`clockwise`,t.rotation??0);return}if(t.rotation)return s(`${t.name} is a turned frame; turned frames can't be flattened yet`);if(t.boolean){l(t,yp(e,t).d,h,u(t,g,{}),p,`evenodd`);return}let _=ep(e,{shape:{kind:`rect`},radius:t.radius,w:h.w,h:h.h});if(Ap(t)){let{stroke:e,...n}=u(t,g,{}),r=e;l(t,_,h,{...n,...r?{stroke:(({sides:e,...t})=>t)(r)}:{}},p,`clockwise`)}let v=p;if(t.clip)try{let e=new o.CompoundPath(_);e.translate(new o.Point(h.x,h.y)),v=p?e.intersect(new o.CompoundPath(p),{insert:!1}).pathData:e.pathData}finally{o.project.clear()}let y=t.layout.mode!==`free`;for(let n of t.children){let t=e.nodes[n];t&&d(t,h,y&&!t.absolute,g,v,!1)}};try{for(let e of t)d(e,null,!1,1,null,!0)}catch(e){if(e instanceof Mp)return{error:e.message};throw e}return a}var Mp=class extends Error{};function Np(e){let t=[],n=e=>!e.fills||e.fills.every(e=>e.type===`solid`);for(let r of e){let e=t[t.length-1];e&&n(r.look)&&n(e.look)&&JSON.stringify(e.look)===JSON.stringify(r.look)?e.contours=[...e.contours,...r.contours]:t.push({...r,contours:[...r.contours]})}return t}function Pp(e,t){let n=e.nodes[t]?.parent,r=n?e.nodes[n]:null;return r?.type===`frame`&&r.componentSet?r:null}function Fp(e,t){let n=e.nodes[t];return n?.type===`frame`?Pp(e,t)??n:null}function Ip(e,t,n){return!!t.props?.[n]||!!t.componentSet&&Rp(e,t.id).some(e=>e.name===n)}function Lp(e,t){let n=e.nodes[t];return n?.type!==`frame`||!n.componentSet?[]:n.children.map(t=>e.nodes[t]).filter(e=>e?.type===`frame`&&!!e.main)}function Rp(e,t){let n=new Map;for(let r of Lp(e,t))for(let[e,t]of Object.entries(r.variant??{})){let r=n.get(e)??[];r.includes(t)||r.push(t),n.set(e,r)}return[...n].map(([e,t])=>({name:e,values:t}))}function zp(e,t){let n=Pp(e,t),r=Fp(e,t);return[...n?Rp(e,n.id).map(e=>({name:e.name,type:`variant`,values:e.values})):[],...Object.entries(r?.props??{}).map(([e,t])=>({name:e,type:t.type,def:t}))]}function Bp(e,t){let n=e.nodes[t],r=new Set;if(n?.type!==`frame`||!n.instanceOf)return r;let i=n.instanceOf,a=n=>!!n&&Xp(e,t,n)===!1,o=t=>{for(let n=e.nodes[t];n;n=n.id===i||!n.parent?void 0:e.nodes[n.parent])if(a(n.bind?.visible))return!0;return!1},s=new Map,c=t=>{let n=e.nodes[t];if(n){for(let e of[n.bind?.content,n.bind?.swap])e&&s.set(e,[...s.get(e)??[],o(t)]);n.type===`frame`&&n.children.forEach(c)}};c(i);for(let[e,t]of s)t.length&&t.every(Boolean)&&r.add(e);return r}function Vp(e,t){let n=Rp(e,t).map(e=>e.name),r=new Map;for(let i of Lp(e,t)){let e=n.map(e=>i.variant?.[e]??``).join(`\0`);r.set(e,[...r.get(e)??[],i.id])}return[...r.values()].filter(e=>e.length>1)}function Hp(e,t,n){let r=Pp(e,t);if(!r)return null;let i={...e.nodes[t].variant,...n},a=null,o=-1;for(let t of Lp(e,r.id)){let e=t.variant??{};if(Object.entries(n).some(([t,n])=>e[t]!==n))continue;let r=Object.entries(i).filter(([t,n])=>e[t]===n).length;r>o&&(a=t,o=r)}return a}function Up(e,t){let n=new Map,r=(i,a)=>{let o=e.nodes[i];if(o?.type!==`frame`||o.instanceOf&&i!==t)return;let s=new Map;for(let t of o.children){let i=e.nodes[t];if(!i)continue;let o=s.get(i.name)??0;s.set(i.name,o+1);let c=`${a}\u0000${i.type}:${i.name}#${o}`;n.set(t,c),r(t,c)}};return r(t,``),n}function Wp(e,t,n,r){let i=Up(e,t),a=new Map([...Up(e,n)].map(([e,t])=>[t,e])),o={};for(let[s,c]of Object.entries(r)){if(s===t){o[n]=c;continue}let[r,...l]=s.split(`/`),u=a.get(i.get(r)??``);if(u){if(l.length){let t=e.nodes[r],n=e.nodes[u];if(t?.type!==`frame`||n?.type!==`frame`||t.instanceOf!==n.instanceOf)continue}o[[u,...l].join(`/`)]=c}}return o}function Gp(e,t){let n=[],r=i=>{let a=e.nodes[i];a&&(a.bind&&i!==t&&n.push(a),a.type===`frame`&&!(a.instanceOf&&i!==t)&&a.children.forEach(r))};return r(t),n}var Kp=e=>e===void 0?``:typeof e==`string`?e:typeof e==`boolean`?String(e):`${e.icon.pack}:${e.icon.name}`;function qp(e,t,n){let r=e.nodes[t]?.instanceOf;if(!r)return!1;let i=new Set([n]);return jm(e,n,i),i.has(r)}function Jp(e){if(e.type===`frame`&&e.instanceOf)return e.instanceOf;if(e.type===`vector`&&e.icon)return{icon:e.icon,asset:e.asset}}function Yp(e,t,n,r){let i=r===`text`?`content`:r===`boolean`?`visible`:`swap`,a=Gp(e,t).find(e=>e.bind?.[i]===n);if(a)return r===`text`?a.type===`text`?a.content:void 0:r===`boolean`?!a.hidden:Jp(a)}function Xp(e,t,n){let r=e.nodes[t];if(r?.type!==`frame`||!r.instanceOf)return;let i=e.nodes[r.instanceOf];if(i?.variant&&n in i.variant)return i.variant[n];if(r.values&&n in r.values)return r.values[n];let a=Fp(e,r.instanceOf)?.props?.[n];return a?Yp(e,r.instanceOf,n,a.type):void 0}function Zp(e){let t=e.split(`,`).map(e=>e.split(`=`));return t.every(e=>e.length===2&&e[0].trim()&&e[1].trim())?Object.fromEntries(t.map(([e,t])=>[e.trim(),t.trim()])):{"Property 1":e.trim()||`Default`}}var Qp=e=>Object.entries(e).map(([e,t])=>`${e}=${t}`).join(`, `),$p={shadcn:{id:`shadcn`,name:`shadcn/ui`,version:`2.0.0`,license:`MIT`,url:`https://ui.shadcn.com`,components:[{id:`n_sc-button`,name:`Button`,group:`Buttons`},{id:`n_sc-badge`,name:`Badge`,group:`Badges`},{id:`n_sc-input`,name:`Input`,group:`Inputs`},{id:`n_sc-textarea`,name:`Textarea`,group:`Inputs`},{id:`n_sc-select`,name:`Select`,group:`Selects`},{id:`n_sc-checkbox`,name:`Checkbox`,group:`Checkboxes`},{id:`n_sc-switch`,name:`Switch`,group:`Switches`},{id:`n_sc-radio`,name:`Radio`,group:`Radios`},{id:`n_sc-card`,name:`Card`,group:`Cards`},{id:`n_sc-avatar`,name:`Avatar`,group:`Avatars`},{id:`n_sc-tabs`,name:`Tabs`,group:`Tabs`},{id:`n_sc-tab`,name:`Tab`,group:`Tabs`},{id:`n_sc-alert`,name:`Alert`,group:`Alerts`},{id:`n_sc-separator`,name:`Separator`,group:`Separators`},{id:`n_sc-tooltip`,name:`Tooltip`,group:`Tooltips`},{id:`n_sc-menu`,name:`Dropdown menu`,group:`Menus`},{id:`n_sc-menu-item`,name:`Dropdown menu item`,group:`Menus`}],nodes:{"n_sc-button":{type:`frame`,id:`n_sc-button`,parent:null,name:`Button`,x:0,y:0,w:10,h:10,sizeX:`fixed`,sizeY:`fixed`,children:[`n_sc-button-default-default`,`n_sc-button-default-sm`,`n_sc-button-default-lg`,`n_sc-button-default-icon`,`n_sc-button-secondary-default`,`n_sc-button-secondary-sm`,`n_sc-button-secondary-lg`,`n_sc-button-secondary-icon`,`n_sc-button-outline-default`,`n_sc-button-outline-sm`,`n_sc-button-outline-lg`,`n_sc-button-outline-icon`,`n_sc-button-ghost-default`,`n_sc-button-ghost-sm`,`n_sc-button-ghost-lg`,`n_sc-button-ghost-icon`,`n_sc-button-destructive-default`,`n_sc-button-destructive-sm`,`n_sc-button-destructive-lg`,`n_sc-button-destructive-icon`,`n_sc-button-link-default`,`n_sc-button-link-sm`,`n_sc-button-link-lg`,`n_sc-button-link-icon`],layout:{mode:`free`,gap:0,pad:[0,0,0,0],alignMain:`start`,alignCross:`start`},clip:!1,componentSet:!0,props:{Label:{type:`text`},"Show icon":{type:`boolean`},Icon:{type:`swap`}}},"n_sc-button-default-default":{type:`frame`,id:`n_sc-button-default-default`,parent:`n_sc-button`,name:`Variant=default, Size=default`,x:20,y:20,w:80,h:36,sizeX:`hug`,sizeY:`fixed`,children:[`n_sc-i-0`,`n_sc-t-1`],layout:{mode:`row`,gap:8,pad:[0,16,0,16],alignMain:`center`,alignCross:`center`},clip:!1,radius:`$radius-md`,effects:[{type:`shadow`,x:0,y:1,blur:2,spread:0,color:`#0000000d`}],variant:{Variant:`default`,Size:`default`},main:!0,fills:[{type:`solid`,color:`$primary`}]},"n_sc-i-0":{type:`vector`,id:`n_sc-i-0`,parent:`n_sc-button-default-default`,name:`Icon`,x:0,y:0,w:16,h:16,sizeX:`fixed`,sizeY:`fixed`,asset:`kit:lucide/arrow-right`,hidden:!0,color:`$primary-foreground`,icon:{pack:`lucide`,name:`arrow-right`},bind:{visible:`Show icon`,swap:`Icon`}},"n_sc-t-1":{type:`text`,id:`n_sc-t-1`,parent:`n_sc-button-default-default`,name:`Label`,x:0,y:0,w:0,h:0,sizeX:`hug`,sizeY:`hug`,content:`Button`,style:`$text-sm`,fontSize:14,fontWeight:500,lineHeight:20,color:`$primary-foreground`,bind:{content:`Label`}},"n_sc-button-default-sm":{type:`frame`,id:`n_sc-button-default-sm`,parent:`n_sc-button`,name:`Variant=default, Size=sm`,x:120,y:20,w:80,h:32,sizeX:`hug`,sizeY:`fixed`,children:[`n_sc-i-2`,`n_sc-t-3`],layout:{mode:`row`,gap:6,pad:[0,12,0,12],alignMain:`center`,alignCross:`center`},clip:!1,radius:`$radius-md`,effects:[{type:`shadow`,x:0,y:1,blur:2,spread:0,color:`#0000000d`}],variant:{Variant:`default`,Size:`sm`},main:!0,fills:[{type:`solid`,color:`$primary`}]},"n_sc-i-2":{type:`vector`,id:`n_sc-i-2`,parent:`n_sc-button-default-sm`,name:`Icon`,x:0,y:0,w:16,h:16,sizeX:`fixed`,sizeY:`fixed`,asset:`kit:lucide/arrow-right`,hidden:!0,color:`$primary-foreground`,icon:{pack:`lucide`,name:`arrow-right`},bind:{visible:`Show icon`,swap:`Icon`}},"n_sc-t-3":{type:`text`,id:`n_sc-t-3`,parent:`n_sc-button-default-sm`,name:`Label`,x:0,y:0,w:0,h:0,sizeX:`hug`,sizeY:`hug`,content:`Button`,style:`$text-sm`,fontSize:14,fontWeight:500,lineHeight:20,color:`$primary-foreground`,bind:{content:`Label`}},"n_sc-button-default-lg":{type:`frame`,id:`n_sc-button-default-lg`,parent:`n_sc-button`,name:`Variant=default, Size=lg`,x:220,y:20,w:80,h:40,sizeX:`hug`,sizeY:`fixed`,children:[`n_sc-i-4`,`n_sc-t-5`],layout:{mode:`row`,gap:8,pad:[0,24,0,24],alignMain:`center`,alignCross:`center`},clip:!1,radius:`$radius-md`,effects:[{type:`shadow`,x:0,y:1,blur:2,spread:0,color:`#0000000d`}],variant:{Variant:`default`,Size:`lg`},main:!0,fills:[{type:`solid`,color:`$primary`}]},"n_sc-i-4":{type:`vector`,id:`n_sc-i-4`,parent:`n_sc-button-default-lg`,name:`Icon`,x:0,y:0,w:16,h:16,sizeX:`fixed`,sizeY:`fixed`,asset:`kit:lucide/arrow-right`,hidden:!0,color:`$primary-foreground`,icon:{pack:`lucide`,name:`arrow-right`},bind:{visible:`Show icon`,swap:`Icon`}},"n_sc-t-5":{type:`text`,id:`n_sc-t-5`,parent:`n_sc-button-default-lg`,name:`Label`,x:0,y:0,w:0,h:0,sizeX:`hug`,sizeY:`hug`,content:`Button`,style:`$text-sm`,fontSize:14,fontWeight:500,lineHeight:20,color:`$primary-foreground`,bind:{content:`Label`}},"n_sc-button-default-icon":{type:`frame`,id:`n_sc-button-default-icon`,parent:`n_sc-button`,name:`Variant=default, Size=icon`,x:320,y:20,w:36,h:36,sizeX:`fixed`,sizeY:`fixed`,children:[`n_sc-i-6`,`n_sc-t-7`],layout:{mode:`row`,gap:8,pad:[0,0,0,0],alignMain:`center`,alignCross:`center`},clip:!1,radius:`$radius-md`,effects:[{type:`shadow`,x:0,y:1,blur:2,spread:0,color:`#0000000d`}],variant:{Variant:`default`,Size:`icon`},main:!0,fills:[{type:`solid`,color:`$primary`}]},"n_sc-i-6":{type:`vector`,id:`n_sc-i-6`,parent:`n_sc-button-default-icon`,name:`Icon`,x:0,y:0,w:16,h:16,sizeX:`fixed`,sizeY:`fixed`,asset:`kit:lucide/plus`,color:`$primary-foreground`,icon:{pack:`lucide`,name:`plus`},bind:{swap:`Icon`}},"n_sc-t-7":{type:`text`,id:`n_sc-t-7`,parent:`n_sc-button-default-icon`,name:`Label`,x:0,y:0,w:0,h:0,sizeX:`hug`,sizeY:`hug`,content:`Button`,hidden:!0,style:`$text-sm`,fontSize:14,fontWeight:500,lineHeight:20,color:`$primary-foreground`,bind:{content:`Label`}},"n_sc-button-secondary-default":{type:`frame`,id:`n_sc-button-secondary-default`,parent:`n_sc-button`,name:`Variant=secondary, Size=default`,x:20,y:80,w:80,h:36,sizeX:`hug`,sizeY:`fixed`,children:[`n_sc-i-8`,`n_sc-t-9`],layout:{mode:`row`,gap:8,pad:[0,16,0,16],alignMain:`center`,alignCross:`center`},clip:!1,radius:`$radius-md`,effects:[{type:`shadow`,x:0,y:1,blur:2,spread:0,color:`#0000000d`}],variant:{Variant:`secondary`,Size:`default`},main:!0,fills:[{type:`solid`,color:`$secondary`}]},"n_sc-i-8":{type:`vector`,id:`n_sc-i-8`,parent:`n_sc-button-secondary-default`,name:`Icon`,x:0,y:0,w:16,h:16,sizeX:`fixed`,sizeY:`fixed`,asset:`kit:lucide/arrow-right`,hidden:!0,color:`$secondary-foreground`,icon:{pack:`lucide`,name:`arrow-right`},bind:{visible:`Show icon`,swap:`Icon`}},"n_sc-t-9":{type:`text`,id:`n_sc-t-9`,parent:`n_sc-button-secondary-default`,name:`Label`,x:0,y:0,w:0,h:0,sizeX:`hug`,sizeY:`hug`,content:`Button`,style:`$text-sm`,fontSize:14,fontWeight:500,lineHeight:20,color:`$secondary-foreground`,bind:{content:`Label`}},"n_sc-button-secondary-sm":{type:`frame`,id:`n_sc-button-secondary-sm`,parent:`n_sc-button`,name:`Variant=secondary, Size=sm`,x:120,y:80,w:80,h:32,sizeX:`hug`,sizeY:`fixed`,children:[`n_sc-i-a`,`n_sc-t-b`],layout:{mode:`row`,gap:6,pad:[0,12,0,12],alignMain:`center`,alignCross:`center`},clip:!1,radius:`$radius-md`,effects:[{type:`shadow`,x:0,y:1,blur:2,spread:0,color:`#0000000d`}],variant:{Variant:`secondary`,Size:`sm`},main:!0,fills:[{type:`solid`,color:`$secondary`}]},"n_sc-i-a":{type:`vector`,id:`n_sc-i-a`,parent:`n_sc-button-secondary-sm`,name:`Icon`,x:0,y:0,w:16,h:16,sizeX:`fixed`,sizeY:`fixed`,asset:`kit:lucide/arrow-right`,hidden:!0,color:`$secondary-foreground`,icon:{pack:`lucide`,name:`arrow-right`},bind:{visible:`Show icon`,swap:`Icon`}},"n_sc-t-b":{type:`text`,id:`n_sc-t-b`,parent:`n_sc-button-secondary-sm`,name:`Label`,x:0,y:0,w:0,h:0,sizeX:`hug`,sizeY:`hug`,content:`Button`,style:`$text-sm`,fontSize:14,fontWeight:500,lineHeight:20,color:`$secondary-foreground`,bind:{content:`Label`}},"n_sc-button-secondary-lg":{type:`frame`,id:`n_sc-button-secondary-lg`,parent:`n_sc-button`,name:`Variant=secondary, Size=lg`,x:220,y:80,w:80,h:40,sizeX:`hug`,sizeY:`fixed`,children:[`n_sc-i-c`,`n_sc-t-d`],layout:{mode:`row`,gap:8,pad:[0,24,0,24],alignMain:`center`,alignCross:`center`},clip:!1,radius:`$radius-md`,effects:[{type:`shadow`,x:0,y:1,blur:2,spread:0,color:`#0000000d`}],variant:{Variant:`secondary`,Size:`lg`},main:!0,fills:[{type:`solid`,color:`$secondary`}]},"n_sc-i-c":{type:`vector`,id:`n_sc-i-c`,parent:`n_sc-button-secondary-lg`,name:`Icon`,x:0,y:0,w:16,h:16,sizeX:`fixed`,sizeY:`fixed`,asset:`kit:lucide/arrow-right`,hidden:!0,color:`$secondary-foreground`,icon:{pack:`lucide`,name:`arrow-right`},bind:{visible:`Show icon`,swap:`Icon`}},"n_sc-t-d":{type:`text`,id:`n_sc-t-d`,parent:`n_sc-button-secondary-lg`,name:`Label`,x:0,y:0,w:0,h:0,sizeX:`hug`,sizeY:`hug`,content:`Button`,style:`$text-sm`,fontSize:14,fontWeight:500,lineHeight:20,color:`$secondary-foreground`,bind:{content:`Label`}},"n_sc-button-secondary-icon":{type:`frame`,id:`n_sc-button-secondary-icon`,parent:`n_sc-button`,name:`Variant=secondary, Size=icon`,x:320,y:80,w:36,h:36,sizeX:`fixed`,sizeY:`fixed`,children:[`n_sc-i-e`,`n_sc-t-f`],layout:{mode:`row`,gap:8,pad:[0,0,0,0],alignMain:`center`,alignCross:`center`},clip:!1,radius:`$radius-md`,effects:[{type:`shadow`,x:0,y:1,blur:2,spread:0,color:`#0000000d`}],variant:{Variant:`secondary`,Size:`icon`},main:!0,fills:[{type:`solid`,color:`$secondary`}]},"n_sc-i-e":{type:`vector`,id:`n_sc-i-e`,parent:`n_sc-button-secondary-icon`,name:`Icon`,x:0,y:0,w:16,h:16,sizeX:`fixed`,sizeY:`fixed`,asset:`kit:lucide/plus`,color:`$secondary-foreground`,icon:{pack:`lucide`,name:`plus`},bind:{swap:`Icon`}},"n_sc-t-f":{type:`text`,id:`n_sc-t-f`,parent:`n_sc-button-secondary-icon`,name:`Label`,x:0,y:0,w:0,h:0,sizeX:`hug`,sizeY:`hug`,content:`Button`,hidden:!0,style:`$text-sm`,fontSize:14,fontWeight:500,lineHeight:20,color:`$secondary-foreground`,bind:{content:`Label`}},"n_sc-button-outline-default":{type:`frame`,id:`n_sc-button-outline-default`,parent:`n_sc-button`,name:`Variant=outline, Size=default`,x:20,y:140,w:80,h:36,sizeX:`hug`,sizeY:`fixed`,children:[`n_sc-i-g`,`n_sc-t-h`],layout:{mode:`row`,gap:8,pad:[0,16,0,16],alignMain:`center`,alignCross:`center`},clip:!1,stroke:{color:`$border`,width:1},radius:`$radius-md`,effects:[{type:`shadow`,x:0,y:1,blur:2,spread:0,color:`#0000000d`}],variant:{Variant:`outline`,Size:`default`},main:!0,fills:[{type:`solid`,color:`$background`}]},"n_sc-i-g":{type:`vector`,id:`n_sc-i-g`,parent:`n_sc-button-outline-default`,name:`Icon`,x:0,y:0,w:16,h:16,sizeX:`fixed`,sizeY:`fixed`,asset:`kit:lucide/arrow-right`,hidden:!0,color:`$foreground`,icon:{pack:`lucide`,name:`arrow-right`},bind:{visible:`Show icon`,swap:`Icon`}},"n_sc-t-h":{type:`text`,id:`n_sc-t-h`,parent:`n_sc-button-outline-default`,name:`Label`,x:0,y:0,w:0,h:0,sizeX:`hug`,sizeY:`hug`,content:`Button`,style:`$text-sm`,fontSize:14,fontWeight:500,lineHeight:20,color:`$foreground`,bind:{content:`Label`}},"n_sc-button-outline-sm":{type:`frame`,id:`n_sc-button-outline-sm`,parent:`n_sc-button`,name:`Variant=outline, Size=sm`,x:120,y:140,w:80,h:32,sizeX:`hug`,sizeY:`fixed`,children:[`n_sc-i-i`,`n_sc-t-j`],layout:{mode:`row`,gap:6,pad:[0,12,0,12],alignMain:`center`,alignCross:`center`},clip:!1,stroke:{color:`$border`,width:1},radius:`$radius-md`,effects:[{type:`shadow`,x:0,y:1,blur:2,spread:0,color:`#0000000d`}],variant:{Variant:`outline`,Size:`sm`},main:!0,fills:[{type:`solid`,color:`$background`}]},"n_sc-i-i":{type:`vector`,id:`n_sc-i-i`,parent:`n_sc-button-outline-sm`,name:`Icon`,x:0,y:0,w:16,h:16,sizeX:`fixed`,sizeY:`fixed`,asset:`kit:lucide/arrow-right`,hidden:!0,color:`$foreground`,icon:{pack:`lucide`,name:`arrow-right`},bind:{visible:`Show icon`,swap:`Icon`}},"n_sc-t-j":{type:`text`,id:`n_sc-t-j`,parent:`n_sc-button-outline-sm`,name:`Label`,x:0,y:0,w:0,h:0,sizeX:`hug`,sizeY:`hug`,content:`Button`,style:`$text-sm`,fontSize:14,fontWeight:500,lineHeight:20,color:`$foreground`,bind:{content:`Label`}},"n_sc-button-outline-lg":{type:`frame`,id:`n_sc-button-outline-lg`,parent:`n_sc-button`,name:`Variant=outline, Size=lg`,x:220,y:140,w:80,h:40,sizeX:`hug`,sizeY:`fixed`,children:[`n_sc-i-k`,`n_sc-t-l`],layout:{mode:`row`,gap:8,pad:[0,24,0,24],alignMain:`center`,alignCross:`center`},clip:!1,stroke:{color:`$border`,width:1},radius:`$radius-md`,effects:[{type:`shadow`,x:0,y:1,blur:2,spread:0,color:`#0000000d`}],variant:{Variant:`outline`,Size:`lg`},main:!0,fills:[{type:`solid`,color:`$background`}]},"n_sc-i-k":{type:`vector`,id:`n_sc-i-k`,parent:`n_sc-button-outline-lg`,name:`Icon`,x:0,y:0,w:16,h:16,sizeX:`fixed`,sizeY:`fixed`,asset:`kit:lucide/arrow-right`,hidden:!0,color:`$foreground`,icon:{pack:`lucide`,name:`arrow-right`},bind:{visible:`Show icon`,swap:`Icon`}},"n_sc-t-l":{type:`text`,id:`n_sc-t-l`,parent:`n_sc-button-outline-lg`,name:`Label`,x:0,y:0,w:0,h:0,sizeX:`hug`,sizeY:`hug`,content:`Button`,style:`$text-sm`,fontSize:14,fontWeight:500,lineHeight:20,color:`$foreground`,bind:{content:`Label`}},"n_sc-button-outline-icon":{type:`frame`,id:`n_sc-button-outline-icon`,parent:`n_sc-button`,name:`Variant=outline, Size=icon`,x:320,y:140,w:36,h:36,sizeX:`fixed`,sizeY:`fixed`,children:[`n_sc-i-m`,`n_sc-t-n`],layout:{mode:`row`,gap:8,pad:[0,0,0,0],alignMain:`center`,alignCross:`center`},clip:!1,stroke:{color:`$border`,width:1},radius:`$radius-md`,effects:[{type:`shadow`,x:0,y:1,blur:2,spread:0,color:`#0000000d`}],variant:{Variant:`outline`,Size:`icon`},main:!0,fills:[{type:`solid`,color:`$background`}]},"n_sc-i-m":{type:`vector`,id:`n_sc-i-m`,parent:`n_sc-button-outline-icon`,name:`Icon`,x:0,y:0,w:16,h:16,sizeX:`fixed`,sizeY:`fixed`,asset:`kit:lucide/plus`,color:`$foreground`,icon:{pack:`lucide`,name:`plus`},bind:{swap:`Icon`}},"n_sc-t-n":{type:`text`,id:`n_sc-t-n`,parent:`n_sc-button-outline-icon`,name:`Label`,x:0,y:0,w:0,h:0,sizeX:`hug`,sizeY:`hug`,content:`Button`,hidden:!0,style:`$text-sm`,fontSize:14,fontWeight:500,lineHeight:20,color:`$foreground`,bind:{content:`Label`}},"n_sc-button-ghost-default":{type:`frame`,id:`n_sc-button-ghost-default`,parent:`n_sc-button`,name:`Variant=ghost, Size=default`,x:20,y:200,w:80,h:36,sizeX:`hug`,sizeY:`fixed`,children:[`n_sc-i-o`,`n_sc-t-p`],layout:{mode:`row`,gap:8,pad:[0,16,0,16],alignMain:`center`,alignCross:`center`},clip:!1,radius:`$radius-md`,variant:{Variant:`ghost`,Size:`default`},main:!0},"n_sc-i-o":{type:`vector`,id:`n_sc-i-o`,parent:`n_sc-button-ghost-default`,name:`Icon`,x:0,y:0,w:16,h:16,sizeX:`fixed`,sizeY:`fixed`,asset:`kit:lucide/arrow-right`,hidden:!0,color:`$foreground`,icon:{pack:`lucide`,name:`arrow-right`},bind:{visible:`Show icon`,swap:`Icon`}},"n_sc-t-p":{type:`text`,id:`n_sc-t-p`,parent:`n_sc-button-ghost-default`,name:`Label`,x:0,y:0,w:0,h:0,sizeX:`hug`,sizeY:`hug`,content:`Button`,style:`$text-sm`,fontSize:14,fontWeight:500,lineHeight:20,color:`$foreground`,bind:{content:`Label`}},"n_sc-button-ghost-sm":{type:`frame`,id:`n_sc-button-ghost-sm`,parent:`n_sc-button`,name:`Variant=ghost, Size=sm`,x:120,y:200,w:80,h:32,sizeX:`hug`,sizeY:`fixed`,children:[`n_sc-i-q`,`n_sc-t-r`],layout:{mode:`row`,gap:6,pad:[0,12,0,12],alignMain:`center`,alignCross:`center`},clip:!1,radius:`$radius-md`,variant:{Variant:`ghost`,Size:`sm`},main:!0},"n_sc-i-q":{type:`vector`,id:`n_sc-i-q`,parent:`n_sc-button-ghost-sm`,name:`Icon`,x:0,y:0,w:16,h:16,sizeX:`fixed`,sizeY:`fixed`,asset:`kit:lucide/arrow-right`,hidden:!0,color:`$foreground`,icon:{pack:`lucide`,name:`arrow-right`},bind:{visible:`Show icon`,swap:`Icon`}},"n_sc-t-r":{type:`text`,id:`n_sc-t-r`,parent:`n_sc-button-ghost-sm`,name:`Label`,x:0,y:0,w:0,h:0,sizeX:`hug`,sizeY:`hug`,content:`Button`,style:`$text-sm`,fontSize:14,fontWeight:500,lineHeight:20,color:`$foreground`,bind:{content:`Label`}},"n_sc-button-ghost-lg":{type:`frame`,id:`n_sc-button-ghost-lg`,parent:`n_sc-button`,name:`Variant=ghost, Size=lg`,x:220,y:200,w:80,h:40,sizeX:`hug`,sizeY:`fixed`,children:[`n_sc-i-s`,`n_sc-t-t`],layout:{mode:`row`,gap:8,pad:[0,24,0,24],alignMain:`center`,alignCross:`center`},clip:!1,radius:`$radius-md`,variant:{Variant:`ghost`,Size:`lg`},main:!0},"n_sc-i-s":{type:`vector`,id:`n_sc-i-s`,parent:`n_sc-button-ghost-lg`,name:`Icon`,x:0,y:0,w:16,h:16,sizeX:`fixed`,sizeY:`fixed`,asset:`kit:lucide/arrow-right`,hidden:!0,color:`$foreground`,icon:{pack:`lucide`,name:`arrow-right`},bind:{visible:`Show icon`,swap:`Icon`}},"n_sc-t-t":{type:`text`,id:`n_sc-t-t`,parent:`n_sc-button-ghost-lg`,name:`Label`,x:0,y:0,w:0,h:0,sizeX:`hug`,sizeY:`hug`,content:`Button`,style:`$text-sm`,fontSize:14,fontWeight:500,lineHeight:20,color:`$foreground`,bind:{content:`Label`}},"n_sc-button-ghost-icon":{type:`frame`,id:`n_sc-button-ghost-icon`,parent:`n_sc-button`,name:`Variant=ghost, Size=icon`,x:320,y:200,w:36,h:36,sizeX:`fixed`,sizeY:`fixed`,children:[`n_sc-i-u`,`n_sc-t-v`],layout:{mode:`row`,gap:8,pad:[0,0,0,0],alignMain:`center`,alignCross:`center`},clip:!1,radius:`$radius-md`,variant:{Variant:`ghost`,Size:`icon`},main:!0},"n_sc-i-u":{type:`vector`,id:`n_sc-i-u`,parent:`n_sc-button-ghost-icon`,name:`Icon`,x:0,y:0,w:16,h:16,sizeX:`fixed`,sizeY:`fixed`,asset:`kit:lucide/plus`,color:`$foreground`,icon:{pack:`lucide`,name:`plus`},bind:{swap:`Icon`}},"n_sc-t-v":{type:`text`,id:`n_sc-t-v`,parent:`n_sc-button-ghost-icon`,name:`Label`,x:0,y:0,w:0,h:0,sizeX:`hug`,sizeY:`hug`,content:`Button`,hidden:!0,style:`$text-sm`,fontSize:14,fontWeight:500,lineHeight:20,color:`$foreground`,bind:{content:`Label`}},"n_sc-button-destructive-default":{type:`frame`,id:`n_sc-button-destructive-default`,parent:`n_sc-button`,name:`Variant=destructive, Size=default`,x:20,y:260,w:80,h:36,sizeX:`hug`,sizeY:`fixed`,children:[`n_sc-i-w`,`n_sc-t-x`],layout:{mode:`row`,gap:8,pad:[0,16,0,16],alignMain:`center`,alignCross:`center`},clip:!1,radius:`$radius-md`,effects:[{type:`shadow`,x:0,y:1,blur:2,spread:0,color:`#0000000d`}],variant:{Variant:`destructive`,Size:`default`},main:!0,fills:[{type:`solid`,color:`$destructive`}]},"n_sc-i-w":{type:`vector`,id:`n_sc-i-w`,parent:`n_sc-button-destructive-default`,name:`Icon`,x:0,y:0,w:16,h:16,sizeX:`fixed`,sizeY:`fixed`,asset:`kit:lucide/arrow-right`,hidden:!0,color:`#ffffff`,icon:{pack:`lucide`,name:`arrow-right`},bind:{visible:`Show icon`,swap:`Icon`}},"n_sc-t-x":{type:`text`,id:`n_sc-t-x`,parent:`n_sc-button-destructive-default`,name:`Label`,x:0,y:0,w:0,h:0,sizeX:`hug`,sizeY:`hug`,content:`Button`,style:`$text-sm`,fontSize:14,fontWeight:500,lineHeight:20,color:`#ffffff`,bind:{content:`Label`}},"n_sc-button-destructive-sm":{type:`frame`,id:`n_sc-button-destructive-sm`,parent:`n_sc-button`,name:`Variant=destructive, Size=sm`,x:120,y:260,w:80,h:32,sizeX:`hug`,sizeY:`fixed`,children:[`n_sc-i-y`,`n_sc-t-z`],layout:{mode:`row`,gap:6,pad:[0,12,0,12],alignMain:`center`,alignCross:`center`},clip:!1,radius:`$radius-md`,effects:[{type:`shadow`,x:0,y:1,blur:2,spread:0,color:`#0000000d`}],variant:{Variant:`destructive`,Size:`sm`},main:!0,fills:[{type:`solid`,color:`$destructive`}]},"n_sc-i-y":{type:`vector`,id:`n_sc-i-y`,parent:`n_sc-button-destructive-sm`,name:`Icon`,x:0,y:0,w:16,h:16,sizeX:`fixed`,sizeY:`fixed`,asset:`kit:lucide/arrow-right`,hidden:!0,color:`#ffffff`,icon:{pack:`lucide`,name:`arrow-right`},bind:{visible:`Show icon`,swap:`Icon`}},"n_sc-t-z":{type:`text`,id:`n_sc-t-z`,parent:`n_sc-button-destructive-sm`,name:`Label`,x:0,y:0,w:0,h:0,sizeX:`hug`,sizeY:`hug`,content:`Button`,style:`$text-sm`,fontSize:14,fontWeight:500,lineHeight:20,color:`#ffffff`,bind:{content:`Label`}},"n_sc-button-destructive-lg":{type:`frame`,id:`n_sc-button-destructive-lg`,parent:`n_sc-button`,name:`Variant=destructive, Size=lg`,x:220,y:260,w:80,h:40,sizeX:`hug`,sizeY:`fixed`,children:[`n_sc-i-10`,`n_sc-t-11`],layout:{mode:`row`,gap:8,pad:[0,24,0,24],alignMain:`center`,alignCross:`center`},clip:!1,radius:`$radius-md`,effects:[{type:`shadow`,x:0,y:1,blur:2,spread:0,color:`#0000000d`}],variant:{Variant:`destructive`,Size:`lg`},main:!0,fills:[{type:`solid`,color:`$destructive`}]},"n_sc-i-10":{type:`vector`,id:`n_sc-i-10`,parent:`n_sc-button-destructive-lg`,name:`Icon`,x:0,y:0,w:16,h:16,sizeX:`fixed`,sizeY:`fixed`,asset:`kit:lucide/arrow-right`,hidden:!0,color:`#ffffff`,icon:{pack:`lucide`,name:`arrow-right`},bind:{visible:`Show icon`,swap:`Icon`}},"n_sc-t-11":{type:`text`,id:`n_sc-t-11`,parent:`n_sc-button-destructive-lg`,name:`Label`,x:0,y:0,w:0,h:0,sizeX:`hug`,sizeY:`hug`,content:`Button`,style:`$text-sm`,fontSize:14,fontWeight:500,lineHeight:20,color:`#ffffff`,bind:{content:`Label`}},"n_sc-button-destructive-icon":{type:`frame`,id:`n_sc-button-destructive-icon`,parent:`n_sc-button`,name:`Variant=destructive, Size=icon`,x:320,y:260,w:36,h:36,sizeX:`fixed`,sizeY:`fixed`,children:[`n_sc-i-12`,`n_sc-t-13`],layout:{mode:`row`,gap:8,pad:[0,0,0,0],alignMain:`center`,alignCross:`center`},clip:!1,radius:`$radius-md`,effects:[{type:`shadow`,x:0,y:1,blur:2,spread:0,color:`#0000000d`}],variant:{Variant:`destructive`,Size:`icon`},main:!0,fills:[{type:`solid`,color:`$destructive`}]},"n_sc-i-12":{type:`vector`,id:`n_sc-i-12`,parent:`n_sc-button-destructive-icon`,name:`Icon`,x:0,y:0,w:16,h:16,sizeX:`fixed`,sizeY:`fixed`,asset:`kit:lucide/plus`,color:`#ffffff`,icon:{pack:`lucide`,name:`plus`},bind:{swap:`Icon`}},"n_sc-t-13":{type:`text`,id:`n_sc-t-13`,parent:`n_sc-button-destructive-icon`,name:`Label`,x:0,y:0,w:0,h:0,sizeX:`hug`,sizeY:`hug`,content:`Button`,hidden:!0,style:`$text-sm`,fontSize:14,fontWeight:500,lineHeight:20,color:`#ffffff`,bind:{content:`Label`}},"n_sc-button-link-default":{type:`frame`,id:`n_sc-button-link-default`,parent:`n_sc-button`,name:`Variant=link, Size=default`,x:20,y:320,w:80,h:36,sizeX:`hug`,sizeY:`fixed`,children:[`n_sc-i-14`,`n_sc-t-15`],layout:{mode:`row`,gap:8,pad:[0,16,0,16],alignMain:`center`,alignCross:`center`},clip:!1,radius:`$radius-md`,variant:{Variant:`link`,Size:`default`},main:!0},"n_sc-i-14":{type:`vector`,id:`n_sc-i-14`,parent:`n_sc-button-link-default`,name:`Icon`,x:0,y:0,w:16,h:16,sizeX:`fixed`,sizeY:`fixed`,asset:`kit:lucide/arrow-right`,hidden:!0,color:`$primary`,icon:{pack:`lucide`,name:`arrow-right`},bind:{visible:`Show icon`,swap:`Icon`}},"n_sc-t-15":{type:`text`,id:`n_sc-t-15`,parent:`n_sc-button-link-default`,name:`Label`,x:0,y:0,w:0,h:0,sizeX:`hug`,sizeY:`hug`,content:`Button`,style:`$text-sm`,fontSize:14,fontWeight:500,lineHeight:20,color:`$primary`,bind:{content:`Label`}},"n_sc-button-link-sm":{type:`frame`,id:`n_sc-button-link-sm`,parent:`n_sc-button`,name:`Variant=link, Size=sm`,x:120,y:320,w:80,h:32,sizeX:`hug`,sizeY:`fixed`,children:[`n_sc-i-16`,`n_sc-t-17`],layout:{mode:`row`,gap:6,pad:[0,12,0,12],alignMain:`center`,alignCross:`center`},clip:!1,radius:`$radius-md`,variant:{Variant:`link`,Size:`sm`},main:!0},"n_sc-i-16":{type:`vector`,id:`n_sc-i-16`,parent:`n_sc-button-link-sm`,name:`Icon`,x:0,y:0,w:16,h:16,sizeX:`fixed`,sizeY:`fixed`,asset:`kit:lucide/arrow-right`,hidden:!0,color:`$primary`,icon:{pack:`lucide`,name:`arrow-right`},bind:{visible:`Show icon`,swap:`Icon`}},"n_sc-t-17":{type:`text`,id:`n_sc-t-17`,parent:`n_sc-button-link-sm`,name:`Label`,x:0,y:0,w:0,h:0,sizeX:`hug`,sizeY:`hug`,content:`Button`,style:`$text-sm`,fontSize:14,fontWeight:500,lineHeight:20,color:`$primary`,bind:{content:`Label`}},"n_sc-button-link-lg":{type:`frame`,id:`n_sc-button-link-lg`,parent:`n_sc-button`,name:`Variant=link, Size=lg`,x:220,y:320,w:80,h:40,sizeX:`hug`,sizeY:`fixed`,children:[`n_sc-i-18`,`n_sc-t-19`],layout:{mode:`row`,gap:8,pad:[0,24,0,24],alignMain:`center`,alignCross:`center`},clip:!1,radius:`$radius-md`,variant:{Variant:`link`,Size:`lg`},main:!0},"n_sc-i-18":{type:`vector`,id:`n_sc-i-18`,parent:`n_sc-button-link-lg`,name:`Icon`,x:0,y:0,w:16,h:16,sizeX:`fixed`,sizeY:`fixed`,asset:`kit:lucide/arrow-right`,hidden:!0,color:`$primary`,icon:{pack:`lucide`,name:`arrow-right`},bind:{visible:`Show icon`,swap:`Icon`}},"n_sc-t-19":{type:`text`,id:`n_sc-t-19`,parent:`n_sc-button-link-lg`,name:`Label`,x:0,y:0,w:0,h:0,sizeX:`hug`,sizeY:`hug`,content:`Button`,style:`$text-sm`,fontSize:14,fontWeight:500,lineHeight:20,color:`$primary`,bind:{content:`Label`}},"n_sc-button-link-icon":{type:`frame`,id:`n_sc-button-link-icon`,parent:`n_sc-button`,name:`Variant=link, Size=icon`,x:320,y:320,w:36,h:36,sizeX:`fixed`,sizeY:`fixed`,children:[`n_sc-i-1a`,`n_sc-t-1b`],layout:{mode:`row`,gap:8,pad:[0,0,0,0],alignMain:`center`,alignCross:`center`},clip:!1,radius:`$radius-md`,variant:{Variant:`link`,Size:`icon`},main:!0},"n_sc-i-1a":{type:`vector`,id:`n_sc-i-1a`,parent:`n_sc-button-link-icon`,name:`Icon`,x:0,y:0,w:16,h:16,sizeX:`fixed`,sizeY:`fixed`,asset:`kit:lucide/plus`,color:`$primary`,icon:{pack:`lucide`,name:`plus`},bind:{swap:`Icon`}},"n_sc-t-1b":{type:`text`,id:`n_sc-t-1b`,parent:`n_sc-button-link-icon`,name:`Label`,x:0,y:0,w:0,h:0,sizeX:`hug`,sizeY:`hug`,content:`Button`,hidden:!0,style:`$text-sm`,fontSize:14,fontWeight:500,lineHeight:20,color:`$primary`,bind:{content:`Label`}},"n_sc-badge":{type:`frame`,id:`n_sc-badge`,parent:null,name:`Badge`,x:0,y:0,w:10,h:10,sizeX:`fixed`,sizeY:`fixed`,children:[`n_sc-badge-default`,`n_sc-badge-secondary`,`n_sc-badge-destructive`,`n_sc-badge-outline`],layout:{mode:`free`,gap:0,pad:[0,0,0,0],alignMain:`start`,alignCross:`start`},clip:!1,componentSet:!0,props:{Label:{type:`text`}}},"n_sc-badge-default":{type:`frame`,id:`n_sc-badge-default`,parent:`n_sc-badge`,name:`Variant=default`,x:20,y:20,w:60,h:22,sizeX:`hug`,sizeY:`hug`,children:[`n_sc-t-1c`],layout:{mode:`row`,gap:4,pad:[2,8,2,8],alignMain:`center`,alignCross:`center`},clip:!1,stroke:{color:`#00000000`,width:1},radius:`$radius-full`,variant:{Variant:`default`},main:!0,fills:[{type:`solid`,color:`$primary`}]},"n_sc-t-1c":{type:`text`,id:`n_sc-t-1c`,parent:`n_sc-badge-default`,name:`Label`,x:0,y:0,w:0,h:0,sizeX:`hug`,sizeY:`hug`,content:`Badge`,style:`$text-xs`,fontSize:12,fontWeight:500,lineHeight:16,color:`$primary-foreground`,bind:{content:`Label`}},"n_sc-badge-secondary":{type:`frame`,id:`n_sc-badge-secondary`,parent:`n_sc-badge`,name:`Variant=secondary`,x:100,y:20,w:60,h:22,sizeX:`hug`,sizeY:`hug`,children:[`n_sc-t-1d`],layout:{mode:`row`,gap:4,pad:[2,8,2,8],alignMain:`center`,alignCross:`center`},clip:!1,stroke:{color:`#00000000`,width:1},radius:`$radius-full`,variant:{Variant:`secondary`},main:!0,fills:[{type:`solid`,color:`$secondary`}]},"n_sc-t-1d":{type:`text`,id:`n_sc-t-1d`,parent:`n_sc-badge-secondary`,name:`Label`,x:0,y:0,w:0,h:0,sizeX:`hug`,sizeY:`hug`,content:`Badge`,style:`$text-xs`,fontSize:12,fontWeight:500,lineHeight:16,color:`$secondary-foreground`,bind:{content:`Label`}},"n_sc-badge-destructive":{type:`frame`,id:`n_sc-badge-destructive`,parent:`n_sc-badge`,name:`Variant=destructive`,x:180,y:20,w:60,h:22,sizeX:`hug`,sizeY:`hug`,children:[`n_sc-t-1e`],layout:{mode:`row`,gap:4,pad:[2,8,2,8],alignMain:`center`,alignCross:`center`},clip:!1,stroke:{color:`#00000000`,width:1},radius:`$radius-full`,variant:{Variant:`destructive`},main:!0,fills:[{type:`solid`,color:`$destructive`}]},"n_sc-t-1e":{type:`text`,id:`n_sc-t-1e`,parent:`n_sc-badge-destructive`,name:`Label`,x:0,y:0,w:0,h:0,sizeX:`hug`,sizeY:`hug`,content:`Badge`,style:`$text-xs`,fontSize:12,fontWeight:500,lineHeight:16,color:`#ffffff`,bind:{content:`Label`}},"n_sc-badge-outline":{type:`frame`,id:`n_sc-badge-outline`,parent:`n_sc-badge`,name:`Variant=outline`,x:260,y:20,w:60,h:22,sizeX:`hug`,sizeY:`hug`,children:[`n_sc-t-1f`],layout:{mode:`row`,gap:4,pad:[2,8,2,8],alignMain:`center`,alignCross:`center`},clip:!1,stroke:{color:`$border`,width:1},radius:`$radius-full`,variant:{Variant:`outline`},main:!0},"n_sc-t-1f":{type:`text`,id:`n_sc-t-1f`,parent:`n_sc-badge-outline`,name:`Label`,x:0,y:0,w:0,h:0,sizeX:`hug`,sizeY:`hug`,content:`Badge`,style:`$text-xs`,fontSize:12,fontWeight:500,lineHeight:16,color:`$foreground`,bind:{content:`Label`}},"n_sc-avatar":{type:`frame`,id:`n_sc-avatar`,parent:null,name:`Avatar`,x:0,y:0,w:10,h:10,sizeX:`fixed`,sizeY:`fixed`,children:[`n_sc-avatar-fallback`,`n_sc-avatar-image`],layout:{mode:`free`,gap:0,pad:[0,0,0,0],alignMain:`start`,alignCross:`start`},clip:!1,componentSet:!0,props:{Initials:{type:`text`}}},"n_sc-avatar-fallback":{type:`frame`,id:`n_sc-avatar-fallback`,parent:`n_sc-avatar`,name:`Type=fallback`,x:20,y:20,w:32,h:32,sizeX:`fixed`,sizeY:`fixed`,children:[`n_sc-t-1g`],layout:{mode:`row`,gap:0,pad:[0,0,0,0],alignMain:`center`,alignCross:`center`},clip:!1,radius:`$radius-full`,variant:{Type:`fallback`},main:!0,fills:[{type:`solid`,color:`$muted`}]},"n_sc-t-1g":{type:`text`,id:`n_sc-t-1g`,parent:`n_sc-avatar-fallback`,name:`Initials`,x:0,y:0,w:0,h:0,sizeX:`hug`,sizeY:`hug`,content:`CN`,style:`$text-sm`,fontSize:14,fontWeight:400,lineHeight:20,color:`$muted-foreground`,bind:{content:`Initials`}},"n_sc-avatar-image":{type:`frame`,id:`n_sc-avatar-image`,parent:`n_sc-avatar`,name:`Type=image`,x:72,y:20,w:32,h:32,sizeX:`fixed`,sizeY:`fixed`,children:[],layout:{mode:`free`,gap:0,pad:[0,0,0,0],alignMain:`start`,alignCross:`start`},clip:!0,fills:[{type:`linear`,angle:135,stops:[{color:`$muted`,at:0},{color:`$muted-foreground`,at:1}]}],radius:`$radius-full`,variant:{Type:`image`},main:!0},"n_sc-separator":{type:`frame`,id:`n_sc-separator`,parent:null,name:`Separator`,x:0,y:0,w:10,h:10,sizeX:`fixed`,sizeY:`fixed`,children:[`n_sc-separator-horizontal`,`n_sc-separator-vertical`],layout:{mode:`free`,gap:0,pad:[0,0,0,0],alignMain:`start`,alignCross:`start`},clip:!1,componentSet:!0},"n_sc-separator-horizontal":{type:`frame`,id:`n_sc-separator-horizontal`,parent:`n_sc-separator`,name:`Orientation=horizontal`,x:20,y:20,w:200,h:1,sizeX:`fixed`,sizeY:`fixed`,children:[],layout:{mode:`free`,gap:0,pad:[0,0,0,0],alignMain:`start`,alignCross:`start`},clip:!1,variant:{Orientation:`horizontal`},main:!0,fills:[{type:`solid`,color:`$border`}]},"n_sc-separator-vertical":{type:`frame`,id:`n_sc-separator-vertical`,parent:`n_sc-separator`,name:`Orientation=vertical`,x:240,y:20,w:1,h:24,sizeX:`fixed`,sizeY:`fixed`,children:[],layout:{mode:`free`,gap:0,pad:[0,0,0,0],alignMain:`start`,alignCross:`start`},clip:!1,variant:{Orientation:`vertical`},main:!0,fills:[{type:`solid`,color:`$border`}]},"n_sc-input":{type:`frame`,id:`n_sc-input`,parent:null,name:`Input`,x:0,y:0,w:240,h:36,sizeX:`fixed`,sizeY:`fixed`,children:[`n_sc-t-1o`],layout:{mode:`row`,gap:8,pad:[4,12,4,12],alignMain:`start`,alignCross:`center`},clip:!1,stroke:{color:`$input`,width:1},radius:`$radius-md`,effects:[{type:`shadow`,x:0,y:1,blur:2,spread:0,color:`#0000000d`}],main:!0,props:{Placeholder:{type:`text`}}},"n_sc-t-1o":{type:`text`,id:`n_sc-t-1o`,parent:`n_sc-input`,name:`Placeholder`,x:0,y:0,w:0,h:0,sizeX:`fill`,sizeY:`hug`,content:`Email`,style:`$text-sm`,fontSize:14,fontWeight:400,lineHeight:20,color:`$muted-foreground`,bind:{content:`Placeholder`}},"n_sc-textarea":{type:`frame`,id:`n_sc-textarea`,parent:null,name:`Textarea`,x:0,y:0,w:240,h:64,sizeX:`fixed`,sizeY:`fixed`,children:[`n_sc-t-1p`],layout:{mode:`row`,gap:8,pad:[8,12,8,12],alignMain:`start`,alignCross:`start`},clip:!1,stroke:{color:`$input`,width:1},radius:`$radius-md`,effects:[{type:`shadow`,x:0,y:1,blur:2,spread:0,color:`#0000000d`}],main:!0,props:{Placeholder:{type:`text`}}},"n_sc-t-1p":{type:`text`,id:`n_sc-t-1p`,parent:`n_sc-textarea`,name:`Placeholder`,x:0,y:0,w:0,h:0,sizeX:`fill`,sizeY:`hug`,content:`Type your message here.`,style:`$text-sm`,fontSize:14,fontWeight:400,lineHeight:20,color:`$muted-foreground`,bind:{content:`Placeholder`}},"n_sc-select":{type:`frame`,id:`n_sc-select`,parent:null,name:`Select`,x:0,y:0,w:180,h:36,sizeX:`fixed`,sizeY:`fixed`,children:[`n_sc-t-1q`,`n_sc-i-1r`],layout:{mode:`row`,gap:8,pad:[8,12,8,12],alignMain:`between`,alignCross:`center`},clip:!1,stroke:{color:`$input`,width:1},radius:`$radius-md`,effects:[{type:`shadow`,x:0,y:1,blur:2,spread:0,color:`#0000000d`}],main:!0,props:{Value:{type:`text`}}},"n_sc-t-1q":{type:`text`,id:`n_sc-t-1q`,parent:`n_sc-select`,name:`Value`,x:0,y:0,w:0,h:0,sizeX:`hug`,sizeY:`hug`,content:`Select a fruit`,style:`$text-sm`,fontSize:14,fontWeight:400,lineHeight:20,color:`$muted-foreground`,bind:{content:`Value`}},"n_sc-i-1r":{type:`vector`,id:`n_sc-i-1r`,parent:`n_sc-select`,name:`Icon`,x:0,y:0,w:16,h:16,sizeX:`fixed`,sizeY:`fixed`,asset:`kit:lucide/chevron-down`,opacity:.5,color:`$muted-foreground`,icon:{pack:`lucide`,name:`chevron-down`}},"n_sc-checkbox":{type:`frame`,id:`n_sc-checkbox`,parent:null,name:`Checkbox`,x:0,y:0,w:10,h:10,sizeX:`fixed`,sizeY:`fixed`,children:[`n_sc-checkbox-true`,`n_sc-checkbox-false`],layout:{mode:`free`,gap:0,pad:[0,0,0,0],alignMain:`start`,alignCross:`start`},clip:!1,componentSet:!0,props:{Label:{type:`text`},"Show label":{type:`boolean`}}},"n_sc-checkbox-true":{type:`frame`,id:`n_sc-checkbox-true`,parent:`n_sc-checkbox`,name:`Checked=true`,x:20,y:20,w:100,h:16,sizeX:`hug`,sizeY:`hug`,children:[`n_sc-f-1s`,`n_sc-t-1u`],layout:{mode:`row`,gap:12,pad:[0,0,0,0],alignMain:`start`,alignCross:`center`},clip:!1,variant:{Checked:`true`},main:!0},"n_sc-f-1s":{type:`frame`,id:`n_sc-f-1s`,parent:`n_sc-checkbox-true`,name:`Box`,x:0,y:0,w:16,h:16,sizeX:`fixed`,sizeY:`fixed`,children:[`n_sc-i-1t`],layout:{mode:`row`,gap:0,pad:[0,0,0,0],alignMain:`center`,alignCross:`center`},clip:!1,stroke:{color:`$primary`,width:1},radius:4,effects:[{type:`shadow`,x:0,y:1,blur:2,spread:0,color:`#0000000d`}],fills:[{type:`solid`,color:`$primary`}]},"n_sc-i-1t":{type:`vector`,id:`n_sc-i-1t`,parent:`n_sc-f-1s`,name:`Icon`,x:0,y:0,w:14,h:14,sizeX:`fixed`,sizeY:`fixed`,asset:`kit:lucide/check`,color:`$primary-foreground`,icon:{pack:`lucide`,name:`check`}},"n_sc-t-1u":{type:`text`,id:`n_sc-t-1u`,parent:`n_sc-checkbox-true`,name:`Label`,x:0,y:0,w:0,h:0,sizeX:`hug`,sizeY:`hug`,content:`Accept terms and conditions`,style:`$text-sm`,fontSize:14,fontWeight:500,lineHeight:16,color:`$foreground`,bind:{content:`Label`,visible:`Show label`}},"n_sc-checkbox-false":{type:`frame`,id:`n_sc-checkbox-false`,parent:`n_sc-checkbox`,name:`Checked=false`,x:140,y:20,w:100,h:16,sizeX:`hug`,sizeY:`hug`,children:[`n_sc-f-1v`,`n_sc-t-1w`],layout:{mode:`row`,gap:12,pad:[0,0,0,0],alignMain:`start`,alignCross:`center`},clip:!1,variant:{Checked:`false`},main:!0},"n_sc-f-1v":{type:`frame`,id:`n_sc-f-1v`,parent:`n_sc-checkbox-false`,name:`Box`,x:0,y:0,w:16,h:16,sizeX:`fixed`,sizeY:`fixed`,children:[],layout:{mode:`row`,gap:0,pad:[0,0,0,0],alignMain:`center`,alignCross:`center`},clip:!1,stroke:{color:`$input`,width:1},radius:4,effects:[{type:`shadow`,x:0,y:1,blur:2,spread:0,color:`#0000000d`}]},"n_sc-t-1w":{type:`text`,id:`n_sc-t-1w`,parent:`n_sc-checkbox-false`,name:`Label`,x:0,y:0,w:0,h:0,sizeX:`hug`,sizeY:`hug`,content:`Accept terms and conditions`,style:`$text-sm`,fontSize:14,fontWeight:500,lineHeight:16,color:`$foreground`,bind:{content:`Label`,visible:`Show label`}},"n_sc-switch":{type:`frame`,id:`n_sc-switch`,parent:null,name:`Switch`,x:0,y:0,w:10,h:10,sizeX:`fixed`,sizeY:`fixed`,children:[`n_sc-switch-true`,`n_sc-switch-false`],layout:{mode:`free`,gap:0,pad:[0,0,0,0],alignMain:`start`,alignCross:`start`},clip:!1,componentSet:!0,props:{Label:{type:`text`},"Show label":{type:`boolean`}}},"n_sc-switch-true":{type:`frame`,id:`n_sc-switch-true`,parent:`n_sc-switch`,name:`Checked=true`,x:20,y:20,w:100,h:16,sizeX:`hug`,sizeY:`hug`,children:[`n_sc-f-1x`,`n_sc-t-1z`],layout:{mode:`row`,gap:8,pad:[0,0,0,0],alignMain:`start`,alignCross:`center`},clip:!1,variant:{Checked:`true`},main:!0},"n_sc-f-1x":{type:`frame`,id:`n_sc-f-1x`,parent:`n_sc-switch-true`,name:`Track`,x:0,y:0,w:32,h:18.4,sizeX:`fixed`,sizeY:`fixed`,children:[`n_sc-f-1y`],layout:{mode:`row`,gap:0,pad:[0,1,0,1],alignMain:`end`,alignCross:`center`},clip:!1,radius:`$radius-full`,fills:[{type:`solid`,color:`$primary`}]},"n_sc-f-1y":{type:`frame`,id:`n_sc-f-1y`,parent:`n_sc-f-1x`,name:`Thumb`,x:0,y:0,w:16,h:16,sizeX:`fixed`,sizeY:`fixed`,children:[],layout:{mode:`free`,gap:0,pad:[0,0,0,0],alignMain:`start`,alignCross:`start`},clip:!1,radius:`$radius-full`,fills:[{type:`solid`,color:`$background`}]},"n_sc-t-1z":{type:`text`,id:`n_sc-t-1z`,parent:`n_sc-switch-true`,name:`Label`,x:0,y:0,w:0,h:0,sizeX:`hug`,sizeY:`hug`,content:`Airplane Mode`,style:`$text-sm`,fontSize:14,fontWeight:500,lineHeight:16,color:`$foreground`,bind:{content:`Label`,visible:`Show label`}},"n_sc-switch-false":{type:`frame`,id:`n_sc-switch-false`,parent:`n_sc-switch`,name:`Checked=false`,x:140,y:20,w:100,h:16,sizeX:`hug`,sizeY:`hug`,children:[`n_sc-f-20`,`n_sc-t-22`],layout:{mode:`row`,gap:8,pad:[0,0,0,0],alignMain:`start`,alignCross:`center`},clip:!1,variant:{Checked:`false`},main:!0},"n_sc-f-20":{type:`frame`,id:`n_sc-f-20`,parent:`n_sc-switch-false`,name:`Track`,x:0,y:0,w:32,h:18.4,sizeX:`fixed`,sizeY:`fixed`,children:[`n_sc-f-21`],layout:{mode:`row`,gap:0,pad:[0,1,0,1],alignMain:`start`,alignCross:`center`},clip:!1,radius:`$radius-full`,fills:[{type:`solid`,color:`$input`}]},"n_sc-f-21":{type:`frame`,id:`n_sc-f-21`,parent:`n_sc-f-20`,name:`Thumb`,x:0,y:0,w:16,h:16,sizeX:`fixed`,sizeY:`fixed`,children:[],layout:{mode:`free`,gap:0,pad:[0,0,0,0],alignMain:`start`,alignCross:`start`},clip:!1,radius:`$radius-full`,fills:[{type:`solid`,color:`$background`}]},"n_sc-t-22":{type:`text`,id:`n_sc-t-22`,parent:`n_sc-switch-false`,name:`Label`,x:0,y:0,w:0,h:0,sizeX:`hug`,sizeY:`hug`,content:`Airplane Mode`,style:`$text-sm`,fontSize:14,fontWeight:500,lineHeight:16,color:`$foreground`,bind:{content:`Label`,visible:`Show label`}},"n_sc-radio":{type:`frame`,id:`n_sc-radio`,parent:null,name:`Radio`,x:0,y:0,w:10,h:10,sizeX:`fixed`,sizeY:`fixed`,children:[`n_sc-radio-true`,`n_sc-radio-false`],layout:{mode:`free`,gap:0,pad:[0,0,0,0],alignMain:`start`,alignCross:`start`},clip:!1,componentSet:!0,props:{Label:{type:`text`}}},"n_sc-radio-true":{type:`frame`,id:`n_sc-radio-true`,parent:`n_sc-radio`,name:`Checked=true`,x:20,y:20,w:100,h:16,sizeX:`hug`,sizeY:`hug`,children:[`n_sc-f-23`,`n_sc-t-25`],layout:{mode:`row`,gap:12,pad:[0,0,0,0],alignMain:`start`,alignCross:`center`},clip:!1,variant:{Checked:`true`},main:!0},"n_sc-f-23":{type:`frame`,id:`n_sc-f-23`,parent:`n_sc-radio-true`,name:`Circle`,x:0,y:0,w:16,h:16,sizeX:`fixed`,sizeY:`fixed`,children:[`n_sc-f-24`],layout:{mode:`row`,gap:0,pad:[0,0,0,0],alignMain:`center`,alignCross:`center`},clip:!1,stroke:{color:`$input`,width:1},radius:`$radius-full`,effects:[{type:`shadow`,x:0,y:1,blur:2,spread:0,color:`#0000000d`}]},"n_sc-f-24":{type:`frame`,id:`n_sc-f-24`,parent:`n_sc-f-23`,name:`Dot`,x:0,y:0,w:8,h:8,sizeX:`fixed`,sizeY:`fixed`,children:[],layout:{mode:`free`,gap:0,pad:[0,0,0,0],alignMain:`start`,alignCross:`start`},clip:!1,radius:`$radius-full`,fills:[{type:`solid`,color:`$primary`}]},"n_sc-t-25":{type:`text`,id:`n_sc-t-25`,parent:`n_sc-radio-true`,name:`Label`,x:0,y:0,w:0,h:0,sizeX:`hug`,sizeY:`hug`,content:`Default`,style:`$text-sm`,fontSize:14,fontWeight:500,lineHeight:16,color:`$foreground`,bind:{content:`Label`}},"n_sc-radio-false":{type:`frame`,id:`n_sc-radio-false`,parent:`n_sc-radio`,name:`Checked=false`,x:140,y:20,w:100,h:16,sizeX:`hug`,sizeY:`hug`,children:[`n_sc-f-26`,`n_sc-t-27`],layout:{mode:`row`,gap:12,pad:[0,0,0,0],alignMain:`start`,alignCross:`center`},clip:!1,variant:{Checked:`false`},main:!0},"n_sc-f-26":{type:`frame`,id:`n_sc-f-26`,parent:`n_sc-radio-false`,name:`Circle`,x:0,y:0,w:16,h:16,sizeX:`fixed`,sizeY:`fixed`,children:[],layout:{mode:`row`,gap:0,pad:[0,0,0,0],alignMain:`center`,alignCross:`center`},clip:!1,stroke:{color:`$input`,width:1},radius:`$radius-full`,effects:[{type:`shadow`,x:0,y:1,blur:2,spread:0,color:`#0000000d`}]},"n_sc-t-27":{type:`text`,id:`n_sc-t-27`,parent:`n_sc-radio-false`,name:`Label`,x:0,y:0,w:0,h:0,sizeX:`hug`,sizeY:`hug`,content:`Default`,style:`$text-sm`,fontSize:14,fontWeight:500,lineHeight:16,color:`$foreground`,bind:{content:`Label`}},"n_sc-tab":{type:`frame`,id:`n_sc-tab`,parent:null,name:`Tab`,x:0,y:0,w:10,h:10,sizeX:`fixed`,sizeY:`fixed`,children:[`n_sc-tab-true`,`n_sc-tab-false`],layout:{mode:`free`,gap:0,pad:[0,0,0,0],alignMain:`start`,alignCross:`start`},clip:!1,componentSet:!0,props:{Label:{type:`text`}}},"n_sc-tab-true":{type:`frame`,id:`n_sc-tab-true`,parent:`n_sc-tab`,name:`Active=true`,x:20,y:20,w:80,h:29,sizeX:`hug`,sizeY:`fixed`,children:[`n_sc-t-28`],layout:{mode:`row`,gap:6,pad:[4,8,4,8],alignMain:`center`,alignCross:`center`},clip:!1,stroke:{color:`#00000000`,width:1},radius:`$radius-md`,effects:[{type:`shadow`,x:0,y:1,blur:3,spread:0,color:`#0000001a`},{type:`shadow`,x:0,y:1,blur:2,spread:-1,color:`#0000001a`}],variant:{Active:`true`},main:!0,fills:[{type:`solid`,color:`$background`}]},"n_sc-t-28":{type:`text`,id:`n_sc-t-28`,parent:`n_sc-tab-true`,name:`Label`,x:0,y:0,w:0,h:0,sizeX:`hug`,sizeY:`hug`,content:`Account`,style:`$text-sm`,fontSize:14,fontWeight:500,lineHeight:20,color:`$foreground`,bind:{content:`Label`}},"n_sc-tab-false":{type:`frame`,id:`n_sc-tab-false`,parent:`n_sc-tab`,name:`Active=false`,x:120,y:20,w:80,h:29,sizeX:`hug`,sizeY:`fixed`,children:[`n_sc-t-29`],layout:{mode:`row`,gap:6,pad:[4,8,4,8],alignMain:`center`,alignCross:`center`},clip:!1,stroke:{color:`#00000000`,width:1},radius:`$radius-md`,variant:{Active:`false`},main:!0},"n_sc-t-29":{type:`text`,id:`n_sc-t-29`,parent:`n_sc-tab-false`,name:`Label`,x:0,y:0,w:0,h:0,sizeX:`hug`,sizeY:`hug`,content:`Account`,style:`$text-sm`,fontSize:14,fontWeight:500,lineHeight:20,color:`$foreground`,bind:{content:`Label`}},"n_sc-menu-item":{type:`frame`,id:`n_sc-menu-item`,parent:null,name:`Dropdown menu item`,x:0,y:0,w:10,h:10,sizeX:`fixed`,sizeY:`fixed`,children:[`n_sc-menu-item-default`,`n_sc-menu-item-destructive`],layout:{mode:`free`,gap:0,pad:[0,0,0,0],alignMain:`start`,alignCross:`start`},clip:!1,componentSet:!0,props:{Label:{type:`text`},Shortcut:{type:`text`},"Show shortcut":{type:`boolean`},Icon:{type:`swap`}}},"n_sc-menu-item-default":{type:`frame`,id:`n_sc-menu-item-default`,parent:`n_sc-menu-item`,name:`Variant=default`,x:20,y:20,w:216,h:32,sizeX:`fixed`,sizeY:`hug`,children:[`n_sc-i-2d`,`n_sc-t-2e`,`n_sc-t-2f`],layout:{mode:`row`,gap:8,pad:[6,8,6,8],alignMain:`start`,alignCross:`center`},clip:!1,radius:`$radius-sm`,variant:{Variant:`default`},main:!0},"n_sc-i-2d":{type:`vector`,id:`n_sc-i-2d`,parent:`n_sc-menu-item-default`,name:`Icon`,x:0,y:0,w:16,h:16,sizeX:`fixed`,sizeY:`fixed`,asset:`kit:lucide/user`,color:`$muted-foreground`,icon:{pack:`lucide`,name:`user`},bind:{swap:`Icon`}},"n_sc-t-2e":{type:`text`,id:`n_sc-t-2e`,parent:`n_sc-menu-item-default`,name:`Label`,x:0,y:0,w:0,h:0,sizeX:`fill`,sizeY:`hug`,content:`Profile`,style:`$text-sm`,fontSize:14,fontWeight:400,lineHeight:20,color:`$popover-foreground`,bind:{content:`Label`}},"n_sc-t-2f":{type:`text`,id:`n_sc-t-2f`,parent:`n_sc-menu-item-default`,name:`Shortcut`,x:0,y:0,w:0,h:0,sizeX:`hug`,sizeY:`hug`,content:`⇧⌘P`,style:`$text-xs`,fontSize:12,fontWeight:400,lineHeight:16,letterSpacing:1.2,color:`$muted-foreground`,bind:{content:`Shortcut`,visible:`Show shortcut`}},"n_sc-menu-item-destructive":{type:`frame`,id:`n_sc-menu-item-destructive`,parent:`n_sc-menu-item`,name:`Variant=destructive`,x:256,y:20,w:216,h:32,sizeX:`fixed`,sizeY:`hug`,children:[`n_sc-i-2g`,`n_sc-t-2h`,`n_sc-t-2i`],layout:{mode:`row`,gap:8,pad:[6,8,6,8],alignMain:`start`,alignCross:`center`},clip:!1,radius:`$radius-sm`,variant:{Variant:`destructive`},main:!0},"n_sc-i-2g":{type:`vector`,id:`n_sc-i-2g`,parent:`n_sc-menu-item-destructive`,name:`Icon`,x:0,y:0,w:16,h:16,sizeX:`fixed`,sizeY:`fixed`,asset:`kit:lucide/log-out`,color:`$destructive`,icon:{pack:`lucide`,name:`log-out`},bind:{swap:`Icon`}},"n_sc-t-2h":{type:`text`,id:`n_sc-t-2h`,parent:`n_sc-menu-item-destructive`,name:`Label`,x:0,y:0,w:0,h:0,sizeX:`fill`,sizeY:`hug`,content:`Log out`,style:`$text-sm`,fontSize:14,fontWeight:400,lineHeight:20,color:`$destructive`,bind:{content:`Label`}},"n_sc-t-2i":{type:`text`,id:`n_sc-t-2i`,parent:`n_sc-menu-item-destructive`,name:`Shortcut`,x:0,y:0,w:0,h:0,sizeX:`hug`,sizeY:`hug`,content:`⇧⌘Q`,style:`$text-xs`,fontSize:12,fontWeight:400,lineHeight:16,letterSpacing:1.2,color:`$muted-foreground`,bind:{content:`Shortcut`,visible:`Show shortcut`}},"n_sc-card":{type:`frame`,id:`n_sc-card`,parent:null,name:`Card`,x:0,y:0,w:350,h:200,sizeX:`fixed`,sizeY:`hug`,children:[`n_sc-f-1h`,`n_sc-f-1k`,`n_sc-f-1m`],layout:{mode:`column`,gap:24,pad:[24,0,24,0],alignMain:`start`,alignCross:`start`},clip:!1,stroke:{color:`$border`,width:1},radius:`$radius-xl`,effects:[{type:`shadow`,x:0,y:1,blur:3,spread:0,color:`#0000001a`},{type:`shadow`,x:0,y:1,blur:2,spread:-1,color:`#0000001a`}],main:!0,props:{Title:{type:`text`},Description:{type:`text`},"Show header":{type:`boolean`},"Show footer":{type:`boolean`}},fills:[{type:`solid`,color:`$card`}]},"n_sc-f-1h":{type:`frame`,id:`n_sc-f-1h`,parent:`n_sc-card`,name:`Header`,x:0,y:0,w:100,h:100,sizeX:`fill`,sizeY:`hug`,children:[`n_sc-t-1i`,`n_sc-t-1j`],layout:{mode:`column`,gap:4,pad:[0,24,0,24],alignMain:`start`,alignCross:`start`},clip:!1,bind:{visible:`Show header`}},"n_sc-t-1i":{type:`text`,id:`n_sc-t-1i`,parent:`n_sc-f-1h`,name:`Title`,x:0,y:0,w:0,h:0,sizeX:`hug`,sizeY:`hug`,content:`Card Title`,style:`$text-base`,fontSize:16,fontWeight:600,lineHeight:18,color:`$card-foreground`,bind:{content:`Title`}},"n_sc-t-1j":{type:`text`,id:`n_sc-t-1j`,parent:`n_sc-f-1h`,name:`Description`,x:0,y:0,w:0,h:0,sizeX:`hug`,sizeY:`hug`,content:`Card Description`,style:`$text-sm`,fontSize:14,fontWeight:400,lineHeight:20,color:`$muted-foreground`,bind:{content:`Description`}},"n_sc-f-1k":{type:`frame`,id:`n_sc-f-1k`,parent:`n_sc-card`,name:`Content`,x:0,y:0,w:100,h:100,sizeX:`fill`,sizeY:`hug`,children:[`n_sc-t-1l`],layout:{mode:`column`,gap:0,pad:[0,24,0,24],alignMain:`start`,alignCross:`start`},clip:!1},"n_sc-t-1l":{type:`text`,id:`n_sc-t-1l`,parent:`n_sc-f-1k`,name:`Text`,x:0,y:0,w:0,h:0,sizeX:`hug`,sizeY:`hug`,content:`Card Content`,style:`$text-sm`,fontSize:14,fontWeight:400,lineHeight:20,color:`$card-foreground`},"n_sc-f-1m":{type:`frame`,id:`n_sc-f-1m`,parent:`n_sc-card`,name:`Footer`,x:0,y:0,w:100,h:100,sizeX:`fill`,sizeY:`hug`,children:[`n_sc-n-1n`],layout:{mode:`row`,gap:8,pad:[0,24,0,24],alignMain:`start`,alignCross:`center`},clip:!1,bind:{visible:`Show footer`}},"n_sc-n-1n":{type:`frame`,id:`n_sc-n-1n`,parent:`n_sc-f-1m`,name:`Button`,x:0,y:0,w:100,h:100,sizeX:`fixed`,sizeY:`fixed`,children:[],layout:{mode:`free`,gap:0,pad:[0,0,0,0],alignMain:`start`,alignCross:`start`},clip:!1,values:{Label:`Action`},instanceOf:`n_sc-button-default-default`},"n_sc-tabs":{type:`frame`,id:`n_sc-tabs`,parent:null,name:`Tabs`,x:0,y:0,w:200,h:36,sizeX:`hug`,sizeY:`fixed`,children:[`n_sc-n-2a`,`n_sc-n-2b`,`n_sc-n-2c`],layout:{mode:`row`,gap:0,pad:[3,3,3,3],alignMain:`start`,alignCross:`center`},clip:!1,radius:`$radius-lg`,main:!0,fills:[{type:`solid`,color:`$muted`}]},"n_sc-n-2a":{type:`frame`,id:`n_sc-n-2a`,parent:`n_sc-tabs`,name:`Tab`,x:0,y:0,w:100,h:100,sizeX:`fixed`,sizeY:`fixed`,children:[],layout:{mode:`free`,gap:0,pad:[0,0,0,0],alignMain:`start`,alignCross:`start`},clip:!1,values:{Label:`Account`},instanceOf:`n_sc-tab-true`},"n_sc-n-2b":{type:`frame`,id:`n_sc-n-2b`,parent:`n_sc-tabs`,name:`Tab`,x:0,y:0,w:100,h:100,sizeX:`fixed`,sizeY:`fixed`,children:[],layout:{mode:`free`,gap:0,pad:[0,0,0,0],alignMain:`start`,alignCross:`start`},clip:!1,values:{Label:`Password`},instanceOf:`n_sc-tab-false`},"n_sc-n-2c":{type:`frame`,id:`n_sc-n-2c`,parent:`n_sc-tabs`,name:`Tab`,x:0,y:0,w:100,h:100,sizeX:`fixed`,sizeY:`fixed`,children:[],layout:{mode:`free`,gap:0,pad:[0,0,0,0],alignMain:`start`,alignCross:`start`},clip:!1,values:{Label:`Settings`},instanceOf:`n_sc-tab-false`},"n_sc-menu":{type:`frame`,id:`n_sc-menu`,parent:null,name:`Dropdown menu`,x:0,y:0,w:224,h:200,sizeX:`fixed`,sizeY:`hug`,children:[`n_sc-f-2k`,`n_sc-f-2m`,`n_sc-n-2n`,`n_sc-n-2o`,`n_sc-n-2p`,`n_sc-f-2q`,`n_sc-n-2r`],layout:{mode:`column`,gap:0,pad:[4,4,4,4],alignMain:`start`,alignCross:`start`},clip:!1,stroke:{color:`$border`,width:1},radius:`$radius-md`,effects:[{type:`shadow`,x:0,y:4,blur:6,spread:-1,color:`#0000001a`},{type:`shadow`,x:0,y:2,blur:4,spread:-2,color:`#0000001a`}],main:!0,fills:[{type:`solid`,color:`$popover`}]},"n_sc-f-2k":{type:`frame`,id:`n_sc-f-2k`,parent:`n_sc-menu`,name:`Label`,x:0,y:0,w:100,h:100,sizeX:`fill`,sizeY:`hug`,children:[`n_sc-t-2l`],layout:{mode:`row`,gap:0,pad:[6,8,6,8],alignMain:`start`,alignCross:`center`},clip:!1},"n_sc-t-2l":{type:`text`,id:`n_sc-t-2l`,parent:`n_sc-f-2k`,name:`Text`,x:0,y:0,w:0,h:0,sizeX:`hug`,sizeY:`hug`,content:`My Account`,style:`$text-sm`,fontSize:14,fontWeight:500,lineHeight:20,color:`$popover-foreground`},"n_sc-f-2m":{type:`frame`,id:`n_sc-f-2m`,parent:`n_sc-menu`,name:`Separator`,x:0,y:0,w:216,h:1,sizeX:`fill`,sizeY:`fixed`,children:[],layout:{mode:`free`,gap:0,pad:[0,0,0,0],alignMain:`start`,alignCross:`start`},clip:!1,fills:[{type:`solid`,color:`$border`}]},"n_sc-n-2n":{type:`frame`,id:`n_sc-n-2n`,parent:`n_sc-menu`,name:`Item`,x:0,y:0,w:100,h:100,sizeX:`fixed`,sizeY:`fixed`,children:[],layout:{mode:`free`,gap:0,pad:[0,0,0,0],alignMain:`start`,alignCross:`start`},clip:!1,values:{Label:`Profile`,Shortcut:`⇧⌘P`,Icon:{icon:{pack:`lucide`,name:`user`},asset:`kit:lucide/user`}},instanceOf:`n_sc-menu-item-default`},"n_sc-n-2o":{type:`frame`,id:`n_sc-n-2o`,parent:`n_sc-menu`,name:`Item`,x:0,y:0,w:100,h:100,sizeX:`fixed`,sizeY:`fixed`,children:[],layout:{mode:`free`,gap:0,pad:[0,0,0,0],alignMain:`start`,alignCross:`start`},clip:!1,values:{Label:`Billing`,Shortcut:`⌘B`,Icon:{icon:{pack:`lucide`,name:`credit-card`},asset:`kit:lucide/credit-card`}},instanceOf:`n_sc-menu-item-default`},"n_sc-n-2p":{type:`frame`,id:`n_sc-n-2p`,parent:`n_sc-menu`,name:`Item`,x:0,y:0,w:100,h:100,sizeX:`fixed`,sizeY:`fixed`,children:[],layout:{mode:`free`,gap:0,pad:[0,0,0,0],alignMain:`start`,alignCross:`start`},clip:!1,values:{Label:`Settings`,Shortcut:`⌘S`,Icon:{icon:{pack:`lucide`,name:`settings`},asset:`kit:lucide/settings`}},instanceOf:`n_sc-menu-item-default`},"n_sc-f-2q":{type:`frame`,id:`n_sc-f-2q`,parent:`n_sc-menu`,name:`Separator`,x:0,y:0,w:216,h:1,sizeX:`fill`,sizeY:`fixed`,children:[],layout:{mode:`free`,gap:0,pad:[0,0,0,0],alignMain:`start`,alignCross:`start`},clip:!1,fills:[{type:`solid`,color:`$border`}]},"n_sc-n-2r":{type:`frame`,id:`n_sc-n-2r`,parent:`n_sc-menu`,name:`Item`,x:0,y:0,w:100,h:100,sizeX:`fixed`,sizeY:`fixed`,children:[],layout:{mode:`free`,gap:0,pad:[0,0,0,0],alignMain:`start`,alignCross:`start`},clip:!1,values:{},instanceOf:`n_sc-menu-item-destructive`},"n_sc-alert":{type:`frame`,id:`n_sc-alert`,parent:null,name:`Alert`,x:0,y:0,w:10,h:10,sizeX:`fixed`,sizeY:`fixed`,children:[`n_sc-alert-default`,`n_sc-alert-destructive`],layout:{mode:`free`,gap:0,pad:[0,0,0,0],alignMain:`start`,alignCross:`start`},clip:!1,componentSet:!0,props:{Title:{type:`text`},Description:{type:`text`},Icon:{type:`swap`}}},"n_sc-alert-default":{type:`frame`,id:`n_sc-alert-default`,parent:`n_sc-alert`,name:`Variant=default`,x:20,y:20,w:400,h:70,sizeX:`fixed`,sizeY:`hug`,children:[`n_sc-i-2s`,`n_sc-f-2t`],layout:{mode:`row`,gap:12,pad:[12,16,12,16],alignMain:`start`,alignCross:`start`},clip:!1,stroke:{color:`$border`,width:1},radius:`$radius-lg`,variant:{Variant:`default`},main:!0,fills:[{type:`solid`,color:`$card`}]},"n_sc-i-2s":{type:`vector`,id:`n_sc-i-2s`,parent:`n_sc-alert-default`,name:`Icon`,x:0,y:2,w:16,h:16,sizeX:`fixed`,sizeY:`fixed`,asset:`kit:lucide/circle-check-big`,color:`$card-foreground`,icon:{pack:`lucide`,name:`circle-check-big`},bind:{swap:`Icon`}},"n_sc-f-2t":{type:`frame`,id:`n_sc-f-2t`,parent:`n_sc-alert-default`,name:`Text`,x:0,y:0,w:100,h:100,sizeX:`fill`,sizeY:`hug`,children:[`n_sc-t-2u`,`n_sc-t-2v`],layout:{mode:`column`,gap:4,pad:[0,0,0,0],alignMain:`start`,alignCross:`start`},clip:!1},"n_sc-t-2u":{type:`text`,id:`n_sc-t-2u`,parent:`n_sc-f-2t`,name:`Title`,x:0,y:0,w:0,h:0,sizeX:`fill`,sizeY:`hug`,content:`Success! Your changes have been saved`,style:`$text-sm`,fontSize:14,fontWeight:500,lineHeight:20,color:`$card-foreground`,bind:{content:`Title`}},"n_sc-t-2v":{type:`text`,id:`n_sc-t-2v`,parent:`n_sc-f-2t`,name:`Description`,x:0,y:0,w:0,h:0,sizeX:`fill`,sizeY:`hug`,content:`This is an alert with icon, title and description.`,style:`$text-sm`,fontSize:14,fontWeight:400,lineHeight:20,color:`$muted-foreground`,bind:{content:`Description`}},"n_sc-alert-destructive":{type:`frame`,id:`n_sc-alert-destructive`,parent:`n_sc-alert`,name:`Variant=destructive`,x:20,y:110,w:400,h:70,sizeX:`fixed`,sizeY:`hug`,children:[`n_sc-i-2w`,`n_sc-f-2x`],layout:{mode:`row`,gap:12,pad:[12,16,12,16],alignMain:`start`,alignCross:`start`},clip:!1,stroke:{color:`$border`,width:1},radius:`$radius-lg`,variant:{Variant:`destructive`},main:!0,fills:[{type:`solid`,color:`$card`}]},"n_sc-i-2w":{type:`vector`,id:`n_sc-i-2w`,parent:`n_sc-alert-destructive`,name:`Icon`,x:0,y:2,w:16,h:16,sizeX:`fixed`,sizeY:`fixed`,asset:`kit:lucide/circle-alert`,color:`$destructive`,icon:{pack:`lucide`,name:`circle-alert`},bind:{swap:`Icon`}},"n_sc-f-2x":{type:`frame`,id:`n_sc-f-2x`,parent:`n_sc-alert-destructive`,name:`Text`,x:0,y:0,w:100,h:100,sizeX:`fill`,sizeY:`hug`,children:[`n_sc-t-2y`,`n_sc-t-2z`],layout:{mode:`column`,gap:4,pad:[0,0,0,0],alignMain:`start`,alignCross:`start`},clip:!1},"n_sc-t-2y":{type:`text`,id:`n_sc-t-2y`,parent:`n_sc-f-2x`,name:`Title`,x:0,y:0,w:0,h:0,sizeX:`fill`,sizeY:`hug`,content:`Unable to process your payment.`,style:`$text-sm`,fontSize:14,fontWeight:500,lineHeight:20,color:`$destructive`,bind:{content:`Title`}},"n_sc-t-2z":{type:`text`,id:`n_sc-t-2z`,parent:`n_sc-f-2x`,name:`Description`,x:0,y:0,w:0,h:0,sizeX:`fill`,sizeY:`hug`,content:`Please verify your billing information and try again.`,opacity:.9,style:`$text-sm`,fontSize:14,fontWeight:400,lineHeight:20,color:`$destructive`,bind:{content:`Description`}},"n_sc-tooltip":{type:`frame`,id:`n_sc-tooltip`,parent:null,name:`Tooltip`,x:0,y:0,w:100,h:28,sizeX:`hug`,sizeY:`hug`,children:[`n_sc-t-30`],layout:{mode:`row`,gap:0,pad:[6,12,6,12],alignMain:`start`,alignCross:`center`},clip:!1,radius:`$radius-md`,main:!0,props:{Text:{type:`text`}},fills:[{type:`solid`,color:`$foreground`}]},"n_sc-t-30":{type:`text`,id:`n_sc-t-30`,parent:`n_sc-tooltip`,name:`Text`,x:0,y:0,w:0,h:0,sizeX:`hug`,sizeY:`hug`,content:`Add to library`,style:`$text-xs`,fontSize:12,fontWeight:400,lineHeight:16,color:`$background`,bind:{content:`Text`}}},icons:{"lucide/arrow-right":`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 12h14m-7-7l7 7l-7 7"/></svg>`,"lucide/plus":`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 12h14m-7-7v14"/></svg>`,"lucide/chevron-down":`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="m6 9l6 6l6-6"/></svg>`,"lucide/check":`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M20 6L9 17l-5-5"/></svg>`,"lucide/user":`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><g fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"><path d="M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2"/><circle cx="12" cy="7" r="4"/></g></svg>`,"lucide/log-out":`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="m16 17l5-5l-5-5m5 5H9m0 9H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4"/></svg>`,"lucide/credit-card":`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><g fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"><rect width="20" height="14" x="2" y="5" rx="2"/><path d="M2 10h20M6 14h2"/></g></svg>`,"lucide/settings":`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><g fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"><path d="M9.671 4.136a2.34 2.34 0 0 1 4.659 0a2.34 2.34 0 0 0 3.319 1.915a2.34 2.34 0 0 1 2.33 4.033a2.34 2.34 0 0 0 0 3.831a2.34 2.34 0 0 1-2.33 4.033a2.34 2.34 0 0 0-3.319 1.915a2.34 2.34 0 0 1-4.659 0a2.34 2.34 0 0 0-3.32-1.915a2.34 2.34 0 0 1-2.33-4.033a2.34 2.34 0 0 0 0-3.831A2.34 2.34 0 0 1 6.35 6.051a2.34 2.34 0 0 0 3.319-1.915"/><circle cx="12" cy="12" r="3"/></g></svg>`,"lucide/circle-check-big":`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><g fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"><path d="M21.801 10A10 10 0 1 1 17 3.335"/><path d="m9 11l3 3L22 4"/></g></svg>`,"lucide/circle-alert":`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><g fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"><circle cx="12" cy="12" r="10"/><path d="M12 8v4m0 4h.01"/></g></svg>`}},material3:{id:`material3`,name:`Material 3`,version:`2.0.0`,license:`Apache-2.0`,url:`https://m3.material.io`,components:[{id:`n_m3-button`,name:`Button`,group:`Buttons`},{id:`n_m3-fab`,name:`FAB`,group:`FABs`},{id:`n_m3-badge`,name:`Badge`,group:`Badges`},{id:`n_m3-text-field`,name:`Text field`,group:`Text fields`},{id:`n_m3-select`,name:`Select`,group:`Selects`},{id:`n_m3-checkbox`,name:`Checkbox`,group:`Checkboxes`},{id:`n_m3-switch`,name:`Switch`,group:`Switches`},{id:`n_m3-radio`,name:`Radio`,group:`Radios`},{id:`n_m3-card`,name:`Card`,group:`Cards`},{id:`n_m3-tabs`,name:`Tabs`,group:`Tabs`},{id:`n_m3-tab`,name:`Tab`,group:`Tabs`},{id:`n_m3-snackbar`,name:`Snackbar`,group:`Snackbars`},{id:`n_m3-divider`,name:`Divider`,group:`Dividers`},{id:`n_m3-tooltip`,name:`Tooltip`,group:`Tooltips`},{id:`n_m3-menu`,name:`Menu`,group:`Menus`},{id:`n_m3-menu-item`,name:`Menu item`,group:`Menus`}],nodes:{"n_m3-button":{type:`frame`,id:`n_m3-button`,parent:null,name:`Button`,x:0,y:0,w:10,h:10,sizeX:`fixed`,sizeY:`fixed`,children:[`n_m3-button-filled`,`n_m3-button-tonal`,`n_m3-button-outlined`,`n_m3-button-text`,`n_m3-button-elevated`],layout:{mode:`free`,gap:0,pad:[0,0,0,0],alignMain:`start`,alignCross:`start`},clip:!1,componentSet:!0,props:{Label:{type:`text`},"Show icon":{type:`boolean`},Icon:{type:`swap`}}},"n_m3-button-filled":{type:`frame`,id:`n_m3-button-filled`,parent:`n_m3-button`,name:`Variant=Filled`,x:20,y:20,w:100,h:40,sizeX:`hug`,sizeY:`fixed`,children:[`n_m3-i-0`,`n_m3-t-1`],layout:{mode:`row`,gap:8,pad:[0,24,0,24],alignMain:`center`,alignCross:`center`},clip:!1,radius:`$material3/corner-full`,variant:{Variant:`Filled`},main:!0,fills:[{type:`solid`,color:`$material3/primary`}]},"n_m3-i-0":{type:`vector`,id:`n_m3-i-0`,parent:`n_m3-button-filled`,name:`Icon`,x:0,y:0,w:18,h:18,sizeX:`fixed`,sizeY:`fixed`,asset:`kit:material-symbols/add`,hidden:!0,color:`$material3/on-primary`,icon:{pack:`material-symbols`,name:`add`},bind:{visible:`Show icon`,swap:`Icon`}},"n_m3-t-1":{type:`text`,id:`n_m3-t-1`,parent:`n_m3-button-filled`,name:`Label`,x:0,y:0,w:0,h:0,sizeX:`hug`,sizeY:`hug`,content:`Button`,style:`$material3/label-large`,fontSize:14,fontWeight:500,lineHeight:20,color:`$material3/on-primary`,bind:{content:`Label`}},"n_m3-button-tonal":{type:`frame`,id:`n_m3-button-tonal`,parent:`n_m3-button`,name:`Variant=Tonal`,x:140,y:20,w:100,h:40,sizeX:`hug`,sizeY:`fixed`,children:[`n_m3-i-2`,`n_m3-t-3`],layout:{mode:`row`,gap:8,pad:[0,24,0,24],alignMain:`center`,alignCross:`center`},clip:!1,radius:`$material3/corner-full`,variant:{Variant:`Tonal`},main:!0,fills:[{type:`solid`,color:`$material3/secondary-container`}]},"n_m3-i-2":{type:`vector`,id:`n_m3-i-2`,parent:`n_m3-button-tonal`,name:`Icon`,x:0,y:0,w:18,h:18,sizeX:`fixed`,sizeY:`fixed`,asset:`kit:material-symbols/add`,hidden:!0,color:`$material3/on-secondary-container`,icon:{pack:`material-symbols`,name:`add`},bind:{visible:`Show icon`,swap:`Icon`}},"n_m3-t-3":{type:`text`,id:`n_m3-t-3`,parent:`n_m3-button-tonal`,name:`Label`,x:0,y:0,w:0,h:0,sizeX:`hug`,sizeY:`hug`,content:`Button`,style:`$material3/label-large`,fontSize:14,fontWeight:500,lineHeight:20,color:`$material3/on-secondary-container`,bind:{content:`Label`}},"n_m3-button-outlined":{type:`frame`,id:`n_m3-button-outlined`,parent:`n_m3-button`,name:`Variant=Outlined`,x:260,y:20,w:100,h:40,sizeX:`hug`,sizeY:`fixed`,children:[`n_m3-i-4`,`n_m3-t-5`],layout:{mode:`row`,gap:8,pad:[0,24,0,24],alignMain:`center`,alignCross:`center`},clip:!1,stroke:{color:`$material3/outline`,width:1},radius:`$material3/corner-full`,variant:{Variant:`Outlined`},main:!0},"n_m3-i-4":{type:`vector`,id:`n_m3-i-4`,parent:`n_m3-button-outlined`,name:`Icon`,x:0,y:0,w:18,h:18,sizeX:`fixed`,sizeY:`fixed`,asset:`kit:material-symbols/add`,hidden:!0,color:`$material3/primary`,icon:{pack:`material-symbols`,name:`add`},bind:{visible:`Show icon`,swap:`Icon`}},"n_m3-t-5":{type:`text`,id:`n_m3-t-5`,parent:`n_m3-button-outlined`,name:`Label`,x:0,y:0,w:0,h:0,sizeX:`hug`,sizeY:`hug`,content:`Button`,style:`$material3/label-large`,fontSize:14,fontWeight:500,lineHeight:20,color:`$material3/primary`,bind:{content:`Label`}},"n_m3-button-text":{type:`frame`,id:`n_m3-button-text`,parent:`n_m3-button`,name:`Variant=Text`,x:380,y:20,w:100,h:40,sizeX:`hug`,sizeY:`fixed`,children:[`n_m3-i-6`,`n_m3-t-7`],layout:{mode:`row`,gap:8,pad:[0,12,0,12],alignMain:`center`,alignCross:`center`},clip:!1,radius:`$material3/corner-full`,variant:{Variant:`Text`},main:!0},"n_m3-i-6":{type:`vector`,id:`n_m3-i-6`,parent:`n_m3-button-text`,name:`Icon`,x:0,y:0,w:18,h:18,sizeX:`fixed`,sizeY:`fixed`,asset:`kit:material-symbols/add`,hidden:!0,color:`$material3/primary`,icon:{pack:`material-symbols`,name:`add`},bind:{visible:`Show icon`,swap:`Icon`}},"n_m3-t-7":{type:`text`,id:`n_m3-t-7`,parent:`n_m3-button-text`,name:`Label`,x:0,y:0,w:0,h:0,sizeX:`hug`,sizeY:`hug`,content:`Button`,style:`$material3/label-large`,fontSize:14,fontWeight:500,lineHeight:20,color:`$material3/primary`,bind:{content:`Label`}},"n_m3-button-elevated":{type:`frame`,id:`n_m3-button-elevated`,parent:`n_m3-button`,name:`Variant=Elevated`,x:500,y:20,w:100,h:40,sizeX:`hug`,sizeY:`fixed`,children:[`n_m3-i-8`,`n_m3-t-9`],layout:{mode:`row`,gap:8,pad:[0,24,0,24],alignMain:`center`,alignCross:`center`},clip:!1,radius:`$material3/corner-full`,effects:[{type:`shadow`,x:0,y:1,blur:2,spread:0,color:`#0000004d`},{type:`shadow`,x:0,y:1,blur:3,spread:1,color:`#00000026`}],variant:{Variant:`Elevated`},main:!0,fills:[{type:`solid`,color:`$material3/surface-container-low`}]},"n_m3-i-8":{type:`vector`,id:`n_m3-i-8`,parent:`n_m3-button-elevated`,name:`Icon`,x:0,y:0,w:18,h:18,sizeX:`fixed`,sizeY:`fixed`,asset:`kit:material-symbols/add`,hidden:!0,color:`$material3/primary`,icon:{pack:`material-symbols`,name:`add`},bind:{visible:`Show icon`,swap:`Icon`}},"n_m3-t-9":{type:`text`,id:`n_m3-t-9`,parent:`n_m3-button-elevated`,name:`Label`,x:0,y:0,w:0,h:0,sizeX:`hug`,sizeY:`hug`,content:`Button`,style:`$material3/label-large`,fontSize:14,fontWeight:500,lineHeight:20,color:`$material3/primary`,bind:{content:`Label`}},"n_m3-fab":{type:`frame`,id:`n_m3-fab`,parent:null,name:`FAB`,x:0,y:0,w:10,h:10,sizeX:`fixed`,sizeY:`fixed`,children:[`n_m3-fab-small`,`n_m3-fab-regular`,`n_m3-fab-large`],layout:{mode:`free`,gap:0,pad:[0,0,0,0],alignMain:`start`,alignCross:`start`},clip:!1,componentSet:!0,props:{Icon:{type:`swap`}}},"n_m3-fab-small":{type:`frame`,id:`n_m3-fab-small`,parent:`n_m3-fab`,name:`Size=small`,x:20,y:20,w:40,h:40,sizeX:`fixed`,sizeY:`fixed`,children:[`n_m3-i-a`],layout:{mode:`row`,gap:0,pad:[0,0,0,0],alignMain:`center`,alignCross:`center`},clip:!1,radius:`$material3/corner-medium`,effects:[{type:`shadow`,x:0,y:1,blur:3,spread:0,color:`#0000004d`},{type:`shadow`,x:0,y:4,blur:8,spread:3,color:`#00000026`}],variant:{Size:`small`},main:!0,fills:[{type:`solid`,color:`$material3/primary-container`}]},"n_m3-i-a":{type:`vector`,id:`n_m3-i-a`,parent:`n_m3-fab-small`,name:`Icon`,x:0,y:0,w:24,h:24,sizeX:`fixed`,sizeY:`fixed`,asset:`kit:material-symbols/edit`,color:`$material3/on-primary-container`,icon:{pack:`material-symbols`,name:`edit`},bind:{swap:`Icon`}},"n_m3-fab-regular":{type:`frame`,id:`n_m3-fab-regular`,parent:`n_m3-fab`,name:`Size=regular`,x:80,y:20,w:56,h:56,sizeX:`fixed`,sizeY:`fixed`,children:[`n_m3-i-b`],layout:{mode:`row`,gap:0,pad:[0,0,0,0],alignMain:`center`,alignCross:`center`},clip:!1,radius:`$material3/corner-large`,effects:[{type:`shadow`,x:0,y:1,blur:3,spread:0,color:`#0000004d`},{type:`shadow`,x:0,y:4,blur:8,spread:3,color:`#00000026`}],variant:{Size:`regular`},main:!0,fills:[{type:`solid`,color:`$material3/primary-container`}]},"n_m3-i-b":{type:`vector`,id:`n_m3-i-b`,parent:`n_m3-fab-regular`,name:`Icon`,x:0,y:0,w:24,h:24,sizeX:`fixed`,sizeY:`fixed`,asset:`kit:material-symbols/edit`,color:`$material3/on-primary-container`,icon:{pack:`material-symbols`,name:`edit`},bind:{swap:`Icon`}},"n_m3-fab-large":{type:`frame`,id:`n_m3-fab-large`,parent:`n_m3-fab`,name:`Size=large`,x:156,y:20,w:96,h:96,sizeX:`fixed`,sizeY:`fixed`,children:[`n_m3-i-c`],layout:{mode:`row`,gap:0,pad:[0,0,0,0],alignMain:`center`,alignCross:`center`},clip:!1,radius:`$material3/corner-extra-large`,effects:[{type:`shadow`,x:0,y:1,blur:3,spread:0,color:`#0000004d`},{type:`shadow`,x:0,y:4,blur:8,spread:3,color:`#00000026`}],variant:{Size:`large`},main:!0,fills:[{type:`solid`,color:`$material3/primary-container`}]},"n_m3-i-c":{type:`vector`,id:`n_m3-i-c`,parent:`n_m3-fab-large`,name:`Icon`,x:0,y:0,w:36,h:36,sizeX:`fixed`,sizeY:`fixed`,asset:`kit:material-symbols/edit`,color:`$material3/on-primary-container`,icon:{pack:`material-symbols`,name:`edit`},bind:{swap:`Icon`}},"n_m3-badge":{type:`frame`,id:`n_m3-badge`,parent:null,name:`Badge`,x:0,y:0,w:10,h:10,sizeX:`fixed`,sizeY:`fixed`,children:[`n_m3-badge-small`,`n_m3-badge-large`],layout:{mode:`free`,gap:0,pad:[0,0,0,0],alignMain:`start`,alignCross:`start`},clip:!1,componentSet:!0,props:{Label:{type:`text`}}},"n_m3-badge-small":{type:`frame`,id:`n_m3-badge-small`,parent:`n_m3-badge`,name:`Size=small`,x:20,y:20,w:6,h:6,sizeX:`fixed`,sizeY:`fixed`,children:[],layout:{mode:`free`,gap:0,pad:[0,0,0,0],alignMain:`start`,alignCross:`start`},clip:!1,radius:`$material3/corner-full`,variant:{Size:`small`},main:!0,fills:[{type:`solid`,color:`$material3/error`}]},"n_m3-badge-large":{type:`frame`,id:`n_m3-badge-large`,parent:`n_m3-badge`,name:`Size=large`,x:46,y:20,w:16,h:16,sizeX:`hug`,sizeY:`fixed`,children:[`n_m3-t-d`],layout:{mode:`row`,gap:0,pad:[0,4,0,4],alignMain:`center`,alignCross:`center`},clip:!1,radius:`$material3/corner-full`,variant:{Size:`large`},main:!0,fills:[{type:`solid`,color:`$material3/error`}]},"n_m3-t-d":{type:`text`,id:`n_m3-t-d`,parent:`n_m3-badge-large`,name:`Label`,x:0,y:0,w:0,h:0,sizeX:`hug`,sizeY:`hug`,content:`3`,style:`$material3/label-small`,fontSize:11,fontWeight:500,lineHeight:16,color:`$material3/on-error`,bind:{content:`Label`}},"n_m3-text-field":{type:`frame`,id:`n_m3-text-field`,parent:null,name:`Text field`,x:0,y:0,w:10,h:10,sizeX:`fixed`,sizeY:`fixed`,children:[`n_m3-text-field-outlined`,`n_m3-text-field-filled`],layout:{mode:`free`,gap:0,pad:[0,0,0,0],alignMain:`start`,alignCross:`start`},clip:!1,componentSet:!0,props:{Label:{type:`text`}}},"n_m3-text-field-outlined":{type:`frame`,id:`n_m3-text-field-outlined`,parent:`n_m3-text-field`,name:`Variant=Outlined`,x:20,y:20,w:240,h:56,sizeX:`fixed`,sizeY:`fixed`,children:[`n_m3-t-e`],layout:{mode:`row`,gap:0,pad:[16,16,16,16],alignMain:`start`,alignCross:`center`},clip:!1,stroke:{color:`$material3/outline`,width:1},radius:`$material3/corner-extra-small`,variant:{Variant:`Outlined`},main:!0},"n_m3-t-e":{type:`text`,id:`n_m3-t-e`,parent:`n_m3-text-field-outlined`,name:`Label`,x:0,y:0,w:0,h:0,sizeX:`fill`,sizeY:`hug`,content:`Label`,style:`$material3/body-large`,fontSize:16,fontWeight:400,lineHeight:24,color:`$material3/on-surface-variant`,bind:{content:`Label`}},"n_m3-text-field-filled":{type:`frame`,id:`n_m3-text-field-filled`,parent:`n_m3-text-field`,name:`Variant=Filled`,x:280,y:20,w:240,h:56,sizeX:`fixed`,sizeY:`fixed`,children:[`n_m3-t-f`],layout:{mode:`row`,gap:0,pad:[16,16,16,16],alignMain:`start`,alignCross:`center`},clip:!1,stroke:{color:`$material3/on-surface-variant`,width:1,sides:[0,0,1,0]},radius:[4,4,0,0],variant:{Variant:`Filled`},main:!0,fills:[{type:`solid`,color:`$material3/surface-container-highest`}]},"n_m3-t-f":{type:`text`,id:`n_m3-t-f`,parent:`n_m3-text-field-filled`,name:`Label`,x:0,y:0,w:0,h:0,sizeX:`fill`,sizeY:`hug`,content:`Label`,style:`$material3/body-large`,fontSize:16,fontWeight:400,lineHeight:24,color:`$material3/on-surface-variant`,bind:{content:`Label`}},"n_m3-select":{type:`frame`,id:`n_m3-select`,parent:null,name:`Select`,x:0,y:0,w:240,h:56,sizeX:`fixed`,sizeY:`fixed`,children:[`n_m3-t-g`,`n_m3-i-h`],layout:{mode:`row`,gap:0,pad:[16,12,16,16],alignMain:`between`,alignCross:`center`},clip:!1,stroke:{color:`$material3/outline`,width:1},radius:`$material3/corner-extra-small`,main:!0,props:{Label:{type:`text`}}},"n_m3-t-g":{type:`text`,id:`n_m3-t-g`,parent:`n_m3-select`,name:`Label`,x:0,y:0,w:0,h:0,sizeX:`hug`,sizeY:`hug`,content:`Label`,style:`$material3/body-large`,fontSize:16,fontWeight:400,lineHeight:24,color:`$material3/on-surface-variant`,bind:{content:`Label`}},"n_m3-i-h":{type:`vector`,id:`n_m3-i-h`,parent:`n_m3-select`,name:`Icon`,x:0,y:0,w:24,h:24,sizeX:`fixed`,sizeY:`fixed`,asset:`kit:material-symbols/arrow-drop-down`,color:`$material3/on-surface-variant`,icon:{pack:`material-symbols`,name:`arrow-drop-down`}},"n_m3-checkbox":{type:`frame`,id:`n_m3-checkbox`,parent:null,name:`Checkbox`,x:0,y:0,w:10,h:10,sizeX:`fixed`,sizeY:`fixed`,children:[`n_m3-checkbox-true`,`n_m3-checkbox-false`],layout:{mode:`free`,gap:0,pad:[0,0,0,0],alignMain:`start`,alignCross:`start`},clip:!1,componentSet:!0,props:{Label:{type:`text`},"Show label":{type:`boolean`}}},"n_m3-checkbox-true":{type:`frame`,id:`n_m3-checkbox-true`,parent:`n_m3-checkbox`,name:`Checked=true`,x:20,y:20,w:120,h:32,sizeX:`hug`,sizeY:`hug`,children:[`n_m3-f-i`,`n_m3-t-k`],layout:{mode:`row`,gap:12,pad:[0,0,0,0],alignMain:`start`,alignCross:`center`},clip:!1,variant:{Checked:`true`},main:!0},"n_m3-f-i":{type:`frame`,id:`n_m3-f-i`,parent:`n_m3-checkbox-true`,name:`Box`,x:0,y:0,w:18,h:18,sizeX:`fixed`,sizeY:`fixed`,children:[`n_m3-i-j`],layout:{mode:`row`,gap:0,pad:[0,0,0,0],alignMain:`center`,alignCross:`center`},clip:!1,radius:2,fills:[{type:`solid`,color:`$material3/primary`}]},"n_m3-i-j":{type:`vector`,id:`n_m3-i-j`,parent:`n_m3-f-i`,name:`Icon`,x:0,y:0,w:18,h:18,sizeX:`fixed`,sizeY:`fixed`,asset:`kit:material-symbols/check`,color:`$material3/on-primary`,icon:{pack:`material-symbols`,name:`check`}},"n_m3-t-k":{type:`text`,id:`n_m3-t-k`,parent:`n_m3-checkbox-true`,name:`Label`,x:0,y:0,w:0,h:0,sizeX:`hug`,sizeY:`hug`,content:`Label`,style:`$material3/body-medium`,fontSize:14,fontWeight:400,lineHeight:20,color:`$material3/on-surface`,bind:{content:`Label`,visible:`Show label`}},"n_m3-checkbox-false":{type:`frame`,id:`n_m3-checkbox-false`,parent:`n_m3-checkbox`,name:`Checked=false`,x:160,y:20,w:120,h:32,sizeX:`hug`,sizeY:`hug`,children:[`n_m3-f-l`,`n_m3-t-m`],layout:{mode:`row`,gap:12,pad:[0,0,0,0],alignMain:`start`,alignCross:`center`},clip:!1,variant:{Checked:`false`},main:!0},"n_m3-f-l":{type:`frame`,id:`n_m3-f-l`,parent:`n_m3-checkbox-false`,name:`Box`,x:0,y:0,w:18,h:18,sizeX:`fixed`,sizeY:`fixed`,children:[],layout:{mode:`row`,gap:0,pad:[0,0,0,0],alignMain:`center`,alignCross:`center`},clip:!1,stroke:{color:`$material3/on-surface-variant`,width:2},radius:2},"n_m3-t-m":{type:`text`,id:`n_m3-t-m`,parent:`n_m3-checkbox-false`,name:`Label`,x:0,y:0,w:0,h:0,sizeX:`hug`,sizeY:`hug`,content:`Label`,style:`$material3/body-medium`,fontSize:14,fontWeight:400,lineHeight:20,color:`$material3/on-surface`,bind:{content:`Label`,visible:`Show label`}},"n_m3-switch":{type:`frame`,id:`n_m3-switch`,parent:null,name:`Switch`,x:0,y:0,w:10,h:10,sizeX:`fixed`,sizeY:`fixed`,children:[`n_m3-switch-true`,`n_m3-switch-false`],layout:{mode:`free`,gap:0,pad:[0,0,0,0],alignMain:`start`,alignCross:`start`},clip:!1,componentSet:!0,props:{Label:{type:`text`},"Show label":{type:`boolean`}}},"n_m3-switch-true":{type:`frame`,id:`n_m3-switch-true`,parent:`n_m3-switch`,name:`Selected=true`,x:20,y:20,w:120,h:32,sizeX:`hug`,sizeY:`hug`,children:[`n_m3-f-n`,`n_m3-t-p`],layout:{mode:`row`,gap:12,pad:[0,0,0,0],alignMain:`start`,alignCross:`center`},clip:!1,variant:{Selected:`true`},main:!0},"n_m3-f-n":{type:`frame`,id:`n_m3-f-n`,parent:`n_m3-switch-true`,name:`Track`,x:0,y:0,w:52,h:32,sizeX:`fixed`,sizeY:`fixed`,children:[`n_m3-f-o`],layout:{mode:`row`,gap:0,pad:[0,4,0,4],alignMain:`end`,alignCross:`center`},clip:!1,radius:`$material3/corner-full`,fills:[{type:`solid`,color:`$material3/primary`}]},"n_m3-f-o":{type:`frame`,id:`n_m3-f-o`,parent:`n_m3-f-n`,name:`Handle`,x:0,y:0,w:24,h:24,sizeX:`fixed`,sizeY:`fixed`,children:[],layout:{mode:`free`,gap:0,pad:[0,0,0,0],alignMain:`start`,alignCross:`start`},clip:!1,radius:`$material3/corner-full`,fills:[{type:`solid`,color:`$material3/on-primary`}]},"n_m3-t-p":{type:`text`,id:`n_m3-t-p`,parent:`n_m3-switch-true`,name:`Label`,x:0,y:0,w:0,h:0,sizeX:`hug`,sizeY:`hug`,content:`Label`,style:`$material3/body-medium`,fontSize:14,fontWeight:400,lineHeight:20,color:`$material3/on-surface`,bind:{content:`Label`,visible:`Show label`}},"n_m3-switch-false":{type:`frame`,id:`n_m3-switch-false`,parent:`n_m3-switch`,name:`Selected=false`,x:160,y:20,w:120,h:32,sizeX:`hug`,sizeY:`hug`,children:[`n_m3-f-q`,`n_m3-t-s`],layout:{mode:`row`,gap:12,pad:[0,0,0,0],alignMain:`start`,alignCross:`center`},clip:!1,variant:{Selected:`false`},main:!0},"n_m3-f-q":{type:`frame`,id:`n_m3-f-q`,parent:`n_m3-switch-false`,name:`Track`,x:0,y:0,w:52,h:32,sizeX:`fixed`,sizeY:`fixed`,children:[`n_m3-f-r`],layout:{mode:`row`,gap:0,pad:[0,8,0,8],alignMain:`start`,alignCross:`center`},clip:!1,stroke:{color:`$material3/outline`,width:2},radius:`$material3/corner-full`,fills:[{type:`solid`,color:`$material3/surface-container-highest`}]},"n_m3-f-r":{type:`frame`,id:`n_m3-f-r`,parent:`n_m3-f-q`,name:`Handle`,x:0,y:0,w:16,h:16,sizeX:`fixed`,sizeY:`fixed`,children:[],layout:{mode:`free`,gap:0,pad:[0,0,0,0],alignMain:`start`,alignCross:`start`},clip:!1,radius:`$material3/corner-full`,fills:[{type:`solid`,color:`$material3/outline`}]},"n_m3-t-s":{type:`text`,id:`n_m3-t-s`,parent:`n_m3-switch-false`,name:`Label`,x:0,y:0,w:0,h:0,sizeX:`hug`,sizeY:`hug`,content:`Label`,style:`$material3/body-medium`,fontSize:14,fontWeight:400,lineHeight:20,color:`$material3/on-surface`,bind:{content:`Label`,visible:`Show label`}},"n_m3-radio":{type:`frame`,id:`n_m3-radio`,parent:null,name:`Radio`,x:0,y:0,w:10,h:10,sizeX:`fixed`,sizeY:`fixed`,children:[`n_m3-radio-true`,`n_m3-radio-false`],layout:{mode:`free`,gap:0,pad:[0,0,0,0],alignMain:`start`,alignCross:`start`},clip:!1,componentSet:!0,props:{Label:{type:`text`}}},"n_m3-radio-true":{type:`frame`,id:`n_m3-radio-true`,parent:`n_m3-radio`,name:`Selected=true`,x:20,y:20,w:120,h:32,sizeX:`hug`,sizeY:`hug`,children:[`n_m3-f-t`,`n_m3-t-v`],layout:{mode:`row`,gap:12,pad:[0,0,0,0],alignMain:`start`,alignCross:`center`},clip:!1,variant:{Selected:`true`},main:!0},"n_m3-f-t":{type:`frame`,id:`n_m3-f-t`,parent:`n_m3-radio-true`,name:`Ring`,x:0,y:0,w:20,h:20,sizeX:`fixed`,sizeY:`fixed`,children:[`n_m3-f-u`],layout:{mode:`row`,gap:0,pad:[0,0,0,0],alignMain:`center`,alignCross:`center`},clip:!1,stroke:{color:`$material3/primary`,width:2},radius:`$material3/corner-full`},"n_m3-f-u":{type:`frame`,id:`n_m3-f-u`,parent:`n_m3-f-t`,name:`Dot`,x:0,y:0,w:10,h:10,sizeX:`fixed`,sizeY:`fixed`,children:[],layout:{mode:`free`,gap:0,pad:[0,0,0,0],alignMain:`start`,alignCross:`start`},clip:!1,radius:`$material3/corner-full`,fills:[{type:`solid`,color:`$material3/primary`}]},"n_m3-t-v":{type:`text`,id:`n_m3-t-v`,parent:`n_m3-radio-true`,name:`Label`,x:0,y:0,w:0,h:0,sizeX:`hug`,sizeY:`hug`,content:`Label`,style:`$material3/body-medium`,fontSize:14,fontWeight:400,lineHeight:20,color:`$material3/on-surface`,bind:{content:`Label`}},"n_m3-radio-false":{type:`frame`,id:`n_m3-radio-false`,parent:`n_m3-radio`,name:`Selected=false`,x:160,y:20,w:120,h:32,sizeX:`hug`,sizeY:`hug`,children:[`n_m3-f-w`,`n_m3-t-x`],layout:{mode:`row`,gap:12,pad:[0,0,0,0],alignMain:`start`,alignCross:`center`},clip:!1,variant:{Selected:`false`},main:!0},"n_m3-f-w":{type:`frame`,id:`n_m3-f-w`,parent:`n_m3-radio-false`,name:`Ring`,x:0,y:0,w:20,h:20,sizeX:`fixed`,sizeY:`fixed`,children:[],layout:{mode:`row`,gap:0,pad:[0,0,0,0],alignMain:`center`,alignCross:`center`},clip:!1,stroke:{color:`$material3/on-surface-variant`,width:2},radius:`$material3/corner-full`},"n_m3-t-x":{type:`text`,id:`n_m3-t-x`,parent:`n_m3-radio-false`,name:`Label`,x:0,y:0,w:0,h:0,sizeX:`hug`,sizeY:`hug`,content:`Label`,style:`$material3/body-medium`,fontSize:14,fontWeight:400,lineHeight:20,color:`$material3/on-surface`,bind:{content:`Label`}},"n_m3-card":{type:`frame`,id:`n_m3-card`,parent:null,name:`Card`,x:0,y:0,w:10,h:10,sizeX:`fixed`,sizeY:`fixed`,children:[`n_m3-card-elevated`,`n_m3-card-filled`,`n_m3-card-outlined`],layout:{mode:`free`,gap:0,pad:[0,0,0,0],alignMain:`start`,alignCross:`start`},clip:!1,componentSet:!0,props:{Title:{type:`text`},Subhead:{type:`text`},"Supporting text":{type:`text`},"Show actions":{type:`boolean`}}},"n_m3-card-elevated":{type:`frame`,id:`n_m3-card-elevated`,parent:`n_m3-card`,name:`Variant=Elevated`,x:20,y:20,w:280,h:160,sizeX:`fixed`,sizeY:`hug`,children:[`n_m3-f-y`,`n_m3-t-11`,`n_m3-f-12`],layout:{mode:`column`,gap:16,pad:[16,16,16,16],alignMain:`start`,alignCross:`start`},clip:!1,radius:`$material3/corner-medium`,effects:[{type:`shadow`,x:0,y:1,blur:2,spread:0,color:`#0000004d`},{type:`shadow`,x:0,y:1,blur:3,spread:1,color:`#00000026`}],variant:{Variant:`Elevated`},main:!0,fills:[{type:`solid`,color:`$material3/surface-container-low`}]},"n_m3-f-y":{type:`frame`,id:`n_m3-f-y`,parent:`n_m3-card-elevated`,name:`Header`,x:0,y:0,w:100,h:100,sizeX:`fill`,sizeY:`hug`,children:[`n_m3-t-z`,`n_m3-t-10`],layout:{mode:`column`,gap:0,pad:[0,0,0,0],alignMain:`start`,alignCross:`start`},clip:!1},"n_m3-t-z":{type:`text`,id:`n_m3-t-z`,parent:`n_m3-f-y`,name:`Title`,x:0,y:0,w:0,h:0,sizeX:`hug`,sizeY:`hug`,content:`Title`,style:`$material3/title-medium`,fontSize:16,fontWeight:500,lineHeight:24,color:`$material3/on-surface`,bind:{content:`Title`}},"n_m3-t-10":{type:`text`,id:`n_m3-t-10`,parent:`n_m3-f-y`,name:`Subhead`,x:0,y:0,w:0,h:0,sizeX:`hug`,sizeY:`hug`,content:`Subhead`,style:`$material3/body-medium`,fontSize:14,fontWeight:400,lineHeight:20,color:`$material3/on-surface-variant`,bind:{content:`Subhead`}},"n_m3-t-11":{type:`text`,id:`n_m3-t-11`,parent:`n_m3-card-elevated`,name:`Supporting text`,x:0,y:0,w:0,h:0,sizeX:`fill`,sizeY:`hug`,content:`Supporting text`,style:`$material3/body-medium`,fontSize:14,fontWeight:400,lineHeight:20,color:`$material3/on-surface-variant`,bind:{content:`Supporting text`}},"n_m3-f-12":{type:`frame`,id:`n_m3-f-12`,parent:`n_m3-card-elevated`,name:`Actions`,x:0,y:0,w:100,h:100,sizeX:`fill`,sizeY:`hug`,children:[`n_m3-n-13`],layout:{mode:`row`,gap:8,pad:[0,0,0,0],alignMain:`end`,alignCross:`center`},clip:!1,bind:{visible:`Show actions`}},"n_m3-n-13":{type:`frame`,id:`n_m3-n-13`,parent:`n_m3-f-12`,name:`Button`,x:0,y:0,w:100,h:100,sizeX:`fixed`,sizeY:`fixed`,children:[],layout:{mode:`free`,gap:0,pad:[0,0,0,0],alignMain:`start`,alignCross:`start`},clip:!1,values:{Label:`Action`},instanceOf:`n_m3-button-filled`},"n_m3-card-filled":{type:`frame`,id:`n_m3-card-filled`,parent:`n_m3-card`,name:`Variant=Filled`,x:320,y:20,w:280,h:160,sizeX:`fixed`,sizeY:`hug`,children:[`n_m3-f-14`,`n_m3-t-17`,`n_m3-f-18`],layout:{mode:`column`,gap:16,pad:[16,16,16,16],alignMain:`start`,alignCross:`start`},clip:!1,radius:`$material3/corner-medium`,variant:{Variant:`Filled`},main:!0,fills:[{type:`solid`,color:`$material3/surface-container-highest`}]},"n_m3-f-14":{type:`frame`,id:`n_m3-f-14`,parent:`n_m3-card-filled`,name:`Header`,x:0,y:0,w:100,h:100,sizeX:`fill`,sizeY:`hug`,children:[`n_m3-t-15`,`n_m3-t-16`],layout:{mode:`column`,gap:0,pad:[0,0,0,0],alignMain:`start`,alignCross:`start`},clip:!1},"n_m3-t-15":{type:`text`,id:`n_m3-t-15`,parent:`n_m3-f-14`,name:`Title`,x:0,y:0,w:0,h:0,sizeX:`hug`,sizeY:`hug`,content:`Title`,style:`$material3/title-medium`,fontSize:16,fontWeight:500,lineHeight:24,color:`$material3/on-surface`,bind:{content:`Title`}},"n_m3-t-16":{type:`text`,id:`n_m3-t-16`,parent:`n_m3-f-14`,name:`Subhead`,x:0,y:0,w:0,h:0,sizeX:`hug`,sizeY:`hug`,content:`Subhead`,style:`$material3/body-medium`,fontSize:14,fontWeight:400,lineHeight:20,color:`$material3/on-surface-variant`,bind:{content:`Subhead`}},"n_m3-t-17":{type:`text`,id:`n_m3-t-17`,parent:`n_m3-card-filled`,name:`Supporting text`,x:0,y:0,w:0,h:0,sizeX:`fill`,sizeY:`hug`,content:`Supporting text`,style:`$material3/body-medium`,fontSize:14,fontWeight:400,lineHeight:20,color:`$material3/on-surface-variant`,bind:{content:`Supporting text`}},"n_m3-f-18":{type:`frame`,id:`n_m3-f-18`,parent:`n_m3-card-filled`,name:`Actions`,x:0,y:0,w:100,h:100,sizeX:`fill`,sizeY:`hug`,children:[`n_m3-n-19`],layout:{mode:`row`,gap:8,pad:[0,0,0,0],alignMain:`end`,alignCross:`center`},clip:!1,bind:{visible:`Show actions`}},"n_m3-n-19":{type:`frame`,id:`n_m3-n-19`,parent:`n_m3-f-18`,name:`Button`,x:0,y:0,w:100,h:100,sizeX:`fixed`,sizeY:`fixed`,children:[],layout:{mode:`free`,gap:0,pad:[0,0,0,0],alignMain:`start`,alignCross:`start`},clip:!1,values:{Label:`Action`},instanceOf:`n_m3-button-filled`},"n_m3-card-outlined":{type:`frame`,id:`n_m3-card-outlined`,parent:`n_m3-card`,name:`Variant=Outlined`,x:620,y:20,w:280,h:160,sizeX:`fixed`,sizeY:`hug`,children:[`n_m3-f-1a`,`n_m3-t-1d`,`n_m3-f-1e`],layout:{mode:`column`,gap:16,pad:[16,16,16,16],alignMain:`start`,alignCross:`start`},clip:!1,stroke:{color:`$material3/outline-variant`,width:1},radius:`$material3/corner-medium`,variant:{Variant:`Outlined`},main:!0,fills:[{type:`solid`,color:`$material3/surface`}]},"n_m3-f-1a":{type:`frame`,id:`n_m3-f-1a`,parent:`n_m3-card-outlined`,name:`Header`,x:0,y:0,w:100,h:100,sizeX:`fill`,sizeY:`hug`,children:[`n_m3-t-1b`,`n_m3-t-1c`],layout:{mode:`column`,gap:0,pad:[0,0,0,0],alignMain:`start`,alignCross:`start`},clip:!1},"n_m3-t-1b":{type:`text`,id:`n_m3-t-1b`,parent:`n_m3-f-1a`,name:`Title`,x:0,y:0,w:0,h:0,sizeX:`hug`,sizeY:`hug`,content:`Title`,style:`$material3/title-medium`,fontSize:16,fontWeight:500,lineHeight:24,color:`$material3/on-surface`,bind:{content:`Title`}},"n_m3-t-1c":{type:`text`,id:`n_m3-t-1c`,parent:`n_m3-f-1a`,name:`Subhead`,x:0,y:0,w:0,h:0,sizeX:`hug`,sizeY:`hug`,content:`Subhead`,style:`$material3/body-medium`,fontSize:14,fontWeight:400,lineHeight:20,color:`$material3/on-surface-variant`,bind:{content:`Subhead`}},"n_m3-t-1d":{type:`text`,id:`n_m3-t-1d`,parent:`n_m3-card-outlined`,name:`Supporting text`,x:0,y:0,w:0,h:0,sizeX:`fill`,sizeY:`hug`,content:`Supporting text`,style:`$material3/body-medium`,fontSize:14,fontWeight:400,lineHeight:20,color:`$material3/on-surface-variant`,bind:{content:`Supporting text`}},"n_m3-f-1e":{type:`frame`,id:`n_m3-f-1e`,parent:`n_m3-card-outlined`,name:`Actions`,x:0,y:0,w:100,h:100,sizeX:`fill`,sizeY:`hug`,children:[`n_m3-n-1f`],layout:{mode:`row`,gap:8,pad:[0,0,0,0],alignMain:`end`,alignCross:`center`},clip:!1,bind:{visible:`Show actions`}},"n_m3-n-1f":{type:`frame`,id:`n_m3-n-1f`,parent:`n_m3-f-1e`,name:`Button`,x:0,y:0,w:100,h:100,sizeX:`fixed`,sizeY:`fixed`,children:[],layout:{mode:`free`,gap:0,pad:[0,0,0,0],alignMain:`start`,alignCross:`start`},clip:!1,values:{Label:`Action`},instanceOf:`n_m3-button-filled`},"n_m3-tab":{type:`frame`,id:`n_m3-tab`,parent:null,name:`Tab`,x:0,y:0,w:10,h:10,sizeX:`fixed`,sizeY:`fixed`,children:[`n_m3-tab-true`,`n_m3-tab-false`],layout:{mode:`free`,gap:0,pad:[0,0,0,0],alignMain:`start`,alignCross:`start`},clip:!1,componentSet:!0,props:{Label:{type:`text`}}},"n_m3-tab-true":{type:`frame`,id:`n_m3-tab-true`,parent:`n_m3-tab`,name:`Active=true`,x:20,y:20,w:90,h:48,sizeX:`hug`,sizeY:`fixed`,children:[`n_m3-f-1g`,`n_m3-f-1i`],layout:{mode:`column`,gap:0,pad:[0,0,0,0],alignMain:`start`,alignCross:`center`},clip:!1,variant:{Active:`true`},main:!0},"n_m3-f-1g":{type:`frame`,id:`n_m3-f-1g`,parent:`n_m3-tab-true`,name:`Content`,x:0,y:0,w:90,h:45,sizeX:`hug`,sizeY:`fill`,children:[`n_m3-t-1h`],layout:{mode:`row`,gap:0,pad:[0,16,0,16],alignMain:`center`,alignCross:`center`},clip:!1},"n_m3-t-1h":{type:`text`,id:`n_m3-t-1h`,parent:`n_m3-f-1g`,name:`Label`,x:0,y:0,w:0,h:0,sizeX:`hug`,sizeY:`hug`,content:`Tab`,style:`$material3/title-small`,fontSize:14,fontWeight:500,lineHeight:20,color:`$material3/primary`,bind:{content:`Label`}},"n_m3-f-1i":{type:`frame`,id:`n_m3-f-1i`,parent:`n_m3-tab-true`,name:`Indicator`,x:0,y:0,w:90,h:3,sizeX:`fill`,sizeY:`fixed`,children:[],layout:{mode:`free`,gap:0,pad:[0,0,0,0],alignMain:`start`,alignCross:`start`},clip:!1,radius:[3,3,0,0],fills:[{type:`solid`,color:`$material3/primary`}]},"n_m3-tab-false":{type:`frame`,id:`n_m3-tab-false`,parent:`n_m3-tab`,name:`Active=false`,x:130,y:20,w:90,h:48,sizeX:`hug`,sizeY:`fixed`,children:[`n_m3-f-1j`,`n_m3-f-1l`],layout:{mode:`column`,gap:0,pad:[0,0,0,0],alignMain:`start`,alignCross:`center`},clip:!1,variant:{Active:`false`},main:!0},"n_m3-f-1j":{type:`frame`,id:`n_m3-f-1j`,parent:`n_m3-tab-false`,name:`Content`,x:0,y:0,w:90,h:45,sizeX:`hug`,sizeY:`fill`,children:[`n_m3-t-1k`],layout:{mode:`row`,gap:0,pad:[0,16,0,16],alignMain:`center`,alignCross:`center`},clip:!1},"n_m3-t-1k":{type:`text`,id:`n_m3-t-1k`,parent:`n_m3-f-1j`,name:`Label`,x:0,y:0,w:0,h:0,sizeX:`hug`,sizeY:`hug`,content:`Tab`,style:`$material3/title-small`,fontSize:14,fontWeight:500,lineHeight:20,color:`$material3/on-surface-variant`,bind:{content:`Label`}},"n_m3-f-1l":{type:`frame`,id:`n_m3-f-1l`,parent:`n_m3-tab-false`,name:`Indicator`,x:0,y:0,w:90,h:3,sizeX:`fill`,sizeY:`fixed`,children:[],layout:{mode:`free`,gap:0,pad:[0,0,0,0],alignMain:`start`,alignCross:`start`},clip:!1,radius:[3,3,0,0]},"n_m3-tabs":{type:`frame`,id:`n_m3-tabs`,parent:null,name:`Tabs`,x:0,y:0,w:300,h:48,sizeX:`hug`,sizeY:`hug`,children:[`n_m3-n-1m`,`n_m3-n-1n`,`n_m3-n-1o`],layout:{mode:`row`,gap:0,pad:[0,0,0,0],alignMain:`start`,alignCross:`end`},clip:!1,stroke:{color:`$material3/outline-variant`,width:1,sides:[0,0,1,0]},main:!0,fills:[{type:`solid`,color:`$material3/surface`}]},"n_m3-n-1m":{type:`frame`,id:`n_m3-n-1m`,parent:`n_m3-tabs`,name:`Tab`,x:0,y:0,w:100,h:100,sizeX:`fixed`,sizeY:`fixed`,children:[],layout:{mode:`free`,gap:0,pad:[0,0,0,0],alignMain:`start`,alignCross:`start`},clip:!1,values:{Label:`Video`},instanceOf:`n_m3-tab-true`},"n_m3-n-1n":{type:`frame`,id:`n_m3-n-1n`,parent:`n_m3-tabs`,name:`Tab`,x:0,y:0,w:100,h:100,sizeX:`fixed`,sizeY:`fixed`,children:[],layout:{mode:`free`,gap:0,pad:[0,0,0,0],alignMain:`start`,alignCross:`start`},clip:!1,values:{Label:`Photos`},instanceOf:`n_m3-tab-false`},"n_m3-n-1o":{type:`frame`,id:`n_m3-n-1o`,parent:`n_m3-tabs`,name:`Tab`,x:0,y:0,w:100,h:100,sizeX:`fixed`,sizeY:`fixed`,children:[],layout:{mode:`free`,gap:0,pad:[0,0,0,0],alignMain:`start`,alignCross:`start`},clip:!1,values:{Label:`Audio`},instanceOf:`n_m3-tab-false`},"n_m3-snackbar":{type:`frame`,id:`n_m3-snackbar`,parent:null,name:`Snackbar`,x:0,y:0,w:344,h:48,sizeX:`fixed`,sizeY:`hug`,children:[`n_m3-t-1p`,`n_m3-f-1q`],layout:{mode:`row`,gap:8,pad:[4,8,4,16],alignMain:`start`,alignCross:`center`},clip:!1,radius:`$material3/corner-extra-small`,effects:[{type:`shadow`,x:0,y:1,blur:3,spread:0,color:`#0000004d`},{type:`shadow`,x:0,y:4,blur:8,spread:3,color:`#00000026`}],main:!0,props:{Text:{type:`text`},Action:{type:`text`},"Show action":{type:`boolean`}},fills:[{type:`solid`,color:`$material3/inverse-surface`}]},"n_m3-t-1p":{type:`text`,id:`n_m3-t-1p`,parent:`n_m3-snackbar`,name:`Text`,x:0,y:0,w:0,h:0,sizeX:`fill`,sizeY:`hug`,content:`Photo saved`,style:`$material3/body-medium`,fontSize:14,fontWeight:400,lineHeight:20,color:`$material3/inverse-on-surface`,bind:{content:`Text`}},"n_m3-f-1q":{type:`frame`,id:`n_m3-f-1q`,parent:`n_m3-snackbar`,name:`Action`,x:0,y:0,w:100,h:100,sizeX:`hug`,sizeY:`hug`,children:[`n_m3-t-1r`],layout:{mode:`row`,gap:0,pad:[10,12,10,12],alignMain:`start`,alignCross:`center`},clip:!1,bind:{visible:`Show action`}},"n_m3-t-1r":{type:`text`,id:`n_m3-t-1r`,parent:`n_m3-f-1q`,name:`Label`,x:0,y:0,w:0,h:0,sizeX:`hug`,sizeY:`hug`,content:`Undo`,style:`$material3/label-large`,fontSize:14,fontWeight:500,lineHeight:20,color:`$material3/inverse-primary`,bind:{content:`Action`}},"n_m3-tooltip":{type:`frame`,id:`n_m3-tooltip`,parent:null,name:`Tooltip`,x:0,y:0,w:80,h:24,sizeX:`hug`,sizeY:`hug`,children:[`n_m3-t-1s`],layout:{mode:`row`,gap:0,pad:[4,8,4,8],alignMain:`start`,alignCross:`center`},clip:!1,radius:`$material3/corner-extra-small`,main:!0,props:{Text:{type:`text`}},fills:[{type:`solid`,color:`$material3/inverse-surface`}]},"n_m3-t-1s":{type:`text`,id:`n_m3-t-1s`,parent:`n_m3-tooltip`,name:`Text`,x:0,y:0,w:0,h:0,sizeX:`hug`,sizeY:`hug`,content:`Tooltip`,style:`$material3/body-small`,fontSize:12,fontWeight:400,lineHeight:16,color:`$material3/inverse-on-surface`,bind:{content:`Text`}},"n_m3-divider":{type:`frame`,id:`n_m3-divider`,parent:null,name:`Divider`,x:0,y:0,w:10,h:10,sizeX:`fixed`,sizeY:`fixed`,children:[`n_m3-divider-horizontal`,`n_m3-divider-vertical`],layout:{mode:`free`,gap:0,pad:[0,0,0,0],alignMain:`start`,alignCross:`start`},clip:!1,componentSet:!0},"n_m3-divider-horizontal":{type:`frame`,id:`n_m3-divider-horizontal`,parent:`n_m3-divider`,name:`Orientation=horizontal`,x:20,y:20,w:200,h:1,sizeX:`fixed`,sizeY:`fixed`,children:[],layout:{mode:`free`,gap:0,pad:[0,0,0,0],alignMain:`start`,alignCross:`start`},clip:!1,variant:{Orientation:`horizontal`},main:!0,fills:[{type:`solid`,color:`$material3/outline-variant`}]},"n_m3-divider-vertical":{type:`frame`,id:`n_m3-divider-vertical`,parent:`n_m3-divider`,name:`Orientation=vertical`,x:240,y:20,w:1,h:24,sizeX:`fixed`,sizeY:`fixed`,children:[],layout:{mode:`free`,gap:0,pad:[0,0,0,0],alignMain:`start`,alignCross:`start`},clip:!1,variant:{Orientation:`vertical`},main:!0,fills:[{type:`solid`,color:`$material3/outline-variant`}]},"n_m3-menu-item":{type:`frame`,id:`n_m3-menu-item`,parent:null,name:`Menu item`,x:0,y:0,w:200,h:48,sizeX:`fixed`,sizeY:`fixed`,children:[`n_m3-i-1t`,`n_m3-t-1u`,`n_m3-t-1v`],layout:{mode:`row`,gap:12,pad:[0,12,0,12],alignMain:`start`,alignCross:`center`},clip:!1,main:!0,props:{Label:{type:`text`},"Leading icon":{type:`swap`},"Show leading icon":{type:`boolean`},"Trailing text":{type:`text`},"Show trailing text":{type:`boolean`}}},"n_m3-i-1t":{type:`vector`,id:`n_m3-i-1t`,parent:`n_m3-menu-item`,name:`Icon`,x:0,y:0,w:24,h:24,sizeX:`fixed`,sizeY:`fixed`,asset:`kit:material-symbols/person`,color:`$material3/on-surface-variant`,icon:{pack:`material-symbols`,name:`person`},bind:{visible:`Show leading icon`,swap:`Leading icon`}},"n_m3-t-1u":{type:`text`,id:`n_m3-t-1u`,parent:`n_m3-menu-item`,name:`Label`,x:0,y:0,w:0,h:0,sizeX:`fill`,sizeY:`hug`,content:`Item`,style:`$material3/label-large`,fontSize:14,fontWeight:500,lineHeight:20,color:`$material3/on-surface`,bind:{content:`Label`}},"n_m3-t-1v":{type:`text`,id:`n_m3-t-1v`,parent:`n_m3-menu-item`,name:`Trailing text`,x:0,y:0,w:0,h:0,sizeX:`hug`,sizeY:`hug`,content:`⌘P`,hidden:!0,style:`$material3/label-large`,fontSize:14,fontWeight:500,lineHeight:20,color:`$material3/on-surface-variant`,bind:{content:`Trailing text`,visible:`Show trailing text`}},"n_m3-menu":{type:`frame`,id:`n_m3-menu`,parent:null,name:`Menu`,x:0,y:0,w:200,h:200,sizeX:`fixed`,sizeY:`hug`,children:[`n_m3-n-1w`,`n_m3-n-1x`,`n_m3-n-1y`,`n_m3-f-1z`,`n_m3-n-20`],layout:{mode:`column`,gap:0,pad:[8,0,8,0],alignMain:`start`,alignCross:`start`},clip:!1,radius:`$material3/corner-extra-small`,effects:[{type:`shadow`,x:0,y:1,blur:2,spread:0,color:`#0000004d`},{type:`shadow`,x:0,y:2,blur:6,spread:2,color:`#00000026`}],main:!0,fills:[{type:`solid`,color:`$material3/surface-container`}]},"n_m3-n-1w":{type:`frame`,id:`n_m3-n-1w`,parent:`n_m3-menu`,name:`Item`,x:0,y:0,w:100,h:100,sizeX:`fixed`,sizeY:`fixed`,children:[],layout:{mode:`free`,gap:0,pad:[0,0,0,0],alignMain:`start`,alignCross:`start`},clip:!1,values:{Label:`Profile`,"Leading icon":{icon:{pack:`material-symbols`,name:`person`},asset:`kit:material-symbols/person`}},instanceOf:`n_m3-menu-item`},"n_m3-n-1x":{type:`frame`,id:`n_m3-n-1x`,parent:`n_m3-menu`,name:`Item`,x:0,y:0,w:100,h:100,sizeX:`fixed`,sizeY:`fixed`,children:[],layout:{mode:`free`,gap:0,pad:[0,0,0,0],alignMain:`start`,alignCross:`start`},clip:!1,values:{Label:`Settings`,"Leading icon":{icon:{pack:`material-symbols`,name:`settings`},asset:`kit:material-symbols/settings`}},instanceOf:`n_m3-menu-item`},"n_m3-n-1y":{type:`frame`,id:`n_m3-n-1y`,parent:`n_m3-menu`,name:`Item`,x:0,y:0,w:100,h:100,sizeX:`fixed`,sizeY:`fixed`,children:[],layout:{mode:`free`,gap:0,pad:[0,0,0,0],alignMain:`start`,alignCross:`start`},clip:!1,values:{Label:`Help`,"Leading icon":{icon:{pack:`material-symbols`,name:`help`},asset:`kit:material-symbols/help`}},instanceOf:`n_m3-menu-item`},"n_m3-f-1z":{type:`frame`,id:`n_m3-f-1z`,parent:`n_m3-menu`,name:`Divider`,x:0,y:0,w:200,h:1,sizeX:`fill`,sizeY:`fixed`,children:[],layout:{mode:`free`,gap:0,pad:[0,0,0,0],alignMain:`start`,alignCross:`start`},clip:!1,fills:[{type:`solid`,color:`$material3/outline-variant`}]},"n_m3-n-20":{type:`frame`,id:`n_m3-n-20`,parent:`n_m3-menu`,name:`Item`,x:0,y:0,w:100,h:100,sizeX:`fixed`,sizeY:`fixed`,children:[],layout:{mode:`free`,gap:0,pad:[0,0,0,0],alignMain:`start`,alignCross:`start`},clip:!1,values:{Label:`Log out`,"Leading icon":{icon:{pack:`material-symbols`,name:`logout`},asset:`kit:material-symbols/logout`}},instanceOf:`n_m3-menu-item`}},icons:{"material-symbols/add":`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="currentColor" d="M11 13H5v-2h6V5h2v6h6v2h-6v6h-2z"/></svg>`,"material-symbols/edit":`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="currentColor" d="M3 21v-4.25L16.2 3.575q.3-.275.663-.425t.762-.15t.775.15t.65.45L20.425 5q.3.275.438.65T21 6.4q0 .4-.137.763t-.438.662L7.25 21zM17.6 7.8L19 6.4L17.6 5l-1.4 1.4z"/></svg>`,"material-symbols/arrow-drop-down":`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="currentColor" d="m12 15l-5-5h10z"/></svg>`,"material-symbols/check":`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="currentColor" d="m9.55 18l-5.7-5.7l1.425-1.425L9.55 15.15l9.175-9.175L20.15 7.4z"/></svg>`,"material-symbols/person":`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="currentColor" d="M9.175 10.825Q8 9.65 8 8t1.175-2.825T12 4t2.825 1.175T16 8t-1.175 2.825T12 12t-2.825-1.175M4 20v-2.8q0-.85.438-1.562T5.6 14.55q1.55-.775 3.15-1.162T12 13t3.25.388t3.15 1.162q.725.375 1.163 1.088T20 17.2V20z"/></svg>`,"material-symbols/settings":`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="currentColor" d="m9.25 22l-.4-3.2q-.325-.125-.612-.3t-.563-.375L4.7 19.375l-2.75-4.75l2.575-1.95Q4.5 12.5 4.5 12.338v-.675q0-.163.025-.338L1.95 9.375l2.75-4.75l2.975 1.25q.275-.2.575-.375t.6-.3l.4-3.2h5.5l.4 3.2q.325.125.613.3t.562.375l2.975-1.25l2.75 4.75l-2.575 1.95q.025.175.025.338v.674q0 .163-.05.338l2.575 1.95l-2.75 4.75l-2.95-1.25q-.275.2-.575.375t-.6.3l-.4 3.2zm2.8-6.5q1.45 0 2.475-1.025T15.55 12t-1.025-2.475T12.05 8.5q-1.475 0-2.488 1.025T8.55 12t1.013 2.475T12.05 15.5"/></svg>`,"material-symbols/help":`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="currentColor" d="M12.838 17.638q.362-.363.362-.888t-.362-.888t-.888-.362t-.887.363t-.363.887t.363.888t.887.362t.888-.363M11.05 14.15h1.85q0-.825.188-1.3t1.062-1.3q.65-.65 1.025-1.238T15.55 8.9q0-1.4-1.025-2.15T12.1 6q-1.425 0-2.312.75T8.55 8.55l1.65.65q.125-.45.563-.975T12.1 7.7q.8 0 1.2.438t.4.962q0 .5-.3.938t-.75.812q-1.1.975-1.35 1.475t-.25 1.825M12 22q-2.075 0-3.9-.787t-3.175-2.138T2.788 15.9T2 12t.788-3.9t2.137-3.175T8.1 2.788T12 2t3.9.788t3.175 2.137T21.213 8.1T22 12t-.788 3.9t-2.137 3.175t-3.175 2.138T12 22"/></svg>`,"material-symbols/logout":`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="currentColor" d="M5 21q-.825 0-1.412-.587T3 19V5q0-.825.588-1.412T5 3h7v2H5v14h7v2zm11-4l-1.375-1.45l2.55-2.55H9v-2h8.175l-2.55-2.55L16 7l5 5z"/></svg>`}},carbon:{id:`carbon`,name:`Carbon`,version:`2.0.0`,license:`Apache-2.0`,url:`https://carbondesignsystem.com`,components:[{id:`n_cb-button`,name:`Button`,group:`Buttons`},{id:`n_cb-tag`,name:`Tag`,group:`Tags`},{id:`n_cb-text-input`,name:`Text input`,group:`Text inputs`},{id:`n_cb-select`,name:`Select`,group:`Selects`},{id:`n_cb-checkbox`,name:`Checkbox`,group:`Checkboxes`},{id:`n_cb-toggle`,name:`Toggle`,group:`Toggles`},{id:`n_cb-radio`,name:`Radio button`,group:`Radio buttons`},{id:`n_cb-tile`,name:`Tile`,group:`Tiles`},{id:`n_cb-tabs`,name:`Tabs`,group:`Tabs`},{id:`n_cb-tab`,name:`Tab`,group:`Tabs`},{id:`n_cb-notification`,name:`Inline notification`,group:`Notifications`},{id:`n_cb-tooltip`,name:`Tooltip`,group:`Tooltips`},{id:`n_cb-menu`,name:`Overflow menu`,group:`Overflow menus`},{id:`n_cb-menu-item`,name:`Overflow menu item`,group:`Overflow menus`}],nodes:{"n_cb-button":{type:`frame`,id:`n_cb-button`,parent:null,name:`Button`,x:0,y:0,w:10,h:10,sizeX:`fixed`,sizeY:`fixed`,children:[`n_cb-button-primary-sm`,`n_cb-button-primary-md`,`n_cb-button-primary-lg`,`n_cb-button-primary-xl`,`n_cb-button-secondary-sm`,`n_cb-button-secondary-md`,`n_cb-button-secondary-lg`,`n_cb-button-secondary-xl`,`n_cb-button-tertiary-sm`,`n_cb-button-tertiary-md`,`n_cb-button-tertiary-lg`,`n_cb-button-tertiary-xl`,`n_cb-button-ghost-sm`,`n_cb-button-ghost-md`,`n_cb-button-ghost-lg`,`n_cb-button-ghost-xl`,`n_cb-button-danger-sm`,`n_cb-button-danger-md`,`n_cb-button-danger-lg`,`n_cb-button-danger-xl`],layout:{mode:`free`,gap:0,pad:[0,0,0,0],alignMain:`start`,alignCross:`start`},clip:!1,componentSet:!0,props:{Label:{type:`text`},"Show icon":{type:`boolean`},Icon:{type:`swap`}}},"n_cb-button-primary-sm":{type:`frame`,id:`n_cb-button-primary-sm`,parent:`n_cb-button`,name:`Kind=Primary, Size=sm`,x:20,y:20,w:120,h:32,sizeX:`hug`,sizeY:`fixed`,children:[`n_cb-t-0`,`n_cb-f-1`],layout:{mode:`row`,gap:32,pad:[0,15,0,15],alignMain:`start`,alignCross:`center`},clip:!1,radius:`$carbon/border-radius-00`,variant:{Kind:`Primary`,Size:`sm`},main:!0,fills:[{type:`solid`,color:`$carbon/button-primary`}]},"n_cb-t-0":{type:`text`,id:`n_cb-t-0`,parent:`n_cb-button-primary-sm`,name:`Label`,x:0,y:0,w:0,h:0,sizeX:`hug`,sizeY:`hug`,content:`Button`,style:`$carbon/body-compact-01`,fontSize:14,fontWeight:400,lineHeight:18,color:`$carbon/text-on-color`,bind:{content:`Label`}},"n_cb-f-1":{type:`frame`,id:`n_cb-f-1`,parent:`n_cb-button-primary-sm`,name:`Icon slot`,x:0,y:0,w:16,h:16,sizeX:`fixed`,sizeY:`fixed`,children:[`n_cb-i-2`],layout:{mode:`free`,gap:0,pad:[0,0,0,0],alignMain:`start`,alignCross:`start`},clip:!1},"n_cb-i-2":{type:`vector`,id:`n_cb-i-2`,parent:`n_cb-f-1`,name:`Icon`,x:0,y:0,w:16,h:16,sizeX:`fixed`,sizeY:`fixed`,asset:`kit:carbon/add`,color:`$carbon/text-on-color`,icon:{pack:`carbon`,name:`add`},bind:{visible:`Show icon`,swap:`Icon`}},"n_cb-button-primary-md":{type:`frame`,id:`n_cb-button-primary-md`,parent:`n_cb-button`,name:`Kind=Primary, Size=md`,x:160,y:20,w:120,h:40,sizeX:`hug`,sizeY:`fixed`,children:[`n_cb-t-3`,`n_cb-f-4`],layout:{mode:`row`,gap:32,pad:[0,15,0,15],alignMain:`start`,alignCross:`center`},clip:!1,radius:`$carbon/border-radius-00`,variant:{Kind:`Primary`,Size:`md`},main:!0,fills:[{type:`solid`,color:`$carbon/button-primary`}]},"n_cb-t-3":{type:`text`,id:`n_cb-t-3`,parent:`n_cb-button-primary-md`,name:`Label`,x:0,y:0,w:0,h:0,sizeX:`hug`,sizeY:`hug`,content:`Button`,style:`$carbon/body-compact-01`,fontSize:14,fontWeight:400,lineHeight:18,color:`$carbon/text-on-color`,bind:{content:`Label`}},"n_cb-f-4":{type:`frame`,id:`n_cb-f-4`,parent:`n_cb-button-primary-md`,name:`Icon slot`,x:0,y:0,w:16,h:16,sizeX:`fixed`,sizeY:`fixed`,children:[`n_cb-i-5`],layout:{mode:`free`,gap:0,pad:[0,0,0,0],alignMain:`start`,alignCross:`start`},clip:!1},"n_cb-i-5":{type:`vector`,id:`n_cb-i-5`,parent:`n_cb-f-4`,name:`Icon`,x:0,y:0,w:16,h:16,sizeX:`fixed`,sizeY:`fixed`,asset:`kit:carbon/add`,color:`$carbon/text-on-color`,icon:{pack:`carbon`,name:`add`},bind:{visible:`Show icon`,swap:`Icon`}},"n_cb-button-primary-lg":{type:`frame`,id:`n_cb-button-primary-lg`,parent:`n_cb-button`,name:`Kind=Primary, Size=lg`,x:300,y:20,w:120,h:48,sizeX:`hug`,sizeY:`fixed`,children:[`n_cb-t-6`,`n_cb-f-7`],layout:{mode:`row`,gap:32,pad:[0,15,0,15],alignMain:`start`,alignCross:`center`},clip:!1,radius:`$carbon/border-radius-00`,variant:{Kind:`Primary`,Size:`lg`},main:!0,fills:[{type:`solid`,color:`$carbon/button-primary`}]},"n_cb-t-6":{type:`text`,id:`n_cb-t-6`,parent:`n_cb-button-primary-lg`,name:`Label`,x:0,y:0,w:0,h:0,sizeX:`hug`,sizeY:`hug`,content:`Button`,style:`$carbon/body-compact-01`,fontSize:14,fontWeight:400,lineHeight:18,color:`$carbon/text-on-color`,bind:{content:`Label`}},"n_cb-f-7":{type:`frame`,id:`n_cb-f-7`,parent:`n_cb-button-primary-lg`,name:`Icon slot`,x:0,y:0,w:16,h:16,sizeX:`fixed`,sizeY:`fixed`,children:[`n_cb-i-8`],layout:{mode:`free`,gap:0,pad:[0,0,0,0],alignMain:`start`,alignCross:`start`},clip:!1},"n_cb-i-8":{type:`vector`,id:`n_cb-i-8`,parent:`n_cb-f-7`,name:`Icon`,x:0,y:0,w:16,h:16,sizeX:`fixed`,sizeY:`fixed`,asset:`kit:carbon/add`,color:`$carbon/text-on-color`,icon:{pack:`carbon`,name:`add`},bind:{visible:`Show icon`,swap:`Icon`}},"n_cb-button-primary-xl":{type:`frame`,id:`n_cb-button-primary-xl`,parent:`n_cb-button`,name:`Kind=Primary, Size=xl`,x:440,y:20,w:120,h:64,sizeX:`hug`,sizeY:`fixed`,children:[`n_cb-t-9`,`n_cb-f-a`],layout:{mode:`row`,gap:32,pad:[14,15,14,15],alignMain:`start`,alignCross:`start`},clip:!1,radius:`$carbon/border-radius-00`,variant:{Kind:`Primary`,Size:`xl`},main:!0,fills:[{type:`solid`,color:`$carbon/button-primary`}]},"n_cb-t-9":{type:`text`,id:`n_cb-t-9`,parent:`n_cb-button-primary-xl`,name:`Label`,x:0,y:0,w:0,h:0,sizeX:`hug`,sizeY:`hug`,content:`Button`,style:`$carbon/body-compact-01`,fontSize:14,fontWeight:400,lineHeight:18,color:`$carbon/text-on-color`,bind:{content:`Label`}},"n_cb-f-a":{type:`frame`,id:`n_cb-f-a`,parent:`n_cb-button-primary-xl`,name:`Icon slot`,x:0,y:0,w:16,h:16,sizeX:`fixed`,sizeY:`fixed`,children:[`n_cb-i-b`],layout:{mode:`free`,gap:0,pad:[0,0,0,0],alignMain:`start`,alignCross:`start`},clip:!1},"n_cb-i-b":{type:`vector`,id:`n_cb-i-b`,parent:`n_cb-f-a`,name:`Icon`,x:0,y:0,w:16,h:16,sizeX:`fixed`,sizeY:`fixed`,asset:`kit:carbon/add`,color:`$carbon/text-on-color`,icon:{pack:`carbon`,name:`add`},bind:{visible:`Show icon`,swap:`Icon`}},"n_cb-button-secondary-sm":{type:`frame`,id:`n_cb-button-secondary-sm`,parent:`n_cb-button`,name:`Kind=Secondary, Size=sm`,x:20,y:104,w:120,h:32,sizeX:`hug`,sizeY:`fixed`,children:[`n_cb-t-c`,`n_cb-f-d`],layout:{mode:`row`,gap:32,pad:[0,15,0,15],alignMain:`start`,alignCross:`center`},clip:!1,radius:`$carbon/border-radius-00`,variant:{Kind:`Secondary`,Size:`sm`},main:!0,fills:[{type:`solid`,color:`$carbon/button-secondary`}]},"n_cb-t-c":{type:`text`,id:`n_cb-t-c`,parent:`n_cb-button-secondary-sm`,name:`Label`,x:0,y:0,w:0,h:0,sizeX:`hug`,sizeY:`hug`,content:`Button`,style:`$carbon/body-compact-01`,fontSize:14,fontWeight:400,lineHeight:18,color:`$carbon/text-on-color`,bind:{content:`Label`}},"n_cb-f-d":{type:`frame`,id:`n_cb-f-d`,parent:`n_cb-button-secondary-sm`,name:`Icon slot`,x:0,y:0,w:16,h:16,sizeX:`fixed`,sizeY:`fixed`,children:[`n_cb-i-e`],layout:{mode:`free`,gap:0,pad:[0,0,0,0],alignMain:`start`,alignCross:`start`},clip:!1},"n_cb-i-e":{type:`vector`,id:`n_cb-i-e`,parent:`n_cb-f-d`,name:`Icon`,x:0,y:0,w:16,h:16,sizeX:`fixed`,sizeY:`fixed`,asset:`kit:carbon/add`,color:`$carbon/text-on-color`,icon:{pack:`carbon`,name:`add`},bind:{visible:`Show icon`,swap:`Icon`}},"n_cb-button-secondary-md":{type:`frame`,id:`n_cb-button-secondary-md`,parent:`n_cb-button`,name:`Kind=Secondary, Size=md`,x:160,y:104,w:120,h:40,sizeX:`hug`,sizeY:`fixed`,children:[`n_cb-t-f`,`n_cb-f-g`],layout:{mode:`row`,gap:32,pad:[0,15,0,15],alignMain:`start`,alignCross:`center`},clip:!1,radius:`$carbon/border-radius-00`,variant:{Kind:`Secondary`,Size:`md`},main:!0,fills:[{type:`solid`,color:`$carbon/button-secondary`}]},"n_cb-t-f":{type:`text`,id:`n_cb-t-f`,parent:`n_cb-button-secondary-md`,name:`Label`,x:0,y:0,w:0,h:0,sizeX:`hug`,sizeY:`hug`,content:`Button`,style:`$carbon/body-compact-01`,fontSize:14,fontWeight:400,lineHeight:18,color:`$carbon/text-on-color`,bind:{content:`Label`}},"n_cb-f-g":{type:`frame`,id:`n_cb-f-g`,parent:`n_cb-button-secondary-md`,name:`Icon slot`,x:0,y:0,w:16,h:16,sizeX:`fixed`,sizeY:`fixed`,children:[`n_cb-i-h`],layout:{mode:`free`,gap:0,pad:[0,0,0,0],alignMain:`start`,alignCross:`start`},clip:!1},"n_cb-i-h":{type:`vector`,id:`n_cb-i-h`,parent:`n_cb-f-g`,name:`Icon`,x:0,y:0,w:16,h:16,sizeX:`fixed`,sizeY:`fixed`,asset:`kit:carbon/add`,color:`$carbon/text-on-color`,icon:{pack:`carbon`,name:`add`},bind:{visible:`Show icon`,swap:`Icon`}},"n_cb-button-secondary-lg":{type:`frame`,id:`n_cb-button-secondary-lg`,parent:`n_cb-button`,name:`Kind=Secondary, Size=lg`,x:300,y:104,w:120,h:48,sizeX:`hug`,sizeY:`fixed`,children:[`n_cb-t-i`,`n_cb-f-j`],layout:{mode:`row`,gap:32,pad:[0,15,0,15],alignMain:`start`,alignCross:`center`},clip:!1,radius:`$carbon/border-radius-00`,variant:{Kind:`Secondary`,Size:`lg`},main:!0,fills:[{type:`solid`,color:`$carbon/button-secondary`}]},"n_cb-t-i":{type:`text`,id:`n_cb-t-i`,parent:`n_cb-button-secondary-lg`,name:`Label`,x:0,y:0,w:0,h:0,sizeX:`hug`,sizeY:`hug`,content:`Button`,style:`$carbon/body-compact-01`,fontSize:14,fontWeight:400,lineHeight:18,color:`$carbon/text-on-color`,bind:{content:`Label`}},"n_cb-f-j":{type:`frame`,id:`n_cb-f-j`,parent:`n_cb-button-secondary-lg`,name:`Icon slot`,x:0,y:0,w:16,h:16,sizeX:`fixed`,sizeY:`fixed`,children:[`n_cb-i-k`],layout:{mode:`free`,gap:0,pad:[0,0,0,0],alignMain:`start`,alignCross:`start`},clip:!1},"n_cb-i-k":{type:`vector`,id:`n_cb-i-k`,parent:`n_cb-f-j`,name:`Icon`,x:0,y:0,w:16,h:16,sizeX:`fixed`,sizeY:`fixed`,asset:`kit:carbon/add`,color:`$carbon/text-on-color`,icon:{pack:`carbon`,name:`add`},bind:{visible:`Show icon`,swap:`Icon`}},"n_cb-button-secondary-xl":{type:`frame`,id:`n_cb-button-secondary-xl`,parent:`n_cb-button`,name:`Kind=Secondary, Size=xl`,x:440,y:104,w:120,h:64,sizeX:`hug`,sizeY:`fixed`,children:[`n_cb-t-l`,`n_cb-f-m`],layout:{mode:`row`,gap:32,pad:[14,15,14,15],alignMain:`start`,alignCross:`start`},clip:!1,radius:`$carbon/border-radius-00`,variant:{Kind:`Secondary`,Size:`xl`},main:!0,fills:[{type:`solid`,color:`$carbon/button-secondary`}]},"n_cb-t-l":{type:`text`,id:`n_cb-t-l`,parent:`n_cb-button-secondary-xl`,name:`Label`,x:0,y:0,w:0,h:0,sizeX:`hug`,sizeY:`hug`,content:`Button`,style:`$carbon/body-compact-01`,fontSize:14,fontWeight:400,lineHeight:18,color:`$carbon/text-on-color`,bind:{content:`Label`}},"n_cb-f-m":{type:`frame`,id:`n_cb-f-m`,parent:`n_cb-button-secondary-xl`,name:`Icon slot`,x:0,y:0,w:16,h:16,sizeX:`fixed`,sizeY:`fixed`,children:[`n_cb-i-n`],layout:{mode:`free`,gap:0,pad:[0,0,0,0],alignMain:`start`,alignCross:`start`},clip:!1},"n_cb-i-n":{type:`vector`,id:`n_cb-i-n`,parent:`n_cb-f-m`,name:`Icon`,x:0,y:0,w:16,h:16,sizeX:`fixed`,sizeY:`fixed`,asset:`kit:carbon/add`,color:`$carbon/text-on-color`,icon:{pack:`carbon`,name:`add`},bind:{visible:`Show icon`,swap:`Icon`}},"n_cb-button-tertiary-sm":{type:`frame`,id:`n_cb-button-tertiary-sm`,parent:`n_cb-button`,name:`Kind=Tertiary, Size=sm`,x:20,y:188,w:120,h:32,sizeX:`hug`,sizeY:`fixed`,children:[`n_cb-t-o`,`n_cb-f-p`],layout:{mode:`row`,gap:32,pad:[0,15,0,15],alignMain:`start`,alignCross:`center`},clip:!1,stroke:{color:`$carbon/button-tertiary`,width:1},radius:`$carbon/border-radius-00`,variant:{Kind:`Tertiary`,Size:`sm`},main:!0},"n_cb-t-o":{type:`text`,id:`n_cb-t-o`,parent:`n_cb-button-tertiary-sm`,name:`Label`,x:0,y:0,w:0,h:0,sizeX:`hug`,sizeY:`hug`,content:`Button`,style:`$carbon/body-compact-01`,fontSize:14,fontWeight:400,lineHeight:18,color:`$carbon/button-tertiary`,bind:{content:`Label`}},"n_cb-f-p":{type:`frame`,id:`n_cb-f-p`,parent:`n_cb-button-tertiary-sm`,name:`Icon slot`,x:0,y:0,w:16,h:16,sizeX:`fixed`,sizeY:`fixed`,children:[`n_cb-i-q`],layout:{mode:`free`,gap:0,pad:[0,0,0,0],alignMain:`start`,alignCross:`start`},clip:!1},"n_cb-i-q":{type:`vector`,id:`n_cb-i-q`,parent:`n_cb-f-p`,name:`Icon`,x:0,y:0,w:16,h:16,sizeX:`fixed`,sizeY:`fixed`,asset:`kit:carbon/add`,color:`$carbon/button-tertiary`,icon:{pack:`carbon`,name:`add`},bind:{visible:`Show icon`,swap:`Icon`}},"n_cb-button-tertiary-md":{type:`frame`,id:`n_cb-button-tertiary-md`,parent:`n_cb-button`,name:`Kind=Tertiary, Size=md`,x:160,y:188,w:120,h:40,sizeX:`hug`,sizeY:`fixed`,children:[`n_cb-t-r`,`n_cb-f-s`],layout:{mode:`row`,gap:32,pad:[0,15,0,15],alignMain:`start`,alignCross:`center`},clip:!1,stroke:{color:`$carbon/button-tertiary`,width:1},radius:`$carbon/border-radius-00`,variant:{Kind:`Tertiary`,Size:`md`},main:!0},"n_cb-t-r":{type:`text`,id:`n_cb-t-r`,parent:`n_cb-button-tertiary-md`,name:`Label`,x:0,y:0,w:0,h:0,sizeX:`hug`,sizeY:`hug`,content:`Button`,style:`$carbon/body-compact-01`,fontSize:14,fontWeight:400,lineHeight:18,color:`$carbon/button-tertiary`,bind:{content:`Label`}},"n_cb-f-s":{type:`frame`,id:`n_cb-f-s`,parent:`n_cb-button-tertiary-md`,name:`Icon slot`,x:0,y:0,w:16,h:16,sizeX:`fixed`,sizeY:`fixed`,children:[`n_cb-i-t`],layout:{mode:`free`,gap:0,pad:[0,0,0,0],alignMain:`start`,alignCross:`start`},clip:!1},"n_cb-i-t":{type:`vector`,id:`n_cb-i-t`,parent:`n_cb-f-s`,name:`Icon`,x:0,y:0,w:16,h:16,sizeX:`fixed`,sizeY:`fixed`,asset:`kit:carbon/add`,color:`$carbon/button-tertiary`,icon:{pack:`carbon`,name:`add`},bind:{visible:`Show icon`,swap:`Icon`}},"n_cb-button-tertiary-lg":{type:`frame`,id:`n_cb-button-tertiary-lg`,parent:`n_cb-button`,name:`Kind=Tertiary, Size=lg`,x:300,y:188,w:120,h:48,sizeX:`hug`,sizeY:`fixed`,children:[`n_cb-t-u`,`n_cb-f-v`],layout:{mode:`row`,gap:32,pad:[0,15,0,15],alignMain:`start`,alignCross:`center`},clip:!1,stroke:{color:`$carbon/button-tertiary`,width:1},radius:`$carbon/border-radius-00`,variant:{Kind:`Tertiary`,Size:`lg`},main:!0},"n_cb-t-u":{type:`text`,id:`n_cb-t-u`,parent:`n_cb-button-tertiary-lg`,name:`Label`,x:0,y:0,w:0,h:0,sizeX:`hug`,sizeY:`hug`,content:`Button`,style:`$carbon/body-compact-01`,fontSize:14,fontWeight:400,lineHeight:18,color:`$carbon/button-tertiary`,bind:{content:`Label`}},"n_cb-f-v":{type:`frame`,id:`n_cb-f-v`,parent:`n_cb-button-tertiary-lg`,name:`Icon slot`,x:0,y:0,w:16,h:16,sizeX:`fixed`,sizeY:`fixed`,children:[`n_cb-i-w`],layout:{mode:`free`,gap:0,pad:[0,0,0,0],alignMain:`start`,alignCross:`start`},clip:!1},"n_cb-i-w":{type:`vector`,id:`n_cb-i-w`,parent:`n_cb-f-v`,name:`Icon`,x:0,y:0,w:16,h:16,sizeX:`fixed`,sizeY:`fixed`,asset:`kit:carbon/add`,color:`$carbon/button-tertiary`,icon:{pack:`carbon`,name:`add`},bind:{visible:`Show icon`,swap:`Icon`}},"n_cb-button-tertiary-xl":{type:`frame`,id:`n_cb-button-tertiary-xl`,parent:`n_cb-button`,name:`Kind=Tertiary, Size=xl`,x:440,y:188,w:120,h:64,sizeX:`hug`,sizeY:`fixed`,children:[`n_cb-t-x`,`n_cb-f-y`],layout:{mode:`row`,gap:32,pad:[14,15,14,15],alignMain:`start`,alignCross:`start`},clip:!1,stroke:{color:`$carbon/button-tertiary`,width:1},radius:`$carbon/border-radius-00`,variant:{Kind:`Tertiary`,Size:`xl`},main:!0},"n_cb-t-x":{type:`text`,id:`n_cb-t-x`,parent:`n_cb-button-tertiary-xl`,name:`Label`,x:0,y:0,w:0,h:0,sizeX:`hug`,sizeY:`hug`,content:`Button`,style:`$carbon/body-compact-01`,fontSize:14,fontWeight:400,lineHeight:18,color:`$carbon/button-tertiary`,bind:{content:`Label`}},"n_cb-f-y":{type:`frame`,id:`n_cb-f-y`,parent:`n_cb-button-tertiary-xl`,name:`Icon slot`,x:0,y:0,w:16,h:16,sizeX:`fixed`,sizeY:`fixed`,children:[`n_cb-i-z`],layout:{mode:`free`,gap:0,pad:[0,0,0,0],alignMain:`start`,alignCross:`start`},clip:!1},"n_cb-i-z":{type:`vector`,id:`n_cb-i-z`,parent:`n_cb-f-y`,name:`Icon`,x:0,y:0,w:16,h:16,sizeX:`fixed`,sizeY:`fixed`,asset:`kit:carbon/add`,color:`$carbon/button-tertiary`,icon:{pack:`carbon`,name:`add`},bind:{visible:`Show icon`,swap:`Icon`}},"n_cb-button-ghost-sm":{type:`frame`,id:`n_cb-button-ghost-sm`,parent:`n_cb-button`,name:`Kind=Ghost, Size=sm`,x:20,y:272,w:120,h:32,sizeX:`hug`,sizeY:`fixed`,children:[`n_cb-t-10`,`n_cb-f-11`],layout:{mode:`row`,gap:32,pad:[0,15,0,15],alignMain:`start`,alignCross:`center`},clip:!1,radius:`$carbon/border-radius-00`,variant:{Kind:`Ghost`,Size:`sm`},main:!0},"n_cb-t-10":{type:`text`,id:`n_cb-t-10`,parent:`n_cb-button-ghost-sm`,name:`Label`,x:0,y:0,w:0,h:0,sizeX:`hug`,sizeY:`hug`,content:`Button`,style:`$carbon/body-compact-01`,fontSize:14,fontWeight:400,lineHeight:18,color:`$carbon/link-primary`,bind:{content:`Label`}},"n_cb-f-11":{type:`frame`,id:`n_cb-f-11`,parent:`n_cb-button-ghost-sm`,name:`Icon slot`,x:0,y:0,w:16,h:16,sizeX:`fixed`,sizeY:`fixed`,children:[`n_cb-i-12`],layout:{mode:`free`,gap:0,pad:[0,0,0,0],alignMain:`start`,alignCross:`start`},clip:!1},"n_cb-i-12":{type:`vector`,id:`n_cb-i-12`,parent:`n_cb-f-11`,name:`Icon`,x:0,y:0,w:16,h:16,sizeX:`fixed`,sizeY:`fixed`,asset:`kit:carbon/add`,color:`$carbon/link-primary`,icon:{pack:`carbon`,name:`add`},bind:{visible:`Show icon`,swap:`Icon`}},"n_cb-button-ghost-md":{type:`frame`,id:`n_cb-button-ghost-md`,parent:`n_cb-button`,name:`Kind=Ghost, Size=md`,x:160,y:272,w:120,h:40,sizeX:`hug`,sizeY:`fixed`,children:[`n_cb-t-13`,`n_cb-f-14`],layout:{mode:`row`,gap:32,pad:[0,15,0,15],alignMain:`start`,alignCross:`center`},clip:!1,radius:`$carbon/border-radius-00`,variant:{Kind:`Ghost`,Size:`md`},main:!0},"n_cb-t-13":{type:`text`,id:`n_cb-t-13`,parent:`n_cb-button-ghost-md`,name:`Label`,x:0,y:0,w:0,h:0,sizeX:`hug`,sizeY:`hug`,content:`Button`,style:`$carbon/body-compact-01`,fontSize:14,fontWeight:400,lineHeight:18,color:`$carbon/link-primary`,bind:{content:`Label`}},"n_cb-f-14":{type:`frame`,id:`n_cb-f-14`,parent:`n_cb-button-ghost-md`,name:`Icon slot`,x:0,y:0,w:16,h:16,sizeX:`fixed`,sizeY:`fixed`,children:[`n_cb-i-15`],layout:{mode:`free`,gap:0,pad:[0,0,0,0],alignMain:`start`,alignCross:`start`},clip:!1},"n_cb-i-15":{type:`vector`,id:`n_cb-i-15`,parent:`n_cb-f-14`,name:`Icon`,x:0,y:0,w:16,h:16,sizeX:`fixed`,sizeY:`fixed`,asset:`kit:carbon/add`,color:`$carbon/link-primary`,icon:{pack:`carbon`,name:`add`},bind:{visible:`Show icon`,swap:`Icon`}},"n_cb-button-ghost-lg":{type:`frame`,id:`n_cb-button-ghost-lg`,parent:`n_cb-button`,name:`Kind=Ghost, Size=lg`,x:300,y:272,w:120,h:48,sizeX:`hug`,sizeY:`fixed`,children:[`n_cb-t-16`,`n_cb-f-17`],layout:{mode:`row`,gap:32,pad:[0,15,0,15],alignMain:`start`,alignCross:`center`},clip:!1,radius:`$carbon/border-radius-00`,variant:{Kind:`Ghost`,Size:`lg`},main:!0},"n_cb-t-16":{type:`text`,id:`n_cb-t-16`,parent:`n_cb-button-ghost-lg`,name:`Label`,x:0,y:0,w:0,h:0,sizeX:`hug`,sizeY:`hug`,content:`Button`,style:`$carbon/body-compact-01`,fontSize:14,fontWeight:400,lineHeight:18,color:`$carbon/link-primary`,bind:{content:`Label`}},"n_cb-f-17":{type:`frame`,id:`n_cb-f-17`,parent:`n_cb-button-ghost-lg`,name:`Icon slot`,x:0,y:0,w:16,h:16,sizeX:`fixed`,sizeY:`fixed`,children:[`n_cb-i-18`],layout:{mode:`free`,gap:0,pad:[0,0,0,0],alignMain:`start`,alignCross:`start`},clip:!1},"n_cb-i-18":{type:`vector`,id:`n_cb-i-18`,parent:`n_cb-f-17`,name:`Icon`,x:0,y:0,w:16,h:16,sizeX:`fixed`,sizeY:`fixed`,asset:`kit:carbon/add`,color:`$carbon/link-primary`,icon:{pack:`carbon`,name:`add`},bind:{visible:`Show icon`,swap:`Icon`}},"n_cb-button-ghost-xl":{type:`frame`,id:`n_cb-button-ghost-xl`,parent:`n_cb-button`,name:`Kind=Ghost, Size=xl`,x:440,y:272,w:120,h:64,sizeX:`hug`,sizeY:`fixed`,children:[`n_cb-t-19`,`n_cb-f-1a`],layout:{mode:`row`,gap:32,pad:[14,15,14,15],alignMain:`start`,alignCross:`start`},clip:!1,radius:`$carbon/border-radius-00`,variant:{Kind:`Ghost`,Size:`xl`},main:!0},"n_cb-t-19":{type:`text`,id:`n_cb-t-19`,parent:`n_cb-button-ghost-xl`,name:`Label`,x:0,y:0,w:0,h:0,sizeX:`hug`,sizeY:`hug`,content:`Button`,style:`$carbon/body-compact-01`,fontSize:14,fontWeight:400,lineHeight:18,color:`$carbon/link-primary`,bind:{content:`Label`}},"n_cb-f-1a":{type:`frame`,id:`n_cb-f-1a`,parent:`n_cb-button-ghost-xl`,name:`Icon slot`,x:0,y:0,w:16,h:16,sizeX:`fixed`,sizeY:`fixed`,children:[`n_cb-i-1b`],layout:{mode:`free`,gap:0,pad:[0,0,0,0],alignMain:`start`,alignCross:`start`},clip:!1},"n_cb-i-1b":{type:`vector`,id:`n_cb-i-1b`,parent:`n_cb-f-1a`,name:`Icon`,x:0,y:0,w:16,h:16,sizeX:`fixed`,sizeY:`fixed`,asset:`kit:carbon/add`,color:`$carbon/link-primary`,icon:{pack:`carbon`,name:`add`},bind:{visible:`Show icon`,swap:`Icon`}},"n_cb-button-danger-sm":{type:`frame`,id:`n_cb-button-danger-sm`,parent:`n_cb-button`,name:`Kind=Danger, Size=sm`,x:20,y:356,w:120,h:32,sizeX:`hug`,sizeY:`fixed`,children:[`n_cb-t-1c`,`n_cb-f-1d`],layout:{mode:`row`,gap:32,pad:[0,15,0,15],alignMain:`start`,alignCross:`center`},clip:!1,radius:`$carbon/border-radius-00`,variant:{Kind:`Danger`,Size:`sm`},main:!0,fills:[{type:`solid`,color:`$carbon/button-danger-primary`}]},"n_cb-t-1c":{type:`text`,id:`n_cb-t-1c`,parent:`n_cb-button-danger-sm`,name:`Label`,x:0,y:0,w:0,h:0,sizeX:`hug`,sizeY:`hug`,content:`Button`,style:`$carbon/body-compact-01`,fontSize:14,fontWeight:400,lineHeight:18,color:`$carbon/text-on-color`,bind:{content:`Label`}},"n_cb-f-1d":{type:`frame`,id:`n_cb-f-1d`,parent:`n_cb-button-danger-sm`,name:`Icon slot`,x:0,y:0,w:16,h:16,sizeX:`fixed`,sizeY:`fixed`,children:[`n_cb-i-1e`],layout:{mode:`free`,gap:0,pad:[0,0,0,0],alignMain:`start`,alignCross:`start`},clip:!1},"n_cb-i-1e":{type:`vector`,id:`n_cb-i-1e`,parent:`n_cb-f-1d`,name:`Icon`,x:0,y:0,w:16,h:16,sizeX:`fixed`,sizeY:`fixed`,asset:`kit:carbon/add`,color:`$carbon/text-on-color`,icon:{pack:`carbon`,name:`add`},bind:{visible:`Show icon`,swap:`Icon`}},"n_cb-button-danger-md":{type:`frame`,id:`n_cb-button-danger-md`,parent:`n_cb-button`,name:`Kind=Danger, Size=md`,x:160,y:356,w:120,h:40,sizeX:`hug`,sizeY:`fixed`,children:[`n_cb-t-1f`,`n_cb-f-1g`],layout:{mode:`row`,gap:32,pad:[0,15,0,15],alignMain:`start`,alignCross:`center`},clip:!1,radius:`$carbon/border-radius-00`,variant:{Kind:`Danger`,Size:`md`},main:!0,fills:[{type:`solid`,color:`$carbon/button-danger-primary`}]},"n_cb-t-1f":{type:`text`,id:`n_cb-t-1f`,parent:`n_cb-button-danger-md`,name:`Label`,x:0,y:0,w:0,h:0,sizeX:`hug`,sizeY:`hug`,content:`Button`,style:`$carbon/body-compact-01`,fontSize:14,fontWeight:400,lineHeight:18,color:`$carbon/text-on-color`,bind:{content:`Label`}},"n_cb-f-1g":{type:`frame`,id:`n_cb-f-1g`,parent:`n_cb-button-danger-md`,name:`Icon slot`,x:0,y:0,w:16,h:16,sizeX:`fixed`,sizeY:`fixed`,children:[`n_cb-i-1h`],layout:{mode:`free`,gap:0,pad:[0,0,0,0],alignMain:`start`,alignCross:`start`},clip:!1},"n_cb-i-1h":{type:`vector`,id:`n_cb-i-1h`,parent:`n_cb-f-1g`,name:`Icon`,x:0,y:0,w:16,h:16,sizeX:`fixed`,sizeY:`fixed`,asset:`kit:carbon/add`,color:`$carbon/text-on-color`,icon:{pack:`carbon`,name:`add`},bind:{visible:`Show icon`,swap:`Icon`}},"n_cb-button-danger-lg":{type:`frame`,id:`n_cb-button-danger-lg`,parent:`n_cb-button`,name:`Kind=Danger, Size=lg`,x:300,y:356,w:120,h:48,sizeX:`hug`,sizeY:`fixed`,children:[`n_cb-t-1i`,`n_cb-f-1j`],layout:{mode:`row`,gap:32,pad:[0,15,0,15],alignMain:`start`,alignCross:`center`},clip:!1,radius:`$carbon/border-radius-00`,variant:{Kind:`Danger`,Size:`lg`},main:!0,fills:[{type:`solid`,color:`$carbon/button-danger-primary`}]},"n_cb-t-1i":{type:`text`,id:`n_cb-t-1i`,parent:`n_cb-button-danger-lg`,name:`Label`,x:0,y:0,w:0,h:0,sizeX:`hug`,sizeY:`hug`,content:`Button`,style:`$carbon/body-compact-01`,fontSize:14,fontWeight:400,lineHeight:18,color:`$carbon/text-on-color`,bind:{content:`Label`}},"n_cb-f-1j":{type:`frame`,id:`n_cb-f-1j`,parent:`n_cb-button-danger-lg`,name:`Icon slot`,x:0,y:0,w:16,h:16,sizeX:`fixed`,sizeY:`fixed`,children:[`n_cb-i-1k`],layout:{mode:`free`,gap:0,pad:[0,0,0,0],alignMain:`start`,alignCross:`start`},clip:!1},"n_cb-i-1k":{type:`vector`,id:`n_cb-i-1k`,parent:`n_cb-f-1j`,name:`Icon`,x:0,y:0,w:16,h:16,sizeX:`fixed`,sizeY:`fixed`,asset:`kit:carbon/add`,color:`$carbon/text-on-color`,icon:{pack:`carbon`,name:`add`},bind:{visible:`Show icon`,swap:`Icon`}},"n_cb-button-danger-xl":{type:`frame`,id:`n_cb-button-danger-xl`,parent:`n_cb-button`,name:`Kind=Danger, Size=xl`,x:440,y:356,w:120,h:64,sizeX:`hug`,sizeY:`fixed`,children:[`n_cb-t-1l`,`n_cb-f-1m`],layout:{mode:`row`,gap:32,pad:[14,15,14,15],alignMain:`start`,alignCross:`start`},clip:!1,radius:`$carbon/border-radius-00`,variant:{Kind:`Danger`,Size:`xl`},main:!0,fills:[{type:`solid`,color:`$carbon/button-danger-primary`}]},"n_cb-t-1l":{type:`text`,id:`n_cb-t-1l`,parent:`n_cb-button-danger-xl`,name:`Label`,x:0,y:0,w:0,h:0,sizeX:`hug`,sizeY:`hug`,content:`Button`,style:`$carbon/body-compact-01`,fontSize:14,fontWeight:400,lineHeight:18,color:`$carbon/text-on-color`,bind:{content:`Label`}},"n_cb-f-1m":{type:`frame`,id:`n_cb-f-1m`,parent:`n_cb-button-danger-xl`,name:`Icon slot`,x:0,y:0,w:16,h:16,sizeX:`fixed`,sizeY:`fixed`,children:[`n_cb-i-1n`],layout:{mode:`free`,gap:0,pad:[0,0,0,0],alignMain:`start`,alignCross:`start`},clip:!1},"n_cb-i-1n":{type:`vector`,id:`n_cb-i-1n`,parent:`n_cb-f-1m`,name:`Icon`,x:0,y:0,w:16,h:16,sizeX:`fixed`,sizeY:`fixed`,asset:`kit:carbon/add`,color:`$carbon/text-on-color`,icon:{pack:`carbon`,name:`add`},bind:{visible:`Show icon`,swap:`Icon`}},"n_cb-tag":{type:`frame`,id:`n_cb-tag`,parent:null,name:`Tag`,x:0,y:0,w:10,h:10,sizeX:`fixed`,sizeY:`fixed`,children:[`n_cb-tag-gray`,`n_cb-tag-blue`,`n_cb-tag-red`,`n_cb-tag-green`],layout:{mode:`free`,gap:0,pad:[0,0,0,0],alignMain:`start`,alignCross:`start`},clip:!1,componentSet:!0,props:{Label:{type:`text`}}},"n_cb-tag-gray":{type:`frame`,id:`n_cb-tag-gray`,parent:`n_cb-tag`,name:`Type=Gray`,x:20,y:20,w:50,h:24,sizeX:`hug`,sizeY:`fixed`,children:[`n_cb-t-1o`],layout:{mode:`row`,gap:0,pad:[0,8,0,8],alignMain:`center`,alignCross:`center`},clip:!1,radius:`$carbon/border-radius-16`,variant:{Type:`Gray`},main:!0,fills:[{type:`solid`,color:`$carbon/tag-background-gray`}]},"n_cb-t-1o":{type:`text`,id:`n_cb-t-1o`,parent:`n_cb-tag-gray`,name:`Label`,x:0,y:0,w:0,h:0,sizeX:`hug`,sizeY:`hug`,content:`Tag`,style:`$carbon/label-01`,fontSize:12,fontWeight:400,lineHeight:16,color:`$carbon/tag-color-gray`,bind:{content:`Label`}},"n_cb-tag-blue":{type:`frame`,id:`n_cb-tag-blue`,parent:`n_cb-tag`,name:`Type=Blue`,x:90,y:20,w:50,h:24,sizeX:`hug`,sizeY:`fixed`,children:[`n_cb-t-1p`],layout:{mode:`row`,gap:0,pad:[0,8,0,8],alignMain:`center`,alignCross:`center`},clip:!1,radius:`$carbon/border-radius-16`,variant:{Type:`Blue`},main:!0,fills:[{type:`solid`,color:`$carbon/tag-background-blue`}]},"n_cb-t-1p":{type:`text`,id:`n_cb-t-1p`,parent:`n_cb-tag-blue`,name:`Label`,x:0,y:0,w:0,h:0,sizeX:`hug`,sizeY:`hug`,content:`Tag`,style:`$carbon/label-01`,fontSize:12,fontWeight:400,lineHeight:16,color:`$carbon/tag-color-blue`,bind:{content:`Label`}},"n_cb-tag-red":{type:`frame`,id:`n_cb-tag-red`,parent:`n_cb-tag`,name:`Type=Red`,x:160,y:20,w:50,h:24,sizeX:`hug`,sizeY:`fixed`,children:[`n_cb-t-1q`],layout:{mode:`row`,gap:0,pad:[0,8,0,8],alignMain:`center`,alignCross:`center`},clip:!1,radius:`$carbon/border-radius-16`,variant:{Type:`Red`},main:!0,fills:[{type:`solid`,color:`$carbon/tag-background-red`}]},"n_cb-t-1q":{type:`text`,id:`n_cb-t-1q`,parent:`n_cb-tag-red`,name:`Label`,x:0,y:0,w:0,h:0,sizeX:`hug`,sizeY:`hug`,content:`Tag`,style:`$carbon/label-01`,fontSize:12,fontWeight:400,lineHeight:16,color:`$carbon/tag-color-red`,bind:{content:`Label`}},"n_cb-tag-green":{type:`frame`,id:`n_cb-tag-green`,parent:`n_cb-tag`,name:`Type=Green`,x:230,y:20,w:50,h:24,sizeX:`hug`,sizeY:`fixed`,children:[`n_cb-t-1r`],layout:{mode:`row`,gap:0,pad:[0,8,0,8],alignMain:`center`,alignCross:`center`},clip:!1,radius:`$carbon/border-radius-16`,variant:{Type:`Green`},main:!0,fills:[{type:`solid`,color:`$carbon/tag-background-green`}]},"n_cb-t-1r":{type:`text`,id:`n_cb-t-1r`,parent:`n_cb-tag-green`,name:`Label`,x:0,y:0,w:0,h:0,sizeX:`hug`,sizeY:`hug`,content:`Tag`,style:`$carbon/label-01`,fontSize:12,fontWeight:400,lineHeight:16,color:`$carbon/tag-color-green`,bind:{content:`Label`}},"n_cb-text-input":{type:`frame`,id:`n_cb-text-input`,parent:null,name:`Text input`,x:0,y:0,w:240,h:64,sizeX:`fixed`,sizeY:`hug`,children:[`n_cb-t-1u`,`n_cb-f-1t`],layout:{mode:`column`,gap:8,pad:[0,0,0,0],alignMain:`start`,alignCross:`start`},clip:!1,main:!0,props:{Label:{type:`text`},"Show label":{type:`boolean`},Placeholder:{type:`text`}}},"n_cb-t-1u":{type:`text`,id:`n_cb-t-1u`,parent:`n_cb-text-input`,name:`Label`,x:0,y:0,w:0,h:0,sizeX:`hug`,sizeY:`hug`,content:`Label`,style:`$carbon/label-01`,fontSize:12,fontWeight:400,lineHeight:16,color:`$carbon/text-secondary`,bind:{content:`Label`,visible:`Show label`}},"n_cb-f-1t":{type:`frame`,id:`n_cb-f-1t`,parent:`n_cb-text-input`,name:`Field`,x:0,y:0,w:240,h:40,sizeX:`fill`,sizeY:`fixed`,children:[`n_cb-t-1s`],layout:{mode:`row`,gap:8,pad:[0,16,0,16],alignMain:`start`,alignCross:`center`},clip:!1,stroke:{color:`$carbon/border-strong-01`,width:1,sides:[0,0,1,0]},fills:[{type:`solid`,color:`$carbon/field-01`}]},"n_cb-t-1s":{type:`text`,id:`n_cb-t-1s`,parent:`n_cb-f-1t`,name:`Placeholder`,x:0,y:0,w:0,h:0,sizeX:`fill`,sizeY:`hug`,content:`Placeholder text`,style:`$carbon/body-compact-01`,fontSize:14,fontWeight:400,lineHeight:18,color:`$carbon/text-placeholder`,bind:{content:`Placeholder`}},"n_cb-select":{type:`frame`,id:`n_cb-select`,parent:null,name:`Select`,x:0,y:0,w:240,h:64,sizeX:`fixed`,sizeY:`hug`,children:[`n_cb-t-1y`,`n_cb-f-1x`],layout:{mode:`column`,gap:8,pad:[0,0,0,0],alignMain:`start`,alignCross:`start`},clip:!1,main:!0,props:{Label:{type:`text`},"Show label":{type:`boolean`},Value:{type:`text`}}},"n_cb-t-1y":{type:`text`,id:`n_cb-t-1y`,parent:`n_cb-select`,name:`Label`,x:0,y:0,w:0,h:0,sizeX:`hug`,sizeY:`hug`,content:`Label`,style:`$carbon/label-01`,fontSize:12,fontWeight:400,lineHeight:16,color:`$carbon/text-secondary`,bind:{content:`Label`,visible:`Show label`}},"n_cb-f-1x":{type:`frame`,id:`n_cb-f-1x`,parent:`n_cb-select`,name:`Field`,x:0,y:0,w:240,h:40,sizeX:`fill`,sizeY:`fixed`,children:[`n_cb-t-1v`,`n_cb-i-1w`],layout:{mode:`row`,gap:8,pad:[0,16,0,16],alignMain:`start`,alignCross:`center`},clip:!1,stroke:{color:`$carbon/border-strong-01`,width:1,sides:[0,0,1,0]},fills:[{type:`solid`,color:`$carbon/field-01`}]},"n_cb-t-1v":{type:`text`,id:`n_cb-t-1v`,parent:`n_cb-f-1x`,name:`Value`,x:0,y:0,w:0,h:0,sizeX:`fill`,sizeY:`hug`,content:`Choose an option`,style:`$carbon/body-compact-01`,fontSize:14,fontWeight:400,lineHeight:18,color:`$carbon/text-primary`,bind:{content:`Value`}},"n_cb-i-1w":{type:`vector`,id:`n_cb-i-1w`,parent:`n_cb-f-1x`,name:`Icon`,x:0,y:0,w:16,h:16,sizeX:`fixed`,sizeY:`fixed`,asset:`kit:carbon/chevron-down`,color:`$carbon/icon-primary`,icon:{pack:`carbon`,name:`chevron-down`}},"n_cb-checkbox":{type:`frame`,id:`n_cb-checkbox`,parent:null,name:`Checkbox`,x:0,y:0,w:10,h:10,sizeX:`fixed`,sizeY:`fixed`,children:[`n_cb-checkbox-true`,`n_cb-checkbox-false`],layout:{mode:`free`,gap:0,pad:[0,0,0,0],alignMain:`start`,alignCross:`start`},clip:!1,componentSet:!0,props:{Label:{type:`text`},"Show label":{type:`boolean`}}},"n_cb-checkbox-true":{type:`frame`,id:`n_cb-checkbox-true`,parent:`n_cb-checkbox`,name:`Checked=true`,x:20,y:20,w:120,h:20,sizeX:`hug`,sizeY:`hug`,children:[`n_cb-f-1z`,`n_cb-t-21`],layout:{mode:`row`,gap:8,pad:[0,0,0,0],alignMain:`start`,alignCross:`center`},clip:!1,variant:{Checked:`true`},main:!0},"n_cb-f-1z":{type:`frame`,id:`n_cb-f-1z`,parent:`n_cb-checkbox-true`,name:`Box`,x:0,y:0,w:16,h:16,sizeX:`fixed`,sizeY:`fixed`,children:[`n_cb-i-20`],layout:{mode:`row`,gap:0,pad:[0,0,0,0],alignMain:`center`,alignCross:`center`},clip:!1,radius:`$carbon/border-radius-02`,fills:[{type:`solid`,color:`$carbon/icon-primary`}]},"n_cb-i-20":{type:`vector`,id:`n_cb-i-20`,parent:`n_cb-f-1z`,name:`Icon`,x:0,y:0,w:12,h:12,sizeX:`fixed`,sizeY:`fixed`,asset:`kit:carbon/checkmark`,color:`$carbon/icon-inverse`,icon:{pack:`carbon`,name:`checkmark`}},"n_cb-t-21":{type:`text`,id:`n_cb-t-21`,parent:`n_cb-checkbox-true`,name:`Label`,x:0,y:0,w:0,h:0,sizeX:`hug`,sizeY:`hug`,content:`Checkbox label`,style:`$carbon/body-compact-01`,fontSize:14,fontWeight:400,lineHeight:18,color:`$carbon/text-primary`,bind:{content:`Label`,visible:`Show label`}},"n_cb-checkbox-false":{type:`frame`,id:`n_cb-checkbox-false`,parent:`n_cb-checkbox`,name:`Checked=false`,x:160,y:20,w:120,h:20,sizeX:`hug`,sizeY:`hug`,children:[`n_cb-f-22`,`n_cb-t-23`],layout:{mode:`row`,gap:8,pad:[0,0,0,0],alignMain:`start`,alignCross:`center`},clip:!1,variant:{Checked:`false`},main:!0},"n_cb-f-22":{type:`frame`,id:`n_cb-f-22`,parent:`n_cb-checkbox-false`,name:`Box`,x:0,y:0,w:16,h:16,sizeX:`fixed`,sizeY:`fixed`,children:[],layout:{mode:`row`,gap:0,pad:[0,0,0,0],alignMain:`center`,alignCross:`center`},clip:!1,stroke:{color:`$carbon/icon-primary`,width:1},radius:`$carbon/border-radius-02`},"n_cb-t-23":{type:`text`,id:`n_cb-t-23`,parent:`n_cb-checkbox-false`,name:`Label`,x:0,y:0,w:0,h:0,sizeX:`hug`,sizeY:`hug`,content:`Checkbox label`,style:`$carbon/body-compact-01`,fontSize:14,fontWeight:400,lineHeight:18,color:`$carbon/text-primary`,bind:{content:`Label`,visible:`Show label`}},"n_cb-toggle":{type:`frame`,id:`n_cb-toggle`,parent:null,name:`Toggle`,x:0,y:0,w:10,h:10,sizeX:`fixed`,sizeY:`fixed`,children:[`n_cb-toggle-true`,`n_cb-toggle-false`],layout:{mode:`free`,gap:0,pad:[0,0,0,0],alignMain:`start`,alignCross:`start`},clip:!1,componentSet:!0,props:{Label:{type:`text`},"Show label":{type:`boolean`}}},"n_cb-toggle-true":{type:`frame`,id:`n_cb-toggle-true`,parent:`n_cb-toggle`,name:`Toggled=true`,x:20,y:20,w:120,h:20,sizeX:`hug`,sizeY:`hug`,children:[`n_cb-f-24`,`n_cb-t-26`],layout:{mode:`row`,gap:8,pad:[0,0,0,0],alignMain:`start`,alignCross:`center`},clip:!1,variant:{Toggled:`true`},main:!0},"n_cb-f-24":{type:`frame`,id:`n_cb-f-24`,parent:`n_cb-toggle-true`,name:`Track`,x:0,y:0,w:48,h:24,sizeX:`fixed`,sizeY:`fixed`,children:[`n_cb-f-25`],layout:{mode:`row`,gap:0,pad:[0,3,0,3],alignMain:`end`,alignCross:`center`},clip:!1,radius:`$carbon/border-radius-max`,fills:[{type:`solid`,color:`$carbon/support-success`}]},"n_cb-f-25":{type:`frame`,id:`n_cb-f-25`,parent:`n_cb-f-24`,name:`Handle`,x:0,y:0,w:18,h:18,sizeX:`fixed`,sizeY:`fixed`,children:[],layout:{mode:`free`,gap:0,pad:[0,0,0,0],alignMain:`start`,alignCross:`start`},clip:!1,radius:`$carbon/border-radius-max`,fills:[{type:`solid`,color:`$carbon/icon-on-color`}]},"n_cb-t-26":{type:`text`,id:`n_cb-t-26`,parent:`n_cb-toggle-true`,name:`Label`,x:0,y:0,w:0,h:0,sizeX:`hug`,sizeY:`hug`,content:`On`,style:`$carbon/body-compact-01`,fontSize:14,fontWeight:400,lineHeight:18,color:`$carbon/text-primary`,bind:{content:`Label`,visible:`Show label`}},"n_cb-toggle-false":{type:`frame`,id:`n_cb-toggle-false`,parent:`n_cb-toggle`,name:`Toggled=false`,x:160,y:20,w:120,h:20,sizeX:`hug`,sizeY:`hug`,children:[`n_cb-f-27`,`n_cb-t-29`],layout:{mode:`row`,gap:8,pad:[0,0,0,0],alignMain:`start`,alignCross:`center`},clip:!1,variant:{Toggled:`false`},main:!0},"n_cb-f-27":{type:`frame`,id:`n_cb-f-27`,parent:`n_cb-toggle-false`,name:`Track`,x:0,y:0,w:48,h:24,sizeX:`fixed`,sizeY:`fixed`,children:[`n_cb-f-28`],layout:{mode:`row`,gap:0,pad:[0,3,0,3],alignMain:`start`,alignCross:`center`},clip:!1,radius:`$carbon/border-radius-max`,fills:[{type:`solid`,color:`$carbon/toggle-off`}]},"n_cb-f-28":{type:`frame`,id:`n_cb-f-28`,parent:`n_cb-f-27`,name:`Handle`,x:0,y:0,w:18,h:18,sizeX:`fixed`,sizeY:`fixed`,children:[],layout:{mode:`free`,gap:0,pad:[0,0,0,0],alignMain:`start`,alignCross:`start`},clip:!1,radius:`$carbon/border-radius-max`,fills:[{type:`solid`,color:`$carbon/icon-on-color`}]},"n_cb-t-29":{type:`text`,id:`n_cb-t-29`,parent:`n_cb-toggle-false`,name:`Label`,x:0,y:0,w:0,h:0,sizeX:`hug`,sizeY:`hug`,content:`Off`,style:`$carbon/body-compact-01`,fontSize:14,fontWeight:400,lineHeight:18,color:`$carbon/text-primary`,bind:{content:`Label`,visible:`Show label`}},"n_cb-radio":{type:`frame`,id:`n_cb-radio`,parent:null,name:`Radio button`,x:0,y:0,w:10,h:10,sizeX:`fixed`,sizeY:`fixed`,children:[`n_cb-radio-true`,`n_cb-radio-false`],layout:{mode:`free`,gap:0,pad:[0,0,0,0],alignMain:`start`,alignCross:`start`},clip:!1,componentSet:!0,props:{Label:{type:`text`}}},"n_cb-radio-true":{type:`frame`,id:`n_cb-radio-true`,parent:`n_cb-radio`,name:`Checked=true`,x:20,y:20,w:120,h:20,sizeX:`hug`,sizeY:`hug`,children:[`n_cb-f-2a`,`n_cb-t-2c`],layout:{mode:`row`,gap:8,pad:[0,0,0,0],alignMain:`start`,alignCross:`center`},clip:!1,variant:{Checked:`true`},main:!0},"n_cb-f-2a":{type:`frame`,id:`n_cb-f-2a`,parent:`n_cb-radio-true`,name:`Ring`,x:0,y:0,w:18,h:18,sizeX:`fixed`,sizeY:`fixed`,children:[`n_cb-f-2b`],layout:{mode:`row`,gap:0,pad:[0,0,0,0],alignMain:`center`,alignCross:`center`},clip:!1,stroke:{color:`$carbon/icon-primary`,width:1},radius:`$carbon/border-radius-max`},"n_cb-f-2b":{type:`frame`,id:`n_cb-f-2b`,parent:`n_cb-f-2a`,name:`Dot`,x:0,y:0,w:8,h:8,sizeX:`fixed`,sizeY:`fixed`,children:[],layout:{mode:`free`,gap:0,pad:[0,0,0,0],alignMain:`start`,alignCross:`start`},clip:!1,radius:`$carbon/border-radius-max`,fills:[{type:`solid`,color:`$carbon/icon-primary`}]},"n_cb-t-2c":{type:`text`,id:`n_cb-t-2c`,parent:`n_cb-radio-true`,name:`Label`,x:0,y:0,w:0,h:0,sizeX:`hug`,sizeY:`hug`,content:`Radio button label`,style:`$carbon/body-compact-01`,fontSize:14,fontWeight:400,lineHeight:18,color:`$carbon/text-primary`,bind:{content:`Label`}},"n_cb-radio-false":{type:`frame`,id:`n_cb-radio-false`,parent:`n_cb-radio`,name:`Checked=false`,x:160,y:20,w:120,h:20,sizeX:`hug`,sizeY:`hug`,children:[`n_cb-f-2d`,`n_cb-t-2e`],layout:{mode:`row`,gap:8,pad:[0,0,0,0],alignMain:`start`,alignCross:`center`},clip:!1,variant:{Checked:`false`},main:!0},"n_cb-f-2d":{type:`frame`,id:`n_cb-f-2d`,parent:`n_cb-radio-false`,name:`Ring`,x:0,y:0,w:18,h:18,sizeX:`fixed`,sizeY:`fixed`,children:[],layout:{mode:`row`,gap:0,pad:[0,0,0,0],alignMain:`center`,alignCross:`center`},clip:!1,stroke:{color:`$carbon/icon-primary`,width:1},radius:`$carbon/border-radius-max`},"n_cb-t-2e":{type:`text`,id:`n_cb-t-2e`,parent:`n_cb-radio-false`,name:`Label`,x:0,y:0,w:0,h:0,sizeX:`hug`,sizeY:`hug`,content:`Radio button label`,style:`$carbon/body-compact-01`,fontSize:14,fontWeight:400,lineHeight:18,color:`$carbon/text-primary`,bind:{content:`Label`}},"n_cb-tile":{type:`frame`,id:`n_cb-tile`,parent:null,name:`Tile`,x:0,y:0,w:280,h:64,sizeX:`fixed`,sizeY:`hug`,children:[`n_cb-t-2f`,`n_cb-t-2g`],layout:{mode:`column`,gap:8,pad:[16,16,16,16],alignMain:`start`,alignCross:`start`},clip:!1,radius:`$carbon/border-radius-00`,main:!0,props:{Title:{type:`text`},Description:{type:`text`}},fills:[{type:`solid`,color:`$carbon/layer-01`}]},"n_cb-t-2f":{type:`text`,id:`n_cb-t-2f`,parent:`n_cb-tile`,name:`Title`,x:0,y:0,w:0,h:0,sizeX:`fill`,sizeY:`hug`,content:`Title`,style:`$carbon/heading-compact-01`,fontSize:14,fontWeight:600,lineHeight:18,color:`$carbon/text-primary`,bind:{content:`Title`}},"n_cb-t-2g":{type:`text`,id:`n_cb-t-2g`,parent:`n_cb-tile`,name:`Description`,x:0,y:0,w:0,h:0,sizeX:`fill`,sizeY:`hug`,content:`Tile content goes here.`,style:`$carbon/body-compact-01`,fontSize:14,fontWeight:400,lineHeight:18,color:`$carbon/text-secondary`,bind:{content:`Description`}},"n_cb-tab":{type:`frame`,id:`n_cb-tab`,parent:null,name:`Tab`,x:0,y:0,w:10,h:10,sizeX:`fixed`,sizeY:`fixed`,children:[`n_cb-tab-true`,`n_cb-tab-false`],layout:{mode:`free`,gap:0,pad:[0,0,0,0],alignMain:`start`,alignCross:`start`},clip:!1,componentSet:!0,props:{Label:{type:`text`}}},"n_cb-tab-true":{type:`frame`,id:`n_cb-tab-true`,parent:`n_cb-tab`,name:`Selected=true`,x:20,y:20,w:90,h:40,sizeX:`hug`,sizeY:`fixed`,children:[`n_cb-t-2h`],layout:{mode:`row`,gap:0,pad:[0,16,0,16],alignMain:`start`,alignCross:`center`},clip:!1,stroke:{color:`$carbon/border-interactive`,width:2,sides:[0,0,2,0]},variant:{Selected:`true`},main:!0},"n_cb-t-2h":{type:`text`,id:`n_cb-t-2h`,parent:`n_cb-tab-true`,name:`Label`,x:0,y:0,w:0,h:0,sizeX:`hug`,sizeY:`hug`,content:`Tab label`,style:`$carbon/heading-compact-01`,fontSize:14,fontWeight:600,lineHeight:18,color:`$carbon/text-primary`,bind:{content:`Label`}},"n_cb-tab-false":{type:`frame`,id:`n_cb-tab-false`,parent:`n_cb-tab`,name:`Selected=false`,x:130,y:20,w:90,h:40,sizeX:`hug`,sizeY:`fixed`,children:[`n_cb-t-2i`],layout:{mode:`row`,gap:0,pad:[0,16,0,16],alignMain:`start`,alignCross:`center`},clip:!1,stroke:{color:`$carbon/border-subtle-01`,width:2,sides:[0,0,2,0]},variant:{Selected:`false`},main:!0},"n_cb-t-2i":{type:`text`,id:`n_cb-t-2i`,parent:`n_cb-tab-false`,name:`Label`,x:0,y:0,w:0,h:0,sizeX:`hug`,sizeY:`hug`,content:`Tab label`,style:`$carbon/body-compact-01`,fontSize:14,fontWeight:400,lineHeight:18,color:`$carbon/text-secondary`,bind:{content:`Label`}},"n_cb-tabs":{type:`frame`,id:`n_cb-tabs`,parent:null,name:`Tabs`,x:0,y:0,w:300,h:40,sizeX:`hug`,sizeY:`hug`,children:[`n_cb-n-2j`,`n_cb-n-2k`,`n_cb-n-2l`],layout:{mode:`row`,gap:0,pad:[0,0,0,0],alignMain:`start`,alignCross:`center`},clip:!1,main:!0},"n_cb-n-2j":{type:`frame`,id:`n_cb-n-2j`,parent:`n_cb-tabs`,name:`Tab`,x:0,y:0,w:100,h:100,sizeX:`fixed`,sizeY:`fixed`,children:[],layout:{mode:`free`,gap:0,pad:[0,0,0,0],alignMain:`start`,alignCross:`start`},clip:!1,values:{Label:`Dashboard`},instanceOf:`n_cb-tab-true`},"n_cb-n-2k":{type:`frame`,id:`n_cb-n-2k`,parent:`n_cb-tabs`,name:`Tab`,x:0,y:0,w:100,h:100,sizeX:`fixed`,sizeY:`fixed`,children:[],layout:{mode:`free`,gap:0,pad:[0,0,0,0],alignMain:`start`,alignCross:`start`},clip:!1,values:{Label:`Monitoring`},instanceOf:`n_cb-tab-false`},"n_cb-n-2l":{type:`frame`,id:`n_cb-n-2l`,parent:`n_cb-tabs`,name:`Tab`,x:0,y:0,w:100,h:100,sizeX:`fixed`,sizeY:`fixed`,children:[],layout:{mode:`free`,gap:0,pad:[0,0,0,0],alignMain:`start`,alignCross:`start`},clip:!1,values:{Label:`Activity`},instanceOf:`n_cb-tab-false`},"n_cb-notification":{type:`frame`,id:`n_cb-notification`,parent:null,name:`Inline notification`,x:0,y:0,w:10,h:10,sizeX:`fixed`,sizeY:`fixed`,children:[`n_cb-notification-error`,`n_cb-notification-success`,`n_cb-notification-info`,`n_cb-notification-warning`],layout:{mode:`free`,gap:0,pad:[0,0,0,0],alignMain:`start`,alignCross:`start`},clip:!1,componentSet:!0,props:{Title:{type:`text`},Subtitle:{type:`text`}}},"n_cb-notification-error":{type:`frame`,id:`n_cb-notification-error`,parent:`n_cb-notification`,name:`Kind=Error`,x:20,y:20,w:400,h:48,sizeX:`fixed`,sizeY:`hug`,children:[`n_cb-i-2m`,`n_cb-f-2n`],layout:{mode:`row`,gap:12,pad:[15,16,15,13],alignMain:`start`,alignCross:`start`},clip:!1,stroke:{color:`$carbon/support-error`,width:3,sides:[0,0,0,3]},variant:{Kind:`Error`},main:!0,fills:[{type:`solid`,color:`$carbon/notification-background-error`}]},"n_cb-i-2m":{type:`vector`,id:`n_cb-i-2m`,parent:`n_cb-notification-error`,name:`Icon`,x:0,y:0,w:20,h:20,sizeX:`fixed`,sizeY:`fixed`,asset:`kit:carbon/error-filled`,color:`$carbon/support-error`,icon:{pack:`carbon`,name:`error-filled`}},"n_cb-f-2n":{type:`frame`,id:`n_cb-f-2n`,parent:`n_cb-notification-error`,name:`Text`,x:0,y:0,w:100,h:100,sizeX:`fill`,sizeY:`hug`,children:[`n_cb-t-2o`,`n_cb-t-2p`],layout:{mode:`row`,gap:4,pad:[0,0,0,0],alignMain:`start`,alignCross:`start`,wrap:!0},clip:!1},"n_cb-t-2o":{type:`text`,id:`n_cb-t-2o`,parent:`n_cb-f-2n`,name:`Title`,x:0,y:0,w:0,h:0,sizeX:`hug`,sizeY:`hug`,content:`Notification title`,style:`$carbon/heading-compact-01`,fontSize:14,fontWeight:600,lineHeight:18,color:`$carbon/text-primary`,bind:{content:`Title`}},"n_cb-t-2p":{type:`text`,id:`n_cb-t-2p`,parent:`n_cb-f-2n`,name:`Subtitle`,x:0,y:0,w:0,h:0,sizeX:`hug`,sizeY:`hug`,content:`Subtitle text goes here.`,style:`$carbon/body-compact-01`,fontSize:14,fontWeight:400,lineHeight:18,color:`$carbon/text-primary`,bind:{content:`Subtitle`}},"n_cb-notification-success":{type:`frame`,id:`n_cb-notification-success`,parent:`n_cb-notification`,name:`Kind=Success`,x:20,y:88,w:400,h:48,sizeX:`fixed`,sizeY:`hug`,children:[`n_cb-i-2q`,`n_cb-f-2r`],layout:{mode:`row`,gap:12,pad:[15,16,15,13],alignMain:`start`,alignCross:`start`},clip:!1,stroke:{color:`$carbon/support-success`,width:3,sides:[0,0,0,3]},variant:{Kind:`Success`},main:!0,fills:[{type:`solid`,color:`$carbon/notification-background-success`}]},"n_cb-i-2q":{type:`vector`,id:`n_cb-i-2q`,parent:`n_cb-notification-success`,name:`Icon`,x:0,y:0,w:20,h:20,sizeX:`fixed`,sizeY:`fixed`,asset:`kit:carbon/checkmark-filled`,color:`$carbon/support-success`,icon:{pack:`carbon`,name:`checkmark-filled`}},"n_cb-f-2r":{type:`frame`,id:`n_cb-f-2r`,parent:`n_cb-notification-success`,name:`Text`,x:0,y:0,w:100,h:100,sizeX:`fill`,sizeY:`hug`,children:[`n_cb-t-2s`,`n_cb-t-2t`],layout:{mode:`row`,gap:4,pad:[0,0,0,0],alignMain:`start`,alignCross:`start`,wrap:!0},clip:!1},"n_cb-t-2s":{type:`text`,id:`n_cb-t-2s`,parent:`n_cb-f-2r`,name:`Title`,x:0,y:0,w:0,h:0,sizeX:`hug`,sizeY:`hug`,content:`Success`,style:`$carbon/heading-compact-01`,fontSize:14,fontWeight:600,lineHeight:18,color:`$carbon/text-primary`,bind:{content:`Title`}},"n_cb-t-2t":{type:`text`,id:`n_cb-t-2t`,parent:`n_cb-f-2r`,name:`Subtitle`,x:0,y:0,w:0,h:0,sizeX:`hug`,sizeY:`hug`,content:`Subtitle text goes here.`,style:`$carbon/body-compact-01`,fontSize:14,fontWeight:400,lineHeight:18,color:`$carbon/text-primary`,bind:{content:`Subtitle`}},"n_cb-notification-info":{type:`frame`,id:`n_cb-notification-info`,parent:`n_cb-notification`,name:`Kind=Info`,x:20,y:156,w:400,h:48,sizeX:`fixed`,sizeY:`hug`,children:[`n_cb-i-2u`,`n_cb-f-2v`],layout:{mode:`row`,gap:12,pad:[15,16,15,13],alignMain:`start`,alignCross:`start`},clip:!1,stroke:{color:`$carbon/support-info`,width:3,sides:[0,0,0,3]},variant:{Kind:`Info`},main:!0,fills:[{type:`solid`,color:`$carbon/notification-background-info`}]},"n_cb-i-2u":{type:`vector`,id:`n_cb-i-2u`,parent:`n_cb-notification-info`,name:`Icon`,x:0,y:0,w:20,h:20,sizeX:`fixed`,sizeY:`fixed`,asset:`kit:carbon/information-filled`,color:`$carbon/support-info`,icon:{pack:`carbon`,name:`information-filled`}},"n_cb-f-2v":{type:`frame`,id:`n_cb-f-2v`,parent:`n_cb-notification-info`,name:`Text`,x:0,y:0,w:100,h:100,sizeX:`fill`,sizeY:`hug`,children:[`n_cb-t-2w`,`n_cb-t-2x`],layout:{mode:`row`,gap:4,pad:[0,0,0,0],alignMain:`start`,alignCross:`start`,wrap:!0},clip:!1},"n_cb-t-2w":{type:`text`,id:`n_cb-t-2w`,parent:`n_cb-f-2v`,name:`Title`,x:0,y:0,w:0,h:0,sizeX:`hug`,sizeY:`hug`,content:`Info`,style:`$carbon/heading-compact-01`,fontSize:14,fontWeight:600,lineHeight:18,color:`$carbon/text-primary`,bind:{content:`Title`}},"n_cb-t-2x":{type:`text`,id:`n_cb-t-2x`,parent:`n_cb-f-2v`,name:`Subtitle`,x:0,y:0,w:0,h:0,sizeX:`hug`,sizeY:`hug`,content:`Subtitle text goes here.`,style:`$carbon/body-compact-01`,fontSize:14,fontWeight:400,lineHeight:18,color:`$carbon/text-primary`,bind:{content:`Subtitle`}},"n_cb-notification-warning":{type:`frame`,id:`n_cb-notification-warning`,parent:`n_cb-notification`,name:`Kind=Warning`,x:20,y:224,w:400,h:48,sizeX:`fixed`,sizeY:`hug`,children:[`n_cb-i-2y`,`n_cb-f-2z`],layout:{mode:`row`,gap:12,pad:[15,16,15,13],alignMain:`start`,alignCross:`start`},clip:!1,stroke:{color:`$carbon/support-warning`,width:3,sides:[0,0,0,3]},variant:{Kind:`Warning`},main:!0,fills:[{type:`solid`,color:`$carbon/notification-background-warning`}]},"n_cb-i-2y":{type:`vector`,id:`n_cb-i-2y`,parent:`n_cb-notification-warning`,name:`Icon`,x:0,y:0,w:20,h:20,sizeX:`fixed`,sizeY:`fixed`,asset:`kit:carbon/warning-filled`,color:`$carbon/support-warning`,icon:{pack:`carbon`,name:`warning-filled`}},"n_cb-f-2z":{type:`frame`,id:`n_cb-f-2z`,parent:`n_cb-notification-warning`,name:`Text`,x:0,y:0,w:100,h:100,sizeX:`fill`,sizeY:`hug`,children:[`n_cb-t-30`,`n_cb-t-31`],layout:{mode:`row`,gap:4,pad:[0,0,0,0],alignMain:`start`,alignCross:`start`,wrap:!0},clip:!1},"n_cb-t-30":{type:`text`,id:`n_cb-t-30`,parent:`n_cb-f-2z`,name:`Title`,x:0,y:0,w:0,h:0,sizeX:`hug`,sizeY:`hug`,content:`Warning`,style:`$carbon/heading-compact-01`,fontSize:14,fontWeight:600,lineHeight:18,color:`$carbon/text-primary`,bind:{content:`Title`}},"n_cb-t-31":{type:`text`,id:`n_cb-t-31`,parent:`n_cb-f-2z`,name:`Subtitle`,x:0,y:0,w:0,h:0,sizeX:`hug`,sizeY:`hug`,content:`Subtitle text goes here.`,style:`$carbon/body-compact-01`,fontSize:14,fontWeight:400,lineHeight:18,color:`$carbon/text-primary`,bind:{content:`Subtitle`}},"n_cb-tooltip":{type:`frame`,id:`n_cb-tooltip`,parent:null,name:`Tooltip`,x:0,y:0,w:100,h:36,sizeX:`hug`,sizeY:`hug`,children:[`n_cb-t-32`],layout:{mode:`row`,gap:0,pad:[8,16,8,16],alignMain:`start`,alignCross:`center`},clip:!1,radius:`$carbon/border-radius-02`,main:!0,props:{Text:{type:`text`}},fills:[{type:`solid`,color:`$carbon/background-inverse`}]},"n_cb-t-32":{type:`text`,id:`n_cb-t-32`,parent:`n_cb-tooltip`,name:`Text`,x:0,y:0,w:0,h:0,sizeX:`hug`,sizeY:`hug`,content:`Tooltip text`,style:`$carbon/body-01`,fontSize:14,fontWeight:400,lineHeight:20,color:`$carbon/text-inverse`,bind:{content:`Text`}},"n_cb-menu-item":{type:`frame`,id:`n_cb-menu-item`,parent:null,name:`Overflow menu item`,x:0,y:0,w:10,h:10,sizeX:`fixed`,sizeY:`fixed`,children:[`n_cb-menu-item-default`,`n_cb-menu-item-danger`],layout:{mode:`free`,gap:0,pad:[0,0,0,0],alignMain:`start`,alignCross:`start`},clip:!1,componentSet:!0,props:{Label:{type:`text`}}},"n_cb-menu-item-default":{type:`frame`,id:`n_cb-menu-item-default`,parent:`n_cb-menu-item`,name:`Kind=Default`,x:20,y:20,w:160,h:40,sizeX:`fixed`,sizeY:`fixed`,children:[`n_cb-t-33`],layout:{mode:`row`,gap:0,pad:[0,16,0,16],alignMain:`start`,alignCross:`center`},clip:!1,variant:{Kind:`Default`},main:!0},"n_cb-t-33":{type:`text`,id:`n_cb-t-33`,parent:`n_cb-menu-item-default`,name:`Label`,x:0,y:0,w:0,h:0,sizeX:`fill`,sizeY:`hug`,content:`Option`,style:`$carbon/body-compact-01`,fontSize:14,fontWeight:400,lineHeight:18,color:`$carbon/text-secondary`,bind:{content:`Label`}},"n_cb-menu-item-danger":{type:`frame`,id:`n_cb-menu-item-danger`,parent:`n_cb-menu-item`,name:`Kind=Danger`,x:200,y:20,w:160,h:40,sizeX:`fixed`,sizeY:`fixed`,children:[`n_cb-t-34`],layout:{mode:`row`,gap:0,pad:[0,16,0,16],alignMain:`start`,alignCross:`center`},clip:!1,variant:{Kind:`Danger`},main:!0},"n_cb-t-34":{type:`text`,id:`n_cb-t-34`,parent:`n_cb-menu-item-danger`,name:`Label`,x:0,y:0,w:0,h:0,sizeX:`fill`,sizeY:`hug`,content:`Delete`,style:`$carbon/body-compact-01`,fontSize:14,fontWeight:400,lineHeight:18,color:`$carbon/text-error`,bind:{content:`Label`}},"n_cb-menu":{type:`frame`,id:`n_cb-menu`,parent:null,name:`Overflow menu`,x:0,y:0,w:160,h:160,sizeX:`fixed`,sizeY:`hug`,children:[`n_cb-n-35`,`n_cb-n-36`,`n_cb-n-37`,`n_cb-n-38`],layout:{mode:`column`,gap:0,pad:[0,0,0,0],alignMain:`start`,alignCross:`start`},clip:!1,effects:[{type:`shadow`,x:0,y:2,blur:6,spread:0,color:`$carbon/shadow`}],main:!0,fills:[{type:`solid`,color:`$carbon/layer-01`}]},"n_cb-n-35":{type:`frame`,id:`n_cb-n-35`,parent:`n_cb-menu`,name:`Item`,x:0,y:0,w:100,h:100,sizeX:`fixed`,sizeY:`fixed`,children:[],layout:{mode:`free`,gap:0,pad:[0,0,0,0],alignMain:`start`,alignCross:`start`},clip:!1,values:{Label:`Stop app`},instanceOf:`n_cb-menu-item-default`},"n_cb-n-36":{type:`frame`,id:`n_cb-n-36`,parent:`n_cb-menu`,name:`Item`,x:0,y:0,w:100,h:100,sizeX:`fixed`,sizeY:`fixed`,children:[],layout:{mode:`free`,gap:0,pad:[0,0,0,0],alignMain:`start`,alignCross:`start`},clip:!1,values:{Label:`Restart app`},instanceOf:`n_cb-menu-item-default`},"n_cb-n-37":{type:`frame`,id:`n_cb-n-37`,parent:`n_cb-menu`,name:`Item`,x:0,y:0,w:100,h:100,sizeX:`fixed`,sizeY:`fixed`,children:[],layout:{mode:`free`,gap:0,pad:[0,0,0,0],alignMain:`start`,alignCross:`start`},clip:!1,values:{Label:`Rename app`},instanceOf:`n_cb-menu-item-default`},"n_cb-n-38":{type:`frame`,id:`n_cb-n-38`,parent:`n_cb-menu`,name:`Item`,x:0,y:0,w:100,h:100,sizeX:`fixed`,sizeY:`fixed`,children:[],layout:{mode:`free`,gap:0,pad:[0,0,0,0],alignMain:`start`,alignCross:`start`},clip:!1,values:{},instanceOf:`n_cb-menu-item-danger`}},icons:{"carbon/add":`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path fill="currentColor" d="M17 15V8h-2v7H8v2h7v7h2v-7h7v-2z"/></svg>`,"carbon/chevron-down":`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path fill="currentColor" d="M16 22L6 12l1.4-1.4l8.6 8.6l8.6-8.6L26 12z"/></svg>`,"carbon/checkmark":`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path fill="currentColor" d="m13 24l-9-9l1.414-1.414L13 21.171L26.586 7.586L28 9z"/></svg>`,"carbon/error-filled":`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path fill="none" d="M9 10.555L10.555 9L23 21.444L21.444 23z"/><path fill="currentColor" d="M16 2A13.914 13.914 0 0 0 2 16a13.914 13.914 0 0 0 14 14a13.914 13.914 0 0 0 14-14A13.914 13.914 0 0 0 16 2m5.445 21L9 10.556L10.556 9L23 21.445Z"/></svg>`,"carbon/checkmark-filled":`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path fill="currentColor" d="M16 2a14 14 0 1 0 14 14A14 14 0 0 0 16 2m-2 19.59l-5-5L10.59 15L14 18.41L21.41 11l1.596 1.586Z"/><path fill="none" d="m14 21.591l-5-5L10.591 15L14 18.409L21.41 11l1.595 1.585z"/></svg>`,"carbon/information-filled":`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path fill="none" d="M16 8a1.5 1.5 0 1 1-1.5 1.5A1.5 1.5 0 0 1 16 8m4 13.875h-2.875v-8H13v2.25h1.875v5.75H12v2.25h8Z"/><path fill="currentColor" d="M16 2a14 14 0 1 0 14 14A14 14 0 0 0 16 2m0 6a1.5 1.5 0 1 1-1.5 1.5A1.5 1.5 0 0 1 16 8m4 16.125h-8v-2.25h2.875v-5.75H13v-2.25h4.125v8H20Z"/></svg>`,"carbon/warning-filled":`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path fill="currentColor" d="M16 2C8.3 2 2 8.3 2 16s6.3 14 14 14s14-6.3 14-14S23.7 2 16 2m-1.1 6h2.2v11h-2.2zM16 25c-.8 0-1.5-.7-1.5-1.5S15.2 22 16 22s1.5.7 1.5 1.5S16.8 25 16 25"/></svg>`}},primer:{id:`primer`,name:`Primer`,version:`2.0.0`,license:`MIT`,url:`https://primer.style`,components:[{id:`n_pr-button`,name:`Button`,group:`Buttons`},{id:`n_pr-label`,name:`Label`,group:`Labels`},{id:`n_pr-text-input`,name:`Text input`,group:`Text inputs`},{id:`n_pr-textarea`,name:`Textarea`,group:`Text inputs`},{id:`n_pr-select`,name:`Select`,group:`Selects`},{id:`n_pr-checkbox`,name:`Checkbox`,group:`Checkboxes`},{id:`n_pr-toggle`,name:`Toggle switch`,group:`Toggle switches`},{id:`n_pr-radio`,name:`Radio`,group:`Radios`},{id:`n_pr-avatar`,name:`Avatar`,group:`Avatars`},{id:`n_pr-underline-nav`,name:`Underline nav`,group:`Underline nav`},{id:`n_pr-tab`,name:`Underline nav item`,group:`Underline nav`},{id:`n_pr-flash`,name:`Flash`,group:`Flash`},{id:`n_pr-tooltip`,name:`Tooltip`,group:`Tooltips`},{id:`n_pr-menu`,name:`Action menu`,group:`Action menus`},{id:`n_pr-menu-item`,name:`Action list item`,group:`Action menus`}],nodes:{"n_pr-button":{type:`frame`,id:`n_pr-button`,parent:null,name:`Button`,x:0,y:0,w:10,h:10,sizeX:`fixed`,sizeY:`fixed`,children:[`n_pr-button-default-small`,`n_pr-button-default-medium`,`n_pr-button-default-large`,`n_pr-button-primary-small`,`n_pr-button-primary-medium`,`n_pr-button-primary-large`,`n_pr-button-invisible-small`,`n_pr-button-invisible-medium`,`n_pr-button-invisible-large`,`n_pr-button-danger-small`,`n_pr-button-danger-medium`,`n_pr-button-danger-large`],layout:{mode:`free`,gap:0,pad:[0,0,0,0],alignMain:`start`,alignCross:`start`},clip:!1,componentSet:!0,props:{Label:{type:`text`},"Show leading visual":{type:`boolean`},"Leading visual":{type:`swap`}}},"n_pr-button-default-small":{type:`frame`,id:`n_pr-button-default-small`,parent:`n_pr-button`,name:`Variant=Default, Size=small`,x:20,y:20,w:80,h:28,sizeX:`hug`,sizeY:`fixed`,children:[`n_pr-i-0`,`n_pr-t-1`],layout:{mode:`row`,gap:8,pad:[0,8,0,8],alignMain:`center`,alignCross:`center`},clip:!1,stroke:{color:`$primer/button-default-borderColor-rest`,width:1},radius:`$primer/borderRadius-medium`,variant:{Variant:`Default`,Size:`small`},main:!0,fills:[{type:`solid`,color:`$primer/button-default-bgColor-rest`}]},"n_pr-i-0":{type:`vector`,id:`n_pr-i-0`,parent:`n_pr-button-default-small`,name:`Icon`,x:0,y:0,w:16,h:16,sizeX:`fixed`,sizeY:`fixed`,asset:`kit:octicon/plus-16`,hidden:!0,color:`$primer/fgColor-muted`,icon:{pack:`octicon`,name:`plus-16`},bind:{visible:`Show leading visual`,swap:`Leading visual`}},"n_pr-t-1":{type:`text`,id:`n_pr-t-1`,parent:`n_pr-button-default-small`,name:`Label`,x:0,y:0,w:0,h:0,sizeX:`hug`,sizeY:`hug`,content:`Button`,style:`$primer/text-body-small`,fontSize:12,fontWeight:500,lineHeight:19.5,color:`$primer/button-default-fgColor-rest`,bind:{content:`Label`}},"n_pr-button-default-medium":{type:`frame`,id:`n_pr-button-default-medium`,parent:`n_pr-button`,name:`Variant=Default, Size=medium`,x:120,y:20,w:80,h:32,sizeX:`hug`,sizeY:`fixed`,children:[`n_pr-i-2`,`n_pr-t-3`],layout:{mode:`row`,gap:8,pad:[0,12,0,12],alignMain:`center`,alignCross:`center`},clip:!1,stroke:{color:`$primer/button-default-borderColor-rest`,width:1},radius:`$primer/borderRadius-medium`,variant:{Variant:`Default`,Size:`medium`},main:!0,fills:[{type:`solid`,color:`$primer/button-default-bgColor-rest`}]},"n_pr-i-2":{type:`vector`,id:`n_pr-i-2`,parent:`n_pr-button-default-medium`,name:`Icon`,x:0,y:0,w:16,h:16,sizeX:`fixed`,sizeY:`fixed`,asset:`kit:octicon/plus-16`,hidden:!0,color:`$primer/fgColor-muted`,icon:{pack:`octicon`,name:`plus-16`},bind:{visible:`Show leading visual`,swap:`Leading visual`}},"n_pr-t-3":{type:`text`,id:`n_pr-t-3`,parent:`n_pr-button-default-medium`,name:`Label`,x:0,y:0,w:0,h:0,sizeX:`hug`,sizeY:`hug`,content:`Button`,style:`$primer/text-body-medium`,fontSize:14,fontWeight:500,lineHeight:21,color:`$primer/button-default-fgColor-rest`,bind:{content:`Label`}},"n_pr-button-default-large":{type:`frame`,id:`n_pr-button-default-large`,parent:`n_pr-button`,name:`Variant=Default, Size=large`,x:220,y:20,w:80,h:40,sizeX:`hug`,sizeY:`fixed`,children:[`n_pr-i-4`,`n_pr-t-5`],layout:{mode:`row`,gap:8,pad:[0,16,0,16],alignMain:`center`,alignCross:`center`},clip:!1,stroke:{color:`$primer/button-default-borderColor-rest`,width:1},radius:`$primer/borderRadius-medium`,variant:{Variant:`Default`,Size:`large`},main:!0,fills:[{type:`solid`,color:`$primer/button-default-bgColor-rest`}]},"n_pr-i-4":{type:`vector`,id:`n_pr-i-4`,parent:`n_pr-button-default-large`,name:`Icon`,x:0,y:0,w:16,h:16,sizeX:`fixed`,sizeY:`fixed`,asset:`kit:octicon/plus-16`,hidden:!0,color:`$primer/fgColor-muted`,icon:{pack:`octicon`,name:`plus-16`},bind:{visible:`Show leading visual`,swap:`Leading visual`}},"n_pr-t-5":{type:`text`,id:`n_pr-t-5`,parent:`n_pr-button-default-large`,name:`Label`,x:0,y:0,w:0,h:0,sizeX:`hug`,sizeY:`hug`,content:`Button`,style:`$primer/text-body-medium`,fontSize:14,fontWeight:500,lineHeight:21,color:`$primer/button-default-fgColor-rest`,bind:{content:`Label`}},"n_pr-button-primary-small":{type:`frame`,id:`n_pr-button-primary-small`,parent:`n_pr-button`,name:`Variant=Primary, Size=small`,x:20,y:80,w:80,h:28,sizeX:`hug`,sizeY:`fixed`,children:[`n_pr-i-6`,`n_pr-t-7`],layout:{mode:`row`,gap:8,pad:[0,8,0,8],alignMain:`center`,alignCross:`center`},clip:!1,radius:`$primer/borderRadius-medium`,variant:{Variant:`Primary`,Size:`small`},main:!0,fills:[{type:`solid`,color:`$primer/button-primary-bgColor-rest`}]},"n_pr-i-6":{type:`vector`,id:`n_pr-i-6`,parent:`n_pr-button-primary-small`,name:`Icon`,x:0,y:0,w:16,h:16,sizeX:`fixed`,sizeY:`fixed`,asset:`kit:octicon/plus-16`,hidden:!0,color:`$primer/button-primary-fgColor-rest`,icon:{pack:`octicon`,name:`plus-16`},bind:{visible:`Show leading visual`,swap:`Leading visual`}},"n_pr-t-7":{type:`text`,id:`n_pr-t-7`,parent:`n_pr-button-primary-small`,name:`Label`,x:0,y:0,w:0,h:0,sizeX:`hug`,sizeY:`hug`,content:`Button`,style:`$primer/text-body-small`,fontSize:12,fontWeight:500,lineHeight:19.5,color:`$primer/button-primary-fgColor-rest`,bind:{content:`Label`}},"n_pr-button-primary-medium":{type:`frame`,id:`n_pr-button-primary-medium`,parent:`n_pr-button`,name:`Variant=Primary, Size=medium`,x:120,y:80,w:80,h:32,sizeX:`hug`,sizeY:`fixed`,children:[`n_pr-i-8`,`n_pr-t-9`],layout:{mode:`row`,gap:8,pad:[0,12,0,12],alignMain:`center`,alignCross:`center`},clip:!1,radius:`$primer/borderRadius-medium`,variant:{Variant:`Primary`,Size:`medium`},main:!0,fills:[{type:`solid`,color:`$primer/button-primary-bgColor-rest`}]},"n_pr-i-8":{type:`vector`,id:`n_pr-i-8`,parent:`n_pr-button-primary-medium`,name:`Icon`,x:0,y:0,w:16,h:16,sizeX:`fixed`,sizeY:`fixed`,asset:`kit:octicon/plus-16`,hidden:!0,color:`$primer/button-primary-fgColor-rest`,icon:{pack:`octicon`,name:`plus-16`},bind:{visible:`Show leading visual`,swap:`Leading visual`}},"n_pr-t-9":{type:`text`,id:`n_pr-t-9`,parent:`n_pr-button-primary-medium`,name:`Label`,x:0,y:0,w:0,h:0,sizeX:`hug`,sizeY:`hug`,content:`Button`,style:`$primer/text-body-medium`,fontSize:14,fontWeight:500,lineHeight:21,color:`$primer/button-primary-fgColor-rest`,bind:{content:`Label`}},"n_pr-button-primary-large":{type:`frame`,id:`n_pr-button-primary-large`,parent:`n_pr-button`,name:`Variant=Primary, Size=large`,x:220,y:80,w:80,h:40,sizeX:`hug`,sizeY:`fixed`,children:[`n_pr-i-a`,`n_pr-t-b`],layout:{mode:`row`,gap:8,pad:[0,16,0,16],alignMain:`center`,alignCross:`center`},clip:!1,radius:`$primer/borderRadius-medium`,variant:{Variant:`Primary`,Size:`large`},main:!0,fills:[{type:`solid`,color:`$primer/button-primary-bgColor-rest`}]},"n_pr-i-a":{type:`vector`,id:`n_pr-i-a`,parent:`n_pr-button-primary-large`,name:`Icon`,x:0,y:0,w:16,h:16,sizeX:`fixed`,sizeY:`fixed`,asset:`kit:octicon/plus-16`,hidden:!0,color:`$primer/button-primary-fgColor-rest`,icon:{pack:`octicon`,name:`plus-16`},bind:{visible:`Show leading visual`,swap:`Leading visual`}},"n_pr-t-b":{type:`text`,id:`n_pr-t-b`,parent:`n_pr-button-primary-large`,name:`Label`,x:0,y:0,w:0,h:0,sizeX:`hug`,sizeY:`hug`,content:`Button`,style:`$primer/text-body-medium`,fontSize:14,fontWeight:500,lineHeight:21,color:`$primer/button-primary-fgColor-rest`,bind:{content:`Label`}},"n_pr-button-invisible-small":{type:`frame`,id:`n_pr-button-invisible-small`,parent:`n_pr-button`,name:`Variant=Invisible, Size=small`,x:20,y:140,w:80,h:28,sizeX:`hug`,sizeY:`fixed`,children:[`n_pr-i-c`,`n_pr-t-d`],layout:{mode:`row`,gap:8,pad:[0,8,0,8],alignMain:`center`,alignCross:`center`},clip:!1,radius:`$primer/borderRadius-medium`,variant:{Variant:`Invisible`,Size:`small`},main:!0},"n_pr-i-c":{type:`vector`,id:`n_pr-i-c`,parent:`n_pr-button-invisible-small`,name:`Icon`,x:0,y:0,w:16,h:16,sizeX:`fixed`,sizeY:`fixed`,asset:`kit:octicon/plus-16`,hidden:!0,color:`$primer/fgColor-muted`,icon:{pack:`octicon`,name:`plus-16`},bind:{visible:`Show leading visual`,swap:`Leading visual`}},"n_pr-t-d":{type:`text`,id:`n_pr-t-d`,parent:`n_pr-button-invisible-small`,name:`Label`,x:0,y:0,w:0,h:0,sizeX:`hug`,sizeY:`hug`,content:`Button`,style:`$primer/text-body-small`,fontSize:12,fontWeight:500,lineHeight:19.5,color:`$primer/button-invisible-fgColor-rest`,bind:{content:`Label`}},"n_pr-button-invisible-medium":{type:`frame`,id:`n_pr-button-invisible-medium`,parent:`n_pr-button`,name:`Variant=Invisible, Size=medium`,x:120,y:140,w:80,h:32,sizeX:`hug`,sizeY:`fixed`,children:[`n_pr-i-e`,`n_pr-t-f`],layout:{mode:`row`,gap:8,pad:[0,12,0,12],alignMain:`center`,alignCross:`center`},clip:!1,radius:`$primer/borderRadius-medium`,variant:{Variant:`Invisible`,Size:`medium`},main:!0},"n_pr-i-e":{type:`vector`,id:`n_pr-i-e`,parent:`n_pr-button-invisible-medium`,name:`Icon`,x:0,y:0,w:16,h:16,sizeX:`fixed`,sizeY:`fixed`,asset:`kit:octicon/plus-16`,hidden:!0,color:`$primer/fgColor-muted`,icon:{pack:`octicon`,name:`plus-16`},bind:{visible:`Show leading visual`,swap:`Leading visual`}},"n_pr-t-f":{type:`text`,id:`n_pr-t-f`,parent:`n_pr-button-invisible-medium`,name:`Label`,x:0,y:0,w:0,h:0,sizeX:`hug`,sizeY:`hug`,content:`Button`,style:`$primer/text-body-medium`,fontSize:14,fontWeight:500,lineHeight:21,color:`$primer/button-invisible-fgColor-rest`,bind:{content:`Label`}},"n_pr-button-invisible-large":{type:`frame`,id:`n_pr-button-invisible-large`,parent:`n_pr-button`,name:`Variant=Invisible, Size=large`,x:220,y:140,w:80,h:40,sizeX:`hug`,sizeY:`fixed`,children:[`n_pr-i-g`,`n_pr-t-h`],layout:{mode:`row`,gap:8,pad:[0,16,0,16],alignMain:`center`,alignCross:`center`},clip:!1,radius:`$primer/borderRadius-medium`,variant:{Variant:`Invisible`,Size:`large`},main:!0},"n_pr-i-g":{type:`vector`,id:`n_pr-i-g`,parent:`n_pr-button-invisible-large`,name:`Icon`,x:0,y:0,w:16,h:16,sizeX:`fixed`,sizeY:`fixed`,asset:`kit:octicon/plus-16`,hidden:!0,color:`$primer/fgColor-muted`,icon:{pack:`octicon`,name:`plus-16`},bind:{visible:`Show leading visual`,swap:`Leading visual`}},"n_pr-t-h":{type:`text`,id:`n_pr-t-h`,parent:`n_pr-button-invisible-large`,name:`Label`,x:0,y:0,w:0,h:0,sizeX:`hug`,sizeY:`hug`,content:`Button`,style:`$primer/text-body-medium`,fontSize:14,fontWeight:500,lineHeight:21,color:`$primer/button-invisible-fgColor-rest`,bind:{content:`Label`}},"n_pr-button-danger-small":{type:`frame`,id:`n_pr-button-danger-small`,parent:`n_pr-button`,name:`Variant=Danger, Size=small`,x:20,y:200,w:80,h:28,sizeX:`hug`,sizeY:`fixed`,children:[`n_pr-i-i`,`n_pr-t-j`],layout:{mode:`row`,gap:8,pad:[0,8,0,8],alignMain:`center`,alignCross:`center`},clip:!1,stroke:{color:`$primer/button-danger-borderColor-rest`,width:1},radius:`$primer/borderRadius-medium`,variant:{Variant:`Danger`,Size:`small`},main:!0,fills:[{type:`solid`,color:`$primer/button-danger-bgColor-rest`}]},"n_pr-i-i":{type:`vector`,id:`n_pr-i-i`,parent:`n_pr-button-danger-small`,name:`Icon`,x:0,y:0,w:16,h:16,sizeX:`fixed`,sizeY:`fixed`,asset:`kit:octicon/plus-16`,hidden:!0,color:`$primer/button-danger-fgColor-rest`,icon:{pack:`octicon`,name:`plus-16`},bind:{visible:`Show leading visual`,swap:`Leading visual`}},"n_pr-t-j":{type:`text`,id:`n_pr-t-j`,parent:`n_pr-button-danger-small`,name:`Label`,x:0,y:0,w:0,h:0,sizeX:`hug`,sizeY:`hug`,content:`Button`,style:`$primer/text-body-small`,fontSize:12,fontWeight:500,lineHeight:19.5,color:`$primer/button-danger-fgColor-rest`,bind:{content:`Label`}},"n_pr-button-danger-medium":{type:`frame`,id:`n_pr-button-danger-medium`,parent:`n_pr-button`,name:`Variant=Danger, Size=medium`,x:120,y:200,w:80,h:32,sizeX:`hug`,sizeY:`fixed`,children:[`n_pr-i-k`,`n_pr-t-l`],layout:{mode:`row`,gap:8,pad:[0,12,0,12],alignMain:`center`,alignCross:`center`},clip:!1,stroke:{color:`$primer/button-danger-borderColor-rest`,width:1},radius:`$primer/borderRadius-medium`,variant:{Variant:`Danger`,Size:`medium`},main:!0,fills:[{type:`solid`,color:`$primer/button-danger-bgColor-rest`}]},"n_pr-i-k":{type:`vector`,id:`n_pr-i-k`,parent:`n_pr-button-danger-medium`,name:`Icon`,x:0,y:0,w:16,h:16,sizeX:`fixed`,sizeY:`fixed`,asset:`kit:octicon/plus-16`,hidden:!0,color:`$primer/button-danger-fgColor-rest`,icon:{pack:`octicon`,name:`plus-16`},bind:{visible:`Show leading visual`,swap:`Leading visual`}},"n_pr-t-l":{type:`text`,id:`n_pr-t-l`,parent:`n_pr-button-danger-medium`,name:`Label`,x:0,y:0,w:0,h:0,sizeX:`hug`,sizeY:`hug`,content:`Button`,style:`$primer/text-body-medium`,fontSize:14,fontWeight:500,lineHeight:21,color:`$primer/button-danger-fgColor-rest`,bind:{content:`Label`}},"n_pr-button-danger-large":{type:`frame`,id:`n_pr-button-danger-large`,parent:`n_pr-button`,name:`Variant=Danger, Size=large`,x:220,y:200,w:80,h:40,sizeX:`hug`,sizeY:`fixed`,children:[`n_pr-i-m`,`n_pr-t-n`],layout:{mode:`row`,gap:8,pad:[0,16,0,16],alignMain:`center`,alignCross:`center`},clip:!1,stroke:{color:`$primer/button-danger-borderColor-rest`,width:1},radius:`$primer/borderRadius-medium`,variant:{Variant:`Danger`,Size:`large`},main:!0,fills:[{type:`solid`,color:`$primer/button-danger-bgColor-rest`}]},"n_pr-i-m":{type:`vector`,id:`n_pr-i-m`,parent:`n_pr-button-danger-large`,name:`Icon`,x:0,y:0,w:16,h:16,sizeX:`fixed`,sizeY:`fixed`,asset:`kit:octicon/plus-16`,hidden:!0,color:`$primer/button-danger-fgColor-rest`,icon:{pack:`octicon`,name:`plus-16`},bind:{visible:`Show leading visual`,swap:`Leading visual`}},"n_pr-t-n":{type:`text`,id:`n_pr-t-n`,parent:`n_pr-button-danger-large`,name:`Label`,x:0,y:0,w:0,h:0,sizeX:`hug`,sizeY:`hug`,content:`Button`,style:`$primer/text-body-medium`,fontSize:14,fontWeight:500,lineHeight:21,color:`$primer/button-danger-fgColor-rest`,bind:{content:`Label`}},"n_pr-label":{type:`frame`,id:`n_pr-label`,parent:null,name:`Label`,x:0,y:0,w:10,h:10,sizeX:`fixed`,sizeY:`fixed`,children:[`n_pr-label-default`,`n_pr-label-accent`,`n_pr-label-success`,`n_pr-label-attention`,`n_pr-label-danger`],layout:{mode:`free`,gap:0,pad:[0,0,0,0],alignMain:`start`,alignCross:`start`},clip:!1,componentSet:!0,props:{Text:{type:`text`}}},"n_pr-label-default":{type:`frame`,id:`n_pr-label-default`,parent:`n_pr-label`,name:`Variant=Default`,x:20,y:20,w:50,h:20,sizeX:`hug`,sizeY:`fixed`,children:[`n_pr-t-o`],layout:{mode:`row`,gap:0,pad:[0,6,0,6],alignMain:`center`,alignCross:`center`},clip:!1,stroke:{color:`$primer/borderColor-default`,width:1},radius:`$primer/borderRadius-full`,variant:{Variant:`Default`},main:!0},"n_pr-t-o":{type:`text`,id:`n_pr-t-o`,parent:`n_pr-label-default`,name:`Text`,x:0,y:0,w:0,h:0,sizeX:`hug`,sizeY:`hug`,content:`Label`,style:`$primer/text-caption`,fontSize:12,fontWeight:500,lineHeight:15,color:`$primer/fgColor-muted`,bind:{content:`Text`}},"n_pr-label-accent":{type:`frame`,id:`n_pr-label-accent`,parent:`n_pr-label`,name:`Variant=Accent`,x:90,y:20,w:50,h:20,sizeX:`hug`,sizeY:`fixed`,children:[`n_pr-t-p`],layout:{mode:`row`,gap:0,pad:[0,6,0,6],alignMain:`center`,alignCross:`center`},clip:!1,stroke:{color:`$primer/borderColor-accent-emphasis`,width:1},radius:`$primer/borderRadius-full`,variant:{Variant:`Accent`},main:!0},"n_pr-t-p":{type:`text`,id:`n_pr-t-p`,parent:`n_pr-label-accent`,name:`Text`,x:0,y:0,w:0,h:0,sizeX:`hug`,sizeY:`hug`,content:`Label`,style:`$primer/text-caption`,fontSize:12,fontWeight:500,lineHeight:15,color:`$primer/fgColor-accent`,bind:{content:`Text`}},"n_pr-label-success":{type:`frame`,id:`n_pr-label-success`,parent:`n_pr-label`,name:`Variant=Success`,x:160,y:20,w:50,h:20,sizeX:`hug`,sizeY:`fixed`,children:[`n_pr-t-q`],layout:{mode:`row`,gap:0,pad:[0,6,0,6],alignMain:`center`,alignCross:`center`},clip:!1,stroke:{color:`$primer/borderColor-success-emphasis`,width:1},radius:`$primer/borderRadius-full`,variant:{Variant:`Success`},main:!0},"n_pr-t-q":{type:`text`,id:`n_pr-t-q`,parent:`n_pr-label-success`,name:`Text`,x:0,y:0,w:0,h:0,sizeX:`hug`,sizeY:`hug`,content:`Label`,style:`$primer/text-caption`,fontSize:12,fontWeight:500,lineHeight:15,color:`$primer/fgColor-success`,bind:{content:`Text`}},"n_pr-label-attention":{type:`frame`,id:`n_pr-label-attention`,parent:`n_pr-label`,name:`Variant=Attention`,x:230,y:20,w:50,h:20,sizeX:`hug`,sizeY:`fixed`,children:[`n_pr-t-r`],layout:{mode:`row`,gap:0,pad:[0,6,0,6],alignMain:`center`,alignCross:`center`},clip:!1,stroke:{color:`$primer/borderColor-attention-emphasis`,width:1},radius:`$primer/borderRadius-full`,variant:{Variant:`Attention`},main:!0},"n_pr-t-r":{type:`text`,id:`n_pr-t-r`,parent:`n_pr-label-attention`,name:`Text`,x:0,y:0,w:0,h:0,sizeX:`hug`,sizeY:`hug`,content:`Label`,style:`$primer/text-caption`,fontSize:12,fontWeight:500,lineHeight:15,color:`$primer/fgColor-attention`,bind:{content:`Text`}},"n_pr-label-danger":{type:`frame`,id:`n_pr-label-danger`,parent:`n_pr-label`,name:`Variant=Danger`,x:300,y:20,w:50,h:20,sizeX:`hug`,sizeY:`fixed`,children:[`n_pr-t-s`],layout:{mode:`row`,gap:0,pad:[0,6,0,6],alignMain:`center`,alignCross:`center`},clip:!1,stroke:{color:`$primer/borderColor-danger-emphasis`,width:1},radius:`$primer/borderRadius-full`,variant:{Variant:`Danger`},main:!0},"n_pr-t-s":{type:`text`,id:`n_pr-t-s`,parent:`n_pr-label-danger`,name:`Text`,x:0,y:0,w:0,h:0,sizeX:`hug`,sizeY:`hug`,content:`Label`,style:`$primer/text-caption`,fontSize:12,fontWeight:500,lineHeight:15,color:`$primer/fgColor-danger`,bind:{content:`Text`}},"n_pr-text-input":{type:`frame`,id:`n_pr-text-input`,parent:null,name:`Text input`,x:0,y:0,w:240,h:32,sizeX:`fixed`,sizeY:`fixed`,children:[`n_pr-t-t`],layout:{mode:`row`,gap:8,pad:[0,12,0,12],alignMain:`start`,alignCross:`center`},clip:!1,stroke:{color:`$primer/control-borderColor-rest`,width:1},radius:`$primer/borderRadius-medium`,main:!0,props:{Placeholder:{type:`text`}},fills:[{type:`solid`,color:`$primer/control-bgColor-rest`}]},"n_pr-t-t":{type:`text`,id:`n_pr-t-t`,parent:`n_pr-text-input`,name:`Placeholder`,x:0,y:0,w:0,h:0,sizeX:`fill`,sizeY:`hug`,content:`Placeholder`,style:`$primer/text-body-medium`,fontSize:14,fontWeight:400,lineHeight:21,color:`$primer/control-fgColor-placeholder`,bind:{content:`Placeholder`}},"n_pr-textarea":{type:`frame`,id:`n_pr-textarea`,parent:null,name:`Textarea`,x:0,y:0,w:240,h:64,sizeX:`fixed`,sizeY:`fixed`,children:[`n_pr-t-u`],layout:{mode:`row`,gap:8,pad:[12,12,12,12],alignMain:`start`,alignCross:`start`},clip:!1,stroke:{color:`$primer/control-borderColor-rest`,width:1},radius:`$primer/borderRadius-medium`,main:!0,props:{Placeholder:{type:`text`}},fills:[{type:`solid`,color:`$primer/control-bgColor-rest`}]},"n_pr-t-u":{type:`text`,id:`n_pr-t-u`,parent:`n_pr-textarea`,name:`Placeholder`,x:0,y:0,w:0,h:0,sizeX:`fill`,sizeY:`hug`,content:`Leave a comment`,style:`$primer/text-body-medium`,fontSize:14,fontWeight:400,lineHeight:21,color:`$primer/control-fgColor-placeholder`,bind:{content:`Placeholder`}},"n_pr-select":{type:`frame`,id:`n_pr-select`,parent:null,name:`Select`,x:0,y:0,w:240,h:32,sizeX:`fixed`,sizeY:`fixed`,children:[`n_pr-t-v`,`n_pr-i-w`],layout:{mode:`row`,gap:0,pad:[0,8,0,12],alignMain:`between`,alignCross:`center`},clip:!1,stroke:{color:`$primer/control-borderColor-rest`,width:1},radius:`$primer/borderRadius-medium`,main:!0,props:{Value:{type:`text`}},fills:[{type:`solid`,color:`$primer/control-bgColor-rest`}]},"n_pr-t-v":{type:`text`,id:`n_pr-t-v`,parent:`n_pr-select`,name:`Value`,x:0,y:0,w:0,h:0,sizeX:`hug`,sizeY:`hug`,content:`Choose an option`,style:`$primer/text-body-medium`,fontSize:14,fontWeight:400,lineHeight:21,color:`$primer/fgColor-default`,bind:{content:`Value`}},"n_pr-i-w":{type:`vector`,id:`n_pr-i-w`,parent:`n_pr-select`,name:`Icon`,x:0,y:0,w:16,h:16,sizeX:`fixed`,sizeY:`fixed`,asset:`kit:octicon/triangle-down-16`,color:`$primer/fgColor-muted`,icon:{pack:`octicon`,name:`triangle-down-16`}},"n_pr-checkbox":{type:`frame`,id:`n_pr-checkbox`,parent:null,name:`Checkbox`,x:0,y:0,w:10,h:10,sizeX:`fixed`,sizeY:`fixed`,children:[`n_pr-checkbox-true`,`n_pr-checkbox-false`],layout:{mode:`free`,gap:0,pad:[0,0,0,0],alignMain:`start`,alignCross:`start`},clip:!1,componentSet:!0,props:{Label:{type:`text`},"Show label":{type:`boolean`}}},"n_pr-checkbox-true":{type:`frame`,id:`n_pr-checkbox-true`,parent:`n_pr-checkbox`,name:`Checked=true`,x:20,y:20,w:120,h:20,sizeX:`hug`,sizeY:`hug`,children:[`n_pr-f-x`,`n_pr-t-z`],layout:{mode:`row`,gap:8,pad:[0,0,0,0],alignMain:`start`,alignCross:`center`},clip:!1,variant:{Checked:`true`},main:!0},"n_pr-f-x":{type:`frame`,id:`n_pr-f-x`,parent:`n_pr-checkbox-true`,name:`Box`,x:0,y:0,w:16,h:16,sizeX:`fixed`,sizeY:`fixed`,children:[`n_pr-i-y`],layout:{mode:`row`,gap:0,pad:[0,0,0,0],alignMain:`center`,alignCross:`center`},clip:!1,radius:`$primer/borderRadius-small`,fills:[{type:`solid`,color:`$primer/control-checked-bgColor-rest`}]},"n_pr-i-y":{type:`vector`,id:`n_pr-i-y`,parent:`n_pr-f-x`,name:`Icon`,x:0,y:0,w:12,h:12,sizeX:`fixed`,sizeY:`fixed`,asset:`kit:octicon/check-16`,color:`$primer/control-checked-fgColor-rest`,icon:{pack:`octicon`,name:`check-16`}},"n_pr-t-z":{type:`text`,id:`n_pr-t-z`,parent:`n_pr-checkbox-true`,name:`Label`,x:0,y:0,w:0,h:0,sizeX:`hug`,sizeY:`hug`,content:`Checkbox`,style:`$primer/text-body-medium`,fontSize:14,fontWeight:600,lineHeight:21,color:`$primer/fgColor-default`,bind:{content:`Label`,visible:`Show label`}},"n_pr-checkbox-false":{type:`frame`,id:`n_pr-checkbox-false`,parent:`n_pr-checkbox`,name:`Checked=false`,x:160,y:20,w:120,h:20,sizeX:`hug`,sizeY:`hug`,children:[`n_pr-f-10`,`n_pr-t-11`],layout:{mode:`row`,gap:8,pad:[0,0,0,0],alignMain:`start`,alignCross:`center`},clip:!1,variant:{Checked:`false`},main:!0},"n_pr-f-10":{type:`frame`,id:`n_pr-f-10`,parent:`n_pr-checkbox-false`,name:`Box`,x:0,y:0,w:16,h:16,sizeX:`fixed`,sizeY:`fixed`,children:[],layout:{mode:`row`,gap:0,pad:[0,0,0,0],alignMain:`center`,alignCross:`center`},clip:!1,stroke:{color:`$primer/control-borderColor-rest`,width:1},radius:`$primer/borderRadius-small`,fills:[{type:`solid`,color:`$primer/control-bgColor-rest`}]},"n_pr-t-11":{type:`text`,id:`n_pr-t-11`,parent:`n_pr-checkbox-false`,name:`Label`,x:0,y:0,w:0,h:0,sizeX:`hug`,sizeY:`hug`,content:`Checkbox`,style:`$primer/text-body-medium`,fontSize:14,fontWeight:600,lineHeight:21,color:`$primer/fgColor-default`,bind:{content:`Label`,visible:`Show label`}},"n_pr-radio":{type:`frame`,id:`n_pr-radio`,parent:null,name:`Radio`,x:0,y:0,w:10,h:10,sizeX:`fixed`,sizeY:`fixed`,children:[`n_pr-radio-true`,`n_pr-radio-false`],layout:{mode:`free`,gap:0,pad:[0,0,0,0],alignMain:`start`,alignCross:`start`},clip:!1,componentSet:!0,props:{Label:{type:`text`}}},"n_pr-radio-true":{type:`frame`,id:`n_pr-radio-true`,parent:`n_pr-radio`,name:`Checked=true`,x:20,y:20,w:120,h:20,sizeX:`hug`,sizeY:`hug`,children:[`n_pr-f-12`,`n_pr-t-13`],layout:{mode:`row`,gap:8,pad:[0,0,0,0],alignMain:`start`,alignCross:`center`},clip:!1,variant:{Checked:`true`},main:!0},"n_pr-f-12":{type:`frame`,id:`n_pr-f-12`,parent:`n_pr-radio-true`,name:`Circle`,x:0,y:0,w:16,h:16,sizeX:`fixed`,sizeY:`fixed`,children:[],layout:{mode:`free`,gap:0,pad:[0,0,0,0],alignMain:`start`,alignCross:`start`},clip:!1,stroke:{color:`$primer/control-checked-bgColor-rest`,width:4},radius:`$primer/borderRadius-full`,fills:[{type:`solid`,color:`$primer/control-bgColor-rest`}]},"n_pr-t-13":{type:`text`,id:`n_pr-t-13`,parent:`n_pr-radio-true`,name:`Label`,x:0,y:0,w:0,h:0,sizeX:`hug`,sizeY:`hug`,content:`Radio`,style:`$primer/text-body-medium`,fontSize:14,fontWeight:600,lineHeight:21,color:`$primer/fgColor-default`,bind:{content:`Label`}},"n_pr-radio-false":{type:`frame`,id:`n_pr-radio-false`,parent:`n_pr-radio`,name:`Checked=false`,x:160,y:20,w:120,h:20,sizeX:`hug`,sizeY:`hug`,children:[`n_pr-f-14`,`n_pr-t-15`],layout:{mode:`row`,gap:8,pad:[0,0,0,0],alignMain:`start`,alignCross:`center`},clip:!1,variant:{Checked:`false`},main:!0},"n_pr-f-14":{type:`frame`,id:`n_pr-f-14`,parent:`n_pr-radio-false`,name:`Circle`,x:0,y:0,w:16,h:16,sizeX:`fixed`,sizeY:`fixed`,children:[],layout:{mode:`free`,gap:0,pad:[0,0,0,0],alignMain:`start`,alignCross:`start`},clip:!1,stroke:{color:`$primer/control-borderColor-rest`,width:1},radius:`$primer/borderRadius-full`,fills:[{type:`solid`,color:`$primer/control-bgColor-rest`}]},"n_pr-t-15":{type:`text`,id:`n_pr-t-15`,parent:`n_pr-radio-false`,name:`Label`,x:0,y:0,w:0,h:0,sizeX:`hug`,sizeY:`hug`,content:`Radio`,style:`$primer/text-body-medium`,fontSize:14,fontWeight:600,lineHeight:21,color:`$primer/fgColor-default`,bind:{content:`Label`}},"n_pr-toggle":{type:`frame`,id:`n_pr-toggle`,parent:null,name:`Toggle switch`,x:0,y:0,w:10,h:10,sizeX:`fixed`,sizeY:`fixed`,children:[`n_pr-toggle-true`,`n_pr-toggle-false`],layout:{mode:`free`,gap:0,pad:[0,0,0,0],alignMain:`start`,alignCross:`start`},clip:!1,componentSet:!0,props:{Label:{type:`text`},"Show label":{type:`boolean`}}},"n_pr-toggle-true":{type:`frame`,id:`n_pr-toggle-true`,parent:`n_pr-toggle`,name:`Checked=true`,x:20,y:20,w:120,h:20,sizeX:`hug`,sizeY:`hug`,children:[`n_pr-f-16`,`n_pr-t-18`],layout:{mode:`row`,gap:8,pad:[0,0,0,0],alignMain:`start`,alignCross:`center`},clip:!1,variant:{Checked:`true`},main:!0},"n_pr-f-16":{type:`frame`,id:`n_pr-f-16`,parent:`n_pr-toggle-true`,name:`Track`,x:0,y:0,w:64,h:32,sizeX:`fixed`,sizeY:`fixed`,children:[`n_pr-f-17`],layout:{mode:`row`,gap:0,pad:[0,0,0,0],alignMain:`end`,alignCross:`center`},clip:!1,stroke:{color:`$primer/control-checked-borderColor-rest`,width:1},radius:`$primer/borderRadius-medium`,fills:[{type:`solid`,color:`$primer/control-checked-bgColor-rest`}]},"n_pr-f-17":{type:`frame`,id:`n_pr-f-17`,parent:`n_pr-f-16`,name:`Knob`,x:0,y:0,w:32,h:32,sizeX:`fixed`,sizeY:`fixed`,children:[],layout:{mode:`free`,gap:0,pad:[0,0,0,0],alignMain:`start`,alignCross:`start`},clip:!1,stroke:{color:`$primer/controlKnob-borderColor-rest`,width:1},radius:`$primer/borderRadius-medium`,fills:[{type:`solid`,color:`$primer/controlKnob-bgColor-rest`}]},"n_pr-t-18":{type:`text`,id:`n_pr-t-18`,parent:`n_pr-toggle-true`,name:`Label`,x:0,y:0,w:0,h:0,sizeX:`hug`,sizeY:`hug`,content:`Notifications`,style:`$primer/text-body-medium`,fontSize:14,fontWeight:600,lineHeight:21,color:`$primer/fgColor-default`,bind:{content:`Label`,visible:`Show label`}},"n_pr-toggle-false":{type:`frame`,id:`n_pr-toggle-false`,parent:`n_pr-toggle`,name:`Checked=false`,x:160,y:20,w:120,h:20,sizeX:`hug`,sizeY:`hug`,children:[`n_pr-f-19`,`n_pr-t-1b`],layout:{mode:`row`,gap:8,pad:[0,0,0,0],alignMain:`start`,alignCross:`center`},clip:!1,variant:{Checked:`false`},main:!0},"n_pr-f-19":{type:`frame`,id:`n_pr-f-19`,parent:`n_pr-toggle-false`,name:`Track`,x:0,y:0,w:64,h:32,sizeX:`fixed`,sizeY:`fixed`,children:[`n_pr-f-1a`],layout:{mode:`row`,gap:0,pad:[0,0,0,0],alignMain:`start`,alignCross:`center`},clip:!1,stroke:{color:`$primer/control-borderColor-rest`,width:1},radius:`$primer/borderRadius-medium`,fills:[{type:`solid`,color:`$primer/controlTrack-bgColor-rest`}]},"n_pr-f-1a":{type:`frame`,id:`n_pr-f-1a`,parent:`n_pr-f-19`,name:`Knob`,x:0,y:0,w:32,h:32,sizeX:`fixed`,sizeY:`fixed`,children:[],layout:{mode:`free`,gap:0,pad:[0,0,0,0],alignMain:`start`,alignCross:`start`},clip:!1,stroke:{color:`$primer/controlKnob-borderColor-rest`,width:1},radius:`$primer/borderRadius-medium`,fills:[{type:`solid`,color:`$primer/controlKnob-bgColor-rest`}]},"n_pr-t-1b":{type:`text`,id:`n_pr-t-1b`,parent:`n_pr-toggle-false`,name:`Label`,x:0,y:0,w:0,h:0,sizeX:`hug`,sizeY:`hug`,content:`Notifications`,style:`$primer/text-body-medium`,fontSize:14,fontWeight:600,lineHeight:21,color:`$primer/fgColor-default`,bind:{content:`Label`,visible:`Show label`}},"n_pr-avatar":{type:`frame`,id:`n_pr-avatar`,parent:null,name:`Avatar`,x:0,y:0,w:10,h:10,sizeX:`fixed`,sizeY:`fixed`,children:[`n_pr-avatar-circle`,`n_pr-avatar-square`],layout:{mode:`free`,gap:0,pad:[0,0,0,0],alignMain:`start`,alignCross:`start`},clip:!1,componentSet:!0,props:{Initials:{type:`text`}}},"n_pr-avatar-circle":{type:`frame`,id:`n_pr-avatar-circle`,parent:`n_pr-avatar`,name:`Shape=Circle`,x:20,y:20,w:32,h:32,sizeX:`fixed`,sizeY:`fixed`,children:[`n_pr-t-1c`],layout:{mode:`row`,gap:0,pad:[0,0,0,0],alignMain:`center`,alignCross:`center`},clip:!1,stroke:{color:`$primer/avatar-borderColor`,width:1},radius:`$primer/borderRadius-full`,variant:{Shape:`Circle`},main:!0,fills:[{type:`solid`,color:`$primer/avatar-bgColor`}]},"n_pr-t-1c":{type:`text`,id:`n_pr-t-1c`,parent:`n_pr-avatar-circle`,name:`Initials`,x:0,y:0,w:0,h:0,sizeX:`hug`,sizeY:`hug`,content:`OC`,style:`$primer/text-body-small`,fontSize:12,fontWeight:600,lineHeight:19.5,color:`$primer/fgColor-muted`,bind:{content:`Initials`}},"n_pr-avatar-square":{type:`frame`,id:`n_pr-avatar-square`,parent:`n_pr-avatar`,name:`Shape=Square`,x:72,y:20,w:32,h:32,sizeX:`fixed`,sizeY:`fixed`,children:[`n_pr-t-1d`],layout:{mode:`row`,gap:0,pad:[0,0,0,0],alignMain:`center`,alignCross:`center`},clip:!1,stroke:{color:`$primer/avatar-borderColor`,width:1},radius:`$primer/borderRadius-medium`,variant:{Shape:`Square`},main:!0,fills:[{type:`solid`,color:`$primer/avatar-bgColor`}]},"n_pr-t-1d":{type:`text`,id:`n_pr-t-1d`,parent:`n_pr-avatar-square`,name:`Initials`,x:0,y:0,w:0,h:0,sizeX:`hug`,sizeY:`hug`,content:`OC`,style:`$primer/text-body-small`,fontSize:12,fontWeight:600,lineHeight:19.5,color:`$primer/fgColor-muted`,bind:{content:`Initials`}},"n_pr-tab":{type:`frame`,id:`n_pr-tab`,parent:null,name:`Underline nav item`,x:0,y:0,w:10,h:10,sizeX:`fixed`,sizeY:`fixed`,children:[`n_pr-tab-true`,`n_pr-tab-false`],layout:{mode:`free`,gap:0,pad:[0,0,0,0],alignMain:`start`,alignCross:`start`},clip:!1,componentSet:!0,props:{Label:{type:`text`}}},"n_pr-tab-true":{type:`frame`,id:`n_pr-tab-true`,parent:`n_pr-tab`,name:`Selected=true`,x:20,y:20,w:90,h:48,sizeX:`hug`,sizeY:`fixed`,children:[`n_pr-f-1e`,`n_pr-f-1g`],layout:{mode:`column`,gap:0,pad:[8,0,0,0],alignMain:`start`,alignCross:`center`},clip:!1,variant:{Selected:`true`},main:!0},"n_pr-f-1e":{type:`frame`,id:`n_pr-f-1e`,parent:`n_pr-tab-true`,name:`Item`,x:0,y:0,w:90,h:32,sizeX:`hug`,sizeY:`fixed`,children:[`n_pr-t-1f`],layout:{mode:`row`,gap:8,pad:[0,8,0,8],alignMain:`center`,alignCross:`center`},clip:!1,radius:`$primer/borderRadius-medium`},"n_pr-t-1f":{type:`text`,id:`n_pr-t-1f`,parent:`n_pr-f-1e`,name:`Label`,x:0,y:0,w:0,h:0,sizeX:`hug`,sizeY:`hug`,content:`Code`,style:`$primer/text-body-medium`,fontSize:14,fontWeight:600,lineHeight:21,color:`$primer/fgColor-default`,bind:{content:`Label`}},"n_pr-f-1g":{type:`frame`,id:`n_pr-f-1g`,parent:`n_pr-tab-true`,name:`Underline`,x:0,y:0,w:90,h:2,sizeX:`fill`,sizeY:`fixed`,children:[],layout:{mode:`free`,gap:0,pad:[0,0,0,0],alignMain:`start`,alignCross:`start`},clip:!1,radius:`$primer/borderRadius-medium`,fills:[{type:`solid`,color:`$primer/underlineNav-borderColor-active`}]},"n_pr-tab-false":{type:`frame`,id:`n_pr-tab-false`,parent:`n_pr-tab`,name:`Selected=false`,x:130,y:20,w:90,h:48,sizeX:`hug`,sizeY:`fixed`,children:[`n_pr-f-1h`,`n_pr-f-1j`],layout:{mode:`column`,gap:0,pad:[8,0,0,0],alignMain:`start`,alignCross:`center`},clip:!1,variant:{Selected:`false`},main:!0},"n_pr-f-1h":{type:`frame`,id:`n_pr-f-1h`,parent:`n_pr-tab-false`,name:`Item`,x:0,y:0,w:90,h:32,sizeX:`hug`,sizeY:`fixed`,children:[`n_pr-t-1i`],layout:{mode:`row`,gap:8,pad:[0,8,0,8],alignMain:`center`,alignCross:`center`},clip:!1,radius:`$primer/borderRadius-medium`},"n_pr-t-1i":{type:`text`,id:`n_pr-t-1i`,parent:`n_pr-f-1h`,name:`Label`,x:0,y:0,w:0,h:0,sizeX:`hug`,sizeY:`hug`,content:`Code`,style:`$primer/text-body-medium`,fontSize:14,fontWeight:400,lineHeight:21,color:`$primer/fgColor-default`,bind:{content:`Label`}},"n_pr-f-1j":{type:`frame`,id:`n_pr-f-1j`,parent:`n_pr-tab-false`,name:`Underline`,x:0,y:0,w:90,h:2,sizeX:`fill`,sizeY:`fixed`,children:[],layout:{mode:`free`,gap:0,pad:[0,0,0,0],alignMain:`start`,alignCross:`start`},clip:!1,radius:`$primer/borderRadius-medium`},"n_pr-underline-nav":{type:`frame`,id:`n_pr-underline-nav`,parent:null,name:`Underline nav`,x:0,y:0,w:300,h:48,sizeX:`hug`,sizeY:`hug`,children:[`n_pr-n-1k`,`n_pr-n-1l`,`n_pr-n-1m`],layout:{mode:`row`,gap:8,pad:[0,16,0,16],alignMain:`start`,alignCross:`end`},clip:!1,stroke:{color:`$primer/borderColor-default`,width:1,sides:[0,0,1,0]},main:!0},"n_pr-n-1k":{type:`frame`,id:`n_pr-n-1k`,parent:`n_pr-underline-nav`,name:`Item`,x:0,y:0,w:100,h:100,sizeX:`fixed`,sizeY:`fixed`,children:[],layout:{mode:`free`,gap:0,pad:[0,0,0,0],alignMain:`start`,alignCross:`start`},clip:!1,values:{Label:`Code`},instanceOf:`n_pr-tab-true`},"n_pr-n-1l":{type:`frame`,id:`n_pr-n-1l`,parent:`n_pr-underline-nav`,name:`Item`,x:0,y:0,w:100,h:100,sizeX:`fixed`,sizeY:`fixed`,children:[],layout:{mode:`free`,gap:0,pad:[0,0,0,0],alignMain:`start`,alignCross:`start`},clip:!1,values:{Label:`Issues`},instanceOf:`n_pr-tab-false`},"n_pr-n-1m":{type:`frame`,id:`n_pr-n-1m`,parent:`n_pr-underline-nav`,name:`Item`,x:0,y:0,w:100,h:100,sizeX:`fixed`,sizeY:`fixed`,children:[],layout:{mode:`free`,gap:0,pad:[0,0,0,0],alignMain:`start`,alignCross:`start`},clip:!1,values:{Label:`Pull requests`},instanceOf:`n_pr-tab-false`},"n_pr-flash":{type:`frame`,id:`n_pr-flash`,parent:null,name:`Flash`,x:0,y:0,w:10,h:10,sizeX:`fixed`,sizeY:`fixed`,children:[`n_pr-flash-default`,`n_pr-flash-success`,`n_pr-flash-warning`,`n_pr-flash-danger`],layout:{mode:`free`,gap:0,pad:[0,0,0,0],alignMain:`start`,alignCross:`start`},clip:!1,componentSet:!0,props:{Text:{type:`text`}}},"n_pr-flash-default":{type:`frame`,id:`n_pr-flash-default`,parent:`n_pr-flash`,name:`Variant=Default`,x:20,y:20,w:400,h:52,sizeX:`fixed`,sizeY:`hug`,children:[`n_pr-i-1n`,`n_pr-t-1o`],layout:{mode:`row`,gap:8,pad:[16,16,16,16],alignMain:`start`,alignCross:`start`},clip:!1,stroke:{color:`$primer/borderColor-accent-muted`,width:1},radius:`$primer/borderRadius-medium`,variant:{Variant:`Default`},main:!0,fills:[{type:`solid`,color:`$primer/bgColor-accent-muted`}]},"n_pr-i-1n":{type:`vector`,id:`n_pr-i-1n`,parent:`n_pr-flash-default`,name:`Icon`,x:0,y:2,w:16,h:16,sizeX:`fixed`,sizeY:`fixed`,asset:`kit:octicon/info-16`,color:`$primer/fgColor-accent`,icon:{pack:`octicon`,name:`info-16`}},"n_pr-t-1o":{type:`text`,id:`n_pr-t-1o`,parent:`n_pr-flash-default`,name:`Text`,x:0,y:0,w:0,h:0,sizeX:`fill`,sizeY:`hug`,content:`Flash message goes here.`,style:`$primer/text-body-medium`,fontSize:14,fontWeight:400,lineHeight:21,color:`$primer/fgColor-default`,bind:{content:`Text`}},"n_pr-flash-success":{type:`frame`,id:`n_pr-flash-success`,parent:`n_pr-flash`,name:`Variant=Success`,x:20,y:92,w:400,h:52,sizeX:`fixed`,sizeY:`hug`,children:[`n_pr-i-1p`,`n_pr-t-1q`],layout:{mode:`row`,gap:8,pad:[16,16,16,16],alignMain:`start`,alignCross:`start`},clip:!1,stroke:{color:`$primer/borderColor-success-muted`,width:1},radius:`$primer/borderRadius-medium`,variant:{Variant:`Success`},main:!0,fills:[{type:`solid`,color:`$primer/bgColor-success-muted`}]},"n_pr-i-1p":{type:`vector`,id:`n_pr-i-1p`,parent:`n_pr-flash-success`,name:`Icon`,x:0,y:2,w:16,h:16,sizeX:`fixed`,sizeY:`fixed`,asset:`kit:octicon/check-circle-16`,color:`$primer/fgColor-success`,icon:{pack:`octicon`,name:`check-circle-16`}},"n_pr-t-1q":{type:`text`,id:`n_pr-t-1q`,parent:`n_pr-flash-success`,name:`Text`,x:0,y:0,w:0,h:0,sizeX:`fill`,sizeY:`hug`,content:`Success message goes here.`,style:`$primer/text-body-medium`,fontSize:14,fontWeight:400,lineHeight:21,color:`$primer/fgColor-default`,bind:{content:`Text`}},"n_pr-flash-warning":{type:`frame`,id:`n_pr-flash-warning`,parent:`n_pr-flash`,name:`Variant=Warning`,x:20,y:164,w:400,h:52,sizeX:`fixed`,sizeY:`hug`,children:[`n_pr-i-1r`,`n_pr-t-1s`],layout:{mode:`row`,gap:8,pad:[16,16,16,16],alignMain:`start`,alignCross:`start`},clip:!1,stroke:{color:`$primer/borderColor-attention-muted`,width:1},radius:`$primer/borderRadius-medium`,variant:{Variant:`Warning`},main:!0,fills:[{type:`solid`,color:`$primer/bgColor-attention-muted`}]},"n_pr-i-1r":{type:`vector`,id:`n_pr-i-1r`,parent:`n_pr-flash-warning`,name:`Icon`,x:0,y:2,w:16,h:16,sizeX:`fixed`,sizeY:`fixed`,asset:`kit:octicon/alert-16`,color:`$primer/fgColor-attention`,icon:{pack:`octicon`,name:`alert-16`}},"n_pr-t-1s":{type:`text`,id:`n_pr-t-1s`,parent:`n_pr-flash-warning`,name:`Text`,x:0,y:0,w:0,h:0,sizeX:`fill`,sizeY:`hug`,content:`Warning message goes here.`,style:`$primer/text-body-medium`,fontSize:14,fontWeight:400,lineHeight:21,color:`$primer/fgColor-default`,bind:{content:`Text`}},"n_pr-flash-danger":{type:`frame`,id:`n_pr-flash-danger`,parent:`n_pr-flash`,name:`Variant=Danger`,x:20,y:236,w:400,h:52,sizeX:`fixed`,sizeY:`hug`,children:[`n_pr-i-1t`,`n_pr-t-1u`],layout:{mode:`row`,gap:8,pad:[16,16,16,16],alignMain:`start`,alignCross:`start`},clip:!1,stroke:{color:`$primer/borderColor-danger-muted`,width:1},radius:`$primer/borderRadius-medium`,variant:{Variant:`Danger`},main:!0,fills:[{type:`solid`,color:`$primer/bgColor-danger-muted`}]},"n_pr-i-1t":{type:`vector`,id:`n_pr-i-1t`,parent:`n_pr-flash-danger`,name:`Icon`,x:0,y:2,w:16,h:16,sizeX:`fixed`,sizeY:`fixed`,asset:`kit:octicon/stop-16`,color:`$primer/fgColor-danger`,icon:{pack:`octicon`,name:`stop-16`}},"n_pr-t-1u":{type:`text`,id:`n_pr-t-1u`,parent:`n_pr-flash-danger`,name:`Text`,x:0,y:0,w:0,h:0,sizeX:`fill`,sizeY:`hug`,content:`Danger message goes here.`,style:`$primer/text-body-medium`,fontSize:14,fontWeight:400,lineHeight:21,color:`$primer/fgColor-default`,bind:{content:`Text`}},"n_pr-tooltip":{type:`frame`,id:`n_pr-tooltip`,parent:null,name:`Tooltip`,x:0,y:0,w:80,h:26,sizeX:`hug`,sizeY:`hug`,children:[`n_pr-t-1v`],layout:{mode:`row`,gap:0,pad:[4,8,4,8],alignMain:`start`,alignCross:`center`},clip:!1,radius:`$primer/borderRadius-medium`,main:!0,props:{Text:{type:`text`}},fills:[{type:`solid`,color:`$primer/tooltip-bgColor`}]},"n_pr-t-1v":{type:`text`,id:`n_pr-t-1v`,parent:`n_pr-tooltip`,name:`Text`,x:0,y:0,w:0,h:0,sizeX:`hug`,sizeY:`hug`,content:`Tooltip`,style:`$primer/text-body-small`,fontSize:12,fontWeight:400,lineHeight:19.5,color:`$primer/tooltip-fgColor`,bind:{content:`Text`}},"n_pr-menu-item":{type:`frame`,id:`n_pr-menu-item`,parent:null,name:`Action list item`,x:0,y:0,w:10,h:10,sizeX:`fixed`,sizeY:`fixed`,children:[`n_pr-menu-item-default`,`n_pr-menu-item-danger`],layout:{mode:`free`,gap:0,pad:[0,0,0,0],alignMain:`start`,alignCross:`start`},clip:!1,componentSet:!0,props:{Label:{type:`text`},"Leading visual":{type:`swap`},"Trailing visual":{type:`text`},"Show trailing visual":{type:`boolean`}}},"n_pr-menu-item-default":{type:`frame`,id:`n_pr-menu-item-default`,parent:`n_pr-menu-item`,name:`Variant=Default`,x:20,y:20,w:216,h:32,sizeX:`fixed`,sizeY:`hug`,children:[`n_pr-i-1w`,`n_pr-t-1x`,`n_pr-t-1y`],layout:{mode:`row`,gap:8,pad:[6,8,6,8],alignMain:`start`,alignCross:`center`},clip:!1,radius:`$primer/borderRadius-medium`,variant:{Variant:`Default`},main:!0},"n_pr-i-1w":{type:`vector`,id:`n_pr-i-1w`,parent:`n_pr-menu-item-default`,name:`Icon`,x:0,y:0,w:16,h:16,sizeX:`fixed`,sizeY:`fixed`,asset:`kit:octicon/pencil-16`,color:`$primer/fgColor-muted`,icon:{pack:`octicon`,name:`pencil-16`},bind:{swap:`Leading visual`}},"n_pr-t-1x":{type:`text`,id:`n_pr-t-1x`,parent:`n_pr-menu-item-default`,name:`Label`,x:0,y:0,w:0,h:0,sizeX:`fill`,sizeY:`hug`,content:`Edit file`,style:`$primer/text-body-medium`,fontSize:14,fontWeight:400,lineHeight:21,color:`$primer/fgColor-default`,bind:{content:`Label`}},"n_pr-t-1y":{type:`text`,id:`n_pr-t-1y`,parent:`n_pr-menu-item-default`,name:`Trailing visual`,x:0,y:0,w:0,h:0,sizeX:`hug`,sizeY:`hug`,content:`⌘E`,hidden:!0,style:`$primer/text-body-small`,fontSize:12,fontWeight:400,lineHeight:19.5,color:`$primer/fgColor-muted`,bind:{content:`Trailing visual`,visible:`Show trailing visual`}},"n_pr-menu-item-danger":{type:`frame`,id:`n_pr-menu-item-danger`,parent:`n_pr-menu-item`,name:`Variant=Danger`,x:256,y:20,w:216,h:32,sizeX:`fixed`,sizeY:`hug`,children:[`n_pr-i-1z`,`n_pr-t-20`,`n_pr-t-21`],layout:{mode:`row`,gap:8,pad:[6,8,6,8],alignMain:`start`,alignCross:`center`},clip:!1,radius:`$primer/borderRadius-medium`,variant:{Variant:`Danger`},main:!0},"n_pr-i-1z":{type:`vector`,id:`n_pr-i-1z`,parent:`n_pr-menu-item-danger`,name:`Icon`,x:0,y:0,w:16,h:16,sizeX:`fixed`,sizeY:`fixed`,asset:`kit:octicon/trash-16`,color:`$primer/fgColor-danger`,icon:{pack:`octicon`,name:`trash-16`},bind:{swap:`Leading visual`}},"n_pr-t-20":{type:`text`,id:`n_pr-t-20`,parent:`n_pr-menu-item-danger`,name:`Label`,x:0,y:0,w:0,h:0,sizeX:`fill`,sizeY:`hug`,content:`Delete file`,style:`$primer/text-body-medium`,fontSize:14,fontWeight:400,lineHeight:21,color:`$primer/fgColor-danger`,bind:{content:`Label`}},"n_pr-t-21":{type:`text`,id:`n_pr-t-21`,parent:`n_pr-menu-item-danger`,name:`Trailing visual`,x:0,y:0,w:0,h:0,sizeX:`hug`,sizeY:`hug`,content:`⌘E`,hidden:!0,style:`$primer/text-body-small`,fontSize:12,fontWeight:400,lineHeight:19.5,color:`$primer/fgColor-muted`,bind:{content:`Trailing visual`,visible:`Show trailing visual`}},"n_pr-menu":{type:`frame`,id:`n_pr-menu`,parent:null,name:`Action menu`,x:0,y:0,w:232,h:160,sizeX:`fixed`,sizeY:`hug`,children:[`n_pr-n-22`,`n_pr-n-23`,`n_pr-n-24`,`n_pr-f-25`,`n_pr-n-26`],layout:{mode:`column`,gap:0,pad:[8,8,8,8],alignMain:`start`,alignCross:`start`},clip:!1,stroke:{color:`$primer/overlay-borderColor`,width:1},radius:`$primer/borderRadius-large`,effects:[{type:`shadow`,x:0,y:6,blur:12,spread:-3,color:`#25292e0a`},{type:`shadow`,x:0,y:6,blur:18,spread:0,color:`#25292e1f`}],main:!0,fills:[{type:`solid`,color:`$primer/overlay-bgColor`}]},"n_pr-n-22":{type:`frame`,id:`n_pr-n-22`,parent:`n_pr-menu`,name:`Item`,x:0,y:0,w:100,h:100,sizeX:`fixed`,sizeY:`fixed`,children:[],layout:{mode:`free`,gap:0,pad:[0,0,0,0],alignMain:`start`,alignCross:`start`},clip:!1,values:{Label:`Copy link`,"Leading visual":{icon:{pack:`octicon`,name:`link-16`},asset:`kit:octicon/link-16`}},instanceOf:`n_pr-menu-item-default`},"n_pr-n-23":{type:`frame`,id:`n_pr-n-23`,parent:`n_pr-menu`,name:`Item`,x:0,y:0,w:100,h:100,sizeX:`fixed`,sizeY:`fixed`,children:[],layout:{mode:`free`,gap:0,pad:[0,0,0,0],alignMain:`start`,alignCross:`start`},clip:!1,values:{Label:`Quote reply`,"Leading visual":{icon:{pack:`octicon`,name:`quote-16`},asset:`kit:octicon/quote-16`}},instanceOf:`n_pr-menu-item-default`},"n_pr-n-24":{type:`frame`,id:`n_pr-n-24`,parent:`n_pr-menu`,name:`Item`,x:0,y:0,w:100,h:100,sizeX:`fixed`,sizeY:`fixed`,children:[],layout:{mode:`free`,gap:0,pad:[0,0,0,0],alignMain:`start`,alignCross:`start`},clip:!1,values:{Label:`Edit comment`,"Leading visual":{icon:{pack:`octicon`,name:`pencil-16`},asset:`kit:octicon/pencil-16`}},instanceOf:`n_pr-menu-item-default`},"n_pr-f-25":{type:`frame`,id:`n_pr-f-25`,parent:`n_pr-menu`,name:`Divider`,x:0,y:0,w:216,h:1,sizeX:`fill`,sizeY:`fixed`,children:[],layout:{mode:`free`,gap:0,pad:[0,0,0,0],alignMain:`start`,alignCross:`start`},clip:!1,fills:[{type:`solid`,color:`$primer/borderColor-default`}]},"n_pr-n-26":{type:`frame`,id:`n_pr-n-26`,parent:`n_pr-menu`,name:`Item`,x:0,y:0,w:100,h:100,sizeX:`fixed`,sizeY:`fixed`,children:[],layout:{mode:`free`,gap:0,pad:[0,0,0,0],alignMain:`start`,alignCross:`start`},clip:!1,values:{},instanceOf:`n_pr-menu-item-danger`}},icons:{"octicon/plus-16":`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="currentColor" d="M7.75 2a.75.75 0 0 1 .75.75V7h4.25a.75.75 0 0 1 0 1.5H8.5v4.25a.75.75 0 0 1-1.5 0V8.5H2.75a.75.75 0 0 1 0-1.5H7V2.75A.75.75 0 0 1 7.75 2"/></svg>`,"octicon/triangle-down-16":`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="currentColor" d="m4.427 7.427l3.396 3.396a.25.25 0 0 0 .354 0l3.396-3.396A.25.25 0 0 0 11.396 7H4.604a.25.25 0 0 0-.177.427"/></svg>`,"octicon/check-16":`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="currentColor" d="M13.78 4.22a.75.75 0 0 1 0 1.06l-7.25 7.25a.75.75 0 0 1-1.06 0L2.22 9.28a.75.75 0 0 1 .018-1.042a.75.75 0 0 1 1.042-.018L6 10.94l6.72-6.72a.75.75 0 0 1 1.06 0"/></svg>`,"octicon/info-16":`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="currentColor" d="M0 8a8 8 0 1 1 16 0A8 8 0 0 1 0 8m8-6.5a6.5 6.5 0 1 0 0 13a6.5 6.5 0 0 0 0-13M6.5 7.75A.75.75 0 0 1 7.25 7h1a.75.75 0 0 1 .75.75v2.75h.25a.75.75 0 0 1 0 1.5h-2a.75.75 0 0 1 0-1.5h.25v-2h-.25a.75.75 0 0 1-.75-.75M8 6a1 1 0 1 1 0-2a1 1 0 0 1 0 2"/></svg>`,"octicon/check-circle-16":`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="currentColor" d="M0 8a8 8 0 1 1 16 0A8 8 0 0 1 0 8m1.5 0a6.5 6.5 0 1 0 13 0a6.5 6.5 0 0 0-13 0m10.28-1.72l-4.5 4.5a.75.75 0 0 1-1.06 0l-2-2a.75.75 0 0 1 .018-1.042a.75.75 0 0 1 1.042-.018l1.47 1.47l3.97-3.97a.75.75 0 0 1 1.042.018a.75.75 0 0 1 .018 1.042"/></svg>`,"octicon/alert-16":`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="currentColor" d="M6.457 1.047c.659-1.234 2.427-1.234 3.086 0l6.082 11.378A1.75 1.75 0 0 1 14.082 15H1.918a1.75 1.75 0 0 1-1.543-2.575Zm1.763.707a.25.25 0 0 0-.44 0L1.698 13.132a.25.25 0 0 0 .22.368h12.164a.25.25 0 0 0 .22-.368Zm.53 3.996v2.5a.75.75 0 0 1-1.5 0v-2.5a.75.75 0 0 1 1.5 0M9 11a1 1 0 1 1-2 0a1 1 0 0 1 2 0"/></svg>`,"octicon/stop-16":`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="currentColor" d="M4.47.22A.75.75 0 0 1 5 0h6c.199 0 .389.079.53.22l4.25 4.25c.141.14.22.331.22.53v6a.75.75 0 0 1-.22.53l-4.25 4.25A.75.75 0 0 1 11 16H5a.75.75 0 0 1-.53-.22L.22 11.53A.75.75 0 0 1 0 11V5c0-.199.079-.389.22-.53Zm.84 1.28L1.5 5.31v5.38l3.81 3.81h5.38l3.81-3.81V5.31L10.69 1.5ZM8 4a.75.75 0 0 1 .75.75v3.5a.75.75 0 0 1-1.5 0v-3.5A.75.75 0 0 1 8 4m0 8a1 1 0 1 1 0-2a1 1 0 0 1 0 2"/></svg>`,"octicon/pencil-16":`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="currentColor" d="M11.013 1.427a1.75 1.75 0 0 1 2.474 0l1.086 1.086a1.75 1.75 0 0 1 0 2.474l-8.61 8.61c-.21.21-.47.364-.756.445l-3.251.93a.75.75 0 0 1-.927-.928l.929-3.25c.081-.286.235-.547.445-.758l8.61-8.61Zm.176 4.823L9.75 4.81l-6.286 6.287a.25.25 0 0 0-.064.108l-.558 1.953l1.953-.558a.25.25 0 0 0 .108-.064Zm1.238-3.763a.25.25 0 0 0-.354 0L10.811 3.75l1.439 1.44l1.263-1.263a.25.25 0 0 0 0-.354Z"/></svg>`,"octicon/trash-16":`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="currentColor" d="M11 1.75V3h2.25a.75.75 0 0 1 0 1.5H2.75a.75.75 0 0 1 0-1.5H5V1.75C5 .784 5.784 0 6.75 0h2.5C10.216 0 11 .784 11 1.75M4.496 6.675l.66 6.6a.25.25 0 0 0 .249.225h5.19a.25.25 0 0 0 .249-.225l.66-6.6a.75.75 0 0 1 1.492.149l-.66 6.6A1.75 1.75 0 0 1 10.595 15h-5.19a1.75 1.75 0 0 1-1.741-1.575l-.66-6.6a.75.75 0 1 1 1.492-.15M6.5 1.75V3h3V1.75a.25.25 0 0 0-.25-.25h-2.5a.25.25 0 0 0-.25.25"/></svg>`,"octicon/link-16":`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="currentColor" d="m7.775 3.275l1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0a.75.75 0 0 1 .018-1.042a.75.75 0 0 1 1.042-.018a2 2 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.75.75 0 0 1-1.042-.018a.75.75 0 0 1-.018-1.042m-4.69 9.64a2 2 0 0 0 2.83 0l1.25-1.25a.75.75 0 0 1 1.042.018a.75.75 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0a.75.75 0 0 1-.018 1.042a.75.75 0 0 1-1.042.018a2 2 0 0 0-2.83 0l-2.5 2.5a2 2 0 0 0 0 2.83"/></svg>`,"octicon/quote-16":`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="currentColor" d="M1.75 2.5h10.5a.75.75 0 0 1 0 1.5H1.75a.75.75 0 0 1 0-1.5m4 5h8.5a.75.75 0 0 1 0 1.5h-8.5a.75.75 0 0 1 0-1.5m0 5h8.5a.75.75 0 0 1 0 1.5h-8.5a.75.75 0 0 1 0-1.5M2.5 7.75v6a.75.75 0 0 1-1.5 0v-6a.75.75 0 0 1 1.5 0"/></svg>`}},antd:{id:`antd`,name:`Ant Design`,version:`2.0.0`,license:`MIT`,url:`https://ant.design`,components:[{id:`n_ad-button`,name:`Button`,group:`Buttons`},{id:`n_ad-badge`,name:`Badge`,group:`Badges`},{id:`n_ad-tag`,name:`Tag`,group:`Tags`},{id:`n_ad-input`,name:`Input`,group:`Inputs`},{id:`n_ad-textarea`,name:`TextArea`,group:`Inputs`},{id:`n_ad-select`,name:`Select`,group:`Selects`},{id:`n_ad-checkbox`,name:`Checkbox`,group:`Checkboxes`},{id:`n_ad-switch`,name:`Switch`,group:`Switches`},{id:`n_ad-radio`,name:`Radio`,group:`Radios`},{id:`n_ad-card`,name:`Card`,group:`Cards`},{id:`n_ad-avatar`,name:`Avatar`,group:`Avatars`},{id:`n_ad-tabs`,name:`Tabs`,group:`Tabs`},{id:`n_ad-tab`,name:`Tab`,group:`Tabs`},{id:`n_ad-alert`,name:`Alert`,group:`Alerts`},{id:`n_ad-divider`,name:`Divider`,group:`Dividers`},{id:`n_ad-tooltip`,name:`Tooltip`,group:`Tooltips`},{id:`n_ad-menu`,name:`Dropdown`,group:`Dropdowns`},{id:`n_ad-menu-item`,name:`Dropdown item`,group:`Dropdowns`}],nodes:{"n_ad-button":{type:`frame`,id:`n_ad-button`,parent:null,name:`Button`,x:0,y:0,w:10,h:10,sizeX:`fixed`,sizeY:`fixed`,children:`n_ad-button-primary-small-plain.n_ad-button-primary-small-danger.n_ad-button-primary-middle-plain.n_ad-button-primary-middle-danger.n_ad-button-primary-large-plain.n_ad-button-primary-large-danger.n_ad-button-default-small-plain.n_ad-button-default-small-danger.n_ad-button-default-middle-plain.n_ad-button-default-middle-danger.n_ad-button-default-large-plain.n_ad-button-default-large-danger.n_ad-button-dashed-small-plain.n_ad-button-dashed-small-danger.n_ad-button-dashed-middle-plain.n_ad-button-dashed-middle-danger.n_ad-button-dashed-large-plain.n_ad-button-dashed-large-danger.n_ad-button-text-small-plain.n_ad-button-text-small-danger.n_ad-button-text-middle-plain.n_ad-button-text-middle-danger.n_ad-button-text-large-plain.n_ad-button-text-large-danger.n_ad-button-link-small-plain.n_ad-button-link-small-danger.n_ad-button-link-middle-plain.n_ad-button-link-middle-danger.n_ad-button-link-large-plain.n_ad-button-link-large-danger`.split(`.`),layout:{mode:`free`,gap:0,pad:[0,0,0,0],alignMain:`start`,alignCross:`start`},clip:!1,componentSet:!0,props:{Label:{type:`text`},"Show icon":{type:`boolean`},Icon:{type:`swap`}}},"n_ad-button-primary-small-plain":{type:`frame`,id:`n_ad-button-primary-small-plain`,parent:`n_ad-button`,name:`Type=Primary, Size=small, Danger=false`,x:20,y:20,w:80,h:24,sizeX:`hug`,sizeY:`fixed`,children:[`n_ad-i-0`,`n_ad-t-1`],layout:{mode:`row`,gap:8,pad:[0,7,0,7],alignMain:`center`,alignCross:`center`},clip:!1,radius:`$antd/borderRadiusSM`,variant:{Type:`Primary`,Size:`small`,Danger:`false`},main:!0,fills:[{type:`solid`,color:`$antd/colorPrimary`}]},"n_ad-i-0":{type:`vector`,id:`n_ad-i-0`,parent:`n_ad-button-primary-small-plain`,name:`Icon`,x:0,y:0,w:14,h:14,sizeX:`fixed`,sizeY:`fixed`,asset:`kit:ant-design/plus-outlined`,hidden:!0,color:`$antd/colorTextLightSolid`,icon:{pack:`ant-design`,name:`plus-outlined`},bind:{visible:`Show icon`,swap:`Icon`}},"n_ad-t-1":{type:`text`,id:`n_ad-t-1`,parent:`n_ad-button-primary-small-plain`,name:`Label`,x:0,y:0,w:0,h:0,sizeX:`hug`,sizeY:`hug`,content:`Button`,style:`$antd/base`,fontSize:14,fontWeight:400,lineHeight:22,color:`$antd/colorTextLightSolid`,bind:{content:`Label`}},"n_ad-button-primary-small-danger":{type:`frame`,id:`n_ad-button-primary-small-danger`,parent:`n_ad-button`,name:`Type=Primary, Size=small, Danger=true`,x:120,y:20,w:80,h:24,sizeX:`hug`,sizeY:`fixed`,children:[`n_ad-i-2`,`n_ad-t-3`],layout:{mode:`row`,gap:8,pad:[0,7,0,7],alignMain:`center`,alignCross:`center`},clip:!1,radius:`$antd/borderRadiusSM`,variant:{Type:`Primary`,Size:`small`,Danger:`true`},main:!0,fills:[{type:`solid`,color:`$antd/colorError`}]},"n_ad-i-2":{type:`vector`,id:`n_ad-i-2`,parent:`n_ad-button-primary-small-danger`,name:`Icon`,x:0,y:0,w:14,h:14,sizeX:`fixed`,sizeY:`fixed`,asset:`kit:ant-design/plus-outlined`,hidden:!0,color:`$antd/colorTextLightSolid`,icon:{pack:`ant-design`,name:`plus-outlined`},bind:{visible:`Show icon`,swap:`Icon`}},"n_ad-t-3":{type:`text`,id:`n_ad-t-3`,parent:`n_ad-button-primary-small-danger`,name:`Label`,x:0,y:0,w:0,h:0,sizeX:`hug`,sizeY:`hug`,content:`Button`,style:`$antd/base`,fontSize:14,fontWeight:400,lineHeight:22,color:`$antd/colorTextLightSolid`,bind:{content:`Label`}},"n_ad-button-primary-middle-plain":{type:`frame`,id:`n_ad-button-primary-middle-plain`,parent:`n_ad-button`,name:`Type=Primary, Size=middle, Danger=false`,x:220,y:20,w:80,h:32,sizeX:`hug`,sizeY:`fixed`,children:[`n_ad-i-4`,`n_ad-t-5`],layout:{mode:`row`,gap:8,pad:[0,15,0,15],alignMain:`center`,alignCross:`center`},clip:!1,radius:`$antd/borderRadius`,variant:{Type:`Primary`,Size:`middle`,Danger:`false`},main:!0,fills:[{type:`solid`,color:`$antd/colorPrimary`}]},"n_ad-i-4":{type:`vector`,id:`n_ad-i-4`,parent:`n_ad-button-primary-middle-plain`,name:`Icon`,x:0,y:0,w:14,h:14,sizeX:`fixed`,sizeY:`fixed`,asset:`kit:ant-design/plus-outlined`,hidden:!0,color:`$antd/colorTextLightSolid`,icon:{pack:`ant-design`,name:`plus-outlined`},bind:{visible:`Show icon`,swap:`Icon`}},"n_ad-t-5":{type:`text`,id:`n_ad-t-5`,parent:`n_ad-button-primary-middle-plain`,name:`Label`,x:0,y:0,w:0,h:0,sizeX:`hug`,sizeY:`hug`,content:`Button`,style:`$antd/base`,fontSize:14,fontWeight:400,lineHeight:22,color:`$antd/colorTextLightSolid`,bind:{content:`Label`}},"n_ad-button-primary-middle-danger":{type:`frame`,id:`n_ad-button-primary-middle-danger`,parent:`n_ad-button`,name:`Type=Primary, Size=middle, Danger=true`,x:320,y:20,w:80,h:32,sizeX:`hug`,sizeY:`fixed`,children:[`n_ad-i-6`,`n_ad-t-7`],layout:{mode:`row`,gap:8,pad:[0,15,0,15],alignMain:`center`,alignCross:`center`},clip:!1,radius:`$antd/borderRadius`,variant:{Type:`Primary`,Size:`middle`,Danger:`true`},main:!0,fills:[{type:`solid`,color:`$antd/colorError`}]},"n_ad-i-6":{type:`vector`,id:`n_ad-i-6`,parent:`n_ad-button-primary-middle-danger`,name:`Icon`,x:0,y:0,w:14,h:14,sizeX:`fixed`,sizeY:`fixed`,asset:`kit:ant-design/plus-outlined`,hidden:!0,color:`$antd/colorTextLightSolid`,icon:{pack:`ant-design`,name:`plus-outlined`},bind:{visible:`Show icon`,swap:`Icon`}},"n_ad-t-7":{type:`text`,id:`n_ad-t-7`,parent:`n_ad-button-primary-middle-danger`,name:`Label`,x:0,y:0,w:0,h:0,sizeX:`hug`,sizeY:`hug`,content:`Button`,style:`$antd/base`,fontSize:14,fontWeight:400,lineHeight:22,color:`$antd/colorTextLightSolid`,bind:{content:`Label`}},"n_ad-button-primary-large-plain":{type:`frame`,id:`n_ad-button-primary-large-plain`,parent:`n_ad-button`,name:`Type=Primary, Size=large, Danger=false`,x:420,y:20,w:80,h:40,sizeX:`hug`,sizeY:`fixed`,children:[`n_ad-i-8`,`n_ad-t-9`],layout:{mode:`row`,gap:8,pad:[0,15,0,15],alignMain:`center`,alignCross:`center`},clip:!1,radius:`$antd/borderRadiusLG`,variant:{Type:`Primary`,Size:`large`,Danger:`false`},main:!0,fills:[{type:`solid`,color:`$antd/colorPrimary`}]},"n_ad-i-8":{type:`vector`,id:`n_ad-i-8`,parent:`n_ad-button-primary-large-plain`,name:`Icon`,x:0,y:0,w:14,h:14,sizeX:`fixed`,sizeY:`fixed`,asset:`kit:ant-design/plus-outlined`,hidden:!0,color:`$antd/colorTextLightSolid`,icon:{pack:`ant-design`,name:`plus-outlined`},bind:{visible:`Show icon`,swap:`Icon`}},"n_ad-t-9":{type:`text`,id:`n_ad-t-9`,parent:`n_ad-button-primary-large-plain`,name:`Label`,x:0,y:0,w:0,h:0,sizeX:`hug`,sizeY:`hug`,content:`Button`,style:`$antd/lg`,fontSize:16,fontWeight:400,lineHeight:24,color:`$antd/colorTextLightSolid`,bind:{content:`Label`}},"n_ad-button-primary-large-danger":{type:`frame`,id:`n_ad-button-primary-large-danger`,parent:`n_ad-button`,name:`Type=Primary, Size=large, Danger=true`,x:520,y:20,w:80,h:40,sizeX:`hug`,sizeY:`fixed`,children:[`n_ad-i-a`,`n_ad-t-b`],layout:{mode:`row`,gap:8,pad:[0,15,0,15],alignMain:`center`,alignCross:`center`},clip:!1,radius:`$antd/borderRadiusLG`,variant:{Type:`Primary`,Size:`large`,Danger:`true`},main:!0,fills:[{type:`solid`,color:`$antd/colorError`}]},"n_ad-i-a":{type:`vector`,id:`n_ad-i-a`,parent:`n_ad-button-primary-large-danger`,name:`Icon`,x:0,y:0,w:14,h:14,sizeX:`fixed`,sizeY:`fixed`,asset:`kit:ant-design/plus-outlined`,hidden:!0,color:`$antd/colorTextLightSolid`,icon:{pack:`ant-design`,name:`plus-outlined`},bind:{visible:`Show icon`,swap:`Icon`}},"n_ad-t-b":{type:`text`,id:`n_ad-t-b`,parent:`n_ad-button-primary-large-danger`,name:`Label`,x:0,y:0,w:0,h:0,sizeX:`hug`,sizeY:`hug`,content:`Button`,style:`$antd/lg`,fontSize:16,fontWeight:400,lineHeight:24,color:`$antd/colorTextLightSolid`,bind:{content:`Label`}},"n_ad-button-default-small-plain":{type:`frame`,id:`n_ad-button-default-small-plain`,parent:`n_ad-button`,name:`Type=Default, Size=small, Danger=false`,x:20,y:80,w:80,h:24,sizeX:`hug`,sizeY:`fixed`,children:[`n_ad-i-c`,`n_ad-t-d`],layout:{mode:`row`,gap:8,pad:[0,7,0,7],alignMain:`center`,alignCross:`center`},clip:!1,stroke:{color:`$antd/colorBorder`,width:1},radius:`$antd/borderRadiusSM`,variant:{Type:`Default`,Size:`small`,Danger:`false`},main:!0,fills:[{type:`solid`,color:`$antd/colorBgContainer`}]},"n_ad-i-c":{type:`vector`,id:`n_ad-i-c`,parent:`n_ad-button-default-small-plain`,name:`Icon`,x:0,y:0,w:14,h:14,sizeX:`fixed`,sizeY:`fixed`,asset:`kit:ant-design/plus-outlined`,hidden:!0,color:`$antd/colorText`,icon:{pack:`ant-design`,name:`plus-outlined`},bind:{visible:`Show icon`,swap:`Icon`}},"n_ad-t-d":{type:`text`,id:`n_ad-t-d`,parent:`n_ad-button-default-small-plain`,name:`Label`,x:0,y:0,w:0,h:0,sizeX:`hug`,sizeY:`hug`,content:`Button`,style:`$antd/base`,fontSize:14,fontWeight:400,lineHeight:22,color:`$antd/colorText`,bind:{content:`Label`}},"n_ad-button-default-small-danger":{type:`frame`,id:`n_ad-button-default-small-danger`,parent:`n_ad-button`,name:`Type=Default, Size=small, Danger=true`,x:120,y:80,w:80,h:24,sizeX:`hug`,sizeY:`fixed`,children:[`n_ad-i-e`,`n_ad-t-f`],layout:{mode:`row`,gap:8,pad:[0,7,0,7],alignMain:`center`,alignCross:`center`},clip:!1,stroke:{color:`$antd/colorError`,width:1},radius:`$antd/borderRadiusSM`,variant:{Type:`Default`,Size:`small`,Danger:`true`},main:!0,fills:[{type:`solid`,color:`$antd/colorBgContainer`}]},"n_ad-i-e":{type:`vector`,id:`n_ad-i-e`,parent:`n_ad-button-default-small-danger`,name:`Icon`,x:0,y:0,w:14,h:14,sizeX:`fixed`,sizeY:`fixed`,asset:`kit:ant-design/plus-outlined`,hidden:!0,color:`$antd/colorError`,icon:{pack:`ant-design`,name:`plus-outlined`},bind:{visible:`Show icon`,swap:`Icon`}},"n_ad-t-f":{type:`text`,id:`n_ad-t-f`,parent:`n_ad-button-default-small-danger`,name:`Label`,x:0,y:0,w:0,h:0,sizeX:`hug`,sizeY:`hug`,content:`Button`,style:`$antd/base`,fontSize:14,fontWeight:400,lineHeight:22,color:`$antd/colorError`,bind:{content:`Label`}},"n_ad-button-default-middle-plain":{type:`frame`,id:`n_ad-button-default-middle-plain`,parent:`n_ad-button`,name:`Type=Default, Size=middle, Danger=false`,x:220,y:80,w:80,h:32,sizeX:`hug`,sizeY:`fixed`,children:[`n_ad-i-g`,`n_ad-t-h`],layout:{mode:`row`,gap:8,pad:[0,15,0,15],alignMain:`center`,alignCross:`center`},clip:!1,stroke:{color:`$antd/colorBorder`,width:1},radius:`$antd/borderRadius`,variant:{Type:`Default`,Size:`middle`,Danger:`false`},main:!0,fills:[{type:`solid`,color:`$antd/colorBgContainer`}]},"n_ad-i-g":{type:`vector`,id:`n_ad-i-g`,parent:`n_ad-button-default-middle-plain`,name:`Icon`,x:0,y:0,w:14,h:14,sizeX:`fixed`,sizeY:`fixed`,asset:`kit:ant-design/plus-outlined`,hidden:!0,color:`$antd/colorText`,icon:{pack:`ant-design`,name:`plus-outlined`},bind:{visible:`Show icon`,swap:`Icon`}},"n_ad-t-h":{type:`text`,id:`n_ad-t-h`,parent:`n_ad-button-default-middle-plain`,name:`Label`,x:0,y:0,w:0,h:0,sizeX:`hug`,sizeY:`hug`,content:`Button`,style:`$antd/base`,fontSize:14,fontWeight:400,lineHeight:22,color:`$antd/colorText`,bind:{content:`Label`}},"n_ad-button-default-middle-danger":{type:`frame`,id:`n_ad-button-default-middle-danger`,parent:`n_ad-button`,name:`Type=Default, Size=middle, Danger=true`,x:320,y:80,w:80,h:32,sizeX:`hug`,sizeY:`fixed`,children:[`n_ad-i-i`,`n_ad-t-j`],layout:{mode:`row`,gap:8,pad:[0,15,0,15],alignMain:`center`,alignCross:`center`},clip:!1,stroke:{color:`$antd/colorError`,width:1},radius:`$antd/borderRadius`,variant:{Type:`Default`,Size:`middle`,Danger:`true`},main:!0,fills:[{type:`solid`,color:`$antd/colorBgContainer`}]},"n_ad-i-i":{type:`vector`,id:`n_ad-i-i`,parent:`n_ad-button-default-middle-danger`,name:`Icon`,x:0,y:0,w:14,h:14,sizeX:`fixed`,sizeY:`fixed`,asset:`kit:ant-design/plus-outlined`,hidden:!0,color:`$antd/colorError`,icon:{pack:`ant-design`,name:`plus-outlined`},bind:{visible:`Show icon`,swap:`Icon`}},"n_ad-t-j":{type:`text`,id:`n_ad-t-j`,parent:`n_ad-button-default-middle-danger`,name:`Label`,x:0,y:0,w:0,h:0,sizeX:`hug`,sizeY:`hug`,content:`Button`,style:`$antd/base`,fontSize:14,fontWeight:400,lineHeight:22,color:`$antd/colorError`,bind:{content:`Label`}},"n_ad-button-default-large-plain":{type:`frame`,id:`n_ad-button-default-large-plain`,parent:`n_ad-button`,name:`Type=Default, Size=large, Danger=false`,x:420,y:80,w:80,h:40,sizeX:`hug`,sizeY:`fixed`,children:[`n_ad-i-k`,`n_ad-t-l`],layout:{mode:`row`,gap:8,pad:[0,15,0,15],alignMain:`center`,alignCross:`center`},clip:!1,stroke:{color:`$antd/colorBorder`,width:1},radius:`$antd/borderRadiusLG`,variant:{Type:`Default`,Size:`large`,Danger:`false`},main:!0,fills:[{type:`solid`,color:`$antd/colorBgContainer`}]},"n_ad-i-k":{type:`vector`,id:`n_ad-i-k`,parent:`n_ad-button-default-large-plain`,name:`Icon`,x:0,y:0,w:14,h:14,sizeX:`fixed`,sizeY:`fixed`,asset:`kit:ant-design/plus-outlined`,hidden:!0,color:`$antd/colorText`,icon:{pack:`ant-design`,name:`plus-outlined`},bind:{visible:`Show icon`,swap:`Icon`}},"n_ad-t-l":{type:`text`,id:`n_ad-t-l`,parent:`n_ad-button-default-large-plain`,name:`Label`,x:0,y:0,w:0,h:0,sizeX:`hug`,sizeY:`hug`,content:`Button`,style:`$antd/lg`,fontSize:16,fontWeight:400,lineHeight:24,color:`$antd/colorText`,bind:{content:`Label`}},"n_ad-button-default-large-danger":{type:`frame`,id:`n_ad-button-default-large-danger`,parent:`n_ad-button`,name:`Type=Default, Size=large, Danger=true`,x:520,y:80,w:80,h:40,sizeX:`hug`,sizeY:`fixed`,children:[`n_ad-i-m`,`n_ad-t-n`],layout:{mode:`row`,gap:8,pad:[0,15,0,15],alignMain:`center`,alignCross:`center`},clip:!1,stroke:{color:`$antd/colorError`,width:1},radius:`$antd/borderRadiusLG`,variant:{Type:`Default`,Size:`large`,Danger:`true`},main:!0,fills:[{type:`solid`,color:`$antd/colorBgContainer`}]},"n_ad-i-m":{type:`vector`,id:`n_ad-i-m`,parent:`n_ad-button-default-large-danger`,name:`Icon`,x:0,y:0,w:14,h:14,sizeX:`fixed`,sizeY:`fixed`,asset:`kit:ant-design/plus-outlined`,hidden:!0,color:`$antd/colorError`,icon:{pack:`ant-design`,name:`plus-outlined`},bind:{visible:`Show icon`,swap:`Icon`}},"n_ad-t-n":{type:`text`,id:`n_ad-t-n`,parent:`n_ad-button-default-large-danger`,name:`Label`,x:0,y:0,w:0,h:0,sizeX:`hug`,sizeY:`hug`,content:`Button`,style:`$antd/lg`,fontSize:16,fontWeight:400,lineHeight:24,color:`$antd/colorError`,bind:{content:`Label`}},"n_ad-button-dashed-small-plain":{type:`frame`,id:`n_ad-button-dashed-small-plain`,parent:`n_ad-button`,name:`Type=Dashed, Size=small, Danger=false`,x:20,y:140,w:80,h:24,sizeX:`hug`,sizeY:`fixed`,children:[`n_ad-i-o`,`n_ad-t-p`],layout:{mode:`row`,gap:8,pad:[0,7,0,7],alignMain:`center`,alignCross:`center`},clip:!1,stroke:{color:`$antd/colorBorder`,width:1,dash:[4,4]},radius:`$antd/borderRadiusSM`,variant:{Type:`Dashed`,Size:`small`,Danger:`false`},main:!0,fills:[{type:`solid`,color:`$antd/colorBgContainer`}]},"n_ad-i-o":{type:`vector`,id:`n_ad-i-o`,parent:`n_ad-button-dashed-small-plain`,name:`Icon`,x:0,y:0,w:14,h:14,sizeX:`fixed`,sizeY:`fixed`,asset:`kit:ant-design/plus-outlined`,hidden:!0,color:`$antd/colorText`,icon:{pack:`ant-design`,name:`plus-outlined`},bind:{visible:`Show icon`,swap:`Icon`}},"n_ad-t-p":{type:`text`,id:`n_ad-t-p`,parent:`n_ad-button-dashed-small-plain`,name:`Label`,x:0,y:0,w:0,h:0,sizeX:`hug`,sizeY:`hug`,content:`Button`,style:`$antd/base`,fontSize:14,fontWeight:400,lineHeight:22,color:`$antd/colorText`,bind:{content:`Label`}},"n_ad-button-dashed-small-danger":{type:`frame`,id:`n_ad-button-dashed-small-danger`,parent:`n_ad-button`,name:`Type=Dashed, Size=small, Danger=true`,x:120,y:140,w:80,h:24,sizeX:`hug`,sizeY:`fixed`,children:[`n_ad-i-q`,`n_ad-t-r`],layout:{mode:`row`,gap:8,pad:[0,7,0,7],alignMain:`center`,alignCross:`center`},clip:!1,stroke:{color:`$antd/colorError`,width:1,dash:[4,4]},radius:`$antd/borderRadiusSM`,variant:{Type:`Dashed`,Size:`small`,Danger:`true`},main:!0,fills:[{type:`solid`,color:`$antd/colorBgContainer`}]},"n_ad-i-q":{type:`vector`,id:`n_ad-i-q`,parent:`n_ad-button-dashed-small-danger`,name:`Icon`,x:0,y:0,w:14,h:14,sizeX:`fixed`,sizeY:`fixed`,asset:`kit:ant-design/plus-outlined`,hidden:!0,color:`$antd/colorError`,icon:{pack:`ant-design`,name:`plus-outlined`},bind:{visible:`Show icon`,swap:`Icon`}},"n_ad-t-r":{type:`text`,id:`n_ad-t-r`,parent:`n_ad-button-dashed-small-danger`,name:`Label`,x:0,y:0,w:0,h:0,sizeX:`hug`,sizeY:`hug`,content:`Button`,style:`$antd/base`,fontSize:14,fontWeight:400,lineHeight:22,color:`$antd/colorError`,bind:{content:`Label`}},"n_ad-button-dashed-middle-plain":{type:`frame`,id:`n_ad-button-dashed-middle-plain`,parent:`n_ad-button`,name:`Type=Dashed, Size=middle, Danger=false`,x:220,y:140,w:80,h:32,sizeX:`hug`,sizeY:`fixed`,children:[`n_ad-i-s`,`n_ad-t-t`],layout:{mode:`row`,gap:8,pad:[0,15,0,15],alignMain:`center`,alignCross:`center`},clip:!1,stroke:{color:`$antd/colorBorder`,width:1,dash:[4,4]},radius:`$antd/borderRadius`,variant:{Type:`Dashed`,Size:`middle`,Danger:`false`},main:!0,fills:[{type:`solid`,color:`$antd/colorBgContainer`}]},"n_ad-i-s":{type:`vector`,id:`n_ad-i-s`,parent:`n_ad-button-dashed-middle-plain`,name:`Icon`,x:0,y:0,w:14,h:14,sizeX:`fixed`,sizeY:`fixed`,asset:`kit:ant-design/plus-outlined`,hidden:!0,color:`$antd/colorText`,icon:{pack:`ant-design`,name:`plus-outlined`},bind:{visible:`Show icon`,swap:`Icon`}},"n_ad-t-t":{type:`text`,id:`n_ad-t-t`,parent:`n_ad-button-dashed-middle-plain`,name:`Label`,x:0,y:0,w:0,h:0,sizeX:`hug`,sizeY:`hug`,content:`Button`,style:`$antd/base`,fontSize:14,fontWeight:400,lineHeight:22,color:`$antd/colorText`,bind:{content:`Label`}},"n_ad-button-dashed-middle-danger":{type:`frame`,id:`n_ad-button-dashed-middle-danger`,parent:`n_ad-button`,name:`Type=Dashed, Size=middle, Danger=true`,x:320,y:140,w:80,h:32,sizeX:`hug`,sizeY:`fixed`,children:[`n_ad-i-u`,`n_ad-t-v`],layout:{mode:`row`,gap:8,pad:[0,15,0,15],alignMain:`center`,alignCross:`center`},clip:!1,stroke:{color:`$antd/colorError`,width:1,dash:[4,4]},radius:`$antd/borderRadius`,variant:{Type:`Dashed`,Size:`middle`,Danger:`true`},main:!0,fills:[{type:`solid`,color:`$antd/colorBgContainer`}]},"n_ad-i-u":{type:`vector`,id:`n_ad-i-u`,parent:`n_ad-button-dashed-middle-danger`,name:`Icon`,x:0,y:0,w:14,h:14,sizeX:`fixed`,sizeY:`fixed`,asset:`kit:ant-design/plus-outlined`,hidden:!0,color:`$antd/colorError`,icon:{pack:`ant-design`,name:`plus-outlined`},bind:{visible:`Show icon`,swap:`Icon`}},"n_ad-t-v":{type:`text`,id:`n_ad-t-v`,parent:`n_ad-button-dashed-middle-danger`,name:`Label`,x:0,y:0,w:0,h:0,sizeX:`hug`,sizeY:`hug`,content:`Button`,style:`$antd/base`,fontSize:14,fontWeight:400,lineHeight:22,color:`$antd/colorError`,bind:{content:`Label`}},"n_ad-button-dashed-large-plain":{type:`frame`,id:`n_ad-button-dashed-large-plain`,parent:`n_ad-button`,name:`Type=Dashed, Size=large, Danger=false`,x:420,y:140,w:80,h:40,sizeX:`hug`,sizeY:`fixed`,children:[`n_ad-i-w`,`n_ad-t-x`],layout:{mode:`row`,gap:8,pad:[0,15,0,15],alignMain:`center`,alignCross:`center`},clip:!1,stroke:{color:`$antd/colorBorder`,width:1,dash:[4,4]},radius:`$antd/borderRadiusLG`,variant:{Type:`Dashed`,Size:`large`,Danger:`false`},main:!0,fills:[{type:`solid`,color:`$antd/colorBgContainer`}]},"n_ad-i-w":{type:`vector`,id:`n_ad-i-w`,parent:`n_ad-button-dashed-large-plain`,name:`Icon`,x:0,y:0,w:14,h:14,sizeX:`fixed`,sizeY:`fixed`,asset:`kit:ant-design/plus-outlined`,hidden:!0,color:`$antd/colorText`,icon:{pack:`ant-design`,name:`plus-outlined`},bind:{visible:`Show icon`,swap:`Icon`}},"n_ad-t-x":{type:`text`,id:`n_ad-t-x`,parent:`n_ad-button-dashed-large-plain`,name:`Label`,x:0,y:0,w:0,h:0,sizeX:`hug`,sizeY:`hug`,content:`Button`,style:`$antd/lg`,fontSize:16,fontWeight:400,lineHeight:24,color:`$antd/colorText`,bind:{content:`Label`}},"n_ad-button-dashed-large-danger":{type:`frame`,id:`n_ad-button-dashed-large-danger`,parent:`n_ad-button`,name:`Type=Dashed, Size=large, Danger=true`,x:520,y:140,w:80,h:40,sizeX:`hug`,sizeY:`fixed`,children:[`n_ad-i-y`,`n_ad-t-z`],layout:{mode:`row`,gap:8,pad:[0,15,0,15],alignMain:`center`,alignCross:`center`},clip:!1,stroke:{color:`$antd/colorError`,width:1,dash:[4,4]},radius:`$antd/borderRadiusLG`,variant:{Type:`Dashed`,Size:`large`,Danger:`true`},main:!0,fills:[{type:`solid`,color:`$antd/colorBgContainer`}]},"n_ad-i-y":{type:`vector`,id:`n_ad-i-y`,parent:`n_ad-button-dashed-large-danger`,name:`Icon`,x:0,y:0,w:14,h:14,sizeX:`fixed`,sizeY:`fixed`,asset:`kit:ant-design/plus-outlined`,hidden:!0,color:`$antd/colorError`,icon:{pack:`ant-design`,name:`plus-outlined`},bind:{visible:`Show icon`,swap:`Icon`}},"n_ad-t-z":{type:`text`,id:`n_ad-t-z`,parent:`n_ad-button-dashed-large-danger`,name:`Label`,x:0,y:0,w:0,h:0,sizeX:`hug`,sizeY:`hug`,content:`Button`,style:`$antd/lg`,fontSize:16,fontWeight:400,lineHeight:24,color:`$antd/colorError`,bind:{content:`Label`}},"n_ad-button-text-small-plain":{type:`frame`,id:`n_ad-button-text-small-plain`,parent:`n_ad-button`,name:`Type=Text, Size=small, Danger=false`,x:20,y:200,w:80,h:24,sizeX:`hug`,sizeY:`fixed`,children:[`n_ad-i-10`,`n_ad-t-11`],layout:{mode:`row`,gap:8,pad:[0,7,0,7],alignMain:`center`,alignCross:`center`},clip:!1,radius:`$antd/borderRadiusSM`,variant:{Type:`Text`,Size:`small`,Danger:`false`},main:!0},"n_ad-i-10":{type:`vector`,id:`n_ad-i-10`,parent:`n_ad-button-text-small-plain`,name:`Icon`,x:0,y:0,w:14,h:14,sizeX:`fixed`,sizeY:`fixed`,asset:`kit:ant-design/plus-outlined`,hidden:!0,color:`$antd/colorText`,icon:{pack:`ant-design`,name:`plus-outlined`},bind:{visible:`Show icon`,swap:`Icon`}},"n_ad-t-11":{type:`text`,id:`n_ad-t-11`,parent:`n_ad-button-text-small-plain`,name:`Label`,x:0,y:0,w:0,h:0,sizeX:`hug`,sizeY:`hug`,content:`Button`,style:`$antd/base`,fontSize:14,fontWeight:400,lineHeight:22,color:`$antd/colorText`,bind:{content:`Label`}},"n_ad-button-text-small-danger":{type:`frame`,id:`n_ad-button-text-small-danger`,parent:`n_ad-button`,name:`Type=Text, Size=small, Danger=true`,x:120,y:200,w:80,h:24,sizeX:`hug`,sizeY:`fixed`,children:[`n_ad-i-12`,`n_ad-t-13`],layout:{mode:`row`,gap:8,pad:[0,7,0,7],alignMain:`center`,alignCross:`center`},clip:!1,radius:`$antd/borderRadiusSM`,variant:{Type:`Text`,Size:`small`,Danger:`true`},main:!0},"n_ad-i-12":{type:`vector`,id:`n_ad-i-12`,parent:`n_ad-button-text-small-danger`,name:`Icon`,x:0,y:0,w:14,h:14,sizeX:`fixed`,sizeY:`fixed`,asset:`kit:ant-design/plus-outlined`,hidden:!0,color:`$antd/colorError`,icon:{pack:`ant-design`,name:`plus-outlined`},bind:{visible:`Show icon`,swap:`Icon`}},"n_ad-t-13":{type:`text`,id:`n_ad-t-13`,parent:`n_ad-button-text-small-danger`,name:`Label`,x:0,y:0,w:0,h:0,sizeX:`hug`,sizeY:`hug`,content:`Button`,style:`$antd/base`,fontSize:14,fontWeight:400,lineHeight:22,color:`$antd/colorError`,bind:{content:`Label`}},"n_ad-button-text-middle-plain":{type:`frame`,id:`n_ad-button-text-middle-plain`,parent:`n_ad-button`,name:`Type=Text, Size=middle, Danger=false`,x:220,y:200,w:80,h:32,sizeX:`hug`,sizeY:`fixed`,children:[`n_ad-i-14`,`n_ad-t-15`],layout:{mode:`row`,gap:8,pad:[0,15,0,15],alignMain:`center`,alignCross:`center`},clip:!1,radius:`$antd/borderRadius`,variant:{Type:`Text`,Size:`middle`,Danger:`false`},main:!0},"n_ad-i-14":{type:`vector`,id:`n_ad-i-14`,parent:`n_ad-button-text-middle-plain`,name:`Icon`,x:0,y:0,w:14,h:14,sizeX:`fixed`,sizeY:`fixed`,asset:`kit:ant-design/plus-outlined`,hidden:!0,color:`$antd/colorText`,icon:{pack:`ant-design`,name:`plus-outlined`},bind:{visible:`Show icon`,swap:`Icon`}},"n_ad-t-15":{type:`text`,id:`n_ad-t-15`,parent:`n_ad-button-text-middle-plain`,name:`Label`,x:0,y:0,w:0,h:0,sizeX:`hug`,sizeY:`hug`,content:`Button`,style:`$antd/base`,fontSize:14,fontWeight:400,lineHeight:22,color:`$antd/colorText`,bind:{content:`Label`}},"n_ad-button-text-middle-danger":{type:`frame`,id:`n_ad-button-text-middle-danger`,parent:`n_ad-button`,name:`Type=Text, Size=middle, Danger=true`,x:320,y:200,w:80,h:32,sizeX:`hug`,sizeY:`fixed`,children:[`n_ad-i-16`,`n_ad-t-17`],layout:{mode:`row`,gap:8,pad:[0,15,0,15],alignMain:`center`,alignCross:`center`},clip:!1,radius:`$antd/borderRadius`,variant:{Type:`Text`,Size:`middle`,Danger:`true`},main:!0},"n_ad-i-16":{type:`vector`,id:`n_ad-i-16`,parent:`n_ad-button-text-middle-danger`,name:`Icon`,x:0,y:0,w:14,h:14,sizeX:`fixed`,sizeY:`fixed`,asset:`kit:ant-design/plus-outlined`,hidden:!0,color:`$antd/colorError`,icon:{pack:`ant-design`,name:`plus-outlined`},bind:{visible:`Show icon`,swap:`Icon`}},"n_ad-t-17":{type:`text`,id:`n_ad-t-17`,parent:`n_ad-button-text-middle-danger`,name:`Label`,x:0,y:0,w:0,h:0,sizeX:`hug`,sizeY:`hug`,content:`Button`,style:`$antd/base`,fontSize:14,fontWeight:400,lineHeight:22,color:`$antd/colorError`,bind:{content:`Label`}},"n_ad-button-text-large-plain":{type:`frame`,id:`n_ad-button-text-large-plain`,parent:`n_ad-button`,name:`Type=Text, Size=large, Danger=false`,x:420,y:200,w:80,h:40,sizeX:`hug`,sizeY:`fixed`,children:[`n_ad-i-18`,`n_ad-t-19`],layout:{mode:`row`,gap:8,pad:[0,15,0,15],alignMain:`center`,alignCross:`center`},clip:!1,radius:`$antd/borderRadiusLG`,variant:{Type:`Text`,Size:`large`,Danger:`false`},main:!0},"n_ad-i-18":{type:`vector`,id:`n_ad-i-18`,parent:`n_ad-button-text-large-plain`,name:`Icon`,x:0,y:0,w:14,h:14,sizeX:`fixed`,sizeY:`fixed`,asset:`kit:ant-design/plus-outlined`,hidden:!0,color:`$antd/colorText`,icon:{pack:`ant-design`,name:`plus-outlined`},bind:{visible:`Show icon`,swap:`Icon`}},"n_ad-t-19":{type:`text`,id:`n_ad-t-19`,parent:`n_ad-button-text-large-plain`,name:`Label`,x:0,y:0,w:0,h:0,sizeX:`hug`,sizeY:`hug`,content:`Button`,style:`$antd/lg`,fontSize:16,fontWeight:400,lineHeight:24,color:`$antd/colorText`,bind:{content:`Label`}},"n_ad-button-text-large-danger":{type:`frame`,id:`n_ad-button-text-large-danger`,parent:`n_ad-button`,name:`Type=Text, Size=large, Danger=true`,x:520,y:200,w:80,h:40,sizeX:`hug`,sizeY:`fixed`,children:[`n_ad-i-1a`,`n_ad-t-1b`],layout:{mode:`row`,gap:8,pad:[0,15,0,15],alignMain:`center`,alignCross:`center`},clip:!1,radius:`$antd/borderRadiusLG`,variant:{Type:`Text`,Size:`large`,Danger:`true`},main:!0},"n_ad-i-1a":{type:`vector`,id:`n_ad-i-1a`,parent:`n_ad-button-text-large-danger`,name:`Icon`,x:0,y:0,w:14,h:14,sizeX:`fixed`,sizeY:`fixed`,asset:`kit:ant-design/plus-outlined`,hidden:!0,color:`$antd/colorError`,icon:{pack:`ant-design`,name:`plus-outlined`},bind:{visible:`Show icon`,swap:`Icon`}},"n_ad-t-1b":{type:`text`,id:`n_ad-t-1b`,parent:`n_ad-button-text-large-danger`,name:`Label`,x:0,y:0,w:0,h:0,sizeX:`hug`,sizeY:`hug`,content:`Button`,style:`$antd/lg`,fontSize:16,fontWeight:400,lineHeight:24,color:`$antd/colorError`,bind:{content:`Label`}},"n_ad-button-link-small-plain":{type:`frame`,id:`n_ad-button-link-small-plain`,parent:`n_ad-button`,name:`Type=Link, Size=small, Danger=false`,x:20,y:260,w:80,h:24,sizeX:`hug`,sizeY:`fixed`,children:[`n_ad-i-1c`,`n_ad-t-1d`],layout:{mode:`row`,gap:8,pad:[0,7,0,7],alignMain:`center`,alignCross:`center`},clip:!1,radius:`$antd/borderRadiusSM`,variant:{Type:`Link`,Size:`small`,Danger:`false`},main:!0},"n_ad-i-1c":{type:`vector`,id:`n_ad-i-1c`,parent:`n_ad-button-link-small-plain`,name:`Icon`,x:0,y:0,w:14,h:14,sizeX:`fixed`,sizeY:`fixed`,asset:`kit:ant-design/plus-outlined`,hidden:!0,color:`$antd/colorPrimary`,icon:{pack:`ant-design`,name:`plus-outlined`},bind:{visible:`Show icon`,swap:`Icon`}},"n_ad-t-1d":{type:`text`,id:`n_ad-t-1d`,parent:`n_ad-button-link-small-plain`,name:`Label`,x:0,y:0,w:0,h:0,sizeX:`hug`,sizeY:`hug`,content:`Button`,style:`$antd/base`,fontSize:14,fontWeight:400,lineHeight:22,color:`$antd/colorPrimary`,bind:{content:`Label`}},"n_ad-button-link-small-danger":{type:`frame`,id:`n_ad-button-link-small-danger`,parent:`n_ad-button`,name:`Type=Link, Size=small, Danger=true`,x:120,y:260,w:80,h:24,sizeX:`hug`,sizeY:`fixed`,children:[`n_ad-i-1e`,`n_ad-t-1f`],layout:{mode:`row`,gap:8,pad:[0,7,0,7],alignMain:`center`,alignCross:`center`},clip:!1,radius:`$antd/borderRadiusSM`,variant:{Type:`Link`,Size:`small`,Danger:`true`},main:!0},"n_ad-i-1e":{type:`vector`,id:`n_ad-i-1e`,parent:`n_ad-button-link-small-danger`,name:`Icon`,x:0,y:0,w:14,h:14,sizeX:`fixed`,sizeY:`fixed`,asset:`kit:ant-design/plus-outlined`,hidden:!0,color:`$antd/colorError`,icon:{pack:`ant-design`,name:`plus-outlined`},bind:{visible:`Show icon`,swap:`Icon`}},"n_ad-t-1f":{type:`text`,id:`n_ad-t-1f`,parent:`n_ad-button-link-small-danger`,name:`Label`,x:0,y:0,w:0,h:0,sizeX:`hug`,sizeY:`hug`,content:`Button`,style:`$antd/base`,fontSize:14,fontWeight:400,lineHeight:22,color:`$antd/colorError`,bind:{content:`Label`}},"n_ad-button-link-middle-plain":{type:`frame`,id:`n_ad-button-link-middle-plain`,parent:`n_ad-button`,name:`Type=Link, Size=middle, Danger=false`,x:220,y:260,w:80,h:32,sizeX:`hug`,sizeY:`fixed`,children:[`n_ad-i-1g`,`n_ad-t-1h`],layout:{mode:`row`,gap:8,pad:[0,15,0,15],alignMain:`center`,alignCross:`center`},clip:!1,radius:`$antd/borderRadius`,variant:{Type:`Link`,Size:`middle`,Danger:`false`},main:!0},"n_ad-i-1g":{type:`vector`,id:`n_ad-i-1g`,parent:`n_ad-button-link-middle-plain`,name:`Icon`,x:0,y:0,w:14,h:14,sizeX:`fixed`,sizeY:`fixed`,asset:`kit:ant-design/plus-outlined`,hidden:!0,color:`$antd/colorPrimary`,icon:{pack:`ant-design`,name:`plus-outlined`},bind:{visible:`Show icon`,swap:`Icon`}},"n_ad-t-1h":{type:`text`,id:`n_ad-t-1h`,parent:`n_ad-button-link-middle-plain`,name:`Label`,x:0,y:0,w:0,h:0,sizeX:`hug`,sizeY:`hug`,content:`Button`,style:`$antd/base`,fontSize:14,fontWeight:400,lineHeight:22,color:`$antd/colorPrimary`,bind:{content:`Label`}},"n_ad-button-link-middle-danger":{type:`frame`,id:`n_ad-button-link-middle-danger`,parent:`n_ad-button`,name:`Type=Link, Size=middle, Danger=true`,x:320,y:260,w:80,h:32,sizeX:`hug`,sizeY:`fixed`,children:[`n_ad-i-1i`,`n_ad-t-1j`],layout:{mode:`row`,gap:8,pad:[0,15,0,15],alignMain:`center`,alignCross:`center`},clip:!1,radius:`$antd/borderRadius`,variant:{Type:`Link`,Size:`middle`,Danger:`true`},main:!0},"n_ad-i-1i":{type:`vector`,id:`n_ad-i-1i`,parent:`n_ad-button-link-middle-danger`,name:`Icon`,x:0,y:0,w:14,h:14,sizeX:`fixed`,sizeY:`fixed`,asset:`kit:ant-design/plus-outlined`,hidden:!0,color:`$antd/colorError`,icon:{pack:`ant-design`,name:`plus-outlined`},bind:{visible:`Show icon`,swap:`Icon`}},"n_ad-t-1j":{type:`text`,id:`n_ad-t-1j`,parent:`n_ad-button-link-middle-danger`,name:`Label`,x:0,y:0,w:0,h:0,sizeX:`hug`,sizeY:`hug`,content:`Button`,style:`$antd/base`,fontSize:14,fontWeight:400,lineHeight:22,color:`$antd/colorError`,bind:{content:`Label`}},"n_ad-button-link-large-plain":{type:`frame`,id:`n_ad-button-link-large-plain`,parent:`n_ad-button`,name:`Type=Link, Size=large, Danger=false`,x:420,y:260,w:80,h:40,sizeX:`hug`,sizeY:`fixed`,children:[`n_ad-i-1k`,`n_ad-t-1l`],layout:{mode:`row`,gap:8,pad:[0,15,0,15],alignMain:`center`,alignCross:`center`},clip:!1,radius:`$antd/borderRadiusLG`,variant:{Type:`Link`,Size:`large`,Danger:`false`},main:!0},"n_ad-i-1k":{type:`vector`,id:`n_ad-i-1k`,parent:`n_ad-button-link-large-plain`,name:`Icon`,x:0,y:0,w:14,h:14,sizeX:`fixed`,sizeY:`fixed`,asset:`kit:ant-design/plus-outlined`,hidden:!0,color:`$antd/colorPrimary`,icon:{pack:`ant-design`,name:`plus-outlined`},bind:{visible:`Show icon`,swap:`Icon`}},"n_ad-t-1l":{type:`text`,id:`n_ad-t-1l`,parent:`n_ad-button-link-large-plain`,name:`Label`,x:0,y:0,w:0,h:0,sizeX:`hug`,sizeY:`hug`,content:`Button`,style:`$antd/lg`,fontSize:16,fontWeight:400,lineHeight:24,color:`$antd/colorPrimary`,bind:{content:`Label`}},"n_ad-button-link-large-danger":{type:`frame`,id:`n_ad-button-link-large-danger`,parent:`n_ad-button`,name:`Type=Link, Size=large, Danger=true`,x:520,y:260,w:80,h:40,sizeX:`hug`,sizeY:`fixed`,children:[`n_ad-i-1m`,`n_ad-t-1n`],layout:{mode:`row`,gap:8,pad:[0,15,0,15],alignMain:`center`,alignCross:`center`},clip:!1,radius:`$antd/borderRadiusLG`,variant:{Type:`Link`,Size:`large`,Danger:`true`},main:!0},"n_ad-i-1m":{type:`vector`,id:`n_ad-i-1m`,parent:`n_ad-button-link-large-danger`,name:`Icon`,x:0,y:0,w:14,h:14,sizeX:`fixed`,sizeY:`fixed`,asset:`kit:ant-design/plus-outlined`,hidden:!0,color:`$antd/colorError`,icon:{pack:`ant-design`,name:`plus-outlined`},bind:{visible:`Show icon`,swap:`Icon`}},"n_ad-t-1n":{type:`text`,id:`n_ad-t-1n`,parent:`n_ad-button-link-large-danger`,name:`Label`,x:0,y:0,w:0,h:0,sizeX:`hug`,sizeY:`hug`,content:`Button`,style:`$antd/lg`,fontSize:16,fontWeight:400,lineHeight:24,color:`$antd/colorError`,bind:{content:`Label`}},"n_ad-badge":{type:`frame`,id:`n_ad-badge`,parent:null,name:`Badge`,x:0,y:0,w:10,h:10,sizeX:`fixed`,sizeY:`fixed`,children:[`n_ad-badge-count`,`n_ad-badge-dot`],layout:{mode:`free`,gap:0,pad:[0,0,0,0],alignMain:`start`,alignCross:`start`},clip:!1,componentSet:!0,props:{Count:{type:`text`}}},"n_ad-badge-count":{type:`frame`,id:`n_ad-badge-count`,parent:`n_ad-badge`,name:`Type=count`,x:20,y:20,w:20,h:20,sizeX:`hug`,sizeY:`fixed`,children:[`n_ad-t-1o`],layout:{mode:`row`,gap:0,pad:[0,6,0,6],alignMain:`center`,alignCross:`center`},clip:!1,radius:10,variant:{Type:`count`},main:!0,fills:[{type:`solid`,color:`$antd/colorError`}]},"n_ad-t-1o":{type:`text`,id:`n_ad-t-1o`,parent:`n_ad-badge-count`,name:`Count`,x:0,y:0,w:0,h:0,sizeX:`hug`,sizeY:`hug`,content:`5`,style:`$antd/sm`,fontSize:12,fontWeight:400,lineHeight:20,color:`$antd/colorTextLightSolid`,bind:{content:`Count`}},"n_ad-badge-dot":{type:`frame`,id:`n_ad-badge-dot`,parent:`n_ad-badge`,name:`Type=dot`,x:60,y:20,w:6,h:6,sizeX:`fixed`,sizeY:`fixed`,children:[],layout:{mode:`free`,gap:0,pad:[0,0,0,0],alignMain:`start`,alignCross:`start`},clip:!1,radius:3,variant:{Type:`dot`},main:!0,fills:[{type:`solid`,color:`$antd/colorError`}]},"n_ad-tag":{type:`frame`,id:`n_ad-tag`,parent:null,name:`Tag`,x:0,y:0,w:10,h:10,sizeX:`fixed`,sizeY:`fixed`,children:[`n_ad-tag-default`,`n_ad-tag-processing`,`n_ad-tag-success`,`n_ad-tag-warning`,`n_ad-tag-error`],layout:{mode:`free`,gap:0,pad:[0,0,0,0],alignMain:`start`,alignCross:`start`},clip:!1,componentSet:!0,props:{Label:{type:`text`}}},"n_ad-tag-default":{type:`frame`,id:`n_ad-tag-default`,parent:`n_ad-tag`,name:`Color=default`,x:20,y:20,w:40,h:22,sizeX:`hug`,sizeY:`fixed`,children:[`n_ad-t-1p`],layout:{mode:`row`,gap:4,pad:[0,7,0,7],alignMain:`center`,alignCross:`center`},clip:!1,stroke:{color:`$antd/colorBorder`,width:1},radius:`$antd/borderRadiusSM`,variant:{Color:`default`},main:!0,fills:[{type:`solid`,color:`$antd/colorFillQuaternary`}]},"n_ad-t-1p":{type:`text`,id:`n_ad-t-1p`,parent:`n_ad-tag-default`,name:`Label`,x:0,y:0,w:0,h:0,sizeX:`hug`,sizeY:`hug`,content:`Tag`,style:`$antd/sm`,fontSize:12,fontWeight:400,lineHeight:20,color:`$antd/colorText`,bind:{content:`Label`}},"n_ad-tag-processing":{type:`frame`,id:`n_ad-tag-processing`,parent:`n_ad-tag`,name:`Color=processing`,x:80,y:20,w:40,h:22,sizeX:`hug`,sizeY:`fixed`,children:[`n_ad-t-1q`],layout:{mode:`row`,gap:4,pad:[0,7,0,7],alignMain:`center`,alignCross:`center`},clip:!1,stroke:{color:`$antd/colorInfoBorder`,width:1},radius:`$antd/borderRadiusSM`,variant:{Color:`processing`},main:!0,fills:[{type:`solid`,color:`$antd/colorInfoBg`}]},"n_ad-t-1q":{type:`text`,id:`n_ad-t-1q`,parent:`n_ad-tag-processing`,name:`Label`,x:0,y:0,w:0,h:0,sizeX:`hug`,sizeY:`hug`,content:`Tag`,style:`$antd/sm`,fontSize:12,fontWeight:400,lineHeight:20,color:`$antd/colorInfo`,bind:{content:`Label`}},"n_ad-tag-success":{type:`frame`,id:`n_ad-tag-success`,parent:`n_ad-tag`,name:`Color=success`,x:140,y:20,w:40,h:22,sizeX:`hug`,sizeY:`fixed`,children:[`n_ad-t-1r`],layout:{mode:`row`,gap:4,pad:[0,7,0,7],alignMain:`center`,alignCross:`center`},clip:!1,stroke:{color:`$antd/colorSuccessBorder`,width:1},radius:`$antd/borderRadiusSM`,variant:{Color:`success`},main:!0,fills:[{type:`solid`,color:`$antd/colorSuccessBg`}]},"n_ad-t-1r":{type:`text`,id:`n_ad-t-1r`,parent:`n_ad-tag-success`,name:`Label`,x:0,y:0,w:0,h:0,sizeX:`hug`,sizeY:`hug`,content:`Tag`,style:`$antd/sm`,fontSize:12,fontWeight:400,lineHeight:20,color:`$antd/colorSuccess`,bind:{content:`Label`}},"n_ad-tag-warning":{type:`frame`,id:`n_ad-tag-warning`,parent:`n_ad-tag`,name:`Color=warning`,x:200,y:20,w:40,h:22,sizeX:`hug`,sizeY:`fixed`,children:[`n_ad-t-1s`],layout:{mode:`row`,gap:4,pad:[0,7,0,7],alignMain:`center`,alignCross:`center`},clip:!1,stroke:{color:`$antd/colorWarningBorder`,width:1},radius:`$antd/borderRadiusSM`,variant:{Color:`warning`},main:!0,fills:[{type:`solid`,color:`$antd/colorWarningBg`}]},"n_ad-t-1s":{type:`text`,id:`n_ad-t-1s`,parent:`n_ad-tag-warning`,name:`Label`,x:0,y:0,w:0,h:0,sizeX:`hug`,sizeY:`hug`,content:`Tag`,style:`$antd/sm`,fontSize:12,fontWeight:400,lineHeight:20,color:`$antd/colorWarning`,bind:{content:`Label`}},"n_ad-tag-error":{type:`frame`,id:`n_ad-tag-error`,parent:`n_ad-tag`,name:`Color=error`,x:260,y:20,w:40,h:22,sizeX:`hug`,sizeY:`fixed`,children:[`n_ad-t-1t`],layout:{mode:`row`,gap:4,pad:[0,7,0,7],alignMain:`center`,alignCross:`center`},clip:!1,stroke:{color:`$antd/colorErrorBorder`,width:1},radius:`$antd/borderRadiusSM`,variant:{Color:`error`},main:!0,fills:[{type:`solid`,color:`$antd/colorErrorBg`}]},"n_ad-t-1t":{type:`text`,id:`n_ad-t-1t`,parent:`n_ad-tag-error`,name:`Label`,x:0,y:0,w:0,h:0,sizeX:`hug`,sizeY:`hug`,content:`Tag`,style:`$antd/sm`,fontSize:12,fontWeight:400,lineHeight:20,color:`$antd/colorError`,bind:{content:`Label`}},"n_ad-input":{type:`frame`,id:`n_ad-input`,parent:null,name:`Input`,x:0,y:0,w:240,h:32,sizeX:`fixed`,sizeY:`fixed`,children:[`n_ad-t-1u`],layout:{mode:`row`,gap:4,pad:[4,11,4,11],alignMain:`start`,alignCross:`center`},clip:!1,stroke:{color:`$antd/colorBorder`,width:1},radius:`$antd/borderRadius`,main:!0,props:{Placeholder:{type:`text`}},fills:[{type:`solid`,color:`$antd/colorBgContainer`}]},"n_ad-t-1u":{type:`text`,id:`n_ad-t-1u`,parent:`n_ad-input`,name:`Placeholder`,x:0,y:0,w:0,h:0,sizeX:`fill`,sizeY:`hug`,content:`Basic usage`,style:`$antd/base`,fontSize:14,fontWeight:400,lineHeight:22,color:`$antd/colorTextPlaceholder`,bind:{content:`Placeholder`}},"n_ad-textarea":{type:`frame`,id:`n_ad-textarea`,parent:null,name:`TextArea`,x:0,y:0,w:240,h:54,sizeX:`fixed`,sizeY:`fixed`,children:[`n_ad-t-1v`],layout:{mode:`row`,gap:4,pad:[4,11,4,11],alignMain:`start`,alignCross:`start`},clip:!1,stroke:{color:`$antd/colorBorder`,width:1},radius:`$antd/borderRadius`,main:!0,props:{Placeholder:{type:`text`}},fills:[{type:`solid`,color:`$antd/colorBgContainer`}]},"n_ad-t-1v":{type:`text`,id:`n_ad-t-1v`,parent:`n_ad-textarea`,name:`Placeholder`,x:0,y:0,w:0,h:0,sizeX:`fill`,sizeY:`hug`,content:`Basic usage`,style:`$antd/base`,fontSize:14,fontWeight:400,lineHeight:22,color:`$antd/colorTextPlaceholder`,bind:{content:`Placeholder`}},"n_ad-select":{type:`frame`,id:`n_ad-select`,parent:null,name:`Select`,x:0,y:0,w:120,h:32,sizeX:`fixed`,sizeY:`fixed`,children:[`n_ad-t-1w`,`n_ad-i-1x`],layout:{mode:`row`,gap:0,pad:[0,11,0,11],alignMain:`between`,alignCross:`center`},clip:!1,stroke:{color:`$antd/colorBorder`,width:1},radius:`$antd/borderRadius`,main:!0,props:{Value:{type:`text`}},fills:[{type:`solid`,color:`$antd/colorBgContainer`}]},"n_ad-t-1w":{type:`text`,id:`n_ad-t-1w`,parent:`n_ad-select`,name:`Value`,x:0,y:0,w:0,h:0,sizeX:`hug`,sizeY:`hug`,content:`Select`,style:`$antd/base`,fontSize:14,fontWeight:400,lineHeight:22,color:`$antd/colorTextPlaceholder`,bind:{content:`Value`}},"n_ad-i-1x":{type:`vector`,id:`n_ad-i-1x`,parent:`n_ad-select`,name:`Icon`,x:0,y:0,w:12,h:12,sizeX:`fixed`,sizeY:`fixed`,asset:`kit:ant-design/down-outlined`,color:`$antd/colorTextQuaternary`,icon:{pack:`ant-design`,name:`down-outlined`}},"n_ad-checkbox":{type:`frame`,id:`n_ad-checkbox`,parent:null,name:`Checkbox`,x:0,y:0,w:10,h:10,sizeX:`fixed`,sizeY:`fixed`,children:[`n_ad-checkbox-true`,`n_ad-checkbox-false`],layout:{mode:`free`,gap:0,pad:[0,0,0,0],alignMain:`start`,alignCross:`start`},clip:!1,componentSet:!0,props:{Label:{type:`text`},"Show label":{type:`boolean`}}},"n_ad-checkbox-true":{type:`frame`,id:`n_ad-checkbox-true`,parent:`n_ad-checkbox`,name:`Checked=true`,x:20,y:20,w:100,h:22,sizeX:`hug`,sizeY:`hug`,children:[`n_ad-f-1y`,`n_ad-t-20`],layout:{mode:`row`,gap:8,pad:[0,0,0,0],alignMain:`start`,alignCross:`center`},clip:!1,variant:{Checked:`true`},main:!0},"n_ad-f-1y":{type:`frame`,id:`n_ad-f-1y`,parent:`n_ad-checkbox-true`,name:`Box`,x:0,y:0,w:16,h:16,sizeX:`fixed`,sizeY:`fixed`,children:[`n_ad-i-1z`],layout:{mode:`row`,gap:0,pad:[0,0,0,0],alignMain:`center`,alignCross:`center`},clip:!1,stroke:{color:`$antd/colorPrimary`,width:1},radius:`$antd/borderRadiusSM`,fills:[{type:`solid`,color:`$antd/colorPrimary`}]},"n_ad-i-1z":{type:`vector`,id:`n_ad-i-1z`,parent:`n_ad-f-1y`,name:`Icon`,x:0,y:0,w:10,h:10,sizeX:`fixed`,sizeY:`fixed`,asset:`kit:ant-design/check-outlined`,color:`$antd/colorTextLightSolid`,icon:{pack:`ant-design`,name:`check-outlined`}},"n_ad-t-20":{type:`text`,id:`n_ad-t-20`,parent:`n_ad-checkbox-true`,name:`Label`,x:0,y:0,w:0,h:0,sizeX:`hug`,sizeY:`hug`,content:`Checkbox`,style:`$antd/base`,fontSize:14,fontWeight:400,lineHeight:22,color:`$antd/colorText`,bind:{content:`Label`,visible:`Show label`}},"n_ad-checkbox-false":{type:`frame`,id:`n_ad-checkbox-false`,parent:`n_ad-checkbox`,name:`Checked=false`,x:140,y:20,w:100,h:22,sizeX:`hug`,sizeY:`hug`,children:[`n_ad-f-21`,`n_ad-t-22`],layout:{mode:`row`,gap:8,pad:[0,0,0,0],alignMain:`start`,alignCross:`center`},clip:!1,variant:{Checked:`false`},main:!0},"n_ad-f-21":{type:`frame`,id:`n_ad-f-21`,parent:`n_ad-checkbox-false`,name:`Box`,x:0,y:0,w:16,h:16,sizeX:`fixed`,sizeY:`fixed`,children:[],layout:{mode:`row`,gap:0,pad:[0,0,0,0],alignMain:`center`,alignCross:`center`},clip:!1,stroke:{color:`$antd/colorBorder`,width:1},radius:`$antd/borderRadiusSM`,fills:[{type:`solid`,color:`$antd/colorBgContainer`}]},"n_ad-t-22":{type:`text`,id:`n_ad-t-22`,parent:`n_ad-checkbox-false`,name:`Label`,x:0,y:0,w:0,h:0,sizeX:`hug`,sizeY:`hug`,content:`Checkbox`,style:`$antd/base`,fontSize:14,fontWeight:400,lineHeight:22,color:`$antd/colorText`,bind:{content:`Label`,visible:`Show label`}},"n_ad-switch":{type:`frame`,id:`n_ad-switch`,parent:null,name:`Switch`,x:0,y:0,w:10,h:10,sizeX:`fixed`,sizeY:`fixed`,children:[`n_ad-switch-true`,`n_ad-switch-false`],layout:{mode:`free`,gap:0,pad:[0,0,0,0],alignMain:`start`,alignCross:`start`},clip:!1,componentSet:!0,props:{Label:{type:`text`},"Show label":{type:`boolean`}}},"n_ad-switch-true":{type:`frame`,id:`n_ad-switch-true`,parent:`n_ad-switch`,name:`Checked=true`,x:20,y:20,w:100,h:22,sizeX:`hug`,sizeY:`hug`,children:[`n_ad-f-23`,`n_ad-t-25`],layout:{mode:`row`,gap:8,pad:[0,0,0,0],alignMain:`start`,alignCross:`center`},clip:!1,variant:{Checked:`true`},main:!0},"n_ad-f-23":{type:`frame`,id:`n_ad-f-23`,parent:`n_ad-switch-true`,name:`Track`,x:0,y:0,w:44,h:22,sizeX:`fixed`,sizeY:`fixed`,children:[`n_ad-f-24`],layout:{mode:`row`,gap:0,pad:[0,2,0,2],alignMain:`end`,alignCross:`center`},clip:!1,radius:11,fills:[{type:`solid`,color:`$antd/colorPrimary`}]},"n_ad-f-24":{type:`frame`,id:`n_ad-f-24`,parent:`n_ad-f-23`,name:`Handle`,x:0,y:0,w:18,h:18,sizeX:`fixed`,sizeY:`fixed`,children:[],layout:{mode:`free`,gap:0,pad:[0,0,0,0],alignMain:`start`,alignCross:`start`},clip:!1,radius:9,fills:[{type:`solid`,color:`$antd/colorWhite`}]},"n_ad-t-25":{type:`text`,id:`n_ad-t-25`,parent:`n_ad-switch-true`,name:`Label`,x:0,y:0,w:0,h:0,sizeX:`hug`,sizeY:`hug`,content:`Switch`,style:`$antd/base`,fontSize:14,fontWeight:400,lineHeight:22,color:`$antd/colorText`,bind:{content:`Label`,visible:`Show label`}},"n_ad-switch-false":{type:`frame`,id:`n_ad-switch-false`,parent:`n_ad-switch`,name:`Checked=false`,x:140,y:20,w:100,h:22,sizeX:`hug`,sizeY:`hug`,children:[`n_ad-f-26`,`n_ad-t-28`],layout:{mode:`row`,gap:8,pad:[0,0,0,0],alignMain:`start`,alignCross:`center`},clip:!1,variant:{Checked:`false`},main:!0},"n_ad-f-26":{type:`frame`,id:`n_ad-f-26`,parent:`n_ad-switch-false`,name:`Track`,x:0,y:0,w:44,h:22,sizeX:`fixed`,sizeY:`fixed`,children:[`n_ad-f-27`],layout:{mode:`row`,gap:0,pad:[0,2,0,2],alignMain:`start`,alignCross:`center`},clip:!1,radius:11,fills:[{type:`solid`,color:`$antd/colorTextQuaternary`}]},"n_ad-f-27":{type:`frame`,id:`n_ad-f-27`,parent:`n_ad-f-26`,name:`Handle`,x:0,y:0,w:18,h:18,sizeX:`fixed`,sizeY:`fixed`,children:[],layout:{mode:`free`,gap:0,pad:[0,0,0,0],alignMain:`start`,alignCross:`start`},clip:!1,radius:9,fills:[{type:`solid`,color:`$antd/colorWhite`}]},"n_ad-t-28":{type:`text`,id:`n_ad-t-28`,parent:`n_ad-switch-false`,name:`Label`,x:0,y:0,w:0,h:0,sizeX:`hug`,sizeY:`hug`,content:`Switch`,style:`$antd/base`,fontSize:14,fontWeight:400,lineHeight:22,color:`$antd/colorText`,bind:{content:`Label`,visible:`Show label`}},"n_ad-radio":{type:`frame`,id:`n_ad-radio`,parent:null,name:`Radio`,x:0,y:0,w:10,h:10,sizeX:`fixed`,sizeY:`fixed`,children:[`n_ad-radio-true`,`n_ad-radio-false`],layout:{mode:`free`,gap:0,pad:[0,0,0,0],alignMain:`start`,alignCross:`start`},clip:!1,componentSet:!0,props:{Label:{type:`text`}}},"n_ad-radio-true":{type:`frame`,id:`n_ad-radio-true`,parent:`n_ad-radio`,name:`Checked=true`,x:20,y:20,w:100,h:22,sizeX:`hug`,sizeY:`hug`,children:[`n_ad-f-29`,`n_ad-t-2b`],layout:{mode:`row`,gap:8,pad:[0,0,0,0],alignMain:`start`,alignCross:`center`},clip:!1,variant:{Checked:`true`},main:!0},"n_ad-f-29":{type:`frame`,id:`n_ad-f-29`,parent:`n_ad-radio-true`,name:`Circle`,x:0,y:0,w:16,h:16,sizeX:`fixed`,sizeY:`fixed`,children:[`n_ad-f-2a`],layout:{mode:`row`,gap:0,pad:[0,0,0,0],alignMain:`center`,alignCross:`center`},clip:!1,stroke:{color:`$antd/colorPrimary`,width:1},radius:8,fills:[{type:`solid`,color:`$antd/colorPrimary`}]},"n_ad-f-2a":{type:`frame`,id:`n_ad-f-2a`,parent:`n_ad-f-29`,name:`Dot`,x:0,y:0,w:8,h:8,sizeX:`fixed`,sizeY:`fixed`,children:[],layout:{mode:`free`,gap:0,pad:[0,0,0,0],alignMain:`start`,alignCross:`start`},clip:!1,radius:4,fills:[{type:`solid`,color:`$antd/colorWhite`}]},"n_ad-t-2b":{type:`text`,id:`n_ad-t-2b`,parent:`n_ad-radio-true`,name:`Label`,x:0,y:0,w:0,h:0,sizeX:`hug`,sizeY:`hug`,content:`Radio`,style:`$antd/base`,fontSize:14,fontWeight:400,lineHeight:22,color:`$antd/colorText`,bind:{content:`Label`}},"n_ad-radio-false":{type:`frame`,id:`n_ad-radio-false`,parent:`n_ad-radio`,name:`Checked=false`,x:140,y:20,w:100,h:22,sizeX:`hug`,sizeY:`hug`,children:[`n_ad-f-2c`,`n_ad-t-2d`],layout:{mode:`row`,gap:8,pad:[0,0,0,0],alignMain:`start`,alignCross:`center`},clip:!1,variant:{Checked:`false`},main:!0},"n_ad-f-2c":{type:`frame`,id:`n_ad-f-2c`,parent:`n_ad-radio-false`,name:`Circle`,x:0,y:0,w:16,h:16,sizeX:`fixed`,sizeY:`fixed`,children:[],layout:{mode:`row`,gap:0,pad:[0,0,0,0],alignMain:`center`,alignCross:`center`},clip:!1,stroke:{color:`$antd/colorBorder`,width:1},radius:8,fills:[{type:`solid`,color:`$antd/colorBgContainer`}]},"n_ad-t-2d":{type:`text`,id:`n_ad-t-2d`,parent:`n_ad-radio-false`,name:`Label`,x:0,y:0,w:0,h:0,sizeX:`hug`,sizeY:`hug`,content:`Radio`,style:`$antd/base`,fontSize:14,fontWeight:400,lineHeight:22,color:`$antd/colorText`,bind:{content:`Label`}},"n_ad-card":{type:`frame`,id:`n_ad-card`,parent:null,name:`Card`,x:0,y:0,w:300,h:160,sizeX:`fixed`,sizeY:`hug`,children:[`n_ad-f-2e`,`n_ad-f-2g`],layout:{mode:`column`,gap:0,pad:[0,0,0,0],alignMain:`start`,alignCross:`start`},clip:!1,stroke:{color:`$antd/colorBorderSecondary`,width:1},radius:`$antd/borderRadiusLG`,main:!0,props:{Title:{type:`text`},Content:{type:`text`}},fills:[{type:`solid`,color:`$antd/colorBgContainer`}]},"n_ad-f-2e":{type:`frame`,id:`n_ad-f-2e`,parent:`n_ad-card`,name:`Head`,x:0,y:0,w:100,h:56,sizeX:`fill`,sizeY:`fixed`,children:[`n_ad-t-2f`],layout:{mode:`row`,gap:0,pad:[0,24,0,24],alignMain:`start`,alignCross:`center`},clip:!1,stroke:{color:`$antd/colorBorderSecondary`,width:1,sides:[0,0,1,0]}},"n_ad-t-2f":{type:`text`,id:`n_ad-t-2f`,parent:`n_ad-f-2e`,name:`Title`,x:0,y:0,w:0,h:0,sizeX:`fill`,sizeY:`hug`,content:`Card title`,style:`$antd/lg`,fontSize:16,fontWeight:600,lineHeight:24,color:`$antd/colorText`,bind:{content:`Title`}},"n_ad-f-2g":{type:`frame`,id:`n_ad-f-2g`,parent:`n_ad-card`,name:`Body`,x:0,y:0,w:100,h:100,sizeX:`fill`,sizeY:`hug`,children:[`n_ad-t-2h`],layout:{mode:`column`,gap:0,pad:[24,24,24,24],alignMain:`start`,alignCross:`start`},clip:!1},"n_ad-t-2h":{type:`text`,id:`n_ad-t-2h`,parent:`n_ad-f-2g`,name:`Content`,x:0,y:0,w:0,h:0,sizeX:`fill`,sizeY:`hug`,content:`Card content`,style:`$antd/base`,fontSize:14,fontWeight:400,lineHeight:22,color:`$antd/colorText`,bind:{content:`Content`}},"n_ad-avatar":{type:`frame`,id:`n_ad-avatar`,parent:null,name:`Avatar`,x:0,y:0,w:10,h:10,sizeX:`fixed`,sizeY:`fixed`,children:[`n_ad-avatar-circle`,`n_ad-avatar-square`],layout:{mode:`free`,gap:0,pad:[0,0,0,0],alignMain:`start`,alignCross:`start`},clip:!1,componentSet:!0,props:{Initials:{type:`text`}}},"n_ad-avatar-circle":{type:`frame`,id:`n_ad-avatar-circle`,parent:`n_ad-avatar`,name:`Shape=circle`,x:20,y:20,w:32,h:32,sizeX:`fixed`,sizeY:`fixed`,children:[`n_ad-t-2i`],layout:{mode:`row`,gap:0,pad:[0,0,0,0],alignMain:`center`,alignCross:`center`},clip:!1,radius:16,variant:{Shape:`circle`},main:!0,fills:[{type:`solid`,color:`$antd/colorTextPlaceholder`}]},"n_ad-t-2i":{type:`text`,id:`n_ad-t-2i`,parent:`n_ad-avatar-circle`,name:`Initials`,x:0,y:0,w:0,h:0,sizeX:`hug`,sizeY:`hug`,content:`U`,style:`$antd/base`,fontSize:14,fontWeight:400,lineHeight:22,color:`$antd/colorTextLightSolid`,bind:{content:`Initials`}},"n_ad-avatar-square":{type:`frame`,id:`n_ad-avatar-square`,parent:`n_ad-avatar`,name:`Shape=square`,x:72,y:20,w:32,h:32,sizeX:`fixed`,sizeY:`fixed`,children:[`n_ad-t-2j`],layout:{mode:`row`,gap:0,pad:[0,0,0,0],alignMain:`center`,alignCross:`center`},clip:!1,radius:`$antd/borderRadius`,variant:{Shape:`square`},main:!0,fills:[{type:`solid`,color:`$antd/colorTextPlaceholder`}]},"n_ad-t-2j":{type:`text`,id:`n_ad-t-2j`,parent:`n_ad-avatar-square`,name:`Initials`,x:0,y:0,w:0,h:0,sizeX:`hug`,sizeY:`hug`,content:`U`,style:`$antd/base`,fontSize:14,fontWeight:400,lineHeight:22,color:`$antd/colorTextLightSolid`,bind:{content:`Initials`}},"n_ad-tab":{type:`frame`,id:`n_ad-tab`,parent:null,name:`Tab`,x:0,y:0,w:10,h:10,sizeX:`fixed`,sizeY:`fixed`,children:[`n_ad-tab-true`,`n_ad-tab-false`],layout:{mode:`free`,gap:0,pad:[0,0,0,0],alignMain:`start`,alignCross:`start`},clip:!1,componentSet:!0,props:{Label:{type:`text`}}},"n_ad-tab-true":{type:`frame`,id:`n_ad-tab-true`,parent:`n_ad-tab`,name:`Active=true`,x:20,y:20,w:60,h:48,sizeX:`hug`,sizeY:`hug`,children:[`n_ad-f-2k`,`n_ad-f-2m`],layout:{mode:`column`,gap:0,pad:[0,0,0,0],alignMain:`start`,alignCross:`center`},clip:!1,variant:{Active:`true`},main:!0},"n_ad-f-2k":{type:`frame`,id:`n_ad-f-2k`,parent:`n_ad-tab-true`,name:`Label`,x:0,y:0,w:60,h:46,sizeX:`hug`,sizeY:`hug`,children:[`n_ad-t-2l`],layout:{mode:`row`,gap:0,pad:[12,0,12,0],alignMain:`start`,alignCross:`center`},clip:!1},"n_ad-t-2l":{type:`text`,id:`n_ad-t-2l`,parent:`n_ad-f-2k`,name:`Label`,x:0,y:0,w:0,h:0,sizeX:`hug`,sizeY:`hug`,content:`Tab 1`,style:`$antd/base`,fontSize:14,fontWeight:400,lineHeight:22,color:`$antd/colorPrimary`,bind:{content:`Label`}},"n_ad-f-2m":{type:`frame`,id:`n_ad-f-2m`,parent:`n_ad-tab-true`,name:`Ink bar`,x:0,y:0,w:60,h:2,sizeX:`fill`,sizeY:`fixed`,children:[],layout:{mode:`free`,gap:0,pad:[0,0,0,0],alignMain:`start`,alignCross:`start`},clip:!1,fills:[{type:`solid`,color:`$antd/colorPrimary`}]},"n_ad-tab-false":{type:`frame`,id:`n_ad-tab-false`,parent:`n_ad-tab`,name:`Active=false`,x:100,y:20,w:60,h:48,sizeX:`hug`,sizeY:`hug`,children:[`n_ad-f-2n`,`n_ad-f-2p`],layout:{mode:`column`,gap:0,pad:[0,0,0,0],alignMain:`start`,alignCross:`center`},clip:!1,variant:{Active:`false`},main:!0},"n_ad-f-2n":{type:`frame`,id:`n_ad-f-2n`,parent:`n_ad-tab-false`,name:`Label`,x:0,y:0,w:60,h:46,sizeX:`hug`,sizeY:`hug`,children:[`n_ad-t-2o`],layout:{mode:`row`,gap:0,pad:[12,0,12,0],alignMain:`start`,alignCross:`center`},clip:!1},"n_ad-t-2o":{type:`text`,id:`n_ad-t-2o`,parent:`n_ad-f-2n`,name:`Label`,x:0,y:0,w:0,h:0,sizeX:`hug`,sizeY:`hug`,content:`Tab 1`,style:`$antd/base`,fontSize:14,fontWeight:400,lineHeight:22,color:`$antd/colorText`,bind:{content:`Label`}},"n_ad-f-2p":{type:`frame`,id:`n_ad-f-2p`,parent:`n_ad-tab-false`,name:`Ink bar`,x:0,y:0,w:60,h:2,sizeX:`fill`,sizeY:`fixed`,children:[],layout:{mode:`free`,gap:0,pad:[0,0,0,0],alignMain:`start`,alignCross:`start`},clip:!1},"n_ad-tabs":{type:`frame`,id:`n_ad-tabs`,parent:null,name:`Tabs`,x:0,y:0,w:300,h:48,sizeX:`hug`,sizeY:`hug`,children:[`n_ad-n-2q`,`n_ad-n-2r`,`n_ad-n-2s`],layout:{mode:`row`,gap:32,pad:[0,0,0,0],alignMain:`start`,alignCross:`end`},clip:!1,stroke:{color:`$antd/colorSplit`,width:1,sides:[0,0,1,0]},main:!0},"n_ad-n-2q":{type:`frame`,id:`n_ad-n-2q`,parent:`n_ad-tabs`,name:`Tab`,x:0,y:0,w:100,h:100,sizeX:`fixed`,sizeY:`fixed`,children:[],layout:{mode:`free`,gap:0,pad:[0,0,0,0],alignMain:`start`,alignCross:`start`},clip:!1,values:{Label:`Tab 1`},instanceOf:`n_ad-tab-true`},"n_ad-n-2r":{type:`frame`,id:`n_ad-n-2r`,parent:`n_ad-tabs`,name:`Tab`,x:0,y:0,w:100,h:100,sizeX:`fixed`,sizeY:`fixed`,children:[],layout:{mode:`free`,gap:0,pad:[0,0,0,0],alignMain:`start`,alignCross:`start`},clip:!1,values:{Label:`Tab 2`},instanceOf:`n_ad-tab-false`},"n_ad-n-2s":{type:`frame`,id:`n_ad-n-2s`,parent:`n_ad-tabs`,name:`Tab`,x:0,y:0,w:100,h:100,sizeX:`fixed`,sizeY:`fixed`,children:[],layout:{mode:`free`,gap:0,pad:[0,0,0,0],alignMain:`start`,alignCross:`start`},clip:!1,values:{Label:`Tab 3`},instanceOf:`n_ad-tab-false`},"n_ad-alert":{type:`frame`,id:`n_ad-alert`,parent:null,name:`Alert`,x:0,y:0,w:10,h:10,sizeX:`fixed`,sizeY:`fixed`,children:[`n_ad-alert-success`,`n_ad-alert-info`,`n_ad-alert-warning`,`n_ad-alert-error`],layout:{mode:`free`,gap:0,pad:[0,0,0,0],alignMain:`start`,alignCross:`start`},clip:!1,componentSet:!0,props:{Message:{type:`text`}}},"n_ad-alert-success":{type:`frame`,id:`n_ad-alert-success`,parent:`n_ad-alert`,name:`Type=success`,x:20,y:20,w:400,h:40,sizeX:`fixed`,sizeY:`hug`,children:[`n_ad-i-2t`,`n_ad-t-2u`],layout:{mode:`row`,gap:8,pad:[8,12,8,12],alignMain:`start`,alignCross:`center`},clip:!1,stroke:{color:`$antd/colorSuccessBorder`,width:1},radius:`$antd/borderRadiusLG`,variant:{Type:`success`},main:!0,fills:[{type:`solid`,color:`$antd/colorSuccessBg`}]},"n_ad-i-2t":{type:`vector`,id:`n_ad-i-2t`,parent:`n_ad-alert-success`,name:`Icon`,x:0,y:0,w:14,h:14,sizeX:`fixed`,sizeY:`fixed`,asset:`kit:ant-design/check-circle-filled`,color:`$antd/colorSuccess`,icon:{pack:`ant-design`,name:`check-circle-filled`}},"n_ad-t-2u":{type:`text`,id:`n_ad-t-2u`,parent:`n_ad-alert-success`,name:`Message`,x:0,y:0,w:0,h:0,sizeX:`fill`,sizeY:`hug`,content:`Success Text`,style:`$antd/base`,fontSize:14,fontWeight:400,lineHeight:22,color:`$antd/colorText`,bind:{content:`Message`}},"n_ad-alert-info":{type:`frame`,id:`n_ad-alert-info`,parent:`n_ad-alert`,name:`Type=info`,x:20,y:80,w:400,h:40,sizeX:`fixed`,sizeY:`hug`,children:[`n_ad-i-2v`,`n_ad-t-2w`],layout:{mode:`row`,gap:8,pad:[8,12,8,12],alignMain:`start`,alignCross:`center`},clip:!1,stroke:{color:`$antd/colorInfoBorder`,width:1},radius:`$antd/borderRadiusLG`,variant:{Type:`info`},main:!0,fills:[{type:`solid`,color:`$antd/colorInfoBg`}]},"n_ad-i-2v":{type:`vector`,id:`n_ad-i-2v`,parent:`n_ad-alert-info`,name:`Icon`,x:0,y:0,w:14,h:14,sizeX:`fixed`,sizeY:`fixed`,asset:`kit:ant-design/info-circle-filled`,color:`$antd/colorInfo`,icon:{pack:`ant-design`,name:`info-circle-filled`}},"n_ad-t-2w":{type:`text`,id:`n_ad-t-2w`,parent:`n_ad-alert-info`,name:`Message`,x:0,y:0,w:0,h:0,sizeX:`fill`,sizeY:`hug`,content:`Info Text`,style:`$antd/base`,fontSize:14,fontWeight:400,lineHeight:22,color:`$antd/colorText`,bind:{content:`Message`}},"n_ad-alert-warning":{type:`frame`,id:`n_ad-alert-warning`,parent:`n_ad-alert`,name:`Type=warning`,x:20,y:140,w:400,h:40,sizeX:`fixed`,sizeY:`hug`,children:[`n_ad-i-2x`,`n_ad-t-2y`],layout:{mode:`row`,gap:8,pad:[8,12,8,12],alignMain:`start`,alignCross:`center`},clip:!1,stroke:{color:`$antd/colorWarningBorder`,width:1},radius:`$antd/borderRadiusLG`,variant:{Type:`warning`},main:!0,fills:[{type:`solid`,color:`$antd/colorWarningBg`}]},"n_ad-i-2x":{type:`vector`,id:`n_ad-i-2x`,parent:`n_ad-alert-warning`,name:`Icon`,x:0,y:0,w:14,h:14,sizeX:`fixed`,sizeY:`fixed`,asset:`kit:ant-design/exclamation-circle-filled`,color:`$antd/colorWarning`,icon:{pack:`ant-design`,name:`exclamation-circle-filled`}},"n_ad-t-2y":{type:`text`,id:`n_ad-t-2y`,parent:`n_ad-alert-warning`,name:`Message`,x:0,y:0,w:0,h:0,sizeX:`fill`,sizeY:`hug`,content:`Warning Text`,style:`$antd/base`,fontSize:14,fontWeight:400,lineHeight:22,color:`$antd/colorText`,bind:{content:`Message`}},"n_ad-alert-error":{type:`frame`,id:`n_ad-alert-error`,parent:`n_ad-alert`,name:`Type=error`,x:20,y:200,w:400,h:40,sizeX:`fixed`,sizeY:`hug`,children:[`n_ad-i-2z`,`n_ad-t-30`],layout:{mode:`row`,gap:8,pad:[8,12,8,12],alignMain:`start`,alignCross:`center`},clip:!1,stroke:{color:`$antd/colorErrorBorder`,width:1},radius:`$antd/borderRadiusLG`,variant:{Type:`error`},main:!0,fills:[{type:`solid`,color:`$antd/colorErrorBg`}]},"n_ad-i-2z":{type:`vector`,id:`n_ad-i-2z`,parent:`n_ad-alert-error`,name:`Icon`,x:0,y:0,w:14,h:14,sizeX:`fixed`,sizeY:`fixed`,asset:`kit:ant-design/close-circle-filled`,color:`$antd/colorError`,icon:{pack:`ant-design`,name:`close-circle-filled`}},"n_ad-t-30":{type:`text`,id:`n_ad-t-30`,parent:`n_ad-alert-error`,name:`Message`,x:0,y:0,w:0,h:0,sizeX:`fill`,sizeY:`hug`,content:`Error Text`,style:`$antd/base`,fontSize:14,fontWeight:400,lineHeight:22,color:`$antd/colorText`,bind:{content:`Message`}},"n_ad-divider":{type:`frame`,id:`n_ad-divider`,parent:null,name:`Divider`,x:0,y:0,w:10,h:10,sizeX:`fixed`,sizeY:`fixed`,children:[`n_ad-divider-horizontal`,`n_ad-divider-vertical`],layout:{mode:`free`,gap:0,pad:[0,0,0,0],alignMain:`start`,alignCross:`start`},clip:!1,componentSet:!0},"n_ad-divider-horizontal":{type:`frame`,id:`n_ad-divider-horizontal`,parent:`n_ad-divider`,name:`Type=horizontal`,x:20,y:20,w:300,h:1,sizeX:`fixed`,sizeY:`fixed`,children:[],layout:{mode:`free`,gap:0,pad:[0,0,0,0],alignMain:`start`,alignCross:`start`},clip:!1,variant:{Type:`horizontal`},main:!0,fills:[{type:`solid`,color:`$antd/colorSplit`}]},"n_ad-divider-vertical":{type:`frame`,id:`n_ad-divider-vertical`,parent:`n_ad-divider`,name:`Type=vertical`,x:340,y:20,w:1,h:14,sizeX:`fixed`,sizeY:`fixed`,children:[],layout:{mode:`free`,gap:0,pad:[0,0,0,0],alignMain:`start`,alignCross:`start`},clip:!1,variant:{Type:`vertical`},main:!0,fills:[{type:`solid`,color:`$antd/colorSplit`}]},"n_ad-tooltip":{type:`frame`,id:`n_ad-tooltip`,parent:null,name:`Tooltip`,x:0,y:0,w:100,h:32,sizeX:`hug`,sizeY:`hug`,children:[`n_ad-t-31`],layout:{mode:`row`,gap:0,pad:[6,8,6,8],alignMain:`start`,alignCross:`center`},clip:!1,radius:`$antd/borderRadius`,main:!0,props:{Title:{type:`text`}},fills:[{type:`solid`,color:`$antd/colorBgSpotlight`}]},"n_ad-t-31":{type:`text`,id:`n_ad-t-31`,parent:`n_ad-tooltip`,name:`Title`,x:0,y:0,w:0,h:0,sizeX:`hug`,sizeY:`hug`,content:`prompt text`,style:`$antd/base`,fontSize:14,fontWeight:400,lineHeight:22,color:`$antd/colorTextLightSolid`,bind:{content:`Title`}},"n_ad-menu-item":{type:`frame`,id:`n_ad-menu-item`,parent:null,name:`Dropdown item`,x:0,y:0,w:10,h:10,sizeX:`fixed`,sizeY:`fixed`,children:[`n_ad-menu-item-default`,`n_ad-menu-item-danger`],layout:{mode:`free`,gap:0,pad:[0,0,0,0],alignMain:`start`,alignCross:`start`},clip:!1,componentSet:!0,props:{Label:{type:`text`},Icon:{type:`swap`},"Show icon":{type:`boolean`}}},"n_ad-menu-item-default":{type:`frame`,id:`n_ad-menu-item-default`,parent:`n_ad-menu-item`,name:`Danger=false`,x:20,y:20,w:152,h:32,sizeX:`fixed`,sizeY:`hug`,children:[`n_ad-i-32`,`n_ad-t-33`],layout:{mode:`row`,gap:8,pad:[5,12,5,12],alignMain:`start`,alignCross:`center`},clip:!1,radius:`$antd/borderRadiusSM`,variant:{Danger:`false`},main:!0},"n_ad-i-32":{type:`vector`,id:`n_ad-i-32`,parent:`n_ad-menu-item-default`,name:`Icon`,x:0,y:0,w:14,h:14,sizeX:`fixed`,sizeY:`fixed`,asset:`kit:ant-design/user-outlined`,hidden:!0,color:`$antd/colorText`,icon:{pack:`ant-design`,name:`user-outlined`},bind:{visible:`Show icon`,swap:`Icon`}},"n_ad-t-33":{type:`text`,id:`n_ad-t-33`,parent:`n_ad-menu-item-default`,name:`Label`,x:0,y:0,w:0,h:0,sizeX:`fill`,sizeY:`hug`,content:`1st menu item`,style:`$antd/base`,fontSize:14,fontWeight:400,lineHeight:22,color:`$antd/colorText`,bind:{content:`Label`}},"n_ad-menu-item-danger":{type:`frame`,id:`n_ad-menu-item-danger`,parent:`n_ad-menu-item`,name:`Danger=true`,x:192,y:20,w:152,h:32,sizeX:`fixed`,sizeY:`hug`,children:[`n_ad-i-34`,`n_ad-t-35`],layout:{mode:`row`,gap:8,pad:[5,12,5,12],alignMain:`start`,alignCross:`center`},clip:!1,radius:`$antd/borderRadiusSM`,variant:{Danger:`true`},main:!0},"n_ad-i-34":{type:`vector`,id:`n_ad-i-34`,parent:`n_ad-menu-item-danger`,name:`Icon`,x:0,y:0,w:14,h:14,sizeX:`fixed`,sizeY:`fixed`,asset:`kit:ant-design/delete-outlined`,hidden:!0,color:`$antd/colorError`,icon:{pack:`ant-design`,name:`delete-outlined`},bind:{visible:`Show icon`,swap:`Icon`}},"n_ad-t-35":{type:`text`,id:`n_ad-t-35`,parent:`n_ad-menu-item-danger`,name:`Label`,x:0,y:0,w:0,h:0,sizeX:`fill`,sizeY:`hug`,content:`a danger item`,style:`$antd/base`,fontSize:14,fontWeight:400,lineHeight:22,color:`$antd/colorError`,bind:{content:`Label`}},"n_ad-menu":{type:`frame`,id:`n_ad-menu`,parent:null,name:`Dropdown`,x:0,y:0,w:160,h:140,sizeX:`fixed`,sizeY:`hug`,children:[`n_ad-n-36`,`n_ad-n-37`,`n_ad-n-38`,`n_ad-n-39`],layout:{mode:`column`,gap:0,pad:[4,4,4,4],alignMain:`start`,alignCross:`start`},clip:!1,radius:`$antd/borderRadiusLG`,effects:[{type:`shadow`,x:0,y:6,blur:16,spread:0,color:`#00000014`},{type:`shadow`,x:0,y:3,blur:6,spread:-4,color:`#0000001f`},{type:`shadow`,x:0,y:9,blur:28,spread:8,color:`#0000000d`}],main:!0,fills:[{type:`solid`,color:`$antd/colorBgElevated`}]},"n_ad-n-36":{type:`frame`,id:`n_ad-n-36`,parent:`n_ad-menu`,name:`Item`,x:0,y:0,w:100,h:100,sizeX:`fixed`,sizeY:`fixed`,children:[],layout:{mode:`free`,gap:0,pad:[0,0,0,0],alignMain:`start`,alignCross:`start`},clip:!1,values:{Label:`1st menu item`},instanceOf:`n_ad-menu-item-default`},"n_ad-n-37":{type:`frame`,id:`n_ad-n-37`,parent:`n_ad-menu`,name:`Item`,x:0,y:0,w:100,h:100,sizeX:`fixed`,sizeY:`fixed`,children:[],layout:{mode:`free`,gap:0,pad:[0,0,0,0],alignMain:`start`,alignCross:`start`},clip:!1,values:{Label:`2nd menu item`},instanceOf:`n_ad-menu-item-default`},"n_ad-n-38":{type:`frame`,id:`n_ad-n-38`,parent:`n_ad-menu`,name:`Item`,x:0,y:0,w:100,h:100,sizeX:`fixed`,sizeY:`fixed`,children:[],layout:{mode:`free`,gap:0,pad:[0,0,0,0],alignMain:`start`,alignCross:`start`},clip:!1,values:{Label:`3rd menu item`},instanceOf:`n_ad-menu-item-default`},"n_ad-n-39":{type:`frame`,id:`n_ad-n-39`,parent:`n_ad-menu`,name:`Item`,x:0,y:0,w:100,h:100,sizeX:`fixed`,sizeY:`fixed`,children:[],layout:{mode:`free`,gap:0,pad:[0,0,0,0],alignMain:`start`,alignCross:`start`},clip:!1,values:{},instanceOf:`n_ad-menu-item-danger`}},icons:{"ant-design/plus-outlined":`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1024 1024"><path fill="currentColor" d="M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8"/><path fill="currentColor" d="M192 474h672q8 0 8 8v60q0 8-8 8H160q-8 0-8-8v-60q0-8 8-8Z"/></svg>`,"ant-design/down-outlined":`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1024 1024"><path fill="currentColor" d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2L227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7"/></svg>`,"ant-design/check-outlined":`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1024 1024"><path fill="currentColor" d="M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5L207 474a32 32 0 0 0-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8"/></svg>`,"ant-design/check-circle-filled":`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1024 1024"><path fill="currentColor" d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448s448-200.6 448-448S759.4 64 512 64m193.5 301.7l-210.6 292a31.8 31.8 0 0 1-51.7 0L318.5 484.9c-3.8-5.3 0-12.7 6.5-12.7h46.9c10.2 0 19.9 4.9 25.9 13.3l71.2 98.8l157.2-218c6-8.3 15.6-13.3 25.9-13.3H699c6.5 0 10.3 7.4 6.5 12.7"/></svg>`,"ant-design/info-circle-filled":`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1024 1024"><path fill="currentColor" d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448s448-200.6 448-448S759.4 64 512 64m32 664c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V456c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8zm-32-344a48.01 48.01 0 0 1 0-96a48.01 48.01 0 0 1 0 96"/></svg>`,"ant-design/exclamation-circle-filled":`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1024 1024"><path fill="currentColor" d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448s448-200.6 448-448S759.4 64 512 64m-32 232c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8zm32 440a48.01 48.01 0 0 1 0-96a48.01 48.01 0 0 1 0 96"/></svg>`,"ant-design/close-circle-filled":`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1024 1024"><path fill="currentColor" fill-rule="evenodd" d="M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960S64 759.4 64 512S264.6 64 512 64m127.978 274.82l-.034.006c-.023.007-.042.018-.083.059L512 466.745l-127.86-127.86c-.042-.041-.06-.052-.084-.059a.12.12 0 0 0-.07 0c-.022.007-.041.018-.082.059l-45.02 45.019c-.04.04-.05.06-.058.083a.12.12 0 0 0 0 .07l.01.022a.3.3 0 0 0 .049.06L466.745 512l-127.86 127.862c-.041.04-.052.06-.059.083a.12.12 0 0 0 0 .07c.007.022.018.041.059.082l45.019 45.02c.04.04.06.05.083.058a.12.12 0 0 0 .07 0c.022-.007.041-.018.082-.059L512 557.254l127.862 127.861c.04.041.06.052.083.059a.12.12 0 0 0 .07 0c.022-.007.041-.018.082-.059l45.02-45.019c.04-.04.05-.06.058-.083a.12.12 0 0 0 0-.07l-.01-.022a.3.3 0 0 0-.049-.06L557.254 512l127.861-127.86c.041-.042.052-.06.059-.084a.12.12 0 0 0 0-.07c-.007-.022-.018-.041-.059-.082l-45.019-45.02a.2.2 0 0 0-.083-.058a.12.12 0 0 0-.07 0Z"/></svg>`,"ant-design/user-outlined":`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1024 1024"><path fill="currentColor" d="M858.5 763.6a374 374 0 0 0-80.6-119.5a375.6 375.6 0 0 0-119.5-80.6c-.4-.2-.8-.3-1.2-.5C719.5 518 760 444.7 760 362c0-137-111-248-248-248S264 225 264 362c0 82.7 40.5 156 102.8 201.1c-.4.2-.8.3-1.2.5c-44.8 18.9-85 46-119.5 80.6a375.6 375.6 0 0 0-80.6 119.5A371.7 371.7 0 0 0 136 901.8a8 8 0 0 0 8 8.2h60c4.4 0 7.9-3.5 8-7.8c2-77.2 33-149.5 87.8-204.3c56.7-56.7 132-87.9 212.2-87.9s155.5 31.2 212.2 87.9C779 752.7 810 825 812 902.2c.1 4.4 3.6 7.8 8 7.8h60a8 8 0 0 0 8-8.2c-1-47.8-10.9-94.3-29.5-138.2M512 534c-45.9 0-89.1-17.9-121.6-50.4S340 407.9 340 362s17.9-89.1 50.4-121.6S466.1 190 512 190s89.1 17.9 121.6 50.4S684 316.1 684 362s-17.9 89.1-50.4 121.6S557.9 534 512 534"/></svg>`,"ant-design/delete-outlined":`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1024 1024"><path fill="currentColor" d="M360 184h-8c4.4 0 8-3.6 8-8zh304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32M731.3 840H292.7l-24.2-512h487z"/></svg>`}}},em=e=>(e.libraries?.kits??[]).map(e=>$p[e]).filter(e=>!!e);function tm(e){for(let t of Object.values($p))if(t.nodes[e])return t}function nm(e,t){let n=e.nodes[t];if(n?.type===`frame`&&n.from)return $p[n.from];let r,i=t=>{let n=e.nodes[t];if(!n||r)return;let a=JSON.stringify(n).match(/"\$([a-z0-9]+)\//);a&&$p[a[1]]&&(r=$p[a[1]]),n.type===`frame`&&n.children.forEach(i)};return i(t),r}function rm(e){let t=/^kit:([\w-]+)\/([\w-]+)$/.exec(e);return t?{id:e,kind:`svg`,file:`kits/icons/${t[1]}/${t[2]}.svg`,mime:`image/svg+xml`}:void 0}var im=new Map,am=new Map;function om(e){let t=em(e);if(!t.length)return null;let n=t.map(e=>`${e.id}@${e.version}`).join(`,`),r=im.get(n);return r||(r=Object.assign({},...t.map(e=>e.nodes)),im.set(n,r)),r}function sm(e){let t=null;for(let n of Object.values(e.nodes)){if(n.type!==`vector`||!n.asset.startsWith(`kit:`))continue;let e=rm(n.asset);e&&((t??={})[n.asset]=e)}return t}function cm(e){let t=om(e);if(!t)return null;let n=em(e).map(e=>`${e.id}@${e.version}`).join(`,`),r=am.get(n);if(!r){r={};let e=e=>{if(typeof e==`string`){let t=rm(e);t&&(r[e]=t)}};for(let n of Object.values(t))if(n.type===`vector`&&e(n.asset),n.type===`frame`)for(let t of Object.values(n.values??{}))t&&typeof t==`object`&&e(t.asset);am.set(n,r)}return r}var lm=new WeakMap;function um(e){let t=om(e),n=e.removed&&Object.keys(e.removed).length?e.removed:null;if(!n)return t;let r=lm.get(n);if(r&&r.kit===t)return r.out;let i=t?{...t,...n}:n;return lm.set(n,{kit:t,out:i}),i}function dm(e){let t=um(e);if(!t)return e;let n=e.nodes,r=new Proxy({},{get:(e,r)=>typeof r==`string`?n[r]??t[r]:void 0,has:(e,r)=>typeof r==`string`&&(r in n||r in t),ownKeys:()=>[...new Set([...Object.keys(n),...Object.keys(t)])],getOwnPropertyDescriptor:(e,r)=>{if(typeof r!=`string`)return;let i=n[r]??t[r];return i?{value:i,enumerable:!0,configurable:!0,writable:!1}:void 0}});return{...e,nodes:r}}var fm=[`content`,`spans`,`style`,`fontFamily`,`fontSize`,`fontWeight`,`fontStyle`,`lineHeight`,`letterSpacing`,`textDecoration`,`textCase`,`color`],pm=[`fills`,`stroke`,`color`,`effects`,`name`,`hidden`],mm=[`w`,`h`,`sizeX`,`sizeY`];function hm(e,t,n){return pm.includes(t)?t!==`color`||e===`text`||e===`vector`:e===`text`&&fm.includes(t)||e===`text`&&[`sizeX`,`sizeY`,`w`,`h`].includes(t)?!0:n&&mm.includes(t)}function gm(e){let t=e.indexOf(`/`);return t<0?null:{instance:e.slice(0,t),rel:e.slice(t+1)}}var _m=e=>Object.values(e.nodes).some(e=>e.type===`frame`&&e.instanceOf),vm=new WeakMap,ym=new Map,bm=new WeakMap;function xm(e){let t=vm.get(e);if(t)return t;let n=um(e),r=sm(e),i=St(e,e.system?.theme??`light`);if(!n&&!r&&!i&&!_m(e))return vm.set(e,e),e;let a=n?dm(e):e,o={...n,...e.nodes};for(let t of Object.values(e.nodes)){if(t.type!==`frame`||!t.instanceOf||t.inInstance||t.children.length)continue;let e=Dm(a,t,new Set);for(let t of e.nodes)o[t.id]=t;o[t.id]=e.root}let s={...e,nodes:o,assets:Tm(e.assets,cm(e),r),styles:Cm(e.styles,i)};return vm.set(e,s),vm.set(s,s),s}var Sm=new WeakMap;function Cm(e,t){if(!t)return e;let n=Sm.get(e);if(n&&n.b===t)return n.out;let r={...e,colors:{...t.colors,...e.colors},text:{...t.text,...e.text},radius:{...t.radius,...e.radius}};return Sm.set(e,{b:t,out:r}),r}var wm=new WeakMap;function Tm(e,t,n){if(!t&&!n)return e;let r=Object.keys(n??{}).join(`,`),i=wm.get(e);if(i&&i.kit===t&&i.refs===r)return i.out;let a={...t,...n,...e};return wm.set(e,{kit:t,refs:r,out:a}),a}function Em(e,t,n,r){if(e.nodes[t]?.type!==`frame`||n.has(t))return null;let i=[],a=o=>{let s=e.nodes[o];if(s&&(i.push(s),s.type===`frame`)){let c=r?.get(o)??s.instanceOf;if(c&&c!==t){let r=Em(e,c,new Set([...n,t]));i.push(r)}s.children.forEach(a)}};a(t);let o=r?.size?`${t}|${[...r].join(`,`)}`:t,s=ym.get(o);if(s&&s.sig.length===i.length&&s.sig.every((e,t)=>e===i[t]))return s.out;let c=[],l=i=>{let a=e.nodes[i];if(!a)return null;if(a.type===`frame`&&a.instanceOf&&i!==t){let o=r?.get(i),s=Dm(e,o?{...a,instanceOf:o,overrides:void 0}:a,new Set([...n,t]));return c.push(s.root,...s.nodes),s.root}return c.push(a),a.type===`frame`&&a.children.forEach(l),a},u=l(t),d={root:u,nodes:c.filter(e=>e!==u)};return ym.set(o,{sig:i,out:d}),d}function Dm(e,t,n){let r=t.values??{},i=t.instanceOf&&Fp(e,t.instanceOf)?.props||{},a=t.instanceOf&&t.values?Gp(e,t.instanceOf):[],o=new Map;for(let t of a){let n=t.bind?.swap,a=n?r[n]:void 0;n&&i[n]?.type===`swap`&&typeof a==`string`&&t.type===`frame`&&t.instanceOf&&a!==t.instanceOf&&e.nodes[a]?.type===`frame`&&e.nodes[a].main&&o.set(t.id,a)}let s=t.instanceOf?Em(e,t.instanceOf,n,o):null,c=bm.get(t);if(c&&s&&c.main===s)return c.out;let l=t.overrides??{};if(!s)return{root:{...t,children:[]},nodes:[]};let u=s.root.id,d=e=>e===u?t.id:`${t.id}/${e}`,f=(e,t)=>{let n=l[t],a=!t.includes(`/`)&&t!==u?e.bind:void 0;if(!n&&!a)return e;let o={...e};for(let[e,t]of Object.entries(n??{}))t===null?delete o[e]:o[e]=t;n&&(o.overridden=Object.keys(n)),a?.content&&i[a.content]?.type===`text`&&typeof r[a.content]==`string`&&e.type===`text`&&(o.content=r[a.content],delete o.spans),a?.visible&&i[a.visible]?.type===`boolean`&&typeof r[a.visible]==`boolean`&&(r[a.visible]?delete o.hidden:o.hidden=!0);let s=a?.swap&&i[a.swap]?.type===`swap`?r[a.swap]:void 0;return s&&typeof s==`object`&&e.type===`vector`&&(o.icon=s.icon,o.asset=s.asset),o},p=s.nodes.map(e=>{let n=f(e,e.id);return{...n,id:d(e.id),parent:e.parent?d(e.parent):t.id,...n.type===`frame`?{children:n.children.map(d)}:{},...n.type===`frame`&&n.main?{main:void 0,variant:void 0,props:void 0}:{},inInstance:t.id}}),m=f(s.root,u),h={};for(let e of[`x`,`y`,`absolute`,`constraints`,`locked`,`note`,`rotation`,`flipX`,`flipY`,`lockRatio`,`source`,`pageSelector`,`exports`,`build`,`variantOf`,`bind`])t[e]===void 0?e!==`rotation`&&e!==`flipX`&&e!==`flipY`&&(h[e]=void 0):h[e]=t[e];let g=l[u]?.name===void 0?Pp(e,u):null,_={root:{...m,...h,...g?{name:g.name}:{},id:t.id,parent:t.parent,children:m.children.map(d),main:void 0,variant:void 0,props:void 0,componentSet:void 0,instanceOf:t.instanceOf,overrides:t.overrides,values:t.values},nodes:p};return bm.set(t,{main:s,out:_}),_}function Om(e,t){return Object.values(e.nodes).filter(e=>e.type===`frame`&&e.instanceOf===t&&!e.inInstance).map(e=>e.id)}function km(e,t,n){let[r,...i]=n.split(`/`);if(!r)return null;let a=e.nodes[r];return!a||!Am(e,r,t)?null:i.length?a.type!==`frame`||!a.instanceOf?null:km(e,a.instanceOf,i.join(`/`)):a}function Am(e,t,n){for(let r=t;r;r=e.nodes[r]?.parent??null)if(r===n)return!0;return!1}function jm(e,t,n=new Set){let r=t=>{let i=e.nodes[t];i?.type===`frame`&&(i.instanceOf&&!n.has(i.instanceOf)&&(n.add(i.instanceOf),jm(e,i.instanceOf,n)),i.children.forEach(r))};return r(t),n}function Mm(e,t){for(let n=t;n;n=e.nodes[n]?.parent??null){let t=e.nodes[n];if(t?.type===`frame`&&t.main)return n}return null}var Nm=new Set([`id`,`parent`,`children`,`type`]);function Pm(e){return e.type===`text`&&e.name===`Text`&&e.content.trim()?e.content.replace(/\s+/g,` `).trim().slice(0,40):e.name}var Fm=new Set([`inInstance`,`overridden`]),Im=[`name`,`x`,`y`,`absolute`,`constraints`,`locked`,`note`,`lockRatio`,`rotation`,`flipX`,`flipY`,`source`,`exports`,`build`,`variantOf`,`instanceOf`,`overrides`,`values`],Lm=new Set([`main`,`componentSet`,`from`,`variant`,`props`,`bind`]);function Rm(e,t,n={}){let r=e.nodes[t];if(!r)throw Error(`unknown node "${t}"`);if(r.type===`frame`&&(r.main||r.componentSet)&&n.copy){let t=r.componentSet?r.children.find(t=>{let n=e.nodes[t];return n?.type===`frame`&&n.main}):r.id;if(t)return{type:`frame`,name:r.name,x:r.x,y:r.y,instanceOf:t}}if(r.type===`frame`&&r.instanceOf){let e={type:`frame`};for(let t of Im){let n=r[t];n!==void 0&&(e[t]=structuredClone(n))}return e}let i={};for(let[e,t]of Object.entries(r))Nm.has(e)||Fm.has(e)||t===void 0||Lm.has(e)&&!(e===`bind`&&n.bind)||(i[e]=structuredClone(t));let a={type:r.type,...i};return r.type===`frame`&&r.children.length&&(a.children=r.children.map(t=>Rm(e,t,{bind:n.bind}))),a}function zm(e){return e.roots.map(t=>e.nodes[t]).filter(e=>e.type===`frame`)}Nf();var Q=class extends Error{},Bm=[`layout`,`clip`,`grids`,`build`,`variantOf`,`component`,`theme`,`boolean`,`variant`,`values`],Vm=[`fills`,`fill`,`stroke`,`radius`],Hm=[`shape`],Um=[`content`,`spans`,`style`,`fontFamily`,`fontSize`,`fontWeight`,`fontStyle`,`lineHeight`,`letterSpacing`,`textAlign`,`textAlignV`,`textDecoration`,`textCase`],Wm=[`asset`,`icon`],Gm=()=>`n_`+Lf(8);function Km(e,t,n=`edit`){let r=t.map((e,t)=>{let n=cd.safeParse(e);if(!n.success)throw new Q(`op[${t}]: ${n.error.issues.map(e=>`${e.path.join(`.`)} ${e.message}`).join(`; `)}`);return n.data}),i=Object.create(null),a=[],[o,s,c]=Ff(e,e=>{let t=new Set;for(let n of r)qm(e,n,i,a,t);mh(e);for(let e of a)t.add(e);rh(e,t),Cp(e,t)});return{doc:o,tx:{label:n,patches:s,inverse:c},ids:i,created:a}}function qm(e,t,n,r,i){switch(t.op){case`create`:{let a=t.parent===null?null:ah(e,t.parent,n);if(a&&e.nodes[a].instanceOf)throw new Q(`create: ${a} is an instance; its layers come from its main component. Add the layer to the main, or detach the instance`);let o=eh(e,t.tree,a,n,r);Ah(e,a,o,t.index),dh(e,o,a),Jm(e,o)||Ym(e.nodes[o]),a&&i.add(a);return}case`component`:for(let r of t.ids){let t=kh(e,ah(e,r,n));if(t.type!==`frame`)throw new Q(`component: ${t.id} is ${t.type}; a component is a frame`);if(t.instanceOf)throw new Q(`component: ${t.id} is already an instance of ${t.instanceOf}`);if(t.boolean)throw new Q(`component: ${t.id} is a boolean group; put it in a frame first`);if(t.componentSet)throw new Q(`component: ${t.id} is a component set; its variants are the main components`);t.main=!0,delete t.component,i.add(t.id)}return;case`instance`:{let a=Ph(e,Fh(e,t.main,n));if(a.type!==`frame`||!a.main)throw new Q(`instance: ${t.main} is not a main component (make it one with the component op)`);let o=t.parent===null?null:ah(e,t.parent,n);if(o&&e.nodes[o].instanceOf)throw new Q(`instance: ${o} is an instance; its layers come from its main component`);let s=eh(e,{type:`frame`,name:a.name,instanceOf:a.id,x:t.x??0,y:t.y??0,...t.key?{key:t.key}:{}},o,n,r);Ah(e,o,s,t.index),dh(e,s,o),o&&i.add(o);return}case`reset`:{let r=n[t.id]??t.id,{inst:a,rel:o}=ch(e,r),s=a.overrides;if(!s)return;if(!t.keys)gm(r)?delete s[o]:delete a.overrides;else if(s[o]){for(let e of t.keys)delete s[o][e===`fill`?`fills`:e];Object.keys(s[o]).length||delete s[o]}a.overrides&&!Object.keys(a.overrides).length&&delete a.overrides,i.add(a.id);return}case`detach`:{let r=[...new Set(t.ids.map(e=>{let t=n[e]??e;return gm(t)?.instance??t}))];for(let t of r){let n=kh(e,t);if(n.type!==`frame`||!n.instanceOf)throw new Q(`detach: ${t} is not an instance`)}_h(e,r,i);return}case`push`:{let r=n[t.id]??t.id,a=gm(r);if(a)throw new Q(`push: select the instance itself (${a.instance}), not a layer inside it`);let o=kh(e,r);if(o.type!==`frame`||!o.instanceOf)throw new Q(`push: ${r} is not an instance`);if(tm(o.instanceOf))throw new Q(`push: ${r} is an instance of the ${tm(o.instanceOf).name} kit, which can't be edited here; bring the component into this file (adopt) or detach the instance`);if(e.removed?.[o.instanceOf])throw new Q(`push: ${r}'s main component was deleted; bring it back first (restore)`);vh(e,o,i);return}case`combine`:Uh(e,t,n,r,i);return;case`addVariant`:Wh(e,t,n,r,i);return;case`adopt`:Zh(e,t,n,r,i);return;case`restore`:gh(e,t,n,i);return;case`prop`:Jh(e,t,n,i);return;case`bind`:Xh(e,t,n,i);return;case`update`:{let r=n[t.id]??t.id;if(sh(e,r)){uh(e,r,t.set,i);return}let a=kh(e,ah(e,t.id,n));if(`values`in t.set)throw new Q(`update: ${a.id} isn't an instance; property values belong to instances`);if(`variant`in t.set){if(a.type!==`frame`||!a.main||!Pp(e,a.id))throw new Q(`update: ${a.id} isn't a variant (a main component in a component set)`);if(!t.set.variant)throw new Q(`update: a variant keeps its values; remove the property with the prop op`)}a.type===`frame`&&a.boolean&&(t.set.w!==void 0||t.set.h!==void 0)&&nh(e,a,t.set.w!==void 0&&a.w>0?t.set.w/a.w:1,t.set.h!==void 0&&a.h>0?t.set.h/a.h:1),th(a,t.set,e),a.type===`frame`&&`variant`in t.set&&a.variant&&(a.name=Qp(a.variant)),i.add(a.id);return}case`delete`:fh(e,t.ids.map(t=>ah(e,t,n)),i);for(let r of t.ids){let t=ah(e,r,n);if(!e.nodes[t])continue;let a=e.nodes[t].parent;a&&i.add(a),jh(e,t),Mh(e,t)}return;case`doc`:if(t.name!==void 0){let n=t.name?.trim();n?e.name=n:delete e.name}if(t.canvas!==void 0&&(t.canvas?e.canvas=t.canvas:delete e.canvas),t.libraries!==void 0){let n=e.libraries?.kits??[],r=t.libraries===null?{}:{icons:t.libraries.icons??e.libraries?.icons,kits:t.libraries.kits??e.libraries?.kits,pack:t.libraries.pack===void 0?e.libraries?.pack:t.libraries.pack??void 0},a=[...new Set(r.kits??[])];for(let e of a)if(!$p[e])throw new Q(`doc: no UI kit "${e}" (there is ${Object.keys($p).join(`, `)})`);let o=new Set(Object.keys(om({libraries:{kits:n.filter(e=>!a.includes(e))}})??{}));o.size&&_h(e,Object.values(e.nodes).filter(e=>e.type===`frame`&&e.instanceOf&&o.has(e.instanceOf)).map(e=>e.id),i);let s=[...new Set(r.icons??[])],c=r.pack&&r.pack!==`lucide`?r.pack:void 0;s.length||a.length||c?e.libraries={...s.length?{icons:s}:{},...a.length?{kits:a}:{},...c?{pack:c}:{}}:delete e.libraries}t.guides!==void 0&&(t.guides?.length?e.guides=t.guides.map(e=>({axis:e.axis,at:e.at})):delete e.guides);return;case`styles`:{for(let[n,r]of Object.entries(t.rename?.colors??{}))wh(e,`colors`,n,r),Ch(e,e=>e===`$${n}`?`$${r}`:e);for(let[n,r]of Object.entries(t.rename?.text??{}))wh(e,`text`,n,r),Dh(e,n,e=>{e.style=`$${r}`});for(let[n,r]of Object.entries(t.rename?.radius??{})){wh(e,`radius`,n,r);for(let t of yh(e))(t.type===`frame`||t.type===`shape`)&&t.radius===`$${n}`&&(t.radius=`$${r}`)}let n=e.system,r=(e,t,r)=>{if(!n?.owned[e].includes(t))return;let i=n.overrides??={};r===null?(n.owned[e]=n.owned[e].filter(e=>e!==t),delete i[e]?.[t]):e===`colors`?(i.colors??={})[t]={...i.colors?.[t],[n.theme]:r}:(i.text??={})[t]={...r,...r.textCase?{}:{textCase:`none`}}};for(let[n,i]of Object.entries(t.colors??{})){let t=e.styles.colors[n];i===null?(delete e.styles.colors[n],t!==void 0&&Sh(e,n,t)):e.styles.colors[n]=i,r(`colors`,n,i)}for(let[n,i]of Object.entries(t.text??{})){let t=e.styles.text[n]?jf(e.styles.text[n]):void 0;i===null?(delete e.styles.text[n],t&&Eh(e,n,t)):e.styles.text[n]=i,r(`text`,n,i)}t.space&&(e.styles.space=[...new Set(t.space)].sort((e,t)=>e-t));for(let[n,r]of Object.entries(t.radius??{})){let t=e.styles.radius??={},i=t[n];r===null?(delete t[n],i!==void 0&&Oh(e,n,i)):t[n]=r}return}case`system`:{if(t.remove){delete e.system;return}let n=t.set??{};if(n.icons!==void 0){let{pack:t,...r}=e.libraries??{},i={...r,...n.icons&&n.icons!==`lucide`?{pack:n.icons}:{}};if(Object.keys(i).length?e.libraries=i:delete e.libraries,e.system&&delete e.system.icons,Object.keys(n).length===1)return}let r=e.system??Ne();if(n.name&&(r.name=n.name),n.theme&&(r.theme=n.theme),n.published){if(!de[n.published])throw new Q(`system: no published system "${n.published}" (${Object.keys(de).join(`, `)})`);r.published=n.published,delete r.tokens,delete r.overrides}else(n.published===null||n.slots&&r.published)&&delete r.published;if(n.slots){let{dark:e,radii:t,roles:i,...a}=n.slots,o=a.accent!==void 0&&a.accent!==r.slots.accent||e?.accent!==void 0&&e.accent!==r.slots.dark?.accent;if(Object.assign(r.slots,a),i===null)delete r.slots.roles;else if(i)r.slots.roles=structuredClone(i);else if(o&&r.slots.roles){for(let e of Object.keys(r.slots.roles))e.startsWith(`primary-subtle`)&&delete r.slots.roles[e];Object.keys(r.slots.roles).length||delete r.slots.roles}if(t?r.slots.radii=[...t]:(t===null||a.radius!==void 0)&&delete r.slots.radii,e===null)delete r.slots.dark;else if(e){let t={...r.slots.dark};for(let[n,r]of Object.entries(e))r===null?delete t[n]:t[n]=r;Object.keys(t).length?r.slots.dark=t:delete r.slots.dark}}for(let[e,t]of Object.entries(n.overrides?.colors??{})){let n=(r.overrides??={}).colors??={};if(t===null){delete n[e];continue}let i={...n[e]};for(let e of[`light`,`dark`])t[e]===null?delete i[e]:t[e]&&(i[e]=t[e]);Object.keys(i).length?n[e]=i:delete n[e]}for(let[e,t]of Object.entries(n.overrides?.text??{})){let n=(r.overrides??={}).text??={};t===null?delete n[e]:n[e]={...n[e],...t}}for(let[e,t]of Object.entries(n.overrides?.radius??{})){if(t!==null&&!(e in et(r)))throw new Q(`system: ${e} is not one of the system's corner tokens`);let n=(r.overrides??={}).radius??={};t===null?delete n[e]:n[e]=t}for(let[e,t]of Object.entries(n.overrides?.space??{})){let n=String(Number(e));if(t!==null&&!rt(r).includes(Number(n)))throw new Q(`system: ${n} is not a step of the system's spacing scale (${rt(r).join(`, `)})`);let i=(r.overrides??={}).space??={};t===null||t===Number(n)?delete i[n]:i[n]=t}if(n.tokens&&(r.tokens=structuredClone(n.tokens),delete r.published,delete r.overrides),n.own){let e=Ge(r);if(!e)throw new Q(`system: own is for a published system (Material 3, Carbon…); this one is already the file's own`);let t=$e(r,`light`),i=$e(r,`dark`),a=ut(r);r.tokens={css:{group:e.prefix,prefix:e.cssPrefix,...e.cssKebab?{kebab:!0}:{}},colors:Object.fromEntries(Object.keys(t).map(e=>[e,{light:t[e],dark:i[e]}])),text:it(r),radius:et(r),space:rt(r),defaults:a};let o=r.overrides?.space;delete r.published,delete r.overrides,o&&Object.keys(o).length&&(r.overrides={space:o}),n.name&&n.name!==e.name||(r.name=`${e.name} (mine)`)}if(n.corners){if(!r.tokens)throw new Q(`system: corners is for a system with its own tokens (fork a published one first); a starting system sets slots.radius`);r.tokens.radius=ke(r.tokens.radius,n.corners),r.overrides?.radius&&delete r.overrides.radius}(n.published!==void 0||n.tokens||n.own)&&!n.useSaved&&delete r.saved,n.useSaved&&(ve(r,n.useSaved.base),r.name=n.useSaved.name,r.saved={id:n.useSaved.id,version:n.useSaved.version,base:n.useSaved.base}),n.followSaved&&r.saved&&(ve(r,ye(r,n.followSaved.base)),r.saved={...r.saved,version:n.followSaved.version,base:n.followSaved.base}),n.revert&&r.saved&&ve(r,r.saved.base),n.saved===null?delete r.saved:n.saved&&(r.saved=n.saved),je(r),r.owned=ft(e.styles,r),e.system=r;return}case`asset`:for(let n of t.add)e.assets[n.id]||(e.assets[n.id]=n);return;case`flatten`:Xm(e,t,n,r,i);return;case`outlineStroke`:$m(e,t,n,r,i);return;case`move`:{let r=t.parent===null?null:ah(e,t.parent,n);if(r){let t=kh(e,r);if(t.type!==`frame`)throw new Q(`move: parent ${r} is ${t.type}, not frame`);if(t.instanceOf)throw new Q(`move: ${r} is an instance; its layers come from its main component (${t.instanceOf}). Add the layer to the main, or detach the instance`)}for(let i of t.ids)dh(e,ah(e,i,n),r);let a=t.index;for(let o of t.ids){let s=ah(e,o,n);if(r&&Nh(e,s,r))throw new Q(`move: ${s} cannot move into itself`);let c=kh(e,s);c.parent!==r&&Jm(e,s)&&Ym(c,t.sizes?.[o]??t.sizes?.[s]);let l=(c.parent?e.nodes[c.parent].children:e.roots).indexOf(s);c.parent&&i.add(c.parent),r&&i.add(r),i.add(s),jh(e,s),a!==void 0&&c.parent===r&&l<a&&a--,c.parent=r,Ah(e,r,s,a),a!==void 0&&a++}return}}}function Jm(e,t){let n=e.nodes[t],r=n?.parent?e.nodes[n.parent]:void 0;return!!n&&!!r&&r.type===`frame`&&r.layout.mode!==`free`&&!n.absolute}function Ym(e,t){let n=e;n.sizeX===`fill`&&(n.sizeX=`fixed`,t&&(n.w=Math.round(t.w*100)/100)),n.sizeY===`fill`&&(n.sizeY=`fixed`,t&&(n.h=Math.round(t.h*100)/100))}function Xm(e,t,n,r,i){let a=[...new Set(t.ids.map(t=>ah(e,t,n)))].map(t=>kh(e,t));for(let e of a){if(e.type===`vector`)throw new Q(`flatten: ${e.id} is an image or SVG layer; icons and SVG layers can't be flattened yet`);if(e.type===`frame`&&e.instanceOf)throw new Q(`flatten: ${e.id} is an instance; detach it first`)}let o=a[0].parent;if(a.some(e=>e.parent!==o))throw new Q(`flatten: the layers must be in the same parent`);let s=o?e.nodes[o].children:e.roots,c=[...a].sort((e,t)=>s.indexOf(e.id)-s.indexOf(t.id));if(c.some(e=>e.type===`text`||e.type===`frame`&&!e.boolean)){Qm(e,t,c,s,n,r,i);return}let l=o?e.nodes[o]:null,u=c.filter(e=>l&&l.layout.mode!==`free`&&!e.absolute);if(u.length>1&&u.some(e=>!t.at?.[e.id]))throw new Q(`flatten: ${u.length} of these layers sit in an auto layout flow, where their positions come from the layout; pass their measured boxes (at), or flatten one at a time`);let d=Tp(e,c,t.at);if(!d.length)throw new Q(`flatten: these layers have no outline to flatten`);let f=cp(d),p=e=>Math.round(e*100)/100,m=c[c.length-1],h=s.indexOf(m.id)-(c.length-1),g={};for(let e of[`fills`,`stroke`,`effects`,`opacity`,`blend`,`hidden`,`locked`,`absolute`,`constraints`,`note`]){let t=m[e];t!==void 0&&(g[e]=JSON.parse(JSON.stringify(t)))}m.type===`shape`&&(m.sizeX!==`fixed`&&(g.sizeX=m.sizeX),m.sizeY!==`fixed`&&(g.sizeY=m.sizeY));let _=m.id;for(let t of c)e.nodes[t.id]&&(jh(e,t.id),Mh(e,t.id));let v=p(f.w),y=p(f.h);eh(e,{type:`shape`,id:_,...t.key?{key:t.key}:{},name:`Vector`,x:p(f.x),y:p(f.y),w:v,h:y,shape:Wf(f.contours,[v,y]),...g},o,n,r),Ah(e,o,_,Math.max(0,h)),o&&i.add(o)}var Zm=[`opacity`,`blend`,`hidden`,`locked`,`absolute`,`constraints`,`note`];function Qm(e,t,n,r,i,a,o){let s=n[0].parent,c=s?e.nodes[s]:null,l=n.filter(e=>c&&c.layout.mode!==`free`&&!e.absolute);if(l.some(e=>!t.at?.[e.id])&&(l.length>1||l.some(e=>e.type!==`shape`)))throw new Q(`flatten: these layers sit in an auto layout flow, where their positions come from the layout; pass their measured boxes (at)`);let u=n.length===1&&n[0].type===`frame`?n[0]:null,d=jp(jf(e),n,t.at,t.outlines,u?.id);if(`error`in d)throw new Q(`flatten: ${d.error}`);let f=Np(d);if(!f.length)throw new Q(`flatten: these layers paint nothing to flatten`);let p=e=>Math.round(e*100)/100,m=n[n.length-1],h=r.indexOf(m.id)-(n.length-1),g={};for(let e of[`hidden`,`locked`,`absolute`,`constraints`,`note`]){let t=m[e];t!==void 0&&(g[e]=JSON.parse(JSON.stringify(t)))}let _=cp(f.flatMap(e=>e.contours)),v=m.id,y=m.name;for(let t of n)e.nodes[t.id]&&(jh(e,t.id),Mh(e,t.id));let b=(t,n,r,i)=>{let a=cp(t.contours),o=p(a.w),s=p(a.h),c=(Math.abs(a.x-t.box.x)>.01||Math.abs(a.y-t.box.y)>.01||Math.abs(a.w-t.box.w)>.01||Math.abs(a.h-t.box.h)>.01)&&Array.isArray(t.look.fills)?t.look.fills.map(n=>{if(n.type!==`image`||n.fit===`contain`)return n;let{pos:r,...i}=n;return{...i,fit:`crop`,crop:Bf(a,zf(t.box,Rf(n,t.box,e.assets[n.asset])))}}):t.look.fills;return{type:`shape`,name:`Vector`,x:p(a.x-n),y:p(a.y-r),w:o,h:s,shape:Wf(a.contours,[o,s]),...t.look,...c?{fills:c}:{},...i}},x;if(f.length===1)x={...b(f[0],0,0,g),id:v,name:y,...t.key?{key:t.key}:{}};else{let e={};u?.opacity!==void 0&&(e.opacity=u.opacity),u?.blend!==void 0&&(e.blend=u.blend),x={type:`frame`,id:v,name:y,...t.key?{key:t.key}:{},x:p(_.x),y:p(_.y),w:p(_.w),h:p(_.h),sizeX:`hug`,sizeY:`hug`,...g,...e,children:f.map(e=>b(e,_.x,_.y,{}))}}eh(e,x,s,i,a),Ah(e,s,v,Math.max(0,h)),s&&o.add(s)}function $m(e,t,n,r,i){[...new Set(t.ids.map(t=>ah(e,t,n)))].forEach((a,o)=>{let s=kh(e,a);if(s.type===`text`)throw new Q(`outline stroke: ${a} is text; only shapes and boolean groups`);if(s.type===`vector`)throw new Q(`outline stroke: ${a} is an image or SVG layer; only shapes and boolean groups`);if(s.type===`frame`&&!s.boolean)throw new Q(`outline stroke: ${a} is a frame; only shapes and boolean groups`);if((s.parent?e.nodes[s.parent]:null)?.boolean)throw new Q(`outline stroke: ${a} is an operand of a boolean group, which paints the group's stroke instead; outline the group's stroke`);let c=s.stroke;if(!c||!(c.width>0)||c.visible===!1)throw new Q(`outline stroke: ${a} has no visible stroke`);let l;try{l=Dp(e,s)}catch(e){throw new Q(`outline stroke: ${e instanceof Error?e.message:String(e)}`)}if(!l.length)throw new Q(`outline stroke: ${a}'s stroke paints nothing`);let u=cp(l),d=e=>Math.round(e*100)/100,f=(s.parent?e.nodes[s.parent].children:e.roots).indexOf(a),p=s.parent,m=!!s.fills?.some(e=>e.visible!==!1)&&(s.type!==`shape`||s.shape.kind!==`line`),h=e=>JSON.parse(JSON.stringify(e)),g=d(u.w),_=d(u.h),v=t.key?`${t.key}${o}`:void 0;if(!m){let t={name:s.name};for(let e of[...Zm,`effects`])s[e]!==void 0&&(t[e]=h(s[e]));s.type===`shape`&&(s.sizeX!==`fixed`&&(t.sizeX=s.sizeX),s.sizeY!==`fixed`&&(t.sizeY=s.sizeY)),jh(e,a),Mh(e,a),eh(e,{type:`shape`,id:a,...v?{key:v}:{},...t,x:d(u.x),y:d(u.y),w:g,h:_,shape:Wf(u.contours,[g,_]),fills:[{type:`solid`,color:c.color}]},p,n,r),Ah(e,p,a,f),p&&i.add(p);return}let y=cp(Tp(e,[s])),b=Math.min(y.x,u.x),x=Math.min(y.y,u.y),S=Math.max(y.x+y.w,u.x+u.w)-b,C=Math.max(y.y+y.h,u.y+u.h)-x,w={type:`frame`,...v?{key:v}:{},name:s.name,x:d(b),y:d(x),w:d(S),h:d(C),sizeX:`hug`,sizeY:`hug`},T=s;for(let e of Zm)T[e]!==void 0&&(w[e]=h(T[e]),delete T[e]);let E=eh(e,w,p,n,r);jh(e,a),Ah(e,p,E,f),delete T.stroke,T.parent=E,T.x=d(s.x-b),T.y=d(s.y-x),T.sizeX===`fill`&&(T.sizeX=`fixed`),T.sizeY===`fill`&&(T.sizeY=`fixed`);let D=eh(e,{type:`shape`,name:`Vector`,x:d(u.x-b),y:d(u.y-x),w:g,h:_,shape:Wf(u.contours,[g,_]),fills:[{type:`solid`,color:c.color}],...s.effects?{effects:h(s.effects)}:{}},E,n,r);e.nodes[E].children.push(a,D),i.add(E),i.add(a),p&&i.add(p)})}function eh(e,t,n,r,i){let a=t.id??Gm();if(e.nodes[a])throw new Q(`create: id "${a}" already exists`);if(t.key){if(r[t.key])throw new Q(`create: duplicate key "${t.key}"`);r[t.key]=a}let o=S(t.type,a,n),s;if(t.type===`frame`)s={type:`frame`,...o,...w()};else if(t.type===`text`)s={type:`text`,...o,...T()};else if(t.type===`shape`){if(!t.shape)throw new Q(`create: shape requires shape (its geometry, e.g. { kind: "rect" })`);s={type:`shape`,...o,name:C(t.shape.kind),shape:{kind:`rect`}}}else{if(!t.asset)throw new Q(`create: vector requires asset`);s={type:`vector`,...o,...E(),asset:t.asset}}e.nodes[a]=s,i.push(a);let{type:c,key:l,id:u,children:d,...f}=t;if(f.shape?.kind===`path`&&!f.shape.points)throw new Q(`create: a path needs points (or d through the MCP tools)`);if(f.instanceOf!==void 0||f.overrides!==void 0||f.main!==void 0||f.values!==void 0){if(t.type!==`frame`)throw new Q(`create: only a frame can be a main component or an instance`);if(f.instanceOf!==void 0){let t=dm(e).nodes[r[f.instanceOf]??f.instanceOf],n=t&&Ph(e,t);if(n?.type!==`frame`||!n.main)throw new Q(`create: instanceOf ${f.instanceOf} is not a main component`);if(d?.length)throw new Q(`create: an instance has no children of its own (they come from its main)`);if(f.main)throw new Q(`create: a frame is a main component or an instance, not both`);f.instanceOf=n.id}else if(f.overrides||f.values)throw new Q(`create: ${f.values?`property values`:`overrides`} belong to an instance (instanceOf)`);f.main||delete f.main}if((f.componentSet||f.props||f.variant)&&t.type!==`frame`)throw new Q(`create: only a frame can be a component set or a main component`);if(f.values)for(let[e,t]of Object.entries(f.values))t===null&&delete f.values[e];if(th(e.nodes[a],f,e),d?.length){if(s.type!==`frame`)throw new Q(`create: ${t.type} cannot have children`);for(let t of d){let n=eh(e,t,a,r,i);e.nodes[a].children.push(n)}}return a}function th(e,t,n){let r=(n,r)=>{if(e.type!==r){for(let r of n)if(r in t)throw new Q(`${e.id}: "${r}" is not valid on ${e.type}`)}};if(r(Bm,`frame`),r(Um,`text`),r(Wm,`vector`),r(Hm,`shape`),`rotation`in t&&t.rotation&&e.type===`frame`&&(t.boolean===void 0?e.boolean:t.boolean))throw new Q(`${e.id}: a boolean group doesn't turn; turn its shapes`);if(e.type!==`frame`&&e.type!==`shape`){for(let n of Vm)if(n in t)throw new Q(`${e.id}: "${n}" is not valid on ${e.type}`)}if(`color`in t&&(e.type===`frame`||e.type===`shape`))throw new Q(`${e.id}: use "fill" on ${e.type}s, "color" is for text/vector`);if(e.type===`frame`&&(t.boolean===void 0?e.boolean:t.boolean)&&(t.layout?.mode??e.layout.mode)!==`free`)throw new Q(`${e.id}: a boolean group has free layout (no auto layout)`);if((e.type===`shape`||e.type===`frame`&&(t.boolean===void 0?e.boolean:t.boolean))&&t.fills?.some(e=>e.type===`video`||e.type===`shader`))throw new Q(`${e.id}: a ${t.fills.some(e=>e.type===`video`)?`video`:`shader`} fill goes on a frame, not on a ${e.type===`shape`?`shape`:`boolean group`}`);if(t.shape?.kind===`path`&&!t.shape.points){if(e.type!==`shape`)throw new Q(`${e.id}: only shapes convert to a path`);if(e.shape.kind===`path`)t={...t,shape:e.shape};else{let r=wp(n??{styles:{colors:{},text:{},space:[]}},e);if(`error`in r)throw new Q(`${e.id}: ${r.error}`);t={...t,shape:{kind:`path`,points:r.points,closed:r.closed,view:r.view,...r.subpaths?{subpaths:r.subpaths}:{}},radius:r.radius}}}let{layout:i,fill:a,...o}=t,s=e.type===`text`?e.content:void 0;for(let[t,n]of Object.entries(o))n===null?delete e[t]:e[t]=n;if(e.blend===`normal`&&delete e.blend,e.type===`text`){let t=se(`content`in o&&!(`spans`in o)&&s!==void 0?le(s,e.content,e.spans):e.spans,e.content.length);t.length?e.spans=t:delete e.spans}if(e.rotation!==void 0&&!(e.rotation%360)&&delete e.rotation,e.type===`shape`){let t=e.shape;t.kind===`path`&&!t.view&&(t.view=[e.w||1,e.h||1])}if(e.type===`frame`||e.type===`shape`){if(`fills`in o&&e.fills)for(let t of e.fills)t.blend===`normal`&&delete t.blend;if(a===null?delete e.fills:a!==void 0&&(e.fills=[{type:`solid`,color:a}]),i&&e.type===`frame`){let{pad:t,...n}=i;Object.assign(e.layout,n),t!==void 0&&(e.layout.pad=ih(t)),e.layout.gapCross===null&&delete e.layout.gapCross,e.layout.wrap===!1&&delete e.layout.wrap}}}function nh(e,t,n,r){if(n===1&&r===1)return;let i=e=>Math.round(e*100)/100;for(let a of t.children){let t=e.nodes[a];if(!t)continue;let o=t.type===`shape`?t.rotation??0:0,s=o*Math.PI/180,c=Math.abs(Math.cos(s)),l=Math.abs(Math.sin(s)),u=o?Math.hypot(n*c,r*l):n,d=o?Math.hypot(n*l,r*c):r,f=(t.x+t.w/2)*n,p=(t.y+t.h/2)*r,m=t.w*u,h=t.h*d;t.type===`frame`&&t.boolean&&nh(e,t,n,r),t.w=i(m),t.h=i(h),t.x=i(f-m/2),t.y=i(p-h/2)}}function rh(e,t){let n=t=>{let n=e.nodes[t];return!!n&&(n.type===`shape`||n.type===`frame`&&!!n.boolean)},r=t=>{let r=e.nodes[t];if(r?.type!==`frame`||!r.boolean)return;let i=r.children.find(e=>!n(e));if(i)throw new Q(`${i}: a boolean group's children are shapes or boolean groups (got ${e.nodes[i].type})`)};for(let n of t){r(n);let t=e.nodes[n]?.parent;t&&r(t)}}function ih(e){return typeof e==`number`?[e,e,e,e]:e.length===2?[e[0],e[1],e[0],e[1]]:e}function ah(e,t,n){let r=(Object.hasOwn(n,t)?n[t]:void 0)??t;if(!Object.hasOwn(e.nodes,r)){let n=gm(r);throw n&&e.nodes[n.instance]?new Q(`${t} is a layer inside the instance ${n.instance}: an instance can change its layers' text, fills, strokes, effects, names and visibility, not their place, children or structure. Edit its main component, or detach the instance`):new Q(`unknown node "${t}"`)}return r}var oh=new Set([`x`,`y`,`absolute`,`constraints`,`locked`,`note`,`lockRatio`,`rotation`,`flipX`,`flipY`,`source`,`pageSelector`,`exports`,`build`,`variantOf`]),sh=(e,t)=>!!gm(t)||!!(e.nodes[t]?.type===`frame`&&e.nodes[t].instanceOf);function ch(e,t){let n=gm(t),r=e.nodes[n?n.instance:t];if(r?.type!==`frame`||!r.instanceOf)throw new Q(`unknown node "${t}"`);return{inst:r,rel:n?n.rel:r.instanceOf}}var lh=(e,t)=>JSON.stringify(e)===JSON.stringify(t);function uh(e,t,n,r){let{inst:i,rel:a}=ch(e,t),o=!gm(t),s=n;if(`values`in s){if(!o)throw new Q(`${t}: property values belong to the instance itself (${i.id})`);let{values:n,...r}=s;Lh(e,i,n??null),s=r}let c=dm(e),l=!o&&!a.includes(`/`)?c.nodes[a]:void 0,u=l?.bind?Fp(c,i.instanceOf)?.props??{}:{};if(l?.bind?.content&&u[l.bind.content]?.type===`text`&&typeof s.content==`string`){let{content:e,spans:t,...n}=s;Ih(i,l.bind.content,e,l.type===`text`?l.content:void 0),s=n}if(l?.bind?.visible&&u[l.bind.visible]?.type===`boolean`&&`hidden`in s){let{hidden:e,...t}=s;Ih(i,l.bind.visible,!e,!l.hidden),s=t}if(!Object.keys(s).length){r.add(i.id);return}let d={},f={},p=Object.keys(s);if(p.some(e=>!(o&&oh.has(e)))){let n=xm(jf(e)),r=n.nodes[t];if(!r)throw new Q(`unknown node "${t}"`);for(let e of p)if(o&&oh.has(e))d[e]=s[e];else if(hm(r.type,e===`fill`?`fills`:e,o))f[e]=s[e];else throw new Q(`${t}: an instance can't change "${e}"; it can change text, fills, strokes, effects, names and visibility${o?`, and its own size`:``}. Edit its main component (${i.instanceOf}), or detach the instance`);if(Object.keys(f).length){let{inInstance:t,overridden:s,...c}=r,l=structuredClone(c);th(l,f,e);let u=o?n.nodes[i.instanceOf]:n.nodes[a],d=i.overrides??={},p=d[a]??={};for(let e of Object.keys(f).map(e=>e===`fill`?`fills`:e)){let t=l[e];u&&lh(t,u[e])?delete p[e]:p[e]=t===void 0?null:structuredClone(t)}Object.keys(p).length||delete d[a],Object.keys(d).length||delete i.overrides}}else Object.assign(d,s);Object.keys(d).length&&th(i,d,e),r.add(i.id)}function dh(e,t,n){if(!n)return;let r=Mm(e,n);if(!r)return;let i=new Set,a=t=>{let n=e.nodes[t];n?.type===`frame`&&(n.instanceOf&&(i.add(n.instanceOf),jm(e,n.instanceOf,i)),n.main&&i.add(n.id),n.children.forEach(a))};if(a(t),i.has(r))throw new Q(`${t} would put the component ${r} inside itself`)}function fh(e,t,n){let r=new Set,i=t=>{let n=e.nodes[t];n&&(r.add(t),n.type===`frame`&&n.children.forEach(i))};t.forEach(i);let a=[...r].filter(t=>e.nodes[t].main),o=jf(e);for(let t of a){let i=Pp(o,t),a=i&&!r.has(i.id)?Lp(o,i.id).find(e=>!r.has(e.id)):void 0;if(a)for(let i of Om(e,t)){if(r.has(i))continue;let s=e.nodes[i],c=s.overrides?Wp(o,t,a.id,jf(s.overrides)):{};s.instanceOf=a.id,Object.keys(c).length?s.overrides=c:delete s.overrides,n.add(i)}}let s=ph(e,r,a.filter(t=>Om(e,t).some(e=>!r.has(e))));for(let e of s)r.delete(e);let c=e=>e.split(`/`);for(let t of Object.values(e.nodes))if(t.type===`frame`&&t.instanceOf&&t.overrides&&!r.has(t.id)){for(let e of Object.keys(t.overrides))c(e).some(e=>r.has(e))&&(delete t.overrides[e],n.add(t.id));Object.keys(t.overrides).length||delete t.overrides}for(let t of Object.values(e.comments??{})){let e=t.node?gm(t.node):null;e&&c(e.rel).some(e=>r.has(e))&&!r.has(e.instance)&&(t.node=e.instance)}}function ph(e,t,n){let r=new Set,i=[...n];for(;i.length;){let n=i.pop(),a=Pp(e,n),o=a&&t.has(a.id)?a.id:n;if(r.has(o))continue;r.add(o);let s=n=>{let r=e.nodes[n];r?.type===`frame`&&(r.instanceOf&&t.has(r.instanceOf)&&i.push(r.instanceOf),r.children.forEach(s))};s(o)}if(!r.size)return[];let a=e.removed??={},o=[];for(let t of r){let n=t=>{let r=jf(e.nodes[t]);a[t]=structuredClone(r),o.push(t),r.type===`frame`&&r.children.forEach(n)};n(t),a[t].parent=null}return o}function mh(e){let t=e.removed;if(!t)return;let n=new Set;for(let t of Object.values(e.nodes))t.type===`frame`&&t.instanceOf&&n.add(t.instanceOf);let r=new Set,i=e=>{if(r.has(e))return;r.add(e);let n=e=>{let r=t[e];r?.type===`frame`&&(r.instanceOf&&t[r.instanceOf]&&i(hh(t,r.instanceOf)),r.children.forEach(n))};n(e)};for(let e of n)t[e]&&i(hh(t,e));for(let[e,n]of Object.entries(t))!r.has(hh(t,e))&&n&&delete t[e];Object.keys(t).length||delete e.removed}var hh=(e,t)=>{let n=e[t];for(;n.parent&&e[n.parent];)n=e[n.parent];return n.id};function gh(e,t,n,r){let i=n[t.id]??t.id,a=e.removed??{},o=e.nodes[i],s=o?.type===`frame`&&o.instanceOf?o.instanceOf:i;if(!a[s])throw new Q(o?`restore: ${t.id} doesn't use a deleted main component`:`restore: ${t.id} isn't a deleted main component`);let c=hh(a,s),l=t=>{let n=a[t];e.nodes[t]=n,delete a[t],n.type===`frame`&&n.children.forEach(l)};l(c);let u=e.nodes[c];if(o&&o.id!==c){let t=Hh(e,o.id);u.x=t.x+t.w+Vh,u.y=t.y}t.x!==void 0&&(u.x=t.x),t.y!==void 0&&(u.y=t.y),e.roots.push(c),r.add(c),Object.keys(a).length||delete e.removed}function _h(e,t,n){let r=xm(jf(e));for(let i of t){let t=r.nodes[i],a=e.nodes[i];if(!t||!a)continue;let o=a.overrides??{},s=new Map([[i,i]]),c=e=>{let{inInstance:t,overridden:n,...r}=e;return structuredClone(r)},l=(t,n)=>{let i=r.nodes[t],a=Gm();s.set(t,a);let u=c(i);if(u.id=a,u.parent=n,u.type===`frame`){if(u.instanceOf){let e=gm(t).rel,n={...u.overrides??{}};for(let[t,r]of Object.entries(o))if(t===e)n[u.instanceOf]={...n[u.instanceOf],...r};else if(t.startsWith(`${e}/`)){let i=t.slice(e.length+1);n[i]={...n[i],...r}}u.children=[],Object.keys(n).length?u.overrides=n:delete u.overrides}else u.children=i.children.map(e=>l(e,a));delete u.main,delete u.variant,delete u.props,delete u.componentSet}return delete u.bind,e.nodes[a]=u,a},u=t.children.map(e=>l(e,i)),d=c(t),f=a.parent;for(let e of Object.keys(a))delete a[e];Object.assign(a,{...d,id:i,parent:f,children:u}),delete a.instanceOf,delete a.overrides,delete a.values,delete a.main;for(let t of Object.values(e.comments??{}))t.node&&s.has(t.node)&&(t.node=s.get(t.node));n.add(i)}}function vh(e,t,n){let r=t.overrides??{},i=t.instanceOf,a=jf(e);for(let[t,o]of Object.entries(r)){let[r,...s]=t.split(`/`),c=t===i?e.nodes[i]:km(a,i,r)?e.nodes[r]:void 0;if(c){if(s.length){if(c.type!==`frame`||!c.instanceOf)continue;let e=c.overrides??={},t=s.join(`/`);e[t]={...e[t],...JSON.parse(JSON.stringify(o))}}else th(c,JSON.parse(JSON.stringify(o)),e);n.add(c.id)}}delete t.overrides,n.add(t.id)}function yh(e){return[...Object.values(e.nodes),...Object.values(e.removed??{})]}function bh(e,t){let n=(e,n)=>{if(typeof e[n]!=`string`)return;let r=t(e[n]);r!==e[n]&&(e[n]=r)};if(Array.isArray(e.fills)){for(let t of e.fills)if(t?.type===`solid`)n(t,`color`);else if(t?.type===`linear`||t?.type===`radial`)for(let e of t.stops??[])n(e,`color`)}if(e.stroke&&typeof e.stroke==`object`&&n(e.stroke,`color`),Array.isArray(e.effects))for(let t of e.effects)t?.type===`shadow`&&n(t,`color`);if(Array.isArray(e.grids))for(let t of e.grids)n(t,`color`);if(Array.isArray(e.spans))for(let t of e.spans)n(t,`color`);n(e,`color`)}function xh(e,t){let n=`$${t}`,r=0,i=e=>(e===n&&r++,e);for(let t of[...Object.values(e.nodes),...Object.values(e.removed??{})]){bh(t,i);for(let e of Object.values(t.overrides??{}))bh(e,i)}for(let t of Object.values(e.styles.text))i(t.color);return e.canvas&&i(e.canvas),r}function Sh(e,t,n){Ch(e,e=>e===`$${t}`?n:e)}function Ch(e,t){for(let n of yh(e)){bh(n,t);for(let e of Object.values(n.overrides??{}))bh(e,t)}for(let n of Object.values(e.styles.text))n.color=t(n.color);e.canvas&&=t(e.canvas)}function wh(e,t,n,r){let i=t===`radius`?e.styles.radius:e.styles[t];if(!i||i[n]===void 0)throw new Q(`styles: no ${t} style "${n}" to rename`);if(n!==r){if(i[r]!==void 0)throw new Q(`styles: "${r}" already exists`);if(t!==`radius`&&e.system?.owned[t].includes(n))throw new Q(`styles: "${n}" belongs to the design system`);i[r]=i[n],delete i[n]}}var Th=[`fontFamily`,`fontSize`,`fontWeight`,`fontStyle`,`lineHeight`,`letterSpacing`,`textAlign`,`textCase`,`color`];function Eh(e,t,n){Dh(e,t,(e,t)=>{for(let r of Th)e[r]===void 0&&t?.[r]===void 0&&n[r]!==void 0&&(e[r]=n[r]);t&&t.style!==void 0?e.style=null:delete e.style})}function Dh(e,t,n){let r=`$${t}`;for(let t of yh(e)){t.type===`text`&&t.style===r&&n(t);for(let[i,a]of Object.entries(t.overrides??{}))a.style===r&&n(a,e.nodes[i.slice(i.lastIndexOf(`/`)+1)]??{})}}function Oh(e,t,n){for(let r of yh(e))(r.type===`frame`||r.type===`shape`)&&r.radius===`$${t}`&&(r.radius=n)}function kh(e,t){let n=Object.hasOwn(e.nodes,t)?e.nodes[t]:void 0;if(!n)throw new Q(`unknown node "${t}"`);return n}function Ah(e,t,n,r){let i=t===null?e.roots:kh(e,t).children;if(t!==null&&e.nodes[t].type!==`frame`)throw new Q(`${t} is not a frame`);r===void 0||r>i.length?i.push(n):i.splice(r,0,n)}function jh(e,t){let n=kh(e,t),r=n.parent===null?e.roots:e.nodes[n.parent].children,i=r.indexOf(t);i>=0&&r.splice(i,1)}function Mh(e,t){let n=e.nodes[t];if(n){if(n.type===`frame`)for(let t of[...n.children])Mh(e,t);delete e.nodes[t]}}function Nh(e,t,n){for(;n;){if(n===t)return!0;n=e.nodes[n]?.parent??null}return!1}function Ph(e,t){if(t.type!==`frame`||!t.componentSet)return t;let n=dm(e),r=Lp(n,t.id)[0];if(!r)throw new Q(`${t.id} is a component set with no variants`);return n.nodes[r.id]}function Fh(e,t,n){let r=n[t]??t,i=e.nodes[r]??um(e)?.[r];if(!i)throw new Q(tm(r)?`${t} is in the ${tm(r).name} kit, which this file doesn't have on (doc { libraries: { kits } })`:`unknown node "${t}"`);return i}function Ih(e,t,n,r){let i=e.values??={};n==null||Kp(n)===Kp(r)?delete i[t]:i[t]=structuredClone(n),Object.keys(i).length||delete e.values}function Lh(e,t,n){if(n===null){delete t.values;return}let r=dm(e),i=zp(r,t.instanceOf),a={};for(let[o,s]of Object.entries(n)){let n=i.find(e=>e.name===o);if(!n)throw new Q(`${t.id}: no property "${o}"${i.length?`; it has ${i.map(e=>`${e.name} (${e.type})`).join(`, `)}`:``}`);if(n.type===`variant`){if(typeof s!=`string`||!n.values.includes(s))throw new Q(`${t.id}: ${o} is one of ${n.values.join(`, `)}`);a[o]=s}else{if(s!==null){if(n.type===`boolean`&&typeof s!=`boolean`)throw new Q(`${t.id}: ${o} is a Boolean property (true or false)`);if(n.type===`text`&&typeof s!=`string`)throw new Q(`${t.id}: ${o} is a Text property (a string)`);if(n.type===`swap`){if(typeof s==`string`){let n=e.nodes[s];if(n?.type!==`frame`||!n.main)throw new Q(`${t.id}: ${o} takes a main component's id or an icon; ${s} isn't a main component`);if(qp(r,t.id,s))throw new Q(`${t.id}: ${o} can't be ${n.name}: it is, or holds, ${r.nodes[t.instanceOf]?.name??`this component`}, and a component can't hold itself`)}else if(typeof s!=`object`)throw new Q(`${t.id}: ${o} is an Instance swap property (a main component's id or { icon, asset })`)}}Ih(t,o,s,Yp(r,t.instanceOf,o,n.type))}}if(!Object.keys(a).length)return;let o=Hp(r,t.instanceOf,a);if(!o)throw new Q(`${t.id}: no variant has ${Object.entries(a).map(([e,t])=>`${e}=${t}`).join(`, `)}`);if(o.id===t.instanceOf)return;let s=t.overrides?Wp(r,t.instanceOf,o.id,jf(t.overrides)):{};t.instanceOf=o.id,Object.keys(s).length?t.overrides=s:delete t.overrides}function Rh(e,t){let n=Lp(e,t),r=[...new Set(n.flatMap(e=>Object.keys(e.variant??{})))];for(let t of n){let n=e.nodes[t.id];n.variant=Object.fromEntries(r.map(e=>[e,n.variant?.[e]??`Default`])),n.name=Qp(n.variant)}}function zh(e,t){let n=e.nodes[t];for(let t of n.children){let r=e.nodes[t];n.w=Math.max(n.w,r.x+r.w+Bh),n.h=Math.max(n.h,r.y+r.h+Bh)}}var Bh=20,Vh=80,Hh=(e,t)=>{let n=e.nodes[t];for(;n.parent&&e.nodes[n.parent];)n=e.nodes[n.parent];return n};function Uh(e,t,n,r,i){let a=[...new Set(t.ids.map(t=>ah(e,t,n)))].map(t=>kh(e,t)),o=a[0].parent;for(let t of a){if(t.type!==`frame`)throw new Q(`combine: ${t.id} is ${t.type}; variants are frames`);if(t.instanceOf)throw new Q(`combine: ${t.id} is an instance; combine main components`);if(t.componentSet)throw new Q(`combine: ${t.id} is already a component set`);if(t.boolean)throw new Q(`combine: ${t.id} is a boolean group; put it in a frame first`);if(Pp(e,t.id))throw new Q(`combine: ${t.id} is already a variant in ${t.parent}`);if(t.parent!==o)throw new Q(`combine: the frames must be in the same parent`)}let s=Math.min(...a.map(e=>e.x)),c=Math.min(...a.map(e=>e.y)),l=o===null?e.roots:e.nodes[o].children,u=Math.min(...a.map(e=>l.indexOf(e.id))),d=a[0],f=eh(e,{type:`frame`,name:t.name??(d.name.includes(`=`)?`Component`:d.name),x:s-Bh,y:c-Bh,w:0,h:0,componentSet:!0,...t.key?{key:t.key}:{}},o,n,r);Ah(e,o,f,u);let p=e.nodes[f];for(let t of a)jh(e,t.id),t.parent=f,p.children.push(t.id),t.x-=s-Bh,t.y-=c-Bh,delete t.absolute,t.sizeX===`fill`&&(t.sizeX=`fixed`),t.sizeY===`fill`&&(t.sizeY=`fixed`),t.main=!0,delete t.component,t.variant||=Zp(t.name),t.props&&(p.props={...p.props,...t.props},delete t.props),i.add(t.id);Rh(e,f),zh(e,f),o&&i.add(o)}function Wh(e,t,n,r,i){let a=kh(e,ah(e,t.id,n)),o=jf(e),s=a.type===`frame`&&a.componentSet?a:Pp(o,a.id)?e.nodes[a.parent]:null;if(!s)throw new Q(`addVariant: ${t.id} is neither a component set nor a variant (combine main components first)`);let c=a.id===s.id?Lp(o,s.id)[0]:a;if(!c)throw new Q(`addVariant: ${s.id} has no variants`);let l=Rm(o,c.id,{bind:!0}),u=Math.max(...s.children.map(t=>e.nodes[t].y+e.nodes[t].h)),d=Rp(o,s.id),[f]=Object.keys(c.variant??{}),p=new Set(d.find(e=>e.name===f)?.values),m=2;for(;p.has(`Variant${m}`);)m++;let h=f?{...c.variant,[f]:`Variant${m}`}:{"Property 1":`Variant${m}`},g=eh(e,{...l,main:!0,variant:h,x:c.x,y:u+Bh,...t.key?{key:t.key}:{}},s.id,n,r);Ah(e,s.id,g),Rh(e,s.id),zh(e,s.id),i.add(s.id)}function Gh(e,t){let n=kh(e,t);if(n.type===`frame`&&n.componentSet)return n;let r=Mm(e,t);if(!r)throw new Q(`prop: ${t} isn't a component set, a main component, or a layer in one`);return e.nodes[Fp(e,r).id]}function Kh(e,t){let n=t.componentSet?Lp(e,t.id).map(e=>e.id):[t.id];return{mains:n,instances:n.flatMap(t=>Om(e,t)).map(t=>e.nodes[t]),layers:n.flatMap(t=>Gp(e,t)).map(t=>e.nodes[t.id])}}var qh=(e,t,n)=>Object.fromEntries(Object.entries(e).map(([e,r])=>[e===t?n:e,r]));function Jh(e,t,n,r){let i=Gh(e,ah(e,t.id,n)),a=i.componentSet&&Rp(e,i.id).some(e=>e.name===t.name)?`variant`:i.props?.[t.name]?.type,o=Kh(e,i);if(r.add(i.id),t.remove||t.rename){if(!a)throw new Q(`prop: ${i.name} has no property "${t.name}"`);let n=t.rename;if(n&&n!==t.name&&Ip(e,i,n))throw new Q(`prop: ${i.name} already has a property "${n}"`);if(a===`variant`){for(let i of o.mains){let a=e.nodes[i];a.variant&&(n?a.variant=qh(a.variant,t.name,n):delete a.variant[t.name],r.add(i))}if(!n)for(let t of o.mains){let n=e.nodes[t];n.variant&&!Object.keys(n.variant).length&&(n.variant={"Property 1":`Default`})}Rh(e,i.id);return}n?i.props=qh(i.props,t.name,n):(delete i.props[t.name],Object.keys(i.props).length||delete i.props);for(let e of o.layers){let i=e.bind;for(let e of[`content`,`visible`,`swap`])i[e]===t.name&&(n?i[e]=n:delete i[e]);Object.keys(i).length||delete e.bind,r.add(e.id)}for(let e of o.instances)e.values&&t.name in e.values&&(n?e.values=qh(e.values,t.name,n):(delete e.values[t.name],Object.keys(e.values).length||delete e.values),r.add(e.id));return}let s=t.type??a;if(!s)throw new Q(`prop: give the new property "${t.name}" a type (variant, boolean, text or swap)`);if(a&&a!==s)throw new Q(`prop: "${t.name}" is a ${a} property; remove it first to make it a ${s} one`);if(s===`variant`){if(!i.componentSet)throw new Q(`prop: Variant properties belong to a component set; combine main components as variants first`);for(let n of o.mains){let r=e.nodes[n];r.variant={...r.variant,[t.name]:r.variant?.[t.name]??`Default`}}Rh(e,i.id);return}let c=s===`swap`?{type:s,...t.preferred?{preferred:t.preferred}:i.props?.[t.name]?.type===`swap`?{preferred:i.props[t.name].preferred}:{}}:{type:s};s===`swap`&&!c.preferred&&delete c.preferred,i.props={...i.props,[t.name]:c}}var Yh={content:`text`,visible:`boolean`,swap:`swap`};function Xh(e,t,n,r){let i=ah(e,t.id,n),a=kh(e,i),o=Mm(e,i);if(!o||o===i)throw new Q(`bind: ${i} isn't a layer inside a main component`);let s=e.nodes[Fp(e,o).id],c={...a.bind};for(let e of[`content`,`visible`,`swap`]){let n=t[e];if(n===void 0)continue;if(n===null){delete c[e];continue}let r=Yh[e];if(s.props?.[n]?.type!==r)throw new Q(`bind: ${s.name} has no ${r} property "${n}"; add it with the prop op`);if(e===`content`&&a.type!==`text`)throw new Q(`bind: a Text property drives a text layer; ${i} is ${a.type}`);if(e===`swap`&&!Jp(a))throw new Q(`bind: an Instance swap property drives a nested instance or an icon; ${i} is neither`);c[e]=n}Object.keys(c).length?a.bind=c:delete a.bind,r.add(i)}function Zh(e,t,n,r,i){let a=dm(e),o=n[t.id]??t.id,s=a.nodes[o],c=s?.type===`frame`&&s.instanceOf&&e.nodes[o]?s.instanceOf:o,l=tm(c);if(!l||!a.nodes[c])throw new Q(`adopt: ${t.id} isn't a component of a kit this file has on`);let u=Pp(a,c)?.id??c,d=new Map,f=(t,n)=>{let i=l.nodes[t],a=Gm();d.set(t,a);let o=JSON.parse(JSON.stringify(i));return o.id=a,o.parent=n,o.type===`frame`&&(o.children=i.children.map(e=>f(e,a))),e.nodes[a]=o,r.push(a),a},p=f(u,null),m=e.nodes[p];m.type===`frame`&&(m.from=l.id),m.type===`frame`&&m.componentSet&&zh(e,p);let h=e.nodes[o]?Hh(e,o):null;h&&h.id!==p&&(m.x=h.x+h.w+Vh,m.y=h.y),t.x!==void 0&&(m.x=t.x),t.y!==void 0&&(m.y=t.y),e.roots.push(p),t.key&&(n[t.key]=p);let g=e=>e.split(`/`).map(e=>d.get(e)??e).join(`/`);for(let t of Object.values(e.nodes))t.type===`frame`&&t.instanceOf&&d.has(t.instanceOf)&&!r.includes(t.id)&&(t.instanceOf=d.get(t.instanceOf),t.overrides&&=Object.fromEntries(Object.entries(t.overrides).map(([e,t])=>[g(e),t])),i.add(t.id))}function Qh(e,t){let n=[],r=t.parent?e.nodes[t.parent]:void 0,i=!!r&&r.layout.mode!==`free`&&!t.absolute,a=(a,o)=>{if(o===`fill`){if(!i)return n.push({id:t.id,code:`fill-outside-auto`,message:`fill ${a} needs an auto-layout parent; rendered as fixed`}),`fixed`;let o=r.layout.mode===`row`?`x`:`y`,s=Qh(e,r)[a];return a===o&&s===`hug`?(n.push({id:t.id,code:`fill-in-hug`,message:`fill ${a} inside a parent that hugs ${a}; rendered as hug`}),t.type===`vector`||t.type===`shape`?`fixed`:`hug`):`fill`}return o===`hug`&&(t.type===`vector`||t.type===`shape`)?(n.push({id:t.id,code:`hug-${t.type}`,message:`${t.type} cannot hug; rendered as fixed`}),`fixed`):o};return t.type===`text`&&t.sizeX===`hug`&&t.sizeY===`fixed`?{x:a(`x`,`hug`),y:a(`y`,`hug`),warnings:n}:{x:a(`x`,t.sizeX),y:a(`y`,t.sizeY),warnings:n}}var $h=H().trim().min(1).max(4e3),eg=U().finite();eu(`action`,[W({action:K(`add`),text:$h,node:H().nullable(),x:eg,y:eg,cx:eg,cy:eg}),W({action:K(`edit`),id:H(),text:$h}),W({action:K(`resolve`),id:H(),resolved:zl()}),W({action:K(`delete`),id:H()}),W({action:K(`send`),ids:Yl(H()).min(1),chatId:H()}),W({action:K(`reply`),id:H(),text:$h,resolve:zl().optional()})]);var tg=/^(globals?|index|tokens?|theme|app|styles?|variables?|main|base|design-tokens)$/i;function ng(e,t){let n=t.replace(/^.*[\\/]/,``).replace(/\.(tokens\.)?(json|css|html?)$/i,``),r=!n||tg.test(n)?`Imported system`:n,i=/\.json$/i.test(t)||e.trimStart().startsWith(`{`)&&!/:root|@theme|--[\w-]+\s*:/.test(e),a;if(i){let t;try{t=JSON.parse(e)}catch{return{error:`This JSON file can't be read.`}}a=kg(t,r)}else if(/\.html?$/i.test(t)||/^\s*(<!doctype|<html|<head|<style)/i.test(e)){let t=[...e.matchAll(/<style\b[^>]*>([\s\S]*?)<\/style>/gi)].map(e=>e[1]).join(`
|
|
65
|
+
`);if(!t.trim())return{error:`No <style> with CSS variables in this page.`};let n=/<title[^>]*>([^<]*)<\/title>/i.exec(e)?.[1]?.trim();a=mg(t,n||r)}else a=mg(e,r);return`error`in a||Object.keys(a.tokens.colors).length?a:{error:`No color tokens found in this file.`}}var rg={white:`#ffffff`,black:`#000000`},ig=e=>e.endsWith(`%`)?parseFloat(e)/100:parseFloat(e),ag=(e,t)=>t>=1?e:`${e}${Math.round(Math.max(0,t)*255).toString(16).padStart(2,`0`)}`;function og(e,t,n){let r=t=>(t+e/30)%12,i=t*Math.min(n,1-n),a=e=>n-i*Math.max(-1,Math.min(r(e)-3,Math.min(9-r(e),1)));return p([a(0),a(8),a(4)])}function sg(e){let t=e.trim().toLowerCase();if(rg[t])return rg[t];let n=/^#([0-9a-f]{3,4}|[0-9a-f]{6}|[0-9a-f]{8})$/.exec(t);if(n){let e=n[1];return`#${e.length<=4?e.split(``).map(e=>e+e).join(``):e}`}let r=/^(rgba?|hsla?|oklch)\(([^)]*)\)$/.exec(t),i=(r?r[2]:t).replace(/,/g,` `).replace(`/`,` / `).split(/\s+/).filter(Boolean),a=i.indexOf(`/`),o=a>=0?ig(i[a+1]??`1`):i.length===4?ig(i[3]):1,[s,c,l]=(a>=0?i.slice(0,a):i.slice(0,3)).map(e=>e.replace(/deg$/,``));if(s===void 0||c===void 0||l===void 0||[s,c,l].some(e=>isNaN(parseFloat(e))))return null;let u=r?r[1].replace(/a$/,``):c.endsWith(`%`)&&l.endsWith(`%`)&&!s.endsWith(`%`)?`hsl`:``;return u===`rgb`?ag(p([s,c,l].map(e=>e.endsWith(`%`)?ig(e):parseFloat(e)/255)),o):u===`hsl`?ag(og(parseFloat(s),ig(c.endsWith(`%`)?c:`${c}%`),ig(l.endsWith(`%`)?l:`${l}%`)),o):u===`oklch`?ag(_({l:s.endsWith(`%`)?ig(s):parseFloat(s),c:c.endsWith(`%`)?ig(c)*.4:parseFloat(c),h:parseFloat(l)||0}),o):null}function cg(e){let t=e.trim().replace(/^calc/,``).replace(/(-?\d*\.?\d+)(px|rem|em)?/g,(e,t,n)=>` ${parseFloat(t)*(n===`rem`||n===`em`?16:1)} `);if(/[a-z%]/i.test(t))return null;let n=0,r=t.match(/\d*\.?\d+|[-+*/()]/g)??[],i=()=>{let e=a();for(;r[n]===`+`||r[n]===`-`;)e=r[n++]===`+`?e+a():e-a();return e},a=()=>{let e=o();for(;r[n]===`*`||r[n]===`/`;)e=r[n++]===`*`?e*o():e/o();return e},o=()=>{let e=r[n++];if(e===`(`){let e=i();return n++,e}return e===`-`?-o():e===void 0?NaN:parseFloat(e)},s=i();return n===r.length&&isFinite(s)?Math.round(s*100)/100:null}var lg={uppercase:`upper`,lowercase:`lower`,capitalize:`title`},ug=e=>e.split(`,`)[0].trim().replace(/^["']|["']$/g,``)||void 0,dg=/\.dark\b|data-(theme|mode|color-scheme)=["']?dark|prefers-color-scheme:\s*dark/,fg=/:root|\bhtml\b|@theme|:host|\bbody\b|\.light\b|data-(theme|mode|color-scheme)=["']?light/;function pg(e){let t={light:new Map,dark:new Map},n=e.replace(/\/\*[\s\S]*?\*\//g,``),r=[],i=0;for(let e=0;e<n.length;e++){let a=n[e];if(a===`{`)r.push(n.slice(i,e).trim()),i=e+1;else if(a===`}`||a===`;`){let o=/^(--[\w-]+)\s*:\s*([\s\S]+)$/.exec(n.slice(i,e).trim());if(o&&r.length){let e=r.join(` `),n=dg.test(e)?`dark`:fg.test(e)?`light`:null;n&&t[n].set(o[1].slice(2),o[2].trim())}a===`}`&&r.pop(),i=e+1}}return t}function mg(e,t){let n=pg(e);if(!n.light.size&&!n.dark.size)return{error:`No CSS variables in :root, @theme or .dark in this file.`};let r=(e,t,i=0)=>t.replace(/var\(--([\w-]+)\s*(?:,\s*([^()]*(?:\([^()]*\))?[^()]*))?\)/g,(t,a,o)=>{let s=n[e].get(a)??n.light.get(a);return i>8?``:s===void 0?o??``:r(e,s,i+1)}),i=e=>/^var\(--[\w-]+\)$/.test(e.trim()),a=[...new Set([...n.light.keys(),...n.dark.keys()])],o=a.filter(e=>!i(n.light.get(e)??n.dark.get(e)??``)&&sg(r(`light`,n.light.get(e)??n.dark.get(e)))),s=o.filter(e=>e.startsWith(`color-`)).length>o.length/2,c={},l={},u=[],d=[],f={},p={},m=null;for(let e of a){let t=n.light.get(e)??n.dark.get(e);if(i(t)&&o.includes(/--([\w-]+)/.exec(t)[1]))continue;let a=r(`light`,t),h=n.dark.has(e)?r(`dark`,n.dark.get(e)):null;if(o.includes(e)){let t=s&&e.startsWith(`color-`)?e.slice(6):e,n=sg(a),r=h?sg(h):null;c[t]={light:n,...r&&r!==n?{dark:r}:{}};continue}if(/^font(-(sans|body|base|default|text))?$/.test(e)){p.body=ug(a);continue}if(/^font-(heading|display|title|serif)$/.test(e)){p.display=ug(a);continue}if(/^font-mono$/.test(e))continue;let g=cg(a);if(/^(radius|rounded)(-|$)/.test(e)&&g!==null){l[e]=g;continue}if(/^spacing$/.test(e)&&g!==null){m=g;continue}if(/^(spacing|space)-/.test(e)&&g!==null){u.push(g);continue}let _=/^text-([\w-]+?)(--line-height|--font-weight|--text-transform)?$/.exec(e);if(_){let e=f[_[1]]??={size:0};if(!_[2]&&g!==null){e.size=g;continue}if(_[2]===`--line-height`){e.lh=a;continue}if(_[2]===`--font-weight`&&!isNaN(parseFloat(a))){e.weight=parseFloat(a);continue}if(_[2]===`--text-transform`&&lg[a.trim()]){e.textCase=lg[a.trim()];continue}}d.push(`--${e}`)}for(let[e,t]of Object.entries(f))t.size||(delete f[e],d.push(`--text-${e}`));let h=u.length?[0,...new Set(u.filter(e=>e>0))].sort((e,t)=>e-t):m?F.map(e=>e*m/4):[...F];return{name:t,fonts:p,skipped:d,tokens:gg({css:{group:``,prefix:s?`--color-`:`--`},colors:c,text:_g(f,p,hg(c)),radius:l,space:h})}}function hg(e){let t=lt(Object.keys(e),[]).text;return t?`$${t}`:j}var gg=e=>{let t=lt(Object.keys(e.colors),Object.keys(e.text));return Object.keys(t).length?{...e,defaults:t}:e};function _g(e,t,n){let r=t.body??I.fontBody,i=t.display??t.body??I.fontDisplay;if(!Object.keys(e).length)return Object.fromEntries(Object.entries(Ue({...I,fontBody:r,fontDisplay:i})).map(([e,t])=>[e,{...t,color:n}]));let a={};for(let[t,o]of Object.entries(e).sort((e,t)=>e[1].size-t[1].size)){let e=o.size>=24,s=o.lh?cg(o.lh)!==null&&/px|rem/.test(o.lh)?cg(o.lh):parseFloat(o.lh)*o.size:void 0;a[t]={fontFamily:e?i:r,fontSize:o.size,fontWeight:o.weight??(e?600:400),color:n,...s&&isFinite(s)?{lineHeight:Math.round(s*10)/10}:{},...o.textCase?{textCase:o.textCase}:{}}}return a}var vg=e=>!!e&&typeof e==`object`&&`$value`in e;function yg(e){if(typeof e==`string`)return sg(e);if(e&&typeof e==`object`){let t=e;if(t.hex)return ag(sg(t.hex)??``,t.alpha??1)||null;if(t.colorSpace===`srgb`&&t.components?.length===3)return ag(p(t.components),t.alpha??1)}return null}function bg(e){if(typeof e==`number`)return e;if(typeof e==`string`)return cg(e);if(e&&typeof e==`object`){let t=e;if(typeof t.value==`number`)return t.unit===`rem`?t.value*16:t.value}return null}function xg(e){let t=e?.[`nudge.textCase`];return t===`upper`||t===`lower`||t===`title`?t:void 0}var Sg={color:`color`,sizing:`dimension`,spacing:`dimension`,borderRadius:`dimension`,borderWidth:`dimension`,dimension:`dimension`,fontSizes:`dimension`,letterSpacing:`dimension`,lineHeights:`dimension`,paragraphSpacing:`dimension`,fontFamilies:`fontFamily`,fontFamily:`fontFamily`,fontWeights:`fontWeight`,fontWeight:`fontWeight`,typography:`typography`,boxShadow:`shadow`},Cg=e=>!!e&&typeof e==`object`&&!Array.isArray(e)&&`value`in e&&!(`$value`in e)&&Object.keys(e).every(e=>[`value`,`type`,`description`,`comment`,`attributes`,`$extensions`,`extensions`].includes(e));function wg(e){if(!e||typeof e!=`object`||Array.isArray(e))return e;if(Cg(e)){let t=typeof e.type==`string`?e.type:void 0;return{$value:e.value,...t?{$type:Sg[t]??t}:{},...t===`borderRadius`?{$extensions:{"legacy.radius":!0}}:{}}}return Object.fromEntries(Object.entries(e).map(([e,t])=>[e,e.startsWith(`$`)?t:wg(t)]))}function Tg(e){let t={};for(let n of e)for(let[e,r]of Object.entries(n)){let n=t[e];t[e]=n&&typeof n==`object`&&!vg(n)&&r&&typeof r==`object`&&!vg(r)?Tg([n,r]):r}return t}function Eg(e){let t=e.$metadata?.tokenSetOrder;if(!Array.isArray(t)&&!(`$themes`in e))return null;let n=(Array.isArray(t)?t.map(String):Object.keys(e)).filter(t=>!t.startsWith(`$`)&&e[t]&&typeof e[t]==`object`),r=e=>/(^|[/_ -])dark($|[/_ -])/i.test(e),i=Tg(n.filter(e=>!r(e)).map(t=>e[t])),a=n.filter(r);return a.length?{light:i,dark:Tg([i,...a.map(t=>e[t])])}:i}var Dg={thin:100,hairline:100,extralight:200,ultralight:200,light:300,regular:400,normal:400,book:400,medium:500,semibold:600,demibold:600,bold:700,extrabold:800,ultrabold:800,black:900,heavy:900},Og=e=>typeof e==`number`?e:Number(e)||Dg[String(e??``).toLowerCase().replace(/[\s_-]/g,``)]||400;function kg(e,t){if(!e||typeof e!=`object`||Array.isArray(e))return{error:`This JSON isn't design tokens.`};let n=wg(e),r=Eg(n)??n,i=typeof r.$description==`string`?r.$description.split(` — `)[0].trim():``,a=Object.keys(r).filter(e=>!e.startsWith(`$`)),o=a.find(e=>/^light$/i.test(e)),s=a.find(e=>/^dark$/i.test(e)),c=o&&s?[[`light`,r[o]],[`dark`,r[s]]]:[[`light`,r]],l={light:new Map,dark:new Map},u=(e,t,n,r)=>{for(let[i,a]of Object.entries(t)){if(i.startsWith(`$`)||!a||typeof a!=`object`)continue;let t=typeof a.$type==`string`?a.$type:r;if(vg(a)){let r=a.$extensions?.[`nudge.themes`],o=!!a.$extensions?.[`legacy.radius`];l[e].set([...n,i].join(`.`),{type:t,value:a.$value,dark:r?.dark,textCase:xg(a.$extensions),...o?{radius:o}:{}})}else u(e,a,[...n,i],t)}};for(let[e,t]of c)t&&typeof t==`object`&&u(e,t,[]);if(!l.light.size)return{error:`No tokens ($value) in this JSON.`};let d=(e,t,n=0)=>{let r=typeof t==`string`?/^\{([^}]+)\}$/.exec(t.trim()):null;if(!r||n>8)return t;let i=r[1].trim().replace(/\.\$?value$/,``),a=l[e].get(i)??l.light.get(i);return a?d(e,a.value,n+1):t},f={},p={},m=[],h=[],g={},_={},v=e=>{let t=e.split(`.`),n=t.map(e=>/^(border[-_]?)?radi(us|i)$|^corners?$|^rounded$/i.test(e)).lastIndexOf(!0);return(n>=0?t.slice(n+1):t.slice(-1)).join(`-`).replace(/^(border[-_]?)?radius[-_]?/i,``)||`md`},y=e=>e.split(`.`).filter((e,t,n)=>!(t===0&&n.length>1&&/^(colou?rs?|typography|text|radius|radii|spacing|space|font(s|Family)?)$/i.test(e))).join(`-`);for(let[e,t]of l.light){let n=d(`light`,t.value),r=t.type??(yg(n)?`color`:bg(n)!==null&&/radius|radii|corner|rounded|spac|gap/i.test(e)?`dimension`:/font.?famil/i.test(e)&&typeof n==`string`?`fontFamily`:void 0);if(r===`color`){let r=yg(n),i=l.dark.get(e),a=yg(d(`dark`,i?i.value:t.dark));if(r){f[y(e)]={light:r,...a&&a!==r?{dark:a}:{}};continue}}if(r===`dimension`||r===`number`){let r=bg(n);if(r!==null&&(t.radius||/radius|radii|corner|rounded/i.test(e))){p[`radius-${v(e)}`]=r;continue}if(r!==null&&/spac|gap/i.test(e)){m.push(r);continue}}if(r===`fontFamily`){let t=Array.isArray(n)?String(n[0]):ug(String(n));/head|display|title|serif/i.test(e)?_.display??=t:/mono|code/i.test(e)||(_.body??=t)}else{if(r===`typography`&&n&&typeof n==`object`){let r=n,i=bg(d(`light`,r.fontSize));if(i){let n=d(`light`,r.fontFamily),a=d(`light`,r.lineHeight),o=typeof a==`number`?a<=4?a*i:a:typeof a==`string`&&/%$/.test(a.trim())?parseFloat(a)/100*i:bg(a),s=bg(d(`light`,r.letterSpacing));g[y(e)]={fontFamily:(Array.isArray(n)?String(n[0]):typeof n==`string`?ug(n):void 0)??_.body??I.fontBody,fontSize:i,fontWeight:Og(d(`light`,r.fontWeight)),color:hg(f),...o?{lineHeight:Math.round(o*10)/10}:{},...s?{letterSpacing:s}:{},...t.textCase?{textCase:t.textCase}:{}};continue}}h.push(e)}}for(let e of Object.values(g))e.color=hg(f);return{name:i||t,fonts:_,skipped:h,tokens:gg({css:{group:``,prefix:`--`},colors:f,radius:p,text:Object.keys(g).length?g:_g({},_,hg(f)),space:m.length?[0,...new Set(m.filter(e=>e>0))].sort((e,t)=>e-t):[...F]})}}var Ag={fontDisplay:`Display font`,fontBody:`Body font`,bg:`Background`,fg:`Text`,accent:`Accent`,radius:`Corners`,radii:`Corner sizes`,roles:`Color roles`},jg=(e,t)=>JSON.stringify(e??null)===JSON.stringify(t??null),Mg=(...e)=>[...new Set(e.flatMap(e=>Object.keys(e??{})))],Ng=e=>typeof e==`string`&&/^[a-z]+$/.test(e)?e[0].toUpperCase()+e.slice(1):Array.isArray(e)?e.join(` · `):e==null?`None`:typeof e==`object`?`Set`:String(e),Pg=e=>typeof e==`string`&&/^#[0-9a-f]{3,8}$/i.test(e);function Fg(e){if(e.saved)return e.saved.base;let t=Ee(e);return t?{slots:t.slots}:null}function Ig(e,t){let n=structuredClone(e);return n.slots=structuredClone(t.slots),t.published?n.published=t.published:delete n.published,t.tokens?n.tokens=structuredClone(t.tokens):delete n.tokens,t.overrides?n.overrides=structuredClone(t.overrides):delete n.overrides,n}var Lg=(e,t)=>{let n=it(e)[t];return n?`${n.fontSize}${n.lineHeight?`/${n.lineHeight}`:``} · ${n.fontWeight}`:`None`};function Rg(e){let t=Fg(e),n=t?Ig(e,t):null,r=[];if(t){let{dark:n,...i}=e.slots,{dark:a,...o}=t.slots;for(let t of Mg(i,o)){let n=o[t],a=i[t];if(jg(n,a))continue;let s=e.published?void 0:{slots:{[t]:n===void 0&&(t===`roles`||t===`radii`)?null:n}};r.push({key:`slots.${t}`,label:Ag[t]??t,from:Ng(n),to:Ng(a),...Pg(n)?{fromColor:n}:{},...Pg(a)?{toColor:a}:{},...n!==void 0&&s?{revert:[s]}:{}})}for(let t of Mg(n,a)){let i=a?.[t],o=n?.[t];jg(i,o)||r.push({key:`slots.dark.${t}`,label:`${Ag[t]??t} (dark)`,from:Ng(i),to:Ng(o),...Pg(i)?{fromColor:i}:{},...Pg(o)?{toColor:o}:{},...e.published?{}:{revert:[{slots:{dark:{[t]:i===void 0?null:i}}}]}})}jg(t.published,e.published)||r.push({key:`published`,label:`Source`,from:Ng(t.published),to:Ng(e.published)})}let i=n??Ig(e,{slots:e.slots,...e.published?{published:e.published}:{},...e.tokens?{tokens:e.tokens}:{}}),a=[[`colors`,(e,t)=>$e(e)[t]??`None`],[`text`,Lg],[`radius`,(e,t)=>{let n=et(e)[t];return n===void 0?`None`:`${n}`}],[`space`,(e,t)=>`${e.overrides?.space?.[t]??t}`]];for(let[n,o]of a){let a=e.overrides?.[n],s=t?t.overrides?.[n]:void 0;for(let t of Mg(a,s)){let c=s?.[t],l=a?.[t];if(jg(c,l))continue;let u=o(i,t),d=o(e,t);r.push({key:`overrides.${n}.${t}`,label:n===`space`?`space ${t}`:t,from:u,to:d,...n===`colors`?{fromColor:u,toColor:d}:{},revert:[{overrides:{[n]:{[t]:null}}},...c===void 0?[]:[{overrides:{[n]:{[t]:c}}}]]})}if(e.saved&&t&&n!==`space`){let a=e.tokens?.[n],s=t.tokens?.[n];for(let t of Mg(a,s))if(!jg(a?.[t],s?.[t])&&!r.some(e=>e.label===t)){let a=o(i,t),s=o(e,t);r.push({key:`tokens.${n}.${t}`,label:t,from:a,to:s,...n===`colors`?{fromColor:a,toColor:s}:{}})}}}return r}var zg=e=>new Set(Rg(e).map(e=>e.key));function Bg(e){let[t,n]=e.center??[.5,.5],[r,i]=e.radius??[.5,.5];return{cx:t,cy:n,rx:r,ry:i}}function Vg(e){let t=(e.rotation??0)%360;return t<0?t+360:t}function Hg(e){return e.type===`radial`&&Vg(e)!==0}var Ug=e=>Math.round(e*1e4)/1e4;function Wg(e){return[...e].sort((e,t)=>e.at-t.at)}function Gg(e,t){return e.type===`radial`?qg(e,t):`linear-gradient(${e.angle}deg, ${Wg(e.stops).map(e=>`${t(e.color)} ${e.at*100}%`).join(`, `)})`}function Kg(e,t){let n=Bg(e),r=e=>`${Ug(e*100)}%`,i=Wg(e.stops);return{background:t(i[i.length-1].color)??`transparent`,ellipse:{left:r(n.cx-n.rx),top:r(n.cy-n.ry),width:r(n.rx*2),height:r(n.ry*2),background:`radial-gradient(ellipse closest-side at 50% 50%, ${i.map(e=>`${t(e.color)} ${r(e.at)}`).join(`, `)})`,transform:`rotate(${Ug(Vg(e))}deg)`,transformOrigin:`50% 50%`}}}function qg(e,t){let n=Bg(e),r=e=>`${Ug(e*100)}%`;return`radial-gradient(ellipse ${r(n.rx)} ${r(n.ry)} at ${r(n.cx)} ${r(n.cy)}, ${Wg(e.stops).map(e=>`${t(e.color)} ${r(e.at)}`).join(`, `)})`}function Jg(e){return{autoplay:e.autoplay!==!1,loop:e.loop!==!1,muted:e.muted!==!1}}var Yg=a(),Xg=`#ff00ff`;function Zg(e,t){if(t)return t.startsWith(`$`)?e.styles.colors[t.slice(1)]??Xg:t}var Qg=e=>e===`start`?`flex-start`:e===`end`?`flex-end`:`center`;function $g(e,t,n){switch(t.type){case`shader`:return`none`;case`solid`:{let n=Zg(e,t.color);return`linear-gradient(${n}, ${n})`}case`linear`:return`linear-gradient(${t.angle}deg, ${Wg(t.stops).map(t=>`${Zg(e,t.color)} ${t.at*100}%`).join(`, `)})`;case`radial`:return qg(t,t=>Zg(e,t));case`image`:{if(t.fit===`crop`&&t.crop){let[e,r,i,a]=t.crop,o=(e,t)=>t<1?e/(1-t)*100:0;return`url("${n(t.asset)}") ${o(e,i)}% ${o(r,a)}% / ${100/i}% ${100/a}% no-repeat`}let[e,r]=t.pos??[.5,.5],i=t.fit===`fill`?`100% 100%`:t.fit===`crop`?`cover`:t.fit;return`url("${n(t.asset)}") ${e*100}% ${r*100}% / ${i} no-repeat`}case`video`:return`none`}}function e_(e){let t=e.boolean?[]:e.fills?.filter(e=>e.visible!==!1&&e.type!==`video`)??[],n=t.findIndex(Hg);return n<0?{background:t,layers:[]}:{background:t.slice(0,n),layers:t.slice(n).filter(e=>e.type!==`shader`)}}function t_(e,t,n){let r={position:`absolute`,inset:0,overflow:`hidden`,borderRadius:`inherit`,pointerEvents:`none`,...t.blend&&t.blend!==`normal`?{mixBlendMode:t.blend}:{}};if(!Hg(t))return{layer:{...r,background:$g(e,t,n)}};let i=Kg(t,t=>Zg(e,t));return{layer:{...r,background:i.background},ellipse:{position:`absolute`,...i.ellipse}}}function n_(e,t){let n=t.parent?e.nodes[t.parent]:void 0;if(!n||n.layout.mode===`free`||t.absolute||!t.rotation||!(t.rotation%180))return!1;let r=Qh(e,t);return r.x!==`fill`&&r.y!==`fill`}function r_(e,t){let n={boxSizing:`border-box`,flexShrink:0},r=t.parent?e.nodes[t.parent]:void 0,i=!!r&&r.layout.mode!==`free`&&!t.absolute,a=Qh(e,t),o=t.type===`text`,s=t.type===`frame`&&t.layout.mode===`free`;i?n.position=`relative`:(n.position=`absolute`,n.left=t.x,n.top=t.y);let c=e=>{let o=a[e]===`hug`&&s?`fixed`:a[e],c=e===`x`?`width`:`height`,l=e===`x`?t.w:t.h,u=i&&(r.layout.mode===`row`?`x`:`y`)===e;o===`fixed`?n[c]=l:o===`hug`?n[c]=e===`x`?`max-content`:`auto`:u?(n.flexGrow=1,n.flexShrink=1,n.flexBasis=0,n[e===`x`?`minWidth`:`minHeight`]=0):(n.alignSelf=`stretch`,n[c]=`auto`)};c(`x`),c(`y`),t.lockRatio&&t.w>0&&t.h>0&&a.x===`fill`!=(a.y===`fill`)&&(a.x===`fixed`||a.y===`fixed`)&&(n.aspectRatio=`${t.w} / ${t.h}`,a.x===`fixed`?n.width=`auto`:n.height=`auto`);let l=t.parent?e.nodes[t.parent]:void 0,u=l&&(t.absolute||l.type===`frame`&&l.layout.mode===`free`)?t.constraints:void 0;if(u){let[e,r]=u.ref,i=typeof n.width==`number`?n.width:t.w,a=typeof n.height==`number`?n.height:t.h;u.x===`right`?(delete n.left,n.right=e-t.x-i):u.x===`leftRight`?(n.right=e-t.x-i,delete n.width):u.x===`center`&&(n.left=`calc(50% + ${t.x-e/2}px)`),u.y===`bottom`?(delete n.top,n.bottom=r-t.y-a):u.y===`topBottom`?(n.bottom=r-t.y-a,delete n.height):u.y===`center`&&(n.top=`calc(50% + ${t.y-r/2}px)`)}o&&(n.whiteSpace=a.x===`hug`?`pre`:`pre-wrap`),t.opacity!==void 0&&(n.opacity=t.opacity),t.blend&&t.blend!==`normal`&&(n.mixBlendMode=t.blend);let d=n_(e,t),f=[d?`translate(-50%, -50%)`:``,t.rotation?`rotate(${t.rotation}deg)`:``,t.flipX||t.flipY?`scale(${t.flipX?-1:1}, ${t.flipY?-1:1})`:``].filter(Boolean);return f.length&&(n.transform=f.join(` `)),d&&Object.assign(n,{position:`absolute`,left:`50%`,top:`50%`,margin:0}),t.hidden&&(n.display=`none`),n}function i_(e,t,n){if(e!==`crop`||!t)return{inset:0,width:`100%`,height:`100%`,objectFit:e===`crop`?`cover`:e,borderRadius:`inherit`};let[r,i,a,o]=t,s=e=>`${Math.round(e*1e6)/1e4}%`,c=e=>s(Math.max(0,e)),l=n?` round ${typeof n==`number`?`${n}px`:n}`:``;return{left:s(-r/a),top:s(-i/o),width:s(1/a),height:s(1/o),objectFit:`fill`,clipPath:`inset(${c(i)} ${c(1-r-a)} ${c(1-i-o)} ${c(r)}${l})`}}function a_(e,t,n){let r=r_(e,t),i=t.layout;if(!t.hidden){if(i.mode===`free`)r.position!==`absolute`&&(r.position=`relative`);else{r.display=`flex`,r.flexDirection=i.mode===`row`?`row`:`column`;let e=i.wrap&&i.mode===`row`;r.columnGap=i.mode===`row`?i.gap:0,r.rowGap=i.mode===`column`?i.gap:e?i.gapCross??i.gap:0,r.justifyContent=i.alignMain===`between`?`space-between`:Qg(i.alignMain),r.alignItems=Qg(i.alignCross),e&&(r.flexWrap=`wrap`,r.alignContent=Qg(i.alignCross))}}r.padding=`${i.pad[0]}px ${i.pad[1]}px ${i.pad[2]}px ${i.pad[3]}px`;let a=e_(t).background;if(a.length){let t=[...a].reverse();r.background=t.map(t=>$g(e,t,n)).join(`, `),t.some(e=>e.blend&&e.blend!==`normal`)&&(r.backgroundBlendMode=t.map(e=>e.blend??`normal`).join(`, `))}let o=Ot(e,t.radius);o!==void 0&&(r.borderRadius=Array.isArray(o)?o.map(e=>`${e}px`).join(` `):o),t.clip&&(r.overflow=`hidden`);let s=o_(t).filter(e=>e.type===`shadow`);s.length&&(r.boxShadow=s.map(t=>`${t.inset?`inset `:``}${t.x}px ${t.y}px ${t.blur}px ${t.spread}px ${Zg(e,t.color)}`).join(`, `));let c=o_(t).find(e=>e.type===`backdropBlur`);return c&&(r.backdropFilter=r.WebkitBackdropFilter=`blur(${c.radius}px)`),s_(t,r),r}var o_=e=>(e.effects??[]).filter(e=>e.visible!==!1);function s_(e,t,n=[]){let r=o_(e).find(e=>e.type===`layerBlur`),i=[...n,...r?[`blur(${r.radius}px)`]:[]];i.length&&(t.filter=i.join(` `))}function c_(e,t,n){let r=o_(t).filter(e=>e.type===`shadow`&&!e.inset);r.length&&(n.textShadow=r.map(t=>`${t.x}px ${t.y}px ${t.blur}px ${Zg(e,t.color)}`).join(`, `)),s_(t,n)}function l_(e,t,n){s_(t,n,o_(t).filter(e=>e.type===`shadow`&&!e.inset).map(t=>`drop-shadow(${t.x}px ${t.y}px ${t.blur/2}px ${Zg(e,t.color)})`))}function u_(e,t){if(!t.stroke||t.stroke.width===0||t.stroke.visible===!1||t.stroke.sides)return null;let n=t.stroke.width,r=t.stroke.align===`outside`?0:t.stroke.align===`center`?-n/2:-n;return{outline:`${n}px ${t.stroke.dash?`dashed`:`solid`} ${Zg(e,t.stroke.color)}`,outlineOffset:r}}function d_(e,t){let n=t.stroke;if(!n?.sides||n.visible===!1||n.sides.every(e=>e===0))return null;let r=n.align===`outside`?1:n.align===`center`?.5:0,[i,a,o,s]=n.sides.map(e=>e*r),c=Ot(e,t.radius),l=c===void 0?[0,0,0,0]:Array.isArray(c)?c:[c,c,c,c],u=[Math.max(i,s),Math.max(i,a),Math.max(o,a),Math.max(o,s)];return{position:`absolute`,top:-i,right:-a,bottom:-o,left:-s,pointerEvents:`none`,boxSizing:`border-box`,borderStyle:n.dash?`dashed`:`solid`,borderColor:Zg(e,n.color),borderWidth:n.sides.map(e=>`${e}px`).join(` `),borderRadius:r?l.map((e,t)=>`${e?e+u[t]:0}px`).join(` `):`inherit`}}function f_(e,t){let n=t.style?e.styles.text[t.style.slice(1)]:void 0,r=e=>t[e]??n?.[e];return{fontFamily:r(`fontFamily`),fontSize:r(`fontSize`),fontWeight:r(`fontWeight`),fontStyle:r(`fontStyle`),lineHeight:r(`lineHeight`),letterSpacing:r(`letterSpacing`),textAlign:r(`textAlign`),textCase:r(`textCase`),color:r(`color`)}}function p_(e,t){if(!t.spans?.some(e=>e.lineHeight!==void 0))return null;let n=f_(e,t);return n.lineHeight===void 0?`normal`:`${n.lineHeight}px`}function m_(e,t,n){let r=ue(e,t);if(!n)return r;let i=[],a=!0;for(let e of r)e.text.split(`
|
|
66
|
+
`).forEach((t,n)=>{n&&(a?i.push({...e,text:`
|
|
67
|
+
`}):i.push({text:`
|
|
68
|
+
`,style:null,bare:!0}),a=!0),t&&(i.push({...e,text:t}),a=!1)});return i}var h_=e=>e.replace(/\*\/|[<>{};\\]/g,``);function g_(e,t){let n=r_(e,t),r=f_(e,t);return n.fontFamily=r.fontFamily?h_(r.fontFamily):`Pretendard, system-ui, sans-serif`,n.fontSize=r.fontSize??16,n.fontWeight=r.fontWeight??400,r.fontStyle===`italic`&&(n.fontStyle=`italic`),t.textDecoration&&(n.textDecoration=t.textDecoration),r.textCase&&(n.textTransform=re(r.textCase)),n.lineHeight=p_(e,t)?0:r.lineHeight===void 0?`normal`:`${r.lineHeight}px`,r.letterSpacing!==void 0&&(n.letterSpacing=r.letterSpacing),n.textAlign=r.textAlign??`left`,n.color=Zg(e,r.color)??`#000`,n.margin=0,t.textAlignV&&t.textAlignV!==`top`&&(n.display=t.hidden?`none`:`flex`,n.flexDirection=`column`,n.justifyContent=t.textAlignV===`center`?`center`:`flex-end`),c_(e,t,n),n}function __(e,t){let n={};return t.fontFamily&&(n.fontFamily=h_(t.fontFamily)),t.fontSize!==void 0&&(n.fontSize=t.fontSize),t.fontWeight!==void 0&&(n.fontWeight=t.fontWeight),t.fontStyle&&(n.fontStyle=t.fontStyle),t.lineHeight!==void 0&&(n.lineHeight=`${t.lineHeight}px`),t.letterSpacing!==void 0&&(n.letterSpacing=t.letterSpacing),t.color&&(n.color=Zg(e,t.color)),t.textDecoration&&(n.textDecoration=t.textDecoration),t.textCase&&(n.textTransform=re(t.textCase)),n}function v_(e){let t=new Set(Object.values(e.assets).filter(e=>e.kind===`font`&&e.family).map(e=>e.family)),n=new Set,r=e=>{let r=e?.split(`,`)[0]?.trim().replace(/^["']|["']$/g,``);r&&!t.has(r)&&n.add(r)};r(e.system?.slots.fontDisplay),r(e.system?.slots.fontBody);for(let t of Object.values(e.styles.text))r(t.fontFamily);for(let t of Object.values(e.nodes))t.type===`text`&&r(t.fontFamily);return[...n].sort()}var y_=t((e=>{var t=Symbol.for(`react.transitional.element`),n=Symbol.for(`react.fragment`);function r(e,n,r){var i=null;if(r!==void 0&&(i=``+r),n.key!==void 0&&(i=``+n.key),`key`in n)for(var a in r={},n)a!==`key`&&(r[a]=n[a]);else r=n;return n=r.ref,{$$typeof:t,type:e,key:i,ref:n===void 0?null:n,props:r}}e.Fragment=n,e.jsx=r,e.jsxs=r})),b_=t(((e,t)=>{t.exports=y_()})),$=b_(),x_=e=>e.replace(/[^\w-]/g,`_`);function S_(e,t,n,r,i,a){switch(t.type){case`shader`:return null;case`solid`:return{fill:Zg(e,t.color)};case`linear`:{let a=t.angle*Math.PI/180,o=Math.sin(a),s=-Math.cos(a),c=Math.abs(r*o)+Math.abs(i*s),l=r/2,u=i/2;return{fill:`url(#${n})`,def:(0,$.jsx)(`linearGradient`,{id:n,gradientUnits:`userSpaceOnUse`,x1:l-o*c/2,y1:u-s*c/2,x2:l+o*c/2,y2:u+s*c/2,children:Wg(t.stops).map((t,n)=>(0,$.jsx)(`stop`,{offset:t.at,stopColor:Zg(e,t.color)},n))},n)}}case`radial`:{let a=Bg(t);return{fill:`url(#${n})`,def:(0,$.jsx)(`radialGradient`,{id:n,gradientUnits:`userSpaceOnUse`,cx:0,cy:0,r:1,gradientTransform:`translate(${a.cx*r} ${a.cy*i})${Vg(t)?` rotate(${Vg(t)})`:``} scale(${a.rx*r} ${a.ry*i})`,children:Wg(t.stops).map((t,n)=>(0,$.jsx)(`stop`,{offset:t.at,stopColor:Zg(e,t.color)},n))},n)}}case`image`:{if(t.fit===`crop`&&t.crop){let[e,o,s,c]=t.crop;return{fill:`url(#${n})`,def:(0,$.jsx)(`pattern`,{id:n,patternUnits:`userSpaceOnUse`,width:r,height:i,children:(0,$.jsx)(`image`,{href:a(t.asset),x:-e*r/s,y:-o*i/c,width:r/s,height:i/c,preserveAspectRatio:`none`})},n)}}let[e,o]=t.pos??[.5,.5],s=e=>e<.34?`Min`:e>.66?`Max`:`Mid`,c=t.fit===`fill`?`none`:`x${s(e)}Y${s(o)} ${t.fit===`contain`?`meet`:`slice`}`;return{fill:`url(#${n})`,def:(0,$.jsx)(`pattern`,{id:n,patternUnits:`userSpaceOnUse`,width:r,height:i,children:(0,$.jsx)(`image`,{href:a(t.asset),width:r,height:i,preserveAspectRatio:c})},n)}}case`video`:return null}}function C_(e,t,n,r,i,a,o,s,c,l=r){let u=`nudge-${x_(t)}`,d=[],f=[];l&&(i.fills??[]).filter(e=>e.visible!==!1).forEach((t,r)=>{let i=S_(e,t,`${u}-f${r}`,a,o,s);if(!i)return;i.def&&d.push(i.def);let l={fill:i.fill};t.blend&&t.blend!==`normal`&&(l.mixBlendMode=t.blend),f.push((0,$.jsx)(`path`,{d:n,style:l,fillRule:c},`f${r}`))});let p=i.stroke;if(p&&p.width>0&&p.visible!==!1){let t=r?p.align??`inside`:`center`,i={fill:`none`,stroke:Zg(e,p.color),strokeWidth:t===`center`?p.width:p.width*2,strokeLinecap:p.cap===`round`?`round`:p.cap===`square`?`square`:`butt`,...p.dash?{strokeDasharray:`${p.dash[0]} ${p.dash[1]}`}:{}};if(t===`inside`)d.push((0,$.jsx)(`clipPath`,{id:`${u}-clip`,children:(0,$.jsx)(`path`,{d:n,fillRule:c})},`clip`)),f.push((0,$.jsx)(`path`,{d:n,style:i,clipPath:`url(#${u}-clip)`},`s`));else if(t===`outside`){let e=p.width*2;d.push((0,$.jsxs)(`mask`,{id:`${u}-mask`,maskUnits:`userSpaceOnUse`,x:-e,y:-e,width:a+e*2,height:o+e*2,children:[(0,$.jsx)(`rect`,{x:-e,y:-e,width:a+e*2,height:o+e*2,fill:`#fff`}),(0,$.jsx)(`path`,{d:n,fill:`#000`,fillRule:c})]},`mask`)),f.push((0,$.jsx)(`path`,{d:n,style:i,mask:`url(#${u}-mask)`},`s`))}else f.push((0,$.jsx)(`path`,{d:n,style:i},`s`))}return f.push((0,$.jsx)(`path`,{"data-nudge-hit":!0,d:n,fill:`none`,stroke:`transparent`,strokeWidth:0},`hit`)),d.length?[(0,$.jsx)(`defs`,{children:d},`defs`),...f]:f}function w_(e,t){let n=r_(e,t);return n.overflow=`visible`,n.display=t.hidden?`none`:`block`,l_(e,t,n),n}function T_({doc:e,n:t,assetUrl:n}){let r=ep(e,t),i=Qh(e,t),a=(i.x===`fill`||i.y===`fill`)&&t.w>0&&t.h>0;return(0,$.jsx)(`svg`,{"data-node-id":t.id,style:w_(e,t),width:t.w,height:t.h,...a?{viewBox:`0 0 ${t.w} ${t.h}`,preserveAspectRatio:`none`}:{},children:C_(e,t.id,r,Z(t.shape),t,t.w,t.h,n,t.shape.kind===`ellipse`?`evenodd`:void 0,t.shape.kind!==`line`)})}function E_({doc:e,n:t,assetUrl:n,children:r}){let i;try{i=Sp(e,t)}catch{i={d:``,failed:!0}}let a=r_(e,t);return l_(e,t,a),(0,$.jsxs)(`div`,{"data-node-id":t.id,"data-nudge-boolean":t.boolean,"data-nudge-failed":i.failed?``:void 0,style:a,children:[(0,$.jsx)(`svg`,{style:{position:`absolute`,left:0,top:0,overflow:`visible`,pointerEvents:`none`},width:t.w,height:t.h,children:(0,$.jsx)(`g`,{style:{pointerEvents:`auto`},children:C_(e,t.id,i.d,!0,t,t.w,t.h,n,`evenodd`)})}),(0,$.jsx)(`div`,{"data-nudge-operands":!0,style:{position:`absolute`,inset:0,opacity:+!!i.failed},children:r})]})}var D_=`precision highp float;
|
|
69
|
+
uniform vec2 u_resolution;
|
|
70
|
+
uniform float u_time;
|
|
71
|
+
`,O_=`uniform sampler2D u_image;
|
|
72
|
+
uniform vec4 u_fit;
|
|
73
|
+
vec4 image(vec2 uv) {
|
|
74
|
+
vec2 t = uv * u_fit.xy + u_fit.zw;
|
|
75
|
+
if (t.x < 0.0 || t.y < 0.0 || t.x > 1.0 || t.y > 1.0) return vec4(0.0);
|
|
76
|
+
return texture2D(u_image, vec2(t.x, 1.0 - t.y));
|
|
77
|
+
}
|
|
78
|
+
`;function k_(e){let t=(e.params??[]).map(e=>`uniform ${e.kind===`color`?`vec3`:`float`} ${e.id};`).join(`
|
|
79
|
+
`);return`${D_}${e.input===`image`?O_:``}${t}\n${e.code}`}var A_=`attribute vec2 p;
|
|
80
|
+
void main() { gl_Position = vec4(p, 0.0, 1.0); }`,j_,M_=null,N_=new Map;function P_(){if(j_!==void 0)return j_;if(M_=document.createElement(`canvas`),j_=M_.getContext(`webgl`,{premultipliedAlpha:!1,preserveDrawingBuffer:!0,antialias:!1}),j_){let e=j_.createBuffer();j_.bindBuffer(j_.ARRAY_BUFFER,e),j_.bufferData(j_.ARRAY_BUFFER,new Float32Array([-1,-1,1,-1,-1,1,-1,1,1,-1,1,1]),j_.STATIC_DRAW),M_.addEventListener(`webglcontextlost`,()=>{j_=void 0,N_.clear(),R_.clear()})}return j_}function F_(e){let t=k_(e),n=N_.get(t);if(n)return n;let r=P_();if(!r)return{error:`This browser can't draw shaders (no WebGL)`};let i=(e,t)=>{let n=r.createShader(e);return r.shaderSource(n,t),r.compileShader(n),r.getShaderParameter(n,r.COMPILE_STATUS)?{sh:n,error:null}:{sh:null,error:r.getShaderInfoLog(n)||`compile error`}},a=i(r.VERTEX_SHADER,A_),o=i(r.FRAGMENT_SHADER,t),s;if(!o.sh)s={error:(o.error??``).trim()};else if(!a.sh)s={error:(a.error??``).trim()};else{let t=r.createProgram();if(r.attachShader(t,a.sh),r.attachShader(t,o.sh),r.linkProgram(t),!r.getProgramParameter(t,r.LINK_STATUS))s={error:r.getProgramInfoLog(t)??`link error`};else{let n=new Map;for(let i of[`u_resolution`,`u_time`,`u_image`,`u_fit`,...(e.params??[]).map(e=>e.id)])n.set(i,r.getUniformLocation(t,i));s={prog:t,loc:n}}}return N_.set(t,s),s}function I_(e){let t=F_(e);return`error`in t?t.error:null}var L_=e=>[1,3,5].map(t=>parseInt(e.slice(t,t+2),16)/255),R_=new Map;function z_(e,t){if(!P_())return null;let n=R_.get(e);if(!n){let t={tex:null,w:0,h:0,ready:!1,waiting:new Set};n=t,R_.set(e,t);let r=new Image;r.crossOrigin=`anonymous`,r.onload=()=>{let e=P_();if(e){t.tex=e.createTexture(),e.bindTexture(e.TEXTURE_2D,t.tex),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_MIN_FILTER,e.LINEAR),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_MAG_FILTER,e.LINEAR),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_WRAP_S,e.CLAMP_TO_EDGE),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_WRAP_T,e.CLAMP_TO_EDGE),e.texImage2D(e.TEXTURE_2D,0,e.RGBA,e.RGBA,e.UNSIGNED_BYTE,r),t.w=r.naturalWidth,t.h=r.naturalHeight,t.ready=!0;for(let e of t.waiting)e();t.waiting.clear()}},r.src=e}return n.ready||n.waiting.add(t),n}function B_(e,t,n,r,i){if(e.fit===`fill`)return[1,1,0,0];if(e.fit===`crop`&&e.crop){let[t,n,r,i]=e.crop;return[r,i,t,1-(n+i)]}let a=t/n,o=r/i,[s,c]=e.fit===`contain`?o>a?[1,o/a]:[a/o,1]:o>a?[a/o,1]:[1,o/a],[l,u]=e.fit===`contain`?[.5,.5]:e.pos??[.5,.5];return[s,c,(1-s)*l,(1-c)*(1-u)]}function V_(e,t,n,r){let i=F_(t),a=j_,o=e.getContext(`2d`);if(`error`in i||!a||!M_||!o){o?.clearRect(0,0,e.width,e.height);return}let s=e.width,c=e.height;if(!s||!c)return;(M_.width<s||M_.height<c)&&(M_.width=Math.max(M_.width,s),M_.height=Math.max(M_.height,c)),a.viewport(0,0,s,c),a.useProgram(i.prog);let l=a.getAttribLocation(i.prog,`p`);if(a.enableVertexAttribArray(l),a.vertexAttribPointer(l,2,a.FLOAT,!1,0,0),a.uniform2f(i.loc.get(`u_resolution`)??null,s,c),a.uniform1f(i.loc.get(`u_time`)??null,n),t.input===`image`){if(!r?.t.ready){o.clearRect(0,0,s,c);return}a.activeTexture(a.TEXTURE0),a.bindTexture(a.TEXTURE_2D,r.t.tex),a.uniform1i(i.loc.get(`u_image`)??null,0),a.uniform4f(i.loc.get(`u_fit`)??null,...B_(r.spec,s,c,r.t.w,r.t.h))}for(let e of t.params??[]){let t=i.loc.get(e.id)??null;e.kind===`color`?a.uniform3f(t,...L_(e.value)):a.uniform1f(t,e.value)}a.enable(a.SCISSOR_TEST),a.scissor(0,0,s,c),a.clearColor(0,0,0,0),a.clear(a.COLOR_BUFFER_BIT),a.drawArrays(a.TRIANGLES,0,6),o.clearRect(0,0,s,c),o.drawImage(M_,0,M_.height-c,s,c,0,0,s,c)}var H_=new Map,U_=new Set,W_=typeof IntersectionObserver<`u`?new IntersectionObserver(e=>{for(let t of e)t.isIntersecting?U_.add(t.target):U_.delete(t.target);!K_&&H_.size&&(K_=requestAnimationFrame(J_))}):null,G_=typeof performance<`u`?performance.now():0,K_=0,q_=()=>typeof matchMedia<`u`&&matchMedia(`(prefers-reduced-motion: reduce)`).matches;function J_(){if(K_=0,!H_.size||q_())return;let e=(performance.now()-G_)/1e3,t=0;for(let[n,r]of H_)if(!W_||U_.has(n)){let i=r();V_(n,i.shader,e,i.im),t++}(t||!W_)&&(K_=requestAnimationFrame(J_))}function Y_({shader:e,image:t,style:n}){let r=(0,Yg.useRef)(null),[,i]=(0,Yg.useState)(0),a=t&&typeof document<`u`?z_(t.url,()=>i(e=>e+1)):null,o=(0,Yg.useRef)({shader:e});o.current={shader:e,...a&&t?{im:{t:a,spec:t}}:{}};let s=/\bu_time\b/.test(e.code),c=()=>s&&!q_()?(performance.now()-G_)/1e3:0;return(0,Yg.useEffect)(()=>{let e=r.current,t=()=>{let t=e.getBoundingClientRect(),n=Math.min(2,devicePixelRatio||1),r=Math.min(2048,Math.max(1,Math.round(e.offsetWidth*n))),i=Math.min(2048,Math.max(1,Math.round(e.offsetHeight*n)));(e.width!==r||e.height!==i)&&(e.width=r,e.height=i),t.width&&V_(e,o.current.shader,c(),o.current.im)},n=new ResizeObserver(t);return n.observe(e),t(),()=>n.disconnect()},[]),(0,Yg.useEffect)(()=>{let t=r.current;if(V_(t,e,c(),o.current.im),s)return H_.set(t,()=>o.current),W_?.observe(t),K_||=requestAnimationFrame(J_),()=>{H_.delete(t),U_.delete(t),W_?.unobserve(t)}},[e,s,t?.url,t?.fit,t?.pos?.[0],t?.pos?.[1],a?.ready]),(0,$.jsx)(`canvas`,{ref:r,"data-nudge-shader":!0,style:{position:`absolute`,inset:0,width:`100%`,height:`100%`,borderRadius:`inherit`,pointerEvents:`none`,...n}})}var X_=`float hash(vec2 p) { p = fract(p * vec2(123.34, 456.21)); p += dot(p, p + 45.32); return fract(p.x * p.y); }
|
|
81
|
+
float noise(vec2 p) {
|
|
82
|
+
vec2 i = floor(p), f = fract(p);
|
|
83
|
+
vec2 u = f * f * (3.0 - 2.0 * f);
|
|
84
|
+
return mix(mix(hash(i), hash(i + vec2(1.0, 0.0)), u.x), mix(hash(i + vec2(0.0, 1.0)), hash(i + vec2(1.0, 1.0)), u.x), u.y);
|
|
85
|
+
}
|
|
86
|
+
float fbm(vec2 p) {
|
|
87
|
+
float s = 0.0, a = 0.5;
|
|
88
|
+
for (int i = 0; i < 5; i++) { s += a * noise(p); p = p * 2.03 + vec2(1.7, 9.2); a *= 0.5; }
|
|
89
|
+
return s;
|
|
90
|
+
}
|
|
91
|
+
`,Z_=[{name:`Moving gradient`,params:[{id:`u_c1`,label:`Color 1`,kind:`color`,value:`#ff7a59`},{id:`u_c2`,label:`Color 2`,kind:`color`,value:`#7b5cff`},{id:`u_c3`,label:`Color 3`,kind:`color`,value:`#2ec5ff`},{id:`u_c4`,label:`Color 4`,kind:`color`,value:`#ffd166`},{id:`u_speed`,label:`Speed`,kind:`number`,value:.25,min:0,max:2,step:.05},{id:`u_warp`,label:`Warp`,kind:`number`,value:.6,min:0,max:2,step:.05},{id:`u_grain`,label:`Grain`,kind:`number`,value:.04,min:0,max:.3,step:.01}],code:`${X_}
|
|
92
|
+
void main() {
|
|
93
|
+
vec2 uv = gl_FragCoord.xy / u_resolution;
|
|
94
|
+
vec2 p = vec2(uv.x * u_resolution.x / u_resolution.y, uv.y);
|
|
95
|
+
float t = u_time * u_speed;
|
|
96
|
+
vec2 q = vec2(fbm(p * 1.4 + vec2(0.0, t * 0.4)), fbm(p * 1.4 + vec2(5.2, 1.3) - t * 0.3));
|
|
97
|
+
vec2 r = uv + u_warp * (q - 0.5);
|
|
98
|
+
vec2 a1 = vec2(0.15 + 0.1 * sin(t * 0.8), 0.2 + 0.1 * cos(t * 0.6));
|
|
99
|
+
vec2 a2 = vec2(0.85 + 0.1 * cos(t * 0.7), 0.25 + 0.12 * sin(t * 0.9));
|
|
100
|
+
vec2 a3 = vec2(0.2 + 0.12 * cos(t * 0.5), 0.85 + 0.1 * sin(t * 0.7));
|
|
101
|
+
vec2 a4 = vec2(0.8 + 0.1 * sin(t * 0.6), 0.8 + 0.12 * cos(t * 0.8));
|
|
102
|
+
float w1 = exp(-6.0 * dot(r - a1, r - a1)), w2 = exp(-6.0 * dot(r - a2, r - a2));
|
|
103
|
+
float w3 = exp(-6.0 * dot(r - a3, r - a3)), w4 = exp(-6.0 * dot(r - a4, r - a4));
|
|
104
|
+
vec3 c = (u_c1 * w1 + u_c2 * w2 + u_c3 * w3 + u_c4 * w4) / (w1 + w2 + w3 + w4 + 1e-4);
|
|
105
|
+
c += (hash(gl_FragCoord.xy + floor(u_time * 24.0)) - 0.5) * u_grain;
|
|
106
|
+
gl_FragColor = vec4(c, 1.0);
|
|
107
|
+
}`},{name:`Water caustic`,params:[{id:`u_deep`,label:`Water`,kind:`color`,value:`#0a7fd6`},{id:`u_light`,label:`Light`,kind:`color`,value:`#e8fbff`},{id:`u_scale`,label:`Scale`,kind:`number`,value:5,min:1,max:20,step:.5},{id:`u_sharpness`,label:`Sharpness`,kind:`number`,value:.5,min:.1,max:1,step:.05},{id:`u_speed`,label:`Speed`,kind:`number`,value:.4,min:0,max:2,step:.05}],code:`vec2 hash2(vec2 p) { p = vec2(dot(p, vec2(127.1, 311.7)), dot(p, vec2(269.5, 183.3))); return fract(sin(p) * 43758.5453); }
|
|
108
|
+
// Distance to the nearest cell border of moving cells: thin, bright where cells meet.
|
|
109
|
+
float edges(vec2 p, float t) {
|
|
110
|
+
vec2 i = floor(p), f = fract(p);
|
|
111
|
+
float d1 = 8.0, d2 = 8.0;
|
|
112
|
+
for (int y = -1; y <= 1; y++) for (int x = -1; x <= 1; x++) {
|
|
113
|
+
vec2 g = vec2(float(x), float(y));
|
|
114
|
+
vec2 o = 0.5 + 0.45 * sin(t + 6.2831 * hash2(i + g));
|
|
115
|
+
float d = length(g + o - f);
|
|
116
|
+
if (d < d1) { d2 = d1; d1 = d; } else if (d < d2) d2 = d;
|
|
117
|
+
}
|
|
118
|
+
return d2 - d1;
|
|
119
|
+
}
|
|
120
|
+
void main() {
|
|
121
|
+
vec2 p = gl_FragCoord.xy / u_resolution.y * u_scale;
|
|
122
|
+
float t = u_time * u_speed;
|
|
123
|
+
p += 0.15 * vec2(sin(p.y * 1.3 + t), cos(p.x * 1.1 - t));
|
|
124
|
+
float w = mix(0.35, 0.05, u_sharpness);
|
|
125
|
+
float a = 1.0 - smoothstep(0.0, w, edges(p, t * 1.3));
|
|
126
|
+
float b = 1.0 - smoothstep(0.0, w * 1.4, edges(p * 1.7 + 3.1, -t));
|
|
127
|
+
float light = clamp(a * 0.8 + a * b * 0.9 + b * 0.25, 0.0, 1.0);
|
|
128
|
+
vec2 uv = gl_FragCoord.xy / u_resolution;
|
|
129
|
+
vec3 c = mix(u_deep * (0.75 + 0.25 * uv.y), u_light, light);
|
|
130
|
+
gl_FragColor = vec4(c, 1.0);
|
|
131
|
+
}`},{name:`Aurora`,params:[{id:`u_sky`,label:`Sky`,kind:`color`,value:`#050816`},{id:`u_c1`,label:`Color 1`,kind:`color`,value:`#3dffb0`},{id:`u_c2`,label:`Color 2`,kind:`color`,value:`#2aa8ff`},{id:`u_c3`,label:`Color 3`,kind:`color`,value:`#b06bff`},{id:`u_height`,label:`Height`,kind:`number`,value:.55,min:.2,max:.9,step:.01},{id:`u_intensity`,label:`Intensity`,kind:`number`,value:1,min:0,max:2,step:.05},{id:`u_speed`,label:`Speed`,kind:`number`,value:.3,min:0,max:2,step:.05}],code:`${X_}
|
|
132
|
+
void main() {
|
|
133
|
+
vec2 uv = gl_FragCoord.xy / u_resolution;
|
|
134
|
+
float x = uv.x * u_resolution.x / u_resolution.y;
|
|
135
|
+
float t = u_time * u_speed;
|
|
136
|
+
vec3 c = u_sky * (0.6 + 0.4 * uv.y);
|
|
137
|
+
for (int k = 0; k < 3; k++) {
|
|
138
|
+
float fk = float(k);
|
|
139
|
+
float base = u_height + 0.1 * fk - 0.1;
|
|
140
|
+
float centre = base + 0.08 * sin(x * (1.6 + fk * 0.7) + t * (0.7 + fk * 0.3) + fk * 2.0) + 0.06 * (fbm(vec2(x * 1.5 + t * 0.2, fk * 3.7)) - 0.5);
|
|
141
|
+
float dy = uv.y - centre;
|
|
142
|
+
// A curtain: sharp at its foot, fading upward, combed into vertical rays.
|
|
143
|
+
float curtain = dy > 0.0 ? exp(-dy * 7.0) : exp(dy * 40.0);
|
|
144
|
+
float rays = 0.45 + 0.55 * fbm(vec2(x * 14.0 + fk * 9.0, t * 0.6));
|
|
145
|
+
vec3 col = k == 0 ? u_c1 : (k == 1 ? u_c2 : u_c3);
|
|
146
|
+
c += col * curtain * rays * (0.85 - 0.2 * fk) * u_intensity;
|
|
147
|
+
}
|
|
148
|
+
float star = step(0.9985, hash(floor(gl_FragCoord.xy / 2.0)));
|
|
149
|
+
c += star * smoothstep(0.4, 1.0, uv.y) * 0.8;
|
|
150
|
+
gl_FragColor = vec4(c, 1.0);
|
|
151
|
+
}`},{name:`Nebula`,params:[{id:`u_c1`,label:`Color 1`,kind:`color`,value:`#8033cc`},{id:`u_c2`,label:`Color 2`,kind:`color`,value:`#1a4de5`},{id:`u_c3`,label:`Color 3`,kind:`color`,value:`#cc1a80`},{id:`u_stars`,label:`Star density`,kind:`number`,value:.37,min:0,max:1,step:.01},{id:`u_brightness`,label:`Brightness`,kind:`number`,value:.8,min:0,max:2,step:.05},{id:`u_seed`,label:`Seed`,kind:`number`,value:8,min:0,max:20,step:1},{id:`u_travel`,label:`Travel`,kind:`number`,value:.36,min:0,max:2,step:.01}],code:`${X_}
|
|
152
|
+
void main() {
|
|
153
|
+
vec2 p = (gl_FragCoord.xy - 0.5 * u_resolution) / u_resolution.y;
|
|
154
|
+
vec2 o = vec2(u_seed * 7.13, u_seed * 3.71) + vec2(u_time * u_travel * 0.05, 0.0);
|
|
155
|
+
vec2 q = p * 2.2 + o;
|
|
156
|
+
float n = fbm(q + fbm(q * 1.7 + 2.0));
|
|
157
|
+
float m = fbm(q * 2.4 - 4.0);
|
|
158
|
+
vec3 c = mix(u_c2, u_c1, smoothstep(0.35, 0.75, n));
|
|
159
|
+
c = mix(c, u_c3, smoothstep(0.55, 0.8, m) * 0.8);
|
|
160
|
+
float cloud = smoothstep(0.3, 0.85, n) * u_brightness;
|
|
161
|
+
vec3 col = c * cloud + vec3(0.01, 0.01, 0.03);
|
|
162
|
+
// Stars: one per cell at most, twinkling slowly.
|
|
163
|
+
for (int l = 0; l < 2; l++) {
|
|
164
|
+
float s = l == 0 ? 90.0 : 220.0;
|
|
165
|
+
vec2 g = (p + o * 0.02 * float(l + 1)) * s;
|
|
166
|
+
vec2 id = floor(g), f = fract(g) - 0.5;
|
|
167
|
+
float h = hash(id + u_seed);
|
|
168
|
+
float on = step(1.0 - u_stars * (l == 0 ? 0.08 : 0.25), h);
|
|
169
|
+
float tw = 0.6 + 0.4 * sin(u_time * 2.0 + h * 40.0);
|
|
170
|
+
col += on * tw * exp(-dot(f, f) * (l == 0 ? 60.0 : 140.0)) * (l == 0 ? 1.2 : 0.6);
|
|
171
|
+
}
|
|
172
|
+
gl_FragColor = vec4(col, 1.0);
|
|
173
|
+
}`},{name:`Galaxy`,params:[{id:`u_dense`,label:`Core`,kind:`color`,value:`#1885ff`},{id:`u_sparse`,label:`Edge`,kind:`color`,value:`#ffb28a`},{id:`u_arms`,label:`Arms`,kind:`number`,value:4,min:1,max:8,step:1},{id:`u_twist`,label:`Twist`,kind:`number`,value:5.3,min:0,max:12,step:.1},{id:`u_spread`,label:`Spread`,kind:`number`,value:.5,min:0,max:1,step:.01},{id:`u_size`,label:`Size`,kind:`number`,value:.8,min:.2,max:2,step:.05},{id:`u_spin`,label:`Rotation`,kind:`number`,value:.05,min:0,max:1,step:.01}],code:`${X_}
|
|
174
|
+
void main() {
|
|
175
|
+
vec2 p = (gl_FragCoord.xy - 0.5 * u_resolution) / u_resolution.y / u_size;
|
|
176
|
+
p.y *= 1.6;
|
|
177
|
+
float r = length(p), a = atan(p.y, p.x) + u_time * u_spin;
|
|
178
|
+
float arm = cos(u_arms * (a - u_twist * log(r + 0.05)));
|
|
179
|
+
float arms = mix(1.0, smoothstep(-0.2, 1.0, arm), 1.0 - u_spread * 0.8);
|
|
180
|
+
float disc = exp(-r * 3.2);
|
|
181
|
+
float density = disc * arms + exp(-r * 14.0) * 1.5;
|
|
182
|
+
vec3 col = mix(u_sparse, u_dense, smoothstep(0.0, 0.6, density)) * density * 1.1;
|
|
183
|
+
col += vec3(1.0, 0.95, 0.85) * exp(-r * 22.0) * 0.9;
|
|
184
|
+
// Stars, thicker where the arms are.
|
|
185
|
+
for (int l = 0; l < 2; l++) {
|
|
186
|
+
float s = l == 0 ? 120.0 : 300.0;
|
|
187
|
+
vec2 g = p * s, id = floor(g), f = fract(g) - 0.5;
|
|
188
|
+
float h = hash(id + float(l) * 17.0);
|
|
189
|
+
float on = step(1.0 - clamp(density * (l == 0 ? 0.7 : 1.6) + 0.006, 0.0, 1.0), h);
|
|
190
|
+
vec3 sc = mix(u_sparse, u_dense, hash(id + 3.0));
|
|
191
|
+
col += on * sc * exp(-dot(f, f) * (l == 0 ? 30.0 : 70.0)) * (l == 0 ? 2.0 : 1.1);
|
|
192
|
+
}
|
|
193
|
+
gl_FragColor = vec4(col, 1.0);
|
|
194
|
+
}`},{name:`Black hole`,params:[{id:`u_temp`,label:`Temperature`,kind:`number`,value:2692,min:1500,max:12e3,step:50},{id:`u_density`,label:`Disc brightness`,kind:`number`,value:1,min:0,max:3,step:.05},{id:`u_tilt`,label:`Tilt`,kind:`number`,value:7,min:1,max:40,step:.5},{id:`u_spin`,label:`Spin`,kind:`number`,value:1,min:0,max:4,step:.1},{id:`u_stars`,label:`Stars`,kind:`number`,value:1,min:0,max:1,step:1}],code:`float h31(vec3 p) { p = fract(p * vec3(0.1031, 0.1030, 0.0973)); p += dot(p, p.yxz + 33.33); return fract((p.x + p.y) * p.z); }
|
|
195
|
+
vec3 h33(vec3 p) { p = fract(p * vec3(0.1031, 0.1030, 0.0973)); p += dot(p, p.yxz + 33.33); return fract((p.xxy + p.yxx) * p.zyx); }
|
|
196
|
+
float vn3(vec3 p) {
|
|
197
|
+
vec3 i = floor(p), f = fract(p); f = f * f * (3.0 - 2.0 * f);
|
|
198
|
+
return mix(mix(mix(h31(i), h31(i + vec3(1, 0, 0)), f.x), mix(h31(i + vec3(0, 1, 0)), h31(i + vec3(1, 1, 0)), f.x), f.y),
|
|
199
|
+
mix(mix(h31(i + vec3(0, 0, 1)), h31(i + vec3(1, 0, 1)), f.x), mix(h31(i + vec3(0, 1, 1)), h31(i + vec3(1, 1, 1)), f.x), f.y), f.z);
|
|
200
|
+
}
|
|
201
|
+
float fb3(vec3 p) { float a = 0.5, s = 0.0; for (int i = 0; i < 4; i++) { s += a * vn3(p); p = p * 2.03 + vec3(1.7, 9.2, 3.1); a *= 0.5; } return s; }
|
|
202
|
+
vec3 blackbody(float T) {
|
|
203
|
+
T = clamp(T, 800.0, 40000.0) / 100.0; vec3 c;
|
|
204
|
+
c.r = T <= 66.0 ? 1.0 : 1.2929 * pow(T - 60.0, -0.1332);
|
|
205
|
+
c.g = T <= 66.0 ? 0.3901 * log(T) - 0.6318 : 1.1299 * pow(T - 60.0, -0.0755);
|
|
206
|
+
c.b = T >= 66.0 ? 1.0 : (T <= 19.0 ? 0.0 : 0.5432 * log(T - 10.0) - 1.1963);
|
|
207
|
+
return pow(clamp(c, 0.0, 1.0), vec3(2.2));
|
|
208
|
+
}
|
|
209
|
+
vec3 sky(vec3 d) {
|
|
210
|
+
vec3 c = vec3(0.0);
|
|
211
|
+
for (int l = 0; l < 2; l++) {
|
|
212
|
+
float K = l == 0 ? 140.0 : 320.0; vec3 q = d * K, cl = floor(q), hh = h33(cl);
|
|
213
|
+
float dd = length(q - (cl + 0.2 + 0.6 * hh));
|
|
214
|
+
float br = step(l == 0 ? 0.8 : 0.6, hh.x * hh.y) * pow(hh.z, 2.0) * (l == 0 ? 3.0 : 0.9);
|
|
215
|
+
c += mix(vec3(1.0, 0.75, 0.55), vec3(0.7, 0.8, 1.0), hh.z) * br * exp(-dd * dd * (l == 0 ? 160.0 : 300.0));
|
|
216
|
+
}
|
|
217
|
+
return c * u_stars;
|
|
218
|
+
}
|
|
219
|
+
vec4 disc(vec3 p, vec3 ray) {
|
|
220
|
+
float r = length(p.xz); if (r < 3.0 || r > 12.0) return vec4(0.0);
|
|
221
|
+
float u = 1.0 / r, w = u * sqrt(0.5 * u), ang = atan(p.z, p.x) - w * u_time * u_spin * 6.0;
|
|
222
|
+
vec3 nq = vec3(cos(ang) * 2.4, sin(ang) * 2.4, r * 0.95);
|
|
223
|
+
float den = max(fb3(nq) * 1.35 + fb3(nq * vec3(1.6, 1.6, 3.0) + 5.0) * 0.3 - 0.4, 0.0) * 1.6;
|
|
224
|
+
float prof = pow(max(1.0 - sqrt(3.0 / r), 0.0) / (r * r * r), 0.25), pmax = pow((1.0 - sqrt(3.0 / (49.0 / 12.0))) / pow(49.0 / 12.0, 3.0), 0.25);
|
|
225
|
+
float T = u_temp * prof / pmax;
|
|
226
|
+
vec3 vdir = normalize(vec3(p.z, 0.0, -p.x));
|
|
227
|
+
float beta = min(sqrt(0.5 / (r - 1.0)), 0.95), gam = 1.0 / sqrt(1.0 - beta * beta);
|
|
228
|
+
float g = 1.0 / (gam * (1.0 - beta * dot(vdir, -ray))) * sqrt(1.0 - 1.0 / r);
|
|
229
|
+
vec3 col = blackbody(T * g) * pow(g, 4.0) * pow(T / u_temp, 4.0) * u_density * 1.1;
|
|
230
|
+
float al = smoothstep(3.0, 3.6, r) * smoothstep(12.0, 10.0, r);
|
|
231
|
+
return vec4(col * den * al, 0.3 * al * clamp(den, 0.0, 1.0));
|
|
232
|
+
}
|
|
233
|
+
void main() {
|
|
234
|
+
float e = radians(u_tilt);
|
|
235
|
+
vec3 camPos = vec3(0.0, sin(e), -cos(e)) * 34.0;
|
|
236
|
+
vec3 f = normalize(-camPos), rr = normalize(cross(vec3(0.0, 1.0, 0.0), f)), up = cross(f, rr);
|
|
237
|
+
vec2 sc = (gl_FragCoord.xy - 0.5 * u_resolution) / u_resolution.y * 2.0 * tan(radians(15.0));
|
|
238
|
+
vec3 x = camPos, v = normalize(f + sc.x * rr + sc.y * up);
|
|
239
|
+
vec3 hv = cross(x, v); float h2 = dot(hv, hv);
|
|
240
|
+
vec3 col = vec3(0.0); float tr = 1.0; bool hole = false;
|
|
241
|
+
for (int i = 0; i < 260; i++) {
|
|
242
|
+
float r = length(x);
|
|
243
|
+
if (r < 1.0) { hole = true; break; }
|
|
244
|
+
if (r > 60.0 && dot(x, v) > 0.0) break;
|
|
245
|
+
float dt = 0.04 + 0.06 * max(r - 1.0, 0.0) * min(1.0, r / 4.0);
|
|
246
|
+
vec3 a = -1.5 * h2 * x / pow(r, 5.0);
|
|
247
|
+
vec3 xn = x + v * dt + 0.5 * a * dt * dt; vec3 an = -1.5 * h2 * xn / pow(length(xn), 5.0);
|
|
248
|
+
vec3 vn = v + 0.5 * (a + an) * dt;
|
|
249
|
+
if (x.y * xn.y < 0.0) { vec3 hp = mix(x, xn, x.y / (x.y - xn.y)); vec4 dc = disc(hp, normalize(vn)); col += tr * dc.rgb; tr *= 1.0 - dc.a; if (tr < 0.02) break; }
|
|
250
|
+
x = xn; v = vn;
|
|
251
|
+
}
|
|
252
|
+
if (!hole) col += tr * sky(normalize(v));
|
|
253
|
+
col = 1.0 - exp(-col * 1.4);
|
|
254
|
+
gl_FragColor = vec4(pow(col, vec3(1.0 / 2.2)), 1.0);
|
|
255
|
+
}`},{name:`Dither`,params:[{id:`u_ink`,label:`Ink`,kind:`color`,value:`#111111`},{id:`u_paper`,label:`Paper`,kind:`color`,value:`#f2efe6`},{id:`u_pixel`,label:`Pixel size`,kind:`number`,value:3,min:1,max:12,step:1},{id:`u_scale`,label:`Scale`,kind:`number`,value:1.6,min:.3,max:6,step:.1},{id:`u_speed`,label:`Speed`,kind:`number`,value:.3,min:0,max:2,step:.05}],code:`${X_}
|
|
256
|
+
// 4×4 ordered (Bayer) threshold.
|
|
257
|
+
float bayer(vec2 p) {
|
|
258
|
+
vec2 q = mod(floor(p), 4.0);
|
|
259
|
+
float i = q.x + q.y * 4.0;
|
|
260
|
+
float m[16];
|
|
261
|
+
m[0] = 0.0; m[1] = 8.0; m[2] = 2.0; m[3] = 10.0; m[4] = 12.0; m[5] = 4.0; m[6] = 14.0; m[7] = 6.0;
|
|
262
|
+
m[8] = 3.0; m[9] = 11.0; m[10] = 1.0; m[11] = 9.0; m[12] = 15.0; m[13] = 7.0; m[14] = 13.0; m[15] = 5.0;
|
|
263
|
+
float v = 0.0;
|
|
264
|
+
for (int k = 0; k < 16; k++) if (float(k) == i) v = m[k];
|
|
265
|
+
return (v + 0.5) / 16.0;
|
|
266
|
+
}
|
|
267
|
+
void main() {
|
|
268
|
+
vec2 cell = floor(gl_FragCoord.xy / u_pixel) * u_pixel;
|
|
269
|
+
vec2 p = cell / u_resolution.y * u_scale;
|
|
270
|
+
float t = u_time * u_speed;
|
|
271
|
+
float v = fbm(p + vec2(t * 0.6, -t * 0.4) + fbm(p * 1.5 - t * 0.3));
|
|
272
|
+
v = smoothstep(0.25, 0.75, v);
|
|
273
|
+
float on = step(bayer(gl_FragCoord.xy / u_pixel), v);
|
|
274
|
+
gl_FragColor = vec4(mix(u_paper, u_ink, on), 1.0);
|
|
275
|
+
}`},{name:`Grain`,params:[{id:`u_amount`,label:`Amount`,kind:`number`,value:.18,min:0,max:1,step:.01},{id:`u_size`,label:`Size`,kind:`number`,value:1.5,min:1,max:8,step:.5},{id:`u_motion`,label:`Motion`,kind:`number`,value:1,min:0,max:1,step:1}],code:`float hash(vec2 p) { p = fract(p * vec2(123.34, 456.21)); p += dot(p, p + 45.32); return fract(p.x * p.y); }
|
|
276
|
+
void main() {
|
|
277
|
+
vec2 cell = floor(gl_FragCoord.xy / u_size);
|
|
278
|
+
float n = hash(cell + floor(u_time * 24.0) * u_motion);
|
|
279
|
+
gl_FragColor = vec4(vec3(n), u_amount);
|
|
280
|
+
}`}],Q_=`float luma(vec3 c) { return dot(c, vec3(0.299, 0.587, 0.114)); }
|
|
281
|
+
`,$_=[{name:`Halftone`,input:`image`,params:[{id:`u_ink`,label:`Ink`,kind:`color`,value:`#111111`},{id:`u_paper`,label:`Paper`,kind:`color`,value:`#f4f0e6`},{id:`u_size`,label:`Dot size`,kind:`number`,value:8,min:3,max:40,step:.5},{id:`u_angle`,label:`Angle`,kind:`number`,value:45,min:0,max:90,step:1},{id:`u_color`,label:`Keep color`,kind:`number`,value:0,min:0,max:1,step:1}],code:`${Q_}
|
|
282
|
+
void main() {
|
|
283
|
+
float a = radians(u_angle);
|
|
284
|
+
mat2 rot = mat2(cos(a), -sin(a), sin(a), cos(a));
|
|
285
|
+
vec2 p = rot * gl_FragCoord.xy;
|
|
286
|
+
vec2 cell = (floor(p / u_size) + 0.5) * u_size;
|
|
287
|
+
vec2 centre = cell * rot;
|
|
288
|
+
vec4 src = image(centre / u_resolution);
|
|
289
|
+
float r = sqrt(1.0 - luma(src.rgb)) * u_size * 0.62;
|
|
290
|
+
float d = length(p - cell);
|
|
291
|
+
float dot_ = 1.0 - smoothstep(r - 0.8, r + 0.8, d);
|
|
292
|
+
vec3 ink = mix(u_ink, src.rgb * 0.85, u_color);
|
|
293
|
+
gl_FragColor = vec4(mix(u_paper, ink, dot_), image(gl_FragCoord.xy / u_resolution).a);
|
|
294
|
+
}`},{name:`Dither`,input:`image`,params:[{id:`u_ink`,label:`Dark`,kind:`color`,value:`#111111`},{id:`u_paper`,label:`Light`,kind:`color`,value:`#f2efe6`},{id:`u_pixel`,label:`Pixel size`,kind:`number`,value:3,min:1,max:16,step:1},{id:`u_contrast`,label:`Contrast`,kind:`number`,value:1.2,min:.5,max:3,step:.05}],code:`${Q_}
|
|
295
|
+
float bayer(vec2 p) {
|
|
296
|
+
vec2 q = mod(floor(p), 4.0);
|
|
297
|
+
float i = q.x + q.y * 4.0, v = 0.0;
|
|
298
|
+
float m[16];
|
|
299
|
+
m[0] = 0.0; m[1] = 8.0; m[2] = 2.0; m[3] = 10.0; m[4] = 12.0; m[5] = 4.0; m[6] = 14.0; m[7] = 6.0;
|
|
300
|
+
m[8] = 3.0; m[9] = 11.0; m[10] = 1.0; m[11] = 9.0; m[12] = 15.0; m[13] = 7.0; m[14] = 13.0; m[15] = 5.0;
|
|
301
|
+
for (int k = 0; k < 16; k++) if (float(k) == i) v = m[k];
|
|
302
|
+
return (v + 0.5) / 16.0;
|
|
303
|
+
}
|
|
304
|
+
void main() {
|
|
305
|
+
vec2 cell = (floor(gl_FragCoord.xy / u_pixel) + 0.5) * u_pixel;
|
|
306
|
+
vec4 src = image(cell / u_resolution);
|
|
307
|
+
float l = clamp((luma(src.rgb) - 0.5) * u_contrast + 0.5, 0.0, 1.0);
|
|
308
|
+
float on = step(bayer(gl_FragCoord.xy / u_pixel), l);
|
|
309
|
+
gl_FragColor = vec4(mix(u_ink, u_paper, on), src.a);
|
|
310
|
+
}`},{name:`Duotone`,input:`image`,params:[{id:`u_shadow`,label:`Shadows`,kind:`color`,value:`#1b1464`},{id:`u_highlight`,label:`Highlights`,kind:`color`,value:`#ff8a5b`},{id:`u_contrast`,label:`Contrast`,kind:`number`,value:1.1,min:.5,max:3,step:.05}],code:`${Q_}
|
|
311
|
+
void main() {
|
|
312
|
+
vec4 src = image(gl_FragCoord.xy / u_resolution);
|
|
313
|
+
float l = clamp((luma(src.rgb) - 0.5) * u_contrast + 0.5, 0.0, 1.0);
|
|
314
|
+
gl_FragColor = vec4(mix(u_shadow, u_highlight, l), src.a);
|
|
315
|
+
}`},{name:`Glitch`,input:`image`,params:[{id:`u_amount`,label:`Amount`,kind:`number`,value:.5,min:0,max:1,step:.01},{id:`u_shift`,label:`Color shift`,kind:`number`,value:.01,min:0,max:.05,step:.001},{id:`u_speed`,label:`Speed`,kind:`number`,value:1,min:0,max:4,step:.05}],code:`float hash(vec2 p) { p = fract(p * vec2(123.34, 456.21)); p += dot(p, p + 45.32); return fract(p.x * p.y); }
|
|
316
|
+
void main() {
|
|
317
|
+
vec2 uv = gl_FragCoord.xy / u_resolution;
|
|
318
|
+
float t = floor(u_time * u_speed * 12.0);
|
|
319
|
+
float band = floor(uv.y * 24.0);
|
|
320
|
+
float hit = step(1.0 - u_amount * 0.35, hash(vec2(band, t)));
|
|
321
|
+
uv.x += hit * (hash(vec2(t, band)) - 0.5) * 0.12 * u_amount;
|
|
322
|
+
float s = u_shift * (0.5 + hit);
|
|
323
|
+
vec4 g = image(uv);
|
|
324
|
+
float r = image(uv + vec2(s, 0.0)).r, b = image(uv - vec2(s, 0.0)).b;
|
|
325
|
+
vec3 c = vec3(r, g.g, b);
|
|
326
|
+
c += (hash(gl_FragCoord.xy + t) - 0.5) * 0.06 * u_amount;
|
|
327
|
+
gl_FragColor = vec4(c, g.a);
|
|
328
|
+
}`},{name:`Chromatic aberration`,input:`image`,params:[{id:`u_amount`,label:`Amount`,kind:`number`,value:.012,min:0,max:.05,step:.001},{id:`u_falloff`,label:`Edge only`,kind:`number`,value:1,min:0,max:2,step:.05}],code:`void main() {
|
|
329
|
+
vec2 uv = gl_FragCoord.xy / u_resolution;
|
|
330
|
+
vec2 d = uv - 0.5;
|
|
331
|
+
vec2 o = d * u_amount * pow(length(d) * 2.0, u_falloff);
|
|
332
|
+
vec4 g = image(uv);
|
|
333
|
+
gl_FragColor = vec4(image(uv + o).r, g.g, image(uv - o).b, g.a);
|
|
334
|
+
}`},{name:`Pixelate`,input:`image`,params:[{id:`u_pixel`,label:`Pixel size`,kind:`number`,value:12,min:2,max:80,step:1}],code:`void main() {
|
|
335
|
+
vec2 cell = (floor(gl_FragCoord.xy / u_pixel) + 0.5) * u_pixel;
|
|
336
|
+
gl_FragColor = image(cell / u_resolution);
|
|
337
|
+
}`},{name:`Film grain`,input:`image`,params:[{id:`u_amount`,label:`Amount`,kind:`number`,value:.12,min:0,max:.5,step:.01},{id:`u_size`,label:`Size`,kind:`number`,value:1.5,min:1,max:6,step:.5},{id:`u_vignette`,label:`Vignette`,kind:`number`,value:.3,min:0,max:1,step:.01}],code:`float hash(vec2 p) { p = fract(p * vec2(123.34, 456.21)); p += dot(p, p + 45.32); return fract(p.x * p.y); }
|
|
338
|
+
void main() {
|
|
339
|
+
vec2 uv = gl_FragCoord.xy / u_resolution;
|
|
340
|
+
vec4 src = image(uv);
|
|
341
|
+
float n = hash(floor(gl_FragCoord.xy / u_size) + floor(u_time * 24.0)) - 0.5;
|
|
342
|
+
float v = 1.0 - u_vignette * smoothstep(0.3, 0.8, length(uv - 0.5));
|
|
343
|
+
gl_FragColor = vec4((src.rgb + n * u_amount) * v, src.a);
|
|
344
|
+
}`}],ev=(0,Yg.memo)(function({index:e,url:t,fit:n,crop:r,radius:i,blend:a,autoplay:o,loop:s,muted:c}){let l=(0,Yg.useRef)(null),u=(0,Yg.useRef)(!0);return(0,Yg.useEffect)(()=>{let e=l.current,t=u.current;u.current=!1,e&&(o?e.play().catch(()=>{}):t||(e.pause(),e.currentTime=0))},[o]),(0,$.jsx)(`video`,{ref:l,"data-nudge-video":!0,"data-fill-index":e,src:t,muted:c,loop:s,autoPlay:o,playsInline:!0,preload:`metadata`,style:{position:`absolute`,...i_(n,r,i),pointerEvents:`none`,...a&&a!==`normal`?{mixBlendMode:a}:{}}})}),tv=(0,Yg.createContext)(null);function nv(e,t,n,r,i=null){e.textContent=``;for(let a of m_(n,r,i)){if(a.bare||!a.style&&!i){e.append(a.text);continue}let n=document.createElement(`span`);a.style&&(n.dataset.span=String(a.span)),i&&(n.style.lineHeight=i),a.style&&Object.assign(n.style,Object.fromEntries(Object.entries(__(t,a.style)).map(([e,t])=>[e,typeof t==`number`&&e!==`fontWeight`?`${t}px`:String(t)]))),n.textContent=a.text,e.append(n)}}function rv(e,t,n,r){return m_(t,n,r).map((t,n)=>{let i=t.bare?null:t.style?r?{lineHeight:r,...__(e,t.style)}:__(e,t.style):r?{lineHeight:r}:null;return i?(0,$.jsx)(`span`,{...t.style?{"data-span":t.span}:{},style:i,children:t.text},n):t.text})}function iv(e){let t=getSelection();if(!t?.rangeCount)return null;let n=t.getRangeAt(0);if(!e.contains(n.startContainer)||!e.contains(n.endContainer))return null;let r=(t,n)=>{let r=document.createRange();return r.selectNodeContents(e),r.setEnd(t,n),r.toString().length};return{start:r(n.startContainer,n.startOffset),end:r(n.endContainer,n.endOffset)}}function av(e,t,n){let r=t=>{let n=document.createTreeWalker(e,NodeFilter.SHOW_TEXT),r=t;for(let e=n.nextNode();e;e=n.nextNode()){let t=e.textContent?.length??0;if(r<=t)return[e,r];r-=t}return[e,e.childNodes.length]},i=document.createRange();i.setStart(...r(t)),i.setEnd(...r(n));let a=getSelection();a?.removeAllRanges(),a?.addRange(i)}function ov({id:e,style:t,initial:n,spans:r,doc:i,line:a}){let o=(0,Yg.useContext)(tv),s=(0,Yg.useRef)(null),c=(0,Yg.useRef)(!1);(0,Yg.useLayoutEffect)(()=>{let e=s.current;nv(e,i,n,r,a),e.focus();let t=document.createRange();t.selectNodeContents(e);let o=getSelection();o?.removeAllRanges(),o?.addRange(t)},[]);let l=(0,Yg.useRef)(r),u=(0,Yg.useRef)(n);(0,Yg.useLayoutEffect)(()=>{let e=s.current;if(l.current===r)return;let t=e.textContent??``,n=JSON.stringify(se(le(u.current,t,l.current),t.length))===JSON.stringify(r??[]);if(l.current=r,u.current=t,n)return;let c=o.range??iv(e);nv(e,i,e.textContent??``,r,a),c&&(e.focus(),av(e,c.start,c.end))},[r]);let d=e=>!!e?.closest?.(`[data-keeps-text-editing]`),f=(0,Yg.useRef)(!1);(0,Yg.useEffect)(()=>{let e=s.current,t=()=>{let t=iv(e);t&&o.onRange?.(t)},n=t=>{f.current=d(t.target),!e.contains(t.target)&&!f.current&&p(e.textContent??``)};return document.addEventListener(`selectionchange`,t),document.addEventListener(`pointerdown`,n,!0),()=>{document.removeEventListener(`selectionchange`,t),document.removeEventListener(`pointerdown`,n,!0)}},[]);let p=e=>{c.current||(c.current=!0,o.onDone(e))};return(0,$.jsx)(`div`,{ref:s,"data-node-id":e,"data-editing":!0,contentEditable:`plaintext-only`,suppressContentEditableWarning:!0,spellCheck:!1,style:{...t,outline:`none`,cursor:`text`,userSelect:`text`,WebkitUserSelect:`text`,minWidth:2,minHeight:t.lineHeight===`normal`?`1.2em`:t.lineHeight},onInput:e=>o.onInput?.(e.currentTarget.textContent??``),onKeyDown:e=>{if(e.stopPropagation(),e.nativeEvent.isComposing)return;if(e.key===`Escape`||e.key===`Enter`&&(e.metaKey||e.ctrlKey)){e.preventDefault(),p(e.currentTarget.textContent??``);return}let t=iv(e.currentTarget);t&&o.onKey?.(e.nativeEvent,t)&&e.preventDefault()},onPointerDown:e=>e.stopPropagation(),onBlur:e=>{!f.current&&!d(e.relatedTarget)&&p(e.currentTarget.textContent??``)}})}var sv=new WeakMap;function cv(e,t){let n=sv.get(e);n||sv.set(e,n=new Map);let r=n.get(t);if(!r){let i=Dt(e,t);r={current:i===e.styles?e:{...e,styles:i}},n.set(t,r)}return r}var lv=()=>globalThis.__nudgeDesignBase??`/design/`,uv=e=>t=>{let n=e.assets[t];return n?`${lv()}${n.file}`:``};function dv(e,t){if(!e||e.styles!==t.styles||e.assets!==t.assets)return null;let n=new Set;for(let r in t.nodes){let i=t.nodes[r];if(e.nodes[r]!==i){for(let e=r;e&&!n.has(e);e=t.nodes[e]?.parent??null)n.add(e);if(i.type===`frame`&&!fv(e.nodes[r],i))for(let e of i.children)n.add(e)}}return n}function fv(e,t){if(!e)return!1;let n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(let n of r)if(n!==`x`&&n!==`y`&&e[n]!==t[n])return!1;return!0}function pv({n:e,children:t}){let n=(0,Yg.useRef)(null),[r,i]=(0,Yg.useState)(null),a=e.sizeX===`fixed`&&e.sizeY===`fixed`;(0,Yg.useLayoutEffect)(()=>{if(a)return;let e=n.current?.firstElementChild;if(!e)return;let t=()=>{let t=getComputedStyle(e),n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;i(e=>e&&Math.abs(e.w-n)<.01&&Math.abs(e.h-r)<.01?e:{w:n,h:r})};t();let r=new ResizeObserver(t);return r.observe(e),()=>r.disconnect()});let o=a?e.w:r?.w??e.w,s=a?e.h:r?.h??e.h,c=(e.rotation??0)*Math.PI/180,l=Math.abs(Math.cos(c)),u=Math.abs(Math.sin(c));return(0,$.jsx)(`div`,{ref:n,"data-nudge-slot":!0,style:{position:`relative`,flexShrink:0,width:o*l+s*u,height:o*u+s*l,display:e.hidden?`none`:void 0},children:t})}var mv=(0,Yg.memo)(function(e){let t=e.node,n=(0,$.jsx)(hv,{...e});return t&&n_(e.docRef.current,t)?(0,$.jsx)(pv,{n:t,children:n}):n},(e,t)=>e.id===t.id&&e.assetUrl===t.assetUrl&&t.dirty!==null&&!t.dirty.has(t.id)&&e.node===t.node);function hv({id:e,node:t,docRef:n,assetUrl:r,dirty:i}){let a=(0,Yg.useContext)(tv);if(!t)return null;let o=t.type===`frame`&&t.theme?cv(n.current,t.theme):n,s=o.current;switch(t.type){case`frame`:{let e=t.children.map(e=>(0,$.jsx)(mv,{id:e,node:s.nodes[e],docRef:o,assetUrl:r,dirty:i},e));if(t.boolean)return(0,$.jsx)(E_,{doc:s,n:t,assetUrl:r,children:e});let n=u_(s,t),a=d_(s,t),c=a_(s,t,r);return(0,$.jsxs)(`div`,{"data-node-id":t.id,style:n?{...c,...n}:c,children:[e_(t).layers.map((e,t)=>{let n=t_(s,e,r);return(0,$.jsx)(`div`,{"data-nudge-fill":!0,style:n.layer,children:n.ellipse&&(0,$.jsx)(`div`,{style:n.ellipse})},`f${t}`)}),t.fills?.map((e,t)=>e.type===`shader`&&e.visible!==!1&&(0,$.jsx)(Y_,{shader:e.shader,style:e.blend&&e.blend!==`normal`?{mixBlendMode:e.blend}:void 0},`s${t}`)),t.fills?.map((e,t)=>e.type===`video`&&e.visible!==!1&&(0,$.jsx)(ev,{index:t,url:r(e.asset),fit:e.fit,crop:e.crop,radius:c.borderRadius,blend:e.blend,...Jg(e)},`v${t}`)),(()=>{let e=[...t.fills??[]].reverse().find(e=>e.type===`image`&&e.visible!==!1);if(!e||e.type!==`image`)return null;let n={url:r(e.asset),fit:e.fit,...e.pos?{pos:e.pos}:{},...e.crop?{crop:e.crop}:{}};return t.effects?.map((e,t)=>e.type===`shader`&&e.visible!==!1&&(0,$.jsx)(Y_,{shader:e.shader,image:n},`e${t}`))})(),e,a&&(0,$.jsx)(`div`,{"data-nudge-stroke":!0,style:a})]})}case`text`:{let e=p_(s,t);return a?.id===t.id?(0,$.jsx)(ov,{id:t.id,style:g_(s,t),initial:t.content,spans:t.spans,doc:s,line:e}):(0,$.jsx)(`div`,{"data-node-id":t.id,style:g_(s,t),children:t.spans?.length?rv(s,t.content,t.spans,e):t.content})}case`shape`:return(0,$.jsx)(T_,{doc:s,n:t,assetUrl:r});case`vector`:{let e=r_(s,t);l_(s,t,e);let n=r(t.asset),i=Zg(s,t.color);return i?(Object.assign(e,{backgroundColor:i,maskImage:`url("${n}")`,WebkitMaskImage:`url("${n}")`,maskSize:`100% 100%`,WebkitMaskSize:`100% 100%`,maskRepeat:`no-repeat`,WebkitMaskRepeat:`no-repeat`}),(0,$.jsx)(`div`,{"data-node-id":t.id,style:e})):(0,$.jsx)(`img`,{"data-node-id":t.id,src:n,alt:``,draggable:!1,style:{...e,display:t.hidden?`none`:`block`}})}}}var gv={"font/woff2":`woff2`,"font/woff":`woff`,"font/ttf":`truetype`,"font/otf":`opentype`},_v=e=>JSON.stringify(e);function vv(e,t){return Object.values(e.assets).filter(e=>e.kind===`font`&&e.family).map(e=>`@font-face{font-family:${_v(e.family)};src:url(${_v(t(e.id))}) format(${_v(gv[e.mime]??`woff2`)});font-weight:${e.weight??`400`};font-style:${e.style??`normal`};${e.range?`unicode-range:${e.range};`:``}font-display:block}`).join(`
|
|
345
|
+
`)}var yv=e=>globalThis.__nudgeFontsHref?.(e)??`/design/fonts.css?families=${encodeURIComponent(e)}`,bv=new Set;function xv({doc:e,assetUrl:t,editing:n=null}){let r=xm(e),i=(0,Yg.useMemo)(()=>uv(r),[r.assets]),a=t??i,o=(0,Yg.useMemo)(()=>vv(r,a),[r.assets]),s=v_(r).join(`|`),c=(0,Yg.useRef)(null),l=c.current,u=!!l&&l.doc===r&&l.url===a,d=(0,Yg.useMemo)(()=>u?bv:l&&l.url===a?dv(l.doc,r):null,[r,a,u]);(0,Yg.useLayoutEffect)(()=>{c.current={doc:r,url:a}});let f=(0,Yg.useRef)(r);return f.current=r,(0,$.jsxs)(tv.Provider,{value:n,children:[o&&(0,$.jsx)(`style`,{"data-nudge-fonts":!0,children:o}),s&&(0,$.jsx)(`link`,{rel:`stylesheet`,"data-nudge-webfonts":!0,href:yv(s)}),(0,$.jsx)(`div`,{"data-nudge-world":!0,style:{position:`relative`,isolation:`isolate`},children:r.roots.map(e=>(0,$.jsx)(mv,{id:e,node:r.nodes[e],docRef:f,assetUrl:a,dirty:d},e))})]})}var Sv=new Set([`opacity`,`flexGrow`,`flexShrink`,`zIndex`,`fontWeight`,`order`]),Cv=e=>e.replace(/^Webkit/,`-webkit-`).replace(/[A-Z]/g,e=>`-${e.toLowerCase()}`),wv=e=>`--${e.replace(/[/.]/g,`-`)}`;function Tv(e,t,n=t=>e.assets[t]?.file??t){let r={...e,styles:{...e.styles,colors:Object.fromEntries(Object.entries(e.styles.colors).map(([e,t])=>[e,`var(${wv(e)}, ${t})`]))}},i=r.nodes[t];if(!i)return``;e=r;let a=i.type===`shape`&&(i.shape.kind===`rect`||i.shape.kind===`ellipse`&&(i.shape.sweep??1)>=1&&!i.shape.ratio),o=i.type===`shape`&&!a||i.type===`frame`&&!!i.boolean,s;i.type===`text`?s=g_(e,i):i.type===`frame`&&!i.boolean?s=a_(e,i,n):a?(s=a_(e,Ov(i),n),i.shape.kind===`ellipse`&&(s.borderRadius=`50%`)):(s=r_(e,i),l_(e,i,s));let c=[];o&&c.push(` /* Drawn as SVG (CSS can't draw this shape); its box and effects follow. Export the shape as SVG or PNG. */`);for(let[e,t]of Object.entries(s)){if(t==null||t===``)continue;if(e===`columnGap`||e===`rowGap`){e===`rowGap`&&s.columnGap!==void 0&&c.push(...Ev(i,s));continue}if(e===`boxSizing`||e===`flexShrink`&&t===0&&i.parent===null||!i.parent&&(e===`position`||e===`left`||e===`top`)||e===`lineHeight`&&t===`normal`||e===`margin`&&t===0||e===`justifyContent`&&t===`flex-start`||e===`alignContent`&&t===`flex-start`)continue;if(e===`padding`&&typeof t==`string`){let e=t.split(` `);if(e.every(e=>e===`0px`))continue;let n=e.every(t=>t===e[0])?e[0]:e[0]===e[2]&&e[1]===e[3]?`${e[0]} ${e[1]}`:t;c.push(` padding: ${n};`);continue}if(e===`borderRadius`&&(i.type===`frame`||a)&&typeof i.radius==`string`){c.push(` border-radius: var(${wv(i.radius.slice(1))}, ${t}px);`);continue}let n=typeof t==`number`&&!Sv.has(e)&&t!==0?`${t}px`:String(t),r=e===`background`&&n.match(/^linear-gradient\((.+), \1\)$/);r?c.push(` background-color: ${r[1]};`):c.push(` ${Cv(e)}: ${n};`)}if((i.type===`frame`&&!i.boolean||a&&i.type===`shape`)&&i.stroke&&i.stroke.width>0&&i.stroke.visible!==!1){let t=i.stroke.width,n=i.stroke.color.startsWith(`$`)?e.styles.colors[i.stroke.color.slice(1)]??i.stroke.color:i.stroke.color;if(i.stroke.sides){let[e,t,r,a]=i.stroke.sides,o=i.stroke.align===`outside`?0:i.stroke.align===`center`?.5:1,s=(e,t,r)=>e||t?`${r?`inset `:``}${e}px ${t}px 0 0 ${n}`:null,l=[...o?[s(0,e*o,!0),s(-t*o,0,!0),s(0,-r*o,!0),s(a*o,0,!0)]:[],...o<1?[s(0,-e*(1-o),!1),s(t*(1-o),0,!1),s(0,r*(1-o),!1),s(-a*(1-o),0,!1)]:[]].filter(Boolean);l.length&&c.push(` box-shadow: ${l.join(`, `)};`),i.stroke.dash&&c.push(` /* dashed in the design: per-side dashes need borders (border-style: dashed), which take up layout space */`)}else{let e=i.stroke.align===`outside`?0:i.stroke.align===`center`?-t/2:-t;c.push(` outline: ${t}px ${i.stroke.dash?`dashed`:`solid`} ${n};`),e&&c.push(` outline-offset: ${e}px;`)}}let l=i.name.replace(/\*\//g,``);return`/* ${l}${i.type===`text`&&i.style?` · text style ${i.style.slice(1)}`:``} */\n.${l.toLowerCase().replace(/[^\w]+/g,`-`).replace(/^-|-$/g,``)||`layer`} {\n${c.join(`
|
|
346
|
+
`)}\n}`}function Ev(e,t){let n=e.type===`frame`?e.layout:void 0;return!n||n.mode===`free`?[]:n.wrap&&n.mode===`row`&&t.columnGap!==t.rowGap?[` column-gap: ${Dv(t.columnGap)};`,` row-gap: ${Dv(t.rowGap)};`]:[` gap: ${Dv(n.mode===`row`?t.columnGap:t.rowGap)};`]}var Dv=e=>typeof e==`number`&&e!==0?`${e}px`:String(e);function Ov(e){return{...e,type:`frame`,children:[],clip:!1,layout:{mode:`free`,gap:0,pad:[0,0,0,0],alignMain:`start`,alignCross:`start`},radius:e.shape.kind===`ellipse`?void 0:e.radius}}var kv=e=>e.replace(/&/g,`&`).replace(/</g,`<`).replace(/>/g,`>`),Av=e=>kv(e).replace(/"/g,`"`);function jv(e){let t=e.name.toLowerCase().normalize(`NFKD`).replace(/[^\w]+/g,`-`).replace(/^-+|-+$/g,``).replace(/^(\d)/,`l-$1`);return t&&/[a-z]/.test(t)?t:e.type===`text`?`text`:e.type===`vector`?`icon`:e.type===`shape`?`shape`:`frame`}function Mv(e){return e.replace(/^\/\*[\s\S]*?\*\/\n/,``).replace(/^[^{]*\{\n?/,``).replace(/\n?\}\s*$/,``)}var Nv=e=>e.type===`shape`&&(e.shape.kind===`rect`||e.shape.kind===`ellipse`&&(e.shape.sweep??1)>=1&&!e.shape.ratio),Pv=`const VERT = "attribute vec2 p;void main(){gl_Position=vec4(p,0.0,1.0);}";
|
|
347
|
+
for (const canvas of document.querySelectorAll("canvas.nudge-shader")) {
|
|
348
|
+
const gl = canvas.getContext("webgl", { premultipliedAlpha: false });
|
|
349
|
+
const frag = canvas.nextElementSibling?.textContent ?? "";
|
|
350
|
+
if (!gl) continue;
|
|
351
|
+
const part = (type, src) => { const s = gl.createShader(type); gl.shaderSource(s, src); gl.compileShader(s); return s; };
|
|
352
|
+
const prog = gl.createProgram();
|
|
353
|
+
gl.attachShader(prog, part(gl.VERTEX_SHADER, VERT));
|
|
354
|
+
gl.attachShader(prog, part(gl.FRAGMENT_SHADER, frag));
|
|
355
|
+
gl.linkProgram(prog);
|
|
356
|
+
gl.useProgram(prog);
|
|
357
|
+
gl.bindBuffer(gl.ARRAY_BUFFER, gl.createBuffer());
|
|
358
|
+
gl.bufferData(gl.ARRAY_BUFFER, new Float32Array([-1,-1,1,-1,-1,1,-1,1,1,-1,1,1]), gl.STATIC_DRAW);
|
|
359
|
+
const a = gl.getAttribLocation(prog, "p");
|
|
360
|
+
gl.enableVertexAttribArray(a);
|
|
361
|
+
gl.vertexAttribPointer(a, 2, gl.FLOAT, false, 0, 0);
|
|
362
|
+
const params = JSON.parse(canvas.dataset.params || "{}");
|
|
363
|
+
for (const [id, v] of Object.entries(params)) {
|
|
364
|
+
const at = gl.getUniformLocation(prog, id);
|
|
365
|
+
if (typeof v === "string") gl.uniform3f(at, ...[1, 3, 5].map((i) => parseInt(v.slice(i, i + 2), 16) / 255));
|
|
366
|
+
else gl.uniform1f(at, v);
|
|
367
|
+
}
|
|
368
|
+
const still = matchMedia("(prefers-reduced-motion: reduce)").matches || !/\\bu_time\\b/.test(frag);
|
|
369
|
+
const t0 = performance.now();
|
|
370
|
+
const draw = () => {
|
|
371
|
+
const k = Math.min(2, devicePixelRatio || 1);
|
|
372
|
+
canvas.width = Math.round(canvas.clientWidth * k);
|
|
373
|
+
canvas.height = Math.round(canvas.clientHeight * k);
|
|
374
|
+
gl.viewport(0, 0, canvas.width, canvas.height);
|
|
375
|
+
gl.uniform2f(gl.getUniformLocation(prog, "u_resolution"), canvas.width, canvas.height);
|
|
376
|
+
gl.uniform1f(gl.getUniformLocation(prog, "u_time"), still ? 0 : (performance.now() - t0) / 1000);
|
|
377
|
+
gl.drawArrays(gl.TRIANGLES, 0, 6);
|
|
378
|
+
if (!still) requestAnimationFrame(draw);
|
|
379
|
+
};
|
|
380
|
+
draw();
|
|
381
|
+
}`;function Fv(e,t,n={}){let r=new Map,i=new Map,a=new Map,o=new Map,s=t=>{let s=Mv(Tv(e,t.id,n.asset)),c=jv(t),l=`${c}\u0000${s}`,u=a.get(l);if(!u){let e=(o.get(c)??0)+1;o.set(c,e),u=e===1?c:`${c}-${e}`,a.set(l,u),i.set(u,s)}r.set(t.id,u);let d=n.extra?.get(t.id);return d?`${u} ${d}`:u},c=[],l=(t,r)=>{let i=e.nodes[t];if(!i||i.hidden)return;let a=` `.repeat(r),o=s(i);if(i.type===`text`){let t=r===0?`p`:`span`,n=p_(e,i),s=m_(i.content,i.spans,n).map(t=>{let r=kv(t.text).replace(/\n/g,`<br>`);return t.bare||!t.style&&!n?r:`<span style="${kv(Object.entries({...n?{lineHeight:n}:{},...t.style?__(e,t.style):{}}).map(([e,t])=>`${e.replace(/[A-Z]/g,e=>`-${e.toLowerCase()}`)}: ${typeof t==`number`&&e!==`fontWeight`?`${t}px`:t}`).join(`; `)).replace(/"/g,`"`)}">${r}</span>`}).join(``);c.push(`${a}<${t} class="${o}">${s}</${t}>`);return}if(i.type===`vector`||i.type===`shape`&&!Nv(i)||i.type===`frame`&&i.boolean){let e=n.svg?.(t);e?c.push(`${a}${e.replace(/^<svg\b/,`<svg class="${o}"`)}`):c.push(`${a}<svg class="${o}" aria-label="${Av(Pm(i))}"><!-- drawn shape: export it as SVG --></svg>`);return}if(i.type===`shape`){c.push(`${a}<div class="${o}"></div>`);return}let p=i.children.filter(t=>e.nodes[t]&&!e.nodes[t].hidden),m=(i.fills??[]).flatMap(e=>e.type===`shader`&&e.visible!==!1?[e]:[]),h=(i.fills??[]).flatMap(e=>e.type===`video`&&e.visible!==!1?[e]:[]),g=e_(i).layers;if(!p.length&&!m.length&&!h.length&&!g.length)c.push(`${a}<div class="${o}"></div>`);else{c.push(`${a}<div class="${o}">`);for(let t of g){f=!0;let{layer:r,ellipse:i}=t_(e,t,t=>n.asset?.(t)??e.assets[t]?.file??t),o=(e,t)=>Av(Object.entries(e).filter(([e])=>!t.includes(e)).map(([e,t])=>`${e.replace(/[A-Z]/g,e=>`-${e.toLowerCase()}`)}: ${t}`).join(`; `));c.push(`${a} <div class="nudge-fill" style="${o(r,[`position`,`inset`,`overflow`,`borderRadius`,`pointerEvents`])}" aria-hidden="true">${i?`<div style="${o(i,[`position`])}"></div>`:``}</div>`)}for(let e of m){u=!0;let t=JSON.stringify(Object.fromEntries((e.shader.params??[]).map(e=>[e.id,e.value])));c.push(`${a} <canvas class="nudge-shader" data-params="${Av(t)}"${e.blend&&e.blend!==`normal`?` style="mix-blend-mode: ${e.blend}"`:``} aria-hidden="true"></canvas>`),c.push(`${a} <script type="x-shader/x-fragment">\n${k_(e.shader).replace(/<\//g,`<\\/`)}\n${a} <\/script>`)}for(let t of h){d=!0;let{autoplay:r,loop:o,muted:s}=Jg(t),l=[...Object.entries(i_(t.fit,t.crop,a_(e,i,e=>e).borderRadius)).filter(([e])=>![`inset`,`width`,`height`,`borderRadius`].includes(e)||t.fit===`crop`).map(([e,t])=>`${e.replace(/[A-Z]/g,e=>`-${e.toLowerCase()}`)}: ${t}`),...t.blend&&t.blend!==`normal`?[`mix-blend-mode: ${t.blend}`]:[]].join(`; `);c.push(`${a} <video class="nudge-video" src="${Av(n.asset?.(t.asset)??e.assets[t.asset]?.file??t.asset)}"${r?` autoplay`:``}${o?` loop`:``}${s?` muted`:``} playsinline preload="metadata" style="${l}"></video>`)}for(let e of p)l(e,r+1);c.push(`${a}</div>`)}},u=!1,d=!1,f=!1;l(t,0),u&&c.push(`<script type="module">\n${Pv}\n<\/script>`);let p=[...new Set([...i.values()].flatMap(e=>[...e.matchAll(/font-family: ([^,;]+)/g)].map(e=>e[1].trim().replace(/^["']|["']$/g,``))))],m=p.length?`/* Fonts: ${p.join(`, `)} — load ${p.length===1?`it`:`them`} in your page */\n`:``,h=u?`.nudge-shader {
|
|
382
|
+
position: absolute;
|
|
383
|
+
inset: 0;
|
|
384
|
+
width: 100%;
|
|
385
|
+
height: 100%;
|
|
386
|
+
border-radius: inherit;
|
|
387
|
+
pointer-events: none;
|
|
388
|
+
}`:null,g=d?`.nudge-video {
|
|
389
|
+
position: absolute;
|
|
390
|
+
inset: 0;
|
|
391
|
+
width: 100%;
|
|
392
|
+
height: 100%;
|
|
393
|
+
border-radius: inherit;
|
|
394
|
+
pointer-events: none;
|
|
395
|
+
}`:null,_=f?`.nudge-fill {
|
|
396
|
+
position: absolute;
|
|
397
|
+
inset: 0;
|
|
398
|
+
overflow: hidden;
|
|
399
|
+
border-radius: inherit;
|
|
400
|
+
pointer-events: none;
|
|
401
|
+
}
|
|
402
|
+
|
|
403
|
+
.nudge-fill > div {
|
|
404
|
+
position: absolute;
|
|
405
|
+
}`:null,v=m+[`*, *::before, *::after {
|
|
406
|
+
box-sizing: border-box;
|
|
407
|
+
margin: 0;
|
|
408
|
+
}
|
|
409
|
+
|
|
410
|
+
html {
|
|
411
|
+
-webkit-font-smoothing: antialiased;
|
|
412
|
+
}`,...[...i.entries()].map(([e,t])=>`.${e} {\n${t}\n}`),..._?[_]:[],...h?[h]:[],...g?[g]:[]].join(`
|
|
413
|
+
|
|
414
|
+
`);return{html:c.join(`
|
|
415
|
+
`),css:v,classes:r}}function Iv(e){let t=document.querySelector(`.world svg[data-node-id="${CSS.escape(e)}"]`);if(!t)return null;let n=t.cloneNode(!0);n.removeAttribute(`data-node-id`),n.removeAttribute(`style`);for(let e of n.querySelectorAll(`[data-node-id]`))e.removeAttribute(`data-node-id`);return n.outerHTML.replace(/\s+xmlns="http:\/\/www\.w3\.org\/2000\/svg"/,``)}function Lv(e,t){let n=new Map;for(let[t,r]of e)n.set(r,[...n.get(r)??[],t]);let r={},i=new Map;for(let[e,a]of n){let n=a.filter(e=>t[e]);if(n.length){if(a.length===n.length&&n.every(e=>t[e]===t[n[0]]))for(let t of a)r[t]=e;else n.forEach(t=>{let n=`${e}--${a.indexOf(t)+1}`;i.set(t,n),r[t]=n})}}return{sels:r,extra:i}}export{Z as $,a as $t,Mm as A,vt as At,Xp as B,le as Bt,ng as C,Ee as Ct,Pm as D,Ge as Dt,Gm as E,Et,rm as F,it as Ft,qp as G,M as Gt,Ip as H,ee as Ht,tm as I,yt as It,Lp as J,O as Jt,Jp as K,k as Kt,nm as L,de as Lt,xm as M,et as Mt,gm as N,tt as Nt,zm as O,nt as Ot,$p as P,rt as Pt,sp as Q,s as Qt,Fp as R,re as Rt,Rg as S,pt as St,xh as T,Oe as Tt,zp as U,D as Ut,Hp as V,ce as Vt,Pp as W,N as Wt,Uf as X,j as Xt,wp as Y,A as Yt,cp as Z,l as Zt,Bg as _,Ae as _t,Tv as a,Zf as at,Wg as b,Ze as bt,$_ as c,Bf as ct,I_ as d,kt as dt,up as et,b_ as f,Ot as ft,qg as g,be as gt,Gg as h,Se as ht,Lv as i,Wf as it,Om as j,Me as jt,Rm as k,$e as kt,Z_ as l,Rf as lt,Jg as m,we as mt,Fv as n,ap as nt,xv as o,Qf as ot,Zg as p,xe as pt,Vp as q,te as qt,Iv as r,$f as rt,fv as s,ip as st,Mv as t,dp as tt,Y_ as u,zf as ut,Kg as v,Tt as vt,Km as w,De as wt,zg as x,Ne as xt,Vg as y,dt as yt,Bp as z,ne as zt};
|