@biznext-ui/react 0.3.5 → 0.3.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.umd.js CHANGED
@@ -1,8 +1,8 @@
1
- (function(oe,E){typeof exports=="object"&&typeof module<"u"?E(exports,require("react/jsx-runtime"),require("react"),require("react-dom")):typeof define=="function"&&define.amd?define(["exports","react/jsx-runtime","react","react-dom"],E):(oe=typeof globalThis<"u"?globalThis:oe||self,E(oe["biznext-ui-react"]={},oe["react/jsx-runtime"],oe.React,oe.ReactDOM))})(this,function(oe,E,C,$e){"use strict";function Eu(t){const e=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const n in t)if(n!=="default"){const i=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(e,n,i.get?i:{enumerable:!0,get:()=>t[n]})}}return e.default=t,Object.freeze(e)}const G=Eu(C);function Tu(){return $e.createPortal(E.jsxs("div",{id:"biznext-ui-portal",children:[E.jsx("div",{id:"biznext-ui-modal-portal"}),E.jsx("div",{id:"biznext-ui-toast-portal"}),E.jsx("div",{id:"biznext-ui-confirm-dialog-portal"})]}),document.body)}var ur={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},lr=C.createContext&&C.createContext(ur),Vu=["attr","size","title"];function wu(t,e){if(t==null)return{};var n=Fu(t,e),i,r;if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(t);for(r=0;r<s.length;r++)i=s[r],!(e.indexOf(i)>=0)&&Object.prototype.propertyIsEnumerable.call(t,i)&&(n[i]=t[i])}return n}function Fu(t,e){if(t==null)return{};var n={};for(var i in t)if(Object.prototype.hasOwnProperty.call(t,i)){if(e.indexOf(i)>=0)continue;n[i]=t[i]}return n}function Rt(){return Rt=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},Rt.apply(this,arguments)}function cr(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable})),n.push.apply(n,i)}return n}function Lt(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?cr(Object(n),!0).forEach(function(i){Bu(t,i,n[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):cr(Object(n)).forEach(function(i){Object.defineProperty(t,i,Object.getOwnPropertyDescriptor(n,i))})}return t}function Bu(t,e,n){return e=Gu(e),e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Gu(t){var e=Mu(t,"string");return typeof e=="symbol"?e:e+""}function Mu(t,e){if(typeof t!="object"||!t)return t;var n=t[Symbol.toPrimitive];if(n!==void 0){var i=n.call(t,e||"default");if(typeof i!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}function dr(t){return t&&t.map((e,n)=>C.createElement(e.tag,Lt({key:n},e.attr),dr(e.child)))}function fr(t){return e=>C.createElement(Du,Rt({attr:Lt({},t.attr)},e),dr(t.child))}function Du(t){var e=n=>{var{attr:i,size:r,title:s}=t,o=wu(t,Vu),u=r||n.size||"1em",a;return n.className&&(a=n.className),t.className&&(a=(a?a+" ":"")+t.className),C.createElement("svg",Rt({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},n.attr,i,o,{className:a,style:Lt(Lt({color:t.color||n.color},n.style),t.style),height:u,width:u,xmlns:"http://www.w3.org/2000/svg"}),s&&C.createElement("title",null,s),t.children)};return lr!==void 0?C.createElement(lr.Consumer,null,n=>e(n)):e(ur)}function Nu(t){return fr({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"currentColor"},child:[{tag:"path",attr:{d:"M7 4V2H17V4H22V6H20V21C20 21.5523 19.5523 22 19 22H5C4.44772 22 4 21.5523 4 21V6H2V4H7ZM6 6V20H18V6H6ZM9 9H11V17H9V9ZM13 9H15V17H13V9Z"},child:[]}]})(t)}const he={"confirm-dialog":"biznext-ui-4yyscqDACxw-e","confirm-dialog-overlay":"biznext-ui-ylpaWxEFaTU-c","confirm-dialog-content":"biznext-ui-xwshXokj5ZA-c","confirm-dialog-body":"biznext-ui-K3-i0eWEQi8-2","confirm-dialog-icon-container":"biznext-ui-W86o6InrK1E-5","confirm-dialog-icon":"biznext-ui-PSIKxZhvjyo-3","confirm-dialog-footer":"biznext-ui-ffcW632vEe0-7","confirm-dialog-footer-close-btn":"biznext-ui-hDNTUYM-ra0-8","confirm-dialog-footer-confirm-btn":"biznext-ui-bFmcSx3W8Rs-6",info:"biznext-ui-wec4qWkj9NU-c",warning:"biznext-ui-mcehjNn9Nl0-9",danger:"biznext-ui-pYq-UQoFMHM-a",success:"biznext-ui-bgVORylkzc0-6"};function Wu(t){const{children:e}=t,[n,i]=C.useState(!1);C.useEffect(()=>{i(!0)},[]);const r=document.getElementById("biznext-ui-confirm-dialog-portal");return n&&r?$e.createPortal(e,r):$e.createPortal(e,document.body)}function Ru(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var hr={exports:{}};/*!
1
+ (function(oe,w){typeof exports=="object"&&typeof module<"u"?w(exports,require("react/jsx-runtime"),require("react-dom"),require("react")):typeof define=="function"&&define.amd?define(["exports","react/jsx-runtime","react-dom","react"],w):(oe=typeof globalThis<"u"?globalThis:oe||self,w(oe["biznext-ui-react"]={},oe["react/jsx-runtime"],oe.ReactDOM,oe.React))})(this,function(oe,w,Nt,C){"use strict";function xu(t){const e=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const n in t)if(n!=="default"){const i=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(e,n,i.get?i:{enumerable:!0,get:()=>t[n]})}}return e.default=t,Object.freeze(e)}const G=xu(C);function Au(){return Nt.createPortal(w.jsxs("div",{id:"biznext-ui-portal",children:[w.jsx("div",{id:"biznext-ui-modal-portal"}),w.jsx("div",{id:"biznext-ui-toast-portal"}),w.jsx("div",{id:"biznext-ui-confirm-dialog-portal"})]}),document.body)}const Su=({children:t,toastPosition:e})=>(console.log(e,"toastPosition"),w.jsxs(w.Fragment,{children:[w.jsx(Au,{}),t]})),he={"modal-wrapper":"biznext-ui-n2Vjx4mdikE-9","modal-overlay":"biznext-ui-6sKjk6L11EQ-e",modal:"biznext-ui-Mao59ye15po-3",left:"biznext-ui-5bDq6-PrHF4-e","left-slider":"biznext-ui-dhv7A0opLyg-7",right:"biznext-ui-X9XXG3R3kc4-5","right-slider":"biznext-ui-EXk9iqQoKIU-1","top-left":"biznext-ui-agEjPkJufuY-6","top-center":"biznext-ui-CzoFpYQH5r0-0","top-right":"biznext-ui-e0SRVasbx2Q-7","bottom-left":"biznext-ui-jMdhucf3jH4-8","bottom-center":"biznext-ui-1ruLnzU-7Mg-d","bottom-right":"biznext-ui-IBxY5gMZXAs-2",center:"biznext-ui-g7IKSnXitqg-8",full:"biznext-ui-T4NhvYHqFMo-4","modal-content":"biznext-ui-1F-uEUK7Izg-d","modal-header":"biznext-ui-nWO9WSw4Ix8-9","module-header-close-btn":"biznext-ui-kCEeyonkTlE-9","modal-title":"biznext-ui-r-WKlIAFS20-a","modal-body":"biznext-ui-7AJhK9Yn-KQ-e","modal-footer":"biznext-ui-lUyv0bpMUw4-9","modal-footer-close-btn":"biznext-ui-acScPNehEic-6"};function Pu(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var or={exports:{}};/*!
2
2
  Copyright (c) 2018 Jed Watson.
3
3
  Licensed under the MIT License (MIT), see
4
4
  http://jedwatson.github.io/classnames
5
- */(function(t){(function(){var e={}.hasOwnProperty;function n(){for(var s="",o=0;o<arguments.length;o++){var u=arguments[o];u&&(s=r(s,i(u)))}return s}function i(s){if(typeof s=="string"||typeof s=="number")return s;if(typeof s!="object")return"";if(Array.isArray(s))return n.apply(null,s);if(s.toString!==Object.prototype.toString&&!s.toString.toString().includes("[native code]"))return s.toString();var o="";for(var u in s)e.call(s,u)&&s[u]&&(o=r(o,u));return o}function r(s,o){return o?s?s+" "+o:s+o:s}t.exports?(n.default=n,t.exports=n):window.classNames=n})()})(hr);var Lu=hr.exports;const Ot=Ru(Lu),Gn=C.createContext({transformPagePoint:t=>t,isStatic:!1,reducedMotion:"never"}),Xt=C.createContext({}),Zt=C.createContext(null),Mn=typeof document<"u",Dn=Mn?C.useLayoutEffect:C.useEffect,pr=C.createContext({strict:!1}),Ht=t=>t.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),mr="data-"+Ht("framerAppearId"),Ou={skipAnimations:!1,useManualTiming:!1};function Xu(t){let e=new Set,n=new Set,i=!1,r=!1;const s=new WeakSet;let o={delta:0,timestamp:0,isProcessing:!1};function u(l){s.has(l)&&(a.schedule(l),t()),l(o)}const a={schedule:(l,c=!1,d=!1)=>{const h=d&&i?e:n;return c&&s.add(l),h.has(l)||h.add(l),l},cancel:l=>{n.delete(l),s.delete(l)},process:l=>{if(o=l,i){r=!0;return}i=!0,[e,n]=[n,e],n.clear(),e.forEach(u),i=!1,r&&(r=!1,a.process(l))}};return a}const kt=["read","resolveKeyframes","update","preRender","render","postRender"],Zu=40;function gr(t,e){let n=!1,i=!0;const r={delta:0,timestamp:0,isProcessing:!1},s=()=>n=!0,o=kt.reduce((b,I)=>(b[I]=Xu(s),b),{}),{read:u,resolveKeyframes:a,update:l,preRender:c,render:d,postRender:f}=o,h=()=>{const b=performance.now();n=!1,r.delta=i?1e3/60:Math.max(Math.min(b-r.timestamp,Zu),1),r.timestamp=b,r.isProcessing=!0,u.process(r),a.process(r),l.process(r),c.process(r),d.process(r),f.process(r),r.isProcessing=!1,n&&e&&(i=!1,t(h))},m=()=>{n=!0,i=!0,r.isProcessing||t(h)};return{schedule:kt.reduce((b,I)=>{const v=o[I];return b[I]=(x,y=!1,S=!1)=>(n||m(),v.schedule(x,y,S)),b},{}),cancel:b=>{for(let I=0;I<kt.length;I++)o[kt[I]].cancel(b)},state:r,steps:o}}const{schedule:Nn,cancel:Fb}=gr(queueMicrotask,!1);function Ke(t){return t&&typeof t=="object"&&Object.prototype.hasOwnProperty.call(t,"current")}const br=C.createContext({});let vr=!1;function Hu(t,e,n,i,r){const{visualElement:s}=C.useContext(Xt),o=C.useContext(pr),u=C.useContext(Zt),a=C.useContext(Gn).reducedMotion,l=C.useRef();i=i||o.renderer,!l.current&&i&&(l.current=i(t,{visualState:e,parent:s,props:n,presenceContext:u,blockInitialAnimation:u?u.initial===!1:!1,reducedMotionConfig:a}));const c=l.current,d=C.useContext(br);c&&!c.projection&&r&&(c.type==="html"||c.type==="svg")&&zu(l.current,n,r,d),C.useInsertionEffect(()=>{c&&c.update(n,u)});const f=C.useRef(!!(n[mr]&&!window.HandoffComplete));return Dn(()=>{c&&(c.updateFeatures(),Nn.render(c.render),f.current&&c.animationState&&c.animationState.animateChanges())}),C.useEffect(()=>{c&&(!f.current&&c.animationState&&c.animationState.animateChanges(),f.current&&(f.current=!1,vr||(vr=!0,queueMicrotask(ku))))}),c}function ku(){window.HandoffComplete=!0}function zu(t,e,n,i){const{layoutId:r,layout:s,drag:o,dragConstraints:u,layoutScroll:a,layoutRoot:l}=e;t.projection=new n(t.latestValues,e["data-framer-portal-id"]?void 0:yr(t.parent)),t.projection.setOptions({layoutId:r,layout:s,alwaysMeasureLayout:!!o||u&&Ke(u),visualElement:t,scheduleRender:()=>t.scheduleRender(),animationType:typeof s=="string"?s:"both",initialPromotionConfig:i,layoutScroll:a,layoutRoot:l})}function yr(t){if(t)return t.options.allowProjection!==!1?t.projection:yr(t.parent)}function ju(t,e,n){return C.useCallback(i=>{i&&t.mount&&t.mount(i),e&&(i?e.mount(i):e.unmount()),n&&(typeof n=="function"?n(i):Ke(n)&&(n.current=i))},[e])}function pt(t){return typeof t=="string"||Array.isArray(t)}function mt(t){return t!==null&&typeof t=="object"&&typeof t.start=="function"}const Wn=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],Rn=["initial",...Wn];function zt(t){return mt(t.animate)||Rn.some(e=>pt(t[e]))}function Ir(t){return!!(zt(t)||t.variants)}function Yu(t,e){if(zt(t)){const{initial:n,animate:i}=t;return{initial:n===!1||pt(n)?n:void 0,animate:pt(i)?i:void 0}}return t.inherit!==!1?e:{}}function Ju(t){const{initial:e,animate:n}=Yu(t,C.useContext(Xt));return C.useMemo(()=>({initial:e,animate:n}),[Cr(e),Cr(n)])}function Cr(t){return Array.isArray(t)?t.join(" "):t}const xr={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},qe={};for(const t in xr)qe[t]={isEnabled:e=>xr[t].some(n=>!!e[n])};function Uu(t){for(const e in t)qe[e]={...qe[e],...t[e]}}const Ln=C.createContext({}),_u=Symbol.for("motionComponentSymbol"),Q=t=>t;let et=Q,Ee=Q;process.env.NODE_ENV!=="production"&&(et=(t,e)=>{!t&&typeof console<"u"&&console.warn(e)},Ee=(t,e)=>{if(!t)throw new Error(e)});function Qu({preloadedFeatures:t,createVisualElement:e,useRender:n,useVisualState:i,Component:r}){t&&Uu(t);function s(u,a){let l;const c={...C.useContext(Gn),...u,layoutId:$u(u)},{isStatic:d}=c,f=Ju(u),h=i(u,d);if(!d&&Mn){Ku(c,t);const m=qu(c);l=m.MeasureLayout,f.visualElement=Hu(r,h,c,e,m.ProjectionNode)}return E.jsxs(Xt.Provider,{value:f,children:[l&&f.visualElement?E.jsx(l,{visualElement:f.visualElement,...c}):null,n(r,u,ju(h,f.visualElement,a),h,d,f.visualElement)]})}const o=C.forwardRef(s);return o[_u]=r,o}function $u({layoutId:t}){const e=C.useContext(Ln).id;return e&&t!==void 0?e+"-"+t:t}function Ku(t,e){const n=C.useContext(pr).strict;if(process.env.NODE_ENV!=="production"&&e&&n){const i="You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.";t.ignoreStrict?et(!1,i):Ee(!1,i)}}function qu(t){const{drag:e,layout:n}=qe;if(!e&&!n)return{};const i={...e,...n};return{MeasureLayout:e!=null&&e.isEnabled(t)||n!=null&&n.isEnabled(t)?i.MeasureLayout:void 0,ProjectionNode:i.ProjectionNode}}function el(t){function e(i,r={}){return Qu(t(i,r))}if(typeof Proxy>"u")return e;const n=new Map;return new Proxy(e,{get:(i,r)=>(n.has(r)||n.set(r,e(r)),n.get(r))})}const tl=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function On(t){return typeof t!="string"||t.includes("-")?!1:!!(tl.indexOf(t)>-1||/[A-Z]/u.test(t))}const jt={};function nl(t){Object.assign(jt,t)}const gt=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],We=new Set(gt);function Ar(t,{layout:e,layoutId:n}){return We.has(t)||t.startsWith("origin")||(e||n!==void 0)&&(!!jt[t]||t==="opacity")}const q=t=>!!(t&&t.getVelocity),il={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},rl=gt.length;function sl(t,e,n){let i="";for(let r=0;r<rl;r++){const s=gt[r];if(t[s]!==void 0){const o=il[s]||s;i+=`${o}(${t[s]}) `}}return i=i.trim(),n?i=n(t,e?"":i):e&&(i="none"),i}const Sr=t=>e=>typeof e=="string"&&e.startsWith(t),Pr=Sr("--"),ol=Sr("var(--"),Xn=t=>ol(t)?al.test(t.split("/*")[0].trim()):!1,al=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,ul=(t,e)=>e&&typeof t=="number"?e.transform(t):t,Re=(t,e,n)=>n>e?e:n<t?t:n,tt={test:t=>typeof t=="number",parse:parseFloat,transform:t=>t},bt={...tt,transform:t=>Re(0,1,t)},Yt={...tt,default:1},vt=t=>Math.round(t*1e5)/1e5,Zn=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu,ll=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu,cl=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu;function yt(t){return typeof t=="string"}function dl(t){return t==null}const It=t=>({test:e=>yt(e)&&e.endsWith(t)&&e.split(" ").length===1,parse:parseFloat,transform:e=>`${e}${t}`}),Le=It("deg"),ye=It("%"),F=It("px"),fl=It("vh"),hl=It("vw"),Er={...ye,parse:t=>ye.parse(t)/100,transform:t=>ye.transform(t*100)},Tr={...tt,transform:Math.round},Vr={borderWidth:F,borderTopWidth:F,borderRightWidth:F,borderBottomWidth:F,borderLeftWidth:F,borderRadius:F,radius:F,borderTopLeftRadius:F,borderTopRightRadius:F,borderBottomRightRadius:F,borderBottomLeftRadius:F,width:F,maxWidth:F,height:F,maxHeight:F,size:F,top:F,right:F,bottom:F,left:F,padding:F,paddingTop:F,paddingRight:F,paddingBottom:F,paddingLeft:F,margin:F,marginTop:F,marginRight:F,marginBottom:F,marginLeft:F,rotate:Le,rotateX:Le,rotateY:Le,rotateZ:Le,scale:Yt,scaleX:Yt,scaleY:Yt,scaleZ:Yt,skew:Le,skewX:Le,skewY:Le,distance:F,translateX:F,translateY:F,translateZ:F,x:F,y:F,z:F,perspective:F,transformPerspective:F,opacity:bt,originX:Er,originY:Er,originZ:F,zIndex:Tr,backgroundPositionX:F,backgroundPositionY:F,fillOpacity:bt,strokeOpacity:bt,numOctaves:Tr};function Hn(t,e,n){const{style:i,vars:r,transform:s,transformOrigin:o}=t;let u=!1,a=!1,l=!0;for(const c in e){const d=e[c];if(Pr(c)){r[c]=d;continue}const f=Vr[c],h=ul(d,f);if(We.has(c)){if(u=!0,s[c]=h,!l)continue;d!==(f.default||0)&&(l=!1)}else c.startsWith("origin")?(a=!0,o[c]=h):i[c]=h}if(e.transform||(u||n?i.transform=sl(t.transform,l,n):i.transform&&(i.transform="none")),a){const{originX:c="50%",originY:d="50%",originZ:f=0}=o;i.transformOrigin=`${c} ${d} ${f}`}}const kn=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function wr(t,e,n){for(const i in e)!q(e[i])&&!Ar(i,n)&&(t[i]=e[i])}function pl({transformTemplate:t},e){return C.useMemo(()=>{const n=kn();return Hn(n,e,t),Object.assign({},n.vars,n.style)},[e])}function ml(t,e){const n=t.style||{},i={};return wr(i,n,t),Object.assign(i,pl(t,e)),i}function gl(t,e){const n={},i=ml(t,e);return t.drag&&t.dragListener!==!1&&(n.draggable=!1,i.userSelect=i.WebkitUserSelect=i.WebkitTouchCallout="none",i.touchAction=t.drag===!0?"none":`pan-${t.drag==="x"?"y":"x"}`),t.tabIndex===void 0&&(t.onTap||t.onTapStart||t.whileTap)&&(n.tabIndex=0),n.style=i,n}const bl=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function Jt(t){return t.startsWith("while")||t.startsWith("drag")&&t!=="draggable"||t.startsWith("layout")||t.startsWith("onTap")||t.startsWith("onPan")||t.startsWith("onLayout")||bl.has(t)}let Fr=t=>!Jt(t);function vl(t){t&&(Fr=e=>e.startsWith("on")?!Jt(e):t(e))}try{vl(require("@emotion/is-prop-valid").default)}catch{}function yl(t,e,n){const i={};for(const r in t)r==="values"&&typeof t.values=="object"||(Fr(r)||n===!0&&Jt(r)||!e&&!Jt(r)||t.draggable&&r.startsWith("onDrag"))&&(i[r]=t[r]);return i}function Br(t,e,n){return typeof t=="string"?t:F.transform(e+n*t)}function Il(t,e,n){const i=Br(e,t.x,t.width),r=Br(n,t.y,t.height);return`${i} ${r}`}const Cl={offset:"stroke-dashoffset",array:"stroke-dasharray"},xl={offset:"strokeDashoffset",array:"strokeDasharray"};function Al(t,e,n=1,i=0,r=!0){t.pathLength=1;const s=r?Cl:xl;t[s.offset]=F.transform(-i);const o=F.transform(e),u=F.transform(n);t[s.array]=`${o} ${u}`}function zn(t,{attrX:e,attrY:n,attrScale:i,originX:r,originY:s,pathLength:o,pathSpacing:u=1,pathOffset:a=0,...l},c,d){if(Hn(t,l,d),c){t.style.viewBox&&(t.attrs.viewBox=t.style.viewBox);return}t.attrs=t.style,t.style={};const{attrs:f,style:h,dimensions:m}=t;f.transform&&(m&&(h.transform=f.transform),delete f.transform),m&&(r!==void 0||s!==void 0||h.transform)&&(h.transformOrigin=Il(m,r!==void 0?r:.5,s!==void 0?s:.5)),e!==void 0&&(f.x=e),n!==void 0&&(f.y=n),i!==void 0&&(f.scale=i),o!==void 0&&Al(f,o,u,a,!1)}const Gr=()=>({...kn(),attrs:{}}),jn=t=>typeof t=="string"&&t.toLowerCase()==="svg";function Sl(t,e,n,i){const r=C.useMemo(()=>{const s=Gr();return zn(s,e,jn(i),t.transformTemplate),{...s.attrs,style:{...s.style}}},[e]);if(t.style){const s={};wr(s,t.style,t),r.style={...s,...r.style}}return r}function Pl(t=!1){return(n,i,r,{latestValues:s},o)=>{const a=(On(n)?Sl:gl)(i,s,o,n),l=yl(i,typeof n=="string",t),c=n!==C.Fragment?{...l,...a,ref:r}:{},{children:d}=i,f=C.useMemo(()=>q(d)?d.get():d,[d]);return C.createElement(n,{...c,children:f})}}function Mr(t,{style:e,vars:n},i,r){Object.assign(t.style,e,r&&r.getProjectionStyles(i));for(const s in n)t.style.setProperty(s,n[s])}const Dr=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function Nr(t,e,n,i){Mr(t,e,void 0,i);for(const r in e.attrs)t.setAttribute(Dr.has(r)?r:Ht(r),e.attrs[r])}function Yn(t,e,n){var i;const{style:r}=t,s={};for(const o in r)(q(r[o])||e.style&&q(e.style[o])||Ar(o,t)||((i=n==null?void 0:n.getValue(o))===null||i===void 0?void 0:i.liveStyle)!==void 0)&&(s[o]=r[o]);return n&&r&&typeof r.willChange=="string"&&(n.applyWillChange=!1),s}function Wr(t,e,n){const i=Yn(t,e,n);for(const r in t)if(q(t[r])||q(e[r])){const s=gt.indexOf(r)!==-1?"attr"+r.charAt(0).toUpperCase()+r.substring(1):r;i[s]=t[r]}return i}function Rr(t){const e=[{},{}];return t==null||t.values.forEach((n,i)=>{e[0][i]=n.get(),e[1][i]=n.getVelocity()}),e}function Jn(t,e,n,i){if(typeof e=="function"){const[r,s]=Rr(i);e=e(n!==void 0?n:t.custom,r,s)}if(typeof e=="string"&&(e=t.variants&&t.variants[e]),typeof e=="function"){const[r,s]=Rr(i);e=e(n!==void 0?n:t.custom,r,s)}return e}function Lr(t){const e=C.useRef(null);return e.current===null&&(e.current=t()),e.current}const Un=t=>Array.isArray(t),El=t=>!!(t&&typeof t=="object"&&t.mix&&t.toValue),Tl=t=>Un(t)?t[t.length-1]||0:t;function Ut(t){const e=q(t)?t.get():t;return El(e)?e.toValue():e}const Or=new Set(["opacity","clipPath","filter","transform"]);function Xr(t){if(We.has(t))return"transform";if(Or.has(t))return Ht(t)}function _t(t,e){t.indexOf(e)===-1&&t.push(e)}function Qt(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}function Vl({applyWillChange:t=!1,scrapeMotionValuesFromProps:e,createRenderState:n,onMount:i},r,s,o,u){const a={latestValues:Fl(r,s,o,u?!1:t,e),renderState:n()};return i&&(a.mount=l=>i(r,l,a)),a}const Zr=t=>(e,n)=>{const i=C.useContext(Xt),r=C.useContext(Zt),s=()=>Vl(t,e,i,r,n);return n?s():Lr(s)};function wl(t,e){const n=Xr(e);n&&_t(t,n)}function Hr(t,e,n){const i=Array.isArray(e)?e:[e];for(let r=0;r<i.length;r++){const s=Jn(t,i[r]);if(s){const{transitionEnd:o,transition:u,...a}=s;n(a,o)}}}function Fl(t,e,n,i,r){var s;const o={},u=[],a=i&&((s=t.style)===null||s===void 0?void 0:s.willChange)===void 0,l=r(t,{});for(const g in l)o[g]=Ut(l[g]);let{initial:c,animate:d}=t;const f=zt(t),h=Ir(t);e&&h&&!f&&t.inherit!==!1&&(c===void 0&&(c=e.initial),d===void 0&&(d=e.animate));let m=n?n.initial===!1:!1;m=m||c===!1;const p=m?d:c;return p&&typeof p!="boolean"&&!mt(p)&&Hr(t,p,(g,b)=>{for(const I in g){let v=g[I];if(Array.isArray(v)){const x=m?v.length-1:0;v=v[x]}v!==null&&(o[I]=v)}for(const I in b)o[I]=b[I]}),a&&(d&&c!==!1&&!mt(d)&&Hr(t,d,g=>{for(const b in g)wl(u,b)}),u.length&&(o.willChange=u.join(","))),o}const{schedule:O,cancel:Te,state:$,steps:_n}=gr(typeof requestAnimationFrame<"u"?requestAnimationFrame:Q,!0),Bl={useVisualState:Zr({scrapeMotionValuesFromProps:Wr,createRenderState:Gr,onMount:(t,e,{renderState:n,latestValues:i})=>{O.read(()=>{try{n.dimensions=typeof e.getBBox=="function"?e.getBBox():e.getBoundingClientRect()}catch{n.dimensions={x:0,y:0,width:0,height:0}}}),O.render(()=>{zn(n,i,jn(e.tagName),t.transformTemplate),Nr(e,n)})}})},Gl={useVisualState:Zr({applyWillChange:!0,scrapeMotionValuesFromProps:Yn,createRenderState:kn})};function Ml(t,{forwardMotionProps:e=!1},n,i){return{...On(t)?Bl:Gl,preloadedFeatures:n,useRender:Pl(e),createVisualElement:i,Component:t}}function Ve(t,e,n,i={passive:!0}){return t.addEventListener(e,n,i),()=>t.removeEventListener(e,n)}const kr=t=>t.pointerType==="mouse"?typeof t.button!="number"||t.button<=0:t.isPrimary!==!1;function $t(t,e="page"){return{point:{x:t[`${e}X`],y:t[`${e}Y`]}}}const Dl=t=>e=>kr(e)&&t(e,$t(e));function we(t,e,n,i){return Ve(t,e,Dl(n),i)}const Nl=(t,e)=>n=>e(t(n)),Fe=(...t)=>t.reduce(Nl);function zr(t){let e=null;return()=>{const n=()=>{e=null};return e===null?(e=t,n):!1}}const jr=zr("dragHorizontal"),Yr=zr("dragVertical");function Jr(t){let e=!1;if(t==="y")e=Yr();else if(t==="x")e=jr();else{const n=jr(),i=Yr();n&&i?e=()=>{n(),i()}:(n&&n(),i&&i())}return e}function Ur(){const t=Jr(!0);return t?(t(),!1):!0}class Oe{constructor(e){this.isMounted=!1,this.node=e}update(){}}function _r(t,e){const n=e?"pointerenter":"pointerleave",i=e?"onHoverStart":"onHoverEnd",r=(s,o)=>{if(s.pointerType==="touch"||Ur())return;const u=t.getProps();t.animationState&&u.whileHover&&t.animationState.setActive("whileHover",e);const a=u[i];a&&O.postRender(()=>a(s,o))};return we(t.current,n,r,{passive:!t.getProps()[i]})}class Wl extends Oe{mount(){this.unmount=Fe(_r(this.node,!0),_r(this.node,!1))}unmount(){}}class Rl extends Oe{constructor(){super(...arguments),this.isActive=!1}onFocus(){let e=!1;try{e=this.node.current.matches(":focus-visible")}catch{e=!0}!e||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=Fe(Ve(this.node.current,"focus",()=>this.onFocus()),Ve(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}const Qr=(t,e)=>e?t===e?!0:Qr(t,e.parentElement):!1;function Qn(t,e){if(!e)return;const n=new PointerEvent("pointer"+t);e(n,$t(n))}class Ll extends Oe{constructor(){super(...arguments),this.removeStartListeners=Q,this.removeEndListeners=Q,this.removeAccessibleListeners=Q,this.startPointerPress=(e,n)=>{if(this.isPressing)return;this.removeEndListeners();const i=this.node.getProps(),s=we(window,"pointerup",(u,a)=>{if(!this.checkPressEnd())return;const{onTap:l,onTapCancel:c,globalTapTarget:d}=this.node.getProps(),f=!d&&!Qr(this.node.current,u.target)?c:l;f&&O.update(()=>f(u,a))},{passive:!(i.onTap||i.onPointerUp)}),o=we(window,"pointercancel",(u,a)=>this.cancelPress(u,a),{passive:!(i.onTapCancel||i.onPointerCancel)});this.removeEndListeners=Fe(s,o),this.startPress(e,n)},this.startAccessiblePress=()=>{const e=s=>{if(s.key!=="Enter"||this.isPressing)return;const o=u=>{u.key!=="Enter"||!this.checkPressEnd()||Qn("up",(a,l)=>{const{onTap:c}=this.node.getProps();c&&O.postRender(()=>c(a,l))})};this.removeEndListeners(),this.removeEndListeners=Ve(this.node.current,"keyup",o),Qn("down",(u,a)=>{this.startPress(u,a)})},n=Ve(this.node.current,"keydown",e),i=()=>{this.isPressing&&Qn("cancel",(s,o)=>this.cancelPress(s,o))},r=Ve(this.node.current,"blur",i);this.removeAccessibleListeners=Fe(n,r)}}startPress(e,n){this.isPressing=!0;const{onTapStart:i,whileTap:r}=this.node.getProps();r&&this.node.animationState&&this.node.animationState.setActive("whileTap",!0),i&&O.postRender(()=>i(e,n))}checkPressEnd(){return this.removeEndListeners(),this.isPressing=!1,this.node.getProps().whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!Ur()}cancelPress(e,n){if(!this.checkPressEnd())return;const{onTapCancel:i}=this.node.getProps();i&&O.postRender(()=>i(e,n))}mount(){const e=this.node.getProps(),n=we(e.globalTapTarget?window:this.node.current,"pointerdown",this.startPointerPress,{passive:!(e.onTapStart||e.onPointerStart)}),i=Ve(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=Fe(n,i)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}const $n=new WeakMap,Kn=new WeakMap,Ol=t=>{const e=$n.get(t.target);e&&e(t)},Xl=t=>{t.forEach(Ol)};function Zl({root:t,...e}){const n=t||document;Kn.has(n)||Kn.set(n,{});const i=Kn.get(n),r=JSON.stringify(e);return i[r]||(i[r]=new IntersectionObserver(Xl,{root:t,...e})),i[r]}function Hl(t,e,n){const i=Zl(e);return $n.set(t,n),i.observe(t),()=>{$n.delete(t),i.unobserve(t)}}const kl={some:0,all:1};class zl extends Oe{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:e={}}=this.node.getProps(),{root:n,margin:i,amount:r="some",once:s}=e,o={root:n?n.current:void 0,rootMargin:i,threshold:typeof r=="number"?r:kl[r]},u=a=>{const{isIntersecting:l}=a;if(this.isInView===l||(this.isInView=l,s&&!l&&this.hasEnteredView))return;l&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",l);const{onViewportEnter:c,onViewportLeave:d}=this.node.getProps(),f=l?c:d;f&&f(a)};return Hl(this.node.current,o,u)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:e,prevProps:n}=this.node;["amount","margin","root"].some(jl(e,n))&&this.startObserver()}unmount(){}}function jl({viewport:t={}},{viewport:e={}}={}){return n=>t[n]!==e[n]}const Yl={inView:{Feature:zl},tap:{Feature:Ll},focus:{Feature:Rl},hover:{Feature:Wl}};function $r(t,e){if(!Array.isArray(e))return!1;const n=e.length;if(n!==t.length)return!1;for(let i=0;i<n;i++)if(e[i]!==t[i])return!1;return!0}function Kt(t,e,n){const i=t.getProps();return Jn(i,e,n!==void 0?n:i.custom,t)}const Be=t=>t*1e3,Ge=t=>t/1e3,Jl={type:"spring",stiffness:500,damping:25,restSpeed:10},Ul=t=>({type:"spring",stiffness:550,damping:t===0?2*Math.sqrt(550):30,restSpeed:10}),_l={type:"keyframes",duration:.8},Ql={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},$l=(t,{keyframes:e})=>e.length>2?_l:We.has(t)?t.startsWith("scale")?Ul(e[1]):Jl:Ql;function Kl({when:t,delay:e,delayChildren:n,staggerChildren:i,staggerDirection:r,repeat:s,repeatType:o,repeatDelay:u,from:a,elapsed:l,...c}){return!!Object.keys(c).length}function qn(t,e){return t[e]||t.default||t}const ql=t=>t!==null;function qt(t,{repeat:e,repeatType:n="loop"},i){const r=t.filter(ql),s=e&&n!=="loop"&&e%2===1?0:r.length-1;return!s||i===void 0?r[s]:i}let en;function ec(){en=void 0}const Xe={now:()=>(en===void 0&&Xe.set($.isProcessing||Ou.useManualTiming?$.timestamp:performance.now()),en),set:t=>{en=t,queueMicrotask(ec)}},Kr=t=>/^0[^.\s]+$/u.test(t);function tc(t){return typeof t=="number"?t===0:t!==null?t==="none"||t==="0"||Kr(t):!0}const qr=t=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t),nc=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function ic(t){const e=nc.exec(t);if(!e)return[,];const[,n,i,r]=e;return[`--${n??i}`,r]}const rc=4;function es(t,e,n=1){Ee(n<=rc,`Max CSS variable fallback depth detected in property "${t}". This may indicate a circular fallback dependency.`);const[i,r]=ic(t);if(!i)return;const s=window.getComputedStyle(e).getPropertyValue(i);if(s){const o=s.trim();return qr(o)?parseFloat(o):o}return Xn(r)?es(r,e,n+1):r}const sc=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),ts=t=>t===tt||t===F,ns=(t,e)=>parseFloat(t.split(", ")[e]),is=(t,e)=>(n,{transform:i})=>{if(i==="none"||!i)return 0;const r=i.match(/^matrix3d\((.+)\)$/u);if(r)return ns(r[1],e);{const s=i.match(/^matrix\((.+)\)$/u);return s?ns(s[1],t):0}},oc=new Set(["x","y","z"]),ac=gt.filter(t=>!oc.has(t));function uc(t){const e=[];return ac.forEach(n=>{const i=t.getValue(n);i!==void 0&&(e.push([n,i.get()]),i.set(n.startsWith("scale")?1:0))}),e}const nt={width:({x:t},{paddingLeft:e="0",paddingRight:n="0"})=>t.max-t.min-parseFloat(e)-parseFloat(n),height:({y:t},{paddingTop:e="0",paddingBottom:n="0"})=>t.max-t.min-parseFloat(e)-parseFloat(n),top:(t,{top:e})=>parseFloat(e),left:(t,{left:e})=>parseFloat(e),bottom:({y:t},{top:e})=>parseFloat(e)+(t.max-t.min),right:({x:t},{left:e})=>parseFloat(e)+(t.max-t.min),x:is(4,13),y:is(5,14)};nt.translateX=nt.x,nt.translateY=nt.y;const rs=t=>e=>e.test(t),ss=[tt,F,ye,Le,hl,fl,{test:t=>t==="auto",parse:t=>t}],os=t=>ss.find(rs(t)),ke=new Set;let ei=!1,ti=!1;function as(){if(ti){const t=Array.from(ke).filter(i=>i.needsMeasurement),e=new Set(t.map(i=>i.element)),n=new Map;e.forEach(i=>{const r=uc(i);r.length&&(n.set(i,r),i.render())}),t.forEach(i=>i.measureInitialState()),e.forEach(i=>{i.render();const r=n.get(i);r&&r.forEach(([s,o])=>{var u;(u=i.getValue(s))===null||u===void 0||u.set(o)})}),t.forEach(i=>i.measureEndState()),t.forEach(i=>{i.suspendedScrollY!==void 0&&window.scrollTo(0,i.suspendedScrollY)})}ti=!1,ei=!1,ke.forEach(t=>t.complete()),ke.clear()}function us(){ke.forEach(t=>{t.readKeyframes(),t.needsMeasurement&&(ti=!0)})}function lc(){us(),as()}class ni{constructor(e,n,i,r,s,o=!1){this.isComplete=!1,this.isAsync=!1,this.needsMeasurement=!1,this.isScheduled=!1,this.unresolvedKeyframes=[...e],this.onComplete=n,this.name=i,this.motionValue=r,this.element=s,this.isAsync=o}scheduleResolve(){this.isScheduled=!0,this.isAsync?(ke.add(this),ei||(ei=!0,O.read(us),O.resolveKeyframes(as))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:e,name:n,element:i,motionValue:r}=this;for(let s=0;s<e.length;s++)if(e[s]===null)if(s===0){const o=r==null?void 0:r.get(),u=e[e.length-1];if(o!==void 0)e[0]=o;else if(i&&n){const a=i.readValue(n,u);a!=null&&(e[0]=a)}e[0]===void 0&&(e[0]=u),r&&o===void 0&&r.set(e[0])}else e[s]=e[s-1]}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(){this.isComplete=!0,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe),ke.delete(this)}cancel(){this.isComplete||(this.isScheduled=!1,ke.delete(this))}resume(){this.isComplete||this.scheduleResolve()}}const ii=(t,e)=>n=>!!(yt(n)&&cl.test(n)&&n.startsWith(t)||e&&!dl(n)&&Object.prototype.hasOwnProperty.call(n,e)),ls=(t,e,n)=>i=>{if(!yt(i))return i;const[r,s,o,u]=i.match(Zn);return{[t]:parseFloat(r),[e]:parseFloat(s),[n]:parseFloat(o),alpha:u!==void 0?parseFloat(u):1}},cc=t=>Re(0,255,t),ri={...tt,transform:t=>Math.round(cc(t))},ze={test:ii("rgb","red"),parse:ls("red","green","blue"),transform:({red:t,green:e,blue:n,alpha:i=1})=>"rgba("+ri.transform(t)+", "+ri.transform(e)+", "+ri.transform(n)+", "+vt(bt.transform(i))+")"};function dc(t){let e="",n="",i="",r="";return t.length>5?(e=t.substring(1,3),n=t.substring(3,5),i=t.substring(5,7),r=t.substring(7,9)):(e=t.substring(1,2),n=t.substring(2,3),i=t.substring(3,4),r=t.substring(4,5),e+=e,n+=n,i+=i,r+=r),{red:parseInt(e,16),green:parseInt(n,16),blue:parseInt(i,16),alpha:r?parseInt(r,16)/255:1}}const si={test:ii("#"),parse:dc,transform:ze.transform},it={test:ii("hsl","hue"),parse:ls("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:n,alpha:i=1})=>"hsla("+Math.round(t)+", "+ye.transform(vt(e))+", "+ye.transform(vt(n))+", "+vt(bt.transform(i))+")"},ee={test:t=>ze.test(t)||si.test(t)||it.test(t),parse:t=>ze.test(t)?ze.parse(t):it.test(t)?it.parse(t):si.parse(t),transform:t=>yt(t)?t:t.hasOwnProperty("red")?ze.transform(t):it.transform(t)};function fc(t){var e,n;return isNaN(t)&&yt(t)&&(((e=t.match(Zn))===null||e===void 0?void 0:e.length)||0)+(((n=t.match(ll))===null||n===void 0?void 0:n.length)||0)>0}const cs="number",ds="color",hc="var",pc="var(",fs="${}",mc=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function Ct(t){const e=t.toString(),n=[],i={color:[],number:[],var:[]},r=[];let s=0;const u=e.replace(mc,a=>(ee.test(a)?(i.color.push(s),r.push(ds),n.push(ee.parse(a))):a.startsWith(pc)?(i.var.push(s),r.push(hc),n.push(a)):(i.number.push(s),r.push(cs),n.push(parseFloat(a))),++s,fs)).split(fs);return{values:n,split:u,indexes:i,types:r}}function hs(t){return Ct(t).values}function ps(t){const{split:e,types:n}=Ct(t),i=e.length;return r=>{let s="";for(let o=0;o<i;o++)if(s+=e[o],r[o]!==void 0){const u=n[o];u===cs?s+=vt(r[o]):u===ds?s+=ee.transform(r[o]):s+=r[o]}return s}}const gc=t=>typeof t=="number"?0:t;function bc(t){const e=hs(t);return ps(t)(e.map(gc))}const Ze={test:fc,parse:hs,createTransformer:ps,getAnimatableNone:bc},vc=new Set(["brightness","contrast","saturate","opacity"]);function yc(t){const[e,n]=t.slice(0,-1).split("(");if(e==="drop-shadow")return t;const[i]=n.match(Zn)||[];if(!i)return t;const r=n.replace(i,"");let s=vc.has(e)?1:0;return i!==n&&(s*=100),e+"("+s+r+")"}const Ic=/\b([a-z-]*)\(.*?\)/gu,oi={...Ze,getAnimatableNone:t=>{const e=t.match(Ic);return e?e.map(yc).join(" "):t}},Cc={...Vr,color:ee,backgroundColor:ee,outlineColor:ee,fill:ee,stroke:ee,borderColor:ee,borderTopColor:ee,borderRightColor:ee,borderBottomColor:ee,borderLeftColor:ee,filter:oi,WebkitFilter:oi},ai=t=>Cc[t];function ms(t,e){let n=ai(t);return n!==oi&&(n=Ze),n.getAnimatableNone?n.getAnimatableNone(e):void 0}const xc=new Set(["auto","none","0"]);function Ac(t,e,n){let i=0,r;for(;i<t.length&&!r;){const s=t[i];typeof s=="string"&&!xc.has(s)&&Ct(s).values.length&&(r=t[i]),i++}if(r&&n)for(const s of e)t[s]=ms(n,r)}class gs extends ni{constructor(e,n,i,r){super(e,n,i,r,r==null?void 0:r.owner,!0)}readKeyframes(){const{unresolvedKeyframes:e,element:n,name:i}=this;if(!n.current)return;super.readKeyframes();for(let a=0;a<e.length;a++){let l=e[a];if(typeof l=="string"&&(l=l.trim(),Xn(l))){const c=es(l,n.current);c!==void 0&&(e[a]=c),a===e.length-1&&(this.finalKeyframe=l)}}if(this.resolveNoneKeyframes(),!sc.has(i)||e.length!==2)return;const[r,s]=e,o=os(r),u=os(s);if(o!==u)if(ts(o)&&ts(u))for(let a=0;a<e.length;a++){const l=e[a];typeof l=="string"&&(e[a]=parseFloat(l))}else this.needsMeasurement=!0}resolveNoneKeyframes(){const{unresolvedKeyframes:e,name:n}=this,i=[];for(let r=0;r<e.length;r++)tc(e[r])&&i.push(r);i.length&&Ac(e,i,n)}measureInitialState(){const{element:e,unresolvedKeyframes:n,name:i}=this;if(!e.current)return;i==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=nt[i](e.measureViewportBox(),window.getComputedStyle(e.current)),n[0]=this.measuredOrigin;const r=n[n.length-1];r!==void 0&&e.getValue(i,r).jump(r,!1)}measureEndState(){var e;const{element:n,name:i,unresolvedKeyframes:r}=this;if(!n.current)return;const s=n.getValue(i);s&&s.jump(this.measuredOrigin,!1);const o=r.length-1,u=r[o];r[o]=nt[i](n.measureViewportBox(),window.getComputedStyle(n.current)),u!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=u),!((e=this.removedTransforms)===null||e===void 0)&&e.length&&this.removedTransforms.forEach(([a,l])=>{n.getValue(a).set(l)}),this.resolveNoneKeyframes()}}function bs(t){let e;return()=>(e===void 0&&(e=t()),e)}const vs=(t,e)=>e==="zIndex"?!1:!!(typeof t=="number"||Array.isArray(t)||typeof t=="string"&&(Ze.test(t)||t==="0")&&!t.startsWith("url("));function Sc(t){const e=t[0];if(t.length===1)return!0;for(let n=0;n<t.length;n++)if(t[n]!==e)return!0}function Pc(t,e,n,i){const r=t[0];if(r===null)return!1;if(e==="display"||e==="visibility")return!0;const s=t[t.length-1],o=vs(r,e),u=vs(s,e);return et(o===u,`You are trying to animate ${e} from "${r}" to "${s}". ${r} is not an animatable value - to enable this animation set ${r} to a value animatable to ${s} via the \`style\` property.`),!o||!u?!1:Sc(t)||n==="spring"&&i}class ys{constructor({autoplay:e=!0,delay:n=0,type:i="keyframes",repeat:r=0,repeatDelay:s=0,repeatType:o="loop",...u}){this.isStopped=!1,this.hasAttemptedResolve=!1,this.options={autoplay:e,delay:n,type:i,repeat:r,repeatDelay:s,repeatType:o,...u},this.updateFinishedPromise()}get resolved(){return!this._resolved&&!this.hasAttemptedResolve&&lc(),this._resolved}onKeyframesResolved(e,n){this.hasAttemptedResolve=!0;const{name:i,type:r,velocity:s,delay:o,onComplete:u,onUpdate:a,isGenerator:l}=this.options;if(!l&&!Pc(e,i,r,s))if(o)this.options.duration=0;else{a==null||a(qt(e,this.options,n)),u==null||u(),this.resolveFinishedPromise();return}const c=this.initPlayback(e,n);c!==!1&&(this._resolved={keyframes:e,finalKeyframe:n,...c},this.onPostResolved())}onPostResolved(){}then(e,n){return this.currentFinishedPromise.then(e,n)}updateFinishedPromise(){this.currentFinishedPromise=new Promise(e=>{this.resolveFinishedPromise=e})}}function Is(t,e){return e?t*(1e3/e):0}const Ec=5;function Cs(t,e,n){const i=Math.max(e-Ec,0);return Is(n-t(i),e-i)}const ui=.001,Tc=.01,xs=10,Vc=.05,wc=1;function Fc({duration:t=800,bounce:e=.25,velocity:n=0,mass:i=1}){let r,s;et(t<=Be(xs),"Spring duration must be 10 seconds or less");let o=1-e;o=Re(Vc,wc,o),t=Re(Tc,xs,Ge(t)),o<1?(r=l=>{const c=l*o,d=c*t,f=c-n,h=li(l,o),m=Math.exp(-d);return ui-f/h*m},s=l=>{const d=l*o*t,f=d*n+n,h=Math.pow(o,2)*Math.pow(l,2)*t,m=Math.exp(-d),p=li(Math.pow(l,2),o);return(-r(l)+ui>0?-1:1)*((f-h)*m)/p}):(r=l=>{const c=Math.exp(-l*t),d=(l-n)*t+1;return-ui+c*d},s=l=>{const c=Math.exp(-l*t),d=(n-l)*(t*t);return c*d});const u=5/t,a=Gc(r,s,u);if(t=Be(t),isNaN(a))return{stiffness:100,damping:10,duration:t};{const l=Math.pow(a,2)*i;return{stiffness:l,damping:o*2*Math.sqrt(i*l),duration:t}}}const Bc=12;function Gc(t,e,n){let i=n;for(let r=1;r<Bc;r++)i=i-t(i)/e(i);return i}function li(t,e){return t*Math.sqrt(1-e*e)}const Mc=["duration","bounce"],Dc=["stiffness","damping","mass"];function As(t,e){return e.some(n=>t[n]!==void 0)}function Nc(t){let e={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...t};if(!As(t,Dc)&&As(t,Mc)){const n=Fc(t);e={...e,...n,mass:1},e.isResolvedFromDuration=!0}return e}function Ss({keyframes:t,restDelta:e,restSpeed:n,...i}){const r=t[0],s=t[t.length-1],o={done:!1,value:r},{stiffness:u,damping:a,mass:l,duration:c,velocity:d,isResolvedFromDuration:f}=Nc({...i,velocity:-Ge(i.velocity||0)}),h=d||0,m=a/(2*Math.sqrt(u*l)),p=s-r,g=Ge(Math.sqrt(u/l)),b=Math.abs(p)<5;n||(n=b?.01:2),e||(e=b?.005:.5);let I;if(m<1){const v=li(g,m);I=x=>{const y=Math.exp(-m*g*x);return s-y*((h+m*g*p)/v*Math.sin(v*x)+p*Math.cos(v*x))}}else if(m===1)I=v=>s-Math.exp(-g*v)*(p+(h+g*p)*v);else{const v=g*Math.sqrt(m*m-1);I=x=>{const y=Math.exp(-m*g*x),S=Math.min(v*x,300);return s-y*((h+m*g*p)*Math.sinh(S)+v*p*Math.cosh(S))/v}}return{calculatedDuration:f&&c||null,next:v=>{const x=I(v);if(f)o.done=v>=c;else{let y=h;v!==0&&(m<1?y=Cs(I,v,x):y=0);const S=Math.abs(y)<=n,P=Math.abs(s-x)<=e;o.done=S&&P}return o.value=o.done?s:x,o}}}function Ps({keyframes:t,velocity:e=0,power:n=.8,timeConstant:i=325,bounceDamping:r=10,bounceStiffness:s=500,modifyTarget:o,min:u,max:a,restDelta:l=.5,restSpeed:c}){const d=t[0],f={done:!1,value:d},h=A=>u!==void 0&&A<u||a!==void 0&&A>a,m=A=>u===void 0?a:a===void 0||Math.abs(u-A)<Math.abs(a-A)?u:a;let p=n*e;const g=d+p,b=o===void 0?g:o(g);b!==g&&(p=b-d);const I=A=>-p*Math.exp(-A/i),v=A=>b+I(A),x=A=>{const M=I(A),N=v(A);f.done=Math.abs(M)<=l,f.value=f.done?b:N};let y,S;const P=A=>{h(f.value)&&(y=A,S=Ss({keyframes:[f.value,m(f.value)],velocity:Cs(v,A,f.value),damping:r,stiffness:s,restDelta:l,restSpeed:c}))};return P(0),{calculatedDuration:null,next:A=>{let M=!1;return!S&&y===void 0&&(M=!0,x(A),P(A)),y!==void 0&&A>=y?S.next(A-y):(!M&&x(A),f)}}}const Es=(t,e,n)=>(((1-3*n+3*e)*t+(3*n-6*e))*t+3*e)*t,Wc=1e-7,Rc=12;function Lc(t,e,n,i,r){let s,o,u=0;do o=e+(n-e)/2,s=Es(o,i,r)-t,s>0?n=o:e=o;while(Math.abs(s)>Wc&&++u<Rc);return o}function xt(t,e,n,i){if(t===e&&n===i)return Q;const r=s=>Lc(s,0,1,t,n);return s=>s===0||s===1?s:Es(r(s),e,i)}const Oc=xt(.42,0,1,1),Xc=xt(0,0,.58,1),Ts=xt(.42,0,.58,1),Zc=t=>Array.isArray(t)&&typeof t[0]!="number",Vs=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2,ws=t=>e=>1-t(1-e),ci=t=>1-Math.sin(Math.acos(t)),Fs=ws(ci),Hc=Vs(ci),Bs=xt(.33,1.53,.69,.99),di=ws(Bs),kc=Vs(di),Gs={linear:Q,easeIn:Oc,easeInOut:Ts,easeOut:Xc,circIn:ci,circInOut:Hc,circOut:Fs,backIn:di,backInOut:kc,backOut:Bs,anticipate:t=>(t*=2)<1?.5*di(t):.5*(2-Math.pow(2,-10*(t-1)))},Ms=t=>{if(Array.isArray(t)){Ee(t.length===4,"Cubic bezier arrays must contain four numerical values.");const[e,n,i,r]=t;return xt(e,n,i,r)}else if(typeof t=="string")return Ee(Gs[t]!==void 0,`Invalid easing type '${t}'`),Gs[t];return t},At=(t,e,n)=>{const i=e-t;return i===0?1:(n-t)/i},H=(t,e,n)=>t+(e-t)*n;function fi(t,e,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?t+(e-t)*6*n:n<1/2?e:n<2/3?t+(e-t)*(2/3-n)*6:t}function zc({hue:t,saturation:e,lightness:n,alpha:i}){t/=360,e/=100,n/=100;let r=0,s=0,o=0;if(!e)r=s=o=n;else{const u=n<.5?n*(1+e):n+e-n*e,a=2*n-u;r=fi(a,u,t+1/3),s=fi(a,u,t),o=fi(a,u,t-1/3)}return{red:Math.round(r*255),green:Math.round(s*255),blue:Math.round(o*255),alpha:i}}function tn(t,e){return n=>n>0?e:t}const hi=(t,e,n)=>{const i=t*t,r=n*(e*e-i)+i;return r<0?0:Math.sqrt(r)},jc=[si,ze,it],Yc=t=>jc.find(e=>e.test(t));function Ds(t){const e=Yc(t);if(et(!!e,`'${t}' is not an animatable color. Use the equivalent color code instead.`),!e)return!1;let n=e.parse(t);return e===it&&(n=zc(n)),n}const Ns=(t,e)=>{const n=Ds(t),i=Ds(e);if(!n||!i)return tn(t,e);const r={...n};return s=>(r.red=hi(n.red,i.red,s),r.green=hi(n.green,i.green,s),r.blue=hi(n.blue,i.blue,s),r.alpha=H(n.alpha,i.alpha,s),ze.transform(r))},pi=new Set(["none","hidden"]);function Jc(t,e){return pi.has(t)?n=>n<=0?t:e:n=>n>=1?e:t}function Uc(t,e){return n=>H(t,e,n)}function mi(t){return typeof t=="number"?Uc:typeof t=="string"?Xn(t)?tn:ee.test(t)?Ns:$c:Array.isArray(t)?Ws:typeof t=="object"?ee.test(t)?Ns:_c:tn}function Ws(t,e){const n=[...t],i=n.length,r=t.map((s,o)=>mi(s)(s,e[o]));return s=>{for(let o=0;o<i;o++)n[o]=r[o](s);return n}}function _c(t,e){const n={...t,...e},i={};for(const r in n)t[r]!==void 0&&e[r]!==void 0&&(i[r]=mi(t[r])(t[r],e[r]));return r=>{for(const s in i)n[s]=i[s](r);return n}}function Qc(t,e){var n;const i=[],r={color:0,var:0,number:0};for(let s=0;s<e.values.length;s++){const o=e.types[s],u=t.indexes[o][r[o]],a=(n=t.values[u])!==null&&n!==void 0?n:0;i[s]=a,r[o]++}return i}const $c=(t,e)=>{const n=Ze.createTransformer(e),i=Ct(t),r=Ct(e);return i.indexes.var.length===r.indexes.var.length&&i.indexes.color.length===r.indexes.color.length&&i.indexes.number.length>=r.indexes.number.length?pi.has(t)&&!r.values.length||pi.has(e)&&!i.values.length?Jc(t,e):Fe(Ws(Qc(i,r),r.values),n):(et(!0,`Complex values '${t}' and '${e}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`),tn(t,e))};function Rs(t,e,n){return typeof t=="number"&&typeof e=="number"&&typeof n=="number"?H(t,e,n):mi(t)(t,e)}function Kc(t,e,n){const i=[],r=n||Rs,s=t.length-1;for(let o=0;o<s;o++){let u=r(t[o],t[o+1]);if(e){const a=Array.isArray(e)?e[o]||Q:e;u=Fe(a,u)}i.push(u)}return i}function qc(t,e,{clamp:n=!0,ease:i,mixer:r}={}){const s=t.length;if(Ee(s===e.length,"Both input and output ranges must be the same length"),s===1)return()=>e[0];if(s===2&&t[0]===t[1])return()=>e[1];t[0]>t[s-1]&&(t=[...t].reverse(),e=[...e].reverse());const o=Kc(e,i,r),u=o.length,a=l=>{let c=0;if(u>1)for(;c<t.length-2&&!(l<t[c+1]);c++);const d=At(t[c],t[c+1],l);return o[c](d)};return n?l=>a(Re(t[0],t[s-1],l)):a}function ed(t,e){const n=t[t.length-1];for(let i=1;i<=e;i++){const r=At(0,e,i);t.push(H(n,1,r))}}function td(t){const e=[0];return ed(e,t.length-1),e}function nd(t,e){return t.map(n=>n*e)}function id(t,e){return t.map(()=>e||Ts).splice(0,t.length-1)}function nn({duration:t=300,keyframes:e,times:n,ease:i="easeInOut"}){const r=Zc(i)?i.map(Ms):Ms(i),s={done:!1,value:e[0]},o=nd(n&&n.length===e.length?n:td(e),t),u=qc(o,e,{ease:Array.isArray(r)?r:id(e,r)});return{calculatedDuration:t,next:a=>(s.value=u(a),s.done=a>=t,s)}}const Ls=2e4;function rd(t){let e=0;const n=50;let i=t.next(e);for(;!i.done&&e<Ls;)e+=n,i=t.next(e);return e>=Ls?1/0:e}const sd=t=>{const e=({timestamp:n})=>t(n);return{start:()=>O.update(e,!0),stop:()=>Te(e),now:()=>$.isProcessing?$.timestamp:Xe.now()}},od={decay:Ps,inertia:Ps,tween:nn,keyframes:nn,spring:Ss},ad=t=>t/100;class gi extends ys{constructor({KeyframeResolver:e=ni,...n}){super(n),this.holdTime=null,this.startTime=null,this.cancelTime=null,this.currentTime=0,this.playbackSpeed=1,this.pendingPlayState="running",this.state="idle",this.stop=()=>{if(this.resolver.cancel(),this.isStopped=!0,this.state==="idle")return;this.teardown();const{onStop:u}=this.options;u&&u()};const{name:i,motionValue:r,keyframes:s}=this.options,o=(u,a)=>this.onKeyframesResolved(u,a);i&&r&&r.owner?this.resolver=r.owner.resolveKeyframes(s,o,i,r):this.resolver=new e(s,o,i,r),this.resolver.scheduleResolve()}initPlayback(e){const{type:n="keyframes",repeat:i=0,repeatDelay:r=0,repeatType:s,velocity:o=0}=this.options,u=od[n]||nn;let a,l;u!==nn&&typeof e[0]!="number"&&(process.env.NODE_ENV!=="production"&&Ee(e.length===2,`Only two keyframes currently supported with spring and inertia animations. Trying to animate ${e}`),a=Fe(ad,Rs(e[0],e[1])),e=[0,100]);const c=u({...this.options,keyframes:e});s==="mirror"&&(l=u({...this.options,keyframes:[...e].reverse(),velocity:-o})),c.calculatedDuration===null&&(c.calculatedDuration=rd(c));const{calculatedDuration:d}=c,f=d+r,h=f*(i+1)-r;return{generator:c,mirroredGenerator:l,mapPercentToKeyframes:a,calculatedDuration:d,resolvedDuration:f,totalDuration:h}}onPostResolved(){const{autoplay:e=!0}=this.options;this.play(),this.pendingPlayState==="paused"||!e?this.pause():this.state=this.pendingPlayState}tick(e,n=!1){const{resolved:i}=this;if(!i){const{keyframes:A}=this.options;return{done:!0,value:A[A.length-1]}}const{finalKeyframe:r,generator:s,mirroredGenerator:o,mapPercentToKeyframes:u,keyframes:a,calculatedDuration:l,totalDuration:c,resolvedDuration:d}=i;if(this.startTime===null)return s.next(0);const{delay:f,repeat:h,repeatType:m,repeatDelay:p,onUpdate:g}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,e):this.speed<0&&(this.startTime=Math.min(e-c/this.speed,this.startTime)),n?this.currentTime=e:this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=Math.round(e-this.startTime)*this.speed;const b=this.currentTime-f*(this.speed>=0?1:-1),I=this.speed>=0?b<0:b>c;this.currentTime=Math.max(b,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=c);let v=this.currentTime,x=s;if(h){const A=Math.min(this.currentTime,c)/d;let M=Math.floor(A),N=A%1;!N&&A>=1&&(N=1),N===1&&M--,M=Math.min(M,h+1),!!(M%2)&&(m==="reverse"?(N=1-N,p&&(N-=p/d)):m==="mirror"&&(x=o)),v=Re(0,1,N)*d}const y=I?{done:!1,value:a[0]}:x.next(v);u&&(y.value=u(y.value));let{done:S}=y;!I&&l!==null&&(S=this.speed>=0?this.currentTime>=c:this.currentTime<=0);const P=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&S);return P&&r!==void 0&&(y.value=qt(a,this.options,r)),g&&g(y.value),P&&this.finish(),y}get duration(){const{resolved:e}=this;return e?Ge(e.calculatedDuration):0}get time(){return Ge(this.currentTime)}set time(e){e=Be(e),this.currentTime=e,this.holdTime!==null||this.speed===0?this.holdTime=e:this.driver&&(this.startTime=this.driver.now()-e/this.speed)}get speed(){return this.playbackSpeed}set speed(e){const n=this.playbackSpeed!==e;this.playbackSpeed=e,n&&(this.time=Ge(this.currentTime))}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved){this.pendingPlayState="running";return}if(this.isStopped)return;const{driver:e=sd,onPlay:n}=this.options;this.driver||(this.driver=e(r=>this.tick(r))),n&&n();const i=this.driver.now();this.holdTime!==null?this.startTime=i-this.holdTime:(!this.startTime||this.state==="finished")&&(this.startTime=i),this.state==="finished"&&this.updateFinishedPromise(),this.cancelTime=this.startTime,this.holdTime=null,this.state="running",this.driver.start()}pause(){var e;if(!this._resolved){this.pendingPlayState="paused";return}this.state="paused",this.holdTime=(e=this.currentTime)!==null&&e!==void 0?e:0}complete(){this.state!=="running"&&this.play(),this.pendingPlayState=this.state="finished",this.holdTime=null}finish(){this.teardown(),this.state="finished";const{onComplete:e}=this.options;e&&e()}cancel(){this.cancelTime!==null&&this.tick(this.cancelTime),this.teardown(),this.updateFinishedPromise()}teardown(){this.state="idle",this.stopDriver(),this.resolveFinishedPromise(),this.updateFinishedPromise(),this.startTime=this.cancelTime=null,this.resolver.cancel()}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(e){return this.startTime=0,this.tick(e,!0)}}const Os=t=>Array.isArray(t)&&typeof t[0]=="number";function Xs(t){return!!(!t||typeof t=="string"&&t in bi||Os(t)||Array.isArray(t)&&t.every(Xs))}const St=([t,e,n,i])=>`cubic-bezier(${t}, ${e}, ${n}, ${i})`,bi={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:St([0,.65,.55,1]),circOut:St([.55,0,1,.45]),backIn:St([.31,.01,.66,-.59]),backOut:St([.33,1.53,.69,.99])};function ud(t){return Zs(t)||bi.easeOut}function Zs(t){if(t)return Os(t)?St(t):Array.isArray(t)?t.map(ud):bi[t]}function ld(t,e,n,{delay:i=0,duration:r=300,repeat:s=0,repeatType:o="loop",ease:u,times:a}={}){const l={[e]:n};a&&(l.offset=a);const c=Zs(u);return Array.isArray(c)&&(l.easing=c),t.animate(l,{delay:i,duration:r,easing:Array.isArray(c)?"linear":c,fill:"both",iterations:s+1,direction:o==="reverse"?"alternate":"normal"})}const cd=bs(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),rn=10,dd=2e4;function fd(t){return t.type==="spring"||!Xs(t.ease)}function hd(t,e){const n=new gi({...e,keyframes:t,repeat:0,delay:0,isGenerator:!0});let i={done:!1,value:t[0]};const r=[];let s=0;for(;!i.done&&s<dd;)i=n.sample(s),r.push(i.value),s+=rn;return{times:void 0,keyframes:r,duration:s-rn,ease:"linear"}}class Hs extends ys{constructor(e){super(e);const{name:n,motionValue:i,keyframes:r}=this.options;this.resolver=new gs(r,(s,o)=>this.onKeyframesResolved(s,o),n,i),this.resolver.scheduleResolve()}initPlayback(e,n){var i;let{duration:r=300,times:s,ease:o,type:u,motionValue:a,name:l}=this.options;if(!(!((i=a.owner)===null||i===void 0)&&i.current))return!1;if(fd(this.options)){const{onComplete:d,onUpdate:f,motionValue:h,...m}=this.options,p=hd(e,m);e=p.keyframes,e.length===1&&(e[1]=e[0]),r=p.duration,s=p.times,o=p.ease,u="keyframes"}const c=ld(a.owner.current,l,e,{...this.options,duration:r,times:s,ease:o});return c.startTime=Xe.now(),this.pendingTimeline?(c.timeline=this.pendingTimeline,this.pendingTimeline=void 0):c.onfinish=()=>{const{onComplete:d}=this.options;a.set(qt(e,this.options,n)),d&&d(),this.cancel(),this.resolveFinishedPromise()},{animation:c,duration:r,times:s,type:u,ease:o,keyframes:e}}get duration(){const{resolved:e}=this;if(!e)return 0;const{duration:n}=e;return Ge(n)}get time(){const{resolved:e}=this;if(!e)return 0;const{animation:n}=e;return Ge(n.currentTime||0)}set time(e){const{resolved:n}=this;if(!n)return;const{animation:i}=n;i.currentTime=Be(e)}get speed(){const{resolved:e}=this;if(!e)return 1;const{animation:n}=e;return n.playbackRate}set speed(e){const{resolved:n}=this;if(!n)return;const{animation:i}=n;i.playbackRate=e}get state(){const{resolved:e}=this;if(!e)return"idle";const{animation:n}=e;return n.playState}attachTimeline(e){if(!this._resolved)this.pendingTimeline=e;else{const{resolved:n}=this;if(!n)return Q;const{animation:i}=n;i.timeline=e,i.onfinish=null}return Q}play(){if(this.isStopped)return;const{resolved:e}=this;if(!e)return;const{animation:n}=e;n.playState==="finished"&&this.updateFinishedPromise(),n.play()}pause(){const{resolved:e}=this;if(!e)return;const{animation:n}=e;n.pause()}stop(){if(this.resolver.cancel(),this.isStopped=!0,this.state==="idle")return;const{resolved:e}=this;if(!e)return;const{animation:n,keyframes:i,duration:r,type:s,ease:o,times:u}=e;if(n.playState==="idle"||n.playState==="finished")return;if(this.time){const{motionValue:l,onUpdate:c,onComplete:d,...f}=this.options,h=new gi({...f,keyframes:i,duration:r,type:s,ease:o,times:u,isGenerator:!0}),m=Be(this.time);l.setWithVelocity(h.sample(m-rn).value,h.sample(m).value,rn)}const{onStop:a}=this.options;a&&a(),this.cancel()}complete(){const{resolved:e}=this;e&&e.animation.finish()}cancel(){const{resolved:e}=this;e&&e.animation.cancel()}static supports(e){const{motionValue:n,name:i,repeatDelay:r,repeatType:s,damping:o,type:u}=e;return cd()&&i&&Or.has(i)&&n&&n.owner&&n.owner.current instanceof HTMLElement&&!n.owner.getProps().onUpdate&&!r&&s!=="mirror"&&o!==0&&u!=="inertia"}}function pd(t,e){let n;const i=()=>{const{currentTime:r}=e,o=(r===null?0:r.value)/100;n!==o&&t(o),n=o};return O.update(i,!0),()=>Te(i)}const md=bs(()=>window.ScrollTimeline!==void 0);class gd{constructor(e){this.stop=()=>this.runAll("stop"),this.animations=e.filter(Boolean)}then(e,n){return Promise.all(this.animations).then(e).catch(n)}getAll(e){return this.animations[0][e]}setAll(e,n){for(let i=0;i<this.animations.length;i++)this.animations[i][e]=n}attachTimeline(e){const n=this.animations.map(i=>{if(md()&&i.attachTimeline)i.attachTimeline(e);else return i.pause(),pd(r=>{i.time=i.duration*r},e)});return()=>{n.forEach((i,r)=>{i&&i(),this.animations[r].stop()})}}get time(){return this.getAll("time")}set time(e){this.setAll("time",e)}get speed(){return this.getAll("speed")}set speed(e){this.setAll("speed",e)}get duration(){let e=0;for(let n=0;n<this.animations.length;n++)e=Math.max(e,this.animations[n].duration);return e}runAll(e){this.animations.forEach(n=>n[e]())}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}const vi=(t,e,n,i={},r,s,o)=>u=>{const a=qn(i,t)||{},l=a.delay||i.delay||0;let{elapsed:c=0}=i;c=c-Be(l);let d={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:e.getVelocity(),...a,delay:-c,onUpdate:h=>{e.set(h),a.onUpdate&&a.onUpdate(h)},onComplete:()=>{u(),a.onComplete&&a.onComplete(),o&&o()},onStop:o,name:t,motionValue:e,element:s?void 0:r};Kl(a)||(d={...d,...$l(t,d)}),d.duration&&(d.duration=Be(d.duration)),d.repeatDelay&&(d.repeatDelay=Be(d.repeatDelay)),d.from!==void 0&&(d.keyframes[0]=d.from);let f=!1;if((d.type===!1||d.duration===0&&!d.repeatDelay)&&(d.duration=0,d.delay===0&&(f=!0)),f&&!s&&e.get()!==void 0){const h=qt(d.keyframes,a);if(h!==void 0)return O.update(()=>{d.onUpdate(h),d.onComplete()}),new gd([])}return!s&&Hs.supports(d)?new Hs(d):new gi(d)};class yi{constructor(){this.subscriptions=[]}add(e){return _t(this.subscriptions,e),()=>Qt(this.subscriptions,e)}notify(e,n,i){const r=this.subscriptions.length;if(r)if(r===1)this.subscriptions[0](e,n,i);else for(let s=0;s<r;s++){const o=this.subscriptions[s];o&&o(e,n,i)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const ks=new Set;function Ii(t,e,n){t||ks.has(e)||(console.warn(e),ks.add(e))}const zs=30,bd=t=>!isNaN(parseFloat(t));class js{constructor(e,n={}){this.version="11.3.8",this.canTrackVelocity=null,this.events={},this.updateAndNotify=(i,r=!0)=>{const s=Xe.now();this.updatedAt!==s&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(i),this.current!==this.prev&&this.events.change&&this.events.change.notify(this.current),r&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.hasAnimated=!1,this.setCurrent(e),this.owner=n.owner}setCurrent(e){this.current=e,this.updatedAt=Xe.now(),this.canTrackVelocity===null&&e!==void 0&&(this.canTrackVelocity=bd(this.current))}setPrevFrameValue(e=this.current){this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt}onChange(e){return process.env.NODE_ENV!=="production"&&Ii(!1,'value.onChange(callback) is deprecated. Switch to value.on("change", callback).'),this.on("change",e)}on(e,n){this.events[e]||(this.events[e]=new yi);const i=this.events[e].add(n);return e==="change"?()=>{i(),O.read(()=>{this.events.change.getSize()||this.stop()})}:i}clearListeners(){for(const e in this.events)this.events[e].clear()}attach(e,n){this.passiveEffect=e,this.stopPassiveEffect=n}set(e,n=!0){!n||!this.passiveEffect?this.updateAndNotify(e,n):this.passiveEffect(e,this.updateAndNotify)}setWithVelocity(e,n,i){this.set(n),this.prev=void 0,this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt-i}jump(e,n=!0){this.updateAndNotify(e),this.prev=e,this.prevUpdatedAt=this.prevFrameValue=void 0,n&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const e=Xe.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||e-this.updatedAt>zs)return 0;const n=Math.min(this.updatedAt-this.prevUpdatedAt,zs);return Is(parseFloat(this.current)-parseFloat(this.prevFrameValue),n)}start(e){return this.stop(),new Promise(n=>{this.hasAnimated=!0,this.animation=e(n),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function Pt(t,e){return new js(t,e)}function vd(t,e,n){t.hasValue(e)?t.getValue(e).set(n):t.addValue(e,Pt(n))}function yd(t,e){const n=Kt(t,e);let{transitionEnd:i={},transition:r={},...s}=n||{};s={...s,...i};for(const o in s){const u=Tl(s[o]);vd(t,o,u)}}function Ys(t){return t.getProps()[mr]}class Id extends js{constructor(){super(...arguments),this.output=[],this.counts=new Map}add(e){const n=Xr(e);if(!n)return;const i=this.counts.get(n)||0;this.counts.set(n,i+1),i===0&&(this.output.push(n),this.update());let r=!1;return()=>{if(r)return;r=!0;const s=this.counts.get(n)-1;this.counts.set(n,s),s===0&&(Qt(this.output,n),this.update())}}update(){this.set(this.output.length?this.output.join(", "):"auto")}}function Cd(t){return!!(q(t)&&t.add)}function Ci(t,e){var n;if(!t.applyWillChange)return;let i=t.getValue("willChange");if(!i&&!(!((n=t.props.style)===null||n===void 0)&&n.willChange)&&(i=new Id("auto"),t.addValue("willChange",i)),Cd(i))return i.add(e)}function xd({protectedKeys:t,needsAnimating:e},n){const i=t.hasOwnProperty(n)&&e[n]!==!0;return e[n]=!1,i}function Js(t,e,{delay:n=0,transitionOverride:i,type:r}={}){var s;let{transition:o=t.getDefaultTransition(),transitionEnd:u,...a}=e;i&&(o=i);const l=[],c=r&&t.animationState&&t.animationState.getState()[r];for(const d in a){const f=t.getValue(d,(s=t.latestValues[d])!==null&&s!==void 0?s:null),h=a[d];if(h===void 0||c&&xd(c,d))continue;const m={delay:n,elapsed:0,...qn(o||{},d)};let p=!1;if(window.HandoffAppearAnimations){const b=Ys(t);if(b){const I=window.HandoffAppearAnimations(b,d,f,O);I!==null&&(m.elapsed=I,p=!0)}}f.start(vi(d,f,h,t.shouldReduceMotion&&We.has(d)?{type:!1}:m,t,p,Ci(t,d)));const g=f.animation;g&&l.push(g)}return u&&Promise.all(l).then(()=>{O.update(()=>{u&&yd(t,u)})}),l}function xi(t,e,n={}){var i;const r=Kt(t,e,n.type==="exit"?(i=t.presenceContext)===null||i===void 0?void 0:i.custom:void 0);let{transition:s=t.getDefaultTransition()||{}}=r||{};n.transitionOverride&&(s=n.transitionOverride);const o=r?()=>Promise.all(Js(t,r,n)):()=>Promise.resolve(),u=t.variantChildren&&t.variantChildren.size?(l=0)=>{const{delayChildren:c=0,staggerChildren:d,staggerDirection:f}=s;return Ad(t,e,c+l,d,f,n)}:()=>Promise.resolve(),{when:a}=s;if(a){const[l,c]=a==="beforeChildren"?[o,u]:[u,o];return l().then(()=>c())}else return Promise.all([o(),u(n.delay)])}function Ad(t,e,n=0,i=0,r=1,s){const o=[],u=(t.variantChildren.size-1)*i,a=r===1?(l=0)=>l*i:(l=0)=>u-l*i;return Array.from(t.variantChildren).sort(Sd).forEach((l,c)=>{l.notify("AnimationStart",e),o.push(xi(l,e,{...s,delay:n+a(c)}).then(()=>l.notify("AnimationComplete",e)))}),Promise.all(o)}function Sd(t,e){return t.sortNodePosition(e)}function Pd(t,e,n={}){t.notify("AnimationStart",e);let i;if(Array.isArray(e)){const r=e.map(s=>xi(t,s,n));i=Promise.all(r)}else if(typeof e=="string")i=xi(t,e,n);else{const r=typeof e=="function"?Kt(t,e,n.custom):e;i=Promise.all(Js(t,r,n))}return i.then(()=>{O.postRender(()=>{t.notify("AnimationComplete",e)})})}const Ed=[...Wn].reverse(),Td=Wn.length;function Vd(t){return e=>Promise.all(e.map(({animation:n,options:i})=>Pd(t,n,i)))}function wd(t){let e=Vd(t),n=Us(),i=!0;const r=a=>(l,c)=>{var d;const f=Kt(t,c,a==="exit"?(d=t.presenceContext)===null||d===void 0?void 0:d.custom:void 0);if(f){const{transition:h,transitionEnd:m,...p}=f;l={...l,...p,...m}}return l};function s(a){e=a(t)}function o(a){const l=t.getProps(),c=t.getVariantContext(!0)||{},d=[],f=new Set;let h={},m=1/0;for(let g=0;g<Td;g++){const b=Ed[g],I=n[b],v=l[b]!==void 0?l[b]:c[b],x=pt(v),y=b===a?I.isActive:null;y===!1&&(m=g);let S=v===c[b]&&v!==l[b]&&x;if(S&&i&&t.manuallyAnimateOnMount&&(S=!1),I.protectedKeys={...h},!I.isActive&&y===null||!v&&!I.prevProp||mt(v)||typeof v=="boolean")continue;let A=Fd(I.prevProp,v)||b===a&&I.isActive&&!S&&x||g>m&&x,M=!1;const N=Array.isArray(v)?v:[v];let k=N.reduce(r(b),{});y===!1&&(k={});const{prevResolvedValues:Y={}}=I,le={...Y,...k},se=D=>{A=!0,f.has(D)&&(M=!0,f.delete(D)),I.needsAnimating[D]=!0;const L=t.getValue(D);L&&(L.liveStyle=!1)};for(const D in le){const L=k[D],ne=Y[D];if(h.hasOwnProperty(D))continue;let _=!1;Un(L)&&Un(ne)?_=!$r(L,ne):_=L!==ne,_?L!=null?se(D):f.add(D):L!==void 0&&f.has(D)?se(D):I.protectedKeys[D]=!0}I.prevProp=v,I.prevResolvedValues=k,I.isActive&&(h={...h,...k}),i&&t.blockInitialAnimation&&(A=!1),A&&(!S||M)&&d.push(...N.map(D=>({animation:D,options:{type:b}})))}if(f.size){const g={};f.forEach(b=>{const I=t.getBaseTarget(b),v=t.getValue(b);v&&(v.liveStyle=!0),g[b]=I??null}),d.push({animation:g})}let p=!!d.length;return i&&(l.initial===!1||l.initial===l.animate)&&!t.manuallyAnimateOnMount&&(p=!1),i=!1,p?e(d):Promise.resolve()}function u(a,l){var c;if(n[a].isActive===l)return Promise.resolve();(c=t.variantChildren)===null||c===void 0||c.forEach(f=>{var h;return(h=f.animationState)===null||h===void 0?void 0:h.setActive(a,l)}),n[a].isActive=l;const d=o(a);for(const f in n)n[f].protectedKeys={};return d}return{animateChanges:o,setActive:u,setAnimateFunction:s,getState:()=>n,reset:()=>{n=Us(),i=!0}}}function Fd(t,e){return typeof e=="string"?e!==t:Array.isArray(e)?!$r(e,t):!1}function je(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function Us(){return{animate:je(!0),whileInView:je(),whileHover:je(),whileTap:je(),whileDrag:je(),whileFocus:je(),exit:je()}}class Bd extends Oe{constructor(e){super(e),e.animationState||(e.animationState=wd(e))}updateAnimationControlsSubscription(){const{animate:e}=this.node.getProps();mt(e)&&(this.unmountControls=e.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:e}=this.node.getProps(),{animate:n}=this.node.prevProps||{};e!==n&&this.updateAnimationControlsSubscription()}unmount(){var e;this.node.animationState.reset(),(e=this.unmountControls)===null||e===void 0||e.call(this)}}let Gd=0;class Md extends Oe{constructor(){super(...arguments),this.id=Gd++}update(){if(!this.node.presenceContext)return;const{isPresent:e,onExitComplete:n}=this.node.presenceContext,{isPresent:i}=this.node.prevPresenceContext||{};if(!this.node.animationState||e===i)return;const r=this.node.animationState.setActive("exit",!e);n&&!e&&r.then(()=>n(this.id))}mount(){const{register:e}=this.node.presenceContext||{};e&&(this.unmount=e(this.id))}unmount(){}}const Dd={animation:{Feature:Bd},exit:{Feature:Md}},_s=(t,e)=>Math.abs(t-e);function Nd(t,e){const n=_s(t.x,e.x),i=_s(t.y,e.y);return Math.sqrt(n**2+i**2)}class Qs{constructor(e,n,{transformPagePoint:i,contextWindow:r,dragSnapToOrigin:s=!1}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const d=Si(this.lastMoveEventInfo,this.history),f=this.startEvent!==null,h=Nd(d.offset,{x:0,y:0})>=3;if(!f&&!h)return;const{point:m}=d,{timestamp:p}=$;this.history.push({...m,timestamp:p});const{onStart:g,onMove:b}=this.handlers;f||(g&&g(this.lastMoveEvent,d),this.startEvent=this.lastMoveEvent),b&&b(this.lastMoveEvent,d)},this.handlePointerMove=(d,f)=>{this.lastMoveEvent=d,this.lastMoveEventInfo=Ai(f,this.transformPagePoint),O.update(this.updatePoint,!0)},this.handlePointerUp=(d,f)=>{this.end();const{onEnd:h,onSessionEnd:m,resumeAnimation:p}=this.handlers;if(this.dragSnapToOrigin&&p&&p(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const g=Si(d.type==="pointercancel"?this.lastMoveEventInfo:Ai(f,this.transformPagePoint),this.history);this.startEvent&&h&&h(d,g),m&&m(d,g)},!kr(e))return;this.dragSnapToOrigin=s,this.handlers=n,this.transformPagePoint=i,this.contextWindow=r||window;const o=$t(e),u=Ai(o,this.transformPagePoint),{point:a}=u,{timestamp:l}=$;this.history=[{...a,timestamp:l}];const{onSessionStart:c}=n;c&&c(e,Si(u,this.history)),this.removeListeners=Fe(we(this.contextWindow,"pointermove",this.handlePointerMove),we(this.contextWindow,"pointerup",this.handlePointerUp),we(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),Te(this.updatePoint)}}function Ai(t,e){return e?{point:e(t.point)}:t}function $s(t,e){return{x:t.x-e.x,y:t.y-e.y}}function Si({point:t},e){return{point:t,delta:$s(t,Ks(e)),offset:$s(t,Wd(e)),velocity:Rd(e,.1)}}function Wd(t){return t[0]}function Ks(t){return t[t.length-1]}function Rd(t,e){if(t.length<2)return{x:0,y:0};let n=t.length-1,i=null;const r=Ks(t);for(;n>=0&&(i=t[n],!(r.timestamp-i.timestamp>Be(e)));)n--;if(!i)return{x:0,y:0};const s=Ge(r.timestamp-i.timestamp);if(s===0)return{x:0,y:0};const o={x:(r.x-i.x)/s,y:(r.y-i.y)/s};return o.x===1/0&&(o.x=0),o.y===1/0&&(o.y=0),o}const qs=1e-4,Ld=1-qs,Od=1+qs,eo=.01,Xd=0-eo,Zd=0+eo;function ae(t){return t.max-t.min}function Hd(t,e,n){return Math.abs(t-e)<=n}function to(t,e,n,i=.5){t.origin=i,t.originPoint=H(e.min,e.max,t.origin),t.scale=ae(n)/ae(e),t.translate=H(n.min,n.max,t.origin)-t.originPoint,(t.scale>=Ld&&t.scale<=Od||isNaN(t.scale))&&(t.scale=1),(t.translate>=Xd&&t.translate<=Zd||isNaN(t.translate))&&(t.translate=0)}function Et(t,e,n,i){to(t.x,e.x,n.x,i?i.originX:void 0),to(t.y,e.y,n.y,i?i.originY:void 0)}function no(t,e,n){t.min=n.min+e.min,t.max=t.min+ae(e)}function kd(t,e,n){no(t.x,e.x,n.x),no(t.y,e.y,n.y)}function io(t,e,n){t.min=e.min-n.min,t.max=t.min+ae(e)}function Tt(t,e,n){io(t.x,e.x,n.x),io(t.y,e.y,n.y)}function zd(t,{min:e,max:n},i){return e!==void 0&&t<e?t=i?H(e,t,i.min):Math.max(t,e):n!==void 0&&t>n&&(t=i?H(n,t,i.max):Math.min(t,n)),t}function ro(t,e,n){return{min:e!==void 0?t.min+e:void 0,max:n!==void 0?t.max+n-(t.max-t.min):void 0}}function jd(t,{top:e,left:n,bottom:i,right:r}){return{x:ro(t.x,n,r),y:ro(t.y,e,i)}}function so(t,e){let n=e.min-t.min,i=e.max-t.max;return e.max-e.min<t.max-t.min&&([n,i]=[i,n]),{min:n,max:i}}function Yd(t,e){return{x:so(t.x,e.x),y:so(t.y,e.y)}}function Jd(t,e){let n=.5;const i=ae(t),r=ae(e);return r>i?n=At(e.min,e.max-i,t.min):i>r&&(n=At(t.min,t.max-r,e.min)),Re(0,1,n)}function Ud(t,e){const n={};return e.min!==void 0&&(n.min=e.min-t.min),e.max!==void 0&&(n.max=e.max-t.min),n}const Pi=.35;function _d(t=Pi){return t===!1?t=0:t===!0&&(t=Pi),{x:oo(t,"left","right"),y:oo(t,"top","bottom")}}function oo(t,e,n){return{min:ao(t,e),max:ao(t,n)}}function ao(t,e){return typeof t=="number"?t:t[e]||0}const uo=()=>({translate:0,scale:1,origin:0,originPoint:0}),rt=()=>({x:uo(),y:uo()}),lo=()=>({min:0,max:0}),j=()=>({x:lo(),y:lo()});function de(t){return[t("x"),t("y")]}function co({top:t,left:e,right:n,bottom:i}){return{x:{min:e,max:n},y:{min:t,max:i}}}function Qd({x:t,y:e}){return{top:e.min,right:t.max,bottom:e.max,left:t.min}}function $d(t,e){if(!e)return t;const n=e({x:t.left,y:t.top}),i=e({x:t.right,y:t.bottom});return{top:n.y,left:n.x,bottom:i.y,right:i.x}}function Ei(t){return t===void 0||t===1}function Ti({scale:t,scaleX:e,scaleY:n}){return!Ei(t)||!Ei(e)||!Ei(n)}function Ye(t){return Ti(t)||fo(t)||t.z||t.rotate||t.rotateX||t.rotateY||t.skewX||t.skewY}function fo(t){return ho(t.x)||ho(t.y)}function ho(t){return t&&t!=="0%"}function sn(t,e,n){const i=t-n,r=e*i;return n+r}function po(t,e,n,i,r){return r!==void 0&&(t=sn(t,r,i)),sn(t,n,i)+e}function Vi(t,e=0,n=1,i,r){t.min=po(t.min,e,n,i,r),t.max=po(t.max,e,n,i,r)}function mo(t,{x:e,y:n}){Vi(t.x,e.translate,e.scale,e.originPoint),Vi(t.y,n.translate,n.scale,n.originPoint)}const go=.999999999999,bo=1.0000000000001;function Kd(t,e,n,i=!1){const r=n.length;if(!r)return;e.x=e.y=1;let s,o;for(let u=0;u<r;u++){s=n[u],o=s.projectionDelta;const{visualElement:a}=s.options;a&&a.props.style&&a.props.style.display==="contents"||(i&&s.options.layoutScroll&&s.scroll&&s!==s.root&&st(t,{x:-s.scroll.offset.x,y:-s.scroll.offset.y}),o&&(e.x*=o.x.scale,e.y*=o.y.scale,mo(t,o)),i&&Ye(s.latestValues)&&st(t,s.latestValues))}e.x<bo&&e.x>go&&(e.x=1),e.y<bo&&e.y>go&&(e.y=1)}function He(t,e){t.min=t.min+e,t.max=t.max+e}function vo(t,e,n,i,r=.5){const s=H(t.min,t.max,r);Vi(t,e,n,s,i)}function st(t,e){vo(t.x,e.x,e.scaleX,e.scale,e.originX),vo(t.y,e.y,e.scaleY,e.scale,e.originY)}function yo(t,e){return co($d(t.getBoundingClientRect(),e))}function qd(t,e,n){const i=yo(t,n),{scroll:r}=e;return r&&(He(i.x,r.offset.x),He(i.y,r.offset.y)),i}const Io=({current:t})=>t?t.ownerDocument.defaultView:null,ef=new WeakMap;class tf{constructor(e){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=j(),this.visualElement=e}start(e,{snapToCursor:n=!1}={}){const{presenceContext:i}=this.visualElement;if(i&&i.isPresent===!1)return;const r=c=>{const{dragSnapToOrigin:d}=this.getProps();d?this.pauseAnimation():this.stopAnimation(),n&&this.snapToCursor($t(c,"page").point)},s=(c,d)=>{var f;const{drag:h,dragPropagation:m,onDragStart:p}=this.getProps();if(h&&!m&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=Jr(h),!this.openGlobalLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),de(b=>{let I=this.getAxisMotionValue(b).get()||0;if(ye.test(I)){const{projection:v}=this.visualElement;if(v&&v.layout){const x=v.layout.layoutBox[b];x&&(I=ae(x)*(parseFloat(I)/100))}}this.originPoint[b]=I}),p&&O.postRender(()=>p(c,d)),(f=this.removeWillChange)===null||f===void 0||f.call(this),this.removeWillChange=Ci(this.visualElement,"transform");const{animationState:g}=this.visualElement;g&&g.setActive("whileDrag",!0)},o=(c,d)=>{const{dragPropagation:f,dragDirectionLock:h,onDirectionLock:m,onDrag:p}=this.getProps();if(!f&&!this.openGlobalLock)return;const{offset:g}=d;if(h&&this.currentDirection===null){this.currentDirection=nf(g),this.currentDirection!==null&&m&&m(this.currentDirection);return}this.updateAxis("x",d.point,g),this.updateAxis("y",d.point,g),this.visualElement.render(),p&&p(c,d)},u=(c,d)=>this.stop(c,d),a=()=>de(c=>{var d;return this.getAnimationState(c)==="paused"&&((d=this.getAxisMotionValue(c).animation)===null||d===void 0?void 0:d.play())}),{dragSnapToOrigin:l}=this.getProps();this.panSession=new Qs(e,{onSessionStart:r,onStart:s,onMove:o,onSessionEnd:u,resumeAnimation:a},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:l,contextWindow:Io(this.visualElement)})}stop(e,n){var i;(i=this.removeWillChange)===null||i===void 0||i.call(this);const r=this.isDragging;if(this.cancel(),!r)return;const{velocity:s}=n;this.startAnimation(s);const{onDragEnd:o}=this.getProps();o&&O.postRender(()=>o(e,n))}cancel(){this.isDragging=!1;const{projection:e,animationState:n}=this.visualElement;e&&(e.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:i}=this.getProps();!i&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),n&&n.setActive("whileDrag",!1)}updateAxis(e,n,i){const{drag:r}=this.getProps();if(!i||!on(e,r,this.currentDirection))return;const s=this.getAxisMotionValue(e);let o=this.originPoint[e]+i[e];this.constraints&&this.constraints[e]&&(o=zd(o,this.constraints[e],this.elastic[e])),s.set(o)}resolveConstraints(){var e;const{dragConstraints:n,dragElastic:i}=this.getProps(),r=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(e=this.visualElement.projection)===null||e===void 0?void 0:e.layout,s=this.constraints;n&&Ke(n)?this.constraints||(this.constraints=this.resolveRefConstraints()):n&&r?this.constraints=jd(r.layoutBox,n):this.constraints=!1,this.elastic=_d(i),s!==this.constraints&&r&&this.constraints&&!this.hasMutatedConstraints&&de(o=>{this.constraints!==!1&&this.getAxisMotionValue(o)&&(this.constraints[o]=Ud(r.layoutBox[o],this.constraints[o]))})}resolveRefConstraints(){const{dragConstraints:e,onMeasureDragConstraints:n}=this.getProps();if(!e||!Ke(e))return!1;const i=e.current;Ee(i!==null,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");const{projection:r}=this.visualElement;if(!r||!r.layout)return!1;const s=qd(i,r.root,this.visualElement.getTransformPagePoint());let o=Yd(r.layout.layoutBox,s);if(n){const u=n(Qd(o));this.hasMutatedConstraints=!!u,u&&(o=co(u))}return o}startAnimation(e){const{drag:n,dragMomentum:i,dragElastic:r,dragTransition:s,dragSnapToOrigin:o,onDragTransitionEnd:u}=this.getProps(),a=this.constraints||{},l=de(c=>{if(!on(c,n,this.currentDirection))return;let d=a&&a[c]||{};o&&(d={min:0,max:0});const f=r?200:1e6,h=r?40:1e7,m={type:"inertia",velocity:i?e[c]:0,bounceStiffness:f,bounceDamping:h,timeConstant:750,restDelta:1,restSpeed:10,...s,...d};return this.startAxisValueAnimation(c,m)});return Promise.all(l).then(u)}startAxisValueAnimation(e,n){const i=this.getAxisMotionValue(e);return i.start(vi(e,i,0,n,this.visualElement,!1,Ci(this.visualElement,e)))}stopAnimation(){de(e=>this.getAxisMotionValue(e).stop())}pauseAnimation(){de(e=>{var n;return(n=this.getAxisMotionValue(e).animation)===null||n===void 0?void 0:n.pause()})}getAnimationState(e){var n;return(n=this.getAxisMotionValue(e).animation)===null||n===void 0?void 0:n.state}getAxisMotionValue(e){const n=`_drag${e.toUpperCase()}`,i=this.visualElement.getProps(),r=i[n];return r||this.visualElement.getValue(e,(i.initial?i.initial[e]:void 0)||0)}snapToCursor(e){de(n=>{const{drag:i}=this.getProps();if(!on(n,i,this.currentDirection))return;const{projection:r}=this.visualElement,s=this.getAxisMotionValue(n);if(r&&r.layout){const{min:o,max:u}=r.layout.layoutBox[n];s.set(e[n]-H(o,u,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:e,dragConstraints:n}=this.getProps(),{projection:i}=this.visualElement;if(!Ke(n)||!i||!this.constraints)return;this.stopAnimation();const r={x:0,y:0};de(o=>{const u=this.getAxisMotionValue(o);if(u&&this.constraints!==!1){const a=u.get();r[o]=Jd({min:a,max:a},this.constraints[o])}});const{transformTemplate:s}=this.visualElement.getProps();this.visualElement.current.style.transform=s?s({},""):"none",i.root&&i.root.updateScroll(),i.updateLayout(),this.resolveConstraints(),de(o=>{if(!on(o,e,null))return;const u=this.getAxisMotionValue(o),{min:a,max:l}=this.constraints[o];u.set(H(a,l,r[o]))})}addListeners(){if(!this.visualElement.current)return;ef.set(this.visualElement,this);const e=this.visualElement.current,n=we(e,"pointerdown",a=>{const{drag:l,dragListener:c=!0}=this.getProps();l&&c&&this.start(a)}),i=()=>{const{dragConstraints:a}=this.getProps();Ke(a)&&a.current&&(this.constraints=this.resolveRefConstraints())},{projection:r}=this.visualElement,s=r.addEventListener("measure",i);r&&!r.layout&&(r.root&&r.root.updateScroll(),r.updateLayout()),O.read(i);const o=Ve(window,"resize",()=>this.scalePositionWithinConstraints()),u=r.addEventListener("didUpdate",({delta:a,hasLayoutChanged:l})=>{this.isDragging&&l&&(de(c=>{const d=this.getAxisMotionValue(c);d&&(this.originPoint[c]+=a[c].translate,d.set(d.get()+a[c].translate))}),this.visualElement.render())});return()=>{o(),n(),s(),u&&u()}}getProps(){const e=this.visualElement.getProps(),{drag:n=!1,dragDirectionLock:i=!1,dragPropagation:r=!1,dragConstraints:s=!1,dragElastic:o=Pi,dragMomentum:u=!0}=e;return{...e,drag:n,dragDirectionLock:i,dragPropagation:r,dragConstraints:s,dragElastic:o,dragMomentum:u}}}function on(t,e,n){return(e===!0||e===t)&&(n===null||n===t)}function nf(t,e=10){let n=null;return Math.abs(t.y)>e?n="y":Math.abs(t.x)>e&&(n="x"),n}class rf extends Oe{constructor(e){super(e),this.removeGroupControls=Q,this.removeListeners=Q,this.controls=new tf(e)}mount(){const{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Q}unmount(){this.removeGroupControls(),this.removeListeners()}}const Co=t=>(e,n)=>{t&&O.postRender(()=>t(e,n))};class sf extends Oe{constructor(){super(...arguments),this.removePointerDownListener=Q}onPointerDown(e){this.session=new Qs(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:Io(this.node)})}createPanHandlers(){const{onPanSessionStart:e,onPanStart:n,onPan:i,onPanEnd:r}=this.node.getProps();return{onSessionStart:Co(e),onStart:Co(n),onMove:i,onEnd:(s,o)=>{delete this.session,r&&O.postRender(()=>r(s,o))}}}mount(){this.removePointerDownListener=we(this.node.current,"pointerdown",e=>this.onPointerDown(e))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}function of(){const t=C.useContext(Zt);if(t===null)return[!0,null];const{isPresent:e,onExitComplete:n,register:i}=t,r=C.useId();return C.useEffect(()=>i(r),[]),!e&&n?[!1,()=>n&&n(r)]:[!0]}const an={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function xo(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}const Vt={correct:(t,e)=>{if(!e.target)return t;if(typeof t=="string")if(F.test(t))t=parseFloat(t);else return t;const n=xo(t,e.target.x),i=xo(t,e.target.y);return`${n}% ${i}%`}},af={correct:(t,{treeScale:e,projectionDelta:n})=>{const i=t,r=Ze.parse(t);if(r.length>5)return i;const s=Ze.createTransformer(t),o=typeof r[0]!="number"?1:0,u=n.x.scale*e.x,a=n.y.scale*e.y;r[0+o]/=u,r[1+o]/=a;const l=H(u,a,.5);return typeof r[2+o]=="number"&&(r[2+o]/=l),typeof r[3+o]=="number"&&(r[3+o]/=l),s(r)}};class uf extends C.Component{componentDidMount(){const{visualElement:e,layoutGroup:n,switchLayoutGroup:i,layoutId:r}=this.props,{projection:s}=e;nl(lf),s&&(n.group&&n.group.add(s),i&&i.register&&r&&i.register(s),s.root.didUpdate(),s.addEventListener("animationComplete",()=>{this.safeToRemove()}),s.setOptions({...s.options,onExitComplete:()=>this.safeToRemove()})),an.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){const{layoutDependency:n,visualElement:i,drag:r,isPresent:s}=this.props,o=i.projection;return o&&(o.isPresent=s,r||e.layoutDependency!==n||n===void 0?o.willUpdate():this.safeToRemove(),e.isPresent!==s&&(s?o.promote():o.relegate()||O.postRender(()=>{const u=o.getStack();(!u||!u.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:e}=this.props.visualElement;e&&(e.root.didUpdate(),Nn.postRender(()=>{!e.currentAnimation&&e.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:e,layoutGroup:n,switchLayoutGroup:i}=this.props,{projection:r}=e;r&&(r.scheduleCheckAfterUnmount(),n&&n.group&&n.group.remove(r),i&&i.deregister&&i.deregister(r))}safeToRemove(){const{safeToRemove:e}=this.props;e&&e()}render(){return null}}function Ao(t){const[e,n]=of(),i=C.useContext(Ln);return E.jsx(uf,{...t,layoutGroup:i,switchLayoutGroup:C.useContext(br),isPresent:e,safeToRemove:n})}const lf={borderRadius:{...Vt,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:Vt,borderTopRightRadius:Vt,borderBottomLeftRadius:Vt,borderBottomRightRadius:Vt,boxShadow:af},So=["TopLeft","TopRight","BottomLeft","BottomRight"],cf=So.length,Po=t=>typeof t=="string"?parseFloat(t):t,Eo=t=>typeof t=="number"||F.test(t);function df(t,e,n,i,r,s){r?(t.opacity=H(0,n.opacity!==void 0?n.opacity:1,ff(i)),t.opacityExit=H(e.opacity!==void 0?e.opacity:1,0,hf(i))):s&&(t.opacity=H(e.opacity!==void 0?e.opacity:1,n.opacity!==void 0?n.opacity:1,i));for(let o=0;o<cf;o++){const u=`border${So[o]}Radius`;let a=To(e,u),l=To(n,u);if(a===void 0&&l===void 0)continue;a||(a=0),l||(l=0),a===0||l===0||Eo(a)===Eo(l)?(t[u]=Math.max(H(Po(a),Po(l),i),0),(ye.test(l)||ye.test(a))&&(t[u]+="%")):t[u]=l}(e.rotate||n.rotate)&&(t.rotate=H(e.rotate||0,n.rotate||0,i))}function To(t,e){return t[e]!==void 0?t[e]:t.borderRadius}const ff=Vo(0,.5,Fs),hf=Vo(.5,.95,Q);function Vo(t,e,n){return i=>i<t?0:i>e?1:n(At(t,e,i))}function wo(t,e){t.min=e.min,t.max=e.max}function fe(t,e){wo(t.x,e.x),wo(t.y,e.y)}function Fo(t,e){t.translate=e.translate,t.scale=e.scale,t.originPoint=e.originPoint,t.origin=e.origin}function Bo(t,e,n,i,r){return t-=e,t=sn(t,1/n,i),r!==void 0&&(t=sn(t,1/r,i)),t}function pf(t,e=0,n=1,i=.5,r,s=t,o=t){if(ye.test(e)&&(e=parseFloat(e),e=H(o.min,o.max,e/100)-o.min),typeof e!="number")return;let u=H(s.min,s.max,i);t===s&&(u-=e),t.min=Bo(t.min,e,n,u,r),t.max=Bo(t.max,e,n,u,r)}function Go(t,e,[n,i,r],s,o){pf(t,e[n],e[i],e[r],e.scale,s,o)}const mf=["x","scaleX","originX"],gf=["y","scaleY","originY"];function Mo(t,e,n,i){Go(t.x,e,mf,n?n.x:void 0,i?i.x:void 0),Go(t.y,e,gf,n?n.y:void 0,i?i.y:void 0)}function Do(t){return t.translate===0&&t.scale===1}function No(t){return Do(t.x)&&Do(t.y)}function bf(t,e){return t.x.min===e.x.min&&t.x.max===e.x.max&&t.y.min===e.y.min&&t.y.max===e.y.max}function Wo(t,e){return Math.round(t.x.min)===Math.round(e.x.min)&&Math.round(t.x.max)===Math.round(e.x.max)&&Math.round(t.y.min)===Math.round(e.y.min)&&Math.round(t.y.max)===Math.round(e.y.max)}function Ro(t){return ae(t.x)/ae(t.y)}function Lo(t,e){return t.translate===e.translate&&t.scale===e.scale&&t.originPoint===e.originPoint}class vf{constructor(){this.members=[]}add(e){_t(this.members,e),e.scheduleRender()}remove(e){if(Qt(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){const n=this.members[this.members.length-1];n&&this.promote(n)}}relegate(e){const n=this.members.findIndex(r=>e===r);if(n===0)return!1;let i;for(let r=n;r>=0;r--){const s=this.members[r];if(s.isPresent!==!1){i=s;break}}return i?(this.promote(i),!0):!1}promote(e,n){const i=this.lead;if(e!==i&&(this.prevLead=i,this.lead=e,e.show(),i)){i.instance&&i.scheduleRender(),e.scheduleRender(),e.resumeFrom=i,n&&(e.resumeFrom.preserveOpacity=!0),i.snapshot&&(e.snapshot=i.snapshot,e.snapshot.latestValues=i.animationValues||i.latestValues),e.root&&e.root.isUpdating&&(e.isLayoutDirty=!0);const{crossfade:r}=e.options;r===!1&&i.hide()}}exitAnimationComplete(){this.members.forEach(e=>{const{options:n,resumingFrom:i}=e;n.onExitComplete&&n.onExitComplete(),i&&i.options.onExitComplete&&i.options.onExitComplete()})}scheduleRender(){this.members.forEach(e=>{e.instance&&e.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function yf(t,e,n){let i="";const r=t.x.translate/e.x,s=t.y.translate/e.y,o=(n==null?void 0:n.z)||0;if((r||s||o)&&(i=`translate3d(${r}px, ${s}px, ${o}px) `),(e.x!==1||e.y!==1)&&(i+=`scale(${1/e.x}, ${1/e.y}) `),n){const{transformPerspective:l,rotate:c,rotateX:d,rotateY:f,skewX:h,skewY:m}=n;l&&(i=`perspective(${l}px) ${i}`),c&&(i+=`rotate(${c}deg) `),d&&(i+=`rotateX(${d}deg) `),f&&(i+=`rotateY(${f}deg) `),h&&(i+=`skewX(${h}deg) `),m&&(i+=`skewY(${m}deg) `)}const u=t.x.scale*e.x,a=t.y.scale*e.y;return(u!==1||a!==1)&&(i+=`scale(${u}, ${a})`),i||"none"}const If=(t,e)=>t.depth-e.depth;class Cf{constructor(){this.children=[],this.isDirty=!1}add(e){_t(this.children,e),this.isDirty=!0}remove(e){Qt(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(If),this.isDirty=!1,this.children.forEach(e)}}function xf(t,e){const n=Xe.now(),i=({timestamp:r})=>{const s=r-n;s>=e&&(Te(i),t(s-e))};return O.read(i,!0),()=>Te(i)}function Af(t){return t instanceof SVGElement&&t.tagName!=="svg"}function Sf(t,e,n){const i=q(t)?t:Pt(t);return i.start(vi("",i,e,n)),i.animation}const Je={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0},wi=["","X","Y","Z"],Pf={visibility:"hidden"},Oo=1e3;let Ef=0;function Fi(t,e,n,i){const{latestValues:r}=e;r[t]&&(n[t]=r[t],e.setStaticValue(t,0),i&&(i[t]=0))}function Xo(t){if(t.hasCheckedOptimisedAppear=!0,t.root===t)return!1;const{visualElement:e}=t.options;return e?Ys(e)?!0:t.parent&&!t.parent.hasCheckedOptimisedAppear?Xo(t.parent):!1:!1}function Zo({attachResizeListener:t,defaultParent:e,measureScroll:n,checkIsScrollRoot:i,resetTransform:r}){return class{constructor(o={},u=e==null?void 0:e()){this.id=Ef++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,window.MotionDebug&&(Je.totalNodes=Je.resolvedTargetDeltas=Je.recalculatedProjection=0),this.nodes.forEach(wf),this.nodes.forEach(Df),this.nodes.forEach(Nf),this.nodes.forEach(Ff),window.MotionDebug&&window.MotionDebug.record(Je)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=o,this.root=u?u.root||u:this,this.path=u?[...u.path,u]:[],this.parent=u,this.depth=u?u.depth+1:0;for(let a=0;a<this.path.length;a++)this.path[a].shouldResetTransform=!0;this.root===this&&(this.nodes=new Cf)}addEventListener(o,u){return this.eventHandlers.has(o)||this.eventHandlers.set(o,new yi),this.eventHandlers.get(o).add(u)}notifyListeners(o,...u){const a=this.eventHandlers.get(o);a&&a.notify(...u)}hasListeners(o){return this.eventHandlers.has(o)}mount(o,u=this.root.hasTreeAnimated){if(this.instance)return;this.isSVG=Af(o),this.instance=o;const{layoutId:a,layout:l,visualElement:c}=this.options;if(c&&!c.current&&c.mount(o),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),u&&(l||a)&&(this.isLayoutDirty=!0),t){let d;const f=()=>this.root.updateBlockedByResize=!1;t(o,()=>{this.root.updateBlockedByResize=!0,d&&d(),d=xf(f,250),an.hasAnimatedSinceResize&&(an.hasAnimatedSinceResize=!1,this.nodes.forEach(ko))})}a&&this.root.registerSharedNode(a,this),this.options.animate!==!1&&c&&(a||l)&&this.addEventListener("didUpdate",({delta:d,hasLayoutChanged:f,hasRelativeTargetChanged:h,layout:m})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const p=this.options.transition||c.getDefaultTransition()||Xf,{onLayoutAnimationStart:g,onLayoutAnimationComplete:b}=c.getProps(),I=!this.targetLayout||!Wo(this.targetLayout,m)||h,v=!f&&h;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||v||f&&(I||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(d,v);const x={...qn(p,"layout"),onPlay:g,onComplete:b};(c.shouldReduceMotion||this.options.layoutRoot)&&(x.delay=0,x.type=!1),this.startAnimation(x)}else f||ko(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=m})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const o=this.getStack();o&&o.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,Te(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(Wf),this.animationId++)}getTransformTemplate(){const{visualElement:o}=this.options;return o&&o.getProps().transformTemplate}willUpdate(o=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.HandoffCancelAllAnimations&&Xo(this)&&window.HandoffCancelAllAnimations(),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let c=0;c<this.path.length;c++){const d=this.path[c];d.shouldResetTransform=!0,d.updateScroll("snapshot"),d.options.layoutRoot&&d.willUpdate(!1)}const{layoutId:u,layout:a}=this.options;if(u===void 0&&!a)return;const l=this.getTransformTemplate();this.prevTransformTemplateValue=l?l(this.latestValues,""):void 0,this.updateSnapshot(),o&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(Ho);return}this.isUpdating||this.nodes.forEach(Gf),this.isUpdating=!1,this.nodes.forEach(Mf),this.nodes.forEach(Tf),this.nodes.forEach(Vf),this.clearAllSnapshots();const u=Xe.now();$.delta=Re(0,1e3/60,u-$.timestamp),$.timestamp=u,$.isProcessing=!0,_n.update.process($),_n.preRender.process($),_n.render.process($),$.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,Nn.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(Bf),this.sharedNodes.forEach(Rf)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,O.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){O.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure())}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let a=0;a<this.path.length;a++)this.path[a].updateScroll();const o=this.layout;this.layout=this.measure(!1),this.layoutCorrected=j(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:u}=this.options;u&&u.notify("LayoutMeasure",this.layout.layoutBox,o?o.layoutBox:void 0)}updateScroll(o="measure"){let u=!!(this.options.layoutScroll&&this.instance);this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===o&&(u=!1),u&&(this.scroll={animationId:this.root.animationId,phase:o,isRoot:i(this.instance),offset:n(this.instance)})}resetTransform(){if(!r)return;const o=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,u=this.projectionDelta&&!No(this.projectionDelta),a=this.getTransformTemplate(),l=a?a(this.latestValues,""):void 0,c=l!==this.prevTransformTemplateValue;o&&(u||Ye(this.latestValues)||c)&&(r(this.instance,l),this.shouldResetTransform=!1,this.scheduleRender())}measure(o=!0){const u=this.measurePageBox();let a=this.removeElementScroll(u);return o&&(a=this.removeTransform(a)),Zf(a),{animationId:this.root.animationId,measuredBox:u,layoutBox:a,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:o}=this.options;if(!o)return j();const u=o.measureViewportBox(),{scroll:a}=this.root;return a&&(He(u.x,a.offset.x),He(u.y,a.offset.y)),u}removeElementScroll(o){const u=j();fe(u,o);for(let a=0;a<this.path.length;a++){const l=this.path[a],{scroll:c,options:d}=l;if(l!==this.root&&c&&d.layoutScroll){if(c.isRoot){fe(u,o);const{scroll:f}=this.root;f&&(He(u.x,-f.offset.x),He(u.y,-f.offset.y))}He(u.x,c.offset.x),He(u.y,c.offset.y)}}return u}applyTransform(o,u=!1){const a=j();fe(a,o);for(let l=0;l<this.path.length;l++){const c=this.path[l];!u&&c.options.layoutScroll&&c.scroll&&c!==c.root&&st(a,{x:-c.scroll.offset.x,y:-c.scroll.offset.y}),Ye(c.latestValues)&&st(a,c.latestValues)}return Ye(this.latestValues)&&st(a,this.latestValues),a}removeTransform(o){const u=j();fe(u,o);for(let a=0;a<this.path.length;a++){const l=this.path[a];if(!l.instance||!Ye(l.latestValues))continue;Ti(l.latestValues)&&l.updateSnapshot();const c=j(),d=l.measurePageBox();fe(c,d),Mo(u,l.latestValues,l.snapshot?l.snapshot.layoutBox:void 0,c)}return Ye(this.latestValues)&&Mo(u,this.latestValues),u}setTargetDelta(o){this.targetDelta=o,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(o){this.options={...this.options,...o,crossfade:o.crossfade!==void 0?o.crossfade:!0}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==$.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(o=!1){var u;const a=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=a.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=a.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=a.isSharedProjectionDirty);const l=!!this.resumingFrom||this!==a;if(!(o||l&&this.isSharedProjectionDirty||this.isProjectionDirty||!((u=this.parent)===null||u===void 0)&&u.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:d,layoutId:f}=this.options;if(!(!this.layout||!(d||f))){if(this.resolvedRelativeTargetAt=$.timestamp,!this.targetDelta&&!this.relativeTarget){const h=this.getClosestProjectingParent();h&&h.layout&&this.animationProgress!==1?(this.relativeParent=h,this.forceRelativeParentToResolveTarget(),this.relativeTarget=j(),this.relativeTargetOrigin=j(),Tt(this.relativeTargetOrigin,this.layout.layoutBox,h.layout.layoutBox),fe(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(!(!this.relativeTarget&&!this.targetDelta)){if(this.target||(this.target=j(),this.targetWithTransforms=j()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),kd(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):fe(this.target,this.layout.layoutBox),mo(this.target,this.targetDelta)):fe(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;const h=this.getClosestProjectingParent();h&&!!h.resumingFrom==!!this.resumingFrom&&!h.options.layoutScroll&&h.target&&this.animationProgress!==1?(this.relativeParent=h,this.forceRelativeParentToResolveTarget(),this.relativeTarget=j(),this.relativeTargetOrigin=j(),Tt(this.relativeTargetOrigin,this.target,h.target),fe(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}window.MotionDebug&&Je.resolvedTargetDeltas++}}}getClosestProjectingParent(){if(!(!this.parent||Ti(this.parent.latestValues)||fo(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){var o;const u=this.getLead(),a=!!this.resumingFrom||this!==u;let l=!0;if((this.isProjectionDirty||!((o=this.parent)===null||o===void 0)&&o.isProjectionDirty)&&(l=!1),a&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(l=!1),this.resolvedRelativeTargetAt===$.timestamp&&(l=!1),l)return;const{layout:c,layoutId:d}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(c||d))return;fe(this.layoutCorrected,this.layout.layoutBox);const f=this.treeScale.x,h=this.treeScale.y;Kd(this.layoutCorrected,this.treeScale,this.path,a),u.layout&&!u.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(u.target=u.layout.layoutBox,u.targetWithTransforms=j());const{target:m}=u;if(!m){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(Fo(this.prevProjectionDelta.x,this.projectionDelta.x),Fo(this.prevProjectionDelta.y,this.projectionDelta.y)),Et(this.projectionDelta,this.layoutCorrected,m,this.latestValues),(this.treeScale.x!==f||this.treeScale.y!==h||!Lo(this.projectionDelta.x,this.prevProjectionDelta.x)||!Lo(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",m)),window.MotionDebug&&Je.recalculatedProjection++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(o=!0){if(this.options.scheduleRender&&this.options.scheduleRender(),o){const u=this.getStack();u&&u.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=rt(),this.projectionDelta=rt(),this.projectionDeltaWithTransform=rt()}setAnimationOrigin(o,u=!1){const a=this.snapshot,l=a?a.latestValues:{},c={...this.latestValues},d=rt();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!u;const f=j(),h=a?a.source:void 0,m=this.layout?this.layout.source:void 0,p=h!==m,g=this.getStack(),b=!g||g.members.length<=1,I=!!(p&&!b&&this.options.crossfade===!0&&!this.path.some(Of));this.animationProgress=0;let v;this.mixTargetDelta=x=>{const y=x/1e3;zo(d.x,o.x,y),zo(d.y,o.y,y),this.setTargetDelta(d),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Tt(f,this.layout.layoutBox,this.relativeParent.layout.layoutBox),Lf(this.relativeTarget,this.relativeTargetOrigin,f,y),v&&bf(this.relativeTarget,v)&&(this.isProjectionDirty=!1),v||(v=j()),fe(v,this.relativeTarget)),p&&(this.animationValues=c,df(c,l,this.latestValues,y,I,b)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=y},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(o){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&(Te(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=O.update(()=>{an.hasAnimatedSinceResize=!0,this.currentAnimation=Sf(0,Oo,{...o,onUpdate:u=>{this.mixTargetDelta(u),o.onUpdate&&o.onUpdate(u)},onComplete:()=>{o.onComplete&&o.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const o=this.getStack();o&&o.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(Oo),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const o=this.getLead();let{targetWithTransforms:u,target:a,layout:l,latestValues:c}=o;if(!(!u||!a||!l)){if(this!==o&&this.layout&&l&&_o(this.options.animationType,this.layout.layoutBox,l.layoutBox)){a=this.target||j();const d=ae(this.layout.layoutBox.x);a.x.min=o.target.x.min,a.x.max=a.x.min+d;const f=ae(this.layout.layoutBox.y);a.y.min=o.target.y.min,a.y.max=a.y.min+f}fe(u,a),st(u,c),Et(this.projectionDeltaWithTransform,this.layoutCorrected,u,c)}}registerSharedNode(o,u){this.sharedNodes.has(o)||this.sharedNodes.set(o,new vf),this.sharedNodes.get(o).add(u);const l=u.options.initialPromotionConfig;u.promote({transition:l?l.transition:void 0,preserveFollowOpacity:l&&l.shouldPreserveFollowOpacity?l.shouldPreserveFollowOpacity(u):void 0})}isLead(){const o=this.getStack();return o?o.lead===this:!0}getLead(){var o;const{layoutId:u}=this.options;return u?((o=this.getStack())===null||o===void 0?void 0:o.lead)||this:this}getPrevLead(){var o;const{layoutId:u}=this.options;return u?(o=this.getStack())===null||o===void 0?void 0:o.prevLead:void 0}getStack(){const{layoutId:o}=this.options;if(o)return this.root.sharedNodes.get(o)}promote({needsReset:o,transition:u,preserveFollowOpacity:a}={}){const l=this.getStack();l&&l.promote(this,a),o&&(this.projectionDelta=void 0,this.needsReset=!0),u&&this.setOptions({transition:u})}relegate(){const o=this.getStack();return o?o.relegate(this):!1}resetSkewAndRotation(){const{visualElement:o}=this.options;if(!o)return;let u=!1;const{latestValues:a}=o;if((a.z||a.rotate||a.rotateX||a.rotateY||a.rotateZ||a.skewX||a.skewY)&&(u=!0),!u)return;const l={};a.z&&Fi("z",o,l,this.animationValues);for(let c=0;c<wi.length;c++)Fi(`rotate${wi[c]}`,o,l,this.animationValues),Fi(`skew${wi[c]}`,o,l,this.animationValues);o.render();for(const c in l)o.setStaticValue(c,l[c]),this.animationValues&&(this.animationValues[c]=l[c]);o.scheduleRender()}getProjectionStyles(o){var u,a;if(!this.instance||this.isSVG)return;if(!this.isVisible)return Pf;const l={visibility:""},c=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,l.opacity="",l.pointerEvents=Ut(o==null?void 0:o.pointerEvents)||"",l.transform=c?c(this.latestValues,""):"none",l;const d=this.getLead();if(!this.projectionDelta||!this.layout||!d.target){const p={};return this.options.layoutId&&(p.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,p.pointerEvents=Ut(o==null?void 0:o.pointerEvents)||""),this.hasProjected&&!Ye(this.latestValues)&&(p.transform=c?c({},""):"none",this.hasProjected=!1),p}const f=d.animationValues||d.latestValues;this.applyTransformsToTarget(),l.transform=yf(this.projectionDeltaWithTransform,this.treeScale,f),c&&(l.transform=c(f,l.transform));const{x:h,y:m}=this.projectionDelta;l.transformOrigin=`${h.origin*100}% ${m.origin*100}% 0`,d.animationValues?l.opacity=d===this?(a=(u=f.opacity)!==null&&u!==void 0?u:this.latestValues.opacity)!==null&&a!==void 0?a:1:this.preserveOpacity?this.latestValues.opacity:f.opacityExit:l.opacity=d===this?f.opacity!==void 0?f.opacity:"":f.opacityExit!==void 0?f.opacityExit:0;for(const p in jt){if(f[p]===void 0)continue;const{correct:g,applyTo:b}=jt[p],I=l.transform==="none"?f[p]:g(f[p],d);if(b){const v=b.length;for(let x=0;x<v;x++)l[b[x]]=I}else l[p]=I}return this.options.layoutId&&(l.pointerEvents=d===this?Ut(o==null?void 0:o.pointerEvents)||"":"none"),l}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(o=>{var u;return(u=o.currentAnimation)===null||u===void 0?void 0:u.stop()}),this.root.nodes.forEach(Ho),this.root.sharedNodes.clear()}}}function Tf(t){t.updateLayout()}function Vf(t){var e;const n=((e=t.resumeFrom)===null||e===void 0?void 0:e.snapshot)||t.snapshot;if(t.isLead()&&t.layout&&n&&t.hasListeners("didUpdate")){const{layoutBox:i,measuredBox:r}=t.layout,{animationType:s}=t.options,o=n.source!==t.layout.source;s==="size"?de(d=>{const f=o?n.measuredBox[d]:n.layoutBox[d],h=ae(f);f.min=i[d].min,f.max=f.min+h}):_o(s,n.layoutBox,i)&&de(d=>{const f=o?n.measuredBox[d]:n.layoutBox[d],h=ae(i[d]);f.max=f.min+h,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[d].max=t.relativeTarget[d].min+h)});const u=rt();Et(u,i,n.layoutBox);const a=rt();o?Et(a,t.applyTransform(r,!0),n.measuredBox):Et(a,i,n.layoutBox);const l=!No(u);let c=!1;if(!t.resumeFrom){const d=t.getClosestProjectingParent();if(d&&!d.resumeFrom){const{snapshot:f,layout:h}=d;if(f&&h){const m=j();Tt(m,n.layoutBox,f.layoutBox);const p=j();Tt(p,i,h.layoutBox),Wo(m,p)||(c=!0),d.options.layoutRoot&&(t.relativeTarget=p,t.relativeTargetOrigin=m,t.relativeParent=d)}}}t.notifyListeners("didUpdate",{layout:i,snapshot:n,delta:a,layoutDelta:u,hasLayoutChanged:l,hasRelativeTargetChanged:c})}else if(t.isLead()){const{onExitComplete:i}=t.options;i&&i()}t.options.transition=void 0}function wf(t){window.MotionDebug&&Je.totalNodes++,t.parent&&(t.isProjecting()||(t.isProjectionDirty=t.parent.isProjectionDirty),t.isSharedProjectionDirty||(t.isSharedProjectionDirty=!!(t.isProjectionDirty||t.parent.isProjectionDirty||t.parent.isSharedProjectionDirty)),t.isTransformDirty||(t.isTransformDirty=t.parent.isTransformDirty))}function Ff(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function Bf(t){t.clearSnapshot()}function Ho(t){t.clearMeasurements()}function Gf(t){t.isLayoutDirty=!1}function Mf(t){const{visualElement:e}=t.options;e&&e.getProps().onBeforeLayoutMeasure&&e.notify("BeforeLayoutMeasure"),t.resetTransform()}function ko(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function Df(t){t.resolveTargetDelta()}function Nf(t){t.calcProjection()}function Wf(t){t.resetSkewAndRotation()}function Rf(t){t.removeLeadSnapshot()}function zo(t,e,n){t.translate=H(e.translate,0,n),t.scale=H(e.scale,1,n),t.origin=e.origin,t.originPoint=e.originPoint}function jo(t,e,n,i){t.min=H(e.min,n.min,i),t.max=H(e.max,n.max,i)}function Lf(t,e,n,i){jo(t.x,e.x,n.x,i),jo(t.y,e.y,n.y,i)}function Of(t){return t.animationValues&&t.animationValues.opacityExit!==void 0}const Xf={duration:.45,ease:[.4,0,.1,1]},Yo=t=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t),Jo=Yo("applewebkit/")&&!Yo("chrome/")?Math.round:Q;function Uo(t){t.min=Jo(t.min),t.max=Jo(t.max)}function Zf(t){Uo(t.x),Uo(t.y)}function _o(t,e,n){return t==="position"||t==="preserve-aspect"&&!Hd(Ro(e),Ro(n),.2)}const Hf=Zo({attachResizeListener:(t,e)=>Ve(t,"resize",e),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),Bi={current:void 0},Qo=Zo({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!Bi.current){const t=new Hf({});t.mount(window),t.setOptions({layoutScroll:!0}),Bi.current=t}return Bi.current},resetTransform:(t,e)=>{t.style.transform=e!==void 0?e:"none"},checkIsScrollRoot:t=>window.getComputedStyle(t).position==="fixed"}),kf={pan:{Feature:sf},drag:{Feature:rf,ProjectionNode:Qo,MeasureLayout:Ao}},Gi={current:null},$o={current:!1};function zf(){if($o.current=!0,!!Mn)if(window.matchMedia){const t=window.matchMedia("(prefers-reduced-motion)"),e=()=>Gi.current=t.matches;t.addListener(e),e()}else Gi.current=!1}function jf(t,e,n){for(const i in e){const r=e[i],s=n[i];if(q(r))t.addValue(i,r),process.env.NODE_ENV==="development"&&Ii(r.version==="11.3.8",`Attempting to mix Framer Motion versions ${r.version} with 11.3.8 may not work as expected.`);else if(q(s))t.addValue(i,Pt(r,{owner:t}));else if(s!==r)if(t.hasValue(i)){const o=t.getValue(i);o.liveStyle===!0?o.jump(r):o.hasAnimated||o.set(r)}else{const o=t.getStaticValue(i);t.addValue(i,Pt(o!==void 0?o:r,{owner:t}))}}for(const i in n)e[i]===void 0&&t.removeValue(i);return e}const Ko=new WeakMap,Yf=[...ss,ee,Ze],Jf=t=>Yf.find(rs(t)),qo=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],Uf=Rn.length;class _f{scrapeMotionValuesFromProps(e,n,i){return{}}constructor({parent:e,props:n,presenceContext:i,reducedMotionConfig:r,blockInitialAnimation:s,visualState:o},u={}){this.applyWillChange=!1,this.resolveKeyframes=(f,h,m,p)=>new this.KeyframeResolver(f,h,m,p,this),this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=ni,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.isRenderScheduled=!1,this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.isRenderScheduled=!1,this.scheduleRender=()=>{this.isRenderScheduled||(this.isRenderScheduled=!0,O.render(this.render,!1,!0))};const{latestValues:a,renderState:l}=o;this.latestValues=a,this.baseTarget={...a},this.initialValues=n.initial?{...a}:{},this.renderState=l,this.parent=e,this.props=n,this.presenceContext=i,this.depth=e?e.depth+1:0,this.reducedMotionConfig=r,this.options=u,this.blockInitialAnimation=!!s,this.isControllingVariants=zt(n),this.isVariantNode=Ir(n),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(e&&e.current);const{willChange:c,...d}=this.scrapeMotionValuesFromProps(n,{},this);for(const f in d){const h=d[f];a[f]!==void 0&&q(h)&&h.set(a[f],!1)}}mount(e){this.current=e,Ko.set(e,this),this.projection&&!this.projection.instance&&this.projection.mount(e),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((n,i)=>this.bindToMotionValue(i,n)),$o.current||zf(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:Gi.current,process.env.NODE_ENV!=="production"&&Ii(this.shouldReduceMotion!==!0,"You have Reduced Motion enabled on your device. Animations may not appear as expected."),this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){Ko.delete(this.current),this.projection&&this.projection.unmount(),Te(this.notifyUpdate),Te(this.render),this.valueSubscriptions.forEach(e=>e()),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this);for(const e in this.events)this.events[e].clear();for(const e in this.features){const n=this.features[e];n&&(n.unmount(),n.isMounted=!1)}this.current=null}bindToMotionValue(e,n){const i=We.has(e),r=n.on("change",o=>{this.latestValues[e]=o,this.props.onUpdate&&O.preRender(this.notifyUpdate),i&&this.projection&&(this.projection.isTransformDirty=!0)}),s=n.on("renderRequest",this.scheduleRender);this.valueSubscriptions.set(e,()=>{r(),s(),n.owner&&n.stop()})}sortNodePosition(e){return!this.current||!this.sortInstanceNodePosition||this.type!==e.type?0:this.sortInstanceNodePosition(this.current,e.current)}updateFeatures(){let e="animation";for(e in qe){const n=qe[e];if(!n)continue;const{isEnabled:i,Feature:r}=n;if(!this.features[e]&&r&&i(this.props)&&(this.features[e]=new r(this)),this.features[e]){const s=this.features[e];s.isMounted?s.update():(s.mount(),s.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):j()}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,n){this.latestValues[e]=n}update(e,n){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=e,this.prevPresenceContext=this.presenceContext,this.presenceContext=n;for(let i=0;i<qo.length;i++){const r=qo[i];this.propEventSubscriptions[r]&&(this.propEventSubscriptions[r](),delete this.propEventSubscriptions[r]);const s="on"+r,o=e[s];o&&(this.propEventSubscriptions[r]=this.on(r,o))}this.prevMotionValues=jf(this,this.scrapeMotionValuesFromProps(e,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(e){return this.props.variants?this.props.variants[e]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}getVariantContext(e=!1){if(e)return this.parent?this.parent.getVariantContext():void 0;if(!this.isControllingVariants){const i=this.parent?this.parent.getVariantContext()||{}:{};return this.props.initial!==void 0&&(i.initial=this.props.initial),i}const n={};for(let i=0;i<Uf;i++){const r=Rn[i],s=this.props[r];(pt(s)||s===!1)&&(n[r]=s)}return n}addVariantChild(e){const n=this.getClosestVariantNode();if(n)return n.variantChildren&&n.variantChildren.add(e),()=>n.variantChildren.delete(e)}addValue(e,n){const i=this.values.get(e);n!==i&&(i&&this.removeValue(e),this.bindToMotionValue(e,n),this.values.set(e,n),this.latestValues[e]=n.get())}removeValue(e){this.values.delete(e);const n=this.valueSubscriptions.get(e);n&&(n(),this.valueSubscriptions.delete(e)),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,n){if(this.props.values&&this.props.values[e])return this.props.values[e];let i=this.values.get(e);return i===void 0&&n!==void 0&&(i=Pt(n===null?void 0:n,{owner:this}),this.addValue(e,i)),i}readValue(e,n){var i;let r=this.latestValues[e]!==void 0||!this.current?this.latestValues[e]:(i=this.getBaseTargetFromProps(this.props,e))!==null&&i!==void 0?i:this.readValueFromInstance(this.current,e,this.options);return r!=null&&(typeof r=="string"&&(qr(r)||Kr(r))?r=parseFloat(r):!Jf(r)&&Ze.test(n)&&(r=ms(e,n)),this.setBaseTarget(e,q(r)?r.get():r)),q(r)?r.get():r}setBaseTarget(e,n){this.baseTarget[e]=n}getBaseTarget(e){var n;const{initial:i}=this.props;let r;if(typeof i=="string"||typeof i=="object"){const o=Jn(this.props,i,(n=this.presenceContext)===null||n===void 0?void 0:n.custom);o&&(r=o[e])}if(i&&r!==void 0)return r;const s=this.getBaseTargetFromProps(this.props,e);return s!==void 0&&!q(s)?s:this.initialValues[e]!==void 0&&r===void 0?void 0:this.baseTarget[e]}on(e,n){return this.events[e]||(this.events[e]=new yi),this.events[e].add(n)}notify(e,...n){this.events[e]&&this.events[e].notify(...n)}}class ea extends _f{constructor(){super(...arguments),this.KeyframeResolver=gs}sortInstanceNodePosition(e,n){return e.compareDocumentPosition(n)&2?1:-1}getBaseTargetFromProps(e,n){return e.style?e.style[n]:void 0}removeValueFromRenderState(e,{vars:n,style:i}){delete n[e],delete i[e]}}function Qf(t){return window.getComputedStyle(t)}class $f extends ea{constructor(){super(...arguments),this.type="html",this.applyWillChange=!0,this.renderInstance=Mr}readValueFromInstance(e,n){if(We.has(n)){const i=ai(n);return i&&i.default||0}else{const i=Qf(e),r=(Pr(n)?i.getPropertyValue(n):i[n])||0;return typeof r=="string"?r.trim():r}}measureInstanceViewportBox(e,{transformPagePoint:n}){return yo(e,n)}build(e,n,i){Hn(e,n,i.transformTemplate)}scrapeMotionValuesFromProps(e,n,i){return Yn(e,n,i)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:e}=this.props;q(e)&&(this.childSubscription=e.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}}class Kf extends ea{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=j}getBaseTargetFromProps(e,n){return e[n]}readValueFromInstance(e,n){if(We.has(n)){const i=ai(n);return i&&i.default||0}return n=Dr.has(n)?n:Ht(n),e.getAttribute(n)}scrapeMotionValuesFromProps(e,n,i){return Wr(e,n,i)}build(e,n,i){zn(e,n,this.isSVGTag,i.transformTemplate)}renderInstance(e,n,i,r){Nr(e,n,i,r)}mount(e){this.isSVGTag=jn(e.tagName),super.mount(e)}}const qf=(t,e)=>On(t)?new Kf(e):new $f(e,{allowProjection:t!==C.Fragment}),eh={...Dd,...Yl,...kf,...{layout:{ProjectionNode:Qo,MeasureLayout:Ao}}},un=el((t,e)=>Ml(t,e,eh,qf));function ta(){const t=C.useRef(!1);return Dn(()=>(t.current=!0,()=>{t.current=!1}),[]),t}function th(){const t=ta(),[e,n]=C.useState(0),i=C.useCallback(()=>{t.current&&n(e+1)},[e]);return[C.useCallback(()=>O.postRender(i),[i]),e]}class nh extends G.Component{getSnapshotBeforeUpdate(e){const n=this.props.childRef.current;if(n&&e.isPresent&&!this.props.isPresent){const i=this.props.sizeRef.current;i.height=n.offsetHeight||0,i.width=n.offsetWidth||0,i.top=n.offsetTop,i.left=n.offsetLeft}return null}componentDidUpdate(){}render(){return this.props.children}}function ih({children:t,isPresent:e}){const n=C.useId(),i=C.useRef(null),r=C.useRef({width:0,height:0,top:0,left:0}),{nonce:s}=C.useContext(Gn);return C.useInsertionEffect(()=>{const{width:o,height:u,top:a,left:l}=r.current;if(e||!i.current||!o||!u)return;i.current.dataset.motionPopId=n;const c=document.createElement("style");return s&&(c.nonce=s),document.head.appendChild(c),c.sheet&&c.sheet.insertRule(`
5
+ */(function(t){(function(){var e={}.hasOwnProperty;function n(){for(var s="",o=0;o<arguments.length;o++){var u=arguments[o];u&&(s=r(s,i(u)))}return s}function i(s){if(typeof s=="string"||typeof s=="number")return s;if(typeof s!="object")return"";if(Array.isArray(s))return n.apply(null,s);if(s.toString!==Object.prototype.toString&&!s.toString.toString().includes("[native code]"))return s.toString();var o="";for(var u in s)e.call(s,u)&&s[u]&&(o=r(o,u));return o}function r(s,o){return o?s?s+" "+o:s+o:s}t.exports?(n.default=n,t.exports=n):window.classNames=n})()})(or);var Eu=or.exports;const wn=Pu(Eu);var ar={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},ur=C.createContext&&C.createContext(ar),Tu=["attr","size","title"];function Vu(t,e){if(t==null)return{};var n=wu(t,e),i,r;if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(t);for(r=0;r<s.length;r++)i=s[r],!(e.indexOf(i)>=0)&&Object.prototype.propertyIsEnumerable.call(t,i)&&(n[i]=t[i])}return n}function wu(t,e){if(t==null)return{};var n={};for(var i in t)if(Object.prototype.hasOwnProperty.call(t,i)){if(e.indexOf(i)>=0)continue;n[i]=t[i]}return n}function Rt(){return Rt=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},Rt.apply(this,arguments)}function lr(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable})),n.push.apply(n,i)}return n}function Lt(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?lr(Object(n),!0).forEach(function(i){Fu(t,i,n[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):lr(Object(n)).forEach(function(i){Object.defineProperty(t,i,Object.getOwnPropertyDescriptor(n,i))})}return t}function Fu(t,e,n){return e=Bu(e),e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Bu(t){var e=Gu(t,"string");return typeof e=="symbol"?e:e+""}function Gu(t,e){if(typeof t!="object"||!t)return t;var n=t[Symbol.toPrimitive];if(n!==void 0){var i=n.call(t,e||"default");if(typeof i!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}function cr(t){return t&&t.map((e,n)=>C.createElement(e.tag,Lt({key:n},e.attr),cr(e.child)))}function Mu(t){return e=>C.createElement(Du,Rt({attr:Lt({},t.attr)},e),cr(t.child))}function Du(t){var e=n=>{var{attr:i,size:r,title:s}=t,o=Vu(t,Tu),u=r||n.size||"1em",a;return n.className&&(a=n.className),t.className&&(a=(a?a+" ":"")+t.className),C.createElement("svg",Rt({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},n.attr,i,o,{className:a,style:Lt(Lt({color:t.color||n.color},n.style),t.style),height:u,width:u,xmlns:"http://www.w3.org/2000/svg"}),s&&C.createElement("title",null,s),t.children)};return ur!==void 0?C.createElement(ur.Consumer,null,n=>e(n)):e(ar)}function Nu(t){return Mu({tag:"svg",attr:{viewBox:"0 0 352 512"},child:[{tag:"path",attr:{d:"M242.72 256l100.07-100.07c12.28-12.28 12.28-32.19 0-44.48l-22.24-22.24c-12.28-12.28-32.19-12.28-44.48 0L176 189.28 75.93 89.21c-12.28-12.28-32.19-12.28-44.48 0L9.21 111.45c-12.28 12.28-12.28 32.19 0 44.48L109.28 256 9.21 356.07c-12.28 12.28-12.28 32.19 0 44.48l22.24 22.24c12.28 12.28 32.2 12.28 44.48 0L176 322.72l100.07 100.07c12.28 12.28 32.2 12.28 44.48 0l22.24-22.24c12.28-12.28 12.28-32.19 0-44.48L242.72 256z"},child:[]}]})(t)}function Ru(t){const{children:e}=t,[n,i]=C.useState(!1);C.useEffect(()=>{i(!0)},[]);const r=document.getElementById("biznext-ui-modal-portal");return n&&r?Nt.createPortal(e,r):Nt.createPortal(e,document.body)}const Fn=C.createContext({transformPagePoint:t=>t,isStatic:!1,reducedMotion:"never"}),Wt=C.createContext({}),Ot=C.createContext(null),Bn=typeof document<"u",Gn=Bn?C.useLayoutEffect:C.useEffect,dr=C.createContext({strict:!1}),Xt=t=>t.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),fr="data-"+Xt("framerAppearId"),Lu={skipAnimations:!1,useManualTiming:!1};function Wu(t){let e=new Set,n=new Set,i=!1,r=!1;const s=new WeakSet;let o={delta:0,timestamp:0,isProcessing:!1};function u(l){s.has(l)&&(a.schedule(l),t()),l(o)}const a={schedule:(l,c=!1,d=!1)=>{const h=d&&i?e:n;return c&&s.add(l),h.has(l)||h.add(l),l},cancel:l=>{n.delete(l),s.delete(l)},process:l=>{if(o=l,i){r=!0;return}i=!0,[e,n]=[n,e],n.clear(),e.forEach(u),i=!1,r&&(r=!1,a.process(l))}};return a}const Zt=["read","resolveKeyframes","update","preRender","render","postRender"],Ou=40;function hr(t,e){let n=!1,i=!0;const r={delta:0,timestamp:0,isProcessing:!1},s=()=>n=!0,o=Zt.reduce((b,I)=>(b[I]=Wu(s),b),{}),{read:u,resolveKeyframes:a,update:l,preRender:c,render:d,postRender:f}=o,h=()=>{const b=performance.now();n=!1,r.delta=i?1e3/60:Math.max(Math.min(b-r.timestamp,Ou),1),r.timestamp=b,r.isProcessing=!0,u.process(r),a.process(r),l.process(r),c.process(r),d.process(r),f.process(r),r.isProcessing=!1,n&&e&&(i=!1,t(h))},m=()=>{n=!0,i=!0,r.isProcessing||t(h)};return{schedule:Zt.reduce((b,I)=>{const v=o[I];return b[I]=(x,y=!1,S=!1)=>(n||m(),v.schedule(x,y,S)),b},{}),cancel:b=>{for(let I=0;I<Zt.length;I++)o[Zt[I]].cancel(b)},state:r,steps:o}}const{schedule:Mn,cancel:Vb}=hr(queueMicrotask,!1);function Qe(t){return t&&typeof t=="object"&&Object.prototype.hasOwnProperty.call(t,"current")}const pr=C.createContext({});let mr=!1;function Xu(t,e,n,i,r){const{visualElement:s}=C.useContext(Wt),o=C.useContext(dr),u=C.useContext(Ot),a=C.useContext(Fn).reducedMotion,l=C.useRef();i=i||o.renderer,!l.current&&i&&(l.current=i(t,{visualState:e,parent:s,props:n,presenceContext:u,blockInitialAnimation:u?u.initial===!1:!1,reducedMotionConfig:a}));const c=l.current,d=C.useContext(pr);c&&!c.projection&&r&&(c.type==="html"||c.type==="svg")&&Hu(l.current,n,r,d),C.useInsertionEffect(()=>{c&&c.update(n,u)});const f=C.useRef(!!(n[fr]&&!window.HandoffComplete));return Gn(()=>{c&&(c.updateFeatures(),Mn.render(c.render),f.current&&c.animationState&&c.animationState.animateChanges())}),C.useEffect(()=>{c&&(!f.current&&c.animationState&&c.animationState.animateChanges(),f.current&&(f.current=!1,mr||(mr=!0,queueMicrotask(Zu))))}),c}function Zu(){window.HandoffComplete=!0}function Hu(t,e,n,i){const{layoutId:r,layout:s,drag:o,dragConstraints:u,layoutScroll:a,layoutRoot:l}=e;t.projection=new n(t.latestValues,e["data-framer-portal-id"]?void 0:gr(t.parent)),t.projection.setOptions({layoutId:r,layout:s,alwaysMeasureLayout:!!o||u&&Qe(u),visualElement:t,scheduleRender:()=>t.scheduleRender(),animationType:typeof s=="string"?s:"both",initialPromotionConfig:i,layoutScroll:a,layoutRoot:l})}function gr(t){if(t)return t.options.allowProjection!==!1?t.projection:gr(t.parent)}function ku(t,e,n){return C.useCallback(i=>{i&&t.mount&&t.mount(i),e&&(i?e.mount(i):e.unmount()),n&&(typeof n=="function"?n(i):Qe(n)&&(n.current=i))},[e])}function ft(t){return typeof t=="string"||Array.isArray(t)}function ht(t){return t!==null&&typeof t=="object"&&typeof t.start=="function"}const Dn=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],Nn=["initial",...Dn];function Ht(t){return ht(t.animate)||Nn.some(e=>ft(t[e]))}function br(t){return!!(Ht(t)||t.variants)}function zu(t,e){if(Ht(t)){const{initial:n,animate:i}=t;return{initial:n===!1||ft(n)?n:void 0,animate:ft(i)?i:void 0}}return t.inherit!==!1?e:{}}function ju(t){const{initial:e,animate:n}=zu(t,C.useContext(Wt));return C.useMemo(()=>({initial:e,animate:n}),[vr(e),vr(n)])}function vr(t){return Array.isArray(t)?t.join(" "):t}const yr={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},$e={};for(const t in yr)$e[t]={isEnabled:e=>yr[t].some(n=>!!e[n])};function Yu(t){for(const e in t)$e[e]={...$e[e],...t[e]}}const Rn=C.createContext({}),Ju=Symbol.for("motionComponentSymbol"),Q=t=>t;let Ke=Q,Pe=Q;process.env.NODE_ENV!=="production"&&(Ke=(t,e)=>{!t&&typeof console<"u"&&console.warn(e)},Pe=(t,e)=>{if(!t)throw new Error(e)});function Uu({preloadedFeatures:t,createVisualElement:e,useRender:n,useVisualState:i,Component:r}){t&&Yu(t);function s(u,a){let l;const c={...C.useContext(Fn),...u,layoutId:_u(u)},{isStatic:d}=c,f=ju(u),h=i(u,d);if(!d&&Bn){Qu(c,t);const m=$u(c);l=m.MeasureLayout,f.visualElement=Xu(r,h,c,e,m.ProjectionNode)}return w.jsxs(Wt.Provider,{value:f,children:[l&&f.visualElement?w.jsx(l,{visualElement:f.visualElement,...c}):null,n(r,u,ku(h,f.visualElement,a),h,d,f.visualElement)]})}const o=C.forwardRef(s);return o[Ju]=r,o}function _u({layoutId:t}){const e=C.useContext(Rn).id;return e&&t!==void 0?e+"-"+t:t}function Qu(t,e){const n=C.useContext(dr).strict;if(process.env.NODE_ENV!=="production"&&e&&n){const i="You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.";t.ignoreStrict?Ke(!1,i):Pe(!1,i)}}function $u(t){const{drag:e,layout:n}=$e;if(!e&&!n)return{};const i={...e,...n};return{MeasureLayout:e!=null&&e.isEnabled(t)||n!=null&&n.isEnabled(t)?i.MeasureLayout:void 0,ProjectionNode:i.ProjectionNode}}function Ku(t){function e(i,r={}){return Uu(t(i,r))}if(typeof Proxy>"u")return e;const n=new Map;return new Proxy(e,{get:(i,r)=>(n.has(r)||n.set(r,e(r)),n.get(r))})}const qu=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function Ln(t){return typeof t!="string"||t.includes("-")?!1:!!(qu.indexOf(t)>-1||/[A-Z]/u.test(t))}const kt={};function el(t){Object.assign(kt,t)}const pt=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],Ne=new Set(pt);function Ir(t,{layout:e,layoutId:n}){return Ne.has(t)||t.startsWith("origin")||(e||n!==void 0)&&(!!kt[t]||t==="opacity")}const q=t=>!!(t&&t.getVelocity),tl={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},nl=pt.length;function il(t,e,n){let i="";for(let r=0;r<nl;r++){const s=pt[r];if(t[s]!==void 0){const o=tl[s]||s;i+=`${o}(${t[s]}) `}}return i=i.trim(),n?i=n(t,e?"":i):e&&(i="none"),i}const Cr=t=>e=>typeof e=="string"&&e.startsWith(t),xr=Cr("--"),rl=Cr("var(--"),Wn=t=>rl(t)?sl.test(t.split("/*")[0].trim()):!1,sl=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,ol=(t,e)=>e&&typeof t=="number"?e.transform(t):t,Re=(t,e,n)=>n>e?e:n<t?t:n,qe={test:t=>typeof t=="number",parse:parseFloat,transform:t=>t},mt={...qe,transform:t=>Re(0,1,t)},zt={...qe,default:1},gt=t=>Math.round(t*1e5)/1e5,On=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu,al=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu,ul=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu;function bt(t){return typeof t=="string"}function ll(t){return t==null}const vt=t=>({test:e=>bt(e)&&e.endsWith(t)&&e.split(" ").length===1,parse:parseFloat,transform:e=>`${e}${t}`}),Le=vt("deg"),ve=vt("%"),F=vt("px"),cl=vt("vh"),dl=vt("vw"),Ar={...ve,parse:t=>ve.parse(t)/100,transform:t=>ve.transform(t*100)},Sr={...qe,transform:Math.round},Pr={borderWidth:F,borderTopWidth:F,borderRightWidth:F,borderBottomWidth:F,borderLeftWidth:F,borderRadius:F,radius:F,borderTopLeftRadius:F,borderTopRightRadius:F,borderBottomRightRadius:F,borderBottomLeftRadius:F,width:F,maxWidth:F,height:F,maxHeight:F,size:F,top:F,right:F,bottom:F,left:F,padding:F,paddingTop:F,paddingRight:F,paddingBottom:F,paddingLeft:F,margin:F,marginTop:F,marginRight:F,marginBottom:F,marginLeft:F,rotate:Le,rotateX:Le,rotateY:Le,rotateZ:Le,scale:zt,scaleX:zt,scaleY:zt,scaleZ:zt,skew:Le,skewX:Le,skewY:Le,distance:F,translateX:F,translateY:F,translateZ:F,x:F,y:F,z:F,perspective:F,transformPerspective:F,opacity:mt,originX:Ar,originY:Ar,originZ:F,zIndex:Sr,backgroundPositionX:F,backgroundPositionY:F,fillOpacity:mt,strokeOpacity:mt,numOctaves:Sr};function Xn(t,e,n){const{style:i,vars:r,transform:s,transformOrigin:o}=t;let u=!1,a=!1,l=!0;for(const c in e){const d=e[c];if(xr(c)){r[c]=d;continue}const f=Pr[c],h=ol(d,f);if(Ne.has(c)){if(u=!0,s[c]=h,!l)continue;d!==(f.default||0)&&(l=!1)}else c.startsWith("origin")?(a=!0,o[c]=h):i[c]=h}if(e.transform||(u||n?i.transform=il(t.transform,l,n):i.transform&&(i.transform="none")),a){const{originX:c="50%",originY:d="50%",originZ:f=0}=o;i.transformOrigin=`${c} ${d} ${f}`}}const Zn=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function Er(t,e,n){for(const i in e)!q(e[i])&&!Ir(i,n)&&(t[i]=e[i])}function fl({transformTemplate:t},e){return C.useMemo(()=>{const n=Zn();return Xn(n,e,t),Object.assign({},n.vars,n.style)},[e])}function hl(t,e){const n=t.style||{},i={};return Er(i,n,t),Object.assign(i,fl(t,e)),i}function pl(t,e){const n={},i=hl(t,e);return t.drag&&t.dragListener!==!1&&(n.draggable=!1,i.userSelect=i.WebkitUserSelect=i.WebkitTouchCallout="none",i.touchAction=t.drag===!0?"none":`pan-${t.drag==="x"?"y":"x"}`),t.tabIndex===void 0&&(t.onTap||t.onTapStart||t.whileTap)&&(n.tabIndex=0),n.style=i,n}const ml=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function jt(t){return t.startsWith("while")||t.startsWith("drag")&&t!=="draggable"||t.startsWith("layout")||t.startsWith("onTap")||t.startsWith("onPan")||t.startsWith("onLayout")||ml.has(t)}let Tr=t=>!jt(t);function gl(t){t&&(Tr=e=>e.startsWith("on")?!jt(e):t(e))}try{gl(require("@emotion/is-prop-valid").default)}catch{}function bl(t,e,n){const i={};for(const r in t)r==="values"&&typeof t.values=="object"||(Tr(r)||n===!0&&jt(r)||!e&&!jt(r)||t.draggable&&r.startsWith("onDrag"))&&(i[r]=t[r]);return i}function Vr(t,e,n){return typeof t=="string"?t:F.transform(e+n*t)}function vl(t,e,n){const i=Vr(e,t.x,t.width),r=Vr(n,t.y,t.height);return`${i} ${r}`}const yl={offset:"stroke-dashoffset",array:"stroke-dasharray"},Il={offset:"strokeDashoffset",array:"strokeDasharray"};function Cl(t,e,n=1,i=0,r=!0){t.pathLength=1;const s=r?yl:Il;t[s.offset]=F.transform(-i);const o=F.transform(e),u=F.transform(n);t[s.array]=`${o} ${u}`}function Hn(t,{attrX:e,attrY:n,attrScale:i,originX:r,originY:s,pathLength:o,pathSpacing:u=1,pathOffset:a=0,...l},c,d){if(Xn(t,l,d),c){t.style.viewBox&&(t.attrs.viewBox=t.style.viewBox);return}t.attrs=t.style,t.style={};const{attrs:f,style:h,dimensions:m}=t;f.transform&&(m&&(h.transform=f.transform),delete f.transform),m&&(r!==void 0||s!==void 0||h.transform)&&(h.transformOrigin=vl(m,r!==void 0?r:.5,s!==void 0?s:.5)),e!==void 0&&(f.x=e),n!==void 0&&(f.y=n),i!==void 0&&(f.scale=i),o!==void 0&&Cl(f,o,u,a,!1)}const wr=()=>({...Zn(),attrs:{}}),kn=t=>typeof t=="string"&&t.toLowerCase()==="svg";function xl(t,e,n,i){const r=C.useMemo(()=>{const s=wr();return Hn(s,e,kn(i),t.transformTemplate),{...s.attrs,style:{...s.style}}},[e]);if(t.style){const s={};Er(s,t.style,t),r.style={...s,...r.style}}return r}function Al(t=!1){return(n,i,r,{latestValues:s},o)=>{const a=(Ln(n)?xl:pl)(i,s,o,n),l=bl(i,typeof n=="string",t),c=n!==C.Fragment?{...l,...a,ref:r}:{},{children:d}=i,f=C.useMemo(()=>q(d)?d.get():d,[d]);return C.createElement(n,{...c,children:f})}}function Fr(t,{style:e,vars:n},i,r){Object.assign(t.style,e,r&&r.getProjectionStyles(i));for(const s in n)t.style.setProperty(s,n[s])}const Br=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function Gr(t,e,n,i){Fr(t,e,void 0,i);for(const r in e.attrs)t.setAttribute(Br.has(r)?r:Xt(r),e.attrs[r])}function zn(t,e,n){var i;const{style:r}=t,s={};for(const o in r)(q(r[o])||e.style&&q(e.style[o])||Ir(o,t)||((i=n==null?void 0:n.getValue(o))===null||i===void 0?void 0:i.liveStyle)!==void 0)&&(s[o]=r[o]);return n&&r&&typeof r.willChange=="string"&&(n.applyWillChange=!1),s}function Mr(t,e,n){const i=zn(t,e,n);for(const r in t)if(q(t[r])||q(e[r])){const s=pt.indexOf(r)!==-1?"attr"+r.charAt(0).toUpperCase()+r.substring(1):r;i[s]=t[r]}return i}function Dr(t){const e=[{},{}];return t==null||t.values.forEach((n,i)=>{e[0][i]=n.get(),e[1][i]=n.getVelocity()}),e}function jn(t,e,n,i){if(typeof e=="function"){const[r,s]=Dr(i);e=e(n!==void 0?n:t.custom,r,s)}if(typeof e=="string"&&(e=t.variants&&t.variants[e]),typeof e=="function"){const[r,s]=Dr(i);e=e(n!==void 0?n:t.custom,r,s)}return e}function Nr(t){const e=C.useRef(null);return e.current===null&&(e.current=t()),e.current}const Yn=t=>Array.isArray(t),Sl=t=>!!(t&&typeof t=="object"&&t.mix&&t.toValue),Pl=t=>Yn(t)?t[t.length-1]||0:t;function Yt(t){const e=q(t)?t.get():t;return Sl(e)?e.toValue():e}const Rr=new Set(["opacity","clipPath","filter","transform"]);function Lr(t){if(Ne.has(t))return"transform";if(Rr.has(t))return Xt(t)}function Jt(t,e){t.indexOf(e)===-1&&t.push(e)}function Ut(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}function El({applyWillChange:t=!1,scrapeMotionValuesFromProps:e,createRenderState:n,onMount:i},r,s,o,u){const a={latestValues:Vl(r,s,o,u?!1:t,e),renderState:n()};return i&&(a.mount=l=>i(r,l,a)),a}const Wr=t=>(e,n)=>{const i=C.useContext(Wt),r=C.useContext(Ot),s=()=>El(t,e,i,r,n);return n?s():Nr(s)};function Tl(t,e){const n=Lr(e);n&&Jt(t,n)}function Or(t,e,n){const i=Array.isArray(e)?e:[e];for(let r=0;r<i.length;r++){const s=jn(t,i[r]);if(s){const{transitionEnd:o,transition:u,...a}=s;n(a,o)}}}function Vl(t,e,n,i,r){var s;const o={},u=[],a=i&&((s=t.style)===null||s===void 0?void 0:s.willChange)===void 0,l=r(t,{});for(const g in l)o[g]=Yt(l[g]);let{initial:c,animate:d}=t;const f=Ht(t),h=br(t);e&&h&&!f&&t.inherit!==!1&&(c===void 0&&(c=e.initial),d===void 0&&(d=e.animate));let m=n?n.initial===!1:!1;m=m||c===!1;const p=m?d:c;return p&&typeof p!="boolean"&&!ht(p)&&Or(t,p,(g,b)=>{for(const I in g){let v=g[I];if(Array.isArray(v)){const x=m?v.length-1:0;v=v[x]}v!==null&&(o[I]=v)}for(const I in b)o[I]=b[I]}),a&&(d&&c!==!1&&!ht(d)&&Or(t,d,g=>{for(const b in g)Tl(u,b)}),u.length&&(o.willChange=u.join(","))),o}const{schedule:O,cancel:Ee,state:$,steps:Jn}=hr(typeof requestAnimationFrame<"u"?requestAnimationFrame:Q,!0),wl={useVisualState:Wr({scrapeMotionValuesFromProps:Mr,createRenderState:wr,onMount:(t,e,{renderState:n,latestValues:i})=>{O.read(()=>{try{n.dimensions=typeof e.getBBox=="function"?e.getBBox():e.getBoundingClientRect()}catch{n.dimensions={x:0,y:0,width:0,height:0}}}),O.render(()=>{Hn(n,i,kn(e.tagName),t.transformTemplate),Gr(e,n)})}})},Fl={useVisualState:Wr({applyWillChange:!0,scrapeMotionValuesFromProps:zn,createRenderState:Zn})};function Bl(t,{forwardMotionProps:e=!1},n,i){return{...Ln(t)?wl:Fl,preloadedFeatures:n,useRender:Al(e),createVisualElement:i,Component:t}}function Te(t,e,n,i={passive:!0}){return t.addEventListener(e,n,i),()=>t.removeEventListener(e,n)}const Xr=t=>t.pointerType==="mouse"?typeof t.button!="number"||t.button<=0:t.isPrimary!==!1;function _t(t,e="page"){return{point:{x:t[`${e}X`],y:t[`${e}Y`]}}}const Gl=t=>e=>Xr(e)&&t(e,_t(e));function Ve(t,e,n,i){return Te(t,e,Gl(n),i)}const Ml=(t,e)=>n=>e(t(n)),we=(...t)=>t.reduce(Ml);function Zr(t){let e=null;return()=>{const n=()=>{e=null};return e===null?(e=t,n):!1}}const Hr=Zr("dragHorizontal"),kr=Zr("dragVertical");function zr(t){let e=!1;if(t==="y")e=kr();else if(t==="x")e=Hr();else{const n=Hr(),i=kr();n&&i?e=()=>{n(),i()}:(n&&n(),i&&i())}return e}function jr(){const t=zr(!0);return t?(t(),!1):!0}class We{constructor(e){this.isMounted=!1,this.node=e}update(){}}function Yr(t,e){const n=e?"pointerenter":"pointerleave",i=e?"onHoverStart":"onHoverEnd",r=(s,o)=>{if(s.pointerType==="touch"||jr())return;const u=t.getProps();t.animationState&&u.whileHover&&t.animationState.setActive("whileHover",e);const a=u[i];a&&O.postRender(()=>a(s,o))};return Ve(t.current,n,r,{passive:!t.getProps()[i]})}class Dl extends We{mount(){this.unmount=we(Yr(this.node,!0),Yr(this.node,!1))}unmount(){}}class Nl extends We{constructor(){super(...arguments),this.isActive=!1}onFocus(){let e=!1;try{e=this.node.current.matches(":focus-visible")}catch{e=!0}!e||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=we(Te(this.node.current,"focus",()=>this.onFocus()),Te(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}const Jr=(t,e)=>e?t===e?!0:Jr(t,e.parentElement):!1;function Un(t,e){if(!e)return;const n=new PointerEvent("pointer"+t);e(n,_t(n))}class Rl extends We{constructor(){super(...arguments),this.removeStartListeners=Q,this.removeEndListeners=Q,this.removeAccessibleListeners=Q,this.startPointerPress=(e,n)=>{if(this.isPressing)return;this.removeEndListeners();const i=this.node.getProps(),s=Ve(window,"pointerup",(u,a)=>{if(!this.checkPressEnd())return;const{onTap:l,onTapCancel:c,globalTapTarget:d}=this.node.getProps(),f=!d&&!Jr(this.node.current,u.target)?c:l;f&&O.update(()=>f(u,a))},{passive:!(i.onTap||i.onPointerUp)}),o=Ve(window,"pointercancel",(u,a)=>this.cancelPress(u,a),{passive:!(i.onTapCancel||i.onPointerCancel)});this.removeEndListeners=we(s,o),this.startPress(e,n)},this.startAccessiblePress=()=>{const e=s=>{if(s.key!=="Enter"||this.isPressing)return;const o=u=>{u.key!=="Enter"||!this.checkPressEnd()||Un("up",(a,l)=>{const{onTap:c}=this.node.getProps();c&&O.postRender(()=>c(a,l))})};this.removeEndListeners(),this.removeEndListeners=Te(this.node.current,"keyup",o),Un("down",(u,a)=>{this.startPress(u,a)})},n=Te(this.node.current,"keydown",e),i=()=>{this.isPressing&&Un("cancel",(s,o)=>this.cancelPress(s,o))},r=Te(this.node.current,"blur",i);this.removeAccessibleListeners=we(n,r)}}startPress(e,n){this.isPressing=!0;const{onTapStart:i,whileTap:r}=this.node.getProps();r&&this.node.animationState&&this.node.animationState.setActive("whileTap",!0),i&&O.postRender(()=>i(e,n))}checkPressEnd(){return this.removeEndListeners(),this.isPressing=!1,this.node.getProps().whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!jr()}cancelPress(e,n){if(!this.checkPressEnd())return;const{onTapCancel:i}=this.node.getProps();i&&O.postRender(()=>i(e,n))}mount(){const e=this.node.getProps(),n=Ve(e.globalTapTarget?window:this.node.current,"pointerdown",this.startPointerPress,{passive:!(e.onTapStart||e.onPointerStart)}),i=Te(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=we(n,i)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}const _n=new WeakMap,Qn=new WeakMap,Ll=t=>{const e=_n.get(t.target);e&&e(t)},Wl=t=>{t.forEach(Ll)};function Ol({root:t,...e}){const n=t||document;Qn.has(n)||Qn.set(n,{});const i=Qn.get(n),r=JSON.stringify(e);return i[r]||(i[r]=new IntersectionObserver(Wl,{root:t,...e})),i[r]}function Xl(t,e,n){const i=Ol(e);return _n.set(t,n),i.observe(t),()=>{_n.delete(t),i.unobserve(t)}}const Zl={some:0,all:1};class Hl extends We{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:e={}}=this.node.getProps(),{root:n,margin:i,amount:r="some",once:s}=e,o={root:n?n.current:void 0,rootMargin:i,threshold:typeof r=="number"?r:Zl[r]},u=a=>{const{isIntersecting:l}=a;if(this.isInView===l||(this.isInView=l,s&&!l&&this.hasEnteredView))return;l&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",l);const{onViewportEnter:c,onViewportLeave:d}=this.node.getProps(),f=l?c:d;f&&f(a)};return Xl(this.node.current,o,u)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:e,prevProps:n}=this.node;["amount","margin","root"].some(kl(e,n))&&this.startObserver()}unmount(){}}function kl({viewport:t={}},{viewport:e={}}={}){return n=>t[n]!==e[n]}const zl={inView:{Feature:Hl},tap:{Feature:Rl},focus:{Feature:Nl},hover:{Feature:Dl}};function Ur(t,e){if(!Array.isArray(e))return!1;const n=e.length;if(n!==t.length)return!1;for(let i=0;i<n;i++)if(e[i]!==t[i])return!1;return!0}function Qt(t,e,n){const i=t.getProps();return jn(i,e,n!==void 0?n:i.custom,t)}const Fe=t=>t*1e3,Be=t=>t/1e3,jl={type:"spring",stiffness:500,damping:25,restSpeed:10},Yl=t=>({type:"spring",stiffness:550,damping:t===0?2*Math.sqrt(550):30,restSpeed:10}),Jl={type:"keyframes",duration:.8},Ul={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},_l=(t,{keyframes:e})=>e.length>2?Jl:Ne.has(t)?t.startsWith("scale")?Yl(e[1]):jl:Ul;function Ql({when:t,delay:e,delayChildren:n,staggerChildren:i,staggerDirection:r,repeat:s,repeatType:o,repeatDelay:u,from:a,elapsed:l,...c}){return!!Object.keys(c).length}function $n(t,e){return t[e]||t.default||t}const $l=t=>t!==null;function $t(t,{repeat:e,repeatType:n="loop"},i){const r=t.filter($l),s=e&&n!=="loop"&&e%2===1?0:r.length-1;return!s||i===void 0?r[s]:i}let Kt;function Kl(){Kt=void 0}const Oe={now:()=>(Kt===void 0&&Oe.set($.isProcessing||Lu.useManualTiming?$.timestamp:performance.now()),Kt),set:t=>{Kt=t,queueMicrotask(Kl)}},_r=t=>/^0[^.\s]+$/u.test(t);function ql(t){return typeof t=="number"?t===0:t!==null?t==="none"||t==="0"||_r(t):!0}const Qr=t=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t),ec=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function tc(t){const e=ec.exec(t);if(!e)return[,];const[,n,i,r]=e;return[`--${n??i}`,r]}const nc=4;function $r(t,e,n=1){Pe(n<=nc,`Max CSS variable fallback depth detected in property "${t}". This may indicate a circular fallback dependency.`);const[i,r]=tc(t);if(!i)return;const s=window.getComputedStyle(e).getPropertyValue(i);if(s){const o=s.trim();return Qr(o)?parseFloat(o):o}return Wn(r)?$r(r,e,n+1):r}const ic=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),Kr=t=>t===qe||t===F,qr=(t,e)=>parseFloat(t.split(", ")[e]),es=(t,e)=>(n,{transform:i})=>{if(i==="none"||!i)return 0;const r=i.match(/^matrix3d\((.+)\)$/u);if(r)return qr(r[1],e);{const s=i.match(/^matrix\((.+)\)$/u);return s?qr(s[1],t):0}},rc=new Set(["x","y","z"]),sc=pt.filter(t=>!rc.has(t));function oc(t){const e=[];return sc.forEach(n=>{const i=t.getValue(n);i!==void 0&&(e.push([n,i.get()]),i.set(n.startsWith("scale")?1:0))}),e}const et={width:({x:t},{paddingLeft:e="0",paddingRight:n="0"})=>t.max-t.min-parseFloat(e)-parseFloat(n),height:({y:t},{paddingTop:e="0",paddingBottom:n="0"})=>t.max-t.min-parseFloat(e)-parseFloat(n),top:(t,{top:e})=>parseFloat(e),left:(t,{left:e})=>parseFloat(e),bottom:({y:t},{top:e})=>parseFloat(e)+(t.max-t.min),right:({x:t},{left:e})=>parseFloat(e)+(t.max-t.min),x:es(4,13),y:es(5,14)};et.translateX=et.x,et.translateY=et.y;const ts=t=>e=>e.test(t),ns=[qe,F,ve,Le,dl,cl,{test:t=>t==="auto",parse:t=>t}],is=t=>ns.find(ts(t)),He=new Set;let Kn=!1,qn=!1;function rs(){if(qn){const t=Array.from(He).filter(i=>i.needsMeasurement),e=new Set(t.map(i=>i.element)),n=new Map;e.forEach(i=>{const r=oc(i);r.length&&(n.set(i,r),i.render())}),t.forEach(i=>i.measureInitialState()),e.forEach(i=>{i.render();const r=n.get(i);r&&r.forEach(([s,o])=>{var u;(u=i.getValue(s))===null||u===void 0||u.set(o)})}),t.forEach(i=>i.measureEndState()),t.forEach(i=>{i.suspendedScrollY!==void 0&&window.scrollTo(0,i.suspendedScrollY)})}qn=!1,Kn=!1,He.forEach(t=>t.complete()),He.clear()}function ss(){He.forEach(t=>{t.readKeyframes(),t.needsMeasurement&&(qn=!0)})}function ac(){ss(),rs()}class ei{constructor(e,n,i,r,s,o=!1){this.isComplete=!1,this.isAsync=!1,this.needsMeasurement=!1,this.isScheduled=!1,this.unresolvedKeyframes=[...e],this.onComplete=n,this.name=i,this.motionValue=r,this.element=s,this.isAsync=o}scheduleResolve(){this.isScheduled=!0,this.isAsync?(He.add(this),Kn||(Kn=!0,O.read(ss),O.resolveKeyframes(rs))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:e,name:n,element:i,motionValue:r}=this;for(let s=0;s<e.length;s++)if(e[s]===null)if(s===0){const o=r==null?void 0:r.get(),u=e[e.length-1];if(o!==void 0)e[0]=o;else if(i&&n){const a=i.readValue(n,u);a!=null&&(e[0]=a)}e[0]===void 0&&(e[0]=u),r&&o===void 0&&r.set(e[0])}else e[s]=e[s-1]}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(){this.isComplete=!0,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe),He.delete(this)}cancel(){this.isComplete||(this.isScheduled=!1,He.delete(this))}resume(){this.isComplete||this.scheduleResolve()}}const ti=(t,e)=>n=>!!(bt(n)&&ul.test(n)&&n.startsWith(t)||e&&!ll(n)&&Object.prototype.hasOwnProperty.call(n,e)),os=(t,e,n)=>i=>{if(!bt(i))return i;const[r,s,o,u]=i.match(On);return{[t]:parseFloat(r),[e]:parseFloat(s),[n]:parseFloat(o),alpha:u!==void 0?parseFloat(u):1}},uc=t=>Re(0,255,t),ni={...qe,transform:t=>Math.round(uc(t))},ke={test:ti("rgb","red"),parse:os("red","green","blue"),transform:({red:t,green:e,blue:n,alpha:i=1})=>"rgba("+ni.transform(t)+", "+ni.transform(e)+", "+ni.transform(n)+", "+gt(mt.transform(i))+")"};function lc(t){let e="",n="",i="",r="";return t.length>5?(e=t.substring(1,3),n=t.substring(3,5),i=t.substring(5,7),r=t.substring(7,9)):(e=t.substring(1,2),n=t.substring(2,3),i=t.substring(3,4),r=t.substring(4,5),e+=e,n+=n,i+=i,r+=r),{red:parseInt(e,16),green:parseInt(n,16),blue:parseInt(i,16),alpha:r?parseInt(r,16)/255:1}}const ii={test:ti("#"),parse:lc,transform:ke.transform},tt={test:ti("hsl","hue"),parse:os("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:n,alpha:i=1})=>"hsla("+Math.round(t)+", "+ve.transform(gt(e))+", "+ve.transform(gt(n))+", "+gt(mt.transform(i))+")"},ee={test:t=>ke.test(t)||ii.test(t)||tt.test(t),parse:t=>ke.test(t)?ke.parse(t):tt.test(t)?tt.parse(t):ii.parse(t),transform:t=>bt(t)?t:t.hasOwnProperty("red")?ke.transform(t):tt.transform(t)};function cc(t){var e,n;return isNaN(t)&&bt(t)&&(((e=t.match(On))===null||e===void 0?void 0:e.length)||0)+(((n=t.match(al))===null||n===void 0?void 0:n.length)||0)>0}const as="number",us="color",dc="var",fc="var(",ls="${}",hc=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function yt(t){const e=t.toString(),n=[],i={color:[],number:[],var:[]},r=[];let s=0;const u=e.replace(hc,a=>(ee.test(a)?(i.color.push(s),r.push(us),n.push(ee.parse(a))):a.startsWith(fc)?(i.var.push(s),r.push(dc),n.push(a)):(i.number.push(s),r.push(as),n.push(parseFloat(a))),++s,ls)).split(ls);return{values:n,split:u,indexes:i,types:r}}function cs(t){return yt(t).values}function ds(t){const{split:e,types:n}=yt(t),i=e.length;return r=>{let s="";for(let o=0;o<i;o++)if(s+=e[o],r[o]!==void 0){const u=n[o];u===as?s+=gt(r[o]):u===us?s+=ee.transform(r[o]):s+=r[o]}return s}}const pc=t=>typeof t=="number"?0:t;function mc(t){const e=cs(t);return ds(t)(e.map(pc))}const Xe={test:cc,parse:cs,createTransformer:ds,getAnimatableNone:mc},gc=new Set(["brightness","contrast","saturate","opacity"]);function bc(t){const[e,n]=t.slice(0,-1).split("(");if(e==="drop-shadow")return t;const[i]=n.match(On)||[];if(!i)return t;const r=n.replace(i,"");let s=gc.has(e)?1:0;return i!==n&&(s*=100),e+"("+s+r+")"}const vc=/\b([a-z-]*)\(.*?\)/gu,ri={...Xe,getAnimatableNone:t=>{const e=t.match(vc);return e?e.map(bc).join(" "):t}},yc={...Pr,color:ee,backgroundColor:ee,outlineColor:ee,fill:ee,stroke:ee,borderColor:ee,borderTopColor:ee,borderRightColor:ee,borderBottomColor:ee,borderLeftColor:ee,filter:ri,WebkitFilter:ri},si=t=>yc[t];function fs(t,e){let n=si(t);return n!==ri&&(n=Xe),n.getAnimatableNone?n.getAnimatableNone(e):void 0}const Ic=new Set(["auto","none","0"]);function Cc(t,e,n){let i=0,r;for(;i<t.length&&!r;){const s=t[i];typeof s=="string"&&!Ic.has(s)&&yt(s).values.length&&(r=t[i]),i++}if(r&&n)for(const s of e)t[s]=fs(n,r)}class hs extends ei{constructor(e,n,i,r){super(e,n,i,r,r==null?void 0:r.owner,!0)}readKeyframes(){const{unresolvedKeyframes:e,element:n,name:i}=this;if(!n.current)return;super.readKeyframes();for(let a=0;a<e.length;a++){let l=e[a];if(typeof l=="string"&&(l=l.trim(),Wn(l))){const c=$r(l,n.current);c!==void 0&&(e[a]=c),a===e.length-1&&(this.finalKeyframe=l)}}if(this.resolveNoneKeyframes(),!ic.has(i)||e.length!==2)return;const[r,s]=e,o=is(r),u=is(s);if(o!==u)if(Kr(o)&&Kr(u))for(let a=0;a<e.length;a++){const l=e[a];typeof l=="string"&&(e[a]=parseFloat(l))}else this.needsMeasurement=!0}resolveNoneKeyframes(){const{unresolvedKeyframes:e,name:n}=this,i=[];for(let r=0;r<e.length;r++)ql(e[r])&&i.push(r);i.length&&Cc(e,i,n)}measureInitialState(){const{element:e,unresolvedKeyframes:n,name:i}=this;if(!e.current)return;i==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=et[i](e.measureViewportBox(),window.getComputedStyle(e.current)),n[0]=this.measuredOrigin;const r=n[n.length-1];r!==void 0&&e.getValue(i,r).jump(r,!1)}measureEndState(){var e;const{element:n,name:i,unresolvedKeyframes:r}=this;if(!n.current)return;const s=n.getValue(i);s&&s.jump(this.measuredOrigin,!1);const o=r.length-1,u=r[o];r[o]=et[i](n.measureViewportBox(),window.getComputedStyle(n.current)),u!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=u),!((e=this.removedTransforms)===null||e===void 0)&&e.length&&this.removedTransforms.forEach(([a,l])=>{n.getValue(a).set(l)}),this.resolveNoneKeyframes()}}function ps(t){let e;return()=>(e===void 0&&(e=t()),e)}const ms=(t,e)=>e==="zIndex"?!1:!!(typeof t=="number"||Array.isArray(t)||typeof t=="string"&&(Xe.test(t)||t==="0")&&!t.startsWith("url("));function xc(t){const e=t[0];if(t.length===1)return!0;for(let n=0;n<t.length;n++)if(t[n]!==e)return!0}function Ac(t,e,n,i){const r=t[0];if(r===null)return!1;if(e==="display"||e==="visibility")return!0;const s=t[t.length-1],o=ms(r,e),u=ms(s,e);return Ke(o===u,`You are trying to animate ${e} from "${r}" to "${s}". ${r} is not an animatable value - to enable this animation set ${r} to a value animatable to ${s} via the \`style\` property.`),!o||!u?!1:xc(t)||n==="spring"&&i}class gs{constructor({autoplay:e=!0,delay:n=0,type:i="keyframes",repeat:r=0,repeatDelay:s=0,repeatType:o="loop",...u}){this.isStopped=!1,this.hasAttemptedResolve=!1,this.options={autoplay:e,delay:n,type:i,repeat:r,repeatDelay:s,repeatType:o,...u},this.updateFinishedPromise()}get resolved(){return!this._resolved&&!this.hasAttemptedResolve&&ac(),this._resolved}onKeyframesResolved(e,n){this.hasAttemptedResolve=!0;const{name:i,type:r,velocity:s,delay:o,onComplete:u,onUpdate:a,isGenerator:l}=this.options;if(!l&&!Ac(e,i,r,s))if(o)this.options.duration=0;else{a==null||a($t(e,this.options,n)),u==null||u(),this.resolveFinishedPromise();return}const c=this.initPlayback(e,n);c!==!1&&(this._resolved={keyframes:e,finalKeyframe:n,...c},this.onPostResolved())}onPostResolved(){}then(e,n){return this.currentFinishedPromise.then(e,n)}updateFinishedPromise(){this.currentFinishedPromise=new Promise(e=>{this.resolveFinishedPromise=e})}}function bs(t,e){return e?t*(1e3/e):0}const Sc=5;function vs(t,e,n){const i=Math.max(e-Sc,0);return bs(n-t(i),e-i)}const oi=.001,Pc=.01,ys=10,Ec=.05,Tc=1;function Vc({duration:t=800,bounce:e=.25,velocity:n=0,mass:i=1}){let r,s;Ke(t<=Fe(ys),"Spring duration must be 10 seconds or less");let o=1-e;o=Re(Ec,Tc,o),t=Re(Pc,ys,Be(t)),o<1?(r=l=>{const c=l*o,d=c*t,f=c-n,h=ai(l,o),m=Math.exp(-d);return oi-f/h*m},s=l=>{const d=l*o*t,f=d*n+n,h=Math.pow(o,2)*Math.pow(l,2)*t,m=Math.exp(-d),p=ai(Math.pow(l,2),o);return(-r(l)+oi>0?-1:1)*((f-h)*m)/p}):(r=l=>{const c=Math.exp(-l*t),d=(l-n)*t+1;return-oi+c*d},s=l=>{const c=Math.exp(-l*t),d=(n-l)*(t*t);return c*d});const u=5/t,a=Fc(r,s,u);if(t=Fe(t),isNaN(a))return{stiffness:100,damping:10,duration:t};{const l=Math.pow(a,2)*i;return{stiffness:l,damping:o*2*Math.sqrt(i*l),duration:t}}}const wc=12;function Fc(t,e,n){let i=n;for(let r=1;r<wc;r++)i=i-t(i)/e(i);return i}function ai(t,e){return t*Math.sqrt(1-e*e)}const Bc=["duration","bounce"],Gc=["stiffness","damping","mass"];function Is(t,e){return e.some(n=>t[n]!==void 0)}function Mc(t){let e={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...t};if(!Is(t,Gc)&&Is(t,Bc)){const n=Vc(t);e={...e,...n,mass:1},e.isResolvedFromDuration=!0}return e}function Cs({keyframes:t,restDelta:e,restSpeed:n,...i}){const r=t[0],s=t[t.length-1],o={done:!1,value:r},{stiffness:u,damping:a,mass:l,duration:c,velocity:d,isResolvedFromDuration:f}=Mc({...i,velocity:-Be(i.velocity||0)}),h=d||0,m=a/(2*Math.sqrt(u*l)),p=s-r,g=Be(Math.sqrt(u/l)),b=Math.abs(p)<5;n||(n=b?.01:2),e||(e=b?.005:.5);let I;if(m<1){const v=ai(g,m);I=x=>{const y=Math.exp(-m*g*x);return s-y*((h+m*g*p)/v*Math.sin(v*x)+p*Math.cos(v*x))}}else if(m===1)I=v=>s-Math.exp(-g*v)*(p+(h+g*p)*v);else{const v=g*Math.sqrt(m*m-1);I=x=>{const y=Math.exp(-m*g*x),S=Math.min(v*x,300);return s-y*((h+m*g*p)*Math.sinh(S)+v*p*Math.cosh(S))/v}}return{calculatedDuration:f&&c||null,next:v=>{const x=I(v);if(f)o.done=v>=c;else{let y=h;v!==0&&(m<1?y=vs(I,v,x):y=0);const S=Math.abs(y)<=n,P=Math.abs(s-x)<=e;o.done=S&&P}return o.value=o.done?s:x,o}}}function xs({keyframes:t,velocity:e=0,power:n=.8,timeConstant:i=325,bounceDamping:r=10,bounceStiffness:s=500,modifyTarget:o,min:u,max:a,restDelta:l=.5,restSpeed:c}){const d=t[0],f={done:!1,value:d},h=A=>u!==void 0&&A<u||a!==void 0&&A>a,m=A=>u===void 0?a:a===void 0||Math.abs(u-A)<Math.abs(a-A)?u:a;let p=n*e;const g=d+p,b=o===void 0?g:o(g);b!==g&&(p=b-d);const I=A=>-p*Math.exp(-A/i),v=A=>b+I(A),x=A=>{const M=I(A),N=v(A);f.done=Math.abs(M)<=l,f.value=f.done?b:N};let y,S;const P=A=>{h(f.value)&&(y=A,S=Cs({keyframes:[f.value,m(f.value)],velocity:vs(v,A,f.value),damping:r,stiffness:s,restDelta:l,restSpeed:c}))};return P(0),{calculatedDuration:null,next:A=>{let M=!1;return!S&&y===void 0&&(M=!0,x(A),P(A)),y!==void 0&&A>=y?S.next(A-y):(!M&&x(A),f)}}}const As=(t,e,n)=>(((1-3*n+3*e)*t+(3*n-6*e))*t+3*e)*t,Dc=1e-7,Nc=12;function Rc(t,e,n,i,r){let s,o,u=0;do o=e+(n-e)/2,s=As(o,i,r)-t,s>0?n=o:e=o;while(Math.abs(s)>Dc&&++u<Nc);return o}function It(t,e,n,i){if(t===e&&n===i)return Q;const r=s=>Rc(s,0,1,t,n);return s=>s===0||s===1?s:As(r(s),e,i)}const Lc=It(.42,0,1,1),Wc=It(0,0,.58,1),Ss=It(.42,0,.58,1),Oc=t=>Array.isArray(t)&&typeof t[0]!="number",Ps=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2,Es=t=>e=>1-t(1-e),ui=t=>1-Math.sin(Math.acos(t)),Ts=Es(ui),Xc=Ps(ui),Vs=It(.33,1.53,.69,.99),li=Es(Vs),Zc=Ps(li),ws={linear:Q,easeIn:Lc,easeInOut:Ss,easeOut:Wc,circIn:ui,circInOut:Xc,circOut:Ts,backIn:li,backInOut:Zc,backOut:Vs,anticipate:t=>(t*=2)<1?.5*li(t):.5*(2-Math.pow(2,-10*(t-1)))},Fs=t=>{if(Array.isArray(t)){Pe(t.length===4,"Cubic bezier arrays must contain four numerical values.");const[e,n,i,r]=t;return It(e,n,i,r)}else if(typeof t=="string")return Pe(ws[t]!==void 0,`Invalid easing type '${t}'`),ws[t];return t},Ct=(t,e,n)=>{const i=e-t;return i===0?1:(n-t)/i},H=(t,e,n)=>t+(e-t)*n;function ci(t,e,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?t+(e-t)*6*n:n<1/2?e:n<2/3?t+(e-t)*(2/3-n)*6:t}function Hc({hue:t,saturation:e,lightness:n,alpha:i}){t/=360,e/=100,n/=100;let r=0,s=0,o=0;if(!e)r=s=o=n;else{const u=n<.5?n*(1+e):n+e-n*e,a=2*n-u;r=ci(a,u,t+1/3),s=ci(a,u,t),o=ci(a,u,t-1/3)}return{red:Math.round(r*255),green:Math.round(s*255),blue:Math.round(o*255),alpha:i}}function qt(t,e){return n=>n>0?e:t}const di=(t,e,n)=>{const i=t*t,r=n*(e*e-i)+i;return r<0?0:Math.sqrt(r)},kc=[ii,ke,tt],zc=t=>kc.find(e=>e.test(t));function Bs(t){const e=zc(t);if(Ke(!!e,`'${t}' is not an animatable color. Use the equivalent color code instead.`),!e)return!1;let n=e.parse(t);return e===tt&&(n=Hc(n)),n}const Gs=(t,e)=>{const n=Bs(t),i=Bs(e);if(!n||!i)return qt(t,e);const r={...n};return s=>(r.red=di(n.red,i.red,s),r.green=di(n.green,i.green,s),r.blue=di(n.blue,i.blue,s),r.alpha=H(n.alpha,i.alpha,s),ke.transform(r))},fi=new Set(["none","hidden"]);function jc(t,e){return fi.has(t)?n=>n<=0?t:e:n=>n>=1?e:t}function Yc(t,e){return n=>H(t,e,n)}function hi(t){return typeof t=="number"?Yc:typeof t=="string"?Wn(t)?qt:ee.test(t)?Gs:_c:Array.isArray(t)?Ms:typeof t=="object"?ee.test(t)?Gs:Jc:qt}function Ms(t,e){const n=[...t],i=n.length,r=t.map((s,o)=>hi(s)(s,e[o]));return s=>{for(let o=0;o<i;o++)n[o]=r[o](s);return n}}function Jc(t,e){const n={...t,...e},i={};for(const r in n)t[r]!==void 0&&e[r]!==void 0&&(i[r]=hi(t[r])(t[r],e[r]));return r=>{for(const s in i)n[s]=i[s](r);return n}}function Uc(t,e){var n;const i=[],r={color:0,var:0,number:0};for(let s=0;s<e.values.length;s++){const o=e.types[s],u=t.indexes[o][r[o]],a=(n=t.values[u])!==null&&n!==void 0?n:0;i[s]=a,r[o]++}return i}const _c=(t,e)=>{const n=Xe.createTransformer(e),i=yt(t),r=yt(e);return i.indexes.var.length===r.indexes.var.length&&i.indexes.color.length===r.indexes.color.length&&i.indexes.number.length>=r.indexes.number.length?fi.has(t)&&!r.values.length||fi.has(e)&&!i.values.length?jc(t,e):we(Ms(Uc(i,r),r.values),n):(Ke(!0,`Complex values '${t}' and '${e}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`),qt(t,e))};function Ds(t,e,n){return typeof t=="number"&&typeof e=="number"&&typeof n=="number"?H(t,e,n):hi(t)(t,e)}function Qc(t,e,n){const i=[],r=n||Ds,s=t.length-1;for(let o=0;o<s;o++){let u=r(t[o],t[o+1]);if(e){const a=Array.isArray(e)?e[o]||Q:e;u=we(a,u)}i.push(u)}return i}function $c(t,e,{clamp:n=!0,ease:i,mixer:r}={}){const s=t.length;if(Pe(s===e.length,"Both input and output ranges must be the same length"),s===1)return()=>e[0];if(s===2&&t[0]===t[1])return()=>e[1];t[0]>t[s-1]&&(t=[...t].reverse(),e=[...e].reverse());const o=Qc(e,i,r),u=o.length,a=l=>{let c=0;if(u>1)for(;c<t.length-2&&!(l<t[c+1]);c++);const d=Ct(t[c],t[c+1],l);return o[c](d)};return n?l=>a(Re(t[0],t[s-1],l)):a}function Kc(t,e){const n=t[t.length-1];for(let i=1;i<=e;i++){const r=Ct(0,e,i);t.push(H(n,1,r))}}function qc(t){const e=[0];return Kc(e,t.length-1),e}function ed(t,e){return t.map(n=>n*e)}function td(t,e){return t.map(()=>e||Ss).splice(0,t.length-1)}function en({duration:t=300,keyframes:e,times:n,ease:i="easeInOut"}){const r=Oc(i)?i.map(Fs):Fs(i),s={done:!1,value:e[0]},o=ed(n&&n.length===e.length?n:qc(e),t),u=$c(o,e,{ease:Array.isArray(r)?r:td(e,r)});return{calculatedDuration:t,next:a=>(s.value=u(a),s.done=a>=t,s)}}const Ns=2e4;function nd(t){let e=0;const n=50;let i=t.next(e);for(;!i.done&&e<Ns;)e+=n,i=t.next(e);return e>=Ns?1/0:e}const id=t=>{const e=({timestamp:n})=>t(n);return{start:()=>O.update(e,!0),stop:()=>Ee(e),now:()=>$.isProcessing?$.timestamp:Oe.now()}},rd={decay:xs,inertia:xs,tween:en,keyframes:en,spring:Cs},sd=t=>t/100;class pi extends gs{constructor({KeyframeResolver:e=ei,...n}){super(n),this.holdTime=null,this.startTime=null,this.cancelTime=null,this.currentTime=0,this.playbackSpeed=1,this.pendingPlayState="running",this.state="idle",this.stop=()=>{if(this.resolver.cancel(),this.isStopped=!0,this.state==="idle")return;this.teardown();const{onStop:u}=this.options;u&&u()};const{name:i,motionValue:r,keyframes:s}=this.options,o=(u,a)=>this.onKeyframesResolved(u,a);i&&r&&r.owner?this.resolver=r.owner.resolveKeyframes(s,o,i,r):this.resolver=new e(s,o,i,r),this.resolver.scheduleResolve()}initPlayback(e){const{type:n="keyframes",repeat:i=0,repeatDelay:r=0,repeatType:s,velocity:o=0}=this.options,u=rd[n]||en;let a,l;u!==en&&typeof e[0]!="number"&&(process.env.NODE_ENV!=="production"&&Pe(e.length===2,`Only two keyframes currently supported with spring and inertia animations. Trying to animate ${e}`),a=we(sd,Ds(e[0],e[1])),e=[0,100]);const c=u({...this.options,keyframes:e});s==="mirror"&&(l=u({...this.options,keyframes:[...e].reverse(),velocity:-o})),c.calculatedDuration===null&&(c.calculatedDuration=nd(c));const{calculatedDuration:d}=c,f=d+r,h=f*(i+1)-r;return{generator:c,mirroredGenerator:l,mapPercentToKeyframes:a,calculatedDuration:d,resolvedDuration:f,totalDuration:h}}onPostResolved(){const{autoplay:e=!0}=this.options;this.play(),this.pendingPlayState==="paused"||!e?this.pause():this.state=this.pendingPlayState}tick(e,n=!1){const{resolved:i}=this;if(!i){const{keyframes:A}=this.options;return{done:!0,value:A[A.length-1]}}const{finalKeyframe:r,generator:s,mirroredGenerator:o,mapPercentToKeyframes:u,keyframes:a,calculatedDuration:l,totalDuration:c,resolvedDuration:d}=i;if(this.startTime===null)return s.next(0);const{delay:f,repeat:h,repeatType:m,repeatDelay:p,onUpdate:g}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,e):this.speed<0&&(this.startTime=Math.min(e-c/this.speed,this.startTime)),n?this.currentTime=e:this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=Math.round(e-this.startTime)*this.speed;const b=this.currentTime-f*(this.speed>=0?1:-1),I=this.speed>=0?b<0:b>c;this.currentTime=Math.max(b,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=c);let v=this.currentTime,x=s;if(h){const A=Math.min(this.currentTime,c)/d;let M=Math.floor(A),N=A%1;!N&&A>=1&&(N=1),N===1&&M--,M=Math.min(M,h+1),!!(M%2)&&(m==="reverse"?(N=1-N,p&&(N-=p/d)):m==="mirror"&&(x=o)),v=Re(0,1,N)*d}const y=I?{done:!1,value:a[0]}:x.next(v);u&&(y.value=u(y.value));let{done:S}=y;!I&&l!==null&&(S=this.speed>=0?this.currentTime>=c:this.currentTime<=0);const P=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&S);return P&&r!==void 0&&(y.value=$t(a,this.options,r)),g&&g(y.value),P&&this.finish(),y}get duration(){const{resolved:e}=this;return e?Be(e.calculatedDuration):0}get time(){return Be(this.currentTime)}set time(e){e=Fe(e),this.currentTime=e,this.holdTime!==null||this.speed===0?this.holdTime=e:this.driver&&(this.startTime=this.driver.now()-e/this.speed)}get speed(){return this.playbackSpeed}set speed(e){const n=this.playbackSpeed!==e;this.playbackSpeed=e,n&&(this.time=Be(this.currentTime))}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved){this.pendingPlayState="running";return}if(this.isStopped)return;const{driver:e=id,onPlay:n}=this.options;this.driver||(this.driver=e(r=>this.tick(r))),n&&n();const i=this.driver.now();this.holdTime!==null?this.startTime=i-this.holdTime:(!this.startTime||this.state==="finished")&&(this.startTime=i),this.state==="finished"&&this.updateFinishedPromise(),this.cancelTime=this.startTime,this.holdTime=null,this.state="running",this.driver.start()}pause(){var e;if(!this._resolved){this.pendingPlayState="paused";return}this.state="paused",this.holdTime=(e=this.currentTime)!==null&&e!==void 0?e:0}complete(){this.state!=="running"&&this.play(),this.pendingPlayState=this.state="finished",this.holdTime=null}finish(){this.teardown(),this.state="finished";const{onComplete:e}=this.options;e&&e()}cancel(){this.cancelTime!==null&&this.tick(this.cancelTime),this.teardown(),this.updateFinishedPromise()}teardown(){this.state="idle",this.stopDriver(),this.resolveFinishedPromise(),this.updateFinishedPromise(),this.startTime=this.cancelTime=null,this.resolver.cancel()}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(e){return this.startTime=0,this.tick(e,!0)}}const Rs=t=>Array.isArray(t)&&typeof t[0]=="number";function Ls(t){return!!(!t||typeof t=="string"&&t in mi||Rs(t)||Array.isArray(t)&&t.every(Ls))}const xt=([t,e,n,i])=>`cubic-bezier(${t}, ${e}, ${n}, ${i})`,mi={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:xt([0,.65,.55,1]),circOut:xt([.55,0,1,.45]),backIn:xt([.31,.01,.66,-.59]),backOut:xt([.33,1.53,.69,.99])};function od(t){return Ws(t)||mi.easeOut}function Ws(t){if(t)return Rs(t)?xt(t):Array.isArray(t)?t.map(od):mi[t]}function ad(t,e,n,{delay:i=0,duration:r=300,repeat:s=0,repeatType:o="loop",ease:u,times:a}={}){const l={[e]:n};a&&(l.offset=a);const c=Ws(u);return Array.isArray(c)&&(l.easing=c),t.animate(l,{delay:i,duration:r,easing:Array.isArray(c)?"linear":c,fill:"both",iterations:s+1,direction:o==="reverse"?"alternate":"normal"})}const ud=ps(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),tn=10,ld=2e4;function cd(t){return t.type==="spring"||!Ls(t.ease)}function dd(t,e){const n=new pi({...e,keyframes:t,repeat:0,delay:0,isGenerator:!0});let i={done:!1,value:t[0]};const r=[];let s=0;for(;!i.done&&s<ld;)i=n.sample(s),r.push(i.value),s+=tn;return{times:void 0,keyframes:r,duration:s-tn,ease:"linear"}}class Os extends gs{constructor(e){super(e);const{name:n,motionValue:i,keyframes:r}=this.options;this.resolver=new hs(r,(s,o)=>this.onKeyframesResolved(s,o),n,i),this.resolver.scheduleResolve()}initPlayback(e,n){var i;let{duration:r=300,times:s,ease:o,type:u,motionValue:a,name:l}=this.options;if(!(!((i=a.owner)===null||i===void 0)&&i.current))return!1;if(cd(this.options)){const{onComplete:d,onUpdate:f,motionValue:h,...m}=this.options,p=dd(e,m);e=p.keyframes,e.length===1&&(e[1]=e[0]),r=p.duration,s=p.times,o=p.ease,u="keyframes"}const c=ad(a.owner.current,l,e,{...this.options,duration:r,times:s,ease:o});return c.startTime=Oe.now(),this.pendingTimeline?(c.timeline=this.pendingTimeline,this.pendingTimeline=void 0):c.onfinish=()=>{const{onComplete:d}=this.options;a.set($t(e,this.options,n)),d&&d(),this.cancel(),this.resolveFinishedPromise()},{animation:c,duration:r,times:s,type:u,ease:o,keyframes:e}}get duration(){const{resolved:e}=this;if(!e)return 0;const{duration:n}=e;return Be(n)}get time(){const{resolved:e}=this;if(!e)return 0;const{animation:n}=e;return Be(n.currentTime||0)}set time(e){const{resolved:n}=this;if(!n)return;const{animation:i}=n;i.currentTime=Fe(e)}get speed(){const{resolved:e}=this;if(!e)return 1;const{animation:n}=e;return n.playbackRate}set speed(e){const{resolved:n}=this;if(!n)return;const{animation:i}=n;i.playbackRate=e}get state(){const{resolved:e}=this;if(!e)return"idle";const{animation:n}=e;return n.playState}attachTimeline(e){if(!this._resolved)this.pendingTimeline=e;else{const{resolved:n}=this;if(!n)return Q;const{animation:i}=n;i.timeline=e,i.onfinish=null}return Q}play(){if(this.isStopped)return;const{resolved:e}=this;if(!e)return;const{animation:n}=e;n.playState==="finished"&&this.updateFinishedPromise(),n.play()}pause(){const{resolved:e}=this;if(!e)return;const{animation:n}=e;n.pause()}stop(){if(this.resolver.cancel(),this.isStopped=!0,this.state==="idle")return;const{resolved:e}=this;if(!e)return;const{animation:n,keyframes:i,duration:r,type:s,ease:o,times:u}=e;if(n.playState==="idle"||n.playState==="finished")return;if(this.time){const{motionValue:l,onUpdate:c,onComplete:d,...f}=this.options,h=new pi({...f,keyframes:i,duration:r,type:s,ease:o,times:u,isGenerator:!0}),m=Fe(this.time);l.setWithVelocity(h.sample(m-tn).value,h.sample(m).value,tn)}const{onStop:a}=this.options;a&&a(),this.cancel()}complete(){const{resolved:e}=this;e&&e.animation.finish()}cancel(){const{resolved:e}=this;e&&e.animation.cancel()}static supports(e){const{motionValue:n,name:i,repeatDelay:r,repeatType:s,damping:o,type:u}=e;return ud()&&i&&Rr.has(i)&&n&&n.owner&&n.owner.current instanceof HTMLElement&&!n.owner.getProps().onUpdate&&!r&&s!=="mirror"&&o!==0&&u!=="inertia"}}function fd(t,e){let n;const i=()=>{const{currentTime:r}=e,o=(r===null?0:r.value)/100;n!==o&&t(o),n=o};return O.update(i,!0),()=>Ee(i)}const hd=ps(()=>window.ScrollTimeline!==void 0);class pd{constructor(e){this.stop=()=>this.runAll("stop"),this.animations=e.filter(Boolean)}then(e,n){return Promise.all(this.animations).then(e).catch(n)}getAll(e){return this.animations[0][e]}setAll(e,n){for(let i=0;i<this.animations.length;i++)this.animations[i][e]=n}attachTimeline(e){const n=this.animations.map(i=>{if(hd()&&i.attachTimeline)i.attachTimeline(e);else return i.pause(),fd(r=>{i.time=i.duration*r},e)});return()=>{n.forEach((i,r)=>{i&&i(),this.animations[r].stop()})}}get time(){return this.getAll("time")}set time(e){this.setAll("time",e)}get speed(){return this.getAll("speed")}set speed(e){this.setAll("speed",e)}get duration(){let e=0;for(let n=0;n<this.animations.length;n++)e=Math.max(e,this.animations[n].duration);return e}runAll(e){this.animations.forEach(n=>n[e]())}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}const gi=(t,e,n,i={},r,s,o)=>u=>{const a=$n(i,t)||{},l=a.delay||i.delay||0;let{elapsed:c=0}=i;c=c-Fe(l);let d={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:e.getVelocity(),...a,delay:-c,onUpdate:h=>{e.set(h),a.onUpdate&&a.onUpdate(h)},onComplete:()=>{u(),a.onComplete&&a.onComplete(),o&&o()},onStop:o,name:t,motionValue:e,element:s?void 0:r};Ql(a)||(d={...d,..._l(t,d)}),d.duration&&(d.duration=Fe(d.duration)),d.repeatDelay&&(d.repeatDelay=Fe(d.repeatDelay)),d.from!==void 0&&(d.keyframes[0]=d.from);let f=!1;if((d.type===!1||d.duration===0&&!d.repeatDelay)&&(d.duration=0,d.delay===0&&(f=!0)),f&&!s&&e.get()!==void 0){const h=$t(d.keyframes,a);if(h!==void 0)return O.update(()=>{d.onUpdate(h),d.onComplete()}),new pd([])}return!s&&Os.supports(d)?new Os(d):new pi(d)};class bi{constructor(){this.subscriptions=[]}add(e){return Jt(this.subscriptions,e),()=>Ut(this.subscriptions,e)}notify(e,n,i){const r=this.subscriptions.length;if(r)if(r===1)this.subscriptions[0](e,n,i);else for(let s=0;s<r;s++){const o=this.subscriptions[s];o&&o(e,n,i)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const Xs=new Set;function vi(t,e,n){t||Xs.has(e)||(console.warn(e),Xs.add(e))}const Zs=30,md=t=>!isNaN(parseFloat(t));class Hs{constructor(e,n={}){this.version="11.3.8",this.canTrackVelocity=null,this.events={},this.updateAndNotify=(i,r=!0)=>{const s=Oe.now();this.updatedAt!==s&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(i),this.current!==this.prev&&this.events.change&&this.events.change.notify(this.current),r&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.hasAnimated=!1,this.setCurrent(e),this.owner=n.owner}setCurrent(e){this.current=e,this.updatedAt=Oe.now(),this.canTrackVelocity===null&&e!==void 0&&(this.canTrackVelocity=md(this.current))}setPrevFrameValue(e=this.current){this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt}onChange(e){return process.env.NODE_ENV!=="production"&&vi(!1,'value.onChange(callback) is deprecated. Switch to value.on("change", callback).'),this.on("change",e)}on(e,n){this.events[e]||(this.events[e]=new bi);const i=this.events[e].add(n);return e==="change"?()=>{i(),O.read(()=>{this.events.change.getSize()||this.stop()})}:i}clearListeners(){for(const e in this.events)this.events[e].clear()}attach(e,n){this.passiveEffect=e,this.stopPassiveEffect=n}set(e,n=!0){!n||!this.passiveEffect?this.updateAndNotify(e,n):this.passiveEffect(e,this.updateAndNotify)}setWithVelocity(e,n,i){this.set(n),this.prev=void 0,this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt-i}jump(e,n=!0){this.updateAndNotify(e),this.prev=e,this.prevUpdatedAt=this.prevFrameValue=void 0,n&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const e=Oe.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||e-this.updatedAt>Zs)return 0;const n=Math.min(this.updatedAt-this.prevUpdatedAt,Zs);return bs(parseFloat(this.current)-parseFloat(this.prevFrameValue),n)}start(e){return this.stop(),new Promise(n=>{this.hasAnimated=!0,this.animation=e(n),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function At(t,e){return new Hs(t,e)}function gd(t,e,n){t.hasValue(e)?t.getValue(e).set(n):t.addValue(e,At(n))}function bd(t,e){const n=Qt(t,e);let{transitionEnd:i={},transition:r={},...s}=n||{};s={...s,...i};for(const o in s){const u=Pl(s[o]);gd(t,o,u)}}function ks(t){return t.getProps()[fr]}class vd extends Hs{constructor(){super(...arguments),this.output=[],this.counts=new Map}add(e){const n=Lr(e);if(!n)return;const i=this.counts.get(n)||0;this.counts.set(n,i+1),i===0&&(this.output.push(n),this.update());let r=!1;return()=>{if(r)return;r=!0;const s=this.counts.get(n)-1;this.counts.set(n,s),s===0&&(Ut(this.output,n),this.update())}}update(){this.set(this.output.length?this.output.join(", "):"auto")}}function yd(t){return!!(q(t)&&t.add)}function yi(t,e){var n;if(!t.applyWillChange)return;let i=t.getValue("willChange");if(!i&&!(!((n=t.props.style)===null||n===void 0)&&n.willChange)&&(i=new vd("auto"),t.addValue("willChange",i)),yd(i))return i.add(e)}function Id({protectedKeys:t,needsAnimating:e},n){const i=t.hasOwnProperty(n)&&e[n]!==!0;return e[n]=!1,i}function zs(t,e,{delay:n=0,transitionOverride:i,type:r}={}){var s;let{transition:o=t.getDefaultTransition(),transitionEnd:u,...a}=e;i&&(o=i);const l=[],c=r&&t.animationState&&t.animationState.getState()[r];for(const d in a){const f=t.getValue(d,(s=t.latestValues[d])!==null&&s!==void 0?s:null),h=a[d];if(h===void 0||c&&Id(c,d))continue;const m={delay:n,elapsed:0,...$n(o||{},d)};let p=!1;if(window.HandoffAppearAnimations){const b=ks(t);if(b){const I=window.HandoffAppearAnimations(b,d,f,O);I!==null&&(m.elapsed=I,p=!0)}}f.start(gi(d,f,h,t.shouldReduceMotion&&Ne.has(d)?{type:!1}:m,t,p,yi(t,d)));const g=f.animation;g&&l.push(g)}return u&&Promise.all(l).then(()=>{O.update(()=>{u&&bd(t,u)})}),l}function Ii(t,e,n={}){var i;const r=Qt(t,e,n.type==="exit"?(i=t.presenceContext)===null||i===void 0?void 0:i.custom:void 0);let{transition:s=t.getDefaultTransition()||{}}=r||{};n.transitionOverride&&(s=n.transitionOverride);const o=r?()=>Promise.all(zs(t,r,n)):()=>Promise.resolve(),u=t.variantChildren&&t.variantChildren.size?(l=0)=>{const{delayChildren:c=0,staggerChildren:d,staggerDirection:f}=s;return Cd(t,e,c+l,d,f,n)}:()=>Promise.resolve(),{when:a}=s;if(a){const[l,c]=a==="beforeChildren"?[o,u]:[u,o];return l().then(()=>c())}else return Promise.all([o(),u(n.delay)])}function Cd(t,e,n=0,i=0,r=1,s){const o=[],u=(t.variantChildren.size-1)*i,a=r===1?(l=0)=>l*i:(l=0)=>u-l*i;return Array.from(t.variantChildren).sort(xd).forEach((l,c)=>{l.notify("AnimationStart",e),o.push(Ii(l,e,{...s,delay:n+a(c)}).then(()=>l.notify("AnimationComplete",e)))}),Promise.all(o)}function xd(t,e){return t.sortNodePosition(e)}function Ad(t,e,n={}){t.notify("AnimationStart",e);let i;if(Array.isArray(e)){const r=e.map(s=>Ii(t,s,n));i=Promise.all(r)}else if(typeof e=="string")i=Ii(t,e,n);else{const r=typeof e=="function"?Qt(t,e,n.custom):e;i=Promise.all(zs(t,r,n))}return i.then(()=>{O.postRender(()=>{t.notify("AnimationComplete",e)})})}const Sd=[...Dn].reverse(),Pd=Dn.length;function Ed(t){return e=>Promise.all(e.map(({animation:n,options:i})=>Ad(t,n,i)))}function Td(t){let e=Ed(t),n=js(),i=!0;const r=a=>(l,c)=>{var d;const f=Qt(t,c,a==="exit"?(d=t.presenceContext)===null||d===void 0?void 0:d.custom:void 0);if(f){const{transition:h,transitionEnd:m,...p}=f;l={...l,...p,...m}}return l};function s(a){e=a(t)}function o(a){const l=t.getProps(),c=t.getVariantContext(!0)||{},d=[],f=new Set;let h={},m=1/0;for(let g=0;g<Pd;g++){const b=Sd[g],I=n[b],v=l[b]!==void 0?l[b]:c[b],x=ft(v),y=b===a?I.isActive:null;y===!1&&(m=g);let S=v===c[b]&&v!==l[b]&&x;if(S&&i&&t.manuallyAnimateOnMount&&(S=!1),I.protectedKeys={...h},!I.isActive&&y===null||!v&&!I.prevProp||ht(v)||typeof v=="boolean")continue;let A=Vd(I.prevProp,v)||b===a&&I.isActive&&!S&&x||g>m&&x,M=!1;const N=Array.isArray(v)?v:[v];let k=N.reduce(r(b),{});y===!1&&(k={});const{prevResolvedValues:Y={}}=I,le={...Y,...k},se=D=>{A=!0,f.has(D)&&(M=!0,f.delete(D)),I.needsAnimating[D]=!0;const W=t.getValue(D);W&&(W.liveStyle=!1)};for(const D in le){const W=k[D],ne=Y[D];if(h.hasOwnProperty(D))continue;let _=!1;Yn(W)&&Yn(ne)?_=!Ur(W,ne):_=W!==ne,_?W!=null?se(D):f.add(D):W!==void 0&&f.has(D)?se(D):I.protectedKeys[D]=!0}I.prevProp=v,I.prevResolvedValues=k,I.isActive&&(h={...h,...k}),i&&t.blockInitialAnimation&&(A=!1),A&&(!S||M)&&d.push(...N.map(D=>({animation:D,options:{type:b}})))}if(f.size){const g={};f.forEach(b=>{const I=t.getBaseTarget(b),v=t.getValue(b);v&&(v.liveStyle=!0),g[b]=I??null}),d.push({animation:g})}let p=!!d.length;return i&&(l.initial===!1||l.initial===l.animate)&&!t.manuallyAnimateOnMount&&(p=!1),i=!1,p?e(d):Promise.resolve()}function u(a,l){var c;if(n[a].isActive===l)return Promise.resolve();(c=t.variantChildren)===null||c===void 0||c.forEach(f=>{var h;return(h=f.animationState)===null||h===void 0?void 0:h.setActive(a,l)}),n[a].isActive=l;const d=o(a);for(const f in n)n[f].protectedKeys={};return d}return{animateChanges:o,setActive:u,setAnimateFunction:s,getState:()=>n,reset:()=>{n=js(),i=!0}}}function Vd(t,e){return typeof e=="string"?e!==t:Array.isArray(e)?!Ur(e,t):!1}function ze(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function js(){return{animate:ze(!0),whileInView:ze(),whileHover:ze(),whileTap:ze(),whileDrag:ze(),whileFocus:ze(),exit:ze()}}class wd extends We{constructor(e){super(e),e.animationState||(e.animationState=Td(e))}updateAnimationControlsSubscription(){const{animate:e}=this.node.getProps();ht(e)&&(this.unmountControls=e.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:e}=this.node.getProps(),{animate:n}=this.node.prevProps||{};e!==n&&this.updateAnimationControlsSubscription()}unmount(){var e;this.node.animationState.reset(),(e=this.unmountControls)===null||e===void 0||e.call(this)}}let Fd=0;class Bd extends We{constructor(){super(...arguments),this.id=Fd++}update(){if(!this.node.presenceContext)return;const{isPresent:e,onExitComplete:n}=this.node.presenceContext,{isPresent:i}=this.node.prevPresenceContext||{};if(!this.node.animationState||e===i)return;const r=this.node.animationState.setActive("exit",!e);n&&!e&&r.then(()=>n(this.id))}mount(){const{register:e}=this.node.presenceContext||{};e&&(this.unmount=e(this.id))}unmount(){}}const Gd={animation:{Feature:wd},exit:{Feature:Bd}},Ys=(t,e)=>Math.abs(t-e);function Md(t,e){const n=Ys(t.x,e.x),i=Ys(t.y,e.y);return Math.sqrt(n**2+i**2)}class Js{constructor(e,n,{transformPagePoint:i,contextWindow:r,dragSnapToOrigin:s=!1}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const d=xi(this.lastMoveEventInfo,this.history),f=this.startEvent!==null,h=Md(d.offset,{x:0,y:0})>=3;if(!f&&!h)return;const{point:m}=d,{timestamp:p}=$;this.history.push({...m,timestamp:p});const{onStart:g,onMove:b}=this.handlers;f||(g&&g(this.lastMoveEvent,d),this.startEvent=this.lastMoveEvent),b&&b(this.lastMoveEvent,d)},this.handlePointerMove=(d,f)=>{this.lastMoveEvent=d,this.lastMoveEventInfo=Ci(f,this.transformPagePoint),O.update(this.updatePoint,!0)},this.handlePointerUp=(d,f)=>{this.end();const{onEnd:h,onSessionEnd:m,resumeAnimation:p}=this.handlers;if(this.dragSnapToOrigin&&p&&p(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const g=xi(d.type==="pointercancel"?this.lastMoveEventInfo:Ci(f,this.transformPagePoint),this.history);this.startEvent&&h&&h(d,g),m&&m(d,g)},!Xr(e))return;this.dragSnapToOrigin=s,this.handlers=n,this.transformPagePoint=i,this.contextWindow=r||window;const o=_t(e),u=Ci(o,this.transformPagePoint),{point:a}=u,{timestamp:l}=$;this.history=[{...a,timestamp:l}];const{onSessionStart:c}=n;c&&c(e,xi(u,this.history)),this.removeListeners=we(Ve(this.contextWindow,"pointermove",this.handlePointerMove),Ve(this.contextWindow,"pointerup",this.handlePointerUp),Ve(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),Ee(this.updatePoint)}}function Ci(t,e){return e?{point:e(t.point)}:t}function Us(t,e){return{x:t.x-e.x,y:t.y-e.y}}function xi({point:t},e){return{point:t,delta:Us(t,_s(e)),offset:Us(t,Dd(e)),velocity:Nd(e,.1)}}function Dd(t){return t[0]}function _s(t){return t[t.length-1]}function Nd(t,e){if(t.length<2)return{x:0,y:0};let n=t.length-1,i=null;const r=_s(t);for(;n>=0&&(i=t[n],!(r.timestamp-i.timestamp>Fe(e)));)n--;if(!i)return{x:0,y:0};const s=Be(r.timestamp-i.timestamp);if(s===0)return{x:0,y:0};const o={x:(r.x-i.x)/s,y:(r.y-i.y)/s};return o.x===1/0&&(o.x=0),o.y===1/0&&(o.y=0),o}const Qs=1e-4,Rd=1-Qs,Ld=1+Qs,$s=.01,Wd=0-$s,Od=0+$s;function ae(t){return t.max-t.min}function Xd(t,e,n){return Math.abs(t-e)<=n}function Ks(t,e,n,i=.5){t.origin=i,t.originPoint=H(e.min,e.max,t.origin),t.scale=ae(n)/ae(e),t.translate=H(n.min,n.max,t.origin)-t.originPoint,(t.scale>=Rd&&t.scale<=Ld||isNaN(t.scale))&&(t.scale=1),(t.translate>=Wd&&t.translate<=Od||isNaN(t.translate))&&(t.translate=0)}function St(t,e,n,i){Ks(t.x,e.x,n.x,i?i.originX:void 0),Ks(t.y,e.y,n.y,i?i.originY:void 0)}function qs(t,e,n){t.min=n.min+e.min,t.max=t.min+ae(e)}function Zd(t,e,n){qs(t.x,e.x,n.x),qs(t.y,e.y,n.y)}function eo(t,e,n){t.min=e.min-n.min,t.max=t.min+ae(e)}function Pt(t,e,n){eo(t.x,e.x,n.x),eo(t.y,e.y,n.y)}function Hd(t,{min:e,max:n},i){return e!==void 0&&t<e?t=i?H(e,t,i.min):Math.max(t,e):n!==void 0&&t>n&&(t=i?H(n,t,i.max):Math.min(t,n)),t}function to(t,e,n){return{min:e!==void 0?t.min+e:void 0,max:n!==void 0?t.max+n-(t.max-t.min):void 0}}function kd(t,{top:e,left:n,bottom:i,right:r}){return{x:to(t.x,n,r),y:to(t.y,e,i)}}function no(t,e){let n=e.min-t.min,i=e.max-t.max;return e.max-e.min<t.max-t.min&&([n,i]=[i,n]),{min:n,max:i}}function zd(t,e){return{x:no(t.x,e.x),y:no(t.y,e.y)}}function jd(t,e){let n=.5;const i=ae(t),r=ae(e);return r>i?n=Ct(e.min,e.max-i,t.min):i>r&&(n=Ct(t.min,t.max-r,e.min)),Re(0,1,n)}function Yd(t,e){const n={};return e.min!==void 0&&(n.min=e.min-t.min),e.max!==void 0&&(n.max=e.max-t.min),n}const Ai=.35;function Jd(t=Ai){return t===!1?t=0:t===!0&&(t=Ai),{x:io(t,"left","right"),y:io(t,"top","bottom")}}function io(t,e,n){return{min:ro(t,e),max:ro(t,n)}}function ro(t,e){return typeof t=="number"?t:t[e]||0}const so=()=>({translate:0,scale:1,origin:0,originPoint:0}),nt=()=>({x:so(),y:so()}),oo=()=>({min:0,max:0}),j=()=>({x:oo(),y:oo()});function de(t){return[t("x"),t("y")]}function ao({top:t,left:e,right:n,bottom:i}){return{x:{min:e,max:n},y:{min:t,max:i}}}function Ud({x:t,y:e}){return{top:e.min,right:t.max,bottom:e.max,left:t.min}}function _d(t,e){if(!e)return t;const n=e({x:t.left,y:t.top}),i=e({x:t.right,y:t.bottom});return{top:n.y,left:n.x,bottom:i.y,right:i.x}}function Si(t){return t===void 0||t===1}function Pi({scale:t,scaleX:e,scaleY:n}){return!Si(t)||!Si(e)||!Si(n)}function je(t){return Pi(t)||uo(t)||t.z||t.rotate||t.rotateX||t.rotateY||t.skewX||t.skewY}function uo(t){return lo(t.x)||lo(t.y)}function lo(t){return t&&t!=="0%"}function nn(t,e,n){const i=t-n,r=e*i;return n+r}function co(t,e,n,i,r){return r!==void 0&&(t=nn(t,r,i)),nn(t,n,i)+e}function Ei(t,e=0,n=1,i,r){t.min=co(t.min,e,n,i,r),t.max=co(t.max,e,n,i,r)}function fo(t,{x:e,y:n}){Ei(t.x,e.translate,e.scale,e.originPoint),Ei(t.y,n.translate,n.scale,n.originPoint)}const ho=.999999999999,po=1.0000000000001;function Qd(t,e,n,i=!1){const r=n.length;if(!r)return;e.x=e.y=1;let s,o;for(let u=0;u<r;u++){s=n[u],o=s.projectionDelta;const{visualElement:a}=s.options;a&&a.props.style&&a.props.style.display==="contents"||(i&&s.options.layoutScroll&&s.scroll&&s!==s.root&&it(t,{x:-s.scroll.offset.x,y:-s.scroll.offset.y}),o&&(e.x*=o.x.scale,e.y*=o.y.scale,fo(t,o)),i&&je(s.latestValues)&&it(t,s.latestValues))}e.x<po&&e.x>ho&&(e.x=1),e.y<po&&e.y>ho&&(e.y=1)}function Ze(t,e){t.min=t.min+e,t.max=t.max+e}function mo(t,e,n,i,r=.5){const s=H(t.min,t.max,r);Ei(t,e,n,s,i)}function it(t,e){mo(t.x,e.x,e.scaleX,e.scale,e.originX),mo(t.y,e.y,e.scaleY,e.scale,e.originY)}function go(t,e){return ao(_d(t.getBoundingClientRect(),e))}function $d(t,e,n){const i=go(t,n),{scroll:r}=e;return r&&(Ze(i.x,r.offset.x),Ze(i.y,r.offset.y)),i}const bo=({current:t})=>t?t.ownerDocument.defaultView:null,Kd=new WeakMap;class qd{constructor(e){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=j(),this.visualElement=e}start(e,{snapToCursor:n=!1}={}){const{presenceContext:i}=this.visualElement;if(i&&i.isPresent===!1)return;const r=c=>{const{dragSnapToOrigin:d}=this.getProps();d?this.pauseAnimation():this.stopAnimation(),n&&this.snapToCursor(_t(c,"page").point)},s=(c,d)=>{var f;const{drag:h,dragPropagation:m,onDragStart:p}=this.getProps();if(h&&!m&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=zr(h),!this.openGlobalLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),de(b=>{let I=this.getAxisMotionValue(b).get()||0;if(ve.test(I)){const{projection:v}=this.visualElement;if(v&&v.layout){const x=v.layout.layoutBox[b];x&&(I=ae(x)*(parseFloat(I)/100))}}this.originPoint[b]=I}),p&&O.postRender(()=>p(c,d)),(f=this.removeWillChange)===null||f===void 0||f.call(this),this.removeWillChange=yi(this.visualElement,"transform");const{animationState:g}=this.visualElement;g&&g.setActive("whileDrag",!0)},o=(c,d)=>{const{dragPropagation:f,dragDirectionLock:h,onDirectionLock:m,onDrag:p}=this.getProps();if(!f&&!this.openGlobalLock)return;const{offset:g}=d;if(h&&this.currentDirection===null){this.currentDirection=ef(g),this.currentDirection!==null&&m&&m(this.currentDirection);return}this.updateAxis("x",d.point,g),this.updateAxis("y",d.point,g),this.visualElement.render(),p&&p(c,d)},u=(c,d)=>this.stop(c,d),a=()=>de(c=>{var d;return this.getAnimationState(c)==="paused"&&((d=this.getAxisMotionValue(c).animation)===null||d===void 0?void 0:d.play())}),{dragSnapToOrigin:l}=this.getProps();this.panSession=new Js(e,{onSessionStart:r,onStart:s,onMove:o,onSessionEnd:u,resumeAnimation:a},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:l,contextWindow:bo(this.visualElement)})}stop(e,n){var i;(i=this.removeWillChange)===null||i===void 0||i.call(this);const r=this.isDragging;if(this.cancel(),!r)return;const{velocity:s}=n;this.startAnimation(s);const{onDragEnd:o}=this.getProps();o&&O.postRender(()=>o(e,n))}cancel(){this.isDragging=!1;const{projection:e,animationState:n}=this.visualElement;e&&(e.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:i}=this.getProps();!i&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),n&&n.setActive("whileDrag",!1)}updateAxis(e,n,i){const{drag:r}=this.getProps();if(!i||!rn(e,r,this.currentDirection))return;const s=this.getAxisMotionValue(e);let o=this.originPoint[e]+i[e];this.constraints&&this.constraints[e]&&(o=Hd(o,this.constraints[e],this.elastic[e])),s.set(o)}resolveConstraints(){var e;const{dragConstraints:n,dragElastic:i}=this.getProps(),r=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(e=this.visualElement.projection)===null||e===void 0?void 0:e.layout,s=this.constraints;n&&Qe(n)?this.constraints||(this.constraints=this.resolveRefConstraints()):n&&r?this.constraints=kd(r.layoutBox,n):this.constraints=!1,this.elastic=Jd(i),s!==this.constraints&&r&&this.constraints&&!this.hasMutatedConstraints&&de(o=>{this.constraints!==!1&&this.getAxisMotionValue(o)&&(this.constraints[o]=Yd(r.layoutBox[o],this.constraints[o]))})}resolveRefConstraints(){const{dragConstraints:e,onMeasureDragConstraints:n}=this.getProps();if(!e||!Qe(e))return!1;const i=e.current;Pe(i!==null,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");const{projection:r}=this.visualElement;if(!r||!r.layout)return!1;const s=$d(i,r.root,this.visualElement.getTransformPagePoint());let o=zd(r.layout.layoutBox,s);if(n){const u=n(Ud(o));this.hasMutatedConstraints=!!u,u&&(o=ao(u))}return o}startAnimation(e){const{drag:n,dragMomentum:i,dragElastic:r,dragTransition:s,dragSnapToOrigin:o,onDragTransitionEnd:u}=this.getProps(),a=this.constraints||{},l=de(c=>{if(!rn(c,n,this.currentDirection))return;let d=a&&a[c]||{};o&&(d={min:0,max:0});const f=r?200:1e6,h=r?40:1e7,m={type:"inertia",velocity:i?e[c]:0,bounceStiffness:f,bounceDamping:h,timeConstant:750,restDelta:1,restSpeed:10,...s,...d};return this.startAxisValueAnimation(c,m)});return Promise.all(l).then(u)}startAxisValueAnimation(e,n){const i=this.getAxisMotionValue(e);return i.start(gi(e,i,0,n,this.visualElement,!1,yi(this.visualElement,e)))}stopAnimation(){de(e=>this.getAxisMotionValue(e).stop())}pauseAnimation(){de(e=>{var n;return(n=this.getAxisMotionValue(e).animation)===null||n===void 0?void 0:n.pause()})}getAnimationState(e){var n;return(n=this.getAxisMotionValue(e).animation)===null||n===void 0?void 0:n.state}getAxisMotionValue(e){const n=`_drag${e.toUpperCase()}`,i=this.visualElement.getProps(),r=i[n];return r||this.visualElement.getValue(e,(i.initial?i.initial[e]:void 0)||0)}snapToCursor(e){de(n=>{const{drag:i}=this.getProps();if(!rn(n,i,this.currentDirection))return;const{projection:r}=this.visualElement,s=this.getAxisMotionValue(n);if(r&&r.layout){const{min:o,max:u}=r.layout.layoutBox[n];s.set(e[n]-H(o,u,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:e,dragConstraints:n}=this.getProps(),{projection:i}=this.visualElement;if(!Qe(n)||!i||!this.constraints)return;this.stopAnimation();const r={x:0,y:0};de(o=>{const u=this.getAxisMotionValue(o);if(u&&this.constraints!==!1){const a=u.get();r[o]=jd({min:a,max:a},this.constraints[o])}});const{transformTemplate:s}=this.visualElement.getProps();this.visualElement.current.style.transform=s?s({},""):"none",i.root&&i.root.updateScroll(),i.updateLayout(),this.resolveConstraints(),de(o=>{if(!rn(o,e,null))return;const u=this.getAxisMotionValue(o),{min:a,max:l}=this.constraints[o];u.set(H(a,l,r[o]))})}addListeners(){if(!this.visualElement.current)return;Kd.set(this.visualElement,this);const e=this.visualElement.current,n=Ve(e,"pointerdown",a=>{const{drag:l,dragListener:c=!0}=this.getProps();l&&c&&this.start(a)}),i=()=>{const{dragConstraints:a}=this.getProps();Qe(a)&&a.current&&(this.constraints=this.resolveRefConstraints())},{projection:r}=this.visualElement,s=r.addEventListener("measure",i);r&&!r.layout&&(r.root&&r.root.updateScroll(),r.updateLayout()),O.read(i);const o=Te(window,"resize",()=>this.scalePositionWithinConstraints()),u=r.addEventListener("didUpdate",({delta:a,hasLayoutChanged:l})=>{this.isDragging&&l&&(de(c=>{const d=this.getAxisMotionValue(c);d&&(this.originPoint[c]+=a[c].translate,d.set(d.get()+a[c].translate))}),this.visualElement.render())});return()=>{o(),n(),s(),u&&u()}}getProps(){const e=this.visualElement.getProps(),{drag:n=!1,dragDirectionLock:i=!1,dragPropagation:r=!1,dragConstraints:s=!1,dragElastic:o=Ai,dragMomentum:u=!0}=e;return{...e,drag:n,dragDirectionLock:i,dragPropagation:r,dragConstraints:s,dragElastic:o,dragMomentum:u}}}function rn(t,e,n){return(e===!0||e===t)&&(n===null||n===t)}function ef(t,e=10){let n=null;return Math.abs(t.y)>e?n="y":Math.abs(t.x)>e&&(n="x"),n}class tf extends We{constructor(e){super(e),this.removeGroupControls=Q,this.removeListeners=Q,this.controls=new qd(e)}mount(){const{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Q}unmount(){this.removeGroupControls(),this.removeListeners()}}const vo=t=>(e,n)=>{t&&O.postRender(()=>t(e,n))};class nf extends We{constructor(){super(...arguments),this.removePointerDownListener=Q}onPointerDown(e){this.session=new Js(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:bo(this.node)})}createPanHandlers(){const{onPanSessionStart:e,onPanStart:n,onPan:i,onPanEnd:r}=this.node.getProps();return{onSessionStart:vo(e),onStart:vo(n),onMove:i,onEnd:(s,o)=>{delete this.session,r&&O.postRender(()=>r(s,o))}}}mount(){this.removePointerDownListener=Ve(this.node.current,"pointerdown",e=>this.onPointerDown(e))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}function rf(){const t=C.useContext(Ot);if(t===null)return[!0,null];const{isPresent:e,onExitComplete:n,register:i}=t,r=C.useId();return C.useEffect(()=>i(r),[]),!e&&n?[!1,()=>n&&n(r)]:[!0]}const sn={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function yo(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}const Et={correct:(t,e)=>{if(!e.target)return t;if(typeof t=="string")if(F.test(t))t=parseFloat(t);else return t;const n=yo(t,e.target.x),i=yo(t,e.target.y);return`${n}% ${i}%`}},sf={correct:(t,{treeScale:e,projectionDelta:n})=>{const i=t,r=Xe.parse(t);if(r.length>5)return i;const s=Xe.createTransformer(t),o=typeof r[0]!="number"?1:0,u=n.x.scale*e.x,a=n.y.scale*e.y;r[0+o]/=u,r[1+o]/=a;const l=H(u,a,.5);return typeof r[2+o]=="number"&&(r[2+o]/=l),typeof r[3+o]=="number"&&(r[3+o]/=l),s(r)}};class of extends C.Component{componentDidMount(){const{visualElement:e,layoutGroup:n,switchLayoutGroup:i,layoutId:r}=this.props,{projection:s}=e;el(af),s&&(n.group&&n.group.add(s),i&&i.register&&r&&i.register(s),s.root.didUpdate(),s.addEventListener("animationComplete",()=>{this.safeToRemove()}),s.setOptions({...s.options,onExitComplete:()=>this.safeToRemove()})),sn.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){const{layoutDependency:n,visualElement:i,drag:r,isPresent:s}=this.props,o=i.projection;return o&&(o.isPresent=s,r||e.layoutDependency!==n||n===void 0?o.willUpdate():this.safeToRemove(),e.isPresent!==s&&(s?o.promote():o.relegate()||O.postRender(()=>{const u=o.getStack();(!u||!u.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:e}=this.props.visualElement;e&&(e.root.didUpdate(),Mn.postRender(()=>{!e.currentAnimation&&e.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:e,layoutGroup:n,switchLayoutGroup:i}=this.props,{projection:r}=e;r&&(r.scheduleCheckAfterUnmount(),n&&n.group&&n.group.remove(r),i&&i.deregister&&i.deregister(r))}safeToRemove(){const{safeToRemove:e}=this.props;e&&e()}render(){return null}}function Io(t){const[e,n]=rf(),i=C.useContext(Rn);return w.jsx(of,{...t,layoutGroup:i,switchLayoutGroup:C.useContext(pr),isPresent:e,safeToRemove:n})}const af={borderRadius:{...Et,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:Et,borderTopRightRadius:Et,borderBottomLeftRadius:Et,borderBottomRightRadius:Et,boxShadow:sf},Co=["TopLeft","TopRight","BottomLeft","BottomRight"],uf=Co.length,xo=t=>typeof t=="string"?parseFloat(t):t,Ao=t=>typeof t=="number"||F.test(t);function lf(t,e,n,i,r,s){r?(t.opacity=H(0,n.opacity!==void 0?n.opacity:1,cf(i)),t.opacityExit=H(e.opacity!==void 0?e.opacity:1,0,df(i))):s&&(t.opacity=H(e.opacity!==void 0?e.opacity:1,n.opacity!==void 0?n.opacity:1,i));for(let o=0;o<uf;o++){const u=`border${Co[o]}Radius`;let a=So(e,u),l=So(n,u);if(a===void 0&&l===void 0)continue;a||(a=0),l||(l=0),a===0||l===0||Ao(a)===Ao(l)?(t[u]=Math.max(H(xo(a),xo(l),i),0),(ve.test(l)||ve.test(a))&&(t[u]+="%")):t[u]=l}(e.rotate||n.rotate)&&(t.rotate=H(e.rotate||0,n.rotate||0,i))}function So(t,e){return t[e]!==void 0?t[e]:t.borderRadius}const cf=Po(0,.5,Ts),df=Po(.5,.95,Q);function Po(t,e,n){return i=>i<t?0:i>e?1:n(Ct(t,e,i))}function Eo(t,e){t.min=e.min,t.max=e.max}function fe(t,e){Eo(t.x,e.x),Eo(t.y,e.y)}function To(t,e){t.translate=e.translate,t.scale=e.scale,t.originPoint=e.originPoint,t.origin=e.origin}function Vo(t,e,n,i,r){return t-=e,t=nn(t,1/n,i),r!==void 0&&(t=nn(t,1/r,i)),t}function ff(t,e=0,n=1,i=.5,r,s=t,o=t){if(ve.test(e)&&(e=parseFloat(e),e=H(o.min,o.max,e/100)-o.min),typeof e!="number")return;let u=H(s.min,s.max,i);t===s&&(u-=e),t.min=Vo(t.min,e,n,u,r),t.max=Vo(t.max,e,n,u,r)}function wo(t,e,[n,i,r],s,o){ff(t,e[n],e[i],e[r],e.scale,s,o)}const hf=["x","scaleX","originX"],pf=["y","scaleY","originY"];function Fo(t,e,n,i){wo(t.x,e,hf,n?n.x:void 0,i?i.x:void 0),wo(t.y,e,pf,n?n.y:void 0,i?i.y:void 0)}function Bo(t){return t.translate===0&&t.scale===1}function Go(t){return Bo(t.x)&&Bo(t.y)}function mf(t,e){return t.x.min===e.x.min&&t.x.max===e.x.max&&t.y.min===e.y.min&&t.y.max===e.y.max}function Mo(t,e){return Math.round(t.x.min)===Math.round(e.x.min)&&Math.round(t.x.max)===Math.round(e.x.max)&&Math.round(t.y.min)===Math.round(e.y.min)&&Math.round(t.y.max)===Math.round(e.y.max)}function Do(t){return ae(t.x)/ae(t.y)}function No(t,e){return t.translate===e.translate&&t.scale===e.scale&&t.originPoint===e.originPoint}class gf{constructor(){this.members=[]}add(e){Jt(this.members,e),e.scheduleRender()}remove(e){if(Ut(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){const n=this.members[this.members.length-1];n&&this.promote(n)}}relegate(e){const n=this.members.findIndex(r=>e===r);if(n===0)return!1;let i;for(let r=n;r>=0;r--){const s=this.members[r];if(s.isPresent!==!1){i=s;break}}return i?(this.promote(i),!0):!1}promote(e,n){const i=this.lead;if(e!==i&&(this.prevLead=i,this.lead=e,e.show(),i)){i.instance&&i.scheduleRender(),e.scheduleRender(),e.resumeFrom=i,n&&(e.resumeFrom.preserveOpacity=!0),i.snapshot&&(e.snapshot=i.snapshot,e.snapshot.latestValues=i.animationValues||i.latestValues),e.root&&e.root.isUpdating&&(e.isLayoutDirty=!0);const{crossfade:r}=e.options;r===!1&&i.hide()}}exitAnimationComplete(){this.members.forEach(e=>{const{options:n,resumingFrom:i}=e;n.onExitComplete&&n.onExitComplete(),i&&i.options.onExitComplete&&i.options.onExitComplete()})}scheduleRender(){this.members.forEach(e=>{e.instance&&e.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function bf(t,e,n){let i="";const r=t.x.translate/e.x,s=t.y.translate/e.y,o=(n==null?void 0:n.z)||0;if((r||s||o)&&(i=`translate3d(${r}px, ${s}px, ${o}px) `),(e.x!==1||e.y!==1)&&(i+=`scale(${1/e.x}, ${1/e.y}) `),n){const{transformPerspective:l,rotate:c,rotateX:d,rotateY:f,skewX:h,skewY:m}=n;l&&(i=`perspective(${l}px) ${i}`),c&&(i+=`rotate(${c}deg) `),d&&(i+=`rotateX(${d}deg) `),f&&(i+=`rotateY(${f}deg) `),h&&(i+=`skewX(${h}deg) `),m&&(i+=`skewY(${m}deg) `)}const u=t.x.scale*e.x,a=t.y.scale*e.y;return(u!==1||a!==1)&&(i+=`scale(${u}, ${a})`),i||"none"}const vf=(t,e)=>t.depth-e.depth;class yf{constructor(){this.children=[],this.isDirty=!1}add(e){Jt(this.children,e),this.isDirty=!0}remove(e){Ut(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(vf),this.isDirty=!1,this.children.forEach(e)}}function If(t,e){const n=Oe.now(),i=({timestamp:r})=>{const s=r-n;s>=e&&(Ee(i),t(s-e))};return O.read(i,!0),()=>Ee(i)}function Cf(t){return t instanceof SVGElement&&t.tagName!=="svg"}function xf(t,e,n){const i=q(t)?t:At(t);return i.start(gi("",i,e,n)),i.animation}const Ye={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0},Ti=["","X","Y","Z"],Af={visibility:"hidden"},Ro=1e3;let Sf=0;function Vi(t,e,n,i){const{latestValues:r}=e;r[t]&&(n[t]=r[t],e.setStaticValue(t,0),i&&(i[t]=0))}function Lo(t){if(t.hasCheckedOptimisedAppear=!0,t.root===t)return!1;const{visualElement:e}=t.options;return e?ks(e)?!0:t.parent&&!t.parent.hasCheckedOptimisedAppear?Lo(t.parent):!1:!1}function Wo({attachResizeListener:t,defaultParent:e,measureScroll:n,checkIsScrollRoot:i,resetTransform:r}){return class{constructor(o={},u=e==null?void 0:e()){this.id=Sf++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,window.MotionDebug&&(Ye.totalNodes=Ye.resolvedTargetDeltas=Ye.recalculatedProjection=0),this.nodes.forEach(Tf),this.nodes.forEach(Gf),this.nodes.forEach(Mf),this.nodes.forEach(Vf),window.MotionDebug&&window.MotionDebug.record(Ye)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=o,this.root=u?u.root||u:this,this.path=u?[...u.path,u]:[],this.parent=u,this.depth=u?u.depth+1:0;for(let a=0;a<this.path.length;a++)this.path[a].shouldResetTransform=!0;this.root===this&&(this.nodes=new yf)}addEventListener(o,u){return this.eventHandlers.has(o)||this.eventHandlers.set(o,new bi),this.eventHandlers.get(o).add(u)}notifyListeners(o,...u){const a=this.eventHandlers.get(o);a&&a.notify(...u)}hasListeners(o){return this.eventHandlers.has(o)}mount(o,u=this.root.hasTreeAnimated){if(this.instance)return;this.isSVG=Cf(o),this.instance=o;const{layoutId:a,layout:l,visualElement:c}=this.options;if(c&&!c.current&&c.mount(o),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),u&&(l||a)&&(this.isLayoutDirty=!0),t){let d;const f=()=>this.root.updateBlockedByResize=!1;t(o,()=>{this.root.updateBlockedByResize=!0,d&&d(),d=If(f,250),sn.hasAnimatedSinceResize&&(sn.hasAnimatedSinceResize=!1,this.nodes.forEach(Xo))})}a&&this.root.registerSharedNode(a,this),this.options.animate!==!1&&c&&(a||l)&&this.addEventListener("didUpdate",({delta:d,hasLayoutChanged:f,hasRelativeTargetChanged:h,layout:m})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const p=this.options.transition||c.getDefaultTransition()||Wf,{onLayoutAnimationStart:g,onLayoutAnimationComplete:b}=c.getProps(),I=!this.targetLayout||!Mo(this.targetLayout,m)||h,v=!f&&h;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||v||f&&(I||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(d,v);const x={...$n(p,"layout"),onPlay:g,onComplete:b};(c.shouldReduceMotion||this.options.layoutRoot)&&(x.delay=0,x.type=!1),this.startAnimation(x)}else f||Xo(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=m})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const o=this.getStack();o&&o.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,Ee(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(Df),this.animationId++)}getTransformTemplate(){const{visualElement:o}=this.options;return o&&o.getProps().transformTemplate}willUpdate(o=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.HandoffCancelAllAnimations&&Lo(this)&&window.HandoffCancelAllAnimations(),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let c=0;c<this.path.length;c++){const d=this.path[c];d.shouldResetTransform=!0,d.updateScroll("snapshot"),d.options.layoutRoot&&d.willUpdate(!1)}const{layoutId:u,layout:a}=this.options;if(u===void 0&&!a)return;const l=this.getTransformTemplate();this.prevTransformTemplateValue=l?l(this.latestValues,""):void 0,this.updateSnapshot(),o&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(Oo);return}this.isUpdating||this.nodes.forEach(Ff),this.isUpdating=!1,this.nodes.forEach(Bf),this.nodes.forEach(Pf),this.nodes.forEach(Ef),this.clearAllSnapshots();const u=Oe.now();$.delta=Re(0,1e3/60,u-$.timestamp),$.timestamp=u,$.isProcessing=!0,Jn.update.process($),Jn.preRender.process($),Jn.render.process($),$.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,Mn.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(wf),this.sharedNodes.forEach(Nf)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,O.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){O.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure())}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let a=0;a<this.path.length;a++)this.path[a].updateScroll();const o=this.layout;this.layout=this.measure(!1),this.layoutCorrected=j(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:u}=this.options;u&&u.notify("LayoutMeasure",this.layout.layoutBox,o?o.layoutBox:void 0)}updateScroll(o="measure"){let u=!!(this.options.layoutScroll&&this.instance);this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===o&&(u=!1),u&&(this.scroll={animationId:this.root.animationId,phase:o,isRoot:i(this.instance),offset:n(this.instance)})}resetTransform(){if(!r)return;const o=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,u=this.projectionDelta&&!Go(this.projectionDelta),a=this.getTransformTemplate(),l=a?a(this.latestValues,""):void 0,c=l!==this.prevTransformTemplateValue;o&&(u||je(this.latestValues)||c)&&(r(this.instance,l),this.shouldResetTransform=!1,this.scheduleRender())}measure(o=!0){const u=this.measurePageBox();let a=this.removeElementScroll(u);return o&&(a=this.removeTransform(a)),Of(a),{animationId:this.root.animationId,measuredBox:u,layoutBox:a,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:o}=this.options;if(!o)return j();const u=o.measureViewportBox(),{scroll:a}=this.root;return a&&(Ze(u.x,a.offset.x),Ze(u.y,a.offset.y)),u}removeElementScroll(o){const u=j();fe(u,o);for(let a=0;a<this.path.length;a++){const l=this.path[a],{scroll:c,options:d}=l;if(l!==this.root&&c&&d.layoutScroll){if(c.isRoot){fe(u,o);const{scroll:f}=this.root;f&&(Ze(u.x,-f.offset.x),Ze(u.y,-f.offset.y))}Ze(u.x,c.offset.x),Ze(u.y,c.offset.y)}}return u}applyTransform(o,u=!1){const a=j();fe(a,o);for(let l=0;l<this.path.length;l++){const c=this.path[l];!u&&c.options.layoutScroll&&c.scroll&&c!==c.root&&it(a,{x:-c.scroll.offset.x,y:-c.scroll.offset.y}),je(c.latestValues)&&it(a,c.latestValues)}return je(this.latestValues)&&it(a,this.latestValues),a}removeTransform(o){const u=j();fe(u,o);for(let a=0;a<this.path.length;a++){const l=this.path[a];if(!l.instance||!je(l.latestValues))continue;Pi(l.latestValues)&&l.updateSnapshot();const c=j(),d=l.measurePageBox();fe(c,d),Fo(u,l.latestValues,l.snapshot?l.snapshot.layoutBox:void 0,c)}return je(this.latestValues)&&Fo(u,this.latestValues),u}setTargetDelta(o){this.targetDelta=o,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(o){this.options={...this.options,...o,crossfade:o.crossfade!==void 0?o.crossfade:!0}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==$.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(o=!1){var u;const a=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=a.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=a.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=a.isSharedProjectionDirty);const l=!!this.resumingFrom||this!==a;if(!(o||l&&this.isSharedProjectionDirty||this.isProjectionDirty||!((u=this.parent)===null||u===void 0)&&u.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:d,layoutId:f}=this.options;if(!(!this.layout||!(d||f))){if(this.resolvedRelativeTargetAt=$.timestamp,!this.targetDelta&&!this.relativeTarget){const h=this.getClosestProjectingParent();h&&h.layout&&this.animationProgress!==1?(this.relativeParent=h,this.forceRelativeParentToResolveTarget(),this.relativeTarget=j(),this.relativeTargetOrigin=j(),Pt(this.relativeTargetOrigin,this.layout.layoutBox,h.layout.layoutBox),fe(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(!(!this.relativeTarget&&!this.targetDelta)){if(this.target||(this.target=j(),this.targetWithTransforms=j()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),Zd(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):fe(this.target,this.layout.layoutBox),fo(this.target,this.targetDelta)):fe(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;const h=this.getClosestProjectingParent();h&&!!h.resumingFrom==!!this.resumingFrom&&!h.options.layoutScroll&&h.target&&this.animationProgress!==1?(this.relativeParent=h,this.forceRelativeParentToResolveTarget(),this.relativeTarget=j(),this.relativeTargetOrigin=j(),Pt(this.relativeTargetOrigin,this.target,h.target),fe(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}window.MotionDebug&&Ye.resolvedTargetDeltas++}}}getClosestProjectingParent(){if(!(!this.parent||Pi(this.parent.latestValues)||uo(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){var o;const u=this.getLead(),a=!!this.resumingFrom||this!==u;let l=!0;if((this.isProjectionDirty||!((o=this.parent)===null||o===void 0)&&o.isProjectionDirty)&&(l=!1),a&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(l=!1),this.resolvedRelativeTargetAt===$.timestamp&&(l=!1),l)return;const{layout:c,layoutId:d}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(c||d))return;fe(this.layoutCorrected,this.layout.layoutBox);const f=this.treeScale.x,h=this.treeScale.y;Qd(this.layoutCorrected,this.treeScale,this.path,a),u.layout&&!u.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(u.target=u.layout.layoutBox,u.targetWithTransforms=j());const{target:m}=u;if(!m){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(To(this.prevProjectionDelta.x,this.projectionDelta.x),To(this.prevProjectionDelta.y,this.projectionDelta.y)),St(this.projectionDelta,this.layoutCorrected,m,this.latestValues),(this.treeScale.x!==f||this.treeScale.y!==h||!No(this.projectionDelta.x,this.prevProjectionDelta.x)||!No(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",m)),window.MotionDebug&&Ye.recalculatedProjection++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(o=!0){if(this.options.scheduleRender&&this.options.scheduleRender(),o){const u=this.getStack();u&&u.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=nt(),this.projectionDelta=nt(),this.projectionDeltaWithTransform=nt()}setAnimationOrigin(o,u=!1){const a=this.snapshot,l=a?a.latestValues:{},c={...this.latestValues},d=nt();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!u;const f=j(),h=a?a.source:void 0,m=this.layout?this.layout.source:void 0,p=h!==m,g=this.getStack(),b=!g||g.members.length<=1,I=!!(p&&!b&&this.options.crossfade===!0&&!this.path.some(Lf));this.animationProgress=0;let v;this.mixTargetDelta=x=>{const y=x/1e3;Zo(d.x,o.x,y),Zo(d.y,o.y,y),this.setTargetDelta(d),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Pt(f,this.layout.layoutBox,this.relativeParent.layout.layoutBox),Rf(this.relativeTarget,this.relativeTargetOrigin,f,y),v&&mf(this.relativeTarget,v)&&(this.isProjectionDirty=!1),v||(v=j()),fe(v,this.relativeTarget)),p&&(this.animationValues=c,lf(c,l,this.latestValues,y,I,b)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=y},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(o){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&(Ee(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=O.update(()=>{sn.hasAnimatedSinceResize=!0,this.currentAnimation=xf(0,Ro,{...o,onUpdate:u=>{this.mixTargetDelta(u),o.onUpdate&&o.onUpdate(u)},onComplete:()=>{o.onComplete&&o.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const o=this.getStack();o&&o.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(Ro),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const o=this.getLead();let{targetWithTransforms:u,target:a,layout:l,latestValues:c}=o;if(!(!u||!a||!l)){if(this!==o&&this.layout&&l&&Yo(this.options.animationType,this.layout.layoutBox,l.layoutBox)){a=this.target||j();const d=ae(this.layout.layoutBox.x);a.x.min=o.target.x.min,a.x.max=a.x.min+d;const f=ae(this.layout.layoutBox.y);a.y.min=o.target.y.min,a.y.max=a.y.min+f}fe(u,a),it(u,c),St(this.projectionDeltaWithTransform,this.layoutCorrected,u,c)}}registerSharedNode(o,u){this.sharedNodes.has(o)||this.sharedNodes.set(o,new gf),this.sharedNodes.get(o).add(u);const l=u.options.initialPromotionConfig;u.promote({transition:l?l.transition:void 0,preserveFollowOpacity:l&&l.shouldPreserveFollowOpacity?l.shouldPreserveFollowOpacity(u):void 0})}isLead(){const o=this.getStack();return o?o.lead===this:!0}getLead(){var o;const{layoutId:u}=this.options;return u?((o=this.getStack())===null||o===void 0?void 0:o.lead)||this:this}getPrevLead(){var o;const{layoutId:u}=this.options;return u?(o=this.getStack())===null||o===void 0?void 0:o.prevLead:void 0}getStack(){const{layoutId:o}=this.options;if(o)return this.root.sharedNodes.get(o)}promote({needsReset:o,transition:u,preserveFollowOpacity:a}={}){const l=this.getStack();l&&l.promote(this,a),o&&(this.projectionDelta=void 0,this.needsReset=!0),u&&this.setOptions({transition:u})}relegate(){const o=this.getStack();return o?o.relegate(this):!1}resetSkewAndRotation(){const{visualElement:o}=this.options;if(!o)return;let u=!1;const{latestValues:a}=o;if((a.z||a.rotate||a.rotateX||a.rotateY||a.rotateZ||a.skewX||a.skewY)&&(u=!0),!u)return;const l={};a.z&&Vi("z",o,l,this.animationValues);for(let c=0;c<Ti.length;c++)Vi(`rotate${Ti[c]}`,o,l,this.animationValues),Vi(`skew${Ti[c]}`,o,l,this.animationValues);o.render();for(const c in l)o.setStaticValue(c,l[c]),this.animationValues&&(this.animationValues[c]=l[c]);o.scheduleRender()}getProjectionStyles(o){var u,a;if(!this.instance||this.isSVG)return;if(!this.isVisible)return Af;const l={visibility:""},c=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,l.opacity="",l.pointerEvents=Yt(o==null?void 0:o.pointerEvents)||"",l.transform=c?c(this.latestValues,""):"none",l;const d=this.getLead();if(!this.projectionDelta||!this.layout||!d.target){const p={};return this.options.layoutId&&(p.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,p.pointerEvents=Yt(o==null?void 0:o.pointerEvents)||""),this.hasProjected&&!je(this.latestValues)&&(p.transform=c?c({},""):"none",this.hasProjected=!1),p}const f=d.animationValues||d.latestValues;this.applyTransformsToTarget(),l.transform=bf(this.projectionDeltaWithTransform,this.treeScale,f),c&&(l.transform=c(f,l.transform));const{x:h,y:m}=this.projectionDelta;l.transformOrigin=`${h.origin*100}% ${m.origin*100}% 0`,d.animationValues?l.opacity=d===this?(a=(u=f.opacity)!==null&&u!==void 0?u:this.latestValues.opacity)!==null&&a!==void 0?a:1:this.preserveOpacity?this.latestValues.opacity:f.opacityExit:l.opacity=d===this?f.opacity!==void 0?f.opacity:"":f.opacityExit!==void 0?f.opacityExit:0;for(const p in kt){if(f[p]===void 0)continue;const{correct:g,applyTo:b}=kt[p],I=l.transform==="none"?f[p]:g(f[p],d);if(b){const v=b.length;for(let x=0;x<v;x++)l[b[x]]=I}else l[p]=I}return this.options.layoutId&&(l.pointerEvents=d===this?Yt(o==null?void 0:o.pointerEvents)||"":"none"),l}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(o=>{var u;return(u=o.currentAnimation)===null||u===void 0?void 0:u.stop()}),this.root.nodes.forEach(Oo),this.root.sharedNodes.clear()}}}function Pf(t){t.updateLayout()}function Ef(t){var e;const n=((e=t.resumeFrom)===null||e===void 0?void 0:e.snapshot)||t.snapshot;if(t.isLead()&&t.layout&&n&&t.hasListeners("didUpdate")){const{layoutBox:i,measuredBox:r}=t.layout,{animationType:s}=t.options,o=n.source!==t.layout.source;s==="size"?de(d=>{const f=o?n.measuredBox[d]:n.layoutBox[d],h=ae(f);f.min=i[d].min,f.max=f.min+h}):Yo(s,n.layoutBox,i)&&de(d=>{const f=o?n.measuredBox[d]:n.layoutBox[d],h=ae(i[d]);f.max=f.min+h,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[d].max=t.relativeTarget[d].min+h)});const u=nt();St(u,i,n.layoutBox);const a=nt();o?St(a,t.applyTransform(r,!0),n.measuredBox):St(a,i,n.layoutBox);const l=!Go(u);let c=!1;if(!t.resumeFrom){const d=t.getClosestProjectingParent();if(d&&!d.resumeFrom){const{snapshot:f,layout:h}=d;if(f&&h){const m=j();Pt(m,n.layoutBox,f.layoutBox);const p=j();Pt(p,i,h.layoutBox),Mo(m,p)||(c=!0),d.options.layoutRoot&&(t.relativeTarget=p,t.relativeTargetOrigin=m,t.relativeParent=d)}}}t.notifyListeners("didUpdate",{layout:i,snapshot:n,delta:a,layoutDelta:u,hasLayoutChanged:l,hasRelativeTargetChanged:c})}else if(t.isLead()){const{onExitComplete:i}=t.options;i&&i()}t.options.transition=void 0}function Tf(t){window.MotionDebug&&Ye.totalNodes++,t.parent&&(t.isProjecting()||(t.isProjectionDirty=t.parent.isProjectionDirty),t.isSharedProjectionDirty||(t.isSharedProjectionDirty=!!(t.isProjectionDirty||t.parent.isProjectionDirty||t.parent.isSharedProjectionDirty)),t.isTransformDirty||(t.isTransformDirty=t.parent.isTransformDirty))}function Vf(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function wf(t){t.clearSnapshot()}function Oo(t){t.clearMeasurements()}function Ff(t){t.isLayoutDirty=!1}function Bf(t){const{visualElement:e}=t.options;e&&e.getProps().onBeforeLayoutMeasure&&e.notify("BeforeLayoutMeasure"),t.resetTransform()}function Xo(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function Gf(t){t.resolveTargetDelta()}function Mf(t){t.calcProjection()}function Df(t){t.resetSkewAndRotation()}function Nf(t){t.removeLeadSnapshot()}function Zo(t,e,n){t.translate=H(e.translate,0,n),t.scale=H(e.scale,1,n),t.origin=e.origin,t.originPoint=e.originPoint}function Ho(t,e,n,i){t.min=H(e.min,n.min,i),t.max=H(e.max,n.max,i)}function Rf(t,e,n,i){Ho(t.x,e.x,n.x,i),Ho(t.y,e.y,n.y,i)}function Lf(t){return t.animationValues&&t.animationValues.opacityExit!==void 0}const Wf={duration:.45,ease:[.4,0,.1,1]},ko=t=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t),zo=ko("applewebkit/")&&!ko("chrome/")?Math.round:Q;function jo(t){t.min=zo(t.min),t.max=zo(t.max)}function Of(t){jo(t.x),jo(t.y)}function Yo(t,e,n){return t==="position"||t==="preserve-aspect"&&!Xd(Do(e),Do(n),.2)}const Xf=Wo({attachResizeListener:(t,e)=>Te(t,"resize",e),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),wi={current:void 0},Jo=Wo({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!wi.current){const t=new Xf({});t.mount(window),t.setOptions({layoutScroll:!0}),wi.current=t}return wi.current},resetTransform:(t,e)=>{t.style.transform=e!==void 0?e:"none"},checkIsScrollRoot:t=>window.getComputedStyle(t).position==="fixed"}),Zf={pan:{Feature:nf},drag:{Feature:tf,ProjectionNode:Jo,MeasureLayout:Io}},Fi={current:null},Uo={current:!1};function Hf(){if(Uo.current=!0,!!Bn)if(window.matchMedia){const t=window.matchMedia("(prefers-reduced-motion)"),e=()=>Fi.current=t.matches;t.addListener(e),e()}else Fi.current=!1}function kf(t,e,n){for(const i in e){const r=e[i],s=n[i];if(q(r))t.addValue(i,r),process.env.NODE_ENV==="development"&&vi(r.version==="11.3.8",`Attempting to mix Framer Motion versions ${r.version} with 11.3.8 may not work as expected.`);else if(q(s))t.addValue(i,At(r,{owner:t}));else if(s!==r)if(t.hasValue(i)){const o=t.getValue(i);o.liveStyle===!0?o.jump(r):o.hasAnimated||o.set(r)}else{const o=t.getStaticValue(i);t.addValue(i,At(o!==void 0?o:r,{owner:t}))}}for(const i in n)e[i]===void 0&&t.removeValue(i);return e}const _o=new WeakMap,zf=[...ns,ee,Xe],jf=t=>zf.find(ts(t)),Qo=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],Yf=Nn.length;class Jf{scrapeMotionValuesFromProps(e,n,i){return{}}constructor({parent:e,props:n,presenceContext:i,reducedMotionConfig:r,blockInitialAnimation:s,visualState:o},u={}){this.applyWillChange=!1,this.resolveKeyframes=(f,h,m,p)=>new this.KeyframeResolver(f,h,m,p,this),this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=ei,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.isRenderScheduled=!1,this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.isRenderScheduled=!1,this.scheduleRender=()=>{this.isRenderScheduled||(this.isRenderScheduled=!0,O.render(this.render,!1,!0))};const{latestValues:a,renderState:l}=o;this.latestValues=a,this.baseTarget={...a},this.initialValues=n.initial?{...a}:{},this.renderState=l,this.parent=e,this.props=n,this.presenceContext=i,this.depth=e?e.depth+1:0,this.reducedMotionConfig=r,this.options=u,this.blockInitialAnimation=!!s,this.isControllingVariants=Ht(n),this.isVariantNode=br(n),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(e&&e.current);const{willChange:c,...d}=this.scrapeMotionValuesFromProps(n,{},this);for(const f in d){const h=d[f];a[f]!==void 0&&q(h)&&h.set(a[f],!1)}}mount(e){this.current=e,_o.set(e,this),this.projection&&!this.projection.instance&&this.projection.mount(e),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((n,i)=>this.bindToMotionValue(i,n)),Uo.current||Hf(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:Fi.current,process.env.NODE_ENV!=="production"&&vi(this.shouldReduceMotion!==!0,"You have Reduced Motion enabled on your device. Animations may not appear as expected."),this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){_o.delete(this.current),this.projection&&this.projection.unmount(),Ee(this.notifyUpdate),Ee(this.render),this.valueSubscriptions.forEach(e=>e()),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this);for(const e in this.events)this.events[e].clear();for(const e in this.features){const n=this.features[e];n&&(n.unmount(),n.isMounted=!1)}this.current=null}bindToMotionValue(e,n){const i=Ne.has(e),r=n.on("change",o=>{this.latestValues[e]=o,this.props.onUpdate&&O.preRender(this.notifyUpdate),i&&this.projection&&(this.projection.isTransformDirty=!0)}),s=n.on("renderRequest",this.scheduleRender);this.valueSubscriptions.set(e,()=>{r(),s(),n.owner&&n.stop()})}sortNodePosition(e){return!this.current||!this.sortInstanceNodePosition||this.type!==e.type?0:this.sortInstanceNodePosition(this.current,e.current)}updateFeatures(){let e="animation";for(e in $e){const n=$e[e];if(!n)continue;const{isEnabled:i,Feature:r}=n;if(!this.features[e]&&r&&i(this.props)&&(this.features[e]=new r(this)),this.features[e]){const s=this.features[e];s.isMounted?s.update():(s.mount(),s.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):j()}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,n){this.latestValues[e]=n}update(e,n){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=e,this.prevPresenceContext=this.presenceContext,this.presenceContext=n;for(let i=0;i<Qo.length;i++){const r=Qo[i];this.propEventSubscriptions[r]&&(this.propEventSubscriptions[r](),delete this.propEventSubscriptions[r]);const s="on"+r,o=e[s];o&&(this.propEventSubscriptions[r]=this.on(r,o))}this.prevMotionValues=kf(this,this.scrapeMotionValuesFromProps(e,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(e){return this.props.variants?this.props.variants[e]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}getVariantContext(e=!1){if(e)return this.parent?this.parent.getVariantContext():void 0;if(!this.isControllingVariants){const i=this.parent?this.parent.getVariantContext()||{}:{};return this.props.initial!==void 0&&(i.initial=this.props.initial),i}const n={};for(let i=0;i<Yf;i++){const r=Nn[i],s=this.props[r];(ft(s)||s===!1)&&(n[r]=s)}return n}addVariantChild(e){const n=this.getClosestVariantNode();if(n)return n.variantChildren&&n.variantChildren.add(e),()=>n.variantChildren.delete(e)}addValue(e,n){const i=this.values.get(e);n!==i&&(i&&this.removeValue(e),this.bindToMotionValue(e,n),this.values.set(e,n),this.latestValues[e]=n.get())}removeValue(e){this.values.delete(e);const n=this.valueSubscriptions.get(e);n&&(n(),this.valueSubscriptions.delete(e)),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,n){if(this.props.values&&this.props.values[e])return this.props.values[e];let i=this.values.get(e);return i===void 0&&n!==void 0&&(i=At(n===null?void 0:n,{owner:this}),this.addValue(e,i)),i}readValue(e,n){var i;let r=this.latestValues[e]!==void 0||!this.current?this.latestValues[e]:(i=this.getBaseTargetFromProps(this.props,e))!==null&&i!==void 0?i:this.readValueFromInstance(this.current,e,this.options);return r!=null&&(typeof r=="string"&&(Qr(r)||_r(r))?r=parseFloat(r):!jf(r)&&Xe.test(n)&&(r=fs(e,n)),this.setBaseTarget(e,q(r)?r.get():r)),q(r)?r.get():r}setBaseTarget(e,n){this.baseTarget[e]=n}getBaseTarget(e){var n;const{initial:i}=this.props;let r;if(typeof i=="string"||typeof i=="object"){const o=jn(this.props,i,(n=this.presenceContext)===null||n===void 0?void 0:n.custom);o&&(r=o[e])}if(i&&r!==void 0)return r;const s=this.getBaseTargetFromProps(this.props,e);return s!==void 0&&!q(s)?s:this.initialValues[e]!==void 0&&r===void 0?void 0:this.baseTarget[e]}on(e,n){return this.events[e]||(this.events[e]=new bi),this.events[e].add(n)}notify(e,...n){this.events[e]&&this.events[e].notify(...n)}}class $o extends Jf{constructor(){super(...arguments),this.KeyframeResolver=hs}sortInstanceNodePosition(e,n){return e.compareDocumentPosition(n)&2?1:-1}getBaseTargetFromProps(e,n){return e.style?e.style[n]:void 0}removeValueFromRenderState(e,{vars:n,style:i}){delete n[e],delete i[e]}}function Uf(t){return window.getComputedStyle(t)}class _f extends $o{constructor(){super(...arguments),this.type="html",this.applyWillChange=!0,this.renderInstance=Fr}readValueFromInstance(e,n){if(Ne.has(n)){const i=si(n);return i&&i.default||0}else{const i=Uf(e),r=(xr(n)?i.getPropertyValue(n):i[n])||0;return typeof r=="string"?r.trim():r}}measureInstanceViewportBox(e,{transformPagePoint:n}){return go(e,n)}build(e,n,i){Xn(e,n,i.transformTemplate)}scrapeMotionValuesFromProps(e,n,i){return zn(e,n,i)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:e}=this.props;q(e)&&(this.childSubscription=e.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}}class Qf extends $o{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=j}getBaseTargetFromProps(e,n){return e[n]}readValueFromInstance(e,n){if(Ne.has(n)){const i=si(n);return i&&i.default||0}return n=Br.has(n)?n:Xt(n),e.getAttribute(n)}scrapeMotionValuesFromProps(e,n,i){return Mr(e,n,i)}build(e,n,i){Hn(e,n,this.isSVGTag,i.transformTemplate)}renderInstance(e,n,i,r){Gr(e,n,i,r)}mount(e){this.isSVGTag=kn(e.tagName),super.mount(e)}}const $f=(t,e)=>Ln(t)?new Qf(e):new _f(e,{allowProjection:t!==C.Fragment}),Kf={...Gd,...zl,...Zf,...{layout:{ProjectionNode:Jo,MeasureLayout:Io}}},Ko=Ku((t,e)=>Bl(t,e,Kf,$f));function qo(){const t=C.useRef(!1);return Gn(()=>(t.current=!0,()=>{t.current=!1}),[]),t}function qf(){const t=qo(),[e,n]=C.useState(0),i=C.useCallback(()=>{t.current&&n(e+1)},[e]);return[C.useCallback(()=>O.postRender(i),[i]),e]}class eh extends G.Component{getSnapshotBeforeUpdate(e){const n=this.props.childRef.current;if(n&&e.isPresent&&!this.props.isPresent){const i=this.props.sizeRef.current;i.height=n.offsetHeight||0,i.width=n.offsetWidth||0,i.top=n.offsetTop,i.left=n.offsetLeft}return null}componentDidUpdate(){}render(){return this.props.children}}function th({children:t,isPresent:e}){const n=C.useId(),i=C.useRef(null),r=C.useRef({width:0,height:0,top:0,left:0}),{nonce:s}=C.useContext(Fn);return C.useInsertionEffect(()=>{const{width:o,height:u,top:a,left:l}=r.current;if(e||!i.current||!o||!u)return;i.current.dataset.motionPopId=n;const c=document.createElement("style");return s&&(c.nonce=s),document.head.appendChild(c),c.sheet&&c.sheet.insertRule(`
6
6
  [data-motion-pop-id="${n}"] {
7
7
  position: absolute !important;
8
8
  width: ${o}px !important;
@@ -10,23 +10,23 @@
10
10
  top: ${a}px !important;
11
11
  left: ${l}px !important;
12
12
  }
13
- `),()=>{document.head.removeChild(c)}},[e]),E.jsx(nh,{isPresent:e,childRef:i,sizeRef:r,children:G.cloneElement(t,{ref:i})})}const Mi=({children:t,initial:e,isPresent:n,onExitComplete:i,custom:r,presenceAffectsLayout:s,mode:o})=>{const u=Lr(rh),a=C.useId(),l=C.useMemo(()=>({id:a,initial:e,isPresent:n,custom:r,onExitComplete:c=>{u.set(c,!0);for(const d of u.values())if(!d)return;i&&i()},register:c=>(u.set(c,!1),()=>u.delete(c))}),s?[Math.random()]:[n]);return C.useMemo(()=>{u.forEach((c,d)=>u.set(d,!1))},[n]),G.useEffect(()=>{!n&&!u.size&&i&&i()},[n]),o==="popLayout"&&(t=E.jsx(ih,{isPresent:n,children:t})),E.jsx(Zt.Provider,{value:l,children:t})};function rh(){return new Map}function sh(t){return C.useEffect(()=>()=>t(),[])}const Ue=t=>t.key||"";function oh(t,e){t.forEach(n=>{const i=Ue(n);e.set(i,n)})}function ah(t){const e=[];return C.Children.forEach(t,n=>{C.isValidElement(n)&&e.push(n)}),e}const na=({children:t,custom:e,initial:n=!0,onExitComplete:i,exitBeforeEnter:r,presenceAffectsLayout:s=!0,mode:o="sync"})=>{Ee(!r,"Replace exitBeforeEnter with mode='wait'");const u=C.useContext(Ln).forceRender||th()[0],a=ta(),l=ah(t);let c=l;const d=C.useRef(new Map).current,f=C.useRef(c),h=C.useRef(new Map).current,m=C.useRef(!0);if(Dn(()=>{m.current=!1,oh(l,h),f.current=c}),sh(()=>{m.current=!0,h.clear(),d.clear()}),m.current)return E.jsx(E.Fragment,{children:c.map(I=>E.jsx(Mi,{isPresent:!0,initial:n?void 0:!1,presenceAffectsLayout:s,mode:o,children:I},Ue(I)))});c=[...c];const p=f.current.map(Ue),g=l.map(Ue),b=p.length;for(let I=0;I<b;I++){const v=p[I];g.indexOf(v)===-1&&!d.has(v)&&d.set(v,void 0)}return o==="wait"&&d.size&&(c=[]),d.forEach((I,v)=>{if(g.indexOf(v)!==-1)return;const x=h.get(v);if(!x)return;const y=p.indexOf(v);let S=I;if(!S){const P=()=>{d.delete(v);const A=Array.from(h.keys()).filter(M=>!g.includes(M));if(A.forEach(M=>h.delete(M)),f.current=l.filter(M=>{const N=Ue(M);return N===v||A.includes(N)}),!d.size){if(a.current===!1)return;u(),i&&i()}};S=E.jsx(Mi,{isPresent:!1,onExitComplete:P,custom:e,presenceAffectsLayout:s,mode:o,children:x},Ue(x)),d.set(v,S)}c.splice(y,0,S)}),c=c.map(I=>{const v=I.key;return d.has(v)?I:E.jsx(Mi,{isPresent:!0,presenceAffectsLayout:s,mode:o,children:I},Ue(I))}),process.env.NODE_ENV!=="production"&&o==="wait"&&c.length>1&&console.warn(`You're attempting to animate multiple children within AnimatePresence, but its mode is set to "wait". This will lead to odd visual behaviour.`),E.jsx(E.Fragment,{children:d.size?c:c.map(I=>C.cloneElement(I))})},uh=t=>{const{isOpen:e,onClose:n,config:i}=t,{type:r,title:s,description:o,icon:u,onConfirm:a,buttonContent:l}=i,c=()=>{n()},d=()=>{a(),n()};return E.jsx(Wu,{children:E.jsx("div",{className:he["confirm-dialog-wrapper"],children:E.jsx(na,{children:e&&E.jsx(un.div,{className:he["confirm-dialog-overlay"],initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},children:E.jsx(un.div,{className:Ot(he["confirm-dialog"],he[r]),initial:{opacity:0,scale:.95},animate:{opacity:1,scale:1},exit:{opacity:0,scale:.95},children:E.jsxs("div",{className:he["confirm-dialog-content"],children:[E.jsxs("div",{className:he["confirm-dialog-body"],children:[E.jsx("div",{className:he["confirm-dialog-icon-container"],children:E.jsx("div",{className:he["confirm-dialog-icon"],children:u||E.jsx(Nu,{})})}),E.jsxs("div",{children:[E.jsx("h2",{children:s}),E.jsx("p",{children:o})]})]}),E.jsxs("div",{className:he["confirm-dialog-footer"],children:[E.jsx("button",{type:"button",className:he["confirm-dialog-footer-close-btn"],onClick:c,children:l&&l.onCloseTitle?l.onCloseTitle:"Cancel"}),E.jsx("button",{type:"button",className:he["confirm-dialog-footer-confirm-btn"],onClick:d,children:l&&l.onConfirmTitle?l.onConfirmTitle:"Confirm"})]})]})})})})})})},ia=C.createContext({}),lh=({children:t,toastPosition:e})=>{console.log(e,"toastPosition");const[n,i]=C.useState({}),[r,s]=C.useState(!1),o=l=>{i(l),s(!0)},u=()=>{s(!1)},a=o;return E.jsxs(ia.Provider,{value:a,children:[E.jsx(Tu,{}),n?E.jsx(uh,{isOpen:r,onClose:u,config:n}):null,t]})},pe={"modal-wrapper":"biznext-ui-n2Vjx4mdikE-9","modal-overlay":"biznext-ui-6sKjk6L11EQ-e",modal:"biznext-ui-Mao59ye15po-3",left:"biznext-ui-5bDq6-PrHF4-e","left-slider":"biznext-ui-dhv7A0opLyg-7",right:"biznext-ui-X9XXG3R3kc4-5","right-slider":"biznext-ui-EXk9iqQoKIU-1","top-left":"biznext-ui-agEjPkJufuY-6","top-center":"biznext-ui-CzoFpYQH5r0-0","top-right":"biznext-ui-e0SRVasbx2Q-7","bottom-left":"biznext-ui-jMdhucf3jH4-8","bottom-center":"biznext-ui-1ruLnzU-7Mg-d","bottom-right":"biznext-ui-IBxY5gMZXAs-2",center:"biznext-ui-g7IKSnXitqg-8",full:"biznext-ui-T4NhvYHqFMo-4","modal-content":"biznext-ui-1F-uEUK7Izg-d","modal-header":"biznext-ui-nWO9WSw4Ix8-9","module-header-close-btn":"biznext-ui-kCEeyonkTlE-9","modal-title":"biznext-ui-r-WKlIAFS20-a","modal-body":"biznext-ui-7AJhK9Yn-KQ-e","modal-footer":"biznext-ui-lUyv0bpMUw4-9","modal-footer-close-btn":"biznext-ui-acScPNehEic-6"};function ch(t){return fr({tag:"svg",attr:{viewBox:"0 0 352 512"},child:[{tag:"path",attr:{d:"M242.72 256l100.07-100.07c12.28-12.28 12.28-32.19 0-44.48l-22.24-22.24c-12.28-12.28-32.19-12.28-44.48 0L176 189.28 75.93 89.21c-12.28-12.28-32.19-12.28-44.48 0L9.21 111.45c-12.28 12.28-12.28 32.19 0 44.48L109.28 256 9.21 356.07c-12.28 12.28-12.28 32.19 0 44.48l22.24 22.24c12.28 12.28 32.2 12.28 44.48 0L176 322.72l100.07 100.07c12.28 12.28 32.2 12.28 44.48 0l22.24-22.24c12.28-12.28 12.28-32.19 0-44.48L242.72 256z"},child:[]}]})(t)}function dh(t){const{children:e}=t,[n,i]=C.useState(!1);C.useEffect(()=>{i(!0)},[]);const r=document.getElementById("biznext-ui-modal-portal");return n&&r?$e.createPortal(e,r):$e.createPortal(e,document.body)}const Di=C.createContext({onClose:()=>console.warn("Biznext-UI-Modal: Close Function not Implemented!")}),ot=t=>{const{type:e,index:n,height:i,width:r,sx:s,isOpen:o,onClose:u,children:a}=t;return E.jsx(Di.Provider,{value:{onClose:u},children:E.jsx(dh,{children:E.jsx(na,{children:o&&E.jsxs("div",{className:pe["modal-wrapper"],children:[E.jsx(un.div,{className:pe["modal-overlay"],style:{zIndex:9999+(n||0)},onClick:u,initial:{opacity:0},animate:{opacity:1},exit:{opacity:0}}),E.jsx(un.div,{initial:{opacity:0,scale:.95},className:Ot(pe.modal,pe[e]),style:{height:i,width:r,zIndex:99999+(n||0),...s},animate:{opacity:1,scale:1},exit:{opacity:0,scale:.95},children:a})]})})})})},fh=ot,hh=({children:t})=>E.jsx("div",{className:pe["modal-content"],children:t}),ph=({children:t})=>{const{onClose:e}=C.useContext(Di);return E.jsxs("header",{id:"handle",className:pe["modal-header"],children:[t,E.jsx("button",{type:"button",className:pe["module-header-close-btn"],onClick:e,children:E.jsx(ch,{})})]})},mh=({children:t})=>E.jsx("h2",{className:pe["modal-title"],children:t}),gh=({children:t})=>E.jsx("div",{className:pe["modal-body"],children:t}),bh=t=>{const{children:e,closeTitle:n}=t,{onClose:i}=C.useContext(Di);return E.jsxs("footer",{className:pe["modal-footer"],children:[e,E.jsx("button",{type:"button",className:pe["modal-footer-close-btn"],onClick:i,children:n||"Cancel"})]})};ot.Content=hh,ot.Header=ph,ot.Title=mh,ot.Body=gh,ot.Footer=bh;const vh=C.createContext({}),yh=()=>C.useContext(vh),Ih=()=>C.useContext(ia),me={form:"biznext-ui-WgISRe1bJDU-5","form-group":"biznext-ui-PDYbgOuoFL0-3","form-input-group":"biznext-ui-7dIDGqcfwy4-e","form-input-group-label":"biznext-ui-3qrluRcbSyQ-d",required:"biznext-ui-S1AWtF9fE-s-4","form-input-control-group":"biznext-ui-GQweSyKURD4-1","form-input-control":"biznext-ui-Pxa8kMsnvaQ-3","validation-error":"biznext-ui-B7sgFlayyBI-0","form-select-control":"biznext-ui-TyZSBF2HLh0-4","form-input-group-error-text":"biznext-ui-npOI3UC2M38-9"};function _e(t){"@babel/helpers - typeof";return _e=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_e(t)}function Ch(t,e){if(_e(t)!="object"||!t)return t;var n=t[Symbol.toPrimitive];if(n!==void 0){var i=n.call(t,e||"default");if(_e(i)!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}function ra(t){var e=Ch(t,"string");return _e(e)=="symbol"?e:e+""}function wt(t,e,n){return(e=ra(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function sa(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable})),n.push.apply(n,i)}return n}function w(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?sa(Object(n),!0).forEach(function(i){wt(t,i,n[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):sa(Object(n)).forEach(function(i){Object.defineProperty(t,i,Object.getOwnPropertyDescriptor(n,i))})}return t}function xh(t){if(Array.isArray(t))return t}function Ah(t,e){var n=t==null?null:typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(n!=null){var i,r,s,o,u=[],a=!0,l=!1;try{if(s=(n=n.call(t)).next,e===0){if(Object(n)!==n)return;a=!1}else for(;!(a=(i=s.call(n)).done)&&(u.push(i.value),u.length!==e);a=!0);}catch(c){l=!0,r=c}finally{try{if(!a&&n.return!=null&&(o=n.return(),Object(o)!==o))return}finally{if(l)throw r}}return u}}function Ni(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=Array(e);n<e;n++)i[n]=t[n];return i}function oa(t,e){if(t){if(typeof t=="string")return Ni(t,e);var n={}.toString.call(t).slice(8,-1);return n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set"?Array.from(t):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Ni(t,e):void 0}}function Sh(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
14
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Me(t,e){return xh(t)||Ah(t,e)||oa(t,e)||Sh()}function Ph(t,e){if(t==null)return{};var n={};for(var i in t)if({}.hasOwnProperty.call(t,i)){if(e.includes(i))continue;n[i]=t[i]}return n}function De(t,e){if(t==null)return{};var n,i,r=Ph(t,e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(t);for(i=0;i<s.length;i++)n=s[i],e.includes(n)||{}.propertyIsEnumerable.call(t,n)&&(r[n]=t[n])}return r}var Eh=["defaultInputValue","defaultMenuIsOpen","defaultValue","inputValue","menuIsOpen","onChange","onInputChange","onMenuClose","onMenuOpen","value"];function Th(t){var e=t.defaultInputValue,n=e===void 0?"":e,i=t.defaultMenuIsOpen,r=i===void 0?!1:i,s=t.defaultValue,o=s===void 0?null:s,u=t.inputValue,a=t.menuIsOpen,l=t.onChange,c=t.onInputChange,d=t.onMenuClose,f=t.onMenuOpen,h=t.value,m=De(t,Eh),p=C.useState(u!==void 0?u:n),g=Me(p,2),b=g[0],I=g[1],v=C.useState(a!==void 0?a:r),x=Me(v,2),y=x[0],S=x[1],P=C.useState(h!==void 0?h:o),A=Me(P,2),M=A[0],N=A[1],k=C.useCallback(function(_,Ae){typeof l=="function"&&l(_,Ae),N(_)},[l]),Y=C.useCallback(function(_,Ae){var ge;typeof c=="function"&&(ge=c(_,Ae)),I(ge!==void 0?ge:_)},[c]),le=C.useCallback(function(){typeof f=="function"&&f(),S(!0)},[f]),se=C.useCallback(function(){typeof d=="function"&&d(),S(!1)},[d]),D=u!==void 0?u:b,L=a!==void 0?a:y,ne=h!==void 0?h:M;return w(w({},m),{},{inputValue:D,menuIsOpen:L,onChange:k,onInputChange:Y,onMenuClose:se,onMenuOpen:le,value:ne})}function B(){return B=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)({}).hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},B.apply(null,arguments)}function Vh(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function aa(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,ra(i.key),i)}}function wh(t,e,n){return e&&aa(t.prototype,e),n&&aa(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}function Wi(t,e){return Wi=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,i){return n.__proto__=i,n},Wi(t,e)}function Fh(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&Wi(t,e)}function ln(t){return ln=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},ln(t)}function ua(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(ua=function(){return!!t})()}function Bh(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Gh(t,e){if(e&&(_e(e)=="object"||typeof e=="function"))return e;if(e!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Bh(t)}function Mh(t){var e=ua();return function(){var n,i=ln(t);if(e){var r=ln(this).constructor;n=Reflect.construct(i,arguments,r)}else n=i.apply(this,arguments);return Gh(this,n)}}function Dh(t){if(Array.isArray(t))return Ni(t)}function Nh(t){if(typeof Symbol<"u"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Wh(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
15
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Ri(t){return Dh(t)||Nh(t)||oa(t)||Wh()}var Rh=!1;function Lh(t){if(t.sheet)return t.sheet;for(var e=0;e<document.styleSheets.length;e++)if(document.styleSheets[e].ownerNode===t)return document.styleSheets[e]}function Oh(t){var e=document.createElement("style");return e.setAttribute("data-emotion",t.key),t.nonce!==void 0&&e.setAttribute("nonce",t.nonce),e.appendChild(document.createTextNode("")),e.setAttribute("data-s",""),e}var Xh=function(){function t(n){var i=this;this._insertTag=function(r){var s;i.tags.length===0?i.insertionPoint?s=i.insertionPoint.nextSibling:i.prepend?s=i.container.firstChild:s=i.before:s=i.tags[i.tags.length-1].nextSibling,i.container.insertBefore(r,s),i.tags.push(r)},this.isSpeedy=n.speedy===void 0?!Rh:n.speedy,this.tags=[],this.ctr=0,this.nonce=n.nonce,this.key=n.key,this.container=n.container,this.prepend=n.prepend,this.insertionPoint=n.insertionPoint,this.before=null}var e=t.prototype;return e.hydrate=function(i){i.forEach(this._insertTag)},e.insert=function(i){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(Oh(this));var r=this.tags[this.tags.length-1];if(this.isSpeedy){var s=Lh(r);try{s.insertRule(i,s.cssRules.length)}catch{}}else r.appendChild(document.createTextNode(i));this.ctr++},e.flush=function(){this.tags.forEach(function(i){var r;return(r=i.parentNode)==null?void 0:r.removeChild(i)}),this.tags=[],this.ctr=0},t}(),te="-ms-",cn="-moz-",W="-webkit-",la="comm",Li="rule",Oi="decl",Zh="@import",ca="@keyframes",Hh="@layer",kh=Math.abs,dn=String.fromCharCode,zh=Object.assign;function jh(t,e){return K(t,0)^45?(((e<<2^K(t,0))<<2^K(t,1))<<2^K(t,2))<<2^K(t,3):0}function da(t){return t.trim()}function Yh(t,e){return(t=e.exec(t))?t[0]:t}function R(t,e,n){return t.replace(e,n)}function Xi(t,e){return t.indexOf(e)}function K(t,e){return t.charCodeAt(e)|0}function Ft(t,e,n){return t.slice(e,n)}function Ie(t){return t.length}function Zi(t){return t.length}function fn(t,e){return e.push(t),t}function Jh(t,e){return t.map(e).join("")}var hn=1,at=1,fa=0,re=0,U=0,ut="";function pn(t,e,n,i,r,s,o){return{value:t,root:e,parent:n,type:i,props:r,children:s,line:hn,column:at,length:o,return:""}}function Bt(t,e){return zh(pn("",null,null,"",null,null,0),t,{length:-t.length},e)}function Uh(){return U}function _h(){return U=re>0?K(ut,--re):0,at--,U===10&&(at=1,hn--),U}function ue(){return U=re<fa?K(ut,re++):0,at++,U===10&&(at=1,hn++),U}function Ce(){return K(ut,re)}function mn(){return re}function Gt(t,e){return Ft(ut,t,e)}function Mt(t){switch(t){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function ha(t){return hn=at=1,fa=Ie(ut=t),re=0,[]}function pa(t){return ut="",t}function gn(t){return da(Gt(re-1,Hi(t===91?t+2:t===40?t+1:t)))}function Qh(t){for(;(U=Ce())&&U<33;)ue();return Mt(t)>2||Mt(U)>3?"":" "}function $h(t,e){for(;--e&&ue()&&!(U<48||U>102||U>57&&U<65||U>70&&U<97););return Gt(t,mn()+(e<6&&Ce()==32&&ue()==32))}function Hi(t){for(;ue();)switch(U){case t:return re;case 34:case 39:t!==34&&t!==39&&Hi(U);break;case 40:t===41&&Hi(t);break;case 92:ue();break}return re}function Kh(t,e){for(;ue()&&t+U!==57;)if(t+U===84&&Ce()===47)break;return"/*"+Gt(e,re-1)+"*"+dn(t===47?t:ue())}function qh(t){for(;!Mt(Ce());)ue();return Gt(t,re)}function ep(t){return pa(bn("",null,null,null,[""],t=ha(t),0,[0],t))}function bn(t,e,n,i,r,s,o,u,a){for(var l=0,c=0,d=o,f=0,h=0,m=0,p=1,g=1,b=1,I=0,v="",x=r,y=s,S=i,P=v;g;)switch(m=I,I=ue()){case 40:if(m!=108&&K(P,d-1)==58){Xi(P+=R(gn(I),"&","&\f"),"&\f")!=-1&&(b=-1);break}case 34:case 39:case 91:P+=gn(I);break;case 9:case 10:case 13:case 32:P+=Qh(m);break;case 92:P+=$h(mn()-1,7);continue;case 47:switch(Ce()){case 42:case 47:fn(tp(Kh(ue(),mn()),e,n),a);break;default:P+="/"}break;case 123*p:u[l++]=Ie(P)*b;case 125*p:case 59:case 0:switch(I){case 0:case 125:g=0;case 59+c:b==-1&&(P=R(P,/\f/g,"")),h>0&&Ie(P)-d&&fn(h>32?ga(P+";",i,n,d-1):ga(R(P," ","")+";",i,n,d-2),a);break;case 59:P+=";";default:if(fn(S=ma(P,e,n,l,c,r,u,v,x=[],y=[],d),s),I===123)if(c===0)bn(P,e,S,S,x,s,d,u,y);else switch(f===99&&K(P,3)===110?100:f){case 100:case 108:case 109:case 115:bn(t,S,S,i&&fn(ma(t,S,S,0,0,r,u,v,r,x=[],d),y),r,y,d,u,i?x:y);break;default:bn(P,S,S,S,[""],y,0,u,y)}}l=c=h=0,p=b=1,v=P="",d=o;break;case 58:d=1+Ie(P),h=m;default:if(p<1){if(I==123)--p;else if(I==125&&p++==0&&_h()==125)continue}switch(P+=dn(I),I*p){case 38:b=c>0?1:(P+="\f",-1);break;case 44:u[l++]=(Ie(P)-1)*b,b=1;break;case 64:Ce()===45&&(P+=gn(ue())),f=Ce(),c=d=Ie(v=P+=qh(mn())),I++;break;case 45:m===45&&Ie(P)==2&&(p=0)}}return s}function ma(t,e,n,i,r,s,o,u,a,l,c){for(var d=r-1,f=r===0?s:[""],h=Zi(f),m=0,p=0,g=0;m<i;++m)for(var b=0,I=Ft(t,d+1,d=kh(p=o[m])),v=t;b<h;++b)(v=da(p>0?f[b]+" "+I:R(I,/&\f/g,f[b])))&&(a[g++]=v);return pn(t,e,n,r===0?Li:u,a,l,c)}function tp(t,e,n){return pn(t,e,n,la,dn(Uh()),Ft(t,2,-2),0)}function ga(t,e,n,i){return pn(t,e,n,Oi,Ft(t,0,i),Ft(t,i+1,-1),i)}function lt(t,e){for(var n="",i=Zi(t),r=0;r<i;r++)n+=e(t[r],r,t,e)||"";return n}function np(t,e,n,i){switch(t.type){case Hh:if(t.children.length)break;case Zh:case Oi:return t.return=t.return||t.value;case la:return"";case ca:return t.return=t.value+"{"+lt(t.children,i)+"}";case Li:t.value=t.props.join(",")}return Ie(n=lt(t.children,i))?t.return=t.value+"{"+n+"}":""}function ip(t){var e=Zi(t);return function(n,i,r,s){for(var o="",u=0;u<e;u++)o+=t[u](n,i,r,s)||"";return o}}function rp(t){return function(e){e.root||(e=e.return)&&t(e)}}function sp(t){var e=Object.create(null);return function(n){return e[n]===void 0&&(e[n]=t(n)),e[n]}}var op=function(e,n,i){for(var r=0,s=0;r=s,s=Ce(),r===38&&s===12&&(n[i]=1),!Mt(s);)ue();return Gt(e,re)},ap=function(e,n){var i=-1,r=44;do switch(Mt(r)){case 0:r===38&&Ce()===12&&(n[i]=1),e[i]+=op(re-1,n,i);break;case 2:e[i]+=gn(r);break;case 4:if(r===44){e[++i]=Ce()===58?"&\f":"",n[i]=e[i].length;break}default:e[i]+=dn(r)}while(r=ue());return e},up=function(e,n){return pa(ap(ha(e),n))},ba=new WeakMap,lp=function(e){if(!(e.type!=="rule"||!e.parent||e.length<1)){for(var n=e.value,i=e.parent,r=e.column===i.column&&e.line===i.line;i.type!=="rule";)if(i=i.parent,!i)return;if(!(e.props.length===1&&n.charCodeAt(0)!==58&&!ba.get(i))&&!r){ba.set(e,!0);for(var s=[],o=up(n,s),u=i.props,a=0,l=0;a<o.length;a++)for(var c=0;c<u.length;c++,l++)e.props[l]=s[a]?o[a].replace(/&\f/g,u[c]):u[c]+" "+o[a]}}},cp=function(e){if(e.type==="decl"){var n=e.value;n.charCodeAt(0)===108&&n.charCodeAt(2)===98&&(e.return="",e.value="")}};function va(t,e){switch(jh(t,e)){case 5103:return W+"print-"+t+t;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return W+t+t;case 5349:case 4246:case 4810:case 6968:case 2756:return W+t+cn+t+te+t+t;case 6828:case 4268:return W+t+te+t+t;case 6165:return W+t+te+"flex-"+t+t;case 5187:return W+t+R(t,/(\w+).+(:[^]+)/,W+"box-$1$2"+te+"flex-$1$2")+t;case 5443:return W+t+te+"flex-item-"+R(t,/flex-|-self/,"")+t;case 4675:return W+t+te+"flex-line-pack"+R(t,/align-content|flex-|-self/,"")+t;case 5548:return W+t+te+R(t,"shrink","negative")+t;case 5292:return W+t+te+R(t,"basis","preferred-size")+t;case 6060:return W+"box-"+R(t,"-grow","")+W+t+te+R(t,"grow","positive")+t;case 4554:return W+R(t,/([^-])(transform)/g,"$1"+W+"$2")+t;case 6187:return R(R(R(t,/(zoom-|grab)/,W+"$1"),/(image-set)/,W+"$1"),t,"")+t;case 5495:case 3959:return R(t,/(image-set\([^]*)/,W+"$1$`$1");case 4968:return R(R(t,/(.+:)(flex-)?(.*)/,W+"box-pack:$3"+te+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+W+t+t;case 4095:case 3583:case 4068:case 2532:return R(t,/(.+)-inline(.+)/,W+"$1$2")+t;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(Ie(t)-1-e>6)switch(K(t,e+1)){case 109:if(K(t,e+4)!==45)break;case 102:return R(t,/(.+:)(.+)-([^]+)/,"$1"+W+"$2-$3$1"+cn+(K(t,e+3)==108?"$3":"$2-$3"))+t;case 115:return~Xi(t,"stretch")?va(R(t,"stretch","fill-available"),e)+t:t}break;case 4949:if(K(t,e+1)!==115)break;case 6444:switch(K(t,Ie(t)-3-(~Xi(t,"!important")&&10))){case 107:return R(t,":",":"+W)+t;case 101:return R(t,/(.+:)([^;!]+)(;|!.+)?/,"$1"+W+(K(t,14)===45?"inline-":"")+"box$3$1"+W+"$2$3$1"+te+"$2box$3")+t}break;case 5936:switch(K(t,e+11)){case 114:return W+t+te+R(t,/[svh]\w+-[tblr]{2}/,"tb")+t;case 108:return W+t+te+R(t,/[svh]\w+-[tblr]{2}/,"tb-rl")+t;case 45:return W+t+te+R(t,/[svh]\w+-[tblr]{2}/,"lr")+t}return W+t+te+t+t}return t}var dp=function(e,n,i,r){if(e.length>-1&&!e.return)switch(e.type){case Oi:e.return=va(e.value,e.length);break;case ca:return lt([Bt(e,{value:R(e.value,"@","@"+W)})],r);case Li:if(e.length)return Jh(e.props,function(s){switch(Yh(s,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return lt([Bt(e,{props:[R(s,/:(read-\w+)/,":"+cn+"$1")]})],r);case"::placeholder":return lt([Bt(e,{props:[R(s,/:(plac\w+)/,":"+W+"input-$1")]}),Bt(e,{props:[R(s,/:(plac\w+)/,":"+cn+"$1")]}),Bt(e,{props:[R(s,/:(plac\w+)/,te+"input-$1")]})],r)}return""})}},fp=[dp],hp=function(e){var n=e.key;if(n==="css"){var i=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(i,function(p){var g=p.getAttribute("data-emotion");g.indexOf(" ")!==-1&&(document.head.appendChild(p),p.setAttribute("data-s",""))})}var r=e.stylisPlugins||fp,s={},o,u=[];o=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(p){for(var g=p.getAttribute("data-emotion").split(" "),b=1;b<g.length;b++)s[g[b]]=!0;u.push(p)});var a,l=[lp,cp];{var c,d=[np,rp(function(p){c.insert(p)})],f=ip(l.concat(r,d)),h=function(g){return lt(ep(g),f)};a=function(g,b,I,v){c=I,h(g?g+"{"+b.styles+"}":b.styles),v&&(m.inserted[b.name]=!0)}}var m={key:n,sheet:new Xh({key:n,container:o,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:s,registered:{},insert:a};return m.sheet.hydrate(u),m},ki={exports:{}},X={};/** @license React v16.13.1
13
+ `),()=>{document.head.removeChild(c)}},[e]),w.jsx(eh,{isPresent:e,childRef:i,sizeRef:r,children:G.cloneElement(t,{ref:i})})}const Bi=({children:t,initial:e,isPresent:n,onExitComplete:i,custom:r,presenceAffectsLayout:s,mode:o})=>{const u=Nr(nh),a=C.useId(),l=C.useMemo(()=>({id:a,initial:e,isPresent:n,custom:r,onExitComplete:c=>{u.set(c,!0);for(const d of u.values())if(!d)return;i&&i()},register:c=>(u.set(c,!1),()=>u.delete(c))}),s?[Math.random()]:[n]);return C.useMemo(()=>{u.forEach((c,d)=>u.set(d,!1))},[n]),G.useEffect(()=>{!n&&!u.size&&i&&i()},[n]),o==="popLayout"&&(t=w.jsx(th,{isPresent:n,children:t})),w.jsx(Ot.Provider,{value:l,children:t})};function nh(){return new Map}function ih(t){return C.useEffect(()=>()=>t(),[])}const Je=t=>t.key||"";function rh(t,e){t.forEach(n=>{const i=Je(n);e.set(i,n)})}function sh(t){const e=[];return C.Children.forEach(t,n=>{C.isValidElement(n)&&e.push(n)}),e}const oh=({children:t,custom:e,initial:n=!0,onExitComplete:i,exitBeforeEnter:r,presenceAffectsLayout:s=!0,mode:o="sync"})=>{Pe(!r,"Replace exitBeforeEnter with mode='wait'");const u=C.useContext(Rn).forceRender||qf()[0],a=qo(),l=sh(t);let c=l;const d=C.useRef(new Map).current,f=C.useRef(c),h=C.useRef(new Map).current,m=C.useRef(!0);if(Gn(()=>{m.current=!1,rh(l,h),f.current=c}),ih(()=>{m.current=!0,h.clear(),d.clear()}),m.current)return w.jsx(w.Fragment,{children:c.map(I=>w.jsx(Bi,{isPresent:!0,initial:n?void 0:!1,presenceAffectsLayout:s,mode:o,children:I},Je(I)))});c=[...c];const p=f.current.map(Je),g=l.map(Je),b=p.length;for(let I=0;I<b;I++){const v=p[I];g.indexOf(v)===-1&&!d.has(v)&&d.set(v,void 0)}return o==="wait"&&d.size&&(c=[]),d.forEach((I,v)=>{if(g.indexOf(v)!==-1)return;const x=h.get(v);if(!x)return;const y=p.indexOf(v);let S=I;if(!S){const P=()=>{d.delete(v);const A=Array.from(h.keys()).filter(M=>!g.includes(M));if(A.forEach(M=>h.delete(M)),f.current=l.filter(M=>{const N=Je(M);return N===v||A.includes(N)}),!d.size){if(a.current===!1)return;u(),i&&i()}};S=w.jsx(Bi,{isPresent:!1,onExitComplete:P,custom:e,presenceAffectsLayout:s,mode:o,children:x},Je(x)),d.set(v,S)}c.splice(y,0,S)}),c=c.map(I=>{const v=I.key;return d.has(v)?I:w.jsx(Bi,{isPresent:!0,presenceAffectsLayout:s,mode:o,children:I},Je(I))}),process.env.NODE_ENV!=="production"&&o==="wait"&&c.length>1&&console.warn(`You're attempting to animate multiple children within AnimatePresence, but its mode is set to "wait". This will lead to odd visual behaviour.`),w.jsx(w.Fragment,{children:d.size?c:c.map(I=>C.cloneElement(I))})},Gi=C.createContext({onClose:()=>console.warn("Biznext-UI-Modal: Close Function not Implemented!")}),rt=t=>{const{type:e,index:n,height:i,width:r,sx:s,isOpen:o,onClose:u,children:a}=t;return w.jsx(Gi.Provider,{value:{onClose:u},children:w.jsx(Ru,{children:w.jsx(oh,{children:o&&w.jsxs("div",{className:he["modal-wrapper"],children:[w.jsx(Ko.div,{className:he["modal-overlay"],style:{zIndex:9999+(n||0)},onClick:u,initial:{opacity:0},animate:{opacity:1},exit:{opacity:0}}),w.jsx(Ko.div,{initial:{opacity:0,scale:.95},className:wn(he.modal,he[e]),style:{height:i,width:r,zIndex:99999+(n||0),...s},animate:{opacity:1,scale:1},exit:{opacity:0,scale:.95},children:a})]})})})})},ah=rt,uh=({children:t})=>w.jsx("div",{className:he["modal-content"],children:t}),lh=({children:t})=>{const{onClose:e}=C.useContext(Gi);return w.jsxs("header",{id:"handle",className:he["modal-header"],children:[t,w.jsx("button",{type:"button",className:he["module-header-close-btn"],onClick:e,children:w.jsx(Nu,{})})]})},ch=({children:t})=>w.jsx("h2",{className:he["modal-title"],children:t}),dh=({children:t})=>w.jsx("div",{className:he["modal-body"],children:t}),fh=t=>{const{children:e,closeTitle:n}=t,{onClose:i}=C.useContext(Gi);return w.jsxs("footer",{className:he["modal-footer"],children:[e,w.jsx("button",{type:"button",className:he["modal-footer-close-btn"],onClick:i,children:n||"Cancel"})]})};rt.Content=uh,rt.Header=lh,rt.Title=ch,rt.Body=dh,rt.Footer=fh;const hh=C.createContext({}),ph=()=>C.useContext(hh),mh=C.createContext({}),gh=()=>C.useContext(mh),pe={form:"biznext-ui-WgISRe1bJDU-5","form-group":"biznext-ui-PDYbgOuoFL0-3","form-input-group":"biznext-ui-7dIDGqcfwy4-e","form-input-group-label":"biznext-ui-3qrluRcbSyQ-d",required:"biznext-ui-S1AWtF9fE-s-4","form-input-control-group":"biznext-ui-GQweSyKURD4-1","form-input-control":"biznext-ui-Pxa8kMsnvaQ-3","validation-error":"biznext-ui-B7sgFlayyBI-0","form-select-control":"biznext-ui-TyZSBF2HLh0-4","form-input-group-error-text":"biznext-ui-npOI3UC2M38-9"};function Ue(t){"@babel/helpers - typeof";return Ue=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ue(t)}function bh(t,e){if(Ue(t)!="object"||!t)return t;var n=t[Symbol.toPrimitive];if(n!==void 0){var i=n.call(t,e||"default");if(Ue(i)!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}function ea(t){var e=bh(t,"string");return Ue(e)=="symbol"?e:e+""}function Tt(t,e,n){return(e=ea(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ta(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable})),n.push.apply(n,i)}return n}function V(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?ta(Object(n),!0).forEach(function(i){Tt(t,i,n[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):ta(Object(n)).forEach(function(i){Object.defineProperty(t,i,Object.getOwnPropertyDescriptor(n,i))})}return t}function vh(t){if(Array.isArray(t))return t}function yh(t,e){var n=t==null?null:typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(n!=null){var i,r,s,o,u=[],a=!0,l=!1;try{if(s=(n=n.call(t)).next,e===0){if(Object(n)!==n)return;a=!1}else for(;!(a=(i=s.call(n)).done)&&(u.push(i.value),u.length!==e);a=!0);}catch(c){l=!0,r=c}finally{try{if(!a&&n.return!=null&&(o=n.return(),Object(o)!==o))return}finally{if(l)throw r}}return u}}function Mi(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=Array(e);n<e;n++)i[n]=t[n];return i}function na(t,e){if(t){if(typeof t=="string")return Mi(t,e);var n={}.toString.call(t).slice(8,-1);return n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set"?Array.from(t):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Mi(t,e):void 0}}function Ih(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
14
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Ge(t,e){return vh(t)||yh(t,e)||na(t,e)||Ih()}function Ch(t,e){if(t==null)return{};var n={};for(var i in t)if({}.hasOwnProperty.call(t,i)){if(e.includes(i))continue;n[i]=t[i]}return n}function Me(t,e){if(t==null)return{};var n,i,r=Ch(t,e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(t);for(i=0;i<s.length;i++)n=s[i],e.includes(n)||{}.propertyIsEnumerable.call(t,n)&&(r[n]=t[n])}return r}var xh=["defaultInputValue","defaultMenuIsOpen","defaultValue","inputValue","menuIsOpen","onChange","onInputChange","onMenuClose","onMenuOpen","value"];function Ah(t){var e=t.defaultInputValue,n=e===void 0?"":e,i=t.defaultMenuIsOpen,r=i===void 0?!1:i,s=t.defaultValue,o=s===void 0?null:s,u=t.inputValue,a=t.menuIsOpen,l=t.onChange,c=t.onInputChange,d=t.onMenuClose,f=t.onMenuOpen,h=t.value,m=Me(t,xh),p=C.useState(u!==void 0?u:n),g=Ge(p,2),b=g[0],I=g[1],v=C.useState(a!==void 0?a:r),x=Ge(v,2),y=x[0],S=x[1],P=C.useState(h!==void 0?h:o),A=Ge(P,2),M=A[0],N=A[1],k=C.useCallback(function(_,xe){typeof l=="function"&&l(_,xe),N(_)},[l]),Y=C.useCallback(function(_,xe){var me;typeof c=="function"&&(me=c(_,xe)),I(me!==void 0?me:_)},[c]),le=C.useCallback(function(){typeof f=="function"&&f(),S(!0)},[f]),se=C.useCallback(function(){typeof d=="function"&&d(),S(!1)},[d]),D=u!==void 0?u:b,W=a!==void 0?a:y,ne=h!==void 0?h:M;return V(V({},m),{},{inputValue:D,menuIsOpen:W,onChange:k,onInputChange:Y,onMenuClose:se,onMenuOpen:le,value:ne})}function B(){return B=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)({}).hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},B.apply(null,arguments)}function Sh(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ia(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,ea(i.key),i)}}function Ph(t,e,n){return e&&ia(t.prototype,e),n&&ia(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}function Di(t,e){return Di=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,i){return n.__proto__=i,n},Di(t,e)}function Eh(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&Di(t,e)}function on(t){return on=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},on(t)}function ra(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(ra=function(){return!!t})()}function Th(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Vh(t,e){if(e&&(Ue(e)=="object"||typeof e=="function"))return e;if(e!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Th(t)}function wh(t){var e=ra();return function(){var n,i=on(t);if(e){var r=on(this).constructor;n=Reflect.construct(i,arguments,r)}else n=i.apply(this,arguments);return Vh(this,n)}}function Fh(t){if(Array.isArray(t))return Mi(t)}function Bh(t){if(typeof Symbol<"u"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Gh(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
15
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Ni(t){return Fh(t)||Bh(t)||na(t)||Gh()}var Mh=!1;function Dh(t){if(t.sheet)return t.sheet;for(var e=0;e<document.styleSheets.length;e++)if(document.styleSheets[e].ownerNode===t)return document.styleSheets[e]}function Nh(t){var e=document.createElement("style");return e.setAttribute("data-emotion",t.key),t.nonce!==void 0&&e.setAttribute("nonce",t.nonce),e.appendChild(document.createTextNode("")),e.setAttribute("data-s",""),e}var Rh=function(){function t(n){var i=this;this._insertTag=function(r){var s;i.tags.length===0?i.insertionPoint?s=i.insertionPoint.nextSibling:i.prepend?s=i.container.firstChild:s=i.before:s=i.tags[i.tags.length-1].nextSibling,i.container.insertBefore(r,s),i.tags.push(r)},this.isSpeedy=n.speedy===void 0?!Mh:n.speedy,this.tags=[],this.ctr=0,this.nonce=n.nonce,this.key=n.key,this.container=n.container,this.prepend=n.prepend,this.insertionPoint=n.insertionPoint,this.before=null}var e=t.prototype;return e.hydrate=function(i){i.forEach(this._insertTag)},e.insert=function(i){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(Nh(this));var r=this.tags[this.tags.length-1];if(this.isSpeedy){var s=Dh(r);try{s.insertRule(i,s.cssRules.length)}catch{}}else r.appendChild(document.createTextNode(i));this.ctr++},e.flush=function(){this.tags.forEach(function(i){var r;return(r=i.parentNode)==null?void 0:r.removeChild(i)}),this.tags=[],this.ctr=0},t}(),te="-ms-",an="-moz-",R="-webkit-",sa="comm",Ri="rule",Li="decl",Lh="@import",oa="@keyframes",Wh="@layer",Oh=Math.abs,un=String.fromCharCode,Xh=Object.assign;function Zh(t,e){return K(t,0)^45?(((e<<2^K(t,0))<<2^K(t,1))<<2^K(t,2))<<2^K(t,3):0}function aa(t){return t.trim()}function Hh(t,e){return(t=e.exec(t))?t[0]:t}function L(t,e,n){return t.replace(e,n)}function Wi(t,e){return t.indexOf(e)}function K(t,e){return t.charCodeAt(e)|0}function Vt(t,e,n){return t.slice(e,n)}function ye(t){return t.length}function Oi(t){return t.length}function ln(t,e){return e.push(t),t}function kh(t,e){return t.map(e).join("")}var cn=1,st=1,ua=0,re=0,U=0,ot="";function dn(t,e,n,i,r,s,o){return{value:t,root:e,parent:n,type:i,props:r,children:s,line:cn,column:st,length:o,return:""}}function wt(t,e){return Xh(dn("",null,null,"",null,null,0),t,{length:-t.length},e)}function zh(){return U}function jh(){return U=re>0?K(ot,--re):0,st--,U===10&&(st=1,cn--),U}function ue(){return U=re<ua?K(ot,re++):0,st++,U===10&&(st=1,cn++),U}function Ie(){return K(ot,re)}function fn(){return re}function Ft(t,e){return Vt(ot,t,e)}function Bt(t){switch(t){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function la(t){return cn=st=1,ua=ye(ot=t),re=0,[]}function ca(t){return ot="",t}function hn(t){return aa(Ft(re-1,Xi(t===91?t+2:t===40?t+1:t)))}function Yh(t){for(;(U=Ie())&&U<33;)ue();return Bt(t)>2||Bt(U)>3?"":" "}function Jh(t,e){for(;--e&&ue()&&!(U<48||U>102||U>57&&U<65||U>70&&U<97););return Ft(t,fn()+(e<6&&Ie()==32&&ue()==32))}function Xi(t){for(;ue();)switch(U){case t:return re;case 34:case 39:t!==34&&t!==39&&Xi(U);break;case 40:t===41&&Xi(t);break;case 92:ue();break}return re}function Uh(t,e){for(;ue()&&t+U!==57;)if(t+U===84&&Ie()===47)break;return"/*"+Ft(e,re-1)+"*"+un(t===47?t:ue())}function _h(t){for(;!Bt(Ie());)ue();return Ft(t,re)}function Qh(t){return ca(pn("",null,null,null,[""],t=la(t),0,[0],t))}function pn(t,e,n,i,r,s,o,u,a){for(var l=0,c=0,d=o,f=0,h=0,m=0,p=1,g=1,b=1,I=0,v="",x=r,y=s,S=i,P=v;g;)switch(m=I,I=ue()){case 40:if(m!=108&&K(P,d-1)==58){Wi(P+=L(hn(I),"&","&\f"),"&\f")!=-1&&(b=-1);break}case 34:case 39:case 91:P+=hn(I);break;case 9:case 10:case 13:case 32:P+=Yh(m);break;case 92:P+=Jh(fn()-1,7);continue;case 47:switch(Ie()){case 42:case 47:ln($h(Uh(ue(),fn()),e,n),a);break;default:P+="/"}break;case 123*p:u[l++]=ye(P)*b;case 125*p:case 59:case 0:switch(I){case 0:case 125:g=0;case 59+c:b==-1&&(P=L(P,/\f/g,"")),h>0&&ye(P)-d&&ln(h>32?fa(P+";",i,n,d-1):fa(L(P," ","")+";",i,n,d-2),a);break;case 59:P+=";";default:if(ln(S=da(P,e,n,l,c,r,u,v,x=[],y=[],d),s),I===123)if(c===0)pn(P,e,S,S,x,s,d,u,y);else switch(f===99&&K(P,3)===110?100:f){case 100:case 108:case 109:case 115:pn(t,S,S,i&&ln(da(t,S,S,0,0,r,u,v,r,x=[],d),y),r,y,d,u,i?x:y);break;default:pn(P,S,S,S,[""],y,0,u,y)}}l=c=h=0,p=b=1,v=P="",d=o;break;case 58:d=1+ye(P),h=m;default:if(p<1){if(I==123)--p;else if(I==125&&p++==0&&jh()==125)continue}switch(P+=un(I),I*p){case 38:b=c>0?1:(P+="\f",-1);break;case 44:u[l++]=(ye(P)-1)*b,b=1;break;case 64:Ie()===45&&(P+=hn(ue())),f=Ie(),c=d=ye(v=P+=_h(fn())),I++;break;case 45:m===45&&ye(P)==2&&(p=0)}}return s}function da(t,e,n,i,r,s,o,u,a,l,c){for(var d=r-1,f=r===0?s:[""],h=Oi(f),m=0,p=0,g=0;m<i;++m)for(var b=0,I=Vt(t,d+1,d=Oh(p=o[m])),v=t;b<h;++b)(v=aa(p>0?f[b]+" "+I:L(I,/&\f/g,f[b])))&&(a[g++]=v);return dn(t,e,n,r===0?Ri:u,a,l,c)}function $h(t,e,n){return dn(t,e,n,sa,un(zh()),Vt(t,2,-2),0)}function fa(t,e,n,i){return dn(t,e,n,Li,Vt(t,0,i),Vt(t,i+1,-1),i)}function at(t,e){for(var n="",i=Oi(t),r=0;r<i;r++)n+=e(t[r],r,t,e)||"";return n}function Kh(t,e,n,i){switch(t.type){case Wh:if(t.children.length)break;case Lh:case Li:return t.return=t.return||t.value;case sa:return"";case oa:return t.return=t.value+"{"+at(t.children,i)+"}";case Ri:t.value=t.props.join(",")}return ye(n=at(t.children,i))?t.return=t.value+"{"+n+"}":""}function qh(t){var e=Oi(t);return function(n,i,r,s){for(var o="",u=0;u<e;u++)o+=t[u](n,i,r,s)||"";return o}}function ep(t){return function(e){e.root||(e=e.return)&&t(e)}}function tp(t){var e=Object.create(null);return function(n){return e[n]===void 0&&(e[n]=t(n)),e[n]}}var np=function(e,n,i){for(var r=0,s=0;r=s,s=Ie(),r===38&&s===12&&(n[i]=1),!Bt(s);)ue();return Ft(e,re)},ip=function(e,n){var i=-1,r=44;do switch(Bt(r)){case 0:r===38&&Ie()===12&&(n[i]=1),e[i]+=np(re-1,n,i);break;case 2:e[i]+=hn(r);break;case 4:if(r===44){e[++i]=Ie()===58?"&\f":"",n[i]=e[i].length;break}default:e[i]+=un(r)}while(r=ue());return e},rp=function(e,n){return ca(ip(la(e),n))},ha=new WeakMap,sp=function(e){if(!(e.type!=="rule"||!e.parent||e.length<1)){for(var n=e.value,i=e.parent,r=e.column===i.column&&e.line===i.line;i.type!=="rule";)if(i=i.parent,!i)return;if(!(e.props.length===1&&n.charCodeAt(0)!==58&&!ha.get(i))&&!r){ha.set(e,!0);for(var s=[],o=rp(n,s),u=i.props,a=0,l=0;a<o.length;a++)for(var c=0;c<u.length;c++,l++)e.props[l]=s[a]?o[a].replace(/&\f/g,u[c]):u[c]+" "+o[a]}}},op=function(e){if(e.type==="decl"){var n=e.value;n.charCodeAt(0)===108&&n.charCodeAt(2)===98&&(e.return="",e.value="")}};function pa(t,e){switch(Zh(t,e)){case 5103:return R+"print-"+t+t;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return R+t+t;case 5349:case 4246:case 4810:case 6968:case 2756:return R+t+an+t+te+t+t;case 6828:case 4268:return R+t+te+t+t;case 6165:return R+t+te+"flex-"+t+t;case 5187:return R+t+L(t,/(\w+).+(:[^]+)/,R+"box-$1$2"+te+"flex-$1$2")+t;case 5443:return R+t+te+"flex-item-"+L(t,/flex-|-self/,"")+t;case 4675:return R+t+te+"flex-line-pack"+L(t,/align-content|flex-|-self/,"")+t;case 5548:return R+t+te+L(t,"shrink","negative")+t;case 5292:return R+t+te+L(t,"basis","preferred-size")+t;case 6060:return R+"box-"+L(t,"-grow","")+R+t+te+L(t,"grow","positive")+t;case 4554:return R+L(t,/([^-])(transform)/g,"$1"+R+"$2")+t;case 6187:return L(L(L(t,/(zoom-|grab)/,R+"$1"),/(image-set)/,R+"$1"),t,"")+t;case 5495:case 3959:return L(t,/(image-set\([^]*)/,R+"$1$`$1");case 4968:return L(L(t,/(.+:)(flex-)?(.*)/,R+"box-pack:$3"+te+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+R+t+t;case 4095:case 3583:case 4068:case 2532:return L(t,/(.+)-inline(.+)/,R+"$1$2")+t;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(ye(t)-1-e>6)switch(K(t,e+1)){case 109:if(K(t,e+4)!==45)break;case 102:return L(t,/(.+:)(.+)-([^]+)/,"$1"+R+"$2-$3$1"+an+(K(t,e+3)==108?"$3":"$2-$3"))+t;case 115:return~Wi(t,"stretch")?pa(L(t,"stretch","fill-available"),e)+t:t}break;case 4949:if(K(t,e+1)!==115)break;case 6444:switch(K(t,ye(t)-3-(~Wi(t,"!important")&&10))){case 107:return L(t,":",":"+R)+t;case 101:return L(t,/(.+:)([^;!]+)(;|!.+)?/,"$1"+R+(K(t,14)===45?"inline-":"")+"box$3$1"+R+"$2$3$1"+te+"$2box$3")+t}break;case 5936:switch(K(t,e+11)){case 114:return R+t+te+L(t,/[svh]\w+-[tblr]{2}/,"tb")+t;case 108:return R+t+te+L(t,/[svh]\w+-[tblr]{2}/,"tb-rl")+t;case 45:return R+t+te+L(t,/[svh]\w+-[tblr]{2}/,"lr")+t}return R+t+te+t+t}return t}var ap=function(e,n,i,r){if(e.length>-1&&!e.return)switch(e.type){case Li:e.return=pa(e.value,e.length);break;case oa:return at([wt(e,{value:L(e.value,"@","@"+R)})],r);case Ri:if(e.length)return kh(e.props,function(s){switch(Hh(s,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return at([wt(e,{props:[L(s,/:(read-\w+)/,":"+an+"$1")]})],r);case"::placeholder":return at([wt(e,{props:[L(s,/:(plac\w+)/,":"+R+"input-$1")]}),wt(e,{props:[L(s,/:(plac\w+)/,":"+an+"$1")]}),wt(e,{props:[L(s,/:(plac\w+)/,te+"input-$1")]})],r)}return""})}},up=[ap],lp=function(e){var n=e.key;if(n==="css"){var i=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(i,function(p){var g=p.getAttribute("data-emotion");g.indexOf(" ")!==-1&&(document.head.appendChild(p),p.setAttribute("data-s",""))})}var r=e.stylisPlugins||up,s={},o,u=[];o=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(p){for(var g=p.getAttribute("data-emotion").split(" "),b=1;b<g.length;b++)s[g[b]]=!0;u.push(p)});var a,l=[sp,op];{var c,d=[Kh,ep(function(p){c.insert(p)})],f=qh(l.concat(r,d)),h=function(g){return at(Qh(g),f)};a=function(g,b,I,v){c=I,h(g?g+"{"+b.styles+"}":b.styles),v&&(m.inserted[b.name]=!0)}}var m={key:n,sheet:new Rh({key:n,container:o,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:s,registered:{},insert:a};return m.sheet.hydrate(u),m},Zi={exports:{}},X={};/** @license React v16.13.1
16
16
  * react-is.production.min.js
17
17
  *
18
18
  * Copyright (c) Facebook, Inc. and its affiliates.
19
19
  *
20
20
  * This source code is licensed under the MIT license found in the
21
21
  * LICENSE file in the root directory of this source tree.
22
- */var ya;function pp(){if(ya)return X;ya=1;var t=typeof Symbol=="function"&&Symbol.for,e=t?Symbol.for("react.element"):60103,n=t?Symbol.for("react.portal"):60106,i=t?Symbol.for("react.fragment"):60107,r=t?Symbol.for("react.strict_mode"):60108,s=t?Symbol.for("react.profiler"):60114,o=t?Symbol.for("react.provider"):60109,u=t?Symbol.for("react.context"):60110,a=t?Symbol.for("react.async_mode"):60111,l=t?Symbol.for("react.concurrent_mode"):60111,c=t?Symbol.for("react.forward_ref"):60112,d=t?Symbol.for("react.suspense"):60113,f=t?Symbol.for("react.suspense_list"):60120,h=t?Symbol.for("react.memo"):60115,m=t?Symbol.for("react.lazy"):60116,p=t?Symbol.for("react.block"):60121,g=t?Symbol.for("react.fundamental"):60117,b=t?Symbol.for("react.responder"):60118,I=t?Symbol.for("react.scope"):60119;function v(y){if(typeof y=="object"&&y!==null){var S=y.$$typeof;switch(S){case e:switch(y=y.type,y){case a:case l:case i:case s:case r:case d:return y;default:switch(y=y&&y.$$typeof,y){case u:case c:case m:case h:case o:return y;default:return S}}case n:return S}}}function x(y){return v(y)===l}return X.AsyncMode=a,X.ConcurrentMode=l,X.ContextConsumer=u,X.ContextProvider=o,X.Element=e,X.ForwardRef=c,X.Fragment=i,X.Lazy=m,X.Memo=h,X.Portal=n,X.Profiler=s,X.StrictMode=r,X.Suspense=d,X.isAsyncMode=function(y){return x(y)||v(y)===a},X.isConcurrentMode=x,X.isContextConsumer=function(y){return v(y)===u},X.isContextProvider=function(y){return v(y)===o},X.isElement=function(y){return typeof y=="object"&&y!==null&&y.$$typeof===e},X.isForwardRef=function(y){return v(y)===c},X.isFragment=function(y){return v(y)===i},X.isLazy=function(y){return v(y)===m},X.isMemo=function(y){return v(y)===h},X.isPortal=function(y){return v(y)===n},X.isProfiler=function(y){return v(y)===s},X.isStrictMode=function(y){return v(y)===r},X.isSuspense=function(y){return v(y)===d},X.isValidElementType=function(y){return typeof y=="string"||typeof y=="function"||y===i||y===l||y===s||y===r||y===d||y===f||typeof y=="object"&&y!==null&&(y.$$typeof===m||y.$$typeof===h||y.$$typeof===o||y.$$typeof===u||y.$$typeof===c||y.$$typeof===g||y.$$typeof===b||y.$$typeof===I||y.$$typeof===p)},X.typeOf=v,X}var Z={};/** @license React v16.13.1
22
+ */var ma;function cp(){if(ma)return X;ma=1;var t=typeof Symbol=="function"&&Symbol.for,e=t?Symbol.for("react.element"):60103,n=t?Symbol.for("react.portal"):60106,i=t?Symbol.for("react.fragment"):60107,r=t?Symbol.for("react.strict_mode"):60108,s=t?Symbol.for("react.profiler"):60114,o=t?Symbol.for("react.provider"):60109,u=t?Symbol.for("react.context"):60110,a=t?Symbol.for("react.async_mode"):60111,l=t?Symbol.for("react.concurrent_mode"):60111,c=t?Symbol.for("react.forward_ref"):60112,d=t?Symbol.for("react.suspense"):60113,f=t?Symbol.for("react.suspense_list"):60120,h=t?Symbol.for("react.memo"):60115,m=t?Symbol.for("react.lazy"):60116,p=t?Symbol.for("react.block"):60121,g=t?Symbol.for("react.fundamental"):60117,b=t?Symbol.for("react.responder"):60118,I=t?Symbol.for("react.scope"):60119;function v(y){if(typeof y=="object"&&y!==null){var S=y.$$typeof;switch(S){case e:switch(y=y.type,y){case a:case l:case i:case s:case r:case d:return y;default:switch(y=y&&y.$$typeof,y){case u:case c:case m:case h:case o:return y;default:return S}}case n:return S}}}function x(y){return v(y)===l}return X.AsyncMode=a,X.ConcurrentMode=l,X.ContextConsumer=u,X.ContextProvider=o,X.Element=e,X.ForwardRef=c,X.Fragment=i,X.Lazy=m,X.Memo=h,X.Portal=n,X.Profiler=s,X.StrictMode=r,X.Suspense=d,X.isAsyncMode=function(y){return x(y)||v(y)===a},X.isConcurrentMode=x,X.isContextConsumer=function(y){return v(y)===u},X.isContextProvider=function(y){return v(y)===o},X.isElement=function(y){return typeof y=="object"&&y!==null&&y.$$typeof===e},X.isForwardRef=function(y){return v(y)===c},X.isFragment=function(y){return v(y)===i},X.isLazy=function(y){return v(y)===m},X.isMemo=function(y){return v(y)===h},X.isPortal=function(y){return v(y)===n},X.isProfiler=function(y){return v(y)===s},X.isStrictMode=function(y){return v(y)===r},X.isSuspense=function(y){return v(y)===d},X.isValidElementType=function(y){return typeof y=="string"||typeof y=="function"||y===i||y===l||y===s||y===r||y===d||y===f||typeof y=="object"&&y!==null&&(y.$$typeof===m||y.$$typeof===h||y.$$typeof===o||y.$$typeof===u||y.$$typeof===c||y.$$typeof===g||y.$$typeof===b||y.$$typeof===I||y.$$typeof===p)},X.typeOf=v,X}var Z={};/** @license React v16.13.1
23
23
  * react-is.development.js
24
24
  *
25
25
  * Copyright (c) Facebook, Inc. and its affiliates.
26
26
  *
27
27
  * This source code is licensed under the MIT license found in the
28
28
  * LICENSE file in the root directory of this source tree.
29
- */var Ia;function mp(){return Ia||(Ia=1,process.env.NODE_ENV!=="production"&&function(){var t=typeof Symbol=="function"&&Symbol.for,e=t?Symbol.for("react.element"):60103,n=t?Symbol.for("react.portal"):60106,i=t?Symbol.for("react.fragment"):60107,r=t?Symbol.for("react.strict_mode"):60108,s=t?Symbol.for("react.profiler"):60114,o=t?Symbol.for("react.provider"):60109,u=t?Symbol.for("react.context"):60110,a=t?Symbol.for("react.async_mode"):60111,l=t?Symbol.for("react.concurrent_mode"):60111,c=t?Symbol.for("react.forward_ref"):60112,d=t?Symbol.for("react.suspense"):60113,f=t?Symbol.for("react.suspense_list"):60120,h=t?Symbol.for("react.memo"):60115,m=t?Symbol.for("react.lazy"):60116,p=t?Symbol.for("react.block"):60121,g=t?Symbol.for("react.fundamental"):60117,b=t?Symbol.for("react.responder"):60118,I=t?Symbol.for("react.scope"):60119;function v(T){return typeof T=="string"||typeof T=="function"||T===i||T===l||T===s||T===r||T===d||T===f||typeof T=="object"&&T!==null&&(T.$$typeof===m||T.$$typeof===h||T.$$typeof===o||T.$$typeof===u||T.$$typeof===c||T.$$typeof===g||T.$$typeof===b||T.$$typeof===I||T.$$typeof===p)}function x(T){if(typeof T=="object"&&T!==null){var Wt=T.$$typeof;switch(Wt){case e:var Qe=T.type;switch(Qe){case a:case l:case i:case s:case r:case d:return Qe;default:var Bn=Qe&&Qe.$$typeof;switch(Bn){case u:case c:case m:case h:case o:return Bn;default:return Wt}}case n:return Wt}}}var y=a,S=l,P=u,A=o,M=e,N=c,k=i,Y=m,le=h,se=n,D=s,L=r,ne=d,_=!1;function Ae(T){return _||(_=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),ge(T)||x(T)===a}function ge(T){return x(T)===l}function ft(T){return x(T)===u}function J(T){return x(T)===o}function ie(T){return typeof T=="object"&&T!==null&&T.$$typeof===e}function be(T){return x(T)===c}function Se(T){return x(T)===i}function ce(T){return x(T)===m}function Pe(T){return x(T)===h}function ve(T){return x(T)===n}function ht(T){return x(T)===s}function ar(T){return x(T)===r}function Fn(T){return x(T)===d}Z.AsyncMode=y,Z.ConcurrentMode=S,Z.ContextConsumer=P,Z.ContextProvider=A,Z.Element=M,Z.ForwardRef=N,Z.Fragment=k,Z.Lazy=Y,Z.Memo=le,Z.Portal=se,Z.Profiler=D,Z.StrictMode=L,Z.Suspense=ne,Z.isAsyncMode=Ae,Z.isConcurrentMode=ge,Z.isContextConsumer=ft,Z.isContextProvider=J,Z.isElement=ie,Z.isForwardRef=be,Z.isFragment=Se,Z.isLazy=ce,Z.isMemo=Pe,Z.isPortal=ve,Z.isProfiler=ht,Z.isStrictMode=ar,Z.isSuspense=Fn,Z.isValidElementType=v,Z.typeOf=x}()),Z}process.env.NODE_ENV==="production"?ki.exports=pp():ki.exports=mp();var gp=ki.exports,Ca=gp,bp={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},vp={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},xa={};xa[Ca.ForwardRef]=bp,xa[Ca.Memo]=vp;var yp=!0;function Ip(t,e,n){var i="";return n.split(" ").forEach(function(r){t[r]!==void 0?e.push(t[r]+";"):i+=r+" "}),i}var Aa=function(e,n,i){var r=e.key+"-"+n.name;(i===!1||yp===!1)&&e.registered[r]===void 0&&(e.registered[r]=n.styles)},Cp=function(e,n,i){Aa(e,n,i);var r=e.key+"-"+n.name;if(e.inserted[n.name]===void 0){var s=n;do e.insert(n===s?"."+r:"",s,e.sheet,!0),s=s.next;while(s!==void 0)}};function xp(t){for(var e=0,n,i=0,r=t.length;r>=4;++i,r-=4)n=t.charCodeAt(i)&255|(t.charCodeAt(++i)&255)<<8|(t.charCodeAt(++i)&255)<<16|(t.charCodeAt(++i)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,e=(n&65535)*1540483477+((n>>>16)*59797<<16)^(e&65535)*1540483477+((e>>>16)*59797<<16);switch(r){case 3:e^=(t.charCodeAt(i+2)&255)<<16;case 2:e^=(t.charCodeAt(i+1)&255)<<8;case 1:e^=t.charCodeAt(i)&255,e=(e&65535)*1540483477+((e>>>16)*59797<<16)}return e^=e>>>13,e=(e&65535)*1540483477+((e>>>16)*59797<<16),((e^e>>>15)>>>0).toString(36)}var Ap={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},Sp=!1,Pp=/[A-Z]|^ms/g,Ep=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Sa=function(e){return e.charCodeAt(1)===45},Pa=function(e){return e!=null&&typeof e!="boolean"},zi=sp(function(t){return Sa(t)?t:t.replace(Pp,"-$&").toLowerCase()}),Ea=function(e,n){switch(e){case"animation":case"animationName":if(typeof n=="string")return n.replace(Ep,function(i,r,s){return xe={name:r,styles:s,next:xe},r})}return Ap[e]!==1&&!Sa(e)&&typeof n=="number"&&n!==0?n+"px":n},Tp="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function Dt(t,e,n){if(n==null)return"";var i=n;if(i.__emotion_styles!==void 0)return i;switch(typeof n){case"boolean":return"";case"object":{var r=n;if(r.anim===1)return xe={name:r.name,styles:r.styles,next:xe},r.name;var s=n;if(s.styles!==void 0){var o=s.next;if(o!==void 0)for(;o!==void 0;)xe={name:o.name,styles:o.styles,next:xe},o=o.next;var u=s.styles+";";return u}return Vp(t,e,n)}case"function":{if(t!==void 0){var a=xe,l=n(t);return xe=a,Dt(t,e,l)}break}}var c=n;return c}function Vp(t,e,n){var i="";if(Array.isArray(n))for(var r=0;r<n.length;r++)i+=Dt(t,e,n[r])+";";else for(var s in n){var o=n[s];if(typeof o!="object"){var u=o;Pa(u)&&(i+=zi(s)+":"+Ea(s,u)+";")}else{if(s==="NO_COMPONENT_SELECTOR"&&Sp)throw new Error(Tp);if(Array.isArray(o)&&typeof o[0]=="string"&&e==null)for(var a=0;a<o.length;a++)Pa(o[a])&&(i+=zi(s)+":"+Ea(s,o[a])+";");else{var l=Dt(t,e,o);switch(s){case"animation":case"animationName":{i+=zi(s)+":"+l+";";break}default:i+=s+"{"+l+"}"}}}}return i}var Ta=/label:\s*([^\s;\n{]+)\s*(;|$)/g,xe;function Va(t,e,n){if(t.length===1&&typeof t[0]=="object"&&t[0]!==null&&t[0].styles!==void 0)return t[0];var i=!0,r="";xe=void 0;var s=t[0];if(s==null||s.raw===void 0)i=!1,r+=Dt(n,e,s);else{var o=s;r+=o[0]}for(var u=1;u<t.length;u++)if(r+=Dt(n,e,t[u]),i){var a=s;r+=a[u]}Ta.lastIndex=0;for(var l="",c;(c=Ta.exec(r))!==null;)l+="-"+c[1];var d=xp(r)+l;return{name:d,styles:r,next:xe}}var wp=function(e){return e()},Fp=G.useInsertionEffect?G.useInsertionEffect:!1,Bp=Fp||wp,Gp=!1,wa=G.createContext(typeof HTMLElement<"u"?hp({key:"css"}):null);wa.Provider;var Mp=function(e){return C.forwardRef(function(n,i){var r=C.useContext(wa);return e(n,r,i)})},Dp=G.createContext({}),ji={}.hasOwnProperty,Yi="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",Np=function(e,n){var i={};for(var r in n)ji.call(n,r)&&(i[r]=n[r]);return i[Yi]=e,i},Wp=function(e){var n=e.cache,i=e.serialized,r=e.isStringTag;return Aa(n,i,r),Bp(function(){return Cp(n,i,r)}),null},Rp=Mp(function(t,e,n){var i=t.css;typeof i=="string"&&e.registered[i]!==void 0&&(i=e.registered[i]);var r=t[Yi],s=[i],o="";typeof t.className=="string"?o=Ip(e.registered,s,t.className):t.className!=null&&(o=t.className+" ");var u=Va(s,void 0,G.useContext(Dp));o+=e.key+"-"+u.name;var a={};for(var l in t)ji.call(t,l)&&l!=="css"&&l!==Yi&&!Gp&&(a[l]=t[l]);return a.className=o,n&&(a.ref=n),G.createElement(G.Fragment,null,G.createElement(Wp,{cache:e,serialized:u,isStringTag:typeof r=="string"}),G.createElement(r,a))}),Lp=Rp,V=function(e,n){var i=arguments;if(n==null||!ji.call(n,"css"))return G.createElement.apply(void 0,i);var r=i.length,s=new Array(r);s[0]=Lp,s[1]=Np(e,n);for(var o=2;o<r;o++)s[o]=i[o];return G.createElement.apply(null,s)};function Ji(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return Va(e)}var Op=function(){var e=Ji.apply(void 0,arguments),n="animation-"+e.name;return{name:n,styles:"@keyframes "+n+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}};function Xp(t,e){return e||(e=t.slice(0)),Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))}const Zp=Math.min,Hp=Math.max,vn=Math.round,yn=Math.floor,In=t=>({x:t,y:t});function kp(t){const{x:e,y:n,width:i,height:r}=t;return{width:i,height:r,top:n,left:e,right:e+i,bottom:n+r,x:e,y:n}}function Fa(t){return Ga(t)?(t.nodeName||"").toLowerCase():"#document"}function Ne(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function Ba(t){var e;return(e=(Ga(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function Ga(t){return t instanceof Node||t instanceof Ne(t).Node}function zp(t){return t instanceof Element||t instanceof Ne(t).Element}function Ui(t){return t instanceof HTMLElement||t instanceof Ne(t).HTMLElement}function Ma(t){return typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof Ne(t).ShadowRoot}function Da(t){const{overflow:e,overflowX:n,overflowY:i,display:r}=_i(t);return/auto|scroll|overlay|hidden|clip/.test(e+i+n)&&!["inline","contents"].includes(r)}function jp(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Yp(t){return["html","body","#document"].includes(Fa(t))}function _i(t){return Ne(t).getComputedStyle(t)}function Jp(t){if(Fa(t)==="html")return t;const e=t.assignedSlot||t.parentNode||Ma(t)&&t.host||Ba(t);return Ma(e)?e.host:e}function Na(t){const e=Jp(t);return Yp(e)?t.ownerDocument?t.ownerDocument.body:t.body:Ui(e)&&Da(e)?e:Na(e)}function Cn(t,e,n){var i;e===void 0&&(e=[]),n===void 0&&(n=!0);const r=Na(t),s=r===((i=t.ownerDocument)==null?void 0:i.body),o=Ne(r);return s?e.concat(o,o.visualViewport||[],Da(r)?r:[],o.frameElement&&n?Cn(o.frameElement):[]):e.concat(r,Cn(r,[],n))}function Up(t){const e=_i(t);let n=parseFloat(e.width)||0,i=parseFloat(e.height)||0;const r=Ui(t),s=r?t.offsetWidth:n,o=r?t.offsetHeight:i,u=vn(n)!==s||vn(i)!==o;return u&&(n=s,i=o),{width:n,height:i,$:u}}function Qi(t){return zp(t)?t:t.contextElement}function Wa(t){const e=Qi(t);if(!Ui(e))return In(1);const n=e.getBoundingClientRect(),{width:i,height:r,$:s}=Up(e);let o=(s?vn(n.width):n.width)/i,u=(s?vn(n.height):n.height)/r;return(!o||!Number.isFinite(o))&&(o=1),(!u||!Number.isFinite(u))&&(u=1),{x:o,y:u}}const _p=In(0);function Qp(t){const e=Ne(t);return!jp()||!e.visualViewport?_p:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function $p(t,e,n){return!1}function Ra(t,e,n,i){e===void 0&&(e=!1);const r=t.getBoundingClientRect(),s=Qi(t);let o=In(1);e&&(o=Wa(t));const u=$p()?Qp(s):In(0);let a=(r.left+u.x)/o.x,l=(r.top+u.y)/o.y,c=r.width/o.x,d=r.height/o.y;if(s){const f=Ne(s),h=i;let m=f,p=m.frameElement;for(;p&&i&&h!==m;){const g=Wa(p),b=p.getBoundingClientRect(),I=_i(p),v=b.left+(p.clientLeft+parseFloat(I.paddingLeft))*g.x,x=b.top+(p.clientTop+parseFloat(I.paddingTop))*g.y;a*=g.x,l*=g.y,c*=g.x,d*=g.y,a+=v,l+=x,m=Ne(p),p=m.frameElement}}return kp({width:c,height:d,x:a,y:l})}function Kp(t,e){let n=null,i;const r=Ba(t);function s(){var u;clearTimeout(i),(u=n)==null||u.disconnect(),n=null}function o(u,a){u===void 0&&(u=!1),a===void 0&&(a=1),s();const{left:l,top:c,width:d,height:f}=t.getBoundingClientRect();if(u||e(),!d||!f)return;const h=yn(c),m=yn(r.clientWidth-(l+d)),p=yn(r.clientHeight-(c+f)),g=yn(l),I={rootMargin:-h+"px "+-m+"px "+-p+"px "+-g+"px",threshold:Hp(0,Zp(1,a))||1};let v=!0;function x(y){const S=y[0].intersectionRatio;if(S!==a){if(!v)return o();S?o(!1,S):i=setTimeout(()=>{o(!1,1e-7)},1e3)}v=!1}try{n=new IntersectionObserver(x,{...I,root:r.ownerDocument})}catch{n=new IntersectionObserver(x,I)}n.observe(t)}return o(!0),s}function qp(t,e,n,i){i===void 0&&(i={});const{ancestorScroll:r=!0,ancestorResize:s=!0,elementResize:o=typeof ResizeObserver=="function",layoutShift:u=typeof IntersectionObserver=="function",animationFrame:a=!1}=i,l=Qi(t),c=r||s?[...l?Cn(l):[],...Cn(e)]:[];c.forEach(b=>{r&&b.addEventListener("scroll",n,{passive:!0}),s&&b.addEventListener("resize",n)});const d=l&&u?Kp(l,n):null;let f=-1,h=null;o&&(h=new ResizeObserver(b=>{let[I]=b;I&&I.target===l&&h&&(h.unobserve(e),cancelAnimationFrame(f),f=requestAnimationFrame(()=>{var v;(v=h)==null||v.observe(e)})),n()}),l&&!a&&h.observe(l),h.observe(e));let m,p=a?Ra(t):null;a&&g();function g(){const b=Ra(t);p&&(b.x!==p.x||b.y!==p.y||b.width!==p.width||b.height!==p.height)&&n(),p=b,m=requestAnimationFrame(g)}return n(),()=>{var b;c.forEach(I=>{r&&I.removeEventListener("scroll",n),s&&I.removeEventListener("resize",n)}),d==null||d(),(b=h)==null||b.disconnect(),h=null,a&&cancelAnimationFrame(m)}}var $i=C.useLayoutEffect,em=["className","clearValue","cx","getStyles","getClassNames","getValue","hasValue","isMulti","isRtl","options","selectOption","selectProps","setValue","theme"],xn=function(){};function tm(t,e){return e?e[0]==="-"?t+e:t+"__"+e:t}function nm(t,e){for(var n=arguments.length,i=new Array(n>2?n-2:0),r=2;r<n;r++)i[r-2]=arguments[r];var s=[].concat(i);if(e&&t)for(var o in e)e.hasOwnProperty(o)&&e[o]&&s.push("".concat(tm(t,o)));return s.filter(function(u){return u}).map(function(u){return String(u).trim()}).join(" ")}var La=function(e){return dm(e)?e.filter(Boolean):_e(e)==="object"&&e!==null?[e]:[]},Oa=function(e){e.className,e.clearValue,e.cx,e.getStyles,e.getClassNames,e.getValue,e.hasValue,e.isMulti,e.isRtl,e.options,e.selectOption,e.selectProps,e.setValue,e.theme;var n=De(e,em);return w({},n)},z=function(e,n,i){var r=e.cx,s=e.getStyles,o=e.getClassNames,u=e.className;return{css:s(n,e),className:r(i??{},o(n,e),u)}};function An(t){return[document.documentElement,document.body,window].indexOf(t)>-1}function im(t){return An(t)?window.innerHeight:t.clientHeight}function Xa(t){return An(t)?window.pageYOffset:t.scrollTop}function Sn(t,e){if(An(t)){window.scrollTo(0,e);return}t.scrollTop=e}function rm(t){var e=getComputedStyle(t),n=e.position==="absolute",i=/(auto|scroll)/;if(e.position==="fixed")return document.documentElement;for(var r=t;r=r.parentElement;)if(e=getComputedStyle(r),!(n&&e.position==="static")&&i.test(e.overflow+e.overflowY+e.overflowX))return r;return document.documentElement}function sm(t,e,n,i){return n*((t=t/i-1)*t*t+1)+e}function Pn(t,e){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:200,i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:xn,r=Xa(t),s=e-r,o=10,u=0;function a(){u+=o;var l=sm(u,r,s,n);Sn(t,l),u<n?window.requestAnimationFrame(a):i(t)}a()}function Za(t,e){var n=t.getBoundingClientRect(),i=e.getBoundingClientRect(),r=e.offsetHeight/3;i.bottom+r>n.bottom?Sn(t,Math.min(e.offsetTop+e.clientHeight-t.offsetHeight+r,t.scrollHeight)):i.top-r<n.top&&Sn(t,Math.max(e.offsetTop-r,0))}function om(t){var e=t.getBoundingClientRect();return{bottom:e.bottom,height:e.height,left:e.left,right:e.right,top:e.top,width:e.width}}function Ha(){try{return document.createEvent("TouchEvent"),!0}catch{return!1}}function am(){try{return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}catch{return!1}}var ka=!1,um={get passive(){return ka=!0}},En=typeof window<"u"?window:{};En.addEventListener&&En.removeEventListener&&(En.addEventListener("p",xn,um),En.removeEventListener("p",xn,!1));var lm=ka;function cm(t){return t!=null}function dm(t){return Array.isArray(t)}function Tn(t,e,n){return t?e:n}function zb(t){return t}function jb(t){return t}var fm=function(e){for(var n=arguments.length,i=new Array(n>1?n-1:0),r=1;r<n;r++)i[r-1]=arguments[r];var s=Object.entries(e).filter(function(o){var u=Me(o,1),a=u[0];return!i.includes(a)});return s.reduce(function(o,u){var a=Me(u,2),l=a[0],c=a[1];return o[l]=c,o},{})},hm=["children","innerProps"],pm=["children","innerProps"];function mm(t){var e=t.maxHeight,n=t.menuEl,i=t.minHeight,r=t.placement,s=t.shouldScroll,o=t.isFixedPosition,u=t.controlHeight,a=rm(n),l={placement:"bottom",maxHeight:e};if(!n||!n.offsetParent)return l;var c=a.getBoundingClientRect(),d=c.height,f=n.getBoundingClientRect(),h=f.bottom,m=f.height,p=f.top,g=n.offsetParent.getBoundingClientRect(),b=g.top,I=o?window.innerHeight:im(a),v=Xa(a),x=parseInt(getComputedStyle(n).marginBottom,10),y=parseInt(getComputedStyle(n).marginTop,10),S=b-y,P=I-p,A=S+v,M=d-v-p,N=h-I+v+x,k=v+p-y,Y=160;switch(r){case"auto":case"bottom":if(P>=m)return{placement:"bottom",maxHeight:e};if(M>=m&&!o)return s&&Pn(a,N,Y),{placement:"bottom",maxHeight:e};if(!o&&M>=i||o&&P>=i){s&&Pn(a,N,Y);var le=o?P-x:M-x;return{placement:"bottom",maxHeight:le}}if(r==="auto"||o){var se=e,D=o?S:A;return D>=i&&(se=Math.min(D-x-u,e)),{placement:"top",maxHeight:se}}if(r==="bottom")return s&&Sn(a,N),{placement:"bottom",maxHeight:e};break;case"top":if(S>=m)return{placement:"top",maxHeight:e};if(A>=m&&!o)return s&&Pn(a,k,Y),{placement:"top",maxHeight:e};if(!o&&A>=i||o&&S>=i){var L=e;return(!o&&A>=i||o&&S>=i)&&(L=o?S-y:A-y),s&&Pn(a,k,Y),{placement:"top",maxHeight:L}}return{placement:"bottom",maxHeight:e};default:throw new Error('Invalid placement provided "'.concat(r,'".'))}return l}function gm(t){var e={bottom:"top",top:"bottom"};return t?e[t]:"bottom"}var za=function(e){return e==="auto"?"bottom":e},bm=function(e,n){var i,r=e.placement,s=e.theme,o=s.borderRadius,u=s.spacing,a=s.colors;return w((i={label:"menu"},wt(i,gm(r),"100%"),wt(i,"position","absolute"),wt(i,"width","100%"),wt(i,"zIndex",1),i),n?{}:{backgroundColor:a.neutral0,borderRadius:o,boxShadow:"0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)",marginBottom:u.menuGutter,marginTop:u.menuGutter})},ja=C.createContext(null),vm=function(e){var n=e.children,i=e.minMenuHeight,r=e.maxMenuHeight,s=e.menuPlacement,o=e.menuPosition,u=e.menuShouldScrollIntoView,a=e.theme,l=C.useContext(ja)||{},c=l.setPortalPlacement,d=C.useRef(null),f=C.useState(r),h=Me(f,2),m=h[0],p=h[1],g=C.useState(null),b=Me(g,2),I=b[0],v=b[1],x=a.spacing.controlHeight;return $i(function(){var y=d.current;if(y){var S=o==="fixed",P=u&&!S,A=mm({maxHeight:r,menuEl:y,minHeight:i,placement:s,shouldScroll:P,isFixedPosition:S,controlHeight:x});p(A.maxHeight),v(A.placement),c==null||c(A.placement)}},[r,s,o,u,i,c,x]),n({ref:d,placerProps:w(w({},e),{},{placement:I||za(s),maxHeight:m})})},ym=function(e){var n=e.children,i=e.innerRef,r=e.innerProps;return V("div",B({},z(e,"menu",{menu:!0}),{ref:i},r),n)},Im=ym,Cm=function(e,n){var i=e.maxHeight,r=e.theme.spacing.baseUnit;return w({maxHeight:i,overflowY:"auto",position:"relative",WebkitOverflowScrolling:"touch"},n?{}:{paddingBottom:r,paddingTop:r})},xm=function(e){var n=e.children,i=e.innerProps,r=e.innerRef,s=e.isMulti;return V("div",B({},z(e,"menuList",{"menu-list":!0,"menu-list--is-multi":s}),{ref:r},i),n)},Ya=function(e,n){var i=e.theme,r=i.spacing.baseUnit,s=i.colors;return w({textAlign:"center"},n?{}:{color:s.neutral40,padding:"".concat(r*2,"px ").concat(r*3,"px")})},Am=Ya,Sm=Ya,Pm=function(e){var n=e.children,i=n===void 0?"No options":n,r=e.innerProps,s=De(e,hm);return V("div",B({},z(w(w({},s),{},{children:i,innerProps:r}),"noOptionsMessage",{"menu-notice":!0,"menu-notice--no-options":!0}),r),i)},Em=function(e){var n=e.children,i=n===void 0?"Loading...":n,r=e.innerProps,s=De(e,pm);return V("div",B({},z(w(w({},s),{},{children:i,innerProps:r}),"loadingMessage",{"menu-notice":!0,"menu-notice--loading":!0}),r),i)},Tm=function(e){var n=e.rect,i=e.offset,r=e.position;return{left:n.left,position:r,top:i,width:n.width,zIndex:1}},Vm=function(e){var n=e.appendTo,i=e.children,r=e.controlElement,s=e.innerProps,o=e.menuPlacement,u=e.menuPosition,a=C.useRef(null),l=C.useRef(null),c=C.useState(za(o)),d=Me(c,2),f=d[0],h=d[1],m=C.useMemo(function(){return{setPortalPlacement:h}},[]),p=C.useState(null),g=Me(p,2),b=g[0],I=g[1],v=C.useCallback(function(){if(r){var P=om(r),A=u==="fixed"?0:window.pageYOffset,M=P[f]+A;(M!==(b==null?void 0:b.offset)||P.left!==(b==null?void 0:b.rect.left)||P.width!==(b==null?void 0:b.rect.width))&&I({offset:M,rect:P})}},[r,u,f,b==null?void 0:b.offset,b==null?void 0:b.rect.left,b==null?void 0:b.rect.width]);$i(function(){v()},[v]);var x=C.useCallback(function(){typeof l.current=="function"&&(l.current(),l.current=null),r&&a.current&&(l.current=qp(r,a.current,v,{elementResize:"ResizeObserver"in window}))},[r,v]);$i(function(){x()},[x]);var y=C.useCallback(function(P){a.current=P,x()},[x]);if(!n&&u!=="fixed"||!b)return null;var S=V("div",B({ref:y},z(w(w({},e),{},{offset:b.offset,position:u,rect:b.rect}),"menuPortal",{"menu-portal":!0}),s),i);return V(ja.Provider,{value:m},n?$e.createPortal(S,n):S)},wm=function(e){var n=e.isDisabled,i=e.isRtl;return{label:"container",direction:i?"rtl":void 0,pointerEvents:n?"none":void 0,position:"relative"}},Fm=function(e){var n=e.children,i=e.innerProps,r=e.isDisabled,s=e.isRtl;return V("div",B({},z(e,"container",{"--is-disabled":r,"--is-rtl":s}),i),n)},Bm=function(e,n){var i=e.theme.spacing,r=e.isMulti,s=e.hasValue,o=e.selectProps.controlShouldRenderValue;return w({alignItems:"center",display:r&&s&&o?"flex":"grid",flex:1,flexWrap:"wrap",WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"},n?{}:{padding:"".concat(i.baseUnit/2,"px ").concat(i.baseUnit*2,"px")})},Gm=function(e){var n=e.children,i=e.innerProps,r=e.isMulti,s=e.hasValue;return V("div",B({},z(e,"valueContainer",{"value-container":!0,"value-container--is-multi":r,"value-container--has-value":s}),i),n)},Mm=function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}},Dm=function(e){var n=e.children,i=e.innerProps;return V("div",B({},z(e,"indicatorsContainer",{indicators:!0}),i),n)},Ja,Nm=["size"],Wm=["innerProps","isRtl","size"];function Rm(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}var Lm=process.env.NODE_ENV==="production"?{name:"8mmkcg",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0"}:{name:"tj5bde-Svg",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0;label:Svg;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgUmVhY3ROb2RlIH0gZnJvbSAncmVhY3QnO1xuaW1wb3J0IHsganN4LCBrZXlmcmFtZXMgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7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+XG4gICk7XG59O1xuIl19 */",toString:Rm},Ua=function(e){var n=e.size,i=De(e,Nm);return V("svg",B({height:n,width:n,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:Lm},i))},Ki=function(e){return V(Ua,B({size:20},e),V("path",{d:"M14.348 14.849c-0.469 0.469-1.229 0.469-1.697 0l-2.651-3.030-2.651 3.029c-0.469 0.469-1.229 0.469-1.697 0-0.469-0.469-0.469-1.229 0-1.697l2.758-3.15-2.759-3.152c-0.469-0.469-0.469-1.228 0-1.697s1.228-0.469 1.697 0l2.652 3.031 2.651-3.031c0.469-0.469 1.228-0.469 1.697 0s0.469 1.229 0 1.697l-2.758 3.152 2.758 3.15c0.469 0.469 0.469 1.229 0 1.698z"}))},_a=function(e){return V(Ua,B({size:20},e),V("path",{d:"M4.516 7.548c0.436-0.446 1.043-0.481 1.576 0l3.908 3.747 3.908-3.747c0.533-0.481 1.141-0.446 1.574 0 0.436 0.445 0.408 1.197 0 1.615-0.406 0.418-4.695 4.502-4.695 4.502-0.217 0.223-0.502 0.335-0.787 0.335s-0.57-0.112-0.789-0.335c0 0-4.287-4.084-4.695-4.502s-0.436-1.17 0-1.615z"}))},Qa=function(e,n){var i=e.isFocused,r=e.theme,s=r.spacing.baseUnit,o=r.colors;return w({label:"indicatorContainer",display:"flex",transition:"color 150ms"},n?{}:{color:i?o.neutral60:o.neutral20,padding:s*2,":hover":{color:i?o.neutral80:o.neutral40}})},Om=Qa,Xm=function(e){var n=e.children,i=e.innerProps;return V("div",B({},z(e,"dropdownIndicator",{indicator:!0,"dropdown-indicator":!0}),i),n||V(_a,null))},Zm=Qa,Hm=function(e){var n=e.children,i=e.innerProps;return V("div",B({},z(e,"clearIndicator",{indicator:!0,"clear-indicator":!0}),i),n||V(Ki,null))},km=function(e,n){var i=e.isDisabled,r=e.theme,s=r.spacing.baseUnit,o=r.colors;return w({label:"indicatorSeparator",alignSelf:"stretch",width:1},n?{}:{backgroundColor:i?o.neutral10:o.neutral20,marginBottom:s*2,marginTop:s*2})},zm=function(e){var n=e.innerProps;return V("span",B({},n,z(e,"indicatorSeparator",{"indicator-separator":!0})))},jm=Op(Ja||(Ja=Xp([`
29
+ */var ga;function dp(){return ga||(ga=1,process.env.NODE_ENV!=="production"&&function(){var t=typeof Symbol=="function"&&Symbol.for,e=t?Symbol.for("react.element"):60103,n=t?Symbol.for("react.portal"):60106,i=t?Symbol.for("react.fragment"):60107,r=t?Symbol.for("react.strict_mode"):60108,s=t?Symbol.for("react.profiler"):60114,o=t?Symbol.for("react.provider"):60109,u=t?Symbol.for("react.context"):60110,a=t?Symbol.for("react.async_mode"):60111,l=t?Symbol.for("react.concurrent_mode"):60111,c=t?Symbol.for("react.forward_ref"):60112,d=t?Symbol.for("react.suspense"):60113,f=t?Symbol.for("react.suspense_list"):60120,h=t?Symbol.for("react.memo"):60115,m=t?Symbol.for("react.lazy"):60116,p=t?Symbol.for("react.block"):60121,g=t?Symbol.for("react.fundamental"):60117,b=t?Symbol.for("react.responder"):60118,I=t?Symbol.for("react.scope"):60119;function v(E){return typeof E=="string"||typeof E=="function"||E===i||E===l||E===s||E===r||E===d||E===f||typeof E=="object"&&E!==null&&(E.$$typeof===m||E.$$typeof===h||E.$$typeof===o||E.$$typeof===u||E.$$typeof===c||E.$$typeof===g||E.$$typeof===b||E.$$typeof===I||E.$$typeof===p)}function x(E){if(typeof E=="object"&&E!==null){var Dt=E.$$typeof;switch(Dt){case e:var _e=E.type;switch(_e){case a:case l:case i:case s:case r:case d:return _e;default:var Vn=_e&&_e.$$typeof;switch(Vn){case u:case c:case m:case h:case o:return Vn;default:return Dt}}case n:return Dt}}}var y=a,S=l,P=u,A=o,M=e,N=c,k=i,Y=m,le=h,se=n,D=s,W=r,ne=d,_=!1;function xe(E){return _||(_=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),me(E)||x(E)===a}function me(E){return x(E)===l}function ct(E){return x(E)===u}function J(E){return x(E)===o}function ie(E){return typeof E=="object"&&E!==null&&E.$$typeof===e}function ge(E){return x(E)===c}function Ae(E){return x(E)===i}function ce(E){return x(E)===m}function Se(E){return x(E)===h}function be(E){return x(E)===n}function dt(E){return x(E)===s}function sr(E){return x(E)===r}function Tn(E){return x(E)===d}Z.AsyncMode=y,Z.ConcurrentMode=S,Z.ContextConsumer=P,Z.ContextProvider=A,Z.Element=M,Z.ForwardRef=N,Z.Fragment=k,Z.Lazy=Y,Z.Memo=le,Z.Portal=se,Z.Profiler=D,Z.StrictMode=W,Z.Suspense=ne,Z.isAsyncMode=xe,Z.isConcurrentMode=me,Z.isContextConsumer=ct,Z.isContextProvider=J,Z.isElement=ie,Z.isForwardRef=ge,Z.isFragment=Ae,Z.isLazy=ce,Z.isMemo=Se,Z.isPortal=be,Z.isProfiler=dt,Z.isStrictMode=sr,Z.isSuspense=Tn,Z.isValidElementType=v,Z.typeOf=x}()),Z}process.env.NODE_ENV==="production"?Zi.exports=cp():Zi.exports=dp();var fp=Zi.exports,ba=fp,hp={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},pp={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},va={};va[ba.ForwardRef]=hp,va[ba.Memo]=pp;var mp=!0;function gp(t,e,n){var i="";return n.split(" ").forEach(function(r){t[r]!==void 0?e.push(t[r]+";"):i+=r+" "}),i}var ya=function(e,n,i){var r=e.key+"-"+n.name;(i===!1||mp===!1)&&e.registered[r]===void 0&&(e.registered[r]=n.styles)},bp=function(e,n,i){ya(e,n,i);var r=e.key+"-"+n.name;if(e.inserted[n.name]===void 0){var s=n;do e.insert(n===s?"."+r:"",s,e.sheet,!0),s=s.next;while(s!==void 0)}};function vp(t){for(var e=0,n,i=0,r=t.length;r>=4;++i,r-=4)n=t.charCodeAt(i)&255|(t.charCodeAt(++i)&255)<<8|(t.charCodeAt(++i)&255)<<16|(t.charCodeAt(++i)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,e=(n&65535)*1540483477+((n>>>16)*59797<<16)^(e&65535)*1540483477+((e>>>16)*59797<<16);switch(r){case 3:e^=(t.charCodeAt(i+2)&255)<<16;case 2:e^=(t.charCodeAt(i+1)&255)<<8;case 1:e^=t.charCodeAt(i)&255,e=(e&65535)*1540483477+((e>>>16)*59797<<16)}return e^=e>>>13,e=(e&65535)*1540483477+((e>>>16)*59797<<16),((e^e>>>15)>>>0).toString(36)}var yp={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},Ip=!1,Cp=/[A-Z]|^ms/g,xp=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Ia=function(e){return e.charCodeAt(1)===45},Ca=function(e){return e!=null&&typeof e!="boolean"},Hi=tp(function(t){return Ia(t)?t:t.replace(Cp,"-$&").toLowerCase()}),xa=function(e,n){switch(e){case"animation":case"animationName":if(typeof n=="string")return n.replace(xp,function(i,r,s){return Ce={name:r,styles:s,next:Ce},r})}return yp[e]!==1&&!Ia(e)&&typeof n=="number"&&n!==0?n+"px":n},Ap="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function Gt(t,e,n){if(n==null)return"";var i=n;if(i.__emotion_styles!==void 0)return i;switch(typeof n){case"boolean":return"";case"object":{var r=n;if(r.anim===1)return Ce={name:r.name,styles:r.styles,next:Ce},r.name;var s=n;if(s.styles!==void 0){var o=s.next;if(o!==void 0)for(;o!==void 0;)Ce={name:o.name,styles:o.styles,next:Ce},o=o.next;var u=s.styles+";";return u}return Sp(t,e,n)}case"function":{if(t!==void 0){var a=Ce,l=n(t);return Ce=a,Gt(t,e,l)}break}}var c=n;return c}function Sp(t,e,n){var i="";if(Array.isArray(n))for(var r=0;r<n.length;r++)i+=Gt(t,e,n[r])+";";else for(var s in n){var o=n[s];if(typeof o!="object"){var u=o;Ca(u)&&(i+=Hi(s)+":"+xa(s,u)+";")}else{if(s==="NO_COMPONENT_SELECTOR"&&Ip)throw new Error(Ap);if(Array.isArray(o)&&typeof o[0]=="string"&&e==null)for(var a=0;a<o.length;a++)Ca(o[a])&&(i+=Hi(s)+":"+xa(s,o[a])+";");else{var l=Gt(t,e,o);switch(s){case"animation":case"animationName":{i+=Hi(s)+":"+l+";";break}default:i+=s+"{"+l+"}"}}}}return i}var Aa=/label:\s*([^\s;\n{]+)\s*(;|$)/g,Ce;function Sa(t,e,n){if(t.length===1&&typeof t[0]=="object"&&t[0]!==null&&t[0].styles!==void 0)return t[0];var i=!0,r="";Ce=void 0;var s=t[0];if(s==null||s.raw===void 0)i=!1,r+=Gt(n,e,s);else{var o=s;r+=o[0]}for(var u=1;u<t.length;u++)if(r+=Gt(n,e,t[u]),i){var a=s;r+=a[u]}Aa.lastIndex=0;for(var l="",c;(c=Aa.exec(r))!==null;)l+="-"+c[1];var d=vp(r)+l;return{name:d,styles:r,next:Ce}}var Pp=function(e){return e()},Ep=G.useInsertionEffect?G.useInsertionEffect:!1,Tp=Ep||Pp,Vp=!1,Pa=G.createContext(typeof HTMLElement<"u"?lp({key:"css"}):null);Pa.Provider;var wp=function(e){return C.forwardRef(function(n,i){var r=C.useContext(Pa);return e(n,r,i)})},Fp=G.createContext({}),ki={}.hasOwnProperty,zi="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",Bp=function(e,n){var i={};for(var r in n)ki.call(n,r)&&(i[r]=n[r]);return i[zi]=e,i},Gp=function(e){var n=e.cache,i=e.serialized,r=e.isStringTag;return ya(n,i,r),Tp(function(){return bp(n,i,r)}),null},Mp=wp(function(t,e,n){var i=t.css;typeof i=="string"&&e.registered[i]!==void 0&&(i=e.registered[i]);var r=t[zi],s=[i],o="";typeof t.className=="string"?o=gp(e.registered,s,t.className):t.className!=null&&(o=t.className+" ");var u=Sa(s,void 0,G.useContext(Fp));o+=e.key+"-"+u.name;var a={};for(var l in t)ki.call(t,l)&&l!=="css"&&l!==zi&&!Vp&&(a[l]=t[l]);return a.className=o,n&&(a.ref=n),G.createElement(G.Fragment,null,G.createElement(Gp,{cache:e,serialized:u,isStringTag:typeof r=="string"}),G.createElement(r,a))}),Dp=Mp,T=function(e,n){var i=arguments;if(n==null||!ki.call(n,"css"))return G.createElement.apply(void 0,i);var r=i.length,s=new Array(r);s[0]=Dp,s[1]=Bp(e,n);for(var o=2;o<r;o++)s[o]=i[o];return G.createElement.apply(null,s)};function ji(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return Sa(e)}var Np=function(){var e=ji.apply(void 0,arguments),n="animation-"+e.name;return{name:n,styles:"@keyframes "+n+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}};function Rp(t,e){return e||(e=t.slice(0)),Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))}const Lp=Math.min,Wp=Math.max,mn=Math.round,gn=Math.floor,bn=t=>({x:t,y:t});function Op(t){const{x:e,y:n,width:i,height:r}=t;return{width:i,height:r,top:n,left:e,right:e+i,bottom:n+r,x:e,y:n}}function Ea(t){return Va(t)?(t.nodeName||"").toLowerCase():"#document"}function De(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function Ta(t){var e;return(e=(Va(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function Va(t){return t instanceof Node||t instanceof De(t).Node}function Xp(t){return t instanceof Element||t instanceof De(t).Element}function Yi(t){return t instanceof HTMLElement||t instanceof De(t).HTMLElement}function wa(t){return typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof De(t).ShadowRoot}function Fa(t){const{overflow:e,overflowX:n,overflowY:i,display:r}=Ji(t);return/auto|scroll|overlay|hidden|clip/.test(e+i+n)&&!["inline","contents"].includes(r)}function Zp(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Hp(t){return["html","body","#document"].includes(Ea(t))}function Ji(t){return De(t).getComputedStyle(t)}function kp(t){if(Ea(t)==="html")return t;const e=t.assignedSlot||t.parentNode||wa(t)&&t.host||Ta(t);return wa(e)?e.host:e}function Ba(t){const e=kp(t);return Hp(e)?t.ownerDocument?t.ownerDocument.body:t.body:Yi(e)&&Fa(e)?e:Ba(e)}function vn(t,e,n){var i;e===void 0&&(e=[]),n===void 0&&(n=!0);const r=Ba(t),s=r===((i=t.ownerDocument)==null?void 0:i.body),o=De(r);return s?e.concat(o,o.visualViewport||[],Fa(r)?r:[],o.frameElement&&n?vn(o.frameElement):[]):e.concat(r,vn(r,[],n))}function zp(t){const e=Ji(t);let n=parseFloat(e.width)||0,i=parseFloat(e.height)||0;const r=Yi(t),s=r?t.offsetWidth:n,o=r?t.offsetHeight:i,u=mn(n)!==s||mn(i)!==o;return u&&(n=s,i=o),{width:n,height:i,$:u}}function Ui(t){return Xp(t)?t:t.contextElement}function Ga(t){const e=Ui(t);if(!Yi(e))return bn(1);const n=e.getBoundingClientRect(),{width:i,height:r,$:s}=zp(e);let o=(s?mn(n.width):n.width)/i,u=(s?mn(n.height):n.height)/r;return(!o||!Number.isFinite(o))&&(o=1),(!u||!Number.isFinite(u))&&(u=1),{x:o,y:u}}const jp=bn(0);function Yp(t){const e=De(t);return!Zp()||!e.visualViewport?jp:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function Jp(t,e,n){return!1}function Ma(t,e,n,i){e===void 0&&(e=!1);const r=t.getBoundingClientRect(),s=Ui(t);let o=bn(1);e&&(o=Ga(t));const u=Jp()?Yp(s):bn(0);let a=(r.left+u.x)/o.x,l=(r.top+u.y)/o.y,c=r.width/o.x,d=r.height/o.y;if(s){const f=De(s),h=i;let m=f,p=m.frameElement;for(;p&&i&&h!==m;){const g=Ga(p),b=p.getBoundingClientRect(),I=Ji(p),v=b.left+(p.clientLeft+parseFloat(I.paddingLeft))*g.x,x=b.top+(p.clientTop+parseFloat(I.paddingTop))*g.y;a*=g.x,l*=g.y,c*=g.x,d*=g.y,a+=v,l+=x,m=De(p),p=m.frameElement}}return Op({width:c,height:d,x:a,y:l})}function Up(t,e){let n=null,i;const r=Ta(t);function s(){var u;clearTimeout(i),(u=n)==null||u.disconnect(),n=null}function o(u,a){u===void 0&&(u=!1),a===void 0&&(a=1),s();const{left:l,top:c,width:d,height:f}=t.getBoundingClientRect();if(u||e(),!d||!f)return;const h=gn(c),m=gn(r.clientWidth-(l+d)),p=gn(r.clientHeight-(c+f)),g=gn(l),I={rootMargin:-h+"px "+-m+"px "+-p+"px "+-g+"px",threshold:Wp(0,Lp(1,a))||1};let v=!0;function x(y){const S=y[0].intersectionRatio;if(S!==a){if(!v)return o();S?o(!1,S):i=setTimeout(()=>{o(!1,1e-7)},1e3)}v=!1}try{n=new IntersectionObserver(x,{...I,root:r.ownerDocument})}catch{n=new IntersectionObserver(x,I)}n.observe(t)}return o(!0),s}function _p(t,e,n,i){i===void 0&&(i={});const{ancestorScroll:r=!0,ancestorResize:s=!0,elementResize:o=typeof ResizeObserver=="function",layoutShift:u=typeof IntersectionObserver=="function",animationFrame:a=!1}=i,l=Ui(t),c=r||s?[...l?vn(l):[],...vn(e)]:[];c.forEach(b=>{r&&b.addEventListener("scroll",n,{passive:!0}),s&&b.addEventListener("resize",n)});const d=l&&u?Up(l,n):null;let f=-1,h=null;o&&(h=new ResizeObserver(b=>{let[I]=b;I&&I.target===l&&h&&(h.unobserve(e),cancelAnimationFrame(f),f=requestAnimationFrame(()=>{var v;(v=h)==null||v.observe(e)})),n()}),l&&!a&&h.observe(l),h.observe(e));let m,p=a?Ma(t):null;a&&g();function g(){const b=Ma(t);p&&(b.x!==p.x||b.y!==p.y||b.width!==p.width||b.height!==p.height)&&n(),p=b,m=requestAnimationFrame(g)}return n(),()=>{var b;c.forEach(I=>{r&&I.removeEventListener("scroll",n),s&&I.removeEventListener("resize",n)}),d==null||d(),(b=h)==null||b.disconnect(),h=null,a&&cancelAnimationFrame(m)}}var _i=C.useLayoutEffect,Qp=["className","clearValue","cx","getStyles","getClassNames","getValue","hasValue","isMulti","isRtl","options","selectOption","selectProps","setValue","theme"],yn=function(){};function $p(t,e){return e?e[0]==="-"?t+e:t+"__"+e:t}function Kp(t,e){for(var n=arguments.length,i=new Array(n>2?n-2:0),r=2;r<n;r++)i[r-2]=arguments[r];var s=[].concat(i);if(e&&t)for(var o in e)e.hasOwnProperty(o)&&e[o]&&s.push("".concat($p(t,o)));return s.filter(function(u){return u}).map(function(u){return String(u).trim()}).join(" ")}var Da=function(e){return am(e)?e.filter(Boolean):Ue(e)==="object"&&e!==null?[e]:[]},Na=function(e){e.className,e.clearValue,e.cx,e.getStyles,e.getClassNames,e.getValue,e.hasValue,e.isMulti,e.isRtl,e.options,e.selectOption,e.selectProps,e.setValue,e.theme;var n=Me(e,Qp);return V({},n)},z=function(e,n,i){var r=e.cx,s=e.getStyles,o=e.getClassNames,u=e.className;return{css:s(n,e),className:r(i??{},o(n,e),u)}};function In(t){return[document.documentElement,document.body,window].indexOf(t)>-1}function qp(t){return In(t)?window.innerHeight:t.clientHeight}function Ra(t){return In(t)?window.pageYOffset:t.scrollTop}function Cn(t,e){if(In(t)){window.scrollTo(0,e);return}t.scrollTop=e}function em(t){var e=getComputedStyle(t),n=e.position==="absolute",i=/(auto|scroll)/;if(e.position==="fixed")return document.documentElement;for(var r=t;r=r.parentElement;)if(e=getComputedStyle(r),!(n&&e.position==="static")&&i.test(e.overflow+e.overflowY+e.overflowX))return r;return document.documentElement}function tm(t,e,n,i){return n*((t=t/i-1)*t*t+1)+e}function xn(t,e){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:200,i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:yn,r=Ra(t),s=e-r,o=10,u=0;function a(){u+=o;var l=tm(u,r,s,n);Cn(t,l),u<n?window.requestAnimationFrame(a):i(t)}a()}function La(t,e){var n=t.getBoundingClientRect(),i=e.getBoundingClientRect(),r=e.offsetHeight/3;i.bottom+r>n.bottom?Cn(t,Math.min(e.offsetTop+e.clientHeight-t.offsetHeight+r,t.scrollHeight)):i.top-r<n.top&&Cn(t,Math.max(e.offsetTop-r,0))}function nm(t){var e=t.getBoundingClientRect();return{bottom:e.bottom,height:e.height,left:e.left,right:e.right,top:e.top,width:e.width}}function Wa(){try{return document.createEvent("TouchEvent"),!0}catch{return!1}}function im(){try{return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}catch{return!1}}var Oa=!1,rm={get passive(){return Oa=!0}},An=typeof window<"u"?window:{};An.addEventListener&&An.removeEventListener&&(An.addEventListener("p",yn,rm),An.removeEventListener("p",yn,!1));var sm=Oa;function om(t){return t!=null}function am(t){return Array.isArray(t)}function Sn(t,e,n){return t?e:n}function Rb(t){return t}function Lb(t){return t}var um=function(e){for(var n=arguments.length,i=new Array(n>1?n-1:0),r=1;r<n;r++)i[r-1]=arguments[r];var s=Object.entries(e).filter(function(o){var u=Ge(o,1),a=u[0];return!i.includes(a)});return s.reduce(function(o,u){var a=Ge(u,2),l=a[0],c=a[1];return o[l]=c,o},{})},lm=["children","innerProps"],cm=["children","innerProps"];function dm(t){var e=t.maxHeight,n=t.menuEl,i=t.minHeight,r=t.placement,s=t.shouldScroll,o=t.isFixedPosition,u=t.controlHeight,a=em(n),l={placement:"bottom",maxHeight:e};if(!n||!n.offsetParent)return l;var c=a.getBoundingClientRect(),d=c.height,f=n.getBoundingClientRect(),h=f.bottom,m=f.height,p=f.top,g=n.offsetParent.getBoundingClientRect(),b=g.top,I=o?window.innerHeight:qp(a),v=Ra(a),x=parseInt(getComputedStyle(n).marginBottom,10),y=parseInt(getComputedStyle(n).marginTop,10),S=b-y,P=I-p,A=S+v,M=d-v-p,N=h-I+v+x,k=v+p-y,Y=160;switch(r){case"auto":case"bottom":if(P>=m)return{placement:"bottom",maxHeight:e};if(M>=m&&!o)return s&&xn(a,N,Y),{placement:"bottom",maxHeight:e};if(!o&&M>=i||o&&P>=i){s&&xn(a,N,Y);var le=o?P-x:M-x;return{placement:"bottom",maxHeight:le}}if(r==="auto"||o){var se=e,D=o?S:A;return D>=i&&(se=Math.min(D-x-u,e)),{placement:"top",maxHeight:se}}if(r==="bottom")return s&&Cn(a,N),{placement:"bottom",maxHeight:e};break;case"top":if(S>=m)return{placement:"top",maxHeight:e};if(A>=m&&!o)return s&&xn(a,k,Y),{placement:"top",maxHeight:e};if(!o&&A>=i||o&&S>=i){var W=e;return(!o&&A>=i||o&&S>=i)&&(W=o?S-y:A-y),s&&xn(a,k,Y),{placement:"top",maxHeight:W}}return{placement:"bottom",maxHeight:e};default:throw new Error('Invalid placement provided "'.concat(r,'".'))}return l}function fm(t){var e={bottom:"top",top:"bottom"};return t?e[t]:"bottom"}var Xa=function(e){return e==="auto"?"bottom":e},hm=function(e,n){var i,r=e.placement,s=e.theme,o=s.borderRadius,u=s.spacing,a=s.colors;return V((i={label:"menu"},Tt(i,fm(r),"100%"),Tt(i,"position","absolute"),Tt(i,"width","100%"),Tt(i,"zIndex",1),i),n?{}:{backgroundColor:a.neutral0,borderRadius:o,boxShadow:"0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)",marginBottom:u.menuGutter,marginTop:u.menuGutter})},Za=C.createContext(null),pm=function(e){var n=e.children,i=e.minMenuHeight,r=e.maxMenuHeight,s=e.menuPlacement,o=e.menuPosition,u=e.menuShouldScrollIntoView,a=e.theme,l=C.useContext(Za)||{},c=l.setPortalPlacement,d=C.useRef(null),f=C.useState(r),h=Ge(f,2),m=h[0],p=h[1],g=C.useState(null),b=Ge(g,2),I=b[0],v=b[1],x=a.spacing.controlHeight;return _i(function(){var y=d.current;if(y){var S=o==="fixed",P=u&&!S,A=dm({maxHeight:r,menuEl:y,minHeight:i,placement:s,shouldScroll:P,isFixedPosition:S,controlHeight:x});p(A.maxHeight),v(A.placement),c==null||c(A.placement)}},[r,s,o,u,i,c,x]),n({ref:d,placerProps:V(V({},e),{},{placement:I||Xa(s),maxHeight:m})})},mm=function(e){var n=e.children,i=e.innerRef,r=e.innerProps;return T("div",B({},z(e,"menu",{menu:!0}),{ref:i},r),n)},gm=mm,bm=function(e,n){var i=e.maxHeight,r=e.theme.spacing.baseUnit;return V({maxHeight:i,overflowY:"auto",position:"relative",WebkitOverflowScrolling:"touch"},n?{}:{paddingBottom:r,paddingTop:r})},vm=function(e){var n=e.children,i=e.innerProps,r=e.innerRef,s=e.isMulti;return T("div",B({},z(e,"menuList",{"menu-list":!0,"menu-list--is-multi":s}),{ref:r},i),n)},Ha=function(e,n){var i=e.theme,r=i.spacing.baseUnit,s=i.colors;return V({textAlign:"center"},n?{}:{color:s.neutral40,padding:"".concat(r*2,"px ").concat(r*3,"px")})},ym=Ha,Im=Ha,Cm=function(e){var n=e.children,i=n===void 0?"No options":n,r=e.innerProps,s=Me(e,lm);return T("div",B({},z(V(V({},s),{},{children:i,innerProps:r}),"noOptionsMessage",{"menu-notice":!0,"menu-notice--no-options":!0}),r),i)},xm=function(e){var n=e.children,i=n===void 0?"Loading...":n,r=e.innerProps,s=Me(e,cm);return T("div",B({},z(V(V({},s),{},{children:i,innerProps:r}),"loadingMessage",{"menu-notice":!0,"menu-notice--loading":!0}),r),i)},Am=function(e){var n=e.rect,i=e.offset,r=e.position;return{left:n.left,position:r,top:i,width:n.width,zIndex:1}},Sm=function(e){var n=e.appendTo,i=e.children,r=e.controlElement,s=e.innerProps,o=e.menuPlacement,u=e.menuPosition,a=C.useRef(null),l=C.useRef(null),c=C.useState(Xa(o)),d=Ge(c,2),f=d[0],h=d[1],m=C.useMemo(function(){return{setPortalPlacement:h}},[]),p=C.useState(null),g=Ge(p,2),b=g[0],I=g[1],v=C.useCallback(function(){if(r){var P=nm(r),A=u==="fixed"?0:window.pageYOffset,M=P[f]+A;(M!==(b==null?void 0:b.offset)||P.left!==(b==null?void 0:b.rect.left)||P.width!==(b==null?void 0:b.rect.width))&&I({offset:M,rect:P})}},[r,u,f,b==null?void 0:b.offset,b==null?void 0:b.rect.left,b==null?void 0:b.rect.width]);_i(function(){v()},[v]);var x=C.useCallback(function(){typeof l.current=="function"&&(l.current(),l.current=null),r&&a.current&&(l.current=_p(r,a.current,v,{elementResize:"ResizeObserver"in window}))},[r,v]);_i(function(){x()},[x]);var y=C.useCallback(function(P){a.current=P,x()},[x]);if(!n&&u!=="fixed"||!b)return null;var S=T("div",B({ref:y},z(V(V({},e),{},{offset:b.offset,position:u,rect:b.rect}),"menuPortal",{"menu-portal":!0}),s),i);return T(Za.Provider,{value:m},n?Nt.createPortal(S,n):S)},Pm=function(e){var n=e.isDisabled,i=e.isRtl;return{label:"container",direction:i?"rtl":void 0,pointerEvents:n?"none":void 0,position:"relative"}},Em=function(e){var n=e.children,i=e.innerProps,r=e.isDisabled,s=e.isRtl;return T("div",B({},z(e,"container",{"--is-disabled":r,"--is-rtl":s}),i),n)},Tm=function(e,n){var i=e.theme.spacing,r=e.isMulti,s=e.hasValue,o=e.selectProps.controlShouldRenderValue;return V({alignItems:"center",display:r&&s&&o?"flex":"grid",flex:1,flexWrap:"wrap",WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"},n?{}:{padding:"".concat(i.baseUnit/2,"px ").concat(i.baseUnit*2,"px")})},Vm=function(e){var n=e.children,i=e.innerProps,r=e.isMulti,s=e.hasValue;return T("div",B({},z(e,"valueContainer",{"value-container":!0,"value-container--is-multi":r,"value-container--has-value":s}),i),n)},wm=function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}},Fm=function(e){var n=e.children,i=e.innerProps;return T("div",B({},z(e,"indicatorsContainer",{indicators:!0}),i),n)},ka,Bm=["size"],Gm=["innerProps","isRtl","size"];function Mm(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}var Dm=process.env.NODE_ENV==="production"?{name:"8mmkcg",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0"}:{name:"tj5bde-Svg",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0;label:Svg;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgUmVhY3ROb2RlIH0gZnJvbSAncmVhY3QnO1xuaW1wb3J0IHsganN4LCBrZXlmcmFtZXMgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbmltcG9ydCB7XG4gIENvbW1vblByb3BzQW5kQ2xhc3NOYW1lLFxuICBDU1NPYmplY3RXaXRoTGFiZWwsXG4gIEdyb3VwQmFzZSxcbn0gZnJvbSAnLi4vdHlwZXMnO1xuaW1wb3J0IHsgZ2V0U3R5bGVQcm9wcyB9IGZyb20gJy4uL3V0aWxzJztcblxuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG4vLyBEcm9wZG93biAmIENsZWFyIEljb25zXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cblxuY29uc3QgU3ZnID0gKHtcbiAgc2l6ZSxcbiAgL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cyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KHtcbiAgaW5uZXJQcm9wcyxcbiAgaXNSdGwsXG4gIHNpemUgPSA0LFxuICAuLi5yZXN0UHJvcHNcbn06IExvYWRpbmdJbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPikgPT4ge1xuICByZXR1cm4gKFxuICAgIDxkaXZcbiAgICAgIHsuLi5nZXRTdHlsZVByb3BzKFxuICAgICAgICB7IC4uLnJlc3RQcm9wcywgaW5uZXJQcm9wcywgaXNSdGwsIHNpemUgfSxcbiAgICAgICAgJ2xvYWRpbmdJbmRpY2F0b3InLFxuICAgICAgICB7XG4gICAgICAgICAgaW5kaWNhdG9yOiB0cnVlLFxuICAgICAgICAgICdsb2FkaW5nLWluZGljYXRvcic6IHRydWUsXG4gICAgICAgIH1cbiAgICAgICl9XG4gICAgICB7Li4uaW5uZXJQcm9wc31cbiAgICA+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MH0gb2Zmc2V0PXtpc1J0bH0gLz5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXsxNjB9IG9mZnNldCAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezMyMH0gb2Zmc2V0PXshaXNSdGx9IC8+XG4gICAgPC9kaXY+XG4gICk7XG59O1xuIl19 */",toString:Mm},za=function(e){var n=e.size,i=Me(e,Bm);return T("svg",B({height:n,width:n,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:Dm},i))},Qi=function(e){return T(za,B({size:20},e),T("path",{d:"M14.348 14.849c-0.469 0.469-1.229 0.469-1.697 0l-2.651-3.030-2.651 3.029c-0.469 0.469-1.229 0.469-1.697 0-0.469-0.469-0.469-1.229 0-1.697l2.758-3.15-2.759-3.152c-0.469-0.469-0.469-1.228 0-1.697s1.228-0.469 1.697 0l2.652 3.031 2.651-3.031c0.469-0.469 1.228-0.469 1.697 0s0.469 1.229 0 1.697l-2.758 3.152 2.758 3.15c0.469 0.469 0.469 1.229 0 1.698z"}))},ja=function(e){return T(za,B({size:20},e),T("path",{d:"M4.516 7.548c0.436-0.446 1.043-0.481 1.576 0l3.908 3.747 3.908-3.747c0.533-0.481 1.141-0.446 1.574 0 0.436 0.445 0.408 1.197 0 1.615-0.406 0.418-4.695 4.502-4.695 4.502-0.217 0.223-0.502 0.335-0.787 0.335s-0.57-0.112-0.789-0.335c0 0-4.287-4.084-4.695-4.502s-0.436-1.17 0-1.615z"}))},Ya=function(e,n){var i=e.isFocused,r=e.theme,s=r.spacing.baseUnit,o=r.colors;return V({label:"indicatorContainer",display:"flex",transition:"color 150ms"},n?{}:{color:i?o.neutral60:o.neutral20,padding:s*2,":hover":{color:i?o.neutral80:o.neutral40}})},Nm=Ya,Rm=function(e){var n=e.children,i=e.innerProps;return T("div",B({},z(e,"dropdownIndicator",{indicator:!0,"dropdown-indicator":!0}),i),n||T(ja,null))},Lm=Ya,Wm=function(e){var n=e.children,i=e.innerProps;return T("div",B({},z(e,"clearIndicator",{indicator:!0,"clear-indicator":!0}),i),n||T(Qi,null))},Om=function(e,n){var i=e.isDisabled,r=e.theme,s=r.spacing.baseUnit,o=r.colors;return V({label:"indicatorSeparator",alignSelf:"stretch",width:1},n?{}:{backgroundColor:i?o.neutral10:o.neutral20,marginBottom:s*2,marginTop:s*2})},Xm=function(e){var n=e.innerProps;return T("span",B({},n,z(e,"indicatorSeparator",{"indicator-separator":!0})))},Zm=Np(ka||(ka=Rp([`
30
30
  0%, 80%, 100% { opacity: 0; }
31
31
  40% { opacity: 1; }
32
- `]))),Ym=function(e,n){var i=e.isFocused,r=e.size,s=e.theme,o=s.colors,u=s.spacing.baseUnit;return w({label:"loadingIndicator",display:"flex",transition:"color 150ms",alignSelf:"center",fontSize:r,lineHeight:1,marginRight:r,textAlign:"center",verticalAlign:"middle"},n?{}:{color:i?o.neutral60:o.neutral20,padding:u*2})},qi=function(e){var n=e.delay,i=e.offset;return V("span",{css:Ji({animation:"".concat(jm," 1s ease-in-out ").concat(n,"ms infinite;"),backgroundColor:"currentColor",borderRadius:"1em",display:"inline-block",marginLeft:i?"1em":void 0,height:"1em",verticalAlign:"top",width:"1em"},process.env.NODE_ENV==="production"?"":";label:LoadingDot;",process.env.NODE_ENV==="production"?"":"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW1RSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgUmVhY3ROb2RlIH0gZnJvbSAncmVhY3QnO1xuaW1wb3J0IHsganN4LCBrZXlmcmFtZXMgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbmltcG9ydCB7XG4gIENvbW1vblByb3BzQW5kQ2xhc3NOYW1lLFxuICBDU1NPYmplY3RXaXRoTGFiZWwsXG4gIEdyb3VwQmFzZSxcbn0gZnJvbSAnLi4vdHlwZXMnO1xuaW1wb3J0IHsgZ2V0U3R5bGVQcm9wcyB9IGZyb20gJy4uL3V0aWxzJztcblxuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG4vLyBEcm9wZG93biAmIENsZWFyIEljb25zXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cblxuY29uc3QgU3ZnID0gKHtcbiAgc2l6ZSxcbiAgLi4ucHJvcHNcbn06IEpTWC5JbnRyaW5zaWNFbGVtZW50c1snc3ZnJ10gJiB7IHNpemU6IG51bWJlciB9KSA9PiAoXG4gIDxzdmdcbiAgICBoZWlnaHQ9e3NpemV9XG4gICAgd2lkdGg9e3NpemV9XG4gICAgdmlld0JveD1cIjAgMCAyMCAyMFwiXG4gICAgYXJpYS1oaWRkZW49XCJ0cnVlXCJcbiAgICBmb2N1c2FibGU9XC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iAgICAgIHsuLi5nZXRTdHlsZVByb3BzKFxuICAgICAgICB7IC4uLnJlc3RQcm9wcywgaW5uZXJQcm9wcywgaXNSdGwsIHNpemUgfSxcbiAgICAgICAgJ2xvYWRpbmdJbmRpY2F0b3InLFxuICAgICAgICB7XG4gICAgICAgICAgaW5kaWNhdG9yOiB0cnVlLFxuICAgICAgICAgICdsb2FkaW5nLWluZGljYXRvcic6IHRydWUsXG4gICAgICAgIH1cbiAgICAgICl9XG4gICAgICB7Li4uaW5uZXJQcm9wc31cbiAgICA+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MH0gb2Zmc2V0PXtpc1J0bH0gLz5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXsxNjB9IG9mZnNldCAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezMyMH0gb2Zmc2V0PXshaXNSdGx9IC8+XG4gICAgPC9kaXY+XG4gICk7XG59O1xuIl19 */")})},Jm=function(e){var n=e.innerProps,i=e.isRtl,r=e.size,s=r===void 0?4:r,o=De(e,Wm);return V("div",B({},z(w(w({},o),{},{innerProps:n,isRtl:i,size:s}),"loadingIndicator",{indicator:!0,"loading-indicator":!0}),n),V(qi,{delay:0,offset:i}),V(qi,{delay:160,offset:!0}),V(qi,{delay:320,offset:!i}))},Um=function(e,n){var i=e.isDisabled,r=e.isFocused,s=e.theme,o=s.colors,u=s.borderRadius,a=s.spacing;return w({label:"control",alignItems:"center",cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:a.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms"},n?{}:{backgroundColor:i?o.neutral5:o.neutral0,borderColor:i?o.neutral10:r?o.primary:o.neutral20,borderRadius:u,borderStyle:"solid",borderWidth:1,boxShadow:r?"0 0 0 1px ".concat(o.primary):void 0,"&:hover":{borderColor:r?o.primary:o.neutral30}})},_m=function(e){var n=e.children,i=e.isDisabled,r=e.isFocused,s=e.innerRef,o=e.innerProps,u=e.menuIsOpen;return V("div",B({ref:s},z(e,"control",{control:!0,"control--is-disabled":i,"control--is-focused":r,"control--menu-is-open":u}),o,{"aria-disabled":i||void 0}),n)},Qm=_m,$m=["data"],Km=function(e,n){var i=e.theme.spacing;return n?{}:{paddingBottom:i.baseUnit*2,paddingTop:i.baseUnit*2}},qm=function(e){var n=e.children,i=e.cx,r=e.getStyles,s=e.getClassNames,o=e.Heading,u=e.headingProps,a=e.innerProps,l=e.label,c=e.theme,d=e.selectProps;return V("div",B({},z(e,"group",{group:!0}),a),V(o,B({},u,{selectProps:d,theme:c,getStyles:r,getClassNames:s,cx:i}),l),V("div",null,n))},eg=function(e,n){var i=e.theme,r=i.colors,s=i.spacing;return w({label:"group",cursor:"default",display:"block"},n?{}:{color:r.neutral40,fontSize:"75%",fontWeight:500,marginBottom:"0.25em",paddingLeft:s.baseUnit*3,paddingRight:s.baseUnit*3,textTransform:"uppercase"})},tg=function(e){var n=Oa(e);n.data;var i=De(n,$m);return V("div",B({},z(e,"groupHeading",{"group-heading":!0}),i))},ng=qm,ig=["innerRef","isDisabled","isHidden","inputClassName"],rg=function(e,n){var i=e.isDisabled,r=e.value,s=e.theme,o=s.spacing,u=s.colors;return w(w({visibility:i?"hidden":"visible",transform:r?"translateZ(0)":""},sg),n?{}:{margin:o.baseUnit/2,paddingBottom:o.baseUnit/2,paddingTop:o.baseUnit/2,color:u.neutral80})},$a={gridArea:"1 / 2",font:"inherit",minWidth:"2px",border:0,margin:0,outline:0,padding:0},sg={flex:"1 1 auto",display:"inline-grid",gridArea:"1 / 1 / 2 / 3",gridTemplateColumns:"0 min-content","&:after":w({content:'attr(data-value) " "',visibility:"hidden",whiteSpace:"pre"},$a)},og=function(e){return w({label:"input",color:"inherit",background:0,opacity:e?0:1,width:"100%"},$a)},ag=function(e){var n=e.cx,i=e.value,r=Oa(e),s=r.innerRef,o=r.isDisabled,u=r.isHidden,a=r.inputClassName,l=De(r,ig);return V("div",B({},z(e,"input",{"input-container":!0}),{"data-value":i||""}),V("input",B({className:n({input:!0},a),ref:s,style:og(u),disabled:o},l)))},ug=ag,lg=function(e,n){var i=e.theme,r=i.spacing,s=i.borderRadius,o=i.colors;return w({label:"multiValue",display:"flex",minWidth:0},n?{}:{backgroundColor:o.neutral10,borderRadius:s/2,margin:r.baseUnit/2})},cg=function(e,n){var i=e.theme,r=i.borderRadius,s=i.colors,o=e.cropWithEllipsis;return w({overflow:"hidden",textOverflow:o||o===void 0?"ellipsis":void 0,whiteSpace:"nowrap"},n?{}:{borderRadius:r/2,color:s.neutral80,fontSize:"85%",padding:3,paddingLeft:6})},dg=function(e,n){var i=e.theme,r=i.spacing,s=i.borderRadius,o=i.colors,u=e.isFocused;return w({alignItems:"center",display:"flex"},n?{}:{borderRadius:s/2,backgroundColor:u?o.dangerLight:void 0,paddingLeft:r.baseUnit,paddingRight:r.baseUnit,":hover":{backgroundColor:o.dangerLight,color:o.danger}})},Ka=function(e){var n=e.children,i=e.innerProps;return V("div",i,n)},fg=Ka,hg=Ka;function pg(t){var e=t.children,n=t.innerProps;return V("div",B({role:"button"},n),e||V(Ki,{size:14}))}var mg=function(e){var n=e.children,i=e.components,r=e.data,s=e.innerProps,o=e.isDisabled,u=e.removeProps,a=e.selectProps,l=i.Container,c=i.Label,d=i.Remove;return V(l,{data:r,innerProps:w(w({},z(e,"multiValue",{"multi-value":!0,"multi-value--is-disabled":o})),s),selectProps:a},V(c,{data:r,innerProps:w({},z(e,"multiValueLabel",{"multi-value__label":!0})),selectProps:a},n),V(d,{data:r,innerProps:w(w({},z(e,"multiValueRemove",{"multi-value__remove":!0})),{},{"aria-label":"Remove ".concat(n||"option")},u),selectProps:a}))},gg=mg,bg=function(e,n){var i=e.isDisabled,r=e.isFocused,s=e.isSelected,o=e.theme,u=o.spacing,a=o.colors;return w({label:"option",cursor:"default",display:"block",fontSize:"inherit",width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)"},n?{}:{backgroundColor:s?a.primary:r?a.primary25:"transparent",color:i?a.neutral20:s?a.neutral0:"inherit",padding:"".concat(u.baseUnit*2,"px ").concat(u.baseUnit*3,"px"),":active":{backgroundColor:i?void 0:s?a.primary:a.primary50}})},vg=function(e){var n=e.children,i=e.isDisabled,r=e.isFocused,s=e.isSelected,o=e.innerRef,u=e.innerProps;return V("div",B({},z(e,"option",{option:!0,"option--is-disabled":i,"option--is-focused":r,"option--is-selected":s}),{ref:o,"aria-disabled":i},u),n)},yg=vg,Ig=function(e,n){var i=e.theme,r=i.spacing,s=i.colors;return w({label:"placeholder",gridArea:"1 / 1 / 2 / 3"},n?{}:{color:s.neutral50,marginLeft:r.baseUnit/2,marginRight:r.baseUnit/2})},Cg=function(e){var n=e.children,i=e.innerProps;return V("div",B({},z(e,"placeholder",{placeholder:!0}),i),n)},xg=Cg,Ag=function(e,n){var i=e.isDisabled,r=e.theme,s=r.spacing,o=r.colors;return w({label:"singleValue",gridArea:"1 / 1 / 2 / 3",maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},n?{}:{color:i?o.neutral40:o.neutral80,marginLeft:s.baseUnit/2,marginRight:s.baseUnit/2})},Sg=function(e){var n=e.children,i=e.isDisabled,r=e.innerProps;return V("div",B({},z(e,"singleValue",{"single-value":!0,"single-value--is-disabled":i}),r),n)},Pg=Sg,Eg={ClearIndicator:Hm,Control:Qm,DropdownIndicator:Xm,DownChevron:_a,CrossIcon:Ki,Group:ng,GroupHeading:tg,IndicatorsContainer:Dm,IndicatorSeparator:zm,Input:ug,LoadingIndicator:Jm,Menu:Im,MenuList:xm,MenuPortal:Vm,LoadingMessage:Em,NoOptionsMessage:Pm,MultiValue:gg,MultiValueContainer:fg,MultiValueLabel:hg,MultiValueRemove:pg,Option:yg,Placeholder:xg,SelectContainer:Fm,SingleValue:Pg,ValueContainer:Gm},Tg=function(e){return w(w({},Eg),e.components)},qa=Number.isNaN||function(e){return typeof e=="number"&&e!==e};function Vg(t,e){return!!(t===e||qa(t)&&qa(e))}function wg(t,e){if(t.length!==e.length)return!1;for(var n=0;n<t.length;n++)if(!Vg(t[n],e[n]))return!1;return!0}function Fg(t,e){e===void 0&&(e=wg);var n=null;function i(){for(var r=[],s=0;s<arguments.length;s++)r[s]=arguments[s];if(n&&n.lastThis===this&&e(r,n.lastArgs))return n.lastResult;var o=t.apply(this,r);return n={lastResult:o,lastArgs:r,lastThis:this},o}return i.clear=function(){n=null},i}function Bg(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}for(var Gg=process.env.NODE_ENV==="production"?{name:"7pg0cj-a11yText",styles:"label:a11yText;z-index:9999;border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap"}:{name:"1f43avz-a11yText-A11yText",styles:"label:a11yText;z-index:9999;border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap;label:A11yText;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkExMXlUZXh0LnRzeCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFNSSIsImZpbGUiOiJBMTF5VGV4dC50c3giLCJzb3VyY2VzQ29udGVudCI6WyIvKiogQGpzeCBqc3ggKi9cbmltcG9ydCB7IGpzeCB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuLy8gQXNzaXN0aXZlIHRleHQgdG8gZGVzY3JpYmUgdmlzdWFsIGVsZW1lbnRzLiBIaWRkZW4gZm9yIHNpZ2h0ZWQgdXNlcnMuXG5jb25zdCBBMTF5VGV4dCA9IChwcm9wczogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzcGFuJ10pID0+IChcbiAgPHNwYW5cbiAgICBjc3M9e3tcbiAgICAgIGxhYmVsOiAnYTExeVRleHQnLFxuICAgICAgekluZGV4OiA5OTk5LFxuICAgICAgYm9yZGVyOiAwLFxuICAgICAgY2xpcDogJ3JlY3QoMXB4LCAxcHgsIDFweCwgMXB4KScsXG4gICAgICBoZWlnaHQ6IDEsXG4gICAgICB3aWR0aDogMSxcbiAgICAgIHBvc2l0aW9uOiAnYWJzb2x1dGUnLFxuICAgICAgb3ZlcmZsb3c6ICdoaWRkZW4nLFxuICAgICAgcGFkZGluZzogMCxcbiAgICAgIHdoaXRlU3BhY2U6ICdub3dyYXAnLFxuICAgIH19XG4gICAgey4uLnByb3BzfVxuICAvPlxuKTtcblxuZXhwb3J0IGRlZmF1bHQgQTExeVRleHQ7XG4iXX0= */",toString:Bg},Mg=function(e){return V("span",B({css:Gg},e))},eu=Mg,Dg={guidance:function(e){var n=e.isSearchable,i=e.isMulti,r=e.tabSelectsValue,s=e.context,o=e.isInitialFocus;switch(s){case"menu":return"Use Up and Down to choose options, press Enter to select the currently focused option, press Escape to exit the menu".concat(r?", press Tab to select the option and exit the menu":"",".");case"input":return o?"".concat(e["aria-label"]||"Select"," is focused ").concat(n?",type to refine list":"",", press Down to open the menu, ").concat(i?" press left to focus selected values":""):"";case"value":return"Use left and right to toggle between focused values, press Backspace to remove the currently focused value";default:return""}},onChange:function(e){var n=e.action,i=e.label,r=i===void 0?"":i,s=e.labels,o=e.isDisabled;switch(n){case"deselect-option":case"pop-value":case"remove-value":return"option ".concat(r,", deselected.");case"clear":return"All selected options have been cleared.";case"initial-input-focus":return"option".concat(s.length>1?"s":""," ").concat(s.join(","),", selected.");case"select-option":return o?"option ".concat(r," is disabled. Select another option."):"option ".concat(r,", selected.");default:return""}},onFocus:function(e){var n=e.context,i=e.focused,r=e.options,s=e.label,o=s===void 0?"":s,u=e.selectValue,a=e.isDisabled,l=e.isSelected,c=e.isAppleDevice,d=function(p,g){return p&&p.length?"".concat(p.indexOf(g)+1," of ").concat(p.length):""};if(n==="value"&&u)return"value ".concat(o," focused, ").concat(d(u,i),".");if(n==="menu"&&c){var f=a?" disabled":"",h="".concat(l?" selected":"").concat(f);return"".concat(o).concat(h,", ").concat(d(r,i),".")}return""},onFilter:function(e){var n=e.inputValue,i=e.resultsMessage;return"".concat(i).concat(n?" for search term "+n:"",".")}},Ng=function(e){var n=e.ariaSelection,i=e.focusedOption,r=e.focusedValue,s=e.focusableOptions,o=e.isFocused,u=e.selectValue,a=e.selectProps,l=e.id,c=e.isAppleDevice,d=a.ariaLiveMessages,f=a.getOptionLabel,h=a.inputValue,m=a.isMulti,p=a.isOptionDisabled,g=a.isSearchable,b=a.menuIsOpen,I=a.options,v=a.screenReaderStatus,x=a.tabSelectsValue,y=a.isLoading,S=a["aria-label"],P=a["aria-live"],A=C.useMemo(function(){return w(w({},Dg),d||{})},[d]),M=C.useMemo(function(){var D="";if(n&&A.onChange){var L=n.option,ne=n.options,_=n.removedValue,Ae=n.removedValues,ge=n.value,ft=function(ve){return Array.isArray(ve)?null:ve},J=_||L||ft(ge),ie=J?f(J):"",be=ne||Ae||void 0,Se=be?be.map(f):[],ce=w({isDisabled:J&&p(J,u),label:ie,labels:Se},n);D=A.onChange(ce)}return D},[n,A,p,u,f]),N=C.useMemo(function(){var D="",L=i||r,ne=!!(i&&u&&u.includes(i));if(L&&A.onFocus){var _={focused:L,label:f(L),isDisabled:p(L,u),isSelected:ne,options:s,context:L===i?"menu":"value",selectValue:u,isAppleDevice:c};D=A.onFocus(_)}return D},[i,r,f,p,A,s,u,c]),k=C.useMemo(function(){var D="";if(b&&I.length&&!y&&A.onFilter){var L=v({count:s.length});D=A.onFilter({inputValue:h,resultsMessage:L})}return D},[s,h,b,A,I,v,y]),Y=(n==null?void 0:n.action)==="initial-input-focus",le=C.useMemo(function(){var D="";if(A.guidance){var L=r?"value":b?"menu":"input";D=A.guidance({"aria-label":S,context:L,isDisabled:i&&p(i,u),isMulti:m,isSearchable:g,tabSelectsValue:x,isInitialFocus:Y})}return D},[S,i,r,m,p,g,b,A,u,x,Y]),se=V(C.Fragment,null,V("span",{id:"aria-selection"},M),V("span",{id:"aria-focused"},N),V("span",{id:"aria-results"},k),V("span",{id:"aria-guidance"},le));return V(C.Fragment,null,V(eu,{id:l},Y&&se),V(eu,{"aria-live":P,"aria-atomic":"false","aria-relevant":"additions text",role:"log"},o&&!Y&&se))},Wg=Ng,er=[{base:"A",letters:"AⒶAÀÁÂẦẤẪẨÃĀĂẰẮẴẲȦǠÄǞẢÅǺǍȀȂẠẬẶḀĄȺⱯ"},{base:"AA",letters:"Ꜳ"},{base:"AE",letters:"ÆǼǢ"},{base:"AO",letters:"Ꜵ"},{base:"AU",letters:"Ꜷ"},{base:"AV",letters:"ꜸꜺ"},{base:"AY",letters:"Ꜽ"},{base:"B",letters:"BⒷBḂḄḆɃƂƁ"},{base:"C",letters:"CⒸCĆĈĊČÇḈƇȻꜾ"},{base:"D",letters:"DⒹDḊĎḌḐḒḎĐƋƊƉꝹ"},{base:"DZ",letters:"DZDŽ"},{base:"Dz",letters:"DzDž"},{base:"E",letters:"EⒺEÈÉÊỀẾỄỂẼĒḔḖĔĖËẺĚȄȆẸỆȨḜĘḘḚƐƎ"},{base:"F",letters:"FⒻFḞƑꝻ"},{base:"G",letters:"GⒼGǴĜḠĞĠǦĢǤƓꞠꝽꝾ"},{base:"H",letters:"HⒽHĤḢḦȞḤḨḪĦⱧⱵꞍ"},{base:"I",letters:"IⒾIÌÍÎĨĪĬİÏḮỈǏȈȊỊĮḬƗ"},{base:"J",letters:"JⒿJĴɈ"},{base:"K",letters:"KⓀKḰǨḲĶḴƘⱩꝀꝂꝄꞢ"},{base:"L",letters:"LⓁLĿĹĽḶḸĻḼḺŁȽⱢⱠꝈꝆꞀ"},{base:"LJ",letters:"LJ"},{base:"Lj",letters:"Lj"},{base:"M",letters:"MⓂMḾṀṂⱮƜ"},{base:"N",letters:"NⓃNǸŃÑṄŇṆŅṊṈȠƝꞐꞤ"},{base:"NJ",letters:"NJ"},{base:"Nj",letters:"Nj"},{base:"O",letters:"OⓄOÒÓÔỒỐỖỔÕṌȬṎŌṐṒŎȮȰÖȪỎŐǑȌȎƠỜỚỠỞỢỌỘǪǬØǾƆƟꝊꝌ"},{base:"OI",letters:"Ƣ"},{base:"OO",letters:"Ꝏ"},{base:"OU",letters:"Ȣ"},{base:"P",letters:"PⓅPṔṖƤⱣꝐꝒꝔ"},{base:"Q",letters:"QⓆQꝖꝘɊ"},{base:"R",letters:"RⓇRŔṘŘȐȒṚṜŖṞɌⱤꝚꞦꞂ"},{base:"S",letters:"SⓈSẞŚṤŜṠŠṦṢṨȘŞⱾꞨꞄ"},{base:"T",letters:"TⓉTṪŤṬȚŢṰṮŦƬƮȾꞆ"},{base:"TZ",letters:"Ꜩ"},{base:"U",letters:"UⓊUÙÚÛŨṸŪṺŬÜǛǗǕǙỦŮŰǓȔȖƯỪỨỮỬỰỤṲŲṶṴɄ"},{base:"V",letters:"VⓋVṼṾƲꝞɅ"},{base:"VY",letters:"Ꝡ"},{base:"W",letters:"WⓌWẀẂŴẆẄẈⱲ"},{base:"X",letters:"XⓍXẊẌ"},{base:"Y",letters:"YⓎYỲÝŶỸȲẎŸỶỴƳɎỾ"},{base:"Z",letters:"ZⓏZŹẐŻŽẒẔƵȤⱿⱫꝢ"},{base:"a",letters:"aⓐaẚàáâầấẫẩãāăằắẵẳȧǡäǟảåǻǎȁȃạậặḁąⱥɐ"},{base:"aa",letters:"ꜳ"},{base:"ae",letters:"æǽǣ"},{base:"ao",letters:"ꜵ"},{base:"au",letters:"ꜷ"},{base:"av",letters:"ꜹꜻ"},{base:"ay",letters:"ꜽ"},{base:"b",letters:"bⓑbḃḅḇƀƃɓ"},{base:"c",letters:"cⓒcćĉċčçḉƈȼꜿↄ"},{base:"d",letters:"dⓓdḋďḍḑḓḏđƌɖɗꝺ"},{base:"dz",letters:"dzdž"},{base:"e",letters:"eⓔeèéêềếễểẽēḕḗĕėëẻěȅȇẹệȩḝęḙḛɇɛǝ"},{base:"f",letters:"fⓕfḟƒꝼ"},{base:"g",letters:"gⓖgǵĝḡğġǧģǥɠꞡᵹꝿ"},{base:"h",letters:"hⓗhĥḣḧȟḥḩḫẖħⱨⱶɥ"},{base:"hv",letters:"ƕ"},{base:"i",letters:"iⓘiìíîĩīĭïḯỉǐȉȋịįḭɨı"},{base:"j",letters:"jⓙjĵǰɉ"},{base:"k",letters:"kⓚkḱǩḳķḵƙⱪꝁꝃꝅꞣ"},{base:"l",letters:"lⓛlŀĺľḷḹļḽḻſłƚɫⱡꝉꞁꝇ"},{base:"lj",letters:"lj"},{base:"m",letters:"mⓜmḿṁṃɱɯ"},{base:"n",letters:"nⓝnǹńñṅňṇņṋṉƞɲʼnꞑꞥ"},{base:"nj",letters:"nj"},{base:"o",letters:"oⓞoòóôồốỗổõṍȭṏōṑṓŏȯȱöȫỏőǒȍȏơờớỡởợọộǫǭøǿɔꝋꝍɵ"},{base:"oi",letters:"ƣ"},{base:"ou",letters:"ȣ"},{base:"oo",letters:"ꝏ"},{base:"p",letters:"pⓟpṕṗƥᵽꝑꝓꝕ"},{base:"q",letters:"qⓠqɋꝗꝙ"},{base:"r",letters:"rⓡrŕṙřȑȓṛṝŗṟɍɽꝛꞧꞃ"},{base:"s",letters:"sⓢsßśṥŝṡšṧṣṩșşȿꞩꞅẛ"},{base:"t",letters:"tⓣtṫẗťṭțţṱṯŧƭʈⱦꞇ"},{base:"tz",letters:"ꜩ"},{base:"u",letters:"uⓤuùúûũṹūṻŭüǜǘǖǚủůűǔȕȗưừứữửựụṳųṷṵʉ"},{base:"v",letters:"vⓥvṽṿʋꝟʌ"},{base:"vy",letters:"ꝡ"},{base:"w",letters:"wⓦwẁẃŵẇẅẘẉⱳ"},{base:"x",letters:"xⓧxẋẍ"},{base:"y",letters:"yⓨyỳýŷỹȳẏÿỷẙỵƴɏỿ"},{base:"z",letters:"zⓩzźẑżžẓẕƶȥɀⱬꝣ"}],Rg=new RegExp("["+er.map(function(t){return t.letters}).join("")+"]","g"),tu={},tr=0;tr<er.length;tr++)for(var nr=er[tr],ir=0;ir<nr.letters.length;ir++)tu[nr.letters[ir]]=nr.base;var nu=function(e){return e.replace(Rg,function(n){return tu[n]})},Lg=Fg(nu),iu=function(e){return e.replace(/^\s+|\s+$/g,"")},Og=function(e){return"".concat(e.label," ").concat(e.value)},Xg=function(e){return function(n,i){if(n.data.__isNew__)return!0;var r=w({ignoreCase:!0,ignoreAccents:!0,stringify:Og,trim:!0,matchFrom:"any"},e),s=r.ignoreCase,o=r.ignoreAccents,u=r.stringify,a=r.trim,l=r.matchFrom,c=a?iu(i):i,d=a?iu(u(n)):u(n);return s&&(c=c.toLowerCase(),d=d.toLowerCase()),o&&(c=Lg(c),d=nu(d)),l==="start"?d.substr(0,c.length)===c:d.indexOf(c)>-1}},Zg=["innerRef"];function Hg(t){var e=t.innerRef,n=De(t,Zg),i=fm(n,"onExited","in","enter","exit","appear");return V("input",B({ref:e},i,{css:Ji({label:"dummyInput",background:0,border:0,caretColor:"transparent",fontSize:"inherit",gridArea:"1 / 1 / 2 / 3",outline:0,padding:0,width:1,color:"transparent",left:-100,opacity:0,position:"relative",transform:"scale(.01)"},process.env.NODE_ENV==="production"?"":";label:DummyInput;",process.env.NODE_ENV==="production"?"":"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkR1bW15SW5wdXQudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCTSIsImZpbGUiOiJEdW1teUlucHV0LnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgUmVmIH0gZnJvbSAncmVhY3QnO1xuaW1wb3J0IHsganN4IH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnO1xuaW1wb3J0IHsgcmVtb3ZlUHJvcHMgfSBmcm9tICcuLi91dGlscyc7XG5cbmV4cG9ydCBkZWZhdWx0IGZ1bmN0aW9uIER1bW15SW5wdXQoe1xuICBpbm5lclJlZixcbiAgLi4ucHJvcHNcbn06IEpTWC5JbnRyaW5za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GN1cnNvciBvbiBtb2JpbGUgd2hpbHN0IG1haW50YWluaW5nIFwic2Nyb2xsIGludG8gdmlld1wiIGJlaGF2aW91clxuICAgICAgICBsZWZ0OiAtMTAwLFxuICAgICAgICBvcGFjaXR5OiAwLFxuICAgICAgICBwb3NpdGlvbjogJ3JlbGF0aXZlJyxcbiAgICAgICAgdHJhbnNmb3JtOiAnc2NhbGUoLjAxKScsXG4gICAgICB9fVxuICAgIC8+XG4gICk7XG59XG4iXX0= */")}))}var kg=function(e){e.cancelable&&e.preventDefault(),e.stopPropagation()};function zg(t){var e=t.isEnabled,n=t.onBottomArrive,i=t.onBottomLeave,r=t.onTopArrive,s=t.onTopLeave,o=C.useRef(!1),u=C.useRef(!1),a=C.useRef(0),l=C.useRef(null),c=C.useCallback(function(g,b){if(l.current!==null){var I=l.current,v=I.scrollTop,x=I.scrollHeight,y=I.clientHeight,S=l.current,P=b>0,A=x-y-v,M=!1;A>b&&o.current&&(i&&i(g),o.current=!1),P&&u.current&&(s&&s(g),u.current=!1),P&&b>A?(n&&!o.current&&n(g),S.scrollTop=x,M=!0,o.current=!0):!P&&-b>v&&(r&&!u.current&&r(g),S.scrollTop=0,M=!0,u.current=!0),M&&kg(g)}},[n,i,r,s]),d=C.useCallback(function(g){c(g,g.deltaY)},[c]),f=C.useCallback(function(g){a.current=g.changedTouches[0].clientY},[]),h=C.useCallback(function(g){var b=a.current-g.changedTouches[0].clientY;c(g,b)},[c]),m=C.useCallback(function(g){if(g){var b=lm?{passive:!1}:!1;g.addEventListener("wheel",d,b),g.addEventListener("touchstart",f,b),g.addEventListener("touchmove",h,b)}},[h,f,d]),p=C.useCallback(function(g){g&&(g.removeEventListener("wheel",d,!1),g.removeEventListener("touchstart",f,!1),g.removeEventListener("touchmove",h,!1))},[h,f,d]);return C.useEffect(function(){if(e){var g=l.current;return m(g),function(){p(g)}}},[e,m,p]),function(g){l.current=g}}var ru=["boxSizing","height","overflow","paddingRight","position"],su={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function ou(t){t.preventDefault()}function au(t){t.stopPropagation()}function uu(){var t=this.scrollTop,e=this.scrollHeight,n=t+this.offsetHeight;t===0?this.scrollTop=1:n===e&&(this.scrollTop=t-1)}function lu(){return"ontouchstart"in window||navigator.maxTouchPoints}var cu=!!(typeof window<"u"&&window.document&&window.document.createElement),Nt=0,ct={capture:!1,passive:!1};function jg(t){var e=t.isEnabled,n=t.accountForScrollbars,i=n===void 0?!0:n,r=C.useRef({}),s=C.useRef(null),o=C.useCallback(function(a){if(cu){var l=document.body,c=l&&l.style;if(i&&ru.forEach(function(m){var p=c&&c[m];r.current[m]=p}),i&&Nt<1){var d=parseInt(r.current.paddingRight,10)||0,f=document.body?document.body.clientWidth:0,h=window.innerWidth-f+d||0;Object.keys(su).forEach(function(m){var p=su[m];c&&(c[m]=p)}),c&&(c.paddingRight="".concat(h,"px"))}l&&lu()&&(l.addEventListener("touchmove",ou,ct),a&&(a.addEventListener("touchstart",uu,ct),a.addEventListener("touchmove",au,ct))),Nt+=1}},[i]),u=C.useCallback(function(a){if(cu){var l=document.body,c=l&&l.style;Nt=Math.max(Nt-1,0),i&&Nt<1&&ru.forEach(function(d){var f=r.current[d];c&&(c[d]=f)}),l&&lu()&&(l.removeEventListener("touchmove",ou,ct),a&&(a.removeEventListener("touchstart",uu,ct),a.removeEventListener("touchmove",au,ct)))}},[i]);return C.useEffect(function(){if(e){var a=s.current;return o(a),function(){u(a)}}},[e,o,u]),function(a){s.current=a}}function Yg(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}var Jg=function(e){var n=e.target;return n.ownerDocument.activeElement&&n.ownerDocument.activeElement.blur()},Ug=process.env.NODE_ENV==="production"?{name:"1kfdb0e",styles:"position:fixed;left:0;bottom:0;right:0;top:0"}:{name:"bp8cua-ScrollManager",styles:"position:fixed;left:0;bottom:0;right:0;top:0;label:ScrollManager;",map:"/*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2V0KGVsZW1lbnQpO1xuICB9O1xuXG4gIHJldHVybiAoXG4gICAgPEZyYWdtZW50PlxuICAgICAge2xvY2tFbmFibGVkICYmIChcbiAgICAgICAgPGRpdlxuICAgICAgICAgIG9uQ2xpY2s9e2JsdXJTZWxlY3RJbnB1dH1cbiAgICAgICAgICBjc3M9e3sgcG9zaXRpb246ICdmaXhlZCcsIGxlZnQ6IDAsIGJvdHRvbTogMCwgcmlnaHQ6IDAsIHRvcDogMCB9fVxuICAgICAgICAvPlxuICAgICAgKX1cbiAgICAgIHtjaGlsZHJlbih0YXJnZXRSZWYpfVxuICAgIDwvRnJhZ21lbnQ+XG4gICk7XG59XG4iXX0= */",toString:Yg};function _g(t){var e=t.children,n=t.lockEnabled,i=t.captureEnabled,r=i===void 0?!0:i,s=t.onBottomArrive,o=t.onBottomLeave,u=t.onTopArrive,a=t.onTopLeave,l=zg({isEnabled:r,onBottomArrive:s,onBottomLeave:o,onTopArrive:u,onTopLeave:a}),c=jg({isEnabled:n}),d=function(h){l(h),c(h)};return V(C.Fragment,null,n&&V("div",{onClick:Jg,css:Ug}),e(d))}function Qg(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}var $g=process.env.NODE_ENV==="production"?{name:"1a0ro4n-requiredInput",styles:"label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%"}:{name:"5kkxb2-requiredInput-RequiredInput",styles:"label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%;label:RequiredInput;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlJlcXVpcmVkSW5wdXQudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQWNJIiwiZmlsZSI6IlJlcXVpcmVkSW5wdXQudHN4Iiwic291cmNlc0NvbnRlbnQiOlsiLyoqIEBqc3gganN4ICovXG5pbXBvcnQgeyBGb2N1c0V2ZW50SGFuZGxlciwgRnVuY3Rpb25Db21wb25lbnQgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3ggfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbmNvbnN0IFJlcXVpcmVkSW5wdXQ6IEZ1bmN0aW9uQ29tcG9uZW50PHtcbiAgcmVhZG9ubHkgbmFtZT86IHN0cmluZztcbiAgcmVhZG9ubHkgb25Gb2N1czogRm9jdXNFdmVudEhhbmRsZXI8SFRNTElucHV0RWxlbWVudD47XG59PiA9ICh7IG5hbWUsIG9uRm9jdXMgfSkgPT4gKFxuICA8aW5wdXRcbiAgICByZXF1aXJlZFxuICAgIG5hbWU9e25hbWV9XG4gICAgdGFiSW5kZXg9ey0xfVxuICAgIGFyaWEtaGlkZGVuPVwidHJ1ZVwiXG4gICAgb25Gb2N1cz17b25Gb2N1c31cbiAgICBjc3M9e3tcbiAgICAgIGxhYmVsOiAncmVxdWlyZWRJbnB1dCcsXG4gICAgICBvcGFjaXR5OiAwLFxuICAgICAgcG9pbnRlckV2ZW50czogJ25vbmUnLFxuICAgICAgcG9zaXRpb246ICdhYnNvbHV0ZScsXG4gICAgICBib3R0b206IDAsXG4gICAgICBsZWZ0OiAwLFxuICAgICAgcmlnaHQ6IDAsXG4gICAgICB3aWR0aDogJzEwMCUnLFxuICAgIH19XG4gICAgLy8gUHJldmVudCBgU3dpdGNoaW5nIGZyb20gdW5jb250cm9sbGVkIHRvIGNvbnRyb2xsZWRgIGVycm9yXG4gICAgdmFsdWU9XCJcIlxuICAgIG9uQ2hhbmdlPXsoKSA9PiB7fX1cbiAgLz5cbik7XG5cbmV4cG9ydCBkZWZhdWx0IFJlcXVpcmVkSW5wdXQ7XG4iXX0= */",toString:Qg},Kg=function(e){var n=e.name,i=e.onFocus;return V("input",{required:!0,name:n,tabIndex:-1,"aria-hidden":"true",onFocus:i,css:$g,value:"",onChange:function(){}})},qg=Kg;function rr(t){var e;return typeof window<"u"&&window.navigator!=null?t.test(((e=window.navigator.userAgentData)===null||e===void 0?void 0:e.platform)||window.navigator.platform):!1}function eb(){return rr(/^iPhone/i)}function du(){return rr(/^Mac/i)}function tb(){return rr(/^iPad/i)||du()&&navigator.maxTouchPoints>1}function nb(){return eb()||tb()}function ib(){return du()||nb()}var rb=function(e){return e.label},sb=function(e){return e.label},ob=function(e){return e.value},ab=function(e){return!!e.isDisabled},ub={clearIndicator:Zm,container:wm,control:Um,dropdownIndicator:Om,group:Km,groupHeading:eg,indicatorsContainer:Mm,indicatorSeparator:km,input:rg,loadingIndicator:Ym,loadingMessage:Sm,menu:bm,menuList:Cm,menuPortal:Tm,multiValue:lg,multiValueLabel:cg,multiValueRemove:dg,noOptionsMessage:Am,option:bg,placeholder:Ig,singleValue:Ag,valueContainer:Bm},lb={primary:"#2684FF",primary75:"#4C9AFF",primary50:"#B2D4FF",primary25:"#DEEBFF",danger:"#DE350B",dangerLight:"#FFBDAD",neutral0:"hsl(0, 0%, 100%)",neutral5:"hsl(0, 0%, 95%)",neutral10:"hsl(0, 0%, 90%)",neutral20:"hsl(0, 0%, 80%)",neutral30:"hsl(0, 0%, 70%)",neutral40:"hsl(0, 0%, 60%)",neutral50:"hsl(0, 0%, 50%)",neutral60:"hsl(0, 0%, 40%)",neutral70:"hsl(0, 0%, 30%)",neutral80:"hsl(0, 0%, 20%)",neutral90:"hsl(0, 0%, 10%)"},cb=4,fu=4,db=38,fb=fu*2,hb={baseUnit:fu,controlHeight:db,menuGutter:fb},sr={borderRadius:cb,colors:lb,spacing:hb},pb={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:Ha(),captureMenuScroll:!Ha(),classNames:{},closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:Xg(),formatGroupLabel:rb,getOptionLabel:sb,getOptionValue:ob,isDisabled:!1,isLoading:!1,isMulti:!1,isRtl:!1,isSearchable:!0,isOptionDisabled:ab,loadingMessage:function(){return"Loading..."},maxMenuHeight:300,minMenuHeight:140,menuIsOpen:!1,menuPlacement:"bottom",menuPosition:"absolute",menuShouldBlockScroll:!1,menuShouldScrollIntoView:!am(),noOptionsMessage:function(){return"No options"},openMenuOnFocus:!1,openMenuOnClick:!0,options:[],pageSize:5,placeholder:"Select...",screenReaderStatus:function(e){var n=e.count;return"".concat(n," result").concat(n!==1?"s":""," available")},styles:{},tabIndex:0,tabSelectsValue:!0,unstyled:!1};function hu(t,e,n,i){var r=vu(t,e,n),s=yu(t,e,n),o=bu(t,e),u=wn(t,e);return{type:"option",data:e,isDisabled:r,isSelected:s,label:o,value:u,index:i}}function Vn(t,e){return t.options.map(function(n,i){if("options"in n){var r=n.options.map(function(o,u){return hu(t,o,e,u)}).filter(function(o){return gu(t,o)});return r.length>0?{type:"group",data:n,options:r,index:i}:void 0}var s=hu(t,n,e,i);return gu(t,s)?s:void 0}).filter(cm)}function pu(t){return t.reduce(function(e,n){return n.type==="group"?e.push.apply(e,Ri(n.options.map(function(i){return i.data}))):e.push(n.data),e},[])}function mu(t,e){return t.reduce(function(n,i){return i.type==="group"?n.push.apply(n,Ri(i.options.map(function(r){return{data:r.data,id:"".concat(e,"-").concat(i.index,"-").concat(r.index)}}))):n.push({data:i.data,id:"".concat(e,"-").concat(i.index)}),n},[])}function mb(t,e){return pu(Vn(t,e))}function gu(t,e){var n=t.inputValue,i=n===void 0?"":n,r=e.data,s=e.isSelected,o=e.label,u=e.value;return(!Cu(t)||!s)&&Iu(t,{label:o,value:u,data:r},i)}function gb(t,e){var n=t.focusedValue,i=t.selectValue,r=i.indexOf(n);if(r>-1){var s=e.indexOf(n);if(s>-1)return n;if(r<e.length)return e[r]}return null}function bb(t,e){var n=t.focusedOption;return n&&e.indexOf(n)>-1?n:e[0]}var or=function(e,n){var i,r=(i=e.find(function(s){return s.data===n}))===null||i===void 0?void 0:i.id;return r||null},bu=function(e,n){return e.getOptionLabel(n)},wn=function(e,n){return e.getOptionValue(n)};function vu(t,e,n){return typeof t.isOptionDisabled=="function"?t.isOptionDisabled(e,n):!1}function yu(t,e,n){if(n.indexOf(e)>-1)return!0;if(typeof t.isOptionSelected=="function")return t.isOptionSelected(e,n);var i=wn(t,e);return n.some(function(r){return wn(t,r)===i})}function Iu(t,e,n){return t.filterOption?t.filterOption(e,n):!0}var Cu=function(e){var n=e.hideSelectedOptions,i=e.isMulti;return n===void 0?i:n},vb=1,xu=function(t){Fh(n,t);var e=Mh(n);function n(i){var r;if(Vh(this,n),r=e.call(this,i),r.state={ariaSelection:null,focusedOption:null,focusedOptionId:null,focusableOptionsWithIds:[],focusedValue:null,inputIsHidden:!1,isFocused:!1,selectValue:[],clearFocusValueOnUpdate:!1,prevWasFocused:!1,inputIsHiddenAfterUpdate:void 0,prevProps:void 0,instancePrefix:""},r.blockOptionHover=!1,r.isComposing=!1,r.commonProps=void 0,r.initialTouchX=0,r.initialTouchY=0,r.openAfterFocus=!1,r.scrollToFocusedOptionOnUpdate=!1,r.userIsDragging=void 0,r.isAppleDevice=ib(),r.controlRef=null,r.getControlRef=function(a){r.controlRef=a},r.focusedOptionRef=null,r.getFocusedOptionRef=function(a){r.focusedOptionRef=a},r.menuListRef=null,r.getMenuListRef=function(a){r.menuListRef=a},r.inputRef=null,r.getInputRef=function(a){r.inputRef=a},r.focus=r.focusInput,r.blur=r.blurInput,r.onChange=function(a,l){var c=r.props,d=c.onChange,f=c.name;l.name=f,r.ariaOnChange(a,l),d(a,l)},r.setValue=function(a,l,c){var d=r.props,f=d.closeMenuOnSelect,h=d.isMulti,m=d.inputValue;r.onInputChange("",{action:"set-value",prevInputValue:m}),f&&(r.setState({inputIsHiddenAfterUpdate:!h}),r.onMenuClose()),r.setState({clearFocusValueOnUpdate:!0}),r.onChange(a,{action:l,option:c})},r.selectOption=function(a){var l=r.props,c=l.blurInputOnSelect,d=l.isMulti,f=l.name,h=r.state.selectValue,m=d&&r.isOptionSelected(a,h),p=r.isOptionDisabled(a,h);if(m){var g=r.getOptionValue(a);r.setValue(h.filter(function(b){return r.getOptionValue(b)!==g}),"deselect-option",a)}else if(!p)d?r.setValue([].concat(Ri(h),[a]),"select-option",a):r.setValue(a,"select-option");else{r.ariaOnChange(a,{action:"select-option",option:a,name:f});return}c&&r.blurInput()},r.removeValue=function(a){var l=r.props.isMulti,c=r.state.selectValue,d=r.getOptionValue(a),f=c.filter(function(m){return r.getOptionValue(m)!==d}),h=Tn(l,f,f[0]||null);r.onChange(h,{action:"remove-value",removedValue:a}),r.focusInput()},r.clearValue=function(){var a=r.state.selectValue;r.onChange(Tn(r.props.isMulti,[],null),{action:"clear",removedValues:a})},r.popValue=function(){var a=r.props.isMulti,l=r.state.selectValue,c=l[l.length-1],d=l.slice(0,l.length-1),f=Tn(a,d,d[0]||null);r.onChange(f,{action:"pop-value",removedValue:c})},r.getFocusedOptionId=function(a){return or(r.state.focusableOptionsWithIds,a)},r.getFocusableOptionsWithIds=function(){return mu(Vn(r.props,r.state.selectValue),r.getElementId("option"))},r.getValue=function(){return r.state.selectValue},r.cx=function(){for(var a=arguments.length,l=new Array(a),c=0;c<a;c++)l[c]=arguments[c];return nm.apply(void 0,[r.props.classNamePrefix].concat(l))},r.getOptionLabel=function(a){return bu(r.props,a)},r.getOptionValue=function(a){return wn(r.props,a)},r.getStyles=function(a,l){var c=r.props.unstyled,d=ub[a](l,c);d.boxSizing="border-box";var f=r.props.styles[a];return f?f(d,l):d},r.getClassNames=function(a,l){var c,d;return(c=(d=r.props.classNames)[a])===null||c===void 0?void 0:c.call(d,l)},r.getElementId=function(a){return"".concat(r.state.instancePrefix,"-").concat(a)},r.getComponents=function(){return Tg(r.props)},r.buildCategorizedOptions=function(){return Vn(r.props,r.state.selectValue)},r.getCategorizedOptions=function(){return r.props.menuIsOpen?r.buildCategorizedOptions():[]},r.buildFocusableOptions=function(){return pu(r.buildCategorizedOptions())},r.getFocusableOptions=function(){return r.props.menuIsOpen?r.buildFocusableOptions():[]},r.ariaOnChange=function(a,l){r.setState({ariaSelection:w({value:a},l)})},r.onMenuMouseDown=function(a){a.button===0&&(a.stopPropagation(),a.preventDefault(),r.focusInput())},r.onMenuMouseMove=function(a){r.blockOptionHover=!1},r.onControlMouseDown=function(a){if(!a.defaultPrevented){var l=r.props.openMenuOnClick;r.state.isFocused?r.props.menuIsOpen?a.target.tagName!=="INPUT"&&a.target.tagName!=="TEXTAREA"&&r.onMenuClose():l&&r.openMenu("first"):(l&&(r.openAfterFocus=!0),r.focusInput()),a.target.tagName!=="INPUT"&&a.target.tagName!=="TEXTAREA"&&a.preventDefault()}},r.onDropdownIndicatorMouseDown=function(a){if(!(a&&a.type==="mousedown"&&a.button!==0)&&!r.props.isDisabled){var l=r.props,c=l.isMulti,d=l.menuIsOpen;r.focusInput(),d?(r.setState({inputIsHiddenAfterUpdate:!c}),r.onMenuClose()):r.openMenu("first"),a.preventDefault()}},r.onClearIndicatorMouseDown=function(a){a&&a.type==="mousedown"&&a.button!==0||(r.clearValue(),a.preventDefault(),r.openAfterFocus=!1,a.type==="touchend"?r.focusInput():setTimeout(function(){return r.focusInput()}))},r.onScroll=function(a){typeof r.props.closeMenuOnScroll=="boolean"?a.target instanceof HTMLElement&&An(a.target)&&r.props.onMenuClose():typeof r.props.closeMenuOnScroll=="function"&&r.props.closeMenuOnScroll(a)&&r.props.onMenuClose()},r.onCompositionStart=function(){r.isComposing=!0},r.onCompositionEnd=function(){r.isComposing=!1},r.onTouchStart=function(a){var l=a.touches,c=l&&l.item(0);c&&(r.initialTouchX=c.clientX,r.initialTouchY=c.clientY,r.userIsDragging=!1)},r.onTouchMove=function(a){var l=a.touches,c=l&&l.item(0);if(c){var d=Math.abs(c.clientX-r.initialTouchX),f=Math.abs(c.clientY-r.initialTouchY),h=5;r.userIsDragging=d>h||f>h}},r.onTouchEnd=function(a){r.userIsDragging||(r.controlRef&&!r.controlRef.contains(a.target)&&r.menuListRef&&!r.menuListRef.contains(a.target)&&r.blurInput(),r.initialTouchX=0,r.initialTouchY=0)},r.onControlTouchEnd=function(a){r.userIsDragging||r.onControlMouseDown(a)},r.onClearIndicatorTouchEnd=function(a){r.userIsDragging||r.onClearIndicatorMouseDown(a)},r.onDropdownIndicatorTouchEnd=function(a){r.userIsDragging||r.onDropdownIndicatorMouseDown(a)},r.handleInputChange=function(a){var l=r.props.inputValue,c=a.currentTarget.value;r.setState({inputIsHiddenAfterUpdate:!1}),r.onInputChange(c,{action:"input-change",prevInputValue:l}),r.props.menuIsOpen||r.onMenuOpen()},r.onInputFocus=function(a){r.props.onFocus&&r.props.onFocus(a),r.setState({inputIsHiddenAfterUpdate:!1,isFocused:!0}),(r.openAfterFocus||r.props.openMenuOnFocus)&&r.openMenu("first"),r.openAfterFocus=!1},r.onInputBlur=function(a){var l=r.props.inputValue;if(r.menuListRef&&r.menuListRef.contains(document.activeElement)){r.inputRef.focus();return}r.props.onBlur&&r.props.onBlur(a),r.onInputChange("",{action:"input-blur",prevInputValue:l}),r.onMenuClose(),r.setState({focusedValue:null,isFocused:!1})},r.onOptionHover=function(a){if(!(r.blockOptionHover||r.state.focusedOption===a)){var l=r.getFocusableOptions(),c=l.indexOf(a);r.setState({focusedOption:a,focusedOptionId:c>-1?r.getFocusedOptionId(a):null})}},r.shouldHideSelectedOptions=function(){return Cu(r.props)},r.onValueInputFocus=function(a){a.preventDefault(),a.stopPropagation(),r.focus()},r.onKeyDown=function(a){var l=r.props,c=l.isMulti,d=l.backspaceRemovesValue,f=l.escapeClearsValue,h=l.inputValue,m=l.isClearable,p=l.isDisabled,g=l.menuIsOpen,b=l.onKeyDown,I=l.tabSelectsValue,v=l.openMenuOnFocus,x=r.state,y=x.focusedOption,S=x.focusedValue,P=x.selectValue;if(!p&&!(typeof b=="function"&&(b(a),a.defaultPrevented))){switch(r.blockOptionHover=!0,a.key){case"ArrowLeft":if(!c||h)return;r.focusValue("previous");break;case"ArrowRight":if(!c||h)return;r.focusValue("next");break;case"Delete":case"Backspace":if(h)return;if(S)r.removeValue(S);else{if(!d)return;c?r.popValue():m&&r.clearValue()}break;case"Tab":if(r.isComposing||a.shiftKey||!g||!I||!y||v&&r.isOptionSelected(y,P))return;r.selectOption(y);break;case"Enter":if(a.keyCode===229)break;if(g){if(!y||r.isComposing)return;r.selectOption(y);break}return;case"Escape":g?(r.setState({inputIsHiddenAfterUpdate:!1}),r.onInputChange("",{action:"menu-close",prevInputValue:h}),r.onMenuClose()):m&&f&&r.clearValue();break;case" ":if(h)return;if(!g){r.openMenu("first");break}if(!y)return;r.selectOption(y);break;case"ArrowUp":g?r.focusOption("up"):r.openMenu("last");break;case"ArrowDown":g?r.focusOption("down"):r.openMenu("first");break;case"PageUp":if(!g)return;r.focusOption("pageup");break;case"PageDown":if(!g)return;r.focusOption("pagedown");break;case"Home":if(!g)return;r.focusOption("first");break;case"End":if(!g)return;r.focusOption("last");break;default:return}a.preventDefault()}},r.state.instancePrefix="react-select-"+(r.props.instanceId||++vb),r.state.selectValue=La(i.value),i.menuIsOpen&&r.state.selectValue.length){var s=r.getFocusableOptionsWithIds(),o=r.buildFocusableOptions(),u=o.indexOf(r.state.selectValue[0]);r.state.focusableOptionsWithIds=s,r.state.focusedOption=o[u],r.state.focusedOptionId=or(s,o[u])}return r}return wh(n,[{key:"componentDidMount",value:function(){this.startListeningComposition(),this.startListeningToTouch(),this.props.closeMenuOnScroll&&document&&document.addEventListener&&document.addEventListener("scroll",this.onScroll,!0),this.props.autoFocus&&this.focusInput(),this.props.menuIsOpen&&this.state.focusedOption&&this.menuListRef&&this.focusedOptionRef&&Za(this.menuListRef,this.focusedOptionRef)}},{key:"componentDidUpdate",value:function(r){var s=this.props,o=s.isDisabled,u=s.menuIsOpen,a=this.state.isFocused;(a&&!o&&r.isDisabled||a&&u&&!r.menuIsOpen)&&this.focusInput(),a&&o&&!r.isDisabled?this.setState({isFocused:!1},this.onMenuClose):!a&&!o&&r.isDisabled&&this.inputRef===document.activeElement&&this.setState({isFocused:!0}),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&(Za(this.menuListRef,this.focusedOptionRef),this.scrollToFocusedOptionOnUpdate=!1)}},{key:"componentWillUnmount",value:function(){this.stopListeningComposition(),this.stopListeningToTouch(),document.removeEventListener("scroll",this.onScroll,!0)}},{key:"onMenuOpen",value:function(){this.props.onMenuOpen()}},{key:"onMenuClose",value:function(){this.onInputChange("",{action:"menu-close",prevInputValue:this.props.inputValue}),this.props.onMenuClose()}},{key:"onInputChange",value:function(r,s){this.props.onInputChange(r,s)}},{key:"focusInput",value:function(){this.inputRef&&this.inputRef.focus()}},{key:"blurInput",value:function(){this.inputRef&&this.inputRef.blur()}},{key:"openMenu",value:function(r){var s=this,o=this.state,u=o.selectValue,a=o.isFocused,l=this.buildFocusableOptions(),c=r==="first"?0:l.length-1;if(!this.props.isMulti){var d=l.indexOf(u[0]);d>-1&&(c=d)}this.scrollToFocusedOptionOnUpdate=!(a&&this.menuListRef),this.setState({inputIsHiddenAfterUpdate:!1,focusedValue:null,focusedOption:l[c],focusedOptionId:this.getFocusedOptionId(l[c])},function(){return s.onMenuOpen()})}},{key:"focusValue",value:function(r){var s=this.state,o=s.selectValue,u=s.focusedValue;if(this.props.isMulti){this.setState({focusedOption:null});var a=o.indexOf(u);u||(a=-1);var l=o.length-1,c=-1;if(o.length){switch(r){case"previous":a===0?c=0:a===-1?c=l:c=a-1;break;case"next":a>-1&&a<l&&(c=a+1);break}this.setState({inputIsHidden:c!==-1,focusedValue:o[c]})}}}},{key:"focusOption",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"first",s=this.props.pageSize,o=this.state.focusedOption,u=this.getFocusableOptions();if(u.length){var a=0,l=u.indexOf(o);o||(l=-1),r==="up"?a=l>0?l-1:u.length-1:r==="down"?a=(l+1)%u.length:r==="pageup"?(a=l-s,a<0&&(a=0)):r==="pagedown"?(a=l+s,a>u.length-1&&(a=u.length-1)):r==="last"&&(a=u.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:u[a],focusedValue:null,focusedOptionId:this.getFocusedOptionId(u[a])})}}},{key:"getTheme",value:function(){return this.props.theme?typeof this.props.theme=="function"?this.props.theme(sr):w(w({},sr),this.props.theme):sr}},{key:"getCommonProps",value:function(){var r=this.clearValue,s=this.cx,o=this.getStyles,u=this.getClassNames,a=this.getValue,l=this.selectOption,c=this.setValue,d=this.props,f=d.isMulti,h=d.isRtl,m=d.options,p=this.hasValue();return{clearValue:r,cx:s,getStyles:o,getClassNames:u,getValue:a,hasValue:p,isMulti:f,isRtl:h,options:m,selectOption:l,selectProps:d,setValue:c,theme:this.getTheme()}}},{key:"hasValue",value:function(){var r=this.state.selectValue;return r.length>0}},{key:"hasOptions",value:function(){return!!this.getFocusableOptions().length}},{key:"isClearable",value:function(){var r=this.props,s=r.isClearable,o=r.isMulti;return s===void 0?o:s}},{key:"isOptionDisabled",value:function(r,s){return vu(this.props,r,s)}},{key:"isOptionSelected",value:function(r,s){return yu(this.props,r,s)}},{key:"filterOption",value:function(r,s){return Iu(this.props,r,s)}},{key:"formatOptionLabel",value:function(r,s){if(typeof this.props.formatOptionLabel=="function"){var o=this.props.inputValue,u=this.state.selectValue;return this.props.formatOptionLabel(r,{context:s,inputValue:o,selectValue:u})}else return this.getOptionLabel(r)}},{key:"formatGroupLabel",value:function(r){return this.props.formatGroupLabel(r)}},{key:"startListeningComposition",value:function(){document&&document.addEventListener&&(document.addEventListener("compositionstart",this.onCompositionStart,!1),document.addEventListener("compositionend",this.onCompositionEnd,!1))}},{key:"stopListeningComposition",value:function(){document&&document.removeEventListener&&(document.removeEventListener("compositionstart",this.onCompositionStart),document.removeEventListener("compositionend",this.onCompositionEnd))}},{key:"startListeningToTouch",value:function(){document&&document.addEventListener&&(document.addEventListener("touchstart",this.onTouchStart,!1),document.addEventListener("touchmove",this.onTouchMove,!1),document.addEventListener("touchend",this.onTouchEnd,!1))}},{key:"stopListeningToTouch",value:function(){document&&document.removeEventListener&&(document.removeEventListener("touchstart",this.onTouchStart),document.removeEventListener("touchmove",this.onTouchMove),document.removeEventListener("touchend",this.onTouchEnd))}},{key:"renderInput",value:function(){var r=this.props,s=r.isDisabled,o=r.isSearchable,u=r.inputId,a=r.inputValue,l=r.tabIndex,c=r.form,d=r.menuIsOpen,f=r.required,h=this.getComponents(),m=h.Input,p=this.state,g=p.inputIsHidden,b=p.ariaSelection,I=this.commonProps,v=u||this.getElementId("input"),x=w(w(w({"aria-autocomplete":"list","aria-expanded":d,"aria-haspopup":!0,"aria-errormessage":this.props["aria-errormessage"],"aria-invalid":this.props["aria-invalid"],"aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"],"aria-required":f,role:"combobox","aria-activedescendant":this.isAppleDevice?void 0:this.state.focusedOptionId||""},d&&{"aria-controls":this.getElementId("listbox")}),!o&&{"aria-readonly":!0}),this.hasValue()?(b==null?void 0:b.action)==="initial-input-focus"&&{"aria-describedby":this.getElementId("live-region")}:{"aria-describedby":this.getElementId("placeholder")});return o?G.createElement(m,B({},I,{autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",id:v,innerRef:this.getInputRef,isDisabled:s,isHidden:g,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,spellCheck:"false",tabIndex:l,form:c,type:"text",value:a},x)):G.createElement(Hg,B({id:v,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:xn,onFocus:this.onInputFocus,disabled:s,tabIndex:l,inputMode:"none",form:c,value:""},x))}},{key:"renderPlaceholderOrValue",value:function(){var r=this,s=this.getComponents(),o=s.MultiValue,u=s.MultiValueContainer,a=s.MultiValueLabel,l=s.MultiValueRemove,c=s.SingleValue,d=s.Placeholder,f=this.commonProps,h=this.props,m=h.controlShouldRenderValue,p=h.isDisabled,g=h.isMulti,b=h.inputValue,I=h.placeholder,v=this.state,x=v.selectValue,y=v.focusedValue,S=v.isFocused;if(!this.hasValue()||!m)return b?null:G.createElement(d,B({},f,{key:"placeholder",isDisabled:p,isFocused:S,innerProps:{id:this.getElementId("placeholder")}}),I);if(g)return x.map(function(A,M){var N=A===y,k="".concat(r.getOptionLabel(A),"-").concat(r.getOptionValue(A));return G.createElement(o,B({},f,{components:{Container:u,Label:a,Remove:l},isFocused:N,isDisabled:p,key:k,index:M,removeProps:{onClick:function(){return r.removeValue(A)},onTouchEnd:function(){return r.removeValue(A)},onMouseDown:function(le){le.preventDefault()}},data:A}),r.formatOptionLabel(A,"value"))});if(b)return null;var P=x[0];return G.createElement(c,B({},f,{data:P,isDisabled:p}),this.formatOptionLabel(P,"value"))}},{key:"renderClearIndicator",value:function(){var r=this.getComponents(),s=r.ClearIndicator,o=this.commonProps,u=this.props,a=u.isDisabled,l=u.isLoading,c=this.state.isFocused;if(!this.isClearable()||!s||a||!this.hasValue()||l)return null;var d={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return G.createElement(s,B({},o,{innerProps:d,isFocused:c}))}},{key:"renderLoadingIndicator",value:function(){var r=this.getComponents(),s=r.LoadingIndicator,o=this.commonProps,u=this.props,a=u.isDisabled,l=u.isLoading,c=this.state.isFocused;if(!s||!l)return null;var d={"aria-hidden":"true"};return G.createElement(s,B({},o,{innerProps:d,isDisabled:a,isFocused:c}))}},{key:"renderIndicatorSeparator",value:function(){var r=this.getComponents(),s=r.DropdownIndicator,o=r.IndicatorSeparator;if(!s||!o)return null;var u=this.commonProps,a=this.props.isDisabled,l=this.state.isFocused;return G.createElement(o,B({},u,{isDisabled:a,isFocused:l}))}},{key:"renderDropdownIndicator",value:function(){var r=this.getComponents(),s=r.DropdownIndicator;if(!s)return null;var o=this.commonProps,u=this.props.isDisabled,a=this.state.isFocused,l={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return G.createElement(s,B({},o,{innerProps:l,isDisabled:u,isFocused:a}))}},{key:"renderMenu",value:function(){var r=this,s=this.getComponents(),o=s.Group,u=s.GroupHeading,a=s.Menu,l=s.MenuList,c=s.MenuPortal,d=s.LoadingMessage,f=s.NoOptionsMessage,h=s.Option,m=this.commonProps,p=this.state.focusedOption,g=this.props,b=g.captureMenuScroll,I=g.inputValue,v=g.isLoading,x=g.loadingMessage,y=g.minMenuHeight,S=g.maxMenuHeight,P=g.menuIsOpen,A=g.menuPlacement,M=g.menuPosition,N=g.menuPortalTarget,k=g.menuShouldBlockScroll,Y=g.menuShouldScrollIntoView,le=g.noOptionsMessage,se=g.onMenuScrollToTop,D=g.onMenuScrollToBottom;if(!P)return null;var L=function(ie,be){var Se=ie.type,ce=ie.data,Pe=ie.isDisabled,ve=ie.isSelected,ht=ie.label,ar=ie.value,Fn=p===ce,T=Pe?void 0:function(){return r.onOptionHover(ce)},Wt=Pe?void 0:function(){return r.selectOption(ce)},Qe="".concat(r.getElementId("option"),"-").concat(be),Bn={id:Qe,onClick:Wt,onMouseMove:T,onMouseOver:T,tabIndex:-1,role:"option","aria-selected":r.isAppleDevice?void 0:ve};return G.createElement(h,B({},m,{innerProps:Bn,data:ce,isDisabled:Pe,isSelected:ve,key:Qe,label:ht,type:Se,value:ar,isFocused:Fn,innerRef:Fn?r.getFocusedOptionRef:void 0}),r.formatOptionLabel(ie.data,"menu"))},ne;if(this.hasOptions())ne=this.getCategorizedOptions().map(function(J){if(J.type==="group"){var ie=J.data,be=J.options,Se=J.index,ce="".concat(r.getElementId("group"),"-").concat(Se),Pe="".concat(ce,"-heading");return G.createElement(o,B({},m,{key:ce,data:ie,options:be,Heading:u,headingProps:{id:Pe,data:J.data},label:r.formatGroupLabel(J.data)}),J.options.map(function(ve){return L(ve,"".concat(Se,"-").concat(ve.index))}))}else if(J.type==="option")return L(J,"".concat(J.index))});else if(v){var _=x({inputValue:I});if(_===null)return null;ne=G.createElement(d,m,_)}else{var Ae=le({inputValue:I});if(Ae===null)return null;ne=G.createElement(f,m,Ae)}var ge={minMenuHeight:y,maxMenuHeight:S,menuPlacement:A,menuPosition:M,menuShouldScrollIntoView:Y},ft=G.createElement(vm,B({},m,ge),function(J){var ie=J.ref,be=J.placerProps,Se=be.placement,ce=be.maxHeight;return G.createElement(a,B({},m,ge,{innerRef:ie,innerProps:{onMouseDown:r.onMenuMouseDown,onMouseMove:r.onMenuMouseMove},isLoading:v,placement:Se}),G.createElement(_g,{captureEnabled:b,onTopArrive:se,onBottomArrive:D,lockEnabled:k},function(Pe){return G.createElement(l,B({},m,{innerRef:function(ht){r.getMenuListRef(ht),Pe(ht)},innerProps:{role:"listbox","aria-multiselectable":m.isMulti,id:r.getElementId("listbox")},isLoading:v,maxHeight:ce,focusedOption:p}),ne)}))});return N||M==="fixed"?G.createElement(c,B({},m,{appendTo:N,controlElement:this.controlRef,menuPlacement:A,menuPosition:M}),ft):ft}},{key:"renderFormField",value:function(){var r=this,s=this.props,o=s.delimiter,u=s.isDisabled,a=s.isMulti,l=s.name,c=s.required,d=this.state.selectValue;if(c&&!this.hasValue()&&!u)return G.createElement(qg,{name:l,onFocus:this.onValueInputFocus});if(!(!l||u))if(a)if(o){var f=d.map(function(p){return r.getOptionValue(p)}).join(o);return G.createElement("input",{name:l,type:"hidden",value:f})}else{var h=d.length>0?d.map(function(p,g){return G.createElement("input",{key:"i-".concat(g),name:l,type:"hidden",value:r.getOptionValue(p)})}):G.createElement("input",{name:l,type:"hidden",value:""});return G.createElement("div",null,h)}else{var m=d[0]?this.getOptionValue(d[0]):"";return G.createElement("input",{name:l,type:"hidden",value:m})}}},{key:"renderLiveRegion",value:function(){var r=this.commonProps,s=this.state,o=s.ariaSelection,u=s.focusedOption,a=s.focusedValue,l=s.isFocused,c=s.selectValue,d=this.getFocusableOptions();return G.createElement(Wg,B({},r,{id:this.getElementId("live-region"),ariaSelection:o,focusedOption:u,focusedValue:a,isFocused:l,selectValue:c,focusableOptions:d,isAppleDevice:this.isAppleDevice}))}},{key:"render",value:function(){var r=this.getComponents(),s=r.Control,o=r.IndicatorsContainer,u=r.SelectContainer,a=r.ValueContainer,l=this.props,c=l.className,d=l.id,f=l.isDisabled,h=l.menuIsOpen,m=this.state.isFocused,p=this.commonProps=this.getCommonProps();return G.createElement(u,B({},p,{className:c,innerProps:{id:d,onKeyDown:this.onKeyDown},isDisabled:f,isFocused:m}),this.renderLiveRegion(),G.createElement(s,B({},p,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:f,isFocused:m,menuIsOpen:h}),G.createElement(a,B({},p,{isDisabled:f}),this.renderPlaceholderOrValue(),this.renderInput()),G.createElement(o,B({},p,{isDisabled:f}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}],[{key:"getDerivedStateFromProps",value:function(r,s){var o=s.prevProps,u=s.clearFocusValueOnUpdate,a=s.inputIsHiddenAfterUpdate,l=s.ariaSelection,c=s.isFocused,d=s.prevWasFocused,f=s.instancePrefix,h=r.options,m=r.value,p=r.menuIsOpen,g=r.inputValue,b=r.isMulti,I=La(m),v={};if(o&&(m!==o.value||h!==o.options||p!==o.menuIsOpen||g!==o.inputValue)){var x=p?mb(r,I):[],y=p?mu(Vn(r,I),"".concat(f,"-option")):[],S=u?gb(s,I):null,P=bb(s,x),A=or(y,P);v={selectValue:I,focusedOption:P,focusedOptionId:A,focusableOptionsWithIds:y,focusedValue:S,clearFocusValueOnUpdate:!1}}var M=a!=null&&r!==o?{inputIsHidden:a,inputIsHiddenAfterUpdate:void 0}:{},N=l,k=c&&d;return c&&!k&&(N={value:Tn(b,I,I[0]||null),options:I,action:"initial-input-focus"},k=!d),(l==null?void 0:l.action)==="initial-input-focus"&&(N=null),w(w(w({},v),M),{},{prevProps:r,ariaSelection:N,prevWasFocused:k})}}]),n}(C.Component);xu.defaultProps=pb;var yb=C.forwardRef(function(t,e){var n=Th(t);return G.createElement(xu,B({ref:e},n))}),Ib=yb;const dt=t=>{const{children:e,sx:n,...i}=t;return E.jsx("div",{className:me.form,style:n,...i,children:e})},Cb=dt,xb={menuPortal:t=>({...t,zIndex:"9999999999 !important"}),control:(t,e)=>({...t,background:e.isDisabled?"#e9ecef !important":"#fff!important",minHeight:"26px!important",boxShadow:e.isFocused?"0 0 0 2px rgba(0 125 250 / 30%)":null,borderColor:e.isFocused?"#0071e3":"#D6DBDF!important",fontSize:"12px!important",padding:"0px 0px 0px 6px!important",color:"#3f4254!important",borderRadius:"0px !important"}),valueContainer:t=>({...t,height:"26px!important",padding:"0 6px 0 2px!important"}),input:t=>({...t,margin:"0px!important",fontSize:"12px!important",color:"#3f4254"}),placeholder:t=>({...t,margin:"0px!important",fontSize:"12px!important",color:"#aeaeae !important"}),indicatorsContainer:t=>({...t,height:"26px!important"}),option:(t,e)=>({...t,backgroundColor:e.isSelected?"#50c6d0":e.isFocused?"#e6e7ea":null,color:e.isSelected?"#ffffff":(e.isFocused,"#3f4254"),fontSize:"12px!important",padding:"6px 12px 5px 12px!important",fontWeight:"400",fontFamily:"Poppins, Helvetica, 'sans-serif'",borderRadius:"2px !important"}),noOptionsMessage:t=>({...t,fontSize:"12px!important",padding:"5px 8px!important",color:"#3f4254!important"}),menu:t=>({...t,padding:"1px 4px",zIndex:"99999999",position:"absolute",borderRadius:"0px !important"})},Ab=t=>{const{children:e,sx:n,...i}=t;return E.jsx("div",{className:me["form-group"],style:n,...i,children:e})},Sb=t=>{const{children:e,sx:n,...i}=t,r=C.Children.toArray(e).filter(a=>a.type.displayName==="biznext-ui-input-label"),s=C.Children.toArray(e).filter(a=>a.type.displayName==="biznext-ui-input-control"),o=C.Children.toArray(e).filter(a=>a.type.displayName==="biznext-ui-input-error-message"),u=o[0]&&o[0].props.children&&o[0].props.children.length>0;return E.jsxs("div",{className:Ot(me["form-input-group"],u&&me["validation-error"]),style:n,...i,children:[r,E.jsxs("div",{className:me["form-input-control-group"],children:[s,E.jsx("span",{className:me["form-input-group-error-text"],children:o})]})]})},Au=t=>{const{required:e=!1,children:n,sx:i,...r}=t;return E.jsx("label",{className:Ot(me["form-input-group-label"],e&&me.required),style:i,...r,children:n})},Su=C.forwardRef((t,e)=>{const{controlType:n,focus:i,onFocus:r,sx:s,placeholder:o="",isSearchable:u=!0,isClearable:a=!0,...l}=t;let c=E.jsx(E.Fragment,{});const d=C.useRef(null);switch(C.useEffect(()=>{d.current&&d.current.focus()},[i]),C.useEffect(()=>{d.current&&d.current.focus()},[r]),n){case"input":c=E.jsx("input",{className:me["form-input-control"],placeholder:o,ref:i?d:e,style:s,...l});break;case"select":c=E.jsx(Ib,{styles:xb,className:me["form-select-control"],classNamePrefix:"biznext-ui-",menuPortalTarget:document.body,menuPosition:"absolute",menuShouldScrollIntoView:!1,ref:i?d:e,placeholder:o?`Select ${o}`:"Select...",isSearchable:u,isClearable:a,noOptionsMessage:()=>"No Results Found!",...l});break;case"textarea":c=E.jsx("textarea",{className:me["form-input-control"],placeholder:o,style:s,ref:i?d:e,...l});break;default:c=E.jsx(E.Fragment,{});break}return c}),Pu=t=>{const{children:e}=t;return e};Au.displayName="biznext-ui-input-label",Su.displayName="biznext-ui-input-control",Pu.displayName="biznext-ui-input-error-message",dt.Group=Ab,dt.InputGroup=Sb,dt.Label=Au,dt.Control=Su,dt.ErrorMessage=Pu,oe.BiznextUIProvider=lh,oe.Form=Cb,oe.Modal=fh,oe.useConfirmDialog=Ih,oe.useToast=yh,Object.defineProperty(oe,Symbol.toStringTag,{value:"Module"})});
32
+ `]))),Hm=function(e,n){var i=e.isFocused,r=e.size,s=e.theme,o=s.colors,u=s.spacing.baseUnit;return V({label:"loadingIndicator",display:"flex",transition:"color 150ms",alignSelf:"center",fontSize:r,lineHeight:1,marginRight:r,textAlign:"center",verticalAlign:"middle"},n?{}:{color:i?o.neutral60:o.neutral20,padding:u*2})},$i=function(e){var n=e.delay,i=e.offset;return T("span",{css:ji({animation:"".concat(Zm," 1s ease-in-out ").concat(n,"ms infinite;"),backgroundColor:"currentColor",borderRadius:"1em",display:"inline-block",marginLeft:i?"1em":void 0,height:"1em",verticalAlign:"top",width:"1em"},process.env.NODE_ENV==="production"?"":";label:LoadingDot;",process.env.NODE_ENV==="production"?"":"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW1RSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgUmVhY3ROb2RlIH0gZnJvbSAncmVhY3QnO1xuaW1wb3J0IHsganN4LCBrZXlmcmFtZXMgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbmltcG9ydCB7XG4gIENvbW1vblByb3BzQW5kQ2xhc3NOYW1lLFxuICBDU1NPYmplY3RXaXRoTGFiZWwsXG4gIEdyb3VwQmFzZSxcbn0gZnJvbSAnLi4vdHlwZXMnO1xuaW1wb3J0IHsgZ2V0U3R5bGVQcm9wcyB9IGZyb20gJy4uL3V0aWxzJztcblxuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG4vLyBEcm9wZG93biAmIENsZWFyIEljb25zXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cblxuY29uc3QgU3ZnID0gKHtcbiAgc2l6ZSxcbiAgLi4ucHJvcHNcbn06IEpTWC5JbnRyaW5zaWNFbGVtZW50c1snc3ZnJ10gJiB7IHNpemU6IG51bWJlciB9KSA9PiAoXG4gIDxzdmdcbiAgICBoZWlnaHQ9e3NpemV9XG4gICAgd2lkdGg9e3NpemV9XG4gICAgdmlld0JveD1cIjAgMCAyMCAyMFwiXG4gICAgYXJpYS1oaWRkZW49XCJ0cnVlXCJcbiAgICBmb2N1c2FibGU9XCJmYWxzZVwiXG4gICAgY3NzPXt7XG4gICAgICBkaXNwbGF5OiAnaW5saW5lLWJsb2NrJyxcbiAgICAgIGZpbGw6ICdjdXJyZW50Q29sb3InL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AgICAgJ2xvYWRpbmdJbmRpY2F0b3InLFxuICAgICAgICB7XG4gICAgICAgICAgaW5kaWNhdG9yOiB0cnVlLFxuICAgICAgICAgICdsb2FkaW5nLWluZGljYXRvcic6IHRydWUsXG4gICAgICAgIH1cbiAgICAgICl9XG4gICAgICB7Li4uaW5uZXJQcm9wc31cbiAgICA+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MH0gb2Zmc2V0PXtpc1J0bH0gLz5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXsxNjB9IG9mZnNldCAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezMyMH0gb2Zmc2V0PXshaXNSdGx9IC8+XG4gICAgPC9kaXY+XG4gICk7XG59O1xuIl19 */")})},km=function(e){var n=e.innerProps,i=e.isRtl,r=e.size,s=r===void 0?4:r,o=Me(e,Gm);return T("div",B({},z(V(V({},o),{},{innerProps:n,isRtl:i,size:s}),"loadingIndicator",{indicator:!0,"loading-indicator":!0}),n),T($i,{delay:0,offset:i}),T($i,{delay:160,offset:!0}),T($i,{delay:320,offset:!i}))},zm=function(e,n){var i=e.isDisabled,r=e.isFocused,s=e.theme,o=s.colors,u=s.borderRadius,a=s.spacing;return V({label:"control",alignItems:"center",cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:a.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms"},n?{}:{backgroundColor:i?o.neutral5:o.neutral0,borderColor:i?o.neutral10:r?o.primary:o.neutral20,borderRadius:u,borderStyle:"solid",borderWidth:1,boxShadow:r?"0 0 0 1px ".concat(o.primary):void 0,"&:hover":{borderColor:r?o.primary:o.neutral30}})},jm=function(e){var n=e.children,i=e.isDisabled,r=e.isFocused,s=e.innerRef,o=e.innerProps,u=e.menuIsOpen;return T("div",B({ref:s},z(e,"control",{control:!0,"control--is-disabled":i,"control--is-focused":r,"control--menu-is-open":u}),o,{"aria-disabled":i||void 0}),n)},Ym=jm,Jm=["data"],Um=function(e,n){var i=e.theme.spacing;return n?{}:{paddingBottom:i.baseUnit*2,paddingTop:i.baseUnit*2}},_m=function(e){var n=e.children,i=e.cx,r=e.getStyles,s=e.getClassNames,o=e.Heading,u=e.headingProps,a=e.innerProps,l=e.label,c=e.theme,d=e.selectProps;return T("div",B({},z(e,"group",{group:!0}),a),T(o,B({},u,{selectProps:d,theme:c,getStyles:r,getClassNames:s,cx:i}),l),T("div",null,n))},Qm=function(e,n){var i=e.theme,r=i.colors,s=i.spacing;return V({label:"group",cursor:"default",display:"block"},n?{}:{color:r.neutral40,fontSize:"75%",fontWeight:500,marginBottom:"0.25em",paddingLeft:s.baseUnit*3,paddingRight:s.baseUnit*3,textTransform:"uppercase"})},$m=function(e){var n=Na(e);n.data;var i=Me(n,Jm);return T("div",B({},z(e,"groupHeading",{"group-heading":!0}),i))},Km=_m,qm=["innerRef","isDisabled","isHidden","inputClassName"],eg=function(e,n){var i=e.isDisabled,r=e.value,s=e.theme,o=s.spacing,u=s.colors;return V(V({visibility:i?"hidden":"visible",transform:r?"translateZ(0)":""},tg),n?{}:{margin:o.baseUnit/2,paddingBottom:o.baseUnit/2,paddingTop:o.baseUnit/2,color:u.neutral80})},Ja={gridArea:"1 / 2",font:"inherit",minWidth:"2px",border:0,margin:0,outline:0,padding:0},tg={flex:"1 1 auto",display:"inline-grid",gridArea:"1 / 1 / 2 / 3",gridTemplateColumns:"0 min-content","&:after":V({content:'attr(data-value) " "',visibility:"hidden",whiteSpace:"pre"},Ja)},ng=function(e){return V({label:"input",color:"inherit",background:0,opacity:e?0:1,width:"100%"},Ja)},ig=function(e){var n=e.cx,i=e.value,r=Na(e),s=r.innerRef,o=r.isDisabled,u=r.isHidden,a=r.inputClassName,l=Me(r,qm);return T("div",B({},z(e,"input",{"input-container":!0}),{"data-value":i||""}),T("input",B({className:n({input:!0},a),ref:s,style:ng(u),disabled:o},l)))},rg=ig,sg=function(e,n){var i=e.theme,r=i.spacing,s=i.borderRadius,o=i.colors;return V({label:"multiValue",display:"flex",minWidth:0},n?{}:{backgroundColor:o.neutral10,borderRadius:s/2,margin:r.baseUnit/2})},og=function(e,n){var i=e.theme,r=i.borderRadius,s=i.colors,o=e.cropWithEllipsis;return V({overflow:"hidden",textOverflow:o||o===void 0?"ellipsis":void 0,whiteSpace:"nowrap"},n?{}:{borderRadius:r/2,color:s.neutral80,fontSize:"85%",padding:3,paddingLeft:6})},ag=function(e,n){var i=e.theme,r=i.spacing,s=i.borderRadius,o=i.colors,u=e.isFocused;return V({alignItems:"center",display:"flex"},n?{}:{borderRadius:s/2,backgroundColor:u?o.dangerLight:void 0,paddingLeft:r.baseUnit,paddingRight:r.baseUnit,":hover":{backgroundColor:o.dangerLight,color:o.danger}})},Ua=function(e){var n=e.children,i=e.innerProps;return T("div",i,n)},ug=Ua,lg=Ua;function cg(t){var e=t.children,n=t.innerProps;return T("div",B({role:"button"},n),e||T(Qi,{size:14}))}var dg=function(e){var n=e.children,i=e.components,r=e.data,s=e.innerProps,o=e.isDisabled,u=e.removeProps,a=e.selectProps,l=i.Container,c=i.Label,d=i.Remove;return T(l,{data:r,innerProps:V(V({},z(e,"multiValue",{"multi-value":!0,"multi-value--is-disabled":o})),s),selectProps:a},T(c,{data:r,innerProps:V({},z(e,"multiValueLabel",{"multi-value__label":!0})),selectProps:a},n),T(d,{data:r,innerProps:V(V({},z(e,"multiValueRemove",{"multi-value__remove":!0})),{},{"aria-label":"Remove ".concat(n||"option")},u),selectProps:a}))},fg=dg,hg=function(e,n){var i=e.isDisabled,r=e.isFocused,s=e.isSelected,o=e.theme,u=o.spacing,a=o.colors;return V({label:"option",cursor:"default",display:"block",fontSize:"inherit",width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)"},n?{}:{backgroundColor:s?a.primary:r?a.primary25:"transparent",color:i?a.neutral20:s?a.neutral0:"inherit",padding:"".concat(u.baseUnit*2,"px ").concat(u.baseUnit*3,"px"),":active":{backgroundColor:i?void 0:s?a.primary:a.primary50}})},pg=function(e){var n=e.children,i=e.isDisabled,r=e.isFocused,s=e.isSelected,o=e.innerRef,u=e.innerProps;return T("div",B({},z(e,"option",{option:!0,"option--is-disabled":i,"option--is-focused":r,"option--is-selected":s}),{ref:o,"aria-disabled":i},u),n)},mg=pg,gg=function(e,n){var i=e.theme,r=i.spacing,s=i.colors;return V({label:"placeholder",gridArea:"1 / 1 / 2 / 3"},n?{}:{color:s.neutral50,marginLeft:r.baseUnit/2,marginRight:r.baseUnit/2})},bg=function(e){var n=e.children,i=e.innerProps;return T("div",B({},z(e,"placeholder",{placeholder:!0}),i),n)},vg=bg,yg=function(e,n){var i=e.isDisabled,r=e.theme,s=r.spacing,o=r.colors;return V({label:"singleValue",gridArea:"1 / 1 / 2 / 3",maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},n?{}:{color:i?o.neutral40:o.neutral80,marginLeft:s.baseUnit/2,marginRight:s.baseUnit/2})},Ig=function(e){var n=e.children,i=e.isDisabled,r=e.innerProps;return T("div",B({},z(e,"singleValue",{"single-value":!0,"single-value--is-disabled":i}),r),n)},Cg=Ig,xg={ClearIndicator:Wm,Control:Ym,DropdownIndicator:Rm,DownChevron:ja,CrossIcon:Qi,Group:Km,GroupHeading:$m,IndicatorsContainer:Fm,IndicatorSeparator:Xm,Input:rg,LoadingIndicator:km,Menu:gm,MenuList:vm,MenuPortal:Sm,LoadingMessage:xm,NoOptionsMessage:Cm,MultiValue:fg,MultiValueContainer:ug,MultiValueLabel:lg,MultiValueRemove:cg,Option:mg,Placeholder:vg,SelectContainer:Em,SingleValue:Cg,ValueContainer:Vm},Ag=function(e){return V(V({},xg),e.components)},_a=Number.isNaN||function(e){return typeof e=="number"&&e!==e};function Sg(t,e){return!!(t===e||_a(t)&&_a(e))}function Pg(t,e){if(t.length!==e.length)return!1;for(var n=0;n<t.length;n++)if(!Sg(t[n],e[n]))return!1;return!0}function Eg(t,e){e===void 0&&(e=Pg);var n=null;function i(){for(var r=[],s=0;s<arguments.length;s++)r[s]=arguments[s];if(n&&n.lastThis===this&&e(r,n.lastArgs))return n.lastResult;var o=t.apply(this,r);return n={lastResult:o,lastArgs:r,lastThis:this},o}return i.clear=function(){n=null},i}function Tg(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}for(var Vg=process.env.NODE_ENV==="production"?{name:"7pg0cj-a11yText",styles:"label:a11yText;z-index:9999;border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap"}:{name:"1f43avz-a11yText-A11yText",styles:"label:a11yText;z-index:9999;border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap;label:A11yText;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkExMXlUZXh0LnRzeCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFNSSIsImZpbGUiOiJBMTF5VGV4dC50c3giLCJzb3VyY2VzQ29udGVudCI6WyIvKiogQGpzeCBqc3ggKi9cbmltcG9ydCB7IGpzeCB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuLy8gQXNzaXN0aXZlIHRleHQgdG8gZGVzY3JpYmUgdmlzdWFsIGVsZW1lbnRzLiBIaWRkZW4gZm9yIHNpZ2h0ZWQgdXNlcnMuXG5jb25zdCBBMTF5VGV4dCA9IChwcm9wczogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzcGFuJ10pID0+IChcbiAgPHNwYW5cbiAgICBjc3M9e3tcbiAgICAgIGxhYmVsOiAnYTExeVRleHQnLFxuICAgICAgekluZGV4OiA5OTk5LFxuICAgICAgYm9yZGVyOiAwLFxuICAgICAgY2xpcDogJ3JlY3QoMXB4LCAxcHgsIDFweCwgMXB4KScsXG4gICAgICBoZWlnaHQ6IDEsXG4gICAgICB3aWR0aDogMSxcbiAgICAgIHBvc2l0aW9uOiAnYWJzb2x1dGUnLFxuICAgICAgb3ZlcmZsb3c6ICdoaWRkZW4nLFxuICAgICAgcGFkZGluZzogMCxcbiAgICAgIHdoaXRlU3BhY2U6ICdub3dyYXAnLFxuICAgIH19XG4gICAgey4uLnByb3BzfVxuICAvPlxuKTtcblxuZXhwb3J0IGRlZmF1bHQgQTExeVRleHQ7XG4iXX0= */",toString:Tg},wg=function(e){return T("span",B({css:Vg},e))},Qa=wg,Fg={guidance:function(e){var n=e.isSearchable,i=e.isMulti,r=e.tabSelectsValue,s=e.context,o=e.isInitialFocus;switch(s){case"menu":return"Use Up and Down to choose options, press Enter to select the currently focused option, press Escape to exit the menu".concat(r?", press Tab to select the option and exit the menu":"",".");case"input":return o?"".concat(e["aria-label"]||"Select"," is focused ").concat(n?",type to refine list":"",", press Down to open the menu, ").concat(i?" press left to focus selected values":""):"";case"value":return"Use left and right to toggle between focused values, press Backspace to remove the currently focused value";default:return""}},onChange:function(e){var n=e.action,i=e.label,r=i===void 0?"":i,s=e.labels,o=e.isDisabled;switch(n){case"deselect-option":case"pop-value":case"remove-value":return"option ".concat(r,", deselected.");case"clear":return"All selected options have been cleared.";case"initial-input-focus":return"option".concat(s.length>1?"s":""," ").concat(s.join(","),", selected.");case"select-option":return o?"option ".concat(r," is disabled. Select another option."):"option ".concat(r,", selected.");default:return""}},onFocus:function(e){var n=e.context,i=e.focused,r=e.options,s=e.label,o=s===void 0?"":s,u=e.selectValue,a=e.isDisabled,l=e.isSelected,c=e.isAppleDevice,d=function(p,g){return p&&p.length?"".concat(p.indexOf(g)+1," of ").concat(p.length):""};if(n==="value"&&u)return"value ".concat(o," focused, ").concat(d(u,i),".");if(n==="menu"&&c){var f=a?" disabled":"",h="".concat(l?" selected":"").concat(f);return"".concat(o).concat(h,", ").concat(d(r,i),".")}return""},onFilter:function(e){var n=e.inputValue,i=e.resultsMessage;return"".concat(i).concat(n?" for search term "+n:"",".")}},Bg=function(e){var n=e.ariaSelection,i=e.focusedOption,r=e.focusedValue,s=e.focusableOptions,o=e.isFocused,u=e.selectValue,a=e.selectProps,l=e.id,c=e.isAppleDevice,d=a.ariaLiveMessages,f=a.getOptionLabel,h=a.inputValue,m=a.isMulti,p=a.isOptionDisabled,g=a.isSearchable,b=a.menuIsOpen,I=a.options,v=a.screenReaderStatus,x=a.tabSelectsValue,y=a.isLoading,S=a["aria-label"],P=a["aria-live"],A=C.useMemo(function(){return V(V({},Fg),d||{})},[d]),M=C.useMemo(function(){var D="";if(n&&A.onChange){var W=n.option,ne=n.options,_=n.removedValue,xe=n.removedValues,me=n.value,ct=function(be){return Array.isArray(be)?null:be},J=_||W||ct(me),ie=J?f(J):"",ge=ne||xe||void 0,Ae=ge?ge.map(f):[],ce=V({isDisabled:J&&p(J,u),label:ie,labels:Ae},n);D=A.onChange(ce)}return D},[n,A,p,u,f]),N=C.useMemo(function(){var D="",W=i||r,ne=!!(i&&u&&u.includes(i));if(W&&A.onFocus){var _={focused:W,label:f(W),isDisabled:p(W,u),isSelected:ne,options:s,context:W===i?"menu":"value",selectValue:u,isAppleDevice:c};D=A.onFocus(_)}return D},[i,r,f,p,A,s,u,c]),k=C.useMemo(function(){var D="";if(b&&I.length&&!y&&A.onFilter){var W=v({count:s.length});D=A.onFilter({inputValue:h,resultsMessage:W})}return D},[s,h,b,A,I,v,y]),Y=(n==null?void 0:n.action)==="initial-input-focus",le=C.useMemo(function(){var D="";if(A.guidance){var W=r?"value":b?"menu":"input";D=A.guidance({"aria-label":S,context:W,isDisabled:i&&p(i,u),isMulti:m,isSearchable:g,tabSelectsValue:x,isInitialFocus:Y})}return D},[S,i,r,m,p,g,b,A,u,x,Y]),se=T(C.Fragment,null,T("span",{id:"aria-selection"},M),T("span",{id:"aria-focused"},N),T("span",{id:"aria-results"},k),T("span",{id:"aria-guidance"},le));return T(C.Fragment,null,T(Qa,{id:l},Y&&se),T(Qa,{"aria-live":P,"aria-atomic":"false","aria-relevant":"additions text",role:"log"},o&&!Y&&se))},Gg=Bg,Ki=[{base:"A",letters:"AⒶAÀÁÂẦẤẪẨÃĀĂẰẮẴẲȦǠÄǞẢÅǺǍȀȂẠẬẶḀĄȺⱯ"},{base:"AA",letters:"Ꜳ"},{base:"AE",letters:"ÆǼǢ"},{base:"AO",letters:"Ꜵ"},{base:"AU",letters:"Ꜷ"},{base:"AV",letters:"ꜸꜺ"},{base:"AY",letters:"Ꜽ"},{base:"B",letters:"BⒷBḂḄḆɃƂƁ"},{base:"C",letters:"CⒸCĆĈĊČÇḈƇȻꜾ"},{base:"D",letters:"DⒹDḊĎḌḐḒḎĐƋƊƉꝹ"},{base:"DZ",letters:"DZDŽ"},{base:"Dz",letters:"DzDž"},{base:"E",letters:"EⒺEÈÉÊỀẾỄỂẼĒḔḖĔĖËẺĚȄȆẸỆȨḜĘḘḚƐƎ"},{base:"F",letters:"FⒻFḞƑꝻ"},{base:"G",letters:"GⒼGǴĜḠĞĠǦĢǤƓꞠꝽꝾ"},{base:"H",letters:"HⒽHĤḢḦȞḤḨḪĦⱧⱵꞍ"},{base:"I",letters:"IⒾIÌÍÎĨĪĬİÏḮỈǏȈȊỊĮḬƗ"},{base:"J",letters:"JⒿJĴɈ"},{base:"K",letters:"KⓀKḰǨḲĶḴƘⱩꝀꝂꝄꞢ"},{base:"L",letters:"LⓁLĿĹĽḶḸĻḼḺŁȽⱢⱠꝈꝆꞀ"},{base:"LJ",letters:"LJ"},{base:"Lj",letters:"Lj"},{base:"M",letters:"MⓂMḾṀṂⱮƜ"},{base:"N",letters:"NⓃNǸŃÑṄŇṆŅṊṈȠƝꞐꞤ"},{base:"NJ",letters:"NJ"},{base:"Nj",letters:"Nj"},{base:"O",letters:"OⓄOÒÓÔỒỐỖỔÕṌȬṎŌṐṒŎȮȰÖȪỎŐǑȌȎƠỜỚỠỞỢỌỘǪǬØǾƆƟꝊꝌ"},{base:"OI",letters:"Ƣ"},{base:"OO",letters:"Ꝏ"},{base:"OU",letters:"Ȣ"},{base:"P",letters:"PⓅPṔṖƤⱣꝐꝒꝔ"},{base:"Q",letters:"QⓆQꝖꝘɊ"},{base:"R",letters:"RⓇRŔṘŘȐȒṚṜŖṞɌⱤꝚꞦꞂ"},{base:"S",letters:"SⓈSẞŚṤŜṠŠṦṢṨȘŞⱾꞨꞄ"},{base:"T",letters:"TⓉTṪŤṬȚŢṰṮŦƬƮȾꞆ"},{base:"TZ",letters:"Ꜩ"},{base:"U",letters:"UⓊUÙÚÛŨṸŪṺŬÜǛǗǕǙỦŮŰǓȔȖƯỪỨỮỬỰỤṲŲṶṴɄ"},{base:"V",letters:"VⓋVṼṾƲꝞɅ"},{base:"VY",letters:"Ꝡ"},{base:"W",letters:"WⓌWẀẂŴẆẄẈⱲ"},{base:"X",letters:"XⓍXẊẌ"},{base:"Y",letters:"YⓎYỲÝŶỸȲẎŸỶỴƳɎỾ"},{base:"Z",letters:"ZⓏZŹẐŻŽẒẔƵȤⱿⱫꝢ"},{base:"a",letters:"aⓐaẚàáâầấẫẩãāăằắẵẳȧǡäǟảåǻǎȁȃạậặḁąⱥɐ"},{base:"aa",letters:"ꜳ"},{base:"ae",letters:"æǽǣ"},{base:"ao",letters:"ꜵ"},{base:"au",letters:"ꜷ"},{base:"av",letters:"ꜹꜻ"},{base:"ay",letters:"ꜽ"},{base:"b",letters:"bⓑbḃḅḇƀƃɓ"},{base:"c",letters:"cⓒcćĉċčçḉƈȼꜿↄ"},{base:"d",letters:"dⓓdḋďḍḑḓḏđƌɖɗꝺ"},{base:"dz",letters:"dzdž"},{base:"e",letters:"eⓔeèéêềếễểẽēḕḗĕėëẻěȅȇẹệȩḝęḙḛɇɛǝ"},{base:"f",letters:"fⓕfḟƒꝼ"},{base:"g",letters:"gⓖgǵĝḡğġǧģǥɠꞡᵹꝿ"},{base:"h",letters:"hⓗhĥḣḧȟḥḩḫẖħⱨⱶɥ"},{base:"hv",letters:"ƕ"},{base:"i",letters:"iⓘiìíîĩīĭïḯỉǐȉȋịįḭɨı"},{base:"j",letters:"jⓙjĵǰɉ"},{base:"k",letters:"kⓚkḱǩḳķḵƙⱪꝁꝃꝅꞣ"},{base:"l",letters:"lⓛlŀĺľḷḹļḽḻſłƚɫⱡꝉꞁꝇ"},{base:"lj",letters:"lj"},{base:"m",letters:"mⓜmḿṁṃɱɯ"},{base:"n",letters:"nⓝnǹńñṅňṇņṋṉƞɲʼnꞑꞥ"},{base:"nj",letters:"nj"},{base:"o",letters:"oⓞoòóôồốỗổõṍȭṏōṑṓŏȯȱöȫỏőǒȍȏơờớỡởợọộǫǭøǿɔꝋꝍɵ"},{base:"oi",letters:"ƣ"},{base:"ou",letters:"ȣ"},{base:"oo",letters:"ꝏ"},{base:"p",letters:"pⓟpṕṗƥᵽꝑꝓꝕ"},{base:"q",letters:"qⓠqɋꝗꝙ"},{base:"r",letters:"rⓡrŕṙřȑȓṛṝŗṟɍɽꝛꞧꞃ"},{base:"s",letters:"sⓢsßśṥŝṡšṧṣṩșşȿꞩꞅẛ"},{base:"t",letters:"tⓣtṫẗťṭțţṱṯŧƭʈⱦꞇ"},{base:"tz",letters:"ꜩ"},{base:"u",letters:"uⓤuùúûũṹūṻŭüǜǘǖǚủůűǔȕȗưừứữửựụṳųṷṵʉ"},{base:"v",letters:"vⓥvṽṿʋꝟʌ"},{base:"vy",letters:"ꝡ"},{base:"w",letters:"wⓦwẁẃŵẇẅẘẉⱳ"},{base:"x",letters:"xⓧxẋẍ"},{base:"y",letters:"yⓨyỳýŷỹȳẏÿỷẙỵƴɏỿ"},{base:"z",letters:"zⓩzźẑżžẓẕƶȥɀⱬꝣ"}],Mg=new RegExp("["+Ki.map(function(t){return t.letters}).join("")+"]","g"),$a={},qi=0;qi<Ki.length;qi++)for(var er=Ki[qi],tr=0;tr<er.letters.length;tr++)$a[er.letters[tr]]=er.base;var Ka=function(e){return e.replace(Mg,function(n){return $a[n]})},Dg=Eg(Ka),qa=function(e){return e.replace(/^\s+|\s+$/g,"")},Ng=function(e){return"".concat(e.label," ").concat(e.value)},Rg=function(e){return function(n,i){if(n.data.__isNew__)return!0;var r=V({ignoreCase:!0,ignoreAccents:!0,stringify:Ng,trim:!0,matchFrom:"any"},e),s=r.ignoreCase,o=r.ignoreAccents,u=r.stringify,a=r.trim,l=r.matchFrom,c=a?qa(i):i,d=a?qa(u(n)):u(n);return s&&(c=c.toLowerCase(),d=d.toLowerCase()),o&&(c=Dg(c),d=Ka(d)),l==="start"?d.substr(0,c.length)===c:d.indexOf(c)>-1}},Lg=["innerRef"];function Wg(t){var e=t.innerRef,n=Me(t,Lg),i=um(n,"onExited","in","enter","exit","appear");return T("input",B({ref:e},i,{css:ji({label:"dummyInput",background:0,border:0,caretColor:"transparent",fontSize:"inherit",gridArea:"1 / 1 / 2 / 3",outline:0,padding:0,width:1,color:"transparent",left:-100,opacity:0,position:"relative",transform:"scale(.01)"},process.env.NODE_ENV==="production"?"":";label:DummyInput;",process.env.NODE_ENV==="production"?"":"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkR1bW15SW5wdXQudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCTSIsImZpbGUiOiJEdW1teUlucHV0LnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgUmVmIH0gZnJvbSAncmVhY3QnO1xuaW1wb3J0IHsganN4IH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnO1xuaW1wb3J0IHsgcmVtb3ZlUHJvcHMgfSBmcm9tICcuLi91dGlscyc7XG5cbmV4cG9ydCBkZWZhdWx0IGZ1bmN0aW9uIER1bW15SW5wdXQoe1xuICBpbm5lclJlZixcbiAgLi4ucHJvcHNcbn06IEpTWC5JbnRyaW5zaWNFbGVtZW50c1snaW5wdXQnXSAmIHtcbiAgcmVhZG9ubHkgaW5uZXJSZWY6IFJlZjxIVE1MSW5wdXRFbGVtZW50Pjtcbn0pIHt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OiAtMTAwLFxuICAgICAgICBvcGFjaXR5OiAwLFxuICAgICAgICBwb3NpdGlvbjogJ3JlbGF0aXZlJyxcbiAgICAgICAgdHJhbnNmb3JtOiAnc2NhbGUoLjAxKScsXG4gICAgICB9fVxuICAgIC8+XG4gICk7XG59XG4iXX0= */")}))}var Og=function(e){e.cancelable&&e.preventDefault(),e.stopPropagation()};function Xg(t){var e=t.isEnabled,n=t.onBottomArrive,i=t.onBottomLeave,r=t.onTopArrive,s=t.onTopLeave,o=C.useRef(!1),u=C.useRef(!1),a=C.useRef(0),l=C.useRef(null),c=C.useCallback(function(g,b){if(l.current!==null){var I=l.current,v=I.scrollTop,x=I.scrollHeight,y=I.clientHeight,S=l.current,P=b>0,A=x-y-v,M=!1;A>b&&o.current&&(i&&i(g),o.current=!1),P&&u.current&&(s&&s(g),u.current=!1),P&&b>A?(n&&!o.current&&n(g),S.scrollTop=x,M=!0,o.current=!0):!P&&-b>v&&(r&&!u.current&&r(g),S.scrollTop=0,M=!0,u.current=!0),M&&Og(g)}},[n,i,r,s]),d=C.useCallback(function(g){c(g,g.deltaY)},[c]),f=C.useCallback(function(g){a.current=g.changedTouches[0].clientY},[]),h=C.useCallback(function(g){var b=a.current-g.changedTouches[0].clientY;c(g,b)},[c]),m=C.useCallback(function(g){if(g){var b=sm?{passive:!1}:!1;g.addEventListener("wheel",d,b),g.addEventListener("touchstart",f,b),g.addEventListener("touchmove",h,b)}},[h,f,d]),p=C.useCallback(function(g){g&&(g.removeEventListener("wheel",d,!1),g.removeEventListener("touchstart",f,!1),g.removeEventListener("touchmove",h,!1))},[h,f,d]);return C.useEffect(function(){if(e){var g=l.current;return m(g),function(){p(g)}}},[e,m,p]),function(g){l.current=g}}var eu=["boxSizing","height","overflow","paddingRight","position"],tu={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function nu(t){t.preventDefault()}function iu(t){t.stopPropagation()}function ru(){var t=this.scrollTop,e=this.scrollHeight,n=t+this.offsetHeight;t===0?this.scrollTop=1:n===e&&(this.scrollTop=t-1)}function su(){return"ontouchstart"in window||navigator.maxTouchPoints}var ou=!!(typeof window<"u"&&window.document&&window.document.createElement),Mt=0,ut={capture:!1,passive:!1};function Zg(t){var e=t.isEnabled,n=t.accountForScrollbars,i=n===void 0?!0:n,r=C.useRef({}),s=C.useRef(null),o=C.useCallback(function(a){if(ou){var l=document.body,c=l&&l.style;if(i&&eu.forEach(function(m){var p=c&&c[m];r.current[m]=p}),i&&Mt<1){var d=parseInt(r.current.paddingRight,10)||0,f=document.body?document.body.clientWidth:0,h=window.innerWidth-f+d||0;Object.keys(tu).forEach(function(m){var p=tu[m];c&&(c[m]=p)}),c&&(c.paddingRight="".concat(h,"px"))}l&&su()&&(l.addEventListener("touchmove",nu,ut),a&&(a.addEventListener("touchstart",ru,ut),a.addEventListener("touchmove",iu,ut))),Mt+=1}},[i]),u=C.useCallback(function(a){if(ou){var l=document.body,c=l&&l.style;Mt=Math.max(Mt-1,0),i&&Mt<1&&eu.forEach(function(d){var f=r.current[d];c&&(c[d]=f)}),l&&su()&&(l.removeEventListener("touchmove",nu,ut),a&&(a.removeEventListener("touchstart",ru,ut),a.removeEventListener("touchmove",iu,ut)))}},[i]);return C.useEffect(function(){if(e){var a=s.current;return o(a),function(){u(a)}}},[e,o,u]),function(a){s.current=a}}function Hg(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}var kg=function(e){var n=e.target;return n.ownerDocument.activeElement&&n.ownerDocument.activeElement.blur()},zg=process.env.NODE_ENV==="production"?{name:"1kfdb0e",styles:"position:fixed;left:0;bottom:0;right:0;top:0"}:{name:"bp8cua-ScrollManager",styles:"position:fixed;left:0;bottom:0;right:0;top:0;label:ScrollManager;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlNjcm9sbE1hbmFnZXIudHN4Il0sIm5hbW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AgICAgPGRpdlxuICAgICAgICAgIG9uQ2xpY2s9e2JsdXJTZWxlY3RJbnB1dH1cbiAgICAgICAgICBjc3M9e3sgcG9zaXRpb246ICdmaXhlZCcsIGxlZnQ6IDAsIGJvdHRvbTogMCwgcmlnaHQ6IDAsIHRvcDogMCB9fVxuICAgICAgICAvPlxuICAgICAgKX1cbiAgICAgIHtjaGlsZHJlbih0YXJnZXRSZWYpfVxuICAgIDwvRnJhZ21lbnQ+XG4gICk7XG59XG4iXX0= */",toString:Hg};function jg(t){var e=t.children,n=t.lockEnabled,i=t.captureEnabled,r=i===void 0?!0:i,s=t.onBottomArrive,o=t.onBottomLeave,u=t.onTopArrive,a=t.onTopLeave,l=Xg({isEnabled:r,onBottomArrive:s,onBottomLeave:o,onTopArrive:u,onTopLeave:a}),c=Zg({isEnabled:n}),d=function(h){l(h),c(h)};return T(C.Fragment,null,n&&T("div",{onClick:kg,css:zg}),e(d))}function Yg(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}var Jg=process.env.NODE_ENV==="production"?{name:"1a0ro4n-requiredInput",styles:"label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%"}:{name:"5kkxb2-requiredInput-RequiredInput",styles:"label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%;label:RequiredInput;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlJlcXVpcmVkSW5wdXQudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQWNJIiwiZmlsZSI6IlJlcXVpcmVkSW5wdXQudHN4Iiwic291cmNlc0NvbnRlbnQiOlsiLyoqIEBqc3gganN4ICovXG5pbXBvcnQgeyBGb2N1c0V2ZW50SGFuZGxlciwgRnVuY3Rpb25Db21wb25lbnQgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3ggfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbmNvbnN0IFJlcXVpcmVkSW5wdXQ6IEZ1bmN0aW9uQ29tcG9uZW50PHtcbiAgcmVhZG9ubHkgbmFtZT86IHN0cmluZztcbiAgcmVhZG9ubHkgb25Gb2N1czogRm9jdXNFdmVudEhhbmRsZXI8SFRNTElucHV0RWxlbWVudD47XG59PiA9ICh7IG5hbWUsIG9uRm9jdXMgfSkgPT4gKFxuICA8aW5wdXRcbiAgICByZXF1aXJlZFxuICAgIG5hbWU9e25hbWV9XG4gICAgdGFiSW5kZXg9ey0xfVxuICAgIGFyaWEtaGlkZGVuPVwidHJ1ZVwiXG4gICAgb25Gb2N1cz17b25Gb2N1c31cbiAgICBjc3M9e3tcbiAgICAgIGxhYmVsOiAncmVxdWlyZWRJbnB1dCcsXG4gICAgICBvcGFjaXR5OiAwLFxuICAgICAgcG9pbnRlckV2ZW50czogJ25vbmUnLFxuICAgICAgcG9zaXRpb246ICdhYnNvbHV0ZScsXG4gICAgICBib3R0b206IDAsXG4gICAgICBsZWZ0OiAwLFxuICAgICAgcmlnaHQ6IDAsXG4gICAgICB3aWR0aDogJzEwMCUnLFxuICAgIH19XG4gICAgLy8gUHJldmVudCBgU3dpdGNoaW5nIGZyb20gdW5jb250cm9sbGVkIHRvIGNvbnRyb2xsZWRgIGVycm9yXG4gICAgdmFsdWU9XCJcIlxuICAgIG9uQ2hhbmdlPXsoKSA9PiB7fX1cbiAgLz5cbik7XG5cbmV4cG9ydCBkZWZhdWx0IFJlcXVpcmVkSW5wdXQ7XG4iXX0= */",toString:Yg},Ug=function(e){var n=e.name,i=e.onFocus;return T("input",{required:!0,name:n,tabIndex:-1,"aria-hidden":"true",onFocus:i,css:Jg,value:"",onChange:function(){}})},_g=Ug;function nr(t){var e;return typeof window<"u"&&window.navigator!=null?t.test(((e=window.navigator.userAgentData)===null||e===void 0?void 0:e.platform)||window.navigator.platform):!1}function Qg(){return nr(/^iPhone/i)}function au(){return nr(/^Mac/i)}function $g(){return nr(/^iPad/i)||au()&&navigator.maxTouchPoints>1}function Kg(){return Qg()||$g()}function qg(){return au()||Kg()}var eb=function(e){return e.label},tb=function(e){return e.label},nb=function(e){return e.value},ib=function(e){return!!e.isDisabled},rb={clearIndicator:Lm,container:Pm,control:zm,dropdownIndicator:Nm,group:Um,groupHeading:Qm,indicatorsContainer:wm,indicatorSeparator:Om,input:eg,loadingIndicator:Hm,loadingMessage:Im,menu:hm,menuList:bm,menuPortal:Am,multiValue:sg,multiValueLabel:og,multiValueRemove:ag,noOptionsMessage:ym,option:hg,placeholder:gg,singleValue:yg,valueContainer:Tm},sb={primary:"#2684FF",primary75:"#4C9AFF",primary50:"#B2D4FF",primary25:"#DEEBFF",danger:"#DE350B",dangerLight:"#FFBDAD",neutral0:"hsl(0, 0%, 100%)",neutral5:"hsl(0, 0%, 95%)",neutral10:"hsl(0, 0%, 90%)",neutral20:"hsl(0, 0%, 80%)",neutral30:"hsl(0, 0%, 70%)",neutral40:"hsl(0, 0%, 60%)",neutral50:"hsl(0, 0%, 50%)",neutral60:"hsl(0, 0%, 40%)",neutral70:"hsl(0, 0%, 30%)",neutral80:"hsl(0, 0%, 20%)",neutral90:"hsl(0, 0%, 10%)"},ob=4,uu=4,ab=38,ub=uu*2,lb={baseUnit:uu,controlHeight:ab,menuGutter:ub},ir={borderRadius:ob,colors:sb,spacing:lb},cb={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:Wa(),captureMenuScroll:!Wa(),classNames:{},closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:Rg(),formatGroupLabel:eb,getOptionLabel:tb,getOptionValue:nb,isDisabled:!1,isLoading:!1,isMulti:!1,isRtl:!1,isSearchable:!0,isOptionDisabled:ib,loadingMessage:function(){return"Loading..."},maxMenuHeight:300,minMenuHeight:140,menuIsOpen:!1,menuPlacement:"bottom",menuPosition:"absolute",menuShouldBlockScroll:!1,menuShouldScrollIntoView:!im(),noOptionsMessage:function(){return"No options"},openMenuOnFocus:!1,openMenuOnClick:!0,options:[],pageSize:5,placeholder:"Select...",screenReaderStatus:function(e){var n=e.count;return"".concat(n," result").concat(n!==1?"s":""," available")},styles:{},tabIndex:0,tabSelectsValue:!0,unstyled:!1};function lu(t,e,n,i){var r=pu(t,e,n),s=mu(t,e,n),o=hu(t,e),u=En(t,e);return{type:"option",data:e,isDisabled:r,isSelected:s,label:o,value:u,index:i}}function Pn(t,e){return t.options.map(function(n,i){if("options"in n){var r=n.options.map(function(o,u){return lu(t,o,e,u)}).filter(function(o){return fu(t,o)});return r.length>0?{type:"group",data:n,options:r,index:i}:void 0}var s=lu(t,n,e,i);return fu(t,s)?s:void 0}).filter(om)}function cu(t){return t.reduce(function(e,n){return n.type==="group"?e.push.apply(e,Ni(n.options.map(function(i){return i.data}))):e.push(n.data),e},[])}function du(t,e){return t.reduce(function(n,i){return i.type==="group"?n.push.apply(n,Ni(i.options.map(function(r){return{data:r.data,id:"".concat(e,"-").concat(i.index,"-").concat(r.index)}}))):n.push({data:i.data,id:"".concat(e,"-").concat(i.index)}),n},[])}function db(t,e){return cu(Pn(t,e))}function fu(t,e){var n=t.inputValue,i=n===void 0?"":n,r=e.data,s=e.isSelected,o=e.label,u=e.value;return(!bu(t)||!s)&&gu(t,{label:o,value:u,data:r},i)}function fb(t,e){var n=t.focusedValue,i=t.selectValue,r=i.indexOf(n);if(r>-1){var s=e.indexOf(n);if(s>-1)return n;if(r<e.length)return e[r]}return null}function hb(t,e){var n=t.focusedOption;return n&&e.indexOf(n)>-1?n:e[0]}var rr=function(e,n){var i,r=(i=e.find(function(s){return s.data===n}))===null||i===void 0?void 0:i.id;return r||null},hu=function(e,n){return e.getOptionLabel(n)},En=function(e,n){return e.getOptionValue(n)};function pu(t,e,n){return typeof t.isOptionDisabled=="function"?t.isOptionDisabled(e,n):!1}function mu(t,e,n){if(n.indexOf(e)>-1)return!0;if(typeof t.isOptionSelected=="function")return t.isOptionSelected(e,n);var i=En(t,e);return n.some(function(r){return En(t,r)===i})}function gu(t,e,n){return t.filterOption?t.filterOption(e,n):!0}var bu=function(e){var n=e.hideSelectedOptions,i=e.isMulti;return n===void 0?i:n},pb=1,vu=function(t){Eh(n,t);var e=wh(n);function n(i){var r;if(Sh(this,n),r=e.call(this,i),r.state={ariaSelection:null,focusedOption:null,focusedOptionId:null,focusableOptionsWithIds:[],focusedValue:null,inputIsHidden:!1,isFocused:!1,selectValue:[],clearFocusValueOnUpdate:!1,prevWasFocused:!1,inputIsHiddenAfterUpdate:void 0,prevProps:void 0,instancePrefix:""},r.blockOptionHover=!1,r.isComposing=!1,r.commonProps=void 0,r.initialTouchX=0,r.initialTouchY=0,r.openAfterFocus=!1,r.scrollToFocusedOptionOnUpdate=!1,r.userIsDragging=void 0,r.isAppleDevice=qg(),r.controlRef=null,r.getControlRef=function(a){r.controlRef=a},r.focusedOptionRef=null,r.getFocusedOptionRef=function(a){r.focusedOptionRef=a},r.menuListRef=null,r.getMenuListRef=function(a){r.menuListRef=a},r.inputRef=null,r.getInputRef=function(a){r.inputRef=a},r.focus=r.focusInput,r.blur=r.blurInput,r.onChange=function(a,l){var c=r.props,d=c.onChange,f=c.name;l.name=f,r.ariaOnChange(a,l),d(a,l)},r.setValue=function(a,l,c){var d=r.props,f=d.closeMenuOnSelect,h=d.isMulti,m=d.inputValue;r.onInputChange("",{action:"set-value",prevInputValue:m}),f&&(r.setState({inputIsHiddenAfterUpdate:!h}),r.onMenuClose()),r.setState({clearFocusValueOnUpdate:!0}),r.onChange(a,{action:l,option:c})},r.selectOption=function(a){var l=r.props,c=l.blurInputOnSelect,d=l.isMulti,f=l.name,h=r.state.selectValue,m=d&&r.isOptionSelected(a,h),p=r.isOptionDisabled(a,h);if(m){var g=r.getOptionValue(a);r.setValue(h.filter(function(b){return r.getOptionValue(b)!==g}),"deselect-option",a)}else if(!p)d?r.setValue([].concat(Ni(h),[a]),"select-option",a):r.setValue(a,"select-option");else{r.ariaOnChange(a,{action:"select-option",option:a,name:f});return}c&&r.blurInput()},r.removeValue=function(a){var l=r.props.isMulti,c=r.state.selectValue,d=r.getOptionValue(a),f=c.filter(function(m){return r.getOptionValue(m)!==d}),h=Sn(l,f,f[0]||null);r.onChange(h,{action:"remove-value",removedValue:a}),r.focusInput()},r.clearValue=function(){var a=r.state.selectValue;r.onChange(Sn(r.props.isMulti,[],null),{action:"clear",removedValues:a})},r.popValue=function(){var a=r.props.isMulti,l=r.state.selectValue,c=l[l.length-1],d=l.slice(0,l.length-1),f=Sn(a,d,d[0]||null);r.onChange(f,{action:"pop-value",removedValue:c})},r.getFocusedOptionId=function(a){return rr(r.state.focusableOptionsWithIds,a)},r.getFocusableOptionsWithIds=function(){return du(Pn(r.props,r.state.selectValue),r.getElementId("option"))},r.getValue=function(){return r.state.selectValue},r.cx=function(){for(var a=arguments.length,l=new Array(a),c=0;c<a;c++)l[c]=arguments[c];return Kp.apply(void 0,[r.props.classNamePrefix].concat(l))},r.getOptionLabel=function(a){return hu(r.props,a)},r.getOptionValue=function(a){return En(r.props,a)},r.getStyles=function(a,l){var c=r.props.unstyled,d=rb[a](l,c);d.boxSizing="border-box";var f=r.props.styles[a];return f?f(d,l):d},r.getClassNames=function(a,l){var c,d;return(c=(d=r.props.classNames)[a])===null||c===void 0?void 0:c.call(d,l)},r.getElementId=function(a){return"".concat(r.state.instancePrefix,"-").concat(a)},r.getComponents=function(){return Ag(r.props)},r.buildCategorizedOptions=function(){return Pn(r.props,r.state.selectValue)},r.getCategorizedOptions=function(){return r.props.menuIsOpen?r.buildCategorizedOptions():[]},r.buildFocusableOptions=function(){return cu(r.buildCategorizedOptions())},r.getFocusableOptions=function(){return r.props.menuIsOpen?r.buildFocusableOptions():[]},r.ariaOnChange=function(a,l){r.setState({ariaSelection:V({value:a},l)})},r.onMenuMouseDown=function(a){a.button===0&&(a.stopPropagation(),a.preventDefault(),r.focusInput())},r.onMenuMouseMove=function(a){r.blockOptionHover=!1},r.onControlMouseDown=function(a){if(!a.defaultPrevented){var l=r.props.openMenuOnClick;r.state.isFocused?r.props.menuIsOpen?a.target.tagName!=="INPUT"&&a.target.tagName!=="TEXTAREA"&&r.onMenuClose():l&&r.openMenu("first"):(l&&(r.openAfterFocus=!0),r.focusInput()),a.target.tagName!=="INPUT"&&a.target.tagName!=="TEXTAREA"&&a.preventDefault()}},r.onDropdownIndicatorMouseDown=function(a){if(!(a&&a.type==="mousedown"&&a.button!==0)&&!r.props.isDisabled){var l=r.props,c=l.isMulti,d=l.menuIsOpen;r.focusInput(),d?(r.setState({inputIsHiddenAfterUpdate:!c}),r.onMenuClose()):r.openMenu("first"),a.preventDefault()}},r.onClearIndicatorMouseDown=function(a){a&&a.type==="mousedown"&&a.button!==0||(r.clearValue(),a.preventDefault(),r.openAfterFocus=!1,a.type==="touchend"?r.focusInput():setTimeout(function(){return r.focusInput()}))},r.onScroll=function(a){typeof r.props.closeMenuOnScroll=="boolean"?a.target instanceof HTMLElement&&In(a.target)&&r.props.onMenuClose():typeof r.props.closeMenuOnScroll=="function"&&r.props.closeMenuOnScroll(a)&&r.props.onMenuClose()},r.onCompositionStart=function(){r.isComposing=!0},r.onCompositionEnd=function(){r.isComposing=!1},r.onTouchStart=function(a){var l=a.touches,c=l&&l.item(0);c&&(r.initialTouchX=c.clientX,r.initialTouchY=c.clientY,r.userIsDragging=!1)},r.onTouchMove=function(a){var l=a.touches,c=l&&l.item(0);if(c){var d=Math.abs(c.clientX-r.initialTouchX),f=Math.abs(c.clientY-r.initialTouchY),h=5;r.userIsDragging=d>h||f>h}},r.onTouchEnd=function(a){r.userIsDragging||(r.controlRef&&!r.controlRef.contains(a.target)&&r.menuListRef&&!r.menuListRef.contains(a.target)&&r.blurInput(),r.initialTouchX=0,r.initialTouchY=0)},r.onControlTouchEnd=function(a){r.userIsDragging||r.onControlMouseDown(a)},r.onClearIndicatorTouchEnd=function(a){r.userIsDragging||r.onClearIndicatorMouseDown(a)},r.onDropdownIndicatorTouchEnd=function(a){r.userIsDragging||r.onDropdownIndicatorMouseDown(a)},r.handleInputChange=function(a){var l=r.props.inputValue,c=a.currentTarget.value;r.setState({inputIsHiddenAfterUpdate:!1}),r.onInputChange(c,{action:"input-change",prevInputValue:l}),r.props.menuIsOpen||r.onMenuOpen()},r.onInputFocus=function(a){r.props.onFocus&&r.props.onFocus(a),r.setState({inputIsHiddenAfterUpdate:!1,isFocused:!0}),(r.openAfterFocus||r.props.openMenuOnFocus)&&r.openMenu("first"),r.openAfterFocus=!1},r.onInputBlur=function(a){var l=r.props.inputValue;if(r.menuListRef&&r.menuListRef.contains(document.activeElement)){r.inputRef.focus();return}r.props.onBlur&&r.props.onBlur(a),r.onInputChange("",{action:"input-blur",prevInputValue:l}),r.onMenuClose(),r.setState({focusedValue:null,isFocused:!1})},r.onOptionHover=function(a){if(!(r.blockOptionHover||r.state.focusedOption===a)){var l=r.getFocusableOptions(),c=l.indexOf(a);r.setState({focusedOption:a,focusedOptionId:c>-1?r.getFocusedOptionId(a):null})}},r.shouldHideSelectedOptions=function(){return bu(r.props)},r.onValueInputFocus=function(a){a.preventDefault(),a.stopPropagation(),r.focus()},r.onKeyDown=function(a){var l=r.props,c=l.isMulti,d=l.backspaceRemovesValue,f=l.escapeClearsValue,h=l.inputValue,m=l.isClearable,p=l.isDisabled,g=l.menuIsOpen,b=l.onKeyDown,I=l.tabSelectsValue,v=l.openMenuOnFocus,x=r.state,y=x.focusedOption,S=x.focusedValue,P=x.selectValue;if(!p&&!(typeof b=="function"&&(b(a),a.defaultPrevented))){switch(r.blockOptionHover=!0,a.key){case"ArrowLeft":if(!c||h)return;r.focusValue("previous");break;case"ArrowRight":if(!c||h)return;r.focusValue("next");break;case"Delete":case"Backspace":if(h)return;if(S)r.removeValue(S);else{if(!d)return;c?r.popValue():m&&r.clearValue()}break;case"Tab":if(r.isComposing||a.shiftKey||!g||!I||!y||v&&r.isOptionSelected(y,P))return;r.selectOption(y);break;case"Enter":if(a.keyCode===229)break;if(g){if(!y||r.isComposing)return;r.selectOption(y);break}return;case"Escape":g?(r.setState({inputIsHiddenAfterUpdate:!1}),r.onInputChange("",{action:"menu-close",prevInputValue:h}),r.onMenuClose()):m&&f&&r.clearValue();break;case" ":if(h)return;if(!g){r.openMenu("first");break}if(!y)return;r.selectOption(y);break;case"ArrowUp":g?r.focusOption("up"):r.openMenu("last");break;case"ArrowDown":g?r.focusOption("down"):r.openMenu("first");break;case"PageUp":if(!g)return;r.focusOption("pageup");break;case"PageDown":if(!g)return;r.focusOption("pagedown");break;case"Home":if(!g)return;r.focusOption("first");break;case"End":if(!g)return;r.focusOption("last");break;default:return}a.preventDefault()}},r.state.instancePrefix="react-select-"+(r.props.instanceId||++pb),r.state.selectValue=Da(i.value),i.menuIsOpen&&r.state.selectValue.length){var s=r.getFocusableOptionsWithIds(),o=r.buildFocusableOptions(),u=o.indexOf(r.state.selectValue[0]);r.state.focusableOptionsWithIds=s,r.state.focusedOption=o[u],r.state.focusedOptionId=rr(s,o[u])}return r}return Ph(n,[{key:"componentDidMount",value:function(){this.startListeningComposition(),this.startListeningToTouch(),this.props.closeMenuOnScroll&&document&&document.addEventListener&&document.addEventListener("scroll",this.onScroll,!0),this.props.autoFocus&&this.focusInput(),this.props.menuIsOpen&&this.state.focusedOption&&this.menuListRef&&this.focusedOptionRef&&La(this.menuListRef,this.focusedOptionRef)}},{key:"componentDidUpdate",value:function(r){var s=this.props,o=s.isDisabled,u=s.menuIsOpen,a=this.state.isFocused;(a&&!o&&r.isDisabled||a&&u&&!r.menuIsOpen)&&this.focusInput(),a&&o&&!r.isDisabled?this.setState({isFocused:!1},this.onMenuClose):!a&&!o&&r.isDisabled&&this.inputRef===document.activeElement&&this.setState({isFocused:!0}),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&(La(this.menuListRef,this.focusedOptionRef),this.scrollToFocusedOptionOnUpdate=!1)}},{key:"componentWillUnmount",value:function(){this.stopListeningComposition(),this.stopListeningToTouch(),document.removeEventListener("scroll",this.onScroll,!0)}},{key:"onMenuOpen",value:function(){this.props.onMenuOpen()}},{key:"onMenuClose",value:function(){this.onInputChange("",{action:"menu-close",prevInputValue:this.props.inputValue}),this.props.onMenuClose()}},{key:"onInputChange",value:function(r,s){this.props.onInputChange(r,s)}},{key:"focusInput",value:function(){this.inputRef&&this.inputRef.focus()}},{key:"blurInput",value:function(){this.inputRef&&this.inputRef.blur()}},{key:"openMenu",value:function(r){var s=this,o=this.state,u=o.selectValue,a=o.isFocused,l=this.buildFocusableOptions(),c=r==="first"?0:l.length-1;if(!this.props.isMulti){var d=l.indexOf(u[0]);d>-1&&(c=d)}this.scrollToFocusedOptionOnUpdate=!(a&&this.menuListRef),this.setState({inputIsHiddenAfterUpdate:!1,focusedValue:null,focusedOption:l[c],focusedOptionId:this.getFocusedOptionId(l[c])},function(){return s.onMenuOpen()})}},{key:"focusValue",value:function(r){var s=this.state,o=s.selectValue,u=s.focusedValue;if(this.props.isMulti){this.setState({focusedOption:null});var a=o.indexOf(u);u||(a=-1);var l=o.length-1,c=-1;if(o.length){switch(r){case"previous":a===0?c=0:a===-1?c=l:c=a-1;break;case"next":a>-1&&a<l&&(c=a+1);break}this.setState({inputIsHidden:c!==-1,focusedValue:o[c]})}}}},{key:"focusOption",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"first",s=this.props.pageSize,o=this.state.focusedOption,u=this.getFocusableOptions();if(u.length){var a=0,l=u.indexOf(o);o||(l=-1),r==="up"?a=l>0?l-1:u.length-1:r==="down"?a=(l+1)%u.length:r==="pageup"?(a=l-s,a<0&&(a=0)):r==="pagedown"?(a=l+s,a>u.length-1&&(a=u.length-1)):r==="last"&&(a=u.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:u[a],focusedValue:null,focusedOptionId:this.getFocusedOptionId(u[a])})}}},{key:"getTheme",value:function(){return this.props.theme?typeof this.props.theme=="function"?this.props.theme(ir):V(V({},ir),this.props.theme):ir}},{key:"getCommonProps",value:function(){var r=this.clearValue,s=this.cx,o=this.getStyles,u=this.getClassNames,a=this.getValue,l=this.selectOption,c=this.setValue,d=this.props,f=d.isMulti,h=d.isRtl,m=d.options,p=this.hasValue();return{clearValue:r,cx:s,getStyles:o,getClassNames:u,getValue:a,hasValue:p,isMulti:f,isRtl:h,options:m,selectOption:l,selectProps:d,setValue:c,theme:this.getTheme()}}},{key:"hasValue",value:function(){var r=this.state.selectValue;return r.length>0}},{key:"hasOptions",value:function(){return!!this.getFocusableOptions().length}},{key:"isClearable",value:function(){var r=this.props,s=r.isClearable,o=r.isMulti;return s===void 0?o:s}},{key:"isOptionDisabled",value:function(r,s){return pu(this.props,r,s)}},{key:"isOptionSelected",value:function(r,s){return mu(this.props,r,s)}},{key:"filterOption",value:function(r,s){return gu(this.props,r,s)}},{key:"formatOptionLabel",value:function(r,s){if(typeof this.props.formatOptionLabel=="function"){var o=this.props.inputValue,u=this.state.selectValue;return this.props.formatOptionLabel(r,{context:s,inputValue:o,selectValue:u})}else return this.getOptionLabel(r)}},{key:"formatGroupLabel",value:function(r){return this.props.formatGroupLabel(r)}},{key:"startListeningComposition",value:function(){document&&document.addEventListener&&(document.addEventListener("compositionstart",this.onCompositionStart,!1),document.addEventListener("compositionend",this.onCompositionEnd,!1))}},{key:"stopListeningComposition",value:function(){document&&document.removeEventListener&&(document.removeEventListener("compositionstart",this.onCompositionStart),document.removeEventListener("compositionend",this.onCompositionEnd))}},{key:"startListeningToTouch",value:function(){document&&document.addEventListener&&(document.addEventListener("touchstart",this.onTouchStart,!1),document.addEventListener("touchmove",this.onTouchMove,!1),document.addEventListener("touchend",this.onTouchEnd,!1))}},{key:"stopListeningToTouch",value:function(){document&&document.removeEventListener&&(document.removeEventListener("touchstart",this.onTouchStart),document.removeEventListener("touchmove",this.onTouchMove),document.removeEventListener("touchend",this.onTouchEnd))}},{key:"renderInput",value:function(){var r=this.props,s=r.isDisabled,o=r.isSearchable,u=r.inputId,a=r.inputValue,l=r.tabIndex,c=r.form,d=r.menuIsOpen,f=r.required,h=this.getComponents(),m=h.Input,p=this.state,g=p.inputIsHidden,b=p.ariaSelection,I=this.commonProps,v=u||this.getElementId("input"),x=V(V(V({"aria-autocomplete":"list","aria-expanded":d,"aria-haspopup":!0,"aria-errormessage":this.props["aria-errormessage"],"aria-invalid":this.props["aria-invalid"],"aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"],"aria-required":f,role:"combobox","aria-activedescendant":this.isAppleDevice?void 0:this.state.focusedOptionId||""},d&&{"aria-controls":this.getElementId("listbox")}),!o&&{"aria-readonly":!0}),this.hasValue()?(b==null?void 0:b.action)==="initial-input-focus"&&{"aria-describedby":this.getElementId("live-region")}:{"aria-describedby":this.getElementId("placeholder")});return o?G.createElement(m,B({},I,{autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",id:v,innerRef:this.getInputRef,isDisabled:s,isHidden:g,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,spellCheck:"false",tabIndex:l,form:c,type:"text",value:a},x)):G.createElement(Wg,B({id:v,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:yn,onFocus:this.onInputFocus,disabled:s,tabIndex:l,inputMode:"none",form:c,value:""},x))}},{key:"renderPlaceholderOrValue",value:function(){var r=this,s=this.getComponents(),o=s.MultiValue,u=s.MultiValueContainer,a=s.MultiValueLabel,l=s.MultiValueRemove,c=s.SingleValue,d=s.Placeholder,f=this.commonProps,h=this.props,m=h.controlShouldRenderValue,p=h.isDisabled,g=h.isMulti,b=h.inputValue,I=h.placeholder,v=this.state,x=v.selectValue,y=v.focusedValue,S=v.isFocused;if(!this.hasValue()||!m)return b?null:G.createElement(d,B({},f,{key:"placeholder",isDisabled:p,isFocused:S,innerProps:{id:this.getElementId("placeholder")}}),I);if(g)return x.map(function(A,M){var N=A===y,k="".concat(r.getOptionLabel(A),"-").concat(r.getOptionValue(A));return G.createElement(o,B({},f,{components:{Container:u,Label:a,Remove:l},isFocused:N,isDisabled:p,key:k,index:M,removeProps:{onClick:function(){return r.removeValue(A)},onTouchEnd:function(){return r.removeValue(A)},onMouseDown:function(le){le.preventDefault()}},data:A}),r.formatOptionLabel(A,"value"))});if(b)return null;var P=x[0];return G.createElement(c,B({},f,{data:P,isDisabled:p}),this.formatOptionLabel(P,"value"))}},{key:"renderClearIndicator",value:function(){var r=this.getComponents(),s=r.ClearIndicator,o=this.commonProps,u=this.props,a=u.isDisabled,l=u.isLoading,c=this.state.isFocused;if(!this.isClearable()||!s||a||!this.hasValue()||l)return null;var d={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return G.createElement(s,B({},o,{innerProps:d,isFocused:c}))}},{key:"renderLoadingIndicator",value:function(){var r=this.getComponents(),s=r.LoadingIndicator,o=this.commonProps,u=this.props,a=u.isDisabled,l=u.isLoading,c=this.state.isFocused;if(!s||!l)return null;var d={"aria-hidden":"true"};return G.createElement(s,B({},o,{innerProps:d,isDisabled:a,isFocused:c}))}},{key:"renderIndicatorSeparator",value:function(){var r=this.getComponents(),s=r.DropdownIndicator,o=r.IndicatorSeparator;if(!s||!o)return null;var u=this.commonProps,a=this.props.isDisabled,l=this.state.isFocused;return G.createElement(o,B({},u,{isDisabled:a,isFocused:l}))}},{key:"renderDropdownIndicator",value:function(){var r=this.getComponents(),s=r.DropdownIndicator;if(!s)return null;var o=this.commonProps,u=this.props.isDisabled,a=this.state.isFocused,l={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return G.createElement(s,B({},o,{innerProps:l,isDisabled:u,isFocused:a}))}},{key:"renderMenu",value:function(){var r=this,s=this.getComponents(),o=s.Group,u=s.GroupHeading,a=s.Menu,l=s.MenuList,c=s.MenuPortal,d=s.LoadingMessage,f=s.NoOptionsMessage,h=s.Option,m=this.commonProps,p=this.state.focusedOption,g=this.props,b=g.captureMenuScroll,I=g.inputValue,v=g.isLoading,x=g.loadingMessage,y=g.minMenuHeight,S=g.maxMenuHeight,P=g.menuIsOpen,A=g.menuPlacement,M=g.menuPosition,N=g.menuPortalTarget,k=g.menuShouldBlockScroll,Y=g.menuShouldScrollIntoView,le=g.noOptionsMessage,se=g.onMenuScrollToTop,D=g.onMenuScrollToBottom;if(!P)return null;var W=function(ie,ge){var Ae=ie.type,ce=ie.data,Se=ie.isDisabled,be=ie.isSelected,dt=ie.label,sr=ie.value,Tn=p===ce,E=Se?void 0:function(){return r.onOptionHover(ce)},Dt=Se?void 0:function(){return r.selectOption(ce)},_e="".concat(r.getElementId("option"),"-").concat(ge),Vn={id:_e,onClick:Dt,onMouseMove:E,onMouseOver:E,tabIndex:-1,role:"option","aria-selected":r.isAppleDevice?void 0:be};return G.createElement(h,B({},m,{innerProps:Vn,data:ce,isDisabled:Se,isSelected:be,key:_e,label:dt,type:Ae,value:sr,isFocused:Tn,innerRef:Tn?r.getFocusedOptionRef:void 0}),r.formatOptionLabel(ie.data,"menu"))},ne;if(this.hasOptions())ne=this.getCategorizedOptions().map(function(J){if(J.type==="group"){var ie=J.data,ge=J.options,Ae=J.index,ce="".concat(r.getElementId("group"),"-").concat(Ae),Se="".concat(ce,"-heading");return G.createElement(o,B({},m,{key:ce,data:ie,options:ge,Heading:u,headingProps:{id:Se,data:J.data},label:r.formatGroupLabel(J.data)}),J.options.map(function(be){return W(be,"".concat(Ae,"-").concat(be.index))}))}else if(J.type==="option")return W(J,"".concat(J.index))});else if(v){var _=x({inputValue:I});if(_===null)return null;ne=G.createElement(d,m,_)}else{var xe=le({inputValue:I});if(xe===null)return null;ne=G.createElement(f,m,xe)}var me={minMenuHeight:y,maxMenuHeight:S,menuPlacement:A,menuPosition:M,menuShouldScrollIntoView:Y},ct=G.createElement(pm,B({},m,me),function(J){var ie=J.ref,ge=J.placerProps,Ae=ge.placement,ce=ge.maxHeight;return G.createElement(a,B({},m,me,{innerRef:ie,innerProps:{onMouseDown:r.onMenuMouseDown,onMouseMove:r.onMenuMouseMove},isLoading:v,placement:Ae}),G.createElement(jg,{captureEnabled:b,onTopArrive:se,onBottomArrive:D,lockEnabled:k},function(Se){return G.createElement(l,B({},m,{innerRef:function(dt){r.getMenuListRef(dt),Se(dt)},innerProps:{role:"listbox","aria-multiselectable":m.isMulti,id:r.getElementId("listbox")},isLoading:v,maxHeight:ce,focusedOption:p}),ne)}))});return N||M==="fixed"?G.createElement(c,B({},m,{appendTo:N,controlElement:this.controlRef,menuPlacement:A,menuPosition:M}),ct):ct}},{key:"renderFormField",value:function(){var r=this,s=this.props,o=s.delimiter,u=s.isDisabled,a=s.isMulti,l=s.name,c=s.required,d=this.state.selectValue;if(c&&!this.hasValue()&&!u)return G.createElement(_g,{name:l,onFocus:this.onValueInputFocus});if(!(!l||u))if(a)if(o){var f=d.map(function(p){return r.getOptionValue(p)}).join(o);return G.createElement("input",{name:l,type:"hidden",value:f})}else{var h=d.length>0?d.map(function(p,g){return G.createElement("input",{key:"i-".concat(g),name:l,type:"hidden",value:r.getOptionValue(p)})}):G.createElement("input",{name:l,type:"hidden",value:""});return G.createElement("div",null,h)}else{var m=d[0]?this.getOptionValue(d[0]):"";return G.createElement("input",{name:l,type:"hidden",value:m})}}},{key:"renderLiveRegion",value:function(){var r=this.commonProps,s=this.state,o=s.ariaSelection,u=s.focusedOption,a=s.focusedValue,l=s.isFocused,c=s.selectValue,d=this.getFocusableOptions();return G.createElement(Gg,B({},r,{id:this.getElementId("live-region"),ariaSelection:o,focusedOption:u,focusedValue:a,isFocused:l,selectValue:c,focusableOptions:d,isAppleDevice:this.isAppleDevice}))}},{key:"render",value:function(){var r=this.getComponents(),s=r.Control,o=r.IndicatorsContainer,u=r.SelectContainer,a=r.ValueContainer,l=this.props,c=l.className,d=l.id,f=l.isDisabled,h=l.menuIsOpen,m=this.state.isFocused,p=this.commonProps=this.getCommonProps();return G.createElement(u,B({},p,{className:c,innerProps:{id:d,onKeyDown:this.onKeyDown},isDisabled:f,isFocused:m}),this.renderLiveRegion(),G.createElement(s,B({},p,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:f,isFocused:m,menuIsOpen:h}),G.createElement(a,B({},p,{isDisabled:f}),this.renderPlaceholderOrValue(),this.renderInput()),G.createElement(o,B({},p,{isDisabled:f}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}],[{key:"getDerivedStateFromProps",value:function(r,s){var o=s.prevProps,u=s.clearFocusValueOnUpdate,a=s.inputIsHiddenAfterUpdate,l=s.ariaSelection,c=s.isFocused,d=s.prevWasFocused,f=s.instancePrefix,h=r.options,m=r.value,p=r.menuIsOpen,g=r.inputValue,b=r.isMulti,I=Da(m),v={};if(o&&(m!==o.value||h!==o.options||p!==o.menuIsOpen||g!==o.inputValue)){var x=p?db(r,I):[],y=p?du(Pn(r,I),"".concat(f,"-option")):[],S=u?fb(s,I):null,P=hb(s,x),A=rr(y,P);v={selectValue:I,focusedOption:P,focusedOptionId:A,focusableOptionsWithIds:y,focusedValue:S,clearFocusValueOnUpdate:!1}}var M=a!=null&&r!==o?{inputIsHidden:a,inputIsHiddenAfterUpdate:void 0}:{},N=l,k=c&&d;return c&&!k&&(N={value:Sn(b,I,I[0]||null),options:I,action:"initial-input-focus"},k=!d),(l==null?void 0:l.action)==="initial-input-focus"&&(N=null),V(V(V({},v),M),{},{prevProps:r,ariaSelection:N,prevWasFocused:k})}}]),n}(C.Component);vu.defaultProps=cb;var mb=C.forwardRef(function(t,e){var n=Ah(t);return G.createElement(vu,B({ref:e},n))}),gb=mb;const lt=t=>{const{children:e,sx:n,...i}=t;return w.jsx("div",{className:pe.form,style:n,...i,children:e})},bb=lt,vb={menuPortal:t=>({...t,zIndex:"9999999999 !important"}),control:(t,e)=>({...t,background:e.isDisabled?"#e9ecef !important":"#fff!important",minHeight:"26px!important",boxShadow:e.isFocused?"0 0 0 2px rgba(0 125 250 / 30%)":null,borderColor:e.isFocused?"#0071e3":"#D6DBDF!important",fontSize:"12px!important",padding:"0px 0px 0px 6px!important",color:"#3f4254!important",borderRadius:"0px !important"}),valueContainer:t=>({...t,height:"26px!important",padding:"0 6px 0 2px!important"}),input:t=>({...t,margin:"0px!important",fontSize:"12px!important",color:"#3f4254"}),placeholder:t=>({...t,margin:"0px!important",fontSize:"12px!important",color:"#aeaeae !important"}),indicatorsContainer:t=>({...t,height:"26px!important"}),option:(t,e)=>({...t,backgroundColor:e.isSelected?"#50c6d0":e.isFocused?"#e6e7ea":null,color:e.isSelected?"#ffffff":(e.isFocused,"#3f4254"),fontSize:"12px!important",padding:"6px 12px 5px 12px!important",fontWeight:"400",fontFamily:"Poppins, Helvetica, 'sans-serif'",borderRadius:"2px !important"}),noOptionsMessage:t=>({...t,fontSize:"12px!important",padding:"5px 8px!important",color:"#3f4254!important"}),menu:t=>({...t,padding:"1px 4px",zIndex:"99999999",position:"absolute",borderRadius:"0px !important"})},yb=t=>{const{children:e,sx:n,...i}=t;return w.jsx("div",{className:pe["form-group"],style:n,...i,children:e})},Ib=t=>{const{children:e,sx:n,...i}=t,r=C.Children.toArray(e).filter(a=>a.type.displayName==="biznext-ui-input-label"),s=C.Children.toArray(e).filter(a=>a.type.displayName==="biznext-ui-input-control"),o=C.Children.toArray(e).filter(a=>a.type.displayName==="biznext-ui-input-error-message"),u=o[0]&&o[0].props.children&&o[0].props.children.length>0;return w.jsxs("div",{className:wn(pe["form-input-group"],u&&pe["validation-error"]),style:n,...i,children:[r,w.jsxs("div",{className:pe["form-input-control-group"],children:[s,w.jsx("span",{className:pe["form-input-group-error-text"],children:o})]})]})},yu=t=>{const{required:e=!1,children:n,sx:i,...r}=t;return w.jsx("label",{className:wn(pe["form-input-group-label"],e&&pe.required),style:i,...r,children:n})},Iu=C.forwardRef((t,e)=>{const{controlType:n,focus:i,onFocus:r,sx:s,placeholder:o="",isSearchable:u=!0,isClearable:a=!0,...l}=t;let c=w.jsx(w.Fragment,{});const d=C.useRef(null);switch(C.useEffect(()=>{d.current&&d.current.focus()},[i]),C.useEffect(()=>{d.current&&d.current.focus()},[r]),n){case"input":c=w.jsx("input",{className:pe["form-input-control"],placeholder:o,ref:i?d:e,style:s,...l});break;case"select":c=w.jsx(gb,{styles:vb,className:pe["form-select-control"],classNamePrefix:"biznext-ui-",menuPortalTarget:document.body,menuPosition:"absolute",menuShouldScrollIntoView:!1,ref:i?d:e,placeholder:o?`Select ${o}`:"Select...",isSearchable:u,isClearable:a,noOptionsMessage:()=>"No Results Found!",...l});break;case"textarea":c=w.jsx("textarea",{className:pe["form-input-control"],placeholder:o,style:s,ref:i?d:e,...l});break;default:c=w.jsx(w.Fragment,{});break}return c}),Cu=t=>{const{children:e}=t;return e};yu.displayName="biznext-ui-input-label",Iu.displayName="biznext-ui-input-control",Cu.displayName="biznext-ui-input-error-message",lt.Group=yb,lt.InputGroup=Ib,lt.Label=yu,lt.Control=Iu,lt.ErrorMessage=Cu,oe.BiznextUIProvider=Su,oe.Form=bb,oe.Modal=ah,oe.useConfirmDialog=gh,oe.useToast=ph,Object.defineProperty(oe,Symbol.toStringTag,{value:"Module"})});