@bigbinary/neetoui 3.3.12 → 3.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +15 -0
- package/index.css +1 -1
- package/index.js +1 -1
- package/layouts.js +1 -1
- package/package.json +2 -2
package/layouts.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/*! For license information please see layouts.js.LICENSE.txt */
|
|
2
|
-
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react"),require("react-dom"),require("react-router-dom")):"function"==typeof define&&define.amd?define(["react","react-dom","react-router-dom"],t):"object"==typeof exports?exports.neetoui=t(require("react"),require("react-dom"),require("react-router-dom")):e.neetoui=t(e.react,e["react-dom"],e["react-router-dom"])}(self,(function(e,t,n){return(()=>{var r={8594:(e,t,n)=>{"use strict";n.d(t,{Z:()=>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)-.*))$/;const o=(i={},function(e){return void 0===i[e]&&(i[e]=(t=e,r.test(t)||111===t.charCodeAt(0)&&110===t.charCodeAt(1)&&t.charCodeAt(2)<91)),i[e];var t});var i},4184:(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)&&n.length){var a=o.apply(null,n);a&&e.push(a)}else if("object"===i)for(var s in n)r.call(n,s)&&n[s]&&e.push(s)}}return e.join(" ")}e.exports?(o.default=o,e.exports=o):void 0===(n=function(){return o}.apply(t,[]))||(e.exports=n)}()},7484:function(e){e.exports=function(){"use strict";var e=6e4,t=36e5,n="millisecond",r="second",o="minute",i="hour",a="day",s="week",u="month",c="quarter",l="year",f="date",p="Invalid Date",d=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,m=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,v={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_")},h=function(e,t,n){var r=String(e);return!r||r.length>=t?e:""+Array(t+1-r.length).join(n)+e},y={s:h,z:function(e){var t=-e.utcOffset(),n=Math.abs(t),r=Math.floor(n/60),o=n%60;return(t<=0?"+":"-")+h(r,2,"0")+":"+h(o,2,"0")},m:function e(t,n){if(t.date()<n.date())return-e(n,t);var r=12*(n.year()-t.year())+(n.month()-t.month()),o=t.clone().add(r,u),i=n-o<0,a=t.clone().add(r+(i?-1:1),u);return+(-(r+(n-o)/(i?o-a:a-o))||0)},a:function(e){return e<0?Math.ceil(e)||0:Math.floor(e)},p:function(e){return{M:u,y:l,w:s,d:a,D:f,h:i,m:o,s:r,ms:n,Q:c}[e]||String(e||"").toLowerCase().replace(/s$/,"")},u:function(e){return void 0===e}},g="en",b={};b[g]=v;var x=function(e){return e instanceof O},k=function e(t,n,r){var o;if(!t)return g;if("string"==typeof t){var i=t.toLowerCase();b[i]&&(o=i),n&&(b[i]=n,o=i);var a=t.split("-");if(!o&&a.length>1)return e(a[0])}else{var s=t.name;b[s]=t,o=s}return!r&&o&&(g=o),o||!r&&g},w=function(e,t){if(x(e))return e.clone();var n="object"==typeof t?t:{};return n.date=e,n.args=arguments,new O(n)},C=y;C.l=k,C.i=x,C.w=function(e,t){return w(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var O=function(){function v(e){this.$L=k(e.locale,null,!0),this.parse(e)}var h=v.prototype;return h.parse=function(e){this.$d=function(e){var t=e.date,n=e.utc;if(null===t)return new Date(NaN);if(C.u(t))return new Date;if(t instanceof Date)return new Date(t);if("string"==typeof t&&!/Z$/i.test(t)){var r=t.match(d);if(r){var o=r[2]-1||0,i=(r[7]||"0").substring(0,3);return n?new Date(Date.UTC(r[1],o,r[3]||1,r[4]||0,r[5]||0,r[6]||0,i)):new Date(r[1],o,r[3]||1,r[4]||0,r[5]||0,r[6]||0,i)}}return new Date(t)}(e),this.$x=e.x||{},this.init()},h.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},h.$utils=function(){return C},h.isValid=function(){return!(this.$d.toString()===p)},h.isSame=function(e,t){var n=w(e);return this.startOf(t)<=n&&n<=this.endOf(t)},h.isAfter=function(e,t){return w(e)<this.startOf(t)},h.isBefore=function(e,t){return this.endOf(t)<w(e)},h.$g=function(e,t,n){return C.u(e)?this[t]:this.set(n,e)},h.unix=function(){return Math.floor(this.valueOf()/1e3)},h.valueOf=function(){return this.$d.getTime()},h.startOf=function(e,t){var n=this,c=!!C.u(t)||t,p=C.p(e),d=function(e,t){var r=C.w(n.$u?Date.UTC(n.$y,t,e):new Date(n.$y,t,e),n);return c?r:r.endOf(a)},m=function(e,t){return C.w(n.toDate()[e].apply(n.toDate("s"),(c?[0,0,0,0]:[23,59,59,999]).slice(t)),n)},v=this.$W,h=this.$M,y=this.$D,g="set"+(this.$u?"UTC":"");switch(p){case l:return c?d(1,0):d(31,11);case u:return c?d(1,h):d(0,h+1);case s:var b=this.$locale().weekStart||0,x=(v<b?v+7:v)-b;return d(c?y-x:y+(6-x),h);case a:case f:return m(g+"Hours",0);case i:return m(g+"Minutes",1);case o:return m(g+"Seconds",2);case r:return m(g+"Milliseconds",3);default:return this.clone()}},h.endOf=function(e){return this.startOf(e,!1)},h.$set=function(e,t){var s,c=C.p(e),p="set"+(this.$u?"UTC":""),d=(s={},s[a]=p+"Date",s[f]=p+"Date",s[u]=p+"Month",s[l]=p+"FullYear",s[i]=p+"Hours",s[o]=p+"Minutes",s[r]=p+"Seconds",s[n]=p+"Milliseconds",s)[c],m=c===a?this.$D+(t-this.$W):t;if(c===u||c===l){var v=this.clone().set(f,1);v.$d[d](m),v.init(),this.$d=v.set(f,Math.min(this.$D,v.daysInMonth())).$d}else d&&this.$d[d](m);return this.init(),this},h.set=function(e,t){return this.clone().$set(e,t)},h.get=function(e){return this[C.p(e)]()},h.add=function(n,c){var f,p=this;n=Number(n);var d=C.p(c),m=function(e){var t=w(p);return C.w(t.date(t.date()+Math.round(e*n)),p)};if(d===u)return this.set(u,this.$M+n);if(d===l)return this.set(l,this.$y+n);if(d===a)return m(1);if(d===s)return m(7);var v=(f={},f[o]=e,f[i]=t,f[r]=1e3,f)[d]||1,h=this.$d.getTime()+n*v;return C.w(h,this)},h.subtract=function(e,t){return this.add(-1*e,t)},h.format=function(e){var t=this,n=this.$locale();if(!this.isValid())return n.invalidDate||p;var r=e||"YYYY-MM-DDTHH:mm:ssZ",o=C.z(this),i=this.$H,a=this.$m,s=this.$M,u=n.weekdays,c=n.months,l=function(e,n,o,i){return e&&(e[n]||e(t,r))||o[n].slice(0,i)},f=function(e){return C.s(i%12||12,e,"0")},d=n.meridiem||function(e,t,n){var r=e<12?"AM":"PM";return n?r.toLowerCase():r},v={YY:String(this.$y).slice(-2),YYYY:this.$y,M:s+1,MM:C.s(s+1,2,"0"),MMM:l(n.monthsShort,s,c,3),MMMM:l(c,s),D:this.$D,DD:C.s(this.$D,2,"0"),d:String(this.$W),dd:l(n.weekdaysMin,this.$W,u,2),ddd:l(n.weekdaysShort,this.$W,u,3),dddd:u[this.$W],H:String(i),HH:C.s(i,2,"0"),h:f(1),hh:f(2),a:d(i,a,!0),A:d(i,a,!1),m:String(a),mm:C.s(a,2,"0"),s:String(this.$s),ss:C.s(this.$s,2,"0"),SSS:C.s(this.$ms,3,"0"),Z:o};return r.replace(m,(function(e,t){return t||v[e]||o.replace(":","")}))},h.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},h.diff=function(n,f,p){var d,m=C.p(f),v=w(n),h=(v.utcOffset()-this.utcOffset())*e,y=this-v,g=C.m(this,v);return g=(d={},d[l]=g/12,d[u]=g,d[c]=g/3,d[s]=(y-h)/6048e5,d[a]=(y-h)/864e5,d[i]=y/t,d[o]=y/e,d[r]=y/1e3,d)[m]||y,p?g:C.a(g)},h.daysInMonth=function(){return this.endOf(u).$D},h.$locale=function(){return b[this.$L]},h.locale=function(e,t){if(!e)return this.$L;var n=this.clone(),r=k(e,t,!0);return r&&(n.$L=r),n},h.clone=function(){return C.w(this.$d,this)},h.toDate=function(){return new Date(this.valueOf())},h.toJSON=function(){return this.isValid()?this.toISOString():null},h.toISOString=function(){return this.$d.toISOString()},h.toString=function(){return this.$d.toUTCString()},v}(),E=O.prototype;return w.prototype=E,[["$ms",n],["$s",r],["$m",o],["$H",i],["$W",a],["$M",u],["$y",l],["$D",f]].forEach((function(e){E[e[1]]=function(t){return this.$g(t,e[0],e[1])}})),w.extend=function(e,t){return e.$i||(e(t,O,w),e.$i=!0),w},w.locale=k,w.isDayjs=x,w.unix=function(e){return w(1e3*e)},w.en=b[g],w.Ls=b,w.p={},w}()},6036:function(e){e.exports=function(){"use strict";return function(e,t,n){var r=t.prototype,o=function(e){return e&&(e.indexOf?e:e.s)},i=function(e,t,n,r,i){var a=e.name?e:e.$locale(),s=o(a[t]),u=o(a[n]),c=s||u.map((function(e){return e.slice(0,r)}));if(!i)return c;var l=a.weekStart;return c.map((function(e,t){return c[(t+(l||0))%7]}))},a=function(){return n.Ls[n.locale()]},s=function(e,t){return e.formats[t]||function(e){return e.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(e,t,n){return t||n.slice(1)}))}(e.formats[t.toUpperCase()])},u=function(){var e=this;return{months:function(t){return t?t.format("MMMM"):i(e,"months")},monthsShort:function(t){return t?t.format("MMM"):i(e,"monthsShort","months",3)},firstDayOfWeek:function(){return e.$locale().weekStart||0},weekdays:function(t){return t?t.format("dddd"):i(e,"weekdays")},weekdaysMin:function(t){return t?t.format("dd"):i(e,"weekdaysMin","weekdays",2)},weekdaysShort:function(t){return t?t.format("ddd"):i(e,"weekdaysShort","weekdays",3)},longDateFormat:function(t){return s(e.$locale(),t)},meridiem:this.$locale().meridiem,ordinal:this.$locale().ordinal}};r.localeData=function(){return u.bind(this)()},n.localeData=function(){var e=a();return{firstDayOfWeek:function(){return e.weekStart||0},weekdays:function(){return n.weekdays()},weekdaysShort:function(){return n.weekdaysShort()},weekdaysMin:function(){return n.weekdaysMin()},months:function(){return n.months()},monthsShort:function(){return n.monthsShort()},longDateFormat:function(t){return s(e,t)},meridiem:e.meridiem,ordinal:e.ordinal}},n.months=function(){return i(a(),"months")},n.monthsShort=function(){return i(a(),"monthsShort","months",3)},n.weekdays=function(e){return i(a(),"weekdays",null,null,e)},n.weekdaysShort=function(e){return i(a(),"weekdaysShort","weekdays",3,e)},n.weekdaysMin=function(e){return i(a(),"weekdaysMin","weekdays",2,e)}}}()},178:function(e){e.exports=function(){"use strict";var e="minute",t=/[+-]\d\d(?::?\d\d)?/g,n=/([+-]|\d\d)/g;return function(r,o,i){var a=o.prototype;i.utc=function(e){return new o({date:e,utc:!0,args:arguments})},a.utc=function(t){var n=i(this.toDate(),{locale:this.$L,utc:!0});return t?n.add(this.utcOffset(),e):n},a.local=function(){return i(this.toDate(),{locale:this.$L,utc:!1})};var s=a.parse;a.parse=function(e){e.utc&&(this.$u=!0),this.$utils().u(e.$offset)||(this.$offset=e.$offset),s.call(this,e)};var u=a.init;a.init=function(){if(this.$u){var e=this.$d;this.$y=e.getUTCFullYear(),this.$M=e.getUTCMonth(),this.$D=e.getUTCDate(),this.$W=e.getUTCDay(),this.$H=e.getUTCHours(),this.$m=e.getUTCMinutes(),this.$s=e.getUTCSeconds(),this.$ms=e.getUTCMilliseconds()}else u.call(this)};var c=a.utcOffset;a.utcOffset=function(r,o){var i=this.$utils().u;if(i(r))return this.$u?0:i(this.$offset)?c.call(this):this.$offset;if("string"==typeof r&&(r=function(e){void 0===e&&(e="");var r=e.match(t);if(!r)return null;var o=(""+r[0]).match(n)||["-",0,0],i=o[0],a=60*+o[1]+ +o[2];return 0===a?0:"+"===i?a:-a}(r),null===r))return this;var a=Math.abs(r)<=16?60*r:r,s=this;if(o)return s.$offset=a,s.$u=0===r,s;if(0!==r){var u=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(s=this.local().add(a+u,e)).$offset=a,s.$x.$localOffset=u}else s=this.utc();return s};var l=a.format;a.format=function(e){var t=e||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return l.call(this,t)},a.valueOf=function(){var e=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||(new Date).getTimezoneOffset());return this.$d.valueOf()-6e4*e},a.isUTC=function(){return!!this.$u},a.toISOString=function(){return this.toDate().toISOString()},a.toString=function(){return this.toDate().toUTCString()};var f=a.toDate;a.toDate=function(e){return"s"===e&&this.$offset?i(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():f.call(this)};var p=a.diff;a.diff=function(e,t,n){if(e&&this.$u===e.$u)return p.call(this,e,t,n);var r=this.local(),o=i(e).local();return p.call(r,o,t,n)}}}()},6833:function(e){e.exports=function(){"use strict";return function(e,t){t.prototype.weekday=function(e){var t=this.$locale().weekStart||0,n=this.$W,r=(n<t?n+7:n)-t;return this.$utils().u(e)?r:this.subtract(r,"day").add(e,"day")}}}()},2703:(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:(e,t,n)=>{e.exports=n(2703)()},414:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},8156:t=>{"use strict";t.exports=e},7111:e=>{"use strict";e.exports=t},6128:e=>{"use strict";e.exports=n}},o={};function i(e){var t=o[e];if(void 0!==t)return t.exports;var n=o[e]={exports:{}};return r[e].call(n.exports,n,n.exports,i),n.exports}i.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return i.d(t,{a:t}),t},i.d=(e,t)=>{for(var n in t)i.o(t,n)&&!i.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),i.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var a={};return(()=>{"use strict";i.r(a),i.d(a,{AppSwitcher:()=>md,Container:()=>Df,Header:()=>Af,MenuBar:()=>Ud,Scrollable:()=>zf,Sidebar:()=>Wl,SubHeader:()=>Mf});var e=i(8156),t=i.n(e),n=function(e,t){return n=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])},n(e,t)};function r(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}var o=function(){return o=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},o.apply(this,arguments)};function s(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}function u(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(e){o={error:e}}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,Object.create;var l=function(e){return{isEnabled:function(t){return e.some((function(e){return!!t[e]}))}}},f={measureLayout:l(["layout","layoutId","drag","_layoutResetTransform"]),animation:l(["animate","exit","variants","whileHover","whileTap","whileFocus","whileDrag"]),exit:l(["exit"]),drag:l(["drag","dragControls"]),focus:l(["whileFocus"]),hover:l(["whileHover","onHoverStart","onHoverEnd"]),tap:l(["whileTap","onTap","onTapStart","onTapCancel"]),pan:l(["onPan","onPanStart","onPanSessionStart","onPanEnd"]),layoutAnimation:l(["layout","layoutId"])},p=(0,e.createContext)({strict:!1}),d=Object.keys(f),m=d.length,v=(0,e.createContext)({transformPagePoint:function(e){return e},isStatic:!1}),h=(0,e.createContext)({}),y=(0,e.createContext)(null);function g(t){var n=(0,e.useRef)(null);return null===n.current&&(n.current=t()),n.current}function b(){var t=(0,e.useContext)(y);if(null===t)return[!0,null];var n=t.isPresent,r=t.onExitComplete,o=t.register,i=w();return(0,e.useEffect)((function(){return o(i)}),[]),!n&&r?[!1,function(){return null==r?void 0:r(i)}]:[!0]}var x=0,k=function(){return x++},w=function(){return g(k)},C=(0,e.createContext)(null),O="undefined"!=typeof window,E=O?e.useLayoutEffect:e.useEffect;function S(e){return"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}function j(e){return Array.isArray(e)}function P(e){return"string"==typeof e||j(e)}function T(e,t,n,r,o){var i;return void 0===r&&(r={}),void 0===o&&(o={}),"string"==typeof t&&(t=null===(i=e.variants)||void 0===i?void 0:i[t]),"function"==typeof t?t(null!=n?n:e.custom,r,o):t}function A(e,t,n){var r=e.getProps();return T(r,t,null!=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 L(e){var t;return"function"==typeof(null===(t=e.animate)||void 0===t?void 0:t.start)||P(e.initial)||P(e.animate)||P(e.whileHover)||P(e.whileDrag)||P(e.whileTap)||P(e.whileFocus)||P(e.exit)}function M(e){return Boolean(L(e)||e.variants)}function _(e){return Array.isArray(e)?e.join(" "):e}function D(t){var n=t.preloadedFeatures,r=t.createVisualElement,i=t.useRender,a=t.useVisualState,s=t.Component;return n&&function(e){for(var t in e){var n=e[t];null!==n&&(f[t].Component=n)}}(n),(0,e.forwardRef)((function(t,n){var u=(0,e.useContext)(v).isStatic,c=null,l=function(t,n){var r=function(e,t){if(L(e)){var n=e.initial,r=e.animate;return{initial:!1===n||P(n)?n:void 0,animate:P(r)?r:void 0}}return!1!==e.inherit?t:{}}(t,(0,e.useContext)(h)),o=r.initial,i=r.animate;return(0,e.useMemo)((function(){return{initial:o,animate:i}}),n?[_(o),_(i)]:[])}(t,u),g=a(t,u);return!u&&O&&(l.visualElement=function(t,n,r,i){var a=(0,e.useContext)(v),s=(0,e.useContext)(p),u=(0,e.useContext)(h).visualElement,c=(0,e.useContext)(y),l=function(t){var n=t.layoutId,r=(0,e.useContext)(C);return r&&void 0!==n?r+"-"+n:n}(r),f=(0,e.useRef)(void 0);i||(i=s.renderer),!f.current&&i&&(f.current=i(t,{visualState:n,parent:u,props:o(o({},r),{layoutId:l}),presenceId:null==c?void 0:c.id,blockInitialAnimation:!1===(null==c?void 0:c.initial)}));var d=f.current;return E((function(){var e;d&&(d.setProps(o(o(o({},a),r),{layoutId:l})),d.isPresent=null===(e=c)||e.isPresent,d.isPresenceRoot=!u||u.presenceId!==(null==c?void 0:c.id),d.syncRender())})),(0,e.useEffect)((function(){var e;d&&(null===(e=d.animationState)||void 0===e||e.animateChanges())})),E((function(){return function(){return null==d?void 0:d.notifyUnmount()}}),[]),d}(s,g,t,r),c=function(t,n,r){var i=[];if((0,e.useContext)(p),!n)return null;for(var a=0;a<m;a++){var s=d[a],u=f[s],c=u.isEnabled,l=u.Component;c(t)&&l&&i.push(e.createElement(l,o({key:s},t,{visualElement:n})))}return i}(t,l.visualElement)),e.createElement(e.Fragment,null,e.createElement(h.Provider,{value:l},i(s,t,function(t,n,r){return(0,e.useCallback)((function(e){var o;e&&(null===(o=t.mount)||void 0===o||o.call(t,e)),n&&(e?n.mount(e):n.unmount()),r&&("function"==typeof r?r(e):S(r)&&(r.current=e))}),[n])}(g,l.visualElement,n),g,u)),c)}))}function V(e){function t(t,n){return void 0===n&&(n={}),D(e(t,n))}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 W=["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 N(e){return"string"==typeof e&&!e.includes("-")&&!!(W.indexOf(e)>-1||/[A-Z]/.test(e))}var R={},z=["","X","Y","Z"],$=["transformPerspective","x","y","z"];function H(e,t){return $.indexOf(e)-$.indexOf(t)}["translate","scale","rotate","skew"].forEach((function(e){return z.forEach((function(t){return $.push(e+t)}))}));var I=new Set($);function B(e){return I.has(e)}var F=new Set(["originX","originY","originZ"]);function U(e){return F.has(e)}function q(e,t){var n=t.layout,r=t.layoutId;return B(e)||U(e)||(n||void 0!==r)&&(!!R[e]||"opacity"===e)}var Y=function(e){return null!==e&&"object"==typeof e&&e.getVelocity},Z={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"};function X(e){return e.startsWith("--")}var K=function(e,t){return t&&"number"==typeof e?t.transform(e):e},G=function(e,t){return function(n){return Math.max(Math.min(n,t),e)}},J=function(e){return e%1?Number(e.toFixed(5)):e},Q=/(-)?([\d]*\.?[\d])+/g,ee=/(#[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,te=/^(#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2,3}\s*\/*\s*[\d\.]+%?\))$/i;function ne(e){return"string"==typeof e}var re=function(e){return{test:function(t){return ne(t)&&t.endsWith(e)&&1===t.split(" ").length},parse:parseFloat,transform:function(t){return""+t+e}}},oe=re("deg"),ie=re("%"),ae=re("px"),se=re("vh"),ue=re("vw"),ce=o(o({},ie),{parse:function(e){return ie.parse(e)/100},transform:function(e){return ie.transform(100*e)}}),le={test:function(e){return"number"==typeof e},parse:parseFloat,transform:function(e){return e}},fe=o(o({},le),{transform:G(0,1)}),pe=o(o({},le),{default:1}),de=o(o({},le),{transform:Math.round}),me={borderWidth:ae,borderTopWidth:ae,borderRightWidth:ae,borderBottomWidth:ae,borderLeftWidth:ae,borderRadius:ae,radius:ae,borderTopLeftRadius:ae,borderTopRightRadius:ae,borderBottomRightRadius:ae,borderBottomLeftRadius:ae,width:ae,maxWidth:ae,height:ae,maxHeight:ae,size:ae,top:ae,right:ae,bottom:ae,left:ae,padding:ae,paddingTop:ae,paddingRight:ae,paddingBottom:ae,paddingLeft:ae,margin:ae,marginTop:ae,marginRight:ae,marginBottom:ae,marginLeft:ae,rotate:oe,rotateX:oe,rotateY:oe,rotateZ:oe,scale:pe,scaleX:pe,scaleY:pe,scaleZ:pe,skew:oe,skewX:oe,skewY:oe,distance:ae,translateX:ae,translateY:ae,translateZ:ae,x:ae,y:ae,z:ae,perspective:ae,transformPerspective:ae,opacity:fe,originX:ce,originY:ce,originZ:ae,zIndex:de,fillOpacity:fe,strokeOpacity:fe,numOctaves:de};function ve(e,t,n,r,o,i,a,s){var u,c=e.style,l=e.vars,f=e.transform,p=e.transformKeys,d=e.transformOrigin;p.length=0;var m=!1,v=!1,h=!0;for(var y in t){var g=t[y];if(X(y))l[y]=g;else{var b=me[y],x=K(g,b);if(B(y)){if(m=!0,f[y]=x,p.push(y),!h)continue;g!==(null!==(u=b.default)&&void 0!==u?u:0)&&(h=!1)}else if(U(y))d[y]=x,v=!0;else if((null==n?void 0:n.isHydrated)&&(null==r?void 0:r.isHydrated)&&R[y]){var k=R[y].process(g,r,n),w=R[y].applyTo;if(w)for(var C=w.length,O=0;O<C;O++)c[w[O]]=k;else c[y]=k}else c[y]=x}}r&&n&&a&&s?(c.transform=a(r.deltaFinal,r.treeScale,m?f:void 0),i&&(c.transform=i(f,c.transform)),c.transformOrigin=s(r)):(m&&(c.transform=function(e,t,n,r){var o=e.transform,i=e.transformKeys,a=t.enableHardwareAcceleration,s=void 0===a||a,u=t.allowTransformNone,c=void 0===u||u,l="";i.sort(H);for(var f=!1,p=i.length,d=0;d<p;d++){var m=i[d];l+=(Z[m]||m)+"("+o[m]+") ","z"===m&&(f=!0)}return!f&&s?l+="translateZ(0)":l=l.trim(),r?l=r(o,n?"":l):c&&n&&(l="none"),l}(e,o,h,i)),v&&(c.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;return n+" "+o+" "+(void 0===i?0:i)}(d)))}function he(e,t,n){for(var r in t)Y(t[r])||q(r,n)||(e[r]=t[r])}function ye(t,n,r){var i={},a=function(t,n,r){var i={};return he(i,t.style||{},t),Object.assign(i,function(t,n,r){var i=t.transformTemplate;return(0,e.useMemo)((function(){var e={style:{},transform:{},transformKeys:[],transformOrigin:{},vars:{}};ve(e,n,void 0,void 0,{enableHardwareAcceleration:!r},i);var t=e.style;return o(o({},e.vars),t)}),[n])}(t,n,r)),t.transformValues&&(i=t.transformValues(i)),i}(t,n,r);return Boolean(t.drag)&&(i.draggable=!1,a.userSelect=a.WebkitUserSelect=a.WebkitTouchCallout="none",a.touchAction=!0===t.drag?"none":"pan-"+("x"===t.drag?"y":"x")),i.style=a,i}var ge=new Set(["initial","animate","exit","style","variants","transition","transformTemplate","transformValues","custom","inherit","layout","layoutId","_layoutResetTransform","onLayoutAnimationComplete","onViewportBoxUpdate","onLayoutMeasure","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","drag","dragControls","dragListener","dragConstraints","dragDirectionLock","_dragX","_dragY","dragElastic","dragMomentum","dragPropagation","dragTransition","whileDrag","onPan","onPanStart","onPanEnd","onPanSessionStart","onTap","onTapStart","onTapCancel","onHoverStart","onHoverEnd","whileFocus","whileTap","whileHover"]);function be(e){return ge.has(e)}var xe=function(e){return!be(e)};try{var ke=i(8594).Z;xe=function(e){return e.startsWith("on")?!be(e):ke(e)}}catch(e){}function we(e,t,n){return"string"==typeof e?e:ae.transform(t+n*e)}var Ce=function(e,t){return ae.transform(e*t)},Oe={offset:"stroke-dashoffset",array:"stroke-dasharray"},Ee={offset:"strokeDashoffset",array:"strokeDasharray"};function Se(e,t,n,r,o,i,a,u){var c=t.attrX,l=t.attrY,f=t.originX,p=t.originY,d=t.pathLength,m=t.pathSpacing,v=void 0===m?1:m,h=t.pathOffset,y=void 0===h?0:h;ve(e,s(t,["attrX","attrY","originX","originY","pathLength","pathSpacing","pathOffset"]),n,r,o,i,a,u),e.attrs=e.style,e.style={};var g=e.attrs,b=e.style,x=e.dimensions,k=e.totalPathLength;g.transform&&(x&&(b.transform=g.transform),delete g.transform),x&&(void 0!==f||void 0!==p||b.transform)&&(b.transformOrigin=function(e,t,n){return we(t,e.x,e.width)+" "+we(n,e.y,e.height)}(x,void 0!==f?f:.5,void 0!==p?p:.5)),void 0!==c&&(g.x=c),void 0!==l&&(g.y=l),void 0!==k&&void 0!==d&&function(e,t,n,r,o,i){void 0===r&&(r=1),void 0===o&&(o=0),void 0===i&&(i=!0);var a=i?Oe:Ee;e[a.offset]=Ce(-o,t);var s=Ce(n,t),u=Ce(r,t);e[a.array]=s+" "+u}(g,k,d,v,y,!1)}var je=function(){return o(o({},{style:{},transform:{},transformKeys:[],transformOrigin:{},vars:{}}),{attrs:{}})};function Pe(t,n){var r=(0,e.useMemo)((function(){var e=je();return Se(e,n,void 0,void 0,{enableHardwareAcceleration:!1},t.transformTemplate),o(o({},e.attrs),{style:o({},e.style)})}),[n]);if(t.style){var i={};he(i,t.style,t),r.style=o(o({},i),r.style)}return r}function Te(t){return void 0===t&&(t=!1),function(n,r,i,a,s){var u=a.latestValues,c=(N(n)?Pe:ye)(r,u,s),l=function(e,t,n){var r={};for(var o in e)(xe(o)||!0===n&&be(o)||!t&&!be(o))&&(r[o]=e[o]);return r}(r,"string"==typeof n,t),f=o(o(o({},l),c),{ref:i});return(0,e.createElement)(n,f)}}var Ae=/([a-z])([A-Z])/g,Le=function(e){return e.replace(Ae,"$1-$2").toLowerCase()};function Me(e,t){var n=t.style,r=t.vars;for(var o in Object.assign(e.style,n),r)e.style.setProperty(o,r[o])}var _e=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform"]);function De(e,t){for(var n in Me(e,t),t.attrs)e.setAttribute(_e.has(n)?n:Le(n),t.attrs[n])}function Ve(e){var t=e.style,n={};for(var r in t)(Y(t[r])||q(r,e))&&(n[r]=t[r]);return n}function We(e){var t=Ve(e);for(var n in e)Y(e[n])&&(t["x"===n||"y"===n?"attr"+n.toUpperCase():n]=e[n]);return t}function Ne(e){return"object"==typeof e&&"function"==typeof e.start}var Re=function(e){return Array.isArray(e)},ze=function(e){return Re(e)?e[e.length-1]||0:e};function $e(e,t,n,r){var o=e.scrapeMotionValuesFromProps,i=e.createRenderState,a=e.onMount,s={latestValues:Ie(t,n,r,o),renderState:i()};return a&&(s.mount=function(e){return a(t,e,s)}),s}var He=function(t){return function(n,r){var o=(0,e.useContext)(h),i=(0,e.useContext)(y);return r?$e(t,n,o,i):g((function(){return $e(t,n,o,i)}))}};function Ie(e,t,n,r){var o,i,a={},u=!1===(null==n?void 0:n.initial),c=r(e);for(var l in c)a[l]=(o=c[l],i=void 0,function(e){return Boolean(e&&"object"==typeof e&&e.mix&&e.toValue)}(i=Y(o)?o.get():o)?i.toValue():i);var f=e.initial,p=e.animate,d=L(e),m=M(e);t&&m&&!d&&!1!==e.inherit&&(null!=f||(f=t.initial),null!=p||(p=t.animate));var v=u||!1===f?p:f;return v&&"boolean"!=typeof v&&!Ne(v)&&(Array.isArray(v)?v:[v]).forEach((function(t){var n=T(e,t);if(n){var r=n.transitionEnd;n.transition;var o=s(n,["transitionEnd","transition"]);for(var i in o)a[i]=o[i];for(var i in r)a[i]=r[i]}})),a}var Be,Fe={useVisualState:He({scrapeMotionValuesFromProps:We,createRenderState:je,onMount:function(e,t,n){var r=n.renderState,o=n.latestValues;try{r.dimensions="function"==typeof t.getBBox?t.getBBox():t.getBoundingClientRect()}catch(e){r.dimensions={x:0,y:0,width:0,height:0}}"path"===t.tagName&&(r.totalPathLength=t.getTotalLength()),Se(r,o,void 0,void 0,{enableHardwareAcceleration:!1},e.transformTemplate),De(t,r)}})},Ue={useVisualState:He({scrapeMotionValuesFromProps:Ve,createRenderState:function(){return{style:{},transform:{},transformKeys:[],transformOrigin:{},vars:{}}}})};function qe(e,t,n,r){return e.addEventListener(t,n,r),function(){return e.removeEventListener(t,n,r)}}function Ye(t,n,r,o){(0,e.useEffect)((function(){var e=t.current;if(r&&e)return qe(e,n,r,o)}),[t,n,r,o])}function Ze(e){return"undefined"!=typeof PointerEvent&&e instanceof PointerEvent?!("mouse"!==e.pointerType):e instanceof MouseEvent}function Xe(e){return!!e.touches}!function(e){e.Animate="animate",e.Hover="whileHover",e.Tap="whileTap",e.Drag="whileDrag",e.Focus="whileFocus",e.Exit="exit"}(Be||(Be={}));var Ke={pageX:0,pageY:0};function Ge(e,t){void 0===t&&(t="page");var n=e.touches[0]||e.changedTouches[0]||Ke;return{x:n[t+"X"],y:n[t+"Y"]}}function Je(e,t){return void 0===t&&(t="page"),{x:e[t+"X"],y:e[t+"Y"]}}function Qe(e,t){return void 0===t&&(t="page"),{point:Xe(e)?Ge(e,t):Je(e,t)}}var et=function(e,t){void 0===t&&(t=!1);var n=function(t){return e(t,Qe(t))};return t?function(e){return function(t){var n=t instanceof MouseEvent;(!n||n&&0===t.button)&&e(t)}}(n):n},tt={pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointercancel:"mousecancel",pointerover:"mouseover",pointerout:"mouseout",pointerenter:"mouseenter",pointerleave:"mouseleave"},nt={pointerdown:"touchstart",pointermove:"touchmove",pointerup:"touchend",pointercancel:"touchcancel"};function rt(e){return O&&null===window.onpointerdown?e:O&&null===window.ontouchstart?nt[e]:O&&null===window.onmousedown?tt[e]:e}function ot(e,t,n,r){return qe(e,rt(t),et(n,"pointerdown"===t),r)}function it(e,t,n,r){return Ye(e,rt(t),n&&et(n,"pointerdown"===t),r)}function at(e){var t=null;return function(){return null===t&&(t=e,function(){t=null})}}var st=at("dragHorizontal"),ut=at("dragVertical");function ct(e){var t=!1;if("y"===e)t=ut();else if("x"===e)t=st();else{var n=st(),r=ut();n&&r?t=function(){n(),r()}:(n&&n(),r&&r())}return t}function lt(){var e=ct(!0);return!e||(e(),!1)}function ft(e,t,n){return function(r,o){var i;Ze(r)&&!lt()&&(null==n||n(r,o),null===(i=e.animationState)||void 0===i||i.setActive(Be.Hover,t))}}var pt=function(e,t){return!!t&&(e===t||pt(e,t.parentElement))};function dt(t){return(0,e.useEffect)((function(){return function(){return t()}}),[])}var mt=function(e,t){return function(n){return t(e(n))}},vt=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return e.reduce(mt)},ht=function(e){return function(t){return e(t),null}},yt={tap:ht((function(t){var n=t.onTap,r=t.onTapStart,o=t.onTapCancel,i=t.whileTap,a=t.visualElement,s=n||r||o||i,u=(0,e.useRef)(!1),c=(0,e.useRef)(null);function l(){var e;null===(e=c.current)||void 0===e||e.call(c),c.current=null}function f(){var e;return l(),u.current=!1,null===(e=a.animationState)||void 0===e||e.setActive(Be.Tap,!1),!lt()}function p(e,t){f()&&(pt(a.getInstance(),e.target)?null==n||n(e,t):null==o||o(e,t))}function d(e,t){f()&&(null==o||o(e,t))}it(a,"pointerdown",s?function(e,t){var n;l(),u.current||(u.current=!0,c.current=vt(ot(window,"pointerup",p),ot(window,"pointercancel",d)),null==r||r(e,t),null===(n=a.animationState)||void 0===n||n.setActive(Be.Tap,!0))}:void 0),dt(l)})),focus:ht((function(e){var t=e.whileFocus,n=e.visualElement;Ye(n,"focus",t?function(){var e;null===(e=n.animationState)||void 0===e||e.setActive(Be.Focus,!0)}:void 0),Ye(n,"blur",t?function(){var e;null===(e=n.animationState)||void 0===e||e.setActive(Be.Focus,!1)}:void 0)})),hover:ht((function(e){var t=e.onHoverStart,n=e.onHoverEnd,r=e.whileHover,o=e.visualElement;it(o,"pointerenter",t||r?ft(o,!0,t):void 0),it(o,"pointerleave",n||r?ft(o,!1,n):void 0)}))};function gt(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 bt=function(e,t,n){return Math.min(Math.max(n,e),t)};function xt(e,t){return e*Math.sqrt(1-t*t)}var kt=["duration","bounce"],wt=["stiffness","damping","mass"];function Ct(e,t){return t.some((function(t){return void 0!==e[t]}))}function Ot(e){var t=e.from,n=void 0===t?0:t,r=e.to,i=void 0===r?1:r,a=e.restSpeed,u=void 0===a?2:a,c=e.restDelta,l=s(e,["from","to","restSpeed","restDelta"]),f={done:!1,value:n},p=function(e){var t=o({velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1},e);if(!Ct(e,wt)&&Ct(e,kt)){var n=function(e){var t,n,r=e.duration,o=void 0===r?800:r,i=e.bounce,a=void 0===i?.25:i,s=e.velocity,u=void 0===s?0:s,c=e.mass,l=void 0===c?1:c,f=1-a;f=bt(.05,1,f),o=bt(.01,10,o/1e3),f<1?(t=function(e){var t=e*f,n=t*o;return.001-(t-u)/xt(e,f)*Math.exp(-n)},n=function(e){var n=e*f*o,r=n*u+u,i=Math.pow(f,2)*Math.pow(e,2)*o,a=Math.exp(-n),s=xt(Math.pow(e,2),f);return(.001-t(e)>0?-1:1)*((r-i)*a)/s}):(t=function(e){return Math.exp(-e*o)*((e-u)*o+1)-.001},n=function(e){return Math.exp(-e*o)*(o*o*(u-e))});var p=function(e,t,n){for(var r=n,o=1;o<12;o++)r-=e(r)/t(r);return r}(t,n,5/o);if(o*=1e3,isNaN(p))return{stiffness:100,damping:10,duration:o};var d=Math.pow(p,2)*l;return{stiffness:d,damping:2*f*Math.sqrt(l*d),duration:o}}(e);(t=o(o(o({},t),n),{velocity:0,mass:1})).isResolvedFromDuration=!0}return t}(l),d=p.stiffness,m=p.damping,v=p.mass,h=p.velocity,y=p.duration,g=p.isResolvedFromDuration,b=Et,x=Et;function k(){var e=h?-h/1e3:0,t=i-n,r=m/(2*Math.sqrt(d*v)),o=Math.sqrt(d/v)/1e3;if(null!=c||(c=Math.abs(i-n)<=1?.01:.4),r<1){var a=xt(o,r);b=function(n){var s=Math.exp(-r*o*n);return i-s*((e+r*o*t)/a*Math.sin(a*n)+t*Math.cos(a*n))},x=function(n){var i=Math.exp(-r*o*n);return r*o*i*(Math.sin(a*n)*(e+r*o*t)/a+t*Math.cos(a*n))-i*(Math.cos(a*n)*(e+r*o*t)-a*t*Math.sin(a*n))}}else if(1===r)b=function(n){return i-Math.exp(-o*n)*(t+(e+o*t)*n)};else{var s=o*Math.sqrt(r*r-1);b=function(n){var a=Math.exp(-r*o*n),u=Math.min(s*n,300);return i-a*((e+r*o*t)*Math.sinh(u)+s*t*Math.cosh(u))/s}}}return k(),{next:function(e){var t=b(e);if(g)f.done=e>=y;else{var n=1e3*x(e),r=Math.abs(n)<=u,o=Math.abs(i-t)<=c;f.done=r&&o}return f.value=f.done?i:t,f},flipTarget:function(){var e;h=-h,n=(e=[i,n])[0],i=e[1],k()}}}Ot.needsInterpolation=function(e,t){return"string"==typeof e||"string"==typeof t};var Et=function(e){return 0},St=function(e,t,n){var r=t-e;return 0===r?1:(n-e)/r},jt=function(e,t,n){return-n*e+n*t+e},Pt=function(e,t){return function(n){return Boolean(ne(n)&&te.test(n)&&n.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(n,t))}},Tt=function(e,t,n){return function(r){var o;if(!ne(r))return r;var i=r.match(Q),a=i[0],s=i[1],u=i[2],c=i[3];return(o={})[e]=parseFloat(a),o[t]=parseFloat(s),o[n]=parseFloat(u),o.alpha=void 0!==c?parseFloat(c):1,o}},At=G(0,255),Lt=o(o({},le),{transform:function(e){return Math.round(At(e))}}),Mt={test:Pt("rgb","red"),parse:Tt("red","green","blue"),transform:function(e){var t=e.red,n=e.green,r=e.blue,o=e.alpha,i=void 0===o?1:o;return"rgba("+Lt.transform(t)+", "+Lt.transform(n)+", "+Lt.transform(r)+", "+J(fe.transform(i))+")"}},_t={test:Pt("#"),parse:function(e){var 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:Mt.transform},Dt={test:Pt("hsl","hue"),parse:Tt("hue","saturation","lightness"),transform:function(e){var t=e.hue,n=e.saturation,r=e.lightness,o=e.alpha,i=void 0===o?1:o;return"hsla("+Math.round(t)+", "+ie.transform(J(n))+", "+ie.transform(J(r))+", "+J(fe.transform(i))+")"}},Vt=function(e,t,n){var r=e*e,o=t*t;return Math.sqrt(Math.max(0,n*(o-r)+r))},Wt=[_t,Mt,Dt],Nt=function(e){return Wt.find((function(t){return t.test(e)}))},Rt=function(e){return"'"+e+"' is not an animatable color. Use the equivalent color code instead."},zt=function(e,t){var n=Nt(e),r=Nt(t);Rt(e),Rt(t),n.transform,r.transform;var i=n.parse(e),a=r.parse(t),s=o({},i),u=n===Dt?jt:Vt;return function(e){for(var t in s)"alpha"!==t&&(s[t]=u(i[t],a[t],e));return s.alpha=jt(i.alpha,a.alpha,e),n.transform(s)}},$t={test:function(e){return Mt.test(e)||_t.test(e)||Dt.test(e)},parse:function(e){return Mt.test(e)?Mt.parse(e):Dt.test(e)?Dt.parse(e):_t.parse(e)},transform:function(e){return ne(e)?e:e.hasOwnProperty("red")?Mt.transform(e):Dt.transform(e)}},Ht="${c}",It="${n}";function Bt(e){var t=[],n=0,r=e.match(ee);r&&(n=r.length,e=e.replace(ee,Ht),t.push.apply(t,r.map($t.parse)));var o=e.match(Q);return o&&(e=e.replace(Q,It),t.push.apply(t,o.map(le.parse))),{values:t,numColors:n,tokenised:e}}function Ft(e){return Bt(e).values}function Ut(e){var t=Bt(e),n=t.values,r=t.numColors,o=t.tokenised,i=n.length;return function(e){for(var t=o,n=0;n<i;n++)t=t.replace(n<r?Ht:It,n<r?$t.transform(e[n]):J(e[n]));return t}}var qt=function(e){return"number"==typeof e?0:e},Yt={test:function(e){var t,n,r,o;return isNaN(e)&&ne(e)&&(null!==(n=null===(t=e.match(Q))||void 0===t?void 0:t.length)&&void 0!==n?n:0)+(null!==(o=null===(r=e.match(ee))||void 0===r?void 0:r.length)&&void 0!==o?o:0)>0},parse:Ft,createTransformer:Ut,getAnimatableNone:function(e){var t=Ft(e);return Ut(e)(t.map(qt))}},Zt=function(e){return"number"==typeof e};function Xt(e,t){return Zt(e)?function(n){return jt(e,t,n)}:$t.test(e)?zt(e,t):Qt(e,t)}var Kt=function(e,t){var n=c([],e),r=n.length,o=e.map((function(e,n){return Xt(e,t[n])}));return function(e){for(var t=0;t<r;t++)n[t]=o[t](e);return n}},Gt=function(e,t){var n=o(o({},e),t),r={};for(var i in n)void 0!==e[i]&&void 0!==t[i]&&(r[i]=Xt(e[i],t[i]));return function(e){for(var t in r)n[t]=r[t](e);return n}};function Jt(e){for(var t=Yt.parse(e),n=t.length,r=0,o=0,i=0,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}}var Qt=function(e,t){var n=Yt.createTransformer(t),r=Jt(e),o=Jt(t);return r.numHSL===o.numHSL&&r.numRGB===o.numRGB&&(r.numNumbers,o.numNumbers),vt(Kt(r.parsed,o.parsed),n)},en=function(e,t){return function(n){return jt(e,t,n)}};function tn(e,t,n){var r=void 0===n?{}:n,o=r.clamp,i=void 0===o||o,a=r.ease,s=r.mixer,u=e.length;t.length,!a||!Array.isArray(a)||a.length,e[0]>e[u-1]&&(e=[].concat(e),t=[].concat(t),e.reverse(),t.reverse());var c=function(e,t,n){for(var r=[],o=n||function(e){return"number"==typeof e?en:"string"==typeof e?$t.test(e)?zt:Qt:Array.isArray(e)?Kt:"object"==typeof e?Gt:void 0}(e[0]),i=e.length-1,a=0;a<i;a++){var s=o(e[a],e[a+1]);if(t){var u=Array.isArray(t)?t[a]:t;s=vt(u,s)}r.push(s)}return r}(t,a,s),l=2===u?function(e,t){var n=e[0],r=e[1],o=t[0];return function(e){return o(St(n,r,e))}}(e,c):function(e,t){var n=e.length,r=n-1;return function(o){var i=0,a=!1;if(o<=e[0]?a=!0:o>=e[r]&&(i=r-1,a=!0),!a){for(var s=1;s<n&&!(e[s]>o||s===r);s++);i=s-1}var u=St(e[i],e[i+1],o);return t[i](u)}}(e,c);return i?function(t){return l(bt(e[0],e[u-1],t))}:l}var nn,rn=function(e){return function(t){return 1-e(1-t)}},on=function(e){return function(t){return t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2}},an=function(e){return function(t){return t*t*((e+1)*t-e)}},sn=function(e){return e},un=(2,function(e){return Math.pow(e,2)}),cn=rn(un),ln=on(un),fn=function(e){return 1-Math.sin(Math.acos(e))},pn=rn(fn),dn=on(pn),mn=an(1.525),vn=rn(mn),hn=on(mn),yn=(nn=an(1.525),function(e){return(e*=2)<1?.5*nn(e):.5*(2-Math.pow(2,-10*(e-1)))}),gn=function(e){if(1===e||0===e)return e;var 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},bn=rn(gn);function xn(e,t){return e.map((function(){return t||ln})).splice(0,e.length-1)}function kn(e){var t=e.from,n=void 0===t?0:t,r=e.to,o=void 0===r?1:r,i=e.ease,a=e.offset,s=e.duration,u=void 0===s?300:s,c={done:!1,value:n},l=Array.isArray(o)?o:[n,o],f=function(e,t){return e.map((function(e){return e*t}))}(a&&a.length===l.length?a:function(e){var t=e.length;return e.map((function(e,n){return 0!==n?n/(t-1):0}))}(l),u);function p(){return tn(f,l,{ease:Array.isArray(i)?i:xn(l,i)})}var d=p();return{next:function(e){return c.value=d(e),c.done=e>=u,c},flipTarget:function(){l.reverse(),d=p()}}}var wn={keyframes:kn,spring:Ot,decay:function(e){var t=e.velocity,n=void 0===t?0:t,r=e.from,o=void 0===r?0:r,i=e.power,a=void 0===i?.8:i,s=e.timeConstant,u=void 0===s?350:s,c=e.restDelta,l=void 0===c?.5:c,f=e.modifyTarget,p={done:!1,value:o},d=a*n,m=o+d,v=void 0===f?m:f(m);return v!==m&&(d=v-o),{next:function(e){var t=-d*Math.exp(-e/u);return p.done=!(t>l||t<-l),p.value=p.done?v:v+t,p},flipTarget:function(){}}}},Cn=1/60*1e3,On="undefined"!=typeof performance?function(){return performance.now()}:function(){return Date.now()},En="undefined"!=typeof window?function(e){return window.requestAnimationFrame(e)}:function(e){return setTimeout((function(){return e(On())}),Cn)},Sn=!0,jn=!1,Pn=!1,Tn={delta:0,timestamp:0},An=["read","update","preRender","render","postRender"],Ln=An.reduce((function(e,t){return e[t]=function(e){var t=[],n=[],r=0,o=!1,i=new WeakSet,a={schedule:function(e,a,s){void 0===a&&(a=!1),void 0===s&&(s=!1);var u=s&&o,c=u?t:n;return a&&i.add(e),-1===c.indexOf(e)&&(c.push(e),u&&o&&(r=t.length)),e},cancel:function(e){var t=n.indexOf(e);-1!==t&&n.splice(t,1),i.delete(e)},process:function(s){var u;if(o=!0,t=(u=[n,t])[0],(n=u[1]).length=0,r=t.length)for(var c=0;c<r;c++){var l=t[c];l(s),i.has(l)&&(a.schedule(l),e())}o=!1}};return a}((function(){return jn=!0})),e}),{}),Mn=An.reduce((function(e,t){var n=Ln[t];return e[t]=function(e,t,r){return void 0===t&&(t=!1),void 0===r&&(r=!1),jn||Nn(),n.schedule(e,t,r)},e}),{}),_n=An.reduce((function(e,t){return e[t]=Ln[t].cancel,e}),{}),Dn=An.reduce((function(e,t){return e[t]=function(){return Ln[t].process(Tn)},e}),{}),Vn=function(e){return Ln[e].process(Tn)},Wn=function(e){jn=!1,Tn.delta=Sn?Cn:Math.max(Math.min(e-Tn.timestamp,40),1),Tn.timestamp=e,Pn=!0,An.forEach(Vn),Pn=!1,jn&&(Sn=!1,En(Wn))},Nn=function(){jn=!0,Sn=!0,Pn||En(Wn)},Rn=function(){return Tn};const zn=Mn;function $n(e,t,n){return void 0===n&&(n=0),e-t-n}var Hn=function(e){var t=function(t){var n=t.delta;return e(n)};return{start:function(){return zn.update(t,!0)},stop:function(){return _n.update(t)}}};function In(e){var t,n,r,i,a,u=e.from,c=e.autoplay,l=void 0===c||c,f=e.driver,p=void 0===f?Hn:f,d=e.elapsed,m=void 0===d?0:d,v=e.repeat,h=void 0===v?0:v,y=e.repeatType,g=void 0===y?"loop":y,b=e.repeatDelay,x=void 0===b?0:b,k=e.onPlay,w=e.onStop,C=e.onComplete,O=e.onRepeat,E=e.onUpdate,S=s(e,["from","autoplay","driver","elapsed","repeat","repeatType","repeatDelay","onPlay","onStop","onComplete","onRepeat","onUpdate"]),j=S.to,P=0,T=S.duration,A=!1,L=!0,M=function(e){if(Array.isArray(e.to))return kn;if(wn[e.type])return wn[e.type];var t=new Set(Object.keys(e));return t.has("ease")||t.has("duration")&&!t.has("dampingRatio")?kn:t.has("dampingRatio")||t.has("stiffness")||t.has("mass")||t.has("damping")||t.has("restSpeed")||t.has("restDelta")?Ot:kn}(S);(null===(n=(t=M).needsInterpolation)||void 0===n?void 0:n.call(t,u,j))&&(a=tn([0,100],[u,j],{clamp:!1}),u=0,j=100);var _=M(o(o({},S),{from:u,to:j}));return l&&(null==k||k(),(r=p((function(e){if(L||(e=-e),m+=e,!A){var t=_.next(Math.max(0,m));i=t.value,a&&(i=a(i)),A=L?t.done:m<=0}null==E||E(i),A&&(0===P&&(null!=T||(T=m)),P<h?function(e,t,n,r){return r?e>=t+n:e<=-n}(m,T,x,L)&&(P++,"reverse"===g?m=function(e,t,n,r){return void 0===n&&(n=0),void 0===r&&(r=!0),r?$n(t+-e,t,n):t-(e-t)+n}(m,T,x,L=P%2==0):(m=$n(m,T,x),"mirror"===g&&_.flipTarget()),A=!1,O&&O()):(r.stop(),C&&C()))}))).start()),{stop:function(){null==w||w(),r.stop()}}}function Bn(e,t){return t?e*(1e3/t):0}var Fn=function(e){return 1e3*e},Un=function(e,t){return 1-3*t+3*e},qn=function(e,t){return 3*t-6*e},Yn=function(e){return 3*e},Zn=function(e,t,n){return((Un(t,n)*e+qn(t,n))*e+Yn(t))*e},Xn=function(e,t,n){return 3*Un(t,n)*e*e+2*qn(t,n)*e+Yn(t)},Kn=.1;function Gn(e,t,n,r){if(e===t&&n===r)return sn;for(var o=new Float32Array(11),i=0;i<11;++i)o[i]=Zn(i*Kn,e,n);return function(i){return 0===i||1===i?i:Zn(function(t){for(var r=0,i=1;10!==i&&o[i]<=t;++i)r+=Kn;--i;var a=r+(t-o[i])/(o[i+1]-o[i])*Kn,s=Xn(a,e,n);return s>=.001?function(e,t,n,r){for(var o=0;o<8;++o){var i=Xn(t,n,r);if(0===i)return t;t-=(Zn(t,n,r)-e)/i}return t}(t,a,e,n):0===s?a:function(e,t,n,r,o){var i,a,s=0;do{(i=Zn(a=t+(n-t)/2,r,o)-e)>0?n=a:t=a}while(Math.abs(i)>1e-7&&++s<10);return a}(t,r,r+Kn,e,n)}(i),t,r)}}var Jn={linear:sn,easeIn:un,easeInOut:ln,easeOut:cn,circIn:fn,circInOut:dn,circOut:pn,backIn:mn,backInOut:hn,backOut:vn,anticipate:yn,bounceIn:bn,bounceInOut:function(e){return e<.5?.5*(1-gn(1-2*e)):.5*gn(2*e-1)+.5},bounceOut:gn},Qn=function(e){if(Array.isArray(e)){e.length;var t=u(e,4);return Gn(t[0],t[1],t[2],t[3])}return"string"==typeof e?Jn[e]:e},er=function(e,t){return!("zIndex"===e||"number"!=typeof t&&!Array.isArray(t)&&("string"!=typeof t||!Yt.test(t)||t.startsWith("url(")))},tr=function(){return{type:"spring",stiffness:500,damping:25,restDelta:.5,restSpeed:10}},nr=function(e){return{type:"spring",stiffness:550,damping:0===e?2*Math.sqrt(550):30,restDelta:.01,restSpeed:10}},rr=function(){return{type:"keyframes",ease:"linear",duration:.3}},or=function(e){return{type:"keyframes",duration:.8,values:e}},ir={x:tr,y:tr,z:tr,rotate:tr,rotateX:tr,rotateY:tr,rotateZ:tr,scaleX:nr,scaleY:nr,scale:nr,opacity:rr,backgroundColor:rr,color:rr,default:nr},ar=new Set(["brightness","contrast","saturate","opacity"]);function sr(e){var t=e.slice(0,-1).split("("),n=t[0],r=t[1];if("drop-shadow"===n)return e;var o=(r.match(Q)||[])[0];if(!o)return e;var i=r.replace(o,""),a=ar.has(n)?1:0;return o!==r&&(a*=100),n+"("+a+i+")"}var ur=/([a-z-]*)\(.*?\)/g,cr=o(o({},Yt),{getAnimatableNone:function(e){var t=e.match(ur);return t?t.map(sr).join(" "):e}}),lr=o(o({},me),{color:$t,backgroundColor:$t,outlineColor:$t,fill:$t,stroke:$t,borderColor:$t,borderTopColor:$t,borderRightColor:$t,borderBottomColor:$t,borderLeftColor:$t,filter:cr,WebkitFilter:cr}),fr=function(e){return lr[e]};function pr(e,t){var n,r=fr(e);return r!==cr&&(r=Yt),null===(n=r.getAnimatableNone)||void 0===n?void 0:n.call(r,t)}function dr(e,t,n){var r,i,a,l;return Array.isArray(t.to)&&(null!==(r=e.duration)&&void 0!==r||(e.duration=.8)),function(e){Array.isArray(e.to)&&null===e.to[0]&&(e.to=c([],u(e.to)),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=s(e,["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from"]);return!!Object.keys(t).length}(e)||(e=o(o({},e),(i=n,a=t.to,l=Re(a)?or:ir[i]||ir.default,o({to:a},l(a))))),o(o({},t),function(e){var t=e.ease,n=e.times,r=e.yoyo,i=e.flip,a=e.loop,u=s(e,["ease","times","yoyo","flip","loop"]),c=o({},u);return n&&(c.offset=n),u.duration&&(c.duration=Fn(u.duration)),u.repeatDelay&&(c.repeatDelay=Fn(u.repeatDelay)),t&&(c.ease=function(e){return Array.isArray(e)&&"number"!=typeof e[0]}(t)?t.map(Qn):Qn(t)),"tween"===u.type&&(c.type="keyframes"),(r||a||i)&&(r?c.repeatType="reverse":a?c.repeatType="loop":i&&(c.repeatType="mirror"),c.repeat=a||r||i||u.repeat),"spring"!==u.type&&(c.type="keyframes"),c}(e))}function mr(e){return 0===e||"string"==typeof e&&0===parseFloat(e)&&-1===e.indexOf(" ")}function vr(e){return"number"==typeof e?0:pr("",e)}function hr(e,t){return e[t]||e.default||e}function yr(e,t,n,r){return void 0===r&&(r={}),t.start((function(i){var a,s,u=function(e,t,n,r,i){var a,s=hr(r,e),u=null!==(a=s.from)&&void 0!==a?a:t.get(),c=er(e,n);return"none"===u&&c&&"string"==typeof n?u=pr(e,n):mr(u)&&"string"==typeof n?u=vr(n):!Array.isArray(n)&&mr(n)&&"string"==typeof u&&(n=vr(u)),er(e,u)&&c&&!1!==s.type?function(){var r={from:u,to:n,velocity:t.getVelocity(),onComplete:i,onUpdate:function(e){return t.set(e)}};return"inertia"===s.type||"decay"===s.type?function(e){var t,n=e.from,r=void 0===n?0:n,i=e.velocity,a=void 0===i?0:i,s=e.min,u=e.max,c=e.power,l=void 0===c?.8:c,f=e.timeConstant,p=void 0===f?750:f,d=e.bounceStiffness,m=void 0===d?500:d,v=e.bounceDamping,h=void 0===v?10:v,y=e.restDelta,g=void 0===y?1:y,b=e.modifyTarget,x=e.driver,k=e.onUpdate,w=e.onComplete;function C(e){return void 0!==s&&e<s||void 0!==u&&e>u}function O(e){return void 0===s?u:void 0===u||Math.abs(s-e)<Math.abs(u-e)?s:u}function E(e){null==t||t.stop(),t=In(o(o({},e),{driver:x,onUpdate:function(t){var n;null==k||k(t),null===(n=e.onUpdate)||void 0===n||n.call(e,t)},onComplete:w}))}function S(e){E(o({type:"spring",stiffness:m,damping:h,restDelta:g},e))}if(C(r))S({from:r,velocity:a,to:O(r)});else{var j=l*a+r;void 0!==b&&(j=b(j));var P,T,A=O(j),L=A===s?-1:1;E({type:"decay",from:r,velocity:a,timeConstant:p,power:l,restDelta:g,modifyTarget:b,onUpdate:C(j)?function(e){P=T,T=e,a=Bn(e-P,Rn().delta),(1===L&&e>A||-1===L&&e<A)&&S({from:e,to:A,velocity:a})}:void 0})}return{stop:function(){return null==t?void 0:t.stop()}}}(o(o({},r),s)):In(o(o({},dr(s,r,e)),{onUpdate:function(e){var t;r.onUpdate(e),null===(t=s.onUpdate)||void 0===t||t.call(s,e)},onComplete:function(){var e;r.onComplete(),null===(e=s.onComplete)||void 0===e||e.call(s)}}))}:function(){var e;return t.set(n),i(),null===(e=null==s?void 0:s.onComplete)||void 0===e||e.call(s),{stop:function(){}}}}(e,t,n,r,i),c=function(e,t){var n;return null!==(n=(hr(e,t)||{}).delay)&&void 0!==n?n:0}(r,e),l=function(){return s=u()};return c?a=setTimeout(l,Fn(c)):l(),function(){clearTimeout(a),null==s||s.stop()}}))}var gr=function(e){return/^\-?\d*\.?\d+$/.test(e)};function br(e,t){-1===e.indexOf(t)&&e.push(t)}function xr(e,t){var n=e.indexOf(t);n>-1&&e.splice(n,1)}var kr=function(){function e(){this.subscriptions=[]}return e.prototype.add=function(e){var t=this;return br(this.subscriptions,e),function(){return xr(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}(),wr=function(){function e(e){var t,n=this;this.timeDelta=0,this.lastUpdated=0,this.updateSubscribers=new kr,this.velocityUpdateSubscribers=new kr,this.renderSubscribers=new kr,this.canTrackVelocity=!1,this.updateAndNotify=function(e,t){void 0===t&&(t=!0),n.prev=n.current,n.current=e;var r=Rn(),o=r.delta,i=r.timestamp;n.lastUpdated!==i&&(n.timeDelta=o,n.lastUpdated=i,zn.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 zn.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?Bn(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 Cr(e){return new wr(e)}var Or=function(e){return function(t){return t.test(e)}},Er=[le,ae,ie,oe,ue,se,{test:function(e){return"auto"===e},parse:function(e){return e}}],Sr=function(e){return Er.find(Or(e))},jr=c(c([],u(Er)),[$t,Yt]),Pr=function(e){return jr.find(Or(e))};function Tr(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,Cr(n))}function Ar(e,t){if(t)return(t[e]||t.default||t).from}function Lr(e,t,n){var r;void 0===n&&(n={});var i=A(e,t,n.custom),a=(i||{}).transition,s=void 0===a?e.getDefaultTransition()||{}:a;n.transitionOverride&&(s=n.transitionOverride);var c=i?function(){return Mr(e,i,n)}:function(){return Promise.resolve()},l=(null===(r=e.variantChildren)||void 0===r?void 0:r.size)?function(r){void 0===r&&(r=0);var i=s.delayChildren,a=void 0===i?0:i,u=s.staggerChildren,c=s.staggerDirection;return function(e,t,n,r,i,a){void 0===n&&(n=0),void 0===r&&(r=0),void 0===i&&(i=1);var s=[],u=(e.variantChildren.size-1)*r,c=1===i?function(e){return void 0===e&&(e=0),e*r}:function(e){return void 0===e&&(e=0),u-e*r};return Array.from(e.variantChildren).sort(_r).forEach((function(e,r){s.push(Lr(e,t,o(o({},a),{delay:n+c(r)})).then((function(){return e.notifyAnimationComplete(t)})))})),Promise.all(s)}(e,t,a+r,u,c,n)}:function(){return Promise.resolve()},f=s.when;if(f){var p=u("beforeChildren"===f?[c,l]:[l,c],2),d=p[0],m=p[1];return d().then(m)}return Promise.all([c(),l(n.delay)])}function Mr(e,t,n){var r,i=void 0===n?{}:n,a=i.delay,u=void 0===a?0:a,c=i.transitionOverride,l=i.type,f=e.makeTargetAnimatable(t),p=f.transition,d=void 0===p?e.getDefaultTransition():p,m=f.transitionEnd,v=s(f,["transition","transitionEnd"]);c&&(d=c);var h=[],y=l&&(null===(r=e.animationState)||void 0===r?void 0:r.getState()[l]);for(var g in v){var b=e.getValue(g),x=v[g];if(!(!b||void 0===x||y&&Dr(y,g))){var k=yr(g,b,x,o({delay:u},d));h.push(k)}}return Promise.all(h).then((function(){m&&function(e,t){var n=A(e,t),r=n?e.makeTargetAnimatable(n,!1):{},i=r.transitionEnd,a=void 0===i?{}:i;r.transition;var u=s(r,["transitionEnd","transition"]);for(var c in u=o(o({},u),a))Tr(e,c,ze(u[c]))}(e,m)}))}function _r(e,t){return e.sortNodePosition(t)}function Dr(e,t){var n=e.protectedKeys,r=e.needsAnimating,o=n.hasOwnProperty(t)&&!0!==r[t];return r[t]=!1,o}var Vr=[Be.Animate,Be.Hover,Be.Tap,Be.Drag,Be.Focus,Be.Exit],Wr=c([],u(Vr)).reverse(),Nr=Vr.length;function Rr(e){var t,n=function(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(),Array.isArray(t)){var o=t.map((function(t){return Lr(e,t,n)}));r=Promise.all(o)}else if("string"==typeof t)r=Lr(e,t,n);else{var i="function"==typeof t?A(e,t,n.custom):t;r=Mr(e,i,n)}return r.then((function(){return e.notifyAnimationComplete(t)}))}(e,n,r)})))}}(e),r=((t={})[Be.Animate]=zr(!0),t[Be.Hover]=zr(),t[Be.Tap]=zr(),t[Be.Drag]=zr(),t[Be.Focus]=zr(),t[Be.Exit]=zr(),t),i={},a=!0,l=function(t,n){var r=A(e,n);if(r){r.transition;var i=r.transitionEnd,a=s(r,["transition","transitionEnd"]);t=o(o(o({},t),a),i)}return t};function f(t,s){for(var f,p=e.getProps(),d=e.getVariantContext(!0)||{},m=[],v=new Set,h={},y=1/0,g=function(n){var i=Wr[n],g=r[i],b=null!==(f=p[i])&&void 0!==f?f:d[i],x=P(b),k=i===s?g.isActive:null;!1===k&&(y=n);var w=b===d[i]&&b!==p[i]&&x;if(w&&a&&e.manuallyAnimateOnMount&&(w=!1),g.protectedKeys=o({},h),!g.isActive&&null===k||!b&&!g.prevProp||Ne(b)||"boolean"==typeof b)return"continue";var C=function(e,t){return"string"==typeof t?t!==e:!!j(t)&&!gt(t,e)}(g.prevProp,b)||i===s&&g.isActive&&!w&&x||n>y&&x,O=Array.isArray(b)?b:[b],E=O.reduce(l,{});!1===k&&(E={});var S=g.prevResolvedValues,T=void 0===S?{}:S,A=o(o({},T),E),L=function(e){C=!0,v.delete(e),g.needsAnimating[e]=!0};for(var M in A){var _=E[M],D=T[M];h.hasOwnProperty(M)||(_!==D?Re(_)&&Re(D)?gt(_,D)?g.protectedKeys[M]=!0:L(M):void 0!==_?L(M):v.add(M):void 0!==_&&v.has(M)?L(M):g.protectedKeys[M]=!0)}g.prevProp=b,g.prevResolvedValues=E,g.isActive&&(h=o(o({},h),E)),a&&e.blockInitialAnimation&&(C=!1),C&&!w&&m.push.apply(m,c([],u(O.map((function(e){return{animation:e,options:o({type:i},t)}})))))},b=0;b<Nr;b++)g(b);if(i=o({},h),v.size){var x={};v.forEach((function(t){var n=e.getBaseTarget(t);void 0!==n&&(x[t]=n)})),m.push({animation:x})}var k=Boolean(m.length);return a&&!1===p.initial&&!e.manuallyAnimateOnMount&&(k=!1),a=!1,k?n(m):Promise.resolve()}return{isAnimated:function(e){return void 0!==i[e]},animateChanges:f,setActive:function(t,n,o){var i;return r[t].isActive===n?Promise.resolve():(null===(i=e.variantChildren)||void 0===i||i.forEach((function(e){var r;return null===(r=e.animationState)||void 0===r?void 0:r.setActive(t,n)})),r[t].isActive=n,f(o,t))},setAnimateFunction:function(t){n=t(e)},getState:function(){return r}}}function zr(e){return void 0===e&&(e=!1),{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}var $r={animation:ht((function(t){var n=t.visualElement,r=t.animate;n.animationState||(n.animationState=Rr(n)),Ne(r)&&(0,e.useEffect)((function(){return r.subscribe(n)}),[r])})),exit:ht((function(t){var n=t.custom,r=t.visualElement,o=u(b(),2),i=o[0],a=o[1],s=(0,e.useContext)(y);(0,e.useEffect)((function(){var e,t,o=null===(e=r.animationState)||void 0===e?void 0:e.setActive(Be.Exit,!i,{custom:null!==(t=null==s?void 0:s.custom)&&void 0!==t?t:n});!i&&(null==o||o.then(a))}),[i])}))},Hr=function(e){return e.hasOwnProperty("x")&&e.hasOwnProperty("y")},Ir=function(e){return Hr(e)&&e.hasOwnProperty("z")},Br=function(e,t){return Math.abs(e-t)};function Fr(e,t){if(Zt(e)&&Zt(t))return Br(e,t);if(Hr(e)&&Hr(t)){var n=Br(e.x,t.x),r=Br(e.y,t.y),o=Ir(e)&&Ir(t)?Br(e.z,t.z):0;return Math.sqrt(Math.pow(n,2)+Math.pow(r,2)+Math.pow(o,2))}}var Ur=function(){function e(e,t,n){var r=this,i=(void 0===n?{}:n).transformPagePoint;if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.updatePoint=function(){if(r.lastMoveEvent&&r.lastMoveEventInfo){var e=Zr(r.lastMoveEventInfo,r.history),t=null!==r.startEvent,n=Fr(e.offset,{x:0,y:0})>=3;if(t||n){var i=e.point,a=Rn().timestamp;r.history.push(o(o({},i),{timestamp:a}));var s=r.handlers,u=s.onStart,c=s.onMove;t||(u&&u(r.lastMoveEvent,e),r.startEvent=r.lastMoveEvent),c&&c(r.lastMoveEvent,e)}}},this.handlePointerMove=function(e,t){r.lastMoveEvent=e,r.lastMoveEventInfo=qr(t,r.transformPagePoint),Ze(e)&&0===e.buttons?r.handlePointerUp(e,t):zn.update(r.updatePoint,!0)},this.handlePointerUp=function(e,t){r.end();var n=r.handlers,o=n.onEnd,i=n.onSessionEnd,a=Zr(qr(t,r.transformPagePoint),r.history);r.startEvent&&o&&o(e,a),i&&i(e,a)},!(Xe(e)&&e.touches.length>1)){this.handlers=t,this.transformPagePoint=i;var a=qr(Qe(e),this.transformPagePoint),s=a.point,u=Rn().timestamp;this.history=[o(o({},s),{timestamp:u})];var c=t.onSessionStart;c&&c(e,Zr(a,this.history)),this.removeListeners=vt(ot(window,"pointermove",this.handlePointerMove),ot(window,"pointerup",this.handlePointerUp),ot(window,"pointercancel",this.handlePointerUp))}}return e.prototype.updateHandlers=function(e){this.handlers=e},e.prototype.end=function(){this.removeListeners&&this.removeListeners(),_n.update(this.updatePoint)},e}();function qr(e,t){return t?{point:t(e.point)}:e}function Yr(e,t){return{x:e.x-t.x,y:e.y-t.y}}function Zr(e,t){var n=e.point;return{point:n,delta:Yr(n,Kr(t)),offset:Yr(n,Xr(t)),velocity:Gr(t,.1)}}function Xr(e){return e[0]}function Kr(e){return e[e.length-1]}function Gr(e,t){if(e.length<2)return{x:0,y:0};for(var n=e.length-1,r=null,o=Kr(e);n>=0&&(r=e[n],!(o.timestamp-r.timestamp>Fn(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 Jr(e){return e}function Qr(e){var t=e.top;return{x:{min:e.left,max:e.right},y:{min:t,max:e.bottom}}}var eo={translate:0,scale:1,origin:0,originPoint:0};function to(){return{x:o({},eo),y:o({},eo)}}function no(e){return[e("x"),e("y")]}function ro(e,t,n){var r=t.min,o=t.max;return void 0!==r&&e<r?e=n?jt(r,e,n.min):Math.max(e,r):void 0!==o&&e>o&&(e=n?jt(o,e,n.max):Math.min(e,o)),e}function oo(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 io(e,t){var n,r=t.min-e.min,o=t.max-e.max;return t.max-t.min<e.max-e.min&&(r=(n=u([o,r],2))[0],o=n[1]),{min:e.min+r,max:e.min+o}}function ao(e,t,n){return{min:so(e,t),max:so(e,n)}}function so(e,t){var n;return"number"==typeof e?e:null!==(n=e[t])&&void 0!==n?n:0}function uo(e,t){return Qr(function(e,t){var n=e.top,r=e.left,o=e.bottom,i=e.right;void 0===t&&(t=Jr);var a=t({x:r,y:n}),s=t({x:i,y:o});return{top:a.y,left:a.x,bottom:s.y,right:s.x}}(e.getBoundingClientRect(),t))}function co(e,t,n){return void 0===t&&(t=0),void 0===n&&(n=.01),Fr(e,t)<n}function lo(e){return e.max-e.min}function fo(e,t,n,r){void 0===r&&(r=.5),e.origin=r,e.originPoint=jt(t.min,t.max,e.origin),e.scale=lo(n)/lo(t),co(e.scale,1,1e-4)&&(e.scale=1),e.translate=jt(n.min,n.max,e.origin)-e.originPoint,co(e.translate)&&(e.translate=0)}function po(e,t,n,r){fo(e.x,t.x,n.x,mo(r.originX)),fo(e.y,t.y,n.y,mo(r.originY))}function mo(e){return"number"==typeof e?e:.5}function vo(e,t,n){e.min=n.min+t.min,e.max=e.min+lo(t)}var ho=function(e,t){return e.depth-t.depth};function yo(e){return e.projection.isEnabled||e.shouldResetTransform()}function go(e,t){void 0===t&&(t=[]);var n=e.parent;return n&&go(n,t),yo(e)&&t.push(e),t}function bo(e){if(!e.shouldResetTransform()){var t,n=e.getLayoutState();e.notifyBeforeLayoutMeasure(n.layout),n.isHydrated=!0,n.layout=e.measureViewportBox(),n.layoutCorrected=(t=n.layout,{x:o({},t.x),y:o({},t.y)}),e.notifyLayoutMeasure(n.layout,e.prevViewportBox||n.layout),zn.update((function(){return e.rebaseProjectionTarget()}))}}function xo(e,t){return{min:t.min-e.min,max:t.max-e.min}}function ko(e,t){return{x:xo(e.x,t.x),y:xo(e.y,t.y)}}function wo(e,t){var n=e.getLayoutId(),r=t.getLayoutId();return n!==r||void 0===r&&e!==t}function Co(e){var t=e.getProps(),n=t.drag,r=t._dragX;return n&&!r}function Oo(e,t){e.min=t.min,e.max=t.max}function Eo(e,t,n){return n+t*(e-n)}function So(e,t,n,r,o){return void 0!==o&&(e=Eo(e,o,r)),Eo(e,n,r)+t}function jo(e,t,n,r,o){void 0===t&&(t=0),void 0===n&&(n=1),e.min=So(e.min,t,n,r,o),e.max=So(e.max,t,n,r,o)}function Po(e,t){var n=t.x,r=t.y;jo(e.x,n.translate,n.scale,n.originPoint),jo(e.y,r.translate,r.scale,r.originPoint)}function To(e,t,n,r){var o=u(r,3),i=o[0],a=o[1],s=o[2];e.min=t.min,e.max=t.max;var c=void 0!==n[s]?n[s]:.5,l=jt(t.min,t.max,c);jo(e,n[i],n[a],l,n.scale)}var Ao=["x","scaleX","originX"],Lo=["y","scaleY","originY"];function Mo(e,t,n){To(e.x,t.x,n,Ao),To(e.y,t.y,n,Lo)}function _o(e,t,n,r,o){return e=Eo(e-=t,1/n,r),void 0!==o&&(e=Eo(e,1/o,r)),e}function Do(e,t,n){var r=u(n,3),o=r[0],i=r[1],a=r[2];!function(e,t,n,r,o){void 0===t&&(t=0),void 0===n&&(n=1),void 0===r&&(r=.5);var i=jt(e.min,e.max,r)-t;e.min=_o(e.min,t,n,i,o),e.max=_o(e.max,t,n,i,o)}(e,t[o],t[i],t[a],t.scale)}function Vo(e,t){Do(e.x,t,Ao),Do(e.y,t,Lo)}var Wo=new Set;function No(e,t,n){e[n]||(e[n]=[]),e[n].push(t)}function Ro(e){return Wo.add(e),function(){return Wo.delete(e)}}function zo(){if(Wo.size){var e=0,t=[[]],n=[],r=function(n){return No(t,n,e)},o=function(t){No(n,t,e),e++};Wo.forEach((function(t){t(r,o),e=0})),Wo.clear();for(var i=n.length,a=0;a<=i;a++)t[a]&&t[a].forEach(Ho),n[a]&&n[a].forEach(Ho)}}var $o,Ho=function(e){return e()},Io=new WeakMap,Bo=function(){function e(e){var t=e.visualElement;this.isDragging=!1,this.currentDirection=null,this.constraints=!1,this.elastic={x:{min:0,max:1},y:{min:0,max:1}},this.props={},this.hasMutatedConstraints=!1,this.cursorProgress={x:.5,y:.5},this.originPoint={},this.openGlobalLock=null,this.panSession=null,this.visualElement=t,this.visualElement.enableLayoutProjection(),Io.set(t,this)}return e.prototype.start=function(e,t){var n=this,r=void 0===t?{}:t,o=r.snapToCursor,i=void 0!==o&&o,a=r.cursorProgress,s=this.props.transformPagePoint;this.panSession=new Ur(e,{onSessionStart:function(e){var t;n.stopMotion();var r=function(e){return Qe(e,"client")}(e).point;null===(t=n.cancelLayout)||void 0===t||t.call(n),n.cancelLayout=Ro((function(e,t){var o=go(n.visualElement),s=function(e){var t=[],n=function(e){yo(e)&&t.push(e),e.children.forEach(n)};return e.children.forEach(n),t.sort(ho)}(n.visualElement),l=c(c([],u(o)),u(s)),f=!1;n.isLayoutDrag()&&n.visualElement.lockProjectionTarget(),t((function(){l.forEach((function(e){return e.resetTransform()}))})),e((function(){bo(n.visualElement),s.forEach(bo)})),t((function(){l.forEach((function(e){return e.restoreTransform()})),i&&(f=n.snapToCursor(r))})),e((function(){Boolean(n.getAxisMotionValue("x")&&!n.isExternalDrag())||n.visualElement.rebaseProjectionTarget(!0,n.visualElement.measureViewportBox(!1)),n.visualElement.scheduleUpdateLayoutProjection();var e=n.visualElement.projection;no((function(t){if(!f){var o=e.target[t],i=o.min,s=o.max;n.cursorProgress[t]=a?a[t]:St(i,s,r[t])}var u=n.getAxisMotionValue(t);u&&(n.originPoint[t]=u.get())}))})),t((function(){Dn.update(),Dn.preRender(),Dn.render(),Dn.postRender()})),e((function(){return n.resolveDragConstraints()}))}))},onStart:function(e,t){var r,o,i,a=n.props,s=a.drag,u=a.dragPropagation;(!s||u||(n.openGlobalLock&&n.openGlobalLock(),n.openGlobalLock=ct(s),n.openGlobalLock))&&(zo(),n.isDragging=!0,n.currentDirection=null,null===(o=(r=n.props).onDragStart)||void 0===o||o.call(r,e,t),null===(i=n.visualElement.animationState)||void 0===i||i.setActive(Be.Drag,!0))},onMove:function(e,t){var r,o,i,a,s=n.props,u=s.dragPropagation,c=s.dragDirectionLock;if(u||n.openGlobalLock){var l=t.offset;if(c&&null===n.currentDirection)return n.currentDirection=function(e,t){void 0===t&&(t=10);var n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}(l),void(null!==n.currentDirection&&(null===(o=(r=n.props).onDirectionLock)||void 0===o||o.call(r,n.currentDirection)));n.updateAxis("x",t.point,l),n.updateAxis("y",t.point,l),null===(a=(i=n.props).onDrag)||void 0===a||a.call(i,e,t),$o=e}},onSessionEnd:function(e,t){return n.stop(e,t)}},{transformPagePoint:s})},e.prototype.resolveDragConstraints=function(){var e=this,t=this.props,n=t.dragConstraints,r=t.dragElastic,o=this.visualElement.getLayoutState().layoutCorrected;this.constraints=!!n&&(S(n)?this.resolveRefConstraints(o,n):function(e,t){var n=t.top,r=t.left,o=t.bottom,i=t.right;return{x:oo(e.x,r,i),y:oo(e.y,n,o)}}(o,n)),this.elastic=function(e){return!1===e?e=0:!0===e&&(e=.35),{x:ao(e,"left","right"),y:ao(e,"top","bottom")}}(r),this.constraints&&!this.hasMutatedConstraints&&no((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[t],e.constraints[t]))}))},e.prototype.resolveRefConstraints=function(e,t){var n=this.props,r=n.onMeasureDragConstraints,o=n.transformPagePoint,i=t.current;this.constraintsBox=uo(i,o);var a=function(e,t){return{x:io(e.x,t.x),y:io(e.y,t.y)}}(e,this.constraintsBox);if(r){var s=r(function(e){var t=e.x,n=e.y;return{top:n.min,bottom:n.max,left:t.min,right:t.max}}(a));this.hasMutatedConstraints=!!s,s&&(a=Qr(s))}return a},e.prototype.cancelDrag=function(){var e,t;this.visualElement.unlockProjectionTarget(),null===(e=this.cancelLayout)||void 0===e||e.call(this),this.isDragging=!1,this.panSession&&this.panSession.end(),this.panSession=null,!this.props.dragPropagation&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),null===(t=this.visualElement.animationState)||void 0===t||t.setActive(Be.Drag,!1)},e.prototype.stop=function(e,t){var n,r,o;null===(n=this.panSession)||void 0===n||n.end(),this.panSession=null;var i=this.isDragging;if(this.cancelDrag(),i){var a=t.velocity;this.animateDragEnd(a),null===(o=(r=this.props).onDragEnd)||void 0===o||o.call(r,e,t)}},e.prototype.snapToCursor=function(e){var t=this;return no((function(n){if(Fo(n,t.props.drag,t.currentDirection)){var r=t.getAxisMotionValue(n);if(!r)return t.cursorProgress[n]=.5,!0;var o=t.visualElement.getLayoutState().layout,i=o[n].max-o[n].min,a=o[n].min+i/2,s=e[n]-a;t.originPoint[n]=e[n],r.set(s)}})).includes(!0)},e.prototype.updateAxis=function(e,t,n){if(Fo(e,this.props.drag,this.currentDirection))return this.getAxisMotionValue(e)?this.updateAxisMotionValue(e,n):this.updateVisualElementAxis(e,t)},e.prototype.updateAxisMotionValue=function(e,t){var n=this.getAxisMotionValue(e);if(t&&n){var r=this.originPoint[e]+t[e],o=this.constraints?ro(r,this.constraints[e],this.elastic[e]):r;n.set(o)}},e.prototype.updateVisualElementAxis=function(e,t){var n,r=this.visualElement.getLayoutState().layout[e],o=r.max-r.min,i=this.cursorProgress[e],a=function(e,t,n,r,o){var i=e-t*n;return r?ro(i,r,o):i}(t[e],o,i,null===(n=this.constraints)||void 0===n?void 0:n[e],this.elastic[e]);this.visualElement.setProjectionTargetAxis(e,a,a+o)},e.prototype.setProps=function(e){var t=e.drag,n=void 0!==t&&t,r=e.dragDirectionLock,i=void 0!==r&&r,a=e.dragPropagation,u=void 0!==a&&a,c=e.dragConstraints,l=void 0!==c&&c,f=e.dragElastic,p=void 0===f?.35:f,d=e.dragMomentum,m=void 0===d||d,v=s(e,["drag","dragDirectionLock","dragPropagation","dragConstraints","dragElastic","dragMomentum"]);this.props=o({drag:n,dragDirectionLock:i,dragPropagation:u,dragConstraints:l,dragElastic:p,dragMomentum:m},v)},e.prototype.getAxisMotionValue=function(e){var t=this.props,n=t.layout,r=t.layoutId,o="_drag"+e.toUpperCase();return this.props[o]?this.props[o]:n||void 0!==r?void 0:this.visualElement.getValue(e,0)},e.prototype.isLayoutDrag=function(){return!this.getAxisMotionValue("x")},e.prototype.isExternalDrag=function(){var e=this.props,t=e._dragX,n=e._dragY;return t||n},e.prototype.animateDragEnd=function(e){var t=this,n=this.props,r=n.drag,i=n.dragMomentum,a=n.dragElastic,s=n.dragTransition,u=function(e,t){void 0===t&&(t=!0);var n,r=e.getProjectionParent();return!!r&&(t?Vo(n=ko(r.projection.target,e.projection.target),r.getLatestValues()):n=ko(r.getLayoutState().layout,e.getLayoutState().layout),no((function(t){return e.setProjectionTargetAxis(t,n[t].min,n[t].max,!0)})),!0)}(this.visualElement,this.isLayoutDrag()&&!this.isExternalDrag()),c=this.constraints||{};if(u&&Object.keys(c).length&&this.isLayoutDrag()){var l=this.visualElement.getProjectionParent();if(l){var f=ko(l.projection.targetFinal,c);no((function(e){var t=f[e],n=t.min,r=t.max;c[e]={min:isNaN(n)?void 0:n,max:isNaN(r)?void 0:r}}))}}var p=no((function(n){var l;if(Fo(n,r,t.currentDirection)){var f=null!==(l=null==c?void 0:c[n])&&void 0!==l?l:{},p=a?200:1e6,d=a?40:1e7,m=o(o({type:"inertia",velocity:i?e[n]:0,bounceStiffness:p,bounceDamping:d,timeConstant:750,restDelta:1,restSpeed:10},s),f);return t.getAxisMotionValue(n)?t.startAxisValueAnimation(n,m):t.visualElement.startLayoutAnimation(n,m,u)}}));return Promise.all(p).then((function(){var e,n;null===(n=(e=t.props).onDragTransitionEnd)||void 0===n||n.call(e)}))},e.prototype.stopMotion=function(){var e=this;no((function(t){var n=e.getAxisMotionValue(t);n?n.stop():e.visualElement.stopLayoutAnimation()}))},e.prototype.startAxisValueAnimation=function(e,t){var n=this.getAxisMotionValue(e);if(n){var r=n.get();return n.set(r),n.set(r),yr(e,n,0,t)}},e.prototype.scalePoint=function(){var e=this,t=this.props,n=t.drag;if(S(t.dragConstraints)&&this.constraintsBox){this.stopMotion();var r={x:0,y:0};no((function(t){var n,o,i,a,s;r[t]=(n=e.visualElement.projection.target[t],o=e.constraintsBox[t],i=.5,a=lo(n),(s=lo(o))>a?i=St(o.min,o.max-a,n.min):a>s&&(i=St(n.min,n.max-s,o.min)),function(e){return bt(0,1,e)}(i))})),this.updateConstraints((function(){no((function(t){if(Fo(t,n,null)){var o=function(e,t,n){var r=e.max-e.min,o=jt(t.min,t.max-r,n);return{min:o,max:o+r}}(e.visualElement.projection.target[t],e.constraintsBox[t],r[t]),i=o.min,a=o.max;e.visualElement.setProjectionTargetAxis(t,i,a)}}))})),setTimeout(zo,1)}},e.prototype.updateConstraints=function(e){var t=this;this.cancelLayout=Ro((function(n,r){var o=go(t.visualElement);r((function(){return o.forEach((function(e){return e.resetTransform()}))})),n((function(){return bo(t.visualElement)})),r((function(){return o.forEach((function(e){return e.restoreTransform()}))})),n((function(){t.resolveDragConstraints()})),e&&r(e)}))},e.prototype.mount=function(e){var t=this,n=ot(e.getInstance(),"pointerdown",(function(e){var n=t.props,r=n.drag,o=n.dragListener;r&&(void 0===o||o)&&t.start(e)})),r=qe(window,"resize",(function(){t.scalePoint()})),o=e.onLayoutUpdate((function(){t.isDragging&&t.resolveDragConstraints()})),i=e.prevDragCursor;return i&&this.start($o,{cursorProgress:i}),function(){null==n||n(),null==r||r(),null==o||o(),t.cancelDrag()}},e}();function Fo(e,t,n){return!(!0!==t&&t!==e||null!==n&&n!==e)}var Uo,qo,Yo={pan:ht((function(t){var n=t.onPan,r=t.onPanStart,o=t.onPanEnd,i=t.onPanSessionStart,a=t.visualElement,s=n||r||o||i,u=(0,e.useRef)(null),c=(0,e.useContext)(v).transformPagePoint,l={onSessionStart:i,onStart:r,onMove:n,onEnd:function(e,t){u.current=null,o&&o(e,t)}};(0,e.useEffect)((function(){null!==u.current&&u.current.updateHandlers(l)})),it(a,"pointerdown",s&&function(e){u.current=new Ur(e,l,{transformPagePoint:c})}),dt((function(){return u.current&&u.current.end()}))})),drag:ht((function(t){var n=t.dragControls,r=t.visualElement,i=(0,e.useContext)(v).transformPagePoint,a=g((function(){return new Bo({visualElement:r})}));a.setProps(o(o({},t),{transformPagePoint:i})),(0,e.useEffect)((function(){return n&&n.subscribe(a)}),[a]),(0,e.useEffect)((function(){return a.mount(r)}),[])}))};function Zo(e){return"string"==typeof e&&e.startsWith("var(--")}!function(e){e[e.Entering=0]="Entering",e[e.Present=1]="Present",e[e.Exiting=2]="Exiting"}(Uo||(Uo={})),function(e){e[e.Hide=0]="Hide",e[e.Show=1]="Show"}(qo||(qo={}));var Xo=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function Ko(e,t,n){void 0===n&&(n=1);var r=u(function(e){var t=Xo.exec(e);if(!t)return[,];var n=u(t,3);return[n[1],n[2]]}(e),2),o=r[0],i=r[1];if(o){var a=window.getComputedStyle(t).getPropertyValue(o);return a?a.trim():Zo(i)?Ko(i,t,n+1):i}}function Go(e,t){return e/(t.max-t.min)*100}var Jo="_$css",Qo={process:function(e,t,n){var r=n.target;if("string"==typeof e){if(!ae.test(e))return e;e=parseFloat(e)}return Go(e,r.x)+"% "+Go(e,r.y)+"%"}},ei={borderRadius:o(o({},Qo),{applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]}),borderTopLeftRadius:Qo,borderTopRightRadius:Qo,borderBottomLeftRadius:Qo,borderBottomRightRadius:Qo,boxShadow:{process:function(e,t){var n=t.delta,r=t.treeScale,o=e,i=e.includes("var("),a=[];i&&(e=e.replace(Xo,(function(e){return a.push(e),Jo})));var s=Yt.parse(e);if(s.length>5)return o;var u=Yt.createTransformer(e),c="number"!=typeof s[0]?1:0,l=n.x.scale*r.x,f=n.y.scale*r.y;s[0+c]/=l,s[1+c]/=f;var p=jt(l,f,.5);"number"==typeof s[2+c]&&(s[2+c]/=p),"number"==typeof s[3+c]&&(s[3+c]/=p);var d=u(s);if(i){var m=0;d=d.replace(Jo,(function(){var e=a[m];return m++,e}))}return d}}},ti=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.frameTarget={x:{min:0,max:1},y:{min:0,max:1}},t.currentAnimationTarget={x:{min:0,max:1},y:{min:0,max:1}},t.isAnimating={x:!1,y:!1},t.stopAxisAnimation={x:void 0,y:void 0},t.isAnimatingTree=!1,t.animate=function(e,n,r){void 0===r&&(r={});var i=r.originBox,a=r.targetBox,u=r.visibilityAction,c=r.shouldStackAnimate,l=r.onComplete,f=r.prevParent,p=s(r,["originBox","targetBox","visibilityAction","shouldStackAnimate","onComplete","prevParent"]),d=t.props,m=d.visualElement,v=d.layout;if(!1===c)return t.isAnimatingTree=!1,t.safeToRemove();if(!t.isAnimatingTree||!0===c){c&&(t.isAnimatingTree=!0),n=i||n,e=a||e;var h=!1,y=m.getProjectionParent();if(y){var g=y.prevViewportBox,b=y.getLayoutState().layout;f&&(a&&(b=f.getLayoutState().layout),i&&!wo(f,y)&&f.prevViewportBox&&(g=f.prevViewportBox)),g&&si(f,i,a)&&(h=!0,n=ko(g,n),e=ko(b,e))}var x=ni(n,e),k=no((function(r){var i,a;if("position"===v){var s=e[r].max-e[r].min;n[r].max=n[r].min+s}if(!m.projection.isTargetLocked)return void 0===u?x?t.animateAxis(r,e[r],n[r],o(o({},p),{isRelative:h})):(null===(a=(i=t.stopAxisAnimation)[r])||void 0===a||a.call(i),m.setProjectionTargetAxis(r,e[r].min,e[r].max,h)):void m.setVisibility(u===qo.Show)}));return m.syncRender(),Promise.all(k).then((function(){t.isAnimatingTree=!1,l&&l(),m.notifyLayoutAnimationComplete()}))}},t}return r(t,e),t.prototype.componentDidMount=function(){var e=this,t=this.props.visualElement;t.animateMotionValue=yr,t.enableLayoutProjection(),this.unsubLayoutReady=t.onLayoutUpdate(this.animate),t.layoutSafeToRemove=function(){return e.safeToRemove()},function(e){for(var t in e)R[t]=e[t]}(ei)},t.prototype.componentWillUnmount=function(){var e=this;this.unsubLayoutReady(),no((function(t){var n,r;return null===(r=(n=e.stopAxisAnimation)[t])||void 0===r?void 0:r.call(n)}))},t.prototype.animateAxis=function(e,t,n,r){var o,i,a=this,s=void 0===r?{}:r,u=s.transition,c=s.isRelative;if(!this.isAnimating[e]||!ii(t,this.currentAnimationTarget[e])){null===(i=(o=this.stopAxisAnimation)[e])||void 0===i||i.call(o),this.isAnimating[e]=!0;var l=this.props.visualElement,f=this.frameTarget[e],p=l.getProjectionAnimationProgress()[e];p.clearListeners(),p.set(0),p.set(0);var d=function(){var r=p.get()/1e3;!function(e,t,n,r){e.min=jt(t.min,n.min,r),e.max=jt(t.max,n.max,r)}(f,n,t,r),l.setProjectionTargetAxis(e,f.min,f.max,c)};d();var m=p.onChange(d);this.stopAxisAnimation[e]=function(){a.isAnimating[e]=!1,p.stop(),m()},this.currentAnimationTarget[e]=t;var v=u||l.getDefaultTransition()||ai;return yr("x"===e?"layoutX":"layoutY",p,1e3,v&&hr(v,"layout")).then(this.stopAxisAnimation[e])}},t.prototype.safeToRemove=function(){var e,t;null===(t=(e=this.props).safeToRemove)||void 0===t||t.call(e)},t.prototype.render=function(){return null},t}(e.Component);function ni(e,t){return!(oi(e)||oi(t)||ii(e.x,t.x)&&ii(e.y,t.y))}var ri={min:0,max:0};function oi(e){return ii(e.x,ri)&&ii(e.y,ri)}function ii(e,t){return e.min===t.min&&e.max===t.max}var ai={duration:.45,ease:[.4,0,.1,1]};function si(e,t,n){return e||!e&&!(t||n)}var ui={layoutReady:function(e){return e.notifyLayoutReady()}};function ci(){var e=new Set;return{add:function(t){return e.add(t)},flush:function(t){var n=void 0===t?ui:t,r=n.layoutReady,o=n.parent;Ro((function(t,n){var i=Array.from(e).sort(ho),a=o?go(o):[];n((function(){c(c([],u(a)),u(i)).forEach((function(e){return e.resetTransform()}))})),t((function(){i.forEach(bo)})),n((function(){a.forEach((function(e){return e.restoreTransform()})),i.forEach(r)})),t((function(){i.forEach((function(e){e.isPresent&&(e.presence=Uo.Present)}))})),n((function(){Dn.preRender(),Dn.render()})),t((function(){zn.postRender((function(){return i.forEach(li)})),e.clear()}))})),zo()}}}function li(e){e.prevViewportBox=e.projection.target}var fi=(0,e.createContext)(ci()),pi=(0,e.createContext)(ci());function di(e){return!!e.forceUpdate}var mi=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.componentDidMount=function(){var e=this.props,t=e.syncLayout,n=e.framerSyncLayout,r=e.visualElement;di(t)&&t.register(r),di(n)&&n.register(r),r.onUnmount((function(){di(t)&&t.remove(r),di(n)&&n.remove(r)}))},t.prototype.getSnapshotBeforeUpdate=function(){var e=this.props,t=e.syncLayout,n=e.visualElement;return di(t)?t.syncUpdate():(function(e){e.shouldResetTransform()||(e.prevViewportBox=e.measureViewportBox(!1),e.rebaseProjectionTarget(!1,e.prevViewportBox))}(n),t.add(n)),null},t.prototype.componentDidUpdate=function(){var e=this.props.syncLayout;di(e)||e.flush()},t.prototype.render=function(){return null},t}(t().Component),vi={measureLayout:function(n){var r=(0,e.useContext)(fi),i=(0,e.useContext)(pi);return t().createElement(mi,o({},n,{syncLayout:r,framerSyncLayout:i}))},layoutAnimation:function(t){var n=u(b(),2)[1];return e.createElement(ti,o({},t,{safeToRemove:n}))}};function hi(){return{isHydrated:!1,layout:{x:{min:0,max:1},y:{min:0,max:1}},layoutCorrected:{x:{min:0,max:1},y:{min:0,max:1}},treeScale:{x:1,y:1},delta:to(),deltaFinal:to(),deltaTransform:""}}var yi=hi();function gi(e,t,n){var r=e.x,o=e.y,i="translate3d("+r.translate/t.x+"px, "+o.translate/t.y+"px, 0) ";if(n){var a=n.rotate,s=n.rotateX,u=n.rotateY;a&&(i+="rotate("+a+") "),s&&(i+="rotateX("+s+") "),u&&(i+="rotateY("+u+") ")}return i+="scale("+r.scale+", "+o.scale+")",n||i!==xi?i:""}function bi(e){var t=e.deltaFinal;return 100*t.x.origin+"% "+100*t.y.origin+"% 0"}var xi=gi(yi.delta,yi.treeScale,{x:1,y:1}),ki=["LayoutMeasure","BeforeLayoutMeasure","LayoutUpdate","ViewportBoxUpdate","Update","Render","AnimationComplete","LayoutAnimationComplete","AnimationStart","SetAxisTarget","Unmount"];var wi=function(){function e(){this.children=[],this.isDirty=!1}return e.prototype.add=function(e){br(this.children,e),this.isDirty=!0},e.prototype.remove=function(e){xr(this.children,e),this.isDirty=!0},e.prototype.forEach=function(e){this.isDirty&&this.children.sort(ho),this.isDirty=!1,this.children.forEach(e)},e}(),Ci=function(e){var t=e.treeType,n=void 0===t?"":t,r=e.build,i=e.getBaseTarget,a=e.makeTargetAnimatable,s=e.measureViewportBox,l=e.render,f=e.readValueFromInstance,p=e.resetTransform,d=e.restoreTransform,m=e.removeValueFromRenderState,v=e.sortNodePosition,h=e.scrapeMotionValuesFromProps;return function(e,t){var y=e.parent,g=e.props,b=e.presenceId,x=e.blockInitialAnimation,k=e.visualState;void 0===t&&(t={});var w,C,O,E,S,j,T=k.latestValues,A=k.renderState,_=function(){var e=ki.map((function(){return new kr})),t={},n={clearAllListeners:function(){return e.forEach((function(e){return e.clear()}))},updatePropListeners:function(e){return ki.forEach((function(r){var o;null===(o=t[r])||void 0===o||o.call(t);var i="on"+r,a=e[i];a&&(t[r]=n[i](a))}))}};return e.forEach((function(e,t){n["on"+ki[t]]=function(t){return e.add(t)},n["notify"+ki[t]]=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return e.notify.apply(e,c([],u(t)))}})),n}(),D={isEnabled:!1,isHydrated:!1,isTargetLocked:!1,target:{x:{min:0,max:1},y:{min:0,max:1}},targetFinal:{x:{min:0,max:1},y:{min:0,max:1}}},V=D,W=T,N=hi(),R=!1,z=new Map,$=new Map,H={},I=o({},T);function B(){w&&(Q.isProjectionReady()&&(Mo(V.targetFinal,V.target,W),po(N.deltaFinal,N.layoutCorrected,V.targetFinal,T)),F(),l(w,A))}function F(){var e=T;if(E&&E.isActive()){var n=E.getCrossfadeState(Q);n&&(e=n)}r(Q,A,e,V,N,t,g)}function U(){_.notifyUpdate(T)}function q(){Q.layoutTree.forEach(Ei)}var Z=h(g);for(var X in Z){var K=Z[X];void 0!==T[X]&&Y(K)&&K.set(T[X],!1)}var G=L(g),J=M(g),Q=o(o({treeType:n,current:null,depth:y?y.depth+1:0,parent:y,children:new Set,path:y?c(c([],u(y.path)),[y]):[],layoutTree:y?y.layoutTree:new wi,presenceId:b,projection:D,variantChildren:J?new Set:void 0,isVisible:void 0,manuallyAnimateOnMount:Boolean(null==y?void 0:y.isMounted()),blockInitialAnimation:x,isMounted:function(){return Boolean(w)},mount:function(e){w=Q.current=e,Q.pointTo(Q),J&&y&&!G&&(j=null==y?void 0:y.addVariantChild(Q)),null==y||y.children.add(Q)},unmount:function(){_n.update(U),_n.render(B),_n.preRender(Q.updateLayoutProjection),$.forEach((function(e){return e()})),Q.stopLayoutAnimation(),Q.layoutTree.remove(Q),null==j||j(),null==y||y.children.delete(Q),null==O||O(),_.clearAllListeners()},addVariantChild:function(e){var t,n=Q.getClosestVariantNode();if(n)return null===(t=n.variantChildren)||void 0===t||t.add(e),function(){return n.variantChildren.delete(e)}},sortNodePosition:function(e){return v&&n===e.treeType?v(Q.getInstance(),e.getInstance()):0},getClosestVariantNode:function(){return J?Q:null==y?void 0:y.getClosestVariantNode()},scheduleUpdateLayoutProjection:y?y.scheduleUpdateLayoutProjection:function(){return zn.preRender(Q.updateTreeLayoutProjection,!1,!0)},getLayoutId:function(){return g.layoutId},getInstance:function(){return w},getStaticValue:function(e){return T[e]},setStaticValue:function(e,t){return T[e]=t},getLatestValues:function(){return T},setVisibility:function(e){Q.isVisible!==e&&(Q.isVisible=e,Q.scheduleRender())},makeTargetAnimatable:function(e,t){return void 0===t&&(t=!0),a(Q,e,g,t)},addValue:function(e,t){Q.hasValue(e)&&Q.removeValue(e),z.set(e,t),T[e]=t.get(),function(e,t){var n=t.onChange((function(t){T[e]=t,g.onUpdate&&zn.update(U,!1,!0)})),r=t.onRenderRequest(Q.scheduleRender);$.set(e,(function(){n(),r()}))}(e,t)},removeValue:function(e){var t;z.delete(e),null===(t=$.get(e))||void 0===t||t(),$.delete(e),delete T[e],m(e,A)},hasValue:function(e){return z.has(e)},getValue:function(e,t){var n=z.get(e);return void 0===n&&void 0!==t&&(n=Cr(t),Q.addValue(e,n)),n},forEachValue:function(e){return z.forEach(e)},readValue:function(e){var n;return null!==(n=T[e])&&void 0!==n?n:f(w,e,t)},setBaseTarget:function(e,t){I[e]=t},getBaseTarget:function(e){if(i){var t=i(g,e);if(void 0!==t&&!Y(t))return t}return I[e]}},_),{build:function(){return F(),A},scheduleRender:function(){zn.render(B,!1,!0)},syncRender:B,setProps:function(e){g=e,_.updatePropListeners(e),H=function(e,t,n){var r;for(var o in t){var i=t[o],a=n[o];if(Y(i))e.addValue(o,i);else if(Y(a))e.addValue(o,Cr(i));else if(a!==i)if(e.hasValue(o)){var s=e.getValue(o);!s.hasAnimated&&s.set(i)}else e.addValue(o,Cr(null!==(r=e.getStaticValue(o))&&void 0!==r?r:i))}for(var o in n)void 0===t[o]&&e.removeValue(o);return t}(Q,h(g),H)},getProps:function(){return g},getVariant:function(e){var t;return null===(t=g.variants)||void 0===t?void 0:t[e]},getDefaultTransition:function(){return g.transition},getVariantContext:function(e){if(void 0===e&&(e=!1),e)return null==y?void 0:y.getVariantContext();if(!G){var t=(null==y?void 0:y.getVariantContext())||{};return void 0!==g.initial&&(t.initial=g.initial),t}for(var n={},r=0;r<Pi;r++){var o=ji[r],i=g[o];(P(i)||!1===i)&&(n[o]=i)}return n},enableLayoutProjection:function(){D.isEnabled=!0,Q.layoutTree.add(Q)},lockProjectionTarget:function(){D.isTargetLocked=!0},unlockProjectionTarget:function(){Q.stopLayoutAnimation(),D.isTargetLocked=!1},getLayoutState:function(){return N},setCrossfader:function(e){E=e},isProjectionReady:function(){return D.isEnabled&&D.isHydrated&&N.isHydrated},startLayoutAnimation:function(e,t,n){void 0===n&&(n=!1);var r=Q.getProjectionAnimationProgress()[e],o=n?D.relativeTarget[e]:D.target[e],i=o.min,a=o.max-i;return r.clearListeners(),r.set(i),r.set(i),r.onChange((function(t){Q.setProjectionTargetAxis(e,t,t+a,n)})),Q.animateMotionValue(e,r,0,t)},stopLayoutAnimation:function(){no((function(e){return Q.getProjectionAnimationProgress()[e].stop()}))},measureViewportBox:function(e){void 0===e&&(e=!0);var n=s(w,t);return e||Vo(n,T),n},getProjectionAnimationProgress:function(){return S||(S={x:Cr(0),y:Cr(0)}),S},setProjectionTargetAxis:function(e,t,n,r){var o;void 0===r&&(r=!1),r?(D.relativeTarget||(D.relativeTarget={x:{min:0,max:1},y:{min:0,max:1}}),o=D.relativeTarget[e]):(D.relativeTarget=void 0,o=D.target[e]),D.isHydrated=!0,o.min=t,o.max=n,R=!0,_.notifySetAxisTarget()},rebaseProjectionTarget:function(e,t){void 0===t&&(t=N.layout);var n=Q.getProjectionAnimationProgress(),r=n.x,o=n.y,i=!(D.relativeTarget||D.isTargetLocked||r.isAnimating()||o.isAnimating());(e||i)&&no((function(e){var n=t[e],r=n.min,o=n.max;Q.setProjectionTargetAxis(e,r,o)}))},notifyLayoutReady:function(e){!function(e){var t=e.getProjectionParent();if(t){var n=ko(t.getLayoutState().layout,e.getLayoutState().layout);no((function(t){e.setProjectionTargetAxis(t,n[t].min,n[t].max,!0)}))}else e.rebaseProjectionTarget()}(Q),Q.notifyLayoutUpdate(N.layout,Q.prevViewportBox||N.layout,e)},resetTransform:function(){return p(Q,w,g)},restoreTransform:function(){return d(w,A)},updateLayoutProjection:function(){if(Q.isProjectionReady()){var e=N.delta,t=N.treeScale,n=t.x,r=t.y,o=N.deltaTransform;(function(e,t,n,r){var o,i,a=e.delta,s=e.layout,u=e.layoutCorrected,c=e.treeScale,l=t.target;i=s,Oo((o=u).x,i.x),Oo(o.y,i.y),function(e,t,n){var r=n.length;if(r){var o,i;t.x=t.y=1;for(var a=0;a<r;a++)i=(o=n[a]).getLayoutState().delta,t.x*=i.x.scale,t.y*=i.y.scale,Po(e,i),Co(o)&&Mo(e,e,o.getLatestValues())}}(u,c,n),po(a,u,l,r)})(N,V,Q.path,T),R&&Q.notifyViewportBoxUpdate(V.target,e),R=!1;var i=gi(e,t);i===o&&n===t.x&&r===t.y||Q.scheduleRender(),N.deltaTransform=i}},updateTreeLayoutProjection:function(){Q.layoutTree.forEach(Oi),zn.preRender(q,!1,!0)},getProjectionParent:function(){if(void 0===C){for(var e=!1,t=Q.path.length-1;t>=0;t--){var n=Q.path[t];if(n.projection.isEnabled){e=n;break}}C=e}return C},resolveRelativeTargetBox:function(){var e=Q.getProjectionParent();if(D.relativeTarget&&e&&(function(e,t){vo(e.target.x,e.relativeTarget.x,t.target.x),vo(e.target.y,e.relativeTarget.y,t.target.y)}(D,e.projection),Co(e))){var t=D.target;Mo(t,t,e.getLatestValues())}},shouldResetTransform:function(){return Boolean(g._layoutResetTransform)},pointTo:function(e){V=e.projection,W=e.getLatestValues(),null==O||O(),O=vt(e.onSetAxisTarget(Q.scheduleUpdateLayoutProjection),e.onLayoutAnimationComplete((function(){var e;Q.isPresent?Q.presence=Uo.Present:null===(e=Q.layoutSafeToRemove)||void 0===e||e.call(Q)})))},isPresent:!0,presence:Uo.Entering});return Q}};function Oi(e){e.resolveRelativeTargetBox()}function Ei(e){e.updateLayoutProjection()}var Si,ji=c(["initial"],u(Vr)),Pi=ji.length,Ti=new Set(["width","height","top","left","right","bottom","x","y"]),Ai=function(e){return Ti.has(e)},Li=function(e,t){e.set(t,!1),e.set(t)},Mi=function(e){return e===le||e===ae};!function(e){e.width="width",e.height="height",e.left="left",e.right="right",e.top="top",e.bottom="bottom"}(Si||(Si={}));var _i=function(e,t){return parseFloat(e.split(", ")[t])},Di=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 _i(i[1],t);var a=o.match(/^matrix\((.+)\)$/);return a?_i(a[1],e):0}},Vi=new Set(["x","y","z"]),Wi=$.filter((function(e){return!Vi.has(e)})),Ni={width:function(e){var t=e.x;return t.max-t.min},height:function(e){var t=e.y;return t.max-t.min},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:Di(4,13),y:Di(5,14)};function Ri(e,t,n,r){return function(e){return Object.keys(e).some(Ai)}(t)?function(e,t,n,r){void 0===n&&(n={}),void 0===r&&(r={}),t=o({},t),r=o({},r);var i=Object.keys(t).filter(Ai),a=[],s=!1,c=[];if(i.forEach((function(o){var i=e.getValue(o);if(e.hasValue(o)){var u,l=n[o],f=t[o],p=Sr(l);if(Re(f))for(var d=f.length,m=null===f[0]?1:0;m<d;m++)u?Sr(f[m]):(u=Sr(f[m]))===p||Mi(p)&&Mi(u);else u=Sr(f);if(p!==u)if(Mi(p)&&Mi(u)){var v=i.get();"string"==typeof v&&i.set(parseFloat(v)),"string"==typeof f?t[o]=parseFloat(f):Array.isArray(f)&&u===ae&&(t[o]=f.map(parseFloat))}else(null==p?void 0:p.transform)&&(null==u?void 0:u.transform)&&(0===l||0===f)?0===l?i.set(u.transform(l)):t[o]=p.transform(f):(s||(a=function(e){var t=[];return Wi.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),c.push(o),r[o]=void 0!==r[o]?r[o]:t[o],Li(i,f))}})),c.length){var l=function(e,t,n){var r=t.measureViewportBox(),o=t.getInstance(),i=getComputedStyle(o),a=i.display,s={top:i.top,left:i.left,bottom:i.bottom,right:i.right,transform:i.transform};"none"===a&&t.setStaticValue("display",e.display||"block"),t.syncRender();var u=t.measureViewportBox();return n.forEach((function(n){var o=t.getValue(n);Li(o,Ni[n](r,s)),e[n]=Ni[n](u,i)})),e}(t,e,c);return a.length&&a.forEach((function(t){var n=u(t,2),r=n[0],o=n[1];e.getValue(r).set(o)})),e.syncRender(),{target:l,transitionEnd:r}}return{target:t,transitionEnd:r}}(e,t,n,r):{target:t,transitionEnd:r}}var zi={treeType:"dom",readValueFromInstance:function(e,t){if(B(t)){var n=fr(t);return n&&n.default||0}var r,o=(r=e,window.getComputedStyle(r));return(X(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 uo(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,r){var i=n.transformValues;void 0===r&&(r=!0);var a=t.transition,u=t.transitionEnd,c=s(t,["transition","transitionEnd"]),l=function(e,t,n){var r,o,i={};for(var a in e)i[a]=null!==(r=Ar(a,t))&&void 0!==r?r:null===(o=n.getValue(a))||void 0===o?void 0:o.get();return i}(c,a||{},e);if(i&&(u&&(u=i(u)),c&&(c=i(c)),l&&(l=i(l))),r){!function(e,t,n){var r,o,i,a,s=Object.keys(t).filter((function(t){return!e.hasValue(t)})),u=s.length;if(u)for(var c=0;c<u;c++){var l=s[c],f=t[l],p=null;Array.isArray(f)&&(p=f[0]),null===p&&(p=null!==(o=null!==(r=n[l])&&void 0!==r?r:e.readValue(l))&&void 0!==o?o:t[l]),null!=p&&("string"==typeof p&&gr(p)?p=parseFloat(p):!Pr(p)&&Yt.test(f)&&(p=pr(l,f)),e.addValue(l,Cr(p)),null!==(i=(a=n)[l])&&void 0!==i||(a[l]=p),e.setBaseTarget(l,p))}}(e,c,l);var f=function(e,t,n,r){var i=function(e,t,n){var r,i=s(t,[]),a=e.getInstance();if(!(a instanceof HTMLElement))return{target:i,transitionEnd:n};for(var u in n&&(n=o({},n)),e.forEachValue((function(e){var t=e.get();if(Zo(t)){var n=Ko(t,a);n&&e.set(n)}})),i){var c=i[u];if(Zo(c)){var l=Ko(c,a);l&&(i[u]=l,n&&(null!==(r=n[u])&&void 0!==r||(n[u]=c)))}}return{target:i,transitionEnd:n}}(e,t,r);return Ri(e,t=i.target,n,r=i.transitionEnd)}(e,c,l,u);u=f.transitionEnd,c=f.target}return o({transition:a,transitionEnd:u},c)},scrapeMotionValuesFromProps:Ve,build:function(e,t,n,r,o,i,a){void 0!==e.isVisible&&(t.style.visibility=e.isVisible?"visible":"hidden");var s=r.isEnabled&&o.isHydrated;ve(t,n,r,o,i,a.transformTemplate,s?gi:void 0,s?bi:void 0)},render:Me},$i=Ci(zi),Hi=Ci(o(o({},zi),{getBaseTarget:function(e,t){return e[t]},readValueFromInstance:function(e,t){var n;return B(t)?(null===(n=fr(t))||void 0===n?void 0:n.default)||0:(t=_e.has(t)?t:Le(t),e.getAttribute(t))},scrapeMotionValuesFromProps:We,build:function(e,t,n,r,o,i,a){var s=r.isEnabled&&o.isHydrated;Se(t,n,r,o,i,a.transformTemplate,s?gi:void 0,s?bi:void 0)},render:De})),Ii=function(e,t){return N(e)?Hi(t,{enableHardwareAcceleration:!1}):$i(t,{enableHardwareAcceleration:!0})},Bi=o(o(o(o({},$r),yt),Yo),vi),Fi=V((function(e,t){return function(e,t,n,r){var i=t.forwardMotionProps,a=void 0!==i&&i,s=N(e)?Fe:Ue;return o(o({},s),{preloadedFeatures:n,useRender:Te(a),createVisualElement:r,Component:e})}(e,t,Bi,Ii)})),Ui=i(4184),qi=i.n(Ui),Yi=i(5697),Zi=i.n(Yi);const Xi=function(){return t().createElement("svg",{width:"24",height:"30",viewBox:"0 0 24 30",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t().createElement("path",{d:"M23.2736 11.6825C23.2736 12.7582 23.2736 13.8292 23.2736 14.9097C23.2736 15.9901 23.2736 17.0612 23.3012 18.1369C23.3513 19.0326 23.1835 19.9271 22.813 20.7404C22.4295 21.5232 21.7718 22.13 20.9708 22.4399C20.075 22.8095 19.2621 22.953 18.4538 22.7812C17.6455 22.6094 16.8418 22.1245 15.9553 21.2394C14.3863 19.6623 12.8219 18.0765 11.2621 16.4821C9.70237 14.8877 8.1449 13.2973 6.58974 11.7107C6.34588 11.4268 6.07167 11.1718 5.77224 10.9504C5.60974 10.8442 5.42434 10.7801 5.23213 10.7637C5.03992 10.7473 4.84669 10.7791 4.6692 10.8562C4.46956 10.9198 4.28806 11.0321 4.1404 11.1834C3.99275 11.3348 3.88339 11.5206 3.82177 11.7248C3.72145 12.1283 3.68032 12.5448 3.69972 12.9606C3.69972 14.7182 3.70509 16.4782 3.71584 18.2405C3.71584 20.0012 3.71584 21.7714 3.6859 23.5227C3.66773 23.9637 3.74233 24.4036 3.90467 24.8126C4.06056 25.1923 4.3428 25.5033 4.70144 25.6907C4.88357 25.7895 5.08563 25.844 5.29178 25.8497C5.49793 25.8554 5.70258 25.8123 5.88969 25.7236C6.27623 25.5419 6.62673 25.2889 6.92365 24.9774C7.63752 24.2681 8.34755 23.5541 9.05374 22.8353C9.75994 22.1166 10.4546 21.39 11.1378 20.6556C11.2702 20.4971 11.4319 20.3668 11.6137 20.2723C11.7955 20.1778 11.9937 20.1208 12.1971 20.1048C12.5808 20.1066 12.9543 20.2309 13.2656 20.4602C13.5603 20.658 13.6962 21.084 13.687 21.5336C13.6889 21.9834 13.5291 22.4181 13.2379 22.7553C12.3905 23.631 11.55 24.5184 10.7049 25.3941C9.85972 26.2697 8.99387 27.136 8.10499 27.9669C7.45222 28.6004 6.61409 28.9973 5.71928 29.0968C4.81951 29.1678 3.91699 29.0008 3.09869 28.6119C2.34978 28.3105 1.71255 27.7761 1.27717 27.0842C0.869348 26.3642 0.671209 25.5402 0.70607 24.7091C0.726795 22.5387 0.724493 20.3684 0.72219 18.1958C0.719887 16.0231 0.72219 13.8551 0.72219 11.6825C0.704055 10.8192 0.879729 9.96324 1.23572 9.18024C1.61178 8.40876 2.26285 7.814 3.05493 7.51837C3.87619 7.17299 4.7785 7.08133 5.6502 7.25473C6.54851 7.47018 7.36281 7.95649 7.98754 8.65061C9.56727 10.2984 11.1608 11.9351 12.7682 13.5609C14.3755 15.1867 15.9783 16.8156 17.5764 18.4476C17.7943 18.6911 18.0447 18.9019 18.3202 19.0738C18.4586 19.1553 18.6129 19.2048 18.7721 19.2186C18.9313 19.2325 19.0915 19.2103 19.2414 19.1538C19.5304 19.0654 19.7926 18.9034 20.0036 18.683C20.218 18.4201 20.3252 18.083 20.303 17.7415C20.2799 15.7571 20.2799 13.7822 20.2799 11.8072C20.2799 9.83228 20.2799 7.85498 20.2799 5.88004C20.2945 5.58169 20.2482 5.2835 20.1441 5.00438C20.0783 4.86278 19.9859 4.73584 19.8721 4.63081C19.7583 4.52579 19.6254 4.44476 19.4809 4.39236C19.2001 4.25656 18.8934 4.18583 18.5828 4.18522C18.263 4.20798 17.9584 4.33318 17.7123 4.54302C16.8424 5.24139 16.0235 6.00373 15.2621 6.82397C14.4907 7.62901 13.7377 8.45523 12.9317 9.22732C12.6318 9.55796 12.2335 9.77808 11.7987 9.85346C11.6074 9.86436 11.4162 9.83036 11.2398 9.75406C11.0634 9.67776 10.9064 9.56119 10.7808 9.41328C10.6324 9.26574 10.5162 9.08771 10.44 8.89092C10.3638 8.69413 10.3293 8.48306 10.3387 8.27163C10.369 7.8159 10.5654 7.38835 10.8891 7.07348C11.7043 6.24176 12.5179 5.41004 13.3301 4.57832C14.1422 3.7466 14.9597 2.92116 15.7825 2.102C16.2981 1.61189 16.9191 1.25256 17.5956 1.05302C18.272 0.853477 18.9849 0.819312 19.6766 0.953284C20.3709 1.05328 21.0326 1.31833 21.6085 1.72714C22.1844 2.13595 22.6585 2.67713 22.9926 3.30721C23.0951 3.51003 23.1725 3.72511 23.2229 3.94747C23.272 4.17227 23.2952 4.40216 23.292 4.63246C23.2828 5.80472 23.2828 6.98168 23.292 8.16335C23.3012 9.34502 23.2951 10.5181 23.2736 11.6825Z",fill:"white"}))};var Ki=["style","weight","lineHeight","component","children","textTransform","className"];function Gi(){return Gi=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},Gi.apply(this,arguments)}var Ji={thin:"thin",extralight:"extralight",light:"light",normal:"normal",medium:"medium",semibold:"semibold",bold:"bold",extrabold:"extrabold",black:"black"},Qi={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",body1:"body1",body2:"body2",body3:"body3"},ea={none:"none",tight:"tight",snug:"snug",normal:"normal",relaxed:"relaxed",loose:"loose"},ta={none:"none",capitalize:"capitalize",uppercase:"uppercase",lowercase:"lowercase",fullwidth:"fullwidth",inherit:"inherit",initial:"initial",revert:"revert",unset:"unset"},na={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",body1:"p",body2:"p",body3:"p"},ra={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",p:"p",span:"span",b:"b",strong:"strong",i:"i",em:"em",mark:"mark",del:"del",s:"s",ins:"ins",sub:"sub",sup:"sup",u:"u",code:"code",blockquote:"blockquote"},oa=t().forwardRef((function(e,n){var r,o,i,a=e.style,s=void 0===a?"body1":a,u=e.weight,c=e.lineHeight,l=e.component,f=e.children,p=e.textTransform,d=e.className,m=void 0===d?"":d,v=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}(e,Ki),h=l?ra[l]:s?na[s]:"p";return t().createElement(h,Gi({ref:n,className:qi()((r={"neeto-ui-typography":!0,"neeto-ui-text-h1":s===Qi.h1,"neeto-ui-text-h2":s===Qi.h2,"neeto-ui-text-h3":s===Qi.h3,"neeto-ui-text-h4":s===Qi.h4,"neeto-ui-text-h5":s===Qi.h5,"neeto-ui-text-h6":s===Qi.h6,"neeto-ui-text-body1":s===Qi.body1,"neeto-ui-text-body2":s===Qi.body2,"neeto-ui-text-body3":s===Qi.body3,"neeto-ui-text-transform-none":p===ta.none,"neeto-ui-text-transform-capitalize":p===ta.capitalize,"neeto-ui-text-transform-uppercase":p===ta.uppercase,"neeto-ui-text-transform-lowercase":p===ta.lowercase,"neeto-ui-text-transform-fullwidth":p===ta.fullwidth,"neeto-ui-text-transform-inherit":p===ta.inherit,"neeto-ui-text-transform-initial":p===ta.initial,"neeto-ui-text-transform-revert":p===ta.revert,"neeto-ui-text-transform-unset":p===ta.unset,"neeto-ui-font-thin":u===Ji.thin,"neeto-ui-font-extralight":u===Ji.extralight,"neeto-ui-font-light":u===Ji.light,"neeto-ui-font-normal":u===Ji.normal,"neeto-ui-font-medium":u===Ji.medium,"neeto-ui-font-semibold":u===Ji.semibold,"neeto-ui-font-bold":u===Ji.bold,"neeto-ui-font-extrabold":u===Ji.extrabold,"neeto-ui-font-black":u===Ji.black,"neeto-ui-leading-none":c===ea.none,"neeto-ui-leading-tight":c===ea.tight,"neeto-ui-leading-snug":c===ea.snug,"neeto-ui-leading-normal":c===ea.normal,"neeto-ui-leading-relaxed":c===ea.relaxed,"neeto-ui-leading-loose":c===ea.loose},o=m,i=m,o in r?Object.defineProperty(r,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):r[o]=i,r))},v),f)}));oa.propTypes={style:Zi().oneOf(Object.values(Qi)),weight:Zi().oneOf(Object.values(Ji)),component:Zi().oneOf(Object.values(ra)),textTransform:Zi().oneOf(Object.values(ta)),lineHeight:Zi().oneOf(Object.values(ea)),otherProps:Zi().object};const ia=oa,aa=function(e){var n=e.organizationInfo,r=e.collapsed,o=null==n?void 0:n.logo,i=o;return t().createElement("div",{className:"flex items-center neeto-ui-sidebar__header","data-cy":"sidebar-info"},t().createElement("div",{className:"flex items-center justify-center flex-shrink-0 neeto-ui-sidebar__logo"},o?i:t().createElement(Xi,null)),!r&&n&&t().createElement("div",{className:"neeto-ui-sidebar__info"},t().createElement(ia,{component:"h2",style:"h5",weight:"semibold",className:"m-0","data-cy":"sidebar-info-title",title:n.name},n.name),t().createElement(ia,{component:"p",style:"body3",weight:"normal",className:"m-0 neeto-ui-text-gray-500","data-cy":"sidebar-info-subtitle",title:n.subdomain},n.subdomain)))};function sa(){return sa=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},sa.apply(this,arguments)}function ua(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 ca={exports:{}},la={},fa=Object.getOwnPropertySymbols,pa=Object.prototype.hasOwnProperty,da=Object.prototype.propertyIsEnumerable;function ma(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}var va=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;var r=Object.getOwnPropertyNames(t).map((function(e){return t[e]}));if("0123456789"!==r.join(""))return!1;var o={};return"abcdefghijklmnopqrst".split("").forEach((function(e){o[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},o)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var n,r,o=ma(e),i=1;i<arguments.length;i++){for(var a in n=Object(arguments[i]))pa.call(n,a)&&(o[a]=n[a]);if(fa){r=fa(n);for(var s=0;s<r.length;s++)da.call(n,r[s])&&(o[r[s]]=n[r[s]])}}return o},ha=va,ya=60103,ga=60106;la.Fragment=60107,la.StrictMode=60108,la.Profiler=60114;var ba=60109,xa=60110,ka=60112;la.Suspense=60113;var wa=60115,Ca=60116;if("function"==typeof Symbol&&Symbol.for){var Oa=Symbol.for;ya=Oa("react.element"),ga=Oa("react.portal"),la.Fragment=Oa("react.fragment"),la.StrictMode=Oa("react.strict_mode"),la.Profiler=Oa("react.profiler"),ba=Oa("react.provider"),xa=Oa("react.context"),ka=Oa("react.forward_ref"),la.Suspense=Oa("react.suspense"),wa=Oa("react.memo"),Ca=Oa("react.lazy")}var Ea="function"==typeof Symbol&&Symbol.iterator;function Sa(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var ja={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Pa={};function Ta(e,t,n){this.props=e,this.context=t,this.refs=Pa,this.updater=n||ja}function Aa(){}function La(e,t,n){this.props=e,this.context=t,this.refs=Pa,this.updater=n||ja}Ta.prototype.isReactComponent={},Ta.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error(Sa(85));this.updater.enqueueSetState(this,e,t,"setState")},Ta.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},Aa.prototype=Ta.prototype;var Ma=La.prototype=new Aa;Ma.constructor=La,ha(Ma,Ta.prototype),Ma.isPureReactComponent=!0;var _a={current:null},Da=Object.prototype.hasOwnProperty,Va={key:!0,ref:!0,__self:!0,__source:!0};function Wa(e,t,n){var r,o={},i=null,a=null;if(null!=t)for(r in void 0!==t.ref&&(a=t.ref),void 0!==t.key&&(i=""+t.key),t)Da.call(t,r)&&!Va.hasOwnProperty(r)&&(o[r]=t[r]);var s=arguments.length-2;if(1===s)o.children=n;else if(1<s){for(var u=Array(s),c=0;c<s;c++)u[c]=arguments[c+2];o.children=u}if(e&&e.defaultProps)for(r in s=e.defaultProps)void 0===o[r]&&(o[r]=s[r]);return{$$typeof:ya,type:e,key:i,ref:a,props:o,_owner:_a.current}}function Na(e){return"object"==typeof e&&null!==e&&e.$$typeof===ya}var Ra=/\/+/g;function za(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,(function(e){return t[e]}))}(""+e.key):t.toString(36)}function $a(e,t,n,r,o){var i=typeof e;"undefined"!==i&&"boolean"!==i||(e=null);var a=!1;if(null===e)a=!0;else switch(i){case"string":case"number":a=!0;break;case"object":switch(e.$$typeof){case ya:case ga:a=!0}}if(a)return o=o(a=e),e=""===r?"."+za(a,0):r,Array.isArray(o)?(n="",null!=e&&(n=e.replace(Ra,"$&/")+"/"),$a(o,t,n,"",(function(e){return e}))):null!=o&&(Na(o)&&(o=function(e,t){return{$$typeof:ya,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(o,n+(!o.key||a&&a.key===o.key?"":(""+o.key).replace(Ra,"$&/")+"/")+e)),t.push(o)),1;if(a=0,r=""===r?".":r+":",Array.isArray(e))for(var s=0;s<e.length;s++){var u=r+za(i=e[s],s);a+=$a(i,t,n,u,o)}else if(u=function(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=Ea&&e[Ea]||e["@@iterator"])?e:null}(e),"function"==typeof u)for(e=u.call(e),s=0;!(i=e.next()).done;)a+=$a(i=i.value,t,n,u=r+za(i,s++),o);else if("object"===i)throw t=""+e,Error(Sa(31,"[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t));return a}function Ha(e,t,n){if(null==e)return e;var r=[],o=0;return $a(e,r,"","",(function(e){return t.call(n,e,o++)})),r}function Ia(e){if(-1===e._status){var t=e._result;t=t(),e._status=0,e._result=t,t.then((function(t){0===e._status&&(t=t.default,e._status=1,e._result=t)}),(function(t){0===e._status&&(e._status=2,e._result=t)}))}if(1===e._status)return e._result;throw e._result}var Ba={current:null};function Fa(){var e=Ba.current;if(null===e)throw Error(Sa(321));return e}var Ua={ReactCurrentDispatcher:Ba,ReactCurrentBatchConfig:{transition:0},ReactCurrentOwner:_a,IsSomeRendererActing:{current:!1},assign:ha};la.Children={map:Ha,forEach:function(e,t,n){Ha(e,(function(){t.apply(this,arguments)}),n)},count:function(e){var t=0;return Ha(e,(function(){t++})),t},toArray:function(e){return Ha(e,(function(e){return e}))||[]},only:function(e){if(!Na(e))throw Error(Sa(143));return e}},la.Component=Ta,la.PureComponent=La,la.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Ua,la.cloneElement=function(e,t,n){if(null==e)throw Error(Sa(267,e));var r=ha({},e.props),o=e.key,i=e.ref,a=e._owner;if(null!=t){if(void 0!==t.ref&&(i=t.ref,a=_a.current),void 0!==t.key&&(o=""+t.key),e.type&&e.type.defaultProps)var s=e.type.defaultProps;for(u in t)Da.call(t,u)&&!Va.hasOwnProperty(u)&&(r[u]=void 0===t[u]&&void 0!==s?s[u]:t[u])}var u=arguments.length-2;if(1===u)r.children=n;else if(1<u){s=Array(u);for(var c=0;c<u;c++)s[c]=arguments[c+2];r.children=s}return{$$typeof:ya,type:e.type,key:o,ref:i,props:r,_owner:a}},la.createContext=function(e,t){return void 0===t&&(t=null),(e={$$typeof:xa,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:ba,_context:e},e.Consumer=e},la.createElement=Wa,la.createFactory=function(e){var t=Wa.bind(null,e);return t.type=e,t},la.createRef=function(){return{current:null}},la.forwardRef=function(e){return{$$typeof:ka,render:e}},la.isValidElement=Na,la.lazy=function(e){return{$$typeof:Ca,_payload:{_status:-1,_result:e},_init:Ia}},la.memo=function(e,t){return{$$typeof:wa,type:e,compare:void 0===t?null:t}},la.useCallback=function(e,t){return Fa().useCallback(e,t)},la.useContext=function(e,t){return Fa().useContext(e,t)},la.useDebugValue=function(){},la.useEffect=function(e,t){return Fa().useEffect(e,t)},la.useImperativeHandle=function(e,t,n){return Fa().useImperativeHandle(e,t,n)},la.useLayoutEffect=function(e,t){return Fa().useLayoutEffect(e,t)},la.useMemo=function(e,t){return Fa().useMemo(e,t)},la.useReducer=function(e,t,n){return Fa().useReducer(e,t,n)},la.useRef=function(e){return Fa().useRef(e)},la.useState=function(e){return Fa().useState(e)},la.version="17.0.2",ca.exports=la;var qa=ca.exports,Ya={exports:{}},Za={exports:{}},Xa={},Ka="function"==typeof Symbol&&Symbol.for,Ga=Ka?Symbol.for("react.element"):60103,Ja=Ka?Symbol.for("react.portal"):60106,Qa=Ka?Symbol.for("react.fragment"):60107,es=Ka?Symbol.for("react.strict_mode"):60108,ts=Ka?Symbol.for("react.profiler"):60114,ns=Ka?Symbol.for("react.provider"):60109,rs=Ka?Symbol.for("react.context"):60110,os=Ka?Symbol.for("react.async_mode"):60111,is=Ka?Symbol.for("react.concurrent_mode"):60111,as=Ka?Symbol.for("react.forward_ref"):60112,ss=Ka?Symbol.for("react.suspense"):60113,us=Ka?Symbol.for("react.suspense_list"):60120,cs=Ka?Symbol.for("react.memo"):60115,ls=Ka?Symbol.for("react.lazy"):60116,fs=Ka?Symbol.for("react.block"):60121,ps=Ka?Symbol.for("react.fundamental"):60117,ds=Ka?Symbol.for("react.responder"):60118,ms=Ka?Symbol.for("react.scope"):60119;function vs(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case Ga:switch(e=e.type){case os:case is:case Qa:case ts:case es:case ss:return e;default:switch(e=e&&e.$$typeof){case rs:case as:case ls:case cs:case ns:return e;default:return t}}case Ja:return t}}}function hs(e){return vs(e)===is}function ys(){}function gs(){}Xa.AsyncMode=os,Xa.ConcurrentMode=is,Xa.ContextConsumer=rs,Xa.ContextProvider=ns,Xa.Element=Ga,Xa.ForwardRef=as,Xa.Fragment=Qa,Xa.Lazy=ls,Xa.Memo=cs,Xa.Portal=Ja,Xa.Profiler=ts,Xa.StrictMode=es,Xa.Suspense=ss,Xa.isAsyncMode=function(e){return hs(e)||vs(e)===os},Xa.isConcurrentMode=hs,Xa.isContextConsumer=function(e){return vs(e)===rs},Xa.isContextProvider=function(e){return vs(e)===ns},Xa.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===Ga},Xa.isForwardRef=function(e){return vs(e)===as},Xa.isFragment=function(e){return vs(e)===Qa},Xa.isLazy=function(e){return vs(e)===ls},Xa.isMemo=function(e){return vs(e)===cs},Xa.isPortal=function(e){return vs(e)===Ja},Xa.isProfiler=function(e){return vs(e)===ts},Xa.isStrictMode=function(e){return vs(e)===es},Xa.isSuspense=function(e){return vs(e)===ss},Xa.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===Qa||e===is||e===ts||e===es||e===ss||e===us||"object"==typeof e&&null!==e&&(e.$$typeof===ls||e.$$typeof===cs||e.$$typeof===ns||e.$$typeof===rs||e.$$typeof===as||e.$$typeof===ps||e.$$typeof===ds||e.$$typeof===ms||e.$$typeof===fs)},Xa.typeOf=vs,Za.exports=Xa,Za.exports,Function.call.bind(Object.prototype.hasOwnProperty),gs.resetWarningCache=ys,Ya.exports=function(){function e(e,t,n,r,o,i){if("SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"!==i){var a=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 a.name="Invariant Violation",a}}function t(){return e}e.isRequired=e;var n={array: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:gs,resetWarningCache:ys};return n.PropTypes=n,n}();var bs=Ya.exports,xs=["size","color","strokeWidth"];function ks(e){var t=e.size,n=e.color;e.strokeWidth;var r=ua(e,xs);return qa.createElement("svg",sa({viewBox:"0 0 32 32",fill:"none",height:t,width:t},r),qa.createElement("g",{clipPath:"url(#clip0_2512_1485)"},qa.createElement("path",{d:"M10.6667 13.3333H6.66667C5.19333 13.3333 4 12.14 4 10.6667V6.66667C4 5.19333 5.19333 4 6.66667 4H10.6667C12.14 4 13.3333 5.19333 13.3333 6.66667V10.6667C13.3333 12.14 12.14 13.3333 10.6667 13.3333ZM25.3333 28.3333H21.3333C19.86 28.3333 18.6667 27.14 18.6667 25.6667V21.6667C18.6667 20.1933 19.86 19 21.3333 19H25.3333C26.8067 19 28 20.1933 28 21.6667V25.6667C28 27.14 26.8067 28.3333 25.3333 28.3333ZM10.6667 28H6.66667C5.19333 28 4 26.8067 4 25.3333V21.3333C4 19.86 5.19333 18.6667 6.66667 18.6667H10.6667C12.14 18.6667 13.3333 19.86 13.3333 21.3333V25.3333C13.3333 26.8067 12.14 28 10.6667 28Z",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),qa.createElement("path",{d:"M28.9823 7.59329C28.9823 8.0504 28.9823 8.50552 28.9823 8.96464C28.9823 9.42376 28.9823 9.87888 28.9958 10.336C29.0201 10.7166 28.9385 11.0967 28.7583 11.4423C28.5717 11.775 28.2517 12.0328 27.8619 12.1645C27.426 12.3215 27.0305 12.3825 26.6372 12.3095C26.244 12.2365 25.8529 12.0304 25.4215 11.6543C24.6581 10.9842 23.897 10.3103 23.1381 9.63282C22.3791 8.95531 21.6213 8.27946 20.8647 7.60529C20.746 7.48467 20.6126 7.37629 20.4669 7.2822C20.3878 7.23707 20.2976 7.20984 20.2041 7.20287C20.1106 7.1959 20.0166 7.2094 19.9302 7.24219C19.8331 7.26919 19.7448 7.31691 19.6729 7.38122C19.6011 7.44553 19.5479 7.5245 19.5179 7.61129C19.4691 7.78274 19.4491 7.95972 19.4585 8.13643C19.4585 8.88329 19.4611 9.63115 19.4663 10.38C19.4663 11.1282 19.4663 11.8804 19.4518 12.6246C19.4429 12.812 19.4792 12.9989 19.5582 13.1727C19.6341 13.3341 19.7714 13.4662 19.9459 13.5458C20.0345 13.5879 20.1328 13.611 20.2331 13.6134C20.3334 13.6159 20.433 13.5975 20.524 13.5598C20.7121 13.4826 20.8827 13.3751 21.0271 13.2428C21.3745 12.9413 21.7199 12.6379 22.0635 12.3325C22.4072 12.0271 22.7452 11.7184 23.0776 11.4063C23.142 11.3389 23.2207 11.2836 23.3091 11.2434C23.3976 11.2032 23.494 11.179 23.593 11.1722C23.7797 11.173 23.9614 11.2258 24.1129 11.3233C24.2563 11.4073 24.3224 11.5883 24.3179 11.7794C24.3188 11.9705 24.2411 12.1552 24.0994 12.2985C23.6871 12.6706 23.2781 13.0477 22.8669 13.4198C22.4557 13.7919 22.0344 14.16 21.6019 14.5131C21.2843 14.7823 20.8765 14.9509 20.4411 14.9932C20.0033 15.0234 19.5642 14.9524 19.1661 14.7872C18.8017 14.6591 18.4916 14.432 18.2798 14.138C18.0814 13.8321 17.9849 13.4819 18.0019 13.1287C18.012 12.2065 18.0109 11.2842 18.0098 10.361C18.0086 9.43777 18.0098 8.51653 18.0098 7.59329C18.0009 7.22647 18.0864 6.86273 18.2596 6.53001C18.4426 6.20218 18.7594 5.94945 19.1448 5.82382C19.5444 5.67706 19.9834 5.63811 20.4075 5.71179C20.8446 5.80335 21.2408 6.00999 21.5448 6.30495C22.3134 7.00513 23.0888 7.70065 23.8708 8.39149C24.6529 9.08234 25.4328 9.77452 26.2103 10.468C26.3163 10.5715 26.4382 10.6611 26.5723 10.7341C26.6396 10.7688 26.7146 10.7898 26.7921 10.7957C26.8696 10.8015 26.9475 10.7921 27.0204 10.7681C27.161 10.7306 27.2887 10.6617 27.3913 10.5681C27.4956 10.4563 27.5478 10.3131 27.537 10.168C27.5258 9.32474 27.5258 8.48552 27.5258 7.6463C27.5258 6.80708 27.5258 5.96686 27.5258 5.12764C27.5328 5.00086 27.5103 4.87415 27.4596 4.75554C27.4277 4.69537 27.3827 4.64143 27.3273 4.5968C27.272 4.55217 27.2073 4.51774 27.137 4.49548C27.0003 4.43777 26.8511 4.40771 26.7 4.40745C26.5444 4.41713 26.3962 4.47033 26.2765 4.55949C25.8532 4.85626 25.4547 5.1802 25.0843 5.52875C24.7089 5.87084 24.3425 6.22193 23.9504 6.55001C23.8045 6.69051 23.6107 6.78405 23.3991 6.81608C23.3061 6.82071 23.213 6.80627 23.1272 6.77384C23.0414 6.74142 22.965 6.69189 22.9039 6.62903C22.8317 6.56634 22.7751 6.49069 22.7381 6.40706C22.701 6.32344 22.6842 6.23375 22.6888 6.14391C22.7035 5.95025 22.799 5.76857 22.9565 5.63477C23.3532 5.28135 23.7491 4.92792 24.1442 4.5745C24.5394 4.22107 24.9371 3.87031 25.3375 3.52222C25.5884 3.31396 25.8905 3.16127 26.2197 3.07648C26.5488 2.99168 26.8956 2.97717 27.2322 3.0341C27.57 3.07659 27.892 3.18921 28.1722 3.36293C28.4524 3.53665 28.6831 3.76661 28.8456 4.03436C28.8955 4.12054 28.9331 4.21194 28.9577 4.30643C28.9816 4.40195 28.9929 4.49964 28.9913 4.5975C28.9868 5.09563 28.9868 5.59576 28.9913 6.09789C28.9958 6.60003 28.9928 7.09849 28.9823 7.59329Z",fill:n})),qa.createElement("defs",null,qa.createElement("clipPath",{id:"clip0_2512_1485"},qa.createElement("rect",{width:"32",height:"32",fill:n}))))}ks.defaultProps={color:"currentColor",size:24,strokeWidth:"1.5"},ks.propTypes={color:bs.string,size:bs.oneOfType([bs.string,bs.number]),strokeWidth:bs.oneOfType([bs.string,bs.number])};const ws=function(e){var n=e.icon,r=e.label,o=e.description;return t().createElement("div",{className:"flex flex-col p-3 sidebar-featured-tooltip w-36"},t().createElement("div",{className:"flex items-center justify-center w-10 h-10 mx-auto mb-2 rounded-lg sidebar-featured-tooltip__icon-wrapp bg-gray-50"},n),t().createElement(ia,{lineHeight:"tight",style:"h5",weight:"semibold",className:"mb-1 text-center neeto-ui-text-black"},r),o&&t().createElement(ia,{lineHeight:"normal",style:"body3",className:"text-center neeto-ui-text-gray-600"},o))};function Cs(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function Os(e){return e instanceof Cs(e).Element||e instanceof Element}function Es(e){return e instanceof Cs(e).HTMLElement||e instanceof HTMLElement}function Ss(e){return"undefined"!=typeof ShadowRoot&&(e instanceof Cs(e).ShadowRoot||e instanceof ShadowRoot)}var js=Math.max,Ps=Math.min,Ts=Math.round;function As(e,t){void 0===t&&(t=!1);var n=e.getBoundingClientRect(),r=1,o=1;if(Es(e)&&t){var i=e.offsetHeight,a=e.offsetWidth;a>0&&(r=Ts(n.width)/a||1),i>0&&(o=Ts(n.height)/i||1)}return{width:n.width/r,height:n.height/o,top:n.top/o,right:n.right/r,bottom:n.bottom/o,left:n.left/r,x:n.left/r,y:n.top/o}}function Ls(e){var t=Cs(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Ms(e){return e?(e.nodeName||"").toLowerCase():null}function _s(e){return((Os(e)?e.ownerDocument:e.document)||window.document).documentElement}function Ds(e){return As(_s(e)).left+Ls(e).scrollLeft}function Vs(e){return Cs(e).getComputedStyle(e)}function Ws(e){var t=Vs(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function Ns(e,t,n){void 0===n&&(n=!1);var r,o,i=Es(t),a=Es(t)&&function(e){var t=e.getBoundingClientRect(),n=Ts(t.width)/e.offsetWidth||1,r=Ts(t.height)/e.offsetHeight||1;return 1!==n||1!==r}(t),s=_s(t),u=As(e,a),c={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(i||!i&&!n)&&(("body"!==Ms(t)||Ws(s))&&(c=(r=t)!==Cs(r)&&Es(r)?{scrollLeft:(o=r).scrollLeft,scrollTop:o.scrollTop}:Ls(r)),Es(t)?((l=As(t,!0)).x+=t.clientLeft,l.y+=t.clientTop):s&&(l.x=Ds(s))),{x:u.left+c.scrollLeft-l.x,y:u.top+c.scrollTop-l.y,width:u.width,height:u.height}}function Rs(e){var t=As(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function zs(e){return"html"===Ms(e)?e:e.assignedSlot||e.parentNode||(Ss(e)?e.host:null)||_s(e)}function $s(e){return["html","body","#document"].indexOf(Ms(e))>=0?e.ownerDocument.body:Es(e)&&Ws(e)?e:$s(zs(e))}function Hs(e,t){var n;void 0===t&&(t=[]);var r=$s(e),o=r===(null==(n=e.ownerDocument)?void 0:n.body),i=Cs(r),a=o?[i].concat(i.visualViewport||[],Ws(r)?r:[]):r,s=t.concat(a);return o?s:s.concat(Hs(zs(a)))}function Is(e){return["table","td","th"].indexOf(Ms(e))>=0}function Bs(e){return Es(e)&&"fixed"!==Vs(e).position?e.offsetParent:null}function Fs(e){for(var t=Cs(e),n=Bs(e);n&&Is(n)&&"static"===Vs(n).position;)n=Bs(n);return n&&("html"===Ms(n)||"body"===Ms(n)&&"static"===Vs(n).position)?t:n||function(e){var t=-1!==navigator.userAgent.toLowerCase().indexOf("firefox");if(-1!==navigator.userAgent.indexOf("Trident")&&Es(e)&&"fixed"===Vs(e).position)return null;var n=zs(e);for(Ss(n)&&(n=n.host);Es(n)&&["html","body"].indexOf(Ms(n))<0;){var r=Vs(n);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||t&&"filter"===r.willChange||t&&r.filter&&"none"!==r.filter)return n;n=n.parentNode}return null}(e)||t}var Us="top",qs="bottom",Ys="right",Zs="left",Xs="auto",Ks=[Us,qs,Ys,Zs],Gs="start",Js="end",Qs="viewport",eu="popper",tu=Ks.reduce((function(e,t){return e.concat([t+"-"+Gs,t+"-"+Js])}),[]),nu=[].concat(Ks,[Xs]).reduce((function(e,t){return e.concat([t,t+"-"+Gs,t+"-"+Js])}),[]),ru=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function ou(e){var t=new Map,n=new Set,r=[];function o(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!n.has(e)){var r=t.get(e);r&&o(r)}})),r.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||o(e)})),r}var iu={placement:"bottom",modifiers:[],strategy:"absolute"};function au(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some((function(e){return!(e&&"function"==typeof e.getBoundingClientRect)}))}function su(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,r=void 0===n?[]:n,o=t.defaultOptions,i=void 0===o?iu:o;return function(e,t,n){void 0===n&&(n=i);var o,a,s={placement:"bottom",orderedModifiers:[],options:Object.assign({},iu,i),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},u=[],c=!1,l={state:s,setOptions:function(n){var o="function"==typeof n?n(s.options):n;f(),s.options=Object.assign({},i,s.options,o),s.scrollParents={reference:Os(e)?Hs(e):e.contextElement?Hs(e.contextElement):[],popper:Hs(t)};var a,c,p=function(e){var t=ou(e);return ru.reduce((function(e,n){return e.concat(t.filter((function(e){return e.phase===n})))}),[])}((a=[].concat(r,s.options.modifiers),c=a.reduce((function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e}),{}),Object.keys(c).map((function(e){return c[e]}))));return s.orderedModifiers=p.filter((function(e){return e.enabled})),s.orderedModifiers.forEach((function(e){var t=e.name,n=e.options,r=void 0===n?{}:n,o=e.effect;if("function"==typeof o){var i=o({state:s,name:t,instance:l,options:r});u.push(i||function(){})}})),l.update()},forceUpdate:function(){if(!c){var e=s.elements,t=e.reference,n=e.popper;if(au(t,n)){s.rects={reference:Ns(t,Fs(n),"fixed"===s.options.strategy),popper:Rs(n)},s.reset=!1,s.placement=s.options.placement,s.orderedModifiers.forEach((function(e){return s.modifiersData[e.name]=Object.assign({},e.data)}));for(var r=0;r<s.orderedModifiers.length;r++)if(!0!==s.reset){var o=s.orderedModifiers[r],i=o.fn,a=o.options,u=void 0===a?{}:a,f=o.name;"function"==typeof i&&(s=i({state:s,options:u,name:f,instance:l})||s)}else s.reset=!1,r=-1}}},update:(o=function(){return new Promise((function(e){l.forceUpdate(),e(s)}))},function(){return a||(a=new Promise((function(e){Promise.resolve().then((function(){a=void 0,e(o())}))}))),a}),destroy:function(){f(),c=!0}};if(!au(e,t))return l;function f(){u.forEach((function(e){return e()})),u=[]}return l.setOptions(n).then((function(e){!c&&n.onFirstUpdate&&n.onFirstUpdate(e)})),l}}var uu={passive:!0};function cu(e){return e.split("-")[0]}function lu(e){return e.split("-")[1]}function fu(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function pu(e){var t,n=e.reference,r=e.element,o=e.placement,i=o?cu(o):null,a=o?lu(o):null,s=n.x+n.width/2-r.width/2,u=n.y+n.height/2-r.height/2;switch(i){case Us:t={x:s,y:n.y-r.height};break;case qs:t={x:s,y:n.y+n.height};break;case Ys:t={x:n.x+n.width,y:u};break;case Zs:t={x:n.x-r.width,y:u};break;default:t={x:n.x,y:n.y}}var c=i?fu(i):null;if(null!=c){var l="y"===c?"height":"width";switch(a){case Gs:t[c]=t[c]-(n[l]/2-r[l]/2);break;case Js:t[c]=t[c]+(n[l]/2-r[l]/2)}}return t}var du={top:"auto",right:"auto",bottom:"auto",left:"auto"};function mu(e){var t,n=e.popper,r=e.popperRect,o=e.placement,i=e.variation,a=e.offsets,s=e.position,u=e.gpuAcceleration,c=e.adaptive,l=e.roundOffsets,f=e.isFixed,p=a.x,d=void 0===p?0:p,m=a.y,v=void 0===m?0:m,h="function"==typeof l?l({x:d,y:v}):{x:d,y:v};d=h.x,v=h.y;var y=a.hasOwnProperty("x"),g=a.hasOwnProperty("y"),b=Zs,x=Us,k=window;if(c){var w=Fs(n),C="clientHeight",O="clientWidth";w===Cs(n)&&"static"!==Vs(w=_s(n)).position&&"absolute"===s&&(C="scrollHeight",O="scrollWidth"),w=w,(o===Us||(o===Zs||o===Ys)&&i===Js)&&(x=qs,v-=(f&&w===k&&k.visualViewport?k.visualViewport.height:w[C])-r.height,v*=u?1:-1),o!==Zs&&(o!==Us&&o!==qs||i!==Js)||(b=Ys,d-=(f&&w===k&&k.visualViewport?k.visualViewport.width:w[O])-r.width,d*=u?1:-1)}var E,S=Object.assign({position:s},c&&du),j=!0===l?function(e){var t=e.x,n=e.y,r=window.devicePixelRatio||1;return{x:Ts(t*r)/r||0,y:Ts(n*r)/r||0}}({x:d,y:v}):{x:d,y:v};return d=j.x,v=j.y,u?Object.assign({},S,((E={})[x]=g?"0":"",E[b]=y?"0":"",E.transform=(k.devicePixelRatio||1)<=1?"translate("+d+"px, "+v+"px)":"translate3d("+d+"px, "+v+"px, 0)",E)):Object.assign({},S,((t={})[x]=g?v+"px":"",t[b]=y?d+"px":"",t.transform="",t))}const vu={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var n=t.styles[e]||{},r=t.attributes[e]||{},o=t.elements[e];Es(o)&&Ms(o)&&(Object.assign(o.style,n),Object.keys(r).forEach((function(e){var t=r[e];!1===t?o.removeAttribute(e):o.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach((function(e){var r=t.elements[e],o=t.attributes[e]||{},i=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});Es(r)&&Ms(r)&&(Object.assign(r.style,i),Object.keys(o).forEach((function(e){r.removeAttribute(e)})))}))}},requires:["computeStyles"]},hu={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.offset,i=void 0===o?[0,0]:o,a=nu.reduce((function(e,n){return e[n]=function(e,t,n){var r=cu(e),o=[Zs,Us].indexOf(r)>=0?-1:1,i="function"==typeof n?n(Object.assign({},t,{placement:e})):n,a=i[0],s=i[1];return a=a||0,s=(s||0)*o,[Zs,Ys].indexOf(r)>=0?{x:s,y:a}:{x:a,y:s}}(n,t.rects,i),e}),{}),s=a[t.placement],u=s.x,c=s.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=u,t.modifiersData.popperOffsets.y+=c),t.modifiersData[r]=a}};var yu={left:"right",right:"left",bottom:"top",top:"bottom"};function gu(e){return e.replace(/left|right|bottom|top/g,(function(e){return yu[e]}))}var bu={start:"end",end:"start"};function xu(e){return e.replace(/start|end/g,(function(e){return bu[e]}))}function ku(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&Ss(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function wu(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Cu(e,t){return t===Qs?wu(function(e){var t=Cs(e),n=_s(e),r=t.visualViewport,o=n.clientWidth,i=n.clientHeight,a=0,s=0;return r&&(o=r.width,i=r.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(a=r.offsetLeft,s=r.offsetTop)),{width:o,height:i,x:a+Ds(e),y:s}}(e)):Os(t)?function(e){var t=As(e);return t.top=t.top+e.clientTop,t.left=t.left+e.clientLeft,t.bottom=t.top+e.clientHeight,t.right=t.left+e.clientWidth,t.width=e.clientWidth,t.height=e.clientHeight,t.x=t.left,t.y=t.top,t}(t):wu(function(e){var t,n=_s(e),r=Ls(e),o=null==(t=e.ownerDocument)?void 0:t.body,i=js(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=js(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),s=-r.scrollLeft+Ds(e),u=-r.scrollTop;return"rtl"===Vs(o||n).direction&&(s+=js(n.clientWidth,o?o.clientWidth:0)-i),{width:i,height:a,x:s,y:u}}(_s(e)))}function Ou(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function Eu(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}function Su(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=void 0===r?e.placement:r,i=n.boundary,a=void 0===i?"clippingParents":i,s=n.rootBoundary,u=void 0===s?Qs:s,c=n.elementContext,l=void 0===c?eu:c,f=n.altBoundary,p=void 0!==f&&f,d=n.padding,m=void 0===d?0:d,v=Ou("number"!=typeof m?m:Eu(m,Ks)),h=l===eu?"reference":eu,y=e.rects.popper,g=e.elements[p?h:l],b=function(e,t,n){var r="clippingParents"===t?function(e){var t=Hs(zs(e)),n=["absolute","fixed"].indexOf(Vs(e).position)>=0&&Es(e)?Fs(e):e;return Os(n)?t.filter((function(e){return Os(e)&&ku(e,n)&&"body"!==Ms(e)})):[]}(e):[].concat(t),o=[].concat(r,[n]),i=o[0],a=o.reduce((function(t,n){var r=Cu(e,n);return t.top=js(r.top,t.top),t.right=Ps(r.right,t.right),t.bottom=Ps(r.bottom,t.bottom),t.left=js(r.left,t.left),t}),Cu(e,i));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}(Os(g)?g:g.contextElement||_s(e.elements.popper),a,u),x=As(e.elements.reference),k=pu({reference:x,element:y,strategy:"absolute",placement:o}),w=wu(Object.assign({},y,k)),C=l===eu?w:x,O={top:b.top-C.top+v.top,bottom:C.bottom-b.bottom+v.bottom,left:b.left-C.left+v.left,right:C.right-b.right+v.right},E=e.modifiersData.offset;if(l===eu&&E){var S=E[o];Object.keys(O).forEach((function(e){var t=[Ys,qs].indexOf(e)>=0?1:-1,n=[Us,qs].indexOf(e)>=0?"y":"x";O[e]+=S[n]*t}))}return O}const ju={name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var o=n.mainAxis,i=void 0===o||o,a=n.altAxis,s=void 0===a||a,u=n.fallbackPlacements,c=n.padding,l=n.boundary,f=n.rootBoundary,p=n.altBoundary,d=n.flipVariations,m=void 0===d||d,v=n.allowedAutoPlacements,h=t.options.placement,y=cu(h),g=u||(y!==h&&m?function(e){if(cu(e)===Xs)return[];var t=gu(e);return[xu(e),t,xu(t)]}(h):[gu(h)]),b=[h].concat(g).reduce((function(e,n){return e.concat(cu(n)===Xs?function(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=n.boundary,i=n.rootBoundary,a=n.padding,s=n.flipVariations,u=n.allowedAutoPlacements,c=void 0===u?nu:u,l=lu(r),f=l?s?tu:tu.filter((function(e){return lu(e)===l})):Ks,p=f.filter((function(e){return c.indexOf(e)>=0}));0===p.length&&(p=f);var d=p.reduce((function(t,n){return t[n]=Su(e,{placement:n,boundary:o,rootBoundary:i,padding:a})[cu(n)],t}),{});return Object.keys(d).sort((function(e,t){return d[e]-d[t]}))}(t,{placement:n,boundary:l,rootBoundary:f,padding:c,flipVariations:m,allowedAutoPlacements:v}):n)}),[]),x=t.rects.reference,k=t.rects.popper,w=new Map,C=!0,O=b[0],E=0;E<b.length;E++){var S=b[E],j=cu(S),P=lu(S)===Gs,T=[Us,qs].indexOf(j)>=0,A=T?"width":"height",L=Su(t,{placement:S,boundary:l,rootBoundary:f,altBoundary:p,padding:c}),M=T?P?Ys:Zs:P?qs:Us;x[A]>k[A]&&(M=gu(M));var _=gu(M),D=[];if(i&&D.push(L[j]<=0),s&&D.push(L[M]<=0,L[_]<=0),D.every((function(e){return e}))){O=S,C=!1;break}w.set(S,D)}if(C)for(var V=function(e){var t=b.find((function(t){var n=w.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return O=t,"break"},W=m?3:1;W>0&&"break"!==V(W);W--);t.placement!==O&&(t.modifiersData[r]._skip=!0,t.placement=O,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function Pu(e,t,n){return js(e,Ps(t,n))}const Tu={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.mainAxis,i=void 0===o||o,a=n.altAxis,s=void 0!==a&&a,u=n.boundary,c=n.rootBoundary,l=n.altBoundary,f=n.padding,p=n.tether,d=void 0===p||p,m=n.tetherOffset,v=void 0===m?0:m,h=Su(t,{boundary:u,rootBoundary:c,padding:f,altBoundary:l}),y=cu(t.placement),g=lu(t.placement),b=!g,x=fu(y),k="x"===x?"y":"x",w=t.modifiersData.popperOffsets,C=t.rects.reference,O=t.rects.popper,E="function"==typeof v?v(Object.assign({},t.rects,{placement:t.placement})):v,S="number"==typeof E?{mainAxis:E,altAxis:E}:Object.assign({mainAxis:0,altAxis:0},E),j=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,P={x:0,y:0};if(w){if(i){var T,A="y"===x?Us:Zs,L="y"===x?qs:Ys,M="y"===x?"height":"width",_=w[x],D=_+h[A],V=_-h[L],W=d?-O[M]/2:0,N=g===Gs?C[M]:O[M],R=g===Gs?-O[M]:-C[M],z=t.elements.arrow,$=d&&z?Rs(z):{width:0,height:0},H=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},I=H[A],B=H[L],F=Pu(0,C[M],$[M]),U=b?C[M]/2-W-F-I-S.mainAxis:N-F-I-S.mainAxis,q=b?-C[M]/2+W+F+B+S.mainAxis:R+F+B+S.mainAxis,Y=t.elements.arrow&&Fs(t.elements.arrow),Z=Y?"y"===x?Y.clientTop||0:Y.clientLeft||0:0,X=null!=(T=null==j?void 0:j[x])?T:0,K=_+q-X,G=Pu(d?Ps(D,_+U-X-Z):D,_,d?js(V,K):V);w[x]=G,P[x]=G-_}if(s){var J,Q="x"===x?Us:Zs,ee="x"===x?qs:Ys,te=w[k],ne="y"===k?"height":"width",re=te+h[Q],oe=te-h[ee],ie=-1!==[Us,Zs].indexOf(y),ae=null!=(J=null==j?void 0:j[k])?J:0,se=ie?re:te-C[ne]-O[ne]-ae+S.altAxis,ue=ie?te+C[ne]+O[ne]-ae-S.altAxis:oe,ce=d&&ie?function(e,t,n){var r=Pu(e,t,n);return r>n?n:r}(se,te,ue):Pu(d?se:re,te,d?ue:oe);w[k]=ce,P[k]=ce-te}t.modifiersData[r]=P}},requiresIfExists:["offset"]};function Au(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function Lu(e){return[Us,Ys,qs,Zs].some((function(t){return e[t]>=0}))}var Mu=su({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,r=e.options,o=r.scroll,i=void 0===o||o,a=r.resize,s=void 0===a||a,u=Cs(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&c.forEach((function(e){e.addEventListener("scroll",n.update,uu)})),s&&u.addEventListener("resize",n.update,uu),function(){i&&c.forEach((function(e){e.removeEventListener("scroll",n.update,uu)})),s&&u.removeEventListener("resize",n.update,uu)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=pu({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,r=n.gpuAcceleration,o=void 0===r||r,i=n.adaptive,a=void 0===i||i,s=n.roundOffsets,u=void 0===s||s,c={placement:cu(t.placement),variation:lu(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,mu(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:u})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,mu(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:u})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},vu,hu,ju,Tu,{name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,r=e.name,o=e.options,i=n.elements.arrow,a=n.modifiersData.popperOffsets,s=cu(n.placement),u=fu(s),c=[Zs,Ys].indexOf(s)>=0?"height":"width";if(i&&a){var l=function(e,t){return Ou("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:Eu(e,Ks))}(o.padding,n),f=Rs(i),p="y"===u?Us:Zs,d="y"===u?qs:Ys,m=n.rects.reference[c]+n.rects.reference[u]-a[u]-n.rects.popper[c],v=a[u]-n.rects.reference[u],h=Fs(i),y=h?"y"===u?h.clientHeight||0:h.clientWidth||0:0,g=m/2-v/2,b=l[p],x=y-f[c]-l[d],k=y/2-f[c]/2+g,w=Pu(b,k,x),C=u;n.modifiersData[r]=((t={})[C]=w,t.centerOffset=w-k,t)}},effect:function(e){var t=e.state,n=e.options.element,r=void 0===n?"[data-popper-arrow]":n;null!=r&&("string"!=typeof r||(r=t.elements.popper.querySelector(r)))&&ku(t.elements.popper,r)&&(t.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,r=t.rects.reference,o=t.rects.popper,i=t.modifiersData.preventOverflow,a=Su(t,{elementContext:"reference"}),s=Su(t,{altBoundary:!0}),u=Au(a,r),c=Au(s,o,i),l=Lu(u),f=Lu(c);t.modifiersData[n]={referenceClippingOffsets:u,popperEscapeOffsets:c,isReferenceHidden:l,hasPopperEscaped:f},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":l,"data-popper-escaped":f})}}]}),_u="tippy-content",Du="tippy-arrow",Vu="tippy-svg-arrow",Wu={passive:!0,capture:!0},Nu=function(){return document.body};function Ru(e,t,n){if(Array.isArray(e)){var r=e[t];return null==r?Array.isArray(n)?n[t]:n:r}return e}function zu(e,t){var n={}.toString.call(e);return 0===n.indexOf("[object")&&n.indexOf(t+"]")>-1}function $u(e,t){return"function"==typeof e?e.apply(void 0,t):e}function Hu(e,t){return 0===t?e:function(r){clearTimeout(n),n=setTimeout((function(){e(r)}),t)};var n}function Iu(e){return[].concat(e)}function Bu(e,t){-1===e.indexOf(t)&&e.push(t)}function Fu(e){return[].slice.call(e)}function Uu(e){return Object.keys(e).reduce((function(t,n){return void 0!==e[n]&&(t[n]=e[n]),t}),{})}function qu(){return document.createElement("div")}function Yu(e){return["Element","Fragment"].some((function(t){return zu(e,t)}))}function Zu(e){return zu(e,"MouseEvent")}function Xu(e,t){e.forEach((function(e){e&&(e.style.transitionDuration=t+"ms")}))}function Ku(e,t){e.forEach((function(e){e&&e.setAttribute("data-state",t)}))}function Gu(e){var t,n=Iu(e)[0];return null!=n&&null!=(t=n.ownerDocument)&&t.body?n.ownerDocument:document}function Ju(e,t,n){var r=t+"EventListener";["transitionend","webkitTransitionEnd"].forEach((function(t){e[r](t,n)}))}function Qu(e,t){for(var n=t;n;){var r;if(e.contains(n))return!0;n=null==n.getRootNode||null==(r=n.getRootNode())?void 0:r.host}return!1}var ec={isTouch:!1},tc=0;function nc(){ec.isTouch||(ec.isTouch=!0,window.performance&&document.addEventListener("mousemove",rc))}function rc(){var e=performance.now();e-tc<20&&(ec.isTouch=!1,document.removeEventListener("mousemove",rc)),tc=e}function oc(){var e,t=document.activeElement;if((e=t)&&e._tippy&&e._tippy.reference===e){var n=t._tippy;t.blur&&!n.state.isVisible&&t.blur()}}var ic=!("undefined"==typeof window||"undefined"==typeof document||!window.msCrypto),ac=Object.assign({appendTo:Nu,aria:{content:"auto",expanded:"auto"},delay:0,duration:[300,250],getReferenceClientRect:null,hideOnClick:!0,ignoreAttributes:!1,interactive:!1,interactiveBorder:2,interactiveDebounce:0,moveTransition:"",offset:[0,10],onAfterUpdate:function(){},onBeforeUpdate:function(){},onCreate:function(){},onDestroy:function(){},onHidden:function(){},onHide:function(){},onMount:function(){},onShow:function(){},onShown:function(){},onTrigger:function(){},onUntrigger:function(){},onClickOutside:function(){},placement:"top",plugins:[],popperOptions:{},render:null,showOnCreate:!1,touch:!0,trigger:"mouseenter focus",triggerTarget:null},{animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},{allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999}),sc=Object.keys(ac);function uc(e){var t=(e.plugins||[]).reduce((function(t,n){var r,o=n.name,i=n.defaultValue;return o&&(t[o]=void 0!==e[o]?e[o]:null!=(r=ac[o])?r:i),t}),{});return Object.assign({},e,t)}function cc(e,t){var n=Object.assign({},t,{content:$u(t.content,[e])},t.ignoreAttributes?{}:function(e,t){return(t?Object.keys(uc(Object.assign({},ac,{plugins:t}))):sc).reduce((function(t,n){var r=(e.getAttribute("data-tippy-"+n)||"").trim();if(!r)return t;if("content"===n)t[n]=r;else try{t[n]=JSON.parse(r)}catch(e){t[n]=r}return t}),{})}(e,t.plugins));return n.aria=Object.assign({},ac.aria,n.aria),n.aria={expanded:"auto"===n.aria.expanded?t.interactive:n.aria.expanded,content:"auto"===n.aria.content?t.interactive?null:"describedby":n.aria.content},n}function lc(e,t){e.innerHTML=t}function fc(e){var t=qu();return!0===e?t.className=Du:(t.className=Vu,Yu(e)?t.appendChild(e):lc(t,e)),t}function pc(e,t){Yu(t.content)?(lc(e,""),e.appendChild(t.content)):"function"!=typeof t.content&&(t.allowHTML?lc(e,t.content):e.textContent=t.content)}function dc(e){var t=e.firstElementChild,n=Fu(t.children);return{box:t,content:n.find((function(e){return e.classList.contains(_u)})),arrow:n.find((function(e){return e.classList.contains(Du)||e.classList.contains(Vu)})),backdrop:n.find((function(e){return e.classList.contains("tippy-backdrop")}))}}function mc(e){var t=qu(),n=qu();n.className="tippy-box",n.setAttribute("data-state","hidden"),n.setAttribute("tabindex","-1");var r=qu();function o(n,r){var o=dc(t),i=o.box,a=o.content,s=o.arrow;r.theme?i.setAttribute("data-theme",r.theme):i.removeAttribute("data-theme"),"string"==typeof r.animation?i.setAttribute("data-animation",r.animation):i.removeAttribute("data-animation"),r.inertia?i.setAttribute("data-inertia",""):i.removeAttribute("data-inertia"),i.style.maxWidth="number"==typeof r.maxWidth?r.maxWidth+"px":r.maxWidth,r.role?i.setAttribute("role",r.role):i.removeAttribute("role"),n.content===r.content&&n.allowHTML===r.allowHTML||pc(a,e.props),r.arrow?s?n.arrow!==r.arrow&&(i.removeChild(s),i.appendChild(fc(r.arrow))):i.appendChild(fc(r.arrow)):s&&i.removeChild(s)}return r.className=_u,r.setAttribute("data-state","hidden"),pc(r,e.props),t.appendChild(n),n.appendChild(r),o(e.props,e.props),{popper:t,onUpdate:o}}mc.$$tippy=!0;var vc=1,hc=[],yc=[];function gc(e,t){var n,r,o,i,a,s,u,c,l=cc(e,Object.assign({},ac,uc(Uu(t)))),f=!1,p=!1,d=!1,m=!1,v=[],h=Hu(Y,l.interactiveDebounce),y=vc++,g=(c=l.plugins).filter((function(e,t){return c.indexOf(e)===t})),b={id:y,reference:e,popper:qu(),popperInstance:null,props:l,state:{isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},plugins:g,clearDelayTimeouts:function(){clearTimeout(n),clearTimeout(r),cancelAnimationFrame(o)},setProps:function(t){if(!b.state.isDestroyed){_("onBeforeUpdate",[b,t]),U();var n=b.props,r=cc(e,Object.assign({},n,Uu(t),{ignoreAttributes:!0}));b.props=r,F(),n.interactiveDebounce!==r.interactiveDebounce&&(W(),h=Hu(Y,r.interactiveDebounce)),n.triggerTarget&&!r.triggerTarget?Iu(n.triggerTarget).forEach((function(e){e.removeAttribute("aria-expanded")})):r.triggerTarget&&e.removeAttribute("aria-expanded"),V(),M(),w&&w(n,r),b.popperInstance&&(G(),Q().forEach((function(e){requestAnimationFrame(e._tippy.popperInstance.forceUpdate)}))),_("onAfterUpdate",[b,t])}},setContent:function(e){b.setProps({content:e})},show:function(){var e=b.state.isVisible,t=b.state.isDestroyed,n=!b.state.isEnabled,r=ec.isTouch&&!b.props.touch,o=Ru(b.props.duration,0,ac.duration);if(!(e||t||n||r||P().hasAttribute("disabled")||(_("onShow",[b],!1),!1===b.props.onShow(b)))){if(b.state.isVisible=!0,j()&&(k.style.visibility="visible"),M(),$(),b.state.isMounted||(k.style.transition="none"),j()){var i=A();Xu([i.box,i.content],0)}var a,u,c;s=function(){var e;if(b.state.isVisible&&!m){if(m=!0,k.offsetHeight,k.style.transition=b.props.moveTransition,j()&&b.props.animation){var t=A(),n=t.box,r=t.content;Xu([n,r],o),Ku([n,r],"visible")}D(),V(),Bu(yc,b),null==(e=b.popperInstance)||e.forceUpdate(),_("onMount",[b]),b.props.animation&&j()&&function(e,t){I(e,(function(){b.state.isShown=!0,_("onShown",[b])}))}(o)}},u=b.props.appendTo,c=P(),(a=b.props.interactive&&u===Nu||"parent"===u?c.parentNode:$u(u,[c])).contains(k)||a.appendChild(k),b.state.isMounted=!0,G()}},hide:function(){var e=!b.state.isVisible,t=b.state.isDestroyed,n=!b.state.isEnabled,r=Ru(b.props.duration,1,ac.duration);if(!(e||t||n)&&(_("onHide",[b],!1),!1!==b.props.onHide(b))){if(b.state.isVisible=!1,b.state.isShown=!1,m=!1,f=!1,j()&&(k.style.visibility="hidden"),W(),H(),M(!0),j()){var o=A(),i=o.box,a=o.content;b.props.animation&&(Xu([i,a],r),Ku([i,a],"hidden"))}D(),V(),b.props.animation?j()&&function(e,t){I(e,(function(){!b.state.isVisible&&k.parentNode&&k.parentNode.contains(k)&&t()}))}(r,b.unmount):b.unmount()}},hideWithInteractivity:function(e){T().addEventListener("mousemove",h),Bu(hc,h),h(e)},enable:function(){b.state.isEnabled=!0},disable:function(){b.hide(),b.state.isEnabled=!1},unmount:function(){b.state.isVisible&&b.hide(),b.state.isMounted&&(J(),Q().forEach((function(e){e._tippy.unmount()})),k.parentNode&&k.parentNode.removeChild(k),yc=yc.filter((function(e){return e!==b})),b.state.isMounted=!1,_("onHidden",[b]))},destroy:function(){b.state.isDestroyed||(b.clearDelayTimeouts(),b.unmount(),U(),delete e._tippy,b.state.isDestroyed=!0,_("onDestroy",[b]))}};if(!l.render)return b;var x=l.render(b),k=x.popper,w=x.onUpdate;k.setAttribute("data-tippy-root",""),k.id="tippy-"+b.id,b.popper=k,e._tippy=b,k._tippy=b;var C=g.map((function(e){return e.fn(b)})),O=e.hasAttribute("aria-expanded");return F(),V(),M(),_("onCreate",[b]),l.showOnCreate&&ee(),k.addEventListener("mouseenter",(function(){b.props.interactive&&b.state.isVisible&&b.clearDelayTimeouts()})),k.addEventListener("mouseleave",(function(){b.props.interactive&&b.props.trigger.indexOf("mouseenter")>=0&&T().addEventListener("mousemove",h)})),b;function E(){var e=b.props.touch;return Array.isArray(e)?e:[e,0]}function S(){return"hold"===E()[0]}function j(){var e;return!(null==(e=b.props.render)||!e.$$tippy)}function P(){return u||e}function T(){var e=P().parentNode;return e?Gu(e):document}function A(){return dc(k)}function L(e){return b.state.isMounted&&!b.state.isVisible||ec.isTouch||i&&"focus"===i.type?0:Ru(b.props.delay,e?0:1,ac.delay)}function M(e){void 0===e&&(e=!1),k.style.pointerEvents=b.props.interactive&&!e?"":"none",k.style.zIndex=""+b.props.zIndex}function _(e,t,n){var r;void 0===n&&(n=!0),C.forEach((function(n){n[e]&&n[e].apply(n,t)})),n&&(r=b.props)[e].apply(r,t)}function D(){var t=b.props.aria;if(t.content){var n="aria-"+t.content,r=k.id;Iu(b.props.triggerTarget||e).forEach((function(e){var t=e.getAttribute(n);if(b.state.isVisible)e.setAttribute(n,t?t+" "+r:r);else{var o=t&&t.replace(r,"").trim();o?e.setAttribute(n,o):e.removeAttribute(n)}}))}}function V(){!O&&b.props.aria.expanded&&Iu(b.props.triggerTarget||e).forEach((function(e){b.props.interactive?e.setAttribute("aria-expanded",b.state.isVisible&&e===P()?"true":"false"):e.removeAttribute("aria-expanded")}))}function W(){T().removeEventListener("mousemove",h),hc=hc.filter((function(e){return e!==h}))}function N(t){if(!ec.isTouch||!d&&"mousedown"!==t.type){var n=t.composedPath&&t.composedPath()[0]||t.target;if(!b.props.interactive||!Qu(k,n)){if(Iu(b.props.triggerTarget||e).some((function(e){return Qu(e,n)}))){if(ec.isTouch)return;if(b.state.isVisible&&b.props.trigger.indexOf("click")>=0)return}else _("onClickOutside",[b,t]);!0===b.props.hideOnClick&&(b.clearDelayTimeouts(),b.hide(),p=!0,setTimeout((function(){p=!1})),b.state.isMounted||H())}}}function R(){d=!0}function z(){d=!1}function $(){var e=T();e.addEventListener("mousedown",N,!0),e.addEventListener("touchend",N,Wu),e.addEventListener("touchstart",z,Wu),e.addEventListener("touchmove",R,Wu)}function H(){var e=T();e.removeEventListener("mousedown",N,!0),e.removeEventListener("touchend",N,Wu),e.removeEventListener("touchstart",z,Wu),e.removeEventListener("touchmove",R,Wu)}function I(e,t){var n=A().box;function r(e){e.target===n&&(Ju(n,"remove",r),t())}if(0===e)return t();Ju(n,"remove",a),Ju(n,"add",r),a=r}function B(t,n,r){void 0===r&&(r=!1),Iu(b.props.triggerTarget||e).forEach((function(e){e.addEventListener(t,n,r),v.push({node:e,eventType:t,handler:n,options:r})}))}function F(){var e;S()&&(B("touchstart",q,{passive:!0}),B("touchend",Z,{passive:!0})),(e=b.props.trigger,e.split(/\s+/).filter(Boolean)).forEach((function(e){if("manual"!==e)switch(B(e,q),e){case"mouseenter":B("mouseleave",Z);break;case"focus":B(ic?"focusout":"blur",X);break;case"focusin":B("focusout",X)}}))}function U(){v.forEach((function(e){var t=e.node,n=e.eventType,r=e.handler,o=e.options;t.removeEventListener(n,r,o)})),v=[]}function q(e){var t,n=!1;if(b.state.isEnabled&&!K(e)&&!p){var r="focus"===(null==(t=i)?void 0:t.type);i=e,u=e.currentTarget,V(),!b.state.isVisible&&Zu(e)&&hc.forEach((function(t){return t(e)})),"click"===e.type&&(b.props.trigger.indexOf("mouseenter")<0||f)&&!1!==b.props.hideOnClick&&b.state.isVisible?n=!0:ee(e),"click"===e.type&&(f=!n),n&&!r&&te(e)}}function Y(e){var t=e.target,n=P().contains(t)||k.contains(t);if("mousemove"!==e.type||!n){var r=Q().concat(k).map((function(e){var t,n=null==(t=e._tippy.popperInstance)?void 0:t.state;return n?{popperRect:e.getBoundingClientRect(),popperState:n,props:l}:null})).filter(Boolean);(function(e,t){var n=t.clientX,r=t.clientY;return e.every((function(e){var t=e.popperRect,o=e.popperState,i=e.props.interactiveBorder,a=o.placement.split("-")[0],s=o.modifiersData.offset;if(!s)return!0;var u="bottom"===a?s.top.y:0,c="top"===a?s.bottom.y:0,l="right"===a?s.left.x:0,f="left"===a?s.right.x:0,p=t.top-r+u>i,d=r-t.bottom-c>i,m=t.left-n+l>i,v=n-t.right-f>i;return p||d||m||v}))})(r,e)&&(W(),te(e))}}function Z(e){K(e)||b.props.trigger.indexOf("click")>=0&&f||(b.props.interactive?b.hideWithInteractivity(e):te(e))}function X(e){b.props.trigger.indexOf("focusin")<0&&e.target!==P()||b.props.interactive&&e.relatedTarget&&k.contains(e.relatedTarget)||te(e)}function K(e){return!!ec.isTouch&&S()!==e.type.indexOf("touch")>=0}function G(){J();var t=b.props,n=t.popperOptions,r=t.placement,o=t.offset,i=t.getReferenceClientRect,a=t.moveTransition,u=j()?dc(k).arrow:null,c=i?{getBoundingClientRect:i,contextElement:i.contextElement||P()}:e,l=[{name:"offset",options:{offset:o}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!a}},{name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(e){var t=e.state;if(j()){var n=A().box;["placement","reference-hidden","escaped"].forEach((function(e){"placement"===e?n.setAttribute("data-placement",t.placement):t.attributes.popper["data-popper-"+e]?n.setAttribute("data-"+e,""):n.removeAttribute("data-"+e)})),t.attributes.popper={}}}}];j()&&u&&l.push({name:"arrow",options:{element:u,padding:3}}),l.push.apply(l,(null==n?void 0:n.modifiers)||[]),b.popperInstance=Mu(c,k,Object.assign({},n,{placement:r,onFirstUpdate:s,modifiers:l}))}function J(){b.popperInstance&&(b.popperInstance.destroy(),b.popperInstance=null)}function Q(){return Fu(k.querySelectorAll("[data-tippy-root]"))}function ee(e){b.clearDelayTimeouts(),e&&_("onTrigger",[b,e]),$();var t=L(!0),r=E(),o=r[0],i=r[1];ec.isTouch&&"hold"===o&&i&&(t=i),t?n=setTimeout((function(){b.show()}),t):b.show()}function te(e){if(b.clearDelayTimeouts(),_("onUntrigger",[b,e]),b.state.isVisible){if(!(b.props.trigger.indexOf("mouseenter")>=0&&b.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(e.type)>=0&&f)){var t=L(!1);t?r=setTimeout((function(){b.state.isVisible&&b.hide()}),t):o=requestAnimationFrame((function(){b.hide()}))}}else H()}}function bc(e,t){void 0===t&&(t={});var n=ac.plugins.concat(t.plugins||[]);document.addEventListener("touchstart",nc,Wu),window.addEventListener("blur",oc);var r,o=Object.assign({},t,{plugins:n}),i=(r=e,Yu(r)?[r]:function(e){return zu(e,"NodeList")}(r)?Fu(r):Array.isArray(r)?r:Fu(document.querySelectorAll(r))).reduce((function(e,t){var n=t&&gc(t,o);return n&&e.push(n),e}),[]);return Yu(e)?i[0]:i}bc.defaultProps=ac,bc.setDefaultProps=function(e){Object.keys(e).forEach((function(t){ac[t]=e[t]}))},bc.currentInput=ec,Object.assign({},vu,{effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow)}});var xc={clientX:0,clientY:0},kc=[];function wc(e){var t=e.clientX,n=e.clientY;xc={clientX:t,clientY:n}}var Cc={name:"followCursor",defaultValue:!1,fn:function(e){var t=e.reference,n=Gu(e.props.triggerTarget||t),r=!1,o=!1,i=!0,a=e.props;function s(){return"initial"===e.props.followCursor&&e.state.isVisible}function u(){n.addEventListener("mousemove",f)}function c(){n.removeEventListener("mousemove",f)}function l(){r=!0,e.setProps({getReferenceClientRect:null}),r=!1}function f(n){var r=!n.target||t.contains(n.target),o=e.props.followCursor,i=n.clientX,a=n.clientY,s=t.getBoundingClientRect(),u=i-s.left,c=a-s.top;!r&&e.props.interactive||e.setProps({getReferenceClientRect:function(){var e=t.getBoundingClientRect(),n=i,r=a;"initial"===o&&(n=e.left+u,r=e.top+c);var s="horizontal"===o?e.top:r,l="vertical"===o?e.right:n,f="horizontal"===o?e.bottom:r,p="vertical"===o?e.left:n;return{width:l-p,height:f-s,top:s,right:l,bottom:f,left:p}}})}function p(){e.props.followCursor&&(kc.push({instance:e,doc:n}),function(e){e.addEventListener("mousemove",wc)}(n))}function d(){0===(kc=kc.filter((function(t){return t.instance!==e}))).filter((function(e){return e.doc===n})).length&&function(e){e.removeEventListener("mousemove",wc)}(n)}return{onCreate:p,onDestroy:d,onBeforeUpdate:function(){a=e.props},onAfterUpdate:function(t,n){var i=n.followCursor;r||void 0!==i&&a.followCursor!==i&&(d(),i?(p(),!e.state.isMounted||o||s()||u()):(c(),l()))},onMount:function(){e.props.followCursor&&!o&&(i&&(f(xc),i=!1),s()||u())},onTrigger:function(e,t){Zu(t)&&(xc={clientX:t.clientX,clientY:t.clientY}),o="focus"===t.type},onHidden:function(){e.props.followCursor&&(l(),c(),i=!0)}}}};bc.setDefaultProps({render:mc});const Oc=bc;var Ec=i(7111);function Sc(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 jc="undefined"!=typeof window&&"undefined"!=typeof document;function Pc(e,t){e&&("function"==typeof e&&e(t),{}.hasOwnProperty.call(e,"current")&&(e.current=t))}function Tc(){return jc&&document.createElement("div")}function Ac(e,t){if(e===t)return!0;if("object"==typeof e&&null!=e&&"object"==typeof t&&null!=t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var n in e){if(!t.hasOwnProperty(n))return!1;if(!Ac(e[n],t[n]))return!1}return!0}return!1}function Lc(e){var t=[];return e.forEach((function(e){t.find((function(t){return Ac(e,t)}))||t.push(e)})),t}var Mc=jc?e.useLayoutEffect:e.useEffect;function _c(e,t,n){n.split(/\s+/).forEach((function(n){n&&e.classList[t](n)}))}var Dc={name:"className",defaultValue:"",fn:function(e){var t=e.popper.firstElementChild,n=function(){var t;return!!(null==(t=e.props.render)?void 0:t.$$tippy)};function r(){e.props.className&&!n()||_c(t,"add",e.props.className)}return{onCreate:r,onBeforeUpdate:function(){n()&&_c(t,"remove",e.props.className)},onAfterUpdate:r}}};function Vc(n){return function(r){var o,i,a=r.children,s=r.content,u=r.visible,c=r.singleton,l=r.render,f=r.reference,p=r.disabled,d=void 0!==p&&p,m=r.ignoreAttributes,v=void 0===m||m,h=(r.__source,r.__self,Sc(r,["children","content","visible","singleton","render","reference","disabled","ignoreAttributes","__source","__self"])),y=void 0!==u,g=void 0!==c,b=(0,e.useState)(!1),x=b[0],k=b[1],w=(0,e.useState)({}),C=w[0],O=w[1],E=(0,e.useState)(),S=E[0],j=E[1],P=(o=function(){return{container:Tc(),renders:1}},(i=(0,e.useRef)()).current||(i.current="function"==typeof o?o():o),i.current),T=Object.assign({ignoreAttributes:v},h,{content:P.container});y&&(T.trigger="manual",T.hideOnClick=!1),g&&(d=!0);var A=T,L=T.plugins||[];l&&(A=Object.assign({},T,{plugins:g?[].concat(L,[{fn:function(){return{onTrigger:function(e,t){var n=c.data.children.find((function(e){return e.instance.reference===t.currentTarget})).content;j(n)}}}}]):L,render:function(){return{popper:P.container}}}));var M=[f].concat(a?[a.type]:[]);return Mc((function(){var e=f;f&&f.hasOwnProperty("current")&&(e=f.current);var t=n(e||P.ref||Tc(),Object.assign({},A,{plugins:[Dc].concat(T.plugins||[])}));return P.instance=t,d&&t.disable(),u&&t.show(),g&&c.hook({instance:t,content:s,props:A}),k(!0),function(){t.destroy(),null==c||c.cleanup(t)}}),M),Mc((function(){var e,t,n,r,o;if(1!==P.renders){var i=P.instance;i.setProps((t=i.props,n=A,Object.assign({},n,{popperOptions:Object.assign({},t.popperOptions,n.popperOptions,{modifiers:Lc([].concat((null==(r=t.popperOptions)?void 0:r.modifiers)||[],(null==(o=n.popperOptions)?void 0:o.modifiers)||[]))})}))),null==(e=i.popperInstance)||e.forceUpdate(),d?i.disable():i.enable(),y&&(u?i.show():i.hide()),g&&c.hook({instance:i,content:s,props:A})}else P.renders++})),Mc((function(){var e;if(l){var t=P.instance;t.setProps({popperOptions:Object.assign({},t.props.popperOptions,{modifiers:[].concat(((null==(e=t.props.popperOptions)?void 0:e.modifiers)||[]).filter((function(e){return"$$tippyReact"!==e.name})),[{name:"$$tippyReact",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(e){var t,n=e.state,r=null==(t=n.modifiersData)?void 0:t.hide;C.placement===n.placement&&C.referenceHidden===(null==r?void 0:r.isReferenceHidden)&&C.escaped===(null==r?void 0:r.hasPopperEscaped)||O({placement:n.placement,referenceHidden:null==r?void 0:r.isReferenceHidden,escaped:null==r?void 0:r.hasPopperEscaped}),n.attributes.popper={}}}])})})}}),[C.placement,C.referenceHidden,C.escaped].concat(M)),t().createElement(t().Fragment,null,a?(0,e.cloneElement)(a,{ref:function(e){P.ref=e,Pc(a.ref,e)}}):null,x&&(0,Ec.createPortal)(l?l(function(e){var t={"data-placement":e.placement};return e.referenceHidden&&(t["data-reference-hidden"]=""),e.escaped&&(t["data-escaped"]=""),t}(C),S,P.instance):s,P.container))}}var Wc=function(n,r){return(0,e.forwardRef)((function(o,i){var a=o.children,s=Sc(o,["children"]);return t().createElement(n,Object.assign({},r,s),a?(0,e.cloneElement)(a,{ref:function(e){Pc(i,e),Pc(a.ref,e)}}):null)}))};const Nc=Wc(Vc(Oc));var Rc="blur(0px)",zc="blur(2px)",$c=["content","children","theme","disabled","position","interactive","hideAfter","hideOnTargetExit"];function Hc(){return Hc=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},Hc.apply(this,arguments)}function Ic(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}var Bc=function(n){var r=n.content,o=n.children,i=n.theme,a=void 0===i?"dark":i,s=n.disabled,u=void 0!==s&&s,c=n.position,l=void 0===c?"auto":c,f=n.interactive,p=void 0!==f&&f,d=n.hideAfter,m=void 0===d?-1:d,v=n.hideOnTargetExit,h=void 0!==v&&v,y=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}(n,$c),g=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Ic(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(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Ic(e,t):void 0}}(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.")}()}((0,e.useState)(null),2),b=g[0],x=g[1],k={};return m>0&&(k.onShow=function(e){return setTimeout((function(){return e.hide()}),m)}),(0,e.useEffect)((function(){if(h){var e=new IntersectionObserver((function(e){e.forEach((function(e){return!e.isIntersecting&&(null==b?void 0:b.hide())}))}));return(null==b?void 0:b.reference)&&e.observe(null==b?void 0:b.reference),function(){return e.disconnect()}}}),[b,h]),t().createElement(Nc,Hc({role:"tooltip",theme:a,content:r,arrow:"<svg width='12' height='6' viewBox='0 0 10 5' fill='none' xmlns='http://www.w3.org/2000/svg'><path d='M10 5H0.926697L3.95208 1.63847C4.74227 0.760478 6.11722 0.754951 6.91445 1.62656L10 5Z' /></svg>",disabled:u,animation:"scale-subtle",placement:l,plugins:[Cc],interactive:p,duration:[100,200],zIndex:100001,onCreate:function(e){return x(e)}},k,y),o)};Bc.propTypes={content:Zi().node,children:Zi().node,theme:Zi().oneOf(["dark","light"]),disabled:Zi().bool,position:Zi().string,interactive:Zi().bool,hideAfter:Zi().number,hideOnTargetExit:Zi().bool};const Fc=Bc;var Uc={default:"default",featured:"featured"},qc={expanded:{maxWidth:320},collapsed:{maxWidth:64}};const Yc=function(e){var n=e.tooltipStyle,r=e.description,o=e.icon,i=e.collapsed,a=e.label,s=e.children,u=n===Uc.featured?t().createElement(ws,{description:r,icon:o,label:a}):a;return i?t().createElement(Fc,{position:"right",distance:"20rem",content:u,theme:n===Uc.featured?"light":"dark",className:qi()({"sidebar-featured-tooltip__content":n===Uc.featured}),delay:[400,40],duration:[200,200]},s):s},Zc=function(e){var n=e.appName,r=e.collapsed,o=e.tooltipStyle,i=e.onAppSwitcherToggle;return t().createElement(Yc,{collapsed:r,label:"App Switcher",tooltipStyle:o,icon:t().createElement(ks,null)},t().createElement("button",{onClick:i,"data-cy":"app-switcher-button",className:"shadow-none neeto-ui-flex neeto-ui-items-center neeto-ui-justify-start neeto-ui-w-full neeto-ui-select-none neeto-ui-sidebar__link neeto-ui-sidebar__link--app-switcher neeto-ui-sidebar__link--button"},t().createElement("span",{className:"neeto-ui-flex neeto-ui-items-center neeto-ui-justify-center neeto-ui-sidebar__link-icon"},t().createElement(ks,{size:24})),!r&&t().createElement(ia,{component:"span",style:"body2",weight:"medium",className:"neeto-ui-text-left neeto-ui-sidebar__link-label"},n)))};var Xc=["size","color","strokeWidth"];function Kc(e){var t=e.size,n=e.color,r=e.strokeWidth,o=ua(e,Xc);return qa.createElement("svg",sa({viewBox:"0 0 24 24",fill:"none",height:t,width:t},o),qa.createElement("path",{d:"M6 9L12 15L18 9",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}))}function Gc(e){return null!=e&&"object"==typeof e&&!0===e["@@functional/placeholder"]}function Jc(e){return function t(n){return 0===arguments.length||Gc(n)?t:e.apply(this,arguments)}}Kc.defaultProps={color:"currentColor",size:24,strokeWidth:"1.5"},Kc.propTypes={color:bs.string,size:bs.oneOfType([bs.string,bs.number]),strokeWidth:bs.oneOfType([bs.string,bs.number])};var Qc=Jc((function(e){return null==e}));const el=Qc;var tl=["size","user","isSquare","status","onClick","className"];function nl(){return nl=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},nl.apply(this,arguments)}function rl(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}var ol={small:24,medium:32,large:40,xlarge:64},il=["#E5E7EB","#FECACA","#FDE68A","#A7F3D0","#BFDBFE","#C7D2FE","#DDD6FE","#FBCFE8"],al=function(n){var r,o=n.size,i=void 0===o?"medium":o,a=n.user,s=void 0===a?{}:a,u=n.isSquare,c=void 0!==u&&u,l=n.status,f=void 0===l?null:l,p=n.onClick,d=void 0===p?function(){}:p,m=n.className,v=void 0===m?"":m,h=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}(n,tl),y=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return rl(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(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?rl(e,t):void 0}}(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.")}()}((0,e.useState)(!1),2),g=y[0],b=y[1],x=s.name,k=void 0===x?"":x,w=s.imageUrl,C="medium"===i,O="large"===i,E="xlarge"===i,S=function(e){if(e&&"string"==typeof e){var t=e.trim().split(" ");return t.reduce((function(e,n,r){return 0!==r&&r!==t.length-1||(e="".concat(e).concat(n.charAt(0).toUpperCase())),e}),"")}return""}(k),j={height:ol[i],width:ol[i],backgroundColor:(r=(S.charCodeAt(0)||0)+(S.charCodeAt(1)||0),il[r%65%il.length]||il[0])},P=qi()("neeto-ui-avatar ",{"neeto-ui-avatar--medium":C,"neeto-ui-avatar--large":O,"neeto-ui-avatar--xlarge":E,"neeto-ui-avatar--round":!c,hidden:g}),T=qi()("neeto-ui-avatar__text",{"neeto-ui-avatar__text-medium":C,"neeto-ui-avatar__text-large":O,"neeto-ui-avatar__text-xlarge":E}),A=qi()("neeto-ui-avatar__status","".concat(f),{"neeto-ui-avatar__status-medium":C,"neeto-ui-avatar__status-large":O,"neeto-ui-avatar__status-xlarge":E,"neeto-ui-avatar__status-square":c}),L=function(){return el(f)?t().Fragment:t().createElement("span",{className:A,"data-testid":"indicator"})},M=function(){return t().createElement("span",{className:T,"data-testid":"initials"},S)},_=S&&!(w&&!g);return t().createElement("span",nl({onClick:d,style:j,className:qi()("neeto-ui-avatar--container neeto-ui-select-none",{"neeto-ui-avatar--container-round":!c},v)},h),t().createElement(L,null),_?t().createElement(M,null):t().createElement("img",{className:P,onError:function(){return b(!0)},src:w||"https://github.com/bigbinary/neeto-ui/blob/602cf3ab48a36d7a512f3780f9950d15d13ebbea/lib/images/user.png?raw=true",alt:"avatar-".concat(S),"data-chromatic":"ignore"}))};al.propTypes={size:Zi().oneOf(Object.keys(ol)),user:Zi().shape({imageUrl:Zi().string,name:Zi().string}),isSquare:Zi().bool,onClick:Zi().func,status:Zi().oneOf(Object.keys({online:"online",idle:"idle",offline:"offline"})),className:Zi().string};const sl=al;var ul=function(e,t){return e&&e.length>t?e.substring(0,t-3)+"...":e};const cl=(0,e.forwardRef)((function(e,n){var r=e.collapsed,o=e.profileInfo,i=e.onClick,a=o["data-cy"]||"profile-section";return t().createElement("button",{ref:n,className:"w-full text-left neeto-ui-sidebar__profile-wrapper",onClick:i,"data-cy":a},t().createElement("span",{className:"flex items-center flex-shrink-0 w-full neeto-ui-sidebar__profile"},t().createElement(sl,{user:o,size:"large",className:"flex-shrink-0"}),!r&&t().createElement("span",{className:"neeto-ui-sidebar__profile-content"},t().createElement(ia,{component:"h2",style:"h5",weight:"semibold",className:"m-0",title:o.name},ul(o.name,18)),t().createElement(Kc,{size:16,className:"neeto-ui-sidebar__profile-drop-icon",color:"#68737D"}))))}));var ll=["size","color","strokeWidth"];function fl(e){var t=e.size,n=e.color,r=e.strokeWidth,o=ua(e,ll);return qa.createElement("svg",sa({viewBox:"0 0 24 24",fill:"none",height:t,width:t},o),qa.createElement("path",{d:"M7.7328 20.829C7.48434 20.9587 7.20452 21.0162 6.92506 20.9949C6.6456 20.9737 6.37768 20.8746 6.15167 20.7089C5.92566 20.5431 5.7506 20.3174 5.64634 20.0573C5.54208 19.7971 5.5128 19.5129 5.5618 19.237L6.3708 14.6L2.9648 11.336C2.76077 11.1414 2.61571 10.8933 2.54624 10.6201C2.47678 10.3468 2.48573 10.0595 2.57206 9.79116C2.65839 9.52277 2.8186 9.28415 3.03434 9.10265C3.25008 8.92115 3.5126 8.80413 3.7918 8.765L8.5208 8.089L10.6558 3.83C10.7799 3.57959 10.9715 3.36884 11.2089 3.2215C11.4464 3.07415 11.7203 2.99608 11.9998 2.99608C12.2793 2.99608 12.5532 3.07415 12.7906 3.2215C13.0281 3.36884 13.2197 3.57959 13.3438 3.83L15.4788 8.089L20.2078 8.765C20.487 8.80413 20.7495 8.92115 20.9653 9.10265C21.181 9.28415 21.3412 9.52277 21.4275 9.79116C21.5139 10.0595 21.5228 10.3468 21.4533 10.6201C21.3839 10.8933 21.2388 11.1414 21.0348 11.336L17.6288 14.6L18.4378 19.238C18.4868 19.5139 18.4575 19.7981 18.3532 20.0583C18.249 20.3184 18.0739 20.5441 17.8479 20.7099C17.6219 20.8756 17.354 20.9747 17.0745 20.9959C16.7951 21.0172 16.5153 20.9597 16.2668 20.83L11.9998 18.625L7.7328 20.829Z",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}))}fl.defaultProps={color:"currentColor",size:24,strokeWidth:"1.5"},fl.propTypes={color:bs.string,size:bs.oneOfType([bs.string,bs.number]),strokeWidth:bs.oneOfType([bs.string,bs.number])};var pl=["size","color","strokeWidth"];function dl(e){var t=e.size,n=e.color,r=e.strokeWidth,o=ua(e,pl);return qa.createElement("svg",sa({viewBox:"0 0 24 24",fill:"none",height:t,width:t},o),qa.createElement("path",{d:"M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22Z",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}),qa.createElement("path",{d:"M9.09009 9.00008C9.32519 8.33175 9.78924 7.76819 10.4 7.40921C11.0108 7.05024 11.729 6.91902 12.4273 7.03879C13.1255 7.15857 13.7589 7.52161 14.2152 8.06361C14.6714 8.60561 14.9211 9.2916 14.9201 10.0001C14.9201 12.0001 11.9201 13.0001 11.9201 13.0001",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}),qa.createElement("path",{d:"M12 17H12.01",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}))}dl.defaultProps={color:"currentColor",size:24,strokeWidth:"1.5"},dl.propTypes={color:bs.string,size:bs.oneOfType([bs.string,bs.number]),strokeWidth:bs.oneOfType([bs.string,bs.number])};var ml=["onClick","label","icon"];function vl(){return vl=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},vl.apply(this,arguments)}const hl=function(e){var n=e.links;return t().createElement("ul",{className:"flex flex-col gap-2 py-2 m-0 list-none border-t neeto-ui-no-outline neeto-ui-border-gray-300"},null==n?void 0:n.map((function(e,n){var r=e.onClick,o=e.label,i=e.icon,a=void 0===i?null:i,s=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}(e,ml),u=a;return t().createElement("li",{key:n,className:"w-full"},t().createElement("button",vl({onClick:r},s,{className:"flex w-full p-2 text-left transition-colors rounded-sm cursor-pointer select-none hover:neeto-ui-bg-gray-200 focus:neeto-ui-bg-gray-200 neeto-ui-no-outline"}),t().createElement(ia,{style:"h5",weight:"semibold",component:"span",className:"flex items-center gap-2 neeto-ui-text-gray-800"},a&&t().createElement(u,null),o)))})))};function yl(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}function gl(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?yl(Object(n),!0).forEach((function(t){bl(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):yl(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function bl(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const xl=function(e){var n=e.profileInfo,r=n.name,o=n.email,i=n.topLinks,a=n.bottomLinks,s=n.customContent,u=n.changelogProps,c=n.helpProps,l=[];return u&&l.push(gl({icon:fl,label:"What's New","data-cy":"profile-section-whats-new-button"},u)),c&&l.push(gl({icon:dl,label:"Help","data-cy":"profile-section-help-button"},c)),t().createElement("div",{className:"flex flex-col p-6"},t().createElement("div",{className:qi()("relative flex items-center ",{"mb-5":i||a||s})},t().createElement("div",{className:"top-0 left-0"},t().createElement(sl,{user:n,size:"large"})),t().createElement("div",{className:"flex flex-col flex-grow min-w-0 pl-3"},t().createElement(ia,{component:"h2",style:"h5",weight:"semibold",lineHeight:"tight",className:"m-0",title:r},ul(r,18)),o&&t().createElement(ia,{style:"body2",className:"w-full truncate neeto-ui-text-gray-600",lineHeight:"tight"},o))),t().createElement("div",{className:"neeto-ui-sidebar__profile-wrapper-custom-content"},s),i&&t().createElement(hl,{links:i}),!!l.length&&t().createElement(hl,{links:l}),a&&t().createElement(hl,{links:a}))};var kl=i(6128),wl=["children","to","href"];function Cl(){return Cl=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},Cl.apply(this,arguments)}var Ol="flex items-center no-underline select-none neeto-ui-sidebar__link",El=(0,e.forwardRef)((function(e,n){var r=e.children,o=e.to,i=e.href,a=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}(e,wl),s=location.pathname.includes(o);return i?t().createElement("a",Cl({className:qi()(Ol,{active:s}),href:i},a),r):t().createElement(kl.NavLink,Cl({className:Ol,innerRef:n,to:o,isActive:function(){return s}},a),r)}));const Sl=(0,kl.withRouter)(El);var jl=["label","href","to","icon"];function Pl(){return Pl=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},Pl.apply(this,arguments)}const Tl=function(e){var n=e.props,r=e.collapsed,o=e.tooltipStyle,i=n.label,a=n.href,s=n.to,u=n.icon,c=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}(n,jl),l=u;return t().createElement(Yc,{collapsed:r,label:i,tooltipStyle:o,icon:t().createElement(l,null)},t().createElement(Sl,Pl({to:s,href:a},c),u&&t().createElement("div",{className:"flex items-center justify-center neeto-ui-sidebar__link-icon"},t().createElement(l,null)),!r&&t().createElement(ia,{component:"span",style:"body2",weight:"medium",className:"neeto-ui-sidebar__link-label"},i)))};function Al(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}const Ll=function(n){var r=n.appName,o=n.footerLinks,i=void 0===o?[]:o,a=n.profileInfo,s=n.tooltipStyle,u=n.collapsed,c=n.showAppSwitcher,l=void 0!==c&&c,f=n.onAppSwitcherToggle,p=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Al(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(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Al(e,t):void 0}}(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.")}()}((0,e.useState)(!1),2),d=p[0],m=p[1];return t().createElement("div",{className:"neeto-ui-sidebar__footer"},null==i?void 0:i.map((function(e,n){return t().createElement(Tl,{props:e,key:n,tooltipStyle:s,collapsed:u})})),l&&t().createElement(Zc,{appName:r,onAppSwitcherToggle:f,tooltipStyle:s,collapsed:u}),a&&t().createElement(Fc,{position:"right",className:"sidebar-featured-tooltip__content",theme:"light",content:t().createElement(xl,{profileInfo:a}),interactive:!0,hideOnClick:!1},t().createElement(cl,{collapsed:u,profileInfo:a,onClick:function(){m(!d)}})))};var Ml=["label","to","icon","description"];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)}const Dl=function(e){var n=e.navLinks,r=void 0===n?[]:n,o=e.tooltipStyle,i=e.collapsed,a=(0,kl.useLocation)();return t().createElement("div",{className:"neeto-ui-sidebar__links"},r.map((function(e,n){var r=e.label,s=e.to,u=e.icon,c=e.description,l=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}(e,Ml),f=u,p=new URL(s,window.location.href),d=a.pathname.includes(p.pathname);return t().createElement(Yc,{key:n,tooltipStyle:o,icon:t().createElement(f,{color:"#68737D"}),description:c,collapsed:i,label:r},t().createElement(kl.NavLink,_l({to:s,className:"flex items-center no-underline select-none neeto-ui-sidebar__link",activeClassName:"active",isActive:function(){return d}},l),u&&t().createElement("div",{className:"flex items-center justify-center neeto-ui-sidebar__link-icon"},t().createElement(f,null)),!i&&t().createElement(ia,{component:"span",style:"body2",weight:"medium",className:"neeto-ui-sidebar__link-label"},r)))})))};var Vl=function(e){var n=e.organizationInfo,r=e.navLinks,o=void 0===r?[]:r,i=e.tooltipStyle,a=void 0===i?Uc.featured:i,s=e.footerLinks,u=void 0===s?[]:s,c=e.profileInfo,l=e.isCollapsed,f=void 0===l||l,p=e.showAppSwitcher,d=void 0!==p&&p,m=e.onAppSwitcherToggle,v=void 0===m?function(){}:m,h=e.appName,y=void 0===h?"":h;return t().createElement(Fi.div,{animate:f?"collapsed":"expanded",variants:qc,transition:{duration:.3},"data-cy":"sidebar-wrapper",className:qi()("neeto-ui-sidebar flex flex-col flex-shrink-0 overflow-y-auto overflow-x-hidden",{"neeto-ui-sidebar--collapsed":f})},t().createElement(aa,{organizationInfo:n,collapsed:f}),t().createElement(Dl,{navLinks:o,tooltipStyle:a,collapsed:f}),t().createElement(Ll,{footerLinks:u,appName:y,profileInfo:c,collapsed:f,tooltipStyle:a,showAppSwitcher:d,onAppSwitcherToggle:v}))};Vl.propTypes={organizationInfo:Zi().shape({logo:Zi().element,name:Zi().string,subdomain:Zi().string}),tooltipStyle:Zi().oneOf(Object.keys(Uc)),navLinks:Zi().arrayOf(Zi().shape({label:Zi().string,description:Zi().string,to:Zi().string,icon:Zi().oneOfType([Zi().element,Zi().func])})).isRequired,footerLinks:Zi().arrayOf(Zi().shape({label:Zi().string,description:Zi().string,to:Zi().string,href:Zi().string,icon:Zi().oneOfType([Zi().element,Zi().func])})),profileInfo:Zi().shape({name:Zi().string,email:Zi().string,customContent:Zi().element,changelogProps:Zi().shape({onClick:Zi().func,label:Zi().string,icon:Zi().oneOfType([Zi().element,Zi().func])}),helpProps:Zi().shape({onClick:Zi().func,label:Zi().string,icon:Zi().oneOfType([Zi().element,Zi().func])}),topLinks:Zi().arrayOf(Zi().shape({onClick:Zi().func,label:Zi().string,icon:Zi().oneOfType([Zi().element,Zi().func])})),bottomLinks:Zi().arrayOf(Zi().shape({onClick:Zi().func,label:Zi().string,icon:Zi().oneOfType([Zi().element,Zi().func])}))}),isCollapsed:Zi().bool,showAppSwitcher:Zi().bool,onAppSwitcherToggle:Zi().func,appName:Zi().string};const Wl=Vl;var Nl=["size","color","strokeWidth"];function Rl(e){var t=e.size,n=e.color,r=e.strokeWidth,o=ua(e,Nl);return qa.createElement("svg",sa({viewBox:"0 0 24 24",fill:"none",height:t,width:t},o),qa.createElement("line",{x1:"3",y1:"7.25",x2:"21",y2:"7.25",stroke:n,strokeWidth:r}),qa.createElement("line",{x1:"3",y1:"11.25",x2:"15",y2:"11.25",stroke:n,strokeWidth:r}),qa.createElement("line",{x1:"3",y1:"15.25",x2:"11",y2:"15.25",stroke:n,strokeWidth:r}))}Rl.defaultProps={color:"currentColor",size:24,strokeWidth:"1.5"},Rl.propTypes={color:bs.string,size:bs.oneOfType([bs.string,bs.number]),strokeWidth:bs.oneOfType([bs.string,bs.number])};var zl=["size","color","strokeWidth"];function $l(e){var t=e.size,n=e.color,r=e.strokeWidth,o=ua(e,zl);return qa.createElement("svg",sa({viewBox:"0 0 24 24",fill:"none",height:t,width:t},o),qa.createElement("path",{d:"M9 18L15 12L9 6",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}))}$l.defaultProps={color:"currentColor",size:24,strokeWidth:"1.5"},$l.propTypes={color:bs.string,size:bs.oneOfType([bs.string,bs.number]),strokeWidth:bs.oneOfType([bs.string,bs.number])};var Hl=["size","color","strokeWidth"];function Il(e){var t=e.size,n=e.color,r=e.strokeWidth,o=ua(e,Hl);return qa.createElement("svg",sa({viewBox:"0 0 24 24",fill:"none",height:t,width:t},o),qa.createElement("path",{d:"M14.1931 5.58187C16.525 7.91369 16.525 11.6943 14.1931 14.0261C11.8613 16.358 8.08069 16.358 5.74887 14.0261C3.41704 11.6943 3.41704 7.91369 5.74887 5.58187C8.08069 3.25005 11.8613 3.25005 14.1931 5.58187",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}),qa.createElement("path",{d:"M14.1499 14.06L18.5899 18.5",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}))}Il.defaultProps={color:"currentColor",size:24,strokeWidth:"1.5"},Il.propTypes={color:bs.string,size:bs.oneOfType([bs.string,bs.number]),strokeWidth:bs.oneOfType([bs.string,bs.number])};var Bl=0;function Fl(){var e=Bl;return Bl++,e}var Ul=function(t){var n=t.children,r=t.initial,o=t.isPresent,i=t.onExitComplete,a=t.custom,s=t.presenceAffectsLayout,u=g(ql),c=g(Fl),l=(0,e.useMemo)((function(){return{id:c,initial:r,isPresent:o,custom:a,onExitComplete:function(e){u.set(e,!0);var t=!0;u.forEach((function(e){e||(t=!1)})),t&&(null==i||i())},register:function(e){return u.set(e,!1),function(){return u.delete(e)}}}}),s?void 0:[o]);return(0,e.useMemo)((function(){u.forEach((function(e,t){return u.set(t,!1)}))}),[o]),e.useEffect((function(){!o&&!u.size&&(null==i||i())}),[o]),e.createElement(y.Provider,{value:l},n)};function ql(){return new Map}function Yl(e){return e.key||""}var Zl=function(t){var n=t.children,r=t.custom,o=t.initial,i=void 0===o||o,a=t.onExitComplete,s=t.exitBeforeEnter,l=t.presenceAffectsLayout,f=void 0===l||l,p=function(){var t=(0,e.useRef)(!1),n=u((0,e.useState)(0),2),r=n[0],o=n[1];return dt((function(){return t.current=!0})),(0,e.useCallback)((function(){!t.current&&o(r+1)}),[r])}(),d=(0,e.useContext)(fi);di(d)&&(p=d.forceUpdate);var m=(0,e.useRef)(!0),v=function(t){var n=[];return e.Children.forEach(t,(function(t){(0,e.isValidElement)(t)&&n.push(t)})),n}(n),h=(0,e.useRef)(v),y=(0,e.useRef)(new Map).current,g=(0,e.useRef)(new Set).current;if(function(e,t){e.forEach((function(e){var n=Yl(e);t.set(n,e)}))}(v,y),m.current)return m.current=!1,e.createElement(e.Fragment,null,v.map((function(t){return e.createElement(Ul,{key:Yl(t),isPresent:!0,initial:!!i&&void 0,presenceAffectsLayout:f},t)})));for(var b=c([],u(v)),x=h.current.map(Yl),k=v.map(Yl),w=x.length,C=0;C<w;C++){var O=x[C];-1===k.indexOf(O)?g.add(O):g.delete(O)}return s&&g.size&&(b=[]),g.forEach((function(t){if(-1===k.indexOf(t)){var n=y.get(t);if(n){var o=x.indexOf(t);b.splice(o,0,e.createElement(Ul,{key:Yl(n),isPresent:!1,onExitComplete:function(){y.delete(t),g.delete(t);var e=h.current.findIndex((function(e){return e.key===t}));h.current.splice(e,1),g.size||(h.current=v,p(),a&&a())},custom:r,presenceAffectsLayout:f},n))}}})),b=b.map((function(t){var n=t.key;return g.has(n)?t:e.createElement(Ul,{key:Yl(t),isPresent:!0,presenceAffectsLayout:f},t)})),h.current=b,e.createElement(e.Fragment,null,g.size?b:b.map((function(t){return(0,e.cloneElement)(t)})))},Xl=function(e){var n=e.color,r=e.className,o=e.size;return t().createElement(Fi.div,{initial:{opacity:0},className:r,animate:{opacity:1,transition:{bounce:0}},exit:{opacity:0},"data-chromatic":"ignore"},t().createElement(Fi.div,{animate:{rotate:[0,360],transition:{repeat:1/0}},exit:{opacity:0}},t().createElement(Fi.svg,{style:{color:n,height:o,width:o},xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},t().createElement("circle",{style:{opacity:.5},cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4"}),t().createElement("path",{style:{opacity:1},fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"}))))};Xl.propTypes={color:Zi().string,className:Zi().string,size:Zi().oneOfType([Zi().string,Zi().number])},Xl.defaultProps={color:"#ffffff",className:null,size:14};const Kl=Xl;var Gl=["icon","iconPosition","iconSize","label","loading","onClick","to","type","style","fullWidth","className","disabled","size","href","tooltipProps"];function Jl(){return Jl=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},Jl.apply(this,arguments)}var Ql={primary:"primary",secondary:"secondary",danger:"danger",danger_text:"danger-text",text:"text",link:"link"},ef={large:"large",xlarge:"xlarge",default:"default"},tf={left:"left",right:"right"},nf={button:"button",reset:"reset",submit:"submit"},rf=t().forwardRef((function(e,n){var r,o,i=e.icon,a=void 0===i?null:i,s=e.iconPosition,u=void 0===s?tf.right:s,c=e.iconSize,l=void 0===c?16:c,f=e.label,p=void 0===f?"":f,d=e.loading,m=void 0!==d&&d,v=e.onClick,h=void 0===v?function(){}:v,y=e.to,g=void 0===y?"":y,b=e.type,x=void 0===b?nf.button:b,k=e.style,w=void 0===k?Ql.primary:k,C=e.fullWidth,O=void 0!==C&&C,E=e.className,S=void 0===E?"":E,j=e.disabled,P=void 0!==j&&j,T=e.size,A=void 0===T?ef.default:T,L=e.href,M=void 0===L?"":L,_=e.tooltipProps,D=void 0===_?null:_,V=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}(e,Gl);g?(r=kl.Link,o={to:g}):M?(r=Fi.a,o={href:M}):(r=Fi.button,o={type:x});var W="string"==typeof a?function(){return t().createElement("i",{"data-testid":"class-icon",className:qi()("neeto-ui-btn__icon",[a])})}:a||t().Fragment;return t().createElement(Fc,Jl({disabled:!D},D),t().createElement(r,Jl({ref:n,onClick:function(e){m||P||h(e)},className:qi()("neeto-ui-btn",[S],{"neeto-ui-btn--style-primary":w===Ql.primary,"neeto-ui-btn--style-secondary":w===Ql.secondary,"neeto-ui-btn--style-danger":w===Ql.danger,"neeto-ui-btn--style-danger-text":w===Ql.danger_text,"neeto-ui-btn--style-text":w===Ql.text,"neeto-ui-btn--style-link":w===Ql.link,"neeto-ui-btn--size-large":A===ef.large,"neeto-ui-btn--size-xlarge":A===ef.xlarge,"neeto-ui-btn--width-full":O,"neeto-ui-btn--icon-left":u==tf.left,"neeto-ui-btn--icon-only":!p,disabled:P}),disabled:P},o,V),p&&t().createElement("span",null,p),t().createElement(Zl,{exitBeforeEnter:!0},a?m?t().createElement(Kl,{"aria-hidden":"true",key:"1",size:16,className:"neeto-ui-btn__spinner"}):t().createElement(W,{"aria-hidden":"true",key:"2",size:l,className:"neeto-ui-btn__icon"}):m&&t().createElement(Fi.div,{className:"neeto-ui-btn__spinner-wrapper",initial:{width:0,scale:0},animate:{width:"auto",scale:1},exit:{width:0,scale:0},transition:{bounce:!1}},t().createElement(Kl,{"aria-hidden":"true",key:"3",size:16,className:"neeto-ui-btn__spinner"})))))}));rf.propTypes={style:Zi().oneOf(Object.values(Ql)),size:Zi().oneOf(Object.values(ef)),iconPosition:Zi().oneOf(Object.values(tf)),iconSize:Zi().number,label:Zi().string,loading:Zi().bool,disabled:Zi().bool,icon:Zi().oneOfType([Zi().string,Zi().element]),onClick:Zi().func,to:Zi().string,href:Zi().string,type:Zi().oneOf(Object.values(nf)),fullWidth:Zi().bool,className:Zi().string,tooltipProps:Zi().object};const of=rf;function af(){return!("undefined"==typeof window||!window.document||!window.document.createElement)}var sf=af()?e.useLayoutEffect:e.useEffect,uf=!1,cf=0,lf=function(){return++cf},ff=function(e){return e&&e.replace?e.replace(/[\s_]/g,"-").replace(/([a-z])([A-Z])/g,"$1-$2").replace(/-+/g,"-").toLowerCase():"nui"},pf=["size","color","strokeWidth"];function df(e){var t=e.size,n=e.color,r=e.strokeWidth,o=ua(e,pf);return qa.createElement("svg",sa({viewBox:"0 0 24 24",fill:"none",height:t,width:t},o),qa.createElement("path",{d:"M11.009 11.249H12.159V15.499",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}),qa.createElement("path",{d:"M11 15.4986H13.3093",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}),qa.createElement("path",{d:"M12.1 8.24587C12.1 8.29532 12.0853 8.34365 12.0579 8.38477C12.0304 8.42588 11.9914 8.45792 11.9457 8.47684C11.9 8.49576 11.8497 8.50071 11.8012 8.49107C11.7527 8.48142 11.7082 8.45761 11.6732 8.42265C11.6383 8.38769 11.6145 8.34314 11.6048 8.29464C11.5952 8.24615 11.6001 8.19588 11.619 8.1502C11.638 8.10452 11.67 8.06548 11.7111 8.03801C11.7522 8.01053 11.8006 7.99587 11.85 7.99587",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}),qa.createElement("path",{d:"M11.85 7.99587C11.9163 7.99587 11.9799 8.02221 12.0268 8.0691C12.0737 8.11598 12.1 8.17957 12.1 8.24587",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}),qa.createElement("path",{d:"M16 2.99862H8C5.23858 2.99862 3 5.2372 3 7.99862V15.9986C3 18.76 5.23858 20.9986 8 20.9986H16C18.7614 20.9986 21 18.76 21 15.9986V7.99862C21 5.2372 18.7614 2.99862 16 2.99862Z",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}))}df.defaultProps={color:"currentColor",size:24,strokeWidth:"1.5"},df.propTypes={color:bs.string,size:bs.oneOfType([bs.string,bs.number]),strokeWidth:bs.oneOfType([bs.string,bs.number])};var mf=["children","className","required","helpIconProps"],vf=["onClick","icon","tooltipProps","className"];function hf(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}function yf(){return yf=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},yf.apply(this,arguments)}function gf(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function bf(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 xf=function(e){var n=e.children,r=e.className,o=void 0===r?"":r,i=e.required,a=void 0!==i&&i,s=e.helpIconProps,u=void 0===s?null:s,c=bf(e,mf),l=u||{},f=l.onClick,p=l.icon,d=l.tooltipProps,m=l.className,v=bf(l,vf),h=p||df;return t().createElement("label",yf({className:qi()("neeto-ui-label neeto-ui-flex neeto-ui-items-center",o)},c),n,a&&t().createElement("span",{"aria-hidden":!0},"*"),u&&t().createElement(Fc,yf({},d,{disabled:!d}),t().createElement("span",{className:qi()("neeto-ui-label__help-icon-wrap",gf({},m,m)),onClick:f},t().createElement(h,yf({size:16},v)))))};xf.propTypes={children:Zi().node,className:Zi().string,required:Zi().bool,helpIconProps:Zi().shape({onClick:Zi().func,icon:Zi().oneOfType([Zi().element,Zi().func]),tooltipProps:Zi().shape(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?hf(Object(n),!0).forEach((function(t){gf(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):hf(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},Fc.propTypes))})};const kf=xf;var wf=["size","type","label","error","suffix","prefix","disabled","helpText","className","nakedInput","contentSize","required"];function Cf(){return Cf=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},Cf.apply(this,arguments)}function Of(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ef(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}var Sf=(0,e.forwardRef)((function(n,r){var o,i,a,s=n.size,u=void 0===s?"small":s,c=n.type,l=void 0===c?"text":c,f=n.label,p=void 0===f?"":f,d=n.error,m=void 0===d?"":d,v=n.suffix,h=void 0===v?null:v,y=n.prefix,g=void 0===y?null:y,b=n.disabled,x=void 0!==b&&b,k=n.helpText,w=void 0===k?"":k,C=n.className,O=void 0===C?"":C,E=n.nakedInput,S=void 0!==E&&E,j=n.contentSize,P=void 0===j?null:j,T=n.required,A=void 0!==T&&T,L=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}(n,wf),M=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Ef(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(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Ef(e,t):void 0}}(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.")}()}((0,e.useState)(n.value),2),_=M[0],D=M[1],V=function(t){var n=t||(uf?lf():null),r=(0,e.useState)(n),o=r[0],i=r[1];return sf((function(){null===o&&i(lf())}),[]),(0,e.useEffect)((function(){!1===uf&&(uf=!0)}),[]),null!=o?String(o):void 0}(n.id),W=null!==(o=null!==(i=n.value)&&void 0!==i?i:_)&&void 0!==o?o:"",N=n.onChange||function(e){return D(e.target.value)},R="error_".concat(V),z="helpText_".concat(V),$=(null==W?void 0:W.toString().length)||0,H=L.maxLength;return t().createElement("div",{className:qi()(["neeto-ui-input__wrapper",O])},t().createElement("div",{className:"neeto-ui-input__label-wrapper"},p&&t().createElement(kf,{required:A,"data-cy":"".concat(ff(p),"-input-label"),htmlFor:V},p),H&&t().createElement(ia,{className:"neeto-ui-input__max-length",style:"body3"},$," / ",H)),t().createElement("div",{className:qi()("neeto-ui-input",{"neeto-ui-input--naked":!!S,"neeto-ui-input--error":!!m,"neeto-ui-input--disabled":!!x,"neeto-ui-input--small":"small"===u})},g&&t().createElement("div",{className:"neeto-ui-input__prefix"},g),t().createElement("input",Cf({ref:r,id:V,type:l,disabled:x,size:P,required:A,"aria-invalid":!!m,"aria-describedby":qi()((a={},Of(a,R,!!m),Of(a,z,w),a)),"data-cy":"input-field"},L,{value:W,onChange:N})),h&&t().createElement("div",{className:"neeto-ui-input__suffix"},h)),!!m&&t().createElement("p",{"data-cy":"".concat(ff(p),"-input-error"),className:"neeto-ui-input__error",id:R},m),w&&t().createElement("p",{className:"neeto-ui-input__help-text",id:z,"data-cy":"".concat(ff(p),"-input-help")},w))}));Sf.propTypes={id:Zi().string,size:Zi().oneOf(["small","large"]),type:Zi().string,maxLength:Zi().number,label:Zi().string,error:Zi().string,suffix:Zi().node,prefix:Zi().node,disabled:Zi().bool,helpText:Zi().string,className:Zi().string,nakedInput:Zi().bool,contentSize:Zi().number,required:Zi().bool};const jf=Sf;function Pf(){return Pf=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},Pf.apply(this,arguments)}var Tf=function(n){var r=n.title,o=n.menuBarToggle,i=n.searchProps,a=n.className,s=void 0===a?"":a,u=n.actionBlock,c=n.breadcrumbs,l=void 0===c?[]:c,f=(0,e.useRef)();return t().createElement("div",{className:qi()(["neeto-ui-header",s])},t().createElement("div",{className:"neeto-ui-header__left"},o&&t().createElement(of,{onClick:o,style:"text",size:"large",className:"neeto-ui-header__toggle-menubar-btn",icon:Rl,"data-cy":"menubar-toggle-button","aria-label":"Toggle Menubar"}),l&&l.map((function(e,n){var r=e.text,o=e.link;return t().createElement("div",{className:"neeto-ui-header__breadcrumb",key:n},t().createElement(kl.Link,{to:o},t().createElement(ia,{lineHeight:"tight",style:"h2",weight:"semibold","data-test-id":r,"data-cy":r},r)),t().createElement($l,{className:"neeto-ui-header__breadcrumb-separator"}))})),t().createElement(ia,{lineHeight:"tight",style:"h2",weight:"semibold","data-test-id":"main-header","data-cy":"main-header",className:"neeto-ui-text-gray-800"},r)),t().createElement("div",{className:"neeto-ui-gap-3 neeto-ui-header__right"},i&&t().createElement(jf,Pf({ref:f,type:"search",placeholder:"Search",className:qi()(["neeto-ui-header__search-input",i.className]),prefix:t().createElement(Il,null)},i)),u))};Tf.propTypes={title:Zi().node,className:Zi().string,actionBlock:Zi().node,searchProps:Zi().object,breadcrumbs:Zi().arrayOf(Zi().shape({text:Zi().string,link:Zi().string})),menuBarToggle:Zi().func};const Af=Tf;var Lf=function(e){var n=e.className,r=void 0===n?"":n,o=e.leftActionBlock,i=e.rightActionBlock;return t().createElement("div",{className:qi()(["neeto-ui-subheader",r]),"data-testid":"subheader"},t().createElement("div",{className:"neeto-ui-subheader__left-wrapper"},o&&t().createElement("div",{className:"neeto-ui-subheader__left"},o)),i&&t().createElement("div",{className:"neeto-ui-subheader__right"},i))};Lf.propTypes={className:Zi().string,leftActionBlock:Zi().node,rightActionBlock:Zi().node};const Mf=Lf;var _f=t().forwardRef((function(e,n){var r=e.isHeaderFixed,o=void 0!==r&&r,i=e.children;return t().createElement("div",{ref:n,className:qi()("neeto-ui-container",{"neeto-ui-container--header-fixed":o})},i)}));_f.propTypes={isHeaderFixed:Zi().bool};const Df=_f;var Vf=["children","className","size"];function Wf(){return Wf=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},Wf.apply(this,arguments)}var Nf={small:"small",large:"large",viewport:"viewport"},Rf=function(e){var n,r,o,i=e.children,a=e.className,s=void 0===a?"":a,u=e.size,c=void 0===u?"small":u,l=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}(e,Vf);return t().createElement("div",Wf({className:qi()(["neeto-ui-scrollable",(n={"neeto-ui-scrollable--small":c===Nf.small,"neeto-ui-scrollable--large":c===Nf.large,"neeto-ui-scrollable--viewport":c===Nf.viewport},r=s,o=s,r in n?Object.defineProperty(n,r,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[r]=o,n)])},l),i)};Rf.propTypes={children:Zi().node,size:Zi().oneOf(Object.values(Nf)),className:Zi().string};const zf=Rf;var $f="undefined"!=typeof navigator&&navigator.userAgent.toLowerCase().indexOf("firefox")>0;function Hf(e,t,n){e.addEventListener?e.addEventListener(t,n,!1):e.attachEvent&&e.attachEvent("on".concat(t),(function(){n(window.event)}))}function If(e,t){for(var n=t.slice(0,t.length-1),r=0;r<n.length;r++)n[r]=e[n[r].toLowerCase()];return n}function Bf(e){"string"!=typeof e&&(e="");for(var t=(e=e.replace(/\s/g,"")).split(","),n=t.lastIndexOf("");n>=0;)t[n-1]+=",",t.splice(n,1),n=t.lastIndexOf("");return t}for(var Ff={backspace:8,tab:9,clear:12,enter:13,return:13,esc:27,escape:27,space:32,left:37,up:38,right:39,down:40,del:46,delete:46,ins:45,insert:45,home:36,end:35,pageup:33,pagedown:34,capslock:20,num_0:96,num_1:97,num_2:98,num_3:99,num_4:100,num_5:101,num_6:102,num_7:103,num_8:104,num_9:105,num_multiply:106,num_add:107,num_enter:108,num_subtract:109,num_decimal:110,num_divide:111,"⇪":20,",":188,".":190,"/":191,"`":192,"-":$f?173:189,"=":$f?61:187,";":$f?59:186,"'":222,"[":219,"]":221,"\\":220},Uf={"⇧":16,shift:16,"⌥":18,alt:18,option:18,"⌃":17,ctrl:17,control:17,"⌘":91,cmd:91,command:91},qf={16:"shiftKey",18:"altKey",17:"ctrlKey",91:"metaKey",shiftKey:16,ctrlKey:17,altKey:18,metaKey:91},Yf={16:!1,18:!1,17:!1,91:!1},Zf={},Xf=1;Xf<20;Xf++)Ff["f".concat(Xf)]=111+Xf;var Kf=[],Gf="all",Jf=[],Qf=function(e){return Ff[e.toLowerCase()]||Uf[e.toLowerCase()]||e.toUpperCase().charCodeAt(0)};function ep(e){Gf=e||"all"}function tp(){return Gf||"all"}var np=function(e){var t=e.key,n=e.scope,r=e.method,o=e.splitKey,i=void 0===o?"+":o;Bf(t).forEach((function(e){var t=e.split(i),o=t.length,a=t[o-1],s="*"===a?"*":Qf(a);if(Zf[s]){n||(n=tp());var u=o>1?If(Uf,t):[];Zf[s]=Zf[s].map((function(e){return r&&e.method!==r||e.scope!==n||!function(e,t){for(var n=e.length>=t.length?e:t,r=e.length>=t.length?t:e,o=!0,i=0;i<n.length;i++)-1===r.indexOf(n[i])&&(o=!1);return o}(e.mods,u)?e:{}}))}}))};function rp(e,t,n){var r;if(t.scope===n||"all"===t.scope){for(var o in r=t.mods.length>0,Yf)Object.prototype.hasOwnProperty.call(Yf,o)&&(!Yf[o]&&t.mods.indexOf(+o)>-1||Yf[o]&&-1===t.mods.indexOf(+o))&&(r=!1);(0!==t.mods.length||Yf[16]||Yf[18]||Yf[17]||Yf[91])&&!r&&"*"!==t.shortcut||!1===t.method(e,t)&&(e.preventDefault?e.preventDefault():e.returnValue=!1,e.stopPropagation&&e.stopPropagation(),e.cancelBubble&&(e.cancelBubble=!0))}}function op(e){var t=Zf["*"],n=e.keyCode||e.which||e.charCode;if(ip.filter.call(this,e)){if(93!==n&&224!==n||(n=91),-1===Kf.indexOf(n)&&229!==n&&Kf.push(n),["ctrlKey","altKey","shiftKey","metaKey"].forEach((function(t){var n=qf[t];e[t]&&-1===Kf.indexOf(n)?Kf.push(n):!e[t]&&Kf.indexOf(n)>-1?Kf.splice(Kf.indexOf(n),1):"metaKey"===t&&e[t]&&3===Kf.length&&(e.ctrlKey||e.shiftKey||e.altKey||(Kf=Kf.slice(Kf.indexOf(n))))})),n in Yf){for(var r in Yf[n]=!0,Uf)Uf[r]===n&&(ip[r]=!0);if(!t)return}for(var o in Yf)Object.prototype.hasOwnProperty.call(Yf,o)&&(Yf[o]=e[qf[o]]);e.getModifierState&&(!e.altKey||e.ctrlKey)&&e.getModifierState("AltGraph")&&(-1===Kf.indexOf(17)&&Kf.push(17),-1===Kf.indexOf(18)&&Kf.push(18),Yf[17]=!0,Yf[18]=!0);var i=tp();if(t)for(var a=0;a<t.length;a++)t[a].scope===i&&("keydown"===e.type&&t[a].keydown||"keyup"===e.type&&t[a].keyup)&&rp(e,t[a],i);if(n in Zf)for(var s=0;s<Zf[n].length;s++)if(("keydown"===e.type&&Zf[n][s].keydown||"keyup"===e.type&&Zf[n][s].keyup)&&Zf[n][s].key){for(var u=Zf[n][s],c=u.splitKey,l=u.key.split(c),f=[],p=0;p<l.length;p++)f.push(Qf(l[p]));f.sort().join("")===Kf.sort().join("")&&rp(e,u,i)}}}function ip(e,t,n){Kf=[];var r=Bf(e),o=[],i="all",a=document,s=0,u=!1,c=!0,l="+";for(void 0===n&&"function"==typeof t&&(n=t),"[object Object]"===Object.prototype.toString.call(t)&&(t.scope&&(i=t.scope),t.element&&(a=t.element),t.keyup&&(u=t.keyup),void 0!==t.keydown&&(c=t.keydown),"string"==typeof t.splitKey&&(l=t.splitKey)),"string"==typeof t&&(i=t);s<r.length;s++)o=[],(e=r[s].split(l)).length>1&&(o=If(Uf,e)),(e="*"===(e=e[e.length-1])?"*":Qf(e))in Zf||(Zf[e]=[]),Zf[e].push({keyup:u,keydown:c,scope:i,mods:o,shortcut:r[s],method:n,key:r[s],splitKey:l});void 0!==a&&!function(e){return Jf.indexOf(e)>-1}(a)&&window&&(Jf.push(a),Hf(a,"keydown",(function(e){op(e)})),Hf(window,"focus",(function(){Kf=[]})),Hf(a,"keyup",(function(e){op(e),function(e){var t=e.keyCode||e.which||e.charCode,n=Kf.indexOf(t);if(n>=0&&Kf.splice(n,1),e.key&&"meta"===e.key.toLowerCase()&&Kf.splice(0,Kf.length),93!==t&&224!==t||(t=91),t in Yf)for(var r in Yf[t]=!1,Uf)Uf[r]===t&&(ip[r]=!1)}(e)})))}var ap={setScope:ep,getScope:tp,deleteScope:function(e,t){var n,r;for(var o in e||(e=tp()),Zf)if(Object.prototype.hasOwnProperty.call(Zf,o))for(n=Zf[o],r=0;r<n.length;)n[r].scope===e?n.splice(r,1):r++;tp()===e&&ep(t||"all")},getPressedKeyCodes:function(){return Kf.slice(0)},isPressed:function(e){return"string"==typeof e&&(e=Qf(e)),-1!==Kf.indexOf(e)},filter:function(e){var t=e.target||e.srcElement,n=t.tagName,r=!0;return!t.isContentEditable&&("INPUT"!==n&&"TEXTAREA"!==n&&"SELECT"!==n||t.readOnly)||(r=!1),r},unbind:function(e){if(e){if(Array.isArray(e))e.forEach((function(e){e.key&&np(e)}));else if("object"==typeof e)e.key&&np(e);else if("string"==typeof e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var o=n[0],i=n[1];"function"==typeof o&&(i=o,o=""),np({key:e,scope:o,method:i,splitKey:"+"})}}else Object.keys(Zf).forEach((function(e){return delete Zf[e]}))}};for(var sp in ap)Object.prototype.hasOwnProperty.call(ap,sp)&&(ip[sp]=ap[sp]);if("undefined"!=typeof window){var up=window.hotkeys;ip.noConflict=function(e){return e&&window.hotkeys===ip&&(window.hotkeys=up),ip},window.hotkeys=ip}const cp=ip;cp.filter=function(){return!0};var lp=function(e,t){var n=e.target,r=n&&n.tagName;return Boolean(r&&t&&t.includes(r))};var fp=["size","color","strokeWidth"];function pp(e){var t=e.size,n=e.color,r=e.strokeWidth,o=ua(e,fp);return qa.createElement("svg",sa({viewBox:"0 0 24 24",fill:"none",height:t,width:t},o),qa.createElement("path",{d:"M10.013 5.988L4.00201 12L10.013 18.012M4.01001 11.98H19H4.01001Z",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}))}pp.defaultProps={color:"currentColor",size:24,strokeWidth:"1.5"},pp.propTypes={color:bs.string,size:bs.oneOfType([bs.string,bs.number]),strokeWidth:bs.oneOfType([bs.string,bs.number])};var dp=["size","color","strokeWidth"];function mp(e){var t=e.size,n=e.color,r=e.strokeWidth,o=ua(e,dp);return qa.createElement("svg",sa({viewBox:"0 0 24 24",fill:"none",height:t,width:t},o),qa.createElement("path",{d:"M17.5 9L9 17.5L5 13.5",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}))}mp.defaultProps={color:"currentColor",size:24,strokeWidth:"1.5"},mp.propTypes={color:bs.string,size:bs.oneOfType([bs.string,bs.number]),strokeWidth:bs.oneOfType([bs.string,bs.number])};const vp=function(e){var n,r,o,i=e.name,a=e.url,s=e.icon,u=e.environment,c=e.activeApp,l=s;return t().createElement("a",{href:a[u],target:"_blank",className:qi()("neeto-ui-app-switcher-link",{"neeto-ui-app-switcher-link--active":c===i}),rel:"noreferrer","data-test-id":"neetoapp-link-".concat(i),"data-cy":"".concat(i,"-app-link")},t().createElement("div",{className:"neeto-ui-app-switcher-link__row"},t().createElement("div",{className:qi()("neeto-ui-app-switcher-link__icon-holder",(n={},r="gradient--".concat(i.toLowerCase()),o=i,r in n?Object.defineProperty(n,r,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[r]=o,n))},l&&t().createElement(l,{color:"white",className:"neeto-ui-app-switcher-link__icon"})),t().createElement(ia,{style:"h4",weight:"semibold",component:"span",className:"neeto-ui-text-gray-600 neeto-ui-app-switcher-link__title"},i),c===i&&t().createElement("span",{className:"neeto-ui-app-switcher-link__check-icon neeto-ui-text-gray-800"},t().createElement(mp,{size:"22"}))))};var hp=["size","color","strokeWidth"];function yp(e){var t=e.size,n=e.color,r=e.strokeWidth,o=ua(e,hp);return qa.createElement("svg",sa({viewBox:"0 0 24 24",fill:"none",height:t,width:t},o),qa.createElement("path",{d:"M21 12C21 14.3869 20.0518 16.6761 18.364 18.364C16.6761 20.0518 14.3869 21 12 21",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}),qa.createElement("path",{d:"M3 12C3 9.61305 3.94821 7.32387 5.63604 5.63604C7.32387 3.94821 9.61305 3 12 3",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}),qa.createElement("path",{d:"M3 11.9996C3.00014 13.0538 3.18764 14.0996 3.55376 15.0882C3.63489 15.3106 3.7916 15.4975 3.9965 15.6162C4.20141 15.7349 4.44151 15.7779 4.67486 15.7376L5.66105 15.5637C6.04448 15.4961 6.3866 15.282 6.6151 14.9668C6.8436 14.6515 6.94056 14.2598 6.8855 13.8744L6.58868 11.7966C6.56024 11.5976 6.49205 11.4062 6.38818 11.234C6.28431 11.0618 6.14688 10.9123 5.98405 10.7943C5.82122 10.6762 5.63633 10.5922 5.44035 10.547C5.24438 10.5019 5.04134 10.4967 4.84329 10.5316L3.0827 10.842",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}),qa.createElement("path",{d:"M21 12C21 9.61305 20.0518 7.32387 18.364 5.63604C16.6761 3.94821 14.3869 3 12 3",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}),qa.createElement("path",{d:"M21 11.9996C20.9999 13.0538 20.8124 14.0996 20.4462 15.0882C20.3651 15.3106 20.2084 15.4975 20.0035 15.6162C19.7986 15.7349 19.5585 15.7779 19.3251 15.7376L18.339 15.5637C17.9555 15.4961 17.6134 15.282 17.3849 14.9668C17.1564 14.6515 17.0594 14.2598 17.1145 13.8744L17.4113 11.7966C17.4398 11.5976 17.508 11.4062 17.6118 11.234C17.7157 11.0618 17.8531 10.9123 18.016 10.7943C18.1788 10.6762 18.3637 10.5922 18.5597 10.547C18.7556 10.5019 18.9587 10.4967 19.1567 10.5316L20.9173 10.842",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}),qa.createElement("path",{d:"M13.4925 12.4912C13.491 12.4912 13.4896 12.4917 13.4884 12.4925C13.4871 12.4933 13.4862 12.4945 13.4856 12.4958C13.4851 12.4972 13.4849 12.4987 13.4852 12.5001C13.4855 12.5016 13.4862 12.5029 13.4872 12.504C13.4883 12.505 13.4896 12.5057 13.4911 12.506C13.4925 12.5063 13.494 12.5062 13.4954 12.5056C13.4967 12.505 13.4979 12.5041 13.4987 12.5028C13.4995 12.5016 13.5 12.5002 13.5 12.4987C13.5 12.4977 13.4999 12.4967 13.4995 12.4958C13.4992 12.4948 13.4986 12.494 13.4979 12.4933C13.4972 12.4926 13.4964 12.492 13.4955 12.4917C13.4945 12.4913 13.4935 12.4912 13.4925 12.4912",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}),qa.createElement("path",{d:"M10.5075 12.4942C10.506 12.4942 10.5045 12.4946 10.5033 12.4954C10.5021 12.4962 10.5011 12.4974 10.5006 12.4988C10.5 12.5001 10.4999 12.5016 10.5001 12.5031C10.5004 12.5045 10.5011 12.5059 10.5022 12.5069C10.5032 12.508 10.5046 12.5087 10.506 12.509C10.5075 12.5092 10.509 12.5091 10.5103 12.5085C10.5117 12.508 10.5129 12.507 10.5137 12.5058C10.5145 12.5045 10.5149 12.5031 10.5149 12.5016C10.515 12.5006 10.5149 12.4996 10.5145 12.4987C10.5142 12.4977 10.5136 12.4969 10.5129 12.4962C10.5122 12.4955 10.5113 12.4949 10.5104 12.4946C10.5095 12.4942 10.5085 12.4941 10.5075 12.4942",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}))}yp.defaultProps={color:"currentColor",size:24,strokeWidth:"1.5"},yp.propTypes={color:bs.string,size:bs.oneOfType([bs.string,bs.number]),strokeWidth:bs.oneOfType([bs.string,bs.number])};var gp=["size","color","strokeWidth"];function bp(e){var t=e.size,n=e.color,r=e.strokeWidth,o=ua(e,gp);return qa.createElement("svg",sa({viewBox:"0 0 24 24",fill:"none",height:t,width:t},o),qa.createElement("path",{d:"M12 4C7.03 4 3 7.35868 3 11.4971C3.03694 12.7249 3.39056 13.9223 4.02657 14.9731C4.66258 16.024 5.55939 16.8926 6.63 17.4948C6.41369 18.0826 6.11292 18.6358 5.73714 19.1369C5.63591 19.2847 5.58282 19.4601 5.58511 19.6392C5.58741 19.8184 5.64498 19.9924 5.74996 20.1376C5.85494 20.2827 6.00219 20.3919 6.17159 20.4501C6.34098 20.5084 6.52424 20.5129 6.6963 20.4631C7.89863 20.113 9.03031 19.555 10.04 18.8143C10.6863 18.9354 11.3425 18.9956 12 18.9942C16.97 18.9942 21 15.6355 21 11.4971C21 7.35869 16.97 4 12 4Z",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}),qa.createElement("path",{d:"M9 10H15",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}),qa.createElement("path",{d:"M9 13H12",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}))}bp.defaultProps={color:"currentColor",size:24,strokeWidth:"1.5"},bp.propTypes={color:bs.string,size:bs.oneOfType([bs.string,bs.number]),strokeWidth:bs.oneOfType([bs.string,bs.number])};var xp=["size","color","strokeWidth"];function kp(e){var t=e.size,n=e.color,r=e.strokeWidth,o=ua(e,xp);return qa.createElement("svg",sa({viewBox:"0 0 24 24",fill:"none",height:t,width:t},o),qa.createElement("path",{d:"M18.414 6.414L15.586 3.586C15.211 3.211 14.702 3 14.172 3H7C5.895 3 5 3.895 5 5V19C5 20.105 5.895 21 7 21H17C18.105 21 19 20.105 19 19V7.828C19 7.298 18.789 6.789 18.414 6.414V6.414Z",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}),qa.createElement("path",{d:"M19 8H15C14.448 8 14 7.552 14 7V3",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}),qa.createElement("path",{d:"M10.5 18H13.5",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}),qa.createElement("path",{d:"M12 12V18",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}),qa.createElement("path",{d:"M9 13.5V12.5C9 12.224 9.224 12 9.5 12H14.5C14.776 12 15 12.224 15 12.5V13.5",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}))}kp.defaultProps={color:"currentColor",size:24,strokeWidth:"1.5"},kp.propTypes={color:bs.string,size:bs.oneOfType([bs.string,bs.number]),strokeWidth:bs.oneOfType([bs.string,bs.number])};var wp=["size","color","strokeWidth"];function Cp(e){var t=e.size,n=e.color,r=e.strokeWidth,o=ua(e,wp);return qa.createElement("svg",sa({viewBox:"0 0 24 24",fill:"none",height:t,width:t},o),qa.createElement("path",{d:"M17 2V2C19.7614 2 22 4.23858 22 7C22 9.76142 19.7614 12 17 12C14.2386 12 12 9.76142 12 7V7C12 4.23858 14.2386 2 17 2",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}),qa.createElement("path",{d:"M20 14.0003V14.3753V14.3753C20 15.9399 18.7316 17.2083 17.167 17.2083H12.445L7.723 20.9863V17.2083H5.833H5.833C4.26838 17.2083 3 15.9399 3 14.3753V6.81933V6.81933C3 5.25471 4.26838 3.98633 5.833 3.98633H10",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}),qa.createElement("path",{d:"M18.358 6.94449C18.3283 6.94226 18.3023 6.96456 18.3001 6.9943C18.3 6.99636 18.2999 6.99843 18.3 7.00049C18.3 7.03142 18.3251 7.05648 18.356 7.05648C18.3869 7.05648 18.412 7.03141 18.412 7.00048C18.412 6.96955 18.3869 6.94448 18.356 6.94448M18.356 6.94448V6.94448Z",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}),qa.createElement("path",{d:"M15.642 6.94434C15.6111 6.94544 15.587 6.97139 15.5881 7.0023C15.5892 7.03321 15.6151 7.05737 15.646 7.05626C15.6762 7.05519 15.7 7.03047 15.7 7.00034C15.7 6.96979 15.6756 6.94488 15.645 6.94434",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}))}Cp.defaultProps={color:"currentColor",size:24,strokeWidth:"1.5"},Cp.propTypes={color:bs.string,size:bs.oneOfType([bs.string,bs.number]),strokeWidth:bs.oneOfType([bs.string,bs.number])};var Op=["size","color","strokeWidth"];function Ep(e){var t=e.size,n=e.color,r=e.strokeWidth,o=ua(e,Op);return qa.createElement("svg",sa({viewBox:"0 0 24 24",fill:"none",height:t,width:t},o),qa.createElement("path",{d:"M18 3H6C4.34315 3 3 4.34315 3 6V18C3 19.6569 4.34315 21 6 21H18C19.6569 21 21 19.6569 21 18V6C21 4.34315 19.6569 3 18 3Z",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}),qa.createElement("path",{d:"M10 7H7.5C7.22386 7 7 7.22386 7 7.5V10C7 10.2761 7.22386 10.5 7.5 10.5H10C10.2761 10.5 10.5 10.2761 10.5 10V7.5C10.5 7.22386 10.2761 7 10 7Z",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}),qa.createElement("path",{d:"M13.5 7H17",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}),qa.createElement("path",{d:"M13.5 10.3301H17",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}),qa.createElement("path",{d:"M10 13.5H7.5C7.22386 13.5 7 13.7239 7 14V16.5C7 16.7761 7.22386 17 7.5 17H10C10.2761 17 10.5 16.7761 10.5 16.5V14C10.5 13.7239 10.2761 13.5 10 13.5Z",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}),qa.createElement("path",{d:"M13.5 13.5H17",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}),qa.createElement("path",{d:"M13.5 16.8301H17",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}))}Ep.defaultProps={color:"currentColor",size:24,strokeWidth:"1.5"},Ep.propTypes={color:bs.string,size:bs.oneOfType([bs.string,bs.number]),strokeWidth:bs.oneOfType([bs.string,bs.number])};var Sp=["size","color","strokeWidth"];function jp(e){var t=e.size,n=e.color;e.strokeWidth;var r=ua(e,Sp);return qa.createElement("svg",sa({viewBox:"0 0 24 24",fill:"none",height:t,width:t},r),qa.createElement("path",{d:"M19.1863 9.2727C19.1863 9.99647 19.1863 10.7171 19.1863 11.444C19.1863 12.171 19.1863 12.8916 19.2049 13.6153C19.2386 14.218 19.1257 14.8198 18.8765 15.367C18.6184 15.8937 18.1759 16.3019 17.637 16.5104C17.0343 16.7591 16.4873 16.8557 15.9435 16.7401C15.3997 16.6245 14.859 16.2982 14.2625 15.7027C13.2068 14.6416 12.1543 13.5747 11.1049 12.502C10.0555 11.4292 9.00757 10.3592 7.96124 9.29171C7.79717 9.10072 7.61268 8.92913 7.41122 8.78016C7.30188 8.7087 7.17715 8.66559 7.04782 8.65455C6.9185 8.64351 6.7885 8.66488 6.66908 8.71681C6.53476 8.75956 6.41264 8.83511 6.3133 8.93694C6.21396 9.03876 6.14037 9.16379 6.09892 9.30121C6.03142 9.57268 6.00375 9.85289 6.0168 10.1327C6.0168 11.3152 6.02042 12.4993 6.02765 13.685C6.02765 14.8697 6.02765 16.0606 6.0075 17.2389C5.99528 17.5357 6.04547 17.8316 6.15469 18.1068C6.25958 18.3623 6.44947 18.5715 6.69077 18.6976C6.81331 18.7641 6.94926 18.8007 7.08796 18.8046C7.22666 18.8084 7.36435 18.7794 7.49024 18.7198C7.75031 18.5975 7.98613 18.4273 8.1859 18.2177C8.6662 17.7405 9.14392 17.2601 9.61905 16.7765C10.0942 16.2929 10.5616 15.8041 11.0212 15.3099C11.1103 15.2033 11.2191 15.1156 11.3414 15.052C11.4637 14.9884 11.5971 14.9501 11.7339 14.9393C11.9921 14.9406 12.2434 15.0242 12.4528 15.1785C12.6511 15.3115 12.7426 15.5982 12.7364 15.9007C12.7377 16.2033 12.6301 16.4958 12.4342 16.7226C11.8641 17.3118 11.2986 17.9089 10.7299 18.498C10.1613 19.0872 9.57877 19.67 8.98072 20.2291C8.54153 20.6553 7.97762 20.9223 7.37559 20.9893C6.77021 21.0371 6.16299 20.9247 5.61242 20.663C5.10855 20.4603 4.67981 20.1007 4.38688 19.6352C4.11249 19.1508 3.97918 18.5964 4.00264 18.0372C4.01658 16.5769 4.01503 15.1167 4.01348 13.6549C4.01193 12.1931 4.01348 10.7345 4.01348 9.2727C4.00128 8.69191 4.11948 8.11599 4.35899 7.58918C4.61201 7.07012 5.05006 6.66996 5.58298 6.47105C6.13553 6.23868 6.74262 6.17701 7.32911 6.29367C7.9335 6.43863 8.48137 6.76582 8.9017 7.23284C9.96456 8.34146 11.0367 9.44269 12.1182 10.5365C13.1996 11.6304 14.278 12.7263 15.3532 13.8244C15.4998 13.9882 15.6683 14.13 15.8537 14.2457C15.9468 14.3006 16.0506 14.3338 16.1577 14.3431C16.2648 14.3524 16.3726 14.3375 16.4734 14.2995C16.6678 14.2401 16.8443 14.1311 16.9862 13.9828C17.1305 13.8059 17.2026 13.579 17.1877 13.3493C17.1722 12.0142 17.1722 10.6854 17.1722 9.35664C17.1722 8.02788 17.1722 6.69753 17.1722 5.36877C17.1819 5.16803 17.1508 4.9674 17.0808 4.77961C17.0365 4.68434 16.9744 4.59893 16.8978 4.52827C16.8212 4.45761 16.7318 4.40309 16.6345 4.36784C16.4456 4.27647 16.2393 4.22888 16.0303 4.22847C15.8152 4.24378 15.6102 4.32802 15.4446 4.4692C14.8593 4.93907 14.3084 5.45198 13.7961 6.00385C13.2771 6.54549 12.7704 7.10138 12.2282 7.62085C12.0264 7.84331 11.7585 7.99141 11.4659 8.04213C11.3372 8.04946 11.2086 8.02659 11.0899 7.97525C10.9712 7.92392 10.8655 7.84549 10.7811 7.74597C10.6812 7.64671 10.603 7.52692 10.5518 7.39452C10.5005 7.26212 10.4772 7.1201 10.4836 6.97785C10.5039 6.67123 10.6361 6.38357 10.8539 6.17173C11.4024 5.61214 11.9498 5.05254 12.4962 4.49295C13.0426 3.93336 13.5926 3.378 14.1463 2.82685C14.4931 2.4971 14.911 2.25534 15.3661 2.12109C15.8212 1.98683 16.3008 1.96385 16.7662 2.05398C17.2334 2.12126 17.6785 2.29959 18.066 2.57464C18.4535 2.8497 18.7725 3.21381 18.9973 3.63773C19.0662 3.77419 19.1183 3.9189 19.1522 4.06851C19.1853 4.21976 19.2009 4.37443 19.1987 4.52938C19.1925 5.31809 19.1925 6.10996 19.1987 6.905C19.2049 7.70004 19.2008 8.48927 19.1863 9.2727Z",fill:n}))}jp.defaultProps={color:"currentColor",size:24,strokeWidth:"1.5"},jp.propTypes={color:bs.string,size:bs.oneOfType([bs.string,bs.number]),strokeWidth:bs.oneOfType([bs.string,bs.number])};var Pp=["size","color","strokeWidth"];function Tp(e){var t=e.size,n=e.color,r=e.strokeWidth,o=ua(e,Pp);return qa.createElement("svg",sa({viewBox:"0 0 24 24",fill:"none",height:t,width:t},o),qa.createElement("path",{d:"M21 7V17C21 19.209 19.209 21 17 21H7C4.791 21 3 19.209 3 17V7C3 4.791 4.791 3 7 3H17C19.209 3 21 4.791 21 7Z",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}),qa.createElement("path",{d:"M21 12.0003H16.309C16.12 12.0003 15.946 12.1073 15.862 12.2763L14.447 15.1053C14.263 15.4743 13.737 15.4743 13.553 15.1053L10.43 8.86127C10.249 8.49927 9.735 8.49127 9.543 8.84727L7.984 11.7373C7.896 11.8993 7.727 12.0003 7.544 12.0003H3",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}))}Tp.defaultProps={color:"currentColor",size:24,strokeWidth:"1.5"},Tp.propTypes={color:bs.string,size:bs.oneOfType([bs.string,bs.number]),strokeWidth:bs.oneOfType([bs.string,bs.number])};var Ap=["size","color","strokeWidth"];function Lp(e){var t=e.size,n=e.color,r=e.strokeWidth,o=ua(e,Ap);return qa.createElement("svg",sa({viewBox:"0 0 24 24",fill:"none",height:t,width:t},o),qa.createElement("path",{d:"M9.167 20.5H4.444C3.922 20.5 3.5 20.077 3.5 19.556V15.778C3.5 15.256 3.923 14.834 4.444 14.834H9.166L9.167 20.5ZM14.833 4.444V20.5H19.555C20.077 20.5 20.499 20.077 20.499 19.556V4.444C20.499 3.922 20.076 3.5 19.555 3.5H15.777C15.256 3.5 14.833 3.923 14.833 4.444V4.444Z",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}),qa.createElement("path",{d:"M14.833 20.5H9.166V10.111C9.166 9.58899 9.589 9.16699 10.11 9.16699H14.832",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}))}Lp.defaultProps={color:"currentColor",size:24,strokeWidth:"1.5"},Lp.propTypes={color:bs.string,size:bs.oneOfType([bs.string,bs.number]),strokeWidth:bs.oneOfType([bs.string,bs.number])};var Mp=["size","color","strokeWidth"];function _p(e){var t=e.size,n=e.color,r=e.strokeWidth,o=ua(e,Mp);return qa.createElement("svg",sa({viewBox:"0 0 26 26",fill:"none",height:t,width:t},o),qa.createElement("g",{filter:"url(#filter0_d)"},qa.createElement("path",{d:"M10.6857 9.68568C10.8005 9.19071 11.0846 8.75139 11.4889 8.44362C11.8932 8.13584 12.3923 7.97894 12.9 8.00001C13.4631 7.96882 14.0157 8.16159 14.4372 8.53627C14.8587 8.91095 15.115 9.43713 15.15 10C15.15 11.5039 13 12 13 13",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}),qa.createElement("path",{d:"M5.63148 17.1583C4.33769 15.3116 3.78301 13.047 4.07688 10.8115C4.37075 8.57588 5.49183 6.53162 7.21892 5.08203C8.94602 3.63244 11.1537 2.8828 13.4064 2.981C15.659 3.07921 17.7931 4.01813 19.3875 5.61252C20.9819 7.20692 21.9208 9.34098 22.019 11.5936C22.1172 13.8463 21.3676 16.054 19.918 17.7811C18.4684 19.5082 16.4241 20.6293 14.1885 20.9231C11.953 21.217 9.68844 20.6623 7.84175 19.3685L5.00001 20L5.63148 17.1583Z",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}),qa.createElement("circle",{cx:"12.75",cy:"15.75",r:"0.75",fill:n})),qa.createElement("defs",null,qa.createElement("filter",{id:"filter0_d",x:"-2",y:"-2",width:"30",height:"30",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},qa.createElement("feFlood",{result:"BackgroundImageFix",floodOpacity:"0"}),qa.createElement("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"}),qa.createElement("feMorphology",{radius:"1",operator:"erode",in:"SourceAlpha",result:"effect1_dropShadow"}),qa.createElement("feOffset",{dy:"1"}),qa.createElement("feGaussianBlur",{stdDeviation:"2"}),qa.createElement("feColorMatrix",{type:"matrix",values:"0 0 0 0 0.109804 0 0 0 0 0.188235 0 0 0 0 0.290196 0 0 0 0.12 0"}),qa.createElement("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow"}),qa.createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow",result:"shape"}))))}_p.defaultProps={color:"currentColor",size:24,strokeWidth:"1.5"},_p.propTypes={color:bs.string,size:bs.oneOfType([bs.string,bs.number]),strokeWidth:bs.oneOfType([bs.string,bs.number])};var Dp=["size","color","strokeWidth"];function Vp(e){var t=e.size,n=e.color,r=e.strokeWidth,o=ua(e,Dp);return qa.createElement("svg",sa({viewBox:"0 0 24 24",fill:"none",height:t,width:t},o),qa.createElement("path",{d:"M9.61801 3H14.382V3C14.9343 3 15.382 3.44772 15.382 4.00001C15.382 4.15525 15.3459 4.30836 15.2764 4.44721L14 7H10L8.72362 4.44721V4.44721C8.47663 3.95323 8.67686 3.35256 9.17084 3.10557C9.30968 3.03615 9.46278 3.00001 9.61801 3V3Z",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}),qa.createElement("path",{d:"M9.99969 6.99769L8.0144 18.581V18.581C7.95102 18.9508 8.09994 19.325 8.40009 19.5501L11.3999 21.8V21.8C11.7555 22.0667 12.2445 22.0667 12.6001 21.8L15.5999 19.5501V19.5501C15.9001 19.325 16.049 18.9508 15.9856 18.5811L14.0003 6.99765",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}))}Vp.defaultProps={color:"currentColor",size:24,strokeWidth:"1.5"},Vp.propTypes={color:bs.string,size:bs.oneOfType([bs.string,bs.number]),strokeWidth:bs.oneOfType([bs.string,bs.number])};var Wp=["size","color","strokeWidth"];function Np(e){var t=e.size,n=e.color,r=e.strokeWidth,o=ua(e,Wp);return qa.createElement("svg",sa({viewBox:"0 0 24 24",fill:"none",height:t,width:t},o),qa.createElement("path",{d:"M11.206 9.11501L14.9 11.3C15.432 11.615 15.432 12.385 14.9 12.7L11.205 14.885C10.663 15.206 9.978 14.815 9.978 14.185V9.81501C9.978 9.18501 10.664 8.79401 11.206 9.11501V9.11501Z",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}),qa.createElement("path",{d:"M7.327 17.364L5.636 18.364C9.151 21.879 14.849 21.879 18.364 18.364C20.861 15.867 21.575 12.27 20.523 9.13401M16.673 6.63601L18.364 5.63601C14.849 2.12101 9.151 2.12101 5.636 5.63601C3.139 8.13301 2.425 11.731 3.477 14.866",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}))}Np.defaultProps={color:"currentColor",size:24,strokeWidth:"1.5"},Np.propTypes={color:bs.string,size:bs.oneOfType([bs.string,bs.number]),strokeWidth:bs.oneOfType([bs.string,bs.number])};var Rp=["size","color","strokeWidth"];function zp(e){var t=e.size,n=e.color,r=e.strokeWidth,o=ua(e,Rp);return qa.createElement("svg",sa({viewBox:"0 0 19 21",fill:"none",height:t,width:t},o),qa.createElement("path",{d:"M1.5 9.13701V4.43701V4.43696C1.49892 3.33047 2.39357 2.43184 3.50005 2.42801V2.42801C4.60462 2.42801 5.50005 3.32344 5.50005 4.42801V4.42801V9.00501M1.5 5.91001H5.5H1.5Z",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}),qa.createElement("path",{d:"M8.25 9V1H13V9",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}),qa.createElement("path",{d:"M14 16H15.5V16C16.8807 16 18 14.8807 18 13.5V12.055C18 10.9504 17.1046 10.055 16 10.055H13.833",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}),qa.createElement("path",{d:"M2 9H12.833V9C13.3853 9 13.833 9.44771 13.833 10V16.333V16.333C13.833 18.3578 12.1918 19.9995 10.167 20H4.667V20C2.64177 20 1 18.3582 1 16.333V10V10C1 9.44771 1.44771 9 2 9V9Z",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}),qa.createElement("path",{d:"M12.25 3.84H10.75",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}),qa.createElement("path",{d:"M12.25 6.34H11.75",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}))}zp.defaultProps={color:"currentColor",size:24,strokeWidth:"1.5"},zp.propTypes={color:bs.string,size:bs.oneOfType([bs.string,bs.number]),strokeWidth:bs.oneOfType([bs.string,bs.number])};var $p=["size","color","strokeWidth"];function Hp(e){var t=e.size,n=e.color,r=e.strokeWidth,o=ua(e,$p);return qa.createElement("svg",sa({viewBox:"0 0 24 24",fill:"none",height:t,width:t},o),qa.createElement("path",{d:"M7 13H17M7 17H17M3 8H20.954",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}),qa.createElement("path",{d:"M5 3C3.895 3 3 3.895 3 5V19C3 20.105 3.895 21 5 21H19C20.105 21 21 20.105 21 19V5C21 3.895 20.105 3 19 3H5Z",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}))}function Ip(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}Hp.defaultProps={color:"currentColor",size:24,strokeWidth:"1.5"},Hp.propTypes={color:bs.string,size:bs.oneOfType([bs.string,bs.number]),strokeWidth:bs.oneOfType([bs.string,bs.number])};const Bp=function(n){var r=n.environment,o=n.activeApp,i=n.subdomain,a=n.neetoApps,s=void 0===a?[]:a,u=n.recentApps,c=n.onClose,l=function(e){return[{name:"Desk",icon:yp,description:"Customer support app",url:{development:"http://spinkart.lvh.me:9001",staging:"https://".concat(e,".neetodesk.net"),production:"https://".concat(e,".neetodesk.com")}},{name:"Chat",icon:bp,description:"Customer chat app",url:{development:"http://spinkart.lvh.me:9006",staging:"https://".concat(e,".neetochat.net"),production:"https://".concat(e,".neetochat.com")}},{name:"KB",icon:kp,description:"Knowledge Base App",url:{development:"http://spinkart.lvh.me:9005/admin",staging:"https://".concat(e,".neetokb.net/admin"),production:"https://".concat(e,".neetokb.com/admin")}},{name:"Form",icon:Cp,description:"Form management app",url:{development:"http://spinkart.lvh.me:9004",staging:"https://".concat(e,".neetoform.net"),production:"https://".concat(e,".neetoform.com")}},{name:"Changelog",icon:Ep,description:"Changelog management app",url:{development:"http://spinkart.lvh.me:9003",staging:"https://".concat(e,".neetochangelog.net"),production:"https://".concat(e,".neetochangelog.com")}},{name:"Invoice",icon:jp,description:"Invoice management app",url:{development:"http://spinkart.lvh.me:9024",staging:"https://".concat(e,".neetoinvoice.net"),production:"https://".concat(e,".neetoinvoice.com")}},{name:"Analytics",icon:Tp,description:"Business Analytics App",url:{development:"http://spinkart.lvh.me:9007",staging:"https://".concat(e,".neetoanalytics.net"),production:"https://".concat(e,".neetoanalytics.com")}},{name:"Engage",icon:Cp,description:"Customer Engagement App",url:{development:"http://spinkart.lvh.me:9009",staging:"https://".concat(e,".neetoengage.net"),production:"https://".concat(e,".neetoengage.com")}},{name:"Grow",icon:Lp,description:"Business Grow App",url:{development:"http://spinkart.lvh.me:9010",staging:"https://".concat(e,".neetogrow.net"),production:"https://".concat(e,".neetogrow.com")}},{name:"Quiz",icon:_p,description:"Quiz App",url:{development:"http://spinkart.lvh.me:9011",staging:"https://".concat(e,".neetoquiz.net"),production:"https://".concat(e,".neetoquiz.com")}},{name:"Runner",icon:Vp,description:"Interview App",url:{development:"http://spinkart.lvh.me:9012",staging:"https://".concat(e,".neetorunner.net"),production:"https://".concat(e,".neetorunner.com")}},{name:"Planner",icon:Cp,description:"Planner App",url:{development:"http://spinkart.lvh.me:9013",staging:"https://".concat(e,".neetoplanner.net"),production:"https://".concat(e,".neetoplanner.com")}},{name:"Replay",icon:Np,description:"Replay App",url:{development:"http://spinkart.lvh.me:9020",staging:"https://".concat(e,".neetoreplay.net"),production:"https://".concat(e,".neetoreplay.com")}},{name:"Wireframe",icon:zp,description:"Wireframe App",url:{development:"http://spinkart.lvh.me:9021",staging:"https://".concat(e,".neetowireframe.net"),production:"https://".concat(e,".neetowireframe.com")}},{name:"Invisible",icon:Hp,description:"Invisible",url:{development:"http://spinkart.lvh.me:9014",staging:"https://".concat(e,".neetoinvisible.net"),production:"https://".concat(e,".neetoinvisible.com")}},{name:"Popups",icon:jp,description:"Popups App",url:{development:"http://spinkart.lvh.me:9021",staging:"https://".concat(e,".neetopopups.net"),production:"https://".concat(e,".neetopopups.com")}},{name:"Store",icon:jp,description:"Store App",url:{development:"http://spinkart.lvh.me:9025",staging:"https://".concat(e,".neetostore.net"),production:"https://".concat(e,".neetostore.com")}},{name:"CRM",icon:jp,description:"CRM App",url:{development:"http://spinkart.lvh.me:9017",staging:"https://".concat(e,".neetocrm.net"),production:"https://".concat(e,".neetocrm.com")}},{name:"Course",icon:jp,description:"Course App",url:{development:"http://spinkart.lvh.me:9016",staging:"https://".concat(e,".neetocourse.net"),production:"https://".concat(e,".neetocourse.com")}},{name:"Hr",icon:jp,description:"Hr App",url:{development:"http://spinkart.lvh.me:9015",staging:"https://".concat(e,".neetohr.net"),production:"https://".concat(e,".neetohr.com")}}]}(i),f=[],p=[];s instanceof Array&&s.length>0&&(f=l.filter((function(e){return s.includes(e.name)}))),u instanceof Array&&u.length>0&&(p=l.filter((function(e){return u.includes(e.name)})));var d=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Ip(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(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Ip(e,t):void 0}}(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.")}()}((0,e.useState)(""),2),m=d[0],v=d[1],h=f.filter((function(e){return e.name.toLowerCase().includes(m.replace(/ /g,"").toLowerCase())}));return t().createElement(t().Fragment,null,t().createElement("div",{className:"neeto-ui-app-switcher__header","data-cy":"app-switcher-body-wrapper"},t().createElement(of,{icon:pp,style:"text",iconPosition:"left",label:"Back",onClick:c,"data-cy":"app-switcher-back-button"})),t().createElement("div",{className:"neeto-ui-app-switcher__search-wrapper"},t().createElement(jf,{placeholder:"Search Products",type:"search",suffix:t().createElement(Il,null),onChange:function(e){return v(e.target.value)},value:m,"data-cy":"app-switcher-search-input"})),0===m.length&&p.length>0&&t().createElement("div",{className:"neeto-ui-app-switcher__body"},t().createElement(ia,{style:"h5",weight:"bold",textTransform:"uppercase",className:"neeto-ui-text-gray-400"},"Recently"),t().createElement("div",{className:"neeto-ui-app-switcher__grid"},p.map((function(e){var n=e.name,i=e.url,a=e.icon;return t().createElement(vp,{key:n,name:n,url:i,icon:a,environment:r,activeApp:o})})))),t().createElement("div",{className:"neeto-ui-app-switcher__body"},t().createElement(ia,{style:"h5",weight:"bold",textTransform:"uppercase",className:"neeto-ui-text-gray-400"},0===m.length?"All":"Apps"),t().createElement("div",{className:"neeto-ui-app-switcher__grid"},h.length?h.map((function(e){var n=e.name,i=e.url,a=e.icon;return t().createElement(vp,{key:n,name:n,url:i,icon:a,environment:r,activeApp:o})})):t().createElement(ia,{style:"h4",className:"text-center neeto-ui-text-gray-400"},"No apps found"))))};var Fp=["children"];function Up(){return Up=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},Up.apply(this,arguments)}var qp={invisible:{backgroundColor:"#1b1f2300",backdropFilter:Rc},visible:{backgroundColor:"#1b1f23dd",backdropFilter:zc}},Yp=function(e,n){var r=e.children,o=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}(e,Fp);return t().createElement(Fi.div,Up({ref:n,variants:qp,initial:"invisible",animate:"visible",exit:"invisible","data-testid":"neeto-backdrop",transition:{bounce:!1,duration:.3}},o),r)};const Zp=(0,e.forwardRef)(Yp),Xp=function(t){var n=t.children,r=t.rootId,o=void 0===r?"root-portal":r,i=t.el,a=void 0===i?"div":i,s=(0,e.useRef)(null);return(0,e.useEffect)((function(){var e=document.getElementById(o);return e||((e=document.createElement(a)).setAttribute("id",o),document.body.appendChild(e)),e.appendChild(s.current),function(){s.current.remove(),0===e.childNodes.length&&e.remove()}}),[o]),s.current||(s.current=document.createElement(a)),(0,Ec.createPortal)(n,s.current)};var Kp=i(7484),Gp=i.n(Kp),Jp=i(178),Qp=i.n(Jp),ed=i(6833),td=i.n(ed),nd=i(6036),rd=i.n(nd);Gp().extend(td()),Gp().extend(rd()),Gp().extend(Qp());var od={open:{x:0,filter:Rc},closed:{x:-400,filter:zc}},id={lg:"lg",sm:"sm"},ad={development:"development",staging:"staging",production:"production"},sd=function(){var e=window.location.host.split("."),t="";return e.length>=3&&(t=e[0]),t},ud=["size","isOpen","className","closeOnEsc","closeOnOutsideClick","environment","activeApp","subdomain","neetoApps","recentApps","isSidebarOpen","onClose"];function cd(){return cd=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},cd.apply(this,arguments)}var ld=function(){},fd=function(e){return"string"==typeof e&&/^[A-Z]\S*$/.test(e)},pd=function(e,t,n){return"Invalid prop `"+t+" -> "+e+"` supplied to `"+n+"`. Validation failed."},dd=function(n){var r,o,i,a,s,u,c=n.size,l=void 0===c?"sm":c,f=n.isOpen,p=n.className,d=void 0===p?"":p,m=n.closeOnEsc,v=void 0===m||m,h=n.closeOnOutsideClick,y=void 0===h||h,g=n.environment,b=n.activeApp,x=n.subdomain,k=void 0===x?"":x,w=n.neetoApps,C=void 0===w?[]:w,O=n.recentApps,E=void 0===O?[]:O,S=n.isSidebarOpen,j=void 0!==S&&S,P=n.onClose,T=void 0===P?ld:P,A=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}(n,ud),L=(0,e.useRef)(),M=(0,e.useRef)();return r=L,o=M,i=y?T:ld,(0,e.useEffect)((function(){var e=function(e){r.current&&!r.current.contains(e.target)&&(o.current?o.current.contains(e.target)&&i(e):i(e))};return document.addEventListener("mousedown",e),document.addEventListener("touchstart",e),function(){document.removeEventListener("mousedown",e),document.removeEventListener("touchstart",e)}}),[r,o,i]),function(t,n,r,o){r instanceof Array&&(o=r,r=void 0);var i=r||{},a=i.enableOnTags,s=i.filter,u=i.keyup,c=i.keydown,l=i.filterPreventDefault,f=void 0===l||l,p=i.enabled,d=void 0===p||p,m=i.enableOnContentEditable,v=void 0!==m&&m,h=(0,e.useRef)(null),y=(0,e.useCallback)((function(e,t){var r;return s&&!s(e)?!f:!!(lp(e,["INPUT","TEXTAREA","SELECT"])&&!lp(e,a)||null!=(r=e.target)&&r.isContentEditable&&!v)||(null===h.current||document.activeElement===h.current)&&(n(e,t),!0)}),o?[h,a,s].concat(o):[h,a,s]);(0,e.useEffect)((function(){if(d)return u&&!0!==c&&(r.keydown=!1),cp(t,r||{},y),function(){cp.unbind(t,y)}}),[y,t,d])}("esc",v?T:ld),(0,e.useEffect)((function(){!function(){if(!b||!fd(b))throw new Error("Value of activeApp prop of AppSwitcher component is ".concat(b,", it is not matching the expected format. Please refer docs for more info"))}()}),[b]),(0,e.useEffect)((function(){!function(){if(ad[g]&&!Array.isArray(C))throw new Error("Value of neetoApps prop of AppSwitcher component is ".concat(C,", it should be an array instead"))}()}),[C]),t().createElement(Xp,{rootId:"neeto-ui-portal"},t().createElement(Zl,null,f&&t().createElement(Zp,{ref:M,key:"switcher-backdrop",className:qi()("neeto-ui-app-switcher__backdrop",{"neeto-ui-app-switcher__backdrop--expanded":j})},t().createElement(Fi.div,cd({variants:od,initial:"closed",animate:"open",exit:"closed",transition:{bounce:!1,duration:.3},ref:L,key:"switcher-wrapper","data-cy":"switcher-wrapper",className:qi()("neeto-ui-app-switcher__wrapper",(a={"neeto-ui-app-switcher__wrapper-size--sm":l===id.sm,"neeto-ui-app-switcher__wrapper-size--lg":l===id.lg},s=d,u=d,s in a?Object.defineProperty(a,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):a[s]=u,a))},A),t().createElement(Bp,{onClose:T,environment:g,activeApp:b,subdomain:k||sd()||"spinkart",neetoApps:C,recentApps:E})))))};dd.propTypes={size:Zi().oneOf(Object.values(id)),isOpen:Zi().bool,onClose:Zi().func,className:Zi().string,closeOnEsc:Zi().bool,closeOnOutsideClick:Zi().bool,activeApp:Zi().oneOfType([function(e,t,n){var r=e[t];if(!fd(r))return new Error(pd(r,t,n))}]).isRequired,subdomain:Zi().string,neetoApps:Zi().arrayOf((function(e,t,n,r,o){var i=e[t];if(!fd(i))return new Error(pd(i,o,n))})).isRequired,recentApps:Zi().arrayOf(Zi().string),environment:Zi().oneOf(Object.values(ad)).isRequired};const md=dd;var vd=["url","icon","label","count","active","onEdit","onClick","className"];var hd=function(){},yd=function(e){var n,r,o,i=e.url,a=e.icon,s=e.label,u=e.count,c=e.active,l=void 0!==c&&c,f=e.onEdit,p=e.onClick,d=void 0===p?hd:p,m=e.className,v=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}(e,vd),h=i?kl.Link:function(e){return t().createElement("button",e)};return t().createElement(h,{to:i,className:qi()("neeto-ui-menubar__block",(n={"neeto-ui-menubar__block--editable":f,"neeto-ui-menubar__block--active":l},r=m,o=m,r in n?Object.defineProperty(n,r,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[r]=o,n)),onClick:d,"data-cy":v["data-cy"]||ff(s)},t().createElement("div",{className:"neeto-ui-menubar__block-label"},a&&t().createElement("i",{className:"neeto-ui-menubar__block-icon"},a),t().createElement(ia,{title:s,component:"span",style:"h5",weight:"medium"},s)),Number.isInteger(u)&&t().createElement("div",{onClick:function(e){e.stopPropagation(),f&&f()}},t().createElement(ia,{component:"span",style:"h5",weight:"medium"},u>99?"99+":u)))};yd.propTypes={url:Zi().string,icon:Zi().node,label:Zi().string,count:Zi().number,active:Zi().bool,onEdit:Zi().func,onClick:Zi().func,className:Zi().string};const gd=yd;var bd=["label","description","active","className"];function xd(){return xd=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},xd.apply(this,arguments)}var kd=function(e){var n,r,o,i=e.label,a=void 0===i?"":i,s=e.description,u=void 0===s?"":s,c=e.active,l=void 0!==c&&c,f=e.className,p=void 0===f?"":f,d=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}(e,bd);return t().createElement("button",xd({className:qi()("neeto-ui-menubar__item",(n={"neeto-ui-menubar__item--active":l},r=p,o=p,r in n?Object.defineProperty(n,r,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[r]=o,n))},d),t().createElement(ia,{component:"h5",style:"h4",className:"neeto-ui-menubar__item-header"},a),t().createElement(ia,{style:"body3",className:"neeto-ui-menubar__item-desc"},u))};kd.propTypes={label:Zi().string,description:Zi().string,active:Zi().bool,className:Zi().string};const wd=kd;var Cd=["children","iconProps"];function Od(){return Od=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},Od.apply(this,arguments)}var Ed=function(e){var n=e.children,r=e.iconProps,o=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}(e,Cd);return t().createElement("div",{"data-cy":o["data-cy"]||"menubar-subtitle-heading",className:"neeto-ui-menubar__subtitle"},n,t().createElement("div",{className:"neeto-ui-menubar__subtitle-actions"},r&&r.map((function(e,n){return t().createElement(of,Od({style:"text",size:"large",key:n},e))}))))};Ed.propTypes={children:Zi().node,iconProps:Zi().arrayOf(Zi().shape(of.propTypes))};const Sd=Ed;var jd=["size","color","strokeWidth"];function Pd(e){var t=e.size,n=e.color,r=e.strokeWidth,o=ua(e,jd);return qa.createElement("svg",sa({viewBox:"0 0 24 24",fill:"none",height:t,width:t},o),qa.createElement("path",{d:"M6 6L18 18",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}),qa.createElement("path",{d:"M18 6L6 18",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}))}Pd.defaultProps={color:"currentColor",size:24,strokeWidth:"1.5"},Pd.propTypes={color:bs.string,size:bs.oneOfType([bs.string,bs.number]),strokeWidth:bs.oneOfType([bs.string,bs.number])};var Td=["collapse","onCollapse"];function Ad(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}function Ld(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ad(Object(n),!0).forEach((function(t){Md(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ad(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Md(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function _d(){return _d=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},_d.apply(this,arguments)}var Dd=function(e){var n=e.collapse,r=void 0===n||n,o=e.onCollapse,i=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}(e,Td);return!r&&t().createElement("div",{className:"neeto-ui-menubar__search"},t().createElement(jf,_d({type:"search",placeholder:"Search",prefix:t().createElement(Il,null)},i)),t().createElement(of,{size:"large",style:"text",icon:Pd,onClick:o}))};Dd.propTypes=Ld(Ld({},jf.propTypes),{},{collapse:Zi().bool,onCollapse:Zi().func});const Vd=Dd;var Wd=["size","color","strokeWidth"];function Nd(e){var t=e.size,n=e.color,r=e.strokeWidth,o=ua(e,Wd);return qa.createElement("svg",sa({viewBox:"0 0 24 24",fill:"none",height:t,width:t},o),qa.createElement("path",{d:"M12 6L12 18",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}),qa.createElement("path",{d:"M18 12H6",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}))}Nd.defaultProps={color:"currentColor",size:24,strokeWidth:"1.5"},Nd.propTypes={color:bs.string,size:bs.oneOfType([bs.string,bs.number]),strokeWidth:bs.oneOfType([bs.string,bs.number])};var Rd=["label","onClick"];function zd(){return zd=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},zd.apply(this,arguments)}var $d=function(e){var n=e.label,r=void 0===n?"":n,o=e.onClick,i=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}(e,Rd);return t().createElement("div",zd({className:"neeto-ui-menubar__add-new-wrap"},i),t().createElement(of,{label:r,style:"link",icon:Nd,iconPosition:"left",iconSize:16,onClick:o}))};$d.propTypes={label:Zi().string};const Hd=$d;var Id={open:{width:324},collapsed:{width:0}},Bd=["title","children","showMenu","className"];var Fd=function(e){var n,r,o,i=e.title,a=void 0===i?"":i,s=e.children,u=e.showMenu,c=void 0!==u&&u,l=e.className,f=void 0===l?"":l,p=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}(e,Bd);return t().createElement(Zl,null,c&&t().createElement(Fi.div,{initial:"collapsed",animate:"open",exit:"collapsed",variants:Id,transition:{duration:.3},className:qi()("neeto-ui-menubar__wrapper",(n={},r=f,o=f,r in n?Object.defineProperty(n,r,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[r]=o,n))},t().createElement("div",{className:"neeto-ui-menubar__container"},a&&t().createElement(ia,{lineHeight:"tight",style:"h2",weight:"semibold","data-cy":p["data-cy"]||"menubar-heading",className:"neeto-ui-text-gray-800 neeto-ui-menubar__title"},a),s)))};Fd.Block=gd,Fd.Item=wd,Fd.SubTitle=Sd,Fd.Search=Vd,Fd.AddNew=Hd,Fd.propTypes={title:Zi().node,children:Zi().oneOfType([Zi().arrayOf(Zi().node),Zi().node]),showMenu:Zi().bool,className:Zi().string};const Ud=Fd})(),a})()}));
|
|
2
|
+
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react"),require("react-dom"),require("react-router-dom")):"function"==typeof define&&define.amd?define(["react","react-dom","react-router-dom"],t):"object"==typeof exports?exports.neetoui=t(require("react"),require("react-dom"),require("react-router-dom")):e.neetoui=t(e.react,e["react-dom"],e["react-router-dom"])}(self,(function(e,t,n){return(()=>{var r={8594:(e,t,n)=>{"use strict";n.d(t,{Z:()=>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)-.*))$/;const o=(i={},function(e){return void 0===i[e]&&(i[e]=(t=e,r.test(t)||111===t.charCodeAt(0)&&110===t.charCodeAt(1)&&t.charCodeAt(2)<91)),i[e];var t});var i},4184:(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)&&n.length){var a=o.apply(null,n);a&&e.push(a)}else if("object"===i)for(var s in n)r.call(n,s)&&n[s]&&e.push(s)}}return e.join(" ")}e.exports?(o.default=o,e.exports=o):void 0===(n=function(){return o}.apply(t,[]))||(e.exports=n)}()},7484:function(e){e.exports=function(){"use strict";var e=6e4,t=36e5,n="millisecond",r="second",o="minute",i="hour",a="day",s="week",u="month",c="quarter",l="year",f="date",p="Invalid Date",d=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,m=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,v={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_")},h=function(e,t,n){var r=String(e);return!r||r.length>=t?e:""+Array(t+1-r.length).join(n)+e},y={s:h,z:function(e){var t=-e.utcOffset(),n=Math.abs(t),r=Math.floor(n/60),o=n%60;return(t<=0?"+":"-")+h(r,2,"0")+":"+h(o,2,"0")},m:function e(t,n){if(t.date()<n.date())return-e(n,t);var r=12*(n.year()-t.year())+(n.month()-t.month()),o=t.clone().add(r,u),i=n-o<0,a=t.clone().add(r+(i?-1:1),u);return+(-(r+(n-o)/(i?o-a:a-o))||0)},a:function(e){return e<0?Math.ceil(e)||0:Math.floor(e)},p:function(e){return{M:u,y:l,w:s,d:a,D:f,h:i,m:o,s:r,ms:n,Q:c}[e]||String(e||"").toLowerCase().replace(/s$/,"")},u:function(e){return void 0===e}},g="en",b={};b[g]=v;var x=function(e){return e instanceof O},k=function e(t,n,r){var o;if(!t)return g;if("string"==typeof t){var i=t.toLowerCase();b[i]&&(o=i),n&&(b[i]=n,o=i);var a=t.split("-");if(!o&&a.length>1)return e(a[0])}else{var s=t.name;b[s]=t,o=s}return!r&&o&&(g=o),o||!r&&g},w=function(e,t){if(x(e))return e.clone();var n="object"==typeof t?t:{};return n.date=e,n.args=arguments,new O(n)},C=y;C.l=k,C.i=x,C.w=function(e,t){return w(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var O=function(){function v(e){this.$L=k(e.locale,null,!0),this.parse(e)}var h=v.prototype;return h.parse=function(e){this.$d=function(e){var t=e.date,n=e.utc;if(null===t)return new Date(NaN);if(C.u(t))return new Date;if(t instanceof Date)return new Date(t);if("string"==typeof t&&!/Z$/i.test(t)){var r=t.match(d);if(r){var o=r[2]-1||0,i=(r[7]||"0").substring(0,3);return n?new Date(Date.UTC(r[1],o,r[3]||1,r[4]||0,r[5]||0,r[6]||0,i)):new Date(r[1],o,r[3]||1,r[4]||0,r[5]||0,r[6]||0,i)}}return new Date(t)}(e),this.$x=e.x||{},this.init()},h.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},h.$utils=function(){return C},h.isValid=function(){return!(this.$d.toString()===p)},h.isSame=function(e,t){var n=w(e);return this.startOf(t)<=n&&n<=this.endOf(t)},h.isAfter=function(e,t){return w(e)<this.startOf(t)},h.isBefore=function(e,t){return this.endOf(t)<w(e)},h.$g=function(e,t,n){return C.u(e)?this[t]:this.set(n,e)},h.unix=function(){return Math.floor(this.valueOf()/1e3)},h.valueOf=function(){return this.$d.getTime()},h.startOf=function(e,t){var n=this,c=!!C.u(t)||t,p=C.p(e),d=function(e,t){var r=C.w(n.$u?Date.UTC(n.$y,t,e):new Date(n.$y,t,e),n);return c?r:r.endOf(a)},m=function(e,t){return C.w(n.toDate()[e].apply(n.toDate("s"),(c?[0,0,0,0]:[23,59,59,999]).slice(t)),n)},v=this.$W,h=this.$M,y=this.$D,g="set"+(this.$u?"UTC":"");switch(p){case l:return c?d(1,0):d(31,11);case u:return c?d(1,h):d(0,h+1);case s:var b=this.$locale().weekStart||0,x=(v<b?v+7:v)-b;return d(c?y-x:y+(6-x),h);case a:case f:return m(g+"Hours",0);case i:return m(g+"Minutes",1);case o:return m(g+"Seconds",2);case r:return m(g+"Milliseconds",3);default:return this.clone()}},h.endOf=function(e){return this.startOf(e,!1)},h.$set=function(e,t){var s,c=C.p(e),p="set"+(this.$u?"UTC":""),d=(s={},s[a]=p+"Date",s[f]=p+"Date",s[u]=p+"Month",s[l]=p+"FullYear",s[i]=p+"Hours",s[o]=p+"Minutes",s[r]=p+"Seconds",s[n]=p+"Milliseconds",s)[c],m=c===a?this.$D+(t-this.$W):t;if(c===u||c===l){var v=this.clone().set(f,1);v.$d[d](m),v.init(),this.$d=v.set(f,Math.min(this.$D,v.daysInMonth())).$d}else d&&this.$d[d](m);return this.init(),this},h.set=function(e,t){return this.clone().$set(e,t)},h.get=function(e){return this[C.p(e)]()},h.add=function(n,c){var f,p=this;n=Number(n);var d=C.p(c),m=function(e){var t=w(p);return C.w(t.date(t.date()+Math.round(e*n)),p)};if(d===u)return this.set(u,this.$M+n);if(d===l)return this.set(l,this.$y+n);if(d===a)return m(1);if(d===s)return m(7);var v=(f={},f[o]=e,f[i]=t,f[r]=1e3,f)[d]||1,h=this.$d.getTime()+n*v;return C.w(h,this)},h.subtract=function(e,t){return this.add(-1*e,t)},h.format=function(e){var t=this,n=this.$locale();if(!this.isValid())return n.invalidDate||p;var r=e||"YYYY-MM-DDTHH:mm:ssZ",o=C.z(this),i=this.$H,a=this.$m,s=this.$M,u=n.weekdays,c=n.months,l=function(e,n,o,i){return e&&(e[n]||e(t,r))||o[n].slice(0,i)},f=function(e){return C.s(i%12||12,e,"0")},d=n.meridiem||function(e,t,n){var r=e<12?"AM":"PM";return n?r.toLowerCase():r},v={YY:String(this.$y).slice(-2),YYYY:this.$y,M:s+1,MM:C.s(s+1,2,"0"),MMM:l(n.monthsShort,s,c,3),MMMM:l(c,s),D:this.$D,DD:C.s(this.$D,2,"0"),d:String(this.$W),dd:l(n.weekdaysMin,this.$W,u,2),ddd:l(n.weekdaysShort,this.$W,u,3),dddd:u[this.$W],H:String(i),HH:C.s(i,2,"0"),h:f(1),hh:f(2),a:d(i,a,!0),A:d(i,a,!1),m:String(a),mm:C.s(a,2,"0"),s:String(this.$s),ss:C.s(this.$s,2,"0"),SSS:C.s(this.$ms,3,"0"),Z:o};return r.replace(m,(function(e,t){return t||v[e]||o.replace(":","")}))},h.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},h.diff=function(n,f,p){var d,m=C.p(f),v=w(n),h=(v.utcOffset()-this.utcOffset())*e,y=this-v,g=C.m(this,v);return g=(d={},d[l]=g/12,d[u]=g,d[c]=g/3,d[s]=(y-h)/6048e5,d[a]=(y-h)/864e5,d[i]=y/t,d[o]=y/e,d[r]=y/1e3,d)[m]||y,p?g:C.a(g)},h.daysInMonth=function(){return this.endOf(u).$D},h.$locale=function(){return b[this.$L]},h.locale=function(e,t){if(!e)return this.$L;var n=this.clone(),r=k(e,t,!0);return r&&(n.$L=r),n},h.clone=function(){return C.w(this.$d,this)},h.toDate=function(){return new Date(this.valueOf())},h.toJSON=function(){return this.isValid()?this.toISOString():null},h.toISOString=function(){return this.$d.toISOString()},h.toString=function(){return this.$d.toUTCString()},v}(),E=O.prototype;return w.prototype=E,[["$ms",n],["$s",r],["$m",o],["$H",i],["$W",a],["$M",u],["$y",l],["$D",f]].forEach((function(e){E[e[1]]=function(t){return this.$g(t,e[0],e[1])}})),w.extend=function(e,t){return e.$i||(e(t,O,w),e.$i=!0),w},w.locale=k,w.isDayjs=x,w.unix=function(e){return w(1e3*e)},w.en=b[g],w.Ls=b,w.p={},w}()},6036:function(e){e.exports=function(){"use strict";return function(e,t,n){var r=t.prototype,o=function(e){return e&&(e.indexOf?e:e.s)},i=function(e,t,n,r,i){var a=e.name?e:e.$locale(),s=o(a[t]),u=o(a[n]),c=s||u.map((function(e){return e.slice(0,r)}));if(!i)return c;var l=a.weekStart;return c.map((function(e,t){return c[(t+(l||0))%7]}))},a=function(){return n.Ls[n.locale()]},s=function(e,t){return e.formats[t]||function(e){return e.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(e,t,n){return t||n.slice(1)}))}(e.formats[t.toUpperCase()])},u=function(){var e=this;return{months:function(t){return t?t.format("MMMM"):i(e,"months")},monthsShort:function(t){return t?t.format("MMM"):i(e,"monthsShort","months",3)},firstDayOfWeek:function(){return e.$locale().weekStart||0},weekdays:function(t){return t?t.format("dddd"):i(e,"weekdays")},weekdaysMin:function(t){return t?t.format("dd"):i(e,"weekdaysMin","weekdays",2)},weekdaysShort:function(t){return t?t.format("ddd"):i(e,"weekdaysShort","weekdays",3)},longDateFormat:function(t){return s(e.$locale(),t)},meridiem:this.$locale().meridiem,ordinal:this.$locale().ordinal}};r.localeData=function(){return u.bind(this)()},n.localeData=function(){var e=a();return{firstDayOfWeek:function(){return e.weekStart||0},weekdays:function(){return n.weekdays()},weekdaysShort:function(){return n.weekdaysShort()},weekdaysMin:function(){return n.weekdaysMin()},months:function(){return n.months()},monthsShort:function(){return n.monthsShort()},longDateFormat:function(t){return s(e,t)},meridiem:e.meridiem,ordinal:e.ordinal}},n.months=function(){return i(a(),"months")},n.monthsShort=function(){return i(a(),"monthsShort","months",3)},n.weekdays=function(e){return i(a(),"weekdays",null,null,e)},n.weekdaysShort=function(e){return i(a(),"weekdaysShort","weekdays",3,e)},n.weekdaysMin=function(e){return i(a(),"weekdaysMin","weekdays",2,e)}}}()},178:function(e){e.exports=function(){"use strict";var e="minute",t=/[+-]\d\d(?::?\d\d)?/g,n=/([+-]|\d\d)/g;return function(r,o,i){var a=o.prototype;i.utc=function(e){return new o({date:e,utc:!0,args:arguments})},a.utc=function(t){var n=i(this.toDate(),{locale:this.$L,utc:!0});return t?n.add(this.utcOffset(),e):n},a.local=function(){return i(this.toDate(),{locale:this.$L,utc:!1})};var s=a.parse;a.parse=function(e){e.utc&&(this.$u=!0),this.$utils().u(e.$offset)||(this.$offset=e.$offset),s.call(this,e)};var u=a.init;a.init=function(){if(this.$u){var e=this.$d;this.$y=e.getUTCFullYear(),this.$M=e.getUTCMonth(),this.$D=e.getUTCDate(),this.$W=e.getUTCDay(),this.$H=e.getUTCHours(),this.$m=e.getUTCMinutes(),this.$s=e.getUTCSeconds(),this.$ms=e.getUTCMilliseconds()}else u.call(this)};var c=a.utcOffset;a.utcOffset=function(r,o){var i=this.$utils().u;if(i(r))return this.$u?0:i(this.$offset)?c.call(this):this.$offset;if("string"==typeof r&&(r=function(e){void 0===e&&(e="");var r=e.match(t);if(!r)return null;var o=(""+r[0]).match(n)||["-",0,0],i=o[0],a=60*+o[1]+ +o[2];return 0===a?0:"+"===i?a:-a}(r),null===r))return this;var a=Math.abs(r)<=16?60*r:r,s=this;if(o)return s.$offset=a,s.$u=0===r,s;if(0!==r){var u=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(s=this.local().add(a+u,e)).$offset=a,s.$x.$localOffset=u}else s=this.utc();return s};var l=a.format;a.format=function(e){var t=e||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return l.call(this,t)},a.valueOf=function(){var e=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||(new Date).getTimezoneOffset());return this.$d.valueOf()-6e4*e},a.isUTC=function(){return!!this.$u},a.toISOString=function(){return this.toDate().toISOString()},a.toString=function(){return this.toDate().toUTCString()};var f=a.toDate;a.toDate=function(e){return"s"===e&&this.$offset?i(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():f.call(this)};var p=a.diff;a.diff=function(e,t,n){if(e&&this.$u===e.$u)return p.call(this,e,t,n);var r=this.local(),o=i(e).local();return p.call(r,o,t,n)}}}()},6833:function(e){e.exports=function(){"use strict";return function(e,t){t.prototype.weekday=function(e){var t=this.$locale().weekStart||0,n=this.$W,r=(n<t?n+7:n)-t;return this.$utils().u(e)?r:this.subtract(r,"day").add(e,"day")}}}()},2703:(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:(e,t,n)=>{e.exports=n(2703)()},414:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},8156:t=>{"use strict";t.exports=e},7111:e=>{"use strict";e.exports=t},6128:e=>{"use strict";e.exports=n}},o={};function i(e){var t=o[e];if(void 0!==t)return t.exports;var n=o[e]={exports:{}};return r[e].call(n.exports,n,n.exports,i),n.exports}i.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return i.d(t,{a:t}),t},i.d=(e,t)=>{for(var n in t)i.o(t,n)&&!i.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),i.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var a={};return(()=>{"use strict";i.r(a),i.d(a,{AppSwitcher:()=>md,Container:()=>Df,Header:()=>Af,MenuBar:()=>Ud,Scrollable:()=>zf,Sidebar:()=>Wl,SubHeader:()=>Mf});var e=i(8156),t=i.n(e),n=function(e,t){return n=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])},n(e,t)};function r(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}var o=function(){return o=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},o.apply(this,arguments)};function s(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}function u(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(e){o={error:e}}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,Object.create;var l=function(e){return{isEnabled:function(t){return e.some((function(e){return!!t[e]}))}}},f={measureLayout:l(["layout","layoutId","drag","_layoutResetTransform"]),animation:l(["animate","exit","variants","whileHover","whileTap","whileFocus","whileDrag"]),exit:l(["exit"]),drag:l(["drag","dragControls"]),focus:l(["whileFocus"]),hover:l(["whileHover","onHoverStart","onHoverEnd"]),tap:l(["whileTap","onTap","onTapStart","onTapCancel"]),pan:l(["onPan","onPanStart","onPanSessionStart","onPanEnd"]),layoutAnimation:l(["layout","layoutId"])},p=(0,e.createContext)({strict:!1}),d=Object.keys(f),m=d.length,v=(0,e.createContext)({transformPagePoint:function(e){return e},isStatic:!1}),h=(0,e.createContext)({}),y=(0,e.createContext)(null);function g(t){var n=(0,e.useRef)(null);return null===n.current&&(n.current=t()),n.current}function b(){var t=(0,e.useContext)(y);if(null===t)return[!0,null];var n=t.isPresent,r=t.onExitComplete,o=t.register,i=w();return(0,e.useEffect)((function(){return o(i)}),[]),!n&&r?[!1,function(){return null==r?void 0:r(i)}]:[!0]}var x=0,k=function(){return x++},w=function(){return g(k)},C=(0,e.createContext)(null),O="undefined"!=typeof window,E=O?e.useLayoutEffect:e.useEffect;function S(e){return"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}function j(e){return Array.isArray(e)}function P(e){return"string"==typeof e||j(e)}function T(e,t,n,r,o){var i;return void 0===r&&(r={}),void 0===o&&(o={}),"string"==typeof t&&(t=null===(i=e.variants)||void 0===i?void 0:i[t]),"function"==typeof t?t(null!=n?n:e.custom,r,o):t}function A(e,t,n){var r=e.getProps();return T(r,t,null!=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 L(e){var t;return"function"==typeof(null===(t=e.animate)||void 0===t?void 0:t.start)||P(e.initial)||P(e.animate)||P(e.whileHover)||P(e.whileDrag)||P(e.whileTap)||P(e.whileFocus)||P(e.exit)}function M(e){return Boolean(L(e)||e.variants)}function _(e){return Array.isArray(e)?e.join(" "):e}function D(t){var n=t.preloadedFeatures,r=t.createVisualElement,i=t.useRender,a=t.useVisualState,s=t.Component;return n&&function(e){for(var t in e){var n=e[t];null!==n&&(f[t].Component=n)}}(n),(0,e.forwardRef)((function(t,n){var u=(0,e.useContext)(v).isStatic,c=null,l=function(t,n){var r=function(e,t){if(L(e)){var n=e.initial,r=e.animate;return{initial:!1===n||P(n)?n:void 0,animate:P(r)?r:void 0}}return!1!==e.inherit?t:{}}(t,(0,e.useContext)(h)),o=r.initial,i=r.animate;return(0,e.useMemo)((function(){return{initial:o,animate:i}}),n?[_(o),_(i)]:[])}(t,u),g=a(t,u);return!u&&O&&(l.visualElement=function(t,n,r,i){var a=(0,e.useContext)(v),s=(0,e.useContext)(p),u=(0,e.useContext)(h).visualElement,c=(0,e.useContext)(y),l=function(t){var n=t.layoutId,r=(0,e.useContext)(C);return r&&void 0!==n?r+"-"+n:n}(r),f=(0,e.useRef)(void 0);i||(i=s.renderer),!f.current&&i&&(f.current=i(t,{visualState:n,parent:u,props:o(o({},r),{layoutId:l}),presenceId:null==c?void 0:c.id,blockInitialAnimation:!1===(null==c?void 0:c.initial)}));var d=f.current;return E((function(){var e;d&&(d.setProps(o(o(o({},a),r),{layoutId:l})),d.isPresent=null===(e=c)||e.isPresent,d.isPresenceRoot=!u||u.presenceId!==(null==c?void 0:c.id),d.syncRender())})),(0,e.useEffect)((function(){var e;d&&(null===(e=d.animationState)||void 0===e||e.animateChanges())})),E((function(){return function(){return null==d?void 0:d.notifyUnmount()}}),[]),d}(s,g,t,r),c=function(t,n,r){var i=[];if((0,e.useContext)(p),!n)return null;for(var a=0;a<m;a++){var s=d[a],u=f[s],c=u.isEnabled,l=u.Component;c(t)&&l&&i.push(e.createElement(l,o({key:s},t,{visualElement:n})))}return i}(t,l.visualElement)),e.createElement(e.Fragment,null,e.createElement(h.Provider,{value:l},i(s,t,function(t,n,r){return(0,e.useCallback)((function(e){var o;e&&(null===(o=t.mount)||void 0===o||o.call(t,e)),n&&(e?n.mount(e):n.unmount()),r&&("function"==typeof r?r(e):S(r)&&(r.current=e))}),[n])}(g,l.visualElement,n),g,u)),c)}))}function V(e){function t(t,n){return void 0===n&&(n={}),D(e(t,n))}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 W=["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 N(e){return"string"==typeof e&&!e.includes("-")&&!!(W.indexOf(e)>-1||/[A-Z]/.test(e))}var R={},z=["","X","Y","Z"],$=["transformPerspective","x","y","z"];function H(e,t){return $.indexOf(e)-$.indexOf(t)}["translate","scale","rotate","skew"].forEach((function(e){return z.forEach((function(t){return $.push(e+t)}))}));var I=new Set($);function B(e){return I.has(e)}var F=new Set(["originX","originY","originZ"]);function U(e){return F.has(e)}function q(e,t){var n=t.layout,r=t.layoutId;return B(e)||U(e)||(n||void 0!==r)&&(!!R[e]||"opacity"===e)}var Y=function(e){return null!==e&&"object"==typeof e&&e.getVelocity},Z={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"};function X(e){return e.startsWith("--")}var K=function(e,t){return t&&"number"==typeof e?t.transform(e):e},G=function(e,t){return function(n){return Math.max(Math.min(n,t),e)}},J=function(e){return e%1?Number(e.toFixed(5)):e},Q=/(-)?([\d]*\.?[\d])+/g,ee=/(#[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,te=/^(#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2,3}\s*\/*\s*[\d\.]+%?\))$/i;function ne(e){return"string"==typeof e}var re=function(e){return{test:function(t){return ne(t)&&t.endsWith(e)&&1===t.split(" ").length},parse:parseFloat,transform:function(t){return""+t+e}}},oe=re("deg"),ie=re("%"),ae=re("px"),se=re("vh"),ue=re("vw"),ce=o(o({},ie),{parse:function(e){return ie.parse(e)/100},transform:function(e){return ie.transform(100*e)}}),le={test:function(e){return"number"==typeof e},parse:parseFloat,transform:function(e){return e}},fe=o(o({},le),{transform:G(0,1)}),pe=o(o({},le),{default:1}),de=o(o({},le),{transform:Math.round}),me={borderWidth:ae,borderTopWidth:ae,borderRightWidth:ae,borderBottomWidth:ae,borderLeftWidth:ae,borderRadius:ae,radius:ae,borderTopLeftRadius:ae,borderTopRightRadius:ae,borderBottomRightRadius:ae,borderBottomLeftRadius:ae,width:ae,maxWidth:ae,height:ae,maxHeight:ae,size:ae,top:ae,right:ae,bottom:ae,left:ae,padding:ae,paddingTop:ae,paddingRight:ae,paddingBottom:ae,paddingLeft:ae,margin:ae,marginTop:ae,marginRight:ae,marginBottom:ae,marginLeft:ae,rotate:oe,rotateX:oe,rotateY:oe,rotateZ:oe,scale:pe,scaleX:pe,scaleY:pe,scaleZ:pe,skew:oe,skewX:oe,skewY:oe,distance:ae,translateX:ae,translateY:ae,translateZ:ae,x:ae,y:ae,z:ae,perspective:ae,transformPerspective:ae,opacity:fe,originX:ce,originY:ce,originZ:ae,zIndex:de,fillOpacity:fe,strokeOpacity:fe,numOctaves:de};function ve(e,t,n,r,o,i,a,s){var u,c=e.style,l=e.vars,f=e.transform,p=e.transformKeys,d=e.transformOrigin;p.length=0;var m=!1,v=!1,h=!0;for(var y in t){var g=t[y];if(X(y))l[y]=g;else{var b=me[y],x=K(g,b);if(B(y)){if(m=!0,f[y]=x,p.push(y),!h)continue;g!==(null!==(u=b.default)&&void 0!==u?u:0)&&(h=!1)}else if(U(y))d[y]=x,v=!0;else if((null==n?void 0:n.isHydrated)&&(null==r?void 0:r.isHydrated)&&R[y]){var k=R[y].process(g,r,n),w=R[y].applyTo;if(w)for(var C=w.length,O=0;O<C;O++)c[w[O]]=k;else c[y]=k}else c[y]=x}}r&&n&&a&&s?(c.transform=a(r.deltaFinal,r.treeScale,m?f:void 0),i&&(c.transform=i(f,c.transform)),c.transformOrigin=s(r)):(m&&(c.transform=function(e,t,n,r){var o=e.transform,i=e.transformKeys,a=t.enableHardwareAcceleration,s=void 0===a||a,u=t.allowTransformNone,c=void 0===u||u,l="";i.sort(H);for(var f=!1,p=i.length,d=0;d<p;d++){var m=i[d];l+=(Z[m]||m)+"("+o[m]+") ","z"===m&&(f=!0)}return!f&&s?l+="translateZ(0)":l=l.trim(),r?l=r(o,n?"":l):c&&n&&(l="none"),l}(e,o,h,i)),v&&(c.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;return n+" "+o+" "+(void 0===i?0:i)}(d)))}function he(e,t,n){for(var r in t)Y(t[r])||q(r,n)||(e[r]=t[r])}function ye(t,n,r){var i={},a=function(t,n,r){var i={};return he(i,t.style||{},t),Object.assign(i,function(t,n,r){var i=t.transformTemplate;return(0,e.useMemo)((function(){var e={style:{},transform:{},transformKeys:[],transformOrigin:{},vars:{}};ve(e,n,void 0,void 0,{enableHardwareAcceleration:!r},i);var t=e.style;return o(o({},e.vars),t)}),[n])}(t,n,r)),t.transformValues&&(i=t.transformValues(i)),i}(t,n,r);return Boolean(t.drag)&&(i.draggable=!1,a.userSelect=a.WebkitUserSelect=a.WebkitTouchCallout="none",a.touchAction=!0===t.drag?"none":"pan-"+("x"===t.drag?"y":"x")),i.style=a,i}var ge=new Set(["initial","animate","exit","style","variants","transition","transformTemplate","transformValues","custom","inherit","layout","layoutId","_layoutResetTransform","onLayoutAnimationComplete","onViewportBoxUpdate","onLayoutMeasure","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","drag","dragControls","dragListener","dragConstraints","dragDirectionLock","_dragX","_dragY","dragElastic","dragMomentum","dragPropagation","dragTransition","whileDrag","onPan","onPanStart","onPanEnd","onPanSessionStart","onTap","onTapStart","onTapCancel","onHoverStart","onHoverEnd","whileFocus","whileTap","whileHover"]);function be(e){return ge.has(e)}var xe=function(e){return!be(e)};try{var ke=i(8594).Z;xe=function(e){return e.startsWith("on")?!be(e):ke(e)}}catch(e){}function we(e,t,n){return"string"==typeof e?e:ae.transform(t+n*e)}var Ce=function(e,t){return ae.transform(e*t)},Oe={offset:"stroke-dashoffset",array:"stroke-dasharray"},Ee={offset:"strokeDashoffset",array:"strokeDasharray"};function Se(e,t,n,r,o,i,a,u){var c=t.attrX,l=t.attrY,f=t.originX,p=t.originY,d=t.pathLength,m=t.pathSpacing,v=void 0===m?1:m,h=t.pathOffset,y=void 0===h?0:h;ve(e,s(t,["attrX","attrY","originX","originY","pathLength","pathSpacing","pathOffset"]),n,r,o,i,a,u),e.attrs=e.style,e.style={};var g=e.attrs,b=e.style,x=e.dimensions,k=e.totalPathLength;g.transform&&(x&&(b.transform=g.transform),delete g.transform),x&&(void 0!==f||void 0!==p||b.transform)&&(b.transformOrigin=function(e,t,n){return we(t,e.x,e.width)+" "+we(n,e.y,e.height)}(x,void 0!==f?f:.5,void 0!==p?p:.5)),void 0!==c&&(g.x=c),void 0!==l&&(g.y=l),void 0!==k&&void 0!==d&&function(e,t,n,r,o,i){void 0===r&&(r=1),void 0===o&&(o=0),void 0===i&&(i=!0);var a=i?Oe:Ee;e[a.offset]=Ce(-o,t);var s=Ce(n,t),u=Ce(r,t);e[a.array]=s+" "+u}(g,k,d,v,y,!1)}var je=function(){return o(o({},{style:{},transform:{},transformKeys:[],transformOrigin:{},vars:{}}),{attrs:{}})};function Pe(t,n){var r=(0,e.useMemo)((function(){var e=je();return Se(e,n,void 0,void 0,{enableHardwareAcceleration:!1},t.transformTemplate),o(o({},e.attrs),{style:o({},e.style)})}),[n]);if(t.style){var i={};he(i,t.style,t),r.style=o(o({},i),r.style)}return r}function Te(t){return void 0===t&&(t=!1),function(n,r,i,a,s){var u=a.latestValues,c=(N(n)?Pe:ye)(r,u,s),l=function(e,t,n){var r={};for(var o in e)(xe(o)||!0===n&&be(o)||!t&&!be(o))&&(r[o]=e[o]);return r}(r,"string"==typeof n,t),f=o(o(o({},l),c),{ref:i});return(0,e.createElement)(n,f)}}var Ae=/([a-z])([A-Z])/g,Le=function(e){return e.replace(Ae,"$1-$2").toLowerCase()};function Me(e,t){var n=t.style,r=t.vars;for(var o in Object.assign(e.style,n),r)e.style.setProperty(o,r[o])}var _e=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform"]);function De(e,t){for(var n in Me(e,t),t.attrs)e.setAttribute(_e.has(n)?n:Le(n),t.attrs[n])}function Ve(e){var t=e.style,n={};for(var r in t)(Y(t[r])||q(r,e))&&(n[r]=t[r]);return n}function We(e){var t=Ve(e);for(var n in e)Y(e[n])&&(t["x"===n||"y"===n?"attr"+n.toUpperCase():n]=e[n]);return t}function Ne(e){return"object"==typeof e&&"function"==typeof e.start}var Re=function(e){return Array.isArray(e)},ze=function(e){return Re(e)?e[e.length-1]||0:e};function $e(e,t,n,r){var o=e.scrapeMotionValuesFromProps,i=e.createRenderState,a=e.onMount,s={latestValues:Ie(t,n,r,o),renderState:i()};return a&&(s.mount=function(e){return a(t,e,s)}),s}var He=function(t){return function(n,r){var o=(0,e.useContext)(h),i=(0,e.useContext)(y);return r?$e(t,n,o,i):g((function(){return $e(t,n,o,i)}))}};function Ie(e,t,n,r){var o,i,a={},u=!1===(null==n?void 0:n.initial),c=r(e);for(var l in c)a[l]=(o=c[l],i=void 0,function(e){return Boolean(e&&"object"==typeof e&&e.mix&&e.toValue)}(i=Y(o)?o.get():o)?i.toValue():i);var f=e.initial,p=e.animate,d=L(e),m=M(e);t&&m&&!d&&!1!==e.inherit&&(null!=f||(f=t.initial),null!=p||(p=t.animate));var v=u||!1===f?p:f;return v&&"boolean"!=typeof v&&!Ne(v)&&(Array.isArray(v)?v:[v]).forEach((function(t){var n=T(e,t);if(n){var r=n.transitionEnd;n.transition;var o=s(n,["transitionEnd","transition"]);for(var i in o)a[i]=o[i];for(var i in r)a[i]=r[i]}})),a}var Be,Fe={useVisualState:He({scrapeMotionValuesFromProps:We,createRenderState:je,onMount:function(e,t,n){var r=n.renderState,o=n.latestValues;try{r.dimensions="function"==typeof t.getBBox?t.getBBox():t.getBoundingClientRect()}catch(e){r.dimensions={x:0,y:0,width:0,height:0}}"path"===t.tagName&&(r.totalPathLength=t.getTotalLength()),Se(r,o,void 0,void 0,{enableHardwareAcceleration:!1},e.transformTemplate),De(t,r)}})},Ue={useVisualState:He({scrapeMotionValuesFromProps:Ve,createRenderState:function(){return{style:{},transform:{},transformKeys:[],transformOrigin:{},vars:{}}}})};function qe(e,t,n,r){return e.addEventListener(t,n,r),function(){return e.removeEventListener(t,n,r)}}function Ye(t,n,r,o){(0,e.useEffect)((function(){var e=t.current;if(r&&e)return qe(e,n,r,o)}),[t,n,r,o])}function Ze(e){return"undefined"!=typeof PointerEvent&&e instanceof PointerEvent?!("mouse"!==e.pointerType):e instanceof MouseEvent}function Xe(e){return!!e.touches}!function(e){e.Animate="animate",e.Hover="whileHover",e.Tap="whileTap",e.Drag="whileDrag",e.Focus="whileFocus",e.Exit="exit"}(Be||(Be={}));var Ke={pageX:0,pageY:0};function Ge(e,t){void 0===t&&(t="page");var n=e.touches[0]||e.changedTouches[0]||Ke;return{x:n[t+"X"],y:n[t+"Y"]}}function Je(e,t){return void 0===t&&(t="page"),{x:e[t+"X"],y:e[t+"Y"]}}function Qe(e,t){return void 0===t&&(t="page"),{point:Xe(e)?Ge(e,t):Je(e,t)}}var et=function(e,t){void 0===t&&(t=!1);var n=function(t){return e(t,Qe(t))};return t?function(e){return function(t){var n=t instanceof MouseEvent;(!n||n&&0===t.button)&&e(t)}}(n):n},tt={pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointercancel:"mousecancel",pointerover:"mouseover",pointerout:"mouseout",pointerenter:"mouseenter",pointerleave:"mouseleave"},nt={pointerdown:"touchstart",pointermove:"touchmove",pointerup:"touchend",pointercancel:"touchcancel"};function rt(e){return O&&null===window.onpointerdown?e:O&&null===window.ontouchstart?nt[e]:O&&null===window.onmousedown?tt[e]:e}function ot(e,t,n,r){return qe(e,rt(t),et(n,"pointerdown"===t),r)}function it(e,t,n,r){return Ye(e,rt(t),n&&et(n,"pointerdown"===t),r)}function at(e){var t=null;return function(){return null===t&&(t=e,function(){t=null})}}var st=at("dragHorizontal"),ut=at("dragVertical");function ct(e){var t=!1;if("y"===e)t=ut();else if("x"===e)t=st();else{var n=st(),r=ut();n&&r?t=function(){n(),r()}:(n&&n(),r&&r())}return t}function lt(){var e=ct(!0);return!e||(e(),!1)}function ft(e,t,n){return function(r,o){var i;Ze(r)&&!lt()&&(null==n||n(r,o),null===(i=e.animationState)||void 0===i||i.setActive(Be.Hover,t))}}var pt=function(e,t){return!!t&&(e===t||pt(e,t.parentElement))};function dt(t){return(0,e.useEffect)((function(){return function(){return t()}}),[])}var mt=function(e,t){return function(n){return t(e(n))}},vt=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return e.reduce(mt)},ht=function(e){return function(t){return e(t),null}},yt={tap:ht((function(t){var n=t.onTap,r=t.onTapStart,o=t.onTapCancel,i=t.whileTap,a=t.visualElement,s=n||r||o||i,u=(0,e.useRef)(!1),c=(0,e.useRef)(null);function l(){var e;null===(e=c.current)||void 0===e||e.call(c),c.current=null}function f(){var e;return l(),u.current=!1,null===(e=a.animationState)||void 0===e||e.setActive(Be.Tap,!1),!lt()}function p(e,t){f()&&(pt(a.getInstance(),e.target)?null==n||n(e,t):null==o||o(e,t))}function d(e,t){f()&&(null==o||o(e,t))}it(a,"pointerdown",s?function(e,t){var n;l(),u.current||(u.current=!0,c.current=vt(ot(window,"pointerup",p),ot(window,"pointercancel",d)),null==r||r(e,t),null===(n=a.animationState)||void 0===n||n.setActive(Be.Tap,!0))}:void 0),dt(l)})),focus:ht((function(e){var t=e.whileFocus,n=e.visualElement;Ye(n,"focus",t?function(){var e;null===(e=n.animationState)||void 0===e||e.setActive(Be.Focus,!0)}:void 0),Ye(n,"blur",t?function(){var e;null===(e=n.animationState)||void 0===e||e.setActive(Be.Focus,!1)}:void 0)})),hover:ht((function(e){var t=e.onHoverStart,n=e.onHoverEnd,r=e.whileHover,o=e.visualElement;it(o,"pointerenter",t||r?ft(o,!0,t):void 0),it(o,"pointerleave",n||r?ft(o,!1,n):void 0)}))};function gt(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 bt=function(e,t,n){return Math.min(Math.max(n,e),t)};function xt(e,t){return e*Math.sqrt(1-t*t)}var kt=["duration","bounce"],wt=["stiffness","damping","mass"];function Ct(e,t){return t.some((function(t){return void 0!==e[t]}))}function Ot(e){var t=e.from,n=void 0===t?0:t,r=e.to,i=void 0===r?1:r,a=e.restSpeed,u=void 0===a?2:a,c=e.restDelta,l=s(e,["from","to","restSpeed","restDelta"]),f={done:!1,value:n},p=function(e){var t=o({velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1},e);if(!Ct(e,wt)&&Ct(e,kt)){var n=function(e){var t,n,r=e.duration,o=void 0===r?800:r,i=e.bounce,a=void 0===i?.25:i,s=e.velocity,u=void 0===s?0:s,c=e.mass,l=void 0===c?1:c,f=1-a;f=bt(.05,1,f),o=bt(.01,10,o/1e3),f<1?(t=function(e){var t=e*f,n=t*o;return.001-(t-u)/xt(e,f)*Math.exp(-n)},n=function(e){var n=e*f*o,r=n*u+u,i=Math.pow(f,2)*Math.pow(e,2)*o,a=Math.exp(-n),s=xt(Math.pow(e,2),f);return(.001-t(e)>0?-1:1)*((r-i)*a)/s}):(t=function(e){return Math.exp(-e*o)*((e-u)*o+1)-.001},n=function(e){return Math.exp(-e*o)*(o*o*(u-e))});var p=function(e,t,n){for(var r=n,o=1;o<12;o++)r-=e(r)/t(r);return r}(t,n,5/o);if(o*=1e3,isNaN(p))return{stiffness:100,damping:10,duration:o};var d=Math.pow(p,2)*l;return{stiffness:d,damping:2*f*Math.sqrt(l*d),duration:o}}(e);(t=o(o(o({},t),n),{velocity:0,mass:1})).isResolvedFromDuration=!0}return t}(l),d=p.stiffness,m=p.damping,v=p.mass,h=p.velocity,y=p.duration,g=p.isResolvedFromDuration,b=Et,x=Et;function k(){var e=h?-h/1e3:0,t=i-n,r=m/(2*Math.sqrt(d*v)),o=Math.sqrt(d/v)/1e3;if(null!=c||(c=Math.abs(i-n)<=1?.01:.4),r<1){var a=xt(o,r);b=function(n){var s=Math.exp(-r*o*n);return i-s*((e+r*o*t)/a*Math.sin(a*n)+t*Math.cos(a*n))},x=function(n){var i=Math.exp(-r*o*n);return r*o*i*(Math.sin(a*n)*(e+r*o*t)/a+t*Math.cos(a*n))-i*(Math.cos(a*n)*(e+r*o*t)-a*t*Math.sin(a*n))}}else if(1===r)b=function(n){return i-Math.exp(-o*n)*(t+(e+o*t)*n)};else{var s=o*Math.sqrt(r*r-1);b=function(n){var a=Math.exp(-r*o*n),u=Math.min(s*n,300);return i-a*((e+r*o*t)*Math.sinh(u)+s*t*Math.cosh(u))/s}}}return k(),{next:function(e){var t=b(e);if(g)f.done=e>=y;else{var n=1e3*x(e),r=Math.abs(n)<=u,o=Math.abs(i-t)<=c;f.done=r&&o}return f.value=f.done?i:t,f},flipTarget:function(){var e;h=-h,n=(e=[i,n])[0],i=e[1],k()}}}Ot.needsInterpolation=function(e,t){return"string"==typeof e||"string"==typeof t};var Et=function(e){return 0},St=function(e,t,n){var r=t-e;return 0===r?1:(n-e)/r},jt=function(e,t,n){return-n*e+n*t+e},Pt=function(e,t){return function(n){return Boolean(ne(n)&&te.test(n)&&n.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(n,t))}},Tt=function(e,t,n){return function(r){var o;if(!ne(r))return r;var i=r.match(Q),a=i[0],s=i[1],u=i[2],c=i[3];return(o={})[e]=parseFloat(a),o[t]=parseFloat(s),o[n]=parseFloat(u),o.alpha=void 0!==c?parseFloat(c):1,o}},At=G(0,255),Lt=o(o({},le),{transform:function(e){return Math.round(At(e))}}),Mt={test:Pt("rgb","red"),parse:Tt("red","green","blue"),transform:function(e){var t=e.red,n=e.green,r=e.blue,o=e.alpha,i=void 0===o?1:o;return"rgba("+Lt.transform(t)+", "+Lt.transform(n)+", "+Lt.transform(r)+", "+J(fe.transform(i))+")"}},_t={test:Pt("#"),parse:function(e){var 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:Mt.transform},Dt={test:Pt("hsl","hue"),parse:Tt("hue","saturation","lightness"),transform:function(e){var t=e.hue,n=e.saturation,r=e.lightness,o=e.alpha,i=void 0===o?1:o;return"hsla("+Math.round(t)+", "+ie.transform(J(n))+", "+ie.transform(J(r))+", "+J(fe.transform(i))+")"}},Vt=function(e,t,n){var r=e*e,o=t*t;return Math.sqrt(Math.max(0,n*(o-r)+r))},Wt=[_t,Mt,Dt],Nt=function(e){return Wt.find((function(t){return t.test(e)}))},Rt=function(e){return"'"+e+"' is not an animatable color. Use the equivalent color code instead."},zt=function(e,t){var n=Nt(e),r=Nt(t);Rt(e),Rt(t),n.transform,r.transform;var i=n.parse(e),a=r.parse(t),s=o({},i),u=n===Dt?jt:Vt;return function(e){for(var t in s)"alpha"!==t&&(s[t]=u(i[t],a[t],e));return s.alpha=jt(i.alpha,a.alpha,e),n.transform(s)}},$t={test:function(e){return Mt.test(e)||_t.test(e)||Dt.test(e)},parse:function(e){return Mt.test(e)?Mt.parse(e):Dt.test(e)?Dt.parse(e):_t.parse(e)},transform:function(e){return ne(e)?e:e.hasOwnProperty("red")?Mt.transform(e):Dt.transform(e)}},Ht="${c}",It="${n}";function Bt(e){var t=[],n=0,r=e.match(ee);r&&(n=r.length,e=e.replace(ee,Ht),t.push.apply(t,r.map($t.parse)));var o=e.match(Q);return o&&(e=e.replace(Q,It),t.push.apply(t,o.map(le.parse))),{values:t,numColors:n,tokenised:e}}function Ft(e){return Bt(e).values}function Ut(e){var t=Bt(e),n=t.values,r=t.numColors,o=t.tokenised,i=n.length;return function(e){for(var t=o,n=0;n<i;n++)t=t.replace(n<r?Ht:It,n<r?$t.transform(e[n]):J(e[n]));return t}}var qt=function(e){return"number"==typeof e?0:e},Yt={test:function(e){var t,n,r,o;return isNaN(e)&&ne(e)&&(null!==(n=null===(t=e.match(Q))||void 0===t?void 0:t.length)&&void 0!==n?n:0)+(null!==(o=null===(r=e.match(ee))||void 0===r?void 0:r.length)&&void 0!==o?o:0)>0},parse:Ft,createTransformer:Ut,getAnimatableNone:function(e){var t=Ft(e);return Ut(e)(t.map(qt))}},Zt=function(e){return"number"==typeof e};function Xt(e,t){return Zt(e)?function(n){return jt(e,t,n)}:$t.test(e)?zt(e,t):Qt(e,t)}var Kt=function(e,t){var n=c([],e),r=n.length,o=e.map((function(e,n){return Xt(e,t[n])}));return function(e){for(var t=0;t<r;t++)n[t]=o[t](e);return n}},Gt=function(e,t){var n=o(o({},e),t),r={};for(var i in n)void 0!==e[i]&&void 0!==t[i]&&(r[i]=Xt(e[i],t[i]));return function(e){for(var t in r)n[t]=r[t](e);return n}};function Jt(e){for(var t=Yt.parse(e),n=t.length,r=0,o=0,i=0,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}}var Qt=function(e,t){var n=Yt.createTransformer(t),r=Jt(e),o=Jt(t);return r.numHSL===o.numHSL&&r.numRGB===o.numRGB&&(r.numNumbers,o.numNumbers),vt(Kt(r.parsed,o.parsed),n)},en=function(e,t){return function(n){return jt(e,t,n)}};function tn(e,t,n){var r=void 0===n?{}:n,o=r.clamp,i=void 0===o||o,a=r.ease,s=r.mixer,u=e.length;t.length,!a||!Array.isArray(a)||a.length,e[0]>e[u-1]&&(e=[].concat(e),t=[].concat(t),e.reverse(),t.reverse());var c=function(e,t,n){for(var r=[],o=n||function(e){return"number"==typeof e?en:"string"==typeof e?$t.test(e)?zt:Qt:Array.isArray(e)?Kt:"object"==typeof e?Gt:void 0}(e[0]),i=e.length-1,a=0;a<i;a++){var s=o(e[a],e[a+1]);if(t){var u=Array.isArray(t)?t[a]:t;s=vt(u,s)}r.push(s)}return r}(t,a,s),l=2===u?function(e,t){var n=e[0],r=e[1],o=t[0];return function(e){return o(St(n,r,e))}}(e,c):function(e,t){var n=e.length,r=n-1;return function(o){var i=0,a=!1;if(o<=e[0]?a=!0:o>=e[r]&&(i=r-1,a=!0),!a){for(var s=1;s<n&&!(e[s]>o||s===r);s++);i=s-1}var u=St(e[i],e[i+1],o);return t[i](u)}}(e,c);return i?function(t){return l(bt(e[0],e[u-1],t))}:l}var nn,rn=function(e){return function(t){return 1-e(1-t)}},on=function(e){return function(t){return t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2}},an=function(e){return function(t){return t*t*((e+1)*t-e)}},sn=function(e){return e},un=(2,function(e){return Math.pow(e,2)}),cn=rn(un),ln=on(un),fn=function(e){return 1-Math.sin(Math.acos(e))},pn=rn(fn),dn=on(pn),mn=an(1.525),vn=rn(mn),hn=on(mn),yn=(nn=an(1.525),function(e){return(e*=2)<1?.5*nn(e):.5*(2-Math.pow(2,-10*(e-1)))}),gn=function(e){if(1===e||0===e)return e;var 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},bn=rn(gn);function xn(e,t){return e.map((function(){return t||ln})).splice(0,e.length-1)}function kn(e){var t=e.from,n=void 0===t?0:t,r=e.to,o=void 0===r?1:r,i=e.ease,a=e.offset,s=e.duration,u=void 0===s?300:s,c={done:!1,value:n},l=Array.isArray(o)?o:[n,o],f=function(e,t){return e.map((function(e){return e*t}))}(a&&a.length===l.length?a:function(e){var t=e.length;return e.map((function(e,n){return 0!==n?n/(t-1):0}))}(l),u);function p(){return tn(f,l,{ease:Array.isArray(i)?i:xn(l,i)})}var d=p();return{next:function(e){return c.value=d(e),c.done=e>=u,c},flipTarget:function(){l.reverse(),d=p()}}}var wn={keyframes:kn,spring:Ot,decay:function(e){var t=e.velocity,n=void 0===t?0:t,r=e.from,o=void 0===r?0:r,i=e.power,a=void 0===i?.8:i,s=e.timeConstant,u=void 0===s?350:s,c=e.restDelta,l=void 0===c?.5:c,f=e.modifyTarget,p={done:!1,value:o},d=a*n,m=o+d,v=void 0===f?m:f(m);return v!==m&&(d=v-o),{next:function(e){var t=-d*Math.exp(-e/u);return p.done=!(t>l||t<-l),p.value=p.done?v:v+t,p},flipTarget:function(){}}}},Cn=1/60*1e3,On="undefined"!=typeof performance?function(){return performance.now()}:function(){return Date.now()},En="undefined"!=typeof window?function(e){return window.requestAnimationFrame(e)}:function(e){return setTimeout((function(){return e(On())}),Cn)},Sn=!0,jn=!1,Pn=!1,Tn={delta:0,timestamp:0},An=["read","update","preRender","render","postRender"],Ln=An.reduce((function(e,t){return e[t]=function(e){var t=[],n=[],r=0,o=!1,i=new WeakSet,a={schedule:function(e,a,s){void 0===a&&(a=!1),void 0===s&&(s=!1);var u=s&&o,c=u?t:n;return a&&i.add(e),-1===c.indexOf(e)&&(c.push(e),u&&o&&(r=t.length)),e},cancel:function(e){var t=n.indexOf(e);-1!==t&&n.splice(t,1),i.delete(e)},process:function(s){var u;if(o=!0,t=(u=[n,t])[0],(n=u[1]).length=0,r=t.length)for(var c=0;c<r;c++){var l=t[c];l(s),i.has(l)&&(a.schedule(l),e())}o=!1}};return a}((function(){return jn=!0})),e}),{}),Mn=An.reduce((function(e,t){var n=Ln[t];return e[t]=function(e,t,r){return void 0===t&&(t=!1),void 0===r&&(r=!1),jn||Nn(),n.schedule(e,t,r)},e}),{}),_n=An.reduce((function(e,t){return e[t]=Ln[t].cancel,e}),{}),Dn=An.reduce((function(e,t){return e[t]=function(){return Ln[t].process(Tn)},e}),{}),Vn=function(e){return Ln[e].process(Tn)},Wn=function(e){jn=!1,Tn.delta=Sn?Cn:Math.max(Math.min(e-Tn.timestamp,40),1),Tn.timestamp=e,Pn=!0,An.forEach(Vn),Pn=!1,jn&&(Sn=!1,En(Wn))},Nn=function(){jn=!0,Sn=!0,Pn||En(Wn)},Rn=function(){return Tn};const zn=Mn;function $n(e,t,n){return void 0===n&&(n=0),e-t-n}var Hn=function(e){var t=function(t){var n=t.delta;return e(n)};return{start:function(){return zn.update(t,!0)},stop:function(){return _n.update(t)}}};function In(e){var t,n,r,i,a,u=e.from,c=e.autoplay,l=void 0===c||c,f=e.driver,p=void 0===f?Hn:f,d=e.elapsed,m=void 0===d?0:d,v=e.repeat,h=void 0===v?0:v,y=e.repeatType,g=void 0===y?"loop":y,b=e.repeatDelay,x=void 0===b?0:b,k=e.onPlay,w=e.onStop,C=e.onComplete,O=e.onRepeat,E=e.onUpdate,S=s(e,["from","autoplay","driver","elapsed","repeat","repeatType","repeatDelay","onPlay","onStop","onComplete","onRepeat","onUpdate"]),j=S.to,P=0,T=S.duration,A=!1,L=!0,M=function(e){if(Array.isArray(e.to))return kn;if(wn[e.type])return wn[e.type];var t=new Set(Object.keys(e));return t.has("ease")||t.has("duration")&&!t.has("dampingRatio")?kn:t.has("dampingRatio")||t.has("stiffness")||t.has("mass")||t.has("damping")||t.has("restSpeed")||t.has("restDelta")?Ot:kn}(S);(null===(n=(t=M).needsInterpolation)||void 0===n?void 0:n.call(t,u,j))&&(a=tn([0,100],[u,j],{clamp:!1}),u=0,j=100);var _=M(o(o({},S),{from:u,to:j}));return l&&(null==k||k(),(r=p((function(e){if(L||(e=-e),m+=e,!A){var t=_.next(Math.max(0,m));i=t.value,a&&(i=a(i)),A=L?t.done:m<=0}null==E||E(i),A&&(0===P&&(null!=T||(T=m)),P<h?function(e,t,n,r){return r?e>=t+n:e<=-n}(m,T,x,L)&&(P++,"reverse"===g?m=function(e,t,n,r){return void 0===n&&(n=0),void 0===r&&(r=!0),r?$n(t+-e,t,n):t-(e-t)+n}(m,T,x,L=P%2==0):(m=$n(m,T,x),"mirror"===g&&_.flipTarget()),A=!1,O&&O()):(r.stop(),C&&C()))}))).start()),{stop:function(){null==w||w(),r.stop()}}}function Bn(e,t){return t?e*(1e3/t):0}var Fn=function(e){return 1e3*e},Un=function(e,t){return 1-3*t+3*e},qn=function(e,t){return 3*t-6*e},Yn=function(e){return 3*e},Zn=function(e,t,n){return((Un(t,n)*e+qn(t,n))*e+Yn(t))*e},Xn=function(e,t,n){return 3*Un(t,n)*e*e+2*qn(t,n)*e+Yn(t)},Kn=.1;function Gn(e,t,n,r){if(e===t&&n===r)return sn;for(var o=new Float32Array(11),i=0;i<11;++i)o[i]=Zn(i*Kn,e,n);return function(i){return 0===i||1===i?i:Zn(function(t){for(var r=0,i=1;10!==i&&o[i]<=t;++i)r+=Kn;--i;var a=r+(t-o[i])/(o[i+1]-o[i])*Kn,s=Xn(a,e,n);return s>=.001?function(e,t,n,r){for(var o=0;o<8;++o){var i=Xn(t,n,r);if(0===i)return t;t-=(Zn(t,n,r)-e)/i}return t}(t,a,e,n):0===s?a:function(e,t,n,r,o){var i,a,s=0;do{(i=Zn(a=t+(n-t)/2,r,o)-e)>0?n=a:t=a}while(Math.abs(i)>1e-7&&++s<10);return a}(t,r,r+Kn,e,n)}(i),t,r)}}var Jn={linear:sn,easeIn:un,easeInOut:ln,easeOut:cn,circIn:fn,circInOut:dn,circOut:pn,backIn:mn,backInOut:hn,backOut:vn,anticipate:yn,bounceIn:bn,bounceInOut:function(e){return e<.5?.5*(1-gn(1-2*e)):.5*gn(2*e-1)+.5},bounceOut:gn},Qn=function(e){if(Array.isArray(e)){e.length;var t=u(e,4);return Gn(t[0],t[1],t[2],t[3])}return"string"==typeof e?Jn[e]:e},er=function(e,t){return!("zIndex"===e||"number"!=typeof t&&!Array.isArray(t)&&("string"!=typeof t||!Yt.test(t)||t.startsWith("url(")))},tr=function(){return{type:"spring",stiffness:500,damping:25,restDelta:.5,restSpeed:10}},nr=function(e){return{type:"spring",stiffness:550,damping:0===e?2*Math.sqrt(550):30,restDelta:.01,restSpeed:10}},rr=function(){return{type:"keyframes",ease:"linear",duration:.3}},or=function(e){return{type:"keyframes",duration:.8,values:e}},ir={x:tr,y:tr,z:tr,rotate:tr,rotateX:tr,rotateY:tr,rotateZ:tr,scaleX:nr,scaleY:nr,scale:nr,opacity:rr,backgroundColor:rr,color:rr,default:nr},ar=new Set(["brightness","contrast","saturate","opacity"]);function sr(e){var t=e.slice(0,-1).split("("),n=t[0],r=t[1];if("drop-shadow"===n)return e;var o=(r.match(Q)||[])[0];if(!o)return e;var i=r.replace(o,""),a=ar.has(n)?1:0;return o!==r&&(a*=100),n+"("+a+i+")"}var ur=/([a-z-]*)\(.*?\)/g,cr=o(o({},Yt),{getAnimatableNone:function(e){var t=e.match(ur);return t?t.map(sr).join(" "):e}}),lr=o(o({},me),{color:$t,backgroundColor:$t,outlineColor:$t,fill:$t,stroke:$t,borderColor:$t,borderTopColor:$t,borderRightColor:$t,borderBottomColor:$t,borderLeftColor:$t,filter:cr,WebkitFilter:cr}),fr=function(e){return lr[e]};function pr(e,t){var n,r=fr(e);return r!==cr&&(r=Yt),null===(n=r.getAnimatableNone)||void 0===n?void 0:n.call(r,t)}function dr(e,t,n){var r,i,a,l;return Array.isArray(t.to)&&(null!==(r=e.duration)&&void 0!==r||(e.duration=.8)),function(e){Array.isArray(e.to)&&null===e.to[0]&&(e.to=c([],u(e.to)),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=s(e,["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from"]);return!!Object.keys(t).length}(e)||(e=o(o({},e),(i=n,a=t.to,l=Re(a)?or:ir[i]||ir.default,o({to:a},l(a))))),o(o({},t),function(e){var t=e.ease,n=e.times,r=e.yoyo,i=e.flip,a=e.loop,u=s(e,["ease","times","yoyo","flip","loop"]),c=o({},u);return n&&(c.offset=n),u.duration&&(c.duration=Fn(u.duration)),u.repeatDelay&&(c.repeatDelay=Fn(u.repeatDelay)),t&&(c.ease=function(e){return Array.isArray(e)&&"number"!=typeof e[0]}(t)?t.map(Qn):Qn(t)),"tween"===u.type&&(c.type="keyframes"),(r||a||i)&&(r?c.repeatType="reverse":a?c.repeatType="loop":i&&(c.repeatType="mirror"),c.repeat=a||r||i||u.repeat),"spring"!==u.type&&(c.type="keyframes"),c}(e))}function mr(e){return 0===e||"string"==typeof e&&0===parseFloat(e)&&-1===e.indexOf(" ")}function vr(e){return"number"==typeof e?0:pr("",e)}function hr(e,t){return e[t]||e.default||e}function yr(e,t,n,r){return void 0===r&&(r={}),t.start((function(i){var a,s,u=function(e,t,n,r,i){var a,s=hr(r,e),u=null!==(a=s.from)&&void 0!==a?a:t.get(),c=er(e,n);return"none"===u&&c&&"string"==typeof n?u=pr(e,n):mr(u)&&"string"==typeof n?u=vr(n):!Array.isArray(n)&&mr(n)&&"string"==typeof u&&(n=vr(u)),er(e,u)&&c&&!1!==s.type?function(){var r={from:u,to:n,velocity:t.getVelocity(),onComplete:i,onUpdate:function(e){return t.set(e)}};return"inertia"===s.type||"decay"===s.type?function(e){var t,n=e.from,r=void 0===n?0:n,i=e.velocity,a=void 0===i?0:i,s=e.min,u=e.max,c=e.power,l=void 0===c?.8:c,f=e.timeConstant,p=void 0===f?750:f,d=e.bounceStiffness,m=void 0===d?500:d,v=e.bounceDamping,h=void 0===v?10:v,y=e.restDelta,g=void 0===y?1:y,b=e.modifyTarget,x=e.driver,k=e.onUpdate,w=e.onComplete;function C(e){return void 0!==s&&e<s||void 0!==u&&e>u}function O(e){return void 0===s?u:void 0===u||Math.abs(s-e)<Math.abs(u-e)?s:u}function E(e){null==t||t.stop(),t=In(o(o({},e),{driver:x,onUpdate:function(t){var n;null==k||k(t),null===(n=e.onUpdate)||void 0===n||n.call(e,t)},onComplete:w}))}function S(e){E(o({type:"spring",stiffness:m,damping:h,restDelta:g},e))}if(C(r))S({from:r,velocity:a,to:O(r)});else{var j=l*a+r;void 0!==b&&(j=b(j));var P,T,A=O(j),L=A===s?-1:1;E({type:"decay",from:r,velocity:a,timeConstant:p,power:l,restDelta:g,modifyTarget:b,onUpdate:C(j)?function(e){P=T,T=e,a=Bn(e-P,Rn().delta),(1===L&&e>A||-1===L&&e<A)&&S({from:e,to:A,velocity:a})}:void 0})}return{stop:function(){return null==t?void 0:t.stop()}}}(o(o({},r),s)):In(o(o({},dr(s,r,e)),{onUpdate:function(e){var t;r.onUpdate(e),null===(t=s.onUpdate)||void 0===t||t.call(s,e)},onComplete:function(){var e;r.onComplete(),null===(e=s.onComplete)||void 0===e||e.call(s)}}))}:function(){var e;return t.set(n),i(),null===(e=null==s?void 0:s.onComplete)||void 0===e||e.call(s),{stop:function(){}}}}(e,t,n,r,i),c=function(e,t){var n;return null!==(n=(hr(e,t)||{}).delay)&&void 0!==n?n:0}(r,e),l=function(){return s=u()};return c?a=setTimeout(l,Fn(c)):l(),function(){clearTimeout(a),null==s||s.stop()}}))}var gr=function(e){return/^\-?\d*\.?\d+$/.test(e)};function br(e,t){-1===e.indexOf(t)&&e.push(t)}function xr(e,t){var n=e.indexOf(t);n>-1&&e.splice(n,1)}var kr=function(){function e(){this.subscriptions=[]}return e.prototype.add=function(e){var t=this;return br(this.subscriptions,e),function(){return xr(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}(),wr=function(){function e(e){var t,n=this;this.timeDelta=0,this.lastUpdated=0,this.updateSubscribers=new kr,this.velocityUpdateSubscribers=new kr,this.renderSubscribers=new kr,this.canTrackVelocity=!1,this.updateAndNotify=function(e,t){void 0===t&&(t=!0),n.prev=n.current,n.current=e;var r=Rn(),o=r.delta,i=r.timestamp;n.lastUpdated!==i&&(n.timeDelta=o,n.lastUpdated=i,zn.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 zn.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?Bn(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 Cr(e){return new wr(e)}var Or=function(e){return function(t){return t.test(e)}},Er=[le,ae,ie,oe,ue,se,{test:function(e){return"auto"===e},parse:function(e){return e}}],Sr=function(e){return Er.find(Or(e))},jr=c(c([],u(Er)),[$t,Yt]),Pr=function(e){return jr.find(Or(e))};function Tr(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,Cr(n))}function Ar(e,t){if(t)return(t[e]||t.default||t).from}function Lr(e,t,n){var r;void 0===n&&(n={});var i=A(e,t,n.custom),a=(i||{}).transition,s=void 0===a?e.getDefaultTransition()||{}:a;n.transitionOverride&&(s=n.transitionOverride);var c=i?function(){return Mr(e,i,n)}:function(){return Promise.resolve()},l=(null===(r=e.variantChildren)||void 0===r?void 0:r.size)?function(r){void 0===r&&(r=0);var i=s.delayChildren,a=void 0===i?0:i,u=s.staggerChildren,c=s.staggerDirection;return function(e,t,n,r,i,a){void 0===n&&(n=0),void 0===r&&(r=0),void 0===i&&(i=1);var s=[],u=(e.variantChildren.size-1)*r,c=1===i?function(e){return void 0===e&&(e=0),e*r}:function(e){return void 0===e&&(e=0),u-e*r};return Array.from(e.variantChildren).sort(_r).forEach((function(e,r){s.push(Lr(e,t,o(o({},a),{delay:n+c(r)})).then((function(){return e.notifyAnimationComplete(t)})))})),Promise.all(s)}(e,t,a+r,u,c,n)}:function(){return Promise.resolve()},f=s.when;if(f){var p=u("beforeChildren"===f?[c,l]:[l,c],2),d=p[0],m=p[1];return d().then(m)}return Promise.all([c(),l(n.delay)])}function Mr(e,t,n){var r,i=void 0===n?{}:n,a=i.delay,u=void 0===a?0:a,c=i.transitionOverride,l=i.type,f=e.makeTargetAnimatable(t),p=f.transition,d=void 0===p?e.getDefaultTransition():p,m=f.transitionEnd,v=s(f,["transition","transitionEnd"]);c&&(d=c);var h=[],y=l&&(null===(r=e.animationState)||void 0===r?void 0:r.getState()[l]);for(var g in v){var b=e.getValue(g),x=v[g];if(!(!b||void 0===x||y&&Dr(y,g))){var k=yr(g,b,x,o({delay:u},d));h.push(k)}}return Promise.all(h).then((function(){m&&function(e,t){var n=A(e,t),r=n?e.makeTargetAnimatable(n,!1):{},i=r.transitionEnd,a=void 0===i?{}:i;r.transition;var u=s(r,["transitionEnd","transition"]);for(var c in u=o(o({},u),a))Tr(e,c,ze(u[c]))}(e,m)}))}function _r(e,t){return e.sortNodePosition(t)}function Dr(e,t){var n=e.protectedKeys,r=e.needsAnimating,o=n.hasOwnProperty(t)&&!0!==r[t];return r[t]=!1,o}var Vr=[Be.Animate,Be.Hover,Be.Tap,Be.Drag,Be.Focus,Be.Exit],Wr=c([],u(Vr)).reverse(),Nr=Vr.length;function Rr(e){var t,n=function(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(),Array.isArray(t)){var o=t.map((function(t){return Lr(e,t,n)}));r=Promise.all(o)}else if("string"==typeof t)r=Lr(e,t,n);else{var i="function"==typeof t?A(e,t,n.custom):t;r=Mr(e,i,n)}return r.then((function(){return e.notifyAnimationComplete(t)}))}(e,n,r)})))}}(e),r=((t={})[Be.Animate]=zr(!0),t[Be.Hover]=zr(),t[Be.Tap]=zr(),t[Be.Drag]=zr(),t[Be.Focus]=zr(),t[Be.Exit]=zr(),t),i={},a=!0,l=function(t,n){var r=A(e,n);if(r){r.transition;var i=r.transitionEnd,a=s(r,["transition","transitionEnd"]);t=o(o(o({},t),a),i)}return t};function f(t,s){for(var f,p=e.getProps(),d=e.getVariantContext(!0)||{},m=[],v=new Set,h={},y=1/0,g=function(n){var i=Wr[n],g=r[i],b=null!==(f=p[i])&&void 0!==f?f:d[i],x=P(b),k=i===s?g.isActive:null;!1===k&&(y=n);var w=b===d[i]&&b!==p[i]&&x;if(w&&a&&e.manuallyAnimateOnMount&&(w=!1),g.protectedKeys=o({},h),!g.isActive&&null===k||!b&&!g.prevProp||Ne(b)||"boolean"==typeof b)return"continue";var C=function(e,t){return"string"==typeof t?t!==e:!!j(t)&&!gt(t,e)}(g.prevProp,b)||i===s&&g.isActive&&!w&&x||n>y&&x,O=Array.isArray(b)?b:[b],E=O.reduce(l,{});!1===k&&(E={});var S=g.prevResolvedValues,T=void 0===S?{}:S,A=o(o({},T),E),L=function(e){C=!0,v.delete(e),g.needsAnimating[e]=!0};for(var M in A){var _=E[M],D=T[M];h.hasOwnProperty(M)||(_!==D?Re(_)&&Re(D)?gt(_,D)?g.protectedKeys[M]=!0:L(M):void 0!==_?L(M):v.add(M):void 0!==_&&v.has(M)?L(M):g.protectedKeys[M]=!0)}g.prevProp=b,g.prevResolvedValues=E,g.isActive&&(h=o(o({},h),E)),a&&e.blockInitialAnimation&&(C=!1),C&&!w&&m.push.apply(m,c([],u(O.map((function(e){return{animation:e,options:o({type:i},t)}})))))},b=0;b<Nr;b++)g(b);if(i=o({},h),v.size){var x={};v.forEach((function(t){var n=e.getBaseTarget(t);void 0!==n&&(x[t]=n)})),m.push({animation:x})}var k=Boolean(m.length);return a&&!1===p.initial&&!e.manuallyAnimateOnMount&&(k=!1),a=!1,k?n(m):Promise.resolve()}return{isAnimated:function(e){return void 0!==i[e]},animateChanges:f,setActive:function(t,n,o){var i;return r[t].isActive===n?Promise.resolve():(null===(i=e.variantChildren)||void 0===i||i.forEach((function(e){var r;return null===(r=e.animationState)||void 0===r?void 0:r.setActive(t,n)})),r[t].isActive=n,f(o,t))},setAnimateFunction:function(t){n=t(e)},getState:function(){return r}}}function zr(e){return void 0===e&&(e=!1),{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}var $r={animation:ht((function(t){var n=t.visualElement,r=t.animate;n.animationState||(n.animationState=Rr(n)),Ne(r)&&(0,e.useEffect)((function(){return r.subscribe(n)}),[r])})),exit:ht((function(t){var n=t.custom,r=t.visualElement,o=u(b(),2),i=o[0],a=o[1],s=(0,e.useContext)(y);(0,e.useEffect)((function(){var e,t,o=null===(e=r.animationState)||void 0===e?void 0:e.setActive(Be.Exit,!i,{custom:null!==(t=null==s?void 0:s.custom)&&void 0!==t?t:n});!i&&(null==o||o.then(a))}),[i])}))},Hr=function(e){return e.hasOwnProperty("x")&&e.hasOwnProperty("y")},Ir=function(e){return Hr(e)&&e.hasOwnProperty("z")},Br=function(e,t){return Math.abs(e-t)};function Fr(e,t){if(Zt(e)&&Zt(t))return Br(e,t);if(Hr(e)&&Hr(t)){var n=Br(e.x,t.x),r=Br(e.y,t.y),o=Ir(e)&&Ir(t)?Br(e.z,t.z):0;return Math.sqrt(Math.pow(n,2)+Math.pow(r,2)+Math.pow(o,2))}}var Ur=function(){function e(e,t,n){var r=this,i=(void 0===n?{}:n).transformPagePoint;if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.updatePoint=function(){if(r.lastMoveEvent&&r.lastMoveEventInfo){var e=Zr(r.lastMoveEventInfo,r.history),t=null!==r.startEvent,n=Fr(e.offset,{x:0,y:0})>=3;if(t||n){var i=e.point,a=Rn().timestamp;r.history.push(o(o({},i),{timestamp:a}));var s=r.handlers,u=s.onStart,c=s.onMove;t||(u&&u(r.lastMoveEvent,e),r.startEvent=r.lastMoveEvent),c&&c(r.lastMoveEvent,e)}}},this.handlePointerMove=function(e,t){r.lastMoveEvent=e,r.lastMoveEventInfo=qr(t,r.transformPagePoint),Ze(e)&&0===e.buttons?r.handlePointerUp(e,t):zn.update(r.updatePoint,!0)},this.handlePointerUp=function(e,t){r.end();var n=r.handlers,o=n.onEnd,i=n.onSessionEnd,a=Zr(qr(t,r.transformPagePoint),r.history);r.startEvent&&o&&o(e,a),i&&i(e,a)},!(Xe(e)&&e.touches.length>1)){this.handlers=t,this.transformPagePoint=i;var a=qr(Qe(e),this.transformPagePoint),s=a.point,u=Rn().timestamp;this.history=[o(o({},s),{timestamp:u})];var c=t.onSessionStart;c&&c(e,Zr(a,this.history)),this.removeListeners=vt(ot(window,"pointermove",this.handlePointerMove),ot(window,"pointerup",this.handlePointerUp),ot(window,"pointercancel",this.handlePointerUp))}}return e.prototype.updateHandlers=function(e){this.handlers=e},e.prototype.end=function(){this.removeListeners&&this.removeListeners(),_n.update(this.updatePoint)},e}();function qr(e,t){return t?{point:t(e.point)}:e}function Yr(e,t){return{x:e.x-t.x,y:e.y-t.y}}function Zr(e,t){var n=e.point;return{point:n,delta:Yr(n,Kr(t)),offset:Yr(n,Xr(t)),velocity:Gr(t,.1)}}function Xr(e){return e[0]}function Kr(e){return e[e.length-1]}function Gr(e,t){if(e.length<2)return{x:0,y:0};for(var n=e.length-1,r=null,o=Kr(e);n>=0&&(r=e[n],!(o.timestamp-r.timestamp>Fn(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 Jr(e){return e}function Qr(e){var t=e.top;return{x:{min:e.left,max:e.right},y:{min:t,max:e.bottom}}}var eo={translate:0,scale:1,origin:0,originPoint:0};function to(){return{x:o({},eo),y:o({},eo)}}function no(e){return[e("x"),e("y")]}function ro(e,t,n){var r=t.min,o=t.max;return void 0!==r&&e<r?e=n?jt(r,e,n.min):Math.max(e,r):void 0!==o&&e>o&&(e=n?jt(o,e,n.max):Math.min(e,o)),e}function oo(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 io(e,t){var n,r=t.min-e.min,o=t.max-e.max;return t.max-t.min<e.max-e.min&&(r=(n=u([o,r],2))[0],o=n[1]),{min:e.min+r,max:e.min+o}}function ao(e,t,n){return{min:so(e,t),max:so(e,n)}}function so(e,t){var n;return"number"==typeof e?e:null!==(n=e[t])&&void 0!==n?n:0}function uo(e,t){return Qr(function(e,t){var n=e.top,r=e.left,o=e.bottom,i=e.right;void 0===t&&(t=Jr);var a=t({x:r,y:n}),s=t({x:i,y:o});return{top:a.y,left:a.x,bottom:s.y,right:s.x}}(e.getBoundingClientRect(),t))}function co(e,t,n){return void 0===t&&(t=0),void 0===n&&(n=.01),Fr(e,t)<n}function lo(e){return e.max-e.min}function fo(e,t,n,r){void 0===r&&(r=.5),e.origin=r,e.originPoint=jt(t.min,t.max,e.origin),e.scale=lo(n)/lo(t),co(e.scale,1,1e-4)&&(e.scale=1),e.translate=jt(n.min,n.max,e.origin)-e.originPoint,co(e.translate)&&(e.translate=0)}function po(e,t,n,r){fo(e.x,t.x,n.x,mo(r.originX)),fo(e.y,t.y,n.y,mo(r.originY))}function mo(e){return"number"==typeof e?e:.5}function vo(e,t,n){e.min=n.min+t.min,e.max=e.min+lo(t)}var ho=function(e,t){return e.depth-t.depth};function yo(e){return e.projection.isEnabled||e.shouldResetTransform()}function go(e,t){void 0===t&&(t=[]);var n=e.parent;return n&&go(n,t),yo(e)&&t.push(e),t}function bo(e){if(!e.shouldResetTransform()){var t,n=e.getLayoutState();e.notifyBeforeLayoutMeasure(n.layout),n.isHydrated=!0,n.layout=e.measureViewportBox(),n.layoutCorrected=(t=n.layout,{x:o({},t.x),y:o({},t.y)}),e.notifyLayoutMeasure(n.layout,e.prevViewportBox||n.layout),zn.update((function(){return e.rebaseProjectionTarget()}))}}function xo(e,t){return{min:t.min-e.min,max:t.max-e.min}}function ko(e,t){return{x:xo(e.x,t.x),y:xo(e.y,t.y)}}function wo(e,t){var n=e.getLayoutId(),r=t.getLayoutId();return n!==r||void 0===r&&e!==t}function Co(e){var t=e.getProps(),n=t.drag,r=t._dragX;return n&&!r}function Oo(e,t){e.min=t.min,e.max=t.max}function Eo(e,t,n){return n+t*(e-n)}function So(e,t,n,r,o){return void 0!==o&&(e=Eo(e,o,r)),Eo(e,n,r)+t}function jo(e,t,n,r,o){void 0===t&&(t=0),void 0===n&&(n=1),e.min=So(e.min,t,n,r,o),e.max=So(e.max,t,n,r,o)}function Po(e,t){var n=t.x,r=t.y;jo(e.x,n.translate,n.scale,n.originPoint),jo(e.y,r.translate,r.scale,r.originPoint)}function To(e,t,n,r){var o=u(r,3),i=o[0],a=o[1],s=o[2];e.min=t.min,e.max=t.max;var c=void 0!==n[s]?n[s]:.5,l=jt(t.min,t.max,c);jo(e,n[i],n[a],l,n.scale)}var Ao=["x","scaleX","originX"],Lo=["y","scaleY","originY"];function Mo(e,t,n){To(e.x,t.x,n,Ao),To(e.y,t.y,n,Lo)}function _o(e,t,n,r,o){return e=Eo(e-=t,1/n,r),void 0!==o&&(e=Eo(e,1/o,r)),e}function Do(e,t,n){var r=u(n,3),o=r[0],i=r[1],a=r[2];!function(e,t,n,r,o){void 0===t&&(t=0),void 0===n&&(n=1),void 0===r&&(r=.5);var i=jt(e.min,e.max,r)-t;e.min=_o(e.min,t,n,i,o),e.max=_o(e.max,t,n,i,o)}(e,t[o],t[i],t[a],t.scale)}function Vo(e,t){Do(e.x,t,Ao),Do(e.y,t,Lo)}var Wo=new Set;function No(e,t,n){e[n]||(e[n]=[]),e[n].push(t)}function Ro(e){return Wo.add(e),function(){return Wo.delete(e)}}function zo(){if(Wo.size){var e=0,t=[[]],n=[],r=function(n){return No(t,n,e)},o=function(t){No(n,t,e),e++};Wo.forEach((function(t){t(r,o),e=0})),Wo.clear();for(var i=n.length,a=0;a<=i;a++)t[a]&&t[a].forEach(Ho),n[a]&&n[a].forEach(Ho)}}var $o,Ho=function(e){return e()},Io=new WeakMap,Bo=function(){function e(e){var t=e.visualElement;this.isDragging=!1,this.currentDirection=null,this.constraints=!1,this.elastic={x:{min:0,max:1},y:{min:0,max:1}},this.props={},this.hasMutatedConstraints=!1,this.cursorProgress={x:.5,y:.5},this.originPoint={},this.openGlobalLock=null,this.panSession=null,this.visualElement=t,this.visualElement.enableLayoutProjection(),Io.set(t,this)}return e.prototype.start=function(e,t){var n=this,r=void 0===t?{}:t,o=r.snapToCursor,i=void 0!==o&&o,a=r.cursorProgress,s=this.props.transformPagePoint;this.panSession=new Ur(e,{onSessionStart:function(e){var t;n.stopMotion();var r=function(e){return Qe(e,"client")}(e).point;null===(t=n.cancelLayout)||void 0===t||t.call(n),n.cancelLayout=Ro((function(e,t){var o=go(n.visualElement),s=function(e){var t=[],n=function(e){yo(e)&&t.push(e),e.children.forEach(n)};return e.children.forEach(n),t.sort(ho)}(n.visualElement),l=c(c([],u(o)),u(s)),f=!1;n.isLayoutDrag()&&n.visualElement.lockProjectionTarget(),t((function(){l.forEach((function(e){return e.resetTransform()}))})),e((function(){bo(n.visualElement),s.forEach(bo)})),t((function(){l.forEach((function(e){return e.restoreTransform()})),i&&(f=n.snapToCursor(r))})),e((function(){Boolean(n.getAxisMotionValue("x")&&!n.isExternalDrag())||n.visualElement.rebaseProjectionTarget(!0,n.visualElement.measureViewportBox(!1)),n.visualElement.scheduleUpdateLayoutProjection();var e=n.visualElement.projection;no((function(t){if(!f){var o=e.target[t],i=o.min,s=o.max;n.cursorProgress[t]=a?a[t]:St(i,s,r[t])}var u=n.getAxisMotionValue(t);u&&(n.originPoint[t]=u.get())}))})),t((function(){Dn.update(),Dn.preRender(),Dn.render(),Dn.postRender()})),e((function(){return n.resolveDragConstraints()}))}))},onStart:function(e,t){var r,o,i,a=n.props,s=a.drag,u=a.dragPropagation;(!s||u||(n.openGlobalLock&&n.openGlobalLock(),n.openGlobalLock=ct(s),n.openGlobalLock))&&(zo(),n.isDragging=!0,n.currentDirection=null,null===(o=(r=n.props).onDragStart)||void 0===o||o.call(r,e,t),null===(i=n.visualElement.animationState)||void 0===i||i.setActive(Be.Drag,!0))},onMove:function(e,t){var r,o,i,a,s=n.props,u=s.dragPropagation,c=s.dragDirectionLock;if(u||n.openGlobalLock){var l=t.offset;if(c&&null===n.currentDirection)return n.currentDirection=function(e,t){void 0===t&&(t=10);var n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}(l),void(null!==n.currentDirection&&(null===(o=(r=n.props).onDirectionLock)||void 0===o||o.call(r,n.currentDirection)));n.updateAxis("x",t.point,l),n.updateAxis("y",t.point,l),null===(a=(i=n.props).onDrag)||void 0===a||a.call(i,e,t),$o=e}},onSessionEnd:function(e,t){return n.stop(e,t)}},{transformPagePoint:s})},e.prototype.resolveDragConstraints=function(){var e=this,t=this.props,n=t.dragConstraints,r=t.dragElastic,o=this.visualElement.getLayoutState().layoutCorrected;this.constraints=!!n&&(S(n)?this.resolveRefConstraints(o,n):function(e,t){var n=t.top,r=t.left,o=t.bottom,i=t.right;return{x:oo(e.x,r,i),y:oo(e.y,n,o)}}(o,n)),this.elastic=function(e){return!1===e?e=0:!0===e&&(e=.35),{x:ao(e,"left","right"),y:ao(e,"top","bottom")}}(r),this.constraints&&!this.hasMutatedConstraints&&no((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[t],e.constraints[t]))}))},e.prototype.resolveRefConstraints=function(e,t){var n=this.props,r=n.onMeasureDragConstraints,o=n.transformPagePoint,i=t.current;this.constraintsBox=uo(i,o);var a=function(e,t){return{x:io(e.x,t.x),y:io(e.y,t.y)}}(e,this.constraintsBox);if(r){var s=r(function(e){var t=e.x,n=e.y;return{top:n.min,bottom:n.max,left:t.min,right:t.max}}(a));this.hasMutatedConstraints=!!s,s&&(a=Qr(s))}return a},e.prototype.cancelDrag=function(){var e,t;this.visualElement.unlockProjectionTarget(),null===(e=this.cancelLayout)||void 0===e||e.call(this),this.isDragging=!1,this.panSession&&this.panSession.end(),this.panSession=null,!this.props.dragPropagation&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),null===(t=this.visualElement.animationState)||void 0===t||t.setActive(Be.Drag,!1)},e.prototype.stop=function(e,t){var n,r,o;null===(n=this.panSession)||void 0===n||n.end(),this.panSession=null;var i=this.isDragging;if(this.cancelDrag(),i){var a=t.velocity;this.animateDragEnd(a),null===(o=(r=this.props).onDragEnd)||void 0===o||o.call(r,e,t)}},e.prototype.snapToCursor=function(e){var t=this;return no((function(n){if(Fo(n,t.props.drag,t.currentDirection)){var r=t.getAxisMotionValue(n);if(!r)return t.cursorProgress[n]=.5,!0;var o=t.visualElement.getLayoutState().layout,i=o[n].max-o[n].min,a=o[n].min+i/2,s=e[n]-a;t.originPoint[n]=e[n],r.set(s)}})).includes(!0)},e.prototype.updateAxis=function(e,t,n){if(Fo(e,this.props.drag,this.currentDirection))return this.getAxisMotionValue(e)?this.updateAxisMotionValue(e,n):this.updateVisualElementAxis(e,t)},e.prototype.updateAxisMotionValue=function(e,t){var n=this.getAxisMotionValue(e);if(t&&n){var r=this.originPoint[e]+t[e],o=this.constraints?ro(r,this.constraints[e],this.elastic[e]):r;n.set(o)}},e.prototype.updateVisualElementAxis=function(e,t){var n,r=this.visualElement.getLayoutState().layout[e],o=r.max-r.min,i=this.cursorProgress[e],a=function(e,t,n,r,o){var i=e-t*n;return r?ro(i,r,o):i}(t[e],o,i,null===(n=this.constraints)||void 0===n?void 0:n[e],this.elastic[e]);this.visualElement.setProjectionTargetAxis(e,a,a+o)},e.prototype.setProps=function(e){var t=e.drag,n=void 0!==t&&t,r=e.dragDirectionLock,i=void 0!==r&&r,a=e.dragPropagation,u=void 0!==a&&a,c=e.dragConstraints,l=void 0!==c&&c,f=e.dragElastic,p=void 0===f?.35:f,d=e.dragMomentum,m=void 0===d||d,v=s(e,["drag","dragDirectionLock","dragPropagation","dragConstraints","dragElastic","dragMomentum"]);this.props=o({drag:n,dragDirectionLock:i,dragPropagation:u,dragConstraints:l,dragElastic:p,dragMomentum:m},v)},e.prototype.getAxisMotionValue=function(e){var t=this.props,n=t.layout,r=t.layoutId,o="_drag"+e.toUpperCase();return this.props[o]?this.props[o]:n||void 0!==r?void 0:this.visualElement.getValue(e,0)},e.prototype.isLayoutDrag=function(){return!this.getAxisMotionValue("x")},e.prototype.isExternalDrag=function(){var e=this.props,t=e._dragX,n=e._dragY;return t||n},e.prototype.animateDragEnd=function(e){var t=this,n=this.props,r=n.drag,i=n.dragMomentum,a=n.dragElastic,s=n.dragTransition,u=function(e,t){void 0===t&&(t=!0);var n,r=e.getProjectionParent();return!!r&&(t?Vo(n=ko(r.projection.target,e.projection.target),r.getLatestValues()):n=ko(r.getLayoutState().layout,e.getLayoutState().layout),no((function(t){return e.setProjectionTargetAxis(t,n[t].min,n[t].max,!0)})),!0)}(this.visualElement,this.isLayoutDrag()&&!this.isExternalDrag()),c=this.constraints||{};if(u&&Object.keys(c).length&&this.isLayoutDrag()){var l=this.visualElement.getProjectionParent();if(l){var f=ko(l.projection.targetFinal,c);no((function(e){var t=f[e],n=t.min,r=t.max;c[e]={min:isNaN(n)?void 0:n,max:isNaN(r)?void 0:r}}))}}var p=no((function(n){var l;if(Fo(n,r,t.currentDirection)){var f=null!==(l=null==c?void 0:c[n])&&void 0!==l?l:{},p=a?200:1e6,d=a?40:1e7,m=o(o({type:"inertia",velocity:i?e[n]:0,bounceStiffness:p,bounceDamping:d,timeConstant:750,restDelta:1,restSpeed:10},s),f);return t.getAxisMotionValue(n)?t.startAxisValueAnimation(n,m):t.visualElement.startLayoutAnimation(n,m,u)}}));return Promise.all(p).then((function(){var e,n;null===(n=(e=t.props).onDragTransitionEnd)||void 0===n||n.call(e)}))},e.prototype.stopMotion=function(){var e=this;no((function(t){var n=e.getAxisMotionValue(t);n?n.stop():e.visualElement.stopLayoutAnimation()}))},e.prototype.startAxisValueAnimation=function(e,t){var n=this.getAxisMotionValue(e);if(n){var r=n.get();return n.set(r),n.set(r),yr(e,n,0,t)}},e.prototype.scalePoint=function(){var e=this,t=this.props,n=t.drag;if(S(t.dragConstraints)&&this.constraintsBox){this.stopMotion();var r={x:0,y:0};no((function(t){var n,o,i,a,s;r[t]=(n=e.visualElement.projection.target[t],o=e.constraintsBox[t],i=.5,a=lo(n),(s=lo(o))>a?i=St(o.min,o.max-a,n.min):a>s&&(i=St(n.min,n.max-s,o.min)),function(e){return bt(0,1,e)}(i))})),this.updateConstraints((function(){no((function(t){if(Fo(t,n,null)){var o=function(e,t,n){var r=e.max-e.min,o=jt(t.min,t.max-r,n);return{min:o,max:o+r}}(e.visualElement.projection.target[t],e.constraintsBox[t],r[t]),i=o.min,a=o.max;e.visualElement.setProjectionTargetAxis(t,i,a)}}))})),setTimeout(zo,1)}},e.prototype.updateConstraints=function(e){var t=this;this.cancelLayout=Ro((function(n,r){var o=go(t.visualElement);r((function(){return o.forEach((function(e){return e.resetTransform()}))})),n((function(){return bo(t.visualElement)})),r((function(){return o.forEach((function(e){return e.restoreTransform()}))})),n((function(){t.resolveDragConstraints()})),e&&r(e)}))},e.prototype.mount=function(e){var t=this,n=ot(e.getInstance(),"pointerdown",(function(e){var n=t.props,r=n.drag,o=n.dragListener;r&&(void 0===o||o)&&t.start(e)})),r=qe(window,"resize",(function(){t.scalePoint()})),o=e.onLayoutUpdate((function(){t.isDragging&&t.resolveDragConstraints()})),i=e.prevDragCursor;return i&&this.start($o,{cursorProgress:i}),function(){null==n||n(),null==r||r(),null==o||o(),t.cancelDrag()}},e}();function Fo(e,t,n){return!(!0!==t&&t!==e||null!==n&&n!==e)}var Uo,qo,Yo={pan:ht((function(t){var n=t.onPan,r=t.onPanStart,o=t.onPanEnd,i=t.onPanSessionStart,a=t.visualElement,s=n||r||o||i,u=(0,e.useRef)(null),c=(0,e.useContext)(v).transformPagePoint,l={onSessionStart:i,onStart:r,onMove:n,onEnd:function(e,t){u.current=null,o&&o(e,t)}};(0,e.useEffect)((function(){null!==u.current&&u.current.updateHandlers(l)})),it(a,"pointerdown",s&&function(e){u.current=new Ur(e,l,{transformPagePoint:c})}),dt((function(){return u.current&&u.current.end()}))})),drag:ht((function(t){var n=t.dragControls,r=t.visualElement,i=(0,e.useContext)(v).transformPagePoint,a=g((function(){return new Bo({visualElement:r})}));a.setProps(o(o({},t),{transformPagePoint:i})),(0,e.useEffect)((function(){return n&&n.subscribe(a)}),[a]),(0,e.useEffect)((function(){return a.mount(r)}),[])}))};function Zo(e){return"string"==typeof e&&e.startsWith("var(--")}!function(e){e[e.Entering=0]="Entering",e[e.Present=1]="Present",e[e.Exiting=2]="Exiting"}(Uo||(Uo={})),function(e){e[e.Hide=0]="Hide",e[e.Show=1]="Show"}(qo||(qo={}));var Xo=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function Ko(e,t,n){void 0===n&&(n=1);var r=u(function(e){var t=Xo.exec(e);if(!t)return[,];var n=u(t,3);return[n[1],n[2]]}(e),2),o=r[0],i=r[1];if(o){var a=window.getComputedStyle(t).getPropertyValue(o);return a?a.trim():Zo(i)?Ko(i,t,n+1):i}}function Go(e,t){return e/(t.max-t.min)*100}var Jo="_$css",Qo={process:function(e,t,n){var r=n.target;if("string"==typeof e){if(!ae.test(e))return e;e=parseFloat(e)}return Go(e,r.x)+"% "+Go(e,r.y)+"%"}},ei={borderRadius:o(o({},Qo),{applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]}),borderTopLeftRadius:Qo,borderTopRightRadius:Qo,borderBottomLeftRadius:Qo,borderBottomRightRadius:Qo,boxShadow:{process:function(e,t){var n=t.delta,r=t.treeScale,o=e,i=e.includes("var("),a=[];i&&(e=e.replace(Xo,(function(e){return a.push(e),Jo})));var s=Yt.parse(e);if(s.length>5)return o;var u=Yt.createTransformer(e),c="number"!=typeof s[0]?1:0,l=n.x.scale*r.x,f=n.y.scale*r.y;s[0+c]/=l,s[1+c]/=f;var p=jt(l,f,.5);"number"==typeof s[2+c]&&(s[2+c]/=p),"number"==typeof s[3+c]&&(s[3+c]/=p);var d=u(s);if(i){var m=0;d=d.replace(Jo,(function(){var e=a[m];return m++,e}))}return d}}},ti=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.frameTarget={x:{min:0,max:1},y:{min:0,max:1}},t.currentAnimationTarget={x:{min:0,max:1},y:{min:0,max:1}},t.isAnimating={x:!1,y:!1},t.stopAxisAnimation={x:void 0,y:void 0},t.isAnimatingTree=!1,t.animate=function(e,n,r){void 0===r&&(r={});var i=r.originBox,a=r.targetBox,u=r.visibilityAction,c=r.shouldStackAnimate,l=r.onComplete,f=r.prevParent,p=s(r,["originBox","targetBox","visibilityAction","shouldStackAnimate","onComplete","prevParent"]),d=t.props,m=d.visualElement,v=d.layout;if(!1===c)return t.isAnimatingTree=!1,t.safeToRemove();if(!t.isAnimatingTree||!0===c){c&&(t.isAnimatingTree=!0),n=i||n,e=a||e;var h=!1,y=m.getProjectionParent();if(y){var g=y.prevViewportBox,b=y.getLayoutState().layout;f&&(a&&(b=f.getLayoutState().layout),i&&!wo(f,y)&&f.prevViewportBox&&(g=f.prevViewportBox)),g&&si(f,i,a)&&(h=!0,n=ko(g,n),e=ko(b,e))}var x=ni(n,e),k=no((function(r){var i,a;if("position"===v){var s=e[r].max-e[r].min;n[r].max=n[r].min+s}if(!m.projection.isTargetLocked)return void 0===u?x?t.animateAxis(r,e[r],n[r],o(o({},p),{isRelative:h})):(null===(a=(i=t.stopAxisAnimation)[r])||void 0===a||a.call(i),m.setProjectionTargetAxis(r,e[r].min,e[r].max,h)):void m.setVisibility(u===qo.Show)}));return m.syncRender(),Promise.all(k).then((function(){t.isAnimatingTree=!1,l&&l(),m.notifyLayoutAnimationComplete()}))}},t}return r(t,e),t.prototype.componentDidMount=function(){var e=this,t=this.props.visualElement;t.animateMotionValue=yr,t.enableLayoutProjection(),this.unsubLayoutReady=t.onLayoutUpdate(this.animate),t.layoutSafeToRemove=function(){return e.safeToRemove()},function(e){for(var t in e)R[t]=e[t]}(ei)},t.prototype.componentWillUnmount=function(){var e=this;this.unsubLayoutReady(),no((function(t){var n,r;return null===(r=(n=e.stopAxisAnimation)[t])||void 0===r?void 0:r.call(n)}))},t.prototype.animateAxis=function(e,t,n,r){var o,i,a=this,s=void 0===r?{}:r,u=s.transition,c=s.isRelative;if(!this.isAnimating[e]||!ii(t,this.currentAnimationTarget[e])){null===(i=(o=this.stopAxisAnimation)[e])||void 0===i||i.call(o),this.isAnimating[e]=!0;var l=this.props.visualElement,f=this.frameTarget[e],p=l.getProjectionAnimationProgress()[e];p.clearListeners(),p.set(0),p.set(0);var d=function(){var r=p.get()/1e3;!function(e,t,n,r){e.min=jt(t.min,n.min,r),e.max=jt(t.max,n.max,r)}(f,n,t,r),l.setProjectionTargetAxis(e,f.min,f.max,c)};d();var m=p.onChange(d);this.stopAxisAnimation[e]=function(){a.isAnimating[e]=!1,p.stop(),m()},this.currentAnimationTarget[e]=t;var v=u||l.getDefaultTransition()||ai;return yr("x"===e?"layoutX":"layoutY",p,1e3,v&&hr(v,"layout")).then(this.stopAxisAnimation[e])}},t.prototype.safeToRemove=function(){var e,t;null===(t=(e=this.props).safeToRemove)||void 0===t||t.call(e)},t.prototype.render=function(){return null},t}(e.Component);function ni(e,t){return!(oi(e)||oi(t)||ii(e.x,t.x)&&ii(e.y,t.y))}var ri={min:0,max:0};function oi(e){return ii(e.x,ri)&&ii(e.y,ri)}function ii(e,t){return e.min===t.min&&e.max===t.max}var ai={duration:.45,ease:[.4,0,.1,1]};function si(e,t,n){return e||!e&&!(t||n)}var ui={layoutReady:function(e){return e.notifyLayoutReady()}};function ci(){var e=new Set;return{add:function(t){return e.add(t)},flush:function(t){var n=void 0===t?ui:t,r=n.layoutReady,o=n.parent;Ro((function(t,n){var i=Array.from(e).sort(ho),a=o?go(o):[];n((function(){c(c([],u(a)),u(i)).forEach((function(e){return e.resetTransform()}))})),t((function(){i.forEach(bo)})),n((function(){a.forEach((function(e){return e.restoreTransform()})),i.forEach(r)})),t((function(){i.forEach((function(e){e.isPresent&&(e.presence=Uo.Present)}))})),n((function(){Dn.preRender(),Dn.render()})),t((function(){zn.postRender((function(){return i.forEach(li)})),e.clear()}))})),zo()}}}function li(e){e.prevViewportBox=e.projection.target}var fi=(0,e.createContext)(ci()),pi=(0,e.createContext)(ci());function di(e){return!!e.forceUpdate}var mi=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.componentDidMount=function(){var e=this.props,t=e.syncLayout,n=e.framerSyncLayout,r=e.visualElement;di(t)&&t.register(r),di(n)&&n.register(r),r.onUnmount((function(){di(t)&&t.remove(r),di(n)&&n.remove(r)}))},t.prototype.getSnapshotBeforeUpdate=function(){var e=this.props,t=e.syncLayout,n=e.visualElement;return di(t)?t.syncUpdate():(function(e){e.shouldResetTransform()||(e.prevViewportBox=e.measureViewportBox(!1),e.rebaseProjectionTarget(!1,e.prevViewportBox))}(n),t.add(n)),null},t.prototype.componentDidUpdate=function(){var e=this.props.syncLayout;di(e)||e.flush()},t.prototype.render=function(){return null},t}(t().Component),vi={measureLayout:function(n){var r=(0,e.useContext)(fi),i=(0,e.useContext)(pi);return t().createElement(mi,o({},n,{syncLayout:r,framerSyncLayout:i}))},layoutAnimation:function(t){var n=u(b(),2)[1];return e.createElement(ti,o({},t,{safeToRemove:n}))}};function hi(){return{isHydrated:!1,layout:{x:{min:0,max:1},y:{min:0,max:1}},layoutCorrected:{x:{min:0,max:1},y:{min:0,max:1}},treeScale:{x:1,y:1},delta:to(),deltaFinal:to(),deltaTransform:""}}var yi=hi();function gi(e,t,n){var r=e.x,o=e.y,i="translate3d("+r.translate/t.x+"px, "+o.translate/t.y+"px, 0) ";if(n){var a=n.rotate,s=n.rotateX,u=n.rotateY;a&&(i+="rotate("+a+") "),s&&(i+="rotateX("+s+") "),u&&(i+="rotateY("+u+") ")}return i+="scale("+r.scale+", "+o.scale+")",n||i!==xi?i:""}function bi(e){var t=e.deltaFinal;return 100*t.x.origin+"% "+100*t.y.origin+"% 0"}var xi=gi(yi.delta,yi.treeScale,{x:1,y:1}),ki=["LayoutMeasure","BeforeLayoutMeasure","LayoutUpdate","ViewportBoxUpdate","Update","Render","AnimationComplete","LayoutAnimationComplete","AnimationStart","SetAxisTarget","Unmount"];var wi=function(){function e(){this.children=[],this.isDirty=!1}return e.prototype.add=function(e){br(this.children,e),this.isDirty=!0},e.prototype.remove=function(e){xr(this.children,e),this.isDirty=!0},e.prototype.forEach=function(e){this.isDirty&&this.children.sort(ho),this.isDirty=!1,this.children.forEach(e)},e}(),Ci=function(e){var t=e.treeType,n=void 0===t?"":t,r=e.build,i=e.getBaseTarget,a=e.makeTargetAnimatable,s=e.measureViewportBox,l=e.render,f=e.readValueFromInstance,p=e.resetTransform,d=e.restoreTransform,m=e.removeValueFromRenderState,v=e.sortNodePosition,h=e.scrapeMotionValuesFromProps;return function(e,t){var y=e.parent,g=e.props,b=e.presenceId,x=e.blockInitialAnimation,k=e.visualState;void 0===t&&(t={});var w,C,O,E,S,j,T=k.latestValues,A=k.renderState,_=function(){var e=ki.map((function(){return new kr})),t={},n={clearAllListeners:function(){return e.forEach((function(e){return e.clear()}))},updatePropListeners:function(e){return ki.forEach((function(r){var o;null===(o=t[r])||void 0===o||o.call(t);var i="on"+r,a=e[i];a&&(t[r]=n[i](a))}))}};return e.forEach((function(e,t){n["on"+ki[t]]=function(t){return e.add(t)},n["notify"+ki[t]]=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return e.notify.apply(e,c([],u(t)))}})),n}(),D={isEnabled:!1,isHydrated:!1,isTargetLocked:!1,target:{x:{min:0,max:1},y:{min:0,max:1}},targetFinal:{x:{min:0,max:1},y:{min:0,max:1}}},V=D,W=T,N=hi(),R=!1,z=new Map,$=new Map,H={},I=o({},T);function B(){w&&(Q.isProjectionReady()&&(Mo(V.targetFinal,V.target,W),po(N.deltaFinal,N.layoutCorrected,V.targetFinal,T)),F(),l(w,A))}function F(){var e=T;if(E&&E.isActive()){var n=E.getCrossfadeState(Q);n&&(e=n)}r(Q,A,e,V,N,t,g)}function U(){_.notifyUpdate(T)}function q(){Q.layoutTree.forEach(Ei)}var Z=h(g);for(var X in Z){var K=Z[X];void 0!==T[X]&&Y(K)&&K.set(T[X],!1)}var G=L(g),J=M(g),Q=o(o({treeType:n,current:null,depth:y?y.depth+1:0,parent:y,children:new Set,path:y?c(c([],u(y.path)),[y]):[],layoutTree:y?y.layoutTree:new wi,presenceId:b,projection:D,variantChildren:J?new Set:void 0,isVisible:void 0,manuallyAnimateOnMount:Boolean(null==y?void 0:y.isMounted()),blockInitialAnimation:x,isMounted:function(){return Boolean(w)},mount:function(e){w=Q.current=e,Q.pointTo(Q),J&&y&&!G&&(j=null==y?void 0:y.addVariantChild(Q)),null==y||y.children.add(Q)},unmount:function(){_n.update(U),_n.render(B),_n.preRender(Q.updateLayoutProjection),$.forEach((function(e){return e()})),Q.stopLayoutAnimation(),Q.layoutTree.remove(Q),null==j||j(),null==y||y.children.delete(Q),null==O||O(),_.clearAllListeners()},addVariantChild:function(e){var t,n=Q.getClosestVariantNode();if(n)return null===(t=n.variantChildren)||void 0===t||t.add(e),function(){return n.variantChildren.delete(e)}},sortNodePosition:function(e){return v&&n===e.treeType?v(Q.getInstance(),e.getInstance()):0},getClosestVariantNode:function(){return J?Q:null==y?void 0:y.getClosestVariantNode()},scheduleUpdateLayoutProjection:y?y.scheduleUpdateLayoutProjection:function(){return zn.preRender(Q.updateTreeLayoutProjection,!1,!0)},getLayoutId:function(){return g.layoutId},getInstance:function(){return w},getStaticValue:function(e){return T[e]},setStaticValue:function(e,t){return T[e]=t},getLatestValues:function(){return T},setVisibility:function(e){Q.isVisible!==e&&(Q.isVisible=e,Q.scheduleRender())},makeTargetAnimatable:function(e,t){return void 0===t&&(t=!0),a(Q,e,g,t)},addValue:function(e,t){Q.hasValue(e)&&Q.removeValue(e),z.set(e,t),T[e]=t.get(),function(e,t){var n=t.onChange((function(t){T[e]=t,g.onUpdate&&zn.update(U,!1,!0)})),r=t.onRenderRequest(Q.scheduleRender);$.set(e,(function(){n(),r()}))}(e,t)},removeValue:function(e){var t;z.delete(e),null===(t=$.get(e))||void 0===t||t(),$.delete(e),delete T[e],m(e,A)},hasValue:function(e){return z.has(e)},getValue:function(e,t){var n=z.get(e);return void 0===n&&void 0!==t&&(n=Cr(t),Q.addValue(e,n)),n},forEachValue:function(e){return z.forEach(e)},readValue:function(e){var n;return null!==(n=T[e])&&void 0!==n?n:f(w,e,t)},setBaseTarget:function(e,t){I[e]=t},getBaseTarget:function(e){if(i){var t=i(g,e);if(void 0!==t&&!Y(t))return t}return I[e]}},_),{build:function(){return F(),A},scheduleRender:function(){zn.render(B,!1,!0)},syncRender:B,setProps:function(e){g=e,_.updatePropListeners(e),H=function(e,t,n){var r;for(var o in t){var i=t[o],a=n[o];if(Y(i))e.addValue(o,i);else if(Y(a))e.addValue(o,Cr(i));else if(a!==i)if(e.hasValue(o)){var s=e.getValue(o);!s.hasAnimated&&s.set(i)}else e.addValue(o,Cr(null!==(r=e.getStaticValue(o))&&void 0!==r?r:i))}for(var o in n)void 0===t[o]&&e.removeValue(o);return t}(Q,h(g),H)},getProps:function(){return g},getVariant:function(e){var t;return null===(t=g.variants)||void 0===t?void 0:t[e]},getDefaultTransition:function(){return g.transition},getVariantContext:function(e){if(void 0===e&&(e=!1),e)return null==y?void 0:y.getVariantContext();if(!G){var t=(null==y?void 0:y.getVariantContext())||{};return void 0!==g.initial&&(t.initial=g.initial),t}for(var n={},r=0;r<Pi;r++){var o=ji[r],i=g[o];(P(i)||!1===i)&&(n[o]=i)}return n},enableLayoutProjection:function(){D.isEnabled=!0,Q.layoutTree.add(Q)},lockProjectionTarget:function(){D.isTargetLocked=!0},unlockProjectionTarget:function(){Q.stopLayoutAnimation(),D.isTargetLocked=!1},getLayoutState:function(){return N},setCrossfader:function(e){E=e},isProjectionReady:function(){return D.isEnabled&&D.isHydrated&&N.isHydrated},startLayoutAnimation:function(e,t,n){void 0===n&&(n=!1);var r=Q.getProjectionAnimationProgress()[e],o=n?D.relativeTarget[e]:D.target[e],i=o.min,a=o.max-i;return r.clearListeners(),r.set(i),r.set(i),r.onChange((function(t){Q.setProjectionTargetAxis(e,t,t+a,n)})),Q.animateMotionValue(e,r,0,t)},stopLayoutAnimation:function(){no((function(e){return Q.getProjectionAnimationProgress()[e].stop()}))},measureViewportBox:function(e){void 0===e&&(e=!0);var n=s(w,t);return e||Vo(n,T),n},getProjectionAnimationProgress:function(){return S||(S={x:Cr(0),y:Cr(0)}),S},setProjectionTargetAxis:function(e,t,n,r){var o;void 0===r&&(r=!1),r?(D.relativeTarget||(D.relativeTarget={x:{min:0,max:1},y:{min:0,max:1}}),o=D.relativeTarget[e]):(D.relativeTarget=void 0,o=D.target[e]),D.isHydrated=!0,o.min=t,o.max=n,R=!0,_.notifySetAxisTarget()},rebaseProjectionTarget:function(e,t){void 0===t&&(t=N.layout);var n=Q.getProjectionAnimationProgress(),r=n.x,o=n.y,i=!(D.relativeTarget||D.isTargetLocked||r.isAnimating()||o.isAnimating());(e||i)&&no((function(e){var n=t[e],r=n.min,o=n.max;Q.setProjectionTargetAxis(e,r,o)}))},notifyLayoutReady:function(e){!function(e){var t=e.getProjectionParent();if(t){var n=ko(t.getLayoutState().layout,e.getLayoutState().layout);no((function(t){e.setProjectionTargetAxis(t,n[t].min,n[t].max,!0)}))}else e.rebaseProjectionTarget()}(Q),Q.notifyLayoutUpdate(N.layout,Q.prevViewportBox||N.layout,e)},resetTransform:function(){return p(Q,w,g)},restoreTransform:function(){return d(w,A)},updateLayoutProjection:function(){if(Q.isProjectionReady()){var e=N.delta,t=N.treeScale,n=t.x,r=t.y,o=N.deltaTransform;(function(e,t,n,r){var o,i,a=e.delta,s=e.layout,u=e.layoutCorrected,c=e.treeScale,l=t.target;i=s,Oo((o=u).x,i.x),Oo(o.y,i.y),function(e,t,n){var r=n.length;if(r){var o,i;t.x=t.y=1;for(var a=0;a<r;a++)i=(o=n[a]).getLayoutState().delta,t.x*=i.x.scale,t.y*=i.y.scale,Po(e,i),Co(o)&&Mo(e,e,o.getLatestValues())}}(u,c,n),po(a,u,l,r)})(N,V,Q.path,T),R&&Q.notifyViewportBoxUpdate(V.target,e),R=!1;var i=gi(e,t);i===o&&n===t.x&&r===t.y||Q.scheduleRender(),N.deltaTransform=i}},updateTreeLayoutProjection:function(){Q.layoutTree.forEach(Oi),zn.preRender(q,!1,!0)},getProjectionParent:function(){if(void 0===C){for(var e=!1,t=Q.path.length-1;t>=0;t--){var n=Q.path[t];if(n.projection.isEnabled){e=n;break}}C=e}return C},resolveRelativeTargetBox:function(){var e=Q.getProjectionParent();if(D.relativeTarget&&e&&(function(e,t){vo(e.target.x,e.relativeTarget.x,t.target.x),vo(e.target.y,e.relativeTarget.y,t.target.y)}(D,e.projection),Co(e))){var t=D.target;Mo(t,t,e.getLatestValues())}},shouldResetTransform:function(){return Boolean(g._layoutResetTransform)},pointTo:function(e){V=e.projection,W=e.getLatestValues(),null==O||O(),O=vt(e.onSetAxisTarget(Q.scheduleUpdateLayoutProjection),e.onLayoutAnimationComplete((function(){var e;Q.isPresent?Q.presence=Uo.Present:null===(e=Q.layoutSafeToRemove)||void 0===e||e.call(Q)})))},isPresent:!0,presence:Uo.Entering});return Q}};function Oi(e){e.resolveRelativeTargetBox()}function Ei(e){e.updateLayoutProjection()}var Si,ji=c(["initial"],u(Vr)),Pi=ji.length,Ti=new Set(["width","height","top","left","right","bottom","x","y"]),Ai=function(e){return Ti.has(e)},Li=function(e,t){e.set(t,!1),e.set(t)},Mi=function(e){return e===le||e===ae};!function(e){e.width="width",e.height="height",e.left="left",e.right="right",e.top="top",e.bottom="bottom"}(Si||(Si={}));var _i=function(e,t){return parseFloat(e.split(", ")[t])},Di=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 _i(i[1],t);var a=o.match(/^matrix\((.+)\)$/);return a?_i(a[1],e):0}},Vi=new Set(["x","y","z"]),Wi=$.filter((function(e){return!Vi.has(e)})),Ni={width:function(e){var t=e.x;return t.max-t.min},height:function(e){var t=e.y;return t.max-t.min},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:Di(4,13),y:Di(5,14)};function Ri(e,t,n,r){return function(e){return Object.keys(e).some(Ai)}(t)?function(e,t,n,r){void 0===n&&(n={}),void 0===r&&(r={}),t=o({},t),r=o({},r);var i=Object.keys(t).filter(Ai),a=[],s=!1,c=[];if(i.forEach((function(o){var i=e.getValue(o);if(e.hasValue(o)){var u,l=n[o],f=t[o],p=Sr(l);if(Re(f))for(var d=f.length,m=null===f[0]?1:0;m<d;m++)u?Sr(f[m]):(u=Sr(f[m]))===p||Mi(p)&&Mi(u);else u=Sr(f);if(p!==u)if(Mi(p)&&Mi(u)){var v=i.get();"string"==typeof v&&i.set(parseFloat(v)),"string"==typeof f?t[o]=parseFloat(f):Array.isArray(f)&&u===ae&&(t[o]=f.map(parseFloat))}else(null==p?void 0:p.transform)&&(null==u?void 0:u.transform)&&(0===l||0===f)?0===l?i.set(u.transform(l)):t[o]=p.transform(f):(s||(a=function(e){var t=[];return Wi.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),c.push(o),r[o]=void 0!==r[o]?r[o]:t[o],Li(i,f))}})),c.length){var l=function(e,t,n){var r=t.measureViewportBox(),o=t.getInstance(),i=getComputedStyle(o),a=i.display,s={top:i.top,left:i.left,bottom:i.bottom,right:i.right,transform:i.transform};"none"===a&&t.setStaticValue("display",e.display||"block"),t.syncRender();var u=t.measureViewportBox();return n.forEach((function(n){var o=t.getValue(n);Li(o,Ni[n](r,s)),e[n]=Ni[n](u,i)})),e}(t,e,c);return a.length&&a.forEach((function(t){var n=u(t,2),r=n[0],o=n[1];e.getValue(r).set(o)})),e.syncRender(),{target:l,transitionEnd:r}}return{target:t,transitionEnd:r}}(e,t,n,r):{target:t,transitionEnd:r}}var zi={treeType:"dom",readValueFromInstance:function(e,t){if(B(t)){var n=fr(t);return n&&n.default||0}var r,o=(r=e,window.getComputedStyle(r));return(X(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 uo(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,r){var i=n.transformValues;void 0===r&&(r=!0);var a=t.transition,u=t.transitionEnd,c=s(t,["transition","transitionEnd"]),l=function(e,t,n){var r,o,i={};for(var a in e)i[a]=null!==(r=Ar(a,t))&&void 0!==r?r:null===(o=n.getValue(a))||void 0===o?void 0:o.get();return i}(c,a||{},e);if(i&&(u&&(u=i(u)),c&&(c=i(c)),l&&(l=i(l))),r){!function(e,t,n){var r,o,i,a,s=Object.keys(t).filter((function(t){return!e.hasValue(t)})),u=s.length;if(u)for(var c=0;c<u;c++){var l=s[c],f=t[l],p=null;Array.isArray(f)&&(p=f[0]),null===p&&(p=null!==(o=null!==(r=n[l])&&void 0!==r?r:e.readValue(l))&&void 0!==o?o:t[l]),null!=p&&("string"==typeof p&&gr(p)?p=parseFloat(p):!Pr(p)&&Yt.test(f)&&(p=pr(l,f)),e.addValue(l,Cr(p)),null!==(i=(a=n)[l])&&void 0!==i||(a[l]=p),e.setBaseTarget(l,p))}}(e,c,l);var f=function(e,t,n,r){var i=function(e,t,n){var r,i=s(t,[]),a=e.getInstance();if(!(a instanceof HTMLElement))return{target:i,transitionEnd:n};for(var u in n&&(n=o({},n)),e.forEachValue((function(e){var t=e.get();if(Zo(t)){var n=Ko(t,a);n&&e.set(n)}})),i){var c=i[u];if(Zo(c)){var l=Ko(c,a);l&&(i[u]=l,n&&(null!==(r=n[u])&&void 0!==r||(n[u]=c)))}}return{target:i,transitionEnd:n}}(e,t,r);return Ri(e,t=i.target,n,r=i.transitionEnd)}(e,c,l,u);u=f.transitionEnd,c=f.target}return o({transition:a,transitionEnd:u},c)},scrapeMotionValuesFromProps:Ve,build:function(e,t,n,r,o,i,a){void 0!==e.isVisible&&(t.style.visibility=e.isVisible?"visible":"hidden");var s=r.isEnabled&&o.isHydrated;ve(t,n,r,o,i,a.transformTemplate,s?gi:void 0,s?bi:void 0)},render:Me},$i=Ci(zi),Hi=Ci(o(o({},zi),{getBaseTarget:function(e,t){return e[t]},readValueFromInstance:function(e,t){var n;return B(t)?(null===(n=fr(t))||void 0===n?void 0:n.default)||0:(t=_e.has(t)?t:Le(t),e.getAttribute(t))},scrapeMotionValuesFromProps:We,build:function(e,t,n,r,o,i,a){var s=r.isEnabled&&o.isHydrated;Se(t,n,r,o,i,a.transformTemplate,s?gi:void 0,s?bi:void 0)},render:De})),Ii=function(e,t){return N(e)?Hi(t,{enableHardwareAcceleration:!1}):$i(t,{enableHardwareAcceleration:!0})},Bi=o(o(o(o({},$r),yt),Yo),vi),Fi=V((function(e,t){return function(e,t,n,r){var i=t.forwardMotionProps,a=void 0!==i&&i,s=N(e)?Fe:Ue;return o(o({},s),{preloadedFeatures:n,useRender:Te(a),createVisualElement:r,Component:e})}(e,t,Bi,Ii)})),Ui=i(4184),qi=i.n(Ui),Yi=i(5697),Zi=i.n(Yi);const Xi=function(){return t().createElement("svg",{width:"24",height:"30",viewBox:"0 0 24 30",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t().createElement("path",{d:"M23.2736 11.6825C23.2736 12.7582 23.2736 13.8292 23.2736 14.9097C23.2736 15.9901 23.2736 17.0612 23.3012 18.1369C23.3513 19.0326 23.1835 19.9271 22.813 20.7404C22.4295 21.5232 21.7718 22.13 20.9708 22.4399C20.075 22.8095 19.2621 22.953 18.4538 22.7812C17.6455 22.6094 16.8418 22.1245 15.9553 21.2394C14.3863 19.6623 12.8219 18.0765 11.2621 16.4821C9.70237 14.8877 8.1449 13.2973 6.58974 11.7107C6.34588 11.4268 6.07167 11.1718 5.77224 10.9504C5.60974 10.8442 5.42434 10.7801 5.23213 10.7637C5.03992 10.7473 4.84669 10.7791 4.6692 10.8562C4.46956 10.9198 4.28806 11.0321 4.1404 11.1834C3.99275 11.3348 3.88339 11.5206 3.82177 11.7248C3.72145 12.1283 3.68032 12.5448 3.69972 12.9606C3.69972 14.7182 3.70509 16.4782 3.71584 18.2405C3.71584 20.0012 3.71584 21.7714 3.6859 23.5227C3.66773 23.9637 3.74233 24.4036 3.90467 24.8126C4.06056 25.1923 4.3428 25.5033 4.70144 25.6907C4.88357 25.7895 5.08563 25.844 5.29178 25.8497C5.49793 25.8554 5.70258 25.8123 5.88969 25.7236C6.27623 25.5419 6.62673 25.2889 6.92365 24.9774C7.63752 24.2681 8.34755 23.5541 9.05374 22.8353C9.75994 22.1166 10.4546 21.39 11.1378 20.6556C11.2702 20.4971 11.4319 20.3668 11.6137 20.2723C11.7955 20.1778 11.9937 20.1208 12.1971 20.1048C12.5808 20.1066 12.9543 20.2309 13.2656 20.4602C13.5603 20.658 13.6962 21.084 13.687 21.5336C13.6889 21.9834 13.5291 22.4181 13.2379 22.7553C12.3905 23.631 11.55 24.5184 10.7049 25.3941C9.85972 26.2697 8.99387 27.136 8.10499 27.9669C7.45222 28.6004 6.61409 28.9973 5.71928 29.0968C4.81951 29.1678 3.91699 29.0008 3.09869 28.6119C2.34978 28.3105 1.71255 27.7761 1.27717 27.0842C0.869348 26.3642 0.671209 25.5402 0.70607 24.7091C0.726795 22.5387 0.724493 20.3684 0.72219 18.1958C0.719887 16.0231 0.72219 13.8551 0.72219 11.6825C0.704055 10.8192 0.879729 9.96324 1.23572 9.18024C1.61178 8.40876 2.26285 7.814 3.05493 7.51837C3.87619 7.17299 4.7785 7.08133 5.6502 7.25473C6.54851 7.47018 7.36281 7.95649 7.98754 8.65061C9.56727 10.2984 11.1608 11.9351 12.7682 13.5609C14.3755 15.1867 15.9783 16.8156 17.5764 18.4476C17.7943 18.6911 18.0447 18.9019 18.3202 19.0738C18.4586 19.1553 18.6129 19.2048 18.7721 19.2186C18.9313 19.2325 19.0915 19.2103 19.2414 19.1538C19.5304 19.0654 19.7926 18.9034 20.0036 18.683C20.218 18.4201 20.3252 18.083 20.303 17.7415C20.2799 15.7571 20.2799 13.7822 20.2799 11.8072C20.2799 9.83228 20.2799 7.85498 20.2799 5.88004C20.2945 5.58169 20.2482 5.2835 20.1441 5.00438C20.0783 4.86278 19.9859 4.73584 19.8721 4.63081C19.7583 4.52579 19.6254 4.44476 19.4809 4.39236C19.2001 4.25656 18.8934 4.18583 18.5828 4.18522C18.263 4.20798 17.9584 4.33318 17.7123 4.54302C16.8424 5.24139 16.0235 6.00373 15.2621 6.82397C14.4907 7.62901 13.7377 8.45523 12.9317 9.22732C12.6318 9.55796 12.2335 9.77808 11.7987 9.85346C11.6074 9.86436 11.4162 9.83036 11.2398 9.75406C11.0634 9.67776 10.9064 9.56119 10.7808 9.41328C10.6324 9.26574 10.5162 9.08771 10.44 8.89092C10.3638 8.69413 10.3293 8.48306 10.3387 8.27163C10.369 7.8159 10.5654 7.38835 10.8891 7.07348C11.7043 6.24176 12.5179 5.41004 13.3301 4.57832C14.1422 3.7466 14.9597 2.92116 15.7825 2.102C16.2981 1.61189 16.9191 1.25256 17.5956 1.05302C18.272 0.853477 18.9849 0.819312 19.6766 0.953284C20.3709 1.05328 21.0326 1.31833 21.6085 1.72714C22.1844 2.13595 22.6585 2.67713 22.9926 3.30721C23.0951 3.51003 23.1725 3.72511 23.2229 3.94747C23.272 4.17227 23.2952 4.40216 23.292 4.63246C23.2828 5.80472 23.2828 6.98168 23.292 8.16335C23.3012 9.34502 23.2951 10.5181 23.2736 11.6825Z",fill:"white"}))};var Ki=["style","weight","lineHeight","component","children","textTransform","className"];function Gi(){return Gi=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},Gi.apply(this,arguments)}var Ji={thin:"thin",extralight:"extralight",light:"light",normal:"normal",medium:"medium",semibold:"semibold",bold:"bold",extrabold:"extrabold",black:"black"},Qi={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",body1:"body1",body2:"body2",body3:"body3"},ea={none:"none",tight:"tight",snug:"snug",normal:"normal",relaxed:"relaxed",loose:"loose"},ta={none:"none",capitalize:"capitalize",uppercase:"uppercase",lowercase:"lowercase",fullwidth:"fullwidth",inherit:"inherit",initial:"initial",revert:"revert",unset:"unset"},na={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",body1:"p",body2:"p",body3:"p"},ra={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",p:"p",span:"span",b:"b",strong:"strong",i:"i",em:"em",mark:"mark",del:"del",s:"s",ins:"ins",sub:"sub",sup:"sup",u:"u",code:"code",blockquote:"blockquote"},oa=t().forwardRef((function(e,n){var r,o,i,a=e.style,s=void 0===a?"body1":a,u=e.weight,c=e.lineHeight,l=e.component,f=e.children,p=e.textTransform,d=e.className,m=void 0===d?"":d,v=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}(e,Ki),h=l?ra[l]:s?na[s]:"p";return t().createElement(h,Gi({ref:n,className:qi()((r={"neeto-ui-typography":!0,"neeto-ui-text-h1":s===Qi.h1,"neeto-ui-text-h2":s===Qi.h2,"neeto-ui-text-h3":s===Qi.h3,"neeto-ui-text-h4":s===Qi.h4,"neeto-ui-text-h5":s===Qi.h5,"neeto-ui-text-h6":s===Qi.h6,"neeto-ui-text-body1":s===Qi.body1,"neeto-ui-text-body2":s===Qi.body2,"neeto-ui-text-body3":s===Qi.body3,"neeto-ui-text-transform-none":p===ta.none,"neeto-ui-text-transform-capitalize":p===ta.capitalize,"neeto-ui-text-transform-uppercase":p===ta.uppercase,"neeto-ui-text-transform-lowercase":p===ta.lowercase,"neeto-ui-text-transform-fullwidth":p===ta.fullwidth,"neeto-ui-text-transform-inherit":p===ta.inherit,"neeto-ui-text-transform-initial":p===ta.initial,"neeto-ui-text-transform-revert":p===ta.revert,"neeto-ui-text-transform-unset":p===ta.unset,"neeto-ui-font-thin":u===Ji.thin,"neeto-ui-font-extralight":u===Ji.extralight,"neeto-ui-font-light":u===Ji.light,"neeto-ui-font-normal":u===Ji.normal,"neeto-ui-font-medium":u===Ji.medium,"neeto-ui-font-semibold":u===Ji.semibold,"neeto-ui-font-bold":u===Ji.bold,"neeto-ui-font-extrabold":u===Ji.extrabold,"neeto-ui-font-black":u===Ji.black,"neeto-ui-leading-none":c===ea.none,"neeto-ui-leading-tight":c===ea.tight,"neeto-ui-leading-snug":c===ea.snug,"neeto-ui-leading-normal":c===ea.normal,"neeto-ui-leading-relaxed":c===ea.relaxed,"neeto-ui-leading-loose":c===ea.loose},o=m,i=m,o in r?Object.defineProperty(r,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):r[o]=i,r))},v),f)}));oa.propTypes={style:Zi().oneOf(Object.values(Qi)),weight:Zi().oneOf(Object.values(Ji)),component:Zi().oneOf(Object.values(ra)),textTransform:Zi().oneOf(Object.values(ta)),lineHeight:Zi().oneOf(Object.values(ea)),otherProps:Zi().object};const ia=oa,aa=function(e){var n=e.organizationInfo,r=e.collapsed,o=null==n?void 0:n.logo,i=o;return t().createElement("div",{className:"neeto-ui-flex neeto-ui-items-center neeto-ui-sidebar__header","data-cy":"sidebar-info"},t().createElement("div",{className:"neeto-ui-flex neeto-ui-items-center neeto-ui-justify-center neeto-ui-flex-shrink-0 neeto-ui-sidebar__logo"},o?i:t().createElement(Xi,null)),!r&&n&&t().createElement("div",{className:"neeto-ui-sidebar__info"},t().createElement(ia,{component:"h2",style:"h5",weight:"semibold","data-cy":"sidebar-info-title",title:n.name},n.name),t().createElement(ia,{component:"p",style:"body3",weight:"normal",className:"neeto-ui-text-gray-500","data-cy":"sidebar-info-subtitle",title:n.subdomain},n.subdomain)))};function sa(){return sa=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},sa.apply(this,arguments)}function ua(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 ca={exports:{}},la={},fa=Object.getOwnPropertySymbols,pa=Object.prototype.hasOwnProperty,da=Object.prototype.propertyIsEnumerable;function ma(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}var va=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;var r=Object.getOwnPropertyNames(t).map((function(e){return t[e]}));if("0123456789"!==r.join(""))return!1;var o={};return"abcdefghijklmnopqrst".split("").forEach((function(e){o[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},o)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var n,r,o=ma(e),i=1;i<arguments.length;i++){for(var a in n=Object(arguments[i]))pa.call(n,a)&&(o[a]=n[a]);if(fa){r=fa(n);for(var s=0;s<r.length;s++)da.call(n,r[s])&&(o[r[s]]=n[r[s]])}}return o},ha=va,ya=60103,ga=60106;la.Fragment=60107,la.StrictMode=60108,la.Profiler=60114;var ba=60109,xa=60110,ka=60112;la.Suspense=60113;var wa=60115,Ca=60116;if("function"==typeof Symbol&&Symbol.for){var Oa=Symbol.for;ya=Oa("react.element"),ga=Oa("react.portal"),la.Fragment=Oa("react.fragment"),la.StrictMode=Oa("react.strict_mode"),la.Profiler=Oa("react.profiler"),ba=Oa("react.provider"),xa=Oa("react.context"),ka=Oa("react.forward_ref"),la.Suspense=Oa("react.suspense"),wa=Oa("react.memo"),Ca=Oa("react.lazy")}var Ea="function"==typeof Symbol&&Symbol.iterator;function Sa(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var ja={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Pa={};function Ta(e,t,n){this.props=e,this.context=t,this.refs=Pa,this.updater=n||ja}function Aa(){}function La(e,t,n){this.props=e,this.context=t,this.refs=Pa,this.updater=n||ja}Ta.prototype.isReactComponent={},Ta.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error(Sa(85));this.updater.enqueueSetState(this,e,t,"setState")},Ta.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},Aa.prototype=Ta.prototype;var Ma=La.prototype=new Aa;Ma.constructor=La,ha(Ma,Ta.prototype),Ma.isPureReactComponent=!0;var _a={current:null},Da=Object.prototype.hasOwnProperty,Va={key:!0,ref:!0,__self:!0,__source:!0};function Wa(e,t,n){var r,o={},i=null,a=null;if(null!=t)for(r in void 0!==t.ref&&(a=t.ref),void 0!==t.key&&(i=""+t.key),t)Da.call(t,r)&&!Va.hasOwnProperty(r)&&(o[r]=t[r]);var s=arguments.length-2;if(1===s)o.children=n;else if(1<s){for(var u=Array(s),c=0;c<s;c++)u[c]=arguments[c+2];o.children=u}if(e&&e.defaultProps)for(r in s=e.defaultProps)void 0===o[r]&&(o[r]=s[r]);return{$$typeof:ya,type:e,key:i,ref:a,props:o,_owner:_a.current}}function Na(e){return"object"==typeof e&&null!==e&&e.$$typeof===ya}var Ra=/\/+/g;function za(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,(function(e){return t[e]}))}(""+e.key):t.toString(36)}function $a(e,t,n,r,o){var i=typeof e;"undefined"!==i&&"boolean"!==i||(e=null);var a=!1;if(null===e)a=!0;else switch(i){case"string":case"number":a=!0;break;case"object":switch(e.$$typeof){case ya:case ga:a=!0}}if(a)return o=o(a=e),e=""===r?"."+za(a,0):r,Array.isArray(o)?(n="",null!=e&&(n=e.replace(Ra,"$&/")+"/"),$a(o,t,n,"",(function(e){return e}))):null!=o&&(Na(o)&&(o=function(e,t){return{$$typeof:ya,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(o,n+(!o.key||a&&a.key===o.key?"":(""+o.key).replace(Ra,"$&/")+"/")+e)),t.push(o)),1;if(a=0,r=""===r?".":r+":",Array.isArray(e))for(var s=0;s<e.length;s++){var u=r+za(i=e[s],s);a+=$a(i,t,n,u,o)}else if(u=function(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=Ea&&e[Ea]||e["@@iterator"])?e:null}(e),"function"==typeof u)for(e=u.call(e),s=0;!(i=e.next()).done;)a+=$a(i=i.value,t,n,u=r+za(i,s++),o);else if("object"===i)throw t=""+e,Error(Sa(31,"[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t));return a}function Ha(e,t,n){if(null==e)return e;var r=[],o=0;return $a(e,r,"","",(function(e){return t.call(n,e,o++)})),r}function Ia(e){if(-1===e._status){var t=e._result;t=t(),e._status=0,e._result=t,t.then((function(t){0===e._status&&(t=t.default,e._status=1,e._result=t)}),(function(t){0===e._status&&(e._status=2,e._result=t)}))}if(1===e._status)return e._result;throw e._result}var Ba={current:null};function Fa(){var e=Ba.current;if(null===e)throw Error(Sa(321));return e}var Ua={ReactCurrentDispatcher:Ba,ReactCurrentBatchConfig:{transition:0},ReactCurrentOwner:_a,IsSomeRendererActing:{current:!1},assign:ha};la.Children={map:Ha,forEach:function(e,t,n){Ha(e,(function(){t.apply(this,arguments)}),n)},count:function(e){var t=0;return Ha(e,(function(){t++})),t},toArray:function(e){return Ha(e,(function(e){return e}))||[]},only:function(e){if(!Na(e))throw Error(Sa(143));return e}},la.Component=Ta,la.PureComponent=La,la.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Ua,la.cloneElement=function(e,t,n){if(null==e)throw Error(Sa(267,e));var r=ha({},e.props),o=e.key,i=e.ref,a=e._owner;if(null!=t){if(void 0!==t.ref&&(i=t.ref,a=_a.current),void 0!==t.key&&(o=""+t.key),e.type&&e.type.defaultProps)var s=e.type.defaultProps;for(u in t)Da.call(t,u)&&!Va.hasOwnProperty(u)&&(r[u]=void 0===t[u]&&void 0!==s?s[u]:t[u])}var u=arguments.length-2;if(1===u)r.children=n;else if(1<u){s=Array(u);for(var c=0;c<u;c++)s[c]=arguments[c+2];r.children=s}return{$$typeof:ya,type:e.type,key:o,ref:i,props:r,_owner:a}},la.createContext=function(e,t){return void 0===t&&(t=null),(e={$$typeof:xa,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:ba,_context:e},e.Consumer=e},la.createElement=Wa,la.createFactory=function(e){var t=Wa.bind(null,e);return t.type=e,t},la.createRef=function(){return{current:null}},la.forwardRef=function(e){return{$$typeof:ka,render:e}},la.isValidElement=Na,la.lazy=function(e){return{$$typeof:Ca,_payload:{_status:-1,_result:e},_init:Ia}},la.memo=function(e,t){return{$$typeof:wa,type:e,compare:void 0===t?null:t}},la.useCallback=function(e,t){return Fa().useCallback(e,t)},la.useContext=function(e,t){return Fa().useContext(e,t)},la.useDebugValue=function(){},la.useEffect=function(e,t){return Fa().useEffect(e,t)},la.useImperativeHandle=function(e,t,n){return Fa().useImperativeHandle(e,t,n)},la.useLayoutEffect=function(e,t){return Fa().useLayoutEffect(e,t)},la.useMemo=function(e,t){return Fa().useMemo(e,t)},la.useReducer=function(e,t,n){return Fa().useReducer(e,t,n)},la.useRef=function(e){return Fa().useRef(e)},la.useState=function(e){return Fa().useState(e)},la.version="17.0.2",ca.exports=la;var qa=ca.exports,Ya={exports:{}},Za={exports:{}},Xa={},Ka="function"==typeof Symbol&&Symbol.for,Ga=Ka?Symbol.for("react.element"):60103,Ja=Ka?Symbol.for("react.portal"):60106,Qa=Ka?Symbol.for("react.fragment"):60107,es=Ka?Symbol.for("react.strict_mode"):60108,ts=Ka?Symbol.for("react.profiler"):60114,ns=Ka?Symbol.for("react.provider"):60109,rs=Ka?Symbol.for("react.context"):60110,os=Ka?Symbol.for("react.async_mode"):60111,is=Ka?Symbol.for("react.concurrent_mode"):60111,as=Ka?Symbol.for("react.forward_ref"):60112,ss=Ka?Symbol.for("react.suspense"):60113,us=Ka?Symbol.for("react.suspense_list"):60120,cs=Ka?Symbol.for("react.memo"):60115,ls=Ka?Symbol.for("react.lazy"):60116,fs=Ka?Symbol.for("react.block"):60121,ps=Ka?Symbol.for("react.fundamental"):60117,ds=Ka?Symbol.for("react.responder"):60118,ms=Ka?Symbol.for("react.scope"):60119;function vs(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case Ga:switch(e=e.type){case os:case is:case Qa:case ts:case es:case ss:return e;default:switch(e=e&&e.$$typeof){case rs:case as:case ls:case cs:case ns:return e;default:return t}}case Ja:return t}}}function hs(e){return vs(e)===is}function ys(){}function gs(){}Xa.AsyncMode=os,Xa.ConcurrentMode=is,Xa.ContextConsumer=rs,Xa.ContextProvider=ns,Xa.Element=Ga,Xa.ForwardRef=as,Xa.Fragment=Qa,Xa.Lazy=ls,Xa.Memo=cs,Xa.Portal=Ja,Xa.Profiler=ts,Xa.StrictMode=es,Xa.Suspense=ss,Xa.isAsyncMode=function(e){return hs(e)||vs(e)===os},Xa.isConcurrentMode=hs,Xa.isContextConsumer=function(e){return vs(e)===rs},Xa.isContextProvider=function(e){return vs(e)===ns},Xa.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===Ga},Xa.isForwardRef=function(e){return vs(e)===as},Xa.isFragment=function(e){return vs(e)===Qa},Xa.isLazy=function(e){return vs(e)===ls},Xa.isMemo=function(e){return vs(e)===cs},Xa.isPortal=function(e){return vs(e)===Ja},Xa.isProfiler=function(e){return vs(e)===ts},Xa.isStrictMode=function(e){return vs(e)===es},Xa.isSuspense=function(e){return vs(e)===ss},Xa.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===Qa||e===is||e===ts||e===es||e===ss||e===us||"object"==typeof e&&null!==e&&(e.$$typeof===ls||e.$$typeof===cs||e.$$typeof===ns||e.$$typeof===rs||e.$$typeof===as||e.$$typeof===ps||e.$$typeof===ds||e.$$typeof===ms||e.$$typeof===fs)},Xa.typeOf=vs,Za.exports=Xa,Za.exports,Function.call.bind(Object.prototype.hasOwnProperty),gs.resetWarningCache=ys,Ya.exports=function(){function e(e,t,n,r,o,i){if("SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"!==i){var a=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 a.name="Invariant Violation",a}}function t(){return e}e.isRequired=e;var n={array: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:gs,resetWarningCache:ys};return n.PropTypes=n,n}();var bs=Ya.exports,xs=["size","color","strokeWidth"];function ks(e){var t=e.size,n=e.color;e.strokeWidth;var r=ua(e,xs);return qa.createElement("svg",sa({viewBox:"0 0 32 32",fill:"none",height:t,width:t},r),qa.createElement("g",{clipPath:"url(#clip0_2512_1485)"},qa.createElement("path",{d:"M10.6667 13.3333H6.66667C5.19333 13.3333 4 12.14 4 10.6667V6.66667C4 5.19333 5.19333 4 6.66667 4H10.6667C12.14 4 13.3333 5.19333 13.3333 6.66667V10.6667C13.3333 12.14 12.14 13.3333 10.6667 13.3333ZM25.3333 28.3333H21.3333C19.86 28.3333 18.6667 27.14 18.6667 25.6667V21.6667C18.6667 20.1933 19.86 19 21.3333 19H25.3333C26.8067 19 28 20.1933 28 21.6667V25.6667C28 27.14 26.8067 28.3333 25.3333 28.3333ZM10.6667 28H6.66667C5.19333 28 4 26.8067 4 25.3333V21.3333C4 19.86 5.19333 18.6667 6.66667 18.6667H10.6667C12.14 18.6667 13.3333 19.86 13.3333 21.3333V25.3333C13.3333 26.8067 12.14 28 10.6667 28Z",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),qa.createElement("path",{d:"M28.9823 7.59329C28.9823 8.0504 28.9823 8.50552 28.9823 8.96464C28.9823 9.42376 28.9823 9.87888 28.9958 10.336C29.0201 10.7166 28.9385 11.0967 28.7583 11.4423C28.5717 11.775 28.2517 12.0328 27.8619 12.1645C27.426 12.3215 27.0305 12.3825 26.6372 12.3095C26.244 12.2365 25.8529 12.0304 25.4215 11.6543C24.6581 10.9842 23.897 10.3103 23.1381 9.63282C22.3791 8.95531 21.6213 8.27946 20.8647 7.60529C20.746 7.48467 20.6126 7.37629 20.4669 7.2822C20.3878 7.23707 20.2976 7.20984 20.2041 7.20287C20.1106 7.1959 20.0166 7.2094 19.9302 7.24219C19.8331 7.26919 19.7448 7.31691 19.6729 7.38122C19.6011 7.44553 19.5479 7.5245 19.5179 7.61129C19.4691 7.78274 19.4491 7.95972 19.4585 8.13643C19.4585 8.88329 19.4611 9.63115 19.4663 10.38C19.4663 11.1282 19.4663 11.8804 19.4518 12.6246C19.4429 12.812 19.4792 12.9989 19.5582 13.1727C19.6341 13.3341 19.7714 13.4662 19.9459 13.5458C20.0345 13.5879 20.1328 13.611 20.2331 13.6134C20.3334 13.6159 20.433 13.5975 20.524 13.5598C20.7121 13.4826 20.8827 13.3751 21.0271 13.2428C21.3745 12.9413 21.7199 12.6379 22.0635 12.3325C22.4072 12.0271 22.7452 11.7184 23.0776 11.4063C23.142 11.3389 23.2207 11.2836 23.3091 11.2434C23.3976 11.2032 23.494 11.179 23.593 11.1722C23.7797 11.173 23.9614 11.2258 24.1129 11.3233C24.2563 11.4073 24.3224 11.5883 24.3179 11.7794C24.3188 11.9705 24.2411 12.1552 24.0994 12.2985C23.6871 12.6706 23.2781 13.0477 22.8669 13.4198C22.4557 13.7919 22.0344 14.16 21.6019 14.5131C21.2843 14.7823 20.8765 14.9509 20.4411 14.9932C20.0033 15.0234 19.5642 14.9524 19.1661 14.7872C18.8017 14.6591 18.4916 14.432 18.2798 14.138C18.0814 13.8321 17.9849 13.4819 18.0019 13.1287C18.012 12.2065 18.0109 11.2842 18.0098 10.361C18.0086 9.43777 18.0098 8.51653 18.0098 7.59329C18.0009 7.22647 18.0864 6.86273 18.2596 6.53001C18.4426 6.20218 18.7594 5.94945 19.1448 5.82382C19.5444 5.67706 19.9834 5.63811 20.4075 5.71179C20.8446 5.80335 21.2408 6.00999 21.5448 6.30495C22.3134 7.00513 23.0888 7.70065 23.8708 8.39149C24.6529 9.08234 25.4328 9.77452 26.2103 10.468C26.3163 10.5715 26.4382 10.6611 26.5723 10.7341C26.6396 10.7688 26.7146 10.7898 26.7921 10.7957C26.8696 10.8015 26.9475 10.7921 27.0204 10.7681C27.161 10.7306 27.2887 10.6617 27.3913 10.5681C27.4956 10.4563 27.5478 10.3131 27.537 10.168C27.5258 9.32474 27.5258 8.48552 27.5258 7.6463C27.5258 6.80708 27.5258 5.96686 27.5258 5.12764C27.5328 5.00086 27.5103 4.87415 27.4596 4.75554C27.4277 4.69537 27.3827 4.64143 27.3273 4.5968C27.272 4.55217 27.2073 4.51774 27.137 4.49548C27.0003 4.43777 26.8511 4.40771 26.7 4.40745C26.5444 4.41713 26.3962 4.47033 26.2765 4.55949C25.8532 4.85626 25.4547 5.1802 25.0843 5.52875C24.7089 5.87084 24.3425 6.22193 23.9504 6.55001C23.8045 6.69051 23.6107 6.78405 23.3991 6.81608C23.3061 6.82071 23.213 6.80627 23.1272 6.77384C23.0414 6.74142 22.965 6.69189 22.9039 6.62903C22.8317 6.56634 22.7751 6.49069 22.7381 6.40706C22.701 6.32344 22.6842 6.23375 22.6888 6.14391C22.7035 5.95025 22.799 5.76857 22.9565 5.63477C23.3532 5.28135 23.7491 4.92792 24.1442 4.5745C24.5394 4.22107 24.9371 3.87031 25.3375 3.52222C25.5884 3.31396 25.8905 3.16127 26.2197 3.07648C26.5488 2.99168 26.8956 2.97717 27.2322 3.0341C27.57 3.07659 27.892 3.18921 28.1722 3.36293C28.4524 3.53665 28.6831 3.76661 28.8456 4.03436C28.8955 4.12054 28.9331 4.21194 28.9577 4.30643C28.9816 4.40195 28.9929 4.49964 28.9913 4.5975C28.9868 5.09563 28.9868 5.59576 28.9913 6.09789C28.9958 6.60003 28.9928 7.09849 28.9823 7.59329Z",fill:n})),qa.createElement("defs",null,qa.createElement("clipPath",{id:"clip0_2512_1485"},qa.createElement("rect",{width:"32",height:"32",fill:n}))))}ks.defaultProps={color:"currentColor",size:24,strokeWidth:"1.5"},ks.propTypes={color:bs.string,size:bs.oneOfType([bs.string,bs.number]),strokeWidth:bs.oneOfType([bs.string,bs.number])};const ws=function(e){var n=e.icon,r=e.label,o=e.description;return t().createElement("div",{className:"neeto-ui-flex neeto-ui-flex-col sidebar-featured-tooltip"},t().createElement("div",{className:"neeto-ui-flex neeto-ui-items-center neeto-ui-justify-center sidebar-featured-tooltip__icon-wrap"},n),t().createElement(ia,{lineHeight:"tight",style:"h5",weight:"semibold",className:"neeto-ui-text-center neeto-ui-text-black sidebar-featured-tooltip__title"},r),o&&t().createElement(ia,{lineHeight:"normal",style:"body3",className:"neeto-ui-text-center neeto-ui-text-gray-600 sidebar-featured-tooltip__description"},o))};function Cs(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function Os(e){return e instanceof Cs(e).Element||e instanceof Element}function Es(e){return e instanceof Cs(e).HTMLElement||e instanceof HTMLElement}function Ss(e){return"undefined"!=typeof ShadowRoot&&(e instanceof Cs(e).ShadowRoot||e instanceof ShadowRoot)}var js=Math.max,Ps=Math.min,Ts=Math.round;function As(e,t){void 0===t&&(t=!1);var n=e.getBoundingClientRect(),r=1,o=1;if(Es(e)&&t){var i=e.offsetHeight,a=e.offsetWidth;a>0&&(r=Ts(n.width)/a||1),i>0&&(o=Ts(n.height)/i||1)}return{width:n.width/r,height:n.height/o,top:n.top/o,right:n.right/r,bottom:n.bottom/o,left:n.left/r,x:n.left/r,y:n.top/o}}function Ls(e){var t=Cs(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Ms(e){return e?(e.nodeName||"").toLowerCase():null}function _s(e){return((Os(e)?e.ownerDocument:e.document)||window.document).documentElement}function Ds(e){return As(_s(e)).left+Ls(e).scrollLeft}function Vs(e){return Cs(e).getComputedStyle(e)}function Ws(e){var t=Vs(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function Ns(e,t,n){void 0===n&&(n=!1);var r,o,i=Es(t),a=Es(t)&&function(e){var t=e.getBoundingClientRect(),n=Ts(t.width)/e.offsetWidth||1,r=Ts(t.height)/e.offsetHeight||1;return 1!==n||1!==r}(t),s=_s(t),u=As(e,a),c={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(i||!i&&!n)&&(("body"!==Ms(t)||Ws(s))&&(c=(r=t)!==Cs(r)&&Es(r)?{scrollLeft:(o=r).scrollLeft,scrollTop:o.scrollTop}:Ls(r)),Es(t)?((l=As(t,!0)).x+=t.clientLeft,l.y+=t.clientTop):s&&(l.x=Ds(s))),{x:u.left+c.scrollLeft-l.x,y:u.top+c.scrollTop-l.y,width:u.width,height:u.height}}function Rs(e){var t=As(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function zs(e){return"html"===Ms(e)?e:e.assignedSlot||e.parentNode||(Ss(e)?e.host:null)||_s(e)}function $s(e){return["html","body","#document"].indexOf(Ms(e))>=0?e.ownerDocument.body:Es(e)&&Ws(e)?e:$s(zs(e))}function Hs(e,t){var n;void 0===t&&(t=[]);var r=$s(e),o=r===(null==(n=e.ownerDocument)?void 0:n.body),i=Cs(r),a=o?[i].concat(i.visualViewport||[],Ws(r)?r:[]):r,s=t.concat(a);return o?s:s.concat(Hs(zs(a)))}function Is(e){return["table","td","th"].indexOf(Ms(e))>=0}function Bs(e){return Es(e)&&"fixed"!==Vs(e).position?e.offsetParent:null}function Fs(e){for(var t=Cs(e),n=Bs(e);n&&Is(n)&&"static"===Vs(n).position;)n=Bs(n);return n&&("html"===Ms(n)||"body"===Ms(n)&&"static"===Vs(n).position)?t:n||function(e){var t=-1!==navigator.userAgent.toLowerCase().indexOf("firefox");if(-1!==navigator.userAgent.indexOf("Trident")&&Es(e)&&"fixed"===Vs(e).position)return null;var n=zs(e);for(Ss(n)&&(n=n.host);Es(n)&&["html","body"].indexOf(Ms(n))<0;){var r=Vs(n);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||t&&"filter"===r.willChange||t&&r.filter&&"none"!==r.filter)return n;n=n.parentNode}return null}(e)||t}var Us="top",qs="bottom",Ys="right",Zs="left",Xs="auto",Ks=[Us,qs,Ys,Zs],Gs="start",Js="end",Qs="viewport",eu="popper",tu=Ks.reduce((function(e,t){return e.concat([t+"-"+Gs,t+"-"+Js])}),[]),nu=[].concat(Ks,[Xs]).reduce((function(e,t){return e.concat([t,t+"-"+Gs,t+"-"+Js])}),[]),ru=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function ou(e){var t=new Map,n=new Set,r=[];function o(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!n.has(e)){var r=t.get(e);r&&o(r)}})),r.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||o(e)})),r}var iu={placement:"bottom",modifiers:[],strategy:"absolute"};function au(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some((function(e){return!(e&&"function"==typeof e.getBoundingClientRect)}))}function su(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,r=void 0===n?[]:n,o=t.defaultOptions,i=void 0===o?iu:o;return function(e,t,n){void 0===n&&(n=i);var o,a,s={placement:"bottom",orderedModifiers:[],options:Object.assign({},iu,i),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},u=[],c=!1,l={state:s,setOptions:function(n){var o="function"==typeof n?n(s.options):n;f(),s.options=Object.assign({},i,s.options,o),s.scrollParents={reference:Os(e)?Hs(e):e.contextElement?Hs(e.contextElement):[],popper:Hs(t)};var a,c,p=function(e){var t=ou(e);return ru.reduce((function(e,n){return e.concat(t.filter((function(e){return e.phase===n})))}),[])}((a=[].concat(r,s.options.modifiers),c=a.reduce((function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e}),{}),Object.keys(c).map((function(e){return c[e]}))));return s.orderedModifiers=p.filter((function(e){return e.enabled})),s.orderedModifiers.forEach((function(e){var t=e.name,n=e.options,r=void 0===n?{}:n,o=e.effect;if("function"==typeof o){var i=o({state:s,name:t,instance:l,options:r});u.push(i||function(){})}})),l.update()},forceUpdate:function(){if(!c){var e=s.elements,t=e.reference,n=e.popper;if(au(t,n)){s.rects={reference:Ns(t,Fs(n),"fixed"===s.options.strategy),popper:Rs(n)},s.reset=!1,s.placement=s.options.placement,s.orderedModifiers.forEach((function(e){return s.modifiersData[e.name]=Object.assign({},e.data)}));for(var r=0;r<s.orderedModifiers.length;r++)if(!0!==s.reset){var o=s.orderedModifiers[r],i=o.fn,a=o.options,u=void 0===a?{}:a,f=o.name;"function"==typeof i&&(s=i({state:s,options:u,name:f,instance:l})||s)}else s.reset=!1,r=-1}}},update:(o=function(){return new Promise((function(e){l.forceUpdate(),e(s)}))},function(){return a||(a=new Promise((function(e){Promise.resolve().then((function(){a=void 0,e(o())}))}))),a}),destroy:function(){f(),c=!0}};if(!au(e,t))return l;function f(){u.forEach((function(e){return e()})),u=[]}return l.setOptions(n).then((function(e){!c&&n.onFirstUpdate&&n.onFirstUpdate(e)})),l}}var uu={passive:!0};function cu(e){return e.split("-")[0]}function lu(e){return e.split("-")[1]}function fu(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function pu(e){var t,n=e.reference,r=e.element,o=e.placement,i=o?cu(o):null,a=o?lu(o):null,s=n.x+n.width/2-r.width/2,u=n.y+n.height/2-r.height/2;switch(i){case Us:t={x:s,y:n.y-r.height};break;case qs:t={x:s,y:n.y+n.height};break;case Ys:t={x:n.x+n.width,y:u};break;case Zs:t={x:n.x-r.width,y:u};break;default:t={x:n.x,y:n.y}}var c=i?fu(i):null;if(null!=c){var l="y"===c?"height":"width";switch(a){case Gs:t[c]=t[c]-(n[l]/2-r[l]/2);break;case Js:t[c]=t[c]+(n[l]/2-r[l]/2)}}return t}var du={top:"auto",right:"auto",bottom:"auto",left:"auto"};function mu(e){var t,n=e.popper,r=e.popperRect,o=e.placement,i=e.variation,a=e.offsets,s=e.position,u=e.gpuAcceleration,c=e.adaptive,l=e.roundOffsets,f=e.isFixed,p=a.x,d=void 0===p?0:p,m=a.y,v=void 0===m?0:m,h="function"==typeof l?l({x:d,y:v}):{x:d,y:v};d=h.x,v=h.y;var y=a.hasOwnProperty("x"),g=a.hasOwnProperty("y"),b=Zs,x=Us,k=window;if(c){var w=Fs(n),C="clientHeight",O="clientWidth";w===Cs(n)&&"static"!==Vs(w=_s(n)).position&&"absolute"===s&&(C="scrollHeight",O="scrollWidth"),w=w,(o===Us||(o===Zs||o===Ys)&&i===Js)&&(x=qs,v-=(f&&w===k&&k.visualViewport?k.visualViewport.height:w[C])-r.height,v*=u?1:-1),o!==Zs&&(o!==Us&&o!==qs||i!==Js)||(b=Ys,d-=(f&&w===k&&k.visualViewport?k.visualViewport.width:w[O])-r.width,d*=u?1:-1)}var E,S=Object.assign({position:s},c&&du),j=!0===l?function(e){var t=e.x,n=e.y,r=window.devicePixelRatio||1;return{x:Ts(t*r)/r||0,y:Ts(n*r)/r||0}}({x:d,y:v}):{x:d,y:v};return d=j.x,v=j.y,u?Object.assign({},S,((E={})[x]=g?"0":"",E[b]=y?"0":"",E.transform=(k.devicePixelRatio||1)<=1?"translate("+d+"px, "+v+"px)":"translate3d("+d+"px, "+v+"px, 0)",E)):Object.assign({},S,((t={})[x]=g?v+"px":"",t[b]=y?d+"px":"",t.transform="",t))}const vu={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var n=t.styles[e]||{},r=t.attributes[e]||{},o=t.elements[e];Es(o)&&Ms(o)&&(Object.assign(o.style,n),Object.keys(r).forEach((function(e){var t=r[e];!1===t?o.removeAttribute(e):o.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach((function(e){var r=t.elements[e],o=t.attributes[e]||{},i=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});Es(r)&&Ms(r)&&(Object.assign(r.style,i),Object.keys(o).forEach((function(e){r.removeAttribute(e)})))}))}},requires:["computeStyles"]},hu={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.offset,i=void 0===o?[0,0]:o,a=nu.reduce((function(e,n){return e[n]=function(e,t,n){var r=cu(e),o=[Zs,Us].indexOf(r)>=0?-1:1,i="function"==typeof n?n(Object.assign({},t,{placement:e})):n,a=i[0],s=i[1];return a=a||0,s=(s||0)*o,[Zs,Ys].indexOf(r)>=0?{x:s,y:a}:{x:a,y:s}}(n,t.rects,i),e}),{}),s=a[t.placement],u=s.x,c=s.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=u,t.modifiersData.popperOffsets.y+=c),t.modifiersData[r]=a}};var yu={left:"right",right:"left",bottom:"top",top:"bottom"};function gu(e){return e.replace(/left|right|bottom|top/g,(function(e){return yu[e]}))}var bu={start:"end",end:"start"};function xu(e){return e.replace(/start|end/g,(function(e){return bu[e]}))}function ku(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&Ss(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function wu(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Cu(e,t){return t===Qs?wu(function(e){var t=Cs(e),n=_s(e),r=t.visualViewport,o=n.clientWidth,i=n.clientHeight,a=0,s=0;return r&&(o=r.width,i=r.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(a=r.offsetLeft,s=r.offsetTop)),{width:o,height:i,x:a+Ds(e),y:s}}(e)):Os(t)?function(e){var t=As(e);return t.top=t.top+e.clientTop,t.left=t.left+e.clientLeft,t.bottom=t.top+e.clientHeight,t.right=t.left+e.clientWidth,t.width=e.clientWidth,t.height=e.clientHeight,t.x=t.left,t.y=t.top,t}(t):wu(function(e){var t,n=_s(e),r=Ls(e),o=null==(t=e.ownerDocument)?void 0:t.body,i=js(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=js(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),s=-r.scrollLeft+Ds(e),u=-r.scrollTop;return"rtl"===Vs(o||n).direction&&(s+=js(n.clientWidth,o?o.clientWidth:0)-i),{width:i,height:a,x:s,y:u}}(_s(e)))}function Ou(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function Eu(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}function Su(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=void 0===r?e.placement:r,i=n.boundary,a=void 0===i?"clippingParents":i,s=n.rootBoundary,u=void 0===s?Qs:s,c=n.elementContext,l=void 0===c?eu:c,f=n.altBoundary,p=void 0!==f&&f,d=n.padding,m=void 0===d?0:d,v=Ou("number"!=typeof m?m:Eu(m,Ks)),h=l===eu?"reference":eu,y=e.rects.popper,g=e.elements[p?h:l],b=function(e,t,n){var r="clippingParents"===t?function(e){var t=Hs(zs(e)),n=["absolute","fixed"].indexOf(Vs(e).position)>=0&&Es(e)?Fs(e):e;return Os(n)?t.filter((function(e){return Os(e)&&ku(e,n)&&"body"!==Ms(e)})):[]}(e):[].concat(t),o=[].concat(r,[n]),i=o[0],a=o.reduce((function(t,n){var r=Cu(e,n);return t.top=js(r.top,t.top),t.right=Ps(r.right,t.right),t.bottom=Ps(r.bottom,t.bottom),t.left=js(r.left,t.left),t}),Cu(e,i));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}(Os(g)?g:g.contextElement||_s(e.elements.popper),a,u),x=As(e.elements.reference),k=pu({reference:x,element:y,strategy:"absolute",placement:o}),w=wu(Object.assign({},y,k)),C=l===eu?w:x,O={top:b.top-C.top+v.top,bottom:C.bottom-b.bottom+v.bottom,left:b.left-C.left+v.left,right:C.right-b.right+v.right},E=e.modifiersData.offset;if(l===eu&&E){var S=E[o];Object.keys(O).forEach((function(e){var t=[Ys,qs].indexOf(e)>=0?1:-1,n=[Us,qs].indexOf(e)>=0?"y":"x";O[e]+=S[n]*t}))}return O}const ju={name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var o=n.mainAxis,i=void 0===o||o,a=n.altAxis,s=void 0===a||a,u=n.fallbackPlacements,c=n.padding,l=n.boundary,f=n.rootBoundary,p=n.altBoundary,d=n.flipVariations,m=void 0===d||d,v=n.allowedAutoPlacements,h=t.options.placement,y=cu(h),g=u||(y!==h&&m?function(e){if(cu(e)===Xs)return[];var t=gu(e);return[xu(e),t,xu(t)]}(h):[gu(h)]),b=[h].concat(g).reduce((function(e,n){return e.concat(cu(n)===Xs?function(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=n.boundary,i=n.rootBoundary,a=n.padding,s=n.flipVariations,u=n.allowedAutoPlacements,c=void 0===u?nu:u,l=lu(r),f=l?s?tu:tu.filter((function(e){return lu(e)===l})):Ks,p=f.filter((function(e){return c.indexOf(e)>=0}));0===p.length&&(p=f);var d=p.reduce((function(t,n){return t[n]=Su(e,{placement:n,boundary:o,rootBoundary:i,padding:a})[cu(n)],t}),{});return Object.keys(d).sort((function(e,t){return d[e]-d[t]}))}(t,{placement:n,boundary:l,rootBoundary:f,padding:c,flipVariations:m,allowedAutoPlacements:v}):n)}),[]),x=t.rects.reference,k=t.rects.popper,w=new Map,C=!0,O=b[0],E=0;E<b.length;E++){var S=b[E],j=cu(S),P=lu(S)===Gs,T=[Us,qs].indexOf(j)>=0,A=T?"width":"height",L=Su(t,{placement:S,boundary:l,rootBoundary:f,altBoundary:p,padding:c}),M=T?P?Ys:Zs:P?qs:Us;x[A]>k[A]&&(M=gu(M));var _=gu(M),D=[];if(i&&D.push(L[j]<=0),s&&D.push(L[M]<=0,L[_]<=0),D.every((function(e){return e}))){O=S,C=!1;break}w.set(S,D)}if(C)for(var V=function(e){var t=b.find((function(t){var n=w.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return O=t,"break"},W=m?3:1;W>0&&"break"!==V(W);W--);t.placement!==O&&(t.modifiersData[r]._skip=!0,t.placement=O,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function Pu(e,t,n){return js(e,Ps(t,n))}const Tu={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.mainAxis,i=void 0===o||o,a=n.altAxis,s=void 0!==a&&a,u=n.boundary,c=n.rootBoundary,l=n.altBoundary,f=n.padding,p=n.tether,d=void 0===p||p,m=n.tetherOffset,v=void 0===m?0:m,h=Su(t,{boundary:u,rootBoundary:c,padding:f,altBoundary:l}),y=cu(t.placement),g=lu(t.placement),b=!g,x=fu(y),k="x"===x?"y":"x",w=t.modifiersData.popperOffsets,C=t.rects.reference,O=t.rects.popper,E="function"==typeof v?v(Object.assign({},t.rects,{placement:t.placement})):v,S="number"==typeof E?{mainAxis:E,altAxis:E}:Object.assign({mainAxis:0,altAxis:0},E),j=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,P={x:0,y:0};if(w){if(i){var T,A="y"===x?Us:Zs,L="y"===x?qs:Ys,M="y"===x?"height":"width",_=w[x],D=_+h[A],V=_-h[L],W=d?-O[M]/2:0,N=g===Gs?C[M]:O[M],R=g===Gs?-O[M]:-C[M],z=t.elements.arrow,$=d&&z?Rs(z):{width:0,height:0},H=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},I=H[A],B=H[L],F=Pu(0,C[M],$[M]),U=b?C[M]/2-W-F-I-S.mainAxis:N-F-I-S.mainAxis,q=b?-C[M]/2+W+F+B+S.mainAxis:R+F+B+S.mainAxis,Y=t.elements.arrow&&Fs(t.elements.arrow),Z=Y?"y"===x?Y.clientTop||0:Y.clientLeft||0:0,X=null!=(T=null==j?void 0:j[x])?T:0,K=_+q-X,G=Pu(d?Ps(D,_+U-X-Z):D,_,d?js(V,K):V);w[x]=G,P[x]=G-_}if(s){var J,Q="x"===x?Us:Zs,ee="x"===x?qs:Ys,te=w[k],ne="y"===k?"height":"width",re=te+h[Q],oe=te-h[ee],ie=-1!==[Us,Zs].indexOf(y),ae=null!=(J=null==j?void 0:j[k])?J:0,se=ie?re:te-C[ne]-O[ne]-ae+S.altAxis,ue=ie?te+C[ne]+O[ne]-ae-S.altAxis:oe,ce=d&&ie?function(e,t,n){var r=Pu(e,t,n);return r>n?n:r}(se,te,ue):Pu(d?se:re,te,d?ue:oe);w[k]=ce,P[k]=ce-te}t.modifiersData[r]=P}},requiresIfExists:["offset"]};function Au(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function Lu(e){return[Us,Ys,qs,Zs].some((function(t){return e[t]>=0}))}var Mu=su({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,r=e.options,o=r.scroll,i=void 0===o||o,a=r.resize,s=void 0===a||a,u=Cs(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&c.forEach((function(e){e.addEventListener("scroll",n.update,uu)})),s&&u.addEventListener("resize",n.update,uu),function(){i&&c.forEach((function(e){e.removeEventListener("scroll",n.update,uu)})),s&&u.removeEventListener("resize",n.update,uu)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=pu({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,r=n.gpuAcceleration,o=void 0===r||r,i=n.adaptive,a=void 0===i||i,s=n.roundOffsets,u=void 0===s||s,c={placement:cu(t.placement),variation:lu(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,mu(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:u})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,mu(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:u})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},vu,hu,ju,Tu,{name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,r=e.name,o=e.options,i=n.elements.arrow,a=n.modifiersData.popperOffsets,s=cu(n.placement),u=fu(s),c=[Zs,Ys].indexOf(s)>=0?"height":"width";if(i&&a){var l=function(e,t){return Ou("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:Eu(e,Ks))}(o.padding,n),f=Rs(i),p="y"===u?Us:Zs,d="y"===u?qs:Ys,m=n.rects.reference[c]+n.rects.reference[u]-a[u]-n.rects.popper[c],v=a[u]-n.rects.reference[u],h=Fs(i),y=h?"y"===u?h.clientHeight||0:h.clientWidth||0:0,g=m/2-v/2,b=l[p],x=y-f[c]-l[d],k=y/2-f[c]/2+g,w=Pu(b,k,x),C=u;n.modifiersData[r]=((t={})[C]=w,t.centerOffset=w-k,t)}},effect:function(e){var t=e.state,n=e.options.element,r=void 0===n?"[data-popper-arrow]":n;null!=r&&("string"!=typeof r||(r=t.elements.popper.querySelector(r)))&&ku(t.elements.popper,r)&&(t.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,r=t.rects.reference,o=t.rects.popper,i=t.modifiersData.preventOverflow,a=Su(t,{elementContext:"reference"}),s=Su(t,{altBoundary:!0}),u=Au(a,r),c=Au(s,o,i),l=Lu(u),f=Lu(c);t.modifiersData[n]={referenceClippingOffsets:u,popperEscapeOffsets:c,isReferenceHidden:l,hasPopperEscaped:f},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":l,"data-popper-escaped":f})}}]}),_u="tippy-content",Du="tippy-arrow",Vu="tippy-svg-arrow",Wu={passive:!0,capture:!0},Nu=function(){return document.body};function Ru(e,t,n){if(Array.isArray(e)){var r=e[t];return null==r?Array.isArray(n)?n[t]:n:r}return e}function zu(e,t){var n={}.toString.call(e);return 0===n.indexOf("[object")&&n.indexOf(t+"]")>-1}function $u(e,t){return"function"==typeof e?e.apply(void 0,t):e}function Hu(e,t){return 0===t?e:function(r){clearTimeout(n),n=setTimeout((function(){e(r)}),t)};var n}function Iu(e){return[].concat(e)}function Bu(e,t){-1===e.indexOf(t)&&e.push(t)}function Fu(e){return[].slice.call(e)}function Uu(e){return Object.keys(e).reduce((function(t,n){return void 0!==e[n]&&(t[n]=e[n]),t}),{})}function qu(){return document.createElement("div")}function Yu(e){return["Element","Fragment"].some((function(t){return zu(e,t)}))}function Zu(e){return zu(e,"MouseEvent")}function Xu(e,t){e.forEach((function(e){e&&(e.style.transitionDuration=t+"ms")}))}function Ku(e,t){e.forEach((function(e){e&&e.setAttribute("data-state",t)}))}function Gu(e){var t,n=Iu(e)[0];return null!=n&&null!=(t=n.ownerDocument)&&t.body?n.ownerDocument:document}function Ju(e,t,n){var r=t+"EventListener";["transitionend","webkitTransitionEnd"].forEach((function(t){e[r](t,n)}))}function Qu(e,t){for(var n=t;n;){var r;if(e.contains(n))return!0;n=null==n.getRootNode||null==(r=n.getRootNode())?void 0:r.host}return!1}var ec={isTouch:!1},tc=0;function nc(){ec.isTouch||(ec.isTouch=!0,window.performance&&document.addEventListener("mousemove",rc))}function rc(){var e=performance.now();e-tc<20&&(ec.isTouch=!1,document.removeEventListener("mousemove",rc)),tc=e}function oc(){var e,t=document.activeElement;if((e=t)&&e._tippy&&e._tippy.reference===e){var n=t._tippy;t.blur&&!n.state.isVisible&&t.blur()}}var ic=!("undefined"==typeof window||"undefined"==typeof document||!window.msCrypto),ac=Object.assign({appendTo:Nu,aria:{content:"auto",expanded:"auto"},delay:0,duration:[300,250],getReferenceClientRect:null,hideOnClick:!0,ignoreAttributes:!1,interactive:!1,interactiveBorder:2,interactiveDebounce:0,moveTransition:"",offset:[0,10],onAfterUpdate:function(){},onBeforeUpdate:function(){},onCreate:function(){},onDestroy:function(){},onHidden:function(){},onHide:function(){},onMount:function(){},onShow:function(){},onShown:function(){},onTrigger:function(){},onUntrigger:function(){},onClickOutside:function(){},placement:"top",plugins:[],popperOptions:{},render:null,showOnCreate:!1,touch:!0,trigger:"mouseenter focus",triggerTarget:null},{animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},{allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999}),sc=Object.keys(ac);function uc(e){var t=(e.plugins||[]).reduce((function(t,n){var r,o=n.name,i=n.defaultValue;return o&&(t[o]=void 0!==e[o]?e[o]:null!=(r=ac[o])?r:i),t}),{});return Object.assign({},e,t)}function cc(e,t){var n=Object.assign({},t,{content:$u(t.content,[e])},t.ignoreAttributes?{}:function(e,t){return(t?Object.keys(uc(Object.assign({},ac,{plugins:t}))):sc).reduce((function(t,n){var r=(e.getAttribute("data-tippy-"+n)||"").trim();if(!r)return t;if("content"===n)t[n]=r;else try{t[n]=JSON.parse(r)}catch(e){t[n]=r}return t}),{})}(e,t.plugins));return n.aria=Object.assign({},ac.aria,n.aria),n.aria={expanded:"auto"===n.aria.expanded?t.interactive:n.aria.expanded,content:"auto"===n.aria.content?t.interactive?null:"describedby":n.aria.content},n}function lc(e,t){e.innerHTML=t}function fc(e){var t=qu();return!0===e?t.className=Du:(t.className=Vu,Yu(e)?t.appendChild(e):lc(t,e)),t}function pc(e,t){Yu(t.content)?(lc(e,""),e.appendChild(t.content)):"function"!=typeof t.content&&(t.allowHTML?lc(e,t.content):e.textContent=t.content)}function dc(e){var t=e.firstElementChild,n=Fu(t.children);return{box:t,content:n.find((function(e){return e.classList.contains(_u)})),arrow:n.find((function(e){return e.classList.contains(Du)||e.classList.contains(Vu)})),backdrop:n.find((function(e){return e.classList.contains("tippy-backdrop")}))}}function mc(e){var t=qu(),n=qu();n.className="tippy-box",n.setAttribute("data-state","hidden"),n.setAttribute("tabindex","-1");var r=qu();function o(n,r){var o=dc(t),i=o.box,a=o.content,s=o.arrow;r.theme?i.setAttribute("data-theme",r.theme):i.removeAttribute("data-theme"),"string"==typeof r.animation?i.setAttribute("data-animation",r.animation):i.removeAttribute("data-animation"),r.inertia?i.setAttribute("data-inertia",""):i.removeAttribute("data-inertia"),i.style.maxWidth="number"==typeof r.maxWidth?r.maxWidth+"px":r.maxWidth,r.role?i.setAttribute("role",r.role):i.removeAttribute("role"),n.content===r.content&&n.allowHTML===r.allowHTML||pc(a,e.props),r.arrow?s?n.arrow!==r.arrow&&(i.removeChild(s),i.appendChild(fc(r.arrow))):i.appendChild(fc(r.arrow)):s&&i.removeChild(s)}return r.className=_u,r.setAttribute("data-state","hidden"),pc(r,e.props),t.appendChild(n),n.appendChild(r),o(e.props,e.props),{popper:t,onUpdate:o}}mc.$$tippy=!0;var vc=1,hc=[],yc=[];function gc(e,t){var n,r,o,i,a,s,u,c,l=cc(e,Object.assign({},ac,uc(Uu(t)))),f=!1,p=!1,d=!1,m=!1,v=[],h=Hu(Y,l.interactiveDebounce),y=vc++,g=(c=l.plugins).filter((function(e,t){return c.indexOf(e)===t})),b={id:y,reference:e,popper:qu(),popperInstance:null,props:l,state:{isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},plugins:g,clearDelayTimeouts:function(){clearTimeout(n),clearTimeout(r),cancelAnimationFrame(o)},setProps:function(t){if(!b.state.isDestroyed){_("onBeforeUpdate",[b,t]),U();var n=b.props,r=cc(e,Object.assign({},n,Uu(t),{ignoreAttributes:!0}));b.props=r,F(),n.interactiveDebounce!==r.interactiveDebounce&&(W(),h=Hu(Y,r.interactiveDebounce)),n.triggerTarget&&!r.triggerTarget?Iu(n.triggerTarget).forEach((function(e){e.removeAttribute("aria-expanded")})):r.triggerTarget&&e.removeAttribute("aria-expanded"),V(),M(),w&&w(n,r),b.popperInstance&&(G(),Q().forEach((function(e){requestAnimationFrame(e._tippy.popperInstance.forceUpdate)}))),_("onAfterUpdate",[b,t])}},setContent:function(e){b.setProps({content:e})},show:function(){var e=b.state.isVisible,t=b.state.isDestroyed,n=!b.state.isEnabled,r=ec.isTouch&&!b.props.touch,o=Ru(b.props.duration,0,ac.duration);if(!(e||t||n||r||P().hasAttribute("disabled")||(_("onShow",[b],!1),!1===b.props.onShow(b)))){if(b.state.isVisible=!0,j()&&(k.style.visibility="visible"),M(),$(),b.state.isMounted||(k.style.transition="none"),j()){var i=A();Xu([i.box,i.content],0)}var a,u,c;s=function(){var e;if(b.state.isVisible&&!m){if(m=!0,k.offsetHeight,k.style.transition=b.props.moveTransition,j()&&b.props.animation){var t=A(),n=t.box,r=t.content;Xu([n,r],o),Ku([n,r],"visible")}D(),V(),Bu(yc,b),null==(e=b.popperInstance)||e.forceUpdate(),_("onMount",[b]),b.props.animation&&j()&&function(e,t){I(e,(function(){b.state.isShown=!0,_("onShown",[b])}))}(o)}},u=b.props.appendTo,c=P(),(a=b.props.interactive&&u===Nu||"parent"===u?c.parentNode:$u(u,[c])).contains(k)||a.appendChild(k),b.state.isMounted=!0,G()}},hide:function(){var e=!b.state.isVisible,t=b.state.isDestroyed,n=!b.state.isEnabled,r=Ru(b.props.duration,1,ac.duration);if(!(e||t||n)&&(_("onHide",[b],!1),!1!==b.props.onHide(b))){if(b.state.isVisible=!1,b.state.isShown=!1,m=!1,f=!1,j()&&(k.style.visibility="hidden"),W(),H(),M(!0),j()){var o=A(),i=o.box,a=o.content;b.props.animation&&(Xu([i,a],r),Ku([i,a],"hidden"))}D(),V(),b.props.animation?j()&&function(e,t){I(e,(function(){!b.state.isVisible&&k.parentNode&&k.parentNode.contains(k)&&t()}))}(r,b.unmount):b.unmount()}},hideWithInteractivity:function(e){T().addEventListener("mousemove",h),Bu(hc,h),h(e)},enable:function(){b.state.isEnabled=!0},disable:function(){b.hide(),b.state.isEnabled=!1},unmount:function(){b.state.isVisible&&b.hide(),b.state.isMounted&&(J(),Q().forEach((function(e){e._tippy.unmount()})),k.parentNode&&k.parentNode.removeChild(k),yc=yc.filter((function(e){return e!==b})),b.state.isMounted=!1,_("onHidden",[b]))},destroy:function(){b.state.isDestroyed||(b.clearDelayTimeouts(),b.unmount(),U(),delete e._tippy,b.state.isDestroyed=!0,_("onDestroy",[b]))}};if(!l.render)return b;var x=l.render(b),k=x.popper,w=x.onUpdate;k.setAttribute("data-tippy-root",""),k.id="tippy-"+b.id,b.popper=k,e._tippy=b,k._tippy=b;var C=g.map((function(e){return e.fn(b)})),O=e.hasAttribute("aria-expanded");return F(),V(),M(),_("onCreate",[b]),l.showOnCreate&&ee(),k.addEventListener("mouseenter",(function(){b.props.interactive&&b.state.isVisible&&b.clearDelayTimeouts()})),k.addEventListener("mouseleave",(function(){b.props.interactive&&b.props.trigger.indexOf("mouseenter")>=0&&T().addEventListener("mousemove",h)})),b;function E(){var e=b.props.touch;return Array.isArray(e)?e:[e,0]}function S(){return"hold"===E()[0]}function j(){var e;return!(null==(e=b.props.render)||!e.$$tippy)}function P(){return u||e}function T(){var e=P().parentNode;return e?Gu(e):document}function A(){return dc(k)}function L(e){return b.state.isMounted&&!b.state.isVisible||ec.isTouch||i&&"focus"===i.type?0:Ru(b.props.delay,e?0:1,ac.delay)}function M(e){void 0===e&&(e=!1),k.style.pointerEvents=b.props.interactive&&!e?"":"none",k.style.zIndex=""+b.props.zIndex}function _(e,t,n){var r;void 0===n&&(n=!0),C.forEach((function(n){n[e]&&n[e].apply(n,t)})),n&&(r=b.props)[e].apply(r,t)}function D(){var t=b.props.aria;if(t.content){var n="aria-"+t.content,r=k.id;Iu(b.props.triggerTarget||e).forEach((function(e){var t=e.getAttribute(n);if(b.state.isVisible)e.setAttribute(n,t?t+" "+r:r);else{var o=t&&t.replace(r,"").trim();o?e.setAttribute(n,o):e.removeAttribute(n)}}))}}function V(){!O&&b.props.aria.expanded&&Iu(b.props.triggerTarget||e).forEach((function(e){b.props.interactive?e.setAttribute("aria-expanded",b.state.isVisible&&e===P()?"true":"false"):e.removeAttribute("aria-expanded")}))}function W(){T().removeEventListener("mousemove",h),hc=hc.filter((function(e){return e!==h}))}function N(t){if(!ec.isTouch||!d&&"mousedown"!==t.type){var n=t.composedPath&&t.composedPath()[0]||t.target;if(!b.props.interactive||!Qu(k,n)){if(Iu(b.props.triggerTarget||e).some((function(e){return Qu(e,n)}))){if(ec.isTouch)return;if(b.state.isVisible&&b.props.trigger.indexOf("click")>=0)return}else _("onClickOutside",[b,t]);!0===b.props.hideOnClick&&(b.clearDelayTimeouts(),b.hide(),p=!0,setTimeout((function(){p=!1})),b.state.isMounted||H())}}}function R(){d=!0}function z(){d=!1}function $(){var e=T();e.addEventListener("mousedown",N,!0),e.addEventListener("touchend",N,Wu),e.addEventListener("touchstart",z,Wu),e.addEventListener("touchmove",R,Wu)}function H(){var e=T();e.removeEventListener("mousedown",N,!0),e.removeEventListener("touchend",N,Wu),e.removeEventListener("touchstart",z,Wu),e.removeEventListener("touchmove",R,Wu)}function I(e,t){var n=A().box;function r(e){e.target===n&&(Ju(n,"remove",r),t())}if(0===e)return t();Ju(n,"remove",a),Ju(n,"add",r),a=r}function B(t,n,r){void 0===r&&(r=!1),Iu(b.props.triggerTarget||e).forEach((function(e){e.addEventListener(t,n,r),v.push({node:e,eventType:t,handler:n,options:r})}))}function F(){var e;S()&&(B("touchstart",q,{passive:!0}),B("touchend",Z,{passive:!0})),(e=b.props.trigger,e.split(/\s+/).filter(Boolean)).forEach((function(e){if("manual"!==e)switch(B(e,q),e){case"mouseenter":B("mouseleave",Z);break;case"focus":B(ic?"focusout":"blur",X);break;case"focusin":B("focusout",X)}}))}function U(){v.forEach((function(e){var t=e.node,n=e.eventType,r=e.handler,o=e.options;t.removeEventListener(n,r,o)})),v=[]}function q(e){var t,n=!1;if(b.state.isEnabled&&!K(e)&&!p){var r="focus"===(null==(t=i)?void 0:t.type);i=e,u=e.currentTarget,V(),!b.state.isVisible&&Zu(e)&&hc.forEach((function(t){return t(e)})),"click"===e.type&&(b.props.trigger.indexOf("mouseenter")<0||f)&&!1!==b.props.hideOnClick&&b.state.isVisible?n=!0:ee(e),"click"===e.type&&(f=!n),n&&!r&&te(e)}}function Y(e){var t=e.target,n=P().contains(t)||k.contains(t);if("mousemove"!==e.type||!n){var r=Q().concat(k).map((function(e){var t,n=null==(t=e._tippy.popperInstance)?void 0:t.state;return n?{popperRect:e.getBoundingClientRect(),popperState:n,props:l}:null})).filter(Boolean);(function(e,t){var n=t.clientX,r=t.clientY;return e.every((function(e){var t=e.popperRect,o=e.popperState,i=e.props.interactiveBorder,a=o.placement.split("-")[0],s=o.modifiersData.offset;if(!s)return!0;var u="bottom"===a?s.top.y:0,c="top"===a?s.bottom.y:0,l="right"===a?s.left.x:0,f="left"===a?s.right.x:0,p=t.top-r+u>i,d=r-t.bottom-c>i,m=t.left-n+l>i,v=n-t.right-f>i;return p||d||m||v}))})(r,e)&&(W(),te(e))}}function Z(e){K(e)||b.props.trigger.indexOf("click")>=0&&f||(b.props.interactive?b.hideWithInteractivity(e):te(e))}function X(e){b.props.trigger.indexOf("focusin")<0&&e.target!==P()||b.props.interactive&&e.relatedTarget&&k.contains(e.relatedTarget)||te(e)}function K(e){return!!ec.isTouch&&S()!==e.type.indexOf("touch")>=0}function G(){J();var t=b.props,n=t.popperOptions,r=t.placement,o=t.offset,i=t.getReferenceClientRect,a=t.moveTransition,u=j()?dc(k).arrow:null,c=i?{getBoundingClientRect:i,contextElement:i.contextElement||P()}:e,l=[{name:"offset",options:{offset:o}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!a}},{name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(e){var t=e.state;if(j()){var n=A().box;["placement","reference-hidden","escaped"].forEach((function(e){"placement"===e?n.setAttribute("data-placement",t.placement):t.attributes.popper["data-popper-"+e]?n.setAttribute("data-"+e,""):n.removeAttribute("data-"+e)})),t.attributes.popper={}}}}];j()&&u&&l.push({name:"arrow",options:{element:u,padding:3}}),l.push.apply(l,(null==n?void 0:n.modifiers)||[]),b.popperInstance=Mu(c,k,Object.assign({},n,{placement:r,onFirstUpdate:s,modifiers:l}))}function J(){b.popperInstance&&(b.popperInstance.destroy(),b.popperInstance=null)}function Q(){return Fu(k.querySelectorAll("[data-tippy-root]"))}function ee(e){b.clearDelayTimeouts(),e&&_("onTrigger",[b,e]),$();var t=L(!0),r=E(),o=r[0],i=r[1];ec.isTouch&&"hold"===o&&i&&(t=i),t?n=setTimeout((function(){b.show()}),t):b.show()}function te(e){if(b.clearDelayTimeouts(),_("onUntrigger",[b,e]),b.state.isVisible){if(!(b.props.trigger.indexOf("mouseenter")>=0&&b.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(e.type)>=0&&f)){var t=L(!1);t?r=setTimeout((function(){b.state.isVisible&&b.hide()}),t):o=requestAnimationFrame((function(){b.hide()}))}}else H()}}function bc(e,t){void 0===t&&(t={});var n=ac.plugins.concat(t.plugins||[]);document.addEventListener("touchstart",nc,Wu),window.addEventListener("blur",oc);var r,o=Object.assign({},t,{plugins:n}),i=(r=e,Yu(r)?[r]:function(e){return zu(e,"NodeList")}(r)?Fu(r):Array.isArray(r)?r:Fu(document.querySelectorAll(r))).reduce((function(e,t){var n=t&&gc(t,o);return n&&e.push(n),e}),[]);return Yu(e)?i[0]:i}bc.defaultProps=ac,bc.setDefaultProps=function(e){Object.keys(e).forEach((function(t){ac[t]=e[t]}))},bc.currentInput=ec,Object.assign({},vu,{effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow)}});var xc={clientX:0,clientY:0},kc=[];function wc(e){var t=e.clientX,n=e.clientY;xc={clientX:t,clientY:n}}var Cc={name:"followCursor",defaultValue:!1,fn:function(e){var t=e.reference,n=Gu(e.props.triggerTarget||t),r=!1,o=!1,i=!0,a=e.props;function s(){return"initial"===e.props.followCursor&&e.state.isVisible}function u(){n.addEventListener("mousemove",f)}function c(){n.removeEventListener("mousemove",f)}function l(){r=!0,e.setProps({getReferenceClientRect:null}),r=!1}function f(n){var r=!n.target||t.contains(n.target),o=e.props.followCursor,i=n.clientX,a=n.clientY,s=t.getBoundingClientRect(),u=i-s.left,c=a-s.top;!r&&e.props.interactive||e.setProps({getReferenceClientRect:function(){var e=t.getBoundingClientRect(),n=i,r=a;"initial"===o&&(n=e.left+u,r=e.top+c);var s="horizontal"===o?e.top:r,l="vertical"===o?e.right:n,f="horizontal"===o?e.bottom:r,p="vertical"===o?e.left:n;return{width:l-p,height:f-s,top:s,right:l,bottom:f,left:p}}})}function p(){e.props.followCursor&&(kc.push({instance:e,doc:n}),function(e){e.addEventListener("mousemove",wc)}(n))}function d(){0===(kc=kc.filter((function(t){return t.instance!==e}))).filter((function(e){return e.doc===n})).length&&function(e){e.removeEventListener("mousemove",wc)}(n)}return{onCreate:p,onDestroy:d,onBeforeUpdate:function(){a=e.props},onAfterUpdate:function(t,n){var i=n.followCursor;r||void 0!==i&&a.followCursor!==i&&(d(),i?(p(),!e.state.isMounted||o||s()||u()):(c(),l()))},onMount:function(){e.props.followCursor&&!o&&(i&&(f(xc),i=!1),s()||u())},onTrigger:function(e,t){Zu(t)&&(xc={clientX:t.clientX,clientY:t.clientY}),o="focus"===t.type},onHidden:function(){e.props.followCursor&&(l(),c(),i=!0)}}}};bc.setDefaultProps({render:mc});const Oc=bc;var Ec=i(7111);function Sc(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 jc="undefined"!=typeof window&&"undefined"!=typeof document;function Pc(e,t){e&&("function"==typeof e&&e(t),{}.hasOwnProperty.call(e,"current")&&(e.current=t))}function Tc(){return jc&&document.createElement("div")}function Ac(e,t){if(e===t)return!0;if("object"==typeof e&&null!=e&&"object"==typeof t&&null!=t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var n in e){if(!t.hasOwnProperty(n))return!1;if(!Ac(e[n],t[n]))return!1}return!0}return!1}function Lc(e){var t=[];return e.forEach((function(e){t.find((function(t){return Ac(e,t)}))||t.push(e)})),t}var Mc=jc?e.useLayoutEffect:e.useEffect;function _c(e,t,n){n.split(/\s+/).forEach((function(n){n&&e.classList[t](n)}))}var Dc={name:"className",defaultValue:"",fn:function(e){var t=e.popper.firstElementChild,n=function(){var t;return!!(null==(t=e.props.render)?void 0:t.$$tippy)};function r(){e.props.className&&!n()||_c(t,"add",e.props.className)}return{onCreate:r,onBeforeUpdate:function(){n()&&_c(t,"remove",e.props.className)},onAfterUpdate:r}}};function Vc(n){return function(r){var o,i,a=r.children,s=r.content,u=r.visible,c=r.singleton,l=r.render,f=r.reference,p=r.disabled,d=void 0!==p&&p,m=r.ignoreAttributes,v=void 0===m||m,h=(r.__source,r.__self,Sc(r,["children","content","visible","singleton","render","reference","disabled","ignoreAttributes","__source","__self"])),y=void 0!==u,g=void 0!==c,b=(0,e.useState)(!1),x=b[0],k=b[1],w=(0,e.useState)({}),C=w[0],O=w[1],E=(0,e.useState)(),S=E[0],j=E[1],P=(o=function(){return{container:Tc(),renders:1}},(i=(0,e.useRef)()).current||(i.current="function"==typeof o?o():o),i.current),T=Object.assign({ignoreAttributes:v},h,{content:P.container});y&&(T.trigger="manual",T.hideOnClick=!1),g&&(d=!0);var A=T,L=T.plugins||[];l&&(A=Object.assign({},T,{plugins:g?[].concat(L,[{fn:function(){return{onTrigger:function(e,t){var n=c.data.children.find((function(e){return e.instance.reference===t.currentTarget})).content;j(n)}}}}]):L,render:function(){return{popper:P.container}}}));var M=[f].concat(a?[a.type]:[]);return Mc((function(){var e=f;f&&f.hasOwnProperty("current")&&(e=f.current);var t=n(e||P.ref||Tc(),Object.assign({},A,{plugins:[Dc].concat(T.plugins||[])}));return P.instance=t,d&&t.disable(),u&&t.show(),g&&c.hook({instance:t,content:s,props:A}),k(!0),function(){t.destroy(),null==c||c.cleanup(t)}}),M),Mc((function(){var e,t,n,r,o;if(1!==P.renders){var i=P.instance;i.setProps((t=i.props,n=A,Object.assign({},n,{popperOptions:Object.assign({},t.popperOptions,n.popperOptions,{modifiers:Lc([].concat((null==(r=t.popperOptions)?void 0:r.modifiers)||[],(null==(o=n.popperOptions)?void 0:o.modifiers)||[]))})}))),null==(e=i.popperInstance)||e.forceUpdate(),d?i.disable():i.enable(),y&&(u?i.show():i.hide()),g&&c.hook({instance:i,content:s,props:A})}else P.renders++})),Mc((function(){var e;if(l){var t=P.instance;t.setProps({popperOptions:Object.assign({},t.props.popperOptions,{modifiers:[].concat(((null==(e=t.props.popperOptions)?void 0:e.modifiers)||[]).filter((function(e){return"$$tippyReact"!==e.name})),[{name:"$$tippyReact",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(e){var t,n=e.state,r=null==(t=n.modifiersData)?void 0:t.hide;C.placement===n.placement&&C.referenceHidden===(null==r?void 0:r.isReferenceHidden)&&C.escaped===(null==r?void 0:r.hasPopperEscaped)||O({placement:n.placement,referenceHidden:null==r?void 0:r.isReferenceHidden,escaped:null==r?void 0:r.hasPopperEscaped}),n.attributes.popper={}}}])})})}}),[C.placement,C.referenceHidden,C.escaped].concat(M)),t().createElement(t().Fragment,null,a?(0,e.cloneElement)(a,{ref:function(e){P.ref=e,Pc(a.ref,e)}}):null,x&&(0,Ec.createPortal)(l?l(function(e){var t={"data-placement":e.placement};return e.referenceHidden&&(t["data-reference-hidden"]=""),e.escaped&&(t["data-escaped"]=""),t}(C),S,P.instance):s,P.container))}}var Wc=function(n,r){return(0,e.forwardRef)((function(o,i){var a=o.children,s=Sc(o,["children"]);return t().createElement(n,Object.assign({},r,s),a?(0,e.cloneElement)(a,{ref:function(e){Pc(i,e),Pc(a.ref,e)}}):null)}))};const Nc=Wc(Vc(Oc));var Rc="blur(0px)",zc="blur(2px)",$c=["content","children","theme","disabled","position","interactive","hideAfter","hideOnTargetExit"];function Hc(){return Hc=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},Hc.apply(this,arguments)}function Ic(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}var Bc=function(n){var r=n.content,o=n.children,i=n.theme,a=void 0===i?"dark":i,s=n.disabled,u=void 0!==s&&s,c=n.position,l=void 0===c?"auto":c,f=n.interactive,p=void 0!==f&&f,d=n.hideAfter,m=void 0===d?-1:d,v=n.hideOnTargetExit,h=void 0!==v&&v,y=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}(n,$c),g=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Ic(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(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Ic(e,t):void 0}}(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.")}()}((0,e.useState)(null),2),b=g[0],x=g[1],k={};return m>0&&(k.onShow=function(e){return setTimeout((function(){return e.hide()}),m)}),(0,e.useEffect)((function(){if(h){var e=new IntersectionObserver((function(e){e.forEach((function(e){return!e.isIntersecting&&(null==b?void 0:b.hide())}))}));return(null==b?void 0:b.reference)&&e.observe(null==b?void 0:b.reference),function(){return e.disconnect()}}}),[b,h]),t().createElement(Nc,Hc({role:"tooltip",theme:a,content:r,arrow:"<svg width='12' height='6' viewBox='0 0 10 5' fill='none' xmlns='http://www.w3.org/2000/svg'><path d='M10 5H0.926697L3.95208 1.63847C4.74227 0.760478 6.11722 0.754951 6.91445 1.62656L10 5Z' /></svg>",disabled:u,animation:"scale-subtle",placement:l,plugins:[Cc],interactive:p,duration:[100,200],zIndex:100001,onCreate:function(e){return x(e)}},k,y),o)};Bc.propTypes={content:Zi().node,children:Zi().node,theme:Zi().oneOf(["dark","light"]),disabled:Zi().bool,position:Zi().string,interactive:Zi().bool,hideAfter:Zi().number,hideOnTargetExit:Zi().bool};const Fc=Bc;var Uc={default:"default",featured:"featured"},qc={expanded:{maxWidth:320},collapsed:{maxWidth:64}};const Yc=function(e){var n=e.tooltipStyle,r=e.description,o=e.icon,i=e.collapsed,a=e.label,s=e.children,u=n===Uc.featured?t().createElement(ws,{description:r,icon:o,label:a}):a;return i?t().createElement(Fc,{position:"right",distance:"20rem",content:u,theme:n===Uc.featured?"light":"dark",className:qi()({"sidebar-featured-tooltip__content":n===Uc.featured}),delay:[400,40],duration:[200,200]},s):s},Zc=function(e){var n=e.appName,r=e.collapsed,o=e.tooltipStyle,i=e.onAppSwitcherToggle;return t().createElement(Yc,{collapsed:r,label:"App Switcher",tooltipStyle:o,icon:t().createElement(ks,null)},t().createElement("button",{onClick:i,"data-cy":"app-switcher-button",className:"shadow-none neeto-ui-flex neeto-ui-items-center neeto-ui-justify-start neeto-ui-w-full neeto-ui-select-none neeto-ui-sidebar__link neeto-ui-sidebar__link--app-switcher neeto-ui-sidebar__link--button"},t().createElement("span",{className:"neeto-ui-flex neeto-ui-items-center neeto-ui-justify-center neeto-ui-sidebar__link-icon"},t().createElement(ks,{size:24})),!r&&t().createElement(ia,{component:"span",style:"body2",weight:"medium",className:"neeto-ui-text-left neeto-ui-sidebar__link-label"},n)))};var Xc=["size","color","strokeWidth"];function Kc(e){var t=e.size,n=e.color,r=e.strokeWidth,o=ua(e,Xc);return qa.createElement("svg",sa({viewBox:"0 0 24 24",fill:"none",height:t,width:t},o),qa.createElement("path",{d:"M6 9L12 15L18 9",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}))}function Gc(e){return null!=e&&"object"==typeof e&&!0===e["@@functional/placeholder"]}function Jc(e){return function t(n){return 0===arguments.length||Gc(n)?t:e.apply(this,arguments)}}Kc.defaultProps={color:"currentColor",size:24,strokeWidth:"1.5"},Kc.propTypes={color:bs.string,size:bs.oneOfType([bs.string,bs.number]),strokeWidth:bs.oneOfType([bs.string,bs.number])};var Qc=Jc((function(e){return null==e}));const el=Qc;var tl=["size","user","isSquare","status","onClick","className"];function nl(){return nl=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},nl.apply(this,arguments)}function rl(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}var ol={small:24,medium:32,large:40,xlarge:64},il=["#E5E7EB","#FECACA","#FDE68A","#A7F3D0","#BFDBFE","#C7D2FE","#DDD6FE","#FBCFE8"],al=function(n){var r,o=n.size,i=void 0===o?"medium":o,a=n.user,s=void 0===a?{}:a,u=n.isSquare,c=void 0!==u&&u,l=n.status,f=void 0===l?null:l,p=n.onClick,d=void 0===p?function(){}:p,m=n.className,v=void 0===m?"":m,h=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}(n,tl),y=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return rl(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(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?rl(e,t):void 0}}(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.")}()}((0,e.useState)(!1),2),g=y[0],b=y[1],x=s.name,k=void 0===x?"":x,w=s.imageUrl,C="medium"===i,O="large"===i,E="xlarge"===i,S=function(e){if(e&&"string"==typeof e){var t=e.trim().split(" ");return t.reduce((function(e,n,r){return 0!==r&&r!==t.length-1||(e="".concat(e).concat(n.charAt(0).toUpperCase())),e}),"")}return""}(k),j={height:ol[i],width:ol[i],backgroundColor:(r=(S.charCodeAt(0)||0)+(S.charCodeAt(1)||0),il[r%65%il.length]||il[0])},P=qi()("neeto-ui-avatar ",{"neeto-ui-avatar--medium":C,"neeto-ui-avatar--large":O,"neeto-ui-avatar--xlarge":E,"neeto-ui-avatar--round":!c,hidden:g}),T=qi()("neeto-ui-avatar__text",{"neeto-ui-avatar__text-medium":C,"neeto-ui-avatar__text-large":O,"neeto-ui-avatar__text-xlarge":E}),A=qi()("neeto-ui-avatar__status","".concat(f),{"neeto-ui-avatar__status-medium":C,"neeto-ui-avatar__status-large":O,"neeto-ui-avatar__status-xlarge":E,"neeto-ui-avatar__status-square":c}),L=function(){return el(f)?t().Fragment:t().createElement("span",{className:A,"data-testid":"indicator"})},M=function(){return t().createElement("span",{className:T,"data-testid":"initials"},S)},_=S&&!(w&&!g);return t().createElement("span",nl({onClick:d,style:j,className:qi()("neeto-ui-avatar--container neeto-ui-select-none",{"neeto-ui-avatar--container-round":!c},v)},h),t().createElement(L,null),_?t().createElement(M,null):t().createElement("img",{className:P,onError:function(){return b(!0)},src:w||"https://github.com/bigbinary/neeto-ui/blob/602cf3ab48a36d7a512f3780f9950d15d13ebbea/lib/images/user.png?raw=true",alt:"avatar-".concat(S),"data-chromatic":"ignore"}))};al.propTypes={size:Zi().oneOf(Object.keys(ol)),user:Zi().shape({imageUrl:Zi().string,name:Zi().string}),isSquare:Zi().bool,onClick:Zi().func,status:Zi().oneOf(Object.keys({online:"online",idle:"idle",offline:"offline"})),className:Zi().string};const sl=al;var ul=function(e,t){return e&&e.length>t?e.substring(0,t-3)+"...":e};const cl=(0,e.forwardRef)((function(e,n){var r=e.collapsed,o=e.profileInfo,i=e.onClick,a=o["data-cy"]||"profile-section";return t().createElement("button",{ref:n,className:"neeto-ui-w-full neeto-ui-text-left neeto-ui-sidebar__profile-wrapper",onClick:i,"data-cy":a},t().createElement("span",{className:"neeto-ui-flex neeto-ui-items-center neeto-ui-flex-shrink-0 neeto-ui-w-full neeto-ui-sidebar__profile"},t().createElement(sl,{user:o,size:"large",className:"neeto-ui-flex-shrink-0"}),!r&&t().createElement("span",{className:"neeto-ui-sidebar__profile-content"},t().createElement(ia,{component:"h2",style:"h5",weight:"semibold",className:"neeto-ui-m-0",title:o.name},ul(o.name,18)),t().createElement(Kc,{size:16,className:"neeto-ui-sidebar__profile-drop-icon",color:"#68737D"}))))}));var ll=["size","color","strokeWidth"];function fl(e){var t=e.size,n=e.color,r=e.strokeWidth,o=ua(e,ll);return qa.createElement("svg",sa({viewBox:"0 0 24 24",fill:"none",height:t,width:t},o),qa.createElement("path",{d:"M7.7328 20.829C7.48434 20.9587 7.20452 21.0162 6.92506 20.9949C6.6456 20.9737 6.37768 20.8746 6.15167 20.7089C5.92566 20.5431 5.7506 20.3174 5.64634 20.0573C5.54208 19.7971 5.5128 19.5129 5.5618 19.237L6.3708 14.6L2.9648 11.336C2.76077 11.1414 2.61571 10.8933 2.54624 10.6201C2.47678 10.3468 2.48573 10.0595 2.57206 9.79116C2.65839 9.52277 2.8186 9.28415 3.03434 9.10265C3.25008 8.92115 3.5126 8.80413 3.7918 8.765L8.5208 8.089L10.6558 3.83C10.7799 3.57959 10.9715 3.36884 11.2089 3.2215C11.4464 3.07415 11.7203 2.99608 11.9998 2.99608C12.2793 2.99608 12.5532 3.07415 12.7906 3.2215C13.0281 3.36884 13.2197 3.57959 13.3438 3.83L15.4788 8.089L20.2078 8.765C20.487 8.80413 20.7495 8.92115 20.9653 9.10265C21.181 9.28415 21.3412 9.52277 21.4275 9.79116C21.5139 10.0595 21.5228 10.3468 21.4533 10.6201C21.3839 10.8933 21.2388 11.1414 21.0348 11.336L17.6288 14.6L18.4378 19.238C18.4868 19.5139 18.4575 19.7981 18.3532 20.0583C18.249 20.3184 18.0739 20.5441 17.8479 20.7099C17.6219 20.8756 17.354 20.9747 17.0745 20.9959C16.7951 21.0172 16.5153 20.9597 16.2668 20.83L11.9998 18.625L7.7328 20.829Z",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}))}fl.defaultProps={color:"currentColor",size:24,strokeWidth:"1.5"},fl.propTypes={color:bs.string,size:bs.oneOfType([bs.string,bs.number]),strokeWidth:bs.oneOfType([bs.string,bs.number])};var pl=["size","color","strokeWidth"];function dl(e){var t=e.size,n=e.color,r=e.strokeWidth,o=ua(e,pl);return qa.createElement("svg",sa({viewBox:"0 0 24 24",fill:"none",height:t,width:t},o),qa.createElement("path",{d:"M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22Z",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}),qa.createElement("path",{d:"M9.09009 9.00008C9.32519 8.33175 9.78924 7.76819 10.4 7.40921C11.0108 7.05024 11.729 6.91902 12.4273 7.03879C13.1255 7.15857 13.7589 7.52161 14.2152 8.06361C14.6714 8.60561 14.9211 9.2916 14.9201 10.0001C14.9201 12.0001 11.9201 13.0001 11.9201 13.0001",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}),qa.createElement("path",{d:"M12 17H12.01",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}))}dl.defaultProps={color:"currentColor",size:24,strokeWidth:"1.5"},dl.propTypes={color:bs.string,size:bs.oneOfType([bs.string,bs.number]),strokeWidth:bs.oneOfType([bs.string,bs.number])};var ml=["onClick","label","icon"];function vl(){return vl=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},vl.apply(this,arguments)}const hl=function(e){var n=e.links;return t().createElement("ul",{className:"neeto-ui-flex neeto-ui-flex-col neeto-ui-gap-2 neeto-ui-py-2 neeto-ui-m-0 neeto-ui-list-none neeto-ui-border-t neeto-ui-no-outline neeto-ui-border-gray-300"},null==n?void 0:n.map((function(e,n){var r=e.onClick,o=e.label,i=e.icon,a=void 0===i?null:i,s=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}(e,ml),u=a;return t().createElement("li",{key:n,className:"neeto-ui-w-full"},t().createElement("button",vl({onClick:r},s,{className:"neeto-ui-flex neeto-ui-w-full neeto-ui-p-2 neeto-ui-text-left neeto-ui-transition-colors neeto-ui-rounded-sm neeto-ui-cursor-pointer neeto-ui-select-none hover:neeto-ui-bg-gray-200 focus:neeto-ui-bg-gray-200 neeto-ui-no-outline"}),t().createElement(ia,{style:"h5",weight:"semibold",component:"span",className:"neeto-ui-flex neeto-ui-items-center neeto-ui-gap-2 neeto-ui-text-gray-800"},a&&t().createElement(u,null),o)))})))};function yl(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}function gl(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?yl(Object(n),!0).forEach((function(t){bl(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):yl(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function bl(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const xl=function(e){var n=e.profileInfo,r=n.name,o=n.email,i=n.topLinks,a=n.bottomLinks,s=n.customContent,u=n.changelogProps,c=n.helpProps,l=[];return u&&l.push(gl({icon:fl,label:"What's New","data-cy":"profile-section-whats-new-button"},u)),c&&l.push(gl({icon:dl,label:"Help","data-cy":"profile-section-help-button"},c)),t().createElement("div",{className:"neeto-ui-flex neeto-ui-flex-col neeto-ui-p-6"},t().createElement("div",{className:qi()("neeto-ui-relative neeto-ui-flex neeto-ui-items-center",{"mb-5":i||a||s})},t().createElement("div",{className:"top-0 left-0"},t().createElement(sl,{user:n,size:"large"})),t().createElement("div",{className:"neeto-ui-flex neeto-ui-flex-col neeto-ui-flex-grow neeto-ui-min-w-0 neeto-ui-pl-3"},t().createElement(ia,{component:"h2",style:"h5",weight:"semibold",lineHeight:"tight",className:"neeto-ui-m-0",title:r},ul(r,18)),o&&t().createElement(ia,{style:"body2",className:"neeto-ui-w-full neeto-ui-truncate neeto-ui-text-gray-600",lineHeight:"tight"},o))),t().createElement("div",{className:"neeto-ui-sidebar__profile-wrapper-custom-content"},s),i&&t().createElement(hl,{links:i}),!!l.length&&t().createElement(hl,{links:l}),a&&t().createElement(hl,{links:a}))};var kl=i(6128),wl=["children","to","href"];function Cl(){return Cl=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},Cl.apply(this,arguments)}var Ol="neeto-ui-flex neeto-ui-items-center neeto-ui-no-underline neeto-ui-select-none neeto-ui-sidebar__link",El=(0,e.forwardRef)((function(e,n){var r=e.children,o=e.to,i=e.href,a=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}(e,wl),s=location.pathname.includes(o);return i?t().createElement("a",Cl({className:qi()(Ol,{active:s}),href:i},a),r):t().createElement(kl.NavLink,Cl({className:Ol,innerRef:n,to:o,isActive:function(){return s}},a),r)}));const Sl=(0,kl.withRouter)(El);var jl=["label","href","to","icon"];function Pl(){return Pl=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},Pl.apply(this,arguments)}const Tl=function(e){var n=e.props,r=e.collapsed,o=e.tooltipStyle,i=n.label,a=n.href,s=n.to,u=n.icon,c=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}(n,jl),l=u;return t().createElement(Yc,{collapsed:r,label:i,tooltipStyle:o,icon:t().createElement(l,null)},t().createElement(Sl,Pl({to:s,href:a},c),u&&t().createElement("div",{className:"neeto-ui-flex neeto-ui-items-center neeto-ui-justify-center neeto-ui-sidebar__link-icon"},t().createElement(l,null)),!r&&t().createElement(ia,{component:"span",style:"body2",weight:"medium",className:"neeto-ui-sidebar__link-label"},i)))};function Al(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}const Ll=function(n){var r=n.appName,o=n.footerLinks,i=void 0===o?[]:o,a=n.profileInfo,s=n.tooltipStyle,u=n.collapsed,c=n.showAppSwitcher,l=void 0!==c&&c,f=n.onAppSwitcherToggle,p=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Al(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(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Al(e,t):void 0}}(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.")}()}((0,e.useState)(!1),2),d=p[0],m=p[1];return t().createElement("div",{className:"neeto-ui-sidebar__footer"},null==i?void 0:i.map((function(e,n){return t().createElement(Tl,{props:e,key:n,tooltipStyle:s,collapsed:u})})),l&&t().createElement(Zc,{appName:r,onAppSwitcherToggle:f,tooltipStyle:s,collapsed:u}),a&&t().createElement(Fc,{position:"right",className:"sidebar-featured-tooltip__content",theme:"light",content:t().createElement(xl,{profileInfo:a}),interactive:!0,hideOnClick:!1},t().createElement(cl,{collapsed:u,profileInfo:a,onClick:function(){m(!d)}})))};var Ml=["label","to","icon","description"];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)}const Dl=function(e){var n=e.navLinks,r=void 0===n?[]:n,o=e.tooltipStyle,i=e.collapsed,a=(0,kl.useLocation)();return t().createElement("div",{className:"neeto-ui-sidebar__links"},r.map((function(e,n){var r=e.label,s=e.to,u=e.icon,c=e.description,l=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}(e,Ml),f=u,p=new URL(s,window.location.href),d=a.pathname.includes(p.pathname);return t().createElement(Yc,{key:n,tooltipStyle:o,icon:t().createElement(f,{color:"#68737D"}),description:c,collapsed:i,label:r},t().createElement(kl.NavLink,_l({to:s,className:"neeto-ui-flex neeto-ui-items-center neeto-ui-no-underline neeto-ui-select-none neeto-ui-sidebar__link",activeClassName:"active",isActive:function(){return d}},l),u&&t().createElement("div",{className:"neeto-ui-flex neeto-ui-items-center neeto-ui-justify-center neeto-ui-sidebar__link-icon"},t().createElement(f,null)),!i&&t().createElement(ia,{component:"span",style:"body2",weight:"medium",className:"neeto-ui-sidebar__link-label"},r)))})))};var Vl=function(e){var n=e.organizationInfo,r=e.navLinks,o=void 0===r?[]:r,i=e.tooltipStyle,a=void 0===i?Uc.featured:i,s=e.footerLinks,u=void 0===s?[]:s,c=e.profileInfo,l=e.isCollapsed,f=void 0===l||l,p=e.showAppSwitcher,d=void 0!==p&&p,m=e.onAppSwitcherToggle,v=void 0===m?function(){}:m,h=e.appName,y=void 0===h?"":h;return t().createElement(Fi.div,{animate:f?"collapsed":"expanded",variants:qc,transition:{duration:.3},"data-cy":"sidebar-wrapper",className:qi()("neeto-ui-sidebar neeto-ui-flex neeto-ui-flex-col neeto-ui-flex-shrink-0 neeto-ui-overflow-y-auto neeto-ui-overflow-x-hidden",{"neeto-ui-sidebar--collapsed":f})},t().createElement(aa,{organizationInfo:n,collapsed:f}),t().createElement(Dl,{navLinks:o,tooltipStyle:a,collapsed:f}),t().createElement(Ll,{footerLinks:u,appName:y,profileInfo:c,collapsed:f,tooltipStyle:a,showAppSwitcher:d,onAppSwitcherToggle:v}))};Vl.propTypes={organizationInfo:Zi().shape({logo:Zi().element,name:Zi().string,subdomain:Zi().string}),tooltipStyle:Zi().oneOf(Object.keys(Uc)),navLinks:Zi().arrayOf(Zi().shape({label:Zi().string,description:Zi().string,to:Zi().string,icon:Zi().oneOfType([Zi().element,Zi().func])})).isRequired,footerLinks:Zi().arrayOf(Zi().shape({label:Zi().string,description:Zi().string,to:Zi().string,href:Zi().string,icon:Zi().oneOfType([Zi().element,Zi().func])})),profileInfo:Zi().shape({name:Zi().string,email:Zi().string,customContent:Zi().element,changelogProps:Zi().shape({onClick:Zi().func,label:Zi().string,icon:Zi().oneOfType([Zi().element,Zi().func])}),helpProps:Zi().shape({onClick:Zi().func,label:Zi().string,icon:Zi().oneOfType([Zi().element,Zi().func])}),topLinks:Zi().arrayOf(Zi().shape({onClick:Zi().func,label:Zi().string,icon:Zi().oneOfType([Zi().element,Zi().func])})),bottomLinks:Zi().arrayOf(Zi().shape({onClick:Zi().func,label:Zi().string,icon:Zi().oneOfType([Zi().element,Zi().func])}))}),isCollapsed:Zi().bool,showAppSwitcher:Zi().bool,onAppSwitcherToggle:Zi().func,appName:Zi().string};const Wl=Vl;var Nl=["size","color","strokeWidth"];function Rl(e){var t=e.size,n=e.color,r=e.strokeWidth,o=ua(e,Nl);return qa.createElement("svg",sa({viewBox:"0 0 24 24",fill:"none",height:t,width:t},o),qa.createElement("line",{x1:"3",y1:"7.25",x2:"21",y2:"7.25",stroke:n,strokeWidth:r}),qa.createElement("line",{x1:"3",y1:"11.25",x2:"15",y2:"11.25",stroke:n,strokeWidth:r}),qa.createElement("line",{x1:"3",y1:"15.25",x2:"11",y2:"15.25",stroke:n,strokeWidth:r}))}Rl.defaultProps={color:"currentColor",size:24,strokeWidth:"1.5"},Rl.propTypes={color:bs.string,size:bs.oneOfType([bs.string,bs.number]),strokeWidth:bs.oneOfType([bs.string,bs.number])};var zl=["size","color","strokeWidth"];function $l(e){var t=e.size,n=e.color,r=e.strokeWidth,o=ua(e,zl);return qa.createElement("svg",sa({viewBox:"0 0 24 24",fill:"none",height:t,width:t},o),qa.createElement("path",{d:"M9 18L15 12L9 6",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}))}$l.defaultProps={color:"currentColor",size:24,strokeWidth:"1.5"},$l.propTypes={color:bs.string,size:bs.oneOfType([bs.string,bs.number]),strokeWidth:bs.oneOfType([bs.string,bs.number])};var Hl=["size","color","strokeWidth"];function Il(e){var t=e.size,n=e.color,r=e.strokeWidth,o=ua(e,Hl);return qa.createElement("svg",sa({viewBox:"0 0 24 24",fill:"none",height:t,width:t},o),qa.createElement("path",{d:"M14.1931 5.58187C16.525 7.91369 16.525 11.6943 14.1931 14.0261C11.8613 16.358 8.08069 16.358 5.74887 14.0261C3.41704 11.6943 3.41704 7.91369 5.74887 5.58187C8.08069 3.25005 11.8613 3.25005 14.1931 5.58187",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}),qa.createElement("path",{d:"M14.1499 14.06L18.5899 18.5",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}))}Il.defaultProps={color:"currentColor",size:24,strokeWidth:"1.5"},Il.propTypes={color:bs.string,size:bs.oneOfType([bs.string,bs.number]),strokeWidth:bs.oneOfType([bs.string,bs.number])};var Bl=0;function Fl(){var e=Bl;return Bl++,e}var Ul=function(t){var n=t.children,r=t.initial,o=t.isPresent,i=t.onExitComplete,a=t.custom,s=t.presenceAffectsLayout,u=g(ql),c=g(Fl),l=(0,e.useMemo)((function(){return{id:c,initial:r,isPresent:o,custom:a,onExitComplete:function(e){u.set(e,!0);var t=!0;u.forEach((function(e){e||(t=!1)})),t&&(null==i||i())},register:function(e){return u.set(e,!1),function(){return u.delete(e)}}}}),s?void 0:[o]);return(0,e.useMemo)((function(){u.forEach((function(e,t){return u.set(t,!1)}))}),[o]),e.useEffect((function(){!o&&!u.size&&(null==i||i())}),[o]),e.createElement(y.Provider,{value:l},n)};function ql(){return new Map}function Yl(e){return e.key||""}var Zl=function(t){var n=t.children,r=t.custom,o=t.initial,i=void 0===o||o,a=t.onExitComplete,s=t.exitBeforeEnter,l=t.presenceAffectsLayout,f=void 0===l||l,p=function(){var t=(0,e.useRef)(!1),n=u((0,e.useState)(0),2),r=n[0],o=n[1];return dt((function(){return t.current=!0})),(0,e.useCallback)((function(){!t.current&&o(r+1)}),[r])}(),d=(0,e.useContext)(fi);di(d)&&(p=d.forceUpdate);var m=(0,e.useRef)(!0),v=function(t){var n=[];return e.Children.forEach(t,(function(t){(0,e.isValidElement)(t)&&n.push(t)})),n}(n),h=(0,e.useRef)(v),y=(0,e.useRef)(new Map).current,g=(0,e.useRef)(new Set).current;if(function(e,t){e.forEach((function(e){var n=Yl(e);t.set(n,e)}))}(v,y),m.current)return m.current=!1,e.createElement(e.Fragment,null,v.map((function(t){return e.createElement(Ul,{key:Yl(t),isPresent:!0,initial:!!i&&void 0,presenceAffectsLayout:f},t)})));for(var b=c([],u(v)),x=h.current.map(Yl),k=v.map(Yl),w=x.length,C=0;C<w;C++){var O=x[C];-1===k.indexOf(O)?g.add(O):g.delete(O)}return s&&g.size&&(b=[]),g.forEach((function(t){if(-1===k.indexOf(t)){var n=y.get(t);if(n){var o=x.indexOf(t);b.splice(o,0,e.createElement(Ul,{key:Yl(n),isPresent:!1,onExitComplete:function(){y.delete(t),g.delete(t);var e=h.current.findIndex((function(e){return e.key===t}));h.current.splice(e,1),g.size||(h.current=v,p(),a&&a())},custom:r,presenceAffectsLayout:f},n))}}})),b=b.map((function(t){var n=t.key;return g.has(n)?t:e.createElement(Ul,{key:Yl(t),isPresent:!0,presenceAffectsLayout:f},t)})),h.current=b,e.createElement(e.Fragment,null,g.size?b:b.map((function(t){return(0,e.cloneElement)(t)})))},Xl=function(e){var n=e.color,r=e.className,o=e.size;return t().createElement(Fi.div,{initial:{opacity:0},className:r,animate:{opacity:1,transition:{bounce:0}},exit:{opacity:0},"data-chromatic":"ignore"},t().createElement(Fi.div,{animate:{rotate:[0,360],transition:{repeat:1/0}},exit:{opacity:0}},t().createElement(Fi.svg,{style:{color:n,height:o,width:o},xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},t().createElement("circle",{style:{opacity:.5},cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4"}),t().createElement("path",{style:{opacity:1},fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"}))))};Xl.propTypes={color:Zi().string,className:Zi().string,size:Zi().oneOfType([Zi().string,Zi().number])},Xl.defaultProps={color:"#ffffff",className:null,size:14};const Kl=Xl;var Gl=["icon","iconPosition","iconSize","label","loading","onClick","to","type","style","fullWidth","className","disabled","size","href","tooltipProps"];function Jl(){return Jl=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},Jl.apply(this,arguments)}var Ql={primary:"primary",secondary:"secondary",danger:"danger",danger_text:"danger-text",text:"text",link:"link"},ef={large:"large",xlarge:"xlarge",default:"default"},tf={left:"left",right:"right"},nf={button:"button",reset:"reset",submit:"submit"},rf=t().forwardRef((function(e,n){var r,o,i=e.icon,a=void 0===i?null:i,s=e.iconPosition,u=void 0===s?tf.right:s,c=e.iconSize,l=void 0===c?16:c,f=e.label,p=void 0===f?"":f,d=e.loading,m=void 0!==d&&d,v=e.onClick,h=void 0===v?function(){}:v,y=e.to,g=void 0===y?"":y,b=e.type,x=void 0===b?nf.button:b,k=e.style,w=void 0===k?Ql.primary:k,C=e.fullWidth,O=void 0!==C&&C,E=e.className,S=void 0===E?"":E,j=e.disabled,P=void 0!==j&&j,T=e.size,A=void 0===T?ef.default:T,L=e.href,M=void 0===L?"":L,_=e.tooltipProps,D=void 0===_?null:_,V=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}(e,Gl);g?(r=kl.Link,o={to:g}):M?(r=Fi.a,o={href:M}):(r=Fi.button,o={type:x});var W="string"==typeof a?function(){return t().createElement("i",{"data-testid":"class-icon",className:qi()("neeto-ui-btn__icon",[a])})}:a||t().Fragment;return t().createElement(Fc,Jl({disabled:!D},D),t().createElement(r,Jl({ref:n,onClick:function(e){m||P||h(e)},className:qi()("neeto-ui-btn",[S],{"neeto-ui-btn--style-primary":w===Ql.primary,"neeto-ui-btn--style-secondary":w===Ql.secondary,"neeto-ui-btn--style-danger":w===Ql.danger,"neeto-ui-btn--style-danger-text":w===Ql.danger_text,"neeto-ui-btn--style-text":w===Ql.text,"neeto-ui-btn--style-link":w===Ql.link,"neeto-ui-btn--size-large":A===ef.large,"neeto-ui-btn--size-xlarge":A===ef.xlarge,"neeto-ui-btn--width-full":O,"neeto-ui-btn--icon-left":u==tf.left,"neeto-ui-btn--icon-only":!p,disabled:P}),disabled:P},o,V),p&&t().createElement("span",null,p),t().createElement(Zl,{exitBeforeEnter:!0},a?m?t().createElement(Kl,{"aria-hidden":"true",key:"1",size:16,className:"neeto-ui-btn__spinner"}):t().createElement(W,{"aria-hidden":"true",key:"2",size:l,className:"neeto-ui-btn__icon"}):m&&t().createElement(Fi.div,{className:"neeto-ui-btn__spinner-wrapper",initial:{width:0,scale:0},animate:{width:"auto",scale:1},exit:{width:0,scale:0},transition:{bounce:!1}},t().createElement(Kl,{"aria-hidden":"true",key:"3",size:16,className:"neeto-ui-btn__spinner"})))))}));rf.propTypes={style:Zi().oneOf(Object.values(Ql)),size:Zi().oneOf(Object.values(ef)),iconPosition:Zi().oneOf(Object.values(tf)),iconSize:Zi().number,label:Zi().string,loading:Zi().bool,disabled:Zi().bool,icon:Zi().oneOfType([Zi().string,Zi().element]),onClick:Zi().func,to:Zi().string,href:Zi().string,type:Zi().oneOf(Object.values(nf)),fullWidth:Zi().bool,className:Zi().string,tooltipProps:Zi().object};const of=rf;function af(){return!("undefined"==typeof window||!window.document||!window.document.createElement)}var sf=af()?e.useLayoutEffect:e.useEffect,uf=!1,cf=0,lf=function(){return++cf},ff=function(e){return e&&e.replace?e.replace(/[\s_]/g,"-").replace(/([a-z])([A-Z])/g,"$1-$2").replace(/-+/g,"-").toLowerCase():"nui"},pf=["size","color","strokeWidth"];function df(e){var t=e.size,n=e.color,r=e.strokeWidth,o=ua(e,pf);return qa.createElement("svg",sa({viewBox:"0 0 24 24",fill:"none",height:t,width:t},o),qa.createElement("path",{d:"M11.009 11.249H12.159V15.499",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}),qa.createElement("path",{d:"M11 15.4986H13.3093",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}),qa.createElement("path",{d:"M12.1 8.24587C12.1 8.29532 12.0853 8.34365 12.0579 8.38477C12.0304 8.42588 11.9914 8.45792 11.9457 8.47684C11.9 8.49576 11.8497 8.50071 11.8012 8.49107C11.7527 8.48142 11.7082 8.45761 11.6732 8.42265C11.6383 8.38769 11.6145 8.34314 11.6048 8.29464C11.5952 8.24615 11.6001 8.19588 11.619 8.1502C11.638 8.10452 11.67 8.06548 11.7111 8.03801C11.7522 8.01053 11.8006 7.99587 11.85 7.99587",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}),qa.createElement("path",{d:"M11.85 7.99587C11.9163 7.99587 11.9799 8.02221 12.0268 8.0691C12.0737 8.11598 12.1 8.17957 12.1 8.24587",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}),qa.createElement("path",{d:"M16 2.99862H8C5.23858 2.99862 3 5.2372 3 7.99862V15.9986C3 18.76 5.23858 20.9986 8 20.9986H16C18.7614 20.9986 21 18.76 21 15.9986V7.99862C21 5.2372 18.7614 2.99862 16 2.99862Z",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}))}df.defaultProps={color:"currentColor",size:24,strokeWidth:"1.5"},df.propTypes={color:bs.string,size:bs.oneOfType([bs.string,bs.number]),strokeWidth:bs.oneOfType([bs.string,bs.number])};var mf=["children","className","required","helpIconProps"],vf=["onClick","icon","tooltipProps","className"];function hf(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}function yf(){return yf=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},yf.apply(this,arguments)}function gf(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function bf(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 xf=function(e){var n=e.children,r=e.className,o=void 0===r?"":r,i=e.required,a=void 0!==i&&i,s=e.helpIconProps,u=void 0===s?null:s,c=bf(e,mf),l=u||{},f=l.onClick,p=l.icon,d=l.tooltipProps,m=l.className,v=bf(l,vf),h=p||df;return t().createElement("label",yf({className:qi()("neeto-ui-label neeto-ui-flex neeto-ui-items-center",o)},c),n,a&&t().createElement("span",{"aria-hidden":!0},"*"),u&&t().createElement(Fc,yf({},d,{disabled:!d}),t().createElement("span",{className:qi()("neeto-ui-label__help-icon-wrap",gf({},m,m)),onClick:f},t().createElement(h,yf({size:16},v)))))};xf.propTypes={children:Zi().node,className:Zi().string,required:Zi().bool,helpIconProps:Zi().shape({onClick:Zi().func,icon:Zi().oneOfType([Zi().element,Zi().func]),tooltipProps:Zi().shape(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?hf(Object(n),!0).forEach((function(t){gf(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):hf(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},Fc.propTypes))})};const kf=xf;var wf=["size","type","label","error","suffix","prefix","disabled","helpText","className","nakedInput","contentSize","required"];function Cf(){return Cf=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},Cf.apply(this,arguments)}function Of(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ef(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}var Sf=(0,e.forwardRef)((function(n,r){var o,i,a,s=n.size,u=void 0===s?"small":s,c=n.type,l=void 0===c?"text":c,f=n.label,p=void 0===f?"":f,d=n.error,m=void 0===d?"":d,v=n.suffix,h=void 0===v?null:v,y=n.prefix,g=void 0===y?null:y,b=n.disabled,x=void 0!==b&&b,k=n.helpText,w=void 0===k?"":k,C=n.className,O=void 0===C?"":C,E=n.nakedInput,S=void 0!==E&&E,j=n.contentSize,P=void 0===j?null:j,T=n.required,A=void 0!==T&&T,L=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}(n,wf),M=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Ef(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(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Ef(e,t):void 0}}(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.")}()}((0,e.useState)(n.value),2),_=M[0],D=M[1],V=function(t){var n=t||(uf?lf():null),r=(0,e.useState)(n),o=r[0],i=r[1];return sf((function(){null===o&&i(lf())}),[]),(0,e.useEffect)((function(){!1===uf&&(uf=!0)}),[]),null!=o?String(o):void 0}(n.id),W=null!==(o=null!==(i=n.value)&&void 0!==i?i:_)&&void 0!==o?o:"",N=n.onChange||function(e){return D(e.target.value)},R="error_".concat(V),z="helpText_".concat(V),$=(null==W?void 0:W.toString().length)||0,H=L.maxLength;return t().createElement("div",{className:qi()(["neeto-ui-input__wrapper",O])},t().createElement("div",{className:"neeto-ui-input__label-wrapper"},p&&t().createElement(kf,{required:A,"data-cy":"".concat(ff(p),"-input-label"),htmlFor:V},p),H&&t().createElement(ia,{className:"neeto-ui-input__max-length",style:"body3"},$," / ",H)),t().createElement("div",{className:qi()("neeto-ui-input",{"neeto-ui-input--naked":!!S,"neeto-ui-input--error":!!m,"neeto-ui-input--disabled":!!x,"neeto-ui-input--small":"small"===u})},g&&t().createElement("div",{className:"neeto-ui-input__prefix"},g),t().createElement("input",Cf({ref:r,id:V,type:l,disabled:x,size:P,required:A,"aria-invalid":!!m,"aria-describedby":qi()((a={},Of(a,R,!!m),Of(a,z,w),a)),"data-cy":"input-field"},L,{value:W,onChange:N})),h&&t().createElement("div",{className:"neeto-ui-input__suffix"},h)),!!m&&t().createElement("p",{"data-cy":"".concat(ff(p),"-input-error"),className:"neeto-ui-input__error",id:R},m),w&&t().createElement("p",{className:"neeto-ui-input__help-text",id:z,"data-cy":"".concat(ff(p),"-input-help")},w))}));Sf.propTypes={id:Zi().string,size:Zi().oneOf(["small","large"]),type:Zi().string,maxLength:Zi().number,label:Zi().string,error:Zi().string,suffix:Zi().node,prefix:Zi().node,disabled:Zi().bool,helpText:Zi().string,className:Zi().string,nakedInput:Zi().bool,contentSize:Zi().number,required:Zi().bool};const jf=Sf;function Pf(){return Pf=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},Pf.apply(this,arguments)}var Tf=function(n){var r=n.title,o=n.menuBarToggle,i=n.searchProps,a=n.className,s=void 0===a?"":a,u=n.actionBlock,c=n.breadcrumbs,l=void 0===c?[]:c,f=(0,e.useRef)();return t().createElement("div",{className:qi()(["neeto-ui-header",s])},t().createElement("div",{className:"neeto-ui-header__left"},o&&t().createElement(of,{onClick:o,style:"text",size:"large",className:"neeto-ui-header__toggle-menubar-btn",icon:Rl,"data-cy":"menubar-toggle-button","aria-label":"Toggle Menubar"}),l&&l.map((function(e,n){var r=e.text,o=e.link;return t().createElement("div",{className:"neeto-ui-header__breadcrumb",key:n},t().createElement(kl.Link,{to:o},t().createElement(ia,{lineHeight:"tight",style:"h2",weight:"semibold","data-test-id":r,"data-cy":r},r)),t().createElement($l,{className:"neeto-ui-header__breadcrumb-separator"}))})),t().createElement(ia,{lineHeight:"tight",style:"h2",weight:"semibold","data-test-id":"main-header","data-cy":"main-header",className:"neeto-ui-text-gray-800"},r)),t().createElement("div",{className:"neeto-ui-gap-3 neeto-ui-header__right"},i&&t().createElement(jf,Pf({ref:f,type:"search",placeholder:"Search",className:qi()(["neeto-ui-header__search-input",i.className]),prefix:t().createElement(Il,null)},i)),u))};Tf.propTypes={title:Zi().node,className:Zi().string,actionBlock:Zi().node,searchProps:Zi().object,breadcrumbs:Zi().arrayOf(Zi().shape({text:Zi().string,link:Zi().string})),menuBarToggle:Zi().func};const Af=Tf;var Lf=function(e){var n=e.className,r=void 0===n?"":n,o=e.leftActionBlock,i=e.rightActionBlock;return t().createElement("div",{className:qi()(["neeto-ui-subheader",r]),"data-testid":"subheader"},t().createElement("div",{className:"neeto-ui-subheader__left-wrapper"},o&&t().createElement("div",{className:"neeto-ui-subheader__left"},o)),i&&t().createElement("div",{className:"neeto-ui-subheader__right"},i))};Lf.propTypes={className:Zi().string,leftActionBlock:Zi().node,rightActionBlock:Zi().node};const Mf=Lf;var _f=t().forwardRef((function(e,n){var r=e.isHeaderFixed,o=void 0!==r&&r,i=e.children;return t().createElement("div",{ref:n,className:qi()("neeto-ui-container",{"neeto-ui-container--header-fixed":o})},i)}));_f.propTypes={isHeaderFixed:Zi().bool};const Df=_f;var Vf=["children","className","size"];function Wf(){return Wf=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},Wf.apply(this,arguments)}var Nf={small:"small",large:"large",viewport:"viewport"},Rf=function(e){var n,r,o,i=e.children,a=e.className,s=void 0===a?"":a,u=e.size,c=void 0===u?"small":u,l=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}(e,Vf);return t().createElement("div",Wf({className:qi()(["neeto-ui-scrollable",(n={"neeto-ui-scrollable--small":c===Nf.small,"neeto-ui-scrollable--large":c===Nf.large,"neeto-ui-scrollable--viewport":c===Nf.viewport},r=s,o=s,r in n?Object.defineProperty(n,r,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[r]=o,n)])},l),i)};Rf.propTypes={children:Zi().node,size:Zi().oneOf(Object.values(Nf)),className:Zi().string};const zf=Rf;var $f="undefined"!=typeof navigator&&navigator.userAgent.toLowerCase().indexOf("firefox")>0;function Hf(e,t,n){e.addEventListener?e.addEventListener(t,n,!1):e.attachEvent&&e.attachEvent("on".concat(t),(function(){n(window.event)}))}function If(e,t){for(var n=t.slice(0,t.length-1),r=0;r<n.length;r++)n[r]=e[n[r].toLowerCase()];return n}function Bf(e){"string"!=typeof e&&(e="");for(var t=(e=e.replace(/\s/g,"")).split(","),n=t.lastIndexOf("");n>=0;)t[n-1]+=",",t.splice(n,1),n=t.lastIndexOf("");return t}for(var Ff={backspace:8,tab:9,clear:12,enter:13,return:13,esc:27,escape:27,space:32,left:37,up:38,right:39,down:40,del:46,delete:46,ins:45,insert:45,home:36,end:35,pageup:33,pagedown:34,capslock:20,num_0:96,num_1:97,num_2:98,num_3:99,num_4:100,num_5:101,num_6:102,num_7:103,num_8:104,num_9:105,num_multiply:106,num_add:107,num_enter:108,num_subtract:109,num_decimal:110,num_divide:111,"⇪":20,",":188,".":190,"/":191,"`":192,"-":$f?173:189,"=":$f?61:187,";":$f?59:186,"'":222,"[":219,"]":221,"\\":220},Uf={"⇧":16,shift:16,"⌥":18,alt:18,option:18,"⌃":17,ctrl:17,control:17,"⌘":91,cmd:91,command:91},qf={16:"shiftKey",18:"altKey",17:"ctrlKey",91:"metaKey",shiftKey:16,ctrlKey:17,altKey:18,metaKey:91},Yf={16:!1,18:!1,17:!1,91:!1},Zf={},Xf=1;Xf<20;Xf++)Ff["f".concat(Xf)]=111+Xf;var Kf=[],Gf="all",Jf=[],Qf=function(e){return Ff[e.toLowerCase()]||Uf[e.toLowerCase()]||e.toUpperCase().charCodeAt(0)};function ep(e){Gf=e||"all"}function tp(){return Gf||"all"}var np=function(e){var t=e.key,n=e.scope,r=e.method,o=e.splitKey,i=void 0===o?"+":o;Bf(t).forEach((function(e){var t=e.split(i),o=t.length,a=t[o-1],s="*"===a?"*":Qf(a);if(Zf[s]){n||(n=tp());var u=o>1?If(Uf,t):[];Zf[s]=Zf[s].map((function(e){return r&&e.method!==r||e.scope!==n||!function(e,t){for(var n=e.length>=t.length?e:t,r=e.length>=t.length?t:e,o=!0,i=0;i<n.length;i++)-1===r.indexOf(n[i])&&(o=!1);return o}(e.mods,u)?e:{}}))}}))};function rp(e,t,n){var r;if(t.scope===n||"all"===t.scope){for(var o in r=t.mods.length>0,Yf)Object.prototype.hasOwnProperty.call(Yf,o)&&(!Yf[o]&&t.mods.indexOf(+o)>-1||Yf[o]&&-1===t.mods.indexOf(+o))&&(r=!1);(0!==t.mods.length||Yf[16]||Yf[18]||Yf[17]||Yf[91])&&!r&&"*"!==t.shortcut||!1===t.method(e,t)&&(e.preventDefault?e.preventDefault():e.returnValue=!1,e.stopPropagation&&e.stopPropagation(),e.cancelBubble&&(e.cancelBubble=!0))}}function op(e){var t=Zf["*"],n=e.keyCode||e.which||e.charCode;if(ip.filter.call(this,e)){if(93!==n&&224!==n||(n=91),-1===Kf.indexOf(n)&&229!==n&&Kf.push(n),["ctrlKey","altKey","shiftKey","metaKey"].forEach((function(t){var n=qf[t];e[t]&&-1===Kf.indexOf(n)?Kf.push(n):!e[t]&&Kf.indexOf(n)>-1?Kf.splice(Kf.indexOf(n),1):"metaKey"===t&&e[t]&&3===Kf.length&&(e.ctrlKey||e.shiftKey||e.altKey||(Kf=Kf.slice(Kf.indexOf(n))))})),n in Yf){for(var r in Yf[n]=!0,Uf)Uf[r]===n&&(ip[r]=!0);if(!t)return}for(var o in Yf)Object.prototype.hasOwnProperty.call(Yf,o)&&(Yf[o]=e[qf[o]]);e.getModifierState&&(!e.altKey||e.ctrlKey)&&e.getModifierState("AltGraph")&&(-1===Kf.indexOf(17)&&Kf.push(17),-1===Kf.indexOf(18)&&Kf.push(18),Yf[17]=!0,Yf[18]=!0);var i=tp();if(t)for(var a=0;a<t.length;a++)t[a].scope===i&&("keydown"===e.type&&t[a].keydown||"keyup"===e.type&&t[a].keyup)&&rp(e,t[a],i);if(n in Zf)for(var s=0;s<Zf[n].length;s++)if(("keydown"===e.type&&Zf[n][s].keydown||"keyup"===e.type&&Zf[n][s].keyup)&&Zf[n][s].key){for(var u=Zf[n][s],c=u.splitKey,l=u.key.split(c),f=[],p=0;p<l.length;p++)f.push(Qf(l[p]));f.sort().join("")===Kf.sort().join("")&&rp(e,u,i)}}}function ip(e,t,n){Kf=[];var r=Bf(e),o=[],i="all",a=document,s=0,u=!1,c=!0,l="+";for(void 0===n&&"function"==typeof t&&(n=t),"[object Object]"===Object.prototype.toString.call(t)&&(t.scope&&(i=t.scope),t.element&&(a=t.element),t.keyup&&(u=t.keyup),void 0!==t.keydown&&(c=t.keydown),"string"==typeof t.splitKey&&(l=t.splitKey)),"string"==typeof t&&(i=t);s<r.length;s++)o=[],(e=r[s].split(l)).length>1&&(o=If(Uf,e)),(e="*"===(e=e[e.length-1])?"*":Qf(e))in Zf||(Zf[e]=[]),Zf[e].push({keyup:u,keydown:c,scope:i,mods:o,shortcut:r[s],method:n,key:r[s],splitKey:l});void 0!==a&&!function(e){return Jf.indexOf(e)>-1}(a)&&window&&(Jf.push(a),Hf(a,"keydown",(function(e){op(e)})),Hf(window,"focus",(function(){Kf=[]})),Hf(a,"keyup",(function(e){op(e),function(e){var t=e.keyCode||e.which||e.charCode,n=Kf.indexOf(t);if(n>=0&&Kf.splice(n,1),e.key&&"meta"===e.key.toLowerCase()&&Kf.splice(0,Kf.length),93!==t&&224!==t||(t=91),t in Yf)for(var r in Yf[t]=!1,Uf)Uf[r]===t&&(ip[r]=!1)}(e)})))}var ap={setScope:ep,getScope:tp,deleteScope:function(e,t){var n,r;for(var o in e||(e=tp()),Zf)if(Object.prototype.hasOwnProperty.call(Zf,o))for(n=Zf[o],r=0;r<n.length;)n[r].scope===e?n.splice(r,1):r++;tp()===e&&ep(t||"all")},getPressedKeyCodes:function(){return Kf.slice(0)},isPressed:function(e){return"string"==typeof e&&(e=Qf(e)),-1!==Kf.indexOf(e)},filter:function(e){var t=e.target||e.srcElement,n=t.tagName,r=!0;return!t.isContentEditable&&("INPUT"!==n&&"TEXTAREA"!==n&&"SELECT"!==n||t.readOnly)||(r=!1),r},unbind:function(e){if(e){if(Array.isArray(e))e.forEach((function(e){e.key&&np(e)}));else if("object"==typeof e)e.key&&np(e);else if("string"==typeof e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var o=n[0],i=n[1];"function"==typeof o&&(i=o,o=""),np({key:e,scope:o,method:i,splitKey:"+"})}}else Object.keys(Zf).forEach((function(e){return delete Zf[e]}))}};for(var sp in ap)Object.prototype.hasOwnProperty.call(ap,sp)&&(ip[sp]=ap[sp]);if("undefined"!=typeof window){var up=window.hotkeys;ip.noConflict=function(e){return e&&window.hotkeys===ip&&(window.hotkeys=up),ip},window.hotkeys=ip}const cp=ip;cp.filter=function(){return!0};var lp=function(e,t){var n=e.target,r=n&&n.tagName;return Boolean(r&&t&&t.includes(r))};var fp=["size","color","strokeWidth"];function pp(e){var t=e.size,n=e.color,r=e.strokeWidth,o=ua(e,fp);return qa.createElement("svg",sa({viewBox:"0 0 24 24",fill:"none",height:t,width:t},o),qa.createElement("path",{d:"M10.013 5.988L4.00201 12L10.013 18.012M4.01001 11.98H19H4.01001Z",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}))}pp.defaultProps={color:"currentColor",size:24,strokeWidth:"1.5"},pp.propTypes={color:bs.string,size:bs.oneOfType([bs.string,bs.number]),strokeWidth:bs.oneOfType([bs.string,bs.number])};var dp=["size","color","strokeWidth"];function mp(e){var t=e.size,n=e.color,r=e.strokeWidth,o=ua(e,dp);return qa.createElement("svg",sa({viewBox:"0 0 24 24",fill:"none",height:t,width:t},o),qa.createElement("path",{d:"M17.5 9L9 17.5L5 13.5",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}))}mp.defaultProps={color:"currentColor",size:24,strokeWidth:"1.5"},mp.propTypes={color:bs.string,size:bs.oneOfType([bs.string,bs.number]),strokeWidth:bs.oneOfType([bs.string,bs.number])};const vp=function(e){var n,r,o,i=e.name,a=e.url,s=e.icon,u=e.environment,c=e.activeApp,l=s;return t().createElement("a",{href:a[u],target:"_blank",className:qi()("neeto-ui-app-switcher-link",{"neeto-ui-app-switcher-link--active":c===i}),rel:"noreferrer","data-test-id":"neetoapp-link-".concat(i),"data-cy":"".concat(i,"-app-link")},t().createElement("div",{className:"neeto-ui-app-switcher-link__row"},t().createElement("div",{className:qi()("neeto-ui-app-switcher-link__icon-holder",(n={},r="gradient--".concat(i.toLowerCase()),o=i,r in n?Object.defineProperty(n,r,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[r]=o,n))},l&&t().createElement(l,{color:"white",className:"neeto-ui-app-switcher-link__icon"})),t().createElement(ia,{style:"h4",weight:"semibold",component:"span",className:"neeto-ui-text-gray-600 neeto-ui-app-switcher-link__title"},i),c===i&&t().createElement("span",{className:"neeto-ui-app-switcher-link__check-icon neeto-ui-text-gray-800"},t().createElement(mp,{size:"22"}))))};var hp=["size","color","strokeWidth"];function yp(e){var t=e.size,n=e.color,r=e.strokeWidth,o=ua(e,hp);return qa.createElement("svg",sa({viewBox:"0 0 24 24",fill:"none",height:t,width:t},o),qa.createElement("path",{d:"M21 12C21 14.3869 20.0518 16.6761 18.364 18.364C16.6761 20.0518 14.3869 21 12 21",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}),qa.createElement("path",{d:"M3 12C3 9.61305 3.94821 7.32387 5.63604 5.63604C7.32387 3.94821 9.61305 3 12 3",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}),qa.createElement("path",{d:"M3 11.9996C3.00014 13.0538 3.18764 14.0996 3.55376 15.0882C3.63489 15.3106 3.7916 15.4975 3.9965 15.6162C4.20141 15.7349 4.44151 15.7779 4.67486 15.7376L5.66105 15.5637C6.04448 15.4961 6.3866 15.282 6.6151 14.9668C6.8436 14.6515 6.94056 14.2598 6.8855 13.8744L6.58868 11.7966C6.56024 11.5976 6.49205 11.4062 6.38818 11.234C6.28431 11.0618 6.14688 10.9123 5.98405 10.7943C5.82122 10.6762 5.63633 10.5922 5.44035 10.547C5.24438 10.5019 5.04134 10.4967 4.84329 10.5316L3.0827 10.842",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}),qa.createElement("path",{d:"M21 12C21 9.61305 20.0518 7.32387 18.364 5.63604C16.6761 3.94821 14.3869 3 12 3",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}),qa.createElement("path",{d:"M21 11.9996C20.9999 13.0538 20.8124 14.0996 20.4462 15.0882C20.3651 15.3106 20.2084 15.4975 20.0035 15.6162C19.7986 15.7349 19.5585 15.7779 19.3251 15.7376L18.339 15.5637C17.9555 15.4961 17.6134 15.282 17.3849 14.9668C17.1564 14.6515 17.0594 14.2598 17.1145 13.8744L17.4113 11.7966C17.4398 11.5976 17.508 11.4062 17.6118 11.234C17.7157 11.0618 17.8531 10.9123 18.016 10.7943C18.1788 10.6762 18.3637 10.5922 18.5597 10.547C18.7556 10.5019 18.9587 10.4967 19.1567 10.5316L20.9173 10.842",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}),qa.createElement("path",{d:"M13.4925 12.4912C13.491 12.4912 13.4896 12.4917 13.4884 12.4925C13.4871 12.4933 13.4862 12.4945 13.4856 12.4958C13.4851 12.4972 13.4849 12.4987 13.4852 12.5001C13.4855 12.5016 13.4862 12.5029 13.4872 12.504C13.4883 12.505 13.4896 12.5057 13.4911 12.506C13.4925 12.5063 13.494 12.5062 13.4954 12.5056C13.4967 12.505 13.4979 12.5041 13.4987 12.5028C13.4995 12.5016 13.5 12.5002 13.5 12.4987C13.5 12.4977 13.4999 12.4967 13.4995 12.4958C13.4992 12.4948 13.4986 12.494 13.4979 12.4933C13.4972 12.4926 13.4964 12.492 13.4955 12.4917C13.4945 12.4913 13.4935 12.4912 13.4925 12.4912",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}),qa.createElement("path",{d:"M10.5075 12.4942C10.506 12.4942 10.5045 12.4946 10.5033 12.4954C10.5021 12.4962 10.5011 12.4974 10.5006 12.4988C10.5 12.5001 10.4999 12.5016 10.5001 12.5031C10.5004 12.5045 10.5011 12.5059 10.5022 12.5069C10.5032 12.508 10.5046 12.5087 10.506 12.509C10.5075 12.5092 10.509 12.5091 10.5103 12.5085C10.5117 12.508 10.5129 12.507 10.5137 12.5058C10.5145 12.5045 10.5149 12.5031 10.5149 12.5016C10.515 12.5006 10.5149 12.4996 10.5145 12.4987C10.5142 12.4977 10.5136 12.4969 10.5129 12.4962C10.5122 12.4955 10.5113 12.4949 10.5104 12.4946C10.5095 12.4942 10.5085 12.4941 10.5075 12.4942",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}))}yp.defaultProps={color:"currentColor",size:24,strokeWidth:"1.5"},yp.propTypes={color:bs.string,size:bs.oneOfType([bs.string,bs.number]),strokeWidth:bs.oneOfType([bs.string,bs.number])};var gp=["size","color","strokeWidth"];function bp(e){var t=e.size,n=e.color,r=e.strokeWidth,o=ua(e,gp);return qa.createElement("svg",sa({viewBox:"0 0 24 24",fill:"none",height:t,width:t},o),qa.createElement("path",{d:"M12 4C7.03 4 3 7.35868 3 11.4971C3.03694 12.7249 3.39056 13.9223 4.02657 14.9731C4.66258 16.024 5.55939 16.8926 6.63 17.4948C6.41369 18.0826 6.11292 18.6358 5.73714 19.1369C5.63591 19.2847 5.58282 19.4601 5.58511 19.6392C5.58741 19.8184 5.64498 19.9924 5.74996 20.1376C5.85494 20.2827 6.00219 20.3919 6.17159 20.4501C6.34098 20.5084 6.52424 20.5129 6.6963 20.4631C7.89863 20.113 9.03031 19.555 10.04 18.8143C10.6863 18.9354 11.3425 18.9956 12 18.9942C16.97 18.9942 21 15.6355 21 11.4971C21 7.35869 16.97 4 12 4Z",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}),qa.createElement("path",{d:"M9 10H15",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}),qa.createElement("path",{d:"M9 13H12",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}))}bp.defaultProps={color:"currentColor",size:24,strokeWidth:"1.5"},bp.propTypes={color:bs.string,size:bs.oneOfType([bs.string,bs.number]),strokeWidth:bs.oneOfType([bs.string,bs.number])};var xp=["size","color","strokeWidth"];function kp(e){var t=e.size,n=e.color,r=e.strokeWidth,o=ua(e,xp);return qa.createElement("svg",sa({viewBox:"0 0 24 24",fill:"none",height:t,width:t},o),qa.createElement("path",{d:"M18.414 6.414L15.586 3.586C15.211 3.211 14.702 3 14.172 3H7C5.895 3 5 3.895 5 5V19C5 20.105 5.895 21 7 21H17C18.105 21 19 20.105 19 19V7.828C19 7.298 18.789 6.789 18.414 6.414V6.414Z",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}),qa.createElement("path",{d:"M19 8H15C14.448 8 14 7.552 14 7V3",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}),qa.createElement("path",{d:"M10.5 18H13.5",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}),qa.createElement("path",{d:"M12 12V18",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}),qa.createElement("path",{d:"M9 13.5V12.5C9 12.224 9.224 12 9.5 12H14.5C14.776 12 15 12.224 15 12.5V13.5",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}))}kp.defaultProps={color:"currentColor",size:24,strokeWidth:"1.5"},kp.propTypes={color:bs.string,size:bs.oneOfType([bs.string,bs.number]),strokeWidth:bs.oneOfType([bs.string,bs.number])};var wp=["size","color","strokeWidth"];function Cp(e){var t=e.size,n=e.color,r=e.strokeWidth,o=ua(e,wp);return qa.createElement("svg",sa({viewBox:"0 0 24 24",fill:"none",height:t,width:t},o),qa.createElement("path",{d:"M17 2V2C19.7614 2 22 4.23858 22 7C22 9.76142 19.7614 12 17 12C14.2386 12 12 9.76142 12 7V7C12 4.23858 14.2386 2 17 2",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}),qa.createElement("path",{d:"M20 14.0003V14.3753V14.3753C20 15.9399 18.7316 17.2083 17.167 17.2083H12.445L7.723 20.9863V17.2083H5.833H5.833C4.26838 17.2083 3 15.9399 3 14.3753V6.81933V6.81933C3 5.25471 4.26838 3.98633 5.833 3.98633H10",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}),qa.createElement("path",{d:"M18.358 6.94449C18.3283 6.94226 18.3023 6.96456 18.3001 6.9943C18.3 6.99636 18.2999 6.99843 18.3 7.00049C18.3 7.03142 18.3251 7.05648 18.356 7.05648C18.3869 7.05648 18.412 7.03141 18.412 7.00048C18.412 6.96955 18.3869 6.94448 18.356 6.94448M18.356 6.94448V6.94448Z",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}),qa.createElement("path",{d:"M15.642 6.94434C15.6111 6.94544 15.587 6.97139 15.5881 7.0023C15.5892 7.03321 15.6151 7.05737 15.646 7.05626C15.6762 7.05519 15.7 7.03047 15.7 7.00034C15.7 6.96979 15.6756 6.94488 15.645 6.94434",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}))}Cp.defaultProps={color:"currentColor",size:24,strokeWidth:"1.5"},Cp.propTypes={color:bs.string,size:bs.oneOfType([bs.string,bs.number]),strokeWidth:bs.oneOfType([bs.string,bs.number])};var Op=["size","color","strokeWidth"];function Ep(e){var t=e.size,n=e.color,r=e.strokeWidth,o=ua(e,Op);return qa.createElement("svg",sa({viewBox:"0 0 24 24",fill:"none",height:t,width:t},o),qa.createElement("path",{d:"M18 3H6C4.34315 3 3 4.34315 3 6V18C3 19.6569 4.34315 21 6 21H18C19.6569 21 21 19.6569 21 18V6C21 4.34315 19.6569 3 18 3Z",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}),qa.createElement("path",{d:"M10 7H7.5C7.22386 7 7 7.22386 7 7.5V10C7 10.2761 7.22386 10.5 7.5 10.5H10C10.2761 10.5 10.5 10.2761 10.5 10V7.5C10.5 7.22386 10.2761 7 10 7Z",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}),qa.createElement("path",{d:"M13.5 7H17",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}),qa.createElement("path",{d:"M13.5 10.3301H17",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}),qa.createElement("path",{d:"M10 13.5H7.5C7.22386 13.5 7 13.7239 7 14V16.5C7 16.7761 7.22386 17 7.5 17H10C10.2761 17 10.5 16.7761 10.5 16.5V14C10.5 13.7239 10.2761 13.5 10 13.5Z",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}),qa.createElement("path",{d:"M13.5 13.5H17",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}),qa.createElement("path",{d:"M13.5 16.8301H17",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}))}Ep.defaultProps={color:"currentColor",size:24,strokeWidth:"1.5"},Ep.propTypes={color:bs.string,size:bs.oneOfType([bs.string,bs.number]),strokeWidth:bs.oneOfType([bs.string,bs.number])};var Sp=["size","color","strokeWidth"];function jp(e){var t=e.size,n=e.color;e.strokeWidth;var r=ua(e,Sp);return qa.createElement("svg",sa({viewBox:"0 0 24 24",fill:"none",height:t,width:t},r),qa.createElement("path",{d:"M19.1863 9.2727C19.1863 9.99647 19.1863 10.7171 19.1863 11.444C19.1863 12.171 19.1863 12.8916 19.2049 13.6153C19.2386 14.218 19.1257 14.8198 18.8765 15.367C18.6184 15.8937 18.1759 16.3019 17.637 16.5104C17.0343 16.7591 16.4873 16.8557 15.9435 16.7401C15.3997 16.6245 14.859 16.2982 14.2625 15.7027C13.2068 14.6416 12.1543 13.5747 11.1049 12.502C10.0555 11.4292 9.00757 10.3592 7.96124 9.29171C7.79717 9.10072 7.61268 8.92913 7.41122 8.78016C7.30188 8.7087 7.17715 8.66559 7.04782 8.65455C6.9185 8.64351 6.7885 8.66488 6.66908 8.71681C6.53476 8.75956 6.41264 8.83511 6.3133 8.93694C6.21396 9.03876 6.14037 9.16379 6.09892 9.30121C6.03142 9.57268 6.00375 9.85289 6.0168 10.1327C6.0168 11.3152 6.02042 12.4993 6.02765 13.685C6.02765 14.8697 6.02765 16.0606 6.0075 17.2389C5.99528 17.5357 6.04547 17.8316 6.15469 18.1068C6.25958 18.3623 6.44947 18.5715 6.69077 18.6976C6.81331 18.7641 6.94926 18.8007 7.08796 18.8046C7.22666 18.8084 7.36435 18.7794 7.49024 18.7198C7.75031 18.5975 7.98613 18.4273 8.1859 18.2177C8.6662 17.7405 9.14392 17.2601 9.61905 16.7765C10.0942 16.2929 10.5616 15.8041 11.0212 15.3099C11.1103 15.2033 11.2191 15.1156 11.3414 15.052C11.4637 14.9884 11.5971 14.9501 11.7339 14.9393C11.9921 14.9406 12.2434 15.0242 12.4528 15.1785C12.6511 15.3115 12.7426 15.5982 12.7364 15.9007C12.7377 16.2033 12.6301 16.4958 12.4342 16.7226C11.8641 17.3118 11.2986 17.9089 10.7299 18.498C10.1613 19.0872 9.57877 19.67 8.98072 20.2291C8.54153 20.6553 7.97762 20.9223 7.37559 20.9893C6.77021 21.0371 6.16299 20.9247 5.61242 20.663C5.10855 20.4603 4.67981 20.1007 4.38688 19.6352C4.11249 19.1508 3.97918 18.5964 4.00264 18.0372C4.01658 16.5769 4.01503 15.1167 4.01348 13.6549C4.01193 12.1931 4.01348 10.7345 4.01348 9.2727C4.00128 8.69191 4.11948 8.11599 4.35899 7.58918C4.61201 7.07012 5.05006 6.66996 5.58298 6.47105C6.13553 6.23868 6.74262 6.17701 7.32911 6.29367C7.9335 6.43863 8.48137 6.76582 8.9017 7.23284C9.96456 8.34146 11.0367 9.44269 12.1182 10.5365C13.1996 11.6304 14.278 12.7263 15.3532 13.8244C15.4998 13.9882 15.6683 14.13 15.8537 14.2457C15.9468 14.3006 16.0506 14.3338 16.1577 14.3431C16.2648 14.3524 16.3726 14.3375 16.4734 14.2995C16.6678 14.2401 16.8443 14.1311 16.9862 13.9828C17.1305 13.8059 17.2026 13.579 17.1877 13.3493C17.1722 12.0142 17.1722 10.6854 17.1722 9.35664C17.1722 8.02788 17.1722 6.69753 17.1722 5.36877C17.1819 5.16803 17.1508 4.9674 17.0808 4.77961C17.0365 4.68434 16.9744 4.59893 16.8978 4.52827C16.8212 4.45761 16.7318 4.40309 16.6345 4.36784C16.4456 4.27647 16.2393 4.22888 16.0303 4.22847C15.8152 4.24378 15.6102 4.32802 15.4446 4.4692C14.8593 4.93907 14.3084 5.45198 13.7961 6.00385C13.2771 6.54549 12.7704 7.10138 12.2282 7.62085C12.0264 7.84331 11.7585 7.99141 11.4659 8.04213C11.3372 8.04946 11.2086 8.02659 11.0899 7.97525C10.9712 7.92392 10.8655 7.84549 10.7811 7.74597C10.6812 7.64671 10.603 7.52692 10.5518 7.39452C10.5005 7.26212 10.4772 7.1201 10.4836 6.97785C10.5039 6.67123 10.6361 6.38357 10.8539 6.17173C11.4024 5.61214 11.9498 5.05254 12.4962 4.49295C13.0426 3.93336 13.5926 3.378 14.1463 2.82685C14.4931 2.4971 14.911 2.25534 15.3661 2.12109C15.8212 1.98683 16.3008 1.96385 16.7662 2.05398C17.2334 2.12126 17.6785 2.29959 18.066 2.57464C18.4535 2.8497 18.7725 3.21381 18.9973 3.63773C19.0662 3.77419 19.1183 3.9189 19.1522 4.06851C19.1853 4.21976 19.2009 4.37443 19.1987 4.52938C19.1925 5.31809 19.1925 6.10996 19.1987 6.905C19.2049 7.70004 19.2008 8.48927 19.1863 9.2727Z",fill:n}))}jp.defaultProps={color:"currentColor",size:24,strokeWidth:"1.5"},jp.propTypes={color:bs.string,size:bs.oneOfType([bs.string,bs.number]),strokeWidth:bs.oneOfType([bs.string,bs.number])};var Pp=["size","color","strokeWidth"];function Tp(e){var t=e.size,n=e.color,r=e.strokeWidth,o=ua(e,Pp);return qa.createElement("svg",sa({viewBox:"0 0 24 24",fill:"none",height:t,width:t},o),qa.createElement("path",{d:"M21 7V17C21 19.209 19.209 21 17 21H7C4.791 21 3 19.209 3 17V7C3 4.791 4.791 3 7 3H17C19.209 3 21 4.791 21 7Z",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}),qa.createElement("path",{d:"M21 12.0003H16.309C16.12 12.0003 15.946 12.1073 15.862 12.2763L14.447 15.1053C14.263 15.4743 13.737 15.4743 13.553 15.1053L10.43 8.86127C10.249 8.49927 9.735 8.49127 9.543 8.84727L7.984 11.7373C7.896 11.8993 7.727 12.0003 7.544 12.0003H3",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}))}Tp.defaultProps={color:"currentColor",size:24,strokeWidth:"1.5"},Tp.propTypes={color:bs.string,size:bs.oneOfType([bs.string,bs.number]),strokeWidth:bs.oneOfType([bs.string,bs.number])};var Ap=["size","color","strokeWidth"];function Lp(e){var t=e.size,n=e.color,r=e.strokeWidth,o=ua(e,Ap);return qa.createElement("svg",sa({viewBox:"0 0 24 24",fill:"none",height:t,width:t},o),qa.createElement("path",{d:"M9.167 20.5H4.444C3.922 20.5 3.5 20.077 3.5 19.556V15.778C3.5 15.256 3.923 14.834 4.444 14.834H9.166L9.167 20.5ZM14.833 4.444V20.5H19.555C20.077 20.5 20.499 20.077 20.499 19.556V4.444C20.499 3.922 20.076 3.5 19.555 3.5H15.777C15.256 3.5 14.833 3.923 14.833 4.444V4.444Z",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}),qa.createElement("path",{d:"M14.833 20.5H9.166V10.111C9.166 9.58899 9.589 9.16699 10.11 9.16699H14.832",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}))}Lp.defaultProps={color:"currentColor",size:24,strokeWidth:"1.5"},Lp.propTypes={color:bs.string,size:bs.oneOfType([bs.string,bs.number]),strokeWidth:bs.oneOfType([bs.string,bs.number])};var Mp=["size","color","strokeWidth"];function _p(e){var t=e.size,n=e.color,r=e.strokeWidth,o=ua(e,Mp);return qa.createElement("svg",sa({viewBox:"0 0 26 26",fill:"none",height:t,width:t},o),qa.createElement("g",{filter:"url(#filter0_d)"},qa.createElement("path",{d:"M10.6857 9.68568C10.8005 9.19071 11.0846 8.75139 11.4889 8.44362C11.8932 8.13584 12.3923 7.97894 12.9 8.00001C13.4631 7.96882 14.0157 8.16159 14.4372 8.53627C14.8587 8.91095 15.115 9.43713 15.15 10C15.15 11.5039 13 12 13 13",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}),qa.createElement("path",{d:"M5.63148 17.1583C4.33769 15.3116 3.78301 13.047 4.07688 10.8115C4.37075 8.57588 5.49183 6.53162 7.21892 5.08203C8.94602 3.63244 11.1537 2.8828 13.4064 2.981C15.659 3.07921 17.7931 4.01813 19.3875 5.61252C20.9819 7.20692 21.9208 9.34098 22.019 11.5936C22.1172 13.8463 21.3676 16.054 19.918 17.7811C18.4684 19.5082 16.4241 20.6293 14.1885 20.9231C11.953 21.217 9.68844 20.6623 7.84175 19.3685L5.00001 20L5.63148 17.1583Z",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}),qa.createElement("circle",{cx:"12.75",cy:"15.75",r:"0.75",fill:n})),qa.createElement("defs",null,qa.createElement("filter",{id:"filter0_d",x:"-2",y:"-2",width:"30",height:"30",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},qa.createElement("feFlood",{result:"BackgroundImageFix",floodOpacity:"0"}),qa.createElement("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"}),qa.createElement("feMorphology",{radius:"1",operator:"erode",in:"SourceAlpha",result:"effect1_dropShadow"}),qa.createElement("feOffset",{dy:"1"}),qa.createElement("feGaussianBlur",{stdDeviation:"2"}),qa.createElement("feColorMatrix",{type:"matrix",values:"0 0 0 0 0.109804 0 0 0 0 0.188235 0 0 0 0 0.290196 0 0 0 0.12 0"}),qa.createElement("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow"}),qa.createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow",result:"shape"}))))}_p.defaultProps={color:"currentColor",size:24,strokeWidth:"1.5"},_p.propTypes={color:bs.string,size:bs.oneOfType([bs.string,bs.number]),strokeWidth:bs.oneOfType([bs.string,bs.number])};var Dp=["size","color","strokeWidth"];function Vp(e){var t=e.size,n=e.color,r=e.strokeWidth,o=ua(e,Dp);return qa.createElement("svg",sa({viewBox:"0 0 24 24",fill:"none",height:t,width:t},o),qa.createElement("path",{d:"M9.61801 3H14.382V3C14.9343 3 15.382 3.44772 15.382 4.00001C15.382 4.15525 15.3459 4.30836 15.2764 4.44721L14 7H10L8.72362 4.44721V4.44721C8.47663 3.95323 8.67686 3.35256 9.17084 3.10557C9.30968 3.03615 9.46278 3.00001 9.61801 3V3Z",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}),qa.createElement("path",{d:"M9.99969 6.99769L8.0144 18.581V18.581C7.95102 18.9508 8.09994 19.325 8.40009 19.5501L11.3999 21.8V21.8C11.7555 22.0667 12.2445 22.0667 12.6001 21.8L15.5999 19.5501V19.5501C15.9001 19.325 16.049 18.9508 15.9856 18.5811L14.0003 6.99765",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}))}Vp.defaultProps={color:"currentColor",size:24,strokeWidth:"1.5"},Vp.propTypes={color:bs.string,size:bs.oneOfType([bs.string,bs.number]),strokeWidth:bs.oneOfType([bs.string,bs.number])};var Wp=["size","color","strokeWidth"];function Np(e){var t=e.size,n=e.color,r=e.strokeWidth,o=ua(e,Wp);return qa.createElement("svg",sa({viewBox:"0 0 24 24",fill:"none",height:t,width:t},o),qa.createElement("path",{d:"M11.206 9.11501L14.9 11.3C15.432 11.615 15.432 12.385 14.9 12.7L11.205 14.885C10.663 15.206 9.978 14.815 9.978 14.185V9.81501C9.978 9.18501 10.664 8.79401 11.206 9.11501V9.11501Z",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}),qa.createElement("path",{d:"M7.327 17.364L5.636 18.364C9.151 21.879 14.849 21.879 18.364 18.364C20.861 15.867 21.575 12.27 20.523 9.13401M16.673 6.63601L18.364 5.63601C14.849 2.12101 9.151 2.12101 5.636 5.63601C3.139 8.13301 2.425 11.731 3.477 14.866",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}))}Np.defaultProps={color:"currentColor",size:24,strokeWidth:"1.5"},Np.propTypes={color:bs.string,size:bs.oneOfType([bs.string,bs.number]),strokeWidth:bs.oneOfType([bs.string,bs.number])};var Rp=["size","color","strokeWidth"];function zp(e){var t=e.size,n=e.color,r=e.strokeWidth,o=ua(e,Rp);return qa.createElement("svg",sa({viewBox:"0 0 19 21",fill:"none",height:t,width:t},o),qa.createElement("path",{d:"M1.5 9.13701V4.43701V4.43696C1.49892 3.33047 2.39357 2.43184 3.50005 2.42801V2.42801C4.60462 2.42801 5.50005 3.32344 5.50005 4.42801V4.42801V9.00501M1.5 5.91001H5.5H1.5Z",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}),qa.createElement("path",{d:"M8.25 9V1H13V9",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}),qa.createElement("path",{d:"M14 16H15.5V16C16.8807 16 18 14.8807 18 13.5V12.055C18 10.9504 17.1046 10.055 16 10.055H13.833",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}),qa.createElement("path",{d:"M2 9H12.833V9C13.3853 9 13.833 9.44771 13.833 10V16.333V16.333C13.833 18.3578 12.1918 19.9995 10.167 20H4.667V20C2.64177 20 1 18.3582 1 16.333V10V10C1 9.44771 1.44771 9 2 9V9Z",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}),qa.createElement("path",{d:"M12.25 3.84H10.75",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}),qa.createElement("path",{d:"M12.25 6.34H11.75",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}))}zp.defaultProps={color:"currentColor",size:24,strokeWidth:"1.5"},zp.propTypes={color:bs.string,size:bs.oneOfType([bs.string,bs.number]),strokeWidth:bs.oneOfType([bs.string,bs.number])};var $p=["size","color","strokeWidth"];function Hp(e){var t=e.size,n=e.color,r=e.strokeWidth,o=ua(e,$p);return qa.createElement("svg",sa({viewBox:"0 0 24 24",fill:"none",height:t,width:t},o),qa.createElement("path",{d:"M7 13H17M7 17H17M3 8H20.954",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}),qa.createElement("path",{d:"M5 3C3.895 3 3 3.895 3 5V19C3 20.105 3.895 21 5 21H19C20.105 21 21 20.105 21 19V5C21 3.895 20.105 3 19 3H5Z",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}))}function Ip(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}Hp.defaultProps={color:"currentColor",size:24,strokeWidth:"1.5"},Hp.propTypes={color:bs.string,size:bs.oneOfType([bs.string,bs.number]),strokeWidth:bs.oneOfType([bs.string,bs.number])};const Bp=function(n){var r=n.environment,o=n.activeApp,i=n.subdomain,a=n.neetoApps,s=void 0===a?[]:a,u=n.recentApps,c=n.onClose,l=function(e){return[{name:"Desk",icon:yp,description:"Customer support app",url:{development:"http://spinkart.lvh.me:9001",staging:"https://".concat(e,".neetodesk.net"),production:"https://".concat(e,".neetodesk.com")}},{name:"Chat",icon:bp,description:"Customer chat app",url:{development:"http://spinkart.lvh.me:9006",staging:"https://".concat(e,".neetochat.net"),production:"https://".concat(e,".neetochat.com")}},{name:"KB",icon:kp,description:"Knowledge Base App",url:{development:"http://spinkart.lvh.me:9005/admin",staging:"https://".concat(e,".neetokb.net/admin"),production:"https://".concat(e,".neetokb.com/admin")}},{name:"Form",icon:Cp,description:"Form management app",url:{development:"http://spinkart.lvh.me:9004",staging:"https://".concat(e,".neetoform.net"),production:"https://".concat(e,".neetoform.com")}},{name:"Changelog",icon:Ep,description:"Changelog management app",url:{development:"http://spinkart.lvh.me:9003",staging:"https://".concat(e,".neetochangelog.net"),production:"https://".concat(e,".neetochangelog.com")}},{name:"Invoice",icon:jp,description:"Invoice management app",url:{development:"http://spinkart.lvh.me:9024",staging:"https://".concat(e,".neetoinvoice.net"),production:"https://".concat(e,".neetoinvoice.com")}},{name:"Analytics",icon:Tp,description:"Business Analytics App",url:{development:"http://spinkart.lvh.me:9007",staging:"https://".concat(e,".neetoanalytics.net"),production:"https://".concat(e,".neetoanalytics.com")}},{name:"Engage",icon:Cp,description:"Customer Engagement App",url:{development:"http://spinkart.lvh.me:9009",staging:"https://".concat(e,".neetoengage.net"),production:"https://".concat(e,".neetoengage.com")}},{name:"Grow",icon:Lp,description:"Business Grow App",url:{development:"http://spinkart.lvh.me:9010",staging:"https://".concat(e,".neetogrow.net"),production:"https://".concat(e,".neetogrow.com")}},{name:"Quiz",icon:_p,description:"Quiz App",url:{development:"http://spinkart.lvh.me:9011",staging:"https://".concat(e,".neetoquiz.net"),production:"https://".concat(e,".neetoquiz.com")}},{name:"Runner",icon:Vp,description:"Interview App",url:{development:"http://spinkart.lvh.me:9012",staging:"https://".concat(e,".neetorunner.net"),production:"https://".concat(e,".neetorunner.com")}},{name:"Planner",icon:Cp,description:"Planner App",url:{development:"http://spinkart.lvh.me:9013",staging:"https://".concat(e,".neetoplanner.net"),production:"https://".concat(e,".neetoplanner.com")}},{name:"Replay",icon:Np,description:"Replay App",url:{development:"http://spinkart.lvh.me:9020",staging:"https://".concat(e,".neetoreplay.net"),production:"https://".concat(e,".neetoreplay.com")}},{name:"Wireframe",icon:zp,description:"Wireframe App",url:{development:"http://spinkart.lvh.me:9021",staging:"https://".concat(e,".neetowireframe.net"),production:"https://".concat(e,".neetowireframe.com")}},{name:"Invisible",icon:Hp,description:"Invisible",url:{development:"http://spinkart.lvh.me:9014",staging:"https://".concat(e,".neetoinvisible.net"),production:"https://".concat(e,".neetoinvisible.com")}},{name:"Popups",icon:jp,description:"Popups App",url:{development:"http://spinkart.lvh.me:9021",staging:"https://".concat(e,".neetopopups.net"),production:"https://".concat(e,".neetopopups.com")}},{name:"Store",icon:jp,description:"Store App",url:{development:"http://spinkart.lvh.me:9025",staging:"https://".concat(e,".neetostore.net"),production:"https://".concat(e,".neetostore.com")}},{name:"CRM",icon:jp,description:"CRM App",url:{development:"http://spinkart.lvh.me:9017",staging:"https://".concat(e,".neetocrm.net"),production:"https://".concat(e,".neetocrm.com")}},{name:"Course",icon:jp,description:"Course App",url:{development:"http://spinkart.lvh.me:9016",staging:"https://".concat(e,".neetocourse.net"),production:"https://".concat(e,".neetocourse.com")}},{name:"Hr",icon:jp,description:"Hr App",url:{development:"http://spinkart.lvh.me:9015",staging:"https://".concat(e,".neetohr.net"),production:"https://".concat(e,".neetohr.com")}},{name:"Cal",icon:jp,description:"Calender app",url:{development:"http://spinkart.lvh.me:9026",staging:"https://".concat(e,".neetocal.net"),production:"https://".concat(e,".neetocal.com")}}]}(i),f=[],p=[];s instanceof Array&&s.length>0&&(f=l.filter((function(e){return s.includes(e.name)}))),u instanceof Array&&u.length>0&&(p=l.filter((function(e){return u.includes(e.name)})));var d=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Ip(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(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Ip(e,t):void 0}}(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.")}()}((0,e.useState)(""),2),m=d[0],v=d[1],h=f.filter((function(e){return e.name.toLowerCase().includes(m.replace(/ /g,"").toLowerCase())}));return t().createElement(t().Fragment,null,t().createElement("div",{className:"neeto-ui-app-switcher__header","data-cy":"app-switcher-body-wrapper"},t().createElement(of,{icon:pp,style:"text",iconPosition:"left",label:"Back",onClick:c,"data-cy":"app-switcher-back-button"})),t().createElement("div",{className:"neeto-ui-app-switcher__search-wrapper"},t().createElement(jf,{placeholder:"Search Products",type:"search",suffix:t().createElement(Il,null),onChange:function(e){return v(e.target.value)},value:m,"data-cy":"app-switcher-search-input"})),0===m.length&&p.length>0&&t().createElement("div",{className:"neeto-ui-app-switcher__body"},t().createElement(ia,{style:"h5",weight:"bold",textTransform:"uppercase",className:"neeto-ui-text-gray-400"},"Recently"),t().createElement("div",{className:"neeto-ui-app-switcher__grid"},p.map((function(e){var n=e.name,i=e.url,a=e.icon;return t().createElement(vp,{key:n,name:n,url:i,icon:a,environment:r,activeApp:o})})))),t().createElement("div",{className:"neeto-ui-app-switcher__body"},t().createElement(ia,{style:"h5",weight:"bold",textTransform:"uppercase",className:"neeto-ui-text-gray-400"},0===m.length?"All":"Apps"),t().createElement("div",{className:"neeto-ui-app-switcher__grid"},h.length?h.map((function(e){var n=e.name,i=e.url,a=e.icon;return t().createElement(vp,{key:n,name:n,url:i,icon:a,environment:r,activeApp:o})})):t().createElement(ia,{style:"h4",className:"neeto-ui-text-center neeto-ui-text-gray-400"},"No apps found"))))};var Fp=["children"];function Up(){return Up=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},Up.apply(this,arguments)}var qp={invisible:{backgroundColor:"#1b1f2300",backdropFilter:Rc},visible:{backgroundColor:"#1b1f23dd",backdropFilter:zc}},Yp=function(e,n){var r=e.children,o=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}(e,Fp);return t().createElement(Fi.div,Up({ref:n,variants:qp,initial:"invisible",animate:"visible",exit:"invisible","data-testid":"neeto-backdrop",transition:{bounce:!1,duration:.3}},o),r)};const Zp=(0,e.forwardRef)(Yp),Xp=function(t){var n=t.children,r=t.rootId,o=void 0===r?"root-portal":r,i=t.el,a=void 0===i?"div":i,s=(0,e.useRef)(null);return(0,e.useEffect)((function(){var e=document.getElementById(o);return e||((e=document.createElement(a)).setAttribute("id",o),document.body.appendChild(e)),e.appendChild(s.current),function(){s.current.remove(),0===e.childNodes.length&&e.remove()}}),[o]),s.current||(s.current=document.createElement(a)),(0,Ec.createPortal)(n,s.current)};var Kp=i(7484),Gp=i.n(Kp),Jp=i(178),Qp=i.n(Jp),ed=i(6833),td=i.n(ed),nd=i(6036),rd=i.n(nd);Gp().extend(td()),Gp().extend(rd()),Gp().extend(Qp());var od={open:{x:0,filter:Rc},closed:{x:-400,filter:zc}},id={lg:"lg",sm:"sm"},ad={development:"development",staging:"staging",production:"production"},sd=function(){var e=window.location.host.split("."),t="";return e.length>=3&&(t=e[0]),t},ud=["size","isOpen","className","closeOnEsc","closeOnOutsideClick","environment","activeApp","subdomain","neetoApps","recentApps","isSidebarOpen","onClose"];function cd(){return cd=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},cd.apply(this,arguments)}var ld=function(){},fd=function(e){return"string"==typeof e&&/^[A-Z]\S*$/.test(e)},pd=function(e,t,n){return"Invalid prop `"+t+" -> "+e+"` supplied to `"+n+"`. Validation failed."},dd=function(n){var r,o,i,a,s,u,c=n.size,l=void 0===c?"sm":c,f=n.isOpen,p=n.className,d=void 0===p?"":p,m=n.closeOnEsc,v=void 0===m||m,h=n.closeOnOutsideClick,y=void 0===h||h,g=n.environment,b=n.activeApp,x=n.subdomain,k=void 0===x?"":x,w=n.neetoApps,C=void 0===w?[]:w,O=n.recentApps,E=void 0===O?[]:O,S=n.isSidebarOpen,j=void 0!==S&&S,P=n.onClose,T=void 0===P?ld:P,A=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}(n,ud),L=(0,e.useRef)(),M=(0,e.useRef)();return r=L,o=M,i=y?T:ld,(0,e.useEffect)((function(){var e=function(e){r.current&&!r.current.contains(e.target)&&(o.current?o.current.contains(e.target)&&i(e):i(e))};return document.addEventListener("mousedown",e),document.addEventListener("touchstart",e),function(){document.removeEventListener("mousedown",e),document.removeEventListener("touchstart",e)}}),[r,o,i]),function(t,n,r,o){r instanceof Array&&(o=r,r=void 0);var i=r||{},a=i.enableOnTags,s=i.filter,u=i.keyup,c=i.keydown,l=i.filterPreventDefault,f=void 0===l||l,p=i.enabled,d=void 0===p||p,m=i.enableOnContentEditable,v=void 0!==m&&m,h=(0,e.useRef)(null),y=(0,e.useCallback)((function(e,t){var r;return s&&!s(e)?!f:!!(lp(e,["INPUT","TEXTAREA","SELECT"])&&!lp(e,a)||null!=(r=e.target)&&r.isContentEditable&&!v)||(null===h.current||document.activeElement===h.current)&&(n(e,t),!0)}),o?[h,a,s].concat(o):[h,a,s]);(0,e.useEffect)((function(){if(d)return u&&!0!==c&&(r.keydown=!1),cp(t,r||{},y),function(){cp.unbind(t,y)}}),[y,t,d])}("esc",v?T:ld),(0,e.useEffect)((function(){!function(){if(!b||!fd(b))throw new Error("Value of activeApp prop of AppSwitcher component is ".concat(b,", it is not matching the expected format. Please refer docs for more info"))}()}),[b]),(0,e.useEffect)((function(){!function(){if(ad[g]&&!Array.isArray(C))throw new Error("Value of neetoApps prop of AppSwitcher component is ".concat(C,", it should be an array instead"))}()}),[C]),t().createElement(Xp,{rootId:"neeto-ui-portal"},t().createElement(Zl,null,f&&t().createElement(Zp,{ref:M,key:"switcher-backdrop",className:qi()("neeto-ui-app-switcher__backdrop",{"neeto-ui-app-switcher__backdrop--expanded":j})},t().createElement(Fi.div,cd({variants:od,initial:"closed",animate:"open",exit:"closed",transition:{bounce:!1,duration:.3},ref:L,key:"switcher-wrapper","data-cy":"switcher-wrapper",className:qi()("neeto-ui-app-switcher__wrapper",(a={"neeto-ui-app-switcher__wrapper-size--sm":l===id.sm,"neeto-ui-app-switcher__wrapper-size--lg":l===id.lg},s=d,u=d,s in a?Object.defineProperty(a,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):a[s]=u,a))},A),t().createElement(Bp,{onClose:T,environment:g,activeApp:b,subdomain:k||sd()||"spinkart",neetoApps:C,recentApps:E})))))};dd.propTypes={size:Zi().oneOf(Object.values(id)),isOpen:Zi().bool,onClose:Zi().func,className:Zi().string,closeOnEsc:Zi().bool,closeOnOutsideClick:Zi().bool,activeApp:Zi().oneOfType([function(e,t,n){var r=e[t];if(!fd(r))return new Error(pd(r,t,n))}]).isRequired,subdomain:Zi().string,neetoApps:Zi().arrayOf((function(e,t,n,r,o){var i=e[t];if(!fd(i))return new Error(pd(i,o,n))})).isRequired,recentApps:Zi().arrayOf(Zi().string),environment:Zi().oneOf(Object.values(ad)).isRequired};const md=dd;var vd=["url","icon","label","count","active","onEdit","onClick","className"];var hd=function(){},yd=function(e){var n,r,o,i=e.url,a=e.icon,s=e.label,u=e.count,c=e.active,l=void 0!==c&&c,f=e.onEdit,p=e.onClick,d=void 0===p?hd:p,m=e.className,v=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}(e,vd),h=i?kl.Link:function(e){return t().createElement("button",e)};return t().createElement(h,{to:i,className:qi()("neeto-ui-menubar__block",(n={"neeto-ui-menubar__block--editable":f,"neeto-ui-menubar__block--active":l},r=m,o=m,r in n?Object.defineProperty(n,r,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[r]=o,n)),onClick:d,"data-cy":v["data-cy"]||ff(s)},t().createElement("div",{className:"neeto-ui-menubar__block-label"},a&&t().createElement("i",{className:"neeto-ui-menubar__block-icon"},a),t().createElement(ia,{title:s,component:"span",style:"h5",weight:"medium"},s)),Number.isInteger(u)&&t().createElement("div",{onClick:function(e){e.stopPropagation(),f&&f()}},t().createElement(ia,{component:"span",style:"h5",weight:"medium"},u)))};yd.propTypes={url:Zi().string,icon:Zi().node,label:Zi().string,count:Zi().number,active:Zi().bool,onEdit:Zi().func,onClick:Zi().func,className:Zi().string};const gd=yd;var bd=["label","description","active","className"];function xd(){return xd=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},xd.apply(this,arguments)}var kd=function(e){var n,r,o,i=e.label,a=void 0===i?"":i,s=e.description,u=void 0===s?"":s,c=e.active,l=void 0!==c&&c,f=e.className,p=void 0===f?"":f,d=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}(e,bd);return t().createElement("button",xd({className:qi()("neeto-ui-menubar__item",(n={"neeto-ui-menubar__item--active":l},r=p,o=p,r in n?Object.defineProperty(n,r,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[r]=o,n))},d),t().createElement(ia,{component:"h5",style:"h4",className:"neeto-ui-menubar__item-header"},a),t().createElement(ia,{style:"body3",className:"neeto-ui-menubar__item-desc"},u))};kd.propTypes={label:Zi().string,description:Zi().string,active:Zi().bool,className:Zi().string};const wd=kd;var Cd=["children","iconProps"];function Od(){return Od=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},Od.apply(this,arguments)}var Ed=function(e){var n=e.children,r=e.iconProps,o=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}(e,Cd);return t().createElement("div",{"data-cy":o["data-cy"]||"menubar-subtitle-heading",className:"neeto-ui-menubar__subtitle"},n,t().createElement("div",{className:"neeto-ui-menubar__subtitle-actions"},r&&r.map((function(e,n){return t().createElement(of,Od({style:"text",size:"large",key:n},e))}))))};Ed.propTypes={children:Zi().node,iconProps:Zi().arrayOf(Zi().shape(of.propTypes))};const Sd=Ed;var jd=["size","color","strokeWidth"];function Pd(e){var t=e.size,n=e.color,r=e.strokeWidth,o=ua(e,jd);return qa.createElement("svg",sa({viewBox:"0 0 24 24",fill:"none",height:t,width:t},o),qa.createElement("path",{d:"M6 6L18 18",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}),qa.createElement("path",{d:"M18 6L6 18",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}))}Pd.defaultProps={color:"currentColor",size:24,strokeWidth:"1.5"},Pd.propTypes={color:bs.string,size:bs.oneOfType([bs.string,bs.number]),strokeWidth:bs.oneOfType([bs.string,bs.number])};var Td=["collapse","onCollapse"];function Ad(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}function Ld(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ad(Object(n),!0).forEach((function(t){Md(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ad(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Md(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function _d(){return _d=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},_d.apply(this,arguments)}var Dd=function(e){var n=e.collapse,r=void 0===n||n,o=e.onCollapse,i=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}(e,Td);return!r&&t().createElement("div",{className:"neeto-ui-menubar__search"},t().createElement(jf,_d({type:"search",placeholder:"Search",prefix:t().createElement(Il,null)},i)),t().createElement(of,{size:"large",style:"text",icon:Pd,onClick:o}))};Dd.propTypes=Ld(Ld({},jf.propTypes),{},{collapse:Zi().bool,onCollapse:Zi().func});const Vd=Dd;var Wd=["size","color","strokeWidth"];function Nd(e){var t=e.size,n=e.color,r=e.strokeWidth,o=ua(e,Wd);return qa.createElement("svg",sa({viewBox:"0 0 24 24",fill:"none",height:t,width:t},o),qa.createElement("path",{d:"M12 6L12 18",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}),qa.createElement("path",{d:"M18 12H6",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}))}Nd.defaultProps={color:"currentColor",size:24,strokeWidth:"1.5"},Nd.propTypes={color:bs.string,size:bs.oneOfType([bs.string,bs.number]),strokeWidth:bs.oneOfType([bs.string,bs.number])};var Rd=["label","onClick"];function zd(){return zd=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},zd.apply(this,arguments)}var $d=function(e){var n=e.label,r=void 0===n?"":n,o=e.onClick,i=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}(e,Rd);return t().createElement("div",zd({className:"neeto-ui-menubar__add-new-wrap"},i),t().createElement(of,{label:r,style:"link",icon:Nd,iconPosition:"left",iconSize:16,onClick:o}))};$d.propTypes={label:Zi().string};const Hd=$d;var Id={open:{width:324},collapsed:{width:0}},Bd=["title","children","showMenu","className"];var Fd=function(e){var n,r,o,i=e.title,a=void 0===i?"":i,s=e.children,u=e.showMenu,c=void 0!==u&&u,l=e.className,f=void 0===l?"":l,p=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}(e,Bd);return t().createElement(Zl,null,c&&t().createElement(Fi.div,{initial:"collapsed",animate:"open",exit:"collapsed",variants:Id,transition:{duration:.3},className:qi()("neeto-ui-menubar__wrapper",(n={},r=f,o=f,r in n?Object.defineProperty(n,r,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[r]=o,n))},t().createElement("div",{className:"neeto-ui-menubar__container"},a&&t().createElement(ia,{lineHeight:"tight",style:"h2",weight:"semibold","data-cy":p["data-cy"]||"menubar-heading",className:"neeto-ui-text-gray-800 neeto-ui-menubar__title"},a),s)))};Fd.Block=gd,Fd.Item=wd,Fd.SubTitle=Sd,Fd.Search=Vd,Fd.AddNew=Hd,Fd.propTypes={title:Zi().node,children:Zi().oneOfType([Zi().arrayOf(Zi().node),Zi().node]),showMenu:Zi().bool,className:Zi().string};const Ud=Fd})(),a})()}));
|