PageSourceSearch

https://ofzlo.github.io/_next/static/chunks/pages/_app-6b5934b3af4e003c.js

js ofzlo.github.io collected 2026-10-03 09:42:32 UTC 410,507 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[888],{4465:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|inert|itemProp|itemScope|itemType|itemID|itemRef|on|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,o=function(e){var t={};return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}((function(e){return r.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91}))},2671:function(e,t,n){"use strict";n.r(t),n.d(t,{Portal:function(){return s},default:function(){return l}});var r=n(7294);function o(){return!("undefined"===typeof window||!window.document||!window.document.createElement)}var i=o()?r.useLayoutEffect:r.useEffect;var a=n(3935),s=function(e){var t=e.children,n=e.type,o=void 0===n?"reach-portal":n,s=e.containerRef,l=(0,r.useRef)(null),c=(0,r.useRef)(null),u=function(){var e=(0,r.useState)(Object.create(null))[1];return(0,r.useCallback)((function(){e(Object.create(null))}),[])}();return i((function(){if(l.current){var e=l.current.ownerDocument,t=(null==s?void 0:s.current)||e.body;return c.current=null==e?void 0:e.createElement(o),t.appendChild(c.current),u(),function(){c.current&&t&&t.removeChild(c.current)}}}),[o,u,s]),c.current?(0,a.createPortal)(t,c.current):(0,r.createElement)("span",{ref:l})};var l=s},441:function(e,t,n){"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}n.d(t,{Z:function(){return r}})},1098:function(e,t,n){"use strict";function r(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(c){return void n(c)}s.done?t(l):Promise.resolve(l).then(r,o)}function o(e){return function(){var t=this,n=arguments;return new Promise((function(o,i){var a=e.apply(t,n);
1function s(e){r(a,o,i,s,l,"next",e)}function l(e){r(a,o,i,s,l,"throw",e)}s(void 0)}))}}n.d(t,{Z:function(){return o}})},1743:function(e,t,n){"use strict";function r(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}n.d(t,{Z:function(){return r}})},9454:function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},o=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&(o=o.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),o.forEach((function(t){r(e,t,n[t])}))}return e}n.d(t,{Z:function(){return o}})},3700:function(e,t,n){"use strict";function r(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})),e}n.d(t,{Z:function(){return r}})},5138:function(e,t,n){"use strict";function r(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}n.d(t,{Z:function(){return r}})},9798:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(441);var o=n(1743);var i=n(1732);function a(e){return function(e){if(Array.isArray(e))return(0,r.Z)(e)}(e)||(0,o.Z)(e)||(0,i.Z)(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},1732:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(441);function o(e,t){if(e){if("string"===typeof e)return(0,r.Z)(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(n):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?(0,r.Z)(e,t):void 0}}},4184:function(e,t){var n;!function(){"use strict";var r={}.hasOwnProperty;function o(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var i=typeof n;if("string"===i||"number"===i)e.push(n);else if(Array.isArray(n)){if(n.length){var a=o.apply(null,n);a&&e.push(a)}}else if("object"===i)if(n.toString===Object.prototype.toString)for(var s in n)r.call(n,s)&&n[s]&&e.push(s);else e.push(n.toString())}}return e.join(" ")}e.exports?(o.default=o,e.exports=o):void 0===(n=function(){return o}.apply(t,[]))||(e.exports=n)}()},8382:function(e){var t=.999,n=/[\\\/\-_+.# \t"@\[\(\{&]/,r=/[\\\/\-_+.# \t"@\[\(\{&]/g;function o(e,i,a,s,l,c){if(c===i.length)return l===e.length?1:.99;for(var u,d,p,h=s.charAt(c),f=a.indexOf(h,l),m=0;f>=0;)(u=o(e,i,a,s,f+1,c+1))>m&&(f===l?u*=1:n.test(e.charAt(f-1))?(u*=.9,(p=e.slice(l,f-1).match(r))&&l>0&&(u*=Math.pow(t,p.length))):n.test(e.slice(l,f-1))?(u*=0,l>0&&(u*=Math.pow(t,f-l))):(u*=.3,l>0&&(u*=Math.pow(t,f-l))),e.charAt(f)!==i.charAt(c)&&(u*=.9999)),u<.1&&a.charAt(f-1)===s.charAt(c+1)&&a.charAt(f-1)!==s.charAt(c)&&.1*(d=o(e,i,a,s,f+1,c+2))>u&&(u=.1*d),u>m&&(m=u),f=a.indexOf(h,f+1);return m}e.exports=function(e,t){return o(e,t,e.toLowerCase(),t.toLowerCase(),0,0)}},8367:function(e,t){!function(e){"use strict";var t="function"===typeof WeakSet,n=Object.keys;function r(e,t){return e===t||e!==e&&t!==t}function o(e){return e.constructor===Object||null==e.constructor}function i(e){return!!e&&"function"===typeof e.then}function a(e){return!(!e||!e.$$typeof)}function s(){var e=[];return{add:function(t){e.push(t)},has:function(t){return-1!==e.indexOf(t)}}}var l=t?function(){return new WeakSet}:s;function c(e){return function(t){var n=e||t;return function(e,t,r){void 0===r&&(r=l());var o=!!e&&"object"===typeof e,i=!!t&&"object"===typeof t;if(o||i){var a=o&&r.has(e),s=i&&r.has(t);if(a||s)return a&&s;o&&r.add(e),i&&r.add(t)}return n(e,t,r)}}}function u(e,t,n,r){var o=e.length;if(t.length!==o)return!1;for(;o-- >0;)if(!n(e[o],t[o],r))return!1;return!0}function d(e,t,n,r){var o=e.size===t.size;if(o&&e.size){var i={};e.forEach((function(e,a){if(o){var s=!1,l=0;t.forEach((function(t,o){s||i[l]||(s=n(a,o,r)&&n(e,t,r))&&(i[l]=!0),l
1++})),o=s}}))}return o}var p="_owner",h=Function.prototype.bind.call(Function.prototype.call,Object.prototype.hasOwnProperty);function f(e,t,r,o){var i=n(e),s=i.length;if(n(t).length!==s)return!1;if(s)for(var l=void 0;s-- >0;){if((l=i[s])===p){var c=a(e),u=a(t);if((c||u)&&c!==u)return!1}if(!h(t,l)||!r(e[l],t[l],o))return!1}return!0}function m(e,t){return e.source===t.source&&e.global===t.global&&e.ignoreCase===t.ignoreCase&&e.multiline===t.multiline&&e.unicode===t.unicode&&e.sticky===t.sticky&&e.lastIndex===t.lastIndex}function v(e,t,n,r){var o=e.size===t.size;if(o&&e.size){var i={};e.forEach((function(e){if(o){var a=!1,s=0;t.forEach((function(t){a||i[s]||(a=n(e,t,r))&&(i[s]=!0),s++})),o=a}}))}return o}var g="function"===typeof Map,y="function"===typeof Set;function x(e){var t="function"===typeof e?e(n):n;function n(e,n,a){if(e===n)return!0;if(e&&n&&"object"===typeof e&&"object"===typeof n){if(o(e)&&o(n))return f(e,n,t,a);var s=Array.isArray(e),l=Array.isArray(n);return s||l?s===l&&u(e,n,t,a):(s=e instanceof Date,l=n instanceof Date,s||l?s===l&&r(e.getTime(),n.getTime()):(s=e instanceof RegExp,l=n instanceof RegExp,s||l?s===l&&m(e,n):i(e)||i(n)?e===n:g&&(s=e instanceof Map,l=n instanceof Map,s||l)?s===l&&d(e,n,t,a):y&&(s=e instanceof Set,l=n instanceof Set,s||l)?s===l&&v(e,n,t,a):f(e,n,t,a)))}return e!==e&&n!==n}return n}var b=x(),w=x((function(){return r})),j=x(c()),O=x(c(r));e.circularDeepEqual=j,e.circularShallowEqual=O,e.createCustomEqual=x,e.deepEqual=b,e.sameValueZeroEqual=r,e.shallowEqual=w,Object.defineProperty(e,"__esModule",{value:!0})}(t)},5342:function(e,t,n){"use strict";n.d(t,{M:function(){return g}});var r=n(655),o=n(7294),i=n(1549),a=n(6747),s=n(4283);function l(){var e=(0,o.useRef)(!1);return(0,s.L)((function(){return e.current=!0,function(){e.current=!1}}),[]),e}var c=n(8168),u=n(6770),d=n(6771),p=function(e){var t=e.children,n=e.initial,i=e.isPresent,a=e.onExitComplete,s=e.custom,l=e.presenceAffectsLayout,p=(0,u.h)(h),f=(0,d.M)(),m=(0,o.useMemo)((function(){return{id:f,initial:n,isPresent:i,custom:s,onExitComplete:function(e){var t,n;p.set(e,!0);try{for(var o=(0,r.XA)(p.values()),i=o.next();!i.done;i=o.next()){if(!i.value)return}}catch(s){t={error:s}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(t)throw t.error}}null===a||void 0===a||a()},register:function(e){return p.set(e,!1),function(){return p.delete(e)}}}}),l?void 0:[i]);return(0,o.useMemo)((function(){p.forEach((function(e,t){return p.set(t,!1)}))}),[i]),o.useEffect((function(){!i&&!p.size&&(null===a||void 0===a||a())}),[i]),o.createElement(c.O.Provider,{value:m},t)};function h(){return new Map}var f=n(6179),m=n(3911),v=function(e){return e.key||""};var g=function(e){var t=e.children,n=e.custom,c=e.initial,u=void 0===c||c,d=e.onExitComplete,h=e.exitBeforeEnter,g=e.presenceAffectsLayout,y=void 0===g||g,x=(0,r.CR)(function(){var e=l(),t=(0,r.CR)((0,o.useState)(0),2),n=t[0],i=t[1],s=(0,o.useCallback)((function(){e.current&&i(n+1)}),[n]);return[(0,o.useCallback)((function(){return a.ZP.postRender(s)}),[s]),n]}(),1),b=x[0],w=(0,o.useContext)(f.p).forceRender;w&&(b=w);var j=l(),O=function(e){var t=[];return o.Children.forEach(e,(function(e){(0,o.isValidElement)(e)&&t.push(e)})),t}(t),_=O,S=new Set,k=(0,o.useRef)(_),C=(0,o.useRef)(new Map).current,T=(0,o.useRef)(!0);if((0,s.L)((function(){T.current=!1,function(e,t){e.forEach((function(e){var n=v(e);t.set(n,e)}))}(O,C),k.current=_})),(0,m.z)((function(){T.current=!0,C.clear(),S.clear()})),T.current)return o.createElement(o.Fragment,null,_.map((function(e){return o.createElement(p,{key:v(e),isPresent:!0,initial:!!u&&void 0,presenceAffectsLayout:y},e)})));_=(0,r.ev)([],(0,r.CR)(_),!1);for(var E=k.current.map(v),P=O.map(v),A=E.length,M=0;M<A;M++){var D=E[M];-1===P.indexOf(D)&&S.add(D)}return h&&S.size&&(_=[]),S.forEach((function(e){if(-1===P.indexOf(e)){var t=C.get(e);if(t){var r=E.indexOf(e);_.splice(r,0,o.createElement(p,{key:v(t),isPresent:!1,onExitComplete:function(){C.delete(e),S.delete(e);var t=k.current.findIndex((function(t){return t.key===e}));if(k.current.splice(t,1),!S.size){if(k.current=O,!1===j.current)return;b(),d&&d()}},custom:n,presenceAffectsLayout:y},t))}}})),_=_.map((function(e){var t=e.key;return S.has(t)?e:o.createElement(p,{key:v(e),isPresent:!0,presenceAffectsLayout:y},e)})),"production"!==i.O&&h&&_.length>1&&console.warn("You're attempting to animate multiple children within AnimatePresence, but its exitBeforeEnter prop is set to true. This will lead to odd visual behaviour."),o.createElement(o.Fragment,null,S.size?_:_.map((function(e){return(0,o.cloneElement)(e)})))}},6179:function(e,t,n){"use strict";n.d(t,{p:function(){return r}});var r=(0,n(7294).createContext)({})},8168:function(e,t,n){"use strict";n.d(t,{O:function(){return r}});var r=(0,n(7294).createContext)(null)},1069:function(e,t,n){"use strict";n.d(t,{E:function(){return aa}});var r=n(655),o=n(7294),i=n(1549),a=function(e){return{isEnabled:function(t){return e.some((function(e){return!!t[e]}))}}},s={measureLayout:a(["layout","layoutId","drag"]),animation:a(["animate","exit","variants","whileHover","whileTap","whileFocus","whileDrag","whileInView"]),exit:a(["exit"]),drag:a(["drag","dragControls"]),focus:a(["whileFocus"]),hover:a(["whileHover","onHoverStart","onHoverEnd"]),tap:a(["whileTap","onTap","onTapStart","onTapCancel"]),pan:a(["onPan","onPanStart","onPanSessionStart","onPanEnd"]),inView:a(["whileInView","onViewportEnter","onViewportLeave"])};var l=(0,o.createContext)({strict:!1}),c=Object.keys(s),u=c.length;var d=(0,o.createContext)({transformPagePoint:function(e){return e},isStatic:!1,reducedMotion:"never"}),p=(0,o.createContext)({});var h=n(8168),f=n(4283),m=n(7976),v={current:null},g=!1;function y(){return!g&&function(){if(g=!0,m.j)if(window.matchMedia){var e=window.matchMedia("(prefers-reduced-motion)"),t=function(){return v.current=e.matches};e.addListener(t),t()}else v.current=!1}(),(0,r.CR)((0,o.useState)(v.current),1)[0]}function x(e,t,n,r){var i=(0,o.useContext)(l),a=(0,o.useContext)(p).visualElement,s=(0,o.useContext)(h.O),c=function(){var e=y(),t=(0,o.useContext)(d).reducedMotion;return"never"!==t&&("always"===t||e)}(),u=(0,o.useRef)(void 0);r||(r=i.renderer),!u.current&&r&&(u.current=r(e,{visualState:t,parent:a,props:n,presenceId:null===s||void 0===s?void 0:s.id,blockInitialAnimation:!1===(null===s||void 0===s?void 0:s.initial),shouldReduceMotion:c}));var m=u.current;return(0,f.L)((function(){null===m||void 0===m||m.syncRender()})),(0,o.useEffect)((function(){var e;null===(e=null===m||void 0===m?void 0:m.animationState)||void 0===e||e.animateChanges()})),(0,f.L)((function(){return function(){return null===m||void 0===m?void 0:m.notifyUnmount()}}),[]),m}function b(e){return"object"===typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}function w(e){return Array.isArray(e)}function j(e){return"string"===typeof e||w(e)}function O(e,t,n,r,o){var i;return void 0===r&&(r={}),void 0===o&&(o={}),"function"===typeof t&&(t=t(null!==n&&void 0!==n?n:e.custom,r,o)),"string"===typeof t&&(t=null===(i=e.variants)||void 0===i?void 0:i[t]),"function"===typeof t&&(t=t(null!==n&&void 0!==n?n:e.custom,r,o)),t}function _(e,t,n){var r=e.getProps();return O(r,t,null!==n&&void 0!==n?n:r.custom,function(e){var t={};return e.forEachValue((function(e,n){return t[n]=e.get()})),t}(e),function(e){var t={};return e.forEachValue((function(e,n){return t[n]=e.getVelocity()})),t}(e))}function S(e){var t;return"function"===typeof(null===(t=e.animate)||void 0===t?void 0:t.start)||j(e.initial)||j(e.animate)||j(e.whileHover)||j(e.whileDrag)||j(e.whileTap)||j(e.whileFocus)||j(e.exit)}function k(e){return Boolean(S(e)||e.variants)}function C(e){var t=function(e,t){if(S(e)){var n=e.initial,r=e.animate;return{initial:!1===n||j(n)?n:void 0,animate:j(r)?r:void 0}}return!1!==e.inherit?t:{}}(e,(0,o.useContext)(p)),n=t.initial,r=t.animate;return(0,o.useMemo)((function(){return{initial:n,animate:r}}
vendor: 4,859 bytes, line 1
1),[T(n),T(r)])}function T(e){return Array.isArray(e)?e.join(" "):e}var E=n(6770),P=n(6747);const A=(e,t,n)=>-n*e+n*t+e;function M(e,t){return t?e*(1e3/t):0}function D(e,t){-1===e.indexOf(t)&&e.push(t)}function R(e,t){var n=e.indexOf(t);n>-1&&e.splice(n,1)}var I=function(){function e(){this.subscriptions=[]}return e.prototype.add=function(e){var t=this;return D(this.subscriptions,e),function(){return R(t.subscriptions,e)}},e.prototype.notify=function(e,t,n){var r=this.subscriptions.length;if(r)if(1===r)this.subscriptions[0](e,t,n);else for(var o=0;o<r;o++){var i=this.subscriptions[o];i&&i(e,t,n)}},e.prototype.getSize=function(){return this.subscriptions.length},e.prototype.clear=function(){this.subscriptions.length=0},e}(),F=function(){function e(e){var t,n=this;this.version="6.4.2",this.timeDelta=0,this.lastUpdated=0,this.updateSubscribers=new I,this.velocityUpdateSubscribers=new I,this.renderSubscribers=new I,this.canTrackVelocity=!1,this.updateAndNotify=function(e,t){void 0===t&&(t=!0),n.prev=n.current,n.current=e;var r=(0,P.$B)(),o=r.delta,i=r.timestamp;n.lastUpdated!==i&&(n.timeDelta=o,n.lastUpdated=i,P.ZP.postRender(n.scheduleVelocityCheck)),n.prev!==n.current&&n.updateSubscribers.notify(n.current),n.velocityUpdateSubscribers.getSize()&&n.velocityUpdateSubscribers.notify(n.getVelocity()),t&&n.renderSubscribers.notify(n.current)},this.scheduleVelocityCheck=function(){return P.ZP.postRender(n.velocityCheck)},this.velocityCheck=function(e){e.timestamp!==n.lastUpdated&&(n.prev=n.current,n.velocityUpdateSubscribers.notify(n.getVelocity()))},this.hasAnimated=!1,this.prev=this.current=e,this.canTrackVelocity=(t=this.current,!isNaN(parseFloat(t)))}return e.prototype.onChange=function(e){return this.updateSubscribers.add(e)},e.prototype.clearListeners=function(){this.updateSubscribers.clear()},e.prototype.onRenderRequest=function(e){return e(this.get()),this.renderSubscribers.add(e)},e.prototype.attach=function(e){this.passiveEffect=e},e.prototype.set=function(e,t){void 0===t&&(t=!0),t&&this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e,t)},e.prototype.get=function(){return this.current},e.prototype.getPrevious=function(){return this.prev},e.prototype.getVelocity=function(){return this.canTrackVelocity?M(parseFloat(this.current)-parseFloat(this.prev),this.timeDelta):0},e.prototype.start=function(e){var t=this;return this.stop(),new Promise((function(n){t.hasAnimated=!0,t.stopAnimation=e(n)})).then((function(){return t.clearAnimation()}))},e.prototype.stop=function(){this.stopAnimation&&this.stopAnimation(),this.clearAnimation()},e.prototype.isAnimating=function(){return!!this.stopAnimation},e.prototype.clearAnimation=function(){this.stopAnimation=null},e.prototype.destroy=function(){this.updateSubscribers.clear(),this.renderSubscribers.clear(),this.stop()},e}();function L(e){return new F(e)}var N=function(e){return Boolean(null!==e&&"object"===typeof e&&e.getVelocity)};const B=(e,t,n)=>Math.min(Math.max(n,e),t),V=.001;function z({duration:e=800,bounce:t=.25,velocity:n=0,mass:r=1}){let o,i,a=1-t;a=B(.05,1,a),e=B(.01,10,e/1e3),a<1?(o=t=>{const r=t*a,o=r*e,i=r-n,s=U(t,a),l=Math.exp(-o);return V-i/s*l},i=t=>{const r=t*a*e,i=r*n+n,s=Math.pow(a,2)*Math.pow(t,2)*e,l=Math.exp(-r),c=U(Math.pow(t,2),a);return(-o(t)+V>0?-1:1)*((i-s)*l)/c}):(o=t=>Math.exp(-t*e)*((t-n)*e+1)-.001,i=t=>Math.exp(-t*e)*(e*e*(n-t)));const s=function(e,t,n){let r=n;for(let o=1;o<12;o++)r-=e(r)/t(r);return r}(o,i,5/e);if(e*=1e3,isNaN(s))return{stiffness:100,damping:10,duration:e};{const t=Math.pow(s,2)*r;return{stiffness:t,damping:2*a*Math.sqrt(r*t),duration:e}}}function U(e,t){return e*Math.sqrt(1-t*t)}const G=["duration","bounce"],Z=["stiffness","damping","mass"];function H(e,t){return t.some((t=>void 0!==e[t]))}function W(e){var{from:t=0,to:n=1,restSpeed:o=2,restDelta:i}=e,a=(0,r._T)(e,["from","to","restSpeed","restDelta"]);const s={done:!1,value:t};let{stiffness:l,damping:c,mass:u,velocity:d,duration:p,isResolvedFromDuration:h}=function(e){let t=Object.assign({velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1},e);if(!H(e,Z)&&H(e,G)){const n=z(e);t=Object.assign(Object.assign(Object.assign({},t),n),{velocity:0,mass:1}),t.isResolvedFromDuration=!0}return t}(a),f=K,m=K;function v(){const e=d?-d/1e3:0,r=n-t,o=c/(2*Math.sqrt(l*u)),a=Math.sqrt(l/u)/1e3;if(void 0===i&&(i=Math.min(Math.abs(n-t)/100,.4)),o<1){const t=U(a,o);f=i=>{const s=Math.exp(-o*a*i);return n-s*((e+o*a*r)/t*Math.sin(t*i)+r*Math.cos(t*i))},m=n=>{const i=Math.exp(-o*a*n);return o*a*i*(Math.sin(t*n)*(e+o*a*r)/t+r*Math.cos(t*n))-i*(Math.cos(t*n)*(e+o*a*r)-t*r*Math.sin(t*n))}}else if(1===o)f=t=>n-Math.exp(-a*t)*(r+(e+a*r)*t);else{const t=a*Math.sqrt(o*o-1);f=i=>{const s=Math.exp(-o*a*i),l=Math.min(t*i,300);return n-s*((e+o*a*r)*Math.sinh(l)+t*r*Math.cosh(l))/t}}}return v(),{next:e=>{const t=f(e);
1if(h)s.done=e>=p;else{const r=1e3*m(e),a=Math.abs(r)<=o,l=Math.abs(n-t)<=i;s.done=a&&l}return s.value=s.done?n:t,s},flipTarget:()=>{d=-d,[t,n]=[n,t],v()}}}W.needsInterpolation=(e,t)=>"string"===typeof e||"string"===typeof t;const K=e=>0,Y=(e,t,n)=>{const r=t-e;return 0===r?1:(n-e)/r},q=(e,t)=>n=>Math.max(Math.min(n,t),e),X=e=>e%1?Number(e.toFixed(5)):e,$=/(-)?([\d]*\.?[\d])+/g,J=/(#[0-9a-f]{6}|#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2,3}\s*\/*\s*[\d\.]+%?\))/gi,Q=/^(#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2,3}\s*\/*\s*[\d\.]+%?\))$/i;function ee(e){return"string"===typeof e}const te={test:e=>"number"===typeof e,parse:parseFloat,transform:e=>e},ne=Object.assign(Object.assign({},te),{transform:q(0,1)}),re=Object.assign(Object.assign({},te),{default:1}),oe=(e,t)=>n=>Boolean(ee(n)&&Q.test(n)&&n.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(n,t)),ie=(e,t,n)=>r=>{if(!ee(r))return r;const[o,i,a,s]=r.match($);return{[e]:parseFloat(o),[t]:parseFloat(i),[n]:parseFloat(a),alpha:void 0!==s?parseFloat(s):1}},ae=q(0,255),se=Object.assign(Object.assign({},te),{transform:e=>Math.round(ae(e))}),le={test:oe("rgb","red"),parse:ie("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+se.transform(e)+", "+se.transform(t)+", "+se.transform(n)+", "+X(ne.transform(r))+")"};const ce={test:oe("#"),parse:function(e){let t="",n="",r="",o="";return e.length>5?(t=e.substr(1,2),n=e.substr(3,2),r=e.substr(5,2),o=e.substr(7,2)):(t=e.substr(1,1),n=e.substr(2,1),r=e.substr(3,1),o=e.substr(4,1),t+=t,n+=n,r+=r,o+=o),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:o?parseInt(o,16)/255:1}},transform:le.transform},ue=e=>({test:t=>ee(t)&&t.endsWith(e)&&1===t.split(" ").length,parse:parseFloat,transform:t=>`${t}${e}`}),de=ue("deg"),pe=ue("%"),he=ue("px"),fe=ue("vh"),me=ue("vw"),ve=Object.assign(Object.assign({},pe),{parse:e=>pe.parse(e)/100,transform:e=>pe.transform(100*e)}),ge={test:oe("hsl","hue"),parse:ie("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+pe.transform(X(t))+", "+pe.transform(X(n))+", "+X(ne.transform(r))+")"};function ye(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function xe({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,n/=100;let o=0,i=0,a=0;if(t/=100){const r=n<.5?n*(1+t):n+t-n*t,s=2*n-r;o=ye(s,r,e+1/3),i=ye(s,r,e),a=ye(s,r,e-1/3)}else o=i=a=n;return{red:Math.round(255*o),green:Math.round(255*i),blue:Math.round(255*a),alpha:r}}const be=(e,t,n)=>{const r=e*e,o=t*t;return Math.sqrt(Math.max(0,n*(o-r)+r))},we=[ce,le,ge],je=e=>we.find((t=>t.test(e))),Oe=e=>`'${e}' is not an animatable color. Use the equivalent color code instead.`,_e=(e,t)=>{let n=je(e),r=je(t);Oe(e),Oe(t);let o=n.parse(e),i=r.parse(t);n===ge&&(o=xe(o),n=le),r===ge&&(i=xe(i),r=le);const a=Object.assign({},o);return e=>{for(const t in a)"alpha"!==t&&(a[t]=be(o[t],i[t],e));return a.alpha=A(o.alpha,i.alpha,e),n.transform(a)}},Se={test:e=>le.test(e)||ce.test(e)||ge.test(e),parse:e=>le.test(e)?le.parse(e):ge.test(e)?ge.parse(e):ce.parse(e),transform:e=>ee(e)?e:e.hasOwnProperty("red")?le.transform(e):ge.transform(e)},ke="${c}",Ce="${n}";function Te(e){"number"===typeof e&&(e=`${e}`);const t=[];let n=0;const r=e.match(J);r&&(n=r.length,e=e.replace(J,ke),t.push(...r.map(Se.parse)));const o=e.match($);return o&&(e=e.replace($,Ce),t.push(...o.map(te.parse))),{values:t,numColors:n,tokenised:e}}function Ee(e){return Te(e).values}function Pe(e){const{values:t,numColors:n,tokenised:r}=Te(e),o=t.length;return e=>{let t=r;for(let r=0;r<o;r++)t=t.replace(r<n?ke:Ce,r<n?Se.transform(e[r]):X(e[r]));return t}}const Ae=e=>"number"===typeof e?0:e;const Me={test:function(e){var t,n,r,o;return isNaN(e)&&ee(e)&&(null!==(n=null===(t=e.match($))||void 0===t?void 0:t.length)&&void 0!==n?n:0)+(null!==(o=null===(r=e.match(J))||void 0===r?void 0:r.length)&&void 0!==o?o:0)>0},parse:Ee,createTransformer:Pe,getAnimatableNone:function(e){const t=Ee(e);return Pe(e)(t.map(Ae))}},De=e=>"number"===typeof e,Re=(e,t)=>n=>t(e(n)),Ie=(...e)=>e.reduce(Re);function Fe(e,t){return De(e)?n=>A(e,t,n):Se.test(e)?_e(e,t):Ve(e,t)}const Le=(e,t)=>{const n=[...e],r=n.length,o=e.map(((e,n)=>Fe(e,t[n])));return e=>{for(let t=0;t<r;t++)n[t]=o[t](e);return n}},Ne=(e,t)=>{const n=Object.assign(Object.assign({},e),t),r={};for(const o in n)void 0!==e[o]&&void 0!==t[o]&&(r[o]=Fe(e[o],t[o]));return e=>{for(const t in r)n[t]=r[t](e);return n}};function Be(e){const t=Me.parse(e),n=t.length;let r=0,o=0,i=0;for(let a=0;a<n;a++)r||"number"===typeof t[a]?r++:void 0!==t[a].hue?i++:o++;return{parsed:t,numNumbers:r,numRGB:o,numHSL:i}}const Ve=(e,t)=>{const n=Me.createTransformer(t),r=Be(e),o=Be(t);return r.numHSL===o.numHSL&&r.numRGB===o.numRGB&&r.numNumbers>=o.numNumbers?Ie(Le(r.parsed,o.parsed),n):n=>`${n>0?t:e}`},ze=(e,t)=>
1n=>A(e,t,n);function Ue(e,t,n){const r=[],o=n||("number"===typeof(i=e[0])?ze:"string"===typeof i?Se.test(i)?_e:Ve:Array.isArray(i)?Le:"object"===typeof i?Ne:void 0);var i;const a=e.length-1;for(let s=0;s<a;s++){let n=o(e[s],e[s+1]);if(t){const e=Array.isArray(t)?t[s]:t;n=Ie(e,n)}r.push(n)}return r}function Ge(e,t,{clamp:n=!0,ease:r,mixer:o}={}){const i=e.length;t.length,!r||!Array.isArray(r)||r.length,e[0]>e[i-1]&&(e=[].concat(e),t=[].concat(t),e.reverse(),t.reverse());const a=Ue(t,r,o),s=2===i?function([e,t],[n]){return r=>n(Y(e,t,r))}(e,a):function(e,t){const n=e.length,r=n-1;return o=>{let i=0,a=!1;if(o<=e[0]?a=!0:o>=e[r]&&(i=r-1,a=!0),!a){let t=1;for(;t<n&&!(e[t]>o||t===r);t++);i=t-1}const s=Y(e[i],e[i+1],o);return t[i](s)}}(e,a);return n?t=>s(B(e[0],e[i-1],t)):s}const Ze=e=>t=>1-e(1-t),He=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,We=e=>t=>t*t*((e+1)*t-e),Ke=e=>e,Ye=(qe=2,e=>Math.pow(e,qe));var qe;const Xe=Ze(Ye),$e=He(Ye),Je=e=>1-Math.sin(Math.acos(e)),Qe=Ze(Je),et=He(Qe),tt=We(1.525),nt=Ze(tt),rt=He(tt),ot=(e=>{const t=We(e);return e=>(e*=2)<1?.5*t(e):.5*(2-Math.pow(2,-10*(e-1)))})(1.525),it=e=>{if(1===e||0===e)return e;const t=e*e;return e<.36363636363636365?7.5625*t:e<.7272727272727273?9.075*t-9.9*e+3.4:e<.9?12.066481994459833*t-19.63545706371191*e+8.898060941828255:10.8*e*e-20.52*e+10.72},at=Ze(it);function st(e,t){return e.map((()=>t||$e)).splice(0,e.length-1)}function lt({from:e=0,to:t=1,ease:n,offset:r,duration:o=300}){const i={done:!1,value:e},a=Array.isArray(t)?t:[e,t],s=function(e,t){return e.map((e=>e*t))}(r&&r.length===a.length?r:function(e){const t=e.length;return e.map(((e,n)=>0!==n?n/(t-1):0))}(a),o);function l(){return Ge(s,a,{ease:Array.isArray(n)?n:st(a,n)})}let c=l();return{next:e=>(i.value=c(e),i.done=e>=o,i),flipTarget:()=>{a.reverse(),c=l()}}}const ct={keyframes:lt,spring:W,decay:function({velocity:e=0,from:t=0,power:n=.8,timeConstant:r=350,restDelta:o=.5,modifyTarget:i}){const a={done:!1,value:t};let s=n*e;const l=t+s,c=void 0===i?l:i(l);return c!==l&&(s=c-t),{next:e=>{const t=-s*Math.exp(-e/r);return a.done=!(t>o||t<-o),a.value=a.done?c:c+t,a},flipTarget:()=>{}}}};function ut(e,t,n=0){return e-t-n}const dt=e=>{const t=({delta:t})=>e(t);return{start:()=>P.ZP.update(t,!0),stop:()=>P.qY.update(t)}};function pt(e){var t,n,{from:o,autoplay:i=!0,driver:a=dt,elapsed:s=0,repeat:l=0,repeatType:c="loop",repeatDelay:u=0,onPlay:d,onStop:p,onComplete:h,onRepeat:f,onUpdate:m}=e,v=(0,r._T)(e,["from","autoplay","driver","elapsed","repeat","repeatType","repeatDelay","onPlay","onStop","onComplete","onRepeat","onUpdate"]);let g,y,x,{to:b}=v,w=0,j=v.duration,O=!1,_=!0;const S=function(e){if(Array.isArray(e.to))return lt;if(ct[e.type])return ct[e.type];const t=new Set(Object.keys(e));return t.has("ease")||t.has("duration")&&!t.has("dampingRatio")?lt:t.has("dampingRatio")||t.has("stiffness")||t.has("mass")||t.has("damping")||t.has("restSpeed")||t.has("restDelta")?W:lt}(v);(null===(n=(t=S).needsInterpolation)||void 0===n?void 0:n.call(t,o,b))&&(x=Ge([0,100],[o,b],{clamp:!1}),o=0,b=100);const k=S(Object.assign(Object.assign({},v),{from:o,to:b}));function C(){w++,"reverse"===c?(_=w%2===0,s=function(e,t,n=0,r=!0){return r?ut(t+-e,t,n):t-(e-t)+n}(s,j,u,_)):(s=ut(s,j,u),"mirror"===c&&k.flipTarget()),O=!1,f&&f()}function T(e){if(_||(e=-e),s+=e,!O){const e=k.next(Math.max(0,s));y=e.value,x&&(y=x(y)),O=_?e.done:s<=0}null===m||void 0===m||m(y),O&&(0===w&&(null!==j&&void 0!==j||(j=s)),w<l?function(e,t,n,r){return r?e>=t+n:e<=-n}(s,j,u,_)&&C():(g.stop(),h&&h()))}return i&&(null===d||void 0===d||d(),g=a(T),g.start()),{stop:()=>{null===p||void 0===p||p(),g.stop()}}}var ht=function(e){return 1e3*e};const ft=(e,t)=>1-3*t+3*e,mt=(e,t)=>3*t-6*e,vt=e=>3*e,gt=(e,t,n)=>((ft(t,n)*e+mt(t,n))*e+vt(t))*e,yt=(e,t,n)=>3*ft(t,n)*e*e+2*mt(t,n)*e+vt(t);const xt=.1;function bt(e,t,n,r){if(e===t&&n===r)return Ke;const o=new Float32Array(11);for(let a=0;a<11;++a)o[a]=gt(a*xt,e,n);function i(t){let r=0,i=1;for(;10!==i&&o[i]<=t;++i)r+=xt;--i;const a=r+(t-o[i])/(o[i+1]-o[i])*xt,s=yt(a,e,n);return s>=.001?function(e,t,n,r){for(let o=0;o<8;++o){const o=yt(t,n,r);if(0===o)return t;t-=(gt(t,n,r)-e)/o}return t}(t,a,e,n):0===s?a:function(e,t,n,r,o){let i,a,s=0;do{a=t+(n-t)/2,i=gt(a,r,o)-e,i>0?n=a:t=a}while(Math.abs(i)>1e-7&&++s<10);return a}(t,r,r+xt,e,n)}return e=>0===e||1===e?e:gt(i(e),t,r)}var wt={linear:Ke,easeIn:Ye,easeInOut:$e,easeOut:Xe,circIn:Je,circInOut:et,circOut:Qe,backIn:tt,backInOut:rt,backOut:nt,anticipate:ot,bounceIn:at,bounceInOut:e=>e<.5?.5*(1-it(1-2*e)):.5*it(2*e-1)+.5,bounceOut:it},jt=function(e){if(Array.isArray(e)){e.length;var t=(0,r.CR)(e,4);return bt(t[0],t[1],t[2],t[3])}return"string"===typeof e?("Invalid easing type '".concat(e,"'"),wt[e]):e},Ot=function(e,t){return"zIndex"!==e&&(!("number"!==typeof t&&!Array.isArray(t))||!("string"!==typeof t||!Me.test(t)||t.startsWith("url(")))},_t=function(e){return Array.isArray(e)},St=function(){return{type:"spring",stiffness:500,damping:25,restSpeed:10}},kt=function(e){return{type:"spring",stiffness:550,damping:0===e?2*Math.sqrt(550):30,restSpeed:10}},Ct=function(){return{type:"keyframes",ease:"linear",duration:.3}},Tt=function(e){return{type:"keyframes",duration:.8,values:e}},Et={x:St,y:St,z:St,rotate:St,rotateX:St,rotateY:St,rotateZ:St,scaleX:kt,scaleY:kt,scale:kt,opacity:Ct,backgroundColor:Ct,color:Ct,default:kt};const Pt=new Set(["brightness","contrast","saturate","opacity"]);function At(e){let[t,n]=e.slice(0,-1).split("(");if("drop-shadow"===t)return e;const[r]=n.match($)||[];if(!r)return e;const o=n.replace(r,"");let i=Pt.has(t)?1:0;return r!==n&&(i*=100),t+"("+i+o+")"}const Mt=/([a-z-]*)\(.*?\)/g,Dt=Object.assign(Object.assign({},Me),{getAnimatableNone:e=>{const t=e.match(Mt);return t?t.map(At).join(" "):e}});var Rt=(0,r.pi)((0,r.pi)({},te),{transform:Math.round}),It={borderWidth:he,borderTopWidth:he,borderRightWidth:he,borderBottomWidth:he,borderLeftWidth:he,borderRadius:he,radius:he,borderTopLeftRadius:he,borderTopRightRadius:he,borderBottomRightRadius:he,borderBottomLeftRadius:he,width:he,maxWidth:he,height:he,maxHeight:he,size:he,top:he,right:he,bottom:he,left:he,padding:he,paddingTop:he,paddingRight:he,paddingBottom:he,paddingLeft:he,margin:he,marginTop:he,marginRight:he,marginBottom:he,marginLeft:he,rotate:de,rotateX:de,rotateY:de,rotateZ:de,scale:re,scaleX:re,scaleY:re,scaleZ:re,skew:de,skewX:de,skewY:de,distance:he,translateX:he,translateY:he,translateZ:he,x:he,y:he,z:he,perspective:he,transformPerspective:he,opacity:ne,originX:ve,originY:ve,originZ:he,zIndex:Rt,fillOpacity:ne,strokeOpacity:ne,numOctaves:Rt},Ft=(0,r.pi)((0,r.pi)({},It),{color:Se,backgroundColor:Se,outlineColor:Se,fill:Se,stroke:Se,borderColor:Se,borderTopColor:Se,borderRightColor:Se,borderBottomColor:Se,borderLeftColor:Se,filter:Dt,WebkitFilter:Dt}),Lt=function(e){return Ft[e]};function Nt(e,t){var n,r=Lt(e);return r!==Dt&&(r=Me),null===(n=r.getAnimatableNone)||void 0===n?void 0:n.call(r,t)}var Bt=!1,Vt=function(e){return _t(e)?e[e.length-1]||0:e};function zt(e){var t=e.ease,n=e.times,o=e.yoyo,i=e.flip,a=e.loop,s=(0,r._T)(e,["ease","times","yoyo","flip","loop"]),l=(0,r.pi)({},s);return n&&(l.offset=n),s.duration&&(l.duration=ht(s.duration)),s.repeatDelay&&(l.repeatDelay=ht(s.repeatDelay)),t&&(l.ease=function(e){return Array.isArray(e)&&"number"!==typeof e[0]}(t)?t.map(jt):jt(t)),"tween"===s.type&&(l.type="keyframes"),(o||a||i)&&(!0,o?l.repeatType="reverse":a?l.repeatType="loop":i&&(l.repeatType="mirror"),l.repeat=a||o||i||s.repeat),"spring"!==s.type&&(l.type="keyframes"),l}function Ut(e,t,n){var o;return Array.isArray(t.to)&&(null!==(o=e.duration)&&void 0!==o||(e.duration=.8)),function(e){Array.isArray(e.to)&&null===e.to[0]&&(e.to=(0,r.ev)([],(0,r.CR)(e.to),!1),e.to[0]=e.from)}(t),function(e){e.when,e.delay,e.delayChildren,e.staggerChildren,e.staggerDirection,e.repeat,e.repeatType,e.repeatDelay,e.from;var t=(0,r._T)(e,["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from"]);return!!Object.keys(t).length}(e)||(e=(0,r.pi)((0,r.pi)({},e),function(e,t){var n;return n=_t(t)?Tt:Et[e]||Et.default,(0,r.pi)({to:t},n(t))}(n,t.to))),(0,r.pi)((0,r.pi)({},t),zt(e))}function Gt(e,t,n,o,i){var a,s=Wt(o,e),l=null!==(a=s.from)&&void 0!==a?a:t.get(),c=Ot(e,n);"none"===l&&c&&"string"===typeof n?l=Nt(e,n):Zt(l)&&"string"===typeof n?l=Ht
1(n):!Array.isArray(n)&&Zt(n)&&"string"===typeof l&&(n=Ht(l));var u=Ot(e,l);return"You are trying to animate ".concat(e,' from "').concat(l,'" to "').concat(n,'". ').concat(l," is not an animatable value - to enable this animation set ").concat(l," to a value animatable to ").concat(n," via the `style` property."),u&&c&&!1!==s.type?function(){var o={from:l,to:n,velocity:t.getVelocity(),onComplete:i,onUpdate:function(e){return t.set(e)}};return"inertia"===s.type||"decay"===s.type?function({from:e=0,velocity:t=0,min:n,max:r,power:o=.8,timeConstant:i=750,bounceStiffness:a=500,bounceDamping:s=10,restDelta:l=1,modifyTarget:c,driver:u,onUpdate:d,onComplete:p,onStop:h}){let f;function m(e){return void 0!==n&&e<n||void 0!==r&&e>r}function v(e){return void 0===n?r:void 0===r||Math.abs(n-e)<Math.abs(r-e)?n:r}function g(e){null===f||void 0===f||f.stop(),f=pt(Object.assign(Object.assign({},e),{driver:u,onUpdate:t=>{var n;null===d||void 0===d||d(t),null===(n=e.onUpdate)||void 0===n||n.call(e,t)},onComplete:p,onStop:h}))}function y(e){g(Object.assign({type:"spring",stiffness:a,damping:s,restDelta:l},e))}if(m(e))y({from:e,velocity:t,to:v(e)});else{let r=o*t+e;"undefined"!==typeof c&&(r=c(r));const a=v(r),s=a===n?-1:1;let u,d;const p=e=>{u=d,d=e,t=M(e-u,(0,P.$B)().delta),(1===s&&e>a||-1===s&&e<a)&&y({from:e,to:a,velocity:t})};g({type:"decay",from:e,velocity:t,timeConstant:i,power:o,restDelta:l,modifyTarget:c,onUpdate:m(r)?p:void 0})}return{stop:()=>null===f||void 0===f?void 0:f.stop()}}((0,r.pi)((0,r.pi)({},o),s)):pt((0,r.pi)((0,r.pi)({},Ut(s,o,e)),{onUpdate:function(e){var t;o.onUpdate(e),null===(t=s.onUpdate)||void 0===t||t.call(s,e)},onComplete:function(){var e;o.onComplete(),null===(e=s.onComplete)||void 0===e||e.call(s)}}))}:function(){var e,r,o=Vt(n);return t.set(o),i(),null===(e=null===s||void 0===s?void 0:s.onUpdate)||void 0===e||e.call(s,o),null===(r=null===s||void 0===s?void 0:s.onComplete)||void 0===r||r.call(s),{stop:function(){}}}}function Zt(e){return 0===e||"string"===typeof e&&0===parseFloat(e)&&-1===e.indexOf(" ")}function Ht(e){return"number"===typeof e?0:Nt("",e)}function Wt(e,t){return e[t]||e.default||e}function Kt(e,t,n,r){return void 0===r&&(r={}),Bt&&(r={type:!1}),t.start((function(o){var i,a,s=Gt(e,t,n,r,o),l=function(e,t){var n,r;return null!==(r=null!==(n=(Wt(e,t)||{}).delay)&&void 0!==n?n:e.delay)&&void 0!==r?r:0}(r,e),c=function(){return a=s()};return l?i=window.setTimeout(c,ht(l)):c(),function(){clearTimeout(i),null===a||void 0===a||a.stop()}}))}var Yt=["TopLeft","TopRight","BottomLeft","BottomRight"],qt=Yt.length,Xt=function(e){return"string"===typeof e?parseFloat(e):e},$t=function(e){return"number"===typeof e||he.test(e)};function Jt(e,t){var n;return null!==(n=e[t])&&void 0!==n?n:e.borderRadius}var Qt=tn(0,.5,Qe),en=tn(.5,.95,Ke);function tn(e,t,n){return function(r){return r<e?0:r>t?1:n(Y(e,t,r))}}function nn(e,t){e.min=t.min,e.max=t.max}function rn(e,t){nn(e.x,t.x),nn(e.y,t.y)}function on(e){return void 0===e||1===e}function an(e){var t=e.scale,n=e.scaleX,r=e.scaleY;return!on(t)||!on(n)||!on(r)}function sn(e){return an(e)||ln(e.x)||ln(e.y)||e.z||e.rotate||e.rotateX||e.rotateY}function ln(e){return e&&"0%"!==e}function cn(e,t,n){return n+t*(e-n)}function un(e,t,n,r,o){return void 0!==o&&(e=cn(e,o,r)),cn(e,n,r)+t}function dn(e,t,n,r,o){void 0===t&&(t=0),void 0===n&&(n=1),e.min=un(e.min,t,n,r,o),e.max=un(e.max,t,n,r,o)}function pn(e,t){var n=t.x,r=t.y;dn(e.x,n.translate,n.scale,n.originPoint),dn(e.y,r.translate,r.scale,r.originPoint)}function hn(e,t){e.min=e.min+t,e.max=e.max+t}function fn(e,t,n){var o=(0,r.CR)(n,3),i=o[0],a=o[1],s=o[2],l=void 0!==t[s]?t[s]:.5,c=A(e.min,e.max,l);dn(e,t[i],t[a],c,t.scale)}var mn=["x","scaleX","originX"],vn=["y","scaleY","originY"];function gn(e,t){fn(e.x,t,mn),fn(e.y,t,vn)}const yn=e=>e.hasOwnProperty("x")&&e.hasOwnProperty("y"),xn=e=>yn(e)&&e.hasOwnProperty("z"),bn=(e,t)=>Math.abs(e-t);function wn(e,t){if(De(e)&&De(t))return bn(e,t);if(yn(e)&&yn(t)){const n=bn(e.x,t.x),r=bn(e.y,t.y),o=xn(e)&&xn(t)?bn(e.z,t.z):0;return Math.sqrt(Math.pow(n,2)+Math.pow(r,2)+Math.pow(o,2))}}function jn(e){return e.max-e.min}function On(e,t,n){return void 0===t&&(t=0),void 0===n&&(n=.01),wn(e,t)<n}function _n(e,t,n,r){void 0===r&&(r=.5),e.origin=r,e.originPoint=A(t.min,t.max,e.origin),e.scale=jn(n)/jn(t),(On(e.scale,1,1e-4)||isNaN(e.scale))&&(e.scale=1),e.translate=A(n.min,n.max,e.origin)-e.originPoint,(On(e.translate)||isNaN(e.translate))&&(e.translate=0)}function Sn(e,t,n,r){_n(e.x,t.x,n.x,null===r||void 0===r?void 0:r.originX),_n(e.y,t.y,n.y,null===r||void 0===r?void 0:r.originY)}function kn(e,t,n){e.min=n.min+t.min,e.max=e.min+jn(t)}function Cn(e,t,n){e.min=t.min-n.min,e.max=e.min+jn(t)}
1function Tn(e,t,n){Cn(e.x,t.x,n.x),Cn(e.y,t.y,n.y)}function En(e,t,n,r,o){return e=cn(e-=t,1/n,r),void 0!==o&&(e=cn(e,1/o,r)),e}function Pn(e,t,n,o,i){var a=(0,r.CR)(n,3),s=a[0],l=a[1],c=a[2];!function(e,t,n,r,o,i,a){if(void 0===t&&(t=0),void 0===n&&(n=1),void 0===r&&(r=.5),void 0===i&&(i=e),void 0===a&&(a=e),pe.test(t)&&(t=parseFloat(t),t=A(a.min,a.max,t/100)-a.min),"number"===typeof t){var s=A(i.min,i.max,r);e===i&&(s-=t),e.min=En(e.min,t,n,s,o),e.max=En(e.max,t,n,s,o)}}(e,t[s],t[l],t[c],t.scale,o,i)}var An=["x","scaleX","originX"],Mn=["y","scaleY","originY"];function Dn(e,t,n,r){Pn(e.x,t,An,null===n||void 0===n?void 0:n.x,null===r||void 0===r?void 0:r.x),Pn(e.y,t,Mn,null===n||void 0===n?void 0:n.y,null===r||void 0===r?void 0:r.y)}function Rn(e){return 0===e.translate&&1===e.scale}function In(e){return Rn(e.x)&&Rn(e.y)}function Fn(e,t){return e.x.min===t.x.min&&e.x.max===t.x.max&&e.y.min===t.y.min&&e.y.max===t.y.max}var Ln=function(){function e(){this.members=[]}return e.prototype.add=function(e){D(this.members,e),e.scheduleRender()},e.prototype.remove=function(e){if(R(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){var t=this.members[this.members.length-1];t&&this.promote(t)}},e.prototype.relegate=function(e){var t,n=this.members.findIndex((function(t){return e===t}));if(0===n)return!1;for(var r=n;r>=0;r--){var o=this.members[r];if(!1!==o.isPresent){t=o;break}}return!!t&&(this.promote(t),!0)},e.prototype.promote=function(e,t){var n,r=this.lead;e!==r&&(this.prevLead=r,this.lead=e,e.show(),r&&(r.instance&&r.scheduleRender(),e.scheduleRender(),e.resumeFrom=r,t&&(e.resumeFrom.preserveOpacity=!0),r.snapshot&&(e.snapshot=r.snapshot,e.snapshot.latestValues=r.animationValues||r.latestValues,e.snapshot.isShared=!0),(null===(n=e.root)||void 0===n?void 0:n.isUpdating)&&(e.isLayoutDirty=!0),!1===e.options.crossfade&&r.hide()))},e.prototype.exitAnimationComplete=function(){this.members.forEach((function(e){var t,n,r,o,i;null===(n=(t=e.options).onExitComplete)||void 0===n||n.call(t),null===(i=null===(r=e.resumingFrom)||void 0===r?void 0:(o=r.options).onExitComplete)||void 0===i||i.call(o)}))},e.prototype.scheduleRender=function(){this.members.forEach((function(e){e.instance&&e.scheduleRender(!1)}))},e.prototype.removeLeadSnapshot=function(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)},e}(),Nn={};
1function Bn(e,t,n){var r=e.x.translate/t.x,o=e.y.translate/t.y,i="translate3d(".concat(r,"px, ").concat(o,"px, 0) ");if(i+="scale(".concat(1/t.x,", ").concat(1/t.y,") "),n){var a=n.rotate,s=n.rotateX,l=n.rotateY;a&&(i+="rotate(".concat(a,"deg) ")),s&&(i+="rotateX(".concat(s,"deg) ")),l&&(i+="rotateY(".concat(l,"deg) "))}var c=e.x.scale*t.x,u=e.y.scale*t.y;return"translate3d(0px, 0px, 0) scale(1, 1) scale(1, 1)"===(i+="scale(".concat(c,", ").concat(u,")"))?"none":i}function Vn(e){return[e("x"),e("y")]}var zn=["","X","Y","Z"],Un=["transformPerspective","x","y","z"];function Gn(e,t){return Un.indexOf(e)-Un.indexOf(t)}["translate","scale","rotate","skew"].forEach((function(e){return zn.forEach((function(t){return Un.push(e+t)}))}));var Zn=new Set(Un);function Hn(e){return Zn.has(e)}var Wn=new Set(["originX","originY","originZ"]);function Kn(e){return Wn.has(e)}var Yn=function(e,t){return e.depth-t.depth},qn=function(){function e(){this.children=[],this.isDirty=!1}return e.prototype.add=function(e){D(this.children,e),this.isDirty=!0},e.prototype.remove=function(e){R(this.children,e),this.isDirty=!0},e.prototype.forEach=function(e){this.isDirty&&this.children.sort(Yn),this.isDirty=!1,this.children.forEach(e)},e}();function Xn(e){var t,n=N(e)?e.get():e;return t=n,Boolean(t&&"object"===typeof t&&t.mix&&t.toValue)?n.toValue():n}var $n={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function Jn(e){var t=e.attachResizeListener,n=e.defaultParent,o=e.measureScroll,i=e.checkIsScrollRoot,a=e.resetTransform;return function(){function e(e,t,o){var i=this;void 0===t&&(t={}),void 0===o&&(o=null===n||void 0===n?void 0:n()),this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.potentialNodes=new Map,this.checkUpdateFailed=function(){i.isUpdating&&(i.isUpdating=!1,i.clearAllSnapshots())},this.updateProjection=function(){i.nodes.forEach(ir),i.nodes.forEach(ar)},this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.id=e,this.latestValues=t,this.root=o?o.root||o:this,this.path=o?(0,r.ev)((0,r.ev)([],(0,r.CR)(o.path),!1),[o],!1):[],this.parent=o,this.depth=o?o.depth+1:0,e&&this.root.registerPotentialNode(e,this);for(var a=0;a<this.path.length;a++)this.path[a].shouldResetTransform=!0;this.root===this&&(this.nodes=new qn)}return e.prototype.addEventListener=function(e,t){return this.eventHandlers.has(e)||this.eventHandlers.set(e,new I),this.eventHandlers.get(e).add(t)},e.prototype.notifyListeners=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var o=this.eventHandlers.get(e);null===o||void 0===o||o.notify.apply(o,(0,r.ev)([],(0,r.CR)(t),!1))},e.prototype.hasListeners=function(e){return this.eventHandlers.has(e)},e.prototype.registerPotentialNode=function(e,t){this.potentialNodes.set(e,t)},e.prototype.mount=function(e,n){var o,i=this;if(void 0===n&&(n=!1),!this.instance){this.isSVG=e instanceof SVGElement&&"svg"!==e.tagName,this.instance=e;var a=this.options,s=a.layoutId,l=a.layout,c=a.visualElement;if(c&&!c.getInstance()&&c.mount(e),this.root.nodes.add(this),null===(o=this.parent)||void 0===o||o.children.add(this),this.id&&this.root.potentialNodes.delete(this.id),n&&(l||s)&&(this.isLayoutDirty=!0),t){var u,d=function(){return i.root.updateBlockedByResize=!1};t(e,(function(){i.root.updateBlockedByResize=!0,clearTimeout(u),u=window.setTimeout(d,250),$n.hasAnimatedSinceResize&&($n.hasAnimatedSinceResize=!1,i.nodes.forEach(or))}))}s&&this.root.registerSharedNode(s,this),!1!==this.options.animate&&c&&(s||l)&&this.addEventListener("didUpdate",(function(e){var t,n,o,a,s,l=e.delta,u=e.hasLayoutChanged,d=e.hasRelativeTargetChanged,p=e.layout;if(i.isTreeAnimationBlocked())return i.target=void 0,void(i.relativeTarget=void 0);var h=null!==(n=null!==(t=i.options.transition)&&void 0!==t?t:c.getDefaultTransition())&&void 0!==n?n:pr,f=c.getProps(),m=f.onLayoutAnimationStart,v=f.onLayoutAnimationComplete,g=!i.targetLayout||!Fn(i.targetLayout,p)||d,y=!u&&d;if((null===(o=i.resumeFrom)||void 0===o?void 0:o.instance)||y||u&&(g||!i.currentAnimation)){i.resumeFrom&&(i.resumingFrom=i.resumeFrom,i.resumingFrom.resumingFrom=void 0),i.setAnimationOrigin(l,y);var x=(0,r.pi)((0,r.pi)({},Wt(h,"layout")),{onPlay:m,onComplete:v});c.shouldReduceMotion&&(x.delay=0,x.type=!1),i.startAnimation(x)}else u||0!==i.animationProgress||i.finishAnimation(),i.isLead()&&(null===(s=(a=i.options).onExitComplete)||void 0===s||s.call(a));i.targetLayout=p}))}},e.prototype.unmount=function(){var e,t;this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this),null===(e=this.getStack())||void 0===e||e.remove(this),null===(t=this.parent)||void 0===t||t.children.delete(this),this.instance=void 0,P.qY.preRender(this.updateProjection)},e.prototype.blockUpdate=function(){this.updateManuallyBlocked=!0},e.prototype.unblockUpdate=function(){this.updateManuallyBlocked=!1},e.prototype.isUpdateBlocked=function(){return this.updateManuallyBlocked||this.updateBlockedByResize},e.prototype.isTreeAnimationBlocked=function(){var e;return this.isAnimationBlocked||(null===(e=this.parent)||void 0===e?void 0:e.isTreeAnimationBlocked())||!1}
1,e.prototype.startUpdate=function(){var e;this.isUpdateBlocked()||(this.isUpdating=!0,null===(e=this.nodes)||void 0===e||e.forEach(sr))},e.prototype.willUpdate=function(e){var t,n,r;if(void 0===e&&(e=!0),this.root.isUpdateBlocked())null===(n=(t=this.options).onExitComplete)||void 0===n||n.call(t);else if(!this.root.isUpdating&&this.root.startUpdate(),!this.isLayoutDirty){this.isLayoutDirty=!0;for(var o=0;o<this.path.length;o++){var i=this.path[o];i.shouldResetTransform=!0,i.updateScroll()}var a=this.options,s=a.layoutId,l=a.layout;if(void 0!==s||l){var c=null===(r=this.options.visualElement)||void 0===r?void 0:r.getProps().transformTemplate;this.prevTransformTemplateValue=null===c||void 0===c?void 0:c(this.latestValues,""),this.updateSnapshot(),e&&this.notifyListeners("willUpdate")}}},e.prototype.didUpdate=function(){if(this.isUpdateBlocked())return this.unblockUpdate(),this.clearAllSnapshots(),void this.nodes.forEach(nr);this.isUpdating&&(this.isUpdating=!1,this.potentialNodes.size&&(this.potentialNodes.forEach(hr),this.potentialNodes.clear()),this.nodes.forEach(rr),this.nodes.forEach(Qn),this.nodes.forEach(er),this.clearAllSnapshots(),P.iW.update(),P.iW.preRender(),P.iW.render())},e.prototype.clearAllSnapshots=function(){this.nodes.forEach(tr),this.sharedNodes.forEach(lr)},e.prototype.scheduleUpdateProjection=function(){P.ZP.preRender(this.updateProjection,!1,!0)},e.prototype.scheduleCheckAfterUnmount=function(){var e=this;P.ZP.postRender((function(){e.isLayoutDirty?e.root.didUpdate():e.root.checkUpdateFailed()}))},e.prototype.updateSnapshot=function(){if(!this.snapshot&&this.instance){var e=this.measure(),t=this.removeTransform(this.removeElementScroll(e));mr(t),this.snapshot={measured:e,layout:t,latestValues:{}}}},e.prototype.updateLayout=function(){var e;if(this.instance&&(this.updateScroll(),this.options.alwaysMeasureLayout&&this.isLead()||this.isLayoutDirty)){if(this.resumeFrom&&!this.resumeFrom.instance)for(var t=0;t<this.path.length;t++){this.path[t].updateScroll()}var n=this.measure();mr(n);var r=this.layout;this.layout={measured:n,actual:this.removeElementScroll(n)},this.layoutCorrected={x:{min:0,max:0},y:{min:0,max:0}},this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.actual),null===(e=this.options.visualElement)||void 0===e||e.notifyLayoutMeasure(this.layout.actual,null===r||void 0===r?void 0:r.actual)}},e.prototype.updateScroll=function(){this.options.layoutScroll&&this.instance&&(this.isScrollRoot=i(this.instance),this.scroll=o(this.instance))},e.prototype.resetTransform=function(){var e;if(a){var t=this.isLayoutDirty||this.shouldResetTransform,n=this.projectionDelta&&!In(this.projectionDelta),r=null===(e=this.options.visualElement)||void 0===e?void 0:e.getProps().transformTemplate,o=null===r||void 0===r?void 0:r(this.latestValues,""),i=o!==this.prevTransformTemplateValue;t&&(n||sn(this.latestValues)||i)&&(a(this.instance,o),this.shouldResetTransform=!1,this.scheduleRender())}},e.prototype.measure=function(){var e=this.options.visualElement;if(!e)return{x:{min:0,max:0},y:{min:0,max:0}};var t=e.measureViewportBox(),n=this.root.scroll;return n&&(hn(t.x,n.x),hn(t.y,n.y)),t},e.prototype.removeElementScroll=function(e){var t={x:{min:0,max:0},y:{min:0,max:0}};rn(t,e);for(var n=0;n<this.path.length;n++){var r=this.path[n],o=r.scroll,i=r.options,a=r.isScrollRoot;if(r!==this.root&&o&&i.layoutScroll){if(a){rn(t,e);var s=this.root.scroll;s&&(hn(t.x,-s.x),hn(t.y,-s.y))}hn(t.x,o.x),hn(t.y,o.y)}}return t},e.prototype.applyTransform=function(e,t){void 0===t&&(t=!1);var n={x:{min:0,max:0},y:{min:0,max:0}};rn(n,e);for(var r=0;r<this.path.length;r++){var o=this.path[r];!t&&o.options.layoutScroll&&o.scroll&&o!==o.root&&gn(n,{x:-o.scroll.x,y:-o.scroll.y}),sn(o.latestValues)&&gn(n,o.latestValues)}return sn(this.latestValues)&&gn(n,this.latestValues),n},e.prototype.removeTransform=function(e){var t,n={x:{min:0,max:0},y:{min:0,max:0}};rn(n,e);for(var r=0;r<this.path.length;r++){var o=this.path[r];if(o.instance&&sn(o.latestValues)){an(o.latestValues)&&o.updateSnapshot();var i={x:{min:0,max:0},y:{min:0,max:0}};rn(i,o.measure()),Dn(n,o.latestValues,null===(t=o.snapshot)||void 0===t?void 0:t.layout,i)}}return sn(this.latestValues)&&Dn(n,this.latestValues),n},e.prototype.setTargetDelta=function(e){this.targetDelta=e,this.root.scheduleUpdateProjection()},e.prototype.setOptions=function(e){var t;this.options=(0,r.pi)((0,r.pi)((0,r.pi)({},this.options),e),{crossfade:null===(t=e.crossfade)||void 0===t||t})},e.prototype.clearMeasurements=function(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1},e.prototype.resolveTargetDelta=function(){var e,t,n,r,o=this.options,i=o.layout,a=o.layoutId;this.layout&&(i||a)&&(this.targetDelta||this.relativeTarget||(this.relativeParent=this.getClosestProjectingParent(),this.relativeParent&&this.relativeParent.layout&&(this.relativeTarget={x:{min:0,max:0},y:{min:0,max:0}},this.relativeTargetOrigin={x:{min:0,max:0},y:{min:0,max:0}},Tn(this.relativeTargetOrigin,this.layout.actual,this.relativeParent.layout.actual),rn(this.relativeTarget,this.relativeTargetOrigin))),(this.relativeTarget||this.targetDelta)&&(this.target||(this.target={x:{min:0,max:0},y:{min:0,max:0}},this.targetWithTransforms={x:{min:0,max:0},y:{min:0,max:0}}),this.relativeTarget&&this.relativeTargetOrigin&&(null===(e=this.relativeParent)||void 0===e?void 0:e.target)?(t=this.target,n=this.relativeTarget,r=this.relativeParent.target,kn(t.x,n.x,r.x),kn(t.y,n.y,r.y)):this.targetDelta?(Boolean(this.resumingFrom)?this.target=this.applyTransform(this.layout.actual):rn(this.target,this.layout.actual),pn(this.target,this.targetDelta)):rn(this.target,this.layout.actual),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,this.relativeParent=this.getClosestProjectingParent(),this.relativeParent&&Boolean(this.relativeParent.resumingFrom)===Boolean(this.resumingFrom)&&!this.relativeParent.options.layoutScroll&&this.relativeParent.target&&(this.relativeTarget={x:{min:0,max:0},y:{min:0,max:0}},this.relativeTargetOrigin={x:{min:0,max:0},y:{min:0,max:0}},Tn(this.relativeTargetOrigin,this.target,this.relativeParent.target),rn(this.relativeTarget,this.relativeTargetOrigin)))))},e.prototype.getClosestProjectingParent=function(){if(this.parent&&!sn(this.parent.latestValues))return(this.parent.relativeTarget||this.parent.targetDelta)&&this.parent.layout?this.parent:this.parent.getClosestProjectingParent()},e.prototype.calcProjection=function(){var e,t=this.options,n=t.layout,r=t.layoutId;if(this.isTreeAnimating=Boolean((null===(e=this.parent)||void 0===e?void 0:e.isTreeAnimating)||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),this.layout&&(n||r)){var o=this.getLead();rn(this.layoutCorrected,this.layout.actual),function(e,t,n,r){var o,i;void 0===r&&(r=!1);var a=n.length;if(a){var s,l;t.x=t.y=1;for(var c=0;c<a;c++)l=(s=n[c]).projectionDelta,"contents"!==(null===(i=null===(o=s.instance)||void 0===o?void 0:o.style)||void 0===i?void 0:i.display)&&(r&&s.options.layoutScroll&&s.scroll&&s!==s.root&&gn(e,{x:-s.scroll.x,y:-s.scroll.y}),l&&(t.x*=l.x.scale,t.y*=l.y.scale,pn(e,l)),r&&sn(s.latestValues)&&gn(e,s.latestValues))}}(this.layoutCorrected,this.treeScale,this.path,Boolean(this.resumingFrom)||this!==o);var i=o.target;if(i){this.projectionDelta||(this.projectionDelta={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}},this.projectionDeltaWithTransform={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}});var a=this.treeScale.x,s=this.treeScale.y,l=this.projectionTransform;Sn(this.projectionDelta,this.layoutCorrected,i,this.latestValues),this.projectionTransform=Bn(this.projectionDelta,this.treeScale),this.projectionTransform===l&&this.treeScale.x===a&&this.treeScale.y===s||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",i))}}},e.prototype.hide=function(){this.isVisible=!1},e.prototype.show=function(){this.isVisible=!0},e.prototype.scheduleRender=function(e){var t,n,r;void 0===e&&(e=!0),null===(n=(t=this.options).scheduleRender)||void 0===n||n.call(t),e&&(null===(r=this.getStack())||void 0===r||r.scheduleRender()),this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)},e.prototype.setAnimationOrigin=function(e,t){var n,o=this;void 0===t&&(t=!1);var i=this.snapshot,a=(null===i||void 0===i?void 0:i.latestValues)||{},s=(0,r.pi)({},this.latestValues),l={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};this.relativeTarget=this.relativeTargetOrigin=void 0,this.attemptToResolveRelativeTarget=!t;var c={x:{min:0,max:0},y:{min:0,max:0}}
1,u=null===i||void 0===i?void 0:i.isShared,d=((null===(n=this.getStack())||void 0===n?void 0:n.members.length)||0)<=1,p=Boolean(u&&!d&&!0===this.options.crossfade&&!this.path.some(dr));this.animationProgress=0,this.mixTargetDelta=function(t){var n,r,i,h,f,m=t/1e3;cr(l.x,e.x,m),cr(l.y,e.y,m),o.setTargetDelta(l),o.relativeTarget&&o.relativeTargetOrigin&&o.layout&&(null===(n=o.relativeParent)||void 0===n?void 0:n.layout)&&(Tn(c,o.layout.actual,o.relativeParent.layout.actual),r=o.relativeTarget,i=o.relativeTargetOrigin,h=c,f=m,ur(r.x,i.x,h.x,f),ur(r.y,i.y,h.y,f)),u&&(o.animationValues=s,function(e,t,n,r,o,i){var a,s,l,c;o?(e.opacity=A(0,null!==(a=n.opacity)&&void 0!==a?a:1,Qt(r)),e.opacityExit=A(null!==(s=t.opacity)&&void 0!==s?s:1,0,en(r))):i&&(e.opacity=A(null!==(l=t.opacity)&&void 0!==l?l:1,null!==(c=n.opacity)&&void 0!==c?c:1,r));for(var u=0;u<qt;u++){var d="border".concat(Yt[u],"Radius"),p=Jt(t,d),h=Jt(n,d);void 0===p&&void 0===h||(p||(p=0),h||(h=0),0===p||0===h||$t(p)===$t(h)?(e[d]=Math.max(A(Xt(p),Xt(h),r),0),(pe.test(h)||pe.test(p))&&(e[d]+="%")):e[d]=h)}(t.rotate||n.rotate)&&(e.rotate=A(t.rotate||0,n.rotate||0,r))}(s,a,o.latestValues,m,p,d)),o.root.scheduleUpdateProjection(),o.scheduleRender(),o.animationProgress=m},this.mixTargetDelta(0)},e.prototype.startAnimation=function(e){var t,n,o=this;this.notifyListeners("animationStart"),null===(t=this.currentAnimation)||void 0===t||t.stop(),this.resumingFrom&&(null===(n=this.resumingFrom.currentAnimation)||void 0===n||n.stop()),this.pendingAnimation&&(P.qY.update(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=P.ZP.update((function(){$n.hasAnimatedSinceResize=!0,o.currentAnimation=function(e,t,n){void 0===n&&(n={});var r=N(e)?e:L(e);return Kt("",r,t,n),{stop:function(){return r.stop()},isAnimating:function(){return r.isAnimating()}}}(0,1e3,(0,r.pi)((0,r.pi)({},e),{onUpdate:function(t){var n;o.mixTargetDelta(t),null===(n=e.onUpdate)||void 0===n||n.call(e,t)},onComplete:function(){var t;null===(t=e.onComplete)||void 0===t||t.call(e),o.completeAnimation()}})),o.resumingFrom&&(o.resumingFrom.currentAnimation=o.currentAnimation),o.pendingAnimation=void 0}))},e.prototype.completeAnimation=function(){var e;this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0),null===(e=this.getStack())||void 0===e||e.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")},e.prototype.finishAnimation=function(){var e;this.currentAnimation&&(null===(e=this.mixTargetDelta)||void 0===e||e.call(this,1e3),this.currentAnimation.stop()),this.completeAnimation()},e.prototype.applyTransformsToTarget=function(){var e=this.getLead(),t=e.targetWithTransforms,n=e.target,r=e.layout,o=e.latestValues;t&&n&&r&&(rn(t,n),gn(t,o),Sn(this.projectionDeltaWithTransform,this.layoutCorrected,t,o))},e.prototype.registerSharedNode=function(e,t){var n,r,o;this.sharedNodes.has(e)||this.sharedNodes.set(e,new Ln),this.sharedNodes.get(e).add(t),t.promote({transition:null===(n=t.options.initialPromotionConfig)||void 0===n?void 0:n.transition,preserveFollowOpacity:null===(o=null===(r=t.options.initialPromotionConfig)||void 0===r?void 0:r.shouldPreserveFollowOpacity)||void 0===o?void 0:o.call(r,t)})},e.prototype.isLead=function(){var e=this.getStack();return!e||e.lead===this},e.prototype.getLead=function(){var e;return this.options.layoutId&&(null===(e=this.getStack())||void 0===e?void 0:e.lead)||this},e.prototype.getPrevLead=function(){var e;return this.options.layoutId?null===(e=this.getStack())||void 0===e?void 0:e.prevLead:void 0},e.prototype.getStack=function(){var e=this.options.layoutId;if(e)return this.root.sharedNodes.get(e)},e.prototype.promote=function(e){var t=void 0===e?{}:e,n=t.needsReset,r=t.transition,o=t.preserveFollowOpacity,i=this.getStack();i&&i.promote(this,o),n&&(this.projectionDelta=void 0,this.needsReset=!0),r&&this.setOptions({transition:r})},e.prototype.relegate=function(){var e=this.getStack();return!!e&&e.relegate(this)},e.prototype.resetRotation=function(){var e=this.options.visualElement;if(e){for(var t=!1,n={},r=0;r<zn.length;r++){var o="rotate"+zn[r];e.getStaticValue(o)&&(t=!0,n[o]=e.getStaticValue(o),e.setStaticValue(o,0))}if(t){for(var o in null===e||void 0===e||e.syncRender(),n)e.setStaticValue(o,n[o]);e.scheduleRender()}}},e.prototype.getProjectionStyles=function(e){var t,n,r,o,i,a;void 0===e&&(e={});var s={};if(!this.instance||this.isSVG)return s;if(!this.isVisible)return{visibility:"hidden"};s.visibility="";var l=null===(t=this.options.visualElement)||void 0===t?void 0:t.getProps().transformTemplate;if(this.needsReset)return this.needsReset=!1,s.opacity="",s.pointerEvents=Xn(e.pointerEvents)||"",s.transform=l?l(this.latestValues,""):"none",s;var c=this.getLead();if(!this.projectionDelta||!this.layout||!c.target){var u={};return this.options.layoutId&&(u.opacity=null!==(n=this.latestValues.opacity)&&void 0!==n?n:1,u.pointerEvents=Xn(e.pointerEvents)||""),this.hasProjected&&!sn(this.latestValues)&&(u.transform=l?l({},""):"none",this.hasProjected=!1),u}var d=c.animationValues||c.latestValues;this.applyTransformsToTarget(),s.transform=Bn(this.projectionDeltaWithTransform,this.treeScale,d),l&&(s.transform=l(d,s.transform));var p=this.projectionDelta,h=p.x,f=p.y;for(var m in s.transformOrigin="".concat(100*h.origin,"% ").concat(100*f.origin,"% 0"),c.animationValues?s.opacity=c===this?null!==(o=null!==(r=d.opacity)&&void 0!==r?r:this.latestValues.opacity)&&void 0!==o?o:1:this.preserveOpacity?this.latestValues.opacity:d.opacityExit:s.opacity=c===this?null!==(i=d.opacity)&&void 0!==i?i:"":null!==(a=d.opacityExit)&&void 0!==a?a:0,Nn)if(void 0!==d[m]){var v=Nn[m],g=v.correct,y=v.applyTo,x=g(d[m],c);if(y)for(var b=y.length,w=0;w<b;w++)s[y[w]]=x;else s[m]=x}return this.options.layoutId&&(s.pointerEvents=c===this?Xn(e.pointerEvents)||"":"none"),s},e.prototype.clearSnapshot=function(){this.resumeFrom=this.snapshot=void 0}
1,e.prototype.resetTree=function(){this.root.nodes.forEach((function(e){var t;return null===(t=e.currentAnimation)||void 0===t?void 0:t.stop()})),this.root.nodes.forEach(nr),this.root.sharedNodes.clear()},e}()}function Qn(e){e.updateLayout()}function er(e){var t,n,r,o,i=null!==(n=null===(t=e.resumeFrom)||void 0===t?void 0:t.snapshot)&&void 0!==n?n:e.snapshot;if(e.isLead()&&e.layout&&i&&e.hasListeners("didUpdate")){var a=e.layout,s=a.actual,l=a.measured;"size"===e.options.animationType?Vn((function(e){var t=i.isShared?i.measured[e]:i.layout[e],n=jn(t);t.min=s[e].min,t.max=t.min+n})):"position"===e.options.animationType&&Vn((function(e){var t=i.isShared?i.measured[e]:i.layout[e],n=jn(s[e]);t.max=t.min+n}));var c={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};Sn(c,s,i.layout);var u={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};i.isShared?Sn(u,e.applyTransform(l,!0),i.measured):Sn(u,s,i.layout);var d=!In(c),p=!1;if(!e.resumeFrom&&(e.relativeParent=e.getClosestProjectingParent(),e.relativeParent&&!e.relativeParent.resumeFrom)){var h=e.relativeParent,f=h.snapshot,m=h.layout;if(f&&m){var v={x:{min:0,max:0},y:{min:0,max:0}};Tn(v,i.layout,f.layout);var g={x:{min:0,max:0},y:{min:0,max:0}};Tn(g,s,m.actual),Fn(v,g)||(p=!0)}}e.notifyListeners("didUpdate",{layout:s,snapshot:i,delta:u,layoutDelta:c,hasLayoutChanged:d,hasRelativeTargetChanged:p})}else e.isLead()&&(null===(o=(r=e.options).onExitComplete)||void 0===o||o.call(r));e.options.transition=void 0}function tr(e){e.clearSnapshot()}function nr(e){e.clearMeasurements()}function rr(e){var t=e.options.visualElement;(null===t||void 0===t?void 0:t.getProps().onBeforeLayoutMeasure)&&t.notifyBeforeLayoutMeasure(),e.resetTransform()}function or(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0}function ir(e){e.resolveTargetDelta()}function ar(e){e.calcProjection()}function sr(e){e.resetRotation()}function lr(e){e.removeLeadSnapshot()}function cr(e,t,n){e.translate=A(t.translate,0,n),e.scale=A(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function ur(e,t,n,r){e.min=A(t.min,n.min,r),e.max=A(t.max,n.max,r)}function dr(e){return e.animationValues&&void 0!==e.animationValues.opacityExit}var pr={duration:.45,ease:[.4,0,.1,1]};function hr(e,t){for(var n=e.root,r=e.path.length-1;r>=0;r--)if(Boolean(e.path[r].instance)){n=e.path[r];break}var o=(n&&n!==e.root?n.instance:document).querySelector('[data-projection-id="'.concat(t,'"]'));o&&e.mount(o,!0)}function fr(e){e.min=Math.round(e.min),e.max=Math.round(e.max)}function mr(e){fr(e.x),fr(e.y)}var vr=1;var gr=n(6179),yr=(0,o.createContext)({});var xr=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,r.ZT)(t,e),t.prototype.getSnapshotBeforeUpdate=function(){return this.updateProps(),null},t.prototype.componentDidUpdate=function(){},t.prototype.updateProps=function(){var e=this.props,t=e.visualElement,n=e.props;t&&t.setProps(n)},t.prototype.render=function(){return this.props.children},t}(o.Component);function br(e){var t=e.preloadedFeatures,n=e.createVisualElement,a=e.projectionNodeConstructor,h=e.useRender,f=e.useVisualState,v=e.Component;return t&&function(e){for(var t in e)null!==e[t]&&("projectionNodeConstructor"===t?s.projectionNodeConstructor=e[t]:s[t].Component=e[t])}(t),(0,o.forwardRef)((function(e,g){var y=function(e){var t,n=e.layoutId,r=null===(t=(0,o.useContext)(gr.p))||void 0===t?void 0:t.id;return r&&void 0!==n?r+"-"+n:n}(e);e=(0,r.pi)((0,r.pi)({},e),{layoutId:y});var w=(0,o.useContext)(d),j=null,O=C(e),_=w.isStatic?void 0:(0,E.h)((function(){if($n.hasEverUpdated)return vr++})),S=f(e,w.isStatic);return!w.isStatic&&m.j&&(O.visualElement=x(v,S,(0,r.pi)((0,r.pi)({},w),e),n),function(e,t,n,r){var i,a=t.layoutId,s=t.layout,l=t.drag,c=t.dragConstraints,u=t.layoutScroll,d=(0,o.useContext)(yr);r&&n&&!(null===n||void 0===n?void 0:n.projection)&&(n.projection=new r(e,n.getLatestValues(),null===(i=n.parent)||void 0===i?void 0:i.projection),n.projection.setOptions({layoutId:a,layout:s,alwaysMeasureLayout:Boolean(l)||c&&b(c),visualElement:n,scheduleRender:function(){return n.scheduleRender()},animationType:"string"===typeof s?s:"both",initialPromotionConfig:d,layoutScroll:u}))}(_,e,O.visualElement,a||s.projectionNodeConstructor),j=function(e,t,n){var a=[],d=(0,o.useContext)(l);if(!t)return null;"production"!==i.O&&n&&d.strict;for(var p=0;p<u;p++){var h=c[p],f=s[h],m=f.isEnabled,v=f.Component;m(e)&&v&&a.push(o.createElement(v,(0,r.pi)({key:h},e,{visualElement:t})))}return a}(e,O.visualElement,t)),o.createElement(xr,{visualElement:O.visualElement,props:(0,r.pi)((0,r.pi)({},w),e)},j,o.createElement(p.Provider,{value:O},h(v,e,_,function(e,t,n){return(0,o.useCallback)((function(r){var o;r&&(null===(o=e.mount)||void 0===o||o.call(e,r)),t&&(r?t.mount(r):t.unmount()),n&&("function"===typeof n?n(r):b(n)&&(n.current=r))}),[t])}(S,O.visualElement,g),S,w.isStatic,O.visualElement)))}))}function wr(e){function t(t,n){return void 0===n&&(n={}),br(e(t,n))}if("undefined"===typeof Proxy)return t;var n=new Map;return new Proxy(t,{get:function(e,r){return n.has(r)||n.set(r,t(r)),n.get(r)}})}var jr=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","svg","switch","symbol","text","tspan","use","view"];function Or(e){return"string"===typeof e&&!e.includes("-")&&!!(jr.indexOf(e)>-1||/[A-Z]/.test(e))}function _r(e,t){var n=t.layout,r=t.layoutId;return Hn(e)||Kn(e)||(n||void 0!==r)&&(!!Nn[e]||"opacity"===e)}var Sr={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"};function kr(e){return e.startsWith("--")}var Cr=function(e,t){return t&&"number"===typeof e?t.transform(e):e};function Tr(e,t,n,r){var o,i=e.style,a=e.vars,s=e.transform,l=e.transformKeys,c=e.transformOrigin;l.length=0;var u=!1,d=!1,p=!0;for(var h in t){var f=t[h];if(kr(h))a[h]=f;else{var m=It[h],v=Cr(f,m);
1if(Hn(h)){if(u=!0,s[h]=v,l.push(h),!p)continue;f!==(null!==(o=m.default)&&void 0!==o?o:0)&&(p=!1)}else Kn(h)?(c[h]=v,d=!0):i[h]=v}}u?i.transform=function(e,t,n,r){var o=e.transform,i=e.transformKeys,a=t.enableHardwareAcceleration,s=void 0===a||a,l=t.allowTransformNone,c=void 0===l||l,u="";i.sort(Gn);for(var d=!1,p=i.length,h=0;h<p;h++){var f=i[h];u+="".concat(Sr[f]||f,"(").concat(o[f],") "),"z"===f&&(d=!0)}return!d&&s?u+="translateZ(0)":u=u.trim(),r?u=r(o,n?"":u):c&&n&&(u="none"),u}(e,n,p,r):r?i.transform=r({},""):!t.transform&&i.transform&&(i.transform="none"),d&&(i.transformOrigin=function(e){var t=e.originX,n=void 0===t?"50%":t,r=e.originY,o=void 0===r?"50%":r,i=e.originZ,a=void 0===i?0:i;return"".concat(n," ").concat(o," ").concat(a)}(c))}var Er=function(){return{style:{},transform:{},transformKeys:[],transformOrigin:{},vars:{}}};function Pr(e,t,n){for(var r in t)N(t[r])||_r(r,n)||(e[r]=t[r])}function Ar(e,t,n){var i={};return Pr(i,e.style||{},e),Object.assign(i,function(e,t,n){var i=e.transformTemplate;return(0,o.useMemo)((function(){var e={style:{},transform:{},transformKeys:[],transformOrigin:{},vars:{}};Tr(e,t,{enableHardwareAcceleration:!n},i);var o=e.vars,a=e.style;return(0,r.pi)((0,r.pi)({},o),a)}),[t])}(e,t,n)),e.transformValues&&(i=e.transformValues(i)),i}function Mr(e,t,n){var r={},o=Ar(e,t,n);return Boolean(e.drag)&&!1!==e.dragListener&&(r.draggable=!1,o.userSelect=o.WebkitUserSelect=o.WebkitTouchCallout="none",o.touchAction=!0===e.drag?"none":"pan-".concat("x"===e.drag?"y":"x")),r.style=o,r}var Dr=new Set(["initial","animate","exit","style","variants","transition","transformTemplate","transformValues","custom","inherit","layout","layoutId","layoutDependency","onLayoutAnimationStart","onLayoutAnimationComplete","onLayoutMeasure","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","drag","dragControls","dragListener","dragConstraints","dragDirectionLock","dragSnapToOrigin","_dragX","_dragY","dragElastic","dragMomentum","dragPropagation","dragTransition","whileDrag","onPan","onPanStart","onPanEnd","onPanSessionStart","onTap","onTapStart","onTapCancel","onHoverStart","onHoverEnd","whileFocus","whileTap","whileHover","whileInView","onViewportEnter","onViewportLeave","viewport","layoutScroll"]);function Rr(e){return Dr.has(e)}var Ir,Fr=function(e){return!Rr(e)};try{(Ir=n(4465).Z)&&(Fr=function(e){return e.startsWith("on")?!Rr(e):Ir(e)})}catch(sa){}function Lr(e,t,n){return"string"===typeof e?e:he.transform(t+n*e)}var Nr={offset:"stroke-dashoffset",array:"stroke-dasharray"},Br={offset:"strokeDashoffset",array:"strokeDasharray"};function Vr(e,t,n,o){var i=t.attrX,a=t.attrY,s=t.originX,l=t.originY,c=t.pathLength,u=t.pathSpacing,d=void 0===u?1:u,p=t.pathOffset,h=void 0===p?0:p;Tr(e,(0,r._T)(t,["attrX","attrY","originX","originY","pathLength","pathSpacing","pathOffset"]),n,o),e.attrs=e.style,e.style={};var f=e.attrs,m=e.style,v=e.dimensions;f.transform&&(v&&(m.transform=f.transform),delete f.transform),v&&(void 0!==s||void 0!==l||m.transform)&&(m.transformOrigin=function(e,t,n){var r=Lr(t,e.x,e.width),o=Lr(n,e.y,e.height);return"".concat(r," ").concat(o)}(v,void 0!==s?s:.5,void 0!==l?l:.5)),void 0!==i&&(f.x=i),void 0!==a&&(f.y=a),void 0!==c&&function(e,t,n,r,o){void 0===n&&(n=1),void 0===r&&(r=0),void 0===o&&(o=!0),e.pathLength=1;var i=o?Nr:Br;e[i.offset]=he.transform(-r);var a=he.transform(t),s=he.transform(n);e[i.array]="".concat(a," ").concat(s)}(f,c,d,h,!1)}var zr=function(){return(0,r.pi)((0,r.pi)({},{style:{},transform:{},transformKeys:[],transformOrigin:{},vars:{}}),{attrs:{}})};function Ur(e,t){var n=(0,o.useMemo)((function(){var n=zr();return Vr(n,t,{enableHardwareAcceleration:!1},e.transformTemplate),(0,r.pi)((0,r.pi)({},n.attrs),{style:(0,r.pi)({},n.style)})}),[t]);if(e.style){var i={};Pr(i,e.style,e),n.style=(0,r.pi)((0,r.pi)({},i),n.style)}return n}function Gr(e){void 0===e&&(e=!1);return function(t,n,i,a,s,l){var c=s.latestValues,u=(Or(t)?Ur:Mr)(n,c,l),d=function(e,t,n){var r={};for(var o in e)(Fr(o)||!0===n&&Rr(o)||!t&&!Rr(o)||e.draggable&&o.startsWith("onDrag"))&&(r[o]=e[o]);return r}(n,"string"===typeof t,e),p=(0,r.pi)((0,r.pi)((0,r.pi)({},d),u),{ref:a});return i&&(p["data-projection-id"]=i),(0,o.createElement)(t,p)}}var Zr=/([a-z])([A-Z])/g,Hr=function(e){return e.replace(Zr,"$1-$2").toLowerCase()};function Wr(e,t,n,r){var o=t.style,i=t.vars;for(var a in Object.assign(e.style,o,r&&r.getProjectionStyles(n)),i)e.style.setProperty(a,i[a])}var Kr=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength"]);function Yr(e,t,n,r){for(var o in Wr(e,t,void 0,r),t.attrs)e.setAttribute(Kr.has(o)?o:Hr(o),t.attrs[o])}function qr(e){var t=e.style,n={};for(var r in t)(N(t[r])||_r(r,e))&&(n[r]=t[r]);return n}function Xr(e){var t=qr(e);for(var n in e){if(N(e[n]))t["x"===n||"y"===n?"attr"+n.toUpperCase():n]=e[n]}return t}function $r(e){return"object"===typeof e&&"function"===typeof e.start}function Jr(e,t,n,r){var o=e.scrapeMotionValuesFromProps,i=e.createRenderState,a=e.onMount,s={latestValues:eo(t,n,r,o),renderState:i()};return a&&(s.mount=function(e){return a(t,e,s)}),s}var Qr=function(e){return function(t,n){var r=(0,o.useContext)(p),i=(0,o.useContext)(h.O);
1return n?Jr(e,t,r,i):(0,E.h)((function(){return Jr(e,t,r,i)}))}};function eo(e,t,n,o){var i={},a=!1===(null===n||void 0===n?void 0:n.initial),s=o(e);for(var l in s)i[l]=Xn(s[l]);var c=e.initial,u=e.animate,d=S(e),p=k(e);t&&p&&!d&&!1!==e.inherit&&(null!==c&&void 0!==c||(c=t.initial),null!==u&&void 0!==u||(u=t.animate));var h=a||!1===c,f=h?u:c;f&&"boolean"!==typeof f&&!$r(f)&&(Array.isArray(f)?f:[f]).forEach((function(t){var n=O(e,t);if(n){var o=n.transitionEnd;n.transition;var a=(0,r._T)(n,["transitionEnd","transition"]);for(var s in a){var l=a[s];if(Array.isArray(l))l=l[h?l.length-1:0];null!==l&&(i[s]=l)}for(var s in o)i[s]=o[s]}}));return i}var to,no={useVisualState:Qr({scrapeMotionValuesFromProps:Xr,createRenderState:zr,onMount:function(e,t,n){var r=n.renderState,o=n.latestValues;try{r.dimensions="function"===typeof t.getBBox?t.getBBox():t.getBoundingClientRect()}catch(i){r.dimensions={x:0,y:0,width:0,height:0}}Vr(r,o,{enableHardwareAcceleration:!1},e.transformTemplate),Yr(t,r)}})},ro={useVisualState:Qr({scrapeMotionValuesFromProps:qr,createRenderState:Er})};function oo(e,t,n,r){return void 0===r&&(r={passive:!0}),e.addEventListener(t,n,r),function(){return e.removeEventListener(t,n)}}function io(e,t,n,r){(0,o.useEffect)((function(){var o=e.current;if(n&&o)return oo(o,t,n,r)}),[e,t,n,r])}function ao(e){return"undefined"!==typeof PointerEvent&&e instanceof PointerEvent?!("mouse"!==e.pointerType):e instanceof MouseEvent}function so(e){return!!e.touches}!function(e){e.Animate="animate",e.Hover="whileHover",e.Tap="whileTap",e.Drag="whileDrag",e.Focus="whileFocus",e.InView="whileInView",e.Exit="exit"}(to||(to={}));var lo={pageX:0,pageY:0};function co(e,t){void 0===t&&(t="page");var n=e.touches[0]||e.changedTouches[0]||lo;return{x:n[t+"X"],y:n[t+"Y"]}}function uo(e,t){return void 0===t&&(t="page"),{x:e[t+"X"],y:e[t+"Y"]}}function po(e,t){return void 0===t&&(t="page"),{point:so(e)?co(e,t):uo(e,t)}}var ho=function(e,t){void 0===t&&(t=!1);var n,r=function(t){return e(t,po(t))};return t?(n=r,function(e){var t=e instanceof MouseEvent;(!t||t&&0===e.button)&&n(e)}):r},fo={pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointercancel:"mousecancel",pointerover:"mouseover",pointerout:"mouseout",pointerenter:"mouseenter",pointerleave:"mouseleave"},mo={pointerdown:"touchstart",pointermove:"touchmove",pointerup:"touchend",pointercancel:"touchcancel"};function vo(e){return m.j&&null===window.onpointerdown?e:m.j&&null===window.ontouchstart?mo[e]:m.j&&null===window.onmousedown?fo[e]:e}function go(e,t,n,r){return oo(e,vo(t),ho(n,"pointerdown"===t),r)}function yo(e,t,n,r){return io(e,vo(t),n&&ho(n,"pointerdown"===t),r)}function xo(e){var t=null;return function(){return null===t&&(t=e,function(){t=null})}}var bo=xo("dragHorizontal"),wo=xo("dragVertical");function jo(e){var t=!1;if("y"===e)t=wo();else if("x"===e)t=bo();else{var n=bo(),r=wo();n&&r?t=function(){n(),r()}:(n&&n(),r&&r())}return t}function Oo(){var e=jo(!0);return!e||(e(),!1)}function _o(e,t,n){return function(r,o){var i;ao(r)&&!Oo()&&(null===(i=e.animationState)||void 0===i||i.setActive(to.Hover,t),null===n||void 0===n||n(r,o))}}var So=function(e,t){return!!t&&(e===t||So(e,t.parentElement))},ko=n(3911);
1var Co=new Set;var To=new WeakMap,Eo=new WeakMap,Po=function(e){var t;null===(t=To.get(e.target))||void 0===t||t(e)},Ao=function(e){e.forEach(Po)};function Mo(e,t,n){var o=function(e){var t=e.root,n=(0,r._T)(e,["root"]),o=t||document;Eo.has(o)||Eo.set(o,{});var i=Eo.get(o),a=JSON.stringify(n);return i[a]||(i[a]=new IntersectionObserver(Ao,(0,r.pi)({root:t},n))),i[a]}(t);return To.set(e,n),o.observe(e),function(){To.delete(e),o.unobserve(e)}}var Do={some:0,all:1};function Ro(e,t,n,r){var i=r.root,a=r.margin,s=r.amount,l=void 0===s?"some":s,c=r.once;(0,o.useEffect)((function(){if(e){var r={root:null===i||void 0===i?void 0:i.current,rootMargin:a,threshold:"number"===typeof l?l:Do[l]};return Mo(n.getInstance(),r,(function(e){var r,o=e.isIntersecting;if(t.isInView!==o&&(t.isInView=o,!c||o||!t.hasEnteredView)){o&&(t.hasEnteredView=!0),null===(r=n.animationState)||void 0===r||r.setActive(to.InView,o);var i=n.getProps(),a=o?i.onViewportEnter:i.onViewportLeave;null===a||void 0===a||a(e)}}))}}),[e,i,a,l])}function Io(e,t,n,r){var a=r.fallback,s=void 0===a||a;(0,o.useEffect)((function(){var r,o;e&&s&&("production"!==i.O&&(r="IntersectionObserver not available on this device. whileInView animations will trigger on mount.",!1||Co.has(r)||(console.warn(r),o&&console.warn(o),Co.add(r))),requestAnimationFrame((function(){var e;t.hasEnteredView=!0;var r=n.getProps().onViewportEnter;null===r||void 0===r||r(null),null===(e=n.animationState)||void 0===e||e.setActive(to.InView,!0)})))}),[e])}var Fo=function(e){return function(t){return e(t),null}},Lo={inView:Fo((function(e){var t=e.visualElement,n=e.whileInView,r=e.onViewportEnter,i=e.onViewportLeave,a=e.viewport,s=void 0===a?{}:a,l=(0,o.useRef)({hasEnteredView:!1,isInView:!1}),c=Boolean(n||r||i);s.once&&l.current.hasEnteredView&&(c=!1),("undefined"===typeof IntersectionObserver?Io:Ro)(c,l.current,t,s)})),tap:Fo((function(e){var t=e.onTap,n=e.onTapStart,r=e.onTapCancel,i=e.whileTap,a=e.visualElement,s=t||n||r||i,l=(0,o.useRef)(!1),c=(0,o.useRef)(null),u={passive:!(n||t||r||m)};function d(){var e;null===(e=c.current)||void 0===e||e.call(c),c.current=null}function p(){var e;return d(),l.current=!1,null===(e=a.animationState)||void 0===e||e.setActive(to.Tap,!1),!Oo()}function h(e,n){p()&&(So(a.getInstance(),e.target)?null===t||void 0===t||t(e,n):null===r||void 0===r||r(e,n))}function f(e,t){p()&&(null===r||void 0===r||r(e,t))}function m(e,t){var r;d(),l.current||(l.current=!0,c.current=Ie(go(window,"pointerup",h,u),go(window,"pointercancel",f,u)),null===(r=a.animationState)||void 0===r||r.setActive(to.Tap,!0),null===n||void 0===n||n(e,t))}yo(a,"pointerdown",s?m:void 0,u),(0,ko.z)(d)})),focus:Fo((function(e){var t=e.whileFocus,n=e.visualElement;io(n,"focus",t?function(){var e;null===(e=n.animationState)||void 0===e||e.setActive(to.Focus,!0)}:void 0),io(n,"blur",t?function(){var e;null===(e=n.animationState)||void 0===e||e.setActive(to.Focus,!1)}:void 0)})),hover:Fo((function(e){var t=e.onHoverStart,n=e.onHoverEnd,r=e.whileHover,o=e.visualElement;yo(o,"pointerenter",t||r?_o(o,!0,t):void 0,{passive:!t}),yo(o,"pointerleave",n||r?_o(o,!1,n):void 0,{passive:!n})}))},No=n(6771);function Bo(){var e=(0,o.useContext)(h.O);if(null===e)return[!0,null];var t=e.isPresent,n=e.onExitComplete,r=e.register,i=(0,No.M)();(0,o.useEffect)((function(){return r(i)}),[]);return!t&&n?[!1,function(){return null===n||void 0===n?void 0:n(i)}]:[!0]}function Vo(e,t){if(!Array.isArray(t))return!1;var n=t.length;if(n!==e.length)return!1;for(var r=0;r<n;r++)if(t[r]!==e[r])return!1;return!0}var zo=function(e){return/^0[^.\s]+$/.test(e)},Uo=function(e){return function(t){return t.test(e)}},Go=[te,he,pe,de,me,fe,{test:function(e){return"auto"===e},parse:function(e){return e}}],Zo=function(e){return Go.find(Uo(e))},Ho=(0,r.ev)((0,r.ev)([],(0,r.CR)(Go),!1),[Se,Me],!1),Wo=function(e){return Ho.find(Uo(e))};function Ko(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,L(n))}function Yo(e,t){var n=_(e,t),o=n?e.makeTargetAnimatable(n,!1):{},i=o.transitionEnd,a=void 0===i?{}:i;o.transition;var s=(0,r._T)(o,["transitionEnd","transition"]);for(var l in s=(0,r.pi)((0,r.pi)({},s),a)){Ko(e,l,Vt(s[l]))}}function qo(e,t){if(t)return(t[e]||t.default||t).from}function Xo(e,t,n){var o;void 0===n&&(n={});var i=_(e,t,n.custom),a=(i||{}).transition,s=void 0===a?e.getDefaultTransition()||{}:a;n.transitionOverride&&(s=n.transitionOverride);var l=i?function(){return $o(e,i,n)}:function(){return Promise.resolve()},c=(null===(o=e.variantChildren)||void 0===o?void 0:o.size)?function(o){void 0===o&&(o=0);var i=s.delayChildren,a=void 0===i?0:i,l=s.staggerChildren,c=s.staggerDirection;return function(e,t,n,o,i,a){void 0===n&&(n=0);void 0===o&&(o=0);void 0===i&&(i=1);var s=[],l=(e.variantChildren.size-1)*o,c=1===i?function(e){return void 0===e&&(e=0),e*o}:function(e){return void 0===e&&(e=0),l-e*o};
1return Array.from(e.variantChildren).sort(Jo).forEach((function(e,o){s.push(Xo(e,t,(0,r.pi)((0,r.pi)({},a),{delay:n+c(o)})).then((function(){return e.notifyAnimationComplete(t)})))})),Promise.all(s)}(e,t,a+o,l,c,n)}:function(){return Promise.resolve()},u=s.when;if(u){var d=(0,r.CR)("beforeChildren"===u?[l,c]:[c,l],2),p=d[0],h=d[1];return p().then(h)}return Promise.all([l(),c(n.delay)])}function $o(e,t,n){var o,i=void 0===n?{}:n,a=i.delay,s=void 0===a?0:a,l=i.transitionOverride,c=i.type,u=e.makeTargetAnimatable(t),d=u.transition,p=void 0===d?e.getDefaultTransition():d,h=u.transitionEnd,f=(0,r._T)(u,["transition","transitionEnd"]);l&&(p=l);var m=[],v=c&&(null===(o=e.animationState)||void 0===o?void 0:o.getState()[c]);for(var g in f){var y=e.getValue(g),x=f[g];if(!(!y||void 0===x||v&&Qo(v,g))){var b=(0,r.pi)({delay:s},p);e.shouldReduceMotion&&Hn(g)&&(b=(0,r.pi)((0,r.pi)({},b),{type:!1,delay:0}));var w=Kt(g,y,x,b);m.push(w)}}return Promise.all(m).then((function(){h&&Yo(e,h)}))}function Jo(e,t){return e.sortNodePosition(t)}function Qo(e,t){var n=e.protectedKeys,r=e.needsAnimating,o=n.hasOwnProperty(t)&&!0!==r[t];return r[t]=!1,o}var ei=[to.Animate,to.InView,to.Focus,to.Hover,to.Tap,to.Drag,to.Exit],ti=(0,r.ev)([],(0,r.CR)(ei),!1).reverse(),ni=ei.length;function ri(e){return function(t){return Promise.all(t.map((function(t){var n=t.animation,r=t.options;return function(e,t,n){var r;if(void 0===n&&(n={}),e.notifyAnimationStart(t),Array.isArray(t)){var o=t.map((function(t){return Xo(e,t,n)}));r=Promise.all(o)}else if("string"===typeof t)r=Xo(e,t,n);else{var i="function"===typeof t?_(e,t,n.custom):t;r=$o(e,i,n)}return r.then((function(){return e.notifyAnimationComplete(t)}))}(e,n,r)})))}}function oi(e){var t=ri(e),n=function(){var e;return(e={})[to.Animate]=ii(!0),e[to.InView]=ii(),e[to.Hover]=ii(),e[to.Tap]=ii(),e[to.Drag]=ii(),e[to.Focus]=ii(),e[to.Exit]=ii(),e}(),o={},i=!0,a=function(t,n){var o=_(e,n);if(o){o.transition;var i=o.transitionEnd,a=(0,r._T)(o,["transition","transitionEnd"]);t=(0,r.pi)((0,r.pi)((0,r.pi)({},t),a),i)}return t};function s(s,l){for(var c,u=e.getProps(),d=e.getVariantContext(!0)||{},p=[],h=new Set,f={},m=1/0,v=function(t){var o=ti[t],v=n[o],g=null!==(c=u[o])&&void 0!==c?c:d[o],y=j(g),x=o===l?v.isActive:null;!1===x&&(m=t);var b=g===d[o]&&g!==u[o]&&y;if(b&&i&&e.manuallyAnimateOnMount&&(b=!1),v.protectedKeys=(0,r.pi)({},f),!v.isActive&&null===x||!g&&!v.prevProp||$r(g)||"boolean"===typeof g)return"continue";var O=function(e,t){if("string"===typeof t)return t!==e;if(w(t))return!Vo(t,e);return!1}(v.prevProp,g),_=O||o===l&&v.isActive&&!b&&y||t>m&&y,S=Array.isArray(g)?g:[g],k=S.reduce(a,{});!1===x&&(k={});var C=v.prevResolvedValues,T=void 0===C?{}:C,E=(0,r.pi)((0,r.pi)({},T),k),P=function(e){_=!0,h.delete(e),v.needsAnimating[e]=!0};for(var A in E){var M=k[A],D=T[A];f.hasOwnProperty(A)||(M!==D?_t(M)&&_t(D)?!Vo(M,D)||O?P(A):v.protectedKeys[A]=!0:void 0!==M?P(A):h.add(A):void 0!==M&&h.has(A)?P(A):v.protectedKeys[A]=!0)}v.prevProp=g,v.prevResolvedValues=k,v.isActive&&(f=(0,r.pi)((0,r.pi)({},f),k)),i&&e.blockInitialAnimation&&(_=!1),_&&!b&&p.push.apply(p,(0,r.ev)([],(0,r.CR)(S.map((function(e){return{animation:e,options:(0,r.pi)({type:o},s)}}))),!1))},g=0;g<ni;g++)v(g);if(o=(0,r.pi)({},f),h.size){var y={};h.forEach((function(t){var n=e.getBaseTarget(t);void 0!==n&&(y[t]=n)})),p.push({animation:y})}var x=Boolean(p.length);return i&&!1===u.initial&&!e.manuallyAnimateOnMount&&(x=!1),i=!1,x?t(p):Promise.resolve()}return{isAnimated:function(e){return void 0!==o[e]},animateChanges:s,setActive:function(t,r,o){var i;if(n[t].isActive===r)return Promise.resolve();null===(i=e.variantChildren)||void 0===i||i.forEach((function(e){var n;return null===(n=e.animationState)||void 0===n?void 0:n.setActive(t,r)})),n[t].isActive=r;var a=s(o,t);for(var l in n)n[l].protectedKeys={};return a},setAnimateFunction:function(n){t=n(e)},getState:function(){return n}}}function ii(e){return void 0===e&&(e=!1),{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}var ai={animation:Fo((function(e){var t=e.visualElement,n=e.animate;t.animationState||(t.animationState=oi(t)),$r(n)&&(0,o.useEffect)((function(){return n.subscribe(t)}),[n])})),exit:Fo((function(e){var t=e.custom,n=e.visualElement,i=(0,r.CR)(Bo(),2),a=i[0],s=i[1],l=(0,o.useContext)(h.O);(0,o.useEffect)((function(){var e,r;n.isPresent=a;var o=null===(e=n.animationState)||void 0===e?void 0:e.setActive(to.Exit,!a,{custom:null!==(r=null===l||void 0===l?void 0:l.custom)&&void 0!==r?r:t});!a&&(null===o||void 0===o||o.then(s))}),[a])}))},si=function(){function e(e,t,n){var o=this,i=(void 0===n?{}:n).transformPagePoint;if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.updatePoint=function(){if(o.lastMoveEvent&&o.lastMoveEventInfo){var e=ui(o.lastMoveEventInfo,o.history),t=null!==o.startEvent,n=wn(e.offset,{x:0,y:0})>=3;if(t||n){var i=e.point,a=(0,P.$B)().timestamp;o.history.push((0,r.pi)((0,r.pi)({},i),{timestamp:a}));var s=o.handlers,l=s.onStart,c=s.onMove;t||(l&&l(o.lastMoveEvent,e),o.startEvent=o.lastMoveEvent),c&&c(o.lastMoveEvent,e)}}},this.handlePointerMove=function(e,t){o.lastMoveEvent=e,o.lastMoveEventInfo=li(t,o.transformPagePoint),ao(e)&&0===e.buttons?o.handlePointerUp(e,t):P.ZP.update(o.updatePoint,!0)},this.handlePointerUp=function(e,t){o.end();var n=o.handlers,r=n.onEnd,i=n.onSessionEnd,a=ui(li(t,o.transformPagePoint),o.history);o.startEvent&&r&&r(e,a),i&&i(e,a)},!(so(e)&&e.touches.length>1)){this.handlers=t,this.transformPagePoint=i;var a=li(po(e),this.transformPagePoint),s=a.point,l=(0,P.$B)().timestamp;this.history=[(0,r.pi)((0,r.pi)({},s),{timestamp:l})];var c=t.onSessionStart;c&&c(e,ui(a,this.history)),this.removeListeners=Ie(go(window,"pointermove",this.handlePointerMove),go(window,"pointerup",this.handlePointerUp),go(window,"pointercancel",this.handlePointerUp))}}return e.prototype.updateHandlers=function(e){this.handlers=e},e.prototype.end=function(){this.removeListeners&&this.removeListeners(),P.qY.update(this.updatePoint)},e}();function li(e,t){return t?{point:t(e.point)}:e}function ci(e,t){return{x:e.x-t.x,y:e.y-t.y}}function ui(e,t){var n=e.point;return{point:n,delta:ci(n,pi(t)),offset:ci(n,di(t)),velocity:hi(t,.1)}}function di(e){return e[0]}function pi(e){return e[e.length-1]}function hi(e,t){if(e.length<2)return{x:0,y:0};for(var n=e.length-1,r=null,o=pi(e);n>=0&&(r=e[n],!(o.timestamp-r.timestamp>ht(t)));)n--;if(!r)return{x:0,y:0};var i=(o.timestamp-r.timestamp)/1e3;if(0===i)return{x:0,y:0};var a={x:(o.x-r.x)/i,y:(o.y-r.y)/i};return a.x===1/0&&(a.x=0),a.y===1/0&&(a.y=0),a}function fi(e,t,n){return{min:void 0!==t?e.min+t:void 0,max:void 0!==n?e.max+n-(e.max-e.min):void 0}}function mi(e,t){var n,o=t.min-e.min,i=t.max-e.max;return t.max-t.min<e.max-e.min&&(o=(n=(0,r.CR)([i,o],2))[0],i=n[1]),{min:o,max:i}}var vi=.35;function gi(e,t,n){return{min:yi(e,t),max:yi(e,n)}}function yi(e,t){var n;return"number"===typeof e?e:null!==(n=e[t])&&void 0!==n?n:0}function xi(e){var t=e.top;return{x:{min:e.left,max:e.right},y:{min:t,max:e.bottom}}}function bi(e,t){return xi(function(e,t){if(!t)return e;var n=t({x:e.left,y:e.top}),r=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}(e.getBoundingClientRect(),t))}var wi=new WeakMap,ji=function(){function e(e){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic={x:{min:0,max:0},y:{min:0,max:0}},this.visualElement=e}return e.prototype.start=function(e,t){var n=this,r=(void 0===t?{}:t).snapToCursor,o=void 0!==r&&r;if(!1!==this.visualElement.isPresent){this.panSession=new si(e,{onSessionStart:function(e){n.stopAnimation(),o&&n.snapToCursor(po(e,"page").point)},onStart:function(e,t){var r,o=n.getProps(),i=o.drag,a=o.dragPropagation,s=o.onDragStart;(!i||a||(n.openGlobalLock&&n.openGlobalLock(),n.openGlobalLock=jo(i),n.openGlobalLock))&&(n.isDragging=!0,n.currentDirection=null,n.resolveConstraints(),n.visualElement.projection&&(n.visualElement.projection.isAnimationBlocked=!0,n.visualElement.projection.target=void 0),Vn((function(e){var t,r,o=n.getAxisMotionValue(e).get()||0;if(pe.test(o)){var i=null===(r=null===(t=n.visualElement.projection)||void 0===t?void 0:t.layout)||void 0===r?void 0:r.actual[e];
1if(i)o=jn(i)*(parseFloat(o)/100)}n.originPoint[e]=o})),null===s||void 0===s||s(e,t),null===(r=n.visualElement.animationState)||void 0===r||r.setActive(to.Drag,!0))},onMove:function(e,t){var r=n.getProps(),o=r.dragPropagation,i=r.dragDirectionLock,a=r.onDirectionLock,s=r.onDrag;if(o||n.openGlobalLock){var l=t.offset;if(i&&null===n.currentDirection)return n.currentDirection=function(e,t){void 0===t&&(t=10);var n=null;Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x");return n}(l),void(null!==n.currentDirection&&(null===a||void 0===a||a(n.currentDirection)));n.updateAxis("x",t.point,l),n.updateAxis("y",t.point,l),n.visualElement.syncRender(),null===s||void 0===s||s(e,t)}},onSessionEnd:function(e,t){return n.stop(e,t)}},{transformPagePoint:this.visualElement.getTransformPagePoint()})}},e.prototype.stop=function(e,t){var n=this.isDragging;if(this.cancel(),n){var r=t.velocity;this.startAnimation(r);var o=this.getProps().onDragEnd;null===o||void 0===o||o(e,t)}},e.prototype.cancel=function(){var e,t;this.isDragging=!1,this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!1),null===(e=this.panSession)||void 0===e||e.end(),this.panSession=void 0,!this.getProps().dragPropagation&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),null===(t=this.visualElement.animationState)||void 0===t||t.setActive(to.Drag,!1)},e.prototype.updateAxis=function(e,t,n){var r=this.getProps().drag;if(n&&Oi(e,r,this.currentDirection)){var o=this.getAxisMotionValue(e),i=this.originPoint[e]+n[e];this.constraints&&this.constraints[e]&&(i=function(e,t,n){var r=t.min,o=t.max;return void 0!==r&&e<r?e=n?A(r,e,n.min):Math.max(e,r):void 0!==o&&e>o&&(e=n?A(o,e,n.max):Math.min(e,o)),e}(i,this.constraints[e],this.elastic[e])),o.set(i)}},e.prototype.resolveConstraints=function(){var e=this,t=this.getProps(),n=t.dragConstraints,r=t.dragElastic,o=(this.visualElement.projection||{}).layout,i=this.constraints;n&&b(n)?this.constraints||(this.constraints=this.resolveRefConstraints()):this.constraints=!(!n||!o)&&function(e,t){var n=t.top,r=t.left,o=t.bottom,i=t.right;return{x:fi(e.x,r,i),y:fi(e.y,n,o)}}(o.actual,n),this.elastic=function(e){return void 0===e&&(e=vi),!1===e?e=0:!0===e&&(e=vi),{x:gi(e,"left","right"),y:gi(e,"top","bottom")}}(r),i!==this.constraints&&o&&this.constraints&&!this.hasMutatedConstraints&&Vn((function(t){e.getAxisMotionValue(t)&&(e.constraints[t]=function(e,t){var n={};return void 0!==t.min&&(n.min=t.min-e.min),void 0!==t.max&&(n.max=t.max-e.min),n}(o.actual[t],e.constraints[t]))}))},e.prototype.resolveRefConstraints=function(){var e=this.getProps(),t=e.dragConstraints,n=e.onMeasureDragConstraints;if(!t||!b(t))return!1;var r=t.current,o=this.visualElement.projection;if(!o||!o.layout)return!1;var i=function(e,t,n){var r=bi(e,n),o=t.scroll;return o&&(hn(r.x,o.x),hn(r.y,o.y)),r}(r,o.root,this.visualElement.getTransformPagePoint()),a=function(e,t){return{x:mi(e.x,t.x),y:mi(e.y,t.y)}}(o.layout.actual,i);if(n){var s=n(function(e){var t=e.x,n=e.y;return{top:n.min,right:t.max,bottom:n.max,left:t.min}}(a));this.hasMutatedConstraints=!!s,s&&(a=xi(s))}return a},e.prototype.startAnimation=function(e){var t=this,n=this.getProps(),o=n.drag,i=n.dragMomentum,a=n.dragElastic,s=n.dragTransition,l=n.dragSnapToOrigin,c=n.onDragTransitionEnd,u=this.constraints||{},d=Vn((function(n){var c;if(Oi(n,o,t.currentDirection)){var d=null!==(c=null===u||void 0===u?void 0:u[n])&&void 0!==c?c:{};l&&(d={min:0,max:0});var p=a?200:1e6,h=a?40:1e7,f=(0,r.pi)((0,r.pi)({type:"inertia",velocity:i?e[n]:0,bounceStiffness:p,bounceDamping:h,timeConstant:750,restDelta:1,restSpeed:10},s),d);return t.startAxisValueAnimation(n,f)}}));return Promise.all(d).then(c)},e.prototype.startAxisValueAnimation=function(e,t){return Kt(e,this.getAxisMotionValue(e),0,t)},e.prototype.stopAnimation=function(){var e=this;Vn((function(t){return e.getAxisMotionValue(t).stop()}))},e.prototype.getAxisMotionValue=function(e){var t,n,r="_drag"+e.toUpperCase(),o=this.visualElement.getProps()[r];return o||this.visualElement.getValue(e,null!==(n=null===(t=this.visualElement.getProps().initial)||void 0===t?void 0:t[e])&&void 0!==n?n:0)},e.prototype.snapToCursor=function(e){var t=this;Vn((function(n){if(Oi(n,t.getProps().drag,t.currentDirection)){var r=t.visualElement.projection,o=t.getAxisMotionValue(n);if(r&&r.layout){var i=r.layout.actual[n],a=i.min,s=i.max;o.set(e[n]-A(a,s,.5))}}}))},e.prototype.scalePositionWithinConstraints=function(){var e,t=this,n=this.getProps(),r=n.drag,o=n.dragConstraints,i=this.visualElement.projection;if(b(o)&&i&&this.constraints){this.stopAnimation();var a={x:0,y:0};Vn((function(e){var n=t.getAxisMotionValue(e);if(n){var r=n.get();a[e]=function(e,t){var n=.5,r=jn(e),o=jn(t);return o>r?n=Y(t.min,t.max-r,e.min):r>o&&(n=Y(e.min,e.max-o,t.min)),B(0,1,n)}({min:r,max:r},t.constraints[e])}}));var s=this.visualElement.getProps().transformTemplate;this.visualElement.getInstance().style.transform=s?s({},""):"none",null===(e=i.root)||void 0===e||e.updateScroll(),i.updateLayout(),this.resolveConstraints(),Vn((function(e){if(Oi(e,r,null)){var n=t.getAxisMotionValue(e),o=t.constraints[e],i=o.min,s=o.max;n.set(A(i,s,a[e]))}}))}},e.prototype.addListeners=function(){var e,t=this;wi.set(this.visualElement,this);var n=go(this.visualElement.getInstance(),"pointerdown",(function(e){var n=t.getProps(),r=n.drag,o=n.dragListener;r&&(void 0===o||o)&&t.start(e)})),r=function(){b(t.getProps().dragConstraints)&&(t.constraints=t.resolveRefConstraints())},o=this.visualElement.projection,i=o.addEventListener("measure",r);o&&!o.layout&&(null===(e=o.root)||void 0===e||e.updateScroll(),o.updateLayout()),r();var a=oo(window,"resize",(function(){return t.scalePositionWithinConstraints()}));return o.addEventListener("didUpdate",(function(e){var n=e.delta,r=e.hasLayoutChanged;t.isDragging&&r&&(Vn((function(e){var r=t.getAxisMotionValue(e);r&&(t.originPoint[e]+=n[e].translate,r.set(r.get()+n[e].translate))})),t.visualElement.syncRender())})),function(){a(),n(),i()}},e.prototype.getProps=function(){var e=this.visualElement.getProps(),t=e.drag,n=void 0!==t&&t,o=e.dragDirectionLock,i=void 0!==o&&o,a=e.dragPropagation,s=void 0!==a&&a,l=e.dragConstraints,c=void 0!==l&&l,u=e.dragElastic,d=void 0===u?vi:u,p=e.dragMomentum,h=void 0===p||p;return(0,r.pi)((0,r.pi)({},e),{drag:n,dragDirectionLock:i,dragPropagation:s,dragConstraints:c,dragElastic:d,dragMomentum:h})},e}();function Oi(e,t,n){return(!0===t||t===e)&&(null===n||n===e)}var _i={pan:Fo((function(e){var t=e.onPan,n=e.onPanStart,r=e.onPanEnd,i=e.onPanSessionStart,a=e.visualElement,s=t||n||r||i,l=(0,o.useRef)(null),c=(0,o.useContext)(d).transformPagePoint,u={onSessionStart:i,onStart:n,onMove:t,onEnd:function(e,t){l.current=null,r&&r(e,t)}};(0,o.useEffect)((function(){null!==l.current&&l.current.updateHandlers(u)}
1)),yo(a,"pointerdown",s&&function(e){l.current=new si(e,u,{transformPagePoint:c})}),(0,ko.z)((function(){return l.current&&l.current.end()}))})),drag:Fo((function(e){var t=e.dragControls,n=e.visualElement,r=(0,E.h)((function(){return new ji(n)}));(0,o.useEffect)((function(){return t&&t.subscribe(r)}),[r,t]),(0,o.useEffect)((function(){return r.addListeners()}),[r])}))},Si=["LayoutMeasure","BeforeLayoutMeasure","LayoutUpdate","ViewportBoxUpdate","Update","Render","AnimationComplete","LayoutAnimationComplete","AnimationStart","LayoutAnimationStart","SetAxisTarget","Unmount"];var ki=function(e){var t=e.treeType,n=void 0===t?"":t,o=e.build,i=e.getBaseTarget,a=e.makeTargetAnimatable,s=e.measureViewportBox,l=e.render,c=e.readValueFromInstance,u=e.removeValueFromRenderState,d=e.sortNodePosition,p=e.scrapeMotionValuesFromProps;return function(e,t){var h=e.parent,f=e.props,m=e.presenceId,v=e.blockInitialAnimation,g=e.visualState,y=e.shouldReduceMotion;void 0===t&&(t={});var x,b,w=!1,O=g.latestValues,_=g.renderState,C=function(){var e=Si.map((function(){return new I})),t={},n={clearAllListeners:function(){return e.forEach((function(e){return e.clear()}))},updatePropListeners:function(e){Si.forEach((function(r){var o,i="on"+r,a=e[i];null===(o=t[r])||void 0===o||o.call(t),a&&(t[r]=n[i](a))}))}};return e.forEach((function(e,t){n["on"+Si[t]]=function(t){return e.add(t)},n["notify"+Si[t]]=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return e.notify.apply(e,(0,r.ev)([],(0,r.CR)(t),!1))}})),n}(),T=new Map,E=new Map,A={},M=(0,r.pi)({},O);function D(){x&&w&&(R(),l(x,_,f.style,H.projection))}function R(){o(H,_,O,t,f)}function F(){C.notifyUpdate(O)}function B(e,t){var n=t.onChange((function(t){O[e]=t,f.onUpdate&&P.ZP.update(F,!1,!0)})),r=t.onRenderRequest(H.scheduleRender);E.set(e,(function(){n(),r()}))}var V=p(f);for(var z in V){var U=V[z];void 0!==O[z]&&N(U)&&U.set(O[z],!1)}var G=S(f),Z=k(f),H=(0,r.pi)((0,r.pi)({treeType:n,current:null,depth:h?h.depth+1:0,parent:h,children:new Set,presenceId:m,shouldReduceMotion:y,variantChildren:Z?new Set:void 0,isVisible:void 0,manuallyAnimateOnMount:Boolean(null===h||void 0===h?void 0:h.isMounted()),blockInitialAnimation:v,isMounted:function(){return Boolean(x)},mount:function(e){w=!0,x=H.current=e,H.projection&&H.projection.mount(e),Z&&h&&!G&&(b=null===h||void 0===h?void 0:h.addVariantChild(H)),T.forEach((function(e,t){return B(t,e)})),null===h||void 0===h||h.children.add(H),H.setProps(f)},unmount:function(){var e;null===(e=H.projection)||void 0===e||e.unmount(),P.qY.update(F),P.qY.render(D),E.forEac
1h((function(e){return e()})),null===b||void 0===b||b(),null===h||void 0===h||h.children.delete(H),C.clearAllListeners(),x=void 0,w=!1},addVariantChild:function(e){var t,n=H.getClosestVariantNode();if(n)return null===(t=n.variantChildren)||void 0===t||t.add(e),function(){return n.variantChildren.delete(e)}},sortNodePosition:function(e){return d&&n===e.treeType?d(H.getInstance(),e.getInstance()):0},getClosestVariantNode:function(){return Z?H:null===h||void 0===h?void 0:h.getClosestVariantNode()},getLayoutId:function(){return f.layoutId},getInstance:function(){return x},getStaticValue:function(e){return O[e]},setStaticValue:function(e,t){return O[e]=t},getLatestValues:function(){return O},setVisibility:function(e){H.isVisible!==e&&(H.isVisible=e,H.scheduleRender())},makeTargetAnimatable:function(e,t){return void 0===t&&(t=!0),a(H,e,f,t)},measureViewportBox:function(){return s(x,f)},addValue:function(e,t){H.hasValue(e)&&H.removeValue(e),T.set(e,t),O[e]=t.get(),B(e,t)},removeValue:function(e){var t;T.delete(e),null===(t=E.get(e))||void 0===t||t(),E.delete(e),delete O[e],u(e,_)},hasValue:function(e){return T.has(e)},getValue:function(e,t){var n=T.get(e);return void 0===n&&void 0!==t&&(n=L(t),H.addValue(e,n)),n},forEachValue:function(e){return T.forEach(e)},readValue:function(e){var n;return null!==(n=O[e])&&void 0!==n?n:c(x,e,t)},setBaseTarget:function(e,t){M[e]=t},getBaseTarget:function(e){if(i){var t=i(f,e);if(void 0!==t&&!N(t))return t}return M[e]}},C),{build:function(){return R(),_},scheduleRender:function(){P.ZP.render(D,!1,!0)},syncRender:D,setProps:function(e){(e.transformTemplate||f.transformTemplate)&&H.scheduleRender(),f=e,C.updatePropListeners(e),A=function(e,t,n){var r;for(var o in t){var i=t[o],a=n[o];if(N(i))e.addValue(o,i);else if(N(a))e.addValue(o,L(i));else if(a!==i)if(e.hasValue(o)){var s=e.getValue(o);!s.hasAnimated&&s.set(i)}else e.addValue(o,L(null!==(r=e.getStaticValue(o))&&void 0!==r?r:i))}for(var o in n)void 0===t[o]&&e.removeValue(o);return t}(H,p(f),A)},getProps:function(){return f},getVariant:function(e){var t;return null===(t=f.variants)||void 0===t?void 0:t[e]},getDefaultTransition:function(){return f.transition},getTransformPagePoint:function(){return f.transformPagePoint},getVariantContext:function(e){if(void 0===e&&(e=!1),e)return null===h||void 0===h?void 0:h.getVariantContext();if(!G){var t=(null===h||void 0===h?void 0:h.getVariantContext())||{};return void 0!==f.initial&&(t.initial=f.initial),t}for(var n={},r=0;r<Ti;r++){var o=Ci[r],i=f[o];(j(i)||!1===i)&&(n[o]=i)}return n}});return H}},Ci=(0,r.ev)(["initial"],(0,r.CR)(ei),!1),Ti=Ci.length;function Ei(e){return"string"===typeof e&&e.startsWith("var(--")}var Pi=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function Ai(e,t,n){void 0===n&&(n=1),'Max CSS variable fallback depth detected in property "'.concat(e,'". This may indicate a circular fallback dependency.');var o=(0,r.CR)(function(e){var t=Pi.exec(e);if(!t)return[,];var n=(0,r.CR)(t,3);return[n[1],n[2]]}(e),2),i=o[0],a=o[1];if(i){var s=window.getComputedStyle(t).getPropertyValue(i);return s?s.trim():Ei(a)?Ai(a,t,n+1):a}}var Mi,Di=new Set(["width","height","top","left","right","bottom","x","y"]),Ri=function(e){return Di.has(e)},Ii=function(e,t){e.set(t,!1),e.set(t)},Fi=function(e){return e===te||e===he};!function(e){e.width="width",e.height="height",e.left="left",e.right="right",e.top="top",e.bottom="bottom"}(Mi||(Mi={}));var Li=function(e,t){return parseFloat(e.split(", ")[t])},Ni=function(e,t){return function(n,r){var o=r.transform;if("none"===o||!o)return 0;var i=o.match(/^matrix3d\((.+)\)$/);if(i)return Li(i[1],t);var a=o.match(/^matrix\((.+)\)$/);return a?Li(a[1],e):0}},Bi=new Set(["x","y","z"]),Vi=Un.filter((function(e){return!Bi.has(e)}));var zi={width:function(e,t){var n=e.x,r=t.paddingLeft,o=void 0===r?"0":r,i=t.paddingRight,a=void 0===i?"0":i;return n.max-n.min-parseFloat(o)-parseFloat(a)},height:function(e,t){var n=e.y,r=t.paddingTop,o=void 0===r?"0":r,i=t.paddingBottom,a=void 0===i?"0":i;return n.max-n.min-parseFloat(o)-parseFloat(a)},top:function(e,t){var n=t.top;return parseFloat(n)},left:function(e,t){var n=t.left;return parseFloat(n)},bottom:function(e,t){var n=e.y,r=t.top;return parseFloat(r)+(n.max-n.min)},right:function(e,t){var n=e.x,r=t.left;return parseFloat(r)+(n.max-n.min)},x:Ni(4,13),y:Ni(5,14)},Ui=function(e,t,n,o){void 0===n&&(n={}),void 0===o&&(o={}),t=(0,r.pi)({},t),o=(0,r.pi)({},o);var i=Object.keys(t).filter(Ri),a=[],s=!1,l=[];
1if(i.forEach((function(r){var i=e.getValue(r);if(e.hasValue(r)){var c,u=n[r],d=Zo(u),p=t[r];if(_t(p)){var h=p.length,f=null===p[0]?1:0;u=p[f],d=Zo(u);for(var m=f;m<h;m++)c?Zo(p[m]):(c=Zo(p[m]))===d||Fi(d)&&Fi(c)}else c=Zo(p);if(d!==c)if(Fi(d)&&Fi(c)){var v=i.get();"string"===typeof v&&i.set(parseFloat(v)),"string"===typeof p?t[r]=parseFloat(p):Array.isArray(p)&&c===he&&(t[r]=p.map(parseFloat))}else(null===d||void 0===d?void 0:d.transform)&&(null===c||void 0===c?void 0:c.transform)&&(0===u||0===p)?0===u?i.set(c.transform(u)):t[r]=d.transform(p):(s||(a=function(e){var t=[];return Vi.forEach((function(n){var r=e.getValue(n);void 0!==r&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))})),t.length&&e.syncRender(),t}(e),s=!0),l.push(r),o[r]=void 0!==o[r]?o[r]:t[r],Ii(i,p))}})),l.length){var c=l.indexOf("height")>=0?window.pageYOffset:null,u=function(e,t,n){var r=t.measureViewportBox(),o=t.getInstance(),i=getComputedStyle(o),a=i.display,s={};"none"===a&&t.setStaticValue("display",e.display||"block"),n.forEach((function(e){s[e]=zi[e](r,i)})),t.syncRender();var l=t.measureViewportBox();return n.forEach((function(n){var r=t.getValue(n);Ii(r,s[n]),e[n]=zi[n](l,i)})),e}(t,e,l);return a.length&&a.forEach((function(t){var n=(0,r.CR)(t,2),o=n[0],i=n[1];e.getValue(o).set(i)})),e.syncRender(),null!==c&&window.scrollTo({top:c}),{target:u,transitionEnd:o}}return{target:t,transitionEnd:o}};function Gi(e,t,n,r){return function(e){return Object.keys(e).some(Ri)}(t)?Ui(e,t,n,r):{target:t,transitionEnd:r}}var Zi=function(e,t,n,o){var i=function(e,t,n){var o,i=(0,r._T)(t,[]),a=e.getInstance();if(!(a instanceof Element))return{target:i,transitionEnd:n};for(var s in n&&(n=(0,r.pi)({},n)),e.forEachValue((function(e){var t=e.get();if(Ei(t)){var n=Ai(t,a);n&&e.set(n)}})),i){var l=i[s];if(Ei(l)){var c=Ai(l,a);c&&(i[s]=c,n&&(null!==(o=n[s])&&void 0!==o||(n[s]=l)))}}return{target:i,transitionEnd:n}}(e,t,o);return Gi(e,t=i.target,n,o=i.transitionEnd)};var Hi={treeType:"dom",readValueFromInstance:function(e,t){if(Hn(t)){var n=Lt(t);return n&&n.default||0}var r,o=(r=e,window.getComputedStyle(r));return(kr(t)?o.getPropertyValue(t):o[t])||0},sortNodePosition:function(e,t){return 2&e.compareDocumentPosition(t)?1:-1},getBaseTarget:function(e,t){var n;return null===(n=e.style)||void 0===n?void 0:n[t]},measureViewportBox:function(e,t){return bi(e,t.transformPagePoint)},resetTransform:function(e,t,n){var r=n.transformTemplate;t.style.transform=r?r({},""):"none",e.scheduleRender()},restoreTransform:function(e,t){e.style.transform=t.style.transform},removeValueFromRenderState:function(e,t){var n=t.vars,r=t.style;delete n[e],delete r[e]},makeTargetAnimatable:function(e,t,n,o){var i=n.transformValues;void 0===o&&(o=!0);var a=t.transition,s=t.transitionEnd,l=(0,r._T)(t,["transition","transitionEnd"]),c=function(e,t,n){var r,o,i={};for(var a in e)i[a]=null!==(r=qo(a,t))&&void 0!==r?r:null===(o=n.getValue(a))||void 0===o?void 0:o.get();return i}(l,a||{},e);if(i&&(s&&(s=i(s)),l&&(l=i(l)),c&&(c=i(c))),o){!function(e,t,n){var r,o,i,a,s=Object.keys(t).filter((function(t){return!e.hasValue(t)})),l=s.length;if(l)for(var c=0;c<l;c++){var u=s[c],d=t[u],p=null;Array.isArray(d)&&(p=d[0]),null===p&&(p=null!==(o=null!==(r=n[u])&&void 0!==r?r:e.readValue(u))&&void 0!==o?o:t[u]),void 0!==p&&null!==p&&("string"===typeof p&&(/^\-?\d*\.?\d+$/.test(p)||zo(p))?p=parseFloat(p):!Wo(p)&&Me.test(d)&&(p=Nt(u,d)),e.addValue(u,L(p)),null!==(i=(a=n)[u])&&void 0!==i||(a[u]=p),e.setBaseTarget(u,p))}}(e,l,c);var u=Zi(e,l,c,s);s=u.transitionEnd,l=u.target}return(0,r.pi)({transition:a,transitionEnd:s},l)},scrapeMotionValuesFromProps:qr,build:function(e,t,n,r,o){void 0!==e.isVisible&&(t.style.visibility=e.isVisible?"visible":"hidden"),Tr(t,n,r,o.transformTemplate)},render:Wr},Wi=ki(Hi),Ki=ki((0,r.pi)((0,r.pi)({},Hi),{getBaseTarget:function(e,t){return e[t]},readValueFromInstance:function(e,t){var n;return Hn(t)?(null===(n=Lt(t))||void 0===n?void 0:n.default)||0:(t=Kr.has(t)?t:Hr(t),e.getAttribute(t))},scrapeMotionValuesFromProps:Xr,build:function(e,t,n,r,o){Vr(t,n,r,o.transformTemplate)},render:Yr})),Yi=function(e,t){return Or(e)?Ki(t,{enableHardwareAcceleration:!1}):Wi(t,{enableHardwareAcceleration:!0})};function qi(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}var Xi={correct:function(e,t){if(!t.target)return e;if("string"===typeof e){if(!he.test(e))return e;e=parseFloat(e)}var n=qi(e,t.target.x),r=qi(e,t.target.y);return"".concat(n,"% ").concat(r,"%")}},$i="_$css",Ji={correct:function(e,t){var n=t.treeScale,r=t.projectionDelta,o=e,i=e.includes("var("),a=[];i&&(e=e.replace(Pi,(function(e){return a.push(e),$i})));var s=Me.parse(e);if(s.length>5)return o;var l=Me.createTransformer(e),c="number"!==typeof s[0]?1:0,u=r.x.scale*n.x,d=r.y.scale*n.y;s[0+c]/=u,s[1+c]/=d;var p=A(u,d,.5);"number"===typeof s[2+c]&&(s[2+c]/=p),"number"===typeof s[3+c]&&
1(s[3+c]/=p);var h=l(s);if(i){var f=0;h=h.replace($i,(function(){var e=a[f];return f++,e}))}return h}},Qi=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,r.ZT)(t,e),t.prototype.componentDidMount=function(){var e,t=this,n=this.props,o=n.visualElement,i=n.layoutGroup,a=n.switchLayoutGroup,s=n.layoutId,l=o.projection;e=ea,Object.assign(Nn,e),l&&((null===i||void 0===i?void 0:i.group)&&i.group.add(l),(null===a||void 0===a?void 0:a.register)&&s&&a.register(l),l.root.didUpdate(),l.addEventListener("animationComplete",(function(){t.safeToRemove()})),l.setOptions((0,r.pi)((0,r.pi)({},l.options),{onExitComplete:function(){return t.safeToRemove()}}))),$n.hasEverUpdated=!0},t.prototype.getSnapshotBeforeUpdate=function(e){var t=this,n=this.props,r=n.layoutDependency,o=n.visualElement,i=n.drag,a=n.isPresent,s=o.projection;return s?(s.isPresent=a,i||e.layoutDependency!==r||void 0===r?s.willUpdate():this.safeToRemove(),e.isPresent!==a&&(a?s.promote():s.relegate()||P.ZP.postRender((function(){var e;(null===(e=s.getStack())||void 0===e?void 0:e.members.length)||t.safeToRemove()}))),null):null},t.prototype.componentDidUpdate=function(){var e=this.props.visualElement.projection;e&&(e.root.didUpdate(),!e.currentAnimation&&e.isLead()&&this.safeToRemove())},t.prototype.componentWillUnmount=function(){var e=this.props,t=e.visualElement,n=e.layoutGroup,r=e.switchLayoutGroup,o=t.projection;o&&(o.scheduleCheckAfterUnmount(),(null===n||void 0===n?void 0:n.group)&&n.group.remove(o),(null===r||void 0===r?void 0:r.deregister)&&r.deregister(o))},t.prototype.safeToRemove=function(){var e=this.props.safeToRemove;null===e||void 0===e||e()},t.prototype.render=function(){return null},t}(o.Component);var ea={borderRadius:(0,r.pi)((0,r.pi)({},Xi),{applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]}),borderTopLeftRadius:Xi,borderTopRightRadius:Xi,borderBottomLeftRadius:Xi,borderBottomRightRadius:Xi,boxShadow:Ji},ta={measureLayout:function(e){var t=(0,r.CR)(Bo(),2),n=t[0],i=t[1],a=(0,o.useContext)(gr.p);return o.createElement(Qi,(0,r.pi)({},e,{layoutGroup:a,switchLayoutGroup:(0,o.useContext)(yr),isPresent:n,safeToRemove:i}))}},na=Jn({attachResizeListener:function(e,t){return oo(e,"resize",t)},measureScroll:function(){return{x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}},checkIsScrollRoot:function(){return!0}}),ra={current:void 0},oa=Jn({measureScroll:function(e){return{x:e.scrollLeft,y:e.scrollTop}},defaultParent:function(){if(!ra.current){var e=new na(0,{});e.mount(window),e.setOptions({layoutScroll:!0}),ra.current=e}return ra.current},resetTransform:function(e,t){e.style.transform=null!==t&&void 0!==t?t:"none"},checkIsScrollRoot:function(e){return Boolean("fixed"===window.getComputedStyle(e).position)}}),ia=(0,r.pi)((0,r.pi)((0,r.pi)((0,r.pi)({},ai),Lo),_i),ta),aa=wr((function(e,t){return function(e,t,n,o,i){var a=t.forwardMotionProps,s=void 0!==a&&a,l=Or(e)?no:ro;return(0,r.pi)((0,r.pi)({},l),{preloadedFeatures:n,useRender:Gr(s),createVisualElement:o,projectionNodeConstructor:i,Component:e})}(e,t,ia,Yi,oa)}))},7976:function(e,t,n){"use strict";n.d(t,{j:function(){return r}});var r="undefined"!==typeof document},1549:function(e,t,n){"use strict";n.d(t,{O:function(){return o}});var r=n(3454),o=("undefined"===typeof r||r.env,"production")},6770:function(e,t,n){"use strict";n.d(t,{h:function(){return o}});var r=n(7294);function o(e){var t=(0,r.useRef)(null);return null===t.current&&(t.current=e()),t.current}},6771:function(e,t,n){"use strict";n.d(t,{M:function(){return a}});var r=n(6770),o=0,i=function(){return o++},a=function(){return(0,r.h)(i)}},4283:function(e,t,n){"use strict";n.d(t,{L:function(){return o}});var r=n(7294),o=n(7976).j?r.useLayoutEffect:r.useEffect},3911:function(e,t,n){"use strict";n.d(t,{z:function(){return o}});var r=n(7294);function o(e){return(0,r.useEffect)((function(){return function(){return e()}}),[])}},6747:function(e,t,n){"use strict";n.d(t,{qY:function(){return h},ZP:function(){return x},iW:function(){return f},$B:function(){return y}});const r=1/60*1e3,o="undefined"!==typeof performance?()=>performance.now():()=>Date.now(),i="undefined"!==typeof window?e=>window.requestAnimationFrame(e):e=>setTimeout((()=>e(o())),r);let a=!0,s=!1,l=!1;const c={delta:0,timestamp:0},u=["read","update","preRender","render","postRender"],d=u.reduce(((e,t)=>(e[t]=function(e){let t=[],n=[],r=0,o=!1,i=!1;const a=new WeakSet,s={schedule:(e,i=!1,s=!1)=>{const l=s&&o,c=l?t:n;return i&&a.add(e),-1===c.indexOf(e)&&(c.push(e),l&&o&&(r=t.length)),e},cancel:e=>{const t=n.indexOf(e);-1!==t&&n.splice(t,1),a.delete(e)},process:l=>{if(o)i=!0;else{if(o=!0,[t,n]=[n,t],n.length=0,r=t.length,r)for(let n=0;n<r;n++){const r=t[n];r(l),a.has(r)&&(s.schedule(r),e())}o=!1,i&&(i=!1,s.process(l))}}};return s}((()=>s=!0)),e)),{}),p=u.reduce(((e,t)=>{const n=d[t];return e[t]=(e,t=!1,r=!1)=>(s||g(),n.schedule(e,t,r)),e}),{}),h=u.reduce(((e,t)=>(e[t]=d[t].cancel,e)),{}),f=u.reduce(((e,t)=>(e[t]=()=>d[t].process(c),e)),{}),m=e=>d[e].process(c),v=e=>{s=!1,c.delta=a?r:Math.max(Math.min(e-c.timestamp,40),1),c.timestamp=e,l=!0,u.forEach(m),l=!1,s&&(a=!1,i(v))},g=()=>{s=!0,a=!0,l||i(v)},y=()=>c;var x=p},1400:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}
1),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return o(t,e),t},a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.InternalEvents=void 0;var s=i(n(7294)),l=a(n(1250)),c=n(444),u=n(4583),d=n(3564);t.InternalEvents=function(){return function(){var e,t,n=(0,u.useKBar)((function(e){return{visualState:e.visualState,showing:e.visualState!==c.VisualState.hidden}})),r=n.query,o=n.options,i=n.visualState,a=n.showing;s.useEffect((function(){var e,t=o.toggleShortcut||"$mod+k",n=(0,l.default)(window,((e={})[t]=function(e){var t,n,i,s;e.defaultPrevented||(e.preventDefault(),r.toggle(),a?null===(n=null===(t=o.callbacks)||void 0===t?void 0:t.onClose)||void 0===n||n.call(t):null===(s=null===(i=o.callbacks)||void 0===i?void 0:i.onOpen)||void 0===s||s.call(i))},e.Escape=function(e){var t,n;a&&(e.stopPropagation(),null===(n=null===(t=o.callbacks)||void 0===t?void 0:t.onClose)||void 0===n||n.call(t)),r.setVisualState((function(e){return e===c.VisualState.hidden||e===c.VisualState.animatingOut?e:c.VisualState.animatingOut}))},e));return function(){n()}}),[o.callbacks,o.toggleShortcut,r,a]);var d=s.useRef(),p=s.useCallback((function(e){var t,n,i=0;e===c.VisualState.animatingIn&&(i=(null===(t=o.animations)||void 0===t?void 0:t.enterMs)||0),e===c.VisualState.animatingOut&&(i=(null===(n=o.animations)||void 0===n?void 0:n.exitMs)||0),clearTimeout(d.current),d.current=setTimeout((function(){var t=!1;r.setVisualState((function(){var n=e===c.VisualState.animatingIn?c.VisualState.showing:c.VisualState.hidden;return n===c.VisualState.hidden&&(t=!0),n})),t&&r.setCurrentRootAction(null)}),i)}),[null===(e=o.animations)||void 0===e?void 0:e.enterMs,null===(t=o.animations)||void 0===t?void 0:t.exitMs,r]);s.useEffect((function(){switch(i){case c.VisualState.animatingIn:case c.VisualState.animatingOut:p(i)}}),[p,i])}(),function(){var e=(0,u.useKBar)((function(e){return{visualState:e.visualState}})),t=e.visualState,n=e.options;s.useEffect((function(){if(!n.disableDocumentLock)if(t===c.VisualState.animatingIn){if(document.body.style.overflow="hidden",!n.disableScrollbarManagement){var e=(0,d.getScrollbarWidth)(),r=getComputedStyle(document.body)["margin-right"];r&&(e+=Number(r.replace(/\D/g,""))),document.body.style.marginRight=e+"px"}}else t===c.VisualState.hidden&&(document.body.style.removeProperty("overflow"),n.disableScrollbarManagement||document.body.style.removeProperty("margin-right"))}),[n.disableDocumentLock,n.disableScrollbarManagement,t])}(),function(){var e=(0,u.useKBar)((function(e){return{actions:e.actions}})),t=e.actions,n=e.query,r=e.options;s.useEffect((function(){for(var e,o=[],i=0,a=Object.keys(t).map((function(e){return t[e]}));i<a.length;i++){(null===(e=(f=a[i]).shortcut)||void 0===e?void 0:e.length)&&o.push(f)}o=o.sort((function(e,t){return t.shortcut.join(" ").length-e.shortcut.join(" ").length}));for(var s={},c=function(e){var t,o=e.shortcut.join(" ");s[o]=(t=function(t){var o,i,a,s,l,c;(0,d.shouldRejectKeystrokes)()||(t.preventDefault(),(null===(o=e.children)||void 0===o?void 0:o.length)?(n.setCurrentRootAction(e.id),n.toggle(),null===(a=null===(i=r.callbacks)||void 0===i?void 0:i.onOpen)||void 0===a||a.call(i)):(null===(s=e.command)||void 0===s||s.perform(),null===(c=null===(l=r.callbacks)||void 0===l?void 0:l.onSelectAction)||void 0===c||c.call(l,e)))},function(e){p.has(e)||(t(e),p.add(e))})},u=0,h=o;u<h.length;u++){var f;c(f=h[u])}var m=(0,l.default)(window,s,{timeout:400});return function(){m()}}),[t,r.callbacks,n])}(),function(){var e=(0,u.useKBar)((function(e){return{isShowing:e.visualState===c.VisualState.showing||e.visualState===c.VisualState.animatingIn}})).isShowing,t=s.useRef(null);s.useEffect((function(){if(e)t.current=document.activeElement;else{var n=document.activeElement;"input"===(null===n||void 0===n?void 0:n.tagName.toLowerCase())&&n.blur();var r=t.current;r&&r.focus()}}),[e])}(),null};var p=new WeakSet},2954:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},r.apply(this,arguments)},o=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}
1),a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&o(t,e,n);return i(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.KBarAnimator=void 0;var s=a(n(7294)),l=n(444),c=n(4583),u=n(3564),d=[{opacity:0,transform:"scale(.99)"},{opacity:1,transform:"scale(1.01)"},{opacity:1,transform:"scale(1)"}],p=[{transform:"scale(1)"},{transform:"scale(.98)"},{transform:"scale(1)"}];t.KBarAnimator=function(e){var t,n,o=e.children,i=e.style,a=e.className,h=(0,c.useKBar)((function(e){return{visualState:e.visualState,currentRootActionId:e.currentRootActionId}})),f=h.visualState,m=h.currentRootActionId,v=h.query,g=h.options,y=s.useRef(null),x=s.useRef(null),b=(null===(t=null===g||void 0===g?void 0:g.animations)||void 0===t?void 0:t.enterMs)||0,w=(null===(n=null===g||void 0===g?void 0:g.animations)||void 0===n?void 0:n.exitMs)||0;s.useEffect((function(){if(f!==l.VisualState.showing){var e=f===l.VisualState.animatingIn?b:w,t=y.current;null===t||void 0===t||t.animate(d,{duration:e,easing:f===l.VisualState.animatingOut?"ease-in":"ease-out",direction:f===l.VisualState.animatingOut?"reverse":"normal",fill:"forwards"})}}),[g,f,b,w]);var j=s.useRef();s.useEffect((function(){if(f===l.VisualState.showing){var e=y.current,t=x.current;if(!e||!t)return;var n=new ResizeObserver((function(t){for(var n=0,r=t;n<r.length;n++){var o=r[n].contentRect;j.current||(j.current=o.height),e.animate([{height:j.current+"px"},{height:o.height+"px"}],{duration:b/2,easing:"ease-out",fill:"forwards"}),j.current=o.height}}));return n.observe(t),function(){n.unobserve(t)}}}),[f,g,b,w]);var O=s.useRef(!0);return s.useEffect((function(){if(O.current)O.current=!1;else{var e=y.current;e&&e.animate(p,{duration:b,easing:"ease-out"})}}),[m,b]),(0,u.useOuterClick)(y,(function(){var e,t;v.setVisualState(l.VisualState.animatingOut),null===(t=null===(e=g.callbacks)||void 0===e?void 0:e.onClose)||void 0===t||t.call(e)})),s.createElement("div",{ref:y,style:r(r(r({},d[0]),i),{pointerEvents:"auto"}),className:a},s.createElement("div",{ref:x},o))}},2048:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return o(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.KBarProvider=t.KBarContext=void 0;var a=n(6317),s=i(n(7294)),l=n(1400);t.KBarContext=s.createContext({});t.KBarProvider=function(e){var n=(0,a.useStore)(e);return s.createElement(t.KBarContext.Provider,{value:n},s.createElement(l.InternalEvents,null),e.children)}},5585:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return o(t,e),t},a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.KBarPortal=void 0;var s=a(n(2671)),l=i(n(7294)),c=n(444),u=n(4583);t.KBarPortal=function(e){return(0,u.useKBar)((function(e){return{showing:e.visualState!==c.VisualState.hidden}})).showing?l.createElement(s.default,null,e.children):null}},1489:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},r.apply(this,arguments)},o=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}
1),a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&o(t,e,n);return i(t,e),t},s=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};Object.defineProperty(t,"__esModule",{value:!0}),t.KBarPositioner=void 0;var l=a(n(7294)),c={position:"fixed",display:"flex",alignItems:"flex-start",justifyContent:"center",width:"100%",inset:"0px",padding:"14vh 16px 16px"};function u(e){return e?r(r({},c),e):c}t.KBarPositioner=l.forwardRef((function(e,t){var n=e.style,o=e.children,i=s(e,["style","children"]);return l.createElement("div",r({ref:t,style:u(n)},i),o)}))},19:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},r.apply(this,arguments)},o=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&o(t,e,n);return i(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.KBarResults=void 0;var s=a(n(7294)),l=n(8585),c=n(8562),u=n(4583),d=n(3564);t.KBarResults=function(e){var t=s.useRef(null),n=s.useRef(null),o=s.useRef(e.items);o.current=e.items;var i=(0,l.useVirtual)({size:o.current.length,parentRef:n}),a=(0,u.useKBar)((function(e){return{search:e.searchQuery,currentRootActionId:e.currentRootActionId,activeIndex:e.activeIndex}})),p=a.query,h=a.search,f=a.currentRootActionId,m=a.activeIndex,v=a.options;s.useEffect((function(){var e=function(e){var n;"ArrowUp"===e.key||e.ctrlKey&&"p"===e.key?(e.preventDefault(),p.setActiveIndex((function(e){var t=e>0?e-1:e;if("string"===typeof o.current[t]){if(0===t)return e;t-=1}return t}))):"ArrowDown"===e.key||e.ctrlKey&&"n"===e.key?(e.preventDefault(),p.setActiveIndex((function(e){var t=e<o.current.length-1?e+1:e;if("string"===typeof o.current[t]){if(t===o.current.length-1)return e;t+=1}return t}))):"Enter"===e.key&&(e.preventDefault(),null===(n=t.current)||void 0===n||n.click())};return window.addEventListener("keydown",e),function(){return window.removeEventListener("keydown",e)}}),[p]);var g=i.scrollToIndex;s.useEffect((function(){g(m,{align:m<=1?"end":"auto"})}),[m,g]),s.useEffect((function(){p.setActiveIndex("string"===typeof e.items[0]?1:0)}),[h,f,e.items,p]);var y=s.useCallback((function(e){var t,n;"string"!==typeof e&&(e.command?(e.command.perform(e),p.toggle()):(p.setSearch(""),p.setCurrentRootAction(e.id)),null===(n=null===(t=v.callbacks)||void 0===t?void 0:t.onSelectAction)||void 0===n||n.call(t,e))}),[p,v]),x=(0,d.usePointerMovedSinceMount)();return s.createElement("div",{ref:n,style:{maxHeight:e.maxHeight||400,position:"relative",overflow:"auto"}},s.createElement("div",{role:"listbox",id:c.KBAR_LISTBOX,style:{height:i.totalSize+"px",width:"100%"}},i.virtualItems.map((function(n){var i=o.current[n.index],a="string"!==typeof i&&{onPointerMove:function(){return x&&m!==n.index&&p.setActiveIndex(n.index)},onPointerDown:function(){return p.setActiveIndex(n.index)},onClick:function(){return y(i)}},l=n.index===m;return s.createElement("div",r({ref:l?t:null,id:(0,c.getListboxItemId)(n.index),role:"option","aria-selected":l,key:n.index,style:{position:"absolute",top:0,left:0,width:"100%",transform:"translateY("+n.start+"px)"}},a),s.cloneElement(e.onRender({item:i,active:l}),{ref:n.measureRef}))}))))}},8562:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},r.apply(this,arguments)},o=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}
1),a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&o(t,e,n);return i(t,e),t},s=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};Object.defineProperty(t,"__esModule",{value:!0}),t.KBarSearch=t.getListboxItemId=t.KBAR_LISTBOX=void 0;var l=a(n(7294)),c=n(444),u=n(4583);t.KBAR_LISTBOX="kbar-listbox";t.getListboxItemId=function(e){return"kbar-listbox-item-"+e},t.KBarSearch=function(e){var n=(0,u.useKBar)((function(e){return{search:e.searchQuery,currentRootActionId:e.currentRootActionId,actions:e.actions,activeIndex:e.activeIndex,showing:e.visualState===c.VisualState.showing}})),o=n.query,i=n.search,a=n.actions,d=n.currentRootActionId,p=n.activeIndex,h=n.showing,f=n.options,m=l.useRef(null),v=e.defaultPlaceholder,g=s(e,["defaultPlaceholder"]);l.useEffect((function(){return o.setSearch(""),m.current.focus(),function(){return o.setSearch("")}}),[d,o]);var y=l.useMemo((function(){var e=null!==v&&void 0!==v?v:"Type a command or search\u2026";return d&&a[d]?a[d].name:e}),[a,d,v]);return l.createElement("input",r({},g,{ref:m,autoFocus:!0,autoComplete:"off",role:"combobox",spellCheck:"false","aria-expanded":h,"aria-controls":t.KBAR_LISTBOX,"aria-activedescendant":(0,t.getListboxItemId)(p),value:i,placeholder:y,onChange:function(t){var n,r,i;null===(n=e.onChange)||void 0===n||n.call(e,t),o.setSearch(t.target.value),null===(i=null===(r=null===f||void 0===f?void 0:f.callbacks)||void 0===r?void 0:r.onQueryChange)||void 0===i||i.call(r,t.target.value)},onKeyDown:function(t){var n;if(null===(n=e.onKeyDown)||void 0===n||n.call(e,t),d&&!i&&"Backspace"===t.key){var r=a[d].parent;o.setCurrentRootAction(r)}}}))}},8972:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.ActionImpl=void 0;var o=r(n(2177)),i=n(8033),a=n(3564),s=function(){function e(e,t){var n,r=this;this.priority=a.Priority.NORMAL,this.ancestors=[],this.children=[],Object.assign(this,e),this.id=e.id,this.name=e.name,this.keywords=function(e){var t=e.keywords,n=void 0===t?"":t,r=e.section,o=void 0===r?"":r;return(n+" "+("string"===typeof o?o:o.name)).trim()}(e);var s=e.perform;if(this.command=s&&new i.Command({perform:function(){return s(r)}},{history:t.history}),this.perform=null===(n=this.command)||void 0===n?void 0:n.perform,e.parent){var l=t.store[e.parent];(0,o.default)(l,"attempted to create an action whos parent: "+e.parent+" does not exist in the store."),l.addChild(this)}}return e.prototype.addChild=function(e){e.ancestors.unshift(this);for(var t=this.parentActionImpl;t;)e.ancestors.unshift(t),t=t.parentActionImpl;this.children.push(e)},e.prototype.removeChild=function(e){var t=this,n=this.children.indexOf(e);-1!==n&&this.children.splice(n,1),e.children&&e.children.forEach((function(e){t.removeChild(e)}))},Object.defineProperty(e.prototype,"parentActionImpl",{get:function(){return this.ancestors[this.ancestors.length-1]},enumerable:!1,configurable:!0}),e.create=function(t,n){return new e(t,n)},e}();t.ActionImpl=s},8672:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},r.apply(this,arguments)},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.ActionInterface=void 0;var i=o(n(2177)),a=n(8972),s=function(){function e(e,t){void 0===e&&(e=[]),void 0===t&&(t={}),this.actions={},this.options=t,this.add(e)}return e.prototype.add=function(e){for(var t=0;t<e.length;t++){var n=e[t];n.parent&&(0,i.default)(this.actions[n.parent],'Attempted to create action "'+n.name+'" without registering its parent "'+n.parent+'" first.'),this.actions[n.id]=a.ActionImpl.create(n,{history:this.options.historyManager,store:this.actions})}return r({},this.actions)},e.prototype.remove=function(e){var t=this;return e.forEach((function(e){var n=t.actions[e.id];if(n){for(var r=n.children;r.length;){var o=r.pop();if(!o)return;delete t.actions[o.id],o.parentActionImpl&&o.parentActionImpl.removeChild(o),o.children&&r.push.apply(r,o.children)}n.parentActionImpl&&n.parentActionImpl.removeChild(n),delete t.actions[e.id]}})),r({},this.actions)},e}();t.ActionInterface=s},8033:function(e,t){"use strict";
1Object.defineProperty(t,"__esModule",{value:!0}),t.Command=void 0;var n=function(e,t){var n=this;void 0===t&&(t={}),this.perform=function(){var r=e.perform();if("function"===typeof r){var o=t.history;o&&(n.historyItem&&o.remove(n.historyItem),n.historyItem=o.add({perform:e.perform,negate:r}),n.history={undo:function(){return o.undo(n.historyItem)},redo:function(){return o.redo(n.historyItem)}})}}};t.Command=n},351:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.history=t.HistoryItemImpl=void 0;var r=n(3564),o=function(){function e(e){this.perform=e.perform,this.negate=e.negate}return e.create=function(t){return new e(t)},e}();t.HistoryItemImpl=o;var i=new(function(){function e(){return this.undoStack=[],this.redoStack=[],e.instance||(e.instance=this,this.init()),e.instance}return e.prototype.init=function(){var e=this;"undefined"!==typeof window&&window.addEventListener("keydown",(function(t){var n;if((e.redoStack.length||e.undoStack.length)&&!(0,r.shouldRejectKeystrokes)()){var o=null===(n=t.key)||void 0===n?void 0:n.toLowerCase();t.metaKey&&"z"===o&&t.shiftKey?e.redo():t.metaKey&&"z"===o&&e.undo()}}))},e.prototype.add=function(e){var t=o.create(e);return this.undoStack.push(t),t},e.prototype.remove=function(e){var t=this.undoStack.findIndex((function(t){return t===e}));if(-1===t){var n=this.redoStack.findIndex((function(t){return t===e}));-1!==n&&this.redoStack.splice(n,1)}else this.undoStack.splice(t,1)},e.prototype.undo=function(e){if(!e){var t=this.undoStack.pop();if(!t)return;return null===t||void 0===t||t.negate(),this.redoStack.push(t),t}var n=this.undoStack.findIndex((function(t){return t===e}));if(-1!==n)return this.undoStack.splice(n,1),e.negate(),this.redoStack.push(e),e},e.prototype.redo=function(e){if(!e){var t=this.redoStack.pop();if(!t)return;return null===t||void 0===t||t.perform(),this.undoStack.push(t),t}var n=this.redoStack.findIndex((function(t){return t===e}));if(-1!==n)return this.redoStack.splice(n,1),e.perform(),this.undoStack.push(e),e},e.prototype.reset=function(){this.undoStack.splice(0),this.redoStack.splice(0)},e}());t.history=i,Object.freeze(i)},4502:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),o(n(8672),t),o(n(8972),t)},1606:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),t.Priority=t.createAction=void 0;var i=n(3564);Object.defineProperty(t,"createAction",{enumerable:!0,get:function(){return i.createAction}}),Object.defineProperty(t,"Priority",{enumerable:!0,get:function(){return i.Priority}}),o(n(9835),t),o(n(5585),t),o(n(1489),t),o(n(8562),t),o(n(19),t),o(n(4583),t),o(n(3330),t),o(n(2048),t),o(n(2954),t),o(n(444),t),o(n(4502),t)},1250:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=["Shift","Meta","Alt","Control"],r="object"===typeof navigator&&/Mac|iPod|iPhone|iPad/.test(navigator.platform)?"Meta":"Control";function o(e,t){return"function"===typeof e.getModifierState&&e.getModifierState(t)}t.default=function(e,t,i){var a,s;void 0===i&&(i={});var l=null!==(a=i.timeout)&&void 0!==a?a:1e3,c=null!==(s=i.event)&&void 0!==s?s:"keydown",u=Object.keys(t).map((function(e){return[(n=e,n.trim().split(" ").map((function(e){var t=e.split(/\b\+/),n=t.pop();return[t=t.map((function(e){return"$mod"===e?r:e})),n]}))),t[e]];var n})),d=new Map,p=null,h=function(e){e instanceof KeyboardEvent&&(u.forEach((function(t){var r=t[0],i=t[1],a=d.get(r),s=a||r,l=s[0],c=function(e,t){return!(!/^[^A-Za-z0-9]$/.test(e.key)||t[1]!==e.ke
1y)||!(t[1].toUpperCase()!==e.key.toUpperCase()&&t[1]!==e.code||t[0].find((function(t){return!o(e,t)}))||n.find((function(n){return!t[0].includes(n)&&t[1]!==n&&o(e,n)})))}(e,l);c?s.length>1?d.set(r,s.slice(1)):(d.delete(r),i(e)):o(e,e.key)||d.delete(r)})),p&&clearTimeout(p),p=setTimeout(d.clear.bind(d),l))};return e.addEventListener(c,h),function(){e.removeEventListener(c,h)}}},444:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.VisualState=void 0,function(e){e.animatingIn="animating-in",e.showing="showing",e.animatingOut="animating-out",e.hidden="hidden"}(t.VisualState||(t.VisualState={}))},4583:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},r.apply(this,arguments)},o=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&o(t,e,n);return i(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.useKBar=void 0;var s=a(n(7294)),l=n(2048);t.useKBar=function(e){var t=s.useContext(l.KBarContext),n=t.query,o=t.getState,i=t.subscribe,a=t.options,c=s.useRef(null===e||void 0===e?void 0:e(o())),u=s.useRef(e),d=s.useCallback((function(e){return r(r({},e),{query:n,options:a})}),[n,a]),p=s.useState(d(c.current)),h=p[0],f=p[1];return s.useEffect((function(){var e;return u.current&&(e=i((function(e){return u.current(e)}),(function(e){return f(d(e))}))),function(){e&&e()}}),[d,i]),h}},9835:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return o(t,e),t},a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.useDeepMatches=t.useMatches=t.NO_GROUP=void 0;var s=i(n(7294)),l=n(4583),c=n(3564),u=a(n(8382));function d(e,t){return t.priority-e.priority}function p(){var e=(0,l.useKBar)((function(e){return{search:e.searchQuery,actions:e.actions,rootActionId:e.currentRootActionId}})),n=e.search,r=e.actions,o=e.rootActionId,i=s.useMemo((function(){return Object.keys(r).reduce((function(e,t){var n=r[t];if(n.parent||o||e.push(n),n.id===o)for(var i=0;i<n.children.length;i++)e.push(n.children[i]);return e}),[]).sort(d)}),[r,o]),a=s.useCallback((function(e){for(var t=[],n=0;n<e.length;n++)t.push(e[n]);return function e(n,r){void 0===r&&(r=t);for(var o=0;o<n.length;o++)if(n[o].children.length>0){for(var i=n[o].children,a=0;a<i.length;a++)r.push(i[a]);e(n[o].children,r)}return r}(e)}),[]),p=!n,h=function(e,t){var n=s.useMemo((function(){return{filtered:e,search:t}}),[e,t]),r=(0,c.useThrottledValue)(n),o=r.filtered,i=r.search;return s.useMemo((function(){if(""===i.trim())return o.map((function(e){return{score:0,action:e}}));for(var e=[],t=0;t<o.length;t++){var n=o[t],r=(0,u.default)([n.name,n.keywords,n.subtitle].join(" "),i);r>0&&e.push({score:r,action:n})}return e}),[o,i])}(s.useMemo((function(){return p?i:a(i)}),[a,i,p]),n),f=s.useMemo((function(){for(var e,n,r,o={},i=[],a=0;a<h.length;a++){var s=h[a],l=s.action,u=s.score||c.Priority.NORMAL,p={name:"string"===typeof l.section?l.section:(null===(e=l.section)||void 0===e?void 0:e.name)||t.NO_GROUP.name,priority:"string"===typeof l.section?u:(null===(n=l.section)||void 0===n?void 0:n.priority)||0+u};o[p.name]||(o[p.name]=[],i.push(p)),o[p.name].push({priority:l.priority+u,action:l})}r=i.sort(d).map((function(e){return{name:e.name,actions:o[e.name].sort(d).map((function(e){return e.action}))}}));var f=[];for(a=0;a<r.length;a++){var m=r[a];m.name!==t.NO_GROUP.name&&f.push(m.name);for(var v=0;v<m.actions.length;v++)f.push(m.actions[v])}return f}
1),[h]),m=s.useMemo((function(){return o}),[f]);return s.useMemo((function(){return{results:f,rootActionId:m}}),[m,f])}t.NO_GROUP={name:"none",priority:c.Priority.NORMAL},t.useMatches=p,t.useDeepMatches=p},3330:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return o(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.useRegisterActions=void 0;var a=i(n(7294)),s=n(4583);t.useRegisterActions=function(e,t){void 0===t&&(t=[]);var n=(0,s.useKBar)().query,r=a.useMemo((function(){return e}),t);a.useEffect((function(){if(r.length){var e=n.registerActions(r);return function(){e()}}}),[n,r])}},6317:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},r.apply(this,arguments)},o=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&o(t,e,n);return i(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.useStore=void 0;var s=n(8367),l=a(n(7294)),c=n(8672),u=n(351),d=n(444);t.useStore=function(e){var t=l.useRef(r({animations:{enterMs:200,exitMs:100}},e.options)),n=l.useMemo((function(){return new c.ActionInterface(e.actions||[],{historyManager:t.current.enableHistory?u.history:void 0})}),[]),o=l.useState({searchQuery:"",currentRootActionId:null,visualState:d.VisualState.hidden,actions:r({},n.actions),activeIndex:0}),i=o[0],a=o[1],s=l.useRef(i);s.current=i;var h=l.useCallback((function(){return s.current}),[]),f=l.useMemo((function(){return new p(h)}),[h]);l.useEffect((function(){s.current=i,f.notify()}),[i,f]);var m=l.useCallback((function(e){return a((function(t){return r(r({},t),{actions:n.add(e)})})),function(){a((function(t){return r(r({},t),{actions:n.remove(e)})}))}}),[n]);return l.useMemo((function(){return{getState:h,query:{setCurrentRootAction:function(e){a((function(t){return r(r({},t),{currentRootActionId:e})}))},setVisualState:function(e){a((function(t){return r(r({},t),{visualState:"function"===typeof e?e(t.visualState):e})}))},setSearch:function(e){return a((function(t){return r(r({},t),{searchQuery:e})}))},registerActions:m,toggle:function(){return a((function(e){return r(r({},e),{visualState:[d.VisualState.animatingOut,d.VisualState.hidden].includes(e.visualState)?d.VisualState.animatingIn:d.VisualState.animatingOut})}))},setActiveIndex:function(e){return a((function(t){return r(r({},t),{activeIndex:"number"===typeof e?e:e(t.activeIndex)})}))}},options:t.current,subscribe:function(e,t){return f.subscribe(e,t)}}}),[h,f,m])};var p=function(){function e(e){this.subscribers=[],this.getState=e}return e.prototype.subscribe=function(e,t){var n=this,r=new h((function(){return e(n.getState())}),t);return this.subscribers.push(r),this.unsubscribe.bind(this,r)},e.prototype.unsubscribe=function(e){if(this.subscribers.length){var t=this.subscribers.indexOf(e);if(t>-1)return this.subscribers.splice(t,1)}},e.prototype.notify=function(){this.subscribers.forEach((function(e){return e.collect()}))},e}(),h=function(){function e(e,t){this.collector=e,this.onChange=t}return e.prototype.collect=function(){try{var e=this.collector();(0,s.deepEqual)(e,this.collected)||(this.collected=e,this.onChange&&this.onChange(this.collected))}catch(t){console.warn(t)}},e}()},3564:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},r.apply(this,arguments)},o=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}
1),a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&o(t,e,n);return i(t,e),t},s=this&&this.__spreadArray||function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))};Object.defineProperty(t,"__esModule",{value:!0}),t.Priority=t.isModKey=t.shouldRejectKeystrokes=t.useThrottledValue=t.getScrollbarWidth=t.useIsomorphicLayout=t.noop=t.createAction=t.randomId=t.usePointerMovedSinceMount=t.useOuterClick=t.swallowEvent=void 0;var l=a(n(7294));function c(){return Math.random().toString(36).substring(2,9)}function u(){}t.swallowEvent=function(e){e.stopPropagation(),e.preventDefault()},t.useOuterClick=function(e,t){var n=l.useRef(t);n.current=t,l.useEffect((function(){function t(t){var r,o;(null===(r=e.current)||void 0===r?void 0:r.contains(t.target))||t.target===(null===(o=e.current)||void 0===o?void 0:o.getRootNode().host)||(t.preventDefault(),t.stopPropagation(),n.current())}return window.addEventListener("pointerdown",t,!0),function(){return window.removeEventListener("pointerdown",t,!0)}}),[e])},t.usePointerMovedSinceMount=function(){var e=l.useState(!1),t=e[0],n=e[1];return l.useEffect((function(){function e(){n(!0)}if(!t)return window.addEventListener("pointermove",e),function(){return window.removeEventListener("pointermove",e)}}),[t]),t},t.randomId=c,t.createAction=function(e){return r({id:c()},e)},t.noop=u,t.useIsomorphicLayout="undefined"===typeof window?u:l.useLayoutEffect,t.getScrollbarWidth=function(){var e=document.createElement("div");e.style.visibility="hidden",e.style.overflow="scroll",document.body.appendChild(e);var t=document.createElement("div");e.appendChild(t);var n=e.offsetWidth-t.offsetWidth;return e.parentNode.removeChild(e),n},t.useThrottledValue=function(e,t){void 0===t&&(t=100);var n=l.useState(e),r=n[0],o=n[1],i=l.useRef(Date.now());return l.useEffect((function(){if(0!==t){var n=setTimeout((function(){o(e),i.current=Date.now()}),i.current-(Date.now()-t));return function(){clearTimeout(n)}}}),[t,e]),0===t?e:r},t.shouldRejectKeystrokes=function(e){var t,n,r=(void 0===e?{ignoreWhenFocused:[]}:e).ignoreWhenFocused,o=s(["input","textarea"],r,!0).map((function(e){return e.toLowerCase()})),i=document.activeElement;return i&&(-1!==o.indexOf(i.tagName.toLowerCase())||"textbox"===(null===(t=i.attributes.getNamedItem("role"))||void 0===t?void 0:t.value)||"true"===(null===(n=i.attributes.getNamedItem("contenteditable"))||void 0===n?void 0:n.value))};var d=!("undefined"===typeof window)&&"MacIntel"===window.navigator.platform;t.isModKey=function(e){return d?e.metaKey:e.ctrlKey},t.Priority={HIGH:1,NORMAL:0,LOW:-1}},2962:function(e,t,n){"use strict";n.d(t,{PB:function(){return h},Sv:function(){return b},lX:function(){return p}});var r=n(9008),o=n.n(r),i=n(7294);function a(){return a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a.apply(this,arguments)}function s(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function l(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}var c={templateTitle:"",noindex:!1,nofollow:!1,defaultOpenGraphImageWidth:0,defaultOpenGraphImageHeight:0,defaultOpenGraphVideoWidth:0,defaultOpenGraphVideoHeight:0},u=function(e,t,n){void 0===t&&(t=[]);var r=void 0===n?{}:n,o=r.defaultWidth,a=r.defaultHeight;return t.reduce((function(t,n,r){return t.push(i.createElement("meta",{key:"og:"+e+":0"+r,property:"og:"+e,content:n.url})),n.alt&&t.push(i.createElement("meta",{key:"og:"+e+":alt0"+r,property:"og:"+e+":alt",content:n.alt})),n.secureUrl&&t.push(i.createElement("meta",{key:"og:"+e+":secure_url0"+r,property:"og:"+e+":secure_url",content:n.secureUrl.toString()})),n.type&&t.push(i.createElement("meta",{key:"og:"+e+":type0"+r,property:"og:"+e+":type",content:n.type.toString()})),n.width?t.push(i.createElement("meta",{key:"og:"+e+":width0"+r,property:"og:"+e+":width",content:n.width.toString()})):o&&t.push(i.createElement("meta",{key:"og:"+e+":width0"+r,property:"og:"+e+":width",content:o.toString()})),n.height?t.push(i.createElement("meta",{key:"og:"+e+":height"+r,property:"og:"+e+":height",content:n.height.toString()})):a&&t.push(i.createElement("meta",{key:"og:"+e+":height"+r,property:"og:"+e+":height",content:a.toString()})),t}),[])},d=function(e){var t,n,r,o=[];e.titleTemplate&&(c.templateTitle=e.titleTemplate);var s="";e.title?(s=e.title,c.templateTitle&&(s=c.templateTitle.replace(/%s/g,(function(){return s})))):e.defaultTitle&&(s=e.defaultTitle),s&&o.push(i.createElement("title",{key:"title"},s));var l,d,p=e.noindex||c.noindex||e.dangerouslySetAllPagesToNoIndex,h=e.nofollow||c.nofollow||e.dangerouslySetAllPagesToNoFollow,f="";if(e.robotsProps){var m=e.robotsProps,v=m.nosnippet,g=m.maxSnippet,y=m.maxImagePreview,x=m.maxVideoPreview,b=m.noarchive,w=m.noimageindex,j=m.notranslate,O=m.unavailableAfter;
1f=(v?",nosnippet":"")+(g?",max-snippet:"+g:"")+(y?",max-image-preview:"+y:"")+(b?",noarchive":"")+(O?",unavailable_after:"+O:"")+(w?",noimageindex":"")+(x?",max-video-preview:"+x:"")+(j?",notranslate":"")}(p||h?(e.dangerouslySetAllPagesToNoIndex&&(c.noindex=!0),e.dangerouslySetAllPagesToNoFollow&&(c.nofollow=!0),o.push(i.createElement("meta",{key:"robots",name:"robots",content:(p?"noindex":"index")+","+(h?"nofollow":"follow")+f}))):o.push(i.createElement("meta",{key:"robots",name:"robots",content:"index,follow"+f})),e.description&&o.push(i.createElement("meta",{key:"description",name:"description",content:e.description})),e.mobileAlternate&&o.push(i.createElement("link",{rel:"alternate",key:"mobileAlternate",media:e.mobileAlternate.media,href:e.mobileAlternate.href})),e.languageAlternates&&e.languageAlternates.length>0&&e.languageAlternates.forEach((function(e){o.push(i.createElement("link",{rel:"alternate",key:"languageAlternate-"+e.hrefLang,hrefLang:e.hrefLang,href:e.href}))})),e.twitter&&(e.twitter.cardType&&o.push(i.createElement("meta",{key:"twitter:card",name:"twitter:card",content:e.twitter.cardType})),e.twitter.site&&o.push(i.createElement("meta",{key:"twitter:site",name:"twitter:site",content:e.twitter.site})),e.twitter.handle&&o.push(i.createElement("meta",{key:"twitter:creator",name:"twitter:creator",content:e.twitter.handle}))),e.facebook&&e.facebook.appId&&o.push(i.createElement("meta",{key:"fb:app_id",property:"fb:app_id",content:e.facebook.appId})),null!=(t=e.openGraph)&&t.title||s)&&o.push(i.createElement("meta",{key:"og:title",property:"og:title",content:(null==(l=e.openGraph)?void 0:l.title)||s}));(null!=(n=e.openGraph)&&n.description||e.description)&&o.push(i.createElement("meta",{key:"og:description",property:"og:description",content:(null==(d=e.openGraph)?void 0:d.description)||e.description}));if(e.openGraph){if((e.openGraph.url||e.canonical)&&o.push(i.createElement("meta",{key:"og:url",property:"og:url",content:e.openGraph.url||e.canonical})),e.openGraph.type){var _=e.openGraph.type.toLowerCase();o.push(i.createElement("meta",{key:"og:type",property:"og:type",content:_})),"profile"===_&&e.openGraph.profile?(e.openGraph.profile.firstName&&o.push(i.createElement("meta",{key:"profile:first_name",property:"profile:first_name",content:e.openGraph.profile.firstName})),e.openGraph.profile.lastName&&o.push(i.createElement("meta",{key:"profile:last_name",property:"profile:last_name",content:e.openGraph.profile.lastName})),e.openGraph.profile.username&&o.push(i.createElement("meta",{key:"profile:username",property:"profile:username",content:e.openGraph.profile.username})),e.openGraph.profile.gender&&o.push(i.createElement("meta",{key:"profile:gender",property:"profile:gender",content:e.openGraph.profile.gender}))):"book"===_&&e.openGraph.book?(e.openGraph.book.authors&&e.openGraph.book.authors.length&&e.openGraph.book.authors.forEach((function(e,t){o.push(i.createElement("meta",{key:"book:author:0"+t,property:"book:author",content:e}))})),e.openGraph.book.isbn&&o.push(i.createElement("meta",{key:"book:isbn",property:"book:isbn",content:e.openGraph.book.isbn})),e.openGraph.book.releaseDate&&o.push(i.createElement("meta",{key:"book:release_date",property:"book:release_date",content:e.openGraph.book.releaseDate})),e.openGraph.book.tags&&e.openGraph.book.tags.length&&e.openGraph.book.tags.forEac
1h((function(e,t){o.push(i.createElement("meta",{key:"book:tag:0"+t,property:"book:tag",content:e}))}))):"article"===_&&e.openGraph.article?(e.openGraph.article.publishedTime&&o.push(i.createElement("meta",{key:"article:published_time",property:"article:published_time",content:e.openGraph.article.publishedTime})),e.openGraph.article.modifiedTime&&o.push(i.createElement("meta",{key:"article:modified_time",property:"article:modified_time",content:e.openGraph.article.modifiedTime})),e.openGraph.article.expirationTime&&o.push(i.createElement("meta",{key:"article:expiration_time",property:"article:expiration_time",content:e.openGraph.article.expirationTime})),e.openGraph.article.authors&&e.openGraph.article.authors.length&&e.openGraph.article.authors.forEach((function(e,t){o.push(i.createElement("meta",{key:"article:author:0"+t,property:"article:author",content:e}))})),e.openGraph.article.section&&o.push(i.createElement("meta",{key:"article:section",property:"article:section",content:e.openGraph.article.section})),e.openGraph.article.tags&&e.openGraph.article.tags.length&&e.openGraph.article.tags.forEach((function(e,t){o.push(i.createElement("meta",{key:"article:tag:0"+t,property:"article:tag",content:e}))}))):"video.movie"!==_&&"video.episode"!==_&&"video.tv_show"!==_&&"video.other"!==_||!e.openGraph.video||(e.openGraph.video.actors&&e.openGraph.video.actors.length&&e.openGraph.video.actors.forEach((function(e,t){e.profile&&o.push(i.createElement("meta",{key:"video:actor:0"+t,property:"video:actor",content:e.profile})),e.role&&o.push(i.createElement("meta",{key:"video:actor:role:0"+t,property:"video:actor:role",content:e.role}))})),e.openGraph.video.directors&&e.openGraph.video.directors.length&&e.openGraph.video.directors.forEach((function(e,t){o.push(i.createElement("meta",{key:"video:director:0"+t,property:"video:director",content:e}))})),e.openGraph.video.writers&&e.openGraph.video.writers.length&&e.openGraph.video.writers.forEach((function(e,t){o.push(i.createElement("meta",{key:"video:writer:0"+t,property:"video:writer",content:e}))})),e.openGraph.video.duration&&o.push(i.createElement("meta",{key:"video:duration",property:"video:duration",content:e.openGraph.video.duration.toString()})),e.openGraph.video.releaseDate&&o.push(i.createElement("meta",{key:"video:release_date",property:"video:release_date",content:e.openGraph.video.releaseDate})),e.openGraph.video.tags&&e.openGraph.video.tags.length&&e.openGraph.video.tags.forEac
1h((function(e,t){o.push(i.createElement("meta",{key:"video:tag:0"+t,property:"video:tag",content:e}))})),e.openGraph.video.series&&o.push(i.createElement("meta",{key:"video:series",property:"video:series",content:e.openGraph.video.series})))}e.defaultOpenGraphImageWidth&&(c.defaultOpenGraphImageWidth=e.defaultOpenGraphImageWidth),e.defaultOpenGraphImageHeight&&(c.defaultOpenGraphImageHeight=e.defaultOpenGraphImageHeight),e.openGraph.images&&e.openGraph.images.length&&o.push.apply(o,u("image",e.openGraph.images,{defaultWidth:c.defaultOpenGraphImageWidth,defaultHeight:c.defaultOpenGraphImageHeight})),e.defaultOpenGraphVideoWidth&&(c.defaultOpenGraphVideoWidth=e.defaultOpenGraphVideoWidth),e.defaultOpenGraphVideoHeight&&(c.defaultOpenGraphVideoHeight=e.defaultOpenGraphVideoHeight),e.openGraph.videos&&e.openGraph.videos.length&&o.push.apply(o,u("video",e.openGraph.videos,{defaultWidth:c.defaultOpenGraphVideoWidth,defaultHeight:c.defaultOpenGraphVideoHeight})),e.openGraph.locale&&o.push(i.createElement("meta",{key:"og:locale",property:"og:locale",content:e.openGraph.locale})),e.openGraph.site_name&&o.push(i.createElement("meta",{key:"og:site_name",property:"og:site_name",content:e.openGraph.site_name}))}return e.canonical&&o.push(i.createElement("link",{rel:"canonical",href:e.canonical,key:"canonical"})),e.additionalMetaTags&&e.additionalMetaTags.length>0&&e.additionalMetaTags.forEach((function(e){var t,n,r;o.push(i.createElement("meta",a({key:"meta:"+(null!=(t=null!=(n=null!=(r=e.keyOverride)?r:e.name)?n:e.property)?t:e.httpEquiv)},e)))})),null!=(r=e.additionalLinkTags)&&r.length&&e.additionalLinkTags.forEach((function(e){var t;o.push(i.createElement("link",a({key:"link"+(null!=(t=e.keyOverride)?t:e.href)+e.rel},e)))})),o},p=function(e){function t(){return e.apply(this,arguments)||this}return s(t,e),t.prototype.render=function(){var e=this.props,t=e.title,n=e.titleTemplate,r=e.defaultTitle,a=e.dangerouslySetAllPagesToNoIndex,s=void 0!==a&&a,l=e.dangerouslySetAllPagesToNoFollow,c=void 0!==l&&l,u=e.description,p=e.canonical,h=e.facebook,f=e.openGraph,m=e.additionalMetaTags,v=e.twitter,g=e.defaultOpenGraphImageWidth,y=e.defaultOpenGraphImageHeight,x=e.defaultOpenGraphVideoWidth,b=e.defaultOpenGraphVideoHeight,w=e.mobileAlternate,j=e.languageAlternates,O=e.additionalLinkTags,_=e.robotsProps;return i.createElement(o(),null,d({title:t,titleTemplate:n,defaultTitle:r,dangerouslySetAllPagesToNoIndex:s,dangerouslySetAllPagesToNoFollow:c,description:u,canonical:p,facebook:h,openGraph:f,additionalMetaTags:m,twitter:v,defaultOpenGraphImageWidth:g,defaultOpenGraphImageHeight:y,defaultOpenGraphVideoWidth:x,defaultOpenGraphVideoHeight:b,mobileAlternate:w,languageAlternates:j,additionalLinkTags:O,robotsProps:_}))},t}(i.Component),h=function(e){function t(){return e.apply(this,arguments)||this}return s(t,e),t.prototype.render=function(){var e=this.props,t=e.title,n=e.noindex,r=void 0!==n&&n,a=e.nofollow,s=e.robotsProps,l=e.description,c=e.canonical,u=e.openGraph,p=e.facebook,h=e.twitter,f=e.additionalMetaTags,m=e.titleTemplate,v=e.mobileAlternate,g=e.languageAlternates,y=e.additionalLinkTags;return i.createElement(o(),null,d({title:t,noindex:r,nofollow:a,robotsProps:s,description:l,canonical:c,facebook:p,openGraph:u,additionalMetaTags:f,twitter:h,titleTemplate:m,mobileAlternate:v,languageAlternates:g,additionalLinkTags:y}))},t}(i.Component),f=function(e,t){var n=t.id,r=a({},(void 0===n?void 0:n)?{"@id":t.id}:{},t);return delete r.id,{__html:JSON.stringify(a({"@context":"https://schema.org","@type":e},r),y)}},m=Object.freeze({"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&apos;"}),v=new RegExp("["+Object.keys(m).join("")+"]","g"),g=function(e){return m[e]},y=function(e,t){switch(typeof t){case"object":if(null===t)return;return t;case"number":case"boolean":case"bigint":return t;case"string":return t.replace(v,g);default:return}};function x(e){var t=e.type,n=void 0===t?"Thing":t,r=e.keyOverride,s=e.scriptKey,c=e.scriptId,u=void 0===c?void 0:c,d=l(e,["type","keyOverride","scriptKey","scriptId"]);return i.createElement(o(),null,i.createElement("script",{type:"application/ld+json",id:u,dangerouslySetInnerHTML:f(n,a({},d)),key:"jsonld-"+s+(r?"-"+r:"")}
1))}function b(e){var t=e.type,n=e.keyOverride,r=l(e,["type","keyOverride"]);return i.createElement(x,a({type:t,keyOverride:n},r,{scriptKey:"social"}))}},3454:function(e,t,n){"use strict";var r,o;e.exports=(null==(r=n.g.process)?void 0:r.env)&&"object"===typeof(null==(o=n.g.process)?void 0:o.env)?n.g.process:n(7663)},6840:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/_app",function(){return n(1556)}])},3258:function(e,t,n){"use strict";n.d(t,{c8:function(){return o}});var r=n(9798),o=JSON.parse('[{"name":"Electronics and Telecommunications Research Institute","description":"Research Intern","period":"2023.07 \u2013 2023.08","link":"https://www.etri.re.kr/eng/main/main.etri","githubLink":"","iconName":"ETRI","image":{"height":"632","width":"1200","url":"/static/images/ETRI.jpg","type":"CloudinaryImage","_raw":{}},"body":{"raw":"\\nUndergraduate research internship at ETRI.\\n","code":"var Component=(()=>{var h=Object.create;var r=Object.defineProperty;var p=Object.getOwnPropertyDescriptor;var d=Object.getOwnPropertyNames;var g=Object.getPrototypeOf,l=Object.prototype.hasOwnProperty;var x=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),j=(t,e)=>{for(var n in e)r(t,n,{get:e[n],enumerable:!0})},o=(t,e,n,c)=>{if(e&&typeof e==\\"object\\"||typeof e==\\"function\\")for(let i of d(e))!l.call(t,i)&&i!==n&&r(t,i,{get:()=>e[i],enumerable:!(c=p(e,i))||c.enumerable});return t};var f=(t,e,n)=>(n=t!=null?h(g(t)):{},o(e||!t||!t.__esModule?r(n,\\"default\\",{value:t,enumerable:!0}):n,t)),w=t=>o(r({},\\"__esModule\\",{value:!0}),t);var m=x((b,s)=>{s.exports=_jsx_runtime});var E={};j(E,{default:()=>_,frontmatter:()=>I});var a=f(m()),I={name:\\"Electronics and Telecommunications Research Institute\\",description:\\"Research Intern\\",period:\\"2023.07 \\\\u2013 2023.08\\",link:\\"https://www.etri.re.kr/eng/main/main.etri\\",githubLink:\\"\\",iconName:\\"ETRI\\",image:{url:\\"/static/images/ETRI.jpg\\",height:\\"632\\",width:\\"1200\\"}};function u(t){let e=Object.assign({p:\\"p\\"},t.components);return(0,a.jsx)(e.p,{children:\\"Undergraduate research internship at ETRI.\\"})}function R(t={}){let{wrapper:e}=t.components||{};return e?(0,a.jsx)(e,Object.assign({},t,{children:(0,a.jsx)(u,t)})):u(t)}var _=R;return w(E);})();\\n;return Component;"},"_id":"projects/ETRI-intern.mdx","_raw":{"sourceFilePath":"projects/ETRI-intern.mdx","sourceFileName":"ETRI-intern.mdx","sourceFileDir":"projects","contentType":"mdx","flattenedPath":"projects/ETRI-intern"},"type":"Project","slug":"ETRI-intern"},{"name":"Electronics and Telecommunications Research Institute","description":"Post-Master\'s Researcher","period":"2026.01 \u2013 Present","link":"https://www.etri.re.kr/eng/main/main.etri","githubLink":"","iconName":"ETRI","image":{"height":"632","width":"1200","url":"/static/images/ETRI.jpg","type":"CloudinaryImage","_raw":{}},"body":{"raw":"\\nTBU\\n","code":"var Component=(()=>{var p=Object.create;var r=Object.defineProperty;var h=Object.getOwnPropertyDescriptor;var d=Object.getOwnPropertyNames;var g=Object.getPrototypeOf,l=Object.prototype.hasOwnProperty;var x=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),j=(t,e)=>{for(var n in e)r(t,n,{get:e[n],enumerable:!0})},c=(t,e,n,o)=>{if(e&&typeof e==\\"object\\"||typeof e==\\"function\\")for(let i of d(e))!l.call(t,i)&&i!==n&&r(t,i,{get:()=>e[i],enumerable:!(o=h(e,i))||o.enumerable});return t};var f=(t,e,n)=>(n=t!=null?p(g(t)):{},c(e||!t||!t.__esModule?r(n,\\"default\\",{value:t,enumerable:!0}):n,t)),w=t=>c(r({},\\"__esModule\\",{value:!0}),t);var m=x((k,a)=>{a.exports=_jsx_runtime});var T={};j(T,{default:()=>R,frontmatter:()=>_});var s=f(m()),_={name:\\"Electronics and Telecommunications Research Institute\\",description:\\"Post-Master\'s Researcher\\",period:\\"2026.01 \\\\u2013 Present\\",link:\\"https://www.etri.re.kr/eng/main/main.etri\\",githubLink:\\"\\",iconName:\\"ETRI\\",image:{url:\\"/static/images/ETRI.jpg\\",height:\\"632\\",width:\\"1200\\"}};function u(t){let e=Object.assign({p:\\"p\\"},t.components);return(0,s.jsx)(e.p,{children:\\"TBU\\"})}function M(t={}){let{wrapper:e}=t.components||{};return e?(0,s.jsx)(e,Object.assign({},t,{children:(0,s.jsx)(u,t)})):u(t)}var R=M;return w(T);})();\\n;return Component;"},"_id":"projects/ETRI.mdx","_raw":{"sourceFilePath":"projects/ETRI.mdx","sourceFileName":"ETRI.mdx","sourceFileDir":"projects","contentType":"mdx","flattenedPath":"projects/ETRI"},"type":"Project","slug":"ETRI"}]'),i=JSON.parse('[{"title":"Cryptography with Python using Fernet","date":"2021-04-10","cannonicalURL":"https://blog.anishde.dev/cryptography-with-python-using-fernet","image":{"height":"1080","width":"1920","url":"https://cdn.hashnode.com/res/hashnode/image/upload/v1618046247940%2FJiNf1vAbR.png","type":"CloudinaryImage","_raw":{}},"body":{"raw":"\\nLet us look at how to encrypt text and files using Python.\\nFor this we are going to be using [Fernet](https://cryptography.io/en/latest/fernet.html) which is a part of python\'s cryptography package\\n\\nSo let us get right into it\\n\\nOk firstly we need to downloaded the cryptography package using `pip`\\n\\nOn Windows:\\n\\n```sh\\npip install cryptography\\n```\\n\\nOn Linux/macOS:\\n\\n```sh\\npip3 install cryptography\\n```\\n\\nAfter we have executed the command in the terminal, we are ready to start coding.\\n\\nYou might want to use your favourite code editor (vscode, sublime text, atom etc...) or any IDE.\\n\\nNow let us first import the required library\\n\\n```python\\nfrom cryptography.fernet import Fernet\\n```\\n\\nThen we are going to define a function that will write the key to a file\\n\\n```python\\n
1def write_key():\\n    key = Fernet.generate_key() # Generates the key\\n    with open(\\"key.key\\", \\"wb\\") as key_file: # Opens the file the key is to be written to\\n        key_file.write(key) # Writes the key\\n```\\n\\nWe will also write down a function that will help with reading and loading the key into a variable\\n\\n```python\\ndef load_key():\\n    return open(\\"key.key\\", \\"rb\\").read() #Opens the file, reads and returns the key stored in the file\\n```\\n\\nNow let us take the message we are going to encode as user input and encode it to bytes because that is how fernet works\\n\\n```python\\nmessage = input(\\"Message: \\").encode() # Takes the message as user input and encodes it\\n```\\n\\nNow we need to write are top secret key to the key file. We are going to run this only once and then comment the line out because we don\'t want it to write a new key down every time the code is run. \\n\\n```python\\nwrite_key() # Writes the key to the key file\\n```\\nNow we need to load the key i.e. read the key from the key file and store it in a variable called as `key` though you can name it whatever you want\\n\\n```python\\nkey = load_key() # Loads the key and stores it in a variable\\n```\\n\\nNow we need to initialize the fernet object by passing in the key we just loaded\\n\\n```python\\nf = Fernet(key)\\n```\\n\\nNow let us get to the main part, encrypting the message\\nAlso let us print it out\\n\\n```python\\nencrypted_message = f.encrypt(message)\\nprint(encrypted_message)\\n```\\n\\nOutput:\\n\\n![image.png](https://cdn.hashnode.com/res/hashnode/image/upload/v1618045556166/NkVXFrg-7.png)\\n\\nYou see that the encrypted message cannot be understood by anyone so it is safe now and will be the same unless decrypted with the same key\\n\\nTo decrypt, it is a very similar process\\n```python\\ndecrypted_message = f.decrypt(encrypred_message)\\nprint(decrypted_message)\\n```\\n\\nOutput:\\n\\n![image.png](https://cdn.hashnode.com/res/hashnode/image/upload/v1618045676137/GQuPm-UeO.png)\\nSo here, first the message is encrypted and is printed out and then we decrypt it and print it in the next line. If the initial message and the decrypted message are the exact same, our code has worked!!!\\n\\nSo that was it for this tiny blog (and it was my first blog ever so leave down some feedback!!!)\\n\\n# Video Tutorial:\\n[Link](https://youtu.be/P2k4f1tu-ss)\\n\\n%[https://www.youtube.com/watch?v=P2k4f1tu-ss]\\n","code":"var Component=(()=>{var h=Object.create;var r=Object.defineProperty;var p=Object.getOwnPropertyDescriptor;var y=Object.getOwnPropertyNames;var g=Object.getPrototypeOf,m=Object.prototype.hasOwnProperty;var u=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),D=(t,e)=>{for(var a in e)r(t,a,{get:e[a],enumerable:!0})},s=(t,e,a,d)=>{if(e&&typeof e==\\"object\\"||typeof e==\\"function\\")for(let l of y(e))!m.call(t,l)&&l!==a&&r(t,l,{get:()=>e[l],enumerable:!(d=p(e,l))||d.enumerable});return t};var f=(t,e,a)=>(a=t!=null?h(g(t)):{},s(e||!t||!t.__esModule?r(a,\\"default\\",{value:t,enumerable:!0}):a,t)),w=t=>s(r({},\\"__esModule\\",{value:!0}),t);var c=u((b,o)=>{o.exports=_jsx_runtime});var v={};D(v,{default:()=>C,frontmatter:()=>F});var n=f(c()),F={title:\\"Cryptography with Python using Fernet\\",date:\\"2021-04-10\\",cannonicalURL:\\"https://blog.anishde.dev/cryptography-with-python-using-fernet\\",image:{url:\\"https://cdn.hashnode.com/res/hashnode/image/upload/v1618046247940%2FJiNf1vAbR.png\\",height:\\"1080\\",width:\\"1920\\"}};function i(t){let e=Object.assign({p:\\"p\\",a:\\"a\\",code:\\"code\\",div:\\"div\\",pre:\\"pre\\",span:\\"span\\",img:\\"img\\",h1:\\"h1\\"},t.components);return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(e.p,{children:[`Let us look at how to encrypt text and files using Python.\\nFor this we are going to be using `,(0,n.jsx)(e.a,{href:\\"https://cryptography.io/en/latest/fernet.html\\",children:\\"Fernet\\"}),\\" which is a part of python\'s cryptography package\\"]}),`\\n`,(0,n.jsx)(e.p,{children:\\"So let us get right into it\\"}),`\\n`,(0,n.jsxs)(e.p,{children:[\\"Ok firstly we need to downloaded the cryptography package using \\",(0,n.jsx)(e.code,{children:\\"pip\\"})]}),`\\n`,(0,n.jsx)(e.p,{children:\\"On Windows:\\"}),`\\n`,(0,n.jsx)(e.div,{\\"data-rehype-pretty-code-fragment\\":\\"\\",children:(0,n.jsx)(e.pre,{\\"data-language\\":\\"sh\\",\\"data-theme\\":\\"default\\",children:(0,n.jsx)(e.code,{\\"data-language\\":\\"sh\\",\\"data-theme\\":\\"default\\",children:(0,n.jsx)(e.span,{className:\\"line\\",children:(0,n.jsx)(e.span,{style:{color:\\"#C9D1D9\\"},children:\\"pip install cryptography\\"})})})})}),`\\n`,(0,n.jsx)(e.p,{children:\\"On Linux/macOS:\\"}),`\\n`,(0,n.jsx)(e.div,{\\"data-rehype-pretty-code-fragment\\":\\"\\",children:(0,n.jsx)(e.pre,{\\"data-language\\":\\"sh\\",\\"data-theme\\":\\"default\\",children:(0,n.jsx)(e.code,{\\"data-language\\":\\"sh\\",\\"data-theme\\":\\"default\\",children:(0,n.jsx)(e.span,{className:\\"line\\",children:(0,n.jsx)(e.span,{style:{color:\\"#C9D1D9\\"},children:\\"pip3 install cryptography\\"})})})})}),`\\n`,(0,n.jsx)(e.p,{children:\\"After we have executed the command in the terminal, we are ready to start coding.\\"}),`\\n`,(0,n.jsx)(e.p,{children:\\"You might want to use your favourite code editor (vscode, sublime text, atom etc...) or any IDE.\\"}),`\\n`,(0,n.jsx)(e.p,{children:\\"Now let us first import the required library\\"}),`\\n`,(0,n.jsx)(e.div,{\\"data-rehype-pretty-code-fragment\\":\\"\\",children:(0,n.jsx)(e.pre,{\\"data-language\\":\\"python\\",\\"data-theme\\":\\"default\\",children:(0,n.jsx)(e.code,{\\"data-language\\":\\"python\\",\\"data-theme\\":\\"default\\",children:(0,n.jsxs)(e.span,{className:\\"line\\",children:[(0,n.jsx)(e.span,{style:{color:\\"#FF7B72\\"},children:\\"from\\"}),(0,n.jsx)(e.span,{style:{color:\\"#C9D1D9\\"},children:\\" cryptography.fernet \\"}),(0,n.jsx)(e.span,{style:{color:\\"#FF7B72\\"},children:\\"import\\"}),(0,n.jsx)(e.span,{style:{color:\\"#C9D1D9\\"},children:\\" Fernet\\"})]})})})}),`\\n`,(0,n.jsx)(e.p,{children:\\"Then we are going to define a function that will write the key to a file\\"}),`\\n`,(0,n.jsx)(e.div,{\\"data-rehype-pretty-code-fragment\\":\\"\\",children:(0,n.jsx)(e.pre,{\\"data-language\\":\\"python\\",\\"data-theme\\":\\"default\\",children:(0,n.jsxs)(e.code,{\\"data-language\\":\\"python\\",\\"data-theme\\":\\"default\\",children:[(0,n.jsxs)(e.span,{className:\\"line\\",children:[(0,n.jsx)(e.span,{style:{color:\\"#FF7B72\\"},children:\\"def\\"}),(0,n.jsx)(e.span,{style:{color:\\"#C9D1D9\\"},children:\\" \\"}),(0,n.jsx)(e.span,{style:{color:\\"#D2A8FF\\"}
1,children:\\"write_key\\"}),(0,n.jsx)(e.span,{style:{color:\\"#C9D1D9\\"},children:\\"():\\"})]}),`\\n`,(0,n.jsxs)(e.span,{className:\\"line\\",children:[(0,n.jsx)(e.span,{style:{color:\\"#C9D1D9\\"},children:\\"    key \\"}),(0,n.jsx)(e.span,{style:{color:\\"#FF7B72\\"},children:\\"=\\"}),(0,n.jsx)(e.span,{style:{color:\\"#C9D1D9\\"},children:\\" Fernet.generate_key() \\"}),(0,n.jsx)(e.span,{style:{color:\\"#8B949E\\"},children:\\"# Generates the key\\"})]}),`\\n`,(0,n.jsxs)(e.span,{className:\\"line\\",children:[(0,n.jsx)(e.span,{style:{color:\\"#C9D1D9\\"},children:\\"    \\"}),(0,n.jsx)(e.span,{style:{color:\\"#FF7B72\\"},children:\\"with\\"}),(0,n.jsx)(e.span,{style:{color:\\"#C9D1D9\\"},children:\\" \\"}),(0,n.jsx)(e.span,{style:{color:\\"#79C0FF\\"},children:\\"open\\"}),(0,n.jsx)(e.span,{style:{color:\\"#C9D1D9\\"},children:\\"(\\"}),(0,n.jsx)(e.span,{style:{color:\\"#A5D6FF\\"},children:\'\\"key.key\\"\'}),(0,n.jsx)(e.span,{style:{color:\\"#C9D1D9\\"},children:\\", \\"}),(0,n.jsx)(e.span,{style:{color:\\"#A5D6FF\\"},children:\'\\"wb\\"\'}),(0,n.jsx)(e.span,{style:{color:\\"#C9D1D9\\"},children:\\") \\"}),(0,n.jsx)(e.span,{style:{color:\\"#FF7B72\\"},children:\\"as\\"}),(0,n.jsx)(e.span,{style:{color:\\"#C9D1D9\\"},children:\\" key_file: \\"}),(0,n.jsx)(e.span,{style:{color:\\"#8B949E\\"},children:\\"# Opens the file the key is to be written to\\"})]}),`\\n`,(0,n.jsxs)(e.span,{className:\\"line\\",children:[(0,n.jsx)(e.span,{style:{color:\\"#C9D1D9\\"},children:\\"        key_file.write(key) \\"}),(0,n.jsx)(e.span,{style:{color:\\"#8B949E\\"},children:\\"# Writes the key\\"})]})]})})}),`\\n`,(0,n.jsx)(e.p,{children:\\"We will also write down a function that will help with reading and loading the key into a variable\\"}),`\\n`,(0,n.jsx)(e.div,{\\"data-rehype-pretty-code-fragment\\":\\"\\",children:(0,n.jsx)(e.pre,{\\"data-language\\":\\"python\\",\\"data-theme\\":\\"default\\",children:(0,n.jsxs)(e.code,{\\"data-language\\":\\"python\\",\\"data-theme\\":\\"default\\",children:[(0,n.jsxs)(e.span,{className:\\"line\\",children:[(0,n.jsx)(e.span,{style:{color:\\"#FF7B72\\"},children:\\"def\\"}),(0,n.jsx)(e.span,{style:{color:\\"#C9D1D9\\"},children:\\" \\"}),(0,n.jsx)(e.span,{style:{color:\\"#D2A8FF\\"},children:\\"load_key\\"}),(0,n.jsx)(e.span,{style:{color:\\"#C9D1D9\\"},children:\\"():\\"})]}),`\\n`,(0,n.jsxs)(e.span,{className:\\"line\\",children:[(0,n.jsx)(e.span,{style:{color:\\"#C9D1D9\\"},children:\\"    \\"}),(0,n.jsx)(e.span,{style:{color:\\"#FF7B72\\"},children:\\"return\\"}),(0,n.jsx)(e.span,{style:{color:\\"#C9D1D9\\"},children:\\" \\"}),(0,n.jsx)(e.span,{style:{color:\\"#79C0FF\\"},children:\\"open\\"}),(0,n.jsx)(e.span,{style:{color:\\"#C9D1D9\\"},children:\\"(\\"}),(0,n.jsx)(e.span,{style:{color:\\"#A5D6FF\\"},children:\'\\"key.key\\"\'}),(0,n.jsx)(e.span,{style:{color:\\"#C9D1D9\\"},children:\\", \\"}),(0,n.jsx)(e.span,{style:{color:\\"#A5D6FF\\"},children:\'\\"rb\\"\'}),(0,n.jsx)(e.span,{style:{color:\\"#C9D1D9\\"},children:\\").read() \\"}),(0,n.jsx)(e.span,{style:{color:\\"#8B949E\\"},children:\\"#Opens the file, reads and returns the key stored in the file\\"})]})]})})}),`\\n`,(0,n.jsx)(e.p,{children:\\"Now let us take the message we are going to encode as user input and encode it to bytes because that is how fernet works\\"}),`\\n`,(0,n.jsx)(e.div,{\\"data-rehype-pretty-code-fragment\\":\\"\\",children:(0,n.jsx)(e.pre,{\\"data-language\\":\\"python\\",\\"data-theme\\":\\"default\\",children:(0,n.jsx)(e.code,{\\"data-language\\":\\"python\\",\\"data-theme\\":\\"default\\",children:(0,n.jsxs)(e.span,{className:\\"line\\",children:[(0,n.jsx)(e.span,{style:{color:\\"#C9D1D9\\"},children:\\"message \\"}),(0,n.jsx)(e.span,{style:{color:\\"#FF7B72\\"},children:\\"=\\"}),(0,n.jsx)(e.span,{style:{color:\\"#C9D1D9\\"},children:\\" \\"}),(0,n.jsx)(e.span,{style:{color:\\"#79C0FF\\"},children:\\"input\\"}),(0,n.jsx)(e.span,{style:{color:\\"#C9D1D9\\"},children:\\"(\\"}),(0,n.jsx)(e.span,{style:{color:\\"#A5D6FF\\"},children:\'\\"Message: \\"\'}),(0,n.jsx)(e.span,{style:{color:\\"#C9D1D9\\"},children:\\").encode() \\"}),(0,n.jsx)(e.span,{style:{color:\\"#8B949E\\"},children:\\"# Takes the message as user input and encodes it\\"})]})})})}),`\\n`,(0,n.jsx)(e.p,{children:\\"Now we need to write are top secret key to the key file. We are going to run this only once and then comment the line out because we don\'t want it to write a new key down every time the code is run.\\"}),`\\n`,(0,n.jsx)(e.div,{\\"data-rehype-pretty-code-fragment\\":\\"\\",children:(0,n.jsx)(e.pre,{\\"data-language\\":\\"python\\",\\"data-theme\\":\\"default\\",children:(0,n.jsx)(e.code,{\\"data-language\\":\\"python\\",\\"data-theme\\":\\"default\\",children:(0,n.jsxs)(e.span,{className:\\"line\\",children:[(0,n.jsx)(e.span,{style:{color:\\"#C9D1D9\\"}
1,children:\\"write_key() \\"}),(0,n.jsx)(e.span,{style:{color:\\"#8B949E\\"},children:\\"# Writes the key to the key file\\"})]})})})}),`\\n`,(0,n.jsxs)(e.p,{children:[\\"Now we need to load the key i.e. read the key from the key file and store it in a variable called as \\",(0,n.jsx)(e.code,{children:\\"key\\"}),\\" though you can name it whatever you want\\"]}),`\\n`,(0,n.jsx)(e.div,{\\"data-rehype-pretty-code-fragment\\":\\"\\",children:(0,n.jsx)(e.pre,{\\"data-language\\":\\"python\\",\\"data-theme\\":\\"default\\",children:(0,n.jsx)(e.code,{\\"data-language\\":\\"python\\",\\"data-theme\\":\\"default\\",children:(0,n.jsxs)(e.span,{className:\\"line\\",children:[(0,n.jsx)(e.span,{style:{color:\\"#C9D1D9\\"},children:\\"key \\"}),(0,n.jsx)(e.span,{style:{color:\\"#FF7B72\\"},children:\\"=\\"}),(0,n.jsx)(e.span,{style:{color:\\"#C9D1D9\\"},children:\\" load_key() \\"}),(0,n.jsx)(e.span,{style:{color:\\"#8B949E\\"},children:\\"# Loads the key and stores it in a variable\\"})]})})})}),`\\n`,(0,n.jsx)(e.p,{children:\\"Now we need to initialize the fernet object by passing in the key we just loaded\\"}),`\\n`,(0,n.jsx)(e.div,{\\"data-rehype-pretty-code-fragment\\":\\"\\",children:(0,n.jsx)(e.pre,{\\"data-language\\":\\"python\\",\\"data-theme\\":\\"default\\",children:(0,n.jsx)(e.code,{\\"data-language\\":\\"python\\",\\"data-theme\\":\\"default\\",children:(0,n.jsxs)(e.span,{className:\\"line\\",children:[(0,n.jsx)(e.span,{style:{color:\\"#C9D1D9\\"},children:\\"f \\"}),(0,n.jsx)(e.span,{style:{color:\\"#FF7B72\\"},children:\\"=\\"}),(0,n.jsx)(e.span,{style:{color:\\"#C9D1D9\\"},children:\\" Fernet(key)\\"})]})})})}),`\\n`,(0,n.jsx)(e.p,{children:`Now let us get to the main part, encrypting the message\\nAlso let us print it out`}),`\\n`,(0,n.jsx)(e.div,{\\"data-rehype-pretty-code-fragment\\":\\"\\",children:(0,n.jsx)(e.pre,{\\"data-language\\":\\"python\\",\\"data-theme\\":\\"default\\",children:(0,n.jsxs)(e.code,{\\"data-language\\":\\"python\\",\\"data-theme\\":\\"default\\",children:[(0,n.jsxs)(e.span,{className:\\"line\\",children:[(0,n.jsx)(e.span,{style:{color:\\"#C9D1D9\\"},children:\\"encrypted_message \\"}),(0,n.jsx)(e.span,{style:{color:\\"#FF7B72\\"},children:\\"=\\"}),(0,n.jsx)(e.span,{style:{color:\\"#C9D1D9\\"},children:\\" f.encrypt(message)\\"})]}),`\\n`,(0,n.jsxs)(e.span,{className:\\"line\\",children:[(0,n.jsx)(e.span,{style:{color:\\"#79C0FF\\"},children:\\"print\\"}),(0,n.jsx)(e.span,{style:{color:\\"#C9D1D9\\"},children:\\"(encrypted_message)\\"})]})]})})}),`\\n`,(0,n.jsx)(e.p,{children:\\"Output:\\"}),`\\n`,(0,n.jsx)(e.p,{children:(0,n.jsx)(e.img,{src:\\"https://cdn.hashnode.com/res/hashnode/image/upload/v1618045556166/NkVXFrg-7.png\\",alt:\\"image.png\\"})}),`\\n`,(0,n.jsx)(e.p,{children:\\"You see that the encrypted message cannot be understood by anyone so it is safe now and will be the same unless decrypted with the same key\\"}),`\\n`,(0,n.jsx)(e.p,{children:\\"To decrypt, it is a very similar process\\"}),`\\n`,(0,n.jsx)(e.div,{\\"data-rehype-pretty-code-fragment\\":\\"\\",children:(0,n.jsx)(e.pre,{\\"data-language\\":\\"python\\",\\"data-theme\\":\\"default\\",children:(0,n.jsxs)(e.code,{\\"data-language\\":\\"python\\",\\"data-theme\\":\\"default\\",children:[(0,n.jsxs)(e.span,{className:\\"line\\",children:[(0,n.jsx)(e.span,{style:{color:\\"#C9D1D9\\"},children:\\"decrypted_message \\"}),(0,n.jsx)(e.span,{style:{color:\\"#FF7B72\\"},children:\\"=\\"}),(0,n.jsx)(e.span,{style:{color:\\"#C9D1D9\\"},children:\\" f.decrypt(encrypred_message)\\"})]}),`\\n`,(0,n.jsxs)(e.span,{className:\\"line\\",children:[(0,n.jsx)(e.span,{style:{color:\\"#79C0FF\\"},children:\\"print\\"}),(0,n.jsx)(e.span,{style:{color:\\"#C9D1D9\\"},children:\\"(decrypted_message)\\"})]})]})})}),`\\n`,(0,n.jsx)(e.p,{children:\\"Output:\\"}),`\\n`,(0,n.jsxs)(e.p,{children:[(0,n.jsx)(e.img,{src:\\"https://cdn.hashnode.com/res/hashnode/image/upload/v1618045676137/GQuPm-UeO.png\\",alt:\\"image.png\\"}),`\\nSo here, first the message is encrypted and is printed out and then we decrypt it and print it in the next line. If the initial message and the decrypted message are the exact same, our code has 
1worked!!!`]}),`\\n`,(0,n.jsx)(e.p,{children:\\"So that was it for this tiny blog (and it was my first blog ever so leave down some feedback!!!)\\"}),`\\n`,(0,n.jsxs)(e.h1,{id:\\"video-tutorial\\",children:[(0,n.jsx)(e.a,{className:\\"anchor\\",href:\\"#video-tutorial\\",children:(0,n.jsx)(e.span,{className:\\"icon icon-link\\"})}),\\"Video Tutorial:\\"]}),`\\n`,(0,n.jsx)(e.p,{children:(0,n.jsx)(e.a,{href:\\"https://youtu.be/P2k4f1tu-ss\\",children:\\"Link\\"})}),`\\n`,(0,n.jsx)(e.p,{children:\\"%[https://www.youtube.com/watch?v=P2k4f1tu-ss]\\"})]})}function k(t={}){let{wrapper:e}=t.components||{};return e?(0,n.jsx)(e,Object.assign({},t,{children:(0,n.jsx)(i,t)})):i(t)}var C=k;return w(v);})();\\n;return Component;"},"_id":"blog/cryptography-with-python-using-fernet.mdx","_raw":{"sourceFilePath":"blog/cryptography-with-python-using-fernet.mdx","sourceFileName":"cryptography-with-python-using-fernet.mdx","sourceFileDir":"blog","contentType":"mdx","flattenedPath":"blog/cryptography-with-python-using-fernet"},"type":"BlogPost","slug":"cryptography-with-python-using-fernet","dateUpdated":"Fri Aug 28 2026","readingTime":{"text":"3 min read","minutes":2.445,"time":146700,"words":489},"wordCount":491},{"title":"The Random Library in Python","date":"2021-04-21","cannonicalURL":"https://blog.anishde.dev/the-random-library-in-python","image":{"height":"1080","width":"1920","url":"https://cdn.hashnode.com/res/hashnode/image/upload/v1619014305729%2FivierDSCN.png","type":"CloudinaryImage","_raw":{}},"body":{"raw":"\\nYou might need your program to choose a random lucky winner from a list of people participating in a lottery or maybe you want to chooses a random fruit from a list of fruits the doctor made you. There are many use cases for this library and let us see how we can use this library.\\n\\n# Installation and Importing\\n\\nThe library is included with the normal python installation so you don\'t need to install using `pip`\\n\\nWe need to import the library though so let us do that real quick\\n```python\\nimport random\\n```\\n# Important and Common functions\\n## `random.choice()`\\n\\nNow that we have imported the library, let us quickly go through some of the common and important functions the library comes with\\n\\nLet us see `random.choice()` first\\nThis will pick a random item from any iterable object (list, string etc.)\\n\\nExample:\\n```python\\nimport random\\n\\nlist = [\\"banana\\", \\"apple\\", \\"guava\\", \\"cherry\\", \\"strawberry\\", \\"mango\\"]\\nprint(random.choice(list))\\n# Will pick any random fruit from the list and print that\\n\\nstr = \\"Coronavirus cases have spiked again!!!\\"\\nprint(random.choice(str))\\n# Will pick any random character from the string and print it out\\n```\\n\\n![image.png](https://cdn.hashnode.com/res/hashnode/image/upload/v1619011131901/tCxW4n6sG.png)\\nSo in the above image we can see that each and every time the function is run, it will print out a different value as it is picking out randomly\\n\\n## `random.randrange()`\\n\\nNow this is an interesting function and probably the one most are looking for. It basically picks out a random number from a range of numbers\\n\\nExample:\\n```python\\nimport random\\n\\nprint(random.randrange(1, 20, 2))\\n# Now it will print out any random number amongst 1, 3, 5, 7, 9, 11, 13, 15, 17 and 19\\n```\\n\\n![image.png](https://cdn.hashnode.com/res/hashnode/image/upload/v1619012224758/YGFpml6fm.png)\\n\\nThere are 3 arguments taken in of which the first two are compulsory and third one is optional and be default `1`. But what are the arguments?\\n\\n1. The first argument is the number from which the range starts\\n2. The second argument is the number where the range ends\\n3. The third argument is the step which is the number of numbers to skip while making the list of the numbers\\n\\nNow does that sound similar?\\nYes, this are the exact same arguments take in by the `range` function which is in-built in Python. The `random.randrange()` function basically creates a list from the range with the arguments given and then picks out a random.\\n\\n## `random.random()`\\nNow this one is a pretty simple one. It returns a float value between 0 and 1\\n\\nExample:\\n```python\\nimport random\\n\\nprint(random.random())\\n```\\n\\n\\
1n![image.png](https://cdn.hashnode.com/res/hashnode/image/upload/v1619012345562/7hvScY8I0.png)\\n\\n## `random.seed()`\\nNow this one is a bit tough to understand. So the seed function is basically used to save the state of a random function so that it can generate some random numbers on multiple executions of the code on the same machine or on a different machine for a specific seed value. The seed value is the previous random value generated by the generator or if run for the first time, it is set to the current system time.\\n\\nExample:\\n```python\\nimport random\\n\\nrandom.seed(10)\\nprint(\\"A mapped random number with seed 10 is: \\" + random.random())\\n```\\n\\n\\n![image.png](https://cdn.hashnode.com/res/hashnode/image/upload/v1619012999682/zBSuSyECY.png)\\n\\n## `random.shuffle()`\\nAs the name of the function suggests, we can use it to shuffle a list i.e. change the position of the items in the list.\\n\\nExample:\\n```python\\nimport random\\n\\ncities = [\\"London\\", \\"Bangalore\\", \\"Delhi\\", \\"Mumbai\\", \\"Tokyo\\", \\"New York City\\"]\\n\\nprint(\\"List before shuffling: \\")\\nprint(cities)\\nprint(\\"List after shuffling: \\")\\nrandom.shuffle(cities)\\nprint(cities)\\n```\\n\\n\\n![image.png](https://cdn.hashnode.com/res/hashnode/image/upload/v1619013686663/udyuXWOr0.png)\\n\\n## `random.uniform()`\\nThis one is pretty similar to `random.randrange()` but then returns a `float` value instead of an `integer` value and does not take any step in input\\n\\nArguments:\\n1. Lower Limit - included in generation\\n2. Upper Limit - Excluded in generation\\n\\nExample:\\n```python\\nimport random\\n\\nprint(random.uniform(10, 15))\\n```\\n\\n\\n![image.png](https://cdn.hashnode.com/res/hashnode/image/upload/v1619013874416/Up-dkAYDWMn.png)\\n\\n## `random.randint()`\\nTakes 2 arguments as the lower limit and the upper limit. The returned number is between these 2 values and can be anyone of them as well.\\n\\nExample:\\n```python\\nimport random\\n\\nrandom.randint(50, 100)\\n```\\n\\n![image.png](https://cdn.hashnode.com/res/hashnode/image/upload/v1619069311578/TV5dVrBER.png)\\n\\nSo that was some of the most important and commonly used functions of the `random` package and that is it for this blog!!!\\n\\n[Link](https://docs.python.org/3/library/random.html) to random package docs if you want to explore more - https://docs.python.org/3/library/random.html\\n","code":"var Component=(()=>{var h=Object.create;var i=Object.defineProperty;var p=Object.getOwnPropertyDescriptor;var m=Object.getOwnPropertyNames;var y=Object.getPrototypeOf,u=Object.prototype.hasOwnProperty;var g=(a,n)=>()=>(n||a((n={exports:{}}).exports,n),n.exports),D=(a,n)=>{for(var l in n)i(a,l,{get:n[l],enumerable:!0})},s=(a,n,l,o)=>{if(n&&typeof n==\\"object\\"||typeof n==\\"function\\")for(let r of m(n))!u.call(a,r)&&r!==l&&i(a,r,{get:()=>n[r],enumerable:!(o=p(n,r))||o.enumerable});return a};var f=(a,n,l)=>(l=a!=null?h(y(a)):{},s(n||!a||!a.__esModule?i(l,\\"default\\",{value:a,enumerable:!0}):l,a)),F=a=>s(i({},\\"__esModule\\",{value:!0}),a);var t=g((k,c)=>{c.exports=_jsx_runtime});var w={};D(w,{default:()=>b,frontmatter:()=>C});var e=f(t()),C={title:\\"The Random Library in Python\\",date:\\"2021-04-21\\",cannonicalURL:\\"https://blog.anishde.dev/the-random-library-in-python\\",image:{url:\\"https://cdn.hashnode.com/res/hashnode/image/upload/v1619014305729%2FivierDSCN.png\\",height:\\"1080\\",width:\\"1920\\"}};function d(a){let n=Object.assign({p:\\"p\\",h1:\\"h1\\",a:\\"a\\",span:\\"span\\",code:\\"code\\",div:\\"div\\",pre:\\"pre\\",h2:\\"h2\\",img:\\"img\\",ol:\\"ol\\",li:\\"li\\"},a.components);return(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(n.p,{children:\\"You might need your program to choose a random lucky winner from a list of people participating in a lottery or maybe you want to chooses a random fruit from a list of fruits the doctor made you. There are many use cases for this library and let us see how we can use this library.\\"}),`\\n`,(0,e.jsxs)(n.h1,{id:\\"installation-and-importing\\",children:[(0,e.jsx)(n.a,{className:\\"anchor\\",href:\\"#installation-and-importing\\",children:(0,e.jsx)(n.span,{className:\\"icon icon-link\\"})}),\\"Installation and Importing\\"]}),`\\n`,(0,e.jsxs)(n.p,{children:[\\"The library is included with the normal python installation so you don\'t need to install using \\",(0,e.jsx)(n.code,{children:\\"pip\\"})]}),`\\n`,(0,e.jsx)(n.p,{children:\\"We need to import the library though so let us do that real quick\\"}),`\\n`,(0,e.jsx)(n.div,{\\"data-rehype-pretty-code-fragment\\":\\"\\",children:(0,e.jsx)(n.pre,{\\"data-language\\":\\"python\\",\\"data-theme\\":\\"default\\",children:(0,e.jsx)(n.code,{\\"data-language\\":\\"python\\",\\"data-theme\\":\\"default\\",children:(0,e.jsxs)(n.span,{className:\\"line\\",children:[(0,e.jsx)(n.span,{style:{color:\\"#FF7B72\\"},children:\\"import\\"}),(0,e.jsx)(n.span,{style:{color:\\"#C9D1D9\\"},children:\\" random\\"})]})})})}),`\\n`,(0,e.jsxs)(n.h1,{id:\\"important-and-common-functions\\",children:[(0,e.jsx)(n.a,{className:\\"anchor\\",href:\\"#important-and-common-functions\\",children:(0,e.jsx)(n.span,{className:\\"icon icon-link\\"})}),\\"Important and Common functions\\"]}),`\\n`,(0,e.jsxs)(n.h2,{id:\\"randomchoice\\",children:[(0,e.jsx)(n.a,{className:\\"anchor\\",href:\\"#randomchoice\\",children:(0,e.jsx)(n.span,{className:\\"icon icon-link\\"})}),(0,e.jsx)(n.code,{children:\\"random.choice()\\"})]}),`\\n`,(0,e.jsx)(n.p,{children:\\"Now that we have imported the library, let us quickly go through some of the common and important functions the library comes with\\"}),`\\n`,(0,e.jsxs)(n.p,{children:[\\"Let us see \\",(0,e.jsx)(n.code,{children:\\"random.choice()\\"}),` first\\nThis will pick a random item from any iterable object (list, string etc.)`]}),`\\n`,(0,e.jsx)(n.p,{children:\\"Example:\\"}),`\\n`,(0,e.jsx)(n.div,{\\"data-rehype-pretty-code-fragment\\":\\"\\",children:(0,e.jsx)(n.pre,{\\"data-language\\":\\"python\\",\\"data-theme\\":\\"default\\",children:(0,e.jsxs)(n.code,{\\"data-language\\":\\"python\\",\\"data-theme\\":\\"default\\",children:[(0,e.jsxs)(n.span,{className:\\"line\\",children:[(0,e.jsx)(n.span,{style:{color:\\"#FF7B72\\"},children:\\"import\\"}),(0,e.jsx)(n.span,{style:{color:\\"#C9D1D9\\"},children:\\" random\\"})]}),`\\n`,(0,e.jsx)(n.span,{className:\\"line\\",children:\\" \\"}),`\\n`,(0,e.jsxs)(n.span,{className:\\"line\\",children:[(0,e.jsx)(n.span,{style:{color:\\"#79C0FF\\"},children:\\"list\\"}),(0,e.jsx)(n.span,{style:{color:\\"#C9D1D9\\"},children:\\" \\"}),(0,e.jsx)(n.span,{style:{color:\\"#FF7B72\\"},children:\\"=\\"}),(0,e.jsx)(n.span,{style:{color:\\"#C9D1D9\\"},children:\\" [\\"}),(0,e.jsx)(n.span,{style:{color:\\"#A5D6FF\\"},children:\'\\"banana\\"\'}),(0,e.jsx)(n.span,{style:{color:\\"#C9D1D9\\"},children:\\", \\"}),(0,e.jsx)(n.span,{style:{color:\\"#A5D6FF\\"},children:\'\\"apple\\"\'}),(0,e.jsx)(n.span,{style:{color:\\"#C9D1D9\\"},children:\\", \\"}),(0,e.jsx)(n.span,{style:{color:\\"#A5D6FF\\"},children:\'\\"guava\\"\'}),(0,e.jsx)(n.span,{style:{color:\\"#C9D1D9\\"},children:\\", \\"}),(0,e.jsx)(n.span,{style:{color:\\"#A5D6FF\\"},children:\'\\"cherry\\"\'}),(0,e.jsx)(n.span,{style:{color:\\"#C9D1D9\\"},children:\\", \\"}),(0,e.jsx)(n.span,{style:{color:\\"#A5D6FF\\"},children:\'\\"strawberry\\"\'}),(0,e.jsx)(n.span,{style:{color:\\"#C9D1D9\\"},children:\\", \\"}),(0,e.jsx)(n.span,{style:{color:\\"#A5D6FF\\"},children:\'\\"mango\\"\'}),(0,e.jsx)(n.span,{style:{color:\\"#C9D1D9\\"},children:\\"]\\"})]}),`\\n`,(0,e.jsxs)(n.span,{className:\\"line\\",children:[(0,e.jsx)(n.span,{style:{color:\\"#79C0FF\\"},children:\\"print\\"}),(0,e.jsx)(n.span,{style:{color:\\"#C9D1D9\\"},children:\\"(random.choice(\\"}),(0,e.jsx)(n.span,{style:{color:\\"#79C0FF\\"},children:\\"list\\"}),(0,e.jsx)(n.span,{style:{color:\\"#C9D1D9\\"},children:\\"))\\"})]}),`\\n`,(0,e.jsx)(n.span,{className:\\"line\\",children:(0,e.jsx)(n.span,{style:{color:\\"#8B949E\\"},children:\\"# Will pick any random fruit from the list and print that\\"})}),`\\n`,(0,e.jsx)(n.span,{className:\\"line\\",children:\\" \\"}),`\\n`,(0,e.jsxs)(n.span,{className:\\"line\\",children:[(0,e.jsx)(n.span,{style:{color:\\"#79C0FF\\"},children:\\"str\\"}),(0,e.jsx)(n.span,{style:{color:\\"#C9D1D9\\"},children:\\" \\"}),(0,e.jsx)(n.span,{style:{color:\\"#FF7B72\\"},children:\\"=\\"}),(0,e.jsx)(n.span,{style:{color:\\"#C9D1D9\\"},children:\\" \\"}),(0,e.jsx)(n.span,{style:{color:\\"#A5D6FF\\"},children:\'\\"Coronavirus cases have spiked again!!!\\"\'})]}),`\\n`,(0,e.jsxs)(n.span,{className:\\"line\\",children:[(0,e.jsx)(n.span,{style:{color:\\"#79C0FF\\"},children:\\"print\\"}),(0,e.jsx)(n.span,{style:{color:\\"#C9D1D9\\"},children:\\"(random.choice(\\"}),(0,e.jsx)(n.span,{style:{color:\\"#79C0FF\\"},children:\\"str\\"}),(0,e.jsx)(n.span,{style:{color:\\"#C9D1D9\\"},children:\\"))\\"})]}),`\\n`,(0,e.jsx)(n.span,{className:\\"line\\",children:(0,e.jsx)(n.span,{style:{color:\\"#8B949E\\"},children:\\"# Will pick any random character from the string and print it out\\"})})]})})}),`\\n`,(0,e.jsxs)(n.p,{children:[(0,e.jsx)(n.img,{src:\\"https://cdn.hashnode.com/res/hashnode/image/upload/v1619011131901/tCxW4n6sG.png\\",alt:\\"image.png\\"}),`\\nSo in the above image we can see that each and every time the function is run, it will print out a different value as it is picking out randomly`]}),`\\n`,(0,e.jsxs)(n.h2,{id:\\"randomrandrange\\",children:[(0,e.jsx)(n.a,{className:\\"anchor\\",href:\\"#randomrandrange\\",children:(0,e.jsx)(n.span,{className:\\"icon icon-link\\"})}),(0,e.jsx)(n.code,{children:\\"random.randrange()\\"})]}),`\\n`,(0,e.jsx)(n.p,{children:\\"Now this is an interesting function and probably the one most are looking for. It basically picks out a random number from a range of numbers\\"}),`\\n`,(0,e.jsx)(n.p,{children:\\"Example:\\"}),`\\n`,(0,e.jsx)(n.div,{\\"data-rehype-pretty-code-fragment\\":\\"\\",children:(0,e.jsx)(n.pre,{\\"data-language\\":\\"python\\",\\"data-theme\\":\\"default\\",children:(0,e.jsxs)(n.code,{\\"data-language\\":\\"python\\",\\"data-theme\\":\\"default\\",children:[(0,e.jsxs)(n.span,{className:\\"line\\",children:[(0,e.jsx)(n.span,{style:{color:\\"#FF7B72\\"},children:\\"import\\"}),(0,e.jsx)(n.span,{style:{color:\\"#C9D1D9\\"},children:\\" random\\"})]}),`\\n`,(0,e.jsx)(n.span,{className:\\"line\\",children:\\" \\"}),`\\n`,(0,e.jsxs)(n.span,{className:\\"line\\",children:[(0,e.jsx)(n.span,{style:{color:\\"#79C0FF\\"},children:\\"print\\"}),(0,e.jsx)(n.span,{style:{color:\\"#C9D1D9\\"},children:\\"(random.randrange(\\"}),(0,e.jsx)(n.span,{style:{color:\\"#79C0FF\\"},children:\\"1\\"}),(0,e.jsx)(n.span,{style:{color:\\"#C9D1D9\\"},children:\\", \\"}),(0,e.jsx)(n.span,{style:{color:\\"#79C0FF\\"},children:\\"20\\"}),(0,e.jsx)(n.span,{style:{color:\\"#C9D1D9\\"},children:\\", \\"}),(0,e.jsx)(n.span,{style:{color:\\"#79C0FF\\"},children:\\"2\\"}),(0,e.jsx)(n.span,{style:{color:\\"#C9D1D9\\"},children:\\"))\\"})]}),`\\n`,(0,e.jsx)(n.span,{className:\\"line\\",children:(0,e.jsx)(n.span,{style:{color:\\"#8B949E\\"},children:\\"# Now it will print out any random number amongst 1, 3, 5, 7, 9, 11, 13, 15, 17 and 19\\"})})]})})}),`\\n`,(0,e.jsx)(n.p,{children:(0,e.jsx)(n.img,{src:\\"https://cdn.hashnode.com/res/hashnode/image/upload/v1619012224758/YGFpml6fm.png\\",alt:\\"image.png\\"})}),`\\n`,(0,e.jsxs)(n.p,{children:[\\"There are 3 arguments taken in of which the first two are compulsory and third one is optional and be default \\",(0,e.jsx)(n.code,{children:\\"1\\"}),\\". But what are the arguments?\\"]}),`\\n`,(0,e.jsxs)(n.ol,{children:[`\\n`,(0,e.jsx)(n.li,{children:\\"The first argument is the number from which the range starts\\"}),`\\n`,(0,e.jsx)(n.li,{children:\\"The second argument is the number where the range ends\\"}),`\\n`,(0,e.jsx)(n.li,{children:\\"The third argument is the step which is the number of numbers to 
1skip while making the list of the numbers\\"}),`\\n`]}),`\\n`,(0,e.jsxs)(n.p,{children:[`Now does that sound similar?\\nYes, this are the exact same arguments take in by the `,(0,e.jsx)(n.code,{children:\\"range\\"}),\\" function which is in-built in Python. The \\",(0,e.jsx)(n.code,{children:\\"random.randrange()\\"}),\\" function basically creates a list from the range with the arguments given and then picks out a random.\\"]}),`\\n`,(0,e.jsxs)(n.h2,{id:\\"randomrandom\\",children:[(0,e.jsx)(n.a,{className:\\"anchor\\",href:\\"#randomrandom\\",children:(0,e.jsx)(n.span,{className:\\"icon icon-link\\"})}),(0,e.jsx)(n.code,{children:\\"random.random()\\"})]}),`\\n`,(0,e.jsx)(n.p,{children:\\"Now this one is a pretty simple one. It returns a float value between 0 and 1\\"}),`\\n`,(0,e.jsx)(n.p,{children:\\"Example:\\"}),`\\n`,(0,e.jsx)(n.div,{\\"data-rehype-pretty-code-fragment\\":\\"\\",children:(0,e.jsx)(n.pre,{\\"data-language\\":\\"python\\",\\"data-theme\\":\\"default\\",children:(0,e.jsxs)(n.code,{\\"data-language\\":\\"python\\",\\"data-theme\\":\\"default\\",children:[(0,e.jsxs)(n.span,{className:\\"line\\",children:[(0,e.jsx)(n.span,{style:{color:\\"#FF7B72\\"},children:\\"import\\"}),(0,e.jsx)(n.span,{style:{color:\\"#C9D1D9\\"},children:\\" random\\"})]}),`\\n`,(0,e.jsx)(n.span,{className:\\"line\\",children:\\" \\"}),`\\n`,(0,e.jsxs)(n.span,{className:\\"line\\",children:[(0,e.jsx)(n.span,{style:{color:\\"#79C0FF\\"},children:\\"print\\"}),(0,e.jsx)(n.span,{style:{color:\\"#C9D1D9\\"},children:\\"(random.random())\\"})]})]})})}),`\\n`,(0,e.jsx)(n.p,{children:(0,e.jsx)(n.img,{src:\\"https://cdn.hashnode.com/res/hashnode/image/upload/v1619012345562/7hvScY8I0.png\\",alt:\\"image.png\\"})}),`\\n`,(0,e.jsxs)(n.h2,{id:\\"randomseed\\",children:[(0,e.jsx)(n.a,{className:\\"anchor\\",href:\\"#randomseed\\",children:(0,e.jsx)(n.span,{className:\\"icon icon-link\\"})}),(0,e.jsx)(n.code,{children:\\"random.seed()\\"})]}),`\\n`,(0,e.jsx)(n.p,{children:\\"Now this one is a bit tough to understand. So the seed function is basically used to save the state of a random function so that it can generate some random numbers on multiple executions of the code on the same machine or on a different machine for a specific seed value. The seed value is the previous random value generated by the generator or if run for the first time, it is set to the current system time.\\"}),`\\n`,(0,e.jsx)(n.p,{children:\\"Example:\\"}),`\\n`,(0,e.jsx)(n.div,{\\"data-rehype-pretty-code-fragment\\":\\"\\",children:(0,e.jsx)(n.pre,{\\"data-language\\":\\"python\\",\\"data-theme\\":\\"default\\",children:(0,e.jsxs)(n.code,{\\"data-language\\":\\"python\\",\\"data-theme\\":\\"default\\",children:[(0,e.jsxs)(n.span,{className:\\"line\\",children:[(0,e.jsx)(n.span,{style:{color:\\"#FF7B72\\"},children:\\"import\\"}),(0,e.jsx)(n.span,{style:{color:\\"#C9D1D9\\"},children:\\" random\\"})]}),`\\n`,(0,e.jsx)(n.span,{className:\\"line\\",children:\\" \\"}),`\\n`,(0,e.jsxs)(n.span,{className:\\"line\\",children:[(0,e.jsx)(n.span,{style:{color:\\"#C9D1D9\\"},children:\\"random.seed(\\"}),(0,e.jsx)(n.span,{style:{color:\\"#79C0FF\\"},children:\\"10\\"}),(0,e.jsx)(n.span,{style:{color:\\"#C9D1D9\\"},children:\\")\\"})]}),`\\n`,(0,e.jsxs)(n.span,{className:\\"line\\",children:[(0,e.jsx)(n.span,{style:{color:\\"#79C0FF\\"},children:\\"print\\"}),(0,e.jsx)(n.span,{style:{color:\\"#C9D1D9\\"},children:\\"(\\"}),(0,e.jsx)(n.span,{style:{color:\\"#A5D6FF\\"},children:\'\\"A mapped random number with seed 10 is: \\"\'}),(0,e.jsx)(n.span,{style:{color:\\"#C9D1D9\\"},children:\\" \\"}),(0,e.jsx)(n.span,{style:{color:\\"#FF7B72\\"},children:\\"+\\"}),(0,e.jsx)(n.span,{style:{color:\\"#C9D1D9\\"},children:\\" random.random())\\"})]})]})})}),`\\n`,(0,e.jsx)(n.p,{children:(0,e.jsx)(n.img,{src:\\"https://cdn.hashnode.com/res/hashnode/image/upload/v1619012999682/zBSuSyECY.png\\",alt:\\"image.png\\"})}),`\\n`,(0,e.jsxs)(n.h2,{id:\\"randomshuffle\\",children:[(0,e.jsx)(n.a,{className:\\"anchor\\",href:\\"#randomshuffle\\",children:(0,e.jsx)(n.span,{className:\\"icon icon-link\\"})}),(0,e.jsx)(n.code,{children:\\"random.shuffle()\\"})]}),`\\n`,(0,e.jsx)(n.p,{children:\\"As the name of the function suggests, we can use it to shuffle a list i.e. change the position of the items in the list.\\"}),`\\n`,(0,e.jsx)(n.p,{children:\\"Example:\\"}),`\\n`,(0,e.jsx)(n.div,{\\"data-rehype-pretty-code-fragment\\":\\"\\",children:(0,e.jsx)(n.pre,{\\"data-language\\":\\"python\\",\\"data-theme\\":\\"default\\",children:(0,e.jsxs)(n.code,{\\"data-language\\":\\"python\\",\\"data-theme\\":\\"default\\",children:[(0,e.jsxs)(n.span,{className:\\"line\\",children:[(0,e.jsx)(n.span,{style:{color:\\"#FF7B72\\"},children:\\"import\\"}),(0,e.jsx)(n.span,{style:{color:\\"#C9D1D9\\"},children:\\" random\\"})]}),`\\n`,(0,e.jsx)(n.span,{className:\\"line\\",children:\\" \\"}),`\\n`,(0,e.jsxs)(n.span,{className:\\"line\\",children:[(0,e.jsx)(n.span,{style:{color:\\"#C9D1D9\\"},children:\\"cities \\"}),(0,e.jsx)(n.span,{style:{color:\\"#FF7B72\\"},children:\\"=\\"}),(0,e.jsx)(n.span,{style:{color:\\"#C9D1D9\\"},children:\\" [\\"}),(0,e.jsx)(n.span,{style:{color:\\"#A5D6FF\\"},children:\'\\"London\\"\'}),(0,e.jsx)(n.span,{style:{color:\\"#C9D1D9\\"},children:\\", \\"}),(0,e.jsx)(n.span,{style:{color:\\"#A5D6FF\\"},children:\'\\"Bangalore\\"\'}),(0,e.jsx)(n.span,{style:{color:\\"#C9D1D9\\"},children:\\", \\"}),(0,e.jsx)(n.span,{style:{color:\\"#A5D6FF\\"},children:\'\\"Delhi\\"\'}),(0,e.jsx)(n.span,{style:{color:\\"#C9D1D9\\"},children:\\", \\"}),(0,e.jsx)(n.span,{style:{color:\\"#A5D6FF\\"},children:\'\\"Mumbai\\"\'}),(0,e.jsx)(n.span,{style:{color:\\"#C9D1D9\\"},children:\\", \\"}),(0,e.jsx)(n.span,{style:{color:\\"#A5D6FF\\"},children:\'\\"Tokyo\\"\'}),(0,e.jsx)(n.span,{style:{color:\\"#C9D1D9\\"},children:\\", \\"}),(0,e.jsx)(n.span,{style:{color:\\"#A5D6FF\\"},children:\'\\"New York City\\"\'}),(0,e.jsx)(n.span,{style:{color:\\"#C9D1D9\\"},children:\\"]\\"})]}),`\\n`,(0,e.jsx)(n.span,{className:\\"line\\",children:\\" \\"}),`\\n`,(0,e.jsxs)(n.span,{className:\\"line\\",children:[(0,e.jsx)(n.span,{style:{color:\\"#79C0FF\\"},children:\\"print\\"}),(0,e.jsx)(n.span,{style:{color:\\"#C9D1D9\\"},children:\\"(\\"}),(0,e.jsx)(n.span,{style:{color:\\"#A5D6FF\\"},children:\'\\"List before shuffling: \\"\'}),(0,e.jsx)(n.span,{style:{color:\\"#C9D1D9\\"},children:\\")\\"})]}),`\\n`,(0,e.jsxs)(n.span,{className:\\"line\\",children:[(0,e.jsx)(n.span,{style:{color:\\"#79C0FF\\"},children:\\"print\\"}),(0,e.jsx)(n.span,{style:{color:\\"#C9D1D9\\"},children:\\"(cities)\\"})]}),`\\n`,(0,e.jsxs)(n.span,{className:\\"line\\",children:[(0,e.jsx)(n.span,{style:{color:\\"#79C0FF\\"},children:\\"print\\"}),(0,e.jsx)(n.span,{style:{color:\\"#C9D1D9\\"},children:\\"(\\"}),(0,e.jsx)(n.span,{style:{color:\\"#A5D6FF\\"},children:\'\\"List after shuffling: \\"\'}),(0,e.jsx)(n.span,{style:{color:\\"#C9D1D9\\"},children:\\")\\"})]}),`\\n`,(0,e.jsx)(n.span,{className:\\"line\\",children:(0,e.jsx)(n.span,{style:{color:\\"#C9D1D9\\"},children:\\"random.shuffle(cities)\\"})}),`\\n`,(0,e.jsxs)(n.span,{className:\\"line\\",children:[(0,e.jsx)(n.span,{style:{color:\\"#79C0FF\\"},children:\\"print\\"}),(0,e.jsx)(n.span,{style:{color:\\"#C9D1D9\\"},children:\\"(cities)\\"})]})]})})}),`\\n`,(0,e.jsx)(n.p,{children:(0,e.jsx)(n.img,{src:\\"https://cdn.hashnode.com/res/hashnode/image/upload/v1619013686663/udyuXWOr0.png\\",alt:\\"image.png\\"})}),`\\n`,(0,e.jsxs)(n.h2,{id:\\"randomuniform\\",children:[(0,e.jsx)(n.a,{className:\\"anchor\\",href:\\"#randomuniform\\",children:(0,e.jsx)(n.span,{className:\\"icon icon-link\\"})}),(0,e.jsx)(n.code,{children:\\"random.uniform()\\"})]}),`\\n`,(0,e.jsxs)(n.p,{children:[\\"This one is pretty similar to \\",(0,e.jsx)(n.code,{children:\\"random.randrange()\\"}),\\" but then returns a \\",(0,e.jsx)(n.code,{children:\\"float\\"}),\\" value instead of an \\",(0,e.jsx)(n.code,{children:\\"integer\\"}),\\" value and does not take any step in input\\"]}),`\\n`,(0,e.jsx)(n.p,{children:\\"Arguments:\\"}),`\\n`,(0,e.jsxs)(n.ol,{children:[`\\n`,(0,e.jsx)(n.li,{children:\\"Lower Limit - included in generation\\"}),`\\n`,(0,e.jsx)(n.li,{children:\\"Upper Limit - Excluded in generation\\"}),`\\n`]}),`\\n`,(0,e.jsx)(n.p,{children:\\"Example:\\"}),`\\n`,(0,e.jsx)(n.div,{\\"data-rehype-pretty-code-fragment\\":\\"\\",children:(0,e.jsx)(n.pre,{\\"data-language\\":\\"python\\",\\"data-theme\\":\\"default\\",children:(0,e.jsxs)(n.code,{\\"data-language\\":\\"python\\",\\"data-theme\\":\\"default\\",children:[(0,e.jsxs)(n.span,{className:\\"line\\",children:[(0,e.jsx)(n.span,{style:{color:\\"#FF7B72\\"},children:\\"import\\"}),(0,e.jsx)(n.span,{style:{color:\\"#C9D1D9\\"},children:\\" random\\"})]}),`\\n`,(0,e.jsx)(n.span,{className:\\"line\\",children:\\" \\"}),`\\n`,(0,e.jsxs)(n.span,{className:\\"line\\",children:[(0,e.jsx)(n.span,{style:{color:\\"#79C0FF\\"},children:\\"print\\"}),(0,e.jsx)(n.span,{style:{color:\\"#C9D1D9\\"},children:\\"(random.uniform(\\"}),(0,e.jsx)(n.span,{style:{color:\\"#79C0FF\\"},children:\\"10\\"}),(0,e.jsx)(n.span,{style:{color:\\"#C9D1D9\\"},children:\\", \\"}),(0,e.jsx)(n.span,{style:{color:\\"#79C0FF\\"},children:\\"15\\"}),(0,e.jsx)(n.span,{style:{color:\\"#C9D1D9\\"},children:\\"))\\"})]})]})})}),`\\n`,(0,e.jsx)(n.p,{children:(0,e.jsx)(n.img,{src:\\"https://cdn.hashnode.com/res/hashnode/image/upload/v1619013874416/Up-dkAYDWMn.png\\",alt:\\"image.png\\"})}),`\\n`,(0,e.jsxs)(n.h2,{id:\\"randomrandint\\",children:[(0,e.jsx)(n.a,{className:\\"anchor\\",href:\\"#randomrandint\\",children:(0,e.jsx)(n.span,{className:\\"icon icon-link\\"})}),(0,e.jsx)(n.code,{children:\\"random.randint()\\"})]}),`\\n`,(0,e.jsx)(n.p,{children:\\"Takes 2 arguments as the lower limit and the upper limit. The returned number is between these 2 values and can be anyone of them as well.\\"}),`\\n`,(0,e.jsx)(n.p,{children:\\"Example:\\"}),`\\n`,(0,e.jsx)(n.div,{\\"data-rehype-pretty-code-fragment\\":\\"\\",children:(0,e.jsx)(n.pre,{\\"data-language\\":\\"python\\",\\"data-theme\\":\\"default\\",children:(0,e.jsxs)(n.code,{\\"data-language\\":\\"python\\",\\"data-theme\\":\\"default\\",children:[(0,e.jsxs)(n.span,{className:\\"line\\",children:[(0,e.jsx)(n.span,{style:{color:\\"#FF7B72\\"},children:\\"import\\"}),(0,e.jsx)(n.span,{style:{color:\\"#C9D1D9\\"},children:\\" random\\"})]}),`\\n`,(0,e.jsx)(n.span,{className:\\"line\\",children:\\" \\"}),`\\n`,(0,e.jsxs)(n.span,{className:\\"line\\",children:[(0,e.jsx)(n.span,{style:{color:\\"#C9D1D9\\"},children:\\"random.randint(\\"}),(0,e.jsx)(n.span,{style:{color:\\"#79C0FF\\"},children:\\"50\\"}),(0,e.jsx)(n.span,{style:{color:\\"#C9D1D9\\"},children:\\", \\"}),(0,e.jsx)(n.span,{style:{color:\\"#79C0FF\\"},children:\\"100\\"}),(0,e.jsx)(n.span,{style:{color:\\"#C9D1D9\\"},children:\\")\\"})]})]})})}),`\\n`,(0,e.jsx)(n.p,{children:(0,e.jsx)(n.img,{src:\\"https://cdn.hashnode.com/res/hashnode/image/upload/v1619069311578/TV5dVrBER.png\\",alt:\\"image.png\\"})}),`\\n`,(0,e.jsxs)(n.p,{children:[\\"So that was some of the most important and commonly used functions of the \\",(0,e.jsx)(n.code,{children:\\"random\\"}),\\" package and that is it for this blog!!!\\"]}),`\\n`,(0,e.jsxs)(n.p,{children:[(0,e.jsx)(n.a,{href:\\"https://docs.python.org/3/library/random.html\\",children:\\"Link\\"}),\\" to random package docs if you want to explore more - https://docs.python.org/3/library/random.html\\"]})]})}function N(a={}){let{wrapper:n}=a.components||{};return n?(0,e.jsx)(n,Object.assign({},a,{children:(0,e.jsx)(d,a)})):d(a)}var b=N;return F(w);})();\\n;return Component;"},"_id":"blog/the-random-library-in-python.mdx","_raw":{"sourceFilePath":"blog/the-random-library-in-python.mdx","sourceFileName":"the-random-library-in-python.mdx","sourceFileDir":"blog","contentType":"mdx","flattenedPath":"blog/the-random-library-in-python"},"type":"BlogPost","slug":"the-random-library-in-python","dateUpdated":"Fri Aug 28 2026","readingTime":{"text":"4 min read","minutes":3.485,"time":209100,"words":697},"wordCount":699}]'),a=JSON.parse('[{"title":"Excellence Award, Sookmyung Software Hackathon","date":"2022-08-01T00:00:00.000Z","body":{"raw":"\\nReceived the Excellence Award at Sookmyung Software Hackathon for outstanding software\\n","code":"var Component=(()=>{var f=Object.create;var a=Object.defineProperty;var m=Object.getOwnPropertyDescriptor;var x=Object.getOwnPropertyNames;var l=Object.getPrototypeOf,g=Object.prototype.hasOwnProperty;var p=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),w=(t,e)=>{for(var n in e)a(t,n,{get:e[n],enumerable:!0})},s=(t,e,n,r)=>{if(e&&typeof e==\\"object\\"||typeof e==\\"function\\")for(let o of x(e))!g.call(t,o)&&o!==n&&a(t,o,{get:()=>e[o],enumerable:!(r=m(e,o))||r.enumerable});return t};var h=(t,e,n)=>(n=t!=null?f(l(t)):{}
1,s(e||!t||!t.__esModule?a(n,\\"default\\",{value:t,enumerable:!0}):n,t)),j=t=>s(a({},\\"__esModule\\",{value:!0}),t);var i=p((M,u)=>{u.exports=_jsx_runtime});var y={};w(y,{default:()=>S,frontmatter:()=>_});var c=h(i()),_={title:\\"Excellence Award, Sookmyung Software Hackathon\\",date:\\"August, 2022\\"};function d(t){let e=Object.assign({p:\\"p\\"},t.components);return(0,c.jsx)(e.p,{children:\\"Received the Excellence Award at Sookmyung Software Hackathon for outstanding software\\"})}function k(t={}){let{wrapper:e}=t.components||{};return e?(0,c.jsx)(e,Object.assign({},t,{children:(0,c.jsx)(d,t)})):d(t)}var S=k;return j(y);})();\\n;return Component;"},"_id":"achievements/2022-08_smwu_hack.mdx","_raw":{"sourceFilePath":"achievements/2022-08_smwu_hack.mdx","sourceFileName":"2022-08_smwu_hack.mdx","sourceFileDir":"achievements","contentType":"mdx","flattenedPath":"achievements/2022-08_smwu_hack"},"type":"Achievement","slug":"2022-08_smwu_hack"},{"title":"Excellence Award, the 1st Shinhan Bigdata Hackathon","date":"2022-10-01T00:00:00.000Z","body":{"raw":"\\nReceived the Excellence Award at the 1st Shinhan Bigdata Hackathon in Data Analytics Division\\n","code":"var Component=(()=>{var l=Object.create;var c=Object.defineProperty;var x=Object.getOwnPropertyDescriptor;var m=Object.getOwnPropertyNames;var u=Object.getPrototypeOf,p=Object.prototype.hasOwnProperty;var f=(t,n)=>()=>(n||t((n={exports:{}}).exports,n),n.exports),j=(t,n)=>{for(var e in n)c(t,e,{get:n[e],enumerable:!0})},r=(t,n,e,i)=>{if(n&&typeof n==\\"object\\"||typeof n==\\"function\\")for(let a of m(n))!p.call(t,a)&&a!==e&&c(t,a,{get:()=>n[a],enumerable:!(i=x(n,a))||i.enumerable});return t};var _=(t,n,e)=>(e=t!=null?l(u(t)):{},r(n||!t||!t.__esModule?c(e,\\"default\\",{value:t,enumerable:!0}):e,t)),g=t=>r(c({},\\"__esModule\\",{value:!0}),t);var h=f((O,s)=>{s.exports=_jsx_runtime});var A={};j(A,{default:()=>w,frontmatter:()=>D});var o=_(h()),D={title:\\"Excellence Award, the 1st Shinhan Bigdata Hackathon\\",date:\\"October, 2022\\"};function d(t){let n=Object.assign({p:\\"p\\"},t.components);return(0,o.jsx)(n.p,{children:\\"Received the Excellence Award at the 1st Shinhan Bigdata Hackathon in Data Analytics Division\\"})}function b(t={}){let{wrapper:n}=t.components||{};return n?(0,o.jsx)(n,Object.assign({},t,{children:(0,o.jsx)(d,t)})):d(t)}var w=b;return g(A);})();\\n;return Component;"},"_id":"achievements/2022-10_shinhan_hack.mdx","_raw":{"sourceFilePath":"achievements/2022-10_shinhan_hack.mdx","sourceFileName":"2022-10_shinhan_hack.mdx","sourceFileDir":"achievements","contentType":"mdx","flattenedPath":"achievements/2022-10_shinhan_hack"},"type":"Achievement","slug":"2022-10_shinhan_hack"},{"title":"Semi-Finalist Global Top 100, Google Solution Challenge 2023","date":"2023-05-01T00:00:00.000Z","body":{"raw":"\\nTeam \'Four-tter\' was selected 2023 Google the Solution Challenge Global Top 100\\n","code":"var Component=(()=>{var m=Object.create;var l=Object.defineProperty;var p=Object.getOwnPropertyDescriptor;var x=Object.getOwnPropertyNames;var d=Object.getPrototypeOf,g=Object.prototype.hasOwnProperty;var f=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),h=(t,e)=>{for(var n in e)l(t,n,{get:e[n],enumerable:!0})},s=(t,e,n,r)=>{if(e&&typeof e==\\"object\\"||typeof e==\\"function\\")for(let o of x(e))!g.call(t,o)&&o!==n&&l(t,o,{get:()=>e[o],enumerable:!(r=p(e,o))||r.enumerable});return t};var j=(t,e,n)=>(n=t!=null?m(d(t)):{},s(e||!t||!t.__esModule?l(n,\\"default\\",{value:t,enumerable:!0}):n,t)),_=t=>s(l({},\\"__esModule\\",{value:!0}),t);var i=f((T,c)=>{c.exports=_jsx_runtime});var M={};h(M,{default:()=>G,frontmatter:()=>b});var a=j(i()),b={title:\\"Semi-Finalist Global Top 100, Google Solution Challenge 2023\\",date:\\"2023-05\\"};function u(t){let e=Object.assign({p:\\"p\\"},t.components);return(0,a.jsx)(e.p,{children:\\"Team \'Four-tter\' was selected 2023 Google the Solution Challenge Global Top 100\\"})}function C(t={}){let{wrapper:e}=t.components||{};return e?(0,a.jsx)(e,Object.assign({},t,{children:(0,a.jsx)(u,t)})):u(t)}var G=C;return _(M);})();\\n;return Component;"},"_id":"achievements/2023-05_solution_challenge.mdx","_raw":{"sourceFilePath":"achievements/2023-05_solution_challenge.mdx","sourceFileName":"2023-05_solution_challenge.mdx","sourceFileDir":"achievements","contentType":"mdx","flattenedPath":"achievements/2023-05_solution_challenge"},"type":"Achievement","slug":"2023-05_solution_challenge"},{"title":"Academic Excellence Award, Sookmyung Women\'s University","date":"2023-08-01T00:00:00.000Z","body":{"raw":"\\nSelected as a 2023-1 academic excellence awardee at Sookmyung Women\'s University\\n","code":"var Component=(()=>{var d=Object.create;var c=Object.defineProperty;var l=Object.getOwnPropertyDescriptor;var x=Object.getOwnPropertyNames;var p=Object.getPrototypeOf,f=Object.prototype.hasOwnProperty;var g=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),j=(e,t)=>{for(var n in t)c(e,n,{get:t[n],enumerable:!0})},s=(e,t,n,r)=>{if(t&&typeof t==\\"object\\"||typeof t==\\"function\\")for(let o of x(t))!f.call(e,o)&&o!==n&&c(e,o,{get:()=>t[o],enumerable:!(r=l(t,o))||r.enumerable});return e};var y=(e,t,n)=>(n=e!=null?d(p(e)):{},s(t||!e||!e.__esModule?c(n,\\"default\\",{value:e,enumerable:!0}):n,e)),_=e=>s(c({}
1,\\"__esModule\\",{value:!0}),e);var m=g((h,i)=>{i.exports=_jsx_runtime});var S={};j(S,{default:()=>M,frontmatter:()=>w});var a=y(m()),w={title:\\"Academic Excellence Award, Sookmyung Women\'s University\\",date:\\"August, 2023\\"};function u(e){let t=Object.assign({p:\\"p\\"},e.components);return(0,a.jsx)(t.p,{children:\\"Selected as a 2023-1 academic excellence awardee at Sookmyung Women\'s University\\"})}function A(e={}){let{wrapper:t}=e.components||{};return t?(0,a.jsx)(t,Object.assign({},e,{children:(0,a.jsx)(u,e)})):u(e)}var M=A;return _(S);})();\\n;return Component;"},"_id":"achievements/2023-08_academic_award.mdx","_raw":{"sourceFilePath":"achievements/2023-08_academic_award.mdx","sourceFileName":"2023-08_academic_award.mdx","sourceFileDir":"achievements","contentType":"mdx","flattenedPath":"achievements/2023-08_academic_award"},"type":"Achievement","slug":"2023-08_academic_award"},{"title":"Best Poster Presentation Award, IPIU 2025","date":"2025-02-01T00:00:00.000Z","body":{"raw":"\\nWinner of the Best Poster Presentation Award at IPIU 2025 for outstanding research presentation\\n","code":"var Component=(()=>{var f=Object.create;var o=Object.defineProperty;var m=Object.getOwnPropertyDescriptor;var p=Object.getOwnPropertyNames;var x=Object.getPrototypeOf,P=Object.prototype.hasOwnProperty;var j=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),_=(t,e)=>{for(var n in e)o(t,n,{get:e[n],enumerable:!0})},c=(t,e,n,a)=>{if(e&&typeof e==\\"object\\"||typeof e==\\"function\\")for(let r of p(e))!P.call(t,r)&&r!==n&&o(t,r,{get:()=>e[r],enumerable:!(a=m(e,r))||a.enumerable});return t};var h=(t,e,n)=>(n=t!=null?f(x(t)):{},c(e||!t||!t.__esModule?o(n,\\"default\\",{value:t,enumerable:!0}):n,t)),l=t=>c(o({},\\"__esModule\\",{value:!0}),t);var u=j((y,i)=>{i.exports=_jsx_runtime});var w={};_(w,{default:()=>g,frontmatter:()=>I});var s=h(u()),I={title:\\"Best Poster Presentation Award, IPIU 2025\\",date:\\"Febuary, 2025\\"};function d(t){let e=Object.assign({p:\\"p\\"},t.components);return(0,s.jsx)(e.p,{children:\\"Winner of the Best Poster Presentation Award at IPIU 2025 for outstanding research presentation\\"})}function b(t={}){let{wrapper:e}=t.components||{};return e?(0,s.jsx)(e,Object.assign({},t,{children:(0,s.jsx)(d,t)})):d(t)}var g=b;return l(w);})();\\n;return Component;"},"_id":"achievements/2025-02_IPIU_Best_Poster.mdx","_raw":{"sourceFilePath":"achievements/2025-02_IPIU_Best_Poster.mdx","sourceFileName":"2025-02_IPIU_Best_Poster.mdx","sourceFileDir":"achievements","contentType":"mdx","flattenedPath":"achievements/2025-02_IPIU_Best_Poster"},"type":"Achievement","slug":"2025-02_IPIU_Best_Poster"}]'),s=JSON.parse('[{"title":"Google Solution Challenge Global Top 100","date":"2023-05-01T00:00:00.000Z","body":{"raw":"\\nTeam \'Four-tter\' was selected 2023 Google the Solution Challenge Global Top 100.\\n","code":"var Component=(()=>{var m=Object.create;var l=Object.defineProperty;var p=Object.getOwnPropertyDescriptor;var x=Object.getOwnPropertyNames;var d=Object.getPrototypeOf,g=Object.prototype.hasOwnProperty;var f=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),h=(t,e)=>{for(var o in e)l(t,o,{get:e[o],enumerable:!0})},c=(t,e,o,a)=>{if(e&&typeof e==\\"object\\"||typeof e==\\"function\\")for(let n of x(e))!g.call(t,n)&&n!==o&&l(t,n,{get:()=>e[n],enumerable:!(a=p(e,n))||a.enumerable});return t};var j=(t,e,o)=>(o=t!=null?m(d(t)):{},c(e||!t||!t.__esModule?l(o,\\"default\\",{value:t,enumerable:!0}):o,t)),_=t=>c(l({},\\"__esModule\\",{value:!0}),t);var i=f((w,s)=>{s.exports=_jsx_runtime});var M={};h(M,{default:()=>G,frontmatter:()=>b});var r=j(i()),b={title:\\"Google Solution Challenge Global Top 100\\",date:\\"2023-05\\"};function u(t){let e=Object.assign({p:\\"p\\"},t.components);return(0,r.jsx)(e.p,{children:\\"Team \'Four-tter\' was selected 2023 Google the Solution Challenge Global Top 100.\\"})}function C(t={}){let{wrapper:e}=t.components||{};return e?(0,r.jsx)(e,Object.assign({},t,{children:(0,r.jsx)(u,t)})):u(t)}var G=C;return _(M);})();\\n;return Component;"},"_id":"news/2023-05_google-solution-challenge-global-top-100.mdx","_raw":{"sourceFilePath":"news/2023-05_google-solution-challenge-global-top-100.mdx","sourceFileName":"2023-05_google-solution-challenge-global-top-100.mdx","sourceFileDir":"news","contentType":"mdx","flattenedPath":"news/2023-05_google-solution-challenge-global-top-100"},"type":"News","slug":"2023-05_google-solution-challenge-global-top-100"},{"title":"Academic Excellence Awardee (2023-1)","date":"2023-08-01T00:00:00.000Z","body":{"raw":"\\nSelected as a 2023-1 academic excellence awardee at Sookmyung Women\'s University.\\n","code":"var Component=(()=>{var l=Object.create;var o=Object.defineProperty;var x=Object.getOwnPropertyDescriptor;var u=Object.getOwnPropertyNames;var p=Object.getPrototypeOf,f=Object.prototype.hasOwnProperty;var j=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),_=(e,t)=>
1{for(var n in t)o(e,n,{get:t[n],enumerable:!0})},s=(e,t,n,r)=>{if(t&&typeof t==\\"object\\"||typeof t==\\"function\\")for(let c of u(t))!f.call(e,c)&&c!==n&&o(e,c,{get:()=>t[c],enumerable:!(r=x(t,c))||r.enumerable});return e};var g=(e,t,n)=>(n=e!=null?l(p(e)):{},s(t||!e||!e.__esModule?o(n,\\"default\\",{value:e,enumerable:!0}):n,e)),w=e=>s(o({},\\"__esModule\\",{value:!0}),e);var m=j((C,i)=>{i.exports=_jsx_runtime});var h={};_(h,{default:()=>b,frontmatter:()=>y});var a=g(m()),y={title:\\"Academic Excellence Awardee (2023-1)\\",date:\\"2023-08\\"};function d(e){let t=Object.assign({p:\\"p\\"},e.components);return(0,a.jsx)(t.p,{children:\\"Selected as a 2023-1 academic excellence awardee at Sookmyung Women\'s University.\\"})}function M(e={}){let{wrapper:t}=e.components||{};return t?(0,a.jsx)(t,Object.assign({},e,{children:(0,a.jsx)(d,e)})):d(e)}var b=M;return w(h);})();\\n;return Component;"},"_id":"news/2023-08_academic-excellence-awardee-2023-1.mdx","_raw":{"sourceFilePath":"news/2023-08_academic-excellence-awardee-2023-1.mdx","sourceFileName":"2023-08_academic-excellence-awardee-2023-1.mdx","sourceFileDir":"news","contentType":"mdx","flattenedPath":"news/2023-08_academic-excellence-awardee-2023-1"},"type":"News","slug":"2023-08_academic-excellence-awardee-2023-1"},{"title":"AI magazine deep daiv funding completed","date":"2024-10-01T00:00:00.000Z","body":{"raw":"\\nThe funding for AI magazine, &lt;deep daiv.&gt; I contributed as a writer, has been successfully completed.\\n","code":"var Component=(()=>{var m=Object.create;var a=Object.defineProperty;var p=Object.getOwnPropertyDescriptor;var f=Object.getOwnPropertyNames;var l=Object.getPrototypeOf,x=Object.prototype.hasOwnProperty;var g=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),j=(e,t)=>{for(var n in t)a(e,n,{get:t[n],enumerable:!0})},i=(e,t,n,r)=>{if(t&&typeof t==\\"object\\"||typeof t==\\"function\\")for(let o of f(t))!x.call(e,o)&&o!==n&&a(e,o,{get:()=>t[o],enumerable:!(r=p(t,o))||r.enumerable});return e};var _=(e,t,n)=>(n=e!=null?m(l(e)):{},i(t||!e||!e.__esModule?a(n,\\"default\\",{value:e,enumerable:!0}):n,e)),b=e=>i(a({},\\"__esModule\\",{value:!0}),e);var d=g((y,s)=>{s.exports=_jsx_runtime});var v={};j(v,{default:()=>M,frontmatter:()=>h});var c=_(d()),h={title:\\"AI magazine deep daiv funding completed\\",date:\\"2024-10\\"};function u(e){let t=Object.assign({p:\\"p\\"},e.components);return(0,c.jsx)(t.p,{children:\\"The funding for AI magazine, <deep daiv.> I contributed as a writer, has been successfully completed.\\"})}function I(e={}){let{wrapper:t}=e.components||{};return t?(0,c.jsx)(t,Object.assign({},e,{children:(0,c.jsx)(u,e)})):u(e)}var M=I;return b(v);})();\\n;return Component;"},"_id":"news/2024-10_ai-magazine-deep-daiv-funding-completed.mdx","_raw":{"sourceFilePath":"news/2024-10_ai-magazine-deep-daiv-funding-completed.mdx","sourceFileName":"2024-10_ai-magazine-deep-daiv-funding-completed.mdx","sourceFileDir":"news","contentType":"mdx","flattenedPath":"news/2024-10_ai-magazine-deep-daiv-funding-completed"},"type":"News","slug":"2024-10_ai-magazine-deep-daiv-funding-completed"},{"title":"Best Poster Presentation Award at IPIU 2025","date":"2025-02-01T00:00:00.000Z","body":{"raw":"\\nWinner of the Best Poster Presentation Award at IPIU 2025.\\n","code":"var Component=(()=>{var u=Object.create;var r=Object.defineProperty;var x=Object.getOwnPropertyDescriptor;var f=Object.getOwnPropertyNames;var p=Object.getPrototypeOf,P=Object.prototype.hasOwnProperty;var j=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),_=(t,e)=>{for(var n in e)r(t,n,{get:e[n],enumerable:!0})},c=(t,e,n,a)=>{if(e&&typeof e==\\"object\\"||typeof e==\\"function\\")for(let o of f(e))!P.call(t,o)&&o!==n&&r(t,o,{get:()=>e[o],enumerable:!(a=x(e,o))||a.enumerable});return t};var l=(t,e,n)=>(n=t!=null?u(p(t)):{},c(e||!t||!t.__esModule?r(n,\\"default\\",{value:t,enumerable:!0}):n,t)),I=t=>c(r({},\\"__esModule\\",{value:!0}),t);var d=j((A,i)=>{i.exports=_jsx_runtime});var b={};_(b,{default:()=>M,frontmatter:()=>h});var s=l(d()),h={title:\\"Best Poster Presentation Award at IPIU 2025\\",date:\\"2025-02\\"};function m(t){let e=Object.assign({p:\\"p\\"},t.components);return(0,s.jsx)(e.p,{children:\\"Winner of the Best Poster Presentation Award at IPIU 2025.\\"})}function w(t={}){let{wrapper:e}=t.components||{};return e?(0,s.jsx)(e,Object.assign({},t,{children:(0,s.jsx)(m,t)})):m(t)}var M=w;return I(b);})();\\n;return Component;"},"_id":"news/2025-02_best-poster-presentation-award-at-ipiu-2025.mdx","_raw":{"sourceFilePath":"news/2025-02_best-poster-presentation-award-at-ipiu-2025.mdx","sourceFileName":"2025-02_best-poster-presentation-award-at-ipiu-2025.mdx","sourceFileDir":"news","contentType":"mdx","flattenedPath":"news/2025-02_best-poster-presentation-award-at-ipiu-2025"},"type":"News","slug":"2025-02_best-poster-presentation-award-at-ipiu-2025"},{"title":"RA-Touch: Retrieval-Augmented Touch Understanding with Enriched Visual Data","date":"2025-07-01T00:00:00.000Z","body":{"raw":"\\nOur paper \\"RA-Touch: Retrieval-Augmented Touch Understanding with Enriched Visual Data\\" has been accepted at ACM MM 2025.\\n","code":"var Component=(()=>{var h=Object.create;var r=Object.defineProperty;var m=Object.getOwnPropertyDescriptor;var p=Object.getOwnPropertyNames;var l=Object.getPrototypeOf,x=Object.prototype.hasOwnProperty;var g=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),M=(t,e)=>{for(var n in e)r(t,n,{get:e[n],enumerable:!0})},i=(t,e,n,o)=>
1{if(e&&typeof e==\\"object\\"||typeof e==\\"function\\")for(let a of p(e))!x.call(t,a)&&a!==n&&r(t,a,{get:()=>e[a],enumerable:!(o=m(e,a))||o.enumerable});return t};var f=(t,e,n)=>(n=t!=null?h(l(t)):{},i(e||!t||!t.__esModule?r(n,\\"default\\",{value:t,enumerable:!0}):n,t)),j=t=>i(r({},\\"__esModule\\",{value:!0}),t);var u=g((b,s)=>{s.exports=_jsx_runtime});var R={};M(R,{default:()=>D,frontmatter:()=>A});var c=f(u()),A={title:\\"RA-Touch: Retrieval-Augmented Touch Understanding with Enriched Visual Data\\",date:\\"2025-07\\"};function d(t){let e=Object.assign({p:\\"p\\"},t.components);return(0,c.jsx)(e.p,{children:\'Our paper \\"RA-Touch: Retrieval-Augmented Touch Understanding with Enriched Visual Data\\" has been accepted at ACM MM 2025.\'})}function _(t={}){let{wrapper:e}=t.components||{};return e?(0,c.jsx)(e,Object.assign({},t,{children:(0,c.jsx)(d,t)})):d(t)}var D=_;return j(R);})();\\n;return Component;"},"_id":"news/2025-07_ra-touch-retrieval-augmented-touch-understanding-with-enriched-visual-data.mdx","_raw":{"sourceFilePath":"news/2025-07_ra-touch-retrieval-augmented-touch-understanding-with-enriched-visual-data.mdx","sourceFileName":"2025-07_ra-touch-retrieval-augmented-touch-understanding-with-enriched-visual-data.mdx","sourceFileDir":"news","contentType":"mdx","flattenedPath":"news/2025-07_ra-touch-retrieval-augmented-touch-understanding-with-enriched-visual-data"},"type":"News","slug":"2025-07_ra-touch-retrieval-augmented-touch-understanding-with-enriched-visual-data"},{"title":"Joined ETRI as a Post-Master\'s Researcher","date":"2026-01-01T00:00:00.000Z","body":{"raw":"\\nJoined ETRI as a Post Master\'s Researcher.\\n","code":"var Component=(()=>{var u=Object.create;var o=Object.defineProperty;var x=Object.getOwnPropertyDescriptor;var p=Object.getOwnPropertyNames;var f=Object.getPrototypeOf,j=Object.prototype.hasOwnProperty;var M=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),_=(t,e)=>{for(var n in e)o(t,n,{get:e[n],enumerable:!0})},c=(t,e,n,a)=>{if(e&&typeof e==\\"object\\"||typeof e==\\"function\\")for(let s of p(e))!j.call(t,s)&&s!==n&&o(t,s,{get:()=>e[s],enumerable:!(a=x(e,s))||a.enumerable});return t};var h=(t,e,n)=>(n=t!=null?u(f(t)):{},c(e||!t||!t.__esModule?o(n,\\"default\\",{value:t,enumerable:!0}):n,t)),l=t=>c(o({},\\"__esModule\\",{value:!0}),t);var d=M((E,i)=>{i.exports=_jsx_runtime});var C={};_(C,{default:()=>g,frontmatter:()=>R});var r=h(d()),R={title:\\"Joined ETRI as a Post-Master\'s Researcher\\",date:\\"2026-01\\"};function m(t){let e=Object.assign({p:\\"p\\"},t.components);return(0,r.jsx)(e.p,{children:\\"Joined ETRI as a Post Master\'s Researcher.\\"})}function b(t={}){let{wrapper:e}=t.components||{};return e?(0,r.jsx)(e,Object.assign({},t,{children:(0,r.jsx)(m,t)})):m(t)}var g=b;return l(C);})();\\n;return Component;"},"_id":"news/2026-01_joined-etri-as-post-masters-researcher.mdx","_raw":{"sourceFilePath":"news/2026-01_joined-etri-as-post-masters-researcher.mdx","sourceFileName":"2026-01_joined-etri-as-post-masters-researcher.mdx","sourceFileDir":"news","contentType":"mdx","flattenedPath":"news/2026-01_joined-etri-as-post-masters-researcher"},"type":"News","slug":"2026-01_joined-etri-as-post-masters-researcher"},{"title":"Graduated M.S. at Sungkyunkwan University","date":"2026-02-01T00:00:00.000Z","body":{"raw":"\\nGraduated with an M.S. from Sungkyunkwan University.\\n","code":"var Component=(()=>{var m=Object.create;var o=Object.defineProperty;var x=Object.getOwnPropertyDescriptor;var f=Object.getOwnPropertyNames;var p=Object.getPrototypeOf,j=Object.prototype.hasOwnProperty;var y=(t,n)=>()=>(n||t((n={exports:{}}).exports,n),n.exports),M=(t,n)=>{for(var e in n)o(t,e,{get:n[e],enumerable:!0})},s=(t,n,e,i)=>{if(n&&typeof n==\\"object\\"||typeof n==\\"function\\")for(let r of f(n))!j.call(t,r)&&r!==e&&o(t,r,{get:()=>n[r],enumerable:!(i=x(n,r))||i.enumerable});return t};var _=(t,n,e)=>(e=t!=null?m(p(t)):{},s(n||!t||!t.__esModule?o(e,\\"default\\",{value:t,enumerable:!0}):e,t)),g=t=>s(o({},\\"__esModule\\",{value:!0}),t);var u=y((b,c)=>{c.exports=_jsx_runtime});var S={};M(S,{default:()=>w,frontmatter:()=>k});var a=_(u()),k={title:\\"Graduated M.S. at Sungkyunkwan University\\",date:\\"2026-02\\"};function d(t){let n=Object.assign({p:\\"p\\"},t.components);return(0,a.jsx)(n.p,{children:\\"Graduated with an M.S. from Sungkyunkwan University.\\"})}function l(t={}){let{wrapper:n}=t.components||{};return n?(0,a.jsx)(n,Object.assign({},t,{children:(0,a.jsx)(d,t)})):d(t)}var w=l;return g(S);})();\\n;return Component;"},"_id":"news/2026-02_graduated-ms-sungkyunkwan-university.mdx","_raw":{"sourceFilePath":"news/2026-02_graduated-ms-sungkyunkwan-university.mdx","sourceFileName":"2026-02_graduated-ms-sungkyunkwan-university.mdx","sourceFileDir":"news","contentType":"mdx","flattenedPath":"news/2026-02_graduated-ms-sungkyunkwan-university"},"type":"News","slug":"2026-02_graduated-ms-sungkyunkwan-university"},{"title":"MultihopSpatial: Multi-hop Compositional Spatial Reasoning Benchmark for Vision-Language Model","date":"2026-06-01T00:00:00.000Z","body":{"raw":"\\nOur paper \\"MultihopSpatial: Multi-hop Compositional Spatial Reasoning Benchmark for Vision-Language Model\\" has been accepted at ECCV 2026.\\n","code":"var Component=(()=>{var u=Object.create;var a=Object.defineProperty;var m=Object.getOwnPropertyDescriptor;var h=Object.getOwnPropertyNames;var M=Object.getPrototypeOf,d=Object.prototype.hasOwnProperty;var g=(t,n)=>()=>(n||t((n={exports:{}}
1).exports,n),n.exports),f=(t,n)=>{for(var e in n)a(t,e,{get:n[e],enumerable:!0})},p=(t,n,e,r)=>{if(n&&typeof n==\\"object\\"||typeof n==\\"function\\")for(let o of h(n))!d.call(t,o)&&o!==e&&a(t,o,{get:()=>n[o],enumerable:!(r=m(n,o))||r.enumerable});return t};var x=(t,n,e)=>(e=t!=null?u(M(t)):{},p(n||!t||!t.__esModule?a(e,\\"default\\",{value:t,enumerable:!0}):e,t)),C=t=>p(a({},\\"__esModule\\",{value:!0}),t);var c=g((O,s)=>{s.exports=_jsx_runtime});var b={};f(b,{default:()=>S,frontmatter:()=>j});var i=x(c()),j={title:\\"MultihopSpatial: Multi-hop Compositional Spatial Reasoning Benchmark for Vision-Language Model\\",date:\\"2026-06\\"};function l(t){let n=Object.assign({p:\\"p\\"},t.components);return(0,i.jsx)(n.p,{children:\'Our paper \\"MultihopSpatial: Multi-hop Compositional Spatial Reasoning Benchmark for Vision-Language Model\\" has been accepted at ECCV 2026.\'})}function _(t={}){let{wrapper:n}=t.components||{};return n?(0,i.jsx)(n,Object.assign({},t,{children:(0,i.jsx)(l,t)})):l(t)}var S=_;return C(b);})();\\n;return Component;"},"_id":"news/2026-06_multihopspatial-accepted-eccv-2026.mdx","_raw":{"sourceFilePath":"news/2026-06_multihopspatial-accepted-eccv-2026.mdx","sourceFileName":"2026-06_multihopspatial-accepted-eccv-2026.mdx","sourceFileDir":"news","contentType":"mdx","flattenedPath":"news/2026-06_multihopspatial-accepted-eccv-2026"},"type":"News","slug":"2026-06_multihopspatial-accepted-eccv-2026"},{"title":"Started Ph.D. at Arizona State University","date":"2026-09-01T00:00:00.000Z","body":{"raw":"\\nStarted Ph.D. at Arizona State University.\\n","code":"var Component=(()=>{var u=Object.create;var o=Object.defineProperty;var x=Object.getOwnPropertyDescriptor;var p=Object.getOwnPropertyNames;var f=Object.getPrototypeOf,j=Object.prototype.hasOwnProperty;var _=(t,n)=>()=>(n||t((n={exports:{}}).exports,n),n.exports),h=(t,n)=>{for(var e in n)o(t,e,{get:n[e],enumerable:!0})},s=(t,n,e,i)=>{if(n&&typeof n==\\"object\\"||typeof n==\\"function\\")for(let r of p(n))!j.call(t,r)&&r!==e&&o(t,r,{get:()=>n[r],enumerable:!(i=x(n,r))||i.enumerable});return t};var l=(t,n,e)=>(e=t!=null?u(f(t)):{},s(n||!t||!t.__esModule?o(e,\\"default\\",{value:t,enumerable:!0}):e,t)),D=t=>s(o({},\\"__esModule\\",{value:!0}),t);var d=_((v,c)=>{c.exports=_jsx_runtime});var b={};h(b,{default:()=>M,frontmatter:()=>S});var a=l(d()),S={title:\\"Started Ph.D. at Arizona State University\\",date:\\"2026-09\\"};function m(t){let n=Object.assign({p:\\"p\\"},t.components);return(0,a.jsx)(n.p,{children:\\"Started Ph.D. at Arizona State University.\\"})}function y(t={}){let{wrapper:n}=t.components||{};return n?(0,a.jsx)(n,Object.assign({},t,{children:(0,a.jsx)(m,t)})):m(t)}var M=y;return D(b);})();\\n;return Component;"},"_id":"news/2026-09_started-phd-arizona-state-university.mdx","_raw":{"sourceFilePath":"news/2026-09_started-phd-arizona-state-university.mdx","sourceFileName":"2026-09_started-phd-arizona-state-university.mdx","sourceFileDir":"news","contentType":"mdx","flattenedPath":"news/2026-09_started-phd-arizona-state-university"},"type":"News","slug":"2026-09_started-phd-arizona-state-university"}]'),l=JSON.parse('[{"title":"KOALA: Empirical Lessons Toward Memory-Efficient and Fast Diffusion Models for Text-to-Image Synthesis","authors":"Youngwan Lee, Kwanyong Park, Yoorhim Cho, Yong-Ju Lee, Sung Ju Hwang","venue":"NeurIPS 2024","date":"2024-12-01T00:00:00.000Z","paperUrl":"https://proceedings.neurips.cc/paper_files/paper/2024/hash/5c4e0e38691e2aa08bba4cefc4c6e852-Abstract-Conference.html","homepageUrl":"https://youngwanlee.github.io/KOALA/","githubUrl":"https://github.com/youngwanLEE/sdxl-koala","image":{"height":938,"width":1715,"url":"/static/images/publication/koala_v3.png","type":"CloudinaryImage","_raw":{}},"body":{"raw":"\\n**Abstract.** As text-to-image (T2I) synthesis models increase in size, they demand higher inference costs due to the need for more expensive GPUs with larger memory, which makes it challenging to reproduce these models in addition to the restricted access to training datasets. Our study aims to reduce these inference costs and explores how far the generative capabilities of T2I models can be extended using only publicly available datasets and open-source models. To this end, by using the de facto standard text-to-image model, Stable Diffusion XL (SDXL), we present three key practices in building an efficie
1nt T2I model: (1) Knowledge distillation: we explore how to effectively distill the generation capability of SDXL into an efficient U-Net and find that self-attention is the most crucial part. (2) Data: despite fewer samples, high-resolution images with rich captions are more crucial than a larger number of low-resolution images with short captions. (3) Teacher: Step-distilled Teacher allows T2I models to reduce the noising steps. Based on these findings, we build two types of efficient text-to-image models, called KOALA-Turbo & -Lightning, with two compact U-Nets (1B & 700M), reducing the model size up to 54% and 69% of the SDXL U-Net. In particular, the KOALA-Lightning-700M is 4 times faster than SDXL while still maintaining satisfactory generation quality. Moreover, unlike SDXL, our KOALA models can generate 1024px high-resolution images on consumer-grade GPUs with 8GB of VRAMs (3060Ti). We believe that our KOALA models will have a significant practical impact, serving as cost-effective alternatives to SDXL for academic researchers and general users in resource-constrained environments.\\n","code":"var Component=(()=>{var d=Object.create;var a=Object.defineProperty;var g=Object.getOwnPropertyDescriptor;var u=Object.getOwnPropertyNames;var m=Object.getPrototypeOf,p=Object.prototype.hasOwnProperty;var f=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),w=(e,t)=>{for(var i in t)a(e,i,{get:t[i],enumerable:!0})},r=(e,t,i,o)=>{if(t&&typeof t==\\"object\\"||typeof t==\\"function\\")for(let s of u(t))!p.c
1all(e,s)&&s!==i&&a(e,s,{get:()=>t[s],enumerable:!(o=g(t,s))||o.enumerable});return e};var b=(e,t,i)=>(i=e!=null?d(m(e)):{},r(t||!e||!e.__esModule?a(i,\\"default\\",{value:e,enumerable:!0}):i,e)),L=e=>r(a({},\\"__esModule\\",{value:!0}),e);var l=f((S,c)=>{c.exports=_jsx_runtime});var v={};w(v,{default:()=>A,frontmatter:()=>x});var n=b(l()),x={title:\\"KOALA: Empirical Lessons Toward Memory-Efficient and Fast Diffusion Models for Text-to-Image Synthesis\\",authors:\\"Youngwan Lee, Kwanyong Park, Yoorhim Cho, Yong-Ju Lee, Sung Ju Hwang\\",venue:\\"NeurIPS 2024\\",date:\\"2024-12\\",paperUrl:\\"https://proceedings.neurips.cc/paper_files/paper/2024/hash/5c4e0e38691e2aa08bba4cefc4c6e852-Abstract-Conference.html\\",homepageUrl:\\"https://youngwanlee.github.io/KOALA/\\",githubUrl:\\"https://github.com/youngwanLEE/sdxl-koala\\",image:{url:\\"/static/images/publication/koala_v3.png\\",width:1715,height:938}};function h(e){let t=Object.assign({p:\\"p\\",strong:\\"strong\\"},e.components);return(0,n.jsxs)(t.p,{children:[(0,n.jsx)(t.strong,{children:\\"Abstract.\\"}),\\" As text-to-image (T2I) synthesis models increase in size, they demand higher inference costs due to the need for more expensive GPUs with larger memory, which makes it challenging to reproduce these models in addition to the restricted access to training datasets. Our study aims to reduce these inference costs and explores how far the generative capabilities of T2I models can be extended using only publicly available datasets and open-source models. To this end, by using the de facto standard text-to-image model, Stable Diffusion XL (SDXL), we present three key practices in building an efficient T2I model: (1) Knowledge distillation: we explore how to effectively distill the generation capability of SDXL into an efficient U-Net and find that self-attention is the most crucial part. (2) Data: despite fewer samples, high-resolution images with rich captions are more crucial than a larger number of low-resolution images with short captions. (3) Teacher: Step-distilled Teacher allows T2I models to reduce the noising steps. Based on these findings, we build two types of efficient text-to-image models, called KOALA-Turbo & -Lightning, with two compact U-Nets (1B & 700M), reducing the model size up to 54% and 69% of the SDXL U-Net. In particular, the KOALA-Lightning-700M is 4 times faster than SDXL while still maintaining satisfactory generation quality. Moreover, unlike SDXL, our KOALA models can generate 1024px high-resolution images on consumer-grade GPUs with 8GB of VRAMs (3060Ti). We believe that our KOALA models will have a significant practical impact, serving as cost-effective alternatives to SDXL for academic researchers and general users in resource-constrained environments.\\"]})}function y(e={}){let{wrapper:t}=e.components||{};return t?(0,n.jsx)(t,Object.assign({},e,{children:(0,n.jsx)(h,e)})):h(e)}var A=y;return L(v);})();\\n;return Component;"},"_id":"publications/2024-Neurips-KOALA.mdx","_raw":{"sourceFilePath":"publications/2024-Neurips-KOALA.mdx","sourceFileName":"2024-Neurips-KOALA.mdx","sourceFileDir":"publications","contentType":"mdx","flattenedPath":"publications/2024-Neurips-KOALA"},"type":"Publication","slug":"2024-Neurips-KOALA"},{"title":"RA-Touch: Retrieval-Augmented Touch Understanding with Enriched Visual Data","authors":"Yoorhim Cho*, Hongyeob Kim*, Semin Kim, Youjia Zhang, Yunseok Choi, Sungeun Hong","venue":"ACM MM 2025","date":"2025-07-01T00:00:00.000Z","paperUrl":"https://dl.acm.org/doi/10.1145/3746027.3755106","homepageUrl":"https://aim-skku.github.io/RA-Touch/","videoUrl":"https://youtu.be/gYrFXbKTmAY?si=ZYrFK0CECJIFj_sO","githubUrl":"https://github.com/AIM-SKKU/RA-Touch/","image":{"height":2562,"width":3139,"url":"/static/images/publication/RA-Touch.jpg","type":"CloudinaryImage","_raw":{}},"body":{"raw":"\\n**Abstract.** Visuo-tactile perception aims to understand an object\'s tactile properties. However, the field remains underexplored due to the high cost of data collection. We observe that visually distinct objects can exhibit similar surface textures or material properties. For example, a leather sofa and a leather jacket can share similar tactile properties. This implies that tactile understanding can be guided by material cues in visual data, even without direct tactile supervision. In this paper, we introduce RA-Touch, a retrieval-augmented framework that improves visuo-tactile perception by leveraging visual data enriched with tactile semantics. We carefully recaption a large-scale visual dataset with tactile-focused descriptions, enabling the model to access tactile semantics typically absent from conventional visual datasets. A key challenge remains in effectively utilizing these tactile-aware external descriptions. RA-Touch addresses this by retrieving visual-textual representations aligned with tactile inputs and integrating them to focus on relevant textural and material properties. By outperforming prior methods, we demonstrate the potential of retrieval-based visual reuse for tactile understanding. Code is available at [https://aim-skku.github.io/RA-Touch](https://aim-skku.github.io/RA-Touch).\\n","code":"var Component=(()=>{var h=Object.create;var r=Object.defineProperty;var d=Object.getOwnPropertyDescriptor;var p=Object.getOwnPropertyNames;var m=Object.getPrototypeOf,g=Object.prototype.hasOwnProperty;var b=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),v=(e,t)=>
1{for(var i in t)r(e,i,{get:t[i],enumerable:!0})},o=(e,t,i,n)=>{if(t&&typeof t==\\"object\\"||typeof t==\\"function\\")for(let s of p(t))!g.call(e,s)&&s!==i&&r(e,s,{get:()=>t[s],enumerable:!(n=d(t,s))||n.enumerable});return e};var f=(e,t,i)=>(i=e!=null?h(m(e)):{},o(t||!e||!e.__esModule?r(i,\\"default\\",{value:e,enumerable:!0}):i,e)),x=e=>o(r({},\\"__esModule\\",{value:!0}),e);var l=b((k,c)=>{c.exports=_jsx_runtime});var w={};v(w,{default:()=>y,frontmatter:()=>A});var a=f(l()),A={title:\\"RA-Touch: Retrieval-Augmented Touch Understanding with Enriched Visual Data\\",authors:\\"Yoorhim Cho*, Hongyeob Kim*, Semin Kim, Youjia Zhang, Yunseok Choi, Sungeun Hong\\",venue:\\"ACM MM 2025\\",date:\\"2025-07\\",paperUrl:\\"https://dl.acm.org/doi/10.1145/3746027.3755106\\",homepageUrl:\\"https://aim-skku.github.io/RA-Touch/\\",githubUrl:\\"https://github.com/AIM-SKKU/RA-Touch/\\",videoUrl:\\"https://youtu.be/gYrFXbKTmAY?si=ZYrFK0CECJIFj_sO\\",image:{url:\\"/static/images/publication/RA-Touch.jpg\\",width:3139,height:2562}};function u(e){let t=Object.assign({p:\\"p\\",strong:\\"strong\\",a:\\"a\\"},e.components);return(0,a.jsxs)(t.p,{children:[(0,a.jsx)(t.strong,{children:\\"Abstract.\\"}),\\" Visuo-tactile perception aims to understand an object\'s tactile properties. However, the field remains underexplored due to the high cost of data collection. We observe that visually distinct objects can exhibit similar surface textures or material properties. For example, a leather sofa and a leather jacket can share similar tactile properties. This implies that tactile understanding can be guided by material cues in visual data, even without direct tactile supervision. In this paper, we introduce RA-Touch, a retrieval-augmented framework that improves visuo-tactile perception by leveraging visual data enriched with tactile semantics. We carefully recaption a large-scale visual dataset with tactile-focused descriptions, enabling the model to access tactile semantics typically absent from conventional visual datasets. A key challenge remains in effectively utilizing these tactile-aware external descriptions. RA-Touch addresses this by retrieving visual-textual representations aligned with tactile inputs and integrating them to focus on relevant textural and material properties. By outperforming prior methods, we demonstrate the potential of retrieval-based visual reuse for tactile understanding. Code is available at \\",(0,a.jsx)(t.a,{href:\\"https://aim-skku.github.io/RA-Touch\\",children:\\"https://aim-skku.github.io/RA-Touch\\"}),\\".\\"]})}function j(e={}){let{wrapper:t}=e.components||{};return t?(0,a.jsx)(t,Object.assign({},e,{children:(0,a.jsx)(u,e)})):u(e)}var y=j;return x(w);})();\\n;return Component;"},"_id":"publications/2025-ACM-MM-ra-touch.mdx","_raw":{"sourceFilePath":"publications/2025-ACM-MM-ra-touch.mdx","sourceFileName":"2025-ACM-MM-ra-touch.mdx","sourceFileDir":"publications","contentType":"mdx","flattenedPath":"publications/2025-ACM-MM-ra-touch"},"type":"Publication","slug":"2025-ACM-MM-ra-touch"},{"title":"MultihopSpatial: Multi-hop Compositional Spatial Reasoning Benchmark for Vision-Language Model","authors":"Youngwan Lee*, Soojin Jang*, Yoorhim Cho, Seunghwan Lee, Yong-Ju Lee, Sung Ju Hwang","venue":"ECCV 2026","date":"2026-03-01T00:00:00.000Z","paperUrl":"https://proceedings.neurips.cc/paper_files/paper/2024/hash/5c4e0e38691e2aa08bba4cefc4c6e852-Abstract-Conference.html","homepageUrl":"https://youngwanlee.github.io/multihopspatial/","githubUrl":"https://github.com/youngwanLEE/multihopspatial","datasetUrl":"https://huggingface.co/datasets/etri-vilab/MultihopSpatial","image":{"height":1094,"width":2000,"url":"/static/images/publication/MultihopSpatial.png","type":"CloudinaryImage","_raw":{}},"body":{"raw":"\\n**Abstract.** Spatial reasoning is foundational for Vision-Language Models (VLMs), particularly when deployed as Vision-Language-Action (VLA) agents in physical environments. However, existing benchmarks predominantly focus on elementary, single-hop relations, neglecting the multi-hop compositional reasoning and precise visual grounding essential for real-world scenarios. To address this, we introduce MultihopSpatial, offering three key contributions: (1) A comprehensive benchmark designed for multi-hop and compositional spatial reasoning, featuring 1- to 3-hop complex queries across diverse spatial perspectives. (2) Acc@50IoU, a complementary metric that simultaneously evaluates reasoning and visual grounding by requiring both answer selection and precise bounding box prediction\u2014capabilities vital for robust VLA deployment. (3) MultihopSpatial
1-Train, a dedicated large-scale training corpus to foster spatial intelligence. Extensive evaluation of 37 state-of-the-art VLMs yields eight key insights, revealing that compositional spatial reasoning remains a formidable challenge. Finally, we demonstrate that reinforcement learning post-training on our corpus enhances both intrinsic VLM spatial reasoning and downstream embodied manipulation performance.\\n","code":"var Component=(()=>{var g=Object.create;var o=Object.defineProperty;var u=Object.getOwnPropertyDescriptor;var h=Object.getOwnPropertyNames;var d=Object.getPrototypeOf,m=Object.prototype.hasOwnProperty;var f=(e,n)=>()=>(n||e((n={exports:{}}).exports,n),n.exports),b=(e,n)=>{for(var t in n)o(e,t,{get:n[t],enumerable:!0})},r=(e,n,t,s)=>{if(n&&typeof n==\\"object\\"||typeof n==\\"function\\")for(let i of h(n))!m.call(e,i)&&i!==t&&o(e,i,{get:()=>n[i],enumerable:!(s=u(n,i))||s.enumerable});return e};var y=(e,n,t)=>(t=e!=null?g(d(e)):{},r(n||!e||!e.__esModule?o(t,\\"default\\",{value:e,enumerable:!0}):t,e)),v=e=>r(o({},\\"__esModule\\",{value:!0}),e);var p=f((V,l)=>{l.exports=_jsx_runtime});var L={};b(L,{default:()=>x,frontmatter:()=>w});var a=y(p()),w={title:\\"MultihopSpatial: Multi-hop Compositional Spatial Reasoning Benchmark for Vision-Language Model\\",authors:\\"Youngwan Lee*, Soojin Jang*, Yoorhim Cho, Seunghwan Lee, Yong-Ju Lee, Sung Ju Hwang\\",venue:\\"ECCV 2026\\",date:\\"2026-03\\",paperUrl:\\"https://proceedings.neurips.cc/paper_files/paper/2024/hash/5c4e0e38691e2aa08bba4cefc4c6e852-Abstract-Conference.html\\",homepageUrl:\\"https://youngwanlee.github.io/multihopspatial/\\",githubUrl:\\"https://github.com/youngwanLEE/multihopspatial\\",datasetUrl:\\"https://huggingface.co/datasets/etri-vilab/MultihopSpatial\\",image:{url:\\"/static/images/publication/MultihopSpatial.png\\",width:2e3,height:1094}};function c(e){let n=Object.assign({p:\\"p\\",strong:\\"strong\\"},e.components);return(0,a.jsxs)(n.p,{children:[(0,a.jsx)(n.strong,{children:\\"Abstract.\\"}),\\" Spatial reasoning is foundational for Vision-Language Models (VLMs), particularly when deployed as Vision-Language-Action (VLA) agents in physical environments. However, existing benchmarks predominantly focus on elementary, single-hop relations, neglecting the multi-hop compositional reasoning and precise visual grounding essential for real-world scenarios. To address this, we introduce MultihopSpatial, offering three key contributions: (1) A comprehensive benchmark designed for multi-hop and compositional spatial reasoning, featuring 1- to 3-hop complex queries across diverse spatial perspectives. (2) Acc@50IoU, a complementary metric that simultaneously evaluates reasoning and visual grounding by requiring both answer selection and precise bounding box prediction\\\\u2014capabilities vital for robust VLA deployment. (3) MultihopSpatial-Train, a dedicated large-scale training corpus to foster spatial intelligence. Extensive evaluation of 37 state-of-the-art VLMs yields eight key insights, revealing that compositional spatial reasoning remains a formidable challenge. Finally, we demonstrate that reinforcement learning post-training on our corpus enhances both intrinsic VLM spatial reasoning and downstream embodied manipulation performance.\\"]})}function M(e={}){let{wrapper:n}=e.components||{};return n?(0,a.jsx)(n,Object.assign({},e,{children:(0,a.jsx)(c,e)})):c(e)}var x=M;return v(L);})();\\n;return Component;"},"_id":"publications/2026-ECCV-MultihopSpatial.mdx","_raw":{"sourceFilePath":"publications/2026-ECCV-MultihopSpatial.mdx","sourceFileName":"2026-ECCV-MultihopSpatial.mdx","sourceFileDir":"publications","contentType":"mdx","flattenedPath":"publications/2026-ECCV-MultihopSpatial"},"type":"Publication","slug":"2026-ECCV-MultihopSpatial"}]');(0,r.Z)(o).concat((0,r.Z)(i),(0,r.Z)(a),(0,r.Z)(s),(0,r.Z)(l))},7357:function(e,t,n){"use strict";var r=n(9454),o=n(5138),i=n(5893),a=n(8268),s=n(9094),l=n(3943);t.Z=function(e){var t=e.name,n=(0,o.Z)(e,["name"]);switch(t){case"nextjs":return(0,i.jsx)(s.ou,(0,r.Z)({},n));case"typescript":return(0,i.jsx)(s.Av,(0,r.Z)({},n));case"xdox":return(0,i.jsx)(s.ky,(0,r.Z)({},n));case"figma":return(0,i.jsx)(s.u2,(0,r.Z)({},n));case"tailwindcss":return(0,i.jsx)(s.$r,(0,r.Z)({},n));case"go":return(0,i.jsx)(s.T3,(0,r.Z)({},n));case"react":return(0,i.jsx)(s.VK,(0,r.Z)({},n));case"notiger":return(0,i.jsx)(s.o4,(0,r.Z)({},n));case"twnft":return(0,i.jsx)(s.z9,(0,r.Z)({},n));case"storli":return(0,i.jsx)(l.Z,(0,r.Z)({},n));case"secli":return(0,i.jsx)(s.Ek,(0,r.Z)({},n));case"paypeer":return(0,i.jsx)(s.YI,(0,r.Z)({},n));case"ETRI":case"etri":return(0,i.jsx)(s.Xo,{className:n.className,style:n.style});default:return(0,i.jsx)(a.Z,{})}}},3943:function(e,t,n){"use strict";var r=n(9454),o=n(3700),i=n(5893);t.Z=function(e){return(0,i.jsxs)("svg",(0,o.Z)((0,r.Z)({viewBox:"0 0 512 512",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),{children:[(0,i.jsxs)("g",{clipPath:"url(#clip0_2_3)",children:[(0,i.jsx)("path",{fill:"url(#paint0_radial_2_3)",d:"M0 0H512V512H0z"}
1),(0,i.jsxs)("g",{filter:"url(#filter0_d_2_3)",children:[(0,i.jsx)("path",{d:"M456 369.855V153.297L268.456 261.576v216.558L456 369.855z",fill:"url(#paint1_linear_2_3)"}),(0,i.jsx)("path",{d:"M57 369.855l187.544 108.279V261.576L57 153.297v216.558z",fill:"url(#paint2_linear_2_3)"}),(0,i.jsx)("path",{d:"M444.697 141.279L257.152 33 69.608 141.279l187.544 108.279 187.545-108.279z",fill:"url(#paint3_linear_2_3)"})]})]}),(0,i.jsxs)("defs",{children:[(0,i.jsxs)("filter",{id:"filter0_d_2_3",x:17,y:1,width:479,height:525.134,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[(0,i.jsx)("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),(0,i.jsx)("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),(0,i.jsx)("feOffset",{dy:8}),(0,i.jsx)("feGaussianBlur",{stdDeviation:20}),(0,i.jsx)("feComposite",{in2:"hardAlpha",operator:"out"}),(0,i.jsx)("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0"}),(0,i.jsx)("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_2_3"}),(0,i.jsx)("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_2_3",result:"shape"})]}),(0,i.jsxs)("radialGradient",{id:"paint0_radial_2_3",cx:0,cy:0,r:1,gradientUnits:"userSpaceOnUse",gradientTransform:"rotate(135 74.98 181.02) scale(362.039)",children:[(0,i.jsx)("stop",{stopColor:"#434343"}),(0,i.jsx)("stop",{offset:1})]}),(0,i.jsxs)("linearGradient",{id:"paint1_linear_2_3",x1:501.433,y1:307.225,x2:181.504,y2:350.565,gradientUnits:"userSpaceOnUse",children:[(0,i.jsx)("stop",{stopColor:"#093217"}),(0,i.jsx)("stop",{offset:1,stopColor:"#036D34"})]}),(0,i.jsxs)("linearGradient",{id:"paint2_linear_2_3",x1:197.762,y1:193.36,x2:57,y2:444.567,gradientUnits:"userSpaceOnUse",children:[(0,i.jsx)("stop",{stopColor:"#0282CA"}),(0,i.jsx)("stop",{offset:1,stopColor:"#014064"})]}),(0,i.jsxs)("linearGradient",{id:"paint3_linear_2_3",x1:334.891,y1:76.3115,x2:163.811,y2:227.902,gradientUnits:"userSpaceOnUse",children:[(0,i.jsx)("stop",{stopColor:"#8D1AFF"}),(0,i.jsx)("stop",{offset:1,stopColor:"#5101A0"})]}),(0,i.jsx)("clipPath",{id:"clip0_2_3",children:(0,i.jsx)("path",{fill:"#fff",d:"M0 0H512V512H0z"})})]})]}))}},9094:function(e,t,n){"use strict";n.d(t,{RQ:function(){return a},Xo:function(){return x},u2:function(){return f},c8:function(){return l},T3:function(){return h},ou:function(){return s},o4:function(){return m},YI:function(){return y},VK:function(){return d},T5:function(){return b},Ek:function(){return g},$r:function(){return p},z9:function(){return v},Av:function(){return c},ky:function(){return u}});var r=n(9454),o=n(3700),i=n(5893),a=function(e){return(0,i.jsx)("svg",(0,o.Z)((0,r.Z)({className:"feather feather-command",fill:"none",height:24,stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,viewBox:"0 0 24 24",width:24,xmlns:"http://www.w3.org/2000/svg"},e),{children:(0,i.jsx)("path",{d:"M18 3a3 3 0 00-3 3v12a3 3 0 003 3 3 3 0 003-3 3 3 0 00-3-3H6a3 3 0 00-3 3 3 3 0 003 3 3 3 0 003-3V6a3 3 0 00-3-3 3 3 0 00-3 3 3 3 0 003 3h12a3 3 0 003-3 3 3 0 00-3-3z"})}))},s=function(e){return(0,i.jsx)("svg",(0,o.Z)((0,r.Z)({width:1e3,height:1e3,viewBox:"0 0 1000 1000",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),{children:(0,i.jsx)("path",{d:"M467.253.27c-2.15.195-8.993.879-15.151 1.367-142.034 12.804-275.074 89.43-359.336 207.204-46.92 65.484-76.93 139.764-88.27 218.443C.49 454.748 0 462.86 0 500.098c0 37.238.489 45.35 4.497 72.814C31.672 760.666 165.298 918.414 346.53 976.861c32.453 10.458 66.666 17.592 105.572 21.893 15.151 1.666 80.645 1.666 95.796 0 67.156-7.428 124.047-24.044 180.157-52.681 8.602-4.398 10.264-5.571 9.091-6.548-.782-.586-37.439-49.748-81.428-109.173l-79.96-107.999-100.196-148.268c-55.132-81.513-100.489-148.17-100.88-148.17-.391-.097-.782 65.778-.977 146.215-.293 140.84-.391 146.509-2.151 149.832-2.541 4.789-4.496 6.744-8.602 8.894-3.128 1.564-5.865 1.857-20.625 1.857h-16.912l-4.496-2.835a18.27 18.27 0 01-6.549-7.134l-2.053-4.399.195-195.963.293-196.061 3.031-3.812c1.564-2.052 4.887-4.691 7.233-5.962 4.008-1.955 5.572-2.15 22.483-2.15 19.942 0 23.265.782 28.446 6.451 1.466 1.563 55.719 83.272 120.626 181.693 64.907 98.422 153.665 232.811 197.263 298.783l79.178 119.924 4.008-2.639c35.484-23.066 73.021-55.906 102.737-90.114 63.246-72.618 104.008-161.169 117.693-255.583 4.008-27.464 4.497-35.576 4.497-72.814 0-37.238-.489-45.35-4.497-72.814C968.328 239.53 834.702 81.782 653.47 23.335 621.505 12.975 587.488 5.84 549.365 1.54 539.98.562 475.367-.513 467.253.27zm204.692 302.398c4.692 2.346 8.505 6.842 9.873 11.533.782 2.542.978 56.884.782 179.348l-.293 175.732-30.987-47.5-31.085-47.5V446.538c0-82.588.391-129.013.977-131.261 1.564-5.474 4.985-9.774 9.678-12.315 4.007-2.053 5.474-2.248 20.821-2.248 14.467 0 17.008.195 20.234 1.954z",fill:"#fff"})}))},l=function(e){return(0,i.jsx)("svg",(0,o.Z)((0,r.Z)({"aria-hidden":"true","data-prefix":"fab","data-icon":"github",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 496 512"},e),{children:(0,i.jsx)("path",{fill:"currentColor",d:"M165.9 397.4c0 2-2.3 3.6-5.2 3.6-3.3.3-5.6-1.3-5.6-3.6 0-2 2.3-3.6 5.2-3.6 3-.3 5.6 1.3 5.6 3.6zm-31.1-4.5c-.7 2 1.3 4.3 4.3 4.9 2.6 1 5.6 0 6.2-2s-1.3-4.3-4.3-5.2c-2.6-.7-5.5.3-6.2 2.3zm44.2-1.7c-2.9.7-4.9 2.6-4.6 4.9.3 2 2.9 3.3 5.9 2.6 2.9-.7 4.9-2.6 4.6-4.6-.3-1.9-3-3.2-5.9-2.9zM244.8 8C106.1 8 0 113.3 0 252c0 110.9 69.8 205.8 169.5 239.2 12.8 2.3 17.3-5.6 17.3-12.1 0-6.2-.3-40.4-.3-61.4 0 0-70 15-84.7-29.8 0 0-11.4-29.1-27.8-36.6 0 0-22.9-15.7 1.6-15.4 0 0 24.9 2 38.6 25.8 21.9 38.6 58.6 27.5 72.9 20.9 2.3-16 8.8-27.1 16-33.7-55.9-6.2-112.3-14.3-112.3-110.5 0-27.5 7.6-41.3 23.6-58.9-2.6-6.5-11.1-33.3 2.6-67.9 20.9-6.5 69 27 69 27 20-5.6 41.5-8.5 62.8-8.5s42.8 2.9 62.8 8.5c0 0 48.1-33.6 69-27 13.7 34.7 5.2 61.4 2.6 67.9 16 17.7 25.8 31.5 25.8 58.9 0 96.5-58.9 104.2-114.8 110.5 9.2 7.9 17 22.9 17 46.4 0 33.7-.3 75.4-.3 83.6 0 6.5 4.6 14.4 17.3 12.1C428.2 457.8 496 362.9 496 252 496 113.3 383.5 8 244.8 8zM97.2 352.9c-1.3 1-1 3.3.7 5.2 1.6 1.6 3.9 2.3 5.2 1 1.3-1 1-3.3-.7-5.2-1.6-1.6-3.9-2.3-5.2-1zm-10.8-8.1c-.7 1.3.3 2.9 2.3 3.9 1.6 1 3.6.7 4.3-.7.7-1.3-.3-2.9-2.3-3.9-2-.6-3.6-.3-4.3.7zm32.4 35.6c-1.6 1.3-1 4.3 1.3 6.2 2.3 2.3 5.2 2.6 6.5 1 1.3-1.3.7-4.3-1.3-6.2-2.2-2.3-5.2-2.6-6.5-1zm-11.4-14.7c-1.6 1-1.6 3.6 0 5.9 1.6 2.3 4.3 3.3 5.6 2.3 1.6-1.3 1.6-3.9 0-6.2-1.4-2.3-4-3.3-5.6-2z"})}))}
1,c=function(e){return(0,i.jsxs)("svg",(0,o.Z)((0,r.Z)({fill:"none",viewBox:"0 0 512 512",xmlns:"http://www.w3.org/2000/svg"},e),{children:[(0,i.jsx)("rect",{fill:"#3178c6",height:512,rx:50,width:512}),(0,i.jsx)("path",{clipRule:"evenodd",d:"M316.939 407.424v50.061c8.138 4.172 17.763 7.3 28.875 9.386S368.637 470 380.949 470c11.999 0 23.397-1.147 34.196-3.442 10.799-2.294 20.268-6.075 28.406-11.342 8.138-5.266 14.581-12.15 19.328-20.65S470 415.559 470 403.044c0-9.074-1.356-17.026-4.069-23.857s-6.625-12.906-11.738-18.225c-5.112-5.319-11.242-10.091-18.389-14.315s-15.207-8.213-24.18-11.967c-6.573-2.712-12.468-5.345-17.685-7.9-5.217-2.556-9.651-5.163-13.303-7.822-3.652-2.66-6.469-5.476-8.451-8.448-1.982-2.973-2.974-6.336-2.974-10.091 0-3.441.887-6.544 2.661-9.308s4.278-5.136 7.512-7.118c3.235-1.981 7.199-3.52 11.894-4.615 4.696-1.095 9.912-1.642 15.651-1.642 4.173 0 8.581.313 13.224.938 4.643.626 9.312 1.591 14.008 2.894a97.514 97.514 0 0113.694 4.928c4.434 1.982 8.529 4.276 12.285 6.884v-46.776c-7.616-2.92-15.937-5.084-24.962-6.492S415.797 238 404.112 238c-11.895 0-23.163 1.278-33.805 3.833s-20.006 6.544-28.093 11.967c-8.086 5.424-14.476 12.333-19.171 20.729-4.695 8.395-7.043 18.433-7.043 30.114 0 14.914 4.304 27.638 12.912 38.172 8.607 10.533 21.675 19.45 39.204 26.751 6.886 2.816 13.303 5.579 19.25 8.291s11.086 5.528 15.415 8.448c4.33 2.92 7.747 6.101 10.252 9.543 2.504 3.441 3.756 7.352 3.756 11.733 0 3.233-.783 6.231-2.348 8.995s-3.939 5.162-7.121 7.196-7.147 3.624-11.894 4.771c-4.748 1.148-10.303 1.721-16.668 1.721-10.851 0-21.597-1.903-32.24-5.71-10.642-3.806-20.502-9.516-29.579-17.13zM232.78 284.082H297V243H118v41.082h63.906V467h50.874z",fill:"#fff",fillRule:"evenodd"})]}))},u=function(e){return(0,i.jsxs)("svg",(0,o.Z)((0,r.Z)({viewBox:"0 0 512 512",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),{children:[(0,i.jsx)("g",{filter:"url(#filter0_d_2_2)",children:(0,i.jsx)("ellipse",{cx:256,cy:256,rx:210,ry:230,fill:"url(#paint0_linear_4_4)"})}),(0,i.jsxs)("defs",{children:[(0,i.jsxs)("filter",{id:"filter0_d_2_2",x:26,y:10,width:460,height:500,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[(0,i.jsx)("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),(0,i.jsx)("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),(0,i.jsx)("feMorphology",{radius:4,operator:"dilate",in:"SourceAlpha",result:"effect1_dropShadow_2_2"}),(0,i.jsx)("feOffset",{dy:4}),(0,i.jsx)("feGaussianBlur",{stdDeviation:8}),(0,i.jsx)("feComposite",{in2:"hardAlpha",operator:"out"}),(0,i.jsx)("feColorMatrix",{values:"0 0 0 0 0.274748 0 0 0 0 0.0653125 0 0 0 0 0.870833 0 0 0 0.4 0"}),(0,i.jsx)("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_2_2"}),(0,i.jsx)("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_2_2",result:"shape"})]}),(0,i.jsxs)("linearGradient",{id:"paint0_linear_4_4",x1:256,y1:26,x2:256,y2:486,gradientUnits:"userSpaceOnUse",children:[(0,i.jsx)("stop",{stopColor:"#A855F7"}),(0,i.jsx)("stop",{offset:.614583,stopColor:"#5825E7"}),(0,i.jsx)("stop",{offset:1,stopColor:"#2563EB"})]})]})]}))},d=function(e){return(0,i.jsxs)("svg",(0,o.Z)((0,r.Z)({xmlns:"http://www.w3.org/2000/svg",viewBox:"-11.5 -10.23174 23 20.46348"},e),{children:[(0,i.jsx)("circle",{r:2.05,fill:"#61dafb"}),(0,i.jsxs)("g",{stroke:"#61dafb",fill:"none",children:[(0,i.jsx)("ellipse",{rx:11,ry:4.2}),(0,i.jsx)("ellipse",{rx:11,ry:4.2,transform:"rotate(60)"}),(0,i.jsx)("ellipse",{rx:11,ry:4.2,transform:"rotate(120)"})]})]}))},p=function(e){return(0,i.jsxs)("svg",(0,o.Z)((0,r.Z)({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 54 33"},e),{children:[(0,i.jsx)("g",{clipPath:"url(#prefix__clip0)",children:(0,i.jsx)("path",{fill:"#38bdf8",fillRule:"evenodd",d:"M27 0c-7.2 0-11.7 3.6-13.5 10.8 2.7-3.6 5.85-4.95 9.45-4.05 2.054.513 3.522 2.004 5.147 3.653C30.744 13.09 33.808 16.2 40.5 16.2c7.2 0 11.7-3.6 13.5-10.8-2.7 3.6-5.85 4.95-9.45 4.05-2.054-.513-3.522-2.004-5.147-3.653C36.756 3.11 33.692 0 27 0zM13.5 16.2C6.3 16.2 1.8 19.8 0 27c2.7-3.6 5.85-4.95 9.45-4.05 2.054.514 3.522 2.004 5.147 3.653C17.244 29.29 20.308 32.4 27 32.4c7.2 0 11.7-3.6 13.5-10.8-2.7 3.6-5.85 4.95-9.45 4.05-2.054-.513-3.522-2.004-5.147-3.653C23.256 19.31 20.192 16.2 13.5 16.2z",clipRule:"evenodd"})}),(0,i.jsx)("defs",{children:(0,i.jsx)("clipPath",{id:"prefix__clip0",children:(0,i.jsx)("path",{fill:"#fff",d:"M0 0h54v32.4H0z"})})})]}))},h=function(e){return(0,i.jsxs)("svg",(0,o.Z)((0,r.Z)({id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",viewBox:"0 0 254.5 225",xmlSpace:"preserve"},e),{children:[(0,i.jsx)("style",{children:".st4{fill:#00acd7}"}),(0,i.jsx)("path",{className:"st4",d:"M40.2 101.1c-.4 0-.5-.2-.3-.5l2.1-2.7c.2-.3.7-.5 1.1-.5h35.7c.4 0 .5.3.3.6l-1.7 2.6c-.2.3-.7.6-1 .6l-36.2-.1zM25.1 110.3c-.4 0-.5-.2-.3-.5l2.1-2.7c.2-.3.7-.5 1.1-.5h45.6c.4 0 .6.3.5.6l-.8 2.4c-.1.4-.5.6-.9.6l-47.3.1zM49.3 119.5c-.4 0-.5-.3-.3-.6l1.4-2.5c.2-.3.6-.6 1-.6h20c.4 0 .6.3.6.7l-.2 2.4c0 .4-.4.7-.7.7l-21.8-.1z"}),(0,i.jsxs)("g",{id:"CXHf1q_3_",children:[(0,i.jsx)("path",{className:"st4",d:"M153.1 99.3c-6.3 1.6-10.6 2.8-16.8 4.4-1.5.4-1.6.5-2.9-1-1.5-1.7-2.6-2.8-4.7-3.8-6.3-3.1-12.4-2.2-18.1 1.5-6.8 4.4-10.3 10.9-10.2 19 .1 8 5.6 14.6 13.5 15.7 6.8.9 12.5-1.5 17-6.6.9-1.1 1.7-2.3 2.7-3.7h-19.3c-2.1 0-2.6-1.3-1.9-3 1.3-3.1 3.7-8.3 5.1-10.9.3-.6 1-1.6 2.5-1.6h36.4c-.2 2.7-.2 5.4-.6 8.1-1.1 7.2-3.8 13.8-8.2 19.6-7.2 9.5-16.6 15.4-28.5 17-9.8 1.3-18.9-.6-26.9-6.6-7.4-5.6-11.6-13-12.7-22.2-1.3-10.9 1.9-20.7 8.5-29.3 7.1-9.3 16.5-15.2 28-17.3 9.4-1.7 18.4-.6 26.5 4.9 5.3 3.5 9.1 8.3 11.6 14.1.6.9.2 1.4-1 1.7z"}),(0,i.jsx)("path",{className:"st4",d:"M186.2 154.6c-9.1-.2-17.4-2.8-24.4-8.8-5.9-5.1-9.6-11.6-10.8-19.3-1.8-11.3 1.3-21.3 8.1-30.2 7.3-9.6 16.1-14.6 28-16.7 10.2-1.8 19.8-.8 28.5 5.1 7.9 5.4 12.8 12.7 14.1 22.3 1.7 13.5-2.2 24.5-11.5 33.9-6.6 6.7-14.7 10.9-24 12.8-2.7.5-5.4.6-8 .9zm23.8-40.4c-.1-1.3-.1-2.3-.3-3.3-1.8-9.9-10.9-15.5-20.4-13.3-9.3 2.1-15.3 8-17.5 17.4-1.8 7.8 2 15.7 9.2 18.9 5.5 2.4 11 2.1 16.3-.6 7.9-4.1 12.2-10.5 12.7-19.1z"})]})]}))},f=function(e){return(0,i.jsxs)("svg",(0,o.Z)((0,r.Z)({viewBox:"0 0 288 432",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),{children:[(0,i.jsx)("path",{fill:"none",transform:"matrix(3 0 0 3 1.466 2.2)",d:"M0 0H95.0226V142.534H0z"}),(0,i.jsx)("path",{d:"M144 216c0-39.359 31.907-71.267 71.267-71.267 39.359 0 71.267 31.908 71.267 71.267 0 39.36-31.908 71.267-71.267 71.267C175.907 287.267 144 255.36 144 216z",fill:"#1ABCFE"}),(0,i.jsx)("path",{d:"M1.466 358.534c0-39.359 31.907-71.267 71.267-71.267H144v71.267c0 39.36-31.907 71.267-71.267 71.267S1.466 397.894 1.466 358.534z",fill:"#0ACF83"}),(0,i.jsx)("path",{d:"M144 2.2v142.533h71.267c39.36 0 71.267-31.907 71.267-71.267S254.627 2.2 215.267 2.2H144z",fill:"#FF7262"}),(0,i.jsx)("path",{d:"M1.466 73.466c0 39.36 31.907 71.267 71.267 71.267H144V2.199H72.733c-39.36 0-71.267 31.908-71.267 71.267z",fill:"#F24E1E"}),(0,i.jsx)("path",{d:"M1.466 216c0 39.36 31.907 71.267 71.267 71.267H144V144.733H72.733c-39.36 0-71.267 31.908-71.267 71.267z",fill:"#A259FF"})]}))},m=function(e){return(0,i.jsxs)("svg",(0,o.Z)((0,r.Z)({viewBox:"0 0 512 512",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),{children:[(0,i.jsx)("path",{d:"M244.379 48.435L121.911 50.04l.754 2.614L2.476 469.189h122.479l58.949-204.299 58.511 202.779-.525 1.766h122.479L487 48.435H364.369l-59.555 209.449L245.37 51.87l.269-.933h-.538l-.722-2.502z",fill:"url(#paint0_linear_6_6)"}),(0,i.jsx)("defs",{children:(0,i.jsxs)("linearGradient",{id:"paint0_linear_6_6",x1:421.5,y1:48,x2:69.0953,y2:468.661,gradientUnits:"userSpaceOnUse",children:[(0,i.jsx)("stop",{stopColor:"#1A3B8D"}),(0,i.jsx)("stop",{offset:1,stopColor:"#206E86"})]})})]}))},v=function(e){return(0,i.jsxs)("svg",(0,o.Z)((0,r.Z)({viewBox:"0 0 512 512",fill:"none",xmlns:"http://www.w3.org/2000/svg"}
1,e),{children:[(0,i.jsx)("g",{filter:"url(#filter0_ddii_2_2)",children:(0,i.jsx)("path",{d:"M53 224c0-82.843 67.157-150 150-150h217c22.091 0 40 17.909 40 40v174c0 82.843-67.157 150-150 150H93c-22.091 0-40-17.909-40-40V224z",fill:"url(#paint0_linear_2_2)"})}),(0,i.jsx)("path",{d:"M107 296.92c-.373-4.64-.64-9.147-.8-13.52-.107-4.373-.16-8.507-.16-12.4 0-6.453.133-12.24.4-17.36.267-5.173.533-9.627.8-13.36-4.587.267-9.04.613-13.36 1.04-4.32.427-8.32.987-12 1.68l.16-13.36c6.24-1.12 12.64-1.92 19.2-2.4 6.56-.533 13.12-.8 19.68-.8 4.693 0 9.173.107 13.44.32 4.32.213 8.453.533 12.4.96l-.08 13.84c-3.733-.587-7.787-.987-12.16-1.2-4.32-.267-8.747-.4-13.28-.4a472.84 472.84 0 00-.72 12.16 297.2 297.2 0 00-.32 14.24c0 4.533.107 9.307.32 14.32.267 5.013.587 10.293.96 15.84l-14.48.4zm64.225.64c-4.427 0-8.187-3.44-11.28-10.32-1.067-2.453-2-5.147-2.8-8.08-.8-2.933-1.493-5.92-2.08-8.96-.533-3.04-.987-5.947-1.36-8.72a576.95 576.95 0 01-.8-7.44c-.16-2.187-.293-3.84-.4-4.96l13.12-3.04c.64 12.107 1.6 21.307 2.88 27.6 1.333 6.293 2.347 9.44 3.04 9.44.373 0 .827-.747 1.36-2.24.587-1.493 1.227-3.467 1.92-5.92.693-2.507 1.36-5.253 2-8.24.64-2.987 1.2-6 1.68-9.04-.64-3.893-1.067-6.987-1.28-9.28l13.52-.48v.96c0 2.187.16 4.747.48 7.68.32 2.933.72 5.973 1.2 9.12.48 3.093.987 5.973 1.52 8.64.587 2.667 1.147 4.827 1.68 6.48.533 1.653.987 2.48 1.36 2.48.32 0 .773-.72 1.36-2.16.587-1.44 1.227-3.413 1.92-5.92.747-2.507 1.493-5.36 2.24-8.56a306.966 306.966 0 002.16-10.24 156.484 156.484 0 001.68-10.8l13.2 2.8c-.907 5.067-2 10.107-3.28 15.12-1.227 4.96-2.533 9.573-3.92 13.84-1.387 4.213-2.747 7.76-4.08 10.64-2.987 6.347-6.693 9.52-11.12 9.52-1.44 0-3.093-.453-4.96-1.36-1.813-.853-3.493-2.667-5.04-5.44-.533-1.013-1.067-2.24-1.6-3.68a57.353 57.353 0 01-1.52-4.8 72.093 72.093 0 01-1.92 5.28c-2.827 6.72-6.453 10.08-10.88 10.08zm56.894-.72c0-8.32.107-15.813.32-22.48.267-6.72.587-12.827.96-18.32.427-5.547.88-10.693 1.36-15.44.534-4.8 1.04-9.387 1.52-13.76l13.76.56c-.213 1.653-.453 3.44-.72 5.36a252.44 252.44 0 015.92 8.4c2.187 3.147 4.4 6.48 6.64 10a432.263 432.263 0 016.72 10.48c2.187 3.467 4.267 6.8 6.24 10a435.39 435.39 0 015.2 8.48c.374-3.68.56-8.853.56-15.52 0-3.413-.053-6.933-.16-10.56-.106-3.627-.24-7.093-.4-10.4-.16-3.36-.373-6.347-.64-8.96-.266-2.667-.56-4.747-.88-6.24l15.04-1.84c.107 2.613.16 6.053.16 10.32.054 4.213.08 8.693.08 13.44 0 4.213-.026 8.453-.08 12.72-.053 4.213-.16 8.107-.32 11.68-.16 3.573-.4 6.533-.72 8.88-.586 4.587-1.76 7.973-3.52 10.16-1.76 2.187-4.24 3.28-7.44 3.28-2.613 0-5.013-.907-7.2-2.72-2.133-1.813-4.453-4.8-6.96-8.96a723.245 723.245 0 00-6-9.92 614.056 614.056 0 00-7.04-11.6c-2.4-3.947-4.72-7.707-6.96-11.28-.426 6.24-.746 12.48-.96 18.72-.213 6.187-.32 11.787-.32 16.8v4.48c0 1.44.027 2.773.08 4l-14.24.24zm72.964-.32a35.718 35.718 0 01-.16-1.68v-2.4c0-2.187.053-4.853.16-8 .16-3.2.346-6.667.56-10.4.213-3.787.453-7.6.72-11.44.266-3.893.533-7.627.8-11.2.32-3.627.613-6.853.88-9.68-.854.107-1.68.213-2.48.32l-1.76-13.6c5.546-.747 11.44-1.28 17.68-1.6 6.293-.32 12.426-.48 18.4-.48 4.48 0 8.773.107 12.88.32 4.16.16 7.893.4 11.2.72l-1.2 13.28c-2.454-.48-5.254-.8-8.4-.96-3.147-.213-6.534-.32-10.16-.32-3.734 0-7.6.107-11.6.32-3.947.16-7.787.373-11.52.64a907.16 907.16 0 00-.64 6.64c-.16 2.293-.32 4.667-.48 7.12 2.773-.373 5.84-.64 9.2-.8 3.413-.16 6.8-.24 10.16-.24 3.84 0 7.44.107 10.8.32 3.413.213 6.026.587 7.84 1.12l-.96 12.88a163.1 163.1 0 00-10.48-.88 145.79 145.79 0 00-9.52-.32c-6.027 0-11.974.4-17.84 1.2-.32 5.6-.587 10.933-.8 16-.16 5.067-.294 9.333-.4 12.8l-12.88.32zm89.745.4c-.373-4.64-.64-9.147-.8-13.52-.107-4.373-.16-8.507-.16-12.4 0-6.453.133-12.24.4-17.36.267-5.173.533-9.627.8-13.36-4.587.267-9.04.613-13.36 1.04-4.32.427-8.32.987-12 1.68l.16-13.36c6.24-1.12 12.64-1.92 19.2-2.4 6.56-.533 13.12-.8 19.68-.8 4.693 0 9.173.107 13.44.32 4.32.213 8.453.533 12.4.96l-.08 13.84c-3.733-.587-7.787-.987-12.16-1.2-4.32-.267-8.747-.4-13.28-.4a472.84 472.84 0 00-.72 12.16 297.2 297.2 0 00-.32 14.24c0 4.533.107 9.307.32 14.32.267 5.013.587 10.293.96 15.84l-14.48.4z",fill:"#fff"}),(0,i.jsxs)("defs",{children:[(0,i.jsxs)("filter",{id:"filter0_ddii_2_2",x:49,y:74,width:419,height:372,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[(0,i.jsx)("feFlood",{floodOpacity:0,result:"Backgroun
1dImageFix"}),(0,i.jsx)("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),(0,i.jsx)("feOffset",{dy:4}),(0,i.jsx)("feGaussianBlur",{stdDeviation:2}),(0,i.jsx)("feComposite",{in2:"hardAlpha",operator:"out"}),(0,i.jsx)("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0.215686 0 0 0 0 0.34902 0 0 0 0.25 0"}),(0,i.jsx)("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_2_2"}),(0,i.jsx)("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),(0,i.jsx)("feOffset",{dx:4,dy:4}),(0,i.jsx)("feGaussianBlur",{stdDeviation:2}),(0,i.jsx)("feComposite",{in2:"hardAlpha",operator:"out"}),(0,i.jsx)("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0.215686 0 0 0 0 0.34902 0 0 0 0.25 0"}),(0,i.jsx)("feBlend",{in2:"effect1_dropShadow_2_2",result:"effect2_dropShadow_2_2"}),(0,i.jsx)("feBlend",{in:"SourceGraphic",in2:"effect2_dropShadow_2_2",result:"shape"}),(0,i.jsx)("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),(0,i.jsx)("feOffset",{dy:4}),(0,i.jsx)("feGaussianBlur",{stdDeviation:2}),(0,i.jsx)("feComposite",{in2:"hardAlpha",operator:"arithmetic",k2:-1,k3:1}),(0,i.jsx)("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0.216901 0 0 0 0 0.35 0 0 0 0.25 0"}),(0,i.jsx)("feBlend",{in2:"shape",result:"effect3_innerShadow_2_2"}),(0,i.jsx)("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),(0,i.jsx)("feOffset",{dx:4,dy:4}),(0,i.jsx)("feGaussianBlur",{stdDeviation:2}),(0,i.jsx)("feComposite",{in2:"hardAlpha",operator:"arithmetic",k2:-1,k3:1}),(0,i.jsx)("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0.215686 0 0 0 0 0.34902 0 0 0 0.25 0"}),(0,i.jsx)("feBlend",{in2:"effect3_innerShadow_2_2",result:"effect4_innerShadow_2_2"})]}),(0,i.jsxs)("linearGradient",{id:"paint0_linear_2_2",x1:460,y1:438,x2:53,y2:74,gradientUnits:"userSpaceOnUse",children:[(0,i.jsx)("stop",{stopColor:"#BE185D"}),(0,i.jsx)("stop",{offset:1,stopColor:"#1D4ED8"})]})]})]}))},g=(n(3943),function(e){return(0,i.jsxs)("svg",(0,o.Z)((0,r.Z)({width:512,height:512,viewBox:"0 0 512 512",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),{children:[(0,i.jsxs)("g",{clipPath:"url(#clip0_2_2)",children:[(0,i.jsx)("path",{fill:"#000",d:"M0 0H512V512H0z"}),(0,i.jsx)("g",{filter:"url(#filter0_dddd_2_2)",children:(0,i.jsx)("rect",{x:55,y:168,width:401,height:141,rx:32,fill:"#000"})}),(0,i.jsx)("path",{d:"M130 220.875l-.75 15.25 13-5.5 2.875 8.5-13.5 3.875 9.5 11.875-7.25 5.25-8.375-12.875-8.375 12.875-7.25-5.25 9.5-11.875-13.5-3.875 2.875-8.5 13 5.5-.75-15.25h9zM256 220.875l-.75 15.25 13-5.5 2.875 8.5-13.5 3.875 9.5 11.875-7.25 5.25-8.375-12.875-8.375 12.875-7.25-5.25 9.5-11.875-13.5-3.875 2.875-8.5 13 5.5-.75-15.25h9zM382 220.875l-.75 15.25 13-5.5 2.875 8.5-13.5 3.875 9.5 11.875-7.25 5.25-8.375-12.875-8.375 12.875-7.25-5.25 9.5-11.875-13.5-3.875 2.875-8.5 13 5.5-.75-15.25h9z",fill:"#fff"})]}),(0,i.jsxs)("defs",{children:[(0,i.jsxs)("filter",{id:"filter0_dddd_2_2",x:-5,y:98,width:521,height:271,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[(0,i.jsx)("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),(0,i.jsx)("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),(0,i.jsx)("feOffset",{dy:20}),(0,i.jsx)("feGaussianBlur",{stdDeviation:20}),(0,i.jsx)("feComposite",{in2:"hardAlpha",operator:"out"}),(0,i.jsx)("feColorMatrix",{values:"0 0 0 0 0.852833 0 0 0 0 0 0 0 0 0 0.991667 0 0 0 0.25 0"}),(0,i.jsx)("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_2_2"}),(0,i.jsx)("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),(0,i.jsx)("feOffset",{dy:-30}),(0,i.jsx)("feGaussianBlur",{stdDeviation:20}),(0,i.jsx)("feComposite",{in2:"hardAlpha",operator:"out"}),(0,i.jsx)("feColorMatrix",{values:"0 0 0 0 0.852833 0 0 0 0 0 0 0 0 0 0.991667 0 0 0 0.25 0"}),(0,i.jsx)("feBlend",{in2:"effect1_dropShadow_2_2",result:"effect2_dropShadow_2_2"}),(0,i.jsx)("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),(0,i.jsx)("feOffset",{dx:20}),(0,i.jsx)("feGaussianBlur",{stdDeviation:20}),(0,i.jsx)("feComposite",{in2:"hardAlpha",operator:"out"}),(0,i.jsx)("feColorMatrix",{values:"0 0 0 0 0.852833 0 0 0 0 0 0 0 0 0 0.991667 0 0 0 0.25 0"}),(0,i.jsx)("feBlend",{in2:"effect2_dropShadow_2_2",result:"effect3_dropShadow_2_2"}),(0,i.jsx)("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),(0,i.jsx)("feOffset",{dx:-20}),(0,i.jsx)("feGaussianBlur",{stdDeviation:20}),(0,i.jsx)("feComposite",{in2:"hardAlpha",operator:"out"}),(0,i.jsx)("feColorMatrix",{values:"0 0 0 0 0.852833 0 0 0 0 0 0 0 0 0 0.991667 0 0 0 0.25 0"}),(0,i.jsx)("feBlend",{in2:"effect3_dropShadow_2_2",result:"effect4_dropShadow_2_2"}),(0,i.jsx)("feBlend",{in:"SourceGraphic",in2:"effect4_dropShadow_2_2",result:"shape"})]}),(0,i.jsx)("clipPath",{id:"clip0_2_2",children:(0,i.jsx)("path",{fill:"#fff",d:"M0 0H512V512H0z"})})]})]}))}),y=function(e){return(0,i.jsxs)("svg",(0,o.Z)((0,r.Z)({viewBox:"0 0 549 511"}
1,e),{children:[(0,i.jsx)("g",{filter:"url(#filter0_d_4_14)",children:(0,i.jsxs)("g",{filter:"url(#filter1_i_4_14)",children:[(0,i.jsx)("path",{d:"M214.299 26.6053C181.986 26.6053 165.829 26.6053 151.486 31.4397C138.798 35.7157 127.193 42.7006 117.475 51.9098C106.488 62.3215 98.9247 76.5982 83.7973 105.152L64.4255 141.717C62.5303 145.294 61.5827 147.083 61.7738 148.542C61.9406 149.816 62.6307 150.962 63.6781 151.706C64.8782 152.558 66.9023 152.558 70.9506 152.558H327.9L395.397 26.6053H214.299Z",fill:"#A07FFF"}),(0,i.jsx)("path",{d:"M214.299 26.6053C181.986 26.6053 165.829 26.6053 151.486 31.4397C138.798 35.7157 127.193 42.7006 117.475 51.9098C106.488 62.3215 98.9247 76.5982 83.7973 105.152L64.4255 141.717C62.5303 145.294 61.5827 147.083 61.7738 148.542C61.9406 149.816 62.6307 150.962 63.6781 151.706C64.8782 152.558 66.9023 152.558 70.9506 152.558H327.9L395.397 26.6053H214.299Z",fill:"url(#paint0_radial_4_14)",fillOpacity:"0.6",style:{mixBlendMode:"multiply"}}),(0,i.jsx)("path",{d:"M177.964 185.105C178.414 184.241 178.638 183.809 178.922 183.455C179.602 182.607 180.558 182.027 181.624 181.815C182.069 181.726 182.556 181.726 183.53 181.726H467.034L455.371 204.407C432.762 248.375 421.458 270.358 402.238 283.541C399.535 285.395 396.735 287.104 393.85 288.66C373.337 299.724 348.617 299.724 299.177 299.724H247.542C217.598 299.724 202.626 299.724 192.596 295.851C168.151 286.41 153.14 261.681 156.045 235.639C157.237 224.952 164.146 211.67 177.964 185.105V185.105Z",fill:"#7940F1"}),(0,i.jsx)("path",{d:"M102.475 332.833C103.23 331.401 103.608 330.684 104.157 330.162C104.644 329.7 105.225 329.349 105.86 329.135C106.579 328.892 107.388 328.892 109.008 328.892L262.776 328.892C266.778 328.892 268.778 328.892 269.974 329.734C271.018 330.47 271.71 331.605 271.887 332.87C272.089 334.319 271.173 336.098 269.341 339.656L264.921 348.242C249.943 377.335 242.455 391.881 231.433 402.499C221.686 411.889 209.993 419.021 197.182 423.389C182.697 428.328 166.336 428.328 133.615 428.328H64.3839C60.3441 428.328 58.3242 428.328 57.1249 427.478C56.0781 426.736 55.3876 425.591 55.2191 424.319C55.026 422.862 55.9678 421.075 57.8514 417.501L102.475 332.833Z",fill:"#7940F1"}),(0,i.jsx)("path",{d:"M394.243 26.6053L311.25 182.389H466.712L476.741 163.367C509.488 101.259 464.455 26.6053 394.243 26.6053V26.6053Z",fill:"#8F69FC"}),(0,i.jsx)("path",{d:"M394.243 26.6053L311.25 182.389H466.712L476.741 163.367C509.488 101.259 464.455 26.6053 394.243 26.6053V26.6053Z",fill:"url(#paint1_radial_4_14)",fillOpacity:"0.8",style:{mixBlendMode:"multiply"}})]})}),(0,i.jsxs)("defs",{children:[(0,i.jsxs)("filter",{id:"filter0_d_4_14",x:"-2.08303",y:"0.0680923",width:"605.162",he
1ight:"510.179",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[(0,i.jsx)("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),(0,i.jsx)("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),(0,i.jsx)("feOffset",{dy:"27.6909"}),(0,i.jsx)("feGaussianBlur",{stdDeviation:"27.114"}),(0,i.jsx)("feComposite",{in2:"hardAlpha",operator:"out"}),(0,i.jsx)("feColorMatrix",{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.1 0"}),(0,i.jsx)("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_4_14"}),(0,i.jsx)("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_4_14",result:"shape"})]}),(0,i.jsxs)("filter",{id:"filter1_i_4_14",x:"25.1958",y:"26.6053",width:"462.438",height:"431.721",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[(0,i.jsx)("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),(0,i.jsx)("feBlend",{mode:"normal",in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),(0,i.jsx)("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),(0,i.jsx)("feOffset",{dx:"-33.4599",dy:"36.9212"}),(0,i.jsx)("feGaussianBlur",{stdDeviation:"14.9992"}),(0,i.jsx)("feComposite",{in2:"hardAlpha",operator:"arithmetic",k2:"-1",k3:"1"}),(0,i.jsx)("feColorMatrix",{type:"matrix",values:"0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.04 0"}),(0,i.jsx)("feBlend",{mode:"normal",in2:"shape",result:"effect1_innerShadow_4_14"})]}),(0,i.jsxs)("radialGradient",{id:"paint0_radial_4_14",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(408 133.5) rotate(-157.294) scale(152.846 382.122)",children:[(0,i.jsx)("stop",{stopColor:"#310C81"}),(0,i.jsx)("stop",{offset:"1",stopColor:"#2F0C7C",stopOpacity:"0"})]}),(0,i.jsxs)("radialGradient",{id:"paint1_radial_4_14",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(387 241.5) rotate(-85.1599) scale(124.444 394.658)",children:[(0,i.jsx)("stop",{stopColor:"#1A0547"}),(0,i.jsx)("stop",{offset:"0.0001",stopColor:"#210D4D"}),(0,i.jsx)("stop",{offset:"0.984375",stopColor:"#1B0649",stopOpacity:"0"})]})]})]}))},x=function(e){return(0,i.jsx)("img",(0,r.Z)({src:"/static/images/ETRI.svg",alt:"ETRI logo"},e))},b=function(e){return(0,i.jsxs)("svg",(0,o.Z)((0,r.Z)({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),{children:[(0,i.jsx)("path",{d:"M12 3L2 8l10 5 10-5-10-5Z",stroke:"currentColor",strokeWidth:"1.6",strokeLinejoin:"round"}),(0,i.jsx)("path",{d:"M5 10.5v4.2c0 1.9 3.1 3.3 7 3.3s7-1.4 7-3.3v-4.2",stroke:"currentColor",strokeWidth:"1.6",strokeLinecap:"round"}),(0,i.jsx)("path",{d:"M21.5 9.5v5",stroke:"currentColor",strokeWidth:"1.6",strokeLinecap:"round"})]}))}},7631:function(e,t,n){"use strict";n.d(t,{Z:function(){return w}});var r=n(9454),o=n(3700),i=n(5138),a=n(5893),s=n(6089),l=n.n(s),c=n(4184),u=n.n(c),d=n(7294),p=n(5697),h=n.n(p);function f(){return f=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},f.apply(this,arguments)}function m(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var v=(0,d.forwardRef)((function(e,t){var n=e.color,r=void 0===n?"currentColor":n,o=e.size,i=void 0===o?24:o,a=m(e,["color","size"]);return d.createElement("svg",f({ref:t,xmlns:"http://www.w3.org/2000/svg",width:i,height:i,viewBox:"0 0 24 24",fill:"none",stroke:r,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},a),d.createElement("line",{x1:"7",y1:"17",x2:"17",y2:"7"}),d.createElement("polyline",{points:"7 7 17 7 17 17"}))}));v.propTypes={color:h().string,size:h().oneOfType([h().string,h().number])},v.displayName="ArrowUpRight";var g=v,y=n(1664),x=n.n(y),b=(0,d.forwardRef)((function(e,t){var n=e.href,s=e.className,c=e.children,p=e.gradientUnderline,h=e.noGradientUnderline,f=e.noExternalLinkIcon,m=e.noHighlight,v=void 0!==m&&m,y=e.icon,b=(0,i.Z)(e,["href","className","children","gradientUnderline","noGradientUnderline","noExternalLinkIcon","noHighlight","icon"]),w=n.startsWith("/")||n.startsWith("#"),j=!!p||!("string"!==typeof c&&"undefined"!==typeof c||h);return(0,a.jsxs)(a.Fragment,{children:[w?(0,a.jsx)(x(),{href:n,children:(0,a.jsx)("a",(0,o.Z)((0,r.Z)({ref:t},b),{className:"jsx-8b75a9ccf5c40d44 "+(b&&null!=b.className&&b.className||u(
1)("transition duration-200",j&&"gradient-underline flex items-center",s)||""),children:j?(0,a.jsx)("span",{className:"jsx-8b75a9ccf5c40d44",children:null!==c&&void 0!==c?c:n}):c}))}):(0,a.jsxs)("a",(0,o.Z)((0,r.Z)({href:n,target:"_blank",rel:"noopener noreferrer",ref:t},b),{className:"jsx-8b75a9ccf5c40d44 "+(b&&null!=b.className&&b.className||u()("mr-1 inline-flex items-center space-x-1 text-gray-300 transition duration-200",j&&"gradient-underline no-underline",j&&!v&&"text-blue-400 hover:text-blue-300",s)||""),children:[y&&(0,d.cloneElement)(y,{className:"h-4 w-4 mr-1"}),f?j?(0,a.jsx)("span",{className:"jsx-8b75a9ccf5c40d44",children:c}):c:(0,a.jsx)("span",{className:"jsx-8b75a9ccf5c40d44",children:c})," ",!f&&(0,a.jsx)(g,{className:"h-4 w-4"})]})),(0,a.jsx)(l(),{id:"8b75a9ccf5c40d44",children:".gradient-underline.jsx-8b75a9ccf5c40d44 .jsx-8b75a9ccf5c40d44:not(.anchor){text-decoration:none;background-image:-webkit-linear-gradient(left,#be185d,#1d4ed8);background-image:-moz-linear-gradient(left,#be185d,#1d4ed8);background-image:-o-linear-gradient(left,#be185d,#1d4ed8);background-image:linear-gradient(to right,#be185d,#1d4ed8);background-repeat:no-repeat;background-position:bottom left;-webkit-background-size:0%2px;-moz-background-size:0%2px;-o-background-size:0%2px;background-size:0%2px;-webkit-transition:background-size 150ms ease-in-out;-moz-transition:background-size 150ms ease-in-out;-o-transition:background-size 150ms ease-in-out;transition:background-size 150ms ease-in-out}.gradient-underline.jsx-8b75a9ccf5c40d44:hover .jsx-8b75a9ccf5c40d44:not(.anchor){-webkit-background-size:100%2px;-moz-background-size:100%2px;-o-background-size:100%2px;background-size:100%2px;color:inherit}"})]})}));b.displayName="Link";var w=b},5454:function(e,t,n){"use strict";n.d(t,{Z:function(){return De}});var r=n(9454),o=n(3700),i=n(5138),a=n(5893),s=n(2928),l=n(7294),c=n.t(l,2),u=n(4184),d=n.n(u),p=n(7631);const h=Boolean(null===globalThis||void 0===globalThis?void 0:globalThis.document)?l.useLayoutEffect:()=>{},f=c["useId".toString()]||(()=>{});let m=0;function v(...e){return t=>e.forEach((e=>function(e,t){"function"==typeof e?e(t):null!=e&&(e.current=t)}(e,t)))}function g(...e){return l.useCallback(v(...e),e)}function y(){return y=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},y.apply(this,arguments)}const x=l.forwardRef(((e,t)=>{const{children:n,...r}=e;return l.Children.toArray(n).some(j)?l.createElement(l.Fragment,null,l.Children.map(n,(e=>j(e)?l.createElement(b,y({},r,{ref:t}),e.props.children):e))):l.createElement(b,y({},r,{ref:t}),n)}));x.displayName="Slot";const b=l.forwardRef(((e,t)=>{const{children:n,...r}=e;return l.isValidElement(n)?l.cloneElement(n,{...O(r,n.props),ref:v(t,n.ref)}):l.Children.count(n)>1?l.Children.only(null):null}));b.displayName="SlotClone";const w=({children:e})=>l.createElement(l.Fragment,null,e);function j(e){return l.isValidElement(e)&&e.type===w}function O(e,t){const n={...t};for(const r in t){const o=e[r],i=t[r];/^on[A-Z]/.test(r)?n[r]=(...e)=>{null==i||i(...e),null==o||o(...e)}:"style"===r?n[r]={...o,...i}:"className"===r&&(n[r]=[o,i].filter(Boolean).join(" "))}return{...e,...n}}const _=["a","button","div","h2","h3","img","li","nav","ol","p","span","svg","ul"].reduce(((e,t)=>({...e,[t]:l.forwardRef(((e,n)=>{const{asChild:r,...o}=e,i=r?x:t;return l.useEffect((()=>{window[Symbol.for("radix-ui")]=!0}),[]),l.createElement(i,y({},o,{ref:n}))}))})),{}),S=l.forwardRef(((e,t)=>l.createElement(_.span,y({},e,{ref:t,style:{position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal",...e.style}})))),k=S;var C=n(3935);const T=l.forwardRef(((e,t)=>{var n,r;const{containerRef:o,style:i,...a}=e,s=null!==(n=null==o?void 0:o.current)&&void 0!==n?n:null===globalThis||void 0===globalThis||null===(r=globalThis.document)||void 0===r?void 0:r.body,[,c]=l.useState({});return h((()=>{c({})}),[]),s?C.createPortal(l.createElement(_.div,y({"data-radix-portal":""},a,{ref:t,style:s===document.body?{position:"absolute",top:0,left:0,zIndex:2147483647,...i}:void 0})),s):null})),E=l.forwardRef(((e,t)=>{const{children:n,width:r=10,height:o=5,...i}=e;return l.createElement(_.svg,y({},i,{ref:t,width:r,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none"}),e.asChild?n:l.createElement("polygon",{points:"0,0 30,0 15,10"}))})),P=E;function A(e){const[t,n]=l.useState(void 0);return l.useEffect((()=>
1{if(e){const t=new ResizeObserver((t=>{if(!Array.isArray(t))return;if(!t.length)return;const r=t[0];let o,i;if("borderBoxSize"in r){const e=r.borderBoxSize,t=Array.isArray(e)?e[0]:e;o=t.inlineSize,i=t.blockSize}else{const t=e.getBoundingClientRect();o=t.width,i=t.height}n({width:o,height:i})}));return t.observe(e,{box:"border-box"}),()=>t.unobserve(e)}n(void 0)}),[e]),t}function M(e,t){const n=R.get(e);return void 0===n?(R.set(e,{rect:{},callbacks:[t]}),1===R.size&&(D=requestAnimationFrame(I))):(n.callbacks.push(t),t(e.getBoundingClientRect())),()=>{const n=R.get(e);if(void 0===n)return;const r=n.callbacks.indexOf(t);r>-1&&n.callbacks.splice(r,1),0===n.callbacks.length&&(R.delete(e),0===R.size&&cancelAnimationFrame(D))}}let D;const R=new Map;function I(){const e=[];R.forEach(((t,n)=>{const r=n.getBoundingClientRect();var o,i;i=r,((o=t.rect).width!==i.width||o.height!==i.height||o.top!==i.top||o.right!==i.right||o.bottom!==i.bottom||o.left!==i.left)&&(t.rect=r,e.push(t))})),e.forEach((e=>{e.callbacks.forEach((t=>t(e.rect)))})),D=requestAnimationFrame(I)}function F(e){const[t,n]=l.useState();return l.useEffect((()=>{if(e){const t=M(e,n);return()=>{n(void 0),t()}}}),[e]),t}function L(e,t=[]){let n=[];const r=()=>{const t=n.map((e=>l.createContext(e)));return function(n){const r=(null==n?void 0:n[e])||t;return l.useMemo((()=>({[`__scope${e}`]:{...n,[e]:r}})),[n,r])}};return r.scopeName=e,[function(t,r){const o=l.createContext(r),i=n.length;function a(t){const{scope:n,children:r,...a}=t,s=(null==n?void 0:n[e][i])||o,c=l.useMemo((()=>a),Object.values(a));return l.createElement(s.Provider,{value:c},r)}return n=[...n,r],a.displayName=t+"Provider",[a,function(n,a){const s=(null==a?void 0:a[e][i])||o,c=l.useContext(s);if(c)return c;if(void 0!==r)return r;throw new Error(`\`${n}\` must be used within \`${t}\``)}]},N(r,...t)]}function N(...e){const t=e[0];if(1===e.length)return t;const n=()=>{const n=e.map((e=>({useScope:e(),scopeName:e.scopeName})));return function(e){const r=n.reduce(((t,{useScope:n,scopeName:r})=>({...t,...n(e)[`__scope${r}`]})),{});return l.useMemo((()=>({[`__scope${t.scopeName}`]:r})),[r])}};return n.scopeName=t.scopeName,n}function B(e,t,n){const r=e["x"===n?"left":"top"],o="x"===n?"width":"height",i=e[o],a=t[o];return{before:r-a,start:r,center:r+(i-a)/2,end:r+i-a,after:r+i}}function V(e){return{position:"absolute",top:0,left:0,minWidth:"max-content",willChange:"transform",transform:`translate3d(${Math.round(e.x+window.scrollX)}px, ${Math.round(e.y+window.scrollY)}px, 0)`}}function z(e,t,n,r,o){const i="top"===t||"bottom"===t,a=o?o.width:0,s=o?o.height:0,l=a/2+r;let c="",u="";return i?(c={start:`${l}px`,center:"center",end:e.width-l+"px"}[n],u="top"===t?`${e.height+s}px`:-s+"px"):(c="left"===t?`${e.width+s}px`:-s+"px",u={start:`${l}px`,center:"center",end:e.height-l+"px"}[n]),`${c} ${u}`}const U={position:"fixed",top:0,left:0,opacity:0,transform:"translate3d(0, -200%, 0)"},G={position:"absolute",opacity:0};function Z({popperSize:e,arrowSize:t,arrowOffset:n,side:r,align:o}){const i=(e.width-t.width)/2,a=(e.height-t.width)/2,s={top:0,right:90,bottom:180,left:-90}[r],l=Math.max(t.width,t.height),c={width:`${l}px`,height:`${l}px`,transform:`rotate(${s}deg)`,willChange:"transform",position:"absolute",[r]:"100%",direction:H(r,o)};return"top"!==r&&"bottom"!==r||("start"===o&&(c.left=`${n}px`),"center"===o&&(c.left=`${i}px`),"end"===o&&(c.right=`${n}px`)),"left"!==r&&"right"!==r||("start"===o&&(c.top=`${n}px`),"center"===o&&(c.top=`${a}px`),"end"===o&&(c.bottom=`${n}px`)),c}function H(e,t){return("top"!==e&&"right"!==e||"end"!==t)&&("bottom"!==e&&"left"!==e||"end"===t)?"ltr":"rtl"}function W(e){return{top:"bottom",right:"left",bottom:"top",left:"right"}[e]}function K(e,t){return{top:e.top<t.top,right:e.right>t.right,bottom:e.bottom>t.bottom,left:e.left<t.left}}const[Y,q]=L("Popper"),[X,$]=Y("Popper"),J=l.forwardRef(((e,t)=>{const{__scopePopper:n,virtualRef:r,...o}=e,i=$("PopperAnchor",n),a=l.useRef(null),s=g(t,a);return l.useEffect((()=>{i.onAnchorChange((null==r?void 0:r.current)||a.current)})),r?null:l.createElement(_.div,y({},o,{ref:s}))}
1)),[Q,ee]=Y("PopperContent"),te=l.forwardRef(((e,t)=>{const{__scopePopper:n,side:r="bottom",sideOffset:o,align:i="center",alignOffset:a,collisionTolerance:s,avoidCollisions:c=!0,...u}=e,d=$("PopperContent",n),[p,h]=l.useState(),f=F(d.anchor),[m,v]=l.useState(null),x=A(m),[b,w]=l.useState(null),j=A(b),O=g(t,(e=>v(e))),S=function(){const[e,t]=l.useState(void 0);return l.useEffect((()=>{let e;function n(){t({width:window.innerWidth,height:window.innerHeight})}function r(){window.clearTimeout(e),e=window.setTimeout(n,100)}return n(),window.addEventListener("resize",r),()=>window.removeEventListener("resize",r)}),[]),e}(),k=S?DOMRect.fromRect({...S,x:0,y:0}):void 0,{popperStyles:C,arrowStyles:T,placedSide:E,placedAlign:P}=function({anchorRect:e,popperSize:t,arrowSize:n,arrowOffset:r=0,side:o,sideOffset:i=0,align:a,alignOffset:s=0,shouldAvoidCollisions:l=!0,collisionBoundariesRect:c,collisionTolerance:u=0}){if(!e||!t||!c)return{popperStyles:U,arrowStyles:G};const d=function(e,t,n=0,r=0,o){const i=o?o.height:0,a=B(t,e,"x"),s=B(t,e,"y"),l=s.before-n-i,c=s.after+n+i,u=a.before-n-i,d=a.after+n+i;return{top:{start:{x:a.start+r,y:l},center:{x:a.center,y:l},end:{x:a.end-r,y:l}},right:{start:{x:d,y:s.start+r},center:{x:d,y:s.center},end:{x:d,y:s.end-r}},bottom:{start:{x:a.start+r,y:c},center:{x:a.center,y:c},end:{x:a.end-r,y:c}},left:{start:{x:u,y:s.start+r},center:{x:u,y:s.center},end:{x:u,y:s.end-r}}}}(t,e,i,s,n),p=d[o][a];if(!1===l){const e=V(p);let i=G;return n&&(i=Z({popperSize:t,arrowSize:n,arrowOffset:r,side:o,align:a})),{popperStyles:{...e,"--radix-popper-transform-origin":z(t,o,a,r,n)},arrowStyles:i,placedSide:o,placedAlign:a}}const h=DOMRect.fromRect({...t,...p}),f=(m=c,v=u,DOMRect.fromRect({width:m.width-2*v,height:m.height-2*v,x:m.left+v,y:m.top+v}));var m,v;const g=K(h,f),y=d[W(o)][a],x=function(e,t,n){const r=W(e);return t[e]&&!n[r]?r:e}(o,g,K(DOMRect.fromRect({...t,...y}),f)),b=function(e,t,n,r,o){const i="top"===n||"bottom"===n,a=i?"left":"top",s=i?"right":"bottom",l=i?"width":"height",c=t[l]>e[l];return"start"!==r&&"center"!==r||!(o[a]&&c||o[s]&&!c)?"end"!==r&&"center"!==r||!(o[s]&&c||o[a]&&!c)?r:"start":"end"}(t,e,o,a,g),w=V(d[x][b]);let j=G;return n&&(j=Z({popperSize:t,arrowSize:n,arrowOffset:r,side:x,align:b})),{popperStyles:{...w,"--radix-popper-transform-origin":z(t,x,b,r,n)},arrowStyles:j,placedSide:x,placedAlign:b}}({anchorRect:f,popperSize:x,arrowSize:j,arrowOffset:p,side:r,sideOffset:o,align:i,alignOffset:a,shouldAvoidCollisions:c,collisionBoundariesRect:k,collisionTolerance:s}),M=void 0!==E;return l.createElement("div",{style:C,"data-radix-popper-content-wrapper":""},l.createElement(Q,{scope:n,arrowStyles:T,onArrowChange:w,onArrowOffsetChange:h},l.createElement(_.div,y({"data-side":E,"data-align":P},u,{style:{...u.style,animation:M?void 0:"none"},ref:O}))))})),ne=l.forwardRef((function(e,t){const{__scopePopper:n,offset:r,...o}=e,i=ee("PopperArrow",n),{onArrowOffsetChange:a}=i;return l.useEffect((()=>a(r)),[a,r]),l.createElement("span",{style:{...i.arrowStyles,pointerEvents:"none"}},l.createElement("span",{ref:i.onArrowChange,style:{display:"inline-block",verticalAlign:"top",pointerEvents:"auto"}},l.createElement(P,y({},o,{ref:t,style:{...o.style,display:"block"}}))))})),re=e=>{const{__scopePopper:t,children:n}=e,[r,o]=l.useState(null);return l.createElement(X,{scope:t,anchor:r,onAnchorChange:o},n)},oe=J,ie=te,ae=ne,se=e=>{const{present:t,children:n}=e,r=function(e){const[t,n]=l.useState(),r=l.useRef({}),o=l.useRef(e),i=l.useRef("none"),a=e?"mounted":"unmounted",[s,c]=function(e,t){return l.useReducer(((e,n)=>{const r=t[e][n];return null!=r?r:e}),e)}(a,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return l.useEffect((()=>{const e=le(r.current);i.current="mounted"===s?e:"none"}),[s]),h((()=>{const t=r.current,n=o.current;if(n!==e){const r=i.current,a=le(t);if(e)c("MOUNT");else if("none"===a||"none"===(null==t?void 0:t.display))c("UNMOUNT");else{const e=r!==a;c(n&&e?"ANIMATION_OUT":"UNMOUNT")}o.current=e}}),[e,c]),h((()=>
1{if(t){const e=e=>{const n=le(r.current).includes(e.animationName);e.target===t&&n&&c("ANIMATION_END")},n=e=>{e.target===t&&(i.current=le(r.current))};return t.addEventListener("animationstart",n),t.addEventListener("animationcancel",e),t.addEventListener("animationend",e),()=>{t.removeEventListener("animationstart",n),t.removeEventListener("animationcancel",e),t.removeEventListener("animationend",e)}}c("ANIMATION_END")}),[t,c]),{isPresent:["mounted","unmountSuspended"].includes(s),ref:l.useCallback((e=>{e&&(r.current=getComputedStyle(e)),n(e)}),[])}}(t),o="function"==typeof n?n({present:r.isPresent}):l.Children.only(n),i=g(r.ref,o.ref);return"function"==typeof n||r.isPresent?l.cloneElement(o,{ref:i}):null};function le(e){return(null==e?void 0:e.animationName)||"none"}function ce(e){const t=l.useRef({value:e,previous:e});return l.useMemo((()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous)),[e])}function ue(e){const t=l.useRef(e);return l.useEffect((()=>{t.current=e})),l.useMemo((()=>(...e)=>{var n;return null===(n=t.current)||void 0===n?void 0:n.call(t,...e)}),[])}function de(e,t,{checkForDefaultPrevented:n=!0}={}){return function(r){if(null==e||e(r),!1===n||!r.defaultPrevented)return null==t?void 0:t(r)}}se.displayName="Presence";const[pe,he]=L("Tooltip",[q]),fe=q(),me=700,[ve,ge]=pe("TooltipProvider",{isOpenDelayed:!0,delayDuration:me,onOpen:()=>{},onClose:()=>{}}),[ye,xe]=pe("Tooltip"),be=l.forwardRef(((e,t)=>{const{__scopeTooltip:n,...r}=e,o=xe("TooltipTrigger",n),i=fe(n),a=g(t,o.onTriggerChange),s=l.useRef(!1),c=l.useCallback((()=>s.current=!1),[]);return l.useEffect((()=>()=>document.removeEventListener("mouseup",c)),[c]),l.createElement(oe,y({asChild:!0},i),l.createElement(_.button,y({"aria-describedby":o.open?o.contentId:void 0,"data-state":o.stateAttribute},r,{ref:a,onMouseEnter:de(e.onMouseEnter,o.onTriggerEnter),onMouseLeave:de(e.onMouseLeave,o.onClose),onMouseDown:de(e.onMouseDown,(()=>{o.onClose(),s.current=!0,document.addEventListener("mouseup",c,{once:!0})})),onFocus:de(e.onFocus,(()=>{s.current||o.onOpen()})),onBlur:de(e.onBlur,o.onClose),onClick:de(e.onClick,(e=>{0===e.detail&&o.onClose()}))})))})),we=l.forwardRef(((e,t)=>{const{forceMount:n,...r}=e,o=xe("TooltipContent",e.__scopeTooltip);return l.createElement(se,{present:n||o.open},l.createElement(je,y({ref:t},r)))})),je=l.forwardRef(((e,t)=>{const{__scopeTooltip:n,children:r,"aria-label":o,portalled:i=!0,...a}=e,s=xe("TooltipContent",n),c=fe(n),u=i?T:l.Fragment,{onClose:d}=s;return function(e){const t=ue(e);l.useEffect((()=>{const e=e=>{"Escape"===e.key&&t(e)};return document.addEventListener("keydown",e),()=>document.removeEventListener("keydown",e)}),[t])}((()=>d())),l.useEffect((()=>(document.addEventListener("tooltip.open",d),()=>document.removeEventListener("tooltip.open",d))),[d]),l.createElement(u,null,l.createElement(_e,{__scopeTooltip:n}),l.createElement(ie,y({"data-state":s.stateAttribute},c,a,{ref:t,style:{...a.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)"}}),l.createElement(w,null,r),l.createElement(k,{id:s.contentId,role:"tooltip"},o||r)))})),Oe=l.forwardRef(((e,t)=>{const{__scopeTooltip:n,...r}=e,o=fe(n);return l.createElement(ae,y({},o,r,{ref:t}))}));function _e(e){const{__scopeTooltip:t}=e,n=xe("CheckTriggerMoved",t),r=F(n.trigger),o=null==r?void 0:r.left,i=ce(o),a=null==r?void 0:r.top,s=ce(a),c=n.onClose;return l.useEffect((()=>{(void 0!==i&&i!==o||void 0!==s&&s!==a)&&c()}),[c,i,s,o,a]),null}const Se=e=>{const{__scopeTooltip:t,children:n,open:r,defaultOpen:o=!1,onOpenChange:i,delayDuration:a}=e,s=ge("Tooltip",t),c=fe(t),[u,d]=l.useState(null),p=function(e){const[t,n]=l.useState(f());return h((()=>{e||n((e=>null!=e?e:String(m++)))}),[e]),e||(t?`radix-${t}`:"")}(),v=l.useRef(0),g=null!=a?a:s.delayDuration,y=l.useRef(!1),{onOpen:x,onClose:b}=s,[w=!1,j]=function({prop:e,defaultProp:t,onChange:n=(()=>{})}){const[r,o]=function({defaultProp:e,onChange:t}){const n=l.useState(e),[r]=n,o=l.useRef(r),i=ue(t);return l.useEffect((()=>{o.current!==r&&(i(r),o.current=r)}),[r,o,i]),n}({defaultProp:t,onChange:n}),i=void 0!==e,a=i?e:r,s=ue(n);return[a,l.useCallback((t=>{if(i){const n=t,r="function"==typeof t?n(e):t;r!==e&&s(r)}else o(t)}),[i,e,o,s])]}({prop:r,defaultProp:o,onChange:e=>{e&&(document.dispatchEvent(new CustomEvent("tooltip.open")),x()),null==i||i(e)}}),O=l.useMemo((()=>w?y.current?"delayed-open":"instant-open":"closed"),[w]),_=l.useCallback((()=>{window.clearTimeout(v.current),y.current=!1,j(!0)}),[j]),S=l.useCallback((()=>{window.clearTimeout(v.current),v.current=window.setTimeout((()=>{y.current=!0,j(!0)}),g)}),[g,j]);return l.useEffect((()=>()=>window.clearTimeout(v.current)),[]),l.createElement(re,c,l.createElement(ye,{scope:t,contentId:p,open:w,stateAttribute:O,trigger:u,onTriggerChange:d,onTriggerEnter:l.useCallback((()=>{s.isOpenDelayed?S():_()}),[s.isOpenDelayed,S,_]),onOpen:l.useCallback(_,[_]),onClose:l.useCallback((()=>{window.clearTimeout(v.current),j(!1),b()}),[j,b])},n))},ke=be,Ce=we,Te=Oe;var Ee=n(1069),Pe=n(5342),Ae=(0,Ee.E)(Ce),Me=function(e){var t=e.children,n=e.content,r=(0,l.useState)(!1),o=r[0],i=r[1];return(0,a.jsxs)(Se,{open:o,onOpenChange:i,delayDuration:100,children:[(0,a.jsx)(ke,{tabIndex:-1,
1children:t}),(0,a.jsx)(Pe.M,{children:o&&(0,a.jsxs)(Ae,{side:"top",sideOffset:4,className:"rounded-md bg-tertiary px-3 py-1 text-sm shadow-md",initial:{opacity:0,y:10},animate:{opacity:1,y:0},exit:{opacity:0,y:8},forceMount:!0,children:[n,(0,a.jsx)(Te,{className:"fill-current text-tertiary"})]})})]})},De=function(e){var t=e.className,n=e.small,c=(0,i.Z)(e,["className","small"]);return(0,a.jsx)("div",(0,o.Z)((0,r.Z)({className:d()("flex space-x-4",t)},c),{children:s.Z.map((function(e){return(0,a.jsx)(Me,{content:e.name,children:(0,a.jsx)(p.Z,{href:e.url,noExternalLinkIcon:!0,noGradientUnderline:!0,"aria-label":e.name,children:(0,l.cloneElement)(e.icon,{className:d()("rounded-xl shadow-md border-[1px] border-tertiary bg-secondary/30",n?"h-8 w-8 px-1.5 py-1":"h-10 w-10 px-2 py-1.5"),"aria-label":e.name,color:"#fff"})})},e.id)}))}))}},2928:function(e,t,n){"use strict";n.d(t,{Z:function(){return v}});var r=n(5893),o=n(9094),i=n(7294),a=n(5697),s=n.n(a);function l(){return l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},l.apply(this,arguments)}function c(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var u=(0,i.forwardRef)((function(e,t){var n=e.color,r=void 0===n?"currentColor":n,o=e.size,a=void 0===o?24:o,s=c(e,["color","size"]);return i.createElement("svg",l({ref:t,xmlns:"http://www.w3.org/2000/svg",width:a,height:a,viewBox:"0 0 24 24",fill:"none",stroke:r,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},s),i.createElement("path",{d:"M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z"}),i.createElement("polyline",{points:"22,6 12,13 2,6"}))}));u.propTypes={color:s().string,size:s().oneOfType([s().string,s().number])},u.displayName="Mail";var d=u;function p(){return p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},p.apply(this,arguments)}function h(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var f=(0,i.forwardRef)((function(e,t){var n=e.color,r=void 0===n?"currentColor":n,o=e.size,a=void 0===o?24:o,s=h(e,["color","size"]);return i.createElement("svg",p({ref:t,xmlns:"http://www.w3.org/2000/svg",width:a,height:a,viewBox:"0 0 24 24",fill:"none",stroke:r,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},s),i.createElement("path",{d:"M16 8a6 6 0 0 1 6 6v7h-4v-7a2 2 0 0 0-2-2 2 2 0 0 0-2 2v7h-4v-7a6 6 0 0 1 6-6z"}),i.createElement("rect",{x:"2",y:"9",width:"4",height:"12"}),i.createElement("circle",{cx:"4",cy:"4",r:"2"}))}));f.propTypes={color:s().string,size:s().oneOfType([s().string,s().number])},f.displayName="Linkedin";var m=f,v=[{id:"email",name:"Email",url:"mailto:[email protected]",icon:(0,r.jsx)(d,{})},{id:"linkedin",name:"LinkedIn",url:"https://www.linkedin.com/in/yourme",icon:(0,r.jsx)(m,{})},{id:"google-scholar",name:"Google Scholar",url:"https://scholar.google.com/citations?user=OLsmyoIAAAAJ&hl=ko",icon:(0,r.jsx)(o.T5,{})},{id:"github",name:"GitHub",url:"https://github.com/ofzlo",icon:(0,r.jsx)(o.c8,{})}]},1210:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getDomainLocale=function(e,t,n,r){return!1};("function"===typeof t.default||"object"===typeof t.default&&null!==t.default)&&"undefined"===typeof t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},8418:function(e,t,n){"use strict";var r=n(4941).Z;n(5753).default;
1Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o,i=(o=n(7294))&&o.__esModule?o:{default:o},a=n(6273),s=n(2725),l=n(3462),c=n(1018),u=n(7190),d=n(1210),p=n(8684);var h="undefined"!==typeof i.default.useTransition,f={};function m(e,t,n,r){if(e&&a.isLocalURL(t)){e.prefetch(t,n,r).catch((function(e){0}));var o=r&&"undefined"!==typeof r.locale?r.locale:e&&e.locale;f[t+"%"+n+(o?"%"+o:"")]=!0}}var v=i.default.forwardRef((function(e,t){var n,o=e.href,v=e.as,g=e.children,y=e.prefetch,x=e.passHref,b=e.replace,w=e.shallow,j=e.scroll,O=e.locale,_=e.onClick,S=e.onMouseEnter,k=e.legacyBehavior,C=void 0===k?!0!==Boolean(!1):k,T=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,["href","as","children","prefetch","passHref","replace","shallow","scroll","locale","onClick","onMouseEnter","legacyBehavior"]);n=g,!C||"string"!==typeof n&&"number"!==typeof n||(n=i.default.createElement("a",null,n));var E=!1!==y,P=r(h?i.default.useTransition():[],2)[1],A=i.default.useContext(l.RouterContext),M=i.default.useContext(c.AppRouterContext);M&&(A=M);var D,R=i.default.useMemo((function(){var e=r(a.resolveHref(A,o,!0),2),t=e[0],n=e[1];return{href:t,as:v?a.resolveHref(A,v):n||t}}),[A,o,v]),I=R.href,F=R.as,L=i.default.useRef(I),N=i.default.useRef(F);C&&(D=i.default.Children.only(n));var B=C?D&&"object"===typeof D&&D.ref:t,V=r(u.useIntersection({rootMargin:"200px"}),3),z=V[0],U=V[1],G=V[2],Z=i.default.useCallback((function(e){N.current===F&&L.current===I||(G(),N.current=F,L.current=I),z(e),B&&("function"===typeof B?B(e):"object"===typeof B&&(B.current=e))}),[F,B,I,G,z]);i.default.useEffect((function(){var e=U&&E&&a.isLocalURL(I),t="undefined"!==typeof O?O:A&&A.locale,n=f[I+"%"+F+(t?"%"+t:"")];e&&!n&&m(A,I,F,{locale:t})}),[F,I,U,O,E,A]);var H={ref:Z,onClick:function(e){C||"function"!==typeof _||_(e),C&&D.props&&"function"===typeof D.props.onClick&&D.props.onClick(e),e.defaultPrevented||function(e,t,n,r,o,i,s,l,c){if("A"!==e.currentTarget.nodeName.toUpperCase()||!function(e){var t=e.currentTarget.target;return t&&"_self"!==t||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||e.nativeEvent&&2===e.nativeEvent.which}(e)&&a.isLocalURL(n)){e.preventDefault();var u=function(){t[o?"replace":"push"](n,r,{shallow:i,locale:l,scroll:s})};c?c(u):u()}}(e,A,I,F,b,w,j,O,M?P:void 0)},onMouseEnter:function(e){C||"function"!==typeof S||S(e),C&&D.props&&"function"===typeof D.props.onMouseEnter&&D.props.onMouseEnter(e),a.isLocalURL(I)&&m(A,I,F,{priority:!0})}};if(!C||x||"a"===D.type&&!("href"in D.props)){var W="undefined"!==typeof O?O:A&&A.locale,K=A&&A.isLocaleDomain&&d.getDomainLocale(F,W,A.locales,A.domainLocales);H.href=K||p.addBasePath(s.addLocale(F,W,A&&A.defaultLocale))}return C?i.default.cloneElement(D,H):i.default.createElement("a",Object.assign({},T,H),n)}));t.default=v,("function"===typeof t.default||"object"===typeof t.default&&null!==t.default)&&"undefined"===typeof t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},7190:function(e,t,n){"use strict";var r=n(4941).Z;Object.defineProperty(t,"__esModule",{value:!0}),t.useIntersection=function(e){var t=e.rootRef,n=e.rootMargin,c=e.disabled||!a,u=o.useRef(),d=r(o.useState(!1),2),p=d[0],h=d[1],f=r(o.useState(null),2),m=f[0],v=f[1];o.useEffect((function(){if(a){if(u.current&&(u.current(),u.current=void 0),c||p)return;return m&&m.tagName&&(u.current=function(e,t,n){var r=function(e){var t,n={root:e.root||null,margin:e.rootMargin||""},r=l.find((function(e){return e.root===n.root&&e.margin===n.margin}));if(r&&(t=s.get(r)))return t;var o=new Map,i=new IntersectionObserver((function(e){e.forEach((function(e){var t=o.get(e.target),n=e.isIntersecting||e.intersectionRatio>0;t&&n&&t(n)}))}),e);return t={id:n,observer:i,elements:o},l.push(n),s.set(n,t),t}(n),o=r.id,i=r.observer,a=r.elements;return a.set(e,t),i.observe(e),function(){if(a.delete(e),i.unobserve(e),0===a.size){i.disconnect(),s.delete(o);var t=l.findIndex((function(e){return e.root===o.root&&e.margin===o.margin}));t>-1&&l.splice(t,1)}}}(m,(function(e){return e&&h(e)}),{root:null==t?void 0:t.current,rootMargin:n})),function(){null==u.current||u.current(),u.current=void 0}}if(!p){var e=i.requestIdleCallback((function(){return h(!0)}));return function(){return i.cancelIdleCallback(e)}}}),[m,c,n,t,p]);var g=o.useCallback((function(){h(!1)}),[]);return[v,p,g]};var o=n(7294),i=n(9311),a="function"===typeof IntersectionObserver;var s=new Map,l=[];("function"===typeof t.default||"object"===typeof t.default&&null!==t.default)&&"undefined"===typeof t.default.__esModule&&(Object.defineProperty(t.default,"__esMo
1dule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},1018:function(e,t,n){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.AppRouterContext=void 0;var o=((r=n(7294))&&r.__esModule?r:{default:r}).default.createContext(null);t.AppRouterContext=o},6089:function(e,t,n){"use strict";e.exports=n(5988)},1556:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return De}});var r=n(9454),o=n(5893),i=n(3457),a=n.n(i),s=n(1606),l=n(9094),c=function(){var e=(0,s.useKBar)().query;return(0,o.jsx)("button",{className:"fixed right-8 bottom-8 rounded-md p-1 transition duration-200 hover:shadow-commandButton focus:outline-none focus-visible:shadow-commandButton",onClick:function(){return e.toggle()},"aria-label":"Command Bar",children:(0,o.jsx)(l.RQ,{})})},u=n(5342),d=n(1069),p=n(7294),h=n(8268),f=n(6010),m=function(){return(0,o.jsx)(f.x7,{position:"bottom-right",children:function(e){var t=(0,o.jsx)(f.Ih,{toast:e});return(0,o.jsx)(u.M,{children:e.visible&&(0,o.jsx)(d.E.div,{className:"flex rounded-lg bg-tertiary px-6 py-4 shadow-lg",initial:{scale:.6,opacity:0,y:50},animate:{scale:1,opacity:1,y:0},exit:{scale:.6,opacity:0,y:20},children:(0,o.jsxs)(o.Fragment,{children:[(0,p.cloneElement)(t,{className:"w-4 h-4 !mr-2"}),(0,o.jsx)("span",{className:"ml-2",children:e.message}),"loading"!==e.type&&(0,o.jsx)("button",{className:"ml-2 transition duration-200 hover:opacity-60",onClick:function(){return f.Am.dismiss(e.id)},children:(0,o.jsx)(h.Z,{className:"h-5 w-5"})})]})})})}})},v=n(1163),g=n(3928),y=n(7631),x=n(4184),b=n.n(x),w=function(e){var t=e.isRoot,n=e.children,r=e.href,i=e.isCurrent;return(0,o.jsxs)(p.Fragment,{children:[!t&&(0,o.jsx)("span",{"aria-hidden":"true",className:"opacity-50",children:"/"}),(0,o.jsx)("li",{children:(0,o.jsx)(y.Z,{href:r,className:b()(i?"bg-gradient-to-br from-[#9ebd13] to-[#008552] bg-clip-text font-bold text-transparent":"text-gray-300","transition duration-200 hover:opacity-80"),"aria-current":i?"page":"false",noGradientUnderline:!0,children:n})})]})},j=function(){var e=(0,v.useRouter)().asPath,t=(0,p.useState)([]),n=t[0],r=t[1],i=/^\/projects\/[^/]+/.test(e),a=/^\/publications\/[^/]+/.test(e);return(0,p.useEffect)((function(){var t=e.replace(/#.*/,"").split("?")[0].split("/");t.shift(),t=t.filter((function(e){return""!==e}));var n=t.map((function(e,n){return{href:"/"+t.slice(0,n+1).join("/"),label:(0,g.kC)(e),isCurrent:n===t.length-1}}));r(n)}),[e]),(0,o.jsxs)("ol",{"aria-label":"breadcrumb","aria-hidden":i||a,className:"flex space-x-2 ".concat(i||a?"opacity-0 pointer-events-none select-none":""),children:[(0,o.jsx)(w,{href:"/",isRoot:!0,children:"~"}),n&&n.map((function(e){var t=e.href,n=e.label,r=e.isCurrent;return(0,o.jsx)(w,{href:t,isCurrent:r,children:n},t)}))]})};const O=({color:e="currentColor",direction:t="left",distance:n="md",duration:r=.4,easing:o="cubic-bezier(0, 0, 0, 1)",hideOutline:i=!0,label:a,lines:s=3,onToggle:l,render:c,rounded:u=!1,size:d=32,toggle:h,toggled:f})=>{const[m,v]=(0,p.useState)(!1),g=Math.max(12,Math.min(48,d)),y=Math.round((48-g)/2),x=g/12,b=Math.round(x),w=g/(s*(("lg"===n?.25:"sm"===n?.75:.5)+(3===s?1:1.25))),j=Math.round(w),O=b*s+j*(s-1),_=Math.round((48-O)/2),S=parseFloat((g/(3===s?"lg"===n?4.0425:"sm"===n?5.1625:4.6325:"lg"===n?6.7875:"sm"===n?8.4875:7.6675)-(x-b+(w-j))/(3===s?1:2)/(4/3)).toFixed(2)),k=Math.max(0,r),C={cursor:"pointer",height:"48px",position:"relative",transition:`${k}s ${o}`,userSelect:"none",width:"48px"},T={background:e,height:`${b}px`,left:`${y}px`,position:"absolute"};i&&(C.outline="none"),u&&(T.borderRadius="9em");const E=h||v,P=void 0!==f?f:m;return c({barHeight:b,barStyles:T,burgerStyles:C,easing:o,handler:()=>{E(!P),"function"===typeof l&&l(!P)},isLeft:"left"===t,isToggled:P,label:a,margin:j,move:S,time:k,topOffset:_,width:g})};function _(){return _=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},_.apply(this,arguments)}const S=e=>p.createElement(O,_({},e,{lines:2,render:e=>p.createElement("div",{className:"hamburger-react","aria-label":e.label,"aria-expanded":e.isToggled,onClick:e.handler,onKeyUp:t=>"Enter"===t.key&&e.handler(),role:"button",style:{...e.burgerStyles,transform:""+(e.isToggled?`rotateY(${180*(e.isLeft?-1:1)}deg)`:"none")},tabIndex:0},p.createElement("div",{style:{...e.barStyles,width:`${e.width}px`,top:`${e.topOffset}px`,transition:`${e.time}s ${e.easing}`,transform:""+(e.isToggled?`rotate(${45*(e.isLeft?-1:1)}deg) translate(${e.move*(e.isLeft?-1:1)}px, ${e.move}px)`:"none")}}),p.createElement("div",{style:{...e.barStyles,width:`${e.width}px`,top:`${e.topOffset+e.barHeight+e.margin}px`,transition:`${e.time}s ${e.easing}`,transform:""+(e.isToggled?`rotate(${45*(e.isLeft?1:-1)}deg) translate(${e.move*(e.isLeft?-1:1)}px, ${-1*e.move}px)`:"none")}}))}));var k={open:{y:0,opacity:1,transition:{y:{stiffness:1e3,velocity:-100}}},closed:{y:50,opacity:0,transition:{y:{stiffness:1e3,velocity:100}}}},C=function(e){var t=e.href,n=e.children,r=e.asPath,i=e.noExternalLinkIcon,a=void 0!==i&&i;return(0,o.jsx)(d.E.li,{className:b()("border-b-[1px] border-b-tertiary py-1 pl-2 text-gray-400 transition duration-200 hover:text-gray-500",r.split("/")[1]===t.replace("/","")&&"font-medium !text-accent"),variants:k,children:(0,o.jsx)(y.Z,{href:t,className:"flex w-auto",noGradientUnderline:!0,noExternalLinkIcon:a,children:n})})},T=function(e){var t=e.href,n=e.children,r=e.asPath,i=e.noExternalLinkIcon,a=void 0!==i&&i;return(0,o.jsx)("li",{children:(0,o.jsx)(y.Z,{href:t,className:b()("hidden rounded-lg px-3 py-1 text-base text-gray-500 transition duration-200 hover:bg-gray-600 hover:bg-opacity-30 md:inline-block",r.split("/")[1]===t.replace("/","")&&"bg-gray-600 bg-opacity-30 font-medium !text-accent hover:bg-opacity-40"),noGradientUnderline:!0,noExternalLinkIcon:a,children:n})})},E=[{name:"Home",href:"/",hidden:!1},{name:"News",href:"/#news",hidden:!1},{name:"Publications",href:"/#publications",hidden:!1},{name:"Work Experience",href:"/#work-experience",hidden:!1},{name:"Honors & Awards",href:"/#honors-awards",hidden:!1},{name:"CV",href:"https://drive.google.com/file/d/1a-AgF5Hm9rWHfVAKef2sm30-PZw36_2c/view?usp=sharing",hidden:!1,noExternalLinkIcon:!0}],P={open:{x:0,display:"flex",transition:{type:"spring",duration:.6,staggerChildren:.07,delayChildren:.2}},closed:{x:"100%",transition:{type:"spring",duration:.6}}},A=function(){var e=(0,v.useRouter)().asPath,t=(0,p.useState)(!1),n=t[0],r=t[1];return(0,p.useEffect)((function(){r(!1)}),[e]),(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("ul",{className:"hiden list-none space-x-2 md:flex",children:E.filter((function(e){return!e.hidden})).map((function(t,n){return(0,o.jsx)(T,{href:t.href,asPath:e,noExternalLinkIcon:t.noExternalLinkIcon,children:t.name},n)}))}),(0,o.jsxs)("div",{className:"md:hidden",children:[(0,o.jsx)("div",{className:"relative block md:hidden",children:(0,o.jsx)(S,{toggled:n,toggle:r,rounded:!0,size:24,direction:"right",label:"Navigation Menu"})}),(0,o.jsx)(d.E.ul,{className:"absolute left-0 z-50 flex h-screen w-full list-none flex-col space-y-6 bg-primary px-8 pt-8 md:hidden",variants:P,initial:"closed",animate:n?"open":"closed",children:E.filter((function(e){return!e.hidden})).map((function(t,n){return(0,o.jsx)(C,{href:t.href,asPath:e,noExternalLinkIcon:t.noExternalLinkIcon,children:t.name},n)}))})]})]})},M=function(){var e=(0,p.useState)(!1),t=e[0],n=e[1];return(0,p.useEffect)((function(){var e=function(){return n(window.scrollY>8)};return e(),window.addEventListener("scroll",e,{passive:!0}),function(){return window.removeEventListener("scroll",e)}}),[]),(0,o.jsxs)("nav",{className:"fixed top-0 left-0 right-0 z-40 flex items-center justify-between px-8 py-4 transition-colors duration-200 ".concat(t?"bg-primary/80 shadow-md backdrop-blur-md":"bg-transparent"),children:[(0,o.jsx)("a",{href:"#main",className:"z-index-50 absolute left-1/2 -translate-y-32 rounded-lg border-[1px] border-tertiary bg-secondary px-4 py-2 shadow-md transition duration-200 focus:block focus:translate-y-0 focus:border-accent",children:"Skip to main content"}),(0,o.jsx)(j,{}),(0,o.jsx)(A,{})]})},D=n(9798),R=n(5697),I=n.n(R);function F(){return F=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},F.apply(this,arguments)}function L(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var N=(0,p.forwardRef)((function(e,t){var n=e.color,r=void 0===n?"currentColor":n,o=e.size,i=void 0===o?24:o,a=L(e,["color","size"]);return p.createElement("svg",F({ref:t,xmlns:"http://www.w3.org/2000/svg",width:i,height:i,viewBox:"0 0 24 24",fill:"none",stroke:r,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},a),p.createElement("path",{d:"M3 9l9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z"}),p.createElement("polyline",{points:"9 22 9 12 15 12 15 22"}))}));
1N.propTypes={color:I().string,size:I().oneOfType([I().string,I().number])},N.displayName="Home";var B=N;function V(){return V=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},V.apply(this,arguments)}function z(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var U=(0,p.forwardRef)((function(e,t){var n=e.color,r=void 0===n?"currentColor":n,o=e.size,i=void 0===o?24:o,a=z(e,["color","size"]);return p.createElement("svg",V({ref:t,xmlns:"http://www.w3.org/2000/svg",width:i,height:i,viewBox:"0 0 24 24",fill:"none",stroke:r,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},a),p.createElement("path",{d:"M4 19.5A2.5 2.5 0 0 1 6.5 17H20"}),p.createElement("path",{d:"M6.5 2H20v20H6.5A2.5 2.5 0 0 1 4 19.5v-15A2.5 2.5 0 0 1 6.5 2z"}))}));U.propTypes={color:I().string,size:I().oneOfType([I().string,I().number])},U.displayName="Book";function G(){return G=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},G.apply(this,arguments)}function Z(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var H=(0,p.forwardRef)((function(e,t){var n=e.color,r=void 0===n?"currentColor":n,o=e.size,i=void 0===o?24:o,a=Z(e,["color","size"]);return p.createElement("svg",G({ref:t,xmlns:"http://www.w3.org/2000/svg",width:i,height:i,viewBox:"0 0 24 24",fill:"none",stroke:r,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},a),p.createElement("circle",{cx:"12",cy:"12",r:"10"}),p.createElement("circle",{cx:"12",cy:"12",r:"6"}),p.createElement("circle",{cx:"12",cy:"12",r:"2"}))}));H.propTypes={color:I().string,size:I().oneOfType([I().string,I().number])},H.displayName="Target";function W(){return W=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},W.apply(this,arguments)}function K(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var Y=(0,p.forwardRef)((function(e,t){var n=e.color,r=void 0===n?"currentColor":n,o=e.size,i=void 0===o?24:o,a=K(e,["color","size"]);return p.createElement("svg",W({ref:t,xmlns:"http://www.w3.org/2000/svg",width:i,height:i,viewBox:"0 0 24 24",fill:"none",stroke:r,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},a),p.createElement("rect",{x:"2",y:"7",width:"20",height:"14",rx:"2",ry:"2"}),p.createElement("path",{d:"M16 21V5a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v16"}))}));Y.propTypes={color:I().string,size:I().oneOfType([I().string,I().number])},Y.displayName="Briefcase";var q=Y;function X(){return X=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},X.apply(this,arguments)}function $(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var J=(0,p.forwardRef)((function(e,t){var n=e.color,r=void 0===n?"currentColor":n,o=e.size,i=void 0===o?24:o,a=$(e,["color","size"]);return p.createElement("svg",X({ref:t,xmlns:"http://www.w3.org/2000/svg",width:i,height:i,viewBox:"0 0 24 24",fill:"none",stroke:r,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},a),p.createElement("rect",{x:"3",y:"3",width:"18",height:"18",rx:"2",ry:"2"}),p.createElement("line",{x1:"3",y1:"9",x2:"21",y2:"9"}),p.createElement("line",{x1:"9",y1:"21",x2:"9",y2:"9"}))}));
1J.propTypes={color:I().string,size:I().oneOfType([I().string,I().number])},J.displayName="Layout";function Q(){return Q=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Q.apply(this,arguments)}function ee(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var te=(0,p.forwardRef)((function(e,t){var n=e.color,r=void 0===n?"currentColor":n,o=e.size,i=void 0===o?24:o,a=ee(e,["color","size"]);return p.createElement("svg",Q({ref:t,xmlns:"http://www.w3.org/2000/svg",width:i,height:i,viewBox:"0 0 24 24",fill:"none",stroke:r,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},a),p.createElement("rect",{x:"1",y:"5",width:"22",height:"14",rx:"7",ry:"7"}),p.createElement("circle",{cx:"8",cy:"12",r:"3"}))}));te.propTypes={color:I().string,size:I().oneOfType([I().string,I().number])},te.displayName="ToggleLeft";var ne=te;function re(){return re=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},re.apply(this,arguments)}function oe(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var ie=(0,p.forwardRef)((function(e,t){var n=e.color,r=void 0===n?"currentColor":n,o=e.size,i=void 0===o?24:o,a=oe(e,["color","size"]);return p.createElement("svg",re({ref:t,xmlns:"http://www.w3.org/2000/svg",width:i,height:i,viewBox:"0 0 24 24",fill:"none",stroke:r,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},a),p.createElement("polyline",{points:"16 18 22 12 16 6"}),p.createElement("polyline",{points:"8 6 2 12 8 18"}))}));ie.propTypes={color:I().string,size:I().oneOfType([I().string,I().number])},ie.displayName="Code";var ae=ie;function se(){return se=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},se.apply(this,arguments)}function le(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var ce=(0,p.forwardRef)((function(e,t){var n=e.color,r=void 0===n?"currentColor":n,o=e.size,i=void 0===o?24:o,a=le(e,["color","size"]);return p.createElement("svg",se({ref:t,xmlns:"http://www.w3.org/2000/svg",width:i,height:i,viewBox:"0 0 24 24",fill:"none",stroke:r,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},a),p.createElement("circle",{cx:"11",cy:"11",r:"8"}),p.createElement("line",{x1:"21",y1:"21",x2:"16.65",y2:"16.65"}))}));ce.propTypes={color:I().string,size:I().oneOfType([I().string,I().number])},ce.displayName="Search";var ue=ce,de=function(e){var t=e.children,n=e.className;return(0,o.jsx)(o.Fragment,{children:(0,o.jsx)("kbd",{className:b()("rounded-md border-[1px] border-b-2 border-[#4a4a4a] bg-[#333333] px-2 py-0.5 text-sm",n),children:t})})},pe=n(2928),he=n(3258);n(8326);const fe=e=>{let t;const n=new Set,r=(e,r)=>{const o="function"===typeof e?e(t):e;if(o!==t){const e=t;t=r?o:Object.assign({}
1,t,o),n.forEach((n=>n(t,e)))}},o=()=>t,i={setState:r,getState:o,subscribe:e=>(n.add(e),()=>n.delete(e)),destroy:()=>n.clear()};return t=e(r,o,i),i};var me=n(2798);const ve=e=>{const t="function"===typeof e?(e=>e?fe(e):fe)(e):e,n=(e,n)=>function(e,t=e.getState,n){const r=(0,me.useSyncExternalStoreWithSelector)(e.subscribe,e.getState,e.getServerState||e.getState,t,n);return(0,p.useDebugValue)(r),r}(t,e,n);return Object.assign(n,t),n};var ge=(e=>e?ve(e):ve)((function(e){return{isEnabled:!0,toggleCircles:function(){return e((function(e){return{isEnabled:!e.isEnabled}}))}}})),ye=n(5169),xe=function(){var e=(0,s.useMatches)().results;return(0,o.jsx)(s.KBarResults,{items:e,onRender:function(e){var t,n,r=e.item,i=e.active;return"string"===typeof r?(0,o.jsx)("div",{className:"px-3 pt-4 pb-2 text-sm text-gray-400",children:r}):(0,o.jsxs)("div",{className:b()("flex cursor-pointer items-center justify-between rounded-lg px-3 py-3 transition-colors",i?"bg-tertiary":"bg-transparent"),children:[(0,o.jsxs)("div",{className:"flex items-center",children:[r.icon&&(0,o.jsx)("div",{className:"mr-4",children:(0,p.cloneElement)(r.icon,{className:"h-4 w-4"})}),r.parent&&(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("span",{className:"opacity-60",children:null===(t=r.ancestors.find((function(e){return e.id===r.parent})))||void 0===t?void 0:t.name}),(0,o.jsx)("span",{className:"opacity-60",children:(0,o.jsx)(ye.Z,{className:"mx-2 h-4 w-4"})})]}),(0,o.jsx)("span",{className:"text-md",children:r.name})]}),(null===(n=r.shortcut)||void 0===n?void 0:n.length)&&(0,o.jsx)("div",{className:"flex items-center justify-center space-x-2",children:r.shortcut.map((function(e){return(0,o.jsx)(de,{children:e},e)}))})]})}})},be=n(7357),we=function(e){var t=e.children,n=(0,v.useRouter)().push,r=ge().toggleCircles,i=[{id:"home",name:"Home",keywords:"index root",shortcut:["h"],perform:function(){return n("/")},section:"Pages",icon:(0,o.jsx)(B,{})}].concat((0,D.Z)([]),(0,D.Z)([]),[{id:"projects",name:"Projects",keywords:"projects creations apps repositories",section:"Pages",icon:(0,o.jsx)(q,{})},{id:"projects-page",name:"All Projects",keywords:"projects creations apps repositories",shortcut:["p"],parent:"projects",perform:function(){return n("/projects")}}],(0,D.Z)([]),[{id:"toggle-circles",name:"Toggle Circles",keywords:"toggle circles",shortcut:["t","c"],icon:(0,o.jsx)(ne,{}),perform:function(){r(),f.ZP.success("Circles toggled")}}]);return pe.Z.map((function(e){i.push({id:e.id,name:e.name,perform:function(){return window.open(e.url)},section:"Socials",icon:e.icon})})),i.push({id:"source-code",name:"Source Code",keywords:"source code",perform:function(){return window.open("https://github.com/AnishDe12020/portfolio")},section:"Socials",icon:(0,o.jsx)(ae,{})}),he.c8.map((function(e){i.push({id:e._id,name:e.name,perform:function(){return n("/projects/"+e.slug)},icon:(0,o.jsx)(be.Z,{name:e.iconName}),parent:"projects"})})),(0,o.jsx)(o.Fragment,{children:(0,o.jsxs)(s.KBarProvider,{actions:i,children:[(0,o.jsx)(s.KBarPortal,{children:(0,o.jsx)(s.KBarPositioner,{className:"z-30 bg-secondary/60 backdrop-blur-md backdrop-filter",children:(0,o.jsxs)(s.KBarAnimator,{className:"mx-auto w-[32rem] overflow-hidden rounded-xl border-[1px] border-tertiary bg-secondary/60 px-4 drop-shadow-2xl ",children:[(0,o.jsxs)("div",{className:"mx-2 flex items-end justify-between py-4",children:[(0,o.jsx)("span",{children:(0,o.jsx)(ue,{className:"mr-2 mb-0.5 h-5 w-5 text-gray-100"})}),(0,o.jsx)(s.KBarSearch,{className:"w-full rounded-md border-b border-none border-gray-300 bg-transparent pt-2 text-gray-100 outline-none"}),(0,o.jsx)(de,{children:"esc"})]}),(0,o.jsx)(xe,{}),(0,o.jsx)("div",{className:"h-4"})]})})}),t]})})},je=n(1098),Oe=n(4051),_e=n.n(Oe),Se=function(){return(0,p.useEffect)((function(){if(!function(){var e=window.location.hostname;return"localhost"===e||"127.0.0.1"===e}()){var e=function(){var e=(0,je.Z)(_e().mark((function e(){var t,n,r,o;return _e().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,fetch("/version.json?ts=".concat(Date.now()),{cache:"no-store"});case 3:if((t=e.sent).ok){e.next=6;break}return e.abrupt("return");case 6:return e.next=8,t.json();case 8:if(n=e.sent,(r=null===n||void 0===n?void 0:n.version)&&"1769921714322"!==r){e.next=12;break}return e.abrupt("return");case 12:if((o=new URL(window.location.href)).searchParams.get("v")!==r){e.next=15;break}return e.abrupt("return");case 15:o.searchParams.set("v",r),window.location.replace(o.toString()),e.next=21;break;case 19:e.prev=19,e.t0=e.catch(0);case 21:case"end":return e.stop()}}),e,null,[[0,19]])})));return function(){return e.apply(this,arguments)}}();e()}}),[]),null},ke=(n(906),n(2632),n(838),n(5454)),Ce=function(){return(0,o.jsxs)("footer",{className:"mx-auto mb-16 flex max-w-3xl flex-col items-center space-y-4 px-8 text-center",children:[(0,o.jsx)(ke.Z,{small:!0,className:"mb-8"}),(0,o.jsxs)("p",{className:"text-xs",children:["Made by ",(0,o.jsx)(y.Z,{href:"https://twitter.com/AnishDe12020",children:"Anish De"})]}),(0,o.jsxs)("p",{className:"text-xs",children:["This portfolio is open source and the source code 
1can be found"," ",(0,o.jsx)(y.Z,{href:"https://github.com/AnishDe12020/portfolio",children:"on GitHub"})]}),(0,o.jsx)("p",{className:"text-xs",children:"yoorhimc [at] asu [dot] edu"})]})},Te=n(2962),Ee={title:"Yoorhim Cho",cannonical:"https://yourmejo.github.io/",openGraph:{type:"website",url:"https://yourmejo.github.io/",site_name:"Yoorhim Cho",title:"Yoorhim Cho",profile:{firstName:"Yoorhim",lastName:"Cho",username:"yourmejo",gender:"female"}}},Pe=n(4298),Ae=n.n(Pe),Me=n(3454);function De(e){var t=e.Component,n=e.pageProps,i=ge().isEnabled;return(0,o.jsxs)("div",{className:"relative min-h-screen overflow-x-hidden",children:[(0,o.jsx)(M,{}),(0,o.jsxs)(we,{children:[(0,o.jsx)(a(),{color:"#A0A0A0",startPosition:.3,stopDelayMs:200,height:3,options:{showSpinner:!1}}),(0,o.jsx)(Te.lX,(0,r.Z)({},Ee)),(0,o.jsx)(Se,{}),(0,o.jsx)(Te.Sv,{type:"Person",name:"Anish De",url:"https://anishde.dev/",sameAs:["https://twitter.com/AnishDe12020","https://www.youtube.com/anishtechtutorials"]}),Me.env.NEXT_PUBLIC_UMAMI_SCRIPT_URL&&Me.env.NEXT_PUBLIC_UMAMI_WEBSITE_ID&&(0,o.jsx)(Ae(),{src:Me.env.NEXT_PUBLIC_UMAMI_SCRIPT_URL,"data-website-id":Me.env.NEXT_PUBLIC_UMAMI_WEBSITE_ID,strategy:"lazyOnload"}),(0,o.jsxs)("main",{id:"main",className:"relative mx-auto mb-16 max-w-4xl px-8 pt-20",children:[(0,o.jsx)(t,(0,r.Z)({},n)),(0,o.jsx)(m,{}),i&&(0,o.jsxs)("div",{className:"absolute top-0 left-0 right-0",children:[(0,o.jsx)("div",{className:"absolute left-8 top-16 -z-10 overflow-visible opacity-20",children:(0,o.jsx)("div",{className:"circle-1 -z-10 h-[400px] w-[700px] rounded-full bg-red-700 mix-blend-multiply blur-[128px]"})}),(0,o.jsx)("div",{className:"absolute left-10 top-32 -z-10 overflow-visible opacity-20",children:(0,o.jsx)("div",{className:"circle-2 -z-10 h-[400px] w-[700px] rounded-full bg-green-700 mix-blend-multiply blur-[128px]"})}),(0,o.jsx)("div",{className:"absolute left-12 top-48 -z-10 overflow-visible opacity-20",children:(0,o.jsx)("div",{className:"circle-3 -z-10 h-[600px] w-[500px] rounded-full bg-blue-700 mix-blend-multiply blur-[128px]"})})]})]}),(0,o.jsx)(Ce,{}),(0,o.jsx)(c,{})]})]})}},3928:function(e,t,n){"use strict";n.d(t,{kC:function(){return a},Qu:function(){return l},dN:function(){return s}});var r=n(1743);var o=n(1732);function i(e,t){return function(e){if(Array.isArray(e))return e}(e)||(0,r.Z)(e,t)||(0,o.Z)(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var a=function(e){return"string"!==typeof e?"":e.charAt(0).toUpperCase()+e.slice(1)},s=function(e){var t=i(e.match(/github.com\/([^/]+)\/([^/]+)/)||[],3),n=t[1],r=t[2];return"".concat(n,"/").concat(r)},l=function(e){return e.replace(/^https?:\/\//,"")}},838:function(){},2632:function(){},906:function(){},7663:function(e){!function(){var t={308:function(e){var t,n,r=e.exports={};function o(){throw new Error("setTimeout has not been defined")}function i(){throw new Error("clearTimeout has not been defined")}function a(e){if(t===setTimeout)return setTimeout(e,0);if((t===o||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(r){try{return t.call(null,e,0)}catch(r){return t.call(this,e,0)}}}!function(){try{t="function"===typeof setTimeout?setTimeout:o}catch(e){t=o}try{n="function"===typeof clearTimeout?clearTimeout:i}catch(e){n=i}}();var s,l=[],c=!1,u=-1;function d(){c&&s&&(c=!1,s.length?l=s.concat(l):u=-1,l.length&&p())}function p(){if(!c){var e=a(d);c=!0;for(var t=l.length;t;){for(s=l,l=[];++u<t;)s&&s[u].run();u=-1,t=l.length}s=null,c=!1,function(e){if(n===clearTimeout)return clearTimeout(e);if((n===i||!n)&&clearTimeout)return n=clearTimeout,clearTimeout(e);try{n(e)}catch(t){try{return n.call(null,e)}catch(t){return n.call(this,e)}}}(e)}}function h(e,t){this.fun=e,this.array=t}function f(){}r.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];l.push(new h(e,t)),1!==l.length||c||a(p)},h.prototype.run=function(){this.fun.apply(null,this.array)},r.title="browser",r.browser=!0,r.env={},r.argv=[],r.version="",r.versions={},r.on=f,r.addListener=f,r.once=f,r.off=f,r.removeListener=f,r.removeAllListeners=f,r.emit=f,r.prependListener=f,r.prependOnceListener=f,r.listeners=function(e){return[]},r.binding=function(e){throw new Error("process.binding is not supported")},r.cwd=function(){return"/"},r.chdir=function(e){throw new Error("process.chdir is not supported")},r.umask=function(){return 0}}},n={};function r(e){var o=n[e];if(void 0!==o)return o.exports;var i=n[e]={exports:{}},a=!0;try{t[e](i,i.exports,r),a=!1}finally{a&&delete n[e]}return i.exports}r.ab="//";var o=r(308);e.exports=o}()},9008:function(e,t,n){e.exports=n(5443)},1664:function(e,t,n){e.exports=n(8418)},1163:function(e,t,n){e.exports=n(387)},4298:function(e,t,n){e.exports=n(699)},3457:function(e,t,n){var r=Object.create,o=Object.defineProperty,i=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,s=Object.getPrototypeOf,l=Object.prototype.hasOwnProperty,c=e=>
1o(e,"__esModule",{value:!0}),u=(e,t)=>o(e,"name",{value:t,configurable:!0}),d=(e,t,n,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let s of a(t))!l.call(e,s)&&(n||"default"!==s)&&o(e,s,{get:()=>t[s],enumerable:!(r=i(t,s))||r.enumerable});return e},p=(e,t)=>d(c(o(null!=e?r(s(e)):{},"default",!t&&e&&e.__esModule?{get:()=>e.default,enumerable:!0}:{value:e,enumerable:!0})),e),h=(e=>(t,n)=>e&&e.get(t)||(n=d(c({}),t,1),e&&e.set(t,n),n))("undefined"!=typeof WeakMap?new WeakMap:0),f={};((e,t)=>{for(var n in t)o(e,n,{get:t[n],enumerable:!0})})(f,{default:()=>x});var m=p(n(1163)),v=p(n(4865)),g=p(n(5697)),y=p(n(7294));function x({color:e="#29D",startPosition:t=.3,stopDelayMs:n=200,height:r=3,showOnShallow:o=!0,options:i,nonce:a}){let s=null;y.useEffect((()=>(i&&v.configure(i),m.default.events.on("routeChangeStart",l),m.default.events.on("routeChangeComplete",c),m.default.events.on("routeChangeError",c),()=>{m.default.events.off("routeChangeStart",l),m.default.events.off("routeChangeComplete",c),m.default.events.off("routeChangeError",c)})),[]);let l=u(((e,{shallow:n})=>{(!n||o)&&(v.set(t),v.start())}),"routeChangeStart"),c=u(((e,{shallow:t})=>{(!t||o)&&(s&&clearTimeout(s),s=setTimeout((()=>{v.done(!0)}),n))}),"routeChangeEnd");return y.createElement("style",{nonce:a},`\n      #nprogress {\n        pointer-events: none;\n      }\n      #nprogress .bar {\n        background: ${e};\n        position: fixed;\n        z-index: 9999;\n        top: 0;\n        left: 0;\n        width: 100%;\n        height: ${r}px;\n      }\n      #nprogress .peg {\n        display: block;\n        position: absolute;\n        right: 0px;\n        width: 100px;\n        height: 100%;\n        box-shadow: 0 0 10px ${e}, 0 0 5px ${e};\n        opacity: 1;\n        -webkit-transform: rotate(3deg) translate(0px, -4px);\n        -ms-transform: rotate(3deg) translate(0px, -4px);\n        transform: rotate(3deg) translate(0px, -4px);\n      }\n      #nprogress .spinner {\n        display: block;\n        position: fixed;\n        z-index: 1031;\n        top: 15px;\n        right: 15px;\n      }\n      #nprogress .spinner-icon {\n        width: 18px;\n        height: 18px;\n        box-sizing: border-box;\n        border: solid 2px transparent;\n        border-top-color: ${e};\n        border-left-color: ${e};\n        border-radius: 50%;\n        -webkit-animation: nprogresss-spinner 400ms linear infinite;\n        animation: nprogress-spinner 400ms linear infinite;\n      }\n      .nprogress-custom-parent {\n        overflow: hidden;\n        position: relative;\n      }\n      .nprogress-custom-parent #nprogress .spinner,\n      .nprogress-custom-parent #nprogress .bar {\n        position: absolute;\n      }\n      @-webkit-keyframes nprogress-spinner {\n        0% {\n          -webkit-transform: rotate(0deg);\n        }\n        100% {\n          -webkit-transform: rotate(360deg);\n        }\n      }\n      @keyframes nprogress-spinner {\n        0% {\n          transform: rotate(0deg);\n        }\n        100% {\n          transform: rotate(360deg);\n        }\n      }\n    `)}u(x,"NextNProgress"),x.propTypes={color:g.string,startPosition:g.number,stopDelayMs:g.number,height:g.number,showOnShallow:g.bool,options:g.object,nonce:g.string},e.exports=h(f)},4865:function(e,t,n){var r,o;r=function(){var e={version:"0.2.0"},t=e.settings={minimum:.08,easing:"ease",positionUsing:"",speed:200,trickle:!0,trickleRate:.02,trickleSpeed:800,showSpinner:!0,barSelector:'[role="bar"]',spinnerSelector:'[role="spinner"]',parent:"body",template:'<div class="bar" role="bar"><div class="peg"></div></div><div class="spinner" role="spinner"><div class="spinner-icon"></div></div>'};function n(e,t,n){return e<t?t:e>n?n:e}function r(e){return 100*(-1+e)}function o(e,n,o){var i;return(i="translate3d"===t.positionUsing?{transform:"translate3d("+r(e)+"%,0,0)"}:"translate"===t.positionUsing?{transform:"translate("+r(e)+"%,0)"}:{"margin-left":r(e)+"%"}).transition="all "+n+"ms "+o,i}e.configure=function(e){var n,r;for(n in e)void 0!==(r=e[n])&&e.hasOwnProperty(n)&&(t[n]=r);return this},e.status=null,e.set=function(r){var s=e.isStarted();r=n(r,t.minimum,1),e.status=1===r?null:r;var l=e.render(!s),c=l.querySelector(t.barSelector),u=t.speed,d=t.easing;return l.offsetWidth,i((function(n){""===t.positionUsing&&(t.positionUsing=e.getPositioningCSS()),a(c,o(r,u,d)),1===r?(a(l,{transition:"none",opacity:1}),l.offsetWidth,setTimeout((function(){a(l,{transition:"all "+u+"ms linear",opacity:0}
1),setTimeout((function(){e.remove(),n()}),u)}),u)):setTimeout(n,u)})),this},e.isStarted=function(){return"number"===typeof e.status},e.start=function(){e.status||e.set(0);var n=function(){setTimeout((function(){e.status&&(e.trickle(),n())}),t.trickleSpeed)};return t.trickle&&n(),this},e.done=function(t){return t||e.status?e.inc(.3+.5*Math.random()).set(1):this},e.inc=function(t){var r=e.status;return r?("number"!==typeof t&&(t=(1-r)*n(Math.random()*r,.1,.95)),r=n(r+t,0,.994),e.set(r)):e.start()},e.trickle=function(){return e.inc(Math.random()*t.trickleRate)},function(){var t=0,n=0;e.promise=function(r){return r&&"resolved"!==r.state()?(0===n&&e.start(),t++,n++,r.always((function(){0===--n?(t=0,e.done()):e.set((t-n)/t)})),this):this}}(),e.render=function(n){if(e.isRendered())return document.getElementById("nprogress");l(document.documentElement,"nprogress-busy");var o=document.createElement("div");o.id="nprogress",o.innerHTML=t.template;var i,s=o.querySelector(t.barSelector),c=n?"-100":r(e.status||0),u=document.querySelector(t.parent);return a(s,{transition:"all 0 linear",transform:"translate3d("+c+"%,0,0)"}),t.showSpinner||(i=o.querySelector(t.spinnerSelector))&&d(i),u!=document.body&&l(u,"nprogress-custom-parent"),u.appendChild(o),o},e.remove=function(){c(document.documentElement,"nprogress-busy"),c(document.querySelector(t.parent),"nprogress-custom-parent");var e=document.getElementById("nprogress");e&&d(e)},e.isRendered=function(){return!!document.getElementById("nprogress")},e.getPositioningCSS=function(){var e=document.body.style,t="WebkitTransform"in e?"Webkit":"MozTransform"in e?"Moz":"msTransform"in e?"ms":"OTransform"in e?"O":"";return t+"Perspective"in e?"translate3d":t+"Transform"in e?"translate":"margin"};var i=function(){var e=[];function t(){var n=e.shift();n&&n(t)}return function(n){e.push(n),1==e.length&&t()}}(),a=function(){var e=["Webkit","O","Moz","ms"],t={};function n(e){return e.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,(function(e,t){return t.toUpperCase()}))}function r(t){var n=document.body.style;if(t in n)return t;for(var r,o=e.length,i=t.charAt(0).toUpperCase()+t.slice(1);o--;)if((r=e[o]+i)in n)return r;return t}function o(e){return e=n(e),t[e]||(t[e]=r(e))}function i(e,t,n){t=o(t),e.style[t]=n}return function(e,t){var n,r,o=arguments;if(2==o.length)for(n in t)void 0!==(r=t[n])&&t.hasOwnProperty(n)&&i(e,n,r);else i(e,o[1],o[2])}}();function s(e,t){return("string"==typeof e?e:u(e)).indexOf(" "+t+" ")>=0}function l(e,t){var n=u(e),r=n+t;s(n,t)||(e.className=r.substring(1))}function c(e,t){var n,r=u(e);s(e,t)&&(n=r.replace(" "+t+" "," "),e.className=n.substring(1,n.length-1))}function u(e){return(" "+(e.className||"")+" ").replace(/\s+/gi," ")}function d(e){e&&e.parentNode&&e.parentNode.removeChild(e)}return e},void 0===(o="function"===typeof r?r.call(t,n,t,e):r)||(e.exports=o)},2703:function(e,t,n){"use strict";var r=n(414);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,a){if(a!==r){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}},5697:function(e,t,n){e.exports=n(2703)()},414:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},5169:function(e,t,n){"use strict";var r=n(7294),o=n(5697),i=n.n(o);function a(){return a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a.apply(this,arguments)}function s(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var l=(0,r.forwardRef)((function(e,t){var n=e.color,o=void 0===n?"currentColor":n,i=e.size,l=void 0===i?24:i,c=s(e,["color","size"]);return r.createElement("svg",a({ref:t,xmlns:"http://www.w3.org/2000/svg",width:l,height:l,viewBox:"0 0 24 24",fill:"none",stroke:o,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},c),r.createElement("line",{x1:"5",y1:"12",x2:"19",y2:"12"}),r.createElement("polyline",{points:"12 5 19 12 12 19"}))}));
1l.propTypes={color:i().string,size:i().oneOfType([i().string,i().number])},l.displayName="ArrowRight",t.Z=l},8268:function(e,t,n){"use strict";var r=n(7294),o=n(5697),i=n.n(o);function a(){return a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a.apply(this,arguments)}function s(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var l=(0,r.forwardRef)((function(e,t){var n=e.color,o=void 0===n?"currentColor":n,i=e.size,l=void 0===i?24:i,c=s(e,["color","size"]);return r.createElement("svg",a({ref:t,xmlns:"http://www.w3.org/2000/svg",width:l,height:l,viewBox:"0 0 24 24",fill:"none",stroke:o,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},c),r.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),r.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"}))}));l.propTypes={color:i().string,size:i().oneOfType([i().string,i().number])},l.displayName="X",t.Z=l},6010:function(e,t,n){"use strict";n.d(t,{Ih:function(){return le},x7:function(){return ye},ZP:function(){return xe},Am:function(){return R}});var r=n(7294);let o={data:""},i=e=>"object"==typeof window?((e?e.querySelector("#_goober"):window._goober)||Object.assign((e||document.head).appendChild(document.createElement("style")),{innerHTML:" ",id:"_goober"})).firstChild:e||o,a=/(?:([\u0080-\uFFFF\w-%@]+) *:? *([^{;]+?);|([^;}{]*?) *{)|(}\s*)/g,s=/\/\*[^]*?\*\/|  +/g,l=/\n+/g,c=(e,t)=>{let n="",r="",o="";for(let i in e){let a=e[i];"@"==i[0]?"i"==i[1]?n=i+" "+a+";":r+="f"==i[1]?c(a,i):i+"{"+c(a,"k"==i[1]?"":t)+"}":"object"==typeof a?r+=c(a,t?t.replace(/([^,])+/g,(e=>i.replace(/(^:.*)|([^,])+/g,(t=>/&/.test(t)?t.replace(/&/g,e):e?e+" "+t:t)))):i):null!=a&&(i=/^--/.test(i)?i:i.replace(/[A-Z]/g,"-$&").toLowerCase(),o+=c.p?c.p(i,a):i+":"+a+";")}return n+(t&&o?t+"{"+o+"}":o)+r},u={},d=e=>{if("object"==typeof e){let t="";for(let n in e)t+=n+d(e[n]);return t}return e},p=(e,t,n,r,o)=>{let i=d(e),p=u[i]||(u[i]=(e=>{let t=0,n=11;for(;t<e.length;)n=101*n+e.charCodeAt(t++)>>>0;return"go"+n})(i));if(!u[p]){let t=i!==e?e:(e=>{let t,n,r=[{}];for(;t=a.exec(e.replace(s,""));)t[4]?r.shift():t[3]?(n=t[3].replace(l," ").trim(),r.unshift(r[0][n]=r[0][n]||{})):r[0][t[1]]=t[2].replace(l," ").trim();return r[0]})(e);u[p]=c(o?{["@keyframes "+p]:t}:t,n?"":"."+p)}return((e,t,n)=>{-1==t.data.indexOf(e)&&(t.data=n?e+t.data:t.data+e)})(u[p],t,r),p},h=(e,t,n)=>e.reduce(((e,r,o)=>{let i=t[o];if(i&&i.call){let e=i(n),t=e&&e.props&&e.props.className||/^go/.test(e)&&e;i=t?"."+t:e&&"object"==typeof e?e.props?"":c(e,""):!1===e?"":e}return e+r+(null==i?"":i)}),"");function f(e){let t=this||{},n=e.call?e(t.p):e;return p(n.unshift?n.raw?h(n,[].slice.call(arguments,1),t.p):n.reduce(((e,n)=>Object.assign(e,n&&n.call?n(t.p):n)),{}):n,i(t.target),t.g,t.o,t.k)}f.bind({g:1});let m,v,g,y=f.bind({k:1});function x(e,t){let n=this||{};return function(){let r=arguments;function o(i,a){let s=Object.assign({},i),l=s.className||o.className;n.p=Object.assign({theme:v&&v()},s),n.o=/ *go\d+/.test(l),s.className=f.apply(n,r)+(l?" "+l:""),t&&(s.ref=a);let c=e;return e[0]&&(c=s.as||e,delete s.as),g&&c[0]&&g(s),m(c,s)}return t?t(o):o}}function b(){return b=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},b.apply(this,arguments)}function w(e,t){return t||(t=e.slice(0)),e.raw=t,e}var j,O=function(e,t){return function(e){return"function"===typeof e}(e)?e(t):e},_=function(){var e=0;return function(){return(++e).toString()}}(),S=function(){var e=void 0;return function(){if(void 0===e&&"undefined"!==typeof window){var t=matchMedia("(prefers-reduced-motion: reduce)");e=!t||t.matches}return e}}();!function(e){e[e.ADD_TOAST=0]="ADD_TOAST",e[e.UPDATE_TOAST=1]="UPDATE_TOAST",e[e.UPSERT_TOAST=2]="UPSERT_TOAST",e[e.DISMISS_TOAST=3]="DISMISS_TOAST",e[e.REMOVE_TOAST=4]="REMOVE_TOAST",e[e.START_PAUSE=5]="START_PAUSE",e[e.END_PAUSE=6]="END_PAUSE"}(j||(j={}));var k=new Map,C=function(e){if(!k.has(e)){var t=setTimeout((function(){k.delete(e),A({type:j.REMOVE_TOAST,toastId:e})}),1e3);k.set(e,t)}},T=function e(t,n){switch(n.type){case j.ADD_TOAST:return b({},t,{toasts:[n.toast].concat(t.toasts).slice(0,20)});case j.UPDATE_TOAST:return n.toast.id&&function(e){var t=k.get(e);t&&clearTimeout(t)}(n.toast.id),b({},t,{toasts:t.toasts.map((function(e){return e.id===n.toast.id?b({},e,n.toast):e}))});case j.UPSERT_TOAST:var r=n.toast;return t.toasts.find((function(e){return e.id===r.id}))?e(t,{type:j.UPDATE_TOAST,toast:r}):e(t,{type:j.ADD_TOAST,toast:r});case j.DISMISS_TOAST:var o=n.toastId;
1return o?C(o):t.toasts.forEach((function(e){C(e.id)})),b({},t,{toasts:t.toasts.map((function(e){return e.id===o||void 0===o?b({},e,{visible:!1}):e}))});case j.REMOVE_TOAST:return void 0===n.toastId?b({},t,{toasts:[]}):b({},t,{toasts:t.toasts.filter((function(e){return e.id!==n.toastId}))});case j.START_PAUSE:return b({},t,{pausedAt:n.time});case j.END_PAUSE:var i=n.time-(t.pausedAt||0);return b({},t,{pausedAt:void 0,toasts:t.toasts.map((function(e){return b({},e,{pauseDuration:e.pauseDuration+i})}))})}},E=[],P={toasts:[],pausedAt:void 0},A=function(e){P=T(P,e),E.forEach((function(e){e(P)}))},M={blank:4e3,error:4e3,success:2e3,loading:1/0,custom:4e3},D=function(e){return function(t,n){var r=function(e,t,n){return void 0===t&&(t="blank"),b({createdAt:Date.now(),visible:!0,type:t,ariaProps:{role:"status","aria-live":"polite"},message:e,pauseDuration:0},n,{id:(null==n?void 0:n.id)||_()})}(t,e,n);return A({type:j.UPSERT_TOAST,toast:r}),r.id}},R=function(e,t){return D("blank")(e,t)};R.error=D("error"),R.success=D("success"),R.loading=D("loading"),R.custom=D("custom"),R.dismiss=function(e){A({type:j.DISMISS_TOAST,toastId:e})},R.remove=function(e){return A({type:j.REMOVE_TOAST,toastId:e})},R.promise=function(e,t,n){var r=R.loading(t.loading,b({},n,null==n?void 0:n.loading));return e.then((function(e){return R.success(O(t.success,e),b({id:r},n,null==n?void 0:n.success)),e})).catch((function(e){R.error(O(t.error,e),b({id:r},n,null==n?void 0:n.error))})),e};var I=function(e){var t=function(e){void 0===e&&(e={});var t=(0,r.useState)(P),n=t[0],o=t[1];(0,r.useEffect)((function(){return E.push(o),function(){var e=E.indexOf(o);e>-1&&E.splice(e,1)}}),[n]);var i=n.toasts.map((function(t){var n,r,o;return b({},e,e[t.type],t,{duration:t.duration||(null==(n=e[t.type])?void 0:n.duration)||(null==(r=e)?void 0:r.duration)||M[t.type],style:b({},e.style,null==(o=e[t.type])?void 0:o.style,t.style)})}));return b({},n,{toasts:i})}(e),n=t.toasts,o=t.pausedAt;(0,r.useEffect)((function(){if(!o){var e=Date.now(),t=n.map((function(t){if(t.duration!==1/0){var n=(t.duration||0)+t.pauseDuration-(e-t.createdAt);if(!(n<0))return setTimeout((function(){return R.dismiss(t.id)}),n);t.visible&&R.dismiss(t.id)}}));return function(){t.forEach((function(e){return e&&clearTimeout(e)}))}}}),[n,o]);var i=(0,r.useMemo)((function(){return{startPause:function(){A({type:j.START_PAUSE,time:Date.now()})},endPause:function(){o&&A({type:j.END_PAUSE,time:Date.now()})},updateHeight:function(e,t){return A({type:j.UPDATE_TOAST,toast:{id:e,height:t}})},calculateOffset:function(e,t){var r,o=t||{},i=o.reverseOrder,a=void 0!==i&&i,s=o.gutter,l=void 0===s?8:s,c=o.defaultPosition,u=n.filter((function(t){return(t.position||c)===(e.position||c)&&t.height})),d=u.findIndex((function(t){return t.id===e.id})),p=u.filter((function(e,t){return t<d&&e.visible})).length,h=(r=u.filter((function(e){return e.visible}))).slice.apply(r,a?[p+1]:[0,p]).reduce((function(e,t){return e+(t.height||0)+l}),0);return h}}}),[n,o]);return{toasts:n,handlers:i}};function F(){var e=w(["\n  width: 20px;\n  opacity: 0;\n  height: 20px;\n  border-radius: 10px;\n  background: ",";\n  position: relative;\n  transform: rotate(45deg);\n\n  animation: "," 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275)\n    forwards;\n  animation-delay: 100ms;\n\n  &:after,\n  &:before {\n    content: '';\n    animation: "," 0.15s ease-out forwards;\n    animation-delay: 150ms;\n    position: absolute;\n    border-radius: 3px;\n    opacity: 0;\n    background: ",";\n    bottom: 9px;\n    left: 4px;\n    height: 2px;\n    width: 12px;\n  }\n\n  &:before {\n    animation: "," 0.15s ease-out forwards;\n    animation-delay: 180ms;\n    transform: rotate(90deg);\n  }\n"]);return F=function(){return e},e}function L(){var e=w(["\nfrom {\n  transform: scale(0) rotate(90deg);\n\topacity: 0;\n}\nto {\n  transform: scale(1) rotate(90deg);\n\topacity: 1;\n}"]);return L=function(){return e},e}function N(){var e=w(["\nfrom {\n  transform: scale(0);\n  opacity: 0;\n}\nto {\n  transform: scale(1);\n  opacity: 1;\n}"]);return N=function(){return e},e}function B(){var e=w(["\nfrom {\n  transform: scale(0) rotate(45deg);\n\topacity: 0;\n}\nto {\n transform: scale(1) rotate(45deg);\n  opacity: 1;\n}"]);return B=function(){return e},e}var V=y(B()),z=y(N()),U=y(L()),G=x("div")(F(),(function(e){return e.primary||"#ff4b4b"}),V,z,(function(e){return e.secondary||"#fff"}),U);function Z(){var e=w(["\n  width: 12px;\n  height: 12px;\n  box-sizing: border-box;\n  border: 2px solid;\n  border-radius: 100%;\n  border-color: ",";\n  border-right-color: ",";\n  animation: "," 1s linear infinite;\n"]);return Z=function(){return e},e}function H(){var e=w(["\n  from {\n    transform: rotate(0deg);\n  }\n  to {\n    transform: rotate(360deg);\n  }\n"]);return H=function(){return e},e}var W=y(H()),K=x("div")(Z(),(function(e){return e.secondary||"#e0e0e0"}),(function(e){return e.primary||"#616161"}),W);
1function Y(){var e=w(["\n  width: 20px;\n  opacity: 0;\n  height: 20px;\n  border-radius: 10px;\n  background: ",";\n  position: relative;\n  transform: rotate(45deg);\n\n  animation: "," 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275)\n    forwards;\n  animation-delay: 100ms;\n  &:after {\n    content: '';\n    box-sizing: border-box;\n    animation: "," 0.2s ease-out forwards;\n    opacity: 0;\n    animation-delay: 200ms;\n    position: absolute;\n    border-right: 2px solid;\n    border-bottom: 2px solid;\n    border-color: ",";\n    bottom: 6px;\n    left: 6px;\n    height: 10px;\n    width: 6px;\n  }\n"]);return Y=function(){return e},e}function q(){var e=w(["\n0% {\n\theight: 0;\n\twidth: 0;\n\topacity: 0;\n}\n40% {\n  height: 0;\n\twidth: 6px;\n\topacity: 1;\n}\n100% {\n  opacity: 1;\n  height: 10px;\n}"]);return q=function(){return e},e}function X(){var e=w(["\nfrom {\n  transform: scale(0) rotate(45deg);\n\topacity: 0;\n}\nto {\n  transform: scale(1) rotate(45deg);\n\topacity: 1;\n}"]);return X=function(){return e},e}var $=y(X()),J=y(q()),Q=x("div")(Y(),(function(e){return e.primary||"#61d345"}),$,J,(function(e){return e.secondary||"#fff"}));function ee(){var e=w(["\n  position: relative;\n  transform: scale(0.6);\n  opacity: 0.4;\n  min-width: 20px;\n  animation: "," 0.3s 0.12s cubic-bezier(0.175, 0.885, 0.32, 1.275)\n    forwards;\n"]);return ee=function(){return e},e}function te(){var e=w(["\nfrom {\n  transform: scale(0.6);\n  opacity: 0.4;\n}\nto {\n  transform: scale(1);\n  opacity: 1;\n}"]);return te=function(){return e},e}function ne(){var e=w(["\n  position: relative;\n  display: flex;\n  justify-content: center;\n  align-items: center;\n  min-width: 20px;\n  min-height: 20px;\n"]);return ne=function(){return e},e}function re(){var e=w(["\n  position: absolute;\n"]);return re=function(){return e},e}var oe=x("div")(re()),ie=x("div")(ne()),ae=y(te()),se=x("div")(ee(),ae),le=function(e){var t=e.toast,n=t.icon,o=t.type,i=t.iconTheme;return void 0!==n?"string"===typeof n?(0,r.createElement)(se,null,n):n:"blank"===o?null:(0,r.createElement)(ie,null,(0,r.createElement)(K,Object.assign({},i)),"loading"!==o&&(0,r.createElement)(oe,null,"error"===o?(0,r.createElement)(G,Object.assign({},i)):(0,r.createElement)(Q,Object.assign({},i))))};function ce(){var e=w(["\n  display: flex;\n  justify-content: center;\n  margin: 4px 10px;\n  color: inherit;\n  flex: 1 1 auto;\n  white-space: pre-line;\n"]);return ce=function(){return e},e}function ue(){var e=w(["\n  display: flex;\n  align-items: center;\n  background: #fff;\n  color: #363636;\n  line-height: 1.3;\n  will-change: transform;\n  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1), 0 3px 3px rgba(0, 0, 0, 0.05);\n  max-width: 350px;\n  pointer-events: auto;\n  padding: 8px 10px;\n  border-radius: 8px;\n"]);return ue=function(){return e},e}var de=function(e){return"\n0% {transform: translate3d(0,"+-200*e+"%,0) scale(.6); opacity:.5;}\n100% {transform: translate3d(0,0,0) scale(1); opacity:1;}\n"},pe=function(e){return"\n0% {transform: translate3d(0,0,-1px) scale(1); opacity:1;}\n100% {transform: translate3d(0,"+-150*e+"%,-1px) scale(.6); opacity:0;}\n"},he=x("div",r.forwardRef)(ue()),fe=x("div")(ce()),me=(0,r.memo)((function(e){var t=e.toast,n=e.position,o=e.style,i=e.children,a=null!=t&&t.height?function(e,t){var n=e.includes("top")?1:-1,r=S()?["0%{opacity:0;} 100%{opacity:1;}","0%{opacity:1;} 100%{opacity:0;}"]:[de(n),pe(n)],o=r[1];return{animation:t?y(r[0])+" 0.35s cubic-bezier(.21,1.02,.73,1) forwards":y(o)+" 0.4s forwards cubic-bezier(.06,.71,.55,1)"}}(t.position||n||"top-center",t.visible):{opacity:0},s=(0,r.createElement)(le,{toast:t}),l=(0,r.createElement)(fe,Object.assign({},t.ariaProps),O(t.message,t));return(0,r.createElement)(he,{className:t.className,style:b({},a,o,t.style)},"function"===typeof i?i({icon:s,message:l}):(0,r.createElement)(r.Fragment,null,s,l))}));function ve(){var e=w(["\n  z-index: 9999;\n  > * {\n    pointer-events: auto;\n  }\n"]);return ve=function(){return e},e}!function(e,t,n,r){c.p=t,m=e,v=n,g=r}(r.createElement);var ge=f(ve()),ye=function(e){var t=e.reverseOrder,n=e.position,o=void 0===n?"top-center":n,i=e.toastOptions,a=e.gutter,s=e.children,l=e.containerStyle,c=e.containerClassName,u=I(i),d=u.toasts,p=u.handlers;return(0,r.createElement)("div",{style:b({position:"fixed",zIndex:9999,top:16,left:16,right:16,bottom:16,pointerEvents:"none"},l),className:c,onMouseEnter:p.startPause,onMouseLeave:p.endPause},d.map((function(e){var n,i=e.position||o,l=function(e,t){var n=e.includes("top"),r=n?{top:0}:{bottom:0},o=e.includes("center")?{justifyContent:"center"}:e.includes("right")?{justifyContent:"flex-end"}:{};return b({left:0,right:0,display:"flex",position:"absolute",transition:S()?void 0:"all 230ms cubic-bezier(.21,1.02,.73,1)",transform:"translateY("+t*(n?1:-1)+"px)"},r,o)}(i,p.calculateOffset(e,{reverseOrder:t,gutter:a,defaultPosition:o})),c=e.height?void 0:(n=function(t){p.updateHeight(e.id,t.height)},function(e){e&&setTimeout((function(){var t=e.getBoundingClientRect();n(t)}))});return(0,r.createElement)("div",{ref:c,className:e.visible?ge:"",ke
1y:e.id,style:l},"custom"===e.type?O(e.message,e):s?s(e):(0,r.createElement)(me,{toast:e,position:i}))})))},xe=R},8585:function(e,t,n){"use strict";n.r(t),n.d(t,{defaultRangeExtractor:function(){return m},useVirtual:function(){return v}});var r=n(7294);function o(){return o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o.apply(this,arguments)}var i,a=["bottom","height","left","right","top","width"],s=new Map,l=function e(){var t=[];s.forEach((function(e,n){var r,o,i=n.getBoundingClientRect();r=i,o=e.rect,void 0===r&&(r={}),void 0===o&&(o={}),a.some((function(e){return r[e]!==o[e]}))&&(e.rect=i,t.push(e))})),t.forEach((function(e){e.callbacks.forEach((function(t){return t(e.rect)}))})),i=window.requestAnimationFrame(e)};var c="undefined"!==typeof window?r.useLayoutEffect:r.useEffect;function u(e,t){void 0===t&&(t={width:0,height:0});var n=r.useState(e.current),o=n[0],a=n[1],u=r.useReducer(d,t),p=u[0],h=u[1],f=r.useRef(!1);return c((function(){e.current!==o&&a(e.current)})),c((function(){if(o&&!f.current){f.current=!0;var e=o.getBoundingClientRect();h({rect:e})}}),[o]),r.useEffect((function(){if(o){var e,t,n=(e=o,t=function(e){h({rect:e})},{observe:function(){var n=0===s.size;s.has(e)?s.get(e).callbacks.push(t):s.set(e,{rect:void 0,hasRectChanged:!1,callbacks:[t]}),n&&l()},unobserve:function(){var n=s.get(e);if(n){var r=n.callbacks.indexOf(t);r>=0&&n.callbacks.splice(r,1),n.callbacks.length||s.delete(e),s.size||cancelAnimationFrame(i)}}});return n.observe(),function(){n.unobserve()}}}),[o]),p}function d(e,t){var n=t.rect;return e.height!==n.height||e.width!==n.width?n:e}var p=function(){return 50},h=function(e){return e},f=function(e,t){return e[t?"offsetWidth":"offsetHeight"]},m=function(e){for(var t=Math.max(e.start-e.overscan,0),n=Math.min(e.end+e.overscan,e.size-1),r=[],o=t;o<=n;o++)r.push(o);return r};function v(e){var t,n=e.size,i=void 0===n?0:n,a=e.estimateSize,s=void 0===a?p:a,l=e.overscan,d=void 0===l?1:l,v=e.paddingStart,g=void 0===v?0:v,y=e.paddingEnd,x=void 0===y?0:y,b=e.parentRef,w=e.horizontal,j=e.scrollToFn,O=e.useObserver,_=e.initialRect,S=e.onScrollElement,k=e.scrollOffsetFn,C=e.keyExtractor,T=void 0===C?h:C,E=e.measureSize,P=void 0===E?f:E,A=e.rangeExtractor,M=void 0===A?m:A,D=w?"width":"height",R=w?"scrollLeft":"scrollTop",I=r.useRef({scrollOffset:0,measurements:[]}),F=r.useState(0),L=F[0],N=F[1];I.current.scrollOffset=L;var B=(O||u)(b,_)[D];I.current.outerSize=B;var V=r.useCallback((function(e){b.current&&(b.current[R]=e)}),[b,R]),z=j||V;j=r.useCallback((function(e){z(e,V)}),[V,z]);var U=r.useState({}),G=U[0],Z=U[1],H=r.useCallback((function(){return Z({})}),[]),W=r.useRef([]),K=r.useMemo((function(){var e=W.current.length>0?Math.min.apply(Math,W.current):0;W.current=[];for(var t=I.current.measurements.slice(0,e),n=e;n<i;n++){var r=T(n),o=G[r],a=t[n-1]?t[n-1].end:g,l="number"===typeof o?o:s(n),c=a+l;t[n]={index:n,start:a,size:l,end:c,key:r}}return t}),[s,G,g,i,T]),Y=((null==(t=K[i-1])?void 0:t.end)||g)+x;I.current.measurements=K,I.current.totalSize=Y;var q=S?S.current:b.current,X=r.useRef(k);X.current=k,c((function(){if(q){var e=function(e){var t=X.current?X.current(e):q[R];N(t)};return e(),q.addEventListener("scroll",e,{capture:!1,passive:!0}),function(){q.removeEventListener("scroll",e)}}N(0)}),[q,R]);var $=function(e){var t=e.measurements,n=e.outerSize,r=e.scrollOffset,o=t.length-1,i=function(e,t,n,r){for(;e<=t;){var o=(e+t)/2|0,i=n(o);if(i<r)e=o+1;else{if(!(i>r))return o;t=o-1}}return e>0?e-1:0}(0,o,(function(e){return t[e].start}),r),a=i;for(;a<o&&t[a].end<r+n;)a++;return{start:i,end:a}}(I.current),J=$.start,Q=$.end,ee=r.useMemo((function(){return M({start:J,end:Q,overscan:d,size:K.length})}),[J,Q,d,K.length,M]),te=r.useRef(P);te.current=P;var ne=r.useMemo((function(){for(var e=[],t=function(t,n){var r=ee[t],i=o(o({},K[r]),{},{measureRef:function(e){if(e){var t=te.current(e,w);if(t!==i.size){var n=I.current.scrollOffset;i.start<n&&V(n+(t-i.size)),W.current.push(r),Z((function(e){var n;return o(o({},e),{},((n={})[i.key]=t,n))}
1))}}}});e.push(i)},n=0,r=ee.length;n<r;n++)t(n);return e}),[ee,V,w,K]),re=r.useRef(!1);c((function(){re.current&&Z({}),re.current=!0}),[s]);var oe=r.useCallback((function(e,t){var n=(void 0===t?{}:t).align,r=void 0===n?"start":n,o=I.current,i=o.scrollOffset,a=o.outerSize;"auto"===r&&(r=e<=i?"start":e>=i+a?"end":"start"),"start"===r?j(e):"end"===r?j(e-a):"center"===r&&j(e-a/2)}),[j]),ie=r.useCallback((function(e,t){var n=void 0===t?{}:t,r=n.align,a=void 0===r?"auto":r,s=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(n,["align"]),l=I.current,c=l.measurements,u=l.scrollOffset,d=l.outerSize,p=c[Math.max(0,Math.min(e,i-1))];if(p){if("auto"===a)if(p.end>=u+d)a="end";else{if(!(p.start<=u))return;a="start"}var h="center"===a?p.start+p.size/2:"end"===a?p.end:p.start;oe(h,o({align:a},s))}}),[oe,i]),ae=r.useCallback((function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];ie.apply(void 0,t),requestAnimationFrame((function(){ie.apply(void 0,t)}))}),[ie]);return{virtualItems:ne,totalSize:Y,scrollToOffset:oe,scrollToIndex:ae,measure:H}}},4207:function(e,t,n){var r=n(3454);!function(){"use strict";var t={583:function(e){e.exports=function(e){for(var t=5381,n=e.length;n;)t=33*t^e.charCodeAt(--n);return t>>>0}},590:function(e,t,n){t.__esModule=!0,t.computeId=function(e,t){if(!t)return"jsx-"+e;var n=String(t),r=e+n;i[r]||(i[r]="jsx-"+(0,o.default)(e+"-"+n));return i[r]},t.computeSelector=function(e,t){"undefined"===typeof window&&(t=t.replace(/\/style/gi,"\\/style"));var n=e+t;i[n]||(i[n]=t.replace(/__jsx-style-dynamic-selector/g,e));return i[n]};var r,o=(r=n(583))&&r.__esModule?r:{default:r};var i={}},503:function(e,t){function n(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}t.__esModule=!0,t.default=void 0;var o="undefined"!==typeof r&&r.env&&!0,i=function(e){return"[object String]"===Object.prototype.toString.call(e)},a=function(){function e(e){var t=void 0===e?{}:e,n=t.name,r=void 0===n?"stylesheet":n,a=t.optimizeForSpeed,l=void 0===a?o:a,c=t.isBrowser,u=void 0===c?"undefined"!==typeof window:c;s(i(r),"`name` must be a string"),this._name=r,this._deletedRulePlaceholder="#"+r+"-deleted-rule____{}",s("boolean"===typeof l,"`optimizeForSpeed` must be a boolean"),this._optimizeForSpeed=l,this._isBrowser=u,this._serverSheet=void 0,this._tags=[],this._injected=!1,this._rulesCount=0;var d=this._isBrowser&&document.querySelector('meta[property="csp-nonce"]');this._nonce=d?d.getAttribute("content"):null}var t,r,a,l=e.prototype;return l.setOptimizeForSpeed=function(e){s("boolean"===typeof e,"`setOptimizeForSpeed` accepts a boolean"),s(0===this._rulesCount,"optimizeForSpeed cannot be when rules have already been inserted"),this.flush(),this._optimizeForSpeed=e,this.inject()},l.isOptimizeForSpeed=function(){return this._optimizeForSpeed},l.inject=function(){var e=this;if(s(!this._injected,"sheet already injected"),this._injected=!0,this._isBrowser&&this._optimizeForSpeed)return this._tags[0]=this.makeStyleTag(this._name),this._optimizeForSpeed="insertRule"in this.getSheet(),void(this._optimizeForSpeed||(o||console.warn("StyleSheet: optimizeForSpeed mode not supported falling back to standard mode."),this.flush(),this._injected=!0));this._serverSheet={cssRules:[],insertRule:function(t,n){return"number"===typeof n?e._serverSheet.cssRules[n]={cssText:t}:e._serverSheet.cssRules.push({cssText:t}),n},deleteRule:function(t){e._serverSheet.cssRules[t]=null}}},l.getSheetForTag=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]},l.getSheet=function(){return this.getSheetForTag(this._tags[this._tags.length-1])},l.insertRule=function(e,t){if(s(i(e),"`insertRule` accepts only strings"),!this._isBrowser)return"number"!==typeof t&&(t=this._serverSheet.cssRules.length),this._serverSheet.insertRule(e,t),this._rulesCount++;if(this._optimizeForSpeed){var n=this.getSheet();"number"!==typeof t&&(t=n.cssRules.length);try{n.insertRule(e,t)}catch(a){return o||console.warn("StyleSheet: illegal rule: \n\n"+e+"\n\nSee https://stackoverflow.com/q/20007992 for more info"),-1}}else{var r=this._tags[t];this._tags.push(this.makeStyleTag(this._name,e,r))}return this._rulesCount++},l.replaceRule=function(e,t){if(this._optimizeForSpeed||!this._isBrowser){var n=this._isBrowser?this.get
1Sheet():this._serverSheet;if(t.trim()||(t=this._deletedRulePlaceholder),!n.cssRules[e])return e;n.deleteRule(e);try{n.insertRule(t,e)}catch(i){o||console.warn("StyleSheet: illegal rule: \n\n"+t+"\n\nSee https://stackoverflow.com/q/20007992 for more info"),n.insertRule(this._deletedRulePlaceholder,e)}}else{var r=this._tags[e];s(r,"old rule at index `"+e+"` not found"),r.textContent=t}return e},l.deleteRule=function(e){if(this._isBrowser)if(this._optimizeForSpeed)this.replaceRule(e,"");else{var t=this._tags[e];s(t,"rule at index `"+e+"` not found"),t.parentNode.removeChild(t),this._tags[e]=null}else this._serverSheet.deleteRule(e)},l.flush=function(){this._injected=!1,this._rulesCount=0,this._isBrowser?(this._tags.forEach((function(e){return e&&e.parentNode.removeChild(e)})),this._tags=[]):this._serverSheet.cssRules=[]},l.cssRules=function(){var e=this;return this._isBrowser?this._tags.reduce((function(t,n){return n?t=t.concat(Array.prototype.map.call(e.getSheetForTag(n).cssRules,(function(t){return t.cssText===e._deletedRulePlaceholder?null:t}))):t.push(null),t}),[]):this._serverSheet.cssRules},l.makeStyleTag=function(e,t,n){t&&s(i(t),"makeStyleTag accepts only strings as second parameter");var r=document.createElement("style");this._nonce&&r.setAttribute("nonce",this._nonce),r.type="text/css",r.setAttribute("data-"+e,""),t&&r.appendChild(document.createTextNode(t));var o=document.head||document.getElementsByTagName("head")[0];return n?o.insertBefore(r,n):o.appendChild(r),r},t=e,(r=[{key:"length",get:function(){return this._rulesCount}}])&&n(t.prototype,r),a&&n(t,a),e}();function s(e,t){if(!e)throw new Error("StyleSheet: "+t+".")}t.default=a},449:function(e,t,n){t.__esModule=!0,t.default=c;var r,o=(r=n(522))&&r.__esModule?r:{default:r},i=n(147),a=n(590);var s=o.default.useInsertionEffect||o.default.useLayoutEffect,l="undefined"!==typeof window?(0,i.createStyleRegistry)():void 0;function c(e){var t=l||(0,i.useStyleRegistry)();return t?"undefined"===typeof window?(t.add(e),null):(s((function(){return t.add(e),function(){t.remove(e)}}),[e.id,String(e.dynamic)]),null):null}c.dynamic=function(e){return e.map((function(e){var t=e[0],n=e[1];return(0,a.computeId)(t,n)})).join(" ")}},147:function(e,t,n){t.__esModule=!0,t.createStyleRegistry=u,t.StyleRegistry=function(e){var t=e.registry,n=e.children,r=(0,o.useContext)(c),i=(0,o.useState)((function(){return r||t||u()}))[0];return o.default.createElement(c.Provider,{value:i},n)},t.useStyleRegistry=function(){return(0,o.useContext)(c)},t.StyleSheetContext=t.StyleSheetRegistry=void 0;var r,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==typeof e&&"function"!==typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(n,o,i):n[o]=e[o]}n.default=e,t&&t.set(e,n);return n}(n(522)),i=(r=n(503))&&r.__esModule?r:{default:r},a=n(590);function s(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}var l=function(){function e(e){var t=void 0===e?{}:e,n=t.styleSheet,r=void 0===n?null:n,o=t.optimizeForSpeed,a=void 0!==o&&o,s=t.isBrowser,l=void 0===s?"undefined"!==typeof window:s;this._sheet=r||new i.default({name:"styled-jsx",optimizeForSpeed:a}),this._sheet.inject(),r&&"boolean"===typeof a&&(this._sheet.setOptimizeForSpeed(a),this._optimizeForSpeed=this._sheet.isOptimizeForSpeed()),this._isBrowser=l,this._fromServer=void 0,this._indices={},this._instancesCounts={}}var t=e.prototype;return t.add=function(e){var t=this;void 0===this._optimizeForSpeed&&(this._optimizeForSpeed=Array.isArray(e.children),this._sheet.setOptimizeForSpeed(this._optimizeForSpeed),this._optimizeForSpeed=this._sheet.isOptimizeForSpeed()),this._isBrowser&&!this._fromServer&&(this._fromServer=this.selectFromServer(),this._instancesCounts=Object.keys(this._fromServer).reduce((function(e,t){return e[t]=0,e}),{}));var n=this.getIdAndRules(e),r=n.styleId,o=n.rules;if(r in this._instancesCounts)this._instancesCounts[r]+=1;else{var i=o.map((function(e){return t._sheet.insertRule(e)})).filter((function(e){return-1!==e}));this._indices[r]=i,this._instancesCounts[r]=1}},t.remove=function(e){var t=this,n=this.getIdAndRules(e).styleId;if(function(e,t){if(!e)throw new Error("StyleSheetRegistry: "+t+".")}(n in this._instancesCounts,"styleId: `"+n+"` not found"),this._instancesCounts[n]-=1,this._instancesCounts[n]<1){var r=this._fromServer&&this._fromServer[n];r?(r.parentNode.removeChild(r),delete this._fromServer[n]):(this._indices[n].forEac
1h((function(e){return t._sheet.deleteRule(e)})),delete this._indices[n]),delete this._instancesCounts[n]}},t.update=function(e,t){this.add(t),this.remove(e)},t.flush=function(){this._sheet.flush(),this._sheet.inject(),this._fromServer=void 0,this._indices={},this._instancesCounts={}},t.cssRules=function(){var e=this,t=this._fromServer?Object.keys(this._fromServer).map((function(t){return[t,e._fromServer[t]]})):[],n=this._sheet.cssRules();return t.concat(Object.keys(this._indices).map((function(t){return[t,e._indices[t].map((function(e){return n[e].cssText})).join(e._optimizeForSpeed?"":"\n")]})).filter((function(e){return Boolean(e[1])})))},t.styles=function(e){return function(e,t){return void 0===t&&(t={}),e.map((function(e){var n=e[0],r=e[1];return o.default.createElement("style",{id:"__"+n,key:"__"+n,nonce:t.nonce?t.nonce:void 0,dangerouslySetInnerHTML:{__html:r}})}))}(this.cssRules(),e)},t.getIdAndRules=function(e){var t=e.children,n=e.dynamic,r=e.id;if(n){var o=(0,a.computeId)(r,n);return{styleId:o,rules:Array.isArray(t)?t.map((function(e){return(0,a.computeSelector)(o,e)})):[(0,a.computeSelector)(o,t)]}}return{styleId:(0,a.computeId)(r),rules:Array.isArray(t)?t:[t]}},t.selectFromServer=function(){return Array.prototype.slice.call(document.querySelectorAll('[id^="__jsx-"]')).reduce((function(e,t){return e[t.id.slice(2)]=t,e}),{})},e}();t.StyleSheetRegistry=l;var c=(0,o.createContext)(null);function u(){return new l}t.StyleSheetContext=c},522:function(e){e.exports=n(7294)}},o={};function i(e){var n=o[e];if(void 0!==n)return n.exports;var r=o[e]={exports:{}},a=!0;try{t[e](r,r.exports,i),a=!1}finally{a&&delete o[e]}return r.exports}i.ab="//";var a={};!function(){var e=a;
1e.__esModule=!0,e.style=e.useStyleRegistry=e.createStyleRegistry=e.StyleRegistry=void 0;var t=i(147);e.StyleRegistry=t.StyleRegistry,e.createStyleRegistry=t.createStyleRegistry,e.useStyleRegistry=t.useStyleRegistry;var n,r=(n=i(449))&&n.__esModule?n:{default:n};e.style=r.default}(),e.exports=a}()},5988:function(e,t,n){e.exports=n(4207).style},2177:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return o}});var r="Invariant failed";function o(e,t){if(!e)throw new Error(r)}},655:function(e,t,n){"use strict";n.d(t,{CR:function(){return l},XA:function(){return s},ZT:function(){return o},_T:function(){return a},ev:function(){return c},pi:function(){return i}});var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)};function o(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var i=function(){return i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)};function a(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}Object.create;function s(e){var t="function"===typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"===typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function l(e,t){var n="function"===typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(s){o={error:s}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a}function c(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}Object.create},3250:function(e,t,n){"use strict";var r=n(7294);var o="function"===typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e===1/t)||e!==e&&t!==t},i=r.useState,a=r.useEffect,s=r.useLayoutEffect,l=r.useDebugValue;function c(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!o(e,n)}catch(r){return!0}}var u="undefined"===typeof window||"undefined"===typeof window.document||"undefined"===typeof window.document.createElement?function(e,t){return t()}:function(e,t){var n=t(),r=i({inst:{value:n,getSnapshot:t}}),o=r[0].inst,u=r[1];return s((function(){o.value=n,o.getSnapshot=t,c(o)&&u({inst:o})}),[e,n,t]),a((function(){return c(o)&&u({inst:o}),e((function(){c(o)&&u({inst:o})}))}),[e]),l(n),n};t.useSyncExternalStore=void 0!==r.useSyncExternalStore?r.useSyncExternalStore:u},139:function(e,t,n){"use strict";var r=n(7294),o=n(1688);var i="function"===typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e===1/t)||e!==e&&t!==t},a=o.useSyncExternalStore,s=r.useRef,l=r.useEffect,c=r.useMemo,u=r.useDebugValue;t.useSyncExternalStoreWithSelector=function(e,t,n,r,o){var d=s(null);if(null===d.current){var p={hasValue:!1,value:null};d.current=p}else p=d.current;d=c((function(){function e(e){if(!l){if(l=!0,a=e,e=r(e),void 0!==o&&p.hasValue){var t=p.value;if(o(t,e))return s=t}return s=e}if(t=s,i(a,e))return t;var n=r(e);return void 0!==o&&o(t,n)?t:(a=e,s=n)}var a,s,l=!1,c=void 0===n?null:n;return[function(){return e(t())},null===c?void 0:function(){return e(c())}]}),[t,n,r,o]);var h=a(e,d[0],d[1]);return l((function(){p.hasValue=!0,p.value=h}),[h]),u(h),h}},1688:function(e,t,n){"use strict";e.exports=n(3250)},2798:function(e,t,n){"use strict";e.exports=n(139)},8326:function(e){"use strict";e.exports=JSON.parse('{"x":[{"_id":"630c937a43d7308e3e326578","slug":"how-to-quickly-create-a-gasless-nft-collection-on-solana-with-candypay","title":"How to quickly create a Gasless NFT Collection on Solana with CandyPay","brief":"Let\'s say you are an NFT 
1creator and want to publish your NFT onto the Solana blockchain quickly. This can be time-consuming as it involves creating the collection, setting up a minting website, etc. It also requires you to be familiar with all the t...","coverImage":"https://cdn.hashnode.com/res/hashnode/image/upload/v1661675955811/Oyqc_FemE.png","dateAdded":"2022-08-29T10:22:50.405Z","readingTime":{"text":"5 min read","minutes":4.915,"time":294900,"words":983},"wordCount":983},{"_id":"62f79ab969fa1793160c2b0b","slug":"5-modern-cli-tools-that-help-boost-your-productivity","title":"5 Modern CLI tools that help boost your productivity","brief":"As developers, most of us use the terminal to interact with our computers for many tasks as we find it more productive. We are familiar with commands like ls, cd, cat, grep, and find. These are primarily pre-installed on our computers and mostly get ...","coverImage":"https://cdn.hashnode.com/res/hashnode/image/upload/v1660393311485/olDcPwC6h.png","dateAdded":"2022-08-13T12:36:09.904Z","readingTime":{"text":"4 min read","minutes":3.015,"time":180900,"words":603},"wordCount":604},{"_id":"62dbb5e838759e6b49829ce5","slug":"forgit-and-lazygit-the-2-git-tools-to-supercharge-your-git-workflow","title":"Forgit and Lazygit. The 2 Git tools to supercharge your git workflow?","brief":"Most of us use version control systems (mostly git) for our projects but the git CLI is unproductive. We often need to run multiple commands and got to type more characters. \\nWell, what if I told you there are tools that can improve this significantl...","coverImage":"https://cdn.hashnode.com/res/hashnode/image/unsplash/842ofHC6MaI/upload/v1658565475883/khowiElqD.jpeg","dateAdded":"2022-07-23T08:48:40.421Z","readingTime":{"text":"3 min read","minutes":2.12,"time":127200,"words":424},"wordCount":425},{"_id":"627f7ab5bc9305ec39362c1a","slug":"make-a-beautiful-connect-wallet-button-with-rainbowkit-and-react","title":"Make a beautiful Connect Wallet Button with RainbowKit and React","brief":"Authentication in Web3 is extremely easy but supporting all the wallets and making a nice UI can be painful and time-consuming. Thankfully, there are many libraries which makes this extremely easy as well. Today we are going to be looking at adding R...","coverImage":"https://cdn.hashnode.com/res/hashnode/image/upload/v1652521066137/sJ3tsAZoN.png","dateAdded":"2022-05-14T09:47:33.362Z","readingTime":{"text":"5 min read","minutes":4.285,"time":257100,"words":857},"wordCount":858},{"_id":"6278e72f766c7b81844fa2bb","slug":"5-amazing-react-component-libraries-to-consider-for-your-next-project","title":"5 Amazing React Component Libraries to Consider for your Next Project","brief":"As web developers, it is often quite hard and time-consuming to make accessible UIs. This gets even worse when we have to make special components like Modals or Popovers from scratch.\\nThankfully, the React ecosystem is huge and there are many great p...","coverImage":"https://cdn.hashnode.com/res/hashnode/image/unsplash/XmZ4GDAp9G0/upload/v1652090173489/BrJWe16IU.jpeg","dateAdded":"2022-05-09T10:04:31.347Z","readingTime":{"text":"3 min read","minutes":2.235,"time":134100,"words":447},"wordCount":448},{"_id":"626facff77f8e2f7fe934866","slug":"amazing-preview-images-with-nextjs-and-lqip-modern","title":"Amazing preview images with Next.js and LQIP Modern","brief":"Images take a long time to load and can have a disruptive impact on UX. Today we are going to be looking at creating preview images with a library called lqip-modern. \\nWhat is LQIP?\\nLQIP simply stands for Low Quality Image Placeholders. They have ext...","coverImage":"https://cdn.hashnode.com/res/hashnode/image/upload/v1651485793452/F3aixNLhI.png","dateAdded":"2022-05-02T10:05:51.829Z","readingTime":{"text":"6 min read","minutes":5.725,"time":343500,"words":1145},"wordCount":1145},{"_id":"626c0aed0c2dd1d27d008342","slug":"making-a-blog-with-directus-mdx-and-nextjs-on-demand-isr","title":"Making a blog with Directus, MDX, and Next.js On-Demand ISR","brief":"There are many Headless CMSs out there and many other tools that let us make a blog easily and quickly. Today we look at building a blog with Directus and Next.js. We will use MDX to store our blog content in Directus. We are also going to use Next.j...","coverImage":"https://cdn.hashnode.com/res/hashnode/image/upload/v1651247682343/a8z6OZ-5D.png","dateAdded":"2022-04-29T15:57:33.361Z","readingTime":{"text":"13 min read","minutes":12.325,"time":739500,"words":2465},"wordCount":2465},{"_id":"6245c7a562d144fbc1c44ee7","slug":"introducing-xdox-start-challenges-log-your-progress-and-show-them-off-to-the-world","title":"Introducing XdoX - Start Challenges, Log your Progress and Show them off to the World","brief":"\ud83e\udd14 What is XdoX?\\nXdoX is a web application that lets you start challenges and log your progress every day. You are also able to show your progress to the world via your unique profile page. These 
1challenges can be anything from 100DaysOfCode to 30Day...","coverImage":"https://cdn.hashnode.com/res/hashnode/image/upload/v1648739175407/TYb9x3jFw.png","dateAdded":"2022-03-31T15:24:21.104Z","readingTime":{"text":"7 min read","minutes":6.59,"time":395400,"words":1318},"wordCount":1319},{"_id":"623adcbde99839749d2473f4","slug":"5-chrome-keyboard-shortcuts-to-boost-your-productivity","title":"5 Chrome Keyboard Shortcuts to boost your productivity","brief":"Browsers have become an integral part of our life and most applications are web-based now. We use web browsers for everything, from asking a question on Stackoverflow to booking a flight ticket. We often end up having a huge number of tabs open and i...","coverImage":"https://cdn.hashnode.com/res/hashnode/image/upload/v1648010384861/eZTBzzKqf.png","dateAdded":"2022-03-23T08:39:25.360Z","readingTime":{"text":"3 min read","minutes":2.42,"time":145200,"words":484},"wordCount":484},{"_id":"62247d65cefcf05d1a6d49e3","slug":"powerful-code-blocks-with-code-hike-and-mdx","title":"Powerful Code Blocks with Code Hike and MDX","brief":"MDX is a format that combines markup in markdown along with JSX code to embed components into markdown documents. It is used in documentation, blog posts, and much more as one can add interactive examples with JSX. You can learn more about it here.\\nT...","coverImage":"https://cdn.hashnode.com/res/hashnode/image/upload/v1646557910712/Kd9HITQXq.png","dateAdded":"2022-03-06T09:22:45.266Z","readingTime":{"text":"5 min read","minutes":4.735,"time":284100,"words":947},"wordCount":947},{"_id":"621f5cc1aa0b9716581fa8b1","slug":"making-an-accessible-breadcrumb-navigation-using-tailwindcss-and-nextjs","title":"Making an accessible Breadcrumb Navigation using TailwindCSS and NextJS","brief":"Breadcrumb Navigations are starting to appear in many applications nowadays, mostly in dashboards. Today we are going to look at building a Breadcrumb navigation that is accessible and styled with TailwindCSS. We are going to be using NextJS (specifi...","coverImage":"https://cdn.hashnode.com/res/hashnode/image/upload/v1646221079849/m2I61XWGT.png","dateAdded":"2022-03-02T12:02:09.997Z","readingTime":{"text":"11 min read","minutes":10.28,"time":616800,"words":2056},"wordCount":2057},{"_id":"621dc955068ca006a8f92518","slug":"notiger-get-realtime-notifications-on-events-from-your-application","title":"Notiger - Get realtime notifications on events from your application","brief":"This month started with Hashnode announcing another hackathon, this time in partnership with Netlify, an amazing platform to host websites and serverless functions. This got me thinking and this time an idea came to my mind quite early on in the mont...","coverImage":"https://cdn.hashnode.com/res/hashnode/image/upload/v1646117836387/JMgYE869K.png","dateAdded":"2022-03-01T07:20:53.547Z","readingTime":{"text":"12 min read","minutes":11.79,"time":707400,"words":2358},"wordCount":2358},{"_id":"620e213025673f2740eebc69","slug":"privacy-friendly-website-analytics-with-umami-and-nextjs","title":"Privacy friendly website analytics with Umami and NextJS","brief":"Website analytics is truly a very important thing. We can understand our audience well and can tailor our content to our audience for higher engagement. Google Analytics had always been the go-to solution as it is popular, easy to set up, and gives a...","coverImage":"https://cdn.hashnode.com/res/hashnode/image/upload/v1645091755632/-NyymMbeL.png","dateAdded":"2022-02-17T10:19:28.199Z","readingTime":{"text":"10 min read","minutes":9.775,"time":586500,"words":1955},"wordCount":1955},{"_id":"61f7c1fc00273a7c1776d65a","slug":"twnft-mint-your-tweets-as-nfts-easily-and-for-free","title":"TwNFT - Mint your tweets as NFTs easily and for free","brief":"\ud83e\udd14 What is TwNFT?\\nTwNFT is a simple web application that allows you to mint your tweets as NFTs for free.\\nIt is my submission for the Thirdweb x Hashnode Hackathon.\\nLive Demo / GitHub Repository\\n\ud83c\udf10 What is Thirdweb?\\nGetting started with web3 can be d...","coverImage":"https://cdn.hashnode.com/res/hashnode/image/upload/v1643626826069/Py_29X16z.png","dateAdded":"2022-01-31T11:03:24.422Z","readingTime":{"text":"7 min read","minutes":6.055,"time":363300,"words":1211},"wordCount":1211},{"_id":"61c2b52c5ca9b60b25c5b192","slug":"how-to-make-a-back-to-top-button-and-page-progress-bar-with-html-css-and-javascript","title":"How to Make a Back to Top Button and Page Progress Bar with HTML, CSS, and JavaScript","brief":"This article was first posted on Freecodecamp on the 21st of December, 2021. Link - https://www.freecodecamp.org/news/back-to-top-button-and-page-progressbar-with-html-css-and-js/\\n\\nYou\'ve probably seen a \\"back-to-top\\" button at the bottom-right corne...","coverImage":"https://cdn.hashnode.com/res/hashnode/image/upload/v1640144896880/b4sCz6SdF.png","dateAdded":"2021-12-22T05:18
1:36.494Z","readingTime":{"text":"9 min read","minutes":8.085,"time":485100,"words":1617},"wordCount":1617},{"_id":"61baba8aa2d7d141b3f7b04a","slug":"how-to-use-the-github-repository","title":"How to Use the .github Repository","brief":"Note: This article was first published in the Freecodecamp publication on the 15th of December, 2021. The link to the original article - https://www.freecodecamp.org/news/how-to-use-the-dot-github-repository/\\n\\nGitHub has many special repositories. Fo...","coverImage":"https://cdn.hashnode.com/res/hashnode/image/upload/v1639627184519/Yqo5BERsU.png","dateAdded":"2021-12-16T04:03:22.771Z","readingTime":{"text":"11 min read","minutes":10.08,"time":604800,"words":2016},"wordCount":2017},{"_id":"61b4a51db055806a4b00de8d","slug":"adding-an-in-browser-code-preview-to-your-react-application-with-sandpack","title":"Adding an in-browser code preview to your React Application with Sandpack","brief":"Sandpack is a live coding environment that runs on the browser. It is made by the team behind CodeSandbox. The main objective here is to provide interactive examples to play around with, to users. I see it being widely used in things like blog posts ...","coverImage":"https://cdn.hashnode.com/res/hashnode/image/upload/v1639228519537/gLvn_u4gu.png","dateAdded":"2021-12-11T13:18:21.826Z","readingTime":{"text":"6 min read","minutes":5.975,"time":358500,"words":1195},"wordCount":1195},{"_id":"61ac8c76b6bca85a26d3dfa0","slug":"make-a-toast-with-html-css-and-js","title":"Make a toast with HTML, CSS, and JS","brief":"Introduction\\nToasts are very useful for showing users some information. It has a wide variety of uses from displaying success messages for successful actions, showing error messages in case something goes wrong, and much more. Today we are going to b...","coverImage":"https://cdn.hashnode.com/res/hashnode/image/upload/v1638697970037/zAYKG5UvP.png","dateAdded":"2021-12-05T09:55:02.064Z","readingTime":{"text":"6 min read","minutes":5.355,"time":321300,"words":1071},"wordCount":1071},{"_id":"619b58f95bb9cc256fc6bf46","slug":"how-to-write-good-commit-messages-with-commitlint","title":"How to Write Good Commit Messages with Commitlint","brief":"This article was first published on Freecodecamp on the 13th of November, 2021 - https://www.freecodecamp.org/news/how-to-use-commitlint-to-write-good-commit-messages/\\n\\nWe are often in a hurry to commit our changes in Git and so we write something ra...","coverImage":"https://cdn.hashnode.com/res/hashnode/image/upload/v1637567563481/O4DnwuzYH.png","dateAdded":"2021-11-22T08:39:32.000Z","readingTime":{"text":"9 min read","minutes":8.895,"time":533700,"words":1779},"wordCount":1779},{"_id":"61792a50913b6d3f08e160c8","slug":"middleware-in-nextjs-12-what-are-they-and-how-to-get-started-with-them","title":"Middleware in NextJS 12 - What are they and how to get started with them","brief":"Yesterday, we had the NextJS Conf and we got a lot of new things. NextJS 12 has been released and it has got a ton of new and exciting features. One of these features is middleware in NextJS so let us see how it works with an example.\\nWhat is NextJS ...","coverImage":"https://cdn.hashnode.com/res/hashnode/image/upload/v1635330583778/5PWAHkJYC.png","dateAdded":"2021-10-27T10:30:40.760Z","readingTime":{"text":"5 min read","minutes":4.81,"time":288600,"words":962},"wordCount":963},{"_id":"617155830f452c1cd94f662f","slug":"my-journey-in-hacktoberfest-2021-and-why-you-should-also-participate","title":"My Journey in Hacktoberfest 2021 and Why You Should also Participate","brief":"What is Hacktoberfest?\\nHacktoberfest is held in the month of October every year. It is all about getting people to make quality contributions to open-source projects. Those who make 4 pull requests which are valid and get merged, get some swag (t-shi...","coverImage":"https://cdn.hashnode.com/res/hashnode/image/upload/v1634817393976/JUWpc990G.png","dateAdded":"2021-10-21T11:56:51.208Z","readingTime":{"text":"3 min read","minutes":2.43,"time":145800,"words":486},"wordCount":487},{"_id":"6168440618374f25732792b4","slug":"the-joy-of-contributing-to-open-source","title":"The Joy of Contributing to Open Source","brief":"Back in July of this year, I made a bold decision of completely switching to Pop OS (an ubuntu-based Linux distribution) and I was faced with many hurdles. One of these was an alternative to Microsoft\'s Your Phone application. \\nAfter some research, I...","coverImage":"https://cdn.hashnode.com/res/hashnode/image/upload/v1634223048452/2ejp46rbT.png","dateAdded":"2021-10-14T14:51:50.966Z","readingTime":{"text":"4 min read","minutes":3.16,"time":189600,"words":632},"wordCount":633},{"_id":"615ec3dab945c81a907ce2c4","slug":"open-source-in-everyday-life","title":"Open Source in Everyday Life","brief":"We often don\'t realize but open-source projects play a huge role in our life. Today, in this article, I am going to talk about how we use open-source technologies in our everyday life and what would happen if they didn\'t exist \ud83d\ude31.\\n\\nSome Examples\\nLet ...","coverImage":"https://cdn.hashnode.com/res/hashnode/image/upload/v1633600326583/ghPVqeQKg.png","dateAdded":"2021-10-07T09:54:34.649Z","readingTime":{"text":"6 min read","minutes":5.325,"time":319500,"words":1065},"wordCount":1066},{"_id":"6156bea528ed304eb1d80bed","slug":"creating-a-bug-report-form-in-github","title":"Creating a Bug Report Form in GitHub","brief":"GitHub allowed us to make pre-build issue templates in the form of markdown files which the person reporting the bug could fill out. This was better than presenting the person reporting the bug with a blank textbox but it could get a bit clumsy at ti...","coverImage":"https://cdn.hashnode.com/res/hashnode/image/upload/v1633074780447/HqDVBypPE.png","dateAdded":"2021-10-01T07:54:13.400Z","readingTime":{"text":"5 min read","minutes":4.525,"time":271500,"words":905},"wordCount":906},{"_id":"615434b09c8bfd08f5ba8ae2","slug":"my-journey-into-development","title":"My Journey into Development","brief":"Early Years\\nTechnology was something I was interested in since a very young age. At first, I was mainly interested in electronics and robotics. I didn\'t make anything at the age of 5 or 6 but I would play around with whatever I would find at home. Th...","coverImage":"https://cdn.hashnode.com/res/hashnode/image/upload/v1632908401380/aMdJb9Yr5.png","dateAdded":"2021-09-29T09:41:04.328Z","readingTime":{"text":"3 min read","minutes":2.025,"time":121500,"words":405},"wordCount":405},{"_id":"615191fd040ee8723694f798","slug":"my-journey-into-technical-writing","title":"My Journey into Technical Writing","brief":"Before I started writing\\nI was interested in tech in general from a very young age and have been expanding my knowledge from watching videos and reading articles for a long time. I used to read articles written across many technical news outlets like...","coverImage":"https://cdn.hashnode.com/res/hashnode/image/upload/v1632735491266/CH5HeyA0G.png","dateAdded":"2021-09-27T09
1:42:21.778Z","readingTime":{"text":"2 min read","minutes":2.005,"time":120300,"words":401},"wordCount":401},{"_id":"615089747ef2d57e218f0f24","slug":"deta-space-what-is-it-and-why-is-it-the-future","title":"Deta Space - What is it and why is it the future?","brief":"Disclaimer: This article is not sponsored or biased in any way. I liked the idea behind the product and hence wanted to write about it.\\n\\nDeta was a company founded just over 2 years ago and it has been providing free Cloud solutions since.\\nWhat is De...","coverImage":"https://cdn.hashnode.com/res/hashnode/image/upload/v1632668000520/pvK_J77Ig.png","dateAdded":"2021-09-26T14:53:40.851Z","readingTime":{"text":"2 min read","minutes":1.925,"time":115500,"words":385},"wordCount":386},{"_id":"614d9e2411be385cc5771650","slug":"companies-i-am-looking-forward-to-work-for-in-the-future","title":"Companies I am looking forward to work for in the future","brief":"Everyone has a dream to pursue in life, some of them are usually what one will work for in the future. Some want to open their startups, some want to get into the big companies, some want to work on personal projects, and some want to do freelancing....","coverImage":"https://cdn.hashnode.com/res/hashnode/image/upload/v1632476548051/VMTroxhBN.png","dateAdded":"2021-09-24T09:45:08.570Z","readingTime":{"text":"3 min read","minutes":2.295,"time":137700,"words":459},"wordCount":460},{"_id":"6148497317da986cea6475c9","slug":"create-an-npx-cli-portfolio-under-5-minutes","title":"Create an NPX CLI Portfolio under 5 minutes","brief":"Want something like this? This is the article you are looking for. Let me show you how you can make an NPX CLI Portfolio under 5 minutes\\nHow I made it\\nI am mainly using React Ink for this project. I have also written a Getting started with React Ink ...","coverImage":"https://cdn.hashnode.com/res/hashnode/image/upload/v1632127305126/toFWFJIio.png","dateAdded":"2021-09-20T08:42:27.340Z","readingTime":{"text":"2 min read","minutes":1.255,"time":75300,"words":251},"wordCount":251},{"_id":"6145fdfba2b54e17a52c27e7","slug":"getting-started-with-react-ink","title":"Getting started with React Ink","brief":"Have you ever wondered if you can use React for the command-line interface (CLI)? Yes, you can!!! React is not only used for web development but also for making Android and iOS apps (React Native) and VR Apps (React 360) and a lot more!!! React Ink i...","coverImage":"https://cdn.hashnode.com/res/hashnode/image/upload/v1632026487043/Dt04gfQrV.png","dateAdded":"2021-09-18T14:55:55.301Z","readingTime":{"text":"5 min read","minutes":4.215,"time":252900,"words":843},"wordCount":843},{"_id":"61421a1cb95e345575e99ecb","slug":"how-to-install-figma-on-linux","title":"How to install Figma on Linux","brief":"Figma is a great UI/UX tool with a quite generous free tier. This means many developers use Figma to prototype their application or website designs (including me). Many of us developers tend to use Linux but that is where a problem arises, the Figma ...","coverImage":"https://cdn.hashnode.com/res/hashnode/image/upload/v1631721750406/ca5-n5_Hz.png","dateAdded":"2021-09-15T16:06:52.361Z","readingTime":{"text":"2 min read","minutes":1.83,"time":109800,"words":366},"wordCount":367},{"_id":"613f7d4f516bc5337dd9c487","slug":"my-first-day-at-the-september-hashnode-bootcamp","title":"My first day at the September Hashnode Bootcamp","brief":"There was no Hackathon this month but Hashnode surprised us with a great Bootcamp with some great speakers onboard. The Bootcamp was for the first 1000 people who registered for it and I was one of the lucky ones to be in. If you weren\'t in, we have ...","coverImage":"https://cdn.hashnode.com/res/hashnode/image/upload/v1631550705867/qrTzbWvzD.png","dateAdded":"2021-09-13T16:33:19.476Z","readingTime":{"text":"2 min read","minutes":1.645,"time":98700,"words":329},"wordCount":329},{"_id":"613dc14a1821961e2551feb3","slug":"easter-eggs-using-react-rooks","title":"Easter eggs using React Rooks","brief":"I stumbled upon this great React Hooks library called Rooks recently and it has got a lot to offer. We all have discovered various Easter eggs in various apps and sites. It c
1an range anywhere from stumbling upon a Rick-roll when you click a button a ...","coverImage":"https://cdn.hashnode.com/res/hashnode/image/upload/v1631436948488/lDw1xu_2B.png","dateAdded":"2021-09-12T08:58:50.758Z","readingTime":{"text":"2 min read","minutes":1.735,"time":104100,"words":347},"wordCount":348},{"_id":"613889838b7ef170483a0d1e","slug":"stop-google-analytics-from-tracking-you-under-2-minutes","title":"Stop Google Analytics from tracking you under 2 minutes","brief":"Many sites use analytics tools to measure their site insights. Google Analytics is an extremely popular tool in this sector as it is free (though there is a paid version for enterprise use but the free one is what most people use). \\nThe problem\\nGoogl...","coverImage":"https://cdn.hashnode.com/res/hashnode/image/upload/v1631095068830/_lLk6qzyQ.png","dateAdded":"2021-09-08T09:59:31.419Z","readingTime":{"text":"4 min read","minutes":3.445,"time":206700,"words":689},"wordCount":690},{"_id":"612e08691dd572151d81ca32","slug":"easy-comments","title":"Easy Comments - An easy way to add comments functionality to your site","brief":"\ud83d\udc68 Firstly a little bit about myself\\nI am a 14-year-old Developer, YouTuber, Blogger, and of course a student. Though I have been coding for quite a long time, I started web development about 5 months ago. I learned Javascript, React, Redux, NextJS, ...","coverImage":"https://cdn.hashnode.com/res/hashnode/image/upload/v1630405714711/mdWqS7tlK.png","dateAdded":"2021-08-31T10:46:01.133Z","readingTime":{"text":"7 min read","minutes":6.07,"time":364200,"words":1214},"wordCount":1214},{"_id":"608032bec99e200d08f82d1b","slug":"the-random-library-in-python","title":"The Random Library in Python","brief":"You might need your program to choose a random lucky winner from a list of people participating in a lottery or maybe you want to chooses a random fruit from a list of fruits the doctor made you. There are many use cases for this library and let us s...","coverImage":"https://cdn.hashnode.com/res/hashnode/image/upload/v1619014305729/ivierDSCN.png","dateAdded":"2021-04-21T14:12:14.873Z","readingTime":{"text":"4 min read","minutes":3.485,"time":209100,"words":697},"wordCount":697},{"_id":"60716c998b2b857c0bdb5860","slug":"cryptography-with-python-using-fernet","title":"Cryptography with Python using Fernet","brief":"Let us look at how to encrypt text and files using Python.\\nFor this we are going to be using Fernet which is a part of python\'s cryptography package\\nSo let us get right into it\\nOk firstly we need to downloaded the cryptography package using pip\\nOn Wi...","coverImage":"https://cdn.hashnode.com/res/hashnode/image/upload/v1618046247940/JiNf1vAbR.png","dateAdded":"2021-04-10T09:15:05.206Z","readingTime":{"text":"3 min read","minutes":2.445,"time":146700,"words":489},"wordCount":489}],"n":"blog.anishde.dev"}')}},function(e){var t=function(t){return e(e.s=t)};e.O(0,[774,179],(function(){return t(6840),t(387)}));var n=e.O();_N_E=n}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.